@aiready/change-amplification 0.13.5 → 0.13.7

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,24 +1,23 @@
1
-
2
- 
3
- > @aiready/change-amplification@0.13.5 build /Users/pengcao/projects/aiready/packages/change-amplification
4
- > tsup src/index.ts src/cli.ts --format cjs,esm --dts
5
-
6
- CLI Building entry: src/cli.ts, src/index.ts
7
- CLI Using tsconfig: tsconfig.json
8
- CLI tsup v8.5.1
9
- CLI Target: es2020
10
- CJS Build start
11
- ESM Build start
12
- CJS dist/index.js 7.93 KB
13
- CJS dist/cli.js 9.02 KB
14
- CJS ⚡️ Build success in 189ms
15
- ESM dist/chunk-OBBL7HKE.mjs 4.82 KB
16
- ESM dist/index.mjs 1.72 KB
17
- ESM dist/cli.mjs 2.78 KB
18
- ESM ⚡️ Build success in 189ms
19
- DTS Build start
20
- DTS ⚡️ Build success in 5849ms
21
- DTS dist/cli.d.ts 152.00 B
22
- DTS dist/index.d.ts 1.14 KB
23
- DTS dist/cli.d.mts 152.00 B
24
- DTS dist/index.d.mts 1.14 KB
1
+
2
+ > @aiready/change-amplification@0.13.7 build /Users/pengcao/projects/aiready/packages/change-amplification
3
+ > tsup src/index.ts src/cli.ts --format cjs,esm --dts
4
+
5
+ CLI Building entry: src/cli.ts, src/index.ts
6
+ CLI Using tsconfig: tsconfig.json
7
+ CLI tsup v8.5.1
8
+ CLI Target: es2020
9
+ CJS Build start
10
+ ESM Build start
11
+ ESM dist/cli.mjs 2.78 KB
12
+ ESM dist/chunk-OBBL7HKE.mjs 4.82 KB
13
+ ESM dist/index.mjs 1.72 KB
14
+ ESM ⚡️ Build success in 34ms
15
+ CJS dist/cli.js 9.02 KB
16
+ CJS dist/index.js 7.93 KB
17
+ CJS ⚡️ Build success in 34ms
18
+ DTS Build start
19
+ DTS ⚡️ Build success in 5958ms
20
+ DTS dist/cli.d.ts 152.00 B
21
+ DTS dist/index.d.ts 1.30 KB
22
+ DTS dist/cli.d.mts 152.00 B
23
+ DTS dist/index.d.mts 1.30 KB
@@ -1,24 +1,22 @@
1
-
2
- 
3
- > @aiready/change-amplification@0.13.3 test /Users/pengcao/projects/aiready/packages/change-amplification
4
- > vitest run
5
-
6
- [?25l
7
-  RUN  v4.0.18 /Users/pengcao/projects/aiready/packages/change-amplification
8
-
9
- ✓ src/__tests__/dummy.test.ts (1 test) 1ms
10
- ✓ src/__tests__/cli.test.ts (2 tests) 2ms
11
- stdout | src/__tests__/analyzer.test.ts > analyzeChangeAmplification reproduction > should see how it gets to 0
12
- Resulting score for highly coupled: 27
13
- Rating: explosive
14
-
15
- ✓ src/__tests__/provider.test.ts (2 tests) 5ms
16
- ✓ src/__tests__/scoring.test.ts (2 tests) 2ms
17
- ✓ src/__tests__/analyzer.test.ts (2 tests) 4ms
18
-
19
-  Test Files  5 passed (5)
20
-  Tests  9 passed (9)
21
-  Start at  10:36:27
22
-  Duration  1.50s (transform 732ms, setup 0ms, import 2.82s, tests 13ms, environment 0ms)
23
-
24
- [?25h
1
+
2
+ > @aiready/change-amplification@0.13.6 test /Users/pengcao/projects/aiready/packages/change-amplification
3
+ > vitest run
4
+
5
+
6
+  RUN  v4.0.18 /Users/pengcao/projects/aiready/packages/change-amplification
7
+
8
+ ✓ src/__tests__/dummy.test.ts (1 test) 1ms
9
+ ✓ src/__tests__/cli.test.ts (2 tests) 2ms
10
+ ✓ src/__tests__/scoring.test.ts (2 tests) 2ms
11
+ ✓ src/__tests__/provider.test.ts (2 tests) 5ms
12
+ stdout | src/__tests__/analyzer.test.ts > analyzeChangeAmplification reproduction > should see how it gets to 0
13
+ Resulting score for highly coupled: 27
14
+ Rating: explosive
15
+
16
+ ✓ src/__tests__/analyzer.test.ts (2 tests) 11ms
17
+
18
+  Test Files  5 passed (5)
19
+  Tests  9 passed (9)
20
+  Start at  15:20:19
21
+  Duration  984ms (transform 362ms, setup 0ms, import 1.99s, tests 21ms, environment 2ms)
22
+
package/dist/index.d.mts CHANGED
@@ -20,7 +20,11 @@ interface ChangeAmplificationReport extends SpokeOutput {
20
20
  declare function analyzeChangeAmplification(options: ChangeAmplificationOptions): Promise<ChangeAmplificationReport>;
21
21
 
22
22
  /**
23
- * Convert change amplification report into a ToolScoringOutput.
23
+ * Convert change amplification report into a standardized ToolScoringOutput.
24
+ *
25
+ * @param report - The detailed change amplification report.
26
+ * @returns Standardized scoring and risk factor breakdown.
27
+ * @lastUpdated 2026-03-18
24
28
  */
25
29
  declare function calculateChangeAmplificationScore(report: ChangeAmplificationReport): ToolScoringOutput;
26
30
 
package/dist/index.d.ts CHANGED
@@ -20,7 +20,11 @@ interface ChangeAmplificationReport extends SpokeOutput {
20
20
  declare function analyzeChangeAmplification(options: ChangeAmplificationOptions): Promise<ChangeAmplificationReport>;
21
21
 
22
22
  /**
23
- * Convert change amplification report into a ToolScoringOutput.
23
+ * Convert change amplification report into a standardized ToolScoringOutput.
24
+ *
25
+ * @param report - The detailed change amplification report.
26
+ * @returns Standardized scoring and risk factor breakdown.
27
+ * @lastUpdated 2026-03-18
24
28
  */
25
29
  declare function calculateChangeAmplificationScore(report: ChangeAmplificationReport): ToolScoringOutput;
26
30
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiready/change-amplification",
3
- "version": "0.13.5",
3
+ "version": "0.13.7",
4
4
  "description": "AI-Readiness: Change Amplification Detection",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -10,7 +10,7 @@
10
10
  "commander": "^14.0.0",
11
11
  "glob": "^13.0.0",
12
12
  "chalk": "^5.3.0",
13
- "@aiready/core": "0.23.6"
13
+ "@aiready/core": "0.23.8"
14
14
  },
15
15
  "devDependencies": {
16
16
  "@types/node": "^24.0.0",
package/src/scoring.ts CHANGED
@@ -3,7 +3,11 @@ import type { ToolScoringOutput } from '@aiready/core';
3
3
  import type { ChangeAmplificationReport } from './types';
4
4
 
5
5
  /**
6
- * Convert change amplification report into a ToolScoringOutput.
6
+ * Convert change amplification report into a standardized ToolScoringOutput.
7
+ *
8
+ * @param report - The detailed change amplification report.
9
+ * @returns Standardized scoring and risk factor breakdown.
10
+ * @lastUpdated 2026-03-18
7
11
  */
8
12
  export function calculateChangeAmplificationScore(
9
13
  report: ChangeAmplificationReport