Commit Graph
4803 Commits
Author SHA1 Message Date
jelveh 2d5fb8576e Update OpenAiImageGenerationProvider.ts 2025-12-16 16:19:03 -08:00
jelveh 49ab36d8be Add GPT Image 1.5 model and cost mapping 2025-12-16 15:55:33 -08:00
jelveh a3bcc488de Update usage limit dialog to indicate insufficient funds
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-backend (20.x) (push) Has been cancelled
test / test-backend (22.x) (push) Has been cancelled
test / API tests (node env, api-test) (22.x) (push) Has been cancelled
test / puterjs (node env, vitest) (22.x) (push) Has been cancelled
2025-12-16 11:15:50 -08:00
Nariman JelvehandGitHub dc78af3590 Add usage limit dialog and integrate with driverCall_ (#2185) 2025-12-16 10:37:26 -08:00
jelveh 1e864b4bd5 Update UIDashboard.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-backend (20.x) (push) Has been cancelled
test / test-backend (22.x) (push) Has been cancelled
test / API tests (node env, api-test) (22.x) (push) Has been cancelled
test / puterjs (node env, vitest) (22.x) (push) Has been cancelled
2025-12-15 20:50:59 -08:00
Daniel SalazarandGitHub ed51a042b4 telemetry: config telemetry to run by default (#2184)
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-backend (20.x) (push) Has been cancelled
test / test-backend (22.x) (push) Has been cancelled
test / API tests (node env, api-test) (22.x) (push) Has been cancelled
test / puterjs (node env, vitest) (22.x) (push) Has been cancelled
2025-12-15 18:49:49 -08:00
jelveh 358b64124e Add extension events to dashboard initialization 2025-12-15 17:43:05 -08:00
KernelDeimos 9bac2cba07 perf: [+] readdirstat_uuid optimized implementation 2025-12-15 20:28:34 -05:00
Reynaldi ChernandoandGitHub dc827f90c4 Fix more puter.js typescript types (#2181)
* Fix networking types

* Fix os types

* Fix UI types

* Remove constructor in util.d.ts

* Fix worker types

* Fix puter.d.ts

* Fix apps types

* Change socket and tlssocket back to psocket and ptlssocket
2025-12-15 19:29:04 -05:00
Reynaldi ChernandoandGitHub 85c548d0d3 Fix speech2speech options (#2133) 2025-12-15 16:11:25 -08:00
jelveh 66cf679aab Delete devlog.md 2025-12-15 13:59:53 -08:00
KernelDeimos 6d36c90032 fix: add missing 'tel' runtime module
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-backend (20.x) (push) Has been cancelled
test / test-backend (22.x) (push) Has been cancelled
test / API tests (node env, api-test) (22.x) (push) Has been cancelled
test / puterjs (node env, vitest) (22.x) (push) Has been cancelled
2025-12-15 14:35:05 -05:00
jelveh 5ba94092f7 Map 'xai' provider to 'xai-image-generation'
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-backend (20.x) (push) Has been cancelled
test / test-backend (22.x) (push) Has been cancelled
test / API tests (node env, api-test) (22.x) (push) Has been cancelled
test / puterjs (node env, vitest) (22.x) (push) Has been cancelled
2025-12-14 16:05:50 -08:00
jelveh a030fcd9b8 Add xAI image generation provider integration 2025-12-14 15:46:28 -08:00
Daniel SalazarandGitHub 54dd60d44b fix: missing video gen ai services in ai module (#2180)
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-backend (20.x) (push) Has been cancelled
test / test-backend (22.x) (push) Has been cancelled
test / API tests (node env, api-test) (22.x) (push) Has been cancelled
test / puterjs (node env, vitest) (22.x) (push) Has been cancelled
2025-12-14 11:08:52 -08:00
Nariman JelvehandGitHub 560307d587 Remove unused putility features (#2168)
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-backend (20.x) (push) Has been cancelled
test / test-backend (22.x) (push) Has been cancelled
test / API tests (node env, api-test) (22.x) (push) Has been cancelled
test / puterjs (node env, vitest) (22.x) (push) Has been cancelled
* Remove smol utility library and update usage

Deleted the smol utility library from putility, removed its documentation, and refactored code in linux.js to use native string methods instead of smol.split. This simplifies the codebase by eliminating a redundant utility.

* Remove `putility.libs.time` and inline time utilities

* Update imports and time constant usage in core modules

Replaced usage of time.SECOND with a local SECOND constant in ServerHealthService for clarity and removed unused import. Updated all service imports in TestCoreModule to explicitly include the .js extension for compatibility with ES module resolution.

* Remove unused `wrap_text` and `ansi_visible_length` functions

Deleted the wrap_text and ansi_visible_length utility functions from string.js, as they are no longer needed or used in the codebase.

* Remove `format_as_usd` utility and related docs

The format_as_usd function and its documentation have been removed from the codebase and README files. This cleans up unused or deprecated currency formatting utilities.

* Remove osclink utility and update references

The osclink function and its documentation have been removed from putility. All usages in backend modules have been updated to use plain URLs instead of OSC 8 hyperlinks. This simplifies string utilities and avoids terminal-specific formatting.

* Remove PosixError utility module

* Remove NariMethodsFeature and related references

Deleted the NariMethodsFeature module and removed its usage from AdvancedBase and PuterJSFileSystemModule. This simplifies the codebase by eliminating unused or deprecated NARI method support.
2025-12-13 17:59:16 -08:00
Daniel SalazarandGitHub 6652a1d332 fix: make cache calls async on boot (#2173) 2025-12-13 17:00:02 -08:00
Daniel SalazarandGitHub 25221e539d fix: bad caching query crashing our db (#2172)
* logs: add errors to cache log

* logs: add errors to cache log

* fix: bad caching query crashing our db
2025-12-13 16:48:36 -08:00
Daniel SalazarandGitHub 5c9a98a7a1 Ds/main (#2171)
* logs: add errors to cache log

* logs: add errors to cache log
2025-12-13 15:48:37 -08:00
Daniel SalazarandGitHub d7b3ba3bb0 cd: make our deploy reliably wait for server to be ready (#2170)
* chore: continue removing extra logs

* cd: make our deploy reliably wait for server to be ready
2025-12-13 14:34:44 -08:00
Daniel SalazarandGitHub e79f8a46f0 chore: add better logging to broadcast connections (#2169)
* fix: await fetching app cache on init

* chore: add better logging to broadcast connections
2025-12-13 14:07:25 -08:00
Daniel SalazarandGitHub bbd5f52320 chore: continue removing extra logs (#2159)
* fix: await fetching app cache on init

* await for methods on boot now
2025-12-13 13:34:25 -08:00
Nariman JelvehandGitHub 87ac67a340 Remove DevConsoleService and related dev console widgets (#2167)
* Remove DevConsoleService and related dev console widgets

Eliminates `DevConsoleService` and `NullDevConsoleService`, along with all code that registers or manages dev console widgets across the backend. Developer messages and notifications are now logged directly to the console. Removes related commands and test mocks, simplifying the developer experience and reducing code complexity.

* Remove MinLogService and related registration code

Deleted MinLogService.js and removed its registration from SelfHostedModule.js. This cleans up unused or deprecated logging functionality.

* Remove `DevSocketService` and related registration

* Increase test job timeouts in CI workflow

* Remove dev environment widget ops counter

Eliminated increment and decrement of the dev_batch-widget ops counter in BatchExecutor. This simplifies the code and removes dev-only UI tracking logic from the batch operation flow.

* Remove console Puter logo feature and related code

Deleted the src/fun/logos.js file and removed all references to the Puter logo display in WebServerService and documentation. This streamlines the server startup output and eliminates unused or unnecessary code.

* Update WebServerService.js

* Standardize console banner formatting in services
2025-12-13 13:31:16 -08:00
jelveh d07d5fd5cb Remove DevTODService and its registration
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-backend (20.x) (push) Has been cancelled
test / test-backend (22.x) (push) Has been cancelled
test / API tests (node env, api-test) (22.x) (push) Has been cancelled
test / puterjs (node env, vitest) (22.x) (push) Has been cancelled
2025-12-13 11:33:06 -08:00
Nariman JelvehandGitHub 794ff1e255 Remove tag cache refresh logic from AppInformationService (#2166)
* Remove tag cache refresh logic from AppInformationService

Eliminated the _refresh_tags method and its scheduled interval from AppInformationService. This change removes the tag cache refresh functionality, likely due to refactoring or deprecation of tag-based app discovery.

* Remove AI usage testing contributor docs
2025-12-13 09:45:13 -08:00
jelveh 888fab42e1 Remove AI response normalization files
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-backend (20.x) (push) Has been cancelled
test / test-backend (22.x) (push) Has been cancelled
test / API tests (node env, api-test) (22.x) (push) Has been cancelled
test / puterjs (node env, vitest) (22.x) (push) Has been cancelled
2025-12-13 00:23:35 -08:00
jelveh 9c5938e2fd Remove comment-writer and AI METADATA comments from backend source files 2025-12-13 00:16:31 -08:00
jelveh f838fe4ecc Remove Threads module from puter-js 2025-12-13 00:06:43 -08:00
Nariman JelvehandGitHub 8f7a735cc0 Remove dev-console-ui-utils and update related services (#2163)
* Remove dev-console-ui-utils and update related services

* Remove debug console.log statements from backend code

Eliminated various leftover console.log and debug print statements across multiple backend modules and services to clean up the codebase and reduce unnecessary logging in production.

* Remove unnecessary console.log statements
2025-12-12 23:46:39 -08:00
Nariman JelvehandGitHub b8ed8caa3a Remove CommentService and related tests (#2160)
Deleted the CommentService implementation and its test file, and unregistered the service from CoreModule. This removes all comment-related backend functionality.
2025-12-12 21:49:54 -08:00
Nariman JelvehandGitHub 6bb4e9dfae Remove Bootstrap 5.1.3 assets from public directory (#2161)
* Remove Bootstrap 5.1.3 assets from public directory

* Create bootstrap.min.css
2025-12-12 21:41:16 -08:00
Nariman JelvehandGitHub ae92233b95 Remove fat from puterjs (#2156)
* Refactor puter-js to remove putility and service layer

* Add fallback for IPC listener registration

* Remove TeePromise in favor of `createDeferred` pattern

* Update utils.js

* Bump version to 2.2.0 in package.json

* Remove model name normalization and driver mapping logic

Eliminated the code responsible for normalizing model names and mapping models to specific AI drivers. The default driver is now set to 'ai-chat', simplifying the model selection and driver assignment process.

* Simplify AIService selection logic in image generation

* Remove unused Together image model constants
2025-12-12 19:44:15 -08:00
Daniel SalazarandGitHub ef69865dd1 chore: decrease uninmportant logs (#2158)
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-backend (20.x) (push) Has been cancelled
test / test-backend (22.x) (push) Has been cancelled
test / API tests (node env, api-test) (22.x) (push) Has been cancelled
test / puterjs (node env, vitest) (22.x) (push) Has been cancelled
2025-12-12 18:50:01 -08:00
Daniel SalazarandGitHub f3e143e74a fix: bad usageType (#2157) 2025-12-12 17:31:40 -08:00
Daniel SalazarandGitHub 797b87b004 cleanup: remove dead cloudwatch call (#2155) 2025-12-12 17:08:26 -08:00
KernelDeimos 6c0daf58c4 perf: is()/is_above() determine when to fetch 2025-12-12 17:38:43 -05:00
KernelDeimos af9a2b8300 perf: don't await on modifying 'accessed' 2025-12-12 17:38:43 -05:00
KernelDeimos 3fe6b8d23a fix: fsNode.is() requiring unnecessary fetch
When you have two path selectors, .is() should compare path strings
instead of fetching any entries.
2025-12-12 17:38:43 -05:00
KernelDeimos 4b31204224 perf: condition for re-fetch in fsNode.exists() 2025-12-12 17:38:43 -05:00
jelveh 54c2d9768e Update package.json 2025-12-12 13:47:27 -08:00
jelveh 348e000863 Bump puter.js version to 2.1.15 and update metadata
Added a homepage field and specified the repository directory in package.json for improved project metadata.
2025-12-12 13:43:25 -08:00
jelveh bb697616c0 Refine signup form spacing and title styling 2025-12-12 13:28:18 -08:00
Reynaldi ChernandoandGitHub ce2a509221 Fix hosting types (#2153) 2025-12-12 12:55:59 -08:00
Reynaldi ChernandoandGitHub 17ca4c7c93 Fix speech2txt options (#2150) 2025-12-12 12:55:51 -08:00
Reynaldi ChernandoandGitHub e431ac265c Fix FS types (#2134) 2025-12-12 12:55:39 -08:00
Reynaldi ChernandoandGitHub 697b3424c7 Add missing AI types (#2151) 2025-12-12 12:55:20 -08:00
Reynaldi ChernandoandGitHub c950be13f2 Fix KV types (#2152) 2025-12-12 12:54:13 -08:00
jelveh 7dcf590cf1 Add hide-scrollbar class to sidebar and user options 2025-12-12 11:58:59 -08:00
Reynaldi ChernandoandGitHub 7b15ee0bd0 Add alias for gpt-5.2-chat (#2148)
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-backend (20.x) (push) Has been cancelled
test / test-backend (22.x) (push) Has been cancelled
test / API tests (node env, api-test) (22.x) (push) Has been cancelled
test / puterjs (node env, vitest) (22.x) (push) Has been cancelled
2025-12-11 19:59:21 -08:00
jelveh bb7b71236f Add new GPT-5.2 chat models to OpenAI provider 2025-12-11 19:43:22 -08:00