[PR #95] [MERGED] feat: add createStatefulMiddleware API #103

Closed
opened 2026-02-16 03:16:11 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/run-llama/workflows-ts/pull/95
Author: @himself65
Created: 4/30/2025
Status: Merged
Merged: 4/30/2025
Merged by: @himself65

Base: mainHead: with-store-v2


📝 Commits (10+)

📊 Changes

15 files changed (+353 additions, -203 deletions)

View changed files

.changeset/hip-bags-walk.md (+65 -0)
📝 README.md (+22 -11)
📝 demo/node/file-parse-promise.ts (+9 -6)
📝 demo/node/mcp-file-parse-tool.ts (+2 -2)
📝 demo/workflows/file-parse-agent.ts (+10 -10)
📝 demo/workflows/llama-parse-workflow.ts (+6 -6)
📝 docs/llamaflow/basic-workflow.mdx (+50 -42)
📝 packages/core/jsr.json (+1 -1)
📝 packages/core/package.json (+3 -3)
packages/core/src/middleware/state.ts (+68 -0)
📝 packages/core/src/middleware/store.ts (+61 -68)
📝 packages/core/tests/middleware/full-workflow.spec.ts (+9 -8)
packages/core/tests/middleware/with-state.spec.ts (+39 -0)
packages/core/tests/middleware/with-store.spec.ts (+0 -37)
📝 packages/llamaindex/src/index.ts (+8 -9)

📄 Description

/cc @marcusschiesser


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/run-llama/workflows-ts/pull/95 **Author:** [@himself65](https://github.com/himself65) **Created:** 4/30/2025 **Status:** ✅ Merged **Merged:** 4/30/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `main` ← **Head:** `with-store-v2` --- ### 📝 Commits (10+) - [`f2c49ff`](https://github.com/run-llama/workflows-ts/commit/f2c49ffd9d01a3077253db686af68179307d566d) feat: add `createStoreMiddleware` API - [`4ece138`](https://github.com/run-llama/workflows-ts/commit/4ece138d5d0ce2638217cad466b7e782f830bdc7) Create hip-bags-walk.md - [`d1569e4`](https://github.com/run-llama/workflows-ts/commit/d1569e4a86927deab35f90ec581d2c5b3d3269eb) chore: lint fix - [`4399ade`](https://github.com/run-llama/workflows-ts/commit/4399adeb1c614655f72bc265a48c80ea8ae9f9fd) chore: lint fix - [`acff122`](https://github.com/run-llama/workflows-ts/commit/acff12288c25a3de299cc2daacfa278887264dd4) fix: test - [`117eff7`](https://github.com/run-llama/workflows-ts/commit/117eff7672a3f7b820e9d9ccbeb794a63029efa5) refactor: rename API - [`e73827b`](https://github.com/run-llama/workflows-ts/commit/e73827b0448c12f05b72cdb236cda4e6cc488a5c) chore: update changeset - [`784bfb5`](https://github.com/run-llama/workflows-ts/commit/784bfb5123dfc3163ee873bdad5726bd2edc074a) fix: api change - [`f85b3cd`](https://github.com/run-llama/workflows-ts/commit/f85b3cda5531c41d43e00cfb41cd945b0a3c9f25) fix: type change - [`fc9fc06`](https://github.com/run-llama/workflows-ts/commit/fc9fc0696c725b85d7b3060fe570096a12020f2f) fix: remove unused ### 📊 Changes **15 files changed** (+353 additions, -203 deletions) <details> <summary>View changed files</summary> ➕ `.changeset/hip-bags-walk.md` (+65 -0) 📝 `README.md` (+22 -11) 📝 `demo/node/file-parse-promise.ts` (+9 -6) 📝 `demo/node/mcp-file-parse-tool.ts` (+2 -2) 📝 `demo/workflows/file-parse-agent.ts` (+10 -10) 📝 `demo/workflows/llama-parse-workflow.ts` (+6 -6) 📝 `docs/llamaflow/basic-workflow.mdx` (+50 -42) 📝 `packages/core/jsr.json` (+1 -1) 📝 `packages/core/package.json` (+3 -3) ➕ `packages/core/src/middleware/state.ts` (+68 -0) 📝 `packages/core/src/middleware/store.ts` (+61 -68) 📝 `packages/core/tests/middleware/full-workflow.spec.ts` (+9 -8) ➕ `packages/core/tests/middleware/with-state.spec.ts` (+39 -0) ➖ `packages/core/tests/middleware/with-store.spec.ts` (+0 -37) 📝 `packages/llamaindex/src/index.ts` (+8 -9) </details> ### 📄 Description /cc @marcusschiesser --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 03:16:11 -05:00
yindo closed this issue 2026-02-16 03:16:11 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/workflows-ts#103