patchcord 0.3.73 → 0.3.74
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 +9 -0
- package/package.json +1 -1
package/bin/patchcord.mjs
CHANGED
|
@@ -828,6 +828,15 @@ if (!cmd || cmd === "install" || cmd === "agent" || cmd === "--token" || cmd ===
|
|
|
828
828
|
writeFileSync(mcpPath, JSON.stringify(mcpConfig, null, 2) + "\n");
|
|
829
829
|
}
|
|
830
830
|
console.log(`\n ${green}✓${r} Claude Code configured: ${dim}${mcpPath}${r}`);
|
|
831
|
+
|
|
832
|
+
// Enable patchcord statusline (agent identity + inbox count in status bar)
|
|
833
|
+
try {
|
|
834
|
+
const enableScript = join(pluginRoot, "scripts", "enable-statusline.sh");
|
|
835
|
+
if (existsSync(enableScript)) {
|
|
836
|
+
execSync(`bash "${enableScript}" --full`, { stdio: "ignore" });
|
|
837
|
+
console.log(` ${green}✓${r} Statusline enabled`);
|
|
838
|
+
}
|
|
839
|
+
} catch {}
|
|
831
840
|
}
|
|
832
841
|
|
|
833
842
|
// Warn about gitignore for per-project configs with tokens
|