Skip to content

Commit 8dfe78a

Browse files
chore: version packages (#1050)
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## deepagents-acp@0.1.42 ### Patch Changes - Updated dependencies [[`a7cb900`](a7cb900), [`b9501d4`](b9501d4), [`cca721d`](cca721d), [`2a9144b`](2a9144b)]: - deepagents@1.16.5 ## deepagents@1.16.5 ### Patch Changes - [#1046](#1046) [`a7cb900`](a7cb900) Thanks [@hntrl](https://github.com/hntrl)! - fix(deepagents): bind filesystem permission decisions to the target the operation uses `read_file`, `write_file`, `edit_file` and `delete` now run on the resolved path that was checked, and refuse a path whose symlinks resolve into a different `CompositeBackend` route. On Linux, `FilesystemBackend` also holds the parent directory open and makes the final decision on its real location, so swapping a symlink or directory after the check cannot reach a denied target. - [#1051](#1051) [`b9501d4`](b9501d4) Thanks [@byhow](https://github.com/byhow)! - fix(deepagents): stop `FilesystemBackend.downloadFiles` hanging on a FIFO `downloadFiles` opens files without blocking and reports `file_not_found` for anything that is not a regular file or directory, so a FIFO no longer hangs the call and a device such as `/dev/zero` is no longer read without limit. - [#1000](#1000) [`cca721d`](cca721d) Thanks [@byhow](https://github.com/byhow)! - Widen the `langsmith` peer range to `>=0.11.0 <1.0.0`, the range `langchain` 1.6 requires. The old range, `>=0.7.1 <0.10.0`, failed strict peer installs next to `langchain` 1.6 and let an install hold two `langsmith` copies. - [#1037](#1037) [`2a9144b`](2a9144b) Thanks [@richardscarrott](https://github.com/richardscarrott)! - feat(deepagents): record the subagent's checkpoint namespace on the `task` tool message The `task` tool's `ToolMessage` carries `artifact: { checkpoint_ns }`, the checkpoint namespace the subagent saved under. A client can load a finished subagent's history from that namespace instead of scanning the thread's history. ## @langchain/quickjs@0.6.7 ### Patch Changes - [#1041](#1041) [`f99c97f`](f99c97f) Thanks [@vasanimit9](https://github.com/vasanimit9)! - fix(quickjs): count only JS execution against `executionTimeoutMs` The per-eval budget now counts only time spent running JavaScript, as the Python middleware's `timeout` does. Time spent awaiting `tools.*` or `task()` no longer counts, so an eval that awaits slow tools no longer fails with "Promise timed out — execution interrupted" while a runaway synchronous loop is still interrupted. An eval awaiting a promise that nothing can settle now fails immediately instead of waiting out the budget. `executionTimeoutMs` therefore no longer bounds an eval's total wall-clock time: time spent awaiting slow tools is uncapped. Host calls are now scoped to the eval that started them, as in the Python middleware. An eval waits for `tools.*` and `task()` calls it started but did not await before returning, and that wait is not counted against the budget. When an eval rejects or runs out of budget, calls still in flight are detached: their results are dropped instead of resuming guest code during a later eval. Evals on one session now run one at a time, since they share its globals, budget and host calls. An eval from a subagent that the same session's `task()` is waiting on fails fast with a "REPL session busy" error instead of waiting for itself. The middleware recognises it from the session key its `task()` dispatch adds to `configurable`. Other concurrent evals queue. An eval queued before the session is disposed fails instead of starting a new runtime. Disposing a session no longer aborts the shared WASM module (`Assertion failed: list_empty(&rt->gc_obj_list) … JS_FreeRuntime`), after which every later `tools.*` call in the process returned `undefined`. The session now frees everything it holds before the runtime: the exception `executePendingJobs` returns when a job is interrupted, the promise of any host call still in flight, and the promise of an eval that is still running, which then ends with a "Session disposed" error. Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 2a9144b commit 8dfe78a

11 files changed

Lines changed: 42 additions & 42 deletions

‎.changeset/bind-permission-resolved-target.md‎

Lines changed: 0 additions & 7 deletions
This file was deleted.

‎.changeset/download-files-fifo.md‎

Lines changed: 0 additions & 7 deletions
This file was deleted.

‎.changeset/langsmith-peer-range.md‎

Lines changed: 0 additions & 5 deletions
This file was deleted.

‎.changeset/quickjs-execution-budget.md‎

Lines changed: 0 additions & 13 deletions
This file was deleted.

‎.changeset/task-checkpoint-ns-artifact.md‎

Lines changed: 0 additions & 7 deletions
This file was deleted.

‎libs/acp/CHANGELOG.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# deepagents-acp
22

3+
## 0.1.42
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`a7cb900`](https://github.com/langchain-ai/deepagentsjs/commit/a7cb90020ca886a533279774b1b7d9ee110060bf), [`b9501d4`](https://github.com/langchain-ai/deepagentsjs/commit/b9501d4824e424d31e9786273e674a8f51243019), [`cca721d`](https://github.com/langchain-ai/deepagentsjs/commit/cca721d0289ca0f9eb1c483e2cbff1bc7dc07b81), [`2a9144b`](https://github.com/langchain-ai/deepagentsjs/commit/2a9144b4ceb801936e217037483020542bc1a937)]:
8+
- deepagents@1.16.5
9+
310
## 0.1.41
411

512
### Patch Changes

‎libs/acp/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "deepagents-acp",
3-
"version": "0.1.41",
3+
"version": "0.1.42",
44
"description": "ACP (Agent Client Protocol) server for DeepAgents - enables IDE integration with Zed, JetBrains, and other ACP clients",
55
"main": "./dist/index.cjs",
66
"module": "./dist/index.js",

‎libs/deepagents/CHANGELOG.md‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# deepagents
22

3+
## 1.16.5
4+
5+
### Patch Changes
6+
7+
- [#1046](https://github.com/langchain-ai/deepagentsjs/pull/1046) [`a7cb900`](https://github.com/langchain-ai/deepagentsjs/commit/a7cb90020ca886a533279774b1b7d9ee110060bf) Thanks [@hntrl](https://github.com/hntrl)! - fix(deepagents): bind filesystem permission decisions to the target the operation uses
8+
9+
`read_file`, `write_file`, `edit_file` and `delete` now run on the resolved path that was checked, and refuse a path whose symlinks resolve into a different `CompositeBackend` route. On Linux, `FilesystemBackend` also holds the parent directory open and makes the final decision on its real location, so swapping a symlink or directory after the check cannot reach a denied target.
10+
11+
- [#1051](https://github.com/langchain-ai/deepagentsjs/pull/1051) [`b9501d4`](https://github.com/langchain-ai/deepagentsjs/commit/b9501d4824e424d31e9786273e674a8f51243019) Thanks [@byhow](https://github.com/byhow)! - fix(deepagents): stop `FilesystemBackend.downloadFiles` hanging on a FIFO
12+
13+
`downloadFiles` opens files without blocking and reports `file_not_found` for anything that is not a regular file or directory, so a FIFO no longer hangs the call and a device such as `/dev/zero` is no longer read without limit.
14+
15+
- [#1000](https://github.com/langchain-ai/deepagentsjs/pull/1000) [`cca721d`](https://github.com/langchain-ai/deepagentsjs/commit/cca721d0289ca0f9eb1c483e2cbff1bc7dc07b81) Thanks [@byhow](https://github.com/byhow)! - Widen the `langsmith` peer range to `>=0.11.0 <1.0.0`, the range `langchain` 1.6 requires. The old range, `>=0.7.1 <0.10.0`, failed strict peer installs next to `langchain` 1.6 and let an install hold two `langsmith` copies.
16+
17+
- [#1037](https://github.com/langchain-ai/deepagentsjs/pull/1037) [`2a9144b`](https://github.com/langchain-ai/deepagentsjs/commit/2a9144b4ceb801936e217037483020542bc1a937) Thanks [@richardscarrott](https://github.com/richardscarrott)! - feat(deepagents): record the subagent's checkpoint namespace on the `task` tool message
18+
19+
The `task` tool's `ToolMessage` carries `artifact: { checkpoint_ns }`, the checkpoint namespace the subagent saved under. A client can load a finished subagent's history from that namespace instead of scanning the thread's history.
20+
321
## 1.16.4
422

523
### Patch Changes

‎libs/deepagents/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "deepagents",
3-
"version": "1.16.4",
3+
"version": "1.16.5",
44
"description": "Deep Agents - a library for building controllable AI agents with LangGraph",
55
"main": "./dist/index.cjs",
66
"module": "./dist/index.js",

‎libs/providers/quickjs/CHANGELOG.md‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# @langchain/quickjs
22

3+
## 0.6.7
4+
5+
### Patch Changes
6+
7+
- [#1041](https://github.com/langchain-ai/deepagentsjs/pull/1041) [`f99c97f`](https://github.com/langchain-ai/deepagentsjs/commit/f99c97f13279aae4d5fb56694cc05a30982df5d3) Thanks [@vasanimit9](https://github.com/vasanimit9)! - fix(quickjs): count only JS execution against `executionTimeoutMs`
8+
9+
The per-eval budget now counts only time spent running JavaScript, as the Python middleware's `timeout` does. Time spent awaiting `tools.*` or `task()` no longer counts, so an eval that awaits slow tools no longer fails with "Promise timed out — execution interrupted" while a runaway synchronous loop is still interrupted. An eval awaiting a promise that nothing can settle now fails immediately instead of waiting out the budget.
10+
11+
`executionTimeoutMs` therefore no longer bounds an eval's total wall-clock time: time spent awaiting slow tools is uncapped.
12+
13+
Host calls are now scoped to the eval that started them, as in the Python middleware. An eval waits for `tools.*` and `task()` calls it started but did not await before returning, and that wait is not counted against the budget. When an eval rejects or runs out of budget, calls still in flight are detached: their results are dropped instead of resuming guest code during a later eval. Evals on one session now run one at a time, since they share its globals, budget and host calls. An eval from a subagent that the same session's `task()` is waiting on fails fast with a "REPL session busy" error instead of waiting for itself. The middleware recognises it from the session key its `task()` dispatch adds to `configurable`. Other concurrent evals queue. An eval queued before the session is disposed fails instead of starting a new runtime.
14+
15+
Disposing a session no longer aborts the shared WASM module (`Assertion failed: list_empty(&rt->gc_obj_list) … JS_FreeRuntime`), after which every later `tools.*` call in the process returned `undefined`. The session now frees everything it holds before the runtime: the exception `executePendingJobs` returns when a job is interrupted, the promise of any host call still in flight, and the promise of an eval that is still running, which then ends with a "Session disposed" error.
16+
317
## 0.6.6
418

519
### Patch Changes

0 commit comments

Comments
 (0)