Repository navigation
fix(terminal): add write-only OSC 52 clipboard and polish default Terminal UX - #1557
Merged
Merged
Conversation
Juliusolsson05
force-pushed
the
feat/onboarding-guide-and-terminal-ux
branch
from
November 28, 2026 00:05
bc44f23 to
8928f82
Compare
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.
Summary
Polishes day-1 default Terminal mode UX (onboarding modal intentionally deferred to a later pass — zero onboarding UI added here):
osc52Clipboard.ts) — Wired into bothTerminalLeafandAgentTerminalLeafso mouse-drag selection undertmux mouse oncopies cleanly to the macOS clipboard. Strictly write-only (ignores?read queries), enforces raw & decoded 1 MiB caps, and swallows clipboard denials.AgentTerminalLeafheader labels — Replaces debug-soundingraw <provider>+ redundantterminal viewwith the clean provider display name.kind === 'opencode'vs generic<Provider> has no native terminal; it always uses Agent Code rendering.for Antigravity and Hermes inAgentViewModePickerModalandworkspace/hook/index.ts.TerminalLeafregionActivegating — MirrorsAgentTerminalLeafso shell panes no longer steal paste/focus from Sidekick.agent-view-modeinherits immediate apply + accurate provider list;auto-send-prompt-suggestion,worktree-badges, anddictation-enabledaccurately describe default Terminal mode; removed duplicateantigravitykeyword.Linked Issues
Refs #1551 (onboarding wizard portion deferred; Terminal UX polish resolved here)
Verification
npm run typecheck: passed (0 errors).npx vitest run src/renderer/src/workspace/terminal/osc52Clipboard.test.ts src/renderer/src/workspace/tile-tree/AgentTerminalLeaf.statusHeader.renderer.test.tsx src/renderer/src/workspace/tile-tree/TerminalLeaf.retention.renderer.test.tsx src/renderer/src/features/workspace/ui/AgentViewModePickerModal.renderer.test.tsx src/renderer/src/features/settings/lib/settingsRegistry.test.ts: 5/5 files, 24/24 tests passed.