[PR #138] [MERGED] merge state with snapshot #145

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

📋 Pull Request Information

Original PR: https://github.com/run-llama/workflows-ts/pull/138
Author: @thucpn
Created: 8/18/2025
Status: Merged
Merged: 8/19/2025
Merged by: @thucpn

Base: ms/fix-chainingHead: tp/fix-state-with-snapshot


📝 Commits (10+)

📊 Changes

8 files changed (+485 additions, -484 deletions)

View changed files

📝 CLAUDE.md (+1 -2)
📝 README.md (+12 -0)
📝 demo/node/workflow-with-state.ts (+14 -34)
📝 demo/workflows/human-in-the-loop.ts (+4 -3)
packages/core/src/middleware/snapshot.ts (+0 -390)
📝 packages/core/src/middleware/state.ts (+420 -20)
📝 packages/core/tests/middleware/state-with-snapshot.spec.ts (+12 -26)
📝 packages/core/tests/middleware/with-snapshot.spec.ts (+22 -9)

📄 Description

No description provided


🔄 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/138 **Author:** [@thucpn](https://github.com/thucpn) **Created:** 8/18/2025 **Status:** ✅ Merged **Merged:** 8/19/2025 **Merged by:** [@thucpn](https://github.com/thucpn) **Base:** `ms/fix-chaining` ← **Head:** `tp/fix-state-with-snapshot` --- ### 📝 Commits (10+) - [`f9f3757`](https://github.com/run-llama/workflows-ts/commit/f9f3757235d74362463fd91f5586372aef8cf047) save current state to snapshot - [`9b2073e`](https://github.com/run-llama/workflows-ts/commit/9b2073ec19659580ea2254a5f5b5b7bff7ea1bde) merge snapshot to state - [`1946e70`](https://github.com/run-llama/workflows-ts/commit/1946e707bf4a25c52b499e8d2575fec0d2901381) update name and tests - [`c418024`](https://github.com/run-llama/workflows-ts/commit/c418024686c2ad99c7f45165230d6aa24f830151) remove dead code - [`0f25f40`](https://github.com/run-llama/workflows-ts/commit/0f25f40e685ee65f1b7c93cfb9ab8485fd620c8b) update test - [`35667c0`](https://github.com/run-llama/workflows-ts/commit/35667c0bbd65c1c611d5dbb45e38ae1c5d9b3901) update test - [`3e7c5dd`](https://github.com/run-llama/workflows-ts/commit/3e7c5ddd1f4a14198cfae92c465d40cb9a746197) createContext - [`24c5ecd`](https://github.com/run-llama/workflows-ts/commit/24c5ecd802b51ec7958f1c8e10432bf95586da05) triggers the lazy initialization of the stream wrapper - [`a35e347`](https://github.com/run-llama/workflows-ts/commit/a35e3473479ad94b11fb51194cd22de8f9d38b37) update tests - [`792ffdb`](https://github.com/run-llama/workflows-ts/commit/792ffdbdd45c49843579d6b17667c20abd8dae74) update example ### 📊 Changes **8 files changed** (+485 additions, -484 deletions) <details> <summary>View changed files</summary> 📝 `CLAUDE.md` (+1 -2) 📝 `README.md` (+12 -0) 📝 `demo/node/workflow-with-state.ts` (+14 -34) 📝 `demo/workflows/human-in-the-loop.ts` (+4 -3) ➖ `packages/core/src/middleware/snapshot.ts` (+0 -390) 📝 `packages/core/src/middleware/state.ts` (+420 -20) 📝 `packages/core/tests/middleware/state-with-snapshot.spec.ts` (+12 -26) 📝 `packages/core/tests/middleware/with-snapshot.spec.ts` (+22 -9) </details> ### 📄 Description _No description provided_ --- <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:17 -05:00
yindo closed this issue 2026-02-16 03:16:18 -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#145