@tangle-network/sandbox 0.58.5 → 0.58.8
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 +5 -5
- package/dist/agent/preview.d.ts +1 -1
- package/dist/agent/preview.js +2 -2
- package/dist/{agent-run-outcome-xCHr2-OU.d.ts → agent-run-outcome-1MxGwnx3.d.ts} +1 -1
- package/dist/auth/index.d.ts +3 -2
- package/dist/auth/index.js +2 -2
- package/dist/backend-types-C7b_Gpa0.js +59 -0
- package/dist/{browser-interactive-control-controller-1m7jgLeg.d.ts → browser-interactive-control-controller-BzR8sFjo.d.ts} +1 -1
- package/dist/{browser-interactive-control-controller-CVGqjPgs.js → browser-interactive-control-controller-DRBQ-jf0.js} +1 -1
- package/dist/cli-auth-bundle-CzmAaefZ.js +53 -0
- package/dist/cli-auth-bundle-gs7xEnA1.d.ts +33 -0
- package/dist/{client-CGy_hRo4.js → client-DA3Pwd3t.js} +11 -10
- package/dist/{client-FSfwsq91.d.ts → client-xDfwI4yj.d.ts} +5 -5
- package/dist/collaboration/index.d.ts +1 -1
- package/dist/collaboration/index.js +1 -1
- package/dist/{collaboration-CSHswAOI.js → collaboration-d8Xcvel7.js} +1 -1
- package/dist/core.d.ts +5 -5
- package/dist/core.js +4 -4
- package/dist/{index-D4u-vv87.d.ts → index-BSCz2Q0v.d.ts} +1 -11
- package/dist/{index-D7RBHUmk.d.ts → index-DFXcrGG6.d.ts} +2 -2
- package/dist/index.d.ts +11 -11
- package/dist/index.js +9 -8
- package/dist/intelligence/index.js +1 -1
- package/dist/interactive-control.d.ts +1 -1
- package/dist/interactive-control.js +1 -1
- package/dist/{lines-QsZsBO42.d.ts → lines-DuPzlFrJ.d.ts} +1 -1
- package/dist/lines.d.ts +1 -1
- package/dist/lines.js +1 -1
- package/dist/{local-cli-auth-N1IYywxf.js → local-cli-auth-ChDP5zu4.js} +1 -1
- package/dist/{mcp-local-BWsftreI.js → mcp-local-DY1CnWBn.js} +1 -1
- package/dist/{preview-DRouZBdQ.d.ts → preview-l8HsyZzA.d.ts} +3 -3
- package/dist/{runtime-api-DZy6PuPe.js → runtime-api-BZhd0M3Z.js} +5 -61
- package/dist/runtime.d.ts +3 -3
- package/dist/runtime.js +3 -3
- package/dist/{sandbox-CUTfilZU.js → sandbox-D8HtCO-L.js} +9 -16
- package/dist/{sandbox-Cpfr2SpU.d.ts → sandbox-fTLRps4I.d.ts} +4 -4
- package/dist/specs-CnqSWFNT-CHd9ACzP.js +536 -0
- package/dist/tangle/index.d.ts +1 -1
- package/dist/tangle/index.js +1 -1
- package/dist/{tangle-nU1V_G1c.js → tangle-CYGQg5Bf.js} +2 -2
- package/dist/{types-C90H0DjS.d.ts → types-B_rwXChV.d.ts} +6 -2
- package/package.json +5 -5
- package/dist/cli-auth-bundle-0VjPAtKt.js +0 -25
- /package/dist/{abort-signal-CgFhjY_v.js → abort-signal-BpYYr4JT.js} +0 -0
- /package/dist/{errors-AVpynVrG.d.ts → errors-C6dll8Qf.d.ts} +0 -0
- /package/dist/{errors-BkhlSDW-.js → errors-CKl_BSlD.js} +0 -0
- /package/dist/{index-C48z7K4r.d.ts → index-BKhRnV0i.d.ts} +0 -0
- /package/dist/{line-application-DOg7jrnA.js → line-application-9k30rhb2.js} +0 -0
- /package/dist/{preview-operations-BhQ4_CF7.js → preview-operations-CbTiBE-a.js} +0 -0
- /package/dist/{terminal-stream-Bf2stNDX.d.ts → terminal-stream-CB2DF-qq.d.ts} +0 -0
package/dist/agent/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as SandboxSession, h as SandboxTaskSession, r as SandboxInstance } from "../sandbox-
|
|
2
|
-
import { D as CodeExecutionResult, E as CodeExecutionOptions, Gr as SandboxFleetParent, Ki as SessionListOptions, O as CodeLanguage, Wi as SessionInfo, d as BackendConfig, k as CodeResultPart, za as BackendType } from "../types-
|
|
3
|
-
import { i as Sandbox } from "../client-
|
|
4
|
-
import { o as PreviewAuthorizer } from "../preview-
|
|
1
|
+
import { _ as SandboxSession, h as SandboxTaskSession, r as SandboxInstance } from "../sandbox-fTLRps4I.js";
|
|
2
|
+
import { D as CodeExecutionResult, E as CodeExecutionOptions, Gr as SandboxFleetParent, Ki as SessionListOptions, O as CodeLanguage, Wi as SessionInfo, d as BackendConfig, k as CodeResultPart, za as BackendType } from "../types-B_rwXChV.js";
|
|
3
|
+
import { i as Sandbox } from "../client-xDfwI4yj.js";
|
|
4
|
+
import { o as PreviewAuthorizer } from "../preview-l8HsyZzA.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 { x as assertCurrentBackendType } from "../runtime-api-
|
|
3
|
-
import { c as NotFoundError, g as ValidationError, m as StateError } from "../errors-
|
|
4
|
-
import { n as Sandbox } from "../client-
|
|
5
|
-
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-DY1CnWBn.js";
|
|
2
|
+
import { x as assertCurrentBackendType } from "../runtime-api-BZhd0M3Z.js";
|
|
3
|
+
import { c as NotFoundError, g as ValidationError, m as StateError } from "../errors-CKl_BSlD.js";
|
|
4
|
+
import { n as Sandbox } from "../client-DA3Pwd3t.js";
|
|
5
|
+
import { t as SandboxInstance } from "../sandbox-D8HtCO-L.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 { a as PreviewAuthorizationRequest, c as PublishAgentPreviewOptions, d as getAgentPreview, f as listAgentPreviews, h as resolveSelfSandbox, i as AgentPreviewOptions, l as assertPreviewId, m as removeAgentPreview, n as servePreviewMcp, o as PreviewAuthorizer, p as publishAgentPreview, r as AgentPreviewError, s as PreviewExecutionContext, t as PREVIEW_TOOLS, u as ensureAgentPreview } from "../preview-
|
|
1
|
+
import { a as PreviewAuthorizationRequest, c as PublishAgentPreviewOptions, d as getAgentPreview, f as listAgentPreviews, h as resolveSelfSandbox, i as AgentPreviewOptions, l as assertPreviewId, m as removeAgentPreview, n as servePreviewMcp, o as PreviewAuthorizer, p as publishAgentPreview, r as AgentPreviewError, s as PreviewExecutionContext, t as PREVIEW_TOOLS, u as ensureAgentPreview } from "../preview-l8HsyZzA.js";
|
|
2
2
|
export { AgentPreviewError, AgentPreviewOptions, PREVIEW_TOOLS, PreviewAuthorizationRequest, PreviewAuthorizer, PreviewExecutionContext, PublishAgentPreviewOptions, assertPreviewId, ensureAgentPreview, getAgentPreview, listAgentPreviews, publishAgentPreview, removeAgentPreview, resolveSelfSandbox, servePreviewMcp };
|
package/dist/agent/preview.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
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-
|
|
1
|
+
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-CbTiBE-a.js";
|
|
2
2
|
//#region src/agent/preview-mcp.ts
|
|
3
3
|
const PREVIEW_TOOLS = [
|
|
4
4
|
"sandbox_preview",
|
|
@@ -16,7 +16,7 @@ async function servePreviewMcp(request, config) {
|
|
|
16
16
|
if (typeof config.authorize !== "function") throw new Error("Preview MCP requires a host authorization callback");
|
|
17
17
|
const tools = config.tools ?? PREVIEW_TOOLS;
|
|
18
18
|
if (!tools.length || tools.some((tool) => !PREVIEW_TOOLS.includes(tool))) throw new Error("Preview MCP requires an explicit nonempty preview-only tool grant");
|
|
19
|
-
const [{ createMcpServer }, { WebStandardStreamableHTTPServerTransport }] = await Promise.all([import("../mcp-local-
|
|
19
|
+
const [{ createMcpServer }, { WebStandardStreamableHTTPServerTransport }] = await Promise.all([import("../mcp-local-DY1CnWBn.js").then((n) => n.n), import("@modelcontextprotocol/sdk/server/webStandardStreamableHttp.js")]);
|
|
20
20
|
const handle = await createMcpServer(config.box, {
|
|
21
21
|
name: "tangle-previews",
|
|
22
22
|
sessionId: config.sessionId,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Er as SandboxEvent, a as AgentQuestionRequest, i as AgentApprovalRequirement, o as AgentRunStatus, s as AgentToolInvocation, st as DurablePlanSnapshot } from "./types-
|
|
1
|
+
import { Er as SandboxEvent, a as AgentQuestionRequest, i as AgentApprovalRequirement, o as AgentRunStatus, s as AgentToolInvocation, st as DurablePlanSnapshot } from "./types-B_rwXChV.js";
|
|
2
2
|
import { InteractionRequest } from "@tangle-network/agent-interface";
|
|
3
3
|
|
|
4
4
|
//#region src/agent-run-outcome.d.ts
|
package/dist/auth/index.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { i as materializeCliAuthBundle, n as assertCliAuthReferenceSupported, r as cliAuthReferenceSchema, t as CliAuthReference } from "../cli-auth-bundle-gs7xEnA1.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-BSCz2Q0v.js";
|
|
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,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as materializeCliAuthBundle, n as assertCliAuthReferenceSupported, r as cliAuthReferenceSchema } from "../cli-auth-bundle-CzmAaefZ.js";
|
|
2
2
|
//#region src/auth/tokens.ts
|
|
3
3
|
const textEncoder = new TextEncoder();
|
|
4
4
|
const textDecoder = new TextDecoder();
|
|
@@ -312,4 +312,4 @@ var ProductTokenIssuer = class {
|
|
|
312
312
|
}
|
|
313
313
|
};
|
|
314
314
|
//#endregion
|
|
315
|
-
export { ProductTokenIssuer, getTokenTTL, isTokenExpiringSoon, issueBatchScopedToken, issueCollaborationToken, issueProjectScopedToken, issueReadToken, issueSessionScopedToken, materializeCliAuthBundle, unsafeDecodeToken, verifyToken };
|
|
315
|
+
export { ProductTokenIssuer, assertCliAuthReferenceSupported, cliAuthReferenceSchema, getTokenTTL, isTokenExpiringSoon, issueBatchScopedToken, issueCollaborationToken, issueProjectScopedToken, issueReadToken, issueSessionScopedToken, materializeCliAuthBundle, unsafeDecodeToken, verifyToken };
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { harnessTypeSchema } from "@tangle-network/agent-interface";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region ../../../packages/runtime-contracts/dist/backend-types.js
|
|
4
|
+
/**
|
|
5
|
+
* Canonical harnesses this repo ships no provider adapter for.
|
|
6
|
+
*
|
|
7
|
+
* `gemini` reaches a workspace only as an openclaw/acp sub-agent CLI and through
|
|
8
|
+
* `agent-profile-materialize`; there is no `packages/sdk-provider-gemini`, so naming it as a
|
|
9
|
+
* backend must keep failing closed rather than dispatching to a runner that cannot start.
|
|
10
|
+
*/
|
|
11
|
+
const NON_BACKEND_HARNESSES = ["gemini"];
|
|
12
|
+
const BACKEND_TYPE = {
|
|
13
|
+
OPENCODE: "opencode",
|
|
14
|
+
CLAUDE_CODE: "claude-code",
|
|
15
|
+
KIMI_CODE: "kimi-code",
|
|
16
|
+
CODEX: "codex",
|
|
17
|
+
AMP: "amp",
|
|
18
|
+
FACTORY_DROIDS: "factory-droids",
|
|
19
|
+
PI: "pi",
|
|
20
|
+
PRIME: "prime",
|
|
21
|
+
HERMES: "hermes",
|
|
22
|
+
FORGE: "forge",
|
|
23
|
+
OPENCLAW: "openclaw",
|
|
24
|
+
NANOCLAW: "nanoclaw",
|
|
25
|
+
ACP: "acp",
|
|
26
|
+
CURSOR: "cursor",
|
|
27
|
+
CLI_BASE: "cli-base"
|
|
28
|
+
};
|
|
29
|
+
const nonBackendHarnesses = new Set(NON_BACKEND_HARNESSES);
|
|
30
|
+
/**
|
|
31
|
+
* Order mirrors `CLI_AGENT_SPECS` — a backend without a spec has no install/launch definition and
|
|
32
|
+
* cannot run, so the registry's order is the contract (`packages/cli-agent-registry`), not an
|
|
33
|
+
* arbitrary list.
|
|
34
|
+
*/
|
|
35
|
+
const ALL_BACKEND_TYPES = Object.values(BACKEND_TYPE);
|
|
36
|
+
/**
|
|
37
|
+
* Bind the enum to `harnessTypeSchema` in both directions at import time, so the canonical set
|
|
38
|
+
* stays the authority on membership while the spec registry keeps owning order. A harness added
|
|
39
|
+
* upstream, or a backend here that no longer exists upstream, fails loud instead of leaving request
|
|
40
|
+
* validation and the harness taxonomy quietly disagreeing.
|
|
41
|
+
*/
|
|
42
|
+
const canonicalBackendHarnesses = harnessTypeSchema.options.filter((harness) => !nonBackendHarnesses.has(harness));
|
|
43
|
+
const declaredBackendTypes = new Set(ALL_BACKEND_TYPES);
|
|
44
|
+
const canonicalBackendHarnessSet = new Set(canonicalBackendHarnesses);
|
|
45
|
+
const undeclaredCanonicalHarnesses = canonicalBackendHarnesses.filter((harness) => !declaredBackendTypes.has(harness));
|
|
46
|
+
if (undeclaredCanonicalHarnesses.length > 0) throw new Error(`BACKEND_TYPE is missing canonical harnesses: ${undeclaredCanonicalHarnesses.join(", ")}. Add the named constant plus its CLI_AGENT_SPECS entry, or list it in NON_BACKEND_HARNESSES with a reason.`);
|
|
47
|
+
const unrecognizedBackendTypes = ALL_BACKEND_TYPES.filter((backend) => !canonicalBackendHarnessSet.has(backend));
|
|
48
|
+
if (unrecognizedBackendTypes.length > 0) throw new Error(`BACKEND_TYPE declares runners the canonical harness enum does not define: ${unrecognizedBackendTypes.join(", ")}. Reconcile them into @tangle-network/agent-interface.`);
|
|
49
|
+
const backendTypeSchema = z.enum(ALL_BACKEND_TYPES);
|
|
50
|
+
const BACKEND_TYPE_SET = new Set(ALL_BACKEND_TYPES);
|
|
51
|
+
function isBackendType(value) {
|
|
52
|
+
return BACKEND_TYPE_SET.has(value);
|
|
53
|
+
}
|
|
54
|
+
function parseBackendType(value) {
|
|
55
|
+
if (!isBackendType(value)) throw new Error(`Unknown backend type "${value}". Expected one of: ${ALL_BACKEND_TYPES.join(", ")}`);
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
//#endregion
|
|
59
|
+
export { parseBackendType as i, BACKEND_TYPE as n, backendTypeSchema as r, ALL_BACKEND_TYPES as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as TerminalStreamHandlers } from "./terminal-stream-
|
|
1
|
+
import { r as TerminalStreamHandlers } from "./terminal-stream-CB2DF-qq.js";
|
|
2
2
|
import { AgentInteractiveSessionAttach, AgentInteractiveSessionControlClaimAcknowledgement, AgentInteractiveSessionStatus } from "@tangle-network/agent-interface";
|
|
3
3
|
import { AgentInteractiveSessionControlClaim as AgentInteractiveSessionControlClaim$1, AgentInteractiveSessionControlClaimRequest as AgentInteractiveSessionControlClaimRequest$1, AgentInteractiveSessionRef as AgentInteractiveSessionRef$1 } from "@tangle-network/agent-interface/environment-interactive-control";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as awaitWithAbort } from "./abort-signal-
|
|
1
|
+
import { t as awaitWithAbort } from "./abort-signal-BpYYr4JT.js";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import { AgentInteractiveSessionControlClaimAcknowledgementSchema, AgentInteractiveSessionControlClaimRequestSchema, AgentInteractiveSessionControlClaimSchema, AgentInteractiveSessionRefSchema, AgentInteractiveSessionStatusSchema, agentInteractiveSessionControlClaimAcknowledgementMatchesRequest, agentInteractiveSessionControlClaimMatchesRef, agentInteractiveSessionControlClaimRequestDigest } from "@tangle-network/agent-interface/environment-interactive-control";
|
|
4
4
|
//#region ../../../packages/runtime-contracts/dist/interactive-session-control-http.js
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { t as getSpec } from "./specs-CnqSWFNT-CHd9ACzP.js";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region ../../../packages/cli-agent-registry/dist/cli-auth-bundle.mjs
|
|
4
|
+
const DEFAULT_MODE = 384;
|
|
5
|
+
const AUTH_BUNDLE_PATHS = Object.freeze({
|
|
6
|
+
codex: ".codex/auth.json",
|
|
7
|
+
"claude-code": ".claude/.credentials.json"
|
|
8
|
+
});
|
|
9
|
+
/** Convert a native credential JSON bundle without reading host credentials. */
|
|
10
|
+
function materializeCliAuthBundle(backendType, rawBundle) {
|
|
11
|
+
if (backendType !== "codex" && backendType !== "claude-code") throw new Error("CLI auth bundle is not supported for the selected backend");
|
|
12
|
+
if (typeof rawBundle !== "string") throw new Error("CLI auth bundle must be a JSON object");
|
|
13
|
+
let value;
|
|
14
|
+
try {
|
|
15
|
+
value = JSON.parse(rawBundle);
|
|
16
|
+
} catch {
|
|
17
|
+
throw new Error("CLI auth bundle must be a JSON object");
|
|
18
|
+
}
|
|
19
|
+
if (!value || typeof value !== "object" || Array.isArray(value)) throw new Error("CLI auth bundle must be a JSON object");
|
|
20
|
+
return [{
|
|
21
|
+
path: AUTH_BUNDLE_PATHS[backendType],
|
|
22
|
+
content: rawBundle,
|
|
23
|
+
mode: DEFAULT_MODE
|
|
24
|
+
}];
|
|
25
|
+
}
|
|
26
|
+
const cliAuthReferenceSchema = z.object({
|
|
27
|
+
account: z.string().regex(/^[A-Za-z0-9][A-Za-z0-9@._+-]{0,127}$/),
|
|
28
|
+
secretEnv: z.string().regex(/^[A-Za-z_][A-Za-z0-9_]{0,63}$/),
|
|
29
|
+
format: z.enum([
|
|
30
|
+
"token",
|
|
31
|
+
"bundle",
|
|
32
|
+
"files"
|
|
33
|
+
])
|
|
34
|
+
}).strict();
|
|
35
|
+
z.array(z.object({
|
|
36
|
+
path: z.string().min(1).max(4096).refine((value) => !value.startsWith("/") && !/^[A-Za-z]:/.test(value) && !/[\\\0]/.test(value) && value.split("/").every((part) => part !== "" && part !== "." && part !== "..")),
|
|
37
|
+
content: z.string().max(1024 * 1024),
|
|
38
|
+
mode: z.number().int().min(0).max(448).refine((mode) => (mode & 63) === 0).optional()
|
|
39
|
+
}).strict()).min(1).max(128);
|
|
40
|
+
function assertCliAuthReferenceSupported(backendType, model) {
|
|
41
|
+
if (model.cliAuth === void 0) return void 0;
|
|
42
|
+
const parsedReference = cliAuthReferenceSchema.safeParse(model.cliAuth);
|
|
43
|
+
if (!parsedReference.success) throw new Error("Invalid native authentication reference");
|
|
44
|
+
const reference = parsedReference.data;
|
|
45
|
+
if (model.authMode === "api-key" || model.apiKey !== void 0 || model.apiKeyEnv !== void 0 || model.baseUrl !== void 0 || model.authFiles !== void 0) throw new Error("cliAuth cannot be combined with API credentials, baseUrl, or inline authFiles");
|
|
46
|
+
const spec = getSpec(backendType);
|
|
47
|
+
if (!spec?.hasCliAuth) throw new Error(`Native CLI authentication is unsupported by ${backendType}`);
|
|
48
|
+
if (reference.format === "token" && !spec.envVars.oauthToken) throw new Error(`Native subscription tokens are unsupported by ${backendType}`);
|
|
49
|
+
if (reference.format === "bundle" && backendType !== "codex" && backendType !== "claude-code") throw new Error(`Native credential bundles are unsupported by ${backendType}`);
|
|
50
|
+
return reference;
|
|
51
|
+
}
|
|
52
|
+
//#endregion
|
|
53
|
+
export { materializeCliAuthBundle as i, assertCliAuthReferenceSupported as n, cliAuthReferenceSchema as r, AUTH_BUNDLE_PATHS as t };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region ../../../packages/cli-agent-registry/dist/cli-auth-bundle.d.mts
|
|
4
|
+
//#region src/cli-auth-bundle.d.ts
|
|
5
|
+
type LocalCliAuthFile = {
|
|
6
|
+
path: string;
|
|
7
|
+
content: string;
|
|
8
|
+
mode?: number;
|
|
9
|
+
};
|
|
10
|
+
/** Convert a native credential JSON bundle without reading host credentials. */
|
|
11
|
+
declare function materializeCliAuthBundle(backendType: string, rawBundle: string): LocalCliAuthFile[];
|
|
12
|
+
declare const cliAuthReferenceSchema: z.ZodObject<{
|
|
13
|
+
account: z.ZodString;
|
|
14
|
+
secretEnv: z.ZodString;
|
|
15
|
+
format: z.ZodEnum<{
|
|
16
|
+
token: "token";
|
|
17
|
+
bundle: "bundle";
|
|
18
|
+
files: "files";
|
|
19
|
+
}>;
|
|
20
|
+
}, z.core.$strict>;
|
|
21
|
+
/** A supplied account binding label, not a verified native account principal. */
|
|
22
|
+
type CliAuthReference = z.infer<typeof cliAuthReferenceSchema>;
|
|
23
|
+
declare function assertCliAuthReferenceSupported(backendType: string, model: {
|
|
24
|
+
cliAuth?: CliAuthReference;
|
|
25
|
+
authMode?: string;
|
|
26
|
+
apiKey?: string;
|
|
27
|
+
apiKeyEnv?: string;
|
|
28
|
+
baseUrl?: string;
|
|
29
|
+
authFiles?: LocalCliAuthFile[];
|
|
30
|
+
}): CliAuthReference | undefined;
|
|
31
|
+
/** Resolve only the selected injected secret, without copying it into a public config. */
|
|
32
|
+
//#endregion
|
|
33
|
+
export { materializeCliAuthBundle as i, assertCliAuthReferenceSupported as n, cliAuthReferenceSchema as r, CliAuthReference as t };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { r as backendTypeSchema, t as ALL_BACKEND_TYPES } from "./backend-types-C7b_Gpa0.js";
|
|
2
|
+
import { C as normalizeRuntimeBackendConfig, _ as encodePromptForWire, b as applyRequestedModel, h as SANDBOX_PROXY_REQUEST_MAX_BYTES, v as encodeTextForWire, x as assertCurrentBackendType, y as parseSSEStream } from "./runtime-api-BZhd0M3Z.js";
|
|
3
|
+
import { _ as parseErrorResponse, c as NotFoundError, f as SandboxError, g as ValidationError, h as TimeoutError, l as PartialFailureError, p as ServerError, s as NetworkError, t as AuthError } from "./errors-CKl_BSlD.js";
|
|
4
|
+
import { n as combineAbortSignals } from "./abort-signal-BpYYr4JT.js";
|
|
5
|
+
import { A as rewrapResponse, M as exportTraceBundle, O as normalizeConnection, a as normalizeStartupDiagnostics, i as normalizeSandboxCreateReceipt, k as normalizeSandboxShape, n as createSandboxInstanceFromResponse, r as normalizeCaptureProof, x as requestInteractiveSessionToken } from "./sandbox-D8HtCO-L.js";
|
|
5
6
|
import { LinesClient } from "./lines.js";
|
|
6
7
|
import { agentProfileSchema } from "@tangle-network/agent-interface";
|
|
7
8
|
import { z } from "zod";
|
|
@@ -3770,11 +3771,11 @@ function withRequestContextHeaders(response, path, method) {
|
|
|
3770
3771
|
return rewrapResponse(response, headers);
|
|
3771
3772
|
}
|
|
3772
3773
|
async function resolveLocalCliAuthFiles(backendType) {
|
|
3773
|
-
const { discoverLocalCliAuthFiles } = await import("./local-cli-auth-
|
|
3774
|
+
const { discoverLocalCliAuthFiles } = await import("./local-cli-auth-ChDP5zu4.js");
|
|
3774
3775
|
return discoverLocalCliAuthFiles(backendType);
|
|
3775
3776
|
}
|
|
3776
3777
|
async function describeLocalCliAuthExpectation(backendType) {
|
|
3777
|
-
const { describeLocalCliAuthExpectation: describe } = await import("./local-cli-auth-
|
|
3778
|
+
const { describeLocalCliAuthExpectation: describe } = await import("./local-cli-auth-ChDP5zu4.js");
|
|
3778
3779
|
return describe(backendType);
|
|
3779
3780
|
}
|
|
3780
3781
|
async function hydrateLocalCliBackendAuth(backend, baseUrl, trustLocalCliAuth) {
|
|
@@ -4760,9 +4761,9 @@ var SecretsManagerImpl = class {
|
|
|
4760
4761
|
}
|
|
4761
4762
|
const data = await response.json();
|
|
4762
4763
|
return {
|
|
4763
|
-
name: data.name,
|
|
4764
|
-
createdAt: new Date(data.createdAt),
|
|
4765
|
-
updatedAt: new Date(data.updatedAt)
|
|
4764
|
+
name: data.secret.name,
|
|
4765
|
+
createdAt: new Date(data.secret.createdAt),
|
|
4766
|
+
updatedAt: new Date(data.secret.updatedAt ?? data.secret.createdAt)
|
|
4766
4767
|
};
|
|
4767
4768
|
}
|
|
4768
4769
|
async list() {
|
|
@@ -4774,7 +4775,7 @@ var SecretsManagerImpl = class {
|
|
|
4774
4775
|
return ((await response.json()).secrets ?? []).map((s) => ({
|
|
4775
4776
|
name: s.name,
|
|
4776
4777
|
createdAt: new Date(s.createdAt),
|
|
4777
|
-
updatedAt: new Date(s.updatedAt)
|
|
4778
|
+
updatedAt: new Date(s.updatedAt ?? s.createdAt)
|
|
4778
4779
|
}));
|
|
4779
4780
|
}
|
|
4780
4781
|
async delete(name) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { l as TraceExportResult, n as HttpClient, r as SandboxInstance, u as TraceExportSink } from "./sandbox-
|
|
2
|
-
import { l as ScopedToken, s as MintInteractiveSessionTokenOptions } from "./terminal-stream-
|
|
3
|
-
import { A as LinesClient } from "./lines-
|
|
4
|
-
import { $n as PublicTemplateVersionInfo, Ar as SandboxFleetArtifactSpec, B as CreateSandboxOptions, Br as SandboxFleetMachineRecord, Bt as FleetDriveTurnOutcome, Dr as SandboxFleetAgent, F as CreateIntelligenceReportOptions, G as DeleteMatchingSandboxesFilter, Gn as PromptInputPart, Gr as SandboxFleetParent, Gt as FleetPromptDispatchOptions, Hr as SandboxFleetManifest, Ht as FleetExecDispatchOptions, I as CreateRequestOptions, Ir as SandboxFleetInfo, It as FleetDispatchCancelResult, Jt as FleetRunOptions, K as DeleteMatchingSandboxesOptions, Kn as PromptOptions, Kt as FleetPromptDispatchResult, L as CreateSandboxFleetOptions, Lt as FleetDispatchResultBuffer, M as ConversationTurnOptions, Mt as FleetAgentId, N as ConversationTurnResult, Na as BatchEvent, Nr as SandboxFleetDispatchResponse, Pi as SecretsManager, Pr as SandboxFleetDriverCapability, Pt as FleetAgentResult, Qn as PublicTemplateInfo, R as CreateSandboxFleetTokenOptions, Rt as FleetDispatchResultBufferOptions, Ta as UsageInfo, Tn as ListSandboxOptions, Tr as SandboxEnvironment, Ut as FleetExecDispatchResult, Vr as SandboxFleetMachineSpec, Vt as FleetDriveTurnRequest, Wr as SandboxFleetOperationsSummary, Wt as FleetMachineId, Xr as SandboxFleetToken, Yr as SandboxFleetSpend, Zr as SandboxFleetTraceBundle, _n as IntelligenceReportBudget, _t as ExecOptions, ai as SandboxFleetWorkspaceSnapshotResult, ar as ReconcileSandboxFleetsResult, b as BatchRunRequest, bn as IntelligenceReportWindow, ca as SubscriptionInfo, d as BackendConfig, ei as SandboxFleetTraceOptions, er as PublishPublicTemplateOptions, gn as IntelligenceReport, ia as SshKeysManager, ii as SandboxFleetWorkspaceRestoreResult, ir as ReconcileSandboxFleetsOptions, jr as SandboxFleetCostEstimate, kr as SandboxFleetArtifact, l as AttachSandboxFleetMachineOptions, nr as ReapExpiredSandboxFleetsOptions, oi as SandboxIdentity, q as DeleteMatchingSandboxesResult, qn as PromptResult, qr as SandboxFleetPolicy, qt as FleetRunEvent, ri as SandboxFleetWorkspaceReconcileResult, rr as ReapExpiredSandboxFleetsResult, si as SandboxInfo, ti as SandboxFleetUsage, tr as PublishPublicTemplateVersionOptions, v as BatchResult, vi as SandboxShapesInfo, vn as IntelligenceReportCompareTo, vr as SandboxConfig, vt as ExecResult, wn as ListSandboxFleetOptions, y as BatchRunOptions, ya as TokenRefreshHandler, z as CreateSandboxFleetWithCoordinatorOptions, za as BackendType, zt as FleetDispatchStreamOptions } from "./types-
|
|
5
|
-
import { f as SandboxError } from "./errors-
|
|
1
|
+
import { l as TraceExportResult, n as HttpClient, r as SandboxInstance, u as TraceExportSink } from "./sandbox-fTLRps4I.js";
|
|
2
|
+
import { l as ScopedToken, s as MintInteractiveSessionTokenOptions } from "./terminal-stream-CB2DF-qq.js";
|
|
3
|
+
import { A as LinesClient } from "./lines-DuPzlFrJ.js";
|
|
4
|
+
import { $n as PublicTemplateVersionInfo, Ar as SandboxFleetArtifactSpec, B as CreateSandboxOptions, Br as SandboxFleetMachineRecord, Bt as FleetDriveTurnOutcome, Dr as SandboxFleetAgent, F as CreateIntelligenceReportOptions, G as DeleteMatchingSandboxesFilter, Gn as PromptInputPart, Gr as SandboxFleetParent, Gt as FleetPromptDispatchOptions, Hr as SandboxFleetManifest, Ht as FleetExecDispatchOptions, I as CreateRequestOptions, Ir as SandboxFleetInfo, It as FleetDispatchCancelResult, Jt as FleetRunOptions, K as DeleteMatchingSandboxesOptions, Kn as PromptOptions, Kt as FleetPromptDispatchResult, L as CreateSandboxFleetOptions, Lt as FleetDispatchResultBuffer, M as ConversationTurnOptions, Mt as FleetAgentId, N as ConversationTurnResult, Na as BatchEvent, Nr as SandboxFleetDispatchResponse, Pi as SecretsManager, Pr as SandboxFleetDriverCapability, Pt as FleetAgentResult, Qn as PublicTemplateInfo, R as CreateSandboxFleetTokenOptions, Rt as FleetDispatchResultBufferOptions, Ta as UsageInfo, Tn as ListSandboxOptions, Tr as SandboxEnvironment, Ut as FleetExecDispatchResult, Vr as SandboxFleetMachineSpec, Vt as FleetDriveTurnRequest, Wr as SandboxFleetOperationsSummary, Wt as FleetMachineId, Xr as SandboxFleetToken, Yr as SandboxFleetSpend, Zr as SandboxFleetTraceBundle, _n as IntelligenceReportBudget, _t as ExecOptions, ai as SandboxFleetWorkspaceSnapshotResult, ar as ReconcileSandboxFleetsResult, b as BatchRunRequest, bn as IntelligenceReportWindow, ca as SubscriptionInfo, d as BackendConfig, ei as SandboxFleetTraceOptions, er as PublishPublicTemplateOptions, gn as IntelligenceReport, ia as SshKeysManager, ii as SandboxFleetWorkspaceRestoreResult, ir as ReconcileSandboxFleetsOptions, jr as SandboxFleetCostEstimate, kr as SandboxFleetArtifact, l as AttachSandboxFleetMachineOptions, nr as ReapExpiredSandboxFleetsOptions, oi as SandboxIdentity, q as DeleteMatchingSandboxesResult, qn as PromptResult, qr as SandboxFleetPolicy, qt as FleetRunEvent, ri as SandboxFleetWorkspaceReconcileResult, rr as ReapExpiredSandboxFleetsResult, si as SandboxInfo, ti as SandboxFleetUsage, tr as PublishPublicTemplateVersionOptions, v as BatchResult, vi as SandboxShapesInfo, vn as IntelligenceReportCompareTo, vr as SandboxConfig, vt as ExecResult, wn as ListSandboxFleetOptions, y as BatchRunOptions, ya as TokenRefreshHandler, z as CreateSandboxFleetWithCoordinatorOptions, za as BackendType, zt as FleetDispatchStreamOptions } from "./types-B_rwXChV.js";
|
|
5
|
+
import { f as SandboxError } from "./errors-C6dll8Qf.js";
|
|
6
6
|
import { AgentInteractiveSessionRef } from "@tangle-network/agent-interface";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as CollaborationTransportConfig, a as CollaborationClient, c as CollaborationClientConfig, d as CollaborationDocumentRef, f as CollaborationFileBridgeOptions, g as CollaborationTokenRefreshResponse, h as CollaborationTokenRefreshRequest, i as parseCollaborationDocumentId, l as CollaborationDocumentAdapter, m as CollaborationPermissions, n as buildCollaborationDocumentId, o as CollaborationBootstrapRequest, p as CollaborationFileEvent, r as normalizeCollaborationPath, s as CollaborationBootstrapResponse, t as CollaborationFileBridge, u as CollaborationDocumentChange, v as SaveCollaborationSnapshotRequest, y as SaveCollaborationSnapshotResponse } from "../index-
|
|
1
|
+
import { _ as CollaborationTransportConfig, a as CollaborationClient, c as CollaborationClientConfig, d as CollaborationDocumentRef, f as CollaborationFileBridgeOptions, g as CollaborationTokenRefreshResponse, h as CollaborationTokenRefreshRequest, i as parseCollaborationDocumentId, l as CollaborationDocumentAdapter, m as CollaborationPermissions, n as buildCollaborationDocumentId, o as CollaborationBootstrapRequest, p as CollaborationFileEvent, r as normalizeCollaborationPath, s as CollaborationBootstrapResponse, t as CollaborationFileBridge, u as CollaborationDocumentChange, v as SaveCollaborationSnapshotRequest, y as SaveCollaborationSnapshotResponse } from "../index-BKhRnV0i.js";
|
|
2
2
|
export { CollaborationBootstrapRequest, CollaborationBootstrapResponse, CollaborationClient, CollaborationClientConfig, CollaborationDocumentAdapter, CollaborationDocumentChange, CollaborationDocumentRef, CollaborationFileBridge, CollaborationFileBridgeOptions, CollaborationFileEvent, CollaborationPermissions, CollaborationTokenRefreshRequest, CollaborationTokenRefreshResponse, CollaborationTransportConfig, SaveCollaborationSnapshotRequest, SaveCollaborationSnapshotResponse, buildCollaborationDocumentId, normalizeCollaborationPath, parseCollaborationDocumentId };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as CollaborationClient, i as parseCollaborationDocumentId, n as buildCollaborationDocumentId, r as normalizeCollaborationPath, t as CollaborationFileBridge } from "../collaboration-
|
|
1
|
+
import { a as CollaborationClient, i as parseCollaborationDocumentId, n as buildCollaborationDocumentId, r as normalizeCollaborationPath, t as CollaborationFileBridge } from "../collaboration-d8Xcvel7.js";
|
|
2
2
|
export { CollaborationClient, CollaborationFileBridge, buildCollaborationDocumentId, normalizeCollaborationPath, parseCollaborationDocumentId };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as parseErrorResponse, h as TimeoutError, s as NetworkError } from "./errors-
|
|
1
|
+
import { _ as parseErrorResponse, h as TimeoutError, s as NetworkError } from "./errors-CKl_BSlD.js";
|
|
2
2
|
//#region src/collaboration/client.ts
|
|
3
3
|
const DEFAULT_TIMEOUT_MS = 3e4;
|
|
4
4
|
function normalizeBaseUrl(url) {
|
package/dist/core.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as WorkspaceImagePublishRequestOptions, i as WorkspaceImagePublishInput, o as WorkspaceImagePublishResult, r as SandboxInstance, s as WorkspaceImages } from "./sandbox-
|
|
2
|
-
import { A as LinesClient, B as LineApplicationState, F as LINE_APPLICATION_REPLY_MAX_CHARS, H as parseLineApplicationRequest, I as LINE_APPLICATION_REQUEST_MAX_BYTES, L as LineApplication, N as lineInstanceKey, P as profileChannelReference, R as LineApplicationRequest, T as LineSendReceipt, U as parseLineApplicationResult, V as LineApplicationView, _ as LineNumberInventory, f as LineMember, l as LineInstanceAttachOptions, n as LineAgentRolePolicy, o as LineAttachment, p as LineMemberInstance, s as LineExecutionKey, t as Line, u as LineInstanceCreate, v as LineProvider, w as LineSendInput, y as LineReminderPreferences, z as LineApplicationResult } from "./lines-
|
|
3
|
-
import { B as CreateSandboxOptions, Fn as PreviewLinkManager, Ga as ManagedProcessSpec, Gn as PromptInputPart, Ha as ManagedProcessJobs, In as PreviewLinkWaitOptions, Ji as SessionMessageAdmission, Ka as ManagedProcessState, M as ConversationTurnOptions, N as ConversationTurnResult, Pn as PreviewLinkInfo, Ua as ManagedProcessOptions, Va as ManagedProcessClient, Wa as ManagedProcessRecord, _t as ExecOptions, kn as NetworkConfig, si as SandboxInfo, vr as SandboxConfig, vt as ExecResult, yi as SandboxStatus } from "./types-
|
|
4
|
-
import { A as isBackendRegistryInteractionKind, C as BackendRegistryEntry, D as backendRegistryEntrySchema, E as backendRegistryCapabilitiesSchema, M as parseBackendRegistryResponseBody, O as backendRegistryInteractionKindSchema, S as BackendRegistryCapabilities, T as BackendRegistryResponse, d as HostedInstance, f as InstanceProfile, g as InstancesClient, i as Sandbox, j as parseBackendRegistryResponse, k as backendRegistryResponseSchema, m as InstanceRestartingError, p as InstanceRecord, u as EnsureInstanceOptions, w as BackendRegistryInteractionKind } from "./client-
|
|
5
|
-
import { _ as TimeoutError, a as FileWriteConflictError, c as NotFoundError, f as SandboxError, g as StateError, h as ServerError, l as PartialFailureError, m as SandboxFailureDetail, n as CapabilityError, p as SandboxErrorJson, s as NetworkError, t as AuthError, u as QuotaError, v as ValidationError } from "./errors-
|
|
1
|
+
import { a as WorkspaceImagePublishRequestOptions, i as WorkspaceImagePublishInput, o as WorkspaceImagePublishResult, r as SandboxInstance, s as WorkspaceImages } from "./sandbox-fTLRps4I.js";
|
|
2
|
+
import { A as LinesClient, B as LineApplicationState, F as LINE_APPLICATION_REPLY_MAX_CHARS, H as parseLineApplicationRequest, I as LINE_APPLICATION_REQUEST_MAX_BYTES, L as LineApplication, N as lineInstanceKey, P as profileChannelReference, R as LineApplicationRequest, T as LineSendReceipt, U as parseLineApplicationResult, V as LineApplicationView, _ as LineNumberInventory, f as LineMember, l as LineInstanceAttachOptions, n as LineAgentRolePolicy, o as LineAttachment, p as LineMemberInstance, s as LineExecutionKey, t as Line, u as LineInstanceCreate, v as LineProvider, w as LineSendInput, y as LineReminderPreferences, z as LineApplicationResult } from "./lines-DuPzlFrJ.js";
|
|
3
|
+
import { B as CreateSandboxOptions, Fn as PreviewLinkManager, Ga as ManagedProcessSpec, Gn as PromptInputPart, Ha as ManagedProcessJobs, In as PreviewLinkWaitOptions, Ji as SessionMessageAdmission, Ka as ManagedProcessState, M as ConversationTurnOptions, N as ConversationTurnResult, Pn as PreviewLinkInfo, Ua as ManagedProcessOptions, Va as ManagedProcessClient, Wa as ManagedProcessRecord, _t as ExecOptions, kn as NetworkConfig, si as SandboxInfo, vr as SandboxConfig, vt as ExecResult, yi as SandboxStatus } from "./types-B_rwXChV.js";
|
|
4
|
+
import { A as isBackendRegistryInteractionKind, C as BackendRegistryEntry, D as backendRegistryEntrySchema, E as backendRegistryCapabilitiesSchema, M as parseBackendRegistryResponseBody, O as backendRegistryInteractionKindSchema, S as BackendRegistryCapabilities, T as BackendRegistryResponse, d as HostedInstance, f as InstanceProfile, g as InstancesClient, i as Sandbox, j as parseBackendRegistryResponse, k as backendRegistryResponseSchema, m as InstanceRestartingError, p as InstanceRecord, u as EnsureInstanceOptions, w as BackendRegistryInteractionKind } from "./client-xDfwI4yj.js";
|
|
5
|
+
import { _ as TimeoutError, a as FileWriteConflictError, c as NotFoundError, f as SandboxError, g as StateError, h as ServerError, l as PartialFailureError, m as SandboxFailureDetail, n as CapabilityError, p as SandboxErrorJson, s as NetworkError, t as AuthError, u as QuotaError, v as ValidationError } from "./errors-C6dll8Qf.js";
|
|
6
6
|
|
|
7
7
|
//#region src/core.d.ts
|
|
8
8
|
/** Local SDK protocol support only, not a deployed-host readiness assertion.
|
package/dist/core.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as FileWriteConflictError, c as NotFoundError, f as SandboxError, g as ValidationError, h as TimeoutError, l as PartialFailureError, m as StateError, n as CapabilityError, p as ServerError, s as NetworkError, t as AuthError, u as QuotaError } from "./errors-
|
|
2
|
-
import { _ as backendRegistryInteractionKindSchema, b as parseBackendRegistryResponse, c as InstanceRestartingError, g as backendRegistryEntrySchema, h as backendRegistryCapabilitiesSchema, l as InstancesClient, n as Sandbox, s as HostedInstance, v as backendRegistryResponseSchema, x as parseBackendRegistryResponseBody, y as isBackendRegistryInteractionKind } from "./client-
|
|
3
|
-
import { D as ManagedProcessClient, o as WorkspaceImages, t as SandboxInstance } from "./sandbox-
|
|
1
|
+
import { a as FileWriteConflictError, c as NotFoundError, f as SandboxError, g as ValidationError, h as TimeoutError, l as PartialFailureError, m as StateError, n as CapabilityError, p as ServerError, s as NetworkError, t as AuthError, u as QuotaError } from "./errors-CKl_BSlD.js";
|
|
2
|
+
import { _ as backendRegistryInteractionKindSchema, b as parseBackendRegistryResponse, c as InstanceRestartingError, g as backendRegistryEntrySchema, h as backendRegistryCapabilitiesSchema, l as InstancesClient, n as Sandbox, s as HostedInstance, v as backendRegistryResponseSchema, x as parseBackendRegistryResponseBody, y as isBackendRegistryInteractionKind } from "./client-DA3Pwd3t.js";
|
|
3
|
+
import { D as ManagedProcessClient, o as WorkspaceImages, t as SandboxInstance } from "./sandbox-D8HtCO-L.js";
|
|
4
4
|
import { LinesClient, lineInstanceKey, profileChannelReference } from "./lines.js";
|
|
5
|
-
import { i as parseLineApplicationResult, n as LINE_APPLICATION_REQUEST_MAX_BYTES, r as parseLineApplicationRequest, t as LINE_APPLICATION_REPLY_MAX_CHARS } from "./line-application-
|
|
5
|
+
import { i as parseLineApplicationResult, n as LINE_APPLICATION_REQUEST_MAX_BYTES, r as parseLineApplicationRequest, t as LINE_APPLICATION_REPLY_MAX_CHARS } from "./line-application-9k30rhb2.js";
|
|
6
6
|
//#region src/core.ts
|
|
7
7
|
/** Local SDK protocol support only, not a deployed-host readiness assertion.
|
|
8
8
|
* Version 1 refuses unconfirmed isolated receipts before materializing any
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
//#region ../../../packages/cli-agent-registry/dist/cli-auth-bundle.d.mts
|
|
2
|
-
//#region src/cli-auth-bundle.d.ts
|
|
3
|
-
type LocalCliAuthFile = {
|
|
4
|
-
path: string;
|
|
5
|
-
content: string;
|
|
6
|
-
mode?: number;
|
|
7
|
-
};
|
|
8
|
-
/** Convert a native credential JSON bundle without reading host credentials. */
|
|
9
|
-
declare function materializeCliAuthBundle(backendType: string, rawBundle: string): LocalCliAuthFile[]; //#endregion
|
|
10
|
-
//#endregion
|
|
11
1
|
//#region src/auth/types.d.ts
|
|
12
2
|
/**
|
|
13
3
|
* Auth Types
|
|
@@ -227,4 +217,4 @@ declare class ProductTokenIssuer {
|
|
|
227
217
|
getTtlMinutes(tier?: "free" | "pro" | "enterprise"): number;
|
|
228
218
|
}
|
|
229
219
|
//#endregion
|
|
230
|
-
export { ReadTokenPayload as _, issueCollaborationToken as a,
|
|
220
|
+
export { ReadTokenPayload as _, issueCollaborationToken as a, issueSessionScopedToken as c, AnyTokenPayload as d, BatchScopedTokenPayload as f, ProjectScopedTokenPayload as g, IssueCollaborationTokenOptions as h, issueBatchScopedToken as i, unsafeDecodeToken as l, CollaborationTokenPayload as m, getTokenTTL as n, issueProjectScopedToken as o, CollaborationAccess as p, isTokenExpiringSoon as r, issueReadToken as s, ProductTokenIssuer as t, verifyToken as u, SessionScopedTokenPayload as v, TokenScope as y };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as HttpClient, r as SandboxInstance } from "./sandbox-
|
|
2
|
-
import { B as CreateSandboxOptions } from "./types-
|
|
1
|
+
import { n as HttpClient, r as SandboxInstance } from "./sandbox-fTLRps4I.js";
|
|
2
|
+
import { B as CreateSandboxOptions } from "./types-B_rwXChV.js";
|
|
3
3
|
|
|
4
4
|
//#region src/tangle/abi.d.ts
|
|
5
5
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { $ as SandboxMcpConfig, A as InteractiveStopCommand, B as BrowserInteractiveSessionControllerOptions, C as InteractiveSessionHandleOptions, D as InteractiveSessionRef, E as InteractiveSessionInfo, F as InteractiveTerminalFrameLog, G as SandboxInteractionCommandResult, H as InteractiveSessionController, I as InteractiveTerminalMetadata, J as SandboxInteractionResult, K as SandboxInteractionConflict, L as createInteractiveTerminalCapture, M as RespondToPermissionOptions, N as agentInteractiveSessionPromptRequestDigest, O as InteractiveSessionStartOptions, P as InteractiveTerminalCapture, Q as SANDBOX_MCP_SERVER_NAME, R as createInteractiveTerminalSession, S as InteractiveSessionHandle, T as InteractiveSessionIncarnationId, U as InteractiveSessionControllerOptions, V as InteractiveAttachRequest, W as InteractiveSessionControllerTransport, X as BuildSandboxMcpConfigOptions, Y as BuildControlPlaneMcpConfigOptions, Z as CONTROL_PLANE_MCP_SERVER_NAME, _ as SandboxSession, a as WorkspaceImagePublishRequestOptions, b as InteractivePromptCommand, c as TraceExportFormat, d as buildTraceExportPayload, et as SandboxMcpEndpoint, f as exportTraceBundle, g as RawEvidenceExport, h as SandboxTaskSession, i as WorkspaceImagePublishInput, j as InterruptResult, k as InteractiveSessionStartResult, l as TraceExportResult, m as toOtelJson, nt as buildControlPlaneMcpConfig, o as WorkspaceImagePublishResult, p as otelTraceIdForTangleTrace, q as SandboxInteractionResolution, r as SandboxInstance, rt as buildSandboxMcpConfig, s as WorkspaceImages, t as ForkAcknowledgement, tt as SandboxMcpServerEntry, u as TraceExportSink, v as AgentInteractiveTerminalSession, w as InteractiveSessionHost, x as InteractiveSessionControlClaim, y as InteractiveControlClaimRequest, z as BrowserInteractiveSessionController } from "./sandbox-
|
|
2
|
-
import { c as MintScopedTokenOptions, d as TERMINAL_WS_ECHO_SUBPROTOCOL, f as TerminalExitInfo, g as TerminalStreamAuthFormat, h as TerminalReadyInfo, i as TerminalStreamOptions, l as ScopedToken, m as TerminalOutputMessage, n as TerminalStreamError, o as TerminalStreamToken, p as TerminalInteractiveSessionIdentity, r as TerminalStreamHandlers, s as MintInteractiveSessionTokenOptions, t as TerminalStream, u as ScopedTokenScope } from "./terminal-stream-
|
|
3
|
-
import { a as InteractiveSessionControlController, c as InteractiveSessionIdentity, d as InteractiveAttachOptions, f as InteractiveControlClaimAcknowledgement, h as InteractiveSessionStatus, i as INTERACTIVE_CONTROL_CLEANUP_TIMEOUT_MS, l as createInteractiveControlHolderId, m as InteractiveRequestOptions, n as BrowserInteractiveSessionControlControllerOptions, o as InteractiveSessionControlControllerOptions, p as InteractiveControlClaimOptions, r as browserInteractiveControlHolderId, s as InteractiveSessionControlTransport, t as BrowserInteractiveSessionControlController, u as interactiveSessionIdentityDigest } from "./browser-interactive-control-controller-
|
|
4
|
-
import { A as LinesClient, B as LineApplicationState, C as LineRole, D as LineTransport, E as LineThread, F as LINE_APPLICATION_REPLY_MAX_CHARS, H as parseLineApplicationRequest, I as LINE_APPLICATION_REQUEST_MAX_BYTES, L as LineApplication, M as SandboxLines, N as lineInstanceKey, O as LineVoice, P as profileChannelReference, R as LineApplicationRequest, S as LineRespondView, T as LineSendReceipt, U as parseLineApplicationResult, V as LineApplicationView, _ as LineNumberInventory, a as LineAttachOptions, b as LineReplyGate, c as LineFromConnectionInput, d as LineLimits, f as LineMember, g as LineMessage, h as LineMemberSpec, i as LineAllowanceSubject, k as LineVoiceOptions, l as LineInstanceAttachOptions, m as LineMemberPatch, n as LineAgentRolePolicy, o as LineAttachment, p as LineMemberInstance, r as LineAllowance, s as LineExecutionKey, t as Line, u as LineInstanceCreate, v as LineProvider, w as LineSendInput, x as LineRespondAgent, y as LineReminderPreferences, z as LineApplicationResult } from "./lines-
|
|
5
|
-
import { $ as DownloadOptions, $i as SnapshotDeleteOutcome, $n as PublicTemplateVersionInfo, $r as SandboxFleetTraceExport, $t as GitAuth, A as CommitTaskSessionOptions, Aa as WriteManyFile, Ai as SandboxUser, An as NetworkManager, Ar as SandboxFleetArtifactSpec, At as FileUsageResult, B as CreateSandboxOptions, Ba as parseBackendType, Bi as SessionExecutionInfo, Bn as ProcessLogEntry, Br as SandboxFleetMachineRecord, Bt as FleetDriveTurnOutcome, C as BranchOptions, Ca as UploadOptions, Ci as SandboxTerminalManager, Cn as ListOptions, Cr as SandboxDeleteOptions, Ct as FileReadResult, Da as WaitForRolloutOptions, Di as SandboxTraceEvent, Dn as McpServerConfig, Dr as SandboxFleetAgent, Dt as FileTreeOptions, Ea as WaitForOptions, Ei as SandboxTraceBundle, En as MAX_EGRESS_DENIALS_LIMIT, Er as SandboxEvent, Et as FileTreeFile, F as CreateIntelligenceReportOptions, Fa as BatchSidecarGroup, Fi as SendSessionMessageOptions, Fn as PreviewLinkManager, Fr as SandboxFleetDriverTimings, Ft as FleetAgentRunStatus, G as DeleteMatchingSandboxesFilter, Ga as ManagedProcessSpec, Gi as SessionInterruptOptions, Gn as PromptInputPart, Gr as SandboxFleetParent, Gt as FleetPromptDispatchOptions, H as CreateTaskSessionOptions, Ha as ManagedProcessJobs, Hi as SessionFailureReason, Hn as ProcessSignal, Hr as SandboxFleetManifest, Ht as FleetExecDispatchOptions, I as CreateRequestOptions, Ia as BatchTaskUsage, Ii as SendSessionMessageRequest, In as PreviewLinkWaitOptions, Ir as SandboxFleetInfo, It as FleetDispatchCancelResult, J as DeleteOptions, Ji as SessionMessageAdmission, Jn as ProvisionEvent, Jr as SandboxFleetProfileRef, Jt as FleetRunOptions, K as DeleteMatchingSandboxesOptions, Ka as ManagedProcessState, Ki as SessionListOptions, Kn as PromptOptions, Kr as SandboxFleetPlacement, Kt as FleetPromptDispatchResult, L as CreateSandboxFleetOptions, La as PublicBatchRunRequest, Li as SentSessionMessage, Ln as Process, Lr as SandboxFleetIntelligenceEnvelope, Lt as FleetDispatchResultBuffer, M as ConversationTurnOptions, Ma as BatchBackendStats, Mi as SearchOptions, Mn as PermissionLevel, Mr as SandboxFleetDispatchFailureClass, Mt as FleetAgentId, N as ConversationTurnResult, Na as BatchEvent, Ni as SecretInfo, Nn as PermissionsManager, Nr as SandboxFleetDispatchResponse, Nt as FleetAgentPlacement, Oa as WorkspaceOperationLookup, Oi as SandboxTraceExport, On as MkdirOptions, Or as SandboxFleetAgentSpec, Ot as FileTreeResult, P as CreateGpuLeaseOptions, Pa as BatchEventDataMap, Pi as SecretsManager, Pn as PreviewLinkInfo, Pr as SandboxFleetDriverCapability, Pt as FleetAgentResult, Q as DispatchedSession, Qi as SnapshotDeleteAcknowledgement, Qn as PublicTemplateInfo, Qr as SandboxFleetTraceEvent, Qt as GPU_LEASE_PROVIDER_NAMES, Ra as ALL_BACKEND_TYPES, Ri as SessionBackendCredentials, Rn as ProcessInfo, Rr as SandboxFleetMachine, Rt as FleetDispatchResultBufferOptions, S as BatchTaskResult, Sa as UpdateUserOptions, Si as SandboxTerminalInfo, Sn as ListMessagesOptions, Sr as SandboxDeleteAcknowledgement, St as FileReadError, T as ChunkedUploadResult, Ta as UsageInfo, Ti as SandboxTerminals, Tn as ListSandboxOptions, Tr as SandboxEnvironment, Tt as FileSystem, U as DeleteMatchingSandboxOutcome, Ua as ManagedProcessOptions, Ui as SessionForkOptions, Un as ProcessSpawnOptions, Ur as SandboxFleetManifestMachine, V as CreateSessionOptions, Va as ManagedProcessClient, Vi as SessionExecutionStatus, Vn as ProcessManager, Vr as SandboxFleetMachineSpec, Vt as FleetDriveTurnRequest, W as DeleteMatchingSandboxResult, Wa as ManagedProcessRecord, Wi as SessionInfo, Wn as ProcessStatus, Wr as SandboxFleetOperationsSummary, Wt as FleetMachineId, X as DirectoryPermission, Xi as SessionResultOptions, Xn as ProvisionStatus, Xr as SandboxFleetToken, Xt as ForkIdempotency, Y as DevServerInfo, Yi as SessionMessageInputPart, Yn as ProvisionResult, Yr as SandboxFleetSpend, Yt as ForkCounts, Z as DispatchPromptOptions, Zi as SessionStatus, Zn as ProvisionStep, Zr as SandboxFleetTraceBundle, Zt as ForkLookupOptions, _ as BatchBackend, _a as TeePublicKey, _i as SandboxShapePreset, _n as IntelligenceReportBudget, _r as SSHCredentials, _t as ExecOptions, aa as StartupDiagnostics, ai as SandboxFleetWorkspaceSnapshotResult, an as GpuLease, ar as ReconcileSandboxFleetsResult, at as DurablePlan, b as BatchRunRequest, ba as TokenUsage, bi as SandboxTerminalAttachOptions, bn as IntelligenceReportWindow, br as SandboxCreateOutcome, bt as FileReadBatchOptions, c as AttachGpuLeaseOptions, ca as SubscriptionInfo, ci as SandboxIntelligenceEnvelope, cn as GpuLeaseExecOptions, ct as EffectiveBackend, d as BackendConfig, da as TaskSessionFileChange, di as SandboxRemovalState, dn as GpuLeaseProviderName, dr as RolloutOptions, dt as EgressDenial, ea as SnapshotIdempotency, ei as SandboxFleetTraceOptions, en as GitBranch, er as PublishPublicTemplateOptions, et as DownloadProgress, f as BackendInfo, fa as TaskSessionInfo, fi as SandboxResourceUsage, fn as GpuLeaseStatus, fr as RolloutScorer, ft as EgressManager, g as BackendStatus, ga as TeeAttestationResponse, gi as SandboxShape, gn as IntelligenceReport, gr as SSHCommandDescriptor, gt as ExactProcessSpawnOptions, h as BackendRuntimeConfigUpdate, ha as TeeAttestationReport, hi as SandboxRuntimeHealth, hn as InstalledTool, hr as RolloutTurnPart, ht as EventStreamOptions, ii as SandboxFleetWorkspaceRestoreResult, in as GitStatus, ir as ReconcileSandboxFleetsOptions, it as DriverType, j as CompletedTurnResult, ja as WriteManyOptions, ji as SearchMatch, jn as NonHostAgentDriverConfig, jr as SandboxFleetCostEstimate, jt as FileWriteResult, ka as WriteFileOptions, ki as SandboxTraceOptions, kn as NetworkConfig, kr as SandboxFleetArtifact, kt as FileUsageOptions, l as AttachSandboxFleetMachineOptions, la as TaskSessionChanges, li as SandboxPortBinding, ln as GpuLeaseExecResult, lr as Rollout, lt as EffectiveBackendProfile, m as BackendMcpServerStatus, ma as TeeAttestationOptions, mi as SandboxRuntimeCapabilities, mn as HostAgentRuntimeBackend, mr as RolloutStatus, mt as EnsureDevServerOptions, n as AccessPolicyRule, na as SnapshotOptions, ni as SandboxFleetWorkspace, nn as GitConfig, nr as ReapExpiredSandboxFleetsOptions, nt as DriverConfig, oa as StartupOperation, oi as SandboxIdentity, on as GpuLeaseBilling, or as RenameOptions, ot as DurablePlanDecisionResult, p as BackendManager, pa as TaskSessionProfile, pi as SandboxResources, pn as HostAgentDriverConfig, pr as RolloutStartResult, pt as EgressPolicy, q as DeleteMatchingSandboxesResult, qi as SessionMessage, qn as PromptResult, qr as SandboxFleetPolicy, qt as FleetRunEvent, r as AddUserOptions, ra as SnapshotResult, ri as SandboxFleetWorkspaceReconcileResult, rn as GitDiff, rr as ReapExpiredSandboxFleetsResult, rt as DriverInfo, sa as StorageConfig, si as SandboxInfo, sn as GpuLeaseCommandResult, t as AcceleratorKind, ta as SnapshotInfo, ti as SandboxFleetUsage, tn as GitCommit, tr as PublishPublicTemplateVersionOptions, tt as DriveTurnOptions, u as BackendCapabilities, ua as TaskSessionCommitResult, ui as SandboxPortPreviewLink, un as GpuLeaseManager, ur as RolloutChildResult, ut as EffectiveBackendSource, v as BatchResult, va as TeePublicKeyResponse, vi as SandboxShapesInfo, vn as IntelligenceReportCompareTo, vr as SandboxConfig, vt as ExecResult, w as ChunkedUploadOptions, wa as UploadProgress, wi as SandboxTerminalRequestOptions, wn as ListSandboxFleetOptions, wr as SandboxDeleteOutcome, wt as FileRenameResult, x as BatchTask, xa as TurnDriveResult, xi as SandboxTerminalCreateOptions, xr as SandboxCreateReceipt, xt as FileReadBatchResult, y as BatchRunOptions, ya as TokenRefreshHandler, yi as SandboxStatus, yn as IntelligenceReportSubjectType, yr as SandboxConnection, yt as FileInfo, z as CreateSandboxFleetWithCoordinatorOptions, za as BackendType, zi as SessionEventStreamOptions, zn as ProcessListOptions, zr as SandboxFleetMachineMeteredUsage, zt as FleetDispatchStreamOptions } from "./types-
|
|
6
|
-
import { A as isBackendRegistryInteractionKind, C as BackendRegistryEntry, D as backendRegistryEntrySchema, E as backendRegistryCapabilitiesSchema, M as parseBackendRegistryResponseBody, O as backendRegistryInteractionKindSchema, S as BackendRegistryCapabilities, T as BackendRegistryResponse, _ as SandboxFleet, a as Team, b as ParsedSSEEvent, c as SessionBroadcastEvent, d as HostedInstance, f as InstanceProfile, g as InstancesClient, h as InstanceStart, i as Sandbox, j as parseBackendRegistryResponse, k as backendRegistryResponseSchema, l as SessionBroadcastResult, m as InstanceRestartingError, n as IntelligenceClient, o as TeamInvitation, p as InstanceRecord, r as InviteTeamMemberOptions, s as TeamMember, t as CreateTeamOptions, u as EnsureInstanceOptions, v as SandboxFleetClient, w as BackendRegistryInteractionKind, x as parseSSEStream, y as ParseSSEStreamOptions } from "./client-
|
|
7
|
-
import { _ as TimeoutError, a as FileWriteConflictError, c as NotFoundError, d as ResumeEnvRequiredError, f as SandboxError, g as StateError, h as ServerError, i as EgressProxyRecoveryError, l as PartialFailureError, m as SandboxFailureDetail, n as CapabilityError, o as KeyBudgetExhaustedError, p as SandboxErrorJson, r as EdgeNotReadyError, s as NetworkError, t as AuthError, u as QuotaError, v as ValidationError } from "./errors-
|
|
8
|
-
import { d as AnyTokenPayload, h as IssueCollaborationTokenOptions, m as CollaborationTokenPayload, p as CollaborationAccess } from "./index-
|
|
9
|
-
import { _ as CollaborationTransportConfig, a as CollaborationClient, c as CollaborationClientConfig, d as CollaborationDocumentRef, f as CollaborationFileBridgeOptions, g as CollaborationTokenRefreshResponse, h as CollaborationTokenRefreshRequest, i as parseCollaborationDocumentId, l as CollaborationDocumentAdapter, m as CollaborationPermissions, n as buildCollaborationDocumentId, o as CollaborationBootstrapRequest, p as CollaborationFileEvent, r as normalizeCollaborationPath, s as CollaborationBootstrapResponse, t as CollaborationFileBridge, u as CollaborationDocumentChange, v as SaveCollaborationSnapshotRequest, y as SaveCollaborationSnapshotResponse } from "./index-
|
|
10
|
-
import { a as deriveAgentRunOutcome, i as deriveAgentResultOutcome, n as AgentRunOutcomeTracker, r as createAgentRunOutcomeTracker, t as AgentRunOutcome } from "./agent-run-outcome-
|
|
11
|
-
import { o as TangleSandboxClientConfig, t as TangleSandboxClient } from "./index-
|
|
1
|
+
import { $ as SandboxMcpConfig, A as InteractiveStopCommand, B as BrowserInteractiveSessionControllerOptions, C as InteractiveSessionHandleOptions, D as InteractiveSessionRef, E as InteractiveSessionInfo, F as InteractiveTerminalFrameLog, G as SandboxInteractionCommandResult, H as InteractiveSessionController, I as InteractiveTerminalMetadata, J as SandboxInteractionResult, K as SandboxInteractionConflict, L as createInteractiveTerminalCapture, M as RespondToPermissionOptions, N as agentInteractiveSessionPromptRequestDigest, O as InteractiveSessionStartOptions, P as InteractiveTerminalCapture, Q as SANDBOX_MCP_SERVER_NAME, R as createInteractiveTerminalSession, S as InteractiveSessionHandle, T as InteractiveSessionIncarnationId, U as InteractiveSessionControllerOptions, V as InteractiveAttachRequest, W as InteractiveSessionControllerTransport, X as BuildSandboxMcpConfigOptions, Y as BuildControlPlaneMcpConfigOptions, Z as CONTROL_PLANE_MCP_SERVER_NAME, _ as SandboxSession, a as WorkspaceImagePublishRequestOptions, b as InteractivePromptCommand, c as TraceExportFormat, d as buildTraceExportPayload, et as SandboxMcpEndpoint, f as exportTraceBundle, g as RawEvidenceExport, h as SandboxTaskSession, i as WorkspaceImagePublishInput, j as InterruptResult, k as InteractiveSessionStartResult, l as TraceExportResult, m as toOtelJson, nt as buildControlPlaneMcpConfig, o as WorkspaceImagePublishResult, p as otelTraceIdForTangleTrace, q as SandboxInteractionResolution, r as SandboxInstance, rt as buildSandboxMcpConfig, s as WorkspaceImages, t as ForkAcknowledgement, tt as SandboxMcpServerEntry, u as TraceExportSink, v as AgentInteractiveTerminalSession, w as InteractiveSessionHost, x as InteractiveSessionControlClaim, y as InteractiveControlClaimRequest, z as BrowserInteractiveSessionController } from "./sandbox-fTLRps4I.js";
|
|
2
|
+
import { c as MintScopedTokenOptions, d as TERMINAL_WS_ECHO_SUBPROTOCOL, f as TerminalExitInfo, g as TerminalStreamAuthFormat, h as TerminalReadyInfo, i as TerminalStreamOptions, l as ScopedToken, m as TerminalOutputMessage, n as TerminalStreamError, o as TerminalStreamToken, p as TerminalInteractiveSessionIdentity, r as TerminalStreamHandlers, s as MintInteractiveSessionTokenOptions, t as TerminalStream, u as ScopedTokenScope } from "./terminal-stream-CB2DF-qq.js";
|
|
3
|
+
import { a as InteractiveSessionControlController, c as InteractiveSessionIdentity, d as InteractiveAttachOptions, f as InteractiveControlClaimAcknowledgement, h as InteractiveSessionStatus, i as INTERACTIVE_CONTROL_CLEANUP_TIMEOUT_MS, l as createInteractiveControlHolderId, m as InteractiveRequestOptions, n as BrowserInteractiveSessionControlControllerOptions, o as InteractiveSessionControlControllerOptions, p as InteractiveControlClaimOptions, r as browserInteractiveControlHolderId, s as InteractiveSessionControlTransport, t as BrowserInteractiveSessionControlController, u as interactiveSessionIdentityDigest } from "./browser-interactive-control-controller-BzR8sFjo.js";
|
|
4
|
+
import { A as LinesClient, B as LineApplicationState, C as LineRole, D as LineTransport, E as LineThread, F as LINE_APPLICATION_REPLY_MAX_CHARS, H as parseLineApplicationRequest, I as LINE_APPLICATION_REQUEST_MAX_BYTES, L as LineApplication, M as SandboxLines, N as lineInstanceKey, O as LineVoice, P as profileChannelReference, R as LineApplicationRequest, S as LineRespondView, T as LineSendReceipt, U as parseLineApplicationResult, V as LineApplicationView, _ as LineNumberInventory, a as LineAttachOptions, b as LineReplyGate, c as LineFromConnectionInput, d as LineLimits, f as LineMember, g as LineMessage, h as LineMemberSpec, i as LineAllowanceSubject, k as LineVoiceOptions, l as LineInstanceAttachOptions, m as LineMemberPatch, n as LineAgentRolePolicy, o as LineAttachment, p as LineMemberInstance, r as LineAllowance, s as LineExecutionKey, t as Line, u as LineInstanceCreate, v as LineProvider, w as LineSendInput, x as LineRespondAgent, y as LineReminderPreferences, z as LineApplicationResult } from "./lines-DuPzlFrJ.js";
|
|
5
|
+
import { $ as DownloadOptions, $i as SnapshotDeleteOutcome, $n as PublicTemplateVersionInfo, $r as SandboxFleetTraceExport, $t as GitAuth, A as CommitTaskSessionOptions, Aa as WriteManyFile, Ai as SandboxUser, An as NetworkManager, Ar as SandboxFleetArtifactSpec, At as FileUsageResult, B as CreateSandboxOptions, Ba as parseBackendType, Bi as SessionExecutionInfo, Bn as ProcessLogEntry, Br as SandboxFleetMachineRecord, Bt as FleetDriveTurnOutcome, C as BranchOptions, Ca as UploadOptions, Ci as SandboxTerminalManager, Cn as ListOptions, Cr as SandboxDeleteOptions, Ct as FileReadResult, Da as WaitForRolloutOptions, Di as SandboxTraceEvent, Dn as McpServerConfig, Dr as SandboxFleetAgent, Dt as FileTreeOptions, Ea as WaitForOptions, Ei as SandboxTraceBundle, En as MAX_EGRESS_DENIALS_LIMIT, Er as SandboxEvent, Et as FileTreeFile, F as CreateIntelligenceReportOptions, Fa as BatchSidecarGroup, Fi as SendSessionMessageOptions, Fn as PreviewLinkManager, Fr as SandboxFleetDriverTimings, Ft as FleetAgentRunStatus, G as DeleteMatchingSandboxesFilter, Ga as ManagedProcessSpec, Gi as SessionInterruptOptions, Gn as PromptInputPart, Gr as SandboxFleetParent, Gt as FleetPromptDispatchOptions, H as CreateTaskSessionOptions, Ha as ManagedProcessJobs, Hi as SessionFailureReason, Hn as ProcessSignal, Hr as SandboxFleetManifest, Ht as FleetExecDispatchOptions, I as CreateRequestOptions, Ia as BatchTaskUsage, Ii as SendSessionMessageRequest, In as PreviewLinkWaitOptions, Ir as SandboxFleetInfo, It as FleetDispatchCancelResult, J as DeleteOptions, Ji as SessionMessageAdmission, Jn as ProvisionEvent, Jr as SandboxFleetProfileRef, Jt as FleetRunOptions, K as DeleteMatchingSandboxesOptions, Ka as ManagedProcessState, Ki as SessionListOptions, Kn as PromptOptions, Kr as SandboxFleetPlacement, Kt as FleetPromptDispatchResult, L as CreateSandboxFleetOptions, La as PublicBatchRunRequest, Li as SentSessionMessage, Ln as Process, Lr as SandboxFleetIntelligenceEnvelope, Lt as FleetDispatchResultBuffer, M as ConversationTurnOptions, Ma as BatchBackendStats, Mi as SearchOptions, Mn as PermissionLevel, Mr as SandboxFleetDispatchFailureClass, Mt as FleetAgentId, N as ConversationTurnResult, Na as BatchEvent, Ni as SecretInfo, Nn as PermissionsManager, Nr as SandboxFleetDispatchResponse, Nt as FleetAgentPlacement, Oa as WorkspaceOperationLookup, Oi as SandboxTraceExport, On as MkdirOptions, Or as SandboxFleetAgentSpec, Ot as FileTreeResult, P as CreateGpuLeaseOptions, Pa as BatchEventDataMap, Pi as SecretsManager, Pn as PreviewLinkInfo, Pr as SandboxFleetDriverCapability, Pt as FleetAgentResult, Q as DispatchedSession, Qi as SnapshotDeleteAcknowledgement, Qn as PublicTemplateInfo, Qr as SandboxFleetTraceEvent, Qt as GPU_LEASE_PROVIDER_NAMES, Ra as ALL_BACKEND_TYPES, Ri as SessionBackendCredentials, Rn as ProcessInfo, Rr as SandboxFleetMachine, Rt as FleetDispatchResultBufferOptions, S as BatchTaskResult, Sa as UpdateUserOptions, Si as SandboxTerminalInfo, Sn as ListMessagesOptions, Sr as SandboxDeleteAcknowledgement, St as FileReadError, T as ChunkedUploadResult, Ta as UsageInfo, Ti as SandboxTerminals, Tn as ListSandboxOptions, Tr as SandboxEnvironment, Tt as FileSystem, U as DeleteMatchingSandboxOutcome, Ua as ManagedProcessOptions, Ui as SessionForkOptions, Un as ProcessSpawnOptions, Ur as SandboxFleetManifestMachine, V as CreateSessionOptions, Va as ManagedProcessClient, Vi as SessionExecutionStatus, Vn as ProcessManager, Vr as SandboxFleetMachineSpec, Vt as FleetDriveTurnRequest, W as DeleteMatchingSandboxResult, Wa as ManagedProcessRecord, Wi as SessionInfo, Wn as ProcessStatus, Wr as SandboxFleetOperationsSummary, Wt as FleetMachineId, X as DirectoryPermission, Xi as SessionResultOptions, Xn as ProvisionStatus, Xr as SandboxFleetToken, Xt as ForkIdempotency, Y as DevServerInfo, Yi as SessionMessageInputPart, Yn as ProvisionResult, Yr as SandboxFleetSpend, Yt as ForkCounts, Z as DispatchPromptOptions, Zi as SessionStatus, Zn as ProvisionStep, Zr as SandboxFleetTraceBundle, Zt as ForkLookupOptions, _ as BatchBackend, _a as TeePublicKey, _i as SandboxShapePreset, _n as IntelligenceReportBudget, _r as SSHCredentials, _t as ExecOptions, aa as StartupDiagnostics, ai as SandboxFleetWorkspaceSnapshotResult, an as GpuLease, ar as ReconcileSandboxFleetsResult, at as DurablePlan, b as BatchRunRequest, ba as TokenUsage, bi as SandboxTerminalAttachOptions, bn as IntelligenceReportWindow, br as SandboxCreateOutcome, bt as FileReadBatchOptions, c as AttachGpuLeaseOptions, ca as SubscriptionInfo, ci as SandboxIntelligenceEnvelope, cn as GpuLeaseExecOptions, ct as EffectiveBackend, d as BackendConfig, da as TaskSessionFileChange, di as SandboxRemovalState, dn as GpuLeaseProviderName, dr as RolloutOptions, dt as EgressDenial, ea as SnapshotIdempotency, ei as SandboxFleetTraceOptions, en as GitBranch, er as PublishPublicTemplateOptions, et as DownloadProgress, f as BackendInfo, fa as TaskSessionInfo, fi as SandboxResourceUsage, fn as GpuLeaseStatus, fr as RolloutScorer, ft as EgressManager, g as BackendStatus, ga as TeeAttestationResponse, gi as SandboxShape, gn as IntelligenceReport, gr as SSHCommandDescriptor, gt as ExactProcessSpawnOptions, h as BackendRuntimeConfigUpdate, ha as TeeAttestationReport, hi as SandboxRuntimeHealth, hn as InstalledTool, hr as RolloutTurnPart, ht as EventStreamOptions, ii as SandboxFleetWorkspaceRestoreResult, in as GitStatus, ir as ReconcileSandboxFleetsOptions, it as DriverType, j as CompletedTurnResult, ja as WriteManyOptions, ji as SearchMatch, jn as NonHostAgentDriverConfig, jr as SandboxFleetCostEstimate, jt as FileWriteResult, ka as WriteFileOptions, ki as SandboxTraceOptions, kn as NetworkConfig, kr as SandboxFleetArtifact, kt as FileUsageOptions, l as AttachSandboxFleetMachineOptions, la as TaskSessionChanges, li as SandboxPortBinding, ln as GpuLeaseExecResult, lr as Rollout, lt as EffectiveBackendProfile, m as BackendMcpServerStatus, ma as TeeAttestationOptions, mi as SandboxRuntimeCapabilities, mn as HostAgentRuntimeBackend, mr as RolloutStatus, mt as EnsureDevServerOptions, n as AccessPolicyRule, na as SnapshotOptions, ni as SandboxFleetWorkspace, nn as GitConfig, nr as ReapExpiredSandboxFleetsOptions, nt as DriverConfig, oa as StartupOperation, oi as SandboxIdentity, on as GpuLeaseBilling, or as RenameOptions, ot as DurablePlanDecisionResult, p as BackendManager, pa as TaskSessionProfile, pi as SandboxResources, pn as HostAgentDriverConfig, pr as RolloutStartResult, pt as EgressPolicy, q as DeleteMatchingSandboxesResult, qi as SessionMessage, qn as PromptResult, qr as SandboxFleetPolicy, qt as FleetRunEvent, r as AddUserOptions, ra as SnapshotResult, ri as SandboxFleetWorkspaceReconcileResult, rn as GitDiff, rr as ReapExpiredSandboxFleetsResult, rt as DriverInfo, sa as StorageConfig, si as SandboxInfo, sn as GpuLeaseCommandResult, t as AcceleratorKind, ta as SnapshotInfo, ti as SandboxFleetUsage, tn as GitCommit, tr as PublishPublicTemplateVersionOptions, tt as DriveTurnOptions, u as BackendCapabilities, ua as TaskSessionCommitResult, ui as SandboxPortPreviewLink, un as GpuLeaseManager, ur as RolloutChildResult, ut as EffectiveBackendSource, v as BatchResult, va as TeePublicKeyResponse, vi as SandboxShapesInfo, vn as IntelligenceReportCompareTo, vr as SandboxConfig, vt as ExecResult, w as ChunkedUploadOptions, wa as UploadProgress, wi as SandboxTerminalRequestOptions, wn as ListSandboxFleetOptions, wr as SandboxDeleteOutcome, wt as FileRenameResult, x as BatchTask, xa as TurnDriveResult, xi as SandboxTerminalCreateOptions, xr as SandboxCreateReceipt, xt as FileReadBatchResult, y as BatchRunOptions, ya as TokenRefreshHandler, yi as SandboxStatus, yn as IntelligenceReportSubjectType, yr as SandboxConnection, yt as FileInfo, z as CreateSandboxFleetWithCoordinatorOptions, za as BackendType, zi as SessionEventStreamOptions, zn as ProcessListOptions, zr as SandboxFleetMachineMeteredUsage, zt as FleetDispatchStreamOptions } from "./types-B_rwXChV.js";
|
|
6
|
+
import { A as isBackendRegistryInteractionKind, C as BackendRegistryEntry, D as backendRegistryEntrySchema, E as backendRegistryCapabilitiesSchema, M as parseBackendRegistryResponseBody, O as backendRegistryInteractionKindSchema, S as BackendRegistryCapabilities, T as BackendRegistryResponse, _ as SandboxFleet, a as Team, b as ParsedSSEEvent, c as SessionBroadcastEvent, d as HostedInstance, f as InstanceProfile, g as InstancesClient, h as InstanceStart, i as Sandbox, j as parseBackendRegistryResponse, k as backendRegistryResponseSchema, l as SessionBroadcastResult, m as InstanceRestartingError, n as IntelligenceClient, o as TeamInvitation, p as InstanceRecord, r as InviteTeamMemberOptions, s as TeamMember, t as CreateTeamOptions, u as EnsureInstanceOptions, v as SandboxFleetClient, w as BackendRegistryInteractionKind, x as parseSSEStream, y as ParseSSEStreamOptions } from "./client-xDfwI4yj.js";
|
|
7
|
+
import { _ as TimeoutError, a as FileWriteConflictError, c as NotFoundError, d as ResumeEnvRequiredError, f as SandboxError, g as StateError, h as ServerError, i as EgressProxyRecoveryError, l as PartialFailureError, m as SandboxFailureDetail, n as CapabilityError, o as KeyBudgetExhaustedError, p as SandboxErrorJson, r as EdgeNotReadyError, s as NetworkError, t as AuthError, u as QuotaError, v as ValidationError } from "./errors-C6dll8Qf.js";
|
|
8
|
+
import { d as AnyTokenPayload, h as IssueCollaborationTokenOptions, m as CollaborationTokenPayload, p as CollaborationAccess } from "./index-BSCz2Q0v.js";
|
|
9
|
+
import { _ as CollaborationTransportConfig, a as CollaborationClient, c as CollaborationClientConfig, d as CollaborationDocumentRef, f as CollaborationFileBridgeOptions, g as CollaborationTokenRefreshResponse, h as CollaborationTokenRefreshRequest, i as parseCollaborationDocumentId, l as CollaborationDocumentAdapter, m as CollaborationPermissions, n as buildCollaborationDocumentId, o as CollaborationBootstrapRequest, p as CollaborationFileEvent, r as normalizeCollaborationPath, s as CollaborationBootstrapResponse, t as CollaborationFileBridge, u as CollaborationDocumentChange, v as SaveCollaborationSnapshotRequest, y as SaveCollaborationSnapshotResponse } from "./index-BKhRnV0i.js";
|
|
10
|
+
import { a as deriveAgentRunOutcome, i as deriveAgentResultOutcome, n as AgentRunOutcomeTracker, r as createAgentRunOutcomeTracker, t as AgentRunOutcome } from "./agent-run-outcome-1MxGwnx3.js";
|
|
11
|
+
import { o as TangleSandboxClientConfig, t as TangleSandboxClient } from "./index-DFXcrGG6.js";
|
|
12
12
|
import * as _$_tangle_network_agent_interface0 from "@tangle-network/agent-interface";
|
|
13
13
|
import { AgentProfile, AgentProfile as AgentProfile$1, AgentProfileCapabilities, AgentProfileConfidential, AgentProfileConfigValue, AgentProfileConnection, AgentProfileFileMount, AgentProfileFileMount as AgentProfileFileMount$1, AgentProfileMcpServer, AgentProfileModelHints, AgentProfilePermissionValue, AgentProfilePrompt, AgentProfileResourceRef, AgentProfileResources, AgentProfileSecurityPolicy, AgentProfileValidationIssue, AgentProfileValidationResult, AgentRunCancellationAcknowledgement, AgentRunCancellationRequest, AgentSubagentProfile, Capability, SANDBOX_SIZE_PRESET_NAMES, SandboxSizePreset } from "@tangle-network/agent-interface";
|
|
14
14
|
import { z } from "zod";
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { a as
|
|
5
|
-
import {
|
|
1
|
+
import { i as parseBackendType, r as backendTypeSchema, t as ALL_BACKEND_TYPES } from "./backend-types-C7b_Gpa0.js";
|
|
2
|
+
import { C as normalizeRuntimeBackendConfig, E as deriveAgentRunOutcome, T as deriveAgentResultOutcome, w as createAgentRunOutcomeTracker, y as parseSSEStream } from "./runtime-api-BZhd0M3Z.js";
|
|
3
|
+
import { a as FileWriteConflictError, c as NotFoundError, d as ResumeEnvRequiredError, f as SandboxError, g as ValidationError, h as TimeoutError, i as EgressProxyRecoveryError, l as PartialFailureError, m as StateError, n as CapabilityError, o as KeyBudgetExhaustedError, p as ServerError, r as EdgeNotReadyError, s as NetworkError, t as AuthError, u as QuotaError } from "./errors-CKl_BSlD.js";
|
|
4
|
+
import { _ as backendRegistryInteractionKindSchema, a as splitInlineProfileSkills, b as parseBackendRegistryResponse, c as InstanceRestartingError, d as SandboxFleetClient, f as runtimeWorkspaceCwdSchema, g as backendRegistryEntrySchema, h as backendRegistryCapabilitiesSchema, i as splitInlineProfileFileMounts, l as InstancesClient, m as validateBatchRunRequest, n as Sandbox, o as validateDeferredProfileFileMounts, p as createBatchResultAccumulator, r as materializeProfileFileMounts, s as HostedInstance, t as IntelligenceClient, u as SandboxFleet, v as backendRegistryResponseSchema, x as parseBackendRegistryResponseBody, y as isBackendRegistryInteractionKind } from "./client-DA3Pwd3t.js";
|
|
5
|
+
import { a as INTERACTIVE_CONTROL_CLEANUP_TIMEOUT_MS, c as createInteractiveControlHolderId, l as interactiveSessionIdentityDigest, n as browserInteractiveControlHolderId, o as InteractiveSessionControlController, t as BrowserInteractiveSessionControlController } from "./browser-interactive-control-controller-DRBQ-jf0.js";
|
|
6
|
+
import { C as collectAgentFinalMessageText, D as ManagedProcessClient, E as isToolBearingEvent, M as exportTraceBundle, N as otelTraceIdForTangleTrace, P as toOtelJson, S as applySandboxEventText, T as getSandboxEventText, _ as InteractiveSessionController, b as TERMINAL_WS_ECHO_SUBPROTOCOL, c as MAX_EGRESS_DENIALS_LIMIT, d as InteractiveSessionHandle, f as agentInteractiveSessionPromptRequestDigest, g as BrowserInteractiveSessionController, h as createInteractiveTerminalSession, j as buildTraceExportPayload, l as SandboxTaskSession, m as createInteractiveTerminalCapture, o as WorkspaceImages, p as InteractiveTerminalFrameLog, s as GPU_LEASE_PROVIDER_NAMES, t as SandboxInstance, u as SandboxSession, v as TerminalStream, w as collectAgentResponseText, y as TerminalStreamError } from "./sandbox-D8HtCO-L.js";
|
|
6
7
|
import { LinesClient, SandboxLines, lineInstanceKey, profileChannelReference } from "./lines.js";
|
|
7
|
-
import { a as CollaborationClient, i as parseCollaborationDocumentId, n as buildCollaborationDocumentId, r as normalizeCollaborationPath, t as CollaborationFileBridge } from "./collaboration-
|
|
8
|
-
import { i as parseLineApplicationResult, n as LINE_APPLICATION_REQUEST_MAX_BYTES, r as parseLineApplicationRequest, t as LINE_APPLICATION_REPLY_MAX_CHARS } from "./line-application-
|
|
9
|
-
import { t as TangleSandboxClient } from "./tangle-
|
|
8
|
+
import { a as CollaborationClient, i as parseCollaborationDocumentId, n as buildCollaborationDocumentId, r as normalizeCollaborationPath, t as CollaborationFileBridge } from "./collaboration-d8Xcvel7.js";
|
|
9
|
+
import { i as parseLineApplicationResult, n as LINE_APPLICATION_REQUEST_MAX_BYTES, r as parseLineApplicationRequest, t as LINE_APPLICATION_REPLY_MAX_CHARS } from "./line-application-9k30rhb2.js";
|
|
10
|
+
import { t as TangleSandboxClient } from "./tangle-CYGQg5Bf.js";
|
|
10
11
|
import { SANDBOX_SIZE_PRESET_NAMES, agentProfileConfidentialSchema, agentProfileSchema } from "@tangle-network/agent-interface";
|
|
11
12
|
import { z } from "zod";
|
|
12
13
|
//#region src/confidential.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as parseErrorResponse, h as TimeoutError, s as NetworkError } from "../errors-
|
|
1
|
+
import { _ as parseErrorResponse, h as TimeoutError, s as NetworkError } from "../errors-CKl_BSlD.js";
|
|
2
2
|
//#region src/intelligence/index.ts
|
|
3
3
|
/**
|
|
4
4
|
* `@tangle-network/sandbox/intelligence` — browser-safe typed client for the
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as InteractiveSessionIdentity, n as BrowserInteractiveSessionControlControllerOptions, r as browserInteractiveControlHolderId, t as BrowserInteractiveSessionControlController } from "./browser-interactive-control-controller-
|
|
1
|
+
import { c as InteractiveSessionIdentity, n as BrowserInteractiveSessionControlControllerOptions, r as browserInteractiveControlHolderId, t as BrowserInteractiveSessionControlController } from "./browser-interactive-control-controller-BzR8sFjo.js";
|
|
2
2
|
export { BrowserInteractiveSessionControlController, type BrowserInteractiveSessionControlControllerOptions, type InteractiveSessionIdentity, browserInteractiveControlHolderId };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as browserInteractiveControlHolderId, t as BrowserInteractiveSessionControlController } from "./browser-interactive-control-controller-
|
|
1
|
+
import { n as browserInteractiveControlHolderId, t as BrowserInteractiveSessionControlController } from "./browser-interactive-control-controller-DRBQ-jf0.js";
|
|
2
2
|
export { BrowserInteractiveSessionControlController, browserInteractiveControlHolderId };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as CreateSandboxOptions, d as BackendConfig } from "./types-
|
|
1
|
+
import { B as CreateSandboxOptions, d as BackendConfig } from "./types-B_rwXChV.js";
|
|
2
2
|
|
|
3
3
|
//#region src/line-application.d.ts
|
|
4
4
|
/** Bounded callback request bytes after canonicalization, including JSON framing. */
|
package/dist/lines.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as LinesClient, C as LineRole, D as LineTransport, E as LineThread, M as SandboxLines, N as lineInstanceKey, O as LineVoice, P as profileChannelReference, S as LineRespondView, T as LineSendReceipt, _ as LineNumberInventory, a as LineAttachOptions, b as LineReplyGate, c as LineFromConnectionInput, d as LineLimits, f as LineMember, g as LineMessage, h as LineMemberSpec, i as LineAllowanceSubject, j as LinesHttpClient, k as LineVoiceOptions, l as LineInstanceAttachOptions, m as LineMemberPatch, n as LineAgentRolePolicy, o as LineAttachment, p as LineMemberInstance, r as LineAllowance, s as LineExecutionKey, t as Line, u as LineInstanceCreate, v as LineProvider, w as LineSendInput, x as LineRespondAgent, y as LineReminderPreferences } from "./lines-
|
|
1
|
+
import { A as LinesClient, C as LineRole, D as LineTransport, E as LineThread, M as SandboxLines, N as lineInstanceKey, O as LineVoice, P as profileChannelReference, S as LineRespondView, T as LineSendReceipt, _ as LineNumberInventory, a as LineAttachOptions, b as LineReplyGate, c as LineFromConnectionInput, d as LineLimits, f as LineMember, g as LineMessage, h as LineMemberSpec, i as LineAllowanceSubject, j as LinesHttpClient, k as LineVoiceOptions, l as LineInstanceAttachOptions, m as LineMemberPatch, n as LineAgentRolePolicy, o as LineAttachment, p as LineMemberInstance, r as LineAllowance, s as LineExecutionKey, t as Line, u as LineInstanceCreate, v as LineProvider, w as LineSendInput, x as LineRespondAgent, y as LineReminderPreferences } from "./lines-DuPzlFrJ.js";
|
|
2
2
|
export { Line, LineAgentRolePolicy, LineAllowance, LineAllowanceSubject, LineAttachOptions, LineAttachment, LineExecutionKey, LineFromConnectionInput, LineInstanceAttachOptions, LineInstanceCreate, LineLimits, LineMember, LineMemberInstance, LineMemberPatch, LineMemberSpec, LineMessage, LineNumberInventory, LineProvider, LineReminderPreferences, LineReplyGate, LineRespondAgent, LineRespondView, LineRole, LineSendInput, LineSendReceipt, LineThread, LineTransport, LineVoice, LineVoiceOptions, LinesClient, LinesHttpClient, SandboxLines, lineInstanceKey, profileChannelReference };
|
package/dist/lines.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as AUTH_BUNDLE_PATHS } from "./cli-auth-bundle-
|
|
1
|
+
import { t as AUTH_BUNDLE_PATHS } from "./cli-auth-bundle-CzmAaefZ.js";
|
|
2
2
|
import { existsSync, readFileSync } from "node:fs";
|
|
3
3
|
import { homedir } from "node:os";
|
|
4
4
|
import { join } from "node:path";
|