Open
Conversation
Add a queue view (#/queue) that watches wsh sessions and surfaces ones needing human attention as a card stack. Detection is entirely client-side via three heuristics: prompt patterns, error/red text, and idle-after-activity-burst (for TUIs like Claude Code). Also add a `resize` JSON-RPC method so the web terminal can resize the PTY to match the browser viewport, fixing the issue where terminal output only filled half the screen. New files: - web/src/queue/detector.ts (QueueDetector class) - web/src/components/QueueCard.tsx - web/src/components/CardStack.tsx - web/src/components/QueueView.tsx Key changes: - Hash-based routing in main.tsx (#/queue vs default) - Queue link icon in StatusBar - ResizeObserver in Terminal sends resize to server - resize method added to WshClient and ws_methods.rs - Fix session_created race condition in app.tsx Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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
#/queueview with client-side session triage — detects prompts, errors, and idle-after-activity-burst (for TUIs like Claude Code)resizeJSON-RPC method so web terminal auto-sizes the PTY to match browser viewportsession_createdrace condition where new sessions appeared without terminal contentNew files
web/src/queue/detector.ts— QueueDetector with three detection strategiesweb/src/components/QueueCard.tsx— card with live terminal + action barweb/src/components/CardStack.tsx— stacked card layoutweb/src/components/QueueView.tsx— top-level queue pageTest plan
#/queue, verify empty state "All clear"read -p "Continue? [y/n] " answerin a session — verify prompt card appears🤖 Generated with Claude Code