Files
buzz/scripts
npub1qyvc0c5kl4gqv2fd97fsk46tu378sqgy35vc83rvgfwne90sel7s0ed67d cf32dacd71 refactor(voice): extract reusable Pocket primitives + add Pocket voice settings
Combined landing of #2467 (extract buzz-voice crate) and #3208 (Pocket
voice settings), replayed onto main after #3266 and #3180 merged.

The original stacked PRs could not land as-is: the repo is squash-only
with delete-branch-on-merge, so #2467 was auto-closed when its base
branch was deleted, and squash merges severed the ancestry GitHub uses
for conflict detection.

Content is byte-identical to the blessed jt/buzz-voice-refactor branch
(93029c577, tree 6729e0eff) except for the three-file interaction with
 #3180 (huddle/mod.rs, huddle/state.rs, e2eBridge.ts), resolved here as
the union of both sides:

- huddle/mod.rs: keep #3180's pipeline re-exports (check_pipeline_hotstart,
  start_auto_enabled_transcription, PostConnectOutcome) alongside #3208's
  agent_tts_routing imports and await_inflight_tts_start.
- huddle/state.rs: reset_preserving_generation preserves both #3180's
  huddle_generation and #3208's tts_enabled; both test sets merged into
  the single tests module (fixes E0428 from textual union).
- e2eBridge.ts: both switch arms kept — #3180's huddle mock commands and
  #3208's TTS settings/voice-registry commands; no duplicate case labels.

Verified at this tree: cargo test 2047+3/0 (14 ignored), clippy -D
warnings clean, cargo fmt clean, tsc clean, pnpm test 3885/0, lint clean.

Co-authored-by: npub1qyvc0c5kl4gqv2fd97fsk46tu378sqgy35vc83rvgfwne90sel7s0ed67d <011987e296fd5006292d2f930b574be47c7801048d1983c46c425d3c95f0cffd@buzz.block.builderlab.xyz>
Signed-off-by: npub1qyvc0c5kl4gqv2fd97fsk46tu378sqgy35vc83rvgfwne90sel7s0ed67d <011987e296fd5006292d2f930b574be47c7801048d1983c46c425d3c95f0cffd@buzz.block.builderlab.xyz>
2026-07-31 07:30:52 -04:00
..
2026-07-27 14:18:24 -04:00