Skip to content

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

Merged
Colin Francis (colifran) merged 147 commits intomainfrom
colifran/backend-method-name-change
Mar 18, 2026
Merged

chore(deepagents): refactor backend method names - lsInfo -> ls, grepRaw -> grep, globInfo -> glob#318
Colin Francis (colifran) merged 147 commits intomainfrom
colifran/backend-method-name-change

Conversation

@colifran
Copy link
Copy Markdown
Contributor

@colifran Colin Francis (colifran) commented Mar 17, 2026

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.

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Mar 17, 2026

🦋 Changeset detected

Latest commit: f7e86ef

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 8 packages
Name Type
@langchain/node-vfs Patch
@langchain/quickjs Patch
@deepagents/evals Patch
@langchain/modal Patch
@langchain/deno Patch
@langchain/sandbox-standard-tests Patch
deepagents Minor
deepagents-acp Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@colifran Colin Francis (colifran) changed the base branch from main to colifran/multimodal-refactor March 17, 2026 23:01
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Mar 17, 2026

Open in StackBlitz

npm i https://pkg.pr.new/deepagents-acp@318
npm i https://pkg.pr.new/deepagents@318
npm i https://pkg.pr.new/@langchain/sandbox-standard-tests@318

commit: f7e86ef

@colifran Colin Francis (colifran) force-pushed the colifran/multimodal-refactor branch from c564a9d to acfced7 Compare March 17, 2026 23:51
@colifran Colin Francis (colifran) force-pushed the colifran/backend-method-name-change branch 2 times, most recently from b9c42cd to 814758c Compare March 18, 2026 00:06
@colifran Colin Francis (colifran) force-pushed the colifran/multimodal-refactor branch from acfced7 to 3e99885 Compare March 18, 2026 01:58
Base automatically changed from colifran/multimodal-refactor to main March 18, 2026 02:06
@colifran Colin Francis (colifran) force-pushed the colifran/backend-method-name-change branch from fe6fc59 to 4ff7ef5 Compare March 18, 2026 02:08
@colifran Colin Francis (colifran) merged commit a5ba74e into main Mar 18, 2026
15 checks passed
@colifran Colin Francis (colifran) deleted the colifran/backend-method-name-change branch March 18, 2026 02:17
@github-actions github-actions bot mentioned this pull request Mar 18, 2026
Colin Francis (colifran) added a commit that referenced this pull request Mar 24, 2026
…`grepRaw` -> `grep`, `globInfo` -> `glob` (#318)

* update backend protocol interface, types, and utils

* refactor state backend

* refactor store backend

* clean up

* unit tests

* refactor filesystem

* unit tests

* skip binary files in literal search for filesystem backend

* refactor base sandbox

* base sandbox unit tests

* refactor local shell backend

* refactor composite backend

* composite and local shell backend changes

* refactor fs middleware

* unit tests and fixed issue where createFileData was removed - this would be breaking

* refactor acp filesystem backend

* backend protocol v2

* simplify createFileData

* docstrings

* adapt backend protocol tests

* sandbox protocol v2

* format

* standard tests

* fix tests

* fix tests

* fix tests

* fix node vfs

* lint fix

* empty commit

* fix download files to handle binary

* any backend protocol

* lint

* make backend protocol v2 extend backend protocol

* make backend unknown type for is sandbox backend check

* add changeset

* add max binary file size

* add svg

* separate v1 and v2

* format

* lint

* format

* update glob, ls, read raw return types

* unit test fixes

* fix tests

* restore standard-tests package

* fix integ tests - make standard-tests backward compatible

* remove deleted sandbox adapter

* standard-test refactor for backwards compat

* linting

* fix tests

* type guards and improved guard checks

* store mime type with v2 file data

* make explicit v1 types

* fix locall shell int types

* fix bug

* edge case

* update providers

* lint

* fix repl

* read raw tests

* support string or unint8arrays

* clean comments, docstrings, and fix issue where we were throwing a string

* don't re-wrap uint8arrays

* clean up test names

* fix quickjs

* poison pill and uint8array issues

* add back video and audio support

* bump langgraph-checkpoint version for json plus serializer changes

* fix lock after merge with main

* remove explicit cast

* use instance of Uint8Array for FileDataV2 schema

* update changeset

* update backend protocol interface, types, and utils

* refactor state backend

* refactor store backend

* clean up

* unit tests

* refactor filesystem

* unit tests

* skip binary files in literal search for filesystem backend

* refactor base sandbox

* base sandbox unit tests

* refactor local shell backend

* refactor composite backend

* composite and local shell backend changes

* refactor fs middleware

* unit tests and fixed issue where createFileData was removed - this would be breaking

* refactor acp filesystem backend

* backend protocol v2

* simplify createFileData

* docstrings

* adapt backend protocol tests

* sandbox protocol v2

* format

* standard tests

* fix tests

* fix tests

* fix tests

* fix node vfs

* lint fix

* empty commit

* fix download files to handle binary

* any backend protocol

* lint

* make backend protocol v2 extend backend protocol

* make backend unknown type for is sandbox backend check

* add changeset

* add max binary file size

* add svg

* separate v1 and v2

* format

* lint

* format

* update glob, ls, read raw return types

* unit test fixes

* fix tests

* restore standard-tests package

* fix integ tests - make standard-tests backward compatible

* remove deleted sandbox adapter

* standard-test refactor for backwards compat

* linting

* fix tests

* type guards and improved guard checks

* store mime type with v2 file data

* make explicit v1 types

* fix locall shell int types

* fix bug

* edge case

* update providers

* lint

* fix repl

* read raw tests

* support string or unint8arrays

* clean comments, docstrings, and fix issue where we were throwing a string

* don't re-wrap uint8arrays

* clean up test names

* fix quickjs

* poison pill and uint8array issues

* add back video and audio support

* bump langgraph-checkpoint version for json plus serializer changes

* fix lock after merge with main

* remove explicit cast

* use instance of Uint8Array for FileDataV2 schema

* refactor backend methods

* add changeset

* changesets

* regen lock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants