@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.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,34 @@ All notable changes to agent-bridge are documented in this file.
4
4
 
5
5
  The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and the project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [0.7.4] - 2026-07-30
8
+
9
+ ### Fixed
10
+
11
+ - Resolve npm-managed executable symlinks before checking whether the loopback host
12
+ or stdio proxy is the invoked module. Packed-install smoke coverage now invokes
13
+ both public executables.
14
+
15
+ ## [0.7.3] - 2026-07-30
16
+
17
+ ### Added
18
+
19
+ - Add a public loopback Streamable HTTP MCP host for one exact client identity and
20
+ private backend, plus the public Claude Desktop stdio proxy for the same endpoint.
21
+ The macOS lifecycle installer requires a socket-backed health check before a managed
22
+ Codex or Claude Code registration can depend on that endpoint.
23
+
24
+ ### Changed
25
+
26
+ - Make private wrappers optional observation layers. The published Agent Bridge package
27
+ now owns the client-critical HTTP host and its launchd contract omits the macOS
28
+ scheduler hints that can leave Node running without a listening socket.
29
+
30
+ ### Fixed
31
+
32
+ - Keep the native SQLite backup worker termination check bounded while allowing an
33
+ in-flight SQLite backup enough time to release its worker before cleanup proceeds.
34
+
7
35
  ## [0.7.2] - 2026-07-30
8
36
 
9
37
  ### Fixed
package/README.md CHANGED
@@ -45,6 +45,36 @@ Restart the client, then run `agent-bridge doctor --json` if the MCP server does
45
45
  attach. The [troubleshooting guide](docs/troubleshooting.md) covers executable paths,
46
46
  client configuration, and recovery steps.
47
47
 
48
+ ## Long-lived loopback MCP host
49
+
50
+ The normal adapters start Agent Bridge through stdio. A machine with many long-lived
51
+ agent sessions can instead run one public Agent Bridge loopback host for each client
52
+ identity. This reduces duplicate edge-store writers without turning the host into a
53
+ shared identity or credential boundary.
54
+
55
+ On macOS, use the public package to install the host with the backend path and stable
56
+ instance returned by `clients install` or `clients inspect`:
57
+
58
+ ```bash
59
+ agent-bridge-loopback-host --install-launchd \
60
+ --service-name codex \
61
+ --config ~/.agent-bridge/clients/<codex-backend>.config \
62
+ --agent codex \
63
+ --instance <stable-key> \
64
+ --port 8794
65
+ curl --fail http://127.0.0.1:8794/mcp/health
66
+ agent-bridge clients update codex --identity codex --instance <stable-key> \
67
+ --mcp-url http://127.0.0.1:8794/mcp --apply
68
+ ```
69
+
70
+ Run the same command with a distinct service name, backend file, identity, stable
71
+ instance, and port for Claude Code. The readiness check is the health request, not a
72
+ launchd process state or a log line. The launchd contract intentionally omits priority
73
+ and background process hints because macOS can keep a Node process alive without
74
+ letting it bind its socket under those hints. Use `--uninstall-launchd --service-name
75
+ <name> --port <port>` only after the client has moved back to a direct stdio
76
+ registration or another verified host. It waits for the listener to close.
77
+
48
78
  ## Run the gateway with Compose
49
79
 
50
80
  The repository includes a loopback-only Compose stack for development and evaluation.
@@ -539,8 +569,8 @@ agent-bridge clients update claude-code --identity claude-code --instance <stabl
539
569
  --mcp-url http://127.0.0.1:8793/mcp --apply
540
570
  agent-bridge clients update claude-desktop --identity claude-desktop --instance <stable-key> \
541
571
  --mcp-url http://127.0.0.1:8791/mcp \
542
- --proxy-command /absolute/path/to/node \
543
- --proxy-args-json '["/absolute/path/to/stdio-http-proxy.js","--transport","stdio-http-proxy","--endpoint","http://127.0.0.1:8791/mcp"]' \
572
+ --proxy-command "$(command -v agent-bridge-stdio-http-proxy)" \
573
+ --proxy-args-json '["--endpoint","http://127.0.0.1:8791/mcp"]' \
544
574
  --apply
545
575
  agent-bridge clients repair codex --identity codex --instance <stable-key> \
546
576
  --apply --resume <operation-uuid>
@@ -568,8 +598,9 @@ stays in place because it remains lifecycle and rollback authority even though t
568
598
  native HTTP registration does not receive backend environment variables.
569
599
 
570
600
  Claude Desktop represents the endpoint as stdio. For that runtime, `--mcp-url`
571
- requires an existing absolute `--proxy-command`. `--proxy-args-json` must be a JSON
572
- array of strings. The arguments must contain the exact endpoint and cannot contain
601
+ requires the public absolute `agent-bridge-stdio-http-proxy` command.
602
+ `--proxy-args-json` must be a JSON array of strings. The arguments must contain the
603
+ exact endpoint and cannot contain
573
604
  credential-like flags or values. Claude Desktop replaces only `mcpServers.agent-bridge`,
574
605
  preserves unrelated JSON values in memory, publishes through a private operation-scoped
575
606
  temporary file, and verifies the new entry. Node cannot provide an OS transaction with
package/ROADMAP.md CHANGED
@@ -17,6 +17,9 @@ published and the supported clients pass a fresh end-to-end check.
17
17
  proxy launch for its loopback endpoint. The update preserves backend credentials,
18
18
  upgrades v1 managed metadata to a versioned target contract, and keeps restart and
19
19
  rollback classification intact.
20
+ - The published package can own one socket-checked loopback MCP host per client
21
+ identity. macOS lifecycle installation stays in the public package, and private
22
+ observation wrappers are no longer a client availability dependency.
20
23
 
21
24
  ### Released by 0.3.1
22
25
 
package/SKILL.md CHANGED
@@ -107,6 +107,12 @@ the Agent Bridge entry and retain unrelated JSON values in memory. It publishes
107
107
  a private operation-scoped temporary file. A concurrent same-user Desktop writer can
108
108
  still race this advisory single-file update because Node cannot provide an OS transaction.
109
109
 
110
+ For a long-lived HTTP target, run the public `agent-bridge-loopback-host` with the
111
+ same private backend path, identity, and stable instance that the managed registration
112
+ records. On macOS, `--install-launchd` writes the public lifecycle contract. Verify
113
+ `/mcp/health` before applying a client update. A private wrapper may observe this host,
114
+ but must never be the only client route.
115
+
110
116
  Use `clients uninstall <runtime> --identity <name> --instance <key>` to preview a
111
117
  forward-only removal. With `--apply`, it proves and removes the managed registration,
112
118
  deletes the already private backend file, then deletes metadata. It refuses a backend