oh-my-knowledge 0.33.0 → 0.35.0

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 (739) hide show
  1. package/README.md +21 -5
  2. package/README.zh.md +25 -9
  3. package/dist/analysis/coverage-analyzer.d.ts +0 -1
  4. package/dist/analysis/coverage-analyzer.js +0 -1
  5. package/dist/analysis/failure-clusterer.d.ts +0 -1
  6. package/dist/analysis/failure-clusterer.js +0 -1
  7. package/dist/analysis/gap-analyzer.d.ts +0 -1
  8. package/dist/analysis/gap-analyzer.js +0 -1
  9. package/dist/analysis/hedging-classifier.d.ts +0 -1
  10. package/dist/analysis/hedging-classifier.js +1 -2
  11. package/dist/analysis/report-diagnostics.d.ts +0 -1
  12. package/dist/analysis/report-diagnostics.js +0 -1
  13. package/dist/analysis/sample-diagnostics.d.ts +1 -2
  14. package/dist/analysis/sample-diagnostics.js +18 -19
  15. package/dist/analysis/saturation.d.ts +0 -1
  16. package/dist/analysis/saturation.js +0 -1
  17. package/dist/assets/agent-skills/omk/SKILL.md +197 -0
  18. package/dist/assets/agent-skills/omk/references/commands.md +556 -0
  19. package/dist/authoring/evolver.d.ts +130 -6
  20. package/dist/authoring/evolver.js +233 -35
  21. package/dist/authoring/generator.d.ts +0 -1
  22. package/dist/authoring/generator.js +0 -1
  23. package/dist/authoring/sample-fixer.d.ts +0 -1
  24. package/dist/authoring/sample-fixer.js +0 -1
  25. package/dist/cli/commands/doctor.d.ts +0 -1
  26. package/dist/cli/commands/doctor.js +2 -3
  27. package/dist/cli/commands/eval/gold/compare.d.ts +0 -1
  28. package/dist/cli/commands/eval/gold/compare.js +0 -1
  29. package/dist/cli/commands/eval/gold/index.d.ts +0 -1
  30. package/dist/cli/commands/eval/gold/index.js +0 -1
  31. package/dist/cli/commands/eval/gold/init.d.ts +0 -1
  32. package/dist/cli/commands/eval/gold/init.js +0 -1
  33. package/dist/cli/commands/eval/gold/validate.d.ts +0 -1
  34. package/dist/cli/commands/eval/gold/validate.js +0 -1
  35. package/dist/cli/commands/eval/index.d.ts +3 -1
  36. package/dist/cli/commands/eval/index.js +56 -11
  37. package/dist/cli/commands/evolve.d.ts +6 -1
  38. package/dist/cli/commands/evolve.js +77 -6
  39. package/dist/cli/commands/init.d.ts +0 -1
  40. package/dist/cli/commands/init.js +0 -1
  41. package/dist/cli/commands/install.d.ts +24 -0
  42. package/dist/cli/commands/install.js +436 -0
  43. package/dist/cli/commands/observe/inbox.d.ts +0 -1
  44. package/dist/cli/commands/observe/inbox.js +0 -1
  45. package/dist/cli/commands/observe/index.d.ts +0 -1
  46. package/dist/cli/commands/observe/index.js +0 -1
  47. package/dist/cli/commands/observe/ingest.d.ts +0 -1
  48. package/dist/cli/commands/observe/ingest.js +0 -1
  49. package/dist/cli/commands/observe/show.d.ts +0 -1
  50. package/dist/cli/commands/observe/show.js +0 -1
  51. package/dist/cli/commands/sample.d.ts +1 -2
  52. package/dist/cli/commands/sample.js +27 -15
  53. package/dist/cli/commands/studio.d.ts +0 -1
  54. package/dist/cli/commands/studio.js +0 -1
  55. package/dist/cli/index.d.ts +0 -1
  56. package/dist/cli/index.js +1 -2
  57. package/dist/cli/lib/cli-exit.d.ts +0 -1
  58. package/dist/cli/lib/cli-exit.js +0 -1
  59. package/dist/cli/lib/cmd-flags.d.ts +7 -1
  60. package/dist/cli/lib/cmd-flags.js +0 -1
  61. package/dist/cli/lib/i18n-dict/common.d.ts +0 -1
  62. package/dist/cli/lib/i18n-dict/common.js +0 -1
  63. package/dist/cli/lib/i18n-dict/evolve.d.ts +1 -2
  64. package/dist/cli/lib/i18n-dict/evolve.js +16 -1
  65. package/dist/cli/lib/i18n-dict/gen.d.ts +0 -1
  66. package/dist/cli/lib/i18n-dict/gen.js +0 -1
  67. package/dist/cli/lib/i18n-dict/help.d.ts +0 -1
  68. package/dist/cli/lib/i18n-dict/help.js +0 -1
  69. package/dist/cli/lib/i18n-dict/init.d.ts +0 -1
  70. package/dist/cli/lib/i18n-dict/init.js +0 -1
  71. package/dist/cli/lib/i18n-dict/install.d.ts +3 -0
  72. package/dist/cli/lib/i18n-dict/install.js +110 -0
  73. package/dist/cli/lib/i18n-dict/run.d.ts +1 -2
  74. package/dist/cli/lib/i18n-dict/run.js +8 -1
  75. package/dist/cli/lib/i18n-dict/types.d.ts +0 -1
  76. package/dist/cli/lib/i18n-dict/types.js +0 -1
  77. package/dist/cli/lib/i18n-dict.d.ts +2 -2
  78. package/dist/cli/lib/i18n-dict.js +2 -1
  79. package/dist/cli/lib/i18n.d.ts +0 -1
  80. package/dist/cli/lib/i18n.js +0 -1
  81. package/dist/cli/lib/parse-run-config/judge-models.d.ts +0 -1
  82. package/dist/cli/lib/parse-run-config/judge-models.js +0 -1
  83. package/dist/cli/lib/parse-run-config/samples-discovery.d.ts +0 -1
  84. package/dist/cli/lib/parse-run-config/samples-discovery.js +1 -4
  85. package/dist/cli/lib/parse-run-config/variant-resolution.d.ts +0 -1
  86. package/dist/cli/lib/parse-run-config/variant-resolution.js +41 -8
  87. package/dist/cli/lib/parse-run-config.d.ts +0 -1
  88. package/dist/cli/lib/parse-run-config.js +1 -2
  89. package/dist/cli/lib/progress.d.ts +0 -1
  90. package/dist/cli/lib/progress.js +0 -1
  91. package/dist/cli/lib/resolve-skill-input.d.ts +0 -1
  92. package/dist/cli/lib/resolve-skill-input.js +0 -1
  93. package/dist/cli/lib/run-tally.d.ts +0 -1
  94. package/dist/cli/lib/run-tally.js +1 -2
  95. package/dist/cli/lib/shared.d.ts +0 -1
  96. package/dist/cli/lib/shared.js +1 -2
  97. package/dist/cli/lib/update-check.d.ts +0 -1
  98. package/dist/cli/lib/update-check.js +0 -1
  99. package/dist/cli/lib/update-fetch-worker.d.ts +0 -1
  100. package/dist/cli/lib/update-fetch-worker.js +0 -1
  101. package/dist/cli/oclif/base-command.d.ts +0 -1
  102. package/dist/cli/oclif/base-command.js +0 -1
  103. package/dist/cli/oclif/help.d.ts +0 -1
  104. package/dist/cli/oclif/help.js +0 -1
  105. package/dist/cli/oclif/i18n.d.ts +0 -1
  106. package/dist/cli/oclif/i18n.js +0 -1
  107. package/dist/cli/oclif/parsers.d.ts +0 -1
  108. package/dist/cli/oclif/parsers.js +0 -1
  109. package/dist/cli/oclif/projection.d.ts +0 -1
  110. package/dist/cli/oclif/projection.js +0 -1
  111. package/dist/cli/oclif/run.d.ts +0 -1
  112. package/dist/cli/oclif/run.js +0 -1
  113. package/dist/diagnosis/observe-mapper.d.ts +2 -3
  114. package/dist/diagnosis/observe-mapper.js +6 -7
  115. package/dist/diagnosis/observe-producer.d.ts +0 -1
  116. package/dist/diagnosis/observe-producer.js +3 -4
  117. package/dist/diagnosis/studio-projection.d.ts +0 -1
  118. package/dist/diagnosis/studio-projection.js +0 -1
  119. package/dist/diagnosis/types.d.ts +0 -1
  120. package/dist/diagnosis/types.js +0 -1
  121. package/dist/doctor/fixer.d.ts +0 -1
  122. package/dist/doctor/fixer.js +0 -1
  123. package/dist/doctor/health/builtin-dimensions.d.ts +0 -1
  124. package/dist/doctor/health/builtin-dimensions.js +0 -1
  125. package/dist/doctor/health/composer.d.ts +0 -1
  126. package/dist/doctor/health/composer.js +1 -2
  127. package/dist/doctor/health/dimension-registry.d.ts +0 -1
  128. package/dist/doctor/health/dimension-registry.js +0 -1
  129. package/dist/doctor/health/dimension-spec.d.ts +0 -1
  130. package/dist/doctor/health/dimension-spec.js +0 -1
  131. package/dist/doctor/health/load-custom-dimensions.d.ts +0 -1
  132. package/dist/doctor/health/load-custom-dimensions.js +0 -1
  133. package/dist/doctor/health/parser.d.ts +0 -1
  134. package/dist/doctor/health/parser.js +0 -1
  135. package/dist/doctor/health/prompt-builder.d.ts +0 -1
  136. package/dist/doctor/health/prompt-builder.js +0 -1
  137. package/dist/doctor/health/register.d.ts +0 -1
  138. package/dist/doctor/health/register.js +0 -1
  139. package/dist/doctor/index.d.ts +0 -1
  140. package/dist/doctor/index.js +6 -7
  141. package/dist/doctor/messages.d.ts +0 -1
  142. package/dist/doctor/messages.js +1 -2
  143. package/dist/doctor/preflight.d.ts +0 -1
  144. package/dist/doctor/preflight.js +0 -1
  145. package/dist/doctor/renderer.d.ts +0 -1
  146. package/dist/doctor/renderer.js +0 -1
  147. package/dist/doctor/rules.d.ts +0 -1
  148. package/dist/doctor/rules.js +0 -1
  149. package/dist/eval-core/bootstrap.d.ts +0 -1
  150. package/dist/eval-core/bootstrap.js +0 -1
  151. package/dist/eval-core/cache.d.ts +11 -4
  152. package/dist/eval-core/cache.js +13 -6
  153. package/dist/eval-core/comparability.d.ts +0 -1
  154. package/dist/eval-core/comparability.js +3 -4
  155. package/dist/eval-core/dependency-checker.d.ts +0 -1
  156. package/dist/eval-core/dependency-checker.js +5 -3
  157. package/dist/eval-core/evaluation-execution.d.ts +0 -1
  158. package/dist/eval-core/evaluation-execution.js +4 -2
  159. package/dist/eval-core/evaluation-job.d.ts +0 -1
  160. package/dist/eval-core/evaluation-job.js +0 -1
  161. package/dist/eval-core/evaluation-reporting.d.ts +0 -1
  162. package/dist/eval-core/evaluation-reporting.js +18 -8
  163. package/dist/eval-core/execution-strategy.d.ts +0 -1
  164. package/dist/eval-core/execution-strategy.js +8 -3
  165. package/dist/eval-core/fact-checker.d.ts +0 -1
  166. package/dist/eval-core/fact-checker.js +0 -1
  167. package/dist/eval-core/layer-gates.d.ts +0 -1
  168. package/dist/eval-core/layer-gates.js +0 -1
  169. package/dist/eval-core/mocks-runtime.d.ts +0 -1
  170. package/dist/eval-core/mocks-runtime.js +0 -1
  171. package/dist/eval-core/schema.d.ts +0 -1
  172. package/dist/eval-core/schema.js +0 -1
  173. package/dist/eval-core/statistics.d.ts +0 -1
  174. package/dist/eval-core/statistics.js +0 -1
  175. package/dist/eval-core/task-planner.d.ts +0 -1
  176. package/dist/eval-core/task-planner.js +2 -2
  177. package/dist/eval-core/verdict.d.ts +0 -1
  178. package/dist/eval-core/verdict.js +0 -1
  179. package/dist/eval-workflows/batch-evaluation-workflow.d.ts +18 -3
  180. package/dist/eval-workflows/batch-evaluation-workflow.js +31 -15
  181. package/dist/eval-workflows/evaluation-pipeline/preflight-warnings.d.ts +0 -1
  182. package/dist/eval-workflows/evaluation-pipeline/preflight-warnings.js +0 -1
  183. package/dist/eval-workflows/evaluation-pipeline/report-finalize.d.ts +0 -1
  184. package/dist/eval-workflows/evaluation-pipeline/report-finalize.js +0 -1
  185. package/dist/eval-workflows/evaluation-pipeline/run-state.d.ts +0 -1
  186. package/dist/eval-workflows/evaluation-pipeline/run-state.js +0 -1
  187. package/dist/eval-workflows/evaluation-pipeline/test-set-hash.d.ts +0 -1
  188. package/dist/eval-workflows/evaluation-pipeline/test-set-hash.js +0 -1
  189. package/dist/eval-workflows/evaluation-pipeline.d.ts +0 -1
  190. package/dist/eval-workflows/evaluation-pipeline.js +0 -1
  191. package/dist/eval-workflows/evaluation-preparation.d.ts +1 -5
  192. package/dist/eval-workflows/evaluation-preparation.js +22 -44
  193. package/dist/eval-workflows/messages.d.ts +0 -1
  194. package/dist/eval-workflows/messages.js +0 -1
  195. package/dist/eval-workflows/run-evaluation.d.ts +3 -8
  196. package/dist/eval-workflows/run-evaluation.js +9 -19
  197. package/dist/executors/anthropic-api.d.ts +0 -1
  198. package/dist/executors/anthropic-api.js +1 -2
  199. package/dist/executors/claude-cli.d.ts +0 -1
  200. package/dist/executors/claude-cli.js +0 -1
  201. package/dist/executors/claude-sdk-trace.d.ts +0 -1
  202. package/dist/executors/claude-sdk-trace.js +0 -1
  203. package/dist/executors/claude-sdk.d.ts +0 -1
  204. package/dist/executors/claude-sdk.js +0 -1
  205. package/dist/executors/codex-cli-trace.d.ts +0 -1
  206. package/dist/executors/codex-cli-trace.js +0 -1
  207. package/dist/executors/codex-cli.d.ts +0 -1
  208. package/dist/executors/codex-cli.js +0 -1
  209. package/dist/executors/codex-sdk.d.ts +0 -1
  210. package/dist/executors/codex-sdk.js +0 -1
  211. package/dist/executors/gemini.d.ts +0 -1
  212. package/dist/executors/gemini.js +0 -1
  213. package/dist/executors/index.d.ts +0 -1
  214. package/dist/executors/index.js +0 -1
  215. package/dist/executors/openai-api.d.ts +0 -1
  216. package/dist/executors/openai-api.js +0 -1
  217. package/dist/executors/runtime-fingerprint.d.ts +0 -1
  218. package/dist/executors/runtime-fingerprint.js +2 -3
  219. package/dist/executors/script.d.ts +0 -1
  220. package/dist/executors/script.js +0 -1
  221. package/dist/executors/shared.d.ts +0 -2
  222. package/dist/executors/shared.js +0 -1
  223. package/dist/grading/assertions.d.ts +0 -1
  224. package/dist/grading/assertions.js +0 -1
  225. package/dist/grading/debias-validate.d.ts +0 -1
  226. package/dist/grading/debias-validate.js +0 -1
  227. package/dist/grading/diagnostic.d.ts +0 -1
  228. package/dist/grading/diagnostic.js +0 -1
  229. package/dist/grading/gold-cli.d.ts +0 -1
  230. package/dist/grading/gold-cli.js +0 -1
  231. package/dist/grading/gold-dataset.d.ts +0 -1
  232. package/dist/grading/gold-dataset.js +0 -1
  233. package/dist/grading/human-gold.d.ts +0 -1
  234. package/dist/grading/human-gold.js +0 -1
  235. package/dist/grading/index.d.ts +0 -1
  236. package/dist/grading/index.js +0 -1
  237. package/dist/grading/judge.d.ts +0 -1
  238. package/dist/grading/judge.js +0 -1
  239. package/dist/grading/layered-scores.d.ts +0 -1
  240. package/dist/grading/layered-scores.js +0 -1
  241. package/dist/inputs/content-hash.d.ts +28 -0
  242. package/dist/inputs/content-hash.js +106 -0
  243. package/dist/inputs/eval-config.d.ts +0 -1
  244. package/dist/inputs/eval-config.js +44 -11
  245. package/dist/inputs/load-samples.d.ts +0 -1
  246. package/dist/inputs/load-samples.js +0 -1
  247. package/dist/inputs/materialize-copy.d.ts +37 -0
  248. package/dist/inputs/materialize-copy.js +193 -0
  249. package/dist/inputs/mcp-resolver.d.ts +0 -1
  250. package/dist/inputs/mcp-resolver.js +0 -1
  251. package/dist/inputs/skill-loader.d.ts +145 -12
  252. package/dist/inputs/skill-loader.js +476 -60
  253. package/dist/inputs/source-resolver.d.ts +35 -0
  254. package/dist/inputs/source-resolver.js +105 -0
  255. package/dist/inputs/url-fetcher.d.ts +0 -1
  256. package/dist/inputs/url-fetcher.js +0 -1
  257. package/dist/managed/evidence.d.ts +22 -0
  258. package/dist/managed/evidence.js +143 -0
  259. package/dist/managed/index.d.ts +6 -0
  260. package/dist/managed/index.js +6 -0
  261. package/dist/managed/store.d.ts +72 -0
  262. package/dist/managed/store.js +224 -0
  263. package/dist/observability/experience-frontmatter.d.ts +0 -1
  264. package/dist/observability/experience-frontmatter.js +0 -1
  265. package/dist/observability/experience.d.ts +1 -2
  266. package/dist/observability/experience.js +1 -2
  267. package/dist/observability/feedback-matchers.d.ts +0 -1
  268. package/dist/observability/feedback-matchers.js +0 -1
  269. package/dist/observability/feedback-projection.d.ts +0 -1
  270. package/dist/observability/feedback-projection.js +0 -1
  271. package/dist/observability/inbox-view-model.d.ts +0 -1
  272. package/dist/observability/inbox-view-model.js +0 -1
  273. package/dist/observability/inbox.d.ts +0 -1
  274. package/dist/observability/inbox.js +2 -3
  275. package/dist/observability/problem-patterns.d.ts +0 -1
  276. package/dist/observability/problem-patterns.js +0 -1
  277. package/dist/observability/resolved-review.d.ts +0 -1
  278. package/dist/observability/resolved-review.js +4 -5
  279. package/dist/observability/review-state.d.ts +0 -1
  280. package/dist/observability/review-state.js +3 -4
  281. package/dist/observability/skill-chain-advisories.d.ts +0 -1
  282. package/dist/observability/skill-chain-advisories.js +0 -1
  283. package/dist/observability/skill-chain.d.ts +0 -1
  284. package/dist/observability/skill-chain.js +5 -6
  285. package/dist/observability/skill-health-analyzer.d.ts +0 -1
  286. package/dist/observability/skill-health-analyzer.js +0 -1
  287. package/dist/observability/soft-standards/constants.d.ts +0 -1
  288. package/dist/observability/soft-standards/constants.js +0 -1
  289. package/dist/observability/soft-standards/index.d.ts +0 -1
  290. package/dist/observability/soft-standards/index.js +0 -1
  291. package/dist/observability/soft-standards/llm-extractor.d.ts +0 -1
  292. package/dist/observability/soft-standards/llm-extractor.js +7 -8
  293. package/dist/observability/soft-standards/runtime-evaluator.d.ts +0 -1
  294. package/dist/observability/soft-standards/runtime-evaluator.js +2 -3
  295. package/dist/observability/soft-standards/skill-standards-store.d.ts +0 -1
  296. package/dist/observability/soft-standards/skill-standards-store.js +5 -6
  297. package/dist/observability/soft-standards/types.d.ts +10 -11
  298. package/dist/observability/soft-standards/types.js +0 -1
  299. package/dist/observability/text-signals.d.ts +0 -1
  300. package/dist/observability/text-signals.js +0 -1
  301. package/dist/observability/trace-adapter.d.ts +0 -1
  302. package/dist/observability/trace-adapter.js +0 -1
  303. package/dist/observability/trace-attribution.d.ts +0 -1
  304. package/dist/observability/trace-attribution.js +0 -1
  305. package/dist/observability/trace-segmenter.d.ts +0 -1
  306. package/dist/observability/trace-segmenter.js +0 -1
  307. package/dist/observability/trace-source.d.ts +0 -1
  308. package/dist/observability/trace-source.js +0 -1
  309. package/dist/renderer/html-renderer.d.ts +0 -1
  310. package/dist/renderer/html-renderer.js +4 -5
  311. package/dist/renderer/layout.d.ts +0 -1
  312. package/dist/renderer/layout.js +2 -3
  313. package/dist/renderer/observation-inbox/helpers.d.ts +0 -1
  314. package/dist/renderer/observation-inbox/helpers.js +0 -1
  315. package/dist/renderer/observation-inbox/styles.d.ts +0 -1
  316. package/dist/renderer/observation-inbox/styles.js +0 -1
  317. package/dist/renderer/observation-inbox-renderer.d.ts +0 -1
  318. package/dist/renderer/observation-inbox-renderer.js +13 -14
  319. package/dist/renderer/skill-detail-renderer.d.ts +0 -1
  320. package/dist/renderer/skill-detail-renderer.js +3 -4
  321. package/dist/renderer/skill-health-renderer.d.ts +0 -1
  322. package/dist/renderer/skill-health-renderer.js +0 -1
  323. package/dist/renderer/skill-list-renderer.d.ts +0 -1
  324. package/dist/renderer/skill-list-renderer.js +0 -1
  325. package/dist/renderer/summary.d.ts +0 -1
  326. package/dist/renderer/summary.js +1 -2
  327. package/dist/renderer/table.d.ts +0 -1
  328. package/dist/renderer/table.js +0 -1
  329. package/dist/renderer/test-view.d.ts +0 -1
  330. package/dist/renderer/test-view.js +0 -1
  331. package/dist/renderer/trends.d.ts +0 -1
  332. package/dist/renderer/trends.js +0 -1
  333. package/dist/server/job-store.d.ts +0 -1
  334. package/dist/server/job-store.js +0 -1
  335. package/dist/server/report-server.d.ts +0 -1
  336. package/dist/server/report-server.js +1 -2
  337. package/dist/server/report-store.d.ts +1 -2
  338. package/dist/server/report-store.js +6 -7
  339. package/dist/server/skill-index.d.ts +0 -1
  340. package/dist/server/skill-index.js +4 -5
  341. package/dist/server/skill-insights.d.ts +0 -1
  342. package/dist/server/skill-insights.js +8 -9
  343. package/dist/shared/hard-rules.d.ts +0 -1
  344. package/dist/shared/hard-rules.js +0 -1
  345. package/dist/shared/llm-prompts/index.d.ts +0 -1
  346. package/dist/shared/llm-prompts/index.js +0 -1
  347. package/dist/shared/llm-prompts/skill-health.d.ts +0 -1
  348. package/dist/shared/llm-prompts/skill-health.js +0 -1
  349. package/dist/shared/time.d.ts +0 -1
  350. package/dist/shared/time.js +0 -1
  351. package/dist/shared/tool-search.d.ts +0 -1
  352. package/dist/shared/tool-search.js +0 -1
  353. package/dist/types/dependencies.d.ts +0 -1
  354. package/dist/types/dependencies.js +0 -1
  355. package/dist/types/diagnosis.d.ts +0 -1
  356. package/dist/types/diagnosis.js +0 -1
  357. package/dist/types/doctor.d.ts +4 -5
  358. package/dist/types/doctor.js +2 -3
  359. package/dist/types/eval.d.ts +13 -2
  360. package/dist/types/eval.js +0 -1
  361. package/dist/types/executor.d.ts +1 -2
  362. package/dist/types/executor.js +0 -1
  363. package/dist/types/index.d.ts +1 -1
  364. package/dist/types/index.js +1 -1
  365. package/dist/types/judge.d.ts +0 -1
  366. package/dist/types/judge.js +0 -1
  367. package/dist/types/managed.d.ts +110 -0
  368. package/dist/types/managed.js +1 -0
  369. package/dist/types/observability.d.ts +5 -6
  370. package/dist/types/observability.js +0 -1
  371. package/dist/types/report.d.ts +19 -6
  372. package/dist/types/report.js +0 -1
  373. package/dist/types/shared.d.ts +0 -1
  374. package/dist/types/shared.js +0 -1
  375. package/dist/types/skill-index.d.ts +0 -1
  376. package/dist/types/skill-index.js +0 -1
  377. package/dist/types/storage.d.ts +0 -1
  378. package/dist/types/storage.js +0 -1
  379. package/dist/util/safe-slice.d.ts +0 -1
  380. package/dist/util/safe-slice.js +0 -1
  381. package/package.json +9 -4
  382. package/dist/analysis/coverage-analyzer.d.ts.map +0 -1
  383. package/dist/analysis/coverage-analyzer.js.map +0 -1
  384. package/dist/analysis/failure-clusterer.d.ts.map +0 -1
  385. package/dist/analysis/failure-clusterer.js.map +0 -1
  386. package/dist/analysis/gap-analyzer.d.ts.map +0 -1
  387. package/dist/analysis/gap-analyzer.js.map +0 -1
  388. package/dist/analysis/hedging-classifier.d.ts.map +0 -1
  389. package/dist/analysis/hedging-classifier.js.map +0 -1
  390. package/dist/analysis/report-diagnostics.d.ts.map +0 -1
  391. package/dist/analysis/report-diagnostics.js.map +0 -1
  392. package/dist/analysis/sample-diagnostics.d.ts.map +0 -1
  393. package/dist/analysis/sample-diagnostics.js.map +0 -1
  394. package/dist/analysis/saturation.d.ts.map +0 -1
  395. package/dist/analysis/saturation.js.map +0 -1
  396. package/dist/authoring/evolver.d.ts.map +0 -1
  397. package/dist/authoring/evolver.js.map +0 -1
  398. package/dist/authoring/generator.d.ts.map +0 -1
  399. package/dist/authoring/generator.js.map +0 -1
  400. package/dist/authoring/sample-fixer.d.ts.map +0 -1
  401. package/dist/authoring/sample-fixer.js.map +0 -1
  402. package/dist/cli/commands/doctor.d.ts.map +0 -1
  403. package/dist/cli/commands/doctor.js.map +0 -1
  404. package/dist/cli/commands/eval/gold/compare.d.ts.map +0 -1
  405. package/dist/cli/commands/eval/gold/compare.js.map +0 -1
  406. package/dist/cli/commands/eval/gold/index.d.ts.map +0 -1
  407. package/dist/cli/commands/eval/gold/index.js.map +0 -1
  408. package/dist/cli/commands/eval/gold/init.d.ts.map +0 -1
  409. package/dist/cli/commands/eval/gold/init.js.map +0 -1
  410. package/dist/cli/commands/eval/gold/validate.d.ts.map +0 -1
  411. package/dist/cli/commands/eval/gold/validate.js.map +0 -1
  412. package/dist/cli/commands/eval/index.d.ts.map +0 -1
  413. package/dist/cli/commands/eval/index.js.map +0 -1
  414. package/dist/cli/commands/evolve.d.ts.map +0 -1
  415. package/dist/cli/commands/evolve.js.map +0 -1
  416. package/dist/cli/commands/init.d.ts.map +0 -1
  417. package/dist/cli/commands/init.js.map +0 -1
  418. package/dist/cli/commands/observe/inbox.d.ts.map +0 -1
  419. package/dist/cli/commands/observe/inbox.js.map +0 -1
  420. package/dist/cli/commands/observe/index.d.ts.map +0 -1
  421. package/dist/cli/commands/observe/index.js.map +0 -1
  422. package/dist/cli/commands/observe/ingest.d.ts.map +0 -1
  423. package/dist/cli/commands/observe/ingest.js.map +0 -1
  424. package/dist/cli/commands/observe/show.d.ts.map +0 -1
  425. package/dist/cli/commands/observe/show.js.map +0 -1
  426. package/dist/cli/commands/sample.d.ts.map +0 -1
  427. package/dist/cli/commands/sample.js.map +0 -1
  428. package/dist/cli/commands/studio.d.ts.map +0 -1
  429. package/dist/cli/commands/studio.js.map +0 -1
  430. package/dist/cli/index.d.ts.map +0 -1
  431. package/dist/cli/index.js.map +0 -1
  432. package/dist/cli/lib/cli-exit.d.ts.map +0 -1
  433. package/dist/cli/lib/cli-exit.js.map +0 -1
  434. package/dist/cli/lib/cmd-flags.d.ts.map +0 -1
  435. package/dist/cli/lib/cmd-flags.js.map +0 -1
  436. package/dist/cli/lib/i18n-dict/common.d.ts.map +0 -1
  437. package/dist/cli/lib/i18n-dict/common.js.map +0 -1
  438. package/dist/cli/lib/i18n-dict/evolve.d.ts.map +0 -1
  439. package/dist/cli/lib/i18n-dict/evolve.js.map +0 -1
  440. package/dist/cli/lib/i18n-dict/gen.d.ts.map +0 -1
  441. package/dist/cli/lib/i18n-dict/gen.js.map +0 -1
  442. package/dist/cli/lib/i18n-dict/help.d.ts.map +0 -1
  443. package/dist/cli/lib/i18n-dict/help.js.map +0 -1
  444. package/dist/cli/lib/i18n-dict/init.d.ts.map +0 -1
  445. package/dist/cli/lib/i18n-dict/init.js.map +0 -1
  446. package/dist/cli/lib/i18n-dict/run.d.ts.map +0 -1
  447. package/dist/cli/lib/i18n-dict/run.js.map +0 -1
  448. package/dist/cli/lib/i18n-dict/types.d.ts.map +0 -1
  449. package/dist/cli/lib/i18n-dict/types.js.map +0 -1
  450. package/dist/cli/lib/i18n-dict.d.ts.map +0 -1
  451. package/dist/cli/lib/i18n-dict.js.map +0 -1
  452. package/dist/cli/lib/i18n.d.ts.map +0 -1
  453. package/dist/cli/lib/i18n.js.map +0 -1
  454. package/dist/cli/lib/parse-run-config/judge-models.d.ts.map +0 -1
  455. package/dist/cli/lib/parse-run-config/judge-models.js.map +0 -1
  456. package/dist/cli/lib/parse-run-config/samples-discovery.d.ts.map +0 -1
  457. package/dist/cli/lib/parse-run-config/samples-discovery.js.map +0 -1
  458. package/dist/cli/lib/parse-run-config/variant-resolution.d.ts.map +0 -1
  459. package/dist/cli/lib/parse-run-config/variant-resolution.js.map +0 -1
  460. package/dist/cli/lib/parse-run-config.d.ts.map +0 -1
  461. package/dist/cli/lib/parse-run-config.js.map +0 -1
  462. package/dist/cli/lib/progress.d.ts.map +0 -1
  463. package/dist/cli/lib/progress.js.map +0 -1
  464. package/dist/cli/lib/resolve-skill-input.d.ts.map +0 -1
  465. package/dist/cli/lib/resolve-skill-input.js.map +0 -1
  466. package/dist/cli/lib/run-tally.d.ts.map +0 -1
  467. package/dist/cli/lib/run-tally.js.map +0 -1
  468. package/dist/cli/lib/shared.d.ts.map +0 -1
  469. package/dist/cli/lib/shared.js.map +0 -1
  470. package/dist/cli/lib/update-check.d.ts.map +0 -1
  471. package/dist/cli/lib/update-check.js.map +0 -1
  472. package/dist/cli/lib/update-fetch-worker.d.ts.map +0 -1
  473. package/dist/cli/lib/update-fetch-worker.js.map +0 -1
  474. package/dist/cli/oclif/base-command.d.ts.map +0 -1
  475. package/dist/cli/oclif/base-command.js.map +0 -1
  476. package/dist/cli/oclif/help.d.ts.map +0 -1
  477. package/dist/cli/oclif/help.js.map +0 -1
  478. package/dist/cli/oclif/i18n.d.ts.map +0 -1
  479. package/dist/cli/oclif/i18n.js.map +0 -1
  480. package/dist/cli/oclif/parsers.d.ts.map +0 -1
  481. package/dist/cli/oclif/parsers.js.map +0 -1
  482. package/dist/cli/oclif/projection.d.ts.map +0 -1
  483. package/dist/cli/oclif/projection.js.map +0 -1
  484. package/dist/cli/oclif/run.d.ts.map +0 -1
  485. package/dist/cli/oclif/run.js.map +0 -1
  486. package/dist/diagnosis/observe-mapper.d.ts.map +0 -1
  487. package/dist/diagnosis/observe-mapper.js.map +0 -1
  488. package/dist/diagnosis/observe-producer.d.ts.map +0 -1
  489. package/dist/diagnosis/observe-producer.js.map +0 -1
  490. package/dist/diagnosis/studio-projection.d.ts.map +0 -1
  491. package/dist/diagnosis/studio-projection.js.map +0 -1
  492. package/dist/diagnosis/types.d.ts.map +0 -1
  493. package/dist/diagnosis/types.js.map +0 -1
  494. package/dist/doctor/fixer.d.ts.map +0 -1
  495. package/dist/doctor/fixer.js.map +0 -1
  496. package/dist/doctor/health/builtin-dimensions.d.ts.map +0 -1
  497. package/dist/doctor/health/builtin-dimensions.js.map +0 -1
  498. package/dist/doctor/health/composer.d.ts.map +0 -1
  499. package/dist/doctor/health/composer.js.map +0 -1
  500. package/dist/doctor/health/dimension-registry.d.ts.map +0 -1
  501. package/dist/doctor/health/dimension-registry.js.map +0 -1
  502. package/dist/doctor/health/dimension-spec.d.ts.map +0 -1
  503. package/dist/doctor/health/dimension-spec.js.map +0 -1
  504. package/dist/doctor/health/load-custom-dimensions.d.ts.map +0 -1
  505. package/dist/doctor/health/load-custom-dimensions.js.map +0 -1
  506. package/dist/doctor/health/parser.d.ts.map +0 -1
  507. package/dist/doctor/health/parser.js.map +0 -1
  508. package/dist/doctor/health/prompt-builder.d.ts.map +0 -1
  509. package/dist/doctor/health/prompt-builder.js.map +0 -1
  510. package/dist/doctor/health/register.d.ts.map +0 -1
  511. package/dist/doctor/health/register.js.map +0 -1
  512. package/dist/doctor/index.d.ts.map +0 -1
  513. package/dist/doctor/index.js.map +0 -1
  514. package/dist/doctor/messages.d.ts.map +0 -1
  515. package/dist/doctor/messages.js.map +0 -1
  516. package/dist/doctor/preflight.d.ts.map +0 -1
  517. package/dist/doctor/preflight.js.map +0 -1
  518. package/dist/doctor/renderer.d.ts.map +0 -1
  519. package/dist/doctor/renderer.js.map +0 -1
  520. package/dist/doctor/rules.d.ts.map +0 -1
  521. package/dist/doctor/rules.js.map +0 -1
  522. package/dist/eval-core/bootstrap.d.ts.map +0 -1
  523. package/dist/eval-core/bootstrap.js.map +0 -1
  524. package/dist/eval-core/cache.d.ts.map +0 -1
  525. package/dist/eval-core/cache.js.map +0 -1
  526. package/dist/eval-core/comparability.d.ts.map +0 -1
  527. package/dist/eval-core/comparability.js.map +0 -1
  528. package/dist/eval-core/dependency-checker.d.ts.map +0 -1
  529. package/dist/eval-core/dependency-checker.js.map +0 -1
  530. package/dist/eval-core/evaluation-execution.d.ts.map +0 -1
  531. package/dist/eval-core/evaluation-execution.js.map +0 -1
  532. package/dist/eval-core/evaluation-job.d.ts.map +0 -1
  533. package/dist/eval-core/evaluation-job.js.map +0 -1
  534. package/dist/eval-core/evaluation-reporting.d.ts.map +0 -1
  535. package/dist/eval-core/evaluation-reporting.js.map +0 -1
  536. package/dist/eval-core/execution-strategy.d.ts.map +0 -1
  537. package/dist/eval-core/execution-strategy.js.map +0 -1
  538. package/dist/eval-core/fact-checker.d.ts.map +0 -1
  539. package/dist/eval-core/fact-checker.js.map +0 -1
  540. package/dist/eval-core/layer-gates.d.ts.map +0 -1
  541. package/dist/eval-core/layer-gates.js.map +0 -1
  542. package/dist/eval-core/mocks-runtime.d.ts.map +0 -1
  543. package/dist/eval-core/mocks-runtime.js.map +0 -1
  544. package/dist/eval-core/schema.d.ts.map +0 -1
  545. package/dist/eval-core/schema.js.map +0 -1
  546. package/dist/eval-core/statistics.d.ts.map +0 -1
  547. package/dist/eval-core/statistics.js.map +0 -1
  548. package/dist/eval-core/task-planner.d.ts.map +0 -1
  549. package/dist/eval-core/task-planner.js.map +0 -1
  550. package/dist/eval-core/verdict.d.ts.map +0 -1
  551. package/dist/eval-core/verdict.js.map +0 -1
  552. package/dist/eval-workflows/batch-evaluation-workflow.d.ts.map +0 -1
  553. package/dist/eval-workflows/batch-evaluation-workflow.js.map +0 -1
  554. package/dist/eval-workflows/evaluation-pipeline/preflight-warnings.d.ts.map +0 -1
  555. package/dist/eval-workflows/evaluation-pipeline/preflight-warnings.js.map +0 -1
  556. package/dist/eval-workflows/evaluation-pipeline/report-finalize.d.ts.map +0 -1
  557. package/dist/eval-workflows/evaluation-pipeline/report-finalize.js.map +0 -1
  558. package/dist/eval-workflows/evaluation-pipeline/run-state.d.ts.map +0 -1
  559. package/dist/eval-workflows/evaluation-pipeline/run-state.js.map +0 -1
  560. package/dist/eval-workflows/evaluation-pipeline/test-set-hash.d.ts.map +0 -1
  561. package/dist/eval-workflows/evaluation-pipeline/test-set-hash.js.map +0 -1
  562. package/dist/eval-workflows/evaluation-pipeline.d.ts.map +0 -1
  563. package/dist/eval-workflows/evaluation-pipeline.js.map +0 -1
  564. package/dist/eval-workflows/evaluation-preparation.d.ts.map +0 -1
  565. package/dist/eval-workflows/evaluation-preparation.js.map +0 -1
  566. package/dist/eval-workflows/messages.d.ts.map +0 -1
  567. package/dist/eval-workflows/messages.js.map +0 -1
  568. package/dist/eval-workflows/run-evaluation.d.ts.map +0 -1
  569. package/dist/eval-workflows/run-evaluation.js.map +0 -1
  570. package/dist/executors/anthropic-api.d.ts.map +0 -1
  571. package/dist/executors/anthropic-api.js.map +0 -1
  572. package/dist/executors/claude-cli.d.ts.map +0 -1
  573. package/dist/executors/claude-cli.js.map +0 -1
  574. package/dist/executors/claude-sdk-trace.d.ts.map +0 -1
  575. package/dist/executors/claude-sdk-trace.js.map +0 -1
  576. package/dist/executors/claude-sdk.d.ts.map +0 -1
  577. package/dist/executors/claude-sdk.js.map +0 -1
  578. package/dist/executors/codex-cli-trace.d.ts.map +0 -1
  579. package/dist/executors/codex-cli-trace.js.map +0 -1
  580. package/dist/executors/codex-cli.d.ts.map +0 -1
  581. package/dist/executors/codex-cli.js.map +0 -1
  582. package/dist/executors/codex-sdk.d.ts.map +0 -1
  583. package/dist/executors/codex-sdk.js.map +0 -1
  584. package/dist/executors/gemini.d.ts.map +0 -1
  585. package/dist/executors/gemini.js.map +0 -1
  586. package/dist/executors/index.d.ts.map +0 -1
  587. package/dist/executors/index.js.map +0 -1
  588. package/dist/executors/openai-api.d.ts.map +0 -1
  589. package/dist/executors/openai-api.js.map +0 -1
  590. package/dist/executors/runtime-fingerprint.d.ts.map +0 -1
  591. package/dist/executors/runtime-fingerprint.js.map +0 -1
  592. package/dist/executors/script.d.ts.map +0 -1
  593. package/dist/executors/script.js.map +0 -1
  594. package/dist/executors/shared.d.ts.map +0 -1
  595. package/dist/executors/shared.js.map +0 -1
  596. package/dist/grading/assertions.d.ts.map +0 -1
  597. package/dist/grading/assertions.js.map +0 -1
  598. package/dist/grading/debias-validate.d.ts.map +0 -1
  599. package/dist/grading/debias-validate.js.map +0 -1
  600. package/dist/grading/diagnostic.d.ts.map +0 -1
  601. package/dist/grading/diagnostic.js.map +0 -1
  602. package/dist/grading/gold-cli.d.ts.map +0 -1
  603. package/dist/grading/gold-cli.js.map +0 -1
  604. package/dist/grading/gold-dataset.d.ts.map +0 -1
  605. package/dist/grading/gold-dataset.js.map +0 -1
  606. package/dist/grading/human-gold.d.ts.map +0 -1
  607. package/dist/grading/human-gold.js.map +0 -1
  608. package/dist/grading/index.d.ts.map +0 -1
  609. package/dist/grading/index.js.map +0 -1
  610. package/dist/grading/judge.d.ts.map +0 -1
  611. package/dist/grading/judge.js.map +0 -1
  612. package/dist/grading/layered-scores.d.ts.map +0 -1
  613. package/dist/grading/layered-scores.js.map +0 -1
  614. package/dist/inputs/eval-config.d.ts.map +0 -1
  615. package/dist/inputs/eval-config.js.map +0 -1
  616. package/dist/inputs/load-samples.d.ts.map +0 -1
  617. package/dist/inputs/load-samples.js.map +0 -1
  618. package/dist/inputs/mcp-resolver.d.ts.map +0 -1
  619. package/dist/inputs/mcp-resolver.js.map +0 -1
  620. package/dist/inputs/skill-loader.d.ts.map +0 -1
  621. package/dist/inputs/skill-loader.js.map +0 -1
  622. package/dist/inputs/url-fetcher.d.ts.map +0 -1
  623. package/dist/inputs/url-fetcher.js.map +0 -1
  624. package/dist/observability/experience-frontmatter.d.ts.map +0 -1
  625. package/dist/observability/experience-frontmatter.js.map +0 -1
  626. package/dist/observability/experience.d.ts.map +0 -1
  627. package/dist/observability/experience.js.map +0 -1
  628. package/dist/observability/feedback-matchers.d.ts.map +0 -1
  629. package/dist/observability/feedback-matchers.js.map +0 -1
  630. package/dist/observability/feedback-projection.d.ts.map +0 -1
  631. package/dist/observability/feedback-projection.js.map +0 -1
  632. package/dist/observability/inbox-view-model.d.ts.map +0 -1
  633. package/dist/observability/inbox-view-model.js.map +0 -1
  634. package/dist/observability/inbox.d.ts.map +0 -1
  635. package/dist/observability/inbox.js.map +0 -1
  636. package/dist/observability/problem-patterns.d.ts.map +0 -1
  637. package/dist/observability/problem-patterns.js.map +0 -1
  638. package/dist/observability/resolved-review.d.ts.map +0 -1
  639. package/dist/observability/resolved-review.js.map +0 -1
  640. package/dist/observability/review-state.d.ts.map +0 -1
  641. package/dist/observability/review-state.js.map +0 -1
  642. package/dist/observability/skill-chain-advisories.d.ts.map +0 -1
  643. package/dist/observability/skill-chain-advisories.js.map +0 -1
  644. package/dist/observability/skill-chain.d.ts.map +0 -1
  645. package/dist/observability/skill-chain.js.map +0 -1
  646. package/dist/observability/skill-health-analyzer.d.ts.map +0 -1
  647. package/dist/observability/skill-health-analyzer.js.map +0 -1
  648. package/dist/observability/soft-standards/constants.d.ts.map +0 -1
  649. package/dist/observability/soft-standards/constants.js.map +0 -1
  650. package/dist/observability/soft-standards/index.d.ts.map +0 -1
  651. package/dist/observability/soft-standards/index.js.map +0 -1
  652. package/dist/observability/soft-standards/llm-extractor.d.ts.map +0 -1
  653. package/dist/observability/soft-standards/llm-extractor.js.map +0 -1
  654. package/dist/observability/soft-standards/runtime-evaluator.d.ts.map +0 -1
  655. package/dist/observability/soft-standards/runtime-evaluator.js.map +0 -1
  656. package/dist/observability/soft-standards/skill-standards-store.d.ts.map +0 -1
  657. package/dist/observability/soft-standards/skill-standards-store.js.map +0 -1
  658. package/dist/observability/soft-standards/types.d.ts.map +0 -1
  659. package/dist/observability/soft-standards/types.js.map +0 -1
  660. package/dist/observability/text-signals.d.ts.map +0 -1
  661. package/dist/observability/text-signals.js.map +0 -1
  662. package/dist/observability/trace-adapter.d.ts.map +0 -1
  663. package/dist/observability/trace-adapter.js.map +0 -1
  664. package/dist/observability/trace-attribution.d.ts.map +0 -1
  665. package/dist/observability/trace-attribution.js.map +0 -1
  666. package/dist/observability/trace-segmenter.d.ts.map +0 -1
  667. package/dist/observability/trace-segmenter.js.map +0 -1
  668. package/dist/observability/trace-source.d.ts.map +0 -1
  669. package/dist/observability/trace-source.js.map +0 -1
  670. package/dist/renderer/html-renderer.d.ts.map +0 -1
  671. package/dist/renderer/html-renderer.js.map +0 -1
  672. package/dist/renderer/layout.d.ts.map +0 -1
  673. package/dist/renderer/layout.js.map +0 -1
  674. package/dist/renderer/observation-inbox/helpers.d.ts.map +0 -1
  675. package/dist/renderer/observation-inbox/helpers.js.map +0 -1
  676. package/dist/renderer/observation-inbox/styles.d.ts.map +0 -1
  677. package/dist/renderer/observation-inbox/styles.js.map +0 -1
  678. package/dist/renderer/observation-inbox-renderer.d.ts.map +0 -1
  679. package/dist/renderer/observation-inbox-renderer.js.map +0 -1
  680. package/dist/renderer/skill-detail-renderer.d.ts.map +0 -1
  681. package/dist/renderer/skill-detail-renderer.js.map +0 -1
  682. package/dist/renderer/skill-health-renderer.d.ts.map +0 -1
  683. package/dist/renderer/skill-health-renderer.js.map +0 -1
  684. package/dist/renderer/skill-list-renderer.d.ts.map +0 -1
  685. package/dist/renderer/skill-list-renderer.js.map +0 -1
  686. package/dist/renderer/summary.d.ts.map +0 -1
  687. package/dist/renderer/summary.js.map +0 -1
  688. package/dist/renderer/table.d.ts.map +0 -1
  689. package/dist/renderer/table.js.map +0 -1
  690. package/dist/renderer/test-view.d.ts.map +0 -1
  691. package/dist/renderer/test-view.js.map +0 -1
  692. package/dist/renderer/trends.d.ts.map +0 -1
  693. package/dist/renderer/trends.js.map +0 -1
  694. package/dist/server/job-store.d.ts.map +0 -1
  695. package/dist/server/job-store.js.map +0 -1
  696. package/dist/server/report-server.d.ts.map +0 -1
  697. package/dist/server/report-server.js.map +0 -1
  698. package/dist/server/report-store.d.ts.map +0 -1
  699. package/dist/server/report-store.js.map +0 -1
  700. package/dist/server/skill-index.d.ts.map +0 -1
  701. package/dist/server/skill-index.js.map +0 -1
  702. package/dist/server/skill-insights.d.ts.map +0 -1
  703. package/dist/server/skill-insights.js.map +0 -1
  704. package/dist/shared/hard-rules.d.ts.map +0 -1
  705. package/dist/shared/hard-rules.js.map +0 -1
  706. package/dist/shared/llm-prompts/index.d.ts.map +0 -1
  707. package/dist/shared/llm-prompts/index.js.map +0 -1
  708. package/dist/shared/llm-prompts/skill-health.d.ts.map +0 -1
  709. package/dist/shared/llm-prompts/skill-health.js.map +0 -1
  710. package/dist/shared/time.d.ts.map +0 -1
  711. package/dist/shared/time.js.map +0 -1
  712. package/dist/shared/tool-search.d.ts.map +0 -1
  713. package/dist/shared/tool-search.js.map +0 -1
  714. package/dist/types/dependencies.d.ts.map +0 -1
  715. package/dist/types/dependencies.js.map +0 -1
  716. package/dist/types/diagnosis.d.ts.map +0 -1
  717. package/dist/types/diagnosis.js.map +0 -1
  718. package/dist/types/doctor.d.ts.map +0 -1
  719. package/dist/types/doctor.js.map +0 -1
  720. package/dist/types/eval.d.ts.map +0 -1
  721. package/dist/types/eval.js.map +0 -1
  722. package/dist/types/executor.d.ts.map +0 -1
  723. package/dist/types/executor.js.map +0 -1
  724. package/dist/types/index.d.ts.map +0 -1
  725. package/dist/types/index.js.map +0 -1
  726. package/dist/types/judge.d.ts.map +0 -1
  727. package/dist/types/judge.js.map +0 -1
  728. package/dist/types/observability.d.ts.map +0 -1
  729. package/dist/types/observability.js.map +0 -1
  730. package/dist/types/report.d.ts.map +0 -1
  731. package/dist/types/report.js.map +0 -1
  732. package/dist/types/shared.d.ts.map +0 -1
  733. package/dist/types/shared.js.map +0 -1
  734. package/dist/types/skill-index.d.ts.map +0 -1
  735. package/dist/types/skill-index.js.map +0 -1
  736. package/dist/types/storage.d.ts.map +0 -1
  737. package/dist/types/storage.js.map +0 -1
  738. package/dist/util/safe-slice.d.ts.map +0 -1
  739. package/dist/util/safe-slice.js.map +0 -1
