@tangle-network/sandbox 0.6.0 → 0.6.2
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/README.md +51 -6
- package/dist/agent/index.d.ts +7 -3
- package/dist/agent/index.js +1 -1
- package/dist/auth/index.js +1 -1
- package/dist/client-BHXFOQqN.js +1 -0
- package/dist/{client-DRbtd2hi.d.ts → client-DaEmraU2.d.ts} +1 -1
- package/dist/collaboration/index.js +1 -1
- package/dist/collaboration-BxlfZ2Uh.js +1 -1
- package/dist/core.d.ts +2 -2
- package/dist/core.js +1 -1
- package/dist/errors-DZsfJUuc.js +1 -1
- package/dist/{index-Bl4L_Cpm.d.ts → index-B3gwbLZb.d.ts} +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/intelligence/index.js +1 -1
- package/dist/openai/index.js +1 -1
- package/dist/{sandbox-BQbq1EGP.d.ts → sandbox-Cjubo8Gy.d.ts} +12 -5
- package/dist/sandbox-_OdJnMqn.js +1 -0
- 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-BjH4gMSm.js +1 -0
- package/package.json +17 -3
- package/dist/client-DNRk-fYq.js +0 -1
- package/dist/sandbox-d6iLJeH2.js +0 -1
- package/dist/tangle-BrobUtQo.js +0 -1
|
@@ -817,10 +817,8 @@ interface CreateSandboxOptions {
|
|
|
817
817
|
*
|
|
818
818
|
* The capability is enforced at two layers:
|
|
819
819
|
* 1. The sidecar refuses to start if a capability's binaries are
|
|
820
|
-
* missing (computer_use needs the
|
|
821
|
-
*
|
|
822
|
-
* bind-mount or the universal sidecar image variant; Firecracker
|
|
823
|
-
* host profiles built without the universal flake do not).
|
|
820
|
+
* missing (`computer_use` needs the mounted Nix profile with
|
|
821
|
+
* Xvfb, dbus, xdotool, and scrot available at runtime).
|
|
824
822
|
* 2. The MCP token endpoint refuses to mint a `cap: ["computer_use"]`
|
|
825
823
|
* JWT for a sandbox that wasn't created with that capability.
|
|
826
824
|
*
|
|
@@ -937,6 +935,12 @@ interface SandboxConnection {
|
|
|
937
935
|
authToken?: string;
|
|
938
936
|
/** Token expiration timestamp (ISO 8601). Refresh before this time. */
|
|
939
937
|
authTokenExpiresAt?: string;
|
|
938
|
+
/** Public inbound edge attachment state for `runtimeUrl`. */
|
|
939
|
+
edgeStatus?: "pending" | "ready" | "failed" | "skipped";
|
|
940
|
+
/** Timestamp when the public edge reached this sandbox. */
|
|
941
|
+
edgeReadyAt?: string;
|
|
942
|
+
/** Last public edge attachment error message. */
|
|
943
|
+
edgeError?: string;
|
|
940
944
|
/** SSH connection info if `sshEnabled` was true during creation */
|
|
941
945
|
ssh?: SSHCredentials;
|
|
942
946
|
/** Web terminal URL if `webTerminalEnabled` was true during creation */
|
|
@@ -3530,8 +3534,11 @@ interface Process {
|
|
|
3530
3534
|
/**
|
|
3531
3535
|
* Kill the process.
|
|
3532
3536
|
* @param signal - Signal to send (default: SIGTERM)
|
|
3537
|
+
* @param options - Kill behavior options
|
|
3533
3538
|
*/
|
|
3534
|
-
kill(signal?: ProcessSignal
|
|
3539
|
+
kill(signal?: ProcessSignal, options?: {
|
|
3540
|
+
tree?: boolean;
|
|
3541
|
+
}): Promise<void>;
|
|
3535
3542
|
/**
|
|
3536
3543
|
* Stream stdout/stderr logs in real-time.
|
|
3537
3544
|
* Includes buffered logs from process start.
|