@tangle-network/sandbox 1.0.170 → 1.0.171

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 (74) hide show
  1. package/dist/agent/index.d.ts +4 -4
  2. package/dist/agent/index.js +6 -6
  3. package/dist/agent/preview.d.ts +1 -1
  4. package/dist/agent/preview.js +2 -2
  5. package/dist/{agent-run-outcome-BGpRnTPY.d.ts → agent-run-outcome-Sa99LJ15.d.ts} +2 -2
  6. package/dist/{api-request-DNrodWdz.js → api-request-D4Ln_0F5.js} +1 -1
  7. package/dist/auth/index.d.ts +2 -2
  8. package/dist/auth/index.js +2 -2
  9. package/dist/{browser-interactive-control-controller-BYbNLahH.js → browser-interactive-control-controller-DHIS8edi.js} +1 -1
  10. package/dist/{browser-interactive-control-controller-CxQBcgj3.d.ts → browser-interactive-control-controller-DIvMQyer.d.ts} +1 -1
  11. package/dist/{chunked-upload-file-Z-KNaobQ.js → chunked-upload-file-HLSriv3V.js} +2 -2
  12. package/dist/{chunked-upload-NjdTMC2n.js → chunked-upload-vAE2hVcP.js} +3 -2
  13. package/dist/cli-auth-bundle-MqvlO-rb.js +2 -0
  14. package/dist/{client-CDhg9KTL.d.ts → client-Izg3-BU0.d.ts} +5 -5
  15. package/dist/{client-BJJJ56zc.js → client-WCuXnZYf.js} +11 -10
  16. package/dist/collaboration/index.d.ts +1 -1
  17. package/dist/collaboration/index.js +1 -1
  18. package/dist/{collaboration-DIIJHGQY.js → collaboration-CmT6Ygiv.js} +1 -1
  19. package/dist/{core-SLuhiGEu.js → core-DJhKVMw7.js} +5 -5
  20. package/dist/core.d.ts +6 -6
  21. package/dist/core.js +5 -5
  22. package/dist/{direct-http2-Bojg02xf.js → direct-http2-Bqtn2jg3.js} +1 -1
  23. package/dist/{errors-BUzH7U1D.js → errors-CaX0a5Ry.js} +3 -124
  24. package/dist/{file-download-Bo3IypMO.js → file-download-BXgu9BNh.js} +1 -1
  25. package/dist/file-transfer-DTHgLccV.js +123 -0
  26. package/dist/{index-C03nLH88.d.ts → index-JfBawP6-.d.ts} +6 -6
  27. package/dist/index.d.ts +11 -11
  28. package/dist/index.js +11 -11
  29. package/dist/intelligence/index.js +3 -3
  30. package/dist/interactive-control.d.ts +1 -1
  31. package/dist/interactive-control.js +1 -1
  32. package/dist/{interactive-controller-NB7OwefY.d.ts → interactive-controller-C80-OSJN.d.ts} +3 -3
  33. package/dist/{interactive-controller-C3DDPykv.js → interactive-controller-C876Pjaj.js} +5 -5
  34. package/dist/lib/prepared-evidence.js +1 -1
  35. package/dist/lib/prepared-process.js +1 -1
  36. package/dist/{lines-2fj8i5qd.js → lines-DxHJhxCe.js} +1 -1
  37. package/dist/{lines-BbOFiDng.d.ts → lines-adDDEY5_.d.ts} +1 -1
  38. package/dist/lines.d.ts +1 -1
  39. package/dist/lines.js +1 -1
  40. package/dist/{local-cli-auth-CuWtJrZj.js → local-cli-auth-C33U2G-c.js} +1 -1
  41. package/dist/{mcp-local-tBlLJqTb.js → mcp-local-Cqf4Lpp0.js} +98 -92
  42. package/dist/{prepared-evidence-CrTBMhm9.js → prepared-evidence-CP1MmeCQ.js} +1 -1
  43. package/dist/{prepared-process-BD5LvT7P.js → prepared-process-BWVz93cT.js} +1 -1
  44. package/dist/{preview-BCH2YKWT.d.ts → preview-DedSyvEh.d.ts} +3 -3
  45. package/dist/{public-templates-DVZ9NJM0.d.ts → public-templates-Dkxtyl_0.d.ts} +2 -2
  46. package/dist/public-templates.d.ts +1 -1
  47. package/dist/public-templates.js +1 -1
  48. package/dist/{raw-evidence-archive-0S8tObzw.js → raw-evidence-archive-CgbWa4es.js} +2 -2
  49. package/dist/runtime.d.ts +5 -5
  50. package/dist/runtime.js +5 -5
  51. package/dist/{sandbox-PeS-A7or.js → sandbox-Bg0m9FyB.js} +19 -18
  52. package/dist/{secp256k1-CZWrpqxW.js → secp256k1-Cbp9tbkX.js} +1 -1
  53. package/dist/select-seat-command.d.ts +1 -1
  54. package/dist/select-seat-command.js +1 -1
  55. package/dist/session-gateway/index.js +3 -3
  56. package/dist/tangle/index.d.ts +1 -1
  57. package/dist/tangle/index.js +1 -1
  58. package/dist/{tangle-Bm5sav8z.js → tangle-ClUGDa3P.js} +4 -4
  59. package/dist/{types-CCRfg8oS.d.ts → types-tKdvSRqr.d.ts} +3 -3
  60. package/package.json +6 -6
  61. package/dist/cli-auth-bundle-Op0k_zIX.js +0 -2
  62. /package/dist/{abort-signal-Cu4F2VVz.js → abort-signal-PgWPMn_e.js} +0 -0
  63. /package/dist/{cli-auth-bundle-CwJjUmvo-3J2DDPxW.js → cli-auth-bundle-CwJjUmvo-CD3jrgbH.js} +0 -0
  64. /package/dist/{cli-auth-bundle-COQ25k3d.d.ts → cli-auth-bundle-Wg3x2hd2.d.ts} +0 -0
  65. /package/dist/{index-Dslyq85a.d.ts → index-CDtEPygc.d.ts} +0 -0
  66. /package/dist/{index-Dqcr9p97.d.ts → index-YbAo-so_.d.ts} +0 -0
  67. /package/dist/{keep-alive-fetch-BbSFbRCd.js → keep-alive-fetch-C2lFwrMA.js} +0 -0
  68. /package/dist/{preview-operations-BvgwYaoL.js → preview-operations-B3TTvqlm.js} +0 -0
  69. /package/dist/{response-rewrap-CpNkboDX.js → response-rewrap-Cjoxh2wZ.js} +0 -0
  70. /package/dist/{retry-after-header-DUdCC0KJ.js → retry-after-header-Bt-XvU-x.js} +0 -0
  71. /package/dist/{sidecar-proxy-error-5DpLmHeN.js → sidecar-proxy-error-DTJbOAWL.js} +0 -0
  72. /package/dist/{sse-parser-DrI47LyG.js → sse-parser-B4aH89Nq.js} +0 -0
  73. /package/dist/{terminal-stream-types-C6N_wrmY.d.ts → terminal-stream-types-1YKRrkZB.d.ts} +0 -0
  74. /package/dist/{utils-vaFoyyiO.js → utils-CK-x8vXj.js} +0 -0
