@ycodium-ai/agent-kimi 0.2.2092 → 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 +16 -15
- package/dist/index.js +861 -308
- package/locales/en.json +14 -0
- package/locales/zh-CN.json +14 -0
- package/package.json +7 -6
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
|
|
4
|
-
|
|
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
|
-
- `
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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
|
-
|
|
17
|
+
Shipped pre-installed as `core.agent-kimi`.
|
|
14
18
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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
|
|