@miosa/sdk 1.2.28 → 2.0.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.
- package/dist/index.d.ts +511 -9
- package/dist/index.js +1273 -633
- package/dist/index.js.map +1 -1
- package/package.json +20 -16
package/dist/index.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ interface RequestOptions {
|
|
|
16
16
|
interface HttpClientConfig {
|
|
17
17
|
baseUrl: string;
|
|
18
18
|
apiKey: string;
|
|
19
|
+
tenant?: string;
|
|
19
20
|
timeout: number;
|
|
20
21
|
maxRetries: number;
|
|
21
22
|
}
|
|
@@ -24,6 +25,7 @@ declare class HttpClient {
|
|
|
24
25
|
readonly baseUrl: string;
|
|
25
26
|
/** Public for WebSocket clients that need to send the same auth. */
|
|
26
27
|
readonly apiKey: string;
|
|
28
|
+
readonly tenant: string | undefined;
|
|
27
29
|
private readonly timeout;
|
|
28
30
|
private readonly maxRetries;
|
|
29
31
|
constructor(config: HttpClientConfig);
|
|
@@ -164,6 +166,279 @@ declare class Admin {
|
|
|
164
166
|
}>;
|
|
165
167
|
}
|
|
166
168
|
|
|
169
|
+
type AgentRunTargetKind = "sandbox" | "computer";
|
|
170
|
+
type AgentRunStatus = "running" | "succeeded" | "failed" | "canceled";
|
|
171
|
+
interface AgentRun {
|
|
172
|
+
id: string;
|
|
173
|
+
agent_run_group_id?: string;
|
|
174
|
+
parent_agent_run_id?: string;
|
|
175
|
+
orchestration_role?: string;
|
|
176
|
+
external_workspace_id?: string | null;
|
|
177
|
+
external_user_id?: string | null;
|
|
178
|
+
external_project_id?: string | null;
|
|
179
|
+
target_kind: AgentRunTargetKind;
|
|
180
|
+
target_id: string;
|
|
181
|
+
provider: string;
|
|
182
|
+
prompt: string;
|
|
183
|
+
status: AgentRunStatus;
|
|
184
|
+
output?: string;
|
|
185
|
+
stderr?: string;
|
|
186
|
+
exit_code?: number;
|
|
187
|
+
metadata?: Record<string, unknown>;
|
|
188
|
+
started_at?: string;
|
|
189
|
+
finished_at?: string;
|
|
190
|
+
created_at?: string;
|
|
191
|
+
updated_at?: string;
|
|
192
|
+
[key: string]: unknown;
|
|
193
|
+
}
|
|
194
|
+
interface AgentRunArtifact {
|
|
195
|
+
id: string;
|
|
196
|
+
agent_run_id?: string;
|
|
197
|
+
target_kind?: AgentRunTargetKind;
|
|
198
|
+
target_id?: string;
|
|
199
|
+
path: string;
|
|
200
|
+
kind?: string;
|
|
201
|
+
mime_type?: string;
|
|
202
|
+
size_bytes?: number;
|
|
203
|
+
sha256?: string;
|
|
204
|
+
status?: string;
|
|
205
|
+
persisted?: boolean;
|
|
206
|
+
storage_backend?: string | null;
|
|
207
|
+
persisted_at?: string | null;
|
|
208
|
+
created_at?: string;
|
|
209
|
+
updated_at?: string;
|
|
210
|
+
[key: string]: unknown;
|
|
211
|
+
}
|
|
212
|
+
interface AgentRunEvent {
|
|
213
|
+
id: string;
|
|
214
|
+
agent_run_id?: string;
|
|
215
|
+
sequence?: number;
|
|
216
|
+
type: string;
|
|
217
|
+
message?: string | null;
|
|
218
|
+
payload?: Record<string, unknown>;
|
|
219
|
+
created_at?: string | null;
|
|
220
|
+
[key: string]: unknown;
|
|
221
|
+
}
|
|
222
|
+
interface AgentRunExecutionPacket {
|
|
223
|
+
goal?: string;
|
|
224
|
+
context?: Record<string, unknown>;
|
|
225
|
+
plan?: unknown;
|
|
226
|
+
constraints?: unknown;
|
|
227
|
+
acceptance_criteria?: unknown;
|
|
228
|
+
[key: string]: unknown;
|
|
229
|
+
}
|
|
230
|
+
interface AgentRunOutputContract {
|
|
231
|
+
artifacts?: Array<string | Partial<AgentRunArtifact>>;
|
|
232
|
+
artifact_paths?: string[];
|
|
233
|
+
preview_port?: number;
|
|
234
|
+
required_files?: string[];
|
|
235
|
+
[key: string]: unknown;
|
|
236
|
+
}
|
|
237
|
+
interface AgentRunApprovalPolicy {
|
|
238
|
+
publish?: "manual" | "automatic" | string;
|
|
239
|
+
external_write?: "manual" | "automatic" | string;
|
|
240
|
+
destructive_actions?: "forbidden" | "manual" | "automatic" | string;
|
|
241
|
+
[key: string]: unknown;
|
|
242
|
+
}
|
|
243
|
+
interface AgentRunCreateParams {
|
|
244
|
+
prompt: string;
|
|
245
|
+
targetKind?: AgentRunTargetKind;
|
|
246
|
+
targetId?: string;
|
|
247
|
+
sandboxId?: string;
|
|
248
|
+
/** Shortcut for a computer-backed Agent Run. */
|
|
249
|
+
computerId?: string;
|
|
250
|
+
provider?: string;
|
|
251
|
+
model?: string;
|
|
252
|
+
command?: string;
|
|
253
|
+
runtimeCommand?: string;
|
|
254
|
+
cwd?: string;
|
|
255
|
+
timeout?: number;
|
|
256
|
+
wait?: boolean;
|
|
257
|
+
env?: Record<string, string>;
|
|
258
|
+
/** Claude Code: `--output-format`, e.g. "json" or "stream-json". */
|
|
259
|
+
outputFormat?: "text" | "json" | "stream-json" | string;
|
|
260
|
+
output_format?: "text" | "json" | "stream-json" | string;
|
|
261
|
+
/** Claude Code: `--resume <session_id>`. */
|
|
262
|
+
resumeSessionId?: string;
|
|
263
|
+
resume_session_id?: string;
|
|
264
|
+
/** Codex: pass `--json` for JSONL event output. */
|
|
265
|
+
json?: boolean;
|
|
266
|
+
/** Codex: path to a JSON Schema file inside the runtime. */
|
|
267
|
+
outputSchema?: string;
|
|
268
|
+
output_schema?: string;
|
|
269
|
+
/** Codex: path to an image file inside the runtime. */
|
|
270
|
+
image?: string;
|
|
271
|
+
agentRuntimeProfileId?: string;
|
|
272
|
+
agentProfileId?: string;
|
|
273
|
+
agentRunGroupId?: string;
|
|
274
|
+
parentAgentRunId?: string;
|
|
275
|
+
orchestrationRole?: string;
|
|
276
|
+
externalWorkspaceId?: string;
|
|
277
|
+
external_workspace_id?: string;
|
|
278
|
+
externalUserId?: string;
|
|
279
|
+
external_user_id?: string;
|
|
280
|
+
externalProjectId?: string;
|
|
281
|
+
external_project_id?: string;
|
|
282
|
+
skipAgentRuntimeProfile?: boolean;
|
|
283
|
+
executionPacket?: AgentRunExecutionPacket;
|
|
284
|
+
outputContract?: AgentRunOutputContract;
|
|
285
|
+
approvalPolicy?: AgentRunApprovalPolicy;
|
|
286
|
+
capabilityRequirements?: string[];
|
|
287
|
+
metadata?: Record<string, unknown>;
|
|
288
|
+
}
|
|
289
|
+
interface AgentRunListParams {
|
|
290
|
+
targetKind?: AgentRunTargetKind;
|
|
291
|
+
targetId?: string;
|
|
292
|
+
sandboxId?: string;
|
|
293
|
+
computerId?: string;
|
|
294
|
+
agentRunGroupId?: string;
|
|
295
|
+
externalWorkspaceId?: string;
|
|
296
|
+
external_workspace_id?: string;
|
|
297
|
+
externalUserId?: string;
|
|
298
|
+
external_user_id?: string;
|
|
299
|
+
externalProjectId?: string;
|
|
300
|
+
external_project_id?: string;
|
|
301
|
+
status?: AgentRunStatus | string;
|
|
302
|
+
}
|
|
303
|
+
interface AgentRunWaitOptions {
|
|
304
|
+
timeoutMs?: number;
|
|
305
|
+
pollIntervalMs?: number;
|
|
306
|
+
terminalStatuses?: string[];
|
|
307
|
+
}
|
|
308
|
+
declare class AgentRuns {
|
|
309
|
+
private readonly http;
|
|
310
|
+
constructor(http: HttpClient);
|
|
311
|
+
list(params?: AgentRunListParams): Promise<AgentRun[]>;
|
|
312
|
+
get(id: string): Promise<AgentRun>;
|
|
313
|
+
artifacts(id: string): Promise<AgentRunArtifact[]>;
|
|
314
|
+
downloadArtifact(id: string, artifactId: string, options?: {
|
|
315
|
+
inline?: boolean;
|
|
316
|
+
}): Promise<Uint8Array>;
|
|
317
|
+
events(id: string): Promise<AgentRunEvent[]>;
|
|
318
|
+
streamEvents(id: string): AsyncIterableIterator<AgentRunEvent>;
|
|
319
|
+
waitForCompletion(id: string, options?: AgentRunWaitOptions): Promise<AgentRun>;
|
|
320
|
+
run(params: AgentRunCreateParams): Promise<AgentRun>;
|
|
321
|
+
cancel(id: string): Promise<AgentRun>;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
type AgentRunGroupStatus = "running" | "succeeded" | "failed" | "canceled";
|
|
325
|
+
interface AgentRunGroupCounts {
|
|
326
|
+
total: number;
|
|
327
|
+
running: number;
|
|
328
|
+
succeeded: number;
|
|
329
|
+
failed: number;
|
|
330
|
+
canceled: number;
|
|
331
|
+
}
|
|
332
|
+
interface AgentRunGroupEntryCounts extends AgentRunGroupCounts {
|
|
333
|
+
queued: number;
|
|
334
|
+
}
|
|
335
|
+
type AgentRunGroupEntryStatus = "queued" | "running" | "succeeded" | "failed" | "canceled";
|
|
336
|
+
interface AgentRunGroupEntry {
|
|
337
|
+
id: string;
|
|
338
|
+
agent_run_group_id: string;
|
|
339
|
+
agent_run_id?: string;
|
|
340
|
+
index: number;
|
|
341
|
+
status: AgentRunGroupEntryStatus;
|
|
342
|
+
attempts?: number;
|
|
343
|
+
error?: Record<string, unknown>;
|
|
344
|
+
queued_at?: string;
|
|
345
|
+
claimed_at?: string;
|
|
346
|
+
finished_at?: string;
|
|
347
|
+
updated_at?: string;
|
|
348
|
+
}
|
|
349
|
+
interface AgentRunGroup {
|
|
350
|
+
id: string;
|
|
351
|
+
tenant_id?: string;
|
|
352
|
+
user_id?: string;
|
|
353
|
+
workspace_id?: string;
|
|
354
|
+
project_id?: string;
|
|
355
|
+
name: string;
|
|
356
|
+
description?: string;
|
|
357
|
+
status: AgentRunGroupStatus;
|
|
358
|
+
concurrency_limit?: number;
|
|
359
|
+
expected_runs?: number;
|
|
360
|
+
counts?: AgentRunGroupCounts;
|
|
361
|
+
entry_counts?: AgentRunGroupEntryCounts;
|
|
362
|
+
metadata?: Record<string, unknown>;
|
|
363
|
+
started_at?: string;
|
|
364
|
+
finished_at?: string;
|
|
365
|
+
created_at?: string;
|
|
366
|
+
updated_at?: string;
|
|
367
|
+
runs?: AgentRun[];
|
|
368
|
+
[key: string]: unknown;
|
|
369
|
+
}
|
|
370
|
+
interface AgentRunGroupCreateParams {
|
|
371
|
+
name: string;
|
|
372
|
+
description?: string;
|
|
373
|
+
workspaceId?: string;
|
|
374
|
+
projectId?: string;
|
|
375
|
+
concurrencyLimit?: number;
|
|
376
|
+
expectedRuns?: number;
|
|
377
|
+
metadata?: Record<string, unknown>;
|
|
378
|
+
}
|
|
379
|
+
interface AgentRunGroupListParams {
|
|
380
|
+
workspaceId?: string;
|
|
381
|
+
projectId?: string;
|
|
382
|
+
status?: AgentRunGroupStatus | string;
|
|
383
|
+
limit?: number;
|
|
384
|
+
}
|
|
385
|
+
type AgentRunGroupDispatchEntry = AgentRunCreateParams & {
|
|
386
|
+
targetId?: string;
|
|
387
|
+
sandboxId?: string;
|
|
388
|
+
computerId?: string;
|
|
389
|
+
};
|
|
390
|
+
interface AgentRunGroupDispatchResult {
|
|
391
|
+
group: AgentRunGroup;
|
|
392
|
+
results?: Array<{
|
|
393
|
+
index: number;
|
|
394
|
+
ok: true;
|
|
395
|
+
run: AgentRun;
|
|
396
|
+
} | {
|
|
397
|
+
index: number;
|
|
398
|
+
ok: false;
|
|
399
|
+
error: Record<string, unknown>;
|
|
400
|
+
}>;
|
|
401
|
+
entries?: AgentRunGroupEntry[];
|
|
402
|
+
}
|
|
403
|
+
interface AgentRunGroupDispatchOptions {
|
|
404
|
+
async?: boolean;
|
|
405
|
+
}
|
|
406
|
+
interface AgentRunGroupWaitOptions {
|
|
407
|
+
timeoutMs?: number;
|
|
408
|
+
pollIntervalMs?: number;
|
|
409
|
+
terminalStatuses?: string[];
|
|
410
|
+
includeRuns?: boolean;
|
|
411
|
+
}
|
|
412
|
+
interface AgentRunGroupEvent {
|
|
413
|
+
id: string;
|
|
414
|
+
agent_run_group_id?: string;
|
|
415
|
+
agent_run_id?: string;
|
|
416
|
+
sequence?: number;
|
|
417
|
+
type: string;
|
|
418
|
+
message?: string | null;
|
|
419
|
+
payload?: Record<string, unknown>;
|
|
420
|
+
created_at?: string | null;
|
|
421
|
+
[key: string]: unknown;
|
|
422
|
+
}
|
|
423
|
+
type AgentRunGroupArtifact = AgentRunArtifact & {
|
|
424
|
+
agent_run_id: string;
|
|
425
|
+
};
|
|
426
|
+
declare class AgentRunGroups {
|
|
427
|
+
private readonly http;
|
|
428
|
+
constructor(http: HttpClient);
|
|
429
|
+
list(params?: AgentRunGroupListParams): Promise<AgentRunGroup[]>;
|
|
430
|
+
create(params: AgentRunGroupCreateParams): Promise<AgentRunGroup>;
|
|
431
|
+
get(id: string, options?: {
|
|
432
|
+
includeRuns?: boolean;
|
|
433
|
+
}): Promise<AgentRunGroup>;
|
|
434
|
+
dispatch(id: string, runs: AgentRunGroupDispatchEntry[], options?: AgentRunGroupDispatchOptions): Promise<AgentRunGroupDispatchResult>;
|
|
435
|
+
cancel(id: string): Promise<AgentRunGroup>;
|
|
436
|
+
events(id: string): Promise<AgentRunGroupEvent[]>;
|
|
437
|
+
streamEvents(id: string): AsyncIterableIterator<AgentRunGroupEvent>;
|
|
438
|
+
artifacts(id: string): Promise<AgentRunGroupArtifact[]>;
|
|
439
|
+
waitForCompletion(id: string, options?: AgentRunGroupWaitOptions): Promise<AgentRunGroup>;
|
|
440
|
+
}
|
|
441
|
+
|
|
167
442
|
type RunTargetKind = "sandbox" | "computer";
|
|
168
443
|
type RunStatus = "running" | "succeeded" | "failed" | "canceled";
|
|
169
444
|
interface Run {
|
|
@@ -1677,7 +1952,11 @@ interface CreditUsage {
|
|
|
1677
1952
|
}
|
|
1678
1953
|
|
|
1679
1954
|
interface MiosaClientConfig {
|
|
1680
|
-
apiKey
|
|
1955
|
+
apiKey?: string;
|
|
1956
|
+
/** User JWT required for organization switching. */
|
|
1957
|
+
accessToken?: string;
|
|
1958
|
+
/** Organization UUID or slug sent as X-MIOSA-Tenant on every request. */
|
|
1959
|
+
tenant?: string;
|
|
1681
1960
|
baseUrl?: string;
|
|
1682
1961
|
timeout?: number;
|
|
1683
1962
|
maxRetries?: number;
|
|
@@ -2419,12 +2698,24 @@ declare class Desktop$1 {
|
|
|
2419
2698
|
screenshot(): Promise<Uint8Array>;
|
|
2420
2699
|
/** Click at the given coordinates. */
|
|
2421
2700
|
click(x: number, y: number, button?: ClickParams["button"]): Promise<DesktopActionResult>;
|
|
2701
|
+
/** Explicit left-button click. Alias for click(x, y, "left"). */
|
|
2702
|
+
leftClick(x: number, y: number): Promise<DesktopActionResult>;
|
|
2703
|
+
/** Right-button click. Alias for click(x, y, "right"). */
|
|
2704
|
+
rightClick(x: number, y: number): Promise<DesktopActionResult>;
|
|
2705
|
+
/** Middle-button click. Alias for click(x, y, "middle"). */
|
|
2706
|
+
middleClick(x: number, y: number): Promise<DesktopActionResult>;
|
|
2422
2707
|
/** Double-click at the given coordinates. */
|
|
2423
2708
|
doubleClick(x: number, y: number): Promise<DesktopActionResult>;
|
|
2709
|
+
/** Move the mouse pointer without clicking. */
|
|
2710
|
+
moveMouse(x: number, y: number): Promise<DesktopActionResult>;
|
|
2424
2711
|
/** Type text into the currently focused element. */
|
|
2425
2712
|
type(text: string, delay?: number): Promise<DesktopActionResult>;
|
|
2713
|
+
/** Alias for `type(text)` used by simple computer-control loops. */
|
|
2714
|
+
write(text: string, delay?: number): Promise<DesktopActionResult>;
|
|
2426
2715
|
/** Send a key or key combination (e.g. "Enter", "ctrl+c"). */
|
|
2427
2716
|
key(key: string): Promise<DesktopActionResult>;
|
|
2717
|
+
/** Alias for `key(key)` used by simple computer-control loops. */
|
|
2718
|
+
press(key: string): Promise<DesktopActionResult>;
|
|
2428
2719
|
/** Scroll in a direction at an optional position. */
|
|
2429
2720
|
scroll(direction: ScrollParams["direction"], clicks?: number, x?: number, y?: number): Promise<DesktopActionResult>;
|
|
2430
2721
|
/** Click and drag from one coordinate to another. */
|
|
@@ -3204,6 +3495,7 @@ declare class ComputerInbox {
|
|
|
3204
3495
|
update(fields: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
3205
3496
|
}
|
|
3206
3497
|
type ComputerRunOptions = Omit<RunCreateParams, "instruction" | "targetKind" | "targetId" | "sandboxId" | "computerId">;
|
|
3498
|
+
type ComputerPromptOptions = Omit<AgentRunCreateParams, "prompt" | "targetKind" | "targetId" | "sandboxId" | "computerId">;
|
|
3207
3499
|
/**
|
|
3208
3500
|
* A Computer instance bound to a specific computer ID.
|
|
3209
3501
|
*
|
|
@@ -3295,6 +3587,10 @@ declare class Computer {
|
|
|
3295
3587
|
* same Runs API as `miosa agent run --computer`, scoped to this VM.
|
|
3296
3588
|
*/
|
|
3297
3589
|
run(instruction: string, options?: ComputerRunOptions): Promise<Run>;
|
|
3590
|
+
/**
|
|
3591
|
+
* Dispatch a prompt into this Computer through the Agent Runs API.
|
|
3592
|
+
*/
|
|
3593
|
+
prompt(prompt: string, options?: ComputerPromptOptions): Promise<AgentRun>;
|
|
3298
3594
|
/**
|
|
3299
3595
|
* Capture a desktop screenshot as PNG bytes.
|
|
3300
3596
|
* Shortcut for `computer.desktop.screenshot()`.
|
|
@@ -3316,16 +3612,24 @@ declare class Computer {
|
|
|
3316
3612
|
rightClick(x: number, y: number): Promise<void>;
|
|
3317
3613
|
/** Double-click at the given coordinates. */
|
|
3318
3614
|
doubleClick(x: number, y: number): Promise<void>;
|
|
3615
|
+
/** Middle-button click. */
|
|
3616
|
+
middleClick(x: number, y: number): Promise<void>;
|
|
3617
|
+
/** Move the pointer without clicking. */
|
|
3618
|
+
moveMouse(x: number, y: number): Promise<void>;
|
|
3319
3619
|
/**
|
|
3320
3620
|
* Type text into the focused element.
|
|
3321
3621
|
* Shortcut for `computer.desktop.type(text)`.
|
|
3322
3622
|
*/
|
|
3323
3623
|
type(text: string): Promise<void>;
|
|
3624
|
+
/** Alias for `type(text)`. */
|
|
3625
|
+
write(text: string): Promise<void>;
|
|
3324
3626
|
/**
|
|
3325
3627
|
* Send a key or key combo.
|
|
3326
3628
|
* Shortcut for `computer.desktop.key(key)`.
|
|
3327
3629
|
*/
|
|
3328
3630
|
key(key: string): Promise<void>;
|
|
3631
|
+
/** Alias for `key(key)`. */
|
|
3632
|
+
press(key: string): Promise<void>;
|
|
3329
3633
|
/**
|
|
3330
3634
|
* Scroll in a direction.
|
|
3331
3635
|
* Shortcut for `computer.desktop.scroll(direction, clicks)`.
|
|
@@ -3393,6 +3697,13 @@ declare class Computer {
|
|
|
3393
3697
|
urls(): Promise<Record<string, unknown>>;
|
|
3394
3698
|
/** Mint a short-lived stream token for this computer. */
|
|
3395
3699
|
streamToken(): Promise<Record<string, unknown>>;
|
|
3700
|
+
/**
|
|
3701
|
+
* Mint a passwordless browser embed URL for authenticated platform sessions.
|
|
3702
|
+
*
|
|
3703
|
+
* Use this inside MIOSA or tenant apps. Raw shared desktop URLs can still use
|
|
3704
|
+
* the viewer password flow when opened outside an authenticated platform.
|
|
3705
|
+
*/
|
|
3706
|
+
embed(): Promise<Record<string, unknown>>;
|
|
3396
3707
|
/** Clone this computer into a new one. */
|
|
3397
3708
|
clone(opts?: Record<string, unknown>): Promise<Computer>;
|
|
3398
3709
|
/** Resize the computer (change CPU/memory/disk). */
|
|
@@ -3790,6 +4101,8 @@ interface DeploymentData {
|
|
|
3790
4101
|
id: DeploymentId;
|
|
3791
4102
|
tenant_id: string;
|
|
3792
4103
|
owner_id?: string;
|
|
4104
|
+
workspace_id?: string | null;
|
|
4105
|
+
project_id?: string | null;
|
|
3793
4106
|
name: string;
|
|
3794
4107
|
slug: string;
|
|
3795
4108
|
/**
|
|
@@ -3813,7 +4126,10 @@ interface DeploymentData {
|
|
|
3813
4126
|
docker_deploy_host_id?: string | null;
|
|
3814
4127
|
docker_deploy_app?: {
|
|
3815
4128
|
id?: string | null;
|
|
4129
|
+
deployment_id?: string | null;
|
|
4130
|
+
deployment_version_id?: string | null;
|
|
3816
4131
|
docker_deploy_host_id?: string | null;
|
|
4132
|
+
name?: string | null;
|
|
3817
4133
|
app_id?: string | null;
|
|
3818
4134
|
container_id?: string | null;
|
|
3819
4135
|
status?: string | null;
|
|
@@ -3821,12 +4137,18 @@ interface DeploymentData {
|
|
|
3821
4137
|
runtime_port?: number | string | null;
|
|
3822
4138
|
public_url?: string | null;
|
|
3823
4139
|
last_health_status?: string | null;
|
|
4140
|
+
last_error?: string | null;
|
|
4141
|
+
last_seen_at?: string | null;
|
|
4142
|
+
deployed_at?: string | null;
|
|
4143
|
+
stopped_at?: string | null;
|
|
3824
4144
|
} | null;
|
|
3825
4145
|
metadata?: Record<string, unknown>;
|
|
3826
4146
|
external_workspace_id?: string | null;
|
|
3827
4147
|
external_user_id?: string | null;
|
|
3828
4148
|
external_project_id?: string | null;
|
|
3829
4149
|
public_url?: string | null;
|
|
4150
|
+
/** Backend-computed default hostname. Prefer public_url as the canonical URL. */
|
|
4151
|
+
auto_subdomain?: string | null;
|
|
3830
4152
|
created_at?: string;
|
|
3831
4153
|
updated_at?: string;
|
|
3832
4154
|
}
|
|
@@ -3840,6 +4162,8 @@ interface DeploymentVersionData {
|
|
|
3840
4162
|
id: DeploymentVersionId;
|
|
3841
4163
|
deployment_id: DeploymentId;
|
|
3842
4164
|
tenant_id: string;
|
|
4165
|
+
workspace_id?: string | null;
|
|
4166
|
+
project_id?: string | null;
|
|
3843
4167
|
created_by?: string | null;
|
|
3844
4168
|
source_sandbox_id?: string | null;
|
|
3845
4169
|
build_id?: string | null;
|
|
@@ -3870,6 +4194,8 @@ interface DeploymentReleaseData {
|
|
|
3870
4194
|
deployment_version_id: DeploymentVersionId;
|
|
3871
4195
|
service_id?: DeploymentServiceId | null;
|
|
3872
4196
|
tenant_id: string;
|
|
4197
|
+
workspace_id?: string | null;
|
|
4198
|
+
project_id?: string | null;
|
|
3873
4199
|
external_workspace_id?: string | null;
|
|
3874
4200
|
external_user_id?: string | null;
|
|
3875
4201
|
external_project_id?: string | null;
|
|
@@ -5770,11 +6096,20 @@ interface TemplateData {
|
|
|
5770
6096
|
slug?: string;
|
|
5771
6097
|
[key: string]: unknown;
|
|
5772
6098
|
}
|
|
6099
|
+
interface ComputeCatalogData {
|
|
6100
|
+
products?: Array<Record<string, unknown>>;
|
|
6101
|
+
regions?: Array<Record<string, unknown>>;
|
|
6102
|
+
sizes?: Array<Record<string, unknown>>;
|
|
6103
|
+
templates?: Array<Record<string, unknown>>;
|
|
6104
|
+
[key: string]: unknown;
|
|
6105
|
+
}
|
|
5773
6106
|
declare class Regions {
|
|
5774
6107
|
private readonly http;
|
|
5775
6108
|
constructor(http: HttpClient);
|
|
5776
6109
|
/** List datacenter regions. */
|
|
5777
6110
|
listRegions(): Promise<RegionData[]>;
|
|
6111
|
+
/** Get canonical compute catalog, including product templates and readiness. */
|
|
6112
|
+
catalog(): Promise<ComputeCatalogData>;
|
|
5778
6113
|
/** List available compute sizes. */
|
|
5779
6114
|
listSizes(): Promise<SizeData[]>;
|
|
5780
6115
|
/** Get static compute pricing data. */
|
|
@@ -5846,6 +6181,7 @@ declare class RuntimeCapabilitiesResource {
|
|
|
5846
6181
|
}
|
|
5847
6182
|
|
|
5848
6183
|
declare const SANDBOX_TEMPLATE = "miosa-sandbox";
|
|
6184
|
+
type SandboxSize = "xs" | "small" | "medium" | "large" | "xl";
|
|
5849
6185
|
type SandboxId = string & {
|
|
5850
6186
|
readonly __brand: "SandboxId";
|
|
5851
6187
|
};
|
|
@@ -5854,6 +6190,7 @@ interface SandboxCreateParams {
|
|
|
5854
6190
|
templateId?: string;
|
|
5855
6191
|
template_id?: string;
|
|
5856
6192
|
image?: string;
|
|
6193
|
+
size?: SandboxSize;
|
|
5857
6194
|
cpuCount?: number;
|
|
5858
6195
|
cpu_count?: number;
|
|
5859
6196
|
memoryMb?: number;
|
|
@@ -5890,6 +6227,13 @@ interface SandboxCreateParams {
|
|
|
5890
6227
|
};
|
|
5891
6228
|
alwaysOn?: boolean;
|
|
5892
6229
|
always_on?: boolean;
|
|
6230
|
+
/**
|
|
6231
|
+
* Opt in to the in-sandbox L3 token carrying the `provision` scope, so code
|
|
6232
|
+
* running inside the sandbox can call database/deployment create. Defaults
|
|
6233
|
+
* to false on the server when omitted.
|
|
6234
|
+
*/
|
|
6235
|
+
allowProvision?: boolean;
|
|
6236
|
+
allow_provision?: boolean;
|
|
5893
6237
|
env?: Record<string, string>;
|
|
5894
6238
|
metadata?: Record<string, unknown>;
|
|
5895
6239
|
services?: Array<Record<string, unknown>>;
|
|
@@ -6001,6 +6345,8 @@ interface SandboxExecRunner {
|
|
|
6001
6345
|
interface SandboxData {
|
|
6002
6346
|
id: SandboxId;
|
|
6003
6347
|
state: SandboxState;
|
|
6348
|
+
slug?: string;
|
|
6349
|
+
name?: string | null;
|
|
6004
6350
|
ready?: boolean;
|
|
6005
6351
|
template_id?: string;
|
|
6006
6352
|
image_id?: string | null;
|
|
@@ -6009,6 +6355,9 @@ interface SandboxData {
|
|
|
6009
6355
|
disk_mb?: number | null;
|
|
6010
6356
|
disk_size_mb?: number | null;
|
|
6011
6357
|
timeout_sec?: number | null;
|
|
6358
|
+
timeout_remaining_ms?: number | null;
|
|
6359
|
+
idle_timeout_sec?: number;
|
|
6360
|
+
always_on?: boolean;
|
|
6012
6361
|
persistent?: boolean;
|
|
6013
6362
|
boot_path?: string | null;
|
|
6014
6363
|
boot_ms?: number | null;
|
|
@@ -6024,6 +6373,38 @@ interface SandboxData {
|
|
|
6024
6373
|
started_at?: string | null;
|
|
6025
6374
|
destroyed_at?: string | null;
|
|
6026
6375
|
total_runtime_sec?: number | null;
|
|
6376
|
+
external_workspace_id?: string | null;
|
|
6377
|
+
external_user_id?: string | null;
|
|
6378
|
+
external_project_id?: string | null;
|
|
6379
|
+
}
|
|
6380
|
+
interface SandboxUsage {
|
|
6381
|
+
sandbox_id: string;
|
|
6382
|
+
state: string;
|
|
6383
|
+
runtime_sec: number;
|
|
6384
|
+
provisioned_vcpu_ms: number;
|
|
6385
|
+
active_cpu_ms: number | null;
|
|
6386
|
+
network_ingress_bytes: number | null;
|
|
6387
|
+
network_egress_bytes: number | null;
|
|
6388
|
+
measurement_status: {
|
|
6389
|
+
active_cpu: string;
|
|
6390
|
+
network: string;
|
|
6391
|
+
provisioned_resources: "measured";
|
|
6392
|
+
};
|
|
6393
|
+
estimated_cost_cents: number;
|
|
6394
|
+
timeout_sec: number;
|
|
6395
|
+
timeout_remaining_ms: number | null;
|
|
6396
|
+
}
|
|
6397
|
+
interface SandboxForkParams {
|
|
6398
|
+
timeoutSec?: number;
|
|
6399
|
+
timeout_sec?: number;
|
|
6400
|
+
templateId?: string;
|
|
6401
|
+
template_id?: string;
|
|
6402
|
+
idempotencyKey?: string;
|
|
6403
|
+
idempotency_key?: string;
|
|
6404
|
+
}
|
|
6405
|
+
interface SandboxLegacyForkParams extends SandboxForkParams {
|
|
6406
|
+
name?: string;
|
|
6407
|
+
metadata?: Record<string, unknown>;
|
|
6027
6408
|
}
|
|
6028
6409
|
type PreviewUrlClass = "temporary_preview" | "always_on_preview" | "stable_sandbox_embed" | "durable_deployment" | (string & {});
|
|
6029
6410
|
type PreviewUrlAction = "create_alias_or_publish" | "publish_when_ready" | "attach_custom_domain" | (string & {});
|
|
@@ -6214,6 +6595,7 @@ interface SandboxDeployParams {
|
|
|
6214
6595
|
idempotency_key?: string;
|
|
6215
6596
|
}
|
|
6216
6597
|
type SandboxRunOptions = Omit<RunCreateParams, "instruction" | "targetKind" | "targetId" | "sandboxId" | "computerId">;
|
|
6598
|
+
type SandboxPromptOptions = Omit<AgentRunCreateParams, "prompt" | "targetKind" | "targetId" | "sandboxId" | "computerId">;
|
|
6217
6599
|
declare class SandboxCommands {
|
|
6218
6600
|
private readonly sandbox;
|
|
6219
6601
|
constructor(sandbox: Sandbox);
|
|
@@ -6280,6 +6662,11 @@ declare class SandboxEvents {
|
|
|
6280
6662
|
/** Stream live sandbox events via SSE. */
|
|
6281
6663
|
stream(): AsyncIterableIterator<Record<string, unknown>>;
|
|
6282
6664
|
}
|
|
6665
|
+
declare class SandboxMetrics {
|
|
6666
|
+
private readonly sandbox;
|
|
6667
|
+
constructor(sandbox: Sandbox);
|
|
6668
|
+
get(window?: string): Promise<Record<string, unknown>>;
|
|
6669
|
+
}
|
|
6283
6670
|
declare class SandboxPreviews {
|
|
6284
6671
|
private readonly sandbox;
|
|
6285
6672
|
constructor(sandbox: Sandbox);
|
|
@@ -6333,6 +6720,8 @@ declare class Sandbox {
|
|
|
6333
6720
|
readonly terminal: SandboxTerminal;
|
|
6334
6721
|
/** SSE event stream. */
|
|
6335
6722
|
readonly events: SandboxEvents;
|
|
6723
|
+
/** Operational metrics and current resource state. */
|
|
6724
|
+
readonly metricsResource: SandboxMetrics;
|
|
6336
6725
|
/** Preview CRUD + share/revokeShare. */
|
|
6337
6726
|
readonly previews: SandboxPreviews;
|
|
6338
6727
|
/** Read-only env var listing. */
|
|
@@ -6360,6 +6749,10 @@ declare class Sandbox {
|
|
|
6360
6749
|
* Pass `{ runner: "codex", env: { CODEX_API_KEY } }` to run Codex.
|
|
6361
6750
|
*/
|
|
6362
6751
|
run(instruction: string, options?: SandboxRunOptions): Promise<Run>;
|
|
6752
|
+
/**
|
|
6753
|
+
* Dispatch a prompt into this Sandbox through the Agent Runs API.
|
|
6754
|
+
*/
|
|
6755
|
+
prompt(prompt: string, options?: SandboxPromptOptions): Promise<AgentRun>;
|
|
6363
6756
|
private runExec;
|
|
6364
6757
|
private execStream;
|
|
6365
6758
|
writeFile(path: string, content: string | Uint8Array): Promise<void>;
|
|
@@ -6372,11 +6765,15 @@ declare class Sandbox {
|
|
|
6372
6765
|
listFiles(path?: string): Promise<SandboxFileList>;
|
|
6373
6766
|
statFile(path: string): Promise<SandboxFileStat>;
|
|
6374
6767
|
expose(port?: number): Promise<string>;
|
|
6768
|
+
getUrl(port?: number, path?: string): Promise<string>;
|
|
6769
|
+
getHost(port?: number): Promise<string>;
|
|
6375
6770
|
exposeInfo(port?: number): Promise<PreviewUrlInfo>;
|
|
6376
6771
|
startTemplate(options?: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
6377
6772
|
getArtifacts(): Promise<Record<string, unknown>>;
|
|
6378
6773
|
getLogs(lines?: number): Promise<string | Record<string, unknown>>;
|
|
6379
6774
|
streamLogs(): AsyncIterableIterator<Record<string, unknown>>;
|
|
6775
|
+
metrics(window?: string): Promise<Record<string, unknown>>;
|
|
6776
|
+
getMetrics(window?: string): Promise<Record<string, unknown>>;
|
|
6380
6777
|
createSnapshot(comment?: string): Promise<SandboxSnapshot>;
|
|
6381
6778
|
listSnapshots(): Promise<SandboxSnapshot[]>;
|
|
6382
6779
|
restoreSnapshot(snapshotId: string): Promise<Sandbox>;
|
|
@@ -6385,10 +6782,11 @@ declare class Sandbox {
|
|
|
6385
6782
|
* Fork (clone) this sandbox into a new sandbox via copy-on-write snapshot.
|
|
6386
6783
|
* The original sandbox continues running unchanged.
|
|
6387
6784
|
*/
|
|
6388
|
-
fork(opts?:
|
|
6389
|
-
|
|
6390
|
-
|
|
6391
|
-
|
|
6785
|
+
fork(opts?: SandboxForkParams): Promise<Sandbox>;
|
|
6786
|
+
/** @deprecated Use forkLegacy() for private name/metadata fork fields. */
|
|
6787
|
+
fork(opts: SandboxLegacyForkParams): Promise<Sandbox>;
|
|
6788
|
+
/** Fork using private compatibility fields excluded from the public V1 contract. */
|
|
6789
|
+
forkLegacy(opts?: SandboxLegacyForkParams): Promise<Sandbox>;
|
|
6392
6790
|
/**
|
|
6393
6791
|
* PATCH /api/v1/sandboxes/{id} — update mutable sandbox fields.
|
|
6394
6792
|
*/
|
|
@@ -6419,7 +6817,8 @@ declare class Sandbox {
|
|
|
6419
6817
|
delete_evicted?: boolean;
|
|
6420
6818
|
};
|
|
6421
6819
|
}): Promise<Sandbox>;
|
|
6422
|
-
extend(timeoutSec
|
|
6820
|
+
extend(timeoutSec?: number): Promise<Sandbox>;
|
|
6821
|
+
usage(): Promise<SandboxUsage>;
|
|
6423
6822
|
/**
|
|
6424
6823
|
* POST /api/v1/sandboxes/{id}/preview-token → {token, url, expires_at, scope}
|
|
6425
6824
|
*/
|
|
@@ -6431,7 +6830,7 @@ declare class Sandbox {
|
|
|
6431
6830
|
[key: string]: unknown;
|
|
6432
6831
|
}>;
|
|
6433
6832
|
pause(): Promise<Sandbox>;
|
|
6434
|
-
resume(): Promise<Sandbox>;
|
|
6833
|
+
resume(idempotencyKey?: string): Promise<Sandbox>;
|
|
6435
6834
|
deploy(params?: SandboxDeployParams): Promise<Record<string, unknown>>;
|
|
6436
6835
|
deployDocker(params?: SandboxDeployParams): Promise<Record<string, unknown>>;
|
|
6437
6836
|
/** Check readiness of the sandbox (GET /sandboxes/:id/readiness). */
|
|
@@ -6483,6 +6882,14 @@ declare class Sandboxes {
|
|
|
6483
6882
|
create(params?: SandboxCreateParams): Promise<Sandbox>;
|
|
6484
6883
|
list(params?: SandboxListParams): Promise<Sandbox[]>;
|
|
6485
6884
|
get(id: SandboxId | string): Promise<Sandbox>;
|
|
6885
|
+
extend(id: SandboxId | string, timeoutSec?: number): Promise<Sandbox>;
|
|
6886
|
+
usage(id: SandboxId | string): Promise<SandboxUsage>;
|
|
6887
|
+
pause(id: SandboxId | string): Promise<Sandbox>;
|
|
6888
|
+
resume(id: SandboxId | string, idempotencyKey?: string): Promise<Sandbox>;
|
|
6889
|
+
fork(id: SandboxId | string, params?: SandboxForkParams): Promise<Sandbox>;
|
|
6890
|
+
/** @deprecated Use forkLegacy() for private name/metadata fork fields. */
|
|
6891
|
+
fork(id: SandboxId | string, params: SandboxLegacyForkParams): Promise<Sandbox>;
|
|
6892
|
+
forkLegacy(id: SandboxId | string, params?: SandboxLegacyForkParams): Promise<Sandbox>;
|
|
6486
6893
|
connect(id: SandboxId | string): Promise<Sandbox>;
|
|
6487
6894
|
getByName(name: string): Promise<Sandbox>;
|
|
6488
6895
|
/**
|
|
@@ -6835,6 +7242,67 @@ declare class OrgInvites {
|
|
|
6835
7242
|
accept(token: string): Promise<AcceptOrgInviteResponse>;
|
|
6836
7243
|
}
|
|
6837
7244
|
|
|
7245
|
+
type OrganizationRole = "owner" | "admin" | "member";
|
|
7246
|
+
interface OrganizationSummary {
|
|
7247
|
+
id: string;
|
|
7248
|
+
name: string;
|
|
7249
|
+
slug: string;
|
|
7250
|
+
role?: OrganizationRole;
|
|
7251
|
+
owner_user_id?: string | null;
|
|
7252
|
+
plan_id?: string | null;
|
|
7253
|
+
plan?: Record<string, unknown> | null;
|
|
7254
|
+
plan_name?: string | null;
|
|
7255
|
+
credit_balance?: number;
|
|
7256
|
+
settings?: Record<string, unknown>;
|
|
7257
|
+
branding?: Record<string, unknown> | null;
|
|
7258
|
+
inserted_at?: string;
|
|
7259
|
+
updated_at?: string;
|
|
7260
|
+
}
|
|
7261
|
+
interface OrganizationMember {
|
|
7262
|
+
id: string;
|
|
7263
|
+
tenant_id: string;
|
|
7264
|
+
user_id: string;
|
|
7265
|
+
role: OrganizationRole;
|
|
7266
|
+
status: "invited" | "active" | string;
|
|
7267
|
+
invited_at?: string | null;
|
|
7268
|
+
joined_at?: string | null;
|
|
7269
|
+
created_at?: string;
|
|
7270
|
+
user_name?: string | null;
|
|
7271
|
+
user_email?: string | null;
|
|
7272
|
+
user_avatar_url?: string | null;
|
|
7273
|
+
}
|
|
7274
|
+
interface OrganizationSwitchResult {
|
|
7275
|
+
tenant: OrganizationSummary;
|
|
7276
|
+
token: string;
|
|
7277
|
+
refresh_token: string;
|
|
7278
|
+
}
|
|
7279
|
+
interface OrganizationMemberList {
|
|
7280
|
+
members: OrganizationMember[];
|
|
7281
|
+
total: number;
|
|
7282
|
+
}
|
|
7283
|
+
interface OrganizationMemberRemoved {
|
|
7284
|
+
tenant_id: string;
|
|
7285
|
+
user_id: string;
|
|
7286
|
+
removed: boolean;
|
|
7287
|
+
}
|
|
7288
|
+
declare class OrganizationMembers {
|
|
7289
|
+
private readonly http;
|
|
7290
|
+
constructor(http: HttpClient);
|
|
7291
|
+
list(organizationId: string): Promise<OrganizationMemberList>;
|
|
7292
|
+
add(organizationId: string, userId: string, role?: OrganizationRole): Promise<OrganizationMember>;
|
|
7293
|
+
remove(organizationId: string, userId: string): Promise<OrganizationMemberRemoved>;
|
|
7294
|
+
}
|
|
7295
|
+
declare class Organizations {
|
|
7296
|
+
private readonly http;
|
|
7297
|
+
readonly members: OrganizationMembers;
|
|
7298
|
+
readonly invites: OrgInvites;
|
|
7299
|
+
constructor(http: HttpClient);
|
|
7300
|
+
list(): Promise<OrganizationSummary[]>;
|
|
7301
|
+
current(): Promise<OrganizationSummary>;
|
|
7302
|
+
/** Requires a user JWT. API keys are pinned to their organization. */
|
|
7303
|
+
switch(idOrSlug: string): Promise<OrganizationSwitchResult>;
|
|
7304
|
+
}
|
|
7305
|
+
|
|
6838
7306
|
/**
|
|
6839
7307
|
* Tenant — current tenant info and plan/usage.
|
|
6840
7308
|
*/
|
|
@@ -6981,6 +7449,7 @@ interface TemplatesListParams {
|
|
|
6981
7449
|
product?: ComputeProduct | string;
|
|
6982
7450
|
}
|
|
6983
7451
|
interface ProductTemplateCatalog {
|
|
7452
|
+
data?: ProductTemplate[];
|
|
6984
7453
|
templates: ProductTemplate[];
|
|
6985
7454
|
products?: ProductCatalogEntry[];
|
|
6986
7455
|
sizes?: Array<Record<string, unknown>>;
|
|
@@ -7074,6 +7543,26 @@ interface VolumeCreateParams {
|
|
|
7074
7543
|
idempotencyKey?: string;
|
|
7075
7544
|
[key: string]: unknown;
|
|
7076
7545
|
}
|
|
7546
|
+
interface VolumeAttachmentData {
|
|
7547
|
+
id: string;
|
|
7548
|
+
volume_id: string;
|
|
7549
|
+
computer_id: string;
|
|
7550
|
+
mount_path: string;
|
|
7551
|
+
read_only?: boolean;
|
|
7552
|
+
state?: string;
|
|
7553
|
+
created_at?: string;
|
|
7554
|
+
updated_at?: string;
|
|
7555
|
+
[key: string]: unknown;
|
|
7556
|
+
}
|
|
7557
|
+
interface VolumeAttachParams {
|
|
7558
|
+
volumeId?: string;
|
|
7559
|
+
volume_id?: string;
|
|
7560
|
+
mountPath?: string;
|
|
7561
|
+
mount_path?: string;
|
|
7562
|
+
readOnly?: boolean;
|
|
7563
|
+
read_only?: boolean;
|
|
7564
|
+
[key: string]: unknown;
|
|
7565
|
+
}
|
|
7077
7566
|
declare class Volumes {
|
|
7078
7567
|
private readonly http;
|
|
7079
7568
|
constructor(http: HttpClient);
|
|
@@ -7081,6 +7570,9 @@ declare class Volumes {
|
|
|
7081
7570
|
get(volumeId: string): Promise<VolumeData>;
|
|
7082
7571
|
create(params: VolumeCreateParams): Promise<VolumeData>;
|
|
7083
7572
|
delete(volumeId: string): Promise<void>;
|
|
7573
|
+
listAttachments(computerId: string): Promise<VolumeAttachmentData[]>;
|
|
7574
|
+
attach(computerId: string, params: VolumeAttachParams): Promise<VolumeAttachmentData>;
|
|
7575
|
+
detach(computerId: string, attachmentId: string): Promise<void>;
|
|
7084
7576
|
}
|
|
7085
7577
|
|
|
7086
7578
|
/**
|
|
@@ -7399,6 +7891,8 @@ declare class Miosa {
|
|
|
7399
7891
|
* Requires admin/owner role for write operations.
|
|
7400
7892
|
*/
|
|
7401
7893
|
readonly orgInvites: OrgInvites;
|
|
7894
|
+
/** Organizations available to the user session, membership, invites, and switching. */
|
|
7895
|
+
readonly organizations: Organizations;
|
|
7402
7896
|
/** Current tenant plan, limits, and live usage counters. */
|
|
7403
7897
|
readonly tenant: Tenant;
|
|
7404
7898
|
/** Datacenter regions, compute sizes, pricing, community templates. */
|
|
@@ -7431,6 +7925,10 @@ declare class Miosa {
|
|
|
7431
7925
|
readonly runs: Runs;
|
|
7432
7926
|
/** Run groups - durable multi-run orchestration groups. */
|
|
7433
7927
|
readonly runGroups: RunGroups;
|
|
7928
|
+
/** Agent runs - compatibility API for prompt dispatch. */
|
|
7929
|
+
readonly agentRuns: AgentRuns;
|
|
7930
|
+
/** Agent run groups - compatibility API for multi-agent orchestration. */
|
|
7931
|
+
readonly agentRunGroups: AgentRunGroups;
|
|
7434
7932
|
/** Agent runtime profiles — tenant/workspace defaults for sandbox/computer agents. */
|
|
7435
7933
|
readonly agentRuntimeProfiles: AgentRuntimeProfiles;
|
|
7436
7934
|
/** MIOSA Connect — provider connectors and runtime tokens. */
|
|
@@ -7729,13 +8227,17 @@ declare class AppAuth {
|
|
|
7729
8227
|
}
|
|
7730
8228
|
|
|
7731
8229
|
interface MiosaErrorBody {
|
|
7732
|
-
error?: {
|
|
8230
|
+
error?: string | {
|
|
7733
8231
|
code?: string;
|
|
7734
8232
|
message?: string;
|
|
7735
8233
|
details?: unknown;
|
|
7736
8234
|
};
|
|
7737
8235
|
message?: string;
|
|
7738
8236
|
code?: string;
|
|
8237
|
+
detail?: string;
|
|
8238
|
+
details?: unknown;
|
|
8239
|
+
reason?: string;
|
|
8240
|
+
request_id?: string;
|
|
7739
8241
|
}
|
|
7740
8242
|
declare class MiosaError extends Error {
|
|
7741
8243
|
readonly status: number;
|
|
@@ -7793,4 +8295,4 @@ declare class TokenRefreshFailedError extends MiosaError {
|
|
|
7793
8295
|
constructor(message: string, status?: number, details?: unknown, requestId?: string);
|
|
7794
8296
|
}
|
|
7795
8297
|
|
|
7796
|
-
export { AGENT_BUILD_KIND_SPECS, type AcceptOrgInviteResponse, type AcceptWorkspaceInviteResponse, type AddDomainParams, type AddWorkspaceMemberParams, Admin, type AgentBuildExecutionPacket, type AgentBuildFileSpec, type AgentBuildKind, type AgentBuildKindSpec, type AgentBuildPlannerDocument, type AgentDispatchParams, type AgentEvent$1 as AgentEvent, type AgentEventType, AgentRuntimeProfiles, type AgentSessionCreateParams, type AgentSessionData, type AgentSessionListResponse$1 as AgentSessionListResponse, type AgentSessionStatus$1 as AgentSessionStatus, type AllowParams, Analytics, type AnalyticsFilters, type ApiKeyCreateParams, type ApiKeyCreateResult, type ApiKeyData, type ApiKeyId, type ApiKeyListParams, ApiKeys, AppAuth, type AppAuthConfig, type AppAuthResourceType, type AppAuthSession, type AppAuthTokenPayload, type AppCatalogEntry, type AppInstallData, type AppInstallEvent, type AttachAwsRoleParams, type AuditListParams, AuditLog, type AuditLogEvent, type AuditLogListParams, type AuditTailParams, AuthError, type AuthToken, type BenchmarkCompareParams, type BenchmarkCreateParams, Benchmarks, type BindingCreateParams, type BindingListParams, type BrandingData, type BrandingUpdateParams, type BucketCreateParams, type BucketData, type BucketId, type BuilderSessionListParams, BuilderSessions, type BulkUserActionParams, type ChannelCreateParams, type ChannelData, type ChannelListParams, type ChannelUpdateParams, Channels, type ChatCompletionCreateParams, type ChatCompletionCreateStreamParams, Checkpoints, type ClickParams, Cloud, type CloudAccount, type CloudAccountCreateParams, type CloudAccountMode, type CloudAccountStatus, type CloudCredentialType, type CloudListParams, type CloudPlacementScope, type CloudPool, type CloudPoolCreateParams, type CloudPoolKind, type CloudPreflightRecordParams, type CloudPreflightRun, type CloudPreflightStatus, type CloudProvider, type CloudRegion, type CloudRegionCreateParams, type ClusterCreateParams, type ClusterData, type ClusterEvent, type ClusterId, type ClusterListResponse, type ClusterStatus, CommandCenter, Community, type CompletionCreateParams, type CompletionCreateStreamParams, Completions, type ComputeProduct, Computer, ComputerAudit, ComputerAutoStop, ComputerConnectors, type ComputerCreateParams, type ComputerData, ComputerEnv, type ComputerId, ComputerInbox, type ComputerListParams, type ComputerListResponse, ComputerLogs, type ComputerLogsGetParams, ComputerNetwork, ComputerOsa, ComputerPorts, ComputerSecrets, type ComputerSize, type ComputerStatus, type ComputerTemplateType, ComputerTerminal, type ComputerUpdateParams, type ComputerVisibility, ComputerVolumes, Computers, type ConnectorApplicableDefaultParams, type ConnectorCreateParams, type ConnectorData, type ConnectorDefault, type ConnectorDefaultListParams, type ConnectorDefaultParams, type ConnectorListParams, type ConnectorSubject, type ConnectorTokenParams, type ConnectorTokenResponse, Connectors, type CopyParams, type CreateAdminApiKeyParams, type CreateAgentBuildPacketParams, type CreateBuildRunParams, type CreateOrgInviteParams, type CreateWorkspaceInviteParams, type CreateWorkspaceInviteResponse, type CreditBalance, type CreditTransaction, type CreditTransactionListResponse, type CreditUsage, Credits, type CronJobCreateParams, type CronJobData, type CronJobExecutionData, type CronJobExecutionId, type CronJobId, type CronJobListParams, type CronJobUpdateParams, CronJobs, type CursorInfo, type CustomDomainCreateParams, type CustomDomainData, type CustomDomainId, type CustomDomainListParams, DEFAULT_AGENT_BUILD_OUTPUT_ROOT, DEFAULT_AGENT_BUILD_PACKET_VERSION, Dashboard, type DashboardSummary, type DatabaseCreateParams, type DatabaseCredentials, type DatabaseData, type DatabaseId, type DatabaseListParams, type DatabaseLogsParams, type DatabaseLogsResult, Databases, type DeploymentBuildData, DeploymentConnectors, type DeploymentCreateParams, type DeploymentData, DeploymentDomains, type DeploymentId, type DeploymentListParams, type DeploymentProduct, type DeploymentProofCheck, type DeploymentProofParams, type DeploymentProofProbe, type DeploymentProofResult, type DeploymentReleaseData, type DeploymentReleaseId, DeploymentReleases, DeploymentRuntimeInstances, type DeploymentServiceData, type DeploymentServiceId, type DeploymentServiceType, type DeploymentSourceType, type DeploymentState, type DeploymentUpdateParams, type DeploymentVersionData, type DeploymentVersionId, type DeploymentVersionKind, type DeploymentVersionState, DeploymentVersions, Deployments, Desktop$1 as Desktop, type DesktopActionResult, type DeviceBootstrapParams, type DeviceBootstrapResult, type DeviceBrowserResult, type DeviceCapabilities, type DeviceData, type DeviceExecParams, type DeviceExecResult, type DeviceExposeParams, type DeviceExposeResult, type DeviceExtendParams, type DeviceFileEntry, type DeviceFileListParams, type DeviceKind, type DeviceLifecycleResult, type DeviceListParams, type DeviceReadFileParams, type DeviceReadFileResult, type DeviceWriteFileParams, type DeviceWriteFileResult, Devices, type DirEntry, type DirListResult, type DiscordSendTestParams, DockerDeploy, type DockerDeployApplianceStatus, type DockerDeployCreateParams, type DockerDeployDoctorCheck, type DockerDeployDoctorParams, type DockerDeployDoctorProbe, type DockerDeployDoctorResult, type DockerDeployHostData, type DockerDeployHostEnsureParams, type DockerDeployHostId, type DockerDeployHostListParams, type DockerDeployHostListResponse, type DockerDeployHostResponse, type DockerDeployHostStatus, type DoubleClickParams, type DragParams, type EgressAllowlistRule, EgressAudit, type EgressAuditEvent, type EgressBindingData, EgressHostNotAllowedError, EgressNetwork, type EgressPolicyData, type EgressPolicyMode, type EgressRuleEffect, type EgressSecretData, type EgressSecretScope, type EgressSecretType, EgressSecrets, type EgressSuggestion, Email, EmailCampaigns, EmailInbox, EmailTemplates, type EmbeddingCreateParams, Embeddings, Exec, type ExecParams, type ExecPythonParams, type ExecResult, type ExternalAttribution, type ExternalKeyCreateParams, type ExternalKeyData, ExternalKeys, type FileDeleteParams, type FileDownloadParams, type FileEntry, type FileExportParams, type FileExportResult, type FileListParams, type FileListResult, type FileStat, Files, FlatCustomDomains, type FsEntry, type FsListResponse, type FsStat, type FunctionCreateParams, type FunctionData, type FunctionId, type FunctionInvokeParams, type FunctionListParams, type FunctionUpdateParams, Functions, type GithubRepo, type GithubSshKey, type HealthCheckCreateParams, type HealthCheckData, type HealthCheckId, type HealthCheckListParams, type HealthCheckUpdateParams, HealthChecks, type HostCreateParams, type HostData, type HostEvent, type HostId, type HostListResponse, type HostStatus, type HostUpdateParams, InstallationRequiredError, InsufficientCreditsError, type IntegrationCatalogEntry, type IntegrationData, Integrations, type JobData, type JobEvent, type JobEventType, type JobId, type JobListResponse, type JobRunParams, type JobStatus, type KeyParams, type LaunchParams, type LinearCreateIssueParams, type ListAdminApiKeysParams, type ListAdminComputersParams, type ListAdminTenantsParams, type ListAdminUsersParams, ManagedProviderBindingOnlyError, Mcp, type McpDispatchParams, Miosa, type MiosaClientConfig, MiosaError, type MiosaErrorBody, type MkdirParams, type ModeParams, Models, type MouseButton, NetworkError, NetworkPolicy, type NetworkPolicyData, type NetworkPolicyEffect, type NetworkPolicyProtocol, type NetworkPolicyRule, type NetworkPolicySetParams, NotFoundError, type NotificationPrefsUpdateParams, OAuthFlow, type OauthConnectParams, type OauthProvider, type OauthStartResult, type OauthStatusResult, type ObjectListParams, type AgentEvent as OcAgentEvent, type OcAgentSessionData, type AgentSessionListResponse as OcAgentSessionListResponse, type OcWorkspaceCreateParams, type OcWorkspaceData, type OcWorkspaceEvent, type OcWorkspaceListResponse, type OcWorkspaceStatus, type OcWorkspaceUpdateParams, OpenComputers, type OrgInvite, type OrgInviteCreated, type OrgInviteCreatedResponse, type OrgInviteListResponse, type OrgInvitePreview, type OrgInviteRevokeResponse, OrgInvites, type OrgRole, type OverviewData, type PolicyCreateParams, type PolicyListParams, type PolicyUpdateParams, type PresignParams, type PresignResult, type PreviewDomainData, type ProductCatalogEntry, type ProductTemplate, type ProductTemplateCatalog, ProjectAuth, type ProjectAuthEnableParams, type ProjectAuthStatus, type ProjectAuthUpdateParams, type ProjectIntegrationCatalogEntry, type ProjectIntegrationCreateParams, type ProjectIntegrationData, type ProjectIntegrationListParams, type ProjectIntegrationUpdateParams, ProjectIntegrations, ProjectNotLinkedError, ProviderDefaults, type ProviderKeyUpsertParams, type PublishFromSandboxParams, type PublishParams, type PublishResult, RateLimitError, type RegionData, Regions, type RollbackParams, type RulesListParams, type Run, type RunActivity, type RunCommandOutput, type RunCreateParams, type RunDiagnostic, type RunDownload, type RunFile, type RunGroup, type RunGroupActivity, type RunGroupCounts, type RunGroupCreateParams, type RunGroupDispatchEntry, type RunGroupDispatchResult, type RunGroupFile, type RunGroupListParams, type RunGroupStatus, type RunGroupWaitOptions, RunGroups, type RunListParams, type RunMessage, type RunOutputs, type RunPreview, type RunStatus, type RunTargetKind, type RunWaitOptions, Runs, type RuntimeCapabilities, RuntimeCapabilitiesResource, RuntimeEnv, type RuntimeEnvListParams, type RuntimeEnvScope, type RuntimeEnvSetParams, type RuntimeEnvTarget, type RuntimeEnvVar, type RuntimeInstanceData, type RuntimeInstanceId, type RuntimeInstanceState, type RuntimeLogsResult, SANDBOX_TEMPLATE, Sandbox, SandboxAudit, type SandboxBuildSpec, type SandboxBuildSpecError, type SandboxBuildSpecValidation, SandboxCommands, type SandboxConnectorAttachParams, type SandboxConnectorBinding, type SandboxConnectorPreflightParams, type SandboxConnectorPreflightResult, SandboxConnectors, type SandboxCreateParams, type SandboxData, SandboxEnv, SandboxEvents, type SandboxExecOptions, type SandboxExecResult, SandboxFiles, type SandboxGetOrCreateParams, type SandboxId, type SandboxListParams, SandboxNetwork, SandboxPreview, SandboxPreviews, SandboxSecrets, type SandboxState, SandboxTags, type SandboxTemplate, type SandboxTemplateBuild, type SandboxTemplateBuildCreateParams, type SandboxTemplateBuildResourceData, type SandboxTemplateBuildResourceId, type SandboxTemplateCreateParams, type SandboxTemplateList, type SandboxTemplateListParams, type SandboxTemplateResourceData, type SandboxTemplateResourceId, SandboxTemplates, SandboxTerminal, Sandboxes, ScopeNotAllowedError, ScopedFs, type ScrollDirection, type ScrollParams, type SecretCreateParams, type SecretData, type SecretId, type SecretListParams, type SecretRotateParams, type SecretSetParams, type SecretUpdateParams, type SessionId, Settings, type SettingsUpdateParams, type SizeData, type SlackSendTestParams, type SnapshotCreateParams, type SnapshotData, type SnapshotListResponse, type SnapshotProgressEvent, type SnapshotRestoreResult, type SnapshotStatus, SnapshotsStandalone, Storage, type StorageObjectData, SubjectNotAllowedError, type SuggestionsParams, type TemplateBenchmarkLane, type TemplateBuildCreateParams, type TemplateCreateParams, type TemplateData, type TemplateReadinessContract, type TemplateReadinessState, type TemplateSizeReadiness, Templates, type TemplatesListParams, Tenant, type TenantBrandingUpdateParams, type TenantId, type TenantPlan, type TenantSummary, type TerminalCreateParams, TimeoutError, type TimeseriesParams, TokenRefreshFailedError, type TunnelAuthMode, type TunnelCreateParams, type TunnelData, type TunnelId, type TunnelListResponse, type TunnelUpdateParams, type TypeParams, type UpdateWorkspaceMemberRoleParams, Usage, type UsageReportParams, type UsageSession, type UsageSessionsParams, type UsageSummary, UserAuthorizationRequiredError, type UserId, ValidationError, type VersionListParams, type VolumeCreateParams, type VolumeData, type VolumeId, type VolumeListParams, Volumes, type WaitParams, type WebhookCreateParams, type WebhookData, type WebhookDeliveryData, type WebhookDeliveryId, type WebhookId, type WebhookListParams, type WebhookUpdateParams, Webhooks, type WindowFocusParams, type WindowInfo, type WorkspaceId, type WorkspaceInvite, type WorkspaceInviteCreatedResponse, type WorkspaceInviteListResponse, type WorkspaceInvitePreview, type WorkspaceInviteRevokeResponse, WorkspaceInvites, type WorkspaceMember, type WorkspaceMemberAddedResponse, type WorkspaceMemberDeleteResponse, type WorkspaceMemberListResponse, type WorkspaceMemberRecord, type WorkspaceMemberRecordResponse, WorkspaceMembers, type WorkspaceRole, type WsTicket, createAgentBuildExecutionPacket, createAgentBuildExpectedOutputs, createAgentBuildPrompt, createBuildRunParams, getAgentBuildKindSpec, resolveAgentBuildKind, verifySignature };
|
|
8298
|
+
export { AGENT_BUILD_KIND_SPECS, type AcceptOrgInviteResponse, type AcceptWorkspaceInviteResponse, type AddDomainParams, type AddWorkspaceMemberParams, Admin, type AgentBuildExecutionPacket, type AgentBuildFileSpec, type AgentBuildKind, type AgentBuildKindSpec, type AgentBuildPlannerDocument, type AgentDispatchParams, type AgentEvent$1 as AgentEvent, type AgentEventType, AgentRuntimeProfiles, type AgentSessionCreateParams, type AgentSessionData, type AgentSessionListResponse$1 as AgentSessionListResponse, type AgentSessionStatus$1 as AgentSessionStatus, type AllowParams, Analytics, type AnalyticsFilters, type ApiKeyCreateParams, type ApiKeyCreateResult, type ApiKeyData, type ApiKeyId, type ApiKeyListParams, ApiKeys, AppAuth, type AppAuthConfig, type AppAuthResourceType, type AppAuthSession, type AppAuthTokenPayload, type AppCatalogEntry, type AppInstallData, type AppInstallEvent, type AttachAwsRoleParams, type AuditListParams, AuditLog, type AuditLogEvent, type AuditLogListParams, type AuditTailParams, AuthError, type AuthToken, type BenchmarkCompareParams, type BenchmarkCreateParams, Benchmarks, type BindingCreateParams, type BindingListParams, type BrandingData, type BrandingUpdateParams, type BucketCreateParams, type BucketData, type BucketId, type BuilderSessionListParams, BuilderSessions, type BulkUserActionParams, type ChannelCreateParams, type ChannelData, type ChannelListParams, type ChannelUpdateParams, Channels, type ChatCompletionCreateParams, type ChatCompletionCreateStreamParams, Checkpoints, type ClickParams, Cloud, type CloudAccount, type CloudAccountCreateParams, type CloudAccountMode, type CloudAccountStatus, type CloudCredentialType, type CloudListParams, type CloudPlacementScope, type CloudPool, type CloudPoolCreateParams, type CloudPoolKind, type CloudPreflightRecordParams, type CloudPreflightRun, type CloudPreflightStatus, type CloudProvider, type CloudRegion, type CloudRegionCreateParams, type ClusterCreateParams, type ClusterData, type ClusterEvent, type ClusterId, type ClusterListResponse, type ClusterStatus, CommandCenter, Community, type CompletionCreateParams, type CompletionCreateStreamParams, Completions, type ComputeProduct, Computer, ComputerAudit, ComputerAutoStop, ComputerConnectors, type ComputerCreateParams, type ComputerData, ComputerEnv, type ComputerId, ComputerInbox, type ComputerListParams, type ComputerListResponse, ComputerLogs, type ComputerLogsGetParams, ComputerNetwork, ComputerOsa, ComputerPorts, ComputerSecrets, type ComputerSize, type ComputerStatus, type ComputerTemplateType, ComputerTerminal, type ComputerUpdateParams, type ComputerVisibility, ComputerVolumes, Computers, type ConnectorApplicableDefaultParams, type ConnectorCreateParams, type ConnectorData, type ConnectorDefault, type ConnectorDefaultListParams, type ConnectorDefaultParams, type ConnectorListParams, type ConnectorSubject, type ConnectorTokenParams, type ConnectorTokenResponse, Connectors, type CopyParams, type CreateAdminApiKeyParams, type CreateAgentBuildPacketParams, type CreateBuildRunParams, type CreateOrgInviteParams, type CreateWorkspaceInviteParams, type CreateWorkspaceInviteResponse, type CreditBalance, type CreditTransaction, type CreditTransactionListResponse, type CreditUsage, Credits, type CronJobCreateParams, type CronJobData, type CronJobExecutionData, type CronJobExecutionId, type CronJobId, type CronJobListParams, type CronJobUpdateParams, CronJobs, type CursorInfo, type CustomDomainCreateParams, type CustomDomainData, type CustomDomainId, type CustomDomainListParams, DEFAULT_AGENT_BUILD_OUTPUT_ROOT, DEFAULT_AGENT_BUILD_PACKET_VERSION, Dashboard, type DashboardSummary, type DatabaseCreateParams, type DatabaseCredentials, type DatabaseData, type DatabaseId, type DatabaseListParams, type DatabaseLogsParams, type DatabaseLogsResult, Databases, type DeploymentBuildData, DeploymentConnectors, type DeploymentCreateParams, type DeploymentData, DeploymentDomains, type DeploymentId, type DeploymentListParams, type DeploymentProduct, type DeploymentProofCheck, type DeploymentProofParams, type DeploymentProofProbe, type DeploymentProofResult, type DeploymentReleaseData, type DeploymentReleaseId, DeploymentReleases, DeploymentRuntimeInstances, type DeploymentServiceData, type DeploymentServiceId, type DeploymentServiceType, type DeploymentSourceType, type DeploymentState, type DeploymentUpdateParams, type DeploymentVersionData, type DeploymentVersionId, type DeploymentVersionKind, type DeploymentVersionState, DeploymentVersions, Deployments, Desktop$1 as Desktop, type DesktopActionResult, type DeviceBootstrapParams, type DeviceBootstrapResult, type DeviceBrowserResult, type DeviceCapabilities, type DeviceData, type DeviceExecParams, type DeviceExecResult, type DeviceExposeParams, type DeviceExposeResult, type DeviceExtendParams, type DeviceFileEntry, type DeviceFileListParams, type DeviceKind, type DeviceLifecycleResult, type DeviceListParams, type DeviceReadFileParams, type DeviceReadFileResult, type DeviceWriteFileParams, type DeviceWriteFileResult, Devices, type DirEntry, type DirListResult, type DiscordSendTestParams, DockerDeploy, type DockerDeployApplianceStatus, type DockerDeployCreateParams, type DockerDeployDoctorCheck, type DockerDeployDoctorParams, type DockerDeployDoctorProbe, type DockerDeployDoctorResult, type DockerDeployHostData, type DockerDeployHostEnsureParams, type DockerDeployHostId, type DockerDeployHostListParams, type DockerDeployHostListResponse, type DockerDeployHostResponse, type DockerDeployHostStatus, type DoubleClickParams, type DragParams, type EgressAllowlistRule, EgressAudit, type EgressAuditEvent, type EgressBindingData, EgressHostNotAllowedError, EgressNetwork, type EgressPolicyData, type EgressPolicyMode, type EgressRuleEffect, type EgressSecretData, type EgressSecretScope, type EgressSecretType, EgressSecrets, type EgressSuggestion, Email, EmailCampaigns, EmailInbox, EmailTemplates, type EmbeddingCreateParams, Embeddings, Exec, type ExecParams, type ExecPythonParams, type ExecResult, type ExternalAttribution, type ExternalKeyCreateParams, type ExternalKeyData, ExternalKeys, type FileDeleteParams, type FileDownloadParams, type FileEntry, type FileExportParams, type FileExportResult, type FileListParams, type FileListResult, type FileStat, Files, FlatCustomDomains, type FsEntry, type FsListResponse, type FsStat, type FunctionCreateParams, type FunctionData, type FunctionId, type FunctionInvokeParams, type FunctionListParams, type FunctionUpdateParams, Functions, type GithubRepo, type GithubSshKey, type HealthCheckCreateParams, type HealthCheckData, type HealthCheckId, type HealthCheckListParams, type HealthCheckUpdateParams, HealthChecks, type HostCreateParams, type HostData, type HostEvent, type HostId, type HostListResponse, type HostStatus, type HostUpdateParams, InstallationRequiredError, InsufficientCreditsError, type IntegrationCatalogEntry, type IntegrationData, Integrations, type JobData, type JobEvent, type JobEventType, type JobId, type JobListResponse, type JobRunParams, type JobStatus, type KeyParams, type LaunchParams, type LinearCreateIssueParams, type ListAdminApiKeysParams, type ListAdminComputersParams, type ListAdminTenantsParams, type ListAdminUsersParams, ManagedProviderBindingOnlyError, Mcp, type McpDispatchParams, Miosa, type MiosaClientConfig, MiosaError, type MiosaErrorBody, type MkdirParams, type ModeParams, Models, type MouseButton, NetworkError, NetworkPolicy, type NetworkPolicyData, type NetworkPolicyEffect, type NetworkPolicyProtocol, type NetworkPolicyRule, type NetworkPolicySetParams, NotFoundError, type NotificationPrefsUpdateParams, OAuthFlow, type OauthConnectParams, type OauthProvider, type OauthStartResult, type OauthStatusResult, type ObjectListParams, type AgentEvent as OcAgentEvent, type OcAgentSessionData, type AgentSessionListResponse as OcAgentSessionListResponse, type OcWorkspaceCreateParams, type OcWorkspaceData, type OcWorkspaceEvent, type OcWorkspaceListResponse, type OcWorkspaceStatus, type OcWorkspaceUpdateParams, OpenComputers, type OrgInvite, type OrgInviteCreated, type OrgInviteCreatedResponse, type OrgInviteListResponse, type OrgInvitePreview, type OrgInviteRevokeResponse, OrgInvites, type OrgRole, type OrganizationMember, type OrganizationMemberList, type OrganizationMemberRemoved, OrganizationMembers, type OrganizationRole, type OrganizationSummary, type OrganizationSwitchResult, Organizations, type OverviewData, type PolicyCreateParams, type PolicyListParams, type PolicyUpdateParams, type PresignParams, type PresignResult, type PreviewDomainData, type ProductCatalogEntry, type ProductTemplate, type ProductTemplateCatalog, ProjectAuth, type ProjectAuthEnableParams, type ProjectAuthStatus, type ProjectAuthUpdateParams, type ProjectIntegrationCatalogEntry, type ProjectIntegrationCreateParams, type ProjectIntegrationData, type ProjectIntegrationListParams, type ProjectIntegrationUpdateParams, ProjectIntegrations, ProjectNotLinkedError, ProviderDefaults, type ProviderKeyUpsertParams, type PublishFromSandboxParams, type PublishParams, type PublishResult, RateLimitError, type RegionData, Regions, type RollbackParams, type RulesListParams, type Run, type RunActivity, type RunCommandOutput, type RunCreateParams, type RunDiagnostic, type RunDownload, type RunFile, type RunGroup, type RunGroupActivity, type RunGroupCounts, type RunGroupCreateParams, type RunGroupDispatchEntry, type RunGroupDispatchResult, type RunGroupFile, type RunGroupListParams, type RunGroupStatus, type RunGroupWaitOptions, RunGroups, type RunListParams, type RunMessage, type RunOutputs, type RunPreview, type RunStatus, type RunTargetKind, type RunWaitOptions, Runs, type RuntimeCapabilities, RuntimeCapabilitiesResource, RuntimeEnv, type RuntimeEnvListParams, type RuntimeEnvScope, type RuntimeEnvSetParams, type RuntimeEnvTarget, type RuntimeEnvVar, type RuntimeInstanceData, type RuntimeInstanceId, type RuntimeInstanceState, type RuntimeLogsResult, SANDBOX_TEMPLATE, Sandbox, SandboxAudit, type SandboxBuildSpec, type SandboxBuildSpecError, type SandboxBuildSpecValidation, SandboxCommands, type SandboxConnectorAttachParams, type SandboxConnectorBinding, type SandboxConnectorPreflightParams, type SandboxConnectorPreflightResult, SandboxConnectors, type SandboxCreateParams, type SandboxData, SandboxEnv, SandboxEvents, type SandboxExecEvent, type SandboxExecOptions, type SandboxExecResult, type SandboxExecRunner, SandboxFiles, type SandboxGetOrCreateParams, type SandboxId, type SandboxListParams, SandboxNetwork, SandboxPreview, SandboxPreviews, SandboxSecrets, type SandboxState, SandboxTags, type SandboxTemplate, type SandboxTemplateBuild, type SandboxTemplateBuildCreateParams, type SandboxTemplateBuildResourceData, type SandboxTemplateBuildResourceId, type SandboxTemplateCreateParams, type SandboxTemplateList, type SandboxTemplateListParams, type SandboxTemplateResourceData, type SandboxTemplateResourceId, SandboxTemplates, SandboxTerminal, Sandboxes, ScopeNotAllowedError, ScopedFs, type ScrollDirection, type ScrollParams, type SecretCreateParams, type SecretData, type SecretId, type SecretListParams, type SecretRotateParams, type SecretSetParams, type SecretUpdateParams, type SessionId, Settings, type SettingsUpdateParams, type SizeData, type SlackSendTestParams, type SnapshotCreateParams, type SnapshotData, type SnapshotListResponse, type SnapshotProgressEvent, type SnapshotRestoreResult, type SnapshotStatus, SnapshotsStandalone, Storage, type StorageObjectData, SubjectNotAllowedError, type SuggestionsParams, type TemplateBenchmarkLane, type TemplateBuildCreateParams, type TemplateCreateParams, type TemplateData, type TemplateReadinessContract, type TemplateReadinessState, type TemplateSizeReadiness, Templates, type TemplatesListParams, Tenant, type TenantBrandingUpdateParams, type TenantId, type TenantPlan, type TenantSummary, type TerminalCreateParams, TimeoutError, type TimeseriesParams, TokenRefreshFailedError, type TunnelAuthMode, type TunnelCreateParams, type TunnelData, type TunnelId, type TunnelListResponse, type TunnelUpdateParams, type TypeParams, type UpdateWorkspaceMemberRoleParams, Usage, type UsageReportParams, type UsageSession, type UsageSessionsParams, type UsageSummary, UserAuthorizationRequiredError, type UserId, ValidationError, type VersionListParams, type VolumeAttachParams, type VolumeAttachmentData, type VolumeCreateParams, type VolumeData, type VolumeId, type VolumeListParams, Volumes, type WaitParams, type WebhookCreateParams, type WebhookData, type WebhookDeliveryData, type WebhookDeliveryId, type WebhookId, type WebhookListParams, type WebhookUpdateParams, Webhooks, type WindowFocusParams, type WindowInfo, type WorkspaceId, type WorkspaceInvite, type WorkspaceInviteCreatedResponse, type WorkspaceInviteListResponse, type WorkspaceInvitePreview, type WorkspaceInviteRevokeResponse, WorkspaceInvites, type WorkspaceMember, type WorkspaceMemberAddedResponse, type WorkspaceMemberDeleteResponse, type WorkspaceMemberListResponse, type WorkspaceMemberRecord, type WorkspaceMemberRecordResponse, WorkspaceMembers, type WorkspaceRole, type WsTicket, createAgentBuildExecutionPacket, createAgentBuildExpectedOutputs, createAgentBuildPrompt, createBuildRunParams, getAgentBuildKindSpec, resolveAgentBuildKind, verifySignature };
|