@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/README.md +59 -26
- package/REQUIREMENTS.md +4 -0
- package/dist/bin.cjs +333 -80
- package/dist/bin.cjs.map +1 -1
- package/dist/bin.js +1 -1
- package/dist/{chunk-STJCWZJU.js → chunk-PPSXHZJI.js} +301 -81
- package/dist/chunk-PPSXHZJI.js.map +1 -0
- package/dist/{cli-2WZIFXA6.js → cli-CKBUVTJM.js} +2 -2
- package/dist/index.cjs +300 -80
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -5
- package/dist/index.d.ts +11 -5
- package/dist/index.js +1 -1
- package/dist/runtime/pi-agent.js +18728 -15
- package/package.json +1 -1
- package/skills/odla/SKILL.md +12 -7
- package/skills/odla/references/build.md +8 -2
- package/skills/odla/references/co-owners.md +3 -2
- package/skills/odla/references/pm-work-intake.md +5 -3
- package/skills/odla/references/pm.md +4 -0
- package/skills/odla-migrate/references/secrets-map.md +22 -22
- package/skills/odla-migrate/references/troubleshooting.md +14 -16
- package/dist/chunk-STJCWZJU.js.map +0 -1
- /package/dist/{cli-2WZIFXA6.js.map → cli-CKBUVTJM.js.map} +0 -0
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
|
|
931
|
-
*
|
|
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)
|
|
1252
|
-
*
|
|
1253
|
-
*
|
|
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
|
|
931
|
-
*
|
|
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)
|
|
1252
|
-
*
|
|
1253
|
-
*
|
|
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
|
*
|