Skip to content

v0.23.0

Choose a tag to compare

@github-actions github-actions released this 16 Sep 03:33
358726b

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.log per 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, and resources/subscribe are unchanged.

0.22.0

Features

  • Inline pipelines in start_run — The pipeline field 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 no pipeline_path and cannot be rerun; save to a file if you need rerun.

Fixes

  • Structured validation errors — MCP start_run returns { error, validation } on pipeline validation failure, matching POST /api/runs, instead of an uncaught bare-string error.

0.21.0

Features

  • get_health includes version — 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; optional runId or path; all projects by default.
  • MCP inspect parity with the operator console — Read-only list_providers, list_models, list_project_mcp, and probe_project_mcp (no login, settings-write, or Stage MCP attach).
  • describe_pipeline — Surfaces Clone Chain, feedback-loop, and inbound route if/on wiring for inspection before start_run.
  • read_artifact images — 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) include total_cost_usd and clone definition_id when present on the store.
  • decide_feedback_loop — Appends durable feedback_loop_decided stage event with optional reason before succeeded/failed.
  • get_envelope attempt — Optional attempt reads a prior execution’s stored envelope (omit for latest).
  • Example — examples/mcp-hitl-tour walkthrough for MCP-first HITL (answer_gate) and feedback-loop decide.

Fixes

  • Feedback-loop wait_for_human — Source passes persist as waiting, then succeeded/failed on continue/abandon, so get_run no longer leaves the pass running.

0.20.0

Features

  • Global Stageflow service — One auto-starting service instead of one process per project. sf run and sf 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 ~/.stageflow store instead of per-project .stageflow/ directories; runs started from any project appear in sf runs list everywhere.
  • maxConcurrent — Global for the whole service, not per-project.
  • Operator catalog — --operator-cwd / --operator-agent-dir on sf run no longer apply; the shared service’s operator catalog is fixed at its startup. Set STAGEFLOW_OPERATOR_CWD / STAGEFLOW_OPERATOR_AGENT_DIR before the service first starts instead.