@aiready/context-analyzer 0.3.1 → 0.3.3

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/context-analyzer@0.3.1 build /Users/pengcao/projects/aiready/packages/context-analyzer
3
+ > @aiready/context-analyzer@0.3.3 build /Users/pengcao/projects/aiready/packages/context-analyzer
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
- ESM dist/index.mjs 124.00 B
13
- ESM dist/cli.mjs 13.94 KB
12
+ ESM dist/cli.mjs 14.00 KB
14
13
  ESM dist/chunk-T6ZCOPPI.mjs 17.25 KB
15
- ESM ⚡️ Build success in 73ms
16
- CJS dist/cli.js 33.20 KB
14
+ ESM dist/index.mjs 124.00 B
15
+ ESM ⚡️ Build success in 54ms
16
+ CJS dist/cli.js 33.27 KB
17
17
  CJS dist/index.js 18.33 KB
18
- CJS ⚡️ Build success in 73ms
18
+ CJS ⚡️ Build success in 54ms
19
19
  DTS Build start
20
- DTS ⚡️ Build success in 612ms
20
+ DTS ⚡️ Build success in 596ms
21
21
  DTS dist/cli.d.ts 20.00 B
22
22
  DTS dist/index.d.ts 2.14 KB
23
23
  DTS dist/cli.d.mts 20.00 B
package/dist/cli.js CHANGED
@@ -773,11 +773,11 @@ function displayConsoleReport(summary, results, elapsedTime, maxResults = 10) {
773
773
  console.log(import_chalk.default.cyan(divider));
774
774
  console.log(
775
775
  import_chalk.default.dim(
776
- "\n\u2B50 Like AIReady? Star us on GitHub: https://github.com/caopengau/aiready"
776
+ "\n\u2B50 Like AIReady? Star us on GitHub: https://github.com/caopengau/aiready-context-analyzer"
777
777
  )
778
778
  );
779
779
  console.log(
780
- import_chalk.default.dim("\u{1F41B} Found a bug? Report it: https://github.com/caopengau/aiready/issues\n")
780
+ import_chalk.default.dim("\u{1F41B} Found a bug? Report it: https://github.com/caopengau/aiready-context-analyzer/issues\n")
781
781
  );
782
782
  }
783
783
  function generateHTMLReport(summary, results) {
@@ -948,8 +948,8 @@ function generateHTMLReport(summary, results) {
948
948
 
949
949
  <div class="footer">
950
950
  <p>Generated by <strong>@aiready/context-analyzer</strong></p>
951
- <p>Like AIReady? <a href="https://github.com/caopengau/aiready">Star us on GitHub</a></p>
952
- <p>Found a bug? <a href="https://github.com/caopengau/aiready/issues">Report it here</a></p>
951
+ <p>Like AIReady? <a href="https://github.com/caopengau/aiready-context-analyzer">Star us on GitHub</a></p>
952
+ <p>Found a bug? <a href="https://github.com/caopengau/aiready-context-analyzer/issues">Report it here</a></p>
953
953
  </div>
954
954
  </body>
955
955
  </html>`;
package/dist/cli.mjs CHANGED
@@ -218,11 +218,11 @@ function displayConsoleReport(summary, results, elapsedTime, maxResults = 10) {
218
218
  console.log(chalk.cyan(divider));
219
219
  console.log(
220
220
  chalk.dim(
221
- "\n\u2B50 Like AIReady? Star us on GitHub: https://github.com/caopengau/aiready"
221
+ "\n\u2B50 Like AIReady? Star us on GitHub: https://github.com/caopengau/aiready-context-analyzer"
222
222
  )
223
223
  );
224
224
  console.log(
225
- chalk.dim("\u{1F41B} Found a bug? Report it: https://github.com/caopengau/aiready/issues\n")
225
+ chalk.dim("\u{1F41B} Found a bug? Report it: https://github.com/caopengau/aiready-context-analyzer/issues\n")
226
226
  );
227
227
  }
228
228
  function generateHTMLReport(summary, results) {
@@ -393,8 +393,8 @@ function generateHTMLReport(summary, results) {
393
393
 
394
394
  <div class="footer">
395
395
  <p>Generated by <strong>@aiready/context-analyzer</strong></p>
396
- <p>Like AIReady? <a href="https://github.com/caopengau/aiready">Star us on GitHub</a></p>
397
- <p>Found a bug? <a href="https://github.com/caopengau/aiready/issues">Report it here</a></p>
396
+ <p>Like AIReady? <a href="https://github.com/caopengau/aiready-context-analyzer">Star us on GitHub</a></p>
397
+ <p>Found a bug? <a href="https://github.com/caopengau/aiready-context-analyzer/issues">Report it here</a></p>
398
398
  </div>
399
399
  </body>
400
400
  </html>`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiready/context-analyzer",
3
- "version": "0.3.1",
3
+ "version": "0.3.3",
4
4
  "description": "AI context window cost analysis - detect fragmented code, deep import chains, and expensive context budgets",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -49,7 +49,7 @@
49
49
  "dependencies": {
50
50
  "commander": "^12.1.0",
51
51
  "chalk": "^5.3.0",
52
- "@aiready/core": "0.3.0"
52
+ "@aiready/core": "0.3.1"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@types/node": "^22.10.2",
package/src/cli.ts CHANGED
@@ -284,11 +284,11 @@ function displayConsoleReport(
284
284
  console.log(chalk.cyan(divider));
285
285
  console.log(
286
286
  chalk.dim(
287
- '\n⭐ Like AIReady? Star us on GitHub: https://github.com/caopengau/aiready'
287
+ '\n⭐ Like AIReady? Star us on GitHub: https://github.com/caopengau/aiready-context-analyzer'
288
288
  )
289
289
  );
290
290
  console.log(
291
- chalk.dim('🐛 Found a bug? Report it: https://github.com/caopengau/aiready/issues\n')
291
+ chalk.dim('🐛 Found a bug? Report it: https://github.com/caopengau/aiready-context-analyzer/issues\n')
292
292
  );
293
293
  }
294
294
 
@@ -468,8 +468,8 @@ function generateHTMLReport(
468
468
 
469
469
  <div class="footer">
470
470
  <p>Generated by <strong>@aiready/context-analyzer</strong></p>
471
- <p>Like AIReady? <a href="https://github.com/caopengau/aiready">Star us on GitHub</a></p>
472
- <p>Found a bug? <a href="https://github.com/caopengau/aiready/issues">Report it here</a></p>
471
+ <p>Like AIReady? <a href="https://github.com/caopengau/aiready-context-analyzer">Star us on GitHub</a></p>
472
+ <p>Found a bug? <a href="https://github.com/caopengau/aiready-context-analyzer/issues">Report it here</a></p>
473
473
  </div>
474
474
  </body>
475
475
  </html>`;