Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
5 changes: 4 additions & 1 deletion .claude-plugin/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@
<img src="docs/banner-light.png" alt="browsergnome — the autonomous JS web performance engineer">
</picture>

[![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)
<!-- npm version / downloads: uncomment once published — not on npm yet, see Install.
[![npm version](https://img.shields.io/npm/v/browsergnome?color=E45FD8)](https://www.npmjs.com/package/browsergnome)
[![npm downloads](https://img.shields.io/npm/dm/browsergnome?color=5b6472)](https://www.npmjs.com/package/browsergnome)
-->
<!-- Release: uncomment once a v0.1.0 tag + GitHub release exist.
[![Release](https://img.shields.io/github/v/release/xavi-999/browsergnome?color=E45FD8)](https://github.com/xavi-999/browsergnome/releases)
[![Release](https://img.shields.io/github/v/release/uphold/browsergnome?color=E45FD8)](https://github.com/uphold/browsergnome/releases)
-->

> **The autonomous JS web performance engineer.** `/browsergnome`: one command turns scattered
Expand Down Expand Up @@ -58,13 +58,13 @@ chunk nodes. Solid = measured directly from the trace; translucent = apportioned
</tr>
</table>

▶ [**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
```

Expand All @@ -78,7 +78,7 @@ Then, from inside a Claude Code session with the plugin loaded, run `/browsergno
<summary>Or clone it directly (not published to npm yet, so no <code>npx browsergnome@latest</code> fallback)</summary>

```bash
git clone https://github.com/xavi-999/browsergnome.git
git clone https://github.com/uphold/browsergnome.git
cd browsergnome
npm install
```
Expand All @@ -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 <path-to-a-web-repo>
Expand Down
4 changes: 2 additions & 2 deletions docs/pages/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
<span class="word">browser<b>g</b>nome</span>
</a>
<nav>
<a href="https://github.com/xavi-999/browsergnome">GitHub</a>
<a href="https://github.com/uphold/browsergnome">GitHub</a>
</nav>
</div>
</header>
Expand Down Expand Up @@ -156,7 +156,7 @@ <h1>The autonomous <b>JS web performance</b> engineer.</h1>
<footer>
<div class="wrap foot">
<span>built __BUILD_DATE__ · excalidraw @ __EXCALIDRAW_SHA__</span>
<a href="https://github.com/xavi-999/browsergnome/blob/master/LICENSE">MIT License</a>
<a href="https://github.com/uphold/browsergnome/blob/master/LICENSE">MIT License</a>
</div>
</footer>

Expand Down
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
4 changes: 2 additions & 2 deletions templates/ci/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion templates/ci/browsergnome-autopilot-browser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions templates/ci/browsergnome-autopilot-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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).
#
Expand Down Expand Up @@ -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=$(...))
Expand Down
Loading