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 <[email protected]>
This commit is contained in:
google-labs-jules[bot]andPR0M3TH3AN committed 2026-02-25 18:59:59 +00:00
1 parent 46bed2a75b
commit 1be3480003
1 file changed
+1 -2
+1 -2
View File
@@ -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