package/dist/runtime.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- import { Ct as ServerError, Dt as TimeoutError, Ot as ValidationError, St as SandboxFailureDetail, _t as ProfileFileMountPathError, bt as SandboxError, gt as PartialFailureError, ht as NotFoundError, it as AuthError, mt as NetworkError, ot as CapabilityError, u as ScopedToken, ut as FileWriteConflictError, vt as QuotaError, wt as StateError, xt as SandboxErrorJson } from "./terminal-stream-types-C6N_wrmY.js";
2
- import { $i as SessionExecutionStatus, Bi as CreateSessionOptions, Cn as TerminalStream, Di as SandboxEvent, Fi as CommitTaskSessionOptions, Gi as ListMessagesOptions, Gn as ChunkedUploadResult, Ji as SendSessionMessageRequest, Qi as SessionExecutionInfo, Qn as FileReadBatchResult, Vi as CreateTaskSessionOptions, Wn as ChunkedUploadOptions, Yi as SentSessionMessage, Zi as SessionEventStreamOptions, Zn as FileReadBatchOptions, aa as SessionMessage, ar as FileTreeResult, cr as FileWriteResult, dn as SandboxTerminalCreateOptions, dr as RenameOptions, fa as TaskSessionInfo, fn as SandboxTerminalInfo, ir as FileTreeOptions, la as TaskSessionChanges, ln as SandboxRuntimeHealth, mn as SandboxTerminalRequestOptions, mr as WriteFileOptions, na as SessionInfo, oa as SessionMessageAdmission, on as SandboxPortBinding, or as FileUsageOptions, pn as SandboxTerminalManager, pr as UploadProgress, qi as SendSessionMessageOptions, sr as FileUsageResult, tr as FileRenameResult, ua as TaskSessionCommitResult } from "./types-CCRfg8oS.js";
3
- import { c as InteractiveSessionIdentity, l as InteractiveSessionNotRunningError, r as browserInteractiveControlHolderId } from "./browser-interactive-control-controller-CxQBcgj3.js";
4
- import { t as BrowserInteractiveSessionController } from "./interactive-controller-NB7OwefY.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-BGpRnTPY.js";
1
+ import { Ct as ServerError, Dt as TimeoutError, Ot as ValidationError, St as SandboxFailureDetail, _t as ProfileFileMountPathError, bt as SandboxError, gt as PartialFailureError, ht as NotFoundError, it as AuthError, mt as NetworkError, ot as CapabilityError, u as ScopedToken, ut as FileWriteConflictError, vt as QuotaError, wt as StateError, xt as SandboxErrorJson } from "./terminal-stream-types-1YKRrkZB.js";
2
+ import { $i as SessionExecutionStatus, Bi as CreateSessionOptions, Cn as TerminalStream, Di as SandboxEvent, Fi as CommitTaskSessionOptions, Gi as ListMessagesOptions, Gn as ChunkedUploadResult, Ji as SendSessionMessageRequest, Qi as SessionExecutionInfo, Qn as FileReadBatchResult, Vi as CreateTaskSessionOptions, Wn as ChunkedUploadOptions, Yi as SentSessionMessage, Zi as SessionEventStreamOptions, Zn as FileReadBatchOptions, aa as SessionMessage, ar as FileTreeResult, cr as FileWriteResult, dn as SandboxTerminalCreateOptions, dr as RenameOptions, fa as TaskSessionInfo, fn as SandboxTerminalInfo, ir as FileTreeOptions, la as TaskSessionChanges, ln as SandboxRuntimeHealth, mn as SandboxTerminalRequestOptions, mr as WriteFileOptions, na as SessionInfo, oa as SessionMessageAdmission, on as SandboxPortBinding, or as FileUsageOptions, pn as SandboxTerminalManager, pr as UploadProgress, qi as SendSessionMessageOptions, sr as FileUsageResult, tr as FileRenameResult, ua as TaskSessionCommitResult } from "./types-tKdvSRqr.js";
3
+ import { c as InteractiveSessionIdentity, l as InteractiveSessionNotRunningError, r as browserInteractiveControlHolderId } from "./browser-interactive-control-controller-DIvMQyer.js";
4
+ import { t as BrowserInteractiveSessionController } from "./interactive-controller-C80-OSJN.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-Sa99LJ15.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,8 +1,8 @@
1
- import { I as createAgentRunOutcomeTracker, L as deriveAgentResultOutcome, R as deriveAgentRunOutcome, c as SandboxRuntimeApi, t as BrowserInteractiveSessionController, z as projectAgentTerminalRecord } from "./interactive-controller-C3DDPykv.js";
2
- import { n as browserInteractiveControlHolderId, s as InteractiveSessionNotRunningError } from "./browser-interactive-control-controller-BYbNLahH.js";
3
- import { C as StateError, E as ValidationError, S as ServerError, T as TimeoutError, _ as PartialFailureError, a as AuthError, d as FileWriteConflictError, g as NotFoundError, h as NetworkError, s as CapabilityError, v as ProfileFileMountPathError, x as SandboxError, y as QuotaError } from "./errors-BUzH7U1D.js";
4
- import { t as fetchSandboxApi } from "./api-request-DNrodWdz.js";
5
- import { s as uploadChunked } from "./chunked-upload-NjdTMC2n.js";
1
+ import { I as createAgentRunOutcomeTracker, L as deriveAgentResultOutcome, R as deriveAgentRunOutcome, c as SandboxRuntimeApi, t as BrowserInteractiveSessionController, z as projectAgentTerminalRecord } from "./interactive-controller-C876Pjaj.js";
2
+ import { n as browserInteractiveControlHolderId, s as InteractiveSessionNotRunningError } from "./browser-interactive-control-controller-DHIS8edi.js";
3
+ import { C as StateError, E as ValidationError, S as ServerError, T as TimeoutError, _ as PartialFailureError, a as AuthError, d as FileWriteConflictError, g as NotFoundError, h as NetworkError, s as CapabilityError, v as ProfileFileMountPathError, x as SandboxError, y as QuotaError } from "./errors-CaX0a5Ry.js";
4
+ import { t as fetchSandboxApi } from "./api-request-D4Ln_0F5.js";
5
+ import { s as uploadChunked } from "./chunked-upload-vAE2hVcP.js";
6
6
  //#region src/runtime-client.ts
