@odla-ai/cli 0.28.2 → 0.30.0

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
@@ -572,6 +572,10 @@ interface LocalCredentials {
572
572
  /** Controls one dev-first provisioning run; production mutation requires `yes`. */
573
573
  interface ProvisionOptions {
574
574
  configPath: string;
575
+ /** Initialize only the live (`prod`) environment of an existing sandbox
576
+ * app, even when the dev-first project config has not added `prod` to
577
+ * `envs` yet. The normal production `yes` gate still applies. */
578
+ live?: boolean;
575
579
  dryRun?: boolean;
576
580
  rotateKeys?: boolean;
577
581
  /** Rotate only the o11y ingest token; leaves db keys unchanged. */
@@ -927,8 +931,9 @@ declare function initProject(options: InitOptions): void;
927
931
  * this is an identity hint, never a password or session credential.
928
932
  * @param options.requestGrant Ignore ambient/cached credentials and request a
929
933
  * fresh owner-reviewed app.manage grant for this exact app.
930
- * @param options.pushSecrets Preflight Wrangler, then push each env's configured
931
- * Worker secrets immediately after credential provisioning.
934
+ * @param options.pushSecrets Preflight Wrangler, then stage one target-bound
935
+ * credential set through the handshake-authorized Registry and transfer it
936
+ * to the Worker over stdin without writing plaintext under `.odla`.
932
937
  * @param options.writeDevVars `true`/a path writes `.dev.vars`; `writeCredentials: false` skips the creds file.
933
938
  * @param options.yes Required for a non-dry-run plan containing `prod` or
934
939
  * `production`; callers must show and review `dryRun` output first.
@@ -1248,9 +1253,10 @@ declare function installSkill(options?: SkillInstallOptions): SkillInstallResult
1248
1253
 
1249
1254
  /**
1250
1255
  * Verify a live, already-provisioned environment end-to-end. Resolves the target
1251
- * env (`options.env`, else `dev`, else the first declared env) and requires it to
1252
- * be declared in the config. Reads the local credentials file and checks that it
1253
- * belongs to this app and holds the credentials required by the enabled
1256
+ * env (`options.env`, else `dev`, else the first declared env). Explicit `prod`
1257
+ * remains addressable after one-shot `provision --live` even when ordinary
1258
+ * provision defaults stay dev-only. Reads the local credentials file and checks
1259
+ * that it belongs to this app and holds the credentials required by the enabled
1254
1260
  * services — otherwise it throws pointing the user at
1255
1261
  * `odla-ai provision --write-dev-vars`.
1256
1262
  *
package/dist/index.d.ts CHANGED
@@ -572,6 +572,10 @@ interface LocalCredentials {
572
572
  /** Controls one dev-first provisioning run; production mutation requires `yes`. */
573
573
  interface ProvisionOptions {
574
574
  configPath: string;
575
+ /** Initialize only the live (`prod`) environment of an existing sandbox
576
+ * app, even when the dev-first project config has not added `prod` to
577
+ * `envs` yet. The normal production `yes` gate still applies. */
578
+ live?: boolean;
575
579
  dryRun?: boolean;
576
580
  rotateKeys?: boolean;
577
581
  /** Rotate only the o11y ingest token; leaves db keys unchanged. */
@@ -927,8 +931,9 @@ declare function initProject(options: InitOptions): void;
927
931
  * this is an identity hint, never a password or session credential.
928
932
  * @param options.requestGrant Ignore ambient/cached credentials and request a
929
933
  * fresh owner-reviewed app.manage grant for this exact app.
930
- * @param options.pushSecrets Preflight Wrangler, then push each env's configured
931
- * Worker secrets immediately after credential provisioning.
934
+ * @param options.pushSecrets Preflight Wrangler, then stage one target-bound
935
+ * credential set through the handshake-authorized Registry and transfer it
936
+ * to the Worker over stdin without writing plaintext under `.odla`.
932
937
  * @param options.writeDevVars `true`/a path writes `.dev.vars`; `writeCredentials: false` skips the creds file.
933
938
  * @param options.yes Required for a non-dry-run plan containing `prod` or
934
939
  * `production`; callers must show and review `dryRun` output first.
@@ -1248,9 +1253,10 @@ declare function installSkill(options?: SkillInstallOptions): SkillInstallResult
1248
1253
 
1249
1254
  /**
1250
1255
  * Verify a live, already-provisioned environment end-to-end. Resolves the target
1251
- * env (`options.env`, else `dev`, else the first declared env) and requires it to
1252
- * be declared in the config. Reads the local credentials file and checks that it
1253
- * belongs to this app and holds the credentials required by the enabled
1256
+ * env (`options.env`, else `dev`, else the first declared env). Explicit `prod`
1257
+ * remains addressable after one-shot `provision --live` even when ordinary
1258
+ * provision defaults stay dev-only. Reads the local credentials file and checks
1259
+ * that it belongs to this app and holds the credentials required by the enabled
1254
1260
  * services — otherwise it throws pointing the user at
1255
1261
  * `odla-ai provision --write-dev-vars`.
1256
1262
  *
package/dist/index.js CHANGED
@@ -56,7 +56,7 @@ import {
56
56
  startHostedSecurityJob,
57
57
  surfacePaths,
58
58
  validateInvocation
59
- } from "./chunk-STJCWZJU.js";
59
+ } from "./chunk-PPSXHZJI.js";
60
60
  import {
61
61
  exitCodeFor,
62
62
  redactSecrets