Commit Graph

3979 Commits

Author SHA1 Message Date
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
jelveh ae33f6f42b Remove static myapps loading placeholder 2026-03-26 20:40:47 -07:00
jelveh e1e2cad31d Hide apps grid until icons finish loading
Prevent a visual flash by hiding the apps grid until all app icons have loaded. Adds revealWhenLoaded($container) which removes the myapps-grid-loading class when images finish (or error). TabApps now caches the .myapps-container lookup and calls revealWhenLoaded after initial render, after search results, and after loading installed apps. CSS changes: add .myapps-grid-loading (opacity:0 + transition) and a small padding-right tweak for the search input.
2026-03-26 20:29:35 -07:00
velzie 017308a741 Small tweaks to puter.peer (#2734)
* small tweaks to puter.peer

* document connections field
2026-03-26 19:34:07 -04:00
jelveh 5c913fc359 Add search bar to My Apps tab 2026-03-26 16:31:08 -07:00
jelveh 5eddd0949f Merge launch & installed apps, tweak app tile CSS
Fetch both the installedApps and get-launch-apps endpoints in parallel, normalize recommended + recent launch items, and merge them with installed apps while deduplicating by name (launch items are prioritized). Update this._apps and render the combined list. Also simplify the app tile icon styling by removing border-radius and box-shadow for a flatter icon appearance. Error handling for failed loads is preserved.
2026-03-26 15:43:09 -07:00
Daniel Salazar b857fc8743 fix: return fallback icons if no icon present (#2731)
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-25 16:50:34 -07:00
jelveh 02bc010989 Include dashboard.css in GUI assets
Add /css/dashboard.css to the GUI asset lists so dashboard styles are served and bundled. Updated src/gui/puter-gui.json and src/gui/src/static-assets.js to include the new stylesheet.
2026-03-25 16:31:14 -07:00
jelveh 94395cd539 Add Apps tab UI and installed apps fetch 2026-03-25 16:10:10 -07:00
Shruc 2da083e7c1 use case sensitive together video model ids (#2728)
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-25 16:21:16 -04:00
Daniel Salazar 393f4b70d4 fix: remove flaky event loop check (#2727) 2026-03-25 11:59:18 -07:00
Daniel Salazar d292c1e4e4 fix: healtcheck improvements (#2726)
* fix: decrease logs

* fix: healtcheck improvements
2026-03-25 11:10:58 -07:00
Daniel Salazar 68985e9f47 fix: letter case issue (#2721)
* fix: letter case

* fix: name
2026-03-24 22:46:19 -07:00
Daniel Salazar 0a3ac7b035 Revert "feat: root level kv accesses, and installed app listing + server health check fix (#2719)" (#2720)
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
This reverts commit e75ccb0a41.
2026-03-24 20:28:36 -07:00
Daniel Salazar e75ccb0a41 feat: root level kv accesses, and installed app listing + server health check fix (#2719)
* feat: root level kv accesses, and installed app listing

* fix: revert server health check
2026-03-24 19:18:42 -07:00
ProgrammerIn-wonderland c52fa351a5 WIP openai responses support (#2715)
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-24 06:12:13 -04:00
iamsrishanth 4fe255347a feat: Add Anthropic Messages API compatibility layer (#2704)
* feat: add Anthropic Messages API compatibility layer

Add a new endpoint at /puterai/anthropic/v1/messages that implements the
Anthropic Messages API wire format, allowing clients using the Anthropic
SDK to point directly at Puter.

- New router translates between Anthropic format and Puter's internal
  svcAiChat.complete() pipeline
- Supports non-streaming, SSE streaming (proper Anthropic event sequence),
  and tool use round-trips
- Translates system field, tool definitions (input_schema -> parameters),
  and tool_result content blocks
- Integration tests covering non-streaming, streaming, tool use,
  Anthropic SDK compatibility, and system parameter

Closes #2554

* Fix authentication middleware

---------

Co-authored-by: ProgrammerIn-wonderland <30693865+ProgrammerIn-wonderland@users.noreply.github.com>
2026-03-24 06:08:25 -04:00
Shruc bed84cad76 refactor ai video gen (#2711)
* refactor ai video generation into one service

* use old duration and dimension keys

* use costoverride billing like the others
2026-03-24 05:42:52 -04:00