@miosa/sdk 1.2.27 → 1.2.28
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/README.md +5 -5
- package/dist/index.d.ts +251 -219
- package/dist/index.js +345 -262
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -164,24 +164,23 @@ declare class Admin {
|
|
|
164
164
|
}>;
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
-
type
|
|
168
|
-
type
|
|
169
|
-
interface
|
|
167
|
+
type RunTargetKind = "sandbox" | "computer";
|
|
168
|
+
type RunStatus = "running" | "succeeded" | "failed" | "canceled";
|
|
169
|
+
interface Run {
|
|
170
170
|
id: string;
|
|
171
|
-
|
|
172
|
-
|
|
171
|
+
run_group_id?: string;
|
|
172
|
+
parent_run_id?: string;
|
|
173
173
|
orchestration_role?: string;
|
|
174
174
|
external_workspace_id?: string | null;
|
|
175
175
|
external_user_id?: string | null;
|
|
176
176
|
external_project_id?: string | null;
|
|
177
|
-
target_kind:
|
|
177
|
+
target_kind: RunTargetKind;
|
|
178
178
|
target_id: string;
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
exit_code?: number;
|
|
179
|
+
runner: string;
|
|
180
|
+
provider?: string | null;
|
|
181
|
+
model?: string | null;
|
|
182
|
+
instruction: string;
|
|
183
|
+
status: RunStatus;
|
|
185
184
|
metadata?: Record<string, unknown>;
|
|
186
185
|
started_at?: string;
|
|
187
186
|
finished_at?: string;
|
|
@@ -189,10 +188,10 @@ interface AgentRun {
|
|
|
189
188
|
updated_at?: string;
|
|
190
189
|
[key: string]: unknown;
|
|
191
190
|
}
|
|
192
|
-
interface
|
|
191
|
+
interface RunFile {
|
|
193
192
|
id: string;
|
|
194
|
-
|
|
195
|
-
target_kind?:
|
|
193
|
+
run_id?: string;
|
|
194
|
+
target_kind?: RunTargetKind;
|
|
196
195
|
target_id?: string;
|
|
197
196
|
path: string;
|
|
198
197
|
kind?: string;
|
|
@@ -206,10 +205,74 @@ interface AgentRunArtifact {
|
|
|
206
205
|
created_at?: string;
|
|
207
206
|
updated_at?: string;
|
|
208
207
|
[key: string]: unknown;
|
|
208
|
+
name?: string | null;
|
|
209
|
+
download_url?: string | null;
|
|
210
|
+
signed_download_url?: string | null;
|
|
211
|
+
}
|
|
212
|
+
interface RunMessage {
|
|
213
|
+
id?: string;
|
|
214
|
+
role?: string;
|
|
215
|
+
type?: string;
|
|
216
|
+
text?: string;
|
|
217
|
+
content?: string;
|
|
218
|
+
created_at?: string | null;
|
|
219
|
+
[key: string]: unknown;
|
|
220
|
+
}
|
|
221
|
+
interface RunCommandOutput {
|
|
222
|
+
stdout?: string | null;
|
|
223
|
+
stderr?: string | null;
|
|
224
|
+
exit_code?: number | null;
|
|
225
|
+
}
|
|
226
|
+
interface RunDownload {
|
|
227
|
+
id?: string;
|
|
228
|
+
file_id: string;
|
|
229
|
+
name?: string | null;
|
|
230
|
+
path?: string;
|
|
231
|
+
url: string;
|
|
232
|
+
mime_type?: string | null;
|
|
233
|
+
size_bytes?: number | null;
|
|
234
|
+
status?: string;
|
|
235
|
+
[key: string]: unknown;
|
|
209
236
|
}
|
|
210
|
-
interface
|
|
237
|
+
interface RunPreview {
|
|
211
238
|
id: string;
|
|
212
|
-
|
|
239
|
+
run_id?: string;
|
|
240
|
+
file_id?: string;
|
|
241
|
+
type: string;
|
|
242
|
+
title?: string | null;
|
|
243
|
+
path?: string | null;
|
|
244
|
+
url?: string | null;
|
|
245
|
+
mime_type?: string | null;
|
|
246
|
+
status?: string;
|
|
247
|
+
metadata?: Record<string, unknown>;
|
|
248
|
+
[key: string]: unknown;
|
|
249
|
+
}
|
|
250
|
+
interface RunDiagnostic {
|
|
251
|
+
id: string;
|
|
252
|
+
run_id?: string;
|
|
253
|
+
code: string;
|
|
254
|
+
message?: string | null;
|
|
255
|
+
retryable?: boolean;
|
|
256
|
+
[key: string]: unknown;
|
|
257
|
+
}
|
|
258
|
+
interface RunOutputs {
|
|
259
|
+
run_id: string;
|
|
260
|
+
task_run_id?: string;
|
|
261
|
+
status: RunStatus;
|
|
262
|
+
result?: Record<string, unknown> | null;
|
|
263
|
+
message?: string | null;
|
|
264
|
+
messages: RunMessage[];
|
|
265
|
+
command_output: RunCommandOutput;
|
|
266
|
+
activity: RunActivity[];
|
|
267
|
+
files: RunFile[];
|
|
268
|
+
downloads: RunDownload[];
|
|
269
|
+
previews: RunPreview[];
|
|
270
|
+
diagnostics: RunDiagnostic[];
|
|
271
|
+
[key: string]: unknown;
|
|
272
|
+
}
|
|
273
|
+
interface RunActivity {
|
|
274
|
+
id: string;
|
|
275
|
+
run_id?: string;
|
|
213
276
|
sequence?: number;
|
|
214
277
|
type: string;
|
|
215
278
|
message?: string | null;
|
|
@@ -217,7 +280,7 @@ interface AgentRunEvent {
|
|
|
217
280
|
created_at?: string | null;
|
|
218
281
|
[key: string]: unknown;
|
|
219
282
|
}
|
|
220
|
-
interface
|
|
283
|
+
interface RunExecutionPacket {
|
|
221
284
|
goal?: string;
|
|
222
285
|
context?: Record<string, unknown>;
|
|
223
286
|
plan?: unknown;
|
|
@@ -225,27 +288,37 @@ interface AgentRunExecutionPacket {
|
|
|
225
288
|
acceptance_criteria?: unknown;
|
|
226
289
|
[key: string]: unknown;
|
|
227
290
|
}
|
|
228
|
-
interface
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
291
|
+
interface RunExpectedFile {
|
|
292
|
+
path: string;
|
|
293
|
+
name?: string;
|
|
294
|
+
kind?: string;
|
|
295
|
+
mime_type?: string;
|
|
296
|
+
preview?: boolean;
|
|
233
297
|
[key: string]: unknown;
|
|
234
298
|
}
|
|
235
|
-
interface
|
|
299
|
+
interface RunExpectedOutputs {
|
|
300
|
+
messages?: boolean;
|
|
301
|
+
files?: Array<string | RunExpectedFile>;
|
|
302
|
+
previews?: boolean | unknown[];
|
|
303
|
+
[key: string]: unknown;
|
|
304
|
+
}
|
|
305
|
+
interface RunApprovalPolicy {
|
|
236
306
|
publish?: "manual" | "automatic" | string;
|
|
237
307
|
external_write?: "manual" | "automatic" | string;
|
|
238
308
|
destructive_actions?: "forbidden" | "manual" | "automatic" | string;
|
|
239
309
|
[key: string]: unknown;
|
|
240
310
|
}
|
|
241
|
-
interface
|
|
242
|
-
|
|
243
|
-
targetKind?:
|
|
311
|
+
interface RunCreateParams {
|
|
312
|
+
instruction?: string;
|
|
313
|
+
targetKind?: RunTargetKind;
|
|
244
314
|
targetId?: string;
|
|
315
|
+
runtimeId?: string;
|
|
245
316
|
sandboxId?: string;
|
|
246
|
-
/** Shortcut for a computer-backed
|
|
317
|
+
/** Shortcut for a computer-backed run. */
|
|
247
318
|
computerId?: string;
|
|
319
|
+
/** Optional model/vendor configuration, not the runner selector. */
|
|
248
320
|
provider?: string;
|
|
321
|
+
runner?: string;
|
|
249
322
|
model?: string;
|
|
250
323
|
command?: string;
|
|
251
324
|
runtimeCommand?: string;
|
|
@@ -253,23 +326,10 @@ interface AgentRunCreateParams {
|
|
|
253
326
|
timeout?: number;
|
|
254
327
|
wait?: boolean;
|
|
255
328
|
env?: Record<string, string>;
|
|
256
|
-
/** Claude Code: `--output-format`, e.g. "json" or "stream-json". */
|
|
257
|
-
outputFormat?: "text" | "json" | "stream-json" | string;
|
|
258
|
-
output_format?: "text" | "json" | "stream-json" | string;
|
|
259
|
-
/** Claude Code: `--resume <session_id>`. */
|
|
260
|
-
resumeSessionId?: string;
|
|
261
|
-
resume_session_id?: string;
|
|
262
|
-
/** Codex: pass `--json` for JSONL event output. */
|
|
263
|
-
json?: boolean;
|
|
264
|
-
/** Codex: path to a JSON Schema file inside the runtime. */
|
|
265
|
-
outputSchema?: string;
|
|
266
|
-
output_schema?: string;
|
|
267
|
-
/** Codex: path to an image file inside the runtime. */
|
|
268
|
-
image?: string;
|
|
269
329
|
agentRuntimeProfileId?: string;
|
|
270
330
|
agentProfileId?: string;
|
|
271
|
-
|
|
272
|
-
|
|
331
|
+
runGroupId?: string;
|
|
332
|
+
parentRunId?: string;
|
|
273
333
|
orchestrationRole?: string;
|
|
274
334
|
externalWorkspaceId?: string;
|
|
275
335
|
external_workspace_id?: string;
|
|
@@ -277,66 +337,72 @@ interface AgentRunCreateParams {
|
|
|
277
337
|
external_user_id?: string;
|
|
278
338
|
externalProjectId?: string;
|
|
279
339
|
external_project_id?: string;
|
|
280
|
-
|
|
281
|
-
executionPacket?:
|
|
282
|
-
|
|
283
|
-
approvalPolicy?:
|
|
340
|
+
skipRuntimeProfile?: boolean;
|
|
341
|
+
executionPacket?: RunExecutionPacket;
|
|
342
|
+
expectedOutputs?: RunExpectedOutputs;
|
|
343
|
+
approvalPolicy?: RunApprovalPolicy;
|
|
284
344
|
capabilityRequirements?: string[];
|
|
285
345
|
metadata?: Record<string, unknown>;
|
|
286
346
|
}
|
|
287
|
-
interface
|
|
288
|
-
targetKind?:
|
|
347
|
+
interface RunListParams {
|
|
348
|
+
targetKind?: RunTargetKind;
|
|
289
349
|
targetId?: string;
|
|
350
|
+
runtimeId?: string;
|
|
290
351
|
sandboxId?: string;
|
|
291
352
|
computerId?: string;
|
|
292
|
-
|
|
353
|
+
runGroupId?: string;
|
|
293
354
|
externalWorkspaceId?: string;
|
|
294
355
|
external_workspace_id?: string;
|
|
295
356
|
externalUserId?: string;
|
|
296
357
|
external_user_id?: string;
|
|
297
358
|
externalProjectId?: string;
|
|
298
359
|
external_project_id?: string;
|
|
299
|
-
status?:
|
|
360
|
+
status?: RunStatus | string;
|
|
300
361
|
}
|
|
301
|
-
interface
|
|
362
|
+
interface RunWaitOptions {
|
|
302
363
|
timeoutMs?: number;
|
|
303
364
|
pollIntervalMs?: number;
|
|
304
365
|
terminalStatuses?: string[];
|
|
305
366
|
}
|
|
306
|
-
declare class
|
|
367
|
+
declare class Runs {
|
|
307
368
|
private readonly http;
|
|
308
369
|
constructor(http: HttpClient);
|
|
309
|
-
list(params?:
|
|
310
|
-
get(id: string): Promise<
|
|
311
|
-
|
|
312
|
-
|
|
370
|
+
list(params?: RunListParams): Promise<Run[]>;
|
|
371
|
+
get(id: string): Promise<Run>;
|
|
372
|
+
outputs(id: string): Promise<RunOutputs>;
|
|
373
|
+
files(id: string): Promise<RunFile[]>;
|
|
374
|
+
downloadFile(id: string, fileId: string, options?: {
|
|
313
375
|
inline?: boolean;
|
|
314
376
|
}): Promise<Uint8Array>;
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
377
|
+
messages(id: string): Promise<RunMessage[]>;
|
|
378
|
+
commandOutput(id: string): Promise<RunCommandOutput>;
|
|
379
|
+
activity(id: string): Promise<RunActivity[]>;
|
|
380
|
+
previews(id: string): Promise<RunPreview[]>;
|
|
381
|
+
diagnostics(id: string): Promise<RunDiagnostic[]>;
|
|
382
|
+
streamActivity(id: string): AsyncIterableIterator<RunActivity>;
|
|
383
|
+
waitForCompletion(id: string, options?: RunWaitOptions): Promise<Run>;
|
|
384
|
+
run(params: RunCreateParams): Promise<Run>;
|
|
385
|
+
cancel(id: string): Promise<Run>;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
type RunGroupStatus = "running" | "succeeded" | "failed" | "canceled";
|
|
389
|
+
interface RunGroupCounts {
|
|
324
390
|
total: number;
|
|
325
391
|
running: number;
|
|
326
392
|
succeeded: number;
|
|
327
393
|
failed: number;
|
|
328
394
|
canceled: number;
|
|
329
395
|
}
|
|
330
|
-
interface
|
|
396
|
+
interface RunGroupEntryCounts extends RunGroupCounts {
|
|
331
397
|
queued: number;
|
|
332
398
|
}
|
|
333
|
-
type
|
|
334
|
-
interface
|
|
399
|
+
type RunGroupEntryStatus = "queued" | "running" | "succeeded" | "failed" | "canceled";
|
|
400
|
+
interface RunGroupEntry {
|
|
335
401
|
id: string;
|
|
336
|
-
|
|
337
|
-
|
|
402
|
+
run_group_id: string;
|
|
403
|
+
run_id?: string;
|
|
338
404
|
index: number;
|
|
339
|
-
status:
|
|
405
|
+
status: RunGroupEntryStatus;
|
|
340
406
|
attempts?: number;
|
|
341
407
|
error?: Record<string, unknown>;
|
|
342
408
|
queued_at?: string;
|
|
@@ -344,7 +410,7 @@ interface AgentRunGroupEntry {
|
|
|
344
410
|
finished_at?: string;
|
|
345
411
|
updated_at?: string;
|
|
346
412
|
}
|
|
347
|
-
interface
|
|
413
|
+
interface RunGroup {
|
|
348
414
|
id: string;
|
|
349
415
|
tenant_id?: string;
|
|
350
416
|
user_id?: string;
|
|
@@ -352,20 +418,20 @@ interface AgentRunGroup {
|
|
|
352
418
|
project_id?: string;
|
|
353
419
|
name: string;
|
|
354
420
|
description?: string;
|
|
355
|
-
status:
|
|
421
|
+
status: RunGroupStatus;
|
|
356
422
|
concurrency_limit?: number;
|
|
357
423
|
expected_runs?: number;
|
|
358
|
-
counts?:
|
|
359
|
-
entry_counts?:
|
|
424
|
+
counts?: RunGroupCounts;
|
|
425
|
+
entry_counts?: RunGroupEntryCounts;
|
|
360
426
|
metadata?: Record<string, unknown>;
|
|
361
427
|
started_at?: string;
|
|
362
428
|
finished_at?: string;
|
|
363
429
|
created_at?: string;
|
|
364
430
|
updated_at?: string;
|
|
365
|
-
runs?:
|
|
431
|
+
runs?: Run[];
|
|
366
432
|
[key: string]: unknown;
|
|
367
433
|
}
|
|
368
|
-
interface
|
|
434
|
+
interface RunGroupCreateParams {
|
|
369
435
|
name: string;
|
|
370
436
|
description?: string;
|
|
371
437
|
workspaceId?: string;
|
|
@@ -374,43 +440,43 @@ interface AgentRunGroupCreateParams {
|
|
|
374
440
|
expectedRuns?: number;
|
|
375
441
|
metadata?: Record<string, unknown>;
|
|
376
442
|
}
|
|
377
|
-
interface
|
|
443
|
+
interface RunGroupListParams {
|
|
378
444
|
workspaceId?: string;
|
|
379
445
|
projectId?: string;
|
|
380
|
-
status?:
|
|
446
|
+
status?: RunGroupStatus | string;
|
|
381
447
|
limit?: number;
|
|
382
448
|
}
|
|
383
|
-
type
|
|
449
|
+
type RunGroupDispatchEntry = RunCreateParams & {
|
|
384
450
|
targetId?: string;
|
|
385
451
|
sandboxId?: string;
|
|
386
452
|
computerId?: string;
|
|
387
453
|
};
|
|
388
|
-
interface
|
|
389
|
-
group:
|
|
454
|
+
interface RunGroupDispatchResult {
|
|
455
|
+
group: RunGroup;
|
|
390
456
|
results?: Array<{
|
|
391
457
|
index: number;
|
|
392
458
|
ok: true;
|
|
393
|
-
run:
|
|
459
|
+
run: Run;
|
|
394
460
|
} | {
|
|
395
461
|
index: number;
|
|
396
462
|
ok: false;
|
|
397
463
|
error: Record<string, unknown>;
|
|
398
464
|
}>;
|
|
399
|
-
entries?:
|
|
465
|
+
entries?: RunGroupEntry[];
|
|
400
466
|
}
|
|
401
|
-
interface
|
|
467
|
+
interface RunGroupDispatchOptions {
|
|
402
468
|
async?: boolean;
|
|
403
469
|
}
|
|
404
|
-
interface
|
|
470
|
+
interface RunGroupWaitOptions {
|
|
405
471
|
timeoutMs?: number;
|
|
406
472
|
pollIntervalMs?: number;
|
|
407
473
|
terminalStatuses?: string[];
|
|
408
474
|
includeRuns?: boolean;
|
|
409
475
|
}
|
|
410
|
-
interface
|
|
476
|
+
interface RunGroupActivity {
|
|
411
477
|
id: string;
|
|
412
|
-
|
|
413
|
-
|
|
478
|
+
run_group_id?: string;
|
|
479
|
+
run_id?: string;
|
|
414
480
|
sequence?: number;
|
|
415
481
|
type: string;
|
|
416
482
|
message?: string | null;
|
|
@@ -418,23 +484,23 @@ interface AgentRunGroupEvent {
|
|
|
418
484
|
created_at?: string | null;
|
|
419
485
|
[key: string]: unknown;
|
|
420
486
|
}
|
|
421
|
-
type
|
|
422
|
-
|
|
487
|
+
type RunGroupFile = RunFile & {
|
|
488
|
+
run_id: string;
|
|
423
489
|
};
|
|
424
|
-
declare class
|
|
490
|
+
declare class RunGroups {
|
|
425
491
|
private readonly http;
|
|
426
492
|
constructor(http: HttpClient);
|
|
427
|
-
list(params?:
|
|
428
|
-
create(params:
|
|
493
|
+
list(params?: RunGroupListParams): Promise<RunGroup[]>;
|
|
494
|
+
create(params: RunGroupCreateParams): Promise<RunGroup>;
|
|
429
495
|
get(id: string, options?: {
|
|
430
496
|
includeRuns?: boolean;
|
|
431
|
-
}): Promise<
|
|
432
|
-
dispatch(id: string, runs:
|
|
433
|
-
cancel(id: string): Promise<
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
waitForCompletion(id: string, options?:
|
|
497
|
+
}): Promise<RunGroup>;
|
|
498
|
+
dispatch(id: string, runs: RunGroupDispatchEntry[], options?: RunGroupDispatchOptions): Promise<RunGroupDispatchResult>;
|
|
499
|
+
cancel(id: string): Promise<RunGroup>;
|
|
500
|
+
activity(id: string): Promise<RunGroupActivity[]>;
|
|
501
|
+
streamActivity(id: string): AsyncIterableIterator<RunGroupActivity>;
|
|
502
|
+
files(id: string): Promise<RunGroupFile[]>;
|
|
503
|
+
waitForCompletion(id: string, options?: RunGroupWaitOptions): Promise<RunGroup>;
|
|
438
504
|
}
|
|
439
505
|
|
|
440
506
|
type AgentRuntime = "osa" | "codex" | "claude" | "claude-code" | "pi" | "hermes" | "custom";
|
|
@@ -1315,6 +1381,7 @@ interface ComputerCreateParams {
|
|
|
1315
1381
|
agentProfileId?: string;
|
|
1316
1382
|
agent_profile_id?: string;
|
|
1317
1383
|
/** Opt out of the default agent runtime profile for this create call. */
|
|
1384
|
+
skipRuntimeProfile?: boolean;
|
|
1318
1385
|
skipAgentRuntimeProfile?: boolean;
|
|
1319
1386
|
skip_agent_runtime_profile?: boolean;
|
|
1320
1387
|
}
|
|
@@ -2352,24 +2419,12 @@ declare class Desktop$1 {
|
|
|
2352
2419
|
screenshot(): Promise<Uint8Array>;
|
|
2353
2420
|
/** Click at the given coordinates. */
|
|
2354
2421
|
click(x: number, y: number, button?: ClickParams["button"]): Promise<DesktopActionResult>;
|
|
2355
|
-
/** Explicit left-button click. Alias for click(x, y, "left"). */
|
|
2356
|
-
leftClick(x: number, y: number): Promise<DesktopActionResult>;
|
|
2357
|
-
/** Right-button click. Alias for click(x, y, "right"). */
|
|
2358
|
-
rightClick(x: number, y: number): Promise<DesktopActionResult>;
|
|
2359
|
-
/** Middle-button click. Alias for click(x, y, "middle"). */
|
|
2360
|
-
middleClick(x: number, y: number): Promise<DesktopActionResult>;
|
|
2361
2422
|
/** Double-click at the given coordinates. */
|
|
2362
2423
|
doubleClick(x: number, y: number): Promise<DesktopActionResult>;
|
|
2363
|
-
/** Move the mouse pointer without clicking. */
|
|
2364
|
-
moveMouse(x: number, y: number): Promise<DesktopActionResult>;
|
|
2365
2424
|
/** Type text into the currently focused element. */
|
|
2366
2425
|
type(text: string, delay?: number): Promise<DesktopActionResult>;
|
|
2367
|
-
/** Alias for `type(text)` used by simple computer-control loops. */
|
|
2368
|
-
write(text: string, delay?: number): Promise<DesktopActionResult>;
|
|
2369
2426
|
/** Send a key or key combination (e.g. "Enter", "ctrl+c"). */
|
|
2370
2427
|
key(key: string): Promise<DesktopActionResult>;
|
|
2371
|
-
/** Alias for `key(key)` used by simple computer-control loops. */
|
|
2372
|
-
press(key: string): Promise<DesktopActionResult>;
|
|
2373
2428
|
/** Scroll in a direction at an optional position. */
|
|
2374
2429
|
scroll(direction: ScrollParams["direction"], clicks?: number, x?: number, y?: number): Promise<DesktopActionResult>;
|
|
2375
2430
|
/** Click and drag from one coordinate to another. */
|
|
@@ -3148,7 +3203,7 @@ declare class ComputerInbox {
|
|
|
3148
3203
|
get(): Promise<Record<string, unknown>>;
|
|
3149
3204
|
update(fields: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
3150
3205
|
}
|
|
3151
|
-
type
|
|
3206
|
+
type ComputerRunOptions = Omit<RunCreateParams, "instruction" | "targetKind" | "targetId" | "sandboxId" | "computerId">;
|
|
3152
3207
|
/**
|
|
3153
3208
|
* A Computer instance bound to a specific computer ID.
|
|
3154
3209
|
*
|
|
@@ -3237,9 +3292,9 @@ declare class Computer {
|
|
|
3237
3292
|
* Run an AI agent inside this Computer.
|
|
3238
3293
|
*
|
|
3239
3294
|
* The Computer is the graphical desktop VM product. This dispatches the
|
|
3240
|
-
* same
|
|
3295
|
+
* same Runs API as `miosa agent run --computer`, scoped to this VM.
|
|
3241
3296
|
*/
|
|
3242
|
-
|
|
3297
|
+
run(instruction: string, options?: ComputerRunOptions): Promise<Run>;
|
|
3243
3298
|
/**
|
|
3244
3299
|
* Capture a desktop screenshot as PNG bytes.
|
|
3245
3300
|
* Shortcut for `computer.desktop.screenshot()`.
|
|
@@ -3261,24 +3316,16 @@ declare class Computer {
|
|
|
3261
3316
|
rightClick(x: number, y: number): Promise<void>;
|
|
3262
3317
|
/** Double-click at the given coordinates. */
|
|
3263
3318
|
doubleClick(x: number, y: number): Promise<void>;
|
|
3264
|
-
/** Middle-button click. */
|
|
3265
|
-
middleClick(x: number, y: number): Promise<void>;
|
|
3266
|
-
/** Move the pointer without clicking. */
|
|
3267
|
-
moveMouse(x: number, y: number): Promise<void>;
|
|
3268
3319
|
/**
|
|
3269
3320
|
* Type text into the focused element.
|
|
3270
3321
|
* Shortcut for `computer.desktop.type(text)`.
|
|
3271
3322
|
*/
|
|
3272
3323
|
type(text: string): Promise<void>;
|
|
3273
|
-
/** Alias for `type(text)`. */
|
|
3274
|
-
write(text: string): Promise<void>;
|
|
3275
3324
|
/**
|
|
3276
3325
|
* Send a key or key combo.
|
|
3277
3326
|
* Shortcut for `computer.desktop.key(key)`.
|
|
3278
3327
|
*/
|
|
3279
3328
|
key(key: string): Promise<void>;
|
|
3280
|
-
/** Alias for `key(key)`. */
|
|
3281
|
-
press(key: string): Promise<void>;
|
|
3282
3329
|
/**
|
|
3283
3330
|
* Scroll in a direction.
|
|
3284
3331
|
* Shortcut for `computer.desktop.scroll(direction, clicks)`.
|
|
@@ -3346,13 +3393,6 @@ declare class Computer {
|
|
|
3346
3393
|
urls(): Promise<Record<string, unknown>>;
|
|
3347
3394
|
/** Mint a short-lived stream token for this computer. */
|
|
3348
3395
|
streamToken(): Promise<Record<string, unknown>>;
|
|
3349
|
-
/**
|
|
3350
|
-
* Mint a passwordless browser embed URL for authenticated platform sessions.
|
|
3351
|
-
*
|
|
3352
|
-
* Use this inside MIOSA or tenant apps. Raw shared desktop URLs can still use
|
|
3353
|
-
* the viewer password flow when opened outside an authenticated platform.
|
|
3354
|
-
*/
|
|
3355
|
-
embed(): Promise<Record<string, unknown>>;
|
|
3356
3396
|
/** Clone this computer into a new one. */
|
|
3357
3397
|
clone(opts?: Record<string, unknown>): Promise<Computer>;
|
|
3358
3398
|
/** Resize the computer (change CPU/memory/disk). */
|
|
@@ -3679,14 +3719,14 @@ declare class DockerDeploy {
|
|
|
3679
3719
|
private readonly http;
|
|
3680
3720
|
constructor(http: HttpClient);
|
|
3681
3721
|
/**
|
|
3682
|
-
* List
|
|
3722
|
+
* List App Engine appliance hosts scoped to the current tenant.
|
|
3683
3723
|
*
|
|
3684
3724
|
* Pass a workspace ID to inspect the dedicated always-on appliance machine
|
|
3685
3725
|
* for one white-label workspace.
|
|
3686
3726
|
*/
|
|
3687
3727
|
listHosts(params?: DockerDeployHostListParams): Promise<DockerDeployHostData[]>;
|
|
3688
3728
|
/**
|
|
3689
|
-
* Ensure a workspace has its dedicated
|
|
3729
|
+
* Ensure a workspace has its dedicated App Engine appliance host.
|
|
3690
3730
|
*
|
|
3691
3731
|
* The host may still be `pending`, `provisioning`, or `bootstrapping` after
|
|
3692
3732
|
* this call. Treat `status === "active"` and `appliance_status === "healthy"`
|
|
@@ -3696,11 +3736,11 @@ declare class DockerDeploy {
|
|
|
3696
3736
|
host: DockerDeployHostData;
|
|
3697
3737
|
queued: boolean;
|
|
3698
3738
|
}>;
|
|
3699
|
-
/** Fetch one
|
|
3739
|
+
/** Fetch one App Engine host by ID. */
|
|
3700
3740
|
getHost(hostId: string): Promise<DockerDeployHostData>;
|
|
3701
|
-
/** List
|
|
3741
|
+
/** List App Engine starter templates. */
|
|
3702
3742
|
listTemplates(): Promise<DockerDeployTemplate[]>;
|
|
3703
|
-
/** Fetch one
|
|
3743
|
+
/** Fetch one App Engine starter template by ID. */
|
|
3704
3744
|
getTemplate(templateId: string): Promise<DockerDeployTemplate>;
|
|
3705
3745
|
}
|
|
3706
3746
|
|
|
@@ -3771,6 +3811,17 @@ interface DeploymentData {
|
|
|
3771
3811
|
linked_database_id?: string | null;
|
|
3772
3812
|
deployment_product?: DeploymentProduct | string | null;
|
|
3773
3813
|
docker_deploy_host_id?: string | null;
|
|
3814
|
+
docker_deploy_app?: {
|
|
3815
|
+
id?: string | null;
|
|
3816
|
+
docker_deploy_host_id?: string | null;
|
|
3817
|
+
app_id?: string | null;
|
|
3818
|
+
container_id?: string | null;
|
|
3819
|
+
status?: string | null;
|
|
3820
|
+
runtime_ip?: string | null;
|
|
3821
|
+
runtime_port?: number | string | null;
|
|
3822
|
+
public_url?: string | null;
|
|
3823
|
+
last_health_status?: string | null;
|
|
3824
|
+
} | null;
|
|
3774
3825
|
metadata?: Record<string, unknown>;
|
|
3775
3826
|
external_workspace_id?: string | null;
|
|
3776
3827
|
external_user_id?: string | null;
|
|
@@ -3953,6 +4004,35 @@ interface DockerDeployDoctorResult {
|
|
|
3953
4004
|
checks: DockerDeployDoctorCheck[];
|
|
3954
4005
|
probe?: DockerDeployDoctorProbe;
|
|
3955
4006
|
}
|
|
4007
|
+
interface DeploymentProofCheck {
|
|
4008
|
+
id: string;
|
|
4009
|
+
ok: boolean;
|
|
4010
|
+
message: string;
|
|
4011
|
+
details?: Record<string, unknown>;
|
|
4012
|
+
recovery?: string[];
|
|
4013
|
+
}
|
|
4014
|
+
interface DeploymentProofProbe {
|
|
4015
|
+
url?: string;
|
|
4016
|
+
ok: boolean;
|
|
4017
|
+
status?: number;
|
|
4018
|
+
error?: string;
|
|
4019
|
+
}
|
|
4020
|
+
interface DeploymentProofResult {
|
|
4021
|
+
ok: boolean;
|
|
4022
|
+
deployment: DeploymentData;
|
|
4023
|
+
deployment_product: string | null;
|
|
4024
|
+
public_url: string | null;
|
|
4025
|
+
checks: DeploymentProofCheck[];
|
|
4026
|
+
probe?: DeploymentProofProbe;
|
|
4027
|
+
next_actions: string[];
|
|
4028
|
+
}
|
|
4029
|
+
interface DeploymentProofParams {
|
|
4030
|
+
probePath?: string;
|
|
4031
|
+
probe_path?: string;
|
|
4032
|
+
timeoutMs?: number;
|
|
4033
|
+
timeout_ms?: number;
|
|
4034
|
+
probe?: boolean;
|
|
4035
|
+
}
|
|
3956
4036
|
interface DockerDeployDoctorParams {
|
|
3957
4037
|
probePath?: string;
|
|
3958
4038
|
probe_path?: string;
|
|
@@ -4084,17 +4164,18 @@ declare class Deployments {
|
|
|
4084
4164
|
get(deploymentId: string): Promise<DeploymentData>;
|
|
4085
4165
|
create(params: DeploymentCreateParams): Promise<DeploymentData>;
|
|
4086
4166
|
/**
|
|
4087
|
-
* Create a deployment that runs on the workspace's dedicated
|
|
4167
|
+
* Create a deployment that runs on the workspace's dedicated App Engine
|
|
4088
4168
|
* runtime. It uses the same /deployments API as MIOSA Deploy, but marks the
|
|
4089
4169
|
* deployment so the control plane attaches it to the workspace Docker host.
|
|
4090
4170
|
*/
|
|
4091
4171
|
createDockerDeploy(params: DockerDeployCreateParams): Promise<DeploymentData>;
|
|
4092
4172
|
/**
|
|
4093
|
-
* Verify a
|
|
4173
|
+
* Verify a App Engine deployment before telling a user or agent it is
|
|
4094
4174
|
* live. Checks product markers, appliance host health, route metadata, and
|
|
4095
4175
|
* optionally probes the public URL.
|
|
4096
4176
|
*/
|
|
4097
4177
|
doctorDockerDeploy(deploymentId: string, params?: DockerDeployDoctorParams): Promise<DockerDeployDoctorResult>;
|
|
4178
|
+
prove(deploymentId: string, params?: DeploymentProofParams): Promise<DeploymentProofResult>;
|
|
4098
4179
|
update(deploymentId: string, params: DeploymentUpdateParams): Promise<DeploymentData>;
|
|
4099
4180
|
delete(deploymentId: string): Promise<void>;
|
|
4100
4181
|
publish(deploymentId: string, params: PublishParams): Promise<PublishResult>;
|
|
@@ -5689,20 +5770,11 @@ interface TemplateData {
|
|
|
5689
5770
|
slug?: string;
|
|
5690
5771
|
[key: string]: unknown;
|
|
5691
5772
|
}
|
|
5692
|
-
interface ComputeCatalogData {
|
|
5693
|
-
products?: Array<Record<string, unknown>>;
|
|
5694
|
-
regions?: Array<Record<string, unknown>>;
|
|
5695
|
-
sizes?: Array<Record<string, unknown>>;
|
|
5696
|
-
templates?: Array<Record<string, unknown>>;
|
|
5697
|
-
[key: string]: unknown;
|
|
5698
|
-
}
|
|
5699
5773
|
declare class Regions {
|
|
5700
5774
|
private readonly http;
|
|
5701
5775
|
constructor(http: HttpClient);
|
|
5702
5776
|
/** List datacenter regions. */
|
|
5703
5777
|
listRegions(): Promise<RegionData[]>;
|
|
5704
|
-
/** Get canonical compute catalog, including product templates and readiness. */
|
|
5705
|
-
catalog(): Promise<ComputeCatalogData>;
|
|
5706
5778
|
/** List available compute sizes. */
|
|
5707
5779
|
listSizes(): Promise<SizeData[]>;
|
|
5708
5780
|
/** Get static compute pricing data. */
|
|
@@ -5760,8 +5832,8 @@ declare class RuntimeEnv {
|
|
|
5760
5832
|
interface RuntimeCapabilities {
|
|
5761
5833
|
version: number;
|
|
5762
5834
|
targets?: Record<string, unknown>;
|
|
5763
|
-
|
|
5764
|
-
|
|
5835
|
+
runs?: Record<string, unknown>;
|
|
5836
|
+
run_groups?: Record<string, unknown>;
|
|
5765
5837
|
runtime_env?: Record<string, unknown>;
|
|
5766
5838
|
files?: Record<string, unknown>;
|
|
5767
5839
|
orchestration?: Record<string, unknown>;
|
|
@@ -5818,13 +5890,6 @@ interface SandboxCreateParams {
|
|
|
5818
5890
|
};
|
|
5819
5891
|
alwaysOn?: boolean;
|
|
5820
5892
|
always_on?: boolean;
|
|
5821
|
-
/**
|
|
5822
|
-
* Opt in to the in-sandbox L3 token carrying the `provision` scope, so code
|
|
5823
|
-
* running inside the sandbox can call database/deployment create. Defaults
|
|
5824
|
-
* to false on the server when omitted.
|
|
5825
|
-
*/
|
|
5826
|
-
allowProvision?: boolean;
|
|
5827
|
-
allow_provision?: boolean;
|
|
5828
5893
|
env?: Record<string, string>;
|
|
5829
5894
|
metadata?: Record<string, unknown>;
|
|
5830
5895
|
services?: Array<Record<string, unknown>>;
|
|
@@ -5848,7 +5913,7 @@ interface SandboxCreateParams {
|
|
|
5848
5913
|
agent_runtime_profile_id?: string;
|
|
5849
5914
|
agentProfileId?: string;
|
|
5850
5915
|
agent_profile_id?: string;
|
|
5851
|
-
|
|
5916
|
+
skipRuntimeProfile?: boolean;
|
|
5852
5917
|
skip_agent_runtime_profile?: boolean;
|
|
5853
5918
|
externalWorkspaceId?: string;
|
|
5854
5919
|
external_workspace_id?: string;
|
|
@@ -6148,7 +6213,7 @@ interface SandboxDeployParams {
|
|
|
6148
6213
|
idempotencyKey?: string;
|
|
6149
6214
|
idempotency_key?: string;
|
|
6150
6215
|
}
|
|
6151
|
-
type
|
|
6216
|
+
type SandboxRunOptions = Omit<RunCreateParams, "instruction" | "targetKind" | "targetId" | "sandboxId" | "computerId">;
|
|
6152
6217
|
declare class SandboxCommands {
|
|
6153
6218
|
private readonly sandbox;
|
|
6154
6219
|
constructor(sandbox: Sandbox);
|
|
@@ -6215,11 +6280,6 @@ declare class SandboxEvents {
|
|
|
6215
6280
|
/** Stream live sandbox events via SSE. */
|
|
6216
6281
|
stream(): AsyncIterableIterator<Record<string, unknown>>;
|
|
6217
6282
|
}
|
|
6218
|
-
declare class SandboxMetrics {
|
|
6219
|
-
private readonly sandbox;
|
|
6220
|
-
constructor(sandbox: Sandbox);
|
|
6221
|
-
get(window?: string): Promise<Record<string, unknown>>;
|
|
6222
|
-
}
|
|
6223
6283
|
declare class SandboxPreviews {
|
|
6224
6284
|
private readonly sandbox;
|
|
6225
6285
|
constructor(sandbox: Sandbox);
|
|
@@ -6273,8 +6333,6 @@ declare class Sandbox {
|
|
|
6273
6333
|
readonly terminal: SandboxTerminal;
|
|
6274
6334
|
/** SSE event stream. */
|
|
6275
6335
|
readonly events: SandboxEvents;
|
|
6276
|
-
/** Operational metrics and current resource state. */
|
|
6277
|
-
readonly metricsResource: SandboxMetrics;
|
|
6278
6336
|
/** Preview CRUD + share/revokeShare. */
|
|
6279
6337
|
readonly previews: SandboxPreviews;
|
|
6280
6338
|
/** Read-only env var listing. */
|
|
@@ -6299,9 +6357,9 @@ declare class Sandbox {
|
|
|
6299
6357
|
* Run an AI coding agent inside this Sandbox.
|
|
6300
6358
|
*
|
|
6301
6359
|
* Defaults to Claude Code, waits for completion, and runs from `/workspace`.
|
|
6302
|
-
* Pass `{
|
|
6360
|
+
* Pass `{ runner: "codex", env: { CODEX_API_KEY } }` to run Codex.
|
|
6303
6361
|
*/
|
|
6304
|
-
|
|
6362
|
+
run(instruction: string, options?: SandboxRunOptions): Promise<Run>;
|
|
6305
6363
|
private runExec;
|
|
6306
6364
|
private execStream;
|
|
6307
6365
|
writeFile(path: string, content: string | Uint8Array): Promise<void>;
|
|
@@ -6314,15 +6372,11 @@ declare class Sandbox {
|
|
|
6314
6372
|
listFiles(path?: string): Promise<SandboxFileList>;
|
|
6315
6373
|
statFile(path: string): Promise<SandboxFileStat>;
|
|
6316
6374
|
expose(port?: number): Promise<string>;
|
|
6317
|
-
getUrl(port?: number, path?: string): Promise<string>;
|
|
6318
|
-
getHost(port?: number): Promise<string>;
|
|
6319
6375
|
exposeInfo(port?: number): Promise<PreviewUrlInfo>;
|
|
6320
6376
|
startTemplate(options?: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
6321
6377
|
getArtifacts(): Promise<Record<string, unknown>>;
|
|
6322
6378
|
getLogs(lines?: number): Promise<string | Record<string, unknown>>;
|
|
6323
6379
|
streamLogs(): AsyncIterableIterator<Record<string, unknown>>;
|
|
6324
|
-
metrics(window?: string): Promise<Record<string, unknown>>;
|
|
6325
|
-
getMetrics(window?: string): Promise<Record<string, unknown>>;
|
|
6326
6380
|
createSnapshot(comment?: string): Promise<SandboxSnapshot>;
|
|
6327
6381
|
listSnapshots(): Promise<SandboxSnapshot[]>;
|
|
6328
6382
|
restoreSnapshot(snapshotId: string): Promise<Sandbox>;
|
|
@@ -7020,26 +7074,6 @@ interface VolumeCreateParams {
|
|
|
7020
7074
|
idempotencyKey?: string;
|
|
7021
7075
|
[key: string]: unknown;
|
|
7022
7076
|
}
|
|
7023
|
-
interface VolumeAttachmentData {
|
|
7024
|
-
id: string;
|
|
7025
|
-
volume_id: string;
|
|
7026
|
-
computer_id: string;
|
|
7027
|
-
mount_path: string;
|
|
7028
|
-
read_only?: boolean;
|
|
7029
|
-
state?: string;
|
|
7030
|
-
created_at?: string;
|
|
7031
|
-
updated_at?: string;
|
|
7032
|
-
[key: string]: unknown;
|
|
7033
|
-
}
|
|
7034
|
-
interface VolumeAttachParams {
|
|
7035
|
-
volumeId?: string;
|
|
7036
|
-
volume_id?: string;
|
|
7037
|
-
mountPath?: string;
|
|
7038
|
-
mount_path?: string;
|
|
7039
|
-
readOnly?: boolean;
|
|
7040
|
-
read_only?: boolean;
|
|
7041
|
-
[key: string]: unknown;
|
|
7042
|
-
}
|
|
7043
7077
|
declare class Volumes {
|
|
7044
7078
|
private readonly http;
|
|
7045
7079
|
constructor(http: HttpClient);
|
|
@@ -7047,9 +7081,6 @@ declare class Volumes {
|
|
|
7047
7081
|
get(volumeId: string): Promise<VolumeData>;
|
|
7048
7082
|
create(params: VolumeCreateParams): Promise<VolumeData>;
|
|
7049
7083
|
delete(volumeId: string): Promise<void>;
|
|
7050
|
-
listAttachments(computerId: string): Promise<VolumeAttachmentData[]>;
|
|
7051
|
-
attach(computerId: string, params: VolumeAttachParams): Promise<VolumeAttachmentData>;
|
|
7052
|
-
detach(computerId: string, attachmentId: string): Promise<void>;
|
|
7053
7084
|
}
|
|
7054
7085
|
|
|
7055
7086
|
/**
|
|
@@ -7396,10 +7427,10 @@ declare class Miosa {
|
|
|
7396
7427
|
readonly externalKeys: ExternalKeys;
|
|
7397
7428
|
/** Model Context Protocol — JSON-RPC dispatch + streaming channel. */
|
|
7398
7429
|
readonly mcp: Mcp;
|
|
7399
|
-
/**
|
|
7400
|
-
readonly
|
|
7401
|
-
/**
|
|
7402
|
-
readonly
|
|
7430
|
+
/** Runs - instruction dispatch into sandbox and computer targets. */
|
|
7431
|
+
readonly runs: Runs;
|
|
7432
|
+
/** Run groups - durable multi-run orchestration groups. */
|
|
7433
|
+
readonly runGroups: RunGroups;
|
|
7403
7434
|
/** Agent runtime profiles — tenant/workspace defaults for sandbox/computer agents. */
|
|
7404
7435
|
readonly agentRuntimeProfiles: AgentRuntimeProfiles;
|
|
7405
7436
|
/** MIOSA Connect — provider connectors and runtime tokens. */
|
|
@@ -7419,7 +7450,7 @@ declare class Miosa {
|
|
|
7419
7450
|
* Versions, releases, rollback, custom domains.
|
|
7420
7451
|
*/
|
|
7421
7452
|
readonly deployments: Deployments;
|
|
7422
|
-
/**
|
|
7453
|
+
/** App Engine appliance hosts — one always-on workspace host, many apps. */
|
|
7423
7454
|
readonly dockerDeploy: DockerDeploy;
|
|
7424
7455
|
/** Credit balance and usage. */
|
|
7425
7456
|
readonly credits: Credits;
|
|
@@ -7483,7 +7514,7 @@ declare class Miosa {
|
|
|
7483
7514
|
}
|
|
7484
7515
|
|
|
7485
7516
|
type AgentBuildKind = "landing_page" | "website" | "lead_magnet" | "webinar" | "slides_deck" | "email_sequence" | "social_content" | "ad_creative" | "booking_page" | "brand_identity" | "offer" | "program" | "podcast" | "sales_script" | "campaign" | "challenge" | "character" | "custom";
|
|
7486
|
-
interface
|
|
7517
|
+
interface AgentBuildFileSpec {
|
|
7487
7518
|
kind: string;
|
|
7488
7519
|
path: string;
|
|
7489
7520
|
mime_type?: string;
|
|
@@ -7510,11 +7541,11 @@ interface AgentBuildInputRef {
|
|
|
7510
7541
|
interface AgentBuildKindSpec {
|
|
7511
7542
|
kind: AgentBuildKind;
|
|
7512
7543
|
label: string;
|
|
7513
|
-
|
|
7544
|
+
deliverableType: string;
|
|
7514
7545
|
runtimeTemplate: Record<string, unknown>;
|
|
7515
7546
|
requestedOutputs: string[];
|
|
7516
7547
|
plannerDocumentKinds: string[];
|
|
7517
|
-
|
|
7548
|
+
files: AgentBuildFileSpec[];
|
|
7518
7549
|
designResearchRequired: boolean;
|
|
7519
7550
|
previewPort?: number;
|
|
7520
7551
|
}
|
|
@@ -7530,7 +7561,7 @@ interface AgentBuildExecutionPacket {
|
|
|
7530
7561
|
version: string;
|
|
7531
7562
|
run_type: AgentBuildKind;
|
|
7532
7563
|
build_kind: AgentBuildKind;
|
|
7533
|
-
|
|
7564
|
+
deliverable_type: string;
|
|
7534
7565
|
title: string;
|
|
7535
7566
|
goal: string;
|
|
7536
7567
|
source_refs: unknown[];
|
|
@@ -7540,7 +7571,7 @@ interface AgentBuildExecutionPacket {
|
|
|
7540
7571
|
requested_outputs: string[];
|
|
7541
7572
|
quality_rules: string[];
|
|
7542
7573
|
runtime_profile_id?: string;
|
|
7543
|
-
|
|
7574
|
+
expected_outputs: RunExpectedOutputs;
|
|
7544
7575
|
runtime_instructions: Record<string, unknown>;
|
|
7545
7576
|
metadata: Record<string, unknown>;
|
|
7546
7577
|
[key: string]: unknown;
|
|
@@ -7548,7 +7579,7 @@ interface AgentBuildExecutionPacket {
|
|
|
7548
7579
|
interface CreateAgentBuildPacketParams {
|
|
7549
7580
|
runType?: string;
|
|
7550
7581
|
buildKind?: string;
|
|
7551
|
-
|
|
7582
|
+
deliverableType?: string;
|
|
7552
7583
|
title: string;
|
|
7553
7584
|
goal: string;
|
|
7554
7585
|
contextMarkdown?: string;
|
|
@@ -7559,19 +7590,20 @@ interface CreateAgentBuildPacketParams {
|
|
|
7559
7590
|
inputRefs?: AgentBuildInputRef[];
|
|
7560
7591
|
runtimeProfileId?: string;
|
|
7561
7592
|
runtimeTemplate?: Record<string, unknown>;
|
|
7562
|
-
|
|
7563
|
-
|
|
7593
|
+
expectedOutputs?: RunExpectedOutputs;
|
|
7594
|
+
files?: AgentBuildFileSpec[];
|
|
7564
7595
|
outputRoot?: string;
|
|
7565
7596
|
metadata?: Record<string, unknown>;
|
|
7566
7597
|
}
|
|
7567
|
-
interface
|
|
7568
|
-
targetKind?:
|
|
7598
|
+
interface CreateBuildRunParams extends CreateAgentBuildPacketParams {
|
|
7599
|
+
targetKind?: RunTargetKind;
|
|
7569
7600
|
targetId?: string;
|
|
7570
7601
|
sandboxId?: string;
|
|
7571
7602
|
computerId?: string;
|
|
7603
|
+
runner?: string;
|
|
7572
7604
|
provider?: string;
|
|
7573
7605
|
model?: string;
|
|
7574
|
-
|
|
7606
|
+
instruction?: string;
|
|
7575
7607
|
cwd?: string;
|
|
7576
7608
|
timeout?: number;
|
|
7577
7609
|
wait?: boolean;
|
|
@@ -7580,7 +7612,7 @@ interface CreateBuildAgentRunParams extends CreateAgentBuildPacketParams {
|
|
|
7580
7612
|
externalWorkspaceId?: string;
|
|
7581
7613
|
externalUserId?: string;
|
|
7582
7614
|
externalProjectId?: string;
|
|
7583
|
-
approvalPolicy?:
|
|
7615
|
+
approvalPolicy?: RunCreateParams["approvalPolicy"];
|
|
7584
7616
|
capabilityRequirements?: string[];
|
|
7585
7617
|
}
|
|
7586
7618
|
declare const DEFAULT_AGENT_BUILD_PACKET_VERSION = "2026-06-19";
|
|
@@ -7588,15 +7620,15 @@ declare const DEFAULT_AGENT_BUILD_OUTPUT_ROOT = "/workspace/output";
|
|
|
7588
7620
|
declare const AGENT_BUILD_KIND_SPECS: Record<AgentBuildKind, AgentBuildKindSpec>;
|
|
7589
7621
|
declare function resolveAgentBuildKind(value: string | undefined, fallback?: AgentBuildKind): AgentBuildKind;
|
|
7590
7622
|
declare function getAgentBuildKindSpec(value: string | undefined): AgentBuildKindSpec;
|
|
7591
|
-
declare function
|
|
7592
|
-
|
|
7593
|
-
|
|
7594
|
-
|
|
7623
|
+
declare function createAgentBuildExpectedOutputs(buildKind: string | undefined, options?: {
|
|
7624
|
+
deliverableType?: string;
|
|
7625
|
+
files?: AgentBuildFileSpec[];
|
|
7626
|
+
expectedOutputs?: RunExpectedOutputs;
|
|
7595
7627
|
outputRoot?: string;
|
|
7596
|
-
}):
|
|
7628
|
+
}): RunExpectedOutputs;
|
|
7597
7629
|
declare function createAgentBuildExecutionPacket(params: CreateAgentBuildPacketParams): AgentBuildExecutionPacket;
|
|
7598
7630
|
declare function createAgentBuildPrompt(packet: AgentBuildExecutionPacket): string;
|
|
7599
|
-
declare function
|
|
7631
|
+
declare function createBuildRunParams(params: CreateBuildRunParams): RunCreateParams;
|
|
7600
7632
|
|
|
7601
7633
|
/**
|
|
7602
7634
|
* AppAuth — end-user authentication client for apps deployed on MIOSA.
|
|
@@ -7761,4 +7793,4 @@ declare class TokenRefreshFailedError extends MiosaError {
|
|
|
7761
7793
|
constructor(message: string, status?: number, details?: unknown, requestId?: string);
|
|
7762
7794
|
}
|
|
7763
7795
|
|
|
7764
|
-
export { AGENT_BUILD_KIND_SPECS, type AcceptOrgInviteResponse, type AcceptWorkspaceInviteResponse, type AddDomainParams, type AddWorkspaceMemberParams, Admin, type AgentBuildArtifactSpec, type AgentBuildExecutionPacket, type AgentBuildKind, type AgentBuildKindSpec, type AgentBuildPlannerDocument, type AgentDispatchParams, type AgentEvent$1 as AgentEvent, type AgentEventType, type AgentRun, type AgentRunCreateParams, type AgentRunEvent, type AgentRunGroup, type AgentRunGroupArtifact, type AgentRunGroupCounts, type AgentRunGroupCreateParams, type AgentRunGroupDispatchEntry, type AgentRunGroupDispatchResult, type AgentRunGroupEvent, type AgentRunGroupListParams, type AgentRunGroupStatus, type AgentRunGroupWaitOptions, AgentRunGroups, type AgentRunListParams, type AgentRunStatus, type AgentRunTargetKind, type AgentRunWaitOptions, AgentRuns, 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 CreateBuildAgentRunParams, 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 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 RuntimeCapabilities, RuntimeCapabilitiesResource, RuntimeEnv, type RuntimeEnvListParams, type RuntimeEnvScope, type RuntimeEnvSetParams, type RuntimeEnvTarget, type RuntimeEnvVar, type RuntimeInstanceData, type RuntimeInstanceId, type RuntimeInstanceState, type RuntimeLogsResult, SANDBOX_TEMPLATE, Sandbox, SandboxArtifacts, 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, createAgentBuildOutputContract, createAgentBuildPrompt, createBuildAgentRunParams, getAgentBuildKindSpec, resolveAgentBuildKind, verifySignature };
|
|
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 };
|