@tangle-network/sandbox 0.62.18 → 0.62.20
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.js +2 -2
- package/dist/{client-C1hSgXB-.js → client-CY2P3c8W.js} +1 -1
- package/dist/core.js +2 -2
- package/dist/index.js +3 -3
- package/dist/{sandbox-ChgyE6cI.js → sandbox-Dy5NEku6.js} +17 -0
- package/dist/tangle/index.js +1 -1
- package/dist/{tangle-CSMVbnXg.js → tangle-B4DBZqPg.js} +1 -1
- package/package.json +6 -6
package/dist/agent/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as TOOL_SPECS, i as ALL_TOOL_SPECS, o as serializeToolResult, r as bindToolSpecs, t as createMcpServer } from "../mcp-local-BYHcA72Z.js";
|
|
2
2
|
import { A as assertCurrentBackendType } from "../interactive-controller-B8W1CCXk.js";
|
|
3
3
|
import { d as NotFoundError, v as StateError, x as ValidationError } from "../errors-Bfhg_Zc6.js";
|
|
4
|
-
import { n as Sandbox } from "../client-
|
|
5
|
-
import { t as SandboxInstance } from "../sandbox-
|
|
4
|
+
import { n as Sandbox } from "../client-CY2P3c8W.js";
|
|
5
|
+
import { t as SandboxInstance } from "../sandbox-Dy5NEku6.js";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
//#region src/agent/instances.ts
|
|
8
8
|
const managers = /* @__PURE__ */ new WeakMap();
|
|
@@ -2,7 +2,7 @@ import { r as backendTypeSchema } from "./backend-types-D6bYbvMB.js";
|
|
|
2
2
|
import { A as assertCurrentBackendType, E as encodePromptForWire, I as withProfileHarness, L as withoutCreateOnlyModelFields, N as normalizeRuntimeBackendConfig, O as parseSSEStream, c as requestInteractiveSessionToken, j as foldModelRoutingFields, k as applyRequestedModel } from "./interactive-controller-B8W1CCXk.js";
|
|
3
3
|
import { C as parseResponseError, S as parseErrorResponse, _ as ServerError, b as TimeoutError, d as NotFoundError, f as PartialFailureError, g as SandboxError, l as NON_RETRYABLE_CREATE_QUOTA_REASONS, m as QuotaError, s as GpuProviderNotConfiguredError, t as AuthError, u as NetworkError, w as readResponseJson, x as ValidationError } from "./errors-Bfhg_Zc6.js";
|
|
4
4
|
import { f as combineAbortSignals } from "./browser-interactive-control-controller-BJf0P_J4.js";
|
|
5
|
-
import { A as normalizeSandboxShape, D as splitInlineProfileSkills, E as splitInlineProfileFileMounts, N as exportTraceBundle, O as validateDeferredProfileFileMounts, a as normalizeStartupDiagnostics, i as normalizeSandboxCreateReceipt, j as rewrapResponse, k as normalizeConnection, n as createSandboxInstanceFromResponse, r as normalizeCaptureProof, w as isRetryableProfileFileMaterializeFailure } from "./sandbox-
|
|
5
|
+
import { A as normalizeSandboxShape, D as splitInlineProfileSkills, E as splitInlineProfileFileMounts, N as exportTraceBundle, O as validateDeferredProfileFileMounts, a as normalizeStartupDiagnostics, i as normalizeSandboxCreateReceipt, j as rewrapResponse, k as normalizeConnection, n as createSandboxInstanceFromResponse, r as normalizeCaptureProof, w as isRetryableProfileFileMaterializeFailure } from "./sandbox-Dy5NEku6.js";
|
|
6
6
|
import { n as fetchWithKeepAlive } from "./keep-alive-fetch-qPVvvkgJ.js";
|
|
7
7
|
import { LinesClient } from "./lines.js";
|
|
8
8
|
import { PublicTemplatesClient } from "./public-templates.js";
|
package/dist/core.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as ServerError, b as TimeoutError, d as NotFoundError, f as PartialFailureError, g as SandboxError, m as QuotaError, o as FileWriteConflictError, p as ProfileFileMountPathError, r as CapabilityError, t as AuthError, u as NetworkError, v as StateError, x as ValidationError } from "./errors-Bfhg_Zc6.js";
|
|
2
|
-
import { _ as parseBackendRegistryResponse, a as InstanceRestartingError, f as backendRegistryCapabilitiesSchema, g as isBackendRegistryInteractionKind, h as backendRegistryResponseSchema, i as HostedInstance, m as backendRegistryInteractionKindSchema, n as Sandbox, o as InstancesClient, p as backendRegistryEntrySchema, v as parseBackendRegistryResponseBody } from "./client-
|
|
3
|
-
import { C as ManagedProcessClient, o as WorkspaceImages, t as SandboxInstance } from "./sandbox-
|
|
2
|
+
import { _ as parseBackendRegistryResponse, a as InstanceRestartingError, f as backendRegistryCapabilitiesSchema, g as isBackendRegistryInteractionKind, h as backendRegistryResponseSchema, i as HostedInstance, m as backendRegistryInteractionKindSchema, n as Sandbox, o as InstancesClient, p as backendRegistryEntrySchema, v as parseBackendRegistryResponseBody } from "./client-CY2P3c8W.js";
|
|
3
|
+
import { C as ManagedProcessClient, o as WorkspaceImages, t as SandboxInstance } from "./sandbox-Dy5NEku6.js";
|
|
4
4
|
import { LinesClient, lineInstanceKey, profileChannelReference } from "./lines.js";
|
|
5
5
|
import { PublicTemplatePublishError, PublicTemplatesClient } from "./public-templates.js";
|
|
6
6
|
import { i as parseLineApplicationResult, n as LINE_APPLICATION_REQUEST_MAX_BYTES, r as parseLineApplicationRequest, t as LINE_APPLICATION_REPLY_MAX_CHARS } from "./line-application-UtPFP0o4.js";
|
package/dist/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { i as parseBackendType, r as backendTypeSchema, t as ALL_BACKEND_TYPES } from "./backend-types-D6bYbvMB.js";
|
|
2
2
|
import { B as deriveAgentResultOutcome, H as projectAgentTerminalRecord, N as normalizeRuntimeBackendConfig, O as parseSSEStream, P as requestedPublicProfileDigest, V as deriveAgentRunOutcome, a as terminalUpgradeHeadersSupported, i as TerminalStreamError, n as InteractiveSessionController, o as TERMINAL_WS_ECHO_SUBPROTOCOL, r as TerminalStream, t as BrowserInteractiveSessionController, z as createAgentRunOutcomeTracker } from "./interactive-controller-B8W1CCXk.js";
|
|
3
3
|
import { _ as ServerError, a as EgressProxyRecoveryError, b as TimeoutError, c as KeyBudgetExhaustedError, d as NotFoundError, f as PartialFailureError, g as SandboxError, h as ResumeEnvRequiredError, i as EdgeNotReadyError, m as QuotaError, n as BranchFanoutExceedsHostError, o as FileWriteConflictError, p as ProfileFileMountPathError, r as CapabilityError, s as GpuProviderNotConfiguredError, t as AuthError, u as NetworkError, v as StateError, x as ValidationError, y as StreamInterruptedError } from "./errors-Bfhg_Zc6.js";
|
|
4
|
-
import { _ as parseBackendRegistryResponse, a as InstanceRestartingError, c as SandboxFleetClient, d as validateBatchRunRequest, f as backendRegistryCapabilitiesSchema, g as isBackendRegistryInteractionKind, h as backendRegistryResponseSchema, i as HostedInstance, l as runtimeWorkspaceCwdSchema, m as backendRegistryInteractionKindSchema, n as Sandbox, o as InstancesClient, p as backendRegistryEntrySchema, r as RunsClient, s as SandboxFleet, t as IntelligenceClient, u as createBatchResultAccumulator, v as parseBackendRegistryResponseBody } from "./client-
|
|
4
|
+
import { _ as parseBackendRegistryResponse, a as InstanceRestartingError, c as SandboxFleetClient, d as validateBatchRunRequest, f as backendRegistryCapabilitiesSchema, g as isBackendRegistryInteractionKind, h as backendRegistryResponseSchema, i as HostedInstance, l as runtimeWorkspaceCwdSchema, m as backendRegistryInteractionKindSchema, n as Sandbox, o as InstancesClient, p as backendRegistryEntrySchema, r as RunsClient, s as SandboxFleet, t as IntelligenceClient, u as createBatchResultAccumulator, v as parseBackendRegistryResponseBody } from "./client-CY2P3c8W.js";
|
|
5
5
|
import { a as INTERACTIVE_CONTROL_CLEANUP_TIMEOUT_MS, l as createInteractiveControlHolderId, n as browserInteractiveControlHolderId, o as InteractiveSessionControlController, s as InteractiveSessionNotRunningError, t as BrowserInteractiveSessionControlController, u as interactiveSessionIdentityDigest } from "./browser-interactive-control-controller-BJf0P_J4.js";
|
|
6
|
-
import { C as ManagedProcessClient, D as splitInlineProfileSkills, E as splitInlineProfileFileMounts, F as toOtelJson, M as buildTraceExportPayload, N as exportTraceBundle, O as validateDeferredProfileFileMounts, P as otelTraceIdForTangleTrace, S as isToolBearingEvent, T as materializeProfileFileMounts, _ as SandboxOperationFailedError, b as collectAgentResponseText, c as MAX_EGRESS_DENIALS_LIMIT, d as InteractiveSessionHandle, f as agentInteractiveSessionPromptRequestDigest, g as SandboxOperation, h as createInteractiveTerminalSession, l as SandboxTaskSession, m as createInteractiveTerminalCapture, o as WorkspaceImages, p as InteractiveTerminalFrameLog, s as GPU_LEASE_PROVIDER_NAMES, t as SandboxInstance, u as SandboxSession, v as applySandboxEventText, x as getSandboxEventText, y as collectAgentFinalMessageText } from "./sandbox-
|
|
6
|
+
import { C as ManagedProcessClient, D as splitInlineProfileSkills, E as splitInlineProfileFileMounts, F as toOtelJson, M as buildTraceExportPayload, N as exportTraceBundle, O as validateDeferredProfileFileMounts, P as otelTraceIdForTangleTrace, S as isToolBearingEvent, T as materializeProfileFileMounts, _ as SandboxOperationFailedError, b as collectAgentResponseText, c as MAX_EGRESS_DENIALS_LIMIT, d as InteractiveSessionHandle, f as agentInteractiveSessionPromptRequestDigest, g as SandboxOperation, h as createInteractiveTerminalSession, l as SandboxTaskSession, m as createInteractiveTerminalCapture, o as WorkspaceImages, p as InteractiveTerminalFrameLog, s as GPU_LEASE_PROVIDER_NAMES, t as SandboxInstance, u as SandboxSession, v as applySandboxEventText, x as getSandboxEventText, y as collectAgentFinalMessageText } from "./sandbox-Dy5NEku6.js";
|
|
7
7
|
import { LinesClient, SandboxLines, lineInstanceKey, profileChannelReference } from "./lines.js";
|
|
8
8
|
import { PublicTemplatePublishError, PublicTemplatesClient } from "./public-templates.js";
|
|
9
9
|
import { a as CollaborationClient, i as parseCollaborationDocumentId, n as buildCollaborationDocumentId, r as normalizeCollaborationPath, t as CollaborationFileBridge } from "./collaboration-CXtTwK3x.js";
|
|
10
10
|
import { i as parseLineApplicationResult, n as LINE_APPLICATION_REQUEST_MAX_BYTES, r as parseLineApplicationRequest, t as LINE_APPLICATION_REPLY_MAX_CHARS } from "./line-application-UtPFP0o4.js";
|
|
11
|
-
import { s as TangleSandboxClient } from "./tangle-
|
|
11
|
+
import { s as TangleSandboxClient } from "./tangle-B4DBZqPg.js";
|
|
12
12
|
import { z } from "zod";
|
|
13
13
|
import { SANDBOX_SIZE_PRESET_NAMES, agentProfileConfidentialSchema, agentProfileSchema } from "@tangle-network/agent-interface";
|
|
14
14
|
//#region src/confidential.ts
|
|
@@ -2537,6 +2537,23 @@ new TextDecoder("utf-8", {
|
|
|
2537
2537
|
fatal: true,
|
|
2538
2538
|
ignoreBOM: true
|
|
2539
2539
|
});
|
|
2540
|
+
Object.values({
|
|
2541
|
+
agent: "Agent",
|
|
2542
|
+
askuserquestion: "AskUserQuestion",
|
|
2543
|
+
bash: "Bash",
|
|
2544
|
+
edit: "Edit",
|
|
2545
|
+
glob: "Glob",
|
|
2546
|
+
grep: "Grep",
|
|
2547
|
+
notebookedit: "NotebookEdit",
|
|
2548
|
+
read: "Read",
|
|
2549
|
+
skill: "Skill",
|
|
2550
|
+
task: "Task",
|
|
2551
|
+
taskoutput: "TaskOutput",
|
|
2552
|
+
todowrite: "TodoWrite",
|
|
2553
|
+
webfetch: "WebFetch",
|
|
2554
|
+
websearch: "WebSearch",
|
|
2555
|
+
write: "Write"
|
|
2556
|
+
}).sort();
|
|
2540
2557
|
//#endregion
|
|
2541
2558
|
//#region ../../../packages/agent-profile-materialize/dist/resource-resolution.js
|
|
2542
2559
|
function describeUnresolvedRef(r) {
|
package/dist/tangle/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as SandboxCreateParamTypes, a as parseQuoteResponse, c as OperatorSession, d as JOB_SANDBOX_DELETE, f as TANGLE_CHAIN_ID, g as JsonResponseParamTypes, h as ITangleJobsAbi, i as jobQuoteDigest, l as OperatorSessionError, m as AgentSandboxBlueprintAbi, n as fetchQuote, o as validateQuote, p as TANGLE_JOBS_CONTRACT, r as inputsHashOf, s as TangleSandboxClient, t as QuoteError, u as JOB_SANDBOX_CREATE, v as SandboxCreateResponseParamTypes, y as SandboxIdParamTypes } from "../tangle-
|
|
1
|
+
import { _ as SandboxCreateParamTypes, a as parseQuoteResponse, c as OperatorSession, d as JOB_SANDBOX_DELETE, f as TANGLE_CHAIN_ID, g as JsonResponseParamTypes, h as ITangleJobsAbi, i as jobQuoteDigest, l as OperatorSessionError, m as AgentSandboxBlueprintAbi, n as fetchQuote, o as validateQuote, p as TANGLE_JOBS_CONTRACT, r as inputsHashOf, s as TangleSandboxClient, t as QuoteError, u as JOB_SANDBOX_CREATE, v as SandboxCreateResponseParamTypes, y as SandboxIdParamTypes } from "../tangle-B4DBZqPg.js";
|
|
2
2
|
export { AgentSandboxBlueprintAbi, ITangleJobsAbi, JOB_SANDBOX_CREATE, JOB_SANDBOX_DELETE, JsonResponseParamTypes, OperatorSession, OperatorSessionError, QuoteError, SandboxCreateParamTypes, SandboxCreateResponseParamTypes, SandboxIdParamTypes, TANGLE_CHAIN_ID, TANGLE_JOBS_CONTRACT, TangleSandboxClient, fetchQuote, inputsHashOf, jobQuoteDigest, parseQuoteResponse, validateQuote };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { w as readResponseJson } from "./errors-Bfhg_Zc6.js";
|
|
2
|
-
import { n as createSandboxInstanceFromResponse } from "./sandbox-
|
|
2
|
+
import { n as createSandboxInstanceFromResponse } from "./sandbox-Dy5NEku6.js";
|
|
3
3
|
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-B6gap92T.js";
|
|
4
4
|
//#region src/tangle/abi.ts
|
|
5
5
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sandbox",
|
|
3
|
-
"version": "0.62.
|
|
3
|
+
"version": "0.62.20",
|
|
4
4
|
"description": "Client SDK for the Tangle Sandbox platform - build AI agent applications with dev containers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -160,16 +160,16 @@
|
|
|
160
160
|
"ws": "^8.20.0",
|
|
161
161
|
"yjs": "13.6.30",
|
|
162
162
|
"@products/sandbox-test-utils": "0.0.0",
|
|
163
|
-
"@tangle-network/agent-profile-materialize": "0.26.0",
|
|
164
163
|
"@repo/shared": "0.0.0",
|
|
164
|
+
"@tangle-network/agent-profile-materialize": "0.26.0",
|
|
165
165
|
"@tangle-network/cli-agent-registry": "0.10.2",
|
|
166
|
-
"@tangle-network/runtime-contracts": "0.19.0",
|
|
167
166
|
"@tangle-network/sdk": "4.0.16",
|
|
168
|
-
"@tangle-network/sse-core": "0.0.0"
|
|
167
|
+
"@tangle-network/sse-core": "0.0.0",
|
|
168
|
+
"@tangle-network/runtime-contracts": "0.19.0"
|
|
169
169
|
},
|
|
170
170
|
"tangleRelease": {
|
|
171
|
-
"sourceSha": "
|
|
172
|
-
"mergedAt": "2026-10-
|
|
171
|
+
"sourceSha": "7e2d74fda45cf4ac0c3216dd88b9beef0fa96f99",
|
|
172
|
+
"mergedAt": "2026-10-19T21:48:18-06:00"
|
|
173
173
|
},
|
|
174
174
|
"scripts": {
|
|
175
175
|
"build": "node scripts/build-dist.mjs",
|