@tangle-network/sandbox 1.0.153 → 1.0.154
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-D8Wu1H1c-CIFKakKy.js → cli-auth-bundle-CwJjUmvo-3J2DDPxW.js} +16 -23
- package/dist/cli-auth-bundle-Op0k_zIX.js +2 -0
- package/dist/{client-QgAgHDT4.js → client-CwXCrbjC.js} +3 -3
- package/dist/{core-DHgXejOs.js → core-0xk74Wb2.js} +3 -3
- package/dist/core.js +3 -3
- package/dist/index.js +4 -4
- package/dist/{local-cli-auth-or4kRYUS.js → local-cli-auth-CuWtJrZj.js} +1 -1
- package/dist/{sandbox-bWRanOKP.js → sandbox-Djom_zTy.js} +2 -2
- package/dist/tangle/index.js +1 -1
- package/dist/{tangle-EconMBgP.js → tangle-tA0XYA6a.js} +1 -1
- package/package.json +6 -6
- package/dist/cli-auth-bundle-N92SqZUI.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-BVsAnr6o.js";
|
|
3
|
-
import { t as SandboxInstance } from "../sandbox-
|
|
3
|
+
import { t as SandboxInstance } from "../sandbox-Djom_zTy.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-CwXCrbjC.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-CwJjUmvo-3J2DDPxW.js";
|
|
2
|
+
import "../cli-auth-bundle-Op0k_zIX.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-C1KpT-wS.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-D8ecaUiL.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",
|
|
@@ -109,15 +109,12 @@ printf '\\n'`,
|
|
|
109
109
|
storeEnv: {},
|
|
110
110
|
evidence: {
|
|
111
111
|
servedModel: "session-record",
|
|
112
|
-
usage: "
|
|
112
|
+
usage: "session-total",
|
|
113
113
|
endingError: "none"
|
|
114
114
|
},
|
|
115
115
|
cliVersion: HARNESS_CLI_VERSIONS.acp
|
|
116
116
|
},
|
|
117
|
-
defect:
|
|
118
|
-
issue: "#10096",
|
|
119
|
-
reason: "contract is declared per sub-agent; gemini needs a mock dialect"
|
|
120
|
-
}
|
|
117
|
+
defect: null
|
|
121
118
|
},
|
|
122
119
|
config: {
|
|
123
120
|
kind: "model",
|
|
@@ -488,7 +485,12 @@ var grok_default = {
|
|
|
488
485
|
version: 1,
|
|
489
486
|
stores: [{
|
|
490
487
|
root: ".grok/sessions",
|
|
491
|
-
files: [
|
|
488
|
+
files: [
|
|
489
|
+
"*/{id}/updates.jsonl",
|
|
490
|
+
"*/{id}/chat_history.jsonl",
|
|
491
|
+
"*/{id}/summary.json",
|
|
492
|
+
"*/{id}/signals.json"
|
|
493
|
+
],
|
|
492
494
|
write: "jsonl-append",
|
|
493
495
|
shared: false,
|
|
494
496
|
format: "grok.acp-session-dir"
|
|
@@ -506,7 +508,7 @@ var grok_default = {
|
|
|
506
508
|
storeEnv: { GROK_HOME: ".grok" },
|
|
507
509
|
evidence: {
|
|
508
510
|
servedModel: "session-record",
|
|
509
|
-
usage: "
|
|
511
|
+
usage: "none",
|
|
510
512
|
endingError: "none"
|
|
511
513
|
},
|
|
512
514
|
cliVersion: HARNESS_CLI_VERSIONS.grok
|
|
@@ -561,10 +563,7 @@ var hermes_default = {
|
|
|
561
563
|
},
|
|
562
564
|
cliVersion: HARNESS_CLI_VERSIONS.hermes
|
|
563
565
|
},
|
|
564
|
-
defect:
|
|
565
|
-
issue: "#10096",
|
|
566
|
-
reason: "HERMES_HOME lives under the workspace, and the session id arrives on stderr after exit"
|
|
567
|
-
}
|
|
566
|
+
defect: null
|
|
568
567
|
},
|
|
569
568
|
config: {
|
|
570
569
|
kind: "model",
|
|
@@ -759,10 +758,7 @@ var openclaw_default = {
|
|
|
759
758
|
},
|
|
760
759
|
cliVersion: HARNESS_CLI_VERSIONS.openclaw
|
|
761
760
|
},
|
|
762
|
-
defect:
|
|
763
|
-
issue: "#10096",
|
|
764
|
-
reason: "config is pinned outside the runtime HOME; store layout unverified"
|
|
765
|
-
}
|
|
761
|
+
defect: null
|
|
766
762
|
},
|
|
767
763
|
config: {
|
|
768
764
|
kind: "model",
|
|
@@ -958,7 +954,7 @@ const HARNESSES = {
|
|
|
958
954
|
version: 1,
|
|
959
955
|
stores: [{
|
|
960
956
|
root: ".prime-provider/prime-agent-dirs",
|
|
961
|
-
files: ["
|
|
957
|
+
files: ["**/sessions/*.jsonl"],
|
|
962
958
|
write: "jsonl-append",
|
|
963
959
|
shared: false,
|
|
964
960
|
format: "prime.session-jsonl"
|
|
@@ -977,10 +973,7 @@ const HARNESSES = {
|
|
|
977
973
|
},
|
|
978
974
|
cliVersion: HARNESS_CLI_VERSIONS.prime
|
|
979
975
|
},
|
|
980
|
-
defect:
|
|
981
|
-
issue: "#10096",
|
|
982
|
-
reason: "no conformance receipt for the runtime-HOME agent dir yet"
|
|
983
|
-
}
|
|
976
|
+
defect: null
|
|
984
977
|
},
|
|
985
978
|
config: {
|
|
986
979
|
kind: "model",
|
|
@@ -1062,7 +1055,7 @@ function isBackendType(value) {
|
|
|
1062
1055
|
return BACKEND_TYPE_SET.has(value);
|
|
1063
1056
|
}
|
|
1064
1057
|
//#endregion
|
|
1065
|
-
//#region ../../../packages/cli-agent-registry/dist/specs-
|
|
1058
|
+
//#region ../../../packages/cli-agent-registry/dist/specs-B-8kWldX.mjs
|
|
1066
1059
|
z.globalRegistry.add(agentProfileSchema, {
|
|
1067
1060
|
id: "AgentProfile",
|
|
1068
1061
|
...agentProfileJsonSchema
|
|
@@ -1604,7 +1597,7 @@ function getSpec(name) {
|
|
|
1604
1597
|
return CLI_AGENT_SPECS.find((spec) => spec.name === name);
|
|
1605
1598
|
}
|
|
1606
1599
|
//#endregion
|
|
1607
|
-
//#region ../../../packages/cli-agent-registry/dist/cli-auth-bundle-
|
|
1600
|
+
//#region ../../../packages/cli-agent-registry/dist/cli-auth-bundle-CwJjUmvo.mjs
|
|
1608
1601
|
const cliAuthReferenceSchema = z.strictObject({
|
|
1609
1602
|
account: z.string().regex(/^[A-Za-z0-9][A-Za-z0-9@._+-]{0,127}$/),
|
|
1610
1603
|
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-BVsAnr6o.js";
|
|
2
2
|
import { r as agentProfileSchema } from "./profile-schema-C1KpT-wS.js";
|
|
3
|
-
import { A as normalizeSandboxCreateReceipt, B as createRetryDelayMs, D as validateDeferredProfileFileMounts, E as splitInlineProfileSkills, F as normalizeProxySecretReceipt, G as isRetryableCreateError, H as isCapacityShortageCreateError, I as normalizeSandboxShape, K as waitForCreateRetry, M as parseStopPhase, N as normalizeConnection, O as isRetryableProfileFileMaterializeFailure, P as normalizeEgressPolicyFields, T as splitInlineProfileFileMounts, U as isDeployWindowCreateError, V as generateIdempotencyKey, W as isRateLimitCreateError, d as sandboxLedgerUsd, j as normalizeStartupDiagnostics, k as normalizeCaptureProof, n as createSandboxInstanceFromResponse, o as exportTraceBundle, z as DEPLOY_WINDOW_RETRY_MS } from "./sandbox-
|
|
3
|
+
import { A as normalizeSandboxCreateReceipt, B as createRetryDelayMs, D as validateDeferredProfileFileMounts, E as splitInlineProfileSkills, F as normalizeProxySecretReceipt, G as isRetryableCreateError, H as isCapacityShortageCreateError, I as normalizeSandboxShape, K as waitForCreateRetry, M as parseStopPhase, N as normalizeConnection, O as isRetryableProfileFileMaterializeFailure, P as normalizeEgressPolicyFields, T as splitInlineProfileFileMounts, U as isDeployWindowCreateError, V as generateIdempotencyKey, W as isRateLimitCreateError, d as sandboxLedgerUsd, j as normalizeStartupDiagnostics, k as normalizeCaptureProof, n as createSandboxInstanceFromResponse, o as exportTraceBundle, z as DEPLOY_WINDOW_RETRY_MS } from "./sandbox-Djom_zTy.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-CuWtJrZj.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-CuWtJrZj.js");
|
|
1219
1219
|
return describe(backendType);
|
|
1220
1220
|
}
|
|
1221
1221
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as agentProfileSchema } from "./profile-schema-C1KpT-wS.js";
|
|
2
|
-
import { q as canonicalAgentProfileDigest } from "./sandbox-
|
|
2
|
+
import { q as canonicalAgentProfileDigest } from "./sandbox-Djom_zTy.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-CwJjUmvo-3J2DDPxW.js";
|
|
6
|
+
import "./cli-auth-bundle-Op0k_zIX.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 { r as WorkspaceImages, t as SandboxInstance, x as ManagedProcessClient } from "./sandbox-
|
|
1
|
+
import { r as WorkspaceImages, t as SandboxInstance, x as ManagedProcessClient } from "./sandbox-Djom_zTy.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-CwXCrbjC.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-0xk74Wb2.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-BVsAnr6o.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-C6GiIQZF.js";
|
|
3
3
|
import { i as SANDBOX_SIZE_PRESET_NAMES, r as agentProfileSchema, t as agentProfileConfidentialSchema } from "./profile-schema-C1KpT-wS.js";
|
|
4
|
-
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, f as InteractiveSessionHandle, 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-
|
|
4
|
+
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, f as InteractiveSessionHandle, 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-Djom_zTy.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-CwXCrbjC.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-0xk74Wb2.js";
|
|
13
|
+
import { s as TangleSandboxClient } from "./tangle-tA0XYA6a.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-CwJjUmvo-3J2DDPxW.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";
|
|
@@ -11,8 +11,8 @@ import { t as SIDECAR_PROXY_ERROR_HEADER } from "./sidecar-proxy-error-5DpLmHeN.
|
|
|
11
11
|
import { t as parseSSEStream } from "./sse-parser-DrI47LyG.js";
|
|
12
12
|
import { s as uploadChunked } from "./chunked-upload-CyP-FOeZ.js";
|
|
13
13
|
import { t as runPreparedProcess } from "./prepared-process-C-rwZPIZ.js";
|
|
14
|
-
import { a as isBackendType, r as cliAuthReferenceSchema } from "./cli-auth-bundle-
|
|
15
|
-
import "./cli-auth-bundle-
|
|
14
|
+
import { a as isBackendType, r as cliAuthReferenceSchema } from "./cli-auth-bundle-CwJjUmvo-3J2DDPxW.js";
|
|
15
|
+
import "./cli-auth-bundle-Op0k_zIX.js";
|
|
16
16
|
import { n as SandboxLines } from "./lines-DlLR4pHq.js";
|
|
17
17
|
import { t as downloadFile } from "./file-download-CICuFwGb.js";
|
|
18
18
|
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-tA0XYA6a.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-Djom_zTy.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.154",
|
|
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
|
-
"@tangle-network/agent-profile-materialize": "0.27.1",
|
|
157
156
|
"@repo/shared": "0.0.0",
|
|
157
|
+
"@tangle-network/agent-profile-materialize": "0.27.1",
|
|
158
158
|
"@products/sandbox-test-utils": "0.0.0",
|
|
159
|
-
"@tangle-network/
|
|
160
|
-
"@tangle-network/
|
|
159
|
+
"@tangle-network/runtime-contracts": "0.20.0",
|
|
160
|
+
"@tangle-network/cli-agent-registry": "0.15.0"
|
|
161
161
|
},
|
|
162
162
|
"tangleRelease": {
|
|
163
|
-
"sourceSha": "
|
|
164
|
-
"mergedAt": "2026-10-
|
|
163
|
+
"sourceSha": "43d85ff896829a2ce5f50aa8c024451b4083bff1",
|
|
164
|
+
"mergedAt": "2026-10-31T11:51:53-06:00"
|
|
165
165
|
},
|
|
166
166
|
"scripts": {
|
|
167
167
|
"build": "node scripts/build-dist.mjs",
|