@miosa/sdk 3.0.0 → 3.0.2
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 +0 -44
- package/dist/index.d.ts +87 -180
- package/dist/index.js +81 -203
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -244,25 +244,7 @@ const result = await sbx.exec.run("python /workspace/app.py");
|
|
|
244
244
|
for await (const event of sbx.exec.stream("tail -f /var/log/app.log")) {
|
|
245
245
|
if ("line" in event) console.log(event.line);
|
|
246
246
|
}
|
|
247
|
-
```
|
|
248
|
-
|
|
249
|
-
> **`sbx.exec.stream()` vs `computer.exec.stream()` - not the same thing.**
|
|
250
|
-
> They share a name and nothing else, by design:
|
|
251
|
-
>
|
|
252
|
-
> | | `sbx.exec.stream(command)` (Sandbox) | `computer.exec.stream({ command, tty })` (Computer) |
|
|
253
|
-
> |---|---|---|
|
|
254
|
-
> | Transport | SSE, one-way (server → client) | WebSocket, full duplex |
|
|
255
|
-
> | Purpose | Tail output from a batch command | Interactive shell/PTY session |
|
|
256
|
-
> | Input | Takes a fixed command string up front | `sendStdin()` any time after connecting; supports `tty`/`rows`/`cols` |
|
|
257
|
-
> | Event shape | `{ type: "stdout" \| "stderr" \| "exit", ... }` parsed from JSON lines | Raw `Uint8Array` frames over the wire protocol |
|
|
258
|
-
>
|
|
259
|
-
> Use the Sandbox one to watch a log or long-running batch job finish.
|
|
260
|
-
> Use the Computer one to drive an interactive terminal. They will not be
|
|
261
|
-
> merged into one API - a one-way log tail and a duplex PTY session need
|
|
262
|
-
> different guarantees (backpressure, input, framing) that a single shape
|
|
263
|
-
> would blur.
|
|
264
247
|
|
|
265
|
-
```ts
|
|
266
248
|
// Snapshots
|
|
267
249
|
const snap = await sbx.snapshots.create("pre-migration");
|
|
268
250
|
const restored = await sbx.snapshots.restore(snap.id);
|
|
@@ -445,32 +427,6 @@ const miosa = new Miosa({
|
|
|
445
427
|
});
|
|
446
428
|
```
|
|
447
429
|
|
|
448
|
-
### Two sandbox streams need the sandboxes base URL
|
|
449
|
-
|
|
450
|
-
The API serves two routers, selected by Host header. Two SSE routes exist
|
|
451
|
-
only on the `sandboxes.miosa.ai` router, so they return `404` against the
|
|
452
|
-
default `api.miosa.ai` base URL:
|
|
453
|
-
|
|
454
|
-
| Method | Route |
|
|
455
|
-
|---|---|
|
|
456
|
-
| `sbx.files.watch()` | `GET /sandboxes/{id}/files/watch` |
|
|
457
|
-
| `sbx.processes.stream(pid)` | `GET /sandboxes/{id}/processes/{pid}/stream` |
|
|
458
|
-
|
|
459
|
-
Both are implemented server-side; only the platform router is missing them.
|
|
460
|
-
Point the client at the sandboxes host to use them:
|
|
461
|
-
|
|
462
|
-
```ts
|
|
463
|
-
const miosa = new Miosa({
|
|
464
|
-
apiKey: process.env.MIOSA_API_KEY!,
|
|
465
|
-
baseUrl: "https://sandboxes.miosa.ai/api/v1",
|
|
466
|
-
});
|
|
467
|
-
```
|
|
468
|
-
|
|
469
|
-
The alternative is polling: `sbx.files.list()` / `stat()` instead of
|
|
470
|
-
`watch()`, and `sbx.processes.logs(pid)` instead of `stream(pid)`. Calling
|
|
471
|
-
either against the default base URL raises a `NotFoundError` that names this
|
|
472
|
-
gap rather than a bare `404`.
|
|
473
|
-
|
|
474
430
|
## Links
|
|
475
431
|
|
|
476
432
|
- [Full documentation](https://miosa.ai/docs/sdks/typescript)
|
package/dist/index.d.ts
CHANGED
|
@@ -13,6 +13,13 @@ interface RequestOptions {
|
|
|
13
13
|
/** Expected response is binary */
|
|
14
14
|
binary?: boolean;
|
|
15
15
|
}
|
|
16
|
+
/** One parsed Server-Sent Events frame: its `event:` name plus `data:` payload. */
|
|
17
|
+
interface SseFrame<T> {
|
|
18
|
+
/** The SSE `event:` name, or `null` when the frame carried no event field. */
|
|
19
|
+
event: string | null;
|
|
20
|
+
/** The parsed JSON payload from the frame's `data:` line(s). */
|
|
21
|
+
data: T;
|
|
22
|
+
}
|
|
16
23
|
interface HttpClientConfig {
|
|
17
24
|
baseUrl: string;
|
|
18
25
|
apiKey: string;
|
|
@@ -39,6 +46,14 @@ declare class HttpClient {
|
|
|
39
46
|
delete<T>(path: string, body?: unknown): Promise<T>;
|
|
40
47
|
getBinary(path: string): Promise<Uint8Array>;
|
|
41
48
|
postFormData<T>(path: string, formData: FormData): Promise<T>;
|
|
49
|
+
/**
|
|
50
|
+
* Open a Server-Sent Events stream and yield each frame's parsed `data:`
|
|
51
|
+
* payload together with its SSE `event:` name (when present). Most callers
|
|
52
|
+
* want {@link stream}; use this when the event name carries meaning — e.g. the
|
|
53
|
+
* sandbox exec stream tags frames as `stdout` / `stderr` / `exit`. The caller
|
|
54
|
+
* is responsible for breaking the loop.
|
|
55
|
+
*/
|
|
56
|
+
streamFrames<T>(path: string, options?: RequestOptions): AsyncIterableIterator<SseFrame<T>>;
|
|
42
57
|
/**
|
|
43
58
|
* Open a Server-Sent Events stream. Returns an AsyncIterableIterator of
|
|
44
59
|
* parsed event data objects. The caller is responsible for breaking the loop.
|
|
@@ -5687,120 +5702,44 @@ interface HostEvent {
|
|
|
5687
5702
|
data: unknown;
|
|
5688
5703
|
timestamp: string;
|
|
5689
5704
|
}
|
|
5690
|
-
|
|
5691
|
-
type JobState = "queued" | "running" | "succeeded" | "failed" | "timeout" | "canceled";
|
|
5692
|
-
/**
|
|
5693
|
-
* @deprecated Renamed to {@link JobState}: the field is `state`, not
|
|
5694
|
-
* `status`, and the old union carried two values (`completed`, `cancelled`)
|
|
5695
|
-
* that the server never emits. Kept as an alias so existing imports still
|
|
5696
|
-
* compile.
|
|
5697
|
-
*/
|
|
5698
|
-
type JobStatus = JobState;
|
|
5699
|
-
/**
|
|
5700
|
-
* A persisted exec job, as returned by
|
|
5701
|
-
* `GET /opencomputers/hosts/{id}/exec/{job_id}` (unwrapped from its `job`
|
|
5702
|
-
* envelope by {@link Jobs.get}).
|
|
5703
|
-
*/
|
|
5705
|
+
type JobStatus = "queued" | "running" | "completed" | "failed" | "cancelled";
|
|
5704
5706
|
interface JobData {
|
|
5705
5707
|
id: JobId;
|
|
5706
5708
|
host_id: HostId;
|
|
5707
|
-
|
|
5708
|
-
|
|
5709
|
+
status: JobStatus;
|
|
5710
|
+
command: string;
|
|
5709
5711
|
args: string[];
|
|
5712
|
+
env: string[];
|
|
5710
5713
|
cwd: string | null;
|
|
5711
|
-
timeout_ms: number;
|
|
5712
|
-
state: JobState;
|
|
5713
5714
|
exit_code: number | null;
|
|
5714
|
-
|
|
5715
|
-
|
|
5716
|
-
|
|
5715
|
+
stdout: string | null;
|
|
5716
|
+
stderr: string | null;
|
|
5717
|
+
created_at: string;
|
|
5718
|
+
updated_at: string;
|
|
5719
|
+
completed_at: string | null;
|
|
5717
5720
|
}
|
|
5718
|
-
/**
|
|
5719
|
-
* Body of `POST /opencomputers/hosts/{id}/exec`.
|
|
5720
|
-
*
|
|
5721
|
-
* `cmd`, not `command`: the controller reads `params["cmd"]` and 422s with
|
|
5722
|
-
* `{"error": "cmd is required"}` when it is missing. `timeout_ms`, not
|
|
5723
|
-
* `timeout`. `env` is a list of `{name, value}` maps, not `KEY=value`
|
|
5724
|
-
* strings - see `Secrets.Injector.merge_env/2`, which keys off `name`.
|
|
5725
|
-
*
|
|
5726
|
-
* The `stream` flag is deliberately absent: {@link Jobs.run} pins it false
|
|
5727
|
-
* (JSON response) and {@link Jobs.runStream} pins it true (SSE response),
|
|
5728
|
-
* because the response type depends on it.
|
|
5729
|
-
*/
|
|
5730
5721
|
interface JobRunParams {
|
|
5731
|
-
|
|
5722
|
+
command: string;
|
|
5732
5723
|
args?: string[];
|
|
5733
|
-
env?:
|
|
5734
|
-
name: string;
|
|
5735
|
-
value: string;
|
|
5736
|
-
}>;
|
|
5724
|
+
env?: string[];
|
|
5737
5725
|
cwd?: string;
|
|
5738
|
-
|
|
5739
|
-
}
|
|
5740
|
-
/**
|
|
5741
|
-
* Response of `POST /opencomputers/hosts/{id}/exec` with `stream: false` -
|
|
5742
|
-
* the buffered result of the whole command. This is an exec result, not a
|
|
5743
|
-
* job record: it has no state, no timing, and no id beyond `job_id`.
|
|
5744
|
-
*/
|
|
5745
|
-
interface JobExecResult {
|
|
5746
|
-
job_id: JobId;
|
|
5747
|
-
exit_code: number | null;
|
|
5748
|
-
stdout: string;
|
|
5749
|
-
stderr: string;
|
|
5750
|
-
}
|
|
5751
|
-
/**
|
|
5752
|
-
* One row of `GET /opencomputers/hosts/{id}/jobs`.
|
|
5753
|
-
*
|
|
5754
|
-
* This endpoint reads the audit log (`job.dispatched` / `job.done` /
|
|
5755
|
-
* `job.failed` events), not the jobs table, so a row is an event about a
|
|
5756
|
-
* job rather than the job itself. Multiple rows can share a `job_id`.
|
|
5757
|
-
*/
|
|
5758
|
-
interface JobAuditEvent {
|
|
5759
|
-
id: string;
|
|
5760
|
-
job_id: JobId | null;
|
|
5761
|
-
kind: string | null;
|
|
5762
|
-
status: "dispatched" | "done" | "failed" | "unknown";
|
|
5763
|
-
duration_ms: number | null;
|
|
5764
|
-
dispatched_at: string | null;
|
|
5765
|
-
completed_at: string | null;
|
|
5766
|
-
event_at: string;
|
|
5767
|
-
payload: Record<string, unknown>;
|
|
5726
|
+
timeout?: number;
|
|
5768
5727
|
}
|
|
5769
|
-
/** Response of `GET /opencomputers/hosts/{id}/jobs`. */
|
|
5770
5728
|
interface JobListResponse {
|
|
5771
|
-
|
|
5772
|
-
|
|
5773
|
-
|
|
5774
|
-
|
|
5775
|
-
|
|
5776
|
-
|
|
5777
|
-
type: "exec_chunk";
|
|
5778
|
-
/** Defaults to `stdout` server-side when the host omits it. */
|
|
5779
|
-
stream: "stdout" | "stderr";
|
|
5780
|
-
data: string | null;
|
|
5781
|
-
}
|
|
5782
|
-
/** Terminal event for a command that ran to completion. */
|
|
5783
|
-
interface JobResultEvent {
|
|
5784
|
-
type: "exec_result";
|
|
5785
|
-
exit_code: number | null;
|
|
5786
|
-
elapsed_ms: number | null;
|
|
5729
|
+
data: JobData[];
|
|
5730
|
+
meta: {
|
|
5731
|
+
total: number;
|
|
5732
|
+
page: number;
|
|
5733
|
+
per_page: number;
|
|
5734
|
+
};
|
|
5787
5735
|
}
|
|
5788
|
-
|
|
5789
|
-
interface
|
|
5790
|
-
type:
|
|
5791
|
-
|
|
5792
|
-
|
|
5793
|
-
|
|
5736
|
+
type JobEventType = "stdout" | "stderr" | "exit" | "error" | "started" | "done";
|
|
5737
|
+
interface JobEvent {
|
|
5738
|
+
type: JobEventType;
|
|
5739
|
+
job_id: JobId;
|
|
5740
|
+
data: string | number | null;
|
|
5741
|
+
timestamp: string;
|
|
5794
5742
|
}
|
|
5795
|
-
/**
|
|
5796
|
-
* An exec SSE event, discriminated on the SSE `event:` name.
|
|
5797
|
-
*
|
|
5798
|
-
* There is no `timestamp` and no per-event `job_id` (outside the timeout
|
|
5799
|
-
* case) because the server sends neither. Anything the client synthesised
|
|
5800
|
-
* to fill those in would be fabricated data that the compiler would then
|
|
5801
|
-
* force callers to trust.
|
|
5802
|
-
*/
|
|
5803
|
-
type JobEvent = JobChunkEvent | JobResultEvent | JobErrorEvent;
|
|
5804
5743
|
interface FsEntry {
|
|
5805
5744
|
name: string;
|
|
5806
5745
|
path: string;
|
|
@@ -6276,23 +6215,10 @@ declare class Hosts {
|
|
|
6276
6215
|
* Jobs resource — run commands on a remote OpenComputers host and stream output.
|
|
6277
6216
|
*
|
|
6278
6217
|
* ```ts
|
|
6279
|
-
*
|
|
6280
|
-
* const
|
|
6281
|
-
*
|
|
6282
|
-
*
|
|
6283
|
-
* // Streamed: same endpoint, live output.
|
|
6284
|
-
* for await (const event of client.openComputers.jobs.runStream(hostId, { cmd: "npm test" })) {
|
|
6285
|
-
* switch (event.type) {
|
|
6286
|
-
* case "exec_chunk":
|
|
6287
|
-
* process.stdout.write(event.data ?? "");
|
|
6288
|
-
* break;
|
|
6289
|
-
* case "exec_result":
|
|
6290
|
-
* console.log(`exit ${event.exit_code} in ${event.elapsed_ms}ms`);
|
|
6291
|
-
* break;
|
|
6292
|
-
* case "exec_error":
|
|
6293
|
-
* console.error(event.reason);
|
|
6294
|
-
* break;
|
|
6295
|
-
* }
|
|
6218
|
+
* const job = await client.openComputers.jobs.run(hostId, { command: "npm test" });
|
|
6219
|
+
* for await (const event of client.openComputers.jobs.stream(hostId, job.id)) {
|
|
6220
|
+
* process.stdout.write(String(event.data ?? ""));
|
|
6221
|
+
* if (event.type === "done") break;
|
|
6296
6222
|
* }
|
|
6297
6223
|
* ```
|
|
6298
6224
|
*/
|
|
@@ -6301,53 +6227,26 @@ declare class Jobs {
|
|
|
6301
6227
|
constructor(http: HttpClient);
|
|
6302
6228
|
private base;
|
|
6303
6229
|
/**
|
|
6304
|
-
*
|
|
6305
|
-
*
|
|
6306
|
-
* Sends `stream: false` so the server buffers output and answers with JSON.
|
|
6307
|
-
* `stream` defaults to *true* server-side, which answers with a chunked SSE
|
|
6308
|
-
* body instead - use {@link runStream} for that.
|
|
6309
|
-
*
|
|
6310
|
-
* Note this holds the connection open for the life of the command
|
|
6311
|
-
* (`timeout_ms`, 30 s default), because the server does not answer until
|
|
6312
|
-
* the command finishes.
|
|
6313
|
-
*/
|
|
6314
|
-
run(hostId: HostId | string, params: JobRunParams): Promise<JobExecResult>;
|
|
6315
|
-
/**
|
|
6316
|
-
* Run a command on the host and stream its output as it happens.
|
|
6317
|
-
*
|
|
6318
|
-
* Same endpoint as {@link run} with `stream: true`, which is the server's
|
|
6319
|
-
* default mode. Terminates with one `exec_result` or one `exec_error`.
|
|
6230
|
+
* Dispatch a command to run on the remote host.
|
|
6320
6231
|
*/
|
|
6321
|
-
|
|
6232
|
+
run(hostId: HostId | string, params: JobRunParams): Promise<JobData>;
|
|
6322
6233
|
/**
|
|
6323
|
-
* List
|
|
6324
|
-
*
|
|
6325
|
-
* Hits `/jobs`, not `/exec`: there is no `GET /opencomputers/hosts/{id}/exec`
|
|
6326
|
-
* route on the server, so the old path 404'd. The rows are audit-log events
|
|
6327
|
-
* about jobs (`job.dispatched` / `job.done` / `job.failed`), newest first,
|
|
6328
|
-
* not job records - see {@link JobAuditEvent}.
|
|
6329
|
-
*
|
|
6330
|
-
* @param limit Server caps this at 100 and defaults to 20.
|
|
6234
|
+
* List all jobs for a host.
|
|
6331
6235
|
*/
|
|
6332
|
-
list(hostId: HostId | string
|
|
6236
|
+
list(hostId: HostId | string): Promise<JobListResponse>;
|
|
6333
6237
|
/**
|
|
6334
6238
|
* Fetch the current state of a job.
|
|
6335
|
-
*
|
|
6336
|
-
* The server wraps the record in a `job` envelope; this unwraps it.
|
|
6337
6239
|
*/
|
|
6338
6240
|
get(hostId: HostId | string, jobId: JobId | string): Promise<JobData>;
|
|
6339
6241
|
/**
|
|
6340
|
-
*
|
|
6242
|
+
* Stream live output from a running job.
|
|
6341
6243
|
*
|
|
6342
|
-
*
|
|
6343
|
-
*
|
|
6344
|
-
* than replaying output - the server never stored it.
|
|
6244
|
+
* Yields `JobEvent` objects with `type` of `stdout`, `stderr`, `exit`, or
|
|
6245
|
+
* `done`. Break the loop when you receive `done` or `exit`.
|
|
6345
6246
|
*/
|
|
6346
6247
|
stream(hostId: HostId | string, jobId: JobId | string): AsyncIterableIterator<JobEvent>;
|
|
6347
6248
|
/**
|
|
6348
6249
|
* Cancel a running or queued job.
|
|
6349
|
-
*
|
|
6350
|
-
* Answers `204` on success and `409` when the job is already terminal.
|
|
6351
6250
|
*/
|
|
6352
6251
|
cancel(hostId: HostId | string, jobId: JobId | string): Promise<void>;
|
|
6353
6252
|
}
|
|
@@ -6541,14 +6440,13 @@ declare class OcWorkspaces {
|
|
|
6541
6440
|
* // Register a host — save host_key immediately, shown only once
|
|
6542
6441
|
* const host = await miosa.openComputers.hosts.create({ name: "my-mac" });
|
|
6543
6442
|
*
|
|
6544
|
-
* // Run a command
|
|
6545
|
-
* const
|
|
6546
|
-
* console.log(result.exit_code, result.stdout);
|
|
6443
|
+
* // Run a command
|
|
6444
|
+
* const job = await miosa.openComputers.jobs.run(host.id, { command: "npm test" });
|
|
6547
6445
|
*
|
|
6548
|
-
* //
|
|
6549
|
-
* for await (const event of miosa.openComputers.jobs.
|
|
6550
|
-
*
|
|
6551
|
-
* if (event.type === "
|
|
6446
|
+
* // Stream output
|
|
6447
|
+
* for await (const event of miosa.openComputers.jobs.stream(host.id, job.id)) {
|
|
6448
|
+
* process.stdout.write(String(event.data ?? ""));
|
|
6449
|
+
* if (event.type === "done") break;
|
|
6552
6450
|
* }
|
|
6553
6451
|
*
|
|
6554
6452
|
* // Expose a port
|
|
@@ -6980,17 +6878,29 @@ interface SandboxExportParams {
|
|
|
6980
6878
|
label?: string;
|
|
6981
6879
|
filename?: string;
|
|
6982
6880
|
}
|
|
6881
|
+
/**
|
|
6882
|
+
* A single frame from {@link SandboxExecRunner.stream}, normalized so callers
|
|
6883
|
+
* can always switch on `type` to separate stdout from stderr and detect the
|
|
6884
|
+
* terminal exit frame.
|
|
6885
|
+
*
|
|
6886
|
+
* The server tags each SSE frame with an `event:` name (`stdout` / `stderr` /
|
|
6887
|
+
* `exit`); the SDK maps that name onto `type`. For output frames `data` (and
|
|
6888
|
+
* its legacy alias `line`) carry the text chunk. The exit frame carries the
|
|
6889
|
+
* process exit code as both `exit_code` and its camelCase alias `exitCode`.
|
|
6890
|
+
*/
|
|
6983
6891
|
type SandboxExecEvent = {
|
|
6984
|
-
type
|
|
6892
|
+
type: "stdout";
|
|
6893
|
+
data: string;
|
|
6985
6894
|
line: string;
|
|
6986
6895
|
} | {
|
|
6987
|
-
type
|
|
6896
|
+
type: "stderr";
|
|
6897
|
+
data: string;
|
|
6988
6898
|
line: string;
|
|
6989
6899
|
} | {
|
|
6990
|
-
type
|
|
6900
|
+
type: "exit";
|
|
6991
6901
|
exit_code: number;
|
|
6992
|
-
exitCode
|
|
6993
|
-
}
|
|
6902
|
+
exitCode: number;
|
|
6903
|
+
};
|
|
6994
6904
|
interface SandboxExecRunner {
|
|
6995
6905
|
(command: string, options?: SandboxExecOptions): Promise<SandboxExecResult>;
|
|
6996
6906
|
run(command: string, options?: SandboxExecOptions): Promise<SandboxExecResult>;
|
|
@@ -7004,6 +6914,9 @@ interface SandboxData {
|
|
|
7004
6914
|
ready?: boolean;
|
|
7005
6915
|
template_id?: string;
|
|
7006
6916
|
image_id?: string | null;
|
|
6917
|
+
size?: SandboxSize | string | null;
|
|
6918
|
+
/** Resolved resource contract the control plane placed this sandbox on. */
|
|
6919
|
+
resource_contract?: SandboxResourceContract | null;
|
|
7007
6920
|
cpu_count?: number | null;
|
|
7008
6921
|
memory_mb?: number | null;
|
|
7009
6922
|
disk_mb?: number | null;
|
|
@@ -7064,6 +6977,15 @@ interface SandboxLegacyForkParams extends SandboxForkParams {
|
|
|
7064
6977
|
name?: string;
|
|
7065
6978
|
metadata?: Record<string, unknown>;
|
|
7066
6979
|
}
|
|
6980
|
+
interface SandboxResourceContract {
|
|
6981
|
+
id: string;
|
|
6982
|
+
version: string;
|
|
6983
|
+
product: string;
|
|
6984
|
+
size: SandboxSize | string;
|
|
6985
|
+
vcpus: number;
|
|
6986
|
+
memory_mb: number;
|
|
6987
|
+
disk_size_mb: number;
|
|
6988
|
+
}
|
|
7067
6989
|
type PreviewUrlClass = "temporary_preview" | "always_on_preview" | "stable_sandbox_embed" | "durable_deployment" | (string & {});
|
|
7068
6990
|
type PreviewUrlAction = "create_alias_or_publish" | "publish_when_ready" | "attach_custom_domain" | (string & {});
|
|
7069
6991
|
interface PreviewUrlInfo {
|
|
@@ -7274,22 +7196,7 @@ declare class SandboxFiles {
|
|
|
7274
7196
|
tree(path?: string, depth?: number): Promise<SandboxFileTreeNode>;
|
|
7275
7197
|
/** POST /api/v1/sandboxes/{id}/files/write-many — write multiple files atomically. */
|
|
7276
7198
|
writeMany(files: SandboxWriteManyEntry[]): Promise<SandboxWriteManyResult>;
|
|
7277
|
-
/**
|
|
7278
|
-
* GET /api/v1/sandboxes/{id}/files/watch (SSE) — live file change events.
|
|
7279
|
-
*
|
|
7280
|
-
* SANDBOXES-HOST ONLY. This route is declared in `Web.Router.Sandboxes`
|
|
7281
|
-
* and not in `Web.Router.Platform`, so it 404s against the SDK's default
|
|
7282
|
-
* `https://api.miosa.ai/api/v1` base URL. Construct the client with
|
|
7283
|
-
* `baseUrl: "https://sandboxes.miosa.ai/api/v1"` to reach it, or poll
|
|
7284
|
-
* {@link list}/{@link stat} instead. See `./sandbox-host-routes.ts`.
|
|
7285
|
-
*
|
|
7286
|
-
* The server opens with a handshake record (`event: connected` /
|
|
7287
|
-
* `data: {"sandbox_id":...}`) before any change events. That record is
|
|
7288
|
-
* not a file change, so it is dropped here rather than yielded as a
|
|
7289
|
-
* `SandboxFileChange` with `type: "connected"` and no `path`. Real change
|
|
7290
|
-
* records carry their own `type` (`created` | `modified` | `deleted`) in
|
|
7291
|
-
* the JSON body, so the SSE `event: file_change` name never overwrites it.
|
|
7292
|
-
*/
|
|
7199
|
+
/** GET /api/v1/sandboxes/{id}/files/watch (SSE) — live file change events. */
|
|
7293
7200
|
watch(): AsyncIterableIterator<SandboxFileChange>;
|
|
7294
7201
|
}
|
|
7295
7202
|
declare class SandboxPreview {
|
|
@@ -8919,4 +8826,4 @@ declare class AppAuth {
|
|
|
8919
8826
|
private _post;
|
|
8920
8827
|
}
|
|
8921
8828
|
|
|
8922
|
-
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 AgentDefinitionCreateParams, type AgentDefinitionData, type AgentDefinitionListParams, type AgentDefinitionUpdateParams, AgentDefinitions, 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 AgentVersionData, type AllowParams, Analytics, type AnalyticsFilters, type ApiKeyCreateParams, type ApiKeyCreateResult, type ApiKeyData, type ApiKeyId, type ApiKeyListParams, ApiKeys, type AppActionDecision, AppAuth, type AppAuthConfig, type AppAuthResourceType, type AppAuthSession, type AppAuthTokenPayload, type AppAutomationRun, type AppCatalogEntry, type AppCollectionRecord, type AppDocument, type AppDocumentCreateParams, type AppDocumentDiagnostics, type AppDocumentRecord, type AppDocumentUpdateParams, AppDocuments, type AppInstallData, type AppInstallEvent, type AppJson, type AppReleaseApproval, type AppReleaseCandidate, 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, Forge, ForgeContractError, type ForgeDeleteReceipt, type ForgeOrganizationId, ForgePolicyViolationError, ForgeRepositories, type ForgeRepository, type ForgeRepositoryCreateParams, type ForgeRepositoryDeleteOptions, type ForgeRepositoryId, type ForgeRepositoryState, type ForgeRepositoryUpdateParams, type ForgeRepositoryVisibility, ForgeStorageError, ForgeUnavailableError, 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 JobAuditEvent, type JobChunkEvent, type JobData, type JobErrorEvent, type JobEvent, type JobEventType, type JobExecResult, type JobId, type JobListResponse, type JobResultEvent, type JobRunParams, type JobState, 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 };
|
|
8829
|
+
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 AgentDefinitionCreateParams, type AgentDefinitionData, type AgentDefinitionListParams, type AgentDefinitionUpdateParams, AgentDefinitions, 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 AgentVersionData, type AllowParams, Analytics, type AnalyticsFilters, type ApiKeyCreateParams, type ApiKeyCreateResult, type ApiKeyData, type ApiKeyId, type ApiKeyListParams, ApiKeys, type AppActionDecision, AppAuth, type AppAuthConfig, type AppAuthResourceType, type AppAuthSession, type AppAuthTokenPayload, type AppAutomationRun, type AppCatalogEntry, type AppCollectionRecord, type AppDocument, type AppDocumentCreateParams, type AppDocumentDiagnostics, type AppDocumentRecord, type AppDocumentUpdateParams, AppDocuments, type AppInstallData, type AppInstallEvent, type AppJson, type AppReleaseApproval, type AppReleaseCandidate, 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, Forge, ForgeContractError, type ForgeDeleteReceipt, type ForgeOrganizationId, ForgePolicyViolationError, ForgeRepositories, type ForgeRepository, type ForgeRepositoryCreateParams, type ForgeRepositoryDeleteOptions, type ForgeRepositoryId, type ForgeRepositoryState, type ForgeRepositoryUpdateParams, type ForgeRepositoryVisibility, ForgeStorageError, ForgeUnavailableError, 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 };
|