Skip to content

v0.36.0

Choose a tag to compare

@github-actions github-actions released this 16 Oct 14:50
d1112a8

Stageflow v0.36.0

Send-only communication channels (AgentMail, Slack, Telegram, iMessage/WhatsApp via Photon), a Connections console page, pipeline editor channel wiring, shared host connections with a secret store, run-start channel checks, and safe idempotent sending.

0.36.0

Features

  • Communication channels (send-only). Connect AgentMail, Slack, Telegram, iMessage, or WhatsApp once; stages declare channels: with the recipient in YAML and agents get a neutral send_message tool on the Pi backend (no recipient choice). iMessage/WhatsApp use Photon and optional @spectrum-ts/* packages. One channel per stage for this release. See Communication channels.
  • Connections page. Connect providers from the console: test before save, replace key, disable, disconnect, per-connection status hints and channels: snippets. First-run empty state lists all providers. Email accounts and .mcp.json tool servers appear alongside. New APIs: GET/POST /api/connections, POST /api/connections/test, PATCH/DELETE /api/connections/{id}, POST /api/connections/{id}/check, POST /api/connections/{id}/validate-target.
  • Stage channels in the pipeline editor. Inspector Channels section: pick a connection, enter a validated recipient, see connection status. Pipeline-level channels: persists on draft save.
  • Host-level connections and secret store. Connections in $STAGEFLOW_HOME/connections.yaml (project file or STAGEFLOW_CONNECTIONS_FILE override). Secrets via env:NAME or store:NAME in channel-secrets.json (mode 0600); YAML never holds raw secrets.
  • Run-start channel check. Preflight, start_run, and sf doctor verify connections live; failures block runs with channel_check_failed (connection + reason). Transient failures retried at most twice.
  • Safe sending. Idempotent sends per operation key via a durable ledger; possible provider delivery is never double-sent after restart. Secrets excluded from stage worker, logs, errors, and API responses.
  • examples/channels-smoke/ — two-stage pipeline sending one email and one text.

Changes

  • Claude agent backend rejects stages that declare channels: instead of running without send_message.
  • Docker image includes optional Spectrum packages (~100 MB); npm install --omit=optional skips them and iMessage/WhatsApp report CHANNEL_PROVIDER_UNSUPPORTED.

Known limits

  • Free/Pro Photon users must be project users and must text their assigned Photon line once before iMessage sends work; run-start check cannot detect this.
  • sf backup does not include connections.yaml or channel-secrets.json.
  • Slack, Telegram, and WhatsApp sends not verified against real accounts.