@creatornader/agent-bridge 0.7.2 → 0.7.4

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.
@@ -48,6 +48,24 @@ another client's identity or backend file into the entry.
48
48
 
49
49
  ## Move a managed client to a local MCP HTTP host
50
50
 
51
+ The public package owns the long-lived host. Do not depend on a wrapper from another
52
+ repository for normal MCP availability. On macOS, install the host for one exact client
53
+ identity and prove the listening socket before changing that client's registration:
54
+
55
+ ```bash
56
+ agent-bridge-loopback-host --install-launchd \
57
+ --service-name codex \
58
+ --config ~/.agent-bridge/clients/<codex-backend>.config \
59
+ --agent codex --instance <stable-key> --port 8794
60
+ curl --fail http://127.0.0.1:8794/mcp/health
61
+ ```
62
+
63
+ The install returns success only after it receives a healthy HTTP response from the
64
+ new listener. Each host receives one private backend file, identity, and stable
65
+ instance. Do not point several identities at one host process.
66
+ The generated plist omits `ProcessType` and `LowPriorityIO`; these macOS hints have
67
+ previously left a Node process running without a bound socket.
68
+
51
69
  Preview the update first. Add `--apply` only after the plan names the expected
52
70
  registration and metadata steps:
53
71
 
@@ -64,8 +82,8 @@ Claude Desktop needs a stdio proxy because its managed entry remains a process l
64
82
  agent-bridge clients update claude-desktop \
65
83
  --identity claude-desktop --instance <stable-key> \
66
84
  --mcp-url http://127.0.0.1:8791/mcp \
67
- --proxy-command /absolute/path/to/node \
68
- --proxy-args-json '["/absolute/path/to/stdio-http-proxy.js","--transport","stdio-http-proxy","--endpoint","http://127.0.0.1:8791/mcp"]'
85
+ --proxy-command "$(command -v agent-bridge-stdio-http-proxy)" \
86
+ --proxy-args-json '["--endpoint","http://127.0.0.1:8791/mcp"]'
69
87
  ```
70
88
 
71
89
  The endpoint must use plain HTTP on `127.0.0.1`, `localhost`, or `::1`, include an
@@ -74,6 +92,10 @@ rejected. The update does not delete or rewrite the private backend file. A fail
74
92
  update can resume from its operation UUID, and a committed update can be reversed with
75
93
  `clients rollback`.
76
94
 
95
+ An optional observer installed outside Agent Bridge must not be the only route to a
96
+ public host. If it becomes unhealthy, keep clients on the public host and inspect the
97
+ observer separately.
98
+
77
99
  ## The executable is missing
78
100
 
79
101
  Install the published package globally, then repeat the normal client installation:
package/llms.txt CHANGED
@@ -49,6 +49,9 @@ services can call the CLI or HTTPS API or embed the Node library without a host
49
49
  - agent-bridge clients adopt <runtime> --identity <principal> --instance <stable-key> --backend-config <absolute path> [--apply]
50
50
  - agent-bridge clients repair <runtime> --identity <principal> --instance <stable-key> [--apply] [--resume <uuid>] [--recover-lock]
51
51
  - agent-bridge clients update <runtime> --identity <principal> --instance <stable-key> [--command <command> | --mcp-url <loopback-url>] [--proxy-command <command> --proxy-args-json <json-array>] [--apply] [--resume <uuid>] [--recover-lock]
52
+ - agent-bridge-loopback-host [--host 127.0.0.1] [--port <port>] [--path /mcp]: public long-lived MCP host for one client identity.
53
+ - agent-bridge-loopback-host --install-launchd --service-name <name> --config <private-backend> --agent <identity> --instance <stable-key> --port <port>: macOS lifecycle install. Prove /mcp/health before routing a client to it.
54
+ - agent-bridge-stdio-http-proxy --endpoint http://127.0.0.1:<port>/mcp: public stdio bridge for a Claude Desktop loopback target.
52
55
  - agent-bridge clients uninstall <runtime> --identity <principal> --instance <stable-key> [--apply] [--resume <uuid>] [--recover-lock]
53
56
  - agent-bridge clients rollback <update-operation-id> --identity <principal> [--apply] [--recover-lock]
54
57
  - agent-bridge clients migrate stage <runtime> --identity <principal> --instance <stable-key> --enrollment-file <private-path> [--apply] [--recover-lock]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@creatornader/agent-bridge",
3
- "version": "0.7.2",
3
+ "version": "0.7.4",
4
4
  "description": "Let AI agents message each other and hand off work across tools, sessions, and machines.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -20,6 +20,8 @@
20
20
  "bin": {
21
21
  "agent-bridge": "bin/agent-bridge",
22
22
  "agent-bridge-mcp": "dist/index.js",
23
+ "agent-bridge-loopback-host": "dist/loopback-host.js",
24
+ "agent-bridge-stdio-http-proxy": "dist/stdio-http-proxy.js",
23
25
  "agent-bridge-gateway": "dist/gateway-main.js"
24
26
  },
25
27
  "files": [