Skip to content

Backport terminal reliability, WebGL, and responsive PWA support - #9

Merged
aidenybai merged 1 commit into
mainfrom
feat/conservative-fork-backport
Jul 11, 2026
Merged

Backport terminal reliability, WebGL, and responsive PWA support#9
aidenybai merged 1 commit into
mainfrom
feat/conservative-fork-backport

Conversation

@aidenybai

Copy link
Copy Markdown
Member

Summary

  • harden CLI daemon readiness, PID state, loopback handling, heartbeat behavior, OSC 7 parsing, and PTY output batching
  • upgrade and patch xterm/WebGL while preserving exact resize, direct binary output, scroll position, and input behavior
  • add an installable offline shell with responsive mobile layouts, safe-area/keyboard handling, accessible settings dialogs, regression coverage, and output benchmarks

Test plan

  • nr build
  • pnpm test (366 tests)
  • pnpm lint
  • pnpm typecheck
  • pnpm format and pnpm format --check
  • verify PWA manifest, service worker updates, offline fallback, reconnect, and WebGL2 in Chromium
  • verify terminal/settings layouts at 320px, 390px, tablet, desktop, portrait, and landscape sizes
  • benchmark interactive echoes, TUI redraws, large bursts, and constrained drains

Adopt conservative output, daemon, and renderer fixes while adding an installable responsive shell without reviving reverted experiments.
@vercel

vercel Bot commented Jul 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
localterm-web Ready Ready Preview, Comment Jul 11, 2026 9:10am

const end = trimmed.indexOf("]");
return end === -1 ? trimmed : trimmed.slice(0, end + 1);
}
if (trimmed.includes(":") && !trimmed.includes(".")) return `[${trimmed}]`;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if (trimmed.includes(":") && !trimmed.includes(".")) return `[${trimmed}]`;
// Bare IPv6 addresses (e.g. "::1", "0:0:0:0:0:0:0:1") always contain 2+
// colons; a "hostname:port" pair contains exactly one colon. Only bracket
// the former so we don't mangle dot-less hosts like "localhost:3417".
const colonCount = (trimmed.match(/:/g) ?? []).length;
if (colonCount >= 2) return `[${trimmed}]`;

stripPort's bare-IPv6 heuristic misclassifies dot-less host:port values (e.g. localhost:3417) as IPv6, causing loopback enforcement to return 403 for normal localhost:<port> requests.

Fix on Vercel

@aidenybai
aidenybai merged commit 6ec00c6 into main Jul 11, 2026
6 checks passed
@aidenybai
aidenybai deleted the feat/conservative-fork-backport branch July 11, 2026 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant