Repository navigation
Add named launch profiles for built-in agents - #5728
brennanb2025 wants to merge 6 commits into
Conversation
|
Ready to review this PR? Stage has broken it down into 7 individual chapters for you: Chapters generated by Stage for commit 2c26b1b on Jun 18, 2026 10:45pm UTC. |
|
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:
📝 WalkthroughWalkthroughThis pull request introduces a named agent launch profiles system across the full stack. New shared types ( 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
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: Pro
Run ID: 19865c59-7899-4057-a4ee-7d71531655f7
📒 Files selected for processing (14)
src/main/persistence.test.tssrc/main/persistence.tssrc/main/runtime/orca-runtime.test.tssrc/main/runtime/orca-runtime.tssrc/main/runtime/rpc/methods/client-ui.test.tssrc/main/runtime/rpc/methods/client-ui.tssrc/renderer/src/store/slices/settings.tssrc/renderer/src/web/web-preload-api.test.tssrc/renderer/src/web/web-preload-api.tssrc/shared/agent-launch-profiles.test.tssrc/shared/agent-launch-profiles.tssrc/shared/constants.tssrc/shared/tui-agent-startup.test.tssrc/shared/types.ts
Co-authored-by: Orca <[email protected]>
There was a problem hiding this comment.
Actionable comments posted: 3
🧹 Nitpick comments (1)
src/renderer/src/lib/launch-agent-profile-options.ts (1)
43-45: ⚡ Quick winAdd a short “why” note for explicit-vs-profile args precedence.
This
agentArgs === undefinedgate encodes a non-obvious contract (explicit caller args win; profile args are fallback only). A 1–2 line rationale here would prevent accidental inversion in future edits.As per coding guidelines, "When writing or modifying code driven by a design doc or non-obvious constraint, add a comment explaining why the code behaves the way it does."
Source: Coding guidelines
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID: 00dda61a-e9b3-42a9-8f89-1fd815e4715e
📒 Files selected for processing (21)
src/main/runtime/orca-runtime.tssrc/preload/api-types.tssrc/preload/index.tssrc/renderer/src/components/settings/AgentLaunchProfilesSection.test.tsxsrc/renderer/src/components/settings/AgentLaunchProfilesSection.tsxsrc/renderer/src/components/settings/AgentsPane.tsxsrc/renderer/src/components/settings/agent-launch-profile-draft.tssrc/renderer/src/components/settings/agents-search.tssrc/renderer/src/components/tab-bar/QuickLaunchButton.tsxsrc/renderer/src/components/tab-bar/TabBar.tsxsrc/renderer/src/components/tab-bar/TabBarCreateEntry.tsxsrc/renderer/src/components/tab-bar/tab-agent-launch-options.test.tssrc/renderer/src/components/tab-bar/tab-agent-launch-options.tssrc/renderer/src/hooks/useIpcEvents.tssrc/renderer/src/lib/agent-draft-paste-after-launch.tssrc/renderer/src/lib/launch-agent-in-new-tab.test.tssrc/renderer/src/lib/launch-agent-in-new-tab.tssrc/renderer/src/lib/launch-agent-profile-options.tssrc/shared/agent-launch-profiles.test.tssrc/shared/agent-launch-profiles.tssrc/shared/types.ts
💤 Files with no reviewable changes (1)
- src/shared/types.ts
🚧 Files skipped from review as they are similar to previous changes (1)
- src/main/runtime/orca-runtime.ts
|
Caution Failed to replace (edit) comment. This is likely due to insufficient permissions or the comment being deleted. Error details |
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (3)
src/main/runtime/orca-runtime.ts (3)
8325-8331: ⚡ Quick winDocument why multi-token searches run both pattern groups.
At Line 8326, the segmented + branch-root dual search is non-obvious; add a 1–2 line rationale so future changes don’t break intended matching behavior.
As per coding guidelines, "When writing or modifying code driven by a design doc or non-obvious constraint, add a comment explaining why the code behaves the way it does."
Source: Coding guidelines
10405-10405: ⚡ Quick winUse explicit
undefinedchecks forautomationProvenanceserialization.These writes currently use truthy checks, which can silently drop falsy-but-valid values and are inconsistent with Line 1189’s
!== undefinedpattern.Suggested consistency patch
- ...(args.automationProvenance ? { automationProvenance: args.automationProvenance } : {}), + ...(args.automationProvenance !== undefined + ? { automationProvenance: args.automationProvenance } + : {}),Also applies to: 10925-10925, 11257-11257
13159-13174: 🏗️ Heavy liftReduce positional-argument drift in
createMobileSessionTerminal.At Line 13159, this signature now has several optional positional params; the new inserted
undefinedat Line 3175 is a signal that callsites are becoming brittle. Prefer an options object to prevent silent argument misrouting in future edits.Refactor direction (shape only)
- private async createMobileSessionTerminal( - worktreeId: string, - activate: boolean, - afterTabId?: string, - command?: string, - startupCommandDelivery?: WorktreeStartupLaunch['startupCommandDelivery'], - identity?: { tabId: string; leafId: string; sessionId?: string }, - launchAgent?: TuiAgent - ) + private async createMobileSessionTerminal( + worktreeId: string, + opts: { + activate: boolean + afterTabId?: string + command?: string + startupCommandDelivery?: WorktreeStartupLaunch['startupCommandDelivery'] + identity?: { tabId: string; leafId: string; sessionId?: string } + launchAgent?: TuiAgent + } + )Also applies to: 3175-3178, 13067-13073
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID: b3600b69-0af8-41b8-bd6d-e83162804fb9
📒 Files selected for processing (16)
src/main/persistence.test.tssrc/main/runtime/orca-runtime.tssrc/main/runtime/rpc/methods/client-ui.test.tssrc/main/runtime/rpc/methods/client-ui.tssrc/preload/api-types.tssrc/preload/index.tssrc/renderer/src/components/settings/AgentLaunchProfilesSection.test.tsxsrc/renderer/src/components/settings/AgentLaunchProfilesSection.tsxsrc/renderer/src/components/tab-bar/QuickLaunchButton.test.tssrc/renderer/src/components/tab-bar/QuickLaunchButton.tsxsrc/renderer/src/hooks/useIpcEvents.tssrc/renderer/src/lib/launch-agent-in-new-tab.tssrc/renderer/src/web/web-preload-api.tssrc/shared/constants.tssrc/shared/tui-agent-startup.test.tssrc/shared/types.ts
🚧 Files skipped from review as they are similar to previous changes (14)
- src/shared/constants.ts
- src/preload/api-types.ts
- src/main/runtime/rpc/methods/client-ui.test.ts
- src/shared/tui-agent-startup.test.ts
- src/renderer/src/hooks/useIpcEvents.ts
- src/main/runtime/rpc/methods/client-ui.ts
- src/main/persistence.test.ts
- src/renderer/src/components/settings/AgentLaunchProfilesSection.test.tsx
- src/renderer/src/components/settings/AgentLaunchProfilesSection.tsx
- src/preload/index.ts
- src/renderer/src/web/web-preload-api.ts
- src/renderer/src/components/tab-bar/QuickLaunchButton.tsx
- src/renderer/src/components/tab-bar/QuickLaunchButton.test.ts
- src/renderer/src/lib/launch-agent-in-new-tab.ts
There was a problem hiding this comment.
Caution
Inline review comments failed to post. This is likely due to GitHub's internal server error or limits when posting large numbers of comments. If you are seeing this consistently it is likely a permissions issue. Please check "Moderation" -> "Code review limits" under your organization settings.
Actionable comments posted: 1
🧹 Nitpick comments (3)
src/main/runtime/orca-runtime.ts (3)
8325-8331: ⚡ Quick winDocument why multi-token searches run both pattern groups.
At Line 8326, the segmented + branch-root dual search is non-obvious; add a 1–2 line rationale so future changes don’t break intended matching behavior.
As per coding guidelines, "When writing or modifying code driven by a design doc or non-obvious constraint, add a comment explaining why the code behaves the way it does."
Source: Coding guidelines
10405-10405: ⚡ Quick winUse explicit
undefinedchecks forautomationProvenanceserialization.These writes currently use truthy checks, which can silently drop falsy-but-valid values and are inconsistent with Line 1189’s
!== undefinedpattern.Suggested consistency patch
- ...(args.automationProvenance ? { automationProvenance: args.automationProvenance } : {}), + ...(args.automationProvenance !== undefined + ? { automationProvenance: args.automationProvenance } + : {}),Also applies to: 10925-10925, 11257-11257
13159-13174: 🏗️ Heavy liftReduce positional-argument drift in
createMobileSessionTerminal.At Line 13159, this signature now has several optional positional params; the new inserted
undefinedat Line 3175 is a signal that callsites are becoming brittle. Prefer an options object to prevent silent argument misrouting in future edits.Refactor direction (shape only)
- private async createMobileSessionTerminal( - worktreeId: string, - activate: boolean, - afterTabId?: string, - command?: string, - startupCommandDelivery?: WorktreeStartupLaunch['startupCommandDelivery'], - identity?: { tabId: string; leafId: string; sessionId?: string }, - launchAgent?: TuiAgent - ) + private async createMobileSessionTerminal( + worktreeId: string, + opts: { + activate: boolean + afterTabId?: string + command?: string + startupCommandDelivery?: WorktreeStartupLaunch['startupCommandDelivery'] + identity?: { tabId: string; leafId: string; sessionId?: string } + launchAgent?: TuiAgent + } + )Also applies to: 3175-3178, 13067-13073
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID: b3600b69-0af8-41b8-bd6d-e83162804fb9
📒 Files selected for processing (16)
src/main/persistence.test.tssrc/main/runtime/orca-runtime.tssrc/main/runtime/rpc/methods/client-ui.test.tssrc/main/runtime/rpc/methods/client-ui.tssrc/preload/api-types.tssrc/preload/index.tssrc/renderer/src/components/settings/AgentLaunchProfilesSection.test.tsxsrc/renderer/src/components/settings/AgentLaunchProfilesSection.tsxsrc/renderer/src/components/tab-bar/QuickLaunchButton.test.tssrc/renderer/src/components/tab-bar/QuickLaunchButton.tsxsrc/renderer/src/hooks/useIpcEvents.tssrc/renderer/src/lib/launch-agent-in-new-tab.tssrc/renderer/src/web/web-preload-api.tssrc/shared/constants.tssrc/shared/tui-agent-startup.test.tssrc/shared/types.ts
🚧 Files skipped from review as they are similar to previous changes (14)
- src/shared/constants.ts
- src/preload/api-types.ts
- src/main/runtime/rpc/methods/client-ui.test.ts
- src/shared/tui-agent-startup.test.ts
- src/renderer/src/hooks/useIpcEvents.ts
- src/main/runtime/rpc/methods/client-ui.ts
- src/main/persistence.test.ts
- src/renderer/src/components/settings/AgentLaunchProfilesSection.test.tsx
- src/renderer/src/components/settings/AgentLaunchProfilesSection.tsx
- src/preload/index.ts
- src/renderer/src/web/web-preload-api.ts
- src/renderer/src/components/tab-bar/QuickLaunchButton.tsx
- src/renderer/src/components/tab-bar/QuickLaunchButton.test.ts
- src/renderer/src/lib/launch-agent-in-new-tab.ts
🛑 Comments failed to post (1)
src/main/runtime/orca-runtime.ts (1)
8293-8322:
⚠️ Potential issue | 🟡 Minor🧩 Analysis chain
🏁 Script executed:
#!/bin/bash set -euo pipefail echo "== Locate provider.exec callsites in runtime ==" rg -n -C3 --type=ts '\bprovider\.exec\s*\(' src/main/runtime/orca-runtime.ts echo echo "== Locate buildSearchBaseRefsArgv definition/usage ==" rg -n -C4 --type=ts '\bbuildSearchBaseRefsArgv\b' src/main/git/repo.ts echo echo "== Inspect git execution implementation for shell usage ==" rg -n -C4 --type=ts 'child_process\.(exec|execSync)\b|shell\s*:\s*true|spawn\(|execFile\(' src/main/git src/main/runtime echo echo "== Inspect provider exec signatures/implementations ==" rg -n -C4 --type=ts 'interface .*exec\s*\(|type .*exec\s*=|class .*exec\s*\(' src/main/git src/main/runtimeRepository: stablyai/orca
Length of output: 9419
🏁 Script executed:
#!/bin/bash set -euo pipefail echo "== Search for provider type definitions (GitProvider, SshGitProvider) ==" rg -n --type=ts 'interface.*GitProvider|class.*GitProvider|type.*GitProvider' src/main/git src/main/runtime | head -20 echo echo "== Find exec method signature in provider definitions ==" rg -n -A5 --type=ts 'exec\s*\(' src/main/git/provider.ts src/main/git/git-provider.ts 2>/dev/null || echo "Files not found, searching broadly..." fd -name '*provider*.ts' src/main/git -x rg -l 'exec\s*\(' {} \; | head -5 echo echo "== Inspect normalizeRefSearchQuery implementation ==" rg -n -A10 --type=ts '\bnormalizeRefSearchQuery\b' src/main/git echo echo "== Check SshGitProvider.exec for argv handling ==" rg -n -B2 -A15 'class SshGitProvider\|exec\s*\(' src/main/git/ssh-git-provider.ts 2>/dev/null || rg -n 'SshGitProvider' src/main/git --type=ts | head -5Repository: stablyai/orca
Length of output: 574
🏁 Script executed:
#!/bin/bash set -euo pipefail echo "== Find provider files ==" find src -name '*provider*.ts' -type f | head -20 echo echo "== Locate ssh-git-provider.ts ==" find src -name 'ssh-git-provider.ts' -type f echo echo "== Inspect SshGitProvider.exec method ==" if [ -f "src/main/providers/ssh-git-provider.ts" ]; then rg -n -A12 'exec\s*\(' src/main/providers/ssh-git-provider.ts | head -40 fi echo echo "== Search for normalizeRefSearchQuery implementation ==" rg -n -A8 'function normalizeRefSearchQuery|export.*normalizeRefSearchQuery' --type=ts src/main/git echo echo "== Check if provider.exec uses shell interpolation or argv ==" rg -n -B5 -A10 'provider\.exec' src/main/runtime/orca-runtime.ts | grep -A10 'buildSearchBaseRefsArgv'Repository: stablyai/orca
Length of output: 4113
🏁 Script executed:
#!/bin/bash set -euo pipefail echo "== Inspect buildSearchBaseRefsArgv implementation ==" rg -n -A40 'export function buildSearchBaseRefsArgv' src/main/git/repo.ts echo echo "== Check mux.request 'git.exec' handler to confirm argv handling ==" rg -n -B3 -A10 "mux\.request.*'git\.exec'" src/main/providers --type=ts | head -60Repository: stablyai/orca
Length of output: 4506
🏁 Script executed:
#!/bin/bash set -euo pipefail echo "== Find git.exec handler in mux/orchestration ==" rg -n -B5 -A15 "'git\.exec'" src/main/orchestration src/main/providers --type=ts | head -100 echo echo "== Look for mux request handler registration ==" rg -n 'git\.exec|registerHandler.*git' src/main/orchestration --type=ts | head -20 echo echo "== Check if normalizedQuery special chars are properly escaped ==" rg -n -B2 -A8 'normalizeRefSearchQuery' src/main/git/repo.tsRepository: stablyai/orca
Length of output: 6183
🏁 Script executed:
#!/bin/bash set -euo pipefail echo "== Find orchestration files and git.exec handler ==" find src/main -name '*orchestration*' -type f | head -10 echo echo "== Search for 'git.exec' handler in all orchestration files ==" find src/main -name '*orchestration*.ts' -type f -exec grep -l 'git\.exec' {} \; echo echo "== Search for mux handler or request handler registration ==" rg -n "handleRequest.*'git\.exec'|case.*'git\.exec'|git\.exec.*handler" --type=ts src/main | head -20 echo echo "== Look at the orchestration structure ==" ls -la src/main/orchestration* 2>/dev/null || echo "No orchestration directory" echo echo "== Find where git.exec is handled - broader search ==" rg -n "'git\.exec'" --type=ts src/main | head -20Repository: stablyai/orca
Length of output: 438
🏁 Script executed:
#!/bin/bash set -euo pipefail echo "== Check the mux type to understand where handlers are registered ==" rg -n "this\.mux\s*=" --type=ts src/main/providers/ssh-git-provider.ts | head -5 echo echo "== Look at SshGitProvider constructor and mux initialization ==" rg -n -B10 -A5 "class SshGitProvider" src/main/providers/ssh-git-provider.ts | head -50 echo echo "== Search for git.exec handler across entire codebase ==" rg -n "git\.exec" --type=ts src/main | grep -v test | grep -v '.stdout' | head -30Repository: stablyai/orca
Length of output: 2320
🏁 Script executed:
#!/bin/bash set -euo pipefail echo "== Find SshChannelMultiplexer to understand how requests are handled ==" rg -n "class SshChannelMultiplexer|interface SshChannelMultiplexer" --type=ts src/main echo echo "== Look for request method in SshChannelMultiplexer ==" rg -n -A8 "request\s*\(" --type=ts src/main/providers | grep -A8 "SshChannelMultiplexer\|multiplexer" | head -30 echo echo "== Search for RPC handler that processes git.exec requests ==" rg -n "git\.exec.*handler|registerHandler.*git|handleRequest" --type=ts src/main/runtime/rpc --type=ts | head -20 echo echo "== Check if argv is properly preserved in test expectations ==" rg -n "expect.*git\.exec" --type=ts src/main/providers/ssh-git-provider.test.ts -A2 | head -40Repository: stablyai/orca
Length of output: 265
🏁 Script executed:
#!/bin/bash set -euo pipefail echo "== Inspect SshChannelMultiplexer.request method ==" rg -n -A20 "request\s*\(" src/main/ssh/ssh-channel-multiplexer.ts | head -60 echo echo "== Check how git.exec is dispatched in RPC handlers ==" rg -n "'git\.exec'" --type=ts src/main/runtime/rpc -A5 -B2 | head -50 echo echo "== Final check: verify normalizeRefSearchQuery output for injection risk ==" rg -n -A5 "function normalizeRefSearchQuery\|export.*normalizeRefSearchQuery" src/main/git/repo.tsRepository: stablyai/orca
Length of output: 843
🏁 Script executed:
#!/bin/bash set -euo pipefail echo "== Check how dual-search (segmented vs branchRoot) is documented ==" rg -n -B5 -A15 "segmented.*branchRoot|branchRoot.*segmented" src/main/runtime/orca-runtime.ts | head -50 echo echo "== Verify the actual flow: normalizedQuery -> buildSearchBaseRefsArgv -> argv array ==" rg -n -B2 -A8 "const runSearch.*async" src/main/runtime/orca-runtime.ts | head -30 echo echo "== Final verification: confirm argv never becomes a shell string ==" rg -n "shell\s*:\s*true|execSync|child_process\.exec\(" src/main/git/runner.ts | head -10Repository: stablyai/orca
Length of output: 2351
🏁 Script executed:
#!/bin/bash set -euo pipefail echo "== Verify the dual-search behavior at lines 8326-8331 has no inline comment ==" sed -n '8320,8335p' src/main/runtime/orca-runtime.ts echo echo "== Check if similar patterns in the codebase have 'Why' comments ==" rg -n "// Why:" src/main/git/repo.ts | head -5 echo echo "== Confirm argv flow is fully array-based (no stringification) ==" rg -n "args\[0\]|args\.join|shell\s*:" src/main/providers/ssh-git-provider.ts | head -10Repository: stablyai/orca
Length of output: 1322
Add explanatory comment for dual-search pattern at line 8326.
The logic at lines 8326–8331 implements a non-obvious dual-search strategy (segmented and branchRoot patterns) when the query contains multiple tokens. Per the coding guidelines for
.tsfiles, add a short "Why:" comment explaining the rationale before theif (searchTokens.length > 1)block—similar to the pattern used throughoutsrc/main/git/repo.ts(e.g., line 741).🧰 Tools
🪛 ast-grep (0.43.0)
[warning] 8300-8306: Avoid command injection
Context: provider.exec(
buildSearchBaseRefsArgv(normalizedQuery, limit, {
remoteNames: remotes,
patternGroup
}),
repo.path
)
Note: Security best practice.(command-injection-typescript)
[warning] 8313-8320: Avoid command injection
Context: provider.exec(
buildSearchBaseRefsArgv(normalizedQuery, limit, {
excludeRemoteHead: false,
remoteNames: remotes,
patternGroup
}),
repo.path
)
Note: Security best practice.(command-injection-typescript)
🪛 OpenGrep (1.22.0)
[ERROR] 8293-8293: Dynamic command passed to child_process.exec/execSync. Use child_process.execFile or spawn with an argument array instead.
(coderabbit.command-injection.exec-js)
[ERROR] 8301-8307: Dynamic command passed to child_process.exec/execSync. Use child_process.execFile or spawn with an argument array instead.
(coderabbit.command-injection.exec-js)
[ERROR] 8314-8321: Dynamic command passed to child_process.exec/execSync. Use child_process.execFile or spawn with an argument array instead.
(coderabbit.command-injection.exec-js)
Source: Linters/SAST tools
|
Moving this PR to draft because it has been untouched for more than 80 days (latest recorded PR activity or commit timestamp: 2026-06-18T23:21:14Z; checked on 2026-10-27). This keeps the review queue focused on active work while preserving the proposal. Please mark it ready for review when work resumes. |
Settings:


Picker:
Summary
Adds named launch profiles under existing built-in TUI agents, resolving the #2521 product direction without introducing custom agent identities. Users can define per-agent launch variants with a name, optional command override, args, and env, then select those variants from the normal
+agent launch picker.Example:
Codexremains the built-in Codex agent, whileWorkis a Codex launch profile that can run with args like--profile work. The launched terminal keeps the underlying built-in agent identity for status, detection, telemetry, and downstream behavior.Relationship to #2521
Resolves the product direction from #2521 by replacing the proposed custom TUI-agent preset abstraction with named launch profiles under existing built-in agents. This matches the PR discussion there:
Codex: Workremains Codex with a different launch configuration, while arbitrary non-agent commands remain Quick Commands.What's Included
AgentLaunchProfilenormalization and startup-option resolution for built-in agents.GlobalSettings.agentLaunchProfiles.+picker integration that groups launch choices under the built-in agent row.Out of Scope
Screenshots
Local screenshot artifacts were captured during Electron validation and intentionally not committed:
artifacts/agent-launch-profiles-settings.png— Settings -> Agents launch profile editor.artifacts/agent-launch-profiles-grouped-picker.png—+picker withCodexshowing a2launch-choice badge and hover submenu entries forCodexandWork.Real CLI Profile Evidence
Safe no-prompt/profile commands were exercised with temporary
CODEX_HOMEdirectories:codex --helpconfirmed-p, --profilelayers$CODEX_HOME/<name>.config.toml.CODEX_HOME=<temp> codex debug prompt-input "hello"read the base config and showedsandbox_mode = read-only.CODEX_HOME=<temp> codex --profile work debug prompt-input "hello"readwork.config.tomland showed the profile-specific sandbox mode.debug prompt-inputonly emits local prompt-input JSON.AI Review Report
/tmpfixture withtmpdir()+path.join().Codexrow launches the default option, while the grouped menu still launchesWorkwithprofileId: codex:work.origin/mainand kept both upstream startup-command delivery behavior and this PR's launch-agent profile identity.Validation
verifypassed on head commit2c26b1bc5bcf6c7b3f3b373056bb13f6ef6a2dda.pnpm exec vitest run --config config/vitest.config.ts src/main/persistence.test.ts -t "normalizes agent launch profiles on load and update"passed.pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/settings/AgentLaunchProfilesSection.test.tsx src/renderer/src/components/tab-bar/QuickLaunchButton.test.ts src/renderer/src/components/tab-bar/tab-agent-launch-options.test.ts src/renderer/src/lib/launch-agent-in-new-tab.test.ts src/shared/agent-launch-profiles.test.ts src/shared/tui-agent-startup.test.tspassed: 6 files, 64 tests.pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/tab-bar/QuickLaunchButton.test.ts src/renderer/src/components/tab-bar/tab-agent-launch-options.test.tspassed: covers default parent click and profile submenu launch behavior.pnpm run typecheck:webpassed.pnpm run typecheck:nodepassed.pnpm exec oxlint ...passed on changed launch-profile files.oxlint, react-doctor oxlint config, andoxfmtacross staged files.git diff --checkpassed.Note: local
pnpmcommands may emit an existing warning about${GITHUB_TOKEN}in~/.npmrc; it did not affect validation.