@tangle-network/sandbox 0.9.4-develop.20260710231333.22d131b → 0.9.4-develop.20260711192548.3c9ec78

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.
@@ -1,5 +1,6 @@
1
- import { G as CodeExecutionResult, J as CodeResultPart, K as CodeLanguage, W as CodeExecutionOptions, n as SandboxInstance } from "../sandbox-BEkgXuYK.js";
2
- import { i as SandboxClient } from "../client-BlHX4Cf0.js";
1
+ import { D as CodeLanguage, E as CodeExecutionResult, T as CodeExecutionOptions, k as CodeResultPart } from "../types-Cmpv-ox_.js";
2
+ import { n as SandboxInstance } from "../sandbox-BhYmj7L3.js";
3
+ import { i as SandboxClient } from "../client-Cr39zlgv.js";
3
4
  import * as _$_modelcontextprotocol_sdk_server_index_js0 from "@modelcontextprotocol/sdk/server/index.js";
4
5
 
5
6
  //#region src/agent/tools/_specs.d.ts
@@ -1,2 +1,2 @@
1
- import { _ as ReadTokenPayload, a as issueCollaborationToken, c as issueSessionScopedToken, d as AnyTokenPayload, f as BatchScopedTokenPayload, g as ProjectScopedTokenPayload, h as IssueCollaborationTokenOptions, i as issueBatchScopedToken, l as unsafeDecodeToken, m as CollaborationTokenPayload, n as getTokenTTL, o as issueProjectScopedToken, p as CollaborationAccess, r as isTokenExpiringSoon, s as issueReadToken, t as ProductTokenIssuer, u as verifyToken, v as SessionScopedTokenPayload, y as TokenScope } from "../index-D-2pH_70.js";
1
+ import { _ as ReadTokenPayload, a as issueCollaborationToken, c as issueSessionScopedToken, d as AnyTokenPayload, f as BatchScopedTokenPayload, g as ProjectScopedTokenPayload, h as IssueCollaborationTokenOptions, i as issueBatchScopedToken, l as unsafeDecodeToken, m as CollaborationTokenPayload, n as getTokenTTL, o as issueProjectScopedToken, p as CollaborationAccess, r as isTokenExpiringSoon, s as issueReadToken, t as ProductTokenIssuer, u as verifyToken, v as SessionScopedTokenPayload, y as TokenScope } from "../index-CyHojkuA.js";
2
2
  export { AnyTokenPayload, BatchScopedTokenPayload, CollaborationAccess, CollaborationTokenPayload, IssueCollaborationTokenOptions, ProductTokenIssuer, ProjectScopedTokenPayload, ReadTokenPayload, SessionScopedTokenPayload, TokenScope, getTokenTTL, isTokenExpiringSoon, issueBatchScopedToken, issueCollaborationToken, issueProjectScopedToken, issueReadToken, issueSessionScopedToken, unsafeDecodeToken, verifyToken };
@@ -1,4 +1,5 @@
1
- import { $ as CreateSandboxFleetOptions, $n as SandboxFleetMachineRecord, An as PublishPublicTemplateVersionOptions, B as BatchResult, Bn as SandboxEnvironment, Br as SshKeysManager, Ct as FleetDispatchStreamOptions, Dn as PublicTemplateInfo, Dt as FleetPromptDispatchOptions, Et as FleetMachineId, Hn as SandboxFleetArtifact, Jt as IntelligenceReport, Kn as SandboxFleetDispatchResponse, Mn as ReapExpiredSandboxFleetsResult, Nn as ReconcileSandboxFleetsOptions, On as PublicTemplateVersionInfo, Ot as FleetPromptDispatchResult, Pn as ReconcileSandboxFleetsResult, Q as CreateRequestOptions, Qr as TokenRefreshHandler, Qt as IntelligenceReportWindow, R as BatchEvent, Rn as SandboxClientConfig, Sn as PromptResult, St as FleetDispatchResultBufferOptions, Tt as FleetExecDispatchResult, Un as SandboxFleetArtifactSpec, V as BatchTask, Wn as SandboxFleetCostEstimate, Wr as SubscriptionInfo, Xt as IntelligenceReportCompareTo, Yn as SandboxFleetInfo, Yt as IntelligenceReportBudget, Z as CreateIntelligenceReportOptions, _t as ExecResult, a as TraceExportSink, ar as SandboxFleetToken, bn as PromptInputPart, bt as FleetDispatchCancelResult, et as CreateSandboxFleetTokenOptions, fr as SandboxFleetWorkspaceReconcileResult, gt as ExecOptions, hr as SandboxInfo, i as TraceExportResult, ii as UsageInfo, j as AttachSandboxFleetMachineOptions, jn as ReapExpiredSandboxFleetsOptions, jr as SecretsManager, kn as PublishPublicTemplateOptions, lr as SandboxFleetTraceOptions, mr as SandboxFleetWorkspaceSnapshotResult, n as SandboxInstance, nn as ListSandboxOptions, nt as CreateSandboxOptions, or as SandboxFleetTraceBundle, pr as SandboxFleetWorkspaceRestoreResult, qn as SandboxFleetDriverCapability, rr as SandboxFleetOperationsSummary, t as HttpClient, tn as ListSandboxFleetOptions, tr as SandboxFleetManifest, tt as CreateSandboxFleetWithCoordinatorOptions, ur as SandboxFleetUsage, wt as FleetExecDispatchOptions, xn as PromptOptions, xt as FleetDispatchResultBuffer, z as BatchOptions } from "./sandbox-BEkgXuYK.js";
1
+ import { Bt as IntelligenceReport, Cn as PublishPublicTemplateVersionOptions, Dn as ReconcileSandboxFleetsResult, En as ReconcileSandboxFleetsOptions, F as CreateSandboxFleetOptions, Fn as SandboxEnvironment, Hn as SandboxFleetDriverCapability, Ht as IntelligenceReportCompareTo, I as CreateSandboxFleetTokenOptions, Ir as SecretsManager, Jn as SandboxFleetMachineRecord, Jt as ListSandboxFleetOptions, L as CreateSandboxFleetWithCoordinatorOptions, Ln as SandboxFleetArtifact, N as CreateIntelligenceReportOptions, Nn as SandboxClientConfig, P as CreateRequestOptions, Qn as SandboxFleetOperationsSummary, R as CreateSandboxOptions, Rn as SandboxFleetArtifactSpec, Sn as PublishPublicTemplateOptions, Tn as ReapExpiredSandboxFleetsResult, Vn as SandboxFleetDispatchResponse, Vt as IntelligenceReportBudget, Wn as SandboxFleetInfo, Wt as IntelligenceReportWindow, Xn as SandboxFleetManifest, Yt as ListSandboxOptions, Zr as SshKeysManager, _ as BatchResult, _t as FleetExecDispatchResult, a as AttachSandboxFleetMachineOptions, ar as SandboxFleetUsage, bi as UsageInfo, bn as PublicTemplateInfo, bt as FleetPromptDispatchResult, cr as SandboxFleetWorkspaceRestoreResult, er as SandboxFleetToken, et as ExecOptions, ft as FleetDispatchCancelResult, g as BatchOptions, gt as FleetExecDispatchOptions, hn as PromptResult, hr as SandboxProfileSummary, ht as FleetDispatchStreamOptions, ir as SandboxFleetTraceOptions, lr as SandboxFleetWorkspaceSnapshotResult, m as BatchEvent, mi as TokenRefreshHandler, mn as PromptOptions, mt as FleetDispatchResultBufferOptions, pn as PromptInputPart, pt as FleetDispatchResultBuffer, sr as SandboxFleetWorkspaceReconcileResult, ti as SubscriptionInfo, tr as SandboxFleetTraceBundle, tt as ExecResult, ur as SandboxInfo, v as BatchRunOptions, vt as FleetMachineId, wn as ReapExpiredSandboxFleetsOptions, x as BatchTask, xn as PublicTemplateVersionInfo, y as BatchRunRequest, yt as FleetPromptDispatchOptions, zn as SandboxFleetCostEstimate } from "./types-Cmpv-ox_.js";
2
+ import { a as TraceExportSink, i as TraceExportResult, n as SandboxInstance, t as HttpClient } from "./sandbox-BhYmj7L3.js";
2
3
 
3
4
  //#region src/lib/sse-parser.d.ts
4
5
  /**
@@ -185,6 +186,20 @@ declare class SandboxFleetClient {
185
186
  private listBySandboxMetadata;
186
187
  }
187
188
  //#endregion
189
+ //#region src/session-events.d.ts
190
+ /** Event delivered to a product session through the Sandbox session gateway. */
191
+ interface SessionBroadcastEvent {
192
+ type: string;
193
+ id?: string;
194
+ data?: unknown;
195
+ channel?: string;
196
+ }
197
+ /** Result returned after Sandbox accepts or rejects a session event. */
198
+ interface SessionBroadcastResult {
199
+ success: boolean;
200
+ sessionId: string;
201
+ }
202
+ //#endregion
188
203
  //#region src/client.d.ts
189
204
  /**
190
205
  * Client for the Tangle Sandbox platform.
@@ -254,6 +269,12 @@ declare class SandboxClient implements HttpClient {
254
269
  */
255
270
  get secrets(): SecretsManager;
256
271
  get sshKeys(): SshKeysManager;
272
+ /** List agent profiles registered by the Sandbox API. */
273
+ listProfiles(): Promise<SandboxProfileSummary[]>;
274
+ /** Deliver a server-originated event to a mapped product session. */
275
+ broadcastSessionEvent(sessionId: string, event: SessionBroadcastEvent): Promise<SessionBroadcastResult>;
276
+ /** Deliver a product payload through SessionGateway's `onAgentEvent`. */
277
+ broadcastSessionAgentEvent<T>(sessionId: string, event: T): Promise<SessionBroadcastResult>;
257
278
  private _environments;
258
279
  /**
259
280
  * Access available development environments.
@@ -435,6 +456,7 @@ declare class SandboxClient implements HttpClient {
435
456
  * console.log(`Success rate: ${result.successRate}%`);
436
457
  * ```
437
458
  */
