@tangle-network/sandbox 1.0.141 → 1.0.143
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 +3 -3
- package/dist/agent/index.js +2 -2
- package/dist/agent/preview.d.ts +1 -1
- package/dist/auth/index.js +2 -2
- package/dist/{cli-auth-bundle-BzoFPDU3-CjsBEblD.js → cli-auth-bundle-CCi5yJ_D-5w0ql9ee.js} +35 -18
- package/dist/cli-auth-bundle-CUi_Sbeh.js +2 -0
- package/dist/{client-CS1mBLOt.d.ts → client-DDvpLjpm.d.ts} +1 -1
- package/dist/{client-DcWuUmMH.js → client-_dKi_uL1.js} +3 -3
- package/dist/{core-1sxNgyLu.js → core-811WWCAl.js} +3 -3
- package/dist/core.d.ts +2 -2
- package/dist/core.js +3 -3
- package/dist/{index-DUL2ENwx.d.ts → index-DsHGCGVG.d.ts} +11 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -4
- package/dist/{local-cli-auth-q0GyTHNZ.js → local-cli-auth-BKPsZonH.js} +1 -1
- package/dist/{preview-Cj9MBn6p.d.ts → preview-BjrVLIFa.d.ts} +2 -2
- package/dist/{sandbox-pZbO57xA.js → sandbox-Gu1g_Tnn.js} +2 -2
- package/dist/select-seat-command.d.ts +1 -1
- package/dist/tangle/index.d.ts +1 -1
- package/dist/tangle/index.js +1 -1
- package/dist/{tangle-C9semBIp.js → tangle-DsVP5T2V.js} +9 -5
- package/package.json +4 -4
- package/dist/cli-auth-bundle-CdTp-ydg.js +0 -2
package/dist/agent/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { I as SandboxTaskSession, O as SandboxInstance, R as SandboxSession } from "../index-
|
|
1
|
+
import { I as SandboxTaskSession, O as SandboxInstance, R as SandboxSession } from "../index-DsHGCGVG.js";
|
|
2
2
|
import { Bt as SandboxFleetParent, Ha as CodeExecutionResult, To as BackendType, Ua as CodeLanguage, Ur as CodeExecutionOptions, Wa as CodeResultPart, ga as BackendConfig, ia as SessionListOptions, na as SessionInfo } from "../types-CPBYRULs.js";
|
|
3
|
-
import { t as Sandbox } from "../client-
|
|
4
|
-
import { u as PreviewAuthorizer } from "../preview-
|
|
3
|
+
import { t as Sandbox } from "../client-DDvpLjpm.js";
|
|
4
|
+
import { u as PreviewAuthorizer } from "../preview-BjrVLIFa.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-tBlLJqTb.js";
|
|
2
2
|
import { k as assertCurrentBackendType } from "../interactive-controller-CTKFnVTy.js";
|
|
3
|
-
import { t as SandboxInstance } from "../sandbox-
|
|
3
|
+
import { t as SandboxInstance } from "../sandbox-Gu1g_Tnn.js";
|
|
4
4
|
import { C as StateError, E as ValidationError, g as NotFoundError } from "../errors-BfR-fBvN.js";
|
|
5
|
-
import { t as Sandbox } from "../client-
|
|
5
|
+
import { t as Sandbox } from "../client-_dKi_uL1.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-BjrVLIFa.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/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-CCi5yJ_D-5w0ql9ee.js";
|
|
2
|
+
import "../cli-auth-bundle-CUi_Sbeh.js";
|
|
3
3
|
//#region src/auth/tokens.ts
|
|
4
4
|
const textEncoder = new TextEncoder();
|
|
5
5
|
const textDecoder = new TextDecoder();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as agentProfileJsonSchema, r as agentProfileSchema } from "./profile-schema-nys6Qejd.js";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import "@tangle-network/agent-interface/harness-capabilities";
|
|
4
|
-
//#region ../../../packages/cli-agent-registry/dist/harness-contracts-
|
|
4
|
+
//#region ../../../packages/cli-agent-registry/dist/harness-contracts-oW1KIZVL.mjs
|
|
5
5
|
/** The CLI version infra/nix ships for each registered harness. */
|
|
6
6
|
const HARNESS_CLI_VERSIONS = {
|
|
7
7
|
"claude-code": "2.1.311",
|
|
@@ -449,10 +449,7 @@ var factory_droids_default = {
|
|
|
449
449
|
},
|
|
450
450
|
cliVersion: HARNESS_CLI_VERSIONS["factory-droids"]
|
|
451
451
|
},
|
|
452
|
-
defect:
|
|
453
|
-
issue: "#10096",
|
|
454
|
-
reason: "droid 0.232.0 resumes with --session-id only after it fetches the session from api.factory.ai, and the reader reads no usage, model or ending error from the session; the other checks pass (2026-10-05)"
|
|
455
|
-
}
|
|
452
|
+
defect: null
|
|
456
453
|
},
|
|
457
454
|
config: {
|
|
458
455
|
kind: "model",
|
|
@@ -561,16 +558,13 @@ var kimi_code_default = {
|
|
|
561
558
|
forbiddenArgs: [],
|
|
562
559
|
storeEnv: {},
|
|
563
560
|
evidence: {
|
|
564
|
-
servedModel: "
|
|
561
|
+
servedModel: "none",
|
|
565
562
|
usage: "per-response",
|
|
566
|
-
endingError: "
|
|
563
|
+
endingError: "session-record"
|
|
567
564
|
},
|
|
568
565
|
cliVersion: HARNESS_CLI_VERSIONS["kimi-code"]
|
|
569
566
|
},
|
|
570
|
-
defect:
|
|
571
|
-
issue: "#10096",
|
|
572
|
-
reason: "kimi-cli 1.49.0 records no model id, served or requested, in its session files, and the reader reads the ending HTTP 500 as aborted; the other checks pass (2026-10-05)"
|
|
573
|
-
}
|
|
567
|
+
defect: null
|
|
574
568
|
},
|
|
575
569
|
config: {
|
|
576
570
|
kind: "model",
|
|
@@ -997,7 +991,7 @@ const backendTypeSchema = z.enum(ALL_BACKEND_TYPES);
|
|
|
997
991
|
z.string().regex(/^[A-Za-z0-9_.:@-]{1,256}$/);
|
|
998
992
|
new Set(ALL_BACKEND_TYPES);
|
|
999
993
|
//#endregion
|
|
1000
|
-
//#region ../../../packages/cli-agent-registry/dist/specs-
|
|
994
|
+
//#region ../../../packages/cli-agent-registry/dist/specs-DxWcFzVu.mjs
|
|
1001
995
|
z.globalRegistry.add(agentProfileSchema, {
|
|
1002
996
|
id: "AgentProfile",
|
|
1003
997
|
...agentProfileJsonSchema
|
|
@@ -1226,9 +1220,11 @@ const CLI_AGENT_SPECS = [
|
|
|
1226
1220
|
messageStorageDir: ".codex",
|
|
1227
1221
|
cliDirLayout: {
|
|
1228
1222
|
sessionData: [
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1223
|
+
...[
|
|
1224
|
+
"logs",
|
|
1225
|
+
"goals",
|
|
1226
|
+
"memories"
|
|
1227
|
+
].map((name) => `${name}_*.sqlite*`),
|
|
1232
1228
|
...[
|
|
1233
1229
|
"state_5",
|
|
1234
1230
|
"queue_1",
|
|
@@ -1238,9 +1234,30 @@ const CLI_AGENT_SPECS = [
|
|
|
1238
1234
|
"-wal",
|
|
1239
1235
|
"-shm"
|
|
1240
1236
|
].map((suffix) => `${name}.sqlite${suffix}`)),
|
|
1241
|
-
"skills/**"
|
|
1237
|
+
"skills/**",
|
|
1238
|
+
"cache/codex_apps_tools/**",
|
|
1239
|
+
"cache/codex_apps_server_info/**",
|
|
1240
|
+
"cache/remote_plugin_catalog/**",
|
|
1241
|
+
"plugins/cache/**",
|
|
1242
|
+
"mcp-oauth-locks/file-store.lock",
|
|
1243
|
+
"mcp-oauth-locks/secrets-store.lock",
|
|
1244
|
+
"thread-writer-locks/.coordination.lock",
|
|
1245
|
+
"thread-writer-locks/*-*-*-*-*.lock",
|
|
1246
|
+
"tmp/arg0/codex-arg0*/.lock"
|
|
1247
|
+
],
|
|
1248
|
+
configAllow: [
|
|
1249
|
+
".sandbox_migration",
|
|
1250
|
+
".sqlite-maintenance.lock",
|
|
1251
|
+
...[
|
|
1252
|
+
"apply_patch",
|
|
1253
|
+
"applypatch",
|
|
1254
|
+
"codex-execve-wrapper",
|
|
1255
|
+
"codex-linux-sandbox"
|
|
1256
|
+
].map((name) => ({
|
|
1257
|
+
path: `tmp/arg0/codex-arg0*/${name}`,
|
|
1258
|
+
kind: "symlink"
|
|
1259
|
+
}))
|
|
1242
1260
|
],
|
|
1243
|
-
configAllow: [".sandbox_migration", ".sqlite-maintenance.lock"],
|
|
1244
1261
|
credential: ["shell_snapshots/**"]
|
|
1245
1262
|
},
|
|
1246
1263
|
displayName: "Codex",
|
|
@@ -1492,7 +1509,7 @@ function getSpec(name) {
|
|
|
1492
1509
|
return CLI_AGENT_SPECS.find((spec) => spec.name === name);
|
|
1493
1510
|
}
|
|
1494
1511
|
//#endregion
|
|
1495
|
-
//#region ../../../packages/cli-agent-registry/dist/cli-auth-bundle-
|
|
1512
|
+
//#region ../../../packages/cli-agent-registry/dist/cli-auth-bundle-CCi5yJ_D.mjs
|
|
1496
1513
|
const cliAuthReferenceSchema = z.strictObject({
|
|
1497
1514
|
account: z.string().regex(/^[A-Za-z0-9][A-Za-z0-9@._+-]{0,127}$/),
|
|
1498
1515
|
secretEnv: z.string().regex(/^[A-Za-z_][A-Za-z0-9_]{0,63}$/),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as TraceExportResult, H as MaterializeProfileFileMountsOptions, O as SandboxInstance, U as MaterializeProfileFileMountsResult, W as ProfileFileMountBox, j as TraceExportSink } from "./index-
|
|
1
|
+
import { A as TraceExportResult, H as MaterializeProfileFileMountsOptions, O as SandboxInstance, U as MaterializeProfileFileMountsResult, W as ProfileFileMountBox, j as TraceExportSink } from "./index-DsHGCGVG.js";
|
|
2
2
|
import { G as AgentProfileConfidential, J as AgentProfileMcpServer, K as AgentProfileConfigValue, U as AgentProfile, X as AgentProfileSeat, Y as AgentProfileMetadata, b as SandboxSizePreset, bt as SandboxError, c as MintInteractiveSessionTokenOptions, k as AgentInteractiveSessionRef, q as AgentProfileFileMount, u as ScopedToken } from "./terminal-stream-types-8-sAl2J0.js";
|
|
3
3
|
import { $ as CreateSandboxFleetOptions, $t as SandboxFleetWorkspaceRestoreResult, A as SandboxIdentity, Bt as SandboxFleetParent, Ci as IntelligenceReportWindow, Di as SandboxEvent, Dn as SandboxResources, Ei as PromptResult, En as SandboxConfig, Et as SandboxFleetCostEstimate, Ft as SandboxFleetMachineRecord, Ga as ExecResult, Gr as ManagedProcessOptions, Gt as SandboxFleetToken, Ht as SandboxFleetPolicy, It as SandboxFleetMachineSpec, Jr as ManagedProcessRecord, Kr as ManagedProcessResumeOptions, Kt as SandboxFleetTraceBundle, Lt as SandboxFleetManifest, M as UsageInfo, Ma as GpuLeaseProviderName, Nt as SandboxFleetMachine, On as SandboxShapesInfo, Ot as SandboxFleetDispatchResponse, Pi as TurnBackendConfig, Q as AttachSandboxFleetMachineOptions, Qt as SandboxFleetWorkspaceReconcileResult, Ri as ConversationTurnOptions, St as SandboxFleetAgent, T as SshKeysManager, Ti as PromptOptions, Tn as CreateSandboxOptions, Tt as SandboxFleetArtifactSpec, Wr as ManagedProcessJobs, Wt as SandboxFleetSpend, X as FleetDriveTurnRequest, Xr as HttpClient, Xt as SandboxFleetUsage, Y as FleetDriveTurnOutcome, Yn as DownloadResult, Yr as ManagedProcessSpec, Yt as SandboxFleetTraceOptions, Z as TokenRefreshHandler, Zr as SdkTimingHook, _o as PublicBatchRunRequest, _t as ListSandboxFleetOptions, a as DeleteMatchingSandboxesResult, an as SandboxInfo, bi as IntelligenceReportBudget, bn as TeeAttestationResponse, bo as BatchEvent, bt as ReconcileSandboxFleetsOptions, cn as SandboxRunGeneration, ct as FleetDispatchResultBufferOptions, dt as FleetExecDispatchResult, en as SandboxFleetWorkspaceSnapshotResult, et as CreateSandboxFleetTokenOptions, fi as CreateIntelligenceReportOptions, ft as FleetMachineId, ga as BackendConfig, gt as FleetRunOptions, ht as FleetRunEvent, i as DeleteMatchingSandboxesOptions, it as FleetAgentResult, j as SubscriptionInfo, jn as SandboxShapePreset, jt as SandboxFleetInfo, kt as SandboxFleetDriverCapability, lt as FleetDispatchStreamOptions, mo as BatchResult, mt as FleetPromptDispatchResult, nt as FleetAgentId, ot as FleetDispatchCancelResult, pt as FleetPromptDispatchOptions, qn as DownloadOptions, r as DeleteMatchingSandboxesFilter, si as BatchRunOptions, st as FleetDispatchResultBuffer, tn as ListSandboxOptions, tt as CreateSandboxFleetWithCoordinatorOptions, ut as FleetExecDispatchOptions, vo as PublicBatchRunRequestInput, vt as ReapExpiredSandboxFleetsOptions, w as SecretsManager, wa as SecretBindingOptions, wi as PromptInputPart, wn as CreateRequestOptions, wr as SandboxEnvironment, wt as SandboxFleetArtifact, xi as IntelligenceReportCompareTo, xt as ReconcileSandboxFleetsResult, yi as IntelligenceReport, yn as TeeAttestationReport, yr as ExecOptions, yt as ReapExpiredSandboxFleetsResult, zi as ConversationTurnResult, zt as SandboxFleetOperationsSummary } from "./types-CPBYRULs.js";
|
|
4
4
|
import { t as LinesClient } from "./lines-D4FuZp3Z.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { C as encodePromptForWire, D as isBrowserRuntime, F as withoutCreateOnlyModelFields, O as applyRequestedModel, P as withProfileHarness, U as backendTypeSchema, j as normalizeRuntimeBackendConfig, k as assertCurrentBackendType, o as requestInteractiveSessionToken } from "./interactive-controller-CTKFnVTy.js";
|
|
2
2
|
import { r as agentProfileSchema } from "./profile-schema-nys6Qejd.js";
|
|
3
|
-
import { A as normalizeStartupDiagnostics, B as generateIdempotencyKey, D as isRetryableProfileFileMaterializeFailure, E as validateDeferredProfileFileMounts, F as normalizeSandboxShape, H as isRateLimitCreateError, M as normalizeConnection, N as normalizeEgressPolicyFields, O as normalizeCaptureProof, P as normalizeProxySecretReceipt, R as DEPLOY_WINDOW_RETRY_MS, T as splitInlineProfileSkills, U as isRetryableCreateError, V as isDeployWindowCreateError, W as waitForCreateRetry, j as parseStopPhase, k as normalizeSandboxCreateReceipt, n as createSandboxInstanceFromResponse, o as exportTraceBundle, w as splitInlineProfileFileMounts, z as createRetryDelayMs } from "./sandbox-
|
|
3
|
+
import { A as normalizeStartupDiagnostics, B as generateIdempotencyKey, D as isRetryableProfileFileMaterializeFailure, E as validateDeferredProfileFileMounts, F as normalizeSandboxShape, H as isRateLimitCreateError, M as normalizeConnection, N as normalizeEgressPolicyFields, O as normalizeCaptureProof, P as normalizeProxySecretReceipt, R as DEPLOY_WINDOW_RETRY_MS, T as splitInlineProfileSkills, U as isRetryableCreateError, V as isDeployWindowCreateError, W as waitForCreateRetry, j as parseStopPhase, k as normalizeSandboxCreateReceipt, n as createSandboxInstanceFromResponse, o as exportTraceBundle, w as splitInlineProfileFileMounts, z as createRetryDelayMs } from "./sandbox-Gu1g_Tnn.js";
|
|
4
4
|
import { D as isInsideReservedDir, E as ValidationError, S as ServerError, T as TimeoutError, _ as PartialFailureError, a as AuthError, g as NotFoundError, h as NetworkError, i as readResponseJson, n as parseErrorResponse, r as parseResponseError, x as SandboxError } from "./errors-BfR-fBvN.js";
|
|
5
5
|
import { n as combineAbortSignals } from "./abort-signal-CDxyloxz.js";
|
|
6
6
|
import { t as fetchSandboxApi } from "./api-request-DNrodWdz.js";
|
|
@@ -1211,11 +1211,11 @@ function isLocalSandboxEndpoint(baseUrl) {
|
|
|
1211
1211
|
}
|
|
1212
1212
|
}
|
|
1213
1213
|
async function resolveLocalCliAuthFiles(backendType) {
|
|
1214
|
-
const { discoverLocalCliAuthFiles } = await import("./local-cli-auth-
|
|
1214
|
+
const { discoverLocalCliAuthFiles } = await import("./local-cli-auth-BKPsZonH.js");
|
|
1215
1215
|
return discoverLocalCliAuthFiles(backendType);
|
|
1216
1216
|
}
|
|
1217
1217
|
async function loadLocalCliAuthExpectation(backendType) {
|
|
1218
|
-
const { describeLocalCliAuthExpectation: describe } = await import("./local-cli-auth-
|
|
1218
|
+
const { describeLocalCliAuthExpectation: describe } = await import("./local-cli-auth-BKPsZonH.js");
|
|
1219
1219
|
return describe(backendType);
|
|
1220
1220
|
}
|
|
1221
1221
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as agentProfileSchema } from "./profile-schema-nys6Qejd.js";
|
|
2
|
-
import { G as canonicalAgentProfileDigest } from "./sandbox-
|
|
2
|
+
import { G as canonicalAgentProfileDigest } from "./sandbox-Gu1g_Tnn.js";
|
|
3
3
|
import { E as ValidationError, s as CapabilityError, x as SandboxError } from "./errors-BfR-fBvN.js";
|
|
4
4
|
import { t as awaitWithAbort } from "./abort-signal-CDxyloxz.js";
|
|
5
|
-
import { r as cliAuthReferenceSchema } from "./cli-auth-bundle-
|
|
6
|
-
import "./cli-auth-bundle-
|
|
5
|
+
import { r as cliAuthReferenceSchema } from "./cli-auth-bundle-CCi5yJ_D-5w0ql9ee.js";
|
|
6
|
+
import "./cli-auth-bundle-CUi_Sbeh.js";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
//#region src/failure-kind.ts
|
|
9
9
|
const LOST_CODES = new Set(["BACKING_CONTAINER_MISSING", "SANDBOX_NOT_FOUND"]);
|
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-
|
|
1
|
+
import { B as WorkspaceImages, O as SandboxInstance, V as ProfileFileDeliveryReport, z as WorkspaceImagePublishRequestOptions } from "./index-DsHGCGVG.js";
|
|
2
2
|
import { Ct as ServerError, Dt as TimeoutError, Ot as ValidationError, St as SandboxFailureDetail, _t as ProfileFileMountPathError, bt as SandboxError, gt as PartialFailureError, ht as NotFoundError, it as AuthError, mt as NetworkError, ot as CapabilityError, rt as parseErrorResponse, ut as FileWriteConflictError, vt as QuotaError, wt as StateError, xt as SandboxErrorJson } from "./terminal-stream-types-8-sAl2J0.js";
|
|
3
3
|
import { En as SandboxConfig, Ga as ExecResult, Gr as ManagedProcessOptions, H as PreviewLinkInfo, Ia as WorkspaceImagePublishInput, In as NetworkConfig, Ja as SandboxEnvRecoveryView, Jr as ManagedProcessRecord, Kr as ManagedProcessResumeOptions, La as WorkspaceImagePublishResult, Ri as ConversationTurnOptions, Tn as CreateSandboxOptions, U as PreviewLinkManager, W as PreviewLinkWaitOptions, Wr as ManagedProcessJobs, Yr as ManagedProcessSpec, an as SandboxInfo, kn as SandboxStatus, oa as SessionMessageAdmission, qa as SandboxEnvRecovery, qr as ManagedProcessState, wi as PromptInputPart, yr as ExecOptions, zi as ConversationTurnResult } from "./types-CPBYRULs.js";
|
|
4
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-D4FuZp3Z.js";
|
|
5
|
-
import { Ct as InstanceRestartingError, Dt as sandboxFailureKind, Et as SandboxFailureKind, St as InstanceRecord, Tt as InstancesClient, _t as gatewaySeatTransport, an as backendRegistryEntrySchema, bt as HostedInstance, cn as isBackendRegistryInteractionKind, ct as SandboxResolvedSeat, dt as SeatOwnerReply, en as BackendRegistryCapabilities, ft as SeatOwnerTransport, gt as createSelectSeat, ht as SeatSelectionRequest, in as backendRegistryCapabilitiesSchema, ln as parseBackendRegistryResponse, lt as SandboxSeatCredentials, mt as SeatSelectionError, nn as BackendRegistryInteractionKind, on as backendRegistryInteractionKindSchema, ot as ISOLATED_CREATION_ATTESTATION_VERSION, pt as SeatResolutionObservation, rn as BackendRegistryResponse, sn as backendRegistryResponseSchema, st as CreateSelectSeatOptions, t as Sandbox, tn as BackendRegistryEntry, un as parseBackendRegistryResponseBody, ut as SandboxSeatSelectionInput, vt as ManagedProcessClient, xt as InstanceProfile, yt as EnsureInstanceOptions } from "./client-
|
|
5
|
+
import { Ct as InstanceRestartingError, Dt as sandboxFailureKind, Et as SandboxFailureKind, St as InstanceRecord, Tt as InstancesClient, _t as gatewaySeatTransport, an as backendRegistryEntrySchema, bt as HostedInstance, cn as isBackendRegistryInteractionKind, ct as SandboxResolvedSeat, dt as SeatOwnerReply, en as BackendRegistryCapabilities, ft as SeatOwnerTransport, gt as createSelectSeat, ht as SeatSelectionRequest, in as backendRegistryCapabilitiesSchema, ln as parseBackendRegistryResponse, lt as SandboxSeatCredentials, mt as SeatSelectionError, nn as BackendRegistryInteractionKind, on as backendRegistryInteractionKindSchema, ot as ISOLATED_CREATION_ATTESTATION_VERSION, pt as SeatResolutionObservation, rn as BackendRegistryResponse, sn as backendRegistryResponseSchema, st as CreateSelectSeatOptions, t as Sandbox, tn as BackendRegistryEntry, un as parseBackendRegistryResponseBody, ut as SandboxSeatSelectionInput, vt as ManagedProcessClient, xt as InstanceProfile, yt as EnsureInstanceOptions } from "./client-DDvpLjpm.js";
|
|
6
6
|
import { a as PublicTemplatesClient, i as PublicTemplatePublishRequestOptions, n as PublicTemplatePublishError, r as PublicTemplatePublishJob, t as PublicTemplatePublishArtifact } from "./public-templates-BGKly_bq.js";
|
|
7
7
|
export { AuthError, BackendRegistryCapabilities, BackendRegistryEntry, BackendRegistryInteractionKind, BackendRegistryResponse, CapabilityError, ConversationTurnOptions, ConversationTurnResult, CreateSandboxOptions, CreateSelectSeatOptions, EnsureInstanceOptions, ExecOptions, ExecResult, FileWriteConflictError, 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, sandboxFailureKind };
|
package/dist/core.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { b as ManagedProcessClient, r as WorkspaceImages, t as SandboxInstance } from "./sandbox-
|
|
1
|
+
import { b as ManagedProcessClient, r as WorkspaceImages, t as SandboxInstance } from "./sandbox-Gu1g_Tnn.js";
|
|
2
2
|
import { C as StateError, E as ValidationError, S as ServerError, T as TimeoutError, _ as PartialFailureError, a as AuthError, d as FileWriteConflictError, g as NotFoundError, h as NetworkError, n as parseErrorResponse, s as CapabilityError, v as ProfileFileMountPathError, x as SandboxError, y as QuotaError } from "./errors-BfR-fBvN.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-_dKi_uL1.js";
|
|
4
4
|
import { i as profileChannelReference, r as lineInstanceKey, t as LinesClient } from "./lines-DlLR4pHq.js";
|
|
5
5
|
import { PublicTemplatePublishError, PublicTemplatesClient } from "./public-templates.js";
|
|
6
|
-
import { a as LINE_APPLICATION_REPLY_MAX_CHARS, c as parseLineApplicationResult, i as gatewaySeatTransport, l as sandboxFailureKind, n as SeatSelectionError, o as LINE_APPLICATION_REQUEST_MAX_BYTES, r as createSelectSeat, s as parseLineApplicationRequest, t as ISOLATED_CREATION_ATTESTATION_VERSION } from "./core-
|
|
6
|
+
import { a as LINE_APPLICATION_REPLY_MAX_CHARS, c as parseLineApplicationResult, i as gatewaySeatTransport, l as sandboxFailureKind, n as SeatSelectionError, o as LINE_APPLICATION_REQUEST_MAX_BYTES, r as createSelectSeat, s as parseLineApplicationRequest, t as ISOLATED_CREATION_ATTESTATION_VERSION } from "./core-811WWCAl.js";
|
|
7
7
|
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, sandboxFailureKind };
|
|
@@ -2414,12 +2414,15 @@ declare const ITangleJobsAbi: readonly [{
|
|
|
2414
2414
|
}, {
|
|
2415
2415
|
readonly name: "resultCount";
|
|
2416
2416
|
readonly type: "uint32";
|
|
2417
|
-
}, {
|
|
2418
|
-
readonly name: "payment";
|
|
2419
|
-
readonly type: "uint256";
|
|
2420
2417
|
}, {
|
|
2421
2418
|
readonly name: "completed";
|
|
2422
2419
|
readonly type: "bool";
|
|
2420
|
+
}, {
|
|
2421
|
+
readonly name: "isRFQ";
|
|
2422
|
+
readonly type: "bool";
|
|
2423
|
+
}, {
|
|
2424
|
+
readonly name: "payment";
|
|
2425
|
+
readonly type: "uint256";
|
|
2423
2426
|
}];
|
|
2424
2427
|
}];
|
|
2425
2428
|
readonly stateMutability: "view";
|
|
@@ -2493,6 +2496,11 @@ interface TangleSandboxClientConfig {
|
|
|
2493
2496
|
blueprintContractAddress?: `0x${string}`;
|
|
2494
2497
|
/** ITangleJobs precompile address. Defaults to 0x...0808. */
|
|
2495
2498
|
contractAddress?: `0x${string}`;
|
|
2499
|
+
/**
|
|
2500
|
+
* EVM chain id the wallet signs for. Defaults to Tangle mainnet (5845).
|
|
2501
|
+
* A Tempo RPC reports 42431; viem rejects a write whose chain id disagrees.
|
|
2502
|
+
*/
|
|
2503
|
+
chainId?: number;
|
|
2496
2504
|
/** Max time to wait for a job to complete. No hard limit — agent jobs can run hours. Default: 14400000 (4h). */
|
|
2497
2505
|
jobTimeoutMs?: number;
|
|
2498
2506
|
/** Interval between job completion polls. Default: 5000 (5s). */
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { $ as SandboxInteractionResult, A as TraceExportResult, B as WorkspaceImages, Ct as CONTROL_PLANE_MCP_SERVER_NAME, D as ForkAcknowledgement, Dt as SandboxMcpServerEntry, Et as SandboxMcpEndpoint, F as toOtelJson, G as SplitInlineProfileFileMountsResult, H as MaterializeProfileFileMountsOptions, I as SandboxTaskSession, J as splitInlineProfileSkills, K as SplitInlineProfileSkillsResult, L as RawEvidenceExport, M as buildTraceExportPayload, N as exportTraceBundle, O as SandboxInstance, Ot as buildControlPlaneMcpConfig, P as otelTraceIdForTangleTrace, Q as SandboxInteractionResolution, R as SandboxSession, St as BuildSandboxMcpConfigOptions, Tt as SandboxMcpConfig, U as MaterializeProfileFileMountsResult, V as ProfileFileDeliveryReport, X as SandboxInteractionCommandResult, Y as validateDeferredProfileFileMounts, Z as SandboxInteractionConflict, _t as createInteractiveTerminalCapture, at as InteractiveSessionHost, bt as SandboxOperationFailedError, ct as InteractiveSessionRef, dt as InteractiveStopCommand, et as InteractiveControlClaimRequest, ft as InterruptResult, gt as InteractiveTerminalMetadata, h as TangleSandboxClient, ht as InteractiveTerminalFrameLog, it as InteractiveSessionHandleOptions, j as TraceExportSink, k as TraceExportFormat, kt as buildSandboxMcpConfig, lt as InteractiveSessionStartOptions, mt as InteractiveTerminalCapture, nt as InteractiveSessionControlClaim, ot as InteractiveSessionIncarnationId, pt as RespondToPermissionOptions, q as splitInlineProfileFileMounts, rt as InteractiveSessionHandle, st as InteractiveSessionInfo, tt as InteractivePromptCommand, ut as InteractiveSessionStartResult, v as TangleSandboxClientConfig, vt as createInteractiveTerminalSession, wt as SANDBOX_MCP_SERVER_NAME, xt as BuildControlPlaneMcpConfigOptions, yt as SandboxOperation, z as WorkspaceImagePublishRequestOptions } from "./index-
|
|
1
|
+
import { $ as SandboxInteractionResult, A as TraceExportResult, B as WorkspaceImages, Ct as CONTROL_PLANE_MCP_SERVER_NAME, D as ForkAcknowledgement, Dt as SandboxMcpServerEntry, Et as SandboxMcpEndpoint, F as toOtelJson, G as SplitInlineProfileFileMountsResult, H as MaterializeProfileFileMountsOptions, I as SandboxTaskSession, J as splitInlineProfileSkills, K as SplitInlineProfileSkillsResult, L as RawEvidenceExport, M as buildTraceExportPayload, N as exportTraceBundle, O as SandboxInstance, Ot as buildControlPlaneMcpConfig, P as otelTraceIdForTangleTrace, Q as SandboxInteractionResolution, R as SandboxSession, St as BuildSandboxMcpConfigOptions, Tt as SandboxMcpConfig, U as MaterializeProfileFileMountsResult, V as ProfileFileDeliveryReport, X as SandboxInteractionCommandResult, Y as validateDeferredProfileFileMounts, Z as SandboxInteractionConflict, _t as createInteractiveTerminalCapture, at as InteractiveSessionHost, bt as SandboxOperationFailedError, ct as InteractiveSessionRef, dt as InteractiveStopCommand, et as InteractiveControlClaimRequest, ft as InterruptResult, gt as InteractiveTerminalMetadata, h as TangleSandboxClient, ht as InteractiveTerminalFrameLog, it as InteractiveSessionHandleOptions, j as TraceExportSink, k as TraceExportFormat, kt as buildSandboxMcpConfig, lt as InteractiveSessionStartOptions, mt as InteractiveTerminalCapture, nt as InteractiveSessionControlClaim, ot as InteractiveSessionIncarnationId, pt as RespondToPermissionOptions, q as splitInlineProfileFileMounts, rt as InteractiveSessionHandle, st as InteractiveSessionInfo, tt as InteractivePromptCommand, ut as InteractiveSessionStartResult, v as TangleSandboxClientConfig, vt as createInteractiveTerminalSession, wt as SANDBOX_MCP_SERVER_NAME, xt as BuildControlPlaneMcpConfigOptions, yt as SandboxOperation, z as WorkspaceImagePublishRequestOptions } from "./index-DsHGCGVG.js";
|
|
2
2
|
import { At as SandboxCreateReceipt, Ct as ServerError, Dt as TimeoutError, Et as StreamInterruptionReason, N as AgentInteractiveTerminalSession, Ot as ValidationError, P as agentInteractiveSessionPromptRequestDigest, St as SandboxFailureDetail, Tt as StreamInterruptedError, _ as TerminalReadyTimings, _t as ProfileFileMountPathError, a as TerminalStreamOptions, at as BranchFanoutExceedsHostError, b as SandboxSizePreset, bt as SandboxError, c as MintInteractiveSessionTokenOptions, ct as EdgeNotReadyError, d as ScopedTokenScope, dt as GpuProviderNotConfiguredError, f as TERMINAL_WS_ECHO_SUBPROTOCOL, ft as GpuProviderRequirement, g as TerminalReadyInfo, gt as PartialFailureError, h as TerminalOutputMessage, ht as NotFoundError, i as TerminalStreamHandlers, it as AuthError, kt as SandboxCreateOutcome, l as MintScopedTokenOptions, lt as EgressProxyRecoveryError, m as TerminalInteractiveSessionIdentity, mt as NetworkError, n as TerminalStreamApiKey, nt as TerminalStreamError, ot as CapabilityError, p as TerminalExitInfo, pt as KeyBudgetExhaustedError, r as TerminalStreamBearerToken, rt as parseErrorResponse, s as TerminalStreamToken, st as CompliancePlacementError, t as TerminalAttachTimings, u as ScopedToken, ut as FileWriteConflictError, v as TerminalStreamAuthFormat, vt as QuotaError, wt as StateError, xt as SandboxErrorJson, y as SANDBOX_SIZE_PRESET_NAMES, yt as ResumeEnvRequiredError } from "./terminal-stream-types-8-sAl2J0.js";
|
|
3
3
|
import { $ as CreateSandboxFleetOptions, $a as RawEvidenceBoxDirectoryExport, $i as SessionExecutionStatus, $n as FileReadError, $r as ForkCounts, $t as SandboxFleetWorkspaceRestoreResult, A as SandboxIdentity, Aa as ProvisionStatus, Ai as SandboxTraceEvent, An as SandboxShape, Ar as DriverInfo, At as SandboxFleetDriverTimings, B as ProcessSignal, Ba as ProcessStatus, Bi as CreateSessionOptions, Bn as EgressDenial, Br as HostAgentDriverConfig, Bt as SandboxFleetParent, C as WorkspaceOperationLookup, Ca as RouterRoutingOptions, Ci as IntelligenceReportWindow, Cn as TerminalStream, Co as BatchTaskUsage, Cr as PublishPublicTemplateVersionOptions, Ct as SandboxFleetAgentSpec, D as ProvisionResult, Da as RolloutScorer, Di as SandboxEvent, Dn as SandboxResources, Do as EffectiveBackendProfile, Dr as CreateGpuLeaseOptions, Dt as SandboxFleetDispatchFailureClass, E as ProvisionEvent, Ea as RolloutChildResult, Ei as PromptResult, En as SandboxConfig, Eo as EffectiveBackend, Er as AttachGpuLeaseOptions, Et as SandboxFleetCostEstimate, F as EnsureDevServerOptions, Fa as GpuLeaseStatus, Fi as CommitTaskSessionOptions, Fn as EgressManager, Fr as GpuLeaseExecOptions, Ft as SandboxFleetMachineRecord, G as GitBranch, Ga as ExecResult, Gi as ListMessagesOptions, Gn as ChunkedUploadResult, Gr as ManagedProcessOptions, Gt as SandboxFleetToken, H as PreviewLinkInfo, Hi as DispatchPromptOptions, Hn as GitAuth, Hr as NonHostAgentDriverConfig, Ht as SandboxFleetPolicy, I as ExactProcessSpawnOptions, Ia as WorkspaceImagePublishInput, Ii as CompletedTurnPayload, In as NetworkConfig, Ir as GpuLeaseExecResult, It as SandboxFleetMachineSpec, J as GitStatus, Ja as SandboxEnvRecoveryView, Ji as SendSessionMessageRequest, Jn as DownloadProgress, Jr as ManagedProcessRecord, Jt as SandboxFleetTraceExport, K as GitCommit, Ki as PublicProfileConflict, Kn as DeleteOptions, Kr as ManagedProcessResumeOptions, Kt as SandboxFleetTraceBundle, L as Process, La as WorkspaceImagePublishResult, Li as CompletedTurnResult, Ln as NetworkManager, Lr as GpuLeaseManager, Lt as SandboxFleetManifest, M as UsageInfo, Ma as GpuLeaseProviderName, Mi as SandboxTraceOptions, Mn as SandboxResourceUsage, Mr as GpuLease, Mt as SandboxFleetIntelligenceEnvelope, N as WaitForOptions, Na as GpuLeaseProviderState, Ni as TokenUsage, Nn as SandboxRuntimeCapabilities, Nr as GpuLeaseBilling, Nt as SandboxFleetMachine, O as ProvisionStep, Oa as RolloutStatus, Oi as SandboxIntelligenceEnvelope, On as SandboxShapesInfo, Oo as EffectiveBackendSource, Or as DockerDriverConfig, Ot as SandboxFleetDispatchResponse, P as DevServerInfo, Pa as GpuLeaseProviderStatus, Pi as TurnBackendConfig, Pn as StorageConfig, Pr as GpuLeaseCommandResult, Pt as SandboxFleetMachineMeteredUsage, Q as AttachSandboxFleetMachineOptions, Qa as RawEvidenceBoxArchiveManifest, Qi as SessionExecutionInfo, Qn as FileReadBatchResult, Qr as BranchOptions, Qt as SandboxFleetWorkspaceReconcileResult, R as ProcessLogEntry, Ra as ProcessInfo, Ri as ConversationTurnOptions, Rn as SandboxEgressUsage, Rr as GpuLeaseProviders, Rt as SandboxFleetManifestMachine, S as StopOptions, Sa as McpServerConfig, Si as IntelligenceReportSubjectType, Sn as TeePublicKeyResponse, So as BatchSidecarGroup, Sr as PublishPublicTemplateOptions, St as SandboxFleetAgent, Ta as SecretInfo, Ti as PromptOptions, Tn as CreateSandboxOptions, To as BackendType, Tr as AcceleratorKind, Tt as SandboxFleetArtifactSpec, U as PreviewLinkManager, Ui as DispatchedSession, Un as GitConfig, Ut as SandboxFleetProfileRef, V as ProcessSpawnOptions, Va as SessionStatus, Vi as CreateTaskSessionOptions, Vn as MAX_EGRESS_DENIALS_LIMIT, Vr as HostAgentRuntimeBackend, Vt as SandboxFleetPlacement, W as PreviewLinkWaitOptions, Wi as DriveTurnOptions, Wn as ChunkedUploadOptions, Wr as ManagedProcessJobs, Wt as SandboxFleetSpend, X as FleetDriveTurnRequest, Xa as RawEvidenceArchiveManifest, Xi as SessionBackendCredentials, Xn as FileInfo, Xt as SandboxFleetUsage, Y as FleetDriveTurnOutcome, Ya as NativeStoreHomeCopy, Yi as SentSessionMessage, Yn as DownloadResult, Yr as ManagedProcessSpec, Yt as SandboxFleetTraceOptions, Z as TokenRefreshHandler, Za as RawEvidenceArchiveManifestNative, Zi as SessionEventStreamOptions, Zn as FileReadBatchOptions, Zt as SandboxFleetWorkspace, _ as SnapshotInfo, _a as BackendInfo, _n as StartupOperation, _r as SearchMatch, _t as ListSandboxFleetOptions, a as DeleteMatchingSandboxesResult, aa as SessionMessage, ai as WaitForRolloutOptions, an as SandboxInfo, ao as RawEvidenceRecordsFile, ar as FileTreeResult, at as FleetAgentRunStatus, b as SnapshotRemoteSync, ba as BackendRuntimeConfigUpdate, bi as IntelligenceReportBudget, bn as TeeAttestationResponse, bo as BatchEvent, br as PublicTemplateInfo, bt as ReconcileSandboxFleetsOptions, c as SandboxDeleteOptions, ca as SessionResultOptions, cn as SandboxRunGeneration, cr as FileWriteResult, ct as FleetDispatchResultBufferOptions, d as SandboxOperationKind, da as TaskSessionFileChange, dn as SandboxTerminalCreateOptions, do as assertDeclaredSecretsHeld, dr as RenameOptions, ea as SessionFailureReason, ei as ForkIdempotency, en as SandboxFleetWorkspaceSnapshotResult, eo as RawEvidenceBoxExportOptions, er as FileReadResult, f as SandboxOperationState, fa as TaskSessionInfo, fi as CreateIntelligenceReportOptions, fn as SandboxTerminalInfo, fo as declaredSecretBaseToken, fr as UploadOptions, ft as FleetMachineId, g as SnapshotIdempotency, ga as BackendConfig, gi as DurablePlanFollowUpResume, gn as StartupDiagnostics, go as BatchTaskInput, gr as WriteManyOptions, gt as FleetRunOptions, h as SnapshotDeleteOutcome, ha as BackendCapabilities, hi as DurablePlanDecisionResult, hn as SandboxTerminals, ho as BatchTaskResult, hr as WriteManyFile, ht as FleetRunEvent, i as DeleteMatchingSandboxesOptions, ia as SessionListOptions, ii as RolloutStartResult, in as SandboxConnection, io as RawEvidencePayloadFile, ir as FileTreeOptions, it as FleetAgentResult, j as SubscriptionInfo, ja as GPU_LEASE_PROVIDER_NAMES, ji as SandboxTraceExport, jn as SandboxShapePreset, jr as DriverType, jt as SandboxFleetInfo, ka as RolloutTurnPart, ki as SandboxTraceBundle, kn as SandboxStatus, ko as parseBackendType, kr as DriverConfig, kt as SandboxFleetDriverCapability, l as SandboxDeleteOutcome, la as TaskSessionChanges, ln as SandboxRuntimeHealth, lo as DECLARED_SECRET_HOSTS_ENV_VAR, lr as ListOptions, lt as FleetDispatchStreamOptions, m as SnapshotDeleteAcknowledgement, ma as TurnDriveResult, mi as DurablePlanDecisionOptions, mn as SandboxTerminalRequestOptions, mo as BatchResult, mr as WriteFileOptions, mt as FleetPromptDispatchResult, n as DeleteMatchingSandboxResult, na as SessionInfo, ni as Rollout, nn as SSHCommandDescriptor, no as RawEvidenceExportOptions, nr as FileSystem, nt as FleetAgentId, oa as SessionMessageAdmission, oi as BatchBackend, on as SandboxPortBinding, or as FileUsageOptions, ot as FleetDispatchCancelResult, p as SandboxRemovalState, pa as TaskSessionProfile, pi as DurablePlan, pn as SandboxTerminalManager, po as parseDeclaredSecretsEnv, pr as UploadProgress, pt as FleetPromptDispatchOptions, q as GitDiff, qa as SandboxEnvRecovery, qi as SendSessionMessageOptions, qn as DownloadOptions, qr as ManagedProcessState, qt as SandboxFleetTraceEvent, r as DeleteMatchingSandboxesFilter, ra as SessionInterruptOptions, ri as RolloutOptions, rn as SSHCredentials, ro as RawEvidenceNativeFile, rr as FileTreeFile, rt as FleetAgentPlacement, s as SandboxDeleteAcknowledgement, sa as SessionMessageInputPart, si as BatchRunOptions, sn as SandboxPortPreviewLink, so as baseProxyToken, sr as FileUsageResult, st as FleetDispatchResultBuffer, t as DeleteMatchingSandboxOutcome, ta as SessionForkOptions, ti as ForkLookupOptions, tn as ListSandboxOptions, to as RawEvidenceDirectoryExport, tr as FileRenameResult, tt as CreateSandboxFleetWithCoordinatorOptions, u as SandboxOperationInfo, ua as TaskSessionCommitResult, un as SandboxTerminalAttachOptions, uo as SecretBinding, ur as MkdirOptions, ut as FleetExecDispatchOptions, v as SnapshotOptions, va as BackendManager, vi as EventStreamOptions, vn as TeeAttestationOptions, vo as PublicBatchRunRequestInput, vr as SearchOptions, vt as ReapExpiredSandboxFleetsOptions, w as SecretsManager, wa as SecretBindingOptions, wi as PromptInputPart, wn as CreateRequestOptions, wo as ALL_BACKEND_TYPES, wr as SandboxEnvironment, wt as SandboxFleetArtifact, x as SnapshotResult, xa as BackendStatus, xi as IntelligenceReportCompareTo, xn as TeePublicKey, xo as BatchEventDataMap, xr as PublicTemplateVersionInfo, xt as ReconcileSandboxFleetsResult, ya as BackendMcpServerStatus, yi as IntelligenceReport, yn as TeeAttestationReport, yo as BatchBackendStats, yr as ExecOptions, yt as ReapExpiredSandboxFleetsResult, z as ProcessManager, za as ProcessListOptions, zi as ConversationTurnResult, zn as EgressPolicy, zr as GpuLeaseProvidersOptions, zt as SandboxFleetOperationsSummary } from "./types-CPBYRULs.js";
|
|
4
4
|
import { A as LineRespondAgent, B as LineVoiceOptions, C as LineMessage, 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, L as LineThread, M as LineRole, N as LineSendInput, O as LineReplyCodeInput, P as LineSendReceipt, R as LineTransport, S as LineMemberSpec, 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, c as LineAllowanceSubject, d as LineAttachment, f as LineAttachmentReauthorization, g as LineInstanceAttachOptions, h as LineImage, i as profileChannelReference, j as LineRespondView, k as LineReplyGate, l as LineApplicationAttachOptions, m as LineFromConnectionInput, n as SandboxLines, o as LineAgentRolePolicy, p as LineExecutionKey, q as LineApplicationState, r as lineInstanceKey, s as LineAllowance, t as LinesClient, u as LineAttachOptions, v as LineLimits, w as LineNumberInventory, x as LineMemberPatch, y as LineMember, z as LineVoice } from "./lines-D4FuZp3Z.js";
|
|
5
5
|
import { _ as InteractiveSessionStatus, a as InteractiveSessionControlController, c as InteractiveSessionIdentity, d as interactiveSessionIdentityDigest, f as InteractiveAttachOptions, g as InteractiveRequestOptions, h as InteractiveObserveOptions, i as INTERACTIVE_CONTROL_CLEANUP_TIMEOUT_MS, l as InteractiveSessionNotRunningError, m as InteractiveControlClaimOptions, n as BrowserInteractiveSessionControlControllerOptions, o as InteractiveSessionControlControllerOptions, p as InteractiveControlClaimAcknowledgement, r as browserInteractiveControlHolderId, s as InteractiveSessionControlTransport, t as BrowserInteractiveSessionControlController, u as createInteractiveControlHolderId } from "./browser-interactive-control-controller-CLxkpYNV.js";
|
|
6
6
|
import { a as InteractiveSessionControllerOptions, i as InteractiveSessionController, n as BrowserInteractiveSessionControllerOptions, o as InteractiveSessionControllerTransport, r as InteractiveAttachRequest, t as BrowserInteractiveSessionController } from "./interactive-controller-B_D-v0WS.js";
|
|
7
|
-
import { $ as ImageBuildClient, $t as IntelligenceClient, A as buildTangleRouterResponsesWebSearchRequest, At as CreateConfidentialSandboxOptions, B as MANAGE_SANDBOXES_TOOL_NAME, Bt as TeeAttestationHeartbeatSample, C as RunTangleRouterEvalMatrixInSandboxOptions, Ct as InstanceRestartingError, D as RouterSearchConfigOptions, Dt as sandboxFailureKind, E as RouterSearchConfig, Et as SandboxFailureKind, F as SANDBOX_SIZE_PRESETS, Ft as validateBatchRunRequest, G as manageSandboxesInputSchema, Gt as ParseSSEStreamOptions, H as ManageSandboxesTool, Ht as BuildProgressEvent, I as resolveSandboxResources, It as normalizeRuntimeBackendConfig, J as collectAgentFinalMessageText, Jt as CreateTeamOptions, K as downloadFile, Kt as ParsedSSEEvent, L as sandboxResourcesForSize, Lt as requestedPublicProfileDigest, M as buildTangleRouterSearchProfile, Mt as generateAttestationNonce, N as fetchTangleRouterSearchConfig, Nt as BatchResultAccumulator, O as TangleSearchProvider, Ot as ConfidentialSandboxResult, P as DEFAULT_SANDBOX_SIZE, Pt as createBatchResultAccumulator, Q as Image, Qt as TeamMember, R as materializeProfileFileMounts, Rt as TeeAttestationHeartbeat, S as RouterImportedRunResponse, St as InstanceRecord, T as runTangleRouterEvalMatrixInSandbox, Tt as InstancesClient, U as ManageSandboxesToolOptions, Ut as ImageSpec, V as ManageSandboxesInput, Vt as startTeeAttestationHeartbeat, W as createManageSandboxesTool, Wt as DEFAULT_MAX_EXECUTION_TTL_MS, X as getSandboxEventText, Xt as Team, Y as collectAgentResponseText, Yt as InviteTeamMemberOptions, Z as isToolBearingEvent, Zt as TeamInvitation, _ as RouterEvalMatrixPayload, _t as gatewaySeatTransport, a as SessionBroadcastEvent, an as backendRegistryEntrySchema, at as generateDockerfile, b as RouterEvalMatrixScenario, bt as HostedInstance, c as RunPlacement, cn as isBackendRegistryInteractionKind, ct as SandboxResolvedSeat, d as RunWaitOptions, dt as SeatOwnerReply, en as BackendRegistryCapabilities, et as ImageBuildClientConfig, f as RunsClient, ft as SeatOwnerTransport, g as RouterEvalMatrixHarness, gt as createSelectSeat, h as RouterEvalMatrixCaseResult, ht as SeatSelectionRequest, i as terminalUpgradeHeadersSupported, in as backendRegistryCapabilitiesSchema, it as ImageBuilder, j as buildTangleRouterSearchBackend, jt as createConfidentialSandbox, k as buildTangleRouterEvalMatrixRequest, kt as ConfidentialTeeType, l as RunPlacementRecord, ln as parseBackendRegistryResponse, lt as SandboxSeatCredentials, m as RouterEvalMatrixAgentProfile, mt as SeatSelectionError, n as SandboxFleetClient, nn as BackendRegistryInteractionKind, nt as ImageBuildOptions, o as SessionBroadcastResult, on as backendRegistryInteractionKindSchema, ot as ISOLATED_CREATION_ATTESTATION_VERSION, p as RunsHttpClient, pt as SeatResolutionObservation, q as applySandboxEventText, qt as parseSSEStream, r as SandboxFleet, rn as BackendRegistryResponse, rt as ImageBuildResult, s as RunOptions, sn as backendRegistryResponseSchema, st as CreateSelectSeatOptions, t as Sandbox, tn as BackendRegistryEntry, tt as ImageBuildFetchClient, u as RunRecord, un as parseBackendRegistryResponseBody, ut as SandboxSeatSelectionInput, v as RouterEvalMatrixSandboxBox, vt as ManagedProcessClient, w as RunTangleRouterEvalMatrixInSandboxResult, wt as InstanceStart, x as RouterEvalMatrixSuiteResponse, xt as InstanceProfile, y as RouterEvalMatrixSandboxClient, yt as EnsureInstanceOptions, z as MANAGE_SANDBOXES_PARAMETERS, zt as TeeAttestationHeartbeatOptions } from "./client-
|
|
7
|
+
import { $ as ImageBuildClient, $t as IntelligenceClient, A as buildTangleRouterResponsesWebSearchRequest, At as CreateConfidentialSandboxOptions, B as MANAGE_SANDBOXES_TOOL_NAME, Bt as TeeAttestationHeartbeatSample, C as RunTangleRouterEvalMatrixInSandboxOptions, Ct as InstanceRestartingError, D as RouterSearchConfigOptions, Dt as sandboxFailureKind, E as RouterSearchConfig, Et as SandboxFailureKind, F as SANDBOX_SIZE_PRESETS, Ft as validateBatchRunRequest, G as manageSandboxesInputSchema, Gt as ParseSSEStreamOptions, H as ManageSandboxesTool, Ht as BuildProgressEvent, I as resolveSandboxResources, It as normalizeRuntimeBackendConfig, J as collectAgentFinalMessageText, Jt as CreateTeamOptions, K as downloadFile, Kt as ParsedSSEEvent, L as sandboxResourcesForSize, Lt as requestedPublicProfileDigest, M as buildTangleRouterSearchProfile, Mt as generateAttestationNonce, N as fetchTangleRouterSearchConfig, Nt as BatchResultAccumulator, O as TangleSearchProvider, Ot as ConfidentialSandboxResult, P as DEFAULT_SANDBOX_SIZE, Pt as createBatchResultAccumulator, Q as Image, Qt as TeamMember, R as materializeProfileFileMounts, Rt as TeeAttestationHeartbeat, S as RouterImportedRunResponse, St as InstanceRecord, T as runTangleRouterEvalMatrixInSandbox, Tt as InstancesClient, U as ManageSandboxesToolOptions, Ut as ImageSpec, V as ManageSandboxesInput, Vt as startTeeAttestationHeartbeat, W as createManageSandboxesTool, Wt as DEFAULT_MAX_EXECUTION_TTL_MS, X as getSandboxEventText, Xt as Team, Y as collectAgentResponseText, Yt as InviteTeamMemberOptions, Z as isToolBearingEvent, Zt as TeamInvitation, _ as RouterEvalMatrixPayload, _t as gatewaySeatTransport, a as SessionBroadcastEvent, an as backendRegistryEntrySchema, at as generateDockerfile, b as RouterEvalMatrixScenario, bt as HostedInstance, c as RunPlacement, cn as isBackendRegistryInteractionKind, ct as SandboxResolvedSeat, d as RunWaitOptions, dt as SeatOwnerReply, en as BackendRegistryCapabilities, et as ImageBuildClientConfig, f as RunsClient, ft as SeatOwnerTransport, g as RouterEvalMatrixHarness, gt as createSelectSeat, h as RouterEvalMatrixCaseResult, ht as SeatSelectionRequest, i as terminalUpgradeHeadersSupported, in as backendRegistryCapabilitiesSchema, it as ImageBuilder, j as buildTangleRouterSearchBackend, jt as createConfidentialSandbox, k as buildTangleRouterEvalMatrixRequest, kt as ConfidentialTeeType, l as RunPlacementRecord, ln as parseBackendRegistryResponse, lt as SandboxSeatCredentials, m as RouterEvalMatrixAgentProfile, mt as SeatSelectionError, n as SandboxFleetClient, nn as BackendRegistryInteractionKind, nt as ImageBuildOptions, o as SessionBroadcastResult, on as backendRegistryInteractionKindSchema, ot as ISOLATED_CREATION_ATTESTATION_VERSION, p as RunsHttpClient, pt as SeatResolutionObservation, q as applySandboxEventText, qt as parseSSEStream, r as SandboxFleet, rn as BackendRegistryResponse, rt as ImageBuildResult, s as RunOptions, sn as backendRegistryResponseSchema, st as CreateSelectSeatOptions, t as Sandbox, tn as BackendRegistryEntry, tt as ImageBuildFetchClient, u as RunRecord, un as parseBackendRegistryResponseBody, ut as SandboxSeatSelectionInput, v as RouterEvalMatrixSandboxBox, vt as ManagedProcessClient, w as RunTangleRouterEvalMatrixInSandboxResult, wt as InstanceStart, x as RouterEvalMatrixSuiteResponse, xt as InstanceProfile, y as RouterEvalMatrixSandboxClient, yt as EnsureInstanceOptions, z as MANAGE_SANDBOXES_PARAMETERS, zt as TeeAttestationHeartbeatOptions } from "./client-DDvpLjpm.js";
|
|
8
8
|
import { a as deriveAgentRunOutcome, i as deriveAgentResultOutcome, n as AgentRunOutcomeTracker, o as projectAgentTerminalRecord, r as createAgentRunOutcomeTracker, t as AgentRunOutcome } from "./agent-run-outcome-ZIHwvUOG.js";
|
|
9
9
|
import { d as AnyTokenPayload, h as IssueCollaborationTokenOptions, m as CollaborationTokenPayload, p as CollaborationAccess } from "./index-Dslyq85a.js";
|
|
10
10
|
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-Dqcr9p97.js";
|
package/dist/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { B as projectAgentTerminalRecord, H as ALL_BACKEND_TYPES, K as parseBackendType, L as createAgentRunOutcomeTracker, M as requestedPublicProfileDigest, R as deriveAgentResultOutcome, U as backendTypeSchema, V as TERMINAL_WS_ECHO_SUBPROTOCOL, W as isolationPrincipalSchema, i as terminalUpgradeHeadersSupported, j as normalizeRuntimeBackendConfig, n as InteractiveSessionController, r as TerminalStream, t as BrowserInteractiveSessionController, z as deriveAgentRunOutcome } from "./interactive-controller-CTKFnVTy.js";
|
|
2
2
|
import { a as INTERACTIVE_CONTROL_CLEANUP_TIMEOUT_MS, k as agentInteractiveSessionPromptRequestDigest, l as createInteractiveControlHolderId, n as browserInteractiveControlHolderId, o as InteractiveSessionControlController, s as InteractiveSessionNotRunningError, t as BrowserInteractiveSessionControlController, u as interactiveSessionIdentityDigest } from "./browser-interactive-control-controller-l4Yqgoug.js";
|
|
3
3
|
import { i as SANDBOX_SIZE_PRESET_NAMES, r as agentProfileSchema, t as agentProfileConfidentialSchema } from "./profile-schema-nys6Qejd.js";
|
|
4
|
-
import { C as materializeProfileFileMounts, E as validateDeferredProfileFileMounts, S as SandboxOperationFailedError, T as splitInlineProfileSkills, _ as collectAgentResponseText, a as buildTraceExportPayload, b as ManagedProcessClient, c as toOtelJson, d as InteractiveSessionHandle, f as InteractiveTerminalFrameLog, g as collectAgentFinalMessageText, h as applySandboxEventText, i as MAX_EGRESS_DENIALS_LIMIT, l as SandboxTaskSession, m as createInteractiveTerminalSession, o as exportTraceBundle, p as createInteractiveTerminalCapture, r as WorkspaceImages, s as otelTraceIdForTangleTrace, t as SandboxInstance, u as SandboxSession, v as getSandboxEventText, w as splitInlineProfileFileMounts, x as SandboxOperation, y as isToolBearingEvent } from "./sandbox-
|
|
4
|
+
import { C as materializeProfileFileMounts, E as validateDeferredProfileFileMounts, S as SandboxOperationFailedError, T as splitInlineProfileSkills, _ as collectAgentResponseText, a as buildTraceExportPayload, b as ManagedProcessClient, c as toOtelJson, d as InteractiveSessionHandle, f as InteractiveTerminalFrameLog, g as collectAgentFinalMessageText, h as applySandboxEventText, i as MAX_EGRESS_DENIALS_LIMIT, l as SandboxTaskSession, m as createInteractiveTerminalSession, o as exportTraceBundle, p as createInteractiveTerminalCapture, r as WorkspaceImages, s as otelTraceIdForTangleTrace, t as SandboxInstance, u as SandboxSession, v as getSandboxEventText, w as splitInlineProfileFileMounts, x as SandboxOperation, y as isToolBearingEvent } from "./sandbox-Gu1g_Tnn.js";
|
|
5
5
|
import { C as StateError, E as ValidationError, S as ServerError, T as TimeoutError, _ as PartialFailureError, a as AuthError, b as ResumeEnvRequiredError, c as CompliancePlacementError, d as FileWriteConflictError, f as GpuProviderNotConfiguredError, g as NotFoundError, h as NetworkError, l as EdgeNotReadyError, n as parseErrorResponse, o as BranchFanoutExceedsHostError, p as KeyBudgetExhaustedError, s as CapabilityError, t as TerminalStreamError, u as EgressProxyRecoveryError, v as ProfileFileMountPathError, w as StreamInterruptedError, x as SandboxError, y as QuotaError } from "./errors-BfR-fBvN.js";
|
|
6
|
-
import { _ as createBatchResultAccumulator, a as InstancesClient, c as runtimeWorkspaceCwdSchema, d as backendRegistryInteractionKindSchema, f as backendRegistryResponseSchema, g as IntelligenceClient, h as parseBackendRegistryResponseBody, i as InstanceRestartingError, l as backendRegistryCapabilitiesSchema, m as parseBackendRegistryResponse, n as RunsClient, o as SandboxFleetClient, p as isBackendRegistryInteractionKind, r as HostedInstance, s as SandboxFleet, t as Sandbox, u as backendRegistryEntrySchema, v as validateBatchRunRequest } from "./client-
|
|
6
|
+
import { _ as createBatchResultAccumulator, a as InstancesClient, c as runtimeWorkspaceCwdSchema, d as backendRegistryInteractionKindSchema, f as backendRegistryResponseSchema, g as IntelligenceClient, h as parseBackendRegistryResponseBody, i as InstanceRestartingError, l as backendRegistryCapabilitiesSchema, m as parseBackendRegistryResponse, n as RunsClient, o as SandboxFleetClient, p as isBackendRegistryInteractionKind, r as HostedInstance, s as SandboxFleet, t as Sandbox, u as backendRegistryEntrySchema, v as validateBatchRunRequest } from "./client-_dKi_uL1.js";
|
|
7
7
|
import { a as CollaborationClient, i as parseCollaborationDocumentId, n as buildCollaborationDocumentId, r as normalizeCollaborationPath, t as CollaborationFileBridge } from "./collaboration-CX_XvFZZ.js";
|
|
8
8
|
import { t as parseSSEStream } from "./sse-parser-DrI47LyG.js";
|
|
9
9
|
import { i as profileChannelReference, n as SandboxLines, r as lineInstanceKey, t as LinesClient } from "./lines-DlLR4pHq.js";
|
|
10
10
|
import { t as downloadFile } from "./file-download-CICuFwGb.js";
|
|
11
11
|
import { PublicTemplatePublishError, PublicTemplatesClient } from "./public-templates.js";
|
|
12
|
-
import { a as LINE_APPLICATION_REPLY_MAX_CHARS, c as parseLineApplicationResult, i as gatewaySeatTransport, l as sandboxFailureKind, n as SeatSelectionError, o as LINE_APPLICATION_REQUEST_MAX_BYTES, r as createSelectSeat, s as parseLineApplicationRequest, t as ISOLATED_CREATION_ATTESTATION_VERSION } from "./core-
|
|
13
|
-
import { s as TangleSandboxClient } from "./tangle-
|
|
12
|
+
import { a as LINE_APPLICATION_REPLY_MAX_CHARS, c as parseLineApplicationResult, i as gatewaySeatTransport, l as sandboxFailureKind, n as SeatSelectionError, o as LINE_APPLICATION_REQUEST_MAX_BYTES, r as createSelectSeat, s as parseLineApplicationRequest, t as ISOLATED_CREATION_ATTESTATION_VERSION } from "./core-811WWCAl.js";
|
|
13
|
+
import { s as TangleSandboxClient } from "./tangle-DsVP5T2V.js";
|
|
14
14
|
import { z } from "zod";
|
|
15
15
|
//#region ../../../packages/runtime-contracts/dist/model-key-proxy.js
|
|
16
16
|
const MANAGED_MODEL_KEY_SENTINEL = "proxy-managed-per-request";
|
|
@@ -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-CCi5yJ_D-5w0ql9ee.js";
|
|
2
2
|
import { existsSync, readFileSync } from "node:fs";
|
|
3
3
|
import { basename, dirname, join } from "node:path";
|
|
4
4
|
import { homedir } from "node:os";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { O as SandboxInstance } from "./index-
|
|
1
|
+
import { O as SandboxInstance } from "./index-DsHGCGVG.js";
|
|
2
2
|
import { F as EnsureDevServerOptions, H as PreviewLinkInfo } from "./types-CPBYRULs.js";
|
|
3
|
-
import { t as Sandbox } from "./client-
|
|
3
|
+
import { t as Sandbox } from "./client-DDvpLjpm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/agent/preview-operations.d.ts
|
|
6
6
|
type AgentPreviewOptions = Pick<EnsureDevServerOptions, "sessionId" | "cwd"> & {
|
|
@@ -11,8 +11,8 @@ import { t as SIDECAR_PROXY_ERROR_HEADER } from "./sidecar-proxy-error-5DpLmHeN.
|
|
|
11
11
|
import { t as parseSSEStream } from "./sse-parser-DrI47LyG.js";
|
|
12
12
|
import { s as uploadChunked } from "./chunked-upload-CyP-FOeZ.js";
|
|
13
13
|
import { t as runPreparedProcess } from "./prepared-process-C-rwZPIZ.js";
|
|
14
|
-
import { a as backendTypeSchema, r as cliAuthReferenceSchema } from "./cli-auth-bundle-
|
|
15
|
-
import "./cli-auth-bundle-
|
|
14
|
+
import { a as backendTypeSchema, r as cliAuthReferenceSchema } from "./cli-auth-bundle-CCi5yJ_D-5w0ql9ee.js";
|
|
15
|
+
import "./cli-auth-bundle-CUi_Sbeh.js";
|
|
16
16
|
import { n as SandboxLines } from "./lines-DlLR4pHq.js";
|
|
17
17
|
import { t as downloadFile } from "./file-download-CICuFwGb.js";
|
|
18
18
|
import { z } from "zod";
|
package/dist/tangle/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as JsonResponseParamTypes, E as SandboxIdParamTypes, S as JOB_SANDBOX_DELETE, T as SandboxCreateResponseParamTypes, _ as TANGLE_JOBS_CONTRACT, a as fetchQuote, b as AgentSandboxBlueprintAbi, c as parseQuoteResponse, d as OperatorSession, f as OperatorSessionError, g as TANGLE_CHAIN_ID, h as TangleSandboxClient, i as SignedQuote, l as validateQuote, m as SignMessage, n as QuoteDomain, o as inputsHashOf, p as OperatorSessionToken, r as QuoteError, s as jobQuoteDigest, t as JobQuoteDetails, u as OperatorChallenge, v as TangleSandboxClientConfig, w as SandboxCreateParamTypes, x as JOB_SANDBOX_CREATE, y as ITangleJobsAbi } from "../index-
|
|
1
|
+
import { C as JsonResponseParamTypes, E as SandboxIdParamTypes, S as JOB_SANDBOX_DELETE, T as SandboxCreateResponseParamTypes, _ as TANGLE_JOBS_CONTRACT, a as fetchQuote, b as AgentSandboxBlueprintAbi, c as parseQuoteResponse, d as OperatorSession, f as OperatorSessionError, g as TANGLE_CHAIN_ID, h as TangleSandboxClient, i as SignedQuote, l as validateQuote, m as SignMessage, n as QuoteDomain, o as inputsHashOf, p as OperatorSessionToken, r as QuoteError, s as jobQuoteDigest, t as JobQuoteDetails, u as OperatorChallenge, v as TangleSandboxClientConfig, w as SandboxCreateParamTypes, x as JOB_SANDBOX_CREATE, y as ITangleJobsAbi } from "../index-DsHGCGVG.js";
|
|
2
2
|
export { AgentSandboxBlueprintAbi, ITangleJobsAbi, JOB_SANDBOX_CREATE, JOB_SANDBOX_DELETE, JobQuoteDetails, JsonResponseParamTypes, OperatorChallenge, OperatorSession, OperatorSessionError, OperatorSessionToken, QuoteDomain, QuoteError, SandboxCreateParamTypes, SandboxCreateResponseParamTypes, SandboxIdParamTypes, SignMessage, SignedQuote, TANGLE_CHAIN_ID, TANGLE_JOBS_CONTRACT, TangleSandboxClient, TangleSandboxClientConfig, fetchQuote, inputsHashOf, jobQuoteDigest, parseQuoteResponse, validateQuote };
|
package/dist/tangle/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as SandboxCreateParamTypes, a as parseQuoteResponse, c as OperatorSession, d as TANGLE_JOBS_CONTRACT, f as ITangleJobsAbi, g as JsonResponseParamTypes, h as JOB_SANDBOX_DELETE, i as jobQuoteDigest, l as OperatorSessionError, m as JOB_SANDBOX_CREATE, n as fetchQuote, o as validateQuote, p as AgentSandboxBlueprintAbi, r as inputsHashOf, s as TangleSandboxClient, t as QuoteError, u as TANGLE_CHAIN_ID, v as SandboxCreateResponseParamTypes, y as SandboxIdParamTypes } from "../tangle-
|
|
1
|
+
import { _ as SandboxCreateParamTypes, a as parseQuoteResponse, c as OperatorSession, d as TANGLE_JOBS_CONTRACT, f as ITangleJobsAbi, g as JsonResponseParamTypes, h as JOB_SANDBOX_DELETE, i as jobQuoteDigest, l as OperatorSessionError, m as JOB_SANDBOX_CREATE, n as fetchQuote, o as validateQuote, p as AgentSandboxBlueprintAbi, r as inputsHashOf, s as TangleSandboxClient, t as QuoteError, u as TANGLE_CHAIN_ID, v as SandboxCreateResponseParamTypes, y as SandboxIdParamTypes } from "../tangle-DsVP5T2V.js";
|
|
2
2
|
export { AgentSandboxBlueprintAbi, ITangleJobsAbi, JOB_SANDBOX_CREATE, JOB_SANDBOX_DELETE, JsonResponseParamTypes, OperatorSession, OperatorSessionError, QuoteError, SandboxCreateParamTypes, SandboxCreateResponseParamTypes, SandboxIdParamTypes, TANGLE_CHAIN_ID, TANGLE_JOBS_CONTRACT, TangleSandboxClient, fetchQuote, inputsHashOf, jobQuoteDigest, parseQuoteResponse, validateQuote };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as createSandboxInstanceFromResponse } from "./sandbox-
|
|
1
|
+
import { n as createSandboxInstanceFromResponse } from "./sandbox-Gu1g_Tnn.js";
|
|
2
2
|
import { i as readResponseJson } from "./errors-BfR-fBvN.js";
|
|
3
3
|
import { _ as rotlBH, a as anumber, b as rotlSL, d as createXOFer, g as u32, h as toBytes$1, l as createHasher, m as swap32IfBE, n as abytes, o as aoutput, r as aexists, s as clean, t as Hash, v as rotlBL, x as split, y as rotlSH } from "./utils-vaFoyyiO.js";
|
|
4
4
|
//#region ../../../packages/runtime-contracts/dist/tangle-blueprint-abi.js
|
|
@@ -313,12 +313,16 @@ const ITangleJobsAbi = [
|
|
|
313
313
|
type: "uint32"
|
|
314
314
|
},
|
|
315
315
|
{
|
|
316
|
-
name: "
|
|
317
|
-
type: "
|
|
316
|
+
name: "completed",
|
|
317
|
+
type: "bool"
|
|
318
318
|
},
|
|
319
319
|
{
|
|
320
|
-
name: "
|
|
320
|
+
name: "isRFQ",
|
|
321
321
|
type: "bool"
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
name: "payment",
|
|
325
|
+
type: "uint256"
|
|
322
326
|
}
|
|
323
327
|
]
|
|
324
328
|
}],
|
|
@@ -440,7 +444,7 @@ var TangleChainClient = class {
|
|
|
440
444
|
throw new Error("viem is required for TangleSandboxClient. Install it: npm install viem");
|
|
441
445
|
}
|
|
442
446
|
const chain = {
|
|
443
|
-
id:
|
|
447
|
+
id: this.#config.chainId ?? 5845,
|
|
444
448
|
name: "Tangle",
|
|
445
449
|
nativeCurrency: {
|
|
446
450
|
name: "TNT",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sandbox",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.143",
|
|
4
4
|
"description": "Client SDK for the Tangle Sandbox platform - build AI agent applications with dev containers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -155,13 +155,13 @@
|
|
|
155
155
|
"yjs": "13.6.33",
|
|
156
156
|
"@products/sandbox-test-utils": "0.0.0",
|
|
157
157
|
"@tangle-network/agent-profile-materialize": "0.27.1",
|
|
158
|
+
"@tangle-network/cli-agent-registry": "0.15.0",
|
|
158
159
|
"@repo/shared": "0.0.0",
|
|
159
|
-
"@tangle-network/cli-agent-registry": "0.14.0",
|
|
160
160
|
"@tangle-network/runtime-contracts": "0.20.0"
|
|
161
161
|
},
|
|
162
162
|
"tangleRelease": {
|
|
163
|
-
"sourceSha": "
|
|
164
|
-
"mergedAt": "2026-10-
|
|
163
|
+
"sourceSha": "84926f39bbabde1ffcb56400d7bfe74fc9875039",
|
|
164
|
+
"mergedAt": "2026-10-30T21:29:35-06:00"
|
|
165
165
|
},
|
|
166
166
|
"scripts": {
|
|
167
167
|
"build": "node scripts/build-dist.mjs",
|