Repository navigation
Set demo source verification through the CLI only, on hookdeck-cli 3.2.0 - #51
Merged
Merged
Conversation
…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>
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.
Demo setup now uses the Hookdeck CLI only.
hookdeck-cligoes 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:upsertSourcemergesauthinto the source config and passes it with--config-file. It no longer callsPUT /sources/{id}and is now synchronous. The header, algorithm and encoding you pass (Vapi'sx-signature, sha256, hex) are kept, and LIVEKIT'sapi_key+api_secretwork. Synced into each demo'sscripts/hookdeck-cli.ts.api()stays, only for reads in theprobescripts of vapi, elevenlabs and retell (find a source, list its requests). Setup does not use it.hookdeck-cli3.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-fanoutis left on its^2.6.0pin.awaitand read "verification set" from the CLI response'sconfig.authinstead of the API response.3.2.0 behaviour changes checked
--outputwith anything other thanjson(listen --output compactis unchanged).source upsertpasses--type.connection upsertalready checks the stored destination.Tested
--config-fileis stored for VAPI (custom header, sha256, hex), ELEVENLABS and LIVEKIT, and the VAPI type is kept when--typeis omitted.npm run setupagainst the real projects for vapi, elevenlabs, retell and livekit: sources and connections updated in place,.envunchanged, no new provider-side resources.npm run probefor vapi (Acme and Globex), elevenlabs and retell: signed is verified, badly signed isVERIFICATION_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