14 Commits

Author SHA1 Message Date
Alex Yang 2a45a68403 feat: use TLA 2025-04-19 14:42:51 -07:00
Alex Yang b49aac8605 feat: update example 2025-04-19 14:39:53 -07:00
Alex Yang 50c76a855f fix: sample 2025-04-19 14:32:05 -07:00
Alex Yang 7f88b4dd39 feat(demo): add basic.ts 2025-04-19 14:22:43 -07:00
Alex Yang 6baccd5db8 refactor: rename repo to @llama-flow/core (#37) 2025-04-14 23:51:31 -07:00
Alex Yang 36c871d117 fix: stream exports (#29) 2025-04-06 00:55:21 -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 a87d9e778a feat(middleware): support mcp tool (#4) 2025-04-01 02:22:35 -07:00
Alex Yang 7c1b46959a refactor: stream oriented workflow (#6) 2025-04-01 01:02:51 -07:00
Alex Yang de2ae3fbb1 feat: middleware and util (#3)
- Interrupter decices how to run a workflow, like `promiseHandler` will
await until reach `stopEvent`,
- Middleware is the wrapper of the `workflow`, will change the behavior
of the whole workflow, like `extends class`, but it more like the idea
from [zustand](https://github.com/pmndrs/zustand)
- Util is smaller piece of the functions, like `zodEvent` only check
event with zod schema, `pRetryHandler` will retry a single handler
2025-03-17 10:35:51 -07:00
Alex Yang 72d6c99156 feat: add middleware 2025-03-17 08:03:36 -07:00
Alex Yang e214fad45e feat: improve hono.js example 2025-03-16 09:52:47 -07:00
Alex Yang 74c001cf57 feat: add auto-reference check & multi-tasking fix (#1) 2025-03-16 09:35:23 -07:00
Alex Yang 8f0515d9e6 fix: call event multiple time 2025-03-15 21:11:40 -07:00