@tangle-network/sandbox 1.0.427 → 1.0.429

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-DXctPOwJ.d.ts} +2 -2
  8. package/dist/{api-request-BIR0iJf9.js → api-request-ati_rM95.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-BcUiXqYy.js → browser-interactive-control-controller-BnZd0wnt.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-vsCsGgg1.d.ts → client-BfY4DQiD.d.ts} +70 -26
  17. package/dist/{client-9WUbvbSo.js → client-WbbvZtRX.js} +14 -6
  18. package/dist/collaboration/index.js +1 -1
  19. package/dist/{collaboration-C-GIluQw.js → collaboration-CFuwyZbj.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-B3cGwaZF.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-D0uhx4eQ.d.ts} +4 -4
  32. package/dist/{interactive-controller-CR0_sZqd.js → interactive-controller-lYjolooE.js} +5 -5
  33. package/dist/{lines-mOLUGPYs.d.ts → lines-Bi4Qt6Tn.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-CO17vtBB.js → mcp-local-CwEMrzKA.js} +2 -2
  37. package/dist/{preview-DF2dYJCH.d.ts → preview-C-D4MroG.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-DeObgXZG.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-BlPDQ-Ev.js → sandbox-Cw7I8sgE.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-BdvjiwfN.js → tangle-CsD0YyfD.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-DKRvNtWx.d.ts} +3 -3
  53. package/package.json +7 -7
  54. package/dist/cli-auth-bundle-Vc_wO6gp.js +0 -2
@@ -1,10 +1,10 @@
1
- import { D as assertCurrentBackendType, E as applyRequestedModel, H as backendTypeSchema, M as withProfileHarness, N as withoutCreateOnlyModelFields, T as isBrowserRuntime, k as normalizeRuntimeBackendConfig, o as requestInteractiveSessionToken, x as encodePromptForWire } from "./interactive-controller-CR0_sZqd.js";
2
- import { r as agentProfileSchema } from "./profile-schema-BuXg-MCu.js";
3
- import { $ as isRateLimitCreateError, B as normalizeConnection, E as validateDeferredProfileFileMounts, F as normalizeSandboxCreateReceipt, G as CAPACITY_ETA_WAIT_MAX_MS, H as normalizeProxySecretReceipt, I as normalizeStartupDiagnostics, J as createRetryDelayMs, K as DEPLOY_WINDOW_RETRY_MS, P as normalizeCaptureProof, Q as isDeployWindowCreateError, R as dateOf, T as splitInlineProfileSkills, U as normalizeSandboxShape, V as normalizeEgressPolicyFields, W as CAPACITY_ETA_MARGIN_MS, X as generateIdempotencyKey, Y as extendableDeadline, Z as isCapacityShortageCreateError, d as sandboxLedgerUsd, et as isRetryableCreateError, n as createSandboxInstanceFromResponse, o as exportTraceBundle, q as awaitCreateResend, tt as runtimeWorkspaceCwdSchema, w as splitInlineProfileFileMounts, x as deleteSandbox, z as parseLifecycleTimes } from "./sandbox-BlPDQ-Ev.js";
1
+ import { D as assertCurrentBackendType, E as applyRequestedModel, H as backendTypeSchema, M as withProfileHarness, N as withoutCreateOnlyModelFields, T as isBrowserRuntime, k as normalizeRuntimeBackendConfig, o as requestInteractiveSessionToken, x as encodePromptForWire } from "./interactive-controller-lYjolooE.js";
2
+ import { r as agentProfileSchema } from "./profile-schema-B48XymtK.js";
3
+ import { $ as isRateLimitCreateError, B as normalizeConnection, E as validateDeferredProfileFileMounts, F as normalizeSandboxCreateReceipt, G as CAPACITY_ETA_WAIT_MAX_MS, H as normalizeProxySecretReceipt, I as normalizeStartupDiagnostics, J as createRetryDelayMs, K as DEPLOY_WINDOW_RETRY_MS, P as normalizeCaptureProof, Q as isDeployWindowCreateError, R as dateOf, T as splitInlineProfileSkills, U as normalizeSandboxShape, V as normalizeEgressPolicyFields, W as CAPACITY_ETA_MARGIN_MS, X as generateIdempotencyKey, Y as extendableDeadline, Z as isCapacityShortageCreateError, d as sandboxLedgerUsd, et as isRetryableCreateError, n as createSandboxInstanceFromResponse, o as exportTraceBundle, q as awaitCreateResend, tt as runtimeWorkspaceCwdSchema, w as splitInlineProfileFileMounts, x as deleteSandbox, z as parseLifecycleTimes } from "./sandbox-Cw7I8sgE.js";
4
4
  import { C as SandboxError, D as TimeoutError, O as ValidationError, _ as NetworkError, a as readResponseJson, c as AuthError, i as parseResponseError, r as parseErrorResponse, v as NotFoundError, w as ServerError, y as PartialFailureError } from "./errors-DNmfKxwE.js";
5
5
  import { n as combineAbortSignals } from "./abort-signal-BsriwJ8L.js";
6
6
  import { r as abortableSleep, t as RETRY_POLICY } from "./retry-policy-oW3_ljoc.js";
7
- import { i as fetchSandboxApi, n as SDK_TIMEOUTS } from "./api-request-BIR0iJf9.js";
7
+ import { i as fetchSandboxApi, n as SDK_TIMEOUTS } from "./api-request-ati_rM95.js";
8
8
  import { l as SANDBOX_AGENT_HOME } from "./file-transfer-DOSTbUSR.js";
9
9
  import { n as fetchWithKeepAlive, t as emitTiming } from "./keep-alive-fetch-sGVP8skk.js";
10
10
  import { t as parseSSEStream } from "./sse-parser-BCG3iL9j.js";
@@ -1213,11 +1213,11 @@ function isLocalSandboxEndpoint(baseUrl) {
1213
1213
  }
1214
1214
  }
1215
1215
  async function resolveLocalCliAuthFiles(backendType) {
1216
- const { discoverLocalCliAuthFiles } = await import("./local-cli-auth-TXcQXucY.js");
1216
+ const { discoverLocalCliAuthFiles } = await import("./local-cli-auth-B88ar8lp.js");
1217
1217
  return discoverLocalCliAuthFiles(backendType);
1218
1218
  }
1219
1219
  async function loadLocalCliAuthExpectation(backendType) {
1220
- const { describeLocalCliAuthExpectation: describe } = await import("./local-cli-auth-TXcQXucY.js");
1220
+ const { describeLocalCliAuthExpectation: describe } = await import("./local-cli-auth-B88ar8lp.js");
1221
1221
  return describe(backendType);
1222
1222
  }
