@aiready/cli 0.7.21 → 0.8.1

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.
@@ -1,6 +1,6 @@
1
1
 
2
2
  
3
- > @aiready/cli@0.7.21 build /Users/pengcao/projects/aiready/packages/cli
3
+ > @aiready/cli@0.8.1 build /Users/pengcao/projects/aiready/packages/cli
4
4
  > tsup src/index.ts src/cli.ts --format cjs,esm --dts
5
5
 
6
6
  CLI Building entry: src/cli.ts, src/index.ts
@@ -9,15 +9,15 @@
9
9
  CLI Target: es2020
10
10
  CJS Build start
11
11
  ESM Build start
12
- CJS dist/cli.js 43.96 KB
13
- CJS dist/index.js 4.93 KB
14
- CJS ⚡️ Build success in 51ms
15
12
  ESM dist/index.mjs 138.00 B
16
13
  ESM dist/cli.mjs 36.91 KB
17
14
  ESM dist/chunk-3SG2GLFJ.mjs 3.80 KB
18
- ESM ⚡️ Build success in 52ms
15
+ ESM ⚡️ Build success in 47ms
16
+ CJS dist/cli.js 43.96 KB
17
+ CJS dist/index.js 4.93 KB
18
+ CJS ⚡️ Build success in 49ms
19
19
  DTS Build start
20
- DTS ⚡️ Build success in 611ms
20
+ DTS ⚡️ Build success in 899ms
21
21
  DTS dist/cli.d.ts 20.00 B
22
22
  DTS dist/index.d.ts 1.22 KB
23
23
  DTS dist/cli.d.mts 20.00 B
@@ -1,34 +1,34 @@
1
1
 
2
2
  
3
- > @aiready/cli@0.7.21 test /Users/pengcao/projects/aiready/packages/cli
3
+ > @aiready/cli@0.8.1 test /Users/pengcao/projects/aiready/packages/cli
4
4
  > vitest run
5
5
 
6
6
  [?25l
7
-  RUN  v4.0.17 /Users/pengcao/projects/aiready/packages/cli
7
+  RUN  v4.0.18 /Users/pengcao/projects/aiready/packages/cli
8
8
 
9
9
  [?2026h
10
10
   ❯ src/__tests__/cli.test.ts [queued]
11
11
 
12
12
   Test Files 0 passed (1)
13
13
   Tests 0 passed (0)
14
-  Start at 10:41:17
15
-  Duration 0ms
14
+  Start at 18:12:05
15
+  Duration 220ms
16
16
  [?2026l[?2026h
17
17
   ❯ src/__tests__/cli.test.ts 0/3
18
18
 
19
19
   Test Files 0 passed (1)
20
20
   Tests 0 passed (3)
21
-  Start at 10:41:17
22
-  Duration 301ms
21
+  Start at 18:12:05
22
+  Duration 726ms
23
23
  [?2026l ✓ src/__tests__/cli.test.ts (3 tests) 2ms
24
24
  ✓ CLI Unified Analysis (3)
25
25
  ✓ should run unified analysis with both tools 1ms
26
- ✓ should run analysis with only patterns tool 0ms
26
+ ✓ should run analysis with only patterns tool 1ms
27
27
  ✓ should run analysis with only context tool 0ms
28
28
 
29
29
   Test Files  1 passed (1)
30
30
   Tests  3 passed (3)
31
-  Start at  10:41:17
32
-  Duration  314ms (transform 57ms, setup 0ms, import 237ms, tests 2ms, environment 0ms)
31
+  Start at  18:12:05
32
+  Duration  804ms (transform 194ms, setup 0ms, import 490ms, tests 2ms, environment 0ms)
33
33
 
34
34
  [?25h
package/README.md CHANGED
@@ -4,6 +4,42 @@
4
4
 
5
5
  The CLI provides both unified analysis (scan multiple tools at once) and individual tool access for pattern detection, context analysis, and consistency checking.
6
6
 
7
+ ## �️ Architecture
8
+
9
+ ```
10
+ 🎯 USER
11
+
12
+
13
+ ┌─────────────────────────────────────────────────────────────────┐
14
+ │ 🎛️ CLI (@aiready/cli) ⬅ YOU ARE HERE │
15
+ │ Unified Interface & Orchestration │
16
+ └─────────────────┬───────────────────────────────────────────────┘
17
+
18
+
19
+ 🏢 HUB (core)
20
+
21
+ ┌───────────┼───────────┬───────────┐
22
+ ▼ ▼ ▼ ▼
23
+ 📊 PATTERN 📦 CONTEXT 🔧 CONSIST 📚 DOC
24
+ DETECT ANALYZER ENCY DRIFT
25
+ ✅ Ready ✅ Ready ✅ Ready 🔜 Soon
26
+ ```
27
+
28
+ ## �🌍 Language Support
29
+
30
+ **Currently Supported (64% market coverage):**
31
+ - ✅ **TypeScript** (`.ts`, `.tsx`)
32
+ - ✅ **JavaScript** (`.js`, `.jsx`)
33
+ - ✅ **Python** (`.py`) - PEP 8 conventions, import analysis, pattern detection
34
+
35
+ **Roadmap:**
36
+ - 🔜 **Java** (Q3 2026) - Maven/Gradle, Spring Framework
37
+ - 🔜 **Go** (Q4 2026) - Go modules, concurrency patterns
38
+ - 🔜 **Rust** (Q4 2026) - Cargo, ownership patterns
39
+ - 🔜 **C#** (Q1 2027) - .NET, LINQ patterns
40
+
41
+ Mixed-language projects are fully supported - the tool automatically detects and analyzes each file type appropriately.
42
+
7
43
  ## 🚀 Quick Start
8
44
 
9
45
  **Zero config, works out of the box:**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiready/cli",
3
- "version": "0.7.21",
3
+ "version": "0.8.1",
4
4
  "description": "Unified CLI for AIReady analysis tools",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -11,10 +11,10 @@
11
11
  "dependencies": {
12
12
  "commander": "^14.0.0",
13
13
  "chalk": "^5.3.0",
14
- "@aiready/pattern-detect": "0.9.23",
15
- "@aiready/core": "0.7.14",
16
- "@aiready/context-analyzer": "0.7.19",
17
- "@aiready/consistency": "0.6.17"
14
+ "@aiready/core": "0.8.1",
15
+ "@aiready/pattern-detect": "0.10.1",
16
+ "@aiready/context-analyzer": "0.8.3",
17
+ "@aiready/consistency": "0.7.1"
18
18
  },
19
19
  "devDependencies": {
20
20
  "tsup": "^8.3.5",