@tangle-network/sandbox 1.0.157 → 1.0.158

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.
@@ -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-DtCtgN-m.js";
3
- import { t as SandboxInstance } from "../sandbox-DspWCTfS.js";
3
+ import { t as SandboxInstance } from "../sandbox-D3A8ot08.js";
4
4
  import { C as StateError, E as ValidationError, g as NotFoundError } from "../errors-BUzH7U1D.js";
5
- import { t as Sandbox } from "../client-BJx-PGfP.js";
5
+ import { t as Sandbox } from "../client-yBaVOUp7.js";
6
6
  import { z } from "zod";
7
7
  //#region src/agent/instances.ts
8
8
  const managers = /* @__PURE__ */ new WeakMap();
@@ -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-DtCtgN-m.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-DspWCTfS.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-D3A8ot08.js";
4
4
  import { D as isInsideReservedDir, E as ValidationError, F as SANDBOX_AGENT_HOME, 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-BUzH7U1D.js";
5
5
  import { n as combineAbortSignals } from "./abort-signal-CDxyloxz.js";
6
6
  import { t as fetchSandboxApi } from "./api-request-DNrodWdz.js";
@@ -1,5 +1,5 @@
1
1
  import { r as agentProfileSchema } from "./profile-schema-C1KpT-wS.js";
2
- import { q as canonicalAgentProfileDigest } from "./sandbox-DspWCTfS.js";
2
+ import { q as canonicalAgentProfileDigest } from "./sandbox-D3A8ot08.js";
3
3
  import { E as ValidationError, s as CapabilityError, x as SandboxError } from "./errors-BUzH7U1D.js";
4
4
  import { t as awaitWithAbort } from "./abort-signal-CDxyloxz.js";
5
5
  import { r as cliAuthReferenceSchema } from "./cli-auth-bundle-CwJjUmvo-3J2DDPxW.js";
package/dist/core.js CHANGED
@@ -1,7 +1,7 @@
1
- import { r as WorkspaceImages, t as SandboxInstance, x as ManagedProcessClient } from "./sandbox-DspWCTfS.js";
1
+ import { r as WorkspaceImages, t as SandboxInstance, x as ManagedProcessClient } from "./sandbox-D3A8ot08.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-BUzH7U1D.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-BJx-PGfP.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-yBaVOUp7.js";
4
4
  import { i as profileChannelReference, r as lineInstanceKey, t as LinesClient } from "./lines-2fj8i5qd.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-CEkaYd2F.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-Efr8vtcH.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-DtCtgN-m.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-DspWCTfS.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-D3A8ot08.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-BUzH7U1D.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-BJx-PGfP.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-yBaVOUp7.js";
7
7
  import { a as CollaborationClient, i as parseCollaborationDocumentId, n as buildCollaborationDocumentId, r as normalizeCollaborationPath, t as CollaborationFileBridge } from "./collaboration-DIIJHGQY.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-2fj8i5qd.js";
10
10
  import { t as downloadFile } from "./file-download-Bo3IypMO.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-CEkaYd2F.js";
13
- import { s as TangleSandboxClient } from "./tangle-CcCVUaR_.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-Efr8vtcH.js";
13
+ import { s as TangleSandboxClient } from "./tangle-Bl0yNSPg.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";
@@ -3644,7 +3644,7 @@ function inlineContent(mount) {
3644
3644
  */
3645
3645
  function validateDeferredProfileFileMounts(files, options = {}) {
3646
3646
  const kept = [];
3647
- const paths = /* @__PURE__ */ new Set();
3647
+ const paths = /* @__PURE__ */ new Map();
3648
3648
  for (const mount of files) {
3649
3649
  inlineContent(mount);
3650
3650
  validateProfileFilePath(mount.path);
@@ -3655,9 +3655,10 @@ function validateDeferredProfileFileMounts(files, options = {}) {
3655
3655
  continue;
3656
3656
  }
3657
3657
  const path = (mount.path.startsWith("~/") ? `${PROFILE_AGENT_HOME}/${mount.path.slice(2)}` : mount.path).replace(/\/+/g, "/");
3658
- if (paths.has(path)) throw new Error(`materializeProfileFileMounts: duplicate file path ${mount.path}`);
3659
- paths.add(path);
3660
- kept.push(mount);
3658
+ const same = paths.get(path);
3659
+ if (same === void 0) kept.push(mount);
3660
+ else if (inlineContent(same) !== inlineContent(mount) || isExecutableProfileFile(same) !== isExecutableProfileFile(mount)) throw new ProfileFileMountPathError(mount.path, `materializeProfileFileMounts: ${same.path} and ${mount.path} name one file with different content or mode`, "PROFILE_FILE_CONFLICT", void 0, 409);
3661
+ paths.set(path, mount);
3661
3662
  }
3662
3663
  return kept;
3663
3664
  }
@@ -3859,8 +3860,11 @@ async function materializeProfileFileMounts(box, files, options = {}) {
3859
3860
  if (typeof uploadDataFn !== "function") throw new ProfileFileMaterializeError(`materializeProfileFileMounts: ${mount.path} (${contentBytes} bytes decoded) does not fit a gateway-safe single-shot write once JSON-serialized, and the box does not expose fs.uploadData for chunked delivery`, { decided: true });
3860
3861
  viaUpload.push({
3861
3862
  path: target,
3862
- content,
3863
- ...mode !== void 0 ? { mode } : {}
3863
+ upload: () => uploadDataFn(target, content, {
3864
+ ...mode !== void 0 ? { mode } : {},
3865
+ paceMs,
3866
+ maxRetries
3867
+ })
3864
3868
  });
3865
3869
  continue;
3866
3870
  }
@@ -3908,17 +3912,10 @@ async function materializeProfileFileMounts(box, files, options = {}) {
3908
3912
  })));
