niceeval 0.15.1-canary.76 → 0.16.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/INDEX.md +45 -40
- package/dist/adapter-execution-trace.cjs.map +1 -1
- package/dist/adapter-execution-trace.d.cts +26 -0
- package/dist/adapter-execution-trace.d.mts +26 -0
- package/dist/adapter-execution-trace.d.ts +26 -0
- package/dist/adapter-usage.cjs.map +1 -1
- package/dist/adapter-usage.d.cts +9 -0
- package/dist/adapter-usage.d.mts +9 -0
- package/dist/adapter-usage.d.ts +9 -0
- package/dist/adapter.cjs +19 -4
- package/dist/adapter.cjs.map +1 -1
- package/dist/adapter.d.cts +37 -12
- package/dist/adapter.d.mts +37 -12
- package/dist/adapter.d.ts +37 -12
- package/dist/agents/ai-sdk.cjs +3 -0
- package/dist/agents/ai-sdk.cjs.map +1 -1
- package/dist/agents/bub.cjs +3 -0
- package/dist/agents/bub.cjs.map +1 -1
- package/dist/agents/claude-code-native.cjs +28 -2
- package/dist/agents/claude-code-native.cjs.map +1 -1
- package/dist/agents/claude-code.cjs +3 -0
- package/dist/agents/claude-code.cjs.map +1 -1
- package/dist/agents/codex.cjs +3 -0
- package/dist/agents/codex.cjs.map +1 -1
- package/dist/agents/coding-cli-versions.cjs +9 -10
- package/dist/agents/coding-cli-versions.cjs.map +1 -1
- package/dist/agents/coding-cli-versions.d.cts +1 -1
- package/dist/agents/coding-cli-versions.d.mts +1 -1
- package/dist/agents/coding-cli-versions.d.ts +1 -1
- package/dist/agents/deepseek-harness.cjs +3 -0
- package/dist/agents/deepseek-harness.cjs.map +1 -1
- package/dist/agents/hermes.cjs +3 -0
- package/dist/agents/hermes.cjs.map +1 -1
- package/dist/agents/index.cjs.map +1 -1
- package/dist/agents/index.d.cts +3 -2
- package/dist/agents/index.d.mts +3 -2
- package/dist/agents/index.d.ts +3 -2
- package/dist/agents/omp.cjs +3 -0
- package/dist/agents/omp.cjs.map +1 -1
- package/dist/agents/openai-compat.cjs +6 -0
- package/dist/agents/openai-compat.cjs.map +1 -1
- package/dist/agents/openclaw.cjs +3 -0
- package/dist/agents/openclaw.cjs.map +1 -1
- package/dist/agents/opencode.cjs +3 -0
- package/dist/agents/opencode.cjs.map +1 -1
- package/dist/agents/sdk-streams.cjs +9 -0
- package/dist/agents/sdk-streams.cjs.map +1 -1
- package/dist/agents/ui-message-stream.cjs +3 -0
- package/dist/agents/ui-message-stream.cjs.map +1 -1
- package/dist/assertions/api.cjs.map +1 -1
- package/dist/assertions/api.d.cts +27 -5
- package/dist/assertions/api.d.mts +27 -5
- package/dist/assertions/api.d.ts +27 -5
- package/dist/assertions/collection.cjs +6 -0
- package/dist/assertions/collection.cjs.map +1 -1
- package/dist/assertions/collection.d.cts +4 -2
- package/dist/assertions/collection.d.mts +4 -2
- package/dist/assertions/collection.d.ts +4 -2
- package/dist/assertions/collection.js +12 -8
- package/dist/assertions/context-match.cjs +70 -0
- package/dist/assertions/context-match.cjs.map +1 -0
- package/dist/assertions/context-match.d.cts +107 -0
- package/dist/assertions/context-match.d.mts +107 -0
- package/dist/assertions/context-match.d.ts +107 -0
- package/dist/assertions/context-match.js +12 -0
- package/dist/assertions/context-match.js.map +1 -0
- package/dist/assertions/full-content.cjs +109 -0
- package/dist/assertions/full-content.cjs.map +1 -0
- package/dist/assertions/full-content.d.cts +6 -0
- package/dist/assertions/full-content.d.mts +6 -0
- package/dist/assertions/full-content.d.ts +6 -0
- package/dist/assertions/full-content.js +12 -0
- package/dist/assertions/full-content.js.map +1 -0
- package/dist/assertions/judge-presets.cjs +2 -34
- package/dist/assertions/judge-presets.cjs.map +1 -1
- package/dist/assertions/judge-presets.d.cts +6 -9
- package/dist/assertions/judge-presets.d.mts +6 -9
- package/dist/assertions/judge-presets.d.ts +6 -9
- package/dist/assertions/judge-presets.js +8 -8
- package/dist/assertions/judge.cjs +107 -29
- package/dist/assertions/judge.cjs.map +1 -1
- package/dist/assertions/judge.d.cts +2 -0
- package/dist/assertions/judge.d.mts +2 -0
- package/dist/assertions/judge.d.ts +2 -0
- package/dist/assertions/match.cjs +244 -5
- package/dist/assertions/match.cjs.map +1 -1
- package/dist/assertions/match.d.cts +43 -3
- package/dist/assertions/match.d.mts +43 -3
- package/dist/assertions/match.d.ts +43 -3
- package/dist/assertions/match.js +88 -78
- package/dist/assertions/material.cjs +520 -0
- package/dist/assertions/material.cjs.map +1 -0
- package/dist/assertions/material.d.cts +56 -0
- package/dist/assertions/material.d.mts +56 -0
- package/dist/assertions/material.d.ts +56 -0
- package/dist/assertions/material.js +20 -0
- package/dist/assertions/material.js.map +1 -0
- package/dist/assertions/record/attachment.cjs +5 -2
- package/dist/assertions/record/attachment.cjs.map +1 -1
- package/dist/assertions/record/codec.cjs +2 -1
- package/dist/assertions/record/codec.cjs.map +1 -1
- package/dist/assertions/record/model.cjs.map +1 -1
- package/dist/assertions/record/model.d.cts +6 -1
- package/dist/assertions/record/model.d.mts +6 -1
- package/dist/assertions/record/model.d.ts +6 -1
- package/dist/assertions/runtime.cjs +207 -14
- package/dist/assertions/runtime.cjs.map +1 -1
- package/dist/assertions/runtime.d.cts +9 -0
- package/dist/assertions/runtime.d.mts +9 -0
- package/dist/assertions/runtime.d.ts +9 -0
- package/dist/assertions/runtime.js +14 -8
- package/dist/assertions/score-match-audit.cjs +18 -8
- package/dist/assertions/score-match-audit.cjs.map +1 -1
- package/dist/assertions/score-match-gateway.cjs +83 -25
- package/dist/assertions/score-match-gateway.cjs.map +1 -1
- package/dist/assertions/score-match-gateway.d.cts +2 -0
- package/dist/assertions/score-match-gateway.d.mts +2 -0
- package/dist/assertions/score-match-gateway.d.ts +2 -0
- package/dist/assertions/value-composition.test-d.cjs +77 -0
- package/dist/assertions/value-composition.test-d.cjs.map +1 -0
- package/dist/assertions/value-composition.test-d.d.cts +1 -0
- package/dist/assertions/value-composition.test-d.d.mts +1 -0
- package/dist/assertions/value-composition.test-d.d.ts +1 -0
- package/dist/assertions/value-composition.test-d.js +4 -0
- package/dist/assertions/value-composition.test-d.js.map +1 -0
- package/dist/context/assert-first.cjs +207 -213
- package/dist/context/assert-first.cjs.map +1 -1
- package/dist/context/assert-first.d.cts +49 -23
- package/dist/context/assert-first.d.mts +49 -23
- package/dist/context/assert-first.d.ts +49 -23
- package/dist/context/session.cjs +111 -9
- package/dist/context/session.cjs.map +1 -1
- package/dist/context/session.d.cts +18 -0
- package/dist/context/session.d.mts +18 -0
- package/dist/context/session.d.ts +18 -0
- package/dist/define.cjs +17 -1
- package/dist/define.cjs.map +1 -1
- package/dist/eval/cli/contribution.cjs +2 -0
- package/dist/eval/cli/contribution.cjs.map +1 -1
- package/dist/eval/host/index.cjs +2 -0
- package/dist/eval/host/index.cjs.map +1 -1
- package/dist/eval/record/evaluation.cjs +3 -0
- package/dist/eval/record/evaluation.cjs.map +1 -1
- package/dist/eval/record/membership-provenance.d.cts +15 -15
- package/dist/eval/record/membership-provenance.d.mts +15 -15
- package/dist/eval/record/membership-provenance.d.ts +15 -15
- package/dist/eval/record/score.cjs +7 -0
- package/dist/eval/record/score.cjs.map +1 -1
- package/dist/eval/record/sealed-assertion.cjs +3 -0
- package/dist/eval/record/sealed-assertion.cjs.map +1 -1
- package/dist/eval/record/verdict.cjs +7 -0
- package/dist/eval/record/verdict.cjs.map +1 -1
- package/dist/expect/index.cjs +8 -2
- package/dist/expect/index.cjs.map +1 -1
- package/dist/expect/index.d.cts +9 -4
- package/dist/expect/index.d.mts +9 -4
- package/dist/expect/index.d.ts +9 -4
- package/dist/expect/index.js +72 -62
- package/dist/expect/index.mjs +72 -62
- package/dist/experiment/host/cli/contribution.cjs +37 -23
- package/dist/experiment/host/cli/contribution.cjs.map +1 -1
- package/dist/experiment/host/cli/contribution.d.cts +9 -1
- package/dist/experiment/host/cli/contribution.d.mts +9 -1
- package/dist/experiment/host/cli/contribution.d.ts +9 -1
- package/dist/experiment/host/current.cjs +74 -0
- package/dist/experiment/host/current.cjs.map +1 -0
- package/dist/experiment/host/current.d.cts +33 -0
- package/dist/experiment/host/current.d.mts +33 -0
- package/dist/experiment/host/current.d.ts +33 -0
- package/dist/experiment/host/current.js +10 -0
- package/dist/experiment/host/current.js.map +1 -0
- package/dist/experiment/host/index.cjs +17 -174
- package/dist/experiment/host/index.cjs.map +1 -1
- package/dist/experiment/host/index.d.cts +8 -54
- package/dist/experiment/host/index.d.mts +8 -54
- package/dist/experiment/host/index.d.ts +8 -54
- package/dist/experiment/host/operations.cjs +33 -10
- package/dist/experiment/host/operations.cjs.map +1 -1
- package/dist/experiment/host/operations.d.cts +29 -1
- package/dist/experiment/host/operations.d.mts +29 -1
- package/dist/experiment/host/operations.d.ts +29 -1
- package/dist/experiment/host/operations.js +6 -4
- package/dist/experiment/host/requirements.cjs +3 -0
- package/dist/experiment/host/requirements.cjs.map +1 -0
- package/dist/experiment/host/requirements.d.cts +3 -0
- package/dist/experiment/host/requirements.d.mts +3 -0
- package/dist/experiment/host/requirements.d.ts +3 -0
- package/dist/experiment/host/requirements.js +4 -0
- package/dist/experiment/host/requirements.js.map +1 -0
- package/dist/experiment/host/runtime.cjs +179 -0
- package/dist/experiment/host/runtime.cjs.map +1 -0
- package/dist/experiment/host/runtime.d.cts +79 -0
- package/dist/experiment/host/runtime.d.mts +79 -0
- package/dist/experiment/host/runtime.d.ts +79 -0
- package/dist/experiment/host/runtime.js +6 -0
- package/dist/experiment/host/runtime.js.map +1 -0
- package/dist/experiment/host/types.cjs.map +1 -1
- package/dist/experiment/host/types.d.cts +17 -16
- package/dist/experiment/host/types.d.mts +17 -16
- package/dist/experiment/host/types.d.ts +17 -16
- package/dist/fresh-import.cjs +2 -1
- package/dist/fresh-import.cjs.map +1 -1
- package/dist/index.cjs +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -6
- package/dist/index.d.mts +12 -6
- package/dist/index.d.ts +12 -6
- package/dist/index.js +32 -30
- package/dist/index.mjs +32 -30
- package/dist/inspection/artifacts.cjs +83 -54
- package/dist/inspection/artifacts.cjs.map +1 -1
- package/dist/inspection/artifacts.d.cts +8 -0
- package/dist/inspection/artifacts.d.mts +8 -0
- package/dist/inspection/artifacts.d.ts +8 -0
- package/dist/inspection/artifacts.js +2 -0
- package/dist/inspection/assertions.cjs +4 -1
- package/dist/inspection/assertions.cjs.map +1 -1
- package/dist/inspection/cli/contribution.cjs +27 -4
- package/dist/inspection/cli/contribution.cjs.map +1 -1
- package/dist/inspection/cli/contribution.d.cts +2 -1
- package/dist/inspection/cli/contribution.d.mts +2 -1
- package/dist/inspection/cli/contribution.d.ts +2 -1
- package/dist/inspection/execution-traces.cjs +114 -8
- package/dist/inspection/execution-traces.cjs.map +1 -1
- package/dist/inspection/execution-traces.d.cts +38 -0
- package/dist/inspection/execution-traces.d.mts +38 -0
- package/dist/inspection/execution-traces.d.ts +38 -0
- package/dist/inspection/facts.cjs +12 -0
- package/dist/inspection/facts.cjs.map +1 -1
- package/dist/inspection/limits.cjs +5 -1
- package/dist/inspection/limits.cjs.map +1 -1
- package/dist/inspection/limits.d.cts +4 -0
- package/dist/inspection/limits.d.mts +4 -0
- package/dist/inspection/limits.d.ts +4 -0
- package/dist/inspection/limits.js +6 -2
- package/dist/inspection/overview.cjs +74 -33
- package/dist/inspection/overview.cjs.map +1 -1
- package/dist/inspection/overview.d.cts +19 -1
- package/dist/inspection/overview.d.mts +19 -1
- package/dist/inspection/overview.d.ts +19 -1
- package/dist/inspection/overview.js +4 -2
- package/dist/inspection/project-input.cjs +9 -0
- package/dist/inspection/project-input.cjs.map +1 -0
- package/dist/inspection/project-input.d.cts +20 -0
- package/dist/inspection/project-input.d.mts +20 -0
- package/dist/inspection/project-input.d.ts +20 -0
- package/dist/inspection/project-input.js +8 -0
- package/dist/inspection/project-input.js.map +1 -0
- package/dist/inspection/project-result.cjs +60 -0
- package/dist/inspection/project-result.cjs.map +1 -0
- package/dist/inspection/project-result.d.cts +1264 -0
- package/dist/inspection/project-result.d.mts +1264 -0
- package/dist/inspection/project-result.d.ts +1264 -0
- package/dist/inspection/project-result.js +10 -0
- package/dist/inspection/project-result.js.map +1 -0
- package/dist/inspection/project-source.cjs +109 -0
- package/dist/inspection/project-source.cjs.map +1 -0
- package/dist/inspection/project-source.d.cts +10 -0
- package/dist/inspection/project-source.d.mts +10 -0
- package/dist/inspection/project-source.d.ts +10 -0
- package/dist/inspection/project-source.js +6 -0
- package/dist/inspection/project-source.js.map +1 -0
- package/dist/inspection/project.cjs +100 -0
- package/dist/inspection/project.cjs.map +1 -0
- package/dist/inspection/project.d.cts +3 -0
- package/dist/inspection/project.d.mts +3 -0
- package/dist/inspection/project.d.ts +3 -0
- package/dist/inspection/project.js +6 -0
- package/dist/inspection/project.js.map +1 -0
- package/dist/inspection/protocol.cjs +19 -9
- package/dist/inspection/protocol.cjs.map +1 -1
- package/dist/inspection/protocol.d.cts +5506 -38189
- package/dist/inspection/protocol.d.mts +5506 -38189
- package/dist/inspection/protocol.d.ts +5506 -38189
- package/dist/inspection/public.mjs +896 -84
- package/dist/inspection/query.cjs +2 -0
- package/dist/inspection/query.cjs.map +1 -1
- package/dist/inspection/results.cjs +234 -29
- package/dist/inspection/results.cjs.map +1 -1
- package/dist/inspection/results.d.cts +870 -13
- package/dist/inspection/results.d.mts +870 -13
- package/dist/inspection/results.d.ts +870 -13
- package/dist/inspection/results.js +36 -34
- package/dist/inspection/select.cjs +126 -14
- package/dist/inspection/select.cjs.map +1 -1
- package/dist/inspection/select.d.cts +1 -1
- package/dist/inspection/select.d.mts +1 -1
- package/dist/inspection/select.d.ts +1 -1
- package/dist/inspection/source.cjs +4 -0
- package/dist/inspection/source.cjs.map +1 -1
- package/dist/inspection/sources.cjs +5 -0
- package/dist/inspection/sources.cjs.map +1 -1
- package/dist/inspection/trace.cjs +82 -84
- package/dist/inspection/trace.cjs.map +1 -1
- package/dist/inspection/trace.d.cts +7 -2
- package/dist/inspection/trace.d.mts +7 -2
- package/dist/inspection/trace.d.ts +7 -2
- package/dist/model-slots.cjs +35 -0
- package/dist/model-slots.cjs.map +1 -0
- package/dist/model-slots.d.cts +19 -0
- package/dist/model-slots.d.mts +19 -0
- package/dist/model-slots.d.ts +19 -0
- package/dist/model-slots.js +8 -0
- package/dist/model-slots.js.map +1 -0
- package/dist/o11y/adapter-call-price.cjs +4 -0
- package/dist/o11y/adapter-call-price.cjs.map +1 -1
- package/dist/o11y/adapter-call-price.d.cts +24 -0
- package/dist/o11y/adapter-call-price.d.mts +24 -0
- package/dist/o11y/adapter-call-price.d.ts +24 -0
- package/dist/o11y/adapter-call-price.js +6 -2
- package/dist/o11y/adapter-usage-projection.cjs +158 -0
- package/dist/o11y/adapter-usage-projection.cjs.map +1 -0
- package/dist/o11y/adapter-usage-projection.d.cts +141 -0
- package/dist/o11y/adapter-usage-projection.d.mts +141 -0
- package/dist/o11y/adapter-usage-projection.d.ts +141 -0
- package/dist/o11y/adapter-usage-projection.js +20 -0
- package/dist/o11y/adapter-usage-projection.js.map +1 -0
- package/dist/o11y/eval-usage.cjs +149 -0
- package/dist/o11y/eval-usage.cjs.map +1 -0
- package/dist/o11y/eval-usage.d.cts +46 -0
- package/dist/o11y/eval-usage.d.mts +46 -0
- package/dist/o11y/eval-usage.d.ts +46 -0
- package/dist/o11y/eval-usage.js +8 -0
- package/dist/o11y/eval-usage.js.map +1 -0
- package/dist/o11y/judge-call-price.cjs +62 -0
- package/dist/o11y/judge-call-price.cjs.map +1 -0
- package/dist/o11y/judge-call-price.d.cts +3 -0
- package/dist/o11y/judge-call-price.d.mts +3 -0
- package/dist/o11y/judge-call-price.d.ts +3 -0
- package/dist/o11y/judge-call-price.js +6 -0
- package/dist/o11y/judge-call-price.js.map +1 -0
- package/dist/o11y/judge-usage-projection.cjs +134 -0
- package/dist/o11y/judge-usage-projection.cjs.map +1 -0
- package/dist/o11y/judge-usage-projection.d.cts +18 -0
- package/dist/o11y/judge-usage-projection.d.mts +18 -0
- package/dist/o11y/judge-usage-projection.d.ts +18 -0
- package/dist/o11y/judge-usage-projection.js +20 -0
- package/dist/o11y/judge-usage-projection.js.map +1 -0
- package/dist/o11y/judge-usage-receipt.cjs +135 -0
- package/dist/o11y/judge-usage-receipt.cjs.map +1 -0
- package/dist/o11y/judge-usage-receipt.d.cts +5 -0
- package/dist/o11y/judge-usage-receipt.d.mts +5 -0
- package/dist/o11y/judge-usage-receipt.d.ts +5 -0
- package/dist/o11y/judge-usage-receipt.js +6 -0
- package/dist/o11y/judge-usage-receipt.js.map +1 -0
- package/dist/o11y/judge-usage.cjs +171 -0
- package/dist/o11y/judge-usage.cjs.map +1 -0
- package/dist/o11y/judge-usage.d.cts +35 -0
- package/dist/o11y/judge-usage.d.mts +35 -0
- package/dist/o11y/judge-usage.d.ts +35 -0
- package/dist/o11y/judge-usage.js +6 -0
- package/dist/o11y/judge-usage.js.map +1 -0
- package/dist/plugin/contracts.cjs +2 -0
- package/dist/plugin/contracts.cjs.map +1 -1
- package/dist/plugin/link.cjs +7 -0
- package/dist/plugin/link.cjs.map +1 -1
- package/dist/record/attachment/protocol.cjs +8 -6
- package/dist/record/attachment/protocol.cjs.map +1 -1
- package/dist/record/attachment/protocol.d.cts +10 -0
- package/dist/record/attachment/protocol.d.mts +10 -0
- package/dist/record/attachment/protocol.d.ts +10 -0
- package/dist/record/attachment/protocol.js +38 -36
- package/dist/record/codec/seal-manifest.d.cts +3 -3
- package/dist/record/codec/seal-manifest.d.mts +3 -3
- package/dist/record/codec/seal-manifest.d.ts +3 -3
- package/dist/record/family/adapter-usage/definition.d.cts +1 -0
- package/dist/record/family/adapter-usage/definition.d.mts +1 -0
- package/dist/record/family/adapter-usage/definition.d.ts +1 -0
- package/dist/record/family/adapter-usage/persistence.cjs +1 -1
- package/dist/record/family/adapter-usage/persistence.cjs.map +1 -1
- package/dist/record/family/adapter-usage/persistence.d.cts +2 -1
- package/dist/record/family/adapter-usage/persistence.d.mts +2 -1
- package/dist/record/family/adapter-usage/persistence.d.ts +2 -1
- package/dist/record/family/adapter-usage/schema.cjs +21 -2
- package/dist/record/family/adapter-usage/schema.cjs.map +1 -1
- package/dist/record/family/adapter-usage/schema.d.cts +85 -0
- package/dist/record/family/adapter-usage/schema.d.mts +85 -0
- package/dist/record/family/adapter-usage/schema.d.ts +85 -0
- package/dist/record/family/adapter-usage/schema.js +18 -12
- package/dist/record/family/catalog.cjs +31 -27
- package/dist/record/family/catalog.cjs.map +1 -1
- package/dist/record/family/catalog.d.cts +94 -3
- package/dist/record/family/catalog.d.mts +94 -3
- package/dist/record/family/catalog.d.ts +94 -3
- package/dist/record/family/current.cjs +45 -42
- package/dist/record/family/current.cjs.map +1 -1
- package/dist/record/family/current.d.cts +240 -1
- package/dist/record/family/current.d.mts +240 -1
- package/dist/record/family/current.d.ts +240 -1
- package/dist/record/family/execution-traces/definition.d.cts +26 -0
- package/dist/record/family/execution-traces/definition.d.mts +26 -0
- package/dist/record/family/execution-traces/definition.d.ts +26 -0
- package/dist/record/family/execution-traces/definition.js +20 -14
- package/dist/record/family/execution-traces/schema.cjs +57 -1
- package/dist/record/family/execution-traces/schema.cjs.map +1 -1
- package/dist/record/family/execution-traces/schema.d.cts +114 -0
- package/dist/record/family/execution-traces/schema.d.mts +114 -0
- package/dist/record/family/execution-traces/schema.d.ts +114 -0
- package/dist/record/family/execution-traces/schema.js +18 -12
- package/dist/record/family/judge-usage/definition.cjs +12 -0
- package/dist/record/family/judge-usage/definition.cjs.map +1 -0
- package/dist/record/family/judge-usage/definition.d.cts +91 -0
- package/dist/record/family/judge-usage/definition.d.mts +91 -0
- package/dist/record/family/judge-usage/definition.d.ts +91 -0
- package/dist/record/family/judge-usage/definition.js +6 -0
- package/dist/record/family/judge-usage/definition.js.map +1 -0
- package/dist/record/family/judge-usage/persistence.cjs +10 -0
- package/dist/record/family/judge-usage/persistence.cjs.map +1 -0
- package/dist/record/family/judge-usage/persistence.d.cts +91 -0
- package/dist/record/family/judge-usage/persistence.d.mts +91 -0
- package/dist/record/family/judge-usage/persistence.d.ts +91 -0
- package/dist/record/family/judge-usage/persistence.js +6 -0
- package/dist/record/family/judge-usage/persistence.js.map +1 -0
- package/dist/record/family/judge-usage/schema.cjs +307 -0
- package/dist/record/family/judge-usage/schema.cjs.map +1 -0
- package/dist/record/family/judge-usage/schema.d.cts +351 -0
- package/dist/record/family/judge-usage/schema.d.mts +351 -0
- package/dist/record/family/judge-usage/schema.d.ts +351 -0
- package/dist/record/family/judge-usage/schema.js +18 -0
- package/dist/record/family/judge-usage/schema.js.map +1 -0
- package/dist/record/host/sqlite-host.cjs +55 -9
- package/dist/record/host/sqlite-host.cjs.map +1 -1
- package/dist/record/host/types.cjs.map +1 -1
- package/dist/record/host/types.d.cts +7 -0
- package/dist/record/host/types.d.mts +7 -0
- package/dist/record/host/types.d.ts +7 -0
- package/dist/record/model/run-context.cjs +7 -1
- package/dist/record/model/run-context.cjs.map +1 -1
- package/dist/record/model/run-context.d.cts +4 -0
- package/dist/record/model/run-context.d.mts +4 -0
- package/dist/record/model/run-context.d.ts +4 -0
- package/dist/record/model/seal-manifest.d.cts +1 -1
- package/dist/record/model/seal-manifest.d.mts +1 -1
- package/dist/record/model/seal-manifest.d.ts +1 -1
- package/dist/record/sqlite/client.cjs +18 -5
- package/dist/record/sqlite/client.cjs.map +1 -1
- package/dist/record/sqlite/client.d.cts +1 -1
- package/dist/record/sqlite/client.d.mts +1 -1
- package/dist/record/sqlite/client.d.ts +1 -1
- package/dist/record/sqlite/project-state-database.cjs +29 -8
- package/dist/record/sqlite/project-state-database.cjs.map +1 -1
- package/dist/run/host/runtime.cjs +4 -0
- package/dist/run/host/runtime.cjs.map +1 -1
- package/dist/run/storage/sqlite.cjs +20 -0
- package/dist/run/storage/sqlite.cjs.map +1 -1
- package/dist/runner/adapter-execution-trace.cjs +125 -2
- package/dist/runner/adapter-execution-trace.cjs.map +1 -1
- package/dist/runner/adapter-execution-trace.d.cts +1 -1
- package/dist/runner/adapter-execution-trace.d.mts +1 -1
- package/dist/runner/adapter-execution-trace.d.ts +1 -1
- package/dist/runner/adapter-usage.cjs +55 -7
- package/dist/runner/adapter-usage.cjs.map +1 -1
- package/dist/runner/adapter-usage.d.cts +9 -2
- package/dist/runner/adapter-usage.d.mts +9 -2
- package/dist/runner/adapter-usage.d.ts +9 -2
- package/dist/runner/adoption.cjs +9 -0
- package/dist/runner/adoption.cjs.map +1 -1
- package/dist/runner/attempt-cancellation.cjs +12 -0
- package/dist/runner/attempt-cancellation.cjs.map +1 -0
- package/dist/runner/attempt-cancellation.d.cts +6 -0
- package/dist/runner/attempt-cancellation.d.mts +6 -0
- package/dist/runner/attempt-cancellation.d.ts +6 -0
- package/dist/runner/attempt-cancellation.js +6 -0
- package/dist/runner/attempt-cancellation.js.map +1 -0
- package/dist/runner/attempt-resources.cjs +10 -4
- package/dist/runner/attempt-resources.cjs.map +1 -1
- package/dist/runner/attempt-resources.d.cts +2 -1
- package/dist/runner/attempt-resources.d.mts +2 -1
- package/dist/runner/attempt-resources.d.ts +2 -1
- package/dist/runner/attempt.cjs +1177 -1139
- package/dist/runner/attempt.cjs.map +1 -1
- package/dist/runner/config-identity.cjs +20 -1
- package/dist/runner/config-identity.cjs.map +1 -1
- package/dist/runner/config-identity.d.cts +5 -0
- package/dist/runner/config-identity.d.mts +5 -0
- package/dist/runner/config-identity.d.ts +5 -0
- package/dist/runner/discover.cjs +14 -0
- package/dist/runner/discover.cjs.map +1 -1
- package/dist/runner/discover.d.cts +3 -0
- package/dist/runner/discover.d.mts +3 -0
- package/dist/runner/discover.d.ts +3 -0
- package/dist/runner/feedback/human.cjs +9 -4
- package/dist/runner/feedback/human.cjs.map +1 -1
- package/dist/runner/fingerprint.cjs +1 -0
- package/dist/runner/fingerprint.cjs.map +1 -1
- package/dist/runner/judge-usage.cjs +18 -0
- package/dist/runner/judge-usage.cjs.map +1 -0
- package/dist/runner/judge-usage.d.cts +5 -0
- package/dist/runner/judge-usage.d.mts +5 -0
- package/dist/runner/judge-usage.d.ts +5 -0
- package/dist/runner/judge-usage.js +8 -0
- package/dist/runner/judge-usage.js.map +1 -0
- package/dist/runner/project-target.cjs.map +1 -1
- package/dist/runner/project-target.d.cts +2 -0
- package/dist/runner/project-target.d.mts +2 -0
- package/dist/runner/project-target.d.ts +2 -0
- package/dist/runner/record/planning.cjs +1 -0
- package/dist/runner/record/planning.cjs.map +1 -1
- package/dist/runner/record.cjs +4 -0
- package/dist/runner/record.cjs.map +1 -1
- package/dist/runner/reporters/braintrust.cjs +2 -0
- package/dist/runner/reporters/braintrust.cjs.map +1 -1
- package/dist/runner/reuse-diagnostics.cjs +9 -10
- package/dist/runner/reuse-diagnostics.cjs.map +1 -1
- package/dist/runner/reuse-diagnostics.d.cts +5 -6
- package/dist/runner/reuse-diagnostics.d.mts +5 -6
- package/dist/runner/reuse-diagnostics.d.ts +5 -6
- package/dist/runner/reuse-diagnostics.js +4 -4
- package/dist/runner/reuse-plan.cjs +100 -48
- package/dist/runner/reuse-plan.cjs.map +1 -1
- package/dist/runner/reuse-plan.d.cts +60 -3
- package/dist/runner/reuse-plan.d.mts +60 -3
- package/dist/runner/reuse-plan.d.ts +60 -3
- package/dist/runner/reuse-plan.js +14 -10
- package/dist/runner/run.cjs +8 -6
- package/dist/runner/run.cjs.map +1 -1
- package/dist/runner/session.cjs +1 -1
- package/dist/runner/session.cjs.map +1 -1
- package/dist/runner/session.d.cts +1 -1
- package/dist/runner/session.d.mts +1 -1
- package/dist/runner/session.d.ts +1 -1
- package/dist/runner/source-producer.cjs +3 -1
- package/dist/runner/source-producer.cjs.map +1 -1
- package/dist/runner/types.cjs.map +1 -1
- package/dist/runner/types.d.cts +26 -5
- package/dist/runner/types.d.mts +26 -5
- package/dist/runner/types.d.ts +26 -5
- package/dist/sandbox/action.cjs +3 -0
- package/dist/sandbox/action.cjs.map +1 -1
- package/dist/sandbox/commands.cjs +3 -0
- package/dist/sandbox/commands.cjs.map +1 -1
- package/dist/sandbox/compose.cjs +6 -0
- package/dist/sandbox/compose.cjs.map +1 -1
- package/dist/sandbox/docker-profile/registry.cjs +7 -0
- package/dist/sandbox/docker-profile/registry.cjs.map +1 -1
- package/dist/sandbox/docker-profile/runtime.cjs +3 -0
- package/dist/sandbox/docker-profile/runtime.cjs.map +1 -1
- package/dist/sandbox/docker-profile/schema.cjs +7 -0
- package/dist/sandbox/docker-profile/schema.cjs.map +1 -1
- package/dist/sandbox/incus.cjs +7 -0
- package/dist/sandbox/incus.cjs.map +1 -1
- package/dist/sandbox/layer.cjs +12 -0
- package/dist/sandbox/layer.cjs.map +1 -1
- package/dist/shared/adapter-cleanup.cjs +18 -0
- package/dist/shared/adapter-cleanup.cjs.map +1 -0
- package/dist/shared/adapter-cleanup.d.cts +4 -0
- package/dist/shared/adapter-cleanup.d.mts +4 -0
- package/dist/shared/adapter-cleanup.d.ts +4 -0
- package/dist/shared/adapter-cleanup.js +10 -0
- package/dist/shared/adapter-cleanup.js.map +1 -0
- package/dist/shared/attempt-lifecycle.cjs +3 -0
- package/dist/shared/attempt-lifecycle.cjs.map +1 -0
- package/dist/shared/attempt-lifecycle.d.cts +13 -0
- package/dist/shared/attempt-lifecycle.d.mts +13 -0
- package/dist/shared/attempt-lifecycle.d.ts +13 -0
- package/dist/shared/attempt-lifecycle.js +4 -0
- package/dist/shared/attempt-lifecycle.js.map +1 -0
- package/dist/show/contribution.cjs +52 -14
- package/dist/show/contribution.cjs.map +1 -1
- package/dist/show/contribution.d.cts +23 -1
- package/dist/show/contribution.d.mts +23 -1
- package/dist/show/contribution.d.ts +23 -1
- package/dist/show/model.cjs +8 -1
- package/dist/show/model.cjs.map +1 -1
- package/dist/show/model.d.cts +10 -1
- package/dist/show/model.d.mts +10 -1
- package/dist/show/model.d.ts +10 -1
- package/dist/show/render.cjs +287 -49
- package/dist/show/render.cjs.map +1 -1
- package/dist/show/render.d.cts +3 -0
- package/dist/show/render.d.mts +3 -0
- package/dist/show/render.d.ts +3 -0
- package/dist/sources/projector.cjs +3 -0
- package/dist/sources/projector.cjs.map +1 -1
- package/dist/types.cjs.map +1 -1
- package/dist/types.d.cts +1 -1
- package/dist/types.d.mts +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/view/app-dist/.vite/manifest.json +2 -2
- package/dist/view/app-dist/assets/index-CmVoXbwG.js +63 -0
- package/dist/view/app-dist/assets/{quality-cost-scatter-CFB3wnkN.js → quality-cost-scatter-BuLISaH4.js} +1 -1
- package/dist/view/app-dist/index.html +1 -1
- package/dist/view/cli/contribution.cjs +54 -21
- package/dist/view/cli/contribution.cjs.map +1 -1
- package/dist/view/cli/contribution.d.cts +2 -1
- package/dist/view/cli/contribution.d.mts +2 -1
- package/dist/view/cli/contribution.d.ts +2 -1
- package/dist/view/function-runtime.mjs +13231 -11647
- package/dist/view/http-protocol.cjs +3 -0
- package/dist/view/http-protocol.cjs.map +1 -1
- package/dist/view/http-protocol.d.cts +8 -0
- package/dist/view/http-protocol.d.mts +8 -0
- package/dist/view/http-protocol.d.ts +8 -0
- package/dist/view/inspection-host.cjs +17 -1
- package/dist/view/inspection-host.cjs.map +1 -1
- package/dist/view/render.cjs +1 -0
- package/dist/view/render.cjs.map +1 -1
- package/dist/view/render.d.cts +2 -1
- package/dist/view/render.d.mts +2 -1
- package/dist/view/render.d.ts +2 -1
- package/dist/view/revision.cjs.map +1 -1
- package/dist/view/revision.d.cts +12 -0
- package/dist/view/revision.d.mts +12 -0
- package/dist/view/revision.d.ts +12 -0
- package/dist/view/server.cjs +10 -9
- package/dist/view/server.cjs.map +1 -1
- package/docs-site/zh/examples/ai-agent-application.mdx +1 -1
- package/docs-site/zh/explanation/adapter.mdx +2 -2
- package/docs-site/zh/explanation/assert.mdx +60 -24
- package/docs-site/zh/explanation/drive.mdx +1 -1
- package/docs-site/zh/explanation/evals.mdx +31 -29
- package/docs-site/zh/explanation/experiment.mdx +15 -15
- package/docs-site/zh/explanation/judge.mdx +23 -15
- package/docs-site/zh/explanation/overview.mdx +44 -21
- package/docs-site/zh/explanation/record.mdx +28 -13
- package/docs-site/zh/explanation/results-flow.mdx +37 -0
- package/docs-site/zh/explanation/runner.mdx +27 -6
- package/docs-site/zh/index.mdx +22 -115
- package/docs-site/zh/introduction.mdx +89 -61
- package/docs-site/zh/reference/cli.mdx +50 -26
- package/docs-site/zh/reference/define-agent.mdx +37 -5
- package/docs-site/zh/reference/define-eval.mdx +130 -29
- package/docs-site/zh/reference/define-experiment.mdx +251 -0
- package/docs-site/zh/reference/events.mdx +34 -30
- package/docs-site/zh/reference/expect.mdx +77 -2
- package/docs-site/zh/reference/official-adapters.mdx +2 -2
- package/docs-site/zh/troubleshooting/debug-sandbox.mdx +43 -24
- package/docs-site/zh/troubleshooting/debugging.mdx +65 -42
- package/docs-site/zh/troubleshooting/recover-after-kill.mdx +35 -28
- package/docs-site/zh/tutorials/accept-results.mdx +34 -24
- package/docs-site/zh/tutorials/agent-feedback-loop.mdx +74 -43
- package/docs-site/zh/tutorials/agent-onboarding.mdx +27 -20
- package/docs-site/zh/tutorials/authoring.mdx +138 -121
- package/docs-site/zh/tutorials/ci-integration.mdx +46 -22
- package/docs-site/zh/tutorials/compare-runs.mdx +40 -13
- package/docs-site/zh/tutorials/concurrency.mdx +66 -62
- package/docs-site/zh/tutorials/configuration.mdx +17 -17
- package/docs-site/zh/tutorials/connect-otel.mdx +48 -37
- package/docs-site/zh/tutorials/connect-your-agent.mdx +80 -173
- package/docs-site/zh/tutorials/control-run-cost.mdx +63 -12
- package/docs-site/zh/tutorials/criteria-files.mdx +28 -21
- package/docs-site/zh/tutorials/custom-application.mdx +75 -55
- package/docs-site/zh/tutorials/dataset-fanout.mdx +32 -22
- package/docs-site/zh/tutorials/debug-lifecycle-plan.mdx +38 -31
- package/docs-site/zh/tutorials/docker-in-docker.mdx +83 -89
- package/docs-site/zh/tutorials/eval-groups.mdx +70 -89
- package/docs-site/zh/tutorials/evaluation-kinds.mdx +12 -5
- package/docs-site/zh/tutorials/experiment-services.mdx +243 -0
- package/docs-site/zh/tutorials/fixtures.mdx +42 -26
- package/docs-site/zh/tutorials/handle-execution-failures.mdx +41 -19
- package/docs-site/zh/tutorials/install-custom-sandbox-agent.mdx +21 -16
- package/docs-site/zh/tutorials/niceeval-taste-application.mdx +394 -0
- package/docs-site/zh/tutorials/niceeval-taste.mdx +190 -0
- package/docs-site/zh/tutorials/nixos-managed-dind.mdx +51 -39
- package/docs-site/zh/tutorials/plugins.mdx +55 -31
- package/docs-site/zh/tutorials/prebuilt-sandbox.mdx +204 -0
- package/docs-site/zh/tutorials/quickstart.mdx +91 -47
- package/docs-site/zh/tutorials/reporters.mdx +45 -30
- package/docs-site/zh/tutorials/rerun-and-cache.mdx +39 -40
- package/docs-site/zh/tutorials/sandbox-agent.mdx +65 -40
- package/docs-site/zh/tutorials/sandbox-providers.mdx +104 -282
- package/docs-site/zh/tutorials/sandbox-reuse.mdx +65 -97
- package/docs-site/zh/tutorials/select-and-preview.mdx +25 -20
- package/docs-site/zh/tutorials/verify-judge.mdx +49 -26
- package/docs-site/zh/tutorials/viewing-results.mdx +130 -80
- package/docs-site/zh/tutorials/write-experiment.mdx +116 -298
- package/docs-site/zh/tutorials/write-send.mdx +53 -52
- package/node_modules/undici/docs/docs/api/Agent.md +8 -8
- package/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +9 -6
- package/node_modules/undici/docs/docs/api/Errors.md +25 -0
- package/node_modules/undici/docs/docs/api/Interceptors.md +4 -3
- package/node_modules/undici/docs/docs/api/Pool.md +5 -6
- package/node_modules/undici/lib/api/readable.js +1 -2
- package/node_modules/undici/lib/core/request.js +23 -2
- package/node_modules/undici/lib/core/util.js +0 -39
- package/node_modules/undici/lib/dispatcher/client-h1.js +11 -4
- package/node_modules/undici/lib/dispatcher/client-h2.js +52 -8
- package/node_modules/undici/lib/dispatcher/client.js +1 -1
- package/node_modules/undici/lib/dispatcher/dispatcher1-wrapper.js +3 -2
- package/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +21 -6
- package/node_modules/undici/lib/dispatcher/pool-base.js +63 -2
- package/node_modules/undici/lib/dispatcher/pool.js +90 -7
- package/node_modules/undici/lib/dispatcher/proxy-agent.js +16 -3
- package/node_modules/undici/lib/handler/deduplication-handler.js +24 -11
- package/node_modules/undici/lib/handler/redirect-handler.js +5 -0
- package/node_modules/undici/lib/handler/retry-handler.js +72 -13
- package/node_modules/undici/lib/interceptor/cache.js +4 -1
- package/node_modules/undici/lib/interceptor/decompress.js +236 -69
- package/node_modules/undici/lib/web/cache/cache.js +17 -8
- package/node_modules/undici/lib/web/cache/cachestorage.js +11 -5
- package/node_modules/undici/lib/web/cookies/index.js +19 -7
- package/node_modules/undici/lib/web/cookies/util.js +3 -1
- package/node_modules/undici/lib/web/eventsource/eventsource.js +25 -1
- package/node_modules/undici/lib/web/fetch/body.js +22 -15
- package/node_modules/undici/lib/web/fetch/data-url.js +6 -6
- package/node_modules/undici/lib/web/fetch/formdata.js +30 -36
- package/node_modules/undici/lib/web/fetch/headers.js +34 -31
- package/node_modules/undici/lib/web/fetch/index.js +38 -14
- package/node_modules/undici/lib/web/fetch/request.js +74 -79
- package/node_modules/undici/lib/web/fetch/response.js +43 -44
- package/node_modules/undici/lib/web/fetch/util.js +7 -7
- package/node_modules/undici/lib/web/infra/index.js +16 -1
- package/node_modules/undici/lib/web/webidl/index.js +2 -14
- package/node_modules/undici/lib/web/websocket/events.js +43 -26
- package/node_modules/undici/lib/web/websocket/receiver.js +5 -0
- package/node_modules/undici/lib/web/websocket/stream/websocketerror.js +13 -10
- package/node_modules/undici/lib/web/websocket/websocket.js +44 -41
- package/node_modules/undici/package.json +1 -1
- package/node_modules/undici/types/diagnostics-channel.d.ts +2 -1
- package/node_modules/undici/types/interceptors.d.ts +1 -1
- package/node_modules/undici/types/webidl.d.ts +13 -7
- package/package.json +4 -4
- package/dist/view/app-dist/assets/index-DFzw1L97.js +0 -63
- package/docs-site/zh/tutorials/experiments.mdx +0 -101
|
@@ -17,6 +17,7 @@ export declare const NiceEvalRecordAttachmentPersistences: readonly [import("../
|
|
|
17
17
|
}>]>>;
|
|
18
18
|
}>]>;
|
|
19
19
|
readonly calls: Schema.$Array<Schema.Struct<{
|
|
20
|
+
readonly modelSlot: Schema.NullOr<Schema.String>;
|
|
20
21
|
readonly route: Schema.Struct<{
|
|
21
22
|
readonly transportProvider: Schema.NullOr<Schema.String>;
|
|
22
23
|
readonly endpointId: Schema.NullOr<Schema.String>;
|
|
@@ -80,7 +81,97 @@ export declare const NiceEvalRecordAttachmentPersistences: readonly [import("../
|
|
|
80
81
|
readonly reason: Schema.Literals<readonly ["tokens-unknown", "rate-unknown"]>;
|
|
81
82
|
}>>;
|
|
82
83
|
}>>;
|
|
83
|
-
}>>,
|
|
84
|
+
}>>, 4>, import("../attachment/protocol.js").RecordAttachmentPersistence<import("../attachment/protocol.js").RecordAttachmentDefinition<"attempt", "niceeval.judge-usage", Schema.Struct<{
|
|
85
|
+
readonly collection: Schema.Union<readonly [Schema.Struct<{
|
|
86
|
+
readonly state: Schema.Literal<"complete">;
|
|
87
|
+
readonly limitations: Schema.Tuple<readonly []>;
|
|
88
|
+
}>, Schema.Struct<{
|
|
89
|
+
readonly state: Schema.Literal<"partial">;
|
|
90
|
+
readonly limitations: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
91
|
+
readonly code: Schema.Literals<readonly ["capture-failed", "capture-interrupted"]>;
|
|
92
|
+
readonly stage: Schema.String;
|
|
93
|
+
}>, Schema.Struct<{
|
|
94
|
+
readonly code: Schema.Literals<readonly ["collection-cap-reached", "unsupported-input"]>;
|
|
95
|
+
readonly omittedAtLeast: Schema.Number;
|
|
96
|
+
}>]>>;
|
|
97
|
+
}>]>;
|
|
98
|
+
readonly calls: Schema.$Array<Schema.Struct<{
|
|
99
|
+
readonly callId: Schema.String;
|
|
100
|
+
readonly entryIndex: Schema.Number;
|
|
101
|
+
readonly entryId: Schema.Codec<import("../../index.js").AssertionEntryId, string, never, never>;
|
|
102
|
+
readonly logicalOrdinal: Schema.Number;
|
|
103
|
+
readonly transmissionOrdinal: Schema.Number;
|
|
104
|
+
readonly operation: Schema.Literals<readonly ["score", "classify", "extract", "batchClassify"]>;
|
|
105
|
+
readonly requestModel: Schema.String;
|
|
106
|
+
readonly transportProvider: Schema.Literals<readonly ["openai", "vercel", "openrouter", "typesafe"]>;
|
|
107
|
+
readonly provider: Schema.NullOr<Schema.String>;
|
|
108
|
+
readonly model: Schema.NullOr<Schema.String>;
|
|
109
|
+
readonly status: Schema.Literals<readonly ["succeeded", "failed", "cancelled", "unknown"]>;
|
|
110
|
+
readonly httpStatus: Schema.NullOr<Schema.Number>;
|
|
111
|
+
readonly inputTokens: Schema.NullOr<Schema.Number>;
|
|
112
|
+
readonly inputTotalTokens: Schema.NullOr<Schema.Number>;
|
|
113
|
+
readonly outputTokens: Schema.NullOr<Schema.Number>;
|
|
114
|
+
readonly cacheReadTokens: Schema.NullOr<Schema.Number>;
|
|
115
|
+
readonly cacheWriteTokens: Schema.NullOr<Schema.Number>;
|
|
116
|
+
readonly cost: Schema.NullOr<Schema.Struct<{
|
|
117
|
+
readonly amount: Schema.Codec<import("./source-receipt/model.js").CanonicalDecimal, string, never, never>;
|
|
118
|
+
readonly currency: Schema.Codec<import("./source-receipt/model.js").CurrencyCode, string, never, never>;
|
|
119
|
+
readonly source: Schema.Struct<{
|
|
120
|
+
readonly kind: Schema.Literal<"reported">;
|
|
121
|
+
readonly id: Schema.String;
|
|
122
|
+
}>;
|
|
123
|
+
}>>;
|
|
124
|
+
readonly receipt: Schema.Struct<{
|
|
125
|
+
readonly state: Schema.Literals<readonly ["available", "unavailable"]>;
|
|
126
|
+
readonly reason: Schema.NullOr<Schema.Literals<readonly ["response-unavailable", "cancelled", "response-too-large", "invalid-json", "usage-not-reported", "invalid-usage", "response-model-too-large"]>>;
|
|
127
|
+
readonly responseDigest: Schema.NullOr<Schema.String>;
|
|
128
|
+
readonly fields: Schema.$Array<Schema.Struct<{
|
|
129
|
+
readonly path: Schema.Literals<readonly ["model", "provider", "usage.completion_tokens", "usage.cost", "usage.input_tokens", "usage.output_tokens", "usage.prompt_tokens", "usage.prompt_tokens_details.cache_write_tokens", "usage.prompt_tokens_details.cached_tokens", "usage.total_tokens"]>;
|
|
130
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Number, Schema.Null]>;
|
|
131
|
+
}>>;
|
|
132
|
+
}>;
|
|
133
|
+
}>>;
|
|
134
|
+
readonly priceReceipts: Schema.$Array<Schema.Struct<{
|
|
135
|
+
readonly kind: Schema.Literal<"judge-call-price-estimate">;
|
|
136
|
+
readonly callId: Schema.String;
|
|
137
|
+
readonly state: Schema.Literals<readonly ["complete", "partial"]>;
|
|
138
|
+
readonly amount: Schema.Codec<import("./source-receipt/model.js").CanonicalDecimal, string, never, never>;
|
|
139
|
+
readonly currency: Schema.Literal<"USD">;
|
|
140
|
+
readonly source: Schema.Struct<{
|
|
141
|
+
readonly kind: Schema.Literal<"estimated">;
|
|
142
|
+
readonly id: Schema.String;
|
|
143
|
+
}>;
|
|
144
|
+
readonly pricing: Schema.Struct<{
|
|
145
|
+
readonly basis: Schema.Literal<"catalog-reference">;
|
|
146
|
+
readonly currency: Schema.Literal<"USD">;
|
|
147
|
+
readonly source: Schema.Struct<{
|
|
148
|
+
readonly kind: Schema.Literal<"configured-profile">;
|
|
149
|
+
readonly id: Schema.String;
|
|
150
|
+
readonly asOf: Schema.NullOr<Schema.Number>;
|
|
151
|
+
readonly profileDigest: Schema.String;
|
|
152
|
+
}>;
|
|
153
|
+
readonly requestModel: Schema.String;
|
|
154
|
+
readonly selector: Schema.String;
|
|
155
|
+
readonly match: Schema.Literals<readonly ["exact", "provider-wildcard"]>;
|
|
156
|
+
readonly ratesPerMTok: Schema.Struct<{
|
|
157
|
+
readonly input: Schema.NullOr<Schema.Codec<import("./source-receipt/model.js").CanonicalDecimal, string, never, never>>;
|
|
158
|
+
readonly output: Schema.NullOr<Schema.Codec<import("./source-receipt/model.js").CanonicalDecimal, string, never, never>>;
|
|
159
|
+
readonly cacheRead: Schema.NullOr<Schema.Codec<import("./source-receipt/model.js").CanonicalDecimal, string, never, never>>;
|
|
160
|
+
readonly cacheWrite: Schema.NullOr<Schema.Codec<import("./source-receipt/model.js").CanonicalDecimal, string, never, never>>;
|
|
161
|
+
}>;
|
|
162
|
+
}>;
|
|
163
|
+
readonly charges: Schema.NonEmptyArray<Schema.Struct<{
|
|
164
|
+
readonly bucket: Schema.Literals<readonly ["input", "output", "cache-read", "cache-write"]>;
|
|
165
|
+
readonly tokens: Schema.Number;
|
|
166
|
+
readonly ratePerMTok: Schema.NullOr<Schema.Codec<import("./source-receipt/model.js").CanonicalDecimal, string, never, never>>;
|
|
167
|
+
readonly amount: Schema.Codec<import("./source-receipt/model.js").CanonicalDecimal, string, never, never>;
|
|
168
|
+
}>>;
|
|
169
|
+
readonly missing: Schema.$Array<Schema.Struct<{
|
|
170
|
+
readonly bucket: Schema.Literals<readonly ["input", "output", "cache-read", "cache-write"]>;
|
|
171
|
+
readonly reason: Schema.Literals<readonly ["tokens-unknown", "rate-unknown"]>;
|
|
172
|
+
}>>;
|
|
173
|
+
}>>;
|
|
174
|
+
}>>, 1>, import("../attachment/protocol.js").RecordAttachmentPersistence<import("../attachment/protocol.js").RecordAttachmentDefinition<"attempt", "niceeval.assertions", Schema.encodeKeys<Schema.Struct<{
|
|
84
175
|
readonly entries: Schema.$Array<Schema.Struct<{
|
|
85
176
|
readonly entryId: Schema.toType<Schema.Codec<import("../../index.js").AssertionEntryId, string, never, never>>;
|
|
86
177
|
readonly display: Schema.toType<Schema.Schema<import("../../assertions/record/model.js").AssertionDisplay>>;
|
|
@@ -1071,7 +1162,7 @@ export declare const NiceEvalRecordAttachmentPersistences: readonly [import("../
|
|
|
1071
1162
|
}>>, 2>];
|
|
1072
1163
|
export declare const NiceEvalRecordAttachmentCatalog: RecordAttachmentCatalog;
|
|
1073
1164
|
/** Family identities and source subsets derive from the logical definitions. */
|
|
1074
|
-
export declare const NICE_EVAL_FAMILIES: readonly ["niceeval.adapter-usage", "niceeval.assertions", "niceeval.attempt-cost", "niceeval.agent-turns", "niceeval.turn-contexts", "niceeval.sandbox-commands", "niceeval.runner-activities", "niceeval.runner-diagnostics", "niceeval.file-changes", "niceeval.execution-traces", "niceeval.sources", "niceeval.artifacts"];
|
|
1075
|
-
export declare const NICE_EVAL_OBSERVABILITY_SOURCE_FAMILIES: readonly ["niceeval.adapter-usage", "niceeval.agent-turns", "niceeval.execution-traces", "niceeval.turn-contexts", "niceeval.sandbox-commands", "niceeval.runner-activities", "niceeval.runner-diagnostics"];
|
|
1165
|
+
export declare const NICE_EVAL_FAMILIES: readonly ["niceeval.adapter-usage", "niceeval.judge-usage", "niceeval.assertions", "niceeval.attempt-cost", "niceeval.agent-turns", "niceeval.turn-contexts", "niceeval.sandbox-commands", "niceeval.runner-activities", "niceeval.runner-diagnostics", "niceeval.file-changes", "niceeval.execution-traces", "niceeval.sources", "niceeval.artifacts"];
|
|
1166
|
+
export declare const NICE_EVAL_OBSERVABILITY_SOURCE_FAMILIES: readonly ["niceeval.adapter-usage", "niceeval.judge-usage", "niceeval.agent-turns", "niceeval.execution-traces", "niceeval.turn-contexts", "niceeval.sandbox-commands", "niceeval.runner-activities", "niceeval.runner-diagnostics"];
|
|
1076
1167
|
export type NiceEvalFamily = (typeof NICE_EVAL_FAMILIES)[number];
|
|
1077
1168
|
export declare const NiceEvalFamilySchema: Schema.Codec<NiceEvalFamily>;
|
|
@@ -1,65 +1,68 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.NiceEvalCurrentRecordAttachments = exports.NiceEvalRecordAttachments = void 0;
|
|
4
|
-
const definition_ts_1 = require("./
|
|
5
|
-
const definition_ts_2 = require("./
|
|
6
|
-
const definition_ts_3 = require("./
|
|
7
|
-
const definition_ts_4 = require("./
|
|
8
|
-
const definition_ts_5 = require("./
|
|
9
|
-
const definition_ts_6 = require("./
|
|
10
|
-
const definition_ts_7 = require("./
|
|
11
|
-
const definition_ts_8 = require("./
|
|
12
|
-
const definition_ts_9 = require("./runner-
|
|
13
|
-
const definition_ts_10 = require("./
|
|
14
|
-
const definition_ts_11 = require("./
|
|
15
|
-
const definition_ts_12 = require("./
|
|
4
|
+
const definition_ts_1 = require("./judge-usage/definition.cjs");
|
|
5
|
+
const definition_ts_2 = require("./agent-turns/definition.cjs");
|
|
6
|
+
const definition_ts_3 = require("./adapter-usage/definition.cjs");
|
|
7
|
+
const definition_ts_4 = require("./attempt-cost/definition.cjs");
|
|
8
|
+
const definition_ts_5 = require("./artifacts/definition.cjs");
|
|
9
|
+
const definition_ts_6 = require("./assertions/definition.cjs");
|
|
10
|
+
const definition_ts_7 = require("./file-changes/definition.cjs");
|
|
11
|
+
const definition_ts_8 = require("./execution-traces/definition.cjs");
|
|
12
|
+
const definition_ts_9 = require("./runner-activities/definition.cjs");
|
|
13
|
+
const definition_ts_10 = require("./runner-diagnostics/definition.cjs");
|
|
14
|
+
const definition_ts_11 = require("./sandbox-commands/definition.cjs");
|
|
15
|
+
const definition_ts_12 = require("./sources/definition.cjs");
|
|
16
|
+
const definition_ts_13 = require("./turn-contexts/definition.cjs");
|
|
16
17
|
/** Browser-neutral logical definitions, grouped only for direct current-reader use. */
|
|
17
18
|
exports.NiceEvalRecordAttachments = Object.freeze({
|
|
18
|
-
adapterUsage:
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
19
|
+
adapterUsage: definition_ts_3.adapterUsageRecordAttachment,
|
|
20
|
+
judgeUsage: definition_ts_1.judgeUsageRecordAttachment,
|
|
21
|
+
assertions: definition_ts_6.assertionsRecordAttachment,
|
|
22
|
+
attemptCost: definition_ts_4.attemptCostRecordAttachment,
|
|
23
|
+
agentTurns: definition_ts_2.agentTurnsRecordAttachment,
|
|
24
|
+
turnContexts: definition_ts_13.turnContextsRecordAttachment,
|
|
25
|
+
sandboxCommands: definition_ts_11.sandboxCommandsRecordAttachment,
|
|
24
26
|
runnerActivities: Object.freeze({
|
|
25
|
-
attempt:
|
|
26
|
-
run:
|
|
27
|
+
attempt: definition_ts_9.attemptRunnerActivitiesRecordAttachment,
|
|
28
|
+
run: definition_ts_9.runRunnerActivitiesRecordAttachment,
|
|
27
29
|
}),
|
|
28
30
|
runnerDiagnostics: Object.freeze({
|
|
29
|
-
attempt:
|
|
30
|
-
run:
|
|
31
|
+
attempt: definition_ts_10.attemptRunnerDiagnosticsRecordAttachment,
|
|
32
|
+
run: definition_ts_10.runRunnerDiagnosticsRecordAttachment,
|
|
31
33
|
}),
|
|
32
|
-
fileChanges:
|
|
33
|
-
executionTraces:
|
|
34
|
-
sources:
|
|
34
|
+
fileChanges: definition_ts_7.fileChangesRecordAttachment,
|
|
35
|
+
executionTraces: definition_ts_8.executionTracesRecordCollection,
|
|
36
|
+
sources: definition_ts_12.sourcesRecordAttachment,
|
|
35
37
|
artifacts: Object.freeze({
|
|
36
|
-
attempt:
|
|
37
|
-
run:
|
|
38
|
+
attempt: definition_ts_5.attemptArtifactsRecordAttachment,
|
|
39
|
+
run: definition_ts_5.runArtifactsRecordAttachment,
|
|
38
40
|
}),
|
|
39
41
|
});
|
|
40
42
|
const current = (attachment, revision) => Object.freeze({ attachment, revision });
|
|
41
43
|
/** Current revisions without importing historical Node-only migration code. */
|
|
42
44
|
exports.NiceEvalCurrentRecordAttachments = Object.freeze({
|
|
43
|
-
adapterUsage: current(
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
45
|
+
adapterUsage: current(definition_ts_3.adapterUsageRecordAttachment, 4),
|
|
46
|
+
judgeUsage: current(definition_ts_1.judgeUsageRecordAttachment, 1),
|
|
47
|
+
assertions: current(definition_ts_6.assertionsRecordAttachment, 4),
|
|
48
|
+
attemptCost: current(definition_ts_4.attemptCostRecordAttachment, 1),
|
|
49
|
+
agentTurns: current(definition_ts_2.agentTurnsRecordAttachment, 4),
|
|
50
|
+
turnContexts: current(definition_ts_13.turnContextsRecordAttachment, 2),
|
|
51
|
+
sandboxCommands: current(definition_ts_11.sandboxCommandsRecordAttachment, 2),
|
|
49
52
|
runnerActivities: Object.freeze({
|
|
50
|
-
attempt: current(
|
|
51
|
-
run: current(
|
|
53
|
+
attempt: current(definition_ts_9.attemptRunnerActivitiesRecordAttachment, 2),
|
|
54
|
+
run: current(definition_ts_9.runRunnerActivitiesRecordAttachment, 2),
|
|
52
55
|
}),
|
|
53
56
|
runnerDiagnostics: Object.freeze({
|
|
54
|
-
attempt: current(
|
|
55
|
-
run: current(
|
|
57
|
+
attempt: current(definition_ts_10.attemptRunnerDiagnosticsRecordAttachment, 2),
|
|
58
|
+
run: current(definition_ts_10.runRunnerDiagnosticsRecordAttachment, 2),
|
|
56
59
|
}),
|
|
57
|
-
fileChanges: current(
|
|
58
|
-
executionTraces: current(
|
|
59
|
-
sources: current(
|
|
60
|
+
fileChanges: current(definition_ts_7.fileChangesRecordAttachment, 2),
|
|
61
|
+
executionTraces: current(definition_ts_8.executionTracesRecordCollection, 1),
|
|
62
|
+
sources: current(definition_ts_12.sourcesRecordAttachment, 2),
|
|
60
63
|
artifacts: Object.freeze({
|
|
61
|
-
attempt: current(
|
|
62
|
-
run: current(
|
|
64
|
+
attempt: current(definition_ts_5.attemptArtifactsRecordAttachment, 2),
|
|
65
|
+
run: current(definition_ts_5.runArtifactsRecordAttachment, 2),
|
|
63
66
|
}),
|
|
64
67
|
});
|
|
65
68
|
//# sourceMappingURL=current.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"current.js","sourceRoot":"","sources":["current.ts"],"names":[],"mappings":";;;AAAA,+DAAyE;AACzE,iEAA6E;AAC7E,gEAA2E;AAC3E,6DAA4G;AAC5G,8DAAwE;AACxE,gEAA2E;AAC3E,oEAAmF;AACnF,qEAAkI;AAClI,
|
|
1
|
+
{"version":3,"file":"current.js","sourceRoot":"","sources":["current.ts"],"names":[],"mappings":";;;AAAA,+DAAyE;AACzE,+DAAyE;AACzE,iEAA6E;AAC7E,gEAA2E;AAC3E,6DAA4G;AAC5G,8DAAwE;AACxE,gEAA2E;AAC3E,oEAAmF;AACnF,qEAAkI;AAClI,uEAAqI;AACrI,qEAAmF;AACnF,4DAAkE;AAClE,kEAA6E;AAC7E,uFAAuF;AAC1E,QAAA,yBAAyB,GAAG,MAAM,CAAC,MAAM,CAAC;IACnD,YAAY,EAAE,4CAA4B;IAC1C,UAAU,EAAE,0CAA0B;IACtC,UAAU,EAAE,0CAA0B;IACtC,WAAW,EAAE,2CAA2B;IACxC,UAAU,EAAE,0CAA0B;IACtC,YAAY,EAAE,6CAA4B;IAC1C,eAAe,EAAE,gDAA+B;IAChD,gBAAgB,EAAE,MAAM,CAAC,MAAM,CAAC;QAC5B,OAAO,EAAE,uDAAuC;QAChD,GAAG,EAAE,mDAAmC;KAC3C,CAAC;IACF,iBAAiB,EAAE,MAAM,CAAC,MAAM,CAAC;QAC7B,OAAO,EAAE,yDAAwC;QACjD,GAAG,EAAE,qDAAoC;KAC5C,CAAC;IACF,WAAW,EAAE,2CAA2B;IACxC,eAAe,EAAE,+CAA+B;IAChD,OAAO,EAAE,wCAAuB;IAChC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC;QACrB,OAAO,EAAE,gDAAgC;QACzC,GAAG,EAAE,4CAA4B;KACpC,CAAC;CACL,CAAC,CAAC;AACH,MAAM,OAAO,GAAG,CAAsC,UAAsB,EAAE,QAAkB,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,CAAC,CAAC;AAC7I,+EAA+E;AAClE,QAAA,gCAAgC,GAAG,MAAM,CAAC,MAAM,CAAC;IAC1D,YAAY,EAAE,OAAO,CAAC,4CAA4B,EAAE,CAAC,CAAC;IACtD,UAAU,EAAE,OAAO,CAAC,0CAA0B,EAAE,CAAC,CAAC;IAClD,UAAU,EAAE,OAAO,CAAC,0CAA0B,EAAE,CAAC,CAAC;IAClD,WAAW,EAAE,OAAO,CAAC,2CAA2B,EAAE,CAAC,CAAC;IACpD,UAAU,EAAE,OAAO,CAAC,0CAA0B,EAAE,CAAC,CAAC;IAClD,YAAY,EAAE,OAAO,CAAC,6CAA4B,EAAE,CAAC,CAAC;IACtD,eAAe,EAAE,OAAO,CAAC,gDAA+B,EAAE,CAAC,CAAC;IAC5D,gBAAgB,EAAE,MAAM,CAAC,MAAM,CAAC;QAC5B,OAAO,EAAE,OAAO,CAAC,uDAAuC,EAAE,CAAC,CAAC;QAC5D,GAAG,EAAE,OAAO,CAAC,mDAAmC,EAAE,CAAC,CAAC;KACvD,CAAC;IACF,iBAAiB,EAAE,MAAM,CAAC,MAAM,CAAC;QAC7B,OAAO,EAAE,OAAO,CAAC,yDAAwC,EAAE,CAAC,CAAC;QAC7D,GAAG,EAAE,OAAO,CAAC,qDAAoC,EAAE,CAAC,CAAC;KACxD,CAAC;IACF,WAAW,EAAE,OAAO,CAAC,2CAA2B,EAAE,CAAC,CAAC;IACpD,eAAe,EAAE,OAAO,CAAC,+CAA+B,EAAE,CAAC,CAAC;IAC5D,OAAO,EAAE,OAAO,CAAC,wCAAuB,EAAE,CAAC,CAAC;IAC5C,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC;QACrB,OAAO,EAAE,OAAO,CAAC,gDAAgC,EAAE,CAAC,CAAC;QACrD,GAAG,EAAE,OAAO,CAAC,4CAA4B,EAAE,CAAC,CAAC;KAChD,CAAC;CACL,CAAC,CAAC","sourcesContent":["import { judgeUsageRecordAttachment } from \"./judge-usage/definition.ts\";\nimport { agentTurnsRecordAttachment } from \"./agent-turns/definition.ts\";\nimport { adapterUsageRecordAttachment } from \"./adapter-usage/definition.ts\";\nimport { attemptCostRecordAttachment } from \"./attempt-cost/definition.ts\";\nimport { attemptArtifactsRecordAttachment, runArtifactsRecordAttachment, } from \"./artifacts/definition.ts\";\nimport { assertionsRecordAttachment } from \"./assertions/definition.ts\";\nimport { fileChangesRecordAttachment } from \"./file-changes/definition.ts\";\nimport { executionTracesRecordCollection } from \"./execution-traces/definition.ts\";\nimport { attemptRunnerActivitiesRecordAttachment, runRunnerActivitiesRecordAttachment, } from \"./runner-activities/definition.ts\";\nimport { attemptRunnerDiagnosticsRecordAttachment, runRunnerDiagnosticsRecordAttachment, } from \"./runner-diagnostics/definition.ts\";\nimport { sandboxCommandsRecordAttachment } from \"./sandbox-commands/definition.ts\";\nimport { sourcesRecordAttachment } from \"./sources/definition.ts\";\nimport { turnContextsRecordAttachment } from \"./turn-contexts/definition.ts\";\n/** Browser-neutral logical definitions, grouped only for direct current-reader use. */\nexport const NiceEvalRecordAttachments = Object.freeze({\n adapterUsage: adapterUsageRecordAttachment,\n judgeUsage: judgeUsageRecordAttachment,\n assertions: assertionsRecordAttachment,\n attemptCost: attemptCostRecordAttachment,\n agentTurns: agentTurnsRecordAttachment,\n turnContexts: turnContextsRecordAttachment,\n sandboxCommands: sandboxCommandsRecordAttachment,\n runnerActivities: Object.freeze({\n attempt: attemptRunnerActivitiesRecordAttachment,\n run: runRunnerActivitiesRecordAttachment,\n }),\n runnerDiagnostics: Object.freeze({\n attempt: attemptRunnerDiagnosticsRecordAttachment,\n run: runRunnerDiagnosticsRecordAttachment,\n }),\n fileChanges: fileChangesRecordAttachment,\n executionTraces: executionTracesRecordCollection,\n sources: sourcesRecordAttachment,\n artifacts: Object.freeze({\n attempt: attemptArtifactsRecordAttachment,\n run: runArtifactsRecordAttachment,\n }),\n});\nconst current = <Attachment, Revision extends number>(attachment: Attachment, revision: Revision) => Object.freeze({ attachment, revision });\n/** Current revisions without importing historical Node-only migration code. */\nexport const NiceEvalCurrentRecordAttachments = Object.freeze({\n adapterUsage: current(adapterUsageRecordAttachment, 4),\n judgeUsage: current(judgeUsageRecordAttachment, 1),\n assertions: current(assertionsRecordAttachment, 4),\n attemptCost: current(attemptCostRecordAttachment, 1),\n agentTurns: current(agentTurnsRecordAttachment, 4),\n turnContexts: current(turnContextsRecordAttachment, 2),\n sandboxCommands: current(sandboxCommandsRecordAttachment, 2),\n runnerActivities: Object.freeze({\n attempt: current(attemptRunnerActivitiesRecordAttachment, 2),\n run: current(runRunnerActivitiesRecordAttachment, 2),\n }),\n runnerDiagnostics: Object.freeze({\n attempt: current(attemptRunnerDiagnosticsRecordAttachment, 2),\n run: current(runRunnerDiagnosticsRecordAttachment, 2),\n }),\n fileChanges: current(fileChangesRecordAttachment, 2),\n executionTraces: current(executionTracesRecordCollection, 1),\n sources: current(sourcesRecordAttachment, 2),\n artifacts: Object.freeze({\n attempt: current(attemptArtifactsRecordAttachment, 2),\n run: current(runArtifactsRecordAttachment, 2),\n }),\n});\n"]}
|
|
@@ -15,6 +15,7 @@ export declare const NiceEvalRecordAttachments: Readonly<{
|
|
|
15
15
|
}>]>>;
|
|
16
16
|
}>]>;
|
|
17
17
|
readonly calls: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
18
|
+
readonly modelSlot: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
18
19
|
readonly route: import("effect/Schema").Struct<{
|
|
19
20
|
readonly transportProvider: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
20
21
|
readonly endpointId: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
@@ -79,6 +80,97 @@ export declare const NiceEvalRecordAttachments: Readonly<{
|
|
|
79
80
|
}>>;
|
|
80
81
|
}>>;
|
|
81
82
|
}>>;
|
|
83
|
+
judgeUsage: import("../index.cjs").RecordAttachmentDefinition<"attempt", "niceeval.judge-usage", import("effect/Schema").Struct<{
|
|
84
|
+
readonly collection: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
85
|
+
readonly state: import("effect/Schema").Literal<"complete">;
|
|
86
|
+
readonly limitations: import("effect/Schema").Tuple<readonly []>;
|
|
87
|
+
}>, import("effect/Schema").Struct<{
|
|
88
|
+
readonly state: import("effect/Schema").Literal<"partial">;
|
|
89
|
+
readonly limitations: import("effect/Schema").NonEmptyArray<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
90
|
+
readonly code: import("effect/Schema").Literals<readonly ["capture-failed", "capture-interrupted"]>;
|
|
91
|
+
readonly stage: import("effect/Schema").String;
|
|
92
|
+
}>, import("effect/Schema").Struct<{
|
|
93
|
+
readonly code: import("effect/Schema").Literals<readonly ["collection-cap-reached", "unsupported-input"]>;
|
|
94
|
+
readonly omittedAtLeast: import("effect/Schema").Number;
|
|
95
|
+
}>]>>;
|
|
96
|
+
}>]>;
|
|
97
|
+
readonly calls: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
98
|
+
readonly callId: import("effect/Schema").String;
|
|
99
|
+
readonly entryIndex: import("effect/Schema").Number;
|
|
100
|
+
readonly entryId: import("effect/Schema").Codec<import("../../index.cjs").AssertionEntryId, string, never, never>;
|
|
101
|
+
readonly logicalOrdinal: import("effect/Schema").Number;
|
|
102
|
+
readonly transmissionOrdinal: import("effect/Schema").Number;
|
|
103
|
+
readonly operation: import("effect/Schema").Literals<readonly ["score", "classify", "extract", "batchClassify"]>;
|
|
104
|
+
readonly requestModel: import("effect/Schema").String;
|
|
105
|
+
readonly transportProvider: import("effect/Schema").Literals<readonly ["openai", "vercel", "openrouter", "typesafe"]>;
|
|
106
|
+
readonly provider: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
107
|
+
readonly model: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
108
|
+
readonly status: import("effect/Schema").Literals<readonly ["succeeded", "failed", "cancelled", "unknown"]>;
|
|
109
|
+
readonly httpStatus: import("effect/Schema").NullOr<import("effect/Schema").Number>;
|
|
110
|
+
readonly inputTokens: import("effect/Schema").NullOr<import("effect/Schema").Number>;
|
|
111
|
+
readonly inputTotalTokens: import("effect/Schema").NullOr<import("effect/Schema").Number>;
|
|
112
|
+
readonly outputTokens: import("effect/Schema").NullOr<import("effect/Schema").Number>;
|
|
113
|
+
readonly cacheReadTokens: import("effect/Schema").NullOr<import("effect/Schema").Number>;
|
|
114
|
+
readonly cacheWriteTokens: import("effect/Schema").NullOr<import("effect/Schema").Number>;
|
|
115
|
+
readonly cost: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
|
|
116
|
+
readonly amount: import("effect/Schema").Codec<import("./source-receipt/model.cjs").CanonicalDecimal, string, never, never>;
|
|
117
|
+
readonly currency: import("effect/Schema").Codec<import("./source-receipt/model.cjs").CurrencyCode, string, never, never>;
|
|
118
|
+
readonly source: import("effect/Schema").Struct<{
|
|
119
|
+
readonly kind: import("effect/Schema").Literal<"reported">;
|
|
120
|
+
readonly id: import("effect/Schema").String;
|
|
121
|
+
}>;
|
|
122
|
+
}>>;
|
|
123
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
124
|
+
readonly state: import("effect/Schema").Literals<readonly ["available", "unavailable"]>;
|
|
125
|
+
readonly reason: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["response-unavailable", "cancelled", "response-too-large", "invalid-json", "usage-not-reported", "invalid-usage", "response-model-too-large"]>>;
|
|
126
|
+
readonly responseDigest: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
127
|
+
readonly fields: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
128
|
+
readonly path: import("effect/Schema").Literals<readonly ["model", "provider", "usage.completion_tokens", "usage.cost", "usage.input_tokens", "usage.output_tokens", "usage.prompt_tokens", "usage.prompt_tokens_details.cache_write_tokens", "usage.prompt_tokens_details.cached_tokens", "usage.total_tokens"]>;
|
|
129
|
+
readonly value: import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Number, import("effect/Schema").Null]>;
|
|
130
|
+
}>>;
|
|
131
|
+
}>;
|
|
132
|
+
}>>;
|
|
133
|
+
readonly priceReceipts: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
134
|
+
readonly kind: import("effect/Schema").Literal<"judge-call-price-estimate">;
|
|
135
|
+
readonly callId: import("effect/Schema").String;
|
|
136
|
+
readonly state: import("effect/Schema").Literals<readonly ["complete", "partial"]>;
|
|
137
|
+
readonly amount: import("effect/Schema").Codec<import("./source-receipt/model.cjs").CanonicalDecimal, string, never, never>;
|
|
138
|
+
readonly currency: import("effect/Schema").Literal<"USD">;
|
|
139
|
+
readonly source: import("effect/Schema").Struct<{
|
|
140
|
+
readonly kind: import("effect/Schema").Literal<"estimated">;
|
|
141
|
+
readonly id: import("effect/Schema").String;
|
|
142
|
+
}>;
|
|
143
|
+
readonly pricing: import("effect/Schema").Struct<{
|
|
144
|
+
readonly basis: import("effect/Schema").Literal<"catalog-reference">;
|
|
145
|
+
readonly currency: import("effect/Schema").Literal<"USD">;
|
|
146
|
+
readonly source: import("effect/Schema").Struct<{
|
|
147
|
+
readonly kind: import("effect/Schema").Literal<"configured-profile">;
|
|
148
|
+
readonly id: import("effect/Schema").String;
|
|
149
|
+
readonly asOf: import("effect/Schema").NullOr<import("effect/Schema").Number>;
|
|
150
|
+
readonly profileDigest: import("effect/Schema").String;
|
|
151
|
+
}>;
|
|
152
|
+
readonly requestModel: import("effect/Schema").String;
|
|
153
|
+
readonly selector: import("effect/Schema").String;
|
|
154
|
+
readonly match: import("effect/Schema").Literals<readonly ["exact", "provider-wildcard"]>;
|
|
155
|
+
readonly ratesPerMTok: import("effect/Schema").Struct<{
|
|
156
|
+
readonly input: import("effect/Schema").NullOr<import("effect/Schema").Codec<import("./source-receipt/model.cjs").CanonicalDecimal, string, never, never>>;
|
|
157
|
+
readonly output: import("effect/Schema").NullOr<import("effect/Schema").Codec<import("./source-receipt/model.cjs").CanonicalDecimal, string, never, never>>;
|
|
158
|
+
readonly cacheRead: import("effect/Schema").NullOr<import("effect/Schema").Codec<import("./source-receipt/model.cjs").CanonicalDecimal, string, never, never>>;
|
|
159
|
+
readonly cacheWrite: import("effect/Schema").NullOr<import("effect/Schema").Codec<import("./source-receipt/model.cjs").CanonicalDecimal, string, never, never>>;
|
|
160
|
+
}>;
|
|
161
|
+
}>;
|
|
162
|
+
readonly charges: import("effect/Schema").NonEmptyArray<import("effect/Schema").Struct<{
|
|
163
|
+
readonly bucket: import("effect/Schema").Literals<readonly ["input", "output", "cache-read", "cache-write"]>;
|
|
164
|
+
readonly tokens: import("effect/Schema").Number;
|
|
165
|
+
readonly ratePerMTok: import("effect/Schema").NullOr<import("effect/Schema").Codec<import("./source-receipt/model.cjs").CanonicalDecimal, string, never, never>>;
|
|
166
|
+
readonly amount: import("effect/Schema").Codec<import("./source-receipt/model.cjs").CanonicalDecimal, string, never, never>;
|
|
167
|
+
}>>;
|
|
168
|
+
readonly missing: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
169
|
+
readonly bucket: import("effect/Schema").Literals<readonly ["input", "output", "cache-read", "cache-write"]>;
|
|
170
|
+
readonly reason: import("effect/Schema").Literals<readonly ["tokens-unknown", "rate-unknown"]>;
|
|
171
|
+
}>>;
|
|
172
|
+
}>>;
|
|
173
|
+
}>>;
|
|
82
174
|
assertions: import("../index.cjs").RecordAttachmentDefinition<"attempt", "niceeval.assertions", import("effect/Schema").encodeKeys<import("effect/Schema").Struct<{
|
|
83
175
|
readonly entries: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
84
176
|
readonly entryId: import("effect/Schema").toType<import("effect/Schema").Codec<import("../../index.cjs").AssertionEntryId, string, never, never>>;
|
|
@@ -1091,6 +1183,32 @@ export declare const NiceEvalRecordAttachments: Readonly<{
|
|
|
1091
1183
|
readonly scopeId: import("effect/Schema").String;
|
|
1092
1184
|
readonly state: import("effect/Schema").Literals<readonly ["included", "excluded", "unknown"]>;
|
|
1093
1185
|
}>>;
|
|
1186
|
+
readonly display: import("effect/Schema").optional<import("effect/Schema").NonEmptyArray<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
1187
|
+
readonly kind: import("effect/Schema").Literal<"text">;
|
|
1188
|
+
readonly text: import("effect/Schema").String;
|
|
1189
|
+
}>, import("effect/Schema").Struct<{
|
|
1190
|
+
readonly kind: import("effect/Schema").Literal<"message">;
|
|
1191
|
+
readonly role: import("effect/Schema").Literals<readonly ["user", "assistant", "system", "other"]>;
|
|
1192
|
+
readonly speaker: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1193
|
+
readonly text: import("effect/Schema").String;
|
|
1194
|
+
}>, import("effect/Schema").Struct<{
|
|
1195
|
+
readonly kind: import("effect/Schema").Literal<"fields">;
|
|
1196
|
+
readonly fields: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1197
|
+
readonly label: import("effect/Schema").String;
|
|
1198
|
+
readonly value: import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Number, import("effect/Schema").Boolean, import("effect/Schema").Null]>;
|
|
1199
|
+
}>>;
|
|
1200
|
+
}>, import("effect/Schema").Struct<{
|
|
1201
|
+
readonly kind: import("effect/Schema").Literal<"code">;
|
|
1202
|
+
readonly language: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1203
|
+
readonly text: import("effect/Schema").String;
|
|
1204
|
+
}>, import("effect/Schema").Struct<{
|
|
1205
|
+
readonly kind: import("effect/Schema").Literal<"image">;
|
|
1206
|
+
readonly artifactId: import("effect/Schema").String;
|
|
1207
|
+
readonly alt: import("effect/Schema").String;
|
|
1208
|
+
readonly mediaType: import("effect/Schema").Literals<readonly ["image/png", "image/jpeg", "image/webp", "image/gif"]>;
|
|
1209
|
+
readonly byteLength: import("effect/Schema").Number;
|
|
1210
|
+
readonly sha256: import("effect/Schema").String;
|
|
1211
|
+
}>]>>>;
|
|
1094
1212
|
}>]>>;
|
|
1095
1213
|
sources: import("../index.cjs").RecordAttachmentDefinition<"run", "niceeval.sources", import("effect/Schema").encodeKeys<import("effect/Schema").Struct<{
|
|
1096
1214
|
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
@@ -1176,6 +1294,7 @@ export declare const NiceEvalCurrentRecordAttachments: Readonly<{
|
|
|
1176
1294
|
}>]>>;
|
|
1177
1295
|
}>]>;
|
|
1178
1296
|
readonly calls: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1297
|
+
readonly modelSlot: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
1179
1298
|
readonly route: import("effect/Schema").Struct<{
|
|
1180
1299
|
readonly transportProvider: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
1181
1300
|
readonly endpointId: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
@@ -1240,7 +1359,101 @@ export declare const NiceEvalCurrentRecordAttachments: Readonly<{
|
|
|
1240
1359
|
}>>;
|
|
1241
1360
|
}>>;
|
|
1242
1361
|
}>>;
|
|
1243
|
-
revision:
|
|
1362
|
+
revision: 4;
|
|
1363
|
+
}>;
|
|
1364
|
+
judgeUsage: Readonly<{
|
|
1365
|
+
attachment: import("../index.cjs").RecordAttachmentDefinition<"attempt", "niceeval.judge-usage", import("effect/Schema").Struct<{
|
|
1366
|
+
readonly collection: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
1367
|
+
readonly state: import("effect/Schema").Literal<"complete">;
|
|
1368
|
+
readonly limitations: import("effect/Schema").Tuple<readonly []>;
|
|
1369
|
+
}>, import("effect/Schema").Struct<{
|
|
1370
|
+
readonly state: import("effect/Schema").Literal<"partial">;
|
|
1371
|
+
readonly limitations: import("effect/Schema").NonEmptyArray<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
1372
|
+
readonly code: import("effect/Schema").Literals<readonly ["capture-failed", "capture-interrupted"]>;
|
|
1373
|
+
readonly stage: import("effect/Schema").String;
|
|
1374
|
+
}>, import("effect/Schema").Struct<{
|
|
1375
|
+
readonly code: import("effect/Schema").Literals<readonly ["collection-cap-reached", "unsupported-input"]>;
|
|
1376
|
+
readonly omittedAtLeast: import("effect/Schema").Number;
|
|
1377
|
+
}>]>>;
|
|
1378
|
+
}>]>;
|
|
1379
|
+
readonly calls: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1380
|
+
readonly callId: import("effect/Schema").String;
|
|
1381
|
+
readonly entryIndex: import("effect/Schema").Number;
|
|
1382
|
+
readonly entryId: import("effect/Schema").Codec<import("../../index.cjs").AssertionEntryId, string, never, never>;
|
|
1383
|
+
readonly logicalOrdinal: import("effect/Schema").Number;
|
|
1384
|
+
readonly transmissionOrdinal: import("effect/Schema").Number;
|
|
1385
|
+
readonly operation: import("effect/Schema").Literals<readonly ["score", "classify", "extract", "batchClassify"]>;
|
|
1386
|
+
readonly requestModel: import("effect/Schema").String;
|
|
1387
|
+
readonly transportProvider: import("effect/Schema").Literals<readonly ["openai", "vercel", "openrouter", "typesafe"]>;
|
|
1388
|
+
readonly provider: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
1389
|
+
readonly model: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
1390
|
+
readonly status: import("effect/Schema").Literals<readonly ["succeeded", "failed", "cancelled", "unknown"]>;
|
|
1391
|
+
readonly httpStatus: import("effect/Schema").NullOr<import("effect/Schema").Number>;
|
|
1392
|
+
readonly inputTokens: import("effect/Schema").NullOr<import("effect/Schema").Number>;
|
|
1393
|
+
readonly inputTotalTokens: import("effect/Schema").NullOr<import("effect/Schema").Number>;
|
|
1394
|
+
readonly outputTokens: import("effect/Schema").NullOr<import("effect/Schema").Number>;
|
|
1395
|
+
readonly cacheReadTokens: import("effect/Schema").NullOr<import("effect/Schema").Number>;
|
|
1396
|
+
readonly cacheWriteTokens: import("effect/Schema").NullOr<import("effect/Schema").Number>;
|
|
1397
|
+
readonly cost: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
|
|
1398
|
+
readonly amount: import("effect/Schema").Codec<import("./source-receipt/model.cjs").CanonicalDecimal, string, never, never>;
|
|
1399
|
+
readonly currency: import("effect/Schema").Codec<import("./source-receipt/model.cjs").CurrencyCode, string, never, never>;
|
|
1400
|
+
readonly source: import("effect/Schema").Struct<{
|
|
1401
|
+
readonly kind: import("effect/Schema").Literal<"reported">;
|
|
1402
|
+
readonly id: import("effect/Schema").String;
|
|
1403
|
+
}>;
|
|
1404
|
+
}>>;
|
|
1405
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
1406
|
+
readonly state: import("effect/Schema").Literals<readonly ["available", "unavailable"]>;
|
|
1407
|
+
readonly reason: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["response-unavailable", "cancelled", "response-too-large", "invalid-json", "usage-not-reported", "invalid-usage", "response-model-too-large"]>>;
|
|
1408
|
+
readonly responseDigest: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
1409
|
+
readonly fields: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1410
|
+
readonly path: import("effect/Schema").Literals<readonly ["model", "provider", "usage.completion_tokens", "usage.cost", "usage.input_tokens", "usage.output_tokens", "usage.prompt_tokens", "usage.prompt_tokens_details.cache_write_tokens", "usage.prompt_tokens_details.cached_tokens", "usage.total_tokens"]>;
|
|
1411
|
+
readonly value: import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Number, import("effect/Schema").Null]>;
|
|
1412
|
+
}>>;
|
|
1413
|
+
}>;
|
|
1414
|
+
}>>;
|
|
1415
|
+
readonly priceReceipts: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1416
|
+
readonly kind: import("effect/Schema").Literal<"judge-call-price-estimate">;
|
|
1417
|
+
readonly callId: import("effect/Schema").String;
|
|
1418
|
+
readonly state: import("effect/Schema").Literals<readonly ["complete", "partial"]>;
|
|
1419
|
+
readonly amount: import("effect/Schema").Codec<import("./source-receipt/model.cjs").CanonicalDecimal, string, never, never>;
|
|
1420
|
+
readonly currency: import("effect/Schema").Literal<"USD">;
|
|
1421
|
+
readonly source: import("effect/Schema").Struct<{
|
|
1422
|
+
readonly kind: import("effect/Schema").Literal<"estimated">;
|
|
1423
|
+
readonly id: import("effect/Schema").String;
|
|
1424
|
+
}>;
|
|
1425
|
+
readonly pricing: import("effect/Schema").Struct<{
|
|
1426
|
+
readonly basis: import("effect/Schema").Literal<"catalog-reference">;
|
|
1427
|
+
readonly currency: import("effect/Schema").Literal<"USD">;
|
|
1428
|
+
readonly source: import("effect/Schema").Struct<{
|
|
1429
|
+
readonly kind: import("effect/Schema").Literal<"configured-profile">;
|
|
1430
|
+
readonly id: import("effect/Schema").String;
|
|
1431
|
+
readonly asOf: import("effect/Schema").NullOr<import("effect/Schema").Number>;
|
|
1432
|
+
readonly profileDigest: import("effect/Schema").String;
|
|
1433
|
+
}>;
|
|
1434
|
+
readonly requestModel: import("effect/Schema").String;
|
|
1435
|
+
readonly selector: import("effect/Schema").String;
|
|
1436
|
+
readonly match: import("effect/Schema").Literals<readonly ["exact", "provider-wildcard"]>;
|
|
1437
|
+
readonly ratesPerMTok: import("effect/Schema").Struct<{
|
|
1438
|
+
readonly input: import("effect/Schema").NullOr<import("effect/Schema").Codec<import("./source-receipt/model.cjs").CanonicalDecimal, string, never, never>>;
|
|
1439
|
+
readonly output: import("effect/Schema").NullOr<import("effect/Schema").Codec<import("./source-receipt/model.cjs").CanonicalDecimal, string, never, never>>;
|
|
1440
|
+
readonly cacheRead: import("effect/Schema").NullOr<import("effect/Schema").Codec<import("./source-receipt/model.cjs").CanonicalDecimal, string, never, never>>;
|
|
1441
|
+
readonly cacheWrite: import("effect/Schema").NullOr<import("effect/Schema").Codec<import("./source-receipt/model.cjs").CanonicalDecimal, string, never, never>>;
|
|
1442
|
+
}>;
|
|
1443
|
+
}>;
|
|
1444
|
+
readonly charges: import("effect/Schema").NonEmptyArray<import("effect/Schema").Struct<{
|
|
1445
|
+
readonly bucket: import("effect/Schema").Literals<readonly ["input", "output", "cache-read", "cache-write"]>;
|
|
1446
|
+
readonly tokens: import("effect/Schema").Number;
|
|
1447
|
+
readonly ratePerMTok: import("effect/Schema").NullOr<import("effect/Schema").Codec<import("./source-receipt/model.cjs").CanonicalDecimal, string, never, never>>;
|
|
1448
|
+
readonly amount: import("effect/Schema").Codec<import("./source-receipt/model.cjs").CanonicalDecimal, string, never, never>;
|
|
1449
|
+
}>>;
|
|
1450
|
+
readonly missing: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1451
|
+
readonly bucket: import("effect/Schema").Literals<readonly ["input", "output", "cache-read", "cache-write"]>;
|
|
1452
|
+
readonly reason: import("effect/Schema").Literals<readonly ["tokens-unknown", "rate-unknown"]>;
|
|
1453
|
+
}>>;
|
|
1454
|
+
}>>;
|
|
1455
|
+
}>>;
|
|
1456
|
+
revision: 1;
|
|
1244
1457
|
}>;
|
|
1245
1458
|
assertions: Readonly<{
|
|
1246
1459
|
attachment: import("../index.cjs").RecordAttachmentDefinition<"attempt", "niceeval.assertions", import("effect/Schema").encodeKeys<import("effect/Schema").Struct<{
|
|
@@ -2285,6 +2498,32 @@ export declare const NiceEvalCurrentRecordAttachments: Readonly<{
|
|
|
2285
2498
|
readonly scopeId: import("effect/Schema").String;
|
|
2286
2499
|
readonly state: import("effect/Schema").Literals<readonly ["included", "excluded", "unknown"]>;
|
|
2287
2500
|
}>>;
|
|
2501
|
+
readonly display: import("effect/Schema").optional<import("effect/Schema").NonEmptyArray<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
2502
|
+
readonly kind: import("effect/Schema").Literal<"text">;
|
|
2503
|
+
readonly text: import("effect/Schema").String;
|
|
2504
|
+
}>, import("effect/Schema").Struct<{
|
|
2505
|
+
readonly kind: import("effect/Schema").Literal<"message">;
|
|
2506
|
+
readonly role: import("effect/Schema").Literals<readonly ["user", "assistant", "system", "other"]>;
|
|
2507
|
+
readonly speaker: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
2508
|
+
readonly text: import("effect/Schema").String;
|
|
2509
|
+
}>, import("effect/Schema").Struct<{
|
|
2510
|
+
readonly kind: import("effect/Schema").Literal<"fields">;
|
|
2511
|
+
readonly fields: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
2512
|
+
readonly label: import("effect/Schema").String;
|
|
2513
|
+
readonly value: import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Number, import("effect/Schema").Boolean, import("effect/Schema").Null]>;
|
|
2514
|
+
}>>;
|
|
2515
|
+
}>, import("effect/Schema").Struct<{
|
|
2516
|
+
readonly kind: import("effect/Schema").Literal<"code">;
|
|
2517
|
+
readonly language: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
2518
|
+
readonly text: import("effect/Schema").String;
|
|
2519
|
+
}>, import("effect/Schema").Struct<{
|
|
2520
|
+
readonly kind: import("effect/Schema").Literal<"image">;
|
|
2521
|
+
readonly artifactId: import("effect/Schema").String;
|
|
2522
|
+
readonly alt: import("effect/Schema").String;
|
|
2523
|
+
readonly mediaType: import("effect/Schema").Literals<readonly ["image/png", "image/jpeg", "image/webp", "image/gif"]>;
|
|
2524
|
+
readonly byteLength: import("effect/Schema").Number;
|
|
2525
|
+
readonly sha256: import("effect/Schema").String;
|
|
2526
|
+
}>]>>>;
|
|
2288
2527
|
}>]>>;
|
|
2289
2528
|
revision: 1;
|
|
2290
2529
|
}>;
|