@tangle-network/sandbox 0.11.1-develop.20260719230748.2970772 → 0.11.1-develop.20260720070135.70709ad
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -0
- package/dist/agent/index.d.ts +3 -3
- package/dist/{client-L4c2I5tL.d.ts → client-CEKvv9MJ.d.ts} +2 -2
- package/dist/{client-yksqE5VH.js → client-CPeSqZZS.js} +2 -2
- package/dist/core.d.ts +3 -3
- package/dist/core.js +2 -2
- package/dist/{index-XaVF9qK-.d.ts → index-C-tmqYod.d.ts} +2 -2
- package/dist/index.d.ts +5 -5
- package/dist/index.js +4 -4
- package/dist/{runtime-api-r8vQVMe4.js → runtime-api-DCMrscis.js} +6 -0
- package/dist/runtime.d.ts +2 -1
- package/dist/runtime.js +1 -1
- package/dist/{sandbox-C0qo2TZO.d.ts → sandbox-C02suXVt.d.ts} +2 -1
- package/dist/{sandbox-C8WoMyT0.js → sandbox-Cyy9YMhi.js} +5 -1
- package/dist/tangle/index.d.ts +1 -1
- package/dist/tangle/index.js +1 -1
- package/dist/{tangle-m1lRkQlR.js → tangle-CD0kXNuo.js} +1 -1
- package/dist/{types-DACKEpON.d.ts → types-wRX4Rp-w.d.ts} +46 -9
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -677,9 +677,26 @@ await box.prompt("Analyze this", {
|
|
|
677
677
|
},
|
|
678
678
|
},
|
|
679
679
|
});
|
|
680
|
+
|
|
681
|
+
// Attach non-secret product labels to this run's platform-managed trace.
|
|
682
|
+
await box.prompt("Build the project", {
|
|
683
|
+
backend: {
|
|
684
|
+
type: "opencode",
|
|
685
|
+
metadata: {
|
|
686
|
+
traceAttributes: {
|
|
687
|
+
"tangle.product": "blueprint-agent",
|
|
688
|
+
"tangle.partner": "acme",
|
|
689
|
+
"tangle.projectId": "project-42",
|
|
690
|
+
"tangle.domain": "web",
|
|
691
|
+
},
|
|
692
|
+
},
|
|
693
|
+
},
|
|
694
|
+
});
|
|
680
695
|
```
|
|
681
696
|
|
|
682
697
|
The SDK serializes `backend.profile` into the required wire format automatically.
|
|
698
|
+
Trace attributes are labels only; supported backend metadata is limited to `containerType` and `traceAttributes`.
|
|
699
|
+
Sandbox configures the trace exporter; do not put collector endpoints, authorization headers, API keys, or user content in `traceAttributes`.
|
|
683
700
|
|
|
684
701
|
Cursor profiles map portable MCP, resources, skills, subagents, hooks, permissions,
|
|
685
702
|
and Cursor-native `extensions.cursor` fields into the Cursor Agent SDK. Local
|
|
@@ -793,6 +810,7 @@ for await (const event of box.events({ signal: controller.signal })) {
|
|
|
793
810
|
| `fs.download(remotePath, localPath, options?)` | Node only | — | Writes to a local path with `node:fs` |
|
|
794
811
|
| `fs.uploadDir` / `fs.downloadDir` | Node only | Local directory path | tar-based directory transfer |
|
|
795
812
|
| `fs.list` / `fs.stat` / `fs.mkdir` / `fs.delete` / `fs.rename` / `fs.exists` | Node + browser | — | Directory listing and file metadata operations |
|
|
813
|
+
| `fs.tree(path, options?)` / `fs.usage(path, options?)` | Node + browser | — | Filtered file browsing versus complete aggregate storage accounting |
|
|
796
814
|
|
|
797
815
|
```typescript
|
|
798
816
|
// Text write/read (UTF-8 by default)
|
|
@@ -819,6 +837,10 @@ await box.fs.uploadData("/workspace/models/model.bin", blob, {
|
|
|
819
837
|
});
|
|
820
838
|
|
|
821
839
|
await box.fs.download("/workspace/results.zip", "./results.zip");
|
|
840
|
+
|
|
841
|
+
// Complete storage usage, including .git, dependencies, caches, and build output
|
|
842
|
+
const usage = await box.fs.usage("/workspace");
|
|
843
|
+
if (!usage.complete) throw new Error("Workspace usage scan was incomplete");
|
|
822
844
|
```
|
|
823
845
|
|
|
824
846
|
`fs.uploadData` is the sanctioned path once a payload clears the single-shot
|
package/dist/agent/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as CodeExecutionOptions, O as CodeExecutionResult, j as CodeResultPart, k as CodeLanguage } from "../types-
|
|
2
|
-
import { n as SandboxInstance } from "../sandbox-
|
|
3
|
-
import { i as SandboxClient } from "../client-
|
|
1
|
+
import { D as CodeExecutionOptions, O as CodeExecutionResult, j as CodeResultPart, k as CodeLanguage } from "../types-wRX4Rp-w.js";
|
|
2
|
+
import { n as SandboxInstance } from "../sandbox-C02suXVt.js";
|
|
3
|
+
import { i as SandboxClient } from "../client-CEKvv9MJ.js";
|
|
4
4
|
import * as _$_modelcontextprotocol_sdk_server_index_js0 from "@modelcontextprotocol/sdk/server/index.js";
|
|
5
5
|
|
|
6
6
|
//#region src/agent/tools/_specs.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $
|
|
2
|
-
import { a as TraceExportSink, i as TraceExportResult, n as SandboxInstance, t as HttpClient } from "./sandbox-
|
|
1
|
+
import { $r as SecretsManager, $t as IntelligenceReportWindow, An as PublicTemplateVersionInfo, B as CreateSandboxOptions, Cn as PromptOptions, Ct as FleetDispatchResultBufferOptions, Dr as SandboxInfo, Dt as FleetMachineId, Er as SandboxFleetWorkspaceSnapshotResult, Et as FleetExecDispatchResult, F as CreateIntelligenceReportOptions, Fn as ReconcileSandboxFleetsOptions, I as CreateRequestOptions, In as ReconcileSandboxFleetsResult, L as CreateSandboxFleetOptions, Li as UsageInfo, Mn as PublishPublicTemplateVersionOptions, Mr as SandboxProfileSummary, Nn as ReapExpiredSandboxFleetsOptions, Ot as FleetPromptDispatchOptions, Pn as ReapExpiredSandboxFleetsResult, Qn as SandboxEnvironment, R as CreateSandboxFleetTokenOptions, Sn as PromptInputPart, Sr as SandboxFleetUsage, St as FleetDispatchResultBuffer, Tr as SandboxFleetWorkspaceRestoreResult, Tt as FleetExecDispatchOptions, Xn as SandboxClientConfig, Xt as IntelligenceReportBudget, Yt as IntelligenceReport, Zt as IntelligenceReportCompareTo, _ as BatchResult, _r as SandboxFleetToken, a as AttachSandboxFleetMachineOptions, ar as SandboxFleetDriverCapability, dr as SandboxFleetMachineRecord, er as SandboxFleetArtifact, g as BatchOptions, hr as SandboxFleetOperationsSummary, in as ListSandboxOptions, ir as SandboxFleetDispatchResponse, ji as TokenRefreshHandler, jn as PublishPublicTemplateOptions, kn as PublicTemplateInfo, kt as FleetPromptDispatchResult, m as BatchEvent, mi as SshKeysManager, nr as SandboxFleetCostEstimate, ot as ExecOptions, pr as SandboxFleetManifest, rn as ListSandboxFleetOptions, sr as SandboxFleetInfo, st as ExecResult, tr as SandboxFleetArtifactSpec, v as BatchRunOptions, vi as SubscriptionInfo, vr as SandboxFleetTraceBundle, wn as PromptResult, wr as SandboxFleetWorkspaceReconcileResult, wt as FleetDispatchStreamOptions, x as BatchTask, xr as SandboxFleetTraceOptions, xt as FleetDispatchCancelResult, y as BatchRunRequest, z as CreateSandboxFleetWithCoordinatorOptions } from "./types-wRX4Rp-w.js";
|
|
2
|
+
import { a as TraceExportSink, i as TraceExportResult, n as SandboxInstance, t as HttpClient } from "./sandbox-C02suXVt.js";
|
|
3
3
|
|
|
4
4
|
//#region src/lib/sse-parser.d.ts
|
|
5
5
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as encodeTextForWire, i as SANDBOX_PROXY_REQUEST_MAX_BYTES, o as combineAbortSignals, s as encodePromptForWire } from "./runtime-api-
|
|
1
|
+
import { c as encodeTextForWire, i as SANDBOX_PROXY_REQUEST_MAX_BYTES, o as combineAbortSignals, s as encodePromptForWire } from "./runtime-api-DCMrscis.js";
|
|
2
2
|
import { a as NotFoundError, c as SandboxError, d as TimeoutError, f as ValidationError, i as NetworkError, o as PartialFailureError, p as parseErrorResponse, t as AuthError } from "./errors-hbpL_-S6.js";
|
|
3
|
-
import { f as exportTraceBundle, h as parseSSEStream, n as createSandboxInstanceFromResponse, r as normalizeStartupDiagnostics, u as normalizeConnection } from "./sandbox-
|
|
3
|
+
import { f as exportTraceBundle, h as parseSSEStream, n as createSandboxInstanceFromResponse, r as normalizeStartupDiagnostics, u as normalizeConnection } from "./sandbox-Cyy9YMhi.js";
|
|
4
4
|
//#region src/resources.ts
|
|
5
5
|
/**
|
|
6
6
|
* Compute tiers, ordered smallest → largest. Defined HERE (not imported from
|
package/dist/core.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as CreateSandboxOptions,
|
|
2
|
-
import { n as SandboxInstance } from "./sandbox-
|
|
3
|
-
import { i as SandboxClient } from "./client-
|
|
1
|
+
import { B as CreateSandboxOptions, Dr as SandboxInfo, Rr as SandboxStatus, Xn as SandboxClientConfig, cn as NetworkConfig, mn as PreviewLinkManager, ot as ExecOptions, pn as PreviewLinkInfo, st as ExecResult } from "./types-wRX4Rp-w.js";
|
|
2
|
+
import { n as SandboxInstance } from "./sandbox-C02suXVt.js";
|
|
3
|
+
import { i as SandboxClient } from "./client-CEKvv9MJ.js";
|
|
4
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-B-8AMQdY.js";
|
|
5
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
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-hbpL_-S6.js";
|
|
2
|
-
import { t as SandboxInstance } from "./sandbox-
|
|
3
|
-
import { n as SandboxClient } from "./client-
|
|
2
|
+
import { t as SandboxInstance } from "./sandbox-Cyy9YMhi.js";
|
|
3
|
+
import { n as SandboxClient } from "./client-CPeSqZZS.js";
|
|
4
4
|
export { AuthError, CapabilityError, NetworkError, NotFoundError, PartialFailureError, QuotaError, SandboxClient as Sandbox, SandboxClient, SandboxError, SandboxInstance, ServerError, StateError, TimeoutError, ValidationError };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as CreateSandboxOptions } from "./types-
|
|
2
|
-
import { n as SandboxInstance, t as HttpClient } from "./sandbox-
|
|
1
|
+
import { B as CreateSandboxOptions } from "./types-wRX4Rp-w.js";
|
|
2
|
+
import { n as SandboxInstance, t as HttpClient } from "./sandbox-C02suXVt.js";
|
|
3
3
|
|
|
4
4
|
//#region src/tangle/abi.d.ts
|
|
5
5
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { $ as DriverType, $i as
|
|
2
|
-
import { C as SANDBOX_MCP_SERVER_NAME, D as buildControlPlaneMcpConfig, E as SandboxMcpServerEntry, O as buildSandboxMcpConfig, S as CONTROL_PLANE_MCP_SERVER_NAME, T as SandboxMcpEndpoint, _ as InterruptResult, a as TraceExportSink, b as BuildControlPlaneMcpConfigOptions, c as otelTraceIdForTangleTrace, d as SandboxSession, f as InteractiveAuthFile, g as InteractiveSessionStatus, 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 RespondToPermissionOptions, w as SandboxMcpConfig, x as BuildSandboxMcpConfigOptions, y as StartInteractiveOptions } from "./sandbox-
|
|
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-
|
|
1
|
+
import { $ as DriverType, $i as AgentProfileResources, $n as SandboxEvent, $r as SecretsManager, $t as IntelligenceReportWindow, A as CodeResult, Ai as TeePublicKeyResponse, An as PublicTemplateVersionInfo, Ar as SandboxPortBinding, At as GPU_LEASE_PROVIDER_NAMES, B as CreateSandboxOptions, Bi as WriteFileOptions, Bn as Rollout, Br as SandboxTerminalInfo, Bt as GpuLeaseExecOptions, C as BatchTaskUsage, Ci as TaskSessionFileChange, Cn as PromptOptions, Cr as SandboxFleetWorkspace, Ct as FleetDispatchResultBufferOptions, Di as TeeAttestationReport, Dn as ProvisionStatus, Dr as SandboxInfo, Dt as FleetMachineId, E as ChunkedUploadResult, Ei as TeeAttestationOptions, En as ProvisionResult, Er as SandboxFleetWorkspaceSnapshotResult, F as CreateIntelligenceReportOptions, Fi as UploadOptions, Fn as ReconcileSandboxFleetsOptions, Fr as SandboxRuntimeHealth, Ft as GitDiff, G as DirectoryPermission, Gi as AgentProfileConfidential, Gn as RolloutStatus, Gr as SandboxTraceExport, Gt as GpuType, H as CreateTaskSessionOptions, Hi as WriteManyOptions, Hn as RolloutOptions, Hr as SandboxTerminalRequestOptions, Ht as GpuLeaseManager, I as CreateRequestOptions, Ii as UploadProgress, In as ReconcileSandboxFleetsResult, Ir as SandboxRuntimeProfile, It as GitStatus, J as DownloadOptions, Ji as AgentProfileMcpServer, Jn as SSHCommandDescriptor, Jr as ScopedToken, Jt as InstalledTool, K as DispatchPromptOptions, Ki as AgentProfileConnection, Kn as RolloutTurnPart, Kr as SandboxTraceOptions, Kt as HostAgentDriverConfig, L as CreateSandboxFleetOptions, Li as UsageInfo, Ln as RenameOptions, Lr as SandboxRuntimeProfileList, Lt as GpuLease, M as CommitTaskSessionOptions, Mi as ToolsConfig, Mn as PublishPublicTemplateVersionOptions, Mr as SandboxProfileSummary, Mt as GitBranch, N as CompletedTurnResult, Ni as TurnDriveResult, Nn as ReapExpiredSandboxFleetsOptions, Nr as SandboxResourceUsage, Nt as GitCommit, Oi as TeeAttestationResponse, On as ProvisionStep, Or as SandboxIntelligenceEnvelope, Ot as FleetPromptDispatchOptions, P as CreateGpuLeaseOptions, Pi as UpdateUserOptions, Pn as ReapExpiredSandboxFleetsResult, Pr as SandboxResources, Pt as GitConfig, Q as DriverInfo, Qi as AgentProfileResourceRef, Qn as SandboxEnvironment, Qr as SecretInfo, Qt as IntelligenceReportSubjectType, Ri as WaitForOptions, Rr as SandboxStatus, Rt as GpuLeaseBilling, S as BatchTaskResult, Si as TaskSessionCommitResult, Sr as SandboxFleetUsage, St as FleetDispatchResultBuffer, T as ChunkedUploadOptions, Ti as TaskSessionProfile, Tn as ProvisionEvent, Tr as SandboxFleetWorkspaceRestoreResult, Tt as FleetExecDispatchOptions, U as DeleteOptions, Ui as AgentProfile, Un as RolloutScorer, Ur as SandboxTraceBundle, Ut as GpuLeaseProviderName, V as CreateSessionOptions, Vi as WriteManyFile, Vn as RolloutChildResult, Vr as SandboxTerminalManager, Vt as GpuLeaseExecResult, W as DevServerInfo, Wi as AgentProfileCapabilities, Wn as RolloutStartResult, Wr as SandboxTraceEvent, Wt as GpuLeaseStatus, X as DriveTurnOptions, Xi as AgentProfilePermissionValue, Xn as SandboxClientConfig, Xr as SearchMatch, Xt as IntelligenceReportBudget, Y as DownloadProgress, Yi as AgentProfileModelHints, Yn as SSHCredentials, Yr as ScopedTokenScope, Yt as IntelligenceReport, Z as DriverConfig, Zi as AgentProfilePrompt, Zn as SandboxConnection, Zr as SearchOptions, Zt as IntelligenceReportCompareTo, _ as BatchResult, _i as StorageConfig, _n as ProcessLogEntry, _r as SandboxFleetToken, _t as FileTreeResult, a as AttachSandboxFleetMachineOptions, aa as agentProfileSchema, ai as SessionForkOptions, an as McpServerConfig, ar as SandboxFleetDriverCapability, at as ExactProcessSpawnOptions, b as BatchSidecarGroup, bi as TaskResult, bn as ProcessSpawnOptions, br as SandboxFleetTraceExport, bt as FileWriteResult, c as BackendInfo, ca as defineGitHubResource, ci as SessionMessage, cn as NetworkConfig, cr as SandboxFleetIntelligenceEnvelope, ct as FileInfo, d as BackendType, da as validateAgentProfileSecurity, di as SnapshotInfo, dn as PermissionLevel, dr as SandboxFleetMachineRecord, dt as FileReadError, ea as AgentProfileSecurityPolicy, ei as SendSessionMessageOptions, er as SandboxFleetArtifact, f as BatchBackend, fi as SnapshotOptions, fn as PermissionsManager, fr as SandboxFleetMachineSpec, ft as FileReadResult, g as BatchOptions, gi as StartupOperation, gn as ProcessInfo, gr as SandboxFleetPolicy, gt as FileTreeOptions, h as BatchEventDataMap, hi as StartupDiagnostics, hn as Process, hr as SandboxFleetOperationsSummary, ht as FileTreeFile, i as AttachGpuLeaseOptions, ia as Capability, ii as SessionEventStreamOptions, in as ListSandboxOptions, ir as SandboxFleetDispatchResponse, it as EventStreamOptions, ji as TokenRefreshHandler, jn as PublishPublicTemplateOptions, jr as SandboxPortPreviewLink, jt as GitAuth, ki as TeePublicKey, kn as PublicTemplateInfo, kr as SandboxPermissionsConfig, l as BackendManager, la as defineInlineResource, li as SessionMessageInputPart, ln as NetworkManager, lr as SandboxFleetMachine, lt as FileReadBatchOptions, m as BatchEvent, mn as PreviewLinkManager, mr as SandboxFleetManifestMachine, mt as FileSystem, n as AccessPolicyRule, na as AgentProfileValidationResult, ni as SentSessionMessage, nn as ListOptions, nr as SandboxFleetCostEstimate, nt as EgressPolicy, o as BackendCapabilities, oa as capabilitySchema, oi as SessionInfo, on as MintScopedTokenOptions, or as SandboxFleetDriverTimings, ot as ExecOptions, p as BatchBackendStats, pi as SnapshotResult, pn as PreviewLinkInfo, pr as SandboxFleetManifest, pt as FileRenameResult, q as DispatchedSession, qi as AgentProfileFileMount, qn as RunCodeOptions, qr as SandboxUser, qt as HostAgentRuntimeBackend, r as AddUserOptions, ra as AgentSubagentProfile, ri as SessionBackendCredentials, rn as ListSandboxFleetOptions, rr as SandboxFleetDispatchFailureClass, rt as EnsureDevServerOptions, s as BackendConfig, sa as defineAgentProfile, si as SessionListOptions, sn as MkdirOptions, sr as SandboxFleetInfo, st as ExecResult, t as AcceleratorKind, ta as AgentProfileValidationIssue, ti as SendSessionMessageRequest, tn as ListMessagesOptions, tr as SandboxFleetArtifactSpec, tt as EgressManager, u as BackendStatus, ua as mergeAgentProfiles, ui as SessionStatus, un as NonHostAgentDriverConfig, ur as SandboxFleetMachineMeteredUsage, ut as FileReadBatchResult, v as BatchRunOptions, vi as SubscriptionInfo, vn as ProcessManager, vr as SandboxFleetTraceBundle, vt as FileUsageOptions, w as BranchOptions, wi as TaskSessionInfo, wn as PromptResult, wr as SandboxFleetWorkspaceReconcileResult, wt as FleetDispatchStreamOptions, x as BatchTask, xi as TaskSessionChanges, xn as ProcessStatus, xr as SandboxFleetTraceOptions, xt as FleetDispatchCancelResult, y as BatchRunRequest, yi as TaskOptions, yn as ProcessSignal, yr as SandboxFleetTraceEvent, yt as FileUsageResult, z as CreateSandboxFleetWithCoordinatorOptions, zi as WaitForRolloutOptions, zr as SandboxTerminalCreateOptions, zt as GpuLeaseCommandResult } from "./types-wRX4Rp-w.js";
|
|
2
|
+
import { C as SANDBOX_MCP_SERVER_NAME, D as buildControlPlaneMcpConfig, E as SandboxMcpServerEntry, O as buildSandboxMcpConfig, S as CONTROL_PLANE_MCP_SERVER_NAME, T as SandboxMcpEndpoint, _ as InterruptResult, a as TraceExportSink, b as BuildControlPlaneMcpConfigOptions, c as otelTraceIdForTangleTrace, d as SandboxSession, f as InteractiveAuthFile, g as InteractiveSessionStatus, 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 RespondToPermissionOptions, w as SandboxMcpConfig, x as BuildSandboxMcpConfigOptions, y as StartInteractiveOptions } from "./sandbox-C02suXVt.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-CEKvv9MJ.js";
|
|
4
4
|
import { d as AnyTokenPayload, h as IssueCollaborationTokenOptions, m as CollaborationTokenPayload, p as CollaborationAccess } from "./index-CyHojkuA.js";
|
|
5
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
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-B-8AMQdY.js";
|
|
7
|
-
import { s as TangleSandboxClientConfig, t as TangleSandboxClient } from "./index-
|
|
7
|
+
import { s as TangleSandboxClientConfig, t as TangleSandboxClient } from "./index-C-tmqYod.js";
|
|
8
8
|
|
|
9
9
|
//#region src/attestation-heartbeat.d.ts
|
|
10
10
|
interface TeeAttestationHeartbeatSample {
|
|
@@ -1386,4 +1386,4 @@ interface RouterEvalMatrixCaseResult {
|
|
|
1386
1386
|
}
|
|
1387
1387
|
declare function runTangleRouterEvalMatrixInSandbox(options: RunTangleRouterEvalMatrixInSandboxOptions): Promise<RunTangleRouterEvalMatrixInSandboxResult>;
|
|
1388
1388
|
//#endregion
|
|
1389
|
-
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 AgentProfileSecurityPolicy, 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, type Capability, CapabilityError, type ChunkedUploadOptions, type ChunkedUploadResult, 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 CreateRequestOptions, type CreateSandboxFleetOptions, type CreateSandboxFleetWithCoordinatorOptions, type CreateSandboxOptions, type CreateSessionOptions, type CreateTaskSessionOptions, type CreateTeamOptions, DEFAULT_SANDBOX_SIZE, type DeleteOptions, type DevServerInfo, type DirectoryPermission, type DispatchPromptOptions, type DispatchedSession, type DownloadOptions, type DownloadProgress, type DriveTurnOptions, type DriverConfig, type DriverInfo, type DriverType, type EgressManager, type EgressPolicy, EgressProxyRecoveryError, type EnsureDevServerOptions, type EventStreamOptions, type ExactProcessSpawnOptions, type ExecOptions, type ExecResult, type FileInfo, type FileReadBatchOptions, type FileReadBatchResult, type FileReadError, type FileReadResult, type FileRenameResult, 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 InteractiveSessionStatus, 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 RenameOptions, type RespondToPermissionOptions, type Rollout, type RolloutChildResult, type RolloutOptions, type RolloutScorer, type RolloutStartResult, type RolloutStatus, type RolloutTurnPart, 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 WaitForRolloutOptions, type WriteFileOptions, type WriteManyFile, type WriteManyOptions, agentProfileSchema, applySandboxEventText, buildCollaborationDocumentId, buildControlPlaneMcpConfig, buildSandboxMcpConfig, buildTangleRouterEvalMatrixRequest, buildTangleRouterResponsesWebSearchRequest, buildTangleRouterSearchBackend, buildTangleRouterSearchProfile, buildTraceExportPayload, capabilitySchema, 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, validateAgentProfileSecurity, validateDeferredProfileFileMounts };
|
|
1389
|
+
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 AgentProfileSecurityPolicy, 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, type Capability, CapabilityError, type ChunkedUploadOptions, type ChunkedUploadResult, 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 CreateRequestOptions, type CreateSandboxFleetOptions, type CreateSandboxFleetWithCoordinatorOptions, type CreateSandboxOptions, type CreateSessionOptions, type CreateTaskSessionOptions, type CreateTeamOptions, DEFAULT_SANDBOX_SIZE, type DeleteOptions, type DevServerInfo, type DirectoryPermission, type DispatchPromptOptions, type DispatchedSession, type DownloadOptions, type DownloadProgress, type DriveTurnOptions, type DriverConfig, type DriverInfo, type DriverType, type EgressManager, type EgressPolicy, EgressProxyRecoveryError, type EnsureDevServerOptions, type EventStreamOptions, type ExactProcessSpawnOptions, type ExecOptions, type ExecResult, type FileInfo, type FileReadBatchOptions, type FileReadBatchResult, type FileReadError, type FileReadResult, type FileRenameResult, type FileSystem, type FileTreeFile, type FileTreeOptions, type FileTreeResult, type FileUsageOptions, type FileUsageResult, 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 InteractiveSessionStatus, 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 RenameOptions, type RespondToPermissionOptions, type Rollout, type RolloutChildResult, type RolloutOptions, type RolloutScorer, type RolloutStartResult, type RolloutStatus, type RolloutTurnPart, 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 WaitForRolloutOptions, type WriteFileOptions, type WriteManyFile, type WriteManyOptions, agentProfileSchema, applySandboxEventText, buildCollaborationDocumentId, buildControlPlaneMcpConfig, buildSandboxMcpConfig, buildTangleRouterEvalMatrixRequest, buildTangleRouterResponsesWebSearchRequest, buildTangleRouterSearchBackend, buildTangleRouterSearchProfile, buildTraceExportPayload, capabilitySchema, 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, validateAgentProfileSecurity, validateDeferredProfileFileMounts };
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { d as serializeForSidecar, l as normalizeRuntimeBackendConfig } from "./runtime-api-
|
|
1
|
+
import { d as serializeForSidecar, l as normalizeRuntimeBackendConfig } from "./runtime-api-DCMrscis.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-hbpL_-S6.js";
|
|
3
|
-
import { a as SandboxSession, c as collectAgentResponseText, d as buildTraceExportPayload, f as exportTraceBundle, h as parseSSEStream, i as SandboxTaskSession, l as getSandboxEventText, m as toOtelJson, o as InteractiveSessionHandle, p as otelTraceIdForTangleTrace, s as applySandboxEventText, t as SandboxInstance } from "./sandbox-
|
|
4
|
-
import { a as validateDeferredProfileFileMounts, c as DEFAULT_SANDBOX_SIZE, d as resolveSandboxResources, f as sandboxResourcesForSize, i as splitInlineProfileFileMounts, l as SANDBOX_SIZE_PRESETS, n as SandboxClient, o as SandboxFleet, r as materializeProfileFileMounts, s as SandboxFleetClient, t as IntelligenceClient, u as SANDBOX_SIZE_PRESET_NAMES } from "./client-
|
|
3
|
+
import { a as SandboxSession, c as collectAgentResponseText, d as buildTraceExportPayload, f as exportTraceBundle, h as parseSSEStream, i as SandboxTaskSession, l as getSandboxEventText, m as toOtelJson, o as InteractiveSessionHandle, p as otelTraceIdForTangleTrace, s as applySandboxEventText, t as SandboxInstance } from "./sandbox-Cyy9YMhi.js";
|
|
4
|
+
import { a as validateDeferredProfileFileMounts, c as DEFAULT_SANDBOX_SIZE, d as resolveSandboxResources, f as sandboxResourcesForSize, i as splitInlineProfileFileMounts, l as SANDBOX_SIZE_PRESETS, n as SandboxClient, o as SandboxFleet, r as materializeProfileFileMounts, s as SandboxFleetClient, t as IntelligenceClient, u as SANDBOX_SIZE_PRESET_NAMES } from "./client-CPeSqZZS.js";
|
|
5
5
|
import { a as CollaborationClient, i as parseCollaborationDocumentId, n as buildCollaborationDocumentId, r as normalizeCollaborationPath, t as CollaborationFileBridge } from "./collaboration-CeNQA9H_.js";
|
|
6
|
-
import { t as TangleSandboxClient } from "./tangle-
|
|
6
|
+
import { t as TangleSandboxClient } from "./tangle-CD0kXNuo.js";
|
|
7
7
|
import { agentProfileSchema, capabilitySchema, defineAgentProfile, defineGitHubResource, defineInlineResource, mergeAgentProfiles, validateAgentProfileSecurity } from "@tangle-network/agent-interface";
|
|
8
8
|
//#region src/confidential.ts
|
|
9
9
|
function generateAttestationNonce(bytes = 32) {
|
|
@@ -507,6 +507,12 @@ var SandboxRuntimeApi = class {
|
|
|
507
507
|
if (options.sessionId) params.set("sessionId", options.sessionId);
|
|
508
508
|
return (await this.json(`/files/tree?${params}`, { method: "GET" })).data;
|
|
509
509
|
}
|
|
510
|
+
async fileUsage(path, options = {}) {
|
|
511
|
+
await this.transport.ensureRunning();
|
|
512
|
+
const params = new URLSearchParams({ path });
|
|
513
|
+
if (options.sessionId) params.set("sessionId", options.sessionId);
|
|
514
|
+
return (await this.json(`/files/usage?${params}`, { method: "GET" })).data;
|
|
515
|
+
}
|
|
510
516
|
async createSession(options) {
|
|
511
517
|
await this.transport.ensureRunning();
|
|
512
518
|
const info = normalizeSessionInfo(await this.json("/agents/sessions", {
|
package/dist/runtime.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ar as SandboxPortBinding, Bi as WriteFileOptions, Br as SandboxTerminalInfo, E as ChunkedUploadResult, Fr as SandboxRuntimeHealth, H as CreateTaskSessionOptions, Hr as SandboxTerminalRequestOptions, Ii as UploadProgress, Ln as RenameOptions, Lr as SandboxRuntimeProfileList, M as CommitTaskSessionOptions, Si as TaskSessionCommitResult, T as ChunkedUploadOptions, V as CreateSessionOptions, Vr as SandboxTerminalManager, _t as FileTreeResult, bt as FileWriteResult, ci as SessionMessage, ei as SendSessionMessageOptions, gt as FileTreeOptions, lt as FileReadBatchOptions, ni as SentSessionMessage, oi as SessionInfo, pt as FileRenameResult, ti as SendSessionMessageRequest, tn as ListMessagesOptions, ut as FileReadBatchResult, vt as FileUsageOptions, wi as TaskSessionInfo, xi as TaskSessionChanges, yt as FileUsageResult, zr as SandboxTerminalCreateOptions } from "./types-wRX4Rp-w.js";
|
|
2
2
|
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-B-8AMQdY.js";
|
|
3
3
|
|
|
4
4
|
//#region src/lib/chunked-upload.d.ts
|
|
@@ -60,6 +60,7 @@ declare class SandboxRuntimeApi {
|
|
|
60
60
|
deleteFile(path: string, options?: Pick<WriteFileOptions, "sessionId">): Promise<void>;
|
|
61
61
|
renameFile(sourcePath: string, destinationPath: string, options?: RenameOptions): Promise<FileRenameResult>;
|
|
62
62
|
fileTree(path: string, options?: FileTreeOptions): Promise<FileTreeResult>;
|
|
63
|
+
fileUsage(path: string, options?: FileUsageOptions): Promise<FileUsageResult>;
|
|
63
64
|
createSession(options: CreateSessionOptions): Promise<SessionInfo>;
|
|
64
65
|
messages(id: string, options?: Omit<ListMessagesOptions, "sessionId">): Promise<SessionMessage[]>;
|
|
65
66
|
createTaskSession(options: CreateTaskSessionOptions): Promise<TaskSessionInfo>;
|
package/dist/runtime.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as combineAbortSignals, r as uploadChunked, t as SandboxRuntimeApi } from "./runtime-api-
|
|
1
|
+
import { o as combineAbortSignals, r as uploadChunked, t as SandboxRuntimeApi } from "./runtime-api-DCMrscis.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, s as QuotaError, t as AuthError, u as StateError } from "./errors-hbpL_-S6.js";
|
|
3
3
|
//#region src/runtime-client.ts
|
|
4
4
|
const DEFAULT_RUNTIME_TIMEOUT_MS = 3e4;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $
|
|
1
|
+
import { $n as SandboxEvent, $t as IntelligenceReportWindow, Ai as TeePublicKeyResponse, Ar as SandboxPortBinding, Bi as WriteFileOptions, Bn as Rollout, Cn as PromptOptions, D as CodeExecutionOptions, Dr as SandboxInfo, Ei as TeeAttestationOptions, En as ProvisionResult, Fr as SandboxRuntimeHealth, Ft as GitDiff, H as CreateTaskSessionOptions, Hi as WriteManyOptions, Hn as RolloutOptions, Ht as GpuLeaseManager, It as GitStatus, Jn as SSHCommandDescriptor, Jr as ScopedToken, Jt as InstalledTool, K as DispatchPromptOptions, Kr as SandboxTraceOptions, Lr as SandboxRuntimeProfileList, Lt as GpuLease, M as CommitTaskSessionOptions, Mt as GitBranch, N as CompletedTurnResult, Ni as TurnDriveResult, Nr as SandboxResourceUsage, Nt as GitCommit, O as CodeExecutionResult, Oi as TeeAttestationResponse, Q as DriverInfo, Ri as WaitForOptions, Rn as RestoreSnapshotOptions, Rr as SandboxStatus, Si as TaskSessionCommitResult, Sn as PromptInputPart, Tn as ProvisionEvent, Ur as SandboxTraceBundle, V as CreateSessionOptions, Vi as WriteManyFile, Vr as SandboxTerminalManager, Wn as RolloutStartResult, X as DriveTurnOptions, Xr as SearchMatch, Xt as IntelligenceReportBudget, Yn as SSHCredentials, Yt as IntelligenceReport, Zn as SandboxConnection, Zr as SearchOptions, Zt as IntelligenceReportCompareTo, ai as SessionForkOptions, bi as TaskResult, bt as FileWriteResult, ci as SessionMessage, di as SnapshotInfo, ei as SendSessionMessageOptions, en as JsonValue, et as DurablePlan, fi as SnapshotOptions, fn as PermissionsManager, hi as StartupDiagnostics, ii as SessionEventStreamOptions, it as EventStreamOptions, k as CodeLanguage, l as BackendManager, ln as NetworkManager, mn as PreviewLinkManager, mt as FileSystem, ni as SentSessionMessage, oi as SessionInfo, on as MintScopedTokenOptions, ot as ExecOptions, pi as SnapshotResult, q as DispatchedSession, s as BackendConfig, si as SessionListOptions, st as ExecResult, ti as SendSessionMessageRequest, tn as ListMessagesOptions, tt as EgressManager, vn as ProcessManager, vr as SandboxFleetTraceBundle, w as BranchOptions, wi as TaskSessionInfo, wn as PromptResult, xi as TaskSessionChanges, yi as TaskOptions, zi as WaitForRolloutOptions, zn as ResumeOptions } from "./types-wRX4Rp-w.js";
|
|
2
2
|
import { AgentProfile } from "@tangle-network/agent-interface";
|
|
3
3
|
|
|
4
4
|
//#region src/mcp.d.ts
|
|
@@ -956,6 +956,7 @@ declare class SandboxInstance {
|
|
|
956
956
|
get fs(): FileSystem;
|
|
957
957
|
private fsReadBatch;
|
|
958
958
|
private fsTree;
|
|
959
|
+
private fsUsage;
|
|
959
960
|
private fsUpload;
|
|
960
961
|
/** See {@link FileSystem.uploadData}. Delegates to the shared, browser-safe
|
|
961
962
|
* chunked-upload flow in `lib/chunked-upload.ts`, wired to this sandbox's
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as normalizeRuntimeBackendConfig, n as normalizeSessionInfo, o as combineAbortSignals, r as uploadChunked, s as encodePromptForWire, t as SandboxRuntimeApi, u as normalizeRuntimeModelOverride } from "./runtime-api-
|
|
1
|
+
import { l as normalizeRuntimeBackendConfig, n as normalizeSessionInfo, o as combineAbortSignals, r as uploadChunked, s as encodePromptForWire, t as SandboxRuntimeApi, u as normalizeRuntimeModelOverride } from "./runtime-api-DCMrscis.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, p as parseErrorResponse, s as QuotaError, t as AuthError, u as StateError } from "./errors-hbpL_-S6.js";
|
|
3
3
|
import { addTokenUsage, readTokenCostUsd, readTokenUsage } from "@tangle-network/agent-core";
|
|
4
4
|
//#region src/lib/sse-parser.ts
|
|
@@ -2429,6 +2429,7 @@ var SandboxInstance = class SandboxInstance {
|
|
|
2429
2429
|
read: (path) => this.read(path),
|
|
2430
2430
|
readBatch: (paths, options) => this.fsReadBatch(paths, options),
|
|
2431
2431
|
tree: (path, options) => this.fsTree(path, options),
|
|
2432
|
+
usage: (path, options) => this.fsUsage(path, options),
|
|
2432
2433
|
write: (path, content, options) => this.write(path, content, options),
|
|
2433
2434
|
writeMany: (files, options) => this.writeMany(files, options),
|
|
2434
2435
|
search: (query, options) => this.search(query, options),
|
|
@@ -2451,6 +2452,9 @@ var SandboxInstance = class SandboxInstance {
|
|
|
2451
2452
|
async fsTree(path, options = {}) {
|
|
2452
2453
|
return this.runtime.fileTree(path, options);
|
|
2453
2454
|
}
|
|
2455
|
+
async fsUsage(path, options = {}) {
|
|
2456
|
+
return this.runtime.fileUsage(path, options);
|
|
2457
|
+
}
|
|
2454
2458
|
async fsUpload(localPath, remotePath, options) {
|
|
2455
2459
|
await this.ensureRunning();
|
|
2456
2460
|
const fs = await import("node:fs/promises");
|
package/dist/tangle/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TANGLE_JOBS_CONTRACT, c as AgentSandboxBlueprintAbi, d as SandboxCreateParamTypes, f as SandboxCreateResponseParamTypes, i as TANGLE_CHAIN_ID, l as ITangleJobsAbi, n as JOB_SANDBOX_CREATE, o as TANGLE_MAINNET_RPC, p as SandboxIdParamTypes, r as JOB_SANDBOX_DELETE, s as TangleSandboxClientConfig, t as TangleSandboxClient, u as JsonResponseParamTypes } from "../index-
|
|
1
|
+
import { a as TANGLE_JOBS_CONTRACT, c as AgentSandboxBlueprintAbi, d as SandboxCreateParamTypes, f as SandboxCreateResponseParamTypes, i as TANGLE_CHAIN_ID, l as ITangleJobsAbi, n as JOB_SANDBOX_CREATE, o as TANGLE_MAINNET_RPC, p as SandboxIdParamTypes, r as JOB_SANDBOX_DELETE, s as TangleSandboxClientConfig, t as TangleSandboxClient, u as JsonResponseParamTypes } from "../index-C-tmqYod.js";
|
|
2
2
|
export { AgentSandboxBlueprintAbi, ITangleJobsAbi, JOB_SANDBOX_CREATE, JOB_SANDBOX_DELETE, JsonResponseParamTypes, SandboxCreateParamTypes, SandboxCreateResponseParamTypes, SandboxIdParamTypes, TANGLE_CHAIN_ID, TANGLE_JOBS_CONTRACT, TANGLE_MAINNET_RPC, TangleSandboxClient, TangleSandboxClientConfig };
|
package/dist/tangle/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TANGLE_JOBS_CONTRACT, c as ITangleJobsAbi, d as SandboxCreateResponseParamTypes, f as SandboxIdParamTypes, i as TANGLE_CHAIN_ID, l as JsonResponseParamTypes, n as JOB_SANDBOX_CREATE, o as TANGLE_MAINNET_RPC, r as JOB_SANDBOX_DELETE, s as AgentSandboxBlueprintAbi, t as TangleSandboxClient, u as SandboxCreateParamTypes } from "../tangle-
|
|
1
|
+
import { a as TANGLE_JOBS_CONTRACT, c as ITangleJobsAbi, d as SandboxCreateResponseParamTypes, f as SandboxIdParamTypes, i as TANGLE_CHAIN_ID, l as JsonResponseParamTypes, n as JOB_SANDBOX_CREATE, o as TANGLE_MAINNET_RPC, r as JOB_SANDBOX_DELETE, s as AgentSandboxBlueprintAbi, t as TangleSandboxClient, u as SandboxCreateParamTypes } from "../tangle-CD0kXNuo.js";
|
|
2
2
|
export { AgentSandboxBlueprintAbi, ITangleJobsAbi, JOB_SANDBOX_CREATE, JOB_SANDBOX_DELETE, JsonResponseParamTypes, SandboxCreateParamTypes, SandboxCreateResponseParamTypes, SandboxIdParamTypes, TANGLE_CHAIN_ID, TANGLE_JOBS_CONTRACT, TANGLE_MAINNET_RPC, TangleSandboxClient };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as parseErrorResponse } from "./errors-hbpL_-S6.js";
|
|
2
|
-
import { n as createSandboxInstanceFromResponse } from "./sandbox-
|
|
2
|
+
import { n as createSandboxInstanceFromResponse } from "./sandbox-Cyy9YMhi.js";
|
|
3
3
|
//#region src/tangle/abi.ts
|
|
4
4
|
/**
|
|
5
5
|
* Tangle Contract ABI Definitions
|
|
@@ -3436,14 +3436,14 @@ interface BackendConfig {
|
|
|
3436
3436
|
/** Runtime session metadata used for attribution and workspace selection. */
|
|
3437
3437
|
metadata?: {
|
|
3438
3438
|
containerType?: string;
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
|
|
3443
|
-
|
|
3444
|
-
|
|
3445
|
-
|
|
3446
|
-
|
|
3439
|
+
/**
|
|
3440
|
+
* Non-secret labels attached to execution traces.
|
|
3441
|
+
*
|
|
3442
|
+
* Maximum 32 entries; keys are at most 128 characters and values at most
|
|
3443
|
+
* 1024 characters. The Sandbox platform owns collector configuration and
|
|
3444
|
+
* credentials. Never put API keys, tokens, cookies, or user content here.
|
|
3445
|
+
*/
|
|
3446
|
+
traceAttributes?: Record<string, string>;
|
|
3447
3447
|
};
|
|
3448
3448
|
}
|
|
3449
3449
|
/**
|
|
@@ -4495,6 +4495,36 @@ interface FileTreeResult {
|
|
|
4495
4495
|
truncated: boolean;
|
|
4496
4496
|
};
|
|
4497
4497
|
}
|
|
4498
|
+
/** Options for measuring aggregate workspace storage usage. */
|
|
4499
|
+
interface FileUsageOptions {
|
|
4500
|
+
/** Task session id for session-specific workspace isolation. */
|
|
4501
|
+
sessionId?: string;
|
|
4502
|
+
}
|
|
4503
|
+
/**
|
|
4504
|
+
* Aggregate apparent storage usage for a customer workspace.
|
|
4505
|
+
*
|
|
4506
|
+
* Hidden files, dependency trees, caches, and build output are included.
|
|
4507
|
+
* Runtime-owned `.sidecar` directories are excluded, and symlinks are counted
|
|
4508
|
+
* by their own metadata without following their targets.
|
|
4509
|
+
*/
|
|
4510
|
+
interface FileUsageResult {
|
|
4511
|
+
/** Scanned root, relative to the workspace when applicable. */
|
|
4512
|
+
root: string;
|
|
4513
|
+
/** Sum of regular-file and symlink apparent sizes. */
|
|
4514
|
+
sizeBytes: number;
|
|
4515
|
+
/** Number of regular files and symlinks. */
|
|
4516
|
+
fileCount: number;
|
|
4517
|
+
/** Number of customer-owned directories, excluding the root. */
|
|
4518
|
+
directoryCount: number;
|
|
4519
|
+
/** Latest observed modification time as Unix milliseconds. */
|
|
4520
|
+
lastModifiedMs: number;
|
|
4521
|
+
/** Time spent scanning the workspace. */
|
|
4522
|
+
scanDurationMs: number;
|
|
4523
|
+
/** False when limits or unreadable entries prevented a complete result. */
|
|
4524
|
+
complete: boolean;
|
|
4525
|
+
/** Entries skipped because their metadata could not be read. */
|
|
4526
|
+
skippedEntries: number;
|
|
4527
|
+
}
|
|
4498
4528
|
/** File content and metadata returned by a batch read. */
|
|
4499
4529
|
interface FileReadResult {
|
|
4500
4530
|
path: string;
|
|
@@ -4743,6 +4773,13 @@ interface FileSystem {
|
|
|
4743
4773
|
readBatch(paths: string[], options?: FileReadBatchOptions): Promise<FileReadBatchResult>;
|
|
4744
4774
|
/** Recursively scan the workspace and return file metadata. */
|
|
4745
4775
|
tree(path: string, options?: FileTreeOptions): Promise<FileTreeResult>;
|
|
4776
|
+
/**
|
|
4777
|
+
* Measure complete aggregate workspace usage without returning a file list.
|
|
4778
|
+
* Unlike {@link FileSystem.tree}, this includes hidden files, dependencies,
|
|
4779
|
+
* caches, and build output. Check `complete` before using the result for
|
|
4780
|
+
* accounting or quota decisions.
|
|
4781
|
+
*/
|
|
4782
|
+
usage(path: string, options?: FileUsageOptions): Promise<FileUsageResult>;
|
|
4746
4783
|
/**
|
|
4747
4784
|
* Write string content to a file.
|
|
4748
4785
|
* For binary files, use upload() instead.
|
|
@@ -5054,4 +5091,4 @@ interface CodeExecutionOptions {
|
|
|
5054
5091
|
idempotencyKey?: string;
|
|
5055
5092
|
}
|
|
5056
5093
|
//#endregion
|
|
5057
|
-
export { DriverType as $,
|
|
5094
|
+
export { DriverType as $, AgentProfileResources as $i, SandboxEvent as $n, SecretsManager as $r, IntelligenceReportWindow as $t, CodeResult as A, TeePublicKeyResponse as Ai, PublicTemplateVersionInfo as An, SandboxPortBinding as Ar, GPU_LEASE_PROVIDER_NAMES as At, CreateSandboxOptions as B, WriteFileOptions as Bi, Rollout as Bn, SandboxTerminalInfo as Br, GpuLeaseExecOptions as Bt, BatchTaskUsage as C, TaskSessionFileChange as Ci, PromptOptions as Cn, SandboxFleetWorkspace as Cr, FleetDispatchResultBufferOptions as Ct, CodeExecutionOptions as D, TeeAttestationReport as Di, ProvisionStatus as Dn, SandboxInfo as Dr, FleetMachineId as Dt, ChunkedUploadResult as E, TeeAttestationOptions as Ei, ProvisionResult as En, SandboxFleetWorkspaceSnapshotResult as Er, FleetExecDispatchResult as Et, CreateIntelligenceReportOptions as F, UploadOptions as Fi, ReconcileSandboxFleetsOptions as Fn, SandboxRuntimeHealth as Fr, GitDiff as Ft, DirectoryPermission as G, AgentProfileConfidential as Gi, RolloutStatus as Gn, SandboxTraceExport as Gr, GpuType as Gt, CreateTaskSessionOptions as H, WriteManyOptions as Hi, RolloutOptions as Hn, SandboxTerminalRequestOptions as Hr, GpuLeaseManager as Ht, CreateRequestOptions as I, UploadProgress as Ii, ReconcileSandboxFleetsResult as In, SandboxRuntimeProfile as Ir, GitStatus as It, DownloadOptions as J, AgentProfileMcpServer as Ji, SSHCommandDescriptor as Jn, ScopedToken as Jr, InstalledTool as Jt, DispatchPromptOptions as K, AgentProfileConnection as Ki, RolloutTurnPart as Kn, SandboxTraceOptions as Kr, HostAgentDriverConfig as Kt, CreateSandboxFleetOptions as L, UsageInfo as Li, RenameOptions as Ln, SandboxRuntimeProfileList as Lr, GpuLease as Lt, CommitTaskSessionOptions as M, ToolsConfig as Mi, PublishPublicTemplateVersionOptions as Mn, SandboxProfileSummary as Mr, GitBranch as Mt, CompletedTurnResult as N, TurnDriveResult as Ni, ReapExpiredSandboxFleetsOptions as Nn, SandboxResourceUsage as Nr, GitCommit as Nt, CodeExecutionResult as O, TeeAttestationResponse as Oi, ProvisionStep as On, SandboxIntelligenceEnvelope as Or, FleetPromptDispatchOptions as Ot, CreateGpuLeaseOptions as P, UpdateUserOptions as Pi, ReapExpiredSandboxFleetsResult as Pn, SandboxResources as Pr, GitConfig as Pt, DriverInfo as Q, AgentProfileResourceRef as Qi, SandboxEnvironment as Qn, SecretInfo as Qr, IntelligenceReportSubjectType as Qt, CreateSandboxFleetTokenOptions as R, WaitForOptions as Ri, RestoreSnapshotOptions as Rn, SandboxStatus as Rr, GpuLeaseBilling as Rt, BatchTaskResult as S, TaskSessionCommitResult as Si, PromptInputPart as Sn, SandboxFleetUsage as Sr, FleetDispatchResultBuffer as St, ChunkedUploadOptions as T, TaskSessionProfile as Ti, ProvisionEvent as Tn, SandboxFleetWorkspaceRestoreResult as Tr, FleetExecDispatchOptions as Tt, DeleteOptions as U, AgentProfile$1 as Ui, RolloutScorer as Un, SandboxTraceBundle as Ur, GpuLeaseProviderName as Ut, CreateSessionOptions as V, WriteManyFile as Vi, RolloutChildResult as Vn, SandboxTerminalManager as Vr, GpuLeaseExecResult as Vt, DevServerInfo as W, AgentProfileCapabilities as Wi, RolloutStartResult as Wn, SandboxTraceEvent as Wr, GpuLeaseStatus as Wt, DriveTurnOptions as X, AgentProfilePermissionValue as Xi, SandboxClientConfig as Xn, SearchMatch as Xr, IntelligenceReportBudget as Xt, DownloadProgress as Y, AgentProfileModelHints as Yi, SSHCredentials as Yn, ScopedTokenScope as Yr, IntelligenceReport as Yt, DriverConfig as Z, AgentProfilePrompt as Zi, SandboxConnection as Zn, SearchOptions as Zr, IntelligenceReportCompareTo as Zt, BatchResult as _, StorageConfig as _i, ProcessLogEntry as _n, SandboxFleetToken as _r, FileTreeResult as _t, AttachSandboxFleetMachineOptions as a, agentProfileSchema as aa, SessionForkOptions as ai, McpServerConfig as an, SandboxFleetDriverCapability as ar, ExactProcessSpawnOptions as at, BatchSidecarGroup as b, TaskResult as bi, ProcessSpawnOptions as bn, SandboxFleetTraceExport as br, FileWriteResult as bt, BackendInfo as c, defineGitHubResource as ca, SessionMessage as ci, NetworkConfig as cn, SandboxFleetIntelligenceEnvelope as cr, FileInfo as ct, BackendType as d, validateAgentProfileSecurity as da, SnapshotInfo as di, PermissionLevel as dn, SandboxFleetMachineRecord as dr, FileReadError as dt, AgentProfileSecurityPolicy as ea, SendSessionMessageOptions as ei, JsonValue as en, SandboxFleetArtifact as er, DurablePlan as et, BatchBackend as f, SnapshotOptions as fi, PermissionsManager as fn, SandboxFleetMachineSpec as fr, FileReadResult as ft, BatchOptions as g, StartupOperation as gi, ProcessInfo as gn, SandboxFleetPolicy as gr, FileTreeOptions as gt, BatchEventDataMap as h, StartupDiagnostics as hi, Process as hn, SandboxFleetOperationsSummary as hr, FileTreeFile as ht, AttachGpuLeaseOptions as i, Capability as ia, SessionEventStreamOptions as ii, ListSandboxOptions as in, SandboxFleetDispatchResponse as ir, EventStreamOptions as it, CodeResultPart as j, TokenRefreshHandler as ji, PublishPublicTemplateOptions as jn, SandboxPortPreviewLink as jr, GitAuth as jt, CodeLanguage as k, TeePublicKey as ki, PublicTemplateInfo as kn, SandboxPermissionsConfig as kr, FleetPromptDispatchResult as kt, BackendManager as l, defineInlineResource as la, SessionMessageInputPart as li, NetworkManager as ln, SandboxFleetMachine as lr, FileReadBatchOptions as lt, BatchEvent as m, SshKeysManager as mi, PreviewLinkManager as mn, SandboxFleetManifestMachine as mr, FileSystem as mt, AccessPolicyRule as n, AgentProfileValidationResult as na, SentSessionMessage as ni, ListOptions as nn, SandboxFleetCostEstimate as nr, EgressPolicy as nt, BackendCapabilities as o, capabilitySchema as oa, SessionInfo as oi, MintScopedTokenOptions as on, SandboxFleetDriverTimings as or, ExecOptions as ot, BatchBackendStats as p, SnapshotResult as pi, PreviewLinkInfo as pn, SandboxFleetManifest as pr, FileRenameResult as pt, DispatchedSession as q, AgentProfileFileMount as qi, RunCodeOptions as qn, SandboxUser as qr, HostAgentRuntimeBackend as qt, AddUserOptions as r, AgentSubagentProfile as ra, SessionBackendCredentials as ri, ListSandboxFleetOptions as rn, SandboxFleetDispatchFailureClass as rr, EnsureDevServerOptions as rt, BackendConfig as s, defineAgentProfile as sa, SessionListOptions as si, MkdirOptions as sn, SandboxFleetInfo as sr, ExecResult as st, AcceleratorKind as t, AgentProfileValidationIssue as ta, SendSessionMessageRequest as ti, ListMessagesOptions as tn, SandboxFleetArtifactSpec as tr, EgressManager as tt, BackendStatus as u, mergeAgentProfiles as ua, SessionStatus as ui, NonHostAgentDriverConfig as un, SandboxFleetMachineMeteredUsage as ur, FileReadBatchResult as ut, BatchRunOptions as v, SubscriptionInfo as vi, ProcessManager as vn, SandboxFleetTraceBundle as vr, FileUsageOptions as vt, BranchOptions as w, TaskSessionInfo as wi, PromptResult as wn, SandboxFleetWorkspaceReconcileResult as wr, FleetDispatchStreamOptions as wt, BatchTask as x, TaskSessionChanges as xi, ProcessStatus as xn, SandboxFleetTraceOptions as xr, FleetDispatchCancelResult as xt, BatchRunRequest as y, TaskOptions as yi, ProcessSignal as yn, SandboxFleetTraceEvent as yr, FileUsageResult as yt, CreateSandboxFleetWithCoordinatorOptions as z, WaitForRolloutOptions as zi, ResumeOptions as zn, SandboxTerminalCreateOptions as zr, GpuLeaseCommandResult as zt };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sandbox",
|
|
3
|
-
"version": "0.11.1-develop.
|
|
3
|
+
"version": "0.11.1-develop.20260720070135.70709ad",
|
|
4
4
|
"description": "Client SDK for the Tangle Sandbox platform - build AI agent applications with dev containers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -125,7 +125,8 @@
|
|
|
125
125
|
"vitest": "^4.1.5",
|
|
126
126
|
"ws": "^8.20.0",
|
|
127
127
|
"yjs": "13.6.30",
|
|
128
|
-
"@tangle-network/runtime-contracts": "0.1.0"
|
|
128
|
+
"@tangle-network/runtime-contracts": "0.1.0",
|
|
129
|
+
"@repo/shared": "0.0.0"
|
|
129
130
|
},
|
|
130
131
|
"scripts": {
|
|
131
132
|
"build": "tsdown",
|