3909
3913
  }
3910
3914
  }
3911
- if (viaUpload.length > 0) {
3912
- if (typeof uploadDataFn !== "function") throw new Error("materializeProfileFileMounts: viaUpload entries exist but fs.uploadData is unavailable");
3913
- for (const item of viaUpload) try {
3914
- await uploadDataFn(item.path, item.content, {
3915
- ...item.mode !== void 0 ? { mode: item.mode } : {},
3916
- paceMs,
3917
- maxRetries
3918
- });
3919
- } catch (err) {
3920
- throw new ProfileFileMaterializeError(`materializeProfileFileMounts: uploadData failed for ${item.path}`, { cause: err });
3921
- }
3915
+ for (const item of viaUpload) try {
3916
+ await item.upload();
3917
+ } catch (err) {
3918
+ throw new ProfileFileMaterializeError(`materializeProfileFileMounts: uploadData failed for ${item.path}`, { cause: err });
3922
3919
  }
3923
3920
  const execState = { started: false };
3924
3921
  for (const item of viaExec) await execProfileFileMount(box, item.mount, item.content, {
@@ -3951,7 +3948,7 @@ const safeParents = (file) => {
3951
3948
  if (info && (!info.isDirectory() || info.isSymbolicLink())) throw new Error('Refusing profile file through non-directory or symlink: ' + current);
3952
3949
  }
3953
3950
  };
3954
- const conflict = (file) => Object.assign(new Error('PROFILE_FILE_CONFLICT ' + file.mountPath), { conflict: true });
3951
+ const conflict = (...files) => Object.assign(new Error('PROFILE_FILE_CONFLICT ' + JSON.stringify(files.map((file) => file.mountPath))), { conflict: true });
3955
3952
  const recorded = (file) => { try { return JSON.parse(fs.readFileSync(path.join(root, '${PROFILE_FILE_RECORD_DIR}', hash(file.path) + '.json'), 'utf8')).sha256; } catch { return undefined; } };
3956
3953
  const decide = (file) => {
3957
3954
  const info = stat(file.target);
@@ -3969,15 +3966,17 @@ const decide = (file) => {
3969
3966
  const readStaged = (file, what) => { try { return fs.readFileSync(file); } catch (error) { console.error('materializeProfileFileMounts: staged profile payload is missing at ' + file + ' (' + what + ': ' + ((error && error.code) || 'unknown') + ')'); process.exit(1); } };
3970
3967
  try {
3971
3968
  const plan = JSON.parse(readStaged(path.join(stage, 'manifest.json'), 'manifest'));
3972
- const targets = new Set();
3973
- const files = plan.map((file, index) => {
3969
+ // Two entries naming one target (a relative and an absolute form) are one file when bytes and mode agree.
3970
+ const targets = new Map();
3971
+ const files = plan.flatMap((file, index) => {
3974
3972
  const target = path.resolve(root, file.path.startsWith('~/') ? path.join(os.homedir(), file.path.slice(2)) : file.path);
3975
- if (targets.has(target)) throw new Error('Duplicate profile file target: ' + file.path);
3976
- targets.add(target);
3973
+ const same = targets.get(target);
3974
+ if (same && (same.sha256 !== file.sha256 || same.mode !== file.mode)) throw conflict(same, file);
3975
+ targets.set(target, file);
3977
3976
  const source = path.join(stage, String(index));
3978
3977
  const info = stat(source);
3979
3978
  if (!info || !info.isFile() || hash(readStaged(source, 'payload')) !== file.sha256) throw new Error('Staged profile file checksum mismatch: ' + file.path);
3980
- return { ...file, target, source };
3979
+ return same ? [] : [{ ...file, target, source }];
3981
3980
  });
3982
3981
  const actions = files.map((file) => { safeParents(file.target); return decide(file); });
3983
3982
  files.forEach((file, index) => {
@@ -4046,7 +4045,10 @@ async function materializeAbsentProfileFiles(box, files, options) {
4046
4045
  if (applied.exitCode !== 0) {
4047
4046
  const stderr = applied.stderr.slice(0, 1500);
4048
4047
  const conflict = /^PROFILE_FILE_CONFLICT (.+)$/m.exec(stderr)?.[1];
4049
- if (conflict !== void 0) throw new ProfileFileMountPathError(conflict, `Profile file ${conflict} changed both in the sandbox and in the profile; refusing to replace it`, "PROFILE_FILE_CONFLICT", void 0, 409);
4048
+ if (conflict !== void 0) {
4049
+ const paths = JSON.parse(conflict);
4050
+ throw new ProfileFileMountPathError(paths[0], `Profile file ${paths.join(" and ")} conflicts (changed in the sandbox and the profile, or one target with two contents or modes); refusing to replace it`, "PROFILE_FILE_CONFLICT", void 0, 409);
4051
+ }
4050
4052
  throw new ProfileFileMaterializeError(`materializeProfileFileMounts: ${stderr}`, {
4051
4053
  exitCode: applied.exitCode,
4052
4054
  detail: stderr
@@ -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-CcCVUaR_.js";
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-Bl0yNSPg.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-DspWCTfS.js";
1
+ import { n as createSandboxInstanceFromResponse } from "./sandbox-D3A8ot08.js";
2
2
  import { i as readResponseJson } from "./errors-BUzH7U1D.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.157",
3
+ "version": "1.0.158",
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",
157
+ "@products/sandbox-test-utils": "0.0.0",
158
+ "@tangle-network/agent-profile-materialize": "0.27.1",
158
159
  "@tangle-network/cli-agent-registry": "0.15.0",
159
- "@tangle-network/runtime-contracts": "0.20.0",
160
- "@tangle-network/agent-profile-materialize": "0.27.1"
160
+ "@tangle-network/runtime-contracts": "0.20.0"
161
161
  },
162
162
  "tangleRelease": {
163
- "sourceSha": "2297bf41d857904951943995402f79cde96b7611",
164
- "mergedAt": "2026-10-31T13:39:12-06:00"
163
+ "sourceSha": "cc02365d8179a455d806d4a668c34c38cbd79246",
164
+ "mergedAt": "2026-10-31T14:53:07-06:00"
165
165
  },
166
166
  "scripts": {
167
167
  "build": "node scripts/build-dist.mjs",