459
+ runBatch(request: BatchRunRequest, options?: BatchRunOptions): Promise<BatchResult>;
438
460
  runBatch(tasks: BatchTask[], options?: BatchOptions): Promise<BatchResult>;
439
461
  /**
440
462
  * Stream events from a batch execution.
@@ -461,6 +483,7 @@ declare class SandboxClient implements HttpClient {
461
483
  * }
462
484
  * ```
463
485
  */
486
+ streamBatch(request: BatchRunRequest, options?: BatchRunOptions): AsyncGenerator<BatchEvent>;
464
487
  streamBatch(tasks: BatchTask[], options?: BatchOptions): AsyncGenerator<BatchEvent>;
465
488
  /**
466
489
  * Make an authenticated HTTP request to the API.
@@ -712,4 +735,4 @@ declare class TeamsClient {
712
735
  * Alias for SandboxClient for cleaner imports.
713
736
  */
714
737
  //#endregion
715
- export { Team as a, SandboxFleet as c, ParsedSSEEvent as d, parseSSEStream as f, SandboxClient as i, SandboxFleetClient as l, IntelligenceClient as n, TeamInvitation as o, InviteTeamMemberOptions as r, TeamMember as s, CreateTeamOptions as t, ParseSSEStreamOptions as u };
738
+ export { Team as a, SessionBroadcastEvent as c, SandboxFleetClient as d, ParseSSEStreamOptions as f, SandboxClient as i, SessionBroadcastResult as l, parseSSEStream as m, IntelligenceClient as n, TeamInvitation as o, ParsedSSEEvent as p, InviteTeamMemberOptions as r, TeamMember as s, CreateTeamOptions as t, SandboxFleet as u };
@@ -1,5 +1,5 @@
1
- import { c as normalizeConnection, h as parseSSEStream, n as normalizeStartupDiagnostics, p as encodePromptForWire, t as SandboxInstance, u as exportTraceBundle } from "./sandbox-BZ33qVxk.js";
2
1
  import { a as NotFoundError, d as TimeoutError, f as ValidationError, i as NetworkError, p as parseErrorResponse, t as AuthError } from "./errors-DSz87Rkk.js";
2
+ import { d as exportTraceBundle, g as parseSSEStream, l as normalizeConnection, m as encodePromptForWire, n as normalizeStartupDiagnostics, t as SandboxInstance } from "./sandbox-CxBHIBV1.js";
3
3
  //#region src/resources.ts
4
4
  /**
5
5
  * Compute tiers, ordered smallest → largest. Defined HERE (not imported from
@@ -946,6 +946,39 @@ function getMachineRole(info) {
946
946
  return value === "coordinator" || value === "worker" ? value : void 0;
947
947
  }
948
948
  //#endregion
949
+ //#region src/session-events.ts
950
+ async function broadcastSessionEvent(client, sessionId, event) {
951
+ if (!sessionId.trim()) throw new ValidationError("Session ID is required");
952
+ if (!event.type.trim()) throw new ValidationError("Session event type is required");
953
+ const response = await client.fetch(`/v1/session/${encodeURIComponent(sessionId)}/broadcast`, {
954
+ method: "POST",
955
+ body: JSON.stringify(event)
956
+ });
957
+ if (!response.ok) {
958
+ const body = await response.text();
959
+ throw parseErrorResponse(response.status, body, void 0, response.headers);
960
+ }
961
+ const result = await response.json();
962
+ return {
963
+ success: result.success,
964
+ sessionId: result.sessionId
965
+ };
966
+ }
967
+ /**
968
+ * Deliver a product event through SessionGateway's `onAgentEvent` callback.
969
+ *
970
+ * This derives the only wire envelope that SessionGateway clients dispatch as
971
+ * an agent event. Products should use this instead of assembling
972
+ * `type: "agent.event"` and `channel: "session:<id>"` themselves.
973
+ */
974
+ async function broadcastSessionAgentEvent(client, sessionId, event) {
975
+ return broadcastSessionEvent(client, sessionId, {
976
+ type: "agent.event",
977
+ channel: `session:${sessionId}`,
978
+ data: event
979
+ });
980
+ }
981
+ //#endregion
949
982
  //#region src/client.ts
950
983
  /**
951
984
  * Sandbox Client
@@ -1167,6 +1200,23 @@ var SandboxClient = class {
1167
1200
  if (!this._sshKeys) this._sshKeys = new SshKeysManagerImpl(this);
1168
1201
  return this._sshKeys;
1169
1202
  }
1203
+ /** List agent profiles registered by the Sandbox API. */
1204
+ async listProfiles() {
1205
+ const response = await this.fetch("/profiles");
1206
+ if (!response.ok) {
1207
+ const body = await response.text();
1208
+ throw parseErrorResponse(response.status, body, void 0, response.headers);
1209
+ }
1210
+ return (await response.json()).profiles ?? [];
1211
+ }
1212
+ /** Deliver a server-originated event to a mapped product session. */
1213
+ async broadcastSessionEvent(sessionId, event) {
1214
+ return broadcastSessionEvent(this, sessionId, event);
1215
+ }
1216
+ /** Deliver a product payload through SessionGateway's `onAgentEvent`. */
1217
+ async broadcastSessionAgentEvent(sessionId, event) {
1218
+ return broadcastSessionAgentEvent(this, sessionId, event);
1219
+ }
1170
1220
  _environments = null;
1171
1221
  /**
1172
1222
  * Access available development environments.
@@ -1489,39 +1539,12 @@ var SandboxClient = class {
1489
1539
  }
1490
1540
  return await response.json();
1491
1541
  }
1492
- /**
1493
- * Run multiple tasks in parallel across sandboxes.
1494
- * Returns the aggregated results after all tasks complete.
1495
- *
1496
- * @param tasks - Array of tasks to execute
1497
- * @param options - Batch execution options
1498
- * @returns Aggregated batch results
1499
- *
1500
- * @throws {@link TimeoutError} if the server hasn't begun responding
1501
- * before the deadline (pre-stream timeout).
1502
- * @throws {@link ValidationError} / {@link QuotaError} / other typed
1503
- * SDK errors if the server rejects the request before streaming.
1504
- * @throws `DOMException` with `name === "AbortError"` if
1505
- * `options.signal` fires OR the safety-valve deadline fires
1506
- * AFTER streaming has begun — parseSSEStream can't distinguish
1507
- * the source mid-stream. Callers that need to tell cancel from
1508
- * timeout should check `options.signal?.aborted` in their catch.
1509
- * @throws `Error` with the server message if the stream emits a
1510
- * `batch.failed` event.
1511
- *
1512
- * @example
1513
- * ```typescript
1514
- * const result = await client.runBatch([
1515
- * { id: "task-1", message: "Analyze this file" },
1516
- * { id: "task-2", message: "Generate a summary" },
1517
- * ]);
1518
- * console.log(`Success rate: ${result.successRate}%`);
1519
- * ```
1520
- */
1521
- async runBatch(tasks, options) {
1542
+ async runBatch(input, options) {
1543
+ const tasks = Array.isArray(input) ? input : input.tasks;
1522
1544
  const results = [];
1523
1545
  let totalRetries = 0;
1524
- for await (const event of this.streamBatch(tasks, options)) {
1546
+ const stream = Array.isArray(input) ? this.streamBatch(input, options) : this.streamBatch(input, options);
1547
+ for await (const event of stream) {
1525
1548
  if (event.type === "task.completed") {
1526
1549
  const data = event.data;
1527
1550
  const usageTotal = (data.usage?.inputTokens ?? 0) + (data.usage?.outputTokens ?? 0);
@@ -1531,7 +1554,12 @@ var SandboxClient = class {
1531
1554
  response: data.resultSummary ?? data.response,
1532
1555
  durationMs: data.durationMs ?? 0,
1533
1556
  retries: data.retries ?? 0,
1534
- tokensUsed: data.tokensUsed ?? (usageTotal > 0 ? usageTotal : void 0)
1557
+ tokensUsed: data.tokensUsed ?? (usageTotal > 0 ? usageTotal : void 0),
1558
+ backend: data.backend,
1559
+ backendLabel: data.backendLabel,
1560
+ backendModel: data.backendModel,
1561
+ sessionId: data.sessionId,
1562
+ sandboxId: data.sidecarId
1535
1563
  });
1536
1564
  totalRetries += data.retries ?? 0;
1537
1565
  }
@@ -1542,7 +1570,11 @@ var SandboxClient = class {
1542
1570
  success: false,
1543
1571
  error: data.error,
1544
1572
  durationMs: data.durationMs ?? 0,
1545
- retries: data.retries ?? 0
1573
+ retries: data.retries ?? 0,
1574
+ backend: data.backend,
1575
+ backendLabel: data.backendLabel,
1576
+ backendModel: data.backendModel,
1577
+ sandboxId: data.sidecarId
1546
1578
  });
1547
1579
  totalRetries += data.retries ?? 0;
1548
1580
  }
@@ -1558,51 +1590,36 @@ var SandboxClient = class {
1558
1590
  succeeded,
1559
1591
  failed,
1560
1592
  totalRetries,
1561
- successRate: tasks.length > 0 ? succeeded / tasks.length * 100 : 0,
1593
+ successRate: results.length > 0 ? succeeded / results.length * 100 : 0,
1562
1594
  results
1563
1595
  };
1564
1596
  }
