@tangle-network/sandbox 1.0.548 → 1.0.549

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
- import { a as TOOL_SPECS, i as ALL_TOOL_SPECS, o as serializeToolResult, r as bindToolSpecs, t as createMcpServer } from "../mcp-local-D8JcE1P1.js";
2
- import { x as assertCurrentBackendType } from "../interactive-controller-D7Bl4YMv.js";
3
- import { t as SandboxInstance } from "../sandbox-BvnS0HQX.js";
1
+ import { a as TOOL_SPECS, i as ALL_TOOL_SPECS, o as serializeToolResult, r as bindToolSpecs, t as createMcpServer } from "../mcp-local-tiXHkB_C.js";
2
+ import { x as assertCurrentBackendType } from "../interactive-controller-BZ5vHYic.js";
3
+ import { t as SandboxInstance } from "../sandbox-D8cr7ke7.js";
4
4
  import { O as ValidationError, T as StateError, v as NotFoundError } from "../errors-2ZgDNA5b.js";
5
- import { t as Sandbox } from "../client-CS96l6eX.js";
5
+ import { t as Sandbox } from "../client-3neRIaT-.js";
6
6
  import { z } from "zod";
7
7
  //#region src/agent/instances.ts
8
8
  const managers = /* @__PURE__ */ new WeakMap();
