Skip to content

feat(web): inspect runtime state and restore archived conversations - #445

Merged
tt-a1i merged 1 commit into
mainfrom
codex/web-visible-capabilities
Sep 7, 2026
Merged

tt-a1i merged 1 commit into
mainfrom
codex/web-visible-capabilities

Conversation

@tt-a1i

@tt-a1i tt-a1i commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator

The Web workbench could display runtime activity but could not inspect terminal output or expose the already available thinking, trust and provider credential projections. Archived conversations also had no restore entry point.

This adds a read-only runtime dialog, clickable background-terminal details, and an archived-history view with exact-path restore. Diagnostics load only on open/manual refresh; close, Session or model changes invalidate the panel. Optional expected-Session queries reject mismatched requests with 409, and terminal receipts carry Session identity to prevent same-id terminal confusion. Existing callers remain compatible.

Archive browsing explicitly covers the bounded loaded snapshot, including omitted Session/workspace counts and fallback groups for included Sessions whose workspace summary was omitted. Restore does not activate the Session; failures retain a retry entry. Terminal output stays escaped text with truncation disclosures. Configured credentials are not represented as a successful model request.

Validation:

  • bun run check passed (contracts, production Web build, format, lint, typecheck).
  • bun run test: 1457 Node tests passed, 1 skipped; 98 Vitest tests passed.
  • bun run test:web:e2e: 6 passed, covering desktop/mobile, keyboard/axe, Session-scoped diagnostic requests, plain-text terminal output, and failed restore/retry with zero Session activation requests.
  • Two independent read-only final reviews found no P2+ issues; model identity and real terminal-state test improvements incorporated.

Browser evidence uses this checkout's production build and deterministic endpoint fixtures. It does not claim installed Pi runtime acceptance, provider request success, or performance benchmark results. No tool authority, provider stack, setup defaults, or archive storage format changes.

First usability slice of #76; relates to #343, #346, #347 and #348. Those broader issues remain open for approval/control flows, full capability inspection, and configuration work. Workflow/subagent deep inspection, attachments/deliverables, and measured long-history improvements are subsequent slices.

@tt-a1i
tt-a1i merged commit 0796a5e into main Sep 7, 2026
7 checks passed
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