Commit Graph

5424 Commits

Author SHA1 Message Date
jelveh 9bbb3af0bb Remove filesystem API spec doc 2026-04-07 16:56:42 -07:00
Shruc dbf87753c5 derive aliases from puterid (#2777) 2026-04-07 19:55:59 -04:00
Daniel Salazar f21dd4160c delete command service files? (#2782) 2026-04-07 14:45:37 -07:00
Daniel Salazar 4f468dcda8 chore: delete remaining "command" service (#2781) 2026-04-07 14:00:32 -07:00
ProgrammerIn-wonderland c1da2c3aaa Fix openrouter enumeration (#2780) 2026-04-07 16:54:42 -04:00
jelveh 81a0d721eb Remove alpha notice from Peer docs
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
Notify HeyPuter / notify (push) Has been cancelled
release-please / release-please (push) Has been cancelled
Remove the alpha notice banner and spacer from Peer documentation pages (Peer.md, connect.md, ensureTurnRelays.md, connect.md, serve.md). This updates the docs to stop advertising the Peer API as alpha and cleans up redundant banner markup.
2026-04-06 15:09:39 -07:00
Daniel Salazar 2368b2bc8f fix: missing subdomains and worker flags in readdir (#2772)
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
Notify HeyPuter / notify (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test-backend (24.x) (push) Has been cancelled
test / API tests (node env, api-test) (24.x) (push) Has been cancelled
test / puterjs (node env, vitest) (24.x) (push) Has been cancelled
2026-04-06 11:08:03 -07:00
ProgrammerIn-wonderland 649db33763 Ns/simplify 1 (#2764)
* Rid devconsole

* lots of removals

* more commandservice
2026-04-06 14:05:48 -04:00
jelveh b0bd8a12a7 Replace inline Google SVG with WebP image
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
Notify HeyPuter / notify (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test-backend (24.x) (push) Has been cancelled
test / API tests (node env, api-test) (24.x) (push) Has been cancelled
test / puterjs (node env, vitest) (24.x) (push) Has been cancelled
2026-04-05 17:34:51 -07:00
jelveh f867519a1c Use root URL as default signup redirect
When reload_on_success is set, use '/' as the fallback redirect URL instead of the current page (window.location.href). This prevents redirecting back to the signup page after a successful signup while preserving any explicit options.redirect_url value.
2026-04-05 16:59:25 -07:00
jelveh 2dd991700e Make esbuild platform dep optional; update lock
Move @esbuild/linux-x64 from dependencies to optionalDependencies in src/docs/package.json so the platform-specific esbuild binary is treated as optional. Update package-lock.json to reflect that change (adds platform-specific @esbuild entries, marks various packages as peer/optional, bumps @emnapi/wasi-threads to 1.2.1 and removes obsolete @emnapi core/runtime entries).
2026-04-05 15:32:06 -07:00
jelveh 67d941a7af Add @esbuild/linux-x64 dependency 2026-04-05 11:56:06 -07:00
jelveh 5840348dec Move esbuild entry in docs package.json to dependencies rather than devdependencies 2026-04-05 11:48:09 -07:00
Daniel Salazar 5319940156 fix: app id shortcut batch (#2768)
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
Notify HeyPuter / notify (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test-backend (24.x) (push) Has been cancelled
test / API tests (node env, api-test) (24.x) (push) Has been cancelled
test / puterjs (node env, vitest) (24.x) (push) Has been cancelled
2026-04-04 17:21:58 -04:00
jelveh b99d7be510 Preserve existing disable_temp_users value
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
Notify HeyPuter / notify (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test-backend (24.x) (push) Has been cancelled
test / API tests (node env, api-test) (24.x) (push) Has been cancelled
test / puterjs (node env, vitest) (24.x) (push) Has been cancelled
Do not unconditionally overwrite window.disable_temp_users during GUI init. If window.disable_temp_users is already set, keep it; otherwise fall back to options.disable_temp_users (or false). Added a clarifying comment explaining the behavior.
2026-04-03 11:48:09 -07:00
Daniel Salazar 95cbbc5de6 feat: enable singed uploads on oss and fix broken migration (#2765)
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
Notify HeyPuter / notify (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test-backend (24.x) (push) Has been cancelled
test / API tests (node env, api-test) (24.x) (push) Has been cancelled
test / puterjs (node env, vitest) (24.x) (push) Has been cancelled
* fix: proper shutdown

* feat: enable singed uploads on oss

* fix: s3 in oss

* fix: thumbnails in oss
2026-04-03 07:29:22 -07:00
Trevin Chow e23df0b589 Add kv.list() pagination playground example (#2760)
* Add kv.list() pagination playground example

Create an interactive playground example for kv.list() that
demonstrates cursor-based pagination with sample data (6 items,
2 per page). Also wire the pagination docs example to the playground
by changing the code fence from plain html to html;kv-list.

Fixes #2755

* fix: address review feedback - restore code example, create new pagination playground

* minor refactor

---------

Co-authored-by: Reynaldi Chernando <reynaldichernando@gmail.com>
2026-04-03 17:23:42 +07:00
Shruc 5e6aff63c4 add google video native provider, imagen models (#2759)
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
Notify HeyPuter / notify (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test-backend (24.x) (push) Has been cancelled
test / API tests (node env, api-test) (24.x) (push) Has been cancelled
test / puterjs (node env, vitest) (24.x) (push) Has been cancelled
* update gemini .chat models, add imagen, add gemini veo

* add models

* update documentation

* add veo 3.1 lite, 1080p pricing
2026-04-02 16:03:38 -04:00
Daniel Salazar 0505a5df1f fix: no shutdown outside of puter servers (#2762) 2026-04-02 11:36:49 -07:00
Daniel Salazar 99d96edd9c feat: s3 fs in oss (#2761)
* feat: s3 fs in oss

* feat: new endpoints in OSS

* fix: name of fs extension

* perf: signed uploads

* fix: await socket events to align fs events

* fix: default bucket names

* fix: backend tests

* fix: deps

* fix: order
2026-04-02 11:20:59 -07:00
Reynaldi Chernando ed7c18bffa Update prompt caching example (#2758)
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
Notify HeyPuter / notify (push) Has been cancelled
release-please / release-please (push) Has been cancelled
2026-04-01 18:18:31 +07:00
Raffy Leong 0e83af7e2b docs(kv): add sorting section with examples to list() API reference (#2739)
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
Notify HeyPuter / notify (push) Has been cancelled
release-please / release-please (push) Has been cancelled
* docs(kv): add sorting section with examples to list() API reference

Added sorting section with examples for lexicographic order and zero-padding for numbers.

* docs(kv): add sorting note to list() description

* feat(playground): add kv-list-sort example

* feat(playground): add kv-list-padding.html

* add Sorting examples to kv list on doc/src/examples.js

* docs(kv): add sorting examples to list.md examples section

* Refine copy and code example

* remove extra newline

---------

Co-authored-by: Reynaldi Chernando <reynaldichernando@gmail.com>
2026-03-31 18:04:12 +07:00
Daniel Salazar 83985318fb feat: thumbnail event for gui (#2754)
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
Notify HeyPuter / notify (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test-backend (24.x) (push) Has been cancelled
test / API tests (node env, api-test) (24.x) (push) Has been cancelled
test / puterjs (node env, vitest) (24.x) (push) Has been cancelled
2026-03-30 18:29:01 -07:00
Daniel Salazar ef243c9854 feat: signed upload urls (#2753)
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
Notify HeyPuter / notify (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test-backend (24.x) (push) Has been cancelled
test / API tests (node env, api-test) (24.x) (push) Has been cancelled
test / puterjs (node env, vitest) (24.x) (push) Has been cancelled
* feat: signed upload urls

* fix: make sessions write to dynamo

* fix: add logs for failures
2026-03-30 16:27:29 -07:00
John Costa 00b34d7329 Add context field to OpenRouter, MistralAI, and OpenAI models (#2653)
* Map context_length for OpenRouter models

OpenRouter's API returns context_length for each model, but it was not
being mapped to the context field in the model list response. This
caused the context window size to be missing for all OpenRouter models.

Closes #2347

* Add context field to MistralAI and OpenAI model definitions

Addresses reviewer feedback to support the context field in more
providers. All 9 providers now consistently expose context window
sizes via the context field.

- MistralAI: 16 models (context matches known window sizes)
- OpenAI: 27 models (128k for GPT series, 200k for o-series,
  1M+ for GPT-4.1 and GPT-5.4)
2026-03-30 16:46:08 -04:00
ProgrammerIn-wonderland ad85026a8c Getting rid of Endpoint (#2732)
* Get rid of Endpoint and ExpectationService

* Migrate user-protected endpoints to eggspress

* eggspress better typedefs
2026-03-30 16:23:41 -04:00
Shruc cea40b3e78 support video inputs in .chat (#2740)
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
Notify HeyPuter / notify (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test-backend (24.x) (push) Has been cancelled
test / API tests (node env, api-test) (24.x) (push) Has been cancelled
test / puterjs (node env, vitest) (24.x) (push) Has been cancelled
* support video inputs in .chat

* update docs for .chat
2026-03-30 10:26:34 -04:00
Reynaldi Chernando 7fc9a97269 Fix prompt caching example broken character (#2750)
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
Notify HeyPuter / notify (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test-backend (24.x) (push) Has been cancelled
test / API tests (node env, api-test) (24.x) (push) Has been cancelled
test / puterjs (node env, vitest) (24.x) (push) Has been cancelled
2026-03-30 11:21:41 +07:00
Leandre Chamberland-Dozois 55bdd50de4 docs: update code examples from gpt-5-nano to gpt-5.4-nano (#2738)
* docs: update code examples from gpt-5-nano to gpt-5.4-nano (#2716)

* Remove unrelated changes

* remove more unrelated

---------

Co-authored-by: Reynaldi Chernando <reynaldichernando@gmail.com>
2026-03-30 10:56:57 +07:00
jelveh 6c1019a1a8 Add recover-password window, its action URL, and styles 2026-03-29 17:18:50 -07:00
jelveh add9b1e774 Update dashboard.css
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
Notify HeyPuter / notify (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test-backend (24.x) (push) Has been cancelled
test / API tests (node env, api-test) (24.x) (push) Has been cancelled
test / puterjs (node env, vitest) (24.x) (push) Has been cancelled
2026-03-29 13:59:08 -07:00
jelveh 54dbd57811 Update dashboard.css 2026-03-29 13:45:26 -07:00
jelveh 7c092d1a22 Increase dashboard grid gap and icon size 2026-03-29 13:36:29 -07:00
Daniel Salazar 107521e45a fix: remove recommended app caching in favour of stronger caching at app fetch layer (#2748) 2026-03-29 13:07:00 -07:00
jelveh 8c47f12aa5 Update recommended apps list 2026-03-29 10:51:34 -07:00
jelveh bf3bbab468 Increase dashboard sidebar width to 250px
Bump the .dashboard-sidebar width from 200px to 250px to provide more room for navigation items and improve layout spacing. min-width, background, and border styles remain unchanged.
2026-03-29 10:26:13 -07:00
jelveh 0a6dd0c611 Add prependHeadContent and optional autofocus flags 2026-03-29 10:10:09 -07:00
jelveh bfea3bbce9 Pass req and relocate extension body content
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
Notify HeyPuter / notify (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test-backend (24.x) (push) Has been cancelled
test / API tests (node env, api-test) (24.x) (push) Has been cancelled
test / puterjs (node env, vitest) (24.x) (push) Has been cancelled
2026-03-28 15:19:34 -07:00
jelveh 1ab73d8726 Make dashboard card headers clickable 2026-03-28 13:02:43 -07:00
jelveh 813e78843a Remove debug log; update captcha modal styles 2026-03-28 11:04:10 -07:00
jelveh 8a33c663cd Always enable cover_page in window options
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
Notify HeyPuter / notify (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test-backend (24.x) (push) Has been cancelled
test / API tests (node env, api-test) (24.x) (push) Has been cancelled
test / puterjs (node env, vitest) (24.x) (push) Has been cancelled
2026-03-27 19:01:30 -07:00
Daniel Salazar 3e0829474e fix: incrememnt ddb sharding to 10k (#2744) 2026-03-27 18:59:48 -07:00
Nariman Jelveh 92ac05e4f2 Display logged-in banner on homepage (#2742)
* Display logged-in banner on homepage

Pass auth_user from the router into PuterHomepageService and show a logged-in banner when a user is present. _default.js now includes auth_user in the svc_puterHomepage.send call. PuterHomepageService.send signature was updated to accept auth_user; the service stores logged_in_user, forwards it to generate_puter_page_html, and injects a styled "Logged in as <username>" banner into the top of the page when available. This surfaces the current user on the GUI and exposes logged_in_user to page generation and addons.

* Include request path and logged in user in GUI params; remove banner

* fix: bad auth_user check for homepage

---------

Co-authored-by: Daniel Salazar <daniel.salazar@puter.com>
2026-03-27 18:48:05 -07:00
Daniel Salazar 677bc29658 fix: remove dynamo health check for now (#2743) 2026-03-27 18:34:40 -07:00
Daniel Salazar b3656fdaa1 fix: handle closing server nicer on shutdown signal (#2741)
* fix: handle closing server nicer on shutdown signal

* fix: bad check
2026-03-27 17:24:33 -07:00
jelveh 89a67a4a6f Update dashboard.css 2026-03-27 15:23:13 -07:00
jelveh 266b3ae3d4 Add sidebar separator to dashboard
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
Notify HeyPuter / notify (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test-backend (24.x) (push) Has been cancelled
test / API tests (node env, api-test) (24.x) (push) Has been cancelled
test / puterjs (node env, vitest) (24.x) (push) Has been cancelled
2026-03-27 14:14:10 -07:00
Reynaldi Chernando 14ed1b6db8 Add claude cache control docs (#2737)
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
Notify HeyPuter / notify (push) Has been cancelled
release-please / release-please (push) Has been cancelled
* Add claude cache control docs

* refine

* Update src/docs/src/AI/chat.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/docs/src/AI/chat.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/docs/src/examples.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-27 17:35:53 +07:00
jelveh c20ef3c98c Remove dynamic dashboard CSS injection
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
Notify HeyPuter / notify (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test-backend (24.x) (push) Has been cancelled
test / API tests (node env, api-test) (24.x) (push) Has been cancelled
test / puterjs (node env, vitest) (24.x) (push) Has been cancelled
2026-03-26 21:14:19 -07:00
jelveh 829295228a Adjust dashboard grid spacing and tile size 2026-03-26 21:03:31 -07:00