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.
- package/bin/patchcord.mjs +10 -18
- 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
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
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
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
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
|
};
|