mcp --http: SSE keepalive for long tool calls; public App Store search shares one 20-a-minute budget

This commit is contained in:
CRTkafa 2026-10-29 19:05:53 +07:00
parent c500866295
commit 9620768897
6 changed files with 65 additions and 4 deletions

View file

@ -56,6 +56,9 @@ refused unless `--allow-origin` names it.
scope; docs/credential-broker.md). They reach each tool call as `STOREBOUND_PROFILE_<NAME>_*` env, held in memory for
10 minutes and never written. A project picks its profile as usual (the config's `account`).
- `project` may also be a folder name under the roots (a shared server keeps its checkouts there).
- Long calls: a `tools/call` whose request accepts `text/event-stream` is answered as SSE, with a comment line every
20 s until the result arrives as one `message` event, so a proxy that cuts silent responses (Cloudflare: 100 s)
keeps the connection. Other requests get plain JSON.
- `/health` answers `{ ok, version }` without auth.