[PR #318] [MERGED] chore(deepagents): refactor backend method names - lsInfo -> ls, grepRaw -> grep, globInfo -> glob #354

Closed
opened 2026-06-05 17:22:47 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/deepagentsjs/pull/318
Author: @colifran
Created: 3/17/2026
Status: Merged
Merged: 3/17/2026
Merged by: @colifran

Base: mainHead: colifran/backend-method-name-change


📝 Commits (10+)

📊 Changes

37 files changed (+306 additions, -299 deletions)

View changed files

.changeset/solid-lies-worry.md (+12 -0)
📝 libs/acp/src/acp-filesystem-backend.test.ts (+6 -6)
📝 libs/acp/src/server.test.ts (+3 -3)
📝 libs/deepagents/src/backends/composite.test.ts (+32 -32)
📝 libs/deepagents/src/backends/composite.ts (+12 -12)
📝 libs/deepagents/src/backends/filesystem.test.ts (+18 -18)
📝 libs/deepagents/src/backends/filesystem.ts (+3 -6)
📝 libs/deepagents/src/backends/local-shell.test.ts (+3 -3)
📝 libs/deepagents/src/backends/local-shell.ts (+3 -3)
📝 libs/deepagents/src/backends/protocol.test.ts (+24 -24)
📝 libs/deepagents/src/backends/protocol.ts (+2 -2)
📝 libs/deepagents/src/backends/sandbox.test.ts (+11 -11)
📝 libs/deepagents/src/backends/sandbox.ts (+3 -3)
📝 libs/deepagents/src/backends/state.test.ts (+14 -14)
📝 libs/deepagents/src/backends/state.ts (+3 -3)
📝 libs/deepagents/src/backends/store.test.ts (+15 -15)
📝 libs/deepagents/src/backends/store.ts (+3 -3)
📝 libs/deepagents/src/backends/utils.test.ts (+12 -12)
📝 libs/deepagents/src/backends/utils.ts (+16 -9)
📝 libs/deepagents/src/backends/v2/protocol.ts (+6 -6)

...and 17 more files

📄 Description

Description

Continues backend refactor work by updating the method names on the BackendProtocolV2 interface:

  • lsInfo -> ls
  • grepRaw -> grep
  • globInfo -> glob

Tests

Updated existing unit tests so support updated backend method names.


🔄 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/318 **Author:** [@colifran](https://github.com/colifran) **Created:** 3/17/2026 **Status:** ✅ Merged **Merged:** 3/17/2026 **Merged by:** [@colifran](https://github.com/colifran) **Base:** `main` ← **Head:** `colifran/backend-method-name-change` --- ### 📝 Commits (10+) - [`718240a`](https://github.com/langchain-ai/deepagentsjs/commit/718240a9e5259e1f0c179e0684adf2f7e4807943) update backend protocol interface, types, and utils - [`b65188c`](https://github.com/langchain-ai/deepagentsjs/commit/b65188ccc9370aea6049f0d05427bf5afe82212a) refactor state backend - [`e1d7116`](https://github.com/langchain-ai/deepagentsjs/commit/e1d7116189836d1569b22eda282b7c795c082c70) refactor store backend - [`beb8282`](https://github.com/langchain-ai/deepagentsjs/commit/beb82829055ed53132182747180a63be1d79908d) clean up - [`7a89e4e`](https://github.com/langchain-ai/deepagentsjs/commit/7a89e4e74aac06875055b1ddd30f88014e8a3d99) unit tests - [`af1aee0`](https://github.com/langchain-ai/deepagentsjs/commit/af1aee01e13954abd9cfddfb583f78e05d2e49a3) refactor filesystem - [`c553e6d`](https://github.com/langchain-ai/deepagentsjs/commit/c553e6d18c7aa76efc686f8bef1d003689f79a95) unit tests - [`d99fd90`](https://github.com/langchain-ai/deepagentsjs/commit/d99fd907a9dbb025326b3db6a085612165dc1236) skip binary files in literal search for filesystem backend - [`1239d4a`](https://github.com/langchain-ai/deepagentsjs/commit/1239d4af4b6791001839be948c10088f613b6f73) refactor base sandbox - [`f0fa97f`](https://github.com/langchain-ai/deepagentsjs/commit/f0fa97fe2229e5c73a1db986acd012485d9b54e9) base sandbox unit tests ### 📊 Changes **37 files changed** (+306 additions, -299 deletions) <details> <summary>View changed files</summary> ➕ `.changeset/solid-lies-worry.md` (+12 -0) 📝 `libs/acp/src/acp-filesystem-backend.test.ts` (+6 -6) 📝 `libs/acp/src/server.test.ts` (+3 -3) 📝 `libs/deepagents/src/backends/composite.test.ts` (+32 -32) 📝 `libs/deepagents/src/backends/composite.ts` (+12 -12) 📝 `libs/deepagents/src/backends/filesystem.test.ts` (+18 -18) 📝 `libs/deepagents/src/backends/filesystem.ts` (+3 -6) 📝 `libs/deepagents/src/backends/local-shell.test.ts` (+3 -3) 📝 `libs/deepagents/src/backends/local-shell.ts` (+3 -3) 📝 `libs/deepagents/src/backends/protocol.test.ts` (+24 -24) 📝 `libs/deepagents/src/backends/protocol.ts` (+2 -2) 📝 `libs/deepagents/src/backends/sandbox.test.ts` (+11 -11) 📝 `libs/deepagents/src/backends/sandbox.ts` (+3 -3) 📝 `libs/deepagents/src/backends/state.test.ts` (+14 -14) 📝 `libs/deepagents/src/backends/state.ts` (+3 -3) 📝 `libs/deepagents/src/backends/store.test.ts` (+15 -15) 📝 `libs/deepagents/src/backends/store.ts` (+3 -3) 📝 `libs/deepagents/src/backends/utils.test.ts` (+12 -12) 📝 `libs/deepagents/src/backends/utils.ts` (+16 -9) 📝 `libs/deepagents/src/backends/v2/protocol.ts` (+6 -6) _...and 17 more files_ </details> ### 📄 Description ### Description Continues backend refactor work by updating the method names on the `BackendProtocolV2` interface: - `lsInfo` -> `ls` - `grepRaw` -> `grep` - `globInfo` -> `glob` ### Tests Updated existing unit tests so support updated backend method names. --- <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-06-05 17:22:47 -04:00
yindo closed this issue 2026-06-05 17:22:47 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/deepagentsjs#354