[PR #66] [MERGED] feat: add readRaw method to filesystem backend protocol #95

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/66
Author: @dqbd
Created: 11/24/2025
Status: Merged
Merged: 11/25/2025
Merged by: @dqbd

Base: mainHead: dqbd/read-raw-filesystem-backend


📝 Commits (1)

  • 73445c2 feat: add readRaw method to filesystem backend protocol

📊 Changes

12 files changed (+381 additions, -89 deletions)

View changed files

.changeset/young-papers-thank.md (+5 -0)
📝 examples/backends/store-backend.ts (+5 -9)
📝 examples/research/research-agent.ts (+1 -0)
📝 package.json (+2 -2)
📝 pnpm-lock.yaml (+10 -26)
📝 src/backends/composite.ts (+12 -0)
📝 src/backends/filesystem.ts (+41 -0)
📝 src/backends/protocol.ts (+8 -0)
📝 src/backends/state.ts (+14 -0)
📝 src/backends/store.ts (+16 -9)
📝 src/middleware/fs.ts (+111 -38)
📝 tests/unit/backends/filesystem.test.ts (+156 -5)

📄 Description

Tools such as backend.read is not sufficient if the user intends to just read the file directly (either via a tool or via a middleware hook), since the result of backend.read includes a line number column.

Also: upgrades @langchain/tavily to 1.x to avoid very slow Intellisense perf


🔄 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/66 **Author:** [@dqbd](https://github.com/dqbd) **Created:** 11/24/2025 **Status:** ✅ Merged **Merged:** 11/25/2025 **Merged by:** [@dqbd](https://github.com/dqbd) **Base:** `main` ← **Head:** `dqbd/read-raw-filesystem-backend` --- ### 📝 Commits (1) - [`73445c2`](https://github.com/langchain-ai/deepagentsjs/commit/73445c2b83501140ee52230d8785af0767b59310) feat: add readRaw method to filesystem backend protocol ### 📊 Changes **12 files changed** (+381 additions, -89 deletions) <details> <summary>View changed files</summary> ➕ `.changeset/young-papers-thank.md` (+5 -0) 📝 `examples/backends/store-backend.ts` (+5 -9) 📝 `examples/research/research-agent.ts` (+1 -0) 📝 `package.json` (+2 -2) 📝 `pnpm-lock.yaml` (+10 -26) 📝 `src/backends/composite.ts` (+12 -0) 📝 `src/backends/filesystem.ts` (+41 -0) 📝 `src/backends/protocol.ts` (+8 -0) 📝 `src/backends/state.ts` (+14 -0) 📝 `src/backends/store.ts` (+16 -9) 📝 `src/middleware/fs.ts` (+111 -38) 📝 `tests/unit/backends/filesystem.test.ts` (+156 -5) </details> ### 📄 Description Tools such as `backend.read` is not sufficient if the user intends to just read the file directly (either via a tool or via a middleware hook), since the result of `backend.read` includes a line number column. Also: upgrades `@langchain/tavily` to 1.x to avoid very slow Intellisense perf --- <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#95