@@ -43,4 +43,3 @@
43
43
  * `default: false` 的 boolean 必须在 interface 里标成可选(`field?: boolean`)。
44
44
  */
45
45
  export {};
46
- //# sourceMappingURL=cmd-flags.js.map
@@ -1,4 +1,3 @@
1
1
  import type { CliMessage } from './types.js';
2
2
  export type CommonMessageKey = 'cli.common.unknown_domain' | 'cli.common.error_prefix' | 'cli.common.skill_dir_not_found' | 'cli.common.skill_file_not_found' | 'cli.common.skill_dir_no_skill_md' | 'cli.common.report_not_found' | 'cli.common.no_judge_model' | 'cli.common.judge_models_single_only' | 'cli.common.warn_load_samples_failed' | 'cli.update.new_version_available' | 'cli.update.box_title' | 'cli.update.box_version_line' | 'cli.update.box_upgrade_line' | 'cli.update.box_silence_line' | 'cli.observe.view_hint' | 'cli.studio.started' | 'cli.studio.stop_hint' | 'cli.studio.open_failed' | 'cli.doctor.no_skill_found' | 'cli.doctor.samples_detected';
3
3
  export declare const commonDict: Record<CommonMessageKey, CliMessage>;
4
- //# sourceMappingURL=common.d.ts.map
@@ -80,4 +80,3 @@ export const commonDict = {
80
80
  en: '✓ Using eval samples file: {path}',
81
81
  },
