@happyvertical/smrt-app-cli 0.72.0 → 0.73.1

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/AGENTS.md CHANGED
@@ -22,6 +22,10 @@ Application CLI support for SMRT-based apps.
22
22
  `smrt-mcp-bridge` parses argv with `parseMcpBridgeArgs`: empty, missing or
23
23
  repeated value options and an explicit invalid (even empty) path are usage
24
24
  errors (exit 2) — never silently the default.
25
+ - `./mcp-bridge` (`dist/bin/smrt-mcp-bridge.mjs`, `vite.bridge.config.ts`)
26
+ is the `smrt-mcp-bridge` bin with every dependency inlined: a desktop bundle
27
+ ships it byte for byte, so it must import only Node built-ins.
28
+ `postbuild.mjs` runs it alone and fails the build otherwise.
25
29
  - Keep command output stream-injectable so tests can assert behavior without writing to the real terminal.
26
30
 
27
31
  ## Gotchas
package/README.md CHANGED
@@ -217,6 +217,11 @@ app's environment prefix. This Claude Desktop entry is an example:
217
217
  The token is sent only when `<PREFIX>_SERVER_URL` matches the target server.
218
218
  Revoke a token with `smrt app token revoke <id>`.
219
219
 
220
+ For a desktop bundle, `@happyvertical/smrt-app-cli/mcp-bridge`
221
+ (`dist/bin/smrt-mcp-bridge.mjs`) is the same binary as one self-contained
222
+ file that imports only Node built-ins; pass its path to `smrt desktop bundle
223
+ --bridge`.
224
+
220
225
  The package also ships the generic `smrt-mcp-bridge` binary. The remote app
221
226
  surface is typically mounted with
222
227
  [`@happyvertical/smrt-app-mcp`](../smrt-app-mcp/README.md).