@odla-ai/cli 0.27.11 → 0.27.13

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
@@ -569,6 +569,9 @@ interface ProvisionOptions {
569
569
  writeCredentials?: boolean;
570
570
  writeDevVars?: string | boolean;
571
571
  token?: string;
572
+ /** Ignore ambient/cached developer credentials and start one fresh
573
+ * owner-reviewed handshake for the exact app.manage provisioning grant. */
574
+ requestGrant?: boolean;
572
575
  /** Existing odla account email used only when a fresh device handshake is required. */
573
576
  email?: string;
574
577
  /** Browser opening is attempted by default in every real CLI environment.
@@ -910,6 +913,8 @@ declare function initProject(options: InitOptions): void;
910
913
  * @param options.rotateO11yToken Rotate only the o11y token.
911
914
  * @param options.email Existing odla account email for a fresh handshake;
912
915
  * this is an identity hint, never a password or session credential.
916
+ * @param options.requestGrant Ignore ambient/cached credentials and request a
917
+ * fresh owner-reviewed app.manage grant for this exact app.
913
918
  * @param options.pushSecrets Preflight Wrangler, then push each env's configured
914
919
  * Worker secrets immediately after credential provisioning.
915
920
  * @param options.writeDevVars `true`/a path writes `.dev.vars`; `writeCredentials: false` skips the creds file.
package/dist/index.d.ts CHANGED
@@ -569,6 +569,9 @@ interface ProvisionOptions {
569
569
  writeCredentials?: boolean;
570
570
  writeDevVars?: string | boolean;
571
571
  token?: string;
572
+ /** Ignore ambient/cached developer credentials and start one fresh
573
+ * owner-reviewed handshake for the exact app.manage provisioning grant. */
574
+ requestGrant?: boolean;
572
575
  /** Existing odla account email used only when a fresh device handshake is required. */
573
576
  email?: string;
574
577
  /** Browser opening is attempted by default in every real CLI environment.
@@ -910,6 +913,8 @@ declare function initProject(options: InitOptions): void;
910
913
  * @param options.rotateO11yToken Rotate only the o11y token.
911
914
  * @param options.email Existing odla account email for a fresh handshake;
912
915
  * this is an identity hint, never a password or session credential.
916
+ * @param options.requestGrant Ignore ambient/cached credentials and request a
917
+ * fresh owner-reviewed app.manage grant for this exact app.
913
918
  * @param options.pushSecrets Preflight Wrangler, then push each env's configured
914
919
  * Worker secrets immediately after credential provisioning.
915
920
  * @param options.writeDevVars `true`/a path writes `.dev.vars`; `writeCredentials: false` skips the creds file.
package/dist/index.js CHANGED
@@ -57,7 +57,7 @@ import {
57
57
  startHostedSecurityJob,
58
58
  surfacePaths,
59
59
  validateInvocation
60
- } from "./chunk-Y7WFLSTN.js";
60
+ } from "./chunk-3YSCRXPF.js";
61
61
  export {
62
62
  AGENT_HARNESSES,
63
63
  CAPABILITIES,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odla-ai/cli",
3
- "version": "0.27.11",
3
+ "version": "0.27.13",
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",
@@ -74,6 +74,14 @@ request. A 404 from **Approve** is a platform regression; capture the code and
74
74
  retry only after Registry is healthy. Ownership, rename/category, and lifecycle
75
75
  mutations remain direct-human operations.
76
76
 
77
+ If provision reports that the selected agent credential has no live
78
+ `app.manage` grant, retries cannot add authority. Run
79
+ `npx @odla-ai/cli provision --request-grant --email <existing-odla-account>
80
+ --write-dev-vars --push-secrets`. This deliberately ignores `ODLA_DEV_TOKEN`
81
+ and the local token cache, prints/opens a fresh exact-project review URL, and
82
+ continues with the approved replacement credential. Remove an explicit
83
+ `--token`; a supplied credential cannot approve authority for itself.
84
+
77
85
  Calendar adds a second ⏸ checkpoint after the odla device approval: provision
78
86
  prints/opens a state-bound Google URL issued by the platform and waits while
79
87
  the human grants the booking scopes in a browser. The CLI never receives the