@tangle-network/sandbox 1.0.236 → 1.0.238

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 (68) hide show
  1. package/dist/agent/index.d.ts +4 -4
  2. package/dist/agent/index.js +5 -5
  3. package/dist/agent/preview.d.ts +1 -1
  4. package/dist/agent/preview.js +2 -2
  5. package/dist/{agent-execution-preparation-BJChICex.js → agent-execution-preparation-CjKTjmJ9.js} +3 -3
  6. package/dist/{agent-execution-preparation-receipt-BIFxqyr5.js → agent-execution-preparation-receipt-AihkqLnd.js} +4 -4
  7. package/dist/{agent-run-outcome-CEf6hJYp.d.ts → agent-run-outcome-DrhA0Z4S.d.ts} +2 -2
  8. package/dist/{api-request-DXF7sotx.js → api-request-wjUrfDvm.js} +1 -1
  9. package/dist/auth/index.d.ts +2 -2
  10. package/dist/auth/index.js +2 -2
  11. package/dist/{browser-interactive-control-controller-CcUjQEfa.d.ts → browser-interactive-control-controller-9RauUsHw.d.ts} +1 -1
  12. package/dist/{browser-interactive-control-controller-DL5Cz1_6.js → browser-interactive-control-controller-BDVXcCnz.js} +14 -14
  13. package/dist/{chunked-upload-BlvgxPWx.js → chunked-upload-B1kuuezC.js} +1 -1
  14. package/dist/{chunked-upload-file-DOeLpMO0.js → chunked-upload-file-DtAW52iW.js} +1 -1
  15. package/dist/cli-auth-bundle-BinY89CX.js +2 -0
  16. package/dist/{cli-auth-bundle-C6DtK7GX-mBUPER0R.js → cli-auth-bundle-C6DtK7GX-DoqlFTT-.js} +1 -1
  17. package/dist/{client-OYkwBKG2.d.ts → client-DsXWyLrM.d.ts} +79 -114
  18. package/dist/{client-BiKIhMtW.js → client-eoEoMzDD.js} +20 -117
  19. package/dist/collaboration/index.d.ts +1 -1
  20. package/dist/collaboration/index.js +1 -1
  21. package/dist/{collaboration-CpKTrw6R.js → collaboration-jvzPekSe.js} +2 -2
  22. package/dist/core.d.ts +7 -7
  23. package/dist/core.js +6 -6
  24. package/dist/{errors-nXGKGVFe.js → errors-DQEu-Q7s.js} +20 -21
  25. package/dist/{file-download-BjkrYzy_.js → file-download-CihyMYH-.js} +2 -2
  26. package/dist/{harness-DMaNgn0S.js → harness-C5lXV9e5.js} +5 -5
  27. package/dist/{index-C8YpXh5N.d.ts → index-B_1aVs2B.d.ts} +14 -88
  28. package/dist/index.d.ts +13 -12
  29. package/dist/index.js +13 -13
  30. package/dist/intelligence/index.d.ts +13 -6
  31. package/dist/intelligence/index.js +61 -9
  32. package/dist/interactive-control.d.ts +1 -1
  33. package/dist/interactive-control.js +1 -1
  34. package/dist/{interactive-controller-CJ7BBRpv.d.ts → interactive-controller-C2vOFe0u.d.ts} +3 -3
  35. package/dist/{interactive-controller-Blf5CLeI.js → interactive-controller-CDqa41yU.js} +7 -7
  36. package/dist/{lines-CSGBHEjR.js → lines-Bsp1TFBM.js} +1 -1
  37. package/dist/{lines-CCJZUrBP.d.ts → lines-CxWFuuJ3.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-CO0byocv.js → local-cli-auth-DrNihS9-.js} +1 -1
  41. package/dist/{mcp-local-oIc-ZtHF.js → mcp-local-CbzPG05W.js} +2 -2
  42. package/dist/{preview-zpWYtsDJ.d.ts → preview-DFFaAZdF.d.ts} +3 -3
  43. package/dist/{profile-schema-C1KpT-wS.js → profile-schema-C0n0VgmA.js} +468 -36
  44. package/dist/{public-templates-DCFFPDEB.d.ts → public-templates-xqtPv6pg.d.ts} +2 -2
  45. package/dist/public-templates.d.ts +1 -1
  46. package/dist/public-templates.js +1 -1
  47. package/dist/{raw-evidence-archive-Cz4j8VMw.js → raw-evidence-archive-DLNEUdij.js} +3 -15
  48. package/dist/raw-evidence-export-C0ieFpi2.d.ts +354 -0
  49. package/dist/raw-evidence-export-C6Xdl3nC.js +19 -0
  50. package/dist/runtime.d.ts +5 -5
  51. package/dist/runtime.js +5 -5
  52. package/dist/{sandbox-C1Ffpg9v.js → sandbox-nYoBbiu1.js} +116 -155
  53. package/dist/{select-seat-B4Y-7vIq.js → select-seat-BHHUFoKh.js} +5 -5
  54. package/dist/select-seat-command.d.ts +2 -2
  55. package/dist/select-seat-command.js +2 -2
  56. package/dist/session-gateway/index.js +1 -1
  57. package/dist/tangle/index.d.ts +1 -1
  58. package/dist/tangle/index.js +1 -1
  59. package/dist/{tangle-CL6wrVuO.js → tangle-BaGQdAZk.js} +3 -3
  60. package/dist/{terminal-stream-types-eE97lZ-5.d.ts → terminal-stream-types-D7dMd-NV.d.ts} +40 -26
  61. package/dist/{types-B5GAxo6l.d.ts → types-ImZuAuFG.d.ts} +299 -1521
  62. package/package.json +7 -7
  63. package/dist/cli-auth-bundle-BLAtE6Dc.js +0 -2
  64. /package/dist/{cli-auth-bundle-B91fSxkR.d.ts → cli-auth-bundle-eUl7Sa1x.d.ts} +0 -0
  65. /package/dist/{direct-http2-Bgb2lHte.js → direct-http2-zLxsvF44.js} +0 -0
  66. /package/dist/{index-o31uwAkX.d.ts → index-BTXyTVq4.d.ts} +0 -0
  67. /package/dist/{index-C-_HY5NY.d.ts → index-ClusTWYM.d.ts} +0 -0
  68. /package/dist/{sha2-vu4U-x2L.js → sha2-BIoWepwn.js} +0 -0
