provide-terminal
2026-03-15
undef-telemetry integration, replay playback with real-time deltas, and JWT auth fixes
159 files · 11,730+ · 1,321-
Replace stdlib logging with undef-telemetry
15 files changed
gateway.pyGateway: stdlib logging replaced with undef-telemetrybase.pyHijack base: stdlib logging replacedbridge.pyHijack bridge: stdlib logging replacedconnections.pyHub connections: stdlib logging replacedcore.pyHub core: stdlib logging replacedownership.pyHub ownership: stdlib logging replacedapp.pyServer app: stdlib logging replacedauth.pyServer auth: stdlib logging replacedconfig.pyServer config: stdlib logging replacedssh.pySSH connector: stdlib logging replacedwebsocket.pyWebSocket connector: stdlib logging replacedruntime.pyServer runtime: stdlib logging replacedssh.pySSH transport: stdlib logging replacedtelnet.pyTelnet transport: stdlib logging replacedconftest.pyRemoved manual structlog conftest config (no longer needed)
- Replaced Python stdlib logging throughout with
undef-telemetry. Removed manual structlog conftest config (no longer needed). decouple behavioral6 files
gateway.pycore.pyapp.pyauth.pyruntime.pyconftest.py
Replay playback with real-time deltas and ANSI color toggle
7 files changed
viewer.pyReplay viewer with real-time delta playback timerReplayPage.tsxReplay page component with playback controlsPlaybackControls.tsxPlayback controls componentScreenPreview.tsxScreen preview with ANSI color toggleTimelineCanvas.tsxTimeline canvas componentEventDetail.tsxEvent detail componentreplayStore.tsReplay state store
- Implemented replay playback timer that replays terminal sessions with accurate real-time deltas between frames.
decouple
internal
3 files
viewer.pyReplayPage.tsxreplayStore.ts
- Added ANSI color rendering toggle on the replay screen preview.
instantiate
behavioral
2 files
ScreenPreview.tsxansiToHtml.ts
JWT auth fixes and Cloudflare Worker parity
6 files changed
auth.pyMade extract_bearer_token public; guarded token cookie for anonymous requestspages.pyFixed setting the token cookie on page responses in JWT modeapi.pyAPI routes updated for JWT authjwt.pyJWT auth implementationhttp_routes.pyHTTP routes with JWT enforcementwrangler.tomlSet AUTH_MODE=jwt for production
- Set
AUTH_MODE=jwtfor production; fixedpywranglerdev build loop. remediate internal1 file
wrangler.toml
- Fixed setting the token cookie on page responses in JWT mode.
remediate
internal
1 file
pages.py
- Made
extract_bearer_tokenpublic; guarded token cookie for anonymous requests. harden internal1 file
auth.py
- Updated Playwright server tests for new React app UI.
qualify
behavioral
1 file
test_server.py
React SPA frontend (provide-terminal-app package)
17 files changed
index.htmlSPA entry pointApp.tsxRoot application componentmain.tsxMain entry pointclient.tsAPI clientsessions.tsSessions APItypes.tsAPI type definitionsbootstrap.tsBootstrap configurationDashboardPage.tsxDashboard page componentConnectPage.tsxConnect page componentOperatorPage.tsxOperator page componentSessionPage.tsxSession page componentAppHeader.tsxApp header layout componentdashboardStore.tsDashboard state storesessionStore.tsSession state storeterminalStore.tsTerminal state storetokens.cssDesign tokens CSSvite.config.tsVite build config
- New
provide-terminal-appReact SPA package with full dashboard, connect, operator, session, and replay pages. State managed via Zustand stores. Vite build config. instantiate architectural5 files
App.tsxDashboardPage.tsxOperatorPage.tsxdashboardStore.tsvite.config.ts
Styles, JWKS cache, and frontend cleanup
4 files changed
ui.pyExtracted inline styles to CSS classes; JWKS cache clock fixhijack.jsFrontend hijack JS with SPDX headerssession_logger.pySession logger SPDX header addedhijack.jsFrontend hijack source with SPDX headers
Test config, coverage, and mutmut fixes
8 files changed
test_ansi.pyANSI test suitetest_runtime_fixes.pyRuntime fix tests (120 lines)test_ui_vite.pyVite UI tests (159 lines)test_connections_fixes.pyConnections fixes teststest_core_fixes.pyCore fixes teststest_routes_advanced.pyAdvanced routes teststest_ws_exception_handling.pyWebSocket exception handling teststest_pages.pyPages route tests
Docs update for hosted UI and Cloudflare parity
5 files changed
README.mdREADME updatedproduction-readiness-pass2.mdProduction readiness pass 2 documentationprotocol-matrix.mdProtocol matrix documentationREADME.mdCloudflare package READMEHANDOFF.mdHANDOFF updated
- Updated hosted UI, Cloudflare parity docs, and overall documentation.
specify
behavioral
3 files
README.mdproduction-readiness-pass2.mdprotocol-matrix.md