@tangle-network/sandbox 1.0.462 → 1.0.464
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-BXdqD-4_.d.ts → agent-run-outcome-DCVKc99v.d.ts} +2 -2
- package/dist/{api-request-BcDtKug5.js → api-request-DFpcKfrO.js} +1 -1
- package/dist/auth/index.d.ts +1 -1
- package/dist/auth/index.js +2 -2
- package/dist/{browser-interactive-control-controller-DPvD3aJz.js → browser-interactive-control-controller-C81_DzHi.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-2oiz9Xk1.js → client-BcZS5SYI.js} +6 -6
- package/dist/{client-CJRXapXV.d.ts → client-KvpvA_oV.d.ts} +752 -772
- package/dist/collaboration/index.js +1 -1
- package/dist/{collaboration-CbEnVU0n.js → collaboration-BQp8Dqeq.js} +1 -1
- package/dist/core.d.ts +6 -6
- package/dist/core.js +3 -3
- package/dist/{direct-http2-CzeIT93P.js → direct-http2-BqJVkite.js} +7 -1
- package/dist/gpu-lease/index.js +1 -1
- package/dist/{harness-4D0kk6wY.js → harness-QlDF8rzb.js} +9 -11
- package/dist/{index-DgyvxChf.d.ts → index-CWzm0-E3.d.ts} +7 -7
- 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-Bbuy-2bQ.d.ts → interactive-controller-DfZ2KrsK.d.ts} +4 -4
- package/dist/{interactive-controller-Ck3l0I-k.js → interactive-controller-vk_udWBX.js} +5 -5
- package/dist/{lines-CdX7JEyC.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-otBlLlXK.js → mcp-local-ClDVsi69.js} +2 -2
- package/dist/{preview-WqDvQI7T.d.ts → preview-Dhngufpf.d.ts} +3 -3
- package/dist/{profile-schema-B48XymtK.js → profile-schema-BHeC7cOf.js} +27 -20
- package/dist/{public-templates-0FkkJAmB.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-ChmEq0Fx.js → sandbox-BvB4theH.js} +12 -12
- 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-B9bFnhfQ.js → tangle-TCymEYrf.js} +2 -2
- package/dist/{terminal-stream-types-CGZs6PVs.d.ts → terminal-stream-types-BItnV5cg.d.ts} +1 -1
- package/dist/{types-x65T-ZX2.d.ts → types-DfsD55et.d.ts} +6 -3
- package/package.json +7 -7
- 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-vk_udWBX.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-C81_DzHi.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-DFpcKfrO.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.
|
|
@@ -3101,7 +3101,7 @@ var DirectRuntimeHttpClient = class {
|
|
|
3101
3101
|
path
|
|
3102
3102
|
};
|
|
3103
3103
|
if (!route) throw new NetworkError("Direct runtime route was withdrawn");
|
|
3104
|
-
const { fetchDirectHttp2: transport } = (route.useHost || route.useExec) && canUseNodeHttp2() ? await import("./direct-http2-
|
|
3104
|
+
const { fetchDirectHttp2: transport } = (route.useHost || route.useExec) && canUseNodeHttp2() ? await import("./direct-http2-BqJVkite.js") : { fetchDirectHttp2: fetchWithKeepAlive };
|
|
3105
3105
|
return fetchSandboxApi({
|
|
3106
3106
|
baseUrl: route.origin,
|
|
3107
3107
|
timeoutMs: this.baseClient.timeoutMs,
|
|
@@ -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-KvpvA_oV.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-DFpcKfrO.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-CWzm0-E3.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-TCymEYrf.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-BvB4theH.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-DFpcKfrO.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
|
|
@@ -2695,6 +2695,9 @@ interface SdkTimingEntry {
|
|
|
2695
2695
|
status?: number;
|
|
2696
2696
|
/** `sdk.request` only; absent when the runtime exposes no socket events. */
|
|
2697
2697
|
socket?: "new" | "reused";
|
|
2698
|
+
/** Time this HTTP/2 request waited for its session to connect. A concurrent request
|
|
2699
|
+
* can reuse a connecting session. An already connected session reports zero. */
|
|
2700
|
+
connectionWaitMs?: number;
|
|
2698
2701
|
/** `sdk.request` only; absent when the runtime exposes no socket events. */
|
|
2699
2702
|
phases?: SdkRequestPhases;
|
|
2700
2703
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sandbox",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.464",
|
|
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
|
+
"@tangle-network/agent-profile-materialize": "0.27.1",
|
|
156
157
|
"@products/sandbox-test-utils": "0.0.0",
|
|
157
|
-
"@tangle-network/cli-agent-registry": "0.15.0",
|
|
158
158
|
"@tangle-network/runtime-contracts": "0.20.0",
|
|
159
|
-
"@
|
|
160
|
-
"@
|
|
159
|
+
"@tangle-network/cli-agent-registry": "0.15.0",
|
|
160
|
+
"@repo/shared": "0.0.0"
|
|
161
161
|
},
|
|
162
162
|
"tangleRelease": {
|
|
163
|
-
"sourceSha": "
|
|
164
|
-
"mergedAt": "2026-11-
|
|
163
|
+
"sourceSha": "61759acea650aa1e856a2aa0da5a3b04e1105e06",
|
|
164
|
+
"mergedAt": "2026-11-18T18:45:51-08:00"
|
|
165
165
|
},
|
|
166
166
|
"scripts": {
|
|
167
167
|
"build": "node scripts/build-dist.mjs && bash scripts/verify-dist.sh",
|