oh-my-knowledge 1.0.0-beta.0 → 1.0.0-beta.1

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.
Files changed (23) hide show
  1. package/dist/eval-core/contracts/json-schema.js +3 -3
  2. package/dist/eval-core/contracts/schemas/v1/analysis-bundle.schema.json +1 -1
  3. package/dist/eval-core/contracts/schemas/v1/analysis-plan.schema.json +1 -1
  4. package/dist/eval-core/contracts/schemas/v1/budget-summary.schema.json +1 -1
  5. package/dist/eval-core/contracts/schemas/v1/comparability-assessment.schema.json +1 -1
  6. package/dist/eval-core/contracts/schemas/v1/comparability-policy.schema.json +1 -1
  7. package/dist/eval-core/contracts/schemas/v1/decision-plan.schema.json +1 -1
  8. package/dist/eval-core/contracts/schemas/v1/evaluation-bundle.schema.json +1 -1
  9. package/dist/eval-core/contracts/schemas/v1/evaluation-definition.schema.json +1 -1
  10. package/dist/eval-core/contracts/schemas/v1/evaluation-event.schema.json +1 -1
  11. package/dist/eval-core/contracts/schemas/v1/evaluation-plan.schema.json +1 -1
  12. package/dist/eval-core/contracts/schemas/v1/evaluation-report.schema.json +1 -1
  13. package/dist/eval-core/contracts/schemas/v1/evaluation-series-definition.schema.json +1 -1
  14. package/dist/eval-core/contracts/schemas/v1/evaluation-series-plan.schema.json +1 -1
  15. package/dist/eval-core/contracts/schemas/v1/evaluation-series-report.schema.json +1 -1
  16. package/dist/eval-core/contracts/schemas/v1/execution-bundle.schema.json +1 -1
  17. package/dist/eval-core/contracts/schemas/v1/execution-facts.schema.json +1 -1
  18. package/dist/eval-core/contracts/schemas/v1/execution-plan.schema.json +1 -1
  19. package/dist/eval-core/contracts/schemas/v1/executor-capabilities.schema.json +1 -1
  20. package/dist/eval-core/contracts/schemas/v1/measurement-policy.schema.json +1 -1
  21. package/dist/eval-core/contracts/schemas/v1/run-plan.schema.json +1 -1
  22. package/dist/eval-core/contracts/schemas/v1/series-analysis-bundle.schema.json +1 -1
  23. package/package.json +2 -2
@@ -121,9 +121,9 @@ export const WIRE_SCHEMA_CATALOG = [
121
121
  includedInRunContract: false,
122
122
  },
123
123
  ];
124
- // `$id` is the stable document identity established by the published v1 contract. It is
125
- // intentionally independent from the current catalog retrieval path under `schemas/eval-core`.
126
- const SCHEMA_BASE_URI = 'https://raw.githubusercontent.com/lizhiyao/oh-my-knowledge/main/schemas/evaluation-core/v1';
124
+ // Keep the public identity aligned with the canonical catalog location so schema tooling can
125
+ // resolve the identifier instead of treating a stale repository path as an opaque URI.
126
+ const SCHEMA_BASE_URI = 'https://raw.githubusercontent.com/lizhiyao/oh-my-knowledge/main/schemas/eval-core/v1';
127
127
  function assertNoEmptySchemaNode(value, path = '$') {
128
128
  if (Array.isArray(value)) {
129
129
  value.forEach((entry, index) => assertNoEmptySchemaNode(entry, `${path}[${index}]`));
@@ -933,7 +933,7 @@
933
933
  "type": "string"
934
934
  }
935
935
  },
936
- "$id": "https://raw.githubusercontent.com/lizhiyao/oh-my-knowledge/main/schemas/evaluation-core/v1/analysis-bundle.schema.json",
936
+ "$id": "https://raw.githubusercontent.com/lizhiyao/oh-my-knowledge/main/schemas/eval-core/v1/analysis-bundle.schema.json",
937
937
  "$schema": "https://json-schema.org/draft/2020-12/schema",
938
938
  "additionalProperties": false,
939
939
  "properties": {
@@ -830,7 +830,7 @@
830
830
  "type": "array"
831
831
  }
832
832
  },
