@tangle-network/sandbox 1.0.268 → 1.0.270
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent/index.d.ts +4 -4
- package/dist/agent/index.js +4 -4
- package/dist/agent/preview.d.ts +1 -1
- package/dist/agent/preview.js +1 -1
- package/dist/{agent-run-outcome-e0Rtf3a3.d.ts → agent-run-outcome-D-FJ3vk7.d.ts} +2 -2
- package/dist/{api-request-nbgUMuWb.js → api-request-DWJN-bxw.js} +1 -1
- package/dist/auth/index.d.ts +2 -2
- package/dist/auth/index.js +2 -2
- package/dist/{browser-interactive-control-controller-ClykJB9N.d.ts → browser-interactive-control-controller-BD0GL8aF.d.ts} +2 -1
- package/dist/{browser-interactive-control-controller-C9yza0IL.js → browser-interactive-control-controller-qHf-OlhG.js} +1 -1
- package/dist/{cli-auth-bundle-CQCt2mcZ.d.ts → cli-auth-bundle-B3jfdNXg.d.ts} +6 -8
- package/dist/{cli-auth-bundle-DcxhAW23-C22MMIvx.js → cli-auth-bundle-B4SGUcYM-CukXOw4n.js} +21 -11
- package/dist/cli-auth-bundle-DIZ0PWyR.js +2 -0
- package/dist/{client-HIMk1-m9.js → client-B0l4oyfQ.js} +5 -5
- package/dist/{client-D5GC6xYe.d.ts → client-DD-ocMMn.d.ts} +8 -7
- package/dist/collaboration/index.d.ts +1 -1
- package/dist/collaboration/index.js +1 -1
- package/dist/{collaboration-pelVsLcr.js → collaboration-DPvBCzWl.js} +1 -1
- package/dist/core.d.ts +6 -6
- package/dist/core.js +3 -3
- package/dist/gpu-lease/index.js +1 -1
- package/dist/{terminal-stream-types-Cdz3xrux.d.ts → index-B5e7Pa7p.d.ts} +8 -1750
- package/dist/{index-DUEgpbVw.d.ts → index-iof5xqBR.d.ts} +8 -7
- package/dist/index.d.ts +13 -12
- package/dist/index.js +8 -146
- package/dist/intelligence/index.d.ts +1 -1
- package/dist/intelligence/index.js +1 -1
- package/dist/interactive-control.d.ts +1 -1
- package/dist/interactive-control.js +1 -1
- package/dist/{interactive-controller-CmRtlTBj.d.ts → interactive-controller-D5TOWZcD.d.ts} +4 -3
- package/dist/{interactive-controller-DOM8V0pP.js → interactive-controller-DhDIxR4L.js} +2 -2
- package/dist/{lines-b98DdVCn.d.ts → lines-C4okxSB-.d.ts} +1 -1
- package/dist/lines.d.ts +1 -1
- package/dist/{local-cli-auth-C2cETxK4.js → local-cli-auth-DNNXF4cB.js} +1 -1
- package/dist/{mcp-local-BB-yoxeI.js → mcp-local-DGbHvSk5.js} +2 -2
- package/dist/{preview-CuMxpBA3.d.ts → preview-D-8VD4_D.d.ts} +3 -3
- package/dist/{public-templates-DTzQu6C0.d.ts → public-templates-BiV_GW-f.d.ts} +2 -2
- package/dist/public-templates.d.ts +1 -1
- package/dist/runtime.d.ts +5 -5
- package/dist/runtime.js +3 -3
- package/dist/{sandbox-D86jxPzC.js → sandbox-BdnPDr0_.js} +144 -6
- package/dist/{select-seat-DWMZh9Mj.js → select-seat-D0YBpIJl.js} +2 -2
- package/dist/select-seat-command.d.ts +2 -2
- package/dist/select-seat-command.js +1 -1
- package/dist/session-gateway/index.js +1 -1
- package/dist/tangle/index.d.ts +1 -1
- package/dist/tangle/index.js +1 -1
- package/dist/{tangle-BBF4pV5c.js → tangle-ByrrYpKi.js} +2 -2
- package/dist/terminal-stream-types-BSyus9Qn.d.ts +1753 -0
- package/dist/{types-Ct8kzcZC.d.ts → types-D3PBgznU.d.ts} +3 -2
- package/package.json +3 -3
- package/dist/cli-auth-bundle-DXKH215p.js +0 -2
- /package/dist/{index-B6aMEMDR.d.ts → index-DreKipF6.d.ts} +0 -0
- /package/dist/{index-BsT3M4X-.d.ts → index-zu3yijbl.d.ts} +0 -0
- /package/dist/{raw-evidence-export-C-TDdAgC.d.ts → raw-evidence-export-3QmilbFa.d.ts} +0 -0
package/dist/agent/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { I as SandboxTaskSession, O as SandboxInstance, R as SandboxSession } from "../index-
|
|
2
|
-
import { Ba as CodeExecutionResult, Ha as CodeResultPart, Qi as SessionInfo, Va as CodeLanguage, _t as SandboxFleetParent, ea as SessionListOptions, eo as BackendType, fa as BackendConfig, pr as CodeExecutionOptions } from "../types-
|
|
3
|
-
import { t as Sandbox } from "../client-
|
|
4
|
-
import { u as PreviewAuthorizer } from "../preview-
|
|
1
|
+
import { I as SandboxTaskSession, O as SandboxInstance, R as SandboxSession } from "../index-iof5xqBR.js";
|
|
2
|
+
import { Ba as CodeExecutionResult, Ha as CodeResultPart, Qi as SessionInfo, Va as CodeLanguage, _t as SandboxFleetParent, ea as SessionListOptions, eo as BackendType, fa as BackendConfig, pr as CodeExecutionOptions } from "../types-D3PBgznU.js";
|
|
3
|
+
import { t as Sandbox } from "../client-DD-ocMMn.js";
|
|
4
|
+
import { u as PreviewAuthorizer } from "../preview-D-8VD4_D.js";
|
|
5
5
|
import * as _$_modelcontextprotocol_sdk_server_index_js0 from "@modelcontextprotocol/sdk/server/index.js";
|
|
6
6
|
import { JSONSchema } from "zod/v4/core";
|
|
7
7
|
import { ToolSet } from "ai";
|
package/dist/agent/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as TOOL_SPECS, i as ALL_TOOL_SPECS, o as serializeToolResult, r as bindToolSpecs, t as createMcpServer } from "../mcp-local-
|
|
2
|
-
import { D as assertCurrentBackendType } from "../interactive-controller-
|
|
3
|
-
import { t as SandboxInstance } from "../sandbox-
|
|
1
|
+
import { a as TOOL_SPECS, i as ALL_TOOL_SPECS, o as serializeToolResult, r as bindToolSpecs, t as createMcpServer } from "../mcp-local-DGbHvSk5.js";
|
|
2
|
+
import { D as assertCurrentBackendType } from "../interactive-controller-DhDIxR4L.js";
|
|
3
|
+
import { t as SandboxInstance } from "../sandbox-BdnPDr0_.js";
|
|
4
4
|
import { O as ValidationError, T as StateError, v as NotFoundError } from "../errors-D44qyFpy.js";
|
|
5
|
-
import { t as Sandbox } from "../client-
|
|
5
|
+
import { t as Sandbox } from "../client-B0l4oyfQ.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-D-8VD4_D.js";
|
|
2
2
|
export { AgentPreviewError, AgentPreviewOptions, PREVIEW_MCP_ALIAS, PREVIEW_TOOLS, PreviewAuthorizationRequest, PreviewAuthorizer, PreviewExecutionContext, PreviewTool, PublishAgentPreviewOptions, assertPreviewId, ensureAgentPreview, getAgentPreview, listAgentPreviews, previewOperationTool, previewToolsForProfile, publishAgentPreview, removeAgentPreview, resolveSelfSandbox, servePreviewMcp };
|
package/dist/agent/preview.js
CHANGED
|
@@ -66,7 +66,7 @@ async function servePreviewMcp(request, config) {
|
|
|
66
66
|
if (typeof config.authorize !== "function") throw new Error("Preview MCP requires a host authorization callback");
|
|
67
67
|
const tools = config.tools ?? PREVIEW_TOOLS;
|
|
68
68
|
if (!tools.length || tools.some((tool) => !PREVIEW_TOOLS.includes(tool))) throw new Error("Preview MCP requires an explicit nonempty preview-only tool grant");
|
|
69
|
-
const [{ createMcpServer }, { WebStandardStreamableHTTPServerTransport }] = await Promise.all([import("../mcp-local-
|
|
69
|
+
const [{ createMcpServer }, { WebStandardStreamableHTTPServerTransport }] = await Promise.all([import("../mcp-local-DGbHvSk5.js").then((n) => n.n), import("@modelcontextprotocol/sdk/server/webStandardStreamableHttp.js")]);
|
|
70
70
|
const handle = await createMcpServer(config.box, {
|
|
71
71
|
name: "tangle-previews",
|
|
72
72
|
sessionId: config.sessionId,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Ci as SandboxEvent, ai as AgentQuestionRequest, ii as AgentApprovalRequirement, oi as AgentRunStatus, pi as DurablePlanSnapshot, si as AgentToolInvocation } from "./types-
|
|
1
|
+
import { C as InteractionRequest } from "./index-B5e7Pa7p.js";
|
|
2
|
+
import { Ci as SandboxEvent, ai as AgentQuestionRequest, ii as AgentApprovalRequirement, oi as AgentRunStatus, pi as DurablePlanSnapshot, si as AgentToolInvocation } from "./types-D3PBgznU.js";
|
|
3
3
|
|
|
4
4
|
//#region src/agent-run-outcome.d.ts
|
|
5
5
|
interface AgentRunOutcome {
|
|
@@ -30,7 +30,7 @@ function rewrapResponse(original, headers, body = original.body) {
|
|
|
30
30
|
//#endregion
|
|
31
31
|
//#region src/lib/api-request.mjs
|
|
32
32
|
/** The package version tsdown.config.ts defines; unbuilt source reports 0.0.0. */
|
|
33
|
-
const SDK_VERSION = "1.0.
|
|
33
|
+
const SDK_VERSION = "1.0.270";
|
|
34
34
|
function withRequestContextHeaders(response, path, method, body = response.body) {
|
|
35
35
|
const headers = new Headers(response.headers);
|
|
36
36
|
headers.set("x-tangle-request-path", path);
|
package/dist/auth/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { i as
|
|
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-
|
|
1
|
+
import { i as cliAuthReferenceSchema, n as materializeCliAuthBundle, r as CliAuthReference, t as assertCliAuthReferenceSupported } from "../cli-auth-bundle-B3jfdNXg.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-DreKipF6.js";
|
|
3
3
|
export { AnyTokenPayload, BatchScopedTokenPayload, CliAuthReference, CollaborationAccess, CollaborationTokenPayload, IssueCollaborationTokenOptions, ProductTokenIssuer, ProjectScopedTokenPayload, ReadTokenPayload, SessionScopedTokenPayload, TokenScope, assertCliAuthReferenceSupported, cliAuthReferenceSchema, getTokenTTL, isTokenExpiringSoon, issueBatchScopedToken, issueCollaborationToken, issueProjectScopedToken, issueReadToken, issueSessionScopedToken, materializeCliAuthBundle, unsafeDecodeToken, verifyToken };
|
package/dist/auth/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as materializeCliAuthBundle, n as assertCliAuthReferenceSupported, r as cliAuthReferenceSchema } from "../cli-auth-bundle-
|
|
2
|
-
import "../cli-auth-bundle-
|
|
1
|
+
import { i as materializeCliAuthBundle, n as assertCliAuthReferenceSupported, r as cliAuthReferenceSchema } from "../cli-auth-bundle-B4SGUcYM-CukXOw4n.js";
|
|
2
|
+
import "../cli-auth-bundle-DIZ0PWyR.js";
|
|
3
3
|
//#region src/auth/tokens.ts
|
|
4
4
|
const textEncoder = new TextEncoder();
|
|
5
5
|
const textDecoder = new TextDecoder();
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as TerminalStreamHandlers } from "./terminal-stream-types-BSyus9Qn.js";
|
|
2
|
+
import { a as AgentInteractiveSessionControlClaim, d as AgentInteractiveSessionStatus, i as AgentInteractiveSessionAttach, o as AgentInteractiveSessionControlClaimAcknowledgement, s as AgentInteractiveSessionControlClaimRequest, u as AgentInteractiveSessionRef } from "./index-B5e7Pa7p.js";
|
|
2
3
|
|
|
3
4
|
//#region src/interactive-types.d.ts
|
|
4
5
|
/** Cancellation for an interactive SDK request. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { C as boundedIdentifierSchema, D as isBoundedEventContentJson, E as boundedStringSchema, S as boundedEventContentStringSchema, T as boundedJsonSchema, _ as CONTRACT_MAX_ARRAY_LENGTH, b as boundedEventContentJsonSchema, g as sha256DigestSchema, o as canonicalCandidateDigest, w as boundedJsonRecordSchema, x as boundedEventContentRecordSchema, y as CONTRACT_MAX_STRING_LENGTH } from "./harness--g8UQ5TZ.js";
|
|
2
2
|
import { t as agentExecutionPreparationReceiptSchema } from "./agent-execution-preparation-receipt-j1Z7Om0k.js";
|
|
3
3
|
import { t as awaitWithAbort } from "./abort-signal-BsriwJ8L.js";
|
|
4
|
-
import { i as fetchSandboxApi } from "./api-request-
|
|
4
|
+
import { i as fetchSandboxApi } from "./api-request-DWJN-bxw.js";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.20/node_modules/@tangle-network/agent-interface/dist/native-session-event.js
|
|
7
7
|
/**
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { R as CliAuthFile } from "./index-B5e7Pa7p.js";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
|
|
3
|
-
//#region ../../../packages/cli-agent-registry/dist/
|
|
4
|
+
//#region ../../../packages/cli-agent-registry/dist/public-profile-request-BwBfLgGv.d.mts
|
|
4
5
|
//#region ../runtime-contracts/dist/public-profile-request.d.ts
|
|
5
6
|
declare const cliAuthReferenceSchema: z.ZodObject<{
|
|
6
7
|
account: z.ZodString;
|
|
@@ -13,12 +14,9 @@ declare const cliAuthReferenceSchema: z.ZodObject<{
|
|
|
13
14
|
}, z.core.$strict>;
|
|
14
15
|
/** A supplied account binding label, not a verified native account principal. */
|
|
15
16
|
type CliAuthReference = z.infer<typeof cliAuthReferenceSchema>; //#endregion
|
|
16
|
-
//#
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
content: string;
|
|
20
|
-
mode?: number;
|
|
21
|
-
};
|
|
17
|
+
//#endregion
|
|
18
|
+
//#region ../../../packages/cli-agent-registry/dist/cli-auth-bundle.d.mts
|
|
19
|
+
type LocalCliAuthFile = CliAuthFile;
|
|
22
20
|
/** Convert a native credential JSON bundle without reading host credentials. */
|
|
23
21
|
declare function materializeCliAuthBundle(backendType: string, rawBundle: string): LocalCliAuthFile[];
|
|
24
22
|
declare function assertCliAuthReferenceSupported(backendType: string, model: {
|
|
@@ -31,4 +29,4 @@ declare function assertCliAuthReferenceSupported(backendType: string, model: {
|
|
|
31
29
|
}): CliAuthReference | undefined;
|
|
32
30
|
/** Resolve only the selected injected secret, without copying it into a public config. */
|
|
33
31
|
//#endregion
|
|
34
|
-
export {
|
|
32
|
+
export { cliAuthReferenceSchema as i, materializeCliAuthBundle as n, CliAuthReference as r, assertCliAuthReferenceSupported as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as agentProfileJsonSchema, r as agentProfileSchema } from "./profile-schema-B11dRfGB.js";
|
|
1
|
+
import { a as ProxySecretReceiptSchema, n as agentProfileJsonSchema, r as agentProfileSchema } from "./profile-schema-B11dRfGB.js";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import "@tangle-network/agent-interface/harness-capabilities";
|
|
4
4
|
//#region ../../../packages/cli-agent-registry/dist/harness-contracts-B1vAJ1yx.mjs
|
|
@@ -1061,7 +1061,7 @@ function isBackendType(value) {
|
|
|
1061
1061
|
return BACKEND_TYPE_SET.has(value);
|
|
1062
1062
|
}
|
|
1063
1063
|
//#endregion
|
|
1064
|
-
//#region ../../../packages/cli-agent-registry/dist/specs-
|
|
1064
|
+
//#region ../../../packages/cli-agent-registry/dist/specs-CZ6eAF6G.mjs
|
|
1065
1065
|
z.globalRegistry.add(agentProfileSchema, {
|
|
1066
1066
|
id: "AgentProfile",
|
|
1067
1067
|
...agentProfileJsonSchema
|
|
@@ -1597,7 +1597,7 @@ function getSpec(name) {
|
|
|
1597
1597
|
return CLI_AGENT_SPECS.find((spec) => spec.name === name);
|
|
1598
1598
|
}
|
|
1599
1599
|
//#endregion
|
|
1600
|
-
//#region ../../../packages/cli-agent-registry/dist/cli-auth-bundle-
|
|
1600
|
+
//#region ../../../packages/cli-agent-registry/dist/cli-auth-bundle-B4SGUcYM.mjs
|
|
1601
1601
|
const cliAuthReferenceSchema = z.strictObject({
|
|
1602
1602
|
account: z.string().regex(/^[A-Za-z0-9][A-Za-z0-9@._+-]{0,127}$/),
|
|
1603
1603
|
secretEnv: z.string().regex(/^[A-Za-z_][A-Za-z0-9_]{0,63}$/),
|
|
@@ -1607,22 +1607,32 @@ const cliAuthReferenceSchema = z.strictObject({
|
|
|
1607
1607
|
"files"
|
|
1608
1608
|
])
|
|
1609
1609
|
});
|
|
1610
|
+
const nativeCredentialSelectionSchema = z.strictObject({
|
|
1611
|
+
harness: z.enum(["claude-code", "codex"]),
|
|
1612
|
+
cliAuth: cliAuthReferenceSchema
|
|
1613
|
+
}).refine(({ harness, cliAuth }) => harness === "claude-code" ? cliAuth.format === "token" : cliAuth.format === "bundle" || cliAuth.format === "files");
|
|
1614
|
+
nativeCredentialSelectionSchema.safeExtend({ installed: z.literal(true) });
|
|
1615
|
+
nativeCredentialSelectionSchema.safeExtend({ proxySecretReceipt: ProxySecretReceiptSchema });
|
|
1610
1616
|
const DEFAULT_MODE = 384;
|
|
1611
1617
|
const AUTH_BUNDLE_PATHS = Object.freeze({
|
|
1612
1618
|
codex: ".codex/auth.json",
|
|
1613
1619
|
"claude-code": ".claude/.credentials.json"
|
|
1614
1620
|
});
|
|
1615
|
-
/**
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
if (typeof
|
|
1619
|
-
let value;
|
|
1621
|
+
/** Decode credential JSON without retaining parser diagnostics or their causes. */
|
|
1622
|
+
const cliAuthObjectSchema = z.record(z.string(), z.unknown());
|
|
1623
|
+
function parseCliAuthJson(raw, message, schema) {
|
|
1624
|
+
if (typeof raw !== "string") throw new Error(message);
|
|
1620
1625
|
try {
|
|
1621
|
-
value = JSON.parse(
|
|
1626
|
+
const value = JSON.parse(raw);
|
|
1627
|
+
return schema ? schema.parse(value) : value;
|
|
1622
1628
|
} catch {
|
|
1623
|
-
throw new Error(
|
|
1629
|
+
throw new Error(message);
|
|
1624
1630
|
}
|
|
1625
|
-
|
|
1631
|
+
}
|
|
1632
|
+
/** Convert a native credential JSON bundle without reading host credentials. */
|
|
1633
|
+
function materializeCliAuthBundle(backendType, rawBundle) {
|
|
1634
|
+
if (backendType !== "codex" && backendType !== "claude-code") throw new Error("CLI auth bundle is not supported for the selected backend");
|
|
1635
|
+
parseCliAuthJson(rawBundle, "CLI auth bundle must be a JSON object", cliAuthObjectSchema);
|
|
1626
1636
|
return [{
|
|
1627
1637
|
path: AUTH_BUNDLE_PATHS[backendType],
|
|
1628
1638
|
content: rawBundle,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { D as assertCurrentBackendType, E as applyRequestedModel, M as withProfileHarness, N as withoutCreateOnlyModelFields, T as isBrowserRuntime, V as backendTypeSchema, k as normalizeRuntimeBackendConfig, o as requestInteractiveSessionToken, x as encodePromptForWire } from "./interactive-controller-
|
|
1
|
+
import { D as assertCurrentBackendType, E as applyRequestedModel, M as withProfileHarness, N as withoutCreateOnlyModelFields, T as isBrowserRuntime, V as backendTypeSchema, k as normalizeRuntimeBackendConfig, o as requestInteractiveSessionToken, x as encodePromptForWire } from "./interactive-controller-DhDIxR4L.js";
|
|
2
2
|
import { r as agentProfileSchema } from "./profile-schema-B11dRfGB.js";
|
|
3
|
-
import { $ as
|
|
3
|
+
import { $ as createRetryDelayMs, A as splitInlineProfileSkills, B as normalizeSandboxCreateReceipt, E as deleteSandbox, G as normalizeConnection, J as normalizeSandboxShape, K as normalizeEgressPolicyFields, Q as awaitCreateResend, U as dateOf, V as normalizeStartupDiagnostics, W as parseLifecycleTimes, X as CAPACITY_ETA_WAIT_MAX_MS, Y as CAPACITY_ETA_MARGIN_MS, Z as DEPLOY_WINDOW_RETRY_MS, at as isRetryableCreateError, d as exportTraceBundle, et as extendableDeadline, g as sandboxLedgerUsd, it as isRateLimitCreateError, j as validateDeferredProfileFileMounts, k as splitInlineProfileFileMounts, n as createSandboxInstanceFromResponse, nt as isCapacityShortageCreateError, q as normalizeProxySecretReceipt, rt as isDeployWindowCreateError, tt as generateIdempotencyKey, z as normalizeCaptureProof } from "./sandbox-BdnPDr0_.js";
|
|
4
4
|
import { C as SandboxError, D as TimeoutError, O as ValidationError, _ as NetworkError, a as readResponseJson, c as AuthError, i as parseResponseError, r as parseErrorResponse, v as NotFoundError, w as ServerError, y as PartialFailureError } from "./errors-D44qyFpy.js";
|
|
5
5
|
import { n as combineAbortSignals } from "./abort-signal-BsriwJ8L.js";
|
|
6
6
|
import { r as abortableSleep, t as RETRY_POLICY } from "./retry-policy-oW3_ljoc.js";
|
|
7
|
-
import { i as fetchSandboxApi, n as SDK_TIMEOUTS } from "./api-request-
|
|
7
|
+
import { i as fetchSandboxApi, n as SDK_TIMEOUTS } from "./api-request-DWJN-bxw.js";
|
|
8
8
|
import { l as SANDBOX_AGENT_HOME, t as isInsideReservedDir } from "./file-transfer-DOSTbUSR.js";
|
|
9
9
|
import { n as fetchWithKeepAlive, t as emitTiming } from "./keep-alive-fetch-sGVP8skk.js";
|
|
10
10
|
import { t as parseSSEStream } from "./sse-parser-BCG3iL9j.js";
|
|
@@ -1249,11 +1249,11 @@ function isLocalSandboxEndpoint(baseUrl) {
|
|
|
1249
1249
|
}
|
|
1250
1250
|
}
|
|
1251
1251
|
async function resolveLocalCliAuthFiles(backendType) {
|
|
1252
|
-
const { discoverLocalCliAuthFiles } = await import("./local-cli-auth-
|
|
1252
|
+
const { discoverLocalCliAuthFiles } = await import("./local-cli-auth-DNNXF4cB.js");
|
|
1253
1253
|
return discoverLocalCliAuthFiles(backendType);
|
|
1254
1254
|
}
|
|
1255
1255
|
async function loadLocalCliAuthExpectation(backendType) {
|
|
1256
|
-
const { describeLocalCliAuthExpectation: describe } = await import("./local-cli-auth-
|
|
1256
|
+
const { describeLocalCliAuthExpectation: describe } = await import("./local-cli-auth-DNNXF4cB.js");
|
|
1257
1257
|
return describe(backendType);
|
|
1258
1258
|
}
|
|
1259
1259
|
/**
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { A as TraceExportResult, H as MaterializeProfileFileMountsOptions, O as SandboxInstance, U as MaterializeProfileFileMountsResult, W as ProfileFileMountBox, j as TraceExportSink, yt as SandboxOperation } from "./index-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
5
|
-
import {
|
|
1
|
+
import { A as TraceExportResult, H as MaterializeProfileFileMountsOptions, O as SandboxInstance, U as MaterializeProfileFileMountsResult, W as ProfileFileMountBox, j as TraceExportSink, yt as SandboxOperation } from "./index-iof5xqBR.js";
|
|
2
|
+
import { R as SandboxError, X as BatchCustody, Z as BatchResult, c as MintInteractiveSessionTokenOptions, it as BatchEvent, nt as PublicBatchRunRequestInput, tt as PublicBatchRunRequest, u as ScopedToken } from "./terminal-stream-types-BSyus9Qn.js";
|
|
3
|
+
import { A as AgentProfileMcpServer, D as AgentProfileConfidential, F as HarnessType, M as AgentProfileSeat, O as AgentProfileConfigValue, T as AgentProfile, j as AgentProfileMetadata, k as AgentProfileFileMount, n as SandboxSizePreset, u as AgentInteractiveSessionRef, x as AgentRuntimeAttachments } from "./index-B5e7Pa7p.js";
|
|
4
|
+
import { $ as SandboxFleetAgent, A as CreateSandboxFleetOptions, Aa as GpuLeaseProviderName, Ai as TurnBackendConfig, At as SandboxFleetWorkspaceRestoreResult, B as FleetDispatchStreamOptions, Ci as SandboxEvent, Cn as DownloadResult, Ct as SandboxFleetTraceBundle, D as FleetDriveTurnRequest, Dt as SandboxFleetUsage, E as FleetDriveTurnOutcome, Et as SandboxFleetTraceOptions, F as FleetAgentResult, Fi as ConversationTurnResult, G as FleetPromptDispatchResult, H as FleetExecDispatchResult, Ir as SandboxDeleteAcknowledgement, It as SandboxInfo, J as ListSandboxFleetOptions, K as FleetRunEvent, L as FleetDispatchCancelResult, Lr as SandboxDeleteOptions, M as CreateSandboxFleetWithCoordinatorOptions, Mr as DeleteMatchingSandboxesFilter, Mt as ListSandboxOptions, N as FleetAgentId, Nr as DeleteMatchingSandboxesOptions, O as TokenRefreshHandler, Pi as ConversationTurnOptions, Pr as DeleteMatchingSandboxesResult, Q as ReconcileSandboxFleetsResult, Qn as SandboxEnvironment, R as FleetDispatchResultBuffer, Si as PromptResult, St as SandboxFleetToken, U as FleetMachineId, Ua as ExecResult, V as FleetExecDispatchOptions, W as FleetPromptDispatchOptions, X as ReapExpiredSandboxFleetsResult, Xt as TeeAttestationReport, Y as ReapExpiredSandboxFleetsOptions, Z as ReconcileSandboxFleetsOptions, Zt as TeeAttestationResponse, _i as IntelligenceReportCompareTo, _t as SandboxFleetParent, an as SandboxShapesInfo, at as SandboxFleetDispatchResponse, ba as SecretBindingOptions, bi as PromptInputPart, br as HttpClient, c as SubscriptionInfo, ci as CreateIntelligenceReportOptions, cn as SandboxShapePreset, ct as SandboxFleetInfo, fa as BackendConfig, ft as SandboxFleetMachineRecord, gi as IntelligenceReportBudget, gr as ManagedProcessResumeOptions, gt as SandboxFleetOperationsSummary, hi as IntelligenceReport, hr as ManagedProcessOptions, in as SandboxResources, j as CreateSandboxFleetTokenOptions, jt as SandboxFleetWorkspaceSnapshotResult, k as AttachSandboxFleetMachineOptions, kt as SandboxFleetWorkspaceReconcileResult, l as UsageInfo, mr as ManagedProcessJobs, mt as SandboxFleetManifest, n as SshKeysManager, nn as CreateSandboxOptions, nt as SandboxFleetArtifactSpec, ot as SandboxFleetDriverCapability, pt as SandboxFleetMachineSpec, q as FleetRunOptions, qn as ExecOptions, ri as BatchRunOptions, rn as SandboxConfig, rt as SandboxFleetCostEstimate, s as SandboxIdentity, t as SecretsManager, tn as CreateRequestOptions, tt as SandboxFleetArtifact, ut as SandboxFleetMachine, vr as ManagedProcessRecord, xi as PromptOptions, xn as DownloadOptions, xr as SdkTimingHook, xt as SandboxFleetSpend, yi as IntelligenceReportWindow, yr as ManagedProcessSpec, yt as SandboxFleetPolicy, z as FleetDispatchResultBufferOptions, zt as SandboxRunGeneration } from "./types-D3PBgznU.js";
|
|
5
|
+
import { t as LinesClient } from "./lines-C4okxSB-.js";
|
|
6
|
+
import { a as PublicTemplatesClient } from "./public-templates-BiV_GW-f.js";
|
|
6
7
|
import { z } from "zod";
|
|
7
8
|
|
|
8
9
|
//#region src/backend-registry.d.ts
|
|
@@ -3508,9 +3509,9 @@ declare const manageSandboxesInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3508
3509
|
sandboxId: z.ZodString;
|
|
3509
3510
|
options: z.ZodObject<{
|
|
3510
3511
|
provider: z.ZodOptional<z.ZodString>;
|
|
3512
|
+
command: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3511
3513
|
image: z.ZodOptional<z.ZodString>;
|
|
3512
3514
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3513
|
-
command: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3514
3515
|
accelerator: z.ZodObject<{
|
|
3515
3516
|
kind: z.ZodString;
|
|
3516
3517
|
count: z.ZodDefault<z.ZodNumber>;
|
|
@@ -5645,9 +5646,9 @@ declare const MANAGE_SANDBOXES_PARAMETERS: z.core.ZodStandardJSONSchemaPayload<z
|
|
|
5645
5646
|
sandboxId: z.ZodString;
|
|
5646
5647
|
options: z.ZodObject<{
|
|
5647
5648
|
provider: z.ZodOptional<z.ZodString>;
|
|
5649
|
+
command: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5648
5650
|
image: z.ZodOptional<z.ZodString>;
|
|
5649
5651
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5650
|
-
command: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5651
5652
|
accelerator: z.ZodObject<{
|
|
5652
5653
|
kind: z.ZodString;
|
|
5653
5654
|
count: z.ZodDefault<z.ZodNumber>;
|
|
@@ -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-zu3yijbl.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-DPvBCzWl.js";
|
|
2
2
|
export { CollaborationClient, CollaborationFileBridge, buildCollaborationDocumentId, normalizeCollaborationPath, parseCollaborationDocumentId };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { D as TimeoutError, _ as NetworkError, r as parseErrorResponse } from "./errors-D44qyFpy.js";
|
|
2
|
-
import { i as fetchSandboxApi } from "./api-request-
|
|
2
|
+
import { i as fetchSandboxApi } from "./api-request-DWJN-bxw.js";
|
|
3
3
|
//#region src/collaboration/client.ts
|
|
4
4
|
function normalizeBaseUrl(url) {
|
|
5
5
|
return url.replace(/\/+$/, "");
|
package/dist/core.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { B as WorkspaceImages, O as SandboxInstance, V as ProfileFileDeliveryReport, z as WorkspaceImagePublishRequestOptions } from "./index-
|
|
2
|
-
import { F as ProfileFileMountPathError, H as ServerError, I as QuotaError, K as TimeoutError, M as NetworkError, N as NotFoundError, O as FileWriteConflictError, P as PartialFailureError, R as SandboxError, S as AuthError, U as StateError, V as SandboxFailureDetail, b as parseErrorResponse, q as ValidationError, w as CapabilityError, x as responseMetadata, z as SandboxErrorJson } from "./terminal-stream-types-
|
|
3
|
-
import { Fa as WorkspaceImagePublishResult, Fi as ConversationTurnResult, Ga as SandboxEnvRecovery, It as SandboxInfo, Ka as SandboxEnvRecoveryView, Pa as WorkspaceImagePublishInput, Pi as ConversationTurnOptions, Ua as ExecResult, _r as ManagedProcessState, b as PreviewLinkManager, bi as PromptInputPart, gr as ManagedProcessResumeOptions, hr as ManagedProcessOptions, mr as ManagedProcessJobs, na as SessionMessageAdmission, nn as CreateSandboxOptions, on as SandboxStatus, qn as ExecOptions, rn as SandboxConfig, un as NetworkConfig, vr as ManagedProcessRecord, x as PreviewLinkWaitOptions, y as PreviewLinkInfo, yr as ManagedProcessSpec } from "./types-
|
|
4
|
-
import { D as LineReplyCode, E as LineReminderPreferences, F as LineSenderVerification, G as LineApplicationRequest, H as LINE_APPLICATION_REPLY_MAX_CHARS, I as LineSenderVerificationStart, J as LineApplicationView, K as LineApplicationResult, N as LineSendInput, O as LineReplyCodeInput, P as LineSendReceipt, T as LineProvider, U as LINE_APPLICATION_REQUEST_MAX_BYTES, W as LineApplication, X as parseLineApplicationResult, Y as parseLineApplicationRequest, _ as LineInstanceCreate, a as Line, b as LineMemberInstance, d as LineAttachment, f as LineAttachmentReauthorization, g as LineInstanceAttachOptions, h as LineImage, i as profileChannelReference, l as LineApplicationAttachOptions, o as LineAgentRolePolicy, p as LineExecutionKey, q as LineApplicationState, r as lineInstanceKey, t as LinesClient, w as LineNumberInventory, y as LineMember } from "./lines-
|
|
5
|
-
import { At as InstancesClient, Ct as ManagedProcessClient, Dt as InstanceRecord, Et as InstanceProfile, Mt as sandboxFailureKind, Ot as InstanceRestartingError, St as gatewaySeatTransport, Tt as HostedInstance, _t as SeatOwnerTransport, an as BackendRegistryCapabilities, bt as SeatSelectionRequest, cn as BackendRegistryResponse, dn as backendRegistryInteractionKindSchema, dt as GatewaySeatTransportOptions, fn as backendRegistryResponseSchema, gt as SeatOwnerReply, hn as parseBackendRegistryResponseBody, ht as SandboxSeatSelectionInput, jt as SandboxFailureKind, ln as backendRegistryCapabilitiesSchema, lt as ISOLATED_CREATION_ATTESTATION_VERSION, mn as parseBackendRegistryResponse, mt as SandboxSeatCredentials, on as BackendRegistryEntry, pn as isBackendRegistryInteractionKind, pt as SandboxResolvedSeat, sn as BackendRegistryInteractionKind, t as Sandbox, un as backendRegistryEntrySchema, ut as CreateSelectSeatOptions, vt as SeatResolutionObservation, wt as EnsureInstanceOptions, xt as createSelectSeat, yt as SeatSelectionError } from "./client-
|
|
6
|
-
import { a as PublicTemplatesClient, i as PublicTemplatePublishRequestOptions, n as PublicTemplatePublishError, r as PublicTemplatePublishJob, t as PublicTemplatePublishArtifact } from "./public-templates-
|
|
1
|
+
import { B as WorkspaceImages, O as SandboxInstance, V as ProfileFileDeliveryReport, z as WorkspaceImagePublishRequestOptions } from "./index-iof5xqBR.js";
|
|
2
|
+
import { F as ProfileFileMountPathError, H as ServerError, I as QuotaError, K as TimeoutError, M as NetworkError, N as NotFoundError, O as FileWriteConflictError, P as PartialFailureError, R as SandboxError, S as AuthError, U as StateError, V as SandboxFailureDetail, b as parseErrorResponse, q as ValidationError, w as CapabilityError, x as responseMetadata, z as SandboxErrorJson } from "./terminal-stream-types-BSyus9Qn.js";
|
|
3
|
+
import { Fa as WorkspaceImagePublishResult, Fi as ConversationTurnResult, Ga as SandboxEnvRecovery, It as SandboxInfo, Ka as SandboxEnvRecoveryView, Pa as WorkspaceImagePublishInput, Pi as ConversationTurnOptions, Ua as ExecResult, _r as ManagedProcessState, b as PreviewLinkManager, bi as PromptInputPart, gr as ManagedProcessResumeOptions, hr as ManagedProcessOptions, mr as ManagedProcessJobs, na as SessionMessageAdmission, nn as CreateSandboxOptions, on as SandboxStatus, qn as ExecOptions, rn as SandboxConfig, un as NetworkConfig, vr as ManagedProcessRecord, x as PreviewLinkWaitOptions, y as PreviewLinkInfo, yr as ManagedProcessSpec } from "./types-D3PBgznU.js";
|
|
4
|
+
import { D as LineReplyCode, E as LineReminderPreferences, F as LineSenderVerification, G as LineApplicationRequest, H as LINE_APPLICATION_REPLY_MAX_CHARS, I as LineSenderVerificationStart, J as LineApplicationView, K as LineApplicationResult, N as LineSendInput, O as LineReplyCodeInput, P as LineSendReceipt, T as LineProvider, U as LINE_APPLICATION_REQUEST_MAX_BYTES, W as LineApplication, X as parseLineApplicationResult, Y as parseLineApplicationRequest, _ as LineInstanceCreate, a as Line, b as LineMemberInstance, d as LineAttachment, f as LineAttachmentReauthorization, g as LineInstanceAttachOptions, h as LineImage, i as profileChannelReference, l as LineApplicationAttachOptions, o as LineAgentRolePolicy, p as LineExecutionKey, q as LineApplicationState, r as lineInstanceKey, t as LinesClient, w as LineNumberInventory, y as LineMember } from "./lines-C4okxSB-.js";
|
|
5
|
+
import { At as InstancesClient, Ct as ManagedProcessClient, Dt as InstanceRecord, Et as InstanceProfile, Mt as sandboxFailureKind, Ot as InstanceRestartingError, St as gatewaySeatTransport, Tt as HostedInstance, _t as SeatOwnerTransport, an as BackendRegistryCapabilities, bt as SeatSelectionRequest, cn as BackendRegistryResponse, dn as backendRegistryInteractionKindSchema, dt as GatewaySeatTransportOptions, fn as backendRegistryResponseSchema, gt as SeatOwnerReply, hn as parseBackendRegistryResponseBody, ht as SandboxSeatSelectionInput, jt as SandboxFailureKind, ln as backendRegistryCapabilitiesSchema, lt as ISOLATED_CREATION_ATTESTATION_VERSION, mn as parseBackendRegistryResponse, mt as SandboxSeatCredentials, on as BackendRegistryEntry, pn as isBackendRegistryInteractionKind, pt as SandboxResolvedSeat, sn as BackendRegistryInteractionKind, t as Sandbox, un as backendRegistryEntrySchema, ut as CreateSelectSeatOptions, vt as SeatResolutionObservation, wt as EnsureInstanceOptions, xt as createSelectSeat, yt as SeatSelectionError } from "./client-DD-ocMMn.js";
|
|
6
|
+
import { a as PublicTemplatesClient, i as PublicTemplatePublishRequestOptions, n as PublicTemplatePublishError, r as PublicTemplatePublishJob, t as PublicTemplatePublishArtifact } from "./public-templates-BiV_GW-f.js";
|
|
7
7
|
export { AuthError, BackendRegistryCapabilities, BackendRegistryEntry, BackendRegistryInteractionKind, BackendRegistryResponse, CapabilityError, ConversationTurnOptions, ConversationTurnResult, CreateSandboxOptions, CreateSelectSeatOptions, EnsureInstanceOptions, ExecOptions, ExecResult, FileWriteConflictError, GatewaySeatTransportOptions, HostedInstance, ISOLATED_CREATION_ATTESTATION_VERSION, InstanceProfile, InstanceRecord, InstanceRestartingError, InstancesClient, LINE_APPLICATION_REPLY_MAX_CHARS, LINE_APPLICATION_REQUEST_MAX_BYTES, Line, LineAgentRolePolicy, LineApplication, LineApplicationAttachOptions, LineApplicationRequest, LineApplicationResult, LineApplicationState, LineApplicationView, LineAttachment, LineAttachmentReauthorization, LineExecutionKey, LineImage, LineInstanceAttachOptions, LineInstanceCreate, LineMember, LineMemberInstance, LineNumberInventory, LineProvider, LineReminderPreferences, LineReplyCode, LineReplyCodeInput, LineSendInput, LineSendReceipt, LineSenderVerification, LineSenderVerificationStart, LinesClient, ManagedProcessClient, ManagedProcessJobs, ManagedProcessOptions, ManagedProcessRecord, ManagedProcessResumeOptions, ManagedProcessSpec, ManagedProcessState, NetworkConfig, NetworkError, NotFoundError, PartialFailureError, PreviewLinkInfo, PreviewLinkManager, PreviewLinkWaitOptions, ProfileFileDeliveryReport, ProfileFileMountPathError, PromptInputPart, PublicTemplatePublishArtifact, PublicTemplatePublishError, PublicTemplatePublishJob, PublicTemplatePublishRequestOptions, PublicTemplatesClient, QuotaError, Sandbox, SandboxConfig, SandboxEnvRecovery, SandboxEnvRecoveryView, SandboxError, SandboxErrorJson, SandboxFailureDetail, SandboxFailureKind, SandboxInfo, SandboxInstance, SandboxResolvedSeat, SandboxSeatCredentials, SandboxSeatSelectionInput, SandboxStatus, SeatOwnerReply, SeatOwnerTransport, SeatResolutionObservation, SeatSelectionError, SeatSelectionRequest, ServerError, SessionMessageAdmission, StateError, TimeoutError, ValidationError, WorkspaceImagePublishInput, WorkspaceImagePublishRequestOptions, WorkspaceImagePublishResult, WorkspaceImages, backendRegistryCapabilitiesSchema, backendRegistryEntrySchema, backendRegistryInteractionKindSchema, backendRegistryResponseSchema, createSelectSeat, gatewaySeatTransport, isBackendRegistryInteractionKind, lineInstanceKey, parseBackendRegistryResponse, parseBackendRegistryResponseBody, parseErrorResponse, parseLineApplicationRequest, parseLineApplicationResult, profileChannelReference, responseMetadata, sandboxFailureKind };
|
package/dist/core.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { D as ManagedProcessClient, r as WorkspaceImages, t as SandboxInstance } from "./sandbox-BdnPDr0_.js";
|
|
2
2
|
import { C as SandboxError, D as TimeoutError, O as ValidationError, T as StateError, _ as NetworkError, b as ProfileFileMountPathError, c as AuthError, m as FileWriteConflictError, o as responseMetadata, r as parseErrorResponse, u as CapabilityError, v as NotFoundError, w as ServerError, x as QuotaError, y as PartialFailureError } from "./errors-D44qyFpy.js";
|
|
3
|
-
import { a as InstancesClient, d as backendRegistryInteractionKindSchema, f as backendRegistryResponseSchema, h as parseBackendRegistryResponseBody, i as InstanceRestartingError, l as backendRegistryCapabilitiesSchema, m as parseBackendRegistryResponse, p as isBackendRegistryInteractionKind, r as HostedInstance, t as Sandbox, u as backendRegistryEntrySchema } from "./client-
|
|
3
|
+
import { a as InstancesClient, d as backendRegistryInteractionKindSchema, f as backendRegistryResponseSchema, h as parseBackendRegistryResponseBody, i as InstanceRestartingError, l as backendRegistryCapabilitiesSchema, m as parseBackendRegistryResponse, p as isBackendRegistryInteractionKind, r as HostedInstance, t as Sandbox, u as backendRegistryEntrySchema } from "./client-B0l4oyfQ.js";
|
|
4
4
|
import { i as profileChannelReference, r as lineInstanceKey, t as LinesClient } from "./lines-DwJ7AKx7.js";
|
|
5
5
|
import { PublicTemplatePublishError, PublicTemplatesClient } from "./public-templates.js";
|
|
6
6
|
import { a as parseLineApplicationResult, i as parseLineApplicationRequest, n as LINE_APPLICATION_REPLY_MAX_CHARS, o as sandboxFailureKind, r as LINE_APPLICATION_REQUEST_MAX_BYTES, t as ISOLATED_CREATION_ATTESTATION_VERSION } from "./core-CTkHtpap.js";
|
|
7
|
-
import { a as createSelectSeat, i as SeatSelectionError, o as gatewaySeatTransport } from "./select-seat-
|
|
7
|
+
import { a as createSelectSeat, i as SeatSelectionError, o as gatewaySeatTransport } from "./select-seat-D0YBpIJl.js";
|
|
8
8
|
export { AuthError, CapabilityError, FileWriteConflictError, HostedInstance, ISOLATED_CREATION_ATTESTATION_VERSION, InstanceRestartingError, InstancesClient, LINE_APPLICATION_REPLY_MAX_CHARS, LINE_APPLICATION_REQUEST_MAX_BYTES, LinesClient, ManagedProcessClient, NetworkError, NotFoundError, PartialFailureError, ProfileFileMountPathError, PublicTemplatePublishError, PublicTemplatesClient, QuotaError, Sandbox, SandboxError, SandboxInstance, SeatSelectionError, ServerError, StateError, TimeoutError, ValidationError, WorkspaceImages, backendRegistryCapabilitiesSchema, backendRegistryEntrySchema, backendRegistryInteractionKindSchema, backendRegistryResponseSchema, createSelectSeat, gatewaySeatTransport, isBackendRegistryInteractionKind, lineInstanceKey, parseBackendRegistryResponse, parseBackendRegistryResponseBody, parseErrorResponse, parseLineApplicationRequest, parseLineApplicationResult, profileChannelReference, responseMetadata, sandboxFailureKind };
|
package/dist/gpu-lease/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as fetchSandboxApi } from "../api-request-
|
|
1
|
+
import { i as fetchSandboxApi } from "../api-request-DWJN-bxw.js";
|
|
2
2
|
import { t as ITangleJobsAbi } from "../abi-pcDt2Adp.js";
|
|
3
3
|
import { createPublicClient, createWalletClient, decodeAbiParameters, encodeAbiParameters, encodeFunctionData, hexToBytes, http, keccak256, parseAbi, parseAbiParameters, parseEventLogs, recoverMessageAddress, stringToHex } from "viem";
|
|
4
4
|
import { privateKeyToAccount } from "viem/accounts";
|