patchcord 0.5.52 → 0.5.54

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
@@ -71,10 +71,9 @@ if (cmd === "help" || cmd === "--help" || cmd === "-h") {
71
71
 
72
72
  Usage:
73
73
  patchcord Setup via browser (patchcord.dev)
74
- patchcord --token <token> CI / headless setup (no browser)
75
- patchcord --token <token> --server <url> Self-hosted server setup
74
+ patchcord --token <token> [--server <url>] Headless / self-hosted setup
76
75
  patchcord --full Same + full statusline
77
- patchcord --rename <new-name> [--tool <slug>] Rename this agent (paste from dashboard)
76
+ patchcord --rename <new-name> [--agent-type <type>] Rename this agent
78
77
  patchcord subscribe Start the realtime listener
79
78
  patchcord update Update to the latest version
80
79
  patchcord --version Show installed version
@@ -120,7 +119,7 @@ if (cmd === "subscribe") {
120
119
  const newName = (process.argv[renameIdx + 1] || "").trim().toLowerCase();
121
120
  const expectIdx = process.argv.indexOf("--expect-token");
122
121
  const expectPrefix = expectIdx !== -1 ? (process.argv[expectIdx + 1] || "").trim() : "";
123
- const toolIdx = process.argv.indexOf("--tool");
122
+ const toolIdx = process.argv.indexOf("--tool") !== -1 ? process.argv.indexOf("--tool") : process.argv.indexOf("--agent-type");
124
123
  const tool = toolIdx !== -1 ? (process.argv[toolIdx + 1] || "").trim().toLowerCase() : "";
125
124
 
126
125
  if (!newName || !/^[a-z][a-z0-9-]{1,49}$/.test(newName)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "patchcord",
3
- "version": "0.5.52",
3
+ "version": "0.5.54",
4
4
  "description": "Cross-machine agent messaging for Claude Code and Codex",
5
5
  "author": "ppravdin",
6
6
  "license": "MIT",