@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/index.mjs CHANGED
@@ -4870,6 +4870,12 @@ async function runOneTunnel(opts, gateway, signal) {
4870
4870
  sink,
4871
4871
  label: opts.label,
4872
4872
  pty: false,
4873
+ // Generic HTTP-relay upstream for tunnel `http_request` frames.
4874
+ // Cloud-side callers (e.g. the API's local-daemon filesystem
4875
+ // provider) can now route MCP JSON-RPC + any other HTTP through
4876
+ // the daemon without needing a public URL. We point at the local
4877
+ // gateway since that's where `/mcp`, `/sessions`, `/events` live.
4878
+ httpUpstream: gateway.url,
4873
4879
  // v0 authorize hook: trust the bearer-authenticated host completely.
4874
4880
  // Token possession proves the host was provisioned for this daemon.
4875
4881
  // Per-spawn policy filtering will land alongside the policy.toml.