Repository navigation
feat(native): complete TR-CMDOUT and TR-INSPECT parity - #373
Merged
Merged
Conversation
Expand shell heredoc filename/lexer parity against Pierre diffs, clear outer shell string colors on all unbundled embedded languages, align command-output truncation styling, route inspector structured code/JSON blocks through web syntax roles, add Reasoning inspector card rendering and tool-output gallery scope, and mark TR-CMDOUT/TR-INSPECT done in LEDGER.md. Model/harness: Antigravity / Gemini
This was referenced Nov 14, 2026
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.
Closes the remaining Wave Q7 parity gaps for
TR-CMDOUTandTR-INSPECTinapps/native.Changes
apps/native/crates/core/src/shell_command.rs: Restrictcatheredoc target inference to stdout redirections (>,>>,>|,&>,&>>) so stdin redirects do not trigger filename lexing, and expandfile_languageacross@pierre/diffsEXTENSION_TO_FILE_FORMATexact basenames, compound suffixes, case-sensitive extensions, and GPUI grammar aliases.apps/native/crates/app/src/transcript/command_output.rs: Exportresolve_syntax_style/CommandStyleResolver, replace the 3-language plain-text list with a generalLanguageRegistry::singleton().language(language).is_none()default run so all unbundled languages clear outer shell string coloring, and alignEarlier output not shownstyling (11px, italic, muted foreground,4pxbottom margin).apps/native/crates/app/src/transcript/media.rs: Addtool_output_image_galleryusingMediaViewer::open_with_scopeso tool output image thumbnails open in a gallery scoped to all images in that tool call at the clicked index.apps/native/crates/app/src/transcript/inspector.rs: Route structuredRuns::CodeandRuns::Jsonhighlights throughresolve_syntax_style/CommandStyleResolverfor full web syntax role colors (function.method.call, etc.), addTurnItemKind::Reasoningcard rendering and budget accounting, and usetool_output_image_galleryforCallPart::Images.apps/native/parity/LEDGER.md: MarkTR-CMDOUTandTR-INSPECTasdone(#244).Verification
cargo clippy --manifest-path apps/native/Cargo.toml --workspace --all-targets -- -D warnings: passed (0 warnings/errors).cargo test --manifest-path apps/native/Cargo.toml -p t3-core -p t3-client:t3-core1385 passed +conformance.rs8 passed;t3-client110 passed.cargo test --manifest-path apps/native/Cargo.toml -p t3-native -- transcript::command_output transcript::inspector transcript::media selectable_text --test-threads=1: 31 passed; 0 failed.node --test apps/native/parity/sync.test.ts: 42 passed; 0 failed.vp fmt --checkonapps/native/parity/LEDGER.md: passed.1440x900--snapshotverification in Dark and Light modes covering expandedcat > main.c,cat > BUILD,python3, stdout, andV2ItemInspector(jsTypeScriptcode,html, JSONoptions& output):Ref #244
Closes #64
Closes #78
Closes #233