@odla-ai/cli 0.30.0 → 0.30.1
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 +19 -6
- package/dist/bin.cjs +96 -148
- package/dist/bin.cjs.map +1 -1
- package/dist/bin.js +1 -1
- package/dist/{chunk-PPSXHZJI.js → chunk-7V7WVTDT.js} +71 -123
- package/dist/chunk-7V7WVTDT.js.map +1 -0
- package/dist/{cli-CKBUVTJM.js → cli-SZUWA6EF.js} +2 -2
- package/dist/index.cjs +84 -136
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -7
- package/dist/index.d.ts +8 -7
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/skills/odla/SKILL.md +6 -4
- package/dist/chunk-PPSXHZJI.js.map +0 -1
- /package/dist/{cli-CKBUVTJM.js.map → cli-SZUWA6EF.js.map} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -594,9 +594,8 @@ interface ProvisionOptions {
|
|
|
594
594
|
* true records an explicit request; false is the only production suppression. */
|
|
595
595
|
open?: boolean;
|
|
596
596
|
/** Cap the handshake-approval wait, in seconds. When it elapses the command
|
|
597
|
-
* exits
|
|
598
|
-
*
|
|
599
|
-
* everywhere else (agent tool shells kill long-running commands). */
|
|
597
|
+
* exits pending; rerunning requests a new code. Defaults to the handshake's
|
|
598
|
+
* own expiry on an interactive terminal and 90 seconds everywhere else. */
|
|
600
599
|
wait?: number;
|
|
601
600
|
/** Test/embedding override for opening the approval URL. Defaults to the OS browser opener. */
|
|
602
601
|
openApprovalUrl?: (url: string) => Promise<void>;
|
|
@@ -629,6 +628,8 @@ interface ProvisionPlan {
|
|
|
629
628
|
interface SmokeOptions {
|
|
630
629
|
configPath: string;
|
|
631
630
|
env?: string;
|
|
631
|
+
/** Verify the deployed Worker without reading local db/o11y credentials. */
|
|
632
|
+
runtime?: boolean;
|
|
632
633
|
/** Developer-token override used only for owner-visible calendar health. */
|
|
633
634
|
token?: string;
|
|
634
635
|
/** Existing odla account email used only when a fresh device handshake is required. */
|
|
@@ -1255,10 +1256,10 @@ declare function installSkill(options?: SkillInstallOptions): SkillInstallResult
|
|
|
1255
1256
|
* Verify a live, already-provisioned environment end-to-end. Resolves the target
|
|
1256
1257
|
* env (`options.env`, else `dev`, else the first declared env). Explicit `prod`
|
|
1257
1258
|
* remains addressable after one-shot `provision --live` even when ordinary
|
|
1258
|
-
* provision defaults stay dev-only.
|
|
1259
|
-
*
|
|
1260
|
-
*
|
|
1261
|
-
*
|
|
1259
|
+
* provision defaults stay dev-only. Local mode reads the private service
|
|
1260
|
+
* credentials and performs direct db checks. `runtime` mode never reads those
|
|
1261
|
+
* values: it verifies Registry state, the deployed Worker link, anonymous
|
|
1262
|
+
* integration probes, and owner-visible calendar health instead.
|
|
1262
1263
|
*
|
|
1263
1264
|
* It then makes service-aware network calls: fetches the registry public-config
|
|
1264
1265
|
* (and, when `ai.provider` is configured, asserts the live provider matches);
|
package/dist/index.d.ts
CHANGED
|
@@ -594,9 +594,8 @@ interface ProvisionOptions {
|
|
|
594
594
|
* true records an explicit request; false is the only production suppression. */
|
|
595
595
|
open?: boolean;
|
|
596
596
|
/** Cap the handshake-approval wait, in seconds. When it elapses the command
|
|
597
|
-
* exits
|
|
598
|
-
*
|
|
599
|
-
* everywhere else (agent tool shells kill long-running commands). */
|
|
597
|
+
* exits pending; rerunning requests a new code. Defaults to the handshake's
|
|
598
|
+
* own expiry on an interactive terminal and 90 seconds everywhere else. */
|
|
600
599
|
wait?: number;
|
|
601
600
|
/** Test/embedding override for opening the approval URL. Defaults to the OS browser opener. */
|
|
602
601
|
openApprovalUrl?: (url: string) => Promise<void>;
|
|
@@ -629,6 +628,8 @@ interface ProvisionPlan {
|
|
|
629
628
|
interface SmokeOptions {
|
|
630
629
|
configPath: string;
|
|
631
630
|
env?: string;
|
|
631
|
+
/** Verify the deployed Worker without reading local db/o11y credentials. */
|
|
632
|
+
runtime?: boolean;
|
|
632
633
|
/** Developer-token override used only for owner-visible calendar health. */
|
|
633
634
|
token?: string;
|
|
634
635
|
/** Existing odla account email used only when a fresh device handshake is required. */
|
|
@@ -1255,10 +1256,10 @@ declare function installSkill(options?: SkillInstallOptions): SkillInstallResult
|
|
|
1255
1256
|
* Verify a live, already-provisioned environment end-to-end. Resolves the target
|
|
1256
1257
|
* env (`options.env`, else `dev`, else the first declared env). Explicit `prod`
|
|
1257
1258
|
* remains addressable after one-shot `provision --live` even when ordinary
|
|
1258
|
-
* provision defaults stay dev-only.
|
|
1259
|
-
*
|
|
1260
|
-
*
|
|
1261
|
-
*
|
|
1259
|
+
* provision defaults stay dev-only. Local mode reads the private service
|
|
1260
|
+
* credentials and performs direct db checks. `runtime` mode never reads those
|
|
1261
|
+
* values: it verifies Registry state, the deployed Worker link, anonymous
|
|
1262
|
+
* integration probes, and owner-visible calendar health instead.
|
|
1262
1263
|
*
|
|
1263
1264
|
* It then makes service-aware network calls: fetches the registry public-config
|
|
1264
1265
|
* (and, when `ai.provider` is configured, asserts the live provider matches);
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@odla-ai/cli",
|
|
3
|
-
"version": "0.30.
|
|
3
|
+
"version": "0.30.1",
|
|
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",
|
package/skills/odla/SKILL.md
CHANGED
|
@@ -113,9 +113,8 @@ guessing which platform/credential steps need manual work. Then:
|
|
|
113
113
|
control, open that exact URL now.** If you do not, give it to the human
|
|
114
114
|
verbatim; never wait silently or start a substitute handshake. Outside an
|
|
115
115
|
interactive terminal the wait is capped (90s default,
|
|
116
|
-
`--wait <seconds>`); exit code 75 means still pending
|
|
117
|
-
|
|
118
|
-
resumes the same code and collects the token. It creates the app,
|
|
116
|
+
`--wait <seconds>`); exit code 75 means still pending. The device code is
|
|
117
|
+
not cached: rerunning always opens a fresh code for human review. It creates the app,
|
|
119
118
|
consuming a one-time exact-id reservation when the approved app is new,
|
|
120
119
|
enables services, issues or reuses configured credentials (db key + o11y
|
|
121
120
|
ingest token when enabled), composes declared integration schema/rules and
|
|
@@ -280,7 +279,10 @@ If approval is not available, comment on the runbook instead so an admin can fix
|
|
|
280
279
|
it later.
|
|
281
280
|
|
|
282
281
|
`npx @odla-ai/cli doctor` is an offline config check anytime;
|
|
283
|
-
`npx @odla-ai/cli smoke --env dev` verifies a live deployment
|
|
282
|
+
`npx @odla-ai/cli smoke --env dev` verifies a live deployment from local
|
|
283
|
+
service credentials. After `provision --push-secrets`, use
|
|
284
|
+
`npx @odla-ai/cli smoke --env dev --runtime`; it verifies the Worker and
|
|
285
|
+
anonymous integration routes without retrieving its db/o11y secrets.
|
|
284
286
|
Use `calendar status --json` for safe connection state (`bookable`, booking
|
|
285
287
|
and availability calendars) and `calendar calendars --json` to discover ids
|
|
286
288
|
after consent; update checked-in config and re-provision. Disconnect always
|