@odla-ai/cli 0.31.1 → 0.33.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
@@ -56,10 +56,6 @@ interface PreparedCodeLocalSource {
56
56
  /** Freeze the local Git tree and exact commit base before any approval request. */
57
57
  declare function prepareCodeLocalSource(cwd: string, repository: string, readHead?: (cwd: string) => Promise<string>): Promise<PreparedCodeLocalSource>;
58
58
 
59
- /** Release-owned Pi adapter bundled into the CLI. `prepareCodeImages` hashes
60
- * the exact bundle and builds a content-addressed local image; no registry
61
- * credential enters the terminal connection. */
62
- declare const CODE_PI_IMAGE = "odla-ai/pi-agent:embedded";
63
59
  /** Immutable CaMeL-registered build recipe available to an agent container. */
64
60
  interface CodeBuildRule {
65
61
  id: string;
@@ -76,14 +72,6 @@ interface CodeBuildRule {
76
72
  * this once their owner-visible registration contract exists. */
77
73
  declare const CODE_BUILD_RECIPES: readonly CodeBuildRule[];
78
74
 
79
- type CodeImageCommandRunner = (command: string, args: readonly string[], stdio: "inherit" | "ignore") => Promise<void>;
80
- type EmbeddedPiImageBuilder = (engine: CodeContainerEngine, image: string, run: CodeImageCommandRunner) => Promise<void>;
81
- type EmbeddedPiImageNamer = () => Promise<string>;
82
- /** Build the CLI-embedded Pi adapter and pull each immutable recipe image
83
- * before an owner is asked to approve the terminal. Runtime attempts never
84
- * pull, and fail closed if a prepared image disappears. */
85
- declare function prepareCodeImages(engine: CodeContainerEngine, images: readonly string[], run?: CodeImageCommandRunner, buildEmbedded?: EmbeddedPiImageBuilder, nameEmbedded?: EmbeddedPiImageNamer): Promise<readonly string[]>;
86
-
87
75
  /** Supported local isolation engines for an odla Code host runtime. */
88
76
  type CodeContainerEngine = "container" | "podman" | "docker";
89
77
  /** Bounded host facts reported on each outbound Code control-plane heartbeat. */
@@ -97,8 +85,6 @@ interface CodeHostCapabilities {
97
85
  source: CodeLocalSourceDescriptor;
98
86
  images: {
99
87
  ready: true;
100
- pi: string;
101
- piSource: "cli_embedded";
102
88
  recipes: Array<{
103
89
  id: string;
104
90
  image: string;
@@ -134,7 +120,6 @@ interface CodeConnectOptions {
134
120
  runRuntime?: (input: CodeRuntimeInput) => Promise<void>;
135
121
  readGitOrigin?: (cwd: string) => Promise<string>;
136
122
  readGitHead?: (cwd: string) => Promise<string>;
137
- prepareImages?: (engine: CodeContainerEngine, images: readonly string[]) => Promise<readonly string[]>;
138
123
  prepareLocalSource?: typeof prepareCodeLocalSource;
139
124
  }
140
125
  /** Authority and runtime boundaries used after a Code host enrollment succeeds. */
@@ -153,7 +138,6 @@ interface CodeRuntimeInput {
153
138
  trustedBaseDir: string;
154
139
  sourceDir: string;
155
140
  };
156
- piImage?: string;
157
141
  }
158
142
  /** Enroll this machine from an odla project and keep the embedded Pi runtime
159
143
  * online. Both the approval grant and host credential hashes are stored in
@@ -435,6 +419,35 @@ interface IntegrationProbe {
435
419
  /** Expected unauthenticated HTTP status, normally 401. */
436
420
  expectedStatus: number;
437
421
  }
422
+ /**
423
+ * One tenant-vault secret a capability or app needs in order to work.
424
+ *
425
+ * This is the declaration half of the declaration/storage split: the contract
426
+ * is committed, the value never is. Declaring a secret does not store, read, or
427
+ * transmit it — `odla-ai secrets set` remains the only write path and values
428
+ * stay write-only afterwards. Declarations exist so `doctor` can tell "not set
429
+ * yet" apart from "not needed", so an agent can discover what to ask a human
430
+ * for instead of learning it from prose, and so `check:secrets` can prove the
431
+ * declared name is the name the runtime actually reads.
432
+ */
433
+ interface IntegrationSecret {
434
+ /** Vault name, byte-identical to what `odla-ai secrets set <name>` writes and
435
+ * what the runtime passes to `getSecret`. Reserved slots keep their `$`. */
436
+ name: string;
437
+ /** What the secret is for, and what breaks without it. */
438
+ description: string;
439
+ /** Expected value prefix, e.g. `whsec_`. Advisory: never matched against a
440
+ * stored value (the CLI cannot read one back), only against a value on its
441
+ * way in. */
442
+ pattern?: string;
443
+ /** Platform-managed `$`-prefixed slot. Reserved secrets are never readable by
444
+ * an app key and are written by a dedicated command, not `secrets set`. */
445
+ reserved?: boolean;
446
+ /** Whether the capability is broken without it. Defaults to `true`; set
447
+ * `false` for secrets only some configurations need, so `doctor` reports them
448
+ * as available rather than missing. */
449
+ required?: boolean;
450
+ }
438
451
  /** Structural, data-only capability descriptor consumed from
439
452
  * `odla.config.mjs`. Capability packages do not depend on the CLI; their
440
453
  * descriptors only need to conform to this shape. */
@@ -456,6 +469,8 @@ interface OdlaIntegration {
456
469
  seeds?: IntegrationSeed[];
457
470
  /** Read-only unauthenticated checks run against `links.<env>`. */
458
471
  probes?: IntegrationProbe[];
472
+ /** Tenant-vault secrets this capability reads. Names only — never values. */
473
+ secrets?: IntegrationSecret[];
459
474
  }
460
475
  interface ClerkAuthConfig {
461
476
  publishableKey?: string;
@@ -502,6 +517,9 @@ interface OdlaProjectConfig {
502
517
  /** App capabilities composed into schema/rules/seeds. Integrations are npm
503
518
  * modules, not hosted platform services, so they do not belong in services. */
504
519
  integrations?: OdlaIntegration[];
520
+ /** Vault secrets this app needs beyond the ones its capabilities declare.
521
+ * Names and descriptions only; values are never authored here. */
522
+ secrets?: IntegrationSecret[];
505
523
  db?: {
506
524
  /** Inline SerializedSchema, JSON file, or JS module path exporting default/schema. */
507
525
  schema?: unknown;
@@ -640,13 +658,22 @@ interface SmokeOptions {
640
658
  stdout?: Pick<typeof console, "log" | "error">;
641
659
  }
642
660
 
643
- /** The Google OAuth scope that authorizes booking writes (events read/write). */
644
- declare const GOOGLE_CALENDAR_EVENTS_SCOPE = "https://www.googleapis.com/auth/calendar.events";
661
+ /**
662
+ * The calendar half of `odla.config.mjs`: resolving the checked-in Google
663
+ * booking block into a controller payload, and validating it.
664
+ *
665
+ * Split out of config.ts because calendar validation and its four value
666
+ * guards are used by nothing else in config loading — the guards were private
667
+ * to this one validator already.
668
+ */
645
669
  /** Resolve the checked-in calendar block into one controller-safe env payload. */
646
670
  declare function calendarServiceConfig(cfg: LoadedProjectConfig, env: string): CalendarServiceConfig;
647
671
  /** Public Appointment Schedule URL to apply separately from connector config. */
648
672
  declare function calendarBookingPageUrl(cfg: LoadedProjectConfig, env: string): string | null | undefined;
649
673
 
674
+ /** The Google OAuth scope that authorizes booking writes (events read/write). */
675
+ declare const GOOGLE_CALENDAR_EVENTS_SCOPE = "https://www.googleapis.com/auth/calendar.events";
676
+
650
677
  /** Canonical SHA-256 identifier for normalized configuration or a frozen plan. */
651
678
  type ConfigDigest = `sha256:${string}`;
652
679
  /** Overall relationship between repository-managed intent and observed state. */
@@ -1277,4 +1304,4 @@ declare function installSkill(options?: SkillInstallOptions): SkillInstallResult
1277
1304
  */
1278
1305
  declare function smoke(options: SmokeOptions): Promise<void>;
1279
1306
 
1280
- export { AGENT_HARNESSES, type AdminAiOptions, type AgentHarness, type AgentHarnessSelector, type AiModelsOptions, type AvailableGoogleCalendar, CAPABILITIES, CODE_BUILD_RECIPES, CODE_PI_IMAGE, COMMAND_SURFACE, type CalendarConfig, type CalendarConnectionState, type CalendarLifecycleOptions, type CalendarServiceConfig, type CalendarStatus, type CliDependencies, type CodeBuildRule, type CodeConnectOptions, type CodeContainerEngine, type CodeHostCapabilities, type CodeLocalSourceDescriptor, type CodeRuntimeInput, type ConfigApplyOptions, type ConfigCoverage, type ConfigDiffDocument, type ConfigDifference, type ConfigDigest, type ConfigDrift, type ConfigInspectOptions, ConfigOperationCommandError, type ConfigOperationInspectOptions, type ConfigOperationResult, type ConfigPlanAction, type ConfigPlanDocument, type ConfigReconciliation, type ConfigRisk, type ConfigSource, type ConnectGitHubSecuritySourceOptions, type DesiredRegistryState, type DisconnectGitHubSecuritySourceOptions, type FollowHostedSecurityJobOptions, GOOGLE_CALENDAR_EVENTS_SCOPE, type GetHostedSecurityIntentOptions, type GetHostedSecurityJobOptions, type GoogleCalendarConfig, type HarnessInstallResult, type HostedSecurityProfile, type HostedSecurityResult, type HostedSecurityTokenRequest, type IntegrationProbe, type IntegrationSeed, type InvocationProblem, type ListGitHubSecuritySourcesOptions, type ListHostedSecurityJobsOptions, type LoadedProjectConfig, type LocalCredentials, type OdlaIntegration, type OdlaProjectConfig, type ProvisionOptions, type ProvisionPlan, type ReconciliationInput, type RunHostedSecurityOptions, SYSTEM_AI_PURPOSES, type ScopedPlatformTokenOptions, type SecretsPushOptions, type SecretsSetOptions, type SkillInstallOptions, type SkillInstallResult, type SmokeOptions, type StartHostedSecurityJobOptions, type SurfaceNode, type SystemAiPurpose, acceptedAfter, adminAi, aiModels, calendarBookingPageUrl, calendarCalendars, calendarConnect, calendarDisconnect, calendarServiceConfig, calendarStatus, codeConnect, configApply, configDiff, configOperationGet, configOperationWait, configPlan, connectGitHubSecuritySource, describeProblem, desiredRegistryState, disconnectGitHubSecuritySource, doctor, exitCodeFor, followHostedSecurityJob, getHostedSecurityIntent, getHostedSecurityJob, getHostedSecurityPlan, getHostedSecurityReport, getScopedPlatformToken, inferGitHubRepository, initProject, installSkill, invocationPath, isTerminalHostedSecurityStatus, listGitHubSecuritySources, listHostedSecurityJobs, prepareCodeImages, printCapabilities, provision, reconcileConfig, redactSecrets, repositoryFromGitRemote, runCli, runCodeRuntime, runHostedSecurity, secretsPush, secretsSet, secretsSetClerkKey, smoke, startHostedSecurityJob, surfacePaths, validateInvocation };
1307
+ export { AGENT_HARNESSES, type AdminAiOptions, type AgentHarness, type AgentHarnessSelector, type AiModelsOptions, type AvailableGoogleCalendar, CAPABILITIES, CODE_BUILD_RECIPES, COMMAND_SURFACE, type CalendarConfig, type CalendarConnectionState, type CalendarLifecycleOptions, type CalendarServiceConfig, type CalendarStatus, type CliDependencies, type CodeBuildRule, type CodeConnectOptions, type CodeContainerEngine, type CodeHostCapabilities, type CodeLocalSourceDescriptor, type CodeRuntimeInput, type ConfigApplyOptions, type ConfigCoverage, type ConfigDiffDocument, type ConfigDifference, type ConfigDigest, type ConfigDrift, type ConfigInspectOptions, ConfigOperationCommandError, type ConfigOperationInspectOptions, type ConfigOperationResult, type ConfigPlanAction, type ConfigPlanDocument, type ConfigReconciliation, type ConfigRisk, type ConfigSource, type ConnectGitHubSecuritySourceOptions, type DesiredRegistryState, type DisconnectGitHubSecuritySourceOptions, type FollowHostedSecurityJobOptions, GOOGLE_CALENDAR_EVENTS_SCOPE, type GetHostedSecurityIntentOptions, type GetHostedSecurityJobOptions, type GoogleCalendarConfig, type HarnessInstallResult, type HostedSecurityProfile, type HostedSecurityResult, type HostedSecurityTokenRequest, type IntegrationProbe, type IntegrationSeed, type InvocationProblem, type ListGitHubSecuritySourcesOptions, type ListHostedSecurityJobsOptions, type LoadedProjectConfig, type LocalCredentials, type OdlaIntegration, type OdlaProjectConfig, type ProvisionOptions, type ProvisionPlan, type ReconciliationInput, type RunHostedSecurityOptions, SYSTEM_AI_PURPOSES, type ScopedPlatformTokenOptions, type SecretsPushOptions, type SecretsSetOptions, type SkillInstallOptions, type SkillInstallResult, type SmokeOptions, type StartHostedSecurityJobOptions, type SurfaceNode, type SystemAiPurpose, acceptedAfter, adminAi, aiModels, calendarBookingPageUrl, calendarCalendars, calendarConnect, calendarDisconnect, calendarServiceConfig, calendarStatus, codeConnect, configApply, configDiff, configOperationGet, configOperationWait, configPlan, connectGitHubSecuritySource, describeProblem, desiredRegistryState, disconnectGitHubSecuritySource, doctor, exitCodeFor, followHostedSecurityJob, getHostedSecurityIntent, getHostedSecurityJob, getHostedSecurityPlan, getHostedSecurityReport, getScopedPlatformToken, inferGitHubRepository, initProject, installSkill, invocationPath, isTerminalHostedSecurityStatus, listGitHubSecuritySources, listHostedSecurityJobs, printCapabilities, provision, reconcileConfig, redactSecrets, repositoryFromGitRemote, runCli, runCodeRuntime, runHostedSecurity, secretsPush, secretsSet, secretsSetClerkKey, smoke, startHostedSecurityJob, surfacePaths, validateInvocation };
package/dist/index.d.ts CHANGED
@@ -56,10 +56,6 @@ interface PreparedCodeLocalSource {
56
56
  /** Freeze the local Git tree and exact commit base before any approval request. */
57
57
  declare function prepareCodeLocalSource(cwd: string, repository: string, readHead?: (cwd: string) => Promise<string>): Promise<PreparedCodeLocalSource>;
58
58
 
59
- /** Release-owned Pi adapter bundled into the CLI. `prepareCodeImages` hashes
60
- * the exact bundle and builds a content-addressed local image; no registry
61
- * credential enters the terminal connection. */
62
- declare const CODE_PI_IMAGE = "odla-ai/pi-agent:embedded";
63
59
  /** Immutable CaMeL-registered build recipe available to an agent container. */
64
60
  interface CodeBuildRule {
65
61
  id: string;
@@ -76,14 +72,6 @@ interface CodeBuildRule {
76
72
  * this once their owner-visible registration contract exists. */
77
73
  declare const CODE_BUILD_RECIPES: readonly CodeBuildRule[];
78
74
 
79
- type CodeImageCommandRunner = (command: string, args: readonly string[], stdio: "inherit" | "ignore") => Promise<void>;
80
- type EmbeddedPiImageBuilder = (engine: CodeContainerEngine, image: string, run: CodeImageCommandRunner) => Promise<void>;
81
- type EmbeddedPiImageNamer = () => Promise<string>;
82
- /** Build the CLI-embedded Pi adapter and pull each immutable recipe image
83
- * before an owner is asked to approve the terminal. Runtime attempts never
84
- * pull, and fail closed if a prepared image disappears. */
85
- declare function prepareCodeImages(engine: CodeContainerEngine, images: readonly string[], run?: CodeImageCommandRunner, buildEmbedded?: EmbeddedPiImageBuilder, nameEmbedded?: EmbeddedPiImageNamer): Promise<readonly string[]>;
86
-
87
75
  /** Supported local isolation engines for an odla Code host runtime. */
88
76
  type CodeContainerEngine = "container" | "podman" | "docker";
89
77
  /** Bounded host facts reported on each outbound Code control-plane heartbeat. */
@@ -97,8 +85,6 @@ interface CodeHostCapabilities {
97
85
  source: CodeLocalSourceDescriptor;
98
86
  images: {
99
87
  ready: true;
100
- pi: string;
101
- piSource: "cli_embedded";
102
88
  recipes: Array<{
103
89
  id: string;
104
90
  image: string;
@@ -134,7 +120,6 @@ interface CodeConnectOptions {
134
120
  runRuntime?: (input: CodeRuntimeInput) => Promise<void>;
135
121
  readGitOrigin?: (cwd: string) => Promise<string>;
136
122
  readGitHead?: (cwd: string) => Promise<string>;
137
- prepareImages?: (engine: CodeContainerEngine, images: readonly string[]) => Promise<readonly string[]>;
138
123
  prepareLocalSource?: typeof prepareCodeLocalSource;
139
124
  }
140
125
  /** Authority and runtime boundaries used after a Code host enrollment succeeds. */
@@ -153,7 +138,6 @@ interface CodeRuntimeInput {
153
138
  trustedBaseDir: string;
154
139
  sourceDir: string;
155
140
  };
156
- piImage?: string;
157
141
  }
158
142
  /** Enroll this machine from an odla project and keep the embedded Pi runtime
159
143
  * online. Both the approval grant and host credential hashes are stored in
@@ -435,6 +419,35 @@ interface IntegrationProbe {
435
419
  /** Expected unauthenticated HTTP status, normally 401. */
436
420
  expectedStatus: number;
437
421
  }
422
+ /**
423
+ * One tenant-vault secret a capability or app needs in order to work.
424
+ *
425
+ * This is the declaration half of the declaration/storage split: the contract
426
+ * is committed, the value never is. Declaring a secret does not store, read, or
427
+ * transmit it — `odla-ai secrets set` remains the only write path and values
428
+ * stay write-only afterwards. Declarations exist so `doctor` can tell "not set
429
+ * yet" apart from "not needed", so an agent can discover what to ask a human
430
+ * for instead of learning it from prose, and so `check:secrets` can prove the
431
+ * declared name is the name the runtime actually reads.
432
+ */
433
+ interface IntegrationSecret {
434
+ /** Vault name, byte-identical to what `odla-ai secrets set <name>` writes and
435
+ * what the runtime passes to `getSecret`. Reserved slots keep their `$`. */
436
+ name: string;
437
+ /** What the secret is for, and what breaks without it. */
438
+ description: string;
439
+ /** Expected value prefix, e.g. `whsec_`. Advisory: never matched against a
440
+ * stored value (the CLI cannot read one back), only against a value on its
441
+ * way in. */
442
+ pattern?: string;
443
+ /** Platform-managed `$`-prefixed slot. Reserved secrets are never readable by
444
+ * an app key and are written by a dedicated command, not `secrets set`. */
445
+ reserved?: boolean;
446
+ /** Whether the capability is broken without it. Defaults to `true`; set
447
+ * `false` for secrets only some configurations need, so `doctor` reports them
448
+ * as available rather than missing. */
449
+ required?: boolean;
450
+ }
438
451
  /** Structural, data-only capability descriptor consumed from
439
452
  * `odla.config.mjs`. Capability packages do not depend on the CLI; their
440
453
  * descriptors only need to conform to this shape. */
@@ -456,6 +469,8 @@ interface OdlaIntegration {
456
469
  seeds?: IntegrationSeed[];
457
470
  /** Read-only unauthenticated checks run against `links.<env>`. */
458
471
  probes?: IntegrationProbe[];
472
+ /** Tenant-vault secrets this capability reads. Names only — never values. */
473
+ secrets?: IntegrationSecret[];
459
474
  }
460
475
  interface ClerkAuthConfig {
461
476
  publishableKey?: string;
@@ -502,6 +517,9 @@ interface OdlaProjectConfig {
502
517
  /** App capabilities composed into schema/rules/seeds. Integrations are npm
503
518
  * modules, not hosted platform services, so they do not belong in services. */
504
519
  integrations?: OdlaIntegration[];
520
+ /** Vault secrets this app needs beyond the ones its capabilities declare.
521
+ * Names and descriptions only; values are never authored here. */
522
+ secrets?: IntegrationSecret[];
505
523
  db?: {
506
524
  /** Inline SerializedSchema, JSON file, or JS module path exporting default/schema. */
507
525
  schema?: unknown;
@@ -640,13 +658,22 @@ interface SmokeOptions {
640
658
  stdout?: Pick<typeof console, "log" | "error">;
641
659
  }
642
660
 
643
- /** The Google OAuth scope that authorizes booking writes (events read/write). */
644
- declare const GOOGLE_CALENDAR_EVENTS_SCOPE = "https://www.googleapis.com/auth/calendar.events";
661
+ /**
662
+ * The calendar half of `odla.config.mjs`: resolving the checked-in Google
663
+ * booking block into a controller payload, and validating it.
664
+ *
665
+ * Split out of config.ts because calendar validation and its four value
666
+ * guards are used by nothing else in config loading — the guards were private
667
+ * to this one validator already.
668
+ */
645
669
  /** Resolve the checked-in calendar block into one controller-safe env payload. */
646
670
  declare function calendarServiceConfig(cfg: LoadedProjectConfig, env: string): CalendarServiceConfig;
647
671
  /** Public Appointment Schedule URL to apply separately from connector config. */
648
672
  declare function calendarBookingPageUrl(cfg: LoadedProjectConfig, env: string): string | null | undefined;
649
673
 
674
+ /** The Google OAuth scope that authorizes booking writes (events read/write). */
675
+ declare const GOOGLE_CALENDAR_EVENTS_SCOPE = "https://www.googleapis.com/auth/calendar.events";
676
+
650
677
  /** Canonical SHA-256 identifier for normalized configuration or a frozen plan. */
651
678
  type ConfigDigest = `sha256:${string}`;
652
679
  /** Overall relationship between repository-managed intent and observed state. */
@@ -1277,4 +1304,4 @@ declare function installSkill(options?: SkillInstallOptions): SkillInstallResult
1277
1304
  */
1278
1305
  declare function smoke(options: SmokeOptions): Promise<void>;
1279
1306
 
1280
- export { AGENT_HARNESSES, type AdminAiOptions, type AgentHarness, type AgentHarnessSelector, type AiModelsOptions, type AvailableGoogleCalendar, CAPABILITIES, CODE_BUILD_RECIPES, CODE_PI_IMAGE, COMMAND_SURFACE, type CalendarConfig, type CalendarConnectionState, type CalendarLifecycleOptions, type CalendarServiceConfig, type CalendarStatus, type CliDependencies, type CodeBuildRule, type CodeConnectOptions, type CodeContainerEngine, type CodeHostCapabilities, type CodeLocalSourceDescriptor, type CodeRuntimeInput, type ConfigApplyOptions, type ConfigCoverage, type ConfigDiffDocument, type ConfigDifference, type ConfigDigest, type ConfigDrift, type ConfigInspectOptions, ConfigOperationCommandError, type ConfigOperationInspectOptions, type ConfigOperationResult, type ConfigPlanAction, type ConfigPlanDocument, type ConfigReconciliation, type ConfigRisk, type ConfigSource, type ConnectGitHubSecuritySourceOptions, type DesiredRegistryState, type DisconnectGitHubSecuritySourceOptions, type FollowHostedSecurityJobOptions, GOOGLE_CALENDAR_EVENTS_SCOPE, type GetHostedSecurityIntentOptions, type GetHostedSecurityJobOptions, type GoogleCalendarConfig, type HarnessInstallResult, type HostedSecurityProfile, type HostedSecurityResult, type HostedSecurityTokenRequest, type IntegrationProbe, type IntegrationSeed, type InvocationProblem, type ListGitHubSecuritySourcesOptions, type ListHostedSecurityJobsOptions, type LoadedProjectConfig, type LocalCredentials, type OdlaIntegration, type OdlaProjectConfig, type ProvisionOptions, type ProvisionPlan, type ReconciliationInput, type RunHostedSecurityOptions, SYSTEM_AI_PURPOSES, type ScopedPlatformTokenOptions, type SecretsPushOptions, type SecretsSetOptions, type SkillInstallOptions, type SkillInstallResult, type SmokeOptions, type StartHostedSecurityJobOptions, type SurfaceNode, type SystemAiPurpose, acceptedAfter, adminAi, aiModels, calendarBookingPageUrl, calendarCalendars, calendarConnect, calendarDisconnect, calendarServiceConfig, calendarStatus, codeConnect, configApply, configDiff, configOperationGet, configOperationWait, configPlan, connectGitHubSecuritySource, describeProblem, desiredRegistryState, disconnectGitHubSecuritySource, doctor, exitCodeFor, followHostedSecurityJob, getHostedSecurityIntent, getHostedSecurityJob, getHostedSecurityPlan, getHostedSecurityReport, getScopedPlatformToken, inferGitHubRepository, initProject, installSkill, invocationPath, isTerminalHostedSecurityStatus, listGitHubSecuritySources, listHostedSecurityJobs, prepareCodeImages, printCapabilities, provision, reconcileConfig, redactSecrets, repositoryFromGitRemote, runCli, runCodeRuntime, runHostedSecurity, secretsPush, secretsSet, secretsSetClerkKey, smoke, startHostedSecurityJob, surfacePaths, validateInvocation };
1307
+ export { AGENT_HARNESSES, type AdminAiOptions, type AgentHarness, type AgentHarnessSelector, type AiModelsOptions, type AvailableGoogleCalendar, CAPABILITIES, CODE_BUILD_RECIPES, COMMAND_SURFACE, type CalendarConfig, type CalendarConnectionState, type CalendarLifecycleOptions, type CalendarServiceConfig, type CalendarStatus, type CliDependencies, type CodeBuildRule, type CodeConnectOptions, type CodeContainerEngine, type CodeHostCapabilities, type CodeLocalSourceDescriptor, type CodeRuntimeInput, type ConfigApplyOptions, type ConfigCoverage, type ConfigDiffDocument, type ConfigDifference, type ConfigDigest, type ConfigDrift, type ConfigInspectOptions, ConfigOperationCommandError, type ConfigOperationInspectOptions, type ConfigOperationResult, type ConfigPlanAction, type ConfigPlanDocument, type ConfigReconciliation, type ConfigRisk, type ConfigSource, type ConnectGitHubSecuritySourceOptions, type DesiredRegistryState, type DisconnectGitHubSecuritySourceOptions, type FollowHostedSecurityJobOptions, GOOGLE_CALENDAR_EVENTS_SCOPE, type GetHostedSecurityIntentOptions, type GetHostedSecurityJobOptions, type GoogleCalendarConfig, type HarnessInstallResult, type HostedSecurityProfile, type HostedSecurityResult, type HostedSecurityTokenRequest, type IntegrationProbe, type IntegrationSeed, type InvocationProblem, type ListGitHubSecuritySourcesOptions, type ListHostedSecurityJobsOptions, type LoadedProjectConfig, type LocalCredentials, type OdlaIntegration, type OdlaProjectConfig, type ProvisionOptions, type ProvisionPlan, type ReconciliationInput, type RunHostedSecurityOptions, SYSTEM_AI_PURPOSES, type ScopedPlatformTokenOptions, type SecretsPushOptions, type SecretsSetOptions, type SkillInstallOptions, type SkillInstallResult, type SmokeOptions, type StartHostedSecurityJobOptions, type SurfaceNode, type SystemAiPurpose, acceptedAfter, adminAi, aiModels, calendarBookingPageUrl, calendarCalendars, calendarConnect, calendarDisconnect, calendarServiceConfig, calendarStatus, codeConnect, configApply, configDiff, configOperationGet, configOperationWait, configPlan, connectGitHubSecuritySource, describeProblem, desiredRegistryState, disconnectGitHubSecuritySource, doctor, exitCodeFor, followHostedSecurityJob, getHostedSecurityIntent, getHostedSecurityJob, getHostedSecurityPlan, getHostedSecurityReport, getScopedPlatformToken, inferGitHubRepository, initProject, installSkill, invocationPath, isTerminalHostedSecurityStatus, listGitHubSecuritySources, listHostedSecurityJobs, printCapabilities, provision, reconcileConfig, redactSecrets, repositoryFromGitRemote, runCli, runCodeRuntime, runHostedSecurity, secretsPush, secretsSet, secretsSetClerkKey, smoke, startHostedSecurityJob, surfacePaths, validateInvocation };
package/dist/index.js CHANGED
@@ -3,7 +3,6 @@ import {
3
3
  AGENT_HARNESSES,
4
4
  CAPABILITIES,
5
5
  CODE_BUILD_RECIPES,
6
- CODE_PI_IMAGE,
7
6
  COMMAND_SURFACE,
8
7
  ConfigOperationCommandError,
9
8
  GOOGLE_CALENDAR_EVENTS_SCOPE,
@@ -41,7 +40,6 @@ import {
41
40
  isTerminalHostedSecurityStatus,
42
41
  listGitHubSecuritySources,
43
42
  listHostedSecurityJobs,
44
- prepareCodeImages,
45
43
  printCapabilities,
46
44
  provision,
47
45
  reconcileConfig,
@@ -56,7 +54,7 @@ import {
56
54
  startHostedSecurityJob,
57
55
  surfacePaths,
58
56
  validateInvocation
59
- } from "./chunk-Y3W7YKWI.js";
57
+ } from "./chunk-YSQORU5J.js";
60
58
  import {
61
59
  exitCodeFor,
62
60
  redactSecrets
@@ -65,7 +63,6 @@ export {
65
63
  AGENT_HARNESSES,
66
64
  CAPABILITIES,
67
65
  CODE_BUILD_RECIPES,
68
- CODE_PI_IMAGE,
69
66
  COMMAND_SURFACE,
70
67
  ConfigOperationCommandError,
71
68
  GOOGLE_CALENDAR_EVENTS_SCOPE,
@@ -104,7 +101,6 @@ export {
104
101
  isTerminalHostedSecurityStatus,
105
102
  listGitHubSecuritySources,
106
103
  listHostedSecurityJobs,
107
- prepareCodeImages,
108
104
  printCapabilities,
109
105
  provision,
110
106
  reconcileConfig,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odla-ai/cli",
3
- "version": "0.31.1",
3
+ "version": "0.33.0",
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",
@@ -50,7 +50,7 @@
50
50
  "ai"
51
51
  ],
52
52
  "scripts": {
53
- "build": "tsup && tsup --config tsup.runtime.config.ts",
53
+ "build": "tsup",
54
54
  "clean": "rm -rf dist",
55
55
  "typecheck": "tsc --noEmit",
56
56
  "test": "vitest run",
@@ -58,10 +58,10 @@
58
58
  "prepublishOnly": "npm run build"
59
59
  },
60
60
  "dependencies": {
61
- "@odla-ai/ai": "0.13.0",
61
+ "@odla-ai/ai": "0.14.0",
62
62
  "@odla-ai/apps": "0.10.5",
63
63
  "@odla-ai/brand": "0.5.0",
64
- "@odla-ai/db": ">=0.10.1 <0.11.0",
64
+ "@odla-ai/db": "0.10.3",
65
65
  "@odla-ai/security": "0.3.3"
66
66
  },
67
67
  "devDependencies": {