Commit Graph
5 Commits
Author SHA1 Message Date
Florian Schmidt b224fff7f3 feat(web): handle one-shot sensitive artifact downloads (#4)
Track sensitive download state per run in the session reducer. Fetch each artifact once into a blob so expired or consumed downloads show HTTP 410 without a separate preflight request. Verify the SSH-key notebook, capture substitution, failure sections and public-key upload provenance through App. Document demo and real terminal workflows.
2026-11-16 00:21:24 +01:00
Florian Schmidt a6429e0527 feat(web): add xterm terminal panel (#5)
Use @xterm/xterm for terminal emulation and its official @xterm/addon-fit for container sizing. Lazy-load both on first open to keep them out of the main bundle. Preserve the mounted terminal on collapse and offer explicit reconnect; provide an echo transport for demos.
2026-11-16 00:21:17 +01:00
Florian Schmidt 08d5441cf2 refactor(web): use real core in demos and tests (#4, #5) 2026-11-16 00:21:03 +01:00
Florian Schmidt 4e79af3e24 fix(web): keep host key prompt open after the aborted run finishes (#2)
The server publishes run.finished (exit -1) right after run.hostKeyUnknown, which closed the confirmation dialog immediately.
2026-11-16 00:13:24 +01:00
Florian Schmidt 443bf944b8 feat(web): add shell-first runbook UI and mock demo (#2)
Add notebook parameters, literal highlighted scripts, copy helpers, streamed runs, host-key confirmation, artifacts, conditional notes, login and optimistic Markdown editing. Keep the temporary core renderer isolated to mock mode.

Use React and Vite for the UI, react-markdown for safe Markdown rendering, highlight.js for shell syntax, and CodeMirror 6 for Markdown editing. Add Testing Library, jsdom and Vitest for component and event-state coverage.

Validate pnpm install, root typecheck and test (29 web tests, 1 server test), plus normal and mock web builds. Core contracts remain unchanged; real backend execution awaits the parallel core/server implementations.
2026-11-16 00:08:30 +01:00