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.
- package/README.md +21 -5
- package/README.zh.md +25 -9
- package/dist/analysis/coverage-analyzer.d.ts +0 -1
- package/dist/analysis/coverage-analyzer.js +0 -1
- package/dist/analysis/failure-clusterer.d.ts +0 -1
- package/dist/analysis/failure-clusterer.js +0 -1
- package/dist/analysis/gap-analyzer.d.ts +0 -1
- package/dist/analysis/gap-analyzer.js +0 -1
- package/dist/analysis/hedging-classifier.d.ts +0 -1
- package/dist/analysis/hedging-classifier.js +1 -2
- package/dist/analysis/report-diagnostics.d.ts +0 -1
- package/dist/analysis/report-diagnostics.js +0 -1
- package/dist/analysis/sample-diagnostics.d.ts +1 -2
- package/dist/analysis/sample-diagnostics.js +18 -19
- package/dist/analysis/saturation.d.ts +0 -1
- package/dist/analysis/saturation.js +0 -1
- package/dist/assets/agent-skills/omk/SKILL.md +197 -0
- package/dist/assets/agent-skills/omk/references/commands.md +556 -0
- package/dist/authoring/evolver.d.ts +130 -6
- package/dist/authoring/evolver.js +233 -35
- package/dist/authoring/generator.d.ts +0 -1
- package/dist/authoring/generator.js +0 -1
- package/dist/authoring/sample-fixer.d.ts +0 -1
- package/dist/authoring/sample-fixer.js +0 -1
- package/dist/cli/commands/doctor.d.ts +0 -1
- package/dist/cli/commands/doctor.js +2 -3
- package/dist/cli/commands/eval/gold/compare.d.ts +0 -1
- package/dist/cli/commands/eval/gold/compare.js +0 -1
- package/dist/cli/commands/eval/gold/index.d.ts +0 -1
- package/dist/cli/commands/eval/gold/index.js +0 -1
- package/dist/cli/commands/eval/gold/init.d.ts +0 -1
- package/dist/cli/commands/eval/gold/init.js +0 -1
- package/dist/cli/commands/eval/gold/validate.d.ts +0 -1
- package/dist/cli/commands/eval/gold/validate.js +0 -1
- package/dist/cli/commands/eval/index.d.ts +3 -1
- package/dist/cli/commands/eval/index.js +56 -11
- package/dist/cli/commands/evolve.d.ts +6 -1
- package/dist/cli/commands/evolve.js +77 -6
- package/dist/cli/commands/init.d.ts +0 -1
- package/dist/cli/commands/init.js +0 -1
- package/dist/cli/commands/install.d.ts +24 -0
- package/dist/cli/commands/install.js +436 -0
- package/dist/cli/commands/observe/inbox.d.ts +0 -1
- package/dist/cli/commands/observe/inbox.js +0 -1
- package/dist/cli/commands/observe/index.d.ts +0 -1
- package/dist/cli/commands/observe/index.js +0 -1
- package/dist/cli/commands/observe/ingest.d.ts +0 -1
- package/dist/cli/commands/observe/ingest.js +0 -1
- package/dist/cli/commands/observe/show.d.ts +0 -1
- package/dist/cli/commands/observe/show.js +0 -1
- package/dist/cli/commands/sample.d.ts +1 -2
- package/dist/cli/commands/sample.js +27 -15
- package/dist/cli/commands/studio.d.ts +0 -1
- package/dist/cli/commands/studio.js +0 -1
- package/dist/cli/index.d.ts +0 -1
- package/dist/cli/index.js +1 -2
- package/dist/cli/lib/cli-exit.d.ts +0 -1
- package/dist/cli/lib/cli-exit.js +0 -1
- package/dist/cli/lib/cmd-flags.d.ts +7 -1
- package/dist/cli/lib/cmd-flags.js +0 -1
- package/dist/cli/lib/i18n-dict/common.d.ts +0 -1
- package/dist/cli/lib/i18n-dict/common.js +0 -1
- package/dist/cli/lib/i18n-dict/evolve.d.ts +1 -2
- package/dist/cli/lib/i18n-dict/evolve.js +16 -1
- package/dist/cli/lib/i18n-dict/gen.d.ts +0 -1
- package/dist/cli/lib/i18n-dict/gen.js +0 -1
- package/dist/cli/lib/i18n-dict/help.d.ts +0 -1
- package/dist/cli/lib/i18n-dict/help.js +0 -1
- package/dist/cli/lib/i18n-dict/init.d.ts +0 -1
- package/dist/cli/lib/i18n-dict/init.js +0 -1
- package/dist/cli/lib/i18n-dict/install.d.ts +3 -0
- package/dist/cli/lib/i18n-dict/install.js +110 -0
- package/dist/cli/lib/i18n-dict/run.d.ts +1 -2
- package/dist/cli/lib/i18n-dict/run.js +8 -1
- package/dist/cli/lib/i18n-dict/types.d.ts +0 -1
- package/dist/cli/lib/i18n-dict/types.js +0 -1
- package/dist/cli/lib/i18n-dict.d.ts +2 -2
- package/dist/cli/lib/i18n-dict.js +2 -1
- package/dist/cli/lib/i18n.d.ts +0 -1
- package/dist/cli/lib/i18n.js +0 -1
- package/dist/cli/lib/parse-run-config/judge-models.d.ts +0 -1
- package/dist/cli/lib/parse-run-config/judge-models.js +0 -1
- package/dist/cli/lib/parse-run-config/samples-discovery.d.ts +0 -1
- package/dist/cli/lib/parse-run-config/samples-discovery.js +1 -4
- package/dist/cli/lib/parse-run-config/variant-resolution.d.ts +0 -1
- package/dist/cli/lib/parse-run-config/variant-resolution.js +41 -8
- package/dist/cli/lib/parse-run-config.d.ts +0 -1
- package/dist/cli/lib/parse-run-config.js +1 -2
- package/dist/cli/lib/progress.d.ts +0 -1
- package/dist/cli/lib/progress.js +0 -1
- package/dist/cli/lib/resolve-skill-input.d.ts +0 -1
- package/dist/cli/lib/resolve-skill-input.js +0 -1
- package/dist/cli/lib/run-tally.d.ts +0 -1
- package/dist/cli/lib/run-tally.js +1 -2
- package/dist/cli/lib/shared.d.ts +0 -1
- package/dist/cli/lib/shared.js +1 -2
- package/dist/cli/lib/update-check.d.ts +0 -1
- package/dist/cli/lib/update-check.js +0 -1
- package/dist/cli/lib/update-fetch-worker.d.ts +0 -1
- package/dist/cli/lib/update-fetch-worker.js +0 -1
- package/dist/cli/oclif/base-command.d.ts +0 -1
- package/dist/cli/oclif/base-command.js +0 -1
- package/dist/cli/oclif/help.d.ts +0 -1
- package/dist/cli/oclif/help.js +0 -1
- package/dist/cli/oclif/i18n.d.ts +0 -1
- package/dist/cli/oclif/i18n.js +0 -1
- package/dist/cli/oclif/parsers.d.ts +0 -1
- package/dist/cli/oclif/parsers.js +0 -1
- package/dist/cli/oclif/projection.d.ts +0 -1
- package/dist/cli/oclif/projection.js +0 -1
- package/dist/cli/oclif/run.d.ts +0 -1
- package/dist/cli/oclif/run.js +0 -1
- package/dist/diagnosis/observe-mapper.d.ts +2 -3
- package/dist/diagnosis/observe-mapper.js +6 -7
- package/dist/diagnosis/observe-producer.d.ts +0 -1
- package/dist/diagnosis/observe-producer.js +3 -4
- package/dist/diagnosis/studio-projection.d.ts +0 -1
- package/dist/diagnosis/studio-projection.js +0 -1
- package/dist/diagnosis/types.d.ts +0 -1
- package/dist/diagnosis/types.js +0 -1
- package/dist/doctor/fixer.d.ts +0 -1
- package/dist/doctor/fixer.js +0 -1
- package/dist/doctor/health/builtin-dimensions.d.ts +0 -1
- package/dist/doctor/health/builtin-dimensions.js +0 -1
- package/dist/doctor/health/composer.d.ts +0 -1
- package/dist/doctor/health/composer.js +1 -2
- package/dist/doctor/health/dimension-registry.d.ts +0 -1
- package/dist/doctor/health/dimension-registry.js +0 -1
- package/dist/doctor/health/dimension-spec.d.ts +0 -1
- package/dist/doctor/health/dimension-spec.js +0 -1
- package/dist/doctor/health/load-custom-dimensions.d.ts +0 -1
- package/dist/doctor/health/load-custom-dimensions.js +0 -1
- package/dist/doctor/health/parser.d.ts +0 -1
- package/dist/doctor/health/parser.js +0 -1
- package/dist/doctor/health/prompt-builder.d.ts +0 -1
- package/dist/doctor/health/prompt-builder.js +0 -1
- package/dist/doctor/health/register.d.ts +0 -1
- package/dist/doctor/health/register.js +0 -1
- package/dist/doctor/index.d.ts +0 -1
- package/dist/doctor/index.js +6 -7
- package/dist/doctor/messages.d.ts +0 -1
- package/dist/doctor/messages.js +1 -2
- package/dist/doctor/preflight.d.ts +0 -1
- package/dist/doctor/preflight.js +0 -1
- package/dist/doctor/renderer.d.ts +0 -1
- package/dist/doctor/renderer.js +0 -1
- package/dist/doctor/rules.d.ts +0 -1
- package/dist/doctor/rules.js +0 -1
- package/dist/eval-core/bootstrap.d.ts +0 -1
- package/dist/eval-core/bootstrap.js +0 -1
- package/dist/eval-core/cache.d.ts +11 -4
- package/dist/eval-core/cache.js +13 -6
- package/dist/eval-core/comparability.d.ts +0 -1
- package/dist/eval-core/comparability.js +3 -4
- package/dist/eval-core/dependency-checker.d.ts +0 -1
- package/dist/eval-core/dependency-checker.js +5 -3
- package/dist/eval-core/evaluation-execution.d.ts +0 -1
- package/dist/eval-core/evaluation-execution.js +4 -2
- package/dist/eval-core/evaluation-job.d.ts +0 -1
- package/dist/eval-core/evaluation-job.js +0 -1
- package/dist/eval-core/evaluation-reporting.d.ts +0 -1
- package/dist/eval-core/evaluation-reporting.js +18 -8
- package/dist/eval-core/execution-strategy.d.ts +0 -1
- package/dist/eval-core/execution-strategy.js +8 -3
- package/dist/eval-core/fact-checker.d.ts +0 -1
- package/dist/eval-core/fact-checker.js +0 -1
- package/dist/eval-core/layer-gates.d.ts +0 -1
- package/dist/eval-core/layer-gates.js +0 -1
- package/dist/eval-core/mocks-runtime.d.ts +0 -1
- package/dist/eval-core/mocks-runtime.js +0 -1
- package/dist/eval-core/schema.d.ts +0 -1
- package/dist/eval-core/schema.js +0 -1
- package/dist/eval-core/statistics.d.ts +0 -1
- package/dist/eval-core/statistics.js +0 -1
- package/dist/eval-core/task-planner.d.ts +0 -1
- package/dist/eval-core/task-planner.js +2 -2
- package/dist/eval-core/verdict.d.ts +0 -1
- package/dist/eval-core/verdict.js +0 -1
- package/dist/eval-workflows/batch-evaluation-workflow.d.ts +18 -3
- package/dist/eval-workflows/batch-evaluation-workflow.js +31 -15
- package/dist/eval-workflows/evaluation-pipeline/preflight-warnings.d.ts +0 -1
- package/dist/eval-workflows/evaluation-pipeline/preflight-warnings.js +0 -1
- package/dist/eval-workflows/evaluation-pipeline/report-finalize.d.ts +0 -1
- package/dist/eval-workflows/evaluation-pipeline/report-finalize.js +0 -1
- package/dist/eval-workflows/evaluation-pipeline/run-state.d.ts +0 -1
- package/dist/eval-workflows/evaluation-pipeline/run-state.js +0 -1
- package/dist/eval-workflows/evaluation-pipeline/test-set-hash.d.ts +0 -1
- package/dist/eval-workflows/evaluation-pipeline/test-set-hash.js +0 -1
- package/dist/eval-workflows/evaluation-pipeline.d.ts +0 -1
- package/dist/eval-workflows/evaluation-pipeline.js +0 -1
- package/dist/eval-workflows/evaluation-preparation.d.ts +1 -5
- package/dist/eval-workflows/evaluation-preparation.js +22 -44
- package/dist/eval-workflows/messages.d.ts +0 -1
- package/dist/eval-workflows/messages.js +0 -1
- package/dist/eval-workflows/run-evaluation.d.ts +3 -8
- package/dist/eval-workflows/run-evaluation.js +9 -19
- package/dist/executors/anthropic-api.d.ts +0 -1
- package/dist/executors/anthropic-api.js +1 -2
- package/dist/executors/claude-cli.d.ts +0 -1
- package/dist/executors/claude-cli.js +0 -1
- package/dist/executors/claude-sdk-trace.d.ts +0 -1
- package/dist/executors/claude-sdk-trace.js +0 -1
- package/dist/executors/claude-sdk.d.ts +0 -1
- package/dist/executors/claude-sdk.js +0 -1
- package/dist/executors/codex-cli-trace.d.ts +0 -1
- package/dist/executors/codex-cli-trace.js +0 -1
- package/dist/executors/codex-cli.d.ts +0 -1
- package/dist/executors/codex-cli.js +0 -1
- package/dist/executors/codex-sdk.d.ts +0 -1
- package/dist/executors/codex-sdk.js +0 -1
- package/dist/executors/gemini.d.ts +0 -1
- package/dist/executors/gemini.js +0 -1
- package/dist/executors/index.d.ts +0 -1
- package/dist/executors/index.js +0 -1
- package/dist/executors/openai-api.d.ts +0 -1
- package/dist/executors/openai-api.js +0 -1
- package/dist/executors/runtime-fingerprint.d.ts +0 -1
- package/dist/executors/runtime-fingerprint.js +2 -3
- package/dist/executors/script.d.ts +0 -1
- package/dist/executors/script.js +0 -1
- package/dist/executors/shared.d.ts +0 -2
- package/dist/executors/shared.js +0 -1
- package/dist/grading/assertions.d.ts +0 -1
- package/dist/grading/assertions.js +0 -1
- package/dist/grading/debias-validate.d.ts +0 -1
- package/dist/grading/debias-validate.js +0 -1
- package/dist/grading/diagnostic.d.ts +0 -1
- package/dist/grading/diagnostic.js +0 -1
- package/dist/grading/gold-cli.d.ts +0 -1
- package/dist/grading/gold-cli.js +0 -1
- package/dist/grading/gold-dataset.d.ts +0 -1
- package/dist/grading/gold-dataset.js +0 -1
- package/dist/grading/human-gold.d.ts +0 -1
- package/dist/grading/human-gold.js +0 -1
- package/dist/grading/index.d.ts +0 -1
- package/dist/grading/index.js +0 -1
- package/dist/grading/judge.d.ts +0 -1
- package/dist/grading/judge.js +0 -1
- package/dist/grading/layered-scores.d.ts +0 -1
- package/dist/grading/layered-scores.js +0 -1
- package/dist/inputs/content-hash.d.ts +28 -0
- package/dist/inputs/content-hash.js +106 -0
- package/dist/inputs/eval-config.d.ts +0 -1
- package/dist/inputs/eval-config.js +44 -11
- package/dist/inputs/load-samples.d.ts +0 -1
- package/dist/inputs/load-samples.js +0 -1
- package/dist/inputs/materialize-copy.d.ts +37 -0
- package/dist/inputs/materialize-copy.js +193 -0
- package/dist/inputs/mcp-resolver.d.ts +0 -1
- package/dist/inputs/mcp-resolver.js +0 -1
- package/dist/inputs/skill-loader.d.ts +145 -12
- package/dist/inputs/skill-loader.js +476 -60
- package/dist/inputs/source-resolver.d.ts +35 -0
- package/dist/inputs/source-resolver.js +105 -0
- package/dist/inputs/url-fetcher.d.ts +0 -1
- package/dist/inputs/url-fetcher.js +0 -1
- package/dist/managed/evidence.d.ts +22 -0
- package/dist/managed/evidence.js +143 -0
- package/dist/managed/index.d.ts +6 -0
- package/dist/managed/index.js +6 -0
- package/dist/managed/store.d.ts +72 -0
- package/dist/managed/store.js +224 -0
- package/dist/observability/experience-frontmatter.d.ts +0 -1
- package/dist/observability/experience-frontmatter.js +0 -1
- package/dist/observability/experience.d.ts +1 -2
- package/dist/observability/experience.js +1 -2
- package/dist/observability/feedback-matchers.d.ts +0 -1
- package/dist/observability/feedback-matchers.js +0 -1
- package/dist/observability/feedback-projection.d.ts +0 -1
- package/dist/observability/feedback-projection.js +0 -1
- package/dist/observability/inbox-view-model.d.ts +0 -1
- package/dist/observability/inbox-view-model.js +0 -1
- package/dist/observability/inbox.d.ts +0 -1
- package/dist/observability/inbox.js +2 -3
- package/dist/observability/problem-patterns.d.ts +0 -1
- package/dist/observability/problem-patterns.js +0 -1
- package/dist/observability/resolved-review.d.ts +0 -1
- package/dist/observability/resolved-review.js +4 -5
- package/dist/observability/review-state.d.ts +0 -1
- package/dist/observability/review-state.js +3 -4
- package/dist/observability/skill-chain-advisories.d.ts +0 -1
- package/dist/observability/skill-chain-advisories.js +0 -1
- package/dist/observability/skill-chain.d.ts +0 -1
- package/dist/observability/skill-chain.js +5 -6
- package/dist/observability/skill-health-analyzer.d.ts +0 -1
- package/dist/observability/skill-health-analyzer.js +0 -1
- package/dist/observability/soft-standards/constants.d.ts +0 -1
- package/dist/observability/soft-standards/constants.js +0 -1
- package/dist/observability/soft-standards/index.d.ts +0 -1
- package/dist/observability/soft-standards/index.js +0 -1
- package/dist/observability/soft-standards/llm-extractor.d.ts +0 -1
- package/dist/observability/soft-standards/llm-extractor.js +7 -8
- package/dist/observability/soft-standards/runtime-evaluator.d.ts +0 -1
- package/dist/observability/soft-standards/runtime-evaluator.js +2 -3
- package/dist/observability/soft-standards/skill-standards-store.d.ts +0 -1
- package/dist/observability/soft-standards/skill-standards-store.js +5 -6
- package/dist/observability/soft-standards/types.d.ts +10 -11
- package/dist/observability/soft-standards/types.js +0 -1
- package/dist/observability/text-signals.d.ts +0 -1
- package/dist/observability/text-signals.js +0 -1
- package/dist/observability/trace-adapter.d.ts +0 -1
- package/dist/observability/trace-adapter.js +0 -1
- package/dist/observability/trace-attribution.d.ts +0 -1
- package/dist/observability/trace-attribution.js +0 -1
- package/dist/observability/trace-segmenter.d.ts +0 -1
- package/dist/observability/trace-segmenter.js +0 -1
- package/dist/observability/trace-source.d.ts +0 -1
- package/dist/observability/trace-source.js +0 -1
- package/dist/renderer/html-renderer.d.ts +0 -1
- package/dist/renderer/html-renderer.js +4 -5
- package/dist/renderer/layout.d.ts +0 -1
- package/dist/renderer/layout.js +2 -3
- package/dist/renderer/observation-inbox/helpers.d.ts +0 -1
- package/dist/renderer/observation-inbox/helpers.js +0 -1
- package/dist/renderer/observation-inbox/styles.d.ts +0 -1
- package/dist/renderer/observation-inbox/styles.js +0 -1
- package/dist/renderer/observation-inbox-renderer.d.ts +0 -1
- package/dist/renderer/observation-inbox-renderer.js +13 -14
- package/dist/renderer/skill-detail-renderer.d.ts +0 -1
- package/dist/renderer/skill-detail-renderer.js +3 -4
- package/dist/renderer/skill-health-renderer.d.ts +0 -1
- package/dist/renderer/skill-health-renderer.js +0 -1
- package/dist/renderer/skill-list-renderer.d.ts +0 -1
- package/dist/renderer/skill-list-renderer.js +0 -1
- package/dist/renderer/summary.d.ts +0 -1
- package/dist/renderer/summary.js +1 -2
- package/dist/renderer/table.d.ts +0 -1
- package/dist/renderer/table.js +0 -1
- package/dist/renderer/test-view.d.ts +0 -1
- package/dist/renderer/test-view.js +0 -1
- package/dist/renderer/trends.d.ts +0 -1
- package/dist/renderer/trends.js +0 -1
- package/dist/server/job-store.d.ts +0 -1
- package/dist/server/job-store.js +0 -1
- package/dist/server/report-server.d.ts +0 -1
- package/dist/server/report-server.js +1 -2
- package/dist/server/report-store.d.ts +1 -2
- package/dist/server/report-store.js +6 -7
- package/dist/server/skill-index.d.ts +0 -1
- package/dist/server/skill-index.js +4 -5
- package/dist/server/skill-insights.d.ts +0 -1
- package/dist/server/skill-insights.js +8 -9
- package/dist/shared/hard-rules.d.ts +0 -1
- package/dist/shared/hard-rules.js +0 -1
- package/dist/shared/llm-prompts/index.d.ts +0 -1
- package/dist/shared/llm-prompts/index.js +0 -1
- package/dist/shared/llm-prompts/skill-health.d.ts +0 -1
- package/dist/shared/llm-prompts/skill-health.js +0 -1
- package/dist/shared/time.d.ts +0 -1
- package/dist/shared/time.js +0 -1
- package/dist/shared/tool-search.d.ts +0 -1
- package/dist/shared/tool-search.js +0 -1
- package/dist/types/dependencies.d.ts +0 -1
- package/dist/types/dependencies.js +0 -1
- package/dist/types/diagnosis.d.ts +0 -1
- package/dist/types/diagnosis.js +0 -1
- package/dist/types/doctor.d.ts +4 -5
- package/dist/types/doctor.js +2 -3
- package/dist/types/eval.d.ts +13 -2
- package/dist/types/eval.js +0 -1
- package/dist/types/executor.d.ts +1 -2
- package/dist/types/executor.js +0 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.js +1 -1
- package/dist/types/judge.d.ts +0 -1
- package/dist/types/judge.js +0 -1
- package/dist/types/managed.d.ts +110 -0
- package/dist/types/managed.js +1 -0
- package/dist/types/observability.d.ts +5 -6
- package/dist/types/observability.js +0 -1
- package/dist/types/report.d.ts +19 -6
- package/dist/types/report.js +0 -1
- package/dist/types/shared.d.ts +0 -1
- package/dist/types/shared.js +0 -1
- package/dist/types/skill-index.d.ts +0 -1
- package/dist/types/skill-index.js +0 -1
- package/dist/types/storage.d.ts +0 -1
- package/dist/types/storage.js +0 -1
- package/dist/util/safe-slice.d.ts +0 -1
- package/dist/util/safe-slice.js +0 -1
- package/package.json +9 -4
- package/dist/analysis/coverage-analyzer.d.ts.map +0 -1
- package/dist/analysis/coverage-analyzer.js.map +0 -1
- package/dist/analysis/failure-clusterer.d.ts.map +0 -1
- package/dist/analysis/failure-clusterer.js.map +0 -1
- package/dist/analysis/gap-analyzer.d.ts.map +0 -1
- package/dist/analysis/gap-analyzer.js.map +0 -1
- package/dist/analysis/hedging-classifier.d.ts.map +0 -1
- package/dist/analysis/hedging-classifier.js.map +0 -1
- package/dist/analysis/report-diagnostics.d.ts.map +0 -1
- package/dist/analysis/report-diagnostics.js.map +0 -1
- package/dist/analysis/sample-diagnostics.d.ts.map +0 -1
- package/dist/analysis/sample-diagnostics.js.map +0 -1
- package/dist/analysis/saturation.d.ts.map +0 -1
- package/dist/analysis/saturation.js.map +0 -1
- package/dist/authoring/evolver.d.ts.map +0 -1
- package/dist/authoring/evolver.js.map +0 -1
- package/dist/authoring/generator.d.ts.map +0 -1
- package/dist/authoring/generator.js.map +0 -1
- package/dist/authoring/sample-fixer.d.ts.map +0 -1
- package/dist/authoring/sample-fixer.js.map +0 -1
- package/dist/cli/commands/doctor.d.ts.map +0 -1
- package/dist/cli/commands/doctor.js.map +0 -1
- package/dist/cli/commands/eval/gold/compare.d.ts.map +0 -1
- package/dist/cli/commands/eval/gold/compare.js.map +0 -1
- package/dist/cli/commands/eval/gold/index.d.ts.map +0 -1
- package/dist/cli/commands/eval/gold/index.js.map +0 -1
- package/dist/cli/commands/eval/gold/init.d.ts.map +0 -1
- package/dist/cli/commands/eval/gold/init.js.map +0 -1
- package/dist/cli/commands/eval/gold/validate.d.ts.map +0 -1
- package/dist/cli/commands/eval/gold/validate.js.map +0 -1
- package/dist/cli/commands/eval/index.d.ts.map +0 -1
- package/dist/cli/commands/eval/index.js.map +0 -1
- package/dist/cli/commands/evolve.d.ts.map +0 -1
- package/dist/cli/commands/evolve.js.map +0 -1
- package/dist/cli/commands/init.d.ts.map +0 -1
- package/dist/cli/commands/init.js.map +0 -1
- package/dist/cli/commands/observe/inbox.d.ts.map +0 -1
- package/dist/cli/commands/observe/inbox.js.map +0 -1
- package/dist/cli/commands/observe/index.d.ts.map +0 -1
- package/dist/cli/commands/observe/index.js.map +0 -1
- package/dist/cli/commands/observe/ingest.d.ts.map +0 -1
- package/dist/cli/commands/observe/ingest.js.map +0 -1
- package/dist/cli/commands/observe/show.d.ts.map +0 -1
- package/dist/cli/commands/observe/show.js.map +0 -1
- package/dist/cli/commands/sample.d.ts.map +0 -1
- package/dist/cli/commands/sample.js.map +0 -1
- package/dist/cli/commands/studio.d.ts.map +0 -1
- package/dist/cli/commands/studio.js.map +0 -1
- package/dist/cli/index.d.ts.map +0 -1
- package/dist/cli/index.js.map +0 -1
- package/dist/cli/lib/cli-exit.d.ts.map +0 -1
- package/dist/cli/lib/cli-exit.js.map +0 -1
- package/dist/cli/lib/cmd-flags.d.ts.map +0 -1
- package/dist/cli/lib/cmd-flags.js.map +0 -1
- package/dist/cli/lib/i18n-dict/common.d.ts.map +0 -1
- package/dist/cli/lib/i18n-dict/common.js.map +0 -1
- package/dist/cli/lib/i18n-dict/evolve.d.ts.map +0 -1
- package/dist/cli/lib/i18n-dict/evolve.js.map +0 -1
- package/dist/cli/lib/i18n-dict/gen.d.ts.map +0 -1
- package/dist/cli/lib/i18n-dict/gen.js.map +0 -1
- package/dist/cli/lib/i18n-dict/help.d.ts.map +0 -1
- package/dist/cli/lib/i18n-dict/help.js.map +0 -1
- package/dist/cli/lib/i18n-dict/init.d.ts.map +0 -1
- package/dist/cli/lib/i18n-dict/init.js.map +0 -1
- package/dist/cli/lib/i18n-dict/run.d.ts.map +0 -1
- package/dist/cli/lib/i18n-dict/run.js.map +0 -1
- package/dist/cli/lib/i18n-dict/types.d.ts.map +0 -1
- package/dist/cli/lib/i18n-dict/types.js.map +0 -1
- package/dist/cli/lib/i18n-dict.d.ts.map +0 -1
- package/dist/cli/lib/i18n-dict.js.map +0 -1
- package/dist/cli/lib/i18n.d.ts.map +0 -1
- package/dist/cli/lib/i18n.js.map +0 -1
- package/dist/cli/lib/parse-run-config/judge-models.d.ts.map +0 -1
- package/dist/cli/lib/parse-run-config/judge-models.js.map +0 -1
- package/dist/cli/lib/parse-run-config/samples-discovery.d.ts.map +0 -1
- package/dist/cli/lib/parse-run-config/samples-discovery.js.map +0 -1
- package/dist/cli/lib/parse-run-config/variant-resolution.d.ts.map +0 -1
- package/dist/cli/lib/parse-run-config/variant-resolution.js.map +0 -1
- package/dist/cli/lib/parse-run-config.d.ts.map +0 -1
- package/dist/cli/lib/parse-run-config.js.map +0 -1
- package/dist/cli/lib/progress.d.ts.map +0 -1
- package/dist/cli/lib/progress.js.map +0 -1
- package/dist/cli/lib/resolve-skill-input.d.ts.map +0 -1
- package/dist/cli/lib/resolve-skill-input.js.map +0 -1
- package/dist/cli/lib/run-tally.d.ts.map +0 -1
- package/dist/cli/lib/run-tally.js.map +0 -1
- package/dist/cli/lib/shared.d.ts.map +0 -1
- package/dist/cli/lib/shared.js.map +0 -1
- package/dist/cli/lib/update-check.d.ts.map +0 -1
- package/dist/cli/lib/update-check.js.map +0 -1
- package/dist/cli/lib/update-fetch-worker.d.ts.map +0 -1
- package/dist/cli/lib/update-fetch-worker.js.map +0 -1
- package/dist/cli/oclif/base-command.d.ts.map +0 -1
- package/dist/cli/oclif/base-command.js.map +0 -1
- package/dist/cli/oclif/help.d.ts.map +0 -1
- package/dist/cli/oclif/help.js.map +0 -1
- package/dist/cli/oclif/i18n.d.ts.map +0 -1
- package/dist/cli/oclif/i18n.js.map +0 -1
- package/dist/cli/oclif/parsers.d.ts.map +0 -1
- package/dist/cli/oclif/parsers.js.map +0 -1
- package/dist/cli/oclif/projection.d.ts.map +0 -1
- package/dist/cli/oclif/projection.js.map +0 -1
- package/dist/cli/oclif/run.d.ts.map +0 -1
- package/dist/cli/oclif/run.js.map +0 -1
- package/dist/diagnosis/observe-mapper.d.ts.map +0 -1
- package/dist/diagnosis/observe-mapper.js.map +0 -1
- package/dist/diagnosis/observe-producer.d.ts.map +0 -1
- package/dist/diagnosis/observe-producer.js.map +0 -1
- package/dist/diagnosis/studio-projection.d.ts.map +0 -1
- package/dist/diagnosis/studio-projection.js.map +0 -1
- package/dist/diagnosis/types.d.ts.map +0 -1
- package/dist/diagnosis/types.js.map +0 -1
- package/dist/doctor/fixer.d.ts.map +0 -1
- package/dist/doctor/fixer.js.map +0 -1
- package/dist/doctor/health/builtin-dimensions.d.ts.map +0 -1
- package/dist/doctor/health/builtin-dimensions.js.map +0 -1
- package/dist/doctor/health/composer.d.ts.map +0 -1
- package/dist/doctor/health/composer.js.map +0 -1
- package/dist/doctor/health/dimension-registry.d.ts.map +0 -1
- package/dist/doctor/health/dimension-registry.js.map +0 -1
- package/dist/doctor/health/dimension-spec.d.ts.map +0 -1
- package/dist/doctor/health/dimension-spec.js.map +0 -1
- package/dist/doctor/health/load-custom-dimensions.d.ts.map +0 -1
- package/dist/doctor/health/load-custom-dimensions.js.map +0 -1
- package/dist/doctor/health/parser.d.ts.map +0 -1
- package/dist/doctor/health/parser.js.map +0 -1
- package/dist/doctor/health/prompt-builder.d.ts.map +0 -1
- package/dist/doctor/health/prompt-builder.js.map +0 -1
- package/dist/doctor/health/register.d.ts.map +0 -1
- package/dist/doctor/health/register.js.map +0 -1
- package/dist/doctor/index.d.ts.map +0 -1
- package/dist/doctor/index.js.map +0 -1
- package/dist/doctor/messages.d.ts.map +0 -1
- package/dist/doctor/messages.js.map +0 -1
- package/dist/doctor/preflight.d.ts.map +0 -1
- package/dist/doctor/preflight.js.map +0 -1
- package/dist/doctor/renderer.d.ts.map +0 -1
- package/dist/doctor/renderer.js.map +0 -1
- package/dist/doctor/rules.d.ts.map +0 -1
- package/dist/doctor/rules.js.map +0 -1
- package/dist/eval-core/bootstrap.d.ts.map +0 -1
- package/dist/eval-core/bootstrap.js.map +0 -1
- package/dist/eval-core/cache.d.ts.map +0 -1
- package/dist/eval-core/cache.js.map +0 -1
- package/dist/eval-core/comparability.d.ts.map +0 -1
- package/dist/eval-core/comparability.js.map +0 -1
- package/dist/eval-core/dependency-checker.d.ts.map +0 -1
- package/dist/eval-core/dependency-checker.js.map +0 -1
- package/dist/eval-core/evaluation-execution.d.ts.map +0 -1
- package/dist/eval-core/evaluation-execution.js.map +0 -1
- package/dist/eval-core/evaluation-job.d.ts.map +0 -1
- package/dist/eval-core/evaluation-job.js.map +0 -1
- package/dist/eval-core/evaluation-reporting.d.ts.map +0 -1
- package/dist/eval-core/evaluation-reporting.js.map +0 -1
- package/dist/eval-core/execution-strategy.d.ts.map +0 -1
- package/dist/eval-core/execution-strategy.js.map +0 -1
- package/dist/eval-core/fact-checker.d.ts.map +0 -1
- package/dist/eval-core/fact-checker.js.map +0 -1
- package/dist/eval-core/layer-gates.d.ts.map +0 -1
- package/dist/eval-core/layer-gates.js.map +0 -1
- package/dist/eval-core/mocks-runtime.d.ts.map +0 -1
- package/dist/eval-core/mocks-runtime.js.map +0 -1
- package/dist/eval-core/schema.d.ts.map +0 -1
- package/dist/eval-core/schema.js.map +0 -1
- package/dist/eval-core/statistics.d.ts.map +0 -1
- package/dist/eval-core/statistics.js.map +0 -1
- package/dist/eval-core/task-planner.d.ts.map +0 -1
- package/dist/eval-core/task-planner.js.map +0 -1
- package/dist/eval-core/verdict.d.ts.map +0 -1
- package/dist/eval-core/verdict.js.map +0 -1
- package/dist/eval-workflows/batch-evaluation-workflow.d.ts.map +0 -1
- package/dist/eval-workflows/batch-evaluation-workflow.js.map +0 -1
- package/dist/eval-workflows/evaluation-pipeline/preflight-warnings.d.ts.map +0 -1
- package/dist/eval-workflows/evaluation-pipeline/preflight-warnings.js.map +0 -1
- package/dist/eval-workflows/evaluation-pipeline/report-finalize.d.ts.map +0 -1
- package/dist/eval-workflows/evaluation-pipeline/report-finalize.js.map +0 -1
- package/dist/eval-workflows/evaluation-pipeline/run-state.d.ts.map +0 -1
- package/dist/eval-workflows/evaluation-pipeline/run-state.js.map +0 -1
- package/dist/eval-workflows/evaluation-pipeline/test-set-hash.d.ts.map +0 -1
- package/dist/eval-workflows/evaluation-pipeline/test-set-hash.js.map +0 -1
- package/dist/eval-workflows/evaluation-pipeline.d.ts.map +0 -1
- package/dist/eval-workflows/evaluation-pipeline.js.map +0 -1
- package/dist/eval-workflows/evaluation-preparation.d.ts.map +0 -1
- package/dist/eval-workflows/evaluation-preparation.js.map +0 -1
- package/dist/eval-workflows/messages.d.ts.map +0 -1
- package/dist/eval-workflows/messages.js.map +0 -1
- package/dist/eval-workflows/run-evaluation.d.ts.map +0 -1
- package/dist/eval-workflows/run-evaluation.js.map +0 -1
- package/dist/executors/anthropic-api.d.ts.map +0 -1
- package/dist/executors/anthropic-api.js.map +0 -1
- package/dist/executors/claude-cli.d.ts.map +0 -1
- package/dist/executors/claude-cli.js.map +0 -1
- package/dist/executors/claude-sdk-trace.d.ts.map +0 -1
- package/dist/executors/claude-sdk-trace.js.map +0 -1
- package/dist/executors/claude-sdk.d.ts.map +0 -1
- package/dist/executors/claude-sdk.js.map +0 -1
- package/dist/executors/codex-cli-trace.d.ts.map +0 -1
- package/dist/executors/codex-cli-trace.js.map +0 -1
- package/dist/executors/codex-cli.d.ts.map +0 -1
- package/dist/executors/codex-cli.js.map +0 -1
- package/dist/executors/codex-sdk.d.ts.map +0 -1
- package/dist/executors/codex-sdk.js.map +0 -1
- package/dist/executors/gemini.d.ts.map +0 -1
- package/dist/executors/gemini.js.map +0 -1
- package/dist/executors/index.d.ts.map +0 -1
- package/dist/executors/index.js.map +0 -1
- package/dist/executors/openai-api.d.ts.map +0 -1
- package/dist/executors/openai-api.js.map +0 -1
- package/dist/executors/runtime-fingerprint.d.ts.map +0 -1
- package/dist/executors/runtime-fingerprint.js.map +0 -1
- package/dist/executors/script.d.ts.map +0 -1
- package/dist/executors/script.js.map +0 -1
- package/dist/executors/shared.d.ts.map +0 -1
- package/dist/executors/shared.js.map +0 -1
- package/dist/grading/assertions.d.ts.map +0 -1
- package/dist/grading/assertions.js.map +0 -1
- package/dist/grading/debias-validate.d.ts.map +0 -1
- package/dist/grading/debias-validate.js.map +0 -1
- package/dist/grading/diagnostic.d.ts.map +0 -1
- package/dist/grading/diagnostic.js.map +0 -1
- package/dist/grading/gold-cli.d.ts.map +0 -1
- package/dist/grading/gold-cli.js.map +0 -1
- package/dist/grading/gold-dataset.d.ts.map +0 -1
- package/dist/grading/gold-dataset.js.map +0 -1
- package/dist/grading/human-gold.d.ts.map +0 -1
- package/dist/grading/human-gold.js.map +0 -1
- package/dist/grading/index.d.ts.map +0 -1
- package/dist/grading/index.js.map +0 -1
- package/dist/grading/judge.d.ts.map +0 -1
- package/dist/grading/judge.js.map +0 -1
- package/dist/grading/layered-scores.d.ts.map +0 -1
- package/dist/grading/layered-scores.js.map +0 -1
- package/dist/inputs/eval-config.d.ts.map +0 -1
- package/dist/inputs/eval-config.js.map +0 -1
- package/dist/inputs/load-samples.d.ts.map +0 -1
- package/dist/inputs/load-samples.js.map +0 -1
- package/dist/inputs/mcp-resolver.d.ts.map +0 -1
- package/dist/inputs/mcp-resolver.js.map +0 -1
- package/dist/inputs/skill-loader.d.ts.map +0 -1
- package/dist/inputs/skill-loader.js.map +0 -1
- package/dist/inputs/url-fetcher.d.ts.map +0 -1
- package/dist/inputs/url-fetcher.js.map +0 -1
- package/dist/observability/experience-frontmatter.d.ts.map +0 -1
- package/dist/observability/experience-frontmatter.js.map +0 -1
- package/dist/observability/experience.d.ts.map +0 -1
- package/dist/observability/experience.js.map +0 -1
- package/dist/observability/feedback-matchers.d.ts.map +0 -1
- package/dist/observability/feedback-matchers.js.map +0 -1
- package/dist/observability/feedback-projection.d.ts.map +0 -1
- package/dist/observability/feedback-projection.js.map +0 -1
- package/dist/observability/inbox-view-model.d.ts.map +0 -1
- package/dist/observability/inbox-view-model.js.map +0 -1
- package/dist/observability/inbox.d.ts.map +0 -1
- package/dist/observability/inbox.js.map +0 -1
- package/dist/observability/problem-patterns.d.ts.map +0 -1
- package/dist/observability/problem-patterns.js.map +0 -1
- package/dist/observability/resolved-review.d.ts.map +0 -1
- package/dist/observability/resolved-review.js.map +0 -1
- package/dist/observability/review-state.d.ts.map +0 -1
- package/dist/observability/review-state.js.map +0 -1
- package/dist/observability/skill-chain-advisories.d.ts.map +0 -1
- package/dist/observability/skill-chain-advisories.js.map +0 -1
- package/dist/observability/skill-chain.d.ts.map +0 -1
- package/dist/observability/skill-chain.js.map +0 -1
- package/dist/observability/skill-health-analyzer.d.ts.map +0 -1
- package/dist/observability/skill-health-analyzer.js.map +0 -1
- package/dist/observability/soft-standards/constants.d.ts.map +0 -1
- package/dist/observability/soft-standards/constants.js.map +0 -1
- package/dist/observability/soft-standards/index.d.ts.map +0 -1
- package/dist/observability/soft-standards/index.js.map +0 -1
- package/dist/observability/soft-standards/llm-extractor.d.ts.map +0 -1
- package/dist/observability/soft-standards/llm-extractor.js.map +0 -1
- package/dist/observability/soft-standards/runtime-evaluator.d.ts.map +0 -1
- package/dist/observability/soft-standards/runtime-evaluator.js.map +0 -1
- package/dist/observability/soft-standards/skill-standards-store.d.ts.map +0 -1
- package/dist/observability/soft-standards/skill-standards-store.js.map +0 -1
- package/dist/observability/soft-standards/types.d.ts.map +0 -1
- package/dist/observability/soft-standards/types.js.map +0 -1
- package/dist/observability/text-signals.d.ts.map +0 -1
- package/dist/observability/text-signals.js.map +0 -1
- package/dist/observability/trace-adapter.d.ts.map +0 -1
- package/dist/observability/trace-adapter.js.map +0 -1
- package/dist/observability/trace-attribution.d.ts.map +0 -1
- package/dist/observability/trace-attribution.js.map +0 -1
- package/dist/observability/trace-segmenter.d.ts.map +0 -1
- package/dist/observability/trace-segmenter.js.map +0 -1
- package/dist/observability/trace-source.d.ts.map +0 -1
- package/dist/observability/trace-source.js.map +0 -1
- package/dist/renderer/html-renderer.d.ts.map +0 -1
- package/dist/renderer/html-renderer.js.map +0 -1
- package/dist/renderer/layout.d.ts.map +0 -1
- package/dist/renderer/layout.js.map +0 -1
- package/dist/renderer/observation-inbox/helpers.d.ts.map +0 -1
- package/dist/renderer/observation-inbox/helpers.js.map +0 -1
- package/dist/renderer/observation-inbox/styles.d.ts.map +0 -1
- package/dist/renderer/observation-inbox/styles.js.map +0 -1
- package/dist/renderer/observation-inbox-renderer.d.ts.map +0 -1
- package/dist/renderer/observation-inbox-renderer.js.map +0 -1
- package/dist/renderer/skill-detail-renderer.d.ts.map +0 -1
- package/dist/renderer/skill-detail-renderer.js.map +0 -1
- package/dist/renderer/skill-health-renderer.d.ts.map +0 -1
- package/dist/renderer/skill-health-renderer.js.map +0 -1
- package/dist/renderer/skill-list-renderer.d.ts.map +0 -1
- package/dist/renderer/skill-list-renderer.js.map +0 -1
- package/dist/renderer/summary.d.ts.map +0 -1
- package/dist/renderer/summary.js.map +0 -1
- package/dist/renderer/table.d.ts.map +0 -1
- package/dist/renderer/table.js.map +0 -1
- package/dist/renderer/test-view.d.ts.map +0 -1
- package/dist/renderer/test-view.js.map +0 -1
- package/dist/renderer/trends.d.ts.map +0 -1
- package/dist/renderer/trends.js.map +0 -1
- package/dist/server/job-store.d.ts.map +0 -1
- package/dist/server/job-store.js.map +0 -1
- package/dist/server/report-server.d.ts.map +0 -1
- package/dist/server/report-server.js.map +0 -1
- package/dist/server/report-store.d.ts.map +0 -1
- package/dist/server/report-store.js.map +0 -1
- package/dist/server/skill-index.d.ts.map +0 -1
- package/dist/server/skill-index.js.map +0 -1
- package/dist/server/skill-insights.d.ts.map +0 -1
- package/dist/server/skill-insights.js.map +0 -1
- package/dist/shared/hard-rules.d.ts.map +0 -1
- package/dist/shared/hard-rules.js.map +0 -1
- package/dist/shared/llm-prompts/index.d.ts.map +0 -1
- package/dist/shared/llm-prompts/index.js.map +0 -1
- package/dist/shared/llm-prompts/skill-health.d.ts.map +0 -1
- package/dist/shared/llm-prompts/skill-health.js.map +0 -1
- package/dist/shared/time.d.ts.map +0 -1
- package/dist/shared/time.js.map +0 -1
- package/dist/shared/tool-search.d.ts.map +0 -1
- package/dist/shared/tool-search.js.map +0 -1
- package/dist/types/dependencies.d.ts.map +0 -1
- package/dist/types/dependencies.js.map +0 -1
- package/dist/types/diagnosis.d.ts.map +0 -1
- package/dist/types/diagnosis.js.map +0 -1
- package/dist/types/doctor.d.ts.map +0 -1
- package/dist/types/doctor.js.map +0 -1
- package/dist/types/eval.d.ts.map +0 -1
- package/dist/types/eval.js.map +0 -1
- package/dist/types/executor.d.ts.map +0 -1
- package/dist/types/executor.js.map +0 -1
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/index.js.map +0 -1
- package/dist/types/judge.d.ts.map +0 -1
- package/dist/types/judge.js.map +0 -1
- package/dist/types/observability.d.ts.map +0 -1
- package/dist/types/observability.js.map +0 -1
- package/dist/types/report.d.ts.map +0 -1
- package/dist/types/report.js.map +0 -1
- package/dist/types/shared.d.ts.map +0 -1
- package/dist/types/shared.js.map +0 -1
- package/dist/types/skill-index.d.ts.map +0 -1
- package/dist/types/skill-index.js.map +0 -1
- package/dist/types/storage.d.ts.map +0 -1
- package/dist/types/storage.js.map +0 -1
- package/dist/util/safe-slice.d.ts.map +0 -1
- package/dist/util/safe-slice.js.map +0 -1
|
@@ -3,7 +3,7 @@ import type { CcSession } from './trace-source.js';
|
|
|
3
3
|
import type { SkillSegment } from './trace-segmenter.js';
|
|
4
4
|
export { findNegativeFeedbackMatches, findPositiveFeedbackMatches, findUserCorrectionMatches, findUserGoalShiftMatches, hasNegativeFeedbackSignal, hasPositiveFeedbackSignal, hasUserCorrectionSignal, hasUserGoalShiftSignal, } from './feedback-matchers.js';
|
|
5
5
|
export type { TextMatchRange } from './feedback-matchers.js';
|
|
6
|
-
export type { ExperienceAssistiveInference, ExperienceAssistiveInferenceCautionCode, ExperienceAssistiveInferenceCode, ExperienceAssistiveInferenceConfidence, ExperienceChecklistContribution, ExperienceChecklistItem, ExperienceChecklistItemStatus, ExperienceEpisode, ExperienceEpisodeArtifact, ExperienceEpisodeArtifactKind, ExperienceEpisodeBoundaryReason, ExperienceEpisodeOutcome, ExperienceEpisodeRole, ExperienceEvidenceChain, ExperienceEvidenceKind, ExperienceEvidenceRef, ExperienceFeedbackAttribution, ExperienceFeedbackAttributionReason, ExperienceFeedbackAttributionRole, ExperienceFeedbackSignal, ExperienceFeedbackSignalType, ExperienceGoalEvidenceRef, ExperienceGoalSlice, ExperienceGoalSliceReasonCode, ExperienceInvocation, ExperienceMessageRange, ExperienceOrchestrationEdge, ExperienceOrchestrationEdgeKind, ExperienceOrchestrationEdgeStatus, ExperienceOutcomeClosure, ExperienceParentReason, ExperienceReviewBasisCode, ExperienceReviewIndicators, ExperienceReviewPriority, ExperienceReviewerReport, ExperienceReviewerReportFinding, ExperienceReviewerReportFindingLevel, ExperienceReviewerReportFindingSource, ExperienceReviewerReportScope, ExperienceReviewerReportStep, ExperienceReviewerReportStepStatus, ExperienceRuleFinding, ExperienceRuleFindingCode, ExperienceRuleFindingLevel, ExperienceRuntimeSkillType, ExperienceRuntimeSkillTypeSource, ExperienceSessionStory, ExperienceSessionStoryAnswer, ExperienceSessionStoryAnswerKey, ExperienceSessionStoryGoalSlice, ExperienceSessionStoryGraphEdge, ExperienceSessionStoryGraphNode, ExperienceSessionStoryNode, ExperienceSessionStoryNodeKind, ExperienceSessionStorySkillLink, ExperienceSessionStorySkillRole, ExperienceSessionStorySubagentDispatch, ExperienceSessionSummary, ExperienceSkillSegment, ExperienceSkillSummary, ExperienceTimelineBranch, ExperienceTimelineEvent, ExperienceTimelineTree, ObservationExperienceReport, };
|
|
6
|
+
export type { ExperienceAssistiveInference, ExperienceAssistiveInferenceCautionCode, ExperienceAssistiveInferenceCode, ExperienceAssistiveInferenceConfidence, ExperienceChecklistContribution, ExperienceChecklistItem, ExperienceChecklistItemStatus, ExperienceEpisode, ExperienceEpisodeArtifact, ExperienceEpisodeArtifactKind, ExperienceEpisodeBoundaryReason, ExperienceEpisodeOutcome, ExperienceEpisodeRole, ExperienceEvidenceChain, ExperienceEvidenceKind, ExperienceEvidenceRef, ExperienceFeedbackAttribution, ExperienceFeedbackAttributionReason, ExperienceFeedbackAttributionRole, ExperienceFeedbackSignal, ExperienceFeedbackSignalType, ExperienceGoalEvidenceRef, ExperienceGoalSlice, ExperienceGoalSliceReasonCode, ExperienceInvocation, ExperienceMessageRange, ExperienceOrchestrationEdge, ExperienceOrchestrationEdgeKind, ExperienceOrchestrationEdgeStatus, ExperienceOutcomeClosure, ExperienceParentReason, ExperienceReviewBasisCode, ExperienceReviewIndicators, ExperienceReviewPriority, ExperienceReviewerReport, ExperienceReviewerReportFinding, ExperienceReviewerReportFindingLevel, ExperienceReviewerReportFindingSource, ExperienceReviewerReportScope, ExperienceReviewerReportStep, ExperienceReviewerReportStepStatus, ExperienceRuleFinding, ExperienceRuleFindingCode, ExperienceRuleFindingLevel, ExperienceRuntimeSkillType, ExperienceRuntimeSkillTypeSource, ExperienceSessionStory, ExperienceSessionStoryAnswer, ExperienceSessionStoryAnswerKey, ExperienceSessionStoryGoalSlice, ExperienceSessionStoryGraphEdge, ExperienceSessionStoryGraphNode, ExperienceSessionStoryNode, ExperienceSessionStoryNodeKind, ExperienceSessionStorySkillLink, ExperienceSessionStorySkillRole, ExperienceSessionStorySubagentDispatch, ExperienceSessionSummary, ExperienceSkillSegment, ExperienceSkillSummary, ExperienceTimelineBranch, ExperienceTimelineEvent, ExperienceTimelineTree, ObservationExperienceReport, ObservationReviewState, };
|
|
7
7
|
export declare function aggregateExperienceChecklistItemStatus(statuses: ExperienceChecklistItemStatus[]): ExperienceChecklistItemStatus;
|
|
8
8
|
interface BuildExperienceInput {
|
|
9
9
|
sessions: CcSession[];
|
|
@@ -20,4 +20,3 @@ export declare function foldExperienceChecklistItems(items: ExperienceChecklistI
|
|
|
20
20
|
reason: ExperienceParentReason;
|
|
21
21
|
sourceItemKeys: string[];
|
|
22
22
|
};
|
|
23
|
-
//# sourceMappingURL=experience.d.ts.map
|
|
@@ -131,7 +131,7 @@ export function buildObservationExperienceReport(input) {
|
|
|
131
131
|
const sessions = summarizeExperienceSessions(invocations, sessionGroupsByKey, input.generatedAt, input.reviewState);
|
|
132
132
|
const skills = summarizeExperienceSkills(sessions, invocations);
|
|
133
133
|
return {
|
|
134
|
-
|
|
134
|
+
reportKind: 'observe-experience',
|
|
135
135
|
schemaVersion: 1,
|
|
136
136
|
scope: 'evidence-only',
|
|
137
137
|
generatedAt: input.generatedAt,
|
|
@@ -3435,4 +3435,3 @@ function unique(values) {
|
|
|
3435
3435
|
function hashParts(...parts) {
|
|
3436
3436
|
return createHash('sha256').update(parts.join('\u0000')).digest('hex').slice(0, 16);
|
|
3437
3437
|
}
|
|
3438
|
-
//# sourceMappingURL=experience.js.map
|
|
@@ -34,4 +34,3 @@ export declare function findNegativeFeedbackMatches(value: string): TextMatchRan
|
|
|
34
34
|
export declare function hasNegativeFeedbackSignal(value: string): boolean;
|
|
35
35
|
export declare function findPositiveFeedbackMatches(value: string): TextMatchRange[];
|
|
36
36
|
export declare function hasPositiveFeedbackSignal(value: string): boolean;
|
|
37
|
-
//# sourceMappingURL=feedback-matchers.d.ts.map
|
|
@@ -18,4 +18,3 @@
|
|
|
18
18
|
*/
|
|
19
19
|
export { findNegativeFeedbackMatches, findPositiveFeedbackMatches, findUserCorrectionMatches, findUserGoalShiftMatches, hasUserCorrectionSignal, hasUserGoalShiftSignal, } from './feedback-matchers.js';
|
|
20
20
|
export type { ExperienceAssistiveInference, ExperienceAssistiveInferenceCautionCode, ExperienceAssistiveInferenceCode, ExperienceChecklistItem, ExperienceEvidenceChain, ExperienceEvidenceRef, ExperienceFeedbackAttribution, ExperienceInvocation, ExperienceReviewIndicators, ExperienceReviewBasisCode, ExperienceReviewPriority, ExperienceReviewerReport, ExperienceRuleFinding, ExperienceRuleFindingCode, ExperienceRuleFindingLevel, ExperienceEpisode, ExperienceFeedbackSignal, ExperienceSkillSegment, ExperienceSessionStoryAnswer, ExperienceSessionSummary, ExperienceTimelineEvent, } from './experience.js';
|
|
21
|
-
//# sourceMappingURL=feedback-projection.d.ts.map
|
|
@@ -17,4 +17,3 @@
|
|
|
17
17
|
* 继续直接 import experience.ts —— 它们不是「视图」,不在 facade 收敛范围内。
|
|
18
18
|
*/
|
|
19
19
|
export { findNegativeFeedbackMatches, findPositiveFeedbackMatches, findUserCorrectionMatches, findUserGoalShiftMatches, hasUserCorrectionSignal, hasUserGoalShiftSignal, } from './feedback-matchers.js';
|
|
20
|
-
//# sourceMappingURL=feedback-projection.js.map
|
|
@@ -40,4 +40,3 @@ export type { ResolvedObservationReviewSession, ResolvedOwnerSuggestion } from '
|
|
|
40
40
|
export type { SkillChainAdvisoryCode } from './skill-chain-advisories.js';
|
|
41
41
|
export type { ExperienceProblemBucket, ExperienceProblemPattern, ExperienceProblemSignal } from './problem-patterns.js';
|
|
42
42
|
export type { SkillDerivedStandard, SkillLlmEnhancedReviewSections } from './soft-standards/index.js';
|
|
43
|
-
//# sourceMappingURL=inbox-view-model.d.ts.map
|
|
@@ -177,4 +177,3 @@ export { observationMetricAnnotationTargetId } from './review-state.js';
|
|
|
177
177
|
export { resolveObservationReviewSession } from './resolved-review.js';
|
|
178
178
|
export { getSkillChainAdvisory, resolveAdvisoryCommand } from './skill-chain-advisories.js';
|
|
179
179
|
export { ASSISTANT_DELIVERABLE_ARTIFACT_RE, hasAssistantDeliverableArtifactText, hasAssistantDeliverySignalText, hasUserHardRuleText, HARD_RULE_TEXT_RE, isAssistantProgressUpdateText, isScheduledTaskPromptText, isSyntheticUserMessageText, isUserInteractionMetricText, } from './text-signals.js';
|
|
180
|
-
//# sourceMappingURL=inbox-view-model.js.map
|
|
@@ -25,4 +25,3 @@ export declare function findObservationInboxItem(id: string, dir?: string): Obse
|
|
|
25
25
|
export declare function buildObservationMessageWindow(item: Pick<ObservationInboxItem, 'sourceTrace' | 'signalType' | 'evidence'>, radius?: number): ObservationMessageWindow | undefined;
|
|
26
26
|
export declare function formatObservationShow(item: ObservationInboxItem): string;
|
|
27
27
|
export declare function selectExploreInboxItems(items: ObservationInboxItem[], limit: number, includeNoise?: boolean, random?: () => number): ObservationInboxItem[];
|
|
28
|
-
//# sourceMappingURL=inbox.d.ts.map
|
|
@@ -432,7 +432,7 @@ export function buildObservationInboxReport(tracePath, options = {}) {
|
|
|
432
432
|
const items = finishInboxAggregation(aggregationState);
|
|
433
433
|
const experience = buildObservationExperienceReport({ sessions, segments, items, generatedAt, reviewState: options.reviewState });
|
|
434
434
|
const report = {
|
|
435
|
-
|
|
435
|
+
reportKind: 'observe-inbox',
|
|
436
436
|
schemaVersion: 1,
|
|
437
437
|
meta: {
|
|
438
438
|
tracePath,
|
|
@@ -567,7 +567,7 @@ export function loadObservationInboxReports(dir = DEFAULT_OBSERVATIONS_DIR) {
|
|
|
567
567
|
return null;
|
|
568
568
|
}
|
|
569
569
|
})
|
|
570
|
-
.filter((r) => r?.
|
|
570
|
+
.filter((r) => r?.reportKind === 'observe-inbox');
|
|
571
571
|
}
|
|
572
572
|
export function loadLatestObservationInboxReport(dir = DEFAULT_OBSERVATIONS_DIR) {
|
|
573
573
|
const reports = loadObservationInboxReports(dir);
|
|
@@ -762,4 +762,3 @@ export function selectExploreInboxItems(items, limit, includeNoise = false, rand
|
|
|
762
762
|
}
|
|
763
763
|
return shuffled.slice(0, limit);
|
|
764
764
|
}
|
|
765
|
-
//# sourceMappingURL=inbox.js.map
|
|
@@ -9,4 +9,3 @@ export declare function buildExperienceProblemPatterns(input: {
|
|
|
9
9
|
reviewState?: ObservationReviewState;
|
|
10
10
|
}): ExperienceProblemPattern[];
|
|
11
11
|
export declare function mergeExperienceProblemPatterns(patterns: ExperienceProblemPattern[]): ExperienceProblemPattern[];
|
|
12
|
-
//# sourceMappingURL=problem-patterns.d.ts.map
|
|
@@ -34,4 +34,3 @@ export interface ResolvedOwnerSuggestion {
|
|
|
34
34
|
}
|
|
35
35
|
export declare function resolveObservationReviewSession(options: ResolveObservationReviewSessionOptions): ResolvedObservationReviewSession;
|
|
36
36
|
export declare function resolveObservationReviewPriority(priority: ExperienceReviewPriority, enhancedReview: SkillLlmEnhancedReviewSections | undefined, hasManualReview: boolean): ExperienceReviewPriority;
|
|
37
|
-
//# sourceMappingURL=resolved-review.d.ts.map
|
|
@@ -222,9 +222,9 @@ function typeSpecificChecklistItems(enhancedReview, skillType) {
|
|
|
222
222
|
function runtimeNodeChecklistItems(enhancedReview) {
|
|
223
223
|
const runtimeResults = enhancedReview.runtimeNodeResults?.nodes ?? [];
|
|
224
224
|
if (runtimeResults.length > 0) {
|
|
225
|
-
return runtimeResults.slice(0, 12).map((node) => checklistItem(`runtime_node_${node.
|
|
225
|
+
return runtimeResults.slice(0, 12).map((node) => checklistItem(`runtime_node_${node.nodeKind}_${node.nodeId}`, `${runtimeNodeKindLabel(node.nodeKind)}:${node.title || node.nodeId}`, runtimeNodeChecklistStatus(node.status), node.reason || '规则层基于 LLM 拆解的 typed signal 匹配运行证据。', node.status === 'violated' || node.status === 'degraded' ? 'attention' : 'informational'));
|
|
226
226
|
}
|
|
227
|
-
return (enhancedReview.runtimeNodeAssessment?.nodes ?? []).slice(0, 12).map((node) => checklistItem(`legacy_llm_node_${node.
|
|
227
|
+
return (enhancedReview.runtimeNodeAssessment?.nodes ?? []).slice(0, 12).map((node) => checklistItem(`legacy_llm_node_${node.nodeKind}_${node.nodeId}`, `${node.nodeKind === 'workflowNode' ? '流程节点' : '硬性规则'}:${node.nodeId}`, checklistStatus(node.status), node.reason ?? '旧版模型节点复核结果。', node.status === 'failed' || node.status === 'degraded' ? 'attention' : 'informational'));
|
|
228
228
|
}
|
|
229
229
|
function runtimeNodeKindLabel(kind) {
|
|
230
230
|
if (kind === 'hardRule')
|
|
@@ -515,10 +515,10 @@ function ownerSuggestionTexts(enhancedReview, skillType) {
|
|
|
515
515
|
const checklistLabelByKey = new Map((enhancedReview?.typeSpecificAssessment?.checklist ?? [])
|
|
516
516
|
.map((item) => [item.key, `${skillTypeLabel(skillType ?? enhancedReview?.skillType)}:${readableTypeSpecificLabel(item, skillType ?? enhancedReview?.skillType)}`]));
|
|
517
517
|
for (const node of enhancedReview?.runtimeNodeResults?.nodes ?? []) {
|
|
518
|
-
checklistLabelByKey.set(node.nodeId, `${runtimeNodeKindLabel(node.
|
|
518
|
+
checklistLabelByKey.set(node.nodeId, `${runtimeNodeKindLabel(node.nodeKind)}:${node.title || node.nodeId}`);
|
|
519
519
|
}
|
|
520
520
|
for (const node of enhancedReview?.runtimeNodeAssessment?.nodes ?? []) {
|
|
521
|
-
checklistLabelByKey.set(node.suggestionKey ?? node.nodeId, `${node.
|
|
521
|
+
checklistLabelByKey.set(node.suggestionKey ?? node.nodeId, `${node.nodeKind === 'workflowNode' ? '流程节点' : '硬性规则'}:${node.nodeId}`);
|
|
522
522
|
}
|
|
523
523
|
return (enhancedReview?.ownerSuggestions ?? [])
|
|
524
524
|
.flatMap((suggestion) => {
|
|
@@ -549,4 +549,3 @@ function shortList(values) {
|
|
|
549
549
|
.slice(0, 4)
|
|
550
550
|
.join(' / ');
|
|
551
551
|
}
|
|
552
|
-
//# sourceMappingURL=resolved-review.js.map
|
|
@@ -17,4 +17,3 @@ export declare function emptyObservationReviewState(now?: string): ObservationRe
|
|
|
17
17
|
export declare function loadObservationReviewState(observationsDir: string): ObservationReviewState;
|
|
18
18
|
export declare function updateObservationReviewState(observationsDir: string, update: ObservationReviewStateUpdate, now?: string): ObservationReviewState;
|
|
19
19
|
export declare function deleteObservationReviewState(observationsDir: string, targetType: ObservationReviewTargetType, targetId: string, now?: string): ObservationReviewState;
|
|
20
|
-
//# sourceMappingURL=review-state.d.ts.map
|
|
@@ -40,7 +40,7 @@ export function observationReviewStatePath(observationsDir) {
|
|
|
40
40
|
}
|
|
41
41
|
export function emptyObservationReviewState(now = new Date().toISOString()) {
|
|
42
42
|
return {
|
|
43
|
-
|
|
43
|
+
reportKind: 'observe-review-state',
|
|
44
44
|
schemaVersion: 1,
|
|
45
45
|
updatedAt: now,
|
|
46
46
|
entries: {},
|
|
@@ -52,11 +52,11 @@ export function loadObservationReviewState(observationsDir) {
|
|
|
52
52
|
return emptyObservationReviewState();
|
|
53
53
|
try {
|
|
54
54
|
const parsed = JSON.parse(readFileSync(path, 'utf-8'));
|
|
55
|
-
if (parsed.
|
|
55
|
+
if (parsed.reportKind !== 'observe-review-state' || parsed.schemaVersion !== 1 || !parsed.entries || typeof parsed.entries !== 'object') {
|
|
56
56
|
return emptyObservationReviewState();
|
|
57
57
|
}
|
|
58
58
|
return {
|
|
59
|
-
|
|
59
|
+
reportKind: 'observe-review-state',
|
|
60
60
|
schemaVersion: 1,
|
|
61
61
|
updatedAt: typeof parsed.updatedAt === 'string' ? parsed.updatedAt : new Date().toISOString(),
|
|
62
62
|
entries: Object.fromEntries(Object.entries(parsed.entries).filter(([, entry]) => isReviewStateEntry(entry))),
|
|
@@ -166,4 +166,3 @@ function isObservationMetricKey(value) {
|
|
|
166
166
|
|| value === 'self_correction'
|
|
167
167
|
|| value === 'repeated_execution';
|
|
168
168
|
}
|
|
169
|
-
//# sourceMappingURL=review-state.js.map
|
|
@@ -13,4 +13,3 @@ export declare function getSkillChainAdvisory(code: SkillChainAdvisoryCode): Ski
|
|
|
13
13
|
* 只接受字母/数字/横线/下划线,避免 shell 注入风险。
|
|
14
14
|
*/
|
|
15
15
|
export declare function resolveAdvisoryCommand(advisory: SkillChainAdvisory, skillName: string): string | undefined;
|
|
16
|
-
//# sourceMappingURL=skill-chain-advisories.d.ts.map
|
|
@@ -66,4 +66,3 @@ export function resolveAdvisoryCommand(advisory, skillName) {
|
|
|
66
66
|
const safe = /^[A-Za-z0-9_.-]+$/.test(skillName) ? skillName : '<skill-name>';
|
|
67
67
|
return advisory.commandTemplate.replace(/\$\{skillName\}/g, safe);
|
|
68
68
|
}
|
|
69
|
-
//# sourceMappingURL=skill-chain-advisories.js.map
|
|
@@ -4,4 +4,3 @@ export declare function buildObservationSkillChains(skillNames: string[], cwd?:
|
|
|
4
4
|
export declare function buildObservationSkillChain(skillName: string, cwd?: string, experienceReports?: ObservationExperienceReport[]): ObservationSkillChain;
|
|
5
5
|
export declare function findSkillMdPath(skillName: string, cwd: string): string | undefined;
|
|
6
6
|
export declare function __resetSkillIndexCacheForTests(): void;
|
|
7
|
-
//# sourceMappingURL=skill-chain.d.ts.map
|
|
@@ -68,13 +68,13 @@ function buildRuntimeChecks(skillName, definition, hardRules, workflows, workflo
|
|
|
68
68
|
const invocations = experienceReports.flatMap((report) => report.invocations.filter((invocation) => invocation.skillName === skillName));
|
|
69
69
|
const evidence = runtimeEvidence(invocations);
|
|
70
70
|
const hardRuleChecks = hardRules.map((rule) => evaluateRuntimeText({
|
|
71
|
-
|
|
71
|
+
nodeKind: 'hardRule',
|
|
72
72
|
id: rule.id,
|
|
73
73
|
title: rule.rule,
|
|
74
74
|
expectation: rule.expectedBehavior,
|
|
75
75
|
}, evidence));
|
|
76
76
|
const workflowChecks = workflows.flatMap((workflow) => workflow.nodes.map((node) => evaluateRuntimeText({
|
|
77
|
-
|
|
77
|
+
nodeKind: 'workflowNode',
|
|
78
78
|
id: `${workflow.id}.${node.id}`,
|
|
79
79
|
title: node.action || `${workflow.id} / ${node.id}`,
|
|
80
80
|
expectation: node.action,
|
|
@@ -130,7 +130,7 @@ function buildSkillRuntimeEvidencePack(input) {
|
|
|
130
130
|
...input.hardRules.map((rule) => nodeEvidenceForCheck({
|
|
131
131
|
check: standardById.get(rule.id),
|
|
132
132
|
nodeId: rule.id,
|
|
133
|
-
|
|
133
|
+
nodeKind: 'hardRule',
|
|
134
134
|
title: rule.rule,
|
|
135
135
|
expectation: rule.expectedBehavior,
|
|
136
136
|
refs: allRuntimeRefs,
|
|
@@ -138,7 +138,7 @@ function buildSkillRuntimeEvidencePack(input) {
|
|
|
138
138
|
...workflowNodes.map((node) => nodeEvidenceForCheck({
|
|
139
139
|
check: standardById.get(node.id),
|
|
140
140
|
nodeId: node.id,
|
|
141
|
-
|
|
141
|
+
nodeKind: 'workflowNode',
|
|
142
142
|
title: node.title,
|
|
143
143
|
expectation: node.expectation,
|
|
144
144
|
refs: allRuntimeRefs,
|
|
@@ -185,7 +185,7 @@ function nodeEvidenceForCheck(input) {
|
|
|
185
185
|
: [];
|
|
186
186
|
return {
|
|
187
187
|
nodeId: input.nodeId,
|
|
188
|
-
|
|
188
|
+
nodeKind: input.nodeKind,
|
|
189
189
|
title: input.title,
|
|
190
190
|
expectation: input.expectation,
|
|
191
191
|
deterministicStatus: input.check?.status ?? 'manual_review',
|
|
@@ -471,4 +471,3 @@ export function findSkillMdPath(skillName, cwd) {
|
|
|
471
471
|
export function __resetSkillIndexCacheForTests() {
|
|
472
472
|
skillIndexCache.clear();
|
|
473
473
|
}
|
|
474
|
-
//# sourceMappingURL=skill-chain.js.map
|
|
@@ -93,4 +93,3 @@ export declare function computeSkillHealthReport(tracePath: string, opts?: Analy
|
|
|
93
93
|
* 用于测试 / 已手工组装过 segments 的场景。
|
|
94
94
|
*/
|
|
95
95
|
export declare function computeSkillHealthFromSegments(segments: SkillSegment[], sessions: CcSession[], tracePath: string, opts?: AnalyzeOptions): SkillHealthReport;
|
|
96
|
-
//# sourceMappingURL=skill-health-analyzer.d.ts.map
|
|
@@ -2,4 +2,3 @@ export declare const PROMPTS_DIR: string;
|
|
|
2
2
|
export declare const SOFT_STANDARD_PROMPT_ID = "llm-enhanced-review";
|
|
3
3
|
export declare const SOFT_STANDARD_PROMPT_VERSION = "2026-05-22.v7";
|
|
4
4
|
export declare const DEFAULT_LLM_ENHANCED_REVIEW_MODEL = "sonnet";
|
|
5
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -7,4 +7,3 @@ export const PROMPTS_DIR = join(dirname(fileURLToPath(import.meta.url)), '..', '
|
|
|
7
7
|
export const SOFT_STANDARD_PROMPT_ID = 'llm-enhanced-review';
|
|
8
8
|
export const SOFT_STANDARD_PROMPT_VERSION = '2026-05-22.v7';
|
|
9
9
|
export const DEFAULT_LLM_ENHANCED_REVIEW_MODEL = 'sonnet';
|
|
10
|
-
//# sourceMappingURL=constants.js.map
|
|
@@ -3,4 +3,3 @@ export declare function extractSkillSoftStandards(options: ExtractSkillSoftStand
|
|
|
3
3
|
export declare function normalizeRuntimeSignals(value: unknown): RuntimeSignal[];
|
|
4
4
|
export declare function normalizeSignalOpForType(type: RuntimeSignalType, op: RuntimeSignalOp | undefined, valueIsArray: boolean): RuntimeSignalOp | undefined;
|
|
5
5
|
export declare function normalizeRuntimeTriggers(value: unknown): RuntimeTrigger[];
|
|
6
|
-
//# sourceMappingURL=llm-extractor.d.ts.map
|
|
@@ -47,7 +47,7 @@ export async function extractSkillSoftStandards(options) {
|
|
|
47
47
|
source: 'llm_soft_standard',
|
|
48
48
|
}));
|
|
49
49
|
const record = {
|
|
50
|
-
|
|
50
|
+
reportKind: 'observe-skill-derived-standards',
|
|
51
51
|
schemaVersion: 1,
|
|
52
52
|
skillName: skillChain.skillName,
|
|
53
53
|
sourceSkillPath: skillChain.definition.path,
|
|
@@ -93,7 +93,7 @@ function buildSoftStandardPrompt(skillChain, flags, runtimeEvidence) {
|
|
|
93
93
|
function availableNodeEvidenceSummaries(evidencePack) {
|
|
94
94
|
return (evidencePack?.nodeEvidence ?? []).slice(0, 40).map((node) => ({
|
|
95
95
|
nodeId: node.nodeId,
|
|
96
|
-
|
|
96
|
+
nodeKind: node.nodeKind,
|
|
97
97
|
title: node.title.slice(0, 120),
|
|
98
98
|
expectation: node.expectation.slice(0, 240),
|
|
99
99
|
candidateEvidenceSnippets: node.candidateEvidenceSnippets.slice(0, 3).map((snippet) => snippet.slice(0, 180)),
|
|
@@ -265,7 +265,7 @@ function normalizeStandardNode(value) {
|
|
|
265
265
|
return {
|
|
266
266
|
nodeId,
|
|
267
267
|
nodeEvidenceRef: typeof item.nodeEvidenceRef === 'string' ? normalizeIdentifier(item.nodeEvidenceRef, 120) || undefined : undefined,
|
|
268
|
-
kind,
|
|
268
|
+
nodeKind: kind,
|
|
269
269
|
title,
|
|
270
270
|
description: typeof item.description === 'string' ? item.description.slice(0, 600) : undefined,
|
|
271
271
|
childNodeIds: Array.isArray(item.childNodeIds)
|
|
@@ -559,7 +559,7 @@ function attachRuntimeNodeResults(review, evidencePack) {
|
|
|
559
559
|
},
|
|
560
560
|
runtimeNodeResults: {
|
|
561
561
|
summary: nodeResults.length > 0
|
|
562
|
-
? `规则层已复核 ${nodeResults.filter((node) => node.
|
|
562
|
+
? `规则层已复核 ${nodeResults.filter((node) => node.nodeKind !== 'stage').length} 个流程/规则节点。`
|
|
563
563
|
: '没有可复核的流程/规则节点。',
|
|
564
564
|
nodes: nodeResults,
|
|
565
565
|
},
|
|
@@ -598,7 +598,7 @@ const WORKFLOW_OWNER_FALLBACK_STANDARD_NODES = [
|
|
|
598
598
|
function workflowOwnerStage(nodeId, title, childNodeIds) {
|
|
599
599
|
return {
|
|
600
600
|
nodeId,
|
|
601
|
-
|
|
601
|
+
nodeKind: 'stage',
|
|
602
602
|
title,
|
|
603
603
|
description: 'workflow_owner 通用兜底阶段;当 SKILL.md 没有可抽取阶段时使用。',
|
|
604
604
|
childNodeIds,
|
|
@@ -613,7 +613,7 @@ function workflowOwnerStage(nodeId, title, childNodeIds) {
|
|
|
613
613
|
function workflowOwnerNode(nodeId, kind, title, expectedSignals) {
|
|
614
614
|
return {
|
|
615
615
|
nodeId,
|
|
616
|
-
kind,
|
|
616
|
+
nodeKind: kind,
|
|
617
617
|
title,
|
|
618
618
|
expectedSignals,
|
|
619
619
|
failureSignals: [],
|
|
@@ -682,11 +682,10 @@ function normalizeStandard(value, index) {
|
|
|
682
682
|
const stable = [kind, item.title, item.body].join('\u0000');
|
|
683
683
|
return {
|
|
684
684
|
id: typeof item.id === 'string' && item.id.trim() ? item.id.trim() : `soft-${hashText(stable).slice(0, 12)}-${index}`,
|
|
685
|
-
kind,
|
|
685
|
+
standardKind: kind,
|
|
686
686
|
title: item.title.slice(0, 160),
|
|
687
687
|
body: item.body.slice(0, 600),
|
|
688
688
|
confidence: item.confidence === 'high' || item.confidence === 'medium' || item.confidence === 'low' ? item.confidence : 'low',
|
|
689
689
|
evidence: Array.isArray(item.evidence) ? item.evidence.filter((entry) => typeof entry === 'string').slice(0, 5) : [],
|
|
690
690
|
};
|
|
691
691
|
}
|
|
692
|
-
//# sourceMappingURL=llm-extractor.js.map
|
|
@@ -9,4 +9,3 @@ export declare function normalizeToolNameValue(value: string): string;
|
|
|
9
9
|
export declare function normalizeFuzzyText(value: string): string;
|
|
10
10
|
export declare function refsInScope(refs: SkillRuntimeEvidencePackRef[], anchorRefs: SkillRuntimeEvidencePackRef[], scope: RuntimeTriggerWindowScope, context?: RuntimeEvaluationContext): SkillRuntimeEvidencePackRef[];
|
|
11
11
|
export {};
|
|
12
|
-
//# sourceMappingURL=runtime-evaluator.d.ts.map
|
|
@@ -5,7 +5,7 @@ export function evaluateRuntimeStandardNodes(nodes, evidencePack) {
|
|
|
5
5
|
const resultByNodeId = new Map(rawResults.map((result) => [result.nodeId, result]));
|
|
6
6
|
return rawResults.map((result) => {
|
|
7
7
|
const node = nodes.find((item) => item.nodeId === result.nodeId);
|
|
8
|
-
if (!node || node.
|
|
8
|
+
if (!node || node.nodeKind !== 'stage' || !node.childNodeIds || node.childNodeIds.length === 0)
|
|
9
9
|
return result;
|
|
10
10
|
const childResults = node.childNodeIds
|
|
11
11
|
.map((id) => resultByNodeId.get(id))
|
|
@@ -33,7 +33,7 @@ function evaluateRuntimeStandardNode(node, evidencePack, context) {
|
|
|
33
33
|
const evidenceRefs = dedupeEvidenceRefs(matchedSignals.flatMap((match) => match.refs));
|
|
34
34
|
return {
|
|
35
35
|
nodeId: node.nodeId,
|
|
36
|
-
|
|
36
|
+
nodeKind: node.nodeKind,
|
|
37
37
|
title: node.title,
|
|
38
38
|
status,
|
|
39
39
|
matchedSignals: matchedSignals.map((match) => ({
|
|
@@ -382,4 +382,3 @@ function dedupeEvidenceRefs(refs) {
|
|
|
382
382
|
out.set(ref.id, ref);
|
|
383
383
|
return Array.from(out.values());
|
|
384
384
|
}
|
|
385
|
-
//# sourceMappingURL=runtime-evaluator.js.map
|
|
@@ -8,4 +8,3 @@ export declare function loadExisting(path: string): SkillDerivedStandards | unde
|
|
|
8
8
|
export declare function markStale(record: SkillDerivedStandards, generatedAt: string): SkillDerivedStandards;
|
|
9
9
|
export declare function isSkillDerivedStandards(value: unknown): value is SkillDerivedStandards;
|
|
10
10
|
export declare function hashText(value: string): string;
|
|
11
|
-
//# sourceMappingURL=skill-standards-store.d.ts.map
|
|
@@ -63,7 +63,7 @@ export function resolveSkillStandards(skillName, options) {
|
|
|
63
63
|
for (const rule of skillChain.healthCheck.hardRules.rules) {
|
|
64
64
|
active.push({
|
|
65
65
|
id: rule.id,
|
|
66
|
-
|
|
66
|
+
standardKind: 'hard_rule',
|
|
67
67
|
title: rule.rule,
|
|
68
68
|
body: rule.expectedBehavior,
|
|
69
69
|
source: 'frontmatter',
|
|
@@ -73,7 +73,7 @@ export function resolveSkillStandards(skillName, options) {
|
|
|
73
73
|
for (const node of workflow.nodes) {
|
|
74
74
|
active.push({
|
|
75
75
|
id: `${workflow.id}.${node.id}`,
|
|
76
|
-
|
|
76
|
+
standardKind: 'workflow',
|
|
77
77
|
title: `${workflow.id} / ${node.id}`,
|
|
78
78
|
body: node.action,
|
|
79
79
|
source: 'frontmatter',
|
|
@@ -81,11 +81,11 @@ export function resolveSkillStandards(skillName, options) {
|
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
for (const standard of derived?.standards ?? []) {
|
|
84
|
-
const kind = standard.
|
|
84
|
+
const kind = standard.standardKind === 'workflow_candidate' ? 'workflow' : 'hard_rule';
|
|
85
85
|
const blockedByFrontmatter = kind === 'hard_rule' ? hasFrontmatterHardRules : hasFrontmatterWorkflows;
|
|
86
86
|
const resolved = {
|
|
87
87
|
id: standard.id,
|
|
88
|
-
kind,
|
|
88
|
+
standardKind: kind,
|
|
89
89
|
title: standard.title,
|
|
90
90
|
body: standard.body,
|
|
91
91
|
source: standard.status === 'author_confirmed' ? 'confirmed_soft' : 'pending_soft',
|
|
@@ -132,7 +132,7 @@ export function isSkillDerivedStandards(value) {
|
|
|
132
132
|
if (!value || typeof value !== 'object')
|
|
133
133
|
return false;
|
|
134
134
|
const item = value;
|
|
135
|
-
return item.
|
|
135
|
+
return item.reportKind === 'observe-skill-derived-standards'
|
|
136
136
|
&& item.schemaVersion === 1
|
|
137
137
|
&& typeof item.skillName === 'string'
|
|
138
138
|
&& Array.isArray(item.standards);
|
|
@@ -155,4 +155,3 @@ function safeSkillFileName(skillName) {
|
|
|
155
155
|
export function hashText(value) {
|
|
156
156
|
return createHash('sha256').update(value).digest('hex');
|
|
157
157
|
}
|
|
158
|
-
//# sourceMappingURL=skill-standards-store.js.map
|
|
@@ -5,7 +5,7 @@ export type SkillDerivedStandardStatus = 'pending_review' | 'author_confirmed' |
|
|
|
5
5
|
export type SkillDerivedStandardKind = 'hard_rule_candidate' | 'workflow_candidate';
|
|
6
6
|
export interface SkillDerivedStandard {
|
|
7
7
|
id: string;
|
|
8
|
-
|
|
8
|
+
standardKind: SkillDerivedStandardKind;
|
|
9
9
|
status: SkillDerivedStandardStatus;
|
|
10
10
|
title: string;
|
|
11
11
|
body: string;
|
|
@@ -14,7 +14,7 @@ export interface SkillDerivedStandard {
|
|
|
14
14
|
evidence: string[];
|
|
15
15
|
}
|
|
16
16
|
export interface SkillDerivedStandards {
|
|
17
|
-
|
|
17
|
+
reportKind: 'observe-skill-derived-standards';
|
|
18
18
|
schemaVersion: 1;
|
|
19
19
|
skillName: string;
|
|
20
20
|
sourceSkillPath?: string;
|
|
@@ -78,7 +78,7 @@ export interface RuntimeStandardNodeSourceHint {
|
|
|
78
78
|
export interface RuntimeStandardNode {
|
|
79
79
|
nodeId: string;
|
|
80
80
|
nodeEvidenceRef?: string;
|
|
81
|
-
|
|
81
|
+
nodeKind: RuntimeStandardNodeKind;
|
|
82
82
|
title: string;
|
|
83
83
|
description?: string;
|
|
84
84
|
childNodeIds?: string[];
|
|
@@ -97,7 +97,7 @@ export interface RuntimeMatchedSignal {
|
|
|
97
97
|
}
|
|
98
98
|
export interface RuntimeNodeResult {
|
|
99
99
|
nodeId: string;
|
|
100
|
-
|
|
100
|
+
nodeKind: RuntimeStandardNodeKind;
|
|
101
101
|
title: string;
|
|
102
102
|
status: RuntimeNodeVerdict;
|
|
103
103
|
matchedSignals: RuntimeMatchedSignal[];
|
|
@@ -114,7 +114,7 @@ export interface SkillLlmTypeSpecificChecklistItem {
|
|
|
114
114
|
}
|
|
115
115
|
export interface SkillLlmRuntimeNodeAssessment {
|
|
116
116
|
nodeId: string;
|
|
117
|
-
|
|
117
|
+
nodeKind: 'workflowNode' | 'hardRule';
|
|
118
118
|
status: LlmEnhancedChecklistStatus;
|
|
119
119
|
reason?: string;
|
|
120
120
|
evidence?: string[];
|
|
@@ -123,10 +123,10 @@ export interface SkillLlmRuntimeNodeAssessment {
|
|
|
123
123
|
export interface SkillLlmEnhancedReviewSections {
|
|
124
124
|
skillType?: LlmEnhancedSkillType;
|
|
125
125
|
extractedStandards?: {
|
|
126
|
-
hardrules: Array<Omit<SkillDerivedStandard, 'id' | '
|
|
127
|
-
workflows: Array<Omit<SkillDerivedStandard, 'id' | '
|
|
128
|
-
completionCriteria: Array<Omit<SkillDerivedStandard, 'id' | '
|
|
129
|
-
artifactCriteria: Array<Omit<SkillDerivedStandard, 'id' | '
|
|
126
|
+
hardrules: Array<Omit<SkillDerivedStandard, 'id' | 'standardKind' | 'status' | 'source'>>;
|
|
127
|
+
workflows: Array<Omit<SkillDerivedStandard, 'id' | 'standardKind' | 'status' | 'source'>>;
|
|
128
|
+
completionCriteria: Array<Omit<SkillDerivedStandard, 'id' | 'standardKind' | 'status' | 'source'>>;
|
|
129
|
+
artifactCriteria: Array<Omit<SkillDerivedStandard, 'id' | 'standardKind' | 'status' | 'source'>>;
|
|
130
130
|
standardNodes?: RuntimeStandardNode[];
|
|
131
131
|
};
|
|
132
132
|
userGoal?: {
|
|
@@ -179,7 +179,7 @@ export type ResolvedSkillStandardSource = 'frontmatter' | 'confirmed_soft' | 'pe
|
|
|
179
179
|
export type ResolvedSkillStandardKind = 'hard_rule' | 'workflow';
|
|
180
180
|
export interface ResolvedSkillStandard {
|
|
181
181
|
id: string;
|
|
182
|
-
|
|
182
|
+
standardKind: ResolvedSkillStandardKind;
|
|
183
183
|
title: string;
|
|
184
184
|
body: string;
|
|
185
185
|
source: ResolvedSkillStandardSource;
|
|
@@ -209,4 +209,3 @@ export interface ResolveSkillStandardsOptions {
|
|
|
209
209
|
skillChain?: ObservationSkillChain;
|
|
210
210
|
derivedStandards?: SkillDerivedStandards | Record<string, SkillDerivedStandards>;
|
|
211
211
|
}
|
|
212
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -11,4 +11,3 @@ export declare function isAssistantProgressUpdateText(value: string): boolean;
|
|
|
11
11
|
export declare function hasAssistantDeliverySignalText(value: string): boolean;
|
|
12
12
|
export declare function hasAssistantDeliverableArtifactText(value: string): boolean;
|
|
13
13
|
export declare function isToolResultFailureText(value: unknown): boolean;
|
|
14
|
-
//# sourceMappingURL=text-signals.d.ts.map
|
|
@@ -53,4 +53,3 @@ export declare function extractSkillReadFileRef(record: CcAssistantRecord): Skil
|
|
|
53
53
|
* 只会直接执行 ~/.openclaw/workspace-main/skills/<skill>/scripts/*.sh。
|
|
54
54
|
*/
|
|
55
55
|
export declare function extractSkillScriptCommandRef(record: CcUserRecord | CcAssistantRecord): SkillRef | null;
|
|
56
|
-
//# sourceMappingURL=trace-attribution.d.ts.map
|
|
@@ -49,4 +49,3 @@ export declare function segmentBySkill(session: CcSession): SkillSegment[];
|
|
|
49
49
|
* - variant key = skill 名(复用 omk 的 variant 维度作为 skill 分组维度)
|
|
50
50
|
*/
|
|
51
51
|
export declare function segmentsToResultEntries(segments: SkillSegment[]): ResultEntry[];
|
|
52
|
-
//# sourceMappingURL=trace-segmenter.d.ts.map
|
|
@@ -7,4 +7,3 @@ export declare function renderRunDetail(report: EvaluationReport | null, lang?:
|
|
|
7
7
|
export declare function renderBatchEvaluationDetail(report: BatchEvaluationReport | null, lang?: Lang): string;
|
|
8
8
|
export declare function renderReportDocumentDetail(report: ReportDocument | null, lang?: Lang): string;
|
|
9
9
|
export declare function renderTrendsPage(variantName: string, runs: Report[], lang?: Lang): string;
|
|
10
|
-
//# sourceMappingURL=html-renderer.d.ts.map
|