Skip to content

v1.6.25 — faster terminals and extensible workspaces

Choose a tag to compare

@github-actions github-actions released this 11 Oct 07:33
· 65 commits to main since this release
d7f02cf

v1.6.25 — faster terminals and extensible workspaces

This release combines a terminal-performance overhaul with optional plugins/extensions, session-aware widgets, flexible workspaces, and installation and usability fixes. It includes all 35 commits since v1.6.24.

Performance highlights

Faster typing, opening, and switching

  • Faster keystroke echo: small output after idle is sent immediately; bursts use a non-resetting 8 ms batching window instead of a trailing debounce that could hold streaming output for roughly 150 ms. Loopback measurements in #407 reduced median idle echo from 17.0 to 4.0 ms and streaming echo from 87.7 to 8.9 ms.
  • Near-instant desktop switch-back: recently used single-view terminals retain their canvas, cursor, and scrollback in a bounded pool. In the desktop loopback benchmark, switch-back reveal fell from 148 to 12.3 ms median and 165 to 12.7 ms p95, with no reattach on a pool hit. Desktop retains up to three terminals; mobile retains one. Parked viewers are evicted on timeout, backgrounding, and relevant lifecycle changes to bound retained control. #418
  • Faster first open: terminal mounting overlaps WebSocket ticket/handshake work, redundant opacity fades are removed, and Ghostty WASM compiles once while each terminal keeps an isolated instance and memory. The three-run benchmark reduced single-terminal reveal from 254.7 to 195.6 ms median and grid reveal from 219.8 to 196.2 ms. Mobile foreground return probes healthy sockets before reconnecting unnecessarily. #411

Faster heavy-session loading and smoother concurrent work

  • Broker-rendered, byte-budgeted attach prefill: ANSI rendering moves off the Bun event loop into the broker, avoiding large per-cell JSON transfers. For a dense 600-line truecolor session with a 256 KiB budget over 30 runs, RPC-to-prefill time fell from 39.54 to 2.31 ms median (46.73 to 3.15 ms p95); synchronous relay work fell from 23.18 to 0.03 ms median, and the response shrank from 3.10 MB to 0.35 MB. Scrollback is trimmed oldest-first on complete lines, preserving the visible screen. Older brokers use the compatible JSON fallback. #419
  • Less cross-session interference: snapshot, create, and resize work no longer block the broker connection's input-reading path; snapshot conversion and reflow move outside the terminal lock. Typing in one session need not wait behind another session's heavy snapshot work. #413
  • Less unnecessary canvas work: unchanged scrolled rows and cursor rows are no longer repainted every frame; blank-glyph text draws are skipped, viewport reads are batched, and font/color assignments are cached. The 80×24 idle benchmark reduced scrolled-up fillText calls over ten frames from 20,000 to zero. Synchronized terminal output is respected. #400, #409
  • Bounded slow-viewer queues: acknowledgement-window flow control replaces unreliable transport-buffer accounting for capable browser viewers. A 512 KiB in-flight window and bounded pending output prevent unbounded backlog; overloaded viewers resynchronize rather than accumulating increasingly stale output. Legacy viewers retain their existing path. #415, #416
  • Fewer periodic event-loop stalls: agent runtime soft-state persistence is asynchronous and debounced; observation-timestamp-only changes no longer trigger disk writes. This is a soft cache, not the durable task ledger; abrupt termination can lose approximately two seconds of pending soft state. #410
  • Broker release builds enable fat LTO and a single codegen unit; blank snapshot glyphs reuse canonical storage. Keystroke, terminal-load, and switch/reveal measurement coverage is expanded. #387, #408, #412

Measurement scope: these are before/after measurements reported in the linked change-specific benchmarks, not universal device/network guarantees or a fresh combined-release benchmark. Loopback, dense-history, and idle-canvas scenarios measure different workloads and should not be combined into one speedup claim.

New: optional plugins/extensions

Wolfpack now supports installable workspace widgets and terminal-layout recipes through its public wolfpack-bridge/extensions SDK. Extensions are optional, separately installed packages—not automatically enabled built-ins.

  • Install from an absolute local directory or an exact npm package version. Packages become immutable snapshots rather than live links to source.
  • Explicitly opt in to trusted browser code with --trust-browser-code. Only install extensions you trust; this flag authorizes executable browser code, not a sandbox.
  • List, enable, disable, update, roll back, and remove extensions through wolfpack extensions. Optional Pi skill installation is available with --skills pi.
  • Build session-aware widgets using schema-validated documents and revision-checked writes, with exact current-session identity rather than name guessing.
  • Recover hidden installed widgets through Settings, and place independent widgets in docked areas with keyboard, mouse, or pen controls.
# install a trusted local extension
wolfpack extensions install /absolute/path/to/extension --trust-browser-code

# inspect installed extensions
wolfpack extensions list

# manage an installed extension by its id
wolfpack extensions disable <extension-id>
wolfpack extensions enable <extension-id>
wolfpack extensions rollback <extension-id>

The same install command accepts npm:<package-name>@<exact-version> instead of a local directory. Extension source, schemas, bundles, skills, and authoring guidance are maintained separately in the Wolfpack Extensions repository; this release ships the generic host framework and SDK. Agent Context and the read-only Changes extension are separate packages; this release does not publish those packages or bundle them as built-ins. No filesystem watcher, Pi tool-event hook, or diff-editing API is implied.

