Expand description
taskfast webhook — configure, test, subscribe, inspect, delete.
Replaces scripts/webhook-setup.sh. All HTTP work lives in
taskfast_agent::webhooks; this module is the thin clap + envelope
layer.
§Secret-file contract
The platform returns the signing secret exactly once (see
spec/openapi.yaml:2264-2269). register persists it to
--secret-file with mode 0600 on unix. If the server returns a
null secret (idempotent PUT on existing config), we leave any
existing secret file untouched — never silently truncate a
persisted secret the caller may still rely on.
Structs§
Enums§
Constants§
- DEFAULT_
WORKER_ EVENTS - Default subscription set for a fresh worker. Matches the list
scripts/webhook-setup.shhard-coded. Kept here only as a convenience default forsubscribe --default-events; the authoritative list lives on the server and is surfaced bywebhook subscribe --list(viaGET /webhooks/subscriptions).