patchcord 0.3.34 → 0.3.35

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 CHANGED
@@ -149,6 +149,7 @@ if (!cmd || cmd === "install" || cmd === "agent") {
149
149
  if (existsSync(join(process.env.HOME || "", ".gemini"))) {
150
150
  const geminiSkillDir = join(process.env.HOME || "", ".gemini", "skills", "patchcord");
151
151
  const geminiWaitDir = join(process.env.HOME || "", ".gemini", "skills", "patchcord-wait");
152
+ const geminiCmdDir = join(process.env.HOME || "", ".gemini", "commands");
152
153
  let geminiChanged = false;
153
154
  if (!existsSync(geminiSkillDir)) {
154
155
  mkdirSync(geminiSkillDir, { recursive: true });
@@ -160,7 +161,13 @@ if (!cmd || cmd === "install" || cmd === "agent") {
160
161
  cpSync(join(pluginRoot, "skills", "wait", "SKILL.md"), join(geminiWaitDir, "SKILL.md"));
161
162
  geminiChanged = true;
162
163
  }
163
- if (geminiChanged) globalChanges.push("Gemini CLI skills installed");
164
+ if (!existsSync(join(geminiCmdDir, "patchcord.toml"))) {
165
+ mkdirSync(geminiCmdDir, { recursive: true });
166
+ cpSync(join(pluginRoot, "commands", "patchcord.toml"), join(geminiCmdDir, "patchcord.toml"));
167
+ cpSync(join(pluginRoot, "commands", "patchcord-wait.toml"), join(geminiCmdDir, "patchcord-wait.toml"));
168
+ geminiChanged = true;
169
+ }
170
+ if (geminiChanged) globalChanges.push("Gemini CLI skills + commands installed");
164
171
  }
165
172
 
166
173
  // Codex CLI
@@ -0,0 +1 @@
1
+ prompt = "Enter listening mode. Call wait_for_message() to block until a message arrives. When one arrives: do the work, reply with what you did, then call wait_for_message() again to keep listening."
@@ -0,0 +1 @@
1
+ prompt = "Call inbox() to check for pending patchcord messages. Reply to all immediately — do the work first, then reply with what you did. After replying, call wait_for_message() to stay responsive."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "patchcord",
3
- "version": "0.3.34",
3
+ "version": "0.3.35",
4
4
  "description": "Cross-machine agent messaging for Claude Code and Codex",
5
5
  "author": "ppravdin",
6
6
  "license": "MIT",
@@ -26,6 +26,7 @@
26
26
  "hooks/",
27
27
  "scripts/",
28
28
  "skills/",
29
+ "commands/",
29
30
  "README.md"
30
31
  ]
31
32
  }