Nariman Jelveh and GitHub
64f86daddb
feat: add speech2text ( #1855 )
...
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 (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
test / backend (node env, api-test) (22.x) (push) Has been cancelled
test / puterjs (browser env, playwright) (22.x) (push) Has been cancelled
test / puterjs (node env, vitest) (22.x) (push) Has been cancelled
- A new stt driver in `AIInterfaceService` and `PuterAIModule`.
- added methods for audio transcription and translation in the speech-to-text interface.
- updated cost mapping for stt models in `openAiCostMap.ts`.
- Updated permissions and interfaces to support new speech-to-text features.
2025-10-29 12:04:09 -07:00
Nariman Jelveh and GitHub
861aeddf3e
feat: add OpenAI support to text-to-speech ( #1853 )
...
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 (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
test / backend (node env, api-test) (22.x) (push) Has been cancelled
test / puterjs (browser env, playwright) (22.x) (push) Has been cancelled
test / puterjs (node env, vitest) (22.x) (push) Has been cancelled
- added support for OpenAI as a tts provider in `AIInterfaceService` and `PuterAIModule`.
- Updated cost mapping for OpenAI tts models in `openAiCostMap.ts`.
- improved `Txt2SpeechOptions` interface to include new parameters for provider, model, and response format.
- added tests for OpenAI provider in `txt2speech.test.js` to ensure functionality.
2025-10-28 18:51:04 -07:00
Daniel Salazar and GitHub
0bb14261c2
feat: devCenter open ui message ( #1850 )
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 (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
test / api-test (22.x) (push) Has been cancelled
2025-10-28 13:41:00 -07:00
Reynaldi Chernando and GitHub
117f8e393d
Add UploadOptions for Puter.js types ( #1832 )
...
* Add UploadOptions
* Add name option
2025-10-27 18:15:27 -07:00
Nariman Jelveh and GitHub
2c7343115a
Add sora 2 support ( #1834 )
...
* Update OpenAI package to version 6.7.0 and add video generation capabilities
- Updated `openai` dependency in `package-lock.json` and `package.json`.
- Introduced new permissions for video generation in `hardcoded-permissions.js`.
- Added video generation service in `AIInterfaceService.js` and registered it in `PuterAIModule.js`.
- Implemented coercion for video streams in `CoercionService.js`.
- Updated driver service to include video generation.
- Added `txt2video` method and options in `AI.js` and corresponding TypeScript definitions in `index.d.ts`.
* Update openaiVideoCostMap.ts
* Revert "Update openaiVideoCostMap.ts"
This reverts commit 9e66f93605 .
* change `txt2video` to `txt2vid`
2025-10-27 12:27:52 -07:00
Nariman Jelveh
3720369d87
default txt2img model set to gpt-image-1-mini
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 (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
test / api-test (22.x) (push) Has been cancelled
2025-10-26 11:52:28 -07:00
Reynaldi Chernando and GitHub
e11182f817
Add dedupeName to CreateAppOptions ( #1783 )
2025-10-25 15:09:25 -07:00
Daniel Salazar and GitHub
3fb3cf0e60
fix: simplify export import typedef ( #1818 )
...
* fix: simplify export import typedef
* feat: expose kvstore methods in the service too
* chore: update versioning
2025-10-24 12:52:58 -07:00
Daniel Salazar and GitHub
256189a7de
feat: route for global usage aggregate ( #1810 )
...
* feat: route for global usage aggregate
* feat: add globalUsageEndpoint to puter-js
* fix: globalUsage endpoint
2025-10-22 16:46:13 -07:00
KernelDeimos
b80c0ba79e
chore: puter.js version 2.1.1
2025-10-22 13:59:19 -04:00
KernelDeimos
547acf6988
Revert "patch version bump for puter-js and putility in it"
...
This reverts commit 55d07acdee .
2025-10-22 13:59:19 -04:00
jelveh
55d07acdee
patch version bump for puter-js and putility in it
2025-10-22 10:44:50 -07:00
Daniel Salazar and GitHub
16fd614b84
feat: rename meteringAndBilling to metering ( #1800 )
2025-10-21 14:59:24 -07:00
Neal Shah and GitHub
3184e01307
add puter.workers.getLoggingHandle ( #1779 )
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 (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
test / api-test (22.x) (push) Has been cancelled
2025-10-17 17:03:57 -04:00
jelveh
76dcdd4927
Refresh the stat cache regularly
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 (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
test / api-test (22.x) (push) Has been cancelled
2025-10-16 20:57:23 -07:00
Nariman Jelveh and GitHub
0713599281
Update stat.js ( #1753 )
2025-10-16 20:41:40 -07:00
Nariman Jelveh and GitHub
8fc533338a
implement an extension event for IPC messages coming in ( #1776 )
2025-10-16 16:52:01 -07:00
Daniel Salazar and GitHub
e51d0c4600
feat: metering service allowence checks and subscription integration 🚀 ( #1749 )
...
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 (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
test / api-test (22.x) (push) Has been cancelled
* feat: metering allowence checks
* fix: bad math
2025-10-15 02:28:25 -07:00
Daniel Salazar and GitHub
96a58ced29
metering: new usage endpoint + puter-js changes for it ( #1738 )
...
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 (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
test / api-test (22.x) (push) Has been cancelled
* metering: new usage endpoint
* metering: new usage endpoint + puter-js changes for it
2025-10-14 12:44:40 -07:00
jelveh
2819ec7b06
Update index.js
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 (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
test / api-test (22.x) (push) Has been cancelled
2025-10-13 00:36:15 -07:00
Nariman Jelveh and GitHub
661f13fc92
improve caching mechanism by deleting specific caches on item addition in FileSystem module ( #1745 )
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 (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
test / api-test (22.x) (push) Has been cancelled
2025-10-12 19:50:48 -07:00
Neal Shah and GitHub
9e0ba954ff
fix npm pacjage not importing init.cjs ( #1743 )
2025-10-12 19:46:04 -04:00
jelveh
6a72c261e2
closes #1722
2025-10-12 16:28:12 -07:00
Nariman Jelveh and GitHub
f083e6b060
Improve puterjs caching ( #1739 )
...
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 (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
test / api-test (22.x) (push) Has been cancelled
* add regular cache checking for popular directories
* Update index.js
* implement `readdir` request deduplication to improve performance
* Update index.js
2025-10-11 21:03:38 -07:00
Nariman Jelveh and GitHub
6fdea68eec
chore: add http-server as a dev dependency and update package scripts ( #1718 )
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 (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
test / api-test (22.x) (push) Has been cancelled
2025-10-08 19:13:05 -07:00
KernelDeimos
e59f4e6c16
devex: reduce webpack verbosity
2025-10-08 19:25:53 -04:00
Daniel Salazar and GitHub
6d35496252
chore: publish npm ( #1698 )
...
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 (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
test / api-test (22.x) (push) Has been cancelled
* chore: bump puter-js version and publish
* chore: package-lock
2025-10-07 11:56:18 -07:00
Daniel Salazar and GitHub
2a2a1f6a99
fix: backward compatibility for puter kv incr/decr ( #1697 )
2025-10-07 11:39:23 -07:00
Nariman Jelveh and GitHub
84a28b9637
Sidepanel ( #1694 )
...
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 (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
test / api-test (22.x) (push) Has been cancelled
* add AI side panel to UIDesktop
* integrated `UIAIChat` component into `UIDesktop` for AI interactions.
* added styles for AI side panel, including buttons and chat message formatting in style.css, enhancing user experience with AI features.
* add support for window-based side panels
* remove window resizing logic that is simply broken
* whitelisting added
* Add `showWindow` and `hideWindow` methods to Puter.js
2025-10-06 18:40:44 -07:00
Daniel Salazar and GitHub
e3f9455cae
test: vitest tests for puter js ( #1693 )
2025-10-06 15:00:40 -07:00
ProgrammerIn-wonderland and Neal Shah
82732b9e96
Safari fix for TLS connections in puter
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 (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
test / api-test (22.x) (push) Has been cancelled
2025-10-05 02:06:36 -04:00
Nariman Jelveh and GitHub
cc8a658122
Update UI.js ( #1668 )
2025-10-03 14:59:23 -07:00
ProgrammerIn-wonderland and Neal Shah
f60e02565f
add conditional type overload for streaming
2025-10-03 16:38:44 -04:00
Kishan_Singh and Neal Shah
1affbb4cc8
fix: support async iterator for AI chat streaming mode in types
2025-10-03 16:38:44 -04:00
jelveh
847b3a07a4
Improve item.add cache invalidation logic so that it doesn't purge the entire cache
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 (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
test / api-test (22.x) (push) Has been cancelled
2025-09-29 00:02:03 -07:00
jelveh
a69072b31b
More precise cache invalidation in case of item rename
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 (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
test / api-test (22.x) (push) Has been cancelled
2025-09-28 23:43:36 -07:00
jelveh
fe022cff1d
Back to native purge to build from first principles?!
2025-09-28 22:50:55 -07:00
jelveh
1195e319a8
update kv.js version in package.json
2025-09-28 22:05:30 -07:00
Nariman Jelveh
ebb0162d79
Increase cache efficiency
2025-09-28 21:30:31 -07:00
Nariman Jelveh
7382264648
more nuanced cache invalidation strategy with logging enabled by default
2025-09-28 20:35:51 -07:00
Nariman Jelveh
a965df0cc0
Remove cache expiry in puter.js
2025-09-28 19:16:29 -07:00
Nariman Jelveh
72341c78dc
Update index.js
2025-09-28 18:59:44 -07:00
jelveh
ef74a1a660
fix: prevent unnecessary updates on socket events
...
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 (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
test / api-test (22.x) (push) Has been cancelled
Updated the `bindSocketEvents` method to check the `original_client_socket_id` before posting updates for 'cache.updated' and 'item.renamed' events. This prevents unnecessary updates when the event originates from the same client socket.
2025-09-28 14:35:45 -07:00
Xiaochen Cui and GitHub
891093fd2b
fix a typo ( #1627 )
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 (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
test / api-test (22.x) (push) Has been cancelled
2025-09-26 21:45:00 -07:00
Nariman Jelveh
fae33301a8
fix the issue with last_valid_ts always being 0
2025-09-26 15:05:44 -07:00
860388c3cb
update client-cache logic ( #1626 )
...
* client-cache: remove pulling
* client-cache: fix wrong ts field
* client-cache: purge cache on any local update
* client-cache: last_updated_time -> last_valid_time
* client-cache: update cache on remote update
* client-cache: update last_valid_ts every sec
* client-cache: switch to localstorage
* do the cache and purge test when `setAuthToken` is called
---------
Co-authored-by: Nariman Jelveh <nj@puter.com >
2025-09-26 11:44:12 -07:00
Nariman Jelveh and GitHub
a0b567da52
chore: update @heyputer/kv.js dependency to version 0.2.0 and initialize cache with dbName in puter-js ( #1623 )
2025-09-26 10:58:16 -07:00
d70d412115
feat: DAV Locks support + refactor of DAV method handler ( #1486 )
...
* feat: DAV Locks support + refactor of DAV method handler
* format: Restore old whitespace for CoreModule.js
* fix: options route registering after likecycle hooks
---------
Co-authored-by: Neal Shah <30693865+ProgrammerIn-wonderland@users.noreply.github.com >
2025-09-26 11:00:29 -04:00
Xiaochen Cui and GitHub
7bfa85d4fe
client-cache: remove pulling ( #1620 )
...
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 (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
test / api-test (22.x) (push) Has been cancelled
* client-cache: remove pulling
* client-cache: fix wrong ts field
* client-cache: purge cache on any local update
2025-09-25 16:56:01 -07:00
velzie and GitHub
8b9fefa4a2
fix puterjs throwing errors after consuming message events not meant for it ( #1612 )
2025-09-25 11:11:34 -07:00