patchcord 0.5.12 → 0.5.13

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 push delivery. Messages from other agents arrive as native channel notifications.",
4
- "version": "0.5.12",
4
+ "version": "0.5.13",
5
5
  "author": {
6
6
  "name": "ppravdin"
7
7
  },
package/bin/patchcord.mjs CHANGED
@@ -77,7 +77,11 @@ if (cmd === "plugin-path") {
77
77
  }
78
78
 
79
79
  // ── main flow: global setup + project setup (or just install/agent for back-compat) ──
80
- if (!cmd || cmd === "install" || cmd === "agent" || cmd === "--token" || cmd === "--no-browser" || cmd === "--server") {
80
+ // Any --flag enters this branch so equals-form (--token=foo, --tool=foo, --server=foo)
81
+ // works the same as the space-form (--token foo). The internal flag parsing below
82
+ // supports both. Non-flag commands (channel, init, skill, help, plugin-path) have
83
+ // their own branches above and below.
84
+ if (!cmd || cmd === "install" || cmd === "agent" || cmd?.startsWith("--")) {
81
85
  const flags = cmd?.startsWith("--") ? process.argv.slice(2) : process.argv.slice(3);
82
86
  const fullStatusline = flags.includes("--full");
83
87
  let wasPluginInstalled = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "patchcord",
3
- "version": "0.5.12",
3
+ "version": "0.5.13",
4
4
  "description": "Cross-machine agent messaging for Claude Code and Codex",
5
5
  "author": "ppravdin",
6
6
  "license": "MIT",