@@ -66,7 +66,7 @@ async function servePreviewMcp(request, config) {
66
66
  if (typeof config.authorize !== "function") throw new Error("Preview MCP requires a host authorization callback");
67
67
  const tools = config.tools ?? PREVIEW_TOOLS;
68
68
  if (!tools.length || tools.some((tool) => !PREVIEW_TOOLS.includes(tool))) throw new Error("Preview MCP requires an explicit nonempty preview-only tool grant");
69
- const [{ createMcpServer }, { WebStandardStreamableHTTPServerTransport }] = await Promise.all([import("../mcp-local-D8JcE1P1.js").then((n) => n.n), import("@modelcontextprotocol/sdk/server/webStandardStreamableHttp.js")]);
69
+ const [{ createMcpServer }, { WebStandardStreamableHTTPServerTransport }] = await Promise.all([import("../mcp-local-tiXHkB_C.js").then((n) => n.n), import("@modelcontextprotocol/sdk/server/webStandardStreamableHttp.js")]);
70
70
  const handle = await createMcpServer(config.box, {
71
71
  name: "tangle-previews",
72
72
  sessionId: config.sessionId,
@@ -31,7 +31,7 @@ function rewrapResponse(original, headers, body = original.body) {
31
31
  //#endregion
32
32
  //#region src/lib/api-request.mjs
33
33
  /** The package version tsdown.config.ts defines; unbuilt source reports 0.0.0. */
34
- const SDK_VERSION = "1.0.548";
34
+ const SDK_VERSION = "1.0.549";
35
35
  function withRequestContextHeaders(response, path, method, body = response.body) {
36
36
  const headers = new Headers(response.headers);
37
37
  headers.set("x-tangle-request-path", path);
@@ -1,7 +1,7 @@
1
1
  import { C as boundedEventContentRecordSchema, D as boundedJsonSchema, E as boundedJsonRecordSchema, O as boundedStringSchema, S as boundedEventContentJsonSchema, T as boundedIdentifierSchema, k as isBoundedEventContentJson, s as canonicalCandidateDigest, v as sha256DigestSchema, w as boundedEventContentStringSchema, x as CONTRACT_MAX_STRING_LENGTH, y as CONTRACT_MAX_ARRAY_LENGTH } from "./harness-QlDF8rzb.js";
2
2
  import { t as agentExecutionPreparationReceiptSchema } from "./agent-execution-preparation-receipt-Cc9RZhlS.js";
3
3
  import { t as awaitWithAbort } from "./abort-signal-BsriwJ8L.js";
4
- import { i as fetchSandboxApi } from "./api-request-CxNJhlco.js";
4
+ import { i as fetchSandboxApi } from "./api-request-2oQS9vvO.js";
5
5
  import { z } from "zod";
6
6
  //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.28/node_modules/@tangle-network/agent-interface/dist/native-session-event.js
7
7
  /**
@@ -1,11 +1,11 @@
1
- import { C as normalizeRuntimeBackendConfig, D as withoutCreateOnlyModelFields, E as withProfileHarness, I as backendTypeSchema, _ as encodePromptForWire, b as applyRequestedModel, o as requestInteractiveSessionToken, x as assertCurrentBackendType } from "./interactive-controller-D7Bl4YMv.js";
1
+ import { C as normalizeRuntimeBackendConfig, D as withoutCreateOnlyModelFields, E as withProfileHarness, I as backendTypeSchema, _ as encodePromptForWire, b as applyRequestedModel, o as requestInteractiveSessionToken, x as assertCurrentBackendType } from "./interactive-controller-BZ5vHYic.js";
2
2
  import { r as agentProfileSchema } from "./profile-schema-BHeC7cOf.js";
3
- import { $ as isCapacityShortageCreateError, B as parseLifecycleTimes, E as validateDeferredProfileFileMounts, F as normalizeCaptureProof, G as normalizeSandboxShape, H as normalizeConnection, I as normalizeSandboxCreateReceipt, J as DEPLOY_WINDOW_RETRY_MS, K as CAPACITY_ETA_MARGIN_MS, L as normalizeStartupDiagnostics, P as DirectRuntimeHttpClient, Q as generateIdempotencyKey, T as splitInlineProfileSkills, U as normalizeEgressPolicyFields, V as state, W as normalizeProxySecretReceipt, X as createRetryDelayMs, Y as awaitCreateResend, Z as extendableDeadline, d as sandboxLedgerUsd, et as isDeployWindowCreateError, n as createSandboxInstanceFromResponse, nt as isRetryableCreateError, o as exportTraceBundle, q as CAPACITY_ETA_WAIT_MAX_MS, rt as runtimeWorkspaceCwdSchema, tt as isRateLimitCreateError, w as splitInlineProfileFileMounts, x as deleteSandbox, z as dateOf } from "./sandbox-BvnS0HQX.js";
3
+ import { $ as isCapacityShortageCreateError, B as parseLifecycleTimes, E as validateDeferredProfileFileMounts, F as normalizeCaptureProof, G as normalizeSandboxShape, H as normalizeConnection, I as normalizeSandboxCreateReceipt, J as DEPLOY_WINDOW_RETRY_MS, K as CAPACITY_ETA_MARGIN_MS, L as normalizeStartupDiagnostics, P as DirectRuntimeHttpClient, Q as generateIdempotencyKey, T as splitInlineProfileSkills, U as normalizeEgressPolicyFields, V as state, W as normalizeProxySecretReceipt, X as createRetryDelayMs, Y as awaitCreateResend, Z as extendableDeadline, d as sandboxLedgerUsd, et as isDeployWindowCreateError, n as createSandboxInstanceFromResponse, nt as isRetryableCreateError, o as exportTraceBundle, q as CAPACITY_ETA_WAIT_MAX_MS, rt as runtimeWorkspaceCwdSchema, tt as isRateLimitCreateError, w as splitInlineProfileFileMounts, x as deleteSandbox, z as dateOf } from "./sandbox-D8cr7ke7.js";
4
4
  import { C as SandboxError, D as TimeoutError, O as ValidationError, _ as NetworkError, a as readResponseJson, c as AuthError, i as parseResponseError, k as SANDBOX_CREATE_DEADLINE_HEADER, r as parseErrorResponse, v as NotFoundError, w as ServerError, y as PartialFailureError } from "./errors-2ZgDNA5b.js";
5
5
  import { n as combineAbortSignals } from "./abort-signal-BsriwJ8L.js";
6
6
  import { t as TRACEPARENT_HEADER } from "./lifecycle-trace-CDGgSOVP.js";
7
7
  import { r as abortableSleep, t as RETRY_POLICY } from "./retry-policy-BlkQJ7_e.js";
8
- import { i as fetchSandboxApi, n as SDK_TIMEOUTS } from "./api-request-CxNJhlco.js";
8
+ import { i as fetchSandboxApi, n as SDK_TIMEOUTS } from "./api-request-2oQS9vvO.js";
9
9
  import { l as SANDBOX_AGENT_HOME } from "./file-transfer-CnCWFYua.js";
10
10
  import { a as resolveTraceId, l as isBrowserRuntime, r as lifecycleTraceHeaders } from "./trace-id-CHspVBdc.js";
11
11
  import { n as fetchWithKeepAlive, t as emitTiming } from "./keep-alive-fetch-20ETnJrY.js";
@@ -1,2 +1,2 @@
1
- import { a as CollaborationClient, i as parseCollaborationDocumentId, n as buildCollaborationDocumentId, r as normalizeCollaborationPath, t as CollaborationFileBridge } from "../collaboration-DKJQdf0K.js";
1
+ import { a as CollaborationClient, i as parseCollaborationDocumentId, n as buildCollaborationDocumentId, r as normalizeCollaborationPath, t as CollaborationFileBridge } from "../collaboration-C-ttLgOC.js";
2
2
  export { CollaborationClient, CollaborationFileBridge, buildCollaborationDocumentId, normalizeCollaborationPath, parseCollaborationDocumentId };
@@ -1,5 +1,5 @@
1
1
  import { D as TimeoutError, _ as NetworkError, r as parseErrorResponse } from "./errors-2ZgDNA5b.js";
2
- import { i as fetchSandboxApi } from "./api-request-CxNJhlco.js";
2
+ import { i as fetchSandboxApi } from "./api-request-2oQS9vvO.js";
3
3
  //#region src/collaboration/client.ts
4
4
  function normalizeBaseUrl(url) {
5
5
  return url.replace(/\/+$/, "");
package/dist/core.js CHANGED
@@ -1,6 +1,6 @@
1
- import { S as ManagedProcessClient, r as WorkspaceImages, t as SandboxInstance } from "./sandbox-BvnS0HQX.js";
1
+ import { S as ManagedProcessClient, r as WorkspaceImages, t as SandboxInstance } from "./sandbox-D8cr7ke7.js";
2
2
  import { C as SandboxError, D as TimeoutError, O as ValidationError, T as StateError, _ as NetworkError, b as ProfileFileMountPathError, c as AuthError, m as FileWriteConflictError, o as responseMetadata, r as parseErrorResponse, u as CapabilityError, v as NotFoundError, w as ServerError, x as QuotaError, y as PartialFailureError } from "./errors-2ZgDNA5b.js";
3
- import { a as InstancesClient, c as backendRegistryCapabilitiesSchema, d as backendRegistryResponseSchema, f as isBackendRegistryInteractionKind, i as InstanceRestartingError, l as backendRegistryEntrySchema, m as parseBackendRegistryResponseBody, p as parseBackendRegistryResponse, r as HostedInstance, t as Sandbox, u as backendRegistryInteractionKindSchema } from "./client-CS96l6eX.js";
3
+ import { a as InstancesClient, c as backendRegistryCapabilitiesSchema, d as backendRegistryResponseSchema, f as isBackendRegistryInteractionKind, i as InstanceRestartingError, l as backendRegistryEntrySchema, m as parseBackendRegistryResponseBody, p as parseBackendRegistryResponse, r as HostedInstance, t as Sandbox, u as backendRegistryInteractionKindSchema } from "./client-3neRIaT-.js";
4
4
  import { i as profileChannelReference, r as lineInstanceKey, t as LinesClient } from "./lines-D2yZ9mwp.js";
5
5
  import { PublicTemplatePublishError, PublicTemplatesClient } from "./public-templates.js";
6
6
  import { a as parseLineApplicationResult, i as parseLineApplicationRequest, n as LINE_APPLICATION_REPLY_MAX_CHARS, o as sandboxFailureKind, r as LINE_APPLICATION_REQUEST_MAX_BYTES, t as ISOLATED_CREATION_ATTESTATION_VERSION } from "./core-BWiEs9yv.js";
@@ -1,4 +1,4 @@
1
- import { i as fetchSandboxApi } from "../api-request-CxNJhlco.js";
1
+ import { i as fetchSandboxApi } from "../api-request-2oQS9vvO.js";
2
2
  import { t as ITangleJobsAbi } from "../abi-CQYNCS4F.js";
3
3
  import { createPublicClient, createWalletClient, decodeAbiParameters, encodeAbiParameters, encodeFunctionData, hexToBytes, http, keccak256, parseAbi, parseAbiParameters, parseEventLogs, recoverMessageAddress, stringToHex } from "viem";
4
4
  import { privateKeyToAccount } from "viem/accounts";
package/dist/index.js CHANGED
@@ -1,11 +1,11 @@
1
- import { A as deriveAgentResultOutcome, C as normalizeRuntimeBackendConfig, F as ALL_BACKEND_TYPES, I as backendTypeSchema, L as isolationPrincipalSchema, M as projectAgentTerminalRecord, N as TERMINAL_WS_ECHO_SUBPROTOCOL, i as terminalUpgradeHeadersSupported, j as deriveAgentRunOutcome, k as createAgentRunOutcomeTracker, n as InteractiveSessionController, r as TerminalStream, t as BrowserInteractiveSessionController, w as requestedPublicProfileDigest, z as parseBackendType } from "./interactive-controller-D7Bl4YMv.js";
1
+ import { A as deriveAgentResultOutcome, C as normalizeRuntimeBackendConfig, F as ALL_BACKEND_TYPES, I as backendTypeSchema, L as isolationPrincipalSchema, M as projectAgentTerminalRecord, N as TERMINAL_WS_ECHO_SUBPROTOCOL, i as terminalUpgradeHeadersSupported, j as deriveAgentRunOutcome, k as createAgentRunOutcomeTracker, n as InteractiveSessionController, r as TerminalStream, t as BrowserInteractiveSessionController, w as requestedPublicProfileDigest, z as parseBackendType } from "./interactive-controller-BZ5vHYic.js";
2
2
  import { a as SANDBOX_SIZE_PRESET_NAMES, r as agentProfileSchema, t as agentProfileConfidentialSchema } from "./profile-schema-BHeC7cOf.js";
3
- import { A as isMaterializerHarness, C as materializeProfileFileMounts, D as HARNESS_LAUNCH_MATERIALIZE_OPTIONS, E as validateDeferredProfileFileMounts, M as SandboxOperation, N as SandboxOperationFailedError, O as ProfileUnsupportedError, S as ManagedProcessClient, T as splitInlineProfileSkills, _ 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, j as materializeProfile, k as enforceWorkspacePlanSupport, l as SandboxTaskSession, m as createInteractiveTerminalCapture, o as exportTraceBundle, p as InteractiveTerminalFrameLog, r as WorkspaceImages, rt as runtimeWorkspaceCwdSchema, s as otelTraceIdForTangleTrace, t as SandboxInstance, u as SandboxSession, v as collectAgentResponseText, w as splitInlineProfileFileMounts, y as getSandboxEventText } from "./sandbox-BvnS0HQX.js";
4
- 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-CtNME7wR.js";
3
+ import { A as isMaterializerHarness, C as materializeProfileFileMounts, D as HARNESS_LAUNCH_MATERIALIZE_OPTIONS, E as validateDeferredProfileFileMounts, M as SandboxOperation, N as SandboxOperationFailedError, O as ProfileUnsupportedError, S as ManagedProcessClient, T as splitInlineProfileSkills, _ 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, j as materializeProfile, k as enforceWorkspacePlanSupport, l as SandboxTaskSession, m as createInteractiveTerminalCapture, o as exportTraceBundle, p as InteractiveTerminalFrameLog, r as WorkspaceImages, rt as runtimeWorkspaceCwdSchema, s as otelTraceIdForTangleTrace, t as SandboxInstance, u as SandboxSession, v as collectAgentResponseText, w as splitInlineProfileFileMounts, y as getSandboxEventText } from "./sandbox-D8cr7ke7.js";
4
+ 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-9vOuUDW-.js";
5
5
  import { C as SandboxError, D as TimeoutError, E as StreamInterruptedError, O as ValidationError, S as ResumeEnvRequiredError, T as StateError, _ as NetworkError, b as ProfileFileMountPathError, c as AuthError, d as CompliancePlacementError, f as EdgeNotReadyError, g as KeyBudgetExhaustedError, h as GpuProviderNotConfiguredError, l as BranchFanoutExceedsHostError, m as FileWriteConflictError, o as responseMetadata, p as EgressProxyRecoveryError, r as parseErrorResponse, t as TerminalStreamError, u as CapabilityError, v as NotFoundError, w as ServerError, x as QuotaError, y as PartialFailureError } from "./errors-2ZgDNA5b.js";
6
- import { _ as validateBatchRunRequest, a as InstancesClient, c as backendRegistryCapabilitiesSchema, d as backendRegistryResponseSchema, f as isBackendRegistryInteractionKind, g as createBatchResultAccumulator, h as IntelligenceClient, i as InstanceRestartingError, l as backendRegistryEntrySchema, m as parseBackendRegistryResponseBody, n as RunsClient, o as SandboxFleetClient, p as parseBackendRegistryResponse, r as HostedInstance, s as SandboxFleet, t as Sandbox, u as backendRegistryInteractionKindSchema } from "./client-CS96l6eX.js";
7
- import { i as fetchSandboxApi, n as SDK_TIMEOUTS } from "./api-request-CxNJhlco.js";
8
- import { a as CollaborationClient, i as parseCollaborationDocumentId, n as buildCollaborationDocumentId, r as normalizeCollaborationPath, t as CollaborationFileBridge } from "./collaboration-DKJQdf0K.js";
6
+ import { _ as validateBatchRunRequest, a as InstancesClient, c as backendRegistryCapabilitiesSchema, d as backendRegistryResponseSchema, f as isBackendRegistryInteractionKind, g as createBatchResultAccumulator, h as IntelligenceClient, i as InstanceRestartingError, l as backendRegistryEntrySchema, m as parseBackendRegistryResponseBody, n as RunsClient, o as SandboxFleetClient, p as parseBackendRegistryResponse, r as HostedInstance, s as SandboxFleet, t as Sandbox, u as backendRegistryInteractionKindSchema } from "./client-3neRIaT-.js";
7
+ import { i as fetchSandboxApi, n as SDK_TIMEOUTS } from "./api-request-2oQS9vvO.js";
8
+ import { a as CollaborationClient, i as parseCollaborationDocumentId, n as buildCollaborationDocumentId, r as normalizeCollaborationPath, t as CollaborationFileBridge } from "./collaboration-C-ttLgOC.js";
9
9
  import "./file-transfer-CnCWFYua.js";
10
10
  import { t as parseSSEStream } from "./sse-parser-DTgSRcZC.js";
11
11
  import { i as profileChannelReference, n as SandboxLines, r as lineInstanceKey, t as LinesClient } from "./lines-D2yZ9mwp.js";
@@ -13,7 +13,7 @@ import { t as downloadFile } from "./file-download-sBHLZEs3.js";
13
13
  import { PublicTemplatePublishError, PublicTemplatesClient } from "./public-templates.js";
14
14
  import { a as parseLineApplicationResult, i as parseLineApplicationRequest, n as LINE_APPLICATION_REPLY_MAX_CHARS, o as sandboxFailureKind, r as LINE_APPLICATION_REQUEST_MAX_BYTES, t as ISOLATED_CREATION_ATTESTATION_VERSION } from "./core-BWiEs9yv.js";
15
15
  import { a as createSelectSeat, i as SeatSelectionError, o as gatewaySeatTransport } from "./select-seat-C6LR_vFp.js";
16
- import { s as BlueprintSandboxClient } from "./tangle-Xg05_M0L.js";
16
+ import { s as BlueprintSandboxClient } from "./tangle-CxhnZE55.js";
17
17
  import { z } from "zod";
18
18
  //#region ../../../packages/runtime-contracts/dist/model-key-proxy.js
19
19
  const MANAGED_MODEL_KEY_SENTINEL = "proxy-managed-per-request";
@@ -1,5 +1,5 @@
1
1
  import { D as TimeoutError, _ as NetworkError, r as parseErrorResponse, u as CapabilityError } from "../errors-2ZgDNA5b.js";
2
- import { i as fetchSandboxApi } from "../api-request-CxNJhlco.js";
2
+ import { i as fetchSandboxApi } from "../api-request-2oQS9vvO.js";
3
3
  import { n as verifyDownload } from "../file-download-sBHLZEs3.js";
4
4
  import { t as rawEvidenceArchiveAttemptSchema } from "../raw-evidence-export-gCbAD5ZV.js";
5
5
  import { z } from "zod";
@@ -1,2 +1,2 @@
1
- import { n as browserInteractiveControlHolderId, s as InteractiveSessionNotRunningError, t as BrowserInteractiveSessionControlController } from "./browser-interactive-control-controller-CtNME7wR.js";
1
+ import { n as browserInteractiveControlHolderId, s as InteractiveSessionNotRunningError, t as BrowserInteractiveSessionControlController } from "./browser-interactive-control-controller-9vOuUDW-.js";
2
2
  export { BrowserInteractiveSessionControlController, InteractiveSessionNotRunningError, browserInteractiveControlHolderId };
@@ -1,9 +1,9 @@
1
1
  import { D as boundedJsonSchema, T as boundedIdentifierSchema, s as canonicalCandidateDigest } from "./harness-QlDF8rzb.js";
2
2
  import { r as agentProfileSchema } from "./profile-schema-BHeC7cOf.js";
3
- import { B as PlanContinuationSchema, D as agentInteractiveSessionControlClaimMatchesRef, P as AgentExactRunControlRefSchema, R as AgentExecutionOutcomeSchema, U as InteractionRequestSchema, c as assertInteractiveSessionRef, h as AgentInteractiveSessionAttachSchema, i as createBrowserInteractiveSessionControlTransport, o as InteractiveSessionControlController, r as browserInteractiveTerminalEndpoint, v as AgentInteractiveSessionControlClaimSchema, x as AgentInteractiveSessionRefSchema, z as DurablePlanSchema } from "./browser-interactive-control-controller-CtNME7wR.js";
3
+ import { B as PlanContinuationSchema, D as agentInteractiveSessionControlClaimMatchesRef, P as AgentExactRunControlRefSchema, R as AgentExecutionOutcomeSchema, U as InteractionRequestSchema, c as assertInteractiveSessionRef, h as AgentInteractiveSessionAttachSchema, i as createBrowserInteractiveSessionControlTransport, o as InteractiveSessionControlController, r as browserInteractiveTerminalEndpoint, v as AgentInteractiveSessionControlClaimSchema, x as AgentInteractiveSessionRefSchema, z as DurablePlanSchema } from "./browser-interactive-control-controller-9vOuUDW-.js";
4
4
  import { O as ValidationError, _ as NetworkError, i as parseResponseError, s as retryWhen, t as TerminalStreamError, u as CapabilityError, w as ServerError } from "./errors-2ZgDNA5b.js";
5
5
  import { n as combineAbortSignals, t as awaitWithAbort } from "./abort-signal-BsriwJ8L.js";
6
- import { n as SDK_TIMEOUTS } from "./api-request-CxNJhlco.js";
6
+ import { n as SDK_TIMEOUTS } from "./api-request-2oQS9vvO.js";
7
7
  import { c as uploadChunked, l as awaitSdkResend } from "./chunked-upload-D6ItpYdr.js";
8
8
  import { a as resolveTraceId, i as mintTraceId, n as isTraceId, s as traceHeaders, t as TRACE_ID_HEADER, u as isCloudflareWorker } from "./trace-id-CHspVBdc.js";
9
9
  import { t as parseSSEStream } from "./sse-parser-DTgSRcZC.js";
@@ -1,4 +1,4 @@
1
- import "./api-request-CxNJhlco.js";
1
+ import "./api-request-2oQS9vvO.js";
2
2
  import { u as SANDBOX_FILE_API_ABSOLUTE_ROOTS } from "./file-transfer-CnCWFYua.js";
3
3
  import { a as listAgentPreviews, i as getAgentPreview, o as publishAgentPreview, r as ensureAgentPreview, s as removeAgentPreview, t as AgentPreviewError } from "./preview-operations-DYH3y0cn.js";
4
4
  //#region \0rolldown/runtime.js
@@ -396,7 +396,7 @@ async function createMcpServer(box, options = {}) {
396
396
  const { bindings, handlers } = bindToolSpecs(box, options);
397
397
  const server = new serverModule.Server({
398
398
  name: options.name ?? "tangle-sandbox",
399
- version: options.version ?? "1.0.548"
399
+ version: options.version ?? "1.0.549"
400
400
  }, { capabilities: { tools: {} } });
401
401
  server.setRequestHandler(typesModule.ListToolsRequestSchema, async () => ({ tools: bindings.map(({ spec: s }) => ({
402
402
  name: s.name,
package/dist/runtime.js CHANGED
@@ -1,7 +1,7 @@
1
- import { A as deriveAgentResultOutcome, M as projectAgentTerminalRecord, c as SandboxRuntimeApi, j as deriveAgentRunOutcome, k as createAgentRunOutcomeTracker, t as BrowserInteractiveSessionController } from "./interactive-controller-D7Bl4YMv.js";
2
- import { n as browserInteractiveControlHolderId, s as InteractiveSessionNotRunningError } from "./browser-interactive-control-controller-CtNME7wR.js";
1
+ import { A as deriveAgentResultOutcome, M as projectAgentTerminalRecord, c as SandboxRuntimeApi, j as deriveAgentRunOutcome, k as createAgentRunOutcomeTracker, t as BrowserInteractiveSessionController } from "./interactive-controller-BZ5vHYic.js";
2
+ import { n as browserInteractiveControlHolderId, s as InteractiveSessionNotRunningError } from "./browser-interactive-control-controller-9vOuUDW-.js";
3
3
  import { C as SandboxError, D as TimeoutError, O as ValidationError, T as StateError, _ as NetworkError, b as ProfileFileMountPathError, c as AuthError, m as FileWriteConflictError, u as CapabilityError, v as NotFoundError, w as ServerError, x as QuotaError, y as PartialFailureError } from "./errors-2ZgDNA5b.js";
4
- import { i as fetchSandboxApi, n as SDK_TIMEOUTS } from "./api-request-CxNJhlco.js";
4
+ import { i as fetchSandboxApi, n as SDK_TIMEOUTS } from "./api-request-2oQS9vvO.js";
5
5
  import { c as uploadChunked } from "./chunked-upload-D6ItpYdr.js";
6
6
  //#region src/runtime-client.ts
7
7
  function requireToken(token) {
@@ -1,14 +1,14 @@
1
- import { A as deriveAgentResultOutcome, C as normalizeRuntimeBackendConfig, O as withoutRuntimeSecrets, P as AgentRuntimeAttachmentsSchema, R as normalizeEffectiveBackend, S as mergeRuntimeBackendConfig, T as requestedSecretProfilePublicDigest, _ as encodePromptForWire, a as assertScopedTokenActive, b as applyRequestedModel, c as SandboxRuntimeApi, d as appendSessionIdQuery, f as callHeaders, g as validateAcceptedDispatchRunRef, h as resolveDispatchRunIdentity, i as terminalUpgradeHeadersSupported, k as createAgentRunOutcomeTracker, l as normalizeSessionInfo, m as assertFileWritePreconditions, n as InteractiveSessionController, p as sessionHeaders, r as TerminalStream, s as requestScopedToken, u as sessionMessageRequestBody, v as encodeTextForWire, w as requestedPublicProfileDigest, x as assertCurrentBackendType, y as runtimeFilesystemPath } from "./interactive-controller-D7Bl4YMv.js";
1
+ import { A as deriveAgentResultOutcome, C as normalizeRuntimeBackendConfig, O as withoutRuntimeSecrets, P as AgentRuntimeAttachmentsSchema, R as normalizeEffectiveBackend, S as mergeRuntimeBackendConfig, T as requestedSecretProfilePublicDigest, _ as encodePromptForWire, a as assertScopedTokenActive, b as applyRequestedModel, c as SandboxRuntimeApi, d as appendSessionIdQuery, f as callHeaders, g as validateAcceptedDispatchRunRef, h as resolveDispatchRunIdentity, i as terminalUpgradeHeadersSupported, k as createAgentRunOutcomeTracker, l as normalizeSessionInfo, m as assertFileWritePreconditions, n as InteractiveSessionController, p as sessionHeaders, r as TerminalStream, s as requestScopedToken, u as sessionMessageRequestBody, v as encodeTextForWire, w as requestedPublicProfileDigest, x as assertCurrentBackendType, y as runtimeFilesystemPath } from "./interactive-controller-BZ5vHYic.js";
2
2
  import { O as boundedStringSchema, T as boundedIdentifierSchema, c as canonicalCandidateJson, s as canonicalCandidateDigest, v as sha256DigestSchema } from "./harness-QlDF8rzb.js";
3
3
  import { o as ProxySecretReceiptSchema, r as agentProfileSchema } from "./profile-schema-BHeC7cOf.js";
4
- import { A as agentInteractiveSessionStatusMatchesRef, B as PlanContinuationSchema, C as AgentInteractiveSessionStopAcknowledgementSchema, D as agentInteractiveSessionControlClaimMatchesRef, E as agentInteractiveSessionControlClaimIsNewer, F as AgentRunCancellationAcknowledgementSchema, G as InteractionResponseSchema, H as InteractionBindingSchema, I as AgentRunCancellationRequestSchema, L as agentRunCancellationAcknowledgementMatchesRequest, M as agentInteractiveDimensionSchema, N as sameAgentExactRun, O as agentInteractiveSessionPromptAcknowledgementMatchesCommand, P as AgentExactRunControlRefSchema, S as AgentInteractiveSessionStatusSchema, T as agentInteractiveSessionControlClaimAcknowledgementMatchesRequest, U as InteractionRequestSchema, V as InteractionAcknowledgementSchema, W as InteractionResponseCommandSchema, _ as AgentInteractiveSessionControlClaimRequestSchema, b as AgentInteractiveSessionPromptCommandSchema, d as interactiveSessionControlClaimResponseSchema, f as interactiveSessionControlReleaseResponseSchema, g as AgentInteractiveSessionControlClaimAcknowledgementSchema, h as AgentInteractiveSessionAttachSchema, j as agentInteractiveSessionStopAcknowledgementMatchesCommand, l as createInteractiveControlHolderId, m as interactiveSessionStatusResponseSchema, p as interactiveSessionControlValidationResponseSchema, v as AgentInteractiveSessionControlClaimSchema, w as AgentInteractiveSessionStopCommandSchema, x as AgentInteractiveSessionRefSchema, y as AgentInteractiveSessionPromptAcknowledgementSchema } from "./browser-interactive-control-controller-CtNME7wR.js";
4
+ import { A as agentInteractiveSessionStatusMatchesRef, B as PlanContinuationSchema, C as AgentInteractiveSessionStopAcknowledgementSchema, D as agentInteractiveSessionControlClaimMatchesRef, E as agentInteractiveSessionControlClaimIsNewer, F as AgentRunCancellationAcknowledgementSchema, G as InteractionResponseSchema, H as InteractionBindingSchema, I as AgentRunCancellationRequestSchema, L as agentRunCancellationAcknowledgementMatchesRequest, M as agentInteractiveDimensionSchema, N as sameAgentExactRun, O as agentInteractiveSessionPromptAcknowledgementMatchesCommand, P as AgentExactRunControlRefSchema, S as AgentInteractiveSessionStatusSchema, T as agentInteractiveSessionControlClaimAcknowledgementMatchesRequest, U as InteractionRequestSchema, V as InteractionAcknowledgementSchema, W as InteractionResponseCommandSchema, _ as AgentInteractiveSessionControlClaimRequestSchema, b as AgentInteractiveSessionPromptCommandSchema, d as interactiveSessionControlClaimResponseSchema, f as interactiveSessionControlReleaseResponseSchema, g as AgentInteractiveSessionControlClaimAcknowledgementSchema, h as AgentInteractiveSessionAttachSchema, j as agentInteractiveSessionStopAcknowledgementMatchesCommand, l as createInteractiveControlHolderId, m as interactiveSessionStatusResponseSchema, p as interactiveSessionControlValidationResponseSchema, v as AgentInteractiveSessionControlClaimSchema, w as AgentInteractiveSessionStopCommandSchema, x as AgentInteractiveSessionRefSchema, y as AgentInteractiveSessionPromptAcknowledgementSchema } from "./browser-interactive-control-controller-9vOuUDW-.js";
5
5
  import { t as canonicalAgentProfileDigest } from "./agent-execution-preparation-B8PJuIsN.js";
6
6
  import { C as SandboxError, D as TimeoutError, E as StreamInterruptedError, O as ValidationError, T as StateError, _ as NetworkError, a as readResponseJson, b as ProfileFileMountPathError, c as AuthError, f as EdgeNotReadyError, i as parseResponseError, k as SANDBOX_CREATE_DEADLINE_HEADER, n as isTransientWrite, o as responseMetadata, r as parseErrorResponse, s as retryWhen, t as TerminalStreamError, u as CapabilityError, v as NotFoundError, w as ServerError, y as PartialFailureError } from "./errors-2ZgDNA5b.js";
7
7
  import { n as plannedRestartDeadline, r as SIDECAR_PROXY_ERROR_HEADER, t as parseSandboxRetryAfterHeader } from "./retry-after-header-DyAWSQ4m.js";
8
8
  import { n as combineAbortSignals, t as awaitWithAbort } from "./abort-signal-BsriwJ8L.js";
9
9
  import { n as childTraceparent, r as parseTraceparent, t as TRACEPARENT_HEADER } from "./lifecycle-trace-CDGgSOVP.js";
10
10
  import { a as backoffDelayMs, o as isUndelivered, r as abortableSleep } from "./retry-policy-BlkQJ7_e.js";
11
- import { a as isReplayableBody, i as fetchSandboxApi, n as SDK_TIMEOUTS, o as rewrapResponse, t as IDEMPOTENT_METHODS } from "./api-request-CxNJhlco.js";
11
+ import { a as isReplayableBody, i as fetchSandboxApi, n as SDK_TIMEOUTS, o as rewrapResponse, t as IDEMPOTENT_METHODS } from "./api-request-2oQS9vvO.js";
12
12
  import { a as SANDBOX_PROXY_REQUEST_MAX_BYTES, c as PROFILE_FILE_MOUNT_OUTSIDE_ROOTS_CODE, d as isProfileFileMountOutsideRoots, f as profileFileMountOutsideRootsMessage, l as SANDBOX_AGENT_HOME, o as FILE_OPERATION_LIMITS, t as isInsideReservedDir$1, u as SANDBOX_FILE_API_ABSOLUTE_ROOTS } from "./file-transfer-CnCWFYua.js";
13
13
  import { c as uploadChunked, l as awaitSdkResend, u as takeSdkTurn } from "./chunked-upload-D6ItpYdr.js";
14
14
  import { a as resolveTraceId, c as canUseNodeHttp2, i as mintTraceId, n as isTraceId, r as lifecycleTraceHeaders, t as TRACE_ID_HEADER } from "./trace-id-CHspVBdc.js";
@@ -3480,6 +3480,14 @@ const OPENCODE_APPEND_SYSTEM_PROMPT_FILE = ".opencode/agent-system-prompt.md";
3480
3480
  const OPENCODE_CONFIG_FILE = "opencode.json";
3481
3481
  const OPENCODE_CONFIG_SCHEMA = "https://opencode.ai/config.json";
3482
3482
  const OPENCODE_PRIMARY_AGENT_PREFIX = "tangle-profile-";
3483
+ /**
3484
+ * Kimi Code's project agent that replaces its built-in default agent `agent`
3485
+ * (`override: true`). Kimi reads project agents from the repository root, the
3486
+ * nearest directory holding `.git`, so the executor runs Kimi there.
3487
+ */
3488
+ const KIMI_PRIMARY_AGENT_FILE = ".kimi-code/agents/agent.md";
3489
+ /** Kimi renders these in an agent prompt; a prompt that holds one cannot reach the model verbatim. */
3490
+ const KIMI_PROMPT_PLACEHOLDER = /\$\{[A-Za-z_][A-Za-z0-9_]*\}/u;
3483
3491
  const CLAUDE_SETTINGS_PATH = ".tangle/claude-settings.json";
3484
3492
  /** Whether the shared materializer may place its context file in the harness agent directory. */
3485
3493
  function harnessAutoLoadsAgentContextFile(harness) {
@@ -3488,10 +3496,11 @@ function harnessAutoLoadsAgentContextFile(harness) {
3488
3496
  }
3489
3497
  /** Why a harness refuses a system-prompt REPLACEMENT, naming any control that does exist. */
3490
3498
  function systemPromptRefusal(harness) {
3491
- switch (harness) {
3492
- case "opencode": return "opencode: the only system-prompt replacement is per-agent (`agent.<name>.prompt`), which binds to the agent selected at launch and a workspace plan cannot guarantee; an executor that applies the plan's \"--agent\" flag to its own spawn declares binds: [\"systemPrompt\"], and one that composes opencode's config itself declares binds: [\"opencode.agent-prompt\"]";
3493
- default: return `${harness}: no verified exact system-prompt replacement control`;
3494
- }
3499
+ return `${harness}: no verified exact system-prompt replacement control`;
3500
+ }
3501
+ /** Why kimi-code refuses a prompt its agent-file template would rewrite. */
3502
+ function kimiPromptPlaceholderRefusal(field) {
3503
+ return `kimi-code: ${field} reaches Kimi through its agent file, where Kimi renders every \${name} placeholder, so a prompt that contains one would not reach the model unchanged`;
3495
3504
  }
3496
3505
  /**
3497
3506
  * Why a harness refuses an ADDITION to the system prompt. gemini's one
@@ -3549,7 +3558,7 @@ const MATERIALIZER_OWNED_PATHS = new Set([
3549
3558
  ...MATERIALIZER_CONTEXT_PATHS,
3550
3559
  OPENCODE_CONFIG_FILE
3551
3560
  ]);
3552
- const MATERIALIZER_SUBAGENT_PATH = /^(?:(?:\.claude|\.opencode|\.gemini)\/agents\/[a-z0-9][a-z0-9_-]*\.md|\.codex\/agents\/[a-z0-9][a-z0-9_-]*\.toml)$/u;
3561
+ const MATERIALIZER_SUBAGENT_PATH = /^(?:(?:\.claude|\.opencode|\.gemini|\.kimi-code)\/agents\/[a-z0-9][a-z0-9_-]*\.md|\.codex\/agents\/[a-z0-9][a-z0-9_-]*\.toml)$/u;
3553
3562
  /** The one provenance token every generated-file marker carries. */
3554
3563
  const MATERIALIZER_MARKER = "tangle-agent-profile-materialize: generated";
3555
3564
  const MATERIALIZER_SUBAGENT_MARKER = `# ${MATERIALIZER_MARKER}`;
@@ -4876,6 +4885,7 @@ function piMcpServer(server) {
4876
4885
  }
4877
4886
  function lowerProfilePrompt(profile, harness, binds, instructionsRoot, builder) {
4878
4887
  const { plan, add, addAtRoot, unsupported } = builder;
4888
+ const kimi = {};
4879
4889
  if (profile.prompt?.systemPrompt?.trim()) if (harness === "claude-code" || harness === "pi" || harness === "prime") plan.systemPrompt = profile.prompt.systemPrompt;
4880
4890
  else if (harness === "codex") {
4881
4891
  add(CODEX_SYSTEM_PROMPT_FILE, profile.prompt.systemPrompt);
@@ -4890,11 +4900,10 @@ function lowerProfilePrompt(profile, harness, binds, instructionsRoot, builder)
4890
4900
  control: "opencode.agent-prompt",
4891
4901
  systemPrompt
4892
4902
  };
4893
- else if (binds.has("systemPrompt")) {
4903
+ else {
4894
4904
  const primaryAgentName = `${OPENCODE_PRIMARY_AGENT_PREFIX}${sha256(systemPrompt).slice(0, 16)}`;
4895
4905
  const primaryAgentPath = `.opencode/agents/${primaryAgentName}.md`;
4896
4906
  if (profile.subagents?.[primaryAgentName] !== void 0) throw new Error(`opencode: subagent name "${primaryAgentName}" is reserved for the profile primary agent`);
4897
- plan.systemPrompt = systemPrompt;
4898
4907
  add(primaryAgentPath, markMaterializerSubagent(primaryAgentPath, [
4899
4908
  "---",
4900
4909
  "mode: primary",
@@ -4903,9 +4912,17 @@ function lowerProfilePrompt(profile, harness, binds, instructionsRoot, builder)
4903
4912
  systemPrompt,
4904
4913
  ""
4905
4914
  ].join("\n")));
4906
- plan.flags.push("--agent", primaryAgentName);
4907
- } else unsupported("systemPrompt", systemPromptRefusal(harness));
4908
- } else unsupported("systemPrompt", systemPromptRefusal(harness));
4915
+ if (binds.has("systemPrompt")) {
4916
+ plan.systemPrompt = systemPrompt;
4917
+ plan.flags.push("--agent", primaryAgentName);
4918
+ } else add(OPENCODE_CONFIG_FILE, serializeWorkspacePlanJson({
4919
+ $schema: OPENCODE_CONFIG_SCHEMA,
4920
+ default_agent: primaryAgentName
4921
+ }));
4922
+ }
4923
+ } else if (harness === "kimi-code") if (KIMI_PROMPT_PLACEHOLDER.test(profile.prompt.systemPrompt)) unsupported("systemPrompt", kimiPromptPlaceholderRefusal("systemPrompt"));
4924
+ else kimi.systemPrompt = profile.prompt.systemPrompt;
4925
+ else unsupported("systemPrompt", systemPromptRefusal(harness));
4909
4926
  const openCodeInstructionFiles = [];
4910
4927
  const openCodeConfigUnreachable = harness === "opencode" && binds.has("opencode.agent-prompt");
4911
4928
  if (profile.prompt?.appendSystemPrompt !== void 0) {
@@ -4916,8 +4933,11 @@ function lowerProfilePrompt(profile, harness, binds, instructionsRoot, builder)
4916
4933
  add(OPENCODE_APPEND_SYSTEM_PROMPT_FILE, appendSystemPrompt.endsWith("\n") ? appendSystemPrompt : `${appendSystemPrompt}\n`);
4917
4934
  openCodeInstructionFiles.push(OPENCODE_APPEND_SYSTEM_PROMPT_FILE);
4918
4935
  } else if (harness === "claude-code" || harness === "pi" || harness === "prime") plan.appendSystemPrompt = appendSystemPrompt;
4936
+ else if (harness === "kimi-code") if (KIMI_PROMPT_PLACEHOLDER.test(appendSystemPrompt)) unsupported("appendSystemPrompt", kimiPromptPlaceholderRefusal("appendSystemPrompt"));
4937
+ else kimi.appendSystemPrompt = appendSystemPrompt;
4919
4938
  else unsupported("appendSystemPrompt", appendSystemPromptRefusal(harness));
4920
4939
  }
4940
+ if (kimi.systemPrompt !== void 0 || kimi.appendSystemPrompt !== void 0) add(KIMI_PRIMARY_AGENT_FILE, markMaterializerSubagent(KIMI_PRIMARY_AGENT_FILE, kimiPrimaryAgent(profile.description, kimi)));
4921
4941
  const instructions = [...profile.prompt?.instructions ?? []];
4922
4942
  const resourceInstructions = profile.resources?.instructions;
4923
4943
  if (typeof resourceInstructions === "string") instructions.push(resourceInstructions);
@@ -4935,6 +4955,31 @@ function lowerProfilePrompt(profile, harness, binds, instructionsRoot, builder)
4935
4955
  instructions: openCodeInstructionFiles
4936
4956
  }));
4937
4957
  }