82
82
  };
83
- //# sourceMappingURL=common.js.map
@@ -1,4 +1,3 @@
1
1
  import type { CliMessage } from './types.js';
2
- export type EvolveMessageKey = 'cli.evolve.specify_skill_path' | 'cli.evolve.section_header' | 'cli.evolve.round_baseline' | 'cli.evolve.round_baseline_reused' | 'cli.evolve.round_error' | 'cli.evolve.round_done' | 'cli.evolve.summary' | 'cli.evolve.best_path' | 'cli.evolve.versions_saved' | 'cli.evolve.report_link' | 'cli.evolve.holdout_active' | 'cli.evolve.holdout_disabled';
2
+ export type EvolveMessageKey = 'cli.evolve.specify_skill_path' | 'cli.evolve.section_header' | 'cli.evolve.round_baseline' | 'cli.evolve.round_baseline_reused' | 'cli.evolve.round_error' | 'cli.evolve.round_done' | 'cli.evolve.summary' | 'cli.evolve.best_path' | 'cli.evolve.versions_saved' | 'cli.evolve.report_link' | 'cli.evolve.holdout_active' | 'cli.evolve.holdout_disabled' | 'cli.evolve.gate_underpowered' | 'cli.evolve.generalization' | 'cli.evolve.test_disabled' | 'cli.evolve.reject_not_significant';
3
3
  export declare const evolveDict: Record<EvolveMessageKey, CliMessage>;
