Skip to content

Set demo source verification through the CLI only, on hookdeck-cli 3.2.0 - #51

Merged
leggetter merged 1 commit into
mainfrom
chore/hookdeck-cli-3-2-setup
Nov 18, 2026
Merged

leggetter merged 1 commit into
mainfrom
chore/hookdeck-cli-3-2-setup

Conversation

@leggetter

Copy link
Copy Markdown
Collaborator

Demo setup now uses the Hookdeck CLI only. hookdeck-cli goes from 3.1.0 to 3.2.0 and the REST API fallback for source verification is gone.

What changed

  • _shared/hookdeck/hookdeck-cli.ts: upsertSource merges auth into the source config and passes it with --config-file. It no longer calls PUT /sources/{id} and is now synchronous. The header, algorithm and encoding you pass (Vapi's x-signature, sha256, hex) are kept, and LIVEKIT's api_key + api_secret work. Synced into each demo's scripts/hookdeck-cli.ts.
  • api() stays, only for reads in the probe scripts of vapi, elevenlabs and retell (find a source, list its requests). Setup does not use it.
  • hookdeck-cli 3.2.0 in deepgram/stt-tts, elevenlabs/post-call-transcripts, vapi/agency-routing, retell/outbound-lead-calling, livekit/voice-adventure, hookdeck/mcp-events-forward-proxy, hookdeck/transformations and hookdeck/binary-payloads, with the committed lockfiles. hookdeck/cli-fleet-fanout is left on its ^2.6.0 pin.
  • Setup scripts (vapi, elevenlabs, retell, livekit): drop await and read "verification set" from the CLI response's config.auth instead of the API response.
  • READMEs: version mentions only.

3.2.0 behaviour changes checked

  • No script uses --output with anything other than json (listen --output compact is unchanged).
  • Every source upsert passes --type.
  • Every connection upsert already checks the stored destination.

Tested

  • Throwaway sources on 3.2.0: auth in --config-file is stored for VAPI (custom header, sha256, hex), ELEVENLABS and LIVEKIT, and the VAPI type is kept when --type is omitted.
  • npm run setup against the real projects for vapi, elevenlabs, retell and livekit: sources and connections updated in place, .env unchanged, no new provider-side resources.
  • npm run probe for vapi (Acme and Globex), elevenlabs and retell: signed is verified, badly signed is VERIFICATION_FAILED.
  • node scripts/sync-shared.mjs --check, typecheck and tests for the four voice demos (scene tests with a system-Chrome Playwright preload).

🤖 Generated with Claude Code

Posted by an AI agent with human oversight.

…okdeck-cli 3.2.0

upsertSource passes config and auth together in the CLI's --config-file, so the
REST API fallback (PUT /sources/{id}) is gone. hookdeck-cli 3.2.0 applies source
auth correctly (3.1.0 left VAPI on the wrong header and failed on WEBHOOK). api()
stays for the probe scripts' reads. Bumps hookdeck-cli to 3.2.0 in every demo that
uses it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@leggetter
leggetter merged commit ec2fa32 into main Nov 18, 2026
10 checks passed
@leggetter
leggetter deleted the chore/hookdeck-cli-3-2-setup branch November 18, 2026 22:36
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