Commit Graph
112 Commits
Author SHA1 Message Date
Braulio Fernandes 986dc9ea1f add temp and max_tokens to options request obj 2025-03-07 13:57:25 -05:00
KernelDeimos 96199cbb54 fix: small fixes for threads
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test (18.x) (push) Has been cancelled
test / test (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
2025-03-05 16:55:09 -05:00
KernelDeimos 53c865c973 dev: add group management SDK 2025-03-05 15:24:52 -05:00
KernelDeimos f0a6e493a1 dev: register puter.perms module 2025-03-04 14:39:32 -05:00
KernelDeimos 1f05df68eb dev: add threads module for puter.js 2025-03-04 14:38:30 -05:00
KernelDeimos 02ddfcc567 dev: add puter.perms module to puter.js 2025-03-04 14:37:41 -05:00
KernelDeimos 8ed1f801b8 dev: attempt adding Claude 3.7
At this commit support is not tested. I was unable to get the AI module
in puter.js to call 3.7 instead of the old 3.5 model.
2025-02-24 14:13:43 -05:00
KernelDeimos 1b5a64043a dev: add openrouter implementation 2025-02-17 18:46:48 -05:00
KernelDeimos 8828d03f86 dev: add gemini to puter.js 2025-02-14 12:15:13 -05:00
ProgrammerIn-wonderland cfa1447df6 fix Uncaught TypeError: Cannot read properties of undefined (reading 'closeCallBack')
Docker Image CI / build-and-push-image (push) Waiting to run
Maintain Release Merge PR / update-release-pr (push) Waiting to run
release-please / release-please (push) Waiting to run
test / test (18.x) (push) Waiting to run
test / test (20.x) (push) Waiting to run
test / test (22.x) (push) Waiting to run
2025-02-13 23:22:58 -05:00
jelveh 84b2400650 it fixes it surely!
Docker Image CI / build-and-push-image (push) Waiting to run
Maintain Release Merge PR / update-release-pr (push) Waiting to run
release-please / release-please (push) Waiting to run
test / test (18.x) (push) Waiting to run
test / test (20.x) (push) Waiting to run
test / test (22.x) (push) Waiting to run
2025-02-06 19:52:54 -08:00
jelveh d4b4df06fd Use the fetch API in Puter.js's Convert module 2025-02-06 19:45:10 -08:00
jelveh 949d3ab17c add Convert modules to Puter.js 2025-02-06 18:19:12 -08:00
ProgrammerIn-wonderland 12806a2395 only close TLS socket once 2025-02-06 17:13:04 -05:00
ProgrammerIn-wonderland 26666fe666 new API puter.net.generateWispV1URL()
Docker Image CI / build-and-push-image (push) Waiting to run
Maintain Release Merge PR / update-release-pr (push) Waiting to run
release-please / release-please (push) Waiting to run
test / test (18.x) (push) Waiting to run
test / test (20.x) (push) Waiting to run
test / test (22.x) (push) Waiting to run
2025-02-05 16:56:57 -05:00
KernelDeimos f0434435c4 dev: option to normalize AI response (non-streaming) 2025-02-03 14:03:27 -05:00
KernelDeimos cfa3fde436 dev: error handling and text encoding 2025-02-03 13:11:29 -05:00
KernelDeimos 60eef2fc67 fix: buffer incomplete JSON objects from AI stream
- simplify ndjson stream to get complete lines instead of chunks
- add buffering for incomplete lines
2025-01-30 15:21:05 -05:00
KernelDeimos af3d732fc4 dev: async await for puter-exec 2025-01-30 13:37:15 -05:00
KernelDeimos e6ad54be19 dev: puterjs exec module (2) 2025-01-29 13:58:21 -05:00
KernelDeimos cbe02a4489 dev: puterjs exec module 2025-01-29 13:57:50 -05:00
KernelDeimos aae18e6878 dev: support POST requests in puter.http 2025-01-24 15:38:19 -05:00
KernelDeimos 1fde01aa04 dev: enable tool use for Claude 2025-01-23 20:21:14 -05:00
KernelDeimos 06452f5283 fix: small workaround for duplicate close 2025-01-23 14:58:23 -05:00
KernelDeimos 36dc9664ad fix: race condition and buffer issue in puter.http
The call to sock.write() wasn't waiting for the 'open' event, which
worked fine over non-TLS sockets by chance. Also, responses with only
a single WISP packet were resulting in buffered response data not
being sent to the caller.
2025-01-23 14:14:13 -05:00
KernelDeimos 3f5b34cd34 fix: missing some buffer contents in no-keepalive
Docker Image CI / build-and-push-image (push) Waiting to run
Maintain Release Merge PR / update-release-pr (push) Waiting to run
release-please / release-please (push) Waiting to run
test / test (18.x) (push) Waiting to run
test / test (20.x) (push) Waiting to run
test / test (22.x) (push) Waiting to run
2025-01-23 13:43:21 -05:00
KernelDeimos 1256614ec2 dev: add support for tools 2025-01-22 19:28:05 -05:00
KernelDeimos 7f50da5082 dev: use Connection: close for http requests by default 2025-01-22 17:46:51 -05:00
KernelDeimos 2b505caf98 dev: implement puter.http 2025-01-22 16:16:36 -05:00
KernelDeimos 591c6c0fd3 dev: add wisp relay service
Docker Image CI / build-and-push-image (push) Waiting to run
Maintain Release Merge PR / update-release-pr (push) Waiting to run
release-please / release-please (push) Waiting to run
test / test (18.x) (push) Waiting to run
test / test (20.x) (push) Waiting to run
test / test (22.x) (push) Waiting to run
2025-01-22 11:45:58 -05:00
jelveh 4e578e9b28 update copyright date
Docker Image CI / build-and-push-image (push) Waiting to run
Maintain Release Merge PR / update-release-pr (push) Waiting to run
release-please / release-please (push) Waiting to run
test / test (18.x) (push) Waiting to run
test / test (20.x) (push) Waiting to run
test / test (22.x) (push) Waiting to run
2025-01-19 22:27:31 -08:00
jelveh 55f3f07ee5 Implement puter.ui.wasLaunchedWithItems() 2025-01-19 22:20:19 -08:00
ProgrammerIn-wonderland 01fc301f1e replace hardcoded api.puter.com with puter.APIOrigin 2025-01-17 17:05:51 -05:00
ProgrammerIn-wonderland 5798fcd042 automatic reconnection on disconnect 2025-01-17 17:05:42 -05:00
ProgrammerIn-wonderland f177732a0e move try-catch outside of loop in TLS readstream 2025-01-15 10:11:58 -05:00
ProgrammerIn-wonderland b35cf776aa add 0x01 and 0x03 wisp messages 2025-01-15 00:01:43 -05:00
ProgrammerIn-wonderland 98be5c1323 error handling on TLS handshake and reporting wisp errors to client 2025-01-14 23:54:47 -05:00
ProgrammerIn-wonderland 6261d7c90c WIP TLS support 2025-01-14 21:20:00 -05:00
Nariman Jelveh 365fac907c Merge pull request #1088 from ProgrammerIn-wonderland/main
add close to psocket
2025-01-14 14:52:46 -08:00
ProgrammerIn-wonderland a5e4840920 add close() 2025-01-14 17:51:24 -05:00
jelveh eb59c1a102 Don't console.log auth token 2025-01-09 15:32:33 -08:00
ProgrammerIn-wonderland 1ed3bccaa5 networking API beginnings 2025-01-09 18:11:28 -05:00
KernelDeimos 803f440d55 fix: terminal not loading in self-hosted 2025-01-07 15:13:35 -05:00
KernelDeimos 7deb0c5692 fix: don't call /rao in gui
Docker Image CI / build-and-push-image (push) Waiting to run
Maintain Release Merge PR / update-release-pr (push) Waiting to run
release-please / release-please (push) Waiting to run
test / test (18.x) (push) Waiting to run
test / test (20.x) (push) Waiting to run
test / test (22.x) (push) Waiting to run
2025-01-06 21:20:13 -05:00
KernelDeimos 9b0f220556 dev: request /rao from sites
Docker Image CI / build-and-push-image (push) Waiting to run
Maintain Release Merge PR / update-release-pr (push) Waiting to run
release-please / release-please (push) Waiting to run
test / test (18.x) (push) Waiting to run
test / test (20.x) (push) Waiting to run
test / test (22.x) (push) Waiting to run
2025-01-03 14:32:24 -05:00
KernelDeimos a8fc4669e8 dev: fix default origins in puter.js
Docker Image CI / build-and-push-image (push) Waiting to run
Maintain Release Merge PR / update-release-pr (push) Waiting to run
release-please / release-please (push) Waiting to run
test / test (18.x) (push) Waiting to run
test / test (20.x) (push) Waiting to run
test / test (22.x) (push) Waiting to run
2025-01-02 16:23:02 -05:00
jelveh 3ffb3cbc74 Remove credentialless from Dev Center advanced section
Docker Image CI / build-and-push-image (push) Waiting to run
Maintain Release Merge PR / update-release-pr (push) Waiting to run
release-please / release-please (push) Waiting to run
test / test (18.x) (push) Waiting to run
test / test (20.x) (push) Waiting to run
test / test (22.x) (push) Waiting to run
2024-12-29 22:13:11 -08:00
jelveh ac8068a139 No need for params when passing params to Apps driver 2024-12-27 18:24:09 -08:00
KernelDeimos 2dc6c4737b fix: timing for PrefixLogger call to /whoami
Docker Image CI / build-and-push-image (push) Waiting to run
Maintain Release Merge PR / update-release-pr (push) Waiting to run
release-please / release-please (push) Waiting to run
test / test (18.x) (push) Waiting to run
test / test (20.x) (push) Waiting to run
test / test (22.x) (push) Waiting to run
This commit fixes the timing of the /whoami call used for the
PrefixLogger (a logger for puter.js that displays app names) to ensure
the API origin and token are available. This is done by waiting for a
service called 'api-access' to be initialized first.

This was discovered while testing changes for /whoami responses that
display icons, because the current behavior breaks the call for
non-puter.com instances.
2024-12-23 11:50:30 -05:00
jelveh 76fbe9b4ce request 64x64 icons for Taskbar via /whoami 2024-12-20 14:06:37 -08:00