@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.
- package/dist/agent/index.d.ts +4 -4
- package/dist/agent/index.js +4 -4
- package/dist/agent/preview.d.ts +1 -1
- package/dist/agent/preview.js +2 -2
- package/dist/{agent-execution-preparation-CemN5Bl6.js → agent-execution-preparation-C2KLuq0G.js} +3 -3
- package/dist/{agent-execution-preparation-receipt-ClBOzgJ_.js → agent-execution-preparation-receipt-NvWi9tgX.js} +5 -4
- package/dist/{agent-run-outcome-DVcPF3iI.d.ts → agent-run-outcome-DXctPOwJ.d.ts} +2 -2
- package/dist/{api-request-BIR0iJf9.js → api-request-ati_rM95.js} +1 -1
- package/dist/auth/index.d.ts +1 -1
- package/dist/auth/index.js +2 -2
- package/dist/{browser-interactive-control-controller-BcUiXqYy.js → browser-interactive-control-controller-BnZd0wnt.js} +14 -14
- package/dist/{browser-interactive-control-controller-CHnMRFRF.d.ts → browser-interactive-control-controller-knQXEt0T.d.ts} +2 -2
- package/dist/cli-auth-bundle-COXkowvX.js +2 -0
- package/dist/{cli-auth-bundle-DuY2E2FD-7ByGEdOv.js → cli-auth-bundle-DuY2E2FD-BdPoU6zT.js} +1 -1
- package/dist/{cli-auth-bundle-CaNRN3Nc.d.ts → cli-auth-bundle-a7NYzsfF.d.ts} +1 -1
- package/dist/{client-vsCsGgg1.d.ts → client-BfY4DQiD.d.ts} +70 -26
- package/dist/{client-9WUbvbSo.js → client-WbbvZtRX.js} +14 -6
- package/dist/collaboration/index.js +1 -1
- package/dist/{collaboration-C-GIluQw.js → collaboration-CFuwyZbj.js} +1 -1
- package/dist/core.d.ts +6 -6
- package/dist/core.js +3 -3
- package/dist/gpu-lease/index.js +1 -1
- package/dist/{harness-Dq3XGyYd.js → harness-4D0kk6wY.js} +42 -18
- package/dist/{index-B4OJkmmC.d.ts → index--9j_Jlf_.d.ts} +38 -21
- package/dist/{index-DzGflA-b.d.ts → index-B3cGwaZF.d.ts} +7 -7
- package/dist/index.d.ts +10 -10
- package/dist/index.js +9 -9
- package/dist/intelligence/index.js +1 -1
- package/dist/interactive-control.d.ts +1 -1
- package/dist/interactive-control.js +1 -1
- package/dist/{interactive-controller-Ch4SLGeF.d.ts → interactive-controller-D0uhx4eQ.d.ts} +4 -4
- package/dist/{interactive-controller-CR0_sZqd.js → interactive-controller-lYjolooE.js} +5 -5
- package/dist/{lines-mOLUGPYs.d.ts → lines-Bi4Qt6Tn.d.ts} +1 -1
- package/dist/lines.d.ts +1 -1
- package/dist/{local-cli-auth-TXcQXucY.js → local-cli-auth-B88ar8lp.js} +1 -1
- package/dist/{mcp-local-CO17vtBB.js → mcp-local-CwEMrzKA.js} +2 -2
- package/dist/{preview-DF2dYJCH.d.ts → preview-C-D4MroG.d.ts} +3 -3
- package/dist/{profile-schema-BuXg-MCu.js → profile-schema-B48XymtK.js} +19 -11
- package/dist/{public-templates-Bw4PJ99r.d.ts → public-templates-DeObgXZG.d.ts} +2 -2
- package/dist/public-templates.d.ts +1 -1
- package/dist/runtime.d.ts +5 -5
- package/dist/runtime.js +3 -3
- package/dist/{sandbox-BlPDQ-Ev.js → sandbox-Cw7I8sgE.js} +11 -11
- package/dist/{select-seat-BbTGujaf.js → select-seat-Yn1FgzO8.js} +4 -4
- package/dist/select-seat-command.d.ts +2 -2
- package/dist/select-seat-command.js +1 -1
- package/dist/session-gateway/index.js +1 -1
- package/dist/tangle/index.d.ts +1 -1
- package/dist/tangle/index.js +1 -1
- package/dist/{tangle-BdvjiwfN.js → tangle-CsD0YyfD.js} +2 -2
- package/dist/{terminal-stream-types-iOZjIxLK.d.ts → terminal-stream-types-cEwFyagj.d.ts} +1 -1
- package/dist/{types-BYIgnmzV.d.ts → types-DKRvNtWx.d.ts} +3 -3
- package/package.json +7 -7
- package/dist/cli-auth-bundle-Vc_wO6gp.js +0 -2
package/dist/agent/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { I as SandboxTaskSession, O as SandboxInstance, R as SandboxSession } from "../index-
|
|
2
|
-
import { Ga as CodeResultPart, Ua as CodeExecutionResult, Wa as CodeLanguage, _t as SandboxFleetParent, ha as BackendConfig, mr as CodeExecutionOptions, ra as SessionListOptions, ro as BackendType, ta as SessionInfo } from "../types-
|
|
3
|
-
import { t as Sandbox } from "../client-
|
|
4
|
-
import { u as PreviewAuthorizer } from "../preview-
|
|
1
|
+
import { I as SandboxTaskSession, O as SandboxInstance, R as SandboxSession } from "../index-B3cGwaZF.js";
|
|
2
|
+
import { Ga as CodeResultPart, Ua as CodeExecutionResult, Wa as CodeLanguage, _t as SandboxFleetParent, ha as BackendConfig, mr as CodeExecutionOptions, ra as SessionListOptions, ro as BackendType, ta as SessionInfo } from "../types-DKRvNtWx.js";
|
|
3
|
+
import { t as Sandbox } from "../client-BfY4DQiD.js";
|
|
4
|
+
import { u as PreviewAuthorizer } from "../preview-C-D4MroG.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";
|
package/dist/agent/index.js
CHANGED
|
@@ -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-
|
|
2
|
-
import { D as assertCurrentBackendType } from "../interactive-controller-
|
|
3
|
-
import { t as SandboxInstance } from "../sandbox-
|
|
1
|
+
import { a as TOOL_SPECS, i as ALL_TOOL_SPECS, o as serializeToolResult, r as bindToolSpecs, t as createMcpServer } from "../mcp-local-CwEMrzKA.js";
|
|
2
|
+
import { D as assertCurrentBackendType } from "../interactive-controller-lYjolooE.js";
|
|
3
|
+
import { t as SandboxInstance } from "../sandbox-Cw7I8sgE.js";
|
|
4
4
|
import { O as ValidationError, T as StateError, v as NotFoundError } from "../errors-DNmfKxwE.js";
|
|
5
|
-
import { t as Sandbox } from "../client-
|
|
5
|
+
import { t as Sandbox } from "../client-WbbvZtRX.js";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
//#region src/agent/instances.ts
|
|
8
8
|
const managers = /* @__PURE__ */ new WeakMap();
|
package/dist/agent/preview.d.ts
CHANGED
|
@@ -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-
|
|
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-C-D4MroG.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 };
|
package/dist/agent/preview.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as agentProfileSchema } from "../profile-schema-
|
|
1
|
+
import { r as agentProfileSchema } from "../profile-schema-B48XymtK.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-
|
|
69
|
+
const [{ createMcpServer }, { WebStandardStreamableHTTPServerTransport }] = await Promise.all([import("../mcp-local-CwEMrzKA.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,
|
package/dist/{agent-execution-preparation-CemN5Bl6.js → agent-execution-preparation-C2KLuq0G.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { o as canonicalCandidateDigest, u as isCanonicalJsonValue } from "./harness-
|
|
2
|
-
import { o as canonicalAgentProfileValue, r as agentProfileSchema } from "./profile-schema-
|
|
3
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
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
|
|
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 {
|
|
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";
|
|
2
2
|
import { z } from "zod";
|
|
3
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
3
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/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.
|
|
14
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/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
|
*
|
|
@@ -23,6 +23,7 @@ const agentWorkspaceSourceSnapshotPolicySchema = z.strictObject({
|
|
|
23
23
|
* than acknowledge it.
|
|
24
24
|
*/
|
|
25
25
|
const AGENT_PROFILE_MATERIALIZATION_AXES = [
|
|
26
|
+
"outputFile",
|
|
26
27
|
"name",
|
|
27
28
|
"description",
|
|
28
29
|
"version",
|
|
@@ -75,7 +76,7 @@ const AGENT_PROFILE_MATERIALIZATION_AXES = [
|
|
|
75
76
|
value: (profile) => profile.model?.[property]
|
|
76
77
|
}))];
|
|
77
78
|
//#endregion
|
|
78
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
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
80
|
const nonBlankStringSchema = z.string().refine((value) => value.trim().length > 0, "value cannot be blank");
|
|
80
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");
|
|
81
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");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as InteractionRequest } from "./index
|
|
2
|
-
import { Ti as SandboxEvent, ci as AgentRunStatus, hi as DurablePlanSnapshot, li as AgentToolInvocation, oi as AgentApprovalRequirement, si as AgentQuestionRequest } from "./types-
|
|
1
|
+
import { C as InteractionRequest } from "./index--9j_Jlf_.js";
|
|
2
|
+
import { Ti as SandboxEvent, ci as AgentRunStatus, hi as DurablePlanSnapshot, li as AgentToolInvocation, oi as AgentApprovalRequirement, si as AgentQuestionRequest } from "./types-DKRvNtWx.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.
|
|
33
|
+
const SDK_VERSION = "1.0.429";
|
|
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);
|
package/dist/auth/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { i as cliAuthReferenceSchema, n as materializeCliAuthBundle, r as CliAuthReference, t as assertCliAuthReferenceSupported } from "../cli-auth-bundle-
|
|
1
|
+
import { i as cliAuthReferenceSchema, n as materializeCliAuthBundle, r as CliAuthReference, t as assertCliAuthReferenceSupported } from "../cli-auth-bundle-a7NYzsfF.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 };
|
package/dist/auth/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as materializeCliAuthBundle, n as assertCliAuthReferenceSupported, r as cliAuthReferenceSchema } from "../cli-auth-bundle-DuY2E2FD-
|
|
2
|
-
import "../cli-auth-bundle-
|
|
1
|
+
import { i as materializeCliAuthBundle, n as assertCliAuthReferenceSupported, r as cliAuthReferenceSchema } from "../cli-auth-bundle-DuY2E2FD-BdPoU6zT.js";
|
|
2
|
+
import "../cli-auth-bundle-COXkowvX.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
|
|
2
|
-
import { t as agentExecutionPreparationReceiptSchema } from "./agent-execution-preparation-receipt-
|
|
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";
|
|
3
3
|
import { t as awaitWithAbort } from "./abort-signal-BsriwJ8L.js";
|
|
4
|
-
import { i as fetchSandboxApi } from "./api-request-
|
|
4
|
+
import { i as fetchSandboxApi } from "./api-request-ati_rM95.js";
|
|
5
5
|
import { z } from "zod";
|
|
6
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
6
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/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.
|
|
21
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/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.
|
|
213
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/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.
|
|
394
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/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.
|
|
439
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/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.
|
|
466
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/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.
|
|
571
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/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.
|
|
609
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/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.
|
|
813
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/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.
|
|
878
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/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.
|
|
1214
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.27/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-
|
|
2
|
-
import { a as AgentInteractiveSessionControlClaim, d as AgentInteractiveSessionStatus, i as AgentInteractiveSessionAttach, o as AgentInteractiveSessionControlClaimAcknowledgement, s as AgentInteractiveSessionControlClaimRequest, u as AgentInteractiveSessionRef } from "./index
|
|
1
|
+
import { i as TerminalStreamHandlers } from "./terminal-stream-types-cEwFyagj.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";
|
|
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-
|
|
1
|
+
import { a as ProxySecretReceiptSchema, n as agentProfileJsonSchema, r as agentProfileSchema } from "./profile-schema-B48XymtK.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-CDmyfcQO.mjs
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as TraceExportResult, G as MaterializeProfileFileMountsResult, K as ProfileFileMountBox, O as SandboxInstance, W as MaterializeProfileFileMountsOptions, j as TraceExportSink, xt as SandboxOperation } from "./index-
|
|
2
|
-
import { R as SandboxError, X as BatchCustody, Z as BatchResult, c as MintInteractiveSessionTokenOptions, it as BatchEvent, nt as PublicBatchRunRequestInput, tt as PublicBatchRunRequest, u as ScopedToken } from "./terminal-stream-types-
|
|
3
|
-
import { A as AgentProfileMcpServer, D as AgentProfileConfidential, M as AgentProfileSeat, O as AgentProfileConfigValue, T as AgentProfile, j as AgentProfileMetadata, k as AgentProfileFileMount, n as SandboxSizePreset, u as AgentInteractiveSessionRef, x as AgentRuntimeAttachments } from "./index
|
|
4
|
-
import { $ as SandboxFleetAgent, $n as SandboxEnvironment, A as CreateSandboxFleetOptions, At as SandboxFleetWorkspaceRestoreResult, B as FleetDispatchStreamOptions, Ca as SecretBindingOptions, Ci as PromptOptions, Ct as SandboxFleetTraceBundle, D as FleetDriveTurnRequest, Dt as SandboxFleetUsage, E as FleetDriveTurnOutcome, Et as SandboxFleetTraceOptions, F as FleetAgentResult, Fr as DeleteMatchingSandboxesOptions, G as FleetPromptDispatchResult, H as FleetExecDispatchResult, Ir as DeleteMatchingSandboxesResult, It as SandboxInfo, J as ListSandboxFleetOptions, Jn as ExecOptions, K as FleetRunEvent, Ka as ExecResult, L as FleetDispatchCancelResult, Li as ConversationTurnOptions, M as CreateSandboxFleetWithCoordinatorOptions, Mt as ListSandboxOptions, N as FleetAgentId, Na as GpuLeaseProviderName, Ni as TurnBackendConfig, O as TokenRefreshHandler, Pr as DeleteMatchingSandboxesFilter, Q as ReconcileSandboxFleetsResult, R as FleetDispatchResultBuffer, Ri as ConversationTurnResult, Rr as SandboxDeleteAcknowledgement, Si as PromptInputPart, Sn as DownloadOptions, Sr as SdkTimingHook, St as SandboxFleetToken, Ti as SandboxEvent, U as FleetMachineId, V as FleetExecDispatchOptions, W as FleetPromptDispatchOptions, X as ReapExpiredSandboxFleetsResult, Xt as TeeAttestationReport, Y as ReapExpiredSandboxFleetsOptions, Z as ReconcileSandboxFleetsOptions, Zt as TeeAttestationResponse, _i as IntelligenceReport, _r as ManagedProcessResumeOptions, _t as SandboxFleetParent, ai as BatchRunOptions, an as SandboxShapesInfo, at as SandboxFleetDispatchResponse, br as ManagedProcessSpec, c as SubscriptionInfo, cn as SandboxShapePreset, ct as SandboxFleetInfo, ft as SandboxFleetMachineRecord, gr as ManagedProcessOptions, gt as SandboxFleetOperationsSummary, ha as BackendConfig, hr as ManagedProcessJobs, in as SandboxResources, j as CreateSandboxFleetTokenOptions, jr as AccountSnapshotInfo, jt as SandboxFleetWorkspaceSnapshotResult, k as AttachSandboxFleetMachineOptions, kt as SandboxFleetWorkspaceReconcileResult, l as UsageInfo, mt as SandboxFleetManifest, n as SshKeysManager, nn as CreateSandboxOptions, nt as SandboxFleetArtifactSpec, ot as SandboxFleetDriverCapability, pt as SandboxFleetMachineSpec, q as FleetRunOptions, rn as SandboxConfig, rt as SandboxFleetCostEstimate, s as SandboxIdentity, t as SecretsManager, tn as CreateRequestOptions, tt as SandboxFleetArtifact, ui as CreateIntelligenceReportOptions, ut as SandboxFleetMachine, vi as IntelligenceReportBudget, wi as PromptResult, wn as DownloadResult, xi as IntelligenceReportWindow, xr as HttpClient, xt as SandboxFleetSpend, yi as IntelligenceReportCompareTo, yr as ManagedProcessRecord, yt as SandboxFleetPolicy, z as FleetDispatchResultBufferOptions, zr as SandboxDeleteOptions, zt as SandboxRunGeneration } from "./types-
|
|
5
|
-
import { t as LinesClient } from "./lines-
|
|
6
|
-
import { a as PublicTemplatesClient } from "./public-templates-
|
|
1
|
+
import { A as TraceExportResult, G as MaterializeProfileFileMountsResult, K as ProfileFileMountBox, O as SandboxInstance, W as MaterializeProfileFileMountsOptions, j as TraceExportSink, xt as SandboxOperation } from "./index-B3cGwaZF.js";
|
|
2
|
+
import { R as SandboxError, X as BatchCustody, Z as BatchResult, c as MintInteractiveSessionTokenOptions, it as BatchEvent, nt as PublicBatchRunRequestInput, tt as PublicBatchRunRequest, u as ScopedToken } from "./terminal-stream-types-cEwFyagj.js";
|
|
3
|
+
import { A as AgentProfileMcpServer, D as AgentProfileConfidential, M as AgentProfileSeat, O as AgentProfileConfigValue, T as AgentProfile, j as AgentProfileMetadata, k as AgentProfileFileMount, n as SandboxSizePreset, u as AgentInteractiveSessionRef, x as AgentRuntimeAttachments } from "./index--9j_Jlf_.js";
|
|
4
|
+
import { $ as SandboxFleetAgent, $n as SandboxEnvironment, A as CreateSandboxFleetOptions, At as SandboxFleetWorkspaceRestoreResult, B as FleetDispatchStreamOptions, Ca as SecretBindingOptions, Ci as PromptOptions, Ct as SandboxFleetTraceBundle, D as FleetDriveTurnRequest, Dt as SandboxFleetUsage, E as FleetDriveTurnOutcome, Et as SandboxFleetTraceOptions, F as FleetAgentResult, Fr as DeleteMatchingSandboxesOptions, G as FleetPromptDispatchResult, H as FleetExecDispatchResult, Ir as DeleteMatchingSandboxesResult, It as SandboxInfo, J as ListSandboxFleetOptions, Jn as ExecOptions, K as FleetRunEvent, Ka as ExecResult, L as FleetDispatchCancelResult, Li as ConversationTurnOptions, M as CreateSandboxFleetWithCoordinatorOptions, Mt as ListSandboxOptions, N as FleetAgentId, Na as GpuLeaseProviderName, Ni as TurnBackendConfig, O as TokenRefreshHandler, Pr as DeleteMatchingSandboxesFilter, Q as ReconcileSandboxFleetsResult, R as FleetDispatchResultBuffer, Ri as ConversationTurnResult, Rr as SandboxDeleteAcknowledgement, Si as PromptInputPart, Sn as DownloadOptions, Sr as SdkTimingHook, St as SandboxFleetToken, Ti as SandboxEvent, U as FleetMachineId, V as FleetExecDispatchOptions, W as FleetPromptDispatchOptions, X as ReapExpiredSandboxFleetsResult, Xt as TeeAttestationReport, Y as ReapExpiredSandboxFleetsOptions, Z as ReconcileSandboxFleetsOptions, Zn as PublishPublicTemplateOptions, Zt as TeeAttestationResponse, _i as IntelligenceReport, _r as ManagedProcessResumeOptions, _t as SandboxFleetParent, ai as BatchRunOptions, an as SandboxShapesInfo, at as SandboxFleetDispatchResponse, br as ManagedProcessSpec, c as SubscriptionInfo, cn as SandboxShapePreset, ct as SandboxFleetInfo, ft as SandboxFleetMachineRecord, gr as ManagedProcessOptions, gt as SandboxFleetOperationsSummary, ha as BackendConfig, hr as ManagedProcessJobs, in as SandboxResources, j as CreateSandboxFleetTokenOptions, jr as AccountSnapshotInfo, jt as SandboxFleetWorkspaceSnapshotResult, k as AttachSandboxFleetMachineOptions, kt as SandboxFleetWorkspaceReconcileResult, l as UsageInfo, mt as SandboxFleetManifest, n as SshKeysManager, nn as CreateSandboxOptions, nt as SandboxFleetArtifactSpec, ot as SandboxFleetDriverCapability, pt as SandboxFleetMachineSpec, q as FleetRunOptions, rn as SandboxConfig, rt as SandboxFleetCostEstimate, s as SandboxIdentity, t as SecretsManager, tn as CreateRequestOptions, tt as SandboxFleetArtifact, ui as CreateIntelligenceReportOptions, ut as SandboxFleetMachine, vi as IntelligenceReportBudget, wi as PromptResult, wn as DownloadResult, xi as IntelligenceReportWindow, xr as HttpClient, xt as SandboxFleetSpend, yi as IntelligenceReportCompareTo, yr as ManagedProcessRecord, yt as SandboxFleetPolicy, z as FleetDispatchResultBufferOptions, zr as SandboxDeleteOptions, zt as SandboxRunGeneration } from "./types-DKRvNtWx.js";
|
|
5
|
+
import { t as LinesClient } from "./lines-Bi4Qt6Tn.js";
|
|
6
|
+
import { a as PublicTemplatesClient } from "./public-templates-DeObgXZG.js";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
|
|
9
9
|
//#region src/backend-registry.d.ts
|
|
@@ -1472,6 +1472,10 @@ declare const manageSandboxesInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1472
1472
|
"cli-base": "cli-base";
|
|
1473
1473
|
}>;
|
|
1474
1474
|
profile: z.ZodOptional<z.ZodObject<{
|
|
1475
|
+
outputFile: z.ZodOptional<z.ZodObject<{
|
|
1476
|
+
name: z.ZodString;
|
|
1477
|
+
path: z.ZodString;
|
|
1478
|
+
}, z.core.$strict>>;
|
|
1475
1479
|
name: z.ZodOptional<z.ZodString>;
|
|
1476
1480
|
description: z.ZodOptional<z.ZodString>;
|
|
1477
1481
|
version: z.ZodOptional<z.ZodString>;
|
|
@@ -1705,7 +1709,7 @@ declare const manageSandboxesInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1705
1709
|
env?: Record<string, {
|
|
1706
1710
|
kind: "secret-ref";
|
|
1707
1711
|
key: string;
|
|
1708
|
-
format?: "
|
|
1712
|
+
format?: "bearer" | "raw" | undefined;
|
|
1709
1713
|
} | {
|
|
1710
1714
|
kind: "public";
|
|
1711
1715
|
value: string;
|
|
@@ -1718,7 +1722,7 @@ declare const manageSandboxesInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1718
1722
|
env?: Record<string, {
|
|
1719
1723
|
kind: "secret-ref";
|
|
1720
1724
|
key: string;
|
|
1721
|
-
format?: "
|
|
1725
|
+
format?: "bearer" | "raw" | undefined;
|
|
1722
1726
|
} | {
|
|
1723
1727
|
kind: "public";
|
|
1724
1728
|
value: string;
|
|
@@ -1882,6 +1886,10 @@ declare const manageSandboxesInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1882
1886
|
"cli-base": "cli-base";
|
|
1883
1887
|
}>;
|
|
1884
1888
|
profile: z.ZodOptional<z.ZodObject<{
|
|
1889
|
+
outputFile: z.ZodOptional<z.ZodObject<{
|
|
1890
|
+
name: z.ZodString;
|
|
1891
|
+
path: z.ZodString;
|
|
1892
|
+
}, z.core.$strict>>;
|
|
1885
1893
|
name: z.ZodOptional<z.ZodString>;
|
|
1886
1894
|
description: z.ZodOptional<z.ZodString>;
|
|
1887
1895
|
version: z.ZodOptional<z.ZodString>;
|
|
@@ -2115,7 +2123,7 @@ declare const manageSandboxesInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2115
2123
|
env?: Record<string, {
|
|
2116
2124
|
kind: "secret-ref";
|
|
2117
2125
|
key: string;
|
|
2118
|
-
format?: "
|
|
2126
|
+
format?: "bearer" | "raw" | undefined;
|
|
2119
2127
|
} | {
|
|
2120
2128
|
kind: "public";
|
|
2121
2129
|
value: string;
|
|
@@ -2128,7 +2136,7 @@ declare const manageSandboxesInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2128
2136
|
env?: Record<string, {
|
|
2129
2137
|
kind: "secret-ref";
|
|
2130
2138
|
key: string;
|
|
2131
|
-
format?: "
|
|
2139
|
+
format?: "bearer" | "raw" | undefined;
|
|
2132
2140
|
} | {
|
|
2133
2141
|
kind: "public";
|
|
2134
2142
|
value: string;
|
|
@@ -2302,6 +2310,10 @@ declare const manageSandboxesInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2302
2310
|
"cli-base": "cli-base";
|
|
2303
2311
|
}>;
|
|
2304
2312
|
profile: z.ZodOptional<z.ZodObject<{
|
|
2313
|
+
outputFile: z.ZodOptional<z.ZodObject<{
|
|
2314
|
+
name: z.ZodString;
|
|
2315
|
+
path: z.ZodString;
|
|
2316
|
+
}, z.core.$strict>>;
|
|
2305
2317
|
name: z.ZodOptional<z.ZodString>;
|
|
2306
2318
|
description: z.ZodOptional<z.ZodString>;
|
|
2307
2319
|
version: z.ZodOptional<z.ZodString>;
|
|
@@ -2535,7 +2547,7 @@ declare const manageSandboxesInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2535
2547
|
env?: Record<string, {
|
|
2536
2548
|
kind: "secret-ref";
|
|
2537
2549
|
key: string;
|
|
2538
|
-
format?: "
|
|
2550
|
+
format?: "bearer" | "raw" | undefined;
|
|
2539
2551
|
} | {
|
|
2540
2552
|
kind: "public";
|
|
2541
2553
|
value: string;
|
|
@@ -2548,7 +2560,7 @@ declare const manageSandboxesInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2548
2560
|
env?: Record<string, {
|
|
2549
2561
|
kind: "secret-ref";
|
|
2550
2562
|
key: string;
|
|
2551
|
-
format?: "
|
|
2563
|
+
format?: "bearer" | "raw" | undefined;
|
|
2552
2564
|
} | {
|
|
2553
2565
|
kind: "public";
|
|
2554
2566
|
value: string;
|
|
@@ -2707,6 +2719,10 @@ declare const manageSandboxesInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2707
2719
|
"cli-base": "cli-base";
|
|
2708
2720
|
}>;
|
|
2709
2721
|
profile: z.ZodOptional<z.ZodObject<{
|
|
2722
|
+
outputFile: z.ZodOptional<z.ZodObject<{
|
|
2723
|
+
name: z.ZodString;
|
|
2724
|
+
path: z.ZodString;
|
|
2725
|
+
}, z.core.$strict>>;
|
|
2710
2726
|
name: z.ZodOptional<z.ZodString>;
|
|
2711
2727
|
description: z.ZodOptional<z.ZodString>;
|
|
2712
2728
|
version: z.ZodOptional<z.ZodString>;
|
|
@@ -2940,7 +2956,7 @@ declare const manageSandboxesInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2940
2956
|
env?: Record<string, {
|
|
2941
2957
|
kind: "secret-ref";
|
|
2942
2958
|
key: string;
|
|
2943
|
-
format?: "
|
|
2959
|
+
format?: "bearer" | "raw" | undefined;
|
|
2944
2960
|
} | {
|
|
2945
2961
|
kind: "public";
|
|
2946
2962
|
value: string;
|
|
@@ -2953,7 +2969,7 @@ declare const manageSandboxesInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2953
2969
|
env?: Record<string, {
|
|
2954
2970
|
kind: "secret-ref";
|
|
2955
2971
|
key: string;
|
|
2956
|
-
format?: "
|
|
2972
|
+
format?: "bearer" | "raw" | undefined;
|
|
2957
2973
|
} | {
|
|
2958
2974
|
kind: "public";
|
|
2959
2975
|
value: string;
|
|
@@ -3117,6 +3133,10 @@ declare const manageSandboxesInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3117
3133
|
"cli-base": "cli-base";
|
|
3118
3134
|
}>;
|
|
3119
3135
|
profile: z.ZodOptional<z.ZodObject<{
|
|
3136
|
+
outputFile: z.ZodOptional<z.ZodObject<{
|
|
3137
|
+
name: z.ZodString;
|
|
3138
|
+
path: z.ZodString;
|
|
3139
|
+
}, z.core.$strict>>;
|
|
3120
3140
|
name: z.ZodOptional<z.ZodString>;
|
|
3121
3141
|
description: z.ZodOptional<z.ZodString>;
|
|
3122
3142
|
version: z.ZodOptional<z.ZodString>;
|
|
@@ -3350,7 +3370,7 @@ declare const manageSandboxesInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3350
3370
|
env?: Record<string, {
|
|
3351
3371
|
kind: "secret-ref";
|
|
3352
3372
|
key: string;
|
|
3353
|
-
format?: "
|
|
3373
|
+
format?: "bearer" | "raw" | undefined;
|
|
3354
3374
|
} | {
|
|
3355
3375
|
kind: "public";
|
|
3356
3376
|
value: string;
|
|
@@ -3363,7 +3383,7 @@ declare const manageSandboxesInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3363
3383
|
env?: Record<string, {
|
|
3364
3384
|
kind: "secret-ref";
|
|
3365
3385
|
key: string;
|
|
3366
|
-
format?: "
|
|
3386
|
+
format?: "bearer" | "raw" | undefined;
|
|
3367
3387
|
} | {
|
|
3368
3388
|
kind: "public";
|
|
3369
3389
|
value: string;
|
|
@@ -3639,6 +3659,10 @@ declare const MANAGE_SANDBOXES_PARAMETERS: z.core.ZodStandardJSONSchemaPayload<z
|
|
|
3639
3659
|
"cli-base": "cli-base";
|
|
3640
3660
|
}>;
|
|
3641
3661
|
profile: z.ZodOptional<z.ZodObject<{
|
|
3662
|
+
outputFile: z.ZodOptional<z.ZodObject<{
|
|
3663
|
+
name: z.ZodString;
|
|
3664
|
+
path: z.ZodString;
|
|
3665
|
+
}, z.core.$strict>>;
|
|
3642
3666
|
name: z.ZodOptional<z.ZodString>;
|
|
3643
3667
|
description: z.ZodOptional<z.ZodString>;
|
|
3644
3668
|
version: z.ZodOptional<z.ZodString>;
|
|
@@ -3872,7 +3896,7 @@ declare const MANAGE_SANDBOXES_PARAMETERS: z.core.ZodStandardJSONSchemaPayload<z
|
|
|
3872
3896
|
env?: Record<string, {
|
|
3873
3897
|
kind: "secret-ref";
|
|
3874
3898
|
key: string;
|
|
3875
|
-
format?: "
|
|
3899
|
+
format?: "bearer" | "raw" | undefined;
|
|
3876
3900
|
} | {
|
|
3877
3901
|
kind: "public";
|
|
3878
3902
|
value: string;
|
|
@@ -3885,7 +3909,7 @@ declare const MANAGE_SANDBOXES_PARAMETERS: z.core.ZodStandardJSONSchemaPayload<z
|
|
|
3885
3909
|
env?: Record<string, {
|
|
3886
3910
|
kind: "secret-ref";
|
|
3887
3911
|
key: string;
|
|
3888
|
-
format?: "
|
|
3912
|
+
format?: "bearer" | "raw" | undefined;
|
|
3889
3913
|
} | {
|
|
3890
3914
|
kind: "public";
|
|
3891
3915
|
value: string;
|
|
@@ -4049,6 +4073,10 @@ declare const MANAGE_SANDBOXES_PARAMETERS: z.core.ZodStandardJSONSchemaPayload<z
|
|
|
4049
4073
|
"cli-base": "cli-base";
|
|
4050
4074
|
}>;
|
|
4051
4075
|
profile: z.ZodOptional<z.ZodObject<{
|
|
4076
|
+
outputFile: z.ZodOptional<z.ZodObject<{
|
|
4077
|
+
name: z.ZodString;
|
|
4078
|
+
path: z.ZodString;
|
|
4079
|
+
}, z.core.$strict>>;
|
|
4052
4080
|
name: z.ZodOptional<z.ZodString>;
|
|
4053
4081
|
description: z.ZodOptional<z.ZodString>;
|
|
4054
4082
|
version: z.ZodOptional<z.ZodString>;
|
|
@@ -4282,7 +4310,7 @@ declare const MANAGE_SANDBOXES_PARAMETERS: z.core.ZodStandardJSONSchemaPayload<z
|
|
|
4282
4310
|
env?: Record<string, {
|
|
4283
4311
|
kind: "secret-ref";
|
|
4284
4312
|
key: string;
|
|
4285
|
-
format?: "
|
|
4313
|
+
format?: "bearer" | "raw" | undefined;
|
|
4286
4314
|
} | {
|
|
4287
4315
|
kind: "public";
|
|
4288
4316
|
value: string;
|
|
@@ -4295,7 +4323,7 @@ declare const MANAGE_SANDBOXES_PARAMETERS: z.core.ZodStandardJSONSchemaPayload<z
|
|
|
4295
4323
|
env?: Record<string, {
|
|
4296
4324
|
kind: "secret-ref";
|
|
4297
4325
|
key: string;
|
|
4298
|
-
format?: "
|
|
4326
|
+
format?: "bearer" | "raw" | undefined;
|
|
4299
4327
|
} | {
|
|
4300
4328
|
kind: "public";
|
|
4301
4329
|
value: string;
|
|
@@ -4469,6 +4497,10 @@ declare const MANAGE_SANDBOXES_PARAMETERS: z.core.ZodStandardJSONSchemaPayload<z
|
|
|
4469
4497
|
"cli-base": "cli-base";
|
|
4470
4498
|
}>;
|
|
4471
4499
|
profile: z.ZodOptional<z.ZodObject<{
|
|
4500
|
+
outputFile: z.ZodOptional<z.ZodObject<{
|
|
4501
|
+
name: z.ZodString;
|
|
4502
|
+
path: z.ZodString;
|
|
4503
|
+
}, z.core.$strict>>;
|
|
4472
4504
|
name: z.ZodOptional<z.ZodString>;
|
|
4473
4505
|
description: z.ZodOptional<z.ZodString>;
|
|
4474
4506
|
version: z.ZodOptional<z.ZodString>;
|
|
@@ -4702,7 +4734,7 @@ declare const MANAGE_SANDBOXES_PARAMETERS: z.core.ZodStandardJSONSchemaPayload<z
|
|
|
4702
4734
|
env?: Record<string, {
|
|
4703
4735
|
kind: "secret-ref";
|
|
4704
4736
|
key: string;
|
|
4705
|
-
format?: "
|
|
4737
|
+
format?: "bearer" | "raw" | undefined;
|
|
4706
4738
|
} | {
|
|
4707
4739
|
kind: "public";
|
|
4708
4740
|
value: string;
|
|
@@ -4715,7 +4747,7 @@ declare const MANAGE_SANDBOXES_PARAMETERS: z.core.ZodStandardJSONSchemaPayload<z
|
|
|
4715
4747
|
env?: Record<string, {
|
|
4716
4748
|
kind: "secret-ref";
|
|
4717
4749
|
key: string;
|
|
4718
|
-
format?: "
|
|
4750
|
+
format?: "bearer" | "raw" | undefined;
|
|
4719
4751
|
} | {
|
|
4720
4752
|
kind: "public";
|
|
4721
4753
|
value: string;
|
|
@@ -4874,6 +4906,10 @@ declare const MANAGE_SANDBOXES_PARAMETERS: z.core.ZodStandardJSONSchemaPayload<z
|
|
|
4874
4906
|
"cli-base": "cli-base";
|
|
4875
4907
|
}>;
|
|
4876
4908
|
profile: z.ZodOptional<z.ZodObject<{
|
|
4909
|
+
outputFile: z.ZodOptional<z.ZodObject<{
|
|
4910
|
+
name: z.ZodString;
|
|
4911
|
+
path: z.ZodString;
|
|
4912
|
+
}, z.core.$strict>>;
|
|
4877
4913
|
name: z.ZodOptional<z.ZodString>;
|
|
4878
4914
|
description: z.ZodOptional<z.ZodString>;
|
|
4879
4915
|
version: z.ZodOptional<z.ZodString>;
|
|
@@ -5107,7 +5143,7 @@ declare const MANAGE_SANDBOXES_PARAMETERS: z.core.ZodStandardJSONSchemaPayload<z
|
|
|
5107
5143
|
env?: Record<string, {
|
|
5108
5144
|
kind: "secret-ref";
|
|
5109
5145
|
key: string;
|
|
5110
|
-
format?: "
|
|
5146
|
+
format?: "bearer" | "raw" | undefined;
|
|
5111
5147
|
} | {
|
|
5112
5148
|
kind: "public";
|
|
5113
5149
|
value: string;
|
|
@@ -5120,7 +5156,7 @@ declare const MANAGE_SANDBOXES_PARAMETERS: z.core.ZodStandardJSONSchemaPayload<z
|
|
|
5120
5156
|
env?: Record<string, {
|
|
5121
5157
|
kind: "secret-ref";
|
|
5122
5158
|
key: string;
|
|
5123
|
-
format?: "
|
|
5159
|
+
format?: "bearer" | "raw" | undefined;
|
|
5124
5160
|
} | {
|
|
5125
5161
|
kind: "public";
|
|
5126
5162
|
value: string;
|
|
@@ -5284,6 +5320,10 @@ declare const MANAGE_SANDBOXES_PARAMETERS: z.core.ZodStandardJSONSchemaPayload<z
|
|
|
5284
5320
|
"cli-base": "cli-base";
|
|
5285
5321
|
}>;
|
|
5286
5322
|
profile: z.ZodOptional<z.ZodObject<{
|
|
5323
|
+
outputFile: z.ZodOptional<z.ZodObject<{
|
|
5324
|
+
name: z.ZodString;
|
|
5325
|
+
path: z.ZodString;
|
|
5326
|
+
}, z.core.$strict>>;
|
|
5287
5327
|
name: z.ZodOptional<z.ZodString>;
|
|
5288
5328
|
description: z.ZodOptional<z.ZodString>;
|
|
5289
5329
|
version: z.ZodOptional<z.ZodString>;
|
|
@@ -5517,7 +5557,7 @@ declare const MANAGE_SANDBOXES_PARAMETERS: z.core.ZodStandardJSONSchemaPayload<z
|
|
|
5517
5557
|
env?: Record<string, {
|
|
5518
5558
|
kind: "secret-ref";
|
|
5519
5559
|
key: string;
|
|
5520
|
-
format?: "
|
|
5560
|
+
format?: "bearer" | "raw" | undefined;
|
|
5521
5561
|
} | {
|
|
5522
5562
|
kind: "public";
|
|
5523
5563
|
value: string;
|
|
@@ -5530,7 +5570,7 @@ declare const MANAGE_SANDBOXES_PARAMETERS: z.core.ZodStandardJSONSchemaPayload<z
|
|
|
5530
5570
|
env?: Record<string, {
|
|
5531
5571
|
kind: "secret-ref";
|
|
5532
5572
|
key: string;
|
|
5533
|
-
format?: "
|
|
5573
|
+
format?: "bearer" | "raw" | undefined;
|
|
5534
5574
|
} | {
|
|
5535
5575
|
kind: "public";
|
|
5536
5576
|
value: string;
|
|
@@ -6519,6 +6559,10 @@ declare class Sandbox extends SandboxBatch implements HttpClient, ScopedTokenHtt
|
|
|
6519
6559
|
*/
|
|
6520
6560
|
get teams(): TeamsClient;
|
|
6521
6561
|
get publicTemplates(): PublicTemplatesClient;
|
|
6562
|
+
/** Save a private template from a snapshot captured in a sandbox you own. */
|
|
6563
|
+
createTemplate(input: Pick<PublishPublicTemplateOptions, "name" | "snapshotId" | "sourceSandboxId" | "description">): Promise<{
|
|
6564
|
+
id: string;
|
|
6565
|
+
}>;
|
|
6522
6566
|
constructor(config: SandboxConfig);
|
|
6523
6567
|
}
|
|
6524
6568
|
//#endregion
|