diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index 3f69fe0..7f0646d 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -15,6 +15,8 @@ "name": "Xavier", "email": "xavi-999@users.noreply.github.com" }, + "homepage": "https://uphold.github.io/browsergnome/", + "repository": "https://github.com/uphold/browsergnome", "license": "MIT", "keywords": [ "web", diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json index ff560b8..ba93176 100644 --- a/.claude-plugin/plugin.json +++ b/.claude-plugin/plugin.json @@ -5,8 +5,11 @@ "description": "The autonomous JS web performance engineer. Orchestrates chrome-devtools-mcp into one propose → measure → keep/revert loop — with an LCP Attribution Map, a live HTML run report, configurable commit mode, and per-repo performance memory.", "author": { "name": "Xavier", - "email": "xavi-999@users.noreply.github.com" + "email": "xavi-999@users.noreply.github.com", + "url": "https://github.com/xavi-999" }, + "homepage": "https://uphold.github.io/browsergnome/", + "repository": "https://github.com/uphold/browsergnome", "license": "MIT", "keywords": [ "claude-code", diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 195c4c9..7a266d7 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -1,6 +1,6 @@ # GitHub Pages live demo. # -# Builds the public demo at https://xavi-999.github.io/browsergnome/ : +# Builds the public demo at https://uphold.github.io/browsergnome/ : # - perf-map.html — a REAL static scan of excalidraw at a pinned SHA (the same commit # recorded in references/perf-map.md's calibration note — 527 modules, 16 hotspots). # - lcp-map.html — a REAL LCP attribution from the shipped trace fixture diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index eccad7c..6fb6b57 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -8,7 +8,7 @@ also goes unanswered, escalate to the `uphold` org owners. ## Setup ```bash -git clone https://github.com/xavi-999/browsergnome +git clone https://github.com/uphold/browsergnome cd browsergnome npm install # @babel/parser + @babel/traverse, used only by perf_scan.mjs ``` diff --git a/README.md b/README.md index fdcadac..e30f8d4 100644 --- a/README.md +++ b/README.md @@ -3,19 +3,19 @@ browsergnome — the autonomous JS web performance engineer -[![CI](https://github.com/xavi-999/browsergnome/actions/workflows/ci.yml/badge.svg)](https://github.com/xavi-999/browsergnome/actions/workflows/ci.yml) +[![CI](https://github.com/uphold/browsergnome/actions/workflows/ci.yml/badge.svg)](https://github.com/uphold/browsergnome/actions/workflows/ci.yml) [![License: MIT](https://img.shields.io/badge/license-MIT-5b6472)](LICENSE) -[![Stars](https://img.shields.io/github/stars/xavi-999/browsergnome?color=E45FD8)](https://github.com/xavi-999/browsergnome/stargazers) -[![Forks](https://img.shields.io/github/forks/xavi-999/browsergnome?color=5b6472)](https://github.com/xavi-999/browsergnome/network/members) -[![Issues](https://img.shields.io/github/issues/xavi-999/browsergnome?color=5b6472)](https://github.com/xavi-999/browsergnome/issues) -[![Live demo](https://img.shields.io/badge/demo-live-E45FD8)](https://xavi-999.github.io/browsergnome/) +[![Stars](https://img.shields.io/github/stars/uphold/browsergnome?color=E45FD8)](https://github.com/uphold/browsergnome/stargazers) +[![Forks](https://img.shields.io/github/forks/uphold/browsergnome?color=5b6472)](https://github.com/uphold/browsergnome/network/members) +[![Issues](https://img.shields.io/github/issues/uphold/browsergnome?color=5b6472)](https://github.com/uphold/browsergnome/issues) +[![Live demo](https://img.shields.io/badge/demo-live-E45FD8)](https://uphold.github.io/browsergnome/) [![Node >=18](https://img.shields.io/badge/node-%3E%3D18-5b6472)](package.json) > **The autonomous JS web performance engineer.** `/browsergnome`: one command turns scattered @@ -58,13 +58,13 @@ chunk nodes. Solid = measured directly from the trace; translucent = apportioned -▶ [**Explore both live**](https://xavi-999.github.io/browsergnome/) — same real scan, same real +▶ [**Explore both live**](https://uphold.github.io/browsergnome/) — same real scan, same real capture, plus the live run report. ## Install ``` -/plugin marketplace add xavi-999/browsergnome # or a local path to this repo +/plugin marketplace add uphold/browsergnome # or a local path to this repo /plugin install browsergnome ``` @@ -78,7 +78,7 @@ Then, from inside a Claude Code session with the plugin loaded, run `/browsergno Or clone it directly (not published to npm yet, so no npx browsergnome@latest fallback) ```bash -git clone https://github.com/xavi-999/browsergnome.git +git clone https://github.com/uphold/browsergnome.git cd browsergnome npm install ``` @@ -89,8 +89,8 @@ npm install ### Map your app (no browser needed) -→ See a real example first: [Perf Map 3D](https://xavi-999.github.io/browsergnome/perf-map.html) · -[LCP Attribution Map](https://xavi-999.github.io/browsergnome/lcp-map.html) +→ See a real example first: [Perf Map 3D](https://uphold.github.io/browsergnome/perf-map.html) · +[LCP Attribution Map](https://uphold.github.io/browsergnome/lcp-map.html) ``` /browsergnome scan diff --git a/docs/pages/index.html b/docs/pages/index.html index bcf3747..d8fb318 100644 --- a/docs/pages/index.html +++ b/docs/pages/index.html @@ -98,7 +98,7 @@ browsergnome @@ -156,7 +156,7 @@

The autonomous JS web performance engineer.

diff --git a/package.json b/package.json index bbd7dfb..3d743f3 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,18 @@ { "name": "browsergnome", - "version": "0.1.0", + "version": "0.2.1", "type": "module", "description": "The autonomous JS web performance engineer. Propose → measure → keep/revert loop, LCP Attribution Map, and per-repo performance memory.", "author": { "name": "Xavier", "email": "xavi-999@users.noreply.github.com" }, + "homepage": "https://github.com/uphold/browsergnome", + "repository": { + "type": "git", + "url": "git+https://github.com/uphold/browsergnome.git" + }, + "bugs": "https://github.com/uphold/browsergnome/issues", "license": "MIT", "engines": { "node": ">=18" diff --git a/templates/ci/README.md b/templates/ci/README.md index 89b95b3..d05830b 100644 --- a/templates/ci/README.md +++ b/templates/ci/README.md @@ -38,8 +38,8 @@ cp browsergnome-autopilot-build.yml .github/workflows/ # check "Allow GitHub Actions to create and approve pull requests" # 4. Edit the workflow — replace plugin_marketplaces URL -# Default: https://github.com/xavi-999/browsergnome.git -# Recommended: pin to a tag, e.g. https://github.com/xavi-999/browsergnome.git@v0.2.0 +# Default: https://github.com/uphold/browsergnome.git +# Recommended: pin to a tag, e.g. https://github.com/uphold/browsergnome.git@v0.2.0 # 5. Trigger manually to verify before the first scheduled run # GitHub repo -> Actions -> "browsergnome perf autopilot (weekly)" -> Run workflow diff --git a/templates/ci/browsergnome-autopilot-browser.yml b/templates/ci/browsergnome-autopilot-browser.yml index 976998a..15cbd95 100644 --- a/templates/ci/browsergnome-autopilot-browser.yml +++ b/templates/ci/browsergnome-autopilot-browser.yml @@ -92,7 +92,7 @@ jobs: with: anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} # Replace with the browsergnome fork/release you trust. - plugin_marketplaces: https://github.com/xavi-999/browsergnome.git + plugin_marketplaces: https://github.com/uphold/browsergnome.git plugins: browsergnome@browsergnome # chrome-devtools-mcp is bundled via the plugin's .mcp.json. CHROME_PATH (set in env: # below) is passed through in case chrome-devtools-mcp's underlying Puppeteer launcher diff --git a/templates/ci/browsergnome-autopilot-build.yml b/templates/ci/browsergnome-autopilot-build.yml index 06b2556..9ada8b9 100644 --- a/templates/ci/browsergnome-autopilot-build.yml +++ b/templates/ci/browsergnome-autopilot-build.yml @@ -9,7 +9,7 @@ name: browsergnome perf autopilot (weekly) # 3. Enable "Allow GitHub Actions to create and approve pull requests" in repo Settings -> # Actions -> General -> Workflow permissions. (Required for gh pr create to succeed.) # 4. Replace the plugin_marketplaces URL with the browsergnome release you trust. -# Pinning to a tag is recommended: https://github.com/xavi-999/browsergnome.git@v0.2.0 +# Pinning to a tag is recommended: https://github.com/uphold/browsergnome.git@v0.2.0 # 5. Tune cron, top_findings, max_iters, and optionally set vars.BROWSERGNOME_GOAL for a # fixed custom goal on every scheduled run (blank = weekly top-X default). # @@ -55,8 +55,8 @@ jobs: with: anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} # Replace with the browsergnome fork/release you trust. - # Pin to a tag in production: https://github.com/xavi-999/browsergnome.git@v0.2.0 - plugin_marketplaces: https://github.com/xavi-999/browsergnome.git + # Pin to a tag in production: https://github.com/uphold/browsergnome.git@v0.2.0 + plugin_marketplaces: https://github.com/uphold/browsergnome.git plugins: browsergnome@browsergnome # --allowedTools locks down what the agent may invoke. # Tighten per your security policy; shell variable assignments (RESULT=$(...))