patchcord 0.5.79 → 0.5.80

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
@@ -473,12 +473,19 @@ if (cmd === "subscribe") {
473
473
  // Kimi CLI uses polling instead of WebSocket realtime.
474
474
  // Force Kimi mode with --kimi flag, or auto-detect from bearer config.
475
475
  let isKimi = forceKimi;
476
+ let bearerInfo = null;
476
477
  if (!isKimi) {
477
- const bearerInfo = await _resolveBearer();
478
+ bearerInfo = await _resolveBearer();
478
479
  isKimi = bearerInfo?.tool === "kimi";
479
480
  }
480
481
 
481
482
  if (isKimi) {
483
+ // Remove old combined skill so only patchcord:inbox/subscribe/wait appear
484
+ const oldKimiSkillDir = join(HOME, ".kimi", "skills", "patchcord");
485
+ if (existsSync(oldKimiSkillDir)) {
486
+ try { rmSync(oldKimiSkillDir, { recursive: true, force: true }); } catch {}
487
+ }
488
+
482
489
  const kimiSubScript = join(HOME, ".kimi", "patchcord-subscribe.sh");
483
490
  if (!existsSync(kimiSubScript)) {
484
491
  console.error(`Kimi subscribe script not found at ${kimiSubScript}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "patchcord",
3
- "version": "0.5.79",
3
+ "version": "0.5.80",
4
4
  "description": "Cross-machine agent messaging for Claude Code and Codex",
5
5
  "author": "ppravdin",
6
6
  "license": "MIT",