Repository navigation
v0.23.0
Stageflow release notes (0.20.0 → 0.23.0)
Release v0.23.0 bundles four semver releases since v0.19.0: a shared global service and unified run store, broad MCP and inspect improvements, inline pipeline definitions for start_run, and live stage output streaming.
0.23.0
Features
- Live stage output streaming — Assistant text from a running stage is captured as it streams, batched about every 300ms, redacted for secret-shaped substrings, and written to a size-capped
stream.logper stage attempt. - New MCP tool
tail_stage_log— Poll with{ runId, stageId, attempt?, since_offset? }and receive{ text, next_offset, attempt_complete, truncated?, earliest_offset? }so consoles and host integrations can follow output with a byte-offset cursor. Always on (no pipeline flag);log.jsonl,list_stage_events, andresources/subscribeare unchanged.
0.22.0
Features
- Inline pipelines in
start_run— Thepipelinefield accepts an inline definition object{ id, stages: [...] }, not only a filesystem path. It is validated and executed on the same path as file-based pipelines, so hosts can run typed tasks without writing YAML first. Runs started this way have nopipeline_pathand cannot bererun; save to a file if you need rerun.
Fixes
- Structured validation errors — MCP
start_runreturns{ error, validation }on pipeline validation failure, matchingPOST /api/runs, instead of an uncaught bare-string error.
0.21.0
Features
get_healthincludesversion— Hosts can detect behavior changes that do not add or remove a whole tool.get_waiting_summary— Lightweight MCP tool: count and identity list of waiting stages (no prompt bodies, artifacts, or questions) for status badges; optionalrunIdorpath; all projects by default.- MCP inspect parity with the operator console — Read-only
list_providers,list_models,list_project_mcp, andprobe_project_mcp(no login, settings-write, or Stage MCP attach). describe_pipeline— Surfaces Clone Chain, feedback-loop, and inbound routeif/onwiring for inspection beforestart_run.read_artifactimages — PNG, JPEG, GIF, and WebP return as MCP image content blocks; text stays JSON; unknown binary still errors.- Lean run payloads —
get_run/wait_run(and the run resource) includetotal_cost_usdand clonedefinition_idwhen present on the store. decide_feedback_loop— Appends durablefeedback_loop_decidedstage event with optionalreasonbefore succeeded/failed.get_envelopeattempt — Optionalattemptreads a prior execution’s stored envelope (omit for latest).- Example —
examples/mcp-hitl-tourwalkthrough for MCP-first HITL (answer_gate) and feedback-loop decide.
Fixes
- Feedback-loop
wait_for_human— Source passes persist aswaiting, thensucceeded/failedon continue/abandon, soget_runno longer leaves the passrunning.
0.20.0
Features
- Global Stageflow service — One auto-starting service instead of one process per project.
sf runandsf runs *use HTTP; the service starts on first use, so a second project or git worktree no longer collides on port binding.
Changed
- Shared run store — Run data lives under one
~/.stageflowstore instead of per-project.stageflow/directories; runs started from any project appear insf runs listeverywhere. maxConcurrent— Global for the whole service, not per-project.- Operator catalog —
--operator-cwd/--operator-agent-dironsf runno longer apply; the shared service’s operator catalog is fixed at its startup. SetSTAGEFLOW_OPERATOR_CWD/STAGEFLOW_OPERATOR_AGENT_DIRbefore the service first starts instead.