@aiready/pattern-detect 0.9.10 → 0.9.14
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 +5 -1
- package/dist/cli.js +1 -1
- package/dist/cli.mjs +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@ npx @aiready/pattern-detect ./src
|
|
|
15
15
|
# Or use the unified CLI (includes all AIReady tools)
|
|
16
16
|
npx @aiready/cli scan ./src
|
|
17
17
|
|
|
18
|
-
# Or install globally for faster runs
|
|
18
|
+
# Or install globally for simpler command and faster runs
|
|
19
19
|
npm install -g @aiready/pattern-detect
|
|
20
20
|
aiready-patterns ./src
|
|
21
21
|
```
|
|
@@ -241,6 +241,10 @@ aiready scan ./src
|
|
|
241
241
|
- [**@aiready/context-analyzer**](https://www.npmjs.com/package/@aiready/context-analyzer) - Context window cost analysis
|
|
242
242
|
- [**@aiready/consistency**](https://www.npmjs.com/package/@aiready/consistency) - Consistency checking
|
|
243
243
|
|
|
244
|
+
## 🌐 Visit Our Website
|
|
245
|
+
|
|
246
|
+
**Try AIReady tools online and optimize your codebase:** [getaiready.dev](https://getaiready.dev)
|
|
247
|
+
|
|
244
248
|
---
|
|
245
249
|
|
|
246
250
|
**Made with 💙 by the AIReady team** | [GitHub](https://github.com/caopengau/aiready)
|
package/dist/cli.js
CHANGED
|
@@ -798,7 +798,7 @@ program.name("aiready-patterns").description("Detect duplicate patterns in your
|
|
|
798
798
|
import_chalk.default.white(`\u{1F4C1} Files analyzed: ${import_chalk.default.bold(results.length)}`)
|
|
799
799
|
);
|
|
800
800
|
console.log(
|
|
801
|
-
import_chalk.default.yellow(`\u26A0
|
|
801
|
+
import_chalk.default.yellow(`\u26A0 AI confusion patterns detected: ${import_chalk.default.bold(totalIssues)}`)
|
|
802
802
|
);
|
|
803
803
|
console.log(
|
|
804
804
|
import_chalk.default.red(
|
package/dist/cli.mjs
CHANGED
|
@@ -127,7 +127,7 @@ program.name("aiready-patterns").description("Detect duplicate patterns in your
|
|
|
127
127
|
chalk.white(`\u{1F4C1} Files analyzed: ${chalk.bold(results.length)}`)
|
|
128
128
|
);
|
|
129
129
|
console.log(
|
|
130
|
-
chalk.yellow(`\u26A0
|
|
130
|
+
chalk.yellow(`\u26A0 AI confusion patterns detected: ${chalk.bold(totalIssues)}`)
|
|
131
131
|
);
|
|
132
132
|
console.log(
|
|
133
133
|
chalk.red(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aiready/pattern-detect",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.14",
|
|
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.
|
|
48
|
+
"@aiready/core": "0.7.7"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"tsup": "^8.3.5",
|