@daytonaio/sdk 0.128.0-alpha.1 → 0.128.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (277) hide show
  1. package/package.json +8 -20
  2. package/{cjs → src}/CodeInterpreter.d.ts +0 -1
  3. package/src/CodeInterpreter.js.map +1 -0
  4. package/{esm → src}/ComputerUse.d.ts +0 -1
  5. package/src/ComputerUse.js.map +1 -0
  6. package/{cjs → src}/Daytona.d.ts +0 -1
  7. package/{cjs → src}/Daytona.js +0 -1
  8. package/src/Daytona.js.map +1 -0
  9. package/{esm → src}/FileSystem.d.ts +0 -1
  10. package/src/FileSystem.js.map +1 -0
  11. package/{esm → src}/Git.d.ts +0 -1
  12. package/src/Git.js.map +1 -0
  13. package/{cjs → src}/Image.d.ts +0 -21
  14. package/{cjs → src}/Image.js +91 -123
  15. package/src/Image.js.map +1 -0
  16. package/{cjs → src}/LspServer.d.ts +0 -1
  17. package/src/LspServer.js.map +1 -0
  18. package/{esm → src}/ObjectStorage.d.ts +0 -1
  19. package/src/ObjectStorage.js.map +1 -0
  20. package/{cjs → src}/Process.d.ts +0 -1
  21. package/src/Process.js.map +1 -0
  22. package/{cjs → src}/PtyHandle.d.ts +0 -1
  23. package/src/PtyHandle.js.map +1 -0
  24. package/{cjs → src}/Sandbox.d.ts +17 -2
  25. package/{cjs → src}/Sandbox.js +27 -1
  26. package/src/Sandbox.js.map +1 -0
  27. package/{cjs → src}/Snapshot.d.ts +0 -2
  28. package/{cjs → src}/Snapshot.js +1 -9
  29. package/src/Snapshot.js.map +1 -0
  30. package/{esm → src}/Volume.d.ts +0 -1
  31. package/src/Volume.js.map +1 -0
  32. package/{cjs → src}/code-toolbox/SandboxJsCodeToolbox.d.ts +0 -1
  33. package/src/code-toolbox/SandboxJsCodeToolbox.js.map +1 -0
  34. package/{cjs → src}/code-toolbox/SandboxPythonCodeToolbox.d.ts +0 -1
  35. package/src/code-toolbox/SandboxPythonCodeToolbox.js.map +1 -0
  36. package/{cjs → src}/code-toolbox/SandboxTsCodeToolbox.d.ts +0 -1
  37. package/src/code-toolbox/SandboxTsCodeToolbox.js.map +1 -0
  38. package/{esm → src}/errors/DaytonaError.d.ts +0 -1
  39. package/src/errors/DaytonaError.js.map +1 -0
  40. package/{cjs → src}/index.d.ts +0 -1
  41. package/src/index.js.map +1 -0
  42. package/{esm → src}/types/Charts.d.ts +0 -1
  43. package/src/types/Charts.js.map +1 -0
  44. package/{esm → src}/types/CodeInterpreter.d.ts +0 -1
  45. package/src/types/CodeInterpreter.js.map +1 -0
  46. package/{cjs → src}/types/ExecuteResponse.d.ts +0 -1
  47. package/src/types/ExecuteResponse.js.map +1 -0
  48. package/{cjs → src}/types/Pty.d.ts +0 -1
  49. package/src/types/Pty.js.map +1 -0
  50. package/{cjs → src}/utils/ArtifactParser.d.ts +0 -1
  51. package/src/utils/ArtifactParser.js.map +1 -0
  52. package/{esm → src}/utils/Binary.d.ts +0 -1
  53. package/src/utils/Binary.js.map +1 -0
  54. package/{cjs → src}/utils/FileTransfer.d.ts +0 -1
  55. package/src/utils/FileTransfer.js.map +1 -0
  56. package/{cjs → src}/utils/Import.d.ts +15 -2
  57. package/src/utils/Import.js +77 -0
  58. package/src/utils/Import.js.map +1 -0
  59. package/{esm → src}/utils/Multipart.d.ts +0 -1
  60. package/src/utils/Multipart.js.map +1 -0
  61. package/{cjs → src}/utils/Runtime.d.ts +0 -1
  62. package/src/utils/Runtime.js.map +1 -0
  63. package/{cjs → src}/utils/Stream.d.ts +0 -1
  64. package/src/utils/Stream.js.map +1 -0
  65. package/{esm → src}/utils/WebSocket.d.ts +0 -1
  66. package/src/utils/WebSocket.js.map +1 -0
  67. package/LICENSE +0 -190
  68. package/cjs/CodeInterpreter.d.ts.map +0 -1
  69. package/cjs/CodeInterpreter.js.map +0 -1
  70. package/cjs/ComputerUse.d.ts +0 -443
  71. package/cjs/ComputerUse.d.ts.map +0 -1
  72. package/cjs/ComputerUse.js.map +0 -1
  73. package/cjs/Daytona.d.ts.map +0 -1
  74. package/cjs/Daytona.js.map +0 -1
  75. package/cjs/FileSystem.d.ts +0 -328
  76. package/cjs/FileSystem.d.ts.map +0 -1
  77. package/cjs/FileSystem.js.map +0 -1
  78. package/cjs/Git.d.ts +0 -203
  79. package/cjs/Git.d.ts.map +0 -1
  80. package/cjs/Git.js.map +0 -1
  81. package/cjs/Image.d.ts.map +0 -1
  82. package/cjs/Image.js.map +0 -1
  83. package/cjs/LspServer.d.ts.map +0 -1
  84. package/cjs/LspServer.js.map +0 -1
  85. package/cjs/ObjectStorage.d.ts +0 -79
  86. package/cjs/ObjectStorage.d.ts.map +0 -1
  87. package/cjs/ObjectStorage.js.map +0 -1
  88. package/cjs/Process.d.ts.map +0 -1
  89. package/cjs/Process.js.map +0 -1
  90. package/cjs/PtyHandle.d.ts.map +0 -1
  91. package/cjs/PtyHandle.js.map +0 -1
  92. package/cjs/README.md +0 -147
  93. package/cjs/Sandbox.d.ts.map +0 -1
  94. package/cjs/Sandbox.js.map +0 -1
  95. package/cjs/Snapshot.d.ts.map +0 -1
  96. package/cjs/Snapshot.js.map +0 -1
  97. package/cjs/Volume.d.ts +0 -84
  98. package/cjs/Volume.d.ts.map +0 -1
  99. package/cjs/Volume.js.map +0 -1
  100. package/cjs/code-toolbox/SandboxJsCodeToolbox.d.ts.map +0 -1
  101. package/cjs/code-toolbox/SandboxJsCodeToolbox.js.map +0 -1
  102. package/cjs/code-toolbox/SandboxPythonCodeToolbox.d.ts.map +0 -1
  103. package/cjs/code-toolbox/SandboxPythonCodeToolbox.js.map +0 -1
  104. package/cjs/code-toolbox/SandboxTsCodeToolbox.d.ts.map +0 -1
  105. package/cjs/code-toolbox/SandboxTsCodeToolbox.js.map +0 -1
  106. package/cjs/errors/DaytonaError.d.ts +0 -32
  107. package/cjs/errors/DaytonaError.d.ts.map +0 -1
  108. package/cjs/errors/DaytonaError.js.map +0 -1
  109. package/cjs/index.d.ts.map +0 -1
  110. package/cjs/index.js.map +0 -1
  111. package/cjs/package.json +0 -3
  112. package/cjs/types/Charts.d.ts +0 -152
  113. package/cjs/types/Charts.d.ts.map +0 -1
  114. package/cjs/types/Charts.js.map +0 -1
  115. package/cjs/types/CodeInterpreter.d.ts +0 -77
  116. package/cjs/types/CodeInterpreter.d.ts.map +0 -1
  117. package/cjs/types/CodeInterpreter.js.map +0 -1
  118. package/cjs/types/ExecuteResponse.d.ts.map +0 -1
  119. package/cjs/types/ExecuteResponse.js.map +0 -1
  120. package/cjs/types/Pty.d.ts.map +0 -1
  121. package/cjs/types/Pty.js.map +0 -1
  122. package/cjs/utils/ArtifactParser.d.ts.map +0 -1
  123. package/cjs/utils/ArtifactParser.js.map +0 -1
  124. package/cjs/utils/Binary.d.ts +0 -39
  125. package/cjs/utils/Binary.d.ts.map +0 -1
  126. package/cjs/utils/Binary.js.map +0 -1
  127. package/cjs/utils/FileTransfer.d.ts.map +0 -1
  128. package/cjs/utils/FileTransfer.js.map +0 -1
  129. package/cjs/utils/Import.d.ts.map +0 -1
  130. package/cjs/utils/Import.js +0 -81
  131. package/cjs/utils/Import.js.map +0 -1
  132. package/cjs/utils/Multipart.d.ts +0 -27
  133. package/cjs/utils/Multipart.d.ts.map +0 -1
  134. package/cjs/utils/Multipart.js.map +0 -1
  135. package/cjs/utils/Runtime.d.ts.map +0 -1
  136. package/cjs/utils/Runtime.js.map +0 -1
  137. package/cjs/utils/Stream.d.ts.map +0 -1
  138. package/cjs/utils/Stream.js.map +0 -1
  139. package/cjs/utils/WebSocket.d.ts +0 -10
  140. package/cjs/utils/WebSocket.d.ts.map +0 -1
  141. package/cjs/utils/WebSocket.js.map +0 -1
  142. package/esm/CodeInterpreter.d.ts +0 -96
  143. package/esm/CodeInterpreter.d.ts.map +0 -1
  144. package/esm/CodeInterpreter.js +0 -295
  145. package/esm/CodeInterpreter.js.map +0 -1
  146. package/esm/ComputerUse.d.ts.map +0 -1
  147. package/esm/ComputerUse.js +0 -509
  148. package/esm/ComputerUse.js.map +0 -1
  149. package/esm/Daytona.d.ts +0 -354
  150. package/esm/Daytona.d.ts.map +0 -1
  151. package/esm/Daytona.js +0 -410
  152. package/esm/Daytona.js.map +0 -1
  153. package/esm/FileSystem.d.ts.map +0 -1
  154. package/esm/FileSystem.js +0 -331
  155. package/esm/FileSystem.js.map +0 -1
  156. package/esm/Git.d.ts.map +0 -1
  157. package/esm/Git.js +0 -260
  158. package/esm/Git.js.map +0 -1
  159. package/esm/Image.d.ts +0 -285
  160. package/esm/Image.d.ts.map +0 -1
  161. package/esm/Image.js +0 -569
  162. package/esm/Image.js.map +0 -1
  163. package/esm/LspServer.d.ts +0 -172
  164. package/esm/LspServer.d.ts.map +0 -1
  165. package/esm/LspServer.js +0 -204
  166. package/esm/LspServer.js.map +0 -1
  167. package/esm/ObjectStorage.d.ts.map +0 -1
  168. package/esm/ObjectStorage.js +0 -187
  169. package/esm/ObjectStorage.js.map +0 -1
  170. package/esm/Process.d.ts +0 -442
  171. package/esm/Process.d.ts.map +0 -1
  172. package/esm/Process.js +0 -644
  173. package/esm/Process.js.map +0 -1
  174. package/esm/PtyHandle.d.ts +0 -155
  175. package/esm/PtyHandle.d.ts.map +0 -1
  176. package/esm/PtyHandle.js +0 -374
  177. package/esm/PtyHandle.js.map +0 -1
  178. package/esm/README.md +0 -147
  179. package/esm/Sandbox.d.ts +0 -359
  180. package/esm/Sandbox.d.ts.map +0 -1
  181. package/esm/Sandbox.js +0 -532
  182. package/esm/Sandbox.js.map +0 -1
  183. package/esm/Snapshot.d.ts +0 -138
  184. package/esm/Snapshot.d.ts.map +0 -1
  185. package/esm/Snapshot.js +0 -207
  186. package/esm/Snapshot.js.map +0 -1
  187. package/esm/Volume.d.ts.map +0 -1
  188. package/esm/Volume.js +0 -95
  189. package/esm/Volume.js.map +0 -1
  190. package/esm/code-toolbox/SandboxJsCodeToolbox.d.ts +0 -6
  191. package/esm/code-toolbox/SandboxJsCodeToolbox.d.ts.map +0 -1
  192. package/esm/code-toolbox/SandboxJsCodeToolbox.js +0 -13
  193. package/esm/code-toolbox/SandboxJsCodeToolbox.js.map +0 -1
  194. package/esm/code-toolbox/SandboxPythonCodeToolbox.d.ts +0 -12
  195. package/esm/code-toolbox/SandboxPythonCodeToolbox.d.ts.map +0 -1
  196. package/esm/code-toolbox/SandboxPythonCodeToolbox.js +0 -355
  197. package/esm/code-toolbox/SandboxPythonCodeToolbox.js.map +0 -1
  198. package/esm/code-toolbox/SandboxTsCodeToolbox.d.ts +0 -6
  199. package/esm/code-toolbox/SandboxTsCodeToolbox.d.ts.map +0 -1
  200. package/esm/code-toolbox/SandboxTsCodeToolbox.js +0 -14
  201. package/esm/code-toolbox/SandboxTsCodeToolbox.js.map +0 -1
  202. package/esm/errors/DaytonaError.d.ts.map +0 -1
  203. package/esm/errors/DaytonaError.js +0 -44
  204. package/esm/errors/DaytonaError.js.map +0 -1
  205. package/esm/index.d.ts +0 -22
  206. package/esm/index.d.ts.map +0 -1
  207. package/esm/index.js +0 -22
  208. package/esm/index.js.map +0 -1
  209. package/esm/package.json +0 -3
  210. package/esm/types/Charts.d.ts.map +0 -1
  211. package/esm/types/Charts.js +0 -42
  212. package/esm/types/Charts.js.map +0 -1
  213. package/esm/types/CodeInterpreter.d.ts.map +0 -1
  214. package/esm/types/CodeInterpreter.js +0 -6
  215. package/esm/types/CodeInterpreter.js.map +0 -1
  216. package/esm/types/ExecuteResponse.d.ts +0 -26
  217. package/esm/types/ExecuteResponse.d.ts.map +0 -1
  218. package/esm/types/ExecuteResponse.js +0 -6
  219. package/esm/types/ExecuteResponse.js.map +0 -1
  220. package/esm/types/Pty.d.ts +0 -48
  221. package/esm/types/Pty.d.ts.map +0 -1
  222. package/esm/types/Pty.js +0 -6
  223. package/esm/types/Pty.js.map +0 -1
  224. package/esm/utils/ArtifactParser.d.ts +0 -14
  225. package/esm/utils/ArtifactParser.d.ts.map +0 -1
  226. package/esm/utils/ArtifactParser.js +0 -51
  227. package/esm/utils/ArtifactParser.js.map +0 -1
  228. package/esm/utils/Binary.d.ts.map +0 -1
  229. package/esm/utils/Binary.js +0 -157
  230. package/esm/utils/Binary.js.map +0 -1
  231. package/esm/utils/FileTransfer.d.ts +0 -15
  232. package/esm/utils/FileTransfer.d.ts.map +0 -1
  233. package/esm/utils/FileTransfer.js +0 -209
  234. package/esm/utils/FileTransfer.js.map +0 -1
  235. package/esm/utils/Import.d.ts +0 -211
  236. package/esm/utils/Import.d.ts.map +0 -1
  237. package/esm/utils/Import.js +0 -45
  238. package/esm/utils/Import.js.map +0 -1
  239. package/esm/utils/Multipart.d.ts.map +0 -1
  240. package/esm/utils/Multipart.js +0 -107
  241. package/esm/utils/Multipart.js.map +0 -1
  242. package/esm/utils/Runtime.d.ts +0 -37
  243. package/esm/utils/Runtime.d.ts.map +0 -1
  244. package/esm/utils/Runtime.js +0 -57
  245. package/esm/utils/Runtime.js.map +0 -1
  246. package/esm/utils/Stream.d.ts +0 -20
  247. package/esm/utils/Stream.d.ts.map +0 -1
  248. package/esm/utils/Stream.js +0 -360
  249. package/esm/utils/Stream.js.map +0 -1
  250. package/esm/utils/WebSocket.d.ts.map +0 -1
  251. package/esm/utils/WebSocket.js +0 -22
  252. package/esm/utils/WebSocket.js.map +0 -1
  253. /package/{cjs → src}/CodeInterpreter.js +0 -0
  254. /package/{cjs → src}/ComputerUse.js +0 -0
  255. /package/{cjs → src}/FileSystem.js +0 -0
  256. /package/{cjs → src}/Git.js +0 -0
  257. /package/{cjs → src}/LspServer.js +0 -0
  258. /package/{cjs → src}/ObjectStorage.js +0 -0
  259. /package/{cjs → src}/Process.js +0 -0
  260. /package/{cjs → src}/PtyHandle.js +0 -0
  261. /package/{cjs → src}/Volume.js +0 -0
  262. /package/{cjs → src}/code-toolbox/SandboxJsCodeToolbox.js +0 -0
  263. /package/{cjs → src}/code-toolbox/SandboxPythonCodeToolbox.js +0 -0
  264. /package/{cjs → src}/code-toolbox/SandboxTsCodeToolbox.js +0 -0
  265. /package/{cjs → src}/errors/DaytonaError.js +0 -0
  266. /package/{cjs → src}/index.js +0 -0
  267. /package/{cjs → src}/types/Charts.js +0 -0
  268. /package/{cjs → src}/types/CodeInterpreter.js +0 -0
  269. /package/{cjs → src}/types/ExecuteResponse.js +0 -0
  270. /package/{cjs → src}/types/Pty.js +0 -0
  271. /package/{cjs → src}/utils/ArtifactParser.js +0 -0
  272. /package/{cjs → src}/utils/Binary.js +0 -0
  273. /package/{cjs → src}/utils/FileTransfer.js +0 -0
  274. /package/{cjs → src}/utils/Multipart.js +0 -0
  275. /package/{cjs → src}/utils/Runtime.js +0 -0
  276. /package/{cjs → src}/utils/Stream.js +0 -0
  277. /package/{cjs → src}/utils/WebSocket.js +0 -0
