Inline fields share the value with the parameter panel. Groups and
included notebooks render as collapsible sections whose outline shows
the input status (orange missing, green complete, grey optional) and
remember their open state. The panel groups use the same colors. The
authoring toolbar inserts groups and fields; the demo serves the guided
example.
A notebook with a shell prompt on a dark tile, as one SVG used for the
favicon, the top bar, sign-in, setup and the README. PNG renders (192,
512, apple-touch) and a web manifest let browsers and phones show it
when the app is added to the home screen.
The parameter form and each included notebook group collapse; the choice
is remembered in the browser. Collapsed, the form lists only missing
required values and values changed from their default as chips that open
their field, and counts untouched defaults, so it stays one line.
- App shell: top bar with connection state and Chat/Terminal toggles,
per-column scrolling, sidebar only on the Notebooks page.
- Hash routes (#/notebooks/<path>, #/hosts, #/settings) so reloads and
links keep the open notebook and page.
- Parameters sit beside the notebook on wide screens, collapsible, with
missing-count summary and Reset; non-secret values are remembered per
notebook in localStorage (secrets and undeclared names never stored).
- Sticky notebook header with breadcrumbs, check summary and run-all;
Ctrl/Cmd+S saves the Markdown draft.
- Step cards show target, one deduplicated hint for missing values and
copy feedback.
- Shared Dialog, Menu and CopyButton components; notebook and host
actions move into menus and modal dialogs.
- Hosts page as a compact list; Settings split into cards with sign out
for this browser.
A notebook can include another one and continue with what it produced:
- core: parse :::when{param=a,b}, ::use{notebook= as= with=} and
::host{name= address= user= port= capture=}; composeNotebook namespaces
an included notebook's params, steps, captures and templates by alias
(cycles, missing files, depth > 4 and child errors are reported on the
use line). Defaults may reference captures and builtins
({{shellbook.public_key}}); required params and secrets gate only steps
of their own scope; secretEnv passes a scope's secrets under local names.
- protocol: NotebookResponse gains includes and builtins.
- server: compose includes on load, inject builtins (client values are
ignored), refuse steps in inactive when sections.
- web: render when/use/host blocks, group included params in the form,
add a created machine to Hosts and capture its name, reload when an
included notebook changes, run all checks only for active steps,
authoring snippets for when, use and host.
Test connection, key installation and runs now tell authentication
failures apart from unreachable hosts (refused, timeout, DNS, ...)
instead of a generic "SSH connection failed".
The web client keeps the server's deliberate error messages (4xx,
502, 503) and shows them in the hosts page; unexpected 500 errors
still show only the status. The reload hint appears only on 409
conflicts.
The app passes notebook paths relative to notebooks/, but the chat
protocol uses workspace paths (notebooks/...). Every message sent while a
notebook was open was rejected as invalid, and "Open notebook" links on
Claude's edits loaded a non-existent path. ChatPanel now converts at its
boundary in both directions.
Add atomic, versioned notebook mutations, a searchable folder tree, and editor insertion forms. Validate notebook paths and symlink roots and retain drafts after external changes.
Add yaml as a direct web dependency, reusing the existing workspace library for comment-preserving frontmatter edits.
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.
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.
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.