4
- //# sourceMappingURL=evolve.d.ts.map
@@ -47,5 +47,20 @@ export const evolveDict = {
47
47
  zh: '⚠️ holdout-ratio={ratio} 样本太少无法切分,已回退全集打分\n',
48
48
  en: '⚠️ holdout-ratio={ratio} too few samples to split; using full-set scoring\n',
49
49
  },
50
+ 'cli.evolve.gate_underpowered': {
51
+ zh: '⚠️ 决策样本量不足以做显著性门禁,本轮退回点估计接受;增大用例集或降 --holdout-ratio 可启用严格门\n',
52
+ en: '⚠️ Too few decision samples for the significance gate; fell back to point-estimate accept. Add samples or lower --holdout-ratio to enable the strict gate\n',
53
+ },
54
+ 'cli.evolve.generalization': {
55
+ zh: '🔒 锁定 test 集({count} 条,全程不参与选择):泛化分 {score}\n',
56
+ en: '🔒 Locked test set ({count} samples, never used for selection): generalization {score}\n',
57
+ },
58
+ 'cli.evolve.reject_not_significant': {
59
+ zh: '(差异不显著)',
60
+ en: ' (not significant)',
61
+ },
62
+ 'cli.evolve.test_disabled': {
63
+ zh: '⚠️ test-ratio={ratio} 样本太少无法做三路切分,已回退两路 holdout,本次无泛化分\n',
64
+ en: '⚠️ test-ratio={ratio} too few samples for a 3-way split; fell back to 2-way holdout, no generalization score this run\n',
65
+ },
50
66
  };
