fix(setup): install the skill for Claude Code

This commit is contained in:
morluto
2026-10-10 02:49:46 +08:00
parent ed8fcae94b
commit b4a19193fe
15 changed files with 484 additions and 148 deletions
+1 -1
View File
@@ -18,6 +18,7 @@ import { setupRegistrationCommand } from "./SetupHost.js";
export class FakeSetupHost implements SetupHost {
readonly platform: NodeJS.Platform;
readonly homeDirectory = "/fixture/home";
readonly claudeCodeSkillsDirectory = "/fixture/home/.claude/skills";
readonly registrationCommand: readonly string[];
nodeVersion = "24.18.0";
version: string | undefined = "14.5";
@@ -186,7 +187,6 @@ export class FakeSetupHost implements SetupHost {
skill: {
installed_version: null,
installed_tool_count: null,
installed_catalog_digest: null,
state: this.skill === "unchanged" ? "aligned" : "missing",
remediation: null,
},