feat(tui): add internal debug frames#30269
Draft
kitlangton wants to merge 2 commits into
Draft
Conversation
deb5254 to
cde5c1e
Compare
This was referenced Jun 1, 2026
fe43cd4 to
1cd69cb
Compare
dd4a996 to
7fd2b7e
Compare
1cd69cb to
a7a58c9
Compare
7fd2b7e to
5519620
Compare
a7a58c9 to
856bcbb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--debug-scenarioand--debug-frame; debug frames require--pureand do not start the normal worker/server transportsubagent-lifecycleframes for foreground running, active background, retrying, failed, and completed subagent statesUsage
Design Boundaries
text,tool, andsubagentparts); the transport compiler generates SDK-shaped sessions/messages/status responses.devafter the lower stack lands.Verification
bunx prettier --check src/cli/cmd/tui/thread.ts src/cli/cmd/tui/debug/frame.ts test/cli/tui/debug-frame.test.tsbun run test -- test/cli/tui/inline-tool-wrap-snapshot.test.tsx test/cli/tui/debug-frame.test.ts(14 pass,6 snapshots)bun typecheckfrompackages/opencodebun turbo typecheckcellshotrenders for running, active-background, retrying, failed, and completed frames; narrow retry render verifies status-prefix wrapping--pureis rejectedgit diff --checkScoped
oxlintcannot currently run because the existing.oxlintrc.jsonon the base branch is rejected before source analysis due to duplicate/invalidoptions.typeAwareplacement.