@aiready/agent-grounding 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/agent-grounding@0.13.5 build /Users/pengcao/projects/aiready/packages/agent-grounding
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/cli.js 16.65 KB
13
- CJS dist/index.js 12.30 KB
14
- CJS ⚡️ Build success in 36ms
15
- ESM dist/index.mjs 1.18 KB
16
- ESM dist/cli.mjs 5.16 KB
17
- ESM dist/chunk-AWAS2KB5.mjs 9.83 KB
18
- ESM ⚡️ Build success in 36ms
19
- DTS Build start
20
- DTS ⚡️ Build success in 5302ms
21
- DTS dist/cli.d.ts 20.00 B
22
- DTS dist/index.d.ts 2.54 KB
23
- DTS dist/cli.d.mts 20.00 B
24
- DTS dist/index.d.mts 2.54 KB
1
+
2
+ > @aiready/agent-grounding@0.13.7 build /Users/pengcao/projects/aiready/packages/agent-grounding
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
+ CJS dist/index.js 12.30 KB
12
+ CJS dist/cli.js 16.65 KB
13
+ CJS ⚡️ Build success in 166ms
14
+ ESM dist/index.mjs 1.18 KB
15
+ ESM dist/cli.mjs 5.16 KB
16
+ ESM dist/chunk-AWAS2KB5.mjs 9.83 KB
17
+ ESM ⚡️ Build success in 180ms
18
+ DTS Build start
19
+ DTS ⚡️ Build success in 4947ms
20
+ DTS dist/cli.d.ts 20.00 B
21
+ DTS dist/index.d.ts 2.69 KB
22
+ DTS dist/cli.d.mts 20.00 B
23
+ DTS dist/index.d.mts 2.69 KB
@@ -1,18 +1,16 @@
1
-
2
- 
3
- > @aiready/agent-grounding@0.13.3 test /Users/pengcao/projects/aiready/packages/agent-grounding
4
- > vitest run
5
-
6
- [?25l
7
-  RUN  v4.0.18 /Users/pengcao/projects/aiready/packages/agent-grounding
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
12
-
13
-  Test Files  3 passed (3)
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)
17
-
18
- [?25h
1
+
2
+ > @aiready/agent-grounding@0.13.6 test /Users/pengcao/projects/aiready/packages/agent-grounding
3
+ > vitest run
4
+
5
+
6
+  RUN  v4.0.18 /Users/pengcao/projects/aiready/packages/agent-grounding
7
+
8
+ ✓ src/__tests__/scoring.test.ts (2 tests) 37ms
9
+ ✓ src/__tests__/provider.test.ts (2 tests) 12ms
10
+ ✓ src/__tests__/analyzer.test.ts (3 tests) 265ms
11
+
12
+  Test Files  3 passed (3)
13
+  Tests  7 passed (7)
14
+  Start at  15:20:15
15
+  Duration  3.17s (transform 686ms, setup 0ms, import 5.87s, tests 314ms, environment 0ms)
16
+
package/dist/index.d.mts CHANGED
@@ -7,6 +7,8 @@ import { Issue, IssueType, ScanOptions, ToolScoringOutput } from '@aiready/core'
7
7
  declare const AgentGroundingProvider: _aiready_core.ToolProvider;
8
8
 
9
9
  interface AgentGroundingOptions extends ScanOptions {
10
+ /** Root directory for analysis */
11
+ rootDir: string;
10
12
  /** Max directory depth before flagging as "too deep" */
11
13
  maxRecommendedDepth?: number;
12
14
  /** README staleness threshold in days */
@@ -64,8 +66,11 @@ interface AgentGroundingReport {
64
66
  declare function analyzeAgentGrounding(options: AgentGroundingOptions): Promise<AgentGroundingReport>;
65
67
 
66
68
  /**
67
- * Convert agent grounding report into a ToolScoringOutput
68
- * for inclusion in the unified AIReady score.
69
+ * Convert agent grounding report into a ToolScoringOutput.
70
+ *
71
+ * @param report - The detailed agent grounding report.
72
+ * @returns Standardized scoring and risk factor breakdown.
73
+ * @lastUpdated 2026-03-18
69
74
  */
70
75
  declare function calculateGroundingScore(report: AgentGroundingReport): ToolScoringOutput;
71
76
 
package/dist/index.d.ts CHANGED
@@ -7,6 +7,8 @@ import { Issue, IssueType, ScanOptions, ToolScoringOutput } from '@aiready/core'
7
7
  declare const AgentGroundingProvider: _aiready_core.ToolProvider;
8
8
 
9
9
  interface AgentGroundingOptions extends ScanOptions {
10
+ /** Root directory for analysis */
11
+ rootDir: string;
10
12
  /** Max directory depth before flagging as "too deep" */
11
13
  maxRecommendedDepth?: number;
12
14
  /** README staleness threshold in days */
@@ -64,8 +66,11 @@ interface AgentGroundingReport {
64
66
  declare function analyzeAgentGrounding(options: AgentGroundingOptions): Promise<AgentGroundingReport>;
65
67
 
66
68
  /**
67
- * Convert agent grounding report into a ToolScoringOutput
68
- * for inclusion in the unified AIReady score.
69
+ * Convert agent grounding report into a ToolScoringOutput.
70
+ *
71
+ * @param report - The detailed agent grounding report.
72
+ * @returns Standardized scoring and risk factor breakdown.
73
+ * @lastUpdated 2026-03-18
69
74
  */
70
75
  declare function calculateGroundingScore(report: AgentGroundingReport): ToolScoringOutput;
71
76
 
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.7",
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.8"
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
package/src/types.ts CHANGED
@@ -1,6 +1,8 @@
1
1
  import type { ScanOptions, Issue, IssueType } from '@aiready/core';
2
2
 
3
3
  export interface AgentGroundingOptions extends ScanOptions {
4
+ /** Root directory for analysis */
5
+ rootDir: string;
4
6
  /** Max directory depth before flagging as "too deep" */
5
7
  maxRecommendedDepth?: number;
6
8
  /** README staleness threshold in days */