feat: warm-pool ACP sessions and stage TTFT timings

Pre-bootstrap two cursor-agent processes so createSession skips spawn/initialize on the hot path, open SSE before session setup, and log per-stage durations for first-token diagnosis.
This commit is contained in:
Ubuntu
2026-11-06 08:32:36 +00:00
parent c7b0d19bfc
commit 95e6a5f97e
6 changed files with 406 additions and 51 deletions
@@ -86,6 +86,8 @@ spec:
value: "120000"
- name: PROXY_MAX_CONCURRENT_SESSIONS
value: "4"
- name: PROXY_WARM_POOL_SIZE
value: "2"
- name: ACP_REQUEST_TIMEOUT_MS
value: "1500000"
- name: PROXY_INTERNAL_TOKEN