patchcord 0.3.54 → 0.3.56
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 +4 -4
- package/package.json +1 -1
package/bin/patchcord.mjs
CHANGED
|
@@ -717,11 +717,11 @@ if (!cmd || cmd === "install" || cmd === "agent") {
|
|
|
717
717
|
console.log(` ${green}✓${r} Cleaned PATCHCORD_TOKEN from .env`);
|
|
718
718
|
}
|
|
719
719
|
}
|
|
720
|
-
// Slash commands (.codex/prompts/)
|
|
720
|
+
// Slash commands (.codex/prompts/) — plain text, no YAML frontmatter
|
|
721
721
|
const codexPromptsDir = join(codexDir, "prompts");
|
|
722
722
|
mkdirSync(codexPromptsDir, { recursive: true });
|
|
723
|
-
writeFileSync(join(codexPromptsDir, "patchcord.md"),
|
|
724
|
-
|
|
723
|
+
writeFileSync(join(codexPromptsDir, "patchcord.md"), `Check patchcord inbox using the patchcord-codex MCP server. Call patchcord-codex.inbox() to see pending messages and who is online. Reply to all pending messages immediately — do the work first, then reply with what you did. After replying, call patchcord-codex.wait_for_message() to stay responsive for follow-ups. Do NOT use codex_apps tools.\n`);
|
|
724
|
+
writeFileSync(join(codexPromptsDir, "patchcord-wait.md"), `Enter patchcord listening mode using the patchcord-codex MCP server. Call patchcord-codex.wait_for_message() to block until a message arrives. When one arrives, do the work described, reply with what you did, then call patchcord-codex.wait_for_message() again. Do NOT use codex_apps tools.\n`);
|
|
725
725
|
console.log(`\n ${green}✓${r} Codex configured: ${dim}${configPath}${r}`);
|
|
726
726
|
console.log(` ${green}✓${r} Slash commands: ${dim}/patchcord${r}, ${dim}/patchcord-wait${r}`);
|
|
727
727
|
} else {
|
|
@@ -778,7 +778,7 @@ if (!cmd || cmd === "install" || cmd === "agent") {
|
|
|
778
778
|
console.log(` ${dim}cd into another project and run${r} ${bold}npx patchcord@latest${r} ${dim}there.${r}`);
|
|
779
779
|
}
|
|
780
780
|
|
|
781
|
-
console.log(`\n${dim}Restart your ${toolName} session, then
|
|
781
|
+
console.log(`\n${dim}Restart your ${toolName} session, then say:${r} ${bold}check inbox${r}`);
|
|
782
782
|
process.exit(0);
|
|
783
783
|
}
|
|
784
784
|
|