Commit Graph

92 Commits

Author SHA1 Message Date
github-actions[bot] 2652fa10e3 Version Packages (#56)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: himself65 <14026360+himself65@users.noreply.github.com>
2025-04-20 17:04:38 -07:00
Alex Yang ed64c530aa chore: bump version (#57) 2025-04-20 17:03:10 -07:00
Alex Yang 3e60988e00 chore: release to jsr.io (#58) 2025-04-20 16:34:05 -07:00
Alex Yang cc19dd83ae feat(trace-events): add getEventOrigins (#54) 2025-04-20 01:51:10 -07:00
Alex Yang d44bea3601 fix: event string to be debug label (#55) 2025-04-19 21:04:10 -07:00
Alex Yang febeab189d chore: switch tsup to tsdown (#44) 2025-04-18 21:43:59 -07:00
github-actions[bot] d5c64ce538 Version Packages (#42)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-17 21:54:18 -07:00
Alex Yang c2c6ab9640 chore: annotate all exports in package.json (#47) 2025-04-17 17:43:19 -07:00
Alex Yang 4d5ffb9545 feat: add llamaindex bindling (#41) 2025-04-17 14:26:40 -07:00
Alex Yang b57dc2f4a0 ci: fix 2025-04-15 07:26:21 -07:00
Alex Yang ff4b1e1d5d chore: fix package.json 2025-04-15 07:17:50 -07:00
Alex Yang 25d44a245e docs: init fumadocs (#38) 2025-04-15 06:58:22 -07:00
Alex Yang a998e5a6b5 0.3.4 2025-04-14 23:53:17 -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 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 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 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 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 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
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 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