src/lib/components/shell/StatusPill.svelte (new)
Live phase + active-step + fired-count indicator for the AppHeader.
Reads from the briefingState rune store. Phases the user sees during
a real query, in order:
β planning intent β planner JSON streaming
β gathering evidence Β· <step name> Β· X/Y β FSM data Stones firing
β reconciling Β· granite4.1 + mellea β waiting on the LLM
β writing briefing β first reconcile token landed
(hidden once briefingState.markReady() fires)
Step labels lifted from the legacy agent.js short-name set so the
pill reads "Sandy 2012" / "FloodNet sensors" / "TTM Battery (NYC
fine-tune)" instead of raw FSM ids. Two specifically renamed for
accuracy: prithvi_eo_v2 β "Ida 2021 polygons (baked lookup)" and
prithvi_eo_live β "Prithvi-NYC-Pluvial v2 segmentation" β the
former is a static spatial join, not a model run, and the old label
misled the user about whβ¦
Telescoped from ~25 spine commits into the three UI generations:
Lit (kept on disk for reference, not loaded):
web/static/components/{briefing,trace,signals,sources-footer}.js
Component-per-tag custom elements with reactive props.
Svelte 5 custom-element bundle (legacy primary, served at /legacy):
web/svelte/src/lib/{Briefing,Trace,SourcesFooter}.svelte + main.js
Shared store for cross-component highlight (citeIndex,
highlightedDocId). Built artifact ships at web/static/dist/riprap.js.
SvelteKit design-system v0.4.2 (the new primary):
web/sveltekit/src/* β adapter-static build, IBM Plex, four-tier
glyphs, MapLibre map with custom basemap, server-side render of
/q/sample + /q/<query>. Built artifact ships at web/sveltekit/build/.
web/main.py wired up the new endpoint surface:
/, /q/sample, /q/<query> β SvelteKit build
/legacy, /single, /compare β Svelte custom-element bundle
/api/agent/stream β SSE pipeline (plan/step/tokeβ¦