gulizar Elhalil
3d44609d80
Update ku.js ( #1677 )
...
* Update ku.js
translation has been added.
* Update ku.js
---------
Co-authored-by: Nariman Jelveh <nj@puter.com >
2025-10-04 11:24:04 -07:00
KernelDeimos
74430da673
style: small change to test deploy
...
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
Arbitrary whitespace change just to test something.
2025-10-03 21:36:44 -04:00
Eric Dubé
4eaba05136
chore: update package-lock.json with npm v11.6.1
...
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
* try: update package-lock.json from Linux/x86 on 11.6.1
* darwin
* darwing
* dev: try updating rollup
* try: npm 11.6.1 delete package-lock.json and run `npm i`
* push darwin pacakge lock
* sync: package-lock.json with npm 11.6.1
---------
Co-authored-by: Daniel Salazar <daniel.salazar@puter.com >
2025-10-03 20:18:13 -04:00
Nariman Jelveh
db66fecadf
Update style.css ( #1671 )
2025-10-03 16:24:44 -07:00
Nariman Jelveh
44bc7b7437
Replace "Save As..." with i18n('Save As…') ( #1670 )
2025-10-03 15:54:43 -07:00
Nariman Jelveh
cc8a658122
Update UI.js ( #1668 )
2025-10-03 14:59:23 -07:00
KernelDeimos
39fdcec9bf
fix: add missing utilities.js
2025-10-03 17:12:41 -04:00
KernelDeimos
9c5b96305a
example(extensions): [+] example-kv
2025-10-03 16:53:23 -04:00
KernelDeimos
9ff59d9290
fix: system actor for extension lifecycle events
...
Using services such as `kv` which expect an actor in context would not
work in a handler for a lifecycle event such as `'init`' in an
extension. In core backend modules is it generally expected that if a
user actor is not in context a backend service will explicitly specify
that the system actor should be used with the `su` service's `sudo`
method. We cannot require extension developers to add this wrapping code
whenever they want to use kv.
In the future it might be better to have a specific "ExtensionActorType"
for this purpose.
2025-10-03 16:53:23 -04:00
ProgrammerIn-wonderland
f60e02565f
add conditional type overload for streaming
2025-10-03 16:38:44 -04:00
Kishan_Singh
1affbb4cc8
fix: support async iterator for AI chat streaming mode in types
2025-10-03 16:38:44 -04:00
Hariz
4eab7167e6
Disable browser context menu on launcher popover ( #1648 )
...
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
* Disable browser context menu on launcher popover
* Allow system context menu on launch search bar
* Remove extraneous debug log
2025-10-02 20:40:42 -07:00
Daniel Salazar
4a1aee0713
fix: increment for non-existent keys ( #1649 )
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-02 15:51:56 -07:00
KernelDeimos
36b30ebf57
dev(extensions): [+] extension-examples:ii:hello-world
2025-10-02 18:35:20 -04:00
KernelDeimos
aef8227454
doc(extensions): data import
2025-10-02 17:00:51 -04:00
KernelDeimos
54b8990c70
devex(extensions): simplify kv get and set methods
...
The basic `.get()` and `.set()` calls should be the same between
persistent key-value store (puter-kvstore) and in-memory cache (kv.js).
This commit wraps these methods to support the "shorthand" usage.
2025-10-02 16:53:59 -04:00
KernelDeimos
b9f42f6daa
fix: PayloadTooLargeError for JSON + base64 images
...
The `/drivers/call` endpoint hangs when the JSON middleware produces
(or, is going to produce?) a PayloadTooLargeError. Increasing the limit
avoids this issue for typical use.
2025-10-02 15:41:09 -04:00
Dan Tran
a17ab22ab7
feat: Add missing Vietnamese translations ( #1641 )
2025-10-02 10:18:43 -07:00
Daniel Salazar
cc3b0db6b1
feat: initial metering service supporting monthly tracking of service consumption ( #1630 )
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-01 14:04:36 -07:00
KernelDeimos
36ddad0ecc
lint: add config global to extensions
2025-10-01 16:58:46 -04:00
KernelDeimos
7137d1a178
doc: permission grant in extension drivers
2025-10-01 16:57:44 -04:00
KernelDeimos
bfffdfdc36
doc(extensions): exports not front-and-center
...
The extension documentation mentions imports and exports together very
early on, but extension exports should be used sparingly. I suspect most
extensions with exports will be among Puter's builtin extensions.
2025-10-01 16:47:56 -04:00
KernelDeimos
9946d2ffc5
dev(extensions): event for extensions to grant permst
2025-10-01 16:46:59 -04:00
KernelDeimos
574088ea55
doc: improve extension documentation
...
- describe extension events
- link drivers documentation
2025-10-01 16:03:24 -04:00
KernelDeimos
ec8111cc2f
dev(extensions): improved configuration support
...
Extensions now read configuration objects under the "extensions" block
in the backend configuration. Additionally, a `config.json` for default
values directly in the extension's directory is now supported.
2025-10-01 15:29:13 -04:00
Yukirin
94c0490f34
Update id.js ( #1638 )
...
Added missing translations and re-translated some of existing translations
2025-10-01 10:46:43 -07:00
KernelDeimos
887536b811
fix: cleanup EngPortalService commands
...
- removes commands from EngPortalService that were previously moved to
ParameterService
- renames `eng:test` to `eng:list-operations`
Closes #1624
2025-10-01 13:17:04 -04:00
Daniel Salazar
5b3bc9ddf4
fix: permission batch get ( #1637 )
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-30 20:17:01 -07:00
biranzegelman97
916f419e0f
added missing hebrew translations + fixed some existing translation + changed he.js export variable from en to he ( #1634 )
...
* added missing hebrew translations + fixed some existing translation + changed he.js export variable from en to he
* remove "Missing translations" comment?
---------
Co-authored-by: Nariman Jelveh <nj@puter.com >
2025-09-30 19:16:35 -07:00
Hariz
62f5cc54cf
Fix bug with context menu positioning on page load ( #1636 )
...
* Fix bug with context menu positioning on page load
* Fix double context menu bug on mobile
2025-09-30 18:58:54 -07:00
Nariman Jelveh
6ee60f9c13
Closes #629
2025-09-30 18:27:33 -07:00
Hariz
6429dcf15e
Add 'Set as Desktop Background' context menu item to images ( #1635 )
...
* Add 'Set as Desktop Background' context menu item
* Use the `mime` library to detect images in the `UIItem` context menu
---------
Co-authored-by: Nariman Jelveh <nj@puter.com >
2025-09-30 18:06:09 -07:00
KernelDeimos
c11a4008ee
doc: improve comments in hellodriver.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-09-30 17:12:09 -04:00
KernelDeimos
5cc182653e
doc: document creating extensions through drivers
2025-09-30 16:33:34 -04:00
KernelDeimos
057eaa46ca
dev(extensions): [+] hellodriver
...
The hellodriver extension provides a useful interface for generating
greetings at the same time as a simple example of how to implement
drivers.
2025-09-30 16:33:34 -04:00
KernelDeimos
87f2fbf36b
clean: DriverService
...
Removes dead code and reduces branching. In the get_service_or_throw_
method, the changes in this commit show how the branching got more
redundnat in the previous change.
2025-09-30 16:33:34 -04:00
KernelDeimos
41820baba6
dev: add extension support in DriverService
...
Adds new events that DriverService emits: `create.interfaces` and
`create.drivers`. Returns the functionality of the "drivers" registry,
which now expects objects provided by extensions.
2025-09-30 16:33:30 -04:00
Nariman Jelveh
eaa31ba18f
Update copyright headers that were translated to non-english
2025-09-30 12:54:00 -07:00
Nariman Jelveh
343f042f39
feat: add tar and untar functionality for file management
...
- Implemented `tarItems` function to create tar archives from selected files or directories.
- Added `untarItem` function to extract tar archives.
- Updated UI to include options for downloading and tarring files.
- Enhanced item icon handling to display tar file icons.
- Added translations for tar and untar operations.
- Fixes #1629
2025-09-30 10:35:55 -07:00
Daniel Salazar
9c47a7f8ca
perf: move user-user perm checks to flat kv entries ( #1562 )
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 19:41:39 -07:00
Nariman Jelveh
d085568674
Delete .github/ISSUE_TEMPLATE directory
2025-09-29 18:48:35 -07:00
KernelDeimos
1c64cb274b
fix(ai): try overriding timeout to disable error
...
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
The Anthropic SDK preemptively throws an error if it thinks a response
is going to take longer than 10 minutes:
https://github.com/anthropics/anthropic-sdk-typescript#long-requests
According to this documentation, overriding the `timeout` option
disables this error. In this commit the option is changed to the default
value of 10 minutes plus an additional 1 second; it is assumed based on
the documentation's phrasing that it is not necessary to make the
timeout higher but simply to specify a value.
2025-09-29 15:08:23 -04:00
KernelDeimos
df6fc8a432
test: fix test kernel after adding runtimle modules
...
RuntimeModules (a feature for extensions) can be accessed by core
modules through a registry exposed in Context by Kernel. However,
TestKernel was not exposing this same registry which caused an error
when module installation occurred during tests.
2025-09-29 14:27:07 -04:00
jelveh
208d25f371
Update ClaudeService.js
2025-09-29 11:20:34 -07:00
Andrei Onel
d216887fa0
doc: add comments under filesystem, modules, entitystorage
...
* Added reference documentation for: src/backend/src/modules/puterfs/DatabaseFSEntryFetcher.js
* Added reference documentation for: src/backend/src/modules/dns/DNSService.js
* Added reference documentation for: src/backend/src/filesystem/ll_operations/ll_write.js
* Added reference documentation for: src/backend/src/filesystem/strategies/storage_a/LocalDiskStorageStrategy.js
* Added reference documentation for: src/backend/src/om/entitystorage/WriteByOwnerOnlyES.js
---------
Co-authored-by: askmanu[bot] <192355599+askmanu[bot]@users.noreply.github.com>
2025-09-29 14:16:50 -04:00
jelveh
5caf148ae9
Update ClaudeService.js
2025-09-29 11:16:13 -07: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