@wix/pathgrade 1.0.39 → 1.0.41
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/README.md +6 -6
- package/dist/adapters/jest/results.d.ts +1 -0
- package/dist/adapters/jest/results.js +36 -14
- package/dist/adapters/jest/runner-adapter.d.ts +1 -0
- package/dist/adapters/jest/runner-adapter.js +5 -1
- package/dist/adapters/node-test/runner-adapter.js +6 -5
- package/dist/affected/meta.d.ts +4 -1
- package/dist/affected/meta.js +9 -5
- package/dist/affected/select.js +1 -1
- package/dist/commands/report.js +1 -2
- package/dist/reporting/comparison-contract.d.ts +3 -2
- package/dist/reporting/comparison-contract.js +66 -33
- package/dist/reporting/core.js +18 -1
- package/dist/reporting/reliability-contract.d.ts +1 -0
- package/dist/reporting/report-parser.js +68 -3
- package/dist/reporting/source-metadata.d.ts +3 -0
- package/dist/reporting/source-metadata.js +67 -2
- package/dist/reporting/types.d.ts +3 -0
- package/dist/runners/model-builders.d.ts +1 -0
- package/dist/runners/model-builders.js +36 -12
- package/dist/runners/model.d.ts +2 -0
- package/dist/runners/report-projection.js +83 -0
- package/dist/runners/vitest-adapter.js +6 -2
- package/dist/sdk/evaluate.js +1 -1
- package/dist/sdk/index.d.ts +1 -1
- package/dist/sdk/index.js +1 -1
- package/dist/sdk/mcp-evidence.d.ts +4 -0
- package/dist/sdk/mcp-evidence.js +39 -14
- package/dist/sdk/run-scorer.js +10 -0
- package/dist/sdk/scorers.d.ts +5 -0
- package/dist/sdk/scorers.js +4 -0
- package/dist/sdk/tool-event-log.js +31 -1
- package/dist/sdk/tool-event-secrets.js +1 -0
- package/dist/sdk/types.d.ts +2 -1
- package/dist/tool-events.d.ts +2 -0
- package/dist/types.d.ts +5 -2
- package/package.json +2 -2
package/dist/types.d.ts
CHANGED
|
@@ -207,7 +207,7 @@ export interface EvalReport {
|
|
|
207
207
|
skills_used: string[];
|
|
208
208
|
}
|
|
209
209
|
export type ComparisonUnavailableReason = 'definition_metadata_missing' | 'scorer_metadata_missing' | 'runtime_metadata_missing' | 'sampling_incomplete';
|
|
210
|
-
export interface
|
|
210
|
+
export interface ComparisonContractV1 {
|
|
211
211
|
version: 1;
|
|
212
212
|
definition_revision?: string;
|
|
213
213
|
scorer_revision?: string;
|
|
@@ -216,6 +216,7 @@ export interface ComparisonContract {
|
|
|
216
216
|
report_schema_revision: 'pathgrade-results-v2';
|
|
217
217
|
unavailable_reasons?: ComparisonUnavailableReason[];
|
|
218
218
|
}
|
|
219
|
+
export type ComparisonContract = ComparisonContractV1 | import('./reporting/reliability-contract.js').ComparisonContractV2;
|
|
219
220
|
/**
|
|
220
221
|
* TrialResult with large trace fields stripped. These fields
|
|
221
222
|
* live only in the per-group trace files; the consolidated results.json keeps
|
|
@@ -260,7 +261,7 @@ export interface PathgradeSelectionReport {
|
|
|
260
261
|
* external consumers can gate on schema revisions.
|
|
261
262
|
*/
|
|
262
263
|
export interface PathgradeReport {
|
|
263
|
-
version: 1 | 2;
|
|
264
|
+
version: 1 | 2 | 3;
|
|
264
265
|
timestamp: string;
|
|
265
266
|
/** `ci.threshold` from Pathgrade config or legacy plugin config, if configured. */
|
|
266
267
|
threshold?: number;
|
|
@@ -279,6 +280,8 @@ export interface PathgradeReport {
|
|
|
279
280
|
/** Agent Evals compatibility manifest when changed selection finds no runnable evals. */
|
|
280
281
|
run_kind?: 'evaluation' | 'no-affected';
|
|
281
282
|
groups: PathgradeGroupReport[];
|
|
283
|
+
/** Current selected-task accounting, required for schema-v3 reports. */
|
|
284
|
+
task_inventory?: import('./reporting/reliability-contract.js').TaskInventory;
|
|
282
285
|
/**
|
|
283
286
|
* Present when `pathgrade run --changed` produced the run. Absent on
|
|
284
287
|
* plain `pathgrade run`. Backward compatible — older consumers ignore
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/pathgrade",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.41",
|
|
4
4
|
"packageManager": "yarn@4.12.0",
|
|
5
5
|
"description": "Evaluate whether AI agents discover and use your skills correctly",
|
|
6
6
|
"exports": {
|
|
@@ -142,5 +142,5 @@
|
|
|
142
142
|
"typescript": "^5.9.3",
|
|
143
143
|
"zod": "4.3.6"
|
|
144
144
|
},
|
|
145
|
-
"falconPackageHash": "
|
|
145
|
+
"falconPackageHash": "822c8c34dcca760d0a38f3aac08901b0b047cf1f45d18b410ec3df37"
|
|
146
146
|
}
|