patchcord 0.3.21 → 0.3.23

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "patchcord",
3
3
  "description": "Cross-machine agent messaging with auto-inbox checking. Agents automatically respond to messages from other agents without human intervention.",
4
- "version": "0.3.21",
4
+ "version": "0.3.23",
5
5
  "author": {
6
6
  "name": "ppravdin"
7
7
  },
package/bin/patchcord.mjs CHANGED
@@ -48,6 +48,15 @@ if (!cmd || cmd === "install" || cmd === "agent") {
48
48
  Messenger for AI agents.
49
49
  `);
50
50
 
51
+ const dim = "\x1b[2m";
52
+ const green = "\x1b[32m";
53
+ const red = "\x1b[31m";
54
+ const cyan = "\x1b[36m";
55
+ const yellow = "\x1b[33m";
56
+ const white = "\x1b[37m";
57
+ const bold = "\x1b[1m";
58
+ const r = "\x1b[0m";
59
+
51
60
  // ── Global setup (silent if nothing changed) ──
52
61
  let globalChanges = [];
53
62
 
@@ -99,6 +108,15 @@ if (!cmd || cmd === "install" || cmd === "agent") {
99
108
  }
100
109
  }
101
110
 
111
+ // Cursor
112
+ const cursorSkillDir = join(process.env.HOME || "", ".cursor", "skills-cursor", "patchcord");
113
+ const cursorSkillsRoot = join(process.env.HOME || "", ".cursor", "skills-cursor");
114
+ if (existsSync(cursorSkillsRoot) && !existsSync(cursorSkillDir)) {
115
+ mkdirSync(cursorSkillDir, { recursive: true });
116
+ cpSync(join(pluginRoot, "skills", "inbox", "SKILL.md"), join(cursorSkillDir, "SKILL.md"));
117
+ globalChanges.push("Cursor skill installed");
118
+ }
119
+
102
120
  // Codex CLI
103
121
  const codexConfig = join(process.env.HOME || "", ".codex", "config.toml");
104
122
  if (existsSync(codexConfig)) {
@@ -129,14 +147,6 @@ if (!cmd || cmd === "install" || cmd === "agent") {
129
147
  const rl = createInterface({ input: process.stdin, output: process.stdout });
130
148
  const ask = (q) => new Promise((resolve) => rl.question(q, resolve));
131
149
 
132
- const dim = "\x1b[2m";
133
- const green = "\x1b[32m";
134
- const red = "\x1b[31m";
135
- const cyan = "\x1b[36m";
136
- const white = "\x1b[37m";
137
- const bold = "\x1b[1m";
138
- const r = "\x1b[0m";
139
-
140
150
  // Project directory confirmation
141
151
  console.log(`\n${dim}Project folder:${r} ${bold}${cwd}${r}`);
142
152
  console.log(`${dim}Patchcord config will be created here. Run this in your project folder.${r}`);
@@ -161,7 +171,6 @@ if (!cmd || cmd === "install" || cmd === "agent") {
161
171
  process.exit(1);
162
172
  }
163
173
 
164
- const yellow = "\x1b[33m";
165
174
 
166
175
  // Check if already configured
167
176
  if (!isCodex) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "patchcord",
3
- "version": "0.3.21",
3
+ "version": "0.3.23",
4
4
  "description": "Cross-machine agent messaging for Claude Code and Codex",
5
5
  "author": "ppravdin",
6
6
  "license": "MIT",