werewolf-ui 0.1.0-alpha.4 → 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 +3 -3
- package/data/manifest.json +1173 -298
- package/dist/cli.mjs +3347 -3034
- package/dist/core.mjs +13 -4
- package/dist/lint.mjs +11 -3
- package/dist/project.mjs +324 -46
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -434,7 +434,7 @@ npm ci
|
|
|
434
434
|
npm run build:cli
|
|
435
435
|
npm pack --workspace werewolf-ui --pack-destination /absolute/path/to/output
|
|
436
436
|
cd /absolute/path/to/consumer
|
|
437
|
-
npm install /absolute/path/to/output/werewolf-ui-0.1.0-
|
|
437
|
+
npm install /absolute/path/to/output/werewolf-ui-0.1.0-beta.0.tgz --engine-strict
|
|
438
438
|
```
|
|
439
439
|
|
|
440
440
|
The supported alpha layouts are Next.js app-router (app or src/app), Vite React
|
|
@@ -475,6 +475,6 @@ To launch the published package without installing it in the app, use the versio
|
|
|
475
475
|
|
|
476
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.
|
|
477
477
|
|
|
478
|
-
The
|
|
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.
|
|
479
479
|
|
|
480
|
-
The server exposes
|
|
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.
|