@aiready/agent-grounding 0.13.6 → 0.13.8

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.6 build /Users/pengcao/projects/aiready/packages/agent-grounding
3
+ > @aiready/agent-grounding@0.13.8 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
@@ -9,16 +9,16 @@
9
9
  CLI Target: es2020
10
10
  CJS Build start
11
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 58ms
15
12
  ESM dist/index.mjs 1.18 KB
16
13
  ESM dist/cli.mjs 5.16 KB
17
14
  ESM dist/chunk-AWAS2KB5.mjs 9.83 KB
18
- ESM ⚡️ Build success in 58ms
15
+ ESM ⚡️ Build success in 97ms
16
+ CJS dist/index.js 12.30 KB
17
+ CJS dist/cli.js 16.65 KB
18
+ CJS ⚡️ Build success in 97ms
19
19
  DTS Build start
20
- DTS ⚡️ Build success in 1920ms
20
+ DTS ⚡️ Build success in 5674ms
21
21
  DTS dist/cli.d.ts 20.00 B
22
- DTS dist/index.d.ts 2.63 KB
22
+ DTS dist/index.d.ts 2.69 KB
23
23
  DTS dist/cli.d.mts 20.00 B
24
- DTS dist/index.d.mts 2.63 KB
24
+ DTS dist/index.d.mts 2.69 KB
@@ -1,18 +1,19 @@
1
1
 
2
2
  
3
- > @aiready/agent-grounding@0.13.5 test /Users/pengcao/projects/aiready/packages/agent-grounding
3
+ > @aiready/agent-grounding@0.13.7 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) 32ms
10
- ✓ src/__tests__/provider.test.ts (2 tests) 27ms
11
- ✓ src/__tests__/analyzer.test.ts (3 tests) 350ms
9
+ ✓ src/__tests__/provider.test.ts (2 tests) 3ms
10
+ ✓ src/__tests__/scoring.test.ts (2 tests) 1ms
11
+ ✓ src/__tests__/analyzer.test.ts (3 tests) 645ms
12
+ ✓ should detect deep directories and vague file names  322ms
12
13
 
13
14
   Test Files  3 passed (3)
14
15
   Tests  7 passed (7)
15
-  Start at  10:12:34
16
-  Duration  5.14s (transform 1.56s, setup 0ms, import 9.91s, tests 409ms, environment 0ms)
16
+  Start at  23:50:17
17
+  Duration  3.74s (transform 1.70s, setup 0ms, import 5.65s, tests 649ms, environment 2ms)
17
18
 
18
19
  [?25h
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 */
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 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiready/agent-grounding",
3
- "version": "0.13.6",
3
+ "version": "0.13.8",
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.7"
43
+ "@aiready/core": "0.23.9"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@types/node": "^24.0.0",
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 */