@codiac.io/codiac-cli 1.3.238 → 1.3.239

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.
@@ -877,10 +877,11 @@ 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
+ /** Idempotent, re-attemptable provisioning of an AI agent onto a cabinet. ASYNC (ack-then-stream,
881
+ * like clusterStackInstall): returns a WorkUnitAck immediately; the rich result `ok`,
882
+ * `needs_action` (re-trigger with `inputs` from `nextAction.resolvedBy`), or `failed` arrives
883
+ * as the terminal `operationStatus` event's `resultPayload`. Drive it via LrpWatcher.triggerAndWatch. */
884
+ aiAgentProvision(request: Contracts.AiAgentProvisionRequest, options?: IRepoOptions): Promise<SingleResult<Contracts.WorkUnitAck>>;
884
885
  clusterStackInstall(request: Contracts.ClusterStackInstallRequestAsync, options?: IRepoOptions): Promise<SingleResult<Contracts.WorkUnitAck>>;
885
886
  clusterStackUninstall(request: Contracts.ClusterStackUninstallRequestAsync, options?: IRepoOptions): Promise<SingleResult<Contracts.WorkUnitAck>>;
886
887
  /** Authenticates with the given cloud service provider using the given credentials or, if none provided, using the credentials cached for the given csp. */
@@ -5416,9 +5416,10 @@ 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`. */
5419
+ /** Idempotent, re-attemptable provisioning of an AI agent onto a cabinet. ASYNC (ack-then-stream,
5420
+ * like clusterStackInstall): returns a WorkUnitAck immediately; the rich result `ok`,
5421
+ * `needs_action` (re-trigger with `inputs` from `nextAction.resolvedBy`), or `failed` arrives
5422
+ * as the terminal `operationStatus` event's `resultPayload`. Drive it via LrpWatcher.triggerAndWatch. */
5422
5423
  aiAgentProvision(request, options) {
5423
5424
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
5424
5425
  return yield this.core.request("post.ai-agent-provision", request, options);