gaunt-sloth 2.0.0-alpha.38 → 2.0.0-alpha.39
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/README.md +20 -1
- package/cli.js +4 -3
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -63,7 +63,26 @@ For full usage documentation see the [root README](https://github.com/pukeko-rob
|
|
|
63
63
|
can drive Gaunt Sloth as its coding agent. Point the editor's agent configuration at either
|
|
64
64
|
command; it needs no arguments.
|
|
65
65
|
|
|
66
|
-
**ACP v2
|
|
66
|
+
**Both ACP v1 and ACP v2 are served**, and the version is taken from the host's own `initialize` —
|
|
67
|
+
there is nothing to configure. v1 is the stable protocol every shipping ACP editor uses today, Zed
|
|
68
|
+
included; v2 is a draft.
|
|
69
|
+
|
|
70
|
+
**An ACP session runs as a coding session.** It resolves under the `code` command, so it takes its
|
|
71
|
+
filesystem access, approvals posture and tools from your `commands.code` config: it can run shell
|
|
72
|
+
commands, and it can edit and delete files in the directory the session was opened on.
|
|
73
|
+
|
|
74
|
+
At the default approvals rung, `assisted`, the gate holds only the **shell** — a command it does not
|
|
75
|
+
clear reaches the editor as a permission request. **File changes are not prompted:** the agent
|
|
76
|
+
rewrites and deletes files in that directory without asking. `manual` is the rung that sends the
|
|
77
|
+
file tools to the editor as well — set `"approvals": "manual"` under `commands.code` to scope that
|
|
78
|
+
to editor sessions, or at the root to apply it everywhere. For a read-only editor agent instead, set
|
|
79
|
+
the mode:
|
|
80
|
+
|
|
81
|
+
```json
|
|
82
|
+
{ "acp": { "mode": "chat" } }
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
which resolves the session under `commands.chat` instead — read-only filesystem, no shell.
|
|
67
86
|
|
|
68
87
|
Files you attach to a message — an @-mention in Zed — reach the agent as a link it can open with its
|
|
69
88
|
file tools. Images and audio are not accepted; if a host sends them anyway the agent says so in its
|
package/cli.js
CHANGED
|
@@ -11,9 +11,10 @@ process.on('warning', (warning) => {
|
|
|
11
11
|
|
|
12
12
|
// --- ACP server ------------------------------------------------------------
|
|
13
13
|
// `gaunt-sloth --acp-agent` is the ACP (Agent Client Protocol) door into the fat
|
|
14
|
-
// `gaunt-sloth` package. It serves ACP
|
|
15
|
-
// the standalone `gaunt-sloth-acp` bin, so
|
|
16
|
-
// differently
|
|
14
|
+
// `gaunt-sloth` package. It serves ACP over stdio — v1 or v2, whichever the host
|
|
15
|
+
// asks for — through the SAME startup as the standalone `gaunt-sloth-acp` bin, so
|
|
16
|
+
// the two doors cannot behave differently, including the redirect that keeps
|
|
17
|
+
// stdout free for JSON-RPC.
|
|
17
18
|
//
|
|
18
19
|
// The switch is handled here rather than left to fall through to the normal CLI,
|
|
19
20
|
// which would answer an ACP host with a chat session on stdout and hang it.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gaunt-sloth",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.39",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Andrew Kondratev",
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
"@langchain/xai": "^1.4.6",
|
|
45
45
|
"commander": "^15.0.0",
|
|
46
46
|
"zod": "^4.4.3",
|
|
47
|
-
"@gaunt-sloth/
|
|
48
|
-
"@gaunt-sloth/
|
|
49
|
-
"@gaunt-sloth/
|
|
47
|
+
"@gaunt-sloth/agent": "2.0.0-alpha.39",
|
|
48
|
+
"@gaunt-sloth/batch": "2.0.0-alpha.39",
|
|
49
|
+
"@gaunt-sloth/core": "2.0.0-alpha.39",
|
|
50
50
|
"@gaunt-sloth/eval-reporter-junit": "0.1.0",
|
|
51
|
-
"@gaunt-sloth/
|
|
51
|
+
"@gaunt-sloth/review": "2.0.0-alpha.39"
|
|
52
52
|
},
|
|
53
53
|
"optionalDependencies": {
|
|
54
54
|
"chalk": "^6.0.0",
|