Fix agent status reporting, terminal dock, and fresh pane startup - #607
Open
iamjakeirl wants to merge 19 commits into
Open
Fix agent status reporting, terminal dock, and fresh pane startup#607iamjakeirl wants to merge 19 commits into
iamjakeirl wants to merge 19 commits into
Conversation
added 18 commits
September 12, 2026 21:43
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fresh repository workspaces now show the same tool launcher as an existing Pane with all agent tabs closed, offering Terminal, Claude Code, Codex, and other available tools. A shell stays in the bottom terminal dock while agents remain in the main tab area. The launcher remains available when the dock is open, and returning to a workspace restores agent tabs and dock state consistently.
Agent status reporting now follows explicit CLI status signals across startup, redraws, reconnects, and terminal teardown. This keeps spinners and Pane colors consistent, avoids treating an inherited shell title as a newly launched agent's idle status, and prevents terminal destruction from producing false completion notifications. Terminal snapshots drain before teardown, stale callbacks cannot affect replacement terminals, and cleanup still reclaims the PTY if output delivery or emulator disposal fails.
The branch also retains the original fix for the Windows terminal
dimensionserror: asynchronous refresh and resize work checks that its captured xterm is still current after switching or archiving sessions.Type of Change
Testing
pnpm lintandpnpm typecheck— passed, including a final rerun before committing.pnpm build:mainandpnpm build:frontend— passed.pnpm --filter frontend test— 353 tests passed.terminal-dock,agent-status,terminal-blur-recovery,adaptive-panel-layout, andterminal-selection-popover— 49 tests passed using browser fixtures with mocked Electron IPC.ELECTRON_RUN_AS_NODE=1 pnpm --filter main exec electron node_modules/vitest/vitest.mjs run src/services/terminalPanelManager.persistence.test.ts src/services/terminalPanelManager.status.test.ts src/services/agentStatus src/ipc/panels.status.test.ts src/daemon/mobilePushSender.test.ts src/services/workspaceJournal.test.ts --maxWorkers=2 --minWorkers=1— 122 tests passed, including a final rerun before committing.git diff --check— passed.Packaged macOS DMG testing and
pnpm electron-devvalidation were not performed from WSL. Browser fixtures cover the affected UI paths; Windows development-client and Linux headless-daemon testing cover the actual connection setup.Checklist
pnpm typecheckandpnpm lintlocally.pnpm electron-devvalidation.Critical Areas Modified
Screenshot
Fresh repository launcher in the browser test fixture; the shell dock is shown in its loading state.
Related work
#572 touches neighboring activation code and addresses launcher flashing; the retained terminal-refresh guards address access to disposed terminals.