@aiready/pattern-detect 0.9.3 → 0.9.4

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
@@ -690,7 +690,7 @@ program.name("aiready-patterns").description("Detect duplicate patterns in your
690
690
  ).option("--output-file <path>", "Output file path (for json/html)").action(async (directory, options) => {
691
691
  console.log(import_chalk.default.blue("\u{1F50D} Analyzing patterns...\n"));
692
692
  const startTime = Date.now();
693
- const config = (0, import_core3.loadConfig)(directory);
693
+ const config = await (0, import_core3.loadConfig)(directory);
694
694
  const defaults = {
695
695
  minSimilarity: 0.4,
696
696
  minLines: 5,
package/dist/cli.mjs CHANGED
@@ -19,7 +19,7 @@ program.name("aiready-patterns").description("Detect duplicate patterns in your
19
19
  ).option("--output-file <path>", "Output file path (for json/html)").action(async (directory, options) => {
20
20
  console.log(chalk.blue("\u{1F50D} Analyzing patterns...\n"));
21
21
  const startTime = Date.now();
22
- const config = loadConfig(directory);
22
+ const config = await loadConfig(directory);
23
23
  const defaults = {
24
24
  minSimilarity: 0.4,
25
25
  minLines: 5,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiready/pattern-detect",
3
- "version": "0.9.3",
3
+ "version": "0.9.4",
4
4
  "description": "Semantic duplicate pattern detection for AI-generated code - finds similar implementations that waste AI context tokens",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -45,7 +45,7 @@
45
45
  "dependencies": {
46
46
  "commander": "^14.0.0",
47
47
  "chalk": "^5.3.0",
48
- "@aiready/core": "0.7.1"
48
+ "@aiready/core": "0.7.2"
49
49
  },
50
50
  "devDependencies": {
51
51
  "tsup": "^8.3.5",