@odla-ai/cli 0.27.13 → 0.27.15

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
@@ -173,12 +173,11 @@ type CommandRunner = (cmd: string, args: string[], opts?: {
173
173
  cwd?: string;
174
174
  }) => Promise<RunResult>;
175
175
 
176
- /** Map a CLI failure to its process exit code: 75 (EX_TEMPFAIL) marks work that
177
- * has not failed but has not finished a handshake still awaiting human
178
- * approval (the pending state is persisted, so rerunning resumes it), or a
179
- * `discuss watch` that timed out before anyone replied. A stale checkpoint is
180
- * a consistency failure (3); an exhausted remote retry is retryable (6). */
176
+ /** Map a CLI failure to its documented process exit code without importing the
177
+ * command graph. The binary needs this tiny module before it verifies that its
178
+ * external runtime dependencies are coherent. */
181
179
  declare function exitCodeFor(err: unknown): number;
180
+
182
181
  /** Injectable side-effect boundaries used to run and test the command dispatcher. */
183
182
  interface CliDependencies {
184
183
  fetch?: typeof fetch;
package/dist/index.d.ts CHANGED
@@ -173,12 +173,11 @@ type CommandRunner = (cmd: string, args: string[], opts?: {
173
173
  cwd?: string;
174
174
  }) => Promise<RunResult>;
175
175
 
176
- /** Map a CLI failure to its process exit code: 75 (EX_TEMPFAIL) marks work that
177
- * has not failed but has not finished a handshake still awaiting human
178
- * approval (the pending state is persisted, so rerunning resumes it), or a
179
- * `discuss watch` that timed out before anyone replied. A stale checkpoint is
180
- * a consistency failure (3); an exhausted remote retry is retryable (6). */
176
+ /** Map a CLI failure to its documented process exit code without importing the
177
+ * command graph. The binary needs this tiny module before it verifies that its
178
+ * external runtime dependencies are coherent. */
181
179
  declare function exitCodeFor(err: unknown): number;
180
+
182
181
  /** Injectable side-effect boundaries used to run and test the command dispatcher. */
183
182
  interface CliDependencies {
184
183
  fetch?: typeof fetch;
package/dist/index.js CHANGED
@@ -27,7 +27,6 @@ import {
27
27
  desiredRegistryState,
28
28
  disconnectGitHubSecuritySource,
29
29
  doctor,
30
- exitCodeFor,
31
30
  followHostedSecurityJob,
32
31
  getHostedSecurityIntent,
33
32
  getHostedSecurityJob,
@@ -45,7 +44,6 @@ import {
45
44
  printCapabilities,
46
45
  provision,
47
46
  reconcileConfig,
48
- redactSecrets,
49
47
  repositoryFromGitRemote,
50
48
  runCli,
51
49
  runCodeRuntime,
@@ -57,7 +55,11 @@ import {
57
55
  startHostedSecurityJob,
58
56
  surfacePaths,
59
57
  validateInvocation
60
- } from "./chunk-3YSCRXPF.js";
58
+ } from "./chunk-MR5QXX3B.js";
59
+ import {
60
+ exitCodeFor,
61
+ redactSecrets
62
+ } from "./chunk-UKLSRQ5J.js";
61
63
  export {
62
64
  AGENT_HARNESSES,
63
65
  CAPABILITIES,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odla-ai/cli",
3
- "version": "0.27.13",
3
+ "version": "0.27.15",
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",
@@ -57,11 +57,11 @@
57
57
  "prepublishOnly": "npm run build"
58
58
  },
59
59
  "dependencies": {
60
- "@odla-ai/ai": ">=0.5.0 <1.0.0",
61
- "@odla-ai/apps": ">=0.9.0 <1.0.0",
62
- "@odla-ai/brand": ">=0.5.0 <1.0.0",
63
- "@odla-ai/db": ">=0.6.7 <1.0.0",
64
- "@odla-ai/security": ">=0.3.1 <1.0.0"
60
+ "@odla-ai/ai": "0.12.0",
61
+ "@odla-ai/apps": "0.10.5",
62
+ "@odla-ai/brand": "0.5.0",
63
+ "@odla-ai/db": "0.10.1",
64
+ "@odla-ai/security": "0.3.3"
65
65
  },
66
66
  "devDependencies": {
67
67
  "@odla-ai/harness": "*",