Commit Graph

4713 Commits

Author SHA1 Message Date
KernelDeimos
2aa4cd857d type: add extension.span to api.d.ts 2025-12-09 19:17:05 -05:00
KernelDeimos
2e4a504cda fmt: apparently api.d.ts was out of sync with linter 2025-12-09 19:17:05 -05:00
Daniel Salazar
e2ae313589 feat: refactor ai to have single entry point and follow defined model structure (#2114)
* feat: refactor ai to have single entry point and follow defined model structure

* fix: missing openrouter registration

* fix: dedupe models

* feat: provide usage in stream mode 🚀
2025-12-09 15:59:21 -08:00
jelveh
2ab99d38da Update TabHome.js 2025-12-09 15:58:51 -08:00
jelveh
e9de337645 Show up to 8 recent apps on 4K screens in TabHome 2025-12-09 15:49:08 -08:00
jelveh
dd1bb8416f Improve recent apps grid layout for dashboard 2025-12-09 15:43:22 -08:00
KernelDeimos
d8dc438a7d dev: extension.span 2025-12-09 18:42:10 -05:00
KernelDeimos
1d7a5b7c58 fix: downgrade opentelemetry so it works again
We weren't able to see any custom spans, only the builtin
instrumentations for node.js. This commit downgrades opentelemetry so
that we can see custom spans in tools like jaeger as before.
2025-12-09 17:30:52 -05:00
KernelDeimos
cb7c83f670 fix: add simple 30s cache to /healthcheck 2025-12-09 00:14:03 -05:00
jelveh
38da15853f Update style.css 2025-12-08 18:15:05 -08:00
KernelDeimos
d0ea063d0f dev: update use of spans in extensions 2025-12-08 18:50:23 -05:00
KernelDeimos
64b0ba89cc doc(extensions): fix incorrect documentation link 2025-12-08 18:50:23 -05:00
KernelDeimos
87dbb34a8d fix: pass exporter to NodeSDK constructor
Previously a new ConsoleSpanExporter was passed to the constructor of
NodeSDK. This was possibly unintentional but it did not cause any
issues. After the recent update to opentelemetry, or perhaps the changes
introduced in 3c579dcc0d, this no longer
works as it prevents tools like Jaeger from getting any spans from
Puter's backend.
2025-12-08 18:41:21 -05:00
jelveh
c9bbca875f Redesign dashboard usage and plan cards 2025-12-08 14:59:08 -08:00
Reynaldi Chernando
7b5d90d678 Fix AI types (#2100)
* Remove constructor and global methods

* Fix streaming type and stricter type

* Add missing chat options param

* Fix messages type

* Fix img2txt types

* Fix txt2img types

* remove unused

* Fix test mode in txt2img

* Fix txt2vid types

* Fix speech2txt types

* Fix speech2speech types

* Fix txt2speech types

* Add missing chat types

* Fix missing txt2speech types
2025-12-08 14:06:36 -08:00
jelveh
f09cac99eb Update style.css 2025-12-08 13:27:19 -08:00
Daniel Salazar
910e6041fa fix: eleven labs metering costs (#2112) 2025-12-08 11:07:16 -08:00
jelveh
31460fc70b Update home tab label and card backgrounds 2025-12-07 01:14:32 -08:00
jelveh
94b2af9d88 Update welcome card UI for lighter theme 2025-12-07 00:49:09 -08:00
jelveh
afc21a9903 Add user avatar to home tab welcome section 2025-12-07 00:27:16 -08:00
KernelDeimos
b92dcc8146 chore: associate googlemail with gmail rules 2025-12-07 02:11:29 -05:00
jelveh
6f24176ea3 Add external link support for recent apps 2025-12-06 21:54:59 -08:00
jelveh
dc2f4953eb Fix recent app title display logic in TabHome (jesus take the wheel!) 2025-12-06 21:41:18 -08:00
jelveh
08599efd78 Adjust recent apps display and update dashboard styles 2025-12-06 21:31:46 -08:00
jelveh
c45c40c304 Update style.css 2025-12-06 21:21:11 -08:00
jelveh
1e7f815946 Improve recent apps display and style in TabHome 2025-12-06 20:57:05 -08:00
jelveh
ba1855cff6 Add usage card to dashboard home tab 2025-12-06 20:32:00 -08:00
jelveh
c2bcd3092d Add Home tab with bento dashboard layout 2025-12-06 19:40:07 -08:00
jelveh
622f53468b Adjust dashboard icons and app card styles 2025-12-06 19:13:47 -08:00
jelveh
7f7ab1957f Add Usage tab to dashboard with sortable usage table 2025-12-06 18:26:58 -08:00
jelveh
ba6ea233ad Update style.css 2025-12-06 17:18:10 -08:00
jelveh
19c96e9797 Update style.css 2025-12-06 17:14:26 -08:00
Nariman Jelveh
ed509ad286 Dashboard (#2104)
* Add dashboard UI and routing support

Introduces a new Dashboard UI component with sidebar navigation and user options. Updates backend routing to redirect /dashboard to the root path. Integrates dashboard mode detection and initialization in the GUI, including responsive styles and logic to open the dashboard or desktop as appropriate.

* Improve dashboard user menu and UI behavior

Added support for multiple logged-in users, session saving for temporary users, and improved context menu options in the dashboard. Updated CSS for user button state and adjusted font size for signup terms. Changed dashboard initialization to use UIDashboard instead of UIWindow.

* Add dynamic apps section to dashboard UI

* Add specific class for dashboard apps section

* Refactor dashboard tabs into modular components

* Update style.css

* Add Developers menu and improve signup window behavior

Added a 'Developers' menu item to the dashboard linking to developer.puter.com. Updated login and signup window logic to ensure the signup window opens centered and dominant, improving user experience when transitioning from login to signup.

* Update UIWindowLogin.js

* Refactor apps tab UI and improve app card interaction
2025-12-06 17:06:20 -08:00
KernelDeimos
277ee6ca5a rename: requestPermission -> request 2025-12-05 13:06:29 -05:00
Daniel Salazar
ebeaf33412 npm: publish new readme (#2098)
* fix: togetherAi metering

* npm: publish new readme

* Revert "fix: togetherAi metering"

This reverts commit 2b3eb76d90.
2025-12-05 03:04:59 -08:00
KernelDeimos
2db3331729 tweak: add puter.perms.requestPermission
It calls requestPermission on the UI module. The method on the UI model
needs to still exist because the UI module is tightly-coupled with IPC.
A refactor of the IPC mechanism on the puter.js side could solve this.
2025-12-04 19:50:38 -05:00
KernelDeimos
237dc2ef9a fix: get subdomains permission working 2025-12-04 19:50:38 -05:00
KernelDeimos
349438458a dev: add user-friendly permission requests for apps/subdomains 2025-12-04 19:50:38 -05:00
KernelDeimos
bee780cc69 dev: i12ize permission messages (no translations) 2025-12-04 19:45:22 -05:00
KernelDeimos
56301281d7 dev: ensure proper encoding in dialog 2025-12-04 19:45:22 -05:00
KernelDeimos
d9875a5be5 dev: puter.perms methods to request directories
This commit adds methods to request standard directories like the
Desktop, Documents, Pictures, or Videos directory. Additionally, the
message displayed when permission for these directories is requested is
easier to read.
2025-12-04 19:45:22 -05:00
Nariman Jelveh
66786a0015 Update Node.js section header in README.md (#2095) 2025-12-04 11:26:01 -08:00
KernelDeimos
09b8c29e2f tweak: avoid use of puter global in Perms module 2025-12-04 13:26:22 -05:00
KernelDeimos
ef6dea2bec fix: skip cache when checking user:<>:email:read 2025-12-04 13:26:22 -05:00
KernelDeimos
3d7cf1c1c4 dev: add await puter.perms.requestEmail() shorthand 2025-12-04 13:26:22 -05:00
KernelDeimos
1c9ed12044 dev: add permission dialog message for email:read 2025-12-04 13:26:22 -05:00
KernelDeimos
3ea309e93b fix: requestPermission Promise never settled
This bug took a long time to diagnose, so I also made an async/await
wrapper around #postMessageWithCallback called #postMessageAsync so that
similar promise resolving errors are less likely here in the future.
2025-12-04 13:26:22 -05:00
Neal Shah
a202e57480 Add flux.2 costmaps (#2092) 2025-12-03 11:39:02 -05:00
Daniel Salazar
6419d57d84 types: fix puter-js type exports (#2090)
* chore: add typedefs for puter.js

* types: fix puter-js type exports
2025-12-02 21:36:46 -08:00
KernelDeimos
71e6a59d13 dev: add __import_identity__ to config for debug use
The vitest test suite can import different states of the same module, so
this value was very helpful in determining that this was happening and
eventually the cause.
2025-12-02 16:54:27 -05:00