@tangle-network/sandbox 1.0.428 → 1.0.430

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.
Files changed (54) hide show
  1. package/dist/agent/index.d.ts +4 -4
  2. package/dist/agent/index.js +4 -4
  3. package/dist/agent/preview.d.ts +1 -1
  4. package/dist/agent/preview.js +2 -2
  5. package/dist/{agent-execution-preparation-CemN5Bl6.js → agent-execution-preparation-C2KLuq0G.js} +3 -3
  6. package/dist/{agent-execution-preparation-receipt-ClBOzgJ_.js → agent-execution-preparation-receipt-NvWi9tgX.js} +5 -4
  7. package/dist/{agent-run-outcome-DVcPF3iI.d.ts → agent-run-outcome-5N0YL9gq.d.ts} +2 -2
  8. package/dist/{api-request-DOebNJob.js → api-request-BhrZXtlN.js} +1 -1
  9. package/dist/auth/index.d.ts +1 -1
  10. package/dist/auth/index.js +2 -2
  11. package/dist/{browser-interactive-control-controller-BQRJCwkf.js → browser-interactive-control-controller-Bd7Qibjw.js} +14 -14
  12. package/dist/{browser-interactive-control-controller-CHnMRFRF.d.ts → browser-interactive-control-controller-knQXEt0T.d.ts} +2 -2
  13. package/dist/cli-auth-bundle-COXkowvX.js +2 -0
  14. package/dist/{cli-auth-bundle-DuY2E2FD-7ByGEdOv.js → cli-auth-bundle-DuY2E2FD-BdPoU6zT.js} +1 -1
  15. package/dist/{cli-auth-bundle-CaNRN3Nc.d.ts → cli-auth-bundle-a7NYzsfF.d.ts} +1 -1
  16. package/dist/{client-D9zhB8iq.js → client-BfJB-wCA.js} +7 -7
  17. package/dist/{client-hdyzJ8_a.d.ts → client-DB31ZakX.d.ts} +66 -26
  18. package/dist/collaboration/index.js +1 -1
  19. package/dist/{collaboration-D6t6vm1t.js → collaboration-C50Mn6vW.js} +1 -1
  20. package/dist/core.d.ts +6 -6
  21. package/dist/core.js +3 -3
  22. package/dist/gpu-lease/index.js +1 -1
  23. package/dist/{harness-Dq3XGyYd.js → harness-4D0kk6wY.js} +42 -18
  24. package/dist/{index-B4OJkmmC.d.ts → index--9j_Jlf_.d.ts} +38 -21
  25. package/dist/{index-DzGflA-b.d.ts → index-CwOVRwDi.d.ts} +7 -7
  26. package/dist/index.d.ts +10 -10
  27. package/dist/index.js +9 -9
  28. package/dist/intelligence/index.js +1 -1
  29. package/dist/interactive-control.d.ts +1 -1
  30. package/dist/interactive-control.js +1 -1
  31. package/dist/{interactive-controller-Ch4SLGeF.d.ts → interactive-controller-TSVwnPWf.d.ts} +4 -4
  32. package/dist/{interactive-controller-xKtZqua3.js → interactive-controller-ZpuKn02o.js} +5 -5
  33. package/dist/{lines-mOLUGPYs.d.ts → lines-BqMphgT2.d.ts} +1 -1
  34. package/dist/lines.d.ts +1 -1
  35. package/dist/{local-cli-auth-TXcQXucY.js → local-cli-auth-B88ar8lp.js} +1 -1
  36. package/dist/{mcp-local-BrQix1EQ.js → mcp-local-mrJnYZT9.js} +2 -2
  37. package/dist/{preview-2zd6OZfJ.d.ts → preview-DSOT0YUz.d.ts} +3 -3
  38. package/dist/{profile-schema-BuXg-MCu.js → profile-schema-B48XymtK.js} +19 -11
  39. package/dist/{public-templates-Bw4PJ99r.d.ts → public-templates-D8v4H_3F.d.ts} +2 -2
  40. package/dist/public-templates.d.ts +1 -1
  41. package/dist/runtime.d.ts +5 -5
  42. package/dist/runtime.js +3 -3
  43. package/dist/{sandbox-B-QXo3LK.js → sandbox-DvExS9Yl.js} +11 -11
  44. package/dist/{select-seat-BbTGujaf.js → select-seat-Yn1FgzO8.js} +4 -4
  45. package/dist/select-seat-command.d.ts +2 -2
  46. package/dist/select-seat-command.js +1 -1
  47. package/dist/session-gateway/index.js +1 -1
  48. package/dist/tangle/index.d.ts +1 -1
  49. package/dist/tangle/index.js +1 -1
  50. package/dist/{tangle-BVrbZlD3.js → tangle-sCfc9nS1.js} +2 -2
  51. package/dist/{terminal-stream-types-iOZjIxLK.d.ts → terminal-stream-types-cEwFyagj.d.ts} +1 -1
  52. package/dist/{types-BYIgnmzV.d.ts → types-CqGEzcla.d.ts} +6 -6
  53. package/package.json +5 -5
  54. package/dist/cli-auth-bundle-Vc_wO6gp.js +0 -2
package/dist/index.js CHANGED
@@ -1,19 +1,19 @@
1
- import { A as requestedPublicProfileDigest, F as createAgentRunOutcomeTracker, G as parseBackendType, H as backendTypeSchema, I as deriveAgentResultOutcome, L as deriveAgentRunOutcome, R as projectAgentTerminalRecord, U as isolationPrincipalSchema, V as ALL_BACKEND_TYPES, i as terminalUpgradeHeadersSupported, k as normalizeRuntimeBackendConfig, n as InteractiveSessionController, r as TerminalStream, t as BrowserInteractiveSessionController, z as TERMINAL_WS_ECHO_SUBPROTOCOL } from "./interactive-controller-xKtZqua3.js";
2
- import { i as SANDBOX_SIZE_PRESET_NAMES, r as agentProfileSchema, t as agentProfileConfidentialSchema } from "./profile-schema-BuXg-MCu.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, s as otelTraceIdForTangleTrace, t as SandboxInstance, tt as runtimeWorkspaceCwdSchema, u as SandboxSession, v as collectAgentResponseText, w as splitInlineProfileFileMounts, y as getSandboxEventText } from "./sandbox-B-QXo3LK.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-BQRJCwkf.js";
1
+ import { A as requestedPublicProfileDigest, F as createAgentRunOutcomeTracker, G as parseBackendType, H as backendTypeSchema, I as deriveAgentResultOutcome, L as deriveAgentRunOutcome, R as projectAgentTerminalRecord, U as isolationPrincipalSchema, V as ALL_BACKEND_TYPES, i as terminalUpgradeHeadersSupported, k as normalizeRuntimeBackendConfig, n as InteractiveSessionController, r as TerminalStream, t as BrowserInteractiveSessionController, z as TERMINAL_WS_ECHO_SUBPROTOCOL } from "./interactive-controller-ZpuKn02o.js";
2
+ import { i as SANDBOX_SIZE_PRESET_NAMES, r as agentProfileSchema, t as agentProfileConfidentialSchema } from "./profile-schema-B48XymtK.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, s as otelTraceIdForTangleTrace, t as SandboxInstance, tt as runtimeWorkspaceCwdSchema, u as SandboxSession, v as collectAgentResponseText, w as splitInlineProfileFileMounts, y as getSandboxEventText } from "./sandbox-DvExS9Yl.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-Bd7Qibjw.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-DNmfKxwE.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-D9zhB8iq.js";
7
- import { i as fetchSandboxApi, n as SDK_TIMEOUTS } from "./api-request-DOebNJob.js";
8
- import { a as CollaborationClient, i as parseCollaborationDocumentId, n as buildCollaborationDocumentId, r as normalizeCollaborationPath, t as CollaborationFileBridge } from "./collaboration-D6t6vm1t.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-BfJB-wCA.js";
7
+ import { i as fetchSandboxApi, n as SDK_TIMEOUTS } from "./api-request-BhrZXtlN.js";
8
+ import { a as CollaborationClient, i as parseCollaborationDocumentId, n as buildCollaborationDocumentId, r as normalizeCollaborationPath, t as CollaborationFileBridge } from "./collaboration-C50Mn6vW.js";
9
9
  import "./file-transfer-DOSTbUSR.js";
