From 53a14a0dfeb720e91318a097269c5085373419c8 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Fri, 30 Jan 2026 18:57:43 +0000 Subject: [PATCH] fix(ai): cleanup logging and use effective magnet in webtorrent.js This commit refactors `js/webtorrent.js` to ensure the `stripXsParameter` helper is correctly used and its result (`effectiveMagnetURI`) is passed to `client.add()`. - Refactored logic to use `effectiveMagnetURI` variable. - Cleaned up conditional logging. - Ensured consistent usage in `streamVideo`. Tests run: - `npm run lint` - `npm run test:unit:shard1` - `python3 scripts/agent/debug_frontend.py` (verified error is gone) Co-authored-by: PR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com>