cyberdesk 2.2.0 → 2.2.1
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 +9 -2
- package/dist/client/sdk.gen.js +13 -2
- package/dist/client/types.gen.d.ts +29 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -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, TDataShape, 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, DeleteWorkflowV1WorkflowsWorkflowIdDeleteData, GetWorkflowV1WorkflowsWorkflowIdGetData, UpdateWorkflowV1WorkflowsWorkflowIdPatchData, GetWorkflowVersionsV1WorkflowsWorkflowIdVersionsGetData, ListRunsV1RunsGetData, CreateRunV1RunsPostData, DeleteRunV1RunsRunIdDeleteData, GetRunV1RunsRunIdGetData, UpdateRunV1RunsRunIdPatchData, 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, GetLatestTrajectoryForWorkflowV1WorkflowsWorkflowIdLatestTrajectoryGetData, GetScreenshotV1ComputerMachineIdDisplayScreenshotGetData, GetDisplayDimensionsV1ComputerMachineIdDisplayDimensionsGetData, KeyboardTypeV1ComputerMachineIdInputKeyboardTypePostData, KeyboardKeyV1ComputerMachineIdInputKeyboardKeyPostData, CopyToClipboardV1ComputerMachineIdCopyToClipboardPostData, GetMousePositionV1ComputerMachineIdInputMousePositionGetData, MouseMoveV1ComputerMachineIdInputMouseMovePostData, MouseClickV1ComputerMachineIdInputMouseClickPostData, MouseScrollV1ComputerMachineIdInputMouseScrollPostData, MouseDragV1ComputerMachineIdInputMouseDragPostData, FsListV1ComputerMachineIdFsListGetData, FsReadV1ComputerMachineIdFsReadGetData, FsWriteV1ComputerMachineIdFsWritePostData, PowershellExecV1ComputerMachineIdShellPowershellExecPostData, PowershellSessionV1ComputerMachineIdShellPowershellSessionPostData, DummyTestEndpointV1TestPostData, RootGetData, HealthHealthGetData, HealthDbHealthDbGetData } from './types.gen';
|
|
2
|
+
import type { HealthCheckV1HealthGetData, DatabaseHealthCheckV1HealthDbGetData, ListMachinesV1MachinesGetData, CreateMachineV1MachinesPostData, DeleteMachineV1MachinesMachineIdDeleteData, GetMachineV1MachinesMachineIdGetData, UpdateMachineV1MachinesMachineIdPatchData, GetMachinePoolsV1MachinesMachineIdPoolsGetData, UpdateMachinePoolsV1MachinesMachineIdPoolsPutData, ListPoolsV1PoolsGetData, CreatePoolV1PoolsPostData, DeletePoolV1PoolsPoolIdDeleteData, GetPoolV1PoolsPoolIdGetData, UpdatePoolV1PoolsPoolIdPatchData, RemoveMachinesFromPoolV1PoolsPoolIdMachinesDeleteData, AddMachinesToPoolV1PoolsPoolIdMachinesPostData, ListWorkflowsV1WorkflowsGetData, CreateWorkflowV1WorkflowsPostData, DeleteWorkflowV1WorkflowsWorkflowIdDeleteData, GetWorkflowV1WorkflowsWorkflowIdGetData, UpdateWorkflowV1WorkflowsWorkflowIdPatchData, GetWorkflowVersionsV1WorkflowsWorkflowIdVersionsGetData, ListRunsV1RunsGetData, CreateRunV1RunsPostData, DeleteRunV1RunsRunIdDeleteData, GetRunV1RunsRunIdGetData, UpdateRunV1RunsRunIdPatchData, 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, GetLatestTrajectoryForWorkflowV1WorkflowsWorkflowIdLatestTrajectoryGetData, GetScreenshotV1ComputerMachineIdDisplayScreenshotGetData, GetDisplayDimensionsV1ComputerMachineIdDisplayDimensionsGetData, KeyboardTypeV1ComputerMachineIdInputKeyboardTypePostData, KeyboardKeyV1ComputerMachineIdInputKeyboardKeyPostData, CopyToClipboardV1ComputerMachineIdCopyToClipboardPostData, GetMousePositionV1ComputerMachineIdInputMousePositionGetData, MouseMoveV1ComputerMachineIdInputMouseMovePostData, MouseClickV1ComputerMachineIdInputMouseClickPostData, MouseScrollV1ComputerMachineIdInputMouseScrollPostData, MouseDragV1ComputerMachineIdInputMouseDragPostData, FsListV1ComputerMachineIdFsListGetData, FsReadV1ComputerMachineIdFsReadGetData, FsWriteV1ComputerMachineIdFsWritePostData, PowershellExecV1ComputerMachineIdShellPowershellExecPostData, PowershellSessionV1ComputerMachineIdShellPowershellSessionPostData, DummyTestEndpointV1TestPostData, DbPingInternalDebugDbPingGetData, RootGetData, HealthHealthGetData, HealthDbHealthDbGetData } 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
|
|
@@ -433,7 +433,7 @@ export declare const getDisplayDimensionsV1ComputerMachineIdDisplayDimensionsGet
|
|
|
433
433
|
export declare const keyboardTypeV1ComputerMachineIdInputKeyboardTypePost: <ThrowOnError extends boolean = false>(options: Options<KeyboardTypeV1ComputerMachineIdInputKeyboardTypePostData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<void, import("./types.gen").HttpValidationError, ThrowOnError>;
|
|
434
434
|
/**
|
|
435
435
|
* Send key combination
|
|
436
|
-
* Send a key combination (e.g., 'ctrl+a', 'alt+tab').
|
|
436
|
+
* Send a key combination (e.g., 'ctrl+a', 'alt+tab').
|
|
437
437
|
*/
|
|
438
438
|
export declare const keyboardKeyV1ComputerMachineIdInputKeyboardKeyPost: <ThrowOnError extends boolean = false>(options: Options<KeyboardKeyV1ComputerMachineIdInputKeyboardKeyPostData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<void, import("./types.gen").HttpValidationError, ThrowOnError>;
|
|
439
439
|
/**
|
|
@@ -517,6 +517,13 @@ export declare const powershellSessionV1ComputerMachineIdShellPowershellSessionP
|
|
|
517
517
|
export declare const dummyTestEndpointV1TestPost: <ThrowOnError extends boolean = false>(options?: Options<DummyTestEndpointV1TestPostData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<{
|
|
518
518
|
[key: string]: unknown;
|
|
519
519
|
}, unknown, ThrowOnError>;
|
|
520
|
+
/**
|
|
521
|
+
* Db Ping
|
|
522
|
+
* Execute a lightweight `SELECT 1` to validate DB connectivity and expose pool stats.
|
|
523
|
+
*
|
|
524
|
+
* Returns JSON payload with `ok` boolean, pool metrics, and optional error metadata.
|
|
525
|
+
*/
|
|
526
|
+
export declare const dbPingInternalDebugDbPingGet: <ThrowOnError extends boolean = false>(options?: Options<DbPingInternalDebugDbPingGetData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<unknown, unknown, ThrowOnError>;
|
|
520
527
|
/**
|
|
521
528
|
* Root
|
|
522
529
|
* Root endpoint with service information
|
package/dist/client/sdk.gen.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
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.updateRunV1RunsRunIdPatch = exports.getRunV1RunsRunIdGet = exports.deleteRunV1RunsRunIdDelete = exports.createRunV1RunsPost = exports.listRunsV1RunsGet = exports.getWorkflowVersionsV1WorkflowsWorkflowIdVersionsGet = exports.updateWorkflowV1WorkflowsWorkflowIdPatch = exports.getWorkflowV1WorkflowsWorkflowIdGet = exports.deleteWorkflowV1WorkflowsWorkflowIdDelete = 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
|
-
exports.healthDbHealthDbGet = exports.healthHealthGet = exports.rootGet = exports.dummyTestEndpointV1TestPost = 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.updateTrajectoryV1TrajectoriesTrajectoryIdPatch = exports.getTrajectoryV1TrajectoriesTrajectoryIdGet = void 0;
|
|
5
|
+
exports.healthDbHealthDbGet = exports.healthHealthGet = exports.rootGet = exports.dbPingInternalDebugDbPingGet = exports.dummyTestEndpointV1TestPost = 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.updateTrajectoryV1TrajectoriesTrajectoryIdPatch = exports.getTrajectoryV1TrajectoriesTrajectoryIdGet = void 0;
|
|
6
6
|
const client_gen_1 = require("./client.gen");
|
|
7
7
|
/**
|
|
8
8
|
* Health Check
|
|
@@ -914,7 +914,7 @@ const keyboardTypeV1ComputerMachineIdInputKeyboardTypePost = (options) => {
|
|
|
914
914
|
exports.keyboardTypeV1ComputerMachineIdInputKeyboardTypePost = keyboardTypeV1ComputerMachineIdInputKeyboardTypePost;
|
|
915
915
|
/**
|
|
916
916
|
* Send key combination
|
|
917
|
-
* Send a key combination (e.g., 'ctrl+a', 'alt+tab').
|
|
917
|
+
* Send a key combination (e.g., 'ctrl+a', 'alt+tab').
|
|
918
918
|
*/
|
|
919
919
|
const keyboardKeyV1ComputerMachineIdInputKeyboardKeyPost = (options) => {
|
|
920
920
|
var _a;
|
|
@@ -1101,6 +1101,17 @@ const dummyTestEndpointV1TestPost = (options) => {
|
|
|
1101
1101
|
], url: '/v1/test' }, options));
|
|
1102
1102
|
};
|
|
1103
1103
|
exports.dummyTestEndpointV1TestPost = dummyTestEndpointV1TestPost;
|
|
1104
|
+
/**
|
|
1105
|
+
* Db Ping
|
|
1106
|
+
* Execute a lightweight `SELECT 1` to validate DB connectivity and expose pool stats.
|
|
1107
|
+
*
|
|
1108
|
+
* Returns JSON payload with `ok` boolean, pool metrics, and optional error metadata.
|
|
1109
|
+
*/
|
|
1110
|
+
const dbPingInternalDebugDbPingGet = (options) => {
|
|
1111
|
+
var _a;
|
|
1112
|
+
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));
|
|
1113
|
+
};
|
|
1114
|
+
exports.dbPingInternalDebugDbPingGet = dbPingInternalDebugDbPingGet;
|
|
1104
1115
|
/**
|
|
1105
1116
|
* Root
|
|
1106
1117
|
* Root endpoint with service information
|
|
@@ -596,7 +596,7 @@ export type RunCreate = {
|
|
|
596
596
|
* These are optional fields beyond the essential identifiers that are always returned
|
|
597
597
|
* (id, workflow_id, machine_id, status, created_at).
|
|
598
598
|
*/
|
|
599
|
-
export type RunField = 'user_id' | 'organization_id' | 'error' | 'output_data' | 'input_attachment_ids' | 'output_attachment_ids' | 'run_message_history' | 'input_values' | 'pool_ids' | 'sensitive_input_aliases' | 'session_id' | 'session_alias' | 'release_session_after' | 'started_at' | 'ended_at' | 'machine_id';
|
|
599
|
+
export type RunField = 'user_id' | 'organization_id' | 'error' | 'output_data' | 'input_attachment_ids' | 'output_attachment_ids' | 'run_message_history' | 'input_values' | 'pool_ids' | 'sensitive_input_aliases' | 'usage_metadata' | 'session_id' | 'session_alias' | 'release_session_after' | 'started_at' | 'ended_at' | 'machine_id';
|
|
600
600
|
/**
|
|
601
601
|
* Run response schema
|
|
602
602
|
*/
|
|
@@ -623,6 +623,12 @@ export type RunResponse = {
|
|
|
623
623
|
sensitive_input_aliases?: {
|
|
624
624
|
[key: string]: string;
|
|
625
625
|
} | null;
|
|
626
|
+
/**
|
|
627
|
+
* Arbitrary usage/billing metadata captured during a run (schema is flexible)
|
|
628
|
+
*/
|
|
629
|
+
usage_metadata?: {
|
|
630
|
+
[key: string]: unknown;
|
|
631
|
+
} | null;
|
|
626
632
|
session_id?: string | null;
|
|
627
633
|
session_alias?: string | null;
|
|
628
634
|
release_session_after?: boolean | null;
|
|
@@ -693,8 +699,18 @@ export type RunUpdate = {
|
|
|
693
699
|
input_values?: {
|
|
694
700
|
[key: string]: unknown;
|
|
695
701
|
} | null;
|
|
702
|
+
/**
|
|
703
|
+
* Arbitrary usage/billing metadata captured during a run (schema is flexible)
|
|
704
|
+
*/
|
|
705
|
+
usage_metadata?: {
|
|
706
|
+
[key: string]: unknown;
|
|
707
|
+
} | null;
|
|
696
708
|
started_at?: string | null;
|
|
697
709
|
ended_at?: string | null;
|
|
710
|
+
/**
|
|
711
|
+
* Set to True to indicate this run released the session
|
|
712
|
+
*/
|
|
713
|
+
release_session_after?: boolean | null;
|
|
698
714
|
};
|
|
699
715
|
/**
|
|
700
716
|
* Schema for creating a trajectory
|
|
@@ -2481,6 +2497,18 @@ export type DummyTestEndpointV1TestPostResponses = {
|
|
|
2481
2497
|
};
|
|
2482
2498
|
};
|
|
2483
2499
|
export type DummyTestEndpointV1TestPostResponse = DummyTestEndpointV1TestPostResponses[keyof DummyTestEndpointV1TestPostResponses];
|
|
2500
|
+
export type DbPingInternalDebugDbPingGetData = {
|
|
2501
|
+
body?: never;
|
|
2502
|
+
path?: never;
|
|
2503
|
+
query?: never;
|
|
2504
|
+
url: '/internal/debug/db-ping';
|
|
2505
|
+
};
|
|
2506
|
+
export type DbPingInternalDebugDbPingGetResponses = {
|
|
2507
|
+
/**
|
|
2508
|
+
* Successful Response
|
|
2509
|
+
*/
|
|
2510
|
+
200: unknown;
|
|
2511
|
+
};
|
|
2484
2512
|
export type RootGetData = {
|
|
2485
2513
|
body?: never;
|
|
2486
2514
|
path?: never;
|
package/dist/index.d.ts
CHANGED
|
@@ -494,7 +494,7 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string):
|
|
|
494
494
|
* @param params.machine_id - Filter by machine ID
|
|
495
495
|
* @param params.session_id - Filter by session ID
|
|
496
496
|
* @param params.fields - Optional list of fields to include per run (projection). Available fields include:
|
|
497
|
-
* started_at, ended_at, error, output_data, input_values, and more.
|
|
497
|
+
* started_at, ended_at, error, output_data, input_values, usage_metadata, and more.
|
|
498
498
|
* @returns Paginated list of runs including timing fields:
|
|
499
499
|
* - created_at: When run was created
|
|
500
500
|
* - started_at: When run execution started (null for SCHEDULING runs)
|
|
@@ -653,7 +653,7 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string):
|
|
|
653
653
|
* Update a run
|
|
654
654
|
*
|
|
655
655
|
* @param runId - The ID of the run to update
|
|
656
|
-
* @param data - Update data (status, output_data, error messages, etc.)
|
|
656
|
+
* @param data - Update data (status, output_data, error messages, usage_metadata, etc.)
|
|
657
657
|
* @returns Updated run details
|
|
658
658
|
*/
|
|
659
659
|
update: (runId: string, data: RunUpdate) => Promise<({
|
package/dist/index.js
CHANGED
|
@@ -484,7 +484,7 @@ function createCyberdeskClient(apiKey, baseUrl) {
|
|
|
484
484
|
* @param params.machine_id - Filter by machine ID
|
|
485
485
|
* @param params.session_id - Filter by session ID
|
|
486
486
|
* @param params.fields - Optional list of fields to include per run (projection). Available fields include:
|
|
487
|
-
* started_at, ended_at, error, output_data, input_values, and more.
|
|
487
|
+
* started_at, ended_at, error, output_data, input_values, usage_metadata, and more.
|
|
488
488
|
* @returns Paginated list of runs including timing fields:
|
|
489
489
|
* - created_at: When run was created
|
|
490
490
|
* - started_at: When run execution started (null for SCHEDULING runs)
|
|
@@ -622,7 +622,7 @@ function createCyberdeskClient(apiKey, baseUrl) {
|
|
|
622
622
|
* Update a run
|
|
623
623
|
*
|
|
624
624
|
* @param runId - The ID of the run to update
|
|
625
|
-
* @param data - Update data (status, output_data, error messages, etc.)
|
|
625
|
+
* @param data - Update data (status, output_data, error messages, usage_metadata, etc.)
|
|
626
626
|
* @returns Updated run details
|
|
627
627
|
*/
|
|
628
628
|
update: (runId, data) => __awaiter(this, void 0, void 0, function* () {
|