10
10
  import { t as parseSSEStream } from "./sse-parser-BCG3iL9j.js";
11
11
  import { i as profileChannelReference, n as SandboxLines, r as lineInstanceKey, t as LinesClient } from "./lines-DjZMcB7V.js";
12
12
  import { t as downloadFile } from "./file-download-I463VYUJ.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-CBWUEURz.js";
15
- import { a as createSelectSeat, i as SeatSelectionError, o as gatewaySeatTransport } from "./select-seat-BbTGujaf.js";
16
- import { s as BlueprintSandboxClient } from "./tangle-BVrbZlD3.js";
15
+ import { a as createSelectSeat, i as SeatSelectionError, o as gatewaySeatTransport } from "./select-seat-Yn1FgzO8.js";
16
+ import { s as BlueprintSandboxClient } from "./tangle-sCfc9nS1.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-DNmfKxwE.js";
2
- import { i as fetchSandboxApi } from "../api-request-DOebNJob.js";
2
+ import { i as fetchSandboxApi } from "../api-request-BhrZXtlN.js";
3
3
  import { n as verifyDownload } from "../file-download-I463VYUJ.js";
4
4
  import { t as rawEvidenceArchiveAttemptSchema } from "../raw-evidence-export-Dog7W5zP.js";
5
5
  import { z } from "zod";
@@ -1,2 +1,2 @@
1
- import { c as InteractiveSessionIdentity, l as InteractiveSessionNotRunningError, n as BrowserInteractiveSessionControlControllerOptions, r as browserInteractiveControlHolderId, t as BrowserInteractiveSessionControlController } from "./browser-interactive-control-controller-CHnMRFRF.js";
1
+ import { c as InteractiveSessionIdentity, l as InteractiveSessionNotRunningError, n as BrowserInteractiveSessionControlControllerOptions, r as browserInteractiveControlHolderId, t as BrowserInteractiveSessionControlController } from "./browser-interactive-control-controller-knQXEt0T.js";
2
2
  export { BrowserInteractiveSessionControlController, type BrowserInteractiveSessionControlControllerOptions, type InteractiveSessionIdentity, InteractiveSessionNotRunningError, browserInteractiveControlHolderId };
@@ -1,2 +1,2 @@
1
- import { n as browserInteractiveControlHolderId, s as InteractiveSessionNotRunningError, t as BrowserInteractiveSessionControlController } from "./browser-interactive-control-controller-BQRJCwkf.js";
1
+ import { n as browserInteractiveControlHolderId, s as InteractiveSessionNotRunningError, t as BrowserInteractiveSessionControlController } from "./browser-interactive-control-controller-Bd7Qibjw.js";
2
2
  export { BrowserInteractiveSessionControlController, InteractiveSessionNotRunningError, browserInteractiveControlHolderId };
@@ -1,7 +1,7 @@
1
- import { o as TerminalStreamReconnectAuthority, u as ScopedToken } from "./terminal-stream-types-iOZjIxLK.js";
2
- import { u as AgentInteractiveSessionRef } from "./index-B4OJkmmC.js";
3
- import { en as TerminalStream } from "./types-BYIgnmzV.js";
4
- import { a as InteractiveSessionControlController, c as InteractiveSessionIdentity, f as InteractiveAttachOptions, g as InteractiveRequestOptions, n as BrowserInteractiveSessionControlControllerOptions, o as InteractiveSessionControlControllerOptions, s as InteractiveSessionControlTransport } from "./browser-interactive-control-controller-CHnMRFRF.js";
1
+ import { o as TerminalStreamReconnectAuthority, u as ScopedToken } from "./terminal-stream-types-cEwFyagj.js";
2
+ import { u as AgentInteractiveSessionRef } from "./index--9j_Jlf_.js";
3
+ import { en as TerminalStream } from "./types-CqGEzcla.js";
4
+ import { a as InteractiveSessionControlController, c as InteractiveSessionIdentity, f as InteractiveAttachOptions, g as InteractiveRequestOptions, n as BrowserInteractiveSessionControlControllerOptions, o as InteractiveSessionControlControllerOptions, s as InteractiveSessionControlTransport } from "./browser-interactive-control-controller-knQXEt0T.js";
5
5
 
6
6
  //#region src/interactive-controller.d.ts
7
7
  /** The request fields supplied by an attach caller before control is claimed. */
@@ -1,9 +1,9 @@
1
- import { C as boundedIdentifierSchema, T as boundedJsonSchema, o as canonicalCandidateDigest } from "./harness-Dq3XGyYd.js";
2
- import { r as agentProfileSchema } from "./profile-schema-BuXg-MCu.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-BQRJCwkf.js";
1
+ import { E as boundedJsonSchema, o as canonicalCandidateDigest, w as boundedIdentifierSchema } from "./harness-4D0kk6wY.js";
2
+ import { r as agentProfileSchema } from "./profile-schema-B48XymtK.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-Bd7Qibjw.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-DNmfKxwE.js";
5
5
  import { n as combineAbortSignals, t as awaitWithAbort } from "./abort-signal-BsriwJ8L.js";
6
- import { n as SDK_TIMEOUTS } from "./api-request-DOebNJob.js";
6
+ import { n as SDK_TIMEOUTS } from "./api-request-BhrZXtlN.js";
7
7
  import { c as uploadChunked, l as awaitSdkResend } from "./chunked-upload-DuXDFxxJ.js";