833
- "$id": "https://raw.githubusercontent.com/lizhiyao/oh-my-knowledge/main/schemas/evaluation-core/v1/analysis-plan.schema.json",
833
+ "$id": "https://raw.githubusercontent.com/lizhiyao/oh-my-knowledge/main/schemas/eval-core/v1/analysis-plan.schema.json",
834
834
  "$schema": "https://json-schema.org/draft/2020-12/schema",
835
835
  "additionalProperties": false,
836
836
  "properties": {
@@ -400,7 +400,7 @@
400
400
  "type": "number"
401
401
  }
402
402
  },
403
- "$id": "https://raw.githubusercontent.com/lizhiyao/oh-my-knowledge/main/schemas/evaluation-core/v1/budget-summary.schema.json",
403
+ "$id": "https://raw.githubusercontent.com/lizhiyao/oh-my-knowledge/main/schemas/eval-core/v1/budget-summary.schema.json",
404
404
  "$schema": "https://json-schema.org/draft/2020-12/schema",
405
405
  "additionalProperties": false,
406
406
  "properties": {
@@ -397,7 +397,7 @@
397
397
  "type": "string"
398
398
  }
399
399
  },
400
- "$id": "https://raw.githubusercontent.com/lizhiyao/oh-my-knowledge/main/schemas/evaluation-core/v1/comparability-assessment.schema.json",
400
+ "$id": "https://raw.githubusercontent.com/lizhiyao/oh-my-knowledge/main/schemas/eval-core/v1/comparability-assessment.schema.json",
401
401
  "$schema": "https://json-schema.org/draft/2020-12/schema",
402
402
  "additionalProperties": false,
403
403
  "properties": {
@@ -53,7 +53,7 @@
53
53
  "type": "string"
54
54
  }
55
55
  },
56
- "$id": "https://raw.githubusercontent.com/lizhiyao/oh-my-knowledge/main/schemas/evaluation-core/v1/comparability-policy.schema.json",
56
+ "$id": "https://raw.githubusercontent.com/lizhiyao/oh-my-knowledge/main/schemas/eval-core/v1/comparability-policy.schema.json",
57
57
  "$schema": "https://json-schema.org/draft/2020-12/schema",
58
58
  "additionalProperties": false,
59
59
  "properties": {
@@ -351,7 +351,7 @@
351
351
  "type": "object"
352
352
  }
353
353
  },
354
- "$id": "https://raw.githubusercontent.com/lizhiyao/oh-my-knowledge/main/schemas/evaluation-core/v1/decision-plan.schema.json",
354
+ "$id": "https://raw.githubusercontent.com/lizhiyao/oh-my-knowledge/main/schemas/eval-core/v1/decision-plan.schema.json",
355
355
  "$schema": "https://json-schema.org/draft/2020-12/schema",
356
356
  "additionalProperties": false,
357
357
  "properties": {
@@ -1723,7 +1723,7 @@
1723
1723
  "type": "string"
1724
1724
  }
1725
1725
  },
1726
- "$id": "https://raw.githubusercontent.com/lizhiyao/oh-my-knowledge/main/schemas/evaluation-core/v1/evaluation-bundle.schema.json",
1726
+ "$id": "https://raw.githubusercontent.com/lizhiyao/oh-my-knowledge/main/schemas/eval-core/v1/evaluation-bundle.schema.json",
1727
1727
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1728
1728
  "additionalProperties": false,
1729
1729
  "properties": {
@@ -1190,7 +1190,7 @@
1190
1190
  ]
1191
1191
  }
1192
1192
  },
1193
- "$id": "https://raw.githubusercontent.com/lizhiyao/oh-my-knowledge/main/schemas/evaluation-core/v1/evaluation-definition.schema.json",
1193
+ "$id": "https://raw.githubusercontent.com/lizhiyao/oh-my-knowledge/main/schemas/eval-core/v1/evaluation-definition.schema.json",
1194
1194
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1195
1195
  "additionalProperties": false,
1196
1196
  "properties": {
@@ -97,7 +97,7 @@
97
97
  "type": "string"
98
98
  }
99
99
  },
