@aiready/agent-grounding 0.14.0 → 0.14.2

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,5 +1,5 @@
1
1
 
2
- > @aiready/agent-grounding@0.14.0 build /Users/pengcao/projects/aiready/packages/agent-grounding
2
+ > @aiready/agent-grounding@0.14.2 build /Users/pengcao/projects/aiready/packages/agent-grounding
3
3
  > tsup src/index.ts src/cli.ts --format cjs,esm --dts
4
4
 
5
5
  CLI Building entry: src/cli.ts, src/index.ts
@@ -8,15 +8,15 @@ CLI tsup v8.5.1
8
8
  CLI Target: es2020
9
9
  CJS Build start
10
10
  ESM Build start
11
- ESM dist/index.mjs 1.18 KB
12
- ESM dist/chunk-FCCOCULS.mjs 8.61 KB
13
11
  ESM dist/cli.mjs 4.15 KB
14
- ESM ⚡️ Build success in 316ms
12
+ ESM dist/chunk-FCCOCULS.mjs 8.61 KB
13
+ ESM dist/index.mjs 1.18 KB
14
+ ESM ⚡️ Build success in 118ms
15
15
  CJS dist/index.js 11.04 KB
16
16
  CJS dist/cli.js 14.11 KB
17
- CJS ⚡️ Build success in 317ms
17
+ CJS ⚡️ Build success in 118ms
18
18
  DTS Build start
19
- DTS ⚡️ Build success in 5500ms
19
+ DTS ⚡️ Build success in 11454ms
20
20
  DTS dist/cli.d.ts 20.00 B
21
21
  DTS dist/index.d.ts 2.52 KB
22
22
  DTS dist/cli.d.mts 20.00 B
@@ -1,17 +1,81 @@
1
1
 
2
- > @aiready/agent-grounding@0.13.23 test /Users/pengcao/projects/aiready/packages/agent-grounding
2
+ > @aiready/agent-grounding@0.14.1 test /Users/pengcao/projects/aiready/packages/agent-grounding
3
3
  > vitest run
4
4
 
5
5
 
6
6
   RUN  v4.0.18 /Users/pengcao/projects/aiready/packages/agent-grounding
7
7
 
8
- ✓ src/__tests__/scoring.test.ts (2 tests) 2ms
9
- ✓ src/__tests__/provider.test.ts (2 tests) 3ms
10
- ✓ src/__tests__/analyzer.test.ts (3 tests) 644ms
11
- ✓ should detect missing READMEs in directories  370ms
8
+ ⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯
9
+ 
10
+ Vitest caught 3 unhandled errors during the test run.
11
+ This might cause false positive tests. Resolve unhandled errors to make sure your tests are not affected.
12
12
 
13
-  Test Files  3 passed (3)
14
-  Tests  7 passed (7)
15
-  Start at  15:17:50
16
-  Duration  3.62s (transform 2.55s, setup 0ms, import 6.72s, tests 649ms, environment 0ms)
13
+ ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯
14
+ Error: [vitest-pool]: Worker forks emitted error.
15
+  ❯ EventEmitter.<anonymous> ../../node_modules/.pnpm/vitest@4.0.18_@opentelemetry+api@1.9.0_@types+node@24.12.0_jiti@2.6.1_jsdom@29.0.1_ligh_31f3b106720f26894d735ccbd020532a/node_modules/vitest/dist/chunks/cli-api.B7PN_QUv.js:8043:22
16
+  ❯ EventEmitter.emit node:events:508:20
17
+  ❯ ChildProcess.emitWorkerError ../../node_modules/.pnpm/vitest@4.0.18_@opentelemetry+api@1.9.0_@types+node@24.12.0_jiti@2.6.1_jsdom@29.0.1_ligh_31f3b106720f26894d735ccbd020532a/node_modules/vitest/dist/chunks/cli-api.B7PN_QUv.js:7597:22
18
+  ❯ ChildProcess.emit node:events:508:20
19
+  ❯ node:internal/child_process:888:39
20
+  ❯ processTicksAndRejections node:internal/process/task_queues:85:11
17
21
 
