Skip to content

feat(tab-bar): add default-agent quick launch - #30

Merged
nplez1 merged 1 commit into
nplez1/mainfrom
nplez1/Agent-Button
Sep 25, 2026
Merged

nplez1 merged 1 commit into
nplez1/mainfrom
nplez1/Agent-Button

Conversation

@nplez1

@nplez1 nplez1 commented Sep 25, 2026 •

Copy link
Copy Markdown
Owner
Files Added Deleted Net
Test 1 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​137 0 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​137
Prod 3 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​94 0 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​94

ELI5

Previously, starting the preferred agent meant opening the + menu and choosing it. Now the agent icon next to + launches it directly in a new tab in the current worktree.

What Changed

Added an icon button for the configured default agent in the tab bar. It appears only when that agent is detected and enabled for the current worktree. The button delegates to the existing tab-bar launch and focus flow, including remote-host routing.

Why

This makes the common launch one click while retaining the existing startup, worktree/group, and focus behavior instead of adding a parallel launch path.

Linked Issue

No linked issue: GitHub Issues are disabled for this repository, and this change was requested directly.

Visual Proof

Not attached. Runtime Electron UI verification was unavailable in this environment, so no screenshot or video was captured. Please capture visual proof during desktop review.

Testing

  • Automated tests added/updated.
  • Manually tested in the desktop app; runtime visual verification was unavailable.
  • ORCA_BACKGROUND_LAUNCH=1 pnpm test src/renderer/src/components/tab-bar/TabBarDefaultAgentButton.test.tsx — 3 passed
  • pnpm tc:web — passed
  • pnpm run check:code-quality:changed — passed with 0 findings
  • pnpm run verify:localization-catalog — passed
  • pnpm run verify:localization-runtime-catalog — passed
  • pnpm run verify:localization-extraction — passed
  • pnpm run verify:localization-coverage — passed
  • git diff --check — passed

Full pnpm lint, pnpm typecheck, pnpm test, and pnpm build were not run locally; CI should cover them.

AI Disclosure

Implemented with an OpenAI coding assistant via Pi.

Review

Self-reviewed the default-agent visibility gate, launch delegation, pending structured-launch state, and worktree/group focus path.

Agent skill upstream boundary

  • Not applicable.

Notes

No new IPC, child-process, or platform-specific behavior. The existing launch flow owns local, remote, and SSH execution.

Checklist

  • This PR is small and focused.
  • The user-facing change, mechanism, and rationale are explained above.
  • Before/after screenshot or video attached (not captured; see Visual Proof).
  • Self-reviewed for correctness, security, and performance.
  • Cross-platform and remote/SSH impact considered; new execution logic was not added.
  • Full lint/typecheck/test/build will be covered by CI; focused checks listed above passed.

Add a one-click button beside the new-tab control for the detected, enabled default agent. Reuse the tab-bar launch and focus path for new tabs.
@nplez1
nplez1 merged commit b5beb4a into nplez1/main Sep 25, 2026
30 checks passed
nplez1 added a commit that referenced this pull request Sep 25, 2026
Add a one-click button beside the new-tab control for the detected, enabled default agent. Reuse the tab-bar launch and focus path for new tabs.
nplez1 added a commit that referenced this pull request Sep 27, 2026
Add a one-click button beside the new-tab control for the detected, enabled default agent. Reuse the tab-bar launch and focus path for new tabs.
nplez1 added a commit that referenced this pull request Sep 29, 2026
Add a one-click button beside the new-tab control for the detected, enabled default agent. Reuse the tab-bar launch and focus path for new tabs.
nplez1 added a commit that referenced this pull request Oct 1, 2026
Add a one-click button beside the new-tab control for the detected, enabled default agent. Reuse the tab-bar launch and focus path for new tabs.
nplez1 added a commit that referenced this pull request Oct 6, 2026
Add a one-click button beside the new-tab control for the detected, enabled default agent. Reuse the tab-bar launch and focus path for new tabs.
nplez1 pushed a commit that referenced this pull request Oct 19, 2026
…nce off the deprecated owner resolver (stablyai#30484)

The eight mirroring callers (#23-#30) read the owner through
runtimeEnvironmentIdWithLegacyFallbackUnlessTwin, so a twin is still not mirrored. Sort-order
persistence (#2) leaves out ids that two hosts publish, and ids whose only server proof is a repo
row (isUnprovenServerSshRoute), instead of writing them to this desktop's or a guessed server's
meta. Deprecated importers 40 -> 31.
@nplez1
nplez1 deleted the nplez1/Agent-Button branch October 24, 2026 03:22
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.

1 participant