@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/README.md +61 -29
- package/dist/bin.cjs +350 -191
- package/dist/bin.cjs.map +1 -1
- package/dist/bin.js +1 -1
- package/dist/{chunk-YTVLTADT.js → chunk-7V7WVTDT.js} +304 -166
- package/dist/chunk-7V7WVTDT.js.map +1 -0
- package/dist/{cli-DNOAYDBR.js → cli-SZUWA6EF.js} +2 -2
- package/dist/index.cjs +317 -179
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -9
- package/dist/index.d.ts +11 -9
- package/dist/index.js +1 -1
- package/dist/runtime/pi-agent.js +18728 -15
- package/package.json +1 -1
- package/skills/odla/SKILL.md +10 -5
- 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-YTVLTADT.js.map +0 -1
- /package/dist/{cli-DNOAYDBR.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. */
|
|
@@ -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
|
|
935
|
-
*
|
|
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.
|
|
1258
|
-
*
|
|
1259
|
-
*
|
|
1260
|
-
*
|
|
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
|
|
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. */
|
|
@@ -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
|
|
935
|
-
*
|
|
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.
|
|
1258
|
-
*
|
|
1259
|
-
*
|
|
1260
|
-
*
|
|
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);
|