Skip to content

feat: Navbar Open-in-App Button#442

Merged
sahil-noon merged 2 commits into
mainfrom
260722-6d0f-navbar-open-in-app
Jul 22, 2026
Merged

feat: Navbar Open-in-App Button#442
sahil-noon merged 2 commits into
mainfrom
260722-6d0f-navbar-open-in-app

Conversation

@sahil-noon

Copy link
Copy Markdown
Collaborator

Meta

Change ID Type Confidence Plan Review
6d0f feat 3.7/5.0 13/13 tasks, 21/21 acceptance ✓ ✓ 1 cycle
Impact +/− Net
raw +2861 / −13 +2848
true +2365 / −7 +2358
└ impl +1376 / −7 +1369
└ tests +989 / −0 +989

excludes fab/, docs/ · generated by fab-kit v2.16.5

Pipeline: intake ✓ → apply ✓ → review ✓ → hydrate ✓ → ship → review-pr

Summary

run-kit surfaces sessions, panes, and worktrees, but jumping from a pane to that folder in an editor today means leaving the dashboard, finding a terminal, and running wt open by hand — worse when the browser is remote, where there is no path at all from "looking at a pane" to "that folder open in my local editor." This adds a navbar Open button: server-side exec via wt open when local, client-side ssh-remote deeplinks (VS Code/Cursor/Windsurf) when remote.

Changes

  • Backend: GET /api/open-apps — new read endpoint wrapping wt open --list --json for the host-detected app registry; fail-silent (wt absent/old/erroring → 200 []).
  • Backend: POST /api/open — new mutating endpoint (POST per constitution IX) launching an app on the host via wt open <path> -a <app>; validates path against a derived pane cwd/worktree path and app against the current registry before exec.
  • Config: RK_SSH_HOST — new optional env var (the SSH host alias remote clients use to reach this host); unset hides the deeplink section entirely.
  • Frontend: Open split-button — Conductor-style split-button in the top bar (Terminal route, v1), with a static deeplink template table for the remote case and the host dropdown for the local case; primary click re-runs the last-used target (localStorage), chevron opens the full menu.
  • Frontend: command palette + keyboard — every new action keyboard-reachable via palette entries per available target.

@sahil-noon
sahil-noon marked this pull request as ready for review July 22, 2026 12:13
sahil87 added 2 commits July 22, 2026 19:24
Adds a navbar Open button to jump from a pane/worktree to that folder
in an editor: server-side exec via wt open when local, client-side
ssh-remote deeplinks (VS Code/Cursor/Windsurf) when remote.
@sahil87
sahil87 force-pushed the 260722-6d0f-navbar-open-in-app branch from c73153e to 8e455d7 Compare July 22, 2026 13:57
@sahil-noon
sahil-noon merged commit 2f389c0 into main Jul 22, 2026
6 checks passed
@sahil-noon
sahil-noon deleted the 260722-6d0f-navbar-open-in-app branch July 22, 2026 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants