From 5a35b0ffefa87f2441bfd3a3d3a1f839c849284e Mon Sep 17 00:00:00 2001 From: Roomote Date: Fri, 15 May 2026 21:25:00 +0000 Subject: [PATCH 1/5] docs: update Zoo Code repo references --- docs/providers/index.mdx | 6 +++--- src/components/GitHubInstallButtons/index.tsx | 13 +++++++++---- src/components/ProviderTable/index.tsx | 4 ++-- src/constants.ts | 6 ++++-- 4 files changed, 18 insertions(+), 11 deletions(-) diff --git a/docs/providers/index.mdx b/docs/providers/index.mdx index 0affa308..a8c7201b 100644 --- a/docs/providers/index.mdx +++ b/docs/providers/index.mdx @@ -1,6 +1,6 @@ --- title: Model Providers -description: Compare all available model providers for Zoo Code. See which providers work with the VS Code extension and Zoo Code Cloud Agents at a glance. +description: Compare all available model providers for Zoo Code. See which providers work with the VS Code extension and Zoo Code Cloud at a glance. keywords: - model providers - API providers @@ -13,11 +13,11 @@ import ProviderTable from '@site/src/components/ProviderTable'; # Model Providers -The Zoo Code VS Code extension and Zoo Code Cloud Agents are highly capable, sophisticated coding agents. While they carry a lot of functionality on their own, they depend on LLM providers to offer the inference needed to complete tasks. +The Zoo Code VS Code extension and Zoo Code Cloud support a wide range of coding workflows, but they still depend on LLM providers to supply the inference needed to complete tasks. Other tools are intinsically bound by design to a specific provider (like Claude Code → Anthropic Models or Codex → OpenAI models), forcing you to stick with them irrespective of how the landscape changes (which happens fast). Zoo on the other hand is **model-agnostic**, allowing you to choose the model that best fits your needs, according to your budget, skill profile, codebase and more. -We support connecting to a wide range of model providers, giving you flexibility in how you access AI models. Some providers work with the VS Code extension, while others are available through Zoo Code Cloud Agents. +We support connecting to a wide range of model providers, giving you flexibility in how you access AI models. Some providers work with the VS Code extension, while others are available through Zoo Code Cloud. Learn how to set up your provider in [the Zoo Code VS Code extension here](/getting-started/connecting-api-provider). diff --git a/src/components/GitHubInstallButtons/index.tsx b/src/components/GitHubInstallButtons/index.tsx index f86c77da..f1918091 100644 --- a/src/components/GitHubInstallButtons/index.tsx +++ b/src/components/GitHubInstallButtons/index.tsx @@ -1,15 +1,20 @@ import React, { useState, useEffect } from 'react'; import { RxGithubLogo } from "react-icons/rx"; import { VscVscode } from "react-icons/vsc"; -import { GITHUB_MAIN_REPO_URL, SIGN_IN_URL, SIGN_UP_URL, VSCODE_MARKETPLACE_URL } from '@site/src/constants'; +import { GITHUB_MAIN_REPO_SLUG, GITHUB_MAIN_REPO_URL, VSCODE_MARKETPLACE_URL } from '@site/src/constants'; import styles from './styles.module.css'; // Number formatting function function formatNumber(num: number): string { + if (num < 1000) { + return num.toLocaleString(); + } + if (num >= 1000000) { const truncated = Math.floor((num / 1000000) * 10) / 10; return truncated.toFixed(1) + "M"; } + const truncated = Math.floor((num / 1000) * 10) / 10; return truncated.toFixed(1) + "k"; } @@ -17,7 +22,7 @@ function formatNumber(num: number): string { // GitHub Stars API async function getGitHubStars() { try { - const res = await fetch("https://api.github.com/repos/RooCodeInc/Roo-Code"); + const res = await fetch(`https://api.github.com/repos/${GITHUB_MAIN_REPO_SLUG}`); const data = await res.json(); if (typeof data.stargazers_count !== "number") { @@ -78,7 +83,7 @@ async function getVSCodeDownloads() { } export default function GitHubInstallButtons(): React.JSX.Element { - const [stars, setStars] = useState("15.4k"); + const [stars, setStars] = useState(null); const [downloads, setDownloads] = useState("574.1k"); useEffect(() => { @@ -122,4 +127,4 @@ export default function GitHubInstallButtons(): React.JSX.Element { ); -} \ No newline at end of file +} diff --git a/src/components/ProviderTable/index.tsx b/src/components/ProviderTable/index.tsx index 501f476a..071f0bbf 100644 --- a/src/components/ProviderTable/index.tsx +++ b/src/components/ProviderTable/index.tsx @@ -47,7 +47,7 @@ export default function ProviderTable(): React.JSX.Element { Provider VS Code Extension - Cloud Agents + Zoo Code Cloud @@ -63,4 +63,4 @@ export default function ProviderTable(): React.JSX.Element { ); -} \ No newline at end of file +} diff --git a/src/constants.ts b/src/constants.ts index c0cbee9f..18bd8f6e 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -3,7 +3,8 @@ */ // GitHub repository information -export const GITHUB_REPO_URL = 'https://github.com/Zoo-Code-Org/Zoo-Code-Docs'; +export const GITHUB_REPO_SLUG = 'Zoo-Code-Org/Zoo-Code-Docs'; +export const GITHUB_REPO_URL = `https://github.com/${GITHUB_REPO_SLUG}`; export const GITHUB_ISSUES_URL = `${GITHUB_REPO_URL}/issues`; export const GITHUB_NEW_ISSUE_URL = `${GITHUB_ISSUES_URL}/new`; @@ -14,7 +15,8 @@ export const TWITTER_URL = 'https://x.com/ZooCodeDev'; export const LINKEDIN_URL = 'https://www.linkedin.com'; // GitHub links -export const GITHUB_MAIN_REPO_URL = 'https://github.com/Zoo-Code-Org/Zoo-Code'; +export const GITHUB_MAIN_REPO_SLUG = 'Zoo-Code-Org/Zoo-Code'; +export const GITHUB_MAIN_REPO_URL = `https://github.com/${GITHUB_MAIN_REPO_SLUG}`; export const GITHUB_ISSUES_MAIN_URL = `${GITHUB_MAIN_REPO_URL}/issues`; export const GITHUB_FEATURES_URL = `${GITHUB_MAIN_REPO_URL}/discussions/categories/feature-requests?discussions_q=is%3Aopen+category%3A%22Feature+Requests%22+sort%3Atop`; From 9056e957230781bbb374821b5ffda98dfc15bdb3 Mon Sep 17 00:00:00 2001 From: Roomote Date: Sun, 17 May 2026 04:42:18 +0000 Subject: [PATCH 2/5] docs: keep only GitHub repo star fix --- docs/providers/index.mdx | 6 +++--- src/components/ProviderTable/index.tsx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/providers/index.mdx b/docs/providers/index.mdx index a8c7201b..0affa308 100644 --- a/docs/providers/index.mdx +++ b/docs/providers/index.mdx @@ -1,6 +1,6 @@ --- title: Model Providers -description: Compare all available model providers for Zoo Code. See which providers work with the VS Code extension and Zoo Code Cloud at a glance. +description: Compare all available model providers for Zoo Code. See which providers work with the VS Code extension and Zoo Code Cloud Agents at a glance. keywords: - model providers - API providers @@ -13,11 +13,11 @@ import ProviderTable from '@site/src/components/ProviderTable'; # Model Providers -The Zoo Code VS Code extension and Zoo Code Cloud support a wide range of coding workflows, but they still depend on LLM providers to supply the inference needed to complete tasks. +The Zoo Code VS Code extension and Zoo Code Cloud Agents are highly capable, sophisticated coding agents. While they carry a lot of functionality on their own, they depend on LLM providers to offer the inference needed to complete tasks. Other tools are intinsically bound by design to a specific provider (like Claude Code → Anthropic Models or Codex → OpenAI models), forcing you to stick with them irrespective of how the landscape changes (which happens fast). Zoo on the other hand is **model-agnostic**, allowing you to choose the model that best fits your needs, according to your budget, skill profile, codebase and more. -We support connecting to a wide range of model providers, giving you flexibility in how you access AI models. Some providers work with the VS Code extension, while others are available through Zoo Code Cloud. +We support connecting to a wide range of model providers, giving you flexibility in how you access AI models. Some providers work with the VS Code extension, while others are available through Zoo Code Cloud Agents. Learn how to set up your provider in [the Zoo Code VS Code extension here](/getting-started/connecting-api-provider). diff --git a/src/components/ProviderTable/index.tsx b/src/components/ProviderTable/index.tsx index 071f0bbf..39e34967 100644 --- a/src/components/ProviderTable/index.tsx +++ b/src/components/ProviderTable/index.tsx @@ -47,7 +47,7 @@ export default function ProviderTable(): React.JSX.Element { Provider VS Code Extension - Zoo Code Cloud + Cloud Agents From ee3e42d2c61c40f6297783dab100014ddf1a30b1 Mon Sep 17 00:00:00 2001 From: Roomote Date: Sun, 17 May 2026 04:43:09 +0000 Subject: [PATCH 3/5] chore: trim newline-only diff noise --- src/components/GitHubInstallButtons/index.tsx | 2 +- src/components/ProviderTable/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/GitHubInstallButtons/index.tsx b/src/components/GitHubInstallButtons/index.tsx index f1918091..0db07ab6 100644 --- a/src/components/GitHubInstallButtons/index.tsx +++ b/src/components/GitHubInstallButtons/index.tsx @@ -127,4 +127,4 @@ export default function GitHubInstallButtons(): React.JSX.Element { ); -} +} \ No newline at end of file diff --git a/src/components/ProviderTable/index.tsx b/src/components/ProviderTable/index.tsx index 39e34967..501f476a 100644 --- a/src/components/ProviderTable/index.tsx +++ b/src/components/ProviderTable/index.tsx @@ -63,4 +63,4 @@ export default function ProviderTable(): React.JSX.Element { ); -} +} \ No newline at end of file From 5db3afbbdb4e401ef1c0214912736523bbcc28c1 Mon Sep 17 00:00:00 2001 From: Roomote Date: Sun, 17 May 2026 04:51:06 +0000 Subject: [PATCH 4/5] fix: align docs install count with Zoo Code marketplace --- src/components/GitHubInstallButtons/index.tsx | 18 ++++++++++++------ src/constants.ts | 2 ++ 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/src/components/GitHubInstallButtons/index.tsx b/src/components/GitHubInstallButtons/index.tsx index 0db07ab6..d7c3761b 100644 --- a/src/components/GitHubInstallButtons/index.tsx +++ b/src/components/GitHubInstallButtons/index.tsx @@ -1,12 +1,18 @@ import React, { useState, useEffect } from 'react'; import { RxGithubLogo } from "react-icons/rx"; import { VscVscode } from "react-icons/vsc"; -import { GITHUB_MAIN_REPO_SLUG, GITHUB_MAIN_REPO_URL, VSCODE_MARKETPLACE_URL } from '@site/src/constants'; +import { + GITHUB_MAIN_REPO_SLUG, + GITHUB_MAIN_REPO_URL, + VSCODE_MARKETPLACE_EXTENSION_ID, + VSCODE_MARKETPLACE_INSTALLS_FALLBACK, + VSCODE_MARKETPLACE_URL, +} from '@site/src/constants'; import styles from './styles.module.css'; // Number formatting function function formatNumber(num: number): string { - if (num < 1000) { + if (num < 10000) { return num.toLocaleString(); } @@ -52,7 +58,7 @@ async function getVSCodeDownloads() { criteria: [ { filterType: 7, - value: "RooVeterinaryInc.roo-cline", + value: VSCODE_MARKETPLACE_EXTENSION_ID, }, ], }, @@ -75,7 +81,7 @@ async function getVSCodeDownloads() { return null; } - return formatNumber(installStat.value); + return installStat.value; } catch (error) { console.error("Error fetching VSCode downloads:", error); return null; @@ -84,7 +90,7 @@ async function getVSCodeDownloads() { export default function GitHubInstallButtons(): React.JSX.Element { const [stars, setStars] = useState(null); - const [downloads, setDownloads] = useState("574.1k"); + const [downloads, setDownloads] = useState(formatNumber(VSCODE_MARKETPLACE_INSTALLS_FALLBACK)); useEffect(() => { // Fetch live data @@ -93,7 +99,7 @@ export default function GitHubInstallButtons(): React.JSX.Element { }); getVSCodeDownloads().then(count => { - if (count) setDownloads(count); + if (count) setDownloads(formatNumber(Math.max(count, VSCODE_MARKETPLACE_INSTALLS_FALLBACK))); }); }, []); diff --git a/src/constants.ts b/src/constants.ts index 18bd8f6e..9f569c4c 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -21,6 +21,8 @@ export const GITHUB_ISSUES_MAIN_URL = `${GITHUB_MAIN_REPO_URL}/issues`; export const GITHUB_FEATURES_URL = `${GITHUB_MAIN_REPO_URL}/discussions/categories/feature-requests?discussions_q=is%3Aopen+category%3A%22Feature+Requests%22+sort%3Atop`; // Download links +export const VSCODE_MARKETPLACE_EXTENSION_ID = 'ZooCodeOrganization.zoo-code'; +export const VSCODE_MARKETPLACE_INSTALLS_FALLBACK = 1814; export const VSCODE_MARKETPLACE_URL = 'https://marketplace.visualstudio.com/items?itemName=ZooCodeOrganization.zoo-code'; export const OPEN_VSX_URL = 'https://open-vsx.org/extension/ZooCodeOrganization.zoo-code'; From b83fad307a3638819497c9c4f3deddb595555ab2 Mon Sep 17 00:00:00 2001 From: Roomote Date: Sun, 17 May 2026 04:58:09 +0000 Subject: [PATCH 5/5] fix: remove static vscode install fallback --- src/components/GitHubInstallButtons/index.tsx | 7 +++---- src/constants.ts | 1 - 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/components/GitHubInstallButtons/index.tsx b/src/components/GitHubInstallButtons/index.tsx index d7c3761b..25c59244 100644 --- a/src/components/GitHubInstallButtons/index.tsx +++ b/src/components/GitHubInstallButtons/index.tsx @@ -5,7 +5,6 @@ import { GITHUB_MAIN_REPO_SLUG, GITHUB_MAIN_REPO_URL, VSCODE_MARKETPLACE_EXTENSION_ID, - VSCODE_MARKETPLACE_INSTALLS_FALLBACK, VSCODE_MARKETPLACE_URL, } from '@site/src/constants'; import styles from './styles.module.css'; @@ -90,7 +89,7 @@ async function getVSCodeDownloads() { export default function GitHubInstallButtons(): React.JSX.Element { const [stars, setStars] = useState(null); - const [downloads, setDownloads] = useState(formatNumber(VSCODE_MARKETPLACE_INSTALLS_FALLBACK)); + const [downloads, setDownloads] = useState(null); useEffect(() => { // Fetch live data @@ -99,7 +98,7 @@ export default function GitHubInstallButtons(): React.JSX.Element { }); getVSCodeDownloads().then(count => { - if (count) setDownloads(formatNumber(Math.max(count, VSCODE_MARKETPLACE_INSTALLS_FALLBACK))); + if (count) setDownloads(formatNumber(count)); }); }, []); @@ -133,4 +132,4 @@ export default function GitHubInstallButtons(): React.JSX.Element { ); -} \ No newline at end of file +} diff --git a/src/constants.ts b/src/constants.ts index 9f569c4c..bb2a29cb 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -22,7 +22,6 @@ export const GITHUB_FEATURES_URL = `${GITHUB_MAIN_REPO_URL}/discussions/categori // Download links export const VSCODE_MARKETPLACE_EXTENSION_ID = 'ZooCodeOrganization.zoo-code'; -export const VSCODE_MARKETPLACE_INSTALLS_FALLBACK = 1814; export const VSCODE_MARKETPLACE_URL = 'https://marketplace.visualstudio.com/items?itemName=ZooCodeOrganization.zoo-code'; export const OPEN_VSX_URL = 'https://open-vsx.org/extension/ZooCodeOrganization.zoo-code';