@tangle-network/sandbox 1.0.424 → 1.0.426
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 +4 -4
- package/dist/agent/index.js +5 -5
- package/dist/agent/preview.d.ts +1 -1
- package/dist/agent/preview.js +1 -1
- package/dist/{agent-run-outcome-D-lxNAXy.d.ts → agent-run-outcome-DVcPF3iI.d.ts} +1 -1
- package/dist/{api-request-C-5K0vGI.js → api-request-VlqatyAT.js} +2 -2
- package/dist/{browser-interactive-control-controller-lIGPhN1d.js → browser-interactive-control-controller-C3GYoJCL.js} +1 -1
- package/dist/{browser-interactive-control-controller-4Whvbr-1.d.ts → browser-interactive-control-controller-CHnMRFRF.d.ts} +1 -1
- package/dist/{chunked-upload-B3a7JG2m.js → chunked-upload-DuXDFxxJ.js} +1 -1
- package/dist/{chunked-upload-file-BmvRKCv1.js → chunked-upload-file-BNeuzLOo.js} +1 -1
- package/dist/{client-D6AttaC6.js → client-DzYQLcFz.js} +35 -5
- package/dist/{client-NcdgrHfL.d.ts → client-vsCsGgg1.d.ts} +21 -5
- package/dist/collaboration/index.js +1 -1
- package/dist/{collaboration-C5N6238z.js → collaboration-ligkFzXs.js} +2 -2
- package/dist/core.d.ts +6 -6
- package/dist/core.js +5 -5
- package/dist/{error-catalog-Cg0XFEtd.js → error-catalog-C8FDdk83.js} +1 -0
- package/dist/{errors-BJk4E5x7.js → errors-DNmfKxwE.js} +1 -1
- package/dist/{file-download-BZv9h3zc.js → file-download-I463VYUJ.js} +1 -1
- package/dist/gpu-lease/index.js +1 -1
- package/dist/{index-B9M5GOY_.d.ts → index-DzGflA-b.d.ts} +5 -5
- package/dist/index.d.ts +10 -10
- package/dist/index.js +11 -11
- package/dist/intelligence/index.js +3 -3
- package/dist/interactive-control.d.ts +1 -1
- package/dist/interactive-control.js +1 -1
- package/dist/{interactive-controller-ja9Zp2ko.js → interactive-controller-BAxNlWK-.js} +16 -5
- package/dist/{interactive-controller-DMEjRnWD.d.ts → interactive-controller-Ch4SLGeF.d.ts} +3 -3
- package/dist/{lines-CzXtswdI.js → lines-DjZMcB7V.js} +1 -1
- package/dist/{lines-DuXKA12c.d.ts → lines-mOLUGPYs.d.ts} +1 -1
- package/dist/lines.d.ts +1 -1
- package/dist/lines.js +1 -1
- package/dist/{mcp-local-DfRZSG10.js → mcp-local-tydRoMu_.js} +2 -2
- package/dist/{preview-DV2hf-fJ.d.ts → preview-DF2dYJCH.d.ts} +3 -3
- package/dist/{public-templates-WlOykqRp.d.ts → public-templates-Bw4PJ99r.d.ts} +2 -2
- package/dist/public-templates.d.ts +1 -1
- package/dist/public-templates.js +1 -1
- package/dist/{raw-evidence-archive-DAhLHzK6.js → raw-evidence-archive-0GpUrTKO.js} +1 -1
- package/dist/runtime.d.ts +5 -5
- package/dist/runtime.js +5 -5
- package/dist/{sandbox-BQBq7suQ.js → sandbox-BDEIzzu_.js} +21 -14
- package/dist/{select-seat-BiL-Hst3.js → select-seat-BbTGujaf.js} +1 -1
- package/dist/select-seat-command.d.ts +2 -2
- package/dist/select-seat-command.js +2 -2
- package/dist/session-gateway/index.js +1 -1
- package/dist/tangle/index.d.ts +1 -1
- package/dist/tangle/index.js +1 -1
- package/dist/{tangle-D0a7ah0P.js → tangle-DfFEgakb.js} +3 -3
- package/dist/{terminal-stream-types-BOsaBihS.d.ts → terminal-stream-types-iOZjIxLK.d.ts} +6 -0
- package/dist/{types-sJfK_b40.d.ts → types-BYIgnmzV.d.ts} +28 -4
- package/package.json +6 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as BatchBackendInput, B as SandboxErrorMetadata, Y as SandboxCreateReceipt, a as TerminalStreamOptions, g as TerminalReadyInfo, i as TerminalStreamHandlers, s as TerminalStreamToken, t as TerminalAttachTimings } from "./terminal-stream-types-
|
|
1
|
+
import { $ as BatchBackendInput, B as SandboxErrorMetadata, Y as SandboxCreateReceipt, a as TerminalStreamOptions, g as TerminalReadyInfo, i as TerminalStreamHandlers, s as TerminalStreamToken, t as TerminalAttachTimings } from "./terminal-stream-types-iOZjIxLK.js";
|
|
2
2
|
import { C as InteractionRequest, D as AgentProfileConfidential, E as AgentProfileCapabilities, F as ProxySecretReceipt, N as AgentProfileValidationResult, P as ReasoningEffort, R as PlanContinuation, T as AgentProfile, n as SandboxSizePreset, v as AgentExactRunControlRef, x as AgentRuntimeAttachments } from "./index-B4OJkmmC.js";
|
|
3
3
|
import { r as CliAuthReference } from "./cli-auth-bundle-CaNRN3Nc.js";
|
|
4
4
|
import { z } from "zod";
|
|
@@ -2547,6 +2547,15 @@ interface SnapshotInfo {
|
|
|
2547
2547
|
/** Upload state, when the API reports it. */
|
|
2548
2548
|
remoteSync?: SnapshotRemoteSync;
|
|
2549
2549
|
}
|
|
2550
|
+
/** One row of `client.listSnapshots()`: a snapshot of a sandbox you own, recently deleted ones included. */
|
|
2551
|
+
interface AccountSnapshotInfo extends SnapshotInfo {
|
|
2552
|
+
/** False once the sandbox is deleted; its snapshots stay restorable until `removeAfter`. */
|
|
2553
|
+
sandboxExists: boolean;
|
|
2554
|
+
/** When a deleted sandbox's snapshots are removed; null while it exists. */
|
|
2555
|
+
removeAfter: Date | null;
|
|
2556
|
+
/** False for platform captures, which do not count toward your snapshot limit. */
|
|
2557
|
+
countsTowardLimit: boolean;
|
|
2558
|
+
}
|
|
2550
2559
|
//#endregion
|
|
2551
2560
|
//#region src/types/branch.d.ts
|
|
2552
2561
|
/**
|
|
@@ -3785,15 +3794,27 @@ interface NetworkConfig {
|
|
|
3785
3794
|
* }
|
|
3786
3795
|
* ```
|
|
3787
3796
|
*/
|
|
3797
|
+
/** Options for {@link EgressManager.update}. */
|
|
3798
|
+
interface EgressUpdateOptions {
|
|
3799
|
+
/** Abort the request. */
|
|
3800
|
+
signal?: AbortSignal;
|
|
3801
|
+
/**
|
|
3802
|
+
* `get().updatedAt`: write only if the policy is unchanged since, else a 409
|
|
3803
|
+
* StateError with code CONFLICT. Omitted: unconditional.
|
|
3804
|
+
*/
|
|
3805
|
+
expectedUpdatedAt?: string | null;
|
|
3806
|
+
}
|
|
3788
3807
|
interface EgressManager {
|
|
3789
3808
|
/**
|
|
3790
3809
|
* Get the sandbox's current egress policy.
|
|
3791
3810
|
*
|
|
3792
|
-
* @returns Resolved egress policy and
|
|
3811
|
+
* @returns Resolved egress policy, its source, and when it last changed
|
|
3812
|
+
* (null: never written), to pass to `update` as `expectedUpdatedAt`
|
|
3793
3813
|
*/
|
|
3794
3814
|
get(): Promise<{
|
|
3795
3815
|
policy: EgressPolicy;
|
|
3796
3816
|
source: "sandbox" | "team" | "platform";
|
|
3817
|
+
updatedAt: string | null;
|
|
3797
3818
|
}>;
|
|
3798
3819
|
/**
|
|
3799
3820
|
* Update the sandbox's egress policy at runtime.
|
|
@@ -3801,9 +3822,10 @@ interface EgressManager {
|
|
|
3801
3822
|
* The proxy container is restarted to apply the new policy (~2–5s downtime).
|
|
3802
3823
|
*
|
|
3803
3824
|
* @param policy - New egress policy to apply
|
|
3825
|
+
* @param options - {@link EgressUpdateOptions}
|
|
3804
3826
|
* @returns Updated policy and source
|
|
3805
3827
|
*/
|
|
3806
|
-
update(policy: EgressPolicy): Promise<{
|
|
3828
|
+
update(policy: EgressPolicy, options?: EgressUpdateOptions): Promise<{
|
|
3807
3829
|
policy: EgressPolicy;
|
|
3808
3830
|
source: "sandbox" | "team" | "platform";
|
|
3809
3831
|
}>;
|
|
@@ -4289,6 +4311,8 @@ declare class TerminalStream {
|
|
|
4289
4311
|
private readonly dialStartedAt;
|
|
4290
4312
|
private openedAt;
|
|
4291
4313
|
private readyAt;
|
|
4314
|
+
/** The newest output seq handed to the caller, so a reconnect resumes after it. */
|
|
4315
|
+
private deliveredSeq;
|
|
4292
4316
|
private firstByteAt;
|
|
4293
4317
|
private firstWriteAt;
|
|
4294
4318
|
private echoRttMs;
|
|
@@ -5734,4 +5758,4 @@ interface SecretsManager {
|
|
|
5734
5758
|
}): Promise<void>;
|
|
5735
5759
|
}
|
|
5736
5760
|
//#endregion
|
|
5737
|
-
export { SandboxFleetAgent as $,
|
|
5761
|
+
export { SandboxFleetAgent as $, assertDeclaredSecretsHeld as $a, SessionFailureReason as $i, SandboxEnvironment as $n, StopOptions as $r, TeePublicKeyResponse as $t, CreateSandboxFleetOptions as A, RolloutTurnPart as Aa, SandboxTraceExport as Ai, FileRenameResult as An, WaitForRolloutOptions as Ar, SandboxFleetWorkspaceRestoreResult as At, FleetDispatchStreamOptions as B, ProcessListOptions as Ba, CreateTaskSessionOptions as Bi, RenameOptions as Bn, SandboxDeleteOutcome as Br, SandboxRuntimeHealth as Bt, GitCommit as C, SecretBindingOptions as Ca, PromptOptions as Ci, DownloadProgress as Cn, BranchOptions as Cr, SandboxFleetTraceBundle as Ct, FleetDriveTurnRequest as D, RolloutChildResult as Da, SandboxOomKillEvent as Di, FileReadBatchResult as Dn, Rollout as Dr, SandboxFleetUsage as Dt, FleetDriveTurnOutcome as E, SandboxRuntime as Ea, SandboxIntelligenceEnvelope as Ei, FileReadBatchOptions as En, ForkLookupOptions as Er, SandboxFleetTraceOptions as Et, FleetAgentResult as F, GpuLeaseProviderStatus as Fa, CompletedTurnPayload as Fi, FileUsageOptions as Fn, DeleteMatchingSandboxesOptions as Fr, SandboxConnection as Ft, FleetPromptDispatchResult as G, CodeResultPart as Ga, PublicProfileConflict as Gi, WriteManyOptions as Gn, SnapshotDeleteAcknowledgement as Gr, SandboxTerminalRequestOptions as Gt, FleetExecDispatchResult as H, SessionStatus as Ha, DispatchedSession as Hi, UploadProgress as Hn, SandboxOperationKind as Hr, SandboxTerminalCreateOptions as Ht, FleetAgentRunStatus as I, GpuLeaseStatus as Ia, CompletedTurnResult as Ii, FileUsageResult as In, DeleteMatchingSandboxesResult as Ir, SandboxInfo as It, ListSandboxFleetOptions as J, SandboxEnvRecovery as Ja, SentSessionMessage as Ji, ExecOptions as Jn, SnapshotInfo as Jr, StartupOperation as Jt, FleetRunEvent as K, ExecResult as Ka, SendSessionMessageOptions as Ki, SearchMatch as Kn, SnapshotDeleteOutcome as Kr, SandboxTerminals as Kt, FleetDispatchCancelResult as L, RetainedWorkspaceFile as La, ConversationTurnOptions as Li, FileWriteResult as Ln, RestoreSnapshotOptions as Lr, SandboxPortBinding as Lt, CreateSandboxFleetWithCoordinatorOptions as M, GPU_LEASE_PROVIDER_NAMES as Ma, TokenUsage as Mi, FileTreeFile as Mn, DeleteMatchingSandboxOutcome as Mr, ListSandboxOptions as Mt, FleetAgentId as N, GpuLeaseProviderName as Na, TurnBackendConfig as Ni, FileTreeOptions as Nn, DeleteMatchingSandboxResult as Nr, SSHCommandDescriptor as Nt, TokenRefreshHandler as O, RolloutScorer as Oa, SandboxTraceBundle as Oi, FileReadError as On, RolloutOptions as Or, SandboxFleetWorkspace as Ot, FleetAgentPlacement as P, GpuLeaseProviderState as Pa, CommitTaskSessionOptions as Pi, FileTreeResult as Pn, DeleteMatchingSandboxesFilter as Pr, SSHCredentials as Pt, ReconcileSandboxFleetsResult as Q, DECLARED_SECRET_HOSTS_ENV_VAR as Qa, SessionExecutionStatus as Qi, PublishPublicTemplateVersionOptions as Qn, SnapshotResult as Qr, TeePublicKey as Qt, FleetDispatchResultBuffer as R, RetainedWorkspacePublication as Ra, ConversationTurnResult as Ri, ListOptions as Rn, SandboxDeleteAcknowledgement as Rr, SandboxPortPreviewLink as Rt, GitBranch as S, RouterRoutingOptions as Sa, PromptInputPart as Si, DownloadOptions as Sn, SdkTimingHook as Sr, SandboxFleetToken as St, GitStatus as T, SANDBOX_RUNTIMES as Ta, SandboxEvent as Ti, FileInfo as Tn, ForkIdempotency as Tr, SandboxFleetTraceExport as Tt, FleetMachineId as U, CodeExecutionResult as Ua, DriveTurnOptions as Ui, WriteFileOptions as Un, SandboxOperationState as Ur, SandboxTerminalInfo as Ut, FleetExecDispatchOptions as V, ProcessStatus as Va, DispatchPromptOptions as Vi, UploadOptions as Vn, SandboxOperationInfo as Vr, SandboxTerminalAttachOptions as Vt, FleetPromptDispatchOptions as W, CodeLanguage as Wa, ListMessagesOptions as Wi, WriteManyFile as Wn, SandboxRemovalState as Wr, SandboxTerminalManager as Wt, ReapExpiredSandboxFleetsResult as X, baseProxyToken as Xa, SessionEventStreamOptions as Xi, PublicTemplateVersionInfo as Xn, SnapshotProvenance as Xr, TeeAttestationReport as Xt, ReapExpiredSandboxFleetsOptions as Y, SandboxEnvRecoveryView as Ya, SessionBackendCredentials as Yi, PublicTemplateInfo as Yn, SnapshotOptions as Yr, TeeAttestationOptions as Yt, ReconcileSandboxFleetsOptions as Z, InteractionResolutionAcknowledgement as Za, SessionExecutionInfo as Zi, PublishPublicTemplateOptions as Zn, SnapshotRemoteSync as Zr, TeeAttestationResponse as Zt, ProcessSignal as _, BackendManager as _a, IntelligenceReport as _i, GitAuth as _n, ManagedProcessResumeOptions as _r, SandboxFleetParent as _t, ProvisionStep as a, SessionMessageAdmission as aa, BatchRunOptions as ai, SandboxShapesInfo as an, EffectiveBackendProfile as ao, DriverType as ar, SandboxFleetDispatchResponse as at, PreviewLinkManager as b, BackendStatus as ba, IntelligenceReportSubjectType as bi, ChunkedUploadResult as bn, ManagedProcessSpec as br, SandboxFleetProfileRef as bt, SubscriptionInfo as c, TaskSessionChanges as ca, AgentRunStatus as ci, SandboxShapePreset as cn, GpuLeaseCommandResult as cr, SandboxFleetInfo as ct, DevServerInfo as d, TaskSessionInfo as da, DurablePlan as di, NetworkConfig as dn, GpuLeaseManager as dr, SandboxFleetMachineMeteredUsage as dt, SessionForkOptions as ea, WorkspaceOperationLookup as ei, TerminalStream as en, declaredSecretBaseToken as eo, AcceleratorKind as er, SandboxFleetAgentSpec as et, EnsureDevServerOptions as f, TaskSessionProfile as fa, DurablePlanDecisionOptions as fi, NetworkManager as fn, GpuLeaseProviders as fr, SandboxFleetMachineRecord as ft, ProcessManager as g, BackendInfo as ga, EventStreamOptions as gi, MAX_EGRESS_DENIALS_LIMIT as gn, ManagedProcessOptions as gr, SandboxFleetOperationsSummary as gt, ProcessLogEntry as h, BackendConfig as ha, DurablePlanSnapshot as hi, EgressDenial as hn, ManagedProcessJobs as hr, SandboxFleetManifestMachine as ht, ProvisionResult as i, SessionMessage as ia, BatchBackend as ii, SandboxResources as in, EffectiveBackend as io, DriverInfo as ir, SandboxFleetDispatchFailureClass as it, CreateSandboxFleetTokenOptions as j, ProvisionStatus as ja, SandboxTraceOptions as ji, FileSystem as jn, AccountSnapshotInfo as jr, SandboxFleetWorkspaceSnapshotResult as jt, AttachSandboxFleetMachineOptions as k, RolloutStatus as ka, SandboxTraceEvent as ki, FileReadResult as kn, RolloutStartResult as kr, SandboxFleetWorkspaceReconcileResult as kt, UsageInfo as l, TaskSessionCommitResult as la, AgentToolInvocation as li, EgressManager as ln, GpuLeaseExecOptions as lr, SandboxFleetIntelligenceEnvelope as lt, Process as m, BackendCapabilities as ma, DurablePlanFollowUpResume as mi, EgressPolicy as mn, CodeExecutionOptions as mr, SandboxFleetManifest as mt, SshKeysManager as n, SessionInterruptOptions as na, SandboxRuntimeCapabilities as ni, CreateSandboxOptions as nn, ALL_BACKEND_TYPES as no, CreateGpuLeaseOptions as nr, SandboxFleetArtifactSpec as nt, ResumeOptions as o, SessionMessageInputPart as oa, AgentApprovalRequirement as oi, SandboxStatus as on, EffectiveBackendSource as oo, GpuLease as or, SandboxFleetDriverCapability as ot, ExactProcessSpawnOptions as p, TurnDriveResult as pa, DurablePlanDecisionResult as pi, SandboxEgressUsage as pn, GpuLeaseProvidersOptions as pr, SandboxFleetMachineSpec as pt, FleetRunOptions as q, WriteFileRequest as qa, SendSessionMessageRequest as qi, SearchOptions as qn, SnapshotIdempotency as qr, StartupDiagnostics as qt, ProvisionEvent as r, SessionListOptions as ra, StorageConfig as ri, SandboxConfig as rn, BackendType as ro, DriverConfig as rr, SandboxFleetCostEstimate as rt, SandboxIdentity as s, SessionResultOptions as sa, AgentQuestionRequest as si, SandboxShape as sn, parseBackendType as so, GpuLeaseBilling as sr, SandboxFleetDriverTimings as st, SecretsManager as t, SessionInfo as ta, SandboxResourceUsage as ti, CreateRequestOptions as tn, parseDeclaredSecretsEnv as to, AttachGpuLeaseOptions as tr, SandboxFleetArtifact as tt, WaitForOptions as u, TaskSessionFileChange as ua, CreateIntelligenceReportOptions as ui, EgressUpdateOptions as un, GpuLeaseExecResult as ur, SandboxFleetMachine as ut, ProcessSpawnOptions as v, BackendMcpServerStatus as va, IntelligenceReportBudget as vi, GitConfig as vn, ManagedProcessState as vr, SandboxFleetPlacement as vt, GitDiff as w, SecretInfo as wa, PromptResult as wi, DownloadResult as wn, ForkCounts as wr, SandboxFleetTraceEvent as wt, PreviewLinkWaitOptions as x, McpServerConfig as xa, IntelligenceReportWindow as xi, DeleteOptions as xn, HttpClient as xr, SandboxFleetSpend as xt, PreviewLinkInfo as y, BackendRuntimeConfigUpdate as ya, IntelligenceReportCompareTo as yi, ChunkedUploadOptions as yn, ManagedProcessRecord as yr, SandboxFleetPolicy as yt, FleetDispatchResultBufferOptions as z, ProcessInfo as za, CreateSessionOptions as zi, MkdirOptions as zn, SandboxDeleteOptions as zr, SandboxRunGeneration as zt };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sandbox",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.426",
|
|
4
4
|
"description": "TypeScript SDK for Tangle Sandbox: create cloud sandboxes and run commands and coding agents in them",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -154,14 +154,14 @@
|
|
|
154
154
|
"ws": "^8.22.0",
|
|
155
155
|
"yjs": "13.6.33",
|
|
156
156
|
"@repo/shared": "0.0.0",
|
|
157
|
-
"@tangle-network/cli-agent-registry": "0.15.0",
|
|
158
157
|
"@products/sandbox-test-utils": "0.0.0",
|
|
159
|
-
"@tangle-network/
|
|
160
|
-
"@tangle-network/agent-
|
|
158
|
+
"@tangle-network/agent-profile-materialize": "0.27.1",
|
|
159
|
+
"@tangle-network/cli-agent-registry": "0.15.0",
|
|
160
|
+
"@tangle-network/runtime-contracts": "0.20.0"
|
|
161
161
|
},
|
|
162
162
|
"tangleRelease": {
|
|
163
|
-
"sourceSha": "
|
|
164
|
-
"mergedAt": "2026-11-
|
|
163
|
+
"sourceSha": "f41d531fa5c3bbf4c04ac4e64dcd6c2e5c9aeac5",
|
|
164
|
+
"mergedAt": "2026-11-16T13:39:59-08:00"
|
|
165
165
|
},
|
|
166
166
|
"scripts": {
|
|
167
167
|
"build": "node scripts/build-dist.mjs && bash scripts/verify-dist.sh",
|