Uh oh!
There was an error while loading. Please reload this page.
fix(cli): declare the transcript viewer's mid-turn disposition - #3485
fix(cli): declare the transcript viewer's mid-turn disposition#3485Astro-Han wants to merge 1 commit into
Conversation
`MakaSlashCommand.midTurn` became required so every handler states whether
it is safe to run while a turn is in flight. `/transcript` landed in
parallel and never got an answer, so `main` no longer typechecks:
pi-tui-runner.ts: error TS2741: Property 'midTurn' is missing in type
'{ description: string; run: (parts: string[]) => void; }'
The viewer is a full-screen overlay over the same TUI the running turn
paints into — the picker case `'refuse'` exists for — so that is its
answer.
Generated-by: Claude CodeAstro-Han
commented
Aug 22, 2026
Superseded by #3459, which landed the same declaration on One correction worth recording for anyone who hits this next: the value that landed is Review assisted by AI (Claude Opus 5). |
Summary
maindoes not typecheck.MakaSlashCommand.midTurnbecame required so every handler has to state whether it is safe to run while a turn is in flight;/transcript(#2999) landed in parallel and never got an answer:Neither PR was wrong on its own — the conflict is semantic, so both merged green and
mainbroke. The viewer is a full-screen overlay over the same TUI the running turn paints into, which is the picker case'refuse'exists for, so that is its declared answer.Refs #2999
Verification
npm run build— passes with this change, fails onmainwithout itnpm run format:check— cleannpm test --workspace maka-agent— 371 pass, 0 failAI use
Select exactly one:
Tool(s) and scope: Claude Code diagnosed the cross-PR type break and wrote the one-line declaration and its comment. The human contributor reviewed the diff and the disposition choice.
Checklist
The compiler is the test:
mainfails to build without this change.Does this PR entail a change in behavior?
/transcriptis now refused mid-turn instead of opening over a running turn.