feat(voice): published call-flows pull endpoint - #37
Merged
Conversation
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
marked this pull request as ready for review
July 13, 2026 08:11
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds the daemon-facing pull leg of the call-flow ("Receptionist") system —
wavekat-voicedoc 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/VoiceFlowsPagewire typesClient::published_flows()→GET /api/voice/flows/published, cursor-paginated by flow id (walknext_aftertoNonefor 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
SyncEndpointmarker.Server side
The endpoint lands in
wavekat-platformonfeat/voice-flow-editor(strictly creator-scoped, no root bypass — a daemon must only run flows its own user authored).Consumer
wavekat-voice'sfeat/flow-pull-sync(definitions pull-sync into theflow_definitionscache) 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 test75 green, clippy/fmt clean.🤖 Generated with Claude Code
https://claude.ai/code/session_015LMJgCUFXmKTVFHUkyDTVT