@@ -1,7 +1,7 @@
1
- import { I as SandboxTaskSession, O as SandboxInstance, R as SandboxSession } from "../index-C8YpXh5N.js";
2
- import { Bt as SandboxFleetParent, Ha as CodeExecutionResult, Ua as CodeLanguage, Ur as CodeExecutionOptions, Wa as CodeResultPart, ga as BackendConfig, ia as SessionListOptions, mo as BackendType, na as SessionInfo } from "../types-B5GAxo6l.js";
3
- import { t as Sandbox } from "../client-OYkwBKG2.js";
4
- import { u as PreviewAuthorizer } from "../preview-zpWYtsDJ.js";
1
+ import { I as SandboxTaskSession, O as SandboxInstance, R as SandboxSession } from "../index-B_1aVs2B.js";
2
+ import { Bt as SandboxFleetParent, Ha as CodeExecutionResult, Ua as CodeLanguage, Ur as CodeExecutionOptions, Wa as CodeResultPart, ga as BackendConfig, ia as SessionListOptions, na as SessionInfo, no as BackendType } from "../types-ImZuAuFG.js";
3
+ import { t as Sandbox } from "../client-DsXWyLrM.js";
4
+ import { u as PreviewAuthorizer } from "../preview-DFFaAZdF.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-oIc-ZtHF.js";
2
- import { D as assertCurrentBackendType } from "../interactive-controller-Blf5CLeI.js";
3
- import { t as SandboxInstance } from "../sandbox-C1Ffpg9v.js";
4
- import { D as ValidationError, _ as NotFoundError, w as StateError } from "../errors-nXGKGVFe.js";
5
- import { t as Sandbox } from "../client-BiKIhMtW.js";
1
+ import { a as TOOL_SPECS, i as ALL_TOOL_SPECS, o as serializeToolResult, r as bindToolSpecs, t as createMcpServer } from "../mcp-local-CbzPG05W.js";
2
+ import { D as assertCurrentBackendType } from "../interactive-controller-CDqa41yU.js";
3
+ import { t as SandboxInstance } from "../sandbox-nYoBbiu1.js";
4
+ import { O as ValidationError, T as StateError, v as NotFoundError } from "../errors-DQEu-Q7s.js";
5
+ import { t as Sandbox } from "../client-eoEoMzDD.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-zpWYtsDJ.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-DFFaAZdF.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-C1KpT-wS.js";
1
+ import { r as agentProfileSchema } from "../profile-schema-C0n0VgmA.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-DWL78boI.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-oIc-ZtHF.js").then((n) => n.n), import("@modelcontextprotocol/sdk/server/webStandardStreamableHttp.js")]);
69
+ const [{ createMcpServer }, { WebStandardStreamableHTTPServerTransport }] = await Promise.all([import("../mcp-local-CbzPG05W.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-DMaNgn0S.js";
2
- import { o as canonicalAgentProfileValue, r as agentProfileSchema } from "./profile-schema-C1KpT-wS.js";
3
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.13/node_modules/@tangle-network/agent-interface/dist/agent-execution-preparation.js
1
+ import { o as canonicalCandidateDigest, u as isCanonicalJsonValue } from "./harness-C5lXV9e5.js";
2
+ import { o as canonicalAgentProfileValue, r as agentProfileSchema } from "./profile-schema-C0n0VgmA.js";
3
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.19/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,
@@ -1,6 +1,6 @@
1
- import { g 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-DMaNgn0S.js";
1
+ import { g 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-C5lXV9e5.js";
2
2
  import { z } from "zod";
3
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.13/node_modules/@tangle-network/agent-interface/dist/agent-workspace-source-snapshot.js
3
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.19/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.13/node_modules/@tangle-network/agent-interface/dist/agent-profile-materialization.js
14
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.19/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
  *
@@ -75,7 +75,7 @@ const AGENT_PROFILE_MATERIALIZATION_AXES = [
75
75
  value: (profile) => profile.model?.[property]
76
76
  }))];
77
77
  //#endregion
78
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.13/node_modules/@tangle-network/agent-interface/dist/agent-execution-preparation-receipt.js
78
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.19/node_modules/@tangle-network/agent-interface/dist/agent-execution-preparation-receipt.js
79
79
  const nonBlankStringSchema = z.string().refine((value) => value.trim().length > 0, "value cannot be blank");
80
80
  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");
81
81
  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");
@@ -1,5 +1,5 @@
1
- import { Ct as InteractionRequest } from "./terminal-stream-types-eE97lZ-5.js";
2
- import { Di as SandboxEvent, _i as DurablePlanSnapshot, ci as AgentApprovalRequirement, di as AgentToolInvocation, li as AgentQuestionRequest, ui as AgentRunStatus } from "./types-B5GAxo6l.js";
1
+ import { Tt as InteractionRequest } from "./terminal-stream-types-D7dMd-NV.js";
2
+ import { Di as SandboxEvent, _i as DurablePlanSnapshot, ci as AgentApprovalRequirement, di as AgentToolInvocation, li as AgentQuestionRequest, ui as AgentRunStatus } from "./types-ImZuAuFG.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.236";
33
+ const SDK_VERSION = "1.0.238";
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 materializeCliAuthBundle, n as assertCliAuthReferenceSupported, r as cliAuthReferenceSchema, t as CliAuthReference } from "../cli-auth-bundle-B91fSxkR.js";
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-C-_HY5NY.js";
1
+ import { i as materializeCliAuthBundle, n as assertCliAuthReferenceSupported, r as cliAuthReferenceSchema, t as CliAuthReference } from "../cli-auth-bundle-eUl7Sa1x.js";
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-ClusTWYM.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-C6DtK7GX-mBUPER0R.js";
2
- import "../cli-auth-bundle-BLAtE6Dc.js";
1
+ import { i as materializeCliAuthBundle, n as assertCliAuthReferenceSupported, r as cliAuthReferenceSchema } from "../cli-auth-bundle-C6DtK7GX-DoqlFTT-.js";
2
+ import "../cli-auth-bundle-BinY89CX.js";
3
3
  //#region src/auth/tokens.ts
4
4
  const textEncoder = new TextEncoder();
5
5
  const textDecoder = new TextDecoder();
@@ -1,4 +1,4 @@
1
- import { at as AgentInteractiveSessionAttach, ct as AgentInteractiveSessionControlClaimRequest, dt as AgentInteractiveSessionRef, ft as AgentInteractiveSessionStatus, i as TerminalStreamHandlers, ot as AgentInteractiveSessionControlClaim, st as AgentInteractiveSessionControlClaimAcknowledgement } from "./terminal-stream-types-eE97lZ-5.js";
1
+ import { ct as AgentInteractiveSessionControlClaimAcknowledgement, ft as AgentInteractiveSessionRef, i as TerminalStreamHandlers, lt as AgentInteractiveSessionControlClaimRequest, ot as AgentInteractiveSessionAttach, pt as AgentInteractiveSessionStatus, st as AgentInteractiveSessionControlClaim } from "./terminal-stream-types-D7dMd-NV.js";
2
2
 
3
3
  //#region src/interactive-types.d.ts
4
4
  /** Cancellation for an interactive SDK request. */
@@ -1,9 +1,9 @@
1
- import { C as boundedIdentifierSchema, D as isBoundedEventContentJson, E as boundedStringSchema, S as boundedEventContentStringSchema, T as boundedJsonSchema, _ as CONTRACT_MAX_ARRAY_LENGTH, b as boundedEventContentJsonSchema, g as sha256DigestSchema, o as canonicalCandidateDigest, w as boundedJsonRecordSchema, x as boundedEventContentRecordSchema, y as CONTRACT_MAX_STRING_LENGTH } from "./harness-DMaNgn0S.js";
2
- import { t as agentExecutionPreparationReceiptSchema } from "./agent-execution-preparation-receipt-BIFxqyr5.js";
1
+ import { C as boundedIdentifierSchema, D as isBoundedEventContentJson, E as boundedStringSchema, S as boundedEventContentStringSchema, T as boundedJsonSchema, _ as CONTRACT_MAX_ARRAY_LENGTH, b as boundedEventContentJsonSchema, g as sha256DigestSchema, o as canonicalCandidateDigest, w as boundedJsonRecordSchema, x as boundedEventContentRecordSchema, y as CONTRACT_MAX_STRING_LENGTH } from "./harness-C5lXV9e5.js";
2
+ import { t as agentExecutionPreparationReceiptSchema } from "./agent-execution-preparation-receipt-AihkqLnd.js";
3
3
  import { t as awaitWithAbort } from "./abort-signal-CRxC2dlT.js";
4
- import { i as fetchSandboxApi } from "./api-request-DXF7sotx.js";
4
+ import { i as fetchSandboxApi } from "./api-request-wjUrfDvm.js";
5
5
  import { z } from "zod";
6
- //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.13/node_modules/@tangle-network/agent-interface/dist/native-session-event.js
6
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.19/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.13/node_modules/@tangle-network/agent-interface/dist/environment-observation.js
21
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.19/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.13/node_modules/@tangle-network/agent-interface/dist/interaction-fields.js
213
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.19/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.13/node_modules/@tangle-network/agent-interface/dist/interaction-data.js
394
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.19/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.13/node_modules/@tangle-network/agent-interface/dist/interaction-permissions.js
439
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.19/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.13/node_modules/@tangle-network/agent-interface/dist/interaction-answer-validation.js
466
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.19/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.13/node_modules/@tangle-network/agent-interface/dist/interaction-resolution-validation.js
571
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.19/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.13/node_modules/@tangle-network/agent-interface/dist/interaction-envelope.js
609
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.19/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.13/node_modules/@tangle-network/agent-interface/dist/plan.js
813
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.19/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.13/node_modules/@tangle-network/agent-interface/dist/runtime-control.js
878
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.19/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.13/node_modules/@tangle-network/agent-interface/dist/environment-interactive-control.js
1214
+ //#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.19/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,4 +1,4 @@
1
- import { S as SandboxError, n as isTransientWrite, r as parseErrorResponse } from "./errors-nXGKGVFe.js";
1
+ import { C as SandboxError, n as isTransientWrite, r as parseErrorResponse } from "./errors-DQEu-Q7s.js";
2
2
  import { c as retryBudget, i as awaitResend, n as SANDBOX_API_RETRY_SCOPE, r as abortableSleep } from "./retry-policy-oW3_ljoc.js";
3
3
  import { i as FILE_UPLOAD_SESSION_MAX_BYTES, n as isFileTooLargeErrorBody, r as isPayloadTooLargeErrorBody } from "./file-transfer-DOSTbUSR.js";
4
4
  //#region src/lib/sdk-retry.ts
@@ -1,5 +1,5 @@
1
1
  import { i as FILE_UPLOAD_SESSION_MAX_BYTES } from "./file-transfer-DOSTbUSR.js";
2
- import { a as planCompression, i as partCount, n as commitSession, o as putPart, r as initUploadSession, t as abortSession } from "./chunked-upload-BlvgxPWx.js";
2
+ import { a as planCompression, i as partCount, n as commitSession, o as putPart, r as initUploadSession, t as abortSession } from "./chunked-upload-B1kuuezC.js";
3
3
  import { createHash } from "node:crypto";
4
4
  import { open } from "node:fs/promises";
5
5
  //#region src/lib/chunked-upload-file.ts
@@ -0,0 +1,2 @@
1
+ import "./cli-auth-bundle-C6DtK7GX-DoqlFTT-.js";
2
+ export {};
@@ -1,4 +1,4 @@
1
- import { n as agentProfileJsonSchema, r as agentProfileSchema } from "./profile-schema-C1KpT-wS.js";
1
+ import { n as agentProfileJsonSchema, r as agentProfileSchema } from "./profile-schema-C0n0VgmA.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-BZoECCMc.mjs
@@ -1,8 +1,8 @@
1
- import { A as TraceExportResult, H as MaterializeProfileFileMountsOptions, O as SandboxInstance, U as MaterializeProfileFileMountsResult, W as ProfileFileMountBox, j as TraceExportSink } from "./index-C8YpXh5N.js";
2
- import { $ as PublicBatchRunRequest, At as AgentProfileMcpServer, Bt as BatchEvent, Dt as AgentProfileConfidential, Ft as HarnessType, J as BatchCustody, L as SandboxError, Mt as AgentProfileSeat, Ot as AgentProfileConfigValue, Tt as AgentProfile, Y as BatchResult, c as MintInteractiveSessionTokenOptions, dt as AgentInteractiveSessionRef, et as PublicBatchRunRequestInput, jt as AgentProfileMetadata, kt as AgentProfileFileMount, nt as SandboxSizePreset, rt as AgentRuntimeAttachments, u as ScopedToken } from "./terminal-stream-types-eE97lZ-5.js";
3
- import { $ as CreateSandboxFleetOptions, $t as SandboxFleetWorkspaceRestoreResult, A as SandboxIdentity, Bt as SandboxFleetParent, Ci as IntelligenceReportWindow, Di as SandboxEvent, Dn as SandboxResources, Ei as PromptResult, En as SandboxConfig, Et as SandboxFleetCostEstimate, Ft as SandboxFleetMachineRecord, Ga as ExecResult, Gr as ManagedProcessOptions, Gt as SandboxFleetToken, Ht as SandboxFleetPolicy, It as SandboxFleetMachineSpec, Jr as ManagedProcessRecord, Kr as ManagedProcessResumeOptions, Kt as SandboxFleetTraceBundle, Lt as SandboxFleetManifest, M as UsageInfo, Ma as GpuLeaseProviderName, Nt as SandboxFleetMachine, On as SandboxShapesInfo, Ot as SandboxFleetDispatchResponse, Pi as TurnBackendConfig, Q as AttachSandboxFleetMachineOptions, Qt as SandboxFleetWorkspaceReconcileResult, Ri as ConversationTurnOptions, St as SandboxFleetAgent, T as SshKeysManager, Ti as PromptOptions, Tn as CreateSandboxOptions, Tt as SandboxFleetArtifactSpec, Wr as ManagedProcessJobs, Wt as SandboxFleetSpend, X as FleetDriveTurnRequest, Xr as HttpClient, Xt as SandboxFleetUsage, Y as FleetDriveTurnOutcome, Yn as DownloadResult, Yr as ManagedProcessSpec, Yt as SandboxFleetTraceOptions, Z as TokenRefreshHandler, Zr as SdkTimingHook, _t as ListSandboxFleetOptions, a as DeleteMatchingSandboxesResult, an as SandboxInfo, bi as IntelligenceReportBudget, bn as TeeAttestationResponse, bt as ReconcileSandboxFleetsOptions, cn as SandboxRunGeneration, ct as FleetDispatchResultBufferOptions, dt as FleetExecDispatchResult, en as SandboxFleetWorkspaceSnapshotResult, et as CreateSandboxFleetTokenOptions, fi as CreateIntelligenceReportOptions, ft as FleetMachineId, ga as BackendConfig, gt as FleetRunOptions, ht as FleetRunEvent, i as DeleteMatchingSandboxesOptions, it as FleetAgentResult, j as SubscriptionInfo, jn as SandboxShapePreset, jt as SandboxFleetInfo, kt as SandboxFleetDriverCapability, lt as FleetDispatchStreamOptions, mt as FleetPromptDispatchResult, nt as FleetAgentId, ot as FleetDispatchCancelResult, pt as FleetPromptDispatchOptions, qn as DownloadOptions, r as DeleteMatchingSandboxesFilter, si as BatchRunOptions, st as FleetDispatchResultBuffer, tn as ListSandboxOptions, tt as CreateSandboxFleetWithCoordinatorOptions, ut as FleetExecDispatchOptions, vt as ReapExpiredSandboxFleetsOptions, w as SecretsManager, wa as SecretBindingOptions, wi as PromptInputPart, wn as CreateRequestOptions, wr as SandboxEnvironment, wt as SandboxFleetArtifact, xi as IntelligenceReportCompareTo, xt as ReconcileSandboxFleetsResult, yi as IntelligenceReport, yn as TeeAttestationReport, yr as ExecOptions, yt as ReapExpiredSandboxFleetsResult, zi as ConversationTurnResult, zt as SandboxFleetOperationsSummary } from "./types-B5GAxo6l.js";
4
- import { t as LinesClient } from "./lines-CCJZUrBP.js";
5
- import { a as PublicTemplatesClient } from "./public-templates-DCFFPDEB.js";
1
+ import { A as TraceExportResult, H as MaterializeProfileFileMountsOptions, O as SandboxInstance, U as MaterializeProfileFileMountsResult, W as ProfileFileMountBox, j as TraceExportSink, yt as SandboxOperation } from "./index-B_1aVs2B.js";
2
+ import { At as AgentProfileConfigValue, Ct as AgentRuntimeAttachments, Dt as AgentProfile, Ht as BatchEvent, Lt as HarnessType, Mt as AgentProfileMcpServer, Nt as AgentProfileMetadata, Pt as AgentProfileSeat, R as SandboxError, X as BatchCustody, Z as BatchResult, c as MintInteractiveSessionTokenOptions, ft as AgentInteractiveSessionRef, it as SandboxSizePreset, jt as AgentProfileFileMount, kt as AgentProfileConfidential, nt as PublicBatchRunRequestInput, tt as PublicBatchRunRequest, u as ScopedToken } from "./terminal-stream-types-D7dMd-NV.js";
3
+ import { $ as CreateSandboxFleetOptions, $t as SandboxFleetWorkspaceRestoreResult, A as SandboxIdentity, Bt as SandboxFleetParent, Ci as IntelligenceReportWindow, Di as SandboxEvent, Dn as SandboxResources, Ei as PromptResult, En as SandboxConfig, Et as SandboxFleetCostEstimate, Ft as SandboxFleetMachineRecord, Ga as ExecResult, Gr as ManagedProcessOptions, Gt as SandboxFleetToken, Ht as SandboxFleetPolicy, It as SandboxFleetMachineSpec, Jr as ManagedProcessRecord, Kr as ManagedProcessResumeOptions, Kt as SandboxFleetTraceBundle, Lt as SandboxFleetManifest, M as UsageInfo, Ma as GpuLeaseProviderName, Nt as SandboxFleetMachine, On as SandboxShapesInfo, Ot as SandboxFleetDispatchResponse, Pi as TurnBackendConfig, Q as AttachSandboxFleetMachineOptions, Qt as SandboxFleetWorkspaceReconcileResult, Ri as ConversationTurnOptions, St as SandboxFleetAgent, T as SshKeysManager, Ti as PromptOptions, Tn as CreateSandboxOptions, Tt as SandboxFleetArtifactSpec, Wr as ManagedProcessJobs, Wt as SandboxFleetSpend, X as FleetDriveTurnRequest, Xr as HttpClient, Xt as SandboxFleetUsage, Y as FleetDriveTurnOutcome, Yn as DownloadResult, Yr as ManagedProcessSpec, Yt as SandboxFleetTraceOptions, Z as TokenRefreshHandler, Zr as SdkTimingHook, _t as ListSandboxFleetOptions, a as DeleteMatchingSandboxesResult, an as SandboxInfo, bi as IntelligenceReportBudget, bn as TeeAttestationResponse, bt as ReconcileSandboxFleetsOptions, c as SandboxDeleteOptions, cn as SandboxRunGeneration, ct as FleetDispatchResultBufferOptions, dt as FleetExecDispatchResult, en as SandboxFleetWorkspaceSnapshotResult, et as CreateSandboxFleetTokenOptions, fi as CreateIntelligenceReportOptions, ft as FleetMachineId, ga as BackendConfig, gt as FleetRunOptions, ht as FleetRunEvent, i as DeleteMatchingSandboxesOptions, it as FleetAgentResult, j as SubscriptionInfo, jn as SandboxShapePreset, jt as SandboxFleetInfo, kt as SandboxFleetDriverCapability, lt as FleetDispatchStreamOptions, mt as FleetPromptDispatchResult, nt as FleetAgentId, ot as FleetDispatchCancelResult, pt as FleetPromptDispatchOptions, qn as DownloadOptions, r as DeleteMatchingSandboxesFilter, s as SandboxDeleteAcknowledgement, si as BatchRunOptions, st as FleetDispatchResultBuffer, tn as ListSandboxOptions, tt as CreateSandboxFleetWithCoordinatorOptions, ut as FleetExecDispatchOptions, vt as ReapExpiredSandboxFleetsOptions, w as SecretsManager, wa as SecretBindingOptions, wi as PromptInputPart, wn as CreateRequestOptions, wr as SandboxEnvironment, wt as SandboxFleetArtifact, xi as IntelligenceReportCompareTo, xt as ReconcileSandboxFleetsResult, yi as IntelligenceReport, yn as TeeAttestationReport, yr as ExecOptions, yt as ReapExpiredSandboxFleetsResult, zi as ConversationTurnResult, zt as SandboxFleetOperationsSummary } from "./types-ImZuAuFG.js";
4
+ import { t as LinesClient } from "./lines-CxWFuuJ3.js";
5
+ import { a as PublicTemplatesClient } from "./public-templates-xqtPv6pg.js";
6
6
  import { z } from "zod";
7
7
 
8
8
  //#region src/backend-registry.d.ts
@@ -128,47 +128,16 @@ declare class SandboxTransport {
128
128
  //#endregion
129
129
  //#region src/client-sandbox-management.d.ts
130
130
  declare class SandboxManagement extends SandboxTransport {
131
- /**
132
- * Poll a sandbox to `running` by id. Surfaces a real provision failure
133
- * as a {@link StateError} (carrying the sandbox's error message) rather
134
- * than an opaque timeout, and throws {@link NotFoundError} if the id is
135
- * unknown. Use after a {@link create} that timed out client-side but may
136
- * have continued provisioning server-side under its idempotency key.
137
- */
131
+ /** Await running, or report the provisioning StateError/unknown-ID NotFoundError. */
138
132
  waitForRunning(id: string, options?: {
139
133
  timeoutMs?: number;
140
134
  signal?: AbortSignal;
141
135
  }): Promise<SandboxInstance>;
142
- /**
143
- * List the agent backends registered by the Sandbox platform.
144
- *
145
- * The response contains static capabilities. A specific session can expose
146
- * fewer interaction kinds after its configuration is applied.
147
- */
136
+ /** Serving backend capabilities; individual session configuration may narrow them. */
148
137
  listBackends(): Promise<BackendRegistryResponse>;
149
- /**
150
- * Get one registered agent backend by its canonical type.
151
- *
152
- * An absent entry means the authenticated Sandbox deployment does not
153
- * advertise that backend. The lookup uses the same typed catalog as
154
- * {@link listBackends}; it does not maintain a second registry.
155
- */
138
+ /** Read one canonical type from the authenticated deployment's backend catalog. */
156
139
  getBackend(type: string): Promise<BackendRegistryEntry | undefined>;
157
- /**
158
- * List all sandboxes.
159
- *
160
- * @param options - Filtering and pagination options
161
- * @returns Array of SandboxInstance objects
162
- *
163
- * @example
164
- * ```typescript
165
- * // List all running sandboxes
166
- * const running = await client.list({ status: "running" });
167
- *
168
- * // List with pagination
169
- * const page = await client.list({ limit: 10, offset: 0 });
170
- * ```
171
- */
140
+ /** List sandboxes with the requested filters and pagination. */
172
141
  list(options?: ListSandboxOptions): Promise<SandboxInstance[]>;
173
142
  /**
174
143
  * Every compute generation of every sandbox created for a caller run
@@ -181,84 +150,20 @@ declare class SandboxManagement extends SandboxTransport {
181
150
  * ```
182
151
  */
183
152
  runGenerations(run: string): Promise<SandboxRunGeneration[]>;
184
- /**
185
- * Get a sandbox by ID.
186
- *
187
- * @param id - The sandbox ID
188
- * @returns A SandboxInstance or null if not found
189
- *
190
- * @example
191
- * ```typescript
192
- * const box = await client.get("sandbox_abc123");
193
- * if (box) {
194
- * console.log(box.status);
195
- * }
196
- * ```
197
- */
153
+ /** Load the exact sandbox, including failed/stopped boxes; return null on HTTP 404. */
198
154
  get(id: string): Promise<SandboxInstance | null>;
199
- /**
200
- * Delete every sandbox this caller owns whose metadata matches, and report
201
- * which ones are confirmed gone.
202
- *
203
- * Each sandbox goes through the same delete as {@link SandboxInstance.delete}.
204
- * The API deletes a bounded batch per request in ID order; this method
205
- * follows its cursor, so one call attempts every match once and a refused
206
- * delete never holds back the matches after it. Calling it again is safe: a
207
- * sandbox confirmed gone no longer matches.
208
- *
209
- * `complete` is the teardown verdict. When it is false, `sandboxes` names
210
- * each refused delete with its status and code, and `listingComplete` or
211
- * `remaining` says whether a match may not have been attempted.
212
- *
213
- * `complete` covers the sandboxes this call listed. Stop creating
214
- * sandboxes that match before calling, and call again once in-flight
215
- * creates have settled; a create that registers after the listing, or that
216
- * retries with the same idempotency key, can leave a match behind.
217
- *
218
- * @example
219
- * ```typescript
220
- * // Remove every sandbox one Agent Runtime run created.
221
- * const result = await client.deleteMatching({
222
- * metadataPrefix: { retainedIdempotencyKey: `runtime:${runId}:` },
223
- * });
224
- * if (!result.complete) {
225
- * console.warn(result.sandboxes.filter((s) => !s.confirmed));
226
- * }
227
- * ```
228
- */
155
+ /** Delete an exact sandbox id through the same lifecycle as instance.delete(), without loading it. */
156
+ delete(id: string, options: SandboxDeleteOptions & {
157
+ wait: false;
158
+ }): Promise<SandboxOperation>;
159
+ delete(id: string, options?: SandboxDeleteOptions): Promise<SandboxDeleteAcknowledgement>;
160
+ /** Delete owned metadata matches. Complete covers the listed set; stop matching creates before confirming cleanup. */
229
161
  deleteMatching(filter: DeleteMatchingSandboxesFilter, options?: DeleteMatchingSandboxesOptions): Promise<DeleteMatchingSandboxesResult>;
230
- /**
231
- * Mint the terminal-capable token for one exact interactive session.
232
- *
233
- * This is a server-side operation. It validates the complete session
234
- * reference, derives the sandbox and runtime session IDs from that reference,
235
- * and makes one scoped-token request without loading the sandbox first.
236
- */
162
+ /** Mint a terminal token for the exact interactive reference without loading its sandbox. */
237
163
  mintInteractiveSessionToken(ref: AgentInteractiveSessionRef, options?: MintInteractiveSessionTokenOptions): Promise<ScopedToken>;
238
- /**
239
- * The named sandbox sizes, which one is the platform's default, and the
240
- * largest shape this account can be granted on the serving deployment.
241
- *
242
- * The platform owns these numbers; a client that sizes a request from
243
- * `ceiling` is never refused with `RESOURCES_EXCEED_LIMIT`, and
244
- * {@link sandboxResourcesForSize} accepts `presets` so a named tier expands
245
- * to what this deployment actually sells.
246
- *
247
- * @example
248
- * ```typescript
249
- * const shapes = await client.shapes();
250
- * const box = await client.create({
251
- * resources: sandboxResourcesForSize("medium", shapes.presets),
252
- * });
253
- * ```
254
- */
164
+ /** Read serving sizes, default and granted ceiling; pass presets to sandboxResourcesForSize. */
255
165
  shapes(): Promise<SandboxShapesInfo>;
256
- /**
257
- * Return the identity the public Sandbox API observed for this credential.
258
- *
259
- * This is useful for deployment checks that must confirm which account and
260
- * API key a service credential resolves to without exposing the key itself.
261
- */
166
+ /** Read the API-observed owner/key identity without exposing its credential. */
262
167
  getIdentity(): Promise<SandboxIdentity>;
263
168
  /**
264
169
  * Get usage information for the account.
@@ -1617,6 +1522,12 @@ declare const manageSandboxesInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1617
1522
  xhigh: "xhigh";
1618
1523
  ultracode: "ultracode";
1619
1524
  }>>;
1525
+ credentialSource: z.ZodOptional<z.ZodEnum<{
1526
+ router: "router";
1527
+ "api-key": "api-key";
1528
+ subscription: "subscription";
1529
+ managed: "managed";
1530
+ }>>;
1620
1531
  selector: z.ZodUnion<readonly [z.ZodObject<{
1621
1532
  kind: z.ZodLiteral<"all-eligible">;
1622
1533
  }, z.core.$strict>, z.ZodObject<{
@@ -2023,6 +1934,12 @@ declare const manageSandboxesInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2023
1934
  xhigh: "xhigh";
2024
1935
  ultracode: "ultracode";
2025
1936
  }>>;
1937
+ credentialSource: z.ZodOptional<z.ZodEnum<{
1938
+ router: "router";
1939
+ "api-key": "api-key";
1940
+ subscription: "subscription";
1941
+ managed: "managed";
1942
+ }>>;
2026
1943
  selector: z.ZodUnion<readonly [z.ZodObject<{
2027
1944
  kind: z.ZodLiteral<"all-eligible">;
2028
1945
  }, z.core.$strict>, z.ZodObject<{
@@ -2439,6 +2356,12 @@ declare const manageSandboxesInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2439
2356
  xhigh: "xhigh";
2440
2357
  ultracode: "ultracode";
2441
2358
  }>>;
2359
+ credentialSource: z.ZodOptional<z.ZodEnum<{
2360
+ router: "router";
2361
+ "api-key": "api-key";
2362
+ subscription: "subscription";
2363
+ managed: "managed";
2364
+ }>>;
2442
2365
  selector: z.ZodUnion<readonly [z.ZodObject<{
2443
2366
  kind: z.ZodLiteral<"all-eligible">;
2444
2367
  }, z.core.$strict>, z.ZodObject<{
@@ -2840,6 +2763,12 @@ declare const manageSandboxesInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2840
2763
  xhigh: "xhigh";
2841
2764
  ultracode: "ultracode";
2842
2765
  }>>;
2766
+ credentialSource: z.ZodOptional<z.ZodEnum<{
2767
+ router: "router";
2768
+ "api-key": "api-key";
2769
+ subscription: "subscription";
2770
+ managed: "managed";
2771
+ }>>;
2843
2772
  selector: z.ZodUnion<readonly [z.ZodObject<{
2844
2773
  kind: z.ZodLiteral<"all-eligible">;
2845
2774
  }, z.core.$strict>, z.ZodObject<{
@@ -3246,6 +3175,12 @@ declare const manageSandboxesInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3246
3175
  xhigh: "xhigh";
3247
3176
  ultracode: "ultracode";
3248
3177
  }>>;
3178
+ credentialSource: z.ZodOptional<z.ZodEnum<{
3179
+ router: "router";
3180
+ "api-key": "api-key";
3181
+ subscription: "subscription";
3182
+ managed: "managed";
3183
+ }>>;
3249
3184
  selector: z.ZodUnion<readonly [z.ZodObject<{
3250
3185
  kind: z.ZodLiteral<"all-eligible">;
3251
3186
  }, z.core.$strict>, z.ZodObject<{
@@ -3758,6 +3693,12 @@ declare const MANAGE_SANDBOXES_PARAMETERS: z.core.ZodStandardJSONSchemaPayload<z
3758
3693
  xhigh: "xhigh";
3759
3694
  ultracode: "ultracode";
3760
3695
  }>>;
3696
+ credentialSource: z.ZodOptional<z.ZodEnum<{
3697
+ router: "router";
3698
+ "api-key": "api-key";
3699
+ subscription: "subscription";
3700
+ managed: "managed";
3701
+ }>>;
3761
3702
  selector: z.ZodUnion<readonly [z.ZodObject<{
3762
3703
  kind: z.ZodLiteral<"all-eligible">;
3763
3704
  }, z.core.$strict>, z.ZodObject<{
@@ -4164,6 +4105,12 @@ declare const MANAGE_SANDBOXES_PARAMETERS: z.core.ZodStandardJSONSchemaPayload<z
4164
4105
  xhigh: "xhigh";
4165
4106
  ultracode: "ultracode";
4166
4107
  }>>;
4108
+ credentialSource: z.ZodOptional<z.ZodEnum<{
4109
+ router: "router";
4110
+ "api-key": "api-key";
4111
+ subscription: "subscription";
4112
+ managed: "managed";
4113
+ }>>;
4167
4114
  selector: z.ZodUnion<readonly [z.ZodObject<{
4168
4115
  kind: z.ZodLiteral<"all-eligible">;
4169
4116
  }, z.core.$strict>, z.ZodObject<{
@@ -4580,6 +4527,12 @@ declare const MANAGE_SANDBOXES_PARAMETERS: z.core.ZodStandardJSONSchemaPayload<z
4580
4527
  xhigh: "xhigh";
4581
4528
  ultracode: "ultracode";
4582
4529
  }>>;
4530
+ credentialSource: z.ZodOptional<z.ZodEnum<{
4531
+ router: "router";
4532
+ "api-key": "api-key";
4533
+ subscription: "subscription";
4534
+ managed: "managed";
4535
+ }>>;
4583
4536
  selector: z.ZodUnion<readonly [z.ZodObject<{
4584
4537
  kind: z.ZodLiteral<"all-eligible">;
4585
4538
  }, z.core.$strict>, z.ZodObject<{
@@ -4981,6 +4934,12 @@ declare const MANAGE_SANDBOXES_PARAMETERS: z.core.ZodStandardJSONSchemaPayload<z
4981
4934
  xhigh: "xhigh";
4982
4935
  ultracode: "ultracode";
4983
4936
  }>>;
4937
+ credentialSource: z.ZodOptional<z.ZodEnum<{
4938
+ router: "router";
4939
+ "api-key": "api-key";
4940
+ subscription: "subscription";
4941
+ managed: "managed";
4942
+ }>>;
4984
4943
  selector: z.ZodUnion<readonly [z.ZodObject<{
4985
4944
  kind: z.ZodLiteral<"all-eligible">;
4986
4945
  }, z.core.$strict>, z.ZodObject<{
@@ -5387,6 +5346,12 @@ declare const MANAGE_SANDBOXES_PARAMETERS: z.core.ZodStandardJSONSchemaPayload<z
5387
5346
  xhigh: "xhigh";
5388
5347
  ultracode: "ultracode";
5389
5348
  }>>;
5349
+ credentialSource: z.ZodOptional<z.ZodEnum<{
5350
+ router: "router";
5351
+ "api-key": "api-key";
5352
+ subscription: "subscription";
5353
+ managed: "managed";
5354
+ }>>;
5390
5355
  selector: z.ZodUnion<readonly [z.ZodObject<{
5391
5356
  kind: z.ZodLiteral<"all-eligible">;
5392
5357
  }, z.core.$strict>, z.ZodObject<{