51
- //# sourceMappingURL=evolve.js.map
@@ -1,4 +1,3 @@
1
1
  import type { CliMessage } from './types.js';
2
2
  export type GenMessageKey = 'cli.gen.skill_skipped_existing' | 'cli.gen.skill_generating' | 'cli.gen.skill_generating_auto' | 'cli.gen.skill_done' | 'cli.gen.skill_failed' | 'cli.gen.batch_none_needed' | 'cli.gen.batch_summary' | 'cli.gen.specify_skill_path' | 'cli.gen.samples_already_exists' | 'cli.gen.single_generating' | 'cli.gen.single_generating_auto' | 'cli.gen.single_done' | 'cli.gen.review_hint' | 'cli.gen.failed' | 'cli.gen.focus_applied';
3
3
  export declare const genDict: Record<GenMessageKey, CliMessage>;
4
- //# sourceMappingURL=gen.d.ts.map
@@ -60,4 +60,3 @@ export const genDict = {
60
60
  en: '🎯 Focus scenarios (--focus): {focus}\n',
61
61
  },
62
62
  };
63
- //# sourceMappingURL=gen.js.map
@@ -1,4 +1,3 @@
1
1
  import type { CliMessage } from './types.js';
2
2
  export type HelpMessageKey = 'cli.help.observe' | 'cli.help.observe_ingest' | 'cli.help.observe_inbox' | 'cli.help.observe_show' | 'cli.help.evolve' | 'cli.help.sample' | 'cli.help.studio';
3
3
  export declare const helpDict: Record<HelpMessageKey, CliMessage>;
