werewolf-ui 0.1.0-alpha.3 → 0.1.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -223,7 +223,10 @@ styles/werewolf.css and the compiler's mapped component, lib and hooks folders.
223
223
  The app CSS input, seed and generated output must be separate files.
224
224
 
225
225
  Detection recognizes the two app-router CSS locations and the Vite src CSS
226
- location in the plan. Competing CSS files and lockfiles require explicit choices.
226
+ location in the plan. Any other React TypeScript project (no `next` or `vite`
227
+ dependency) runs as framework `react`, with its CSS found from `src/index.css`,
228
+ `src/styles.css`, `src/app.css`, `app/globals.css`, `src/app/globals.css` or
229
+ `app/app.css`, or chosen with `--css`. Competing CSS files and lockfiles require explicit choices.
227
230
  Workspace roots require selecting the app directory. Existing compiler aliases
228
231
  are read from JSON with comments, local relative extends and direct project
229
232
  references; they are never rewritten. External compiler extends, multiple
@@ -431,13 +434,14 @@ npm ci
431
434
  npm run build:cli
432
435
  npm pack --workspace werewolf-ui --pack-destination /absolute/path/to/output
433
436
  cd /absolute/path/to/consumer
434
- npm install /absolute/path/to/output/werewolf-ui-0.1.0-alpha.3.tgz --engine-strict
437
+ npm install /absolute/path/to/output/werewolf-ui-0.1.0-beta.0.tgz --engine-strict
435
438
  ```
436
439
 
437
- The supported alpha layouts are Next.js app-router (app or src/app) and Vite React
438
- TypeScript, with Node 20+, React 19, Tailwind CSS v4 and existing compiler aliases.
439
- The E3 consumer gate builds and packs locally, installs that exact tarball in
440
- isolated temporary apps, runs all five MCP tools, exercises init/add/theme and
440
+ The supported alpha layouts are Next.js app-router (app or src/app), Vite React
441
+ TypeScript and any other React TypeScript project, with Node 20+, React 19,
442
+ Tailwind CSS v4 and existing compiler aliases. Framework `react` is covered by
443
+ project detection tests only. The E3 consumer gate builds and packs locally,
444
+ installs that exact tarball in isolated temporary Next.js and Vite apps, runs all five MCP tools, exercises init/add/theme and
441
445
  lint/fix, builds each app and verifies rendered token classes, keyboard focus,
442
446
  dialog focus return and coarse-pointer sizes in a browser:
443
447
 
@@ -471,6 +475,6 @@ To launch the published package without installing it in the app, use the versio
471
475
 
472
476
  The client must have Node 20+ and npx on its PATH. If it cannot set cwd, launch node with the absolute installed node_modules/werewolf-ui/dist/cli.mjs path, mcp, --cwd and the app path as separate arguments. Wrappers vary by client. Init never changes client settings. This local config does not fetch a public release; publication remains planned.
473
477
 
474
- The five names are list_components, search, get_component, generate_theme and lint. Successful tools return matching JSON text and structuredContent with schemaVersion, dataVersion, ok, data and diagnostics. Lint findings live in data.diagnostics; ok means the tool ran, rather than that the source is clean. Check coverage for dynamic or unread source. Theme returns artifacts without writing them.
478
+ The six names are list_components, search, get_component, generate_theme, lint and check_page (check_page is new on main for the next release). Successful tools return matching JSON text and structuredContent with schemaVersion, dataVersion, ok, data and diagnostics. Lint findings live in data.diagnostics; ok means the tool ran, rather than that the source is clean. Check coverage for dynamic or unread source. Theme returns artifacts without writing them.
475
479
 
476
- The server exposes exactly five read-only tools. Lint accepts submitted content or explicit source files under the canonical root, with the same file, byte and diagnostic limits as core lint. Directory/glob inputs and symlinks are rejected. No installation, fixes or consumer config execution occurs. EOF drains responses; signals and broken input close with bounded cleanup. See [local MCP connection and tool documentation](../../docs/mcp.md) for the local tarball process config, illustrative future published config, tool examples, result envelopes and troubleshooting. D2 ships in PR #132. D3 packed comparisons and configured CLI-client evidence shipped in PR #133; desktop application registration remains untested. MCP lint uses the packaged default seed, while CLI lint reads the consumer seed for color suggestions.
480
+ The server exposes six read-only tools. check_page opens only pages on this computer and writes screenshots to a temporary folder, never to the project; it needs playwright-core and Chromium, or CHROME_PATH (see `check` in [docs/cli.md](../../docs/cli.md)). Lint accepts submitted content or explicit source files under the canonical root, with the same file, byte and diagnostic limits as core lint. Directory/glob inputs and symlinks are rejected. No installation, fixes or consumer config execution occurs. EOF drains responses; signals and broken input close with bounded cleanup. See [local MCP connection and tool documentation](../../docs/mcp.md) for the local tarball process config, illustrative future published config, tool examples, result envelopes and troubleshooting. D2 ships in PR #132. D3 packed comparisons and configured CLI-client evidence shipped in PR #133; desktop application registration remains untested. MCP lint uses the packaged default seed, while CLI lint reads the consumer seed for color suggestions.