31 Commits

Author SHA1 Message Date
Daniel Rochetti
d9ea6c7dd3
feat(client): subscribe to status (#76)
* feat(client): subscribe to status

* fix(client): timeout id type
2024-07-23 10:41:44 -07:00
Daniel Rochetti
903af74da1
feat: queue cancel support (#75)
* feat(client): queue request cancel support

* feat(proxy): add mapping to put requests
2024-07-22 12:59:45 -07:00
Daniel Rochetti
cf300e9cc0
fix(client): remove auto-upload of data uri (#73) 2024-07-11 08:49:14 -07:00
Daniel Rochetti
ab210d9da4
feat(client): enable both polling and streaming for queue status (#72) 2024-07-11 08:41:46 -07:00
Daniel Rochetti
4ea43b4cea
feat(client): stream queue status (#71)
* feat(client): stream queue status

* chore: remove console log

* fix: accumulative logs when streaming

* fix(client): stream logs on queue update

* chore(apps): remove pollInterval from sample apps
2024-06-25 15:00:01 -07:00
Daniel Rochetti
f7d9dec1aa
fix(client): remove trailing slash from url with params (#68) 2024-06-05 09:53:58 -07:00
Daniel Rochetti
8fc0b726c2
fix(client): add webhookUrl to subscribe options (#67)
* fix(client): add webhookUrl to subscribe options

* chore(client): bump version for release
2024-06-04 15:20:32 -07:00
Daniel Rochetti
dfeb8689f4
feat: support app id with namespaces (#61)
* feat: support app id with namespaces

* chore: remove unwanted page

* fix: queue status url

* chore: bump version for release
2024-04-06 01:19:38 -07:00
Daniel Rochetti
c3173cfa00
fix: queue submit app id (#52)
* fix: queue submit app id

* chore: bump client version
2024-02-21 08:26:22 -08:00
Daniel Rochetti
e0b7627f7a
feat(client): app id with path + realtime url (#51)
* feat: app id + path format support

* chore: bump client to 0.8.4
2024-02-20 18:59:37 -08:00
Daniel Rochetti
07f1b125f7
feat: fal.run url support (#40)
* feat: fal.run url support

* feat: new queue url format

* fix: build issue

* chore: change demo app ids
2024-01-15 15:14:21 -08:00
Daniel Rochetti
6ad41e1bfa
feat(client): realtime state machine impl (#32)
* fix: connection state handling

* chore: reset token expiration

* feat: state machine experiment

* feat: new realtime state machine impl

* chore: update client to 0.7.0 before release

* fix: error handling x-fal-error

* chore(client): release v0.7.0

* fix(client): strict type check error
2023-12-04 14:44:56 -08:00
Daniel Rochetti
c5840192da
feat(client): allow to disable auto-upload 2023-11-20 09:13:18 -08:00
Daniel Rochetti
7f2bb5e77d
feat(client): webhook url support on queue submit (#26) 2023-11-10 10:25:38 -08:00
Daniel Rochetti
78ffa58162
feat: client file upload (#18)
* feat: client file upload

* feat: signed upload

* fix: add multipart header

* fix: remove unused file

* chore(wip): own signature impl

* feat: use gcs presigned upload

* fix: invalid export

* fix: rest api host url

* feat: final upload logic and sample
2023-11-02 19:30:46 -07:00
Daniel Rochetti
3a98fd6d0f
feat: next proxy app router support (#22)
* feat: add nextjs app router support

* chore: rename nextjs page router demo

* feat: support nextjs app router with example

* chore(proxy): bump to 0.4.0

* chore: update package-lock.json

* chore: remove formidable

* chore: update package-lock.json

* fix: page export

* fix: type issues

* fix: remove comment

* fix: eslint any warning

* chore: client version bump 0.4.2
2023-10-30 09:01:15 -07:00
Daniel Rochetti
759d58a306
fix(client): queue status path (#21) 2023-10-27 10:42:00 -07:00
Daniel Rochetti
4797a8d4c4
fix(client): queue path support (#20) 2023-10-27 10:25:38 -07:00
Matteo Ferrando
c0d2c94f3c lint 2023-10-26 13:48:16 -04:00
Matteo Ferrando
347a6d118a default to false 2023-10-26 13:18:15 -04:00
Matteo Ferrando
1ee2832e2b comments 2023-10-25 12:53:13 -04:00
Matteo Ferrando
48829672cb
Update libs/client/src/function.ts
Co-authored-by: Daniel Rochetti <daniel.rochetti@gmail.com>
2023-10-25 12:43:33 -04:00
Matteo Ferrando
d7e9dd1515 chore: send logs query param to status request as true by default 2023-10-24 11:18:21 -04:00
Daniel Rochetti
b79e51683b
feat: new cross-engine proxy support (#14)
* feat: new proxy package

* chore: update nx workspace

* chore: remove unused codegen lib

* chore: add swc-node as build dependencies

* chore: remove unused demo-app-e2e app

* chore: reorganize demo apps

* feat: working cross-engine proxy

* chore: update docs

* fix: readme file export

* chore: update nextjs lib

* chore: keep nextjs code
2023-10-08 01:46:36 -07:00
Daniel Rochetti
f240e622d3
feat: validation error type (#13)
* feat: add validation error type

* feat: move subscribe to top-level

* fix: wrong import
2023-10-07 16:12:47 -07:00
Daniel Rochetti
031454ca2a
fix: polling status call (#11) 2023-09-24 14:37:09 -07:00
Daniel Rochetti
f075fd914f
feat: support single fal_key env var (#10)
* feat: support single fal_key env var

* fix: default config and tests
2023-09-24 14:21:18 -07:00
Daniel Rochetti
9a0497da30
feat: client proxy + nextjs support (#9)
* feat(client): add function alias support

* feat(client): auto config from env vars

* fix(client): username in aliased url

* feat: nextjs proxy handler

* fix: update client tests

* feat(client): built-in queue support

* feat: client + nextjs e2e demo

* chore: update browserslist

* chore: update version info

* chore: update readme badges

* fix: ignore lint error on require
2023-09-11 16:26:06 -07:00
Daniel Rochetti
3b11d468a8
feat(client): add function alias support (#7)
* feat(client): add function alias support

* fix(client): username in aliased url
2023-05-02 09:18:25 -07:00
Daniel Rochetti
1724bc37e7
chore: add docs, license and prepare for release (#4)
* chore: add initial readme and license info
* minor fix: remove colon from note
* some jsdocs
* update build action
* fix nx command on gh action
* specify remote origin as base in build
* update release info
* semantic release config
* rename auth headers
* chore: update package-lock.json
2023-03-31 11:09:19 -03:00
Daniel Rochetti
6553779987
chore: configure new monorepo and build workflow
* prepare monorepo and move client to its package

* create nx workspace

* workspace cleanup and updates

* upgrade nx workspace and fix client package

* add basic codegen logic

* first working build script

* update nextjs app

* update generated code

* add koldstart core and client foundation

* add basic fetch implementation to client

* add stable diffusion example

* remove local output image

* remove keys

* remove more keys

* update client usage and samples

* remove grpc client code and dependencies

* rename base package

* remove core package

* continue package refactor

* rename koldstart apis

* refactor main function run api

* add listen function stub

* removed more koldstart references

* build workflow added

* minor doc updates - trigger workflow

* nx workflow action
2023-03-29 12:49:55 -03:00