1223
1223
  /**
@@ -4491,6 +4491,14 @@ var Sandbox = class Sandbox extends SandboxBatch {
4491
4491
  if (!this._publicTemplates) this._publicTemplates = new PublicTemplatesClient(this);
4492
4492
  return this._publicTemplates;
4493
4493
  }
4494
+ /** Save a private template from a snapshot captured in a sandbox you own. */
4495
+ async createTemplate(input) {
4496
+ const { template } = await readResponseJson(await this.fetch("/v1/templates", {
4497
+ method: "POST",
4498
+ body: JSON.stringify(input)
4499
+ }));
4500
+ return template;
4501
+ }
4494
4502
  constructor(config) {
4495
4503
  super(config);
4496
4504
  }
@@ -1,2 +1,2 @@
1
- import { a as CollaborationClient, i as parseCollaborationDocumentId, n as buildCollaborationDocumentId, r as normalizeCollaborationPath, t as CollaborationFileBridge } from "../collaboration-C-GIluQw.js";
1
+ import { a as CollaborationClient, i as parseCollaborationDocumentId, n as buildCollaborationDocumentId, r as normalizeCollaborationPath, t as CollaborationFileBridge } from "../collaboration-CFuwyZbj.js";
2
2
  export { CollaborationClient, CollaborationFileBridge, buildCollaborationDocumentId, normalizeCollaborationPath, parseCollaborationDocumentId };
@@ -1,5 +1,5 @@
1
1
  import { D as TimeoutError, _ as NetworkError, r as parseErrorResponse } from "./errors-DNmfKxwE.js";
2
- import { i as fetchSandboxApi } from "./api-request-BIR0iJf9.js";
2
+ import { i as fetchSandboxApi } from "./api-request-ati_rM95.js";
3
3
  //#region src/collaboration/client.ts
4
4
  function normalizeBaseUrl(url) {
5
5
  return url.replace(/\/+$/, "");
package/dist/core.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { B as WorkspaceImages, H as WorkspaceImagePublishResult, O as SandboxInstance, U as ProfileFileDeliveryReport, V as WorkspaceImagePublishInput, z as WorkspaceImagePublishRequestOptions } from "./index-DzGflA-b.js";
2
- 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, b as parseErrorResponse, q as ValidationError, w as CapabilityError, x as responseMetadata, z as SandboxErrorJson } from "./terminal-stream-types-iOZjIxLK.js";
3
- import { It as SandboxInfo, Ja as SandboxEnvRecovery, Jn as ExecOptions, Ka as ExecResult, Li as ConversationTurnOptions, Ri as ConversationTurnResult, Si as PromptInputPart, Ya as SandboxEnvRecoveryView, _r as ManagedProcessResumeOptions, aa as SessionMessageAdmission, b as PreviewLinkManager, br as ManagedProcessSpec, dn as NetworkConfig, gr as ManagedProcessOptions, hr as ManagedProcessJobs, nn as CreateSandboxOptions, on as SandboxStatus, rn as SandboxConfig, vr as ManagedProcessState, x as PreviewLinkWaitOptions, y as PreviewLinkInfo, yr as ManagedProcessRecord } from "./types-BYIgnmzV.js";
4
- import { D as LineReplyCode, E as LineReminderPreferences, F as LineSenderVerification, G as LineApplicationRequest, H as LINE_APPLICATION_REPLY_MAX_CHARS, I as LineSenderVerificationStart, J as LineApplicationView, K as LineApplicationResult, N as LineSendInput, O as LineReplyCodeInput, P as LineSendReceipt, T as LineProvider, U as LINE_APPLICATION_REQUEST_MAX_BYTES, W as LineApplication, X as parseLineApplicationResult, Y as parseLineApplicationRequest, _ as LineInstanceCreate, a as Line, b as LineMemberInstance, d as LineAttachment, f as LineAttachmentReauthorization, g as LineInstanceAttachOptions, h as LineImage, i as profileChannelReference, l as LineApplicationAttachOptions, o as LineAgentRolePolicy, p as LineExecutionKey, q as LineApplicationState, r as lineInstanceKey, t as LinesClient, w as LineNumberInventory, y as LineMember } from "./lines-mOLUGPYs.js";
5
- import { At as InstancesClient, Ct as ManagedProcessClient, Dt as InstanceRecord, Et as InstanceProfile, Mt as sandboxFailureKind, Ot as InstanceRestartingError, St as gatewaySeatTransport, Tt as HostedInstance, _t as SeatOwnerTransport, an as BackendRegistryCapabilities, bt as SeatSelectionRequest, cn as BackendRegistryResponse, dn as backendRegistryInteractionKindSchema, dt as GatewaySeatTransportOptions, fn as backendRegistryResponseSchema, gt as SeatOwnerReply, hn as parseBackendRegistryResponseBody, ht as SandboxSeatSelectionInput, jt as SandboxFailureKind, ln as backendRegistryCapabilitiesSchema, lt as ISOLATED_CREATION_ATTESTATION_VERSION, mn as parseBackendRegistryResponse, mt as SandboxSeatCredentials, on as BackendRegistryEntry, pn as isBackendRegistryInteractionKind, pt as SandboxResolvedSeat, sn as BackendRegistryInteractionKind, t as Sandbox, un as backendRegistryEntrySchema, ut as CreateSelectSeatOptions, vt as SeatResolutionObservation, wt as EnsureInstanceOptions, xt as createSelectSeat, yt as SeatSelectionError } from "./client-vsCsGgg1.js";
6
- import { a as PublicTemplatesClient, i as PublicTemplatePublishRequestOptions, n as PublicTemplatePublishError, r as PublicTemplatePublishJob, t as PublicTemplatePublishArtifact } from "./public-templates-Bw4PJ99r.js";
1
+ import { B as WorkspaceImages, H as WorkspaceImagePublishResult, O as SandboxInstance, U as ProfileFileDeliveryReport, V as WorkspaceImagePublishInput, z as WorkspaceImagePublishRequestOptions } from "./index-B3cGwaZF.js";
2
+ 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, b as parseErrorResponse, q as ValidationError, w as CapabilityError, x as responseMetadata, z as SandboxErrorJson } from "./terminal-stream-types-cEwFyagj.js";
3
+ import { It as SandboxInfo, Ja as SandboxEnvRecovery, Jn as ExecOptions, Ka as ExecResult, Li as ConversationTurnOptions, Ri as ConversationTurnResult, Si as PromptInputPart, Ya as SandboxEnvRecoveryView, _r as ManagedProcessResumeOptions, aa as SessionMessageAdmission, b as PreviewLinkManager, br as ManagedProcessSpec, dn as NetworkConfig, gr as ManagedProcessOptions, hr as ManagedProcessJobs, nn as CreateSandboxOptions, on as SandboxStatus, rn as SandboxConfig, vr as ManagedProcessState, x as PreviewLinkWaitOptions, y as PreviewLinkInfo, yr as ManagedProcessRecord } from "./types-DKRvNtWx.js";
4
+ import { D as LineReplyCode, E as LineReminderPreferences, F as LineSenderVerification, G as LineApplicationRequest, H as LINE_APPLICATION_REPLY_MAX_CHARS, I as LineSenderVerificationStart, J as LineApplicationView, K as LineApplicationResult, N as LineSendInput, O as LineReplyCodeInput, P as LineSendReceipt, T as LineProvider, U as LINE_APPLICATION_REQUEST_MAX_BYTES, W as LineApplication, X as parseLineApplicationResult, Y as parseLineApplicationRequest, _ as LineInstanceCreate, a as Line, b as LineMemberInstance, d as LineAttachment, f as LineAttachmentReauthorization, g as LineInstanceAttachOptions, h as LineImage, i as profileChannelReference, l as LineApplicationAttachOptions, o as LineAgentRolePolicy, p as LineExecutionKey, q as LineApplicationState, r as lineInstanceKey, t as LinesClient, w as LineNumberInventory, y as LineMember } from "./lines-Bi4Qt6Tn.js";
5
+ import { At as InstancesClient, Ct as ManagedProcessClient, Dt as InstanceRecord, Et as InstanceProfile, Mt as sandboxFailureKind, Ot as InstanceRestartingError, St as gatewaySeatTransport, Tt as HostedInstance, _t as SeatOwnerTransport, an as BackendRegistryCapabilities, bt as SeatSelectionRequest, cn as BackendRegistryResponse, dn as backendRegistryInteractionKindSchema, dt as GatewaySeatTransportOptions, fn as backendRegistryResponseSchema, gt as SeatOwnerReply, hn as parseBackendRegistryResponseBody, ht as SandboxSeatSelectionInput, jt as SandboxFailureKind, ln as backendRegistryCapabilitiesSchema, lt as ISOLATED_CREATION_ATTESTATION_VERSION, mn as parseBackendRegistryResponse, mt as SandboxSeatCredentials, on as BackendRegistryEntry, pn as isBackendRegistryInteractionKind, pt as SandboxResolvedSeat, sn as BackendRegistryInteractionKind, t as Sandbox, un as backendRegistryEntrySchema, ut as CreateSelectSeatOptions, vt as SeatResolutionObservation, wt as EnsureInstanceOptions, xt as createSelectSeat, yt as SeatSelectionError } from "./client-BfY4DQiD.js";
6
+ import { a as PublicTemplatesClient, i as PublicTemplatePublishRequestOptions, n as PublicTemplatePublishError, r as PublicTemplatePublishJob, t as PublicTemplatePublishArtifact } from "./public-templates-DeObgXZG.js";
7
7
  export { AuthError, BackendRegistryCapabilities, BackendRegistryEntry, BackendRegistryInteractionKind, BackendRegistryResponse, CapabilityError, ConversationTurnOptions, ConversationTurnResult, CreateSandboxOptions, CreateSelectSeatOptions, EnsureInstanceOptions, ExecOptions, ExecResult, FileWriteConflictError, GatewaySeatTransportOptions, HostedInstance, ISOLATED_CREATION_ATTESTATION_VERSION, InstanceProfile, InstanceRecord, InstanceRestartingError, InstancesClient, LINE_APPLICATION_REPLY_MAX_CHARS, LINE_APPLICATION_REQUEST_MAX_BYTES, Line, LineAgentRolePolicy, LineApplication, LineApplicationAttachOptions, LineApplicationRequest, LineApplicationResult, LineApplicationState, LineApplicationView, LineAttachment, LineAttachmentReauthorization, LineExecutionKey, LineImage, LineInstanceAttachOptions, LineInstanceCreate, LineMember, LineMemberInstance, LineNumberInventory, LineProvider, LineReminderPreferences, LineReplyCode, LineReplyCodeInput, LineSendInput, LineSendReceipt, LineSenderVerification, LineSenderVerificationStart, LinesClient, ManagedProcessClient, ManagedProcessJobs, ManagedProcessOptions, ManagedProcessRecord, ManagedProcessResumeOptions, ManagedProcessSpec, ManagedProcessState, NetworkConfig, NetworkError, NotFoundError, PartialFailureError, PreviewLinkInfo, PreviewLinkManager, PreviewLinkWaitOptions, ProfileFileDeliveryReport, ProfileFileMountPathError, PromptInputPart, PublicTemplatePublishArtifact, PublicTemplatePublishError, PublicTemplatePublishJob, PublicTemplatePublishRequestOptions, PublicTemplatesClient, QuotaError, Sandbox, SandboxConfig, SandboxEnvRecovery, SandboxEnvRecoveryView, SandboxError, SandboxErrorJson, SandboxFailureDetail, SandboxFailureKind, SandboxInfo, SandboxInstance, SandboxResolvedSeat, SandboxSeatCredentials, SandboxSeatSelectionInput, SandboxStatus, SeatOwnerReply, SeatOwnerTransport, SeatResolutionObservation, SeatSelectionError, SeatSelectionRequest, ServerError, SessionMessageAdmission, StateError, TimeoutError, ValidationError, WorkspaceImagePublishInput, WorkspaceImagePublishRequestOptions, WorkspaceImagePublishResult, WorkspaceImages, backendRegistryCapabilitiesSchema, backendRegistryEntrySchema, backendRegistryInteractionKindSchema, backendRegistryResponseSchema, createSelectSeat, gatewaySeatTransport, isBackendRegistryInteractionKind, lineInstanceKey, parseBackendRegistryResponse, parseBackendRegistryResponseBody, parseErrorResponse, parseLineApplicationRequest, parseLineApplicationResult, profileChannelReference, responseMetadata, sandboxFailureKind };
package/dist/core.js CHANGED
@@ -1,8 +1,8 @@
1
- import { S as ManagedProcessClient, r as WorkspaceImages, t as SandboxInstance } from "./sandbox-BlPDQ-Ev.js";
1
+ import { S as ManagedProcessClient, r as WorkspaceImages, t as SandboxInstance } from "./sandbox-Cw7I8sgE.js";
2
2
  import { C as SandboxError, D as TimeoutError, O as ValidationError, T as StateError, _ as NetworkError, b as ProfileFileMountPathError, c as AuthError, m as FileWriteConflictError, o as responseMetadata, r as parseErrorResponse, u as CapabilityError, v as NotFoundError, w as ServerError, x as QuotaError, y as PartialFailureError } from "./errors-DNmfKxwE.js";
3
- import { a as InstancesClient, c as backendRegistryCapabilitiesSchema, d as backendRegistryResponseSchema, f as isBackendRegistryInteractionKind, i as InstanceRestartingError, l as backendRegistryEntrySchema, m as parseBackendRegistryResponseBody, p as parseBackendRegistryResponse, r as HostedInstance, t as Sandbox, u as backendRegistryInteractionKindSchema } from "./client-9WUbvbSo.js";
3
+ import { a as InstancesClient, c as backendRegistryCapabilitiesSchema, d as backendRegistryResponseSchema, f as isBackendRegistryInteractionKind, i as InstanceRestartingError, l as backendRegistryEntrySchema, m as parseBackendRegistryResponseBody, p as parseBackendRegistryResponse, r as HostedInstance, t as Sandbox, u as backendRegistryInteractionKindSchema } from "./client-WbbvZtRX.js";
4
4
  import { i as profileChannelReference, r as lineInstanceKey, t as LinesClient } from "./lines-DjZMcB7V.js";