22
+ Caused by: Error: write EPIPE
23
+  ❯ ChildProcess.target._send node:internal/child_process:884:20
24
+  ❯ ChildProcess.target.send node:internal/child_process:759:19
25
+  ❯ ForksPoolWorker.send ../../node_modules/.pnpm/vitest@4.0.18_@opentelemetry+api@1.9.0_@types+node@24.12.0_jiti@2.6.1_jsdom@29.0.1_ligh_31f3b106720f26894d735ccbd020532a/node_modules/vitest/dist/chunks/cli-api.B7PN_QUv.js:7666:13
26
+  ❯ PoolRunner.postMessage ../../node_modules/.pnpm/vitest@4.0.18_@opentelemetry+api@1.9.0_@types+node@24.12.0_jiti@2.6.1_jsdom@29.0.1_ligh_31f3b106720f26894d735ccbd020532a/node_modules/vitest/dist/chunks/cli-api.B7PN_QUv.js:7448:63
27
+  ❯ PoolRunner.start ../../node_modules/.pnpm/vitest@4.0.18_@opentelemetry+api@1.9.0_@types+node@24.12.0_jiti@2.6.1_jsdom@29.0.1_ligh_31f3b106720f26894d735ccbd020532a/node_modules/vitest/dist/chunks/cli-api.B7PN_QUv.js:7497:9
28
+  ❯ Pool.schedule ../../node_modules/.pnpm/vitest@4.0.18_@opentelemetry+api@1.9.0_@types+node@24.12.0_jiti@2.6.1_jsdom@29.0.1_ligh_31f3b106720f26894d735ccbd020532a/node_modules/vitest/dist/chunks/cli-api.B7PN_QUv.js:8046:5
29
+
30
+ ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
31
+ Serialized Error: { errno: -32, code: 'EPIPE', syscall: 'write' }
32
+
33
+ ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯
34
+ Error: [vitest-pool]: Worker forks emitted error.
35
+  ❯ EventEmitter.<anonymous> ../../node_modules/.pnpm/vitest@4.0.18_@opentelemetry+api@1.9.0_@types+node@24.12.0_jiti@2.6.1_jsdom@29.0.1_ligh_31f3b106720f26894d735ccbd020532a/node_modules/vitest/dist/chunks/cli-api.B7PN_QUv.js:8043:22
36
+  ❯ EventEmitter.emit node:events:508:20
37
+  ❯ ChildProcess.emitWorkerError ../../node_modules/.pnpm/vitest@4.0.18_@opentelemetry+api@1.9.0_@types+node@24.12.0_jiti@2.6.1_jsdom@29.0.1_ligh_31f3b106720f26894d735ccbd020532a/node_modules/vitest/dist/chunks/cli-api.B7PN_QUv.js:7597:22
38
+  ❯ ChildProcess.emit node:events:508:20
39
+  ❯ node:internal/child_process:888:39
40
+  ❯ processTicksAndRejections node:internal/process/task_queues:85:11
41
+
42
+ Caused by: Error: write EPIPE
43
+  ❯ ChildProcess.target._send node:internal/child_process:884:20
44
+  ❯ ChildProcess.target.send node:internal/child_process:759:19
45
+  ❯ ForksPoolWorker.send ../../node_modules/.pnpm/vitest@4.0.18_@opentelemetry+api@1.9.0_@types+node@24.12.0_jiti@2.6.1_jsdom@29.0.1_ligh_31f3b106720f26894d735ccbd020532a/node_modules/vitest/dist/chunks/cli-api.B7PN_QUv.js:7666:13
46
+  ❯ PoolRunner.postMessage ../../node_modules/.pnpm/vitest@4.0.18_@opentelemetry+api@1.9.0_@types+node@24.12.0_jiti@2.6.1_jsdom@29.0.1_ligh_31f3b106720f26894d735ccbd020532a/node_modules/vitest/dist/chunks/cli-api.B7PN_QUv.js:7448:63
47
+  ❯ PoolRunner.start ../../node_modules/.pnpm/vitest@4.0.18_@opentelemetry+api@1.9.0_@types+node@24.12.0_jiti@2.6.1_jsdom@29.0.1_ligh_31f3b106720f26894d735ccbd020532a/node_modules/vitest/dist/chunks/cli-api.B7PN_QUv.js:7497:9
48
+  ❯ Pool.schedule ../../node_modules/.pnpm/vitest@4.0.18_@opentelemetry+api@1.9.0_@types+node@24.12.0_jiti@2.6.1_jsdom@29.0.1_ligh_31f3b106720f26894d735ccbd020532a/node_modules/vitest/dist/chunks/cli-api.B7PN_QUv.js:8046:5
49
+
50
+ ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
51
+ Serialized Error: { errno: -32, code: 'EPIPE', syscall: 'write' }
52
+
53
+ ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯
54
+ Error: [vitest-pool]: Worker forks emitted error.
55
+  ❯ EventEmitter.<anonymous> ../../node_modules/.pnpm/vitest@4.0.18_@opentelemetry+api@1.9.0_@types+node@24.12.0_jiti@2.6.1_jsdom@29.0.1_ligh_31f3b106720f26894d735ccbd020532a/node_modules/vitest/dist/chunks/cli-api.B7PN_QUv.js:8043:22
56
+  ❯ EventEmitter.emit node:events:508:20
57
+  ❯ ChildProcess.emitWorkerError ../../node_modules/.pnpm/vitest@4.0.18_@opentelemetry+api@1.9.0_@types+node@24.12.0_jiti@2.6.1_jsdom@29.0.1_ligh_31f3b106720f26894d735ccbd020532a/node_modules/vitest/dist/chunks/cli-api.B7PN_QUv.js:7597:22
58
+  ❯ ChildProcess.emit node:events:508:20
59
+  ❯ node:internal/child_process:888:39
60
+  ❯ processTicksAndRejections node:internal/process/task_queues:85:11
61
+
62
+ Caused by: Error: write EPIPE
63
+  ❯ ChildProcess.target._send node:internal/child_process:884:20
64
+  ❯ ChildProcess.target.send node:internal/child_process:759:19
65
+  ❯ ForksPoolWorker.send ../../node_modules/.pnpm/vitest@4.0.18_@opentelemetry+api@1.9.0_@types+node@24.12.0_jiti@2.6.1_jsdom@29.0.1_ligh_31f3b106720f26894d735ccbd020532a/node_modules/vitest/dist/chunks/cli-api.B7PN_QUv.js:7666:13
66
+  ❯ PoolRunner.postMessage ../../node_modules/.pnpm/vitest@4.0.18_@opentelemetry+api@1.9.0_@types+node@24.12.0_jiti@2.6.1_jsdom@29.0.1_ligh_31f3b106720f26894d735ccbd020532a/node_modules/vitest/dist/chunks/cli-api.B7PN_QUv.js:7448:63
67
+  ❯ PoolRunner.start ../../node_modules/.pnpm/vitest@4.0.18_@opentelemetry+api@1.9.0_@types+node@24.12.0_jiti@2.6.1_jsdom@29.0.1_ligh_31f3b106720f26894d735ccbd020532a/node_modules/vitest/dist/chunks/cli-api.B7PN_QUv.js:7497:9
68
+  ❯ Pool.schedule ../../node_modules/.pnpm/vitest@4.0.18_@opentelemetry+api@1.9.0_@types+node@24.12.0_jiti@2.6.1_jsdom@29.0.1_ligh_31f3b106720f26894d735ccbd020532a/node_modules/vitest/dist/chunks/cli-api.B7PN_QUv.js:8046:5
69
+
70
+ ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
71
+ Serialized Error: { errno: -32, code: 'EPIPE', syscall: 'write' }
72
+ ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
73
+
74
+
75
+  Test Files  no tests
76
+  Tests  no tests
77
+  Errors  3 errors
78
+  Start at  14:03:22
79
+  Duration  113ms (transform 0ms, setup 0ms, import 0ms, tests 0ms, environment 0ms)
80
+
81
+  ELIFECYCLE  Test failed. See above for more details.
package/README.md CHANGED
@@ -16,11 +16,11 @@ AI agents are only as good as the context they are given. The **Agent Grounding*
16
16
 
