Skip to content

Speed up terminal menus and full transcript - #548

Draft
fazxes wants to merge 21 commits into
mainfrom
fazxes/accelerate-terminal-ui
Draft

Speed up terminal menus and full transcript#548
fazxes wants to merge 21 commits into
mainfrom
fazxes/accelerate-terminal-ui

Conversation

@fazxes

@fazxes fazxes commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Keep skills actions responsive during current filesystem refreshes and let the latest overlapping action win.
  • Keep prompt submission working when HOME is unset by using the valid empty optional skill catalog.
  • Use the same canonical HOME identity for skill startup and refresh.
  • Discover SKILL.md files added inside existing candidate directories on the next refresh.
  • Open Connections from current credential metadata without loading stored token bytes, and keep it closed when storage is unavailable.
  • Keep prepared transcript pages alive until their window workers stop.
  • Fill full-transcript viewports taller than the overscan cache without truncation or blank gaps.
  • Preserve the current full-transcript frame during resize and page replacement instead of showing a loading frame.
  • Cancel pending full-transcript opens only after complete terminal input is decoded.
  • Refresh hosted terminal screens after acknowledged user input.
  • Enforce percentile and resource budgets across composer, menu, modal, manager, transcript, and hosted-terminal surfaces.

Move skill discovery and transcript preparation off the input and render paths. Reuse indexed snapshots for menu queries and full transcript viewports. Read authentication presence without loading stored secrets. Add a ReleaseSafe percentile gate for the affected surfaces.
@fazxes fazxes added the type: improvement Improves existing user-facing behavior label Aug 31, 2026
@vercel-security-reviewer

Copy link
Copy Markdown

fazxes added 17 commits August 31, 2026 16:37
Resolve the Security.framework metadata lookup at runtime so Linux-hosted macOS cross-target builds do not require framework SDK paths.
Keep installed full transcript pages borrowed across frame commits, reject stale static revisions, and retain a valid live page while its replacement is building.
Keep the PGSO production manifest expectation synchronized with the opt-in terminal performance test exclusion.
Retain the last prepared page while a visible full transcript refreshes, without relaxing exact-revision requirements for an initial static open.
Retain the last prepared page for the duration of an open full-transcript session while newer content is prepared, preventing loading frames from replacing the reader's selection.
Fence skills and authentication actions on current background generations, protect catalog readers, and bound Ctrl-O preparation to reusable viewport windows. Strengthen performance and stress oracles so stale first paint cannot satisfy content-ready budgets.
Allow six temporary descriptors during the active resource phase while continuing to require an exact return to the pre-action descriptor baseline.
Permit legitimate multi-megabyte command descriptors in the immutable page handoff while keeping retained prepared windows capped. Wait for actual Ctrl-O readiness before asserting alternate-screen cancellation.
Use the bootstrap or host-provided skill catalog for WASM prompts instead of requiring a native HOME-backed filesystem refresh.
Fix background page ownership, auth presence, overlapping skill actions, pending Ctrl-O input, and replacement rendering. Expand percentile coverage to modal, catalog, manager, and hosted-terminal surfaces.
Queue both commands in one terminal transaction and keep the overlap flow as a focused always-on E2E regression.
Retain percentile and timeout evidence for direct tmux panes without treating capture-process scheduling as fx frame latency.
Defer restored child readers until their exact page is ready, retain the saved visual offset, and repaint only same-width prepared pages during replacement.
Use the 1 ms cadence for pending opens and scroll-window refills while live full-transcript refresh keeps the normal bounded event-loop cadence.
Freeze the installed full-transcript page while command output is active, but build one current page for an explicit pending open and refresh after completion.
@fazxes
fazxes marked this pull request as ready for review September 1, 2026 12:08
@fazxes
fazxes marked this pull request as draft September 1, 2026 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: improvement Improves existing user-facing behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant