@tangle-network/sandbox 1.0.463 → 1.0.465

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-C2KLuq0G.js → agent-execution-preparation-B8PJuIsN.js} +4 -4
  6. package/dist/{agent-execution-preparation-receipt-NvWi9tgX.js → agent-execution-preparation-receipt-Cc9RZhlS.js} +5 -5
  7. package/dist/{agent-run-outcome-Bm0Od6uL.d.ts → agent-run-outcome-DCVKc99v.d.ts} +2 -2
  8. package/dist/{api-request-C0uRcl6r.js → api-request-BKI8ddCr.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-DnLIhS4x.js → browser-interactive-control-controller-CCbo1ejK.js} +14 -14
  12. package/dist/{browser-interactive-control-controller-BtP7gGeC.d.ts → browser-interactive-control-controller-DPZh8xys.d.ts} +2 -2
  13. package/dist/{cli-auth-bundle-CQCj_DOW-DdfGd3Qs.js → cli-auth-bundle-CQCj_DOW-Dh_yUYBo.js} +1 -1
  14. package/dist/{cli-auth-bundle-a7NYzsfF.d.ts → cli-auth-bundle-Dx3AAWdJ.d.ts} +1 -1
  15. package/dist/cli-auth-bundle-RoFICrlP.js +2 -0
  16. package/dist/{client-YkIs8lWJ.js → client-Bmge_GT6.js} +6 -6
  17. package/dist/{client-BbfGvNbm.d.ts → client-DY10uB8I.d.ts} +752 -772
  18. package/dist/collaboration/index.js +1 -1
  19. package/dist/{collaboration-BLoPgz8S.js → collaboration-DnSFyACS.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-4D0kk6wY.js → harness-QlDF8rzb.js} +9 -11
  24. package/dist/{index-jZQxVUrN.d.ts → index-BcR82U6g.d.ts} +8 -8
  25. package/dist/{index--9j_Jlf_.d.ts → index-V_pXOH3B.d.ts} +89 -95
  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-Dkw-3X0c.js → interactive-controller-DKcK7qN8.js} +5 -5
  32. package/dist/{interactive-controller-BFNv2dN0.d.ts → interactive-controller-DfZ2KrsK.d.ts} +4 -4
  33. package/dist/{lines-DvPmKFBk.d.ts → lines-DfLFLZ7b.d.ts} +1 -1
  34. package/dist/lines.d.ts +1 -1
  35. package/dist/{local-cli-auth-BnPW3Zv_.js → local-cli-auth-D_Dl4Jaa.js} +1 -1
  36. package/dist/{mcp-local-Qqge6hJr.js → mcp-local-BYwp4pV3.js} +2 -2
  37. package/dist/{preview-Cxv4GKi9.d.ts → preview-BsVojdAE.d.ts} +3 -3
  38. package/dist/{profile-schema-B48XymtK.js → profile-schema-BHeC7cOf.js} +27 -20
  39. package/dist/{public-templates-DE4mT8-C.d.ts → public-templates-CylTbD2k.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-DwsMu1zb.js → sandbox-VKAvg6I7.js} +28 -20
  44. package/dist/{select-seat-W4XkdO9H.js → select-seat-DQpFCkQJ.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-B_pdhE4U.js → tangle-cRan5p12.js} +2 -2
  51. package/dist/{terminal-stream-types-CGZs6PVs.d.ts → terminal-stream-types-BItnV5cg.d.ts} +1 -1
  52. package/dist/{types-UAGBYRdS.d.ts → types-DfsD55et.d.ts} +3 -3
  53. package/package.json +6 -6
  54. package/dist/cli-auth-bundle-C8Xc8YKk.js +0 -2
