@tangle-network/sandbox 0.60.69 → 0.60.74
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-run-outcome-BBk2-5vp.d.ts → agent-run-outcome-eZF8RuUN.d.ts} +1 -1
- package/dist/auth/index.d.ts +1 -1
- package/dist/auth/index.js +1 -1
- package/dist/backend-types-D6bYbvMB.js +42 -0
- package/dist/{browser-interactive-control-controller-JUW3gOGH.d.ts → browser-interactive-control-controller-rpTbyvAS.d.ts} +1 -1
- package/dist/{chunked-upload-BklCn3Li.js → chunked-upload-CDrLMO8N.js} +1 -1
- package/dist/{chunked-upload-file-Cp-iWsWN.js → chunked-upload-file-BwbqHWUX.js} +1 -1
- package/dist/{cli-auth-bundle-D61iX68d.js → cli-auth-bundle-cSJjPeFF.js} +2 -2
- package/dist/{client-DVouBFPR.d.ts → client-BujziOIc.d.ts} +10 -6
- package/dist/{client-DUDqUYDG.js → client-C7Y6waVg.js} +20 -9
- package/dist/collaboration/index.d.ts +1 -1
- package/dist/collaboration/index.js +1 -1
- package/dist/{collaboration-B2g1j2ey.js → collaboration-CTbq2OYh.js} +1 -1
- package/dist/core.d.ts +6 -6
- package/dist/core.js +3 -3
- package/dist/{errors-5j_Hlkm-.d.ts → errors-Bj5DL2ge.d.ts} +61 -2
- package/dist/{errors-iWIsey1D.js → errors-C8YcR1BL.js} +31 -1
- package/dist/{index-DaJrtipt.d.ts → index-CP9a77KP.d.ts} +2 -2
- package/dist/index.d.ts +14 -15
- package/dist/index.js +9 -9
- package/dist/intelligence/index.js +1 -1
- package/dist/interactive-control.d.ts +1 -1
- package/dist/{interactive-controller-DaYmUCO_.js → interactive-controller-BFbCkMq4.js} +213 -21
- package/dist/{lines-D07bn-mu.d.ts → lines-_rRdwxof.d.ts} +1 -1
- package/dist/lines.d.ts +1 -1
- package/dist/lines.js +1 -1
- package/dist/{local-cli-auth-t8KUbrfI.js → local-cli-auth-CBV7Vjk5.js} +1 -1
- package/dist/{managed-process-RMyVq_du.d.ts → managed-process-CPHeQONO.d.ts} +1 -1
- package/dist/{preview-dIOd13_U.d.ts → preview-n41aOXde.d.ts} +3 -3
- package/dist/runtime.d.ts +5 -6
- package/dist/runtime.js +3 -3
- package/dist/{sandbox-Dg0WI1ZF.js → sandbox-DGoQMthD.js} +678 -69
- package/dist/{sandbox-C7wOeFZB.d.ts → sandbox-DfSqEr3f.d.ts} +70 -17
- package/dist/tangle/index.d.ts +1 -1
- package/dist/tangle/index.js +1 -1
- package/dist/{tangle-CaY9_VGA.js → tangle-vyeLQFFg.js} +2 -2
- package/dist/{terminal-stream-CV1pMSKC.d.ts → terminal-stream-jdYomM1m.d.ts} +123 -4
- package/dist/{types-BLCY5T4s.d.ts → types-Mi83KD0D.d.ts} +155 -21
- package/package.json +5 -5
- package/dist/backend-types-C7b_Gpa0.js +0 -59
- package/dist/interactive-controller-DNbLzamS.d.ts +0 -40
- /package/dist/{index-BgmgfYZZ.d.ts → index-DO7GVpk_.d.ts} +0 -0
- /package/dist/{index-DHuHjNie.d.ts → index-DZ27pdB8.d.ts} +0 -0
package/dist/agent/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { D as CodeExecutionResult, E as CodeExecutionOptions, O as CodeLanguage,
|
|
3
|
-
import { i as Sandbox } from "../client-
|
|
4
|
-
import { u as PreviewAuthorizer } from "../preview-
|
|
1
|
+
import { g as SandboxSession, m as SandboxTaskSession, n as SandboxInstance } from "../sandbox-DfSqEr3f.js";
|
|
2
|
+
import { $r as SandboxFleetParent, D as CodeExecutionResult, E as CodeExecutionOptions, O as CodeLanguage, d as BackendConfig, ia as SessionListOptions, k as CodeResultPart, na as SessionInfo, po as BackendType } from "../types-Mi83KD0D.js";
|
|
3
|
+
import { i as Sandbox } from "../client-BujziOIc.js";
|
|
4
|
+
import { u as PreviewAuthorizer } from "../preview-n41aOXde.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
1
|
import { a as TOOL_SPECS, i as ALL_TOOL_SPECS, o as serializeToolResult, r as bindToolSpecs, t as createMcpServer } from "../mcp-local-DjryqUiY.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { n as Sandbox } from "../client-
|
|
5
|
-
import { t as SandboxInstance } from "../sandbox-
|
|
2
|
+
import { D as assertCurrentBackendType } from "../interactive-controller-BFbCkMq4.js";
|
|
3
|
+
import { g as StateError, u as NotFoundError, y as ValidationError } from "../errors-C8YcR1BL.js";
|
|
4
|
+
import { n as Sandbox } from "../client-C7Y6waVg.js";
|
|
5
|
+
import { t as SandboxInstance } from "../sandbox-DGoQMthD.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-n41aOXde.js";
|
|
2
2
|
export { AgentPreviewError, AgentPreviewOptions, PREVIEW_MCP_ALIAS, PREVIEW_TOOLS, PreviewAuthorizationRequest, PreviewAuthorizer, PreviewExecutionContext, PreviewTool, PublishAgentPreviewOptions, assertPreviewId, ensureAgentPreview, getAgentPreview, listAgentPreviews, previewOperationTool, previewToolsForProfile, publishAgentPreview, removeAgentPreview, resolveSelfSandbox, servePreviewMcp };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Pr as SandboxEvent, a as AgentQuestionRequest, ct as DurablePlanSnapshot, i as AgentApprovalRequirement, o as AgentRunStatus, s as AgentToolInvocation } from "./types-Mi83KD0D.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,3 +1,3 @@
|
|
|
1
1
|
import { i as materializeCliAuthBundle, n as assertCliAuthReferenceSupported, r as cliAuthReferenceSchema, t as CliAuthReference } from "../cli-auth-bundle-ODe06Ts7.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-
|
|
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-DO7GVpk_.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,4 +1,4 @@
|
|
|
1
|
-
import { i as materializeCliAuthBundle, n as assertCliAuthReferenceSupported, r as cliAuthReferenceSchema } from "../cli-auth-bundle-
|
|
1
|
+
import { i as materializeCliAuthBundle, n as assertCliAuthReferenceSupported, r as cliAuthReferenceSchema } from "../cli-auth-bundle-cSJjPeFF.js";
|
|
2
2
|
//#region src/auth/tokens.ts
|
|
3
3
|
const textEncoder = new TextEncoder();
|
|
4
4
|
const textDecoder = new TextDecoder();
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
//#region ../../../packages/runtime-contracts/dist/backend-types.js
|
|
3
|
+
/**
|
|
4
|
+
* This distribution's backend vocabulary, declared positively. The shared
|
|
5
|
+
* Interface vocabulary also contains historical and differently hosted harnesses;
|
|
6
|
+
* knowing one upstream must not require installing it here or make this module
|
|
7
|
+
* throw at import time. Keep old wire identities readable when retiring execution.
|
|
8
|
+
*
|
|
9
|
+
* Gemini is not a direct Sandbox backend; it is available only through a backing
|
|
10
|
+
* transport. Adding it upstream never implicitly makes it dispatchable here.
|
|
11
|
+
* The spec/adapter composition must still prove every backend it actually enables.
|
|
12
|
+
*/
|
|
13
|
+
const BACKEND_TYPE = {
|
|
14
|
+
OPENCODE: "opencode",
|
|
15
|
+
CLAUDE_CODE: "claude-code",
|
|
16
|
+
KIMI_CODE: "kimi-code",
|
|
17
|
+
CODEX: "codex",
|
|
18
|
+
AMP: "amp",
|
|
19
|
+
FACTORY_DROIDS: "factory-droids",
|
|
20
|
+
PI: "pi",
|
|
21
|
+
PRIME: "prime",
|
|
22
|
+
HERMES: "hermes",
|
|
23
|
+
FORGE: "forge",
|
|
24
|
+
OPENCLAW: "openclaw",
|
|
25
|
+
NANOCLAW: "nanoclaw",
|
|
26
|
+
ACP: "acp",
|
|
27
|
+
CURSOR: "cursor",
|
|
28
|
+
CLI_BASE: "cli-base"
|
|
29
|
+
};
|
|
30
|
+
/** Stable declaration order; registry tests check the shipped spec composition. */
|
|
31
|
+
const ALL_BACKEND_TYPES = Object.values(BACKEND_TYPE);
|
|
32
|
+
const backendTypeSchema = z.enum(ALL_BACKEND_TYPES);
|
|
33
|
+
const BACKEND_TYPE_SET = new Set(ALL_BACKEND_TYPES);
|
|
34
|
+
function isBackendType(value) {
|
|
35
|
+
return BACKEND_TYPE_SET.has(value);
|
|
36
|
+
}
|
|
37
|
+
function parseBackendType(value) {
|
|
38
|
+
if (!isBackendType(value)) throw new Error(`Unknown backend type "${value}". Expected one of: ${ALL_BACKEND_TYPES.join(", ")}`);
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
//#endregion
|
|
42
|
+
export { parseBackendType as i, BACKEND_TYPE as n, backendTypeSchema as r, ALL_BACKEND_TYPES as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { o as TerminalStreamHandlers } from "./terminal-stream-jdYomM1m.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 {
|
|
1
|
+
import { b as parseErrorResponse, f as QuotaError, h as ServerError, l as NetworkError, m as SandboxError, v as TimeoutError } from "./errors-C8YcR1BL.js";
|
|
2
2
|
//#region ../../../packages/runtime-contracts/dist/file-limits.js
|
|
3
3
|
const MEBIBYTE$1 = 1024 * 1024;
|
|
4
4
|
10 * MEBIBYTE$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as planCompression, c as FILE_UPLOAD_SESSION_MAX_BYTES, i as partCount, n as commitSession, o as putPart, r as initUploadSession, t as abortSession } from "./chunked-upload-
|
|
1
|
+
import { a as planCompression, c as FILE_UPLOAD_SESSION_MAX_BYTES, i as partCount, n as commitSession, o as putPart, r as initUploadSession, t as abortSession } from "./chunked-upload-CDrLMO8N.js";
|
|
2
2
|
import { createHash } from "node:crypto";
|
|
3
3
|
import { open } from "node:fs/promises";
|
|
4
4
|
//#region src/lib/chunked-upload-file.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as BACKEND_TYPE } from "./backend-types-
|
|
2
|
-
import { agentProfileJsonSchema, agentProfileSchema as agentProfileSchema$1 } from "@tangle-network/agent-interface";
|
|
1
|
+
import { n as BACKEND_TYPE } from "./backend-types-D6bYbvMB.js";
|
|
3
2
|
import { z } from "zod";
|
|
3
|
+
import { agentProfileJsonSchema, agentProfileSchema as agentProfileSchema$1 } from "@tangle-network/agent-interface";
|
|
4
4
|
import "@tangle-network/agent-interface/harness-capabilities";
|
|
5
5
|
//#region ../../../packages/cli-agent-registry/dist/native-session-contracts-BgDTDx5F.mjs
|
|
6
6
|
/** The CLI version infra/nix ships for each registered harness. */
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { $n as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { AgentInteractiveSessionRef, AgentProfile } from "@tangle-network/agent-interface";
|
|
1
|
+
import { c as TraceExportResult, l as TraceExportSink, n as SandboxInstance } from "./sandbox-DfSqEr3f.js";
|
|
2
|
+
import { $n as PromptInputPart, $r as SandboxFleetParent, Ai as SandboxShapesInfo, B as CreateSandboxOptions, Ba as UsageInfo, Bt as FleetDispatchStreamOptions, Ca as SubscriptionInfo, Dn as ListSandboxOptions, Dr as SandboxConfig, En as ListSandboxFleetOptions, F as CreateIntelligenceReportOptions, Fr as SandboxFleetAgent, Ft as FleetAgentResult, G as DeleteMatchingSandboxesFilter, Gt as FleetMachineId, Hr as SandboxFleetDriverCapability, Ht as FleetDriveTurnRequest, I as CreateRequestOptions, Jr as SandboxFleetMachineRecord, Jt as FleetRunEvent, K as DeleteMatchingSandboxesOptions, Ki as SecretsManager, Kt as FleetPromptDispatchOptions, L as CreateSandboxFleetOptions, Lr as SandboxFleetArtifact, Lt as FleetDispatchCancelResult, M as ConversationTurnOptions, N as ConversationTurnResult, Nr as SandboxEnvironment, Nt as FleetAgentId, Pa as TokenRefreshHandler, Qr as SandboxFleetOperationsSummary, R as CreateSandboxFleetTokenOptions, Rr as SandboxFleetArtifactSpec, Rt as FleetDispatchResultBuffer, Sn as IntelligenceReportWindow, Ti as SandboxRunGeneration, Ut as FleetExecDispatchOptions, Vr as SandboxFleetDispatchResponse, Vt as FleetDriveTurnOutcome, Wr as SandboxFleetInfo, Wt as FleetExecDispatchResult, Xr as SandboxFleetManifest, Yr as SandboxFleetMachineSpec, Yt as FleetRunOptions, ai as SandboxFleetTraceBundle, b as BatchRunRequest, bn as IntelligenceReportCompareTo, ci as SandboxFleetTraceOptions, co as BatchEvent, cr as PublicTemplateVersionInfo, d as BackendConfig, di as SandboxFleetWorkspaceReconcileResult, dr as ReapExpiredSandboxFleetsOptions, er as PromptOptions, fi as SandboxFleetWorkspaceRestoreResult, fr as ReapExpiredSandboxFleetsResult, gn as HttpClient, hi as SandboxInfo, ii as SandboxFleetToken, l as AttachSandboxFleetMachineOptions, li as SandboxFleetUsage, lr as PublishPublicTemplateOptions, mi as SandboxIdentity, mr as ReconcileSandboxFleetsResult, pi as SandboxFleetWorkspaceSnapshotResult, pr as ReconcileSandboxFleetsOptions, q as DeleteMatchingSandboxesResult, qa as SdkTimingHook, qt as FleetPromptDispatchResult, ri as SandboxFleetSpend, sr as PublicTemplateInfo, ti as SandboxFleetPolicy, tr as PromptResult, ur as PublishPublicTemplateVersionOptions, v as BatchResult, va as SshKeysManager, vn as IntelligenceReport, vt as ExecOptions, y as BatchRunOptions, yn as IntelligenceReportBudget, yt as ExecResult, z as CreateSandboxFleetWithCoordinatorOptions, zr as SandboxFleetCostEstimate, zt as FleetDispatchResultBufferOptions } from "./types-Mi83KD0D.js";
|
|
3
|
+
import { d as MintInteractiveSessionTokenOptions, p as ScopedToken } from "./terminal-stream-jdYomM1m.js";
|
|
4
|
+
import { p as SandboxError } from "./errors-Bj5DL2ge.js";
|
|
5
|
+
import { L as LinesClient } from "./lines-_rRdwxof.js";
|
|
7
6
|
import { z } from "zod";
|
|
7
|
+
import { AgentInteractiveSessionRef, AgentProfile } from "@tangle-network/agent-interface";
|
|
8
8
|
|
|
9
9
|
//#region src/backend-registry.d.ts
|
|
10
10
|
/** Interaction kinds a backend can originate when the caller enables them. */
|
|
@@ -665,6 +665,8 @@ declare class Sandbox implements HttpClient, ScopedTokenHttpClient {
|
|
|
665
665
|
private readonly apiKey;
|
|
666
666
|
private readonly timeoutMs;
|
|
667
667
|
private readonly trustLocalCliAuth;
|
|
668
|
+
/** Receives the SDK's timing spans; see `SandboxConfig.onTiming`. */
|
|
669
|
+
readonly onTiming: SdkTimingHook | undefined;
|
|
668
670
|
private _secrets;
|
|
669
671
|
private _sshKeys;
|
|
670
672
|
private _fleets;
|
|
@@ -714,6 +716,8 @@ declare class Sandbox implements HttpClient, ScopedTokenHttpClient {
|
|
|
714
716
|
run(options: RunOptions, wait?: RunWaitOptions): Promise<RunRecord>;
|
|
715
717
|
get intelligence(): IntelligenceClient;
|
|
716
718
|
getApiKey(): string;
|
|
719
|
+
/** The Sandbox API this client talks to, without a trailing slash. */
|
|
720
|
+
getBaseUrl(): string;
|
|
717
721
|
/** A client with this one's settings that authenticates with `apiKey`. */
|
|
718
722
|
withApiKey(apiKey: string): Sandbox;
|
|
719
723
|
/** Fetch a Platform API path (e.g. the agent-profile catalog) with this key. */
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { r as backendTypeSchema } from "./backend-types-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { r as backendTypeSchema } from "./backend-types-D6bYbvMB.js";
|
|
2
|
+
import { A as normalizeRuntimeBackendConfig, C as encodePromptForWire, D as assertCurrentBackendType, E as applyRequestedModel, N as withProfileHarness, O as foldModelRoutingFields, T as parseSSEStream, c as requestInteractiveSessionToken } from "./interactive-controller-BFbCkMq4.js";
|
|
3
|
+
import { S as readResponseJson, b as parseErrorResponse, c as NON_RETRYABLE_CREATE_QUOTA_REASONS, d as PartialFailureError, f as QuotaError, h as ServerError, l as NetworkError, m as SandboxError, t as AuthError, u as NotFoundError, v as TimeoutError, x as parseResponseError, y as ValidationError } from "./errors-C8YcR1BL.js";
|
|
4
4
|
import { f as combineAbortSignals } from "./browser-interactive-control-controller-BJf0P_J4.js";
|
|
5
|
-
import { A as
|
|
5
|
+
import { A as rewrapResponse, D as validateDeferredProfileFileMounts, E as splitInlineProfileSkills, N as exportTraceBundle, O as normalizeConnection, T as splitInlineProfileFileMounts, a as normalizeStartupDiagnostics, i as normalizeSandboxCreateReceipt, j as fetchWithKeepAlive, k as normalizeSandboxShape, n as createSandboxInstanceFromResponse, r as normalizeCaptureProof } from "./sandbox-DGoQMthD.js";
|
|
6
6
|
import { LinesClient } from "./lines.js";
|
|
7
|
-
import { agentProfileSchema } from "@tangle-network/agent-interface";
|
|
8
7
|
import { z } from "zod";
|
|
8
|
+
import { agentProfileSchema } from "@tangle-network/agent-interface";
|
|
9
9
|
//#region src/backend-registry.ts
|
|
10
10
|
/** Interaction kinds a backend can originate when the caller enables them. */
|
|
11
11
|
const backendRegistryInteractionKindSchema = z.enum([
|
|
@@ -3336,11 +3336,11 @@ function withRequestContextHeaders(response, path, method, body = response.body)
|
|
|
3336
3336
|
return rewrapResponse(response, headers, body);
|
|
3337
3337
|
}
|
|
3338
3338
|
async function resolveLocalCliAuthFiles(backendType) {
|
|
3339
|
-
const { discoverLocalCliAuthFiles } = await import("./local-cli-auth-
|
|
3339
|
+
const { discoverLocalCliAuthFiles } = await import("./local-cli-auth-CBV7Vjk5.js");
|
|
3340
3340
|
return discoverLocalCliAuthFiles(backendType);
|
|
3341
3341
|
}
|
|
3342
3342
|
async function describeLocalCliAuthExpectation(backendType) {
|
|
3343
|
-
const { describeLocalCliAuthExpectation: describe } = await import("./local-cli-auth-
|
|
3343
|
+
const { describeLocalCliAuthExpectation: describe } = await import("./local-cli-auth-CBV7Vjk5.js");
|
|
3344
3344
|
return describe(backendType);
|
|
3345
3345
|
}
|
|
3346
3346
|
/**
|
|
@@ -3411,6 +3411,8 @@ var Sandbox = class Sandbox {
|
|
|
3411
3411
|
apiKey;
|
|
3412
3412
|
timeoutMs;
|
|
3413
3413
|
trustLocalCliAuth;
|
|
3414
|
+
/** Receives the SDK's timing spans; see `SandboxConfig.onTiming`. */
|
|
3415
|
+
onTiming;
|
|
3414
3416
|
_secrets = null;
|
|
3415
3417
|
_sshKeys = null;
|
|
3416
3418
|
_fleets = null;
|
|
@@ -3427,6 +3429,7 @@ var Sandbox = class Sandbox {
|
|
|
3427
3429
|
this.apiKey = config.apiKey;
|
|
3428
3430
|
this.timeoutMs = config.timeoutMs ?? DEFAULT_TIMEOUT_MS;
|
|
3429
3431
|
this.trustLocalCliAuth = config.trustLocalCliAuth === true;
|
|
3432
|
+
this.onTiming = config.onTiming;
|
|
3430
3433
|
}
|
|
3431
3434
|
/**
|
|
3432
3435
|
* Fleet operations for agent-managed groups of sandboxes.
|
|
@@ -3488,6 +3491,10 @@ var Sandbox = class Sandbox {
|
|
|
3488
3491
|
getApiKey() {
|
|
3489
3492
|
return this.apiKey;
|
|
3490
3493
|
}
|
|
3494
|
+
/** The Sandbox API this client talks to, without a trailing slash. */
|
|
3495
|
+
getBaseUrl() {
|
|
3496
|
+
return this.baseUrl;
|
|
3497
|
+
}
|
|
3491
3498
|
/** A client with this one's settings that authenticates with `apiKey`. */
|
|
3492
3499
|
withApiKey(apiKey) {
|
|
3493
3500
|
return new Sandbox({
|
|
@@ -3495,7 +3502,8 @@ var Sandbox = class Sandbox {
|
|
|
3495
3502
|
baseUrl: this.baseUrl,
|
|
3496
3503
|
platformUrl: this.platformUrl,
|
|
3497
3504
|
timeoutMs: this.timeoutMs,
|
|
3498
|
-
trustLocalCliAuth: this.trustLocalCliAuth
|
|
3505
|
+
trustLocalCliAuth: this.trustLocalCliAuth,
|
|
3506
|
+
onTiming: this.onTiming
|
|
3499
3507
|
});
|
|
3500
3508
|
}
|
|
3501
3509
|
/** Fetch a Platform API path (e.g. the agent-profile catalog) with this key. */
|
|
@@ -4283,10 +4291,13 @@ var Sandbox = class Sandbox {
|
|
|
4283
4291
|
headers.set("Authorization", `Bearer ${this.apiKey}`);
|
|
4284
4292
|
const isFormDataBody = typeof FormData !== "undefined" && options?.body instanceof FormData;
|
|
4285
4293
|
if (!headers.has("Content-Type") && !isFormDataBody) headers.set("Content-Type", "application/json");
|
|
4286
|
-
const response = await
|
|
4294
|
+
const response = await fetchWithKeepAlive(url, {
|
|
4287
4295
|
...options,
|
|
4288
4296
|
headers,
|
|
4289
4297
|
signal: requestSignal
|
|
4298
|
+
}, {
|
|
4299
|
+
onTiming: this.onTiming,
|
|
4300
|
+
path
|
|
4290
4301
|
});
|
|
4291
4302
|
const mediaType = response.headers.get("content-type")?.split(";", 1)[0]?.trim().toLowerCase();
|
|
4292
4303
|
if (response.body !== null && (!response.ok || mediaType === "application/json" || mediaType?.endsWith("+json") === true)) {
|
|
@@ -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-DZ27pdB8.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-CTbq2OYh.js";
|
|
2
2
|
export { CollaborationClient, CollaborationFileBridge, buildCollaborationDocumentId, normalizeCollaborationPath, parseCollaborationDocumentId };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as parseErrorResponse, l as NetworkError, v as TimeoutError } from "./errors-C8YcR1BL.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,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { A as
|
|
5
|
-
import {
|
|
6
|
-
import { t as ManagedProcessClient } from "./managed-process-
|
|
1
|
+
import { _ as ProfileFileDeliveryReport, a as WorkspaceImagePublishResult, i as WorkspaceImagePublishRequestOptions, n as SandboxInstance, o as WorkspaceImages, r as WorkspaceImagePublishInput } from "./sandbox-DfSqEr3f.js";
|
|
2
|
+
import { $n as PromptInputPart, An as ManagedProcessOptions, B as CreateSandboxOptions, Dr as SandboxConfig, Hn as PreviewLinkInfo, Ln as NetworkConfig, M as ConversationTurnOptions, Mn as ManagedProcessResumeOptions, N as ConversationTurnResult, Nn as ManagedProcessSpec, Pn as ManagedProcessState, Un as PreviewLinkManager, Wn as PreviewLinkWaitOptions, Xa as SandboxEnvRecovery, Za as SandboxEnvRecoveryView, hi as SandboxInfo, ji as SandboxStatus, jn as ManagedProcessRecord, kn as ManagedProcessJobs, oa as SessionMessageAdmission, vt as ExecOptions, yt as ExecResult } from "./types-Mi83KD0D.js";
|
|
3
|
+
import { _ as StateError, b as TimeoutError, c as NetworkError, d as QuotaError, g as ServerError, h as SandboxFailureDetail, l as NotFoundError, m as SandboxErrorJson, o as FileWriteConflictError, p as SandboxError, r as CapabilityError, t as AuthError, u as PartialFailureError, x as ValidationError } from "./errors-Bj5DL2ge.js";
|
|
4
|
+
import { A as LineSendReceipt, B as lineInstanceKey, C as LineReplyCode, G as LineApplicationRequest, H as LINE_APPLICATION_REPLY_MAX_CHARS, J as LineApplicationView, K as LineApplicationResult, L as LinesClient, M as LineSenderVerificationStart, S as LineReminderPreferences, U as LINE_APPLICATION_REQUEST_MAX_BYTES, V as profileChannelReference, W as LineApplication, X as parseLineApplicationResult, Y as parseLineApplicationRequest, a as LineApplicationAttachOptions, b as LineNumberInventory, c as LineAttachmentReauthorization, d as LineImage, f as LineInstanceAttachOptions, g as LineMemberInstance, h as LineMember, j as LineSenderVerification, k as LineSendInput, l as LineExecutionKey, n as LineAgentRolePolicy, p as LineInstanceCreate, q as LineApplicationState, s as LineAttachment, t as Line, w as LineReplyCodeInput, x as LineProvider } from "./lines-_rRdwxof.js";
|
|
5
|
+
import { A as BackendRegistryEntry, C as InstancesClient, F as backendRegistryInteractionKindSchema, I as backendRegistryResponseSchema, L as isBackendRegistryInteractionKind, M as BackendRegistryResponse, N as backendRegistryCapabilitiesSchema, P as backendRegistryEntrySchema, R as parseBackendRegistryResponse, _ as EnsureInstanceOptions, b as InstanceRecord, i as Sandbox, j as BackendRegistryInteractionKind, k as BackendRegistryCapabilities, v as HostedInstance, x as InstanceRestartingError, y as InstanceProfile, z as parseBackendRegistryResponseBody } from "./client-BujziOIc.js";
|
|
6
|
+
import { t as ManagedProcessClient } from "./managed-process-CPHeQONO.js";
|
|
7
7
|
|
|
8
8
|
//#region src/core.d.ts
|
|
9
9
|
/** Local SDK protocol support only, not a deployed-host readiness assertion.
|
package/dist/core.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _ as parseBackendRegistryResponse, a as InstanceRestartingError, f as backendRegistryCapabilitiesSchema, g as isBackendRegistryInteractionKind, h as backendRegistryResponseSchema, i as HostedInstance, m as backendRegistryInteractionKindSchema, n as Sandbox, o as InstancesClient, p as backendRegistryEntrySchema, v as parseBackendRegistryResponseBody } from "./client-
|
|
3
|
-
import {
|
|
1
|
+
import { d as PartialFailureError, f as QuotaError, g as StateError, h as ServerError, l as NetworkError, m as SandboxError, o as FileWriteConflictError, r as CapabilityError, t as AuthError, u as NotFoundError, v as TimeoutError, y as ValidationError } from "./errors-C8YcR1BL.js";
|
|
2
|
+
import { _ as parseBackendRegistryResponse, a as InstanceRestartingError, f as backendRegistryCapabilitiesSchema, g as isBackendRegistryInteractionKind, h as backendRegistryResponseSchema, i as HostedInstance, m as backendRegistryInteractionKindSchema, n as Sandbox, o as InstancesClient, p as backendRegistryEntrySchema, v as parseBackendRegistryResponseBody } from "./client-C7Y6waVg.js";
|
|
3
|
+
import { C as ManagedProcessClient, o as WorkspaceImages, t as SandboxInstance } from "./sandbox-DGoQMthD.js";
|
|
4
4
|
import { LinesClient, lineInstanceKey, profileChannelReference } from "./lines.js";
|
|
5
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-Cq6dJLBD.js";
|
|
6
6
|
//#region src/core.ts
|
|
@@ -1,5 +1,43 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ya as SandboxCreateReceipt } from "./types-Mi83KD0D.js";
|
|
2
|
+
import { c as TerminalStreamReconnectAuthority, n as TerminalStream, p as ScopedToken } from "./terminal-stream-jdYomM1m.js";
|
|
3
|
+
import { a as InteractiveSessionControlController, c as InteractiveSessionIdentity, f as InteractiveAttachOptions, h as InteractiveRequestOptions, n as BrowserInteractiveSessionControlControllerOptions, o as InteractiveSessionControlControllerOptions, s as InteractiveSessionControlTransport } from "./browser-interactive-control-controller-rpTbyvAS.js";
|
|
4
|
+
import { AgentInteractiveSessionRef } from "@tangle-network/agent-interface";
|
|
2
5
|
|
|
6
|
+
//#region src/interactive-controller.d.ts
|
|
7
|
+
/** The request fields supplied by an attach caller before control is claimed. */
|
|
8
|
+
type InteractiveAttachRequest = Omit<InteractiveAttachOptions, "control">;
|
|
9
|
+
/** Transport used by the status → claim → WebSocket controller. */
|
|
10
|
+
interface InteractiveSessionControllerTransport extends InteractiveSessionControlTransport {
|
|
11
|
+
attach(sessionId: string, ref: AgentInteractiveSessionRef, request: InteractiveAttachOptions, options?: InteractiveRequestOptions, reconnectAuthority?: TerminalStreamReconnectAuthority): Promise<TerminalStream>;
|
|
12
|
+
}
|
|
13
|
+
interface InteractiveSessionControllerOptions extends InteractiveSessionControlControllerOptions {}
|
|
14
|
+
/**
|
|
15
|
+
* Attach-capable controller for one exact interactive process.
|
|
16
|
+
*
|
|
17
|
+
* Control ownership lives in the dependency-light base controller. This layer
|
|
18
|
+
* adds only the terminal attach operation after that ownership is resolved.
|
|
19
|
+
*/
|
|
20
|
+
declare class InteractiveSessionController extends InteractiveSessionControlController {
|
|
21
|
+
private readonly attachTransport;
|
|
22
|
+
private attachInFlight?;
|
|
23
|
+
constructor(attachTransport: InteractiveSessionControllerTransport, options: InteractiveSessionControllerOptions);
|
|
24
|
+
attach(request: InteractiveAttachRequest, requestOptions?: InteractiveRequestOptions): Promise<TerminalStream>;
|
|
25
|
+
/**
|
|
26
|
+
* Open a stream for a claim returned by this controller's `resolve()`.
|
|
27
|
+
* The controller releases that claim when the stream cannot be opened.
|
|
28
|
+
*/
|
|
29
|
+
attachWithIdentity(identity: InteractiveSessionIdentity, request: InteractiveAttachRequest, requestOptions?: InteractiveRequestOptions): Promise<TerminalStream>;
|
|
30
|
+
}
|
|
31
|
+
/** Browser transport options for the attach-capable controller. */
|
|
32
|
+
interface BrowserInteractiveSessionControllerOptions extends InteractiveSessionControllerOptions, BrowserInteractiveSessionControlControllerOptions {
|
|
33
|
+
/** Mint a future session-runtime token for every browser terminal dial. */
|
|
34
|
+
terminalTokenProvider?: (signal?: AbortSignal) => Promise<ScopedToken>;
|
|
35
|
+
}
|
|
36
|
+
/** Concrete controller for browser deep links and terminal attachment. */
|
|
37
|
+
declare class BrowserInteractiveSessionController extends InteractiveSessionController {
|
|
38
|
+
constructor(options: BrowserInteractiveSessionControllerOptions);
|
|
39
|
+
}
|
|
40
|
+
//#endregion
|
|
3
41
|
//#region src/errors.d.ts
|
|
4
42
|
/**
|
|
5
43
|
* Base error class for all Sandbox SDK errors.
|
|
@@ -190,6 +228,27 @@ declare class ResumeEnvRequiredError extends SandboxError {
|
|
|
190
228
|
readonly missingEnvKeys: readonly string[];
|
|
191
229
|
constructor(message: string, missingEnvKeys: readonly string[], metadata?: SandboxErrorMetadata);
|
|
192
230
|
}
|
|
231
|
+
/**
|
|
232
|
+
* A branch asked for more children than the parent's host has memory for.
|
|
233
|
+
* Children can only live on the parent's host (their clone is local to its
|
|
234
|
+
* volume), so no other host can take the rest. `maxChildren` is how many
|
|
235
|
+
* children that host admits now; branch that many or fewer, or wait for the
|
|
236
|
+
* host to free memory. Nothing was created and nothing is held.
|
|
237
|
+
*
|
|
238
|
+
* A retry under the same idempotency key replays this refusal unchanged,
|
|
239
|
+
* `maxChildren` included, so the count is the host's room when the key was
|
|
240
|
+
* first used. To branch fewer children, use a new key.
|
|
241
|
+
*/
|
|
242
|
+
declare class BranchFanoutExceedsHostError extends SandboxError {
|
|
243
|
+
/** Children the parent's host admitted when it refused (0 when none). */
|
|
244
|
+
readonly maxChildren?: number;
|
|
245
|
+
/** The fan-out width this request asked for. */
|
|
246
|
+
readonly requestedChildren?: number;
|
|
247
|
+
constructor(message: string, counts: {
|
|
248
|
+
maxChildren?: number;
|
|
249
|
+
requestedChildren?: number;
|
|
250
|
+
}, metadata?: SandboxErrorMetadata);
|
|
251
|
+
}
|
|
193
252
|
/**
|
|
194
253
|
* The request timed out.
|
|
195
254
|
*/
|
|
@@ -267,4 +326,4 @@ declare class ServerError extends SandboxError {
|
|
|
267
326
|
constructor(message: string, status?: number, metadata?: SandboxErrorMetadata, code?: string);
|
|
268
327
|
}
|
|
269
328
|
//#endregion
|
|
270
|
-
export {
|
|
329
|
+
export { BrowserInteractiveSessionControllerOptions as C, InteractiveSessionControllerTransport as D, InteractiveSessionControllerOptions as E, BrowserInteractiveSessionController as S, InteractiveSessionController as T, StateError as _, EgressProxyRecoveryError as a, TimeoutError as b, NetworkError as c, QuotaError as d, ResumeEnvRequiredError as f, ServerError as g, SandboxFailureDetail as h, EdgeNotReadyError as i, NotFoundError as l, SandboxErrorJson as m, BranchFanoutExceedsHostError as n, FileWriteConflictError as o, SandboxError as p, CapabilityError as r, KeyBudgetExhaustedError as s, AuthError as t, PartialFailureError as u, StreamInterruptedError as v, InteractiveAttachRequest as w, ValidationError as x, StreamInterruptionReason as y };
|
|
@@ -245,6 +245,29 @@ var ResumeEnvRequiredError = class extends SandboxError {
|
|
|
245
245
|
}
|
|
246
246
|
};
|
|
247
247
|
/**
|
|
248
|
+
* A branch asked for more children than the parent's host has memory for.
|
|
249
|
+
* Children can only live on the parent's host (their clone is local to its
|
|
250
|
+
* volume), so no other host can take the rest. `maxChildren` is how many
|
|
251
|
+
* children that host admits now; branch that many or fewer, or wait for the
|
|
252
|
+
* host to free memory. Nothing was created and nothing is held.
|
|
253
|
+
*
|
|
254
|
+
* A retry under the same idempotency key replays this refusal unchanged,
|
|
255
|
+
* `maxChildren` included, so the count is the host's room when the key was
|
|
256
|
+
* first used. To branch fewer children, use a new key.
|
|
257
|
+
*/
|
|
258
|
+
var BranchFanoutExceedsHostError = class extends SandboxError {
|
|
259
|
+
/** Children the parent's host admitted when it refused (0 when none). */
|
|
260
|
+
maxChildren;
|
|
261
|
+
/** The fan-out width this request asked for. */
|
|
262
|
+
requestedChildren;
|
|
263
|
+
constructor(message, counts, metadata) {
|
|
264
|
+
super(message, "BRANCH_FANOUT_EXCEEDS_HOST", 409, metadata);
|
|
265
|
+
this.name = "BranchFanoutExceedsHostError";
|
|
266
|
+
this.maxChildren = counts.maxChildren;
|
|
267
|
+
this.requestedChildren = counts.requestedChildren;
|
|
268
|
+
}
|
|
269
|
+
};
|
|
270
|
+
/**
|
|
248
271
|
* The request timed out.
|
|
249
272
|
*/
|
|
250
273
|
var TimeoutError = class extends SandboxError {
|
|
@@ -472,6 +495,13 @@ function parseErrorResponse(status, body, context, headers) {
|
|
|
472
495
|
const keys = data.missingEnvKeys;
|
|
473
496
|
return new ResumeEnvRequiredError(message, Array.isArray(keys) ? keys.filter((key) => typeof key === "string") : [], metadata);
|
|
474
497
|
}
|
|
498
|
+
if (code === "BRANCH_FANOUT_EXCEEDS_HOST") {
|
|
499
|
+
const count = (value) => typeof value === "number" && Number.isSafeInteger(value) && value >= 0 ? value : void 0;
|
|
500
|
+
return new BranchFanoutExceedsHostError(message, {
|
|
501
|
+
maxChildren: count(data.maxChildren),
|
|
502
|
+
requestedChildren: count(data.requestedChildren)
|
|
503
|
+
}, metadata);
|
|
504
|
+
}
|
|
475
505
|
if (code === "KEY_BUDGET_EXHAUSTED") return new KeyBudgetExhaustedError(message, readKeyBudgetDetails(data.details), metadata);
|
|
476
506
|
if (code === "FILE_WRITE_CONFLICT") {
|
|
477
507
|
const conflict = readFileWriteConflictDetails(errorObj);
|
|
@@ -504,4 +534,4 @@ function readResponseJson(response) {
|
|
|
504
534
|
});
|
|
505
535
|
}
|
|
506
536
|
//#endregion
|
|
507
|
-
export {
|
|
537
|
+
export { readResponseJson as S, StreamInterruptedError as _, EgressProxyRecoveryError as a, parseErrorResponse as b, NON_RETRYABLE_CREATE_QUOTA_REASONS as c, PartialFailureError as d, QuotaError as f, StateError as g, ServerError as h, EdgeNotReadyError as i, NetworkError as l, SandboxError as m, BranchFanoutExceedsHostError as n, FileWriteConflictError as o, ResumeEnvRequiredError as p, CapabilityError as r, KeyBudgetExhaustedError as s, AuthError as t, NotFoundError as u, TimeoutError as v, parseResponseError as x, ValidationError as y };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
import { B as CreateSandboxOptions } from "./types-
|
|
1
|
+
import { n as SandboxInstance } from "./sandbox-DfSqEr3f.js";
|
|
2
|
+
import { B as CreateSandboxOptions, gn as HttpClient } from "./types-Mi83KD0D.js";
|
|
3
3
|
|
|
4
4
|
//#region src/tangle/abi.d.ts
|
|
5
5
|
/**
|