@tangle-network/sandbox 0.64.7 → 0.64.9
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/auth/index.js +1 -1
- package/dist/{cli-auth-bundle-CFeHsq-5.js → cli-auth-bundle-C6QbsOUk.js} +20 -1
- package/dist/{client-CgtR203z.js → client-CUZI6r74.js} +4 -3
- package/dist/core.js +2 -2
- package/dist/index.js +3 -3
- package/dist/{local-cli-auth-D-CQ0-ub.js → local-cli-auth-CD9INbdu.js} +1 -1
- package/dist/{sandbox-BrZxAq11.js → sandbox-Ddm9R3xt.js} +22 -4
- package/dist/tangle/index.js +1 -1
- package/dist/{tangle-GiPBak5X.js → tangle-DKqjISCr.js} +1 -1
- package/package.json +7 -7
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-BjLG7VHY.js";
|
|
2
2
|
import { D as assertCurrentBackendType } from "../interactive-controller-OAsASPd_.js";
|
|
3
3
|
import { S as StateError, T as ValidationError, h as NotFoundError } from "../errors-BfbOP_rx.js";
|
|
4
|
-
import { t as Sandbox } from "../client-
|
|
5
|
-
import { t as SandboxInstance } from "../sandbox-
|
|
4
|
+
import { t as Sandbox } from "../client-CUZI6r74.js";
|
|
5
|
+
import { t as SandboxInstance } from "../sandbox-Ddm9R3xt.js";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
//#region src/agent/instances.ts
|
|
8
8
|
const managers = /* @__PURE__ */ new WeakMap();
|
package/dist/auth/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as materializeCliAuthBundle, n as assertCliAuthReferenceSupported, r as cliAuthReferenceSchema } from "../cli-auth-bundle-
|
|
1
|
+
import { i as materializeCliAuthBundle, n as assertCliAuthReferenceSupported, r as cliAuthReferenceSchema } from "../cli-auth-bundle-C6QbsOUk.js";
|
|
2
2
|
//#region src/auth/tokens.ts
|
|
3
3
|
const textEncoder = new TextEncoder();
|
|
4
4
|
const textDecoder = new TextDecoder();
|
|
@@ -1040,7 +1040,7 @@ const NATIVE_SESSION_CONTRACTS = {
|
|
|
1040
1040
|
HARNESSES["kimi-code"].session.defect.reason, HARNESSES["factory-droids"].session.defect.reason, HARNESSES["amp"].session.defect.reason, HARNESSES["prime"].session.defect.reason, HARNESSES["hermes"].session.defect.reason, HARNESSES["forge"].session.defect.reason, HARNESSES["openclaw"].session.defect.reason, HARNESSES["acp"].session.defect.reason;
|
|
1041
1041
|
HARNESSES["nanoclaw"].session.defect.reason, HARNESSES["cursor"].session.defect.reason;
|
|
1042
1042
|
//#endregion
|
|
1043
|
-
//#region ../../../packages/cli-agent-registry/dist/specs-
|
|
1043
|
+
//#region ../../../packages/cli-agent-registry/dist/specs-CS8S8arG.mjs
|
|
1044
1044
|
z.globalRegistry.add(agentProfileSchema$1, {
|
|
1045
1045
|
id: "AgentProfile",
|
|
1046
1046
|
...agentProfileJsonSchema
|
|
@@ -1050,6 +1050,10 @@ const CLI_AGENT_SPECS = [
|
|
|
1050
1050
|
name: BACKEND_TYPE.OPENCODE,
|
|
1051
1051
|
nativeSession: NATIVE_SESSION_CONTRACTS.opencode,
|
|
1052
1052
|
messageStorageDir: ".opencode",
|
|
1053
|
+
cliDirLayout: {
|
|
1054
|
+
sessionData: ["snapshot/**"],
|
|
1055
|
+
configAllow: ["bin/**"]
|
|
1056
|
+
},
|
|
1053
1057
|
displayName: "OpenCode Agent",
|
|
1054
1058
|
description: "OpenCode CLI coding agent with native sessions, profiles, tools, and MCP.",
|
|
1055
1059
|
envVars: HARNESSES["opencode"].config.envVars,
|
|
@@ -1157,6 +1161,11 @@ const CLI_AGENT_SPECS = [
|
|
|
1157
1161
|
nativeSession: NATIVE_SESSION_CONTRACTS["claude-code"],
|
|
1158
1162
|
runtime: HARNESSES["claude-code"].lifecycle.runtime,
|
|
1159
1163
|
messageStorageDir: ".claude-code",
|
|
1164
|
+
cliDirLayout: { sessionData: [
|
|
1165
|
+
"plans/**",
|
|
1166
|
+
"file-history/**",
|
|
1167
|
+
"debug/**"
|
|
1168
|
+
] },
|
|
1160
1169
|
displayName: "Claude Code",
|
|
1161
1170
|
description: "Anthropic Claude Code CLI-based agent backend.",
|
|
1162
1171
|
envVars: HARNESSES["claude-code"].config.envVars,
|
|
@@ -1223,6 +1232,11 @@ const CLI_AGENT_SPECS = [
|
|
|
1223
1232
|
name: BACKEND_TYPE.CODEX,
|
|
1224
1233
|
nativeSession: NATIVE_SESSION_CONTRACTS.codex,
|
|
1225
1234
|
messageStorageDir: ".codex",
|
|
1235
|
+
cliDirLayout: { sessionData: [
|
|
1236
|
+
"logs_*.sqlite*",
|
|
1237
|
+
"goals_*.sqlite*",
|
|
1238
|
+
"memories_*.sqlite*"
|
|
1239
|
+
] },
|
|
1226
1240
|
displayName: "Codex",
|
|
1227
1241
|
description: "OpenAI Codex CLI-based agent backend.",
|
|
1228
1242
|
envVars: HARNESSES["codex"].config.envVars,
|
|
@@ -1346,6 +1360,10 @@ const CLI_AGENT_SPECS = [
|
|
|
1346
1360
|
name: BACKEND_TYPE.HERMES,
|
|
1347
1361
|
nativeSession: NATIVE_SESSION_CONTRACTS.hermes,
|
|
1348
1362
|
messageStorageDir: ".hermes-agent",
|
|
1363
|
+
cliDirLayout: {
|
|
1364
|
+
sessionData: ["cache/spillover/**", "cache/delegation/**"],
|
|
1365
|
+
configAllow: ["config.yaml"]
|
|
1366
|
+
},
|
|
1349
1367
|
displayName: "Hermes Agent (Nous Research)",
|
|
1350
1368
|
description: "Open-source self-improving CLI agent. Persistent memory and skills live in $HERMES_HOME (pinned to the per-session workspace mount, not the read-only in-box $HOME) across same-tenant snapshot resumes — the learning loop is the differentiator. Provider-pluggable; defaults to OpenRouter via Tangle Router.",
|
|
1351
1369
|
envVars: HARNESSES["hermes"].config.envVars,
|
|
@@ -1390,6 +1408,7 @@ const CLI_AGENT_SPECS = [
|
|
|
1390
1408
|
name: BACKEND_TYPE.OPENCLAW,
|
|
1391
1409
|
nativeSession: NATIVE_SESSION_CONTRACTS.openclaw,
|
|
1392
1410
|
messageStorageDir: ".openclaw-agent",
|
|
1411
|
+
cliDirLayout: { configAllow: ["openclaw.json"] },
|
|
1393
1412
|
displayName: "OpenClaw (Orchestrator)",
|
|
1394
1413
|
description: "Orchestrator-tier CLI agent that dispatches to underlying coding-agent CLIs (claude-cli, codex-cli, gemini-cli) via its built-in cliBackends plugin model. Use this when you want one entry point that intelligently routes tasks to the right coding harness.",
|
|
1395
1414
|
envVars: HARNESSES["openclaw"].config.envVars,
|
|
@@ -3,7 +3,7 @@ import { A as normalizeRuntimeBackendConfig, C as encodePromptForWire, D as asse
|
|
|
3
3
|
import { T as ValidationError, a as AuthError, b as SandboxError, d as GpuProviderNotConfiguredError, g as PartialFailureError, h as NotFoundError, i as readResponseJson, m as NetworkError, n as parseErrorResponse, p as NON_RETRYABLE_CREATE_QUOTA_REASONS, r as parseResponseError, v as QuotaError, w as TimeoutError, x as ServerError } from "./errors-BfbOP_rx.js";
|
|
4
4
|
import { f as combineAbortSignals } from "./browser-interactive-control-controller-DHx53yre.js";
|
|
5
5
|
import { n as fetchWithKeepAlive } from "./keep-alive-fetch-BBzJDWyt.js";
|
|
6
|
-
import { A as normalizeSandboxCreateReceipt, D as validateDeferredProfileFileMounts, E as splitInlineProfileSkills, F as rewrapResponse, M as parseStopPhase, N as normalizeConnection, O as isRetryableProfileFileMaterializeFailure, P as
|
|
6
|
+
import { A as normalizeSandboxCreateReceipt, D as validateDeferredProfileFileMounts, E as splitInlineProfileSkills, F as normalizeSandboxShape, I as rewrapResponse, M as parseStopPhase, N as normalizeConnection, O as isRetryableProfileFileMaterializeFailure, P as normalizeEgressPolicyFields, T as splitInlineProfileFileMounts, j as normalizeStartupDiagnostics, k as normalizeCaptureProof, n as createSandboxInstanceFromResponse, o as exportTraceBundle } from "./sandbox-Ddm9R3xt.js";
|
|
7
7
|
import { t as LinesClient } from "./lines-C5ER4aN_.js";
|
|
8
8
|
import { PublicTemplatesClient } from "./public-templates.js";
|
|
9
9
|
import { z } from "zod";
|
|
@@ -1222,11 +1222,11 @@ function isLocalSandboxEndpoint(baseUrl) {
|
|
|
1222
1222
|
}
|
|
1223
1223
|
}
|
|
1224
1224
|
async function resolveLocalCliAuthFiles(backendType) {
|
|
1225
|
-
const { discoverLocalCliAuthFiles } = await import("./local-cli-auth-
|
|
1225
|
+
const { discoverLocalCliAuthFiles } = await import("./local-cli-auth-CD9INbdu.js");
|
|
1226
1226
|
return discoverLocalCliAuthFiles(backendType);
|
|
1227
1227
|
}
|
|
1228
1228
|
async function loadLocalCliAuthExpectation(backendType) {
|
|
1229
|
-
const { describeLocalCliAuthExpectation: describe } = await import("./local-cli-auth-
|
|
1229
|
+
const { describeLocalCliAuthExpectation: describe } = await import("./local-cli-auth-CD9INbdu.js");
|
|
1230
1230
|
return describe(backendType);
|
|
1231
1231
|
}
|
|
1232
1232
|
/**
|
|
@@ -1424,6 +1424,7 @@ var SandboxTransport = class {
|
|
|
1424
1424
|
startupDiagnostics: normalizeStartupDiagnostics(data.startupDiagnostics) ?? void 0,
|
|
1425
1425
|
createReceipt: normalizeSandboxCreateReceipt(data.createReceipt) ?? void 0,
|
|
1426
1426
|
captureProof: normalizeCaptureProof(data.captureProof) ?? void 0,
|
|
1427
|
+
...normalizeEgressPolicyFields(data),
|
|
1427
1428
|
compliance: data.compliance && typeof data.compliance === "object" && data.compliance.hipaa === true ? { hipaa: true } : void 0
|
|
1428
1429
|
};
|
|
1429
1430
|
}
|
package/dist/core.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { S as StateError, T as ValidationError, _ as ProfileFileMountPathError, a as AuthError, b as SandboxError, g as PartialFailureError, h as NotFoundError, m as NetworkError, s as CapabilityError, u as FileWriteConflictError, v as QuotaError, w as TimeoutError, x as ServerError } from "./errors-BfbOP_rx.js";
|
|
2
|
-
import { _ as parseBackendRegistryResponse, a as InstancesClient, f as backendRegistryCapabilitiesSchema, g as isBackendRegistryInteractionKind, h as backendRegistryResponseSchema, i as InstanceRestartingError, m as backendRegistryInteractionKindSchema, p as backendRegistryEntrySchema, r as HostedInstance, t as Sandbox, v as parseBackendRegistryResponseBody } from "./client-
|
|
3
|
-
import { r as WorkspaceImages, t as SandboxInstance, x as ManagedProcessClient } from "./sandbox-
|
|
2
|
+
import { _ as parseBackendRegistryResponse, a as InstancesClient, f as backendRegistryCapabilitiesSchema, g as isBackendRegistryInteractionKind, h as backendRegistryResponseSchema, i as InstanceRestartingError, m as backendRegistryInteractionKindSchema, p as backendRegistryEntrySchema, r as HostedInstance, t as Sandbox, v as parseBackendRegistryResponseBody } from "./client-CUZI6r74.js";
|
|
3
|
+
import { r as WorkspaceImages, t as SandboxInstance, x as ManagedProcessClient } from "./sandbox-Ddm9R3xt.js";
|
|
4
4
|
import { i as profileChannelReference, r as lineInstanceKey, t as LinesClient } from "./lines-C5ER4aN_.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-DY9ZTdgF.js";
|
package/dist/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { i as isolationPrincipalSchema, o as parseBackendType, r as backendTypeSchema, t as ALL_BACKEND_TYPES } from "./backend-types-CLvdSX8V.js";
|
|
2
2
|
import { A as normalizeRuntimeBackendConfig, B as TERMINAL_WS_ECHO_SUBPROTOCOL, I as createAgentRunOutcomeTracker, L as deriveAgentResultOutcome, R as deriveAgentRunOutcome, b as parseSSEStream, i as terminalUpgradeHeadersSupported, j as requestedPublicProfileDigest, n as InteractiveSessionController, r as TerminalStream, t as BrowserInteractiveSessionController, z as projectAgentTerminalRecord } from "./interactive-controller-OAsASPd_.js";
|
|
3
3
|
import { C as StreamInterruptedError, S as StateError, T as ValidationError, _ as ProfileFileMountPathError, a as AuthError, b as SandboxError, c as EdgeNotReadyError, d as GpuProviderNotConfiguredError, f as KeyBudgetExhaustedError, g as PartialFailureError, h as NotFoundError, l as EgressProxyRecoveryError, m as NetworkError, o as BranchFanoutExceedsHostError, s as CapabilityError, t as TerminalStreamError, u as FileWriteConflictError, v as QuotaError, w as TimeoutError, x as ServerError, y as ResumeEnvRequiredError } from "./errors-BfbOP_rx.js";
|
|
4
|
-
import { _ as parseBackendRegistryResponse, a as InstancesClient, c as IntelligenceClient, d as validateBatchRunRequest, f as backendRegistryCapabilitiesSchema, g as isBackendRegistryInteractionKind, h as backendRegistryResponseSchema, i as InstanceRestartingError, l as runtimeWorkspaceCwdSchema, m as backendRegistryInteractionKindSchema, n as RunsClient, o as SandboxFleetClient, p as backendRegistryEntrySchema, r as HostedInstance, s as SandboxFleet, t as Sandbox, u as createBatchResultAccumulator, v as parseBackendRegistryResponseBody } from "./client-
|
|
4
|
+
import { _ as parseBackendRegistryResponse, a as InstancesClient, c as IntelligenceClient, d as validateBatchRunRequest, f as backendRegistryCapabilitiesSchema, g as isBackendRegistryInteractionKind, h as backendRegistryResponseSchema, i as InstanceRestartingError, l as runtimeWorkspaceCwdSchema, m as backendRegistryInteractionKindSchema, n as RunsClient, o as SandboxFleetClient, p as backendRegistryEntrySchema, r as HostedInstance, s as SandboxFleet, t as Sandbox, u as createBatchResultAccumulator, v as parseBackendRegistryResponseBody } from "./client-CUZI6r74.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-DHx53yre.js";
|
|
6
|
-
import { C as SandboxOperationFailedError, D as validateDeferredProfileFileMounts, E as splitInlineProfileSkills, S as SandboxOperation, T as splitInlineProfileFileMounts, _ as collectAgentFinalMessageText, a as buildTraceExportPayload, b as isToolBearingEvent, c as toOtelJson, d as InteractiveSessionHandle, f as agentInteractiveSessionPromptRequestDigest, g as applySandboxEventText, h as createInteractiveTerminalSession, i as MAX_EGRESS_DENIALS_LIMIT, l as SandboxTaskSession, m as createInteractiveTerminalCapture, o as exportTraceBundle, p as InteractiveTerminalFrameLog, r as WorkspaceImages, s as otelTraceIdForTangleTrace, t as SandboxInstance, u as SandboxSession, v as collectAgentResponseText, w as materializeProfileFileMounts, x as ManagedProcessClient, y as getSandboxEventText } from "./sandbox-
|
|
6
|
+
import { C as SandboxOperationFailedError, D as validateDeferredProfileFileMounts, E as splitInlineProfileSkills, S as SandboxOperation, T as splitInlineProfileFileMounts, _ as collectAgentFinalMessageText, a as buildTraceExportPayload, b as isToolBearingEvent, c as toOtelJson, d as InteractiveSessionHandle, f as agentInteractiveSessionPromptRequestDigest, g as applySandboxEventText, h as createInteractiveTerminalSession, i as MAX_EGRESS_DENIALS_LIMIT, l as SandboxTaskSession, m as createInteractiveTerminalCapture, o as exportTraceBundle, p as InteractiveTerminalFrameLog, r as WorkspaceImages, s as otelTraceIdForTangleTrace, t as SandboxInstance, u as SandboxSession, v as collectAgentResponseText, w as materializeProfileFileMounts, x as ManagedProcessClient, y as getSandboxEventText } from "./sandbox-Ddm9R3xt.js";
|
|
7
7
|
import { i as profileChannelReference, n as SandboxLines, r as lineInstanceKey, t as LinesClient } from "./lines-C5ER4aN_.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-g_HzXa6f.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-DY9ZTdgF.js";
|
|
11
|
-
import { s as TangleSandboxClient } from "./tangle-
|
|
11
|
+
import { s as TangleSandboxClient } from "./tangle-DKqjISCr.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
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as AUTH_BUNDLE_PATHS } from "./cli-auth-bundle-
|
|
1
|
+
import { t as AUTH_BUNDLE_PATHS } from "./cli-auth-bundle-C6QbsOUk.js";
|
|
2
2
|
import { existsSync, readFileSync } from "node:fs";
|
|
3
3
|
import { join } from "node:path";
|
|
4
4
|
import { homedir } from "node:os";
|
|
@@ -4,7 +4,7 @@ import { C as StreamInterruptedError, F as profileFileMountOutsideRootsMessage,
|
|
|
4
4
|
import { _ as interactiveSessionStatusResponseSchema, d as awaitWithAbort, f as combineAbortSignals, g as interactiveSessionControlValidationResponseSchema, h as interactiveSessionControlReleaseResponseSchema, l as createInteractiveControlHolderId, m as interactiveSessionControlClaimResponseSchema, p as delayUntilAborted } from "./browser-interactive-control-controller-DHx53yre.js";
|
|
5
5
|
import { n as fetchWithKeepAlive, t as emitTiming } from "./keep-alive-fetch-BBzJDWyt.js";
|
|
6
6
|
import { s as uploadChunked } from "./chunked-upload-DN2twsUu.js";
|
|
7
|
-
import { r as cliAuthReferenceSchema } from "./cli-auth-bundle-
|
|
7
|
+
import { r as cliAuthReferenceSchema } from "./cli-auth-bundle-C6QbsOUk.js";
|
|
8
8
|
import { n as SandboxLines } from "./lines-C5ER4aN_.js";
|
|
9
9
|
import { z } from "zod";
|
|
10
10
|
import { AgentExactRunControlRefSchema, AgentInteractiveSessionAttachSchema, AgentInteractiveSessionControlClaimAcknowledgementSchema, AgentInteractiveSessionControlClaimRequestSchema, AgentInteractiveSessionControlClaimSchema, AgentInteractiveSessionPromptAcknowledgementSchema, AgentInteractiveSessionPromptCommandSchema, AgentInteractiveSessionRefSchema, AgentInteractiveSessionStartSchema, AgentInteractiveSessionStopAcknowledgementSchema, AgentInteractiveSessionStopCommandSchema, AgentRunCancellationAcknowledgementSchema, AgentRunCancellationRequestSchema, InteractionAcknowledgementSchema, InteractionBindingSchema, InteractionRequestSchema, InteractionResponseCommandSchema, InteractionResponseSchema, PlanContinuationSchema, TerminalInputSchema, TerminalOutputEventSchema, TerminalReplayWindowSchema, TerminalResizeSchema, TerminalSessionRefSchema, agentInteractiveSessionControlClaimAcknowledgementMatchesRequest, agentInteractiveSessionControlClaimIsNewer, agentInteractiveSessionControlClaimMatchesRef, agentInteractiveSessionPromptAcknowledgementMatchesCommand, agentInteractiveSessionPromptRequestDigest, agentInteractiveSessionRefMatchesStart, agentInteractiveSessionStatusMatchesRef, agentInteractiveSessionStopAcknowledgementMatchesCommand, agentProfileSchema, agentRunCancellationAcknowledgementMatchesRequest, canonicalCandidateDigest, canonicalCandidateJson, exactAgentInteractiveSessionStart, sha256DigestSchema, terminalSessionUsable } from "@tangle-network/agent-interface";
|
|
@@ -116,6 +116,21 @@ function normalizeSandboxShape(raw) {
|
|
|
116
116
|
...typeof r.ttlMs === "number" ? { ttlMs: r.ttlMs } : {}
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
|
+
const EGRESS_POLICY_SOURCES = new Set([
|
|
120
|
+
"sandbox",
|
|
121
|
+
"team",
|
|
122
|
+
"platform"
|
|
123
|
+
]);
|
|
124
|
+
/**
|
|
125
|
+
* The effective egress policy and its source as GET /v1/sandboxes/:id reports
|
|
126
|
+
* them (#13415); fields the API omits stay undefined.
|
|
127
|
+
*/
|
|
128
|
+
function normalizeEgressPolicyFields(data) {
|
|
129
|
+
return {
|
|
130
|
+
egressPolicy: data.egressPolicy && typeof data.egressPolicy === "object" ? data.egressPolicy : void 0,
|
|
131
|
+
egressPolicySource: EGRESS_POLICY_SOURCES.has(data.egressPolicySource) ? data.egressPolicySource : void 0
|
|
132
|
+
};
|
|
133
|
+
}
|
|
119
134
|
//#endregion
|
|
120
135
|
//#region ../../../packages/runtime-contracts/dist/direct-read.js
|
|
121
136
|
/**
|
|
@@ -558,7 +573,9 @@ var SandboxInfoCapabilities = class {
|
|
|
558
573
|
expiresAt: this.expiresAt,
|
|
559
574
|
error: this.error,
|
|
560
575
|
gpuLease: this.gpuLease,
|
|
561
|
-
resources: this.resources
|
|
576
|
+
resources: this.resources,
|
|
577
|
+
egressPolicy: state(this).info.egressPolicy,
|
|
578
|
+
egressPolicySource: state(this).info.egressPolicySource
|
|
562
579
|
};
|
|
563
580
|
}
|
|
564
581
|
/**
|
|
@@ -759,7 +776,8 @@ var SandboxInfoCapabilities = class {
|
|
|
759
776
|
gpuLease: data.gpuLease ?? carryCreateFacts?.gpuLease,
|
|
760
777
|
resources: normalizeSandboxShape(data.resources) ?? (id === this.id ? local.info.resources : void 0),
|
|
761
778
|
startupDiagnostics: normalizeStartupDiagnostics(data.startupDiagnostics) ?? carryCreateFacts?.startupDiagnostics,
|
|
762
|
-
createReceipt: normalizeSandboxCreateReceipt(data.createReceipt) ?? carryCreateFacts?.createReceipt
|
|
779
|
+
createReceipt: normalizeSandboxCreateReceipt(data.createReceipt) ?? carryCreateFacts?.createReceipt,
|
|
780
|
+
...normalizeEgressPolicyFields(data)
|
|
763
781
|
};
|
|
764
782
|
}
|
|
765
783
|
};
|
|
@@ -10170,4 +10188,4 @@ var SandboxInstance = class SandboxInstance extends SandboxEgressCapabilities {
|
|
|
10170
10188
|
}
|
|
10171
10189
|
};
|
|
10172
10190
|
//#endregion
|
|
10173
|
-
export { normalizeSandboxCreateReceipt as A, SandboxOperationFailedError as C, validateDeferredProfileFileMounts as D, splitInlineProfileSkills as E,
|
|
10191
|
+
export { normalizeSandboxCreateReceipt as A, SandboxOperationFailedError as C, validateDeferredProfileFileMounts as D, splitInlineProfileSkills as E, normalizeSandboxShape as F, rewrapResponse as I, parseStopPhase as M, normalizeConnection as N, isRetryableProfileFileMaterializeFailure as O, normalizeEgressPolicyFields as P, SandboxOperation as S, splitInlineProfileFileMounts as T, collectAgentFinalMessageText as _, buildTraceExportPayload as a, isToolBearingEvent as b, toOtelJson as c, InteractiveSessionHandle as d, agentInteractiveSessionPromptRequestDigest as f, applySandboxEventText as g, createInteractiveTerminalSession as h, MAX_EGRESS_DENIALS_LIMIT as i, normalizeStartupDiagnostics as j, normalizeCaptureProof as k, SandboxTaskSession as l, createInteractiveTerminalCapture as m, createSandboxInstanceFromResponse as n, exportTraceBundle as o, InteractiveTerminalFrameLog as p, WorkspaceImages as r, otelTraceIdForTangleTrace as s, SandboxInstance as t, SandboxSession as u, collectAgentResponseText as v, materializeProfileFileMounts as w, ManagedProcessClient as x, getSandboxEventText as y };
|
package/dist/tangle/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as SandboxCreateParamTypes, a as parseQuoteResponse, c as OperatorSession, d as TANGLE_JOBS_CONTRACT, f as ITangleJobsAbi, g as JsonResponseParamTypes, h as JOB_SANDBOX_DELETE, i as jobQuoteDigest, l as OperatorSessionError, m as JOB_SANDBOX_CREATE, n as fetchQuote, o as validateQuote, p as AgentSandboxBlueprintAbi, r as inputsHashOf, s as TangleSandboxClient, t as QuoteError, u as TANGLE_CHAIN_ID, v as SandboxCreateResponseParamTypes, y as SandboxIdParamTypes } from "../tangle-
|
|
1
|
+
import { _ as SandboxCreateParamTypes, a as parseQuoteResponse, c as OperatorSession, d as TANGLE_JOBS_CONTRACT, f as ITangleJobsAbi, g as JsonResponseParamTypes, h as JOB_SANDBOX_DELETE, i as jobQuoteDigest, l as OperatorSessionError, m as JOB_SANDBOX_CREATE, n as fetchQuote, o as validateQuote, p as AgentSandboxBlueprintAbi, r as inputsHashOf, s as TangleSandboxClient, t as QuoteError, u as TANGLE_CHAIN_ID, v as SandboxCreateResponseParamTypes, y as SandboxIdParamTypes } from "../tangle-DKqjISCr.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 { i as readResponseJson } from "./errors-BfbOP_rx.js";
|
|
2
|
-
import { n as createSandboxInstanceFromResponse } from "./sandbox-
|
|
2
|
+
import { n as createSandboxInstanceFromResponse } from "./sandbox-Ddm9R3xt.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-BGvM02yJ.js";
|
|
4
4
|
//#region ../../../packages/runtime-contracts/dist/tangle-blueprint-abi.js
|
|
5
5
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sandbox",
|
|
3
|
-
"version": "0.64.
|
|
3
|
+
"version": "0.64.9",
|
|
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/cli-agent-registry": "0.10.2",
|
|
164
|
-
"@tangle-network/agent-profile-materialize": "0.26.0",
|
|
165
163
|
"@repo/shared": "0.0.0",
|
|
164
|
+
"@tangle-network/agent-profile-materialize": "0.26.0",
|
|
165
|
+
"@tangle-network/cli-agent-registry": "0.10.2",
|
|
166
166
|
"@tangle-network/runtime-contracts": "0.19.0",
|
|
167
|
-
"@tangle-network/
|
|
168
|
-
"@tangle-network/
|
|
167
|
+
"@tangle-network/sdk": "4.0.16",
|
|
168
|
+
"@tangle-network/sse-core": "0.0.0"
|
|
169
169
|
},
|
|
170
170
|
"tangleRelease": {
|
|
171
|
-
"sourceSha": "
|
|
172
|
-
"mergedAt": "2026-10-
|
|
171
|
+
"sourceSha": "625ce9749c77b055e63b7700bae33d86a0636ed8",
|
|
172
|
+
"mergedAt": "2026-10-22T06:56:21-06:00"
|
|
173
173
|
},
|
|
174
174
|
"scripts": {
|
|
175
175
|
"build": "node scripts/build-dist.mjs",
|