@@ -1,7 +1,7 @@
1
- import { I as SandboxTaskSession, O as SandboxInstance, R as SandboxSession } from "../index-jZQxVUrN.js";
2
- import { Ga as CodeLanguage, Ka as CodeResultPart, Wa as CodeExecutionResult, ga as BackendConfig, hr as CodeExecutionOptions, ia as SessionListOptions, io as BackendType, na as SessionInfo, vt as SandboxFleetParent } from "../types-UAGBYRdS.js";
3
- import { t as Sandbox } from "../client-BbfGvNbm.js";
4
- import { u as PreviewAuthorizer } from "../preview-Cxv4GKi9.js";
1
+ import { I as SandboxTaskSession, O as SandboxInstance, R as SandboxSession } from "../index-BcR82U6g.js";
2
+ import { Ga as CodeLanguage, Ka as CodeResultPart, Wa as CodeExecutionResult, ga as BackendConfig, hr as CodeExecutionOptions, ia as SessionListOptions, io as BackendType, na as SessionInfo, vt as SandboxFleetParent } from "../types-DfsD55et.js";
3
+ import { t as Sandbox } from "../client-DY10uB8I.js";
4
+ import { u as PreviewAuthorizer } from "../preview-BsVojdAE.js";
5
5
  import * as _$_modelcontextprotocol_sdk_server_index_js0 from "@modelcontextprotocol/sdk/server/index.js";
6
6
  import { JSONSchema } from "zod/v4/core";
7
7
  import { ToolSet } from "ai";
@@ -1,8 +1,8 @@
1
- import { a as TOOL_SPECS, i as ALL_TOOL_SPECS, o as serializeToolResult, r as bindToolSpecs, t as createMcpServer } from "../mcp-local-Qqge6hJr.js";
2
- import { D as assertCurrentBackendType } from "../interactive-controller-Dkw-3X0c.js";
3
- import { t as SandboxInstance } from "../sandbox-DwsMu1zb.js";
1
+ import { a as TOOL_SPECS, i as ALL_TOOL_SPECS, o as serializeToolResult, r as bindToolSpecs, t as createMcpServer } from "../mcp-local-BYwp4pV3.js";
2
+ import { D as assertCurrentBackendType } from "../interactive-controller-DKcK7qN8.js";
3
+ import { t as SandboxInstance } from "../sandbox-VKAvg6I7.js";
4
4
  import { O as ValidationError, T as StateError, v as NotFoundError } from "../errors-BY7a-Hpw.js";
5
- import { t as Sandbox } from "../client-YkIs8lWJ.js";
5
+ import { t as Sandbox } from "../client-Bmge_GT6.js";
6
6
  import { z } from "zod";
7
7
  //#region src/agent/instances.ts
8
8
  const managers = /* @__PURE__ */ new WeakMap();
@@ -1,2 +1,2 @@
1
- import { _ as publishAgentPreview, a as previewOperationTool, c as AgentPreviewOptions, d as PreviewExecutionContext, f as PublishAgentPreviewOptions, g as listAgentPreviews, h as getAgentPreview, i as PreviewTool, l as PreviewAuthorizationRequest, m as ensureAgentPreview, n as PREVIEW_MCP_ALIAS, o as previewToolsForProfile, p as assertPreviewId, r as PREVIEW_TOOLS, s as AgentPreviewError, t as servePreviewMcp, u as PreviewAuthorizer, v as removeAgentPreview, y as resolveSelfSandbox } from "../preview-Cxv4GKi9.js";
1
+ import { _ as publishAgentPreview, a as previewOperationTool, c as AgentPreviewOptions, d as PreviewExecutionContext, f as PublishAgentPreviewOptions, g as listAgentPreviews, h as getAgentPreview, i as PreviewTool, l as PreviewAuthorizationRequest, m as ensureAgentPreview, n as PREVIEW_MCP_ALIAS, o as previewToolsForProfile, p as assertPreviewId, r as PREVIEW_TOOLS, s as AgentPreviewError, t as servePreviewMcp, u as PreviewAuthorizer, v as removeAgentPreview, y as resolveSelfSandbox } from "../preview-BsVojdAE.js";
2
2
  export { AgentPreviewError, AgentPreviewOptions, PREVIEW_MCP_ALIAS, PREVIEW_TOOLS, PreviewAuthorizationRequest, PreviewAuthorizer, PreviewExecutionContext, PreviewTool, PublishAgentPreviewOptions, assertPreviewId, ensureAgentPreview, getAgentPreview, listAgentPreviews, previewOperationTool, previewToolsForProfile, publishAgentPreview, removeAgentPreview, resolveSelfSandbox, servePreviewMcp };
@@ -1,4 +1,4 @@
1
- import { r as agentProfileSchema } from "../profile-schema-B48XymtK.js";
1
+ import { r as agentProfileSchema } from "../profile-schema-BHeC7cOf.js";
2
2
  import { a as listAgentPreviews, c as resolveSelfSandbox, i as getAgentPreview, n as assertPreviewId, o as publishAgentPreview, r as ensureAgentPreview, s as removeAgentPreview, t as AgentPreviewError } from "../preview-operations-BTHZR1w2.js";
