Repository navigation
Commit 8dfe78a
authored
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
File tree
- .changeset
- libs
- acp
- deepagents
- providers/quickjs
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
3 | 10 | | |
4 | 11 | | |
5 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
3 | 21 | | |
4 | 22 | | |
5 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
3 | 17 | | |
4 | 18 | | |
5 | 19 | | |
| |||
0 commit comments