@ycodium-ai/agent-kimi 0.2.2009

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 ADDED
@@ -0,0 +1,26 @@
1
+ # @ycodium-ai/agent-kimi
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:
6
+
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`.
12
+
13
+ Facts:
14
+
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`.
21
+
22
+ Develop with `vp run --filter @ycodium-ai/agent-kimi typecheck`, `build`, and `test`.
23
+
24
+ ## License
25
+
26
+ UNLICENSED.
@@ -0,0 +1,4 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none">
2
+ <path fill="#1783FF" d="M21.846 0a1.923 1.923 0 110 3.846H20.15a.226.226 0 01-.227-.226V1.923C19.923.861 20.784 0 21.846 0z"/>
3
+ <path fill="#1783FF" d="M11.065 11.199l7.257-7.2c.137-.136.06-.41-.116-.41H14.3a.164.164 0 00-.117.051l-7.82 7.756c-.122.12-.302.013-.302-.179V3.82c0-.127-.083-.23-.185-.23H3.186c-.103 0-.186.103-.186.23V19.77c0 .128.083.23.186.23h2.69c.103 0 .186-.102.186-.23v-3.25c0-.069.025-.135.069-.178l2.424-2.406a.158.158 0 01.205-.023l6.484 4.772a7.677 7.677 0 003.453 1.283c.108.012.2-.095.2-.23v-3.06c0-.117-.07-.212-.164-.227a5.028 5.028 0 01-2.027-.807l-5.613-4.064c-.117-.078-.132-.279-.028-.381z"/>
4
+ </svg>