4
- //# sourceMappingURL=help.d.ts.map
@@ -278,4 +278,3 @@ Examples:
278
278
  `,
279
279
  },
280
280
  };
281
- //# sourceMappingURL=help.js.map
@@ -1,4 +1,3 @@
1
1
  import type { CliMessage } from './types.js';
2
2
  export type InitMessageKey = 'cli.init.scaffolded' | 'cli.init.next_steps_title' | 'cli.init.next_step_edit_samples' | 'cli.init.next_step_edit_skills' | 'cli.init.next_step_run' | 'cli.init.note_codex_executor';
3
3
  export declare const initDict: Record<InitMessageKey, CliMessage>;
4
- //# sourceMappingURL=init.d.ts.map
@@ -24,4 +24,3 @@ export const initDict = {
24
24
  en: '\nNote: during omk evaluation the full SKILL.md (frontmatter included) is injected as the system prompt — uniformly across executors (claude / codex / openai-api / gemini all take the same path; omk does not rely on any executor\'s native skill auto-discovery or Skill tool). Frontmatter has no measurable impact on model behavior in this position.\nThe template ships with Claude Code-compatible frontmatter (name + description) so the same directory-skill can also be deployed to Claude Code: copy the whole directory to ~/.claude/skills/code-review-v1/ (the directory, not just SKILL.md) so Claude SDK can recognize it. That is a bonus beyond omk evaluation — one source, two-way dogfood.',
25
25
  },
26
26
  };
27
- //# sourceMappingURL=init.js.map
@@ -0,0 +1,3 @@
1
+ import type { CliMessage } from './types.js';
2
+ export type InstallMessageKey = 'cli.install.asset_missing' | 'cli.install.unknown_input' | 'cli.install.unknown_target' | 'cli.install.invalid_target_combo' | 'cli.install.no_detected_targets' | 'cli.install.target_exists' | 'cli.install.plan' | 'cli.install.plan_skill' | 'cli.install.installed' | 'cli.install.kind_unsupported' | 'cli.install.copied' | 'cli.install.adopted' | 'cli.install.registered' | 'cli.install.target_overlaps_source' | 'cli.install.path_not_found' | 'cli.install.skillmd_missing' | 'cli.install.skillmd_is_symlink' | 'cli.install.not_a_skill' | 'cli.install.not_a_git_repo' | 'cli.install.git_skill_not_found' | 'cli.install.git_unsafe_path' | 'cli.install.invalid_remote_url' | 'cli.install.remote_fetch_failed' | 'cli.install.remote_ref_not_found' | 'cli.install.remote_skill_not_found' | 'cli.install.git_ref_needs_url' | 'cli.install.next_hint';
3
+ export declare const installDict: Record<InstallMessageKey, CliMessage>;
@@ -0,0 +1,110 @@
1
+ export const installDict = {
2
+ 'cli.install.asset_missing': {
3
+ zh: '未找到打包内置资源:{path}。请先运行 yarn build,或确认 npm 包包含 dist/assets/agent-skills/omk。',
4
+ en: 'Packaged built-in asset not found: {path}. Run yarn build first, or verify the npm package includes dist/assets/agent-skills/omk.',
5
+ },
6
+ 'cli.install.unknown_input': {
7
+ zh: 'install 接受内置 id omk-agent-skill、本地 skill 路径(如 ./skills/review、./review.md),或 git:<ref>:<name>(当前仓库某 ref 的 skill)。无法识别的输入:{input}',
8
+ en: 'install accepts the built-in id omk-agent-skill, a local skill path (e.g. ./skills/review or ./review.md), or git:<ref>:<name> (a skill at a ref of the current repo). Unrecognized input: {input}',
9
+ },
10
+ 'cli.install.unknown_target': {
11
+ zh: '未知安装目标:{target}。可用值:auto, codex, claude, all;或用 --dest <dir> 指定 skill 根目录。',
12
+ en: 'Unknown install target: {target}. Use auto, codex, claude, all; or pass --dest <dir> for a custom skill root.',
13
+ },
14
+ 'cli.install.invalid_target_combo': {
15
+ zh: '安装目标组合不合法:{target}。auto 和 all 必须单独使用;如需多个明确目标,请写 codex,claude。',
16
+ en: 'Invalid install target combination: {target}. auto and all must be used alone; use codex,claude for multiple explicit targets.',
17
+ },
18
+ 'cli.install.no_detected_targets': {
19
+ zh: '未检测到本机支持的 agent skill 目录。请用 --to codex / --to claude / --to all 明确目标,或用 --dest <dir> 指定 skill 根目录。',
20
+ en: 'No supported local agent skill directory was detected. Pass --to codex / --to claude / --to all, or pass --dest <dir> for a custom skill root.',
21
+ },
22
+ 'cli.install.target_exists': {
23
+ zh: '目标已存在:{path}。如要覆盖,请加 --force。',
24
+ en: 'Target already exists: {path}. Pass --force to overwrite.',
25
+ },
26
+ 'cli.install.plan': {
27
+ zh: '将安装 omk Agent Skill 到:{path}',
28
+ en: 'Will install the omk Agent Skill to: {path}',
29
+ },
30
+ 'cli.install.plan_skill': {
31
+ zh: '将安装 skill {name} 到:{path}',
32
+ en: 'Will install skill {name} to: {path}',
33
+ },
34
+ 'cli.install.installed': {
35
+ zh: '已安装 omk Agent Skill:{path}',
36
+ en: 'Installed omk Agent Skill: {path}',
37
+ },
38
+ 'cli.install.kind_unsupported': {
39
+ zh: '暂不支持安装 kind 为 {kind} 的知识输入;当前仅支持 skill(prompt / agent / workflow 的 artifact 模型尚未定义)。',
40
+ en: 'Installing a {kind} knowledge input is not yet supported; only skill is supported today (the artifact model for prompt / agent / workflow is not yet defined).',
41
+ },
42
+ 'cli.install.copied': {
43
+ zh: '已安装 skill {name}:{path}',
44
+ en: 'Installed skill {name}: {path}',
45
+ },
46
+ 'cli.install.adopted': {
47
+ zh: '已就地接管 skill {name}(已在目标位置,未改动文件):{path}',
48
+ en: 'Adopted skill {name} in place (already at target, files untouched): {path}',
49
+ },
50
+ 'cli.install.registered': {
51
+ zh: '已登记受管记录 {id}:{store}',
52
+ en: 'Registered managed record {id}: {store}',
53
+ },
54
+ 'cli.install.target_overlaps_source': {
55
+ zh: '安装目标与源相互嵌套,拒绝执行(会删掉源或自我复制)。源:{source};目标:{target}。请换一个不与源重叠的 --dest。',
56
+ en: 'Install target overlaps the source (would delete the source or copy into itself); refused. Source: {source}; target: {target}. Use a --dest that does not overlap the source.',
57
+ },
58
+ 'cli.install.path_not_found': {
59
+ zh: '找不到要安装的 skill 路径:{path}',
60
+ en: 'Skill path to install not found: {path}',
61
+ },
62
+ 'cli.install.skillmd_missing': {
63
+ zh: '目录下没有 SKILL.md,不是一个 directory-skill:{path}',
64
+ en: 'No SKILL.md in the directory; not a directory-skill: {path}',
65
+ },
66
+ 'cli.install.not_a_skill': {
67
+ zh: '不是 skill 文件(需要 .md 或含 SKILL.md 的目录):{path}',
68
+ en: 'Not a skill file (expected a .md file or a directory containing SKILL.md): {path}',
69
+ },
70
+ 'cli.install.skillmd_is_symlink': {
71
+ zh: 'SKILL.md 是指向 {target} 的软链,分发会跳过软链、装出来的 skill 会缺 SKILL.md。请直接 install 真源位置:{target}',
72
+ en: 'SKILL.md is a symlink to {target}; symlinks are skipped during distribution, so the installed skill would be missing its SKILL.md. Install the real source instead: {target}',
73
+ },
74
+ 'cli.install.not_a_git_repo': {
75
+ zh: '当前目录不在 git 仓库内,无法解析 git: 源。请在仓库内执行,或改用本地路径。',
76
+ en: 'Current directory is not inside a git repo; cannot resolve a git: source. Run inside the repo, or use a local path.',
77
+ },
78
+ 'cli.install.git_skill_not_found': {
79
+ zh: '在 git ref {ref} 下找不到 skill {name}(既无 {name}/SKILL.md 也无 {name}.md)。',
80
+ en: 'Skill {name} not found at git ref {ref} (neither {name}/SKILL.md nor {name}.md).',
81
+ },
82
+ 'cli.install.git_unsafe_path': {
83
+ zh: 'git tree 含越界路径 {path}(.. / 绝对路径 / 空段),拒绝物化以防写出临时目录。该 skill 的 git tree 可能被手工构造,请核查来源。',
84
+ en: 'git tree contains an out-of-bounds path {path} (.. / absolute / empty segment); refusing to materialize to avoid escaping the temp dir. The skill git tree may be hand-crafted; verify the source.',
85
+ },
86
+ 'cli.install.invalid_remote_url': {
87
+ zh: '不是合法的 git 远端 URL:{url}。支持 https:// / ssh:// / git:// / file:// 或 scp 形式 git@host:path。',
88
+ en: 'Not a valid git remote URL: {url}. Supported: https:// / ssh:// / git:// / file:// or scp-form git@host:path.',
89
+ },
90
+ 'cli.install.remote_fetch_failed': {
91
+ zh: '从远端 {url} 拉取 ref {ref} 失败。请检查 URL、ref 是否存在、以及本机 git 凭证(SSH key / credential helper)。',
92
+ en: 'Failed to fetch ref {ref} from remote {url}. Check the URL, whether the ref exists, and your local git credentials (SSH key / credential helper).',
93
+ },
94
+ 'cli.install.remote_ref_not_found': {
95
+ zh: '远端 {url} 上解析不到 ref {ref}。',
96
+ en: 'Could not resolve ref {ref} on remote {url}.',
97
+ },
98
+ 'cli.install.remote_skill_not_found': {
99
+ zh: '在远端 {url} 的 ref {ref} 下找不到 skill {name}(既无 {name}/SKILL.md 也无 {name}.md)。',
100
+ en: 'Skill {name} not found at ref {ref} of remote {url} (neither {name}/SKILL.md nor {name}.md).',
101
+ },
102
+ 'cli.install.git_ref_needs_url': {
103
+ zh: '--git-ref 需要配 --git-url 一起用(远端 git 源 = URL + ref + 仓库内路径)。',
104
+ en: '--git-ref requires --git-url (a remote git source = URL + ref + in-repo path).',
105
+ },
106
+ 'cli.install.next_hint': {
107
+ zh: '现在可以在 coding agent 中说「用 omk 评测这个 skill」。',
108
+ en: 'You can now ask your coding agent: "use omk to evaluate this skill".',
109
+ },
110
+ };
@@ -1,4 +1,3 @@
1
1
  import type { CliMessage } from './types.js';
2
- export type RunMessageKey = 'cli.progress.preflight_starting' | 'cli.progress.sample_retry' | 'cli.progress.sample_error' | 'cli.progress.sample_executing' | 'cli.progress.sample_exec_done' | 'cli.progress.output_preview' | 'cli.progress.judging' | 'cli.progress.judged' | 'cli.progress.skipped' | 'cli.progress.sample_done' | 'cli.progress.sample_failed_done' | 'cli.run.invalid_repeat' | 'cli.run.invalid_judge_repeat' | 'cli.run.no_debias_length_active' | 'cli.run.invalid_bootstrap_samples' | 'cli.run.bootstrap_samples_too_large' | 'cli.run.dry_run_no_scores' | 'cli.run.skill_section' | 'cli.run.run_section' | 'cli.run.batch_complete' | 'cli.run.batch_verdict_header' | 'cli.run.batch_child_report_missing' | 'cli.run.eval_complete' | 'cli.run.tally' | 'cli.run.report_saved' | 'cli.run.report_only_gate_skipped' | 'cli.run.report_server_running' | 'cli.run.report_server_view' | 'cli.run.report_server_stop' | 'cli.run.no_serve_in_non_tty' | 'cli.run.no_serve_view_hint' | 'cli.run.gold_load_failed' | 'cli.run.gold_load_issue' | 'cli.run.contamination_warning' | 'cli.run.skip_connectivity_warning';
2
+ export type RunMessageKey = 'cli.progress.preflight_starting' | 'cli.progress.sample_retry' | 'cli.progress.sample_error' | 'cli.progress.sample_executing' | 'cli.progress.sample_exec_done' | 'cli.progress.output_preview' | 'cli.progress.judging' | 'cli.progress.judged' | 'cli.progress.skipped' | 'cli.progress.sample_done' | 'cli.progress.sample_failed_done' | 'cli.run.invalid_repeat' | 'cli.run.invalid_judge_repeat' | 'cli.run.no_debias_length_active' | 'cli.run.invalid_bootstrap_samples' | 'cli.run.bootstrap_samples_too_large' | 'cli.run.dry_run_no_scores' | 'cli.run.skill_section' | 'cli.run.run_section' | 'cli.run.batch_complete' | 'cli.run.batch_verdict_header' | 'cli.run.batch_child_report_missing' | 'cli.run.eval_complete' | 'cli.run.tally' | 'cli.run.report_saved' | 'cli.run.evidence_recorded' | 'cli.run.evidence_recorded_unbound' | 'cli.run.report_only_gate_skipped' | 'cli.run.report_server_running' | 'cli.run.report_server_view' | 'cli.run.report_server_stop' | 'cli.run.no_serve_in_non_tty' | 'cli.run.no_serve_view_hint' | 'cli.run.gold_load_failed' | 'cli.run.gold_load_issue' | 'cli.run.contamination_warning' | 'cli.run.skip_connectivity_warning';
3
3
  export declare const runDict: Record<RunMessageKey, CliMessage>;
4
- //# sourceMappingURL=run.d.ts.map
@@ -99,6 +99,14 @@ export const runDict = {
99
99
  zh: '📄 报告已保存到: {path}\n',
100
100
  en: '📄 Report saved to: {path}\n',
101
101
  },
102
+ 'cli.run.evidence_recorded': {
103
+ zh: '🔖 已为受管 skill「{name}」记录评测证据 → measurable\n',
104
+ en: '🔖 Recorded eval evidence for managed skill "{name}" → measurable\n',
105
+ },
106
+ 'cli.run.evidence_recorded_unbound': {
107
+ zh: '🔖 受管 skill「{name}」:评测内容与当前安装版本指纹不一致,证据已留存但不绑当前版本\n',
108
+ en: '🔖 Managed skill "{name}": eval content differs from the installed version; evidence kept but not bound to current\n',
109
+ },
102
110
  'cli.run.report_only_gate_skipped': {
103
111
  zh: 'ℹ 已启用 report-only 模式:保留 verdict 输出,但本次不使用 verdict 改写 exit code。\n',
104
112
  en: 'ℹ Report-only mode enabled: verdict is still printed, but it will not affect the exit code.\n',
@@ -140,4 +148,3 @@ export const runDict = {
140
148
  en: '⚠️ --skip-connectivity enabled: LLM connectivity check skipped. Verify executor / judge are reachable by other means.',
141
149
  },
142
150
  };
143
- //# sourceMappingURL=run.js.map
@@ -2,4 +2,3 @@ export interface CliMessage {
2
2
  zh: string;
3
3
  en: string;
4
4
  }
5
- //# sourceMappingURL=types.d.ts.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=types.js.map
@@ -55,9 +55,9 @@ import { type EvolveMessageKey } from './i18n-dict/evolve.js';
55
55
  import { type GenMessageKey } from './i18n-dict/gen.js';
56
56
  import { type HelpMessageKey } from './i18n-dict/help.js';
57
57
  import { type InitMessageKey } from './i18n-dict/init.js';
58
+ import { type InstallMessageKey } from './i18n-dict/install.js';
58
59
  import { type RunMessageKey } from './i18n-dict/run.js';
59
60
  import type { CliMessage } from './i18n-dict/types.js';
60
61
  export type { CliMessage } from './i18n-dict/types.js';
61
- export type CliMessageKey = CommonMessageKey | EvolveMessageKey | GenMessageKey | HelpMessageKey | InitMessageKey | RunMessageKey;
62
+ export type CliMessageKey = CommonMessageKey | EvolveMessageKey | GenMessageKey | HelpMessageKey | InitMessageKey | InstallMessageKey | RunMessageKey;
62
63
  export declare const CLI_DICT: Record<CliMessageKey, CliMessage>;
63
- //# sourceMappingURL=i18n-dict.d.ts.map
@@ -55,6 +55,7 @@ import { evolveDict } from './i18n-dict/evolve.js';
55
55
  import { genDict } from './i18n-dict/gen.js';
56
56
  import { helpDict } from './i18n-dict/help.js';
57
57
  import { initDict } from './i18n-dict/init.js';
58
+ import { installDict } from './i18n-dict/install.js';
58
59
  import { runDict } from './i18n-dict/run.js';
59
60
  export const CLI_DICT = {
60
61
  ...commonDict,
@@ -62,6 +63,6 @@ export const CLI_DICT = {
62
63
  ...genDict,
63
64
  ...helpDict,
64
65
  ...initDict,
66
+ ...installDict,
65
67
  ...runDict,
66
68
  };
67
- //# sourceMappingURL=i18n-dict.js.map
@@ -26,4 +26,3 @@ export declare function tBoth(key: CliMessageKey, params?: Record<string, string
26
26
  zh: string;
27
27
  en: string;
28
28
  };
29
- //# sourceMappingURL=i18n.d.ts.map
@@ -55,4 +55,3 @@ export function tBoth(key, params) {
55
55
  en: tCli(key, 'en', params),
56
56
  };
57
57
  }
58
- //# sourceMappingURL=i18n.js.map
@@ -21,4 +21,3 @@
21
21
  import type { JudgeConfig } from '../../../types/index.js';
22
22
  export declare function parseJudgeModelsArg(raw: string): JudgeConfig[];
23
23
  export declare function parseJudgeModelsArgOrExit(raw: string): JudgeConfig[];
24
- //# sourceMappingURL=judge-models.d.ts.map
@@ -52,4 +52,3 @@ export function parseJudgeModelsArgOrExit(raw) {
52
52
  throw new CliExit(2);
53
53
  }
54
54
  }
55
- //# sourceMappingURL=judge-models.js.map
@@ -16,4 +16,3 @@
16
16
  * 没有唯一答案)。本函数仅处理单 treatment 与零 treatment 情况。
17
17
  */
18
18
  export declare function discoverSamplesPath(values: Record<string, unknown>, skillDir: string): string;
19
- //# sourceMappingURL=samples-discovery.d.ts.map
@@ -17,7 +17,6 @@
17
17
  */
18
18
  import { resolve, join, dirname } from 'node:path';
19
19
  import { existsSync, statSync } from 'node:fs';
20
- import { parseVariantCwd } from '../../../inputs/skill-loader.js';
21
20
  export function discoverSamplesPath(values, skillDir) {
22
21
  const treatmentRaw = values.treatment;
23
22
  const treatments = treatmentRaw
@@ -36,8 +35,7 @@ export function discoverSamplesPath(values, skillDir) {
36
35
  return join(treatmentDir, name);
37
36
  }
38
37
  }
39
- const tname = parseVariantCwd(expr).name;
40
- const omkDir = join(skillDir, tname, '.omk');
38
+ const omkDir = join(skillDir, expr, '.omk');
41
39
  if (existsSync(omkDir))
42
40
  return omkDir;
43
41
  }
@@ -50,4 +48,3 @@ export function discoverSamplesPath(values, skillDir) {
50
48
  }
51
49
  return cwdFile;
52
50
  }
53
- //# sourceMappingURL=samples-discovery.js.map
@@ -20,4 +20,3 @@
20
20
  */
21
21
  import type { EvalConfig, VariantSpec } from '../../../types/index.js';
22
22
  export declare function resolveVariantSpecs(values: Record<string, unknown>, evalConfig: EvalConfig | null, skillDir: string): VariantSpec[];
23
- //# sourceMappingURL=variant-resolution.d.ts.map
@@ -18,23 +18,57 @@
18
18
  * 否则会被解析成两个 artifact 后用 `x` / `x#2` 消歧,变成同一份 skill 自比,
