patchcord 0.3.90 → 0.3.91
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/bin/patchcord.mjs +8 -0
- package/package.json +1 -1
package/bin/patchcord.mjs
CHANGED
|
@@ -783,6 +783,14 @@ if (!cmd || cmd === "install" || cmd === "agent" || cmd === "--token" || cmd ===
|
|
|
783
783
|
mkdirSync(agDir, { recursive: true });
|
|
784
784
|
writeFileSync(agPath, JSON.stringify(agConfig, null, 2) + "\n");
|
|
785
785
|
console.log(`\n ${green}✓${r} Antigravity configured: ${dim}${agPath}${r}`);
|
|
786
|
+
// Install global skills
|
|
787
|
+
const agSkillDir = join(agDir, "skills", "patchcord");
|
|
788
|
+
const agWaitDir = join(agDir, "skills", "patchcord-wait");
|
|
789
|
+
mkdirSync(agSkillDir, { recursive: true });
|
|
790
|
+
mkdirSync(agWaitDir, { recursive: true });
|
|
791
|
+
cpSync(join(pluginRoot, "skills", "inbox", "SKILL.md"), join(agSkillDir, "SKILL.md"));
|
|
792
|
+
cpSync(join(pluginRoot, "skills", "wait", "SKILL.md"), join(agWaitDir, "SKILL.md"));
|
|
793
|
+
console.log(` ${green}✓${r} Skills installed: ${dim}patchcord${r}, ${dim}patchcord-wait${r}`);
|
|
786
794
|
console.log(` ${yellow}Global config — all Antigravity projects share this agent.${r}`);
|
|
787
795
|
} else if (isVSCode) {
|
|
788
796
|
// VS Code: write .vscode/mcp.json (per-project)
|