100
- "$id": "https://raw.githubusercontent.com/lizhiyao/oh-my-knowledge/main/schemas/evaluation-core/v1/evaluation-event.schema.json",
100
+ "$id": "https://raw.githubusercontent.com/lizhiyao/oh-my-knowledge/main/schemas/eval-core/v1/evaluation-event.schema.json",
101
101
  "$schema": "https://json-schema.org/draft/2020-12/schema",
102
102
  "additionalProperties": false,
103
103
  "properties": {
@@ -738,7 +738,7 @@
738
738
  "type": "array"
739
739
  }
740
740
  },
741
- "$id": "https://raw.githubusercontent.com/lizhiyao/oh-my-knowledge/main/schemas/evaluation-core/v1/evaluation-plan.schema.json",
741
+ "$id": "https://raw.githubusercontent.com/lizhiyao/oh-my-knowledge/main/schemas/eval-core/v1/evaluation-plan.schema.json",
742
742
  "$schema": "https://json-schema.org/draft/2020-12/schema",
743
743
  "additionalProperties": false,
744
744
  "properties": {
@@ -985,7 +985,7 @@
985
985
  "type": "string"
986
986
  }
987
987
  },
988
- "$id": "https://raw.githubusercontent.com/lizhiyao/oh-my-knowledge/main/schemas/evaluation-core/v1/evaluation-report.schema.json",
988
+ "$id": "https://raw.githubusercontent.com/lizhiyao/oh-my-knowledge/main/schemas/eval-core/v1/evaluation-report.schema.json",
989
989
  "$schema": "https://json-schema.org/draft/2020-12/schema",
990
990
  "additionalProperties": false,
991
991
  "properties": {
@@ -283,7 +283,7 @@
283
283
  "type": "object"
284
284
  }
285
285
  },
286
- "$id": "https://raw.githubusercontent.com/lizhiyao/oh-my-knowledge/main/schemas/evaluation-core/v1/evaluation-series-definition.schema.json",
286
+ "$id": "https://raw.githubusercontent.com/lizhiyao/oh-my-knowledge/main/schemas/eval-core/v1/evaluation-series-definition.schema.json",
287
287
  "$schema": "https://json-schema.org/draft/2020-12/schema",
288
288
  "additionalProperties": false,
289
289
  "properties": {
@@ -545,7 +545,7 @@
545
545
  "type": "object"
546
546
  }
547
547
  },
548
- "$id": "https://raw.githubusercontent.com/lizhiyao/oh-my-knowledge/main/schemas/evaluation-core/v1/evaluation-series-plan.schema.json",
548
+ "$id": "https://raw.githubusercontent.com/lizhiyao/oh-my-knowledge/main/schemas/eval-core/v1/evaluation-series-plan.schema.json",
549
549
  "$schema": "https://json-schema.org/draft/2020-12/schema",
550
550
  "additionalProperties": false,
551
551
  "properties": {
@@ -471,7 +471,7 @@
471
471
  "type": "object"
472
472
  }
473
473
  },
474
- "$id": "https://raw.githubusercontent.com/lizhiyao/oh-my-knowledge/main/schemas/evaluation-core/v1/evaluation-series-report.schema.json",
474
+ "$id": "https://raw.githubusercontent.com/lizhiyao/oh-my-knowledge/main/schemas/eval-core/v1/evaluation-series-report.schema.json",
475
475
  "$schema": "https://json-schema.org/draft/2020-12/schema",
476
476
  "additionalProperties": false,
477
477
  "properties": {
@@ -1442,7 +1442,7 @@
1442
1442
  "type": "string"
1443
1443
  }
1444
1444
  },
1445
- "$id": "https://raw.githubusercontent.com/lizhiyao/oh-my-knowledge/main/schemas/evaluation-core/v1/execution-bundle.schema.json",
1445
+ "$id": "https://raw.githubusercontent.com/lizhiyao/oh-my-knowledge/main/schemas/eval-core/v1/execution-bundle.schema.json",
1446
1446
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1447
1447
  "additionalProperties": false,
1448
1448
  "properties": {
@@ -400,7 +400,7 @@
400
400
  "type": "object"
401
401
  }
402
402
  },
