@tangle-network/sandbox 1.0.375 → 1.0.376
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent/index.d.ts +4 -4
- package/dist/agent/index.js +4 -4
- package/dist/agent/preview.d.ts +1 -1
- package/dist/agent/preview.js +2 -2
- package/dist/{agent-execution-preparation-BhQ48V9p.js → agent-execution-preparation-CemN5Bl6.js} +3 -3
- package/dist/{agent-execution-preparation-receipt-CtgxEFAM.js → agent-execution-preparation-receipt-ClBOzgJ_.js} +4 -4
- package/dist/{agent-run-outcome-CrlJPUT1.d.ts → agent-run-outcome-DctzF4d4.d.ts} +2 -2
- package/dist/{api-request-CtQFm0hn.js → api-request-DymQHN93.js} +1 -1
- package/dist/auth/index.d.ts +1 -1
- package/dist/auth/index.js +2 -2
- package/dist/{browser-interactive-control-controller--sRiWLrP.d.ts → browser-interactive-control-controller-DpaiQ8ye.d.ts} +2 -2
- package/dist/{browser-interactive-control-controller-DtFROmtJ.js → browser-interactive-control-controller-Tfz4kjpi.js} +14 -14
- package/dist/{cli-auth-bundle-D4C2d79t-DZCYIq2N.js → cli-auth-bundle-DbnfMJ_Y-CnhSzQoE.js} +92 -6
- package/dist/{cli-auth-bundle-Zey9bBZA.d.ts → cli-auth-bundle-DsT-bq8b.d.ts} +1 -1
- package/dist/cli-auth-bundle-Kz9EaVAY.js +2 -0
- package/dist/{client-DxbhxnjY.js → client-8YlZO8sU.js} +6 -6
- package/dist/{client-CmkILqkv.d.ts → client-CKXr8IPN.d.ts} +36 -6
- package/dist/collaboration/index.js +1 -1
- package/dist/{collaboration-Dj39fBQD.js → collaboration-CxPse7y4.js} +1 -1
- package/dist/core.d.ts +6 -6
- package/dist/core.js +3 -3
- package/dist/gpu-lease/index.js +1 -1
- package/dist/{harness-D5WLFgHg.js → harness-Dq3XGyYd.js} +5 -4
- package/dist/{index-CMhJ8YJs.d.ts → index-BUaAYkZv.d.ts} +7 -7
- package/dist/{index-BONanR44.d.ts → index-QtEpXSoz.d.ts} +22 -15
- package/dist/index.d.ts +10 -10
- package/dist/index.js +149 -9
- package/dist/intelligence/index.js +1 -1
- package/dist/interactive-control.d.ts +1 -1
- package/dist/interactive-control.js +1 -1
- package/dist/{interactive-controller-Cr4DdlMq.d.ts → interactive-controller-CNO0FXmI.d.ts} +4 -4
- package/dist/{interactive-controller-DoPpb1Mp.js → interactive-controller-Cj0EcKqO.js} +6 -5
- package/dist/{lines-CosyyUkH.d.ts → lines-CZmF5JRS.d.ts} +1 -1
- package/dist/lines.d.ts +1 -1
- package/dist/{local-cli-auth-BqTDos9d.js → local-cli-auth-Dut-5etk.js} +1 -1
- package/dist/{mcp-local-1t8G2H5S.js → mcp-local-DtElqjq4.js} +2 -2
- package/dist/{preview-BE9C1gka.d.ts → preview-BFe-MTUv.d.ts} +3 -3
- package/dist/{profile-schema-CpFXvaXd.js → profile-schema-BuXg-MCu.js} +11 -11
- package/dist/{public-templates-Bg92Ca8R.d.ts → public-templates-B_g2NiwJ.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-D1lI6jKr.js → sandbox-XLCq3wCT.js} +12 -152
- package/dist/select-seat-command.d.ts +2 -2
- package/dist/select-seat-command.js +1 -1
- package/dist/{select-seat-A-n5nL4a.js → select-seat-i_qyQUEH.js} +4 -4
- 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-C6l9cdWr.js → tangle-D4aG3mw_.js} +2 -2
- package/dist/{terminal-stream-types-ByWSGqTd.d.ts → terminal-stream-types-BgC3Pwzr.d.ts} +28 -1
- package/dist/{types-TxORSYEp.d.ts → types-CTid6zz6.d.ts} +4 -3
- package/package.json +8 -8
- package/dist/cli-auth-bundle-BBxCQuDN.js +0 -2
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { A as requestedPublicProfileDigest, B as AgentRuntimeAttachmentsSchema, C as runtimeFilesystemPath, D as assertCurrentBackendType, E as applyRequestedModel, F as createAgentRunOutcomeTracker, I as deriveAgentResultOutcome, O as mergeRuntimeBackendConfig, P as withoutRuntimeSecrets, S as encodeTextForWire, W as normalizeEffectiveBackend, _ as mintTraceId, a as assertScopedTokenActive, b as validateAcceptedDispatchRunRef, c as SandboxRuntimeApi, d as appendSessionIdQuery, f as callHeaders, g as isTraceId, h as TRACE_ID_HEADER, i as terminalUpgradeHeadersSupported, j as requestedSecretProfilePublicDigest, k as normalizeRuntimeBackendConfig, l as normalizeSessionInfo, m as assertFileWritePreconditions, n as InteractiveSessionController, p as sessionHeaders, r as TerminalStream, s as requestScopedToken, u as sessionMessageRequestBody, v as resolveTraceId, w as canUseNodeHttp2, x as encodePromptForWire, y as resolveDispatchRunIdentity } from "./interactive-controller-
|
|
2
|
-
import { C as boundedIdentifierSchema, E as boundedStringSchema, g as sha256DigestSchema, o as canonicalCandidateDigest, s as canonicalCandidateJson } from "./harness-
|
|
3
|
-
import { a as ProxySecretReceiptSchema, r as agentProfileSchema } from "./profile-schema-
|
|
4
|
-
import { A as agentInteractiveSessionStatusMatchesRef, B as PlanContinuationSchema, C as AgentInteractiveSessionStopAcknowledgementSchema, D as agentInteractiveSessionControlClaimMatchesRef, E as agentInteractiveSessionControlClaimIsNewer, F as AgentRunCancellationAcknowledgementSchema, G as InteractionResponseSchema, H as InteractionBindingSchema, I as AgentRunCancellationRequestSchema, L as agentRunCancellationAcknowledgementMatchesRequest, M as agentInteractiveDimensionSchema, N as sameAgentExactRun, O as agentInteractiveSessionPromptAcknowledgementMatchesCommand, P as AgentExactRunControlRefSchema, S as AgentInteractiveSessionStatusSchema, T as agentInteractiveSessionControlClaimAcknowledgementMatchesRequest, U as InteractionRequestSchema, V as InteractionAcknowledgementSchema, W as InteractionResponseCommandSchema, _ as AgentInteractiveSessionControlClaimRequestSchema, b as AgentInteractiveSessionPromptCommandSchema, d as interactiveSessionControlClaimResponseSchema, f as interactiveSessionControlReleaseResponseSchema, g as AgentInteractiveSessionControlClaimAcknowledgementSchema, h as AgentInteractiveSessionAttachSchema, j as agentInteractiveSessionStopAcknowledgementMatchesCommand, l as createInteractiveControlHolderId, m as interactiveSessionStatusResponseSchema, p as interactiveSessionControlValidationResponseSchema, v as AgentInteractiveSessionControlClaimSchema, w as AgentInteractiveSessionStopCommandSchema, x as AgentInteractiveSessionRefSchema, y as AgentInteractiveSessionPromptAcknowledgementSchema } from "./browser-interactive-control-controller-
|
|
5
|
-
import { t as canonicalAgentProfileDigest } from "./agent-execution-preparation-
|
|
1
|
+
import { A as requestedPublicProfileDigest, B as AgentRuntimeAttachmentsSchema, C as runtimeFilesystemPath, D as assertCurrentBackendType, E as applyRequestedModel, F as createAgentRunOutcomeTracker, I as deriveAgentResultOutcome, O as mergeRuntimeBackendConfig, P as withoutRuntimeSecrets, S as encodeTextForWire, W as normalizeEffectiveBackend, _ as mintTraceId, a as assertScopedTokenActive, b as validateAcceptedDispatchRunRef, c as SandboxRuntimeApi, d as appendSessionIdQuery, f as callHeaders, g as isTraceId, h as TRACE_ID_HEADER, i as terminalUpgradeHeadersSupported, j as requestedSecretProfilePublicDigest, k as normalizeRuntimeBackendConfig, l as normalizeSessionInfo, m as assertFileWritePreconditions, n as InteractiveSessionController, p as sessionHeaders, r as TerminalStream, s as requestScopedToken, u as sessionMessageRequestBody, v as resolveTraceId, w as canUseNodeHttp2, x as encodePromptForWire, y as resolveDispatchRunIdentity } from "./interactive-controller-Cj0EcKqO.js";
|
|
2
|
+
import { C as boundedIdentifierSchema, E as boundedStringSchema, g as sha256DigestSchema, o as canonicalCandidateDigest, s as canonicalCandidateJson } from "./harness-Dq3XGyYd.js";
|
|
3
|
+
import { a as ProxySecretReceiptSchema, r as agentProfileSchema } from "./profile-schema-BuXg-MCu.js";
|
|
4
|
+
import { A as agentInteractiveSessionStatusMatchesRef, B as PlanContinuationSchema, C as AgentInteractiveSessionStopAcknowledgementSchema, D as agentInteractiveSessionControlClaimMatchesRef, E as agentInteractiveSessionControlClaimIsNewer, F as AgentRunCancellationAcknowledgementSchema, G as InteractionResponseSchema, H as InteractionBindingSchema, I as AgentRunCancellationRequestSchema, L as agentRunCancellationAcknowledgementMatchesRequest, M as agentInteractiveDimensionSchema, N as sameAgentExactRun, O as agentInteractiveSessionPromptAcknowledgementMatchesCommand, P as AgentExactRunControlRefSchema, S as AgentInteractiveSessionStatusSchema, T as agentInteractiveSessionControlClaimAcknowledgementMatchesRequest, U as InteractionRequestSchema, V as InteractionAcknowledgementSchema, W as InteractionResponseCommandSchema, _ as AgentInteractiveSessionControlClaimRequestSchema, b as AgentInteractiveSessionPromptCommandSchema, d as interactiveSessionControlClaimResponseSchema, f as interactiveSessionControlReleaseResponseSchema, g as AgentInteractiveSessionControlClaimAcknowledgementSchema, h as AgentInteractiveSessionAttachSchema, j as agentInteractiveSessionStopAcknowledgementMatchesCommand, l as createInteractiveControlHolderId, m as interactiveSessionStatusResponseSchema, p as interactiveSessionControlValidationResponseSchema, v as AgentInteractiveSessionControlClaimSchema, w as AgentInteractiveSessionStopCommandSchema, x as AgentInteractiveSessionRefSchema, y as AgentInteractiveSessionPromptAcknowledgementSchema } from "./browser-interactive-control-controller-Tfz4kjpi.js";
|
|
5
|
+
import { t as canonicalAgentProfileDigest } from "./agent-execution-preparation-CemN5Bl6.js";
|
|
6
6
|
import { C as SandboxError, D as TimeoutError, E as StreamInterruptedError, O as ValidationError, T as StateError, _ as NetworkError, a as readResponseJson, b as ProfileFileMountPathError, c as AuthError, f as EdgeNotReadyError, i as parseResponseError, n as isTransientWrite, o as responseMetadata, r as parseErrorResponse, s as retryWhen, t as TerminalStreamError, u as CapabilityError, v as NotFoundError, w as ServerError, y as PartialFailureError } from "./errors-vuyhjefs.js";
|
|
7
7
|
import { t as parseSandboxRetryAfterHeader } from "./retry-after-header-BZbs5rig.js";
|
|
8
8
|
import { n as combineAbortSignals, t as awaitWithAbort } from "./abort-signal-BsriwJ8L.js";
|
|
9
9
|
import { a as backoffDelayMs, o as isUndelivered, r as abortableSleep } from "./retry-policy-oW3_ljoc.js";
|
|
10
|
-
import { a as isReplayableBody, i as fetchSandboxApi, n as SDK_TIMEOUTS, o as rewrapResponse, t as IDEMPOTENT_METHODS } from "./api-request-
|
|
10
|
+
import { a as isReplayableBody, i as fetchSandboxApi, n as SDK_TIMEOUTS, o as rewrapResponse, t as IDEMPOTENT_METHODS } from "./api-request-DymQHN93.js";
|
|
11
11
|
import { a as SANDBOX_PROXY_REQUEST_MAX_BYTES, c as PROFILE_FILE_MOUNT_OUTSIDE_ROOTS_CODE, d as isProfileFileMountOutsideRoots, f as profileFileMountOutsideRootsMessage, l as SANDBOX_AGENT_HOME, o as FILE_OPERATION_LIMITS, u as SANDBOX_FILE_API_ABSOLUTE_ROOTS } from "./file-transfer-DOSTbUSR.js";
|
|
12
12
|
import { c as awaitSdkResend, l as takeSdkTurn, s as uploadChunked } from "./chunked-upload-wSXiVX7I.js";
|
|
13
13
|
import { n as fetchWithKeepAlive, t as emitTiming } from "./keep-alive-fetch-sGVP8skk.js";
|
|
14
14
|
import { t as SIDECAR_PROXY_ERROR_HEADER } from "./sidecar-proxy-error-DTdbCbUM.js";
|
|
15
15
|
import { t as parseSSEStream } from "./sse-parser-BCG3iL9j.js";
|
|
16
16
|
import { t as runPreparedProcess } from "./prepared-process-DQ_68Ofg.js";
|
|
17
|
-
import { a as isBackendType, r as cliAuthReferenceSchema } from "./cli-auth-bundle-
|
|
18
|
-
import "./cli-auth-bundle-
|
|
17
|
+
import { a as isBackendType, r as cliAuthReferenceSchema } from "./cli-auth-bundle-DbnfMJ_Y-CnhSzQoE.js";
|
|
18
|
+
import "./cli-auth-bundle-Kz9EaVAY.js";
|
|
19
19
|
import { n as SandboxLines } from "./lines-vZDk8YYb.js";
|
|
20
20
|
import { t as downloadFile } from "./file-download-Di-P3rqM.js";
|
|
21
21
|
import { z } from "zod";
|
|
@@ -27,7 +27,7 @@ import { PART_TEXT, PART_TEXT_SUFFIX, locatePart } from "@tangle-network/agent-c
|
|
|
27
27
|
import { readTokenUsage } from "@tangle-network/agent-core";
|
|
28
28
|
import "@tangle-network/agent-interface/environment-provider";
|
|
29
29
|
import { OTLP_SPAN_KIND, OTLP_STATUS_CODE, msToUnixNano, otlpTraceExport, toOtlpAttributes, toW3CSpanId, toW3CTraceId } from "@tangle-network/agent-trace-contract/otlp";
|
|
30
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
30
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.23/node_modules/@tangle-network/agent-interface/dist/provider-config.js
|
|
31
31
|
const nativeWebSearchKeys = new Set(["websearch"]);
|
|
32
32
|
const nativeWebFetchKeys = new Set(["webfetch", "fetch"]);
|
|
33
33
|
function resolveNativeWebTools(tools) {
|
|
@@ -42,7 +42,7 @@ function resolveNativeWebTools(tools) {
|
|
|
42
42
|
return posture;
|
|
43
43
|
}
|
|
44
44
|
//#endregion
|
|
45
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
45
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.23/node_modules/@tangle-network/agent-interface/dist/environment-interactive-start.js
|
|
46
46
|
const AgentInteractiveSessionRunCoordinatesSchema = z.strictObject({
|
|
47
47
|
provider: boundedIdentifierSchema,
|
|
48
48
|
environmentId: boundedIdentifierSchema,
|
|
@@ -119,7 +119,7 @@ function runCoordinates(run) {
|
|
|
119
119
|
};
|
|
120
120
|
}
|
|
121
121
|
//#endregion
|
|
122
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
122
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.23/node_modules/@tangle-network/agent-interface/dist/environment-terminal.js
|
|
123
123
|
const terminalDimensionSchema = z.number().int().positive().max(1e4);
|
|
124
124
|
/**
|
|
125
125
|
* Provider-neutral handle for one interactive terminal.
|
|
@@ -12182,146 +12182,6 @@ var SandboxEgressCapabilities = class extends SandboxTraceCapabilities {
|
|
|
12182
12182
|
}
|
|
12183
12183
|
};
|
|
12184
12184
|
//#endregion
|
|
12185
|
-
//#region ../../../packages/runtime-contracts/dist/gpu-lease.js
|
|
12186
|
-
const GPU_LEASE_PROVIDER_NAMES = [
|
|
12187
|
-
"runpod",
|
|
12188
|
-
"vast-ai",
|
|
12189
|
-
"lambda-labs",
|
|
12190
|
-
"aws",
|
|
12191
|
-
"gcp",
|
|
12192
|
-
"azure",
|
|
12193
|
-
"modal"
|
|
12194
|
-
];
|
|
12195
|
-
const gpuLeaseProviderSchema = z.string().trim().toLowerCase().min(1).max(64).regex(/^[a-z][a-z0-9-]*$/);
|
|
12196
|
-
const gpuAcceleratorKindSchema = z.string().trim().toLowerCase().min(1).max(128).regex(/^[a-z0-9][a-z0-9._-]*$/);
|
|
12197
|
-
const gpuAcceleratorSchema = z.object({
|
|
12198
|
-
kind: gpuAcceleratorKindSchema,
|
|
12199
|
-
count: z.number().int().positive().default(1),
|
|
12200
|
-
vramGb: z.number().positive().optional()
|
|
12201
|
-
}).strict();
|
|
12202
|
-
const gpuLeaseCommandSchema = z.object({
|
|
12203
|
-
command: z.string().min(1).max(8192),
|
|
12204
|
-
timeoutMs: z.number().int().positive().max(2147453647).optional(),
|
|
12205
|
-
env: z.record(z.string(), z.string()).optional(),
|
|
12206
|
-
cwd: z.string().min(1).max(2048).optional()
|
|
12207
|
-
}).strict();
|
|
12208
|
-
z.object({
|
|
12209
|
-
refresh: z.enum(["true", "false"]).optional(),
|
|
12210
|
-
acceleratorKind: gpuAcceleratorKindSchema.optional(),
|
|
12211
|
-
acceleratorCount: z.coerce.number().pipe(gpuAcceleratorSchema.shape.count.unwrap()).optional(),
|
|
12212
|
-
acceleratorVramGb: z.coerce.number().positive().optional()
|
|
12213
|
-
}).strict();
|
|
12214
|
-
z.object({
|
|
12215
|
-
maxSpendUsd: z.number().positive().max(1e4).optional(),
|
|
12216
|
-
maxLifetimeSeconds: z.number().int().positive().max(1440 * 60).optional()
|
|
12217
|
-
}).strict().refine((value) => value.maxSpendUsd !== void 0 || value.maxLifetimeSeconds !== void 0, "Renewal requires a lifetime or spend cap");
|
|
12218
|
-
const gpuLeaseOptionsSchema = z.object({
|
|
12219
|
-
provider: gpuLeaseProviderSchema.optional(),
|
|
12220
|
-
image: z.string().min(1).max(512).optional(),
|
|
12221
|
-
env: z.record(z.string().regex(/^[A-Za-z_][A-Za-z0-9_]*$/), z.string()).optional(),
|
|
12222
|
-
diskGb: z.number().int().positive().optional(),
|
|
12223
|
-
volumeGb: z.number().int().nonnegative().optional(),
|
|
12224
|
-
volumeMountPath: z.string().startsWith("/").max(2048).optional(),
|
|
12225
|
-
region: z.string().min(1).max(128).optional(),
|
|
12226
|
-
manifest: z.record(z.string(), z.unknown()).optional(),
|
|
12227
|
-
command: z.array(z.string().max(8192)).min(1).max(256).optional(),
|
|
12228
|
-
ports: z.array(z.number().int().min(1).max(65535)).max(32).optional(),
|
|
12229
|
-
endpoint: z.object({
|
|
12230
|
-
port: z.number().int().min(1).max(65535),
|
|
12231
|
-
healthPath: z.string().regex(/^\/(?![/\\])/).refine((path) => ![
|
|
12232
|
-
"\r",
|
|
12233
|
-
"\n",
|
|
12234
|
-
" "
|
|
12235
|
-
].some((char) => path.includes(char))).max(2048).optional()
|
|
12236
|
-
}).strict().optional(),
|
|
12237
|
-
allowSpot: z.boolean().optional(),
|
|
12238
|
-
maxHourlyUsd: z.number().positive().optional(),
|
|
12239
|
-
weights: z.object({
|
|
12240
|
-
manifestSha: z.string().regex(/^[a-f0-9]{64}$/),
|
|
12241
|
-
sizeBytes: z.number().int().positive().safe()
|
|
12242
|
-
}).strict().optional(),
|
|
12243
|
-
arms: z.array(z.unknown()).min(1).max(256).optional(),
|
|
12244
|
-
maxSpendUsd: z.number().positive().max(1e4),
|
|
12245
|
-
maxLifetimeSeconds: z.number().int().positive().max(1440 * 60),
|
|
12246
|
-
idleTimeoutSeconds: z.number().int().positive().optional()
|
|
12247
|
-
}).strict();
|
|
12248
|
-
const gpuLeaseAttachSchema = gpuLeaseOptionsSchema.extend({ accelerator: gpuAcceleratorSchema });
|
|
12249
|
-
const acceleratorSchema = gpuAcceleratorSchema;
|
|
12250
|
-
const providerSchema = gpuLeaseProviderSchema;
|
|
12251
|
-
z.object({
|
|
12252
|
-
...gpuLeaseOptionsSchema.omit({ env: true }).shape,
|
|
12253
|
-
id: z.string(),
|
|
12254
|
-
projectRef: z.string(),
|
|
12255
|
-
ownerUserId: z.string(),
|
|
12256
|
-
productId: z.string().optional(),
|
|
12257
|
-
provider: providerSchema,
|
|
12258
|
-
providerLeaseId: z.string().optional(),
|
|
12259
|
-
providerInstanceType: z.string().optional(),
|
|
12260
|
-
endpointUrl: z.string().optional(),
|
|
12261
|
-
status: z.enum([
|
|
12262
|
-
"provisioning",
|
|
12263
|
-
"ready",
|
|
12264
|
-
"detaching",
|
|
12265
|
-
"destroyed",
|
|
12266
|
-
"failed"
|
|
12267
|
-
]),
|
|
12268
|
-
accelerator: acceleratorSchema,
|
|
12269
|
-
providerCostPerHourUsd: z.number().optional(),
|
|
12270
|
-
customerPricePerHourUsd: z.number().optional(),
|
|
12271
|
-
estimatedProviderCostUsd: z.number().optional(),
|
|
12272
|
-
estimatedCustomerCostUsd: z.number().optional(),
|
|
12273
|
-
providerSelection: z.object({
|
|
12274
|
-
strategy: z.enum([
|
|
12275
|
-
"explicit",
|
|
12276
|
-
"cheapest",
|
|
12277
|
-
"ranked"
|
|
12278
|
-
]),
|
|
12279
|
-
selectedProvider: providerSchema,
|
|
12280
|
-
requestedProvider: providerSchema.optional(),
|
|
12281
|
-
candidates: z.array(z.object({
|
|
12282
|
-
provider: providerSchema,
|
|
12283
|
-
accelerator: acceleratorSchema,
|
|
12284
|
-
providerInstanceType: z.string().optional(),
|
|
12285
|
-
region: z.string().optional(),
|
|
12286
|
-
pricingSource: z.enum(["live", "configured"]).optional(),
|
|
12287
|
-
providerCostPerHourUsd: z.number(),
|
|
12288
|
-
customerPricePerHourUsd: z.number(),
|
|
12289
|
-
maxLifetimeSeconds: z.number(),
|
|
12290
|
-
estimatedProviderCostUsd: z.number(),
|
|
12291
|
-
estimatedCustomerCostUsd: z.number()
|
|
12292
|
-
})),
|
|
12293
|
-
rejected: z.array(z.object({
|
|
12294
|
-
provider: providerSchema,
|
|
12295
|
-
error: z.string()
|
|
12296
|
-
}))
|
|
12297
|
-
}).optional(),
|
|
12298
|
-
createdAt: z.string(),
|
|
12299
|
-
updatedAt: z.string(),
|
|
12300
|
-
readyAt: z.string().optional(),
|
|
12301
|
-
startedAt: z.string().optional(),
|
|
12302
|
-
lastUsedAt: z.string().optional(),
|
|
12303
|
-
destroyedAt: z.string().optional(),
|
|
12304
|
-
failure: z.string().optional(),
|
|
12305
|
-
billing: z.object({
|
|
12306
|
-
seconds: z.number(),
|
|
12307
|
-
providerCostUsd: z.number(),
|
|
12308
|
-
customerCostUsd: z.number(),
|
|
12309
|
-
providerCostPerHourUsd: z.number(),
|
|
12310
|
-
customerPricePerHourUsd: z.number(),
|
|
12311
|
-
startedAt: z.string(),
|
|
12312
|
-
stoppedAt: z.string()
|
|
12313
|
-
}).optional()
|
|
12314
|
-
});
|
|
12315
|
-
//#endregion
|
|
12316
|
-
//#region ../../../packages/runtime-contracts/dist/runtime-backend.js
|
|
12317
|
-
/**
|
|
12318
|
-
* The runtime a sandbox runs on, which a create names as `runtime`: a Docker
|
|
12319
|
-
* container on the host kernel, or a Firecracker microVM with its own kernel.
|
|
12320
|
-
* It is also what a provisioned host runs and the autoscaler buys.
|
|
12321
|
-
*/
|
|
12322
|
-
const SANDBOX_RUNTIMES = ["docker", "firecracker"];
|
|
12323
|
-
[...SANDBOX_RUNTIMES];
|
|
12324
|
-
//#endregion
|
|
12325
12185
|
//#region ../../../packages/runtime-contracts/dist/egress-activity.js
|
|
12326
12186
|
/**
|
|
12327
12187
|
* The egress activity record a sandbox's proxy log is read into, shared by the
|
|
@@ -13500,4 +13360,4 @@ var SandboxInstance = class SandboxInstance extends SandboxEgressCapabilities {
|
|
|
13500
13360
|
}
|
|
13501
13361
|
};
|
|
13502
13362
|
//#endregion
|
|
13503
|
-
export {
|
|
13363
|
+
export { isRateLimitCreateError as $, isMaterializerHarness as A, normalizeConnection as B, materializeProfileFileMounts as C, HARNESS_LAUNCH_MATERIALIZE_OPTIONS as D, validateDeferredProfileFileMounts as E, normalizeSandboxCreateReceipt as F, CAPACITY_ETA_WAIT_MAX_MS as G, normalizeProxySecretReceipt as H, normalizeStartupDiagnostics as I, createRetryDelayMs as J, DEPLOY_WINDOW_RETRY_MS as K, readFilesystemIncarnationTuple as L, SandboxOperation as M, SandboxOperationFailedError as N, ProfileUnsupportedError as O, normalizeCaptureProof as P, isDeployWindowCreateError as Q, dateOf as R, ManagedProcessClient as S, splitInlineProfileSkills as T, normalizeSandboxShape as U, normalizeEgressPolicyFields as V, CAPACITY_ETA_MARGIN_MS as W, generateIdempotencyKey as X, extendableDeadline as Y, isCapacityShortageCreateError as Z, collectAgentFinalMessageText as _, buildTraceExportPayload as a, isToolBearingEvent as b, toOtelJson as c, sandboxLedgerUsd as d, isRetryableCreateError as et, InteractiveSessionHandle as f, applySandboxEventText as g, createInteractiveTerminalSession as h, MAX_EGRESS_DENIALS_LIMIT as i, materializeProfile as j, enforceWorkspacePlanSupport as k, SandboxTaskSession as l, createInteractiveTerminalCapture as m, createSandboxInstanceFromResponse as n, exportTraceBundle as o, InteractiveTerminalFrameLog as p, awaitCreateResend as q, WorkspaceImages as r, otelTraceIdForTangleTrace as s, SandboxInstance as t, SandboxSession as u, collectAgentResponseText as v, splitInlineProfileFileMounts as w, deleteSandbox as x, getSandboxEventText as y, parseLifecycleTimes as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as SandboxError } from "./terminal-stream-types-
|
|
2
|
-
import { _t as SeatOwnerTransport, bt as SeatSelectionRequest, ft as SEAT_COMMAND_TIMEOUT_MS } from "./client-
|
|
1
|
+
import { R as SandboxError } from "./terminal-stream-types-BgC3Pwzr.js";
|
|
2
|
+
import { _t as SeatOwnerTransport, bt as SeatSelectionRequest, ft as SEAT_COMMAND_TIMEOUT_MS } from "./client-CKXr8IPN.js";
|
|
3
3
|
|
|
4
4
|
//#region src/select-seat-command.d.ts
|
|
5
5
|
/** Public reply bound; the owner prints one metadata object. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as SandboxError, O as ValidationError } from "./errors-vuyhjefs.js";
|
|
2
|
-
import { r as SEAT_OWNER_MAX_RESPONSE_BYTES, s as seatOwnerTimeoutMs, t as SEAT_COMMAND_TIMEOUT_MS } from "./select-seat-
|
|
2
|
+
import { r as SEAT_OWNER_MAX_RESPONSE_BYTES, s as seatOwnerTimeoutMs, t as SEAT_COMMAND_TIMEOUT_MS } from "./select-seat-i_qyQUEH.js";
|
|
3
3
|
import { spawn } from "node:child_process";
|
|
4
4
|
//#region src/select-seat-command.ts
|
|
5
5
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { r as agentProfileSchema } from "./profile-schema-
|
|
2
|
-
import { t as canonicalAgentProfileDigest } from "./agent-execution-preparation-
|
|
1
|
+
import { r as agentProfileSchema } from "./profile-schema-BuXg-MCu.js";
|
|
2
|
+
import { t as canonicalAgentProfileDigest } from "./agent-execution-preparation-CemN5Bl6.js";
|
|
3
3
|
import { C as SandboxError, O as ValidationError, u as CapabilityError } from "./errors-vuyhjefs.js";
|
|
4
4
|
import { n as combineAbortSignals, t as awaitWithAbort } from "./abort-signal-BsriwJ8L.js";
|
|
5
|
-
import { r as cliAuthReferenceSchema } from "./cli-auth-bundle-
|
|
6
|
-
import "./cli-auth-bundle-
|
|
5
|
+
import { r as cliAuthReferenceSchema } from "./cli-auth-bundle-DbnfMJ_Y-CnhSzQoE.js";
|
|
6
|
+
import "./cli-auth-bundle-Kz9EaVAY.js";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
//#region ../../../packages/runtime-contracts/dist/seat-selection.js
|
|
9
9
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as combineAbortSignals } from "../abort-signal-BsriwJ8L.js";
|
|
2
|
-
import { i as fetchSandboxApi } from "../api-request-
|
|
2
|
+
import { i as fetchSandboxApi } from "../api-request-DymQHN93.js";
|
|
3
3
|
import "../sidecar-proxy-error-DTdbCbUM.js";
|
|
4
4
|
import { t as parseSSEStream } from "../sse-parser-BCG3iL9j.js";
|
|
5
5
|
import { PART_TEXT, PART_TEXT_SUFFIX } from "@tangle-network/agent-core/sse";
|
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_CHAIN_ID, a as fetchQuote, b as AgentSandboxBlueprintAbi, c as parseQuoteResponse, d as OperatorSession, f as OperatorSessionError, g as BlueprintSandboxClientConfig, h as BlueprintSandboxClient, 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 TANGLE_JOBS_CONTRACT, 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_CHAIN_ID, a as fetchQuote, b as AgentSandboxBlueprintAbi, c as parseQuoteResponse, d as OperatorSession, f as OperatorSessionError, g as BlueprintSandboxClientConfig, h as BlueprintSandboxClient, 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 TANGLE_JOBS_CONTRACT, w as SandboxCreateParamTypes, x as JOB_SANDBOX_CREATE, y as ITangleJobsAbi } from "../index-BUaAYkZv.js";
|
|
2
2
|
export { AgentSandboxBlueprintAbi, BlueprintSandboxClient, BlueprintSandboxClientConfig, 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, fetchQuote, inputsHashOf, jobQuoteDigest, parseQuoteResponse, validateQuote };
|
package/dist/tangle/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { _ as SandboxCreateResponseParamTypes, a as parseQuoteResponse, c as OperatorSession, d as TANGLE_JOBS_CONTRACT, f as AgentSandboxBlueprintAbi, g as SandboxCreateParamTypes, h as JsonResponseParamTypes, i as jobQuoteDigest, l as OperatorSessionError, m as JOB_SANDBOX_DELETE, n as fetchQuote, o as validateQuote, p as JOB_SANDBOX_CREATE, r as inputsHashOf, s as BlueprintSandboxClient, t as QuoteError, u as TANGLE_CHAIN_ID, v as SandboxIdParamTypes } from "../tangle-
|
|
1
|
+
import { _ as SandboxCreateResponseParamTypes, a as parseQuoteResponse, c as OperatorSession, d as TANGLE_JOBS_CONTRACT, f as AgentSandboxBlueprintAbi, g as SandboxCreateParamTypes, h as JsonResponseParamTypes, i as jobQuoteDigest, l as OperatorSessionError, m as JOB_SANDBOX_DELETE, n as fetchQuote, o as validateQuote, p as JOB_SANDBOX_CREATE, r as inputsHashOf, s as BlueprintSandboxClient, t as QuoteError, u as TANGLE_CHAIN_ID, v as SandboxIdParamTypes } from "../tangle-D4aG3mw_.js";
|
|
2
2
|
import { t as ITangleJobsAbi } from "../abi-pcDt2Adp.js";
|
|
3
3
|
export { AgentSandboxBlueprintAbi, BlueprintSandboxClient, ITangleJobsAbi, JOB_SANDBOX_CREATE, JOB_SANDBOX_DELETE, JsonResponseParamTypes, OperatorSession, OperatorSessionError, QuoteError, SandboxCreateParamTypes, SandboxCreateResponseParamTypes, SandboxIdParamTypes, TANGLE_CHAIN_ID, TANGLE_JOBS_CONTRACT, fetchQuote, inputsHashOf, jobQuoteDigest, parseQuoteResponse, validateQuote };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { L as readFilesystemIncarnationTuple, n as createSandboxInstanceFromResponse } from "./sandbox-XLCq3wCT.js";
|
|
2
2
|
import { a as readResponseJson } from "./errors-vuyhjefs.js";
|
|
3
|
-
import { i as fetchSandboxApi } from "./api-request-
|
|
3
|
+
import { i as fetchSandboxApi } from "./api-request-DymQHN93.js";
|
|
4
4
|
import { t as ITangleJobsAbi } from "./abi-pcDt2Adp.js";
|
|
5
5
|
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-BvN0Mk3j.js";
|
|
6
6
|
//#region ../../../packages/runtime-contracts/dist/tangle-blueprint-abi.js
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as AgentProfile, a as AgentInteractiveSessionControlClaim, u as AgentInteractiveSessionRef } from "./index-
|
|
1
|
+
import { T as AgentProfile, a as AgentInteractiveSessionControlClaim, u as AgentInteractiveSessionRef } from "./index-QtEpXSoz.js";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
|
|
4
4
|
//#region ../../../packages/runtime-contracts/dist/batch-events.d.ts
|
|
@@ -35,6 +35,7 @@ declare const batchBackendStatsSchema: z.ZodObject<{
|
|
|
35
35
|
cursor: "cursor";
|
|
36
36
|
grok: "grok";
|
|
37
37
|
nanocode: "nanocode";
|
|
38
|
+
exo: "exo";
|
|
38
39
|
acp: "acp";
|
|
39
40
|
"cli-base": "cli-base";
|
|
40
41
|
}>;
|
|
@@ -59,6 +60,7 @@ declare const batchSidecarGroupSchema: z.ZodObject<{
|
|
|
59
60
|
cursor: "cursor";
|
|
60
61
|
grok: "grok";
|
|
61
62
|
nanocode: "nanocode";
|
|
63
|
+
exo: "exo";
|
|
62
64
|
acp: "acp";
|
|
63
65
|
"cli-base": "cli-base";
|
|
64
66
|
}>;
|
|
@@ -96,6 +98,7 @@ declare const batchEventDataSchemas: {
|
|
|
96
98
|
cursor: "cursor";
|
|
97
99
|
grok: "grok";
|
|
98
100
|
nanocode: "nanocode";
|
|
101
|
+
exo: "exo";
|
|
99
102
|
acp: "acp";
|
|
100
103
|
"cli-base": "cli-base";
|
|
101
104
|
}>>;
|
|
@@ -128,6 +131,7 @@ declare const batchEventDataSchemas: {
|
|
|
128
131
|
cursor: "cursor";
|
|
129
132
|
grok: "grok";
|
|
130
133
|
nanocode: "nanocode";
|
|
134
|
+
exo: "exo";
|
|
131
135
|
acp: "acp";
|
|
132
136
|
"cli-base": "cli-base";
|
|
133
137
|
}>;
|
|
@@ -174,6 +178,7 @@ declare const batchEventDataSchemas: {
|
|
|
174
178
|
cursor: "cursor";
|
|
175
179
|
grok: "grok";
|
|
176
180
|
nanocode: "nanocode";
|
|
181
|
+
exo: "exo";
|
|
177
182
|
acp: "acp";
|
|
178
183
|
"cli-base": "cli-base";
|
|
179
184
|
}>;
|
|
@@ -222,6 +227,7 @@ declare const batchEventDataSchemas: {
|
|
|
222
227
|
cursor: "cursor";
|
|
223
228
|
grok: "grok";
|
|
224
229
|
nanocode: "nanocode";
|
|
230
|
+
exo: "exo";
|
|
225
231
|
acp: "acp";
|
|
226
232
|
"cli-base": "cli-base";
|
|
227
233
|
}>;
|
|
@@ -254,6 +260,7 @@ declare const batchEventDataSchemas: {
|
|
|
254
260
|
cursor: "cursor";
|
|
255
261
|
grok: "grok";
|
|
256
262
|
nanocode: "nanocode";
|
|
263
|
+
exo: "exo";
|
|
257
264
|
acp: "acp";
|
|
258
265
|
"cli-base": "cli-base";
|
|
259
266
|
}>;
|
|
@@ -286,6 +293,7 @@ declare const batchEventDataSchemas: {
|
|
|
286
293
|
cursor: "cursor";
|
|
287
294
|
grok: "grok";
|
|
288
295
|
nanocode: "nanocode";
|
|
296
|
+
exo: "exo";
|
|
289
297
|
acp: "acp";
|
|
290
298
|
"cli-base": "cli-base";
|
|
291
299
|
}>;
|
|
@@ -313,6 +321,7 @@ declare const batchEventDataSchemas: {
|
|
|
313
321
|
cursor: "cursor";
|
|
314
322
|
grok: "grok";
|
|
315
323
|
nanocode: "nanocode";
|
|
324
|
+
exo: "exo";
|
|
316
325
|
acp: "acp";
|
|
317
326
|
"cli-base": "cli-base";
|
|
318
327
|
}>;
|
|
@@ -353,6 +362,7 @@ declare const batchEventDataSchemas: {
|
|
|
353
362
|
cursor: "cursor";
|
|
354
363
|
grok: "grok";
|
|
355
364
|
nanocode: "nanocode";
|
|
365
|
+
exo: "exo";
|
|
356
366
|
acp: "acp";
|
|
357
367
|
"cli-base": "cli-base";
|
|
358
368
|
}>;
|
|
@@ -392,6 +402,7 @@ declare const batchEventDataSchemas: {
|
|
|
392
402
|
cursor: "cursor";
|
|
393
403
|
grok: "grok";
|
|
394
404
|
nanocode: "nanocode";
|
|
405
|
+
exo: "exo";
|
|
395
406
|
acp: "acp";
|
|
396
407
|
"cli-base": "cli-base";
|
|
397
408
|
}>;
|
|
@@ -427,6 +438,7 @@ declare const batchEventDataSchemas: {
|
|
|
427
438
|
cursor: "cursor";
|
|
428
439
|
grok: "grok";
|
|
429
440
|
nanocode: "nanocode";
|
|
441
|
+
exo: "exo";
|
|
430
442
|
acp: "acp";
|
|
431
443
|
"cli-base": "cli-base";
|
|
432
444
|
}>;
|
|
@@ -456,6 +468,7 @@ declare const batchEventDataSchemas: {
|
|
|
456
468
|
cursor: "cursor";
|
|
457
469
|
grok: "grok";
|
|
458
470
|
nanocode: "nanocode";
|
|
471
|
+
exo: "exo";
|
|
459
472
|
acp: "acp";
|
|
460
473
|
"cli-base": "cli-base";
|
|
461
474
|
}>;
|
|
@@ -514,6 +527,7 @@ declare const batchEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
514
527
|
cursor: "cursor";
|
|
515
528
|
grok: "grok";
|
|
516
529
|
nanocode: "nanocode";
|
|
530
|
+
exo: "exo";
|
|
517
531
|
acp: "acp";
|
|
518
532
|
"cli-base": "cli-base";
|
|
519
533
|
}>>;
|
|
@@ -549,6 +563,7 @@ declare const batchEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
549
563
|
cursor: "cursor";
|
|
550
564
|
grok: "grok";
|
|
551
565
|
nanocode: "nanocode";
|
|
566
|
+
exo: "exo";
|
|
552
567
|
acp: "acp";
|
|
553
568
|
"cli-base": "cli-base";
|
|
554
569
|
}>;
|
|
@@ -598,6 +613,7 @@ declare const batchEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
598
613
|
cursor: "cursor";
|
|
599
614
|
grok: "grok";
|
|
600
615
|
nanocode: "nanocode";
|
|
616
|
+
exo: "exo";
|
|
601
617
|
acp: "acp";
|
|
602
618
|
"cli-base": "cli-base";
|
|
603
619
|
}>;
|
|
@@ -658,6 +674,7 @@ declare const batchEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
658
674
|
cursor: "cursor";
|
|
659
675
|
grok: "grok";
|
|
660
676
|
nanocode: "nanocode";
|
|
677
|
+
exo: "exo";
|
|
661
678
|
acp: "acp";
|
|
662
679
|
"cli-base": "cli-base";
|
|
663
680
|
}>;
|
|
@@ -693,6 +710,7 @@ declare const batchEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
693
710
|
cursor: "cursor";
|
|
694
711
|
grok: "grok";
|
|
695
712
|
nanocode: "nanocode";
|
|
713
|
+
exo: "exo";
|
|
696
714
|
acp: "acp";
|
|
697
715
|
"cli-base": "cli-base";
|
|
698
716
|
}>;
|
|
@@ -728,6 +746,7 @@ declare const batchEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
728
746
|
cursor: "cursor";
|
|
729
747
|
grok: "grok";
|
|
730
748
|
nanocode: "nanocode";
|
|
749
|
+
exo: "exo";
|
|
731
750
|
acp: "acp";
|
|
732
751
|
"cli-base": "cli-base";
|
|
733
752
|
}>;
|
|
@@ -758,6 +777,7 @@ declare const batchEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
758
777
|
cursor: "cursor";
|
|
759
778
|
grok: "grok";
|
|
760
779
|
nanocode: "nanocode";
|
|
780
|
+
exo: "exo";
|
|
761
781
|
acp: "acp";
|
|
762
782
|
"cli-base": "cli-base";
|
|
763
783
|
}>;
|
|
@@ -801,6 +821,7 @@ declare const batchEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
801
821
|
cursor: "cursor";
|
|
802
822
|
grok: "grok";
|
|
803
823
|
nanocode: "nanocode";
|
|
824
|
+
exo: "exo";
|
|
804
825
|
acp: "acp";
|
|
805
826
|
"cli-base": "cli-base";
|
|
806
827
|
}>;
|
|
@@ -843,6 +864,7 @@ declare const batchEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
843
864
|
cursor: "cursor";
|
|
844
865
|
grok: "grok";
|
|
845
866
|
nanocode: "nanocode";
|
|
867
|
+
exo: "exo";
|
|
846
868
|
acp: "acp";
|
|
847
869
|
"cli-base": "cli-base";
|
|
848
870
|
}>;
|
|
@@ -881,6 +903,7 @@ declare const batchEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
881
903
|
cursor: "cursor";
|
|
882
904
|
grok: "grok";
|
|
883
905
|
nanocode: "nanocode";
|
|
906
|
+
exo: "exo";
|
|
884
907
|
acp: "acp";
|
|
885
908
|
"cli-base": "cli-base";
|
|
886
909
|
}>;
|
|
@@ -913,6 +936,7 @@ declare const batchEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
913
936
|
cursor: "cursor";
|
|
914
937
|
grok: "grok";
|
|
915
938
|
nanocode: "nanocode";
|
|
939
|
+
exo: "exo";
|
|
916
940
|
acp: "acp";
|
|
917
941
|
"cli-base": "cli-base";
|
|
918
942
|
}>;
|
|
@@ -968,6 +992,7 @@ declare const batchBackendSchema: z.ZodObject<{
|
|
|
968
992
|
cursor: "cursor";
|
|
969
993
|
grok: "grok";
|
|
970
994
|
nanocode: "nanocode";
|
|
995
|
+
exo: "exo";
|
|
971
996
|
acp: "acp";
|
|
972
997
|
"cli-base": "cli-base";
|
|
973
998
|
}>;
|
|
@@ -1015,6 +1040,7 @@ declare const publicBatchRunRequestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1015
1040
|
cursor: "cursor";
|
|
1016
1041
|
grok: "grok";
|
|
1017
1042
|
nanocode: "nanocode";
|
|
1043
|
+
exo: "exo";
|
|
1018
1044
|
acp: "acp";
|
|
1019
1045
|
"cli-base": "cli-base";
|
|
1020
1046
|
}>;
|
|
@@ -1080,6 +1106,7 @@ declare const publicBatchRunRequestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1080
1106
|
cursor: "cursor";
|
|
1081
1107
|
grok: "grok";
|
|
1082
1108
|
nanocode: "nanocode";
|
|
1109
|
+
exo: "exo";
|
|
1083
1110
|
acp: "acp";
|
|
1084
1111
|
"cli-base": "cli-base";
|
|
1085
1112
|
}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $ as BatchBackendInput, B as SandboxErrorMetadata, Y as SandboxCreateReceipt, a as TerminalStreamOptions, g as TerminalReadyInfo, i as TerminalStreamHandlers, s as TerminalStreamToken, t as TerminalAttachTimings } from "./terminal-stream-types-
|
|
2
|
-
import { C as InteractionRequest, D as AgentProfileConfidential, E as AgentProfileCapabilities, F as ProxySecretReceipt, N as AgentProfileValidationResult, P as ReasoningEffort, R as PlanContinuation, T as AgentProfile, n as SandboxSizePreset, v as AgentExactRunControlRef, x as AgentRuntimeAttachments } from "./index-
|
|
3
|
-
import { r as CliAuthReference } from "./cli-auth-bundle-
|
|
1
|
+
import { $ as BatchBackendInput, B as SandboxErrorMetadata, Y as SandboxCreateReceipt, a as TerminalStreamOptions, g as TerminalReadyInfo, i as TerminalStreamHandlers, s as TerminalStreamToken, t as TerminalAttachTimings } from "./terminal-stream-types-BgC3Pwzr.js";
|
|
2
|
+
import { C as InteractionRequest, D as AgentProfileConfidential, E as AgentProfileCapabilities, F as ProxySecretReceipt, N as AgentProfileValidationResult, P as ReasoningEffort, R as PlanContinuation, T as AgentProfile, n as SandboxSizePreset, v as AgentExactRunControlRef, x as AgentRuntimeAttachments } from "./index-QtEpXSoz.js";
|
|
3
|
+
import { r as CliAuthReference } from "./cli-auth-bundle-DsT-bq8b.js";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region ../../../packages/runtime-contracts/dist/backend-types.d.ts
|
|
@@ -18,6 +18,7 @@ declare const BACKEND_TYPE: {
|
|
|
18
18
|
readonly OPENCLAW: "openclaw";
|
|
19
19
|
readonly NANOCLAW: "nanoclaw";
|
|
20
20
|
readonly NANOCODE: "nanocode";
|
|
21
|
+
readonly EXO: "exo";
|
|
21
22
|
readonly ACP: "acp";
|
|
22
23
|
readonly CURSOR: "cursor";
|
|
23
24
|
readonly GROK: "grok";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sandbox",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.376",
|
|
4
4
|
"description": "TypeScript SDK for Tangle Sandbox: create cloud sandboxes and run commands and coding agents in them",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
},
|
|
110
110
|
"dependencies": {
|
|
111
111
|
"@tangle-network/agent-core": "^1.0.3",
|
|
112
|
-
"@tangle-network/agent-interface": "^5.10.
|
|
112
|
+
"@tangle-network/agent-interface": "^5.10.23",
|
|
113
113
|
"@tangle-network/agent-trace-contract": "^2.2.0",
|
|
114
114
|
"tar-stream": "3.2.2",
|
|
115
115
|
"zod": "^4.6.7"
|
|
@@ -153,15 +153,15 @@
|
|
|
153
153
|
"vitest": "^4.1.12",
|
|
154
154
|
"ws": "^8.22.0",
|
|
155
155
|
"yjs": "13.6.33",
|
|
156
|
-
"@products/sandbox-test-utils": "0.0.0",
|
|
157
|
-
"@tangle-network/cli-agent-registry": "0.15.0",
|
|
158
|
-
"@tangle-network/agent-profile-materialize": "0.27.1",
|
|
159
156
|
"@repo/shared": "0.0.0",
|
|
160
|
-
"@tangle-network/
|
|
157
|
+
"@tangle-network/agent-profile-materialize": "0.27.1",
|
|
158
|
+
"@products/sandbox-test-utils": "0.0.0",
|
|
159
|
+
"@tangle-network/runtime-contracts": "0.20.0",
|
|
160
|
+
"@tangle-network/cli-agent-registry": "0.15.0"
|
|
161
161
|
},
|
|
162
162
|
"tangleRelease": {
|
|
163
|
-
"sourceSha": "
|
|
164
|
-
"mergedAt": "2026-11-
|
|
163
|
+
"sourceSha": "50af028ed3405716af1918f2c85292056b2f6df4",
|
|
164
|
+
"mergedAt": "2026-11-10T18:13:25-08:00"
|
|
165
165
|
},
|
|
166
166
|
"scripts": {
|
|
167
167
|
"build": "node scripts/build-dist.mjs && bash scripts/verify-dist.sh",
|