19
19
  * 悄悄废掉「control 不能等于 treatment」的测量保护。
20
20
  */
21
- import { discoverVariants, variantExprToSkillName, variantIdentity } from '../../../inputs/skill-loader.js';
21
+ import { discoverVariants, variantExprToSkillName, variantIdentity, parseVariantCwd } from '../../../inputs/skill-loader.js';
22
22
  import { configVariantsToSpecs } from '../../../inputs/eval-config.js';
23
+ /** CLI 的 --control / --treatment 只收 artifact 身份。`name@cwd` 语法已移除:撞到就抛迁移错误,
24
+ * 引导用户改用 --control-cwd / --treatment-cwd 或 eval.yaml 的 variant.cwd。git 修订语法 `@{...}`
25
+ * 由 parseVariantCwd 保护、不误判。cwd 由调用方在边界注入(见 eval-runner)。 */
26
+ function cliVariantSpec(rawExpr, role, cwd) {
27
+ // 远端 git 不走 CLI 字符串(URL 的 `:`/`@` 会被 parseGitInput / parseVariantCwd 误切)——
28
+ // 先于 @cwd guard 拦协议 URL 与 scp 形式 `git@host:path`,给明确的「走 eval.yaml」指引,
29
+ // 而非让 scp 形式落到下面 @cwd 的迁移报错(误导)。绝对本地路径 `/abs/skill.md` 不在此列。
30
+ if (/^(https?|ssh|git):\/\//i.test(rawExpr) || /^[\w.-]+@[\w.-]+:/.test(rawExpr)) {
31
+ throw new Error(`远端 git 源不支持经 --${role} 字符串传入: "${rawExpr}"。请在 eval.yaml 的 variant 上用结构化 `
32
+ + `git: { url, ref, spec } 字段(避开 URL 里的 : / @ 被误切),CLI 仅支持本地路径与 git:<ref>:<spec>。`);
33
+ }
34
+ // 探测旧 name@cwd 形态报错。注:含合法 `@`(非 `@{`)的路径(如 /x/@dir/skill.md)会被一并
35
+ // 误判 —— 属 pre-existing 限制(这类路径本就不被 @cwd 支持),报错文案仍指向迁移指引。
36
+ if (parseVariantCwd(rawExpr).cwd !== undefined) {
37
+ throw new Error(`「name@cwd」语法已移除: "${rawExpr}"。请改用 --${role}-cwd <dir> 声明 runtime context,`
38
+ + `或在 eval.yaml 的 variant 上用结构化 cwd: 字段。`);
39
+ }
40
+ return { name: variantExprToSkillName(rawExpr), role, expr: rawExpr, ...(cwd ? { cwd } : {}) };
41
+ }
23
42
  export function resolveVariantSpecs(values, evalConfig, skillDir) {
24
43
  const controlExpr = values.control;
25
44
  const treatmentExprs = values.treatment
26
45
  ? values.treatment.split(',').map((v) => v.trim()).filter(Boolean)
27
46
  : [];
47
+ const controlCwd = values['control-cwd'];
48
+ // 逗号列表,与 treatment 按序对齐;空位(空串)= 该 treatment 无 cwd。不 filter,保留位次。
49
+ const treatmentCwds = values['treatment-cwd']
50
+ ? values['treatment-cwd'].split(',').map((v) => v.trim())
51
+ : [];
28
52
  let variantSpecs;
29
53
  if (controlExpr || treatmentExprs.length > 0) {
30
54
  // CLI roles present → CLI entirely replaces config.variants (no merging).
55
+ if (controlCwd !== undefined && !controlExpr) {
56
+ throw new Error('--control-cwd 需要配 --control 一起用。');
57
+ }
58
+ if (treatmentCwds.length > 0 && treatmentCwds.length !== treatmentExprs.length) {
59
+ throw new Error(`--treatment-cwd 的数量(${treatmentCwds.length})必须与 --treatment(${treatmentExprs.length})按序对齐;`
60
+ + `某个 treatment 不需要 cwd 就在该位留空(如 /a,,/c)。`);
61
+ }
31
62
  variantSpecs = [];
32
63
  if (controlExpr) {
33
- variantSpecs.push({ name: variantExprToSkillName(controlExpr), role: 'control', expr: controlExpr });
34
- }
35
- for (const expr of treatmentExprs) {
36
- variantSpecs.push({ name: variantExprToSkillName(expr), role: 'treatment', expr });
64
+ variantSpecs.push(cliVariantSpec(controlExpr, 'control', controlCwd));
37
65
  }
66
+ treatmentExprs.forEach((expr, i) => {
67
+ variantSpecs.push(cliVariantSpec(expr, 'treatment', treatmentCwds[i]));
68
+ });
69
+ }
70
+ else if (controlCwd !== undefined || treatmentCwds.length > 0) {
71
+ throw new Error('--control-cwd / --treatment-cwd 需要配 --control / --treatment 一起用(eval.yaml 用 variant 的 cwd: 字段)。');
38
72
  }
39
73
  else if (evalConfig) {
40
74
  variantSpecs = configVariantsToSpecs(evalConfig.variants);
@@ -50,11 +84,11 @@ export function resolveVariantSpecs(values, evalConfig, skillDir) {
50
84
  throw new Error(`请通过 --control / --treatment 或 --config eval.yaml 声明 variant 角色。\n`
51
85
  + ` 示例:omk eval --control baseline --treatment my-skill${hint}\n`
52
86
  + ` --batch 模式下自动用 baseline vs 每个 skill,无需显式声明\n`
53
- + ` 术语见 docs/specs/terminology-spec.md(v0.16 起废除 --variants,改用 experiment role 显式声明)`);
87
+ + ` 术语见 docs/zh/specs/terminology-spec.md(v0.16 起废除 --variants,改用 experiment role 显式声明)`);
54
88
  }
55
89
  const seenIdentities = new Set();
56
90
  for (const spec of variantSpecs) {
57
- const key = variantIdentity(spec.expr, skillDir);
91
+ const key = variantIdentity(spec.expr, skillDir, spec.cwd);
58
92
  if (seenIdentities.has(key)) {
59
93
  throw new Error(`variant "${spec.expr}" 重复出现——同一 variant 不能同时属于 --control 与 --treatment,也不能在 --treatment 中重复。`);
60
94
  }
@@ -62,4 +96,3 @@ export function resolveVariantSpecs(values, evalConfig, skillDir) {
62
96
  }
63
97
  return variantSpecs;
64
98
  }
65
- //# sourceMappingURL=variant-resolution.js.map
@@ -90,4 +90,3 @@ export declare const DEFAULT_REPORTS_DIR: string;
90
90
  * 把 oclif flags 当 values 喂进来。
91
91
  */
92
92
  export declare function parseRunConfig(values: Record<string, unknown>): ParseRunConfigResult;
93
- //# sourceMappingURL=parse-run-config.d.ts.map
@@ -35,7 +35,7 @@ export function parseRunConfig(values) {
35
35
  if (values.variants !== undefined) {
36
36
  throw new Error(`--variants 已在 v0.16 废除,请改用 --control <expr> 与 --treatment <v1,v2,...>\n`
37
37
  + ` 迁移示例:--variants baseline,my-skill → --control baseline --treatment my-skill\n`
38
- + ` 复杂场景可用 --config eval.yaml(参见 docs/specs/terminology-spec.md)`);
38
+ + ` 复杂场景可用 --config eval.yaml(参见 docs/zh/specs/terminology-spec.md)`);
39
39
  }
40
40
  // 1) Load --config (if provided). All subsequent fields fall back to it when CLI is silent.
41
41
  const evalConfig = values.config
@@ -154,4 +154,3 @@ export function parseRunConfig(values) {
154
154
  evalConfig,
155
155
  };
156
156
  }
