@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.
@@ -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 universal Nix profile, which
821
- * Docker / host-agent / Firecracker drivers ship via the host
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): Promise<void>;
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.