asteroid-odyssey 1.1.2 → 1.2.3
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/generated/agents/sdk.gen.d.ts +29 -1
- package/dist/generated/agents/sdk.gen.js +95 -1
- package/dist/generated/agents/types.gen.d.ts +301 -1
- package/dist/index.d.ts +68 -1
- package/dist/index.js +118 -2
- package/package.json +6 -7
- package/dist/AgentsSDK.d.ts +0 -70
- package/dist/AgentsSDK.js +0 -102
- package/dist/Asteroid.d.ts +0 -70
- package/dist/Asteroid.js +0 -102
- package/dist/examples/index.d.ts +0 -1
- package/dist/examples/index.js +0 -33
- package/dist/generated/agents/core/ApiError.d.ts +0 -10
- package/dist/generated/agents/core/ApiError.js +0 -20
- package/dist/generated/agents/core/ApiRequestOptions.d.ts +0 -13
- package/dist/generated/agents/core/ApiRequestOptions.js +0 -2
- package/dist/generated/agents/core/ApiResult.d.ts +0 -7
- package/dist/generated/agents/core/ApiResult.js +0 -2
- package/dist/generated/agents/core/CancelablePromise.d.ts +0 -20
- package/dist/generated/agents/core/CancelablePromise.js +0 -104
- package/dist/generated/agents/core/OpenAPI.d.ts +0 -16
- package/dist/generated/agents/core/OpenAPI.js +0 -14
- package/dist/generated/agents/core/request.d.ts +0 -30
- package/dist/generated/agents/core/request.js +0 -294
- package/dist/generated/agents/models/Agent.d.ts +0 -22
- package/dist/generated/agents/models/Agent.js +0 -2
- package/dist/generated/agents/models/CreateWorkflowRequest.d.ts +0 -27
- package/dist/generated/agents/models/CreateWorkflowRequest.js +0 -14
- package/dist/generated/agents/models/Execution.d.ts +0 -18
- package/dist/generated/agents/models/Execution.js +0 -2
- package/dist/generated/agents/models/OptimisationRequest.d.ts +0 -6
- package/dist/generated/agents/models/OptimisationRequest.js +0 -2
- package/dist/generated/agents/models/Workflow.d.ts +0 -30
- package/dist/generated/agents/models/Workflow.js +0 -2
- package/dist/generated/agents/models/WorkflowExecution.d.ts +0 -6
- package/dist/generated/agents/models/WorkflowExecution.js +0 -2
- package/dist/generated/agents/models/WorkflowExecutionRequest.d.ts +0 -4
- package/dist/generated/agents/models/WorkflowExecutionRequest.js +0 -2
- package/dist/generated/agents/services/AgentService.d.ts +0 -10
- package/dist/generated/agents/services/AgentService.js +0 -19
- package/dist/generated/agents/services/ApiService.d.ts +0 -9
- package/dist/generated/agents/services/ApiService.js +0 -19
- package/dist/generated/agents/services/DefaultService.d.ts +0 -23
- package/dist/generated/agents/services/DefaultService.js +0 -43
- package/dist/generated/agents/services/OptimiserService.d.ts +0 -11
- package/dist/generated/agents/services/OptimiserService.js +0 -22
- package/dist/generated/agents/services/WorkflowService.d.ts +0 -20
- package/dist/generated/agents/services/WorkflowService.js +0 -44
- package/dist/generated/platform/core/ApiError.d.ts +0 -10
- package/dist/generated/platform/core/ApiError.js +0 -20
- package/dist/generated/platform/core/ApiRequestOptions.d.ts +0 -13
- package/dist/generated/platform/core/ApiRequestOptions.js +0 -2
- package/dist/generated/platform/core/ApiResult.d.ts +0 -7
- package/dist/generated/platform/core/ApiResult.js +0 -2
- package/dist/generated/platform/core/CancelablePromise.d.ts +0 -20
- package/dist/generated/platform/core/CancelablePromise.js +0 -104
- package/dist/generated/platform/core/OpenAPI.d.ts +0 -16
- package/dist/generated/platform/core/OpenAPI.js +0 -14
- package/dist/generated/platform/core/request.d.ts +0 -30
- package/dist/generated/platform/core/request.js +0 -294
- package/dist/generated/platform/index.d.ts +0 -57
- package/dist/generated/platform/index.js +0 -58
- package/dist/generated/platform/models/APIKey.d.ts +0 -9
- package/dist/generated/platform/models/APIKey.js +0 -2
- package/dist/generated/platform/models/AgentReport.d.ts +0 -45
- package/dist/generated/platform/models/AgentReport.js +0 -2
- package/dist/generated/platform/models/AsteroidChat.d.ts +0 -9
- package/dist/generated/platform/models/AsteroidChat.js +0 -2
- package/dist/generated/platform/models/AsteroidChoice.d.ts +0 -16
- package/dist/generated/platform/models/AsteroidChoice.js +0 -14
- package/dist/generated/platform/models/AsteroidMessage.d.ts +0 -27
- package/dist/generated/platform/models/AsteroidMessage.js +0 -15
- package/dist/generated/platform/models/AsteroidToolCall.d.ts +0 -11
- package/dist/generated/platform/models/AsteroidToolCall.js +0 -2
- package/dist/generated/platform/models/ChainExecution.d.ts +0 -6
- package/dist/generated/platform/models/ChainExecution.js +0 -2
- package/dist/generated/platform/models/ChainExecutionState.d.ts +0 -8
- package/dist/generated/platform/models/ChainExecutionState.js +0 -2
- package/dist/generated/platform/models/ChainRequest.d.ts +0 -6
- package/dist/generated/platform/models/ChainRequest.js +0 -2
- package/dist/generated/platform/models/ChatFormat.d.ts +0 -5
- package/dist/generated/platform/models/ChatFormat.js +0 -13
- package/dist/generated/platform/models/ChatIds.d.ts +0 -5
- package/dist/generated/platform/models/ChatIds.js +0 -2
- package/dist/generated/platform/models/ChoiceIds.d.ts +0 -6
- package/dist/generated/platform/models/ChoiceIds.js +0 -2
- package/dist/generated/platform/models/Decision.d.ts +0 -7
- package/dist/generated/platform/models/Decision.js +0 -15
- package/dist/generated/platform/models/ErrorResponse.d.ts +0 -4
- package/dist/generated/platform/models/ErrorResponse.js +0 -2
- package/dist/generated/platform/models/FailureCategory.d.ts +0 -12
- package/dist/generated/platform/models/FailureCategory.js +0 -20
- package/dist/generated/platform/models/FailureReport.d.ts +0 -33
- package/dist/generated/platform/models/FailureReport.js +0 -13
- package/dist/generated/platform/models/Feedback.d.ts +0 -13
- package/dist/generated/platform/models/Feedback.js +0 -2
- package/dist/generated/platform/models/FeedbackRequest.d.ts +0 -6
- package/dist/generated/platform/models/FeedbackRequest.js +0 -2
- package/dist/generated/platform/models/FileURL.d.ts +0 -4
- package/dist/generated/platform/models/FileURL.js +0 -2
- package/dist/generated/platform/models/HubStats.d.ts +0 -10
- package/dist/generated/platform/models/HubStats.js +0 -2
- package/dist/generated/platform/models/MessageRole.d.ts +0 -5
- package/dist/generated/platform/models/MessageRole.js +0 -13
- package/dist/generated/platform/models/MessageType.d.ts +0 -6
- package/dist/generated/platform/models/MessageType.js +0 -14
- package/dist/generated/platform/models/Permission.d.ts +0 -5
- package/dist/generated/platform/models/Permission.js +0 -13
- package/dist/generated/platform/models/Project.d.ts +0 -8
- package/dist/generated/platform/models/Project.js +0 -2
- package/dist/generated/platform/models/ReviewPayload.d.ts +0 -29
- package/dist/generated/platform/models/ReviewPayload.js +0 -2
- package/dist/generated/platform/models/Run.d.ts +0 -9
- package/dist/generated/platform/models/Run.js +0 -2
- package/dist/generated/platform/models/RunExecution.d.ts +0 -8
- package/dist/generated/platform/models/RunExecution.js +0 -2
- package/dist/generated/platform/models/RunState.d.ts +0 -2
- package/dist/generated/platform/models/RunState.js +0 -2
- package/dist/generated/platform/models/Status.d.ts +0 -8
- package/dist/generated/platform/models/Status.js +0 -16
- package/dist/generated/platform/models/SupervisionRequest.d.ts +0 -9
- package/dist/generated/platform/models/SupervisionRequest.js +0 -2
- package/dist/generated/platform/models/SupervisionRequestState.d.ts +0 -8
- package/dist/generated/platform/models/SupervisionRequestState.js +0 -2
- package/dist/generated/platform/models/SupervisionResult.d.ts +0 -9
- package/dist/generated/platform/models/SupervisionResult.js +0 -2
- package/dist/generated/platform/models/SupervisionStatus.d.ts +0 -7
- package/dist/generated/platform/models/SupervisionStatus.js +0 -2
- package/dist/generated/platform/models/Supervisor.d.ts +0 -10
- package/dist/generated/platform/models/Supervisor.js +0 -2
- package/dist/generated/platform/models/SupervisorChain.d.ts +0 -5
- package/dist/generated/platform/models/SupervisorChain.js +0 -2
- package/dist/generated/platform/models/SupervisorStats.d.ts +0 -21
- package/dist/generated/platform/models/SupervisorStats.js +0 -2
- package/dist/generated/platform/models/SupervisorType.d.ts +0 -8
- package/dist/generated/platform/models/SupervisorType.js +0 -16
- package/dist/generated/platform/models/Task.d.ts +0 -7
- package/dist/generated/platform/models/Task.js +0 -2
- package/dist/generated/platform/models/Tool.d.ts +0 -9
- package/dist/generated/platform/models/Tool.js +0 -2
- package/dist/generated/platform/models/ToolCallIds.d.ts +0 -4
- package/dist/generated/platform/models/ToolCallIds.js +0 -2
- package/dist/generated/platform/models/ToolSupervisionResult.d.ts +0 -36
- package/dist/generated/platform/models/ToolSupervisionResult.js +0 -2
- package/dist/generated/platform/models/User.d.ts +0 -4
- package/dist/generated/platform/models/User.js +0 -2
- package/dist/generated/platform/services/ApiKeyService.d.ts +0 -33
- package/dist/generated/platform/services/ApiKeyService.js +0 -64
- package/dist/generated/platform/services/ApiService.d.ts +0 -9
- package/dist/generated/platform/services/ApiService.js +0 -19
- package/dist/generated/platform/services/ImproveService.d.ts +0 -20
- package/dist/generated/platform/services/ImproveService.js +0 -47
- package/dist/generated/platform/services/ProjectService.d.ts +0 -34
- package/dist/generated/platform/services/ProjectService.js +0 -72
- package/dist/generated/platform/services/RunService.d.ts +0 -121
- package/dist/generated/platform/services/RunService.js +0 -260
- package/dist/generated/platform/services/StatsService.d.ts +0 -10
- package/dist/generated/platform/services/StatsService.js +0 -22
- package/dist/generated/platform/services/SupervisionService.d.ts +0 -46
- package/dist/generated/platform/services/SupervisionService.js +0 -100
- package/dist/generated/platform/services/SupervisorService.d.ts +0 -43
- package/dist/generated/platform/services/SupervisorService.js +0 -92
- package/dist/generated/platform/services/TaskService.d.ts +0 -29
- package/dist/generated/platform/services/TaskService.js +0 -59
- package/dist/generated/platform/services/ToolCallService.d.ts +0 -42
- package/dist/generated/platform/services/ToolCallService.js +0 -92
- package/dist/generated/platform/services/ToolService.d.ts +0 -47
- package/dist/generated/platform/services/ToolService.js +0 -92
- package/dist/src/generated/agents/core/ApiError.d.ts +0 -10
- package/dist/src/generated/agents/core/ApiError.js +0 -20
- package/dist/src/generated/agents/core/ApiRequestOptions.d.ts +0 -13
- package/dist/src/generated/agents/core/ApiRequestOptions.js +0 -2
- package/dist/src/generated/agents/core/ApiResult.d.ts +0 -7
- package/dist/src/generated/agents/core/ApiResult.js +0 -2
- package/dist/src/generated/agents/core/CancelablePromise.d.ts +0 -20
- package/dist/src/generated/agents/core/CancelablePromise.js +0 -104
- package/dist/src/generated/agents/core/OpenAPI.d.ts +0 -16
- package/dist/src/generated/agents/core/OpenAPI.js +0 -14
- package/dist/src/generated/agents/core/request.d.ts +0 -30
- package/dist/src/generated/agents/core/request.js +0 -294
- package/dist/src/generated/agents/index.d.ts +0 -16
- package/dist/src/generated/agents/index.js +0 -24
- package/dist/src/generated/agents/models/Agent.d.ts +0 -22
- package/dist/src/generated/agents/models/Agent.js +0 -2
- package/dist/src/generated/agents/models/CreateWorkflowRequest.d.ts +0 -14
- package/dist/src/generated/agents/models/CreateWorkflowRequest.js +0 -2
- package/dist/src/generated/agents/models/Execution.d.ts +0 -18
- package/dist/src/generated/agents/models/Execution.js +0 -2
- package/dist/src/generated/agents/models/OptimisationRequest.d.ts +0 -6
- package/dist/src/generated/agents/models/OptimisationRequest.js +0 -2
- package/dist/src/generated/agents/models/Workflow.d.ts +0 -26
- package/dist/src/generated/agents/models/Workflow.js +0 -2
- package/dist/src/generated/agents/models/WorkflowExecution.d.ts +0 -6
- package/dist/src/generated/agents/models/WorkflowExecution.js +0 -2
- package/dist/src/generated/agents/models/WorkflowExecutionRequest.d.ts +0 -4
- package/dist/src/generated/agents/models/WorkflowExecutionRequest.js +0 -2
- package/dist/src/generated/agents/services/AgentService.d.ts +0 -10
- package/dist/src/generated/agents/services/AgentService.js +0 -19
- package/dist/src/generated/agents/services/ApiService.d.ts +0 -9
- package/dist/src/generated/agents/services/ApiService.js +0 -19
- package/dist/src/generated/agents/services/DefaultService.d.ts +0 -23
- package/dist/src/generated/agents/services/DefaultService.js +0 -43
- package/dist/src/generated/agents/services/OptimiserService.d.ts +0 -11
- package/dist/src/generated/agents/services/OptimiserService.js +0 -22
- package/dist/src/generated/agents/services/WorkflowService.d.ts +0 -19
- package/dist/src/generated/agents/services/WorkflowService.js +0 -40
- package/dist/src/generated/platform/core/ApiError.d.ts +0 -10
- package/dist/src/generated/platform/core/ApiError.js +0 -20
- package/dist/src/generated/platform/core/ApiRequestOptions.d.ts +0 -13
- package/dist/src/generated/platform/core/ApiRequestOptions.js +0 -2
- package/dist/src/generated/platform/core/ApiResult.d.ts +0 -7
- package/dist/src/generated/platform/core/ApiResult.js +0 -2
- package/dist/src/generated/platform/core/CancelablePromise.d.ts +0 -20
- package/dist/src/generated/platform/core/CancelablePromise.js +0 -104
- package/dist/src/generated/platform/core/OpenAPI.d.ts +0 -16
- package/dist/src/generated/platform/core/OpenAPI.js +0 -14
- package/dist/src/generated/platform/core/request.d.ts +0 -30
- package/dist/src/generated/platform/core/request.js +0 -294
- package/dist/src/generated/platform/index.d.ts +0 -56
- package/dist/src/generated/platform/index.js +0 -58
- package/dist/src/generated/platform/models/APIKey.d.ts +0 -9
- package/dist/src/generated/platform/models/APIKey.js +0 -2
- package/dist/src/generated/platform/models/AgentReport.d.ts +0 -45
- package/dist/src/generated/platform/models/AgentReport.js +0 -2
- package/dist/src/generated/platform/models/AsteroidChat.d.ts +0 -9
- package/dist/src/generated/platform/models/AsteroidChat.js +0 -2
- package/dist/src/generated/platform/models/AsteroidChoice.d.ts +0 -16
- package/dist/src/generated/platform/models/AsteroidChoice.js +0 -14
- package/dist/src/generated/platform/models/AsteroidMessage.d.ts +0 -27
- package/dist/src/generated/platform/models/AsteroidMessage.js +0 -15
- package/dist/src/generated/platform/models/AsteroidToolCall.d.ts +0 -11
- package/dist/src/generated/platform/models/AsteroidToolCall.js +0 -2
- package/dist/src/generated/platform/models/ChainExecution.d.ts +0 -6
- package/dist/src/generated/platform/models/ChainExecution.js +0 -2
- package/dist/src/generated/platform/models/ChainExecutionState.d.ts +0 -8
- package/dist/src/generated/platform/models/ChainExecutionState.js +0 -2
- package/dist/src/generated/platform/models/ChainRequest.d.ts +0 -6
- package/dist/src/generated/platform/models/ChainRequest.js +0 -2
- package/dist/src/generated/platform/models/ChatFormat.d.ts +0 -5
- package/dist/src/generated/platform/models/ChatFormat.js +0 -13
- package/dist/src/generated/platform/models/ChatIds.d.ts +0 -5
- package/dist/src/generated/platform/models/ChatIds.js +0 -2
- package/dist/src/generated/platform/models/ChoiceIds.d.ts +0 -6
- package/dist/src/generated/platform/models/ChoiceIds.js +0 -2
- package/dist/src/generated/platform/models/Decision.d.ts +0 -7
- package/dist/src/generated/platform/models/Decision.js +0 -15
- package/dist/src/generated/platform/models/ErrorResponse.d.ts +0 -4
- package/dist/src/generated/platform/models/ErrorResponse.js +0 -2
- package/dist/src/generated/platform/models/FailureCategory.d.ts +0 -12
- package/dist/src/generated/platform/models/FailureCategory.js +0 -20
- package/dist/src/generated/platform/models/FailureReport.d.ts +0 -33
- package/dist/src/generated/platform/models/FailureReport.js +0 -13
- package/dist/src/generated/platform/models/Feedback.d.ts +0 -13
- package/dist/src/generated/platform/models/Feedback.js +0 -2
- package/dist/src/generated/platform/models/FeedbackRequest.d.ts +0 -6
- package/dist/src/generated/platform/models/FeedbackRequest.js +0 -2
- package/dist/src/generated/platform/models/HubStats.d.ts +0 -10
- package/dist/src/generated/platform/models/HubStats.js +0 -2
- package/dist/src/generated/platform/models/MessageRole.d.ts +0 -5
- package/dist/src/generated/platform/models/MessageRole.js +0 -13
- package/dist/src/generated/platform/models/MessageType.d.ts +0 -6
- package/dist/src/generated/platform/models/MessageType.js +0 -14
- package/dist/src/generated/platform/models/Permission.d.ts +0 -5
- package/dist/src/generated/platform/models/Permission.js +0 -13
- package/dist/src/generated/platform/models/Project.d.ts +0 -8
- package/dist/src/generated/platform/models/Project.js +0 -2
- package/dist/src/generated/platform/models/ReviewPayload.d.ts +0 -29
- package/dist/src/generated/platform/models/ReviewPayload.js +0 -2
- package/dist/src/generated/platform/models/Run.d.ts +0 -9
- package/dist/src/generated/platform/models/Run.js +0 -2
- package/dist/src/generated/platform/models/RunExecution.d.ts +0 -8
- package/dist/src/generated/platform/models/RunExecution.js +0 -2
- package/dist/src/generated/platform/models/RunState.d.ts +0 -2
- package/dist/src/generated/platform/models/RunState.js +0 -2
- package/dist/src/generated/platform/models/Status.d.ts +0 -8
- package/dist/src/generated/platform/models/Status.js +0 -16
- package/dist/src/generated/platform/models/SupervisionRequest.d.ts +0 -9
- package/dist/src/generated/platform/models/SupervisionRequest.js +0 -2
- package/dist/src/generated/platform/models/SupervisionRequestState.d.ts +0 -8
- package/dist/src/generated/platform/models/SupervisionRequestState.js +0 -2
- package/dist/src/generated/platform/models/SupervisionResult.d.ts +0 -9
- package/dist/src/generated/platform/models/SupervisionResult.js +0 -2
- package/dist/src/generated/platform/models/SupervisionStatus.d.ts +0 -7
- package/dist/src/generated/platform/models/SupervisionStatus.js +0 -2
- package/dist/src/generated/platform/models/Supervisor.d.ts +0 -10
- package/dist/src/generated/platform/models/Supervisor.js +0 -2
- package/dist/src/generated/platform/models/SupervisorChain.d.ts +0 -5
- package/dist/src/generated/platform/models/SupervisorChain.js +0 -2
- package/dist/src/generated/platform/models/SupervisorStats.d.ts +0 -21
- package/dist/src/generated/platform/models/SupervisorStats.js +0 -2
- package/dist/src/generated/platform/models/SupervisorType.d.ts +0 -8
- package/dist/src/generated/platform/models/SupervisorType.js +0 -16
- package/dist/src/generated/platform/models/Task.d.ts +0 -7
- package/dist/src/generated/platform/models/Task.js +0 -2
- package/dist/src/generated/platform/models/Tool.d.ts +0 -9
- package/dist/src/generated/platform/models/Tool.js +0 -2
- package/dist/src/generated/platform/models/ToolCallIds.d.ts +0 -4
- package/dist/src/generated/platform/models/ToolCallIds.js +0 -2
- package/dist/src/generated/platform/models/ToolSupervisionResult.d.ts +0 -36
- package/dist/src/generated/platform/models/ToolSupervisionResult.js +0 -2
- package/dist/src/generated/platform/models/User.d.ts +0 -4
- package/dist/src/generated/platform/models/User.js +0 -2
- package/dist/src/generated/platform/services/ApiKeyService.d.ts +0 -33
- package/dist/src/generated/platform/services/ApiKeyService.js +0 -64
- package/dist/src/generated/platform/services/ApiService.d.ts +0 -9
- package/dist/src/generated/platform/services/ApiService.js +0 -19
- package/dist/src/generated/platform/services/ImproveService.d.ts +0 -20
- package/dist/src/generated/platform/services/ImproveService.js +0 -47
- package/dist/src/generated/platform/services/ProjectService.d.ts +0 -34
- package/dist/src/generated/platform/services/ProjectService.js +0 -72
- package/dist/src/generated/platform/services/RunService.d.ts +0 -103
- package/dist/src/generated/platform/services/RunService.js +0 -227
- package/dist/src/generated/platform/services/StatsService.d.ts +0 -10
- package/dist/src/generated/platform/services/StatsService.js +0 -22
- package/dist/src/generated/platform/services/SupervisionService.d.ts +0 -46
- package/dist/src/generated/platform/services/SupervisionService.js +0 -100
- package/dist/src/generated/platform/services/SupervisorService.d.ts +0 -43
- package/dist/src/generated/platform/services/SupervisorService.js +0 -92
- package/dist/src/generated/platform/services/TaskService.d.ts +0 -29
- package/dist/src/generated/platform/services/TaskService.js +0 -59
- package/dist/src/generated/platform/services/ToolCallService.d.ts +0 -42
- package/dist/src/generated/platform/services/ToolCallService.js +0 -92
- package/dist/src/generated/platform/services/ToolService.d.ts +0 -47
- package/dist/src/generated/platform/services/ToolService.js +0 -92
- package/dist/src/index.d.ts +0 -70
- package/dist/src/index.js +0 -102
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Status = void 0;
|
|
4
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
5
|
-
/* istanbul ignore file */
|
|
6
|
-
/* tslint:disable */
|
|
7
|
-
/* eslint-disable */
|
|
8
|
-
var Status;
|
|
9
|
-
(function (Status) {
|
|
10
|
-
Status["PENDING"] = "pending";
|
|
11
|
-
Status["COMPLETED"] = "completed";
|
|
12
|
-
Status["FAILED"] = "failed";
|
|
13
|
-
Status["ASSIGNED"] = "assigned";
|
|
14
|
-
Status["TIMEOUT"] = "timeout";
|
|
15
|
-
Status["PAUSED"] = "paused";
|
|
16
|
-
})(Status || (exports.Status = Status = {}));
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { SupervisionStatus } from './SupervisionStatus';
|
|
2
|
-
export type SupervisionRequest = {
|
|
3
|
-
id?: string;
|
|
4
|
-
chainexecution_id?: string;
|
|
5
|
-
supervisor_id: string;
|
|
6
|
-
position_in_chain: number;
|
|
7
|
-
status?: SupervisionStatus;
|
|
8
|
-
last_status_checked_at?: string;
|
|
9
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { SupervisionRequest } from './SupervisionRequest';
|
|
2
|
-
import type { SupervisionResult } from './SupervisionResult';
|
|
3
|
-
import type { SupervisionStatus } from './SupervisionStatus';
|
|
4
|
-
export type SupervisionRequestState = {
|
|
5
|
-
supervision_request: SupervisionRequest;
|
|
6
|
-
status: SupervisionStatus;
|
|
7
|
-
result?: SupervisionResult;
|
|
8
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Statistics for a specific type of supervisor
|
|
3
|
-
*/
|
|
4
|
-
export type SupervisorStats = {
|
|
5
|
-
total_reviews: number;
|
|
6
|
-
decisions: {
|
|
7
|
-
approve: number;
|
|
8
|
-
reject: number;
|
|
9
|
-
terminate: number;
|
|
10
|
-
modify: number;
|
|
11
|
-
escalate: number;
|
|
12
|
-
};
|
|
13
|
-
/**
|
|
14
|
-
* Average time taken for reviews in seconds
|
|
15
|
-
*/
|
|
16
|
-
average_review_time: number;
|
|
17
|
-
/**
|
|
18
|
-
* Score indicating the reliability of this supervisor type (0-1)
|
|
19
|
-
*/
|
|
20
|
-
reliability_score: number;
|
|
21
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The type of supervisor. ClientSupervisor means that the supervision is done client side and the server is merely informed. Other supervisor types are handled serverside, e.g. HumanSupervisor means that a human will review the request via the Asteroid UI.
|
|
3
|
-
*/
|
|
4
|
-
export declare enum SupervisorType {
|
|
5
|
-
CLIENT_SUPERVISOR = "client_supervisor",
|
|
6
|
-
HUMAN_SUPERVISOR = "human_supervisor",
|
|
7
|
-
NO_SUPERVISOR = "no_supervisor"
|
|
8
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SupervisorType = void 0;
|
|
4
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
5
|
-
/* istanbul ignore file */
|
|
6
|
-
/* tslint:disable */
|
|
7
|
-
/* eslint-disable */
|
|
8
|
-
/**
|
|
9
|
-
* The type of supervisor. ClientSupervisor means that the supervision is done client side and the server is merely informed. Other supervisor types are handled serverside, e.g. HumanSupervisor means that a human will review the request via the Asteroid UI.
|
|
10
|
-
*/
|
|
11
|
-
var SupervisorType;
|
|
12
|
-
(function (SupervisorType) {
|
|
13
|
-
SupervisorType["CLIENT_SUPERVISOR"] = "client_supervisor";
|
|
14
|
-
SupervisorType["HUMAN_SUPERVISOR"] = "human_supervisor";
|
|
15
|
-
SupervisorType["NO_SUPERVISOR"] = "no_supervisor";
|
|
16
|
-
})(SupervisorType || (exports.SupervisorType = SupervisorType = {}));
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import type { Decision } from './Decision';
|
|
2
|
-
export type ToolSupervisionResult = {
|
|
3
|
-
/**
|
|
4
|
-
* The ID of the supervision result
|
|
5
|
-
*/
|
|
6
|
-
id: string;
|
|
7
|
-
/**
|
|
8
|
-
* The ID of the tool that the supervision result is for
|
|
9
|
-
*/
|
|
10
|
-
tool_id: string;
|
|
11
|
-
/**
|
|
12
|
-
* The name of the tool that the supervision result is for
|
|
13
|
-
*/
|
|
14
|
-
tool_name?: string;
|
|
15
|
-
tool_call_id: string;
|
|
16
|
-
/**
|
|
17
|
-
* The ID of the supervisor that made the supervision result
|
|
18
|
-
*/
|
|
19
|
-
supervisor_id: string;
|
|
20
|
-
/**
|
|
21
|
-
* The timestamp of when the supervision result was created
|
|
22
|
-
*/
|
|
23
|
-
created_at: string;
|
|
24
|
-
/**
|
|
25
|
-
* The decision made by the supervisor
|
|
26
|
-
*/
|
|
27
|
-
decision: Decision;
|
|
28
|
-
/**
|
|
29
|
-
* The reasoning behind the decision
|
|
30
|
-
*/
|
|
31
|
-
reasoning: string;
|
|
32
|
-
/**
|
|
33
|
-
* The ID of the run that the supervision result is for
|
|
34
|
-
*/
|
|
35
|
-
run_id: string;
|
|
36
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import type { APIKey } from '../models/APIKey';
|
|
2
|
-
import type { User } from '../models/User';
|
|
3
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
4
|
-
export declare class ApiKeyService {
|
|
5
|
-
/**
|
|
6
|
-
* Validate an API key
|
|
7
|
-
* @returns User API key is valid, returns a validated user object
|
|
8
|
-
* @throws ApiError
|
|
9
|
-
*/
|
|
10
|
-
static validateApiKey(): CancelablePromise<User>;
|
|
11
|
-
/**
|
|
12
|
-
* Get all API keys for the current user
|
|
13
|
-
* @returns APIKey API keys
|
|
14
|
-
* @throws ApiError
|
|
15
|
-
*/
|
|
16
|
-
static getApiKeys(): CancelablePromise<Array<APIKey>>;
|
|
17
|
-
/**
|
|
18
|
-
* Create an API key
|
|
19
|
-
* @param requestBody
|
|
20
|
-
* @returns APIKey API key created
|
|
21
|
-
* @throws ApiError
|
|
22
|
-
*/
|
|
23
|
-
static createApiKey(requestBody: APIKey): CancelablePromise<APIKey>;
|
|
24
|
-
/**
|
|
25
|
-
* Revoke an API key
|
|
26
|
-
* @param requestBody
|
|
27
|
-
* @returns any API key revoked
|
|
28
|
-
* @throws ApiError
|
|
29
|
-
*/
|
|
30
|
-
static revokeApiKey(requestBody: {
|
|
31
|
-
id?: string;
|
|
32
|
-
}): CancelablePromise<any>;
|
|
33
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ApiKeyService = void 0;
|
|
4
|
-
const OpenAPI_1 = require("../core/OpenAPI");
|
|
5
|
-
const request_1 = require("../core/request");
|
|
6
|
-
class ApiKeyService {
|
|
7
|
-
/**
|
|
8
|
-
* Validate an API key
|
|
9
|
-
* @returns User API key is valid, returns a validated user object
|
|
10
|
-
* @throws ApiError
|
|
11
|
-
*/
|
|
12
|
-
static validateApiKey() {
|
|
13
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
14
|
-
method: 'GET',
|
|
15
|
-
url: '/api_key/validate',
|
|
16
|
-
errors: {
|
|
17
|
-
401: `API key is invalid`,
|
|
18
|
-
},
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Get all API keys for the current user
|
|
23
|
-
* @returns APIKey API keys
|
|
24
|
-
* @throws ApiError
|
|
25
|
-
*/
|
|
26
|
-
static getApiKeys() {
|
|
27
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
28
|
-
method: 'GET',
|
|
29
|
-
url: '/api_key',
|
|
30
|
-
});
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Create an API key
|
|
34
|
-
* @param requestBody
|
|
35
|
-
* @returns APIKey API key created
|
|
36
|
-
* @throws ApiError
|
|
37
|
-
*/
|
|
38
|
-
static createApiKey(requestBody) {
|
|
39
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
40
|
-
method: 'POST',
|
|
41
|
-
url: '/api_key',
|
|
42
|
-
body: requestBody,
|
|
43
|
-
mediaType: 'application/json',
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* Revoke an API key
|
|
48
|
-
* @param requestBody
|
|
49
|
-
* @returns any API key revoked
|
|
50
|
-
* @throws ApiError
|
|
51
|
-
*/
|
|
52
|
-
static revokeApiKey(requestBody) {
|
|
53
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
54
|
-
method: 'DELETE',
|
|
55
|
-
url: '/api_key',
|
|
56
|
-
body: requestBody,
|
|
57
|
-
mediaType: 'application/json',
|
|
58
|
-
errors: {
|
|
59
|
-
400: `Bad request`,
|
|
60
|
-
},
|
|
61
|
-
});
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
exports.ApiKeyService = ApiKeyService;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ApiService = void 0;
|
|
4
|
-
const OpenAPI_1 = require("../core/OpenAPI");
|
|
5
|
-
const request_1 = require("../core/request");
|
|
6
|
-
class ApiService {
|
|
7
|
-
/**
|
|
8
|
-
* Get the OpenAPI schema
|
|
9
|
-
* @returns any OpenAPI schema
|
|
10
|
-
* @throws ApiError
|
|
11
|
-
*/
|
|
12
|
-
static getOpenApi() {
|
|
13
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
14
|
-
method: 'GET',
|
|
15
|
-
url: '/openapi.yaml',
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
exports.ApiService = ApiService;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { Feedback } from '../models/Feedback';
|
|
2
|
-
import type { FeedbackRequest } from '../models/FeedbackRequest';
|
|
3
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
4
|
-
export declare class ImproveService {
|
|
5
|
-
/**
|
|
6
|
-
* Get feedback for a run
|
|
7
|
-
* @param runId
|
|
8
|
-
* @returns Feedback Feedback
|
|
9
|
-
* @throws ApiError
|
|
10
|
-
*/
|
|
11
|
-
static getFeedback(runId: string): CancelablePromise<Array<Feedback>>;
|
|
12
|
-
/**
|
|
13
|
-
* Create feedback for a run
|
|
14
|
-
* @param runId
|
|
15
|
-
* @param requestBody
|
|
16
|
-
* @returns any Feedback created
|
|
17
|
-
* @throws ApiError
|
|
18
|
-
*/
|
|
19
|
-
static createFeedback(runId: string, requestBody: FeedbackRequest): CancelablePromise<any>;
|
|
20
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ImproveService = void 0;
|
|
4
|
-
const OpenAPI_1 = require("../core/OpenAPI");
|
|
5
|
-
const request_1 = require("../core/request");
|
|
6
|
-
class ImproveService {
|
|
7
|
-
/**
|
|
8
|
-
* Get feedback for a run
|
|
9
|
-
* @param runId
|
|
10
|
-
* @returns Feedback Feedback
|
|
11
|
-
* @throws ApiError
|
|
12
|
-
*/
|
|
13
|
-
static getFeedback(runId) {
|
|
14
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
15
|
-
method: 'GET',
|
|
16
|
-
url: '/run/{run_id}/feedback',
|
|
17
|
-
path: {
|
|
18
|
-
'run_id': runId,
|
|
19
|
-
},
|
|
20
|
-
errors: {
|
|
21
|
-
404: `Run not found`,
|
|
22
|
-
},
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Create feedback for a run
|
|
27
|
-
* @param runId
|
|
28
|
-
* @param requestBody
|
|
29
|
-
* @returns any Feedback created
|
|
30
|
-
* @throws ApiError
|
|
31
|
-
*/
|
|
32
|
-
static createFeedback(runId, requestBody) {
|
|
33
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
34
|
-
method: 'POST',
|
|
35
|
-
url: '/run/{run_id}/feedback',
|
|
36
|
-
path: {
|
|
37
|
-
'run_id': runId,
|
|
38
|
-
},
|
|
39
|
-
body: requestBody,
|
|
40
|
-
mediaType: 'application/json',
|
|
41
|
-
errors: {
|
|
42
|
-
404: `Run not found`,
|
|
43
|
-
},
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
exports.ImproveService = ImproveService;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import type { Project } from '../models/Project';
|
|
2
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
3
|
-
export declare class ProjectService {
|
|
4
|
-
/**
|
|
5
|
-
* Get all projects
|
|
6
|
-
* @returns Project List of projects
|
|
7
|
-
* @throws ApiError
|
|
8
|
-
*/
|
|
9
|
-
static getProjects(): CancelablePromise<Array<Project>>;
|
|
10
|
-
/**
|
|
11
|
-
* Create a new project
|
|
12
|
-
* @param requestBody
|
|
13
|
-
* @returns string Project found
|
|
14
|
-
* @throws ApiError
|
|
15
|
-
*/
|
|
16
|
-
static createProject(requestBody: {
|
|
17
|
-
name: string;
|
|
18
|
-
run_result_tags: Array<string>;
|
|
19
|
-
}): CancelablePromise<string>;
|
|
20
|
-
/**
|
|
21
|
-
* Get a project
|
|
22
|
-
* @param projectId
|
|
23
|
-
* @returns Project Project
|
|
24
|
-
* @throws ApiError
|
|
25
|
-
*/
|
|
26
|
-
static getProject(projectId: string): CancelablePromise<Project>;
|
|
27
|
-
/**
|
|
28
|
-
* Delete a project
|
|
29
|
-
* @param projectId
|
|
30
|
-
* @returns any Project deleted
|
|
31
|
-
* @throws ApiError
|
|
32
|
-
*/
|
|
33
|
-
static deleteProject(projectId: string): CancelablePromise<any>;
|
|
34
|
-
}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ProjectService = void 0;
|
|
4
|
-
const OpenAPI_1 = require("../core/OpenAPI");
|
|
5
|
-
const request_1 = require("../core/request");
|
|
6
|
-
class ProjectService {
|
|
7
|
-
/**
|
|
8
|
-
* Get all projects
|
|
9
|
-
* @returns Project List of projects
|
|
10
|
-
* @throws ApiError
|
|
11
|
-
*/
|
|
12
|
-
static getProjects() {
|
|
13
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
14
|
-
method: 'GET',
|
|
15
|
-
url: '/project',
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Create a new project
|
|
20
|
-
* @param requestBody
|
|
21
|
-
* @returns string Project found
|
|
22
|
-
* @throws ApiError
|
|
23
|
-
*/
|
|
24
|
-
static createProject(requestBody) {
|
|
25
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
26
|
-
method: 'POST',
|
|
27
|
-
url: '/project',
|
|
28
|
-
body: requestBody,
|
|
29
|
-
mediaType: 'application/json',
|
|
30
|
-
errors: {
|
|
31
|
-
400: `Bad request`,
|
|
32
|
-
},
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* Get a project
|
|
37
|
-
* @param projectId
|
|
38
|
-
* @returns Project Project
|
|
39
|
-
* @throws ApiError
|
|
40
|
-
*/
|
|
41
|
-
static getProject(projectId) {
|
|
42
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
43
|
-
method: 'GET',
|
|
44
|
-
url: '/project/{projectId}',
|
|
45
|
-
path: {
|
|
46
|
-
'projectId': projectId,
|
|
47
|
-
},
|
|
48
|
-
errors: {
|
|
49
|
-
404: `Project not found`,
|
|
50
|
-
},
|
|
51
|
-
});
|
|
52
|
-
}
|
|
53
|
-
/**
|
|
54
|
-
* Delete a project
|
|
55
|
-
* @param projectId
|
|
56
|
-
* @returns any Project deleted
|
|
57
|
-
* @throws ApiError
|
|
58
|
-
*/
|
|
59
|
-
static deleteProject(projectId) {
|
|
60
|
-
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
61
|
-
method: 'DELETE',
|
|
62
|
-
url: '/project/{projectId}',
|
|
63
|
-
path: {
|
|
64
|
-
'projectId': projectId,
|
|
65
|
-
},
|
|
66
|
-
errors: {
|
|
67
|
-
404: `Project not found`,
|
|
68
|
-
},
|
|
69
|
-
});
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
exports.ProjectService = ProjectService;
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import type { AsteroidChat } from '../models/AsteroidChat';
|
|
2
|
-
import type { AsteroidMessage } from '../models/AsteroidMessage';
|
|
3
|
-
import type { ChatIds } from '../models/ChatIds';
|
|
4
|
-
import type { Run } from '../models/Run';
|
|
5
|
-
import type { Status } from '../models/Status';
|
|
6
|
-
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
7
|
-
export declare class RunService {
|
|
8
|
-
/**
|
|
9
|
-
* Get all runs for a task
|
|
10
|
-
* @param taskId
|
|
11
|
-
* @returns Run List of runs
|
|
12
|
-
* @throws ApiError
|
|
13
|
-
*/
|
|
14
|
-
static getTaskRuns(taskId: string): CancelablePromise<Array<Run>>;
|
|
15
|
-
/**
|
|
16
|
-
* Create a new run for a task
|
|
17
|
-
* @param taskId
|
|
18
|
-
* @param requestBody
|
|
19
|
-
* @returns string Run created
|
|
20
|
-
* @throws ApiError
|
|
21
|
-
*/
|
|
22
|
-
static createRun(taskId: string, requestBody?: {
|
|
23
|
-
name?: string;
|
|
24
|
-
run_id?: string;
|
|
25
|
-
}): CancelablePromise<string>;
|
|
26
|
-
/**
|
|
27
|
-
* Get a run
|
|
28
|
-
* @param runId
|
|
29
|
-
* @returns Run Run
|
|
30
|
-
* @throws ApiError
|
|
31
|
-
*/
|
|
32
|
-
static getRun(runId: string): CancelablePromise<Run>;
|
|
33
|
-
/**
|
|
34
|
-
* Delete a run
|
|
35
|
-
* @param runId
|
|
36
|
-
* @returns any Run deleted
|
|
37
|
-
* @throws ApiError
|
|
38
|
-
*/
|
|
39
|
-
static deleteRun(runId: string): CancelablePromise<any>;
|
|
40
|
-
/**
|
|
41
|
-
* Update the metadata of a run
|
|
42
|
-
* @param runId
|
|
43
|
-
* @param requestBody
|
|
44
|
-
* @returns void
|
|
45
|
-
* @throws ApiError
|
|
46
|
-
*/
|
|
47
|
-
static updateRunMetadata(runId: string, requestBody: Record<string, any>): CancelablePromise<void>;
|
|
48
|
-
/**
|
|
49
|
-
* Get the status of a run
|
|
50
|
-
* @param runId
|
|
51
|
-
* @returns Status Run status
|
|
52
|
-
* @throws ApiError
|
|
53
|
-
*/
|
|
54
|
-
static getRunStatus(runId: string): CancelablePromise<Status>;
|
|
55
|
-
/**
|
|
56
|
-
* Update the status of a run
|
|
57
|
-
* @param runId
|
|
58
|
-
* @param requestBody
|
|
59
|
-
* @returns void
|
|
60
|
-
* @throws ApiError
|
|
61
|
-
*/
|
|
62
|
-
static updateRunStatus(runId: string, requestBody: Status): CancelablePromise<void>;
|
|
63
|
-
/**
|
|
64
|
-
* Update a run with a result
|
|
65
|
-
* @param runId
|
|
66
|
-
* @param requestBody
|
|
67
|
-
* @returns any Run result created
|
|
68
|
-
* @throws ApiError
|
|
69
|
-
*/
|
|
70
|
-
static updateRunResult(runId: string, requestBody: {
|
|
71
|
-
result?: string;
|
|
72
|
-
}): CancelablePromise<any>;
|
|
73
|
-
/**
|
|
74
|
-
* Get the image messages for a run
|
|
75
|
-
* @param runId
|
|
76
|
-
* @returns AsteroidMessage Run image messages
|
|
77
|
-
* @throws ApiError
|
|
78
|
-
*/
|
|
79
|
-
static getRunImageMessages(runId: string): CancelablePromise<Array<AsteroidMessage>>;
|
|
80
|
-
/**
|
|
81
|
-
* Create a new chat completion request from an existing run
|
|
82
|
-
* @param runId
|
|
83
|
-
* @param requestBody
|
|
84
|
-
* @returns ChatIds New chat completion created
|
|
85
|
-
* @throws ApiError
|
|
86
|
-
*/
|
|
87
|
-
static createNewChat(runId: string, requestBody: AsteroidChat): CancelablePromise<ChatIds>;
|
|
88
|
-
/**
|
|
89
|
-
* Get the messages for a run
|
|
90
|
-
* @param runId
|
|
91
|
-
* @param index
|
|
92
|
-
* @returns AsteroidMessage Run messages
|
|
93
|
-
* @throws ApiError
|
|
94
|
-
*/
|
|
95
|
-
static getRunMessages(runId: string, index: number): CancelablePromise<Array<AsteroidMessage>>;
|
|
96
|
-
/**
|
|
97
|
-
* Count the number of chat entries for a run
|
|
98
|
-
* @param runId
|
|
99
|
-
* @returns number Number of chat entries for the run
|
|
100
|
-
* @throws ApiError
|
|
101
|
-
*/
|
|
102
|
-
static getRunChatCount(runId: string): CancelablePromise<number>;
|
|
103
|
-
}
|