niceeval 0.13.2 → 0.13.3
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/dist/agents/bub.cjs +4 -4
- package/dist/agents/bub.cjs.map +1 -1
- package/dist/agents/bub.d.cts +2 -2
- package/dist/agents/bub.d.mts +2 -2
- package/dist/agents/bub.d.ts +2 -2
- package/dist/agents/claude-code-native.cjs +213 -0
- package/dist/agents/claude-code-native.cjs.map +1 -0
- package/dist/agents/claude-code-native.d.cts +5 -0
- package/dist/agents/claude-code-native.d.mts +5 -0
- package/dist/agents/claude-code-native.d.ts +5 -0
- package/dist/agents/claude-code-native.js +6 -0
- package/dist/agents/claude-code-native.js.map +1 -0
- package/dist/agents/claude-code.cjs +26 -80
- package/dist/agents/claude-code.cjs.map +1 -1
- package/dist/agents/codex-app-server.cjs +314 -0
- package/dist/agents/codex-app-server.cjs.map +1 -0
- package/dist/agents/codex-app-server.d.cts +9 -0
- package/dist/agents/codex-app-server.d.mts +9 -0
- package/dist/agents/codex-app-server.d.ts +9 -0
- package/dist/agents/codex-app-server.js +6 -0
- package/dist/agents/codex-app-server.js.map +1 -0
- package/dist/agents/codex.cjs +19 -68
- package/dist/agents/codex.cjs.map +1 -1
- package/dist/agents/codex.d.cts +3 -3
- package/dist/agents/codex.d.mts +3 -3
- package/dist/agents/codex.d.ts +3 -3
- package/dist/agents/index.cjs +3 -1
- package/dist/agents/index.cjs.map +1 -1
- package/dist/agents/index.d.cts +1 -0
- package/dist/agents/index.d.mts +1 -0
- package/dist/agents/index.d.ts +1 -0
- package/dist/agents/index.js +84 -82
- package/dist/agents/index.mjs +84 -82
- package/dist/agents/managed-jsonl.cjs +207 -0
- package/dist/agents/managed-jsonl.cjs.map +1 -0
- package/dist/agents/managed-jsonl.d.cts +39 -0
- package/dist/agents/managed-jsonl.d.mts +39 -0
- package/dist/agents/managed-jsonl.d.ts +39 -0
- package/dist/agents/managed-jsonl.js +6 -0
- package/dist/agents/managed-jsonl.js.map +1 -0
- package/dist/agents/managed-process.cjs +31 -0
- package/dist/agents/managed-process.cjs.map +1 -0
- package/dist/agents/managed-process.d.cts +3 -0
- package/dist/agents/managed-process.d.mts +3 -0
- package/dist/agents/managed-process.d.ts +3 -0
- package/dist/agents/managed-process.js +6 -0
- package/dist/agents/managed-process.js.map +1 -0
- package/dist/agents/omp.cjs +18 -1
- package/dist/agents/omp.cjs.map +1 -1
- package/dist/agents/sdk-streams.cjs +11 -4
- package/dist/agents/sdk-streams.cjs.map +1 -1
- package/dist/agents/types.cjs.map +1 -1
- package/dist/agents/types.d.cts +8 -0
- package/dist/agents/types.d.mts +8 -0
- package/dist/agents/types.d.ts +8 -0
- package/dist/analysis/bindings.cjs +74 -19
- package/dist/analysis/bindings.cjs.map +1 -1
- package/dist/analysis/bindings.d.cts +534 -156
- package/dist/analysis/bindings.d.mts +534 -156
- package/dist/analysis/bindings.d.ts +534 -156
- package/dist/analysis/domain-view.cjs.map +1 -1
- package/dist/analysis/domain-view.d.cts +137 -8
- package/dist/analysis/domain-view.d.mts +137 -8
- package/dist/analysis/domain-view.d.ts +137 -8
- package/dist/analysis/index.cjs.map +1 -1
- package/dist/analysis/index.d.cts +1 -1
- package/dist/analysis/index.d.mts +1 -1
- package/dist/analysis/index.d.ts +1 -1
- package/dist/assertions/api.cjs.map +1 -1
- package/dist/assertions/api.d.cts +62 -0
- package/dist/assertions/api.d.mts +62 -0
- package/dist/assertions/api.d.ts +62 -0
- package/dist/assertions/judge.cjs +56 -5
- package/dist/assertions/judge.cjs.map +1 -1
- package/dist/assertions/match.cjs +66 -42
- package/dist/assertions/match.cjs.map +1 -1
- package/dist/assertions/match.d.cts +13 -0
- package/dist/assertions/match.d.mts +13 -0
- package/dist/assertions/match.d.ts +13 -0
- package/dist/assertions/record/attachment.cjs +104 -33
- package/dist/assertions/record/attachment.cjs.map +1 -1
- package/dist/assertions/record/attachment.d.cts +294 -57
- package/dist/assertions/record/attachment.d.mts +294 -57
- package/dist/assertions/record/attachment.d.ts +294 -57
- package/dist/assertions/record/codec.cjs +91 -17
- package/dist/assertions/record/codec.cjs.map +1 -1
- package/dist/assertions/record/codec.d.cts +280 -52
- package/dist/assertions/record/codec.d.mts +280 -52
- package/dist/assertions/record/codec.d.ts +280 -52
- package/dist/assertions/record/index.js +2 -0
- package/dist/assertions/record/model.cjs +16 -0
- package/dist/assertions/record/model.cjs.map +1 -1
- package/dist/assertions/record/model.d.cts +120 -13
- package/dist/assertions/record/model.d.mts +120 -13
- package/dist/assertions/record/model.d.ts +120 -13
- package/dist/assertions/record/model.js +2 -0
- package/dist/assertions/record/producer.cjs +70 -50
- package/dist/assertions/record/producer.cjs.map +1 -1
- package/dist/assertions/record/producer.d.cts +8 -7
- package/dist/assertions/record/producer.d.mts +8 -7
- package/dist/assertions/record/producer.d.ts +8 -7
- package/dist/assertions/runtime.cjs +49 -7
- package/dist/assertions/runtime.cjs.map +1 -1
- package/dist/cli/application.cjs +40 -0
- package/dist/cli/application.cjs.map +1 -0
- package/dist/cli/application.d.cts +129 -0
- package/dist/cli/application.d.mts +129 -0
- package/dist/cli/application.d.ts +129 -0
- package/dist/cli/application.js +24 -0
- package/dist/cli/application.js.map +1 -0
- package/dist/cli/bootstrap.cjs +10 -4
- package/dist/cli/bootstrap.cjs.map +1 -1
- package/dist/cli/node-application.cjs +123 -0
- package/dist/cli/node-application.cjs.map +1 -0
- package/dist/cli/node-application.d.cts +14 -0
- package/dist/cli/node-application.d.mts +14 -0
- package/dist/cli/node-application.d.ts +14 -0
- package/dist/cli/node-application.js +26 -0
- package/dist/cli/node-application.js.map +1 -0
- package/dist/cli/program.cjs +2807 -0
- package/dist/cli/program.cjs.map +1 -0
- package/dist/cli/program.d.cts +352 -0
- package/dist/cli/program.d.mts +352 -0
- package/dist/cli/program.d.ts +352 -0
- package/dist/cli/program.js +36 -0
- package/dist/cli/program.js.map +1 -0
- package/dist/cli/project-configuration.cjs +134 -0
- package/dist/cli/project-configuration.cjs.map +1 -0
- package/dist/cli/project-configuration.d.cts +64 -0
- package/dist/cli/project-configuration.d.mts +64 -0
- package/dist/cli/project-configuration.d.ts +64 -0
- package/dist/cli/project-configuration.js +22 -0
- package/dist/cli/project-configuration.js.map +1 -0
- package/dist/cli/record.cjs +20 -4
- package/dist/cli/record.cjs.map +1 -1
- package/dist/cli/record.d.cts +3 -3
- package/dist/cli/record.d.mts +3 -3
- package/dist/cli/record.d.ts +3 -3
- package/dist/cli.cjs +19 -3130
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.d.cts +2 -148
- package/dist/cli.d.mts +2 -148
- package/dist/cli.d.ts +2 -148
- package/dist/cli.js +22 -30
- package/dist/context/assert-first.cjs +21 -15
- package/dist/context/assert-first.cjs.map +1 -1
- package/dist/context/assert-first.d.cts +1 -0
- package/dist/context/assert-first.d.mts +1 -0
- package/dist/context/assert-first.d.ts +1 -0
- package/dist/context/attempt-resources.cjs +13 -0
- package/dist/context/attempt-resources.cjs.map +1 -0
- package/dist/context/attempt-resources.d.cts +3 -0
- package/dist/context/attempt-resources.d.mts +3 -0
- package/dist/context/attempt-resources.d.ts +3 -0
- package/dist/context/attempt-resources.js +8 -0
- package/dist/context/attempt-resources.js.map +1 -0
- package/dist/context/session.cjs +4 -3
- package/dist/context/session.cjs.map +1 -1
- package/dist/context/session.d.cts +1 -0
- package/dist/context/session.d.mts +1 -0
- package/dist/context/session.d.ts +1 -0
- package/dist/eval/record/verdict.cjs +3 -2
- package/dist/eval/record/verdict.cjs.map +1 -1
- package/dist/experiment/host/index.cjs +1 -6
- package/dist/experiment/host/index.cjs.map +1 -1
- package/dist/experiment/host/index.d.cts +1 -0
- package/dist/experiment/host/index.d.mts +1 -0
- package/dist/experiment/host/index.d.ts +1 -0
- package/dist/load-config.cjs +13 -4
- package/dist/load-config.cjs.map +1 -1
- package/dist/load-config.d.cts +4 -3
- package/dist/load-config.d.mts +4 -3
- package/dist/load-config.d.ts +4 -3
- package/dist/load-config.js +4 -2
- package/dist/o11y/parsers/codex.cjs +29 -7
- package/dist/o11y/parsers/codex.cjs.map +1 -1
- package/dist/record/codec/core.d.cts +0 -2
- package/dist/record/codec/core.d.mts +0 -2
- package/dist/record/codec/core.d.ts +0 -2
- package/dist/record/codec/identifiers.cjs +2 -3
- package/dist/record/codec/identifiers.cjs.map +1 -1
- package/dist/record/codec/identifiers.d.cts +1 -2
- package/dist/record/codec/identifiers.d.mts +1 -2
- package/dist/record/codec/identifiers.d.ts +1 -2
- package/dist/record/codec/identifiers.js +10 -12
- package/dist/record/codec/index.js +42 -44
- package/dist/record/definition/attachment.cjs +1 -0
- package/dist/record/definition/attachment.cjs.map +1 -1
- package/dist/record/definition/attachment.d.cts +14 -0
- package/dist/record/definition/attachment.d.mts +14 -0
- package/dist/record/definition/attachment.d.ts +14 -0
- package/dist/record/family/assertions-v1.cjs +104 -0
- package/dist/record/family/assertions-v1.cjs.map +1 -0
- package/dist/record/family/assertions-v1.d.cts +2 -0
- package/dist/record/family/assertions-v1.d.mts +2 -0
- package/dist/record/family/assertions-v1.d.ts +2 -0
- package/dist/record/family/assertions-v1.js +6 -0
- package/dist/record/family/assertions-v1.js.map +1 -0
- package/dist/record/family/assertions.cjs +16 -5
- package/dist/record/family/assertions.cjs.map +1 -1
- package/dist/record/family/assertions.d.cts +510 -56
- package/dist/record/family/assertions.d.mts +510 -56
- package/dist/record/family/assertions.d.ts +510 -56
- package/dist/record/family/assertions.js +14 -10
- package/dist/record/family/catalog.cjs +17 -1
- package/dist/record/family/catalog.cjs.map +1 -1
- package/dist/record/family/catalog.d.cts +1292 -104
- package/dist/record/family/catalog.d.mts +1292 -104
- package/dist/record/family/catalog.d.ts +1292 -104
- package/dist/record/family/catalog.js +22 -20
- package/dist/record/family/index.js +144 -138
- package/dist/record/family/observability-v1.cjs +5 -0
- package/dist/record/family/observability-v1.cjs.map +1 -1
- package/dist/record/family/observability.cjs +1 -1
- package/dist/record/family/observability.cjs.map +1 -1
- package/dist/record/host/runtime.cjs +323 -173
- package/dist/record/host/runtime.cjs.map +1 -1
- package/dist/record/host/types.cjs.map +1 -1
- package/dist/record/host/types.d.cts +9 -7
- package/dist/record/host/types.d.mts +9 -7
- package/dist/record/host/types.d.ts +9 -7
- package/dist/record/model/core.cjs.map +1 -1
- package/dist/record/model/core.d.cts +1 -2
- package/dist/record/model/core.d.mts +1 -2
- package/dist/record/model/core.d.ts +1 -2
- package/dist/record/model/definition.cjs +1 -2
- package/dist/record/model/definition.cjs.map +1 -1
- package/dist/record/model/definition.d.cts +1 -7
- package/dist/record/model/definition.d.mts +1 -7
- package/dist/record/model/definition.d.ts +1 -7
- package/dist/record/model/identifiers.cjs +2 -3
- package/dist/record/model/identifiers.cjs.map +1 -1
- package/dist/record/model/identifiers.d.cts +1 -3
- package/dist/record/model/identifiers.d.mts +1 -3
- package/dist/record/model/identifiers.d.ts +1 -3
- package/dist/record/model/identifiers.js +36 -38
- package/dist/record/model/index.js +60 -62
- package/dist/record/platform/node.cjs +17 -7
- package/dist/record/platform/node.cjs.map +1 -1
- package/dist/record/platform/services.cjs.map +1 -1
- package/dist/record/platform/services.d.cts +8 -3
- package/dist/record/platform/services.d.mts +8 -3
- package/dist/record/platform/services.d.ts +8 -3
- package/dist/record/reader/format.cjs +16 -65
- package/dist/record/reader/format.cjs.map +1 -1
- package/dist/record/reader/format.d.cts +5 -9
- package/dist/record/reader/format.d.mts +5 -9
- package/dist/record/reader/format.d.ts +5 -9
- package/dist/record/reader/index.js +10 -8
- package/dist/record/reader/runtime.cjs +63 -32
- package/dist/record/reader/runtime.cjs.map +1 -1
- package/dist/record/reader/runtime.d.cts +40 -4
- package/dist/record/reader/runtime.d.mts +40 -4
- package/dist/record/reader/runtime.d.ts +40 -4
- package/dist/record/reader/runtime.js +6 -4
- package/dist/report/assets/enhance.js +5 -5
- package/dist/report/assets/styles.css +190 -24
- package/dist/report/built-in/result-components.cjs +8 -5
- package/dist/report/built-in/result-components.cjs.map +1 -1
- package/dist/report/built-in/standard.cjs +3 -0
- package/dist/report/built-in/standard.cjs.map +1 -1
- package/dist/report/built-in/standard.d.cts +2 -0
- package/dist/report/built-in/standard.d.mts +2 -0
- package/dist/report/built-in/standard.d.ts +2 -0
- package/dist/report/client-dist/app.js +53 -0
- package/dist/report/components/attempt-detail/compute.cjs +108 -231
- package/dist/report/components/attempt-detail/compute.cjs.map +1 -1
- package/dist/report/components/attempt-detail/compute.d.cts +11 -45
- package/dist/report/components/attempt-detail/compute.d.mts +11 -45
- package/dist/report/components/attempt-detail/compute.d.ts +11 -45
- package/dist/report/components/attempt-detail/compute.js +2 -4
- package/dist/report/components/attempt-detail/content.cjs +4 -4
- package/dist/report/components/attempt-detail/content.cjs.map +1 -1
- package/dist/report/components/attempt-detail/validate.cjs +47 -4
- package/dist/report/components/attempt-detail/validate.cjs.map +1 -1
- package/dist/report/components/entity-lists/compute.cjs +9 -15
- package/dist/report/components/entity-lists/compute.cjs.map +1 -1
- package/dist/report/components/entity-lists/content.cjs +53 -40
- package/dist/report/components/entity-lists/content.cjs.map +1 -1
- package/dist/report/components/entity-lists/index.cjs +1 -3
- package/dist/report/components/entity-lists/index.cjs.map +1 -1
- package/dist/report/components/experiment-detail/compute.cjs +4 -6
- package/dist/report/components/experiment-detail/compute.cjs.map +1 -1
- package/dist/report/components/summaries/index.cjs +5 -1
- package/dist/report/components/summaries/index.cjs.map +1 -1
- package/dist/report/definition/cell.cjs +14 -7
- package/dist/report/definition/cell.cjs.map +1 -1
- package/dist/report/definition/cell.d.cts +4 -0
- package/dist/report/definition/cell.d.mts +4 -0
- package/dist/report/definition/cell.d.ts +4 -0
- package/dist/report/definition/primitives/assertion-evidence.cjs +96 -0
- package/dist/report/definition/primitives/assertion-evidence.cjs.map +1 -0
- package/dist/report/definition/primitives/assertion-evidence.d.cts +11 -0
- package/dist/report/definition/primitives/assertion-evidence.d.mts +11 -0
- package/dist/report/definition/primitives/assertion-evidence.d.ts +11 -0
- package/dist/report/definition/primitives/assertion-evidence.js +6 -0
- package/dist/report/definition/primitives/assertion-evidence.js.map +1 -0
- package/dist/report/definition/primitives/conversation.cjs +7 -0
- package/dist/report/definition/primitives/conversation.cjs.map +1 -1
- package/dist/report/definition/primitives/conversation.d.cts +2 -0
- package/dist/report/definition/primitives/conversation.d.mts +2 -0
- package/dist/report/definition/primitives/conversation.d.ts +2 -0
- package/dist/report/definition/primitives/turn-trace.cjs +53 -3
- package/dist/report/definition/primitives/turn-trace.cjs.map +1 -1
- package/dist/report/definition/primitives.cjs +14 -1
- package/dist/report/definition/primitives.cjs.map +1 -1
- package/dist/report/definition/report.cjs +16 -8
- package/dist/report/definition/report.cjs.map +1 -1
- package/dist/report/definition/report.d.cts +6 -0
- package/dist/report/definition/report.d.mts +6 -0
- package/dist/report/definition/report.d.ts +6 -0
- package/dist/report/definition/table-text.cjs +12 -3
- package/dist/report/definition/table-text.cjs.map +1 -1
- package/dist/report/definition/table-text.d.cts +6 -1
- package/dist/report/definition/table-text.d.mts +6 -1
- package/dist/report/definition/table-text.d.ts +6 -1
- package/dist/report/execution/model.cjs +6 -14
- package/dist/report/execution/model.cjs.map +1 -1
- package/dist/report/execution/model.d.cts +5 -10
- package/dist/report/execution/model.d.mts +5 -10
- package/dist/report/execution/model.d.ts +5 -10
- package/dist/report/execution/model.js +6 -6
- package/dist/report/execution/paths.cjs +0 -11
- package/dist/report/execution/paths.cjs.map +1 -1
- package/dist/report/execution/paths.d.cts +0 -1
- package/dist/report/execution/paths.d.mts +0 -1
- package/dist/report/execution/paths.d.ts +0 -1
- package/dist/report/execution/paths.js +6 -8
- package/dist/report/host/execute.cjs +13 -22
- package/dist/report/host/execute.cjs.map +1 -1
- package/dist/report/host/execute.d.cts +1 -4
- package/dist/report/host/execute.d.mts +1 -4
- package/dist/report/host/execute.d.ts +1 -4
- package/dist/report/host/from-record.cjs +3 -0
- package/dist/report/host/from-record.cjs.map +1 -1
- package/dist/report/host/from-record.d.cts +4 -1
- package/dist/report/host/from-record.d.mts +4 -1
- package/dist/report/host/from-record.d.ts +4 -1
- package/dist/report/host/site-assets.cjs +1 -2
- package/dist/report/host/site-assets.cjs.map +1 -1
- package/dist/report/host/site-assets.d.cts +0 -1
- package/dist/report/host/site-assets.d.mts +0 -1
- package/dist/report/host/site-assets.d.ts +0 -1
- package/dist/report/host/site-assets.js +2 -4
- package/dist/report/host/static.cjs +71 -346
- package/dist/report/host/static.cjs.map +1 -1
- package/dist/report/host/static.d.cts +1 -3
- package/dist/report/host/static.d.mts +1 -3
- package/dist/report/host/static.d.ts +1 -3
- package/dist/report/host/static.js +2 -2
- package/dist/report/host/view-session.cjs.map +1 -1
- package/dist/report/host/view-session.d.cts +1 -1
- package/dist/report/host/view-session.d.mts +1 -1
- package/dist/report/host/view-session.d.ts +1 -1
- package/dist/report/model/locale.cjs +1 -1
- package/dist/report/model/locale.cjs.map +1 -1
- package/dist/report/model/locale.d.cts +1 -1
- package/dist/report/model/locale.d.mts +1 -1
- package/dist/report/model/locale.d.ts +1 -1
- package/dist/report/model/pricing.cjs +2 -2
- package/dist/report/model/pricing.cjs.map +1 -1
- package/dist/report/react/enhance.js +5 -5
- package/dist/report/react/styles.css +190 -24
- package/dist/runner/adoption.cjs +4 -7
- package/dist/runner/adoption.cjs.map +1 -1
- package/dist/runner/attempt-resources.cjs +60 -0
- package/dist/runner/attempt-resources.cjs.map +1 -0
- package/dist/runner/attempt-resources.d.cts +13 -0
- package/dist/runner/attempt-resources.d.mts +13 -0
- package/dist/runner/attempt-resources.d.ts +13 -0
- package/dist/runner/attempt-resources.js +6 -0
- package/dist/runner/attempt-resources.js.map +1 -0
- package/dist/runner/attempt.cjs +37 -3
- package/dist/runner/attempt.cjs.map +1 -1
- package/dist/runner/feedback/failure.cjs +77 -2
- package/dist/runner/feedback/failure.cjs.map +1 -1
- package/dist/runner/feedback/failure.d.cts +2 -1
- package/dist/runner/feedback/failure.d.mts +2 -1
- package/dist/runner/feedback/failure.d.ts +2 -1
- package/dist/runner/project-current.cjs +2 -13
- package/dist/runner/project-current.cjs.map +1 -1
- package/dist/runner/project-current.d.cts +4 -2
- package/dist/runner/project-current.d.mts +4 -2
- package/dist/runner/project-current.d.ts +4 -2
- package/dist/runner/reporters/braintrust.cjs +7 -7
- package/dist/runner/reporters/braintrust.cjs.map +1 -1
- package/dist/runner/reuse-readback.cjs +3 -4
- package/dist/runner/reuse-readback.cjs.map +1 -1
- package/dist/runner/run.cjs +5 -2
- package/dist/runner/run.cjs.map +1 -1
- package/dist/sandbox/backend.cjs +32 -2
- package/dist/sandbox/backend.cjs.map +1 -1
- package/dist/sandbox/backend.d.cts +12 -1
- package/dist/sandbox/backend.d.mts +12 -1
- package/dist/sandbox/backend.d.ts +12 -1
- package/dist/sandbox/backend.js +28 -22
- package/dist/sandbox/docker.cjs +140 -0
- package/dist/sandbox/docker.cjs.map +1 -1
- package/dist/sandbox/docker.d.cts +3 -1
- package/dist/sandbox/docker.d.mts +3 -1
- package/dist/sandbox/docker.d.ts +3 -1
- package/dist/sandbox/e2b.cjs +42 -0
- package/dist/sandbox/e2b.cjs.map +1 -1
- package/dist/sandbox/e2b.d.cts +2 -0
- package/dist/sandbox/e2b.d.mts +2 -0
- package/dist/sandbox/e2b.d.ts +2 -0
- package/dist/sandbox/local.cjs +64 -0
- package/dist/sandbox/local.cjs.map +1 -1
- package/dist/sandbox/local.d.cts +3 -1
- package/dist/sandbox/local.d.mts +3 -1
- package/dist/sandbox/local.d.ts +3 -1
- package/dist/sandbox/managed-process.cjs +49 -0
- package/dist/sandbox/managed-process.cjs.map +1 -0
- package/dist/sandbox/managed-process.d.cts +11 -0
- package/dist/sandbox/managed-process.d.mts +11 -0
- package/dist/sandbox/managed-process.d.ts +11 -0
- package/dist/sandbox/managed-process.js +6 -0
- package/dist/sandbox/managed-process.js.map +1 -0
- package/dist/sandbox/types.cjs.map +1 -1
- package/dist/sandbox/types.d.cts +24 -0
- package/dist/sandbox/types.d.mts +24 -0
- package/dist/sandbox/types.d.ts +24 -0
- package/dist/sandbox/vercel.cjs +1 -0
- package/dist/sandbox/vercel.cjs.map +1 -1
- package/dist/sandbox/vercel.d.cts +1 -0
- package/dist/sandbox/vercel.d.mts +1 -0
- package/dist/sandbox/vercel.d.ts +1 -0
- package/dist/view/server.cjs +2 -37
- package/dist/view/server.cjs.map +1 -1
- package/dist/view/server.d.cts +0 -3
- package/dist/view/server.d.mts +0 -3
- package/dist/view/server.d.ts +0 -3
- package/docs-site/zh/reference/builtin-agents.mdx +7 -7
- package/docs-site/zh/reference/official-adapters.mdx +4 -4
- package/docs-site/zh/reference/report-components.mdx +2 -2
- package/docs-site/zh/tutorials/configuration.mdx +2 -2
- package/docs-site/zh/tutorials/deploy-report-site.mdx +24 -2
- package/docs-site/zh/tutorials/publish-report.mdx +4 -4
- package/docs-site/zh/tutorials/sandbox-agent.mdx +5 -5
- package/docs-site/zh/tutorials/theming.mdx +2 -2
- package/package.json +4 -6
- package/dist/record/migration/index.cjs +0 -5
- package/dist/record/migration/index.cjs.map +0 -1
- package/dist/record/migration/index.d.cts +0 -11
- package/dist/record/migration/index.d.mts +0 -11
- package/dist/record/migration/index.d.ts +0 -11
- package/dist/record/migration/index.js +0 -6
- package/dist/record/migration/index.js.map +0 -1
- package/dist/report/host/site-runtime.cjs +0 -92
- package/dist/report/host/site-runtime.cjs.map +0 -1
- package/dist/report/host/site-runtime.d.cts +0 -9
- package/dist/report/host/site-runtime.d.mts +0 -9
- package/dist/report/host/site-runtime.d.ts +0 -9
- package/dist/report/host/site-runtime.js +0 -10
- package/dist/report/host/site-runtime.js.map +0 -1
- package/dist/view/client-dist/app.css +0 -2
- package/dist/view/client-dist/app.js +0 -49
- package/dist/view/data.cjs +0 -3
- package/dist/view/data.cjs.map +0 -1
- package/dist/view/data.d.cts +0 -9
- package/dist/view/data.d.mts +0 -9
- package/dist/view/data.d.ts +0 -9
- package/dist/view/data.js +0 -4
- package/dist/view/data.js.map +0 -1
- package/dist/view/index.cjs +0 -24
- package/dist/view/index.cjs.map +0 -1
- package/dist/view/index.d.cts +0 -9
- package/dist/view/index.d.mts +0 -9
- package/dist/view/index.d.ts +0 -9
- package/dist/view/index.js +0 -28
- package/dist/view/index.js.map +0 -1
- package/dist/view/report-view-cache.cjs +0 -200
- package/dist/view/report-view-cache.cjs.map +0 -1
- package/dist/view/report-view-cache.d.cts +0 -67
- package/dist/view/report-view-cache.d.mts +0 -67
- package/dist/view/report-view-cache.d.ts +0 -67
- package/dist/view/report-view-cache.js +0 -8
- package/dist/view/report-view-cache.js.map +0 -1
- package/dist/view/shared/types.cjs +0 -3
- package/dist/view/shared/types.cjs.map +0 -1
- package/dist/view/shared/types.d.cts +0 -51
- package/dist/view/shared/types.d.mts +0 -51
- package/dist/view/shared/types.d.ts +0 -51
- package/dist/view/shared/types.js +0 -4
- package/dist/view/shared/types.js.map +0 -1
- package/dist/view/site.cjs +0 -32
- package/dist/view/site.cjs.map +0 -1
- package/dist/view/site.d.cts +0 -24
- package/dist/view/site.d.mts +0 -24
- package/dist/view/site.d.ts +0 -24
- package/dist/view/site.js +0 -8
- package/dist/view/site.js.map +0 -1
- package/dist/view/styles.css +0 -170
- package/dist/view/template.html +0 -17
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domain-view.js","sourceRoot":"","sources":["domain-view.ts"],"names":[],"mappings":"","sourcesContent":["import type { AttemptOutcome } from \"../record/model/core.ts\";\nimport type { ExecutionIdentityDigest, ExperimentId, RunId, UtcMillis, } from \"../record/model/identifiers.ts\";\nimport type { VerdictState } from \"../eval/record/verdict.ts\";\nimport type { AnalysisRunExecution, JsonValue } from \"./contracts.ts\";\n/** Fixed, NiceEval-published closed domain projections. */\nexport type BuiltinDomainViewKind = \"attempt-evidence\" | \"attempt-observability\" | \"file-changes\" | \"source-navigation\" | \"sources\" | \"sandbox-history\";\n/** A blob is closed to display-safe text before it leaves Sample. */\nexport type ClosedBlobContent = {\n readonly state: \"available\";\n readonly text: string;\n} | {\n readonly state: \"unavailable\" | \"binary\";\n};\n/** Core is closed when Sample successfully resolves a ReadableAttempt. */\nexport interface ClosedAttemptCore {\n readonly outcome: AttemptOutcome;\n /**\n * Exact historical execution facts from the Attempt's origin Run. They are\n * deliberately distinct from a LogicalSlot's selected target Run: carried\n * and accepted members may point at another origin.\n */\n readonly origin: {\n readonly runId: RunId;\n readonly experimentId: ExperimentId;\n readonly startedAt: UtcMillis;\n readonly executionIdentityDigest: ExecutionIdentityDigest;\n readonly execution: AnalysisRunExecution;\n };\n}\nexport interface ClosedTraceCollection {\n readonly state: \"complete\" | \"partial\";\n readonly limitations: readonly JsonValue[];\n}\nexport interface ClosedConversationTurn {\n readonly turnId: string;\n readonly sequence: number;\n readonly outcome: \"completed\" | \"failed\" | \"cancelled\" | \"interrupted\";\n}\ninterface ClosedConversationItemBase {\n readonly itemId: string;\n readonly turnId: string;\n readonly sequence: number;\n}\nexport type ClosedConversationItem = (ClosedConversationItemBase & {\n readonly kind: \"message\";\n readonly role: \"user\" | \"assistant\";\n readonly text: string;\n}) | (ClosedConversationItemBase & {\n readonly kind: \"tool-call\";\n readonly callId: string;\n readonly tool: string;\n readonly inputSummary: string;\n}) | (ClosedConversationItemBase & {\n readonly kind: \"tool-result\";\n readonly callId: string;\n readonly outcome: \"completed\" | \"rejected\" | \"failed\" | \"cancelled\";\n readonly outputSummary: string;\n}) | (ClosedConversationItemBase & {\n readonly kind: \"thinking-summary\" | \"compaction\" | \"context-injection\";\n readonly summary: string;\n}) | (ClosedConversationItemBase & {\n readonly kind: \"subagent\";\n readonly state: \"started\" | \"completed\" | \"failed\";\n readonly label: string;\n readonly summary: string;\n}) | (ClosedConversationItemBase & {\n readonly kind: \"input-request\";\n readonly state: \"requested\" | \"answered\" | \"cancelled\";\n readonly promptSummary: string;\n readonly responseSummary: string | null;\n}) | (ClosedConversationItemBase & {\n readonly kind: \"skill-load\" | \"conversation-error\";\n readonly code: string;\n readonly summary: string;\n});\nexport interface ClosedConversationDetail {\n readonly collection: ClosedTraceCollection;\n readonly turns: readonly ClosedConversationTurn[];\n readonly items: readonly ClosedConversationItem[];\n}\nexport interface ClosedTimingInterval {\n readonly intervalId: string;\n readonly phase: string;\n readonly label: string;\n readonly startOffsetMs: number;\n readonly durationMs: number;\n readonly parentIntervalId: string | null;\n readonly outcome: string;\n}\nexport interface ClosedTimingDetail {\n readonly collection: ClosedTraceCollection;\n readonly intervals: readonly ClosedTimingInterval[];\n}\nexport type ClosedCommandInvocation = {\n readonly kind: \"argv\";\n readonly executable: string;\n readonly arguments: readonly string[];\n} | {\n readonly kind: \"shell\";\n readonly command: string;\n};\nexport type ClosedCommandWorkingDirectory = {\n readonly kind: \"sandbox-default\";\n} | {\n readonly kind: \"project-relative\";\n readonly path: string;\n} | {\n readonly kind: \"redacted\";\n};\nexport type ClosedCommandOutcome = {\n readonly kind: \"exited\";\n readonly exitCode: number;\n} | {\n readonly kind: \"terminated\";\n readonly reason: string;\n} | {\n readonly kind: \"not-started\";\n readonly reason: string;\n};\nexport type ClosedCommandStream = {\n readonly kind: \"inline\";\n readonly text: string;\n readonly retainedBytes: number;\n readonly totalSafeUtf8Bytes: number;\n} | {\n readonly kind: \"blob\";\n readonly retainedBytes: number;\n readonly totalSafeUtf8Bytes: number;\n readonly content: ClosedBlobContent;\n};\nexport interface ClosedCommandEntry {\n readonly commandId: string;\n readonly manifest: {\n readonly phase: string;\n readonly invocation: ClosedCommandInvocation;\n readonly workingDirectory: ClosedCommandWorkingDirectory;\n };\n readonly result: {\n readonly outcome: ClosedCommandOutcome;\n readonly stdout: ClosedCommandStream;\n readonly stderr: ClosedCommandStream;\n };\n}\nexport interface ClosedCommandsDetail {\n readonly collection: ClosedTraceCollection;\n readonly entries: readonly ClosedCommandEntry[];\n}\nexport type ClosedUsageObservation = {\n readonly provider: string;\n readonly kind: \"token-bucket\";\n readonly bucket: string;\n readonly tokens: number;\n} | {\n readonly provider: string;\n readonly kind: \"request\";\n readonly requestKind: string;\n} | {\n readonly provider: string;\n readonly kind: \"provider-cost\";\n readonly amount: string;\n readonly currency: string;\n};\nexport interface ClosedUsageDetail {\n readonly collection: ClosedTraceCollection;\n readonly observations: readonly ClosedUsageObservation[];\n}\nexport type ClosedDiagnosticRedaction = {\n readonly state: \"none\";\n} | {\n readonly state: \"applied\";\n readonly replacements: number;\n};\nexport interface ClosedSourceFrame {\n readonly sourceItemId: string;\n readonly sha256: string;\n readonly start: {\n readonly line: number;\n readonly column: number;\n };\n readonly end: {\n readonly line: number;\n readonly column: number;\n };\n}\nexport interface ClosedDiagnosticsDetail {\n readonly collection: ClosedTraceCollection;\n readonly diagnostics: readonly {\n readonly diagnosticId: string;\n readonly kind: \"advisory\" | \"execution-error\";\n readonly code: string;\n readonly phase: string;\n readonly summary: string;\n readonly causes: readonly {\n readonly code: string;\n readonly summary: string;\n }[];\n readonly redaction: ClosedDiagnosticRedaction;\n readonly sourceFrame: ClosedSourceFrame | null;\n }[];\n}\n/** Closed, display-safe projection of one attempt-owned Observability value. */\nexport interface AttemptObservabilityDomainDetail {\n readonly conversation: ClosedConversationDetail;\n readonly commands: ClosedCommandsDetail;\n readonly usage: ClosedUsageDetail;\n readonly timing: ClosedTimingDetail;\n readonly diagnostics: ClosedDiagnosticsDetail;\n}\nexport interface AttemptEvidenceDomainDetail {\n /** Immutable terminal execution fact; it is not a Verdict. */\n readonly outcome: AttemptOutcome;\n /** Derived once by Eval's authoritative Core + Assertions fold. */\n readonly verdict: VerdictState;\n readonly entries: readonly {\n readonly entryId: string;\n readonly display: JsonValue;\n readonly criterion: JsonValue;\n readonly result: JsonValue;\n readonly coverage: JsonValue;\n readonly limitations: JsonValue;\n readonly subject: JsonValue;\n readonly evidence: readonly JsonValue[];\n }[];\n readonly sourceSites: readonly JsonValue[];\n}\n/** A FileChanges endpoint after its owner-local blob reference has been closed. */\nexport type ClosedFileChangeEndpoint = {\n readonly state: \"absent\";\n} | {\n readonly state: \"present\";\n readonly revision: ClosedFileRevision;\n};\n/** The `available` alternative substitutes display-safe content for a RecordBlobRef. */\nexport type ClosedFileRevision = {\n readonly kind: \"text\";\n readonly sha256: string;\n readonly byteLength: number;\n readonly content: {\n readonly state: \"available\";\n readonly content: ClosedBlobContent;\n } | {\n readonly state: \"omitted\";\n readonly reason: \"collection-cap\";\n };\n} | {\n readonly kind: \"elided\";\n readonly reason: \"binary\" | \"oversized-text\";\n readonly byteLength: number;\n} | {\n readonly kind: \"unavailable\";\n readonly reason: \"unsupported-input\" | \"capture-failed\" | \"capture-interrupted\";\n};\nexport type ClosedFileChangesCollectionLimitation = {\n readonly code: \"capture-failed\" | \"capture-interrupted\";\n readonly stage: \"checkpoint\" | \"export\" | \"finalizer-export\" | \"normalize\";\n readonly atWindowId: string | null;\n} | {\n readonly code: \"collection-cap-reached\";\n readonly target: \"window\" | \"change\" | \"content-blob\" | \"content-byte\" | \"json-byte\";\n readonly omittedAtLeast: number;\n readonly atWindowId: string | null;\n} | {\n readonly code: \"unsupported-input\";\n readonly target: \"endpoint-metadata\";\n readonly omittedAtLeast: number;\n};\nexport interface ClosedFileChangesCollection {\n readonly state: \"complete\" | \"partial\";\n readonly limitations: readonly ClosedFileChangesCollectionLimitation[];\n}\nexport interface ClosedFileChangesAttribution {\n readonly kind: \"agent-send-window-endpoints\";\n readonly policy: {\n readonly defaultPolicy: \"niceeval.sandbox-ledger/default-excludes/v1\";\n readonly include: readonly string[];\n readonly ignore: readonly string[];\n };\n}\nexport interface ClosedFileChange {\n readonly changeId: string;\n readonly path: string;\n readonly kind: \"created\" | \"modified\" | \"deleted\";\n readonly before: ClosedFileChangeEndpoint;\n readonly after: ClosedFileChangeEndpoint;\n}\n/** One recorded send-window, including an intentional zero-change window. */\nexport interface ClosedFileChangeWindow {\n readonly windowId: string;\n readonly sequence: number;\n readonly changes: readonly ClosedFileChange[];\n}\nexport type FileChangesNet = {\n readonly state: \"available\";\n readonly kind: \"none\" | \"created\" | \"modified\" | \"deleted\";\n readonly before: ClosedFileChangeEndpoint;\n readonly after: ClosedFileChangeEndpoint;\n} | {\n readonly state: \"indeterminate\";\n readonly reason: \"collection-partial\" | \"window-discontinuity\" | \"endpoint-unavailable\" | \"endpoint-equality-unprovable\";\n};\n/**\n * The complete, display-safe FileChanges trajectory for one Attempt. It is\n * deliberately a domain structure rather than a table frame: windows retain\n * their temporal order while `paths` gives a separately derived net summary.\n */\nexport interface FileChangesDomainDetail {\n readonly attribution: ClosedFileChangesAttribution;\n readonly collection: ClosedFileChangesCollection;\n readonly trajectory: readonly ClosedFileChangeWindow[];\n readonly paths: readonly {\n readonly path: string;\n readonly changes: readonly {\n readonly windowId: string;\n readonly changeId: string;\n }[];\n readonly net: FileChangesNet;\n }[];\n}\nexport interface SourcesDomainDetail {\n readonly items: readonly {\n readonly sourceItemId: string;\n readonly path: string;\n readonly sha256: string;\n readonly content: ClosedBlobContent;\n }[];\n}\n/** Closed physical-send navigation rows; mapped frames retain exact digest joins. */\nexport interface SourceNavigationDomainDetail {\n readonly collection: {\n readonly state: \"complete\" | \"partial\";\n readonly limitations: readonly {\n readonly code: \"collection-cap-reached\" | \"capture-unrecoverable\";\n /** Distinguishes retained-row omission from a missing timing identity. */\n readonly target: \"navigation-row\" | \"timing-link\";\n readonly omittedAtLeast: number;\n }[];\n };\n readonly rows: readonly {\n readonly turnId: string;\n readonly sourceOrder: number | null;\n readonly source: {\n readonly state: \"mapped\";\n readonly sourceItemId: string;\n readonly sha256: string;\n readonly start: {\n readonly line: number;\n readonly column: number;\n };\n readonly end: {\n readonly line: number;\n readonly column: number;\n };\n } | {\n readonly state: \"unmapped\";\n readonly reason: \"location-not-captured\" | \"source-snapshot-not-recorded\" | \"position-unrepresentable\";\n };\n readonly timing: {\n readonly state: \"linked\";\n readonly intervalId: string;\n } | {\n readonly state: \"unavailable\";\n readonly reason: \"timing-not-recorded\";\n };\n }[];\n}\nexport type BuiltinDomainDetail<Kind extends BuiltinDomainViewKind> = Kind extends \"attempt-evidence\" ? AttemptEvidenceDomainDetail : Kind extends \"attempt-observability\" | \"sandbox-history\" ? AttemptObservabilityDomainDetail : Kind extends \"file-changes\" ? FileChangesDomainDetail : Kind extends \"source-navigation\" ? SourceNavigationDomainDetail : Kind extends \"sources\" ? SourcesDomainDetail : never;\n"]}
|
|
1
|
+
{"version":3,"file":"domain-view.js","sourceRoot":"","sources":["domain-view.ts"],"names":[],"mappings":"","sourcesContent":["import type { AttemptOutcome } from \"../record/model/core.ts\";\nimport type { ExecutionIdentityDigest, ExperimentId, RunId, UtcMillis, } from \"../record/model/identifiers.ts\";\nimport type { VerdictState } from \"../eval/record/verdict.ts\";\nimport type { AnalysisRunExecution, JsonValue } from \"./contracts.ts\";\n/** Fixed, NiceEval-published closed domain projections. */\nexport type BuiltinDomainViewKind = \"attempt-evidence\" | \"attempt-observability\" | \"file-changes\" | \"source-navigation\" | \"sources\" | \"sandbox-history\";\n/** A blob is closed to display-safe text before it leaves Sample. */\nexport type ClosedBlobContent = {\n readonly state: \"available\";\n readonly text: string;\n} | {\n readonly state: \"unavailable\" | \"binary\";\n};\n/** Core is closed when Sample successfully resolves a ReadableAttempt. */\nexport interface ClosedAttemptCore {\n readonly outcome: AttemptOutcome;\n /**\n * Exact historical execution facts from the Attempt's origin Run. They are\n * deliberately distinct from a LogicalSlot's selected target Run: carried\n * and accepted members may point at another origin.\n */\n readonly origin: {\n readonly runId: RunId;\n readonly experimentId: ExperimentId;\n readonly startedAt: UtcMillis;\n readonly executionIdentityDigest: ExecutionIdentityDigest;\n readonly execution: AnalysisRunExecution;\n };\n}\nexport interface ClosedTraceCollection {\n readonly state: \"complete\" | \"partial\";\n readonly limitations: readonly JsonValue[];\n}\nexport interface ClosedConversationTurn {\n readonly turnId: string;\n readonly sequence: number;\n readonly outcome: \"completed\" | \"failed\" | \"cancelled\" | \"interrupted\";\n}\ninterface ClosedConversationItemBase {\n readonly itemId: string;\n readonly turnId: string;\n readonly sequence: number;\n}\nexport type ClosedConversationItem = (ClosedConversationItemBase & {\n readonly kind: \"message\";\n readonly role: \"user\" | \"assistant\";\n readonly text: string;\n}) | (ClosedConversationItemBase & {\n readonly kind: \"tool-call\";\n readonly callId: string;\n readonly tool: string;\n readonly inputSummary: string;\n}) | (ClosedConversationItemBase & {\n readonly kind: \"tool-result\";\n readonly callId: string;\n readonly outcome: \"completed\" | \"rejected\" | \"failed\" | \"cancelled\";\n readonly outputSummary: string;\n}) | (ClosedConversationItemBase & {\n readonly kind: \"thinking-summary\" | \"compaction\" | \"context-injection\";\n readonly summary: string;\n}) | (ClosedConversationItemBase & {\n readonly kind: \"subagent\";\n readonly state: \"started\" | \"completed\" | \"failed\";\n readonly label: string;\n readonly summary: string;\n}) | (ClosedConversationItemBase & {\n readonly kind: \"input-request\";\n readonly state: \"requested\" | \"answered\" | \"cancelled\";\n readonly promptSummary: string;\n readonly responseSummary: string | null;\n}) | (ClosedConversationItemBase & {\n readonly kind: \"skill-load\" | \"conversation-error\";\n readonly code: string;\n readonly summary: string;\n});\nexport interface ClosedConversationDetail {\n readonly collection: ClosedTraceCollection;\n readonly turns: readonly ClosedConversationTurn[];\n readonly items: readonly ClosedConversationItem[];\n}\nexport interface ClosedTimingInterval {\n readonly intervalId: string;\n readonly phase: string;\n readonly label: string;\n readonly startOffsetMs: number;\n readonly durationMs: number;\n readonly parentIntervalId: string | null;\n readonly outcome: string;\n}\nexport interface ClosedTimingDetail {\n readonly collection: ClosedTraceCollection;\n readonly intervals: readonly ClosedTimingInterval[];\n}\nexport type ClosedCommandInvocation = {\n readonly kind: \"argv\";\n readonly executable: string;\n readonly arguments: readonly string[];\n} | {\n readonly kind: \"shell\";\n readonly command: string;\n};\nexport type ClosedCommandWorkingDirectory = {\n readonly kind: \"sandbox-default\";\n} | {\n readonly kind: \"project-relative\";\n readonly path: string;\n} | {\n readonly kind: \"redacted\";\n};\nexport type ClosedCommandOutcome = {\n readonly kind: \"exited\";\n readonly exitCode: number;\n} | {\n readonly kind: \"terminated\";\n readonly reason: string;\n} | {\n readonly kind: \"not-started\";\n readonly reason: string;\n};\nexport type ClosedCommandStream = {\n readonly kind: \"inline\";\n readonly text: string;\n readonly retainedBytes: number;\n readonly totalSafeUtf8Bytes: number;\n} | {\n readonly kind: \"blob\";\n readonly retainedBytes: number;\n readonly totalSafeUtf8Bytes: number;\n readonly content: ClosedBlobContent;\n};\nexport interface ClosedCommandEntry {\n readonly commandId: string;\n readonly manifest: {\n readonly phase: string;\n readonly invocation: ClosedCommandInvocation;\n readonly workingDirectory: ClosedCommandWorkingDirectory;\n };\n readonly result: {\n readonly outcome: ClosedCommandOutcome;\n readonly stdout: ClosedCommandStream;\n readonly stderr: ClosedCommandStream;\n };\n}\nexport interface ClosedCommandsDetail {\n readonly collection: ClosedTraceCollection;\n readonly entries: readonly ClosedCommandEntry[];\n}\nexport type ClosedUsageObservation = {\n readonly provider: string;\n readonly kind: \"token-bucket\";\n readonly bucket: string;\n readonly tokens: number;\n} | {\n readonly provider: string;\n readonly kind: \"request\";\n readonly requestKind: string;\n} | {\n readonly provider: string;\n readonly kind: \"provider-cost\";\n readonly amount: string;\n readonly currency: string;\n};\nexport interface ClosedUsageDetail {\n readonly collection: ClosedTraceCollection;\n readonly observations: readonly ClosedUsageObservation[];\n}\nexport type ClosedDiagnosticRedaction = {\n readonly state: \"none\";\n} | {\n readonly state: \"applied\";\n readonly replacements: number;\n};\nexport interface ClosedSourceFrame {\n readonly sourceItemId: string;\n readonly sha256: string;\n readonly start: {\n readonly line: number;\n readonly column: number;\n };\n readonly end: {\n readonly line: number;\n readonly column: number;\n };\n}\nexport interface ClosedDiagnosticsDetail {\n readonly collection: ClosedTraceCollection;\n readonly diagnostics: readonly {\n readonly diagnosticId: string;\n readonly kind: \"advisory\" | \"execution-error\";\n readonly code: string;\n readonly phase: string;\n readonly summary: string;\n readonly causes: readonly {\n readonly code: string;\n readonly summary: string;\n }[];\n readonly redaction: ClosedDiagnosticRedaction;\n readonly sourceFrame: ClosedSourceFrame | null;\n }[];\n}\n/** Closed, display-safe projection of one attempt-owned Observability value. */\nexport interface AttemptObservabilityDomainDetail {\n readonly conversation: ClosedConversationDetail;\n readonly commands: ClosedCommandsDetail;\n readonly usage: ClosedUsageDetail;\n readonly timing: ClosedTimingDetail;\n readonly diagnostics: ClosedDiagnosticsDetail;\n}\nexport interface AttemptEvidenceDomainDetail {\n /** Immutable terminal execution fact; it is not a Verdict. */\n readonly outcome: AttemptOutcome;\n /** Derived once by Eval's authoritative Core + Assertions fold. */\n readonly verdict: VerdictState;\n readonly entries: readonly {\n readonly entryId: string;\n readonly display: ClosedAssertionDisplay;\n readonly source: ClosedAssertionSource;\n readonly check: ClosedAssertionFactValue;\n readonly observed: ClosedAssertionObserved;\n readonly expected: ClosedAssertionFactValue;\n readonly explanation: ClosedAssertionFactValue;\n readonly decision: ClosedAssertionDecision;\n }[];\n readonly sourceSites: readonly ClosedAssertionSourceSite[];\n}\nexport interface ClosedAssertionDisplay {\n readonly key?: string;\n readonly label?: string;\n readonly groupPath: readonly string[];\n}\n/** Recursive, display-safe algebra used by all five neutral assertion sections. */\nexport type ClosedAssertionFactValue = {\n readonly kind: \"unavailable\";\n readonly reason: \"not-recorded\" | \"not-declared\" | \"source-unavailable\";\n} | {\n readonly kind: \"value\";\n readonly value: null | boolean | number | string;\n} | {\n readonly kind: \"text\";\n readonly text: string;\n} | {\n readonly kind: \"list\";\n readonly items: readonly ClosedAssertionFactValue[];\n} | {\n readonly kind: \"fields\";\n readonly fields: readonly ClosedAssertionFactField[];\n};\nexport interface ClosedAssertionFactField {\n readonly label: string;\n readonly value: ClosedAssertionFactValue;\n}\nexport interface ClosedAssertionCollectionReceipt {\n readonly examined: number;\n readonly matched: number;\n readonly mismatched: number;\n readonly unavailable: number;\n readonly knownTotal: number | null;\n readonly complete: boolean;\n readonly exhaustive: boolean;\n readonly decisive: boolean;\n}\nexport interface ClosedAssertionObserved {\n readonly kind: \"fields\";\n readonly fields: readonly ClosedAssertionFactField[];\n readonly receipt?: ClosedAssertionCollectionReceipt;\n}\nexport type ClosedAssertionCoverage = {\n readonly state: \"complete\";\n} | {\n readonly state: \"partial\";\n readonly reason: \"sampled\" | \"truncated\" | \"redacted\" | \"provider-limited\";\n} | {\n readonly state: \"unavailable\";\n readonly reason: \"not-collected\" | \"source-unavailable\" | \"producer-failed\";\n} | {\n readonly state: \"not-applicable\";\n readonly reason: \"optional-material\" | \"unsupported-subject\";\n};\nexport interface ClosedAssertionSource {\n readonly kind: \"fields\";\n readonly fields: readonly ClosedAssertionFactField[];\n readonly coverage: ClosedAssertionCoverage;\n readonly limitations: readonly ClosedAssertionLimitation[];\n}\nexport type ClosedAssertionLimitation = {\n readonly kind: \"redacted\";\n readonly fieldCount: number;\n} | {\n readonly kind: \"sampled\";\n readonly captured: number;\n readonly knownTotal?: number;\n} | {\n readonly kind: \"truncated\";\n readonly omittedBytes: number;\n} | {\n readonly kind: \"provider-limited\";\n};\nexport interface ClosedAssertionPolicy {\n readonly requirement: {\n readonly state: \"available\";\n readonly value: \"required\" | \"optional\";\n } | {\n readonly state: \"unavailable\";\n readonly reason: \"not-recorded\";\n };\n readonly condition: {\n readonly state: \"available\";\n readonly value: {\n readonly kind: \"boolean\";\n readonly expected: true;\n } | {\n readonly kind: \"at-least\";\n readonly threshold: number;\n } | {\n readonly kind: \"record-only\";\n };\n } | {\n readonly state: \"unavailable\";\n readonly reason: \"not-recorded\";\n };\n}\nexport type ClosedAssertionContribution = {\n readonly state: \"not-scored\";\n} | {\n readonly state: \"earned\";\n readonly points: number;\n readonly earned: number;\n} | {\n readonly state: \"unavailable\";\n readonly points: number;\n readonly reason: \"source-unavailable\" | \"evaluation-errored\" | \"not-applicable\";\n};\nexport interface ClosedAssertionDecision {\n readonly result: \"matched\" | \"mismatched\" | \"unavailable\" | \"errored\" | \"not-applicable\";\n readonly reason: string | null;\n readonly gate: \"not-gate\" | \"satisfied\" | \"failed\" | \"unavailable\" | \"not-applicable\";\n readonly policy: ClosedAssertionPolicy;\n readonly contribution: ClosedAssertionContribution;\n}\nexport interface ClosedAssertionSourceSite {\n readonly entryId: string;\n readonly sourceOrder: number;\n readonly role: \"declaration\" | \"threshold\" | \"score\" | \"gate\" | \"optional\" | \"stop\";\n readonly sourceItemId: string;\n readonly sha256: string;\n readonly start: {\n readonly line: number;\n readonly column: number;\n };\n readonly end: {\n readonly line: number;\n readonly column: number;\n };\n}\n/** A FileChanges endpoint after its owner-local blob reference has been closed. */\nexport type ClosedFileChangeEndpoint = {\n readonly state: \"absent\";\n} | {\n readonly state: \"present\";\n readonly revision: ClosedFileRevision;\n};\n/** The `available` alternative substitutes display-safe content for a RecordBlobRef. */\nexport type ClosedFileRevision = {\n readonly kind: \"text\";\n readonly sha256: string;\n readonly byteLength: number;\n readonly content: {\n readonly state: \"available\";\n readonly content: ClosedBlobContent;\n } | {\n readonly state: \"omitted\";\n readonly reason: \"collection-cap\";\n };\n} | {\n readonly kind: \"elided\";\n readonly reason: \"binary\" | \"oversized-text\";\n readonly byteLength: number;\n} | {\n readonly kind: \"unavailable\";\n readonly reason: \"unsupported-input\" | \"capture-failed\" | \"capture-interrupted\";\n};\nexport type ClosedFileChangesCollectionLimitation = {\n readonly code: \"capture-failed\" | \"capture-interrupted\";\n readonly stage: \"checkpoint\" | \"export\" | \"finalizer-export\" | \"normalize\";\n readonly atWindowId: string | null;\n} | {\n readonly code: \"collection-cap-reached\";\n readonly target: \"window\" | \"change\" | \"content-blob\" | \"content-byte\" | \"json-byte\";\n readonly omittedAtLeast: number;\n readonly atWindowId: string | null;\n} | {\n readonly code: \"unsupported-input\";\n readonly target: \"endpoint-metadata\";\n readonly omittedAtLeast: number;\n};\nexport interface ClosedFileChangesCollection {\n readonly state: \"complete\" | \"partial\";\n readonly limitations: readonly ClosedFileChangesCollectionLimitation[];\n}\nexport interface ClosedFileChangesAttribution {\n readonly kind: \"agent-send-window-endpoints\";\n readonly policy: {\n readonly defaultPolicy: \"niceeval.sandbox-ledger/default-excludes/v1\";\n readonly include: readonly string[];\n readonly ignore: readonly string[];\n };\n}\nexport interface ClosedFileChange {\n readonly changeId: string;\n readonly path: string;\n readonly kind: \"created\" | \"modified\" | \"deleted\";\n readonly before: ClosedFileChangeEndpoint;\n readonly after: ClosedFileChangeEndpoint;\n}\n/** One recorded send-window, including an intentional zero-change window. */\nexport interface ClosedFileChangeWindow {\n readonly windowId: string;\n readonly sequence: number;\n readonly changes: readonly ClosedFileChange[];\n}\nexport type FileChangesNet = {\n readonly state: \"available\";\n readonly kind: \"none\" | \"created\" | \"modified\" | \"deleted\";\n readonly before: ClosedFileChangeEndpoint;\n readonly after: ClosedFileChangeEndpoint;\n} | {\n readonly state: \"indeterminate\";\n readonly reason: \"collection-partial\" | \"window-discontinuity\" | \"endpoint-unavailable\" | \"endpoint-equality-unprovable\";\n};\n/**\n * The complete, display-safe FileChanges trajectory for one Attempt. It is\n * deliberately a domain structure rather than a table frame: windows retain\n * their temporal order while `paths` gives a separately derived net summary.\n */\nexport interface FileChangesDomainDetail {\n readonly attribution: ClosedFileChangesAttribution;\n readonly collection: ClosedFileChangesCollection;\n readonly trajectory: readonly ClosedFileChangeWindow[];\n readonly paths: readonly {\n readonly path: string;\n readonly changes: readonly {\n readonly windowId: string;\n readonly changeId: string;\n }[];\n readonly net: FileChangesNet;\n }[];\n}\nexport interface SourcesDomainDetail {\n readonly items: readonly {\n readonly sourceItemId: string;\n readonly path: string;\n readonly sha256: string;\n readonly content: ClosedBlobContent;\n }[];\n}\n/** Closed physical-send navigation rows; mapped frames retain exact digest joins. */\nexport interface SourceNavigationDomainDetail {\n readonly collection: {\n readonly state: \"complete\" | \"partial\";\n readonly limitations: readonly {\n readonly code: \"collection-cap-reached\" | \"capture-unrecoverable\";\n /** Distinguishes retained-row omission from a missing timing identity. */\n readonly target: \"navigation-row\" | \"timing-link\";\n readonly omittedAtLeast: number;\n }[];\n };\n readonly rows: readonly {\n readonly turnId: string;\n readonly sourceOrder: number | null;\n readonly source: {\n readonly state: \"mapped\";\n readonly sourceItemId: string;\n readonly sha256: string;\n readonly start: {\n readonly line: number;\n readonly column: number;\n };\n readonly end: {\n readonly line: number;\n readonly column: number;\n };\n } | {\n readonly state: \"unmapped\";\n readonly reason: \"location-not-captured\" | \"source-snapshot-not-recorded\" | \"position-unrepresentable\";\n };\n readonly timing: {\n readonly state: \"linked\";\n readonly intervalId: string;\n } | {\n readonly state: \"unavailable\";\n readonly reason: \"timing-not-recorded\";\n };\n }[];\n}\nexport type BuiltinDomainDetail<Kind extends BuiltinDomainViewKind> = Kind extends \"attempt-evidence\" ? AttemptEvidenceDomainDetail : Kind extends \"attempt-observability\" | \"sandbox-history\" ? AttemptObservabilityDomainDetail : Kind extends \"file-changes\" ? FileChangesDomainDetail : Kind extends \"source-navigation\" ? SourceNavigationDomainDetail : Kind extends \"sources\" ? SourcesDomainDetail : never;\n"]}
|
|
@@ -213,15 +213,144 @@ export interface AttemptEvidenceDomainDetail {
|
|
|
213
213
|
readonly verdict: VerdictState;
|
|
214
214
|
readonly entries: readonly {
|
|
215
215
|
readonly entryId: string;
|
|
216
|
-
readonly display:
|
|
217
|
-
readonly
|
|
218
|
-
readonly
|
|
219
|
-
readonly
|
|
220
|
-
readonly
|
|
221
|
-
readonly
|
|
222
|
-
readonly
|
|
216
|
+
readonly display: ClosedAssertionDisplay;
|
|
217
|
+
readonly source: ClosedAssertionSource;
|
|
218
|
+
readonly check: ClosedAssertionFactValue;
|
|
219
|
+
readonly observed: ClosedAssertionObserved;
|
|
220
|
+
readonly expected: ClosedAssertionFactValue;
|
|
221
|
+
readonly explanation: ClosedAssertionFactValue;
|
|
222
|
+
readonly decision: ClosedAssertionDecision;
|
|
223
223
|
}[];
|
|
224
|
-
readonly sourceSites: readonly
|
|
224
|
+
readonly sourceSites: readonly ClosedAssertionSourceSite[];
|
|
225
|
+
}
|
|
226
|
+
export interface ClosedAssertionDisplay {
|
|
227
|
+
readonly key?: string;
|
|
228
|
+
readonly label?: string;
|
|
229
|
+
readonly groupPath: readonly string[];
|
|
230
|
+
}
|
|
231
|
+
/** Recursive, display-safe algebra used by all five neutral assertion sections. */
|
|
232
|
+
export type ClosedAssertionFactValue = {
|
|
233
|
+
readonly kind: "unavailable";
|
|
234
|
+
readonly reason: "not-recorded" | "not-declared" | "source-unavailable";
|
|
235
|
+
} | {
|
|
236
|
+
readonly kind: "value";
|
|
237
|
+
readonly value: null | boolean | number | string;
|
|
238
|
+
} | {
|
|
239
|
+
readonly kind: "text";
|
|
240
|
+
readonly text: string;
|
|
241
|
+
} | {
|
|
242
|
+
readonly kind: "list";
|
|
243
|
+
readonly items: readonly ClosedAssertionFactValue[];
|
|
244
|
+
} | {
|
|
245
|
+
readonly kind: "fields";
|
|
246
|
+
readonly fields: readonly ClosedAssertionFactField[];
|
|
247
|
+
};
|
|
248
|
+
export interface ClosedAssertionFactField {
|
|
249
|
+
readonly label: string;
|
|
250
|
+
readonly value: ClosedAssertionFactValue;
|
|
251
|
+
}
|
|
252
|
+
export interface ClosedAssertionCollectionReceipt {
|
|
253
|
+
readonly examined: number;
|
|
254
|
+
readonly matched: number;
|
|
255
|
+
readonly mismatched: number;
|
|
256
|
+
readonly unavailable: number;
|
|
257
|
+
readonly knownTotal: number | null;
|
|
258
|
+
readonly complete: boolean;
|
|
259
|
+
readonly exhaustive: boolean;
|
|
260
|
+
readonly decisive: boolean;
|
|
261
|
+
}
|
|
262
|
+
export interface ClosedAssertionObserved {
|
|
263
|
+
readonly kind: "fields";
|
|
264
|
+
readonly fields: readonly ClosedAssertionFactField[];
|
|
265
|
+
readonly receipt?: ClosedAssertionCollectionReceipt;
|
|
266
|
+
}
|
|
267
|
+
export type ClosedAssertionCoverage = {
|
|
268
|
+
readonly state: "complete";
|
|
269
|
+
} | {
|
|
270
|
+
readonly state: "partial";
|
|
271
|
+
readonly reason: "sampled" | "truncated" | "redacted" | "provider-limited";
|
|
272
|
+
} | {
|
|
273
|
+
readonly state: "unavailable";
|
|
274
|
+
readonly reason: "not-collected" | "source-unavailable" | "producer-failed";
|
|
275
|
+
} | {
|
|
276
|
+
readonly state: "not-applicable";
|
|
277
|
+
readonly reason: "optional-material" | "unsupported-subject";
|
|
278
|
+
};
|
|
279
|
+
export interface ClosedAssertionSource {
|
|
280
|
+
readonly kind: "fields";
|
|
281
|
+
readonly fields: readonly ClosedAssertionFactField[];
|
|
282
|
+
readonly coverage: ClosedAssertionCoverage;
|
|
283
|
+
readonly limitations: readonly ClosedAssertionLimitation[];
|
|
284
|
+
}
|
|
285
|
+
export type ClosedAssertionLimitation = {
|
|
286
|
+
readonly kind: "redacted";
|
|
287
|
+
readonly fieldCount: number;
|
|
288
|
+
} | {
|
|
289
|
+
readonly kind: "sampled";
|
|
290
|
+
readonly captured: number;
|
|
291
|
+
readonly knownTotal?: number;
|
|
292
|
+
} | {
|
|
293
|
+
readonly kind: "truncated";
|
|
294
|
+
readonly omittedBytes: number;
|
|
295
|
+
} | {
|
|
296
|
+
readonly kind: "provider-limited";
|
|
297
|
+
};
|
|
298
|
+
export interface ClosedAssertionPolicy {
|
|
299
|
+
readonly requirement: {
|
|
300
|
+
readonly state: "available";
|
|
301
|
+
readonly value: "required" | "optional";
|
|
302
|
+
} | {
|
|
303
|
+
readonly state: "unavailable";
|
|
304
|
+
readonly reason: "not-recorded";
|
|
305
|
+
};
|
|
306
|
+
readonly condition: {
|
|
307
|
+
readonly state: "available";
|
|
308
|
+
readonly value: {
|
|
309
|
+
readonly kind: "boolean";
|
|
310
|
+
readonly expected: true;
|
|
311
|
+
} | {
|
|
312
|
+
readonly kind: "at-least";
|
|
313
|
+
readonly threshold: number;
|
|
314
|
+
} | {
|
|
315
|
+
readonly kind: "record-only";
|
|
316
|
+
};
|
|
317
|
+
} | {
|
|
318
|
+
readonly state: "unavailable";
|
|
319
|
+
readonly reason: "not-recorded";
|
|
320
|
+
};
|
|
321
|
+
}
|
|
322
|
+
export type ClosedAssertionContribution = {
|
|
323
|
+
readonly state: "not-scored";
|
|
324
|
+
} | {
|
|
325
|
+
readonly state: "earned";
|
|
326
|
+
readonly points: number;
|
|
327
|
+
readonly earned: number;
|
|
328
|
+
} | {
|
|
329
|
+
readonly state: "unavailable";
|
|
330
|
+
readonly points: number;
|
|
331
|
+
readonly reason: "source-unavailable" | "evaluation-errored" | "not-applicable";
|
|
332
|
+
};
|
|
333
|
+
export interface ClosedAssertionDecision {
|
|
334
|
+
readonly result: "matched" | "mismatched" | "unavailable" | "errored" | "not-applicable";
|
|
335
|
+
readonly reason: string | null;
|
|
336
|
+
readonly gate: "not-gate" | "satisfied" | "failed" | "unavailable" | "not-applicable";
|
|
337
|
+
readonly policy: ClosedAssertionPolicy;
|
|
338
|
+
readonly contribution: ClosedAssertionContribution;
|
|
339
|
+
}
|
|
340
|
+
export interface ClosedAssertionSourceSite {
|
|
341
|
+
readonly entryId: string;
|
|
342
|
+
readonly sourceOrder: number;
|
|
343
|
+
readonly role: "declaration" | "threshold" | "score" | "gate" | "optional" | "stop";
|
|
344
|
+
readonly sourceItemId: string;
|
|
345
|
+
readonly sha256: string;
|
|
346
|
+
readonly start: {
|
|
347
|
+
readonly line: number;
|
|
348
|
+
readonly column: number;
|
|
349
|
+
};
|
|
350
|
+
readonly end: {
|
|
351
|
+
readonly line: number;
|
|
352
|
+
readonly column: number;
|
|
353
|
+
};
|
|
225
354
|
}
|
|
226
355
|
/** A FileChanges endpoint after its owner-local blob reference has been closed. */
|
|
227
356
|
export type ClosedFileChangeEndpoint = {
|
|
@@ -213,15 +213,144 @@ export interface AttemptEvidenceDomainDetail {
|
|
|
213
213
|
readonly verdict: VerdictState;
|
|
214
214
|
readonly entries: readonly {
|
|
215
215
|
readonly entryId: string;
|
|
216
|
-
readonly display:
|
|
217
|
-
readonly
|
|
218
|
-
readonly
|
|
219
|
-
readonly
|
|
220
|
-
readonly
|
|
221
|
-
readonly
|
|
222
|
-
readonly
|
|
216
|
+
readonly display: ClosedAssertionDisplay;
|
|
217
|
+
readonly source: ClosedAssertionSource;
|
|
218
|
+
readonly check: ClosedAssertionFactValue;
|
|
219
|
+
readonly observed: ClosedAssertionObserved;
|
|
220
|
+
readonly expected: ClosedAssertionFactValue;
|
|
221
|
+
readonly explanation: ClosedAssertionFactValue;
|
|
222
|
+
readonly decision: ClosedAssertionDecision;
|
|
223
223
|
}[];
|
|
224
|
-
readonly sourceSites: readonly
|
|
224
|
+
readonly sourceSites: readonly ClosedAssertionSourceSite[];
|
|
225
|
+
}
|
|
226
|
+
export interface ClosedAssertionDisplay {
|
|
227
|
+
readonly key?: string;
|
|
228
|
+
readonly label?: string;
|
|
229
|
+
readonly groupPath: readonly string[];
|
|
230
|
+
}
|
|
231
|
+
/** Recursive, display-safe algebra used by all five neutral assertion sections. */
|
|
232
|
+
export type ClosedAssertionFactValue = {
|
|
233
|
+
readonly kind: "unavailable";
|
|
234
|
+
readonly reason: "not-recorded" | "not-declared" | "source-unavailable";
|
|
235
|
+
} | {
|
|
236
|
+
readonly kind: "value";
|
|
237
|
+
readonly value: null | boolean | number | string;
|
|
238
|
+
} | {
|
|
239
|
+
readonly kind: "text";
|
|
240
|
+
readonly text: string;
|
|
241
|
+
} | {
|
|
242
|
+
readonly kind: "list";
|
|
243
|
+
readonly items: readonly ClosedAssertionFactValue[];
|
|
244
|
+
} | {
|
|
245
|
+
readonly kind: "fields";
|
|
246
|
+
readonly fields: readonly ClosedAssertionFactField[];
|
|
247
|
+
};
|
|
248
|
+
export interface ClosedAssertionFactField {
|
|
249
|
+
readonly label: string;
|
|
250
|
+
readonly value: ClosedAssertionFactValue;
|
|
251
|
+
}
|
|
252
|
+
export interface ClosedAssertionCollectionReceipt {
|
|
253
|
+
readonly examined: number;
|
|
254
|
+
readonly matched: number;
|
|
255
|
+
readonly mismatched: number;
|
|
256
|
+
readonly unavailable: number;
|
|
257
|
+
readonly knownTotal: number | null;
|
|
258
|
+
readonly complete: boolean;
|
|
259
|
+
readonly exhaustive: boolean;
|
|
260
|
+
readonly decisive: boolean;
|
|
261
|
+
}
|
|
262
|
+
export interface ClosedAssertionObserved {
|
|
263
|
+
readonly kind: "fields";
|
|
264
|
+
readonly fields: readonly ClosedAssertionFactField[];
|
|
265
|
+
readonly receipt?: ClosedAssertionCollectionReceipt;
|
|
266
|
+
}
|
|
267
|
+
export type ClosedAssertionCoverage = {
|
|
268
|
+
readonly state: "complete";
|
|
269
|
+
} | {
|
|
270
|
+
readonly state: "partial";
|
|
271
|
+
readonly reason: "sampled" | "truncated" | "redacted" | "provider-limited";
|
|
272
|
+
} | {
|
|
273
|
+
readonly state: "unavailable";
|
|
274
|
+
readonly reason: "not-collected" | "source-unavailable" | "producer-failed";
|
|
275
|
+
} | {
|
|
276
|
+
readonly state: "not-applicable";
|
|
277
|
+
readonly reason: "optional-material" | "unsupported-subject";
|
|
278
|
+
};
|
|
279
|
+
export interface ClosedAssertionSource {
|
|
280
|
+
readonly kind: "fields";
|
|
281
|
+
readonly fields: readonly ClosedAssertionFactField[];
|
|
282
|
+
readonly coverage: ClosedAssertionCoverage;
|
|
283
|
+
readonly limitations: readonly ClosedAssertionLimitation[];
|
|
284
|
+
}
|
|
285
|
+
export type ClosedAssertionLimitation = {
|
|
286
|
+
readonly kind: "redacted";
|
|
287
|
+
readonly fieldCount: number;
|
|
288
|
+
} | {
|
|
289
|
+
readonly kind: "sampled";
|
|
290
|
+
readonly captured: number;
|
|
291
|
+
readonly knownTotal?: number;
|
|
292
|
+
} | {
|
|
293
|
+
readonly kind: "truncated";
|
|
294
|
+
readonly omittedBytes: number;
|
|
295
|
+
} | {
|
|
296
|
+
readonly kind: "provider-limited";
|
|
297
|
+
};
|
|
298
|
+
export interface ClosedAssertionPolicy {
|
|
299
|
+
readonly requirement: {
|
|
300
|
+
readonly state: "available";
|
|
301
|
+
readonly value: "required" | "optional";
|
|
302
|
+
} | {
|
|
303
|
+
readonly state: "unavailable";
|
|
304
|
+
readonly reason: "not-recorded";
|
|
305
|
+
};
|
|
306
|
+
readonly condition: {
|
|
307
|
+
readonly state: "available";
|
|
308
|
+
readonly value: {
|
|
309
|
+
readonly kind: "boolean";
|
|
310
|
+
readonly expected: true;
|
|
311
|
+
} | {
|
|
312
|
+
readonly kind: "at-least";
|
|
313
|
+
readonly threshold: number;
|
|
314
|
+
} | {
|
|
315
|
+
readonly kind: "record-only";
|
|
316
|
+
};
|
|
317
|
+
} | {
|
|
318
|
+
readonly state: "unavailable";
|
|
319
|
+
readonly reason: "not-recorded";
|
|
320
|
+
};
|
|
321
|
+
}
|
|
322
|
+
export type ClosedAssertionContribution = {
|
|
323
|
+
readonly state: "not-scored";
|
|
324
|
+
} | {
|
|
325
|
+
readonly state: "earned";
|
|
326
|
+
readonly points: number;
|
|
327
|
+
readonly earned: number;
|
|
328
|
+
} | {
|
|
329
|
+
readonly state: "unavailable";
|
|
330
|
+
readonly points: number;
|
|
331
|
+
readonly reason: "source-unavailable" | "evaluation-errored" | "not-applicable";
|
|
332
|
+
};
|
|
333
|
+
export interface ClosedAssertionDecision {
|
|
334
|
+
readonly result: "matched" | "mismatched" | "unavailable" | "errored" | "not-applicable";
|
|
335
|
+
readonly reason: string | null;
|
|
336
|
+
readonly gate: "not-gate" | "satisfied" | "failed" | "unavailable" | "not-applicable";
|
|
337
|
+
readonly policy: ClosedAssertionPolicy;
|
|
338
|
+
readonly contribution: ClosedAssertionContribution;
|
|
339
|
+
}
|
|
340
|
+
export interface ClosedAssertionSourceSite {
|
|
341
|
+
readonly entryId: string;
|
|
342
|
+
readonly sourceOrder: number;
|
|
343
|
+
readonly role: "declaration" | "threshold" | "score" | "gate" | "optional" | "stop";
|
|
344
|
+
readonly sourceItemId: string;
|
|
345
|
+
readonly sha256: string;
|
|
346
|
+
readonly start: {
|
|
347
|
+
readonly line: number;
|
|
348
|
+
readonly column: number;
|
|
349
|
+
};
|
|
350
|
+
readonly end: {
|
|
351
|
+
readonly line: number;
|
|
352
|
+
readonly column: number;
|
|
353
|
+
};
|
|
225
354
|
}
|
|
226
355
|
/** A FileChanges endpoint after its owner-local blob reference has been closed. */
|
|
227
356
|
export type ClosedFileChangeEndpoint = {
|
|
@@ -213,15 +213,144 @@ export interface AttemptEvidenceDomainDetail {
|
|
|
213
213
|
readonly verdict: VerdictState;
|
|
214
214
|
readonly entries: readonly {
|
|
215
215
|
readonly entryId: string;
|
|
216
|
-
readonly display:
|
|
217
|
-
readonly
|
|
218
|
-
readonly
|
|
219
|
-
readonly
|
|
220
|
-
readonly
|
|
221
|
-
readonly
|
|
222
|
-
readonly
|
|
216
|
+
readonly display: ClosedAssertionDisplay;
|
|
217
|
+
readonly source: ClosedAssertionSource;
|
|
218
|
+
readonly check: ClosedAssertionFactValue;
|
|
219
|
+
readonly observed: ClosedAssertionObserved;
|
|
220
|
+
readonly expected: ClosedAssertionFactValue;
|
|
221
|
+
readonly explanation: ClosedAssertionFactValue;
|
|
222
|
+
readonly decision: ClosedAssertionDecision;
|
|
223
223
|
}[];
|
|
224
|
-
readonly sourceSites: readonly
|
|
224
|
+
readonly sourceSites: readonly ClosedAssertionSourceSite[];
|
|
225
|
+
}
|
|
226
|
+
export interface ClosedAssertionDisplay {
|
|
227
|
+
readonly key?: string;
|
|
228
|
+
readonly label?: string;
|
|
229
|
+
readonly groupPath: readonly string[];
|
|
230
|
+
}
|
|
231
|
+
/** Recursive, display-safe algebra used by all five neutral assertion sections. */
|
|
232
|
+
export type ClosedAssertionFactValue = {
|
|
233
|
+
readonly kind: "unavailable";
|
|
234
|
+
readonly reason: "not-recorded" | "not-declared" | "source-unavailable";
|
|
235
|
+
} | {
|
|
236
|
+
readonly kind: "value";
|
|
237
|
+
readonly value: null | boolean | number | string;
|
|
238
|
+
} | {
|
|
239
|
+
readonly kind: "text";
|
|
240
|
+
readonly text: string;
|
|
241
|
+
} | {
|
|
242
|
+
readonly kind: "list";
|
|
243
|
+
readonly items: readonly ClosedAssertionFactValue[];
|
|
244
|
+
} | {
|
|
245
|
+
readonly kind: "fields";
|
|
246
|
+
readonly fields: readonly ClosedAssertionFactField[];
|
|
247
|
+
};
|
|
248
|
+
export interface ClosedAssertionFactField {
|
|
249
|
+
readonly label: string;
|
|
250
|
+
readonly value: ClosedAssertionFactValue;
|
|
251
|
+
}
|
|
252
|
+
export interface ClosedAssertionCollectionReceipt {
|
|
253
|
+
readonly examined: number;
|
|
254
|
+
readonly matched: number;
|
|
255
|
+
readonly mismatched: number;
|
|
256
|
+
readonly unavailable: number;
|
|
257
|
+
readonly knownTotal: number | null;
|
|
258
|
+
readonly complete: boolean;
|
|
259
|
+
readonly exhaustive: boolean;
|
|
260
|
+
readonly decisive: boolean;
|
|
261
|
+
}
|
|
262
|
+
export interface ClosedAssertionObserved {
|
|
263
|
+
readonly kind: "fields";
|
|
264
|
+
readonly fields: readonly ClosedAssertionFactField[];
|
|
265
|
+
readonly receipt?: ClosedAssertionCollectionReceipt;
|
|
266
|
+
}
|
|
267
|
+
export type ClosedAssertionCoverage = {
|
|
268
|
+
readonly state: "complete";
|
|
269
|
+
} | {
|
|
270
|
+
readonly state: "partial";
|
|
271
|
+
readonly reason: "sampled" | "truncated" | "redacted" | "provider-limited";
|
|
272
|
+
} | {
|
|
273
|
+
readonly state: "unavailable";
|
|
274
|
+
readonly reason: "not-collected" | "source-unavailable" | "producer-failed";
|
|
275
|
+
} | {
|
|
276
|
+
readonly state: "not-applicable";
|
|
277
|
+
readonly reason: "optional-material" | "unsupported-subject";
|
|
278
|
+
};
|
|
279
|
+
export interface ClosedAssertionSource {
|
|
280
|
+
readonly kind: "fields";
|
|
281
|
+
readonly fields: readonly ClosedAssertionFactField[];
|
|
282
|
+
readonly coverage: ClosedAssertionCoverage;
|
|
283
|
+
readonly limitations: readonly ClosedAssertionLimitation[];
|
|
284
|
+
}
|
|
285
|
+
export type ClosedAssertionLimitation = {
|
|
286
|
+
readonly kind: "redacted";
|
|
287
|
+
readonly fieldCount: number;
|
|
288
|
+
} | {
|
|
289
|
+
readonly kind: "sampled";
|
|
290
|
+
readonly captured: number;
|
|
291
|
+
readonly knownTotal?: number;
|
|
292
|
+
} | {
|
|
293
|
+
readonly kind: "truncated";
|
|
294
|
+
readonly omittedBytes: number;
|
|
295
|
+
} | {
|
|
296
|
+
readonly kind: "provider-limited";
|
|
297
|
+
};
|
|
298
|
+
export interface ClosedAssertionPolicy {
|
|
299
|
+
readonly requirement: {
|
|
300
|
+
readonly state: "available";
|
|
301
|
+
readonly value: "required" | "optional";
|
|
302
|
+
} | {
|
|
303
|
+
readonly state: "unavailable";
|
|
304
|
+
readonly reason: "not-recorded";
|
|
305
|
+
};
|
|
306
|
+
readonly condition: {
|
|
307
|
+
readonly state: "available";
|
|
308
|
+
readonly value: {
|
|
309
|
+
readonly kind: "boolean";
|
|
310
|
+
readonly expected: true;
|
|
311
|
+
} | {
|
|
312
|
+
readonly kind: "at-least";
|
|
313
|
+
readonly threshold: number;
|
|
314
|
+
} | {
|
|
315
|
+
readonly kind: "record-only";
|
|
316
|
+
};
|
|
317
|
+
} | {
|
|
318
|
+
readonly state: "unavailable";
|
|
319
|
+
readonly reason: "not-recorded";
|
|
320
|
+
};
|
|
321
|
+
}
|
|
322
|
+
export type ClosedAssertionContribution = {
|
|
323
|
+
readonly state: "not-scored";
|
|
324
|
+
} | {
|
|
325
|
+
readonly state: "earned";
|
|
326
|
+
readonly points: number;
|
|
327
|
+
readonly earned: number;
|
|
328
|
+
} | {
|
|
329
|
+
readonly state: "unavailable";
|
|
330
|
+
readonly points: number;
|
|
331
|
+
readonly reason: "source-unavailable" | "evaluation-errored" | "not-applicable";
|
|
332
|
+
};
|
|
333
|
+
export interface ClosedAssertionDecision {
|
|
334
|
+
readonly result: "matched" | "mismatched" | "unavailable" | "errored" | "not-applicable";
|
|
335
|
+
readonly reason: string | null;
|
|
336
|
+
readonly gate: "not-gate" | "satisfied" | "failed" | "unavailable" | "not-applicable";
|
|
337
|
+
readonly policy: ClosedAssertionPolicy;
|
|
338
|
+
readonly contribution: ClosedAssertionContribution;
|
|
339
|
+
}
|
|
340
|
+
export interface ClosedAssertionSourceSite {
|
|
341
|
+
readonly entryId: string;
|
|
342
|
+
readonly sourceOrder: number;
|
|
343
|
+
readonly role: "declaration" | "threshold" | "score" | "gate" | "optional" | "stop";
|
|
344
|
+
readonly sourceItemId: string;
|
|
345
|
+
readonly sha256: string;
|
|
346
|
+
readonly start: {
|
|
347
|
+
readonly line: number;
|
|
348
|
+
readonly column: number;
|
|
349
|
+
};
|
|
350
|
+
readonly end: {
|
|
351
|
+
readonly line: number;
|
|
352
|
+
readonly column: number;
|
|
353
|
+
};
|
|
225
354
|
}
|
|
226
355
|
/** A FileChanges endpoint after its owner-local blob reference has been closed. */
|
|
227
356
|
export type ClosedFileChangeEndpoint = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,4EAA4E;AAC5E,+EAA+E;AAC/E,8EAA8E;AAC9E,mCAAoK;AAA3J,mGAAA,SAAS,OAAA;AAAE,6GAAA,mBAAmB,OAAA;AAAE,kHAAA,wBAAwB,OAAA;AAAE,yGAAA,eAAe,OAAA;AAAE,+FAAA,KAAK,OAAA;AAAE,4GAAA,kBAAkB,OAAA;AAAE,8GAAA,oBAAoB,OAAA;AAAE,qGAAA,WAAW,OAAA;AAChJ,mDAA0V;AAAjV,iHAAA,eAAe,OAAA;AAAE,kHAAA,gBAAgB,OAAA;AAAE,+GAAA,aAAa,OAAA;AAAE,+GAAA,aAAa,OAAA;AAAE,oHAAA,kBAAkB,OAAA;AAAE,iHAAA,eAAe,OAAA;AAAE,+GAAA,aAAa,OAAA;AAAE,kHAAA,gBAAgB,OAAA;AAAE,gHAAA,cAAc,OAAA;AAAE,wHAAA,sBAAsB,OAAA;AAAE,oHAAA,kBAAkB,OAAA;AAAE,8GAAA,YAAY,OAAA;AAAE,sGAAA,IAAI,OAAA;AAAE,0GAAA,QAAQ,OAAA;AAAE,yGAAA,OAAO,OAAA;AAAE,uGAAA,KAAK,OAAA;AAAE,qHAAA,mBAAmB,OAAA;AAAE,4HAAA,0BAA0B,OAAA;AAAE,qGAAA,GAAG,OAAA;AAAE,gHAAA,cAAc,OAAA;AAC9T,qCAAgG;AAAvF,gHAAA,qBAAqB,OAAA;AAAE,kGAAA,OAAO,OAAA;AAAE,+GAAA,oBAAoB,OAAA;AAAE,uGAAA,YAAY,OAAA;AAC3E,yDAAoG;AAA3F,qHAAA,oBAAoB,OAAA;AAAE,qHAAA,oBAAoB,OAAA;AAAE,6GAAA,YAAY,OAAA;AACjE,+DAAsF;AAA7E,iIAAA,yBAAyB,OAAA;AAAE,wHAAA,gBAAgB,OAAA;AAOpD,iEAAoE;AAA3D,oHAAA,kBAAkB,OAAA","sourcesContent":["// `niceeval/analysis` is the public author surface for statistical meaning.\n// The separate public Host SDK issues Sample capabilities; Record readers stay\n// in its private binding map, while Report receives rows, frames, and values.\nexport { aggregate, attemptEvidenceView, attemptObservabilityView, fileChangesView, query, sandboxHistoryView, sourceNavigationView, sourcesView, } from \"./api.ts\";\nexport { allLogicalSlots, attemptLatencyMs, attemptTokens, attemptPassed, attemptToolFailure, defineDimension, defineMeasure, definePopulation, defineRelation, latestCompletedAttempt, logicalSlotMembers, logicalSlots, mean, oneValue, partial, ratio, requireSameProducer, retainContributingEvidence, sum, sumAcrossSlots, } from \"./definitions.ts\";\nexport { builtInPricingProfile, costUSD, definePricingProfile, totalCostUSD, } from \"./cost.ts\";\nexport { decodeSampleSnapshot, encodeSampleSnapshot, narrowSample, } from \"../sample/capability.ts\";\nexport { experimentComparisonScope, experimentGroups, } from \"./experiment-groups.ts\";\nexport type { AggregateRequest, AggregateRow, AttemptEvidenceDomainView, AttemptObservabilityDomainView, BuiltinDomainView, BuiltinDomainViewKind, ClosedDomainEntry, DimensionSet, DomainViewQuery, DomainViewRequest, FileChangesDomainView, FrameQuery, MeasureSet, MeasureCell, SandboxHistoryDomainView, SemanticFrame, SemanticRow, SourceNavigationDomainView, SourcesDomainView, } from \"./api.ts\";\nexport type { CostBasis, CostComponent, CostCoverageReason, CostCoverageReasonCode, CostLedgerEntry, CostMeasure, CostMetricValue, CostProjectionAggregate, CostProjectionKnown, CostProjectionMigrationRequired, CostProjectionProfile, CostProjectionState, CostProjectionUnavailable, CostProjectionValue, EstimatedRequestCostComponent, EstimatedTokenCostComponent, ObservedCostComponent, ObservedOtherCurrency, PricedCoverage, PricedCoverageInput, PricingCharge, PricingChargeInput, PricingCoverage, PricingCoverageId, PricingCoverageInput, PricingDisplay, PricingDisplayInput, PricingEffectiveCondition, PricingEffectiveConditionInput, PricingProfile, PricingProfileContentIdentity, PricingProfileInput, PricingProvenance, PricingProvenanceInput, PricingSelector, PricingSelectorInput, ProjectedMoney, RequestPricingCharge, RequestPricingChargeInput, TokenPricingCharge, TokenPricingChargeInput, UnpricedCoverage, UnpricedCoverageInput, } from \"./cost.ts\";\nexport type { AttemptEvidenceDomainDetail, AttemptObservabilityDomainDetail, BuiltinDomainDetail, ClosedBlobContent, ClosedCommandEntry, ClosedCommandInvocation, ClosedCommandOutcome, ClosedCommandStream, ClosedCommandWorkingDirectory, ClosedCommandsDetail, ClosedConversationDetail, ClosedConversationItem, ClosedConversationTurn, ClosedDiagnosticRedaction, ClosedDiagnosticsDetail, ClosedFileChange, ClosedFileChangeEndpoint, ClosedFileChangeWindow, ClosedFileChangesAttribution, ClosedFileChangesCollection, ClosedFileChangesCollectionLimitation, ClosedFileRevision, ClosedSourceFrame, ClosedTimingDetail, ClosedTimingInterval, ClosedTraceCollection, ClosedUsageDetail, ClosedUsageObservation, FileChangesDomainDetail, FileChangesNet, SourceNavigationDomainDetail, SourcesDomainDetail, } from \"./domain-view.ts\";\nexport type { AcrossSlotsReduction, AnalysisDefinitionError, AnalysisInput, Denominator, Dimension, DimensionValue, EvidencePolicy, LogicalSlot, Measure, MeasureOptions, MissingPolicy, Population, PopulationMembers, ProducerPolicy, Relation, RelationTarget, WithinAttemptReduction, WithinSlotReduction, } from \"./definitions.ts\";\nexport type { AnalysisCurrentSlotIdentity, AnalysisSlotOccurrenceIdentity, AnalysisRun, AnalysisRunContext, AnalysisRunExecution, AnalysisSelectionRequest, AnalysisSelectionSummary, EvalId, ExecutionIdentityDigest, AnalysisSlot, AnalysisIssue, AnalysisRequestError, SampleClosedError, SampleIdentity, AttemptId, ClosedRows, ClosedRowsIdentity, DomainView, EvidenceIdentity, EvidenceRef, ExperimentId, ExperimentComparisonScope, ExperimentComparisonState, ExperimentGroupIdentity, JsonValue, MeasureFormat, MetricBasis, MetricState, MetricValue, NonComparableIssue, NonComparableReason, PopulationIdentity, ProducerIdentity, RunId, Sample, SampleCoverage, SampleSelector, SampleSnapshot, SampleSnapshotCodecError, SlotId, } from \"./contracts.ts\";\nexport type { ExperimentGroupSummary } from \"./experiment-groups.ts\";\nexport { ExperimentIdSchema } from \"../record/codec/identifiers.ts\";\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,4EAA4E;AAC5E,+EAA+E;AAC/E,8EAA8E;AAC9E,mCAAoK;AAA3J,mGAAA,SAAS,OAAA;AAAE,6GAAA,mBAAmB,OAAA;AAAE,kHAAA,wBAAwB,OAAA;AAAE,yGAAA,eAAe,OAAA;AAAE,+FAAA,KAAK,OAAA;AAAE,4GAAA,kBAAkB,OAAA;AAAE,8GAAA,oBAAoB,OAAA;AAAE,qGAAA,WAAW,OAAA;AAChJ,mDAA0V;AAAjV,iHAAA,eAAe,OAAA;AAAE,kHAAA,gBAAgB,OAAA;AAAE,+GAAA,aAAa,OAAA;AAAE,+GAAA,aAAa,OAAA;AAAE,oHAAA,kBAAkB,OAAA;AAAE,iHAAA,eAAe,OAAA;AAAE,+GAAA,aAAa,OAAA;AAAE,kHAAA,gBAAgB,OAAA;AAAE,gHAAA,cAAc,OAAA;AAAE,wHAAA,sBAAsB,OAAA;AAAE,oHAAA,kBAAkB,OAAA;AAAE,8GAAA,YAAY,OAAA;AAAE,sGAAA,IAAI,OAAA;AAAE,0GAAA,QAAQ,OAAA;AAAE,yGAAA,OAAO,OAAA;AAAE,uGAAA,KAAK,OAAA;AAAE,qHAAA,mBAAmB,OAAA;AAAE,4HAAA,0BAA0B,OAAA;AAAE,qGAAA,GAAG,OAAA;AAAE,gHAAA,cAAc,OAAA;AAC9T,qCAAgG;AAAvF,gHAAA,qBAAqB,OAAA;AAAE,kGAAA,OAAO,OAAA;AAAE,+GAAA,oBAAoB,OAAA;AAAE,uGAAA,YAAY,OAAA;AAC3E,yDAAoG;AAA3F,qHAAA,oBAAoB,OAAA;AAAE,qHAAA,oBAAoB,OAAA;AAAE,6GAAA,YAAY,OAAA;AACjE,+DAAsF;AAA7E,iIAAA,yBAAyB,OAAA;AAAE,wHAAA,gBAAgB,OAAA;AAOpD,iEAAoE;AAA3D,oHAAA,kBAAkB,OAAA","sourcesContent":["// `niceeval/analysis` is the public author surface for statistical meaning.\n// The separate public Host SDK issues Sample capabilities; Record readers stay\n// in its private binding map, while Report receives rows, frames, and values.\nexport { aggregate, attemptEvidenceView, attemptObservabilityView, fileChangesView, query, sandboxHistoryView, sourceNavigationView, sourcesView, } from \"./api.ts\";\nexport { allLogicalSlots, attemptLatencyMs, attemptTokens, attemptPassed, attemptToolFailure, defineDimension, defineMeasure, definePopulation, defineRelation, latestCompletedAttempt, logicalSlotMembers, logicalSlots, mean, oneValue, partial, ratio, requireSameProducer, retainContributingEvidence, sum, sumAcrossSlots, } from \"./definitions.ts\";\nexport { builtInPricingProfile, costUSD, definePricingProfile, totalCostUSD, } from \"./cost.ts\";\nexport { decodeSampleSnapshot, encodeSampleSnapshot, narrowSample, } from \"../sample/capability.ts\";\nexport { experimentComparisonScope, experimentGroups, } from \"./experiment-groups.ts\";\nexport type { AggregateRequest, AggregateRow, AttemptEvidenceDomainView, AttemptObservabilityDomainView, BuiltinDomainView, BuiltinDomainViewKind, ClosedDomainEntry, DimensionSet, DomainViewQuery, DomainViewRequest, FileChangesDomainView, FrameQuery, MeasureSet, MeasureCell, SandboxHistoryDomainView, SemanticFrame, SemanticRow, SourceNavigationDomainView, SourcesDomainView, } from \"./api.ts\";\nexport type { CostBasis, CostComponent, CostCoverageReason, CostCoverageReasonCode, CostLedgerEntry, CostMeasure, CostMetricValue, CostProjectionAggregate, CostProjectionKnown, CostProjectionMigrationRequired, CostProjectionProfile, CostProjectionState, CostProjectionUnavailable, CostProjectionValue, EstimatedRequestCostComponent, EstimatedTokenCostComponent, ObservedCostComponent, ObservedOtherCurrency, PricedCoverage, PricedCoverageInput, PricingCharge, PricingChargeInput, PricingCoverage, PricingCoverageId, PricingCoverageInput, PricingDisplay, PricingDisplayInput, PricingEffectiveCondition, PricingEffectiveConditionInput, PricingProfile, PricingProfileContentIdentity, PricingProfileInput, PricingProvenance, PricingProvenanceInput, PricingSelector, PricingSelectorInput, ProjectedMoney, RequestPricingCharge, RequestPricingChargeInput, TokenPricingCharge, TokenPricingChargeInput, UnpricedCoverage, UnpricedCoverageInput, } from \"./cost.ts\";\nexport type { AttemptEvidenceDomainDetail, AttemptObservabilityDomainDetail, BuiltinDomainDetail, ClosedBlobContent, ClosedAssertionCollectionReceipt, ClosedAssertionContribution, ClosedAssertionCoverage, ClosedAssertionLimitation, ClosedAssertionDecision, ClosedAssertionDisplay, ClosedAssertionFactField, ClosedAssertionFactValue, ClosedAssertionObserved, ClosedAssertionPolicy, ClosedAssertionSource, ClosedAssertionSourceSite, ClosedCommandEntry, ClosedCommandInvocation, ClosedCommandOutcome, ClosedCommandStream, ClosedCommandWorkingDirectory, ClosedCommandsDetail, ClosedConversationDetail, ClosedConversationItem, ClosedConversationTurn, ClosedDiagnosticRedaction, ClosedDiagnosticsDetail, ClosedFileChange, ClosedFileChangeEndpoint, ClosedFileChangeWindow, ClosedFileChangesAttribution, ClosedFileChangesCollection, ClosedFileChangesCollectionLimitation, ClosedFileRevision, ClosedSourceFrame, ClosedTimingDetail, ClosedTimingInterval, ClosedTraceCollection, ClosedUsageDetail, ClosedUsageObservation, FileChangesDomainDetail, FileChangesNet, SourceNavigationDomainDetail, SourcesDomainDetail, } from \"./domain-view.ts\";\nexport type { AcrossSlotsReduction, AnalysisDefinitionError, AnalysisInput, Denominator, Dimension, DimensionValue, EvidencePolicy, LogicalSlot, Measure, MeasureOptions, MissingPolicy, Population, PopulationMembers, ProducerPolicy, Relation, RelationTarget, WithinAttemptReduction, WithinSlotReduction, } from \"./definitions.ts\";\nexport type { AnalysisCurrentSlotIdentity, AnalysisSlotOccurrenceIdentity, AnalysisRun, AnalysisRunContext, AnalysisRunExecution, AnalysisSelectionRequest, AnalysisSelectionSummary, EvalId, ExecutionIdentityDigest, AnalysisSlot, AnalysisIssue, AnalysisRequestError, SampleClosedError, SampleIdentity, AttemptId, ClosedRows, ClosedRowsIdentity, DomainView, EvidenceIdentity, EvidenceRef, ExperimentId, ExperimentComparisonScope, ExperimentComparisonState, ExperimentGroupIdentity, JsonValue, MeasureFormat, MetricBasis, MetricState, MetricValue, NonComparableIssue, NonComparableReason, PopulationIdentity, ProducerIdentity, RunId, Sample, SampleCoverage, SampleSelector, SampleSnapshot, SampleSnapshotCodecError, SlotId, } from \"./contracts.ts\";\nexport type { ExperimentGroupSummary } from \"./experiment-groups.ts\";\nexport { ExperimentIdSchema } from \"../record/codec/identifiers.ts\";\n"]}
|
|
@@ -5,7 +5,7 @@ export { decodeSampleSnapshot, encodeSampleSnapshot, narrowSample, } from "../sa
|
|
|
5
5
|
export { experimentComparisonScope, experimentGroups, } from "./experiment-groups.cjs";
|
|
6
6
|
export type { AggregateRequest, AggregateRow, AttemptEvidenceDomainView, AttemptObservabilityDomainView, BuiltinDomainView, BuiltinDomainViewKind, ClosedDomainEntry, DimensionSet, DomainViewQuery, DomainViewRequest, FileChangesDomainView, FrameQuery, MeasureSet, MeasureCell, SandboxHistoryDomainView, SemanticFrame, SemanticRow, SourceNavigationDomainView, SourcesDomainView, } from "./api.cjs";
|
|
7
7
|
export type { CostBasis, CostComponent, CostCoverageReason, CostCoverageReasonCode, CostLedgerEntry, CostMeasure, CostMetricValue, CostProjectionAggregate, CostProjectionKnown, CostProjectionMigrationRequired, CostProjectionProfile, CostProjectionState, CostProjectionUnavailable, CostProjectionValue, EstimatedRequestCostComponent, EstimatedTokenCostComponent, ObservedCostComponent, ObservedOtherCurrency, PricedCoverage, PricedCoverageInput, PricingCharge, PricingChargeInput, PricingCoverage, PricingCoverageId, PricingCoverageInput, PricingDisplay, PricingDisplayInput, PricingEffectiveCondition, PricingEffectiveConditionInput, PricingProfile, PricingProfileContentIdentity, PricingProfileInput, PricingProvenance, PricingProvenanceInput, PricingSelector, PricingSelectorInput, ProjectedMoney, RequestPricingCharge, RequestPricingChargeInput, TokenPricingCharge, TokenPricingChargeInput, UnpricedCoverage, UnpricedCoverageInput, } from "./cost.cjs";
|
|
8
|
-
export type { AttemptEvidenceDomainDetail, AttemptObservabilityDomainDetail, BuiltinDomainDetail, ClosedBlobContent, ClosedCommandEntry, ClosedCommandInvocation, ClosedCommandOutcome, ClosedCommandStream, ClosedCommandWorkingDirectory, ClosedCommandsDetail, ClosedConversationDetail, ClosedConversationItem, ClosedConversationTurn, ClosedDiagnosticRedaction, ClosedDiagnosticsDetail, ClosedFileChange, ClosedFileChangeEndpoint, ClosedFileChangeWindow, ClosedFileChangesAttribution, ClosedFileChangesCollection, ClosedFileChangesCollectionLimitation, ClosedFileRevision, ClosedSourceFrame, ClosedTimingDetail, ClosedTimingInterval, ClosedTraceCollection, ClosedUsageDetail, ClosedUsageObservation, FileChangesDomainDetail, FileChangesNet, SourceNavigationDomainDetail, SourcesDomainDetail, } from "./domain-view.cjs";
|
|
8
|
+
export type { AttemptEvidenceDomainDetail, AttemptObservabilityDomainDetail, BuiltinDomainDetail, ClosedBlobContent, ClosedAssertionCollectionReceipt, ClosedAssertionContribution, ClosedAssertionCoverage, ClosedAssertionLimitation, ClosedAssertionDecision, ClosedAssertionDisplay, ClosedAssertionFactField, ClosedAssertionFactValue, ClosedAssertionObserved, ClosedAssertionPolicy, ClosedAssertionSource, ClosedAssertionSourceSite, ClosedCommandEntry, ClosedCommandInvocation, ClosedCommandOutcome, ClosedCommandStream, ClosedCommandWorkingDirectory, ClosedCommandsDetail, ClosedConversationDetail, ClosedConversationItem, ClosedConversationTurn, ClosedDiagnosticRedaction, ClosedDiagnosticsDetail, ClosedFileChange, ClosedFileChangeEndpoint, ClosedFileChangeWindow, ClosedFileChangesAttribution, ClosedFileChangesCollection, ClosedFileChangesCollectionLimitation, ClosedFileRevision, ClosedSourceFrame, ClosedTimingDetail, ClosedTimingInterval, ClosedTraceCollection, ClosedUsageDetail, ClosedUsageObservation, FileChangesDomainDetail, FileChangesNet, SourceNavigationDomainDetail, SourcesDomainDetail, } from "./domain-view.cjs";
|
|
9
9
|
export type { AcrossSlotsReduction, AnalysisDefinitionError, AnalysisInput, Denominator, Dimension, DimensionValue, EvidencePolicy, LogicalSlot, Measure, MeasureOptions, MissingPolicy, Population, PopulationMembers, ProducerPolicy, Relation, RelationTarget, WithinAttemptReduction, WithinSlotReduction, } from "./definitions.cjs";
|
|
10
10
|
export type { AnalysisCurrentSlotIdentity, AnalysisSlotOccurrenceIdentity, AnalysisRun, AnalysisRunContext, AnalysisRunExecution, AnalysisSelectionRequest, AnalysisSelectionSummary, EvalId, ExecutionIdentityDigest, AnalysisSlot, AnalysisIssue, AnalysisRequestError, SampleClosedError, SampleIdentity, AttemptId, ClosedRows, ClosedRowsIdentity, DomainView, EvidenceIdentity, EvidenceRef, ExperimentId, ExperimentComparisonScope, ExperimentComparisonState, ExperimentGroupIdentity, JsonValue, MeasureFormat, MetricBasis, MetricState, MetricValue, NonComparableIssue, NonComparableReason, PopulationIdentity, ProducerIdentity, RunId, Sample, SampleCoverage, SampleSelector, SampleSnapshot, SampleSnapshotCodecError, SlotId, } from "./contracts.cjs";
|
|
11
11
|
export type { ExperimentGroupSummary } from "./experiment-groups.cjs";
|
|
@@ -5,7 +5,7 @@ export { decodeSampleSnapshot, encodeSampleSnapshot, narrowSample, } from "../sa
|
|
|
5
5
|
export { experimentComparisonScope, experimentGroups, } from "./experiment-groups.mjs";
|
|
6
6
|
export type { AggregateRequest, AggregateRow, AttemptEvidenceDomainView, AttemptObservabilityDomainView, BuiltinDomainView, BuiltinDomainViewKind, ClosedDomainEntry, DimensionSet, DomainViewQuery, DomainViewRequest, FileChangesDomainView, FrameQuery, MeasureSet, MeasureCell, SandboxHistoryDomainView, SemanticFrame, SemanticRow, SourceNavigationDomainView, SourcesDomainView, } from "./api.mjs";
|
|
7
7
|
export type { CostBasis, CostComponent, CostCoverageReason, CostCoverageReasonCode, CostLedgerEntry, CostMeasure, CostMetricValue, CostProjectionAggregate, CostProjectionKnown, CostProjectionMigrationRequired, CostProjectionProfile, CostProjectionState, CostProjectionUnavailable, CostProjectionValue, EstimatedRequestCostComponent, EstimatedTokenCostComponent, ObservedCostComponent, ObservedOtherCurrency, PricedCoverage, PricedCoverageInput, PricingCharge, PricingChargeInput, PricingCoverage, PricingCoverageId, PricingCoverageInput, PricingDisplay, PricingDisplayInput, PricingEffectiveCondition, PricingEffectiveConditionInput, PricingProfile, PricingProfileContentIdentity, PricingProfileInput, PricingProvenance, PricingProvenanceInput, PricingSelector, PricingSelectorInput, ProjectedMoney, RequestPricingCharge, RequestPricingChargeInput, TokenPricingCharge, TokenPricingChargeInput, UnpricedCoverage, UnpricedCoverageInput, } from "./cost.mjs";
|
|
8
|
-
export type { AttemptEvidenceDomainDetail, AttemptObservabilityDomainDetail, BuiltinDomainDetail, ClosedBlobContent, ClosedCommandEntry, ClosedCommandInvocation, ClosedCommandOutcome, ClosedCommandStream, ClosedCommandWorkingDirectory, ClosedCommandsDetail, ClosedConversationDetail, ClosedConversationItem, ClosedConversationTurn, ClosedDiagnosticRedaction, ClosedDiagnosticsDetail, ClosedFileChange, ClosedFileChangeEndpoint, ClosedFileChangeWindow, ClosedFileChangesAttribution, ClosedFileChangesCollection, ClosedFileChangesCollectionLimitation, ClosedFileRevision, ClosedSourceFrame, ClosedTimingDetail, ClosedTimingInterval, ClosedTraceCollection, ClosedUsageDetail, ClosedUsageObservation, FileChangesDomainDetail, FileChangesNet, SourceNavigationDomainDetail, SourcesDomainDetail, } from "./domain-view.mjs";
|
|
8
|
+
export type { AttemptEvidenceDomainDetail, AttemptObservabilityDomainDetail, BuiltinDomainDetail, ClosedBlobContent, ClosedAssertionCollectionReceipt, ClosedAssertionContribution, ClosedAssertionCoverage, ClosedAssertionLimitation, ClosedAssertionDecision, ClosedAssertionDisplay, ClosedAssertionFactField, ClosedAssertionFactValue, ClosedAssertionObserved, ClosedAssertionPolicy, ClosedAssertionSource, ClosedAssertionSourceSite, ClosedCommandEntry, ClosedCommandInvocation, ClosedCommandOutcome, ClosedCommandStream, ClosedCommandWorkingDirectory, ClosedCommandsDetail, ClosedConversationDetail, ClosedConversationItem, ClosedConversationTurn, ClosedDiagnosticRedaction, ClosedDiagnosticsDetail, ClosedFileChange, ClosedFileChangeEndpoint, ClosedFileChangeWindow, ClosedFileChangesAttribution, ClosedFileChangesCollection, ClosedFileChangesCollectionLimitation, ClosedFileRevision, ClosedSourceFrame, ClosedTimingDetail, ClosedTimingInterval, ClosedTraceCollection, ClosedUsageDetail, ClosedUsageObservation, FileChangesDomainDetail, FileChangesNet, SourceNavigationDomainDetail, SourcesDomainDetail, } from "./domain-view.mjs";
|
|
9
9
|
export type { AcrossSlotsReduction, AnalysisDefinitionError, AnalysisInput, Denominator, Dimension, DimensionValue, EvidencePolicy, LogicalSlot, Measure, MeasureOptions, MissingPolicy, Population, PopulationMembers, ProducerPolicy, Relation, RelationTarget, WithinAttemptReduction, WithinSlotReduction, } from "./definitions.mjs";
|
|
10
10
|
export type { AnalysisCurrentSlotIdentity, AnalysisSlotOccurrenceIdentity, AnalysisRun, AnalysisRunContext, AnalysisRunExecution, AnalysisSelectionRequest, AnalysisSelectionSummary, EvalId, ExecutionIdentityDigest, AnalysisSlot, AnalysisIssue, AnalysisRequestError, SampleClosedError, SampleIdentity, AttemptId, ClosedRows, ClosedRowsIdentity, DomainView, EvidenceIdentity, EvidenceRef, ExperimentId, ExperimentComparisonScope, ExperimentComparisonState, ExperimentGroupIdentity, JsonValue, MeasureFormat, MetricBasis, MetricState, MetricValue, NonComparableIssue, NonComparableReason, PopulationIdentity, ProducerIdentity, RunId, Sample, SampleCoverage, SampleSelector, SampleSnapshot, SampleSnapshotCodecError, SlotId, } from "./contracts.mjs";
|
|
11
11
|
export type { ExperimentGroupSummary } from "./experiment-groups.mjs";
|
package/dist/analysis/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export { decodeSampleSnapshot, encodeSampleSnapshot, narrowSample, } from "../sa
|
|
|
5
5
|
export { experimentComparisonScope, experimentGroups, } from "./experiment-groups.js";
|
|
6
6
|
export type { AggregateRequest, AggregateRow, AttemptEvidenceDomainView, AttemptObservabilityDomainView, BuiltinDomainView, BuiltinDomainViewKind, ClosedDomainEntry, DimensionSet, DomainViewQuery, DomainViewRequest, FileChangesDomainView, FrameQuery, MeasureSet, MeasureCell, SandboxHistoryDomainView, SemanticFrame, SemanticRow, SourceNavigationDomainView, SourcesDomainView, } from "./api.js";
|
|
7
7
|
export type { CostBasis, CostComponent, CostCoverageReason, CostCoverageReasonCode, CostLedgerEntry, CostMeasure, CostMetricValue, CostProjectionAggregate, CostProjectionKnown, CostProjectionMigrationRequired, CostProjectionProfile, CostProjectionState, CostProjectionUnavailable, CostProjectionValue, EstimatedRequestCostComponent, EstimatedTokenCostComponent, ObservedCostComponent, ObservedOtherCurrency, PricedCoverage, PricedCoverageInput, PricingCharge, PricingChargeInput, PricingCoverage, PricingCoverageId, PricingCoverageInput, PricingDisplay, PricingDisplayInput, PricingEffectiveCondition, PricingEffectiveConditionInput, PricingProfile, PricingProfileContentIdentity, PricingProfileInput, PricingProvenance, PricingProvenanceInput, PricingSelector, PricingSelectorInput, ProjectedMoney, RequestPricingCharge, RequestPricingChargeInput, TokenPricingCharge, TokenPricingChargeInput, UnpricedCoverage, UnpricedCoverageInput, } from "./cost.js";
|
|
8
|
-
export type { AttemptEvidenceDomainDetail, AttemptObservabilityDomainDetail, BuiltinDomainDetail, ClosedBlobContent, ClosedCommandEntry, ClosedCommandInvocation, ClosedCommandOutcome, ClosedCommandStream, ClosedCommandWorkingDirectory, ClosedCommandsDetail, ClosedConversationDetail, ClosedConversationItem, ClosedConversationTurn, ClosedDiagnosticRedaction, ClosedDiagnosticsDetail, ClosedFileChange, ClosedFileChangeEndpoint, ClosedFileChangeWindow, ClosedFileChangesAttribution, ClosedFileChangesCollection, ClosedFileChangesCollectionLimitation, ClosedFileRevision, ClosedSourceFrame, ClosedTimingDetail, ClosedTimingInterval, ClosedTraceCollection, ClosedUsageDetail, ClosedUsageObservation, FileChangesDomainDetail, FileChangesNet, SourceNavigationDomainDetail, SourcesDomainDetail, } from "./domain-view.js";
|
|
8
|
+
export type { AttemptEvidenceDomainDetail, AttemptObservabilityDomainDetail, BuiltinDomainDetail, ClosedBlobContent, ClosedAssertionCollectionReceipt, ClosedAssertionContribution, ClosedAssertionCoverage, ClosedAssertionLimitation, ClosedAssertionDecision, ClosedAssertionDisplay, ClosedAssertionFactField, ClosedAssertionFactValue, ClosedAssertionObserved, ClosedAssertionPolicy, ClosedAssertionSource, ClosedAssertionSourceSite, ClosedCommandEntry, ClosedCommandInvocation, ClosedCommandOutcome, ClosedCommandStream, ClosedCommandWorkingDirectory, ClosedCommandsDetail, ClosedConversationDetail, ClosedConversationItem, ClosedConversationTurn, ClosedDiagnosticRedaction, ClosedDiagnosticsDetail, ClosedFileChange, ClosedFileChangeEndpoint, ClosedFileChangeWindow, ClosedFileChangesAttribution, ClosedFileChangesCollection, ClosedFileChangesCollectionLimitation, ClosedFileRevision, ClosedSourceFrame, ClosedTimingDetail, ClosedTimingInterval, ClosedTraceCollection, ClosedUsageDetail, ClosedUsageObservation, FileChangesDomainDetail, FileChangesNet, SourceNavigationDomainDetail, SourcesDomainDetail, } from "./domain-view.js";
|
|
9
9
|
export type { AcrossSlotsReduction, AnalysisDefinitionError, AnalysisInput, Denominator, Dimension, DimensionValue, EvidencePolicy, LogicalSlot, Measure, MeasureOptions, MissingPolicy, Population, PopulationMembers, ProducerPolicy, Relation, RelationTarget, WithinAttemptReduction, WithinSlotReduction, } from "./definitions.js";
|
|
10
10
|
export type { AnalysisCurrentSlotIdentity, AnalysisSlotOccurrenceIdentity, AnalysisRun, AnalysisRunContext, AnalysisRunExecution, AnalysisSelectionRequest, AnalysisSelectionSummary, EvalId, ExecutionIdentityDigest, AnalysisSlot, AnalysisIssue, AnalysisRequestError, SampleClosedError, SampleIdentity, AttemptId, ClosedRows, ClosedRowsIdentity, DomainView, EvidenceIdentity, EvidenceRef, ExperimentId, ExperimentComparisonScope, ExperimentComparisonState, ExperimentGroupIdentity, JsonValue, MeasureFormat, MetricBasis, MetricState, MetricValue, NonComparableIssue, NonComparableReason, PopulationIdentity, ProducerIdentity, RunId, Sample, SampleCoverage, SampleSelector, SampleSnapshot, SampleSnapshotCodecError, SlotId, } from "./contracts.js";
|
|
11
11
|
export type { ExperimentGroupSummary } from "./experiment-groups.js";
|