docs: SSE keepalive for long tool calls

This commit is contained in:
CRTkafa 2026-10-29 19:06:22 +07:00
parent 9620768897
commit 3b1c6160b5

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.
- 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.