kimi-plugin-cc 2.7.2 → 2.7.3
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/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/CHANGELOG.md +9 -1
- package/README.md +8 -8
- package/agents/kimi-pursue.md +1 -1
- package/agents/kimi-swarm-write.md +4 -4
- package/agents/kimi-swarm.md +5 -5
- package/commands/swarm.md +3 -3
- package/dist/cli-client.js +1 -1
- package/dist/commands/setup.js +2 -2
- package/dist/commands/swarm.js +4 -4
- package/dist/hooks/approval-policy.js +1 -1
- package/dist/hooks/config-safety.js +4 -3
- package/dist/kimi-engine.js +2 -1
- package/dist/kimi-timeouts.js +1 -1
- package/dist/mcp/operations.js +1 -1
- package/dist/swarm-activation.js +12 -12
- package/dist/swarm-policy.js +1 -1
- package/dist/version.js +1 -1
- package/docs/migration.md +4 -4
- package/docs/registry-releases.md +3 -1
- package/docs/safety.md +15 -15
- package/docs/swarm-recovery.md +3 -3
- package/docs/upstream-2.7.2-certification.md +16 -2
- package/docs/upstream-2.7.3-certification.md +83 -0
- package/package.json +2 -1
- package/plugins/kimi-codex/.codex-plugin/plugin.json +1 -1
- package/plugins/kimi-codex/dist/cli-client.js +1 -1
- package/plugins/kimi-codex/dist/commands/setup.js +2 -2
- package/plugins/kimi-codex/dist/commands/swarm.js +4 -4
- package/plugins/kimi-codex/dist/hooks/approval-policy.js +1 -1
- package/plugins/kimi-codex/dist/hooks/config-safety.js +4 -3
- package/plugins/kimi-codex/dist/kimi-engine.js +2 -1
- package/plugins/kimi-codex/dist/kimi-timeouts.js +1 -1
- package/plugins/kimi-codex/dist/mcp/operations.js +1 -1
- package/plugins/kimi-codex/dist/swarm-activation.js +12 -12
- package/plugins/kimi-codex/dist/swarm-policy.js +1 -1
- package/plugins/kimi-codex/dist/version.js +1 -1
- package/plugins/kimi-dsh/dist/cli-client.js +1 -1
- package/plugins/kimi-dsh/dist/commands/setup.js +2 -2
- package/plugins/kimi-dsh/dist/commands/swarm.js +4 -4
- package/plugins/kimi-dsh/dist/hooks/approval-policy.js +1 -1
- package/plugins/kimi-dsh/dist/hooks/config-safety.js +4 -3
- package/plugins/kimi-dsh/dist/kimi-engine.js +2 -1
- package/plugins/kimi-dsh/dist/kimi-timeouts.js +1 -1
- package/plugins/kimi-dsh/dist/mcp/operations.js +1 -1
- package/plugins/kimi-dsh/dist/swarm-activation.js +12 -12
- package/plugins/kimi-dsh/dist/swarm-policy.js +1 -1
- package/plugins/kimi-dsh/dist/version.js +1 -1
- package/plugins/kimi-dsh/package.json +1 -1
|
@@ -977,12 +977,12 @@ async function collectKimiVersionWarnings(env, warnings) {
|
|
|
977
977
|
warnings.push(formatVersionOutOfRangeWarning(probe, KIMI_PLUGIN_CC_VERSION, NATIVE_V2_ANY_OPERATION_VERSIONS));
|
|
978
978
|
return;
|
|
979
979
|
}
|
|
980
|
-
if (probe.version === "2.6.2" || probe.version === "2.6.3" || probe.version === "2.7.2") {
|
|
980
|
+
if (probe.version === "2.6.2" || probe.version === "2.6.3" || probe.version === "2.7.2" || probe.version === "2.7.3") {
|
|
981
981
|
warnings.push(`NOTE: kimi-code ${probe.version} is certified for all operations. Swarm uses bounded waves with concurrency 2 or more, and one direct worker at concurrency 1. The finite job budget stops the whole run.`);
|
|
982
982
|
return;
|
|
983
983
|
}
|
|
984
984
|
if (NATIVE_V2_NON_SWARM_VERSIONS.includes(probe.version)) {
|
|
985
|
-
warnings.push(`NOTE: kimi-code ${probe.version} is certified for review, challenge, ask, rescue, review gate, and pursue only. Read-only swarm and write swarm refuse before model spawn on this exact release. Select exact kimi-code 2.6.2, 2.6.3 or 2.7.
|
|
985
|
+
warnings.push(`NOTE: kimi-code ${probe.version} is certified for review, challenge, ask, rescue, review gate, and pursue only. Read-only swarm and write swarm refuse before model spawn on this exact release. Select exact kimi-code 2.6.2, 2.6.3, 2.7.2 or 2.7.3 for this plugin's certified bounded waves and single-worker path.`);
|
|
986
986
|
}
|
|
987
987
|
}
|
|
988
988
|
/**
|
|
@@ -24,7 +24,7 @@ import { buildKimiSessionTitle, syncKimiSessionTitle } from "../session-title.js
|
|
|
24
24
|
import { usesBoundedSwarmPolicy } from "../swarm-policy.js";
|
|
25
25
|
// /kimi:swarm — parallel fan-out, read-only by default and runtime-foreground-only.
|
|
26
26
|
// A finite wall-clock budget bounds the whole run. --cap is a SOFT total-count
|
|
27
|
-
// prompt hint. Exact native-v2 2.6.2/2.6.3/2.7.2 bounds admitted waves and prevents native
|
|
27
|
+
// prompt hint. Exact native-v2 2.6.2/2.6.3/2.7.2/2.7.3 bounds admitted waves and prevents native
|
|
28
28
|
// child timeouts from returning a continuing coordinator before children stop.
|
|
29
29
|
// Concurrency 1 uses a direct worker without native fan-out. Older versions keep
|
|
30
30
|
// their normal-launch setting and inherited recovery limitation. Read/write
|
|
@@ -34,14 +34,14 @@ import { usesBoundedSwarmPolicy } from "../swarm-policy.js";
|
|
|
34
34
|
// kimi-code 0.18.0+. Exact 2.3.2, 2.3.3, 2.4.0, 2.4.1, 2.5.0, 2.5.1, 2.5.2,
|
|
35
35
|
// and certified 2.5.3 activate a same-job session through a bounded loopback
|
|
36
36
|
// web lifecycle, then resume it through the normal print path. 2.6.2/2.6.3 parallel
|
|
37
|
-
// waves, 2.7.2 JSON-authenticated waves, and candidate-only 2.6.0 use that lifecycle too. The per-operation certification
|
|
37
|
+
// waves, 2.7.2/2.7.3 JSON-authenticated waves, and candidate-only 2.6.0 use that lifecycle too. The per-operation certification
|
|
38
38
|
// table controls whether each exact version is reachable in production.
|
|
39
39
|
const SWARM_SUMMARY_MAX = 120;
|
|
40
40
|
const SWARM_AGENT_PROFILE = "<swarm>";
|
|
41
41
|
const SWARM_WRITE_AGENT_PROFILE = "<swarm-write>";
|
|
42
42
|
/**
|
|
43
43
|
* Default concurrency setting when the user passes no `--max-concurrency`.
|
|
44
|
-
* Exact native-v2 2.6.2/2.6.3/2.7.2 also enforces this as the admitted wave size. The plugin exports
|
|
44
|
+
* Exact native-v2 2.6.2/2.6.3/2.7.2/2.7.3 also enforces this as the admitted wave size. The plugin exports
|
|
45
45
|
* KIMI_CODE_AGENT_SWARM_MAX_CONCURRENCY; older read-only swarms ignore it and
|
|
46
46
|
* retain only the wall-clock hard bound. Rate-limit recovery can exceed it on
|
|
47
47
|
* older reviewed sources; their setting is not an unconditional peak guarantee.
|
|
@@ -57,7 +57,7 @@ export function resolveSwarmMaxConcurrency(requested) {
|
|
|
57
57
|
return requested ?? SWARM_DEFAULT_MAX_CONCURRENCY;
|
|
58
58
|
}
|
|
59
59
|
/**
|
|
60
|
-
* Default concurrency for WRITE mode — 1 vs read's 4. Exact native-v2 2.6.2/2.6.3/2.7.2
|
|
60
|
+
* Default concurrency for WRITE mode — 1 vs read's 4. Exact native-v2 2.6.2/2.6.3/2.7.2/2.7.3
|
|
61
61
|
* runs one direct worker; older versions serialize normal child launches but
|
|
62
62
|
* retain the rate-limit recovery overrun. Disjoint-target partitioning remains
|
|
63
63
|
* prompt-only when parallel workers are explicitly requested.
|
|
@@ -146,7 +146,7 @@ export function decideHookOutcomePure(input, ctx) {
|
|
|
146
146
|
// AgentSwarm are allowed and the singular Agent stays denied. This adds
|
|
147
147
|
// no direct tool-write permission within the repository/Git trust
|
|
148
148
|
// boundary: read-only Git context commands still trust repository Git
|
|
149
|
-
// configuration and can execute configured helpers. Exact 2.6.2/2.6.3/2.7.2 waves
|
|
149
|
+
// configuration and can execute configured helpers. Exact 2.6.2/2.6.3/2.7.2/2.7.3 waves
|
|
150
150
|
// pass the admission guard above; fresh children cannot activate swarm
|
|
151
151
|
// mode. Older paths retain their inherited scheduler limitations.
|
|
152
152
|
if (READ_ONLY_TOOLS.has(toolName) || toolName === AGENT_SWARM_TOOL) {
|
|
@@ -597,8 +597,8 @@ function validateVersionSensitiveEvents(events, version) {
|
|
|
597
597
|
// 2.3.0 (b5e28fd6), 2.3.1 (684bae9e), 2.3.2 (b8dd3a13), 2.3.3 (ec495f0c),
|
|
598
598
|
// 2.4.0 (f26e4d91), 2.4.1 (2c73f3f5), 2.5.0 (41c34143), 2.5.1 (1b02030d),
|
|
599
599
|
// 2.5.2 (1c142a00), 2.5.3 (5af9942e), 2.6.0 (740d6c0b), 2.6.2
|
|
600
|
-
// (6a8493df), 2.6.3 (b0de2fbd),
|
|
601
|
-
// and HookDefSchema are unchanged. Schema acceptance does not certify operations.
|
|
600
|
+
// (6a8493df), 2.6.3 (b0de2fbd), 2.7.2 (56145f84), and 2.7.3 (a8f643ad):
|
|
601
|
+
// the additive events and HookDefSchema are unchanged. Schema acceptance does not certify operations.
|
|
602
602
|
// Require the full version string AND matching components; no inferred 2.x compatibility.
|
|
603
603
|
if (version.major === 2 && ((version.minor === 0 && ((version.version === "2.0.0" && version.patch === 0) ||
|
|
604
604
|
(version.version === "2.0.1" && version.patch === 1) ||
|
|
@@ -619,7 +619,8 @@ function validateVersionSensitiveEvents(events, version) {
|
|
|
619
619
|
(version.minor === 6 && ((version.version === "2.6.0" && version.patch === 0) ||
|
|
620
620
|
(version.version === "2.6.2" && version.patch === 2) ||
|
|
621
621
|
(version.version === "2.6.3" && version.patch === 3))) ||
|
|
622
|
-
(version.minor === 7 && version.version === "2.7.2" && version.patch === 2)
|
|
622
|
+
(version.minor === 7 && ((version.version === "2.7.2" && version.patch === 2) ||
|
|
623
|
+
(version.version === "2.7.3" && version.patch === 3))))) {
|
|
623
624
|
return { valid: true };
|
|
624
625
|
}
|
|
625
626
|
if (version.major !== 0) {
|
|
@@ -52,6 +52,7 @@ export const NATIVE_V2_CERTIFIED_VERSIONS = Object.freeze([
|
|
|
52
52
|
"2.6.2",
|
|
53
53
|
"2.6.3",
|
|
54
54
|
"2.7.2",
|
|
55
|
+
"2.7.3",
|
|
55
56
|
]);
|
|
56
57
|
/**
|
|
57
58
|
* Exact releases certified only for review, challenge, ask, rescue, review_gate
|
|
@@ -571,7 +572,7 @@ function nativeV2NotCertified(operationKind, version) {
|
|
|
571
572
|
if (normalized !== undefined &&
|
|
572
573
|
NATIVE_V2_NON_SWARM_VERSIONS.includes(normalized) &&
|
|
573
574
|
(operationKind === "swarm" || operationKind === "swarm-write")) {
|
|
574
|
-
return new RuntimeError("KIMI_CAPABILITY_NOT_CERTIFIED", `Refusing ${operationKind}: kimi-code ${normalized} is certified only for non-swarm operations (review, challenge, ask, rescue, review_gate, pursue). Its native rate-limit recovery can exceed AgentSwarm's configured maximum, so this exact release refuses swarm before model spawn. Select exact kimi-code 2.6.2, 2.6.3 or 2.7.
|
|
575
|
+
return new RuntimeError("KIMI_CAPABILITY_NOT_CERTIFIED", `Refusing ${operationKind}: kimi-code ${normalized} is certified only for non-swarm operations (review, challenge, ask, rescue, review_gate, pursue). Its native rate-limit recovery can exceed AgentSwarm's configured maximum, so this exact release refuses swarm before model spawn. Select exact kimi-code 2.6.2, 2.6.3, 2.7.2 or 2.7.3 for this plugin's certified bounded waves and single-worker path, or use a non-swarm operation on ${normalized}.`, "kimi-engine.capability", {
|
|
575
576
|
details: {
|
|
576
577
|
refusal_kind: "v2-swarm-not-certified",
|
|
577
578
|
certification_scope: "non-swarm",
|
|
@@ -23,7 +23,7 @@ export const KIMI_PURSUE_DEFAULT_BUDGET_MS = 2_700_000; // 45 minutes
|
|
|
23
23
|
* Swarm (read-only parallel fan-out) DEFAULT wall-clock ceiling when the user
|
|
24
24
|
* passes no `--budget`. Read-only swarm opens no write surface, so the only new
|
|
25
25
|
* risk is cost/runaway from repeated model work. This AbortController bounds
|
|
26
|
-
* the whole job; `--cap` remains a soft lifetime-count hint. Exact 2.6.2/2.6.3/2.7.2 also
|
|
26
|
+
* the whole job; `--cap` remains a soft lifetime-count hint. Exact 2.6.2/2.6.3/2.7.2/2.7.3 also
|
|
27
27
|
* bounds wave cardinality and prevents child timeouts from overlapping waves;
|
|
28
28
|
* a requested concurrency of one runs a direct worker. Sized like the single-turn
|
|
29
29
|
* review budget — a swarm fans review work out in parallel within one process,
|
|
@@ -65,7 +65,7 @@ const CAP_PROPERTY = {
|
|
|
65
65
|
const MAX_CONCURRENCY_PROPERTY = {
|
|
66
66
|
type: "integer",
|
|
67
67
|
minimum: 1,
|
|
68
|
-
description: "Concurrent worker limit on exact Kimi Code 2.6.2/2.6.3/2.7.2: one runs directly; larger values bound each native swarm wave. Older certified versions limit normal launches only and recovery can exceed it. Distinct from the soft total cap.",
|
|
68
|
+
description: "Concurrent worker limit on exact Kimi Code 2.6.2/2.6.3/2.7.2/2.7.3: one runs directly; larger values bound each native swarm wave. Older certified versions limit normal launches only and recovery can exceed it. Distinct from the soft total cap.",
|
|
69
69
|
};
|
|
70
70
|
const START_RESULT_GUIDANCE = "Task-capable clients receive an MCP task. Other clients receive a job ID immediately after launch; use kimi_job_status and kimi_job_result until terminal, and kimi_job_cancel to stop. Do not present a launch handle as the finished answer.";
|
|
71
71
|
function schema(properties, required = []) {
|
|
@@ -13,8 +13,8 @@ import { usesBoundedSwarmPolicy } from "./swarm-policy.js";
|
|
|
13
13
|
import { installBoundedSwarmToolPolicy } from "./swarm-tool-policy.js";
|
|
14
14
|
import { collectDescendantIdentities, collectProcessGroupsIdentities, probeProcessIdentity, revalidateProcessIdentities, waitForProcessTreeExit, } from "./process-tree.js";
|
|
15
15
|
// These exact activation entries support candidate integration; production scope is per operation.
|
|
16
|
-
const PREACTIVATION_VERSIONS = ["2.3.2", "2.3.3", "2.4.0", "2.4.1", "2.5.0", "2.5.1", "2.5.2", "2.5.3", "2.6.0", "2.6.2", "2.6.3", "2.7.2"];
|
|
17
|
-
const
|
|
16
|
+
const PREACTIVATION_VERSIONS = ["2.3.2", "2.3.3", "2.4.0", "2.4.1", "2.5.0", "2.5.1", "2.5.2", "2.5.3", "2.6.0", "2.6.2", "2.6.3", "2.7.2", "2.7.3"];
|
|
17
|
+
const JSON_READY_VERSIONS = ["2.7.2", "2.7.3"];
|
|
18
18
|
const KIMI_AGENT_PROTOCOL_VERSION = "1.0.0";
|
|
19
19
|
const READY_TIMEOUT_MS = 10_000;
|
|
20
20
|
const REST_TIMEOUT_MS = 5_000;
|
|
@@ -152,7 +152,7 @@ async function startWebChild(options, env, expectedVersion, failureCode) {
|
|
|
152
152
|
const args = [
|
|
153
153
|
...(options.prefixArgs ?? []),
|
|
154
154
|
"web",
|
|
155
|
-
expectedVersion
|
|
155
|
+
JSON_READY_VERSIONS.includes(expectedVersion) ? "--json" : "--no-open",
|
|
156
156
|
"--host",
|
|
157
157
|
"127.0.0.1",
|
|
158
158
|
"--port",
|
|
@@ -274,7 +274,7 @@ async function waitForReadyLine(owned, expectedVersion, signal, failureCode) {
|
|
|
274
274
|
const newline = buffered.indexOf("\n");
|
|
275
275
|
const line = buffered.slice(0, newline).replace(/\r$/, "");
|
|
276
276
|
buffered = buffered.slice(newline + 1);
|
|
277
|
-
if (expectedVersion
|
|
277
|
+
if (JSON_READY_VERSIONS.includes(expectedVersion)) {
|
|
278
278
|
if (line.trim().length === 0)
|
|
279
279
|
continue;
|
|
280
280
|
try {
|
|
@@ -364,7 +364,7 @@ async function verifyMeta(web, expectedVersion, signal, failureCode) {
|
|
|
364
364
|
if (!isRecord(data)) {
|
|
365
365
|
throw failure(failureCode, "swarm-activation.meta", "Kimi web /meta returned an invalid payload.");
|
|
366
366
|
}
|
|
367
|
-
if (expectedVersion
|
|
367
|
+
if (JSON_READY_VERSIONS.includes(expectedVersion)) {
|
|
368
368
|
if (data.kimi_agent_protocol_version !== KIMI_AGENT_PROTOCOL_VERSION ||
|
|
369
369
|
!isRecord(data.capabilities) ||
|
|
370
370
|
data.capabilities.websocket !== true ||
|
|
@@ -399,7 +399,7 @@ async function resolveProfileModel(web, options, failureCode) {
|
|
|
399
399
|
}
|
|
400
400
|
async function createSession(web, options, expectedVersion, failureCode) {
|
|
401
401
|
const request = { metadata: { cwd: options.cwd } };
|
|
402
|
-
if (["2.5.0", "2.5.1", "2.5.2", "2.5.3", "2.6.0", "2.6.2", "2.6.3", "2.7.2"].includes(expectedVersion)) {
|
|
402
|
+
if (["2.5.0", "2.5.1", "2.5.2", "2.5.3", "2.6.0", "2.6.2", "2.6.3", "2.7.2", "2.7.3"].includes(expectedVersion)) {
|
|
403
403
|
request.environment_id = "local";
|
|
404
404
|
request.environment_cwd = options.cwd;
|
|
405
405
|
}
|
|
@@ -410,7 +410,7 @@ async function createSession(web, options, expectedVersion, failureCode) {
|
|
|
410
410
|
return { sessionId: data.id, workspaceId: data.workspace_id };
|
|
411
411
|
}
|
|
412
412
|
async function verifyLocalEnvironment(web, identity, expectedCwd, expectedVersion, signal, failureCode) {
|
|
413
|
-
if (!["2.5.0", "2.5.1", "2.5.2", "2.5.3", "2.6.0", "2.6.2", "2.6.3", "2.7.2"].includes(expectedVersion))
|
|
413
|
+
if (!["2.5.0", "2.5.1", "2.5.2", "2.5.3", "2.6.0", "2.6.2", "2.6.3", "2.7.2", "2.7.3"].includes(expectedVersion))
|
|
414
414
|
return;
|
|
415
415
|
const data = await restData(web, "GET", `/api/v1/sessions/${encodeURIComponent(identity.sessionId)}/environment`, undefined, signal, failureCode);
|
|
416
416
|
if (!isRecord(data)) {
|
|
@@ -430,10 +430,10 @@ async function postSwarmProfile(web, identity, active, model, signal, failureCod
|
|
|
430
430
|
await restData(web, "POST", `/api/v1/sessions/${encodeURIComponent(identity.sessionId)}/profile`, { agent_config: agentConfig }, signal, failureCode);
|
|
431
431
|
}
|
|
432
432
|
async function verifySwarmStatus(web, identity, active, model, expectedVersion, signal, failureCode) {
|
|
433
|
-
const data = ["2.5.0", "2.5.1", "2.5.2", "2.5.3", "2.6.0", "2.6.2", "2.6.3", "2.7.2"].includes(expectedVersion)
|
|
433
|
+
const data = ["2.5.0", "2.5.1", "2.5.2", "2.5.3", "2.6.0", "2.6.2", "2.6.3", "2.7.2", "2.7.3"].includes(expectedVersion)
|
|
434
434
|
? await readWebSocketAgentState(web, identity.sessionId, expectedVersion, signal, failureCode)
|
|
435
435
|
: await restData(web, "GET", `/api/v1/sessions/${encodeURIComponent(identity.sessionId)}/status`, undefined, signal, failureCode);
|
|
436
|
-
const source = ["2.5.0", "2.5.1", "2.5.2", "2.5.3", "2.6.0", "2.6.2", "2.6.3", "2.7.2"].includes(expectedVersion) ? "agent state" : "/status";
|
|
436
|
+
const source = ["2.5.0", "2.5.1", "2.5.2", "2.5.3", "2.6.0", "2.6.2", "2.6.3", "2.7.2", "2.7.3"].includes(expectedVersion) ? "agent state" : "/status";
|
|
437
437
|
if (!isRecord(data)) {
|
|
438
438
|
throw failure(failureCode, "swarm-activation.status", `Kimi web ${source} returned an invalid payload.`);
|
|
439
439
|
}
|
|
@@ -443,10 +443,10 @@ async function verifySwarmStatus(web, identity, active, model, expectedVersion,
|
|
|
443
443
|
if (data.plan_mode !== false) {
|
|
444
444
|
throw failure(failureCode, "swarm-activation.status", `Kimi web ${source} did not confirm plan mode is off.`);
|
|
445
445
|
}
|
|
446
|
-
if (["2.5.0", "2.5.1", "2.5.2", "2.5.3", "2.6.0", "2.6.2", "2.6.3", "2.7.2"].includes(expectedVersion) && data.tower_mode !== false) {
|
|
446
|
+
if (["2.5.0", "2.5.1", "2.5.2", "2.5.3", "2.6.0", "2.6.2", "2.6.3", "2.7.2", "2.7.3"].includes(expectedVersion) && data.tower_mode !== false) {
|
|
447
447
|
throw failure(failureCode, "swarm-activation.status", "Kimi web agent state did not confirm tower mode is off.");
|
|
448
448
|
}
|
|
449
|
-
const permission = ["2.5.0", "2.5.1", "2.5.2", "2.5.3", "2.6.0", "2.6.2", "2.6.3", "2.7.2"].includes(expectedVersion) ? data.permission_mode : data.permission;
|
|
449
|
+
const permission = ["2.5.0", "2.5.1", "2.5.2", "2.5.3", "2.6.0", "2.6.2", "2.6.3", "2.7.2", "2.7.3"].includes(expectedVersion) ? data.permission_mode : data.permission;
|
|
450
450
|
if (permission !== "auto") {
|
|
451
451
|
throw failure(failureCode, "swarm-activation.status", `Kimi web ${source} did not confirm auto permission mode.`);
|
|
452
452
|
}
|
|
@@ -462,7 +462,7 @@ async function readWebSocketAgentState(web, sessionId, expectedVersion, signal,
|
|
|
462
462
|
return await new Promise((resolve, reject) => {
|
|
463
463
|
let socket;
|
|
464
464
|
const bearerProtocol = `kimi-code.bearer.${web.token}`;
|
|
465
|
-
const legacyControl = !["2.6.0", "2.6.2", "2.6.3", "2.7.2"].includes(expectedVersion);
|
|
465
|
+
const legacyControl = !["2.6.0", "2.6.2", "2.6.3", "2.7.2", "2.7.3"].includes(expectedVersion);
|
|
466
466
|
const helloId = `swarm-activation-hello-${randomUUID()}`;
|
|
467
467
|
const subscribeId = `swarm-activation-subscribe-${randomUUID()}`;
|
|
468
468
|
try {
|
|
@@ -7,7 +7,7 @@ export const BOUNDED_SWARM_POLICY = "bounded-waves/1";
|
|
|
7
7
|
export const SWARM_CHILD_TIMEOUT_MS = 2_147_483_647;
|
|
8
8
|
export function usesBoundedSwarmPolicy(plan) {
|
|
9
9
|
return plan.intendedEngine === "native-v2" &&
|
|
10
|
-
(plan.kimiVersion === "2.6.2" || plan.kimiVersion === "2.6.3" || plan.kimiVersion === "2.7.2") &&
|
|
10
|
+
(plan.kimiVersion === "2.6.2" || plan.kimiVersion === "2.6.3" || plan.kimiVersion === "2.7.2" || plan.kimiVersion === "2.7.3") &&
|
|
11
11
|
(plan.operationKind === "swarm" || plan.operationKind === "swarm-write");
|
|
12
12
|
}
|
|
13
13
|
function plainObject(value) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kimi-plugin-cc",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.3",
|
|
4
4
|
"description": "Kimi Code subagents for DeepSeek Harness: all seven ask, review, challenge, rescue, pursue, swarm, and swarm-write operations through the kimi-plugin-cc companion runtime.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/dsh/index.js",
|