@odla-ai/cli 0.14.1 → 0.15.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 +22 -15
- package/dist/bin.cjs +665 -277
- package/dist/bin.cjs.map +1 -1
- package/dist/bin.js +1 -1
- package/dist/{chunk-AN6KZMR5.js → chunk-E3CCYDIT.js} +670 -282
- package/dist/chunk-E3CCYDIT.js.map +1 -0
- package/dist/index.cjs +665 -277
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +53 -8
- package/dist/index.d.ts +53 -8
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/skills/odla-migrate/references/phase-2-db.md +2 -2
- package/dist/chunk-AN6KZMR5.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -3,7 +3,7 @@ import { HostedSecurityJob, GitHubConnectionStatus, GitHubSecuritySource, Hosted
|
|
|
3
3
|
export { GitHubConnectionAttempt, GitHubConnectionStatus, GitHubSecuritySource, HostedSecurityCounts, HostedSecurityCoverage, HostedSecurityIntent, HostedSecurityIntentResponse, HostedSecurityJob, HostedSecurityJobStatus, HostedSecurityPlan, HostedSecurityPlanRoute, HostedSecurityReport, HostedSecurityReportFinding, HostedSecurityRoute } from '@odla-ai/security/hosted';
|
|
4
4
|
|
|
5
5
|
/** One exact platform scope obtainable through the admin device flow. */
|
|
6
|
-
type ScopedPlatformScope = "platform:ai:policy:read" | "platform:ai:policy:write" | "platform:ai:credential:read" | "platform:ai:credential:write" | "platform:ai:usage:read" | "platform:ai:audit:read" | "platform:code:host:connect" | "platform:security:self";
|
|
6
|
+
type ScopedPlatformScope = "platform:ai:policy:read" | "platform:ai:policy:write" | "platform:ai:credential:read" | "platform:ai:credential:write" | "platform:ai:usage:read" | "platform:ai:audit:read" | "app:code:host:connect" | "platform:code:host:connect" | "platform:security:self";
|
|
7
7
|
/** Inputs for obtaining one short-lived, exact-scope platform device grant. */
|
|
8
8
|
interface ScopedPlatformTokenOptions {
|
|
9
9
|
platform: string;
|
|
@@ -23,10 +23,31 @@ interface ScopedPlatformTokenOptions {
|
|
|
23
23
|
/** Obtain/cache one exact platform scope without granting ambient admin. */
|
|
24
24
|
declare function getScopedPlatformToken(options: ScopedPlatformTokenOptions): Promise<string>;
|
|
25
25
|
|
|
26
|
+
/** Immutable local-checkout attestation advertised by a connected terminal. */
|
|
27
|
+
interface CodeLocalSourceDescriptor {
|
|
28
|
+
kind: "local_checkout";
|
|
29
|
+
repository: string;
|
|
30
|
+
headCommitSha: string;
|
|
31
|
+
trustedBaseDigest: `sha256:${string}`;
|
|
32
|
+
developerPatchDigest: `sha256:${string}`;
|
|
33
|
+
snapshotDigest: `sha256:${string}`;
|
|
34
|
+
modified: boolean;
|
|
35
|
+
fileCount: number;
|
|
36
|
+
byteCount: number;
|
|
37
|
+
capturedAt: number;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
interface PreparedCodeLocalSource {
|
|
41
|
+
descriptor: CodeLocalSourceDescriptor;
|
|
42
|
+
trustedBaseDir: string;
|
|
43
|
+
sourceDir: string;
|
|
44
|
+
cleanup(): Promise<void>;
|
|
45
|
+
}
|
|
46
|
+
/** Freeze the local Git tree and exact commit base before any approval request. */
|
|
47
|
+
declare function prepareCodeLocalSource(cwd: string, repository: string, readHead?: (cwd: string) => Promise<string>): Promise<PreparedCodeLocalSource>;
|
|
48
|
+
|
|
26
49
|
/** Immutable, release-owned Pi adapter. No registry credential enters it. */
|
|
27
|
-
declare const CODE_PI_IMAGE = "ghcr.io/cory/odla-pi-agent@sha256:
|
|
28
|
-
/** Supported local isolation engines for an odla Code host runtime. */
|
|
29
|
-
type CodeContainerEngine = "container" | "podman" | "docker";
|
|
50
|
+
declare const CODE_PI_IMAGE = "ghcr.io/cory/odla-pi-agent@sha256:e7858b4f0291543171b2659b47c5d00f97acc4767cafd9b74ae5228899e0cde4";
|
|
30
51
|
/** Immutable CaMeL-registered build recipe available to an agent container. */
|
|
31
52
|
interface CodeBuildRule {
|
|
32
53
|
id: string;
|
|
@@ -39,6 +60,12 @@ interface CodeBuildRule {
|
|
|
39
60
|
pids?: number;
|
|
40
61
|
tmpfsBytes?: number;
|
|
41
62
|
}
|
|
63
|
+
/** Initial dependency-free dogfood recipe. App-registered catalogs can replace
|
|
64
|
+
* this once their owner-visible registration contract exists. */
|
|
65
|
+
declare const CODE_BUILD_RECIPES: readonly CodeBuildRule[];
|
|
66
|
+
|
|
67
|
+
/** Supported local isolation engines for an odla Code host runtime. */
|
|
68
|
+
type CodeContainerEngine = "container" | "podman" | "docker";
|
|
42
69
|
/** Bounded host facts reported on each outbound Code control-plane heartbeat. */
|
|
43
70
|
interface CodeHostCapabilities {
|
|
44
71
|
protocolVersion: 1;
|
|
@@ -47,10 +74,16 @@ interface CodeHostCapabilities {
|
|
|
47
74
|
engines: CodeContainerEngine[];
|
|
48
75
|
cpuCount: number;
|
|
49
76
|
memoryBytes: number;
|
|
77
|
+
source: CodeLocalSourceDescriptor;
|
|
78
|
+
images: {
|
|
79
|
+
ready: true;
|
|
80
|
+
pi: string;
|
|
81
|
+
recipes: Array<{
|
|
82
|
+
id: string;
|
|
83
|
+
image: string;
|
|
84
|
+
}>;
|
|
85
|
+
};
|
|
50
86
|
}
|
|
51
|
-
/** Initial CaMeL-registered clean-build rule. App-specific recipes can replace
|
|
52
|
-
* this only after their own owner-visible registration flow exists. */
|
|
53
|
-
declare const CODE_BUILD_RECIPES: readonly CodeBuildRule[];
|
|
54
87
|
type Output$1 = Pick<typeof console, "log" | "error">;
|
|
55
88
|
/** Inputs for enrolling the current checkout and running its foreground Pi host. */
|
|
56
89
|
interface CodeConnectOptions {
|
|
@@ -58,6 +91,10 @@ interface CodeConnectOptions {
|
|
|
58
91
|
/** Repository root. Defaults to the current directory. */
|
|
59
92
|
cwd?: string;
|
|
60
93
|
env?: string;
|
|
94
|
+
/** Explicit Studio control-plane origin; overrides config and environment. */
|
|
95
|
+
platform?: string;
|
|
96
|
+
/** Explicit app target; useful before or without odla.config.mjs. */
|
|
97
|
+
appId?: string;
|
|
61
98
|
email?: string;
|
|
62
99
|
open?: boolean;
|
|
63
100
|
name?: string;
|
|
@@ -75,6 +112,9 @@ interface CodeConnectOptions {
|
|
|
75
112
|
selectEngine?: (requested: CodeContainerEngine | "auto") => Promise<CodeContainerEngine>;
|
|
76
113
|
runRuntime?: (input: CodeRuntimeInput) => Promise<void>;
|
|
77
114
|
readGitOrigin?: (cwd: string) => Promise<string>;
|
|
115
|
+
readGitHead?: (cwd: string) => Promise<string>;
|
|
116
|
+
prepareImages?: (engine: CodeContainerEngine, images: readonly string[]) => Promise<void>;
|
|
117
|
+
prepareLocalSource?: typeof prepareCodeLocalSource;
|
|
78
118
|
}
|
|
79
119
|
/** Authority and runtime boundaries used after a Code host enrollment succeeds. */
|
|
80
120
|
interface CodeRuntimeInput {
|
|
@@ -87,6 +127,11 @@ interface CodeRuntimeInput {
|
|
|
87
127
|
signal?: AbortSignal;
|
|
88
128
|
stdout: Output$1;
|
|
89
129
|
fetch?: typeof fetch;
|
|
130
|
+
localSource?: {
|
|
131
|
+
descriptor: CodeLocalSourceDescriptor;
|
|
132
|
+
trustedBaseDir: string;
|
|
133
|
+
sourceDir: string;
|
|
134
|
+
};
|
|
90
135
|
}
|
|
91
136
|
/** Enroll this machine from an odla project and keep the embedded Pi runtime
|
|
92
137
|
* online. Both the approval grant and host credential hashes are stored in
|
|
@@ -933,4 +978,4 @@ declare function installSkill(options?: SkillInstallOptions): SkillInstallResult
|
|
|
933
978
|
*/
|
|
934
979
|
declare function smoke(options: SmokeOptions): Promise<void>;
|
|
935
980
|
|
|
936
|
-
export { AGENT_HARNESSES, type AdminAiOptions, type AgentHarness, type AgentHarnessSelector, type AvailableGoogleCalendar, CAPABILITIES, CODE_BUILD_RECIPES, CODE_PI_IMAGE, type CalendarConfig, type CalendarConnectionState, type CalendarLifecycleOptions, type CalendarServiceConfig, type CalendarStatus, type CliDependencies, type CodeBuildRule, type CodeConnectOptions, type CodeContainerEngine, type CodeHostCapabilities, type CodeRuntimeInput, type ConnectGitHubSecuritySourceOptions, 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 ListGitHubSecuritySourcesOptions, type ListHostedSecurityJobsOptions, type LoadedProjectConfig, type LocalCredentials, type OdlaIntegration, type OdlaProjectConfig, type ProvisionOptions, type ProvisionPlan, type RunHostedSecurityOptions, SYSTEM_AI_PURPOSES, type ScopedPlatformTokenOptions, type SecretsPushOptions, type SecretsSetOptions, type SkillInstallOptions, type SkillInstallResult, type SmokeOptions, type StartHostedSecurityJobOptions, type SystemAiPurpose, adminAi, calendarBookingPageUrl, calendarCalendars, calendarConnect, calendarDisconnect, calendarServiceConfig, calendarStatus, codeConnect, connectGitHubSecuritySource, disconnectGitHubSecuritySource, doctor, exitCodeFor, followHostedSecurityJob, getHostedSecurityIntent, getHostedSecurityJob, getHostedSecurityPlan, getHostedSecurityReport, getScopedPlatformToken, inferGitHubRepository, initProject, installSkill, isTerminalHostedSecurityStatus, listGitHubSecuritySources, listHostedSecurityJobs, printCapabilities, provision, redactSecrets, repositoryFromGitRemote, runCli, runCodeRuntime, runHostedSecurity, secretsPush, secretsSet, secretsSetClerkKey, smoke, startHostedSecurityJob };
|
|
981
|
+
export { AGENT_HARNESSES, type AdminAiOptions, type AgentHarness, type AgentHarnessSelector, type AvailableGoogleCalendar, CAPABILITIES, CODE_BUILD_RECIPES, CODE_PI_IMAGE, 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 ConnectGitHubSecuritySourceOptions, 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 ListGitHubSecuritySourcesOptions, type ListHostedSecurityJobsOptions, type LoadedProjectConfig, type LocalCredentials, type OdlaIntegration, type OdlaProjectConfig, type ProvisionOptions, type ProvisionPlan, type RunHostedSecurityOptions, SYSTEM_AI_PURPOSES, type ScopedPlatformTokenOptions, type SecretsPushOptions, type SecretsSetOptions, type SkillInstallOptions, type SkillInstallResult, type SmokeOptions, type StartHostedSecurityJobOptions, type SystemAiPurpose, adminAi, calendarBookingPageUrl, calendarCalendars, calendarConnect, calendarDisconnect, calendarServiceConfig, calendarStatus, codeConnect, connectGitHubSecuritySource, disconnectGitHubSecuritySource, doctor, exitCodeFor, followHostedSecurityJob, getHostedSecurityIntent, getHostedSecurityJob, getHostedSecurityPlan, getHostedSecurityReport, getScopedPlatformToken, inferGitHubRepository, initProject, installSkill, isTerminalHostedSecurityStatus, listGitHubSecuritySources, listHostedSecurityJobs, printCapabilities, provision, redactSecrets, repositoryFromGitRemote, runCli, runCodeRuntime, runHostedSecurity, secretsPush, secretsSet, secretsSetClerkKey, smoke, startHostedSecurityJob };
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { HostedSecurityJob, GitHubConnectionStatus, GitHubSecuritySource, Hosted
|
|
|
3
3
|
export { GitHubConnectionAttempt, GitHubConnectionStatus, GitHubSecuritySource, HostedSecurityCounts, HostedSecurityCoverage, HostedSecurityIntent, HostedSecurityIntentResponse, HostedSecurityJob, HostedSecurityJobStatus, HostedSecurityPlan, HostedSecurityPlanRoute, HostedSecurityReport, HostedSecurityReportFinding, HostedSecurityRoute } from '@odla-ai/security/hosted';
|
|
4
4
|
|
|
5
5
|
/** One exact platform scope obtainable through the admin device flow. */
|
|
6
|
-
type ScopedPlatformScope = "platform:ai:policy:read" | "platform:ai:policy:write" | "platform:ai:credential:read" | "platform:ai:credential:write" | "platform:ai:usage:read" | "platform:ai:audit:read" | "platform:code:host:connect" | "platform:security:self";
|
|
6
|
+
type ScopedPlatformScope = "platform:ai:policy:read" | "platform:ai:policy:write" | "platform:ai:credential:read" | "platform:ai:credential:write" | "platform:ai:usage:read" | "platform:ai:audit:read" | "app:code:host:connect" | "platform:code:host:connect" | "platform:security:self";
|
|
7
7
|
/** Inputs for obtaining one short-lived, exact-scope platform device grant. */
|
|
8
8
|
interface ScopedPlatformTokenOptions {
|
|
9
9
|
platform: string;
|
|
@@ -23,10 +23,31 @@ interface ScopedPlatformTokenOptions {
|
|
|
23
23
|
/** Obtain/cache one exact platform scope without granting ambient admin. */
|
|
24
24
|
declare function getScopedPlatformToken(options: ScopedPlatformTokenOptions): Promise<string>;
|
|
25
25
|
|
|
26
|
+
/** Immutable local-checkout attestation advertised by a connected terminal. */
|
|
27
|
+
interface CodeLocalSourceDescriptor {
|
|
28
|
+
kind: "local_checkout";
|
|
29
|
+
repository: string;
|
|
30
|
+
headCommitSha: string;
|
|
31
|
+
trustedBaseDigest: `sha256:${string}`;
|
|
32
|
+
developerPatchDigest: `sha256:${string}`;
|
|
33
|
+
snapshotDigest: `sha256:${string}`;
|
|
34
|
+
modified: boolean;
|
|
35
|
+
fileCount: number;
|
|
36
|
+
byteCount: number;
|
|
37
|
+
capturedAt: number;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
interface PreparedCodeLocalSource {
|
|
41
|
+
descriptor: CodeLocalSourceDescriptor;
|
|
42
|
+
trustedBaseDir: string;
|
|
43
|
+
sourceDir: string;
|
|
44
|
+
cleanup(): Promise<void>;
|
|
45
|
+
}
|
|
46
|
+
/** Freeze the local Git tree and exact commit base before any approval request. */
|
|
47
|
+
declare function prepareCodeLocalSource(cwd: string, repository: string, readHead?: (cwd: string) => Promise<string>): Promise<PreparedCodeLocalSource>;
|
|
48
|
+
|
|
26
49
|
/** Immutable, release-owned Pi adapter. No registry credential enters it. */
|
|
27
|
-
declare const CODE_PI_IMAGE = "ghcr.io/cory/odla-pi-agent@sha256:
|
|
28
|
-
/** Supported local isolation engines for an odla Code host runtime. */
|
|
29
|
-
type CodeContainerEngine = "container" | "podman" | "docker";
|
|
50
|
+
declare const CODE_PI_IMAGE = "ghcr.io/cory/odla-pi-agent@sha256:e7858b4f0291543171b2659b47c5d00f97acc4767cafd9b74ae5228899e0cde4";
|
|
30
51
|
/** Immutable CaMeL-registered build recipe available to an agent container. */
|
|
31
52
|
interface CodeBuildRule {
|
|
32
53
|
id: string;
|
|
@@ -39,6 +60,12 @@ interface CodeBuildRule {
|
|
|
39
60
|
pids?: number;
|
|
40
61
|
tmpfsBytes?: number;
|
|
41
62
|
}
|
|
63
|
+
/** Initial dependency-free dogfood recipe. App-registered catalogs can replace
|
|
64
|
+
* this once their owner-visible registration contract exists. */
|
|
65
|
+
declare const CODE_BUILD_RECIPES: readonly CodeBuildRule[];
|
|
66
|
+
|
|
67
|
+
/** Supported local isolation engines for an odla Code host runtime. */
|
|
68
|
+
type CodeContainerEngine = "container" | "podman" | "docker";
|
|
42
69
|
/** Bounded host facts reported on each outbound Code control-plane heartbeat. */
|
|
43
70
|
interface CodeHostCapabilities {
|
|
44
71
|
protocolVersion: 1;
|
|
@@ -47,10 +74,16 @@ interface CodeHostCapabilities {
|
|
|
47
74
|
engines: CodeContainerEngine[];
|
|
48
75
|
cpuCount: number;
|
|
49
76
|
memoryBytes: number;
|
|
77
|
+
source: CodeLocalSourceDescriptor;
|
|
78
|
+
images: {
|
|
79
|
+
ready: true;
|
|
80
|
+
pi: string;
|
|
81
|
+
recipes: Array<{
|
|
82
|
+
id: string;
|
|
83
|
+
image: string;
|
|
84
|
+
}>;
|
|
85
|
+
};
|
|
50
86
|
}
|
|
51
|
-
/** Initial CaMeL-registered clean-build rule. App-specific recipes can replace
|
|
52
|
-
* this only after their own owner-visible registration flow exists. */
|
|
53
|
-
declare const CODE_BUILD_RECIPES: readonly CodeBuildRule[];
|
|
54
87
|
type Output$1 = Pick<typeof console, "log" | "error">;
|
|
55
88
|
/** Inputs for enrolling the current checkout and running its foreground Pi host. */
|
|
56
89
|
interface CodeConnectOptions {
|
|
@@ -58,6 +91,10 @@ interface CodeConnectOptions {
|
|
|
58
91
|
/** Repository root. Defaults to the current directory. */
|
|
59
92
|
cwd?: string;
|
|
60
93
|
env?: string;
|
|
94
|
+
/** Explicit Studio control-plane origin; overrides config and environment. */
|
|
95
|
+
platform?: string;
|
|
96
|
+
/** Explicit app target; useful before or without odla.config.mjs. */
|
|
97
|
+
appId?: string;
|
|
61
98
|
email?: string;
|
|
62
99
|
open?: boolean;
|
|
63
100
|
name?: string;
|
|
@@ -75,6 +112,9 @@ interface CodeConnectOptions {
|
|
|
75
112
|
selectEngine?: (requested: CodeContainerEngine | "auto") => Promise<CodeContainerEngine>;
|
|
76
113
|
runRuntime?: (input: CodeRuntimeInput) => Promise<void>;
|
|
77
114
|
readGitOrigin?: (cwd: string) => Promise<string>;
|
|
115
|
+
readGitHead?: (cwd: string) => Promise<string>;
|
|
116
|
+
prepareImages?: (engine: CodeContainerEngine, images: readonly string[]) => Promise<void>;
|
|
117
|
+
prepareLocalSource?: typeof prepareCodeLocalSource;
|
|
78
118
|
}
|
|
79
119
|
/** Authority and runtime boundaries used after a Code host enrollment succeeds. */
|
|
80
120
|
interface CodeRuntimeInput {
|
|
@@ -87,6 +127,11 @@ interface CodeRuntimeInput {
|
|
|
87
127
|
signal?: AbortSignal;
|
|
88
128
|
stdout: Output$1;
|
|
89
129
|
fetch?: typeof fetch;
|
|
130
|
+
localSource?: {
|
|
131
|
+
descriptor: CodeLocalSourceDescriptor;
|
|
132
|
+
trustedBaseDir: string;
|
|
133
|
+
sourceDir: string;
|
|
134
|
+
};
|
|
90
135
|
}
|
|
91
136
|
/** Enroll this machine from an odla project and keep the embedded Pi runtime
|
|
92
137
|
* online. Both the approval grant and host credential hashes are stored in
|
|
@@ -933,4 +978,4 @@ declare function installSkill(options?: SkillInstallOptions): SkillInstallResult
|
|
|
933
978
|
*/
|
|
934
979
|
declare function smoke(options: SmokeOptions): Promise<void>;
|
|
935
980
|
|
|
936
|
-
export { AGENT_HARNESSES, type AdminAiOptions, type AgentHarness, type AgentHarnessSelector, type AvailableGoogleCalendar, CAPABILITIES, CODE_BUILD_RECIPES, CODE_PI_IMAGE, type CalendarConfig, type CalendarConnectionState, type CalendarLifecycleOptions, type CalendarServiceConfig, type CalendarStatus, type CliDependencies, type CodeBuildRule, type CodeConnectOptions, type CodeContainerEngine, type CodeHostCapabilities, type CodeRuntimeInput, type ConnectGitHubSecuritySourceOptions, 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 ListGitHubSecuritySourcesOptions, type ListHostedSecurityJobsOptions, type LoadedProjectConfig, type LocalCredentials, type OdlaIntegration, type OdlaProjectConfig, type ProvisionOptions, type ProvisionPlan, type RunHostedSecurityOptions, SYSTEM_AI_PURPOSES, type ScopedPlatformTokenOptions, type SecretsPushOptions, type SecretsSetOptions, type SkillInstallOptions, type SkillInstallResult, type SmokeOptions, type StartHostedSecurityJobOptions, type SystemAiPurpose, adminAi, calendarBookingPageUrl, calendarCalendars, calendarConnect, calendarDisconnect, calendarServiceConfig, calendarStatus, codeConnect, connectGitHubSecuritySource, disconnectGitHubSecuritySource, doctor, exitCodeFor, followHostedSecurityJob, getHostedSecurityIntent, getHostedSecurityJob, getHostedSecurityPlan, getHostedSecurityReport, getScopedPlatformToken, inferGitHubRepository, initProject, installSkill, isTerminalHostedSecurityStatus, listGitHubSecuritySources, listHostedSecurityJobs, printCapabilities, provision, redactSecrets, repositoryFromGitRemote, runCli, runCodeRuntime, runHostedSecurity, secretsPush, secretsSet, secretsSetClerkKey, smoke, startHostedSecurityJob };
|
|
981
|
+
export { AGENT_HARNESSES, type AdminAiOptions, type AgentHarness, type AgentHarnessSelector, type AvailableGoogleCalendar, CAPABILITIES, CODE_BUILD_RECIPES, CODE_PI_IMAGE, 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 ConnectGitHubSecuritySourceOptions, 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 ListGitHubSecuritySourcesOptions, type ListHostedSecurityJobsOptions, type LoadedProjectConfig, type LocalCredentials, type OdlaIntegration, type OdlaProjectConfig, type ProvisionOptions, type ProvisionPlan, type RunHostedSecurityOptions, SYSTEM_AI_PURPOSES, type ScopedPlatformTokenOptions, type SecretsPushOptions, type SecretsSetOptions, type SkillInstallOptions, type SkillInstallResult, type SmokeOptions, type StartHostedSecurityJobOptions, type SystemAiPurpose, adminAi, calendarBookingPageUrl, calendarCalendars, calendarConnect, calendarDisconnect, calendarServiceConfig, calendarStatus, codeConnect, connectGitHubSecuritySource, disconnectGitHubSecuritySource, doctor, exitCodeFor, followHostedSecurityJob, getHostedSecurityIntent, getHostedSecurityJob, getHostedSecurityPlan, getHostedSecurityReport, getScopedPlatformToken, inferGitHubRepository, initProject, installSkill, isTerminalHostedSecurityStatus, listGitHubSecuritySources, listHostedSecurityJobs, printCapabilities, provision, redactSecrets, repositoryFromGitRemote, runCli, runCodeRuntime, runHostedSecurity, secretsPush, secretsSet, secretsSetClerkKey, smoke, startHostedSecurityJob };
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@odla-ai/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.0",
|
|
4
4
|
"description": "Agent-operable CLI for odla provisioning, calendar consent and sync lifecycle, System AI administration, Worker secrets, security jobs, and smoke checks.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://odla.ai/docs/packages/cli",
|
|
@@ -11,8 +11,8 @@ opens the review page in interactive terminals; loading it alone is inert.
|
|
|
11
11
|
|
|
12
12
|
## Steps
|
|
13
13
|
|
|
14
|
-
1. Require `npm view @odla-ai/cli@0.
|
|
15
|
-
`npm i -D --save-exact @odla-ai/cli@0.
|
|
14
|
+
1. Require `npm view @odla-ai/cli@0.15.0 version` to succeed, then run
|
|
15
|
+
`npm i -D --save-exact @odla-ai/cli@0.15.0` and `npm i @odla-ai/db`.
|
|
16
16
|
2. `npx @odla-ai/cli init --app-id <id> --name "<Name>" --env dev --services db`
|
|
17
17
|
Review `odla.config.mjs`. Keep `envs: ["dev"]` — prod is Phase 5. Set
|
|
18
18
|
`links.dev` to the URL the Phase 1 `wrangler deploy` **actually printed** —
|