Repository navigation
feat(files): reveal Source Control files and terminal file links in the file manager - #24502
Conversation
|
There was a problem hiding this comment.
ℹ️ Minor suggestion only — a CI-coverage gap in the new e2e test.
Reviewed changes — full diff of PR #24502 at 130b027e9f, covering the new shared reveal action, its wiring into five surfaces, terminal hovered-link tracking, and the i18n updates:
- Shared reveal action —
src/renderer/src/lib/reveal-in-file-manager.tscentralizes the platform label, the blocked check (isRevealInFileManagerBlocked) and the result toast;editor-tab-local-open-guard.tsis deleted and its callers migrate to the shared check. - Terminal link reveal —
terminal-hovered-file-link.tsrecords the link under the pointer for both detected paths and OSC 8 links; the context-menu trigger resolves it at right-click, re-checks the click position against the link range, and directory links are opened as directories. - Existence probing —
probeTerminalPathExistsfactors the existing pane cache with arecheckMissingoption, used by the path provider and by OSC 8 links. - Source Control — a top-level reveal item replaces the "Open in ▸ Finder" entry, gated by
hasWorkingTreeFilefor deleted rows. - i18n — new toast strings plus label/
Local onlytranslations across six locales.
The refactor is careful: the one observable behavior change (an explicitly-local file while a remote runtime is focused is now blocked) matches the main process's openInFileManager refusal and is documented in the PR body. Unit coverage for the shared action, hover lifecycle, trigger, and all five menus is solid, and I found no runtime bug in the implementation.
deepseek-v4.1-flash (free via Pullfrog for OSS) | 𝕏
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📥 CommitsReviewing files that changed from the base of the PR and between 6eb780dd04a569bb9cf4acdef2a623981389cf0c and 5168a64. 📒 Files selected for processing (17)
💤 Files with no reviewable changes (1)
🚧 Files skipped from review as they are similar to previous changes (6)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 3 remain after this review. 📝 WalkthroughWalkthroughThe change adds shared file-manager reveal helpers and uses them in editor, file-explorer, and source-control menus. Blocked actions are disabled and display a local-only hint. Source-control menus separate reveal from configured external applications and disable reveal for deleted entries. Eligible local terminal file links receive a secondary reveal action. Tests cover availability, invocation, error handling, and translation behavior. Priority: ➖ Normal Merge Risk: 🔵 Low · up to A terminal path that becomes available after an earlier failed check may remain unclickable until its cached result is evicted or the cache is recreated. The virtual-tab reveal issue is fixed; the remaining risk is bounded but warrants owner awareness. Security Architecture ReviewSecurity architecture risk: 🔵 Low · up to Reveal remains user-initiated and validates the target before selecting it in the file manager. Remote ownership is normally blocked. Recovery-time ownership handling is not fully established, but no introduced file-reading, execution, or data-transfer vulnerability was verified. Retained concerns Security review detailsSecurity Blast Radius
Security Findings and Attack Paths
Trust Boundaries and Controls
Resilience and Maintainability Implications
Hardening Proposals
🚥 Pre-merge checks | ✅ 2 | ❌ 3❌ Failed checks (3 warnings)
✅ Passed checks (2 passed)
Full details: Linked Issues checkExplanation Issue [ Full details: Out of Scope Changes checkExplanation
Full details: Docstring CoverageExplanation Docstring coverage is 28.79% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 66 functions across 41 files. (6 skipped: 6 unsupported.)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Advanced
Run ID: 89b1a027-1add-4a68-8782-577c9c0cb1cf
📥 Commits
Reviewing files that changed from the base of the PR and between 9e34bd0 and 130b027e9f524dccab2537e4a9489917a6c46dc6.
📒 Files selected for processing (46)
src/renderer/src/components/editor/EditorPanel.tsxsrc/renderer/src/components/editor/EditorPanelHeader.test.tsxsrc/renderer/src/components/editor/EditorPanelHeader.tsxsrc/renderer/src/components/editor/EditorPanelHeaderPath.test.tsxsrc/renderer/src/components/editor/EditorPanelHeaderPath.tsxsrc/renderer/src/components/editor/EditorPanelShell.header.test.tsxsrc/renderer/src/components/editor/EditorPanelShell.tsxsrc/renderer/src/components/local-only-menu-hint.tsxsrc/renderer/src/components/right-sidebar/file-explorer-row-context-menu.test.tsxsrc/renderer/src/components/right-sidebar/file-explorer-row-context-menu.tsxsrc/renderer/src/components/right-sidebar/source-control-entry-context-menu.test.tsxsrc/renderer/src/components/right-sidebar/source-control/listing/branch-entry-row.tsxsrc/renderer/src/components/right-sidebar/source-control/listing/entry-context-menu.tsxsrc/renderer/src/components/right-sidebar/source-control/listing/uncommitted-entry-row.tsxsrc/renderer/src/components/tab-bar/EditorFileTab.test.tsxsrc/renderer/src/components/tab-bar/EditorFileTabContextMenu.test.tsxsrc/renderer/src/components/tab-bar/EditorFileTabContextMenu.tsxsrc/renderer/src/components/tab-bar/editor-tab-local-open-guard.test.tssrc/renderer/src/components/tab-bar/editor-tab-local-open-guard.tssrc/renderer/src/components/tab-bar/tab-title-tooltip.test.tsxsrc/renderer/src/components/terminal-pane/TerminalContextMenu.test.tsxsrc/renderer/src/components/terminal-pane/TerminalContextMenu.tsxsrc/renderer/src/components/terminal-pane/TerminalPaneSurface.tsxsrc/renderer/src/components/terminal-pane/terminal-file-link-hit-testing.tssrc/renderer/src/components/terminal-pane/terminal-file-open-routing.tssrc/renderer/src/components/terminal-pane/terminal-hovered-file-link-sources.test.tssrc/renderer/src/components/terminal-pane/terminal-hovered-file-link.test.tssrc/renderer/src/components/terminal-pane/terminal-hovered-file-link.tssrc/renderer/src/components/terminal-pane/terminal-link-handlers.tssrc/renderer/src/components/terminal-pane/terminal-osc-link-routing.tssrc/renderer/src/components/terminal-pane/terminal-pane-pane-links.tssrc/renderer/src/components/terminal-pane/terminal-path-exists-cache.tssrc/renderer/src/components/terminal-pane/use-terminal-context-menu-trigger.test.tssrc/renderer/src/components/terminal-pane/use-terminal-context-menu-trigger.tssrc/renderer/src/components/terminal-pane/use-terminal-pane-context-menu.tssrc/renderer/src/i18n/locales/en.jsonsrc/renderer/src/i18n/locales/es.jsonsrc/renderer/src/i18n/locales/fr.jsonsrc/renderer/src/i18n/locales/ja.jsonsrc/renderer/src/i18n/locales/ko.jsonsrc/renderer/src/i18n/locales/zh.jsonsrc/renderer/src/lib/local-file-manager-label.tssrc/renderer/src/lib/reveal-in-file-manager.test.tssrc/renderer/src/lib/reveal-in-file-manager.tstests/e2e/golden-source-control-open-diff.spec.tstests/e2e/golden-terminal-file-link.spec.ts
💤 Files with no reviewable changes (9)
- src/renderer/src/components/tab-bar/EditorFileTab.test.tsx
- src/renderer/src/components/tab-bar/editor-tab-local-open-guard.ts
- src/renderer/src/components/tab-bar/editor-tab-local-open-guard.test.ts
- src/renderer/src/components/editor/EditorPanel.tsx
- src/renderer/src/components/tab-bar/tab-title-tooltip.test.tsx
- src/renderer/src/components/editor/EditorPanelHeader.test.tsx
- src/renderer/src/components/editor/EditorPanelHeader.tsx
- src/renderer/src/components/editor/EditorPanelShell.header.test.tsx
- src/renderer/src/components/editor/EditorPanelShell.tsx
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
130b027 to
d39e45f
Compare
There was a problem hiding this comment.
Actionable comments posted: 1
Caution
Some comments are outside the diff and can’t be posted inline due to GitHub limitations.
🟡 Minor · Hide reveal for virtual check-details tabs. · EditorFileTabContextMenu.tsx:238-240
src/renderer/src/components/tab-bar/EditorFileTabContextMenu.tsx:238-240
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick winHide reveal for virtual
check-detailstabs.When a local
check-detailstab opens this menu,revealBlockedis false. The item then sends the tab’s virtualfile.filePathto the OS file manager. The editor header already excludes this mode. Exclude it here too, so the tab menu does not offer an action for a path that is not an on-disk file. (raw.githubusercontent.com)
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Advanced
Run ID: 57fc03ac-ae1c-46e7-9a8d-4a1bc11e7ad6
📥 Commits
Reviewing files that changed from the base of the PR and between 130b027e9f524dccab2537e4a9489917a6c46dc6 and d39e45fdaef3627c8c6654da5da5ba3b01544fc7.
📒 Files selected for processing (7)
src/renderer/src/components/editor/EditorPanelHeaderPath.test.tsxsrc/renderer/src/components/editor/EditorPanelHeaderPath.tsxsrc/renderer/src/components/tab-bar/EditorFileTabContextMenu.test.tsxsrc/renderer/src/components/tab-bar/EditorFileTabContextMenu.tsxsrc/renderer/src/components/terminal-pane/terminal-hovered-file-link-sources.test.tssrc/renderer/src/components/terminal-pane/terminal-path-exists-cache.tstests/e2e/golden-source-control-open-diff.spec.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes — incremental delta since the prior pullfrog review at 130b027e9f, three follow-up fixes on top of the feature commit c98a446ac6:
- Tagged the Source Control reveal e2e test
@goldensotest:e2e:source-control-golden(and the release gate) actually runs it instead of filtering it out. - Included the file's own
externalSshTargetIdin the reveal block owner in the editor header path menu and the editor tab context menu, so a restored SSH file is greyed out as "Local only" even when its worktree resolves as local. - Stopped
probeTerminalPathExistsseeding a negative existence answer whenrecheckMissingre-asks, so hovering afile://link before its file exists no longer hides the same path when it is printed later as plain text.
All three land with tests that fail against the prior code. I ran the changed and dependent unit test files (61 tests across terminal-hovered-file-link-sources, terminal-hovered-file-link, reveal-in-file-manager, EditorPanelHeaderPath, EditorFileTabContextMenu) and they pass.
deepseek-v4.1-flash (free via Pullfrog for OSS) | 𝕏
|
@coderabbitai on the outside-diff note about |
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes — incremental delta since the prior pullfrog review at d39e45fdae, a single commit that closes the coderabbit finding about virtual editor tabs:
- Hid the reveal item on
check-detailstabs.EditorFileTabContextMenu.tsxnow renders the reveal item only whenfile.mode !== 'check-details', matching theisVirtualEditorTabgate the editor header already used. Those tabs carry a syntheticfile.filePath, so the item could only have failed. Covered by an exact new test that would fail against the prior unconditional render.
The change is correct, matches the existing header behavior, and touches only the tab context menu and its test. No other files changed in this commit.
deepseek-v4.1-flash (free via Pullfrog for OSS) | 𝕏
|
Tip For best results, initiate chat on the files or code changes.
✏️ Learnings added
If you found this review helpful, would you consider giving us a shout-out on X? Thank you for using CodeRabbit! You are interacting with an AI system. |
4eb5098 to
c6dc018
Compare
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes — incremental delta since the prior pullfrog review at b1664ff85b, two test-only commits (61f326039e, 08b7d2096c) on top of c6dc018882:
- Restored per-locale discard-description assertions in
source-control-discard-localization.test.ts. The branch had regressed to asserting the English strings for every locale, so the es/fr/ja/ko/zh cases could not fail; the refactor to an object table with$localenaming restores an exact expected string per locale. All six values match the catalogs. - Fixed the untranslated-locale fallback test in
NativeChatSupportedAgents.test.tsx. The fallback case now uses a synthetictest-missing-labellocale instead ofes—es.jsonships"label": "Agentes apoyados:", so the oldes-based "undefined" assertion no longer held. A new exact test locks in the Spanish label. - Extended the user-named file access ratchet in
local-file-access.test.tswithterminal-hovered-file-link.ts, which callsuserNamedFileAccess()for the explicit directory reveal. The ratchet compares sorted file lists withtoEqual, so the omission would fail.
I ran the three changed files (30 tests) and they pass. The assertions are exact, so each new test fails against the previously weakened form.
deepseek-v4.1-flash (free via Pullfrog for OSS) | 𝕏
08b7d20 to
6eb780d
Compare
nwparker
left a comment
There was a problem hiding this comment.
Unified reveal implementation preserves file/worktree/SSH/WSL host boundaries, disables unavailable remote/deleted/virtual targets, and limits probing to interaction. Fixed rebase to scoped stat access; directory reveal regression and access contract covered. 106 tests, web typecheck, quality gate and standalone React Doctor pass.
Current-main translation test drift repaired without changing production catalogs; the translation-sensitive audit passes 856 tests across 95 suites, including real Spanish label and deliberately missing-locale fallback coverage.
The file-access ratchet now registers the explicitly clicked Reveal action; reviewed that hover alone grants no user-file access. Focused file-access/context-menu/source tests pass 45 tests.
Rebased again onto main e46fa0d. Removed duplicate upstream localization repair, retained explicit missing-locale fallback and real Spanish rendering proof. Test cleanup restores the translation namespace after removing its synthetic locale so lazy loading remains independent.
Code review and local regression validation are complete on this exact commit: 6eb780dd04a569bb9cf4acdef2a623981389cf0c. Fresh GitHub Actions static analysis is currently QUEUED waiting for ubuntu-24.04-arm runners. CI has been triggered but has not completed on this rebased commit. This approval records the code review; pending required checks must still finish before merge. No PR merge performed.
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes — incremental delta since the prior pullfrog review at 08b7d2096c: the rebase onto e46fa0df13 plus one test-only commit (6eb780dd04).
- Dropped a duplicate localization repair. The branch no longer modifies
source-control-discard-localization.test.ts; it now matchesmain, which already asserts the per-locale discard strings. A three-dot diff againstorigin/mainreturns empty for that path, and its 6 cases pass. - Kept and hardened the untranslated-locale contract.
NativeChatSupportedAgents.test.tsxseeds an emptytesttranslation bundle and switches to it for the fallback case (rather than a synthetictest-missing-labellocale), restores thetranslationnamespace inafterEachvialoadNamespaces, and adds an exact Spanish test asserting the label both fromi18n.getResourceand in rendered markup.
The delta is test-only. No production behavior changed, the assertions are exact (the Spanish and fallback tests fail against a missing or wrong translation), and all prior pullfrog threads are resolved. I ran the four delta-touching files — 46 tests pass — and oxlint is clean on them.
deepseek-v4.1-flash (free via Pullfrog for OSS) | 𝕏
|
Please hold this one from merging for a bit. We're moving the terminal reveal out of the terminal's right-click menu and into the popover that opens when you click a file link, next to "Open file" and "Open with default app". That keeps all of a link's file actions in one place. The Source Control change stays as it is. I'll push the update here and summarize it. |
There was a problem hiding this comment.
Important
pnpm run check:code-quality:changed fails on a new type assertion in the new test file — see the inline comment.
Reviewed changes — incremental delta since the prior pullfrog review at 6eb780dd04, the single commit 9283791737 that moves terminal file-link reveal out of the right-click menu and into the link's click popover:
- Moved terminal reveal into the click popover.
handleTerminalFileLinknow attaches aReveal in <file manager>row through the sharedLinkActionPopover, offered only when the path is not a workspace root,canOpenWithSystemDefaultis true, the pane shell'ssourceOwner.kindislocal, and the existing blocked check passes. Workspace-root links keep their own "Open in Finder" alternate and omit the row. - Added
secondaryActionsto the shared link-action contract.LinkActionRequestcarries shortcut-less rows, andLinkActionPopover.ActionRowtakes an explicitshortcut('primary' | 'alternate' | null) and drops the key combo for them. - Removed the hover-tracking subsystem.
terminal-hovered-file-link.tsand its two test files,setHoveredOscFileLink,probeTerminalPathExists, the terminal context-menufileLinkRevealplumbing, the terminal-reveal e2e block, and thelocal-file-access.test.tsratchet entry for the deleted module are gone. - New unit coverage asserts the reveal row appears only for a local file, is omitted per host owner and while a remote runtime is focused, and that secondary rows render without a shortcut.
I ran the delta-touching and dependent test files (38 + 52 + 28 tests across the terminal link, popover, context-menu, file-access and reveal suites) — all pass — and pnpm tc:web is clean. The one failing gate is the changed-code quality check below.
Note: 1 inline comment(s) dropped because they did not anchor to lines inside the PR diff:
src/renderer/src/components/terminal-pane/terminal-file-link-actions.test.ts:4-10(RIGHT) — start_line 4 (RIGHT) is not inside a diff hunk
deepseek-v4.1-flash (free via Pullfrog for OSS) | 𝕏
|
Follow-up to the review on
Everything else in the delta (the popover-based terminal reveal, the
|
|
Addressed the latest Pullfrog/CI finding in I reviewed the intervening terminal popover change as well. Reveal runs only when its action is clicked, selects local files/folders in their parent, and is omitted for SSH/runtime/unknown shell owners and remote-runtime focus. The former hover bookkeeping and filesystem probes are removed. The older virtual Nine focused menu/popover/reveal/access suites passed all 99 tests. The supported web typecheck, changed-code quality gate, standalone React Doctor and whitespace check pass. React Doctor only reports two existing menu complexity warnings. Fresh GitHub CI must pass this exact head before merge. |
8564398 to
b77dd5f
Compare
|
Rebased the reviewed file-reveal implementation onto main 13d94ac and repaired the shared CI blocker: journal-submission-positions.test.ts imported codexProviderHandle twice on main, causing the merge-ref lint run to fail before PR tests. Removed only the duplicate import. Preserved the upstream IME input and context-menu event extraction. 75 focused tests pass after rebase, including journal position, popover/reveal, changed editor/IME and localization tests; the earlier 149 link/reveal/host-routing tests passed before rebase. Official web typecheck, full oxlint and changed-code quality gate pass. Current tested head: b77dd5f18cd53a52add962ee3e9555e4c68a1a02. Fresh CI is required before merge. |
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes — incremental delta since the prior pullfrog review at 9283791737, one test-only commit (8564398f54) that closes the changed-code quality gate failure flagged in that review:
- Typed the reveal settings fixture without a cast.
terminal-file-link-actions.test.tsnow declares the hoistedsettingsobject with an explicit{ activeRuntimeEnvironmentId: string | null }annotation inside thevi.hoistedcallback instead of assertingnull as string | null, sotypescript(consistent-type-assertions)no longer fires. No production code changed.
I re-ran pnpm run check:code-quality:changed (0 findings across 24 changed files) and the file's 16 tests pass.
deepseek-v4.1-flash (free via Pullfrog for OSS) | 𝕏
Reveal only existed on file explorer rows. Every reveal menu now shares one action, so a missing file or a remote workspace behaves the same in all of them. Fixes stablyai#24003
A hovered hyperlink to a missing file saved "missing" in the cache plain path links trust, hiding the path once the file existed. A tab holding an SSH file from outside its workspace still offered reveal.
Their path is a synthetic id, so reveal could only fail.
…e right-click menu The terminal "Reveal in Finder" action now lives in the file-link popover (the one with "Open file" and "Open with default app"), as a row with no click shortcut. It goes through the shared reveal, so a folder link (including a macOS .app or .xcodeproj bundle) is selected in its parent and never opened. The row is omitted, not disabled, when the file is not on this machine: an SSH or runtime-owned file, a pane whose shell runs on another host, or while a remote runtime is focused. Workspace-root links keep their own "Open in Finder"/"Open folder" row and get no reveal row. Removes the right-click path: the context-menu item, the hovered-link tracking and its OSC 8 / path-existence probe refactors, the directory stat (and its user-named file-access grant, which only served the open-a-folder behaviour), and the right-click e2e case. Terminal files the PR touched are back to main apart from the popover row. Co-authored-by: Kelvin Amoaba <[email protected]>
|
Been waiting for this feature for a long time, nice job! |
Every other Reveal in Finder item shows the external-link icon; the link popover draws it for rows that open outside Orca, so mark the row that way.
144539f to
ed7dac3
Compare
|
Final integration repair preserves the click-popover Reveal action and Brennan’s new external-link icon flag. Local node and renderer typechecks pass; 84 focused tests plus 16 icon/action tests pass; all 114 older-release compatibility tests across 20 suites pass. Full default lint and the changed-code quality gate pass with no new findings. CI prerequisites are repaired without changing application behavior: one canonical provider-handle test import, the PowerShell encoded-prompt expectation, and the exact parser version needed only by older released sources in compatibility tests. The parser is a development dependency. Fresh CI on the final head remains required before merge. |
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes — incremental delta since the prior pullfrog review at 8564398f54, a single commit that aligns the terminal popover's reveal row with the other reveal surfaces:
- Gave the terminal popover's reveal row the
ExternalLinkicon.external: trueis now set on theReveal in Finderrow interminal-file-link-actions.ts, soLinkActionPopover.ActionRowdraws the same lucideExternalLinkicon the Source Control and file explorer reveal items already use.externalis display-only — consumed solely inLinkActionPopover.tsx:42-43— so there is no behavioral side effect, and the test asserts the flag exactly.
Verified all prior pullfrog threads remain resolved and the commit touches only the popover row and its test. Cosmetic consistency fix; the PR is otherwise unchanged from the approved state.
deepseek-v4.1-flash (free via Pullfrog for OSS) | 𝕏
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes — incremental delta since the prior pullfrog review at 144539f907, a rebase that re-lands the icon fix plus three CI-reconciliation commits:
- Re-landed the popover reveal-row icon. The
ed7dac3c59commit is content-identical to the previously reviewed144539f907(setsexternal: trueon the terminal reveal row so it draws the same lucideExternalLinkicon as the other reveal surfaces). No change from the reviewed state. - Retained one canonical provider-handle import.
f32059d35crestores the singlecodexProviderHandleimport injournal-submission-positions.test.ts; test-only. - Retained the released journal parser dependency.
0895cea5b5adds@streamparser/[email protected]todevDependencies(and the lockfile) and a rationale comment intests/e2e/cross-version-wire/release-checkout.ts; test-infrastructure only. - Accounted for encoded Windows prompt lines.
a181653d81adds a Windows multi-line encoded-launch-line test and flips onepromptCarriedcontrol assertion fromwin32todarwin; test-only.
The three reconciliation commits are outside the reveal feature's surface and exist to keep the branch's CI green while it is behind main; each is test- or dependency-infrastructure only and carries no production behavior change. The reveal code is unchanged from the approved state, and all prior pullfrog threads remain resolved.
deepseek-v4.1-flash (free via Pullfrog for OSS) | 𝕏
|
Integrated latest main after the shared startup-test conflict: retained the upstream long multiline Windows control and short multiline physical-one-line regression. Reveal behavior, remote-host guards and the author icon change remain intact. 86 focused tests, node and web typechecks, and all changed-code quality gates passed locally. Fresh CI on commit 5168a64 is required before merge. @coderabbitai review |
✅ Action performedReview finished.
|
nwparker
left a comment
There was a problem hiding this comment.
Low merge risk after the final repairs. The shared reveal action preserves workspace and execution-host boundaries. Brennan’s popover icon change is retained, and the legacy-test prerequisites are repaired. Local typechecks, lint, quality gates, 86 focused integration tests, and 114 compatibility tests pass. The full PR Checks workflow and all runnable CI on this exact head have passed, and review findings are addressed. Pullfrog was manually disabled repository-wide and its integration-review run cancelled; the stale pending bot check is documented. The feature code is unchanged from its completed bot-reviewed state, and this integration was reviewed manually.








ELI5
When an agent creates or edits a file, you often want to find it in Finder to attach it, preview it or open it in another app. Until now you could only do that from the file explorer. You can now right-click a changed file in Source Control, or click a file path printed in a terminal, and choose Reveal in Finder (Reveal in File Explorer on Windows, Open Containing Folder on Linux).
What Changed
Before.
After.
path:lineforms (the line number is ignored) andfile://hyperlinks. A link to a file opens its folder with the file selected; a link to a folder selects the folder in its parent and never opens it, so a macOS app or project bundle can't be launched by "Reveal". Workspace-root links keep their existing Open in Finder row.Mechanism.
revealInFileManagerinsrc/renderer/src/lib/reveal-in-file-manager.ts, now does the reveal for every surface, with one label helper and one "is this blocked" check (isRevealInFileManagerBlocked, built on the existingisLocalPathOpenBlocked). The file explorer, editor tab and editor header dropped their own handlers and their separate remote guard (editor-tab-local-open-guard.tsis deleted).path:line,file://hyperlinks) and needs no tracking of the link under the pointer.getLocalFileManager().Why
Agents print paths and change files constantly, and the two places you see those files, Source Control and the terminal, were the two places without a reveal action.
Alternatives considered:
Linked Issue
Fixes #24003
Related: #24020 asks for a reveal entry inside the Open in list. This PR goes the other way for Source Control file rows (one top-level item, none inside Open in); the sidebar worktree Open in menu is unchanged.
Visual Proof
Captured from this PR's current head in a hidden Orca window on macOS. Before is current
main.Unchanged by the latest update (screenshots from earlier in this PR): deleted Source Control row greyed out, file explorer row, editor tab.
Testing
Automated. Unit tests cover the shared reveal function, label and remote check; the terminal popover row (present for a local file link, absent for workspace-root links and for files not on this machine, a folder link revealed in its parent and never opened); the right-click menu no longer having the item; and each of the other menus. The Source Control e2e spec asserts the item is offered on a changed-file row.
Run locally, macOS:
pnpm tc:web,pnpm run check:code-quality:changedand the changed and dependent unit test files pass. Each new test for the directory, owner-lookup and re-check behaviour was confirmed to fail with its fix reverted. The two e2e specs pass (5 of 5) through the hidden-window harness; that run predates the directory and re-check changes, which did not alter either spec.Not run locally:
pnpm tc:node(the change is renderer-only), the full test suite andpnpm build. CI covers these.Platforms: macOS only. Windows, Linux, WSL and SSH behaviour is covered by unit tests, not by running the app there.
I manually tested these changes locally
Automated tests added/updated, or explained why not below
Review
Agent skill upstream boundary
docs/reference/agent-skill-sharing-upstream-boundary.mdand copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.Notes
src/main/ipc/shell.ts). Before, the editor tab and header failed silently there. The underlying refusal is the subject of [Bug]: 'Reveal in Finder' misidentifies local worktree as remote project after switching worktrees #16539 and is not changed here.recordings/is not detected as a link today, so it gets no reveal item;./recordingsandsrc/componentsdo. Link detection is unchanged here.shell.openInFileManageris a no-op there, so the file explorer, editor tab and editor header item does nothing when no remote owner applies. Before, it opened a browser tab at the file's path, which was not a reveal either.Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)