@tangle-network/sandbox 1.0.237 → 1.0.239
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-BJChICex.js → agent-execution-preparation-CjKTjmJ9.js} +3 -3
- package/dist/{agent-execution-preparation-receipt-BIFxqyr5.js → agent-execution-preparation-receipt-AihkqLnd.js} +4 -4
- package/dist/{agent-run-outcome-DkEeNhH6.d.ts → agent-run-outcome-DrhA0Z4S.d.ts} +2 -2
- package/dist/{api-request-Cm1H_xsv.js → api-request-C7JAklv7.js} +1 -1
- package/dist/auth/index.d.ts +2 -2
- package/dist/auth/index.js +2 -2
- package/dist/{browser-interactive-control-controller-JSGfFeNB.d.ts → browser-interactive-control-controller-9RauUsHw.d.ts} +1 -1
- package/dist/{browser-interactive-control-controller-CrBx8ETe.js → browser-interactive-control-controller-bap2mKa-.js} +14 -14
- package/dist/cli-auth-bundle-BinY89CX.js +2 -0
- package/dist/{cli-auth-bundle-C6DtK7GX-mBUPER0R.js → cli-auth-bundle-C6DtK7GX-DoqlFTT-.js} +1 -1
- package/dist/{client-Crwo3vqo.js → client-DjgUvely.js} +18 -115
- package/dist/{client-Cy6Zlb3W.d.ts → client-DsXWyLrM.d.ts} +79 -114
- package/dist/collaboration/index.d.ts +1 -1
- package/dist/collaboration/index.js +1 -1
- package/dist/{collaboration-k3yUVGgP.js → collaboration-klNBRyda.js} +1 -1
- package/dist/core.d.ts +6 -6
- package/dist/core.js +3 -3
- package/dist/{file-download-DXgIe-CV.js → file-download-CihyMYH-.js} +1 -1
- package/dist/{harness-DMaNgn0S.js → harness-C5lXV9e5.js} +5 -5
- package/dist/{index-DYxmMGbU.d.ts → index-B_1aVs2B.d.ts} +7 -6
- package/dist/index.d.ts +12 -11
- package/dist/index.js +10 -10
- package/dist/intelligence/index.d.ts +13 -6
- package/dist/intelligence/index.js +60 -8
- package/dist/interactive-control.d.ts +1 -1
- package/dist/interactive-control.js +1 -1
- package/dist/{interactive-controller-DaBe9oR5.d.ts → interactive-controller-C2vOFe0u.d.ts} +3 -3
- package/dist/{interactive-controller-mqraKMkh.js → interactive-controller-CbWMfA4f.js} +5 -5
- package/dist/{lines-DfKFyMTA.d.ts → lines-CxWFuuJ3.d.ts} +1 -1
- package/dist/lines.d.ts +1 -1
- package/dist/{local-cli-auth-CO0byocv.js → local-cli-auth-DrNihS9-.js} +1 -1
- package/dist/{mcp-local-DV-BvoUI.js → mcp-local-Bfrna88t.js} +2 -2
- package/dist/{preview-BqicYuSJ.d.ts → preview-DFFaAZdF.d.ts} +3 -3
- package/dist/{profile-schema-C1KpT-wS.js → profile-schema-C0n0VgmA.js} +468 -36
- package/dist/{public-templates-Bk843Kqc.d.ts → public-templates-xqtPv6pg.d.ts} +2 -2
- package/dist/public-templates.d.ts +1 -1
- package/dist/{raw-evidence-archive-XEDh0VUj.js → raw-evidence-archive-DLNEUdij.js} +3 -15
- package/dist/raw-evidence-export-C0ieFpi2.d.ts +354 -0
- package/dist/raw-evidence-export-C6Xdl3nC.js +19 -0
- package/dist/runtime.d.ts +5 -5
- package/dist/runtime.js +3 -3
- package/dist/{sandbox-DnuEGRn4.js → sandbox-eUHRN1gu.js} +79 -72
- package/dist/{select-seat-CntQ4bko.js → select-seat-BHHUFoKh.js} +4 -4
- package/dist/select-seat-command.d.ts +2 -2
- package/dist/select-seat-command.js +1 -1
- package/dist/session-gateway/index.js +1 -1
- package/dist/tangle/index.d.ts +1 -1
- package/dist/tangle/index.js +1 -1
- package/dist/{tangle-DjcPKCqo.js → tangle-JTU0M4Zk.js} +2 -2
- package/dist/{terminal-stream-types-DBQuAsmB.d.ts → terminal-stream-types-D7dMd-NV.d.ts} +28 -20
- package/dist/{types-C8aazs-y.d.ts → types-ImZuAuFG.d.ts} +3 -344
- package/package.json +7 -7
- package/dist/cli-auth-bundle-BLAtE6Dc.js +0 -2
- /package/dist/{chunked-upload-file-JfRw6PRf.js → chunked-upload-file-DtAW52iW.js} +0 -0
- /package/dist/{cli-auth-bundle-B91fSxkR.d.ts → cli-auth-bundle-eUl7Sa1x.d.ts} +0 -0
- /package/dist/{direct-http2-Bgb2lHte.js → direct-http2-zLxsvF44.js} +0 -0
- /package/dist/{index-o31uwAkX.d.ts → index-BTXyTVq4.d.ts} +0 -0
- /package/dist/{index-C-_HY5NY.d.ts → index-ClusTWYM.d.ts} +0 -0
- /package/dist/{sha2-vu4U-x2L.js → sha2-BIoWepwn.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as SandboxError } from "./terminal-stream-types-
|
|
2
|
-
import { ht as SeatOwnerTransport, vt as SeatSelectionRequest } from "./client-
|
|
1
|
+
import { R as SandboxError } from "./terminal-stream-types-D7dMd-NV.js";
|
|
2
|
+
import { ht as SeatOwnerTransport, vt as SeatSelectionRequest } from "./client-DsXWyLrM.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-DQEu-Q7s.js";
|
|
2
|
-
import { n as SEAT_OWNER_MAX_RESPONSE_BYTES } from "./select-seat-
|
|
2
|
+
import { n as SEAT_OWNER_MAX_RESPONSE_BYTES } from "./select-seat-BHHUFoKh.js";
|
|
3
3
|
import { spawn } from "node:child_process";
|
|
4
4
|
//#region src/select-seat-command.ts
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as combineAbortSignals } from "../abort-signal-CRxC2dlT.js";
|
|
2
|
-
import { i as fetchSandboxApi } from "../api-request-
|
|
2
|
+
import { i as fetchSandboxApi } from "../api-request-C7JAklv7.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-B_1aVs2B.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,2 +1,2 @@
|
|
|
1
|
-
import { _ as SandboxCreateParamTypes, a as parseQuoteResponse, c as OperatorSession, d as TANGLE_JOBS_CONTRACT, f as ITangleJobsAbi, g as JsonResponseParamTypes, h as JOB_SANDBOX_DELETE, i as jobQuoteDigest, l as OperatorSessionError, m as JOB_SANDBOX_CREATE, n as fetchQuote, o as validateQuote, p as AgentSandboxBlueprintAbi, r as inputsHashOf, s as BlueprintSandboxClient, t as QuoteError, u as TANGLE_CHAIN_ID, v as SandboxCreateResponseParamTypes, y as SandboxIdParamTypes } from "../tangle-
|
|
1
|
+
import { _ as SandboxCreateParamTypes, a as parseQuoteResponse, c as OperatorSession, d as TANGLE_JOBS_CONTRACT, f as ITangleJobsAbi, g as JsonResponseParamTypes, h as JOB_SANDBOX_DELETE, i as jobQuoteDigest, l as OperatorSessionError, m as JOB_SANDBOX_CREATE, n as fetchQuote, o as validateQuote, p as AgentSandboxBlueprintAbi, r as inputsHashOf, s as BlueprintSandboxClient, t as QuoteError, u as TANGLE_CHAIN_ID, v as SandboxCreateResponseParamTypes, y as SandboxIdParamTypes } from "../tangle-JTU0M4Zk.js";
|
|
2
2
|
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 { R as readFilesystemIncarnationTuple, n as createSandboxInstanceFromResponse } from "./sandbox-eUHRN1gu.js";
|
|
2
2
|
import { a as readResponseJson } from "./errors-DQEu-Q7s.js";
|
|
3
|
-
import { i as fetchSandboxApi } from "./api-request-
|
|
3
|
+
import { i as fetchSandboxApi } from "./api-request-C7JAklv7.js";
|
|
4
4
|
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-BT2q9nkO.js";
|
|
5
5
|
//#region ../../../packages/runtime-contracts/dist/tangle-blueprint-abi.js
|
|
6
6
|
/**
|
|
@@ -919,7 +919,7 @@ declare const batchEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
919
919
|
}, z.core.$strict>], "type">;
|
|
920
920
|
type BatchEvent = z.infer<typeof batchEventSchema>;
|
|
921
921
|
//#endregion
|
|
922
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
922
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.19/node_modules/@tangle-network/agent-interface/dist/plan.d.ts
|
|
923
923
|
/**
|
|
924
924
|
* Typed server-originated continuation. Adapters consume this instead of
|
|
925
925
|
* inferring approval from a free-form user message.
|
|
@@ -955,7 +955,7 @@ declare const PlanContinuationSchema: z.ZodObject<{
|
|
|
955
955
|
}, z.core.$strict>;
|
|
956
956
|
type PlanContinuation = z.infer<typeof PlanContinuationSchema>;
|
|
957
957
|
//#endregion
|
|
958
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
958
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.19/node_modules/@tangle-network/agent-interface/dist/interaction-data.d.ts
|
|
959
959
|
declare const InteractionSecretReferenceSchema: z.ZodObject<{
|
|
960
960
|
kind: z.ZodLiteral<"secret_handle">;
|
|
961
961
|
handleId: z.ZodString;
|
|
@@ -976,7 +976,7 @@ declare const InteractionResolutionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
976
976
|
}, z.core.$strict>], "outcome">;
|
|
977
977
|
type InteractionResolution = z.infer<typeof InteractionResolutionSchema>;
|
|
978
978
|
//#endregion
|
|
979
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
979
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.19/node_modules/@tangle-network/agent-interface/dist/proxy-secrets.d.ts
|
|
980
980
|
declare const ProxySecretBindingSchema: z.ZodObject<{
|
|
981
981
|
hosts: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
982
982
|
methods: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
@@ -1189,7 +1189,7 @@ declare const ProxySecretCapabilitiesSchema: z.ZodObject<{
|
|
|
1189
1189
|
}, z.core.$strict>;
|
|
1190
1190
|
type ProxySecretCapabilities = z.infer<typeof ProxySecretCapabilitiesSchema>;
|
|
1191
1191
|
//#endregion
|
|
1192
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
1192
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.19/node_modules/@tangle-network/agent-interface/dist/harness.d.ts
|
|
1193
1193
|
/**
|
|
1194
1194
|
* Recognized execution identities, not a deployment's list of installed runners.
|
|
1195
1195
|
* A profile's authored harness remains part of its canonical identity; execution
|
|
@@ -1222,7 +1222,7 @@ declare const harnessTypeSchema: z.ZodEnum<{
|
|
|
1222
1222
|
/** One declaration owns runtime validation and the compile-time vocabulary. */
|
|
1223
1223
|
type HarnessType = z.infer<typeof harnessTypeSchema>;
|
|
1224
1224
|
//#endregion
|
|
1225
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
1225
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.19/node_modules/@tangle-network/agent-interface/dist/agent-profile.d.ts
|
|
1226
1226
|
/**
|
|
1227
1227
|
* Permission policy value for a capability.
|
|
1228
1228
|
*/
|
|
@@ -1341,6 +1341,8 @@ interface AgentProfileSeat {
|
|
|
1341
1341
|
model: string;
|
|
1342
1342
|
/** Override profile.model.reasoningEffort for this stage; omission inherits, none disables thinking. */
|
|
1343
1343
|
reasoningEffort?: ReasoningEffort;
|
|
1344
|
+
/** This stage's credential intent; omitted inherits profile.model.metadata.credentialSource (absent there means router). */
|
|
1345
|
+
credentialSource?: "router" | "api-key" | "subscription" | "managed";
|
|
1344
1346
|
/** Select all eligible accounts in account-manager order, or one named account. */
|
|
1345
1347
|
selector: {
|
|
1346
1348
|
kind: "all-eligible";
|
|
@@ -1698,11 +1700,11 @@ interface AgentProfileValidationResult {
|
|
|
1698
1700
|
normalizedProfile?: AgentProfile;
|
|
1699
1701
|
}
|
|
1700
1702
|
//#endregion
|
|
1701
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
1703
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.19/node_modules/@tangle-network/agent-interface/dist/agent-candidate.d.ts
|
|
1702
1704
|
/** Full SHA-256 digest with an explicit algorithm prefix. */
|
|
1703
1705
|
type Sha256Digest = `sha256:${string}`;
|
|
1704
1706
|
//#endregion
|
|
1705
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
1707
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.19/node_modules/@tangle-network/agent-interface/dist/interaction-fields.d.ts
|
|
1706
1708
|
declare const InteractionAnswerSpecSchema: z.ZodObject<{
|
|
1707
1709
|
fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1708
1710
|
type: z.ZodLiteral<"text">;
|
|
@@ -1756,7 +1758,7 @@ declare const InteractionResponseScopeSchema: z.ZodEnum<{
|
|
|
1756
1758
|
persistent: "persistent";
|
|
1757
1759
|
}>;
|
|
1758
1760
|
//#endregion
|
|
1759
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
1761
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.19/node_modules/@tangle-network/agent-interface/dist/interaction-envelope.d.ts
|
|
1760
1762
|
declare const InteractionSubjectSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1761
1763
|
type: z.ZodLiteral<"tool">;
|
|
1762
1764
|
toolName: z.ZodString;
|
|
@@ -1863,7 +1865,13 @@ declare const InteractionAcknowledgementSchema: z.ZodObject<{
|
|
|
1863
1865
|
}, z.core.$strict>;
|
|
1864
1866
|
type InteractionAcknowledgement = z.infer<typeof InteractionAcknowledgementSchema>;
|
|
1865
1867
|
//#endregion
|
|
1866
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
1868
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.19/node_modules/@tangle-network/agent-interface/dist/runtime-attachments.d.ts
|
|
1869
|
+
/** Runtime-owned bindings do not alter the authored AgentProfile or candidate identity. */
|
|
1870
|
+
interface AgentRuntimeAttachments {
|
|
1871
|
+
mcp: Record<string, AgentProfileMcpServer>;
|
|
1872
|
+
}
|
|
1873
|
+
//#endregion
|
|
1874
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.19/node_modules/@tangle-network/agent-interface/dist/runtime-control.d.ts
|
|
1867
1875
|
/** Provider-neutral coordinates sufficient to recreate control of one run. */
|
|
1868
1876
|
interface AgentRunControlRef {
|
|
1869
1877
|
runId: string;
|
|
@@ -1900,7 +1908,7 @@ interface AgentRunCancellationAcknowledgement {
|
|
|
1900
1908
|
existingRequestDigest?: Sha256Digest;
|
|
1901
1909
|
}
|
|
1902
1910
|
//#endregion
|
|
1903
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
1911
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.19/node_modules/@tangle-network/agent-interface/dist/environment-terminal.d.ts
|
|
1904
1912
|
/**
|
|
1905
1913
|
* Provider-neutral handle for one interactive terminal.
|
|
1906
1914
|
*
|
|
@@ -2019,7 +2027,7 @@ interface AgentTerminalSession {
|
|
|
2019
2027
|
}): AsyncIterable<TerminalOutputEvent>;
|
|
2020
2028
|
}
|
|
2021
2029
|
//#endregion
|
|
2022
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
2030
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.19/node_modules/@tangle-network/agent-interface/dist/environment-interactive-control.d.ts
|
|
2023
2031
|
/**
|
|
2024
2032
|
* Durable identity of one coding-agent TUI.
|
|
2025
2033
|
*
|
|
@@ -2744,7 +2752,7 @@ interface AgentInteractiveSessionPromptAcknowledgement {
|
|
|
2744
2752
|
existingRequestDigest?: `sha256:${string}`;
|
|
2745
2753
|
}
|
|
2746
2754
|
//#endregion
|
|
2747
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
2755
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.19/node_modules/@tangle-network/agent-interface/dist/environment-interactive-start.d.ts
|
|
2748
2756
|
/**
|
|
2749
2757
|
* Start one native coding-agent TUI from caller-owned request material.
|
|
2750
2758
|
*
|
|
@@ -2839,6 +2847,12 @@ declare const AgentInteractiveSessionStartSchema: z.ZodObject<{
|
|
|
2839
2847
|
xhigh: "xhigh";
|
|
2840
2848
|
ultracode: "ultracode";
|
|
2841
2849
|
}>>;
|
|
2850
|
+
credentialSource: z.ZodOptional<z.ZodEnum<{
|
|
2851
|
+
router: "router";
|
|
2852
|
+
"api-key": "api-key";
|
|
2853
|
+
subscription: "subscription";
|
|
2854
|
+
managed: "managed";
|
|
2855
|
+
}>>;
|
|
2842
2856
|
selector: z.ZodUnion<readonly [z.ZodObject<{
|
|
2843
2857
|
kind: z.ZodLiteral<"all-eligible">;
|
|
2844
2858
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3037,13 +3051,7 @@ declare const AgentInteractiveSessionStartSchema: z.ZodObject<{
|
|
|
3037
3051
|
}, z.core.$strict>;
|
|
3038
3052
|
type AgentInteractiveSessionStart = z.infer<typeof AgentInteractiveSessionStartSchema>;
|
|
3039
3053
|
//#endregion
|
|
3040
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.
|
|
3041
|
-
/** Runtime-owned bindings do not alter the authored AgentProfile or candidate identity. */
|
|
3042
|
-
interface AgentRuntimeAttachments {
|
|
3043
|
-
mcp: Record<string, AgentProfileMcpServer>;
|
|
3044
|
-
}
|
|
3045
|
-
//#endregion
|
|
3046
|
-
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.13/node_modules/@tangle-network/agent-interface/dist/sandbox-size.d.ts
|
|
3054
|
+
//#region ../../../node_modules/.pnpm/@tangle-network+agent-interface@5.10.19/node_modules/@tangle-network/agent-interface/dist/sandbox-size.d.ts
|
|
3047
3055
|
/**
|
|
3048
3056
|
* Portable sandbox size vocabulary.
|
|
3049
3057
|
*
|
|
@@ -3894,4 +3902,4 @@ interface TerminalStreamOptions {
|
|
|
3894
3902
|
mintMs?: number;
|
|
3895
3903
|
}
|
|
3896
3904
|
//#endregion
|
|
3897
|
-
export { BatchBackendInput as $, GpuProviderRequirement as A, AgentProfileConfigValue as At, SandboxErrorMetadata as B, PlanContinuation as Bt, BranchFanoutExceedsHostError as C,
|
|
3905
|
+
export { BatchBackendInput as $, GpuProviderRequirement as A, AgentProfileConfigValue as At, SandboxErrorMetadata as B, PlanContinuation as Bt, BranchFanoutExceedsHostError as C, AgentRuntimeAttachments as Ct, EgressProxyRecoveryError as D, AgentProfile as Dt, EdgeNotReadyError as E, InteractionResponseCommand as Et, ProfileFileMountPathError as F, AgentProfileValidationResult as Ft, StreamInterruptionReason as G, BatchTaskUsage as Gt, ServerError as H, BatchEvent as Ht, QuotaError as I, ReasoningEffort as It, SandboxCreateOutcome as J, TimeoutError as K, ResumeEnvRequiredError as L, HarnessType as Lt, NetworkError as M, AgentProfileMcpServer as Mt, NotFoundError as N, AgentProfileMetadata as Nt, FileWriteConflictError as O, AgentProfileCapabilities as Ot, PartialFailureError as P, AgentProfileSeat as Pt, BatchTaskResult as Q, SandboxError as R, ProxySecretReceipt as Rt, AuthError as S, AgentRunCancellationRequest as St, CompliancePlacementError as T, InteractionRequest as Tt, StateError as U, BatchEventDataMap as Ut, SandboxFailureDetail as V, BatchBackendStats as Vt, StreamInterruptedError as W, BatchSidecarGroup as Wt, BatchCustody as X, SandboxCreateReceipt as Y, BatchResult as Z, TerminalReadyTimings as _, agentInteractiveSessionPromptRequestDigest as _t, TerminalStreamOptions as a, AgentInteractiveSessionStart as at, parseErrorResponse as b, AgentExactRunControlRef as bt, MintInteractiveSessionTokenOptions as c, AgentInteractiveSessionControlClaimAcknowledgement as ct, ScopedTokenScope as d, AgentInteractiveSessionPromptCommand as dt, BatchTaskInput as et, TERMINAL_WS_ECHO_SUBPROTOCOL as f, AgentInteractiveSessionRef as ft, TerminalReadyInfo as g, AgentInteractiveTerminalSession as gt, TerminalOutputMessage as h, AgentInteractiveSessionStopCommand as ht, TerminalStreamHandlers as i, SandboxSizePreset as it, KeyBudgetExhaustedError as j, AgentProfileFileMount as jt, GpuProviderNotConfiguredError as k, AgentProfileConfidential as kt, MintScopedTokenOptions as l, AgentInteractiveSessionControlClaimRequest as lt, TerminalInteractiveSessionIdentity as m, AgentInteractiveSessionStopAcknowledgement as mt, TerminalStreamApiKey as n, PublicBatchRunRequestInput as nt, TerminalStreamReconnectAuthority as o, AgentInteractiveSessionAttach as ot, TerminalExitInfo as p, AgentInteractiveSessionStatus as pt, ValidationError as q, TerminalStreamBearerToken as r, SANDBOX_SIZE_PRESET_NAMES as rt, TerminalStreamToken as s, AgentInteractiveSessionControlClaim as st, TerminalAttachTimings as t, PublicBatchRunRequest as tt, ScopedToken as u, AgentInteractiveSessionPromptAcknowledgement as ut, TerminalStreamAuthFormat as v, TerminalOutputEvent as vt, CapabilityError as w, InteractionAcknowledgement as wt, responseMetadata as x, AgentRunCancellationAcknowledgement as xt, TerminalStreamError as y, TerminalReplayWindow as yt, SandboxErrorJson as z, InteractionData as zt };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as BatchBackendInput, B as SandboxErrorMetadata, Bt as PlanContinuation, Dt as AgentProfile, Ft as AgentProfileValidationResult, It as ReasoningEffort, Ot as AgentProfileCapabilities, Rt as ProxySecretReceipt, Tt as InteractionRequest, Y as SandboxCreateReceipt, a as TerminalStreamOptions,
|
|
2
|
-
import { t as CliAuthReference } from "./cli-auth-bundle-
|
|
1
|
+
import { $ as BatchBackendInput, B as SandboxErrorMetadata, Bt as PlanContinuation, Ct as AgentRuntimeAttachments, Dt as AgentProfile, Ft as AgentProfileValidationResult, It as ReasoningEffort, Ot as AgentProfileCapabilities, Rt as ProxySecretReceipt, Tt as InteractionRequest, Y as SandboxCreateReceipt, a as TerminalStreamOptions, bt as AgentExactRunControlRef, g as TerminalReadyInfo, i as TerminalStreamHandlers, it as SandboxSizePreset, kt as AgentProfileConfidential, s as TerminalStreamToken, t as TerminalAttachTimings } from "./terminal-stream-types-D7dMd-NV.js";
|
|
2
|
+
import { t as CliAuthReference } from "./cli-auth-bundle-eUl7Sa1x.js";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region ../../../packages/runtime-contracts/dist/backend-types.d.ts
|
|
5
5
|
/** This distribution's backend vocabulary. Gemini is only a backing transport, not a direct backend. */
|
|
@@ -108,347 +108,6 @@ type InteractionResolutionAcknowledgement = z.infer<typeof interactionResolution
|
|
|
108
108
|
//#region ../../../packages/runtime-contracts/dist/model-key-proxy.d.ts
|
|
109
109
|
declare function baseProxyToken(token: string): string;
|
|
110
110
|
//#endregion
|
|
111
|
-
//#region ../../../packages/runtime-contracts/dist/raw-evidence-export.d.ts
|
|
112
|
-
/** Wire contract for bounded native evidence archives, per session and box-wide. */
|
|
113
|
-
interface RawEvidencePayloadFile {
|
|
114
|
-
/** Safe relative path below the exported directory; never an absolute native path. */
|
|
115
|
-
path: string;
|
|
116
|
-
sizeBytes: number;
|
|
117
|
-
sha256: `sha256:${string}`;
|
|
118
|
-
}
|
|
119
|
-
interface RawEvidenceRecordsFile extends RawEvidencePayloadFile {
|
|
120
|
-
format: "ndjson";
|
|
121
|
-
/** Number of complete records, in original order. */
|
|
122
|
-
records: number;
|
|
123
|
-
}
|
|
124
|
-
interface RawEvidenceNativeMetadata {
|
|
125
|
-
sourceId?: string;
|
|
126
|
-
rootScope: "session-home" | "workspace-session";
|
|
127
|
-
path: string;
|
|
128
|
-
kind: "file" | "directory" | "symlink";
|
|
129
|
-
mode: number;
|
|
130
|
-
uid: number;
|
|
131
|
-
gid: number;
|
|
132
|
-
mtimeMs: number;
|
|
133
|
-
ctimeMs: number;
|
|
134
|
-
sizeBytes: number;
|
|
135
|
-
}
|
|
136
|
-
type RawEvidenceNativeFile = RawEvidenceNativeMetadata & {
|
|
137
|
-
sha256?: string;
|
|
138
|
-
linkTarget?: string; /** Replaces contentBase64 for regular files. Symlinks remain metadata only. */
|
|
139
|
-
content?: RawEvidencePayloadFile;
|
|
140
|
-
/**
|
|
141
|
-
* The request's `omitContent` names this file's directory: the file has
|
|
142
|
-
* its metadata and no `content` or `sha256`, and its bytes stay on the box.
|
|
143
|
-
*/
|
|
144
|
-
contentOmitted?: true;
|
|
145
|
-
};
|
|
146
|
-
interface RawEvidenceArchiveAttempt {
|
|
147
|
-
executionId: string;
|
|
148
|
-
ordinal: number;
|
|
149
|
-
providerSessionId: string;
|
|
150
|
-
nativeSessionIds: string[];
|
|
151
|
-
processIds: string[];
|
|
152
|
-
outcome: "succeeded" | "failed" | "cancelled" | "unknown";
|
|
153
|
-
missingReasons: string[];
|
|
154
|
-
}
|
|
155
|
-
interface RawEvidenceArchiveEventMetadata {
|
|
156
|
-
executionId: string;
|
|
157
|
-
sessionId: string;
|
|
158
|
-
status: "active" | "completed" | "failed" | "cancelled";
|
|
159
|
-
startedAt: number;
|
|
160
|
-
completedAt?: number;
|
|
161
|
-
eventCount: number;
|
|
162
|
-
lastEventId: string;
|
|
163
|
-
}
|
|
164
|
-
/** Payload references replace only inline content and aggregate record arrays. */
|
|
165
|
-
interface RawEvidenceArchiveManifest {
|
|
166
|
-
schema: "tangle.raw-evidence-archive.v1";
|
|
167
|
-
status: "captured" | "partial";
|
|
168
|
-
sessionId: string;
|
|
169
|
-
backendType: string;
|
|
170
|
-
nativeSessionId: string | null;
|
|
171
|
-
proofStatus: "verified" | "unverified";
|
|
172
|
-
containerId?: string;
|
|
173
|
-
sidecarImageDigest: string;
|
|
174
|
-
sidecarBundleRevision: string;
|
|
175
|
-
sidecarBundleChecksum?: string;
|
|
176
|
-
nativeRoots: Array<{
|
|
177
|
-
sourceId?: string;
|
|
178
|
-
rootScope: "session-home" | "workspace-session";
|
|
179
|
-
path: string;
|
|
180
|
-
}>;
|
|
181
|
-
/**
|
|
182
|
-
* The request's `omitContent` prefixes, present only when it named some.
|
|
183
|
-
* A prefix that covers or enters the harness's native session store is
|
|
184
|
-
* refused with 400, so the session store always keeps its bytes.
|
|
185
|
-
*/
|
|
186
|
-
omitContent?: string[];
|
|
187
|
-
files: RawEvidenceNativeFile[];
|
|
188
|
-
excluded: Array<RawEvidenceNativeMetadata & {
|
|
189
|
-
reason: "credential";
|
|
190
|
-
}>;
|
|
191
|
-
skipped: Array<{
|
|
192
|
-
sourceId?: string;
|
|
193
|
-
rootScope: "session-home" | "workspace-session";
|
|
194
|
-
path: string;
|
|
195
|
-
reason: string;
|
|
196
|
-
}>;
|
|
197
|
-
inventory: Record<string, number>;
|
|
198
|
-
/** NDJSON rows carry the processIo record fields, with content: RawEvidencePayloadFile in place of contentBase64. */
|
|
199
|
-
processIo: RawEvidenceRecordsFile;
|
|
200
|
-
/** NDJSON rows have exactly the fields of processTerminals entries. */
|
|
201
|
-
processTerminals: RawEvidenceRecordsFile;
|
|
202
|
-
processSources: Array<{
|
|
203
|
-
sourceId: string;
|
|
204
|
-
sizeBytes: number;
|
|
205
|
-
sha256: string; /** Exact source spool bytes; replaces contentBase64. */
|
|
206
|
-
content: RawEvidencePayloadFile;
|
|
207
|
-
}>;
|
|
208
|
-
events: Array<{
|
|
209
|
-
metadata: RawEvidenceArchiveEventMetadata; /** Canonical reconstructed BufferedEvent rows, in original event order. */
|
|
210
|
-
frames: RawEvidenceRecordsFile;
|
|
211
|
-
}>;
|
|
212
|
-
attempts: RawEvidenceArchiveAttempt[];
|
|
213
|
-
evidenceSources: Array<{
|
|
214
|
-
executionId: string;
|
|
215
|
-
sourceId: string;
|
|
216
|
-
backendType: string;
|
|
217
|
-
runtimeHome: string;
|
|
218
|
-
credentialPaths: string[];
|
|
219
|
-
}>;
|
|
220
|
-
completeness: {
|
|
221
|
-
nativeStore: boolean;
|
|
222
|
-
processIo: boolean;
|
|
223
|
-
events: boolean;
|
|
224
|
-
};
|
|
225
|
-
coverageComplete: boolean;
|
|
226
|
-
missingReasons: string[];
|
|
227
|
-
}
|
|
228
|
-
/** One store file of a native session copy (harness session contract). */
|
|
229
|
-
interface NativeSessionCopyFile extends RawEvidencePayloadFile {
|
|
230
|
-
/** The store root the file belongs to, relative to the runtime HOME, e.g. `.pi/agent/sessions`. */
|
|
231
|
-
store: string;
|
|
232
|
-
/** The file's own path relative to the runtime HOME, e.g. `.pi/agent/sessions/<ts>_<id>.jsonl`. */
|
|
233
|
-
storePath: string;
|
|
234
|
-
/** A `@tangle-network/harness-sessions` SessionFormatId. */
|
|
235
|
-
format: string;
|
|
236
|
-
/** byte-prefix: append-only JSONL cut at its last complete line; atomic-file: a whole file read twice the same; sqlite-backup: VACUUM INTO. */
|
|
237
|
-
method: "byte-prefix" | "atomic-file" | "sqlite-backup";
|
|
238
|
-
/** The source was larger than the per-file bound; this is its prefix. */
|
|
239
|
-
truncated: boolean;
|
|
240
|
-
/** Source size when copied. */
|
|
241
|
-
sourceBytes: number;
|
|
242
|
-
}
|
|
243
|
-
/**
|
|
244
|
-
* One execution attempt's native session. `snapshot` was taken while the
|
|
245
|
-
* harness ran; `settled` after its process exited, whatever the outcome.
|
|
246
|
-
* Consumers find sessions here, never by matching paths in `files`.
|
|
247
|
-
*/
|
|
248
|
-
interface NativeSessionCopy {
|
|
249
|
-
harness: string;
|
|
250
|
-
/** Format of the session files found (the first, when a harness has several stores). */
|
|
251
|
-
format: string | null;
|
|
252
|
-
executionId: string;
|
|
253
|
-
attempt: number;
|
|
254
|
-
nativeSessionId: string;
|
|
255
|
-
copy: "snapshot" | "settled";
|
|
256
|
-
capturedAt: string;
|
|
257
|
-
/** Null fields are not observed at the copy point; the archive's process records carry them. */
|
|
258
|
-
process: {
|
|
259
|
-
pid: number | null;
|
|
260
|
-
exitedAt: string | null;
|
|
261
|
-
exitCode: number | null;
|
|
262
|
-
signal: string | null;
|
|
263
|
-
outcome: "succeeded" | "failed" | "cancelled" | "unknown";
|
|
264
|
-
};
|
|
265
|
-
files: NativeSessionCopyFile[];
|
|
266
|
-
/**
|
|
267
|
-
* Store files of a settled copy whose bytes the sidecar released because a
|
|
268
|
-
* newer settled copy of the same store file holds them. Each is also named
|
|
269
|
-
* in missingReasons as `settled_copy_superseded:<storePath>`.
|
|
270
|
-
*/
|
|
271
|
-
superseded?: NativeSessionCopySuperseded[];
|
|
272
|
-
complete: boolean;
|
|
273
|
-
/** native_session_id_unobserved | native_session_files_missing | over_bound:<path> | settled_copy_superseded:<path> | ... */
|
|
274
|
-
missingReasons: string[];
|
|
275
|
-
}
|
|
276
|
-
/** A settled store file released in favour of a newer copy of the same file. */
|
|
277
|
-
interface NativeSessionCopySuperseded {
|
|
278
|
-
storePath: string;
|
|
279
|
-
/** The released payload's digest and size, as settled. */
|
|
280
|
-
sha256: string;
|
|
281
|
-
sizeBytes: number;
|
|
282
|
-
/**
|
|
283
|
-
* The settled copy that held the newer copy when this one was released.
|
|
284
|
-
* That copy may itself be released later; following the chain ends at the
|
|
285
|
-
* copy that holds the store file's bytes.
|
|
286
|
-
*/
|
|
287
|
-
supersededBy: {
|
|
288
|
-
executionId: string;
|
|
289
|
-
attempt: number;
|
|
290
|
-
};
|
|
291
|
-
}
|
|
292
|
-
/** v1 plus the per-attempt native session copies. Served when the caller asks for a copy. */
|
|
293
|
-
interface RawEvidenceArchiveManifestV2 extends Omit<RawEvidenceArchiveManifest, "schema"> {
|
|
294
|
-
schema: "tangle.raw-evidence-archive.v2";
|
|
295
|
-
nativeSessions: NativeSessionCopy[];
|
|
296
|
-
/**
|
|
297
|
-
* Present when the caller asked for `home=skip`: `nativeRoots`, `files`,
|
|
298
|
-
* `excluded`, `skipped` and `inventory` are empty because the HOME walk was
|
|
299
|
-
* not taken, and the harness runtime was left running.
|
|
300
|
-
*/
|
|
301
|
-
homeWalk?: "skipped";
|
|
302
|
-
}
|
|
303
|
-
/**
|
|
304
|
-
* v2 as served to a caller that asked for `parts=native`: the manifest and the
|
|
305
|
-
* native session copies, nothing else. The event log and the process stream
|
|
306
|
-
* were left out by request, so `processIo` and `processTerminals` are absent,
|
|
307
|
-
* `processSources` and `events` are empty, the HOME walk is skipped, `status`
|
|
308
|
-
* is `partial`, and `missingReasons` names `events_not_requested` and
|
|
309
|
-
* `process_io_not_requested`. Each copy's own `complete` says whether that
|
|
310
|
-
* session was copied whole.
|
|
311
|
-
*/
|
|
312
|
-
interface RawEvidenceArchiveManifestNative extends Omit<RawEvidenceArchiveManifestV2, "processIo" | "processTerminals" | "homeWalk"> {
|
|
313
|
-
parts: "native";
|
|
314
|
-
homeWalk: "skipped";
|
|
315
|
-
}
|
|
316
|
-
interface RawEvidenceUnavailable {
|
|
317
|
-
status: "unavailable";
|
|
318
|
-
sessionId: string;
|
|
319
|
-
backendType: string;
|
|
320
|
-
reason: string;
|
|
321
|
-
}
|
|
322
|
-
interface RawEvidenceExportOptions {
|
|
323
|
-
/** Bound all uncompressed archive member bytes, including metadata and records. */
|
|
324
|
-
maxBytes: number;
|
|
325
|
-
/**
|
|
326
|
-
* Request native session copies (manifest v2). `latest` returns the
|
|
327
|
-
* settled copy when one exists, otherwise a fresh snapshot; `settled`
|
|
328
|
-
* fails with 409 not_settled while the harness still runs.
|
|
329
|
-
*/
|
|
330
|
-
copy?: "latest" | "settled";
|
|
331
|
-
/** Restrict native session copies to one sidecar execution. */
|
|
332
|
-
executionId?: string;
|
|
333
|
-
/**
|
|
334
|
-
* `native` asks for the native session copies alone (requires `copy`): no
|
|
335
|
-
* event log, process stream or HOME walk, so `maxBytes` bounds the copies
|
|
336
|
-
* and the manifest. The result's manifest is a
|
|
337
|
-
* {@link RawEvidenceArchiveManifestNative}. A sidecar older than the option
|
|
338
|
-
* ignores it and serves the full archive, within the same bounds.
|
|
339
|
-
*/
|
|
340
|
-
parts?: "native";
|
|
341
|
-
/**
|
|
342
|
-
* Session-HOME-relative directory prefixes, each ending in `/` (for
|
|
343
|
-
* example `.codex/plugins/cache/`). The HOME walk names each file below
|
|
344
|
-
* one with its metadata and `contentOmitted: true`, and never reads its
|
|
345
|
-
* bytes. Use it for directories a harness downloads again, so their bytes
|
|
346
|
-
* do not cross the network. At most 64 prefixes of at most 512 characters;
|
|
347
|
-
* not with `parts`. A prefix that covers or enters the harness's native
|
|
348
|
-
* session store is refused. A sidecar older than the option ignores it and
|
|
349
|
-
* sends every file's bytes, so keep `maxBytes` sized for the whole HOME
|
|
350
|
-
* until every sidecar serves the option.
|
|
351
|
-
*/
|
|
352
|
-
omitContent?: readonly string[];
|
|
353
|
-
/** Bound all archive file entries, including empty files. */
|
|
354
|
-
maxFiles: number;
|
|
355
|
-
/** Compressed transport bound; defaults to maxBytes plus bounded tar overhead. */
|
|
356
|
-
maxArchiveBytes?: number;
|
|
357
|
-
signal?: AbortSignal;
|
|
358
|
-
}
|
|
359
|
-
/**
|
|
360
|
-
* The declared native stores of one runtime HOME, copied box-wide. Only the
|
|
361
|
-
* files its harness contract's store globs match are read; nothing else in
|
|
362
|
-
* the HOME is opened, listed or named.
|
|
363
|
-
*/
|
|
364
|
-
interface NativeStoreHomeCopy {
|
|
365
|
-
harness: string;
|
|
366
|
-
/** The HOME's absolute path inside the box. */
|
|
367
|
-
runtimeHome: string;
|
|
368
|
-
copy: "snapshot";
|
|
369
|
-
capturedAt: string;
|
|
370
|
-
/** An active execution or an interactive owner held the HOME when it was copied. */
|
|
371
|
-
live: boolean;
|
|
372
|
-
files: NativeSessionCopyFile[];
|
|
373
|
-
/** Store files the globs matched that the credential predicate names; never copied. */
|
|
374
|
-
excluded: Array<{
|
|
375
|
-
storePath: string;
|
|
376
|
-
reason: "credential";
|
|
377
|
-
}>;
|
|
378
|
-
complete: boolean;
|
|
379
|
-
/** home_live | over_bound:<path> | store_entries_capped:<root> | store_file_unreadable:<path> | ... */
|
|
380
|
-
missingReasons: string[];
|
|
381
|
-
}
|
|
382
|
-
/**
|
|
383
|
-
* Every native session store on one box, found by walking the runtime HOME
|
|
384
|
-
* roots rather than the session store, so it also serves a box whose session
|
|
385
|
-
* listing is empty (a snapshot-restored box whose records expired).
|
|
386
|
-
*/
|
|
387
|
-
interface RawEvidenceBoxArchiveManifest {
|
|
388
|
-
schema: "tangle.raw-evidence-archive.box.v1";
|
|
389
|
-
scope: "box";
|
|
390
|
-
status: "captured" | "partial";
|
|
391
|
-
proofStatus: "verified" | "unverified";
|
|
392
|
-
containerId?: string;
|
|
393
|
-
sidecarBundleChecksum?: string;
|
|
394
|
-
sidecarImageDigest: string;
|
|
395
|
-
sidecarBundleRevision: string;
|
|
396
|
-
/** Every HOME root walked, with the number of HOMEs it held. */
|
|
397
|
-
roots: Array<{
|
|
398
|
-
harness: string;
|
|
399
|
-
path: string;
|
|
400
|
-
kind: "shared" | "isolated";
|
|
401
|
-
homes: number;
|
|
402
|
-
}>;
|
|
403
|
-
homes: NativeStoreHomeCopy[];
|
|
404
|
-
/** Settled copies, each with the HOME it was taken from; they outlive a reaped HOME. */
|
|
405
|
-
nativeSessions: Array<NativeSessionCopy & {
|
|
406
|
-
runtimeHome: string | null;
|
|
407
|
-
}>;
|
|
408
|
-
coverageComplete: boolean;
|
|
409
|
-
missingReasons: string[];
|
|
410
|
-
}
|
|
411
|
-
interface RawEvidenceBoxUnavailable {
|
|
412
|
-
status: "unavailable";
|
|
413
|
-
scope: "box";
|
|
414
|
-
reason: string;
|
|
415
|
-
}
|
|
416
|
-
interface RawEvidenceBoxExportOptions {
|
|
417
|
-
/** Bound all uncompressed archive member bytes, including the manifest. */
|
|
418
|
-
maxBytes: number;
|
|
419
|
-
/** Bound all archive file entries, including empty files. */
|
|
420
|
-
maxFiles: number;
|
|
421
|
-
/** Compressed transport bound; defaults to maxBytes plus bounded tar overhead. */
|
|
422
|
-
maxArchiveBytes?: number;
|
|
423
|
-
signal?: AbortSignal;
|
|
424
|
-
}
|
|
425
|
-
type RawEvidenceBoxDirectoryExport = RawEvidenceBoxUnavailable | {
|
|
426
|
-
status: "captured" | "partial";
|
|
427
|
-
directory: string;
|
|
428
|
-
manifestPath: string;
|
|
429
|
-
manifestSha256: `sha256:${string}`;
|
|
430
|
-
transfer: {
|
|
431
|
-
sizeBytes: number;
|
|
432
|
-
sha256: string;
|
|
433
|
-
};
|
|
434
|
-
manifest: RawEvidenceBoxArchiveManifest;
|
|
435
|
-
coverageComplete: boolean;
|
|
436
|
-
missingReasons: string[];
|
|
437
|
-
};
|
|
438
|
-
type RawEvidenceDirectoryExport = RawEvidenceUnavailable | {
|
|
439
|
-
status: "captured" | "partial";
|
|
440
|
-
directory: string;
|
|
441
|
-
manifestPath: string;
|
|
442
|
-
manifestSha256: `sha256:${string}`;
|
|
443
|
-
transfer: {
|
|
444
|
-
sizeBytes: number;
|
|
445
|
-
sha256: string;
|
|
446
|
-
}; /** Bounded metadata only. No inline payload or aggregate frame contents. */
|
|
447
|
-
manifest: RawEvidenceArchiveManifest | RawEvidenceArchiveManifestV2 | RawEvidenceArchiveManifestNative;
|
|
448
|
-
coverageComplete: boolean;
|
|
449
|
-
missingReasons: string[];
|
|
450
|
-
};
|
|
451
|
-
//#endregion
|
|
452
111
|
//#region ../../../packages/runtime-contracts/dist/runtime-environment.d.ts
|
|
453
112
|
/** Names only: the caller must keep a separate source and pass values to resume({ env }). */
|
|
454
113
|
declare const sandboxEnvRecoverySchema: z.ZodObject<{
|
|
@@ -6085,4 +5744,4 @@ interface SnapshotInfo {
|
|
|
6085
5744
|
remoteSync?: SnapshotRemoteSync;
|
|
6086
5745
|
}
|
|
6087
5746
|
//#endregion
|
|
6088
|
-
export { CreateSandboxFleetOptions as $,
|
|
5747
|
+
export { CreateSandboxFleetOptions as $, declaredSecretBaseToken as $a, SessionExecutionStatus as $i, FileReadError as $n, ForkCounts as $r, SandboxFleetWorkspaceRestoreResult as $t, SandboxIdentity as A, ProvisionStatus as Aa, SandboxTraceEvent as Ai, SandboxShape as An, DriverInfo as Ar, SandboxFleetDriverTimings as At, ProcessSignal as B, ProcessStatus as Ba, CreateSessionOptions as Bi, EgressDenial as Bn, HostAgentDriverConfig as Br, SandboxFleetParent as Bt, WorkspaceOperationLookup as C, RouterRoutingOptions as Ca, IntelligenceReportWindow as Ci, TerminalStream as Cn, PublishPublicTemplateVersionOptions as Cr, SandboxFleetAgentSpec as Ct, ProvisionResult as D, RolloutScorer as Da, SandboxEvent as Di, SandboxResources as Dn, CreateGpuLeaseOptions as Dr, SandboxFleetDispatchFailureClass as Dt, ProvisionEvent as E, RolloutChildResult as Ea, PromptResult as Ei, SandboxConfig as En, AttachGpuLeaseOptions as Er, SandboxFleetCostEstimate as Et, EnsureDevServerOptions as F, GpuLeaseStatus as Fa, CommitTaskSessionOptions as Fi, EgressManager as Fn, GpuLeaseExecOptions as Fr, SandboxFleetMachineRecord as Ft, GitBranch as G, ExecResult as Ga, ListMessagesOptions as Gi, ChunkedUploadResult as Gn, ManagedProcessOptions as Gr, SandboxFleetToken as Gt, PreviewLinkInfo as H, CodeExecutionResult as Ha, DispatchPromptOptions as Hi, GitAuth as Hn, NonHostAgentDriverConfig as Hr, SandboxFleetPolicy as Ht, ExactProcessSpawnOptions as I, WorkspaceImagePublishInput as Ia, CompletedTurnPayload as Ii, NetworkConfig as In, GpuLeaseExecResult as Ir, SandboxFleetMachineSpec as It, GitStatus as J, SandboxEnvRecoveryView as Ja, SendSessionMessageRequest as Ji, DownloadProgress as Jn, ManagedProcessRecord as Jr, SandboxFleetTraceExport as Jt, GitCommit as K, WriteFileRequest as Ka, PublicProfileConflict as Ki, DeleteOptions as Kn, ManagedProcessResumeOptions as Kr, SandboxFleetTraceBundle as Kt, Process as L, WorkspaceImagePublishResult as La, CompletedTurnResult as Li, NetworkManager as Ln, GpuLeaseManager as Lr, SandboxFleetManifest as Lt, UsageInfo as M, GpuLeaseProviderName as Ma, SandboxTraceOptions as Mi, SandboxResourceUsage as Mn, GpuLease as Mr, SandboxFleetIntelligenceEnvelope as Mt, WaitForOptions as N, GpuLeaseProviderState as Na, TokenUsage as Ni, SandboxRuntimeCapabilities as Nn, GpuLeaseBilling as Nr, SandboxFleetMachine as Nt, ProvisionStep as O, RolloutStatus as Oa, SandboxIntelligenceEnvelope as Oi, SandboxShapesInfo as On, DockerDriverConfig as Or, SandboxFleetDispatchResponse as Ot, DevServerInfo as P, GpuLeaseProviderStatus as Pa, TurnBackendConfig as Pi, StorageConfig as Pn, GpuLeaseCommandResult as Pr, SandboxFleetMachineMeteredUsage as Pt, AttachSandboxFleetMachineOptions as Q, assertDeclaredSecretsHeld as Qa, SessionExecutionInfo as Qi, FileReadBatchResult as Qn, BranchOptions as Qr, SandboxFleetWorkspaceReconcileResult as Qt, ProcessLogEntry as R, ProcessInfo as Ra, ConversationTurnOptions as Ri, SandboxEgressUsage as Rn, GpuLeaseProviders as Rr, SandboxFleetManifestMachine as Rt, StopOptions as S, McpServerConfig as Sa, IntelligenceReportSubjectType as Si, TeePublicKeyResponse as Sn, PublishPublicTemplateOptions as Sr, SandboxFleetAgent as St, SshKeysManager as T, SecretInfo as Ta, PromptOptions as Ti, CreateSandboxOptions as Tn, AcceleratorKind as Tr, SandboxFleetArtifactSpec as Tt, PreviewLinkManager as U, CodeLanguage as Ua, DispatchedSession as Ui, GitConfig as Un, CodeExecutionOptions as Ur, SandboxFleetProfileRef as Ut, ProcessSpawnOptions as V, SessionStatus as Va, CreateTaskSessionOptions as Vi, MAX_EGRESS_DENIALS_LIMIT as Vn, HostAgentRuntimeBackend as Vr, SandboxFleetPlacement as Vt, PreviewLinkWaitOptions as W, CodeResultPart as Wa, DriveTurnOptions as Wi, ChunkedUploadOptions as Wn, ManagedProcessJobs as Wr, SandboxFleetSpend as Wt, FleetDriveTurnRequest as X, InteractionResolutionAcknowledgement as Xa, SessionBackendCredentials as Xi, FileInfo as Xn, HttpClient as Xr, SandboxFleetUsage as Xt, FleetDriveTurnOutcome as Y, baseProxyToken as Ya, SentSessionMessage as Yi, DownloadResult as Yn, ManagedProcessSpec as Yr, SandboxFleetTraceOptions as Yt, TokenRefreshHandler as Z, DECLARED_SECRET_HOSTS_ENV_VAR as Za, SessionEventStreamOptions as Zi, FileReadBatchOptions as Zn, SdkTimingHook as Zr, SandboxFleetWorkspace as Zt, SnapshotInfo as _, BackendInfo as _a, DurablePlanSnapshot as _i, StartupOperation as _n, SearchMatch as _r, ListSandboxFleetOptions as _t, DeleteMatchingSandboxesResult as a, SessionMessage as aa, WaitForRolloutOptions as ai, SandboxInfo as an, EffectiveBackendSource as ao, FileTreeResult as ar, FleetAgentRunStatus as at, SnapshotRemoteSync as b, BackendRuntimeConfigUpdate as ba, IntelligenceReportBudget as bi, TeeAttestationResponse as bn, PublicTemplateInfo as br, ReconcileSandboxFleetsOptions as bt, SandboxDeleteOptions as c, SessionResultOptions as ca, AgentApprovalRequirement as ci, SandboxRunGeneration as cn, FileWriteResult as cr, FleetDispatchResultBufferOptions as ct, SandboxOperationKind as d, TaskSessionFileChange as da, AgentToolInvocation as di, SandboxTerminalCreateOptions as dn, RenameOptions as dr, FleetExecDispatchResult as dt, SessionFailureReason as ea, ForkIdempotency as ei, SandboxFleetWorkspaceSnapshotResult as en, parseDeclaredSecretsEnv as eo, FileReadResult as er, CreateSandboxFleetTokenOptions as et, SandboxOperationState as f, TaskSessionInfo as fa, CreateIntelligenceReportOptions as fi, SandboxTerminalInfo as fn, UploadOptions as fr, FleetMachineId as ft, SnapshotIdempotency as g, BackendConfig as ga, DurablePlanFollowUpResume as gi, StartupDiagnostics as gn, WriteManyOptions as gr, FleetRunOptions as gt, SnapshotDeleteOutcome as h, BackendCapabilities as ha, DurablePlanDecisionResult as hi, SandboxTerminals as hn, WriteManyFile as hr, FleetRunEvent as ht, DeleteMatchingSandboxesOptions as i, SessionListOptions as ia, RolloutStartResult as ii, SandboxConnection as in, EffectiveBackendProfile as io, FileTreeOptions as ir, FleetAgentResult as it, SubscriptionInfo as j, GPU_LEASE_PROVIDER_NAMES as ja, SandboxTraceExport as ji, SandboxShapePreset as jn, DriverType as jr, SandboxFleetInfo as jt, ResumeOptions as k, RolloutTurnPart as ka, SandboxTraceBundle as ki, SandboxStatus as kn, DriverConfig as kr, SandboxFleetDriverCapability as kt, SandboxDeleteOutcome as l, TaskSessionChanges as la, AgentQuestionRequest as li, SandboxRuntimeHealth as ln, ListOptions as lr, FleetDispatchStreamOptions as lt, SnapshotDeleteAcknowledgement as m, TurnDriveResult as ma, DurablePlanDecisionOptions as mi, SandboxTerminalRequestOptions as mn, WriteFileOptions as mr, FleetPromptDispatchResult as mt, DeleteMatchingSandboxResult as n, SessionInfo as na, Rollout as ni, SSHCommandDescriptor as nn, BackendType as no, FileSystem as nr, FleetAgentId as nt, RestoreSnapshotOptions as o, SessionMessageAdmission as oa, BatchBackend as oi, SandboxPortBinding as on, parseBackendType as oo, FileUsageOptions as or, FleetDispatchCancelResult as ot, SandboxRemovalState as p, TaskSessionProfile as pa, DurablePlan as pi, SandboxTerminalManager as pn, UploadProgress as pr, FleetPromptDispatchOptions as pt, GitDiff as q, SandboxEnvRecovery as qa, SendSessionMessageOptions as qi, DownloadOptions as qn, ManagedProcessState as qr, SandboxFleetTraceEvent as qt, DeleteMatchingSandboxesFilter as r, SessionInterruptOptions as ra, RolloutOptions as ri, SSHCredentials as rn, EffectiveBackend as ro, FileTreeFile as rr, FleetAgentPlacement as rt, SandboxDeleteAcknowledgement as s, SessionMessageInputPart as sa, BatchRunOptions as si, SandboxPortPreviewLink as sn, FileUsageResult as sr, FleetDispatchResultBuffer as st, DeleteMatchingSandboxOutcome as t, SessionForkOptions as ta, ForkLookupOptions as ti, ListSandboxOptions as tn, ALL_BACKEND_TYPES as to, FileRenameResult as tr, CreateSandboxFleetWithCoordinatorOptions as tt, SandboxOperationInfo as u, TaskSessionCommitResult as ua, AgentRunStatus as ui, SandboxTerminalAttachOptions as un, MkdirOptions as ur, FleetExecDispatchOptions as ut, SnapshotOptions as v, BackendManager as va, EventStreamOptions as vi, TeeAttestationOptions as vn, SearchOptions as vr, ReapExpiredSandboxFleetsOptions as vt, SecretsManager as w, SecretBindingOptions as wa, PromptInputPart as wi, CreateRequestOptions as wn, SandboxEnvironment as wr, SandboxFleetArtifact as wt, SnapshotResult as x, BackendStatus as xa, IntelligenceReportCompareTo as xi, TeePublicKey as xn, PublicTemplateVersionInfo as xr, ReconcileSandboxFleetsResult as xt, SnapshotProvenance as y, BackendMcpServerStatus as ya, IntelligenceReport as yi, TeeAttestationReport as yn, ExecOptions as yr, ReapExpiredSandboxFleetsResult as yt, ProcessManager as z, ProcessListOptions as za, ConversationTurnResult as zi, EgressPolicy as zn, GpuLeaseProvidersOptions as zr, SandboxFleetOperationsSummary as zt };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sandbox",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.239",
|
|
4
4
|
"description": "Client SDK for the Tangle Sandbox platform - build AI agent applications with dev containers",
|
|
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.19",
|
|
113
113
|
"@tangle-network/agent-trace-contract": "^2.2.0",
|
|
114
114
|
"tar-stream": "3.2.1",
|
|
115
115
|
"zod": "^4.6.6"
|
|
@@ -153,15 +153,15 @@
|
|
|
153
153
|
"vitest": "^4.1.12",
|
|
154
154
|
"ws": "^8.22.0",
|
|
155
155
|
"yjs": "13.6.33",
|
|
156
|
-
"@repo/shared": "0.0.0",
|
|
157
156
|
"@products/sandbox-test-utils": "0.0.0",
|
|
157
|
+
"@repo/shared": "0.0.0",
|
|
158
|
+
"@tangle-network/agent-profile-materialize": "0.27.1",
|
|
158
159
|
"@tangle-network/cli-agent-registry": "0.15.0",
|
|
159
|
-
"@tangle-network/runtime-contracts": "0.20.0"
|
|
160
|
-
"@tangle-network/agent-profile-materialize": "0.27.1"
|
|
160
|
+
"@tangle-network/runtime-contracts": "0.20.0"
|
|
161
161
|
},
|
|
162
162
|
"tangleRelease": {
|
|
163
|
-
"sourceSha": "
|
|
164
|
-
"mergedAt": "2026-11-
|
|
163
|
+
"sourceSha": "ad6d9668a892a8ecdc69765e5a3fc446952b0f2d",
|
|
164
|
+
"mergedAt": "2026-11-04T21:48:49-08:00"
|
|
165
165
|
},
|
|
166
166
|
"scripts": {
|
|
167
167
|
"build": "node scripts/build-dist.mjs",
|