Commit Graph

106 Commits

Author SHA1 Message Date
Alex Yang b57dc2f4a0 ci: fix @llama-flow/docs@0.0.1 2025-04-15 07:26:21 -07:00
Alex Yang 3cb4969b07 chore: fix changeset 2025-04-15 07:21:40 -07:00
Alex Yang 3fe4693a17 chore: fix package.json 2025-04-15 07:19:11 -07:00
Alex Yang ff4b1e1d5d chore: fix package.json 2025-04-15 07:17:50 -07:00
Alex Yang 5433d08d8f chore: add .changeset dir 2025-04-15 07:16:09 -07:00
Alex Yang 25d44a245e docs: init fumadocs (#38) 2025-04-15 06:58:22 -07:00
Alex Yang f92daec7f7 docs: update README.md 2025-04-15 00:36:54 -07:00
Alex Yang a998e5a6b5 0.3.4 v0.3.4 2025-04-14 23:53:17 -07:00
Alex Yang 50171408ab docs: update 2025-04-14 23:52:35 -07:00
Alex Yang 6baccd5db8 refactor: rename repo to @llama-flow/core (#37) 2025-04-14 23:51:31 -07:00
Alex Yang 9b2f8ea4eb refactor: rename validation handle to strictHandle (#36) 2025-04-14 09:34:06 -07:00
Alex Yang e7bc771446 refactor: use Subscribable (#35)
Upstream: https://github.com/run-llama/fluere/pull/34
2025-04-13 20:55:07 -07:00
Alex Yang 691d599725 feat: type rename (#33) 2025-04-13 05:04:17 -07:00
Alex Yang b035902c1c feat: use workflow.substream (#31) 2025-04-07 23:41:27 -07:00
Alex Yang 0c126bcd03 fix: move createFilter in workflow level 2025-04-07 00:57:43 -07:00
Alex Yang c5df55b6fe 0.3.3 v0.3.3 2025-04-07 00:15:57 -07:00
Alex Yang 001cad1e79 fix: type bypass middleware 2025-04-07 00:15:46 -07:00
Alex Yang 870a3a8052 0.3.2 v0.3.2 2025-04-07 00:03:39 -07:00
Alex Yang 2a7c9336b5 feat: trace events (#30) 2025-04-07 00:01:55 -07:00
Alex Yang 879af94ac1 test: add sub workflow test 2025-04-06 11:48:29 -07:00
Alex Yang e257f64be1 test: move files 2025-04-06 10:53:31 -07:00
Alex Yang 9b2947fc70 0.3.1 v0.3.1 2025-04-06 00:55:57 -07:00
Alex Yang 36c871d117 fix: stream exports (#29) 2025-04-06 00:55:21 -07:00
Alex Yang 969efce1f5 0.3.0 v0.3.0 2025-04-06 00:11:56 -07:00
Alex Yang f969345f9c feat: add stream utilities (#28) 2025-04-06 00:06:40 -07:00
Alex Yang b75f3dcbc0 chore: add lint-staged and husky for pre-commit hooks (#27) 2025-04-05 23:14:06 -07:00
Alex Yang 15395010df test: fix in browser (#26) 2025-04-05 23:07:11 -07:00
Alex Yang 2380405887 fix: move debug label in object (#25) 2025-04-05 23:05:47 -07:00
Alex Yang d057a756aa feat: middleware withTraceEvents (#24) 2025-04-05 21:53:15 -07:00
Alex Yang 5ac0b476af 0.3.0-beta.1 2025-04-04 09:38:45 -07:00
Neko d05a83d986 fix(fluere): promise handler doesn't accept WithValidationWorkflow (#22)
Co-authored-by: Alex Yang <himself65@outlook.com>
2025-04-04 09:36:09 -07:00
Neko 428e13c77e fix(fluere): missing composite for reference tsconfig & aligned tsconfig for paths (#23) 2025-04-04 09:09:13 -07:00
Neko 95fe3e6af3 test: fix missing vitest.workspace config for monorepo (#21) 2025-04-04 09:08:35 -07:00
Alex Yang c644f14ba7 0.3.0-beta.0 2025-04-03 22:08:01 -07:00
Alex Yang 62d9387a41 feat: add stream/filter (#20) 2025-04-03 22:07:34 -07:00
Alex Yang a8337f8465 fix: edge case when calling tee (#19) 2025-04-03 21:09:59 -07:00
Alex Yang d654b7b476 docs: update 2025-04-03 09:19:39 -07:00
Alex Yang d328f0c35e 0.3.0-alpha.5 2025-04-03 09:16:44 -07:00
Alex Yang d79737e63a fix: rename to withValidation (#18) 2025-04-03 09:15:12 -07:00
Alex Yang 7e3e9e3d6c fix: missing context in withStore (#17) 2025-04-03 09:13:43 -07:00
Alex Yang f28de2b6c6 0.3.0-alpha.4 2025-04-03 07:57:52 -07:00
Alex Yang 069d972f41 fix: middleware type (#16) 2025-04-03 07:57:27 -07:00
Alex Yang d28b481876 feat: workflow middleware system (#15) 2025-04-03 06:10:00 -07:00
Alex Yang d91d59fb1d fix: add browser warning (#14) 2025-04-03 03:16:51 -07:00
Alex Yang 8a808653dc feat: workflow event revamp (#12)
- startEvent and stopEvent shouldn't be required
- `workflowEvent(data)` -> `workflowEvent.with(data)`
2025-04-03 03:16:31 -07:00
Alex Yang 1b94ae184a feat: support error handling (#13)
You can use `signal` in `getContext` to handle error

```ts
workflow.handle([convertEvent], () => {
  const { signal } = getContext();

  signal.onabort = () => {
    console.error("error in convert event:", abort.reason);
  };
});
```
2025-04-03 02:54:41 -07:00
Alex Yang 63b80703d0 test: fix file include 2025-04-03 01:59:18 -07:00
Alex Yang 6eddb9cb97 test: fix vitest.config.ts 2025-04-03 01:50:09 -07:00
Alex Yang 5e386a726b 0.2.4 2025-04-03 01:47:12 -07:00
Alex Yang f7f42b29f1 chore: missing async-context output 2025-04-03 01:47:02 -07:00