eve 0.58.0 → 0.59.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 (196) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/README.md +1 -0
  3. package/dist/src/channel/session.d.ts +2 -0
  4. package/dist/src/channel/session.js +1 -1
  5. package/dist/src/channel/types.d.ts +8 -1
  6. package/dist/src/chunks/{use-eve-agent-X0asmJg-.js → use-eve-agent-Dmc6sX4d.js} +558 -233
  7. package/dist/src/chunks/{use-eve-agent-CxWcZCsU.js → use-eve-agent-jSR8P4nK.js} +565 -235
  8. package/dist/src/cli/dev/tui/runner.d.ts +4 -0
  9. package/dist/src/cli/dev/tui/runner.js +1 -1
  10. package/dist/src/cli/dev/tui/setup-issues.js +1 -1
  11. package/dist/src/cli/dev/tui/terminal-renderer.js +12 -12
  12. package/dist/src/client/eve-agent-projection.d.ts +10 -0
  13. package/dist/src/client/eve-agent-projection.js +1 -0
  14. package/dist/src/client/eve-agent-store-helpers.d.ts +6 -2
  15. package/dist/src/client/eve-agent-store-helpers.js +2 -2
  16. package/dist/src/client/eve-agent-store-state.d.ts +54 -1
  17. package/dist/src/client/eve-agent-store.d.ts +12 -82
  18. package/dist/src/client/eve-agent-store.js +1 -1
  19. package/dist/src/client/index.d.ts +2 -2
  20. package/dist/src/client/index.js +1 -1
  21. package/dist/src/client/message-response.d.ts +5 -1
  22. package/dist/src/client/message-response.js +1 -1
  23. package/dist/src/client/ndjson.d.ts +1 -0
  24. package/dist/src/client/ndjson.js +2 -2
  25. package/dist/src/client/open-stream.d.ts +4 -1
  26. package/dist/src/client/open-stream.js +1 -1
  27. package/dist/src/client/session-event-stream.d.ts +30 -0
  28. package/dist/src/client/session-event-stream.js +1 -0
  29. package/dist/src/client/session-utils.d.ts +2 -1
  30. package/dist/src/client/session-utils.js +1 -1
  31. package/dist/src/client/session.d.ts +14 -1
  32. package/dist/src/client/session.js +1 -1
  33. package/dist/src/client/sessions.d.ts +8 -2
  34. package/dist/src/client/sessions.js +1 -1
  35. package/dist/src/client/types.d.ts +7 -0
  36. package/dist/src/compiled/.vendor-stamp.json +2 -3
  37. package/dist/src/compiled/@vercel/sandbox/api-client/api-client.d.ts +88 -1
  38. package/dist/src/compiled/@vercel/sandbox/api-client/index.d.ts +1 -1
  39. package/dist/src/compiled/@vercel/sandbox/api-client/validators.d.ts +41 -1
  40. package/dist/src/compiled/@vercel/sandbox/constants.d.ts +3 -3
  41. package/dist/src/compiled/@vercel/{sandbox-drives → sandbox}/drive.d.ts +13 -2
  42. package/dist/src/compiled/@vercel/sandbox/index.d.ts +3 -2
  43. package/dist/src/compiled/@vercel/sandbox/index.js +15 -9
  44. package/dist/src/compiled/@vercel/sandbox/sandbox.d.ts +40 -5
  45. package/dist/src/compiled/_chunks/node/auth-DDrvYko5.js +2 -0
  46. package/dist/src/compiled/_chunks/node/version-C__MqbLM.js +1 -0
  47. package/dist/src/compiler/extension-compatibility.d.ts +14 -14
  48. package/dist/src/compiler/extension-compatibility.js +1 -1
  49. package/dist/src/context/build-dynamic-tools.js +1 -1
  50. package/dist/src/context/dynamic-tool-lifecycle.js +1 -1
  51. package/dist/src/context/memory-tools.js +1 -1
  52. package/dist/src/evals/context.d.ts +1 -1
  53. package/dist/src/evals/context.js +1 -1
  54. package/dist/src/evals/define-eval.d.ts +1 -1
  55. package/dist/src/evals/define-eval.js +1 -1
  56. package/dist/src/evals/index.js +1 -1
  57. package/dist/src/evals/judge.d.ts +1 -1
  58. package/dist/src/evals/runner/execute-task.d.ts +1 -1
  59. package/dist/src/evals/runner/execute-task.js +1 -1
  60. package/dist/src/evals/session-manager.d.ts +27 -0
  61. package/dist/src/evals/session-manager.js +1 -0
  62. package/dist/src/evals/session.d.ts +8 -28
  63. package/dist/src/evals/session.js +2 -1
  64. package/dist/src/evals/target.d.ts +1 -1
  65. package/dist/src/evals/target.js +1 -1
  66. package/dist/src/evals/types.d.ts +19 -15
  67. package/dist/src/eve-channel/create-request.d.ts +24 -0
  68. package/dist/src/eve-channel/create-request.js +1 -0
  69. package/dist/src/eve-channel/index.js +1 -1
  70. package/dist/src/eve-channel/request.d.ts +3 -12
  71. package/dist/src/eve-channel/request.js +2 -2
  72. package/dist/src/eve-channel/types.d.ts +4 -2
  73. package/dist/src/execution/dynamic-workflow/tool.js +1 -1
  74. package/dist/src/execution/legacy-session/turn-workflow.js +1 -1
  75. package/dist/src/execution/runtime-context.js +1 -1
  76. package/dist/src/execution/sandbox/bindings/vercel-lifecycle.d.ts +3 -3
  77. package/dist/src/execution/sandbox/bindings/vercel-lifecycle.js +1 -1
  78. package/dist/src/execution/sandbox/bindings/vercel-sdk-types.d.ts +1 -4
  79. package/dist/src/execution/sandbox/bindings/vercel.d.ts +1 -2
  80. package/dist/src/execution/sandbox/bindings/vercel.js +1 -1
  81. package/dist/src/execution/session/entry.js +1 -1
  82. package/dist/src/execution/session/handoff-steps.js +1 -1
  83. package/dist/src/execution/session/program.d.ts +2 -0
  84. package/dist/src/execution/session/program.js +1 -1
  85. package/dist/src/execution/session/turn-step.js +1 -1
  86. package/dist/src/execution/session/turn.js +1 -1
  87. package/dist/src/execution/session-inbox/protocol.js +1 -1
  88. package/dist/src/execution/tools/connection-search.js +1 -1
  89. package/dist/src/execution/tools/sleep-workflow.js +1 -1
  90. package/dist/src/execution/workflow-runtime.js +1 -1
  91. package/dist/src/experimental/evaluate/auto-model.js +2 -2
  92. package/dist/src/experimental/evaluate/evaluate.d.ts +7 -0
  93. package/dist/src/experimental/evaluate/evaluate.js +1 -0
  94. package/dist/src/harness/compaction.d.ts +3 -3
  95. package/dist/src/harness/compaction.js +1 -1
  96. package/dist/src/harness/request-envelope.d.ts +11 -0
  97. package/dist/src/harness/request-envelope.js +1 -0
  98. package/dist/src/harness/tool-loop.js +2 -2
  99. package/dist/src/instrumentation/prepare-trace-context.d.ts +2 -1
  100. package/dist/src/instrumentation/prepare-trace-context.js +1 -1
  101. package/dist/src/internal/application/package.js +1 -1
  102. package/dist/src/internal/authored-module-loader.d.ts +4 -1
  103. package/dist/src/internal/authored-module-loader.js +1 -1
  104. package/dist/src/internal/bundler/nitro-rolldown.d.ts +2 -0
  105. package/dist/src/internal/model-auth/transport.d.ts +3 -1
  106. package/dist/src/internal/model-auth/transport.js +1 -1
  107. package/dist/src/internal/nitro/host/build-extension.js +1 -1
  108. package/dist/src/internal/nitro/host/extension-capability-requirements.d.ts +1 -0
  109. package/dist/src/internal/nitro/host/extension-capability-requirements.js +1 -1
  110. package/dist/src/internal/nitro/host/extension-distribution.d.ts +1 -1
  111. package/dist/src/internal/nitro/host/extension-distribution.js +1 -1
  112. package/dist/src/internal/workflow-bundle/dynamic-tool-transform.js +1 -1
  113. package/dist/src/public/experimental/evaluate/index.d.ts +1 -0
  114. package/dist/src/public/experimental/evaluate/index.js +1 -1
  115. package/dist/src/public/models/anthropic/index.js +1 -1
  116. package/dist/src/public/sandbox/vercel-sandbox.d.ts +1 -1
  117. package/dist/src/public/sandbox/vercel.d.ts +1 -1
  118. package/dist/src/public/sandbox/vercel.js +1 -1
  119. package/dist/src/public/tools/index.d.ts +1 -0
  120. package/dist/src/public/tools/index.js +1 -1
  121. package/dist/src/react/use-eve-agent.d.ts +4 -0
  122. package/dist/src/react/use-eve-agent.js +1 -1
  123. package/dist/src/runtime/agent/resolve-model.js +1 -1
  124. package/dist/src/setup/flows/model-login-connection.js +1 -1
  125. package/dist/src/setup/scaffold/create/project.js +1 -1
  126. package/dist/src/subagents/handle-dispatch.js +1 -1
  127. package/dist/src/svelte/index.js +1 -1
  128. package/dist/src/svelte/use-eve-agent.d.ts +4 -0
  129. package/dist/src/svelte/use-eve-agent.js +1 -1
  130. package/dist/src/tools/definition.d.ts +2 -0
  131. package/dist/src/tools/definition.js +1 -1
  132. package/dist/src/tools/durable-callbacks.d.ts +8 -2
  133. package/dist/src/tools/durable-callbacks.js +1 -1
  134. package/dist/src/tools/durable-schema.d.ts +16 -0
  135. package/dist/src/tools/durable-schema.js +1 -0
  136. package/dist/src/vue/index.js +1 -1
  137. package/dist/src/vue/use-eve-agent.d.ts +4 -0
  138. package/dist/src/vue/use-eve-agent.js +1 -1
  139. package/docs/README.md +1 -0
  140. package/docs/channels/eve.mdx +20 -10
  141. package/docs/concepts/context-control.md +4 -0
  142. package/docs/concepts/sessions-runs-and-streaming.md +18 -3
  143. package/docs/evals/assertions.mdx +6 -6
  144. package/docs/evals/cases.mdx +59 -23
  145. package/docs/evals/judge.mdx +10 -8
  146. package/docs/evals/overview.mdx +6 -6
  147. package/docs/evals/reporters.mdx +1 -1
  148. package/docs/evals/targets.mdx +5 -0
  149. package/docs/guides/client/messages.mdx +5 -5
  150. package/docs/guides/client/overview.mdx +15 -1
  151. package/docs/guides/dynamic-capabilities.md +22 -0
  152. package/docs/guides/evaluate.md +58 -4
  153. package/docs/guides/frontend/overview.mdx +54 -5
  154. package/docs/guides/frontend/use-eve-agent-svelte.mdx +13 -8
  155. package/docs/guides/frontend/use-eve-agent-vue.mdx +13 -8
  156. package/docs/reference/typescript-api.md +38 -36
  157. package/package.json +2 -3
  158. package/dist/src/compiled/@vercel/sandbox-drives/LICENSE +0 -201
  159. package/dist/src/compiled/@vercel/sandbox-drives/_async-retry.d.ts +0 -8
  160. package/dist/src/compiled/@vercel/sandbox-drives/_workflow-serde.d.ts +0 -5
  161. package/dist/src/compiled/@vercel/sandbox-drives/api-client/api-client.d.ts +0 -1815
  162. package/dist/src/compiled/@vercel/sandbox-drives/api-client/api-error.d.ts +0 -29
  163. package/dist/src/compiled/@vercel/sandbox-drives/api-client/base-client.d.ts +0 -39
  164. package/dist/src/compiled/@vercel/sandbox-drives/api-client/file-writer.d.ts +0 -66
  165. package/dist/src/compiled/@vercel/sandbox-drives/api-client/index.d.ts +0 -2
  166. package/dist/src/compiled/@vercel/sandbox-drives/api-client/validators.d.ts +0 -932
  167. package/dist/src/compiled/@vercel/sandbox-drives/api-client/with-retry.d.ts +0 -10
  168. package/dist/src/compiled/@vercel/sandbox-drives/auth/error.d.ts +0 -15
  169. package/dist/src/compiled/@vercel/sandbox-drives/auth/file.d.ts +0 -18
  170. package/dist/src/compiled/@vercel/sandbox-drives/auth/index.d.ts +0 -6
  171. package/dist/src/compiled/@vercel/sandbox-drives/auth/oauth.d.ts +0 -111
  172. package/dist/src/compiled/@vercel/sandbox-drives/auth/poll-for-token.d.ts +0 -28
  173. package/dist/src/compiled/@vercel/sandbox-drives/auth/project.d.ts +0 -40
  174. package/dist/src/compiled/@vercel/sandbox-drives/command.d.ts +0 -292
  175. package/dist/src/compiled/@vercel/sandbox-drives/constants.d.ts +0 -15
  176. package/dist/src/compiled/@vercel/sandbox-drives/execution-context.d.ts +0 -116
  177. package/dist/src/compiled/@vercel/sandbox-drives/filesystem.d.ts +0 -258
  178. package/dist/src/compiled/@vercel/sandbox-drives/index.d.ts +0 -14
  179. package/dist/src/compiled/@vercel/sandbox-drives/index.js +0 -9
  180. package/dist/src/compiled/@vercel/sandbox-drives/network-policy.d.ts +0 -169
  181. package/dist/src/compiled/@vercel/sandbox-drives/proxy.d.ts +0 -55
  182. package/dist/src/compiled/@vercel/sandbox-drives/sandbox-user.d.ts +0 -211
  183. package/dist/src/compiled/@vercel/sandbox-drives/sandbox.d.ts +0 -1287
  184. package/dist/src/compiled/@vercel/sandbox-drives/session.d.ts +0 -435
  185. package/dist/src/compiled/@vercel/sandbox-drives/snapshot.d.ts +0 -238
  186. package/dist/src/compiled/@vercel/sandbox-drives/utils/get-credentials.d.ts +0 -21
  187. package/dist/src/compiled/@vercel/sandbox-drives/utils/paginator.d.ts +0 -16
  188. package/dist/src/compiled/@vercel/sandbox-drives/utils/resolveSignal.d.ts +0 -15
  189. package/dist/src/compiled/@vercel/sandbox-drives/utils/sandbox-snapshot.d.ts +0 -11
  190. package/dist/src/compiled/@vercel/sandbox-drives/utils/types.d.ts +0 -11
  191. package/dist/src/compiled/_chunks/node/auth-8aQozzfi.js +0 -2
  192. package/dist/src/compiled/_chunks/node/auth-Bvv0xGTY.js +0 -2
  193. package/dist/src/compiled/_chunks/node/esm-Fqlolk7e.js +0 -7
  194. package/dist/src/compiled/_chunks/node/version-BC6t2Txc.js +0 -1
  195. package/dist/src/compiled/_chunks/node/version-DSQqVZ5T.js +0 -1
  196. package/dist/src/compiled/_chunks/node/xdg-app-paths-F-QHrdza.js +0 -1
