@adea-ai/sdk 2.1.0 → 3.0.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/client.d.ts +2 -1
- package/dist/client.js +3 -0
- package/dist/operations.d.ts +15 -1
- package/dist/operations.js +15 -1
- package/openapi/control-plane.v3.json +1513 -502
- package/package.json +3 -3
package/dist/client.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { PiDurableLeadPrepareRequest, PiDurableLeadPrepareResponse, PiDurableLeadLookupRequest, PiDurableLeadLookupResponse, PiDurableLeadDispatchRequest, PiDurableLeadDispatchResponse, PiDurableLeadStatusRequest, PiDurableLeadStatusResponse, PiDurableLeadChildrenRequest, PiDurableLeadChildrenResponse, PiDurableLeadChildTargetRequest, PiDurableLeadChildTargetResponse, PiDurableLeadProgressRequest, PiDurableLeadProgressResponse, PiDurableLeadCancelRequest, PiDurableLeadChildCancelRequest, PiDurableLeadChildCancelResponse, PiDurableLeadCancelResponse } from '@adea-ai/runtime-sdk';
|
|
1
|
+
import type { PiDurableLeadPrepareRequest, PiDurableLeadPrepareResponse, PiDurableLeadLookupRequest, PiDurableLeadLookupResponse, PiDurableLeadDispatchRequest, PiDurableLeadDispatchResponse, PiDurableLeadStatusRequest, PiDurableLeadStatusResponse, PiDurableLeadChildrenRequest, PiDurableLeadChildrenResponse, PiDurableLeadChildTargetRequest, PiDurableLeadChildTargetResponse, PiDurableLeadProgressRequest, PiDurableLeadProgressResponse, PiDurableLeadCancelRequest, PiDurableLeadChildCancelRequest, PiDurableLeadChildCancelResponse, PiDurableLeadQuestionAnswerRequest, PiDurableLeadQuestionAnswerResponse, PiDurableLeadCancelResponse } from '@adea-ai/runtime-sdk';
|
|
2
2
|
import type { PiLeadPublicationRequest, PiLeadPublicationResponse, PiChildPublicationRequest, PiChildPublicationResponse, ModelSelectionFundingRequest, ModelSelectionFundingResponse, ModelConnectionCreateRequest, ModelConnectionListRequest, ModelConnectionListResponse, ModelConnectionResponse, ModelConnectionRevokeRequest, ModelDefaultsGetRequest, ModelDefaultsResponse, ModelDefaultsSetRequest, ModelSelectionResolveRequest, ModelSelectionResponse } from '@adea-ai/contracts';
|
|
3
3
|
import { type CredentialCreateRequest, type CredentialGetRequest, type CredentialListRequest, type CredentialListResponse, type CredentialResponse, type CredentialRevokeRequest, type CredentialRotateRequest, type ExecutionCancellationCommand, type ExecutionCancellationCommandResult, type InteractionResponseCommand, type InteractionResponseCommandResult, type ModelReadinessReason, type ContextPackageResolutionRequest, type ContextPackageResolutionResponse, type ErrorClass, type ExecutionAcceptanceRequest, type ExecutionAcceptanceResponse, type ExecutionRequestValidationRequest, type ExecutionRequestValidationResponse, type ProfileResolutionRequest, type ProfileResolutionResponse, type ProjectStateInitializationRequest, type ProjectStateInitializationResponse, type ProjectStateResolutionRequest, type ProjectStateResolutionResponse, type RuntimeListRequest, type RuntimeListResponse, type ServiceAuthenticationRequest, type ServiceAuthenticationResponse, type ExternalSessionGetRequest, type ExternalSessionGetResponse, type ExternalSessionListRequest, type ExternalSessionListResponse, type RuntimeConnectionGetRequest, type RuntimeConnectionGetResponse, type RuntimeConnectionListRequest, type RuntimeConnectionListResponse, type MarketplaceCatalogRequest, type MarketplaceCatalogResponse, type MarketplaceInstallPlanRequest, type MarketplaceInstallPlanResponse, type MarketplaceInstallRequest, type MarketplaceInstallResponse, type MarketplaceInstallationGetRequest, type MarketplaceInstallationGetResponse, type MarketplaceInstallationUninstallRequest, type MarketplaceInstallationUninstallResponse, type WorkspaceSkillListRequest, type WorkspaceSkillListResponse, type WorkspaceSkillGetRequest, type WorkspaceSkillGetResponse, type WorkspaceSkillPublishRequest, type WorkspaceSkillPublishResponse, type WorkspaceSkillDeprecationRequest, type WorkspaceSkillRevocationRequest, type WorkspaceSkillLifecycleResponse, type WorkspaceAgentProfileListRequest, type WorkspaceAgentProfileListResponse, type WorkspaceAgentProfileGetRequest, type WorkspaceAgentProfileGetResponse, type WorkspaceAgentProfilePublishRequest, type WorkspaceAgentProfilePublishResponse, type WorkspaceAgentProfileDeprecationRequest, type WorkspaceAgentProfileRevocationRequest, type WorkspaceAgentProfileLifecycleResponse } from '@adea-ai/contracts';
|
|
4
4
|
type FetchImplementation = (input: string | URL | globalThis.Request, init?: RequestInit) => Promise<Response>;
|
|
@@ -91,6 +91,7 @@ export declare class ControlPlaneClient {
|
|
|
91
91
|
getPiDurableLeadChildren(input: PiDurableLeadChildrenRequest): Promise<PiDurableLeadChildrenResponse>;
|
|
92
92
|
getPiDurableLeadChildTarget(input: PiDurableLeadChildTargetRequest): Promise<PiDurableLeadChildTargetResponse>;
|
|
93
93
|
cancelPiDurableLead(input: PiDurableLeadCancelRequest): Promise<PiDurableLeadCancelResponse>;
|
|
94
|
+
answerPiDurableLeadQuestion(input: PiDurableLeadQuestionAnswerRequest): Promise<PiDurableLeadQuestionAnswerResponse>;
|
|
94
95
|
cancelPiDurableLeadChild(input: PiDurableLeadChildCancelRequest): Promise<PiDurableLeadChildCancelResponse>;
|
|
95
96
|
}
|
|
96
97
|
export {};
|
package/dist/client.js
CHANGED
|
@@ -219,6 +219,9 @@ export class ControlPlaneClient {
|
|
|
219
219
|
cancelPiDurableLead(input) {
|
|
220
220
|
return this.#request(ControlApiOperations.cancelPiDurableLead, input);
|
|
221
221
|
}
|
|
222
|
+
answerPiDurableLeadQuestion(input) {
|
|
223
|
+
return this.#request(ControlApiOperations.answerPiDurableLeadQuestion, input);
|
|
224
|
+
}
|
|
222
225
|
cancelPiDurableLeadChild(input) {
|
|
223
226
|
return this.#request(ControlApiOperations.cancelPiDurableLeadChild, input);
|
|
224
227
|
}
|
package/dist/operations.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PiDurableLeadPrepareRequestSchema, PiDurableLeadPrepareResponseSchema, PiDurableLeadLookupRequestSchema, PiDurableLeadLookupResponseSchema, PiDurableLeadDispatchRequestSchema, PiDurableLeadDispatchResponseSchema, PiDurableLeadStatusRequestSchema, PiDurableLeadStatusResponseSchema, PiDurableLeadChildrenRequestSchema, PiDurableLeadChildrenResponseSchema, PiDurableLeadChildTargetRequestSchema, PiDurableLeadChildTargetResponseSchema, PiDurableLeadProgressRequestSchema, PiDurableLeadProgressResponseSchema, PiDurableLeadCancelRequestSchema, PiDurableLeadChildCancelRequestSchema, PiDurableLeadChildCancelResponseSchema, PiDurableLeadCancelResponseSchema } from '@adea-ai/runtime-sdk';
|
|
1
|
+
import { PiDurableLeadPrepareRequestSchema, PiDurableLeadPrepareResponseSchema, PiDurableLeadLookupRequestSchema, PiDurableLeadLookupResponseSchema, PiDurableLeadDispatchRequestSchema, PiDurableLeadDispatchResponseSchema, PiDurableLeadStatusRequestSchema, PiDurableLeadStatusResponseSchema, PiDurableLeadChildrenRequestSchema, PiDurableLeadChildrenResponseSchema, PiDurableLeadChildTargetRequestSchema, PiDurableLeadChildTargetResponseSchema, PiDurableLeadProgressRequestSchema, PiDurableLeadEventsRequestSchema, PiDurableLeadEventsResponseSchema, PiDurableLeadProgressResponseSchema, PiDurableLeadCancelRequestSchema, PiDurableLeadChildCancelRequestSchema, PiDurableLeadQuestionAnswerRequestSchema, PiDurableLeadQuestionAnswerResponseSchema, PiDurableLeadChildCancelResponseSchema, PiDurableLeadCancelResponseSchema } from '@adea-ai/runtime-sdk';
|
|
2
2
|
import { PiLeadPublicationRequestSchema, PiLeadPublicationResponseSchema, PiChildPublicationRequestSchema, PiChildPublicationResponseSchema, ModelSelectionFundingRequestSchema, ModelSelectionFundingResponseSchema, ModelConnectionCreateRequestSchema, ModelConnectionListRequestSchema, ModelConnectionListResponseSchema, ModelConnectionResponseSchema, ModelConnectionRevokeRequestSchema, ModelDefaultsGetRequestSchema, ModelDefaultsResponseSchema, ModelDefaultsSetRequestSchema, ModelSelectionResolveRequestSchema, ModelSelectionResponseSchema } from '@adea-ai/contracts';
|
|
3
3
|
import { CredentialCreateRequestSchema, CredentialGetRequestSchema, CredentialListRequestSchema, CredentialListResponseSchema, CredentialResponseSchema, CredentialRevokeRequestSchema, CredentialRotateRequestSchema, RuntimeNodeCredentialRevocationResponseSchema, RuntimeNodeCredentialRevokeRequestSchema, ExecutionCancellationCommandSchema, ExecutionCancellationCommandResultSchema, InteractionResponseCommandSchema, InteractionResponseCommandResultSchema, ContextPackageResolutionRequestSchema, ContextPackageResolutionResponseSchema, ExecutionAcceptanceRequestSchema, ExecutionAcceptanceResponseSchema, ExecutionRequestValidationRequestSchema, ExecutionRequestValidationResponseSchema, ProfileResolutionRequestSchema, ProfileResolutionResponseSchema, ProjectStateInitializationRequestSchema, ProjectStateInitializationResponseSchema, ProjectStateResolutionRequestSchema, ProjectStateResolutionResponseSchema, RuntimeListRequestSchema, RuntimeListResponseSchema, ServiceAuthenticationRequestSchema, ServiceAuthenticationResponseSchema, ExternalSessionGetRequestSchema, ExternalSessionGetResponseSchema, ExternalSessionListRequestSchema, ExternalSessionListResponseSchema, RuntimeConnectionGetRequestSchema, RuntimeConnectionGetResponseSchema, RuntimeConnectionListRequestSchema, RuntimeConnectionListResponseSchema, MarketplaceCatalogRequestSchema, MarketplaceCatalogResponseSchema, MarketplaceInstallPlanRequestSchema, MarketplaceInstallPlanResponseSchema, MarketplaceInstallRequestSchema, MarketplaceInstallResponseSchema, MarketplaceInstallationGetRequestSchema, MarketplaceInstallationGetResponseSchema, MarketplaceInstallationUninstallRequestSchema, MarketplaceInstallationUninstallResponseSchema, WorkspaceAgentProfileDeprecationRequestSchema, WorkspaceAgentProfileGetRequestSchema, WorkspaceAgentProfileGetResponseSchema, WorkspaceAgentProfileLifecycleResponseSchema, WorkspaceAgentProfileListRequestSchema, WorkspaceAgentProfileListResponseSchema, WorkspaceAgentProfilePublishRequestSchema, WorkspaceAgentProfilePublishResponseSchema, WorkspaceAgentProfileRevocationRequestSchema, WorkspaceSkillDeprecationRequestSchema, WorkspaceSkillGetRequestSchema, WorkspaceSkillGetResponseSchema, WorkspaceSkillLifecycleResponseSchema, WorkspaceSkillListRequestSchema, WorkspaceSkillListResponseSchema, WorkspaceSkillPublishRequestSchema, WorkspaceSkillPublishResponseSchema, WorkspaceSkillRevocationRequestSchema } from '@adea-ai/contracts';
|
|
4
4
|
export declare const ControlApiOperations: Readonly<{
|
|
@@ -348,6 +348,13 @@ export declare const ControlApiOperations: Readonly<{
|
|
|
348
348
|
readonly requestSchema: typeof PiDurableLeadProgressRequestSchema;
|
|
349
349
|
readonly responseSchema: typeof PiDurableLeadProgressResponseSchema;
|
|
350
350
|
};
|
|
351
|
+
readonly getPiDurableLeadEvents: {
|
|
352
|
+
readonly operation: 'pi-durable.lead.events';
|
|
353
|
+
readonly method: 'POST';
|
|
354
|
+
readonly path: '/v3/pi-durable/lead-dispatches/events';
|
|
355
|
+
readonly requestSchema: typeof PiDurableLeadEventsRequestSchema;
|
|
356
|
+
readonly responseSchema: typeof PiDurableLeadEventsResponseSchema;
|
|
357
|
+
};
|
|
351
358
|
readonly getPiDurableLeadChildren: {
|
|
352
359
|
readonly operation: 'pi-durable.lead.children';
|
|
353
360
|
readonly method: 'POST';
|
|
@@ -370,6 +377,13 @@ export declare const ControlApiOperations: Readonly<{
|
|
|
370
377
|
readonly responseSchema: typeof PiDurableLeadCancelResponseSchema;
|
|
371
378
|
readonly responseStatus: 202;
|
|
372
379
|
};
|
|
380
|
+
readonly answerPiDurableLeadQuestion: {
|
|
381
|
+
readonly operation: 'pi-durable.lead.question-answer';
|
|
382
|
+
readonly method: 'POST';
|
|
383
|
+
readonly path: '/v3/pi-durable/lead-dispatches/questions/answer';
|
|
384
|
+
readonly requestSchema: typeof PiDurableLeadQuestionAnswerRequestSchema;
|
|
385
|
+
readonly responseSchema: typeof PiDurableLeadQuestionAnswerResponseSchema;
|
|
386
|
+
};
|
|
373
387
|
readonly cancelPiDurableLeadChild: {
|
|
374
388
|
readonly operation: 'pi-durable.lead.child-cancel';
|
|
375
389
|
readonly method: 'POST';
|
package/dist/operations.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PiDurableLeadPrepareRequestSchema, PiDurableLeadPrepareResponseSchema, PiDurableLeadLookupRequestSchema, PiDurableLeadLookupResponseSchema, PiDurableLeadDispatchRequestSchema, PiDurableLeadDispatchResponseSchema, PiDurableLeadStatusRequestSchema, PiDurableLeadStatusResponseSchema, PiDurableLeadChildrenRequestSchema, PiDurableLeadChildrenResponseSchema, PiDurableLeadChildTargetRequestSchema, PiDurableLeadChildTargetResponseSchema, PiDurableLeadProgressRequestSchema, PiDurableLeadProgressResponseSchema, PiDurableLeadCancelRequestSchema, PiDurableLeadChildCancelRequestSchema, PiDurableLeadChildCancelResponseSchema, PiDurableLeadCancelResponseSchema, } from '@adea-ai/runtime-sdk';
|
|
1
|
+
import { PiDurableLeadPrepareRequestSchema, PiDurableLeadPrepareResponseSchema, PiDurableLeadLookupRequestSchema, PiDurableLeadLookupResponseSchema, PiDurableLeadDispatchRequestSchema, PiDurableLeadDispatchResponseSchema, PiDurableLeadStatusRequestSchema, PiDurableLeadStatusResponseSchema, PiDurableLeadChildrenRequestSchema, PiDurableLeadChildrenResponseSchema, PiDurableLeadChildTargetRequestSchema, PiDurableLeadChildTargetResponseSchema, PiDurableLeadProgressRequestSchema, PiDurableLeadEventsRequestSchema, PiDurableLeadEventsResponseSchema, PiDurableLeadProgressResponseSchema, PiDurableLeadCancelRequestSchema, PiDurableLeadChildCancelRequestSchema, PiDurableLeadQuestionAnswerRequestSchema, PiDurableLeadQuestionAnswerResponseSchema, PiDurableLeadChildCancelResponseSchema, PiDurableLeadCancelResponseSchema, } from '@adea-ai/runtime-sdk';
|
|
2
2
|
import { PiLeadPublicationRequestSchema, PiLeadPublicationResponseSchema, PiChildPublicationRequestSchema, PiChildPublicationResponseSchema, ModelSelectionFundingRequestSchema, ModelSelectionFundingResponseSchema, ModelConnectionCreateRequestSchema, ModelConnectionListRequestSchema, ModelConnectionListResponseSchema, ModelConnectionResponseSchema, ModelConnectionRevokeRequestSchema, ModelDefaultsGetRequestSchema, ModelDefaultsResponseSchema, ModelDefaultsSetRequestSchema, ModelSelectionResolveRequestSchema, ModelSelectionResponseSchema, } from '@adea-ai/contracts';
|
|
3
3
|
import { CredentialCreateRequestSchema, CredentialGetRequestSchema, CredentialListRequestSchema, CredentialListResponseSchema, CredentialResponseSchema, CredentialRevokeRequestSchema, CredentialRotateRequestSchema, RuntimeNodeCredentialRevocationResponseSchema, RuntimeNodeCredentialRevokeRequestSchema, ExecutionCancellationCommandSchema, ExecutionCancellationCommandResultSchema, InteractionResponseCommandSchema, InteractionResponseCommandResultSchema, ContextPackageResolutionRequestSchema, ContextPackageResolutionResponseSchema, ExecutionAcceptanceRequestSchema, ExecutionAcceptanceResponseSchema, ExecutionRequestValidationRequestSchema, ExecutionRequestValidationResponseSchema, ProfileResolutionRequestSchema, ProfileResolutionResponseSchema, ProjectStateInitializationRequestSchema, ProjectStateInitializationResponseSchema, ProjectStateResolutionRequestSchema, ProjectStateResolutionResponseSchema, RuntimeListRequestSchema, RuntimeListResponseSchema, ServiceAuthenticationRequestSchema, ServiceAuthenticationResponseSchema, ExternalSessionGetRequestSchema, ExternalSessionGetResponseSchema, ExternalSessionListRequestSchema, ExternalSessionListResponseSchema, RuntimeConnectionGetRequestSchema, RuntimeConnectionGetResponseSchema, RuntimeConnectionListRequestSchema, RuntimeConnectionListResponseSchema, MarketplaceCatalogRequestSchema, MarketplaceCatalogResponseSchema, MarketplaceInstallPlanRequestSchema, MarketplaceInstallPlanResponseSchema, MarketplaceInstallRequestSchema, MarketplaceInstallResponseSchema, MarketplaceInstallationGetRequestSchema, MarketplaceInstallationGetResponseSchema, MarketplaceInstallationUninstallRequestSchema, MarketplaceInstallationUninstallResponseSchema, WorkspaceAgentProfileDeprecationRequestSchema, WorkspaceAgentProfileGetRequestSchema, WorkspaceAgentProfileGetResponseSchema, WorkspaceAgentProfileLifecycleResponseSchema, WorkspaceAgentProfileListRequestSchema, WorkspaceAgentProfileListResponseSchema, WorkspaceAgentProfilePublishRequestSchema, WorkspaceAgentProfilePublishResponseSchema, WorkspaceAgentProfileRevocationRequestSchema, WorkspaceSkillDeprecationRequestSchema, WorkspaceSkillGetRequestSchema, WorkspaceSkillGetResponseSchema, WorkspaceSkillLifecycleResponseSchema, WorkspaceSkillListRequestSchema, WorkspaceSkillListResponseSchema, WorkspaceSkillPublishRequestSchema, WorkspaceSkillPublishResponseSchema, WorkspaceSkillRevocationRequestSchema, } from '@adea-ai/contracts';
|
|
4
4
|
export const ControlApiOperations = Object.freeze({
|
|
@@ -348,6 +348,13 @@ export const ControlApiOperations = Object.freeze({
|
|
|
348
348
|
requestSchema: PiDurableLeadProgressRequestSchema,
|
|
349
349
|
responseSchema: PiDurableLeadProgressResponseSchema,
|
|
350
350
|
},
|
|
351
|
+
getPiDurableLeadEvents: {
|
|
352
|
+
operation: 'pi-durable.lead.events',
|
|
353
|
+
method: 'POST',
|
|
354
|
+
path: '/v3/pi-durable/lead-dispatches/events',
|
|
355
|
+
requestSchema: PiDurableLeadEventsRequestSchema,
|
|
356
|
+
responseSchema: PiDurableLeadEventsResponseSchema,
|
|
357
|
+
},
|
|
351
358
|
getPiDurableLeadChildren: {
|
|
352
359
|
operation: 'pi-durable.lead.children',
|
|
353
360
|
method: 'POST',
|
|
@@ -370,6 +377,13 @@ export const ControlApiOperations = Object.freeze({
|
|
|
370
377
|
responseSchema: PiDurableLeadCancelResponseSchema,
|
|
371
378
|
responseStatus: 202,
|
|
372
379
|
},
|
|
380
|
+
answerPiDurableLeadQuestion: {
|
|
381
|
+
operation: 'pi-durable.lead.question-answer',
|
|
382
|
+
method: 'POST',
|
|
383
|
+
path: '/v3/pi-durable/lead-dispatches/questions/answer',
|
|
384
|
+
requestSchema: PiDurableLeadQuestionAnswerRequestSchema,
|
|
385
|
+
responseSchema: PiDurableLeadQuestionAnswerResponseSchema,
|
|
386
|
+
},
|
|
373
387
|
cancelPiDurableLeadChild: {
|
|
374
388
|
operation: 'pi-durable.lead.child-cancel',
|
|
375
389
|
method: 'POST',
|