@miosa/sdk 1.2.28 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +532 -9
- package/dist/index.js +1292 -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). */
|
|
@@ -3586,6 +3897,7 @@ type DatabaseId = string & {
|
|
|
3586
3897
|
interface DatabaseData {
|
|
3587
3898
|
id: DatabaseId;
|
|
3588
3899
|
tenant_id: string;
|
|
3900
|
+
environment_id?: string | null;
|
|
3589
3901
|
name: string;
|
|
3590
3902
|
state?: string;
|
|
3591
3903
|
engine?: string;
|
|
@@ -3637,6 +3949,9 @@ interface DatabaseCreateParams {
|
|
|
3637
3949
|
/** @deprecated use cpu_count/memory_mb/storage_mb. */
|
|
3638
3950
|
size?: string;
|
|
3639
3951
|
region?: string;
|
|
3952
|
+
workspace_id?: string;
|
|
3953
|
+
project_id?: string;
|
|
3954
|
+
environment_id?: string;
|
|
3640
3955
|
idempotencyKey?: string;
|
|
3641
3956
|
idempotency_key?: string;
|
|
3642
3957
|
[key: string]: unknown;
|
|
@@ -3790,6 +4105,8 @@ interface DeploymentData {
|
|
|
3790
4105
|
id: DeploymentId;
|
|
3791
4106
|
tenant_id: string;
|
|
3792
4107
|
owner_id?: string;
|
|
4108
|
+
workspace_id?: string | null;
|
|
4109
|
+
project_id?: string | null;
|
|
3793
4110
|
name: string;
|
|
3794
4111
|
slug: string;
|
|
3795
4112
|
/**
|
|
@@ -3804,6 +4121,8 @@ interface DeploymentData {
|
|
|
3804
4121
|
runtime_image?: string | null;
|
|
3805
4122
|
current_build_id?: string | null;
|
|
3806
4123
|
active_version_id?: string | null;
|
|
4124
|
+
active_release_id?: string | null;
|
|
4125
|
+
running_artifact_sha256?: string | null;
|
|
3807
4126
|
source_type?: DeploymentSourceType;
|
|
3808
4127
|
state: DeploymentState;
|
|
3809
4128
|
auto_deploy?: boolean;
|
|
@@ -3813,7 +4132,10 @@ interface DeploymentData {
|
|
|
3813
4132
|
docker_deploy_host_id?: string | null;
|
|
3814
4133
|
docker_deploy_app?: {
|
|
3815
4134
|
id?: string | null;
|
|
4135
|
+
deployment_id?: string | null;
|
|
4136
|
+
deployment_version_id?: string | null;
|
|
3816
4137
|
docker_deploy_host_id?: string | null;
|
|
4138
|
+
name?: string | null;
|
|
3817
4139
|
app_id?: string | null;
|
|
3818
4140
|
container_id?: string | null;
|
|
3819
4141
|
status?: string | null;
|
|
@@ -3821,12 +4143,18 @@ interface DeploymentData {
|
|
|
3821
4143
|
runtime_port?: number | string | null;
|
|
3822
4144
|
public_url?: string | null;
|
|
3823
4145
|
last_health_status?: string | null;
|
|
4146
|
+
last_error?: string | null;
|
|
4147
|
+
last_seen_at?: string | null;
|
|
4148
|
+
deployed_at?: string | null;
|
|
4149
|
+
stopped_at?: string | null;
|
|
3824
4150
|
} | null;
|
|
3825
4151
|
metadata?: Record<string, unknown>;
|
|
3826
4152
|
external_workspace_id?: string | null;
|
|
3827
4153
|
external_user_id?: string | null;
|
|
3828
4154
|
external_project_id?: string | null;
|
|
3829
4155
|
public_url?: string | null;
|
|
4156
|
+
/** Backend-computed default hostname. Prefer public_url as the canonical URL. */
|
|
4157
|
+
auto_subdomain?: string | null;
|
|
3830
4158
|
created_at?: string;
|
|
3831
4159
|
updated_at?: string;
|
|
3832
4160
|
}
|
|
@@ -3840,6 +4168,8 @@ interface DeploymentVersionData {
|
|
|
3840
4168
|
id: DeploymentVersionId;
|
|
3841
4169
|
deployment_id: DeploymentId;
|
|
3842
4170
|
tenant_id: string;
|
|
4171
|
+
workspace_id?: string | null;
|
|
4172
|
+
project_id?: string | null;
|
|
3843
4173
|
created_by?: string | null;
|
|
3844
4174
|
source_sandbox_id?: string | null;
|
|
3845
4175
|
build_id?: string | null;
|
|
@@ -3863,6 +4193,16 @@ interface DeploymentVersionData {
|
|
|
3863
4193
|
created_at?: string;
|
|
3864
4194
|
updated_at?: string;
|
|
3865
4195
|
}
|
|
4196
|
+
interface MigrationBackupData {
|
|
4197
|
+
id: string;
|
|
4198
|
+
database_id: string;
|
|
4199
|
+
state: string;
|
|
4200
|
+
backup_type?: string;
|
|
4201
|
+
size_bytes?: number | null;
|
|
4202
|
+
started_at?: string | null;
|
|
4203
|
+
completed_at?: string | null;
|
|
4204
|
+
created_at?: string | null;
|
|
4205
|
+
}
|
|
3866
4206
|
interface DeploymentReleaseData {
|
|
3867
4207
|
id: DeploymentReleaseId;
|
|
3868
4208
|
deployment_id?: DeploymentId;
|
|
@@ -3870,6 +4210,8 @@ interface DeploymentReleaseData {
|
|
|
3870
4210
|
deployment_version_id: DeploymentVersionId;
|
|
3871
4211
|
service_id?: DeploymentServiceId | null;
|
|
3872
4212
|
tenant_id: string;
|
|
4213
|
+
workspace_id?: string | null;
|
|
4214
|
+
project_id?: string | null;
|
|
3873
4215
|
external_workspace_id?: string | null;
|
|
3874
4216
|
external_user_id?: string | null;
|
|
3875
4217
|
external_project_id?: string | null;
|
|
@@ -4132,6 +4474,10 @@ declare class DeploymentVersions {
|
|
|
4132
4474
|
environment?: string;
|
|
4133
4475
|
idempotencyKey?: string;
|
|
4134
4476
|
}): Promise<DeploymentData>;
|
|
4477
|
+
prepareMigrationBackup(versionId: string): Promise<{
|
|
4478
|
+
backup: MigrationBackupData;
|
|
4479
|
+
version: DeploymentVersionData;
|
|
4480
|
+
}>;
|
|
4135
4481
|
}
|
|
4136
4482
|
declare class DeploymentReleases {
|
|
4137
4483
|
private readonly http;
|
|
@@ -4139,6 +4485,7 @@ declare class DeploymentReleases {
|
|
|
4139
4485
|
constructor(http: HttpClient, deploymentId: string);
|
|
4140
4486
|
list(): Promise<DeploymentReleaseData[]>;
|
|
4141
4487
|
get(releaseId: string): Promise<DeploymentReleaseData>;
|
|
4488
|
+
promote(releaseId: string, idempotencyKey?: string): Promise<DeploymentData>;
|
|
4142
4489
|
}
|
|
4143
4490
|
declare class DeploymentRuntimeInstances {
|
|
4144
4491
|
private readonly http;
|
|
@@ -5770,11 +6117,20 @@ interface TemplateData {
|
|
|
5770
6117
|
slug?: string;
|
|
5771
6118
|
[key: string]: unknown;
|
|
5772
6119
|
}
|
|
6120
|
+
interface ComputeCatalogData {
|
|
6121
|
+
products?: Array<Record<string, unknown>>;
|
|
6122
|
+
regions?: Array<Record<string, unknown>>;
|
|
6123
|
+
sizes?: Array<Record<string, unknown>>;
|
|
6124
|
+
templates?: Array<Record<string, unknown>>;
|
|
6125
|
+
[key: string]: unknown;
|
|
6126
|
+
}
|
|
5773
6127
|
declare class Regions {
|
|
5774
6128
|
private readonly http;
|
|
5775
6129
|
constructor(http: HttpClient);
|
|
5776
6130
|
/** List datacenter regions. */
|
|
5777
6131
|
listRegions(): Promise<RegionData[]>;
|
|
6132
|
+
/** Get canonical compute catalog, including product templates and readiness. */
|
|
6133
|
+
catalog(): Promise<ComputeCatalogData>;
|
|
5778
6134
|
/** List available compute sizes. */
|
|
5779
6135
|
listSizes(): Promise<SizeData[]>;
|
|
5780
6136
|
/** Get static compute pricing data. */
|
|
@@ -5846,6 +6202,7 @@ declare class RuntimeCapabilitiesResource {
|
|
|
5846
6202
|
}
|
|
5847
6203
|
|
|
5848
6204
|
declare const SANDBOX_TEMPLATE = "miosa-sandbox";
|
|
6205
|
+
type SandboxSize = "xs" | "small" | "medium" | "large" | "xl";
|
|
5849
6206
|
type SandboxId = string & {
|
|
5850
6207
|
readonly __brand: "SandboxId";
|
|
5851
6208
|
};
|
|
@@ -5854,6 +6211,7 @@ interface SandboxCreateParams {
|
|
|
5854
6211
|
templateId?: string;
|
|
5855
6212
|
template_id?: string;
|
|
5856
6213
|
image?: string;
|
|
6214
|
+
size?: SandboxSize;
|
|
5857
6215
|
cpuCount?: number;
|
|
5858
6216
|
cpu_count?: number;
|
|
5859
6217
|
memoryMb?: number;
|
|
@@ -5890,6 +6248,13 @@ interface SandboxCreateParams {
|
|
|
5890
6248
|
};
|
|
5891
6249
|
alwaysOn?: boolean;
|
|
5892
6250
|
always_on?: boolean;
|
|
6251
|
+
/**
|
|
6252
|
+
* Opt in to the in-sandbox L3 token carrying the `provision` scope, so code
|
|
6253
|
+
* running inside the sandbox can call database/deployment create. Defaults
|
|
6254
|
+
* to false on the server when omitted.
|
|
6255
|
+
*/
|
|
6256
|
+
allowProvision?: boolean;
|
|
6257
|
+
allow_provision?: boolean;
|
|
5893
6258
|
env?: Record<string, string>;
|
|
5894
6259
|
metadata?: Record<string, unknown>;
|
|
5895
6260
|
services?: Array<Record<string, unknown>>;
|
|
@@ -6001,6 +6366,8 @@ interface SandboxExecRunner {
|
|
|
6001
6366
|
interface SandboxData {
|
|
6002
6367
|
id: SandboxId;
|
|
6003
6368
|
state: SandboxState;
|
|
6369
|
+
slug?: string;
|
|
6370
|
+
name?: string | null;
|
|
6004
6371
|
ready?: boolean;
|
|
6005
6372
|
template_id?: string;
|
|
6006
6373
|
image_id?: string | null;
|
|
@@ -6009,6 +6376,9 @@ interface SandboxData {
|
|
|
6009
6376
|
disk_mb?: number | null;
|
|
6010
6377
|
disk_size_mb?: number | null;
|
|
6011
6378
|
timeout_sec?: number | null;
|
|
6379
|
+
timeout_remaining_ms?: number | null;
|
|
6380
|
+
idle_timeout_sec?: number;
|
|
6381
|
+
always_on?: boolean;
|
|
6012
6382
|
persistent?: boolean;
|
|
6013
6383
|
boot_path?: string | null;
|
|
6014
6384
|
boot_ms?: number | null;
|
|
@@ -6024,6 +6394,38 @@ interface SandboxData {
|
|
|
6024
6394
|
started_at?: string | null;
|
|
6025
6395
|
destroyed_at?: string | null;
|
|
6026
6396
|
total_runtime_sec?: number | null;
|
|
6397
|
+
external_workspace_id?: string | null;
|
|
6398
|
+
external_user_id?: string | null;
|
|
6399
|
+
external_project_id?: string | null;
|
|
6400
|
+
}
|
|
6401
|
+
interface SandboxUsage {
|
|
6402
|
+
sandbox_id: string;
|
|
6403
|
+
state: string;
|
|
6404
|
+
runtime_sec: number;
|
|
6405
|
+
provisioned_vcpu_ms: number;
|
|
6406
|
+
active_cpu_ms: number | null;
|
|
6407
|
+
network_ingress_bytes: number | null;
|
|
6408
|
+
network_egress_bytes: number | null;
|
|
6409
|
+
measurement_status: {
|
|
6410
|
+
active_cpu: string;
|
|
6411
|
+
network: string;
|
|
6412
|
+
provisioned_resources: "measured";
|
|
6413
|
+
};
|
|
6414
|
+
estimated_cost_cents: number;
|
|
6415
|
+
timeout_sec: number;
|
|
6416
|
+
timeout_remaining_ms: number | null;
|
|
6417
|
+
}
|
|
6418
|
+
interface SandboxForkParams {
|
|
6419
|
+
timeoutSec?: number;
|
|
6420
|
+
timeout_sec?: number;
|
|
6421
|
+
templateId?: string;
|
|
6422
|
+
template_id?: string;
|
|
6423
|
+
idempotencyKey?: string;
|
|
6424
|
+
idempotency_key?: string;
|
|
6425
|
+
}
|
|
6426
|
+
interface SandboxLegacyForkParams extends SandboxForkParams {
|
|
6427
|
+
name?: string;
|
|
6428
|
+
metadata?: Record<string, unknown>;
|
|
6027
6429
|
}
|
|
6028
6430
|
type PreviewUrlClass = "temporary_preview" | "always_on_preview" | "stable_sandbox_embed" | "durable_deployment" | (string & {});
|
|
6029
6431
|
type PreviewUrlAction = "create_alias_or_publish" | "publish_when_ready" | "attach_custom_domain" | (string & {});
|
|
@@ -6214,6 +6616,7 @@ interface SandboxDeployParams {
|
|
|
6214
6616
|
idempotency_key?: string;
|
|
6215
6617
|
}
|
|
6216
6618
|
type SandboxRunOptions = Omit<RunCreateParams, "instruction" | "targetKind" | "targetId" | "sandboxId" | "computerId">;
|
|
6619
|
+
type SandboxPromptOptions = Omit<AgentRunCreateParams, "prompt" | "targetKind" | "targetId" | "sandboxId" | "computerId">;
|
|
6217
6620
|
declare class SandboxCommands {
|
|
6218
6621
|
private readonly sandbox;
|
|
6219
6622
|
constructor(sandbox: Sandbox);
|
|
@@ -6280,6 +6683,11 @@ declare class SandboxEvents {
|
|
|
6280
6683
|
/** Stream live sandbox events via SSE. */
|
|
6281
6684
|
stream(): AsyncIterableIterator<Record<string, unknown>>;
|
|
6282
6685
|
}
|
|
6686
|
+
declare class SandboxMetrics {
|
|
6687
|
+
private readonly sandbox;
|
|
6688
|
+
constructor(sandbox: Sandbox);
|
|
6689
|
+
get(window?: string): Promise<Record<string, unknown>>;
|
|
6690
|
+
}
|
|
6283
6691
|
declare class SandboxPreviews {
|
|
6284
6692
|
private readonly sandbox;
|
|
6285
6693
|
constructor(sandbox: Sandbox);
|
|
@@ -6333,6 +6741,8 @@ declare class Sandbox {
|
|
|
6333
6741
|
readonly terminal: SandboxTerminal;
|
|
6334
6742
|
/** SSE event stream. */
|
|
6335
6743
|
readonly events: SandboxEvents;
|
|
6744
|
+
/** Operational metrics and current resource state. */
|
|
6745
|
+
readonly metricsResource: SandboxMetrics;
|
|
6336
6746
|
/** Preview CRUD + share/revokeShare. */
|
|
6337
6747
|
readonly previews: SandboxPreviews;
|
|
6338
6748
|
/** Read-only env var listing. */
|
|
@@ -6360,6 +6770,10 @@ declare class Sandbox {
|
|
|
6360
6770
|
* Pass `{ runner: "codex", env: { CODEX_API_KEY } }` to run Codex.
|
|
6361
6771
|
*/
|
|
6362
6772
|
run(instruction: string, options?: SandboxRunOptions): Promise<Run>;
|
|
6773
|
+
/**
|
|
6774
|
+
* Dispatch a prompt into this Sandbox through the Agent Runs API.
|
|
6775
|
+
*/
|
|
6776
|
+
prompt(prompt: string, options?: SandboxPromptOptions): Promise<AgentRun>;
|
|
6363
6777
|
private runExec;
|
|
6364
6778
|
private execStream;
|
|
6365
6779
|
writeFile(path: string, content: string | Uint8Array): Promise<void>;
|
|
@@ -6372,11 +6786,15 @@ declare class Sandbox {
|
|
|
6372
6786
|
listFiles(path?: string): Promise<SandboxFileList>;
|
|
6373
6787
|
statFile(path: string): Promise<SandboxFileStat>;
|
|
6374
6788
|
expose(port?: number): Promise<string>;
|
|
6789
|
+
getUrl(port?: number, path?: string): Promise<string>;
|
|
6790
|
+
getHost(port?: number): Promise<string>;
|
|
6375
6791
|
exposeInfo(port?: number): Promise<PreviewUrlInfo>;
|
|
6376
6792
|
startTemplate(options?: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
6377
6793
|
getArtifacts(): Promise<Record<string, unknown>>;
|
|
6378
6794
|
getLogs(lines?: number): Promise<string | Record<string, unknown>>;
|
|
6379
6795
|
streamLogs(): AsyncIterableIterator<Record<string, unknown>>;
|
|
6796
|
+
metrics(window?: string): Promise<Record<string, unknown>>;
|
|
6797
|
+
getMetrics(window?: string): Promise<Record<string, unknown>>;
|
|
6380
6798
|
createSnapshot(comment?: string): Promise<SandboxSnapshot>;
|
|
6381
6799
|
listSnapshots(): Promise<SandboxSnapshot[]>;
|
|
6382
6800
|
restoreSnapshot(snapshotId: string): Promise<Sandbox>;
|
|
@@ -6385,10 +6803,11 @@ declare class Sandbox {
|
|
|
6385
6803
|
* Fork (clone) this sandbox into a new sandbox via copy-on-write snapshot.
|
|
6386
6804
|
* The original sandbox continues running unchanged.
|
|
6387
6805
|
*/
|
|
6388
|
-
fork(opts?:
|
|
6389
|
-
|
|
6390
|
-
|
|
6391
|
-
|
|
6806
|
+
fork(opts?: SandboxForkParams): Promise<Sandbox>;
|
|
6807
|
+
/** @deprecated Use forkLegacy() for private name/metadata fork fields. */
|
|
6808
|
+
fork(opts: SandboxLegacyForkParams): Promise<Sandbox>;
|
|
6809
|
+
/** Fork using private compatibility fields excluded from the public V1 contract. */
|
|
6810
|
+
forkLegacy(opts?: SandboxLegacyForkParams): Promise<Sandbox>;
|
|
6392
6811
|
/**
|
|
6393
6812
|
* PATCH /api/v1/sandboxes/{id} — update mutable sandbox fields.
|
|
6394
6813
|
*/
|
|
@@ -6419,7 +6838,8 @@ declare class Sandbox {
|
|
|
6419
6838
|
delete_evicted?: boolean;
|
|
6420
6839
|
};
|
|
6421
6840
|
}): Promise<Sandbox>;
|
|
6422
|
-
extend(timeoutSec
|
|
6841
|
+
extend(timeoutSec?: number): Promise<Sandbox>;
|
|
6842
|
+
usage(): Promise<SandboxUsage>;
|
|
6423
6843
|
/**
|
|
6424
6844
|
* POST /api/v1/sandboxes/{id}/preview-token → {token, url, expires_at, scope}
|
|
6425
6845
|
*/
|
|
@@ -6431,7 +6851,7 @@ declare class Sandbox {
|
|
|
6431
6851
|
[key: string]: unknown;
|
|
6432
6852
|
}>;
|
|
6433
6853
|
pause(): Promise<Sandbox>;
|
|
6434
|
-
resume(): Promise<Sandbox>;
|
|
6854
|
+
resume(idempotencyKey?: string): Promise<Sandbox>;
|
|
6435
6855
|
deploy(params?: SandboxDeployParams): Promise<Record<string, unknown>>;
|
|
6436
6856
|
deployDocker(params?: SandboxDeployParams): Promise<Record<string, unknown>>;
|
|
6437
6857
|
/** Check readiness of the sandbox (GET /sandboxes/:id/readiness). */
|
|
@@ -6483,6 +6903,14 @@ declare class Sandboxes {
|
|
|
6483
6903
|
create(params?: SandboxCreateParams): Promise<Sandbox>;
|
|
6484
6904
|
list(params?: SandboxListParams): Promise<Sandbox[]>;
|
|
6485
6905
|
get(id: SandboxId | string): Promise<Sandbox>;
|
|
6906
|
+
extend(id: SandboxId | string, timeoutSec?: number): Promise<Sandbox>;
|
|
6907
|
+
usage(id: SandboxId | string): Promise<SandboxUsage>;
|
|
6908
|
+
pause(id: SandboxId | string): Promise<Sandbox>;
|
|
6909
|
+
resume(id: SandboxId | string, idempotencyKey?: string): Promise<Sandbox>;
|
|
6910
|
+
fork(id: SandboxId | string, params?: SandboxForkParams): Promise<Sandbox>;
|
|
6911
|
+
/** @deprecated Use forkLegacy() for private name/metadata fork fields. */
|
|
6912
|
+
fork(id: SandboxId | string, params: SandboxLegacyForkParams): Promise<Sandbox>;
|
|
6913
|
+
forkLegacy(id: SandboxId | string, params?: SandboxLegacyForkParams): Promise<Sandbox>;
|
|
6486
6914
|
connect(id: SandboxId | string): Promise<Sandbox>;
|
|
6487
6915
|
getByName(name: string): Promise<Sandbox>;
|
|
6488
6916
|
/**
|
|
@@ -6835,6 +7263,67 @@ declare class OrgInvites {
|
|
|
6835
7263
|
accept(token: string): Promise<AcceptOrgInviteResponse>;
|
|
6836
7264
|
}
|
|
6837
7265
|
|
|
7266
|
+
type OrganizationRole = "owner" | "admin" | "member";
|
|
7267
|
+
interface OrganizationSummary {
|
|
7268
|
+
id: string;
|
|
7269
|
+
name: string;
|
|
7270
|
+
slug: string;
|
|
7271
|
+
role?: OrganizationRole;
|
|
7272
|
+
owner_user_id?: string | null;
|
|
7273
|
+
plan_id?: string | null;
|
|
7274
|
+
plan?: Record<string, unknown> | null;
|
|
7275
|
+
plan_name?: string | null;
|
|
7276
|
+
credit_balance?: number;
|
|
7277
|
+
settings?: Record<string, unknown>;
|
|
7278
|
+
branding?: Record<string, unknown> | null;
|
|
7279
|
+
inserted_at?: string;
|
|
7280
|
+
updated_at?: string;
|
|
7281
|
+
}
|
|
7282
|
+
interface OrganizationMember {
|
|
7283
|
+
id: string;
|
|
7284
|
+
tenant_id: string;
|
|
7285
|
+
user_id: string;
|
|
7286
|
+
role: OrganizationRole;
|
|
7287
|
+
status: "invited" | "active" | string;
|
|
7288
|
+
invited_at?: string | null;
|
|
7289
|
+
joined_at?: string | null;
|
|
7290
|
+
created_at?: string;
|
|
7291
|
+
user_name?: string | null;
|
|
7292
|
+
user_email?: string | null;
|
|
7293
|
+
user_avatar_url?: string | null;
|
|
7294
|
+
}
|
|
7295
|
+
interface OrganizationSwitchResult {
|
|
7296
|
+
tenant: OrganizationSummary;
|
|
7297
|
+
token: string;
|
|
7298
|
+
refresh_token: string;
|
|
7299
|
+
}
|
|
7300
|
+
interface OrganizationMemberList {
|
|
7301
|
+
members: OrganizationMember[];
|
|
7302
|
+
total: number;
|
|
7303
|
+
}
|
|
7304
|
+
interface OrganizationMemberRemoved {
|
|
7305
|
+
tenant_id: string;
|
|
7306
|
+
user_id: string;
|
|
7307
|
+
removed: boolean;
|
|
7308
|
+
}
|
|
7309
|
+
declare class OrganizationMembers {
|
|
7310
|
+
private readonly http;
|
|
7311
|
+
constructor(http: HttpClient);
|
|
7312
|
+
list(organizationId: string): Promise<OrganizationMemberList>;
|
|
7313
|
+
add(organizationId: string, userId: string, role?: OrganizationRole): Promise<OrganizationMember>;
|
|
7314
|
+
remove(organizationId: string, userId: string): Promise<OrganizationMemberRemoved>;
|
|
7315
|
+
}
|
|
7316
|
+
declare class Organizations {
|
|
7317
|
+
private readonly http;
|
|
7318
|
+
readonly members: OrganizationMembers;
|
|
7319
|
+
readonly invites: OrgInvites;
|
|
7320
|
+
constructor(http: HttpClient);
|
|
7321
|
+
list(): Promise<OrganizationSummary[]>;
|
|
7322
|
+
current(): Promise<OrganizationSummary>;
|
|
7323
|
+
/** Requires a user JWT. API keys are pinned to their organization. */
|
|
7324
|
+
switch(idOrSlug: string): Promise<OrganizationSwitchResult>;
|
|
7325
|
+
}
|
|
7326
|
+
|
|
6838
7327
|
/**
|
|
6839
7328
|
* Tenant — current tenant info and plan/usage.
|
|
6840
7329
|
*/
|
|
@@ -6981,6 +7470,7 @@ interface TemplatesListParams {
|
|
|
6981
7470
|
product?: ComputeProduct | string;
|
|
6982
7471
|
}
|
|
6983
7472
|
interface ProductTemplateCatalog {
|
|
7473
|
+
data?: ProductTemplate[];
|
|
6984
7474
|
templates: ProductTemplate[];
|
|
6985
7475
|
products?: ProductCatalogEntry[];
|
|
6986
7476
|
sizes?: Array<Record<string, unknown>>;
|
|
@@ -7074,6 +7564,26 @@ interface VolumeCreateParams {
|
|
|
7074
7564
|
idempotencyKey?: string;
|
|
7075
7565
|
[key: string]: unknown;
|
|
7076
7566
|
}
|
|
7567
|
+
interface VolumeAttachmentData {
|
|
7568
|
+
id: string;
|
|
7569
|
+
volume_id: string;
|
|
7570
|
+
computer_id: string;
|
|
7571
|
+
mount_path: string;
|
|
7572
|
+
read_only?: boolean;
|
|
7573
|
+
state?: string;
|
|
7574
|
+
created_at?: string;
|
|
7575
|
+
updated_at?: string;
|
|
7576
|
+
[key: string]: unknown;
|
|
7577
|
+
}
|
|
7578
|
+
interface VolumeAttachParams {
|
|
7579
|
+
volumeId?: string;
|
|
7580
|
+
volume_id?: string;
|
|
7581
|
+
mountPath?: string;
|
|
7582
|
+
mount_path?: string;
|
|
7583
|
+
readOnly?: boolean;
|
|
7584
|
+
read_only?: boolean;
|
|
7585
|
+
[key: string]: unknown;
|
|
7586
|
+
}
|
|
7077
7587
|
declare class Volumes {
|
|
7078
7588
|
private readonly http;
|
|
7079
7589
|
constructor(http: HttpClient);
|
|
@@ -7081,6 +7591,9 @@ declare class Volumes {
|
|
|
7081
7591
|
get(volumeId: string): Promise<VolumeData>;
|
|
7082
7592
|
create(params: VolumeCreateParams): Promise<VolumeData>;
|
|
7083
7593
|
delete(volumeId: string): Promise<void>;
|
|
7594
|
+
listAttachments(computerId: string): Promise<VolumeAttachmentData[]>;
|
|
7595
|
+
attach(computerId: string, params: VolumeAttachParams): Promise<VolumeAttachmentData>;
|
|
7596
|
+
detach(computerId: string, attachmentId: string): Promise<void>;
|
|
7084
7597
|
}
|
|
7085
7598
|
|
|
7086
7599
|
/**
|
|
@@ -7399,6 +7912,8 @@ declare class Miosa {
|
|
|
7399
7912
|
* Requires admin/owner role for write operations.
|
|
7400
7913
|
*/
|
|
7401
7914
|
readonly orgInvites: OrgInvites;
|
|
7915
|
+
/** Organizations available to the user session, membership, invites, and switching. */
|
|
7916
|
+
readonly organizations: Organizations;
|
|
7402
7917
|
/** Current tenant plan, limits, and live usage counters. */
|
|
7403
7918
|
readonly tenant: Tenant;
|
|
7404
7919
|
/** Datacenter regions, compute sizes, pricing, community templates. */
|
|
@@ -7431,6 +7946,10 @@ declare class Miosa {
|
|
|
7431
7946
|
readonly runs: Runs;
|
|
7432
7947
|
/** Run groups - durable multi-run orchestration groups. */
|
|
7433
7948
|
readonly runGroups: RunGroups;
|
|
7949
|
+
/** Agent runs - compatibility API for prompt dispatch. */
|
|
7950
|
+
readonly agentRuns: AgentRuns;
|
|
7951
|
+
/** Agent run groups - compatibility API for multi-agent orchestration. */
|
|
7952
|
+
readonly agentRunGroups: AgentRunGroups;
|
|
7434
7953
|
/** Agent runtime profiles — tenant/workspace defaults for sandbox/computer agents. */
|
|
7435
7954
|
readonly agentRuntimeProfiles: AgentRuntimeProfiles;
|
|
7436
7955
|
/** MIOSA Connect — provider connectors and runtime tokens. */
|
|
@@ -7729,13 +8248,17 @@ declare class AppAuth {
|
|
|
7729
8248
|
}
|
|
7730
8249
|
|
|
7731
8250
|
interface MiosaErrorBody {
|
|
7732
|
-
error?: {
|
|
8251
|
+
error?: string | {
|
|
7733
8252
|
code?: string;
|
|
7734
8253
|
message?: string;
|
|
7735
8254
|
details?: unknown;
|
|
7736
8255
|
};
|
|
7737
8256
|
message?: string;
|
|
7738
8257
|
code?: string;
|
|
8258
|
+
detail?: string;
|
|
8259
|
+
details?: unknown;
|
|
8260
|
+
reason?: string;
|
|
8261
|
+
request_id?: string;
|
|
7739
8262
|
}
|
|
7740
8263
|
declare class MiosaError extends Error {
|
|
7741
8264
|
readonly status: number;
|
|
@@ -7793,4 +8316,4 @@ declare class TokenRefreshFailedError extends MiosaError {
|
|
|
7793
8316
|
constructor(message: string, status?: number, details?: unknown, requestId?: string);
|
|
7794
8317
|
}
|
|
7795
8318
|
|
|
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 };
|
|
8319
|
+
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 };
|