4958
+ const KIMI_BASE_PROMPT = "${base_prompt}";
4959
+ const KIMI_AGENTS_SECTION = "${agents_section}";
4960
+ /**
4961
+ * Kimi Code's project agent `agent`, which replaces its built-in default agent.
4962
+ * The body is Kimi's own template: `${base_prompt}` keeps Kimi's prompt for an
4963
+ * addition, and a replacement ends with `${agents_section}` so the project's
4964
+ * AGENTS.md (where `prompt.instructions` lands) still reaches the model, as the
4965
+ * other harnesses keep their context file beside a replaced prompt.
4966
+ */
4967
+ function kimiPrimaryAgent(description, prompt) {
4968
+ const body = prompt.systemPrompt === void 0 ? [KIMI_BASE_PROMPT, prompt.appendSystemPrompt] : [
4969
+ prompt.systemPrompt,
4970
+ prompt.appendSystemPrompt,
4971
+ KIMI_AGENTS_SECTION
4972
+ ];
4973
+ return [
4974
+ "---",
4975
+ "name: agent",
4976
+ `description: ${JSON.stringify(description?.trim() || "Tangle agent profile")}`,
4977
+ "override: true",
4978
+ "---",
4979
+ body.filter((part) => part !== void 0).join("\n\n"),
4980
+ ""
4981
+ ].join("\n");
4982
+ }
4938
4983
  function activeMcpServers(servers) {
4939
4984
  return Object.fromEntries(Object.entries(servers ?? {}).filter((entry) => entry[1].enabled !== false));
4940
4985
  }
