diff --git a/llms-install.md b/llms-install.md index b0f28083..8c6911b0 100644 --- a/llms-install.md +++ b/llms-install.md @@ -41,7 +41,7 @@ use the lines below) and it prints the exact lines for the framework. Show the u before you run or add them. In general (the version this release of the server was tested with): ```bash -npm install @genclass/runtime@0.3.0-beta.6 +npm install @genclass/runtime@0.3.0-beta.7 ``` In the app's browser entry (for Vite `src/main.ts` or `src/main.tsx`; for Next.js a client component loaded once from @@ -78,7 +78,7 @@ and sends anonymous diagnostics from public hosts by default (`GenClass.init({ t Ask for `genclass_findings` after reproducing a bug, `genclass_explore` after changing code that fetches or submits, `genclass_replay` to confirm a bug before fixing it and its fix after, and `genclass_scan {url}` to audit a page for visual bugs before calling a UI change done (it needs Playwright's Chromium: `npx playwright install chromium`, with `npm i -D playwright` first if the project has -no Playwright, after the user says yes; the same audit from a terminal is `npx @genclass/runtime@0.3.0-beta.6 scan --local`). When the +no Playwright, after the user says yes; the same audit from a terminal is `npx @genclass/runtime@0.3.0-beta.7 scan --local`). When the user only asked what broke, wait for a yes before writing a fix or a test. The server's instructions and each tool's description say when to use what; the procedure (explore arguments, how to read a report, what to say when done) is the `genclass` skill: `npx -y @genclass/mcp@0.2.2 init` writes it to `.claude/skills/genclass/SKILL.md` for Claude diff --git a/package-lock.json b/package-lock.json index 4ad60021..dc9bce49 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16984,7 +16984,7 @@ }, "packages/runtime": { "name": "@genclass/runtime", - "version": "0.3.0-beta.6", + "version": "0.3.0-beta.7", "license": "Apache-2.0", "dependencies": { "onnxruntime-web": "1.30.0" diff --git a/packages/mcp/README.md b/packages/mcp/README.md index 34d6cded..d02fcf95 100644 --- a/packages/mcp/README.md +++ b/packages/mcp/README.md @@ -308,7 +308,7 @@ To remove it: delete `.claude/skills/genclass/` (or the directory the skill tool `/plugin uninstall genclass@genclass`. Then connect the app's development build (once). The agent link needs the newest runtime line, `@genclass/runtime` -0.3.0-beta.1 or later: `npm install @genclass/runtime@0.3.0-beta.6`, the version this release was tested with (npm's +0.3.0-beta.1 or later: `npm install @genclass/runtime@0.3.0-beta.7`, the version this release was tested with (npm's `latest` is the older 0.2.x, which has no agent entry): ```ts @@ -365,7 +365,7 @@ both slow baselines show and it does not is named as what a slow response alone | `genclass_replay` | `arm` / `result`: reproduce one finding exactly | | `genclass_analytics` | per-endpoint latency, error rates and request counts, learned relations and flows; production numbers from your GenClass dashboard | | `genclass_setup` | the lines to add for your framework, and the config lines for the client it runs in | -| `genclass_scan` | `{url, phone?, hosted?}`: audit any page (the dev server or a site you do not own) with the 23 measured visual checks in headless Chromium: a score and each problem with its element, selector and a suggested CSS fix, plus the JSON report. Runs `npx @genclass/runtime@0.3.0-beta.6 scan --json --local` (or the project's own runtime); needs Playwright's Chromium (`npx playwright install chromium`), or `hosted: true` for the genclass.dev page check (public pages only, the URL is sent there); the agent asks before either | +| `genclass_scan` | `{url, phone?, hosted?}`: audit any page (the dev server or a site you do not own) with the 23 measured visual checks in headless Chromium: a score and each problem with its element, selector and a suggested CSS fix, plus the JSON report. Runs `npx @genclass/runtime@0.3.0-beta.7 scan --json --local` (or the project's own runtime); needs Playwright's Chromium (`npx playwright install chromium`), or `hosted: true` for the genclass.dev page check (public pages only, the URL is sent there); the agent asks before either | | `genclass_clear` | forget recorded runs and findings | ## New findings without asking @@ -405,7 +405,7 @@ By default the server collects nothing and sends nothing to GenClass or anyone e `~/.genclass`. `genclass_analytics` `{source: "production"}` reads your own GenClass dashboard when you set `GENCLASS_DASHBOARD` to its private link. `genclass_scan` loads the page the agent names (that is the page's own traffic) in a local browser; only with `hosted: true` is the URL sent to the -genclass.dev page check, and when the project has no `@genclass/runtime` with `scan`, npx downloads the version this release pins, `@genclass/runtime@0.3.0-beta.6`, from npm. With `GENCLASS_REPORT` set (off by +genclass.dev page check, and when the project has no `@genclass/runtime` with `scan`, npx downloads the version this release pins, `@genclass/runtime@0.3.0-beta.7`, from npm. With `GENCLASS_REPORT` set (off by default) the server also mirrors its log of the loop to that dashboard, in small batches: the id, kind and page path of each finding, when its evidence was read, each replay armed and its verdict, when a regression test was written, each explore report (page loads compared, races found) and each clear, so the dashboard's Closed-loop development view diff --git a/packages/mcp/plugin/README.md b/packages/mcp/plugin/README.md index b81adf57..3c7a52a9 100644 --- a/packages/mcp/plugin/README.md +++ b/packages/mcp/plugin/README.md @@ -20,7 +20,7 @@ The skill alone, in any agent the skills CLI knows: `npx skills add genclass-dev `gh skill install genclass-dev/genclass-plugin genclass`. Then connect your app's development build and load a page of the dev server. `genclass_setup` prints the install line -(`npm install @genclass/runtime@0.3.0-beta.6`, the version this release was tested with; the page side needs 0.3.0-beta.1 +(`npm install @genclass/runtime@0.3.0-beta.7`, the version this release was tested with; the page side needs 0.3.0-beta.1 or later) and the lines for your framework, behind a development check. See the [package README](https://github.com/genclass-dev/GenClass/blob/main/packages/mcp/README.md). @@ -63,7 +63,7 @@ for it: `genclass_analytics` `{source: "production"}` reads your own GenClass da `GENCLASS_DASHBOARD` to its link; `genclass_scan` with `hosted: true` sends the URL to the genclass.dev page check (without it, the page loads in a local headless browser); and `GENCLASS_REPORT`, off by default, mirrors finding ids, kinds, page paths, replay verdicts and counts to that dashboard, never titles or page text. When the project has no -`@genclass/runtime`, `genclass_scan` downloads the version this release pins, `@genclass/runtime@0.3.0-beta.6`, from npm +`@genclass/runtime`, `genclass_scan` downloads the version this release pins, `@genclass/runtime@0.3.0-beta.7`, from npm through npx. Details: [AGENT.md section 6](https://github.com/genclass-dev/GenClass/blob/main/docs/runtime/AGENT.md#6-untrusted-input-and-security). diff --git a/packages/mcp/plugin/skills/genclass/SKILL.md b/packages/mcp/plugin/skills/genclass/SKILL.md index 59860df8..b3ebcc3b 100644 --- a/packages/mcp/plugin/skills/genclass/SKILL.md +++ b/packages/mcp/plugin/skills/genclass/SKILL.md @@ -91,7 +91,7 @@ them, show the user the line and wait for a yes before running it: - Add the server and restart the client. Claude Code: `claude mcp add genclass -- npx -y @genclass/mcp@0.2.2` (other clients: `npx -y @genclass/mcp@0.2.2 config ` prints their lines). -- For the visual checks alone, no server needed: `npx @genclass/runtime@0.3.0-beta.6 scan --json --local` in a +- For the visual checks alone, no server needed: `npx @genclass/runtime@0.3.0-beta.7 scan --json --local` in a terminal (`--local`: without Playwright's Chromium it stops instead of sending the URL to the genclass.dev page check). - In a chat app with no terminal on that machine, say so and give the developer the install line; GenClass cannot run there. diff --git a/packages/mcp/src/clients.ts b/packages/mcp/src/clients.ts index fdc25dc1..73857484 100644 --- a/packages/mcp/src/clients.ts +++ b/packages/mcp/src/clients.ts @@ -15,7 +15,7 @@ export const NAME = "genclass"; * skill, llms-install.md, the READMEs) names this version, the way a script tag does, so whoever reads a commit knows what * runs. It is the newest runtime line at release; only the runtime's own docs, for people, keep that line's npm tag. */ -export const RUNTIME_VERSION = "0.3.0-beta.6"; +export const RUNTIME_VERSION = "0.3.0-beta.7"; /** `@genclass/mcp@`: what npx runs. */ export function pinned(version: string): string { diff --git a/packages/runtime/CHANGELOG.md b/packages/runtime/CHANGELOG.md index 509314f7..316a409b 100644 --- a/packages/runtime/CHANGELOG.md +++ b/packages/runtime/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## Unreleased +## 0.3.0-beta.7 (2026-11-16) - **`init` no longer adds the devtools overlay** (owner, 2026-11-16: nothing GenClass sets up is drawn on a page; findings go to the console, the dashboard and the terminal). The overlay is opt-in: `init --devtools` adds the diff --git a/packages/runtime/package.json b/packages/runtime/package.json index 7f0e35c7..50ddc6cb 100644 --- a/packages/runtime/package.json +++ b/packages/runtime/package.json @@ -1,6 +1,6 @@ { "name": "@genclass/runtime", - "version": "0.3.0-beta.6", + "version": "0.3.0-beta.7", "description": "Browser library that reports race conditions in web apps while they happen (stale responses, double submits, inconsistent state, failure storms) using a small on-device model. Report-only by default; an opt-in guard mode can prevent a few of them.", "type": "module", "license": "Apache-2.0", diff --git a/packages/runtime/src/version.ts b/packages/runtime/src/version.ts index c6e14e88..c87a9f22 100644 --- a/packages/runtime/src/version.ts +++ b/packages/runtime/src/version.ts @@ -2,4 +2,4 @@ // test/telemetry.test.ts ("RUNTIME_VERSION matches package.json"); bump both together: .github/workflows/release.yml // checks that the v tag equals package.json and that this file holds the same string. -export const RUNTIME_VERSION = "0.3.0-beta.6"; +export const RUNTIME_VERSION = "0.3.0-beta.7"; diff --git a/skills/genclass/SKILL.md b/skills/genclass/SKILL.md index 59860df8..b3ebcc3b 100644 --- a/skills/genclass/SKILL.md +++ b/skills/genclass/SKILL.md @@ -91,7 +91,7 @@ them, show the user the line and wait for a yes before running it: - Add the server and restart the client. Claude Code: `claude mcp add genclass -- npx -y @genclass/mcp@0.2.2` (other clients: `npx -y @genclass/mcp@0.2.2 config ` prints their lines). -- For the visual checks alone, no server needed: `npx @genclass/runtime@0.3.0-beta.6 scan --json --local` in a +- For the visual checks alone, no server needed: `npx @genclass/runtime@0.3.0-beta.7 scan --json --local` in a terminal (`--local`: without Playwright's Chromium it stops instead of sending the URL to the genclass.dev page check). - In a chat app with no terminal on that machine, say so and give the developer the install line; GenClass cannot run there.