3
3
  //#region src/agent/preview-policy.ts
4
4
  /** Channel-neutral preview tool selection from a host-authored profile. */
@@ -66,7 +66,7 @@ async function servePreviewMcp(request, config) {
66
66
  if (typeof config.authorize !== "function") throw new Error("Preview MCP requires a host authorization callback");
67
67
  const tools = config.tools ?? PREVIEW_TOOLS;
68
68
  if (!tools.length || tools.some((tool) => !PREVIEW_TOOLS.includes(tool))) throw new Error("Preview MCP requires an explicit nonempty preview-only tool grant");
69
- const [{ createMcpServer }, { WebStandardStreamableHTTPServerTransport }] = await Promise.all([import("../mcp-local-Qqge6hJr.js").then((n) => n.n), import("@modelcontextprotocol/sdk/server/webStandardStreamableHttp.js")]);
69
+ const [{ createMcpServer }, { WebStandardStreamableHTTPServerTransport }] = await Promise.all([import("../mcp-local-BYwp4pV3.js").then((n) => n.n), import("@modelcontextprotocol/sdk/server/webStandardStreamableHttp.js")]);
70
70
  const handle = await createMcpServer(config.box, {
71
71
  name: "tangle-previews",
72
72
  sessionId: config.sessionId,
@@ -1,6 +1,6 @@
1
- import { o as canonicalCandidateDigest, u as isCanonicalJsonValue } from "./harness-4D0kk6wY.js";
2
- import { o as canonicalAgentProfileValue, r as agentProfileSchema } from "./profile-schema-B48XymtK.js";
3
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/agent-execution-preparation.js
1
+ import { d as isCanonicalJsonValue, s as canonicalCandidateDigest } from "./harness-QlDF8rzb.js";
2
+ import { i as recordedAgentProfileSchema, s as canonicalAgentProfileValue } from "./profile-schema-BHeC7cOf.js";
3
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.28/node_modules/@tangle-network/agent-interface/dist/agent-execution-preparation.js
4
4
  /**
5
5
  * Canonical RFC 8785/SHA-256 identity for one validated, public AgentProfile.
6
6
  * Secret-capable MCP/hook fields are tagged. Other prompt, resource, metadata,
@@ -10,7 +10,7 @@ import { o as canonicalAgentProfileValue, r as agentProfileSchema } from "./prof
10
10
  * references only after this public identity is fixed.
11
11
  */
12
12
  function canonicalAgentProfileDigest(profile) {
13
- const material = canonicalAgentProfileValue(agentProfileSchema.parse(profile));
13
+ const material = canonicalAgentProfileValue(recordedAgentProfileSchema.parse(profile));
14
14
  if (material === void 0 || !isCanonicalJsonValue(material)) throw new Error("AgentProfile must contain finite, acyclic RFC 8785 JSON values");
15
15
  return canonicalCandidateDigest(material);
16
16
  }
@@ -1,6 +1,6 @@
1
- import { _ as sha256DigestSchema, h as omitTopLevelDigest, m as looksLikeCredential, n as REASONING_EFFORTS, o as canonicalCandidateDigest, p as isWellFormedUnicode, s as canonicalCandidateJson, t as harnessTypeSchema, u as isCanonicalJsonValue } from "./harness-4D0kk6wY.js";
1
+ import { c as canonicalCandidateJson, d as isCanonicalJsonValue, g as omitTopLevelDigest, h as looksLikeCredential, m as isWellFormedUnicode, n as recordedHarnessTypeSchema, r as REASONING_EFFORTS, s as canonicalCandidateDigest, v as sha256DigestSchema } from "./harness-QlDF8rzb.js";
2
2
  import { z } from "zod";
3
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/agent-workspace-source-snapshot.js
3
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.28/node_modules/@tangle-network/agent-interface/dist/agent-workspace-source-snapshot.js
4
4
  const controlCharacterPattern = /[\u0000-\u001f\u007f]/;
5
5
  /** Shared public identifier used by workspace lifecycle contracts. */
6
6
  const agentWorkspacePublicIdentifierSchema = z.string().min(1).max(500).refine((value) => value.trim().length > 0 && isWellFormedUnicode(value) && !controlCharacterPattern.test(value) && !looksLikeCredential(value), "public workspace identity cannot carry credential-like material");
@@ -11,7 +11,7 @@ const agentWorkspaceSourceSnapshotPolicySchema = z.strictObject({
11
11
  digest: sha256DigestSchema
12
12
  });
13
13
  //#endregion
14
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/agent-profile-materialization.js
14
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.28/node_modules/@tangle-network/agent-interface/dist/agent-profile-materialization.js
15
15
  /**
16
16
  * The canonical AgentProfile leaves that can affect one execution.
17
17
  *
@@ -76,7 +76,7 @@ const AGENT_PROFILE_MATERIALIZATION_AXES = [
76
76
  value: (profile) => profile.model?.[property]
77
77
  }))];
78
78
  //#endregion
79
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/agent-execution-preparation-receipt.js
79
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.28/node_modules/@tangle-network/agent-interface/dist/agent-execution-preparation-receipt.js
80
80
  const nonBlankStringSchema = z.string().refine((value) => value.trim().length > 0, "value cannot be blank");
81
81
  const publicMechanismIdentifierSchema = z.string().regex(/^[A-Za-z0-9][A-Za-z0-9._:/-]{0,199}$/, "mechanism must be a public identifier, not launch arguments").refine((value) => !looksLikeCredential(value), "mechanism cannot carry credential-like material");
82
82
  const publicLifecycleIdentifierSchema = z.string().regex(/^[A-Za-z0-9][A-Za-z0-9._~:/+-]{0,499}$/, "lifecycle identity must be a public identifier").refine((value) => !looksLikeCredential(value), "lifecycle identity cannot carry credential-like material");
@@ -160,7 +160,7 @@ const agentExecutionPreparationReceiptSchema = z.strictObject({
160
160
  authoredProfileDigest: sha256DigestSchema,
161
161
  effectiveProfileDigest: sha256DigestSchema,
162
162
  backend: nonBlankStringSchema.max(200),
163
- harness: harnessTypeSchema,
163
+ harness: recordedHarnessTypeSchema,
164
164
  harnessVersion: nonBlankStringSchema.max(200),
165
165
  resolvedModel: z.strictObject({
166
166
  requested: z.string().max(500),
@@ -1,5 +1,5 @@
1
- import { C as InteractionRequest } from "./index--9j_Jlf_.js";
2
- import { Ei as SandboxEvent, ci as AgentQuestionRequest, gi as DurablePlanSnapshot, li as AgentRunStatus, si as AgentApprovalRequirement, ui as AgentToolInvocation } from "./types-UAGBYRdS.js";
1
+ import { C as InteractionRequest } from "./index-V_pXOH3B.js";
2
+ import { Ei as SandboxEvent, ci as AgentQuestionRequest, gi as DurablePlanSnapshot, li as AgentRunStatus, si as AgentApprovalRequirement, ui as AgentToolInvocation } from "./types-DfsD55et.js";
3
3
 
4
4
  //#region src/agent-run-outcome.d.ts
5
5
  interface AgentRunOutcome {
@@ -30,7 +30,7 @@ function rewrapResponse(original, headers, body = original.body) {
30
30
  //#endregion
31
31
  //#region src/lib/api-request.mjs
32
32
  /** The package version tsdown.config.ts defines; unbuilt source reports 0.0.0. */
33
- const SDK_VERSION = "1.0.463";
33
+ const SDK_VERSION = "1.0.465";
34
34
  function withRequestContextHeaders(response, path, method, body = response.body) {
35
35
  const headers = new Headers(response.headers);
36
36
  headers.set("x-tangle-request-path", path);
@@ -1,3 +1,3 @@
1
- import { i as cliAuthReferenceSchema, n as materializeCliAuthBundle, r as CliAuthReference, t as assertCliAuthReferenceSupported } from "../cli-auth-bundle-a7NYzsfF.js";
1
+ import { i as cliAuthReferenceSchema, n as materializeCliAuthBundle, r as CliAuthReference, t as assertCliAuthReferenceSupported } from "../cli-auth-bundle-Dx3AAWdJ.js";
2
2
  import { _ as ReadTokenPayload, a as issueCollaborationToken, c as issueSessionScopedToken, d as AnyTokenPayload, f as BatchScopedTokenPayload, g as ProjectScopedTokenPayload, h as IssueCollaborationTokenOptions, i as issueBatchScopedToken, l as unsafeDecodeToken, m as CollaborationTokenPayload, n as getTokenTTL, o as issueProjectScopedToken, p as CollaborationAccess, r as isTokenExpiringSoon, s as issueReadToken, t as ProductTokenIssuer, u as verifyToken, v as SessionScopedTokenPayload, y as TokenScope } from "../index-a-rRAtwL.js";
3
3
  export { AnyTokenPayload, BatchScopedTokenPayload, CliAuthReference, CollaborationAccess, CollaborationTokenPayload, IssueCollaborationTokenOptions, ProductTokenIssuer, ProjectScopedTokenPayload, ReadTokenPayload, SessionScopedTokenPayload, TokenScope, assertCliAuthReferenceSupported, cliAuthReferenceSchema, getTokenTTL, isTokenExpiringSoon, issueBatchScopedToken, issueCollaborationToken, issueProjectScopedToken, issueReadToken, issueSessionScopedToken, materializeCliAuthBundle, unsafeDecodeToken, verifyToken };
@@ -1,5 +1,5 @@
1
- import { i as materializeCliAuthBundle, n as assertCliAuthReferenceSupported, r as cliAuthReferenceSchema } from "../cli-auth-bundle-CQCj_DOW-DdfGd3Qs.js";
2
- import "../cli-auth-bundle-C8Xc8YKk.js";
1
+ import { i as materializeCliAuthBundle, n as assertCliAuthReferenceSupported, r as cliAuthReferenceSchema } from "../cli-auth-bundle-CQCj_DOW-Dh_yUYBo.js";
2
+ import "../cli-auth-bundle-RoFICrlP.js";
3
3
  //#region src/auth/tokens.ts
4
4
  const textEncoder = new TextEncoder();
5
5
  const textDecoder = new TextDecoder();
@@ -1,9 +1,9 @@
1
- import { C as boundedEventContentStringSchema, D as boundedStringSchema, E as boundedJsonSchema, O as isBoundedEventContentJson, S as boundedEventContentRecordSchema, T as boundedJsonRecordSchema, _ as sha256DigestSchema, b as CONTRACT_MAX_STRING_LENGTH, o as canonicalCandidateDigest, v as CONTRACT_MAX_ARRAY_LENGTH, w as boundedIdentifierSchema, x as boundedEventContentJsonSchema } from "./harness-4D0kk6wY.js";
2
- import { t as agentExecutionPreparationReceiptSchema } from "./agent-execution-preparation-receipt-NvWi9tgX.js";
1
+ import { C as boundedEventContentRecordSchema, D as boundedJsonSchema, E as boundedJsonRecordSchema, O as boundedStringSchema, S as boundedEventContentJsonSchema, T as boundedIdentifierSchema, k as isBoundedEventContentJson, s as canonicalCandidateDigest, v as sha256DigestSchema, w as boundedEventContentStringSchema, x as CONTRACT_MAX_STRING_LENGTH, y as CONTRACT_MAX_ARRAY_LENGTH } from "./harness-QlDF8rzb.js";
2
+ import { t as agentExecutionPreparationReceiptSchema } from "./agent-execution-preparation-receipt-Cc9RZhlS.js";
3
3
  import { t as awaitWithAbort } from "./abort-signal-BsriwJ8L.js";
4
- import { i as fetchSandboxApi } from "./api-request-C0uRcl6r.js";
4
+ import { i as fetchSandboxApi } from "./api-request-BKI8ddCr.js";
5
5
  import { z } from "zod";
6
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/native-session-event.js
6
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.28/node_modules/@tangle-network/agent-interface/dist/native-session-event.js
7
7
  /**
8
8
  * Private adapter observation of a provider conversation or resume identity.
9
9
  * The adapter must obtain this ID from its bound provider process or API.
@@ -18,7 +18,7 @@ const NativeSessionObservedEventSchema = z.object({
18
18
  nativeSessionId: z.string().min(1).max(512).regex(/^\S+$/u)
19
19
  }).strict();
20
20
  //#endregion
21
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/environment-observation.js
21
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.28/node_modules/@tangle-network/agent-interface/dist/environment-observation.js
22
22
  const ObservationProvenanceSchema = z.strictObject({
23
23
  origin: z.enum([
24
24
  "measured",
@@ -210,7 +210,7 @@ z.strictObject({
210
210
  accountUsage: AccountUsageSchema.optional()
211
211
  });
212
212
  //#endregion
213
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/interaction-fields.js
213
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.28/node_modules/@tangle-network/agent-interface/dist/interaction-fields.js
214
214
  /**
215
215
  * Field names whose own-key form collides with object internals. A record
216
216
  * parser drops a raw `__proto__` key through the legacy prototype setter before
@@ -391,7 +391,7 @@ z.strictObject({
391
391
  });
392
392
  });
393
393
  //#endregion
394
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/interaction-data.js
394
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.28/node_modules/@tangle-network/agent-interface/dist/interaction-data.js
395
395
  const InteractionSecretReferenceSchema = z.strictObject({
396
396
  kind: z.literal("secret_handle"),
397
397
  handleId: boundedIdentifierSchema,
@@ -436,7 +436,7 @@ const InteractionResolutionSchema = z.discriminatedUnion("outcome", [
436
436
  })
437
437
  ]);
438
438
  //#endregion
439
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/interaction-permissions.js
439
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.28/node_modules/@tangle-network/agent-interface/dist/interaction-permissions.js
440
440
  const InteractionKind = {
441
441
  /** Agent asks the user to answer/choose. Answer = the chosen field values. */
442
442
  Question: "question",
@@ -463,7 +463,7 @@ const PermissionGrantSchema = z.enum([
463
463
  "deny"
464
464
  ]);
465
465
  //#endregion
466
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/interaction-answer-validation.js
466
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.28/node_modules/@tangle-network/agent-interface/dist/interaction-answer-validation.js
467
467
  /**
468
468
  * Validate an accepted answer against its spec. Used by the broker before a
469
469
  * response reaches the adapter, so malformed answers are rejected centrally.
@@ -568,7 +568,7 @@ function validateInteractionAnswer(spec, data) {
568
568
  };
569
569
  }
570
570
  //#endregion
571
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/interaction-resolution-validation.js
571
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.28/node_modules/@tangle-network/agent-interface/dist/interaction-resolution-validation.js
572
572
  /**
573
573
  * A declined or cancelled resolution submits no answer, so any secret-typed
574
574
  * field it carries can only be leakage into a transport that retains it.
@@ -606,7 +606,7 @@ function validateResolutionForRequest(request, resolution) {
606
606
  return errors;
607
607
  }
608
608
  //#endregion
609
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/interaction-envelope.js
609
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.28/node_modules/@tangle-network/agent-interface/dist/interaction-envelope.js
610
610
  const interactionOutcomeValues = [
611
611
  "accepted",
612
612
  "declined",
@@ -810,7 +810,7 @@ const InteractionAcknowledgementSchema = z.strictObject({
810
810
  });
811
811
  });
812
812
  //#endregion
813
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/plan.js
813
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.28/node_modules/@tangle-network/agent-interface/dist/plan.js
814
814
  /**
815
815
  * Credential-free provider correlation committed with the plan. This union is
816
816
  * deliberately closed: adding plan support for another harness requires an
@@ -875,7 +875,7 @@ const AgentExecutionOutcomeSchema = z.discriminatedUnion("type", [z.object({ typ
875
875
  plan: DurablePlanSchema
876
876
  }).strict()]);
877
877
  //#endregion
878
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/runtime-control.js
878
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.28/node_modules/@tangle-network/agent-interface/dist/runtime-control.js
879
879
  const stableIdSchema = boundedIdentifierSchema;
880
880
  const AgentExactRunControlRefSchema = z.strictObject({
881
881
  runId: stableIdSchema,
@@ -1211,7 +1211,7 @@ function sameAgentExactRun(left, right) {
1211
1211
  return left.runId === right.runId && left.provider === right.provider && left.environmentId === right.environmentId && left.sessionId === right.sessionId && left.executionId === right.executionId && left.requestDigest === right.requestDigest;
1212
1212
  }
1213
1213
  //#endregion
1214
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/node_modules/@tangle-network/agent-interface/dist/environment-interactive-control.js
1214
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.28/node_modules/@tangle-network/agent-interface/dist/environment-interactive-control.js
1215
1215
  /**
1216
1216
  * Durable identity of one coding-agent TUI.
1217
1217
  *
@@ -1,5 +1,5 @@
1
- import { i as TerminalStreamHandlers } from "./terminal-stream-types-CGZs6PVs.js";
2
- import { a as AgentInteractiveSessionControlClaim, d as AgentInteractiveSessionStatus, i as AgentInteractiveSessionAttach, o as AgentInteractiveSessionControlClaimAcknowledgement, s as AgentInteractiveSessionControlClaimRequest, u as AgentInteractiveSessionRef } from "./index--9j_Jlf_.js";
1
+ import { i as TerminalStreamHandlers } from "./terminal-stream-types-BItnV5cg.js";
2
+ import { a as AgentInteractiveSessionControlClaim, d as AgentInteractiveSessionStatus, i as AgentInteractiveSessionAttach, o as AgentInteractiveSessionControlClaimAcknowledgement, s as AgentInteractiveSessionControlClaimRequest, u as AgentInteractiveSessionRef } from "./index-V_pXOH3B.js";
3
3
 
4
4
  //#region src/interactive-types.d.ts
5
5
  /** Cancellation for an interactive SDK request. */
@@ -1,4 +1,4 @@
1
- import { a as ProxySecretReceiptSchema, n as agentProfileJsonSchema, r as agentProfileSchema } from "./profile-schema-B48XymtK.js";
1
+ import { n as agentProfileJsonSchema, o as ProxySecretReceiptSchema, r as agentProfileSchema } from "./profile-schema-BHeC7cOf.js";
2
2
  import { z } from "zod";
3
3
  import "@tangle-network/agent-interface/harness-capabilities";
4
4
  //#region ../../../packages/cli-agent-registry/dist/harness-contracts-DJrQ46jw.mjs
@@ -1,4 +1,4 @@
1
- import { L as CliAuthFile } from "./index--9j_Jlf_.js";
1
+ import { L as CliAuthFile } from "./index-V_pXOH3B.js";
2
2
  import { z } from "zod";
3
3
 
4
4
  //#region ../../../packages/cli-agent-registry/dist/public-profile-request-BwBfLgGv.d.mts
@@ -0,0 +1,2 @@
1
+ import "./cli-auth-bundle-CQCj_DOW-Dh_yUYBo.js";
2
+ export {};
@@ -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-Dkw-3X0c.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, nt as SANDBOX_CREATE_DEADLINE_HEADER, o as exportTraceBundle, q as awaitCreateResend, tt as runtimeWorkspaceCwdSchema, w as splitInlineProfileFileMounts, x as deleteSandbox, z as parseLifecycleTimes } from "./sandbox-DwsMu1zb.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-DKcK7qN8.js";
2
+ import { r as agentProfileSchema } from "./profile-schema-BHeC7cOf.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, nt as SANDBOX_CREATE_DEADLINE_HEADER, o as exportTraceBundle, q as awaitCreateResend, tt as runtimeWorkspaceCwdSchema, w as splitInlineProfileFileMounts, x as deleteSandbox, z as parseLifecycleTimes } from "./sandbox-VKAvg6I7.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-BY7a-Hpw.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-C0uRcl6r.js";
7
+ import { i as fetchSandboxApi, n as SDK_TIMEOUTS } from "./api-request-BKI8ddCr.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";
@@ -1202,11 +1202,11 @@ function isLocalSandboxEndpoint(baseUrl) {
1202
1202
  }
1203
1203
  }
1204
1204
  async function resolveLocalCliAuthFiles(backendType) {
1205
- const { discoverLocalCliAuthFiles } = await import("./local-cli-auth-BnPW3Zv_.js");
1205
+ const { discoverLocalCliAuthFiles } = await import("./local-cli-auth-D_Dl4Jaa.js");
1206
1206
  return discoverLocalCliAuthFiles(backendType);
1207
1207
  }
1208
1208
  async function loadLocalCliAuthExpectation(backendType) {
1209
- const { describeLocalCliAuthExpectation: describe } = await import("./local-cli-auth-BnPW3Zv_.js");
1209
+ const { describeLocalCliAuthExpectation: describe } = await import("./local-cli-auth-D_Dl4Jaa.js");
1210
1210
  return describe(backendType);
1211
1211
  }
1212
1212
  /**