feat(01-03): implement Kimi paths layout and local guard

- Resolve Kimi global skills under the generic agents path
- Add empty Kimi layout placeholder and local install no-op guard
- Keep selection/path tests aligned without Kimi skill conversion
This commit is contained in:
Viktorplus
2026-06-06 13:17:56 +02:00
parent 0d456d4bb0
commit 58626283b2
6 changed files with 122 additions and 68 deletions

View File

@@ -167,7 +167,7 @@ function findAgentsSourceRoot(runtimeConfigDir?: string): string {
const ALLOWED_RUNTIMES = new Set([
'claude', 'cursor', 'gemini', 'codex', 'copilot', 'antigravity',
'windsurf', 'augment', 'trae', 'qwen', 'hermes', 'codebuddy',
'cline', 'opencode', 'kilo',
'cline', 'kimi', 'opencode', 'kilo',
]);
// ---------------------------------------------------------------------------
@@ -304,6 +304,12 @@ function resolveRuntimeArtifactLayout(runtime: string, configDir: string, scope:
kinds = [];
break;
case 'kimi':
// Phase 1 skeleton only: Kimi is recognized by the layout seam, but
// SKILL.md conversion and local project semantics are deferred.
kinds = [];
break;
case 'opencode':
kinds = [commandsKind('command', 'gsd-', configDir)];
break;