From b002963cf9ed533f4da3f945659e59abfcbfef0f Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Thu, 19 Feb 2026 20:16:16 +0000 Subject: [PATCH] feat: Enable Claude Code CLI option on landing page and add dynamic prompt selection Co-authored-by: PR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> --- landing/index.html | 41 +++++++++++++++++++++++++++++++++-------- 1 file changed, 33 insertions(+), 8 deletions(-) diff --git a/landing/index.html b/landing/index.html index a858269..7517a58 100644 --- a/landing/index.html +++ b/landing/index.html @@ -793,15 +793,15 @@

Choose Your Agent

- +
Jules Active
-

Optimized for Google's latest coding agent. Click to learn more.

-
+

Optimized for Google's latest coding agent. Learn more.

+
-
+
Codex Coming Soon @@ -809,12 +809,12 @@

Advanced reasoning for complex tasks.

-
+
- Claude - Coming Soon + Claude Code CLI + Active
-

Long-context understanding and safety.

+

Long-context understanding and safety. (CLI Required)

@@ -1355,6 +1355,31 @@ npm install https://github.com/PR0M3TH3AN/TORCH/archive/refs/heads/main.tar.gz & .replace(/"/g, """) .replace(/'/g, "'"); } + + function selectAgent(agent) { + // Remove active class from all cards + document.querySelectorAll('.agent-card').forEach(card => card.classList.remove('active')); + + // Add active class to selected card + const selectedCard = document.getElementById('card-' + agent); + if (selectedCard) { + selectedCard.classList.add('active'); + } + + // Update prompt text + const installCmd = document.getElementById('install-cmd'); + let promptText = ''; + + if (agent === 'jules') { + promptText = "Hey Jules, can you install and setup TORCH into this repo? Here is the install command:\n\nnpm install https://github.com/PR0M3TH3AN/TORCH/archive/refs/heads/main.tar.gz && npx torch-lock init"; + } else if (agent === 'claude') { + promptText = "Hey Claude, can you install and setup TORCH into this repo? Here is the install command:\n\nnpm install https://github.com/PR0M3TH3AN/TORCH/archive/refs/heads/main.tar.gz && npx torch-lock init"; + } + + if (installCmd) { + installCmd.textContent = promptText; + } + }