@tangle-network/sandbox 1.0.148 → 1.0.149
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 +2 -2
- package/dist/cli-auth-bundle-BJzsjBal.js +2 -0
- package/dist/{cli-auth-bundle-juH6LDo9-D1SaRyqA.js → cli-auth-bundle-DF3PK8iC-B7hvDZ5g.js} +41 -17
- package/dist/{client-COtiO9sl.js → client-uT-_wj7o.js} +3 -3
- package/dist/{core-j2Z95g2R.js → core-2tJeMUpF.js} +3 -3
- package/dist/core.js +3 -3
- package/dist/index.js +4 -4
- package/dist/{local-cli-auth-CjyRzRmz.js → local-cli-auth-BwuumC43.js} +1 -1
- package/dist/{sandbox-CDa23zXk.js → sandbox-B4FtKioc.js} +2 -2
- package/dist/tangle/index.js +1 -1
- package/dist/{tangle-BLujQYVN.js → tangle-Zsppk8f5.js} +1 -1
- package/package.json +6 -6
- package/dist/cli-auth-bundle-i9Gg9P_C.js +0 -2
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-tBlLJqTb.js";
|
|
2
2
|
import { k as assertCurrentBackendType } from "../interactive-controller-vW55gCE7.js";
|
|
3
|
-
import { t as SandboxInstance } from "../sandbox-
|
|
3
|
+
import { t as SandboxInstance } from "../sandbox-B4FtKioc.js";
|
|
4
4
|
import { C as StateError, E as ValidationError, g as NotFoundError } from "../errors-BfR-fBvN.js";
|
|
5
|
-
import { t as Sandbox } from "../client-
|
|
5
|
+
import { t as Sandbox } from "../client-uT-_wj7o.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,5 +1,5 @@
|
|
|
1
|
-
import { i as materializeCliAuthBundle, n as assertCliAuthReferenceSupported, r as cliAuthReferenceSchema } from "../cli-auth-bundle-
|
|
2
|
-
import "../cli-auth-bundle-
|
|
1
|
+
import { i as materializeCliAuthBundle, n as assertCliAuthReferenceSupported, r as cliAuthReferenceSchema } from "../cli-auth-bundle-DF3PK8iC-B7hvDZ5g.js";
|
|
2
|
+
import "../cli-auth-bundle-BJzsjBal.js";
|
|
3
3
|
//#region src/auth/tokens.ts
|
|
4
4
|
const textEncoder = new TextEncoder();
|
|
5
5
|
const textDecoder = new TextDecoder();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as agentProfileJsonSchema, r as agentProfileSchema } from "./profile-schema-Y5Xl8aOt.js";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import "@tangle-network/agent-interface/harness-capabilities";
|
|
4
|
-
//#region ../../../packages/cli-agent-registry/dist/harness-contracts-
|
|
4
|
+
//#region ../../../packages/cli-agent-registry/dist/harness-contracts-DDi5CXAS.mjs
|
|
5
5
|
/** The CLI version infra/nix ships for each registered harness. */
|
|
6
6
|
const HARNESS_CLI_VERSIONS = {
|
|
7
7
|
"claude-code": "2.1.311",
|
|
@@ -16,7 +16,8 @@ const HARNESS_CLI_VERSIONS = {
|
|
|
16
16
|
hermes: "0.22.4",
|
|
17
17
|
openclaw: "2026.10.8",
|
|
18
18
|
acp: "claude-agent-acp 0.97.0; codex-acp 0.16.0; gemini-cli 0.65.0",
|
|
19
|
-
grok: "0.1.220"
|
|
19
|
+
grok: "0.1.220",
|
|
20
|
+
nanoclaw: "2.1.54"
|
|
20
21
|
};
|
|
21
22
|
const CLAUDE_PROJECTS = {
|
|
22
23
|
root: ".claude/projects",
|
|
@@ -657,11 +658,36 @@ var kimi_code_default = {
|
|
|
657
658
|
};
|
|
658
659
|
var nanoclaw_default = {
|
|
659
660
|
session: {
|
|
660
|
-
kind: "
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
}
|
|
661
|
+
kind: "native",
|
|
662
|
+
processProbe: {
|
|
663
|
+
versionCommand: `node -p "require(require('child_process').execSync('nanoclaw-runtime-root',{encoding:'utf8'}).trim()+'/package.json').version"`,
|
|
664
|
+
kill: ["-f", "[n]anoclaw-chat"]
|
|
665
|
+
},
|
|
666
|
+
contract: {
|
|
667
|
+
version: 1,
|
|
668
|
+
stores: [{
|
|
669
|
+
root: ".nanoclaw/data/v2-sessions",
|
|
670
|
+
files: ["*/{id}/outbound.db", "*/{id}/inbound.db"],
|
|
671
|
+
write: "sqlite-wal",
|
|
672
|
+
shared: false,
|
|
673
|
+
format: "nanoclaw.session-sqlite"
|
|
674
|
+
}],
|
|
675
|
+
identity: {
|
|
676
|
+
kind: "first-event",
|
|
677
|
+
event: "sessionId",
|
|
678
|
+
deadlineMs: 6e4
|
|
679
|
+
},
|
|
680
|
+
resume: { kind: "api" },
|
|
681
|
+
forbiddenArgs: [],
|
|
682
|
+
storeEnv: { NANOCLAW_RUNTIME_ROOT: ".nanoclaw" },
|
|
683
|
+
evidence: {
|
|
684
|
+
servedModel: "none",
|
|
685
|
+
usage: "per-response",
|
|
686
|
+
endingError: "none"
|
|
687
|
+
},
|
|
688
|
+
cliVersion: HARNESS_CLI_VERSIONS.nanoclaw
|
|
689
|
+
},
|
|
690
|
+
defect: null
|
|
665
691
|
},
|
|
666
692
|
config: {
|
|
667
693
|
kind: "model",
|
|
@@ -694,10 +720,7 @@ var nanoclaw_default = {
|
|
|
694
720
|
warmClaim: { kind: "required" },
|
|
695
721
|
parkResume: { kind: "required" },
|
|
696
722
|
branchChild: { kind: "required" },
|
|
697
|
-
killResume: {
|
|
698
|
-
kind: "unsupported",
|
|
699
|
-
reason: "The backend exposes no resumable native session"
|
|
700
|
-
}
|
|
723
|
+
killResume: { kind: "required" }
|
|
701
724
|
}
|
|
702
725
|
};
|
|
703
726
|
var openclaw_default = {
|
|
@@ -1004,9 +1027,10 @@ const NATIVE_SESSION_CONTRACTS = {
|
|
|
1004
1027
|
hermes: HARNESSES["hermes"].session.contract,
|
|
1005
1028
|
openclaw: HARNESSES["openclaw"].session.contract,
|
|
1006
1029
|
acp: HARNESSES["acp"].session.contract,
|
|
1007
|
-
grok: HARNESSES["grok"].session.contract
|
|
1030
|
+
grok: HARNESSES["grok"].session.contract,
|
|
1031
|
+
nanoclaw: HARNESSES["nanoclaw"].session.contract
|
|
1008
1032
|
};
|
|
1009
|
-
HARNESSES["
|
|
1033
|
+
HARNESSES["cursor"].session.defect.reason;
|
|
1010
1034
|
//#endregion
|
|
1011
1035
|
//#region ../../../packages/cli-agent-registry/dist/backend-types-CNo_Zj_K.mjs
|
|
1012
1036
|
/** This distribution's backend vocabulary. Gemini is only a backing transport, not a direct backend. */
|
|
@@ -1033,7 +1057,7 @@ const backendTypeSchema = z.enum(ALL_BACKEND_TYPES);
|
|
|
1033
1057
|
z.string().regex(/^[A-Za-z0-9_.:@-]{1,256}$/);
|
|
1034
1058
|
new Set(ALL_BACKEND_TYPES);
|
|
1035
1059
|
//#endregion
|
|
1036
|
-
//#region ../../../packages/cli-agent-registry/dist/specs-
|
|
1060
|
+
//#region ../../../packages/cli-agent-registry/dist/specs-Dj7cGYWA.mjs
|
|
1037
1061
|
z.globalRegistry.add(agentProfileSchema, {
|
|
1038
1062
|
id: "AgentProfile",
|
|
1039
1063
|
...agentProfileJsonSchema
|
|
@@ -1480,10 +1504,10 @@ const CLI_AGENT_SPECS = [
|
|
|
1480
1504
|
},
|
|
1481
1505
|
{
|
|
1482
1506
|
name: BACKEND_TYPE.NANOCLAW,
|
|
1483
|
-
nativeSession:
|
|
1507
|
+
nativeSession: NATIVE_SESSION_CONTRACTS.nanoclaw,
|
|
1484
1508
|
messageStorageDir: ".nanoclaw-agent",
|
|
1485
1509
|
displayName: "NanoClaw",
|
|
1486
|
-
description: "NanoClaw local socket bridge.
|
|
1510
|
+
description: "NanoClaw local socket bridge. The daemon persists v2-sessions and the chat bridge prints the session id.",
|
|
1487
1511
|
envVars: HARNESSES["nanoclaw"].config.envVars,
|
|
1488
1512
|
capabilities: {
|
|
1489
1513
|
...BASE_CAPABILITIES,
|
|
@@ -1571,7 +1595,7 @@ function getSpec(name) {
|
|
|
1571
1595
|
return CLI_AGENT_SPECS.find((spec) => spec.name === name);
|
|
1572
1596
|
}
|
|
1573
1597
|
//#endregion
|
|
1574
|
-
//#region ../../../packages/cli-agent-registry/dist/cli-auth-bundle-
|
|
1598
|
+
//#region ../../../packages/cli-agent-registry/dist/cli-auth-bundle-DF3PK8iC.mjs
|
|
1575
1599
|
const cliAuthReferenceSchema = z.strictObject({
|
|
1576
1600
|
account: z.string().regex(/^[A-Za-z0-9][A-Za-z0-9@._+-]{0,127}$/),
|
|
1577
1601
|
secretEnv: z.string().regex(/^[A-Za-z_][A-Za-z0-9_]{0,63}$/),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { C as encodePromptForWire, D as isBrowserRuntime, F as withoutCreateOnlyModelFields, O as applyRequestedModel, P as withProfileHarness, U as backendTypeSchema, j as normalizeRuntimeBackendConfig, k as assertCurrentBackendType, o as requestInteractiveSessionToken } from "./interactive-controller-vW55gCE7.js";
|
|
2
2
|
import { r as agentProfileSchema } from "./profile-schema-Y5Xl8aOt.js";
|
|
3
|
-
import { A as normalizeStartupDiagnostics, B as generateIdempotencyKey, D as isRetryableProfileFileMaterializeFailure, E as validateDeferredProfileFileMounts, F as normalizeSandboxShape, H as isRateLimitCreateError, M as normalizeConnection, N as normalizeEgressPolicyFields, O as normalizeCaptureProof, P as normalizeProxySecretReceipt, R as DEPLOY_WINDOW_RETRY_MS, T as splitInlineProfileSkills, U as isRetryableCreateError, V as isDeployWindowCreateError, W as waitForCreateRetry, j as parseStopPhase, k as normalizeSandboxCreateReceipt, n as createSandboxInstanceFromResponse, o as exportTraceBundle, w as splitInlineProfileFileMounts, z as createRetryDelayMs } from "./sandbox-
|
|
3
|
+
import { A as normalizeStartupDiagnostics, B as generateIdempotencyKey, D as isRetryableProfileFileMaterializeFailure, E as validateDeferredProfileFileMounts, F as normalizeSandboxShape, H as isRateLimitCreateError, M as normalizeConnection, N as normalizeEgressPolicyFields, O as normalizeCaptureProof, P as normalizeProxySecretReceipt, R as DEPLOY_WINDOW_RETRY_MS, T as splitInlineProfileSkills, U as isRetryableCreateError, V as isDeployWindowCreateError, W as waitForCreateRetry, j as parseStopPhase, k as normalizeSandboxCreateReceipt, n as createSandboxInstanceFromResponse, o as exportTraceBundle, w as splitInlineProfileFileMounts, z as createRetryDelayMs } from "./sandbox-B4FtKioc.js";
|
|
4
4
|
import { D as isInsideReservedDir, E as ValidationError, S as ServerError, T as TimeoutError, _ as PartialFailureError, a as AuthError, g as NotFoundError, h as NetworkError, i as readResponseJson, n as parseErrorResponse, r as parseResponseError, x as SandboxError } from "./errors-BfR-fBvN.js";
|
|
5
5
|
import { n as combineAbortSignals } from "./abort-signal-CDxyloxz.js";
|
|
6
6
|
import { t as fetchSandboxApi } from "./api-request-DNrodWdz.js";
|
|
@@ -1211,11 +1211,11 @@ function isLocalSandboxEndpoint(baseUrl) {
|
|
|
1211
1211
|
}
|
|
1212
1212
|
}
|
|
1213
1213
|
async function resolveLocalCliAuthFiles(backendType) {
|
|
1214
|
-
const { discoverLocalCliAuthFiles } = await import("./local-cli-auth-
|
|
1214
|
+
const { discoverLocalCliAuthFiles } = await import("./local-cli-auth-BwuumC43.js");
|
|
1215
1215
|
return discoverLocalCliAuthFiles(backendType);
|
|
1216
1216
|
}
|
|
1217
1217
|
async function loadLocalCliAuthExpectation(backendType) {
|
|
1218
|
-
const { describeLocalCliAuthExpectation: describe } = await import("./local-cli-auth-
|
|
1218
|
+
const { describeLocalCliAuthExpectation: describe } = await import("./local-cli-auth-BwuumC43.js");
|
|
1219
1219
|
return describe(backendType);
|
|
1220
1220
|
}
|
|
1221
1221
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as agentProfileSchema } from "./profile-schema-Y5Xl8aOt.js";
|
|
2
|
-
import { G as canonicalAgentProfileDigest } from "./sandbox-
|
|
2
|
+
import { G as canonicalAgentProfileDigest } from "./sandbox-B4FtKioc.js";
|
|
3
3
|
import { E as ValidationError, s as CapabilityError, x as SandboxError } from "./errors-BfR-fBvN.js";
|
|
4
4
|
import { t as awaitWithAbort } from "./abort-signal-CDxyloxz.js";
|
|
5
|
-
import { r as cliAuthReferenceSchema } from "./cli-auth-bundle-
|
|
6
|
-
import "./cli-auth-bundle-
|
|
5
|
+
import { r as cliAuthReferenceSchema } from "./cli-auth-bundle-DF3PK8iC-B7hvDZ5g.js";
|
|
6
|
+
import "./cli-auth-bundle-BJzsjBal.js";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
//#region src/failure-kind.ts
|
|
9
9
|
const LOST_CODES = new Set(["BACKING_CONTAINER_MISSING", "SANDBOX_NOT_FOUND"]);
|
package/dist/core.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { b as ManagedProcessClient, r as WorkspaceImages, t as SandboxInstance } from "./sandbox-
|
|
1
|
+
import { b as ManagedProcessClient, r as WorkspaceImages, t as SandboxInstance } from "./sandbox-B4FtKioc.js";
|
|
2
2
|
import { C as StateError, E as ValidationError, S as ServerError, T as TimeoutError, _ as PartialFailureError, a as AuthError, d as FileWriteConflictError, g as NotFoundError, h as NetworkError, n as parseErrorResponse, s as CapabilityError, v as ProfileFileMountPathError, x as SandboxError, y as QuotaError } from "./errors-BfR-fBvN.js";
|
|
3
|
-
import { a as InstancesClient, d as backendRegistryInteractionKindSchema, f as backendRegistryResponseSchema, h as parseBackendRegistryResponseBody, i as InstanceRestartingError, l as backendRegistryCapabilitiesSchema, m as parseBackendRegistryResponse, p as isBackendRegistryInteractionKind, r as HostedInstance, t as Sandbox, u as backendRegistryEntrySchema } from "./client-
|
|
3
|
+
import { a as InstancesClient, d as backendRegistryInteractionKindSchema, f as backendRegistryResponseSchema, h as parseBackendRegistryResponseBody, i as InstanceRestartingError, l as backendRegistryCapabilitiesSchema, m as parseBackendRegistryResponse, p as isBackendRegistryInteractionKind, r as HostedInstance, t as Sandbox, u as backendRegistryEntrySchema } from "./client-uT-_wj7o.js";
|
|
4
4
|
import { i as profileChannelReference, r as lineInstanceKey, t as LinesClient } from "./lines-DlLR4pHq.js";
|
|
5
5
|
import { PublicTemplatePublishError, PublicTemplatesClient } from "./public-templates.js";
|
|
6
|
-
import { a as LINE_APPLICATION_REPLY_MAX_CHARS, c as parseLineApplicationResult, i as gatewaySeatTransport, l as sandboxFailureKind, n as SeatSelectionError, o as LINE_APPLICATION_REQUEST_MAX_BYTES, r as createSelectSeat, s as parseLineApplicationRequest, t as ISOLATED_CREATION_ATTESTATION_VERSION } from "./core-
|
|
6
|
+
import { a as LINE_APPLICATION_REPLY_MAX_CHARS, c as parseLineApplicationResult, i as gatewaySeatTransport, l as sandboxFailureKind, n as SeatSelectionError, o as LINE_APPLICATION_REQUEST_MAX_BYTES, r as createSelectSeat, s as parseLineApplicationRequest, t as ISOLATED_CREATION_ATTESTATION_VERSION } from "./core-2tJeMUpF.js";
|
|
7
7
|
export { AuthError, CapabilityError, FileWriteConflictError, HostedInstance, ISOLATED_CREATION_ATTESTATION_VERSION, InstanceRestartingError, InstancesClient, LINE_APPLICATION_REPLY_MAX_CHARS, LINE_APPLICATION_REQUEST_MAX_BYTES, LinesClient, ManagedProcessClient, NetworkError, NotFoundError, PartialFailureError, ProfileFileMountPathError, PublicTemplatePublishError, PublicTemplatesClient, QuotaError, Sandbox, SandboxError, SandboxInstance, SeatSelectionError, ServerError, StateError, TimeoutError, ValidationError, WorkspaceImages, backendRegistryCapabilitiesSchema, backendRegistryEntrySchema, backendRegistryInteractionKindSchema, backendRegistryResponseSchema, createSelectSeat, gatewaySeatTransport, isBackendRegistryInteractionKind, lineInstanceKey, parseBackendRegistryResponse, parseBackendRegistryResponseBody, parseErrorResponse, parseLineApplicationRequest, parseLineApplicationResult, profileChannelReference, sandboxFailureKind };
|
package/dist/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { B as projectAgentTerminalRecord, H as ALL_BACKEND_TYPES, K as parseBackendType, L as createAgentRunOutcomeTracker, M as requestedPublicProfileDigest, R as deriveAgentResultOutcome, U as backendTypeSchema, V as TERMINAL_WS_ECHO_SUBPROTOCOL, W as isolationPrincipalSchema, i as terminalUpgradeHeadersSupported, j as normalizeRuntimeBackendConfig, n as InteractiveSessionController, r as TerminalStream, t as BrowserInteractiveSessionController, z as deriveAgentRunOutcome } from "./interactive-controller-vW55gCE7.js";
|
|
2
2
|
import { a as INTERACTIVE_CONTROL_CLEANUP_TIMEOUT_MS, k as agentInteractiveSessionPromptRequestDigest, l as createInteractiveControlHolderId, n as browserInteractiveControlHolderId, o as InteractiveSessionControlController, s as InteractiveSessionNotRunningError, t as BrowserInteractiveSessionControlController, u as interactiveSessionIdentityDigest } from "./browser-interactive-control-controller-CRCRI6x5.js";
|
|
3
3
|
import { i as SANDBOX_SIZE_PRESET_NAMES, r as agentProfileSchema, t as agentProfileConfidentialSchema } from "./profile-schema-Y5Xl8aOt.js";
|
|
4
|
-
import { C as materializeProfileFileMounts, E as validateDeferredProfileFileMounts, S as SandboxOperationFailedError, T as splitInlineProfileSkills, _ as collectAgentResponseText, a as buildTraceExportPayload, b as ManagedProcessClient, c as toOtelJson, d as InteractiveSessionHandle, f as InteractiveTerminalFrameLog, g as collectAgentFinalMessageText, h as applySandboxEventText, i as MAX_EGRESS_DENIALS_LIMIT, l as SandboxTaskSession, m as createInteractiveTerminalSession, o as exportTraceBundle, p as createInteractiveTerminalCapture, r as WorkspaceImages, s as otelTraceIdForTangleTrace, t as SandboxInstance, u as SandboxSession, v as getSandboxEventText, w as splitInlineProfileFileMounts, x as SandboxOperation, y as isToolBearingEvent } from "./sandbox-
|
|
4
|
+
import { C as materializeProfileFileMounts, E as validateDeferredProfileFileMounts, S as SandboxOperationFailedError, T as splitInlineProfileSkills, _ as collectAgentResponseText, a as buildTraceExportPayload, b as ManagedProcessClient, c as toOtelJson, d as InteractiveSessionHandle, f as InteractiveTerminalFrameLog, g as collectAgentFinalMessageText, h as applySandboxEventText, i as MAX_EGRESS_DENIALS_LIMIT, l as SandboxTaskSession, m as createInteractiveTerminalSession, o as exportTraceBundle, p as createInteractiveTerminalCapture, r as WorkspaceImages, s as otelTraceIdForTangleTrace, t as SandboxInstance, u as SandboxSession, v as getSandboxEventText, w as splitInlineProfileFileMounts, x as SandboxOperation, y as isToolBearingEvent } from "./sandbox-B4FtKioc.js";
|
|
5
5
|
import { C as StateError, E as ValidationError, S as ServerError, T as TimeoutError, _ as PartialFailureError, a as AuthError, b as ResumeEnvRequiredError, c as CompliancePlacementError, d as FileWriteConflictError, f as GpuProviderNotConfiguredError, g as NotFoundError, h as NetworkError, l as EdgeNotReadyError, n as parseErrorResponse, o as BranchFanoutExceedsHostError, p as KeyBudgetExhaustedError, s as CapabilityError, t as TerminalStreamError, u as EgressProxyRecoveryError, v as ProfileFileMountPathError, w as StreamInterruptedError, x as SandboxError, y as QuotaError } from "./errors-BfR-fBvN.js";
|
|
6
|
-
import { _ as createBatchResultAccumulator, a as InstancesClient, c as runtimeWorkspaceCwdSchema, d as backendRegistryInteractionKindSchema, f as backendRegistryResponseSchema, g as IntelligenceClient, h as parseBackendRegistryResponseBody, i as InstanceRestartingError, l as backendRegistryCapabilitiesSchema, m as parseBackendRegistryResponse, n as RunsClient, o as SandboxFleetClient, p as isBackendRegistryInteractionKind, r as HostedInstance, s as SandboxFleet, t as Sandbox, u as backendRegistryEntrySchema, v as validateBatchRunRequest } from "./client-
|
|
6
|
+
import { _ as createBatchResultAccumulator, a as InstancesClient, c as runtimeWorkspaceCwdSchema, d as backendRegistryInteractionKindSchema, f as backendRegistryResponseSchema, g as IntelligenceClient, h as parseBackendRegistryResponseBody, i as InstanceRestartingError, l as backendRegistryCapabilitiesSchema, m as parseBackendRegistryResponse, n as RunsClient, o as SandboxFleetClient, p as isBackendRegistryInteractionKind, r as HostedInstance, s as SandboxFleet, t as Sandbox, u as backendRegistryEntrySchema, v as validateBatchRunRequest } from "./client-uT-_wj7o.js";
|
|
7
7
|
import { a as CollaborationClient, i as parseCollaborationDocumentId, n as buildCollaborationDocumentId, r as normalizeCollaborationPath, t as CollaborationFileBridge } from "./collaboration-CX_XvFZZ.js";
|
|
8
8
|
import { t as parseSSEStream } from "./sse-parser-DrI47LyG.js";
|
|
9
9
|
import { i as profileChannelReference, n as SandboxLines, r as lineInstanceKey, t as LinesClient } from "./lines-DlLR4pHq.js";
|
|
10
10
|
import { t as downloadFile } from "./file-download-CICuFwGb.js";
|
|
11
11
|
import { PublicTemplatePublishError, PublicTemplatesClient } from "./public-templates.js";
|
|
12
|
-
import { a as LINE_APPLICATION_REPLY_MAX_CHARS, c as parseLineApplicationResult, i as gatewaySeatTransport, l as sandboxFailureKind, n as SeatSelectionError, o as LINE_APPLICATION_REQUEST_MAX_BYTES, r as createSelectSeat, s as parseLineApplicationRequest, t as ISOLATED_CREATION_ATTESTATION_VERSION } from "./core-
|
|
13
|
-
import { s as TangleSandboxClient } from "./tangle-
|
|
12
|
+
import { a as LINE_APPLICATION_REPLY_MAX_CHARS, c as parseLineApplicationResult, i as gatewaySeatTransport, l as sandboxFailureKind, n as SeatSelectionError, o as LINE_APPLICATION_REQUEST_MAX_BYTES, r as createSelectSeat, s as parseLineApplicationRequest, t as ISOLATED_CREATION_ATTESTATION_VERSION } from "./core-2tJeMUpF.js";
|
|
13
|
+
import { s as TangleSandboxClient } from "./tangle-Zsppk8f5.js";
|
|
14
14
|
import { z } from "zod";
|
|
15
15
|
//#region ../../../packages/runtime-contracts/dist/model-key-proxy.js
|
|
16
16
|
const MANAGED_MODEL_KEY_SENTINEL = "proxy-managed-per-request";
|
|
@@ -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-DF3PK8iC-B7hvDZ5g.js";
|
|
2
2
|
import { existsSync, readFileSync } from "node:fs";
|
|
3
3
|
import { basename, dirname, join } from "node:path";
|
|
4
4
|
import { homedir } from "node:os";
|
|
@@ -10,8 +10,8 @@ import { t as SIDECAR_PROXY_ERROR_HEADER } from "./sidecar-proxy-error-5DpLmHeN.
|
|
|
10
10
|
import { t as parseSSEStream } from "./sse-parser-DrI47LyG.js";
|
|
11
11
|
import { s as uploadChunked } from "./chunked-upload-CyP-FOeZ.js";
|
|
12
12
|
import { t as runPreparedProcess } from "./prepared-process-C-rwZPIZ.js";
|
|
13
|
-
import { a as backendTypeSchema, r as cliAuthReferenceSchema } from "./cli-auth-bundle-
|
|
14
|
-
import "./cli-auth-bundle-
|
|
13
|
+
import { a as backendTypeSchema, r as cliAuthReferenceSchema } from "./cli-auth-bundle-DF3PK8iC-B7hvDZ5g.js";
|
|
14
|
+
import "./cli-auth-bundle-BJzsjBal.js";
|
|
15
15
|
import { n as SandboxLines } from "./lines-DlLR4pHq.js";
|
|
16
16
|
import { t as downloadFile } from "./file-download-CICuFwGb.js";
|
|
17
17
|
import { z } from "zod";
|
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-Zsppk8f5.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,4 +1,4 @@
|
|
|
1
|
-
import { n as createSandboxInstanceFromResponse } from "./sandbox-
|
|
1
|
+
import { n as createSandboxInstanceFromResponse } from "./sandbox-B4FtKioc.js";
|
|
2
2
|
import { i as readResponseJson } from "./errors-BfR-fBvN.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-vaFoyyiO.js";
|
|
4
4
|
//#region ../../../packages/runtime-contracts/dist/tangle-blueprint-abi.js
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sandbox",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.149",
|
|
4
4
|
"description": "Client SDK for the Tangle Sandbox platform - build AI agent applications with dev containers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -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
|
-
"@tangle-network/cli-agent-registry": "0.15.0",
|
|
159
157
|
"@tangle-network/runtime-contracts": "0.20.0",
|
|
160
|
-
"@tangle-network/agent-profile-materialize": "0.27.1"
|
|
158
|
+
"@tangle-network/agent-profile-materialize": "0.27.1",
|
|
159
|
+
"@tangle-network/cli-agent-registry": "0.15.0",
|
|
160
|
+
"@products/sandbox-test-utils": "0.0.0"
|
|
161
161
|
},
|
|
162
162
|
"tangleRelease": {
|
|
163
|
-
"sourceSha": "
|
|
164
|
-
"mergedAt": "2026-10-
|
|
163
|
+
"sourceSha": "3e9ce58ac855e3e45e129ecc02dd46f2df546b8d",
|
|
164
|
+
"mergedAt": "2026-10-31T02:24:56-06:00"
|
|
165
165
|
},
|
|
166
166
|
"scripts": {
|
|
167
167
|
"build": "node scripts/build-dist.mjs",
|