@decantr/cli 1.6.5 → 1.6.7

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/dist/bin.js CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
- import "./chunk-MEW5X6AP.js";
3
- import "./chunk-GSRPDFXK.js";
2
+ import "./chunk-3ZYYVKWA.js";
3
+ import "./chunk-XUX3ZLCK.js";
@@ -9,7 +9,7 @@ import {
9
9
  scaffoldMinimal,
10
10
  scaffoldProject,
11
11
  syncRegistry
12
- } from "./chunk-GSRPDFXK.js";
12
+ } from "./chunk-XUX3ZLCK.js";
13
13
 
14
14
  // src/index.ts
15
15
  import { readFileSync as readFileSync15, existsSync as existsSync23, readdirSync as readdirSync6 } from "fs";
@@ -4332,7 +4332,7 @@ async function main() {
4332
4332
  break;
4333
4333
  }
4334
4334
  case "upgrade": {
4335
- const { cmdUpgrade } = await import("./upgrade-WPC7QPXX.js");
4335
+ const { cmdUpgrade } = await import("./upgrade-QPHY2ER6.js");
4336
4336
  const applyFlag = args.includes("--apply");
4337
4337
  await cmdUpgrade(process.cwd(), { apply: applyFlag });
4338
4338
  break;
@@ -1789,6 +1789,9 @@ async function refreshDerivedFiles(projectRoot, essence, registry, prefetchedThe
1789
1789
  contextFiles.push(summaryPath);
1790
1790
  }
1791
1791
  if (!options?.isInitialScaffold) {
1792
+ const scaffoldTaskPath = join(contextDir, "task-scaffold.md");
1793
+ writeFileSync(scaffoldTaskPath, generateTaskContextV3("task-scaffold.md.template", essence));
1794
+ contextFiles.push(scaffoldTaskPath);
1792
1795
  const addPagePath = join(contextDir, "task-add-page.md");
1793
1796
  writeFileSync(addPagePath, generateTaskContextV3("task-add-page.md.template", essence));
1794
1797
  contextFiles.push(addPagePath);
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import "./chunk-MEW5X6AP.js";
2
- import "./chunk-GSRPDFXK.js";
1
+ import "./chunk-3ZYYVKWA.js";
2
+ import "./chunk-XUX3ZLCK.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  RegistryClient,
3
3
  refreshDerivedFiles
4
- } from "./chunk-GSRPDFXK.js";
4
+ } from "./chunk-XUX3ZLCK.js";
5
5
 
6
6
  // src/commands/upgrade.ts
7
7
  import { readFileSync, writeFileSync, existsSync } from "fs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@decantr/cli",
3
- "version": "1.6.5",
3
+ "version": "1.6.7",
4
4
  "description": "Decantr CLI — search the registry, validate essence files, and access design intelligence from the terminal",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -2,7 +2,7 @@
2
2
 
3
3
  **Enforcement Tier: Guided**
4
4
 
5
- You are adding new pages or features to an existing Decantr project. Guided mode enforces rules 1-5 (DNA) + 6, 8 (Blueprint).
5
+ You are adding new pages or features to an existing Decantr project. Guided mode enforces rules 1-5 (DNA) + 6, 7 (Blueprint).
6
6
 
7
7
  ---
8
8
 
@@ -70,7 +70,7 @@ decantr_read_essence()
70
70
 
71
71
  For the page you're modifying, verify:
72
72
 
73
- - Page ID exists in `blueprint.pages[]`
73
+ - Page ID exists in `blueprint.sections[].pages[]`
74
74
  - Shell matches the page's `shell` property
75
75
  - Patterns match the page's `layout[]` in order
76
76
  - Theme matches `theme.style`
@@ -90,7 +90,7 @@ Before writing code:
90
90
  Before modifying:
91
91
 
92
92
  - [ ] Page exists in essence structure
93
- - [ ] I know the layout order for the target page (check `blueprint.pages[]` or `blueprint.sections[]`)
93
+ - [ ] I know the layout order for the target page (check `blueprint.sections[].pages[]`)
94
94
  - [ ] I will use theme: `{{THEME_STYLE}}`
95
95
  - [ ] I will follow density: `{{DENSITY}}`
96
96