patchcord 0.3.50 → 0.3.51

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.
Files changed (2) hide show
  1. package/bin/patchcord.mjs +10 -18
  2. package/package.json +1 -1
package/bin/patchcord.mjs CHANGED
@@ -543,15 +543,11 @@ if (!cmd || cmd === "install" || cmd === "agent") {
543
543
  const cursorConfig = {
544
544
  mcpServers: {
545
545
  patchcord: {
546
- command: "npx",
547
- args: [
548
- "-y", "mcp-remote",
549
- `${serverUrl}/mcp`,
550
- "--header",
551
- `Authorization: Bearer ${token}`,
552
- "--header",
553
- `X-Patchcord-Machine: ${hostname}`,
554
- ],
546
+ url: `${serverUrl}/mcp/bearer`,
547
+ headers: {
548
+ Authorization: `Bearer ${token}`,
549
+ "X-Patchcord-Machine": hostname,
550
+ },
555
551
  },
556
552
  },
557
553
  };
@@ -576,15 +572,11 @@ if (!cmd || cmd === "install" || cmd === "agent") {
576
572
  const wsConfig = {
577
573
  mcpServers: {
578
574
  patchcord: {
579
- command: "npx",
580
- args: [
581
- "-y", "mcp-remote",
582
- `${serverUrl}/mcp`,
583
- "--header",
584
- `Authorization: Bearer ${token}`,
585
- "--header",
586
- `X-Patchcord-Machine: ${hostname}`,
587
- ],
575
+ url: `${serverUrl}/mcp/bearer`,
576
+ headers: {
577
+ Authorization: `Bearer ${token}`,
578
+ "X-Patchcord-Machine": hostname,
579
+ },
588
580
  },
589
581
  },
590
582
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "patchcord",
3
- "version": "0.3.50",
3
+ "version": "0.3.51",
4
4
  "description": "Cross-machine agent messaging for Claude Code and Codex",
5
5
  "author": "ppravdin",
6
6
  "license": "MIT",