@odla-ai/cli 0.46.0 → 0.46.2
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/bin.cjs +23 -1
- package/dist/bin.cjs.map +1 -1
- package/dist/bin.js +1 -1
- package/dist/{chunk-JHB6352A.js → chunk-PCEGBCLZ.js} +24 -2
- package/dist/chunk-PCEGBCLZ.js.map +1 -0
- package/dist/{cli-2FTL245Y.js → cli-UTMLBANX.js} +2 -2
- package/dist/index.cjs +23 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
- package/skills/odla/references/sdks.md +16 -0
- package/dist/chunk-JHB6352A.js.map +0 -1
- /package/dist/{cli-2FTL245Y.js.map → cli-UTMLBANX.js.map} +0 -0
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@odla-ai/cli",
|
|
3
|
-
"version": "0.46.
|
|
3
|
+
"version": "0.46.2",
|
|
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",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
61
|
"@odla-ai/ai": "0.16.0",
|
|
62
|
-
"@odla-ai/apps": "0.12.
|
|
62
|
+
"@odla-ai/apps": "0.12.1",
|
|
63
63
|
"@odla-ai/brand": "0.7.0",
|
|
64
64
|
"@odla-ai/db": "0.12.0",
|
|
65
65
|
"@odla-ai/security": "0.3.3"
|
|
@@ -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
|