5
5
  import { PublicTemplatePublishError, PublicTemplatesClient } from "./public-templates.js";
6
6
  import { a as parseLineApplicationResult, i as parseLineApplicationRequest, n as LINE_APPLICATION_REPLY_MAX_CHARS, o as sandboxFailureKind, r as LINE_APPLICATION_REQUEST_MAX_BYTES, t as ISOLATED_CREATION_ATTESTATION_VERSION } from "./core-CBWUEURz.js";
7
- import { a as createSelectSeat, i as SeatSelectionError, o as gatewaySeatTransport } from "./select-seat-BbTGujaf.js";
7
+ import { a as createSelectSeat, i as SeatSelectionError, o as gatewaySeatTransport } from "./select-seat-Yn1FgzO8.js";
8
8
  export { AuthError, CapabilityError, FileWriteConflictError, HostedInstance, ISOLATED_CREATION_ATTESTATION_VERSION, InstanceRestartingError, InstancesClient, LINE_APPLICATION_REPLY_MAX_CHARS, LINE_APPLICATION_REQUEST_MAX_BYTES, LinesClient, ManagedProcessClient, NetworkError, NotFoundError, PartialFailureError, ProfileFileMountPathError, PublicTemplatePublishError, PublicTemplatesClient, QuotaError, Sandbox, SandboxError, SandboxInstance, SeatSelectionError, ServerError, StateError, TimeoutError, ValidationError, WorkspaceImages, backendRegistryCapabilitiesSchema, backendRegistryEntrySchema, backendRegistryInteractionKindSchema, backendRegistryResponseSchema, createSelectSeat, gatewaySeatTransport, isBackendRegistryInteractionKind, lineInstanceKey, parseBackendRegistryResponse, parseBackendRegistryResponseBody, parseErrorResponse, parseLineApplicationRequest, parseLineApplicationResult, profileChannelReference, responseMetadata, sandboxFailureKind };
@@ -1,4 +1,4 @@
1
- import { i as fetchSandboxApi } from "../api-request-BIR0iJf9.js";
1
+ import { i as fetchSandboxApi } from "../api-request-ati_rM95.js";
2
2
  import { t as ITangleJobsAbi } from "../abi-pcDt2Adp.js";
3
3
  import { createPublicClient, createWalletClient, decodeAbiParameters, encodeAbiParameters, encodeFunctionData, hexToBytes, http, keccak256, parseAbi, parseAbiParameters, parseEventLogs, recoverMessageAddress, stringToHex } from "viem";
4
4
  import { privateKeyToAccount } from "viem/accounts";
@@ -1,6 +1,6 @@
1
1
  import { t as sha256 } from "./sha2--74Uh_Sg.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/contract-limits.js
3
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/contract-limits.js
4
4
  /** Limits applied before a value is hashed, copied, or sent to a provider. */
5
5
  const CONTRACT_MAX_STRING_LENGTH = 16384;
6
6
  /** Maximum length of one canonical confidential-attestation quote. */