@@ -1,6 +1,6 @@
1
1
  import "../retry-after-header-DyAWSQ4m.js";
2
2
  import { n as combineAbortSignals } from "../abort-signal-BsriwJ8L.js";
3
- import { i as fetchSandboxApi } from "../api-request-CxNJhlco.js";
3
+ import { i as fetchSandboxApi } from "../api-request-2oQS9vvO.js";
4
4
  import { t as parseSSEStream } from "../sse-parser-DTgSRcZC.js";
5
5
  import { PART_TEXT, PART_TEXT_SUFFIX } from "@tangle-network/agent-core/sse";
6
6
  //#region ../../../packages/runtime-contracts/dist/session-gateway.js
@@ -1,3 +1,3 @@
1
- import { _ as SandboxCreateResponseParamTypes, a as parseQuoteResponse, c as OperatorSession, d as TANGLE_JOBS_CONTRACT, f as AgentSandboxBlueprintAbi, g as SandboxCreateParamTypes, h as JsonResponseParamTypes, i as jobQuoteDigest, l as OperatorSessionError, m as JOB_SANDBOX_DELETE, n as fetchQuote, o as validateQuote, p as JOB_SANDBOX_CREATE, r as inputsHashOf, s as BlueprintSandboxClient, t as QuoteError, u as TANGLE_CHAIN_ID, v as SandboxIdParamTypes } from "../tangle-Xg05_M0L.js";
1
+ import { _ as SandboxCreateResponseParamTypes, a as parseQuoteResponse, c as OperatorSession, d as TANGLE_JOBS_CONTRACT, f as AgentSandboxBlueprintAbi, g as SandboxCreateParamTypes, h as JsonResponseParamTypes, i as jobQuoteDigest, l as OperatorSessionError, m as JOB_SANDBOX_DELETE, n as fetchQuote, o as validateQuote, p as JOB_SANDBOX_CREATE, r as inputsHashOf, s as BlueprintSandboxClient, t as QuoteError, u as TANGLE_CHAIN_ID, v as SandboxIdParamTypes } from "../tangle-CxhnZE55.js";
2
2
  import { t as ITangleJobsAbi } from "../abi-CQYNCS4F.js";
