fix(cli): harden setup and destructive workflows

This commit is contained in:
N0zoM1z0
2026-07-14 20:32:18 +00:00
parent bf9619267b
commit c240ae19c6
13 changed files with 351 additions and 53 deletions
+11 -6
View File
@@ -5,6 +5,7 @@ export const setupPlan = (
platform: NodeJS.Platform,
installHopper: boolean,
clients: readonly SetupClient[],
installSkill: boolean,
): readonly SetupAction[] => [
...(installHopper
? [
@@ -32,10 +33,14 @@ export const setupPlan = (
external: false,
}),
),
{
kind: "install_skill",
target: "~/.agents/skills/rea-analysis/SKILL.md",
detail: "Install or update the bundled REA analysis skill.",
external: false,
},
...(installSkill
? [
{
kind: "install_skill" as const,
target: "~/.agents/skills/rea-analysis/SKILL.md",
detail: "Install or update the bundled REA analysis skill.",
external: false,
},
]
: []),
];