7
7
  const DEFAULT_RUNTIME_TIMEOUT_MS = 3e4;
8
8
  function requireToken(token) {
@@ -1,20 +1,21 @@
1
- import { A as normalizeRuntimeBackendConfig, C as encodeTextForWire, D as applyRequestedModel, F as withoutRuntimeSecrets, I as createAgentRunOutcomeTracker, L as deriveAgentResultOutcome, M as requestedSecretProfilePublicDigest, O as assertCurrentBackendType, S as encodePromptForWire, T as canUseNodeHttp2, W as normalizeEffectiveBackend, _ as isTraceId, a as assertScopedTokenActive, b as resolveDispatchRunIdentity, c as SandboxRuntimeApi, d as appendSessionIdQuery, f as callHeaders, g as TRACE_ID_HEADER, h as isRetryableCredentialRefusal, i as terminalUpgradeHeadersSupported, j as requestedPublicProfileDigest, k as mergeRuntimeBackendConfig, l as normalizeSessionInfo, m as assertFileWritePreconditions, n as InteractiveSessionController, p as sessionHeaders, r as TerminalStream, s as requestScopedToken, u as sessionMessageRequestBody, v as mintTraceId, w as runtimeFilesystemPath, x as validateAcceptedDispatchRunRef, y as resolveTraceId } from "./interactive-controller-C3DDPykv.js";
1
+ import { A as normalizeRuntimeBackendConfig, C as encodeTextForWire, D as applyRequestedModel, F as withoutRuntimeSecrets, I as createAgentRunOutcomeTracker, L as deriveAgentResultOutcome, M as requestedSecretProfilePublicDigest, O as assertCurrentBackendType, S as encodePromptForWire, T as canUseNodeHttp2, W as normalizeEffectiveBackend, _ as isTraceId, a as assertScopedTokenActive, b as resolveDispatchRunIdentity, c as SandboxRuntimeApi, d as appendSessionIdQuery, f as callHeaders, g as TRACE_ID_HEADER, h as isRetryableCredentialRefusal, i as terminalUpgradeHeadersSupported, j as requestedPublicProfileDigest, k as mergeRuntimeBackendConfig, l as normalizeSessionInfo, m as assertFileWritePreconditions, n as InteractiveSessionController, p as sessionHeaders, r as TerminalStream, s as requestScopedToken, u as sessionMessageRequestBody, v as mintTraceId, w as runtimeFilesystemPath, x as validateAcceptedDispatchRunRef, y as resolveTraceId } from "./interactive-controller-C876Pjaj.js";
2
2
  import { C as boundedIdentifierSchema, E as boundedStringSchema, g as sha256DigestSchema$1, o as canonicalCandidateDigest$1, s as canonicalCandidateJson$1, u as isCanonicalJsonValue$1 } from "./harness-DMaNgn0S.js";
3
3
  import { t as sha256 } from "./sha2-vu4U-x2L.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-BYbNLahH.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-DHIS8edi.js";
5
5
  import { a as ProxySecretReceiptSchema, o as canonicalAgentProfileValue, r as agentProfileSchema } from "./profile-schema-C1KpT-wS.js";
6
- import { C as StateError, E as ValidationError, F as SANDBOX_AGENT_HOME, I as SANDBOX_FILE_API_ABSOLUTE_ROOTS, L as isProfileFileMountOutsideRoots, M as FILE_OPERATION_LIMITS, P as PROFILE_FILE_MOUNT_OUTSIDE_ROOTS_CODE, R as profileFileMountOutsideRootsMessage, S as ServerError, T as TimeoutError, a as AuthError, c as CompliancePlacementError, f as GpuProviderNotConfiguredError, g as NotFoundError, h as NetworkError, i as readResponseJson, j as SANDBOX_PROXY_REQUEST_MAX_BYTES, l as EdgeNotReadyError, m as NON_RETRYABLE_CREATE_QUOTA_REASONS, n as parseErrorResponse, r as parseResponseError, s as CapabilityError, t as TerminalStreamError, v as ProfileFileMountPathError, w as StreamInterruptedError, x as SandboxError, y as QuotaError } from "./errors-BUzH7U1D.js";
7
- import { i as delayUntilAborted, n as awaitWithAbort, r as combineAbortSignals, t as abortableSleep } from "./abort-signal-Cu4F2VVz.js";
8
- import { t as rewrapResponse } from "./response-rewrap-CpNkboDX.js";
9
- import { n as fetchWithKeepAlive, t as emitTiming } from "./keep-alive-fetch-BbSFbRCd.js";
10
- import { t as SIDECAR_PROXY_ERROR_HEADER } from "./sidecar-proxy-error-5DpLmHeN.js";
11
- import { t as parseSSEStream } from "./sse-parser-DrI47LyG.js";
12
- import { s as uploadChunked } from "./chunked-upload-NjdTMC2n.js";
13
- import { t as runPreparedProcess } from "./prepared-process-BD5LvT7P.js";
14
- import { a as isBackendType, r as cliAuthReferenceSchema } from "./cli-auth-bundle-CwJjUmvo-3J2DDPxW.js";
15
- import "./cli-auth-bundle-Op0k_zIX.js";
16
- import { n as SandboxLines } from "./lines-2fj8i5qd.js";
17
- import { t as downloadFile } from "./file-download-Bo3IypMO.js";
6
+ 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, u as SANDBOX_FILE_API_ABSOLUTE_ROOTS } from "./file-transfer-DTHgLccV.js";
7
+ import { C as StateError, E as ValidationError, S as ServerError, T as TimeoutError, a as AuthError, c as CompliancePlacementError, f as GpuProviderNotConfiguredError, g as NotFoundError, h as NetworkError, i as readResponseJson, l as EdgeNotReadyError, m as NON_RETRYABLE_CREATE_QUOTA_REASONS, n as parseErrorResponse, r as parseResponseError, s as CapabilityError, t as TerminalStreamError, v as ProfileFileMountPathError, w as StreamInterruptedError, x as SandboxError, y as QuotaError } from "./errors-CaX0a5Ry.js";
8
+ import { i as delayUntilAborted, n as awaitWithAbort, r as combineAbortSignals, t as abortableSleep } from "./abort-signal-PgWPMn_e.js";
9
+ import { t as rewrapResponse } from "./response-rewrap-Cjoxh2wZ.js";
10
+ import { n as fetchWithKeepAlive, t as emitTiming } from "./keep-alive-fetch-C2lFwrMA.js";
11
+ import { t as SIDECAR_PROXY_ERROR_HEADER } from "./sidecar-proxy-error-DTJbOAWL.js";
12
+ import { t as parseSSEStream } from "./sse-parser-B4aH89Nq.js";
13
+ import { s as uploadChunked } from "./chunked-upload-vAE2hVcP.js";
14
+ import { t as runPreparedProcess } from "./prepared-process-BWVz93cT.js";
15
+ import { a as isBackendType, r as cliAuthReferenceSchema } from "./cli-auth-bundle-CwJjUmvo-CD3jrgbH.js";
16
+ import "./cli-auth-bundle-MqvlO-rb.js";
17
+ import { n as SandboxLines } from "./lines-DxHJhxCe.js";
18
+ import { t as downloadFile } from "./file-download-BXgu9BNh.js";
18
19
  import { z } from "zod";
