@blackbelt-technology/frontend-mockup-loop 0.8.0 → 0.9.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.
@@ -176,8 +176,9 @@ the change's notes.
176
176
  - `serve_mockup{dir, port?, stop?}` — Node static server on 0.0.0.0; returns
177
177
  local + LAN URLs. Zero external deps.
178
178
  - `score_mockup{url, widths?, outDir?, system?}` — Playwright breakpoint screenshots +
179
- scoring rubric. Falls back to install guidance if Playwright is absent
180
- (`npm i -D playwright && npx playwright install chromium`).
179
+ scoring rubric. Chromium is declared in this package's `pi.tools` (optional
180
+ `pw-browser` probe); absent → install guidance via the registry's Install
181
+ dropdown or `pi-dashboard-ensure` (`npx playwright@1.62.1 install chromium`).
181
182
  - `init_ui_contract{path?, force?, system?, refresh?}` — scaffold the
182
183
  token-referencing contract. With `system`, write that preset's DTCG contract
183
184
  (offline snapshot; `refresh` re-fetches upstream first). No `system` →
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blackbelt-technology/frontend-mockup-loop",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "description": "Pi extension + skill for a ground→contract→mockup→test→fix→learn frontend design loop. Ships a live mockup server tool, a Playwright breakpoint-screenshot tool, and a design-contract scaffolder. Works in any React/Tailwind/shadcn project.",
5
5
  "type": "module",
6
6
  "repository": {
@@ -30,6 +30,13 @@
30
30
  ],
31
31
  "skills": [
32
32
  ".pi/skills/frontend-mockup-loop"
33
+ ],
34
+ "tools": [
35
+ {
36
+ "id": "chromium",
37
+ "probe": "pw-browser",
38
+ "optional": true
39
+ }
33
40
  ]
34
41
  },
35
42
  "files": [
@@ -47,7 +54,7 @@
47
54
  "eslint-plugin-tailwindcss": "^3.17.0"
48
55
  },
49
56
  "peerDependencies": {
50
- "@earendil-works/pi-coding-agent": ">=0.80.10",
57
+ "@earendil-works/pi-coding-agent": ">=1.0.0",
51
58
  "typebox": ">=1.3.6"
52
59
  },
53
60
  "peerDependenciesMeta": {
@@ -56,7 +63,7 @@
56
63
  }
57
64
  },
58
65
  "devDependencies": {
59
- "@earendil-works/pi-coding-agent": ">=0.80.10",
66
+ "@earendil-works/pi-coding-agent": "^1.0.0",
60
67
  "typebox": ">=1.3.6"
61
68
  }
62
69
  }