Spec Page¶
A saved spec applet opens in a browser tab at the page that Caliper API serves at /v0/spec, drawn with the spec page's layout and look from the app's panel data.
| Field | Value |
|---|---|
| ID | EMB-06 |
| Status | Shipped |
| Scope | Core |
| Pillar | Web and Embedding |
| Sprint | None |
| Depends On | Caliper API v0 (AGT-01)Spec Applets ( SPC-08) |
| Unblocks | Spec Page from a Hub or a Script (EMB-27)Spec Page Tooltips and Selection ( EMB-28)SQL Sources in the Spec Page ( EMB-29)Dashboard Viewer Parity ( EMB-30) |
| Docs | HTTP API, GET /v0/spec |
| Branches | None |
| Design | Streaming and embedding, Spec applets |
Coverage Ledger¶
- Branch
sprint3-int-page, 0 commits that main lacks (168 ahead of the merge base). Work on the spec page keeping an attached live session, which reached main through a pull request (patch ids and subjects match). - Branch
sprint3-int-web, 0 commits that main lacks (184 ahead of the merge base). Work on the spec page tests, which reached main through a pull request (patch ids and subjects match). - design/applet-builder.md, under Proposed design. The command layer, the spec, the spec runtime, the saved applet as manifest plus spec, and the browser.
- design/builder-overview.md, under What is built. A saved spec applet opens in a browser from the running app through GET /v0/spec.
- design/builder-overview.md, under The integration order after sprint 2. Item 5: the spec runtime, the spec applet kind, the app's spec page and the first slice of the browser viewer; left in the browser: 3-D walls' grid and ticks, tooltips and live panels over the stream.
- design/builder-overview.md, under Acceptance. Acceptance: drop Parquet and safetensors, build the dashboard four ways, save as a spec applet, open in the browser viewer, entropy from the side chat on a live stream, both roles on local models.
- design/builder-pane.md, under What is built and what is left. Fixes made after the dry run of building a dashboard by hand: the empty canvas line, slice and reduce axes with ranges and names, a slice index kept in range, Open in browser, and the landing's Projects listing dashboards.
- design/builder-pane.md, under The pane on the spec page. Open in browser hands the saved dashboard to the app, which starts Caliper API on loopback if needed and opens the viewer link with the viewer token.
- design/builder-pane.md, under Decisions. Open in browser keeps the API running until the app quits and the link carries only the viewer token.
- design/spec-format.md, under What is built and what is planned. The first slice of the browser viewer: a saved spec applet opens in a browser tab from the running app.
- design/spec-format.md, under The browser. The portability rule: a spec runs in the browser when every bound catalog source has a wire form, otherwise validation warns spec.not_portable.
- design/spec-format.md, under What is built of the browser viewer. The app resolves and the browser draws: the read-only panel.data command sends each panel's data compact and within the runtime's bounds, as JSON with base64 arrays.
- design/spec-format.md, under What is built of the browser viewer. Refresh by version hash and the known argument, with the page polling the spec and each panel once a second.
- design/spec-format.md, under What is built of the browser viewer. The page is the entry web/src/spec/ built into one spec.html embedded in the executable, with a layout port to TypeScript and the native look drawn on a canvas.
- design/spec-format.md, under What is built of the browser viewer. Opening it: with --api the app prints the page link and writes spec_url to the API file; the link carries a viewer token that opens only the page and read-only commands from the origin viewer.
- design/spec-format.md, under What is built of the browser viewer. Tests of the browser viewer: session, commands, API and Playwright cases including an end-to-end run against the hidden app.
- design/spec-format.md, under What is built of the browser viewer. Recorded limits of the slice: edits of the open spec show in the browser only once saved, and a 3-D cloud lacks wall grids and tick labels.
- design/streaming-and-embedding.md, under Spec applets. Spec applets run in the browser unchanged and satisfy the split by construction.
- design/streaming-and-embedding.md, under Spec applets. Built first slice: a saved spec applet opens in a browser tab at /v0/spec, drawn from panel.data under a viewer token.
- Workspace, Spec Page. Launching a spec applet or opening a spec through a command shows the spec page.
- HTTP API, App Startup. The app starts the API on its own for the browser viewer and the side chat.
- HTTP API, GET /v0/spec. GET /v0/spec serves the browser viewer of a spec applet.
- Builder Pane, Browser Preview. Open in browser shows the saved dashboard at the browser viewer of Caliper API.
- Pull request #17. Pull request 17 (merged) delivers sprint 3: the builder libraries, spec format, loaders, catalog, command layer and session, caliper-mcp, the side chat, the widget agent, command endpoints of Caliper API, the spec runtime and applets, the builder pane, drag and drop, approval cards and the first slice of the browser spec page.
- Pull request #17. Deferred or not done in pull request 17. The attention entropy acceptance case waits on a reshape step; packaging of caliper-mcp and caliper-agent, a note on GPU contention during a live run, and the rest of the browser spec page are not done; revoking a token does not close a stream already open.
- Pull request #19. Pull request 19 (merged) delivers the build-a-dashboard walk-through on a real training run, local models for the widget agent and the side chat (Ollama preset, context lengths), launches that carry the caller's origin, unsaved-changes prompts, a live session that stays attached, and Open in browser.
- Orchestrators' notes,
_notes/HANDOFF-sprint3.md. The rest of the browser spec page was deferred beyond pull request 1. - Orchestrators' notes,
_notes/HANDOFF-sprint3.md. Open in browser control that works without --api, dashboards listed under Projects, transform axes with their index range and one line on the empty canvas. - Orchestrators' notes,
sprint3-integration/PR.md. In the app: command endpoints of Caliper API, spec runtime and spec applet kind, catalog providers, builder pane, drag and drop, approval cards and stacked previews; in the browser GET /v0/spec, panel.data and a viewer token. - Orchestrators' notes,
sprint3-integration/PR3.md. The person's work: Save changes prompt, live session stays attached with Detach, serve() streams under F4, files dropped on the live page, dashboards under Projects, cmd-O Open in browser and F6 Dashboard. - Orchestrators' notes,
s3-pane/demo3/README-section.md. README section for the walk-through's drop, build and browser steps.