@aiready/agent-grounding 0.13.5 → 0.13.6

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/agent-grounding@0.13.5 build /Users/pengcao/projects/aiready/packages/agent-grounding
3
+ > @aiready/agent-grounding@0.13.6 build /Users/pengcao/projects/aiready/packages/agent-grounding
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
@@ -11,14 +11,14 @@
11
11
  ESM Build start
12
12
  CJS dist/cli.js 16.65 KB
13
13
  CJS dist/index.js 12.30 KB
14
- CJS ⚡️ Build success in 36ms
14
+ CJS ⚡️ Build success in 58ms
15
15
  ESM dist/index.mjs 1.18 KB
16
16
  ESM dist/cli.mjs 5.16 KB
17
17
  ESM dist/chunk-AWAS2KB5.mjs 9.83 KB
18
- ESM ⚡️ Build success in 36ms
18
+ ESM ⚡️ Build success in 58ms
19
19
  DTS Build start
20
- DTS ⚡️ Build success in 5302ms
20
+ DTS ⚡️ Build success in 1920ms
21
21
  DTS dist/cli.d.ts 20.00 B
22
- DTS dist/index.d.ts 2.54 KB
22
+ DTS dist/index.d.ts 2.63 KB
23
23
  DTS dist/cli.d.mts 20.00 B
24
- DTS dist/index.d.mts 2.54 KB
24
+ DTS dist/index.d.mts 2.63 KB
@@ -1,18 +1,18 @@
1
1
 
2
2
  
3
- > @aiready/agent-grounding@0.13.3 test /Users/pengcao/projects/aiready/packages/agent-grounding
3
+ > @aiready/agent-grounding@0.13.5 test /Users/pengcao/projects/aiready/packages/agent-grounding
4
4
  > vitest run
5
5
 
6
6
  [?25l
7
7
   RUN  v4.0.18 /Users/pengcao/projects/aiready/packages/agent-grounding
8
8
 
9
- ✓ src/__tests__/scoring.test.ts (2 tests) 1ms
10
- ✓ src/__tests__/provider.test.ts (2 tests) 3ms
11
- ✓ src/__tests__/analyzer.test.ts (3 tests) 175ms
9
+ ✓ src/__tests__/scoring.test.ts (2 tests) 32ms
10
+ ✓ src/__tests__/provider.test.ts (2 tests) 27ms
11
+ ✓ src/__tests__/analyzer.test.ts (3 tests) 350ms
12
12
 
13
13
   Test Files  3 passed (3)
14
14
   Tests  7 passed (7)
15
-  Start at  10:36:27
16
-  Duration  1.65s (transform 469ms, setup 0ms, import 2.64s, tests 179ms, environment 0ms)
15
+  Start at  10:12:34
16
+  Duration  5.14s (transform 1.56s, setup 0ms, import 9.91s, tests 409ms, environment 0ms)
17
17
 
18
18
  [?25h
package/dist/index.d.mts CHANGED
@@ -64,8 +64,11 @@ interface AgentGroundingReport {
64
64
  declare function analyzeAgentGrounding(options: AgentGroundingOptions): Promise<AgentGroundingReport>;
65
65
 
66
66
  /**
67
- * Convert agent grounding report into a ToolScoringOutput
68
- * for inclusion in the unified AIReady score.
67
+ * Convert agent grounding report into a ToolScoringOutput.
68
+ *
69
+ * @param report - The detailed agent grounding report.
70
+ * @returns Standardized scoring and risk factor breakdown.
71
+ * @lastUpdated 2026-03-18
69
72
  */
70
73
  declare function calculateGroundingScore(report: AgentGroundingReport): ToolScoringOutput;
71
74
 
package/dist/index.d.ts CHANGED
@@ -64,8 +64,11 @@ interface AgentGroundingReport {
64
64
  declare function analyzeAgentGrounding(options: AgentGroundingOptions): Promise<AgentGroundingReport>;
65
65
 
66
66
  /**
67
- * Convert agent grounding report into a ToolScoringOutput
68
- * for inclusion in the unified AIReady score.
67
+ * Convert agent grounding report into a ToolScoringOutput.
68
+ *
69
+ * @param report - The detailed agent grounding report.
70
+ * @returns Standardized scoring and risk factor breakdown.
71
+ * @lastUpdated 2026-03-18
69
72
  */
70
73
  declare function calculateGroundingScore(report: AgentGroundingReport): ToolScoringOutput;
71
74
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiready/agent-grounding",
3
- "version": "0.13.5",
3
+ "version": "0.13.6",
4
4
  "description": "Measures how well an AI agent can navigate a codebase autonomously without human assistance",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -40,7 +40,7 @@
40
40
  "chalk": "^5.3.0",
41
41
  "commander": "^14.0.0",
42
42
  "glob": "^13.0.0",
43
- "@aiready/core": "0.23.6"
43
+ "@aiready/core": "0.23.7"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@types/node": "^24.0.0",
package/src/scoring.ts CHANGED
@@ -2,8 +2,11 @@ import { type ToolScoringOutput, ToolName } from '@aiready/core';
2
2
  import type { AgentGroundingReport } from './types';
3
3
 
4
4
  /**
5
- * Convert agent grounding report into a ToolScoringOutput
6
- * for inclusion in the unified AIReady score.
5
+ * Convert agent grounding report into a ToolScoringOutput.
6
+ *
7
+ * @param report - The detailed agent grounding report.
8
+ * @returns Standardized scoring and risk factor breakdown.
9
+ * @lastUpdated 2026-03-18
7
10
  */
8
11
  export function calculateGroundingScore(
9
12
  report: AgentGroundingReport