157
- //# sourceMappingURL=parse-run-config.js.map
@@ -22,4 +22,3 @@ export interface ProgressInfo {
22
22
  error?: string;
23
23
  }
24
24
  export declare function makeOnProgress(lang: CliLang): (info: ProgressInfo) => void;
25
- //# sourceMappingURL=progress.d.ts.map
@@ -59,4 +59,3 @@ export function makeOnProgress(lang) {
59
59
  }
60
60
  };
61
61
  }
62
- //# sourceMappingURL=progress.js.map
@@ -5,4 +5,3 @@ export interface ResolvedSkillInput {
5
5
  samplesPath: string;
6
6
  }
7
7
  export declare function resolveSkillInput(input: string, lang: CliLang): ResolvedSkillInput;
8
- //# sourceMappingURL=resolve-skill-input.d.ts.map
@@ -37,4 +37,3 @@ export function resolveSkillInput(input, lang) {
37
37
  const samplesPath = candidates.find(existsSync) ?? omkDir;
38
38
  return { skillPath, skillDir, samplesPath };
39
39
  }
40
- //# sourceMappingURL=resolve-skill-input.js.map
@@ -15,4 +15,3 @@ export declare function computeRunTally(report: ReportDocument): {
15
15
  passed: number;
16
16
  failed: number;
17
17
  };
18
- //# sourceMappingURL=run-tally.d.ts.map
@@ -19,7 +19,7 @@ export function computeRunTally(report) {
19
19
  failed += s.errorCount;
20
20
  }
21
21
  };
22
- if (report.kind === 'batch-evaluation') {
22
+ if (report.reportKind === 'batch-evaluation') {
23
23
  for (const item of report.items)
24
24
  accumulate(item.summary);
25
25
  }
@@ -28,4 +28,3 @@ export function computeRunTally(report) {
28
28
  }
29
29
  return { passed, failed };
30
30
  }
31
- //# sourceMappingURL=run-tally.js.map
@@ -9,4 +9,3 @@ export interface ReportServer {
9
9
  }
10
10
  export declare function requireEvaluationReport(report: ReportDocument | null, id: string, lang: CliLang): EvaluationReport;
11
11
  export declare function parseLastWindow(spec: string): string | null;
12
- //# sourceMappingURL=shared.d.ts.map
@@ -5,7 +5,7 @@ export function requireEvaluationReport(report, id, lang) {
5
5
  console.error(tCli('cli.common.report_not_found', lang, { id }));
6
6
  throw new CliExit(1);
7
7
  }
8
- if (report.kind === 'batch-evaluation') {
8
+ if (report.reportKind === 'batch-evaluation') {
9
9
  console.error(lang === 'zh'
10
10
  ? `报告 ${id} 是 BatchEvaluationReport。该命令需要单次 EvaluationReport;请使用其中的 child reportId。`
11
11
  : `Report ${id} is a BatchEvaluationReport. This command requires an EvaluationReport; use a child reportId from the batch.`);
@@ -23,4 +23,3 @@ export function parseLastWindow(spec) {
23
23
  const ms = unit === 'd' ? n * 86400_000 : unit === 'h' ? n * 3600_000 : n * 60_000;
24
24
  return new Date(Date.now() - ms).toISOString();
25
25
  }
26
- //# sourceMappingURL=shared.js.map
@@ -71,4 +71,3 @@ export declare function spawnDetached(scriptPath: string, args: string[]): void;
71
71
  * 由 index.ts 在非短路径下 fire-and-forget 调用。 */
72
72
  export declare function checkUpdate(lang: CliLang): Promise<void>;
73
73
  export {};
74
- //# sourceMappingURL=update-check.d.ts.map
@@ -299,4 +299,3 @@ export async function checkUpdate(lang) {
299
299
  /* 静默失败,不影响正常使用 */
300
300
  }
301
301
  }
302
- //# sourceMappingURL=update-check.js.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=update-fetch-worker.d.ts.map
@@ -32,4 +32,3 @@ async function main() {
32
32
  }
33
33
  }
34
34
  void main();
35
- //# sourceMappingURL=update-fetch-worker.js.map
@@ -5,4 +5,3 @@ export declare abstract class BaseCommand extends Command {
5
5
  protected get lang(): Lang;
6
6
  protected runWithCliExit(fn: () => Promise<void>): Promise<void>;
7
7
  }
8
- //# sourceMappingURL=base-command.d.ts.map
@@ -24,4 +24,3 @@ export class BaseCommand extends Command {
24
24
  }
25
25
  }
26
26
  }
27
- //# sourceMappingURL=base-command.js.map
@@ -13,4 +13,3 @@ export default class LangAwareHelp extends Help {
13
13
  description?: string;
14
14
  }>): string;
15
15
  }
16
- //# sourceMappingURL=help.d.ts.map
@@ -30,4 +30,3 @@ export default class LangAwareHelp extends Help {
30
30
  return super.formatTopics(topics.map((t) => projectTopic(t, this.lang)));
31
31
  }
32
32
  }
33
- //# sourceMappingURL=help.js.map
@@ -13,4 +13,3 @@ export declare const LANG_FLAG: import("@oclif/core/interfaces").OptionFlag<stri
13
13
  export declare function pickLang(text: string | undefined, lang: Lang): string | undefined;
14
14
  /** 从 process.argv 解析 lang,优先级跟 ../i18n.ts 的 getCliLang 一致:CLI flag > OMK_LANG > zh。 */
15
15
  export declare function resolveLang(argv?: readonly string[]): Lang;
16
- //# sourceMappingURL=i18n.d.ts.map
@@ -59,4 +59,3 @@ export function pickLang(text, lang) {
59
59
  export function resolveLang(argv = process.argv) {
60
60
  return getCliLang(parseLangFromArgv(argv));
61
61
  }
62
- //# sourceMappingURL=i18n.js.map
@@ -7,4 +7,3 @@ export declare function integerStringParser(flag: string, options?: NumericStrin
7
7
  export declare function numberStringParser(flag: string, options?: NumericStringParserOptions): (input: string) => Promise<string>;
8
8
  export declare function enumStringParser(flag: string, values: readonly string[]): (input: string) => Promise<string>;
9
9
  export {};
10
- //# sourceMappingURL=parsers.d.ts.map
@@ -99,4 +99,3 @@ export function enumStringParser(flag, values) {
99
99
  }, lang));
100
100
  };
101
101
  }
102
- //# sourceMappingURL=parsers.js.map
@@ -20,4 +20,3 @@ export declare function projectCommand(cmd: Command.Loadable, lang: Lang): Comma
20
20
  export declare function projectTopic<T extends {
21
21
  description?: string;
22
22
  }>(topic: T, lang: Lang): T;
23
- //# sourceMappingURL=projection.d.ts.map
@@ -49,4 +49,3 @@ export function projectTopic(topic, lang) {
49
49
  description: pickLang(topic.description, lang) ?? topic.description,
50
50
  };
51
51
  }
52
- //# sourceMappingURL=projection.js.map
@@ -1,2 +1 @@
1
1
  export declare function runOclifPath(): Promise<void>;
2
- //# sourceMappingURL=run.d.ts.map
@@ -8,4 +8,3 @@ import { execute } from '@oclif/core';
8
8
  export async function runOclifPath() {
9
9
  await execute({ dir: import.meta.url });
10
10
  }
11
- //# sourceMappingURL=run.js.map