8
8
  import { t as parseSSEStream } from "./sse-parser-BCG3iL9j.js";
9
9
  import { z } from "zod";
@@ -89,7 +89,7 @@ function normalizeEffectiveBackend(value) {
89
89
  };
90
90
  }
91
91
  //#endregion
92
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.23/node_modules/@tangle-network/agent-interface/dist/runtime-attachments.js
92
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/runtime-attachments.js
93
93
  const AgentRuntimeAttachmentsSchema = boundedJsonSchema.pipe(z.strictObject({ mcp: agentProfileSchema.shape.mcp.unwrap().superRefine((servers, context) => {
94
94
  for (const alias of Object.keys(servers)) {
95
95
  const result = boundedIdentifierSchema.safeParse(alias);
@@ -1,4 +1,4 @@
1
- import { ha as BackendConfig, nn as CreateSandboxOptions } from "./types-BYIgnmzV.js";
1
+ import { ha as BackendConfig, nn as CreateSandboxOptions } from "./types-CqGEzcla.js";
2
2
 
3
3
  //#region src/line-application.d.ts
4
4
  /** Bounded callback request bytes after canonicalization, including JSON framing. */
package/dist/lines.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { A as LineRespondAgent, B as LineVoiceOptions, C as LineMessage, D as LineReplyCode, E as LineReminderPreferences, F as LineSenderVerification, I as LineSenderVerificationStart, L as LineThread, M as LineRole, N as LineSendInput, O as LineReplyCodeInput, P as LineSendReceipt, R as LineTransport, S as LineMemberSpec, T as LineProvider, V as LinesHttpClient, _ as LineInstanceCreate, a as Line, b as LineMemberInstance, c as LineAllowanceSubject, d as LineAttachment, f as LineAttachmentReauthorization, g as LineInstanceAttachOptions, h as LineImage, i as profileChannelReference, j as LineRespondView, k as LineReplyGate, l as LineApplicationAttachOptions, m as LineFromConnectionInput, n as SandboxLines, o as LineAgentRolePolicy, p as LineExecutionKey, r as lineInstanceKey, s as LineAllowance, t as LinesClient, u as LineAttachOptions, v as LineLimits, w as LineNumberInventory, x as LineMemberPatch, y as LineMember, z as LineVoice } from "./lines-mOLUGPYs.js";
1
+ import { A as LineRespondAgent, B as LineVoiceOptions, C as LineMessage, D as LineReplyCode, E as LineReminderPreferences, F as LineSenderVerification, I as LineSenderVerificationStart, L as LineThread, M as LineRole, N as LineSendInput, O as LineReplyCodeInput, P as LineSendReceipt, R as LineTransport, S as LineMemberSpec, T as LineProvider, V as LinesHttpClient, _ as LineInstanceCreate, a as Line, b as LineMemberInstance, c as LineAllowanceSubject, d as LineAttachment, f as LineAttachmentReauthorization, g as LineInstanceAttachOptions, h as LineImage, i as profileChannelReference, j as LineRespondView, k as LineReplyGate, l as LineApplicationAttachOptions, m as LineFromConnectionInput, n as SandboxLines, o as LineAgentRolePolicy, p as LineExecutionKey, r as lineInstanceKey, s as LineAllowance, t as LinesClient, u as LineAttachOptions, v as LineLimits, w as LineNumberInventory, x as LineMemberPatch, y as LineMember, z as LineVoice } from "./lines-BqMphgT2.js";
2
2
  export { Line, LineAgentRolePolicy, LineAllowance, LineAllowanceSubject, LineApplicationAttachOptions, LineAttachOptions, LineAttachment, LineAttachmentReauthorization, LineExecutionKey, LineFromConnectionInput, LineImage, LineInstanceAttachOptions, LineInstanceCreate, LineLimits, LineMember, LineMemberInstance, LineMemberPatch, LineMemberSpec, LineMessage, LineNumberInventory, LineProvider, LineReminderPreferences, LineReplyCode, LineReplyCodeInput, LineReplyGate, LineRespondAgent, LineRespondView, LineRole, LineSendInput, LineSendReceipt, LineSenderVerification, LineSenderVerificationStart, LineThread, LineTransport, LineVoice, LineVoiceOptions, LinesClient, LinesHttpClient, SandboxLines, lineInstanceKey, profileChannelReference };
@@ -1,4 +1,4 @@
1
- import { t as AUTH_BUNDLE_PATHS } from "./cli-auth-bundle-DuY2E2FD-7ByGEdOv.js";
1
+ import { t as AUTH_BUNDLE_PATHS } from "./cli-auth-bundle-DuY2E2FD-BdPoU6zT.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";
@@ -1,4 +1,4 @@
1
- import "./api-request-DOebNJob.js";
1
+ import "./api-request-BhrZXtlN.js";
2
2
  import { u as SANDBOX_FILE_API_ABSOLUTE_ROOTS } from "./file-transfer-DOSTbUSR.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-BTHZR1w2.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.428"
399
+ version: options.version ?? "1.0.430"
400
400
  }, { capabilities: { tools: {} } });
401
401
  server.setRequestHandler(typesModule.ListToolsRequestSchema, async () => ({ tools: bindings.map(({ spec: s }) => ({
402
402
  name: s.name,
@@ -1,6 +1,6 @@
1
- import { O as SandboxInstance } from "./index-DzGflA-b.js";
2
- import { f as EnsureDevServerOptions, y as PreviewLinkInfo } from "./types-BYIgnmzV.js";
3
- import { t as Sandbox } from "./client-hdyzJ8_a.js";
1
+ import { O as SandboxInstance } from "./index-CwOVRwDi.js";
2
+ import { f as EnsureDevServerOptions, y as PreviewLinkInfo } from "./types-CqGEzcla.js";
3
+ import { t as Sandbox } from "./client-DB31ZakX.js";
4
4
 
5
5
  //#region src/agent/preview-operations.d.ts
6
6
  type AgentPreviewOptions = Pick<EnsureDevServerOptions, "sessionId" | "cwd"> & {
@@ -1,6 +1,6 @@
1
- import { C as boundedIdentifierSchema, O as isBoundedJsonMaterial, _ as CONTRACT_MAX_ARRAY_LENGTH, a as agentCandidateSecretRefSchema, c as environmentNameSchema, d as isSafeExecutable, f as isSafeRelativePath, g as sha256DigestSchema, i as trainedModelIdForArtifact, l as headerNameSchema, m as looksLikeCredential, n as REASONING_EFFORTS, o as canonicalCandidateDigest, p as isWellFormedUnicode, s as canonicalCandidateJson, t as harnessTypeSchema, v as CONTRACT_MAX_JSON_NODES } from "./harness-Dq3XGyYd.js";
1
+ import { D as boundedStringSchema, _ as sha256DigestSchema, a as agentCandidateSecretRefSchema, c as environmentNameSchema, d as isSafeExecutable, f as isSafeRelativePath, g as relativePathSafetyIssues, i as trainedModelIdForArtifact, k as isBoundedJsonMaterial, l as headerNameSchema, m as looksLikeCredential, n as REASONING_EFFORTS, o as canonicalCandidateDigest, p as isWellFormedUnicode, s as canonicalCandidateJson, t as harnessTypeSchema, v as CONTRACT_MAX_ARRAY_LENGTH, w as boundedIdentifierSchema, y as CONTRACT_MAX_JSON_NODES } from "./harness-4D0kk6wY.js";
2
2
  import { z } from "zod";
3
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.23/node_modules/@tangle-network/agent-interface/dist/deep-freeze.js
3
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/deep-freeze.js
4
4
  /**
5
5
  * Make a validated value immutable before it is handed out.
6
6
  *
@@ -20,7 +20,7 @@ function deepFreeze(value, seen = /* @__PURE__ */ new Set()) {
20
20
  return Object.freeze(value);
21
21
  }
22
22
  //#endregion
23
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.23/node_modules/@tangle-network/agent-interface/dist/profile-knowledge.js
23
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/profile-knowledge.js
24
24
  /** Immutable Hub generation identities, never aliases such as latest or a caller's scope. */
25
25
  const agentProfileKnowledgeRefSchema = z.strictObject({
26
26
  sourceId: z.string().regex(/^[A-Za-z0-9_-]{1,128}$/),
@@ -38,7 +38,7 @@ const agentProfileKnowledgeRefsSchema = z.array(agentProfileKnowledgeRefSchema).
38
38
  });
39
39
  });
40
40
  //#endregion
41
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.23/node_modules/@tangle-network/agent-interface/dist/agent-profile-canonical.js
41
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/agent-profile-canonical.js
42
42
  /** Why a value cannot be AgentProfile JSON, with the path of the offending entry. */
43
43
  var AgentProfileValueError = class extends Error {
44
44
  path;
@@ -114,7 +114,13 @@ function renderPath(path) {
114
114
  return path.length === 0 ? "root" : path.join(".");
115
115
  }
116
116
  //#endregion
117
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.23/node_modules/@tangle-network/agent-interface/dist/own-property-record.js
117
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/profile-file-output.js
118
+ const AgentFileOutputPolicySchema = z.strictObject({
119
+ name: boundedIdentifierSchema,
120
+ path: boundedStringSchema.refine((path) => path.length > 0 && relativePathSafetyIssues(path).length === 0 && path.split("/").every((part) => part.length > 0 && part !== "."), "File output must name one canonical relative managed-workspace path")
121
+ });
122
+ //#endregion
123
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/own-property-record.js
118
124
  /**
119
125
  * Zod records currently assign parsed values onto an ordinary object. The
120
126
  * special own key `__proto__` therefore invokes the legacy prototype setter
@@ -197,7 +203,7 @@ function decodeRecordKey(value) {
197
203
  return decoded;
198
204
  }
199
205
  //#endregion
200
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.23/node_modules/@tangle-network/agent-interface/dist/proxy-secrets.js
206
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/proxy-secrets.js
201
207
  /**
202
208
  * Declarations request authority. The issuer intersects scope/expiry with authenticated tenant,
203
209
  * issuer policy and lineage, without personal/team fallback, pinning immutable secret ID/revision.
@@ -363,7 +369,7 @@ z.strictObject({
363
369
  requireInPlace: z.boolean().optional()
364
370
  });
365
371
  //#endregion
366
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.23/node_modules/@tangle-network/agent-interface/dist/profile-kb/entry.js
372
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/profile-kb/entry.js
367
373
  function claim(text, source, basis = "documented", audience = "operator") {
368
374
  return {
369
375
  text,
@@ -385,7 +391,7 @@ function kbEntry(entry) {
385
391
  };
386
392
  }
387
393
  //#endregion
388
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.23/node_modules/@tangle-network/agent-interface/dist/profile-kb/models.js
394
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/profile-kb/models.js
389
395
  const CHECKED = "2026-10-04";
390
396
  const source = (url, locator) => ({
391
397
  url,
@@ -693,7 +699,7 @@ const modelIndex = (() => {
693
699
  /** Whether this exact spelling is a declared model id or alias. */
694
700
  const profileKbNamesModel = (name) => modelIndex.has(name.trim().toLowerCase());
695
701
  //#endregion
696
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.23/node_modules/@tangle-network/agent-interface/dist/harness-capabilities.js
702
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/harness-capabilities.js
697
703
  /** Canonical harness/model, effort and prompt controls. Model-specific capability comes from the serving catalog. */
698
704
  /** low → high. `none` = thinking off; `ultracode` = max (claude-code mode). */
699
705
  const reasoningLadder = REASONING_EFFORTS;
@@ -954,7 +960,7 @@ function harnessSystemPromptIntents(harness) {
954
960
  return harnessSystemPromptControls[harness] ?? noSystemPromptControls;
955
961
  }
956
962
  //#endregion
957
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.23/node_modules/@tangle-network/agent-interface/dist/sandbox-size.js
963
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/sandbox-size.js
958
964
  /**
959
965
  * Portable sandbox size vocabulary.
960
966
  *
@@ -977,7 +983,7 @@ const SANDBOX_SIZE_PRESET_NAMES = [
977
983
  "large"
978
984
  ];
979
985
  //#endregion
980
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.23/node_modules/@tangle-network/agent-interface/dist/profile-schema.js
986
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/profile-schema.js
981
987
  const profileOpaqueValueSchema = z.unknown().transform((value, context) => {
982
988
  if (value === void 0 || isBoundedJsonMaterial(value, {
983
989
  dataPropertiesOnly: true,
@@ -1222,6 +1228,7 @@ const agentProfileResourceRemovalSchema = z.strictObject({
1222
1228
  failOnError: z.literal(true).optional()
1223
1229
  });
1224
1230
  const agentProfileDiffRemovalSchema = z.strictObject({
1231
+ outputFile: z.literal(true).optional(),
1225
1232
  identity: z.literal(true).optional(),
1226
1233
  tags: removeListSchema.optional(),
1227
1234
  prompt: z.union([z.literal(true), agentProfilePromptRemovalSchema]).optional(),
@@ -1352,6 +1359,7 @@ const agentProfileMetadataSchema = ownPropertyRecordSchema(z.unknown(), { prepar
1352
1359
  * with that interface by the compile-time guard at the bottom of this file.
1353
1360
  */
1354
1361
  const agentProfileSchema = z.strictObject({
1362
+ outputFile: AgentFileOutputPolicySchema.optional(),
1355
1363
  name: z.string().optional(),
1356
1364
  description: z.string().optional(),
1357
1365
  version: z.string().optional(),
@@ -1,5 +1,5 @@
1
- import { R as SandboxError } from "./terminal-stream-types-iOZjIxLK.js";
2
- import { Qn as PublishPublicTemplateVersionOptions, Xn as PublicTemplateVersionInfo, Yn as PublicTemplateInfo, Zn as PublishPublicTemplateOptions, xr as HttpClient } from "./types-BYIgnmzV.js";
1
+ import { R as SandboxError } from "./terminal-stream-types-cEwFyagj.js";
2
+ import { Qn as PublishPublicTemplateVersionOptions, Xn as PublicTemplateVersionInfo, Yn as PublicTemplateInfo, Zn as PublishPublicTemplateOptions, xr as HttpClient } from "./types-CqGEzcla.js";
3
3
  import { z } from "zod";
4
4
 
5
5
  //#region src/public-templates.d.ts
@@ -1,2 +1,2 @@
1
- import { a as PublicTemplatesClient, i as PublicTemplatePublishRequestOptions, n as PublicTemplatePublishError, r as PublicTemplatePublishJob, t as PublicTemplatePublishArtifact } from "./public-templates-Bw4PJ99r.js";
1
+ import { a as PublicTemplatesClient, i as PublicTemplatePublishRequestOptions, n as PublicTemplatePublishError, r as PublicTemplatePublishJob, t as PublicTemplatePublishArtifact } from "./public-templates-D8v4H_3F.js";
2
2
  export { PublicTemplatePublishArtifact, PublicTemplatePublishError, PublicTemplatePublishJob, PublicTemplatePublishRequestOptions, PublicTemplatesClient };
package/dist/runtime.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- import { F as ProfileFileMountPathError, H as ServerError, I as QuotaError, K as TimeoutError, M as NetworkError, N as NotFoundError, O as FileWriteConflictError, P as PartialFailureError, R as SandboxError, S as AuthError, U as StateError, V as SandboxFailureDetail, q as ValidationError, u as ScopedToken, w as CapabilityError, z as SandboxErrorJson } from "./terminal-stream-types-iOZjIxLK.js";
2
- import { An as FileRenameResult, Bi as CreateTaskSessionOptions, Bn as RenameOptions, Bt as SandboxRuntimeHealth, Dn as FileReadBatchResult, En as FileReadBatchOptions, Fn as FileUsageOptions, Gt as SandboxTerminalRequestOptions, Hn as UploadProgress, Ht as SandboxTerminalCreateOptions, In as FileUsageResult, Ji as SentSessionMessage, Ki as SendSessionMessageOptions, Ln as FileWriteResult, Lt as SandboxPortBinding, Nn as FileTreeOptions, Pi as CommitTaskSessionOptions, Pn as FileTreeResult, Qi as SessionExecutionStatus, Ti as SandboxEvent, Un as WriteFileOptions, Ut as SandboxTerminalInfo, Wi as ListMessagesOptions, Wt as SandboxTerminalManager, Xi as SessionEventStreamOptions, Zi as SessionExecutionInfo, aa as SessionMessageAdmission, bn as ChunkedUploadResult, ca as TaskSessionChanges, da as TaskSessionInfo, en as TerminalStream, ia as SessionMessage, la as TaskSessionCommitResult, qi as SendSessionMessageRequest, ta as SessionInfo, xr as HttpClient, yn as ChunkedUploadOptions, zi as CreateSessionOptions } from "./types-BYIgnmzV.js";
3
- import { c as InteractiveSessionIdentity, l as InteractiveSessionNotRunningError, r as browserInteractiveControlHolderId } from "./browser-interactive-control-controller-CHnMRFRF.js";
4
- import { t as BrowserInteractiveSessionController } from "./interactive-controller-Ch4SLGeF.js";
5
- import { a as deriveAgentRunOutcome, i as deriveAgentResultOutcome, n as AgentRunOutcomeTracker, o as projectAgentTerminalRecord, r as createAgentRunOutcomeTracker, t as AgentRunOutcome } from "./agent-run-outcome-DVcPF3iI.js";
1
+ import { F as ProfileFileMountPathError, H as ServerError, I as QuotaError, K as TimeoutError, M as NetworkError, N as NotFoundError, O as FileWriteConflictError, P as PartialFailureError, R as SandboxError, S as AuthError, U as StateError, V as SandboxFailureDetail, q as ValidationError, u as ScopedToken, w as CapabilityError, z as SandboxErrorJson } from "./terminal-stream-types-cEwFyagj.js";
2
+ import { An as FileRenameResult, Bi as CreateTaskSessionOptions, Bn as RenameOptions, Bt as SandboxRuntimeHealth, Dn as FileReadBatchResult, En as FileReadBatchOptions, Fn as FileUsageOptions, Gt as SandboxTerminalRequestOptions, Hn as UploadProgress, Ht as SandboxTerminalCreateOptions, In as FileUsageResult, Ji as SentSessionMessage, Ki as SendSessionMessageOptions, Ln as FileWriteResult, Lt as SandboxPortBinding, Nn as FileTreeOptions, Pi as CommitTaskSessionOptions, Pn as FileTreeResult, Qi as SessionExecutionStatus, Ti as SandboxEvent, Un as WriteFileOptions, Ut as SandboxTerminalInfo, Wi as ListMessagesOptions, Wt as SandboxTerminalManager, Xi as SessionEventStreamOptions, Zi as SessionExecutionInfo, aa as SessionMessageAdmission, bn as ChunkedUploadResult, ca as TaskSessionChanges, da as TaskSessionInfo, en as TerminalStream, ia as SessionMessage, la as TaskSessionCommitResult, qi as SendSessionMessageRequest, ta as SessionInfo, xr as HttpClient, yn as ChunkedUploadOptions, zi as CreateSessionOptions } from "./types-CqGEzcla.js";
3
+ import { c as InteractiveSessionIdentity, l as InteractiveSessionNotRunningError, r as browserInteractiveControlHolderId } from "./browser-interactive-control-controller-knQXEt0T.js";
4
+ import { t as BrowserInteractiveSessionController } from "./interactive-controller-TSVwnPWf.js";
5
+ import { a as deriveAgentRunOutcome, i as deriveAgentResultOutcome, n as AgentRunOutcomeTracker, o as projectAgentTerminalRecord, r as createAgentRunOutcomeTracker, t as AgentRunOutcome } from "./agent-run-outcome-5N0YL9gq.js";
6
6
 
7
7
  //#region src/lib/chunked-upload.d.ts
8
8
  /** The transport a caller wires this module to — {@link SandboxInstance.runtimeFetch}
package/dist/runtime.js CHANGED
@@ -1,7 +1,7 @@
1
- import { F as createAgentRunOutcomeTracker, I as deriveAgentResultOutcome, L as deriveAgentRunOutcome, R as projectAgentTerminalRecord, c as SandboxRuntimeApi, t as BrowserInteractiveSessionController } from "./interactive-controller-xKtZqua3.js";
2
- import { n as browserInteractiveControlHolderId, s as InteractiveSessionNotRunningError } from "./browser-interactive-control-controller-BQRJCwkf.js";
1
+ import { F as createAgentRunOutcomeTracker, I as deriveAgentResultOutcome, L as deriveAgentRunOutcome, R as projectAgentTerminalRecord, c as SandboxRuntimeApi, t as BrowserInteractiveSessionController } from "./interactive-controller-ZpuKn02o.js";
2
+ import { n as browserInteractiveControlHolderId, s as InteractiveSessionNotRunningError } from "./browser-interactive-control-controller-Bd7Qibjw.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-DNmfKxwE.js";
4
- import { i as fetchSandboxApi, n as SDK_TIMEOUTS } from "./api-request-DOebNJob.js";
4
+ import { i as fetchSandboxApi, n as SDK_TIMEOUTS } from "./api-request-BhrZXtlN.js";
5
5
  import { c as uploadChunked } from "./chunked-upload-DuXDFxxJ.js";
6
6
  //#region src/runtime-client.ts
7
7
  function requireToken(token) {
@@ -1,21 +1,21 @@
1
- import { A as requestedPublicProfileDigest, B as AgentRuntimeAttachmentsSchema, C as runtimeFilesystemPath, D as assertCurrentBackendType, E as applyRequestedModel, F as createAgentRunOutcomeTracker, I as deriveAgentResultOutcome, O as mergeRuntimeBackendConfig, P as withoutRuntimeSecrets, S as encodeTextForWire, W as normalizeEffectiveBackend, _ as mintTraceId, a as assertScopedTokenActive, b as validateAcceptedDispatchRunRef, c as SandboxRuntimeApi, d as appendSessionIdQuery, f as callHeaders, g as isTraceId, h as TRACE_ID_HEADER, i as terminalUpgradeHeadersSupported, j as requestedSecretProfilePublicDigest, k as normalizeRuntimeBackendConfig, l as normalizeSessionInfo, m as assertFileWritePreconditions, n as InteractiveSessionController, p as sessionHeaders, r as TerminalStream, s as requestScopedToken, u as sessionMessageRequestBody, v as resolveTraceId, w as canUseNodeHttp2, x as encodePromptForWire, y as resolveDispatchRunIdentity } from "./interactive-controller-xKtZqua3.js";
2
- import { C as boundedIdentifierSchema, E as boundedStringSchema, g as sha256DigestSchema, o as canonicalCandidateDigest, s as canonicalCandidateJson } from "./harness-Dq3XGyYd.js";
3
- import { a as ProxySecretReceiptSchema, r as agentProfileSchema } from "./profile-schema-BuXg-MCu.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-BQRJCwkf.js";
5
- import { t as canonicalAgentProfileDigest } from "./agent-execution-preparation-CemN5Bl6.js";
1
+ import { A as requestedPublicProfileDigest, B as AgentRuntimeAttachmentsSchema, C as runtimeFilesystemPath, D as assertCurrentBackendType, E as applyRequestedModel, F as createAgentRunOutcomeTracker, I as deriveAgentResultOutcome, O as mergeRuntimeBackendConfig, P as withoutRuntimeSecrets, S as encodeTextForWire, W as normalizeEffectiveBackend, _ as mintTraceId, a as assertScopedTokenActive, b as validateAcceptedDispatchRunRef, c as SandboxRuntimeApi, d as appendSessionIdQuery, f as callHeaders, g as isTraceId, h as TRACE_ID_HEADER, i as terminalUpgradeHeadersSupported, j as requestedSecretProfilePublicDigest, k as normalizeRuntimeBackendConfig, l as normalizeSessionInfo, m as assertFileWritePreconditions, n as InteractiveSessionController, p as sessionHeaders, r as TerminalStream, s as requestScopedToken, u as sessionMessageRequestBody, v as resolveTraceId, w as canUseNodeHttp2, x as encodePromptForWire, y as resolveDispatchRunIdentity } from "./interactive-controller-ZpuKn02o.js";
2
+ import { D as boundedStringSchema, _ as sha256DigestSchema, o as canonicalCandidateDigest, s as canonicalCandidateJson, w as boundedIdentifierSchema } from "./harness-4D0kk6wY.js";
3
+ import { a as ProxySecretReceiptSchema, r as agentProfileSchema } from "./profile-schema-B48XymtK.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-Bd7Qibjw.js";
5
+ import { t as canonicalAgentProfileDigest } from "./agent-execution-preparation-C2KLuq0G.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, 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-DNmfKxwE.js";
7
7
  import { t as parseSandboxRetryAfterHeader } from "./retry-after-header-BZbs5rig.js";
8
8
  import { n as combineAbortSignals, t as awaitWithAbort } from "./abort-signal-BsriwJ8L.js";
9
9
  import { a as backoffDelayMs, o as isUndelivered, r as abortableSleep } from "./retry-policy-oW3_ljoc.js";
10
- import { a as isReplayableBody, i as fetchSandboxApi, n as SDK_TIMEOUTS, o as rewrapResponse, t as IDEMPOTENT_METHODS } from "./api-request-DOebNJob.js";
10
+ import { a as isReplayableBody, i as fetchSandboxApi, n as SDK_TIMEOUTS, o as rewrapResponse, t as IDEMPOTENT_METHODS } from "./api-request-BhrZXtlN.js";
11
11
  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, u as SANDBOX_FILE_API_ABSOLUTE_ROOTS } from "./file-transfer-DOSTbUSR.js";
12
12
  import { c as uploadChunked, l as awaitSdkResend, u as takeSdkTurn } from "./chunked-upload-DuXDFxxJ.js";
13
13
  import { n as fetchWithKeepAlive, t as emitTiming } from "./keep-alive-fetch-sGVP8skk.js";
14
14
  import { t as SIDECAR_PROXY_ERROR_HEADER } from "./sidecar-proxy-error-DTdbCbUM.js";
15
15
  import { t as parseSSEStream } from "./sse-parser-BCG3iL9j.js";
16
16
  import { t as runPreparedProcess } from "./prepared-process-DQ_68Ofg.js";
17
- import { a as isBackendType, r as cliAuthReferenceSchema } from "./cli-auth-bundle-DuY2E2FD-7ByGEdOv.js";
18
- import "./cli-auth-bundle-Vc_wO6gp.js";
17
+ import { a as isBackendType, r as cliAuthReferenceSchema } from "./cli-auth-bundle-DuY2E2FD-BdPoU6zT.js";
18
+ import "./cli-auth-bundle-COXkowvX.js";
19
19
  import { n as SandboxLines } from "./lines-DjZMcB7V.js";
20
20
  import { t as downloadFile } from "./file-download-I463VYUJ.js";
21
21
  import { z } from "zod";
@@ -27,7 +27,7 @@ import { PART_TEXT, PART_TEXT_SUFFIX, locatePart } from "@tangle-network/agent-c
27
27
  import { readTokenUsage } from "@tangle-network/agent-core";
28
28
  import "@tangle-network/agent-interface/environment-provider";
29
29
  import { OTLP_SPAN_KIND, OTLP_STATUS_CODE, msToUnixNano, otlpTraceExport, toOtlpAttributes, toW3CSpanId, toW3CTraceId } from "@tangle-network/agent-trace-contract/otlp";
30
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.23/node_modules/@tangle-network/agent-interface/dist/provider-config.js
30
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/provider-config.js
31
31
  const nativeWebSearchKeys = new Set(["websearch"]);
32
32
  const nativeWebFetchKeys = new Set(["webfetch", "fetch"]);
33
33
  function resolveNativeWebTools(tools) {
@@ -42,7 +42,7 @@ function resolveNativeWebTools(tools) {
42
42
  return posture;
43
43
  }
44
44
  //#endregion
45
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.23/node_modules/@tangle-network/agent-interface/dist/environment-interactive-start.js
45
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/environment-interactive-start.js
46
46
  const AgentInteractiveSessionRunCoordinatesSchema = z.strictObject({
47
47
  provider: boundedIdentifierSchema,
48
48
  environmentId: boundedIdentifierSchema,
@@ -119,7 +119,7 @@ function runCoordinates(run) {
119
119
  };
120
120
  }
121
121
  //#endregion
122
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.23/node_modules/@tangle-network/agent-interface/dist/environment-terminal.js
122
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/environment-terminal.js
123
123
  const terminalDimensionSchema = z.number().int().positive().max(1e4);
124
124
  /**
125
125
  * Provider-neutral handle for one interactive terminal.
@@ -1,9 +1,9 @@
1
- import { r as agentProfileSchema } from "./profile-schema-BuXg-MCu.js";
2
- import { t as canonicalAgentProfileDigest } from "./agent-execution-preparation-CemN5Bl6.js";
1
+ import { r as agentProfileSchema } from "./profile-schema-B48XymtK.js";
2
+ import { t as canonicalAgentProfileDigest } from "./agent-execution-preparation-C2KLuq0G.js";
3
3
  import { C as SandboxError, O as ValidationError, u as CapabilityError } from "./errors-DNmfKxwE.js";
4
4
  import { n as combineAbortSignals, t as awaitWithAbort } from "./abort-signal-BsriwJ8L.js";
5
- import { r as cliAuthReferenceSchema } from "./cli-auth-bundle-DuY2E2FD-7ByGEdOv.js";
6
- import "./cli-auth-bundle-Vc_wO6gp.js";
5
+ import { r as cliAuthReferenceSchema } from "./cli-auth-bundle-DuY2E2FD-BdPoU6zT.js";
6
+ import "./cli-auth-bundle-COXkowvX.js";
7
7
  import { z } from "zod";
8
8
  //#region ../../../packages/runtime-contracts/dist/seat-selection.js
9
9
  /**
@@ -1,5 +1,5 @@
1
- import { R as SandboxError } from "./terminal-stream-types-iOZjIxLK.js";
2
- import { _t as SeatOwnerTransport, bt as SeatSelectionRequest, ft as SEAT_COMMAND_TIMEOUT_MS } from "./client-hdyzJ8_a.js";
1
+ import { R as SandboxError } from "./terminal-stream-types-cEwFyagj.js";
2
+ import { _t as SeatOwnerTransport, bt as SeatSelectionRequest, ft as SEAT_COMMAND_TIMEOUT_MS } from "./client-DB31ZakX.js";
3
3
 
4
4
  //#region src/select-seat-command.d.ts
5
5
  /** Public reply bound; the owner prints one metadata object. */
@@ -1,5 +1,5 @@
1
1
  import { C as SandboxError, O as ValidationError } from "./errors-DNmfKxwE.js";
2
- import { r as SEAT_OWNER_MAX_RESPONSE_BYTES, s as seatOwnerTimeoutMs, t as SEAT_COMMAND_TIMEOUT_MS } from "./select-seat-BbTGujaf.js";
2
+ import { r as SEAT_OWNER_MAX_RESPONSE_BYTES, s as seatOwnerTimeoutMs, t as SEAT_COMMAND_TIMEOUT_MS } from "./select-seat-Yn1FgzO8.js";
3
3
  import { spawn } from "node:child_process";
4
4
  //#region src/select-seat-command.ts
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import { n as combineAbortSignals } from "../abort-signal-BsriwJ8L.js";
2
- import { i as fetchSandboxApi } from "../api-request-DOebNJob.js";
2
+ import { i as fetchSandboxApi } from "../api-request-BhrZXtlN.js";
3
3
  import "../sidecar-proxy-error-DTdbCbUM.js";
4
4
  import { t as parseSSEStream } from "../sse-parser-BCG3iL9j.js";
5
5
  import { PART_TEXT, PART_TEXT_SUFFIX } from "@tangle-network/agent-core/sse";
@@ -1,2 +1,2 @@
1
- import { C as JsonResponseParamTypes, E as SandboxIdParamTypes, S as JOB_SANDBOX_DELETE, T as SandboxCreateResponseParamTypes, _ as TANGLE_CHAIN_ID, a as fetchQuote, b as AgentSandboxBlueprintAbi, c as parseQuoteResponse, d as OperatorSession, f as OperatorSessionError, g as BlueprintSandboxClientConfig, h as BlueprintSandboxClient, i as SignedQuote, l as validateQuote, m as SignMessage, n as QuoteDomain, o as inputsHashOf, p as OperatorSessionToken, r as QuoteError, s as jobQuoteDigest, t as JobQuoteDetails, u as OperatorChallenge, v as TANGLE_JOBS_CONTRACT, w as SandboxCreateParamTypes, x as JOB_SANDBOX_CREATE, y as ITangleJobsAbi } from "../index-DzGflA-b.js";
1
+ import { C as JsonResponseParamTypes, E as SandboxIdParamTypes, S as JOB_SANDBOX_DELETE, T as SandboxCreateResponseParamTypes, _ as TANGLE_CHAIN_ID, a as fetchQuote, b as AgentSandboxBlueprintAbi, c as parseQuoteResponse, d as OperatorSession, f as OperatorSessionError, g as BlueprintSandboxClientConfig, h as BlueprintSandboxClient, i as SignedQuote, l as validateQuote, m as SignMessage, n as QuoteDomain, o as inputsHashOf, p as OperatorSessionToken, r as QuoteError, s as jobQuoteDigest, t as JobQuoteDetails, u as OperatorChallenge, v as TANGLE_JOBS_CONTRACT, w as SandboxCreateParamTypes, x as JOB_SANDBOX_CREATE, y as ITangleJobsAbi } from "../index-CwOVRwDi.js";
2
2
  export { AgentSandboxBlueprintAbi, BlueprintSandboxClient, BlueprintSandboxClientConfig, ITangleJobsAbi, JOB_SANDBOX_CREATE, JOB_SANDBOX_DELETE, JobQuoteDetails, JsonResponseParamTypes, OperatorChallenge, OperatorSession, OperatorSessionError, OperatorSessionToken, QuoteDomain, QuoteError, SandboxCreateParamTypes, SandboxCreateResponseParamTypes, SandboxIdParamTypes, SignMessage, SignedQuote, TANGLE_CHAIN_ID, TANGLE_JOBS_CONTRACT, fetchQuote, inputsHashOf, jobQuoteDigest, parseQuoteResponse, validateQuote };
@@ -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-BVrbZlD3.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-sCfc9nS1.js";
2
2
  import { t as ITangleJobsAbi } from "../abi-pcDt2Adp.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 { L as readFilesystemIncarnationTuple, n as createSandboxInstanceFromResponse } from "./sandbox-B-QXo3LK.js";
1
+ import { L as readFilesystemIncarnationTuple, n as createSandboxInstanceFromResponse } from "./sandbox-DvExS9Yl.js";
2
2
  import { a as readResponseJson } from "./errors-DNmfKxwE.js";
3
- import { i as fetchSandboxApi } from "./api-request-DOebNJob.js";
3
+ import { i as fetchSandboxApi } from "./api-request-BhrZXtlN.js";
4
4
  import { t as ITangleJobsAbi } from "./abi-pcDt2Adp.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-BvN0Mk3j.js";
6
6
  //#region ../../../packages/runtime-contracts/dist/tangle-blueprint-abi.js
@@ -1,4 +1,4 @@
1
- import { T as AgentProfile, a as AgentInteractiveSessionControlClaim, u as AgentInteractiveSessionRef } from "./index-B4OJkmmC.js";
1
+ import { T as AgentProfile, a as AgentInteractiveSessionControlClaim, u as AgentInteractiveSessionRef } from "./index--9j_Jlf_.js";
2
2
  import { z } from "zod";
3
3
 
4
4
  //#region ../../../packages/runtime-contracts/dist/batch-events.d.ts
@@ -1,6 +1,6 @@
1
- import { $ as BatchBackendInput, B as SandboxErrorMetadata, Y as SandboxCreateReceipt, a as TerminalStreamOptions, g as TerminalReadyInfo, i as TerminalStreamHandlers, s as TerminalStreamToken, t as TerminalAttachTimings } from "./terminal-stream-types-iOZjIxLK.js";
2
- import { C as InteractionRequest, D as AgentProfileConfidential, E as AgentProfileCapabilities, F as ProxySecretReceipt, N as AgentProfileValidationResult, P as ReasoningEffort, R as PlanContinuation, T as AgentProfile, n as SandboxSizePreset, v as AgentExactRunControlRef, x as AgentRuntimeAttachments } from "./index-B4OJkmmC.js";
3
- import { r as CliAuthReference } from "./cli-auth-bundle-CaNRN3Nc.js";
1
+ import { $ as BatchBackendInput, B as SandboxErrorMetadata, Y as SandboxCreateReceipt, a as TerminalStreamOptions, g as TerminalReadyInfo, i as TerminalStreamHandlers, s as TerminalStreamToken, t as TerminalAttachTimings } from "./terminal-stream-types-cEwFyagj.js";
2
+ import { C as InteractionRequest, D as AgentProfileConfidential, E as AgentProfileCapabilities, F as ProxySecretReceipt, N as AgentProfileValidationResult, P as ReasoningEffort, R as PlanContinuation, T as AgentProfile, n as SandboxSizePreset, v as AgentExactRunControlRef, x as AgentRuntimeAttachments } from "./index--9j_Jlf_.js";
3
+ import { r as CliAuthReference } from "./cli-auth-bundle-a7NYzsfF.js";
4
4
  import { z } from "zod";
5
5
 
6
6
  //#region ../../../packages/runtime-contracts/dist/backend-types.d.ts
@@ -4059,9 +4059,9 @@ interface SandboxShapesInfo {
4059
4059
  */
4060
4060
  interface CreateSandboxOptions {
4061
4061
  /**
4062
- * capacity:false returns CAPACITY_EXHAUSTED immediately for caller-managed deferral;
4063
- * omitted preserves client-create-retry.ts policy. Re-POSTs count toward the serving
4064
- * cell failure streak.
4062
+ * capacity:false returns the first deploy-window refusal (including HOST_PRESSURE)
4063
+ * with its code and Retry-After for caller-managed deferral. Omitted preserves
4064
+ * client-create-retry.ts policy; re-POSTs count toward the serving cell failure streak.
4065
4065
  */
4066
4066
  retry?: {
4067
4067
  capacity?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/sandbox",
3
- "version": "1.0.428",
3
+ "version": "1.0.430",
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": [
@@ -109,7 +109,7 @@
109
109
  },
110
110
  "dependencies": {
111
111
  "@tangle-network/agent-core": "^1.0.3",
112
- "@tangle-network/agent-interface": "^5.10.23",
112
+ "@tangle-network/agent-interface": "^5.10.27",
113
113
  "@tangle-network/agent-trace-contract": "^2.2.0",
114
114
  "tar-stream": "3.2.2",
115
115
  "zod": "^4.6.7"
@@ -155,13 +155,13 @@
155
155
  "yjs": "13.6.33",
156
156
  "@products/sandbox-test-utils": "0.0.0",
157
157
  "@repo/shared": "0.0.0",
158
- "@tangle-network/runtime-contracts": "0.20.0",
159
158
  "@tangle-network/agent-profile-materialize": "0.27.1",
159
+ "@tangle-network/runtime-contracts": "0.20.0",
160
160
  "@tangle-network/cli-agent-registry": "0.15.0"
161
161
  },
162
162
  "tangleRelease": {
163
- "sourceSha": "52123c7c3c8b309d7bdefc8c8d32716467f3a132",
164
- "mergedAt": "2026-11-16T14:46:12-08:00"
163
+ "sourceSha": "d6370521dc203efd37527d5057c1805765b7c2fd",
164
+ "mergedAt": "2026-11-16T16:39:41-08:00"
165
165
  },
166
166
  "scripts": {
167
167
  "build": "node scripts/build-dist.mjs && bash scripts/verify-dist.sh",
@@ -1,2 +0,0 @@
1
- import "./cli-auth-bundle-DuY2E2FD-7ByGEdOv.js";
2
- export {};