From ffe79e9a545c24135931c8c290ff4f5277672238 Mon Sep 17 00:00:00 2001 From: Vantz Stockwell Date: Tue, 24 Mar 2026 17:00:54 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20add=20Tauri=20v2=20capabilities=20?= =?UTF-8?q?=E2=80=94=20unblock=20event:listen=20for=20SSH=20terminal?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The app had no capabilities file, so Tauri v2's ACL blocked all frontend listen() calls. SSH connections succeeded on the Rust side but the terminal never received data events, appearing as "nothing happened." Grants core:default, core:event:default, core:window:default, and shell:allow-open. Co-Authored-By: Claude Opus 4.6 (1M context) --- src-tauri/capabilities/default.json | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src-tauri/capabilities/default.json diff --git a/src-tauri/capabilities/default.json b/src-tauri/capabilities/default.json new file mode 100644 index 0000000..03ac4f0 --- /dev/null +++ b/src-tauri/capabilities/default.json @@ -0,0 +1,11 @@ +{ + "identifier": "default", + "description": "Default capabilities for the main Wraith window", + "windows": ["main"], + "permissions": [ + "core:default", + "core:event:default", + "core:window:default", + "shell:allow-open" + ] +}