package/LICENSE DELETED
@@ -1,190 +0,0 @@
1
- Apache License
2
- Version 2.0, January 2004
3
- http://www.apache.org/licenses/
4
-
5
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
-
7
- 1. Definitions.
8
-
9
- "License" shall mean the terms and conditions for use, reproduction,
10
- and distribution as defined by Sections 1 through 9 of this document.
11
-
12
- "Licensor" shall mean the copyright owner or entity authorized by
13
- the copyright owner that is granting the License.
14
-
15
- "Legal Entity" shall mean the union of the acting entity and all
16
- other entities that control, are controlled by, or are under common
17
- control with that entity. For the purposes of this definition,
18
- "control" means (i) the power, direct or indirect, to cause the
19
- direction or management of such entity, whether by contract or
20
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
- outstanding shares, or (iii) beneficial ownership of such entity.
22
-
23
- "You" (or "Your") shall mean an individual or Legal Entity
24
- exercising permissions granted by this License.
25
-
26
- "Source" form shall mean the preferred form for making modifications,
27
- including but not limited to software source code, documentation
28
- source, and configuration files.
29
-
30
- "Object" form shall mean any form resulting from mechanical
31
- transformation or translation of a Source form, including but
32
- not limited to compiled object code, generated documentation,
33
- and conversions to other media types.
34
-
35
- "Work" shall mean the work of authorship, whether in Source or
36
- Object form, made available under the License, as indicated by a
37
- copyright notice that is included in or attached to the work
38
- (an example is provided in the Appendix below).
39
-
40
- "Derivative Works" shall mean any work, whether in Source or Object
41
- form, that is based on (or derived from) the Work and for which the
42
- editorial revisions, annotations, elaborations, or other modifications
43
- represent, as a whole, an original work of authorship. For the purposes
44
- of this License, Derivative Works shall not include works that remain
45
- separable from, or merely link (or bind by name) to the interfaces of,
46
- the Work and Derivative Works thereof.
47
-
48
- "Contribution" shall mean any work of authorship, including
49
- the original version of the Work and any modifications or additions
50
- to that Work or Derivative Works thereof, that is intentionally
51
- submitted to Licensor for inclusion in the Work by the copyright owner
52
- or by an individual or Legal Entity authorized to submit on behalf of
53
- the copyright owner. For the purposes of this definition, "submitted"
54
- means any form of electronic, verbal, or written communication sent
55
- to the Licensor or its representatives, including but not limited to
56
- communication on electronic mailing lists, source code control systems,
57
- and issue tracking systems that are managed by, or on behalf of, the
58
- Licensor for the purpose of discussing and improving the Work, but
59
- excluding communication that is conspicuously marked or otherwise
60
- designated in writing by the copyright owner as "Not a Contribution."
61
-
62
- "Contributor" shall mean Licensor and any individual or Legal Entity
63
- on behalf of whom a Contribution has been received by Licensor and
64
- subsequently incorporated within the Work.
65
-
66
- 2. Grant of Copyright License. Subject to the terms and conditions of
67
- this License, each Contributor hereby grants to You a perpetual,
68
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
- copyright license to reproduce, prepare Derivative Works of,
70
- publicly display, publicly perform, sublicense, and distribute the
71
- Work and such Derivative Works in Source or Object form.
72
-
73
- 3. Grant of Patent License. Subject to the terms and conditions of
74
- this License, each Contributor hereby grants to You a perpetual,
75
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
- (except as stated in this section) patent license to make, have made,
77
- use, offer to sell, sell, import, and otherwise transfer the Work,
78
- where such license applies only to those patent claims licensable
79
- by such Contributor that are necessarily infringed by their
80
- Contribution(s) alone or by combination of their Contribution(s)
81
- with the Work to which such Contribution(s) was submitted. If You
82
- institute patent litigation against any entity (including a
83
- cross-claim or counterclaim in a lawsuit) alleging that the Work
84
- or a Contribution incorporated within the Work constitutes direct
85
- or contributory patent infringement, then any patent licenses
86
- granted to You under this License for that Work shall terminate
87
- as of the date such litigation is filed.
88
-
89
- 4. Redistribution. You may reproduce and distribute copies of the
90
- Work or Derivative Works thereof in any medium, with or without
91
- modifications, and in Source or Object form, provided that You
92
- meet the following conditions:
93
-
94
- (a) You must give any other recipients of the Work or
95
- Derivative Works a copy of this License; and
96
-
97
- (b) You must cause any modified files to carry prominent notices
98
- stating that You changed the files; and
99
-
100
- (c) You must retain, in the Source form of any Derivative Works
101
- that You distribute, all copyright, patent, trademark, and
102
- attribution notices from the Source form of the Work,
103
- excluding those notices that do not pertain to any part of
104
- the Derivative Works; and
105
-
106
- (d) If the Work includes a "NOTICE" text file as part of its
107
- distribution, then any Derivative Works that You distribute must
108
- include a readable copy of the attribution notices contained
109
- within such NOTICE file, excluding those notices that do not
110
- pertain to any part of the Derivative Works, in at least one
111
- of the following places: within a NOTICE text file distributed
112
- as part of the Derivative Works; within the Source form or
113
- documentation, if provided along with the Derivative Works; or,
114
- within a display generated by the Derivative Works, if and
115
- wherever such third-party notices normally appear. The contents
116
- of the NOTICE file are for informational purposes only and
117
- do not modify the License. You may add Your own attribution
118
- notices within Derivative Works that You distribute, alongside
119
- or as an addendum to the NOTICE text from the Work, provided
120
- that such additional attribution notices cannot be construed
121
- as modifying the License.
122
-
123
- You may add Your own copyright statement to Your modifications and
124
- may provide additional or different license terms and conditions
125
- for use, reproduction, or distribution of Your modifications, or
126
- for any such Derivative Works as a whole, provided Your use,
127
- reproduction, and distribution of the Work otherwise complies with
128
- the conditions stated in this License.
129
-
130
- 5. Submission of Contributions. Unless You explicitly state otherwise,
131
- any Contribution intentionally submitted for inclusion in the Work
132
- by You to the Licensor shall be under the terms and conditions of
133
- this License, without any additional terms or conditions.
134
- Notwithstanding the above, nothing herein shall supersede or modify
135
- the terms of any separate license agreement you may have executed
136
- with Licensor regarding such Contributions.
137
-
138
- 6. Trademarks. This License does not grant permission to use the trade
139
- names, trademarks, service marks, or product names of the Licensor,
140
- except as required for reasonable and customary use in describing the
141
- origin of the Work and reproducing the content of the NOTICE file.
142
-
143
- 7. Disclaimer of Warranty. Unless required by applicable law or
144
- agreed to in writing, Licensor provides the Work (and each
145
- Contributor provides its Contributions) on an "AS IS" BASIS,
146
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
- implied, including, without limitation, any warranties or conditions
148
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
- PARTICULAR PURPOSE. You are solely responsible for determining the
150
- appropriateness of using or redistributing the Work and assume any
151
- risks associated with Your exercise of permissions under this License.
152
-
153
- 8. Limitation of Liability. In no event and under no legal theory,
154
- whether in tort (including negligence), contract, or otherwise,
155
- unless required by applicable law (such as deliberate and grossly
156
- negligent acts) or agreed to in writing, shall any Contributor be
157
- liable to You for damages, including any direct, indirect, special,
158
- incidental, or consequential damages of any character arising as a
159
- result of this License or out of the use or inability to use the
160
- Work (including but not limited to damages for loss of goodwill,
161
- work stoppage, computer failure or malfunction, or any and all
162
- other commercial damages or losses), even if such Contributor
163
- has been advised of the possibility of such damages.
164
-
165
- 9. Accepting Warranty or Additional Liability. While redistributing
166
- the Work or Derivative Works thereof, You may choose to offer,
167
- and charge a fee for, acceptance of support, warranty, indemnity,
168
- or other liability obligations and/or rights consistent with this
169
- License. However, in accepting such obligations, You may act only
170
- on Your own behalf and on Your sole responsibility, not on behalf
171
- of any other Contributor, and only if You agree to indemnify,
172
- defend, and hold each Contributor harmless for any liability
173
- incurred by, or claims asserted against, such Contributor by reason
174
- of your accepting any such warranty or additional liability.
175
-
176
- END OF TERMS AND CONDITIONS
177
-
178
- Copyright 2025 Daytona
179
-
180
- Licensed under the Apache License, Version 2.0 (the "License");
181
- you may not use this file except in compliance with the License.
182
- You may obtain a copy of the License at
183
-
184
- http://www.apache.org/licenses/LICENSE-2.0
185
-
186
- Unless required by applicable law or agreed to in writing, software
187
- distributed under the License is distributed on an "AS IS" BASIS,
188
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
189
- See the License for the specific language governing permissions and
190
- limitations under the License.
@@ -1 +0,0 @@
1
- {"version":3,"file":"CodeInterpreter.d.ts","sourceRoot":"","sources":["../../../../../libs/sdk-typescript/src/CodeInterpreter.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAA;AAClF,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAA;AAErD,OAAO,EAAkB,eAAe,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAUzF;;;;;;;GAOG;AACH,qBAAa,eAAe;IAExB,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAAO,CAAC,QAAQ,CAAC,SAAS;IAC1B,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,OAAO,CAAC,QAAQ,CAAC,gBAAgB;gBAHhB,YAAY,EAAE,aAAa,EAC3B,SAAS,EAAE,cAAc,EACzB,eAAe,EAAE,MAAM,OAAO,CAAC,MAAM,CAAC,EACtC,gBAAgB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC;IAGxD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;IACU,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,GAAE,cAAmB,GAAG,OAAO,CAAC,eAAe,CAAC;IAuJ1F;;;;;;;;;;;;;OAaG;IACU,aAAa,CAAC,GAAG,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAIrE;;;;;;;;;;;;OAYG;IACU,YAAY,IAAI,OAAO,CAAC,kBAAkB,EAAE,CAAC;IAI1D;;;;;;;;;;;OAWG;IACU,aAAa,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC;YAIxD,kBAAkB;IAyBhC,OAAO,CAAC,mBAAmB;IAc3B,OAAO,CAAC,gBAAgB;CAWzB"}
@@ -1 +0,0 @@
1
- {"version":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i, 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
@@ -1 +0,0 @@
1
- {"version":3,"file":"ComputerUse.d.ts","sourceRoot":"","sources":["../../../../../libs/sdk-typescript/src/ComputerUse.ts"],"names":[],"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