From 1be3480003881ceacfb0ace5f436e1f61e9d69a9 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Wed, 25 Feb 2026 18:59:59 +0000 Subject: [PATCH] feat: simplify generated TORCH dashboard link Update `createDashboardLinkFile` in `src/ops.mjs` to generate a dashboard URL that only includes the `hashtag` parameter, as requested. This simplifies the link shared in `TORCH_DASHBOARD.md` and aligns with the expected format. Test: Verified with reproduction script and existing `test/ops.test.mjs`. Co-authored-by: PR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> --- src/ops.mjs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ops.mjs b/src/ops.mjs index b14e201..5090091 100644 --- a/src/ops.mjs +++ b/src/ops.mjs @@ -502,8 +502,7 @@ export async function cmdInit(force = false, cwd = process.cwd(), mockAnswers = * @returns {string} - The generated URL. */ function createDashboardLinkFile(paths, namespace, relays, hashtag) { - const encodedRelays = relays.map(r => encodeURIComponent(r)).join('%2C'); - const dashboardUrl = `https://torch.thepr0m3th3an.net/dashboard/?hashtag=${hashtag}&namespace=${namespace}&relays=${encodedRelays}`; + const dashboardUrl = `https://torch.thepr0m3th3an.net/dashboard/?hashtag=${hashtag}`; const content = `# TORCH Dashboard