@tangle-network/sandbox 1.0.463 → 1.0.465
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 +4 -4
- package/dist/agent/preview.d.ts +1 -1
- package/dist/agent/preview.js +2 -2
- package/dist/{agent-execution-preparation-C2KLuq0G.js → agent-execution-preparation-B8PJuIsN.js} +4 -4
- package/dist/{agent-execution-preparation-receipt-NvWi9tgX.js → agent-execution-preparation-receipt-Cc9RZhlS.js} +5 -5
- package/dist/{agent-run-outcome-Bm0Od6uL.d.ts → agent-run-outcome-DCVKc99v.d.ts} +2 -2
- package/dist/{api-request-C0uRcl6r.js → api-request-BKI8ddCr.js} +1 -1
- package/dist/auth/index.d.ts +1 -1
- package/dist/auth/index.js +2 -2
- package/dist/{browser-interactive-control-controller-DnLIhS4x.js → browser-interactive-control-controller-CCbo1ejK.js} +14 -14
- package/dist/{browser-interactive-control-controller-BtP7gGeC.d.ts → browser-interactive-control-controller-DPZh8xys.d.ts} +2 -2
- package/dist/{cli-auth-bundle-CQCj_DOW-DdfGd3Qs.js → cli-auth-bundle-CQCj_DOW-Dh_yUYBo.js} +1 -1
- package/dist/{cli-auth-bundle-a7NYzsfF.d.ts → cli-auth-bundle-Dx3AAWdJ.d.ts} +1 -1
- package/dist/cli-auth-bundle-RoFICrlP.js +2 -0
- package/dist/{client-YkIs8lWJ.js → client-Bmge_GT6.js} +6 -6
- package/dist/{client-BbfGvNbm.d.ts → client-DY10uB8I.d.ts} +752 -772
- package/dist/collaboration/index.js +1 -1
- package/dist/{collaboration-BLoPgz8S.js → collaboration-DnSFyACS.js} +1 -1
- package/dist/core.d.ts +6 -6
- package/dist/core.js +3 -3
- package/dist/gpu-lease/index.js +1 -1
- package/dist/{harness-4D0kk6wY.js → harness-QlDF8rzb.js} +9 -11
- package/dist/{index-jZQxVUrN.d.ts → index-BcR82U6g.d.ts} +8 -8
- package/dist/{index--9j_Jlf_.d.ts → index-V_pXOH3B.d.ts} +89 -95
- package/dist/index.d.ts +10 -10
- package/dist/index.js +9 -9
- package/dist/intelligence/index.js +1 -1
- package/dist/interactive-control.d.ts +1 -1
- package/dist/interactive-control.js +1 -1
- package/dist/{interactive-controller-Dkw-3X0c.js → interactive-controller-DKcK7qN8.js} +5 -5
- package/dist/{interactive-controller-BFNv2dN0.d.ts → interactive-controller-DfZ2KrsK.d.ts} +4 -4
- package/dist/{lines-DvPmKFBk.d.ts → lines-DfLFLZ7b.d.ts} +1 -1
- package/dist/lines.d.ts +1 -1
- package/dist/{local-cli-auth-BnPW3Zv_.js → local-cli-auth-D_Dl4Jaa.js} +1 -1
- package/dist/{mcp-local-Qqge6hJr.js → mcp-local-BYwp4pV3.js} +2 -2
- package/dist/{preview-Cxv4GKi9.d.ts → preview-BsVojdAE.d.ts} +3 -3
- package/dist/{profile-schema-B48XymtK.js → profile-schema-BHeC7cOf.js} +27 -20
- package/dist/{public-templates-DE4mT8-C.d.ts → public-templates-CylTbD2k.d.ts} +2 -2
- package/dist/public-templates.d.ts +1 -1
- package/dist/runtime.d.ts +5 -5
- package/dist/runtime.js +3 -3
- package/dist/{sandbox-DwsMu1zb.js → sandbox-VKAvg6I7.js} +28 -20
- package/dist/{select-seat-W4XkdO9H.js → select-seat-DQpFCkQJ.js} +4 -4
- package/dist/select-seat-command.d.ts +2 -2
- package/dist/select-seat-command.js +1 -1
- 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-B_pdhE4U.js → tangle-cRan5p12.js} +2 -2
- package/dist/{terminal-stream-types-CGZs6PVs.d.ts → terminal-stream-types-BItnV5cg.d.ts} +1 -1
- package/dist/{types-UAGBYRdS.d.ts → types-DfsD55et.d.ts} +3 -3
- package/package.json +6 -6
- package/dist/cli-auth-bundle-C8Xc8YKk.js +0 -2
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { A as requestedPublicProfileDigest, B as AgentRuntimeAttachmentsSchema, C as runtimeFilesystemPath, D as assertCurrentBackendType, E as applyRequestedModel, F as createAgentRunOutcomeTracker, I as deriveAgentResultOutcome, O as mergeRuntimeBackendConfig, P as withoutRuntimeSecrets, S as encodeTextForWire, W as normalizeEffectiveBackend, _ as mintTraceId, a as assertScopedTokenActive, b as validateAcceptedDispatchRunRef, c as SandboxRuntimeApi, d as appendSessionIdQuery, f as callHeaders, g as isTraceId, h as TRACE_ID_HEADER, i as terminalUpgradeHeadersSupported, j as requestedSecretProfilePublicDigest, k as normalizeRuntimeBackendConfig, l as normalizeSessionInfo, m as assertFileWritePreconditions, n as InteractiveSessionController, p as sessionHeaders, r as TerminalStream, s as requestScopedToken, u as sessionMessageRequestBody, v as resolveTraceId, w as canUseNodeHttp2, x as encodePromptForWire, y as resolveDispatchRunIdentity } from "./interactive-controller-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { A as agentInteractiveSessionStatusMatchesRef, B as PlanContinuationSchema, C as AgentInteractiveSessionStopAcknowledgementSchema, D as agentInteractiveSessionControlClaimMatchesRef, E as agentInteractiveSessionControlClaimIsNewer, F as AgentRunCancellationAcknowledgementSchema, G as InteractionResponseSchema, H as InteractionBindingSchema, I as AgentRunCancellationRequestSchema, L as agentRunCancellationAcknowledgementMatchesRequest, M as agentInteractiveDimensionSchema, N as sameAgentExactRun, O as agentInteractiveSessionPromptAcknowledgementMatchesCommand, P as AgentExactRunControlRefSchema, S as AgentInteractiveSessionStatusSchema, T as agentInteractiveSessionControlClaimAcknowledgementMatchesRequest, U as InteractionRequestSchema, V as InteractionAcknowledgementSchema, W as InteractionResponseCommandSchema, _ as AgentInteractiveSessionControlClaimRequestSchema, b as AgentInteractiveSessionPromptCommandSchema, d as interactiveSessionControlClaimResponseSchema, f as interactiveSessionControlReleaseResponseSchema, g as AgentInteractiveSessionControlClaimAcknowledgementSchema, h as AgentInteractiveSessionAttachSchema, j as agentInteractiveSessionStopAcknowledgementMatchesCommand, l as createInteractiveControlHolderId, m as interactiveSessionStatusResponseSchema, p as interactiveSessionControlValidationResponseSchema, v as AgentInteractiveSessionControlClaimSchema, w as AgentInteractiveSessionStopCommandSchema, x as AgentInteractiveSessionRefSchema, y as AgentInteractiveSessionPromptAcknowledgementSchema } from "./browser-interactive-control-controller-
|
|
5
|
-
import { t as canonicalAgentProfileDigest } from "./agent-execution-preparation-
|
|
1
|
+
import { A as requestedPublicProfileDigest, B as AgentRuntimeAttachmentsSchema, C as runtimeFilesystemPath, D as assertCurrentBackendType, E as applyRequestedModel, F as createAgentRunOutcomeTracker, I as deriveAgentResultOutcome, O as mergeRuntimeBackendConfig, P as withoutRuntimeSecrets, S as encodeTextForWire, W as normalizeEffectiveBackend, _ as mintTraceId, a as assertScopedTokenActive, b as validateAcceptedDispatchRunRef, c as SandboxRuntimeApi, d as appendSessionIdQuery, f as callHeaders, g as isTraceId, h as TRACE_ID_HEADER, i as terminalUpgradeHeadersSupported, j as requestedSecretProfilePublicDigest, k as normalizeRuntimeBackendConfig, l as normalizeSessionInfo, m as assertFileWritePreconditions, n as InteractiveSessionController, p as sessionHeaders, r as TerminalStream, s as requestScopedToken, u as sessionMessageRequestBody, v as resolveTraceId, w as canUseNodeHttp2, x as encodePromptForWire, y as resolveDispatchRunIdentity } from "./interactive-controller-DKcK7qN8.js";
|
|
2
|
+
import { O as boundedStringSchema, T as boundedIdentifierSchema, c as canonicalCandidateJson, s as canonicalCandidateDigest, v as sha256DigestSchema } from "./harness-QlDF8rzb.js";
|
|
3
|
+
import { o as ProxySecretReceiptSchema, r as agentProfileSchema } from "./profile-schema-BHeC7cOf.js";
|
|
4
|
+
import { A as agentInteractiveSessionStatusMatchesRef, B as PlanContinuationSchema, C as AgentInteractiveSessionStopAcknowledgementSchema, D as agentInteractiveSessionControlClaimMatchesRef, E as agentInteractiveSessionControlClaimIsNewer, F as AgentRunCancellationAcknowledgementSchema, G as InteractionResponseSchema, H as InteractionBindingSchema, I as AgentRunCancellationRequestSchema, L as agentRunCancellationAcknowledgementMatchesRequest, M as agentInteractiveDimensionSchema, N as sameAgentExactRun, O as agentInteractiveSessionPromptAcknowledgementMatchesCommand, P as AgentExactRunControlRefSchema, S as AgentInteractiveSessionStatusSchema, T as agentInteractiveSessionControlClaimAcknowledgementMatchesRequest, U as InteractionRequestSchema, V as InteractionAcknowledgementSchema, W as InteractionResponseCommandSchema, _ as AgentInteractiveSessionControlClaimRequestSchema, b as AgentInteractiveSessionPromptCommandSchema, d as interactiveSessionControlClaimResponseSchema, f as interactiveSessionControlReleaseResponseSchema, g as AgentInteractiveSessionControlClaimAcknowledgementSchema, h as AgentInteractiveSessionAttachSchema, j as agentInteractiveSessionStopAcknowledgementMatchesCommand, l as createInteractiveControlHolderId, m as interactiveSessionStatusResponseSchema, p as interactiveSessionControlValidationResponseSchema, v as AgentInteractiveSessionControlClaimSchema, w as AgentInteractiveSessionStopCommandSchema, x as AgentInteractiveSessionRefSchema, y as AgentInteractiveSessionPromptAcknowledgementSchema } from "./browser-interactive-control-controller-CCbo1ejK.js";
|
|
5
|
+
import { t as canonicalAgentProfileDigest } from "./agent-execution-preparation-B8PJuIsN.js";
|
|
6
6
|
import { C as SandboxError, D as TimeoutError, E as StreamInterruptedError, O as ValidationError, T as StateError, _ as NetworkError, a as readResponseJson, b as ProfileFileMountPathError, c as AuthError, f as EdgeNotReadyError, i as parseResponseError, n as isTransientWrite, o as responseMetadata, r as parseErrorResponse, s as retryWhen, t as TerminalStreamError, u as CapabilityError, v as NotFoundError, w as ServerError, y as PartialFailureError } from "./errors-BY7a-Hpw.js";
|
|
7
7
|
import { t as parseSandboxRetryAfterHeader } from "./retry-after-header-BZbs5rig.js";
|
|
8
8
|
import { n as combineAbortSignals, t as awaitWithAbort } from "./abort-signal-BsriwJ8L.js";
|
|
9
9
|
import { a as backoffDelayMs, o as isUndelivered, r as abortableSleep } from "./retry-policy-oW3_ljoc.js";
|
|
10
|
-
import { a as isReplayableBody, i as fetchSandboxApi, n as SDK_TIMEOUTS, o as rewrapResponse, t as IDEMPOTENT_METHODS } from "./api-request-
|
|
10
|
+
import { a as isReplayableBody, i as fetchSandboxApi, n as SDK_TIMEOUTS, o as rewrapResponse, t as IDEMPOTENT_METHODS } from "./api-request-BKI8ddCr.js";
|
|
11
11
|
import { a as SANDBOX_PROXY_REQUEST_MAX_BYTES, c as PROFILE_FILE_MOUNT_OUTSIDE_ROOTS_CODE, d as isProfileFileMountOutsideRoots, f as profileFileMountOutsideRootsMessage, l as SANDBOX_AGENT_HOME, o as FILE_OPERATION_LIMITS, t as isInsideReservedDir$1, u as SANDBOX_FILE_API_ABSOLUTE_ROOTS } from "./file-transfer-DOSTbUSR.js";
|
|
12
12
|
import { c as uploadChunked, l as awaitSdkResend, u as takeSdkTurn } from "./chunked-upload-C44d_Ao7.js";
|
|
13
13
|
import { n as fetchWithKeepAlive, t as emitTiming } from "./keep-alive-fetch-sGVP8skk.js";
|
|
14
14
|
import { t as SIDECAR_PROXY_ERROR_HEADER } from "./sidecar-proxy-error-DTdbCbUM.js";
|
|
15
15
|
import { t as parseSSEStream } from "./sse-parser-BCG3iL9j.js";
|
|
16
16
|
import { t as runPreparedProcess } from "./prepared-process-DQ_68Ofg.js";
|
|
17
|
-
import { a as isBackendType, r as cliAuthReferenceSchema } from "./cli-auth-bundle-CQCj_DOW-
|
|
18
|
-
import "./cli-auth-bundle-
|
|
17
|
+
import { a as isBackendType, r as cliAuthReferenceSchema } from "./cli-auth-bundle-CQCj_DOW-Dh_yUYBo.js";
|
|
18
|
+
import "./cli-auth-bundle-RoFICrlP.js";
|
|
19
19
|
import { n as SandboxLines } from "./lines-CBVx6e2x.js";
|
|
20
20
|
import { t as downloadFile } from "./file-download-BxpmTr9a.js";
|
|
21
21
|
import { z } from "zod";
|
|
@@ -27,7 +27,7 @@ import { PART_TEXT, PART_TEXT_SUFFIX, locatePart } from "@tangle-network/agent-c
|
|
|
27
27
|
import { readTokenUsage } from "@tangle-network/agent-core";
|
|
28
28
|
import "@tangle-network/agent-interface/environment-provider";
|
|
29
29
|
import { OTLP_SPAN_KIND, OTLP_STATUS_CODE, msToUnixNano, otlpTraceExport, toOtlpAttributes, toW3CSpanId, toW3CTraceId } from "@tangle-network/agent-trace-contract/otlp";
|
|
30
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
30
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.28/node_modules/@tangle-network/agent-interface/dist/provider-config.js
|
|
31
31
|
const nativeWebSearchKeys = new Set(["websearch"]);
|
|
32
32
|
const nativeWebFetchKeys = new Set(["webfetch", "fetch"]);
|
|
33
33
|
function resolveNativeWebTools(tools) {
|
|
@@ -42,7 +42,7 @@ function resolveNativeWebTools(tools) {
|
|
|
42
42
|
return posture;
|
|
43
43
|
}
|
|
44
44
|
//#endregion
|
|
45
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
45
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.28/node_modules/@tangle-network/agent-interface/dist/environment-interactive-start.js
|
|
46
46
|
const AgentInteractiveSessionRunCoordinatesSchema = z.strictObject({
|
|
47
47
|
provider: boundedIdentifierSchema,
|
|
48
48
|
environmentId: boundedIdentifierSchema,
|
|
@@ -119,7 +119,7 @@ function runCoordinates(run) {
|
|
|
119
119
|
};
|
|
120
120
|
}
|
|
121
121
|
//#endregion
|
|
122
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
122
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.28/node_modules/@tangle-network/agent-interface/dist/environment-terminal.js
|
|
123
123
|
const terminalDimensionSchema = z.number().int().positive().max(1e4);
|
|
124
124
|
/**
|
|
125
125
|
* Provider-neutral handle for one interactive terminal.
|
|
@@ -3294,14 +3294,21 @@ var SandboxOperation = class SandboxOperation {
|
|
|
3294
3294
|
}
|
|
3295
3295
|
/** Read the operation's current state. */
|
|
3296
3296
|
async refresh({ signal, waitMs = 0 } = {}) {
|
|
3297
|
+
return this.#read(signal, waitMs);
|
|
3298
|
+
}
|
|
3299
|
+
async #read(signal, waitMs, timeoutMs) {
|
|
3297
3300
|
signal?.throwIfAborted();
|
|
3298
3301
|
if (!this.#client || isTerminalOperation(this.#info)) {
|
|
3299
3302
|
await this.#settle();
|
|
3300
3303
|
signal?.throwIfAborted();
|
|
3301
3304
|
return this.#info;
|
|
3302
3305
|
}
|
|
3303
|
-
const
|
|
3304
|
-
const
|
|
3306
|
+
const until = this.#info.kind === "delete" && new URLSearchParams(this.#info.statusUrl.split("?")[1]).get("until") === "removed";
|
|
3307
|
+
const params = new URLSearchParams();
|
|
3308
|
+
if (until) params.set("until", "removed");
|
|
3309
|
+
if (waitMs) params.set("waitMs", String(waitMs));
|
|
3310
|
+
const query = params.size ? `?${params}` : "";
|
|
3311
|
+
const response = await this.#client.fetch(`/v1/sandboxes/${encodeURIComponent(this.#info.sandboxId)}/operations/${encodeURIComponent(this.#info.id)}${query}`, { signal }, { timeoutMs });
|
|
3305
3312
|
if (!response.ok) throw await parseResponseError(response);
|
|
3306
3313
|
this.#info = parseSandboxOperation(await response.json(), {
|
|
3307
3314
|
kind: this.#info.kind,
|
|
@@ -3317,7 +3324,7 @@ var SandboxOperation = class SandboxOperation {
|
|
|
3317
3324
|
this.#settled = true;
|
|
3318
3325
|
await this.#onSettled?.(this.#info);
|
|
3319
3326
|
}
|
|
3320
|
-
/** Wait
|
|
3327
|
+
/** Wait on the accepted operation. Pace peers that return pending immediately. */
|
|
3321
3328
|
async wait(options = {}) {
|
|
3322
3329
|
const timeoutMs = options.timeoutMs ?? SDK_TIMEOUTS.operationWait;
|
|
3323
3330
|
const startedAt = Date.now();
|
|
@@ -3336,13 +3343,14 @@ var SandboxOperation = class SandboxOperation {
|
|
|
3336
3343
|
if (Date.now() - startedAt + delayMs > timeoutMs) throw timedOut();
|
|
3337
3344
|
await abortableSleep(delayMs, signal);
|
|
3338
3345
|
capMs = Math.min(Math.max(capMs * 2, FIRST_POLL_MS), MAX_POLL_MS);
|
|
3346
|
+
const readStartedAt = Date.now();
|
|
3347
|
+
const remainingMs = startedAt + timeoutMs - readStartedAt;
|
|
3348
|
+
if (remainingMs <= 0 && !isTerminalOperation(this.#info)) throw timedOut();
|
|
3339
3349
|
try {
|
|
3340
|
-
const
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
});
|
|
3345
|
-
delayMs = this.#info.kind === "snapshot" ? Math.max(0, capMs - (Date.now() - readStartedAt)) : capMs;
|
|
3350
|
+
const requestMs = Math.min(this.#client?.timeoutMs ?? SDK_TIMEOUTS.default, remainingMs);
|
|
3351
|
+
const holdMs = Math.max(0, Math.min(1e4, Math.floor(requestMs / 2)));
|
|
3352
|
+
info = await this.#read(signal, holdMs, requestMs);
|
|
3353
|
+
delayMs = Math.max(0, capMs - (Date.now() - readStartedAt));
|
|
3346
3354
|
failedReads = 0;
|
|
3347
3355
|
} catch (error) {
|
|
3348
3356
|
if (!retryWhen(error) || error.code === "UPSTREAM_CONTRACT_VIOLATION") throw error;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { r as agentProfileSchema } from "./profile-schema-
|
|
2
|
-
import { t as canonicalAgentProfileDigest } from "./agent-execution-preparation-
|
|
1
|
+
import { r as agentProfileSchema } from "./profile-schema-BHeC7cOf.js";
|
|
2
|
+
import { t as canonicalAgentProfileDigest } from "./agent-execution-preparation-B8PJuIsN.js";
|
|
3
3
|
import { C as SandboxError, O as ValidationError, u as CapabilityError } from "./errors-BY7a-Hpw.js";
|
|
4
4
|
import { n as combineAbortSignals, t as awaitWithAbort } from "./abort-signal-BsriwJ8L.js";
|
|
5
|
-
import { r as cliAuthReferenceSchema } from "./cli-auth-bundle-CQCj_DOW-
|
|
6
|
-
import "./cli-auth-bundle-
|
|
5
|
+
import { r as cliAuthReferenceSchema } from "./cli-auth-bundle-CQCj_DOW-Dh_yUYBo.js";
|
|
6
|
+
import "./cli-auth-bundle-RoFICrlP.js";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
//#region ../../../packages/runtime-contracts/dist/seat-selection.js
|
|
9
9
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as SandboxError } from "./terminal-stream-types-
|
|
2
|
-
import { _t as SeatOwnerTransport, bt as SeatSelectionRequest, ft as SEAT_COMMAND_TIMEOUT_MS } from "./client-
|
|
1
|
+
import { R as SandboxError } from "./terminal-stream-types-BItnV5cg.js";
|
|
2
|
+
import { _t as SeatOwnerTransport, bt as SeatSelectionRequest, ft as SEAT_COMMAND_TIMEOUT_MS } from "./client-DY10uB8I.js";
|
|
3
3
|
|
|
4
4
|
//#region src/select-seat-command.d.ts
|
|
5
5
|
/** Public reply bound; the owner prints one metadata object. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as SandboxError, O as ValidationError } from "./errors-BY7a-Hpw.js";
|
|
2
|
-
import { r as SEAT_OWNER_MAX_RESPONSE_BYTES, s as seatOwnerTimeoutMs, t as SEAT_COMMAND_TIMEOUT_MS } from "./select-seat-
|
|
2
|
+
import { r as SEAT_OWNER_MAX_RESPONSE_BYTES, s as seatOwnerTimeoutMs, t as SEAT_COMMAND_TIMEOUT_MS } from "./select-seat-DQpFCkQJ.js";
|
|
3
3
|
import { spawn } from "node:child_process";
|
|
4
4
|
//#region src/select-seat-command.ts
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as combineAbortSignals } from "../abort-signal-BsriwJ8L.js";
|
|
2
|
-
import { i as fetchSandboxApi } from "../api-request-
|
|
2
|
+
import { i as fetchSandboxApi } from "../api-request-BKI8ddCr.js";
|
|
3
3
|
import "../sidecar-proxy-error-DTdbCbUM.js";
|
|
4
4
|
import { t as parseSSEStream } from "../sse-parser-BCG3iL9j.js";
|
|
5
5
|
import { PART_TEXT, PART_TEXT_SUFFIX } from "@tangle-network/agent-core/sse";
|
package/dist/tangle/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as JsonResponseParamTypes, E as SandboxIdParamTypes, S as JOB_SANDBOX_DELETE, T as SandboxCreateResponseParamTypes, _ as TANGLE_CHAIN_ID, a as fetchQuote, b as AgentSandboxBlueprintAbi, c as parseQuoteResponse, d as OperatorSession, f as OperatorSessionError, g as BlueprintSandboxClientConfig, h as BlueprintSandboxClient, i as SignedQuote, l as validateQuote, m as SignMessage, n as QuoteDomain, o as inputsHashOf, p as OperatorSessionToken, r as QuoteError, s as jobQuoteDigest, t as JobQuoteDetails, u as OperatorChallenge, v as TANGLE_JOBS_CONTRACT, w as SandboxCreateParamTypes, x as JOB_SANDBOX_CREATE, y as ITangleJobsAbi } from "../index-
|
|
1
|
+
import { C as JsonResponseParamTypes, E as SandboxIdParamTypes, S as JOB_SANDBOX_DELETE, T as SandboxCreateResponseParamTypes, _ as TANGLE_CHAIN_ID, a as fetchQuote, b as AgentSandboxBlueprintAbi, c as parseQuoteResponse, d as OperatorSession, f as OperatorSessionError, g as BlueprintSandboxClientConfig, h as BlueprintSandboxClient, i as SignedQuote, l as validateQuote, m as SignMessage, n as QuoteDomain, o as inputsHashOf, p as OperatorSessionToken, r as QuoteError, s as jobQuoteDigest, t as JobQuoteDetails, u as OperatorChallenge, v as TANGLE_JOBS_CONTRACT, w as SandboxCreateParamTypes, x as JOB_SANDBOX_CREATE, y as ITangleJobsAbi } from "../index-BcR82U6g.js";
|
|
2
2
|
export { AgentSandboxBlueprintAbi, BlueprintSandboxClient, BlueprintSandboxClientConfig, ITangleJobsAbi, JOB_SANDBOX_CREATE, JOB_SANDBOX_DELETE, JobQuoteDetails, JsonResponseParamTypes, OperatorChallenge, OperatorSession, OperatorSessionError, OperatorSessionToken, QuoteDomain, QuoteError, SandboxCreateParamTypes, SandboxCreateResponseParamTypes, SandboxIdParamTypes, SignMessage, SignedQuote, TANGLE_CHAIN_ID, TANGLE_JOBS_CONTRACT, fetchQuote, inputsHashOf, jobQuoteDigest, parseQuoteResponse, validateQuote };
|
package/dist/tangle/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { _ as SandboxCreateResponseParamTypes, a as parseQuoteResponse, c as OperatorSession, d as TANGLE_JOBS_CONTRACT, f as AgentSandboxBlueprintAbi, g as SandboxCreateParamTypes, h as JsonResponseParamTypes, i as jobQuoteDigest, l as OperatorSessionError, m as JOB_SANDBOX_DELETE, n as fetchQuote, o as validateQuote, p as JOB_SANDBOX_CREATE, r as inputsHashOf, s as BlueprintSandboxClient, t as QuoteError, u as TANGLE_CHAIN_ID, v as SandboxIdParamTypes } from "../tangle-
|
|
1
|
+
import { _ as SandboxCreateResponseParamTypes, a as parseQuoteResponse, c as OperatorSession, d as TANGLE_JOBS_CONTRACT, f as AgentSandboxBlueprintAbi, g as SandboxCreateParamTypes, h as JsonResponseParamTypes, i as jobQuoteDigest, l as OperatorSessionError, m as JOB_SANDBOX_DELETE, n as fetchQuote, o as validateQuote, p as JOB_SANDBOX_CREATE, r as inputsHashOf, s as BlueprintSandboxClient, t as QuoteError, u as TANGLE_CHAIN_ID, v as SandboxIdParamTypes } from "../tangle-cRan5p12.js";
|
|
2
2
|
import { t as ITangleJobsAbi } from "../abi-pcDt2Adp.js";
|
|
3
3
|
export { AgentSandboxBlueprintAbi, BlueprintSandboxClient, ITangleJobsAbi, JOB_SANDBOX_CREATE, JOB_SANDBOX_DELETE, JsonResponseParamTypes, OperatorSession, OperatorSessionError, QuoteError, SandboxCreateParamTypes, SandboxCreateResponseParamTypes, SandboxIdParamTypes, TANGLE_CHAIN_ID, TANGLE_JOBS_CONTRACT, fetchQuote, inputsHashOf, jobQuoteDigest, parseQuoteResponse, validateQuote };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { L as readFilesystemIncarnationTuple, n as createSandboxInstanceFromResponse } from "./sandbox-
|
|
1
|
+
import { L as readFilesystemIncarnationTuple, n as createSandboxInstanceFromResponse } from "./sandbox-VKAvg6I7.js";
|
|
2
2
|
import { a as readResponseJson } from "./errors-BY7a-Hpw.js";
|
|
3
|
-
import { i as fetchSandboxApi } from "./api-request-
|
|
3
|
+
import { i as fetchSandboxApi } from "./api-request-BKI8ddCr.js";
|
|
4
4
|
import { t as ITangleJobsAbi } from "./abi-pcDt2Adp.js";
|
|
5
5
|
import { _ as rotlBH, a as anumber, b as rotlSL, d as createXOFer, g as u32, h as toBytes$1, l as createHasher, m as swap32IfBE, n as abytes, o as aoutput, r as aexists, s as clean, t as Hash, v as rotlBL, x as split, y as rotlSH } from "./utils-BvN0Mk3j.js";
|
|
6
6
|
//#region ../../../packages/runtime-contracts/dist/tangle-blueprint-abi.js
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as AgentProfile, a as AgentInteractiveSessionControlClaim, u as AgentInteractiveSessionRef } from "./index
|
|
1
|
+
import { T as AgentProfile, a as AgentInteractiveSessionControlClaim, u as AgentInteractiveSessionRef } from "./index-V_pXOH3B.js";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
|
|
4
4
|
//#region ../../../packages/runtime-contracts/dist/batch-events.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
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-
|
|
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
|
|
3
|
-
import { r as CliAuthReference } from "./cli-auth-bundle-
|
|
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-BItnV5cg.js";
|
|
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-V_pXOH3B.js";
|
|
3
|
+
import { r as CliAuthReference } from "./cli-auth-bundle-Dx3AAWdJ.js";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region ../../../packages/runtime-contracts/dist/backend-types.d.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sandbox",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.465",
|
|
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": [
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
},
|
|
110
110
|
"dependencies": {
|
|
111
111
|
"@tangle-network/agent-core": "^1.0.3",
|
|
112
|
-
"@tangle-network/agent-interface": "^5.10.
|
|
112
|
+
"@tangle-network/agent-interface": "^5.10.28",
|
|
113
113
|
"@tangle-network/agent-trace-contract": "^2.2.0",
|
|
114
114
|
"tar-stream": "3.2.2",
|
|
115
115
|
"zod": "^4.6.7"
|
|
@@ -153,15 +153,15 @@
|
|
|
153
153
|
"vitest": "^4.1.12",
|
|
154
154
|
"ws": "^8.22.0",
|
|
155
155
|
"yjs": "13.6.33",
|
|
156
|
-
"@products/sandbox-test-utils": "0.0.0",
|
|
157
156
|
"@repo/shared": "0.0.0",
|
|
158
157
|
"@tangle-network/agent-profile-materialize": "0.27.1",
|
|
158
|
+
"@tangle-network/runtime-contracts": "0.20.0",
|
|
159
159
|
"@tangle-network/cli-agent-registry": "0.15.0",
|
|
160
|
-
"@
|
|
160
|
+
"@products/sandbox-test-utils": "0.0.0"
|
|
161
161
|
},
|
|
162
162
|
"tangleRelease": {
|
|
163
|
-
"sourceSha": "
|
|
164
|
-
"mergedAt": "2026-11-
|
|
163
|
+
"sourceSha": "dfc619bcf896cc201f6a9f1cbf455dc471fa5592",
|
|
164
|
+
"mergedAt": "2026-11-18T23:02:22-08:00"
|
|
165
165
|
},
|
|
166
166
|
"scripts": {
|
|
167
167
|
"build": "node scripts/build-dist.mjs && bash scripts/verify-dist.sh",
|