mirror of
https://github.com/stablyai/orca.git
synced 2026-11-19 04:23:57 +00:00
* feat(orcad): gate agent launches on accounts and cancel feature waits for departed callers requires: may read the parsed params, so terminal.create and session.tabs.createTerminal wait on accounts only when they start an agent; plain shells stay ungated. createAgentSession, ensureAgentSession, agentSession.create, agent.launch (unless it reuses a terminal), git.generateCommitMessage and the worker-launching orchestration methods also wait on accounts. The feature wait races the request signal and the connection close and refuses without running the handler. * feat(orcad): gate terminal.ensureAgentSession only for explicit launches An attach to an existing session is restore latency and needs no fresh account state; only kind 'explicit' may start an agent. * test: reset orcad feature readiness after every unit test A startOrcad test that fails partway left latches closed, so later tests in the same worker could wait 10 s on a gated method.