Repository navigation
v0.36.0
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 neutralsend_messagetool 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.jsontool 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 orSTAGEFLOW_CONNECTIONS_FILEoverride). Secrets viaenv:NAMEorstore:NAMEinchannel-secrets.json(mode0600); YAML never holds raw secrets. - Run-start channel check. Preflight,
start_run, andsf doctorverify connections live; failures block runs withchannel_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 withoutsend_message. - Docker image includes optional Spectrum packages (~100 MB);
npm install --omit=optionalskips them and iMessage/WhatsApp reportCHANNEL_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 backupdoes not includeconnections.yamlorchannel-secrets.json.- Slack, Telegram, and WhatsApp sends not verified against real accounts.