@tangle-network/sandbox 0.29.0-develop.20260819083239.92e9b26 → 0.29.0-develop.20260819122040.176c418
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent/index.d.ts +1 -1
- package/dist/agent/index.js +1 -1
- package/dist/{client-BiSZSmdt.js → client-D2sf4RrG.js} +2 -31
- package/dist/{client-Bt8gTWsD.d.ts → client-DesHTixL.d.ts} +0 -10
- package/dist/core.d.ts +1 -1
- package/dist/core.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/agent/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as SandboxSession, h as SandboxTaskSession, r as SandboxInstance } from "../sandbox-BE2GsJZ3.js";
|
|
2
2
|
import { C as CodeResultPart, S as CodeLanguage, b as CodeExecutionOptions, gi as SessionListOptions, mi as SessionInfo, s as BackendConfig, x as CodeExecutionResult } from "../types-CA5phY-u.js";
|
|
3
|
-
import { i as Sandbox } from "../client-
|
|
3
|
+
import { i as Sandbox } from "../client-DesHTixL.js";
|
|
4
4
|
import * as _$_modelcontextprotocol_sdk_server_index_js0 from "@modelcontextprotocol/sdk/server/index.js";
|
|
5
5
|
|
|
6
6
|
//#region src/agent/instances.d.ts
|
package/dist/agent/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { f as assertCurrentBackendType } from "../runtime-api-CK-4S7oA.js";
|
|
2
2
|
import { d as StateError, o as NotFoundError, p as ValidationError } from "../errors-C6kn-3zt.js";
|
|
3
|
-
import { n as Sandbox } from "../client-
|
|
3
|
+
import { n as Sandbox } from "../client-D2sf4RrG.js";
|
|
4
4
|
import { t as SandboxInstance } from "../sandbox-BwIaQcE7.js";
|
|
5
5
|
import { createRequire } from "node:module";
|
|
6
6
|
//#region src/agent/instances.ts
|
|
@@ -2369,21 +2369,6 @@ async function broadcastSessionAgentEvent(client, sessionId, event) {
|
|
|
2369
2369
|
}
|
|
2370
2370
|
//#endregion
|
|
2371
2371
|
//#region src/client.ts
|
|
2372
|
-
/**
|
|
2373
|
-
* Auth accelerator header. The API returns a short-lived signed token on
|
|
2374
|
-
* any request it authenticated by verifying the API key against the
|
|
2375
|
-
* platform; echoing that token on later requests lets the API re-establish
|
|
2376
|
-
* the same identity with an in-process signature check instead of a
|
|
2377
|
-
* cross-region round trip to id.tangle.tools (measured at ~240ms median
|
|
2378
|
-
* per verification, so a multi-call operation pays it once instead of once
|
|
2379
|
-
* per call).
|
|
2380
|
-
*
|
|
2381
|
-
* Same name in both directions so a client can blindly forward the last
|
|
2382
|
-
* value it saw. The token is bound server-side to the API key it was
|
|
2383
|
-
* minted for and expires in ~60s, so holding one grants nothing on its own
|
|
2384
|
-
* and never widens what the key can reach.
|
|
2385
|
-
*/
|
|
2386
|
-
const AUTH_ACCELERATOR_HEADER = "X-Sandbox-Auth-Token";
|
|
2387
2372
|
const DEFAULT_TIMEOUT_MS = 3e4;
|
|
2388
2373
|
/**
|
|
2389
2374
|
* Default time budget for `create()` — the full create-and-reach-running
|
|
@@ -2522,16 +2507,6 @@ var Sandbox = class {
|
|
|
2522
2507
|
apiKey;
|
|
2523
2508
|
timeoutMs;
|
|
2524
2509
|
trustLocalCliAuth;
|
|
2525
|
-
/**
|
|
2526
|
-
* Last auth accelerator token handed back by the API, echoed on the
|
|
2527
|
-
* next request so the server can skip re-verifying `apiKey` against the
|
|
2528
|
-
* platform. See {@link AUTH_ACCELERATOR_HEADER}.
|
|
2529
|
-
*
|
|
2530
|
-
* Held only in memory for this client's lifetime and never persisted:
|
|
2531
|
-
* it is short-lived, and it is bound server-side to `apiKey`, so it is
|
|
2532
|
-
* useless to anyone who does not already hold the key.
|
|
2533
|
-
*/
|
|
2534
|
-
authAcceleratorToken = null;
|
|
2535
2510
|
_secrets = null;
|
|
2536
2511
|
_sshKeys = null;
|
|
2537
2512
|
_fleets = null;
|
|
@@ -3143,17 +3118,13 @@ var Sandbox = class {
|
|
|
3143
3118
|
try {
|
|
3144
3119
|
const headers = new Headers(options?.headers);
|
|
3145
3120
|
headers.set("Authorization", `Bearer ${this.apiKey}`);
|
|
3146
|
-
if (this.authAcceleratorToken) headers.set(AUTH_ACCELERATOR_HEADER, this.authAcceleratorToken);
|
|
3147
3121
|
const isFormDataBody = typeof FormData !== "undefined" && options?.body instanceof FormData;
|
|
3148
3122
|
if (!headers.has("Content-Type") && !isFormDataBody) headers.set("Content-Type", "application/json");
|
|
3149
|
-
|
|
3123
|
+
return withRequestContextHeaders(await globalThis.fetch(url, {
|
|
3150
3124
|
...options,
|
|
3151
3125
|
headers,
|
|
3152
3126
|
signal: options?.signal ?? controller.signal
|
|
3153
|
-
});
|
|
3154
|
-
const refreshed = response.headers.get(AUTH_ACCELERATOR_HEADER);
|
|
3155
|
-
if (refreshed) this.authAcceleratorToken = refreshed;
|
|
3156
|
-
return withRequestContextHeaders(response, path, options?.method);
|
|
3127
|
+
}), path, options?.method);
|
|
3157
3128
|
} catch (err) {
|
|
3158
3129
|
if (err instanceof Error && err.name === "AbortError") throw new TimeoutError(requestTimeoutMs);
|
|
3159
3130
|
throw new NetworkError(`Failed to connect to Sandbox API: ${err instanceof Error ? err.message : String(err)}`, err instanceof Error ? err : void 0, {
|
|
@@ -326,16 +326,6 @@ declare class Sandbox implements HttpClient {
|
|
|
326
326
|
private readonly apiKey;
|
|
327
327
|
private readonly timeoutMs;
|
|
328
328
|
private readonly trustLocalCliAuth;
|
|
329
|
-
/**
|
|
330
|
-
* Last auth accelerator token handed back by the API, echoed on the
|
|
331
|
-
* next request so the server can skip re-verifying `apiKey` against the
|
|
332
|
-
* platform. See {@link AUTH_ACCELERATOR_HEADER}.
|
|
333
|
-
*
|
|
334
|
-
* Held only in memory for this client's lifetime and never persisted:
|
|
335
|
-
* it is short-lived, and it is bound server-side to `apiKey`, so it is
|
|
336
|
-
* useless to anyone who does not already hold the key.
|
|
337
|
-
*/
|
|
338
|
-
private authAcceleratorToken;
|
|
339
329
|
private _secrets;
|
|
340
330
|
private _sshKeys;
|
|
341
331
|
private _fleets;
|
package/dist/core.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as WorkspaceImagePublishRequestOptions, i as WorkspaceImagePublishInput, o as WorkspaceImagePublishResult, r as SandboxInstance, s as WorkspaceImages } from "./sandbox-BE2GsJZ3.js";
|
|
2
2
|
import { $n as SandboxConfig, En as PromptInputPart, Fr as SandboxInfo, M as CreateSandboxOptions, Ur as SandboxStatus, _n as PreviewLinkWaitOptions, gn as PreviewLinkManager, hn as PreviewLinkInfo, it as ExecResult, rt as ExecOptions, un as NetworkConfig } from "./types-CA5phY-u.js";
|
|
3
|
-
import { C as isBackendRegistryInteractionKind, S as backendRegistryResponseSchema, T as parseBackendRegistryResponseBody, _ as BackendRegistryInteractionKind, b as backendRegistryEntrySchema, g as BackendRegistryEntry, h as BackendRegistryCapabilities, i as Sandbox, v as BackendRegistryResponse, w as parseBackendRegistryResponse, x as backendRegistryInteractionKindSchema, y as backendRegistryCapabilitiesSchema } from "./client-
|
|
3
|
+
import { C as isBackendRegistryInteractionKind, S as backendRegistryResponseSchema, T as parseBackendRegistryResponseBody, _ as BackendRegistryInteractionKind, b as backendRegistryEntrySchema, g as BackendRegistryEntry, h as BackendRegistryCapabilities, i as Sandbox, v as BackendRegistryResponse, w as parseBackendRegistryResponse, x as backendRegistryInteractionKindSchema, y as backendRegistryCapabilitiesSchema } from "./client-DesHTixL.js";
|
|
4
4
|
import { a as NetworkError, c as QuotaError, d as SandboxFailureDetail, f as ServerError, h as ValidationError, i as FileWriteConflictError, l as SandboxError, m as TimeoutError, n as CapabilityError, o as NotFoundError, p as StateError, s as PartialFailureError, t as AuthError, u as SandboxErrorJson } from "./errors-Bdy5jXzc.js";
|
|
5
5
|
export { AuthError, type BackendRegistryCapabilities, type BackendRegistryEntry, type BackendRegistryInteractionKind, type BackendRegistryResponse, CapabilityError, type CreateSandboxOptions, type ExecOptions, type ExecResult, FileWriteConflictError, type NetworkConfig, NetworkError, NotFoundError, PartialFailureError, type PreviewLinkInfo, type PreviewLinkManager, type PreviewLinkWaitOptions, type PromptInputPart, QuotaError, Sandbox, type SandboxConfig, SandboxError, type SandboxErrorJson, type SandboxFailureDetail, type SandboxInfo, SandboxInstance, type SandboxStatus, ServerError, StateError, TimeoutError, ValidationError, type WorkspaceImagePublishInput, type WorkspaceImagePublishRequestOptions, type WorkspaceImagePublishResult, WorkspaceImages, backendRegistryCapabilitiesSchema, backendRegistryEntrySchema, backendRegistryInteractionKindSchema, backendRegistryResponseSchema, isBackendRegistryInteractionKind, parseBackendRegistryResponse, parseBackendRegistryResponseBody };
|
package/dist/core.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { a as NetworkError, c as QuotaError, d as StateError, f as TimeoutError, i as FileWriteConflictError, l as SandboxError, n as CapabilityError, o as NotFoundError, p as ValidationError, s as PartialFailureError, t as AuthError, u as ServerError } from "./errors-C6kn-3zt.js";
|
|
2
|
-
import { _ as parseBackendRegistryResponseBody, d as backendRegistryCapabilitiesSchema, f as backendRegistryEntrySchema, g as parseBackendRegistryResponse, h as isBackendRegistryInteractionKind, m as backendRegistryResponseSchema, n as Sandbox, p as backendRegistryInteractionKindSchema } from "./client-
|
|
2
|
+
import { _ as parseBackendRegistryResponseBody, d as backendRegistryCapabilitiesSchema, f as backendRegistryEntrySchema, g as parseBackendRegistryResponse, h as isBackendRegistryInteractionKind, m as backendRegistryResponseSchema, n as Sandbox, p as backendRegistryInteractionKindSchema } from "./client-D2sf4RrG.js";
|
|
3
3
|
import { a as WorkspaceImages, t as SandboxInstance } from "./sandbox-BwIaQcE7.js";
|
|
4
4
|
export { AuthError, CapabilityError, FileWriteConflictError, NetworkError, NotFoundError, PartialFailureError, QuotaError, Sandbox, SandboxError, SandboxInstance, ServerError, StateError, TimeoutError, ValidationError, WorkspaceImages, backendRegistryCapabilitiesSchema, backendRegistryEntrySchema, backendRegistryInteractionKindSchema, backendRegistryResponseSchema, isBackendRegistryInteractionKind, parseBackendRegistryResponse, parseBackendRegistryResponseBody };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { A as BuildControlPlaneMcpConfigOptions, C as InterruptResult, D as SandboxInteractionConflict, E as SandboxInteractionCommandResult, F as SandboxMcpEndpoint, I as SandboxMcpServerEntry, L as buildControlPlaneMcpConfig, M as CONTROL_PLANE_MCP_SERVER_NAME, N as SANDBOX_MCP_SERVER_NAME, O as SandboxInteractionResolution, P as SandboxMcpConfig, R as buildSandboxMcpConfig, S as InteractiveSessionStatus, T as StartInteractiveOptions, _ as InteractiveAttachOptions, a as WorkspaceImagePublishRequestOptions, b as InteractiveSessionHost, c as TraceExportFormat, d as buildTraceExportPayload, f as exportTraceBundle, g as SandboxSession, h as SandboxTaskSession, i as WorkspaceImagePublishInput, j as BuildSandboxMcpConfigOptions, k as SandboxInteractionResult, l as TraceExportResult, m as toOtelJson, o as WorkspaceImagePublishResult, p as otelTraceIdForTangleTrace, r as SandboxInstance, s as WorkspaceImages, t as ForkAcknowledgement, u as TraceExportSink, v as InteractiveAuthFile, w as RespondToPermissionOptions, x as InteractiveSessionInfo, y as InteractiveSessionHandle } from "./sandbox-BE2GsJZ3.js";
|
|
2
2
|
import { $ as EgressPolicy, $i as WriteManyFile, $n as SandboxConfig, $r as SandboxTraceOptions, $t as IntelligenceReportSubjectType, Ai as StorageConfig, An as ProvisionResult, Ar as SandboxFleetWorkspace, At as ForkIdempotency, B as DownloadOptions, Bi as TeePublicKey, Bn as ReconcileSandboxFleetsResult, Br as SandboxResources, Bt as GpuLeaseBilling, Ci as SnapshotIdempotency, Cn as ProcessSignal, Cr as SandboxFleetPolicy, Ct as FleetDriveTurnRequest, D as CreateIntelligenceReportOptions, Dn as PromptOptions, Dr as SandboxFleetTraceExport, Dt as FleetPromptDispatchOptions, E as CreateGpuLeaseOptions, Ei as SnapshotResult, En as PromptInputPart, Er as SandboxFleetTraceEvent, Et as FleetMachineId, F as DeleteOptions, Fi as TaskSessionInfo, Fn as PublishPublicTemplateOptions, Fr as SandboxInfo, Ft as GitCommit, G as DriverType, Gi as UpdateUserOptions, Gn as RolloutChildResult, Gr as SandboxTerminalCreateOptions, Gt as GpuLeaseProviderName, H as DriveTurnOptions, Hi as TokenRefreshHandler, Hr as SandboxRuntimeHealth, Ht as GpuLeaseExecOptions, I as DevServerInfo, Ii as TaskSessionProfile, In as PublishPublicTemplateVersionOptions, Ir as SandboxIntelligenceEnvelope, It as GitConfig, J as EffectiveBackend, Ji as UsageInfo, Jn as RolloutStartResult, Jr as SandboxTerminalRequestOptions, Jt as HostAgentRuntimeBackend, K as DurablePlan, Ki as UploadOptions, Kn as RolloutOptions, Kr as SandboxTerminalInfo, Kt as GpuLeaseStatus, L as DirectoryPermission, Li as TeeAttestationOptions, Ln as ReapExpiredSandboxFleetsOptions, Lr as SandboxPortBinding, Lt as GitDiff, M as CreateSandboxOptions, Mi as TaskSessionChanges, Mn as ProvisionStep, Mr as SandboxFleetWorkspaceRestoreResult, Mt as GPU_LEASE_PROVIDER_NAMES, N as CreateSessionOptions, Ni as TaskSessionCommitResult, Nn as PublicTemplateInfo, Nr as SandboxFleetWorkspaceSnapshotResult, Nt as GitAuth, O as CreateRequestOptions, Oi as StartupDiagnostics, On as PromptResult, Or as SandboxFleetTraceOptions, P as CreateTaskSessionOptions, Pi as TaskSessionFileChange, Pn as PublicTemplateVersionInfo, Pr as SandboxIdentity, Pt as GitBranch, Q as EgressManager, Qi as WriteFileOptions, Qn as SSHCredentials, Qr as SandboxTraceExport, Qt as IntelligenceReportCompareTo, R as DispatchPromptOptions, Ri as TeeAttestationReport, Rn as ReapExpiredSandboxFleetsResult, Rr as SandboxPortPreviewLink, Rt as GitStatus, Si as SnapshotDeleteOutcome, Sn as ProcessManager, Sr as SandboxFleetOperationsSummary, St as FleetDriveTurnOutcome, T as CompletedTurnResult, Ti as SnapshotOptions, Tn as ProcessStatus, Tr as SandboxFleetTraceBundle, U as DriverConfig, Ui as TokenUsage, Ur as SandboxStatus, Ut as GpuLeaseExecResult, V as DownloadProgress, Vi as TeePublicKeyResponse, Vn as RenameOptions, Vr as SandboxRuntimeCapabilities, Vt as GpuLeaseCommandResult, W as DriverInfo, Wi as TurnDriveResult, Wn as Rollout, Wr as SandboxTerminalAttachOptions, Wt as GpuLeaseManager, X as EffectiveBackendSource, Xi as WaitForRolloutOptions, Xn as RolloutTurnPart, Xr as SandboxTraceBundle, Xt as IntelligenceReport, Y as EffectiveBackendProfile, Yi as WaitForOptions, Yn as RolloutStatus, Yr as SandboxTerminals, Yt as InstalledTool, Z as EgressDenial, Zi as WorkspaceOperationLookup, Zn as SSHCommandDescriptor, Zr as SandboxTraceEvent, Zt as IntelligenceReportBudget, _ as BranchOptions, _a as TerminalStreamToken, _i as SessionMessage, _n as PreviewLinkWaitOptions, _r as SandboxFleetMachineMeteredUsage, _t as FileWriteResult, a as AttachSandboxFleetMachineOptions, aa as BatchTaskUsage, ai as SecretInfo, an as ListSandboxOptions, ar as SandboxEnvironment, at as FileInfo, bi as SessionStatus, bn as ProcessListOptions, br as SandboxFleetManifest, bt as FleetDispatchResultBufferOptions, c as BackendInfo, ca as parseBackendType, ci as SendSessionMessageRequest, cn as MintScopedTokenOptions, cr as SandboxFleetArtifactSpec, ct as FileReadError, d as BatchBackend, da as TerminalReadyInfo, di as SessionEventStreamOptions, dn as NetworkManager, dr as SandboxFleetDispatchResponse, dt as FileSystem, ea as WriteManyOptions, ei as SandboxUser, en as IntelligenceReportWindow, er as SandboxConnection, et as EnsureDevServerOptions, f as BatchResult, fa as TerminalStream, fi as SessionFailureReason, fn as NonHostAgentDriverConfig, fr as SandboxFleetDriverCapability, ft as FileTreeFile, g as BatchTaskResult, ga as TerminalStreamOptions, gi as SessionListOptions, gn as PreviewLinkManager, gr as SandboxFleetMachine, gt as FileUsageResult, h as BatchTask, ha as TerminalStreamHandlers, hi as SessionInterruptOptions, hn as PreviewLinkInfo, hr as SandboxFleetIntelligenceEnvelope, ht as FileUsageOptions, i as AttachGpuLeaseOptions, ia as BatchSidecarGroup, ii as SearchOptions, in as ListSandboxFleetOptions, ir as SandboxDeleteOutcome, it as ExecResult, j as CreateSandboxFleetWithCoordinatorOptions, ji as SubscriptionInfo, jn as ProvisionStatus, jr as SandboxFleetWorkspaceReconcileResult, jt as ForkLookupOptions, k as CreateSandboxFleetOptions, ki as StartupOperation, kn as ProvisionEvent, kr as SandboxFleetUsage, kt as ForkCounts, l as BackendManager, la as TERMINAL_WS_ECHO_SUBPROTOCOL, li as SentSessionMessage, ln as MkdirOptions, lr as SandboxFleetCostEstimate, lt as FileReadResult, m as BatchRunRequest, ma as TerminalStreamError, mi as SessionInfo, mn as PermissionsManager, mr as SandboxFleetInfo, mt as FileTreeResult, n as AccessPolicyRule, na as BatchEvent, ni as ScopedTokenScope, nn as ListMessagesOptions, nr as SandboxCreateReceipt, nt as ExactProcessSpawnOptions, o as BackendCapabilities, oa as PublicBatchRunRequest, oi as SecretsManager, on as MAX_EGRESS_DENIALS_LIMIT, or as SandboxEvent, ot as FileReadBatchOptions, p as BatchRunOptions, pa as TerminalStreamAuthFormat, pi as SessionForkOptions, pn as PermissionLevel, pr as SandboxFleetDriverTimings, pt as FileTreeOptions, q as DurablePlanDecisionResult, qi as UploadProgress, qn as RolloutScorer, qr as SandboxTerminalManager, qt as HostAgentDriverConfig, r as AddUserOptions, ra as BatchEventDataMap, ri as SearchMatch, rn as ListOptions, rr as SandboxDeleteAcknowledgement, rt as ExecOptions, s as BackendConfig, sa as BackendType, si as SendSessionMessageOptions, sn as McpServerConfig, sr as SandboxFleetArtifact, st as FileReadBatchResult, t as AcceleratorKind, ta as BatchBackendStats, ti as ScopedToken, tr as SandboxCreateOutcome, tt as EventStreamOptions, u as BackendStatus, ua as TerminalExitInfo, ui as SessionBackendCredentials, un as NetworkConfig, ur as SandboxFleetDispatchFailureClass, ut as FileRenameResult, v as ChunkedUploadOptions, vi as SessionMessageInputPart, vn as Process, vr as SandboxFleetMachineRecord, vt as FleetDispatchCancelResult, w as CommitTaskSessionOptions, wi as SnapshotInfo, wn as ProcessSpawnOptions, wr as SandboxFleetToken, wt as FleetExecDispatchOptions, xi as SnapshotDeleteAcknowledgement, xn as ProcessLogEntry, xr as SandboxFleetManifestMachine, xt as FleetDispatchStreamOptions, y as ChunkedUploadResult, yi as SessionResultOptions, yn as ProcessInfo, yr as SandboxFleetMachineSpec, yt as FleetDispatchResultBuffer, z as DispatchedSession, zi as TeeAttestationResponse, zn as ReconcileSandboxFleetsOptions, zr as SandboxResourceUsage, zt as GpuLease } from "./types-CA5phY-u.js";
|
|
3
|
-
import { C as isBackendRegistryInteractionKind, S as backendRegistryResponseSchema, T as parseBackendRegistryResponseBody, _ as BackendRegistryInteractionKind, a as Team, b as backendRegistryEntrySchema, c as SessionBroadcastEvent, d as SandboxFleetClient, f as ParseSSEStreamOptions, g as BackendRegistryEntry, h as BackendRegistryCapabilities, i as Sandbox, 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, v as BackendRegistryResponse, w as parseBackendRegistryResponse, x as backendRegistryInteractionKindSchema, y as backendRegistryCapabilitiesSchema } from "./client-
|
|
3
|
+
import { C as isBackendRegistryInteractionKind, S as backendRegistryResponseSchema, T as parseBackendRegistryResponseBody, _ as BackendRegistryInteractionKind, a as Team, b as backendRegistryEntrySchema, c as SessionBroadcastEvent, d as SandboxFleetClient, f as ParseSSEStreamOptions, g as BackendRegistryEntry, h as BackendRegistryCapabilities, i as Sandbox, 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, v as BackendRegistryResponse, w as parseBackendRegistryResponse, x as backendRegistryInteractionKindSchema, y as backendRegistryCapabilitiesSchema } from "./client-DesHTixL.js";
|
|
4
4
|
import { d as AnyTokenPayload, h as IssueCollaborationTokenOptions, m as CollaborationTokenPayload, p as CollaborationAccess } from "./index-DtRFVx5U.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-Cp1KYanB.js";
|
|
6
6
|
import { a as NetworkError, c as QuotaError, d as SandboxFailureDetail, f as ServerError, h as ValidationError, i as FileWriteConflictError, l as SandboxError, m as TimeoutError, n as CapabilityError, o as NotFoundError, p as StateError, r as EgressProxyRecoveryError, s as PartialFailureError, t as AuthError, u as SandboxErrorJson } from "./errors-Bdy5jXzc.js";
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h as parseBackendType, m as backendTypeSchema, p as normalizeRuntimeBackendConfig } from "./runtime-api-CK-4S7oA.js";
|
|
2
2
|
import { a as NetworkError, c as QuotaError, d as StateError, f as TimeoutError, i as FileWriteConflictError, l as SandboxError, n as CapabilityError, o as NotFoundError, p as ValidationError, r as EgressProxyRecoveryError, s as PartialFailureError, t as AuthError, u as ServerError } from "./errors-C6kn-3zt.js";
|
|
3
|
-
import { _ as parseBackendRegistryResponseBody, a as splitInlineProfileSkills, c as SandboxFleetClient, d as backendRegistryCapabilitiesSchema, f as backendRegistryEntrySchema, g as parseBackendRegistryResponse, h as isBackendRegistryInteractionKind, i as splitInlineProfileFileMounts, l as createBatchResultAccumulator, m as backendRegistryResponseSchema, n as Sandbox, o as validateDeferredProfileFileMounts, p as backendRegistryInteractionKindSchema, r as materializeProfileFileMounts, s as SandboxFleet, t as IntelligenceClient, u as validateBatchRunRequest } from "./client-
|
|
3
|
+
import { _ as parseBackendRegistryResponseBody, a as splitInlineProfileSkills, c as SandboxFleetClient, d as backendRegistryCapabilitiesSchema, f as backendRegistryEntrySchema, g as parseBackendRegistryResponse, h as isBackendRegistryInteractionKind, i as splitInlineProfileFileMounts, l as createBatchResultAccumulator, m as backendRegistryResponseSchema, n as Sandbox, o as validateDeferredProfileFileMounts, p as backendRegistryInteractionKindSchema, r as materializeProfileFileMounts, s as SandboxFleet, t as IntelligenceClient, u as validateBatchRunRequest } from "./client-D2sf4RrG.js";
|
|
4
4
|
import { C as toOtelJson, S as otelTraceIdForTangleTrace, _ as getSandboxEventText, a as WorkspaceImages, b as buildTraceExportPayload, c as TERMINAL_WS_ECHO_SUBPROTOCOL, d as SandboxTaskSession, f as SandboxSession, g as collectAgentResponseText, h as collectAgentFinalMessageText, l as TerminalStream, m as applySandboxEventText, o as GPU_LEASE_PROVIDER_NAMES, p as InteractiveSessionHandle, s as MAX_EGRESS_DENIALS_LIMIT, t as SandboxInstance, u as TerminalStreamError, v as isToolBearingEvent, w as parseSSEStream, x as exportTraceBundle } from "./sandbox-BwIaQcE7.js";
|
|
5
5
|
import { a as CollaborationClient, i as parseCollaborationDocumentId, n as buildCollaborationDocumentId, r as normalizeCollaborationPath, t as CollaborationFileBridge } from "./collaboration-COCXdRrk.js";
|
|
6
6
|
import { t as TangleSandboxClient } from "./tangle-CGzEfYFL.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sandbox",
|
|
3
|
-
"version": "0.29.0-develop.
|
|
3
|
+
"version": "0.29.0-develop.20260819122040.176c418",
|
|
4
4
|
"description": "Client SDK for the Tangle Sandbox platform - build AI agent applications with dev containers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -130,8 +130,8 @@
|
|
|
130
130
|
"vitest": "^4.1.5",
|
|
131
131
|
"ws": "^8.20.0",
|
|
132
132
|
"yjs": "13.6.30",
|
|
133
|
-
"@repo/shared": "0.0.0",
|
|
134
133
|
"@tangle-network/cli-agent-registry": "0.3.10",
|
|
134
|
+
"@repo/shared": "0.0.0",
|
|
135
135
|
"@tangle-network/runtime-contracts": "0.6.1"
|
|
136
136
|
},
|
|
137
137
|
"scripts": {
|