@tangle-network/sandbox 1.0.152 → 1.0.154
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 +3 -3
- package/dist/agent/preview.d.ts +1 -1
- package/dist/agent/preview.js +1 -1
- package/dist/{agent-run-outcome-DEcFq1RI.d.ts → agent-run-outcome-CbQYfrfR.d.ts} +2 -2
- package/dist/auth/index.js +2 -2
- package/dist/{browser-interactive-control-controller-CRCRI6x5.js → browser-interactive-control-controller-C6GiIQZF.js} +15 -15
- package/dist/{browser-interactive-control-controller-DdtXzO5r.d.ts → browser-interactive-control-controller-CP5PDJK8.d.ts} +1 -1
- package/dist/{cli-auth-bundle-DF3PK8iC-DrtpxJ_t.js → cli-auth-bundle-CwJjUmvo-3J2DDPxW.js} +52 -53
- package/dist/cli-auth-bundle-Op0k_zIX.js +2 -0
- package/dist/{client-D-SixEuy.d.ts → client-COEPtvS9.d.ts} +5 -5
- package/dist/{client-B6Jz13t-.js → client-CwXCrbjC.js} +5 -5
- package/dist/{core-CpOW0eRh.js → core-0xk74Wb2.js} +4 -4
- package/dist/core.d.ts +6 -6
- package/dist/core.js +3 -3
- package/dist/{harness-BhAJqO2u.js → harness-DMaNgn0S.js} +4 -4
- package/dist/{index-BrweVqLk.d.ts → index-Xfxbbfh8.d.ts} +5 -5
- package/dist/index.d.ts +9 -9
- package/dist/index.js +7 -7
- package/dist/interactive-control.d.ts +1 -1
- package/dist/interactive-control.js +1 -1
- package/dist/{interactive-controller-C1UItRXC.js → interactive-controller-BVsAnr6o.js} +4 -4
- package/dist/{interactive-controller-ChJTOEVe.d.ts → interactive-controller-CNwiIdK5.d.ts} +3 -3
- package/dist/{lines-C1oQSbA_.d.ts → lines-Bfy9d9L9.d.ts} +1 -1
- package/dist/lines.d.ts +1 -1
- package/dist/{local-cli-auth-9-yeJf61.js → local-cli-auth-CuWtJrZj.js} +1 -1
- package/dist/{preview-B-F8CbMN.d.ts → preview-DKr-qLk6.d.ts} +3 -3
- package/dist/{profile-schema-Y5Xl8aOt.js → profile-schema-C1KpT-wS.js} +13 -16
- package/dist/{public-templates-BnoOZt29.d.ts → public-templates-B5x_-DED.d.ts} +2 -2
- package/dist/public-templates.d.ts +1 -1
- package/dist/runtime.d.ts +5 -5
- package/dist/runtime.js +2 -2
- package/dist/{sandbox-CqzkRtGt.js → sandbox-Djom_zTy.js} +140 -27
- 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-CnR5sAhx.js → tangle-tA0XYA6a.js} +1 -1
- package/dist/{terminal-stream-types-5kBchrj3.d.ts → terminal-stream-types-D0caxkTH.d.ts} +14 -14
- package/dist/{types-Ddn48ORy.d.ts → types-D11H6atN.d.ts} +1 -1
- package/package.json +7 -7
- package/dist/cli-auth-bundle-D6NcQKP9.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-
|
|
2
|
-
import { Bt as SandboxFleetParent, Ha as CodeExecutionResult, Ua as CodeLanguage, Ur as CodeExecutionOptions, Wa as CodeResultPart, ga as BackendConfig, ia as SessionListOptions, na as SessionInfo, wo as BackendType } from "../types-
|
|
3
|
-
import { t as Sandbox } from "../client-
|
|
4
|
-
import { u as PreviewAuthorizer } from "../preview-
|
|
1
|
+
import { I as SandboxTaskSession, O as SandboxInstance, R as SandboxSession } from "../index-Xfxbbfh8.js";
|
|
2
|
+
import { Bt as SandboxFleetParent, Ha as CodeExecutionResult, Ua as CodeLanguage, Ur as CodeExecutionOptions, Wa as CodeResultPart, ga as BackendConfig, ia as SessionListOptions, na as SessionInfo, wo as BackendType } from "../types-D11H6atN.js";
|
|
3
|
+
import { t as Sandbox } from "../client-COEPtvS9.js";
|
|
4
|
+
import { u as PreviewAuthorizer } from "../preview-DKr-qLk6.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
|
-
import { k as assertCurrentBackendType } from "../interactive-controller-
|
|
3
|
-
import { t as SandboxInstance } from "../sandbox-
|
|
2
|
+
import { k as assertCurrentBackendType } from "../interactive-controller-BVsAnr6o.js";
|
|
3
|
+
import { t as SandboxInstance } from "../sandbox-Djom_zTy.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-CwXCrbjC.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-DKr-qLk6.js";
|
|
2
2
|
export { AgentPreviewError, AgentPreviewOptions, PREVIEW_MCP_ALIAS, PREVIEW_TOOLS, PreviewAuthorizationRequest, PreviewAuthorizer, PreviewExecutionContext, PreviewTool, PublishAgentPreviewOptions, assertPreviewId, ensureAgentPreview, getAgentPreview, listAgentPreviews, previewOperationTool, previewToolsForProfile, publishAgentPreview, removeAgentPreview, resolveSelfSandbox, servePreviewMcp };
|
package/dist/agent/preview.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as agentProfileSchema } from "../profile-schema-
|
|
1
|
+
import { r as agentProfileSchema } from "../profile-schema-C1KpT-wS.js";
|
|
2
2
|
import { a as listAgentPreviews, c as resolveSelfSandbox, i as getAgentPreview, n as assertPreviewId, o as publishAgentPreview, r as ensureAgentPreview, s as removeAgentPreview, t as AgentPreviewError } from "../preview-operations-BvgwYaoL.js";
|
|
3
3
|
//#region src/agent/preview-policy.ts
|
|
4
4
|
/** Channel-neutral preview tool selection from a host-authored profile. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { V as InteractionRequest } from "./terminal-stream-types-
|
|
2
|
-
import { Di as SandboxEvent, _i as DurablePlanSnapshot, ci as AgentApprovalRequirement, di as AgentToolInvocation, li as AgentQuestionRequest, ui as AgentRunStatus } from "./types-
|
|
1
|
+
import { V as InteractionRequest } from "./terminal-stream-types-D0caxkTH.js";
|
|
2
|
+
import { Di as SandboxEvent, _i as DurablePlanSnapshot, ci as AgentApprovalRequirement, di as AgentToolInvocation, li as AgentQuestionRequest, ui as AgentRunStatus } from "./types-D11H6atN.js";
|
|
3
3
|
|
|
4
4
|
//#region src/agent-run-outcome.d.ts
|
|
5
5
|
interface AgentRunOutcome {
|
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-CwJjUmvo-3J2DDPxW.js";
|
|
2
|
+
import "../cli-auth-bundle-Op0k_zIX.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
|
-
import { C as boundedIdentifierSchema, D as isBoundedEventContentJson, E as boundedStringSchema, S as boundedEventContentStringSchema, T as boundedJsonSchema, _ as CONTRACT_MAX_ARRAY_LENGTH, b as boundedEventContentJsonSchema, g as sha256DigestSchema, h as omitTopLevelDigest, m as looksLikeCredential, n as REASONING_EFFORTS, o as canonicalCandidateDigest, p as isWellFormedUnicode, s as canonicalCandidateJson, t as harnessTypeSchema, u as isCanonicalJsonValue, w as boundedJsonRecordSchema, x as boundedEventContentRecordSchema, y as CONTRACT_MAX_STRING_LENGTH } from "./harness-
|
|
1
|
+
import { C as boundedIdentifierSchema, D as isBoundedEventContentJson, E as boundedStringSchema, S as boundedEventContentStringSchema, T as boundedJsonSchema, _ as CONTRACT_MAX_ARRAY_LENGTH, b as boundedEventContentJsonSchema, g as sha256DigestSchema, h as omitTopLevelDigest, m as looksLikeCredential, n as REASONING_EFFORTS, o as canonicalCandidateDigest, p as isWellFormedUnicode, s as canonicalCandidateJson, t as harnessTypeSchema, u as isCanonicalJsonValue, w as boundedJsonRecordSchema, x as boundedEventContentRecordSchema, y as CONTRACT_MAX_STRING_LENGTH } from "./harness-DMaNgn0S.js";
|
|
2
2
|
import { t as awaitWithAbort } from "./abort-signal-CDxyloxz.js";
|
|
3
3
|
import { z } from "zod";
|
|
4
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
4
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.13/node_modules/@tangle-network/agent-interface/dist/native-session-event.js
|
|
5
5
|
/**
|
|
6
6
|
* Private adapter observation of a provider conversation or resume identity.
|
|
7
7
|
* The adapter must obtain this ID from its bound provider process or API.
|
|
@@ -16,7 +16,7 @@ const NativeSessionObservedEventSchema = z.object({
|
|
|
16
16
|
nativeSessionId: z.string().min(1).max(512).regex(/^\S+$/u)
|
|
17
17
|
}).strict();
|
|
18
18
|
//#endregion
|
|
19
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
19
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.13/node_modules/@tangle-network/agent-interface/dist/environment-observation.js
|
|
20
20
|
const ObservationProvenanceSchema = z.strictObject({
|
|
21
21
|
origin: z.enum([
|
|
22
22
|
"measured",
|
|
@@ -208,7 +208,7 @@ z.strictObject({
|
|
|
208
208
|
accountUsage: AccountUsageSchema.optional()
|
|
209
209
|
});
|
|
210
210
|
//#endregion
|
|
211
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
211
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.13/node_modules/@tangle-network/agent-interface/dist/interaction-fields.js
|
|
212
212
|
/**
|
|
213
213
|
* Field names whose own-key form collides with object internals. A record
|
|
214
214
|
* parser drops a raw `__proto__` key through the legacy prototype setter before
|
|
@@ -389,7 +389,7 @@ z.strictObject({
|
|
|
389
389
|
});
|
|
390
390
|
});
|
|
391
391
|
//#endregion
|
|
392
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
392
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.13/node_modules/@tangle-network/agent-interface/dist/interaction-data.js
|
|
393
393
|
const InteractionSecretReferenceSchema = z.strictObject({
|
|
394
394
|
kind: z.literal("secret_handle"),
|
|
395
395
|
handleId: boundedIdentifierSchema,
|
|
@@ -434,7 +434,7 @@ const InteractionResolutionSchema = z.discriminatedUnion("outcome", [
|
|
|
434
434
|
})
|
|
435
435
|
]);
|
|
436
436
|
//#endregion
|
|
437
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
437
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.13/node_modules/@tangle-network/agent-interface/dist/interaction-permissions.js
|
|
438
438
|
const InteractionKind = {
|
|
439
439
|
/** Agent asks the user to answer/choose. Answer = the chosen field values. */
|
|
440
440
|
Question: "question",
|
|
@@ -461,7 +461,7 @@ const PermissionGrantSchema = z.enum([
|
|
|
461
461
|
"deny"
|
|
462
462
|
]);
|
|
463
463
|
//#endregion
|
|
464
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
464
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.13/node_modules/@tangle-network/agent-interface/dist/interaction-answer-validation.js
|
|
465
465
|
/**
|
|
466
466
|
* Validate an accepted answer against its spec. Used by the broker before a
|
|
467
467
|
* response reaches the adapter, so malformed answers are rejected centrally.
|
|
@@ -566,7 +566,7 @@ function validateInteractionAnswer(spec, data) {
|
|
|
566
566
|
};
|
|
567
567
|
}
|
|
568
568
|
//#endregion
|
|
569
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
569
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.13/node_modules/@tangle-network/agent-interface/dist/interaction-resolution-validation.js
|
|
570
570
|
/**
|
|
571
571
|
* A declined or cancelled resolution submits no answer, so any secret-typed
|
|
572
572
|
* field it carries can only be leakage into a transport that retains it.
|
|
@@ -604,7 +604,7 @@ function validateResolutionForRequest(request, resolution) {
|
|
|
604
604
|
return errors;
|
|
605
605
|
}
|
|
606
606
|
//#endregion
|
|
607
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
607
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.13/node_modules/@tangle-network/agent-interface/dist/interaction-envelope.js
|
|
608
608
|
const interactionOutcomeValues = [
|
|
609
609
|
"accepted",
|
|
610
610
|
"declined",
|
|
@@ -808,7 +808,7 @@ const InteractionAcknowledgementSchema = z.strictObject({
|
|
|
808
808
|
});
|
|
809
809
|
});
|
|
810
810
|
//#endregion
|
|
811
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
811
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.13/node_modules/@tangle-network/agent-interface/dist/plan.js
|
|
812
812
|
/**
|
|
813
813
|
* Credential-free provider correlation committed with the plan. This union is
|
|
814
814
|
* deliberately closed: adding plan support for another harness requires an
|
|
@@ -873,7 +873,7 @@ const AgentExecutionOutcomeSchema = z.discriminatedUnion("type", [z.object({ typ
|
|
|
873
873
|
plan: DurablePlanSchema
|
|
874
874
|
}).strict()]);
|
|
875
875
|
//#endregion
|
|
876
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
876
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.13/node_modules/@tangle-network/agent-interface/dist/runtime-control.js
|
|
877
877
|
const stableIdSchema = boundedIdentifierSchema;
|
|
878
878
|
const AgentExactRunControlRefSchema = z.strictObject({
|
|
879
879
|
runId: stableIdSchema,
|
|
@@ -1204,7 +1204,7 @@ z.strictObject({
|
|
|
1204
1204
|
event: CanonicalStreamEventSchema
|
|
1205
1205
|
});
|
|
1206
1206
|
//#endregion
|
|
1207
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
1207
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.13/node_modules/@tangle-network/agent-interface/dist/agent-workspace-source-snapshot.js
|
|
1208
1208
|
const controlCharacterPattern = /[\u0000-\u001f\u007f]/;
|
|
1209
1209
|
/** Shared public identifier used by workspace lifecycle contracts. */
|
|
1210
1210
|
const agentWorkspacePublicIdentifierSchema = z.string().min(1).max(500).refine((value) => value.trim().length > 0 && isWellFormedUnicode(value) && !controlCharacterPattern.test(value) && !looksLikeCredential(value), "public workspace identity cannot carry credential-like material");
|
|
@@ -1215,7 +1215,7 @@ const agentWorkspaceSourceSnapshotPolicySchema = z.strictObject({
|
|
|
1215
1215
|
digest: sha256DigestSchema
|
|
1216
1216
|
});
|
|
1217
1217
|
//#endregion
|
|
1218
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
1218
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.13/node_modules/@tangle-network/agent-interface/dist/agent-profile-materialization.js
|
|
1219
1219
|
/**
|
|
1220
1220
|
* The canonical AgentProfile leaves that can affect one execution.
|
|
1221
1221
|
*
|
|
@@ -1279,7 +1279,7 @@ const AGENT_PROFILE_MATERIALIZATION_AXES = [
|
|
|
1279
1279
|
value: (profile) => profile.model?.[property]
|
|
1280
1280
|
}))];
|
|
1281
1281
|
//#endregion
|
|
1282
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
1282
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.13/node_modules/@tangle-network/agent-interface/dist/agent-execution-preparation-receipt.js
|
|
1283
1283
|
const nonBlankStringSchema = z.string().refine((value) => value.trim().length > 0, "value cannot be blank");
|
|
1284
1284
|
const publicMechanismIdentifierSchema = z.string().regex(/^[A-Za-z0-9][A-Za-z0-9._:/-]{0,199}$/, "mechanism must be a public identifier, not launch arguments").refine((value) => !looksLikeCredential(value), "mechanism cannot carry credential-like material");
|
|
1285
1285
|
const publicLifecycleIdentifierSchema = z.string().regex(/^[A-Za-z0-9][A-Za-z0-9._~:/+-]{0,499}$/, "lifecycle identity must be a public identifier").refine((value) => !looksLikeCredential(value), "lifecycle identity cannot carry credential-like material");
|
|
@@ -1456,7 +1456,7 @@ function sameAgentExactRun(left, right) {
|
|
|
1456
1456
|
return left.runId === right.runId && left.provider === right.provider && left.environmentId === right.environmentId && left.sessionId === right.sessionId && left.executionId === right.executionId && left.requestDigest === right.requestDigest;
|
|
1457
1457
|
}
|
|
1458
1458
|
//#endregion
|
|
1459
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
1459
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.13/node_modules/@tangle-network/agent-interface/dist/environment-interactive-control.js
|
|
1460
1460
|
/**
|
|
1461
1461
|
* Durable identity of one coding-agent TUI.
|
|
1462
1462
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as AgentInteractiveSessionStatus, C as AgentInteractiveSessionAttach, E as AgentInteractiveSessionControlClaimRequest, T as AgentInteractiveSessionControlClaimAcknowledgement, i as TerminalStreamHandlers, k as AgentInteractiveSessionRef, w as AgentInteractiveSessionControlClaim } from "./terminal-stream-types-
|
|
1
|
+
import { A as AgentInteractiveSessionStatus, C as AgentInteractiveSessionAttach, E as AgentInteractiveSessionControlClaimRequest, T as AgentInteractiveSessionControlClaimAcknowledgement, i as TerminalStreamHandlers, k as AgentInteractiveSessionRef, w as AgentInteractiveSessionControlClaim } from "./terminal-stream-types-D0caxkTH.js";
|
|
2
2
|
|
|
3
3
|
//#region src/interactive-types.d.ts
|
|
4
4
|
/** Cancellation for an interactive SDK request. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as agentProfileJsonSchema, r as agentProfileSchema } from "./profile-schema-
|
|
1
|
+
import { n as agentProfileJsonSchema, r as agentProfileSchema } from "./profile-schema-C1KpT-wS.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-D8ecaUiL.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",
|
|
@@ -109,15 +109,12 @@ printf '\\n'`,
|
|
|
109
109
|
storeEnv: {},
|
|
110
110
|
evidence: {
|
|
111
111
|
servedModel: "session-record",
|
|
112
|
-
usage: "
|
|
112
|
+
usage: "session-total",
|
|
113
113
|
endingError: "none"
|
|
114
114
|
},
|
|
115
115
|
cliVersion: HARNESS_CLI_VERSIONS.acp
|
|
116
116
|
},
|
|
117
|
-
defect:
|
|
118
|
-
issue: "#10096",
|
|
119
|
-
reason: "contract is declared per sub-agent; gemini needs a mock dialect"
|
|
120
|
-
}
|
|
117
|
+
defect: null
|
|
121
118
|
},
|
|
122
119
|
config: {
|
|
123
120
|
kind: "model",
|
|
@@ -488,7 +485,12 @@ var grok_default = {
|
|
|
488
485
|
version: 1,
|
|
489
486
|
stores: [{
|
|
490
487
|
root: ".grok/sessions",
|
|
491
|
-
files: [
|
|
488
|
+
files: [
|
|
489
|
+
"*/{id}/updates.jsonl",
|
|
490
|
+
"*/{id}/chat_history.jsonl",
|
|
491
|
+
"*/{id}/summary.json",
|
|
492
|
+
"*/{id}/signals.json"
|
|
493
|
+
],
|
|
492
494
|
write: "jsonl-append",
|
|
493
495
|
shared: false,
|
|
494
496
|
format: "grok.acp-session-dir"
|
|
@@ -506,7 +508,7 @@ var grok_default = {
|
|
|
506
508
|
storeEnv: { GROK_HOME: ".grok" },
|
|
507
509
|
evidence: {
|
|
508
510
|
servedModel: "session-record",
|
|
509
|
-
usage: "
|
|
511
|
+
usage: "none",
|
|
510
512
|
endingError: "none"
|
|
511
513
|
},
|
|
512
514
|
cliVersion: HARNESS_CLI_VERSIONS.grok
|
|
@@ -561,10 +563,7 @@ var hermes_default = {
|
|
|
561
563
|
},
|
|
562
564
|
cliVersion: HARNESS_CLI_VERSIONS.hermes
|
|
563
565
|
},
|
|
564
|
-
defect:
|
|
565
|
-
issue: "#10096",
|
|
566
|
-
reason: "HERMES_HOME lives under the workspace, and the session id arrives on stderr after exit"
|
|
567
|
-
}
|
|
566
|
+
defect: null
|
|
568
567
|
},
|
|
569
568
|
config: {
|
|
570
569
|
kind: "model",
|
|
@@ -627,7 +626,6 @@ var kimi_code_default = {
|
|
|
627
626
|
config: {
|
|
628
627
|
kind: "model",
|
|
629
628
|
providerRequiresModel: true,
|
|
630
|
-
assertions: ["moonshot-provider-lock"],
|
|
631
629
|
keySources: [
|
|
632
630
|
"managed",
|
|
633
631
|
"api-key",
|
|
@@ -733,16 +731,19 @@ var openclaw_default = {
|
|
|
733
731
|
contract: {
|
|
734
732
|
version: 1,
|
|
735
733
|
stores: [{
|
|
736
|
-
root: ".openclaw
|
|
737
|
-
files: [
|
|
738
|
-
|
|
739
|
-
|
|
734
|
+
root: ".openclaw",
|
|
735
|
+
files: [
|
|
736
|
+
"agents/main/agent/openclaw-agent.sqlite",
|
|
737
|
+
"agents/main/agent/openclaw-agent.sqlite-wal",
|
|
738
|
+
"agents/main/agent/openclaw-agent.sqlite-shm"
|
|
739
|
+
],
|
|
740
|
+
write: "sqlite-wal",
|
|
741
|
+
shared: true,
|
|
740
742
|
format: "openclaw.session-jsonl"
|
|
741
743
|
}],
|
|
742
744
|
identity: {
|
|
743
|
-
kind: "
|
|
744
|
-
|
|
745
|
-
deadlineMs: 6e4
|
|
745
|
+
kind: "pre-minted",
|
|
746
|
+
args: ["--session-id", "{id}"]
|
|
746
747
|
},
|
|
747
748
|
resume: {
|
|
748
749
|
kind: "args",
|
|
@@ -757,10 +758,7 @@ var openclaw_default = {
|
|
|
757
758
|
},
|
|
758
759
|
cliVersion: HARNESS_CLI_VERSIONS.openclaw
|
|
759
760
|
},
|
|
760
|
-
defect:
|
|
761
|
-
issue: "#10096",
|
|
762
|
-
reason: "config is pinned outside the runtime HOME; store layout unverified"
|
|
763
|
-
}
|
|
761
|
+
defect: null
|
|
764
762
|
},
|
|
765
763
|
config: {
|
|
766
764
|
kind: "model",
|
|
@@ -956,7 +954,7 @@ const HARNESSES = {
|
|
|
956
954
|
version: 1,
|
|
957
955
|
stores: [{
|
|
958
956
|
root: ".prime-provider/prime-agent-dirs",
|
|
959
|
-
files: ["
|
|
957
|
+
files: ["**/sessions/*.jsonl"],
|
|
960
958
|
write: "jsonl-append",
|
|
961
959
|
shared: false,
|
|
962
960
|
format: "prime.session-jsonl"
|
|
@@ -975,10 +973,7 @@ const HARNESSES = {
|
|
|
975
973
|
},
|
|
976
974
|
cliVersion: HARNESS_CLI_VERSIONS.prime
|
|
977
975
|
},
|
|
978
|
-
defect:
|
|
979
|
-
issue: "#10096",
|
|
980
|
-
reason: "no conformance receipt for the runtime-HOME agent dir yet"
|
|
981
|
-
}
|
|
976
|
+
defect: null
|
|
982
977
|
},
|
|
983
978
|
config: {
|
|
984
979
|
kind: "model",
|
|
@@ -1060,7 +1055,7 @@ function isBackendType(value) {
|
|
|
1060
1055
|
return BACKEND_TYPE_SET.has(value);
|
|
1061
1056
|
}
|
|
1062
1057
|
//#endregion
|
|
1063
|
-
//#region ../../../packages/cli-agent-registry/dist/specs-
|
|
1058
|
+
//#region ../../../packages/cli-agent-registry/dist/specs-B-8kWldX.mjs
|
|
1064
1059
|
z.globalRegistry.add(agentProfileSchema, {
|
|
1065
1060
|
id: "AgentProfile",
|
|
1066
1061
|
...agentProfileJsonSchema
|
|
@@ -1395,26 +1390,6 @@ const CLI_AGENT_SPECS = [
|
|
|
1395
1390
|
cliAuthHome: { kind: "inherit-home" },
|
|
1396
1391
|
hasCliAuth: true
|
|
1397
1392
|
},
|
|
1398
|
-
{
|
|
1399
|
-
name: BACKEND_TYPE.GROK,
|
|
1400
|
-
nativeSession: NATIVE_SESSION_CONTRACTS.grok,
|
|
1401
|
-
messageStorageDir: ".grok-sessions",
|
|
1402
|
-
displayName: "Grok",
|
|
1403
|
-
description: "Grok Build CLI. Headless grok -p against a caller base URL.",
|
|
1404
|
-
envVars: HARNESSES.grok.config.envVars,
|
|
1405
|
-
capabilities: {
|
|
1406
|
-
...BASE_CAPABILITIES,
|
|
1407
|
-
reasoning: false,
|
|
1408
|
-
contextWindow: 128e3,
|
|
1409
|
-
mcp: false,
|
|
1410
|
-
sessions: true,
|
|
1411
|
-
configurable: false,
|
|
1412
|
-
interactions: [],
|
|
1413
|
-
imageInput: false
|
|
1414
|
-
},
|
|
1415
|
-
cliAuthHome: { kind: "inherit-home" },
|
|
1416
|
-
hasCliAuth: false
|
|
1417
|
-
},
|
|
1418
1393
|
{
|
|
1419
1394
|
name: BACKEND_TYPE.PI,
|
|
1420
1395
|
nativeSession: NATIVE_SESSION_CONTRACTS.pi,
|
|
@@ -1523,7 +1498,11 @@ const CLI_AGENT_SPECS = [
|
|
|
1523
1498
|
imageInput: false
|
|
1524
1499
|
},
|
|
1525
1500
|
cliAuthHome: { kind: "inherit-home" },
|
|
1526
|
-
hasCliAuth: false
|
|
1501
|
+
hasCliAuth: false,
|
|
1502
|
+
unavailable: {
|
|
1503
|
+
capability: "docker",
|
|
1504
|
+
reason: "NanoClaw runs its agent in Docker, which Tangle sandboxes do not offer. Use another harness, such as opencode."
|
|
1505
|
+
}
|
|
1527
1506
|
},
|
|
1528
1507
|
{
|
|
1529
1508
|
name: BACKEND_TYPE.ACP,
|
|
@@ -1572,6 +1551,26 @@ const CLI_AGENT_SPECS = [
|
|
|
1572
1551
|
cliAuthHome: { kind: "inherit-home" },
|
|
1573
1552
|
hasCliAuth: false
|
|
1574
1553
|
},
|
|
1554
|
+
{
|
|
1555
|
+
name: BACKEND_TYPE.GROK,
|
|
1556
|
+
nativeSession: NATIVE_SESSION_CONTRACTS.grok,
|
|
1557
|
+
messageStorageDir: ".grok-sessions",
|
|
1558
|
+
displayName: "Grok",
|
|
1559
|
+
description: "Grok Build CLI. Headless grok -p against a caller base URL.",
|
|
1560
|
+
envVars: HARNESSES.grok.config.envVars,
|
|
1561
|
+
capabilities: {
|
|
1562
|
+
...BASE_CAPABILITIES,
|
|
1563
|
+
reasoning: false,
|
|
1564
|
+
contextWindow: 128e3,
|
|
1565
|
+
mcp: false,
|
|
1566
|
+
sessions: true,
|
|
1567
|
+
configurable: false,
|
|
1568
|
+
interactions: [],
|
|
1569
|
+
imageInput: false
|
|
1570
|
+
},
|
|
1571
|
+
cliAuthHome: { kind: "inherit-home" },
|
|
1572
|
+
hasCliAuth: false
|
|
1573
|
+
},
|
|
1575
1574
|
{
|
|
1576
1575
|
name: BACKEND_TYPE.CLI_BASE,
|
|
1577
1576
|
nativeSession: null,
|
|
@@ -1598,7 +1597,7 @@ function getSpec(name) {
|
|
|
1598
1597
|
return CLI_AGENT_SPECS.find((spec) => spec.name === name);
|
|
1599
1598
|
}
|
|
1600
1599
|
//#endregion
|
|
1601
|
-
//#region ../../../packages/cli-agent-registry/dist/cli-auth-bundle-
|
|
1600
|
+
//#region ../../../packages/cli-agent-registry/dist/cli-auth-bundle-CwJjUmvo.mjs
|
|
1602
1601
|
const cliAuthReferenceSchema = z.strictObject({
|
|
1603
1602
|
account: z.string().regex(/^[A-Za-z0-9][A-Za-z0-9@._+-]{0,127}$/),
|
|
1604
1603
|
secretEnv: z.string().regex(/^[A-Za-z_][A-Za-z0-9_]{0,63}$/),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { A as TraceExportResult, H as MaterializeProfileFileMountsOptions, O as SandboxInstance, U as MaterializeProfileFileMountsResult, W as ProfileFileMountBox, j as TraceExportSink } from "./index-
|
|
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-
|
|
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 PublicBatchRunRequestInput, _t as ListSandboxFleetOptions, a as DeleteMatchingSandboxesResult, an as SandboxInfo, bi as IntelligenceReportBudget, bn as TeeAttestationResponse, 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, go as PublicBatchRunRequest, 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, mt as FleetPromptDispatchResult, nt as FleetAgentId, ot as FleetDispatchCancelResult, po as BatchResult, pt as FleetPromptDispatchOptions, qn as DownloadOptions, r as DeleteMatchingSandboxesFilter, si as BatchRunOptions, st as FleetDispatchResultBuffer, tn as ListSandboxOptions, tt as CreateSandboxFleetWithCoordinatorOptions, ut as FleetExecDispatchOptions, 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, yo as BatchEvent, yr as ExecOptions, yt as ReapExpiredSandboxFleetsResult, zi as ConversationTurnResult, zt as SandboxFleetOperationsSummary } from "./types-
|
|
4
|
-
import { t as LinesClient } from "./lines-
|
|
5
|
-
import { a as PublicTemplatesClient } from "./public-templates-
|
|
1
|
+
import { A as TraceExportResult, H as MaterializeProfileFileMountsOptions, O as SandboxInstance, U as MaterializeProfileFileMountsResult, W as ProfileFileMountBox, j as TraceExportSink } from "./index-Xfxbbfh8.js";
|
|
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-D0caxkTH.js";
|
|
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 PublicBatchRunRequestInput, _t as ListSandboxFleetOptions, a as DeleteMatchingSandboxesResult, an as SandboxInfo, bi as IntelligenceReportBudget, bn as TeeAttestationResponse, 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, go as PublicBatchRunRequest, 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, mt as FleetPromptDispatchResult, nt as FleetAgentId, ot as FleetDispatchCancelResult, po as BatchResult, pt as FleetPromptDispatchOptions, qn as DownloadOptions, r as DeleteMatchingSandboxesFilter, si as BatchRunOptions, st as FleetDispatchResultBuffer, tn as ListSandboxOptions, tt as CreateSandboxFleetWithCoordinatorOptions, ut as FleetExecDispatchOptions, 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, yo as BatchEvent, yr as ExecOptions, yt as ReapExpiredSandboxFleetsResult, zi as ConversationTurnResult, zt as SandboxFleetOperationsSummary } from "./types-D11H6atN.js";
|
|
4
|
+
import { t as LinesClient } from "./lines-Bfy9d9L9.js";
|
|
5
|
+
import { a as PublicTemplatesClient } from "./public-templates-B5x_-DED.js";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
|
|
8
8
|
//#region src/backend-registry.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
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-
|
|
2
|
-
import { r as agentProfileSchema } from "./profile-schema-
|
|
3
|
-
import { A as normalizeSandboxCreateReceipt, B as createRetryDelayMs, D as validateDeferredProfileFileMounts, E as splitInlineProfileSkills, F as normalizeProxySecretReceipt, G as isRetryableCreateError, H as isCapacityShortageCreateError, I as normalizeSandboxShape, K as waitForCreateRetry, M as parseStopPhase, N as normalizeConnection, O as isRetryableProfileFileMaterializeFailure, P as normalizeEgressPolicyFields, T as splitInlineProfileFileMounts, U as isDeployWindowCreateError, V as generateIdempotencyKey, W as isRateLimitCreateError, d as sandboxLedgerUsd, j as normalizeStartupDiagnostics, k as normalizeCaptureProof, n as createSandboxInstanceFromResponse, o as exportTraceBundle, z as DEPLOY_WINDOW_RETRY_MS } from "./sandbox-
|
|
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-BVsAnr6o.js";
|
|
2
|
+
import { r as agentProfileSchema } from "./profile-schema-C1KpT-wS.js";
|
|
3
|
+
import { A as normalizeSandboxCreateReceipt, B as createRetryDelayMs, D as validateDeferredProfileFileMounts, E as splitInlineProfileSkills, F as normalizeProxySecretReceipt, G as isRetryableCreateError, H as isCapacityShortageCreateError, I as normalizeSandboxShape, K as waitForCreateRetry, M as parseStopPhase, N as normalizeConnection, O as isRetryableProfileFileMaterializeFailure, P as normalizeEgressPolicyFields, T as splitInlineProfileFileMounts, U as isDeployWindowCreateError, V as generateIdempotencyKey, W as isRateLimitCreateError, d as sandboxLedgerUsd, j as normalizeStartupDiagnostics, k as normalizeCaptureProof, n as createSandboxInstanceFromResponse, o as exportTraceBundle, z as DEPLOY_WINDOW_RETRY_MS } from "./sandbox-Djom_zTy.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-CuWtJrZj.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-CuWtJrZj.js");
|
|
1219
1219
|
return describe(backendType);
|
|
1220
1220
|
}
|
|
1221
1221
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { r as agentProfileSchema } from "./profile-schema-
|
|
2
|
-
import { q as canonicalAgentProfileDigest } from "./sandbox-
|
|
1
|
+
import { r as agentProfileSchema } from "./profile-schema-C1KpT-wS.js";
|
|
2
|
+
import { q as canonicalAgentProfileDigest } from "./sandbox-Djom_zTy.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-CwJjUmvo-3J2DDPxW.js";
|
|
6
|
+
import "./cli-auth-bundle-Op0k_zIX.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-
|
|
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-
|
|
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-
|
|
4
|
-
import { D as LineReplyCode, E as LineReminderPreferences, F as LineSenderVerification, G as LineApplicationRequest, H as LINE_APPLICATION_REPLY_MAX_CHARS, I as LineSenderVerificationStart, J as LineApplicationView, K as LineApplicationResult, N as LineSendInput, O as LineReplyCodeInput, P as LineSendReceipt, T as LineProvider, U as LINE_APPLICATION_REQUEST_MAX_BYTES, W as LineApplication, X as parseLineApplicationResult, Y as parseLineApplicationRequest, _ as LineInstanceCreate, a as Line, b as LineMemberInstance, d as LineAttachment, f as LineAttachmentReauthorization, g as LineInstanceAttachOptions, h as LineImage, i as profileChannelReference, l as LineApplicationAttachOptions, o as LineAgentRolePolicy, p as LineExecutionKey, q as LineApplicationState, r as lineInstanceKey, t as LinesClient, w as LineNumberInventory, y as LineMember } from "./lines-
|
|
5
|
-
import { 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-
|
|
6
|
-
import { a as PublicTemplatesClient, i as PublicTemplatePublishRequestOptions, n as PublicTemplatePublishError, r as PublicTemplatePublishJob, t as PublicTemplatePublishArtifact } from "./public-templates-
|
|
1
|
+
import { B as WorkspaceImages, O as SandboxInstance, V as ProfileFileDeliveryReport, z as WorkspaceImagePublishRequestOptions } from "./index-Xfxbbfh8.js";
|
|
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-D0caxkTH.js";
|
|
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-D11H6atN.js";
|
|
4
|
+
import { D as LineReplyCode, E as LineReminderPreferences, F as LineSenderVerification, G as LineApplicationRequest, H as LINE_APPLICATION_REPLY_MAX_CHARS, I as LineSenderVerificationStart, J as LineApplicationView, K as LineApplicationResult, N as LineSendInput, O as LineReplyCodeInput, P as LineSendReceipt, T as LineProvider, U as LINE_APPLICATION_REQUEST_MAX_BYTES, W as LineApplication, X as parseLineApplicationResult, Y as parseLineApplicationRequest, _ as LineInstanceCreate, a as Line, b as LineMemberInstance, d as LineAttachment, f as LineAttachmentReauthorization, g as LineInstanceAttachOptions, h as LineImage, i as profileChannelReference, l as LineApplicationAttachOptions, o as LineAgentRolePolicy, p as LineExecutionKey, q as LineApplicationState, r as lineInstanceKey, t as LinesClient, w as LineNumberInventory, y as LineMember } from "./lines-Bfy9d9L9.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-COEPtvS9.js";
|
|
6
|
+
import { a as PublicTemplatesClient, i as PublicTemplatePublishRequestOptions, n as PublicTemplatePublishError, r as PublicTemplatePublishJob, t as PublicTemplatePublishArtifact } from "./public-templates-B5x_-DED.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 { r as WorkspaceImages, t as SandboxInstance, x as ManagedProcessClient } from "./sandbox-
|
|
1
|
+
import { r as WorkspaceImages, t as SandboxInstance, x as ManagedProcessClient } from "./sandbox-Djom_zTy.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-CwXCrbjC.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-0xk74Wb2.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 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as sha256 } from "./sha2-vu4U-x2L.js";
|
|
2
2
|
import { z } from "zod";
|
|
3
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
3
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.13/node_modules/@tangle-network/agent-interface/dist/contract-limits.js
|
|
4
4
|
/** Limits applied before a value is hashed, copied, or sent to a provider. */
|
|
5
5
|
const CONTRACT_MAX_STRING_LENGTH = 16384;
|
|
6
6
|
/** Maximum length of one canonical confidential-attestation quote. */
|
|
@@ -144,7 +144,7 @@ const boundedEventContentJsonSchema = z.custom(isBoundedEventContentJson, { mess
|
|
|
144
144
|
const boundedEventContentRecordSchema = z.custom((value) => typeof value === "object" && value !== null && !Array.isArray(value) && isBoundedEventContentJson(value), { message: "event content exceeds its serialized byte bound or is not a JSON object" });
|
|
145
145
|
const boundedEventContentStringSchema = z.custom((value) => typeof value === "string" && isBoundedEventContentJson(value), { message: "event content exceeds its serialized byte bound or is not a string" });
|
|
146
146
|
//#endregion
|
|
147
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
147
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.13/node_modules/@tangle-network/agent-interface/dist/agent-candidate-schema-common.js
|
|
148
148
|
const sha256Pattern = /^sha256:[a-f0-9]{64}$/;
|
|
149
149
|
const gitObjectPattern = /^(?:[a-f0-9]{40}|[a-f0-9]{64})$/;
|
|
150
150
|
const environmentNamePattern = /^[A-Za-z_][A-Za-z0-9_]*$/;
|
|
@@ -300,7 +300,7 @@ z.object({
|
|
|
300
300
|
repo: z.string().regex(githubComponentPattern).refine((value) => value !== "." && value !== "..")
|
|
301
301
|
}).strict();
|
|
302
302
|
//#endregion
|
|
303
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
303
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.13/node_modules/@tangle-network/agent-interface/dist/agent-profile.js
|
|
304
304
|
/**
|
|
305
305
|
* Portable reasoning/thinking effort. Backends map it to their native control at materialization:
|
|
306
306
|
* codex `model_reasoning_effort`, kimi `--thinking`/`--no-thinking`, claude thinking budget.
|
|
@@ -328,7 +328,7 @@ function trainedModelIdForArtifact(digest) {
|
|
|
328
328
|
return `${TRAINED_MODEL_PREFIX}${digest.slice(7)}`;
|
|
329
329
|
}
|
|
330
330
|
//#endregion
|
|
331
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
331
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.13/node_modules/@tangle-network/agent-interface/dist/harness.js
|
|
332
332
|
/**
|
|
333
333
|
* Recognized execution identities, not a deployment's list of installed runners.
|
|
334
334
|
* A profile's authored harness remains part of its canonical identity; execution
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { $ as ProxySecretReceipt, At as SandboxCreateReceipt, B as InteractionAcknowledgement, C as AgentInteractiveSessionAttach, D as AgentInteractiveSessionPromptAcknowledgement, E as AgentInteractiveSessionControlClaimRequest, F as TerminalOutputEvent, H as InteractionResponseCommand, I as TerminalReplayWindow, M as AgentInteractiveSessionStopCommand, N as AgentInteractiveTerminalSession, O as AgentInteractiveSessionPromptCommand, R as AgentRunCancellationAcknowledgement, S as AgentInteractiveSessionStart, T as AgentInteractiveSessionControlClaimAcknowledgement, U as AgentProfile, V as InteractionRequest, bt as SandboxError, et as InteractionData, g as TerminalReadyInfo, i as TerminalStreamHandlers, j as AgentInteractiveSessionStopAcknowledgement, k as AgentInteractiveSessionRef, l as MintScopedTokenOptions, o as TerminalStreamReconnectAuthority, q as AgentProfileFileMount, u as ScopedToken, w as AgentInteractiveSessionControlClaim, z as AgentRunCancellationRequest } from "./terminal-stream-types-
|
|
2
|
-
import { $a as RawEvidenceBoxDirectoryExport, $r as ForkCounts, An as SandboxShape, Ar as DriverInfo, Bi as CreateSessionOptions, C as WorkspaceOperationLookup, Ci as IntelligenceReportWindow, Cn as TerminalStream, D as ProvisionResult, Di as SandboxEvent, E as ProvisionEvent, Ei as PromptResult, Fi as CommitTaskSessionOptions, Fn as EgressManager, G as GitBranch, Ga as ExecResult, Gi as ListMessagesOptions, Ha as CodeExecutionResult, Hi as DispatchPromptOptions, Ia as WorkspaceImagePublishInput, J as GitStatus, Ja as SandboxEnvRecoveryView, Ji as SendSessionMessageRequest, K as GitCommit, Ka as WriteFileRequest, Ki as PublicProfileConflict, Kt as SandboxFleetTraceBundle, La as WorkspaceImagePublishResult, Li as CompletedTurnResult, Ln as NetworkManager, Lr as GpuLeaseManager, Mi as SandboxTraceOptions, Mn as SandboxResourceUsage, Mr as GpuLease, N as WaitForOptions, Nn as SandboxRuntimeCapabilities, Pi as TurnBackendConfig, Qi as SessionExecutionInfo, Qr as BranchOptions, Ri as ConversationTurnOptions, S as StopOptions, Sn as TeePublicKeyResponse, Ti as PromptOptions, Tn as CreateSandboxOptions, U as PreviewLinkManager, Ua as CodeLanguage, Ui as DispatchedSession, Ur as CodeExecutionOptions, Vi as CreateTaskSessionOptions, Wi as DriveTurnOptions, Xa as RawEvidenceArchiveManifest, Xr as HttpClient, Yi as SentSessionMessage, Zi as SessionEventStreamOptions, _ as SnapshotInfo, _r as SearchMatch, aa as SessionMessage, ai as WaitForRolloutOptions, an as SandboxInfo, bi as IntelligenceReportBudget, bn as TeeAttestationResponse, c as SandboxDeleteOptions, ca as SessionResultOptions, co as InteractionResolutionAcknowledgement, cr as FileWriteResult, d as SandboxOperationKind, ei as ForkIdempotency, eo as RawEvidenceBoxExportOptions, f as SandboxOperationState, fa as TaskSessionInfo, ga as BackendConfig, gn as StartupDiagnostics, gr as WriteManyOptions, hi as DurablePlanDecisionResult, hn as SandboxTerminals, hr as WriteManyFile, ia as SessionListOptions, ii as RolloutStartResult, in as SandboxConnection, k as ResumeOptions, ki as SandboxTraceBundle, kn as SandboxStatus, la as TaskSessionChanges, ln as SandboxRuntimeHealth, m as SnapshotDeleteAcknowledgement, ma as TurnDriveResult, mi as DurablePlanDecisionOptions, mr as WriteFileOptions, na as SessionInfo, ni as Rollout, nn as SSHCommandDescriptor, no as RawEvidenceExportOptions, nr as FileSystem, o as RestoreSnapshotOptions, oa as SessionMessageAdmission, on as SandboxPortBinding, oo as RawEvidenceUnavailable, pi as DurablePlan, q as GitDiff, qa as SandboxEnvRecovery, qi as SendSessionMessageOptions, ra as SessionInterruptOptions, ri as RolloutOptions, rn as SSHCredentials, s as SandboxDeleteAcknowledgement, ta as SessionForkOptions, ti as ForkLookupOptions, to as RawEvidenceDirectoryExport, u as SandboxOperationInfo, ua as TaskSessionCommitResult, un as SandboxTerminalAttachOptions, v as SnapshotOptions, va as BackendManager, vi as EventStreamOptions, vn as TeeAttestationOptions, vr as SearchOptions, wi as PromptInputPart, x as SnapshotResult, xi as IntelligenceReportCompareTo, y as SnapshotProvenance, yi as IntelligenceReport, yr as ExecOptions, z as ProcessManager, zi as ConversationTurnResult } from "./types-
|
|
1
|
+
import { $ as ProxySecretReceipt, At as SandboxCreateReceipt, B as InteractionAcknowledgement, C as AgentInteractiveSessionAttach, D as AgentInteractiveSessionPromptAcknowledgement, E as AgentInteractiveSessionControlClaimRequest, F as TerminalOutputEvent, H as InteractionResponseCommand, I as TerminalReplayWindow, M as AgentInteractiveSessionStopCommand, N as AgentInteractiveTerminalSession, O as AgentInteractiveSessionPromptCommand, R as AgentRunCancellationAcknowledgement, S as AgentInteractiveSessionStart, T as AgentInteractiveSessionControlClaimAcknowledgement, U as AgentProfile, V as InteractionRequest, bt as SandboxError, et as InteractionData, g as TerminalReadyInfo, i as TerminalStreamHandlers, j as AgentInteractiveSessionStopAcknowledgement, k as AgentInteractiveSessionRef, l as MintScopedTokenOptions, o as TerminalStreamReconnectAuthority, q as AgentProfileFileMount, u as ScopedToken, w as AgentInteractiveSessionControlClaim, z as AgentRunCancellationRequest } from "./terminal-stream-types-D0caxkTH.js";
|
|
2
|
+
import { $a as RawEvidenceBoxDirectoryExport, $r as ForkCounts, An as SandboxShape, Ar as DriverInfo, Bi as CreateSessionOptions, C as WorkspaceOperationLookup, Ci as IntelligenceReportWindow, Cn as TerminalStream, D as ProvisionResult, Di as SandboxEvent, E as ProvisionEvent, Ei as PromptResult, Fi as CommitTaskSessionOptions, Fn as EgressManager, G as GitBranch, Ga as ExecResult, Gi as ListMessagesOptions, Ha as CodeExecutionResult, Hi as DispatchPromptOptions, Ia as WorkspaceImagePublishInput, J as GitStatus, Ja as SandboxEnvRecoveryView, Ji as SendSessionMessageRequest, K as GitCommit, Ka as WriteFileRequest, Ki as PublicProfileConflict, Kt as SandboxFleetTraceBundle, La as WorkspaceImagePublishResult, Li as CompletedTurnResult, Ln as NetworkManager, Lr as GpuLeaseManager, Mi as SandboxTraceOptions, Mn as SandboxResourceUsage, Mr as GpuLease, N as WaitForOptions, Nn as SandboxRuntimeCapabilities, Pi as TurnBackendConfig, Qi as SessionExecutionInfo, Qr as BranchOptions, Ri as ConversationTurnOptions, S as StopOptions, Sn as TeePublicKeyResponse, Ti as PromptOptions, Tn as CreateSandboxOptions, U as PreviewLinkManager, Ua as CodeLanguage, Ui as DispatchedSession, Ur as CodeExecutionOptions, Vi as CreateTaskSessionOptions, Wi as DriveTurnOptions, Xa as RawEvidenceArchiveManifest, Xr as HttpClient, Yi as SentSessionMessage, Zi as SessionEventStreamOptions, _ as SnapshotInfo, _r as SearchMatch, aa as SessionMessage, ai as WaitForRolloutOptions, an as SandboxInfo, bi as IntelligenceReportBudget, bn as TeeAttestationResponse, c as SandboxDeleteOptions, ca as SessionResultOptions, co as InteractionResolutionAcknowledgement, cr as FileWriteResult, d as SandboxOperationKind, ei as ForkIdempotency, eo as RawEvidenceBoxExportOptions, f as SandboxOperationState, fa as TaskSessionInfo, ga as BackendConfig, gn as StartupDiagnostics, gr as WriteManyOptions, hi as DurablePlanDecisionResult, hn as SandboxTerminals, hr as WriteManyFile, ia as SessionListOptions, ii as RolloutStartResult, in as SandboxConnection, k as ResumeOptions, ki as SandboxTraceBundle, kn as SandboxStatus, la as TaskSessionChanges, ln as SandboxRuntimeHealth, m as SnapshotDeleteAcknowledgement, ma as TurnDriveResult, mi as DurablePlanDecisionOptions, mr as WriteFileOptions, na as SessionInfo, ni as Rollout, nn as SSHCommandDescriptor, no as RawEvidenceExportOptions, nr as FileSystem, o as RestoreSnapshotOptions, oa as SessionMessageAdmission, on as SandboxPortBinding, oo as RawEvidenceUnavailable, pi as DurablePlan, q as GitDiff, qa as SandboxEnvRecovery, qi as SendSessionMessageOptions, ra as SessionInterruptOptions, ri as RolloutOptions, rn as SSHCredentials, s as SandboxDeleteAcknowledgement, ta as SessionForkOptions, ti as ForkLookupOptions, to as RawEvidenceDirectoryExport, u as SandboxOperationInfo, ua as TaskSessionCommitResult, un as SandboxTerminalAttachOptions, v as SnapshotOptions, va as BackendManager, vi as EventStreamOptions, vn as TeeAttestationOptions, vr as SearchOptions, wi as PromptInputPart, x as SnapshotResult, xi as IntelligenceReportCompareTo, y as SnapshotProvenance, yi as IntelligenceReport, yr as ExecOptions, z as ProcessManager, zi as ConversationTurnResult } from "./types-D11H6atN.js";
|
|
3
3
|
import { t as CliAuthReference } from "./cli-auth-bundle-COQ25k3d.js";
|
|
4
|
-
import { n as SandboxLines } from "./lines-
|
|
5
|
-
import { _ as InteractiveSessionStatus, f as InteractiveAttachOptions, g as InteractiveRequestOptions, h as InteractiveObserveOptions, m as InteractiveControlClaimOptions, p as InteractiveControlClaimAcknowledgement } from "./browser-interactive-control-controller-
|
|
6
|
-
import { r as InteractiveAttachRequest } from "./interactive-controller-
|
|
4
|
+
import { n as SandboxLines } from "./lines-Bfy9d9L9.js";
|
|
5
|
+
import { _ as InteractiveSessionStatus, f as InteractiveAttachOptions, g as InteractiveRequestOptions, h as InteractiveObserveOptions, m as InteractiveControlClaimOptions, p as InteractiveControlClaimAcknowledgement } from "./browser-interactive-control-controller-CP5PDJK8.js";
|
|
6
|
+
import { r as InteractiveAttachRequest } from "./interactive-controller-CNwiIdK5.js";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
import { OtlpTraceExport } from "@tangle-network/agent-trace-contract/otlp";
|
|
9
9
|
|