mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-19 11:26:02 +00:00
A preset that declares `transport: "acp"` is driven by the protocol instead of by parsing stdout: the session id comes from `session/new`, the activity line and the answer come from `session/update`, and the turn ends with a stop reason rather than an exit code that has to be guessed at. Everything downstream is unchanged — the same overlay contract, the same activity shape, the same run log — because it is the same product behaviour over a different wire. The native path is untouched. An agent that fails answers with something as terse as "Internal error" and explains itself on stderr, so stderr is kept and the last line of it is what the run reports. Verified against @agentclientprotocol/codex-acp: a real edit ran with live activity, changed the file, and logged a well-formed line.