@@ -1,1815 +0,0 @@
1
- import { BaseClient, Parsed, RequestParams } from "./base-client.js";
2
- import { CommandData, CommandFinishedData, CommandFinishedResponse, CommandResponse, CreateSnapshotResponse, InteractiveSessionResponse, LogOutputLine, SessionResponse, SnapshotResponse, StopSessionResponse } from "./validators.js";
3
- import { FileWriter } from "./file-writer.js";
4
- import { NetworkPolicy } from "../network-policy.js";
5
- import { WithPrivate } from "../utils/types.js";
6
- import { RUNTIMES, SandboxRegion } from "../constants.js";
7
- import { BaseCreateSandboxParams } from "../sandbox.js";
8
- import { z } from "#compiled/zod/index.js";
9
- import { Readable } from "stream";
10
-
11
- //#region src/api-client/api-client.d.ts
12
- interface WithFetchOptions {
13
- fetch?: typeof globalThis.fetch;
14
- }
15
- declare class APIClient extends BaseClient {
16
- private teamId;
17
- private projectId;
18
- private isJwtToken;
19
- constructor(params: {
20
- baseUrl?: string;
21
- teamId: string;
22
- token: string;
23
- fetch?: typeof globalThis.fetch;
24
- });
25
- private ensureValidToken;
26
- protected request(path: string, params?: RequestParams): Promise<Response>;
27
- getSession(params: WithPrivate<{
28
- sessionId: string;
29
- signal?: AbortSignal;
30
- }>): Promise<Parsed<{
31
- session: {
32
- [x: string]: unknown;
33
- id: string;
34
- memory: number;
35
- vcpus: number;
36
- region: string;
37
- timeout: number;
38
- status: "pending" | "running" | "stopping" | "stopped" | "failed" | "aborted" | "snapshotting";
39
- requestedAt: number;
40
- createdAt: number;
41
- cwd: string;
42
- updatedAt: number;
43
- runtime?: string | undefined;
44
- startedAt?: number | undefined;
45
- requestedStopAt?: number | undefined;
46
- stoppedAt?: number | undefined;
47
- abortedAt?: number | undefined;
48
- duration?: number | undefined;
49
- sourceSnapshotId?: string | undefined;
50
- snapshottedAt?: number | undefined;
51
- interactivePort?: number | undefined;
52
- networkPolicy?: {
53
- [x: string]: unknown;
54
- mode: "allow-all";
55
- } | {
56
- [x: string]: unknown;
57
- mode: "deny-all";
58
- } | {
59
- [x: string]: unknown;
60
- mode: "custom";
61
- allowedDomains?: string[] | undefined;
62
- allowedCIDRs?: string[] | undefined;
63
- deniedCIDRs?: string[] | undefined;
64
- injectionRules?: {
65
- domain: string;
66
- headers?: Record<string, string> | undefined;
67
- headerNames?: string[] | undefined;
68
- match?: {
69
- path?: {
70
- exact?: string | undefined;
71
- startsWith?: string | undefined;
72
- regex?: string | undefined;
73
- } | undefined;
74
- method?: string[] | undefined;
75
- queryString?: {
76
- key?: {
77
- exact?: string | undefined;
78
- startsWith?: string | undefined;
79
- regex?: string | undefined;
80
- } | undefined;
81
- value?: {
82
- exact?: string | undefined;
83
- startsWith?: string | undefined;
84
- regex?: string | undefined;
85
- } | undefined;
86
- }[] | undefined;
87
- headers?: {
88
- key?: {
89
- exact?: string | undefined;
90
- startsWith?: string | undefined;
91
- regex?: string | undefined;
92
- } | undefined;
93
- value?: {
94
- exact?: string | undefined;
95
- startsWith?: string | undefined;
96
- regex?: string | undefined;
97
- } | undefined;
98
- }[] | undefined;
99
- } | undefined;
100
- }[] | undefined;
101
- forwardRules?: {
102
- domain: string;
103
- forwardURL: string;
104
- match?: {
105
- path?: {
106
- exact?: string | undefined;
107
- startsWith?: string | undefined;
108
- regex?: string | undefined;
109
- } | undefined;
110
- method?: string[] | undefined;
111
- queryString?: {
112
- key?: {
113
- exact?: string | undefined;
114
- startsWith?: string | undefined;
115
- regex?: string | undefined;
116
- } | undefined;
117
- value?: {
118
- exact?: string | undefined;
119
- startsWith?: string | undefined;
120
- regex?: string | undefined;
121
- } | undefined;
122
- }[] | undefined;
123
- headers?: {
124
- key?: {
125
- exact?: string | undefined;
126
- startsWith?: string | undefined;
127
- regex?: string | undefined;
128
- } | undefined;
129
- value?: {
130
- exact?: string | undefined;
131
- startsWith?: string | undefined;
132
- regex?: string | undefined;
133
- } | undefined;
134
- }[] | undefined;
135
- } | undefined;
136
- }[] | undefined;
137
- } | undefined;
138
- activeCpuDurationMs?: number | undefined;
139
- networkTransfer?: {
140
- ingress: number;
141
- egress: number;
142
- } | undefined;
143
- };
144
- routes: {
145
- url: string;
146
- subdomain: string;
147
- port: number;
148
- }[];
149
- }>>;
150
- createSandbox(params: WithPrivate<{
151
- name?: string;
152
- ports?: number[];
153
- projectId: string;
154
- source?: {
155
- type: "git";
156
- url: string;
157
- depth?: number;
158
- revision?: string;
159
- username?: string;
160
- password?: string;
161
- } | {
162
- type: "tarball";
163
- url: string;
164
- } | {
165
- type: "snapshot";
166
- snapshotId: string;
167
- };
168
- timeout?: number;
169
- resources?: {
170
- vcpus: number;
171
- };
172
- persistent?: boolean;
173
- runtime?: RUNTIMES | (string & {});
174
- image?: string;
175
- networkPolicy?: NetworkPolicy;
176
- env?: Record<string, string>;
177
- tags?: Record<string, string>;
178
- snapshotExpiration?: number;
179
- keepLastSnapshots?: {
180
- count: number;
181
- expiration?: number;
182
- deleteEvicted?: boolean;
183
- };
184
- mounts?: BaseCreateSandboxParams["mounts"];
185
- region?: SandboxRegion;
186
- failoverRegions?: SandboxRegion[];
187
- signal?: AbortSignal;
188
- }>): Promise<Parsed<{
189
- sandbox: {
190
- name: string;
191
- persistent: boolean;
192
- createdAt: number;
193
- updatedAt: number;
194
- currentSessionId: string;
195
- status: "pending" | "running" | "stopping" | "stopped" | "failed" | "aborted" | "snapshotting";
196
- region?: string | undefined;
197
- failoverRegions?: string[] | undefined;
198
- vcpus?: number | undefined;
199
- memory?: number | undefined;
200
- runtime?: string | undefined;
201
- image?: string | undefined;
202
- timeout?: number | undefined;
203
- networkPolicy?: {
204
- [x: string]: unknown;
205
- mode: "allow-all";
206
- } | {
207
- [x: string]: unknown;
208
- mode: "deny-all";
209
- } | {
210
- [x: string]: unknown;
211
- mode: "custom";
212
- allowedDomains?: string[] | undefined;
213
- allowedCIDRs?: string[] | undefined;
214
- deniedCIDRs?: string[] | undefined;
215
- injectionRules?: {
216
- domain: string;
217
- headers?: Record<string, string> | undefined;
218
- headerNames?: string[] | undefined;
219
- match?: {
220
- path?: {
221
- exact?: string | undefined;
222
- startsWith?: string | undefined;
223
- regex?: string | undefined;
224
- } | undefined;
225
- method?: string[] | undefined;
226
- queryString?: {
227
- key?: {
228
- exact?: string | undefined;
229
- startsWith?: string | undefined;
230
- regex?: string | undefined;
231
- } | undefined;
232
- value?: {
233
- exact?: string | undefined;
234
- startsWith?: string | undefined;
235
- regex?: string | undefined;
236
- } | undefined;
237
- }[] | undefined;
238
- headers?: {
239
- key?: {
240
- exact?: string | undefined;
241
- startsWith?: string | undefined;
242
- regex?: string | undefined;
243
- } | undefined;
244
- value?: {
245
- exact?: string | undefined;
246
- startsWith?: string | undefined;
247
- regex?: string | undefined;
248
- } | undefined;
249
- }[] | undefined;
250
- } | undefined;
251
- }[] | undefined;
252
- forwardRules?: {
253
- domain: string;
254
- forwardURL: string;
255
- match?: {
256
- path?: {
257
- exact?: string | undefined;
258
- startsWith?: string | undefined;
259
- regex?: string | undefined;
260
- } | undefined;
261
- method?: string[] | undefined;
262
- queryString?: {
263
- key?: {
264
- exact?: string | undefined;
265
- startsWith?: string | undefined;
266
- regex?: string | undefined;
267
- } | undefined;
268
- value?: {
269
- exact?: string | undefined;
270
- startsWith?: string | undefined;
271
- regex?: string | undefined;
272
- } | undefined;
273
- }[] | undefined;
274
- headers?: {
275
- key?: {
276
- exact?: string | undefined;
277
- startsWith?: string | undefined;
278
- regex?: string | undefined;
279
- } | undefined;
280
- value?: {
281
- exact?: string | undefined;
282
- startsWith?: string | undefined;
283
- regex?: string | undefined;
284
- } | undefined;
285
- }[] | undefined;
286
- } | undefined;
287
- }[] | undefined;
288
- } | undefined;
289
- totalEgressBytes?: number | undefined;
290
- totalIngressBytes?: number | undefined;
291
- totalActiveCpuDurationMs?: number | undefined;
292
- totalDurationMs?: number | undefined;
293
- expiresAt?: number | undefined;
294
- currentSnapshotId?: string | undefined;
295
- statusUpdatedAt?: number | undefined;
296
- cwd?: string | undefined;
297
- tags?: Record<string, string> | undefined;
298
- mounts?: Record<string, {
299
- drive: string;
300
- mode?: "read-only" | "read-write" | undefined;
301
- }> | undefined;
302
- snapshotExpiration?: number | undefined;
303
- keepLastSnapshots?: {
304
- count: number;
305
- expiration?: number | undefined;
306
- deleteEvicted?: boolean | undefined;
307
- } | undefined;
308
- };
309
- session: {
310
- [x: string]: unknown;
311
- id: string;
312
- memory: number;
313
- vcpus: number;
314
- region: string;
315
- timeout: number;
316
- status: "pending" | "running" | "stopping" | "stopped" | "failed" | "aborted" | "snapshotting";
317
- requestedAt: number;
318
- createdAt: number;
319
- cwd: string;
320
- updatedAt: number;
321
- runtime?: string | undefined;
322
- startedAt?: number | undefined;
323
- requestedStopAt?: number | undefined;
324
- stoppedAt?: number | undefined;
325
- abortedAt?: number | undefined;
326
- duration?: number | undefined;
327
- sourceSnapshotId?: string | undefined;
328
- snapshottedAt?: number | undefined;
329
- interactivePort?: number | undefined;
330
- networkPolicy?: {
331
- [x: string]: unknown;
332
- mode: "allow-all";
333
- } | {
334
- [x: string]: unknown;
335
- mode: "deny-all";
336
- } | {
337
- [x: string]: unknown;
338
- mode: "custom";
339
- allowedDomains?: string[] | undefined;
340
- allowedCIDRs?: string[] | undefined;
341
- deniedCIDRs?: string[] | undefined;
342
- injectionRules?: {
343
- domain: string;
344
- headers?: Record<string, string> | undefined;
345
- headerNames?: string[] | undefined;
346
- match?: {
347
- path?: {
348
- exact?: string | undefined;
349
- startsWith?: string | undefined;
350
- regex?: string | undefined;
351
- } | undefined;
352
- method?: string[] | undefined;
353
- queryString?: {
354
- key?: {
355
- exact?: string | undefined;
356
- startsWith?: string | undefined;
357
- regex?: string | undefined;
358
- } | undefined;
359
- value?: {
360
- exact?: string | undefined;
361
- startsWith?: string | undefined;
362
- regex?: string | undefined;
363
- } | undefined;
364
- }[] | undefined;
365
- headers?: {
366
- key?: {
367
- exact?: string | undefined;
368
- startsWith?: string | undefined;
369
- regex?: string | undefined;
370
- } | undefined;
371
- value?: {
372
- exact?: string | undefined;
373
- startsWith?: string | undefined;
374
- regex?: string | undefined;
375
- } | undefined;
376
- }[] | undefined;
377
- } | undefined;
378
- }[] | undefined;
379
- forwardRules?: {
380
- domain: string;
381
- forwardURL: string;
382
- match?: {
383
- path?: {
384
- exact?: string | undefined;
385
- startsWith?: string | undefined;
386
- regex?: string | undefined;
387
- } | undefined;
388
- method?: string[] | undefined;
389
- queryString?: {
390
- key?: {
391
- exact?: string | undefined;
392
- startsWith?: string | undefined;
393
- regex?: string | undefined;
394
- } | undefined;
395
- value?: {
396
- exact?: string | undefined;
397
- startsWith?: string | undefined;
398
- regex?: string | undefined;
399
- } | undefined;
400
- }[] | undefined;
401
- headers?: {
402
- key?: {
403
- exact?: string | undefined;
404
- startsWith?: string | undefined;
405
- regex?: string | undefined;
406
- } | undefined;
407
- value?: {
408
- exact?: string | undefined;
409
- startsWith?: string | undefined;
410
- regex?: string | undefined;
411
- } | undefined;
412
- }[] | undefined;
413
- } | undefined;
414
- }[] | undefined;
415
- } | undefined;
416
- activeCpuDurationMs?: number | undefined;
417
- networkTransfer?: {
418
- ingress: number;
419
- egress: number;
420
- } | undefined;
421
- };
422
- routes: {
423
- url: string;
424
- subdomain: string;
425
- port: number;
426
- }[];
427
- resumed?: boolean | undefined;
428
- }>>;
429
- forkSandbox(params: WithPrivate<{
430
- sourceSandbox: string;
431
- projectId: string;
432
- name?: string;
433
- ports?: number[];
434
- timeout?: number;
435
- resources?: {
436
- vcpus: number;
437
- };
438
- persistent?: boolean;
439
- image?: string;
440
- networkPolicy?: NetworkPolicy;
441
- env?: Record<string, string>;
442
- tags?: Record<string, string>;
443
- snapshotExpiration?: number;
444
- keepLastSnapshots?: {
445
- count: number;
446
- expiration?: number;
447
- deleteEvicted?: boolean;
448
- };
449
- region?: SandboxRegion;
450
- failoverRegions?: SandboxRegion[];
451
- signal?: AbortSignal;
452
- }>): Promise<Parsed<{
453
- sandbox: {
454
- name: string;
455
- persistent: boolean;
456
- createdAt: number;
457
- updatedAt: number;
458
- currentSessionId: string;
459
- status: "pending" | "running" | "stopping" | "stopped" | "failed" | "aborted" | "snapshotting";
460
- region?: string | undefined;
461
- failoverRegions?: string[] | undefined;
462
- vcpus?: number | undefined;
463
- memory?: number | undefined;
464
- runtime?: string | undefined;
465
- image?: string | undefined;
466
- timeout?: number | undefined;
467
- networkPolicy?: {
468
- [x: string]: unknown;
469
- mode: "allow-all";
470
- } | {
471
- [x: string]: unknown;
472
- mode: "deny-all";
473
- } | {
474
- [x: string]: unknown;
475
- mode: "custom";
476
- allowedDomains?: string[] | undefined;
477
- allowedCIDRs?: string[] | undefined;
478
- deniedCIDRs?: string[] | undefined;
479
- injectionRules?: {
480
- domain: string;
481
- headers?: Record<string, string> | undefined;
482
- headerNames?: string[] | undefined;
483
- match?: {
484
- path?: {
485
- exact?: string | undefined;
486
- startsWith?: string | undefined;
487
- regex?: string | undefined;
488
- } | undefined;
489
- method?: string[] | undefined;
490
- queryString?: {
491
- key?: {
492
- exact?: string | undefined;
493
- startsWith?: string | undefined;
494
- regex?: string | undefined;
495
- } | undefined;
496
- value?: {
497
- exact?: string | undefined;
498
- startsWith?: string | undefined;
499
- regex?: string | undefined;
500
- } | undefined;
501
- }[] | undefined;
502
- headers?: {
503
- key?: {
504
- exact?: string | undefined;
505
- startsWith?: string | undefined;
506
- regex?: string | undefined;
507
- } | undefined;
508
- value?: {
509
- exact?: string | undefined;
510
- startsWith?: string | undefined;
511
- regex?: string | undefined;
512
- } | undefined;
513
- }[] | undefined;
514
- } | undefined;
515
- }[] | undefined;
516
- forwardRules?: {
517
- domain: string;
518
- forwardURL: string;
519
- match?: {
520
- path?: {
521
- exact?: string | undefined;
522
- startsWith?: string | undefined;
523
- regex?: string | undefined;
524
- } | undefined;
525
- method?: string[] | undefined;
526
- queryString?: {
527
- key?: {
528
- exact?: string | undefined;
529
- startsWith?: string | undefined;
530
- regex?: string | undefined;
531
- } | undefined;
532
- value?: {
533
- exact?: string | undefined;
534
- startsWith?: string | undefined;
535
- regex?: string | undefined;
536
- } | undefined;
537
- }[] | undefined;
538
- headers?: {
539
- key?: {
540
- exact?: string | undefined;
541
- startsWith?: string | undefined;
542
- regex?: string | undefined;
543
- } | undefined;
544
- value?: {
545
- exact?: string | undefined;
546
- startsWith?: string | undefined;
547
- regex?: string | undefined;
548
- } | undefined;
549
- }[] | undefined;
550
- } | undefined;
551
- }[] | undefined;
552
- } | undefined;
553
- totalEgressBytes?: number | undefined;
554
- totalIngressBytes?: number | undefined;
555
- totalActiveCpuDurationMs?: number | undefined;
556
- totalDurationMs?: number | undefined;
557
- expiresAt?: number | undefined;
558
- currentSnapshotId?: string | undefined;
559
- statusUpdatedAt?: number | undefined;
560
- cwd?: string | undefined;
561
- tags?: Record<string, string> | undefined;
562
- mounts?: Record<string, {
563
- drive: string;
564
- mode?: "read-only" | "read-write" | undefined;
565
- }> | undefined;
566
- snapshotExpiration?: number | undefined;
567
- keepLastSnapshots?: {
568
- count: number;
569
- expiration?: number | undefined;
570
- deleteEvicted?: boolean | undefined;
571
- } | undefined;
572
- };
573
- session: {
574
- [x: string]: unknown;
575
- id: string;
576
- memory: number;
577
- vcpus: number;
578
- region: string;
579
- timeout: number;
580
- status: "pending" | "running" | "stopping" | "stopped" | "failed" | "aborted" | "snapshotting";
581
- requestedAt: number;
582
- createdAt: number;
583
- cwd: string;
584
- updatedAt: number;
585
- runtime?: string | undefined;
586
- startedAt?: number | undefined;
587
- requestedStopAt?: number | undefined;
588
- stoppedAt?: number | undefined;
589
- abortedAt?: number | undefined;
590
- duration?: number | undefined;
591
- sourceSnapshotId?: string | undefined;
592
- snapshottedAt?: number | undefined;
593
- interactivePort?: number | undefined;
594
- networkPolicy?: {
595
- [x: string]: unknown;
596
- mode: "allow-all";
597
- } | {
598
- [x: string]: unknown;
599
- mode: "deny-all";
600
- } | {
601
- [x: string]: unknown;
602
- mode: "custom";
603
- allowedDomains?: string[] | undefined;
604
- allowedCIDRs?: string[] | undefined;
605
- deniedCIDRs?: string[] | undefined;
606
- injectionRules?: {
607
- domain: string;
608
- headers?: Record<string, string> | undefined;
609
- headerNames?: string[] | undefined;
610
- match?: {
611
- path?: {
612
- exact?: string | undefined;
613
- startsWith?: string | undefined;
614
- regex?: string | undefined;
615
- } | undefined;
616
- method?: string[] | undefined;
617
- queryString?: {
618
- key?: {
619
- exact?: string | undefined;
620
- startsWith?: string | undefined;
621
- regex?: string | undefined;
622
- } | undefined;
623
- value?: {
624
- exact?: string | undefined;
625
- startsWith?: string | undefined;
626
- regex?: string | undefined;
627
- } | undefined;
628
- }[] | undefined;
629
- headers?: {
630
- key?: {
631
- exact?: string | undefined;
632
- startsWith?: string | undefined;
633
- regex?: string | undefined;
634
- } | undefined;
635
- value?: {
636
- exact?: string | undefined;
637
- startsWith?: string | undefined;
638
- regex?: string | undefined;
639
- } | undefined;
640
- }[] | undefined;
641
- } | undefined;
642
- }[] | undefined;
643
- forwardRules?: {
644
- domain: string;
645
- forwardURL: string;
646
- match?: {
647
- path?: {
648
- exact?: string | undefined;
649
- startsWith?: string | undefined;
650
- regex?: string | undefined;
651
- } | undefined;
652
- method?: string[] | undefined;
653
- queryString?: {
654
- key?: {
655
- exact?: string | undefined;
656
- startsWith?: string | undefined;
657
- regex?: string | undefined;
658
- } | undefined;
659
- value?: {
660
- exact?: string | undefined;
661
- startsWith?: string | undefined;
662
- regex?: string | undefined;
663
- } | undefined;
664
- }[] | undefined;
665
- headers?: {
666
- key?: {
667
- exact?: string | undefined;
668
- startsWith?: string | undefined;
669
- regex?: string | undefined;
670
- } | undefined;
671
- value?: {
672
- exact?: string | undefined;
673
- startsWith?: string | undefined;
674
- regex?: string | undefined;
675
- } | undefined;
676
- }[] | undefined;
677
- } | undefined;
678
- }[] | undefined;
679
- } | undefined;
680
- activeCpuDurationMs?: number | undefined;
681
- networkTransfer?: {
682
- ingress: number;
683
- egress: number;
684
- } | undefined;
685
- };
686
- routes: {
687
- url: string;
688
- subdomain: string;
689
- port: number;
690
- }[];
691
- resumed?: boolean | undefined;
692
- }>>;
693
- runCommand(params: {
694
- sessionId: string;
695
- cwd?: string;
696
- command: string;
697
- args: string[];
698
- env: Record<string, string>;
699
- sudo: boolean;
700
- wait: true;
701
- logs?: boolean;
702
- onLog?: (log: LogOutputLine) => void;
703
- timeout?: number;
704
- signal?: AbortSignal;
705
- }): Promise<{
706
- command: CommandData;
707
- finished: Promise<CommandFinishedData>;
708
- }>;
709
- runCommand(params: {
710
- sessionId: string;
711
- cwd?: string;
712
- command: string;
713
- args: string[];
714
- env: Record<string, string>;
715
- sudo: boolean;
716
- wait?: false;
717
- timeout?: number;
718
- signal?: AbortSignal;
719
- }): Promise<Parsed<z.infer<typeof CommandResponse>>>;
720
- getCommand(params: {
721
- sessionId: string;
722
- cmdId: string;
723
- wait: true;
724
- signal?: AbortSignal;
725
- }): Promise<Parsed<z.infer<typeof CommandFinishedResponse>>>;
726
- getCommand(params: {
727
- sessionId: string;
728
- cmdId: string;
729
- wait?: boolean;
730
- signal?: AbortSignal;
731
- }): Promise<Parsed<z.infer<typeof CommandResponse>>>;
732
- openInteractive(params: {
733
- sessionId: string;
734
- signal?: AbortSignal;
735
- }): Promise<Parsed<z.infer<typeof InteractiveSessionResponse>>>;
736
- mkDir(params: {
737
- sessionId: string;
738
- path: string;
739
- cwd?: string;
740
- signal?: AbortSignal;
741
- }): Promise<Parsed<Record<string, never>>>;
742
- getFileWriter(params: {
743
- sessionId: string;
744
- extractDir: string;
745
- signal?: AbortSignal;
746
- }): {
747
- response: Promise<Response>;
748
- writer: FileWriter;
749
- };
750
- listSessions(params: {
751
- /**
752
- * The ID or name of the project to which the sessions belong.
753
- * @example "my-project"
754
- */
755
- projectId: string;
756
- /**
757
- * Filter sessions by sandbox name.
758
- */
759
- name?: string;
760
- /**
761
- * Maximum number of sessions to list from a request.
762
- * @example 10
763
- */
764
- limit?: number;
765
- /**
766
- * Cursor for pagination.
767
- */
768
- cursor?: string;
769
- /**
770
- * Sort order for results.
771
- */
772
- sortOrder?: "asc" | "desc";
773
- signal?: AbortSignal;
774
- }): Promise<Parsed<{
775
- sessions: {
776
- [x: string]: unknown;
777
- id: string;
778
- memory: number;
779
- vcpus: number;
780
- region: string;
781
- timeout: number;
782
- status: "pending" | "running" | "stopping" | "stopped" | "failed" | "aborted" | "snapshotting";
783
- requestedAt: number;
784
- createdAt: number;
785
- cwd: string;
786
- updatedAt: number;
787
- runtime?: string | undefined;
788
- startedAt?: number | undefined;
789
- requestedStopAt?: number | undefined;
790
- stoppedAt?: number | undefined;
791
- abortedAt?: number | undefined;
792
- duration?: number | undefined;
793
- sourceSnapshotId?: string | undefined;
794
- snapshottedAt?: number | undefined;
795
- interactivePort?: number | undefined;
796
- networkPolicy?: {
797
- [x: string]: unknown;
798
- mode: "allow-all";
799
- } | {
800
- [x: string]: unknown;
801
- mode: "deny-all";
802
- } | {
803
- [x: string]: unknown;
804
- mode: "custom";
805
- allowedDomains?: string[] | undefined;
806
- allowedCIDRs?: string[] | undefined;
807
- deniedCIDRs?: string[] | undefined;
808
- injectionRules?: {
809
- domain: string;
810
- headers?: Record<string, string> | undefined;
811
- headerNames?: string[] | undefined;
812
- match?: {
813
- path?: {
814
- exact?: string | undefined;
815
- startsWith?: string | undefined;
816
- regex?: string | undefined;
817
- } | undefined;
818
- method?: string[] | undefined;
819
- queryString?: {
820
- key?: {
821
- exact?: string | undefined;
822
- startsWith?: string | undefined;
823
- regex?: string | undefined;
824
- } | undefined;
825
- value?: {
826
- exact?: string | undefined;
827
- startsWith?: string | undefined;
828
- regex?: string | undefined;
829
- } | undefined;
830
- }[] | undefined;
831
- headers?: {
832
- key?: {
833
- exact?: string | undefined;
834
- startsWith?: string | undefined;
835
- regex?: string | undefined;
836
- } | undefined;
837
- value?: {
838
- exact?: string | undefined;
839
- startsWith?: string | undefined;
840
- regex?: string | undefined;
841
- } | undefined;
842
- }[] | undefined;
843
- } | undefined;
844
- }[] | undefined;
845
- forwardRules?: {
846
- domain: string;
847
- forwardURL: string;
848
- match?: {
849
- path?: {
850
- exact?: string | undefined;
851
- startsWith?: string | undefined;
852
- regex?: string | undefined;
853
- } | undefined;
854
- method?: string[] | undefined;
855
- queryString?: {
856
- key?: {
857
- exact?: string | undefined;
858
- startsWith?: string | undefined;
859
- regex?: string | undefined;
860
- } | undefined;
861
- value?: {
862
- exact?: string | undefined;
863
- startsWith?: string | undefined;
864
- regex?: string | undefined;
865
- } | undefined;
866
- }[] | undefined;
867
- headers?: {
868
- key?: {
869
- exact?: string | undefined;
870
- startsWith?: string | undefined;
871
- regex?: string | undefined;
872
- } | undefined;
873
- value?: {
874
- exact?: string | undefined;
875
- startsWith?: string | undefined;
876
- regex?: string | undefined;
877
- } | undefined;
878
- }[] | undefined;
879
- } | undefined;
880
- }[] | undefined;
881
- } | undefined;
882
- activeCpuDurationMs?: number | undefined;
883
- networkTransfer?: {
884
- ingress: number;
885
- egress: number;
886
- } | undefined;
887
- }[];
888
- pagination: {
889
- count: number;
890
- next: string | null;
891
- };
892
- }>>;
893
- listSnapshots(params: {
894
- /**
895
- * The ID or name of the project to which the snapshots belong.
896
- * @example "my-project"
897
- */
898
- projectId: string;
899
- /**
900
- * Filter snapshots by sandbox name.
901
- */
902
- name?: string;
903
- /**
904
- * Maximum number of snapshots to list from a request.
905
- * @example 10
906
- */
907
- limit?: number;
908
- /**
909
- * Cursor for pagination.
910
- */
911
- cursor?: string;
912
- /**
913
- * Sort order for results.
914
- */
915
- sortOrder?: "asc" | "desc";
916
- signal?: AbortSignal;
917
- }): Promise<Parsed<{
918
- snapshots: {
919
- id: string;
920
- sourceSessionId: string;
921
- region: string;
922
- status: "failed" | "created" | "deleted";
923
- sizeBytes: number;
924
- createdAt: number;
925
- updatedAt: number;
926
- regions?: string[] | undefined;
927
- expiresAt?: number | undefined;
928
- lastUsedAt?: number | undefined;
929
- creationMethod?: string | undefined;
930
- parentId?: string | undefined;
931
- }[];
932
- pagination: {
933
- count: number;
934
- next: string | null;
935
- };
936
- }>>;
937
- getSnapshotTree(params: {
938
- /**
939
- * The ID or name of the project to which the snapshots belong.
940
- */
941
- projectId: string;
942
- /**
943
- * The snapshot ID to use as the anchor for the tree traversal.
944
- */
945
- snapshotId: string;
946
- /**
947
- * Maximum number of nodes to return.
948
- */
949
- limit?: number;
950
- /**
951
- * Sort order: "asc" for descendants, "desc" for ancestors.
952
- */
953
- sortOrder?: "asc" | "desc";
954
- signal?: AbortSignal;
955
- }): Promise<Parsed<{
956
- snapshots: {
957
- snapshot: {
958
- id: string;
959
- sourceSessionId: string;
960
- region: string;
961
- status: "failed" | "created" | "deleted";
962
- sizeBytes: number;
963
- createdAt: number;
964
- updatedAt: number;
965
- regions?: string[] | undefined;
966
- expiresAt?: number | undefined;
967
- lastUsedAt?: number | undefined;
968
- creationMethod?: string | undefined;
969
- parentId?: string | undefined;
970
- };
971
- siblings: {
972
- id: string;
973
- sourceSessionId: string;
974
- region: string;
975
- status: "failed" | "created" | "deleted";
976
- sizeBytes: number;
977
- createdAt: number;
978
- updatedAt: number;
979
- regions?: string[] | undefined;
980
- expiresAt?: number | undefined;
981
- lastUsedAt?: number | undefined;
982
- creationMethod?: string | undefined;
983
- parentId?: string | undefined;
984
- }[];
985
- count: string;
986
- }[];
987
- pagination: {
988
- count: number;
989
- next: string | null;
990
- };
991
- anchor?: {
992
- snapshot: {
993
- id: string;
994
- sourceSessionId: string;
995
- region: string;
996
- status: "failed" | "created" | "deleted";
997
- sizeBytes: number;
998
- createdAt: number;
999
- updatedAt: number;
1000
- regions?: string[] | undefined;
1001
- expiresAt?: number | undefined;
1002
- lastUsedAt?: number | undefined;
1003
- creationMethod?: string | undefined;
1004
- parentId?: string | undefined;
1005
- };
1006
- siblings: {
1007
- id: string;
1008
- sourceSessionId: string;
1009
- region: string;
1010
- status: "failed" | "created" | "deleted";
1011
- sizeBytes: number;
1012
- createdAt: number;
1013
- updatedAt: number;
1014
- regions?: string[] | undefined;
1015
- expiresAt?: number | undefined;
1016
- lastUsedAt?: number | undefined;
1017
- creationMethod?: string | undefined;
1018
- parentId?: string | undefined;
1019
- }[];
1020
- count: string;
1021
- } | undefined;
1022
- }>>;
1023
- listDrives(params: {
1024
- projectId: string;
1025
- limit?: number;
1026
- cursor?: string | number;
1027
- since?: number | string;
1028
- until?: number | string;
1029
- sortBy?: "createdAt" | "updatedAt" | "name";
1030
- sortOrder?: "asc" | "desc";
1031
- namePrefix?: string;
1032
- signal?: AbortSignal;
1033
- }): Promise<Parsed<{
1034
- drives: {
1035
- name: string;
1036
- projectId: string;
1037
- region: string;
1038
- maxSizeBytes: number;
1039
- createdAt: number;
1040
- updatedAt: number;
1041
- currentSessionId?: string | undefined;
1042
- currentSandboxName?: string | undefined;
1043
- }[];
1044
- pagination: {
1045
- count: number;
1046
- next: string | null;
1047
- };
1048
- }>>;
1049
- getOrCreateDrive(params: {
1050
- projectId: string;
1051
- name: string;
1052
- region?: string;
1053
- maxSizeBytes?: number;
1054
- signal?: AbortSignal;
1055
- }): Promise<Parsed<{
1056
- drive: {
1057
- name: string;
1058
- projectId: string;
1059
- region: string;
1060
- maxSizeBytes: number;
1061
- createdAt: number;
1062
- updatedAt: number;
1063
- currentSessionId?: string | undefined;
1064
- currentSandboxName?: string | undefined;
1065
- };
1066
- }>>;
1067
- writeFiles(params: {
1068
- sessionId: string;
1069
- cwd: string;
1070
- files: {
1071
- path: string;
1072
- content: string | Uint8Array;
1073
- mode?: number;
1074
- }[];
1075
- extractDir: string;
1076
- signal?: AbortSignal;
1077
- }): Promise<void>;
1078
- readFile(params: {
1079
- sessionId: string;
1080
- path: string;
1081
- cwd?: string;
1082
- signal?: AbortSignal;
1083
- }): Promise<Readable | null>;
1084
- killCommand(params: {
1085
- sessionId: string;
1086
- commandId: string;
1087
- signal: number;
1088
- abortSignal?: AbortSignal;
1089
- }): Promise<Parsed<{
1090
- command: {
1091
- id: string;
1092
- name: string;
1093
- args: string[];
1094
- cwd: string;
1095
- sessionId: string;
1096
- exitCode: number | null;
1097
- startedAt: number;
1098
- durationMs?: number | undefined;
1099
- };
1100
- }>>;
1101
- getLogs(params: {
1102
- sessionId: string;
1103
- cmdId: string;
1104
- signal?: AbortSignal;
1105
- }): AsyncGenerator<LogOutputLine, void, void> & Disposable & {
1106
- close(): void;
1107
- };
1108
- stopSession(params: {
1109
- sessionId: string;
1110
- signal?: AbortSignal;
1111
- }): Promise<Parsed<z.infer<typeof StopSessionResponse>>>;
1112
- updateNetworkPolicy(params: {
1113
- sessionId: string;
1114
- networkPolicy: NetworkPolicy;
1115
- signal?: AbortSignal;
1116
- }): Promise<Parsed<z.infer<typeof SessionResponse>>>;
1117
- extendTimeout(params: {
1118
- sessionId: string;
1119
- duration: number;
1120
- signal?: AbortSignal;
1121
- }): Promise<Parsed<z.infer<typeof SessionResponse>>>;
1122
- createSnapshot(params: {
1123
- sessionId: string;
1124
- expiration?: number;
1125
- signal?: AbortSignal;
1126
- }): Promise<Parsed<z.infer<typeof CreateSnapshotResponse>>>;
1127
- deleteSnapshot(params: {
1128
- snapshotId: string;
1129
- signal?: AbortSignal;
1130
- }): Promise<Parsed<z.infer<typeof SnapshotResponse>>>;
1131
- getSnapshot(params: {
1132
- snapshotId: string;
1133
- signal?: AbortSignal;
1134
- }): Promise<Parsed<z.infer<typeof SnapshotResponse>>>;
1135
- getSandbox(params: WithPrivate<{
1136
- name: string;
1137
- projectId: string;
1138
- resume?: boolean;
1139
- signal?: AbortSignal;
1140
- }>): Promise<Parsed<{
1141
- sandbox: {
1142
- name: string;
1143
- persistent: boolean;
1144
- createdAt: number;
1145
- updatedAt: number;
1146
- currentSessionId: string;
1147
- status: "pending" | "running" | "stopping" | "stopped" | "failed" | "aborted" | "snapshotting";
1148
- region?: string | undefined;
1149
- failoverRegions?: string[] | undefined;
1150
- vcpus?: number | undefined;
1151
- memory?: number | undefined;
1152
- runtime?: string | undefined;
1153
- image?: string | undefined;
1154
- timeout?: number | undefined;
1155
- networkPolicy?: {
1156
- [x: string]: unknown;
1157
- mode: "allow-all";
1158
- } | {
1159
- [x: string]: unknown;
1160
- mode: "deny-all";
1161
- } | {
1162
- [x: string]: unknown;
1163
- mode: "custom";
1164
- allowedDomains?: string[] | undefined;
1165
- allowedCIDRs?: string[] | undefined;
1166
- deniedCIDRs?: string[] | undefined;
1167
- injectionRules?: {
1168
- domain: string;
1169
- headers?: Record<string, string> | undefined;
1170
- headerNames?: string[] | undefined;
1171
- match?: {
1172
- path?: {
1173
- exact?: string | undefined;
1174
- startsWith?: string | undefined;
1175
- regex?: string | undefined;
1176
- } | undefined;
1177
- method?: string[] | undefined;
1178
- queryString?: {
1179
- key?: {
1180
- exact?: string | undefined;
1181
- startsWith?: string | undefined;
1182
- regex?: string | undefined;
1183
- } | undefined;
1184
- value?: {
1185
- exact?: string | undefined;
1186
- startsWith?: string | undefined;
1187
- regex?: string | undefined;
1188
- } | undefined;
1189
- }[] | undefined;
1190
- headers?: {
1191
- key?: {
1192
- exact?: string | undefined;
1193
- startsWith?: string | undefined;
1194
- regex?: string | undefined;
1195
- } | undefined;
1196
- value?: {
1197
- exact?: string | undefined;
1198
- startsWith?: string | undefined;
1199
- regex?: string | undefined;
1200
- } | undefined;
1201
- }[] | undefined;
1202
- } | undefined;
1203
- }[] | undefined;
1204
- forwardRules?: {
1205
- domain: string;
1206
- forwardURL: string;
1207
- match?: {
1208
- path?: {
1209
- exact?: string | undefined;
1210
- startsWith?: string | undefined;
1211
- regex?: string | undefined;
1212
- } | undefined;
1213
- method?: string[] | undefined;
1214
- queryString?: {
1215
- key?: {
1216
- exact?: string | undefined;
1217
- startsWith?: string | undefined;
1218
- regex?: string | undefined;
1219
- } | undefined;
1220
- value?: {
1221
- exact?: string | undefined;
1222
- startsWith?: string | undefined;
1223
- regex?: string | undefined;
1224
- } | undefined;
1225
- }[] | undefined;
1226
- headers?: {
1227
- key?: {
1228
- exact?: string | undefined;
1229
- startsWith?: string | undefined;
1230
- regex?: string | undefined;
1231
- } | undefined;
1232
- value?: {
1233
- exact?: string | undefined;
1234
- startsWith?: string | undefined;
1235
- regex?: string | undefined;
1236
- } | undefined;
1237
- }[] | undefined;
1238
- } | undefined;
1239
- }[] | undefined;
1240
- } | undefined;
1241
- totalEgressBytes?: number | undefined;
1242
- totalIngressBytes?: number | undefined;
1243
- totalActiveCpuDurationMs?: number | undefined;
1244
- totalDurationMs?: number | undefined;
1245
- expiresAt?: number | undefined;
1246
- currentSnapshotId?: string | undefined;
1247
- statusUpdatedAt?: number | undefined;
1248
- cwd?: string | undefined;
1249
- tags?: Record<string, string> | undefined;
1250
- mounts?: Record<string, {
1251
- drive: string;
1252
- mode?: "read-only" | "read-write" | undefined;
1253
- }> | undefined;
1254
- snapshotExpiration?: number | undefined;
1255
- keepLastSnapshots?: {
1256
- count: number;
1257
- expiration?: number | undefined;
1258
- deleteEvicted?: boolean | undefined;
1259
- } | undefined;
1260
- };
1261
- session: {
1262
- [x: string]: unknown;
1263
- id: string;
1264
- memory: number;
1265
- vcpus: number;
1266
- region: string;
1267
- timeout: number;
1268
- status: "pending" | "running" | "stopping" | "stopped" | "failed" | "aborted" | "snapshotting";
1269
- requestedAt: number;
1270
- createdAt: number;
1271
- cwd: string;
1272
- updatedAt: number;
1273
- runtime?: string | undefined;
1274
- startedAt?: number | undefined;
1275
- requestedStopAt?: number | undefined;
1276
- stoppedAt?: number | undefined;
1277
- abortedAt?: number | undefined;
1278
- duration?: number | undefined;
1279
- sourceSnapshotId?: string | undefined;
1280
- snapshottedAt?: number | undefined;
1281
- interactivePort?: number | undefined;
1282
- networkPolicy?: {
1283
- [x: string]: unknown;
1284
- mode: "allow-all";
1285
- } | {
1286
- [x: string]: unknown;
1287
- mode: "deny-all";
1288
- } | {
1289
- [x: string]: unknown;
1290
- mode: "custom";
1291
- allowedDomains?: string[] | undefined;
1292
- allowedCIDRs?: string[] | undefined;
1293
- deniedCIDRs?: string[] | undefined;
1294
- injectionRules?: {
1295
- domain: string;
1296
- headers?: Record<string, string> | undefined;
1297
- headerNames?: string[] | undefined;
1298
- match?: {
1299
- path?: {
1300
- exact?: string | undefined;
1301
- startsWith?: string | undefined;
1302
- regex?: string | undefined;
1303
- } | undefined;
1304
- method?: string[] | undefined;
1305
- queryString?: {
1306
- key?: {
1307
- exact?: string | undefined;
1308
- startsWith?: string | undefined;
1309
- regex?: string | undefined;
1310
- } | undefined;
1311
- value?: {
1312
- exact?: string | undefined;
1313
- startsWith?: string | undefined;
1314
- regex?: string | undefined;
1315
- } | undefined;
1316
- }[] | undefined;
1317
- headers?: {
1318
- key?: {
1319
- exact?: string | undefined;
1320
- startsWith?: string | undefined;
1321
- regex?: string | undefined;
1322
- } | undefined;
1323
- value?: {
1324
- exact?: string | undefined;
1325
- startsWith?: string | undefined;
1326
- regex?: string | undefined;
1327
- } | undefined;
1328
- }[] | undefined;
1329
- } | undefined;
1330
- }[] | undefined;
1331
- forwardRules?: {
1332
- domain: string;
1333
- forwardURL: string;
1334
- match?: {
1335
- path?: {
1336
- exact?: string | undefined;
1337
- startsWith?: string | undefined;
1338
- regex?: string | undefined;
1339
- } | undefined;
1340
- method?: string[] | undefined;
1341
- queryString?: {
1342
- key?: {
1343
- exact?: string | undefined;
1344
- startsWith?: string | undefined;
1345
- regex?: string | undefined;
1346
- } | undefined;
1347
- value?: {
1348
- exact?: string | undefined;
1349
- startsWith?: string | undefined;
1350
- regex?: string | undefined;
1351
- } | undefined;
1352
- }[] | undefined;
1353
- headers?: {
1354
- key?: {
1355
- exact?: string | undefined;
1356
- startsWith?: string | undefined;
1357
- regex?: string | undefined;
1358
- } | undefined;
1359
- value?: {
1360
- exact?: string | undefined;
1361
- startsWith?: string | undefined;
1362
- regex?: string | undefined;
1363
- } | undefined;
1364
- }[] | undefined;
1365
- } | undefined;
1366
- }[] | undefined;
1367
- } | undefined;
1368
- activeCpuDurationMs?: number | undefined;
1369
- networkTransfer?: {
1370
- ingress: number;
1371
- egress: number;
1372
- } | undefined;
1373
- };
1374
- routes: {
1375
- url: string;
1376
- subdomain: string;
1377
- port: number;
1378
- }[];
1379
- resumed?: boolean | undefined;
1380
- }>>;
1381
- listSandboxes(params: {
1382
- projectId: string;
1383
- limit?: number;
1384
- sortBy?: "createdAt" | "name" | "statusUpdatedAt";
1385
- sortOrder?: "asc" | "desc";
1386
- namePrefix?: string;
1387
- cursor?: string;
1388
- tags?: Record<string, string>;
1389
- signal?: AbortSignal;
1390
- }): Promise<Parsed<{
1391
- sandboxes: {
1392
- name: string;
1393
- persistent: boolean;
1394
- createdAt: number;
1395
- updatedAt: number;
1396
- currentSessionId: string;
1397
- status: "pending" | "running" | "stopping" | "stopped" | "failed" | "aborted" | "snapshotting";
1398
- region?: string | undefined;
1399
- failoverRegions?: string[] | undefined;
1400
- vcpus?: number | undefined;
1401
- memory?: number | undefined;
1402
- runtime?: string | undefined;
1403
- image?: string | undefined;
1404
- timeout?: number | undefined;
1405
- networkPolicy?: {
1406
- [x: string]: unknown;
1407
- mode: "allow-all";
1408
- } | {
1409
- [x: string]: unknown;
1410
- mode: "deny-all";
1411
- } | {
1412
- [x: string]: unknown;
1413
- mode: "custom";
1414
- allowedDomains?: string[] | undefined;
1415
- allowedCIDRs?: string[] | undefined;
1416
- deniedCIDRs?: string[] | undefined;
1417
- injectionRules?: {
1418
- domain: string;
1419
- headers?: Record<string, string> | undefined;
1420
- headerNames?: string[] | undefined;
1421
- match?: {
1422
- path?: {
1423
- exact?: string | undefined;
1424
- startsWith?: string | undefined;
1425
- regex?: string | undefined;
1426
- } | undefined;
1427
- method?: string[] | undefined;
1428
- queryString?: {
1429
- key?: {
1430
- exact?: string | undefined;
1431
- startsWith?: string | undefined;
1432
- regex?: string | undefined;
1433
- } | undefined;
1434
- value?: {
1435
- exact?: string | undefined;
1436
- startsWith?: string | undefined;
1437
- regex?: string | undefined;
1438
- } | undefined;
1439
- }[] | undefined;
1440
- headers?: {
1441
- key?: {
1442
- exact?: string | undefined;
1443
- startsWith?: string | undefined;
1444
- regex?: string | undefined;
1445
- } | undefined;
1446
- value?: {
1447
- exact?: string | undefined;
1448
- startsWith?: string | undefined;
1449
- regex?: string | undefined;
1450
- } | undefined;
1451
- }[] | undefined;
1452
- } | undefined;
1453
- }[] | undefined;
1454
- forwardRules?: {
1455
- domain: string;
1456
- forwardURL: string;
1457
- match?: {
1458
- path?: {
1459
- exact?: string | undefined;
1460
- startsWith?: string | undefined;
1461
- regex?: string | undefined;
1462
- } | undefined;
1463
- method?: string[] | undefined;
1464
- queryString?: {
1465
- key?: {
1466
- exact?: string | undefined;
1467
- startsWith?: string | undefined;
1468
- regex?: string | undefined;
1469
- } | undefined;
1470
- value?: {
1471
- exact?: string | undefined;
1472
- startsWith?: string | undefined;
1473
- regex?: string | undefined;
1474
- } | undefined;
1475
- }[] | undefined;
1476
- headers?: {
1477
- key?: {
1478
- exact?: string | undefined;
1479
- startsWith?: string | undefined;
1480
- regex?: string | undefined;
1481
- } | undefined;
1482
- value?: {
1483
- exact?: string | undefined;
1484
- startsWith?: string | undefined;
1485
- regex?: string | undefined;
1486
- } | undefined;
1487
- }[] | undefined;
1488
- } | undefined;
1489
- }[] | undefined;
1490
- } | undefined;
1491
- totalEgressBytes?: number | undefined;
1492
- totalIngressBytes?: number | undefined;
1493
- totalActiveCpuDurationMs?: number | undefined;
1494
- totalDurationMs?: number | undefined;
1495
- expiresAt?: number | undefined;
1496
- currentSnapshotId?: string | undefined;
1497
- statusUpdatedAt?: number | undefined;
1498
- cwd?: string | undefined;
1499
- tags?: Record<string, string> | undefined;
1500
- mounts?: Record<string, {
1501
- drive: string;
1502
- mode?: "read-only" | "read-write" | undefined;
1503
- }> | undefined;
1504
- snapshotExpiration?: number | undefined;
1505
- keepLastSnapshots?: {
1506
- count: number;
1507
- expiration?: number | undefined;
1508
- deleteEvicted?: boolean | undefined;
1509
- } | undefined;
1510
- }[];
1511
- pagination: {
1512
- count: number;
1513
- next: string | null;
1514
- };
1515
- }>>;
1516
- deleteDrive(params: {
1517
- projectId: string;
1518
- name: string;
1519
- signal?: AbortSignal;
1520
- }): Promise<Parsed<{
1521
- drive: {
1522
- name: string;
1523
- projectId: string;
1524
- region: string;
1525
- maxSizeBytes: number;
1526
- createdAt: number;
1527
- updatedAt: number;
1528
- currentSessionId?: string | undefined;
1529
- currentSandboxName?: string | undefined;
1530
- };
1531
- }>>;
1532
- updateSandbox(params: {
1533
- name: string;
1534
- projectId: string;
1535
- persistent?: boolean;
1536
- resources?: {
1537
- vcpus?: number;
1538
- memory?: number;
1539
- };
1540
- timeout?: number;
1541
- networkPolicy?: NetworkPolicy;
1542
- tags?: Record<string, string>;
1543
- ports?: number[];
1544
- snapshotExpiration?: number;
1545
- keepLastSnapshots?: {
1546
- count: number;
1547
- expiration?: number;
1548
- deleteEvicted?: boolean;
1549
- } | null;
1550
- currentSnapshotId?: string;
1551
- region?: SandboxRegion;
1552
- failoverRegions?: SandboxRegion[];
1553
- signal?: AbortSignal;
1554
- }): Promise<Parsed<{
1555
- sandbox: {
1556
- name: string;
1557
- persistent: boolean;
1558
- createdAt: number;
1559
- updatedAt: number;
1560
- currentSessionId: string;
1561
- status: "pending" | "running" | "stopping" | "stopped" | "failed" | "aborted" | "snapshotting";
1562
- region?: string | undefined;
1563
- failoverRegions?: string[] | undefined;
1564
- vcpus?: number | undefined;
1565
- memory?: number | undefined;
1566
- runtime?: string | undefined;
1567
- image?: string | undefined;
1568
- timeout?: number | undefined;
1569
- networkPolicy?: {
1570
- [x: string]: unknown;
1571
- mode: "allow-all";
1572
- } | {
1573
- [x: string]: unknown;
1574
- mode: "deny-all";
1575
- } | {
1576
- [x: string]: unknown;
1577
- mode: "custom";
1578
- allowedDomains?: string[] | undefined;
1579
- allowedCIDRs?: string[] | undefined;
1580
- deniedCIDRs?: string[] | undefined;
1581
- injectionRules?: {
1582
- domain: string;
1583
- headers?: Record<string, string> | undefined;
1584
- headerNames?: string[] | undefined;
1585
- match?: {
1586
- path?: {
1587
- exact?: string | undefined;
1588
- startsWith?: string | undefined;
1589
- regex?: string | undefined;
1590
- } | undefined;
1591
- method?: string[] | undefined;
1592
- queryString?: {
1593
- key?: {
1594
- exact?: string | undefined;
1595
- startsWith?: string | undefined;
1596
- regex?: string | undefined;
1597
- } | undefined;
1598
- value?: {
1599
- exact?: string | undefined;
1600
- startsWith?: string | undefined;
1601
- regex?: string | undefined;
1602
- } | undefined;
1603
- }[] | undefined;
1604
- headers?: {
1605
- key?: {
1606
- exact?: string | undefined;
1607
- startsWith?: string | undefined;
1608
- regex?: string | undefined;
1609
- } | undefined;
1610
- value?: {
1611
- exact?: string | undefined;
1612
- startsWith?: string | undefined;
1613
- regex?: string | undefined;
1614
- } | undefined;
1615
- }[] | undefined;
1616
- } | undefined;
1617
- }[] | undefined;
1618
- forwardRules?: {
1619
- domain: string;
1620
- forwardURL: string;
1621
- match?: {
1622
- path?: {
1623
- exact?: string | undefined;
1624
- startsWith?: string | undefined;
1625
- regex?: string | undefined;
1626
- } | undefined;
1627
- method?: string[] | undefined;
1628
- queryString?: {
1629
- key?: {
1630
- exact?: string | undefined;
1631
- startsWith?: string | undefined;
1632
- regex?: string | undefined;
1633
- } | undefined;
1634
- value?: {
1635
- exact?: string | undefined;
1636
- startsWith?: string | undefined;
1637
- regex?: string | undefined;
1638
- } | undefined;
1639
- }[] | undefined;
1640
- headers?: {
1641
- key?: {
1642
- exact?: string | undefined;
1643
- startsWith?: string | undefined;
1644
- regex?: string | undefined;
1645
- } | undefined;
1646
- value?: {
1647
- exact?: string | undefined;
1648
- startsWith?: string | undefined;
1649
- regex?: string | undefined;
1650
- } | undefined;
1651
- }[] | undefined;
1652
- } | undefined;
1653
- }[] | undefined;
1654
- } | undefined;
1655
- totalEgressBytes?: number | undefined;
1656
- totalIngressBytes?: number | undefined;
1657
- totalActiveCpuDurationMs?: number | undefined;
1658
- totalDurationMs?: number | undefined;
1659
- expiresAt?: number | undefined;
1660
- currentSnapshotId?: string | undefined;
1661
- statusUpdatedAt?: number | undefined;
1662
- cwd?: string | undefined;
1663
- tags?: Record<string, string> | undefined;
1664
- mounts?: Record<string, {
1665
- drive: string;
1666
- mode?: "read-only" | "read-write" | undefined;
1667
- }> | undefined;
1668
- snapshotExpiration?: number | undefined;
1669
- keepLastSnapshots?: {
1670
- count: number;
1671
- expiration?: number | undefined;
1672
- deleteEvicted?: boolean | undefined;
1673
- } | undefined;
1674
- };
1675
- routes?: {
1676
- url: string;
1677
- subdomain: string;
1678
- port: number;
1679
- }[] | undefined;
1680
- }>>;
1681
- deleteSandbox(params: {
1682
- name: string;
1683
- projectId: string;
1684
- signal?: AbortSignal;
1685
- }): Promise<Parsed<{
1686
- sandbox: {
1687
- name: string;
1688
- persistent: boolean;
1689
- createdAt: number;
1690
- updatedAt: number;
1691
- currentSessionId: string;
1692
- status: "pending" | "running" | "stopping" | "stopped" | "failed" | "aborted" | "snapshotting";
1693
- region?: string | undefined;
1694
- failoverRegions?: string[] | undefined;
1695
- vcpus?: number | undefined;
1696
- memory?: number | undefined;
1697
- runtime?: string | undefined;
1698
- image?: string | undefined;
1699
- timeout?: number | undefined;
1700
- networkPolicy?: {
1701
- [x: string]: unknown;
1702
- mode: "allow-all";
1703
- } | {
1704
- [x: string]: unknown;
1705
- mode: "deny-all";
1706
- } | {
1707
- [x: string]: unknown;
1708
- mode: "custom";
1709
- allowedDomains?: string[] | undefined;
1710
- allowedCIDRs?: string[] | undefined;
1711
- deniedCIDRs?: string[] | undefined;
1712
- injectionRules?: {
1713
- domain: string;
1714
- headers?: Record<string, string> | undefined;
1715
- headerNames?: string[] | undefined;
1716
- match?: {
1717
- path?: {
1718
- exact?: string | undefined;
1719
- startsWith?: string | undefined;
1720
- regex?: string | undefined;
1721
- } | undefined;
1722
- method?: string[] | undefined;
1723
- queryString?: {
1724
- key?: {
1725
- exact?: string | undefined;
1726
- startsWith?: string | undefined;
1727
- regex?: string | undefined;
1728
- } | undefined;
1729
- value?: {
1730
- exact?: string | undefined;
1731
- startsWith?: string | undefined;
1732
- regex?: string | undefined;
1733
- } | undefined;
1734
- }[] | undefined;
1735
- headers?: {
1736
- key?: {
1737
- exact?: string | undefined;
1738
- startsWith?: string | undefined;
1739
- regex?: string | undefined;
1740
- } | undefined;
1741
- value?: {
1742
- exact?: string | undefined;
1743
- startsWith?: string | undefined;
1744
- regex?: string | undefined;
1745
- } | undefined;
1746
- }[] | undefined;
1747
- } | undefined;
1748
- }[] | undefined;
1749
- forwardRules?: {
1750
- domain: string;
1751
- forwardURL: string;
1752
- match?: {
1753
- path?: {
1754
- exact?: string | undefined;
1755
- startsWith?: string | undefined;
1756
- regex?: string | undefined;
1757
- } | undefined;
1758
- method?: string[] | undefined;
1759
- queryString?: {
1760
- key?: {
1761
- exact?: string | undefined;
1762
- startsWith?: string | undefined;
1763
- regex?: string | undefined;
1764
- } | undefined;
1765
- value?: {
1766
- exact?: string | undefined;
1767
- startsWith?: string | undefined;
1768
- regex?: string | undefined;
1769
- } | undefined;
1770
- }[] | undefined;
1771
- headers?: {
1772
- key?: {
1773
- exact?: string | undefined;
1774
- startsWith?: string | undefined;
1775
- regex?: string | undefined;
1776
- } | undefined;
1777
- value?: {
1778
- exact?: string | undefined;
1779
- startsWith?: string | undefined;
1780
- regex?: string | undefined;
1781
- } | undefined;
1782
- }[] | undefined;
1783
- } | undefined;
1784
- }[] | undefined;
1785
- } | undefined;
1786
- totalEgressBytes?: number | undefined;
1787
- totalIngressBytes?: number | undefined;
1788
- totalActiveCpuDurationMs?: number | undefined;
1789
- totalDurationMs?: number | undefined;
1790
- expiresAt?: number | undefined;
1791
- currentSnapshotId?: string | undefined;
1792
- statusUpdatedAt?: number | undefined;
1793
- cwd?: string | undefined;
1794
- tags?: Record<string, string> | undefined;
1795
- mounts?: Record<string, {
1796
- drive: string;
1797
- mode?: "read-only" | "read-write" | undefined;
1798
- }> | undefined;
1799
- snapshotExpiration?: number | undefined;
1800
- keepLastSnapshots?: {
1801
- count: number;
1802
- expiration?: number | undefined;
1803
- deleteEvicted?: boolean | undefined;
1804
- } | undefined;
1805
- };
1806
- routes?: {
1807
- url: string;
1808
- subdomain: string;
1809
- port: number;
1810
- }[] | undefined;
1811
- }>>;
1812
- }
1813
- //#endregion
1814
- export { APIClient, WithFetchOptions };
1815
- //# sourceMappingURL=api-client.d.ts.map