@odla-ai/cli 0.29.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/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 with the pending handshake persisted; rerunning resumes it. Defaults
598
- * to the handshake's own expiry on an interactive terminal and 90 seconds
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. */
@@ -931,8 +932,9 @@ declare function initProject(options: InitOptions): void;
931
932
  * this is an identity hint, never a password or session credential.
932
933
  * @param options.requestGrant Ignore ambient/cached credentials and request a
933
934
  * fresh owner-reviewed app.manage grant for this exact app.
934
- * @param options.pushSecrets Preflight Wrangler, then push each env's configured
935
- * Worker secrets immediately after credential provisioning.
935
+ * @param options.pushSecrets Preflight Wrangler, then stage one target-bound
936
+ * credential set through the handshake-authorized Registry and transfer it
937
+ * to the Worker over stdin without writing plaintext under `.odla`.
936
938
  * @param options.writeDevVars `true`/a path writes `.dev.vars`; `writeCredentials: false` skips the creds file.
937
939
  * @param options.yes Required for a non-dry-run plan containing `prod` or
938
940
  * `production`; callers must show and review `dryRun` output first.
@@ -1254,10 +1256,10 @@ declare function installSkill(options?: SkillInstallOptions): SkillInstallResult
1254
1256
  * Verify a live, already-provisioned environment end-to-end. Resolves the target
1255
1257
  * env (`options.env`, else `dev`, else the first declared env). Explicit `prod`
1256
1258
  * remains addressable after one-shot `provision --live` even when ordinary
1257
- * provision defaults stay dev-only. Reads the local credentials file and checks
1258
- * that it belongs to this app and holds the credentials required by the enabled
1259
- * services otherwise it throws pointing the user at
1260
- * `odla-ai provision --write-dev-vars`.
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.
1261
1263
  *
1262
1264
  * It then makes service-aware network calls: fetches the registry public-config
1263
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 with the pending handshake persisted; rerunning resumes it. Defaults
598
- * to the handshake's own expiry on an interactive terminal and 90 seconds
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. */
@@ -931,8 +932,9 @@ declare function initProject(options: InitOptions): void;
931
932
  * this is an identity hint, never a password or session credential.
932
933
  * @param options.requestGrant Ignore ambient/cached credentials and request a
933
934
  * fresh owner-reviewed app.manage grant for this exact app.
934
- * @param options.pushSecrets Preflight Wrangler, then push each env's configured
935
- * Worker secrets immediately after credential provisioning.
935
+ * @param options.pushSecrets Preflight Wrangler, then stage one target-bound
936
+ * credential set through the handshake-authorized Registry and transfer it
937
+ * to the Worker over stdin without writing plaintext under `.odla`.
936
938
  * @param options.writeDevVars `true`/a path writes `.dev.vars`; `writeCredentials: false` skips the creds file.
937
939
  * @param options.yes Required for a non-dry-run plan containing `prod` or
938
940
  * `production`; callers must show and review `dryRun` output first.
@@ -1254,10 +1256,10 @@ declare function installSkill(options?: SkillInstallOptions): SkillInstallResult
1254
1256
  * Verify a live, already-provisioned environment end-to-end. Resolves the target
1255
1257
  * env (`options.env`, else `dev`, else the first declared env). Explicit `prod`
1256
1258
  * remains addressable after one-shot `provision --live` even when ordinary
1257
- * provision defaults stay dev-only. Reads the local credentials file and checks
1258
- * that it belongs to this app and holds the credentials required by the enabled
1259
- * services otherwise it throws pointing the user at
1260
- * `odla-ai provision --write-dev-vars`.
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.
1261
1263
  *
1262
1264
  * It then makes service-aware network calls: fetches the registry public-config
1263
1265
  * (and, when `ai.provider` is configured, asserts the live provider matches);
package/dist/index.js CHANGED
@@ -56,7 +56,7 @@ import {
56
56
  startHostedSecurityJob,
57
57
  surfacePaths,
58
58
  validateInvocation
59
- } from "./chunk-YTVLTADT.js";
59
+ } from "./chunk-7V7WVTDT.js";
60
60
  import {
61
61
  exitCodeFor,
62
62
  redactSecrets