403
- "$id": "https://raw.githubusercontent.com/lizhiyao/oh-my-knowledge/main/schemas/evaluation-core/v1/execution-facts.schema.json",
403
+ "$id": "https://raw.githubusercontent.com/lizhiyao/oh-my-knowledge/main/schemas/eval-core/v1/execution-facts.schema.json",
404
404
  "$schema": "https://json-schema.org/draft/2020-12/schema",
405
405
  "additionalProperties": false,
406
406
  "properties": {
@@ -952,7 +952,7 @@
952
952
  ]
953
953
  }
954
954
  },
955
- "$id": "https://raw.githubusercontent.com/lizhiyao/oh-my-knowledge/main/schemas/evaluation-core/v1/execution-plan.schema.json",
955
+ "$id": "https://raw.githubusercontent.com/lizhiyao/oh-my-knowledge/main/schemas/eval-core/v1/execution-plan.schema.json",
956
956
  "$schema": "https://json-schema.org/draft/2020-12/schema",
957
957
  "additionalProperties": false,
958
958
  "properties": {
@@ -287,7 +287,7 @@
287
287
  "type": "object"
288
288
  }
289
289
  },
290
- "$id": "https://raw.githubusercontent.com/lizhiyao/oh-my-knowledge/main/schemas/evaluation-core/v1/executor-capabilities.schema.json",
290
+ "$id": "https://raw.githubusercontent.com/lizhiyao/oh-my-knowledge/main/schemas/eval-core/v1/executor-capabilities.schema.json",
291
291
  "$schema": "https://json-schema.org/draft/2020-12/schema",
292
292
  "additionalProperties": false,
293
293
  "properties": {
@@ -422,7 +422,7 @@
422
422
  "type": "object"
423
423
  }
424
424
  },
425
- "$id": "https://raw.githubusercontent.com/lizhiyao/oh-my-knowledge/main/schemas/evaluation-core/v1/measurement-policy.schema.json",
425
+ "$id": "https://raw.githubusercontent.com/lizhiyao/oh-my-knowledge/main/schemas/eval-core/v1/measurement-policy.schema.json",
426
426
  "$schema": "https://json-schema.org/draft/2020-12/schema",
427
427
  "additionalProperties": false,
428
428
  "properties": {
@@ -2463,7 +2463,7 @@
2463
2463
  "$ref": "#/$defs/__schema51"
2464
2464
  }
2465
2465
  },
2466
- "$id": "https://raw.githubusercontent.com/lizhiyao/oh-my-knowledge/main/schemas/evaluation-core/v1/run-plan.schema.json",
2466
+ "$id": "https://raw.githubusercontent.com/lizhiyao/oh-my-knowledge/main/schemas/eval-core/v1/run-plan.schema.json",
2467
2467
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2468
2468
  "additionalProperties": false,
2469
2469
  "properties": {
@@ -1248,7 +1248,7 @@
1248
1248
  "type": "object"
1249
1249
  }
1250
1250
  },
1251
- "$id": "https://raw.githubusercontent.com/lizhiyao/oh-my-knowledge/main/schemas/evaluation-core/v1/series-analysis-bundle.schema.json",
1251
+ "$id": "https://raw.githubusercontent.com/lizhiyao/oh-my-knowledge/main/schemas/eval-core/v1/series-analysis-bundle.schema.json",
1252
1252
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1253
1253
  "additionalProperties": false,
1254
1254
  "properties": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oh-my-knowledge",
3
- "version": "1.0.0-beta.0",
3
+ "version": "1.0.0-beta.1",
4
4
  "packageManager": "yarn@4.16.0",
5
5
  "description": "OMK — Observe. Measure. Know. Evidence-backed knowledge changes for AI applications.",
6
6
  "type": "module",
@@ -73,7 +73,7 @@
73
73
  "typecheck": "tsc --noEmit",
74
74
  "lint": "eslint 'src/**/*.ts' 'test/**/*.ts' --cache --cache-location node_modules/.cache/eslint/ --max-warnings 0",
75
75
  "lint-staged": "lint-staged",
76
- "test": "vitest run",
76
+ "test": "node scripts/run-tests-hermetic.mjs",
77
77
  "test:profile": "yarn build && node dist-scripts/test-profile.js",
78
78
  "ci:quality": "run-s lint typecheck build build:docs:check docs:build",
79
79
  "ci": "run-s ci:quality test",