@ycodium-ai/agent-kimi 0.2.4408 → 0.2.4477
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 +6 -1
- package/dist/index.js +14 -6
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -12,9 +12,14 @@ customModels } }`; launch arguments (`acp`) and the account-directory variable (
|
|
|
12
12
|
- Models come from the read-only `kimi provider list --json` (`src/kimiModels.ts`); the version
|
|
13
13
|
from `kimi --version`. No probe session is created.
|
|
14
14
|
- Sign-in is `kimi login` (device-code flow), upgrade is `kimi upgrade`.
|
|
15
|
-
- Runtime modes map to native permissions: auto and auto-accept-edits →
|
|
15
|
+
- Runtime modes map to native permissions: auto and auto-accept-edits → yolo, full-access → auto, approval-required → default.
|
|
16
16
|
The auto-accept-edits mapping is an approximation and may allow more than edits. Kimi has no
|
|
17
17
|
edits-only automatic native mode: default asks for approvals and plan does not execute tools.
|
|
18
|
+
YOLO means Ask When Needed: routine edits and commands run automatically, while risky
|
|
19
|
+
operations, questions, and plans still ask. Auto means Never Ask:
|
|
20
|
+
everything runs automatically, including risky operations.
|
|
21
|
+
Kimi 2.3.1's ACP handshake describes these two modes incorrectly; the report follows `kimi --help`
|
|
22
|
+
and maintainer CLI verification.
|
|
18
23
|
A selected native mode governs approvals. Without native modes, auto permits MCP dynamic tools
|
|
19
24
|
(ACP kind `other` with an MCP name); questions and plan confirmations remain user input.
|
|
20
25
|
- Usage (ADR-0034), per instance, read only when the user asks. The account directory is the
|
package/dist/index.js
CHANGED
|
@@ -8,7 +8,7 @@ var __export = (target, all) => {
|
|
|
8
8
|
import { definePlugin } from "@ycodium-ai/plugin-api";
|
|
9
9
|
|
|
10
10
|
// ../../packages/plugin-api/src/version.ts
|
|
11
|
-
var PLUGIN_API_VERSION =
|
|
11
|
+
var PLUGIN_API_VERSION = 118;
|
|
12
12
|
|
|
13
13
|
// src/index.ts
|
|
14
14
|
import * as NodeOS6 from "node:os";
|
|
@@ -29466,14 +29466,22 @@ var KIMI_NATIVE_MODE_REPORT = {
|
|
|
29466
29466
|
nativeModes: [
|
|
29467
29467
|
{ id: "default", name: "Default", description: "Manual approvals; tools execute normally." },
|
|
29468
29468
|
{ id: "plan", name: "Plan", description: "Read-only planning; no tool execution." },
|
|
29469
|
-
{
|
|
29470
|
-
|
|
29469
|
+
{
|
|
29470
|
+
id: "auto",
|
|
29471
|
+
name: "Auto",
|
|
29472
|
+
description: "Never asks. Runs everything automatically, including risky operations."
|
|
29473
|
+
},
|
|
29474
|
+
{
|
|
29475
|
+
id: "yolo",
|
|
29476
|
+
name: "YOLO",
|
|
29477
|
+
description: "Asks when needed. Runs routine edits and commands automatically; still asks for risky operations, questions, and plans."
|
|
29478
|
+
}
|
|
29471
29479
|
],
|
|
29472
29480
|
currentNativeModeId: "default",
|
|
29473
29481
|
nativeModeByRuntimeMode: {
|
|
29474
|
-
auto: "
|
|
29475
|
-
"auto-accept-edits": "
|
|
29476
|
-
"full-access": "
|
|
29482
|
+
auto: "yolo",
|
|
29483
|
+
"auto-accept-edits": "yolo",
|
|
29484
|
+
"full-access": "auto",
|
|
29477
29485
|
"approval-required": "default"
|
|
29478
29486
|
}
|
|
29479
29487
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ycodium-ai/agent-kimi",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4477",
|
|
4
4
|
"description": "Kimi Code executor: runs `kimi acp` over Agent Client Protocol stdio.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ycodium",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"@types/node": "24.12.4",
|
|
22
22
|
"esbuild": "0.28.1",
|
|
23
23
|
"vite-plus": "0.2.2",
|
|
24
|
-
"
|
|
24
|
+
"ycodium-acp-executor": "0.2.4477",
|
|
25
25
|
"ycodium-executor-testing": "0.0.0",
|
|
26
|
-
"ycodium-
|
|
26
|
+
"@ycodium-ai/plugin-api": "0.2.4477"
|
|
27
27
|
},
|
|
28
28
|
"ycodium": {
|
|
29
29
|
"plugin": "./dist/index.js",
|