@aiready/consistency 0.18.8 → 0.18.10

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/cli.js CHANGED
@@ -749,7 +749,12 @@ async function analyzeConsistency(options) {
749
749
  namingIssues: namingCountFiltered,
750
750
  patternIssues: patternCountFiltered,
751
751
  architectureIssues: 0,
752
- filesAnalyzed: filePaths.length
752
+ filesAnalyzed: filePaths.length,
753
+ config: Object.fromEntries(
754
+ Object.entries(options).filter(
755
+ ([key]) => !import_core5.GLOBAL_SCAN_OPTIONS.includes(key) || key === "rootDir"
756
+ )
757
+ )
753
758
  },
754
759
  results,
755
760
  recommendations
package/dist/cli.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  analyzeConsistency
4
- } from "./chunk-IXBC6GVT.mjs";
4
+ } from "./chunk-YCDCIOJN.mjs";
5
5
 
6
6
  // src/cli.ts
7
7
  import { Command } from "commander";
package/dist/index.d.mts CHANGED
@@ -53,6 +53,7 @@ interface ConsistencyReport {
53
53
  patternIssues: number;
54
54
  architectureIssues: number;
55
55
  filesAnalyzed: number;
56
+ config?: any;
56
57
  };
57
58
  results: AnalysisResult[];
58
59
  recommendations: string[];
package/dist/index.d.ts CHANGED
@@ -53,6 +53,7 @@ interface ConsistencyReport {
53
53
  patternIssues: number;
54
54
  architectureIssues: number;
55
55
  filesAnalyzed: number;
56
+ config?: any;
56
57
  };
57
58
  results: AnalysisResult[];
58
59
  recommendations: string[];
package/dist/index.js CHANGED
@@ -767,7 +767,12 @@ async function analyzeConsistency(options) {
767
767
  namingIssues: namingCountFiltered,
768
768
  patternIssues: patternCountFiltered,
769
769
  architectureIssues: 0,
770
- filesAnalyzed: filePaths.length
770
+ filesAnalyzed: filePaths.length,
771
+ config: Object.fromEntries(
772
+ Object.entries(options).filter(
773
+ ([key]) => !import_core5.GLOBAL_SCAN_OPTIONS.includes(key) || key === "rootDir"
774
+ )
775
+ )
771
776
  },
772
777
  results,
773
778
  recommendations
package/dist/index.mjs CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  analyzeConsistency,
3
3
  analyzeNamingAST,
4
4
  analyzePatterns
5
- } from "./chunk-IXBC6GVT.mjs";
5
+ } from "./chunk-YCDCIOJN.mjs";
6
6
 
7
7
  // src/index.ts
8
8
  import { ToolRegistry } from "@aiready/core";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiready/consistency",
3
- "version": "0.18.8",
3
+ "version": "0.18.10",
4
4
  "description": "Detects consistency issues in naming, patterns, and architecture that confuse AI models",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -43,7 +43,7 @@
43
43
  "@typescript-eslint/typescript-estree": "^8.53.0",
44
44
  "chalk": "^5.3.0",
45
45
  "commander": "^14.0.0",
46
- "@aiready/core": "0.21.8"
46
+ "@aiready/core": "0.21.10"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@types/node": "^24.0.0",
package/src/analyzer.ts CHANGED
@@ -1,4 +1,9 @@
1
- import { scanFiles, Severity, IssueType } from '@aiready/core';
1
+ import {
2
+ scanFiles,
3
+ Severity,
4
+ IssueType,
5
+ GLOBAL_SCAN_OPTIONS,
6
+ } from '@aiready/core';
2
7
  import type { AnalysisResult, Issue } from '@aiready/core';
3
8
  import type {
4
9
  ConsistencyOptions,
@@ -162,6 +167,11 @@ export async function analyzeConsistency(
162
167
  patternIssues: patternCountFiltered,
163
168
  architectureIssues: 0,
164
169
  filesAnalyzed: filePaths.length,
170
+ config: Object.fromEntries(
171
+ Object.entries(options).filter(
172
+ ([key]) => !GLOBAL_SCAN_OPTIONS.includes(key) || key === 'rootDir'
173
+ )
174
+ ),
165
175
  },
166
176
  results,
167
177
  recommendations,
package/src/types.ts CHANGED
@@ -63,6 +63,7 @@ export interface ConsistencyReport {
63
63
  patternIssues: number;
64
64
  architectureIssues: number;
65
65
  filesAnalyzed: number;
66
+ config?: any;
66
67
  };
67
68
  results: AnalysisResult[];
68
69
  recommendations: string[];