17
17
 
18
18
  🎛️ @aiready/cli (orchestrator)
19
- │ │ │ │ │ │ │ │ │
20
- ▼ ▼ ▼ ▼ ▼ ▼ ▼ ▼ ▼
21
- [PAT] [CTX] [CON] [AMP] [DEP] [DOC] [SIG] [AGT] [TST]
22
- │ │ │ │ │ │ │ │ │
23
- └─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
19
+ │ │ │ │ │ │ │ │ │
20
+ ▼ ▼ ▼ ▼ ▼ ▼ ▼ ▼ ▼
21
+ [PAT] [CTX] [CON] [AMP] [DEP] [DOC] [SIG] [AGT] [TST] [CTR]
22
+ │ │ │ │ │ │ │ │ │
23
+ └─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
24
24
 
25
25
 
26
26
  🏢 @aiready/core
@@ -30,7 +30,8 @@ Legend:
30
30
  CON = consistency AMP = change-amplification
31
31
  DEP = deps-health DOC = doc-drift
32
32
  SIG = ai-signal-clarity AGT = agent-grounding ★
33
- TST = testability = YOU ARE HERE
33
+ TST = testability CTR = contract-enforcement
34
+ ★ = YOU ARE HERE
34
35
  ```
35
36
 
36
37
  ## Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiready/agent-grounding",
3
- "version": "0.14.0",
3
+ "version": "0.14.2",
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.24.0"
43
+ "@aiready/core": "0.24.2"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@types/node": "^24.0.0",