mirror of
https://github.com/run-llama/workflows-ts.git
synced 2026-07-13 21:42:00 -04:00
[PR #3] [MERGED] feat: middleware and util
#18
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/run-llama/workflows-ts/pull/3
Author: @himself65
Created: 3/17/2025
Status: ✅ Merged
Merged: 3/17/2025
Merged by: @himself65
Base:
main← Head:parse📝 Commits (2)
1a60b1ffeat:middlewareandutil21e4f0dfix: bundler📊 Changes
21 files changed (+272 additions, -43 deletions)
View changed files
📝
.gitignore(+1 -0)📝
demo/hono/app.ts(+1 -1)📝
demo/node/file-parse-agent.ts(+1 -1)➕
demo/node/llama-parse-workflow.ts(+13 -0)📝
demo/node/tool-call-agent.ts(+1 -1)📝
demo/package.json(+3 -1)📝
demo/tsconfig.json(+1 -0)📝
demo/workflows/file-parse-agent.ts(+0 -1)➕
demo/workflows/llama-parse-workflow.ts(+86 -0)📝
packages/fluere/package.json(+10 -0)📝
packages/fluere/src/core/event.ts(+6 -2)📝
packages/fluere/src/core/index.ts(+1 -0)📝
packages/fluere/src/middleware/log.ts(+35 -23)➕
packages/fluere/src/middleware/store.ts(+34 -0)➕
packages/fluere/src/util/p-retry.ts(+18 -0)📝
packages/fluere/src/util/zod.ts(+8 -3)📝
packages/fluere/tests/middleware.test.ts(+6 -7)📝
packages/fluere/tests/snapshot.test.ts(+1 -1)📝
packages/fluere/tsconfig.json(+0 -1)📝
packages/fluere/tsup.config.ts(+10 -1)...and 1 more files
📄 Description
Concept
promiseHandlerwill await until reachstopEvent,workflow, will change the behavior of the whole workflow, likeextends class, but it more like the idea from zustandzodEventonly check event with zod schema,pRetryHandlerwill retry a single handler🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.