@decantr/cli 1.7.6 → 1.7.8
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 +51 -3
- package/dist/bin.js +2 -2
- package/dist/{chunk-H4H3IQJK.js → chunk-74G2RQDO.js} +100 -13
- package/dist/{chunk-KAEQTVAM.js → chunk-ODJQZXHQ.js} +702 -352
- package/dist/index.js +2 -2
- package/dist/{upgrade-XNUAON3G.js → upgrade-UXY2WUJH.js} +1 -1
- package/package.json +4 -2
- package/src/templates/DECANTR.md.template +6 -6
package/dist/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "./chunk-
|
|
2
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-ODJQZXHQ.js";
|
|
2
|
+
import "./chunk-74G2RQDO.js";
|
|
3
3
|
import "./chunk-KUDAVJOR.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@decantr/cli",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.8",
|
|
4
4
|
"description": "Decantr CLI — scaffold, audit, and maintain Decantr projects from the terminal",
|
|
5
5
|
"author": "Decantr AI",
|
|
6
6
|
"license": "MIT",
|
|
@@ -28,12 +28,14 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@decantr/core": "1.0.0",
|
|
31
|
-
"@decantr/essence-spec": "1.0.
|
|
31
|
+
"@decantr/essence-spec": "1.0.1",
|
|
32
32
|
"@decantr/registry": "1.0.1",
|
|
33
33
|
"@decantr/verifier": "1.0.1"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"build": "tsup",
|
|
37
|
+
"certify:blueprints": "pnpm build && node scripts/certify-blueprints.mjs",
|
|
38
|
+
"certify:workflows": "pnpm build && node scripts/certify-workflows.mjs",
|
|
37
39
|
"test": "vitest run",
|
|
38
40
|
"test:watch": "vitest"
|
|
39
41
|
}
|
|
@@ -84,13 +84,9 @@ When a user request would violate guard rules:
|
|
|
84
84
|
|
|
85
85
|
### Initial scaffolding
|
|
86
86
|
|
|
87
|
-
|
|
88
|
-
Use narrative docs only as secondary explanation when the compiled packs are not enough.
|
|
89
|
-
Use only files present in this workspace as the source of truth. If local scaffold files disagree, stop and report the mismatch instead of relying on external Decantr assumptions or prior examples.
|
|
87
|
+
This project is using Decantr in **{{WORKFLOW_MODE}}** mode.
|
|
90
88
|
|
|
91
|
-
|
|
92
|
-
Then read `.decantr/context/scaffold.md` for the fuller app overview, topology, route map, and voice guidance.
|
|
93
|
-
Start implementation from the shell layouts and shared route structure before filling in section pages.
|
|
89
|
+
{{WORKFLOW_GUIDANCE}}
|
|
94
90
|
|
|
95
91
|
### Working on a section
|
|
96
92
|
|
|
@@ -108,6 +104,9 @@ Read `.decantr/context/page-{name}-pack.md` for the most local compiled route co
|
|
|
108
104
|
- Do **not** create local atom-runtime substitutes such as `src/lib/css.js`, `src/lib/css.ts`, or hand-written `src/styles/atoms.css` files unless the task explicitly asks for a fallback runtime.
|
|
109
105
|
- Import `src/styles/global.css`, `src/styles/tokens.css`, and `src/styles/treatments.css`.
|
|
110
106
|
- Reuse the existing Decantr tokens, treatments, and decorators instead of inventing a new visual system.
|
|
107
|
+
- Do **not** use inline visual style values or component-scoped `<style>` tags as the primary styling path. Colors, spacing, borders, shadows, gradients, and transitions should come from atoms, treatments, decorators, or CSS variables. Inline styles are only acceptable for truly dynamic geometry that cannot be expressed through the contract.
|
|
108
|
+
- Shells own spacing, centering, and scroll containers. Page components should not duplicate shell responsibilities with extra full-height wrappers, max-width wrappers, or page-local padding unless the route contract explicitly requires it.
|
|
109
|
+
- If a required decorator class is referenced in the contract but missing from generated CSS, report the contract gap instead of inventing a parallel visual system.
|
|
111
110
|
- If `dna.accessibility.skip_nav = true`, add a visible-on-focus skip link and a matching main landmark target such as `<main id="main-content">`.
|
|
112
111
|
- If `dna.motion.reduce_motion = true`, add an explicit `prefers-reduced-motion: reduce` path in project CSS.
|
|
113
112
|
- Do not modify generated context files unless you are explicitly regenerating or refreshing Decantr context.
|
|
@@ -116,6 +115,7 @@ Read `.decantr/context/page-{name}-pack.md` for the most local compiled route co
|
|
|
116
115
|
### Validation
|
|
117
116
|
|
|
118
117
|
Run `decantr check` to detect drift violations while editing and `decantr audit` to audit the whole project contract after implementation.
|
|
118
|
+
Declared command palettes and hotkeys must be implemented, not merely acknowledged.
|
|
119
119
|
|
|
120
120
|
### Quick Commands
|
|
121
121
|
|