@odla-ai/cli 0.46.1 → 0.46.3

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/dist/index.js CHANGED
@@ -56,7 +56,7 @@ import {
56
56
  startHostedSecurityJob,
57
57
  surfacePaths,
58
58
  validateInvocation
59
- } from "./chunk-JHB6352A.js";
59
+ } from "./chunk-PCEGBCLZ.js";
60
60
  import {
61
61
  exitCodeFor,
62
62
  redactSecrets
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odla-ai/cli",
3
- "version": "0.46.1",
3
+ "version": "0.46.3",
4
4
  "description": "Agent-operable CLI for odla provisioning, calendar consent and connection lifecycle, System AI administration, Worker secrets, security jobs, and smoke checks.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://odla.ai/docs/packages/cli",
@@ -61,7 +61,7 @@
61
61
  "@odla-ai/ai": "0.16.0",
62
62
  "@odla-ai/apps": "0.12.1",
63
63
  "@odla-ai/brand": "0.7.0",
64
- "@odla-ai/db": "0.12.0",
64
+ "@odla-ai/db": "0.12.1",
65
65
  "@odla-ai/security": "0.3.3"
66
66
  },
67
67
  "devDependencies": {
@@ -200,6 +200,22 @@ per person as a `kind: "meeting"` activity. Idempotency is a ledger
200
200
  (`granola_note_link`), not a hope: a redelivered webhook writes no second
201
201
  activity, and a re-run poll converges on identical rows.
202
202
 
203
+ ## @odla-ai/stripe — app-local billing and managed SKU catalogs
204
+
205
+ Inject an app's own server-side Stripe key into `initStripe`; optional
206
+ `account` scopes requests to a connected Account. The package provides typed
207
+ Products, Prices, billing, webhooks, Connect, cursor pagination, idempotency,
208
+ and bounded provider errors. `replacePrice` creates the replacement before
209
+ archiving a Price whose amount, currency, or recurrence changed.
210
+
211
+ For bidirectional catalog work, mark owned Products with `odla_sku` and owned
212
+ Prices with both `odla_sku` and `odla_price_key`. Call
213
+ `pullStripeCatalog` then `planStripeCatalog`, review `toStripe` and `toLocal`,
214
+ and only then call `applyStripeCatalogPlan`. Unmarked Stripe objects are
215
+ reported but never archived. The host owns authorization, approval, local
216
+ SKU/tier writes, and secret resolution; the package owns provider mechanics.
217
+ Read `odla-ai runbook get stripe --app odla-ai` for the operating procedure.
218
+
203
219
  ## @odla-ai/email — structured Cloudflare Email Service sending
204
220
 
205
221
  ```ts