Releases: caliban-ai/prospero
Release list
v0.5.0 — dashboard v2 + honest k8s outcomes
Replaces the dashboard. The hand-written vanilla-JS page is superseded by a
Rust → WASM single-page app that shares the server's own types, and it now
serves /; the old page remains at /v1, deprecated. Everything an operator
previously needed v1 for — launching, killing, replying to an interactive
agent, editing a workspace's config, watching a live stream — is in v2, along
with things v1 never had: a per-agent timeline with a tool-call inspector, and
fleet-wide spend, turns, and outcome charts over a selectable window.
The other half of this release is the k8s fleet telling the truth about what it
ran. Terminal outcomes were structurally invisible under PROSPERO_FLEET=k8s:
the watch loop derived agent status from the CalibanTask phase, and the
operator never advances that past Running, so the new outcome charts read a
permanent zero — including for runs that had demonstrably failed. Outcomes are
now taken from the pod, recorded once per agent, and survive a restart.
Upgrade note. GET / now serves dashboard v2 rather than v1, and
GET /app.js is gone — v1's script moved to /v1/app.js along with the page.
/v2 remains a permanent alias for the new dashboard, so existing links to it
keep working.
Added
- Dashboard v2 — a Rust → WASM single-page app, and now the dashboard. A
Dioxus SPA incrates/dashboard, compiled towasm32-unknown-unknownand
embedded inprosperod, replacing the hand-written vanilla-JS page. The read
model and the control-plane DTOs are the same Rust types the server uses, so
the client cannot drift from the API the way a hand-maintained JS copy did.
The crate sits outside the cargo workspace on purpose (a wasm-only crate would
break the host-target build and sink the coverage floor) and has its own CI
job; its built bundle is committed andinclude_bytes!'d, so an ordinary
cargo buildstill needs no wasm toolchain and one binary still ships the UI
(#97). - Full operator control from the dashboard. Launch, kill, remove, respawn,
interactive input, end-input, and workspace removal — every action gated on
/api/capabilities, so the UI never offers an operation the active backend
would answer with a 405
(#173). - Workspace registration and configuration from the dashboard, with two form
shapes chosen at runtime: the local single-provider/env form, and the k8s
Workspace-CR editor with sources, named providers, and Secret references,
plus the reconciliation-status pill and a provider picker on launch. This also
fixed a lossy read:GET /api/workspaceswas projecting the CR's source spec
down and dropping the git remote and ref, so editing a k8s workspace meant
retyping every remote from memory
(#175). - Live agent stream viewer — replay history from the store, then tail over
SSE. A reconnect resumes atlast_seq + 1and anything at or below the
high-water mark is dropped, which is the defence against the v1 reconnect
storm that duplicated the timeline unboundedly (#105); a close after
AgentFinishedreads as "finished" rather than an error, so a healthy
completed run does not sit there retrying
(#178). - Per-agent timeline with a tool-call inspector. Tool calls pair start with
finish into a collapsible entry, consecutive output coalesces, and the opening
context and final accounting become a header and a summary. Pairing is on the
tool id and never the name — caliban'sToolCallEndcarries the id but leaves
the name empty, which is what left every tool stuck "running" in v1 (#106)
(#179). GET /api/usage— cost, turns, and terminal outcomes aggregated per
workspace per UTC day over a window (since/until, ordays). Computed
by the store rather than by replaying the log, with identical semantics across
the JSONL, SQLite, and Postgres backends, held there by a shared conformance
suite (#180).- Fleet overview charts for spend, turns, and outcomes over a selectable
24h / 7d / 30d window. Outcomes are faceted rather than stacked: measured
against the real tokens, no ordering of a four-way stack is separable in light
mode, so one single-hue chart per outcome is the fix rather than a mitigation.
Hand-rolled SVG with native<title>tooltips — the page is served under
default-src 'none', so there is no script and nothing for the CSP to refuse
(#181). - An explicit theme setting (System / Light / Dark), persisted in
localStorage, replacing "whateverprefers-color-schemesays". The explicit
choice wins in both directions, and the theme is applied before first paint so
there is no flash of the wrong one
(#183).
Changed
- The control-plane DTOs moved to
prospero-typesand now carry both
SerializeandDeserialize. They previously lived inprospero-api, which
pulls axum and tokio and so compiles for no wasm target, and each carried only
the server's half of the contract — so a WASM client would have had to
hand-duplicate all eight, reintroducing exactly the drift Rust/WASM was chosen
to avoid. They are re-exported from their original paths and the serde output
is unchanged, so this is additive for existing consumers
(#172). - Dashboard v2 is now the default surface.
GET /serves the Dioxus/WASM
dashboard;/v2stays mounted as a permanent alias, since the bundle's own
asset URLs are absolute/v2/...and existing links point there. The scaffold
deliberately parked v2 at/v2so/stayed untouched while epic #95 landed —
that transition is complete
(#191).
Deprecated
- The v1 dashboard has moved to
/v1and is deprecated. It renders a notice
pointing at/, and its script now lives at/v1/app.js(GET /app.jsis
gone). It is kept rather than removed so an operator hitting a v2 regression
has somewhere to land, but it receives no further work and carries defects v2
was built to fix — most visibly #106, where a tool call whose finish frame has
a blank name stays "running" forever. Removal is a follow-up once v2 has a
release of real-world use (#191).
Fixed
-
Restarting prosperod no longer re-counts outcomes it already recorded. A
fresh process starts with an empty view of the fleet and re-derives the
terminal transition it had already written before the restart, so every
outcome facet doubled on each restart — measured on a live cluster as
3 done / 3 failed becoming 6 / 6 with nothing having run. The watch loop now
checks the durable log (which outlives the process) before recording an
agent's outcome, so an agent that finished once is counted once
(#196). -
Terminal outcomes are now derived from the pod, not the CalibanTask phase.
#190 made the watch loop persist the transitions it observed, but it observed
status.phase, and the operator never advances that pastRunning— CRs whose
agents finished a day earlier still readRunning, so no terminal transition
ever occurred and the outcome facets stayed at zero on a real cluster. The loop
now applies the same pod-caliband overlaysnapshot()has always used, so the
component that emits events and the one that renders them finally agree. Pod
dials are bounded and concurrent, and an agent is consulted only until it is
observed terminal (#194). -
An unreachable pod can no longer stall fleet observation. The status
overlay dialled each pod sequentially with no deadline. A pod that black-holes
its SYN (rather than refusing it) blocked until the OS connect timeout, which
was survivable when onlyGET /api/fleetdid this and is not now that the
watch loop depends on it. Dials are concurrent and bounded; a miss retries on
the next poll (#194). -
Terminal outcomes are now recorded under
PROSPERO_FLEET=k8s. The usage
aggregate countsdone/failed/killed/crashedfrom persisted
status_changedevents. The local arm has always emitted them, but the k8s
watch loop computed the identical transition diff and only broadcast it
in-memory — so on k8s every outcome facet in the dashboard read zero,
including for agents that had demonstrably failed. The loop now persists the
transition it observes, elected by a single-writer observer lease so replicas
don't multiply the counts
(#190). -
The dashboard's usage panel refreshes on its own. It fetched once per
window selection and never again, so a finished agent's spend could sit
invisible until the operator toggled the window by hand. It now refetches when
the fleet poll observes an agent appear, change status, or disappear, and on a
one-minute heartbeat — without re-running a 30-day store aggregate on every
five-second poll (#190). -
A k8s workspace's provider base URL survives an edit. The v2 editor had no
base-URL input andProviderInfodid not carry the field, so reopening the
editor showed a blank box and saving wrote it back — a routine model edit
silently unpicked a self-hosted provider, after which agents died instantly
with aProviderErroragainstlocalhost
([#188](https://github.com/caliban-ai/prospero/issues...
v0.4.0 — interactive agents under the k8s fleet
Makes the PROSPERO_FLEET=k8s fleet interactive. Since 0.3.0 a k8s agent
could be launched from the dashboard but never talked to: the reply box renders
only for an agent that is both interactive and idle, and under the k8s
backend neither could ever be true. Closing that took a field on the
authoritative CRD (caliban-operator#28) plus both halves of the round-trip here,
and turned up a second defect — 0.3.3's agent-id decoupling had quietly broken
reply delivery and the 0.3.2 status overlay. Local behavior is unchanged.
Deploy note: requires the caliban-crds chart at >= 0.2.1. Older CRDs
have no spec.task.interactive, so the API server prunes the field at admission
and the flag never reaches the pod.
Added
- Interactive agents under
PROSPERO_FLEET=k8s. The dashboard's
interactive: truenow survives the CR round-trip:build_calibantask
writesspec.task.interactive(the field caliban-operator#28 added to the
authoritative CRD) andspawn_spec_from_taskreads it back into the
SpawnSpecsent to the pod's caliband. Previously the flag was silently
dropped at the CR boundary and the spawn spec hardcodedinteractive: false,
so a k8s agent could never await input and the dashboard reply box
(interactive && idle) could never appear. Requires thecaliban-crdschart
at >= 0.2.1, or the API server prunes the field at admission
(#163).
Fixed
- Operator replies and the interactive/idle overlay now target caliband's own
agent id. #159 decoupled the agent id caliband assigns from prospero's CR
name, butsend_inputstill attached by CR name (404, reply lost) and
overlay_pod_statusstill looked records up by id (silent miss, regressing
#130's reply box).send_inputnow resolves the pod's agent via
ensure_pod_agent, and the overlay matches each pod's record by endpoint
rather than by id. The pre-existing tests used one string for both ids, so
they passed while the real path was broken; the new tests use distinct ids
(#163).
v0.3.3
Completes the PROSPERO_FLEET=k8s control plane so a spawned agent actually runs: the previous two fixes (v0.3.2) let the caliband pod bind and decoupled spawn from reconcile, but nothing ever started the agent inside the pod. Local behavior is unchanged.
Fixed
- k8s agents now actually start (and stream). Under the k8s backend, spawning created the
CalibanTaskCR and a caliband pod but never started the LLM run — caliband is a passive supervisor that begins an agent only onCtlRequest::Spawn, and prospero's session plane only attached, so the attach looped forever onagent not found. prospero now spawns the agent in the pod's caliband (list-or-spawn, one agent per pod) from theCalibanTaskprompt, then attaches — idempotent across poll cycles and replicas (ownership-lease-gated). Because caliband assigns the agent id itself, the attach id is decoupled from prospero's stream key (the CR name) so output still streams to the dashboard under the identity/streamexpects (#159) (#160).
Image: ghcr.io/caliban-ai/prospero:0.3.3
v0.3.1
Bug-fix follow-up to the 0.3.0 Kubernetes config plane, closing the four issues
surfaced in k8s smoke testing on a fresh 0.3.0 deploy. The PROSPERO_FLEET=k8s
fleet now stays Ready through a schema-skewed custom resource, surfaces the
registered Workspace CRs it manages (instead of a synthetic phantom), and
rejects an unregisterable workspace up front. Local behavior is unchanged.
Fixed
- A single un-deserializable
CalibanTaskno longer wedges the whole fleet.
K8sFleet's watch/readiness path listedCalibanTasks strictly, so one CR
that failed to deserialize (e.g. a stale task predating the now-required
workspaceReffield) failed the entire poll — the fleet never populated,
/readyzstuck at503, and the pod never becameReady. The list is now
decoded per-item, skipping and logging the bad CRs
(#148)
(#152). - The k8s fleet snapshot reconciles with the
Workspaceregistry.
GET /api/fleetsynthesized a single phantomk8sworkspace and never read
the registeredWorkspaceCRs, so a registered workspace was invisible in the
dashboard while the synthetick8sentry reportedworkspace not registered.
The snapshot now surfaces the registeredWorkspaceCRs (agents grouped by the
workspace they reference), so/api/fleetand/api/workspacesagree and a
fresh deploy shows no phantom
(#149,
#151)
(#153). - Add-workspace rejects an invalid workspace as
400, not a raw apiserver
422. The dashboard's+ add workspaceposted aWorkspacewith empty
providers/sources, which the CRD (minItems: 1on both) rejected — so a
workspace could never be registered from the dashboard. The config plane now
validates at least one well-formed source and provider before apply (add and
edit paths), and the form validates the same client-side
(#150)
(#154).
v0.3.0 — Kubernetes config plane
The Kubernetes config plane: deploying with PROSPERO_FLEET=k8s is now a
real control plane — create and configure workspaces, and launch provider-bound
agents, from the dashboard — instead of a read-only viewer that returned
405 Method Not Allowed on Save. Workspaces are first-class Workspace custom
resources reconciled by caliban-operator, and the dashboard is backend-aware.
Local behavior is unchanged.
Added
- Kubernetes config plane (core + API). Under
PROSPERO_FLEET=k8s,
K8sFleetnow wires aFleetAdminover operator-ownedWorkspacecustom
resources, soPOST/PUT/DELETEon/api/workspacespersist and
manage real configuration — multi-source workspaces, a named-provider list,
and per-provider credentials referenced by KubernetesSecretname (prospero
never reads the Secret) — instead of returning405. A backend-neutral
WorkspaceConfigDTO lets one API serve both backends (local projects its
single-provider subset, unchanged);GET /api/workspacesreturns the real
WorkspaceCRs with reconciliation status; async workspace writes answer
202 Accepted; and a spawned agent binds a named provider viaproviderRef
(#142)
(#144,
#145). - Backend-aware dashboard. The dashboard fetches
GET /api/capabilitiesand
adapts. On k8s it renders a workspace editor (git sources + a named-provider
list withsecretName/keySecret references and a default marker),
reconciliation status pills (pending/reconciling/ready/failed
with the failure message on hover), and a launch-modal provider picker; on
local it is byte-for-byte unchanged
(#143)
(#146). GET /api/capabilities— a backend capability seam the dashboard gates its
controls on (#99)
(#101).- Frontmatter / agent-template support through spawn — a spawn can forward an
agent-template markdown file to caliband'sSpawnSpec.frontmatter_path
(#6)
(#102). - Guiding Principles & Invariants guide page synthesizing ADRs 0002–0009
(#74)
(#104).
Changed
- The
CalibanTaskCRD mirror moved from an inlineworkspaceto a
workspaceRef(plus an operator-pinnedstatus.resolvedWorkspace), matching
caliban-operator's frozenv1alpha1contract. Pre-v1; existing cluster CRs
are recreated under the new schema.
v0.2.0
Kubernetes high-availability, a reworked dashboard, and a full QA sweep. A
second QA pass over the real prospero/caliband stack filed 23 findings; all
are fixed here, alongside first-class leader election for the k8s fleet backend
and a new agent-timeline dashboard.
Added
- Leader election + attach lifecycle for the
K8sFleetbackend. The
session-plane attach — the one path that writes an agent's events to the shared
store/bus — is now gated on a per-agent ownership lease, so with 2+prosperod
replicas exactly one replica owns, attaches to, and emits each agent (no more
duplicate SSE events or racing per-streamseqallocation). Standalone is
unchanged (SelfOwnsAll); a clustered deploy builds aLeasedOwnershiplease
plus heartbeat. Attach tasks are now promptly torn down on stop/remove/restart,
and any agent observedRunning— including operator- or peer-created ones —
is streamed by the lease owner
(#108,
#112,
#113)
(#138). - Dashboard agent timeline, tool-call inspector, and run header — a folded
event timeline with expandable tool-call segments and a per-run turns/outcome
header (#5)
(#96). prospero-typescrate — the normalizedFleetEvent/model DTOs extracted
into a small, wasm-compatible serde-only crate the WASM dashboard can share
(#98)
(#100).
Changed
- Under
PROSPERO_FLEET=k8s,prosperodno longer builds a local
FleetManager/poll loop; the k8s backend serves directly over the shared
store/bus (#83)
(#92). /readyznow reportsworkspaces_total/workspaces_healthy/
workspaces_unreachable(wasrepos_*), and user-facing error wording says
"workspace" not "repo", matching the vocabulary used everywhere else
(#116,
#117)
(#135).
Fixed
- Dashboard. Terminal-agent SSE streams no longer reconnect-storm into an
unbounded, duplicated timeline with runaway memory
(#105)
(#128); tool calls resolve
ok/failinstead of showing "running" forever (paired bytool_use_id)
(#106)
(#131); the fleet summary
shows the workspace count, the misleading$0.0000cost is gone, and a favicon
is served (#115,
#109,
#119)
(#134). - API. Duplicate workspace registration returns
409 Conflict, not a
misleading503(#111)
(#139); an unknown agent's
events endpoint returns404instead of200 []
(#118)
(#135);api_key_from_env
on a keyless provider is rejected at config-set time, andrmno longer races
a just-spawned agent or lags the fleet view
(#120,
#122,
#123)
(#137). - k8s hardening. The session-plane bearer token is never sent over plaintext
(#107)
(#133); unrecognized
CalibanTaskphases map to a terminal state,calibandEndpointis validated,
lock poisoning can't wedge the fleet view, the token compare is constant-time,
and--fleet-backend k8son a non-k8s build fails before any side effects
(#114,
#121,
#125,
#126,
#127)
(#136). - Tests. De-flaked the
distributed_busPG suite under parallel shared-DB
load (#110)
(#129) and
cli_drives_the_full_stack(#85)
(#94).
v0.1.1
First image built with --features k8s (#90) — PROSPERO_FLEET=k8s now works. Image: ghcr.io/caliban-ai/prospero:0.1.1 (multi-arch). Unblocks the prospero k8s-fleet Helm chart support (helm-charts#17).
v0.1.0 — prosperod container image
Initial release. First containerized and licensed release of the prospero control plane as part of the P0 Kubernetes deployment (epic caliban-ai/caliban#274).
Image
- `ghcr.io/caliban-ai/prospero:0.1.0` — multi-arch (linux/amd64 + linux/arm64), non-root,
prosperodREST/SSE/dashboard on 7878. - Also tagged `:latest` and `:sha-`.
Deploy
Helm chart `charts/prospero` in caliban-ai/helm-charts — renders standalone (sqlite + PVC) or clustered (external Postgres, N replicas) from one `topology` value.
Notes
- This repository is now licensed AGPL-3.0-only, matching its sibling projects.