Open
Conversation
…TY resize - index.html: mobile-responsive layout with bottom drawer, dark/light theme toggle, session name sync, short project path display, iOS touch fixes - TerminalStreamProxy: 512KB scrollback buffer with replay on connect, resize() method - ManagedLocalProcessTerminalView: resizePTY(cols:rows:) for web client resize requests
…ession implementation
…wport for keyboard
…ixes - Add bottom toolbar with Esc, Tab, Ctrl+C keys for mobile - Zoom controls moved to toolbar with clean 10% steps (default 180%) - Fix CSS scale: use correct xterm.js API path (css.cell.width) - Fix touch scroll with custom handler (CSS scale breaks xterm internals) - Toolbar buttons preserve keyboard focus state via touchstart preventDefault - Session drawer slides from top on mobile - Sync custom session names to web client via WebSessionInfo.customName - Anchor terminal to bottom (input line always visible) - Clip scaled terminal with outer wrapper to eliminate dead scroll space
…ersistence - Add "Web Terminal" section to Settings with on/off toggle (default off), port stepper, local IP connection info with copy button - Change web server default to off (false) - Hide mobile toolbar (Esc/Tab/Ctrl+C/zoom) on desktop, show only on mobile - Desktop always renders terminal at 100% scale, no zoom transform - Persist selected session ID in URL hash; auto-reconnect on page refresh
- Web client: intercept compositionend on xterm textarea to track chars since last word boundary; prepend backspaces before composed replacement so Android/iOS autocorrect doesn't duplicate text - Debug builds now use port 8081, release stays on 8080
- Fix "connecting" forever bug: pending sessions configured with sessionId:nil
were never registered in TerminalStreamProxy; add registerWithProxy(sessionId:)
called from transferTerminal when pending→real transition completes
- Add POST /api/sessions/{id}/focus endpoint: clicking a session in web client
now focuses it in the Mac app (updates primarySessionId, NSApp.activate)
- Fix provider-prefixed item ID format: ProviderMonitoringItem.id uses
"claude-{sessionId}" format, set webFocusedSessionId with correct prefix
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.
Web Terminal — embedded web http server for AgentHub sessions
Adds a fully self-contained web terminal server to AgentHub. When enabled, AgentHub starts a local HTTP + WebSocket server that serves an xterm.js-powered page,
letting you view and interact with any focused terminal session from any browser on the same network — including mobile.
What's included
Server (Swift)
a single actor.
the PTY.
Web client (single HTML file, xterm.js)
Settings
How to use