@tangle-network/sandbox 0.69.10 → 0.69.12
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 +5 -5
- package/dist/agent/preview.d.ts +1 -1
- package/dist/agent/preview.js +3 -3
- package/dist/{agent-run-outcome-B5CzWxw4.d.ts → agent-run-outcome-BuebRCWr.d.ts} +2 -2
- package/dist/{api-request-D1UVNo16.js → api-request-EseiF9B1.js} +1 -1
- package/dist/auth/index.d.ts +2 -2
- package/dist/auth/index.js +1 -1
- package/dist/browser-interactive-control-controller-Bt1vcu9c.js +4045 -0
- package/dist/{browser-interactive-control-controller-SI9hV6r5.d.ts → browser-interactive-control-controller-CVnME80O.d.ts} +5 -7
- package/dist/{chunked-upload-l6b9AWFA.js → chunked-upload-Df_5Q2x8.js} +1 -1
- package/dist/{chunked-upload-file-CLwAeLrM.js → chunked-upload-file-Dtm1GBkE.js} +2 -2
- package/dist/cli-auth-bundle-f2pt7sVA.js +2593 -0
- package/dist/{client-qjA1hNOp.js → client-BR_aABY2.js} +11 -11
- package/dist/{client-BGm6cw7B.d.ts → client-BWnbrifs.d.ts} +30 -32
- package/dist/collaboration/index.d.ts +1 -1
- package/dist/collaboration/index.js +1 -1
- package/dist/{collaboration-BwLNv6sy.js → collaboration-BTGTf3We.js} +1 -1
- package/dist/{core-CG7T2arO.js → core-DeXa_YQ2.js} +5 -4
- package/dist/core.d.ts +6 -6
- package/dist/core.js +5 -5
- package/dist/{direct-http2-Pyj3Rvr1.js → direct-http2-B0ra_xhU.js} +1 -1
- package/dist/{errors-Bs5G7JdV.js → errors-ZmDrrk4f.js} +1 -1
- package/dist/harness-BD_OISom.js +201 -0
- package/dist/harness-DWL2MM4q.js +418 -0
- package/dist/{index-nXob5TkM.d.ts → index-DdcCRDq8.d.ts} +14 -16
- package/dist/index.d.ts +11 -11
- package/dist/index.js +11 -11
- package/dist/intelligence/index.js +2 -2
- package/dist/interactive-control.d.ts +1 -1
- package/dist/interactive-control.js +1 -1
- package/dist/{interactive-controller-DSDEfapN.js → interactive-controller-B4bQwRJL.js} +21 -8
- package/dist/{interactive-controller-FgmcS8_Y.d.ts → interactive-controller-DlFKGQqu.d.ts} +3 -4
- package/dist/lib/prepared-evidence.js +1 -1
- package/dist/lib/prepared-process.js +1 -1
- package/dist/{lines-D_HDAcVt.js → lines-BqZOl_io.js} +1 -1
- package/dist/{lines-BoVYnUCM.d.ts → lines-ptj8SyD4.d.ts} +1 -1
- package/dist/lines.d.ts +1 -1
- package/dist/lines.js +1 -1
- package/dist/{local-cli-auth-YGra1QUA.js → local-cli-auth-Cpi3hT3j.js} +1 -1
- package/dist/{mcp-local-Gz1Uygqk.js → mcp-local-BcRLN_Ic.js} +1 -1
- package/dist/{prepared-evidence-DUmJSegi.js → prepared-evidence-CuUh_mz6.js} +1 -1
- package/dist/{preview-Vu5knAuf.d.ts → preview-ByTCKjiK.d.ts} +3 -3
- package/dist/profile-schema-CT3hB1mG.js +1135 -0
- package/dist/{public-templates-B6_uwnRZ.d.ts → public-templates-O2mxBX7J.d.ts} +2 -2
- package/dist/public-templates.d.ts +1 -1
- package/dist/public-templates.js +1 -1
- package/dist/{raw-evidence-archive-D60Yg1-5.js → raw-evidence-archive-CqarcYcp.js} +1 -1
- package/dist/runtime.d.ts +5 -5
- package/dist/runtime.js +5 -5
- package/dist/{sandbox-BulsMs3K.js → sandbox-B1ROfJxe.js} +384 -46
- package/dist/{secp256k1-DxHlUI6v.js → secp256k1-CZWrpqxW.js} +1 -1
- package/dist/select-seat-command.d.ts +1 -1
- package/dist/select-seat-command.js +1 -1
- package/dist/session-gateway/index.js +3 -3
- package/dist/sha2-BUPMvGTk.js +694 -0
- package/dist/tangle/index.d.ts +1 -1
- package/dist/tangle/index.js +1 -1
- package/dist/{tangle-DdzOPPJ9.js → tangle-q-3ualoW.js} +4 -4
- package/dist/terminal-stream-types-DwXQzUbH.d.ts +3328 -0
- package/dist/{types-CkLWX7i5.d.ts → types-B28t5Sq1.d.ts} +10 -12
- package/package.json +6 -6
- package/dist/browser-interactive-control-controller-CLHNi8rG.js +0 -292
- package/dist/cli-auth-bundle-DmaEJ_qh.js +0 -1590
- package/dist/terminal-stream-types-DuzvL1ge.d.ts +0 -676
- /package/dist/{abort-signal-BKVZNJul.js → abort-signal-jU-SEjLT.js} +0 -0
- /package/dist/{cli-auth-bundle-CeNOYFje.d.ts → cli-auth-bundle-MskLEgtA.d.ts} +0 -0
- /package/dist/{index-C0RkLba5.d.ts → index-Dqcr9p97.d.ts} +0 -0
- /package/dist/{index-DaIF4c9p.d.ts → index-Dslyq85a.d.ts} +0 -0
- /package/dist/{keep-alive-fetch-Bi-zvHpN.js → keep-alive-fetch-C2DX2_rG.js} +0 -0
- /package/dist/{prepared-process-Dlk_9JVJ.js → prepared-process-LjBfQnZ5.js} +0 -0
- /package/dist/{preview-operations-eTUlPen5.js → preview-operations-BvgwYaoL.js} +0 -0
- /package/dist/{response-rewrap-BKkJ5hnn.js → response-rewrap-MBztoTLx.js} +0 -0
- /package/dist/{retry-after-header-U_L5Ml9Q.js → retry-after-header-BZbs5rig.js} +0 -0
- /package/dist/{sidecar-proxy-error-B2Hxt41g.js → sidecar-proxy-error-Dty4zmN7.js} +0 -0
- /package/dist/{sse-parser-CUfurwcm.js → sse-parser-DmO5gP6u.js} +0 -0
- /package/dist/{utils-DB8DnUCU.js → utils-vaFoyyiO.js} +0 -0
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { i as TerminalStreamHandlers } from "./terminal-stream-types-
|
|
2
|
-
import { AgentInteractiveSessionAttach, AgentInteractiveSessionControlClaimAcknowledgement, AgentInteractiveSessionStatus } from "@tangle-network/agent-interface";
|
|
3
|
-
import { AgentInteractiveSessionControlClaim as AgentInteractiveSessionControlClaim$1, AgentInteractiveSessionControlClaimRequest as AgentInteractiveSessionControlClaimRequest$1, AgentInteractiveSessionRef as AgentInteractiveSessionRef$1 } from "@tangle-network/agent-interface/environment-interactive-control";
|
|
1
|
+
import { _ as AgentInteractiveSessionControlClaimRequest, b as AgentInteractiveSessionRef, g as AgentInteractiveSessionControlClaimAcknowledgement, h as AgentInteractiveSessionControlClaim, i as TerminalStreamHandlers, m as AgentInteractiveSessionAttach, x as AgentInteractiveSessionStatus } from "./terminal-stream-types-DwXQzUbH.js";
|
|
4
2
|
|
|
5
3
|
//#region src/interactive-types.d.ts
|
|
6
4
|
/** Cancellation for an interactive SDK request. */
|
|
@@ -26,14 +24,14 @@ declare class InteractiveSessionNotRunningError extends Error {
|
|
|
26
24
|
}
|
|
27
25
|
/** The exact identity needed to control one admitted interactive process. */
|
|
28
26
|
interface InteractiveSessionIdentity {
|
|
29
|
-
ref: AgentInteractiveSessionRef
|
|
30
|
-
control: AgentInteractiveSessionControlClaim
|
|
27
|
+
ref: AgentInteractiveSessionRef;
|
|
28
|
+
control: AgentInteractiveSessionControlClaim;
|
|
31
29
|
}
|
|
32
30
|
/** Transport for the status, claim, and release control operations. */
|
|
33
31
|
interface InteractiveSessionControlTransport {
|
|
34
32
|
status(sessionId: string, incarnationId: string, options?: InteractiveRequestOptions): Promise<InteractiveSessionStatus | null>;
|
|
35
|
-
claimControl(sessionId: string, request: AgentInteractiveSessionControlClaimRequest
|
|
36
|
-
releaseControl(sessionId: string, ref: AgentInteractiveSessionRef
|
|
33
|
+
claimControl(sessionId: string, request: AgentInteractiveSessionControlClaimRequest, options?: InteractiveRequestOptions): Promise<InteractiveControlClaimAcknowledgement>;
|
|
34
|
+
releaseControl(sessionId: string, ref: AgentInteractiveSessionRef, control: AgentInteractiveSessionControlClaim, options?: InteractiveRequestOptions): Promise<void>;
|
|
37
35
|
}
|
|
38
36
|
/** Maximum time spent on bounded claim recovery and release cleanup. */
|
|
39
37
|
declare const INTERACTIVE_CONTROL_CLEANUP_TIMEOUT_MS = 5000;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as isFileTooLargeErrorBody, O as isPayloadTooLargeErrorBody, S as ServerError, T as TimeoutError, h as NetworkError, k as FILE_UPLOAD_SESSION_MAX_BYTES, n as parseErrorResponse, x as SandboxError, y as QuotaError } from "./errors-
|
|
1
|
+
import { D as isFileTooLargeErrorBody, O as isPayloadTooLargeErrorBody, S as ServerError, T as TimeoutError, h as NetworkError, k as FILE_UPLOAD_SESSION_MAX_BYTES, n as parseErrorResponse, x as SandboxError, y as QuotaError } from "./errors-ZmDrrk4f.js";
|
|
2
2
|
//#region src/lib/chunked-upload.ts
|
|
3
3
|
/**
|
|
4
4
|
* Chunked upload — the sanctioned SDK path for delivering payloads larger
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { k as FILE_UPLOAD_SESSION_MAX_BYTES } from "./errors-
|
|
2
|
-
import { a as planCompression, i as partCount, n as commitSession, o as putPart, r as initUploadSession, t as abortSession } from "./chunked-upload-
|
|
1
|
+
import { k as FILE_UPLOAD_SESSION_MAX_BYTES } from "./errors-ZmDrrk4f.js";
|
|
2
|
+
import { a as planCompression, i as partCount, n as commitSession, o as putPart, r as initUploadSession, t as abortSession } from "./chunked-upload-Df_5Q2x8.js";
|
|
3
3
|
import { createHash } from "node:crypto";
|
|
4
4
|
import { open } from "node:fs/promises";
|
|
5
5
|
//#region src/lib/chunked-upload-file.ts
|