@daytonaio/sdk 0.128.0-alpha.1 → 0.128.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/package.json +8 -20
- package/{cjs → src}/CodeInterpreter.d.ts +0 -1
- package/src/CodeInterpreter.js.map +1 -0
- package/{esm → src}/ComputerUse.d.ts +0 -1
- package/src/ComputerUse.js.map +1 -0
- package/{cjs → src}/Daytona.d.ts +1 -2
- package/{cjs → src}/Daytona.js +8 -6
- package/{cjs → src}/Daytona.js.map +1 -1
- package/{esm → src}/FileSystem.d.ts +0 -1
- package/src/FileSystem.js.map +1 -0
- package/{esm → src}/Git.d.ts +0 -1
- package/src/Git.js.map +1 -0
- package/{cjs → src}/Image.d.ts +0 -21
- package/{cjs → src}/Image.js +91 -123
- package/src/Image.js.map +1 -0
- package/{cjs → src}/LspServer.d.ts +0 -1
- package/src/LspServer.js.map +1 -0
- package/{esm → src}/ObjectStorage.d.ts +0 -1
- package/src/ObjectStorage.js.map +1 -0
- package/{cjs → src}/Process.d.ts +0 -1
- package/src/Process.js.map +1 -0
- package/{cjs → src}/PtyHandle.d.ts +0 -1
- package/src/PtyHandle.js.map +1 -0
- package/{cjs → src}/Sandbox.d.ts +17 -2
- package/{cjs → src}/Sandbox.js +27 -1
- package/src/Sandbox.js.map +1 -0
- package/{cjs → src}/Snapshot.d.ts +0 -2
- package/{cjs → src}/Snapshot.js +1 -9
- package/src/Snapshot.js.map +1 -0
- package/{esm → src}/Volume.d.ts +0 -1
- package/src/Volume.js.map +1 -0
- package/{cjs → src}/code-toolbox/SandboxJsCodeToolbox.d.ts +0 -1
- package/src/code-toolbox/SandboxJsCodeToolbox.js.map +1 -0
- package/{cjs → src}/code-toolbox/SandboxPythonCodeToolbox.d.ts +0 -1
- package/src/code-toolbox/SandboxPythonCodeToolbox.js.map +1 -0
- package/{cjs → src}/code-toolbox/SandboxTsCodeToolbox.d.ts +0 -1
- package/src/code-toolbox/SandboxTsCodeToolbox.js.map +1 -0
- package/{esm → src}/errors/DaytonaError.d.ts +0 -1
- package/src/errors/DaytonaError.js.map +1 -0
- package/{cjs → src}/index.d.ts +0 -1
- package/src/index.js.map +1 -0
- package/{esm → src}/types/Charts.d.ts +0 -1
- package/src/types/Charts.js.map +1 -0
- package/{esm → src}/types/CodeInterpreter.d.ts +0 -1
- package/src/types/CodeInterpreter.js.map +1 -0
- package/{cjs → src}/types/ExecuteResponse.d.ts +0 -1
- package/src/types/ExecuteResponse.js.map +1 -0
- package/{cjs → src}/types/Pty.d.ts +0 -1
- package/src/types/Pty.js.map +1 -0
- package/{cjs → src}/utils/ArtifactParser.d.ts +0 -1
- package/src/utils/ArtifactParser.js.map +1 -0
- package/{esm → src}/utils/Binary.d.ts +0 -1
- package/src/utils/Binary.js.map +1 -0
- package/{cjs → src}/utils/FileTransfer.d.ts +0 -1
- package/src/utils/FileTransfer.js.map +1 -0
- package/{cjs → src}/utils/Import.d.ts +15 -2
- package/src/utils/Import.js +77 -0
- package/src/utils/Import.js.map +1 -0
- package/{esm → src}/utils/Multipart.d.ts +0 -1
- package/src/utils/Multipart.js.map +1 -0
- package/{cjs → src}/utils/Runtime.d.ts +0 -1
- package/src/utils/Runtime.js.map +1 -0
- package/{cjs → src}/utils/Stream.d.ts +0 -1
- package/src/utils/Stream.js.map +1 -0
- package/{esm → src}/utils/WebSocket.d.ts +0 -1
- package/src/utils/WebSocket.js.map +1 -0
- package/LICENSE +0 -190
- package/cjs/CodeInterpreter.d.ts.map +0 -1
- package/cjs/CodeInterpreter.js.map +0 -1
- package/cjs/ComputerUse.d.ts +0 -443
- package/cjs/ComputerUse.d.ts.map +0 -1
- package/cjs/ComputerUse.js.map +0 -1
- package/cjs/Daytona.d.ts.map +0 -1
- package/cjs/FileSystem.d.ts +0 -328
- package/cjs/FileSystem.d.ts.map +0 -1
- package/cjs/FileSystem.js.map +0 -1
- package/cjs/Git.d.ts +0 -203
- package/cjs/Git.d.ts.map +0 -1
- package/cjs/Git.js.map +0 -1
- package/cjs/Image.d.ts.map +0 -1
- package/cjs/Image.js.map +0 -1
- package/cjs/LspServer.d.ts.map +0 -1
- package/cjs/LspServer.js.map +0 -1
- package/cjs/ObjectStorage.d.ts +0 -79
- package/cjs/ObjectStorage.d.ts.map +0 -1
- package/cjs/ObjectStorage.js.map +0 -1
- package/cjs/Process.d.ts.map +0 -1
- package/cjs/Process.js.map +0 -1
- package/cjs/PtyHandle.d.ts.map +0 -1
- package/cjs/PtyHandle.js.map +0 -1
- package/cjs/README.md +0 -147
- package/cjs/Sandbox.d.ts.map +0 -1
- package/cjs/Sandbox.js.map +0 -1
- package/cjs/Snapshot.d.ts.map +0 -1
- package/cjs/Snapshot.js.map +0 -1
- package/cjs/Volume.d.ts +0 -84
- package/cjs/Volume.d.ts.map +0 -1
- package/cjs/Volume.js.map +0 -1
- package/cjs/code-toolbox/SandboxJsCodeToolbox.d.ts.map +0 -1
- package/cjs/code-toolbox/SandboxJsCodeToolbox.js.map +0 -1
- package/cjs/code-toolbox/SandboxPythonCodeToolbox.d.ts.map +0 -1
- package/cjs/code-toolbox/SandboxPythonCodeToolbox.js.map +0 -1
- package/cjs/code-toolbox/SandboxTsCodeToolbox.d.ts.map +0 -1
- package/cjs/code-toolbox/SandboxTsCodeToolbox.js.map +0 -1
- package/cjs/errors/DaytonaError.d.ts +0 -32
- package/cjs/errors/DaytonaError.d.ts.map +0 -1
- package/cjs/errors/DaytonaError.js.map +0 -1
- package/cjs/index.d.ts.map +0 -1
- package/cjs/index.js.map +0 -1
- package/cjs/package.json +0 -3
- package/cjs/types/Charts.d.ts +0 -152
- package/cjs/types/Charts.d.ts.map +0 -1
- package/cjs/types/Charts.js.map +0 -1
- package/cjs/types/CodeInterpreter.d.ts +0 -77
- package/cjs/types/CodeInterpreter.d.ts.map +0 -1
- package/cjs/types/CodeInterpreter.js.map +0 -1
- package/cjs/types/ExecuteResponse.d.ts.map +0 -1
- package/cjs/types/ExecuteResponse.js.map +0 -1
- package/cjs/types/Pty.d.ts.map +0 -1
- package/cjs/types/Pty.js.map +0 -1
- package/cjs/utils/ArtifactParser.d.ts.map +0 -1
- package/cjs/utils/ArtifactParser.js.map +0 -1
- package/cjs/utils/Binary.d.ts +0 -39
- package/cjs/utils/Binary.d.ts.map +0 -1
- package/cjs/utils/Binary.js.map +0 -1
- package/cjs/utils/FileTransfer.d.ts.map +0 -1
- package/cjs/utils/FileTransfer.js.map +0 -1
- package/cjs/utils/Import.d.ts.map +0 -1
- package/cjs/utils/Import.js +0 -81
- package/cjs/utils/Import.js.map +0 -1
- package/cjs/utils/Multipart.d.ts +0 -27
- package/cjs/utils/Multipart.d.ts.map +0 -1
- package/cjs/utils/Multipart.js.map +0 -1
- package/cjs/utils/Runtime.d.ts.map +0 -1
- package/cjs/utils/Runtime.js.map +0 -1
- package/cjs/utils/Stream.d.ts.map +0 -1
- package/cjs/utils/Stream.js.map +0 -1
- package/cjs/utils/WebSocket.d.ts +0 -10
- package/cjs/utils/WebSocket.d.ts.map +0 -1
- package/cjs/utils/WebSocket.js.map +0 -1
- package/esm/CodeInterpreter.d.ts +0 -96
- package/esm/CodeInterpreter.d.ts.map +0 -1
- package/esm/CodeInterpreter.js +0 -295
- package/esm/CodeInterpreter.js.map +0 -1
- package/esm/ComputerUse.d.ts.map +0 -1
- package/esm/ComputerUse.js +0 -509
- package/esm/ComputerUse.js.map +0 -1
- package/esm/Daytona.d.ts +0 -354
- package/esm/Daytona.d.ts.map +0 -1
- package/esm/Daytona.js +0 -410
- package/esm/Daytona.js.map +0 -1
- package/esm/FileSystem.d.ts.map +0 -1
- package/esm/FileSystem.js +0 -331
- package/esm/FileSystem.js.map +0 -1
- package/esm/Git.d.ts.map +0 -1
- package/esm/Git.js +0 -260
- package/esm/Git.js.map +0 -1
- package/esm/Image.d.ts +0 -285
- package/esm/Image.d.ts.map +0 -1
- package/esm/Image.js +0 -569
- package/esm/Image.js.map +0 -1
- package/esm/LspServer.d.ts +0 -172
- package/esm/LspServer.d.ts.map +0 -1
- package/esm/LspServer.js +0 -204
- package/esm/LspServer.js.map +0 -1
- package/esm/ObjectStorage.d.ts.map +0 -1
- package/esm/ObjectStorage.js +0 -187
- package/esm/ObjectStorage.js.map +0 -1
- package/esm/Process.d.ts +0 -442
- package/esm/Process.d.ts.map +0 -1
- package/esm/Process.js +0 -644
- package/esm/Process.js.map +0 -1
- package/esm/PtyHandle.d.ts +0 -155
- package/esm/PtyHandle.d.ts.map +0 -1
- package/esm/PtyHandle.js +0 -374
- package/esm/PtyHandle.js.map +0 -1
- package/esm/README.md +0 -147
- package/esm/Sandbox.d.ts +0 -359
- package/esm/Sandbox.d.ts.map +0 -1
- package/esm/Sandbox.js +0 -532
- package/esm/Sandbox.js.map +0 -1
- package/esm/Snapshot.d.ts +0 -138
- package/esm/Snapshot.d.ts.map +0 -1
- package/esm/Snapshot.js +0 -207
- package/esm/Snapshot.js.map +0 -1
- package/esm/Volume.d.ts.map +0 -1
- package/esm/Volume.js +0 -95
- package/esm/Volume.js.map +0 -1
- package/esm/code-toolbox/SandboxJsCodeToolbox.d.ts +0 -6
- package/esm/code-toolbox/SandboxJsCodeToolbox.d.ts.map +0 -1
- package/esm/code-toolbox/SandboxJsCodeToolbox.js +0 -13
- package/esm/code-toolbox/SandboxJsCodeToolbox.js.map +0 -1
- package/esm/code-toolbox/SandboxPythonCodeToolbox.d.ts +0 -12
- package/esm/code-toolbox/SandboxPythonCodeToolbox.d.ts.map +0 -1
- package/esm/code-toolbox/SandboxPythonCodeToolbox.js +0 -355
- package/esm/code-toolbox/SandboxPythonCodeToolbox.js.map +0 -1
- package/esm/code-toolbox/SandboxTsCodeToolbox.d.ts +0 -6
- package/esm/code-toolbox/SandboxTsCodeToolbox.d.ts.map +0 -1
- package/esm/code-toolbox/SandboxTsCodeToolbox.js +0 -14
- package/esm/code-toolbox/SandboxTsCodeToolbox.js.map +0 -1
- package/esm/errors/DaytonaError.d.ts.map +0 -1
- package/esm/errors/DaytonaError.js +0 -44
- package/esm/errors/DaytonaError.js.map +0 -1
- package/esm/index.d.ts +0 -22
- package/esm/index.d.ts.map +0 -1
- package/esm/index.js +0 -22
- package/esm/index.js.map +0 -1
- package/esm/package.json +0 -3
- package/esm/types/Charts.d.ts.map +0 -1
- package/esm/types/Charts.js +0 -42
- package/esm/types/Charts.js.map +0 -1
- package/esm/types/CodeInterpreter.d.ts.map +0 -1
- package/esm/types/CodeInterpreter.js +0 -6
- package/esm/types/CodeInterpreter.js.map +0 -1
- package/esm/types/ExecuteResponse.d.ts +0 -26
- package/esm/types/ExecuteResponse.d.ts.map +0 -1
- package/esm/types/ExecuteResponse.js +0 -6
- package/esm/types/ExecuteResponse.js.map +0 -1
- package/esm/types/Pty.d.ts +0 -48
- package/esm/types/Pty.d.ts.map +0 -1
- package/esm/types/Pty.js +0 -6
- package/esm/types/Pty.js.map +0 -1
- package/esm/utils/ArtifactParser.d.ts +0 -14
- package/esm/utils/ArtifactParser.d.ts.map +0 -1
- package/esm/utils/ArtifactParser.js +0 -51
- package/esm/utils/ArtifactParser.js.map +0 -1
- package/esm/utils/Binary.d.ts.map +0 -1
- package/esm/utils/Binary.js +0 -157
- package/esm/utils/Binary.js.map +0 -1
- package/esm/utils/FileTransfer.d.ts +0 -15
- package/esm/utils/FileTransfer.d.ts.map +0 -1
- package/esm/utils/FileTransfer.js +0 -209
- package/esm/utils/FileTransfer.js.map +0 -1
- package/esm/utils/Import.d.ts +0 -211
- package/esm/utils/Import.d.ts.map +0 -1
- package/esm/utils/Import.js +0 -45
- package/esm/utils/Import.js.map +0 -1
- package/esm/utils/Multipart.d.ts.map +0 -1
- package/esm/utils/Multipart.js +0 -107
- package/esm/utils/Multipart.js.map +0 -1
- package/esm/utils/Runtime.d.ts +0 -37
- package/esm/utils/Runtime.d.ts.map +0 -1
- package/esm/utils/Runtime.js +0 -57
- package/esm/utils/Runtime.js.map +0 -1
- package/esm/utils/Stream.d.ts +0 -20
- package/esm/utils/Stream.d.ts.map +0 -1
- package/esm/utils/Stream.js +0 -360
- package/esm/utils/Stream.js.map +0 -1
- package/esm/utils/WebSocket.d.ts.map +0 -1
- package/esm/utils/WebSocket.js +0 -22
- package/esm/utils/WebSocket.js.map +0 -1
- /package/{cjs → src}/CodeInterpreter.js +0 -0
- /package/{cjs → src}/ComputerUse.js +0 -0
- /package/{cjs → src}/FileSystem.js +0 -0
- /package/{cjs → src}/Git.js +0 -0
- /package/{cjs → src}/LspServer.js +0 -0
- /package/{cjs → src}/ObjectStorage.js +0 -0
- /package/{cjs → src}/Process.js +0 -0
- /package/{cjs → src}/PtyHandle.js +0 -0
- /package/{cjs → src}/Volume.js +0 -0
- /package/{cjs → src}/code-toolbox/SandboxJsCodeToolbox.js +0 -0
- /package/{cjs → src}/code-toolbox/SandboxPythonCodeToolbox.js +0 -0
- /package/{cjs → src}/code-toolbox/SandboxTsCodeToolbox.js +0 -0
- /package/{cjs → src}/errors/DaytonaError.js +0 -0
- /package/{cjs → src}/index.js +0 -0
- /package/{cjs → src}/types/Charts.js +0 -0
- /package/{cjs → src}/types/CodeInterpreter.js +0 -0
- /package/{cjs → src}/types/ExecuteResponse.js +0 -0
- /package/{cjs → src}/types/Pty.js +0 -0
- /package/{cjs → src}/utils/ArtifactParser.js +0 -0
- /package/{cjs → src}/utils/Binary.js +0 -0
- /package/{cjs → src}/utils/FileTransfer.js +0 -0
- /package/{cjs → src}/utils/Multipart.js +0 -0
- /package/{cjs → src}/utils/Runtime.js +0 -0
- /package/{cjs → src}/utils/Stream.js +0 -0
- /package/{cjs → src}/utils/WebSocket.js +0 -0
package/cjs/ComputerUse.d.ts
DELETED
|
@@ -1,443 +0,0 @@
|
|
|
1
|
-
import { ComputerUseApi, MousePositionResponse, MouseClickResponse, MouseDragResponse, ScreenshotResponse, DisplayInfoResponse, WindowsResponse, ComputerUseStartResponse, ComputerUseStopResponse, ComputerUseStatusResponse, ProcessStatusResponse, ProcessRestartResponse, ProcessLogsResponse, ProcessErrorsResponse } from '@daytonaio/toolbox-api-client';
|
|
2
|
-
/**
|
|
3
|
-
* Interface for region coordinates used in screenshot operations
|
|
4
|
-
*/
|
|
5
|
-
export interface ScreenshotRegion {
|
|
6
|
-
x: number;
|
|
7
|
-
y: number;
|
|
8
|
-
width: number;
|
|
9
|
-
height: number;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Interface for screenshot compression options
|
|
13
|
-
*/
|
|
14
|
-
export interface ScreenshotOptions {
|
|
15
|
-
showCursor?: boolean;
|
|
16
|
-
format?: string;
|
|
17
|
-
quality?: number;
|
|
18
|
-
scale?: number;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Mouse operations for computer use functionality
|
|
22
|
-
*/
|
|
23
|
-
export declare class Mouse {
|
|
24
|
-
private readonly apiClient;
|
|
25
|
-
constructor(apiClient: ComputerUseApi);
|
|
26
|
-
/**
|
|
27
|
-
* Gets the current mouse cursor position
|
|
28
|
-
*
|
|
29
|
-
* @returns {Promise<MousePositionResponse>} Current mouse position with x and y coordinates
|
|
30
|
-
*
|
|
31
|
-
* @example
|
|
32
|
-
* ```typescript
|
|
33
|
-
* const position = await sandbox.computerUse.mouse.getPosition();
|
|
34
|
-
* console.log(`Mouse is at: ${position.x}, ${position.y}`);
|
|
35
|
-
* ```
|
|
36
|
-
*/
|
|
37
|
-
getPosition(): Promise<MousePositionResponse>;
|
|
38
|
-
/**
|
|
39
|
-
* Moves the mouse cursor to the specified coordinates
|
|
40
|
-
*
|
|
41
|
-
* @param {number} x - The x coordinate to move to
|
|
42
|
-
* @param {number} y - The y coordinate to move to
|
|
43
|
-
* @returns {Promise<MousePositionResponse>} Position after move
|
|
44
|
-
*
|
|
45
|
-
* @example
|
|
46
|
-
* ```typescript
|
|
47
|
-
* const result = await sandbox.computerUse.mouse.move(100, 200);
|
|
48
|
-
* console.log(`Mouse moved to: ${result.x}, ${result.y}`);
|
|
49
|
-
* ```
|
|
50
|
-
*/
|
|
51
|
-
move(x: number, y: number): Promise<MousePositionResponse>;
|
|
52
|
-
/**
|
|
53
|
-
* Clicks the mouse at the specified coordinates
|
|
54
|
-
*
|
|
55
|
-
* @param {number} x - The x coordinate to click at
|
|
56
|
-
* @param {number} y - The y coordinate to click at
|
|
57
|
-
* @param {string} [button='left'] - The mouse button to click ('left', 'right', 'middle')
|
|
58
|
-
* @param {boolean} [double=false] - Whether to perform a double-click
|
|
59
|
-
* @returns {Promise<MouseClickResponse>} Click operation result
|
|
60
|
-
*
|
|
61
|
-
* @example
|
|
62
|
-
* ```typescript
|
|
63
|
-
* // Single left click
|
|
64
|
-
* const result = await sandbox.computerUse.mouse.click(100, 200);
|
|
65
|
-
*
|
|
66
|
-
* // Double click
|
|
67
|
-
* const doubleClick = await sandbox.computerUse.mouse.click(100, 200, 'left', true);
|
|
68
|
-
*
|
|
69
|
-
* // Right click
|
|
70
|
-
* const rightClick = await sandbox.computerUse.mouse.click(100, 200, 'right');
|
|
71
|
-
* ```
|
|
72
|
-
*/
|
|
73
|
-
click(x: number, y: number, button?: string, double?: boolean): Promise<MouseClickResponse>;
|
|
74
|
-
/**
|
|
75
|
-
* Drags the mouse from start coordinates to end coordinates
|
|
76
|
-
*
|
|
77
|
-
* @param {number} startX - The starting x coordinate
|
|
78
|
-
* @param {number} startY - The starting y coordinate
|
|
79
|
-
* @param {number} endX - The ending x coordinate
|
|
80
|
-
* @param {number} endY - The ending y coordinate
|
|
81
|
-
* @param {string} [button='left'] - The mouse button to use for dragging
|
|
82
|
-
* @returns {Promise<MouseDragResponse>} Drag operation result
|
|
83
|
-
*
|
|
84
|
-
* @example
|
|
85
|
-
* ```typescript
|
|
86
|
-
* const result = await sandbox.computerUse.mouse.drag(50, 50, 150, 150);
|
|
87
|
-
* console.log(`Dragged from ${result.from.x},${result.from.y} to ${result.to.x},${result.to.y}`);
|
|
88
|
-
* ```
|
|
89
|
-
*/
|
|
90
|
-
drag(startX: number, startY: number, endX: number, endY: number, button?: string): Promise<MouseDragResponse>;
|
|
91
|
-
/**
|
|
92
|
-
* Scrolls the mouse wheel at the specified coordinates
|
|
93
|
-
*
|
|
94
|
-
* @param {number} x - The x coordinate to scroll at
|
|
95
|
-
* @param {number} y - The y coordinate to scroll at
|
|
96
|
-
* @param {'up' | 'down'} direction - The direction to scroll
|
|
97
|
-
* @param {number} [amount=1] - The amount to scroll
|
|
98
|
-
* @returns {Promise<boolean>} Whether the scroll operation was successful
|
|
99
|
-
*
|
|
100
|
-
* @example
|
|
101
|
-
* ```typescript
|
|
102
|
-
* // Scroll up
|
|
103
|
-
* const scrollUp = await sandbox.computerUse.mouse.scroll(100, 200, 'up', 3);
|
|
104
|
-
*
|
|
105
|
-
* // Scroll down
|
|
106
|
-
* const scrollDown = await sandbox.computerUse.mouse.scroll(100, 200, 'down', 5);
|
|
107
|
-
* ```
|
|
108
|
-
*/
|
|
109
|
-
scroll(x: number, y: number, direction: 'up' | 'down', amount?: number): Promise<boolean>;
|
|
110
|
-
}
|
|
111
|
-
/**
|
|
112
|
-
* Keyboard operations for computer use functionality
|
|
113
|
-
*/
|
|
114
|
-
export declare class Keyboard {
|
|
115
|
-
private readonly apiClient;
|
|
116
|
-
constructor(apiClient: ComputerUseApi);
|
|
117
|
-
/**
|
|
118
|
-
* Types the specified text
|
|
119
|
-
*
|
|
120
|
-
* @param {string} text - The text to type
|
|
121
|
-
* @param {number} [delay=0] - Delay between characters in milliseconds
|
|
122
|
-
* @throws {DaytonaError} If the type operation fails
|
|
123
|
-
*
|
|
124
|
-
* @example
|
|
125
|
-
* ```typescript
|
|
126
|
-
* try {
|
|
127
|
-
* await sandbox.computerUse.keyboard.type('Hello, World!');
|
|
128
|
-
* console.log('Operation success');
|
|
129
|
-
* } catch (e) {
|
|
130
|
-
* console.log('Operation failed:', e);
|
|
131
|
-
* }
|
|
132
|
-
*
|
|
133
|
-
* // With delay between characters
|
|
134
|
-
* try {
|
|
135
|
-
* await sandbox.computerUse.keyboard.type('Slow typing', 100);
|
|
136
|
-
* console.log('Operation success');
|
|
137
|
-
* } catch (e) {
|
|
138
|
-
* console.log('Operation failed:', e);
|
|
139
|
-
* }
|
|
140
|
-
* ```
|
|
141
|
-
*/
|
|
142
|
-
type(text: string, delay?: number): Promise<void>;
|
|
143
|
-
/**
|
|
144
|
-
* Presses a key with optional modifiers
|
|
145
|
-
*
|
|
146
|
-
* @param {string} key - The key to press (e.g., 'Enter', 'Escape', 'Tab', 'a', 'A')
|
|
147
|
-
* @param {string[]} [modifiers=[]] - Modifier keys ('ctrl', 'alt', 'meta', 'shift')
|
|
148
|
-
* @throws {DaytonaError} If the press operation fails
|
|
149
|
-
*
|
|
150
|
-
* @example
|
|
151
|
-
* ```typescript
|
|
152
|
-
* // Press Enter
|
|
153
|
-
* try {
|
|
154
|
-
* await sandbox.computerUse.keyboard.press('Return');
|
|
155
|
-
* console.log('Operation success');
|
|
156
|
-
* } catch (e) {
|
|
157
|
-
* console.log('Operation failed:', e);
|
|
158
|
-
* }
|
|
159
|
-
*
|
|
160
|
-
* // Press Ctrl+C
|
|
161
|
-
* try {
|
|
162
|
-
* await sandbox.computerUse.keyboard.press('c', ['ctrl']);
|
|
163
|
-
* console.log('Operation success');
|
|
164
|
-
* } catch (e) {
|
|
165
|
-
* console.log('Operation failed:', e);
|
|
166
|
-
* }
|
|
167
|
-
*
|
|
168
|
-
* // Press Ctrl+Shift+T
|
|
169
|
-
* try {
|
|
170
|
-
* await sandbox.computerUse.keyboard.press('t', ['ctrl', 'shift']);
|
|
171
|
-
* console.log('Operation success');
|
|
172
|
-
* } catch (e) {
|
|
173
|
-
* console.log('Operation failed:', e);
|
|
174
|
-
* }
|
|
175
|
-
* ```
|
|
176
|
-
*/
|
|
177
|
-
press(key: string, modifiers?: string[]): Promise<void>;
|
|
178
|
-
/**
|
|
179
|
-
* Presses a hotkey combination
|
|
180
|
-
*
|
|
181
|
-
* @param {string} keys - The hotkey combination (e.g., 'ctrl+c', 'alt+tab', 'cmd+shift+t')
|
|
182
|
-
* @throws {DaytonaError} If the hotkey operation fails
|
|
183
|
-
*
|
|
184
|
-
* @example
|
|
185
|
-
* ```typescript
|
|
186
|
-
* // Copy
|
|
187
|
-
* try {
|
|
188
|
-
* await sandbox.computerUse.keyboard.hotkey('ctrl+c');
|
|
189
|
-
* console.log('Operation success');
|
|
190
|
-
* } catch (e) {
|
|
191
|
-
* console.log('Operation failed:', e);
|
|
192
|
-
* }
|
|
193
|
-
*
|
|
194
|
-
* // Paste
|
|
195
|
-
* try {
|
|
196
|
-
* await sandbox.computerUse.keyboard.hotkey('ctrl+v');
|
|
197
|
-
* console.log('Operation success');
|
|
198
|
-
* } catch (e) {
|
|
199
|
-
* console.log('Operation failed:', e);
|
|
200
|
-
* }
|
|
201
|
-
*
|
|
202
|
-
* // Alt+Tab
|
|
203
|
-
* try {
|
|
204
|
-
* await sandbox.computerUse.keyboard.hotkey('alt+tab');
|
|
205
|
-
* console.log('Operation success');
|
|
206
|
-
* } catch (e) {
|
|
207
|
-
* console.log('Operation failed:', e);
|
|
208
|
-
* }
|
|
209
|
-
* ```
|
|
210
|
-
*/
|
|
211
|
-
hotkey(keys: string): Promise<void>;
|
|
212
|
-
}
|
|
213
|
-
/**
|
|
214
|
-
* Screenshot operations for computer use functionality
|
|
215
|
-
*/
|
|
216
|
-
export declare class Screenshot {
|
|
217
|
-
private readonly apiClient;
|
|
218
|
-
constructor(apiClient: ComputerUseApi);
|
|
219
|
-
/**
|
|
220
|
-
* Takes a screenshot of the entire screen
|
|
221
|
-
*
|
|
222
|
-
* @param {boolean} [showCursor=false] - Whether to show the cursor in the screenshot
|
|
223
|
-
* @returns {Promise<ScreenshotResponse>} Screenshot data with base64 encoded image
|
|
224
|
-
*
|
|
225
|
-
* @example
|
|
226
|
-
* ```typescript
|
|
227
|
-
* const screenshot = await sandbox.computerUse.screenshot.takeFullScreen();
|
|
228
|
-
* console.log(`Screenshot size: ${screenshot.width}x${screenshot.height}`);
|
|
229
|
-
*
|
|
230
|
-
* // With cursor visible
|
|
231
|
-
* const withCursor = await sandbox.computerUse.screenshot.takeFullScreen(true);
|
|
232
|
-
* ```
|
|
233
|
-
*/
|
|
234
|
-
takeFullScreen(showCursor?: boolean): Promise<ScreenshotResponse>;
|
|
235
|
-
/**
|
|
236
|
-
* Takes a screenshot of a specific region
|
|
237
|
-
*
|
|
238
|
-
* @param {ScreenshotRegion} region - The region to capture
|
|
239
|
-
* @param {boolean} [showCursor=false] - Whether to show the cursor in the screenshot
|
|
240
|
-
* @returns {Promise<RegionScreenshotResponse>} Screenshot data with base64 encoded image
|
|
241
|
-
*
|
|
242
|
-
* @example
|
|
243
|
-
* ```typescript
|
|
244
|
-
* const region = { x: 100, y: 100, width: 300, height: 200 };
|
|
245
|
-
* const screenshot = await sandbox.computerUse.screenshot.takeRegion(region);
|
|
246
|
-
* console.log(`Captured region: ${screenshot.region.width}x${screenshot.region.height}`);
|
|
247
|
-
* ```
|
|
248
|
-
*/
|
|
249
|
-
takeRegion(region: ScreenshotRegion, showCursor?: boolean): Promise<ScreenshotResponse>;
|
|
250
|
-
/**
|
|
251
|
-
* Takes a compressed screenshot of the entire screen
|
|
252
|
-
*
|
|
253
|
-
* @param {ScreenshotOptions} [options={}] - Compression and display options
|
|
254
|
-
* @returns {Promise<CompressedScreenshotResponse>} Compressed screenshot data
|
|
255
|
-
*
|
|
256
|
-
* @example
|
|
257
|
-
* ```typescript
|
|
258
|
-
* // Default compression
|
|
259
|
-
* const screenshot = await sandbox.computerUse.screenshot.takeCompressed();
|
|
260
|
-
*
|
|
261
|
-
* // High quality JPEG
|
|
262
|
-
* const jpeg = await sandbox.computerUse.screenshot.takeCompressed({
|
|
263
|
-
* format: 'jpeg',
|
|
264
|
-
* quality: 95,
|
|
265
|
-
* showCursor: true
|
|
266
|
-
* });
|
|
267
|
-
*
|
|
268
|
-
* // Scaled down PNG
|
|
269
|
-
* const scaled = await sandbox.computerUse.screenshot.takeCompressed({
|
|
270
|
-
* format: 'png',
|
|
271
|
-
* scale: 0.5
|
|
272
|
-
* });
|
|
273
|
-
* ```
|
|
274
|
-
*/
|
|
275
|
-
takeCompressed(options?: ScreenshotOptions): Promise<ScreenshotResponse>;
|
|
276
|
-
/**
|
|
277
|
-
* Takes a compressed screenshot of a specific region
|
|
278
|
-
*
|
|
279
|
-
* @param {ScreenshotRegion} region - The region to capture
|
|
280
|
-
* @param {ScreenshotOptions} [options={}] - Compression and display options
|
|
281
|
-
* @returns {Promise<CompressedScreenshotResponse>} Compressed screenshot data
|
|
282
|
-
*
|
|
283
|
-
* @example
|
|
284
|
-
* ```typescript
|
|
285
|
-
* const region = { x: 0, y: 0, width: 800, height: 600 };
|
|
286
|
-
* const screenshot = await sandbox.computerUse.screenshot.takeCompressedRegion(region, {
|
|
287
|
-
* format: 'webp',
|
|
288
|
-
* quality: 80,
|
|
289
|
-
* showCursor: true
|
|
290
|
-
* });
|
|
291
|
-
* console.log(`Compressed size: ${screenshot.size_bytes} bytes`);
|
|
292
|
-
* ```
|
|
293
|
-
*/
|
|
294
|
-
takeCompressedRegion(region: ScreenshotRegion, options?: ScreenshotOptions): Promise<ScreenshotResponse>;
|
|
295
|
-
}
|
|
296
|
-
/**
|
|
297
|
-
* Display operations for computer use functionality
|
|
298
|
-
*/
|
|
299
|
-
export declare class Display {
|
|
300
|
-
private readonly apiClient;
|
|
301
|
-
constructor(apiClient: ComputerUseApi);
|
|
302
|
-
/**
|
|
303
|
-
* Gets information about the displays
|
|
304
|
-
*
|
|
305
|
-
* @returns {Promise<DisplayInfoResponse>} Display information including primary display and all available displays
|
|
306
|
-
*
|
|
307
|
-
* @example
|
|
308
|
-
* ```typescript
|
|
309
|
-
* const info = await sandbox.computerUse.display.getInfo();
|
|
310
|
-
* console.log(`Primary display: ${info.primary_display.width}x${info.primary_display.height}`);
|
|
311
|
-
* console.log(`Total displays: ${info.total_displays}`);
|
|
312
|
-
* info.displays.forEach((display, index) => {
|
|
313
|
-
* console.log(`Display ${index}: ${display.width}x${display.height} at ${display.x},${display.y}`);
|
|
314
|
-
* });
|
|
315
|
-
* ```
|
|
316
|
-
*/
|
|
317
|
-
getInfo(): Promise<DisplayInfoResponse>;
|
|
318
|
-
/**
|
|
319
|
-
* Gets the list of open windows
|
|
320
|
-
*
|
|
321
|
-
* @returns {Promise<WindowsResponse>} List of open windows with their IDs and titles
|
|
322
|
-
*
|
|
323
|
-
* @example
|
|
324
|
-
* ```typescript
|
|
325
|
-
* const windows = await sandbox.computerUse.display.getWindows();
|
|
326
|
-
* console.log(`Found ${windows.count} open windows:`);
|
|
327
|
-
* windows.windows.forEach(window => {
|
|
328
|
-
* console.log(`- ${window.title} (ID: ${window.id})`);
|
|
329
|
-
* });
|
|
330
|
-
* ```
|
|
331
|
-
*/
|
|
332
|
-
getWindows(): Promise<WindowsResponse>;
|
|
333
|
-
}
|
|
334
|
-
/**
|
|
335
|
-
* Computer Use functionality for interacting with the desktop environment.
|
|
336
|
-
*
|
|
337
|
-
* Provides access to mouse, keyboard, screenshot, and display operations
|
|
338
|
-
* for automating desktop interactions within a sandbox.
|
|
339
|
-
*
|
|
340
|
-
* @property {Mouse} mouse - Mouse operations interface
|
|
341
|
-
* @property {Keyboard} keyboard - Keyboard operations interface
|
|
342
|
-
* @property {Screenshot} screenshot - Screenshot operations interface
|
|
343
|
-
* @property {Display} display - Display operations interface
|
|
344
|
-
*
|
|
345
|
-
* @class
|
|
346
|
-
*/
|
|
347
|
-
export declare class ComputerUse {
|
|
348
|
-
private readonly apiClient;
|
|
349
|
-
readonly mouse: Mouse;
|
|
350
|
-
readonly keyboard: Keyboard;
|
|
351
|
-
readonly screenshot: Screenshot;
|
|
352
|
-
readonly display: Display;
|
|
353
|
-
constructor(apiClient: ComputerUseApi);
|
|
354
|
-
/**
|
|
355
|
-
* Starts all computer use processes (Xvfb, xfce4, x11vnc, novnc)
|
|
356
|
-
*
|
|
357
|
-
* @returns {Promise<ComputerUseStartResponse>} Computer use start response
|
|
358
|
-
*
|
|
359
|
-
* @example
|
|
360
|
-
* ```typescript
|
|
361
|
-
* const result = await sandbox.computerUse.start();
|
|
362
|
-
* console.log('Computer use processes started:', result.message);
|
|
363
|
-
* ```
|
|
364
|
-
*/
|
|
365
|
-
start(): Promise<ComputerUseStartResponse>;
|
|
366
|
-
/**
|
|
367
|
-
* Stops all computer use processes
|
|
368
|
-
*
|
|
369
|
-
* @returns {Promise<ComputerUseStopResponse>} Computer use stop response
|
|
370
|
-
*
|
|
371
|
-
* @example
|
|
372
|
-
* ```typescript
|
|
373
|
-
* const result = await sandbox.computerUse.stop();
|
|
374
|
-
* console.log('Computer use processes stopped:', result.message);
|
|
375
|
-
* ```
|
|
376
|
-
*/
|
|
377
|
-
stop(): Promise<ComputerUseStopResponse>;
|
|
378
|
-
/**
|
|
379
|
-
* Gets the status of all computer use processes
|
|
380
|
-
*
|
|
381
|
-
* @returns {Promise<ComputerUseStatusResponse>} Status information about all VNC desktop processes
|
|
382
|
-
*
|
|
383
|
-
* @example
|
|
384
|
-
* ```typescript
|
|
385
|
-
* const status = await sandbox.computerUse.getStatus();
|
|
386
|
-
* console.log('Computer use status:', status.status);
|
|
387
|
-
* ```
|
|
388
|
-
*/
|
|
389
|
-
getStatus(): Promise<ComputerUseStatusResponse>;
|
|
390
|
-
/**
|
|
391
|
-
* Gets the status of a specific VNC process
|
|
392
|
-
*
|
|
393
|
-
* @param {string} processName - Name of the process to check
|
|
394
|
-
* @returns {Promise<ProcessStatusResponse>} Status information about the specific process
|
|
395
|
-
*
|
|
396
|
-
* @example
|
|
397
|
-
* ```typescript
|
|
398
|
-
* const xvfbStatus = await sandbox.computerUse.getProcessStatus('xvfb');
|
|
399
|
-
* const noVncStatus = await sandbox.computerUse.getProcessStatus('novnc');
|
|
400
|
-
* ```
|
|
401
|
-
*/
|
|
402
|
-
getProcessStatus(processName: string): Promise<ProcessStatusResponse>;
|
|
403
|
-
/**
|
|
404
|
-
* Restarts a specific VNC process
|
|
405
|
-
*
|
|
406
|
-
* @param {string} processName - Name of the process to restart
|
|
407
|
-
* @returns {Promise<ProcessRestartResponse>} Process restart response
|
|
408
|
-
*
|
|
409
|
-
* @example
|
|
410
|
-
* ```typescript
|
|
411
|
-
* const result = await sandbox.computerUse.restartProcess('xfce4');
|
|
412
|
-
* console.log('XFCE4 process restarted:', result.message);
|
|
413
|
-
* ```
|
|
414
|
-
*/
|
|
415
|
-
restartProcess(processName: string): Promise<ProcessRestartResponse>;
|
|
416
|
-
/**
|
|
417
|
-
* Gets logs for a specific VNC process
|
|
418
|
-
*
|
|
419
|
-
* @param {string} processName - Name of the process to get logs for
|
|
420
|
-
* @returns {Promise<ProcessLogsResponse>} Process logs
|
|
421
|
-
*
|
|
422
|
-
* @example
|
|
423
|
-
* ```typescript
|
|
424
|
-
* const logsResp = await sandbox.computerUse.getProcessLogs('novnc');
|
|
425
|
-
* console.log('NoVNC logs:', logsResp.logs);
|
|
426
|
-
* ```
|
|
427
|
-
*/
|
|
428
|
-
getProcessLogs(processName: string): Promise<ProcessLogsResponse>;
|
|
429
|
-
/**
|
|
430
|
-
* Gets error logs for a specific VNC process
|
|
431
|
-
*
|
|
432
|
-
* @param {string} processName - Name of the process to get error logs for
|
|
433
|
-
* @returns {Promise<ProcessErrorsResponse>} Process error logs
|
|
434
|
-
*
|
|
435
|
-
* @example
|
|
436
|
-
* ```typescript
|
|
437
|
-
* const errorsResp = await sandbox.computerUse.getProcessErrors('x11vnc');
|
|
438
|
-
* console.log('X11VNC errors:', errorsResp.errors);
|
|
439
|
-
* ```
|
|
440
|
-
*/
|
|
441
|
-
getProcessErrors(processName: string): Promise<ProcessErrorsResponse>;
|
|
442
|
-
}
|
|
443
|
-
//# sourceMappingURL=ComputerUse.d.ts.map
|
package/cjs/ComputerUse.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ComputerUse.d.ts","sourceRoot":"","sources":["../../../../../libs/sdk-typescript/src/ComputerUse.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,cAAc,EACd,qBAAqB,EAGrB,kBAAkB,EAElB,iBAAiB,EAKjB,kBAAkB,E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;;;;;;;;;;;;;OAcG;IACU,OAAO,IAAI,OAAO,CAAC,mBAAmB,CAAC;IAKpD;;;;;;;;;;;;;OAaG;IACU,UAAU,IAAI,OAAO,CAAC,eAAe,CAAC;CAIpD;AAED;;;;;;;;;;;;GAYG;AACH,qBAAa,WAAW;IAMV,OAAO,CAAC,QAAQ,CAAC,SAAS;IALtC,SAAgB,KAAK,EAAE,KAAK,CAAA;IAC5B,SAAgB,QAAQ,EAAE,QAAQ,CAAA;IAClC,SAAgB,UAAU,EAAE,UAAU,CAAA;IACtC,SAAgB,OAAO,EAAE,OAAO,CAAA;gBAEH,SAAS,EAAE,cAAc;IAOtD;;;;;;;;;;OAUG;IACU,KAAK,IAAI,OAAO,CAAC,wBAAwB,CAAC;IAKvD;;;;;;;;;;OAUG;IACU,IAAI,IAAI,OAAO,CAAC,uBAAuB,CAAC;IAKrD;;;;;;;;;;OAUG;IACU,SAAS,IAAI,OAAO,CAAC,yBAAyB,CAAC;IAK5D;;;;;;;;;;;OAWG;IACU,gBAAgB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,qBAAqB,CAAC;IAKlF;;;;;;;;;;;OAWG;IACU,cAAc,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,sBAAsB,CAAC;IAKjF;;;;;;;;;;;OAWG;IACU,cAAc,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAK9E;;;;;;;;;;;OAWG;IACU,gBAAgB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,qBAAqB,CAAC;CAInF"}
|
package/cjs/ComputerUse.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ComputerUse.js","sourceRoot":"","sources":["../../../../../libs/sdk-typescript/src/ComputerUse.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AA8CH;;GAEG;AACH,MAAa,KAAK;IACa;IAA7B,YAA6B,SAAyB;QAAzB,cAAS,GAAT,SAAS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