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
|
@@ -23,11 +23,107 @@ export declare const AssertionSourceSiteSchema: Schema.Struct<{
|
|
|
23
23
|
}>;
|
|
24
24
|
export type AssertionSourceSite = Schema.Schema.Type<typeof AssertionSourceSiteSchema>;
|
|
25
25
|
/** Reuse the existing v1 entry schema inside the one direct attachment schema. */
|
|
26
|
-
export declare const AssertionsEntriesSchema: Schema.filter<Schema.Array$<Schema.
|
|
26
|
+
export declare const AssertionsEntriesSchema: Schema.filter<Schema.Array$<Schema.Struct<{
|
|
27
|
+
entryId: Schema.Schema<import("../../index.js").AssertionEntryId, string, never>;
|
|
28
|
+
display: Schema.Schema<import("../../assertions/record/model.js").AssertionDisplay, import("../../assertions/record/model.js").AssertionDisplay, never>;
|
|
29
|
+
criterion: Schema.Union<[Schema.Struct<{
|
|
30
|
+
state: Schema.Literal<["available"]>;
|
|
31
|
+
value: Schema.Schema<import("../../assertions/record/model.js").BoundedJsonObject, import("../../assertions/record/model.js").BoundedJsonObject, never>;
|
|
32
|
+
}>, Schema.Struct<{
|
|
33
|
+
state: Schema.Literal<["unavailable"]>;
|
|
34
|
+
reason: Schema.Literal<["not-recorded"]>;
|
|
35
|
+
}>]>;
|
|
36
|
+
materials: Schema.filter<Schema.Struct<{
|
|
37
|
+
source: Schema.Union<[Schema.Struct<{
|
|
38
|
+
kind: Schema.Literal<["unavailable"]>;
|
|
39
|
+
reason: Schema.Literal<["not-recorded"]>;
|
|
40
|
+
}>, Schema.Struct<{
|
|
41
|
+
kind: Schema.Literal<["snapshot"]>;
|
|
42
|
+
value: Schema.Schema<import("../../assertions/record/model.js").BoundedJsonValue, import("../../assertions/record/model.js").BoundedJsonValue, never>;
|
|
43
|
+
}>, Schema.Struct<{
|
|
44
|
+
kind: Schema.Literal<["blob"]>;
|
|
45
|
+
ref: Schema.Schema<RecordBlobRef, RecordBlobRef, never>;
|
|
46
|
+
encoding: Schema.Literal<["utf-8", "binary"]>;
|
|
47
|
+
byteLength: Schema.filter<typeof Schema.JsonNumber>;
|
|
48
|
+
sha256: Schema.Schema<import("../model/identifiers.js").Sha256Digest, string, never>;
|
|
49
|
+
preview: Schema.filter<typeof Schema.String>;
|
|
50
|
+
}>]>;
|
|
51
|
+
evidence: Schema.Array$<Schema.Union<[Schema.Struct<{
|
|
52
|
+
kind: Schema.Literal<["unavailable"]>;
|
|
53
|
+
reason: Schema.Literal<["not-recorded"]>;
|
|
54
|
+
}>, Schema.Struct<{
|
|
55
|
+
kind: Schema.Literal<["snapshot"]>;
|
|
56
|
+
value: Schema.Schema<import("../../assertions/record/model.js").BoundedJsonValue, import("../../assertions/record/model.js").BoundedJsonValue, never>;
|
|
57
|
+
}>, Schema.Struct<{
|
|
58
|
+
kind: Schema.Literal<["blob"]>;
|
|
59
|
+
ref: Schema.Schema<RecordBlobRef, RecordBlobRef, never>;
|
|
60
|
+
encoding: Schema.Literal<["utf-8", "binary"]>;
|
|
61
|
+
byteLength: Schema.filter<typeof Schema.JsonNumber>;
|
|
62
|
+
sha256: Schema.Schema<import("../model/identifiers.js").Sha256Digest, string, never>;
|
|
63
|
+
preview: Schema.filter<typeof Schema.String>;
|
|
64
|
+
}>]>>;
|
|
65
|
+
coverage: Schema.Schema<import("../../assertions/record/model.js").AssertionCoverage, import("../../assertions/record/model.js").AssertionCoverage, never>;
|
|
66
|
+
limitations: Schema.Array$<Schema.Schema<import("../../assertions/record/model.js").AssertionLimitation, import("../../assertions/record/model.js").AssertionLimitation, never>>;
|
|
67
|
+
}>>;
|
|
68
|
+
evaluation: Schema.Struct<{
|
|
69
|
+
observed: Schema.Schema<import("../../assertions/record/model.js").AssertionFactValue, import("../../assertions/record/model.js").AssertionFactValue, never>;
|
|
70
|
+
receipt: Schema.optional<Schema.Struct<{
|
|
71
|
+
examined: Schema.filter<typeof Schema.JsonNumber>;
|
|
72
|
+
matched: Schema.filter<typeof Schema.JsonNumber>;
|
|
73
|
+
mismatched: Schema.filter<typeof Schema.JsonNumber>;
|
|
74
|
+
unavailable: Schema.filter<typeof Schema.JsonNumber>;
|
|
75
|
+
knownTotal: Schema.NullOr<Schema.filter<typeof Schema.JsonNumber>>;
|
|
76
|
+
complete: typeof Schema.Boolean;
|
|
77
|
+
exhaustive: typeof Schema.Boolean;
|
|
78
|
+
decisive: typeof Schema.Boolean;
|
|
79
|
+
}>>;
|
|
80
|
+
}>;
|
|
81
|
+
decision: Schema.Struct<{
|
|
82
|
+
result: Schema.Literal<["matched", "mismatched", "unavailable", "errored", "not-applicable"]>;
|
|
83
|
+
reason: Schema.NullOr<Schema.Literal<["condition-not-met", "evidence-unavailable", "source-unavailable", "redacted", "evaluator-failed", "producer-interrupted", "invalid-subject", "coverage-not-applicable"]>>;
|
|
84
|
+
gate: Schema.Literal<["not-gate", "satisfied", "failed", "unavailable", "not-applicable"]>;
|
|
85
|
+
}>;
|
|
86
|
+
policy: Schema.Struct<{
|
|
87
|
+
requirement: Schema.Union<[Schema.Struct<{
|
|
88
|
+
state: Schema.Literal<["available"]>;
|
|
89
|
+
value: Schema.Literal<["required", "optional"]>;
|
|
90
|
+
}>, Schema.Struct<{
|
|
91
|
+
state: Schema.Literal<["unavailable"]>;
|
|
92
|
+
reason: Schema.Literal<["not-recorded"]>;
|
|
93
|
+
}>]>;
|
|
94
|
+
condition: Schema.Union<[Schema.Struct<{
|
|
95
|
+
state: Schema.Literal<["available"]>;
|
|
96
|
+
value: Schema.Union<[Schema.Struct<{
|
|
97
|
+
kind: Schema.Literal<["boolean"]>;
|
|
98
|
+
expected: Schema.Literal<[true]>;
|
|
99
|
+
}>, Schema.Struct<{
|
|
100
|
+
kind: Schema.Literal<["at-least"]>;
|
|
101
|
+
threshold: Schema.filter<typeof Schema.JsonNumber>;
|
|
102
|
+
}>, Schema.Struct<{
|
|
103
|
+
kind: Schema.Literal<["record-only"]>;
|
|
104
|
+
}>]>;
|
|
105
|
+
}>, Schema.Struct<{
|
|
106
|
+
state: Schema.Literal<["unavailable"]>;
|
|
107
|
+
reason: Schema.Literal<["not-recorded"]>;
|
|
108
|
+
}>]>;
|
|
109
|
+
}>;
|
|
110
|
+
contribution: Schema.Union<[Schema.Schema<import("../../assertions/record/model.js").NoScoreContribution, import("../../assertions/record/model.js").NoScoreContribution, never>, Schema.Schema<import("../../assertions/record/model.js").EarnedScoreContribution, import("../../assertions/record/model.js").EarnedScoreContribution, never>, Schema.Schema<import("../../assertions/record/model.js").UnavailableScoreContribution, import("../../assertions/record/model.js").UnavailableScoreContribution, never>]>;
|
|
111
|
+
explanationRetention: Schema.Union<[Schema.Struct<{
|
|
112
|
+
state: Schema.Literal<["retained"]>;
|
|
113
|
+
value: Schema.Schema<import("../../assertions/record/model.js").AssertionFactValue, import("../../assertions/record/model.js").AssertionFactValue, never>;
|
|
114
|
+
}>, Schema.Struct<{
|
|
115
|
+
state: Schema.Literal<["unavailable"]>;
|
|
116
|
+
reason: Schema.Literal<["not-recorded"]>;
|
|
117
|
+
}>]>;
|
|
118
|
+
}>>>;
|
|
119
|
+
export declare const AssertionsEntriesV1Schema: Schema.filter<Schema.Array$<Schema.filter<Schema.Struct<{
|
|
27
120
|
entryId: Schema.Schema<import("../../index.js").AssertionEntryId, string, never>;
|
|
28
121
|
display: Schema.Schema<import("../../assertions/record/model.js").AssertionDisplay, import("../../assertions/record/model.js").AssertionDisplay, never>;
|
|
29
122
|
criterion: Schema.Schema<import("../../assertions/record/model.js").BoundedJsonObject, import("../../assertions/record/model.js").BoundedJsonObject, never>;
|
|
30
123
|
subject: Schema.Union<[Schema.Struct<{
|
|
124
|
+
kind: Schema.Literal<["unavailable"]>;
|
|
125
|
+
reason: Schema.Literal<["not-recorded"]>;
|
|
126
|
+
}>, Schema.Struct<{
|
|
31
127
|
kind: Schema.Literal<["snapshot"]>;
|
|
32
128
|
value: Schema.Schema<import("../../assertions/record/model.js").BoundedJsonValue, import("../../assertions/record/model.js").BoundedJsonValue, never>;
|
|
33
129
|
}>, Schema.Struct<{
|
|
@@ -39,6 +135,9 @@ export declare const AssertionsEntriesSchema: Schema.filter<Schema.Array$<Schema
|
|
|
39
135
|
preview: Schema.filter<typeof Schema.String>;
|
|
40
136
|
}>]>;
|
|
41
137
|
evidence: Schema.Array$<Schema.Union<[Schema.Struct<{
|
|
138
|
+
kind: Schema.Literal<["unavailable"]>;
|
|
139
|
+
reason: Schema.Literal<["not-recorded"]>;
|
|
140
|
+
}>, Schema.Struct<{
|
|
42
141
|
kind: Schema.Literal<["snapshot"]>;
|
|
43
142
|
value: Schema.Schema<import("../../assertions/record/model.js").BoundedJsonValue, import("../../assertions/record/model.js").BoundedJsonValue, never>;
|
|
44
143
|
}>, Schema.Struct<{
|
|
@@ -74,11 +173,231 @@ export declare const AssertionSourceSitesSchema: Schema.Array$<Schema.Struct<{
|
|
|
74
173
|
*/
|
|
75
174
|
/** One direct current schema: Type fields and durable keys share all v1 filters. */
|
|
76
175
|
export declare const AssertionsAttachmentSchema: Schema.filter<Schema.filter<Schema.filter<Schema.filter<Schema.Struct<{
|
|
176
|
+
entries: Schema.PropertySignature<":", readonly {
|
|
177
|
+
readonly evaluation: {
|
|
178
|
+
readonly receipt?: {
|
|
179
|
+
readonly complete: boolean;
|
|
180
|
+
readonly unavailable: number;
|
|
181
|
+
readonly matched: number;
|
|
182
|
+
readonly mismatched: number;
|
|
183
|
+
readonly knownTotal: number | null;
|
|
184
|
+
readonly examined: number;
|
|
185
|
+
readonly exhaustive: boolean;
|
|
186
|
+
readonly decisive: boolean;
|
|
187
|
+
} | undefined;
|
|
188
|
+
readonly observed: import("../../assertions/record/model.js").AssertionFactValue;
|
|
189
|
+
};
|
|
190
|
+
readonly display: import("../../assertions/record/model.js").AssertionDisplay;
|
|
191
|
+
readonly criterion: {
|
|
192
|
+
readonly value: import("../../assertions/record/model.js").BoundedJsonObject;
|
|
193
|
+
readonly state: "available";
|
|
194
|
+
} | {
|
|
195
|
+
readonly reason: "not-recorded";
|
|
196
|
+
readonly state: "unavailable";
|
|
197
|
+
};
|
|
198
|
+
readonly policy: {
|
|
199
|
+
readonly condition: {
|
|
200
|
+
readonly value: {
|
|
201
|
+
readonly expected: true;
|
|
202
|
+
readonly kind: "boolean";
|
|
203
|
+
} | {
|
|
204
|
+
readonly kind: "at-least";
|
|
205
|
+
readonly threshold: number;
|
|
206
|
+
} | {
|
|
207
|
+
readonly kind: "record-only";
|
|
208
|
+
};
|
|
209
|
+
readonly state: "available";
|
|
210
|
+
} | {
|
|
211
|
+
readonly reason: "not-recorded";
|
|
212
|
+
readonly state: "unavailable";
|
|
213
|
+
};
|
|
214
|
+
readonly requirement: {
|
|
215
|
+
readonly value: "optional" | "required";
|
|
216
|
+
readonly state: "available";
|
|
217
|
+
} | {
|
|
218
|
+
readonly reason: "not-recorded";
|
|
219
|
+
readonly state: "unavailable";
|
|
220
|
+
};
|
|
221
|
+
};
|
|
222
|
+
readonly decision: {
|
|
223
|
+
readonly reason: "redacted" | "evidence-unavailable" | "source-unavailable" | "condition-not-met" | "evaluator-failed" | "producer-interrupted" | "invalid-subject" | "coverage-not-applicable" | null;
|
|
224
|
+
readonly gate: "failed" | "unavailable" | "not-applicable" | "not-gate" | "satisfied";
|
|
225
|
+
readonly result: "errored" | "unavailable" | "matched" | "mismatched" | "not-applicable";
|
|
226
|
+
};
|
|
227
|
+
readonly contribution: import("../../assertions/record/model.js").NoScoreContribution | import("../../assertions/record/model.js").EarnedScoreContribution | import("../../assertions/record/model.js").UnavailableScoreContribution;
|
|
228
|
+
readonly entryId: import("../../index.js").AssertionEntryId;
|
|
229
|
+
readonly materials: {
|
|
230
|
+
readonly source: {
|
|
231
|
+
readonly reason: "not-recorded";
|
|
232
|
+
readonly kind: "unavailable";
|
|
233
|
+
} | {
|
|
234
|
+
readonly value: import("../../assertions/record/model.js").BoundedJsonValue;
|
|
235
|
+
readonly kind: "snapshot";
|
|
236
|
+
} | {
|
|
237
|
+
readonly kind: "blob";
|
|
238
|
+
readonly ref: RecordBlobRef;
|
|
239
|
+
readonly sha256: import("../model/identifiers.js").Sha256Digest;
|
|
240
|
+
readonly encoding: "utf-8" | "binary";
|
|
241
|
+
readonly preview: string;
|
|
242
|
+
readonly byteLength: number;
|
|
243
|
+
};
|
|
244
|
+
readonly coverage: import("../../assertions/record/model.js").AssertionCoverage;
|
|
245
|
+
readonly limitations: readonly import("../../assertions/record/model.js").AssertionLimitation[];
|
|
246
|
+
readonly evidence: readonly ({
|
|
247
|
+
readonly reason: "not-recorded";
|
|
248
|
+
readonly kind: "unavailable";
|
|
249
|
+
} | {
|
|
250
|
+
readonly value: import("../../assertions/record/model.js").BoundedJsonValue;
|
|
251
|
+
readonly kind: "snapshot";
|
|
252
|
+
} | {
|
|
253
|
+
readonly kind: "blob";
|
|
254
|
+
readonly ref: RecordBlobRef;
|
|
255
|
+
readonly sha256: import("../model/identifiers.js").Sha256Digest;
|
|
256
|
+
readonly encoding: "utf-8" | "binary";
|
|
257
|
+
readonly preview: string;
|
|
258
|
+
readonly byteLength: number;
|
|
259
|
+
})[];
|
|
260
|
+
};
|
|
261
|
+
readonly explanationRetention: {
|
|
262
|
+
readonly value: import("../../assertions/record/model.js").AssertionFactValue;
|
|
263
|
+
readonly state: "retained";
|
|
264
|
+
} | {
|
|
265
|
+
readonly reason: "not-recorded";
|
|
266
|
+
readonly state: "unavailable";
|
|
267
|
+
};
|
|
268
|
+
}[], "entries-data", ":", readonly {
|
|
269
|
+
readonly evaluation: {
|
|
270
|
+
readonly observed: import("../../assertions/record/model.js").AssertionFactValue;
|
|
271
|
+
readonly receipt?: {
|
|
272
|
+
readonly complete: boolean;
|
|
273
|
+
readonly unavailable: number;
|
|
274
|
+
readonly matched: number;
|
|
275
|
+
readonly mismatched: number;
|
|
276
|
+
readonly knownTotal: number | null;
|
|
277
|
+
readonly examined: number;
|
|
278
|
+
readonly exhaustive: boolean;
|
|
279
|
+
readonly decisive: boolean;
|
|
280
|
+
} | undefined;
|
|
281
|
+
};
|
|
282
|
+
readonly display: import("../../assertions/record/model.js").AssertionDisplay;
|
|
283
|
+
readonly criterion: {
|
|
284
|
+
readonly value: import("../../assertions/record/model.js").BoundedJsonObject;
|
|
285
|
+
readonly state: "available";
|
|
286
|
+
} | {
|
|
287
|
+
readonly reason: "not-recorded";
|
|
288
|
+
readonly state: "unavailable";
|
|
289
|
+
};
|
|
290
|
+
readonly policy: {
|
|
291
|
+
readonly condition: {
|
|
292
|
+
readonly value: {
|
|
293
|
+
readonly expected: true;
|
|
294
|
+
readonly kind: "boolean";
|
|
295
|
+
} | {
|
|
296
|
+
readonly kind: "at-least";
|
|
297
|
+
readonly threshold: number;
|
|
298
|
+
} | {
|
|
299
|
+
readonly kind: "record-only";
|
|
300
|
+
};
|
|
301
|
+
readonly state: "available";
|
|
302
|
+
} | {
|
|
303
|
+
readonly reason: "not-recorded";
|
|
304
|
+
readonly state: "unavailable";
|
|
305
|
+
};
|
|
306
|
+
readonly requirement: {
|
|
307
|
+
readonly value: "optional" | "required";
|
|
308
|
+
readonly state: "available";
|
|
309
|
+
} | {
|
|
310
|
+
readonly reason: "not-recorded";
|
|
311
|
+
readonly state: "unavailable";
|
|
312
|
+
};
|
|
313
|
+
};
|
|
314
|
+
readonly decision: {
|
|
315
|
+
readonly reason: "redacted" | "evidence-unavailable" | "source-unavailable" | "condition-not-met" | "evaluator-failed" | "producer-interrupted" | "invalid-subject" | "coverage-not-applicable" | null;
|
|
316
|
+
readonly gate: "failed" | "unavailable" | "not-applicable" | "not-gate" | "satisfied";
|
|
317
|
+
readonly result: "errored" | "unavailable" | "matched" | "mismatched" | "not-applicable";
|
|
318
|
+
};
|
|
319
|
+
readonly contribution: import("../../assertions/record/model.js").NoScoreContribution | import("../../assertions/record/model.js").EarnedScoreContribution | import("../../assertions/record/model.js").UnavailableScoreContribution;
|
|
320
|
+
readonly entryId: string;
|
|
321
|
+
readonly materials: {
|
|
322
|
+
readonly source: {
|
|
323
|
+
readonly reason: "not-recorded";
|
|
324
|
+
readonly kind: "unavailable";
|
|
325
|
+
} | {
|
|
326
|
+
readonly value: import("../../assertions/record/model.js").BoundedJsonValue;
|
|
327
|
+
readonly kind: "snapshot";
|
|
328
|
+
} | {
|
|
329
|
+
readonly kind: "blob";
|
|
330
|
+
readonly ref: RecordBlobRef;
|
|
331
|
+
readonly sha256: string;
|
|
332
|
+
readonly encoding: "utf-8" | "binary";
|
|
333
|
+
readonly preview: string;
|
|
334
|
+
readonly byteLength: number;
|
|
335
|
+
};
|
|
336
|
+
readonly coverage: import("../../assertions/record/model.js").AssertionCoverage;
|
|
337
|
+
readonly limitations: readonly import("../../assertions/record/model.js").AssertionLimitation[];
|
|
338
|
+
readonly evidence: readonly ({
|
|
339
|
+
readonly reason: "not-recorded";
|
|
340
|
+
readonly kind: "unavailable";
|
|
341
|
+
} | {
|
|
342
|
+
readonly value: import("../../assertions/record/model.js").BoundedJsonValue;
|
|
343
|
+
readonly kind: "snapshot";
|
|
344
|
+
} | {
|
|
345
|
+
readonly kind: "blob";
|
|
346
|
+
readonly ref: RecordBlobRef;
|
|
347
|
+
readonly sha256: string;
|
|
348
|
+
readonly encoding: "utf-8" | "binary";
|
|
349
|
+
readonly preview: string;
|
|
350
|
+
readonly byteLength: number;
|
|
351
|
+
})[];
|
|
352
|
+
};
|
|
353
|
+
readonly explanationRetention: {
|
|
354
|
+
readonly value: import("../../assertions/record/model.js").AssertionFactValue;
|
|
355
|
+
readonly state: "retained";
|
|
356
|
+
} | {
|
|
357
|
+
readonly reason: "not-recorded";
|
|
358
|
+
readonly state: "unavailable";
|
|
359
|
+
};
|
|
360
|
+
}[], false, never>;
|
|
361
|
+
sourceSites: Schema.PropertySignature<":", readonly {
|
|
362
|
+
readonly role: "gate" | "score" | "declaration" | "threshold" | "optional" | "stop";
|
|
363
|
+
readonly sha256: import("../model/identifiers.js").Sha256Digest;
|
|
364
|
+
readonly start: {
|
|
365
|
+
readonly line: number;
|
|
366
|
+
readonly column: number;
|
|
367
|
+
};
|
|
368
|
+
readonly end: {
|
|
369
|
+
readonly line: number;
|
|
370
|
+
readonly column: number;
|
|
371
|
+
};
|
|
372
|
+
readonly entryId: import("../../index.js").AssertionEntryId;
|
|
373
|
+
readonly sourceItemId: import("../model/identifiers.js").SourceItemId;
|
|
374
|
+
readonly sourceOrder: number;
|
|
375
|
+
}[], "source-sites-data", ":", readonly {
|
|
376
|
+
readonly role: "gate" | "score" | "declaration" | "threshold" | "optional" | "stop";
|
|
377
|
+
readonly sha256: string;
|
|
378
|
+
readonly start: {
|
|
379
|
+
readonly line: number;
|
|
380
|
+
readonly column: number;
|
|
381
|
+
};
|
|
382
|
+
readonly end: {
|
|
383
|
+
readonly line: number;
|
|
384
|
+
readonly column: number;
|
|
385
|
+
};
|
|
386
|
+
readonly entryId: string;
|
|
387
|
+
readonly sourceItemId: string;
|
|
388
|
+
readonly sourceOrder: number;
|
|
389
|
+
}[], false, never>;
|
|
390
|
+
}>>>>>;
|
|
391
|
+
/** @internal Package-private historical wire codec, loaded only by maintenance. */
|
|
392
|
+
export declare const AssertionsAttachmentV1Schema: Schema.Struct<{
|
|
77
393
|
entries: Schema.PropertySignature<":", readonly {
|
|
78
394
|
readonly result: import("../../assertions/record/model.js").SealedAssertionResult;
|
|
79
395
|
readonly coverage: import("../../assertions/record/model.js").AssertionCoverage;
|
|
80
396
|
readonly limitations: readonly import("../../assertions/record/model.js").AssertionLimitation[];
|
|
81
397
|
readonly subject: {
|
|
398
|
+
readonly reason: "not-recorded";
|
|
399
|
+
readonly kind: "unavailable";
|
|
400
|
+
} | {
|
|
82
401
|
readonly value: import("../../assertions/record/model.js").BoundedJsonValue;
|
|
83
402
|
readonly kind: "snapshot";
|
|
84
403
|
} | {
|
|
@@ -90,6 +409,9 @@ export declare const AssertionsAttachmentSchema: Schema.filter<Schema.filter<Sch
|
|
|
90
409
|
readonly byteLength: number;
|
|
91
410
|
};
|
|
92
411
|
readonly evidence: readonly ({
|
|
412
|
+
readonly reason: "not-recorded";
|
|
413
|
+
readonly kind: "unavailable";
|
|
414
|
+
} | {
|
|
93
415
|
readonly value: import("../../assertions/record/model.js").BoundedJsonValue;
|
|
94
416
|
readonly kind: "snapshot";
|
|
95
417
|
} | {
|
|
@@ -108,6 +430,9 @@ export declare const AssertionsAttachmentSchema: Schema.filter<Schema.filter<Sch
|
|
|
108
430
|
readonly coverage: import("../../assertions/record/model.js").AssertionCoverage;
|
|
109
431
|
readonly limitations: readonly import("../../assertions/record/model.js").AssertionLimitation[];
|
|
110
432
|
readonly subject: {
|
|
433
|
+
readonly reason: "not-recorded";
|
|
434
|
+
readonly kind: "unavailable";
|
|
435
|
+
} | {
|
|
111
436
|
readonly value: import("../../assertions/record/model.js").BoundedJsonValue;
|
|
112
437
|
readonly kind: "snapshot";
|
|
113
438
|
} | {
|
|
@@ -119,6 +444,9 @@ export declare const AssertionsAttachmentSchema: Schema.filter<Schema.filter<Sch
|
|
|
119
444
|
readonly byteLength: number;
|
|
120
445
|
};
|
|
121
446
|
readonly evidence: readonly ({
|
|
447
|
+
readonly reason: "not-recorded";
|
|
448
|
+
readonly kind: "unavailable";
|
|
449
|
+
} | {
|
|
122
450
|
readonly value: import("../../assertions/record/model.js").BoundedJsonValue;
|
|
123
451
|
readonly kind: "snapshot";
|
|
124
452
|
} | {
|
|
@@ -144,9 +472,9 @@ export declare const AssertionsAttachmentSchema: Schema.filter<Schema.filter<Sch
|
|
|
144
472
|
readonly line: number;
|
|
145
473
|
readonly column: number;
|
|
146
474
|
};
|
|
475
|
+
readonly entryId: import("../../index.js").AssertionEntryId;
|
|
147
476
|
readonly sourceItemId: import("../model/identifiers.js").SourceItemId;
|
|
148
477
|
readonly sourceOrder: number;
|
|
149
|
-
readonly entryId: import("../../index.js").AssertionEntryId;
|
|
150
478
|
}[], "source-sites-data", ":", readonly {
|
|
151
479
|
readonly role: "gate" | "score" | "declaration" | "threshold" | "optional" | "stop";
|
|
152
480
|
readonly sha256: string;
|
|
@@ -158,11 +486,11 @@ export declare const AssertionsAttachmentSchema: Schema.filter<Schema.filter<Sch
|
|
|
158
486
|
readonly line: number;
|
|
159
487
|
readonly column: number;
|
|
160
488
|
};
|
|
489
|
+
readonly entryId: string;
|
|
161
490
|
readonly sourceItemId: string;
|
|
162
491
|
readonly sourceOrder: number;
|
|
163
|
-
readonly entryId: string;
|
|
164
492
|
}[], false, never>;
|
|
165
|
-
}
|
|
493
|
+
}>;
|
|
166
494
|
export type AssertionsAttachment = Schema.Schema.Type<typeof AssertionsAttachmentSchema>;
|
|
167
495
|
/** Complete closure projection for `niceeval.assertions`. */
|
|
168
496
|
export declare function assertionsBlobRefs(payload: AssertionsAttachment): readonly RecordBlobRef[];
|
|
@@ -182,63 +510,189 @@ export declare const assertionsRecordAttachment: import("../definition/attachmen
|
|
|
182
510
|
readonly attempt: {
|
|
183
511
|
readonly schema: Schema.filter<Schema.filter<Schema.filter<Schema.filter<Schema.Struct<{
|
|
184
512
|
entries: Schema.PropertySignature<":", readonly {
|
|
185
|
-
readonly
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
readonly
|
|
197
|
-
readonly byteLength: number;
|
|
513
|
+
readonly evaluation: {
|
|
514
|
+
readonly receipt?: {
|
|
515
|
+
readonly complete: boolean;
|
|
516
|
+
readonly unavailable: number;
|
|
517
|
+
readonly matched: number;
|
|
518
|
+
readonly mismatched: number;
|
|
519
|
+
readonly knownTotal: number | null;
|
|
520
|
+
readonly examined: number;
|
|
521
|
+
readonly exhaustive: boolean;
|
|
522
|
+
readonly decisive: boolean;
|
|
523
|
+
} | undefined;
|
|
524
|
+
readonly observed: import("../../assertions/record/model.js").AssertionFactValue;
|
|
198
525
|
};
|
|
199
|
-
readonly evidence: readonly ({
|
|
200
|
-
readonly value: import("../../assertions/record/model.js").BoundedJsonValue;
|
|
201
|
-
readonly kind: "snapshot";
|
|
202
|
-
} | {
|
|
203
|
-
readonly kind: "blob";
|
|
204
|
-
readonly ref: RecordBlobRef;
|
|
205
|
-
readonly sha256: import("../model/identifiers.js").Sha256Digest;
|
|
206
|
-
readonly encoding: "utf-8" | "binary";
|
|
207
|
-
readonly preview: string;
|
|
208
|
-
readonly byteLength: number;
|
|
209
|
-
})[];
|
|
210
526
|
readonly display: import("../../assertions/record/model.js").AssertionDisplay;
|
|
211
|
-
readonly criterion:
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
readonly result: import("../../assertions/record/model.js").SealedAssertionResult;
|
|
215
|
-
readonly coverage: import("../../assertions/record/model.js").AssertionCoverage;
|
|
216
|
-
readonly limitations: readonly import("../../assertions/record/model.js").AssertionLimitation[];
|
|
217
|
-
readonly subject: {
|
|
218
|
-
readonly value: import("../../assertions/record/model.js").BoundedJsonValue;
|
|
219
|
-
readonly kind: "snapshot";
|
|
527
|
+
readonly criterion: {
|
|
528
|
+
readonly value: import("../../assertions/record/model.js").BoundedJsonObject;
|
|
529
|
+
readonly state: "available";
|
|
220
530
|
} | {
|
|
221
|
-
readonly
|
|
222
|
-
readonly
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
readonly
|
|
226
|
-
|
|
531
|
+
readonly reason: "not-recorded";
|
|
532
|
+
readonly state: "unavailable";
|
|
533
|
+
};
|
|
534
|
+
readonly policy: {
|
|
535
|
+
readonly condition: {
|
|
536
|
+
readonly value: {
|
|
537
|
+
readonly expected: true;
|
|
538
|
+
readonly kind: "boolean";
|
|
539
|
+
} | {
|
|
540
|
+
readonly kind: "at-least";
|
|
541
|
+
readonly threshold: number;
|
|
542
|
+
} | {
|
|
543
|
+
readonly kind: "record-only";
|
|
544
|
+
};
|
|
545
|
+
readonly state: "available";
|
|
546
|
+
} | {
|
|
547
|
+
readonly reason: "not-recorded";
|
|
548
|
+
readonly state: "unavailable";
|
|
549
|
+
};
|
|
550
|
+
readonly requirement: {
|
|
551
|
+
readonly value: "optional" | "required";
|
|
552
|
+
readonly state: "available";
|
|
553
|
+
} | {
|
|
554
|
+
readonly reason: "not-recorded";
|
|
555
|
+
readonly state: "unavailable";
|
|
556
|
+
};
|
|
557
|
+
};
|
|
558
|
+
readonly decision: {
|
|
559
|
+
readonly reason: "redacted" | "evidence-unavailable" | "source-unavailable" | "condition-not-met" | "evaluator-failed" | "producer-interrupted" | "invalid-subject" | "coverage-not-applicable" | null;
|
|
560
|
+
readonly gate: "failed" | "unavailable" | "not-applicable" | "not-gate" | "satisfied";
|
|
561
|
+
readonly result: "errored" | "unavailable" | "matched" | "mismatched" | "not-applicable";
|
|
227
562
|
};
|
|
228
|
-
readonly
|
|
229
|
-
|
|
230
|
-
|
|
563
|
+
readonly contribution: import("../../assertions/record/model.js").NoScoreContribution | import("../../assertions/record/model.js").EarnedScoreContribution | import("../../assertions/record/model.js").UnavailableScoreContribution;
|
|
564
|
+
readonly entryId: import("../../index.js").AssertionEntryId;
|
|
565
|
+
readonly materials: {
|
|
566
|
+
readonly source: {
|
|
567
|
+
readonly reason: "not-recorded";
|
|
568
|
+
readonly kind: "unavailable";
|
|
569
|
+
} | {
|
|
570
|
+
readonly value: import("../../assertions/record/model.js").BoundedJsonValue;
|
|
571
|
+
readonly kind: "snapshot";
|
|
572
|
+
} | {
|
|
573
|
+
readonly kind: "blob";
|
|
574
|
+
readonly ref: RecordBlobRef;
|
|
575
|
+
readonly sha256: import("../model/identifiers.js").Sha256Digest;
|
|
576
|
+
readonly encoding: "utf-8" | "binary";
|
|
577
|
+
readonly preview: string;
|
|
578
|
+
readonly byteLength: number;
|
|
579
|
+
};
|
|
580
|
+
readonly coverage: import("../../assertions/record/model.js").AssertionCoverage;
|
|
581
|
+
readonly limitations: readonly import("../../assertions/record/model.js").AssertionLimitation[];
|
|
582
|
+
readonly evidence: readonly ({
|
|
583
|
+
readonly reason: "not-recorded";
|
|
584
|
+
readonly kind: "unavailable";
|
|
585
|
+
} | {
|
|
586
|
+
readonly value: import("../../assertions/record/model.js").BoundedJsonValue;
|
|
587
|
+
readonly kind: "snapshot";
|
|
588
|
+
} | {
|
|
589
|
+
readonly kind: "blob";
|
|
590
|
+
readonly ref: RecordBlobRef;
|
|
591
|
+
readonly sha256: import("../model/identifiers.js").Sha256Digest;
|
|
592
|
+
readonly encoding: "utf-8" | "binary";
|
|
593
|
+
readonly preview: string;
|
|
594
|
+
readonly byteLength: number;
|
|
595
|
+
})[];
|
|
596
|
+
};
|
|
597
|
+
readonly explanationRetention: {
|
|
598
|
+
readonly value: import("../../assertions/record/model.js").AssertionFactValue;
|
|
599
|
+
readonly state: "retained";
|
|
231
600
|
} | {
|
|
232
|
-
readonly
|
|
233
|
-
readonly
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
readonly
|
|
238
|
-
|
|
601
|
+
readonly reason: "not-recorded";
|
|
602
|
+
readonly state: "unavailable";
|
|
603
|
+
};
|
|
604
|
+
}[], "entries-data", ":", readonly {
|
|
605
|
+
readonly evaluation: {
|
|
606
|
+
readonly observed: import("../../assertions/record/model.js").AssertionFactValue;
|
|
607
|
+
readonly receipt?: {
|
|
608
|
+
readonly complete: boolean;
|
|
609
|
+
readonly unavailable: number;
|
|
610
|
+
readonly matched: number;
|
|
611
|
+
readonly mismatched: number;
|
|
612
|
+
readonly knownTotal: number | null;
|
|
613
|
+
readonly examined: number;
|
|
614
|
+
readonly exhaustive: boolean;
|
|
615
|
+
readonly decisive: boolean;
|
|
616
|
+
} | undefined;
|
|
617
|
+
};
|
|
239
618
|
readonly display: import("../../assertions/record/model.js").AssertionDisplay;
|
|
240
|
-
readonly criterion:
|
|
619
|
+
readonly criterion: {
|
|
620
|
+
readonly value: import("../../assertions/record/model.js").BoundedJsonObject;
|
|
621
|
+
readonly state: "available";
|
|
622
|
+
} | {
|
|
623
|
+
readonly reason: "not-recorded";
|
|
624
|
+
readonly state: "unavailable";
|
|
625
|
+
};
|
|
626
|
+
readonly policy: {
|
|
627
|
+
readonly condition: {
|
|
628
|
+
readonly value: {
|
|
629
|
+
readonly expected: true;
|
|
630
|
+
readonly kind: "boolean";
|
|
631
|
+
} | {
|
|
632
|
+
readonly kind: "at-least";
|
|
633
|
+
readonly threshold: number;
|
|
634
|
+
} | {
|
|
635
|
+
readonly kind: "record-only";
|
|
636
|
+
};
|
|
637
|
+
readonly state: "available";
|
|
638
|
+
} | {
|
|
639
|
+
readonly reason: "not-recorded";
|
|
640
|
+
readonly state: "unavailable";
|
|
641
|
+
};
|
|
642
|
+
readonly requirement: {
|
|
643
|
+
readonly value: "optional" | "required";
|
|
644
|
+
readonly state: "available";
|
|
645
|
+
} | {
|
|
646
|
+
readonly reason: "not-recorded";
|
|
647
|
+
readonly state: "unavailable";
|
|
648
|
+
};
|
|
649
|
+
};
|
|
650
|
+
readonly decision: {
|
|
651
|
+
readonly reason: "redacted" | "evidence-unavailable" | "source-unavailable" | "condition-not-met" | "evaluator-failed" | "producer-interrupted" | "invalid-subject" | "coverage-not-applicable" | null;
|
|
652
|
+
readonly gate: "failed" | "unavailable" | "not-applicable" | "not-gate" | "satisfied";
|
|
653
|
+
readonly result: "errored" | "unavailable" | "matched" | "mismatched" | "not-applicable";
|
|
654
|
+
};
|
|
655
|
+
readonly contribution: import("../../assertions/record/model.js").NoScoreContribution | import("../../assertions/record/model.js").EarnedScoreContribution | import("../../assertions/record/model.js").UnavailableScoreContribution;
|
|
241
656
|
readonly entryId: string;
|
|
657
|
+
readonly materials: {
|
|
658
|
+
readonly source: {
|
|
659
|
+
readonly reason: "not-recorded";
|
|
660
|
+
readonly kind: "unavailable";
|
|
661
|
+
} | {
|
|
662
|
+
readonly value: import("../../assertions/record/model.js").BoundedJsonValue;
|
|
663
|
+
readonly kind: "snapshot";
|
|
664
|
+
} | {
|
|
665
|
+
readonly kind: "blob";
|
|
666
|
+
readonly ref: RecordBlobRef;
|
|
667
|
+
readonly sha256: string;
|
|
668
|
+
readonly encoding: "utf-8" | "binary";
|
|
669
|
+
readonly preview: string;
|
|
670
|
+
readonly byteLength: number;
|
|
671
|
+
};
|
|
672
|
+
readonly coverage: import("../../assertions/record/model.js").AssertionCoverage;
|
|
673
|
+
readonly limitations: readonly import("../../assertions/record/model.js").AssertionLimitation[];
|
|
674
|
+
readonly evidence: readonly ({
|
|
675
|
+
readonly reason: "not-recorded";
|
|
676
|
+
readonly kind: "unavailable";
|
|
677
|
+
} | {
|
|
678
|
+
readonly value: import("../../assertions/record/model.js").BoundedJsonValue;
|
|
679
|
+
readonly kind: "snapshot";
|
|
680
|
+
} | {
|
|
681
|
+
readonly kind: "blob";
|
|
682
|
+
readonly ref: RecordBlobRef;
|
|
683
|
+
readonly sha256: string;
|
|
684
|
+
readonly encoding: "utf-8" | "binary";
|
|
685
|
+
readonly preview: string;
|
|
686
|
+
readonly byteLength: number;
|
|
687
|
+
})[];
|
|
688
|
+
};
|
|
689
|
+
readonly explanationRetention: {
|
|
690
|
+
readonly value: import("../../assertions/record/model.js").AssertionFactValue;
|
|
691
|
+
readonly state: "retained";
|
|
692
|
+
} | {
|
|
693
|
+
readonly reason: "not-recorded";
|
|
694
|
+
readonly state: "unavailable";
|
|
695
|
+
};
|
|
242
696
|
}[], false, never>;
|
|
243
697
|
sourceSites: Schema.PropertySignature<":", readonly {
|
|
244
698
|
readonly role: "gate" | "score" | "declaration" | "threshold" | "optional" | "stop";
|
|
@@ -251,9 +705,9 @@ export declare const assertionsRecordAttachment: import("../definition/attachmen
|
|
|
251
705
|
readonly line: number;
|
|
252
706
|
readonly column: number;
|
|
253
707
|
};
|
|
708
|
+
readonly entryId: import("../../index.js").AssertionEntryId;
|
|
254
709
|
readonly sourceItemId: import("../model/identifiers.js").SourceItemId;
|
|
255
710
|
readonly sourceOrder: number;
|
|
256
|
-
readonly entryId: import("../../index.js").AssertionEntryId;
|
|
257
711
|
}[], "source-sites-data", ":", readonly {
|
|
258
712
|
readonly role: "gate" | "score" | "declaration" | "threshold" | "optional" | "stop";
|
|
259
713
|
readonly sha256: string;
|
|
@@ -265,9 +719,9 @@ export declare const assertionsRecordAttachment: import("../definition/attachmen
|
|
|
265
719
|
readonly line: number;
|
|
266
720
|
readonly column: number;
|
|
267
721
|
};
|
|
722
|
+
readonly entryId: string;
|
|
268
723
|
readonly sourceItemId: string;
|
|
269
724
|
readonly sourceOrder: number;
|
|
270
|
-
readonly entryId: string;
|
|
271
725
|
}[], false, never>;
|
|
272
726
|
}>>>>>;
|
|
273
727
|
readonly limits: Readonly<{
|