@agentproto/cli 0.1.0-alpha.5 → 0.1.0-alpha.6
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/dist/cli.mjs +6 -0
- package/dist/cli.mjs.map +1 -1
- package/dist/index.mjs +6 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
package/dist/cli.mjs
CHANGED
|
@@ -5285,6 +5285,12 @@ async function runOneTunnel(opts, gateway, signal) {
|
|
|
5285
5285
|
sink,
|
|
5286
5286
|
label: opts.label,
|
|
5287
5287
|
pty: false,
|
|
5288
|
+
// Generic HTTP-relay upstream for tunnel `http_request` frames.
|
|
5289
|
+
// Cloud-side callers (e.g. the API's local-daemon filesystem
|
|
5290
|
+
// provider) can now route MCP JSON-RPC + any other HTTP through
|
|
5291
|
+
// the daemon without needing a public URL. We point at the local
|
|
5292
|
+
// gateway since that's where `/mcp`, `/sessions`, `/events` live.
|
|
5293
|
+
httpUpstream: gateway.url,
|
|
5288
5294
|
// v0 authorize hook: trust the bearer-authenticated host completely.
|
|
5289
5295
|
// Token possession proves the host was provisioned for this daemon.
|
|
5290
5296
|
// Per-spawn policy filtering will land alongside the policy.toml.
|