@farthershore/cli 0.14.3 → 0.14.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -343,6 +343,28 @@ export async function POST(request: Request) {
343
343
  }
344
344
  ```
345
345
 
346
+ ### `farthershore webhook`
347
+
348
+ Provision outbound webhook endpoints and inspect delivery health. The dashboard
349
+ exposes the same API-managed surface. If the business declares webhooks in
350
+ `business/business.config.ts`, Core returns `409 MANAGED_BY_CODE` for writes so
351
+ the repo remains canonical.
352
+
353
+ ```bash
354
+ farthershore webhook list weather-api --format json
355
+ farthershore webhook create weather-api \
356
+ --url https://hooks.example.com/farthershore \
357
+ --events subscription.created,payment.failed \
358
+ --format json
359
+ farthershore webhook update weather-api <webhookId> --disable --format json
360
+ farthershore webhook test weather-api <webhookId> --format json
361
+ farthershore webhook deliveries weather-api <webhookId> --limit 20 --format json
362
+ farthershore webhook delete weather-api <webhookId> --yes --format json
363
+ ```
364
+
365
+ `webhook create` returns the signing secret once. Store it in the receiving app;
366
+ subsequent list/delivery commands never return the secret.
367
+
346
368
  ### `farthershore connect`
347
369
 
348
370
  GitHub OAuth and Stripe Connect flows are browser-only. These commands
@@ -561,6 +583,8 @@ operation registry that generates the CLI command groups. Tool names use the
561
583
  - Backends: `fs_backend_list`, `fs_backend_create`, `fs_backend_delete`
562
584
  - Runtime tokens: `fs_runtime_token_list`, `fs_runtime_token_mint`,
563
585
  `fs_runtime_token_rotate`, `fs_runtime_token_revoke`
586
+ - Webhooks: `fs_webhook_list`, `fs_webhook_create`, `fs_webhook_update`,
587
+ `fs_webhook_delete`, `fs_webhook_test`, `fs_webhook_deliveries`
564
588
  - Personas: `fs_persona_bootstrap`, `fs_persona_list`, `fs_persona_revoke`
565
589
  - Usage and maker tokens: `fs_usage_read`, `fs_maker_token_list`
566
590