Workspace and usability improvements

  • Independent widget placement, retained views, fixed docking targets, collapse-to-peek drawers, and explicit pinning. Peeking does not resize terminals; mobile widgets use a separate view with a return-to-terminal control.
  • A full Sessions chooser before a terminal is focused, compact All/Idle controls, hidden-widget recovery, and improved focus and keyboard behavior.
  • Server-owned machine display names remain separate from stable routing identities.
  • Terminal presentation remains stable during live resize; continuous dragging no longer prevents resize progress.
  • Ghostty container input listeners are disposed correctly. Dashboard and Settings styling/usability receive further refinement.

Installation, reliability, and maintenance

  • Declining login-service installation preserves foreground startup behavior. Startup checks real application/broker readiness, propagates failures, forwards launcher signals, and distinguishes invocation-owned processes from independent brokers.
  • Installer setup opens the controlling terminal before downloads/staging and preserves skip-setup upgrades. Local versus Tailnet access output is clearer.
  • Remote task endpoint resolution sends the correct JSON headers. Service/setup, asset generation, publication, and test paths include scanner-driven corrections.
  • Dependency, security, CI action, browser-test, and type-definition updates; improved task retry isolation, browser fixtures, context documentation, and removal of obsolete plans.

Upgrade and verification notes

  • Release build: all four platform builds, Linux/macOS installed-artifact smoke checks, final payload preparation, and GitHub asset/provenance publication passed. npm publication completed: after updating the publishing credential, attempt 3 published the main package and all four platform packages with provenance. Registry metadata confirms 1.6.25 is latest for all five packages.
  • Broker restarts terminate broker-owned sessions. Finish or preserve important work before an update that replaces/restarts the broker. See the installation guide.
  • Installing or updating a widget does not require a broker restart. Existing Agent Context document schemas remain compatible; schema-changing extension updates still need explicit migration support.
  • New relay/older broker and new broker/older relay combinations retain the legacy snapshot path where needed.
  • Final-source CI passed on d7f02cfe: 2,490 unit/snapshot passes (5 skips), 467 integration passes (4 skips), 36 isolated auth passes, 204 Rust passes (1 ignored), 5 real-broker hydration/reflow passes, 18 homepage QA passes, 29 critical Chromium passes (13 skips), and 26 mobile WebKit passes. Dependency audit, typechecks, generated assets, bundle budgets, and desktop/mobile terminal-load budgets passed. Skipped environment-specific signing, Node, and Pi/relay checks and profile exclusions remain coverage limitations; this is the configured CI suite, not every optional device/package scenario.
  • Physical-device release checks remain unverified. The release owner explicitly approved a v1.6.25-only exception. Automated browser tests are not physical iOS/Android, accessibility, or multi-host recovery evidence.

Complete changelog since v1.6.24

Chronological list of every commit in this release range. #416 consolidates work also represented by #414/#415; those entries are retained for completeness, not counted as separate performance gains.

  • Clarify local and Tailnet access output — #385.
  • Set JSON headers when resolving remote task endpoints — #386.
  • Borrow canonical blank snapshot glyphs — #387.
  • Remediate plugin scanner findings — #388.
  • Respect foreground installation and startup readiness — #389.
  • Update actions/upload-artifact — #390.
  • Update softprops/action-gh-release — #393.
  • Update ws and @types/ws — #394.
  • Update bun-types — #392.
  • Update actions/upload-pages-artifact — #391.
  • Update actions/checkout — #395.
  • Update @axe-core/playwright — #396.
  • Update actions/configure-pages — #397.
  • Update @playwright/test — #398.
  • Isolate task gateway retry timing from HTTP keepalive — #403.
  • Batch terminal viewport reads and honor synchronized output — #400.
  • Dispose Ghostty container input listeners — #401.
  • Refresh curated EDC context — 70d85c58.
  • Retain terminal presentation across live resize — #404, incorporating #402.
  • Add extensible session workspaces and prepare v1.6.25 — #384.
  • Improve dashboard and Settings usability — #405.
  • Flush isolated terminal output immediately and cap bursts at 8 ms — #407.
  • Add the web-terminal keystroke round-trip benchmark — #408.
  • Stop repainting unchanged terminal rows every frame — #409.
  • Persist agent runtime state asynchronously without fsync — #410.
  • Keep terminal resize progressing during continuous drag — #406.
  • Open sessions faster, probe before mobile reconnect, and compile WASM once — #411.
  • Enable fat LTO and a single broker release codegen unit — #412.
  • Keep the broker read loop and terminal lock free of heavy work — #413.
  • Remove obsolete planning documents — c06532a3.
  • Make the E2E Ghostty wrapper override shape-independent — #414.
  • Add acknowledgement-window flow control for PTY viewers — #415.
  • Consolidate remaining terminal-latency work and E2E correction — #416.
  • Retain recently used terminals for fast switch-back and add reveal-flash measurement — #418.
  • Render attach prefill in the broker under a byte budget — #419.

Full diff: v1.6.24...v1.6.25