@ycodium-ai/agent-kimi 0.2.2106 → 0.2.2488

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 CHANGED
@@ -1,23 +1,24 @@
1
1
  # @ycodium-ai/agent-kimi
2
2
 
3
- Kimi Code executor plugin. Spawns `kimi acp` over stdio and runs `ycodium-acp-executor`
4
- against `ycodium-acp-protocol`, with the Kimi-specific semantics that used to live in the
5
- host ACP adapter:
3
+ Kimi Code executor plugin. Spawns `kimi acp` over stdio and runs the shared
4
+ `ycodium-acp-executor` state machine.
6
5
 
7
- - `session/request_permission` with title `AskUserQuestion` / `ExitPlanMode` is surfaced as
8
- structured user input (`user-input.*`), never collapsed to a binary approve/deny.
9
- - Context-window usage is read from Kimi's own session wire log
10
- (`$KIMI_CODE_HOME/sessions/<workspace>/<sessionId>/agents/main/wire.jsonl`), because Kimi
11
- never sends ACP `usage_update`.
6
+ - `driverKind` is `kimiCode`. The envelope is `{ driver: "kimiCode", config: { binaryPath, homePath,
7
+ customModels } }`; launch arguments (`acp`) and the account-directory variable (`KIMI_CODE_HOME`)
8
+ come from the card.
9
+ - Kimi's differences go through `AcpVendorHooks` (`src/kimi.ts`): its `AskUserQuestion` /
10
+ `ExitPlanMode` ride on `session/request_permission` and must stay structured user input, and its
11
+ context usage is read from the CLI's own session log.
12
+ - Models come from the read-only `kimi provider list --json` (`src/kimiModels.ts`); the version
13
+ from `kimi --version`. No probe session is created.
14
+ - Sign-in is `kimi login` (device-code flow), upgrade is `kimi upgrade`.
15
+ - Manifest permission is `{ kind: "executor" }`.
12
16
 
13
- Facts:
17
+ Shipped pre-installed as `core.agent-kimi`.
14
18
 
15
- - `driverKind` is `kimi`. Existing generic-ACP envelopes (`driver: "acp"` with command
16
- `kimi` or `homeEnvVar: "KIMI_CODE_HOME"`) are claimed via `legacyAcpClaim`; disk format
17
- is unchanged.
18
- - Manifest permission is `{ kind: "executor" }`.
19
- - Session model switching is `unsupported` until `ycodium-acp-executor` grows
20
- `session/set_model` / `session/set_config_option`.
19
+ Golden replay (`src/replay.test.ts`) runs the real bytes recorded from `kimi acp` 2.0.1 through
20
+ `test/wireReplayPeer.mjs`. Re-record with `apps/server/scripts/record-acp-session.ts`; provenance
21
+ and what is **not** capturable on this machine are in `docs/internals/provider-recordings.md`.
21
22
 
22
23
  Develop with `vp run --filter @ycodium-ai/agent-kimi typecheck`, `build`, and `test`.
23
24