@tangle-network/sandbox 0.60.61 → 0.60.74
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-run-outcome-jmKaXys4.d.ts → agent-run-outcome-eZF8RuUN.d.ts} +1 -1
- package/dist/auth/index.d.ts +1 -1
- package/dist/auth/index.js +1 -1
- package/dist/backend-types-D6bYbvMB.js +42 -0
- package/dist/{browser-interactive-control-controller-JUW3gOGH.d.ts → browser-interactive-control-controller-rpTbyvAS.d.ts} +1 -1
- package/dist/{chunked-upload-BklCn3Li.js → chunked-upload-CDrLMO8N.js} +1 -1
- package/dist/{chunked-upload-file-Cp-iWsWN.js → chunked-upload-file-BwbqHWUX.js} +1 -1
- package/dist/cli-auth-bundle-cSJjPeFF.js +1543 -0
- package/dist/{client-4G99U4L2.d.ts → client-BujziOIc.d.ts} +10 -6
- package/dist/{client-BuWj2tMd.js → client-C7Y6waVg.js} +29 -10
- package/dist/collaboration/index.d.ts +1 -1
- package/dist/collaboration/index.js +1 -1
- package/dist/{collaboration-B2g1j2ey.js → collaboration-CTbq2OYh.js} +1 -1
- package/dist/core.d.ts +7 -7
- package/dist/core.js +3 -3
- package/dist/{errors-CBy-dqOv.d.ts → errors-Bj5DL2ge.d.ts} +61 -2
- package/dist/{errors-iWIsey1D.js → errors-C8YcR1BL.js} +31 -1
- package/dist/{index-ClxFpHIl.d.ts → index-CP9a77KP.d.ts} +2 -2
- package/dist/index.d.ts +14 -15
- package/dist/index.js +9 -9
- package/dist/intelligence/index.js +1 -1
- package/dist/interactive-control.d.ts +1 -1
- package/dist/{interactive-controller-DaYmUCO_.js → interactive-controller-BFbCkMq4.js} +213 -21
- package/dist/{lines-Bm8NULkl.d.ts → lines-_rRdwxof.d.ts} +10 -2
- package/dist/lines.d.ts +2 -2
- package/dist/lines.js +1 -1
- package/dist/{local-cli-auth-CZjO7FeG.js → local-cli-auth-CBV7Vjk5.js} +1 -1
- package/dist/{managed-process-Ddx8dULu.d.ts → managed-process-CPHeQONO.d.ts} +1 -1
- package/dist/{preview-DqKY0kxQ.d.ts → preview-n41aOXde.d.ts} +3 -3
- package/dist/runtime.d.ts +5 -6
- package/dist/runtime.js +3 -3
- package/dist/{sandbox-C6BLOrcg.js → sandbox-DGoQMthD.js} +678 -69
- package/dist/{sandbox-CIK4LMS-.d.ts → sandbox-DfSqEr3f.d.ts} +70 -17
- package/dist/tangle/index.d.ts +1 -1
- package/dist/tangle/index.js +1 -1
- package/dist/{tangle-CvB_QTGV.js → tangle-vyeLQFFg.js} +2 -2
- package/dist/{terminal-stream-CV1pMSKC.d.ts → terminal-stream-jdYomM1m.d.ts} +123 -4
- package/dist/{types-CS_FytQM.d.ts → types-Mi83KD0D.d.ts} +194 -21
- package/package.json +5 -5
- package/dist/backend-types-C7b_Gpa0.js +0 -59
- package/dist/cli-auth-bundle-BWNakb5F.js +0 -1007
- package/dist/interactive-controller-DNbLzamS.d.ts +0 -40
- /package/dist/{index-BgmgfYZZ.d.ts → index-DO7GVpk_.d.ts} +0 -0
- /package/dist/{index-DHuHjNie.d.ts → index-DZ27pdB8.d.ts} +0 -0
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { a as TerminalStreamReconnectAuthority, l as ScopedToken, t as TerminalStream } from "./terminal-stream-CV1pMSKC.js";
|
|
2
|
-
import { a as InteractiveSessionControlController, c as InteractiveSessionIdentity, f as InteractiveAttachOptions, h as InteractiveRequestOptions, n as BrowserInteractiveSessionControlControllerOptions, o as InteractiveSessionControlControllerOptions, s as InteractiveSessionControlTransport } from "./browser-interactive-control-controller-JUW3gOGH.js";
|
|
3
|
-
import { AgentInteractiveSessionRef } from "@tangle-network/agent-interface";
|
|
4
|
-
|
|
5
|
-
//#region src/interactive-controller.d.ts
|
|
6
|
-
/** The request fields supplied by an attach caller before control is claimed. */
|
|
7
|
-
type InteractiveAttachRequest = Omit<InteractiveAttachOptions, "control">;
|
|
8
|
-
/** Transport used by the status → claim → WebSocket controller. */
|
|
9
|
-
interface InteractiveSessionControllerTransport extends InteractiveSessionControlTransport {
|
|
10
|
-
attach(sessionId: string, ref: AgentInteractiveSessionRef, request: InteractiveAttachOptions, options?: InteractiveRequestOptions, reconnectAuthority?: TerminalStreamReconnectAuthority): Promise<TerminalStream>;
|
|
11
|
-
}
|
|
12
|
-
interface InteractiveSessionControllerOptions extends InteractiveSessionControlControllerOptions {}
|
|
13
|
-
/**
|
|
14
|
-
* Attach-capable controller for one exact interactive process.
|
|
15
|
-
*
|
|
16
|
-
* Control ownership lives in the dependency-light base controller. This layer
|
|
17
|
-
* adds only the terminal attach operation after that ownership is resolved.
|
|
18
|
-
*/
|
|
19
|
-
declare class InteractiveSessionController extends InteractiveSessionControlController {
|
|
20
|
-
private readonly attachTransport;
|
|
21
|
-
private attachInFlight?;
|
|
22
|
-
constructor(attachTransport: InteractiveSessionControllerTransport, options: InteractiveSessionControllerOptions);
|
|
23
|
-
attach(request: InteractiveAttachRequest, requestOptions?: InteractiveRequestOptions): Promise<TerminalStream>;
|
|
24
|
-
/**
|
|
25
|
-
* Open a stream for a claim returned by this controller's `resolve()`.
|
|
26
|
-
* The controller releases that claim when the stream cannot be opened.
|
|
27
|
-
*/
|
|
28
|
-
attachWithIdentity(identity: InteractiveSessionIdentity, request: InteractiveAttachRequest, requestOptions?: InteractiveRequestOptions): Promise<TerminalStream>;
|
|
29
|
-
}
|
|
30
|
-
/** Browser transport options for the attach-capable controller. */
|
|
31
|
-
interface BrowserInteractiveSessionControllerOptions extends InteractiveSessionControllerOptions, BrowserInteractiveSessionControlControllerOptions {
|
|
32
|
-
/** Mint a future session-runtime token for every browser terminal dial. */
|
|
33
|
-
terminalTokenProvider?: (signal?: AbortSignal) => Promise<ScopedToken>;
|
|
34
|
-
}
|
|
35
|
-
/** Concrete controller for browser deep links and terminal attachment. */
|
|
36
|
-
declare class BrowserInteractiveSessionController extends InteractiveSessionController {
|
|
37
|
-
constructor(options: BrowserInteractiveSessionControllerOptions);
|
|
38
|
-
}
|
|
39
|
-
//#endregion
|
|
40
|
-
export { InteractiveSessionControllerOptions as a, InteractiveSessionController as i, BrowserInteractiveSessionControllerOptions as n, InteractiveSessionControllerTransport as o, InteractiveAttachRequest as r, BrowserInteractiveSessionController as t };
|
|
File without changes
|
|
File without changes
|