@robota-sdk/agent-cli 3.0.0-beta.96 → 3.0.0-beta.99
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -0
- package/dist/node/bin.js +8 -8
- package/dist/node/{cli-core-5TE9Su2X.js → cli-core-CrauPvKn.js} +303 -303
- package/dist/node/desktop-host.js +1 -1
- package/dist/node/headless.js +1 -1
- package/dist/node/host.d.ts +1 -1
- package/dist/node/host.js +1 -1
- package/dist/node/index.d.ts +1 -1
- package/dist/node/index.js +1 -1
- package/dist/node/{node-DGWhhU6X.js → node-BIcfIxK2.js} +2 -2
- package/dist/node/{node-DGWhhU6X.js.map → node-BIcfIxK2.js.map} +1 -1
- package/dist/node/{node-Dr_K99X7.js → node-BRvqhy29.js} +23 -23
- package/dist/node/{node-Dr_K99X7.js.map → node-BRvqhy29.js.map} +1 -1
- package/dist/node/node-BTKWbzr0.js +15 -0
- package/dist/node/node-BZfTvzcV.js +15 -0
- package/dist/node/node-BZfTvzcV.js.map +1 -0
- package/dist/node/{node-_t9QegIz.js → node-CI_NCC-t.js} +1 -1
- package/dist/node/{node-DsYjDBKf.js → node-zABT8WBL.js} +22 -22
- package/dist/node/{product-host-BACfuTu4.d.ts → product-host-DYR8lHfh.d.ts} +16 -4
- package/dist/node/product-host-DYR8lHfh.d.ts.map +1 -0
- package/dist/node/{product-host-Df14iHe8.js → product-host-DmP4TgQl.js} +350 -350
- package/dist/node/product-host-DmP4TgQl.js.map +1 -0
- package/dist/web/assets/{index-TR2EIAJ9.js → index-2GhVGsHN.js} +30 -30
- package/dist/web/index.html +1 -1
- package/package.json +38 -38
- package/dist/node/node-BBey07fn.js +0 -15
- package/dist/node/node-BBey07fn.js.map +0 -1
- package/dist/node/node-Bxcf0vqP.js +0 -15
- package/dist/node/product-host-BACfuTu4.d.ts.map +0 -1
- package/dist/node/product-host-Df14iHe8.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,52 @@
|
|
|
1
1
|
# @robota-sdk/agent-cli
|
|
2
2
|
|
|
3
|
+
## 3.0.0-beta.99
|
|
4
|
+
|
|
5
|
+
## 3.0.0-beta.98
|
|
6
|
+
|
|
7
|
+
## 3.0.0-beta.97
|
|
8
|
+
### Minor Changes
|
|
9
|
+
|
|
10
|
+
- 0d43f37: **An editor can reopen an earlier conversation over ACP and offer the agent's slash commands.**
|
|
11
|
+
|
|
12
|
+
`@robota-sdk/agent-transport-acp` sends `available_commands_update` once the editor holds the session
|
|
13
|
+
id — the runtime's commands and the user-invocable skills, each with its argument hint — and again
|
|
14
|
+
after a prompt that changed the list (a plugin reload, a preset). A host can supply `loadSession`;
|
|
15
|
+
the agent then offers `session/load`, checks it exactly like `session/new` (the served directory, no
|
|
16
|
+
editor MCP servers or extra roots, workspace trust), refuses it while a prompt runs, and replays the
|
|
17
|
+
loaded conversation — what was typed, what the agent answered, and each finished tool call, a reused
|
|
18
|
+
call id getting a row of its own — before it answers. The port makes the stored session current in
|
|
19
|
+
the object the transport was attached to, so a host attaches a forwarder such as a session slot.
|
|
20
|
+
The published narrow `IAcpTransportSession` contract remains supported: command listing and history
|
|
21
|
+
display reads are optional capabilities. Loading is offered only with both the host port and the
|
|
22
|
+
history read, so a session cannot be replaced without replaying its conversation.
|
|
23
|
+
|
|
24
|
+
`robota acp` supplies the load: the editor may load a stored session of the folder it serves that
|
|
25
|
+
this version can read, and the agent replaces its session with it and shuts the old one down. A load
|
|
26
|
+
is refused while the current session has work in progress, and for a stored session with an active
|
|
27
|
+
goal, a live loop or a schedule that restore would re-arm to fire, which would otherwise run unseen
|
|
28
|
+
by the editor. With `--no-session-persistence` nothing is stored, so loading is not offered.
|
|
29
|
+
|
|
30
|
+
### Patch Changes
|
|
31
|
+
|
|
32
|
+
- e5a4254: **An editor that offers its file system carries the file tools' reads and writes.**
|
|
33
|
+
|
|
34
|
+
`Read`, `Write` and `Edit` take an optional `editorFiles` port (`IEditorFileAccess`), asked at each
|
|
35
|
+
call. On the host, after the tool's containment check (the permission gate has already decided),
|
|
36
|
+
`Read` returns the editor's text, unsaved changes included, and `Write` hands the content to the
|
|
37
|
+
editor; `Edit` reads where `Read` reads and writes where `Write` writes. The editor's text keeps
|
|
38
|
+
`Read`'s byte budget, binary refusal, formatting and cancellation, and an editor failure becomes the
|
|
39
|
+
tool's error result. `Glob` and `Grep` still search the disk and end their result with a note saying
|
|
40
|
+
so while an editor is attached. A sandbox with its own filesystem still carries every file tool, and
|
|
41
|
+
commands never use the editor. `createDefaultTools` and `createCodingPack` pass `editorFiles` through
|
|
42
|
+
to those tools only.
|
|
43
|
+
|
|
44
|
+
The ACP agent transport records the editor's `clientCapabilities.fs` and, once `session/new` binds the
|
|
45
|
+
session, hands the host an access through the new `onEditorFileAccess` option that sends
|
|
46
|
+
`fs/read_text_file` and `fs/write_text_file` for that session, for what the editor offered; stopping
|
|
47
|
+
the transport withdraws it. `robota acp` connects the two, so Read, Write and Edit go through the
|
|
48
|
+
editor in an editor that offers `fs`; `terminal/*` is not used.
|
|
49
|
+
|
|
3
50
|
## 3.0.0-beta.96
|
|
4
51
|
### Minor Changes
|
|
5
52
|
|