cyberdesk 2.2.31 → 2.2.33
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/sdk.gen.d.ts +24 -9
- package/dist/client/sdk.gen.js +40 -13
- package/dist/client/types.gen.d.ts +130 -24
- package/dist/index.d.ts +6 -4
- package/dist/index.js +4 -2
- package/package.json +1 -1
package/dist/client/sdk.gen.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Options as ClientOptions, type TDataShape, type Client } from '@hey-api/client-fetch';
|
|
2
|
-
import type { HealthCheckV1HealthGetData, DatabaseHealthCheckV1HealthDbGetData, ListMachinesV1MachinesGetData, CreateMachineV1MachinesPostData, DeleteMachineV1MachinesMachineIdDeleteData, GetMachineV1MachinesMachineIdGetData, UpdateMachineV1MachinesMachineIdPatchData, GetMachinePoolsV1MachinesMachineIdPoolsGetData, UpdateMachinePoolsV1MachinesMachineIdPoolsPutData, ListPoolsV1PoolsGetData, CreatePoolV1PoolsPostData, DeletePoolV1PoolsPoolIdDeleteData, GetPoolV1PoolsPoolIdGetData, UpdatePoolV1PoolsPoolIdPatchData, RemoveMachinesFromPoolV1PoolsPoolIdMachinesDeleteData, AddMachinesToPoolV1PoolsPoolIdMachinesPostData, ListWorkflowsV1WorkflowsGetData, CreateWorkflowV1WorkflowsPostData, BulkAddTagsToWorkflowsV1WorkflowsBulkTagsPostData, DeleteWorkflowV1WorkflowsWorkflowIdDeleteData, GetWorkflowV1WorkflowsWorkflowIdGetData, UpdateWorkflowV1WorkflowsWorkflowIdPatchData, DuplicateWorkflowV1WorkflowsWorkflowIdDuplicatePostData, MergeWorkflowV1WorkflowsWorkflowIdMergePostData, GetWorkflowVersionsV1WorkflowsWorkflowIdVersionsGetData, DeleteWorkflowPromptImageV1WorkflowsPromptImageDeleteData, UploadWorkflowPromptImageV1WorkflowsPromptImagePostData, ListWorkflowPromptImagesV1WorkflowsPromptImagesGetData, GetWorkflowPromptImageSignedUrlV1WorkflowsPromptImageSignedUrlGetData, GetWorkflowTagsV1WorkflowsWorkflowIdTagsGetData, AddTagsToWorkflowV1WorkflowsWorkflowIdTagsPostData, RemoveTagFromWorkflowV1WorkflowsWorkflowIdTagsTagIdDeleteData, ListTagsV1WorkflowTagsGetData, CreateTagV1WorkflowTagsPostData, DeleteTagV1WorkflowTagsTagIdDeleteData, GetTagV1WorkflowTagsTagIdGetData, UpdateTagV1WorkflowTagsTagIdPatchData, ArchiveTagV1WorkflowTagsTagIdArchivePostData, UnarchiveTagV1WorkflowTagsTagIdUnarchivePostData, ReorderTagsV1WorkflowTagsReorderPutData, ListTagGroupsV1WorkflowTagGroupsGetData, CreateTagGroupV1WorkflowTagGroupsPostData, DeleteTagGroupV1WorkflowTagGroupsGroupIdDeleteData, GetTagGroupV1WorkflowTagGroupsGroupIdGetData, UpdateTagGroupV1WorkflowTagGroupsGroupIdPatchData, ReorderTagGroupsV1WorkflowTagGroupsReorderPutData, ListModelConfigurationsV1ModelConfigurationsGetData, CreateModelConfigurationV1ModelConfigurationsPostData, DeleteModelConfigurationV1ModelConfigurationsModelConfigurationIdDeleteData, GetModelConfigurationV1ModelConfigurationsModelConfigurationIdGetData, UpdateModelConfigurationV1ModelConfigurationsModelConfigurationIdPatchData, ListRunsV1RunsGetData, CreateRunV1RunsPostData, DeleteRunV1RunsRunIdDeleteData, GetRunV1RunsRunIdGetData, UpdateRunV1RunsRunIdPatchData, GetRunTrajectoryV1RunsRunIdTrajectoryGetData, GenerateRunTrajectoryV1RunsRunIdGenerateTrajectoryPostData, CreateRunChainV1RunsChainPostData, BulkCreateRunsV1RunsBulkPostData, RetryRunV1RunsRunIdRetryPostData, ListRunAttachmentsV1RunAttachmentsGetData, CreateRunAttachmentV1RunAttachmentsPostData, DeleteRunAttachmentV1RunAttachmentsAttachmentIdDeleteData, GetRunAttachmentV1RunAttachmentsAttachmentIdGetData, UpdateRunAttachmentV1RunAttachmentsAttachmentIdPutData, GetRunAttachmentDownloadUrlV1RunAttachmentsAttachmentIdDownloadUrlGetData, DownloadRunAttachmentV1RunAttachmentsAttachmentIdDownloadGetData, ListConnectionsV1ConnectionsGetData, CreateConnectionV1ConnectionsPostData, DeleteConnectionV1ConnectionsConnectionIdDeleteData, GetConnectionV1ConnectionsConnectionIdGetData, UpdateConnectionV1ConnectionsConnectionIdPatchData, ListRequestLogsV1RequestLogsGetData, CreateRequestLogV1RequestLogsPostData, DeleteRequestLogV1RequestLogsLogIdDeleteData, GetRequestLogV1RequestLogsLogIdGetData, UpdateRequestLogV1RequestLogsLogIdPatchData, ListTrajectoriesV1TrajectoriesGetData, CreateTrajectoryV1TrajectoriesPostData, DeleteTrajectoryV1TrajectoriesTrajectoryIdDeleteData, GetTrajectoryV1TrajectoriesTrajectoryIdGetData, UpdateTrajectoryV1TrajectoriesTrajectoryIdPatchData, DuplicateTrajectoryV1TrajectoriesTrajectoryIdDuplicatePostData, GetLatestTrajectoryForWorkflowV1WorkflowsWorkflowIdLatestTrajectoryGetData, GetScreenshotV1ComputerMachineIdDisplayScreenshotGetData, GetDisplayDimensionsV1ComputerMachineIdDisplayDimensionsGetData, KeyboardTypeV1ComputerMachineIdInputKeyboardTypePostData, KeyboardKeyV1ComputerMachineIdInputKeyboardKeyPostData, CopyToClipboardV1ComputerMachineIdCopyToClipboardPostData, GetMousePositionV1ComputerMachineIdInputMousePositionGetData, MouseMoveV1ComputerMachineIdInputMouseMovePostData, MouseClickV1ComputerMachineIdInputMouseClickPostData, MouseScrollV1ComputerMachineIdInputMouseScrollPostData, MouseDragV1ComputerMachineIdInputMouseDragPostData, FsListV1ComputerMachineIdFsListGetData, FsReadV1ComputerMachineIdFsReadGetData, FsWriteV1ComputerMachineIdFsWritePostData, PowershellExecV1ComputerMachineIdShellPowershellExecPostData, PowershellSessionV1ComputerMachineIdShellPowershellSessionPostData,
|
|
2
|
+
import type { HealthCheckV1HealthGetData, DatabaseHealthCheckV1HealthDbGetData, ListMachinesV1MachinesGetData, CreateMachineV1MachinesPostData, DeleteMachineV1MachinesMachineIdDeleteData, GetMachineV1MachinesMachineIdGetData, UpdateMachineV1MachinesMachineIdPatchData, GetMachinePoolsV1MachinesMachineIdPoolsGetData, UpdateMachinePoolsV1MachinesMachineIdPoolsPutData, ListPoolsV1PoolsGetData, CreatePoolV1PoolsPostData, DeletePoolV1PoolsPoolIdDeleteData, GetPoolV1PoolsPoolIdGetData, UpdatePoolV1PoolsPoolIdPatchData, RemoveMachinesFromPoolV1PoolsPoolIdMachinesDeleteData, AddMachinesToPoolV1PoolsPoolIdMachinesPostData, ListWorkflowsV1WorkflowsGetData, CreateWorkflowV1WorkflowsPostData, BulkAddTagsToWorkflowsV1WorkflowsBulkTagsPostData, DeleteWorkflowV1WorkflowsWorkflowIdDeleteData, GetWorkflowV1WorkflowsWorkflowIdGetData, UpdateWorkflowV1WorkflowsWorkflowIdPatchData, DuplicateWorkflowV1WorkflowsWorkflowIdDuplicatePostData, MergeWorkflowV1WorkflowsWorkflowIdMergePostData, GetWorkflowVersionsV1WorkflowsWorkflowIdVersionsGetData, DeleteWorkflowPromptImageV1WorkflowsPromptImageDeleteData, UploadWorkflowPromptImageV1WorkflowsPromptImagePostData, ListWorkflowPromptImagesV1WorkflowsPromptImagesGetData, GetWorkflowPromptImageSignedUrlV1WorkflowsPromptImageSignedUrlGetData, GetWorkflowTagsV1WorkflowsWorkflowIdTagsGetData, AddTagsToWorkflowV1WorkflowsWorkflowIdTagsPostData, RemoveTagFromWorkflowV1WorkflowsWorkflowIdTagsTagIdDeleteData, ListTagsV1WorkflowTagsGetData, CreateTagV1WorkflowTagsPostData, DeleteTagV1WorkflowTagsTagIdDeleteData, GetTagV1WorkflowTagsTagIdGetData, UpdateTagV1WorkflowTagsTagIdPatchData, ArchiveTagV1WorkflowTagsTagIdArchivePostData, UnarchiveTagV1WorkflowTagsTagIdUnarchivePostData, ReorderTagsV1WorkflowTagsReorderPutData, ListTagGroupsV1WorkflowTagGroupsGetData, CreateTagGroupV1WorkflowTagGroupsPostData, DeleteTagGroupV1WorkflowTagGroupsGroupIdDeleteData, GetTagGroupV1WorkflowTagGroupsGroupIdGetData, UpdateTagGroupV1WorkflowTagGroupsGroupIdPatchData, ReorderTagGroupsV1WorkflowTagGroupsReorderPutData, ListModelConfigurationsV1ModelConfigurationsGetData, CreateModelConfigurationV1ModelConfigurationsPostData, DeleteModelConfigurationV1ModelConfigurationsModelConfigurationIdDeleteData, GetModelConfigurationV1ModelConfigurationsModelConfigurationIdGetData, UpdateModelConfigurationV1ModelConfigurationsModelConfigurationIdPatchData, ListRunsV1RunsGetData, CreateRunV1RunsPostData, DeleteRunV1RunsRunIdDeleteData, GetRunV1RunsRunIdGetData, UpdateRunV1RunsRunIdPatchData, GetRunTrajectoryV1RunsRunIdTrajectoryGetData, GenerateRunTrajectoryV1RunsRunIdGenerateTrajectoryPostData, CreateRunChainV1RunsChainPostData, BulkCreateRunsV1RunsBulkPostData, RetryRunV1RunsRunIdRetryPostData, ListRunAttachmentsV1RunAttachmentsGetData, CreateRunAttachmentV1RunAttachmentsPostData, DeleteRunAttachmentV1RunAttachmentsAttachmentIdDeleteData, GetRunAttachmentV1RunAttachmentsAttachmentIdGetData, UpdateRunAttachmentV1RunAttachmentsAttachmentIdPutData, GetRunAttachmentDownloadUrlV1RunAttachmentsAttachmentIdDownloadUrlGetData, DownloadRunAttachmentV1RunAttachmentsAttachmentIdDownloadGetData, ListConnectionsV1ConnectionsGetData, CreateConnectionV1ConnectionsPostData, DeleteConnectionV1ConnectionsConnectionIdDeleteData, GetConnectionV1ConnectionsConnectionIdGetData, UpdateConnectionV1ConnectionsConnectionIdPatchData, ListRequestLogsV1RequestLogsGetData, CreateRequestLogV1RequestLogsPostData, DeleteRequestLogV1RequestLogsLogIdDeleteData, GetRequestLogV1RequestLogsLogIdGetData, UpdateRequestLogV1RequestLogsLogIdPatchData, ListTrajectoriesV1TrajectoriesGetData, CreateTrajectoryV1TrajectoriesPostData, DeleteTrajectoryV1TrajectoriesTrajectoryIdDeleteData, GetTrajectoryV1TrajectoriesTrajectoryIdGetData, UpdateTrajectoryV1TrajectoriesTrajectoryIdPatchData, DuplicateTrajectoryV1TrajectoriesTrajectoryIdDuplicatePostData, GetLatestTrajectoryForWorkflowV1WorkflowsWorkflowIdLatestTrajectoryGetData, GetScreenshotV1ComputerMachineIdDisplayScreenshotGetData, GetDisplayDimensionsV1ComputerMachineIdDisplayDimensionsGetData, KeyboardTypeV1ComputerMachineIdInputKeyboardTypePostData, KeyboardKeyV1ComputerMachineIdInputKeyboardKeyPostData, CopyToClipboardV1ComputerMachineIdCopyToClipboardPostData, GetMousePositionV1ComputerMachineIdInputMousePositionGetData, MouseMoveV1ComputerMachineIdInputMouseMovePostData, MouseClickV1ComputerMachineIdInputMouseClickPostData, MouseScrollV1ComputerMachineIdInputMouseScrollPostData, MouseDragV1ComputerMachineIdInputMouseDragPostData, FsListV1ComputerMachineIdFsListGetData, FsReadV1ComputerMachineIdFsReadGetData, FsWriteV1ComputerMachineIdFsWritePostData, PowershellExecV1ComputerMachineIdShellPowershellExecPostData, PowershellSessionV1ComputerMachineIdShellPowershellSessionPostData, CyberdriverShutdownV1MachinesMachineIdCyberdriverShutdownPostData, GetUsageAggregateV1UsageAggregateGetData, RootGetData, HealthLiveHealthLiveGetData, HealthReadyHealthReadyGetData, HealthHealthGetData, HealthDbHealthDbGetData, HealthMachinesV1HealthMachinesGetData } from './types.gen';
|
|
3
3
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = ClientOptions<TData, ThrowOnError> & {
|
|
4
4
|
/**
|
|
5
5
|
* You can provide a client instance returned by `createClient()` instead of
|
|
@@ -430,13 +430,19 @@ export declare const updateRunV1RunsRunIdPatch: <ThrowOnError extends boolean =
|
|
|
430
430
|
*
|
|
431
431
|
* Returns generated and non-generated trajectories so run details can expose
|
|
432
432
|
* generation state.
|
|
433
|
+
*
|
|
434
|
+
* Selection is based on newest `updated_at` for the run. If a duplicated
|
|
435
|
+
* trajectory linked to the run is now the latest row, this endpoint will
|
|
436
|
+
* return that duplicate.
|
|
433
437
|
*/
|
|
434
438
|
export declare const getRunTrajectoryV1RunsRunIdTrajectoryGet: <ThrowOnError extends boolean = false>(options: Options<GetRunTrajectoryV1RunsRunIdTrajectoryGetData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").TrajectoryResponse, import("./types.gen").HttpValidationError, ThrowOnError>;
|
|
435
439
|
/**
|
|
436
440
|
* Generate Run Trajectory
|
|
437
441
|
* Mark the latest trajectory for a run as generated.
|
|
438
442
|
*
|
|
439
|
-
* This promotes
|
|
443
|
+
* This promotes whichever trajectory is currently latest by `updated_at`.
|
|
444
|
+
* If a duplicated trajectory tied to this run is the latest row, this
|
|
445
|
+
* endpoint may return/promote that duplicate.
|
|
440
446
|
*/
|
|
441
447
|
export declare const generateRunTrajectoryV1RunsRunIdGenerateTrajectoryPost: <ThrowOnError extends boolean = false>(options: Options<GenerateRunTrajectoryV1RunsRunIdGenerateTrajectoryPostData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").TrajectoryResponse, import("./types.gen").HttpValidationError, ThrowOnError>;
|
|
442
448
|
/**
|
|
@@ -756,6 +762,13 @@ export declare const powershellExecV1ComputerMachineIdShellPowershellExecPost: <
|
|
|
756
762
|
export declare const powershellSessionV1ComputerMachineIdShellPowershellSessionPost: <ThrowOnError extends boolean = false>(options: Options<PowershellSessionV1ComputerMachineIdShellPowershellSessionPostData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<{
|
|
757
763
|
[key: string]: unknown;
|
|
758
764
|
}, import("./types.gen").HttpValidationError, ThrowOnError>;
|
|
765
|
+
/**
|
|
766
|
+
* Shutdown Cyberdriver via tunnel
|
|
767
|
+
* Request CyberDriver process shutdown through the existing tunnel proxy path.
|
|
768
|
+
*/
|
|
769
|
+
export declare const cyberdriverShutdownV1MachinesMachineIdCyberdriverShutdownPost: <ThrowOnError extends boolean = false>(options: Options<CyberdriverShutdownV1MachinesMachineIdCyberdriverShutdownPostData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<{
|
|
770
|
+
[key: string]: unknown;
|
|
771
|
+
}, unknown, ThrowOnError>;
|
|
759
772
|
/**
|
|
760
773
|
* Get Usage Aggregate
|
|
761
774
|
* Aggregate usage (agentic and cached steps) for a given date range.
|
|
@@ -768,13 +781,6 @@ export declare const powershellSessionV1ComputerMachineIdShellPowershellSessionP
|
|
|
768
781
|
* Use this for customers on active Stripe billing.
|
|
769
782
|
*/
|
|
770
783
|
export declare const getUsageAggregateV1UsageAggregateGet: <ThrowOnError extends boolean = false>(options: Options<GetUsageAggregateV1UsageAggregateGetData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").UsageAggregateResponse, import("./types.gen").HttpValidationError, ThrowOnError>;
|
|
771
|
-
/**
|
|
772
|
-
* Db Ping
|
|
773
|
-
* Execute a lightweight `SELECT 1` to validate DB connectivity and expose pool stats.
|
|
774
|
-
*
|
|
775
|
-
* Returns JSON payload with `ok` boolean, pool metrics, and optional error metadata.
|
|
776
|
-
*/
|
|
777
|
-
export declare const dbPingInternalDebugDbPingGet: <ThrowOnError extends boolean = false>(options?: Options<DbPingInternalDebugDbPingGetData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<unknown, unknown, ThrowOnError>;
|
|
778
784
|
/**
|
|
779
785
|
* Root
|
|
780
786
|
* Root endpoint with service information
|
|
@@ -805,3 +811,12 @@ export declare const healthHealthGet: <ThrowOnError extends boolean = false>(opt
|
|
|
805
811
|
* Legacy endpoint - checks database only.
|
|
806
812
|
*/
|
|
807
813
|
export declare const healthDbHealthDbGet: <ThrowOnError extends boolean = false>(options?: Options<HealthDbHealthDbGetData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<unknown, unknown, ThrowOnError>;
|
|
814
|
+
/**
|
|
815
|
+
* Health Machines
|
|
816
|
+
* Probe the dimensions endpoint for all connected machines in scope.
|
|
817
|
+
*
|
|
818
|
+
* Scope rules:
|
|
819
|
+
* - Standard keys/JWT: only machines in the authenticated organization
|
|
820
|
+
* - Cyberdesk root API key: machines across all organizations
|
|
821
|
+
*/
|
|
822
|
+
export declare const healthMachinesV1HealthMachinesGet: <ThrowOnError extends boolean = false>(options?: Options<HealthMachinesV1HealthMachinesGetData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").MachinesHealthCheckResponse, import("./types.gen").MachinesHealthCheckResponse, ThrowOnError>;
|
package/dist/client/sdk.gen.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.getModelConfigurationV1ModelConfigurationsModelConfigurationIdGet = exports.deleteModelConfigurationV1ModelConfigurationsModelConfigurationIdDelete = exports.createModelConfigurationV1ModelConfigurationsPost = exports.listModelConfigurationsV1ModelConfigurationsGet = exports.reorderTagGroupsV1WorkflowTagGroupsReorderPut = exports.updateTagGroupV1WorkflowTagGroupsGroupIdPatch = exports.getTagGroupV1WorkflowTagGroupsGroupIdGet = exports.deleteTagGroupV1WorkflowTagGroupsGroupIdDelete = exports.createTagGroupV1WorkflowTagGroupsPost = exports.listTagGroupsV1WorkflowTagGroupsGet = exports.reorderTagsV1WorkflowTagsReorderPut = exports.unarchiveTagV1WorkflowTagsTagIdUnarchivePost = exports.archiveTagV1WorkflowTagsTagIdArchivePost = exports.updateTagV1WorkflowTagsTagIdPatch = exports.getTagV1WorkflowTagsTagIdGet = exports.deleteTagV1WorkflowTagsTagIdDelete = exports.createTagV1WorkflowTagsPost = exports.listTagsV1WorkflowTagsGet = exports.removeTagFromWorkflowV1WorkflowsWorkflowIdTagsTagIdDelete = exports.addTagsToWorkflowV1WorkflowsWorkflowIdTagsPost = exports.getWorkflowTagsV1WorkflowsWorkflowIdTagsGet = exports.getWorkflowPromptImageSignedUrlV1WorkflowsPromptImageSignedUrlGet = exports.listWorkflowPromptImagesV1WorkflowsPromptImagesGet = exports.uploadWorkflowPromptImageV1WorkflowsPromptImagePost = exports.deleteWorkflowPromptImageV1WorkflowsPromptImageDelete = exports.getWorkflowVersionsV1WorkflowsWorkflowIdVersionsGet = exports.mergeWorkflowV1WorkflowsWorkflowIdMergePost = exports.duplicateWorkflowV1WorkflowsWorkflowIdDuplicatePost = exports.updateWorkflowV1WorkflowsWorkflowIdPatch = exports.getWorkflowV1WorkflowsWorkflowIdGet = exports.deleteWorkflowV1WorkflowsWorkflowIdDelete = exports.bulkAddTagsToWorkflowsV1WorkflowsBulkTagsPost = exports.createWorkflowV1WorkflowsPost = exports.listWorkflowsV1WorkflowsGet = exports.addMachinesToPoolV1PoolsPoolIdMachinesPost = exports.removeMachinesFromPoolV1PoolsPoolIdMachinesDelete = exports.updatePoolV1PoolsPoolIdPatch = exports.getPoolV1PoolsPoolIdGet = exports.deletePoolV1PoolsPoolIdDelete = exports.createPoolV1PoolsPost = exports.listPoolsV1PoolsGet = exports.updateMachinePoolsV1MachinesMachineIdPoolsPut = exports.getMachinePoolsV1MachinesMachineIdPoolsGet = exports.updateMachineV1MachinesMachineIdPatch = exports.getMachineV1MachinesMachineIdGet = exports.deleteMachineV1MachinesMachineIdDelete = exports.createMachineV1MachinesPost = exports.listMachinesV1MachinesGet = exports.databaseHealthCheckV1HealthDbGet = exports.healthCheckV1HealthGet = void 0;
|
|
5
5
|
exports.powershellSessionV1ComputerMachineIdShellPowershellSessionPost = exports.powershellExecV1ComputerMachineIdShellPowershellExecPost = exports.fsWriteV1ComputerMachineIdFsWritePost = exports.fsReadV1ComputerMachineIdFsReadGet = exports.fsListV1ComputerMachineIdFsListGet = exports.mouseDragV1ComputerMachineIdInputMouseDragPost = exports.mouseScrollV1ComputerMachineIdInputMouseScrollPost = exports.mouseClickV1ComputerMachineIdInputMouseClickPost = exports.mouseMoveV1ComputerMachineIdInputMouseMovePost = exports.getMousePositionV1ComputerMachineIdInputMousePositionGet = exports.copyToClipboardV1ComputerMachineIdCopyToClipboardPost = exports.keyboardKeyV1ComputerMachineIdInputKeyboardKeyPost = exports.keyboardTypeV1ComputerMachineIdInputKeyboardTypePost = exports.getDisplayDimensionsV1ComputerMachineIdDisplayDimensionsGet = exports.getScreenshotV1ComputerMachineIdDisplayScreenshotGet = exports.getLatestTrajectoryForWorkflowV1WorkflowsWorkflowIdLatestTrajectoryGet = exports.duplicateTrajectoryV1TrajectoriesTrajectoryIdDuplicatePost = exports.updateTrajectoryV1TrajectoriesTrajectoryIdPatch = exports.getTrajectoryV1TrajectoriesTrajectoryIdGet = exports.deleteTrajectoryV1TrajectoriesTrajectoryIdDelete = exports.createTrajectoryV1TrajectoriesPost = exports.listTrajectoriesV1TrajectoriesGet = exports.updateRequestLogV1RequestLogsLogIdPatch = exports.getRequestLogV1RequestLogsLogIdGet = exports.deleteRequestLogV1RequestLogsLogIdDelete = exports.createRequestLogV1RequestLogsPost = exports.listRequestLogsV1RequestLogsGet = exports.updateConnectionV1ConnectionsConnectionIdPatch = exports.getConnectionV1ConnectionsConnectionIdGet = exports.deleteConnectionV1ConnectionsConnectionIdDelete = exports.createConnectionV1ConnectionsPost = exports.listConnectionsV1ConnectionsGet = exports.downloadRunAttachmentV1RunAttachmentsAttachmentIdDownloadGet = exports.getRunAttachmentDownloadUrlV1RunAttachmentsAttachmentIdDownloadUrlGet = exports.updateRunAttachmentV1RunAttachmentsAttachmentIdPut = exports.getRunAttachmentV1RunAttachmentsAttachmentIdGet = exports.deleteRunAttachmentV1RunAttachmentsAttachmentIdDelete = exports.createRunAttachmentV1RunAttachmentsPost = exports.listRunAttachmentsV1RunAttachmentsGet = exports.retryRunV1RunsRunIdRetryPost = exports.bulkCreateRunsV1RunsBulkPost = exports.createRunChainV1RunsChainPost = exports.generateRunTrajectoryV1RunsRunIdGenerateTrajectoryPost = exports.getRunTrajectoryV1RunsRunIdTrajectoryGet = exports.updateRunV1RunsRunIdPatch = exports.getRunV1RunsRunIdGet = exports.deleteRunV1RunsRunIdDelete = exports.createRunV1RunsPost = exports.listRunsV1RunsGet = exports.updateModelConfigurationV1ModelConfigurationsModelConfigurationIdPatch = void 0;
|
|
6
|
-
exports.healthDbHealthDbGet = exports.healthHealthGet = exports.healthReadyHealthReadyGet = exports.healthLiveHealthLiveGet = exports.rootGet = exports.
|
|
6
|
+
exports.healthMachinesV1HealthMachinesGet = exports.healthDbHealthDbGet = exports.healthHealthGet = exports.healthReadyHealthReadyGet = exports.healthLiveHealthLiveGet = exports.rootGet = exports.getUsageAggregateV1UsageAggregateGet = exports.cyberdriverShutdownV1MachinesMachineIdCyberdriverShutdownPost = void 0;
|
|
7
7
|
const client_fetch_1 = require("@hey-api/client-fetch");
|
|
8
8
|
const client_gen_1 = require("./client.gen");
|
|
9
9
|
/**
|
|
@@ -913,6 +913,10 @@ exports.updateRunV1RunsRunIdPatch = updateRunV1RunsRunIdPatch;
|
|
|
913
913
|
*
|
|
914
914
|
* Returns generated and non-generated trajectories so run details can expose
|
|
915
915
|
* generation state.
|
|
916
|
+
*
|
|
917
|
+
* Selection is based on newest `updated_at` for the run. If a duplicated
|
|
918
|
+
* trajectory linked to the run is now the latest row, this endpoint will
|
|
919
|
+
* return that duplicate.
|
|
916
920
|
*/
|
|
917
921
|
const getRunTrajectoryV1RunsRunIdTrajectoryGet = (options) => {
|
|
918
922
|
var _a;
|
|
@@ -928,7 +932,9 @@ exports.getRunTrajectoryV1RunsRunIdTrajectoryGet = getRunTrajectoryV1RunsRunIdTr
|
|
|
928
932
|
* Generate Run Trajectory
|
|
929
933
|
* Mark the latest trajectory for a run as generated.
|
|
930
934
|
*
|
|
931
|
-
* This promotes
|
|
935
|
+
* This promotes whichever trajectory is currently latest by `updated_at`.
|
|
936
|
+
* If a duplicated trajectory tied to this run is the latest row, this
|
|
937
|
+
* endpoint may return/promote that duplicate.
|
|
932
938
|
*/
|
|
933
939
|
const generateRunTrajectoryV1RunsRunIdGenerateTrajectoryPost = (options) => {
|
|
934
940
|
var _a;
|
|
@@ -1623,6 +1629,20 @@ const powershellSessionV1ComputerMachineIdShellPowershellSessionPost = (options)
|
|
|
1623
1629
|
], url: '/v1/computer/{machine_id}/shell/powershell/session' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
1624
1630
|
};
|
|
1625
1631
|
exports.powershellSessionV1ComputerMachineIdShellPowershellSessionPost = powershellSessionV1ComputerMachineIdShellPowershellSessionPost;
|
|
1632
|
+
/**
|
|
1633
|
+
* Shutdown Cyberdriver via tunnel
|
|
1634
|
+
* Request CyberDriver process shutdown through the existing tunnel proxy path.
|
|
1635
|
+
*/
|
|
1636
|
+
const cyberdriverShutdownV1MachinesMachineIdCyberdriverShutdownPost = (options) => {
|
|
1637
|
+
var _a;
|
|
1638
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post(Object.assign(Object.assign({ security: [
|
|
1639
|
+
{
|
|
1640
|
+
scheme: 'bearer',
|
|
1641
|
+
type: 'http'
|
|
1642
|
+
}
|
|
1643
|
+
], url: '/v1/machines/{machine_id}/cyberdriver/shutdown' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
|
|
1644
|
+
};
|
|
1645
|
+
exports.cyberdriverShutdownV1MachinesMachineIdCyberdriverShutdownPost = cyberdriverShutdownV1MachinesMachineIdCyberdriverShutdownPost;
|
|
1626
1646
|
/**
|
|
1627
1647
|
* Get Usage Aggregate
|
|
1628
1648
|
* Aggregate usage (agentic and cached steps) for a given date range.
|
|
@@ -1644,17 +1664,6 @@ const getUsageAggregateV1UsageAggregateGet = (options) => {
|
|
|
1644
1664
|
], url: '/v1/usage/aggregate' }, options));
|
|
1645
1665
|
};
|
|
1646
1666
|
exports.getUsageAggregateV1UsageAggregateGet = getUsageAggregateV1UsageAggregateGet;
|
|
1647
|
-
/**
|
|
1648
|
-
* Db Ping
|
|
1649
|
-
* Execute a lightweight `SELECT 1` to validate DB connectivity and expose pool stats.
|
|
1650
|
-
*
|
|
1651
|
-
* Returns JSON payload with `ok` boolean, pool metrics, and optional error metadata.
|
|
1652
|
-
*/
|
|
1653
|
-
const dbPingInternalDebugDbPingGet = (options) => {
|
|
1654
|
-
var _a;
|
|
1655
|
-
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ url: '/internal/debug/db-ping' }, options));
|
|
1656
|
-
};
|
|
1657
|
-
exports.dbPingInternalDebugDbPingGet = dbPingInternalDebugDbPingGet;
|
|
1658
1667
|
/**
|
|
1659
1668
|
* Root
|
|
1660
1669
|
* Root endpoint with service information
|
|
@@ -1705,3 +1714,21 @@ const healthDbHealthDbGet = (options) => {
|
|
|
1705
1714
|
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ url: '/health/db' }, options));
|
|
1706
1715
|
};
|
|
1707
1716
|
exports.healthDbHealthDbGet = healthDbHealthDbGet;
|
|
1717
|
+
/**
|
|
1718
|
+
* Health Machines
|
|
1719
|
+
* Probe the dimensions endpoint for all connected machines in scope.
|
|
1720
|
+
*
|
|
1721
|
+
* Scope rules:
|
|
1722
|
+
* - Standard keys/JWT: only machines in the authenticated organization
|
|
1723
|
+
* - Cyberdesk root API key: machines across all organizations
|
|
1724
|
+
*/
|
|
1725
|
+
const healthMachinesV1HealthMachinesGet = (options) => {
|
|
1726
|
+
var _a;
|
|
1727
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get(Object.assign({ security: [
|
|
1728
|
+
{
|
|
1729
|
+
scheme: 'bearer',
|
|
1730
|
+
type: 'http'
|
|
1731
|
+
}
|
|
1732
|
+
], url: '/v1/health/machines' }, options));
|
|
1733
|
+
};
|
|
1734
|
+
exports.healthMachinesV1HealthMachinesGet = healthMachinesV1HealthMachinesGet;
|
|
@@ -79,6 +79,16 @@ export type CopyToClipboardRequest = {
|
|
|
79
79
|
*/
|
|
80
80
|
text: string;
|
|
81
81
|
};
|
|
82
|
+
export type CyberdriverShutdownRequest = {
|
|
83
|
+
/**
|
|
84
|
+
* Caller identifier for shutdown auditing
|
|
85
|
+
*/
|
|
86
|
+
source?: string;
|
|
87
|
+
/**
|
|
88
|
+
* Reason for shutting down the CyberDriver process
|
|
89
|
+
*/
|
|
90
|
+
reason?: string | null;
|
|
91
|
+
};
|
|
82
92
|
export type DisplayDimensions = {
|
|
83
93
|
width: number;
|
|
84
94
|
height: number;
|
|
@@ -174,6 +184,13 @@ export type MachineCreate = {
|
|
|
174
184
|
} | null;
|
|
175
185
|
unkey_key_id: string;
|
|
176
186
|
};
|
|
187
|
+
export type MachineHealthCheckError = {
|
|
188
|
+
machine_id: string;
|
|
189
|
+
organization_id?: string | null;
|
|
190
|
+
machine_name?: string | null;
|
|
191
|
+
status_code?: number | null;
|
|
192
|
+
error: string;
|
|
193
|
+
};
|
|
177
194
|
/**
|
|
178
195
|
* Schema for assigning machines to pools
|
|
179
196
|
*/
|
|
@@ -290,6 +307,14 @@ export type MachineUpdate = {
|
|
|
290
307
|
[key: string]: string;
|
|
291
308
|
} | null;
|
|
292
309
|
};
|
|
310
|
+
export type MachinesHealthCheckResponse = {
|
|
311
|
+
status: 'ok' | 'error';
|
|
312
|
+
scope: 'organization' | 'all_organizations';
|
|
313
|
+
checked_machines: number;
|
|
314
|
+
healthy_machines: number;
|
|
315
|
+
errored_machines: Array<MachineHealthCheckError>;
|
|
316
|
+
message: string;
|
|
317
|
+
};
|
|
293
318
|
/**
|
|
294
319
|
* Create a model configuration.
|
|
295
320
|
*
|
|
@@ -317,10 +342,18 @@ export type ModelConfigurationCreate = {
|
|
|
317
342
|
additional_params?: {
|
|
318
343
|
[key: string]: unknown;
|
|
319
344
|
} | null;
|
|
345
|
+
/**
|
|
346
|
+
* Agent harness version string used by Cyberdesk workers for prompt/tool selection.
|
|
347
|
+
*/
|
|
348
|
+
agent_harness_version_string?: string | null;
|
|
320
349
|
/**
|
|
321
350
|
* True if this model has native computer use capabilities. If True, can be used for main agent, focused actions, and fallbacks for those agents.
|
|
322
351
|
*/
|
|
323
352
|
is_computer_use_model?: boolean;
|
|
353
|
+
/**
|
|
354
|
+
* Whether this model configuration is archived and should generally be hidden behind archived-model UI affordances.
|
|
355
|
+
*/
|
|
356
|
+
is_archived?: boolean;
|
|
324
357
|
/**
|
|
325
358
|
* Raw API key (stored in Basis Theory; never persisted directly).
|
|
326
359
|
*/
|
|
@@ -350,10 +383,18 @@ export type ModelConfigurationResponse = {
|
|
|
350
383
|
additional_params?: {
|
|
351
384
|
[key: string]: unknown;
|
|
352
385
|
} | null;
|
|
386
|
+
/**
|
|
387
|
+
* Agent harness version string used by Cyberdesk workers for prompt/tool selection.
|
|
388
|
+
*/
|
|
389
|
+
agent_harness_version_string?: string | null;
|
|
353
390
|
/**
|
|
354
391
|
* True if this model has native computer use capabilities. If True, can be used for main agent, focused actions, and fallbacks for those agents.
|
|
355
392
|
*/
|
|
356
393
|
is_computer_use_model?: boolean;
|
|
394
|
+
/**
|
|
395
|
+
* Whether this model configuration is archived and should generally be hidden behind archived-model UI affordances.
|
|
396
|
+
*/
|
|
397
|
+
is_archived?: boolean;
|
|
357
398
|
id: string;
|
|
358
399
|
organization_id?: string | null;
|
|
359
400
|
/**
|
|
@@ -387,7 +428,9 @@ export type ModelConfigurationUpdate = {
|
|
|
387
428
|
additional_params?: {
|
|
388
429
|
[key: string]: unknown;
|
|
389
430
|
} | null;
|
|
431
|
+
agent_harness_version_string?: string | null;
|
|
390
432
|
is_computer_use_model?: boolean | null;
|
|
433
|
+
is_archived?: boolean | null;
|
|
391
434
|
};
|
|
392
435
|
export type MouseClickRequest = {
|
|
393
436
|
x?: number | null;
|
|
@@ -995,7 +1038,11 @@ export type RunUpdate = {
|
|
|
995
1038
|
release_session_after?: boolean | null;
|
|
996
1039
|
};
|
|
997
1040
|
/**
|
|
998
|
-
* Schema for creating a trajectory
|
|
1041
|
+
* Schema for creating a trajectory.
|
|
1042
|
+
*
|
|
1043
|
+
* Note: `is_generated` is intentionally omitted here. New trajectories always
|
|
1044
|
+
* start as non-generated and must be promoted via
|
|
1045
|
+
* POST /runs/{run_id}/generate-trajectory.
|
|
999
1046
|
*/
|
|
1000
1047
|
export type TrajectoryCreate = {
|
|
1001
1048
|
name?: string | null;
|
|
@@ -1024,10 +1071,6 @@ export type TrajectoryCreate = {
|
|
|
1024
1071
|
* Whether this trajectory is approved for use
|
|
1025
1072
|
*/
|
|
1026
1073
|
is_approved?: boolean;
|
|
1027
|
-
/**
|
|
1028
|
-
* Whether this trajectory has been generated/promoted for display in the trajectories table
|
|
1029
|
-
*/
|
|
1030
|
-
is_generated?: boolean;
|
|
1031
1074
|
};
|
|
1032
1075
|
/**
|
|
1033
1076
|
* Trajectory response schema
|
|
@@ -1111,10 +1154,6 @@ export type TrajectoryUpdate = {
|
|
|
1111
1154
|
* Whether this trajectory is approved for use
|
|
1112
1155
|
*/
|
|
1113
1156
|
is_approved?: boolean | null;
|
|
1114
|
-
/**
|
|
1115
|
-
* Whether this trajectory has been generated/promoted for display in the trajectories table
|
|
1116
|
-
*/
|
|
1117
|
-
is_generated?: boolean | null;
|
|
1118
1157
|
};
|
|
1119
1158
|
/**
|
|
1120
1159
|
* Response schema for usage aggregation.
|
|
@@ -1193,7 +1232,7 @@ export type WorkflowCreate = {
|
|
|
1193
1232
|
*/
|
|
1194
1233
|
is_webhooks_enabled?: boolean;
|
|
1195
1234
|
/**
|
|
1196
|
-
* Optional workflow-level model configuration metadata (main agent
|
|
1235
|
+
* Optional workflow-level model configuration metadata (main agent, cache detection, and fallbacks).
|
|
1197
1236
|
*/
|
|
1198
1237
|
model_metadata?: WorkflowModelMetadata | null;
|
|
1199
1238
|
};
|
|
@@ -1214,6 +1253,23 @@ export type WorkflowInternalMetadata = {
|
|
|
1214
1253
|
*/
|
|
1215
1254
|
last_errored_run_uuid?: string | null;
|
|
1216
1255
|
};
|
|
1256
|
+
/**
|
|
1257
|
+
* Patchable workflow metadata fields for internal workflow maintenance.
|
|
1258
|
+
*/
|
|
1259
|
+
export type WorkflowInternalMetadataUpdate = {
|
|
1260
|
+
/**
|
|
1261
|
+
* Set to false when workflow errors have been addressed.
|
|
1262
|
+
*/
|
|
1263
|
+
has_unaddressed_error?: boolean | null;
|
|
1264
|
+
/**
|
|
1265
|
+
* Start timestamp of the most recent errored/task_failed run.
|
|
1266
|
+
*/
|
|
1267
|
+
last_errored_run_start?: string | null;
|
|
1268
|
+
/**
|
|
1269
|
+
* Run UUID of the most recent errored/task_failed run.
|
|
1270
|
+
*/
|
|
1271
|
+
last_errored_run_uuid?: string | null;
|
|
1272
|
+
};
|
|
1217
1273
|
/**
|
|
1218
1274
|
* Schema for merging workflows
|
|
1219
1275
|
*/
|
|
@@ -1238,6 +1294,10 @@ export type WorkflowModelMetadata = {
|
|
|
1238
1294
|
* ModelConfiguration.id used for the main agent. Null → Cyberdesk default.
|
|
1239
1295
|
*/
|
|
1240
1296
|
main_agent_model_id?: string | null;
|
|
1297
|
+
/**
|
|
1298
|
+
* ModelConfiguration.id used for cache detection. Null → Cyberdesk default.
|
|
1299
|
+
*/
|
|
1300
|
+
cache_detection_model_id?: string | null;
|
|
1241
1301
|
/**
|
|
1242
1302
|
* ModelConfiguration.id used as fallback 1 (global across agents).
|
|
1243
1303
|
*/
|
|
@@ -1337,7 +1397,7 @@ export type WorkflowResponse = {
|
|
|
1337
1397
|
*/
|
|
1338
1398
|
is_webhooks_enabled?: boolean;
|
|
1339
1399
|
/**
|
|
1340
|
-
* Optional workflow-level model configuration metadata (main agent
|
|
1400
|
+
* Optional workflow-level model configuration metadata (main agent, cache detection, and fallbacks).
|
|
1341
1401
|
*/
|
|
1342
1402
|
model_metadata?: WorkflowModelMetadata | null;
|
|
1343
1403
|
id: string;
|
|
@@ -1470,9 +1530,13 @@ export type WorkflowUpdate = {
|
|
|
1470
1530
|
*/
|
|
1471
1531
|
is_webhooks_enabled?: boolean | null;
|
|
1472
1532
|
/**
|
|
1473
|
-
* Optional workflow-level model configuration metadata (main agent
|
|
1533
|
+
* Optional workflow-level model configuration metadata (main agent, cache detection, and fallbacks).
|
|
1474
1534
|
*/
|
|
1475
1535
|
model_metadata?: WorkflowModelMetadata | null;
|
|
1536
|
+
/**
|
|
1537
|
+
* Optional internal workflow metadata patch. Top-level null clears all workflow metadata. Omit this field to leave existing metadata unchanged. Set individual keys to null to remove only those keys.
|
|
1538
|
+
*/
|
|
1539
|
+
workflow_metadata?: WorkflowInternalMetadataUpdate | null;
|
|
1476
1540
|
};
|
|
1477
1541
|
export type HealthCheckV1HealthGetData = {
|
|
1478
1542
|
body?: never;
|
|
@@ -4196,6 +4260,40 @@ export type PowershellSessionV1ComputerMachineIdShellPowershellSessionPostRespon
|
|
|
4196
4260
|
};
|
|
4197
4261
|
};
|
|
4198
4262
|
export type PowershellSessionV1ComputerMachineIdShellPowershellSessionPostResponse = PowershellSessionV1ComputerMachineIdShellPowershellSessionPostResponses[keyof PowershellSessionV1ComputerMachineIdShellPowershellSessionPostResponses];
|
|
4263
|
+
export type CyberdriverShutdownV1MachinesMachineIdCyberdriverShutdownPostData = {
|
|
4264
|
+
body?: CyberdriverShutdownRequest | null;
|
|
4265
|
+
headers?: {
|
|
4266
|
+
/**
|
|
4267
|
+
* Unique key for idempotent requests. If provided, the server ensures the request is processed at most once. Retries with the same key return the original response. SDKs auto-generate this for write requests.
|
|
4268
|
+
*/
|
|
4269
|
+
'Idempotency-Key'?: string;
|
|
4270
|
+
};
|
|
4271
|
+
path: {
|
|
4272
|
+
machine_id: string;
|
|
4273
|
+
};
|
|
4274
|
+
query?: never;
|
|
4275
|
+
url: '/v1/machines/{machine_id}/cyberdriver/shutdown';
|
|
4276
|
+
};
|
|
4277
|
+
export type CyberdriverShutdownV1MachinesMachineIdCyberdriverShutdownPostErrors = {
|
|
4278
|
+
/**
|
|
4279
|
+
* Tunnel-only endpoint rejected outside tunnel path
|
|
4280
|
+
*/
|
|
4281
|
+
403: unknown;
|
|
4282
|
+
/**
|
|
4283
|
+
* Validation Error
|
|
4284
|
+
*/
|
|
4285
|
+
422: HttpValidationError;
|
|
4286
|
+
};
|
|
4287
|
+
export type CyberdriverShutdownV1MachinesMachineIdCyberdriverShutdownPostError = CyberdriverShutdownV1MachinesMachineIdCyberdriverShutdownPostErrors[keyof CyberdriverShutdownV1MachinesMachineIdCyberdriverShutdownPostErrors];
|
|
4288
|
+
export type CyberdriverShutdownV1MachinesMachineIdCyberdriverShutdownPostResponses = {
|
|
4289
|
+
/**
|
|
4290
|
+
* Shutdown was accepted by CyberDriver
|
|
4291
|
+
*/
|
|
4292
|
+
200: {
|
|
4293
|
+
[key: string]: unknown;
|
|
4294
|
+
};
|
|
4295
|
+
};
|
|
4296
|
+
export type CyberdriverShutdownV1MachinesMachineIdCyberdriverShutdownPostResponse = CyberdriverShutdownV1MachinesMachineIdCyberdriverShutdownPostResponses[keyof CyberdriverShutdownV1MachinesMachineIdCyberdriverShutdownPostResponses];
|
|
4199
4297
|
export type GetUsageAggregateV1UsageAggregateGetData = {
|
|
4200
4298
|
body?: never;
|
|
4201
4299
|
path?: never;
|
|
@@ -4229,18 +4327,6 @@ export type GetUsageAggregateV1UsageAggregateGetResponses = {
|
|
|
4229
4327
|
200: UsageAggregateResponse;
|
|
4230
4328
|
};
|
|
4231
4329
|
export type GetUsageAggregateV1UsageAggregateGetResponse = GetUsageAggregateV1UsageAggregateGetResponses[keyof GetUsageAggregateV1UsageAggregateGetResponses];
|
|
4232
|
-
export type DbPingInternalDebugDbPingGetData = {
|
|
4233
|
-
body?: never;
|
|
4234
|
-
path?: never;
|
|
4235
|
-
query?: never;
|
|
4236
|
-
url: '/internal/debug/db-ping';
|
|
4237
|
-
};
|
|
4238
|
-
export type DbPingInternalDebugDbPingGetResponses = {
|
|
4239
|
-
/**
|
|
4240
|
-
* Successful Response
|
|
4241
|
-
*/
|
|
4242
|
-
200: unknown;
|
|
4243
|
-
};
|
|
4244
4330
|
export type RootGetData = {
|
|
4245
4331
|
body?: never;
|
|
4246
4332
|
path?: never;
|
|
@@ -4301,6 +4387,26 @@ export type HealthDbHealthDbGetResponses = {
|
|
|
4301
4387
|
*/
|
|
4302
4388
|
200: unknown;
|
|
4303
4389
|
};
|
|
4390
|
+
export type HealthMachinesV1HealthMachinesGetData = {
|
|
4391
|
+
body?: never;
|
|
4392
|
+
path?: never;
|
|
4393
|
+
query?: never;
|
|
4394
|
+
url: '/v1/health/machines';
|
|
4395
|
+
};
|
|
4396
|
+
export type HealthMachinesV1HealthMachinesGetErrors = {
|
|
4397
|
+
/**
|
|
4398
|
+
* One or more connected machines failed dimensions health probes
|
|
4399
|
+
*/
|
|
4400
|
+
503: MachinesHealthCheckResponse;
|
|
4401
|
+
};
|
|
4402
|
+
export type HealthMachinesV1HealthMachinesGetError = HealthMachinesV1HealthMachinesGetErrors[keyof HealthMachinesV1HealthMachinesGetErrors];
|
|
4403
|
+
export type HealthMachinesV1HealthMachinesGetResponses = {
|
|
4404
|
+
/**
|
|
4405
|
+
* Successful Response
|
|
4406
|
+
*/
|
|
4407
|
+
200: MachinesHealthCheckResponse;
|
|
4408
|
+
};
|
|
4409
|
+
export type HealthMachinesV1HealthMachinesGetResponse = HealthMachinesV1HealthMachinesGetResponses[keyof HealthMachinesV1HealthMachinesGetResponses];
|
|
4304
4410
|
export type ClientOptions = {
|
|
4305
4411
|
baseUrl: 'https://api.cyberdesk.io' | 'https://cyberdesk-api-dev.fly.dev' | (string & {});
|
|
4306
4412
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
* });
|
|
26
26
|
* ```
|
|
27
27
|
*/
|
|
28
|
-
import { type MachineResponse, type MachinePoolUpdate, type PoolResponse, type PoolCreate, type PoolUpdate, type PoolWithMachines, type MachinePoolAssignment, type WorkflowResponse, type RunResponse, type ConnectionResponse, type TrajectoryResponse, type PaginatedResponseWithIncludesMachineResponse, type PaginatedResponseWithIncludesPoolResponse, type PaginatedResponseWorkflowResponse, type PaginatedResponseWithIncludesRunResponse, type PaginatedResponseConnectionResponse, type PaginatedResponseWithIncludesTrajectoryResponse, type MachineStatus, type RunStatus, type ConnectionStatus, type MachineCreate, type WorkflowCreate, type RunCreate, type RunBulkCreate, type RunBulkCreateResponse, type WorkflowChainCreate, type WorkflowChainResponse, type FileInput, type ConnectionCreate, type TrajectoryCreate, type MachineUpdate, type WorkflowUpdate, type RunUpdate, type TrajectoryUpdate, type RunAttachmentCreate, type RunAttachmentUpdate, type RunAttachmentResponse, type RunAttachmentDownloadUrlResponse, type AttachmentType, type IncludedResource, type PaginatedResponseRunAttachmentResponse, type RunRetry, type RunField, type RunListSortMode, type ModelConfigurationCreate, type ModelConfigurationUpdate, type ModelConfigurationResponse, type UsageAggregateResponse, type UsageMode, type WorkflowTagCreate, type WorkflowTagUpdate, type WorkflowTagResponse, type WorkflowTagGroupCreate, type WorkflowTagGroupUpdate, type WorkflowTagGroupResponse, type ReorderRequest, type AddTagsRequest, type BulkAddTagsRequest } from './client/types.gen';
|
|
28
|
+
import { type MachineResponse, type MachinePoolUpdate, type PoolResponse, type PoolCreate, type PoolUpdate, type PoolWithMachines, type MachinePoolAssignment, type WorkflowModelMetadata, type WorkflowResponse, type RunResponse, type ConnectionResponse, type TrajectoryResponse, type PaginatedResponseWithIncludesMachineResponse, type PaginatedResponseWithIncludesPoolResponse, type PaginatedResponseWorkflowResponse, type PaginatedResponseWithIncludesRunResponse, type PaginatedResponseConnectionResponse, type PaginatedResponseWithIncludesTrajectoryResponse, type MachineStatus, type RunStatus, type ConnectionStatus, type MachineCreate, type WorkflowCreate, type RunCreate, type RunBulkCreate, type RunBulkCreateResponse, type WorkflowChainCreate, type WorkflowChainResponse, type FileInput, type ConnectionCreate, type TrajectoryCreate, type MachineUpdate, type WorkflowUpdate, type RunUpdate, type TrajectoryUpdate, type RunAttachmentCreate, type RunAttachmentUpdate, type RunAttachmentResponse, type RunAttachmentDownloadUrlResponse, type AttachmentType, type IncludedResource, type PaginatedResponseRunAttachmentResponse, type RunRetry, type RunField, type RunListSortMode, type ModelConfigurationCreate, type ModelConfigurationUpdate, type ModelConfigurationResponse, type UsageAggregateResponse, type UsageMode, type WorkflowTagCreate, type WorkflowTagUpdate, type WorkflowTagResponse, type WorkflowTagGroupCreate, type WorkflowTagGroupUpdate, type WorkflowTagGroupResponse, type ReorderRequest, type AddTagsRequest, type BulkAddTagsRequest } from './client/types.gen';
|
|
29
29
|
export * from './client/types.gen';
|
|
30
30
|
export * from './client/sdk.gen';
|
|
31
31
|
export * from './client/client.gen';
|
|
@@ -1641,6 +1641,7 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
1641
1641
|
* List all model configurations for the organization
|
|
1642
1642
|
*
|
|
1643
1643
|
* Returns both system defaults and organization-owned configurations.
|
|
1644
|
+
* Use each item's `is_archived` flag to distinguish archived entries.
|
|
1644
1645
|
*
|
|
1645
1646
|
* @returns Array of model configurations
|
|
1646
1647
|
*/
|
|
@@ -1660,10 +1661,10 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
1660
1661
|
* @param data - ModelConfigurationCreate with:
|
|
1661
1662
|
* - name: Display name for the configuration
|
|
1662
1663
|
* - provider: LLM provider (openai, anthropic, google, azure, custom)
|
|
1663
|
-
* -
|
|
1664
|
+
* - model: The model identifier (e.g., 'gpt-4o', 'claude-sonnet-4-20250514')
|
|
1664
1665
|
* - api_key: Optional API key (stored securely in Basis Theory)
|
|
1665
|
-
* - base_url: Optional custom base URL for the provider
|
|
1666
1666
|
* - description: Optional description
|
|
1667
|
+
* - is_archived: Optional flag to archive the configuration
|
|
1667
1668
|
* @returns Created model configuration
|
|
1668
1669
|
*/
|
|
1669
1670
|
create: (data: ModelConfigurationCreate) => Promise<({
|
|
@@ -1696,6 +1697,7 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
1696
1697
|
* Update a model configuration
|
|
1697
1698
|
*
|
|
1698
1699
|
* Note: Only organization-owned configurations can be updated. System defaults cannot be modified.
|
|
1700
|
+
* Supports toggling `is_archived` for soft-archiving model configurations.
|
|
1699
1701
|
*
|
|
1700
1702
|
* @param modelConfigurationId - The ID of the model configuration to update
|
|
1701
1703
|
* @param data - Update data
|
|
@@ -1783,4 +1785,4 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
1783
1785
|
}>;
|
|
1784
1786
|
};
|
|
1785
1787
|
};
|
|
1786
|
-
export type { MachineResponse, MachinePoolUpdate, PoolResponse, PoolCreate, PoolUpdate, PoolWithMachines, MachinePoolAssignment, WorkflowResponse, RunResponse, RunBulkCreate, RunBulkCreateResponse, ConnectionResponse, TrajectoryResponse, RunAttachmentResponse, RunAttachmentDownloadUrlResponse, FileInput, AttachmentType, IncludedResource, PaginatedResponseWithIncludesMachineResponse, PaginatedResponseWithIncludesPoolResponse, PaginatedResponseWorkflowResponse, PaginatedResponseWithIncludesRunResponse, PaginatedResponseConnectionResponse, PaginatedResponseWithIncludesTrajectoryResponse, PaginatedResponseRunAttachmentResponse, ModelConfigurationCreate, ModelConfigurationUpdate, ModelConfigurationResponse, UsageAggregateResponse, UsageMode, WorkflowTagCreate, WorkflowTagUpdate, WorkflowTagResponse, WorkflowTagGroupCreate, WorkflowTagGroupUpdate, WorkflowTagGroupResponse, ReorderRequest, AddTagsRequest, BulkAddTagsRequest, };
|
|
1788
|
+
export type { MachineResponse, MachinePoolUpdate, PoolResponse, PoolCreate, PoolUpdate, PoolWithMachines, MachinePoolAssignment, WorkflowModelMetadata, WorkflowResponse, RunResponse, RunBulkCreate, RunBulkCreateResponse, ConnectionResponse, TrajectoryResponse, RunAttachmentResponse, RunAttachmentDownloadUrlResponse, FileInput, AttachmentType, IncludedResource, PaginatedResponseWithIncludesMachineResponse, PaginatedResponseWithIncludesPoolResponse, PaginatedResponseWorkflowResponse, PaginatedResponseWithIncludesRunResponse, PaginatedResponseConnectionResponse, PaginatedResponseWithIncludesTrajectoryResponse, PaginatedResponseRunAttachmentResponse, ModelConfigurationCreate, ModelConfigurationUpdate, ModelConfigurationResponse, UsageAggregateResponse, UsageMode, WorkflowTagCreate, WorkflowTagUpdate, WorkflowTagResponse, WorkflowTagGroupCreate, WorkflowTagGroupUpdate, WorkflowTagGroupResponse, ReorderRequest, AddTagsRequest, BulkAddTagsRequest, };
|
package/dist/index.js
CHANGED
|
@@ -1565,6 +1565,7 @@ function createCyberdeskClient(apiKey, baseUrl, options) {
|
|
|
1565
1565
|
* List all model configurations for the organization
|
|
1566
1566
|
*
|
|
1567
1567
|
* Returns both system defaults and organization-owned configurations.
|
|
1568
|
+
* Use each item's `is_archived` flag to distinguish archived entries.
|
|
1568
1569
|
*
|
|
1569
1570
|
* @returns Array of model configurations
|
|
1570
1571
|
*/
|
|
@@ -1577,10 +1578,10 @@ function createCyberdeskClient(apiKey, baseUrl, options) {
|
|
|
1577
1578
|
* @param data - ModelConfigurationCreate with:
|
|
1578
1579
|
* - name: Display name for the configuration
|
|
1579
1580
|
* - provider: LLM provider (openai, anthropic, google, azure, custom)
|
|
1580
|
-
* -
|
|
1581
|
+
* - model: The model identifier (e.g., 'gpt-4o', 'claude-sonnet-4-20250514')
|
|
1581
1582
|
* - api_key: Optional API key (stored securely in Basis Theory)
|
|
1582
|
-
* - base_url: Optional custom base URL for the provider
|
|
1583
1583
|
* - description: Optional description
|
|
1584
|
+
* - is_archived: Optional flag to archive the configuration
|
|
1584
1585
|
* @returns Created model configuration
|
|
1585
1586
|
*/
|
|
1586
1587
|
create: (data) => __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1605,6 +1606,7 @@ function createCyberdeskClient(apiKey, baseUrl, options) {
|
|
|
1605
1606
|
* Update a model configuration
|
|
1606
1607
|
*
|
|
1607
1608
|
* Note: Only organization-owned configurations can be updated. System defaults cannot be modified.
|
|
1609
|
+
* Supports toggling `is_archived` for soft-archiving model configurations.
|
|
1608
1610
|
*
|
|
1609
1611
|
* @param modelConfigurationId - The ID of the model configuration to update
|
|
1610
1612
|
* @param data - Update data
|