@@ -144,7 +144,7 @@ const boundedEventContentJsonSchema = z.custom(isBoundedEventContentJson, { mess
144
144
  const boundedEventContentRecordSchema = z.custom((value) => typeof value === "object" && value !== null && !Array.isArray(value) && isBoundedEventContentJson(value), { message: "event content exceeds its serialized byte bound or is not a JSON object" });
145
145
  const boundedEventContentStringSchema = z.custom((value) => typeof value === "string" && isBoundedEventContentJson(value), { message: "event content exceeds its serialized byte bound or is not a string" });
146
146
  //#endregion
147
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.23/node_modules/@tangle-network/agent-interface/dist/agent-candidate-schema-common.js
147
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/agent-candidate-schema-common.js
148
148
  const sha256Pattern = /^sha256:[a-f0-9]{64}$/;
149
149
  const gitObjectPattern = /^(?:[a-f0-9]{40}|[a-f0-9]{64})$/;
150
150
  const environmentNamePattern = /^[A-Za-z_][A-Za-z0-9_]*$/;
@@ -170,30 +170,54 @@ z.string().regex(gitObjectPattern);
170
170
  const environmentNameSchema = z.string().regex(environmentNamePattern);
171
171
  const headerNameSchema = z.string().regex(headerNamePattern);
172
172
  z.string().regex(mediaTypePattern);
173
- function sha256Bytes(value) {
174
- const bytes = sha256(value);
173
+ function digestHex(bytes) {
175
174
  return `sha256:${Array.from(bytes, (byte) => byte.toString(16).padStart(2, "0")).join("")}`;
176
175
  }
177
176
  /** RFC 8785 serialization used by every candidate-producing package. */
178
177
  function canonicalCandidateJson(value) {
179
- if (!isCanonicalJsonValue(value)) throw new Error("candidate document must be finite, acyclic RFC 8785 JSON");
180
- return serializeCanonicalCandidate(value);
181
- }
182
- function canonicalCandidateBytes(value) {
183
- return new TextEncoder().encode(canonicalCandidateJson(value));
178
+ const parts = [];
179
+ writeCanonicalCandidate(value, (part) => parts.push(part));
180
+ return parts.join("");
184
181
  }
182
+ /** The digest of {@link canonicalCandidateBytes}, hashed piece by piece: memory stays near the value's own size, not several times its encoding. */
185
183
  function canonicalCandidateDigest(value) {
186
- return sha256Bytes(canonicalCandidateBytes(value));
184
+ const hash = sha256.create();
185
+ const encoder = new TextEncoder();
186
+ let pending = "";
187
+ writeCanonicalCandidate(value, (part) => {
188
+ pending += part;
189
+ if (pending.length >= 65536) {
190
+ hash.update(encoder.encode(pending));
191
+ pending = "";
192
+ }
193
+ });
194
+ return digestHex(hash.update(encoder.encode(pending)).digest());
187
195
  }
188
196
  function omitTopLevelDigest(value) {
189
197
  const { digest: _digest, ...material } = value;
190
198
  return material;
191
199
  }
192
- function serializeCanonicalCandidate(value) {
193
- if (value === null || typeof value === "boolean" || typeof value === "number") return JSON.stringify(value);
194
- if (typeof value === "string") return JSON.stringify(value);
195
- if (Array.isArray(value)) return `[${value.map(serializeCanonicalCandidate).join(",")}]`;
196
- return `{${Object.keys(value).sort().map((key) => `${JSON.stringify(key)}:${serializeCanonicalCandidate(value[key])}`).join(",")}}`;
200
+ function writeCanonicalCandidate(value, write) {
201
+ if (!isCanonicalJsonValue(value)) throw new Error("candidate document must be finite, acyclic RFC 8785 JSON");
202
+ const walk = (item) => {
203
+ if (item === null || typeof item !== "object") write(JSON.stringify(item));
204
+ else if (Array.isArray(item)) {
205
+ write("[");
206
+ item.forEach((member, index) => {
207
+ if (index > 0) write(",");
208
+ walk(member);
209
+ });
210
+ write("]");
211
+ } else {
212
+ write("{");
213
+ Object.keys(item).sort().forEach((key, index) => {
214
+ write(`${index > 0 ? "," : ""}${JSON.stringify(key)}:`);
215
+ walk(item[key]);
216
+ });
217
+ write("}");
218
+ }
219
+ };
220
+ walk(value);
197
221
  }
198
222
  function isWellFormedUnicode(value) {
199
223
  for (let index = 0; index < value.length; index++) {
@@ -300,7 +324,7 @@ z.object({
300
324
  repo: z.string().regex(githubComponentPattern).refine((value) => value !== "." && value !== "..")
301
325
  }).strict();
302
326
  //#endregion
303
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.23/node_modules/@tangle-network/agent-interface/dist/agent-profile.js
327
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/agent-profile.js
304
328
  /**
305
329
  * Portable reasoning/thinking effort. Backends map it to their native control at materialization:
306
330
  * codex `model_reasoning_effort`, kimi `--thinking`/`--no-thinking`, claude thinking budget.
@@ -328,7 +352,7 @@ function trainedModelIdForArtifact(digest) {
328
352
  return `${TRAINED_MODEL_PREFIX}${digest.slice(7)}`;
329
353
  }
330
354
  //#endregion
331
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.23/node_modules/@tangle-network/agent-interface/dist/harness.js
355
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/harness.js
332
356
  /**
333
357
  * Recognized execution identities, not a deployment's list of installed runners.
334
358
  * A profile's authored harness remains part of its canonical identity; execution
@@ -361,4 +385,4 @@ const harnessTypeSchema = z.enum([
361
385
  "cli-base"
362
386
  ]);
363
387
  //#endregion
364
- export { boundedIdentifierSchema as C, isBoundedEventContentJson as D, boundedStringSchema as E, isBoundedJsonMaterial as O, boundedEventContentStringSchema as S, boundedJsonSchema as T, CONTRACT_MAX_ARRAY_LENGTH as _, agentCandidateSecretRefSchema as a, boundedEventContentJsonSchema as b, environmentNameSchema as c, isSafeExecutable as d, isSafeRelativePath as f, sha256DigestSchema as g, omitTopLevelDigest as h, trainedModelIdForArtifact as i, headerNameSchema as l, looksLikeCredential as m, REASONING_EFFORTS as n, canonicalCandidateDigest as o, isWellFormedUnicode as p, TRAINED_MODEL_PREFIX as r, canonicalCandidateJson as s, harnessTypeSchema as t, isCanonicalJsonValue as u, CONTRACT_MAX_JSON_NODES as v, boundedJsonRecordSchema as w, boundedEventContentRecordSchema as x, CONTRACT_MAX_STRING_LENGTH as y };
388
+ export { boundedEventContentStringSchema as C, boundedStringSchema as D, boundedJsonSchema as E, isBoundedEventContentJson as O, boundedEventContentRecordSchema as S, boundedJsonRecordSchema as T, sha256DigestSchema as _, agentCandidateSecretRefSchema as a, CONTRACT_MAX_STRING_LENGTH as b, environmentNameSchema as c, isSafeExecutable as d, isSafeRelativePath as f, relativePathSafetyIssues as g, omitTopLevelDigest as h, trainedModelIdForArtifact as i, isBoundedJsonMaterial as k, headerNameSchema as l, looksLikeCredential as m, REASONING_EFFORTS as n, canonicalCandidateDigest as o, isWellFormedUnicode as p, TRAINED_MODEL_PREFIX as r, canonicalCandidateJson as s, harnessTypeSchema as t, isCanonicalJsonValue as u, CONTRACT_MAX_ARRAY_LENGTH as v, boundedIdentifierSchema as w, boundedEventContentJsonSchema as x, CONTRACT_MAX_JSON_NODES as y };
@@ -1,6 +1,6 @@
1
1
  import { z } from "zod";
2
2
 
3
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.23/node_modules/@tangle-network/agent-interface/dist/plan.d.ts
3
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/plan.d.ts
4
4
  /**
5
5
  * Typed server-originated continuation. Adapters consume this instead of
6
6
  * inferring approval from a free-form user message.
@@ -36,14 +36,14 @@ declare const PlanContinuationSchema: z.ZodObject<{
36
36
  }, z.core.$strict>;
37
37
  type PlanContinuation = z.infer<typeof PlanContinuationSchema>;
38
38
  //#endregion
39
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.23/node_modules/@tangle-network/agent-interface/dist/provider-config.d.ts
39
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/provider-config.d.ts
40
40
  type CliAuthFile = {
41
41
  path: string;
42
42
  content: string;
43
43
  mode?: number;
44
44
  };
45
45
  //#endregion
46
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.23/node_modules/@tangle-network/agent-interface/dist/interaction-data.d.ts
46
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/interaction-data.d.ts
47
47
  declare const InteractionSecretReferenceSchema: z.ZodObject<{
48
48
  kind: z.ZodLiteral<"secret_handle">;
49
49
  handleId: z.ZodString;
@@ -64,7 +64,14 @@ declare const InteractionResolutionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
64
64
  }, z.core.$strict>], "outcome">;
65
65
  type InteractionResolution = z.infer<typeof InteractionResolutionSchema>;
66
66
  //#endregion
67
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.23/node_modules/@tangle-network/agent-interface/dist/proxy-secrets.d.ts
67
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/profile-file-output.d.ts
68
+ /** One caller-declared output, relative to the managed workspace root, not a process cwd. */
69
+ interface AgentFileOutputPolicy {
70
+ name: string;
71
+ path: string;
72
+ }
73
+ //#endregion
74
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/proxy-secrets.d.ts
68
75
  declare const ProxySecretBindingSchema: z.ZodObject<{
69
76
  hosts: z.ZodReadonly<z.ZodArray<z.ZodString>>;
70
77
  methods: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
@@ -277,7 +284,7 @@ declare const ProxySecretCapabilitiesSchema: z.ZodObject<{
277
284
  }, z.core.$strict>;
278
285
  type ProxySecretCapabilities = z.infer<typeof ProxySecretCapabilitiesSchema>;
279
286
  //#endregion
280
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.23/node_modules/@tangle-network/agent-interface/dist/harness.d.ts
287
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/harness.d.ts
281
288
  /**
282
289
  * Recognized execution identities, not a deployment's list of installed runners.
283
290
  * A profile's authored harness remains part of its canonical identity; execution
@@ -312,7 +319,7 @@ declare const harnessTypeSchema: z.ZodEnum<{
312
319
  /** One declaration owns runtime validation and the compile-time vocabulary. */
313
320
  type HarnessType = z.infer<typeof harnessTypeSchema>;
314
321
  //#endregion
315
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.23/node_modules/@tangle-network/agent-interface/dist/agent-profile.d.ts
322
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/agent-profile.d.ts
316
323
  /**
317
324
  * Permission policy value for a capability.
318
325
  */
@@ -673,6 +680,8 @@ interface AgentProfileMetadata extends Record<string, unknown> {
673
680
  * Public provider-neutral agent profile contract.
674
681
  */
675
682
  interface AgentProfile {
683
+ /** Runtime-owned retained regular-file output for this profile only. */
684
+ outputFile?: AgentFileOutputPolicy;
676
685
  name?: string;
677
686
  description?: string;
678
687
  version?: string;
@@ -790,11 +799,11 @@ interface AgentProfileValidationResult {
790
799
  normalizedProfile?: AgentProfile;
791
800
  }
792
801
  //#endregion
793
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.23/node_modules/@tangle-network/agent-interface/dist/agent-candidate.d.ts
802
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/agent-candidate.d.ts
794
803
  /** Full SHA-256 digest with an explicit algorithm prefix. */
795
804
  type Sha256Digest = `sha256:${string}`;
796
805
  //#endregion
797
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.23/node_modules/@tangle-network/agent-interface/dist/interaction-fields.d.ts
806
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/interaction-fields.d.ts
798
807
  declare const InteractionAnswerSpecSchema: z.ZodObject<{
799
808
  fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
800
809
  type: z.ZodLiteral<"text">;
@@ -848,7 +857,7 @@ declare const InteractionResponseScopeSchema: z.ZodEnum<{
848
857
  persistent: "persistent";
849
858
  }>;
850
859
  //#endregion
851
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.23/node_modules/@tangle-network/agent-interface/dist/interaction-envelope.d.ts
860
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/interaction-envelope.d.ts
852
861
  declare const InteractionSubjectSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
853
862
  type: z.ZodLiteral<"tool">;
854
863
  toolName: z.ZodString;
@@ -955,13 +964,13 @@ declare const InteractionAcknowledgementSchema: z.ZodObject<{
955
964
  }, z.core.$strict>;
956
965
  type InteractionAcknowledgement = z.infer<typeof InteractionAcknowledgementSchema>;
957
966
  //#endregion
958
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.23/node_modules/@tangle-network/agent-interface/dist/runtime-attachments.d.ts
967
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/runtime-attachments.d.ts
959
968
  /** Runtime-owned bindings do not alter the authored AgentProfile or candidate identity. */
960
969
  interface AgentRuntimeAttachments {
961
970
  mcp: Record<string, AgentProfileMcpServer>;
962
971
  }
963
972
  //#endregion
964
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.23/node_modules/@tangle-network/agent-interface/dist/runtime-control.d.ts
973
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/runtime-control.d.ts
965
974
  /** Provider-neutral coordinates sufficient to recreate control of one run. */
966
975
  interface AgentRunControlRef {
967
976
  runId: string;
@@ -998,7 +1007,7 @@ interface AgentRunCancellationAcknowledgement {
998
1007
  existingRequestDigest?: Sha256Digest;
999
1008
  }
1000
1009
  //#endregion
1001
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.23/node_modules/@tangle-network/agent-interface/dist/environment-terminal.d.ts
1010
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/environment-terminal.d.ts
1002
1011
  /**
1003
1012
  * Provider-neutral handle for one interactive terminal.
1004
1013
  *
@@ -1117,7 +1126,7 @@ interface AgentTerminalSession {
1117
1126
  }): AsyncIterable<TerminalOutputEvent>;
1118
1127
  }
1119
1128
  //#endregion
1120
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.23/node_modules/@tangle-network/agent-interface/dist/environment-interactive-control.d.ts
1129
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/environment-interactive-control.d.ts
1121
1130
  /**
1122
1131
  * Durable identity of one coding-agent TUI.
1123
1132
  *
@@ -1215,10 +1224,11 @@ declare const AgentInteractiveSessionRefSchema: z.ZodObject<{
1215
1224
  axis: z.ZodEnum<{
1216
1225
  metadata: "metadata";
1217
1226
  description: "description";
1218
- files: "files";
1219
1227
  name: "name";
1228
+ files: "files";
1220
1229
  version: "version";
1221
1230
  tags: "tags";
1231
+ outputFile: "outputFile";
1222
1232
  harness: "harness";
1223
1233
  seats: "seats";
1224
1234
  proxySecrets: "proxySecrets";
@@ -1424,10 +1434,11 @@ declare const AgentInteractiveSessionStatusSchema: z.ZodDiscriminatedUnion<[z.Zo
1424
1434
  axis: z.ZodEnum<{
1425
1435
  metadata: "metadata";
1426
1436
  description: "description";
1427
- files: "files";
1428
1437
  name: "name";
1438
+ files: "files";
1429
1439
  version: "version";
1430
1440
  tags: "tags";
1441
+ outputFile: "outputFile";
1431
1442
  harness: "harness";
1432
1443
  seats: "seats";
1433
1444
  proxySecrets: "proxySecrets";
@@ -1578,10 +1589,11 @@ declare const AgentInteractiveSessionStatusSchema: z.ZodDiscriminatedUnion<[z.Zo
1578
1589
  axis: z.ZodEnum<{
1579
1590
  metadata: "metadata";
1580
1591
  description: "description";
1581
- files: "files";
1582
1592
  name: "name";
1593
+ files: "files";
1583
1594
  version: "version";
1584
1595
  tags: "tags";
1596
+ outputFile: "outputFile";
1585
1597
  harness: "harness";
1586
1598
  seats: "seats";
1587
1599
  proxySecrets: "proxySecrets";
@@ -1740,10 +1752,11 @@ declare const AgentInteractiveSessionStatusSchema: z.ZodDiscriminatedUnion<[z.Zo
1740
1752
  axis: z.ZodEnum<{
1741
1753
  metadata: "metadata";
1742
1754
  description: "description";
1743
- files: "files";
1744
1755
  name: "name";
1756
+ files: "files";
1745
1757
  version: "version";
1746
1758
  tags: "tags";
1759
+ outputFile: "outputFile";
1747
1760
  harness: "harness";
1748
1761
  seats: "seats";
1749
1762
  proxySecrets: "proxySecrets";
@@ -1850,7 +1863,7 @@ interface AgentInteractiveSessionPromptAcknowledgement {
1850
1863
  existingRequestDigest?: `sha256:${string}`;
1851
1864
  }
1852
1865
  //#endregion
1853
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.23/node_modules/@tangle-network/agent-interface/dist/environment-interactive-start.d.ts
1866
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/environment-interactive-start.d.ts
1854
1867
  /**
1855
1868
  * Start one native coding-agent TUI from caller-owned request material.
1856
1869
  *
@@ -1868,6 +1881,10 @@ declare const AgentInteractiveSessionStartSchema: z.ZodObject<{
1868
1881
  requestDigest: z.ZodType<`sha256:${string}`, unknown, z.core.$ZodTypeInternals<`sha256:${string}`, unknown>>;
1869
1882
  }, z.core.$strict>;
1870
1883
  profile: z.ZodObject<{
1884
+ outputFile: z.ZodOptional<z.ZodObject<{
1885
+ name: z.ZodString;
1886
+ path: z.ZodString;
1887
+ }, z.core.$strict>>;
1871
1888
  name: z.ZodOptional<z.ZodString>;
1872
1889
  description: z.ZodOptional<z.ZodString>;
1873
1890
  version: z.ZodOptional<z.ZodString>;
@@ -2101,7 +2118,7 @@ declare const AgentInteractiveSessionStartSchema: z.ZodObject<{
2101
2118
  env?: Record<string, {
2102
2119
  kind: "secret-ref";
2103
2120
  key: string;
2104
- format?: "raw" | "bearer" | undefined;
2121
+ format?: "bearer" | "raw" | undefined;
2105
2122
  } | {
2106
2123
  kind: "public";
2107
2124
  value: string;
@@ -2114,7 +2131,7 @@ declare const AgentInteractiveSessionStartSchema: z.ZodObject<{
2114
2131
  env?: Record<string, {
2115
2132
  kind: "secret-ref";
2116
2133
  key: string;
2117
- format?: "raw" | "bearer" | undefined;
2134
+ format?: "bearer" | "raw" | undefined;
2118
2135
  } | {
2119
2136
  kind: "public";
2120
2137
  value: string;
@@ -2153,7 +2170,7 @@ declare const AgentInteractiveSessionStartSchema: z.ZodObject<{
2153
2170
  }, z.core.$strict>;
2154
2171
  type AgentInteractiveSessionStart = z.infer<typeof AgentInteractiveSessionStartSchema>;
2155
2172
  //#endregion
2156
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.23/node_modules/@tangle-network/agent-interface/dist/sandbox-size.d.ts
2173
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/sandbox-size.d.ts
2157
2174
  /**
2158
2175
  * Portable sandbox size vocabulary.
2159
2176
  *
@@ -1,11 +1,11 @@
1
- import { R as SandboxError, Y as SandboxCreateReceipt, g as TerminalReadyInfo, i as TerminalStreamHandlers, l as MintScopedTokenOptions, o as TerminalStreamReconnectAuthority, u as ScopedToken } from "./terminal-stream-types-iOZjIxLK.js";
2
- import { C as InteractionRequest, F as ProxySecretReceipt, I as InteractionData, S as InteractionAcknowledgement, T as AgentProfile, _ as TerminalReplayWindow, a as AgentInteractiveSessionControlClaim, b as AgentRunCancellationRequest, c as AgentInteractiveSessionPromptAcknowledgement, f as AgentInteractiveSessionStopAcknowledgement, g as TerminalOutputEvent, i as AgentInteractiveSessionAttach, k as AgentProfileFileMount, l as AgentInteractiveSessionPromptCommand, m as AgentInteractiveTerminalSession, o as AgentInteractiveSessionControlClaimAcknowledgement, p as AgentInteractiveSessionStopCommand, r as AgentInteractiveSessionStart, s as AgentInteractiveSessionControlClaimRequest, u as AgentInteractiveSessionRef, w as InteractionResponseCommand, y as AgentRunCancellationAcknowledgement } from "./index-B4OJkmmC.js";
3
- import { $r as StopOptions, $t as TeePublicKeyResponse, Ar as WaitForRolloutOptions, Bi as CreateTaskSessionOptions, Bt as SandboxRuntimeHealth, C as GitCommit, Ci as PromptOptions, Cr as BranchOptions, Ct as SandboxFleetTraceBundle, Dr as Rollout, Er as ForkLookupOptions, Ft as SandboxConnection, Gi as PublicProfileConflict, Gn as WriteManyOptions, Gr as SnapshotDeleteAcknowledgement, Hi as DispatchedSession, Hr as SandboxOperationKind, Ii as CompletedTurnResult, It as SandboxInfo, Ja as SandboxEnvRecovery, Ji as SentSessionMessage, Jn as ExecOptions, Jr as SnapshotInfo, Ka as ExecResult, Ki as SendSessionMessageOptions, Kn as SearchMatch, Kt as SandboxTerminals, Li as ConversationTurnOptions, Ln as FileWriteResult, Lr as RestoreSnapshotOptions, Lt as SandboxPortBinding, Ni as TurnBackendConfig, Nt as SSHCommandDescriptor, Oi as SandboxTraceBundle, Or as RolloutOptions, Pi as CommitTaskSessionOptions, Pt as SSHCredentials, Qr as SnapshotResult, Ra as RetainedWorkspacePublication, Ri as ConversationTurnResult, Rr as SandboxDeleteAcknowledgement, S as GitBranch, Si as PromptInputPart, T as GitStatus, Ti as SandboxEvent, Tr as ForkIdempotency, Ua as CodeExecutionResult, Ui as DriveTurnOptions, Un as WriteFileOptions, Ur as SandboxOperationState, Vi as DispatchPromptOptions, Vr as SandboxOperationInfo, Vt as SandboxTerminalAttachOptions, Wa as CodeLanguage, Wi as ListMessagesOptions, Wn as WriteManyFile, Xi as SessionEventStreamOptions, Xr as SnapshotProvenance, Ya as SandboxEnvRecoveryView, Yr as SnapshotOptions, Yt as TeeAttestationOptions, Za as InteractionResolutionAcknowledgement, Zi as SessionExecutionInfo, Zt as TeeAttestationResponse, _a as BackendManager, _i as IntelligenceReport, aa as SessionMessageAdmission, b as PreviewLinkManager, ca as TaskSessionChanges, da as TaskSessionInfo, di as DurablePlan, dr as GpuLeaseManager, ea as SessionForkOptions, ei as WorkspaceOperationLookup, en as TerminalStream, fi as DurablePlanDecisionOptions, fn as NetworkManager, g as ProcessManager, gi as EventStreamOptions, ha as BackendConfig, i as ProvisionResult, ia as SessionMessage, ir as DriverInfo, ji as SandboxTraceOptions, jn as FileSystem, kr as RolloutStartResult, la as TaskSessionCommitResult, ln as EgressManager, mr as CodeExecutionOptions, na as SessionInterruptOptions, ni as SandboxRuntimeCapabilities, nn as CreateSandboxOptions, o as ResumeOptions, on as SandboxStatus, or as GpuLease, pa as TurnDriveResult, pi as DurablePlanDecisionResult, qa as WriteFileRequest, qi as SendSessionMessageRequest, qn as SearchOptions, qt as StartupDiagnostics, r as ProvisionEvent, ra as SessionListOptions, sa as SessionResultOptions, sn as SandboxShape, ta as SessionInfo, ti as SandboxResourceUsage, u as WaitForOptions, vi as IntelligenceReportBudget, w as GitDiff, wi as PromptResult, wr as ForkCounts, xi as IntelligenceReportWindow, xr as HttpClient, yi as IntelligenceReportCompareTo, zi as CreateSessionOptions, zr as SandboxDeleteOptions } from "./types-BYIgnmzV.js";
1
+ import { R as SandboxError, Y as SandboxCreateReceipt, g as TerminalReadyInfo, i as TerminalStreamHandlers, l as MintScopedTokenOptions, o as TerminalStreamReconnectAuthority, u as ScopedToken } from "./terminal-stream-types-cEwFyagj.js";
2
+ import { C as InteractionRequest, F as ProxySecretReceipt, I as InteractionData, S as InteractionAcknowledgement, T as AgentProfile, _ as TerminalReplayWindow, a as AgentInteractiveSessionControlClaim, b as AgentRunCancellationRequest, c as AgentInteractiveSessionPromptAcknowledgement, f as AgentInteractiveSessionStopAcknowledgement, g as TerminalOutputEvent, i as AgentInteractiveSessionAttach, k as AgentProfileFileMount, l as AgentInteractiveSessionPromptCommand, m as AgentInteractiveTerminalSession, o as AgentInteractiveSessionControlClaimAcknowledgement, p as AgentInteractiveSessionStopCommand, r as AgentInteractiveSessionStart, s as AgentInteractiveSessionControlClaimRequest, u as AgentInteractiveSessionRef, w as InteractionResponseCommand, y as AgentRunCancellationAcknowledgement } from "./index--9j_Jlf_.js";
3
+ import { $r as StopOptions, $t as TeePublicKeyResponse, Ar as WaitForRolloutOptions, Bi as CreateTaskSessionOptions, Bt as SandboxRuntimeHealth, C as GitCommit, Ci as PromptOptions, Cr as BranchOptions, Ct as SandboxFleetTraceBundle, Dr as Rollout, Er as ForkLookupOptions, Ft as SandboxConnection, Gi as PublicProfileConflict, Gn as WriteManyOptions, Gr as SnapshotDeleteAcknowledgement, Hi as DispatchedSession, Hr as SandboxOperationKind, Ii as CompletedTurnResult, It as SandboxInfo, Ja as SandboxEnvRecovery, Ji as SentSessionMessage, Jn as ExecOptions, Jr as SnapshotInfo, Ka as ExecResult, Ki as SendSessionMessageOptions, Kn as SearchMatch, Kt as SandboxTerminals, Li as ConversationTurnOptions, Ln as FileWriteResult, Lr as RestoreSnapshotOptions, Lt as SandboxPortBinding, Ni as TurnBackendConfig, Nt as SSHCommandDescriptor, Oi as SandboxTraceBundle, Or as RolloutOptions, Pi as CommitTaskSessionOptions, Pt as SSHCredentials, Qr as SnapshotResult, Ra as RetainedWorkspacePublication, Ri as ConversationTurnResult, Rr as SandboxDeleteAcknowledgement, S as GitBranch, Si as PromptInputPart, T as GitStatus, Ti as SandboxEvent, Tr as ForkIdempotency, Ua as CodeExecutionResult, Ui as DriveTurnOptions, Un as WriteFileOptions, Ur as SandboxOperationState, Vi as DispatchPromptOptions, Vr as SandboxOperationInfo, Vt as SandboxTerminalAttachOptions, Wa as CodeLanguage, Wi as ListMessagesOptions, Wn as WriteManyFile, Xi as SessionEventStreamOptions, Xr as SnapshotProvenance, Ya as SandboxEnvRecoveryView, Yr as SnapshotOptions, Yt as TeeAttestationOptions, Za as InteractionResolutionAcknowledgement, Zi as SessionExecutionInfo, Zt as TeeAttestationResponse, _a as BackendManager, _i as IntelligenceReport, aa as SessionMessageAdmission, b as PreviewLinkManager, ca as TaskSessionChanges, da as TaskSessionInfo, di as DurablePlan, dr as GpuLeaseManager, ea as SessionForkOptions, ei as WorkspaceOperationLookup, en as TerminalStream, fi as DurablePlanDecisionOptions, fn as NetworkManager, g as ProcessManager, gi as EventStreamOptions, ha as BackendConfig, i as ProvisionResult, ia as SessionMessage, ir as DriverInfo, ji as SandboxTraceOptions, jn as FileSystem, kr as RolloutStartResult, la as TaskSessionCommitResult, ln as EgressManager, mr as CodeExecutionOptions, na as SessionInterruptOptions, ni as SandboxRuntimeCapabilities, nn as CreateSandboxOptions, o as ResumeOptions, on as SandboxStatus, or as GpuLease, pa as TurnDriveResult, pi as DurablePlanDecisionResult, qa as WriteFileRequest, qi as SendSessionMessageRequest, qn as SearchOptions, qt as StartupDiagnostics, r as ProvisionEvent, ra as SessionListOptions, sa as SessionResultOptions, sn as SandboxShape, ta as SessionInfo, ti as SandboxResourceUsage, u as WaitForOptions, vi as IntelligenceReportBudget, w as GitDiff, wi as PromptResult, wr as ForkCounts, xi as IntelligenceReportWindow, xr as HttpClient, yi as IntelligenceReportCompareTo, zi as CreateSessionOptions, zr as SandboxDeleteOptions } from "./types-DKRvNtWx.js";
4
4
  import { c as RawEvidenceDirectoryExport, l as RawEvidenceExportOptions, o as RawEvidenceBoxDirectoryExport, p as RawEvidenceUnavailable, r as RawEvidenceArchiveManifest, s as RawEvidenceBoxExportOptions } from "./raw-evidence-export-1ygyhNsS.js";
5
- import { r as CliAuthReference } from "./cli-auth-bundle-CaNRN3Nc.js";
6
- import { n as SandboxLines } from "./lines-mOLUGPYs.js";
7
- import { _ as InteractiveSessionStatus, f as InteractiveAttachOptions, g as InteractiveRequestOptions, h as InteractiveObserveOptions, m as InteractiveControlClaimOptions, p as InteractiveControlClaimAcknowledgement } from "./browser-interactive-control-controller-CHnMRFRF.js";
8
- import { r as InteractiveAttachRequest } from "./interactive-controller-Ch4SLGeF.js";
5
+ import { r as CliAuthReference } from "./cli-auth-bundle-a7NYzsfF.js";
6
+ import { n as SandboxLines } from "./lines-Bi4Qt6Tn.js";
7
+ import { _ as InteractiveSessionStatus, f as InteractiveAttachOptions, g as InteractiveRequestOptions, h as InteractiveObserveOptions, m as InteractiveControlClaimOptions, p as InteractiveControlClaimAcknowledgement } from "./browser-interactive-control-controller-knQXEt0T.js";
8
+ import { r as InteractiveAttachRequest } from "./interactive-controller-D0uhx4eQ.js";
9
9
  import { z } from "zod";
10
10
  import { OtlpTraceExport } from "@tangle-network/agent-trace-contract/otlp";
11
11