You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ec2fa32
Browse filesBrowse the repository at this point in the historyBrowse files
_shared/hookdeck: set source verification through the CLI only, on hookdeck-cli 3.2.0 (#51)
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>
/** Calls the Hookdeck API with the project API key, for settings the CLI doesn't apply. */
203
+
/** Reads from the Hookdeck API with the project API key. The demos' probe scripts use it to find a source and list its requests; setup goes through the CLI only. */
The Hookdeck CLI is an npm dependency (`hookdeck-cli` 3.1.0, the first release that forwards binary bodies such as the TTS audio), installed by `npm install`. The setup and listen scripts log it in to the project for `HOOKDECK_API_KEY`, with a config file of their own in `run/`, so whatever you're logged in to with `hookdeck login` isn't used or changed.
33
+
The Hookdeck CLI is an npm dependency (`hookdeck-cli` 3.2.0; binary bodies such as the TTS audio need 3.1.0 or later), installed by `npm install`. The setup and listen scripts log it in to the project for `HOOKDECK_API_KEY`, with a config file of their own in `run/`, so whatever you're logged in to with `hookdeck login` isn't used or changed.
34
34
35
35
Create the connections and write their Source URLs into `.env`:
/** Calls the Hookdeck API with the project API key, for settings the CLI doesn't apply. */
204
+
/** Reads from the Hookdeck API with the project API key. The demos' probe scripts use it to find a source and list its requests; setup goes through the CLI only. */
/** Calls the Hookdeck API with the project API key, for settings the CLI doesn't apply. */
204
+
/** Reads from the Hookdeck API with the project API key. The demos' probe scripts use it to find a source and list its requests; setup goes through the CLI only. */
Copy file name to clipboardExpand all lines: hookdeck/binary-payloads/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,7 @@ npm run ui
57
57
58
58
Open http://localhost:4300 to send cases one at a time, by group, or all at once. Each row shows the ingestion outcome, the time from send to delivery through the CLI with the Hookdeck event ID, whether the bytes match, and the `Content-Type` that arrived. Preview renders what arrived: images, audio, video, PDF, archive and multipart entries, decompressed gzip, and a hex dump. Stop the listener from the page to see that nothing is delivered without it: events sent while it's stopped aren't replayed when it reconnects, so retry them from the dashboard.
59
59
60
-
The Hookdeck CLI is an npm dependency (`hookdeck-cli` 3.1.0, the first release that forwards binary bodies), so `npm install` is all you need. To try a different build, set `HOOKDECK_CLI=/path/to/hookdeck`. With v3.0.3 or earlier, binary events fail with `CLI_BINARY_UNSUPPORTED`, and multipart still arrives, but as lossy text.
60
+
The Hookdeck CLI is an npm dependency (`hookdeck-cli` 3.2.0; binary bodies need 3.1.0 or later), so `npm install` is all you need. To try a different build, set `HOOKDECK_CLI=/path/to/hookdeck`. With v3.0.3 or earlier, binary events fail with `CLI_BINARY_UNSUPPORTED`, and multipart still arrives, but as lossy text.
61
61
62
62
The CLI logs in to the API key's project in a config file of its own (`run/hookdeck-cli.toml`), so it never touches the project you're logged in to interactively.
0 commit comments