mirror of
https://github.com/run-llama/workflows-ts.git
synced 2026-07-16 05:31:48 -04:00
[PR #15] [MERGED] feat: workflow middleware system #29
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/15
Author: @himself65
Created: 4/3/2025
Status: ✅ Merged
Merged: 4/3/2025
Merged by: @himself65
Base:
main← Head:store📝 Commits (6)
7f99a6ffeat: middleware systemc0f0f65fix: void844cae0feat:withDirectedGraphb35f9f3docs: update73d1f8etest: update01f03390.3.0-alpha.3📊 Changes
13 files changed (+323 additions, -53 deletions)
View changed files
📝
README.md(+57 -0)📝
demo/workflows/llama-parse-workflow.ts(+4 -3)📝
packages/fluere/package.json(+1 -1)📝
packages/fluere/src/core/event.ts(+16 -14)📝
packages/fluere/src/core/index.ts(+1 -1)📝
packages/fluere/src/core/internal/context.ts(+15 -4)📝
packages/fluere/src/core/internal/executor.ts(+41 -23)📝
packages/fluere/src/core/workflow.ts(+2 -2)➕
packages/fluere/src/middleware/directed-graph.ts(+112 -0)📝
packages/fluere/src/middleware/store.ts(+25 -4)📝
packages/fluere/src/util/zod.ts(+1 -1)➕
packages/fluere/tests/with-directed-graph.spec.ts(+47 -0)📝
packages/fluere/tsconfig.json(+1 -0)📄 Description
Middleware
withStorewithDirectedGraphmake first parameter of
handlerto besendEventand its type safe and runtime safe when you create a workflow withdirectedGraph.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.