@plasmickit/cli 0.5.10 → 0.5.19

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasmickit/cli",
3
- "version": "0.5.10",
3
+ "version": "0.5.19",
4
4
  "description": "Plasmic skill bootstrap and NAS workflow resource manager",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -44,7 +44,9 @@ Use the client's documented MCP reload/reconnect if available; otherwise state w
44
44
 
45
45
  ## Prototype principles
46
46
 
47
- Select components before composing markup. Discover existing business components and matching templates, prefer them and registered library components, and read their current Props, Slots and event contracts. Do not redraw available functional components with HTML/CSS. Follow `references/libraries/index.md` for selection and verified contract gaps.
47
+ Start with the workflow's **Before content writes** checkpoint and the resolved `references/planning.md`. For new Pages or structural changes, use the existing project/Page rules cards and selection preflight before composition. Local repairs read and check the affected rules without restarting unrelated Page planning. Tool availability, `validate` and `save` do not establish design-rule compliance.
48
+
49
+ Design the in-scope Pages' region relationships before detailed generation under `references/design/page-structure.md`; reconcile the current Page with live templates and component contracts, then generate and review against that structure. Requirements constrain business behavior and explicit presentation choices; use design reasoning for unspecified layout. Select components before composing markup. Discover existing business components and matching templates, prefer them and registered library components, and read their current Props, Slots and event contracts. Do not redraw available functional components with HTML/CSS. Follow `references/libraries/index.md` for selection and verified contract gaps.
48
50
 
49
51
  For admin prototypes, read `references/admin-templates.md` and its catalog, inspect applicable live templates, then adapt the selected composition to the requirement. Read the relevant component and composition references before using them. A template or component must fit the current requirement and the project's actual library.
50
52
 
@@ -52,7 +54,7 @@ Keep plans and acceptance evidence outside the business UI. Prototype mutations
52
54
 
53
55
  For prototype work, follow the workflow's execution-stage table. Derive observable acceptance cases from the current requirements before generation, prepare the current Page's detailed inputs, and retain actual gate/runtime results at each stage. Use existing preparation and verification commands; declarations, tool success and screenshots alone do not establish business acceptance.
54
56
 
55
- Use the workflow's review-mode rules to prefer an independent subagent when available, otherwise perform the same checks in the current conversation and disclose the fallback.
57
+ Apply the workflow's Design, Saved-Page and Integration review checkpoints through its single review-mode policy: prefer an independent subagent, otherwise perform the same scoped checks in the current conversation and disclose the fallback. Resolve required findings before dependent work; retain runtime/persistence checks as pending until executed. Scope local edits without adding unrelated reviews.
56
58
 
57
59
  ## Client implementation boundary
58
60
 
package/src/protocol.mjs CHANGED
@@ -7,7 +7,7 @@ export const CLI_VERSION = createRequire(import.meta.url)("../package.json").ver
7
7
  export const MIN_CLI_VERSION = "0.0.59";
8
8
  export const MODE_REFERENCES = {
9
9
  inspect: ["references/model-reading.md"],
10
- prototype: [],
10
+ prototype: ["references/planning.md"],
11
11
  codegen: ["references/model-reading.md", "references/codegen/project-code.md", "references/codegen/acceptance.md"],
12
12
  };
13
13
  export function compareVersions(a, b) {