Skip to content

feat(voice): published call-flows pull endpoint - #37

Merged
wavekat-eason merged 1 commit into
mainfrom
feat/voice-flows-pull
Jul 13, 2026
Merged

feat(voice): published call-flows pull endpoint#37
wavekat-eason merged 1 commit into
mainfrom
feat/voice-flows-pull

Conversation

@wavekat-eason

Copy link
Copy Markdown
Contributor

What

Adds the daemon-facing pull leg of the call-flow ("Receptionist") system — wavekat-voice doc 48's control-plane split: the platform authors and versions flows; the desktop daemon reads published snapshots, caches them, and runs them offline.

  • VoiceFlowRecord / VoiceFlowsQuery / VoiceFlowsPage wire types
  • Client::published_flows()GET /api/voice/flows/published, cursor-paginated by flow id (walk next_after to None for the full set)

Flows have no upload direction (the client never writes them), so this is a typed method like the share commands, not a SyncEndpoint marker.

Server side

The endpoint lands in wavekat-platform on feat/voice-flow-editor (strictly creator-scoped, no root bypass — a daemon must only run flows its own user authored).

Consumer

wavekat-voice's feat/flow-pull-sync (definitions pull-sync into the flow_definitions cache) builds against this via a temporary [patch.crates-io]; releasing this as 0.0.19 lets that branch drop the patch and bump the dependency.

Tests

Serde round-trip tests for query serialization and page parsing; cargo test 75 green, clippy/fmt clean.

🤖 Generated with Claude Code

https://claude.ai/code/session_015LMJgCUFXmKTVFHUkyDTVT

Adds VoiceFlowRecord / VoiceFlowsQuery / VoiceFlowsPage and
Client::published_flows for GET /api/voice/flows/published — the
daemon-facing pull leg of the call-flow control-plane split. Read-only
by design (flows are platform-authored), so a typed method rather than
a SyncEndpoint marker.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015LMJgCUFXmKTVFHUkyDTVT
@wavekat-eason
wavekat-eason marked this pull request as ready for review July 13, 2026 08:11
@wavekat-eason
wavekat-eason merged commit 306e12d into main Jul 13, 2026
1 check passed
@wavekat-eason
wavekat-eason deleted the feat/voice-flows-pull branch July 13, 2026 08:11
@github-actions github-actions Bot mentioned this pull request Jul 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant