ProgrammerIn-wonderland
d1a9bed107
Networking: dont sent authentication header if puter.authToken is undefined
2025-05-26 18:05:59 -04:00
Neal Shah
bcbf852f5c
tweak: make auth UI not required for now ( #1283 )
2025-05-26 17:36:28 -04:00
KernelDeimos
9c78c0d3f7
dev: rename 'puter.log' to 'puter.logger'
2025-05-26 11:31:16 -04:00
jelveh
951bc0ea7a
Only show Puter Dialog when needed
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 (18.x) (push) Has been cancelled
test / test (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
2025-05-23 19:50:47 -07:00
jelveh
5a6b299e78
Update AI.js
2025-05-22 11:13:01 -07:00
jelveh
d2cc550c96
add claude sonnet 4 and claude opus 4
2025-05-22 10:45:26 -07:00
jelveh
491cf506de
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 (18.x) (push) Has been cancelled
test / test (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
2025-05-21 19:51:30 -07:00
jelveh
b703b60977
omg this is getting out of hand
2025-05-21 19:40:50 -07:00
jelveh
f765180c1b
well, puter.log is taken so going to change puter.print instead
2025-05-21 19:21:52 -07:00
jelveh
f6786b8895
introduce the puter.log() method
2025-05-21 18:50:15 -07:00
jelveh
7f699302a4
Trying out the XSS-safe approach for puter.print
2025-05-21 18:11:51 -07:00
ProgrammerIn-wonderland
6af0cddfc6
Housekeeping: Get rid of puter.http/puter.https
2025-05-20 21:38:34 -04:00
ProgrammerIn-wonderland
75f0e043ea
fix TLS stream premature close issue
2025-05-20 21:26:44 -04:00
ProgrammerIn-wonderland
0d48389c40
code formatting
2025-05-20 21:04:34 -04:00
ProgrammerIn-wonderland
7a6df9a63f
change todo
2025-05-20 21:03:28 -04:00
ProgrammerIn-wonderland
af2df13619
add support for chunked encoding
2025-05-20 21:01:09 -04:00
ProgrammerIn-wonderland
2a16a2502b
fix accidental checking of requestHead when responseHead should be checked
2025-05-20 18:01:57 -04:00
ProgrammerIn-wonderland
95f1656780
initial puter.net.fetch implementation
2025-05-20 17:27:10 -04:00
ProgrammerIn-wonderland
9fdca11070
fix auth flow on subsequent loads
2025-05-20 16:40:38 -04:00
ProgrammerIn-wonderland
f944d76261
change initialization order to make wisp socket on first use of networking
2025-05-16 17:18:28 -04:00
ProgrammerIn-wonderland
73e6830b1f
Add reauthentication for unauthenticated web clients
2025-05-16 13:45:55 -04:00
jelveh
0e0bfd6d7c
Update PuterDialog.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 (18.x) (push) Has been cancelled
test / test (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
2025-05-13 17:34:11 -07:00
KernelDeimos
790e3bdffc
dev: puter.call
...
Instead of puter.drivers.call, make it puter.call. This is accomplished
by allowing puter.js modules to mutate the `puter` object on
initialization. Support for an optional `_init` method, similar to
backend services, is added to Puter modules to help with this.
2025-04-22 15:21:36 -04:00
KernelDeimos
9935f5a0be
dev: simplify calling drivers with matching names
...
This commit modifies puter.js to allow calling an
interface+service+method with matching names without redundantly
specifying. The 'ip-geo' service is also renamed to ipgeo to match its
method name and allow a simple:
puter.drivers.call('ipgeo', { ip: '1.2.3.4' })
2025-04-22 14:01:01 -04:00
jelveh
c732263958
Update AI.js
2025-04-15 23:24:53 -07:00
jelveh
cab933f1c2
Update AI.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 (18.x) (push) Has been cancelled
test / test (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
2025-04-14 12:56:32 -07:00
jelveh
68860d8876
Update AI.js
2025-04-14 12:52:54 -07:00
jelveh
42f0ac5785
Use OpenAI for `o1-mini1
2025-04-14 12:44:58 -07:00
jelveh
90d16c35e2
Add missing openai models
2025-04-14 12:36:07 -07:00
jelveh
daa95d8c39
Update AI.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 (18.x) (push) Has been cancelled
test / test (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
2025-04-10 20:17:35 -07:00
jelveh
592acbcae6
remove "anthropic/" from model name
2025-04-08 12:34:23 -07:00
KernelDeimos
27fd7b3670
fix: broken model parameter
2025-04-08 13:27:56 -04:00
KernelDeimos
fc11eba070
fix: puter.js threads error handling
2025-04-07 18:43:21 -04:00
KernelDeimos
9a12db2066
fix: .startsWith on undefined
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 (18.x) (push) Has been cancelled
test / test (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
2025-04-04 17:58:06 -04:00
jelveh
4fb772796f
Update AI.js
2025-04-04 14:43:53 -07:00
jelveh
80060e863d
Use openrouter for llama models
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 (18.x) (push) Has been cancelled
test / test (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
2025-04-03 17:23:26 -07:00
jelveh
590973f50d
Update AI.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 (18.x) (push) Has been cancelled
test / test (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
2025-04-02 12:04:38 -07:00
KernelDeimos
7c1fb4c3bf
dev: improve puter.js convert interface
Docker Image CI / build-and-push-image (push) Waiting to run
Maintain Release Merge PR / update-release-pr (push) Waiting to run
release-please / release-please (push) Waiting to run
test / test (18.x) (push) Waiting to run
test / test (20.x) (push) Waiting to run
test / test (22.x) (push) Waiting to run
2025-03-28 22:39:28 -04:00
KernelDeimos
6a3b20f0a8
fix: clarify variable names in puter.ai.chat method
...
- Renamed 'options' to 'requestParams' to clearly indicate parameters sent to the backend driver\n- Renamed 'settings' to 'userParams' to clearly indicate parameters provided by the user\n- Updated comments to be more descriptive about the purpose of each variable\n\nFixes #1212\n\nai: true
2025-03-24 16:17:58 -04:00
KernelDeimos
64d1b6e663
dev: allow specifying chat driver in puter.js
2025-03-24 15:58:32 -04:00
KernelDeimos
be59f57d68
dev: update puter.js imports to work in cli
...
This is a step towards getting puter.js to run in node instead of just
in the browser. In node, all the relative imports need to end with the
file extension, and the "type" option in package.json needs to match the
import mechanism used. It was also necessary to migrate
webpack.config.js to ESM syntax, which I would not have done if the
tooling didn't force me to.
2025-03-17 13:21:15 -04:00
Arunabh Sharma
004e47a4a9
feat: add API to get a list of all available models ( #1160 )
...
* add API to get a list of all available models
* modified listModels() and listModelProviders() for readability.
* remove dead code
---------
Co-authored-by: avijh <avi.vijh@gmail.com >
2025-03-16 00:31:33 -04:00
Tanveer Brar
3cdbcd83b3
feat: GUI Permission Dialog ( #1177 )
...
Docker Image CI / build-and-push-image (push) Waiting to run
Maintain Release Merge PR / update-release-pr (push) Waiting to run
release-please / release-please (push) Waiting to run
test / test (18.x) (push) Waiting to run
test / test (20.x) (push) Waiting to run
test / test (22.x) (push) Waiting to run
* Added requestPermission endpoint in SDK, updated IPC handler HeyPuter/puter#1150
* - Updated UIWindowRequestPermission.js to accept multiple permission types
- Updated dialog message for permission window in UIWindowRequestPermission.js
- Updated parameters for call to UIWindowRequestPermission in IPC.js
- Added search_uid.js endpoint to allow GUI searches for fsentry by file UUID HeyPuter#1150
* Updated body and header for Permission Request Dialog HeyPuter#1150
- Replace app uid with app name for header in UIWindowRequestPermission.js
- Added path for file permission request body in UIWindowRequestPermission.js
- Removed previously added search_uid.js api implementation previously as it is replaced by simpler call in gui
* Updated permission description generation in UIWindowRequestPermission.js HeyPuter#1150
* Removed incorrect web handling in IPC.js HeyPuter#1150
* Formatting fixes
2025-03-14 19:37:28 -04:00
KernelDeimos
252647cea6
fix: issues with thread subscriptions
...
Docker Image CI / build-and-push-image (push) Waiting to run
Maintain Release Merge PR / update-release-pr (push) Waiting to run
release-please / release-please (push) Waiting to run
test / test (18.x) (push) Waiting to run
test / test (20.x) (push) Waiting to run
test / test (22.x) (push) Waiting to run
I really screwed that up on my first attempt. Puter apps don't trigger
the user-connected websocket event, which rendered thread subscriptions
in apps useless. Furthermore, the uuid of the thread that was subscribed
too wasn't present in the event, which is also pretty useless.
2025-03-09 20:28:22 -04:00
KernelDeimos
249d883592
dev: add missing constructors to new puter.js methods
...
- Also add subscribe() to threads module so I don't lose it in a git
stash
2025-03-09 16:48:35 -04:00
KernelDeimos
daa3449f29
dev: begin adding developer app permissions
2025-03-09 16:48:35 -04:00
Braulio Fernandes
986dc9ea1f
add temp and max_tokens to options request obj
2025-03-07 13:57:25 -05:00
KernelDeimos
96199cbb54
fix: small fixes for threads
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 (18.x) (push) Has been cancelled
test / test (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled
2025-03-05 16:55:09 -05:00
KernelDeimos
53c865c973
dev: add group management SDK
2025-03-05 15:24:52 -05:00
KernelDeimos
f0a6e493a1
dev: register puter.perms module
2025-03-04 14:39:32 -05:00