@decantr/cli 2.13.1 → 3.0.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 +28 -13
- package/dist/bin.js +4 -4
- package/dist/chunk-4NDOHCYY.js +4861 -0
- package/dist/{chunk-MNZKOZW7.js → chunk-7Z74ETDR.js} +5 -2
- package/dist/{chunk-YBSBAJ3E.js → chunk-B2PJDAMS.js} +1 -1
- package/dist/{chunk-5MZH6XXQ.js → chunk-GN63PIKK.js} +1079 -1579
- package/dist/{heal-IRIDB7IZ.js → heal-HHVVTVIH.js} +1 -1
- package/dist/{health-B4W7UJBZ.js → health-DDT4RABT.js} +8 -2
- package/dist/index.js +4 -4
- package/dist/{studio-JOEECLI6.js → studio-WDJ3BOCU.js} +3 -3
- package/dist/{workspace-7RU77ZZW.js → workspace-3XNCMZ5L.js} +3 -3
- package/package.json +11 -10
- package/src/templates/DECANTR.md.template +3 -3
- package/dist/chunk-3A2DLR47.js +0 -1565
|
@@ -3,6 +3,9 @@ import {
|
|
|
3
3
|
collectDesignTokenEvidence,
|
|
4
4
|
createProjectEvidenceBundle,
|
|
5
5
|
createProjectHealthReport,
|
|
6
|
+
formatDiagnosticCatalogJson,
|
|
7
|
+
formatDiagnosticCatalogMarkdown,
|
|
8
|
+
formatDiagnosticCatalogText,
|
|
6
9
|
formatProjectHealthJson,
|
|
7
10
|
formatProjectHealthMarkdown,
|
|
8
11
|
formatProjectHealthText,
|
|
@@ -10,13 +13,16 @@ import {
|
|
|
10
13
|
renderProjectHealthCiWorkflow,
|
|
11
14
|
shouldFailHealth,
|
|
12
15
|
writeProjectHealthCiWorkflow
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-4NDOHCYY.js";
|
|
17
|
+
import "./chunk-7Z74ETDR.js";
|
|
15
18
|
export {
|
|
16
19
|
cmdHealth,
|
|
17
20
|
collectDesignTokenEvidence,
|
|
18
21
|
createProjectEvidenceBundle,
|
|
19
22
|
createProjectHealthReport,
|
|
23
|
+
formatDiagnosticCatalogJson,
|
|
24
|
+
formatDiagnosticCatalogMarkdown,
|
|
25
|
+
formatDiagnosticCatalogText,
|
|
20
26
|
formatProjectHealthJson,
|
|
21
27
|
formatProjectHealthMarkdown,
|
|
22
28
|
formatProjectHealthText,
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-GN63PIKK.js";
|
|
2
2
|
import "./chunk-SIDKK73N.js";
|
|
3
|
-
import "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
import "./chunk-B2PJDAMS.js";
|
|
4
|
+
import "./chunk-4NDOHCYY.js";
|
|
5
|
+
import "./chunk-7Z74ETDR.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createWorkspaceHealthReport
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-B2PJDAMS.js";
|
|
4
4
|
import {
|
|
5
5
|
createProjectHealthReport
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4NDOHCYY.js";
|
|
7
7
|
import {
|
|
8
8
|
sendStudioHealthRefreshedTelemetry,
|
|
9
9
|
sendStudioStartedTelemetry
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7Z74ETDR.js";
|
|
11
11
|
|
|
12
12
|
// src/commands/studio.ts
|
|
13
13
|
import { readFileSync } from "fs";
|
|
@@ -7,9 +7,9 @@ import {
|
|
|
7
7
|
listWorkspaceProjects,
|
|
8
8
|
parseWorkspaceArgs,
|
|
9
9
|
shouldFailWorkspaceHealth
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-B2PJDAMS.js";
|
|
11
|
+
import "./chunk-4NDOHCYY.js";
|
|
12
|
+
import "./chunk-7Z74ETDR.js";
|
|
13
13
|
export {
|
|
14
14
|
cmdWorkspace,
|
|
15
15
|
createWorkspaceHealthReport,
|
package/package.json
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@decantr/cli",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "Decantr CLI -
|
|
3
|
+
"version": "3.0.0",
|
|
4
|
+
"description": "Decantr CLI - adopt, verify, graph, and govern frontend codebases touched by AI agents",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"decantr",
|
|
7
7
|
"decantr-ai",
|
|
8
8
|
"ai-coding",
|
|
9
|
-
"ai-
|
|
9
|
+
"ai-frontend-governance",
|
|
10
10
|
"cli",
|
|
11
11
|
"project-health",
|
|
12
|
-
"
|
|
12
|
+
"typed-graph",
|
|
13
|
+
"contract-capsule",
|
|
13
14
|
"design-governance",
|
|
14
15
|
"ui-verification",
|
|
15
16
|
"drift-detection",
|
|
@@ -41,18 +42,18 @@
|
|
|
41
42
|
"src/bundled"
|
|
42
43
|
],
|
|
43
44
|
"engines": {
|
|
44
|
-
"node": ">=20"
|
|
45
|
+
"node": ">=20.19.0"
|
|
45
46
|
},
|
|
46
47
|
"publishConfig": {
|
|
47
48
|
"access": "public"
|
|
48
49
|
},
|
|
49
50
|
"dependencies": {
|
|
50
51
|
"ajv": "^8.20.0",
|
|
51
|
-
"@decantr/core": "
|
|
52
|
-
"@decantr/registry": "
|
|
53
|
-
"@decantr/
|
|
54
|
-
"@decantr/verifier": "
|
|
55
|
-
"@decantr/
|
|
52
|
+
"@decantr/core": "3.0.0",
|
|
53
|
+
"@decantr/registry": "3.0.0",
|
|
54
|
+
"@decantr/essence-spec": "3.0.0",
|
|
55
|
+
"@decantr/verifier": "3.0.0",
|
|
56
|
+
"@decantr/telemetry": "3.0.0"
|
|
56
57
|
},
|
|
57
58
|
"scripts": {
|
|
58
59
|
"build": "tsup",
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# DECANTR.md
|
|
2
2
|
|
|
3
|
-
This project uses **Decantr** for
|
|
3
|
+
This project uses **Decantr** for AI Frontend Governance. Read this file before generating or editing UI code.
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
## What is Decantr?
|
|
8
8
|
|
|
9
|
-
Decantr is a
|
|
9
|
+
Decantr is a Contract / Context / Evidence layer that sits between you (the AI coding agent) and the code you produce. It provides structured schemas, guard rules, and a two-layer model (DNA + Blueprint) that keeps UI changes aligned with project standards.
|
|
10
10
|
|
|
11
|
-
**Decantr does NOT generate code.** You generate the code. Decantr
|
|
11
|
+
**Decantr does NOT generate code.** You generate or edit the code. Decantr keeps the result coherent, consistent, and repairable.
|
|
12
12
|
|
|
13
13
|
---
|
|
14
14
|
|