139 Commits

Author SHA1 Message Date
Daniel Rochetti
7f444cdfcd
chore: proxy nextjs 14 support (#28) 2023-11-18 16:05:26 -08:00
Daniel Rochetti
24727b61aa
chore: release client 0.5.3 2023-11-18 13:50:14 -08:00
Burkay Gur
09c77be1f2
feat(client): add metrics to queue status (#27)
* Add metrics to queue status

* Update libs/client/src/types.ts

Co-authored-by: Daniel Rochetti <daniel.rochetti@gmail.com>

---------

Co-authored-by: Daniel Rochetti <daniel.rochetti@gmail.com>
2023-11-18 13:46:39 -08:00
Daniel Rochetti
7f2bb5e77d
feat(client): webhook url support on queue submit (#26) 2023-11-10 10:25:38 -08:00
Daniel Rochetti
0a18c7e93d
feat: add audio example with whisper (#25)
* feat: whisper example

* feat: whisper working example

* feat: whisper demo impl

* fix: fal config proxy

* chore: add app router info to readme

* fix: proxy url example
2023-11-09 18:46:19 -08:00
Daniel Rochetti
22d930c0ac
chore: build tool updates (#24)
* chore: build tool updates

* chore: update readme docs
2023-11-09 13:10:44 -08:00
Daniel Rochetti
2d027fe7a6
fix(client): data uri upload filename (#23) 2023-11-08 21:05:27 -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
897fb49914
Merge pull request #19 from fal-ai/matteo/logs-query-param-status
chore: send logs query param to status request as true by default
2023-10-26 13:58:15 -04: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
0e3cb85939
fix: validation error body format (#17)
* fix: validation error body format

* chore: bump proxy version

* chore: bump client version
2023-10-10 23:19:29 -07:00
Daniel Rochetti
e02118f43f
fix: proxy error json response (#16)
* chore: remove deprecated package

* fix: proxy error json response
2023-10-10 16:15:14 -07:00
Daniel Rochetti
dcd513c1e7
fix: proxy lib exports (#15)
* fix: update proxy package config

* fix: proxy lib exports at last
2023-10-08 03:01:24 -07: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
25a763602f
chore: update readme file 2023-10-02 17:46:33 -07:00
Daniel Rochetti
58520c7553
feat(nextjs): allow auth header override (#12)
* feat(nextjs): allow auth header override

* chore: bump nextjs proxy version to 0.2.3
2023-10-02 12:06:54 -07:00
Daniel Rochetti
a2166cd113
fix: nextjs handler x-fal header passthrough 2023-09-26 21:22:38 -07:00
Daniel Rochetti
2e7a4d0a3c
chore: release 0.2.1 2023-09-24 14:49: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
0503bbe66a
chore: update readme and dependency cleanup 2023-03-31 20:06:03 -07:00
Daniel Rochetti
ed322048ff
release: client 0.1.0 (#6)
* chore(client): add assets and bump version
* chore: rename scope to fal-ai
2023-03-31 18:35:08 -03:00
Daniel Rochetti
5c4cdee6a5
chore(client): add some client unit tests (#5)
* chore(client): add config unit tests
* chore(client): add runtime utilities tests
2023-03-31 15:28:03 -03:00
Daniel Rochetti
85e22b91e7
chore: disable ci/cd auto-release temporarily 2023-03-31 07:46:32 -07:00
Daniel Rochetti
d7a4a5e390
chore: use node 16 for the release workflow 2023-03-31 07:15:55 -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
a0e9d6e934
chore: add code of conduct file (#3) 2023-03-29 19:26:38 -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
turbo1912
506629b894 initial commit 2023-02-22 13:39:40 -08:00