fix(desktop): isolate preview keys and finish hold-to-quit - #502
Conversation
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com> (cherry picked from commit 095d57552c4579ce33a6560a76b7c643b92f00f9)
Co-authored-by: maria-rcks <254055478+maria-rcks@users.noreply.github.com> (cherry picked from commit e816064945144957b6eb9b268912a98b0555644b)
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Baseline: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
|
Independent adversarial review completed against |
Background preview automation could send Enter to the desktop composer and submit an unfinished draft. Keyboard packets now target the preview guest, preserve nested-frame routing and editing shortcuts, and wait for bounded native delivery receipts with cleanup on interruption. Hold-to-quit also continues its quiet-period watchdog when Q remains held after the modifier is released.
Cycle #497, frozen range
6c583620ff7ad3235b135af7107c0543467eecfa..4a4c6dd2adc350a68ba18bb28b24b5a7e4660dab.Sources adopted:
095d57552c4579ce33a6560a76b7c643b92f00f9e816064945144957b6eb9b268912a98b0555644bPylon adaptations: preserved existing preview control epochs, runtime/profile identity, and native boundaries. The clipboard constructor test mock has an explanatory lint suppression.
Validation: 137 focused QuitHold, PreviewKeyboard, and Manager tests; desktop typecheck; changed-file lint and formatting. Upstream runtime before/after evidence is in pingdotgg/t3code#11354 (including preview draft isolation, nested frames, editing, and clipboard behavior); this is upstream evidence, not a rendered Pylon verification. No browser/computer use or packaged native macOS run performed in this port.
Implemented with GPT-6 in Codex.
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.