@tangle-network/sandbox 0.8.2 → 0.8.3-develop.20260622201025.0dab271
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/agent/index.d.ts +2 -2
- package/dist/agent/index.js +1 -1
- package/dist/auth/index.js +1 -1
- package/dist/client-BhhCwPsq.js +1 -0
- package/dist/{client-DvX4jwlJ.d.ts → client-CZlq4ozL.d.ts} +1 -1
- package/dist/collaboration/index.js +1 -1
- package/dist/collaboration-BxlfZ2Uh.js +1 -1
- package/dist/core.d.ts +2 -2
- package/dist/core.js +1 -1
- package/dist/errors-DZsfJUuc.js +1 -1
- package/dist/{index-BmgmOX97.d.ts → index-D0W38yH0.d.ts} +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1 -1
- package/dist/intelligence/index.js +1 -1
- package/dist/openai/index.js +1 -1
- package/dist/{sandbox-CNcyBhPp.d.ts → sandbox-BaK5AyL2.d.ts} +237 -13
- package/dist/sandbox-DXqOgis5.js +1 -0
- package/dist/session-gateway/index.js +1 -1
- package/dist/tangle/index.d.ts +1 -1
- package/dist/tangle/index.js +1 -1
- package/dist/tangle-BbaSGCiA.js +1 -0
- package/package.json +2 -2
- package/dist/client-BzCVXf8q.js +0 -1
- package/dist/sandbox-DPOAZg0L.js +0 -1
- package/dist/tangle-B5FyUuxh.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AgentProfile, AgentProfileCapabilities, AgentProfileConfidential, AgentProfileFileMount, AgentProfileMcpServer, AgentProfileModelHints, AgentProfilePermissionValue, AgentProfilePrompt, AgentProfileResourceRef, AgentProfileResources, AgentProfileValidationIssue, AgentProfileValidationResult, AgentSubagentProfile, defineAgentProfile, defineGitHubResource, defineInlineResource, mergeAgentProfiles } from "@tangle-network/agent-interface";
|
|
1
|
+
import { AgentProfile, AgentProfileCapabilities, AgentProfileConfidential, AgentProfileConnection, AgentProfileFileMount, AgentProfileMcpServer, AgentProfileModelHints, AgentProfilePermissionValue, AgentProfilePrompt, AgentProfileResourceRef, AgentProfileResources, AgentProfileValidationIssue, AgentProfileValidationResult, AgentSubagentProfile, defineAgentProfile, defineGitHubResource, defineInlineResource, mergeAgentProfiles } from "@tangle-network/agent-interface";
|
|
2
2
|
|
|
3
3
|
//#region src/types.d.ts
|
|
4
4
|
type JsonValue = string | number | boolean | null | JsonValue[] | {
|
|
@@ -1597,6 +1597,11 @@ interface ScopedToken {
|
|
|
1597
1597
|
token: string;
|
|
1598
1598
|
/** When the token expires. */
|
|
1599
1599
|
expiresAt: Date;
|
|
1600
|
+
/** The runtime's direct edge URL. Matches `SandboxConnection.runtimeUrl`
|
|
1601
|
+
* (the SDK's canonical public name for this URL). */
|
|
1602
|
+
runtimeUrl: string;
|
|
1603
|
+
/** Browser-safe Sandbox API proxy base for terminal and runtime requests. */
|
|
1604
|
+
sidecarProxyUrl: string;
|
|
1600
1605
|
/** Echo of the requested scope. */
|
|
1601
1606
|
scope: ScopedTokenScope;
|
|
1602
1607
|
}
|
|
@@ -2343,6 +2348,7 @@ interface ForkResult {
|
|
|
2343
2348
|
* Most callers should omit `driver` and let the platform select automatically.
|
|
2344
2349
|
*/
|
|
2345
2350
|
type DriverType = "docker" | "firecracker" | "host-agent" | "tangle";
|
|
2351
|
+
type HostAgentRuntimeBackend = "docker" | "firecracker";
|
|
2346
2352
|
/**
|
|
2347
2353
|
* Accelerator class for GPU-class workloads.
|
|
2348
2354
|
*
|
|
@@ -2387,12 +2393,7 @@ interface SandboxAccelerator {
|
|
|
2387
2393
|
* }
|
|
2388
2394
|
* ```
|
|
2389
2395
|
*/
|
|
2390
|
-
interface
|
|
2391
|
-
/**
|
|
2392
|
-
* Driver type identifier.
|
|
2393
|
-
* @default "docker"
|
|
2394
|
-
*/
|
|
2395
|
-
type: DriverType;
|
|
2396
|
+
interface DriverConfigBase {
|
|
2396
2397
|
/**
|
|
2397
2398
|
* Enable checkpointing for pause/resume and fork operations.
|
|
2398
2399
|
* Support depends on the selected driver.
|
|
@@ -2416,6 +2417,28 @@ interface DriverConfig {
|
|
|
2416
2417
|
*/
|
|
2417
2418
|
gpuCount?: number;
|
|
2418
2419
|
}
|
|
2420
|
+
interface HostAgentDriverConfig extends DriverConfigBase {
|
|
2421
|
+
/**
|
|
2422
|
+
* Driver type identifier.
|
|
2423
|
+
*/
|
|
2424
|
+
type: "host-agent";
|
|
2425
|
+
/**
|
|
2426
|
+
* Host-agent runtime backend to request.
|
|
2427
|
+
*/
|
|
2428
|
+
runtimeBackend?: HostAgentRuntimeBackend;
|
|
2429
|
+
}
|
|
2430
|
+
interface NonHostAgentDriverConfig extends DriverConfigBase {
|
|
2431
|
+
/**
|
|
2432
|
+
* Driver type identifier.
|
|
2433
|
+
* @default "docker"
|
|
2434
|
+
*/
|
|
2435
|
+
type: Exclude<DriverType, "host-agent">;
|
|
2436
|
+
/**
|
|
2437
|
+
* Host-agent runtime backend is only valid for `type: "host-agent"`.
|
|
2438
|
+
*/
|
|
2439
|
+
runtimeBackend?: never;
|
|
2440
|
+
}
|
|
2441
|
+
type DriverConfig = HostAgentDriverConfig | NonHostAgentDriverConfig;
|
|
2419
2442
|
/**
|
|
2420
2443
|
* Driver capabilities and status.
|
|
2421
2444
|
*/
|
|
@@ -3647,6 +3670,21 @@ interface DeleteOptions {
|
|
|
3647
3670
|
* await box.fs.delete("/workspace/temp", { recursive: true });
|
|
3648
3671
|
* ```
|
|
3649
3672
|
*/
|
|
3673
|
+
/** One file in a {@link FileSystem.writeMany} batch. */
|
|
3674
|
+
interface WriteManyFile {
|
|
3675
|
+
/** Destination path. Relative paths resolve from the workspace root. */
|
|
3676
|
+
path: string;
|
|
3677
|
+
/** File content (UTF-8). */
|
|
3678
|
+
content: string;
|
|
3679
|
+
}
|
|
3680
|
+
/** Options for {@link FileSystem.writeMany}. */
|
|
3681
|
+
interface WriteManyOptions {
|
|
3682
|
+
/** Delay between writes (ms) to stay under the file-write rate limit.
|
|
3683
|
+
* Default 150; 0 disables pacing. */
|
|
3684
|
+
paceMs?: number;
|
|
3685
|
+
/** Max retries per file on a transient error before failing loud. Default 4. */
|
|
3686
|
+
maxRetries?: number;
|
|
3687
|
+
}
|
|
3650
3688
|
interface FileSystem {
|
|
3651
3689
|
/**
|
|
3652
3690
|
* Read a file's contents as a string.
|
|
@@ -3666,6 +3704,27 @@ interface FileSystem {
|
|
|
3666
3704
|
* @param content - Content to write
|
|
3667
3705
|
*/
|
|
3668
3706
|
write(path: string, content: string): Promise<void>;
|
|
3707
|
+
/**
|
|
3708
|
+
* Write many files in one paced, retry-aware batch.
|
|
3709
|
+
*
|
|
3710
|
+
* For materializing a large file corpus (skills, tool scripts, config) into
|
|
3711
|
+
* the sandbox without tripping the file-write rate limit. Each file goes
|
|
3712
|
+
* through the same `/files/write` endpoint as {@link FileSystem.write}, with a
|
|
3713
|
+
* small pace between writes and exponential-backoff retry on transient errors
|
|
3714
|
+
* (quota / server / network / timeout, honoring a server `retryAfterMs`).
|
|
3715
|
+
* Fail-loud: the first file that cannot be written after its retries throws,
|
|
3716
|
+
* and the rest are not attempted. Relative paths resolve from the workspace
|
|
3717
|
+
* root. (The file-write API cannot set the executable bit.)
|
|
3718
|
+
*
|
|
3719
|
+
* @example
|
|
3720
|
+
* ```typescript
|
|
3721
|
+
* await box.fs.writeMany([
|
|
3722
|
+
* { path: "skills/review.md", content: reviewSkill },
|
|
3723
|
+
* { path: ".claude/skills/audit.md", content: auditSkill },
|
|
3724
|
+
* ]);
|
|
3725
|
+
* ```
|
|
3726
|
+
*/
|
|
3727
|
+
writeMany(files: WriteManyFile[], options?: WriteManyOptions): Promise<void>;
|
|
3669
3728
|
/**
|
|
3670
3729
|
* Search for text patterns in files using ripgrep.
|
|
3671
3730
|
* @see SearchOptions for available options
|
|
@@ -4008,6 +4067,113 @@ declare function buildControlPlaneMcpConfig(options: BuildControlPlaneMcpConfigO
|
|
|
4008
4067
|
config: SandboxMcpConfig;
|
|
4009
4068
|
};
|
|
4010
4069
|
//#endregion
|
|
4070
|
+
//#region src/interactive.d.ts
|
|
4071
|
+
/**
|
|
4072
|
+
* Interactive harness sessions on the public SDK.
|
|
4073
|
+
*
|
|
4074
|
+
* `box.session(id).interactive()` returns a handle that spawns a coding
|
|
4075
|
+
* harness's native interactive TUI in the sandbox (start), drives it with
|
|
4076
|
+
* prompts (sendPrompt), and tears it down (stop). The live framebuffer is
|
|
4077
|
+
* streamed over the WebSocket at the returned `streamUrl` (the secured
|
|
4078
|
+
* `/terminals/:id/ws` pixel lane) — open it with your terminal/xterm client.
|
|
4079
|
+
*
|
|
4080
|
+
* This is the public SDK surface of the Session Protocol Gateway; it rides the
|
|
4081
|
+
* same secured runtime routes as the rest of the SDK.
|
|
4082
|
+
*/
|
|
4083
|
+
/** CLI auth file materialized into the harness's auth home before launch. */
|
|
4084
|
+
interface InteractiveAuthFile {
|
|
4085
|
+
path: string;
|
|
4086
|
+
content: string;
|
|
4087
|
+
mode?: number;
|
|
4088
|
+
}
|
|
4089
|
+
interface StartInteractiveOptions {
|
|
4090
|
+
/** Harness with a native interactive TUI: "claude-code" | "codex" | "kimi-code". */
|
|
4091
|
+
harness: string;
|
|
4092
|
+
model?: string;
|
|
4093
|
+
apiKey?: string;
|
|
4094
|
+
authMode?: string;
|
|
4095
|
+
baseUrl?: string;
|
|
4096
|
+
/** Working directory; defaults to the sandbox workspace root. */
|
|
4097
|
+
cwd?: string;
|
|
4098
|
+
cols?: number;
|
|
4099
|
+
rows?: number;
|
|
4100
|
+
authFiles?: InteractiveAuthFile[];
|
|
4101
|
+
}
|
|
4102
|
+
interface InteractiveSessionInfo {
|
|
4103
|
+
sessionId: string;
|
|
4104
|
+
harness: string;
|
|
4105
|
+
/** ISO timestamp of when the harness process was spawned. */
|
|
4106
|
+
startedAt: string;
|
|
4107
|
+
/**
|
|
4108
|
+
* Sandbox-relative WebSocket path that streams the live framebuffer and
|
|
4109
|
+
* accepts keystrokes (the mTLS- + capability-gated terminal socket).
|
|
4110
|
+
*/
|
|
4111
|
+
streamUrl: string;
|
|
4112
|
+
}
|
|
4113
|
+
/** Decision passed to `respondToPermission`. */
|
|
4114
|
+
interface RespondToPermissionOptions {
|
|
4115
|
+
/** The human's decision for the awaiting permission request. */
|
|
4116
|
+
response: "allow" | "deny";
|
|
4117
|
+
/**
|
|
4118
|
+
* Optional audit metadata recorded alongside the decision (e.g. the
|
|
4119
|
+
* reviewer's identity or a reason string). Opaque to the sandbox.
|
|
4120
|
+
*/
|
|
4121
|
+
metadata?: Record<string, unknown>;
|
|
4122
|
+
}
|
|
4123
|
+
/** Result of `respondToPermission`. Mirrors the sidecar route contract. */
|
|
4124
|
+
interface PermissionResponseResult {
|
|
4125
|
+
/** The decision was persisted for audit. Always true on success. */
|
|
4126
|
+
recorded: true;
|
|
4127
|
+
/**
|
|
4128
|
+
* True iff a live ACP `request_permission` was awaiting this decision and
|
|
4129
|
+
* it was forwarded to the running agent. `false` means record-only — the
|
|
4130
|
+
* request already resolved (e.g. timed out to the allowlist fallback) or
|
|
4131
|
+
* the backend does not surface live permission requests.
|
|
4132
|
+
*/
|
|
4133
|
+
forwarded: boolean;
|
|
4134
|
+
}
|
|
4135
|
+
/** Result of `interrupt`. */
|
|
4136
|
+
interface InterruptResult {
|
|
4137
|
+
/**
|
|
4138
|
+
* True iff an execution was actively running and the abort signal reached
|
|
4139
|
+
* it. `false` means there was nothing in flight to cancel — surfaced
|
|
4140
|
+
* explicitly rather than as a silent success so callers can distinguish a
|
|
4141
|
+
* real interruption from a no-op.
|
|
4142
|
+
*/
|
|
4143
|
+
cancelled: boolean;
|
|
4144
|
+
}
|
|
4145
|
+
/**
|
|
4146
|
+
* Host hooks the SDK box implements to drive interactive sessions. Kept
|
|
4147
|
+
* separate from the prompt/session-event host so the interactive surface is an
|
|
4148
|
+
* explicit, independently-mockable contract.
|
|
4149
|
+
*/
|
|
4150
|
+
interface InteractiveSessionHost {
|
|
4151
|
+
_startInteractive(id: string, options: StartInteractiveOptions): Promise<InteractiveSessionInfo>;
|
|
4152
|
+
_sendInteractivePrompt(id: string, prompt: string): Promise<void>;
|
|
4153
|
+
_stopInteractive(id: string): Promise<void>;
|
|
4154
|
+
}
|
|
4155
|
+
/**
|
|
4156
|
+
* Handle for one session's interactive harness. Obtained via
|
|
4157
|
+
* `box.session(id).interactive()`; does not hit the network until a method is
|
|
4158
|
+
* called.
|
|
4159
|
+
*/
|
|
4160
|
+
declare class InteractiveSessionHandle {
|
|
4161
|
+
private readonly host;
|
|
4162
|
+
private readonly sessionId;
|
|
4163
|
+
constructor(host: InteractiveSessionHost, sessionId: string);
|
|
4164
|
+
/**
|
|
4165
|
+
* Spawn the harness's interactive TUI for this session. Returns the
|
|
4166
|
+
* `streamUrl` to attach a terminal client to. Throws if the harness has no
|
|
4167
|
+
* interactive entrypoint (e.g. opencode), the binary is not installed, or a
|
|
4168
|
+
* session is already running for this id.
|
|
4169
|
+
*/
|
|
4170
|
+
start(options: StartInteractiveOptions): Promise<InteractiveSessionInfo>;
|
|
4171
|
+
/** Inject a prompt as keystrokes into the live harness (submitted on send). */
|
|
4172
|
+
sendPrompt(prompt: string): Promise<void>;
|
|
4173
|
+
/** Stop the interactive harness and reap its PTY. */
|
|
4174
|
+
stop(): Promise<void>;
|
|
4175
|
+
}
|
|
4176
|
+
//#endregion
|
|
4011
4177
|
//#region src/session.d.ts
|
|
4012
4178
|
/**
|
|
4013
4179
|
* The subset of `SandboxInstance` a `SandboxSession` drives. Declared here
|
|
@@ -4015,12 +4181,15 @@ declare function buildControlPlaneMcpConfig(options: BuildControlPlaneMcpConfigO
|
|
|
4015
4181
|
* of `sandbox.ts` — `sandbox.ts` constructs `SandboxSession`, so the reverse
|
|
4016
4182
|
* import would form a cycle. `SandboxInstance` satisfies this structurally.
|
|
4017
4183
|
*/
|
|
4018
|
-
interface SandboxSessionHost {
|
|
4184
|
+
interface SandboxSessionHost extends InteractiveSessionHost {
|
|
4019
4185
|
prompt(message: string | PromptInputPart[], options?: PromptOptions): Promise<PromptResult>;
|
|
4020
4186
|
_sessionStatus(id: string): Promise<SessionInfo | null>;
|
|
4021
4187
|
_sessionEvents(id: string, opts?: SessionEventStreamOptions): AsyncGenerator<SandboxEvent>;
|
|
4022
4188
|
_sessionResult(id: string): Promise<PromptResult>;
|
|
4023
4189
|
_sessionCancel(id: string): Promise<void>;
|
|
4190
|
+
_respondToPermission(id: string, permissionID: string, options: RespondToPermissionOptions): Promise<PermissionResponseResult>;
|
|
4191
|
+
_interrupt(id: string): Promise<InterruptResult>;
|
|
4192
|
+
_answerQuestion(id: string, answers: Record<string, string[]>): Promise<void>;
|
|
4024
4193
|
}
|
|
4025
4194
|
/**
|
|
4026
4195
|
* A single agent session inside a sandbox. Created via
|
|
@@ -4071,11 +4240,39 @@ declare class SandboxSession {
|
|
|
4071
4240
|
*/
|
|
4072
4241
|
prompt(message: string | PromptInputPart[], opts?: PromptOptions): Promise<PromptResult>;
|
|
4073
4242
|
/**
|
|
4074
|
-
*
|
|
4075
|
-
*
|
|
4076
|
-
*
|
|
4243
|
+
* Abort the session's in-flight execution; the session and its messages
|
|
4244
|
+
* are preserved (this does not delete the session). Void-returning alias
|
|
4245
|
+
* of `interrupt()` — use `interrupt()` when you need to know whether an
|
|
4246
|
+
* execution was actually running. Best-effort: an in-flight LLM call may
|
|
4247
|
+
* still complete one more token before the abort takes effect. Idempotent —
|
|
4248
|
+
* aborting a session with nothing in flight is a no-op.
|
|
4077
4249
|
*/
|
|
4078
4250
|
cancel(): Promise<void>;
|
|
4251
|
+
/**
|
|
4252
|
+
* Drive this session's harness in INTERACTIVE mode: spawn its native TUI,
|
|
4253
|
+
* stream the live framebuffer, and inject prompts as keystrokes. Distinct
|
|
4254
|
+
* from the headless `prompt()`/`events()` surface above. Lazy — does not hit
|
|
4255
|
+
* the network until a handle method is called.
|
|
4256
|
+
*/
|
|
4257
|
+
interactive(): InteractiveSessionHandle;
|
|
4258
|
+
/**
|
|
4259
|
+
* Resolve a pending permission request the agent raised mid-turn. Forwards
|
|
4260
|
+
* `allow`/`deny` to a live ACP `request_permission` if one is awaiting, and
|
|
4261
|
+
* always records the decision for audit. Returns `{ recorded, forwarded }`.
|
|
4262
|
+
*/
|
|
4263
|
+
respondToPermission(permissionID: string, options: RespondToPermissionOptions): Promise<PermissionResponseResult>;
|
|
4264
|
+
/**
|
|
4265
|
+
* Interrupt the session's current execution without deleting it. Returns
|
|
4266
|
+
* `{ cancelled: false }` when nothing was running — the no-op is reported
|
|
4267
|
+
* explicitly rather than masked as success.
|
|
4268
|
+
*/
|
|
4269
|
+
interrupt(): Promise<InterruptResult>;
|
|
4270
|
+
/**
|
|
4271
|
+
* Answer a question the agent asked via a question tool invocation. `answers`
|
|
4272
|
+
* maps each question id to the selected option(s). OpenCode-only; other
|
|
4273
|
+
* backends reject loudly.
|
|
4274
|
+
*/
|
|
4275
|
+
answer(answers: Record<string, string[]>): Promise<void>;
|
|
4079
4276
|
}
|
|
4080
4277
|
//#endregion
|
|
4081
4278
|
//#region src/trace-exporter.d.ts
|
|
@@ -4362,6 +4559,15 @@ declare class SandboxInstance {
|
|
|
4362
4559
|
* ```
|
|
4363
4560
|
*/
|
|
4364
4561
|
write(path: string, content: string): Promise<void>;
|
|
4562
|
+
/**
|
|
4563
|
+
* Write many files in one paced, retry-aware batch — see
|
|
4564
|
+
* {@link FileSystem.writeMany}. Each file goes through {@link write}; a small
|
|
4565
|
+
* pace between writes keeps a large corpus under the file-write rate limit,
|
|
4566
|
+
* and transient failures (quota / server / network / timeout) retry with
|
|
4567
|
+
* exponential backoff (honoring a server `retryAfterMs`). Fail-loud on the
|
|
4568
|
+
* first file that cannot be written after its retries.
|
|
4569
|
+
*/
|
|
4570
|
+
writeMany(files: WriteManyFile[], options?: WriteManyOptions): Promise<void>;
|
|
4365
4571
|
/**
|
|
4366
4572
|
* Send a prompt to the agent running in the sandbox.
|
|
4367
4573
|
* Returns the complete response after the agent finishes.
|
|
@@ -5106,8 +5312,26 @@ declare class SandboxInstance {
|
|
|
5106
5312
|
_sessionEvents(id: string, opts?: SessionEventStreamOptions): AsyncGenerator<SandboxEvent>;
|
|
5107
5313
|
/** @internal — invoked by SandboxSession.result(). */
|
|
5108
5314
|
_sessionResult(id: string): Promise<PromptResult>;
|
|
5109
|
-
/**
|
|
5315
|
+
/**
|
|
5316
|
+
* @internal — invoked by SandboxSession.cancel(). Void-returning alias of
|
|
5317
|
+
* `_interrupt`: both abort the in-flight execution via `POST /{id}/abort`
|
|
5318
|
+
* (the session and its messages are preserved). `cancel()` discards the
|
|
5319
|
+
* `cancelled` flag; callers that need to distinguish a real interruption
|
|
5320
|
+
* from a no-op should use `interrupt()`.
|
|
5321
|
+
*/
|
|
5110
5322
|
_sessionCancel(id: string): Promise<void>;
|
|
5323
|
+
/** @internal — invoked by InteractiveSessionHandle.start(). */
|
|
5324
|
+
_startInteractive(id: string, options: StartInteractiveOptions): Promise<InteractiveSessionInfo>;
|
|
5325
|
+
/** @internal — invoked by InteractiveSessionHandle.sendPrompt(). */
|
|
5326
|
+
_sendInteractivePrompt(id: string, prompt: string): Promise<void>;
|
|
5327
|
+
/** @internal — invoked by InteractiveSessionHandle.stop(). */
|
|
5328
|
+
_stopInteractive(id: string): Promise<void>;
|
|
5329
|
+
/** @internal — invoked by SandboxSession.respondToPermission(). */
|
|
5330
|
+
_respondToPermission(id: string, permissionID: string, options: RespondToPermissionOptions): Promise<PermissionResponseResult>;
|
|
5331
|
+
/** @internal — invoked by SandboxSession.interrupt(). */
|
|
5332
|
+
_interrupt(id: string): Promise<InterruptResult>;
|
|
5333
|
+
/** @internal — invoked by SandboxSession.answer(). */
|
|
5334
|
+
_answerQuestion(id: string, answers: Record<string, string[]>): Promise<void>;
|
|
5111
5335
|
}
|
|
5112
5336
|
//#endregion
|
|
5113
|
-
export {
|
|
5337
|
+
export { CreateRequestOptions as $, SandboxFleetToken as $n, AgentProfile as $r, MkdirOptions as $t, AddUserOptions as A, SSHCommandDescriptor as An, SnapshotInfo as Ar, ForkOptions as At, BatchResult as B, SandboxFleetDispatchResponse as Bn, TeeAttestationResponse as Br, HostAgentRuntimeBackend as Bt, SandboxMcpConfig as C, PublishPublicTemplateOptions as Cn, SecretInfo as Cr, FleetDispatchResultBufferOptions as Ct, buildSandboxMcpConfig as D, ReconcileSandboxFleetsOptions as Dn, SessionListOptions as Dr, FleetMachineId as Dt, buildControlPlaneMcpConfig as E, ReapExpiredSandboxFleetsResult as En, SessionInfo as Er, FleetExecDispatchResult as Et, BackendManager as F, SandboxEvent as Fn, SubscriptionInfo as Fr, GitConfig as Ft, CheckpointResult as G, SandboxFleetMachine as Gn, TurnDriveResult as Gr, IntelligenceReportSubjectType as Gt, BatchTaskResult as H, SandboxFleetDriverTimings as Hn, TeePublicKeyResponse as Hr, IntelligenceReport as Ht, BackendStatus as I, SandboxFleetArtifact as In, TaskOptions as Ir, GitDiff as It, CodeLanguage as J, SandboxFleetMachineSpec as Jn, UploadProgress as Jr, ListOptions as Jt, CodeExecutionOptions as K, SandboxFleetMachineMeteredUsage as Kn, UpdateUserOptions as Kr, IntelligenceReportWindow as Kt, BackendType as L, SandboxFleetArtifactSpec as Ln, TaskResult as Lr, GitStatus as Lt, BackendCapabilities as M, SandboxClientConfig as Mn, SnapshotResult as Mr, GitAuth as Mt, BackendConfig as N, SandboxConnection as Nn, SshKeysManager as Nr, GitBranch as Nt, AcceleratorKind as O, ReconcileSandboxFleetsResult as On, SessionMessage as Or, FleetPromptDispatchOptions as Ot, BackendInfo as P, SandboxEnvironment as Pn, StorageConfig as Pr, GitCommit as Pt, CreateIntelligenceReportOptions as Q, SandboxFleetPolicy as Qn, WriteManyOptions as Qr, MintScopedTokenOptions as Qt, BatchEvent as R, SandboxFleetCostEstimate as Rn, TeeAttestationOptions as Rr, GpuType as Rt, SANDBOX_MCP_SERVER_NAME as S, PublicTemplateVersionInfo as Sn, SearchOptions as Sr, FleetDispatchResultBuffer as St, SandboxMcpServerEntry as T, ReapExpiredSandboxFleetsOptions as Tn, SessionEventStreamOptions as Tr, FleetExecDispatchOptions as Tt, CheckpointInfo as U, SandboxFleetInfo as Un, TokenRefreshHandler as Ur, IntelligenceReportBudget as Ut, BatchTask as V, SandboxFleetDriverCapability as Vn, TeePublicKey as Vr, InstalledTool as Vt, CheckpointOptions as W, SandboxFleetIntelligenceEnvelope as Wn, ToolsConfig as Wr, IntelligenceReportCompareTo as Wt, CodeResultPart as X, SandboxFleetManifestMachine as Xn, WaitForOptions as Xr, ListSandboxOptions as Xt, CodeResult as Y, SandboxFleetManifest as Yn, UsageInfo as Yr, ListSandboxFleetOptions as Yt, CompletedTurnResult as Z, SandboxFleetOperationsSummary as Zn, WriteManyFile as Zr, McpServerConfig as Zt, RespondToPermissionOptions as _, ProvisionEvent as _n, SandboxTraceOptions as _r, ExecOptions as _t, TraceExportSink as a, AgentProfileModelHints as ai, PreviewLinkInfo as an, SandboxFleetWorkspace as ar, DirectoryPermission as at, BuildSandboxMcpConfigOptions as b, ProvisionStep as bn, ScopedTokenScope as br, FileSystem as bt, otelTraceIdForTangleTrace as c, AgentProfileResourceRef as ci, ProcessInfo as cn, SandboxFleetWorkspaceSnapshotResult as cr, DownloadOptions as ct, InteractiveAuthFile as d, AgentProfileValidationResult as di, ProcessSignal as dn, SandboxPermissionsConfig as dr, DriverConfig as dt, AgentProfileCapabilities as ei, NetworkConfig as en, SandboxFleetTraceBundle as er, CreateSandboxFleetOptions as et, InteractiveSessionHandle as f, AgentSubagentProfile as fi, ProcessSpawnOptions as fn, SandboxResources as fr, DriverInfo as ft, PermissionResponseResult as g, mergeAgentProfiles as gi, PromptResult as gn, SandboxTraceExport as gr, EventStreamOptions as gt, InterruptResult as h, defineInlineResource as hi, PromptOptions as hn, SandboxTraceEvent as hr, EgressPolicy as ht, TraceExportResult as i, AgentProfileMcpServer as ii, PermissionsManager as in, SandboxFleetUsage as ir, DeleteOptions as it, AttachSandboxFleetMachineOptions as j, SSHCredentials as jn, SnapshotOptions as jr, ForkResult as jt, AccessPolicyRule as k, RunCodeOptions as kn, SessionStatus as kr, FleetPromptDispatchResult as kt, toOtelJson as l, AgentProfileResources as li, ProcessLogEntry as ln, SandboxInfo as lr, DownloadProgress as lt, InteractiveSessionInfo as m, defineGitHubResource as mi, PromptInputPart as mn, SandboxTraceBundle as mr, EgressManager as mt, SandboxInstance as n, AgentProfileConnection as ni, NonHostAgentDriverConfig as nn, SandboxFleetTraceExport as nr, CreateSandboxFleetWithCoordinatorOptions as nt, buildTraceExportPayload as o, AgentProfilePermissionValue as oi, PreviewLinkManager as on, SandboxFleetWorkspaceReconcileResult as or, DispatchPromptOptions as ot, InteractiveSessionHost as p, defineAgentProfile as pi, ProcessStatus as pn, SandboxStatus as pr, DriverType as pt, CodeExecutionResult as q, SandboxFleetMachineRecord as qn, UploadOptions as qr, ListMessagesOptions as qt, TraceExportFormat as r, AgentProfileFileMount as ri, PermissionLevel as rn, SandboxFleetTraceOptions as rr, CreateSandboxOptions as rt, exportTraceBundle as s, AgentProfilePrompt as si, Process as sn, SandboxFleetWorkspaceRestoreResult as sr, DispatchedSession as st, HttpClient as t, AgentProfileConfidential as ti, NetworkManager as tn, SandboxFleetTraceEvent as tr, CreateSandboxFleetTokenOptions as tt, SandboxSession as u, AgentProfileValidationIssue as ui, ProcessManager as un, SandboxIntelligenceEnvelope as ur, DriveTurnOptions as ut, StartInteractiveOptions as v, ProvisionResult as vn, SandboxUser as vr, ExecResult as vt, SandboxMcpEndpoint as w, PublishPublicTemplateVersionOptions as wn, SecretsManager as wr, FleetDispatchStreamOptions as wt, CONTROL_PLANE_MCP_SERVER_NAME as x, PublicTemplateInfo as xn, SearchMatch as xr, FleetDispatchCancelResult as xt, BuildControlPlaneMcpConfigOptions as y, ProvisionStatus as yn, ScopedToken as yr, FileInfo as yt, BatchOptions as z, SandboxFleetDispatchFailureClass as zn, TeeAttestationReport as zr, HostAgentDriverConfig as zt };
|