@automatalabs/pi-acp 0.1.1 → 0.1.3
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 +8 -12
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -10,20 +10,16 @@ Run the server with `npx @automatalabs/pi-acp` or an installed `pi-acp` binary.
|
|
|
10
10
|
|
|
11
11
|
The package entry exports the value APIs `runAcp(options?)`, `PiAcpAgent`, and `resolveDeps`, plus the TypeScript-only `PiAcpDeps` type. Importing it starts no server, opens no stdio connection, and does not mutate `console` or stdio. Call and await `runAcp()` explicitly to connect; pass a partial `PiAcpDeps` and/or an ACP stream for embedding and tests.
|
|
12
12
|
|
|
13
|
-
##
|
|
13
|
+
## AgentPrism built-in backend
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
`@automatalabs/acp-agents` ships pi-acp as the built-in `pi` backend. Route a call with the backend-only id to keep pi's configured default model, or include pi's exact `provider/model-id` after the routing prefix:
|
|
16
16
|
|
|
17
|
-
```
|
|
18
|
-
{
|
|
19
|
-
|
|
20
|
-
"namespace": "@automatalabs/pi-acp",
|
|
21
|
-
"gatedKeys": ["outputSchema"]
|
|
22
|
-
}
|
|
23
|
-
}
|
|
17
|
+
```ts
|
|
18
|
+
await runner.run("Review this change", { model: "pi" });
|
|
19
|
+
await runner.run("Review this change", { model: "pi/openrouter/vendor/model-id" });
|
|
24
20
|
```
|
|
25
21
|
|
|
26
|
-
|
|
22
|
+
The runner strips exactly the first `pi/` segment and sends the remaining `provider/model-id` verbatim through ACP's reserved `model` config channel. An unknown model rejects with JSON-RPC `-32602` and `data.errorKind = "invalid_model"`. Hosts driving pi-acp directly can negotiate its native schema channel from `agentCapabilities._meta["@automatalabs/pi-acp"].outputSchema` and send the bare `_meta.outputSchema` key.
|
|
27
23
|
|
|
28
24
|
## Authentication
|
|
29
25
|
|
|
@@ -46,7 +42,7 @@ pi-acp owns the `mcp__` prefix for bridged MCP tools and the exact `__acp_struct
|
|
|
46
42
|
|
|
47
43
|
## Version 1 limitations
|
|
48
44
|
|
|
49
|
-
Only stdio MCP servers are supported. Load replay is the active linear branch and excludes branch topology and compaction summaries. `additionalDirectories` is accepted but ignored because pi is not root-confined. Audio is degraded to a text note. Mid-turn steering and terminal-login authentication are not exposed.
|
|
45
|
+
Only stdio MCP servers are supported. Load replay is the active linear branch and excludes branch topology and compaction summaries. `additionalDirectories` is accepted but ignored because pi is not root-confined. Audio is degraded to a text note. Mid-turn steering and terminal-login authentication are not exposed.
|
|
50
46
|
|
|
51
47
|
## Development
|
|
52
48
|
|
|
@@ -54,4 +50,4 @@ The `pnpm test` script intentionally runs `tsc -p tsconfig.type-tests.json` befo
|
|
|
54
50
|
|
|
55
51
|
## Built on pi — THIRD-PARTY notice
|
|
56
52
|
|
|
57
|
-
This package depends on and embeds `@earendil-works/pi-coding-agent`, `@earendil-works/pi-agent-core`, and `@earendil-works/pi-ai` version 0.80.
|
|
53
|
+
This package depends on and embeds `@earendil-works/pi-coding-agent`, `@earendil-works/pi-agent-core`, and `@earendil-works/pi-ai` version 0.80.10. pi is Copyright Earendil Inc., Mario Zechner, and Armin Ronacher and is distributed under the MIT License. The dependency packages retain the full MIT copyright and license text. pi-acp itself is Apache-2.0.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automatalabs/pi-acp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=22.19.0"
|
|
@@ -31,13 +31,13 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@agentclientprotocol/sdk": "1.2.1",
|
|
34
|
-
"@earendil-works/pi-coding-agent": "0.80.
|
|
34
|
+
"@earendil-works/pi-coding-agent": "0.80.10",
|
|
35
35
|
"@modelcontextprotocol/sdk": "1.29.0",
|
|
36
36
|
"typebox": "1.3.2"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@earendil-works/pi-agent-core": "0.80.
|
|
40
|
-
"@earendil-works/pi-ai": "0.80.
|
|
39
|
+
"@earendil-works/pi-agent-core": "0.80.10",
|
|
40
|
+
"@earendil-works/pi-ai": "0.80.10"
|
|
41
41
|
},
|
|
42
42
|
"scripts": {
|
|
43
43
|
"build": "tsc -b",
|