3
3
  export { AgentSandboxBlueprintAbi, BlueprintSandboxClient, ITangleJobsAbi, JOB_SANDBOX_CREATE, JOB_SANDBOX_DELETE, JsonResponseParamTypes, OperatorSession, OperatorSessionError, QuoteError, SandboxCreateParamTypes, SandboxCreateResponseParamTypes, SandboxIdParamTypes, TANGLE_CHAIN_ID, TANGLE_JOBS_CONTRACT, fetchQuote, inputsHashOf, jobQuoteDigest, parseQuoteResponse, validateQuote };
@@ -1,6 +1,6 @@
1
- import { R as readFilesystemIncarnationTuple, n as createSandboxInstanceFromResponse } from "./sandbox-BvnS0HQX.js";
1
+ import { R as readFilesystemIncarnationTuple, n as createSandboxInstanceFromResponse } from "./sandbox-D8cr7ke7.js";
2
2
  import { a as readResponseJson } from "./errors-2ZgDNA5b.js";
3
- import { i as fetchSandboxApi } from "./api-request-CxNJhlco.js";
3
+ import { i as fetchSandboxApi } from "./api-request-2oQS9vvO.js";
4
4
  import { t as ITangleJobsAbi } from "./abi-CQYNCS4F.js";
5
5
  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-fYi8g-M-.js";
6
6
  //#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.548",
3
+ "version": "1.0.549",
4
4
  "description": "TypeScript SDK for Tangle Sandbox: create cloud sandboxes and run commands and coding agents in them",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -163,8 +163,8 @@
163
163
  "@tangle-network/runtime-contracts": "0.20.0"
164
164
  },
165
165
  "tangleRelease": {
166
- "sourceSha": "c328b75899b848c21c419890dbaab7689f73a9e2",
167
- "mergedAt": "2026-11-22T20:53:51-08:00"
166
+ "sourceSha": "896b14595b6d94478a52f1973d12b21a2de3346c",
167
+ "mergedAt": "2026-11-22T21:05:09-08:00"
168
168
  },
169
169
  "scripts": {
170
170
  "build": "node scripts/build-dist.mjs --verify",