Final phase of #2584 (ADR-1239 Codex-binding amendment). execute-phase now negotiates dispatch.isolation and dispatches through the matching adapter, so a wave's independent plans run concurrently on six runtimes instead of one — with no runtime=== branch in the scheduler. harness-worktree passes the host's declared isolation flag (claude, cursor); orchestrator-worktree creates the worktree via the Phase-2 verb and spawns the executor into it with the resolved argv/cwd (codex, opencode, kimi, kimi-code); none stays sequential. Undeclared/unknown/unresolvable isolation degrades to none — never an unisolated parallel run. Fixes two shipped Phase-2 descriptors that per-host research found would fail at spawn: kimi lacked its headless flag (would launch the interactive TUI and hang the orchestrator), and kimi-code named a non-existent binary (Kimi Code installs as 'kimi'). Adds the worktree-path root confinement Phase 2 deferred here, and leading-dash guards on the resolver's prompt/cwd matching the existing git-argument guard. Closes #2627 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
93 lines
2.8 KiB
JSON
93 lines
2.8 KiB
JSON
{
|
|
"id": "kimi-code",
|
|
"role": "runtime",
|
|
"version": "1.8.0",
|
|
"title": "Kimi Code CLI",
|
|
"description": "Kimi Code CLI (Moonshot AI, Node) — Agent Skills auto-discovered at ~/.kimi-code/skills; global AGENTS.md at ~/.kimi-code/AGENTS.md; native config.toml + [[hooks]] bus; three built-in subagents (coder/explore/plan), NO custom named subagents; background dispatch; tier-2 support. Distinct from Python kimi-cli (the 'kimi' capability) per ADR-1239 EoS — Kimi Code cannot dispatch named subagents so the kimi-agents YAML layout does NOT apply; persona injection rides the existing ${AGENT_SKILLS_*} workflow fallback. Install-layout, agent-install-check, and install-time decision (kimi vs kimi-code) land in follow-up PRs; this descriptor is the EoS foundation.",
|
|
"tier": "core",
|
|
"requires": [],
|
|
"engines": {
|
|
"gsd": ">=1.7.0"
|
|
},
|
|
"runtime": {
|
|
"configHome": {
|
|
"kind": "dot-home",
|
|
"name": ".kimi-code",
|
|
"env": [
|
|
"KIMI_CODE_HOME"
|
|
],
|
|
"probe": [
|
|
"~/.kimi-code"
|
|
],
|
|
"probeExists": "config.toml"
|
|
},
|
|
"localConfigDir": ".kimi-code",
|
|
"configFormat": "none",
|
|
"artifactLayout": {
|
|
"global": [
|
|
{
|
|
"kind": "skills",
|
|
"destSubpath": "skills",
|
|
"prefix": "gsd-",
|
|
"nesting": "flat",
|
|
"recursive": false,
|
|
"converter": "convertClaudeCommandToKimiCodeSkill"
|
|
}
|
|
],
|
|
"local": []
|
|
},
|
|
"commandStyle": "slash-hyphen",
|
|
"hooksSurface": "kimi-hooks-toml",
|
|
"hookEvents": "claude",
|
|
"sandboxTier": "none",
|
|
"supportTier": 2,
|
|
"installSurface": "profile-marker-only",
|
|
"writesSharedSettings": false,
|
|
"permissionWriter": null,
|
|
"extendedHookEvents": [
|
|
"SubagentStop",
|
|
"Stop",
|
|
"PreCompact",
|
|
"SubagentStart"
|
|
],
|
|
"hostIntegration": {
|
|
"embeddingMode": "imperative",
|
|
"commandSurface": "slash-file",
|
|
"dispatch": {
|
|
"namedDispatch": false,
|
|
"nested": false,
|
|
"maxDepth": 1,
|
|
"background": true,
|
|
"subagentToolkit": "built-in-only",
|
|
"backgroundDispatch": true,
|
|
"builtInSubagents": [
|
|
"coder",
|
|
"explore",
|
|
"plan"
|
|
],
|
|
"isolation": "orchestrator-worktree"
|
|
},
|
|
"modelMode": "passive",
|
|
"hookBus": "host",
|
|
"stateIO": "filesystem",
|
|
"transport": "mcp",
|
|
"runtime": "node"
|
|
},
|
|
"orchestratorExec": {
|
|
"command": "kimi",
|
|
"args": [],
|
|
"cwdFlag": null,
|
|
"promptFlag": "--prompt"
|
|
},
|
|
"hostBehaviors": {
|
|
"reapplyCommand": "/skill:gsd-update --reapply",
|
|
"localInstallDeferred": true,
|
|
"verificationStyle": "kimi-code",
|
|
"agentManifestStyle": "none",
|
|
"doneBannerStyle": "kimi-code",
|
|
"skipSharedHooksInstall": true,
|
|
"namedSubagentsSupported": false
|
|
}
|
|
}
|
|
}
|