@codiac.io/codiac-cli 1.3.236 → 1.3.238
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 +218 -160
- package/dist/apis/codiac-relay/gen/client.d.ts +5 -1
- package/dist/apis/codiac-relay/gen/client.js +8 -0
- package/dist/apis/codiac-relay/gen/client.js.map +1 -1
- package/dist/apis/codiac-relay/gen/contracts/types.gen.d.ts +129 -0
- package/dist/apis/codiac-relay/gen/contracts/types.gen.js.map +1 -1
- package/dist/apis/codiac-relay/i-client.d.ts +4 -0
- package/dist/apis/codiac-relay-nats/gen/client.d.ts +4 -0
- package/dist/apis/codiac-relay-nats/gen/client.js +8 -0
- package/dist/apis/codiac-relay-nats/gen/client.js.map +1 -1
- package/dist/apis/codiac-relay-nats/gen/contracts/types.gen.d.ts +62 -0
- package/dist/commands/ai/agent/install.d.ts +73 -0
- package/dist/commands/ai/agent/install.js +417 -0
- package/dist/commands/ai/agent/install.js.map +1 -0
- package/dist/commands/csp/login.js +18 -14
- package/dist/commands/csp/login.js.map +1 -1
- package/dist/commands/imageRegistry/capture.d.ts +7 -1
- package/dist/commands/imageRegistry/capture.js +63 -4
- package/dist/commands/imageRegistry/capture.js.map +1 -1
- package/dist/uilogic/framework-spec.d.ts +13 -0
- package/dist/uilogic/framework-spec.js +17 -0
- package/dist/uilogic/framework-spec.js.map +1 -0
- package/oclif.manifest.json +143 -1
- package/package.json +2 -1
|
@@ -16054,6 +16054,135 @@ export type ClusterRestoreRequest = {
|
|
|
16054
16054
|
correlationId?: string;
|
|
16055
16055
|
callbackUrl?: string;
|
|
16056
16056
|
};
|
|
16057
|
+
/** Agent frameworks known to the provisioner. */
|
|
16058
|
+
export type AgentFrameworkKind = "openclaw" | "hermes" | "byoa";
|
|
16059
|
+
/** How the frontend/CLI wants hostnames resolved for the provisioned agent's ingress. Domain
|
|
16060
|
+
* is optional here (unlike the relay's decorated class) because domainless strategies (e.g.
|
|
16061
|
+
* "shared_ingress_ip") legitimately omit it. */
|
|
16062
|
+
export type HostNamingSpec = {
|
|
16063
|
+
/** Naming strategy identifier (e.g. "auto"). */
|
|
16064
|
+
strategy: string;
|
|
16065
|
+
/** Domain under which the agent should be exposed (e.g. "agents.oncodiac.io"). */
|
|
16066
|
+
domain?: string;
|
|
16067
|
+
};
|
|
16068
|
+
/**
|
|
16069
|
+
* Request for post.ai-agent-provision — idempotent, re-attemptable provisioning
|
|
16070
|
+
* of an AI agent onto a cabinet. Safe to re-call with the same correlationId
|
|
16071
|
+
* after resolving a `needs_action` remediation (see {@link AiAgentProvisionResult}).
|
|
16072
|
+
*/
|
|
16073
|
+
export type AiAgentProvisionRequest = {
|
|
16074
|
+
/** The enterprise code the agent should be provisioned into. */
|
|
16075
|
+
enterprise: string;
|
|
16076
|
+
/** The cabinet the agent should be deployed onto. */
|
|
16077
|
+
cabinet: string;
|
|
16078
|
+
/** Which agent framework to provision. */
|
|
16079
|
+
framework: AgentFrameworkKind;
|
|
16080
|
+
/** Optional display/release name for the agent. Defaults are chosen server-side when omitted. */
|
|
16081
|
+
name?: string;
|
|
16082
|
+
/** Whether the provisioned agent should be exposed via ingress. */
|
|
16083
|
+
hasIngress?: boolean;
|
|
16084
|
+
/** Model identifier to configure the agent with (e.g. "gpt-4o"). */
|
|
16085
|
+
model?: string;
|
|
16086
|
+
/** Hostname resolution strategy/domain for the agent's ingress, when `hasIngress` is set. */
|
|
16087
|
+
hostNaming?: HostNamingSpec;
|
|
16088
|
+
/** Per-install ScopedSetting overrides. Validated against the framework's seed later
|
|
16089
|
+
* in the pipeline, not by this contract. */
|
|
16090
|
+
overrides?: Record<string, any>;
|
|
16091
|
+
/** Answers to a prior `needs_action` response's remediation `resolvedBy.needs` fields
|
|
16092
|
+
* (e.g. `{ openRouterKey: "...", "dashboard.password": "..." }`). */
|
|
16093
|
+
inputs?: Record<string, string>;
|
|
16094
|
+
/** Correlation id threaded through to the status stream so callers can track this
|
|
16095
|
+
* provisioning attempt across re-calls. */
|
|
16096
|
+
correlationId?: string;
|
|
16097
|
+
/** Socket id for status-stream delivery, mirroring the async-process-trigger convention
|
|
16098
|
+
* used elsewhere in the relay. */
|
|
16099
|
+
socketId?: string;
|
|
16100
|
+
};
|
|
16101
|
+
/** Outcome of a single step in the provisioning sequence (e.g. "ensureChartRepo"). */
|
|
16102
|
+
export type StepResult = {
|
|
16103
|
+
/** Name of the step, e.g. "ensureChartRepo". */
|
|
16104
|
+
step: string;
|
|
16105
|
+
/** Outcome of the step. */
|
|
16106
|
+
status: "done" | "skipped" | "autoResolved" | "blocked" | "failed";
|
|
16107
|
+
/** Optional human-readable detail about the outcome. */
|
|
16108
|
+
detail?: string;
|
|
16109
|
+
};
|
|
16110
|
+
/** A field the caller must supply before a remediation can be resolved. */
|
|
16111
|
+
export type InputField = {
|
|
16112
|
+
/** Key to return under request.inputs once the caller has a value. */
|
|
16113
|
+
name: string;
|
|
16114
|
+
/** Human-readable label for the field. */
|
|
16115
|
+
label: string;
|
|
16116
|
+
/** Field type hint, e.g. "string" | "password". */
|
|
16117
|
+
type?: string;
|
|
16118
|
+
/** Whether the field's value should be treated as a secret (masked in UI, not logged). */
|
|
16119
|
+
secret?: boolean;
|
|
16120
|
+
};
|
|
16121
|
+
/** Describes how the caller can resolve a blocking condition before re-attempting. */
|
|
16122
|
+
export type ResolvedBy = {
|
|
16123
|
+
/** Stable identifier for the kind of resolution, e.g. "secret.set" | "host.map"
|
|
16124
|
+
* | "imageRegistry.pullSecret.set" | "cluster.setup". */
|
|
16125
|
+
kind: string;
|
|
16126
|
+
/** Ready-to-run cod command with known params already filled in. */
|
|
16127
|
+
cliCommand?: string;
|
|
16128
|
+
/** UI route/component that can resolve this remediation. */
|
|
16129
|
+
frontendRoute?: string;
|
|
16130
|
+
/** Known parameters for the resolution action. */
|
|
16131
|
+
params?: Record<string, any>;
|
|
16132
|
+
/** Fields the caller must supply — echoed back via request.inputs on re-attempt. */
|
|
16133
|
+
needs?: Array<InputField>;
|
|
16134
|
+
};
|
|
16135
|
+
/** A blocking condition the caller must resolve before the provisioning attempt can proceed. */
|
|
16136
|
+
export type Remediation = {
|
|
16137
|
+
/** Name of the step that raised this remediation, e.g. "ensureSecret". */
|
|
16138
|
+
step: string;
|
|
16139
|
+
/** Stable machine code, e.g. "MISSING_SECRET" | "NO_HOST_STRATEGY" | "NO_CLUSTER" | "NOT_PULLABLE". */
|
|
16140
|
+
code: string;
|
|
16141
|
+
/** Human-readable reason for the block. */
|
|
16142
|
+
reason: string;
|
|
16143
|
+
/** How the caller can resolve this remediation. */
|
|
16144
|
+
resolvedBy: ResolvedBy;
|
|
16145
|
+
/** Always true — the caller re-calls post.ai-agent-provision after resolving. */
|
|
16146
|
+
reattempt: boolean;
|
|
16147
|
+
};
|
|
16148
|
+
/** The agent that was successfully provisioned. */
|
|
16149
|
+
export type ProvisionedAgent = {
|
|
16150
|
+
/** Name/release name of the provisioned agent. */
|
|
16151
|
+
name: string;
|
|
16152
|
+
/** Cabinet the agent was deployed onto. */
|
|
16153
|
+
cabinet: string;
|
|
16154
|
+
/** Kubernetes namespace the agent was deployed into. */
|
|
16155
|
+
namespace?: string;
|
|
16156
|
+
/** Service name backing the agent, if any. */
|
|
16157
|
+
service?: string;
|
|
16158
|
+
/** Publicly reachable URL for the agent, if ingress was configured. */
|
|
16159
|
+
url?: string;
|
|
16160
|
+
};
|
|
16161
|
+
/** Error detail for a failed provisioning attempt. */
|
|
16162
|
+
export type ProvisionError = {
|
|
16163
|
+
/** Human-readable error message. */
|
|
16164
|
+
message: string;
|
|
16165
|
+
/** Step at which the failure occurred, if known. */
|
|
16166
|
+
step?: string;
|
|
16167
|
+
/** Underlying cause, if known (e.g. "timeout"). */
|
|
16168
|
+
cause?: string;
|
|
16169
|
+
};
|
|
16170
|
+
/**
|
|
16171
|
+
* Result for post.ai-agent-provision, wrapped by the caller as
|
|
16172
|
+
* `SingleResult<AiAgentProvisionResult>` (from `@codiac.io/codiac-common/contracts`).
|
|
16173
|
+
*/
|
|
16174
|
+
export type AiAgentProvisionResult = {
|
|
16175
|
+
/** Overall outcome of the provisioning attempt. */
|
|
16176
|
+
status: "ok" | "needs_action" | "failed";
|
|
16177
|
+
/** Per-step outcomes recorded during this attempt, in execution order. */
|
|
16178
|
+
steps: Array<StepResult>;
|
|
16179
|
+
/** Present iff status === "needs_action" — describes the blocking condition and how to resolve it. */
|
|
16180
|
+
nextAction?: Remediation;
|
|
16181
|
+
/** Present iff status === "ok" — the agent that was provisioned. */
|
|
16182
|
+
agent?: ProvisionedAgent;
|
|
16183
|
+
/** Present iff status === "failed" — details about the failure. */
|
|
16184
|
+
error?: ProvisionError;
|
|
16185
|
+
};
|
|
16057
16186
|
export type OtherClusterCredentialsSetRequest = {
|
|
16058
16187
|
/** Name of the ClusterDef to associate these credentials with. */
|
|
16059
16188
|
clusterName?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.gen.js","sourceRoot":"","sources":["../../../../../src/apis/codiac-relay/gen/contracts/types.gen.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;AA8GxC,QAAA,eAAe,GAAG;IAC3B,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;CACN,CAAC;AAiDE,QAAA,iBAAiB,GAAG;IAC7B,aAAa,EAAE,eAAe;IAC9B,mBAAmB,EAAE,qBAAqB;IAC1C,YAAY,EAAE,cAAc;IAC5B,KAAK,EAAE,OAAO;IACd,UAAU,EAAE,YAAY;CAClB,CAAC;AAwEX;;GAEG;AACU,QAAA,KAAK,GAAG;IACjB,CAAC,EAAE,GAAG;IACN,CAAC,EAAE,GAAG;IACN,CAAC,EAAE,GAAG;IACN,CAAC,EAAE,GAAG;IACN,CAAC,EAAE,GAAG;IACN,GAAG,EAAE,GAAG;CACF,CAAC;AA8BX;;GAEG;AACU,QAAA,QAAQ,GAAG;IACpB,CAAC,EAAE,GAAG;IACN,EAAE,EAAE,IAAI;IACR,CAAC,EA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ACN,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,CAAC,EAAE,CAAC;IACJ,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,CAAC,EAAE,CAAC;IACJ,CAAC,EAAE,CAAC;IACJ,CAAC,EAAE,CAAC;IACJ,CAAC,EAAE,CAAC;IACJ,CAAC,EAAE,CAAC;IACJ,CAAC,EAAE,CAAC;IACJ,CAAC,EAAE,CAAC;CACE,CAAC;
|
|
1
|
+
{"version":3,"file":"types.gen.js","sourceRoot":"","sources":["../../../../../src/apis/codiac-relay/gen/contracts/types.gen.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;AA8GxC,QAAA,eAAe,GAAG;IAC3B,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;CACN,CAAC;AAiDE,QAAA,iBAAiB,GAAG;IAC7B,aAAa,EAAE,eAAe;IAC9B,mBAAmB,EAAE,qBAAqB;IAC1C,YAAY,EAAE,cAAc;IAC5B,KAAK,EAAE,OAAO;IACd,UAAU,EAAE,YAAY;CAClB,CAAC;AAwEX;;GAEG;AACU,QAAA,KAAK,GAAG;IACjB,CAAC,EAAE,GAAG;IACN,CAAC,EAAE,GAAG;IACN,CAAC,EAAE,GAAG;IACN,CAAC,EAAE,GAAG;IACN,CAAC,EAAE,GAAG;IACN,GAAG,EAAE,GAAG;CACF,CAAC;AA8BX;;GAEG;AACU,QAAA,QAAQ,GAAG;IACpB,CAAC,EAAE,GAAG;IACN,EAAE,EAAE,IAAI;IACR,CAAC,EAAE,GAAG;IACN,EAAE,EAAE,IAAI;IACR,EAAE,EAAE,IAAI;IACR,CAAC,EAAE,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EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,CAAC,EAAE,CAAC;IACJ,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,CAAC,EAAE,CAAC;IACJ,CAAC,EAAE,CAAC;IACJ,CAAC,EAAE,CAAC;IACJ,CAAC,EAAE,CAAC;IACJ,CAAC,EAAE,CAAC;IACJ,CAAC,EAAE,CAAC;IACJ,CAAC,EAAE,CAAC;CACE,CAAC;AAiyIX,oFAAoF;AACvE,QAAA,cAAc,GAAG;IAC1B,kBAAkB,EAAE,oBAAoB;IACxC,iBAAiB,EAAE,mBAAmB;IACtC,aAAa,EAAE,eAAe;CACxB,CAAC"}
|
|
@@ -871,6 +871,10 @@ export interface IOtherOperations {
|
|
|
871
871
|
/** (generated operationId) */
|
|
872
872
|
postExecuteDeployIngressFor(request: Contracts.ExecuteDeployIngressForAssetsRequest, options?: IRepoOptions): Promise<Contracts.ExecuteDeployIngressForAssetsResponse>;
|
|
873
873
|
assetDeploy(request: Contracts.AssetDeployRequestAsync, options?: IRepoOptions): Promise<SingleResult<Contracts.WorkUnitAck>>;
|
|
874
|
+
/** Idempotent, re-attemptable provisioning of an AI agent onto a cabinet. Returns the full
|
|
875
|
+
* rich result synchronously (NOT a WorkUnitAck) — on `needs_action`, re-call with `inputs`
|
|
876
|
+
* populated from the returned `nextAction.resolvedBy` until `ok` or `failed`. */
|
|
877
|
+
aiAgentProvision(request: Contracts.AiAgentProvisionRequest, options?: IRepoOptions): Promise<SingleResult<Contracts.AiAgentProvisionResult>>;
|
|
874
878
|
/** Creates the cabinet metadata record without provisioning any k8s infrastructure. Succeeds even when the target cluster has no physical instance. */
|
|
875
879
|
cabinetDefine(request: Contracts.CabinetDefineRequest, options?: IRepoOptions): Promise<SingleResult<Contracts.Cabinet>>;
|
|
876
880
|
/** Creates a cabinet metadata record and provisions it on its assigned cluster. Equivalent to cabinet:define followed by cabinet:restore. */
|
|
@@ -877,6 +877,10 @@ declare class OtherOperations {
|
|
|
877
877
|
/** Retrieves the available versions of the Codiac envoy helm chart from the image registry. */
|
|
878
878
|
clusterEnvoyVersionsFetch(options?: IRepoOptions): Promise<ListResult<Contracts.VersionInfo>>;
|
|
879
879
|
assetDeploy(request: Contracts.AssetDeployRequestAsync, options?: IRepoOptions): Promise<SingleResult<Contracts.WorkUnitAck>>;
|
|
880
|
+
/** Idempotent, re-attemptable provisioning of an AI agent onto a cabinet. Returns the full
|
|
881
|
+
* rich result synchronously (NOT a WorkUnitAck) — on `needs_action`, re-call with `inputs`
|
|
882
|
+
* populated from the returned `nextAction.resolvedBy` until `ok` or `failed`. */
|
|
883
|
+
aiAgentProvision(request: Contracts.AiAgentProvisionRequest, options?: IRepoOptions): Promise<SingleResult<Contracts.AiAgentProvisionResult>>;
|
|
880
884
|
clusterStackInstall(request: Contracts.ClusterStackInstallRequestAsync, options?: IRepoOptions): Promise<SingleResult<Contracts.WorkUnitAck>>;
|
|
881
885
|
clusterStackUninstall(request: Contracts.ClusterStackUninstallRequestAsync, options?: IRepoOptions): Promise<SingleResult<Contracts.WorkUnitAck>>;
|
|
882
886
|
/** Authenticates with the given cloud service provider using the given credentials or, if none provided, using the credentials cached for the given csp. */
|
|
@@ -5416,6 +5416,14 @@ class OtherOperations {
|
|
|
5416
5416
|
return yield this.core.request("post.execute-asset-deploy", request, options);
|
|
5417
5417
|
});
|
|
5418
5418
|
}
|
|
5419
|
+
/** Idempotent, re-attemptable provisioning of an AI agent onto a cabinet. Returns the full
|
|
5420
|
+
* rich result synchronously (NOT a WorkUnitAck) — on `needs_action`, re-call with `inputs`
|
|
5421
|
+
* populated from the returned `nextAction.resolvedBy` until `ok` or `failed`. */
|
|
5422
|
+
aiAgentProvision(request, options) {
|
|
5423
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
5424
|
+
return yield this.core.request("post.ai-agent-provision", request, options);
|
|
5425
|
+
});
|
|
5426
|
+
}
|
|
5419
5427
|
clusterStackInstall(request, options) {
|
|
5420
5428
|
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
5421
5429
|
return yield this.core.request("post.execute-cluster-stack-install", request, options);
|