Skip to content

Fix RunPane background session focus#283

Merged
parsakhaz merged 1 commit into
mainfrom
runpane-background-session-focus
Jun 20, 2026
Merged

Fix RunPane background session focus#283
parsakhaz merged 1 commit into
mainfrom
runpane-background-session-focus

Conversation

@parsakhaz

Copy link
Copy Markdown
Member

Summary

  • Fixes the RunPane background pane focus path where agent-created panes could still switch the visible active Pane UI pane.
  • Threads an activateOnCreate hint through task-queue session creation and session:created renderer handling.
  • Keeps default app-created sessions activating normally while preserving the current active pane for background RunPane creation.

Fixes #282.

Tests

  • pnpm --filter main exec vitest run src/ipc/runpane.test.ts --reporter=dot
  • pnpm --filter frontend exec vitest run src/stores/sessionStore.test.ts --reporter=dot
  • pnpm --filter main typecheck
  • pnpm --filter frontend typecheck
  • git diff --check

Notes

No merge, deploy, or release has been performed. This is ready for manual review.

@parsakhaz parsakhaz merged commit fff5431 into main Jun 20, 2026
16 checks passed
@parsakhaz parsakhaz deleted the runpane-background-session-focus branch June 20, 2026 20:25
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.

RunPane background pane creation still switches active UI pane

1 participant