@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.
- package/.turbo/turbo-build.log +6 -6
- package/.turbo/turbo-test.log +6 -6
- package/dist/index.d.mts +5 -2
- package/dist/index.d.ts +5 -2
- package/package.json +2 -2
- package/src/scoring.ts +5 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
> @aiready/agent-grounding@0.13.
|
|
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
|
[34mCLI[39m Building entry: src/cli.ts, src/index.ts
|
|
@@ -11,14 +11,14 @@
|
|
|
11
11
|
[34mESM[39m Build start
|
|
12
12
|
[32mCJS[39m [1mdist/cli.js [22m[32m16.65 KB[39m
|
|
13
13
|
[32mCJS[39m [1mdist/index.js [22m[32m12.30 KB[39m
|
|
14
|
-
[32mCJS[39m ⚡️ Build success in
|
|
14
|
+
[32mCJS[39m ⚡️ Build success in 58ms
|
|
15
15
|
[32mESM[39m [1mdist/index.mjs [22m[32m1.18 KB[39m
|
|
16
16
|
[32mESM[39m [1mdist/cli.mjs [22m[32m5.16 KB[39m
|
|
17
17
|
[32mESM[39m [1mdist/chunk-AWAS2KB5.mjs [22m[32m9.83 KB[39m
|
|
18
|
-
[32mESM[39m ⚡️ Build success in
|
|
18
|
+
[32mESM[39m ⚡️ Build success in 58ms
|
|
19
19
|
DTS Build start
|
|
20
|
-
DTS ⚡️ Build success in
|
|
20
|
+
DTS ⚡️ Build success in 1920ms
|
|
21
21
|
DTS dist/cli.d.ts 20.00 B
|
|
22
|
-
DTS dist/index.d.ts 2.
|
|
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.
|
|
24
|
+
DTS dist/index.d.mts 2.63 KB
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
> @aiready/agent-grounding@0.13.
|
|
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
|
[1m[46m RUN [49m[22m [36mv4.0.18 [39m[90m/Users/pengcao/projects/aiready/packages/agent-grounding[39m
|
|
8
8
|
|
|
9
|
-
[32m✓[39m src/__tests__/scoring.test.ts [2m([22m[2m2 tests[22m[2m)[22m[32m
|
|
10
|
-
[32m✓[39m src/__tests__/provider.test.ts [2m([22m[2m2 tests[22m[2m)[22m[32m
|
|
11
|
-
[32m✓[39m src/__tests__/analyzer.test.ts [2m([22m[2m3 tests[22m[2m)[22m[
|
|
9
|
+
[32m✓[39m src/__tests__/scoring.test.ts [2m([22m[2m2 tests[22m[2m)[22m[32m 32[2mms[22m[39m
|
|
10
|
+
[32m✓[39m src/__tests__/provider.test.ts [2m([22m[2m2 tests[22m[2m)[22m[32m 27[2mms[22m[39m
|
|
11
|
+
[32m✓[39m src/__tests__/analyzer.test.ts [2m([22m[2m3 tests[22m[2m)[22m[33m 350[2mms[22m[39m
|
|
12
12
|
|
|
13
13
|
[2m Test Files [22m [1m[32m3 passed[39m[22m[90m (3)[39m
|
|
14
14
|
[2m Tests [22m [1m[32m7 passed[39m[22m[90m (7)[39m
|
|
15
|
-
[2m Start at [22m 10:
|
|
16
|
-
[2m Duration [22m
|
|
15
|
+
[2m Start at [22m 10:12:34
|
|
16
|
+
[2m Duration [22m 5.14s[2m (transform 1.56s, setup 0ms, import 9.91s, tests 409ms, environment 0ms)[22m
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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.
|
|
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.
|
|
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
|
-
*
|
|
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
|