1565
- /**
1566
- * Stream events from a batch execution.
1567
- * Use this for real-time progress updates during batch processing.
1568
- *
1569
- * @param tasks - Array of tasks to execute
1570
- * @param options - Batch execution options
1571
- *
1572
- * @throws {@link TimeoutError} if the server hasn't begun responding
1573
- * before the deadline (pre-stream timeout).
1574
- * @throws {@link ValidationError} / {@link QuotaError} / other typed
1575
- * SDK errors if the server rejects the request before streaming.
1576
- * @throws `DOMException` with `name === "AbortError"` if
1577
- * `options.signal` fires OR the safety-valve deadline fires
1578
- * AFTER streaming has begun. Distinguish via
1579
- * `options.signal?.aborted` in the consumer's catch.
1580
- *
1581
- * @example
1582
- * ```typescript
1583
- * for await (const event of client.streamBatch(tasks)) {
1584
- * if (event.type === "task.completed") {
1585
- * console.log(`Task ${event.data.taskId} completed`);
1586
- * }
1587
- * }
1588
- * ```
1589
- */
1590
- async *streamBatch(tasks, options) {
1597
+ async *streamBatch(input, options) {
1598
+ const { signal: legacySignal, ...legacyRequestOptions } = (Array.isArray(input) ? options : void 0) ?? {};
1599
+ const request = Array.isArray(input) ? {
1600
+ tasks: input,
1601
+ ...legacyRequestOptions
1602
+ } : input;
1603
+ const userSignal = Array.isArray(input) ? legacySignal : options?.signal;
1591
1604
  const url = `${this.baseUrl}/batch/run`;
1592
- const resolvedTimeoutMs = options?.timeoutMs ?? 3e5;
1605
+ const resolvedTimeoutMs = request.timeoutMs ?? 3e5;
1593
1606
  const requestBody = JSON.stringify({
1594
- tasks,
1595
- backend: options?.backend ? {
1596
- ...options.backend,
1597
- type: options.backend.type ?? "opencode"
1598
- } : { type: "opencode" },
1607
+ ...request,
1608
+ backend: request.backend ? {
1609
+ ...request.backend,
1610
+ type: request.backend.type ?? "opencode"
1611
+ } : request.backends ? void 0 : { type: "opencode" },
1612
+ backends: request.backends?.map((backend) => ({
1613
+ ...backend,
1614
+ type: backend.type ?? "opencode"
1615
+ })),
1599
1616
  timeoutMs: resolvedTimeoutMs,
1600
- scalingMode: options?.scalingMode ?? "balanced",
1601
- persistent: options?.persistent ?? false,
1602
- graceMs: options?.graceMs ?? 0
1617
+ scalingMode: request.scalingMode ?? "balanced",
1618
+ persistent: request.persistent ?? false,
1619
+ graceMs: request.graceMs ?? 0
1603
1620
  });
1604
1621
  const deadline = AbortSignal.timeout(resolvedTimeoutMs + CLIENT_DEADLINE_GRACE_MS);
1605
- const combinedSignal = options?.signal ? AbortSignal.any([options.signal, deadline]) : deadline;
1622
+ const combinedSignal = userSignal ? AbortSignal.any([userSignal, deadline]) : deadline;
1606
1623
  let response;
1607
1624
  try {
1608
1625
  response = await globalThis.fetch(url, {
@@ -1616,7 +1633,7 @@ var SandboxClient = class {
1616
1633
  signal: combinedSignal
1617
1634
  });
1618
1635
  } catch (err) {
1619
- if (options?.signal?.aborted) throw err instanceof Error && err.name === "AbortError" ? err : new DOMException("Batch aborted", "AbortError");
1636
+ if (userSignal?.aborted) throw err instanceof Error && err.name === "AbortError" ? err : new DOMException("Batch aborted", "AbortError");
1620
1637
  if (err instanceof Error && (err.name === "AbortError" || err.name === "TimeoutError")) throw new TimeoutError(resolvedTimeoutMs, "Batch request timed out before the first SSE event");
1621
1638
  throw new NetworkError(`Failed to connect to Sandbox API: ${err instanceof Error ? err.message : String(err)}`, err instanceof Error ? err : void 0, {
1622
1639
  endpoint: "/batch/run",
@@ -1627,7 +1644,7 @@ var SandboxClient = class {
1627
1644
  const errBody = await response.text();
1628
1645
  throw parseErrorResponse(response.status, errBody, void 0, response.headers);
1629
1646
  }
1630
- yield* parseSSEStream(response.body, { signal: combinedSignal });
1647
+ for await (const event of parseSSEStream(response.body, { signal: combinedSignal })) yield event;
1631
1648
  }
1632
1649
  /**
1633
1650
  * Make an authenticated HTTP request to the API.
@@ -1,2 +1,2 @@
1
- import { _ as CollaborationTransportConfig, a as CollaborationClient, c as CollaborationClientConfig, d as CollaborationDocumentRef, f as CollaborationFileBridgeOptions, g as CollaborationTokenRefreshResponse, h as CollaborationTokenRefreshRequest, i as parseCollaborationDocumentId, l as CollaborationDocumentAdapter, m as CollaborationPermissions, n as buildCollaborationDocumentId, o as CollaborationBootstrapRequest, p as CollaborationFileEvent, r as normalizeCollaborationPath, s as CollaborationBootstrapResponse, t as CollaborationFileBridge, u as CollaborationDocumentChange, v as SaveCollaborationSnapshotRequest, y as SaveCollaborationSnapshotResponse } from "../index-D7bwmNs8.js";
1
+ import { _ as CollaborationTransportConfig, a as CollaborationClient, c as CollaborationClientConfig, d as CollaborationDocumentRef, f as CollaborationFileBridgeOptions, g as CollaborationTokenRefreshResponse, h as CollaborationTokenRefreshRequest, i as parseCollaborationDocumentId, l as CollaborationDocumentAdapter, m as CollaborationPermissions, n as buildCollaborationDocumentId, o as CollaborationBootstrapRequest, p as CollaborationFileEvent, r as normalizeCollaborationPath, s as CollaborationBootstrapResponse, t as CollaborationFileBridge, u as CollaborationDocumentChange, v as SaveCollaborationSnapshotRequest, y as SaveCollaborationSnapshotResponse } from "../index-DKzapw-9.js";
2
2
  export { CollaborationBootstrapRequest, CollaborationBootstrapResponse, CollaborationClient, CollaborationClientConfig, CollaborationDocumentAdapter, CollaborationDocumentChange, CollaborationDocumentRef, CollaborationFileBridge, CollaborationFileBridgeOptions, CollaborationFileEvent, CollaborationPermissions, CollaborationTokenRefreshRequest, CollaborationTokenRefreshResponse, CollaborationTransportConfig, SaveCollaborationSnapshotRequest, SaveCollaborationSnapshotResponse, buildCollaborationDocumentId, normalizeCollaborationPath, parseCollaborationDocumentId };
@@ -1,2 +1,2 @@
1
- import { a as CollaborationClient, i as parseCollaborationDocumentId, n as buildCollaborationDocumentId, r as normalizeCollaborationPath, t as CollaborationFileBridge } from "../collaboration-D17lnOJX.js";
1
+ import { a as CollaborationClient, i as parseCollaborationDocumentId, n as buildCollaborationDocumentId, r as normalizeCollaborationPath, t as CollaborationFileBridge } from "../collaboration-QZXrXdIb.js";
2
2
  export { CollaborationClient, CollaborationFileBridge, buildCollaborationDocumentId, normalizeCollaborationPath, parseCollaborationDocumentId };
package/dist/core.d.ts CHANGED
@@ -1,4 +1,5 @@
1
- import { Rn as SandboxClientConfig, _t as ExecResult, br as SandboxStatus, dn as PreviewLinkInfo, fn as PreviewLinkManager, gt as ExecOptions, hr as SandboxInfo, n as SandboxInstance, nt as CreateSandboxOptions, on as NetworkConfig } from "./sandbox-BEkgXuYK.js";
2
- import { i as SandboxClient } from "./client-BlHX4Cf0.js";
3
- import { a as NotFoundError, c as SandboxError, d as ServerError, f as StateError, i as NetworkError, l as SandboxErrorJson, m as ValidationError, n as CapabilityError, o as PartialFailureError, p as TimeoutError, s as QuotaError, t as AuthError, u as SandboxFailureDetail } from "./errors-H9268M_g.js";
1
+ import { $t as NetworkConfig, Nn as SandboxClientConfig, R as CreateSandboxOptions, an as PreviewLinkManager, et as ExecOptions, in as PreviewLinkInfo, tt as ExecResult, ur as SandboxInfo, xr as SandboxStatus } from "./types-Cmpv-ox_.js";
2
+ import { n as SandboxInstance } from "./sandbox-BhYmj7L3.js";
3
+ import { i as SandboxClient } from "./client-Cr39zlgv.js";
4
+ import { a as NotFoundError, c as SandboxError, d as ServerError, f as StateError, i as NetworkError, l as SandboxErrorJson, m as ValidationError, n as CapabilityError, o as PartialFailureError, p as TimeoutError, s as QuotaError, t as AuthError, u as SandboxFailureDetail } from "./errors--P_nbLzM.js";
4
5
  export { AuthError, CapabilityError, type CreateSandboxOptions, type ExecOptions, type ExecResult, type NetworkConfig, NetworkError, NotFoundError, PartialFailureError, type PreviewLinkInfo, type PreviewLinkManager, QuotaError, SandboxClient as Sandbox, SandboxClient, type SandboxClientConfig, SandboxError, type SandboxErrorJson, type SandboxFailureDetail, type SandboxInfo, SandboxInstance, type SandboxStatus, ServerError, StateError, TimeoutError, ValidationError };
package/dist/core.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as SandboxInstance } from "./sandbox-BZ33qVxk.js";
2
1
  import { a as NotFoundError, c as SandboxError, d as TimeoutError, f as ValidationError, i as NetworkError, l as ServerError, n as CapabilityError, o as PartialFailureError, s as QuotaError, t as AuthError, u as StateError } from "./errors-DSz87Rkk.js";
3
- import { n as SandboxClient } from "./client-bSvcFAca.js";
2
+ import { t as SandboxInstance } from "./sandbox-CxBHIBV1.js";
3
+ import { n as SandboxClient } from "./client-Df1K1d_Q.js";
4
4
  export { AuthError, CapabilityError, NetworkError, NotFoundError, PartialFailureError, QuotaError, SandboxClient as Sandbox, SandboxClient, SandboxError, SandboxInstance, ServerError, StateError, TimeoutError, ValidationError };
@@ -1,4 +1,5 @@
1
- import { n as SandboxInstance, nt as CreateSandboxOptions, t as HttpClient } from "./sandbox-BEkgXuYK.js";
1
+ import { R as CreateSandboxOptions } from "./types-Cmpv-ox_.js";
2
+ import { n as SandboxInstance, t as HttpClient } from "./sandbox-BhYmj7L3.js";
2
3
 
3
4
  //#region src/tangle/abi.d.ts
4
5
  /**
package/dist/index.d.ts CHANGED
@@ -1,9 +1,10 @@
1
- import { $ as CreateSandboxFleetOptions, $n as SandboxFleetMachineRecord, $r as ToolsConfig, $t as ListMessagesOptions, A as AttachGpuLeaseOptions, An as PublishPublicTemplateVersionOptions, Ar as SecretInfo, At as GitAuth, B as BatchResult, Bn as SandboxEnvironment, Bt as GpuLeaseExecResult, C as SandboxMcpEndpoint, Ci as defineAgentProfile, Cn as ProvisionEvent, Cr as SandboxTraceExport, Ct as FleetDispatchStreamOptions, D as AcceleratorKind, Dn as PublicTemplateInfo, Dr as ScopedTokenScope, Dt as FleetPromptDispatchOptions, E as buildSandboxMcpConfig, Ei as mergeAgentProfiles, En as ProvisionStep, Er as ScopedToken, Et as FleetMachineId, F as BackendManager, Fn as RunCodeOptions, Fr as SessionMessage, Ft as GitStatus, Gn as SandboxFleetDispatchFailureClass, Gr as TaskOptions, Gt as HostAgentDriverConfig, H as BatchTaskResult, Hn as SandboxFleetArtifact, Hr as StartupOperation, Ht as GpuLeaseProviderName, I as BackendStatus, In as SSHCommandDescriptor, Ir as SessionStatus, It as GpuLease, Jn as SandboxFleetDriverTimings, Jr as TeeAttestationReport, Jt as IntelligenceReport, Kn as SandboxFleetDispatchResponse, Kr as TaskResult, Kt as HostAgentRuntimeBackend, L as BackendType, Ln as SSHCredentials, Lr as SnapshotInfo, Lt as GpuLeaseBilling, M as BackendCapabilities, Mn as ReapExpiredSandboxFleetsResult, Mr as SessionEventStreamOptions, Mt as GitCommit, N as BackendConfig, Nn as ReconcileSandboxFleetsOptions, Nr as SessionInfo, Nt as GitConfig, O as AccessPolicyRule, On as PublicTemplateVersionInfo, Or as SearchMatch, P as BackendInfo, Pn as ReconcileSandboxFleetsResult, Pr as SessionListOptions, Pt as GitDiff, Qn as SandboxFleetMachineMeteredUsage, Qr as TokenRefreshHandler, Qt as IntelligenceReportWindow, R as BatchEvent, Rn as SandboxClientConfig, Rr as SnapshotOptions, Rt as GpuLeaseCommandResult, S as SandboxMcpConfig, Si as AgentSubagentProfile, Sn as PromptResult, Sr as SandboxTraceEvent, St as FleetDispatchResultBufferOptions, T as buildControlPlaneMcpConfig, Ti as defineInlineResource, Tn as ProvisionStatus, Tr as SandboxUser, U as BranchOptions, Un as SandboxFleetArtifactSpec, Ur as StorageConfig, Ut as GpuLeaseStatus, V as BatchTask, Vn as SandboxEvent, Vr as StartupDiagnostics, Vt as GpuLeaseManager, Wn as SandboxFleetCostEstimate, Wr as SubscriptionInfo, Wt as GpuType, X as CreateGpuLeaseOptions, Xn as SandboxFleetIntelligenceEnvelope, Xr as TeePublicKey, Xt as IntelligenceReportCompareTo, Y as CompletedTurnResult, Yn as SandboxFleetInfo, Yr as TeeAttestationResponse, Yt as IntelligenceReportBudget, Z as CreateIntelligenceReportOptions, Zn as SandboxFleetMachine, Zr as TeePublicKeyResponse, Zt as IntelligenceReportSubjectType, _ as StartInteractiveOptions, _i as AgentProfilePrompt, _n as ProcessSignal, _r as SandboxPermissionsConfig, _t as ExecResult, a as TraceExportSink, ai as WaitForOptions, an as MkdirOptions, ar as SandboxFleetToken, at as DispatchPromptOptions, b as CONTROL_PLANE_MCP_SERVER_NAME, bi as AgentProfileValidationIssue, br as SandboxStatus, bt as FleetDispatchCancelResult, c as otelTraceIdForTangleTrace, ci as WriteManyOptions, cn as NonHostAgentDriverConfig, cr as SandboxFleetTraceExport, ct as DownloadProgress, d as InteractiveAuthFile, di as AgentProfileConfidential, dn as PreviewLinkInfo, dr as SandboxFleetWorkspace, dt as DriverInfo, ei as TurnDriveResult, en as ListOptions, er as SandboxFleetMachineSpec, f as InteractiveSessionHandle, fi as AgentProfileConnection, fn as PreviewLinkManager, fr as SandboxFleetWorkspaceReconcileResult, ft as DriverType, g as RespondToPermissionOptions, gi as AgentProfilePermissionValue, gn as ProcessManager, gr as SandboxIntelligenceEnvelope, gt as ExecOptions, h as InterruptResult, hi as AgentProfileModelHints, hn as ProcessLogEntry, hr as SandboxInfo, ht as EventStreamOptions, i as TraceExportResult, ii as UsageInfo, in as MintScopedTokenOptions, ir as SandboxFleetPolicy, it as DirectoryPermission, j as AttachSandboxFleetMachineOptions, jn as ReapExpiredSandboxFleetsOptions, jr as SecretsManager, jt as GitBranch, k as AddUserOptions, kn as PublishPublicTemplateOptions, kr as SearchOptions, kt as GPU_LEASE_PROVIDER_NAMES, l as toOtelJson, li as AgentProfile, ln as PermissionLevel, lr as SandboxFleetTraceOptions, lt as DriveTurnOptions, m as InteractiveSessionInfo, mi as AgentProfileMcpServer, mn as ProcessInfo, mr as SandboxFleetWorkspaceSnapshotResult, mt as EgressPolicy, n as SandboxInstance, ni as UploadOptions, nn as ListSandboxOptions, nr as SandboxFleetManifestMachine, nt as CreateSandboxOptions, o as buildTraceExportPayload, oi as WriteFileOptions, on as NetworkConfig, or as SandboxFleetTraceBundle, ot as DispatchedSession, p as InteractiveSessionHost, pi as AgentProfileFileMount, pn as Process, pr as SandboxFleetWorkspaceRestoreResult, pt as EgressManager, q as CodeResult, qn as SandboxFleetDriverCapability, qr as TeeAttestationOptions, qt as InstalledTool, r as TraceExportFormat, ri as UploadProgress, rn as McpServerConfig, rr as SandboxFleetOperationsSummary, rt as DeleteOptions, s as exportTraceBundle, si as WriteManyFile, sn as NetworkManager, sr as SandboxFleetTraceEvent, st as DownloadOptions, ti as UpdateUserOptions, tn as ListSandboxFleetOptions, tr as SandboxFleetManifest, tt as CreateSandboxFleetWithCoordinatorOptions, u as SandboxSession, ui as AgentProfileCapabilities, un as PermissionsManager, ur as SandboxFleetUsage, ut as DriverConfig, v as BuildControlPlaneMcpConfigOptions, vi as AgentProfileResourceRef, vn as ProcessSpawnOptions, vr as SandboxResourceUsage, vt as FileInfo, w as SandboxMcpServerEntry, wi as defineGitHubResource, wn as ProvisionResult, wr as SandboxTraceOptions, wt as FleetExecDispatchOptions, x as SANDBOX_MCP_SERVER_NAME, xi as AgentProfileValidationResult, xn as PromptOptions, xr as SandboxTraceBundle, xt as FleetDispatchResultBuffer, y as BuildSandboxMcpConfigOptions, yi as AgentProfileResources, yn as ProcessStatus, yr as SandboxResources, yt as FileSystem, z as BatchOptions, zn as SandboxConnection, zr as SnapshotResult, zt as GpuLeaseExecOptions } from "./sandbox-BEkgXuYK.js";
2
- import { a as Team, c as SandboxFleet, d as ParsedSSEEvent, f as parseSSEStream, i as SandboxClient, l as SandboxFleetClient, n as IntelligenceClient, o as TeamInvitation, r as InviteTeamMemberOptions, s as TeamMember, t as CreateTeamOptions, u as ParseSSEStreamOptions } from "./client-BlHX4Cf0.js";
3
- import { d as AnyTokenPayload, h as IssueCollaborationTokenOptions, m as CollaborationTokenPayload, p as CollaborationAccess } from "./index-D-2pH_70.js";
4
- import { _ as CollaborationTransportConfig, a as CollaborationClient, c as CollaborationClientConfig, d as CollaborationDocumentRef, f as CollaborationFileBridgeOptions, g as CollaborationTokenRefreshResponse, h as CollaborationTokenRefreshRequest, i as parseCollaborationDocumentId, l as CollaborationDocumentAdapter, m as CollaborationPermissions, n as buildCollaborationDocumentId, o as CollaborationBootstrapRequest, p as CollaborationFileEvent, r as normalizeCollaborationPath, s as CollaborationBootstrapResponse, t as CollaborationFileBridge, u as CollaborationDocumentChange, v as SaveCollaborationSnapshotRequest, y as SaveCollaborationSnapshotResponse } from "./index-D7bwmNs8.js";
5
- import { a as NotFoundError, c as SandboxError, d as ServerError, f as StateError, i as NetworkError, l as SandboxErrorJson, m as ValidationError, n as CapabilityError, o as PartialFailureError, p as TimeoutError, r as EgressProxyRecoveryError, s as QuotaError, t as AuthError, u as SandboxFailureDetail } from "./errors-H9268M_g.js";
6
- import { s as TangleSandboxClientConfig, t as TangleSandboxClient } from "./index-CuwpLz65.js";
1
+ import { $ as EventStreamOptions, $n as SandboxFleetPolicy, $r as StartupOperation, $t as NetworkConfig, A as CommitTaskSessionOptions, Ai as AgentProfileMcpServer, An as RunCodeOptions, Ar as SandboxUser, At as GpuLeaseCommandResult, B as CreateTaskSessionOptions, Bi as defineGitHubResource, Bn as SandboxFleetDispatchFailureClass, Br as SessionBackendCredentials, Bt as IntelligenceReport, C as BatchTaskUsage, Ci as WriteManyFile, Cn as PublishPublicTemplateVersionOptions, Cr as SandboxTerminalInfo, Ct as GitBranch, Di as AgentProfileConfidential, Dn as ReconcileSandboxFleetsResult, Dr as SandboxTraceEvent, Dt as GitStatus, Ei as AgentProfileCapabilities, En as ReconcileSandboxFleetsOptions, Er as SandboxTraceBundle, Et as GitDiff, F as CreateSandboxFleetOptions, Fi as AgentProfileResources, Fn as SandboxEnvironment, Fr as SecretInfo, Ft as GpuLeaseStatus, G as DownloadOptions, Gn as SandboxFleetIntelligenceEnvelope, Gr as SessionMessage, H as DirectoryPermission, Hi as mergeAgentProfiles, Hn as SandboxFleetDriverCapability, Hr as SessionForkOptions, Ht as IntelligenceReportCompareTo, Ii as AgentProfileValidationIssue, In as SandboxEvent, Ir as SecretsManager, It as GpuType, J as DriverConfig, Jn as SandboxFleetMachineRecord, Jr as SnapshotInfo, Jt as ListSandboxFleetOptions, K as DownloadProgress, Kn as SandboxFleetMachine, Kr as SessionMessageInputPart, Kt as ListMessagesOptions, L as CreateSandboxFleetWithCoordinatorOptions, Li as AgentProfileValidationResult, Ln as SandboxFleetArtifact, Lr as SendSessionMessageOptions, Lt as HostAgentDriverConfig, M as CreateGpuLeaseOptions, Mi as AgentProfilePermissionValue, Mn as SSHCredentials, Mr as ScopedTokenScope, Mt as GpuLeaseExecResult, N as CreateIntelligenceReportOptions, Ni as AgentProfilePrompt, Nn as SandboxClientConfig, Nr as SearchMatch, Nt as GpuLeaseManager, O as CodeResult, Oi as AgentProfileConnection, Or as SandboxTraceExport, Ot as GpuLease, Pi as AgentProfileResourceRef, Pn as SandboxConnection, Pr as SearchOptions, Pt as GpuLeaseProviderName, Q as EgressPolicy, Qn as SandboxFleetOperationsSummary, Qr as StartupDiagnostics, Qt as MkdirOptions, R as CreateSandboxOptions, Ri as AgentSubagentProfile, Rn as SandboxFleetArtifactSpec, Rr as SendSessionMessageRequest, Rt as HostAgentRuntimeBackend, S as BatchTaskResult, Si as WriteFileOptions, Sn as PublishPublicTemplateOptions, Sr as SandboxTerminalCreateOptions, St as GitAuth, Ti as AgentProfile, Tn as ReapExpiredSandboxFleetsResult, Tr as SandboxTerminalRequestOptions, Tt as GitConfig, U as DispatchPromptOptions, Un as SandboxFleetDriverTimings, Ur as SessionInfo, Ut as IntelligenceReportSubjectType, V as DeleteOptions, Vi as defineInlineResource, Vn as SandboxFleetDispatchResponse, Vr as SessionEventStreamOptions, Vt as IntelligenceReportBudget, W as DispatchedSession, Wn as SandboxFleetInfo, Wr as SessionListOptions, Wt as IntelligenceReportWindow, X as DriverType, Xn as SandboxFleetManifest, Xr as SnapshotResult, Xt as McpServerConfig, Y as DriverInfo, Yn as SandboxFleetMachineSpec, Yr as SnapshotOptions, Yt as ListSandboxOptions, Z as EgressManager, Zn as SandboxFleetManifestMachine, Zt as MintScopedTokenOptions, _ as BatchResult, _i as UpdateUserOptions, _n as ProvisionResult, _r as SandboxResources, a as AttachSandboxFleetMachineOptions, ai as TaskSessionCommitResult, an as PreviewLinkManager, ar as SandboxFleetUsage, at as FileReadError, b as BatchSidecarGroup, bi as UsageInfo, bn as PublicTemplateInfo, br as SandboxRuntimeProfileList, c as BackendInfo, ci as TaskSessionProfile, cn as ProcessLogEntry, cr as SandboxFleetWorkspaceRestoreResult, ct as FileTreeFile, d as BackendType, di as TeeAttestationResponse, dn as ProcessSpawnOptions, dr as SandboxIntelligenceEnvelope, dt as FileWriteResult, ei as StorageConfig, en as NetworkManager, er as SandboxFleetToken, et as ExecOptions, f as BatchBackend, fi as TeePublicKey, fn as ProcessStatus, fr as SandboxPermissionsConfig, ft as FleetDispatchCancelResult, g as BatchOptions, gi as TurnDriveResult, gn as ProvisionEvent, gr as SandboxResourceUsage, gt as FleetExecDispatchOptions, h as BatchEventDataMap, hi as ToolsConfig, hn as PromptResult, hr as SandboxProfileSummary, ht as FleetDispatchStreamOptions, i as AttachGpuLeaseOptions, ii as TaskSessionChanges, in as PreviewLinkInfo, ir as SandboxFleetTraceOptions, it as FileReadBatchResult, j as CompletedTurnResult, ji as AgentProfileModelHints, jn as SSHCommandDescriptor, jr as ScopedToken, jt as GpuLeaseExecOptions, ki as AgentProfileFileMount, kr as SandboxTraceOptions, kt as GpuLeaseBilling, l as BackendManager, li as TeeAttestationOptions, ln as ProcessManager, lr as SandboxFleetWorkspaceSnapshotResult, lt as FileTreeOptions, m as BatchEvent, mi as TokenRefreshHandler, mn as PromptOptions, mr as SandboxPortPreviewLink, mt as FleetDispatchResultBufferOptions, n as AccessPolicyRule, ni as TaskOptions, nn as PermissionLevel, nr as SandboxFleetTraceEvent, nt as FileInfo, o as BackendCapabilities, oi as TaskSessionFileChange, on as Process, or as SandboxFleetWorkspace, ot as FileReadResult, p as BatchBackendStats, pi as TeePublicKeyResponse, pr as SandboxPortBinding, pt as FleetDispatchResultBuffer, q as DriveTurnOptions, qn as SandboxFleetMachineMeteredUsage, qr as SessionStatus, qt as ListOptions, r as AddUserOptions, ri as TaskResult, rn as PermissionsManager, rr as SandboxFleetTraceExport, rt as FileReadBatchOptions, s as BackendConfig, si as TaskSessionInfo, sn as ProcessInfo, sr as SandboxFleetWorkspaceReconcileResult, st as FileSystem, t as AcceleratorKind, ti as SubscriptionInfo, tn as NonHostAgentDriverConfig, tr as SandboxFleetTraceBundle, tt as ExecResult, u as BackendStatus, ui as TeeAttestationReport, un as ProcessSignal, ur as SandboxInfo, ut as FileTreeResult, v as BatchRunOptions, vi as UploadOptions, vn as ProvisionStatus, vr as SandboxRuntimeHealth, vt as FleetMachineId, w as BranchOptions, wi as WriteManyOptions, wn as ReapExpiredSandboxFleetsOptions, wr as SandboxTerminalManager, wt as GitCommit, x as BatchTask, xi as WaitForOptions, xn as PublicTemplateVersionInfo, xr as SandboxStatus, xt as GPU_LEASE_PROVIDER_NAMES, y as BatchRunRequest, yi as UploadProgress, yn as ProvisionStep, yr as SandboxRuntimeProfile, yt as FleetPromptDispatchOptions, z as CreateSessionOptions, zi as defineAgentProfile, zn as SandboxFleetCostEstimate, zr as SentSessionMessage, zt as InstalledTool } from "./types-Cmpv-ox_.js";
2
+ import { C as SandboxMcpConfig, D as buildSandboxMcpConfig, E as buildControlPlaneMcpConfig, S as SANDBOX_MCP_SERVER_NAME, T as SandboxMcpServerEntry, _ as RespondToPermissionOptions, a as TraceExportSink, b as BuildSandboxMcpConfigOptions, c as otelTraceIdForTangleTrace, d as SandboxSession, f as InteractiveAuthFile, g as InterruptResult, h as InteractiveSessionInfo, i as TraceExportResult, l as toOtelJson, m as InteractiveSessionHost, n as SandboxInstance, o as buildTraceExportPayload, p as InteractiveSessionHandle, r as TraceExportFormat, s as exportTraceBundle, u as SandboxTaskSession, v as StartInteractiveOptions, w as SandboxMcpEndpoint, x as CONTROL_PLANE_MCP_SERVER_NAME, y as BuildControlPlaneMcpConfigOptions } from "./sandbox-BhYmj7L3.js";
3
+ import { a as Team, c as SessionBroadcastEvent, d as SandboxFleetClient, f as ParseSSEStreamOptions, i as SandboxClient, l as SessionBroadcastResult, m as parseSSEStream, n as IntelligenceClient, o as TeamInvitation, p as ParsedSSEEvent, r as InviteTeamMemberOptions, s as TeamMember, t as CreateTeamOptions, u as SandboxFleet } from "./client-Cr39zlgv.js";
4
+ import { d as AnyTokenPayload, h as IssueCollaborationTokenOptions, m as CollaborationTokenPayload, p as CollaborationAccess } from "./index-CyHojkuA.js";
5
+ import { _ as CollaborationTransportConfig, a as CollaborationClient, c as CollaborationClientConfig, d as CollaborationDocumentRef, f as CollaborationFileBridgeOptions, g as CollaborationTokenRefreshResponse, h as CollaborationTokenRefreshRequest, i as parseCollaborationDocumentId, l as CollaborationDocumentAdapter, m as CollaborationPermissions, n as buildCollaborationDocumentId, o as CollaborationBootstrapRequest, p as CollaborationFileEvent, r as normalizeCollaborationPath, s as CollaborationBootstrapResponse, t as CollaborationFileBridge, u as CollaborationDocumentChange, v as SaveCollaborationSnapshotRequest, y as SaveCollaborationSnapshotResponse } from "./index-DKzapw-9.js";
6
+ import { a as NotFoundError, c as SandboxError, d as ServerError, f as StateError, i as NetworkError, l as SandboxErrorJson, m as ValidationError, n as CapabilityError, o as PartialFailureError, p as TimeoutError, r as EgressProxyRecoveryError, s as QuotaError, t as AuthError, u as SandboxFailureDetail } from "./errors--P_nbLzM.js";
7
+ import { s as TangleSandboxClientConfig, t as TangleSandboxClient } from "./index-DzEUjav-.js";
7
8
 
8
9
  //#region src/attestation-heartbeat.d.ts
9
10
  interface TeeAttestationHeartbeatSample {
@@ -1370,4 +1371,4 @@ interface RouterEvalMatrixCaseResult {
1370
1371
  }
1371
1372
  declare function runTangleRouterEvalMatrixInSandbox(options: RunTangleRouterEvalMatrixInSandboxOptions): Promise<RunTangleRouterEvalMatrixInSandboxResult>;
1372
1373
  //#endregion
1373
- export { type AcceleratorKind, type AccessPolicyRule, type AddUserOptions, type AgentProfile, type AgentProfileCapabilities, type AgentProfileConnection, type AgentProfileFileMount, type AgentProfileMcpServer, type AgentProfileModelHints, type AgentProfilePermissionValue, type AgentProfilePrompt, type AgentProfileResourceRef, type AgentProfileResources, type AgentProfileValidationIssue, type AgentProfileValidationResult, type AgentSubagentProfile, type AnyTokenPayload, type AttachGpuLeaseOptions, type AttachSandboxFleetMachineOptions, AuthError, type BackendCapabilities, type BackendConfig, type BackendInfo, type BackendManager, type BackendStatus, type BackendType, type BatchEvent, type BatchOptions, type BatchResult, type BatchTask, type BatchTaskResult, type BranchOptions, type BuildControlPlaneMcpConfigOptions, type BuildProgressEvent, type BuildSandboxMcpConfigOptions, CONTROL_PLANE_MCP_SERVER_NAME, CapabilityError, type CodeResult, type CollaborationAccess, type CollaborationBootstrapRequest, type CollaborationBootstrapResponse, CollaborationClient, type CollaborationClientConfig, type CollaborationDocumentAdapter, type CollaborationDocumentChange, type CollaborationDocumentRef, CollaborationFileBridge, type CollaborationFileBridgeOptions, type CollaborationFileEvent, type CollaborationPermissions, type CollaborationTokenPayload, type CollaborationTokenRefreshRequest, type CollaborationTokenRefreshResponse, type CollaborationTransportConfig, type CompletedTurnResult, type ConfidentialSandboxResult, type ConfidentialTeeType, type CreateConfidentialSandboxOptions, type CreateGpuLeaseOptions, type CreateIntelligenceReportOptions, type CreateSandboxFleetOptions, type CreateSandboxFleetWithCoordinatorOptions, type CreateSandboxOptions, type CreateTeamOptions, DEFAULT_SANDBOX_SIZE, type DeleteOptions, type DirectoryPermission, type DispatchPromptOptions, type DispatchedSession, type DownloadOptions, type DownloadProgress, type DriveTurnOptions, type DriverConfig, type DriverInfo, type DriverType, type EgressManager, type EgressPolicy, EgressProxyRecoveryError, type EventStreamOptions, type ExecOptions, type ExecResult, type FileInfo, type FileSystem, type FleetDispatchCancelResult, type FleetDispatchResultBuffer, type FleetDispatchResultBufferOptions, type FleetDispatchStreamOptions, type FleetExecDispatchOptions, type FleetMachineId, type FleetPromptDispatchOptions, GPU_LEASE_PROVIDER_NAMES, type GitAuth, type GitBranch, type GitCommit, type GitConfig, type GitDiff, type GitStatus, type GpuLease, type GpuLeaseBilling, type GpuLeaseCommandResult, type GpuLeaseExecOptions, type GpuLeaseExecResult, type GpuLeaseManager, type GpuLeaseProviderName, type GpuLeaseStatus, type GpuType, type HostAgentDriverConfig, type HostAgentRuntimeBackend, Image, type ImageBuildClient, type ImageBuildClientConfig, type ImageBuildFetchClient, type ImageBuildOptions, type ImageBuildResult, ImageBuilder, type ImageSpec, type InstalledTool, IntelligenceClient, type IntelligenceReport, type IntelligenceReportBudget, type IntelligenceReportCompareTo, type IntelligenceReportSubjectType, type IntelligenceReportWindow, type InteractiveAuthFile, InteractiveSessionHandle, type InteractiveSessionHost, type InteractiveSessionInfo, type InterruptResult, type InviteTeamMemberOptions, type IssueCollaborationTokenOptions, type ListMessagesOptions, type ListOptions, type ListSandboxFleetOptions, type ListSandboxOptions, MANAGE_SANDBOXES_PARAMETERS, MANAGE_SANDBOXES_TOOL_NAME, type ManageSandboxesInput, type ManageSandboxesTool, type ManageSandboxesToolOptions, type MaterializeProfileFileMountsOptions, type MaterializeProfileFileMountsResult, type McpServerConfig, type MintScopedTokenOptions, type MkdirOptions, type NetworkConfig, NetworkError, type NetworkManager, type NonHostAgentDriverConfig, NotFoundError, type ParseSSEStreamOptions, type ParsedSSEEvent, PartialFailureError, type PermissionLevel, type PermissionsManager, type PreviewLinkInfo, type PreviewLinkManager, type Process, type ProcessInfo, type ProcessLogEntry, type ProcessManager, type ProcessSignal, type ProcessSpawnOptions, type ProcessStatus, type PromptOptions, type PromptResult, type ProvisionEvent, type ProvisionResult, type ProvisionStatus, type ProvisionStep, type PublicTemplateInfo, type PublicTemplateVersionInfo, type PublishPublicTemplateOptions, type PublishPublicTemplateVersionOptions, QuotaError, type ReapExpiredSandboxFleetsOptions, type ReapExpiredSandboxFleetsResult, type ReconcileSandboxFleetsOptions, type ReconcileSandboxFleetsResult, type RespondToPermissionOptions, type RouterEvalMatrixAgentProfile, type RouterEvalMatrixCaseResult, type RouterEvalMatrixHarness, type RouterEvalMatrixPayload, type RouterEvalMatrixSandboxBox, type RouterEvalMatrixSandboxClient, type RouterEvalMatrixScenario, type RouterEvalMatrixSuiteResponse, type RouterImportedRunResponse, type RouterSearchConfig, type RouterSearchConfigOptions, type RunCodeOptions, type RunTangleRouterEvalMatrixInSandboxOptions, type RunTangleRouterEvalMatrixInSandboxResult, SANDBOX_MCP_SERVER_NAME, SANDBOX_SIZE_PRESETS, SANDBOX_SIZE_PRESET_NAMES, type SSHCommandDescriptor, type SSHCredentials, SandboxClient as Sandbox, SandboxClient, type SandboxClientConfig, type SandboxConnection, type SandboxEnvironment, SandboxError, type SandboxErrorJson, type SandboxEvent, type SandboxFailureDetail, SandboxFleet, type SandboxFleetArtifact, type SandboxFleetArtifactSpec, SandboxFleetClient, type SandboxFleetCostEstimate, type SandboxFleetDispatchFailureClass, type SandboxFleetDispatchResponse, type SandboxFleetDriverCapability, type SandboxFleetDriverTimings, type SandboxFleetInfo, type SandboxFleetIntelligenceEnvelope, type SandboxFleetMachine, type SandboxFleetMachineMeteredUsage, type SandboxFleetMachineRecord, type SandboxFleetMachineSpec, type SandboxFleetManifest, type SandboxFleetManifestMachine, type SandboxFleetOperationsSummary, type SandboxFleetPolicy, type SandboxFleetToken, type SandboxFleetTraceBundle, type SandboxFleetTraceEvent, type SandboxFleetTraceExport, type SandboxFleetTraceOptions, type SandboxFleetUsage, type SandboxFleetWorkspace, type SandboxFleetWorkspaceReconcileResult, type SandboxFleetWorkspaceRestoreResult, type SandboxFleetWorkspaceSnapshotResult, type SandboxInfo, SandboxInstance, type SandboxIntelligenceEnvelope, type SandboxMcpConfig, type SandboxMcpEndpoint, type SandboxMcpServerEntry, type SandboxPermissionsConfig, type SandboxResourceUsage, type SandboxResources, SandboxSession, type SandboxSizePreset, type SandboxStatus, type SandboxTraceBundle, type SandboxTraceEvent, type SandboxTraceExport, type SandboxTraceOptions, type SandboxUser, type SaveCollaborationSnapshotRequest, type SaveCollaborationSnapshotResponse, type ScopedToken, type ScopedTokenScope, type SearchMatch, type SearchOptions, type SecretInfo, type SecretsManager, ServerError, type SessionEventStreamOptions, type SessionInfo, type SessionListOptions, type SessionMessage, type SessionStatus, type SnapshotInfo, type SnapshotOptions, type SnapshotResult, type SplitInlineProfileFileMountsResult, type StartInteractiveOptions, type StartupDiagnostics, type StartupOperation, StateError, type StorageConfig, type SubscriptionInfo, TangleSandboxClient, type TangleSandboxClientConfig, type TangleSearchProvider, type TaskOptions, type TaskResult, type Team, type TeamInvitation, type TeamMember, type TeeAttestationHeartbeat, type TeeAttestationHeartbeatOptions, type TeeAttestationHeartbeatSample, type TeeAttestationOptions, type TeeAttestationReport, type TeeAttestationResponse, type TeePublicKey, type TeePublicKeyResponse, TimeoutError, type TokenRefreshHandler, type ToolsConfig, type TraceExportFormat, type TraceExportResult, type TraceExportSink, type TurnDriveResult, type UpdateUserOptions, type UploadOptions, type UploadProgress, type UsageInfo, ValidationError, type WaitForOptions, type WriteFileOptions, type WriteManyFile, type WriteManyOptions, applySandboxEventText, buildCollaborationDocumentId, buildControlPlaneMcpConfig, buildSandboxMcpConfig, buildTangleRouterEvalMatrixRequest, buildTangleRouterResponsesWebSearchRequest, buildTangleRouterSearchBackend, buildTangleRouterSearchProfile, buildTraceExportPayload, collectAgentResponseText, createConfidentialSandbox, createManageSandboxesTool, defineAgentProfile, defineGitHubResource, defineInlineResource, exportTraceBundle, fetchTangleRouterSearchConfig, generateAttestationNonce, generateDockerfile, getSandboxEventText, materializeProfileFileMounts, mergeAgentProfiles, normalizeCollaborationPath, normalizeRuntimeBackendConfig, otelTraceIdForTangleTrace, parseCollaborationDocumentId, parseSSEStream, resolveSandboxResources, runTangleRouterEvalMatrixInSandbox, sandboxResourcesForSize, serializeForSidecar, splitInlineProfileFileMounts, startTeeAttestationHeartbeat, toOtelJson };
1374
+ export { type AcceleratorKind, type AccessPolicyRule, type AddUserOptions, type AgentProfile, type AgentProfileCapabilities, type AgentProfileConnection, type AgentProfileFileMount, type AgentProfileMcpServer, type AgentProfileModelHints, type AgentProfilePermissionValue, type AgentProfilePrompt, type AgentProfileResourceRef, type AgentProfileResources, type AgentProfileValidationIssue, type AgentProfileValidationResult, type AgentSubagentProfile, type AnyTokenPayload, type AttachGpuLeaseOptions, type AttachSandboxFleetMachineOptions, AuthError, type BackendCapabilities, type BackendConfig, type BackendInfo, type BackendManager, type BackendStatus, type BackendType, type BatchBackend, type BatchBackendStats, type BatchEvent, type BatchEventDataMap, type BatchOptions, type BatchResult, type BatchRunOptions, type BatchRunRequest, type BatchSidecarGroup, type BatchTask, type BatchTaskResult, type BatchTaskUsage, type BranchOptions, type BuildControlPlaneMcpConfigOptions, type BuildProgressEvent, type BuildSandboxMcpConfigOptions, CONTROL_PLANE_MCP_SERVER_NAME, CapabilityError, type CodeResult, type CollaborationAccess, type CollaborationBootstrapRequest, type CollaborationBootstrapResponse, CollaborationClient, type CollaborationClientConfig, type CollaborationDocumentAdapter, type CollaborationDocumentChange, type CollaborationDocumentRef, CollaborationFileBridge, type CollaborationFileBridgeOptions, type CollaborationFileEvent, type CollaborationPermissions, type CollaborationTokenPayload, type CollaborationTokenRefreshRequest, type CollaborationTokenRefreshResponse, type CollaborationTransportConfig, type CommitTaskSessionOptions, type CompletedTurnResult, type ConfidentialSandboxResult, type ConfidentialTeeType, type CreateConfidentialSandboxOptions, type CreateGpuLeaseOptions, type CreateIntelligenceReportOptions, type CreateSandboxFleetOptions, type CreateSandboxFleetWithCoordinatorOptions, type CreateSandboxOptions, type CreateSessionOptions, type CreateTaskSessionOptions, type CreateTeamOptions, DEFAULT_SANDBOX_SIZE, type DeleteOptions, type DirectoryPermission, type DispatchPromptOptions, type DispatchedSession, type DownloadOptions, type DownloadProgress, type DriveTurnOptions, type DriverConfig, type DriverInfo, type DriverType, type EgressManager, type EgressPolicy, EgressProxyRecoveryError, type EventStreamOptions, type ExecOptions, type ExecResult, type FileInfo, type FileReadBatchOptions, type FileReadBatchResult, type FileReadError, type FileReadResult, type FileSystem, type FileTreeFile, type FileTreeOptions, type FileTreeResult, type FileWriteResult, type FleetDispatchCancelResult, type FleetDispatchResultBuffer, type FleetDispatchResultBufferOptions, type FleetDispatchStreamOptions, type FleetExecDispatchOptions, type FleetMachineId, type FleetPromptDispatchOptions, GPU_LEASE_PROVIDER_NAMES, type GitAuth, type GitBranch, type GitCommit, type GitConfig, type GitDiff, type GitStatus, type GpuLease, type GpuLeaseBilling, type GpuLeaseCommandResult, type GpuLeaseExecOptions, type GpuLeaseExecResult, type GpuLeaseManager, type GpuLeaseProviderName, type GpuLeaseStatus, type GpuType, type HostAgentDriverConfig, type HostAgentRuntimeBackend, Image, type ImageBuildClient, type ImageBuildClientConfig, type ImageBuildFetchClient, type ImageBuildOptions, type ImageBuildResult, ImageBuilder, type ImageSpec, type InstalledTool, IntelligenceClient, type IntelligenceReport, type IntelligenceReportBudget, type IntelligenceReportCompareTo, type IntelligenceReportSubjectType, type IntelligenceReportWindow, type InteractiveAuthFile, InteractiveSessionHandle, type InteractiveSessionHost, type InteractiveSessionInfo, type InterruptResult, type InviteTeamMemberOptions, type IssueCollaborationTokenOptions, type ListMessagesOptions, type ListOptions, type ListSandboxFleetOptions, type ListSandboxOptions, MANAGE_SANDBOXES_PARAMETERS, MANAGE_SANDBOXES_TOOL_NAME, type ManageSandboxesInput, type ManageSandboxesTool, type ManageSandboxesToolOptions, type MaterializeProfileFileMountsOptions, type MaterializeProfileFileMountsResult, type McpServerConfig, type MintScopedTokenOptions, type MkdirOptions, type NetworkConfig, NetworkError, type NetworkManager, type NonHostAgentDriverConfig, NotFoundError, type ParseSSEStreamOptions, type ParsedSSEEvent, PartialFailureError, type PermissionLevel, type PermissionsManager, type PreviewLinkInfo, type PreviewLinkManager, type Process, type ProcessInfo, type ProcessLogEntry, type ProcessManager, type ProcessSignal, type ProcessSpawnOptions, type ProcessStatus, type PromptOptions, type PromptResult, type ProvisionEvent, type ProvisionResult, type ProvisionStatus, type ProvisionStep, type PublicTemplateInfo, type PublicTemplateVersionInfo, type PublishPublicTemplateOptions, type PublishPublicTemplateVersionOptions, QuotaError, type ReapExpiredSandboxFleetsOptions, type ReapExpiredSandboxFleetsResult, type ReconcileSandboxFleetsOptions, type ReconcileSandboxFleetsResult, type RespondToPermissionOptions, type RouterEvalMatrixAgentProfile, type RouterEvalMatrixCaseResult, type RouterEvalMatrixHarness, type RouterEvalMatrixPayload, type RouterEvalMatrixSandboxBox, type RouterEvalMatrixSandboxClient, type RouterEvalMatrixScenario, type RouterEvalMatrixSuiteResponse, type RouterImportedRunResponse, type RouterSearchConfig, type RouterSearchConfigOptions, type RunCodeOptions, type RunTangleRouterEvalMatrixInSandboxOptions, type RunTangleRouterEvalMatrixInSandboxResult, SANDBOX_MCP_SERVER_NAME, SANDBOX_SIZE_PRESETS, SANDBOX_SIZE_PRESET_NAMES, type SSHCommandDescriptor, type SSHCredentials, SandboxClient as Sandbox, SandboxClient, type SandboxClientConfig, type SandboxConnection, type SandboxEnvironment, SandboxError, type SandboxErrorJson, type SandboxEvent, type SandboxFailureDetail, SandboxFleet, type SandboxFleetArtifact, type SandboxFleetArtifactSpec, SandboxFleetClient, type SandboxFleetCostEstimate, type SandboxFleetDispatchFailureClass, type SandboxFleetDispatchResponse, type SandboxFleetDriverCapability, type SandboxFleetDriverTimings, type SandboxFleetInfo, type SandboxFleetIntelligenceEnvelope, type SandboxFleetMachine, type SandboxFleetMachineMeteredUsage, type SandboxFleetMachineRecord, type SandboxFleetMachineSpec, type SandboxFleetManifest, type SandboxFleetManifestMachine, type SandboxFleetOperationsSummary, type SandboxFleetPolicy, type SandboxFleetToken, type SandboxFleetTraceBundle, type SandboxFleetTraceEvent, type SandboxFleetTraceExport, type SandboxFleetTraceOptions, type SandboxFleetUsage, type SandboxFleetWorkspace, type SandboxFleetWorkspaceReconcileResult, type SandboxFleetWorkspaceRestoreResult, type SandboxFleetWorkspaceSnapshotResult, type SandboxInfo, SandboxInstance, type SandboxIntelligenceEnvelope, type SandboxMcpConfig, type SandboxMcpEndpoint, type SandboxMcpServerEntry, type SandboxPermissionsConfig, type SandboxPortBinding, type SandboxPortPreviewLink, type SandboxProfileSummary, type SandboxResourceUsage, type SandboxResources, type SandboxRuntimeHealth, type SandboxRuntimeProfile, type SandboxRuntimeProfileList, SandboxSession, type SandboxSizePreset, type SandboxStatus, SandboxTaskSession, type SandboxTerminalCreateOptions, type SandboxTerminalInfo, type SandboxTerminalManager, type SandboxTerminalRequestOptions, type SandboxTraceBundle, type SandboxTraceEvent, type SandboxTraceExport, type SandboxTraceOptions, type SandboxUser, type SaveCollaborationSnapshotRequest, type SaveCollaborationSnapshotResponse, type ScopedToken, type ScopedTokenScope, type SearchMatch, type SearchOptions, type SecretInfo, type SecretsManager, type SendSessionMessageOptions, type SendSessionMessageRequest, type SentSessionMessage, ServerError, type SessionBackendCredentials, type SessionBroadcastEvent, type SessionBroadcastResult, type SessionEventStreamOptions, type SessionForkOptions, type SessionInfo, type SessionListOptions, type SessionMessage, type SessionMessageInputPart, type SessionStatus, type SnapshotInfo, type SnapshotOptions, type SnapshotResult, type SplitInlineProfileFileMountsResult, type StartInteractiveOptions, type StartupDiagnostics, type StartupOperation, StateError, type StorageConfig, type SubscriptionInfo, TangleSandboxClient, type TangleSandboxClientConfig, type TangleSearchProvider, type TaskOptions, type TaskResult, type TaskSessionChanges, type TaskSessionCommitResult, type TaskSessionFileChange, type TaskSessionInfo, type TaskSessionProfile, type Team, type TeamInvitation, type TeamMember, type TeeAttestationHeartbeat, type TeeAttestationHeartbeatOptions, type TeeAttestationHeartbeatSample, type TeeAttestationOptions, type TeeAttestationReport, type TeeAttestationResponse, type TeePublicKey, type TeePublicKeyResponse, TimeoutError, type TokenRefreshHandler, type ToolsConfig, type TraceExportFormat, type TraceExportResult, type TraceExportSink, type TurnDriveResult, type UpdateUserOptions, type UploadOptions, type UploadProgress, type UsageInfo, ValidationError, type WaitForOptions, type WriteFileOptions, type WriteManyFile, type WriteManyOptions, applySandboxEventText, buildCollaborationDocumentId, buildControlPlaneMcpConfig, buildSandboxMcpConfig, buildTangleRouterEvalMatrixRequest, buildTangleRouterResponsesWebSearchRequest, buildTangleRouterSearchBackend, buildTangleRouterSearchProfile, buildTraceExportPayload, collectAgentResponseText, createConfidentialSandbox, createManageSandboxesTool, defineAgentProfile, defineGitHubResource, defineInlineResource, exportTraceBundle, fetchTangleRouterSearchConfig, generateAttestationNonce, generateDockerfile, getSandboxEventText, materializeProfileFileMounts, mergeAgentProfiles, normalizeCollaborationPath, normalizeRuntimeBackendConfig, otelTraceIdForTangleTrace, parseCollaborationDocumentId, parseSSEStream, resolveSandboxResources, runTangleRouterEvalMatrixInSandbox, sandboxResourcesForSize, serializeForSidecar, splitInlineProfileFileMounts, startTeeAttestationHeartbeat, toOtelJson };
package/dist/index.js CHANGED
@@ -1,8 +1,9 @@
1
- import { _ as serializeForSidecar, a as applySandboxEventText, d as otelTraceIdForTangleTrace, f as toOtelJson, g as normalizeRuntimeBackendConfig, h as parseSSEStream, i as InteractiveSessionHandle, l as buildTraceExportPayload, m as encodeTextForWire, o as collectAgentResponseText, r as SandboxSession, s as getSandboxEventText, t as SandboxInstance, u as exportTraceBundle } from "./sandbox-BZ33qVxk.js";
1
+ import { i as serializeForSidecar, r as normalizeRuntimeBackendConfig } from "./runtime-api-CYA2DUQw.js";
2
2
  import { a as NotFoundError, c as SandboxError, d as TimeoutError, f as ValidationError, i as NetworkError, l as ServerError, n as CapabilityError, o as PartialFailureError, r as EgressProxyRecoveryError, s as QuotaError, t as AuthError, u as StateError } from "./errors-DSz87Rkk.js";
3
- import { a as DEFAULT_SANDBOX_SIZE, c as resolveSandboxResources, i as SandboxFleetClient, l as sandboxResourcesForSize, n as SandboxClient, o as SANDBOX_SIZE_PRESETS, r as SandboxFleet, s as SANDBOX_SIZE_PRESET_NAMES, t as IntelligenceClient } from "./client-bSvcFAca.js";
4
- import { a as CollaborationClient, i as parseCollaborationDocumentId, n as buildCollaborationDocumentId, r as normalizeCollaborationPath, t as CollaborationFileBridge } from "./collaboration-D17lnOJX.js";
5
- import { t as TangleSandboxClient } from "./tangle-sPZOYZkz.js";
3
+ import { a as InteractiveSessionHandle, c as getSandboxEventText, d as exportTraceBundle, f as otelTraceIdForTangleTrace, g as parseSSEStream, h as encodeTextForWire, i as SandboxSession, o as applySandboxEventText, p as toOtelJson, r as SandboxTaskSession, s as collectAgentResponseText, t as SandboxInstance, u as buildTraceExportPayload } from "./sandbox-CxBHIBV1.js";
4
+ import { a as DEFAULT_SANDBOX_SIZE, c as resolveSandboxResources, i as SandboxFleetClient, l as sandboxResourcesForSize, n as SandboxClient, o as SANDBOX_SIZE_PRESETS, r as SandboxFleet, s as SANDBOX_SIZE_PRESET_NAMES, t as IntelligenceClient } from "./client-Df1K1d_Q.js";
5
+ import { a as CollaborationClient, i as parseCollaborationDocumentId, n as buildCollaborationDocumentId, r as normalizeCollaborationPath, t as CollaborationFileBridge } from "./collaboration-QZXrXdIb.js";
6
+ import { t as TangleSandboxClient } from "./tangle-BdRRHMpX.js";
6
7
  import { defineAgentProfile, defineGitHubResource, defineInlineResource, mergeAgentProfiles } from "@tangle-network/agent-interface";
7
8
  //#region src/confidential.ts
8
9
  function generateAttestationNonce(bytes = 32) {
@@ -1729,4 +1730,4 @@ function stripUndefined(value) {
1729
1730
  return Object.fromEntries(Object.entries(value).filter(([, v]) => v !== void 0).map(([k, v]) => [k, stripUndefined(v)]));
1730
1731
  }
1731
1732
  //#endregion
1732
- export { AuthError, CONTROL_PLANE_MCP_SERVER_NAME, CapabilityError, CollaborationClient, CollaborationFileBridge, DEFAULT_SANDBOX_SIZE, EgressProxyRecoveryError, GPU_LEASE_PROVIDER_NAMES, Image, ImageBuilder, IntelligenceClient, InteractiveSessionHandle, MANAGE_SANDBOXES_PARAMETERS, MANAGE_SANDBOXES_TOOL_NAME, NetworkError, NotFoundError, PartialFailureError, QuotaError, SANDBOX_MCP_SERVER_NAME, SANDBOX_SIZE_PRESETS, SANDBOX_SIZE_PRESET_NAMES, SandboxClient as Sandbox, SandboxClient, SandboxError, SandboxFleet, SandboxFleetClient, SandboxInstance, SandboxSession, ServerError, StateError, TangleSandboxClient, TimeoutError, ValidationError, applySandboxEventText, buildCollaborationDocumentId, buildControlPlaneMcpConfig, buildSandboxMcpConfig, buildTangleRouterEvalMatrixRequest, buildTangleRouterResponsesWebSearchRequest, buildTangleRouterSearchBackend, buildTangleRouterSearchProfile, buildTraceExportPayload, collectAgentResponseText, createConfidentialSandbox, createManageSandboxesTool, defineAgentProfile, defineGitHubResource, defineInlineResource, exportTraceBundle, fetchTangleRouterSearchConfig, generateAttestationNonce, generateDockerfile, getSandboxEventText, materializeProfileFileMounts, mergeAgentProfiles, normalizeCollaborationPath, normalizeRuntimeBackendConfig, otelTraceIdForTangleTrace, parseCollaborationDocumentId, parseSSEStream, resolveSandboxResources, runTangleRouterEvalMatrixInSandbox, sandboxResourcesForSize, serializeForSidecar, splitInlineProfileFileMounts, startTeeAttestationHeartbeat, toOtelJson };
1733
+ export { AuthError, CONTROL_PLANE_MCP_SERVER_NAME, CapabilityError, CollaborationClient, CollaborationFileBridge, DEFAULT_SANDBOX_SIZE, EgressProxyRecoveryError, GPU_LEASE_PROVIDER_NAMES, Image, ImageBuilder, IntelligenceClient, InteractiveSessionHandle, MANAGE_SANDBOXES_PARAMETERS, MANAGE_SANDBOXES_TOOL_NAME, NetworkError, NotFoundError, PartialFailureError, QuotaError, SANDBOX_MCP_SERVER_NAME, SANDBOX_SIZE_PRESETS, SANDBOX_SIZE_PRESET_NAMES, SandboxClient as Sandbox, SandboxClient, SandboxError, SandboxFleet, SandboxFleetClient, SandboxInstance, SandboxSession, SandboxTaskSession, ServerError, StateError, TangleSandboxClient, TimeoutError, ValidationError, applySandboxEventText, buildCollaborationDocumentId, buildControlPlaneMcpConfig, buildSandboxMcpConfig, buildTangleRouterEvalMatrixRequest, buildTangleRouterResponsesWebSearchRequest, buildTangleRouterSearchBackend, buildTangleRouterSearchProfile, buildTraceExportPayload, collectAgentResponseText, createConfidentialSandbox, createManageSandboxesTool, defineAgentProfile, defineGitHubResource, defineInlineResource, exportTraceBundle, fetchTangleRouterSearchConfig, generateAttestationNonce, generateDockerfile, getSandboxEventText, materializeProfileFileMounts, mergeAgentProfiles, normalizeCollaborationPath, normalizeRuntimeBackendConfig, otelTraceIdForTangleTrace, parseCollaborationDocumentId, parseSSEStream, resolveSandboxResources, runTangleRouterEvalMatrixInSandbox, sandboxResourcesForSize, serializeForSidecar, splitInlineProfileFileMounts, startTeeAttestationHeartbeat, toOtelJson };