Commit Graph

24 Commits

Author SHA1 Message Date
Alex Yang f92daec7f7 docs: update README.md 2025-04-15 00:36:54 -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 b035902c1c feat: use workflow.substream (#31) 2025-04-07 23:41:27 -07:00
Alex Yang 36c871d117 fix: stream exports (#29) 2025-04-06 00:55:21 -07:00
Alex Yang f969345f9c feat: add stream utilities (#28) 2025-04-06 00:06:40 -07:00
Alex Yang d057a756aa feat: middleware withTraceEvents (#24) 2025-04-05 21:53:15 -07:00
Alex Yang d654b7b476 docs: update 2025-04-03 09:19:39 -07:00
Alex Yang d79737e63a fix: rename to withValidation (#18) 2025-04-03 09:15:12 -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 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 e313291d50 docs: fix type 2025-04-01 01:03:35 -07:00
Alex Yang 7c1b46959a refactor: stream oriented workflow (#6) 2025-04-01 01:02:51 -07:00
Alex Yang 330812598f feat: add zod middleware 2025-03-17 08:51:12 -07:00
Alex Yang f0c51fbab6 docs: update README.md 2025-03-17 08:03:36 -07:00
Alex Yang 1e0332ae7c docs: update README.md 2025-03-16 10:19:47 -07:00
Alex Yang e214fad45e feat: improve hono.js example 2025-03-16 09:52:47 -07:00
Alex Yang d8fe45c914 docs: move README.md 2025-03-15 19:33:42 -04:00
Alex Yang ffd8eac3ee chore: use monorepo 2025-03-15 16:21:45 -04:00
Alex Yang 9fc196fdf8 docs: update README.md 2025-03-15 04:02:41 +00:00
Alex Yang cf9ff4ee29 init repo 2025-03-15 03:51:06 +00:00