19
20
  import { createHash } from "node:crypto";
20
21
  import { constants } from "node:fs";
@@ -3076,7 +3077,7 @@ var DirectRuntimeHttpClient = class {
3076
3077
  };
3077
3078
  if (!route) throw new NetworkError("Direct runtime route was withdrawn");
3078
3079
  if ((route.useHost || route.useExec) && canUseNodeHttp2()) {
3079
- const { fetchDirectHttp2 } = await import("./direct-http2-Bojg02xf.js");
3080
+ const { fetchDirectHttp2 } = await import("./direct-http2-Bqtn2jg3.js");
3080
3081
  return fetchDirectHttp2(route.url, request, timing);
3081
3082
  }
3082
3083
  return fetchWithKeepAlive(route.url, request, timing);
@@ -8826,7 +8827,7 @@ var SandboxInteractiveCapabilities = class extends SandboxPromptCapabilities {
8826
8827
  var SandboxSessionEvidenceCapabilities = class extends SandboxInteractiveCapabilities {
8827
8828
  /** @internal — invoked before the sandbox is deleted. */
8828
8829
  async _sessionExportRawEvidence(id, destination, options) {
8829
- const { exportRawEvidenceDirectory } = await import("./raw-evidence-archive-0S8tObzw.js");
8830
+ const { exportRawEvidenceDirectory } = await import("./raw-evidence-archive-CgbWa4es.js");
8830
8831
  await this.ensureRunning();
8831
8832
  await this.refresh();
8832
8833
  return exportRawEvidenceDirectory((signal, archiveId, cancel) => this.runtimeFetch(`/agents/sessions/${encodeURIComponent(id)}/raw-evidence/archive?${new URLSearchParams([
@@ -8857,7 +8858,7 @@ var SandboxSessionEvidenceCapabilities = class extends SandboxInteractiveCapabil
8857
8858
  * and the byte and file bounds are verified before the directory appears.
8858
8859
  */
8859
8860
  async exportRawEvidence(destination, options) {
8860
- const { exportRawEvidenceDirectory } = await import("./raw-evidence-archive-0S8tObzw.js");
8861
+ const { exportRawEvidenceDirectory } = await import("./raw-evidence-archive-CgbWa4es.js");
8861
8862
  await this.ensureRunning();
8862
8863
  await this.refresh();
8863
8864
  return exportRawEvidenceDirectory((signal, archiveId, cancel) => this.runtimeFetch(`/agents/raw-evidence/archive?${new URLSearchParams({
@@ -10964,7 +10965,7 @@ var SandboxFilesystemOperations = class extends DeclaredFilesystemOperations {
10964
10965
  totalBytes: size,
10965
10966
  percentage: 0
10966
10967
  });
10967
- const { uploadChunkedFromFile } = await import("./chunked-upload-file-Z-KNaobQ.js");
10968
+ const { uploadChunkedFromFile } = await import("./chunked-upload-file-HLSriv3V.js");
10968
10969
  await uploadChunkedFromFile({ fetch: (path, init) => this.host.runtimeFetch(path, init) }, remotePath, localPath, {
10969
10970
  mode: options?.permissions,
10970
10971
  onProgress: options?.onProgress ? (progress) => {
@@ -1,4 +1,4 @@
1
- import { a as anumber, c as concatBytes$1, f as randomBytes, h as toBytes, i as ahash, l as createHasher$1, n as abytes$1, o as aoutput, p as rotr, r as aexists, s as clean, t as Hash, u as createView, x as split } from "./utils-vaFoyyiO.js";
1
+ import { a as anumber, c as concatBytes$1, f as randomBytes, h as toBytes, i as ahash, l as createHasher$1, n as abytes$1, o as aoutput, p as rotr, r as aexists, s as clean, t as Hash, u as createView, x as split } from "./utils-CK-x8vXj.js";
2
2
  //#region ../../../node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/_md.js
3
3
  /**
4
4
  * Internal Merkle-Damgard hash utils.
@@ -1,4 +1,4 @@
1
- import { ft as SeatOwnerTransport } from "./client-CDhg9KTL.js";
1
+ import { ft as SeatOwnerTransport } from "./client-Izg3-BU0.js";
2
2
 
3
3
  //#region src/select-seat-command.d.ts
4
4
  /** Public reply bound; the owner prints one metadata object. */
@@ -1,4 +1,4 @@
1
- import { E as ValidationError, x as SandboxError } from "./errors-BUzH7U1D.js";
1
+ import { E as ValidationError, x as SandboxError } from "./errors-CaX0a5Ry.js";
2
2
  import { spawn } from "node:child_process";
3
3
  //#region src/select-seat-command.ts
4
4
  /**
@@ -1,6 +1,6 @@
1
- import { r as combineAbortSignals } from "../abort-signal-Cu4F2VVz.js";
2
- import "../sidecar-proxy-error-5DpLmHeN.js";
3
- import { t as parseSSEStream } from "../sse-parser-DrI47LyG.js";
1
+ import { r as combineAbortSignals } from "../abort-signal-PgWPMn_e.js";
2
+ import "../sidecar-proxy-error-DTJbOAWL.js";
3
+ import { t as parseSSEStream } from "../sse-parser-B4aH89Nq.js";
4
4
  //#region ../../../packages/runtime-contracts/dist/session-gateway.js
5
5
  /**
6
6
  * Calculate connection quality from metrics.
@@ -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-C03nLH88.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-JfBawP6-.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,2 +1,2 @@
1
- import { _ as SandboxCreateParamTypes, a as parseQuoteResponse, c as OperatorSession, d as TANGLE_JOBS_CONTRACT, f as ITangleJobsAbi, g as JsonResponseParamTypes, h as JOB_SANDBOX_DELETE, i as jobQuoteDigest, l as OperatorSessionError, m as JOB_SANDBOX_CREATE, n as fetchQuote, o as validateQuote, p as AgentSandboxBlueprintAbi, r as inputsHashOf, s as BlueprintSandboxClient, t as QuoteError, u as TANGLE_CHAIN_ID, v as SandboxCreateResponseParamTypes, y as SandboxIdParamTypes } from "../tangle-Bm5sav8z.js";
1
+ import { _ as SandboxCreateParamTypes, a as parseQuoteResponse, c as OperatorSession, d as TANGLE_JOBS_CONTRACT, f as ITangleJobsAbi, g as JsonResponseParamTypes, h as JOB_SANDBOX_DELETE, i as jobQuoteDigest, l as OperatorSessionError, m as JOB_SANDBOX_CREATE, n as fetchQuote, o as validateQuote, p as AgentSandboxBlueprintAbi, r as inputsHashOf, s as BlueprintSandboxClient, t as QuoteError, u as TANGLE_CHAIN_ID, v as SandboxCreateResponseParamTypes, y as SandboxIdParamTypes } from "../tangle-ClUGDa3P.js";
2
2
  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 { M as readFilesystemIncarnationTuple, n as createSandboxInstanceFromResponse } from "./sandbox-PeS-A7or.js";
2
- import { i as readResponseJson } from "./errors-BUzH7U1D.js";
3
- import { _ as rotlBH, a as anumber, b as rotlSL, d as createXOFer, g as u32, h as toBytes$1, l as createHasher, m as swap32IfBE, n as abytes, o as aoutput, r as aexists, s as clean, t as Hash, v as rotlBL, x as split, y as rotlSH } from "./utils-vaFoyyiO.js";
1
+ import { M as readFilesystemIncarnationTuple, n as createSandboxInstanceFromResponse } from "./sandbox-Bg0m9FyB.js";
2
+ import { i as readResponseJson } from "./errors-CaX0a5Ry.js";
3
+ import { _ as rotlBH, a as anumber, b as rotlSL, d as createXOFer, g as u32, h as toBytes$1, l as createHasher, m as swap32IfBE, n as abytes, o as aoutput, r as aexists, s as clean, t as Hash, v as rotlBL, x as split, y as rotlSH } from "./utils-CK-x8vXj.js";
4
4
  //#region ../../../packages/runtime-contracts/dist/tangle-blueprint-abi.js
5
5
  /**
6
6
  * Tangle blueprint wire contract shared by the orchestrator's Tangle driver and
@@ -2712,7 +2712,7 @@ function isAddressEqual(a, b) {
2712
2712
  //#region ../../../node_modules/.pnpm/viem@2.57.11_bufferutil@4.1.0_typescript@6.0.3_utf-8-validate@5.0.10_zod@4.6.6/node_modules/viem/_esm/utils/signature/recoverPublicKey.js
2713
2713
  async function recoverPublicKey({ hash, signature }) {
2714
2714
  const hashHex = isHex(hash) ? hash : toHex(hash);
2715
- const { secp256k1 } = await import("./secp256k1-CZWrpqxW.js");
2715
+ const { secp256k1 } = await import("./secp256k1-Cbp9tbkX.js");
2716
2716
  return `0x${(() => {
2717
2717
  if (typeof signature === "object" && "r" in signature && "s" in signature) {
2718
2718
  const { r, s, v, yParity } = signature;
@@ -1,5 +1,5 @@
1
- import { $ as ProxySecretReceipt, At as SandboxCreateReceipt, G as AgentProfileConfidential, L as AgentExactRunControlRef, Q as ReasoningEffort, U as AgentProfile, V as InteractionRequest, W as AgentProfileCapabilities, Z as AgentProfileValidationResult, a as TerminalStreamOptions, b as SandboxSizePreset, g as TerminalReadyInfo, i as TerminalStreamHandlers, s as TerminalStreamToken, t as TerminalAttachTimings, tt as PlanContinuation, x as AgentRuntimeAttachments } from "./terminal-stream-types-C6N_wrmY.js";
2
- import { t as CliAuthReference } from "./cli-auth-bundle-COQ25k3d.js";
1
+ import { $ as ProxySecretReceipt, At as SandboxCreateReceipt, G as AgentProfileConfidential, L as AgentExactRunControlRef, Q as ReasoningEffort, U as AgentProfile, V as InteractionRequest, W as AgentProfileCapabilities, Z as AgentProfileValidationResult, a as TerminalStreamOptions, b as SandboxSizePreset, g as TerminalReadyInfo, i as TerminalStreamHandlers, s as TerminalStreamToken, t as TerminalAttachTimings, tt as PlanContinuation, x as AgentRuntimeAttachments } from "./terminal-stream-types-1YKRrkZB.js";
2
+ import { t as CliAuthReference } from "./cli-auth-bundle-Wg3x2hd2.js";
3
3
  import { z } from "zod";
4
4
  //#region ../../../packages/runtime-contracts/dist/backend-types.d.ts
5
5
  /** This distribution's backend vocabulary. Gemini is only a backing transport, not a direct backend. */
@@ -6762,7 +6762,7 @@ interface CreateSandboxFleetOptions {
6762
6762
  parent?: SandboxFleetParent;
6763
6763
  /** Fleet-level metadata copied to each sandbox under stable tags. */
6764
6764
  metadata?: Record<string, unknown>;
6765
- /** Workspace policy for isolated or driver-supported shared mounts. */
6765
+ /** Workspace policy. No driver supports `shared` yet; create rejects it. */
6766
6766
  workspace?: SandboxFleetWorkspace;
6767
6767
  /**
6768
6768
  * Client-side safety caps for this create call. These do not replace
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/sandbox",
3
- "version": "1.0.170",
3
+ "version": "1.0.171",
4
4
  "description": "Client SDK for the Tangle Sandbox platform - build AI agent applications with dev containers",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -153,15 +153,15 @@
153
153
  "vitest": "^4.1.12",
154
154
  "ws": "^8.22.0",
155
155
  "yjs": "13.6.33",
156
- "@repo/shared": "0.0.0",
157
156
  "@products/sandbox-test-utils": "0.0.0",
158
- "@tangle-network/agent-profile-materialize": "0.27.1",
159
157
  "@tangle-network/cli-agent-registry": "0.15.0",
160
- "@tangle-network/runtime-contracts": "0.20.0"
158
+ "@repo/shared": "0.0.0",
159
+ "@tangle-network/runtime-contracts": "0.20.0",
160
+ "@tangle-network/agent-profile-materialize": "0.27.1"
161
161
  },
162
162
  "tangleRelease": {
163
- "sourceSha": "4f4a702a9a4392289e3be701429ef438a2113d40",
164
- "mergedAt": "2026-11-01T16:56:36-08:00"
163
+ "sourceSha": "7616ad36ce6f579430732b0575678ebad52050c8",
164
+ "mergedAt": "2026-11-01T18:23:43-08:00"
165
165
  },
166
166
  "scripts": {
167
167
  "build": "node scripts/build-dist.mjs",
@@ -1,2 +0,0 @@
1
- import "./cli-auth-bundle-CwJjUmvo-3J2DDPxW.js";
2
- export {};
File without changes