patchcord 0.5.94 → 0.5.95

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
@@ -1949,7 +1949,10 @@ if (!cmd || cmd === "install" || cmd === "agent" || cmd?.startsWith("--")) {
1949
1949
  const kcOk = updateJsonConfig(kcPath, (obj) => {
1950
1950
  obj.mcpServers = obj.mcpServers || {};
1951
1951
  obj.mcpServers.patchcord = {
1952
- url: `${serverUrl}/mcp`,
1952
+ // Kimi Code does RFC-9728 OAuth discovery on /mcp and drops the static
1953
+ // bearer header. The /mcp/bearer path serves resource metadata with no
1954
+ // authorization_servers, so the client skips OAuth and sends the header.
1955
+ url: `${serverUrl}/mcp/bearer`,
1953
1956
  headers: {
1954
1957
  Authorization: `Bearer ${token}`,
1955
1958
  "X-Patchcord-Machine": hostname,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "patchcord",
3
- "version": "0.5.94",
3
+ "version": "0.5.95",
4
4
  "description": "Cross-machine agent messaging for Claude Code and Codex",
5
5
  "author": "ppravdin",
6
6
  "license": "MIT",