[PR #63] [CLOSED] fix: File state loss during multiple file operations #94

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/deepagentsjs/pull/63
Author: @janpawellek
Created: 11/18/2025
Status: Closed

Base: mainHead: main


📝 Commits (1)

  • bc36034 fix: File state loss during multiple file operations

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 src/backends/state.ts (+2 -2)

📄 Description

Fixes #60

When tools that update files (like write_file or edit_file) were called, the new state in "files" only contained the most recently edited file. All other previously existing files disappeared from the state.


🔄 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/langchain-ai/deepagentsjs/pull/63 **Author:** [@janpawellek](https://github.com/janpawellek) **Created:** 11/18/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`bc36034`](https://github.com/langchain-ai/deepagentsjs/commit/bc36034a910fc79401dea49f8ef5c51e500c4fab) fix: File state loss during multiple file operations ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/backends/state.ts` (+2 -2) </details> ### 📄 Description Fixes #60 When tools that update files (like `write_file` or `edit_file`) were called, the new state in "files" only contained the most recently edited file. All other previously existing files disappeared from the state. --- <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 06:17:08 -05:00
yindo closed this issue 2026-02-16 06:17:08 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/deepagentsjs#94