feat: add diagnostics report to Firefox torrent extension
check / check (macos-latest) (push) Failing after 26s
check / check (windows-latest) (push) Failing after 26s
check / check (ubuntu-latest) (push) Failing after 29s

- Add a Diagnostics panel to the extension popup and manager page with copy and refresh actions
- Collect extension settings, router API status, torrents, DHT nodes, and a tail of the router log into one report
- Add a native host `diagnostics` command that reports router PID, active ports, log path, and log summary counters
- Export data dir, log file, router PID, and SAM port from the AppImage launcher
- Start the router with `--debug` so the log tail has detailed output
- Bump extension version to 0.1.4 and request clipboardWrite permission
This commit is contained in:
nandi committed 2026-11-28 19:28:39 -08:00
1 parent 9aa15f9ae8
commit 4bb81f1b80
9 files changed
+486 -1

No files matched your search

+4
View File
@@ -327,11 +327,15 @@ else
fi
export MOON_I2P_APPIMAGE=1
export MOON_I2P_DATA_DIR="$DATA_DIR"
export MOON_I2P_LOG_FILE="$DATA_DIR/router.log"
export MOON_I2P_ROUTER_PID="$ROUTER_PID"
export MOON_I2P_ROUTER_BIN="$ROUTER_BIN"
export MOON_I2P_PROXY_HOST=127.0.0.1
export MOON_I2P_PROXY_PORT="$PROXY_PORT"
export MOON_I2P_API_HOST=127.0.0.1
export MOON_I2P_API_PORT="$API_PORT"
export MOON_I2P_SAM_PORT="$SAM_PORT"
export MOON_I2P_DOWNLOAD_DIR="$DOWNLOAD_DIR"
"$APPDIR/usr/lib/firefox/firefox" \