@ycodium-ai/agent-acp 0.2.2106 → 0.2.2126
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 +17 -3
- package/dist/index.js +930 -110
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -8,10 +8,24 @@ spawns it over stdio and runs `ycodium-acp-executor` against `ycodium-acp-protoc
|
|
|
8
8
|
- `createInstance` reads that envelope (or a bare settings object) and `startSession` spawns via
|
|
9
9
|
lease-scoped `host.process.spawn`.
|
|
10
10
|
- Manifest permission is `{ kind: "executor" }`.
|
|
11
|
+
- Vendor differences go through `AcpVendorHooks`, never through a second state machine. Today that
|
|
12
|
+
is Kimi Code (`src/kimi.ts`): its `AskUserQuestion` / `ExitPlanMode` ride on
|
|
13
|
+
`session/request_permission` and must stay structured user input, and its context usage is read
|
|
14
|
+
from the CLI's own session log. The instance is recognised by `config.providerId === "kimiCode"`
|
|
15
|
+
or `homeEnvVar === "KIMI_CODE_HOME"` — both are prefilled by the provider table and hidden from
|
|
16
|
+
the form, so they beat the user-editable program path.
|
|
11
17
|
|
|
12
|
-
|
|
13
|
-
(
|
|
14
|
-
|
|
18
|
+
One card, six grid cells: the five ACP vendor rows in the provider table
|
|
19
|
+
(`kimiCode` / `githubCopilot` / `geminiCli` / `qwenCode` / `hermesAgent`) plus the user-filled
|
|
20
|
+
"Other agent (ACP)" all create `driver: "acp"` instances and are served by this package.
|
|
21
|
+
|
|
22
|
+
Shipped pre-installed as `core.agent-acp`; the host's built-in `acp` driver was deleted on
|
|
23
|
+
2026-09-18 (contract table `executorPlugin`).
|
|
24
|
+
|
|
25
|
+
Golden replay (`src/replay.test.ts`) runs the real bytes recorded from `kimi acp` 2.0.1 through
|
|
26
|
+
`test/wireReplayPeer.mjs`. Re-record with
|
|
27
|
+
`apps/server/scripts/record-acp-session.ts`; provenance and what is **not** capturable on this
|
|
28
|
+
machine are in `docs/internals/provider-recordings.md`.
|
|
15
29
|
|
|
16
30
|
Develop with `vp run --filter @ycodium-ai/agent-acp typecheck`, `build`, and `test`.
|
|
17
31
|
|