niceeval 0.13.3 → 0.13.4-canary.39
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 +5 -5
- package/dist/agents/index.cjs +2 -2
- package/dist/agents/index.cjs.map +1 -1
- package/dist/agents/project.json +6 -0
- package/dist/agents/streaming.cjs.map +1 -1
- package/dist/agents/types.cjs.map +1 -1
- package/dist/agents/types.d.cts +1 -1
- package/dist/agents/types.d.mts +1 -1
- package/dist/agents/types.d.ts +1 -1
- package/dist/analysis/bindings.d.cts +8 -8
- package/dist/analysis/bindings.d.mts +8 -8
- package/dist/analysis/bindings.d.ts +8 -8
- package/dist/analysis/contracts.cjs.map +1 -1
- package/dist/analysis/contracts.d.cts +8 -19
- package/dist/analysis/contracts.d.mts +8 -19
- package/dist/analysis/contracts.d.ts +8 -19
- package/dist/analysis/experiment-groups.cjs +7 -14
- package/dist/analysis/experiment-groups.cjs.map +1 -1
- 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/cli/application.cjs +4 -13
- package/dist/cli/application.cjs.map +1 -1
- package/dist/cli/application.d.cts +62 -59
- package/dist/cli/application.d.mts +62 -59
- package/dist/cli/application.d.ts +62 -59
- package/dist/cli/application.js +6 -12
- package/dist/cli/bootstrap.cjs +28 -2
- package/dist/cli/bootstrap.cjs.map +1 -1
- package/dist/cli/contribution.cjs +185 -0
- package/dist/cli/contribution.cjs.map +1 -0
- package/dist/cli/contribution.d.cts +55 -0
- package/dist/cli/contribution.d.mts +55 -0
- package/dist/cli/contribution.d.ts +55 -0
- package/dist/cli/contribution.js +20 -0
- package/dist/cli/contribution.js.map +1 -0
- package/dist/cli/node-application.cjs +119 -87
- package/dist/cli/node-application.cjs.map +1 -1
- package/dist/cli/node-application.d.cts +2 -8
- package/dist/cli/node-application.d.mts +2 -8
- package/dist/cli/node-application.d.ts +2 -8
- package/dist/cli/node-application.js +12 -22
- package/dist/cli/program.cjs +87 -2756
- package/dist/cli/program.cjs.map +1 -1
- package/dist/cli/program.d.cts +11 -332
- package/dist/cli/program.d.mts +11 -332
- package/dist/cli/program.d.ts +11 -332
- package/dist/cli/program.js +4 -28
- package/dist/cli.cjs +0 -3
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.d.cts +0 -1
- package/dist/cli.d.mts +0 -1
- package/dist/cli.d.ts +0 -1
- package/dist/cli.js +6 -14
- package/dist/define.cjs +1 -1
- package/dist/define.cjs.map +1 -1
- package/dist/docker/cache-administration.cjs +8 -0
- package/dist/docker/cache-administration.cjs.map +1 -0
- package/dist/docker/cache-administration.d.cts +33 -0
- package/dist/docker/cache-administration.d.mts +33 -0
- package/dist/docker/cache-administration.d.ts +33 -0
- package/dist/docker/cache-administration.js +6 -0
- package/dist/docker/cache-administration.js.map +1 -0
- package/dist/docker/cache-live.cjs +27 -0
- package/dist/docker/cache-live.cjs.map +1 -0
- package/dist/docker/cache-live.d.cts +3 -0
- package/dist/docker/cache-live.d.mts +3 -0
- package/dist/docker/cache-live.d.ts +3 -0
- package/dist/docker/cache-live.js +6 -0
- package/dist/docker/cache-live.js.map +1 -0
- package/dist/docker/cli/contribution.cjs +223 -0
- package/dist/docker/cli/contribution.cjs.map +1 -0
- package/dist/docker/cli/contribution.d.cts +48 -0
- package/dist/docker/cli/contribution.d.mts +48 -0
- package/dist/docker/cli/contribution.d.ts +48 -0
- package/dist/docker/cli/contribution.js +8 -0
- package/dist/docker/cli/contribution.js.map +1 -0
- package/dist/eval/cli/contribution.cjs +62 -0
- package/dist/eval/cli/contribution.cjs.map +1 -0
- package/dist/eval/cli/contribution.d.cts +21 -0
- package/dist/eval/cli/contribution.d.mts +21 -0
- package/dist/eval/cli/contribution.d.ts +21 -0
- package/dist/eval/cli/contribution.js +8 -0
- package/dist/eval/cli/contribution.js.map +1 -0
- package/dist/eval/host/index.cjs +23 -0
- package/dist/eval/host/index.cjs.map +1 -0
- package/dist/eval/host/index.d.cts +27 -0
- package/dist/eval/host/index.d.mts +27 -0
- package/dist/eval/host/index.d.ts +27 -0
- package/dist/eval/host/index.js +8 -0
- package/dist/eval/host/index.js.map +1 -0
- package/dist/eval/host/index.mjs +8 -0
- package/dist/eval/host/index.mjs.map +1 -0
- package/dist/experiment/host/cli/contribution.cjs +835 -0
- package/dist/experiment/host/cli/contribution.cjs.map +1 -0
- package/dist/experiment/host/cli/contribution.d.cts +329 -0
- package/dist/experiment/host/cli/contribution.d.mts +329 -0
- package/dist/experiment/host/cli/contribution.d.ts +329 -0
- package/dist/experiment/host/cli/contribution.js +22 -0
- package/dist/experiment/host/cli/contribution.js.map +1 -0
- package/dist/experiment/host/cli/index.cjs +9 -0
- package/dist/experiment/host/cli/index.cjs.map +1 -0
- package/dist/experiment/host/cli/index.d.cts +2 -0
- package/dist/experiment/host/cli/index.d.mts +2 -0
- package/dist/experiment/host/cli/index.d.ts +2 -0
- package/dist/experiment/host/cli/index.js +10 -0
- package/dist/experiment/host/cli/index.js.map +1 -0
- package/dist/experiment/host/cli/terminal.cjs +15 -0
- package/dist/experiment/host/cli/terminal.cjs.map +1 -0
- package/dist/experiment/host/cli/terminal.d.cts +14 -0
- package/dist/experiment/host/cli/terminal.d.mts +14 -0
- package/dist/experiment/host/cli/terminal.d.ts +14 -0
- package/dist/experiment/host/cli/terminal.js +8 -0
- package/dist/experiment/host/cli/terminal.js.map +1 -0
- package/dist/experiment/host/index.cjs +35 -58
- package/dist/experiment/host/index.cjs.map +1 -1
- package/dist/experiment/host/index.d.cts +5 -79
- package/dist/experiment/host/index.d.mts +5 -79
- package/dist/experiment/host/index.d.ts +5 -79
- package/dist/experiment/host/index.js +4 -2
- package/dist/experiment/host/index.mjs +4 -2
- package/dist/experiment/host/operations.cjs +678 -0
- package/dist/experiment/host/operations.cjs.map +1 -0
- package/dist/experiment/host/operations.d.cts +19 -0
- package/dist/experiment/host/operations.d.mts +19 -0
- package/dist/experiment/host/operations.d.ts +19 -0
- package/dist/experiment/host/operations.js +24 -0
- package/dist/experiment/host/operations.js.map +1 -0
- package/dist/experiment/host/presentation.cjs +81 -0
- package/dist/experiment/host/presentation.cjs.map +1 -0
- package/dist/experiment/host/presentation.d.cts +9 -0
- package/dist/experiment/host/presentation.d.mts +9 -0
- package/dist/experiment/host/presentation.d.ts +9 -0
- package/dist/experiment/host/presentation.js +8 -0
- package/dist/experiment/host/presentation.js.map +1 -0
- package/dist/experiment/host/teardown.cjs +394 -0
- package/dist/experiment/host/teardown.cjs.map +1 -0
- package/dist/experiment/host/teardown.d.cts +5 -0
- package/dist/experiment/host/teardown.d.mts +5 -0
- package/dist/experiment/host/teardown.d.ts +5 -0
- package/dist/experiment/host/teardown.js +8 -0
- package/dist/experiment/host/teardown.js.map +1 -0
- package/dist/experiment/host/types.cjs +9 -0
- package/dist/experiment/host/types.cjs.map +1 -0
- package/dist/experiment/host/types.d.cts +423 -0
- package/dist/experiment/host/types.d.mts +423 -0
- package/dist/experiment/host/types.d.ts +423 -0
- package/dist/experiment/host/types.js +6 -0
- package/dist/experiment/host/types.js.map +1 -0
- package/dist/i18n/en.cjs +8 -50
- package/dist/i18n/en.cjs.map +1 -1
- package/dist/i18n/en.d.cts +2 -6
- package/dist/i18n/en.d.mts +2 -6
- package/dist/i18n/en.d.ts +2 -6
- package/dist/o11y/project.json +6 -0
- package/dist/project/cli/contribution.cjs +66 -0
- package/dist/project/cli/contribution.cjs.map +1 -0
- package/dist/project/cli/contribution.d.cts +17 -0
- package/dist/project/cli/contribution.d.mts +17 -0
- package/dist/project/cli/contribution.d.ts +17 -0
- package/dist/project/cli/contribution.js +8 -0
- package/dist/project/cli/contribution.js.map +1 -0
- package/dist/project/cli/index.cjs +7 -0
- package/dist/project/cli/index.cjs.map +1 -0
- package/dist/project/cli/index.d.cts +1 -0
- package/dist/project/cli/index.d.mts +1 -0
- package/dist/project/cli/index.d.ts +1 -0
- package/dist/project/cli/index.js +8 -0
- package/dist/project/cli/index.js.map +1 -0
- package/dist/project/host/index.cjs +11 -0
- package/dist/project/host/index.cjs.map +1 -0
- package/dist/project/host/index.d.cts +4 -0
- package/dist/project/host/index.d.mts +4 -0
- package/dist/project/host/index.d.ts +4 -0
- package/dist/project/host/index.js +14 -0
- package/dist/project/host/index.js.map +1 -0
- package/dist/project/host/index.mjs +14 -0
- package/dist/project/host/index.mjs.map +1 -0
- package/dist/project/host.cjs +59 -0
- package/dist/project/host.cjs.map +1 -0
- package/dist/project/host.d.cts +17 -0
- package/dist/project/host.d.mts +17 -0
- package/dist/project/host.d.ts +17 -0
- package/dist/project/host.js +6 -0
- package/dist/project/host.js.map +1 -0
- package/dist/project/index.cjs +11 -0
- package/dist/project/index.cjs.map +1 -0
- package/dist/project/index.d.cts +4 -0
- package/dist/project/index.d.mts +4 -0
- package/dist/project/index.d.ts +4 -0
- package/dist/project/index.js +14 -0
- package/dist/project/index.js.map +1 -0
- package/dist/project/node.cjs +91 -0
- package/dist/project/node.cjs.map +1 -0
- package/dist/project/node.d.cts +6 -0
- package/dist/project/node.d.mts +6 -0
- package/dist/project/node.d.ts +6 -0
- package/dist/project/node.js +12 -0
- package/dist/project/node.js.map +1 -0
- package/dist/project/services.cjs +17 -0
- package/dist/project/services.cjs.map +1 -0
- package/dist/project/services.d.cts +47 -0
- package/dist/project/services.d.mts +47 -0
- package/dist/project/services.d.ts +47 -0
- package/dist/project/services.js +12 -0
- package/dist/project/services.js.map +1 -0
- package/dist/project/templates.cjs +28 -0
- package/dist/project/templates.cjs.map +1 -0
- package/dist/project/templates.d.cts +4 -0
- package/dist/project/templates.d.mts +4 -0
- package/dist/project/templates.d.ts +4 -0
- package/dist/project/templates.js +12 -0
- package/dist/project/templates.js.map +1 -0
- package/dist/project.json +6 -0
- package/dist/record/family/catalog.d.cts +10 -10
- package/dist/record/family/catalog.d.mts +10 -10
- package/dist/record/family/catalog.d.ts +10 -10
- package/dist/record/family/file-changes.d.cts +8 -8
- package/dist/record/family/file-changes.d.mts +8 -8
- package/dist/record/family/file-changes.d.ts +8 -8
- package/dist/record/host/cli/contribution.cjs +206 -0
- package/dist/record/host/cli/contribution.cjs.map +1 -0
- package/dist/record/host/cli/contribution.d.cts +32 -0
- package/dist/record/host/cli/contribution.d.mts +32 -0
- package/dist/record/host/cli/contribution.d.ts +32 -0
- package/dist/record/host/cli/contribution.js +10 -0
- package/dist/record/host/cli/contribution.js.map +1 -0
- package/dist/record/host/cli/index.cjs +8 -0
- package/dist/record/host/cli/index.cjs.map +1 -0
- package/dist/record/host/cli/index.d.cts +1 -0
- package/dist/record/host/cli/index.d.mts +1 -0
- package/dist/record/host/cli/index.d.ts +1 -0
- package/dist/record/host/cli/index.js +10 -0
- package/dist/record/host/cli/index.js.map +1 -0
- package/dist/record/host/cli/presentation.cjs +122 -0
- package/dist/record/host/cli/presentation.cjs.map +1 -0
- package/dist/record/host/cli/presentation.d.cts +7 -0
- package/dist/record/host/cli/presentation.d.mts +7 -0
- package/dist/record/host/cli/presentation.d.ts +7 -0
- package/dist/record/host/cli/presentation.js +12 -0
- package/dist/record/host/cli/presentation.js.map +1 -0
- package/dist/record/host/index.cjs.map +1 -1
- package/dist/record/host/index.d.cts +1 -1
- package/dist/record/host/index.d.mts +1 -1
- package/dist/record/host/index.d.ts +1 -1
- package/dist/record/host/runtime.cjs +184 -1
- 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 +120 -0
- package/dist/record/host/types.d.mts +120 -0
- package/dist/record/host/types.d.ts +120 -0
- package/dist/record/project.json +6 -0
- package/dist/report/assets/styles.css +80 -0
- package/dist/report/cli/contribution.cjs +325 -0
- package/dist/report/cli/contribution.cjs.map +1 -0
- package/dist/report/cli/contribution.d.cts +143 -0
- package/dist/report/cli/contribution.d.mts +143 -0
- package/dist/report/cli/contribution.d.ts +143 -0
- package/dist/report/cli/contribution.js +12 -0
- package/dist/report/cli/contribution.js.map +1 -0
- package/dist/report/client-dist/app.js +9 -9
- package/dist/report/components/attempt-detail/content.cjs +1 -1
- package/dist/report/components/attempt-detail/content.cjs.map +1 -1
- package/dist/report/components/entity-lists/compute.cjs +5 -0
- package/dist/report/components/entity-lists/compute.cjs.map +1 -1
- package/dist/report/components/entity-lists/compute.d.cts +2 -0
- package/dist/report/components/entity-lists/compute.d.mts +2 -0
- package/dist/report/components/entity-lists/compute.d.ts +2 -0
- package/dist/report/components/entity-lists/content.cjs +35 -12
- package/dist/report/components/entity-lists/content.cjs.map +1 -1
- package/dist/report/components/entity-lists/index.cjs +0 -3
- package/dist/report/components/entity-lists/index.cjs.map +1 -1
- package/dist/report/components/summaries/index.cjs +2 -4
- package/dist/report/components/summaries/index.cjs.map +1 -1
- package/dist/report/definition/cell.cjs +7 -2
- package/dist/report/definition/cell.cjs.map +1 -1
- package/dist/report/definition/cell.d.cts +2 -0
- package/dist/report/definition/cell.d.mts +2 -0
- package/dist/report/definition/cell.d.ts +2 -0
- package/dist/report/definition/primitives/assertion-evidence.cjs +190 -4
- package/dist/report/definition/primitives/assertion-evidence.cjs.map +1 -1
- package/dist/report/definition/primitives/assertion-evidence.d.cts +4 -0
- package/dist/report/definition/primitives/assertion-evidence.d.mts +4 -0
- package/dist/report/definition/primitives/assertion-evidence.d.ts +4 -0
- package/dist/report/execution/machine.cjs +2 -3
- package/dist/report/execution/machine.cjs.map +1 -1
- package/dist/report/execution/machine.d.cts +11 -8
- package/dist/report/execution/machine.d.mts +11 -8
- package/dist/report/execution/machine.d.ts +11 -8
- package/dist/report/host/from-record.cjs +13 -8
- package/dist/report/host/from-record.cjs.map +1 -1
- package/dist/report/host/index.cjs +5 -1
- package/dist/report/host/index.cjs.map +1 -1
- package/dist/report/host/index.d.cts +1 -0
- package/dist/report/host/index.d.mts +1 -0
- package/dist/report/host/index.d.ts +1 -0
- package/dist/report/host/index.js +8 -2
- package/dist/report/host/index.mjs +8 -2
- package/dist/report/host/machine.cjs +23 -22
- package/dist/report/host/machine.cjs.map +1 -1
- package/dist/report/host/machine.d.cts +1 -1
- package/dist/report/host/machine.d.mts +1 -1
- package/dist/report/host/machine.d.ts +1 -1
- package/dist/report/host/node/loader.cjs +4 -2
- package/dist/report/host/node/loader.cjs.map +1 -1
- package/dist/report/host/node/loader.d.cts +3 -1
- package/dist/report/host/node/loader.d.mts +3 -1
- package/dist/report/host/node/loader.d.ts +3 -1
- package/dist/report/host/node.cjs +44 -9
- package/dist/report/host/node.cjs.map +1 -1
- package/dist/report/host/node.d.cts +13 -3
- package/dist/report/host/node.d.mts +13 -3
- package/dist/report/host/node.d.ts +13 -3
- package/dist/report/host/node.js +44 -32
- package/dist/report/host/operations.cjs +14 -0
- package/dist/report/host/operations.cjs.map +1 -0
- package/dist/report/host/operations.d.cts +39 -0
- package/dist/report/host/operations.d.mts +39 -0
- package/dist/report/host/operations.d.ts +39 -0
- package/dist/report/host/operations.js +10 -0
- package/dist/report/host/operations.js.map +1 -0
- package/dist/report/model/chart/plot.cjs +1 -1
- package/dist/report/model/chart/plot.cjs.map +1 -1
- package/dist/report/model/locale.cjs +4 -0
- package/dist/report/model/locale.cjs.map +1 -1
- package/dist/report/model/locale.d.cts +3 -1
- package/dist/report/model/locale.d.mts +3 -1
- package/dist/report/model/locale.d.ts +3 -1
- package/dist/report/react/styles.css +80 -0
- package/dist/runner/build-preparation.cjs +5 -5
- package/dist/runner/build-preparation.cjs.map +1 -1
- package/dist/runner/build-preparation.d.cts +2 -3
- package/dist/runner/build-preparation.d.mts +2 -3
- package/dist/runner/build-preparation.d.ts +2 -3
- package/dist/runner/feedback/coordinator.cjs +18 -15
- package/dist/runner/feedback/coordinator.cjs.map +1 -1
- package/dist/runner/feedback/coordinator.d.cts +6 -0
- package/dist/runner/feedback/coordinator.d.mts +6 -0
- package/dist/runner/feedback/coordinator.d.ts +6 -0
- package/dist/runner/ledger.cjs +3 -13
- package/dist/runner/ledger.cjs.map +1 -1
- package/dist/runner/ledger.d.cts +1 -3
- package/dist/runner/ledger.d.mts +1 -3
- package/dist/runner/ledger.d.ts +1 -3
- package/dist/runner/run.cjs +63 -18
- package/dist/runner/run.cjs.map +1 -1
- package/dist/runner/session.cjs +10 -0
- package/dist/runner/session.cjs.map +1 -1
- package/dist/runner/session.d.cts +25 -0
- package/dist/runner/session.d.mts +25 -0
- package/dist/runner/session.d.ts +25 -0
- package/dist/runner/types.cjs.map +1 -1
- package/dist/runner/types.d.cts +1 -2
- package/dist/runner/types.d.mts +1 -2
- package/dist/runner/types.d.ts +1 -2
- package/dist/sandbox/build-coordinator.cjs +38 -19
- package/dist/sandbox/build-coordinator.cjs.map +1 -1
- package/dist/sandbox/build-coordinator.d.cts +47 -7
- package/dist/sandbox/build-coordinator.d.mts +47 -7
- package/dist/sandbox/build-coordinator.d.ts +47 -7
- package/dist/sandbox/build-coordinator.js +8 -4
- package/dist/sandbox/cli/contribution.cjs +128 -0
- package/dist/sandbox/cli/contribution.cjs.map +1 -0
- package/dist/sandbox/cli/contribution.d.cts +71 -0
- package/dist/sandbox/cli/contribution.d.mts +71 -0
- package/dist/sandbox/cli/contribution.d.ts +71 -0
- package/dist/sandbox/cli/contribution.js +8 -0
- package/dist/sandbox/cli/contribution.js.map +1 -0
- package/dist/sandbox/cli-commands.cjs +14 -21
- package/dist/sandbox/cli-commands.cjs.map +1 -1
- package/dist/sandbox/cli-commands.d.cts +12 -8
- package/dist/sandbox/cli-commands.d.mts +12 -8
- package/dist/sandbox/cli-commands.d.ts +12 -8
- package/dist/sandbox/compose.cjs +22 -2
- package/dist/sandbox/compose.cjs.map +1 -1
- package/dist/sandbox/compose.d.cts +1 -1
- package/dist/sandbox/compose.d.mts +1 -1
- package/dist/sandbox/compose.d.ts +1 -1
- package/dist/sandbox/docker-profile/cli.cjs +13 -9
- package/dist/sandbox/docker-profile/cli.cjs.map +1 -1
- package/dist/sandbox/docker-profile/cli.d.cts +2 -0
- package/dist/sandbox/docker-profile/cli.d.mts +2 -0
- package/dist/sandbox/docker-profile/cli.d.ts +2 -0
- package/dist/sandbox/docker-profile/runtime.cjs +68 -7
- package/dist/sandbox/docker-profile/runtime.cjs.map +1 -1
- package/dist/sandbox/docker-profile/runtime.d.cts +19 -1
- package/dist/sandbox/docker-profile/runtime.d.mts +19 -1
- package/dist/sandbox/docker-profile/runtime.d.ts +19 -1
- package/dist/sandbox/docker-profile/runtime.js +10 -8
- package/dist/sandbox/docker-profile/schema.cjs +68 -19
- package/dist/sandbox/docker-profile/schema.cjs.map +1 -1
- package/dist/sandbox/docker-profile/schema.d.cts +23 -9
- package/dist/sandbox/docker-profile/schema.d.mts +23 -9
- package/dist/sandbox/docker-profile/schema.d.ts +23 -9
- package/dist/sandbox/docker-task-build-cache.cjs +532 -0
- package/dist/sandbox/docker-task-build-cache.cjs.map +1 -0
- package/dist/sandbox/docker-task-build-cache.d.cts +68 -0
- package/dist/sandbox/docker-task-build-cache.d.mts +68 -0
- package/dist/sandbox/docker-task-build-cache.d.ts +68 -0
- package/dist/sandbox/docker-task-build-cache.js +20 -0
- package/dist/sandbox/docker-task-build-cache.js.map +1 -0
- package/dist/sandbox/docker.cjs +50 -0
- package/dist/sandbox/docker.cjs.map +1 -1
- package/dist/sandbox/docker.d.cts +15 -0
- package/dist/sandbox/docker.d.mts +15 -0
- package/dist/sandbox/docker.d.ts +15 -0
- package/dist/sandbox/dockerfile-build.cjs +55 -5
- package/dist/sandbox/dockerfile-build.cjs.map +1 -1
- package/dist/sandbox/dockerfile-build.d.cts +2 -2
- package/dist/sandbox/dockerfile-build.d.mts +2 -2
- package/dist/sandbox/dockerfile-build.d.ts +2 -2
- package/dist/sandbox/index.cjs +5 -3
- package/dist/sandbox/index.cjs.map +1 -1
- package/dist/sandbox/index.d.cts +4 -3
- package/dist/sandbox/index.d.mts +4 -3
- package/dist/sandbox/index.d.ts +4 -3
- package/dist/sandbox/index.js +16 -14
- package/dist/sandbox/index.mjs +16 -14
- package/dist/sandbox/keep.cjs +1 -3
- package/dist/sandbox/keep.cjs.map +1 -1
- package/dist/sandbox/layer.cjs +70 -79
- package/dist/sandbox/layer.cjs.map +1 -1
- package/dist/sandbox/layer.d.cts +6 -12
- package/dist/sandbox/layer.d.mts +6 -12
- package/dist/sandbox/layer.d.ts +6 -12
- package/dist/sandbox/layer.js +16 -18
- package/dist/sandbox/ledger-paths.cjs +4 -18
- package/dist/sandbox/ledger-paths.cjs.map +1 -1
- package/dist/sandbox/ledger-paths.d.cts +3 -13
- package/dist/sandbox/ledger-paths.d.mts +3 -13
- package/dist/sandbox/ledger-paths.d.ts +3 -13
- package/dist/sandbox/ledger-paths.js +4 -8
- package/dist/sandbox/registry.cjs +1 -1
- package/dist/sandbox/registry.cjs.map +1 -1
- package/dist/sandbox/runtime.cjs +27 -37
- package/dist/sandbox/runtime.cjs.map +1 -1
- package/dist/sandbox/runtime.d.cts +1 -2
- package/dist/sandbox/runtime.d.mts +1 -2
- package/dist/sandbox/runtime.d.ts +1 -2
- package/dist/sandbox/runtime.js +6 -8
- package/dist/sandbox/types.cjs.map +1 -1
- package/dist/sandbox/types.d.cts +3 -3
- package/dist/sandbox/types.d.mts +3 -3
- package/dist/sandbox/types.d.ts +3 -3
- package/dist/sources/project.json +6 -0
- package/dist/vendor/remark/remark-gfm.cjs +72 -72
- package/dist/vendor/remark/remark-gfm.cjs.map +1 -1
- package/dist/vendor/remark/remark-parse.cjs +54 -54
- package/dist/vendor/remark/remark-parse.cjs.map +1 -1
- package/dist/vendor/remark/remark.cjs +125 -125
- package/dist/vendor/remark/remark.cjs.map +2 -2
- package/docs-site/zh/README.md +1 -1
- package/docs-site/zh/explanation/assert.mdx +4 -0
- package/docs-site/zh/explanation/judge.mdx +40 -9
- package/docs-site/zh/reference/cli.mdx +67 -43
- package/docs-site/zh/reference/define-agent.mdx +2 -2
- package/docs-site/zh/reference/report-components.mdx +4 -3
- package/docs-site/zh/troubleshooting/debug-sandbox.mdx +6 -0
- package/docs-site/zh/troubleshooting/debugging.mdx +28 -1
- package/docs-site/zh/tutorials/agent-feedback-loop.mdx +4 -2
- package/docs-site/zh/tutorials/concurrency.mdx +2 -2
- package/docs-site/zh/tutorials/custom-reports.mdx +175 -9
- package/docs-site/zh/tutorials/docker-in-docker.mdx +52 -7
- package/docs-site/zh/tutorials/eval-groups.mdx +1 -2
- package/docs-site/zh/tutorials/evaluation-kinds.mdx +39 -6
- package/docs-site/zh/tutorials/nixos-managed-dind.mdx +14 -5
- package/docs-site/zh/tutorials/sandbox-providers.mdx +1 -28
- package/docs-site/zh/tutorials/sandbox-reuse.mdx +1 -1
- package/docs-site/zh/tutorials/viewing-results.mdx +2 -0
- package/package.json +24 -19
- package/README.md +0 -176
- package/README.zh.md +0 -176
- package/dist/cli/record.cjs +0 -246
- package/dist/cli/record.cjs.map +0 -1
- package/dist/cli/record.d.cts +0 -40
- package/dist/cli/record.d.mts +0 -40
- package/dist/cli/record.d.ts +0 -40
- package/dist/cli/record.js +0 -10
- package/dist/cli/record.js.map +0 -1
- package/dist/sandbox/local.cjs +0 -361
- package/dist/sandbox/local.cjs.map +0 -1
- package/dist/sandbox/local.d.cts +0 -80
- package/dist/sandbox/local.d.mts +0 -80
- package/dist/sandbox/local.d.ts +0 -80
- package/dist/sandbox/local.js +0 -6
- package/dist/sandbox/local.js.map +0 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { RecordAutomaticMigrationResult, RecordMaintenanceOperationFailure, RecordMigrateOperationPlan } from "../types.cjs";
|
|
2
|
+
export declare function renderRecordMaintenanceFailure(failure: RecordMaintenanceOperationFailure, recordPath: string): string;
|
|
3
|
+
/** Shared CLI wording for ordinary-entry automatic migration failures. */
|
|
4
|
+
export declare function renderAutomaticMigrationFailure(error: unknown): string | undefined;
|
|
5
|
+
/** Shared CLI notice emitted exactly once after an automatic migration. */
|
|
6
|
+
export declare function renderAutomaticMigrationResult(result: RecordAutomaticMigrationResult): string | undefined;
|
|
7
|
+
export declare function renderMigrationPlan(plan: RecordMigrateOperationPlan): string;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { RecordAutomaticMigrationResult, RecordMaintenanceOperationFailure, RecordMigrateOperationPlan } from "../types.mjs";
|
|
2
|
+
export declare function renderRecordMaintenanceFailure(failure: RecordMaintenanceOperationFailure, recordPath: string): string;
|
|
3
|
+
/** Shared CLI wording for ordinary-entry automatic migration failures. */
|
|
4
|
+
export declare function renderAutomaticMigrationFailure(error: unknown): string | undefined;
|
|
5
|
+
/** Shared CLI notice emitted exactly once after an automatic migration. */
|
|
6
|
+
export declare function renderAutomaticMigrationResult(result: RecordAutomaticMigrationResult): string | undefined;
|
|
7
|
+
export declare function renderMigrationPlan(plan: RecordMigrateOperationPlan): string;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { RecordAutomaticMigrationResult, RecordMaintenanceOperationFailure, RecordMigrateOperationPlan } from "../types.js";
|
|
2
|
+
export declare function renderRecordMaintenanceFailure(failure: RecordMaintenanceOperationFailure, recordPath: string): string;
|
|
3
|
+
/** Shared CLI wording for ordinary-entry automatic migration failures. */
|
|
4
|
+
export declare function renderAutomaticMigrationFailure(error: unknown): string | undefined;
|
|
5
|
+
/** Shared CLI notice emitted exactly once after an automatic migration. */
|
|
6
|
+
export declare function renderAutomaticMigrationResult(result: RecordAutomaticMigrationResult): string | undefined;
|
|
7
|
+
export declare function renderMigrationPlan(plan: RecordMigrateOperationPlan): string;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { createRequire as __niceevalCreateRequire } from "node:module";
|
|
2
|
+
const __niceevalRequire = __niceevalCreateRequire(import.meta.url);
|
|
3
|
+
const __niceevalCanonical = __niceevalRequire("./presentation.cjs");
|
|
4
|
+
const __niceevalExport0 = __niceevalCanonical["renderAutomaticMigrationFailure"];
|
|
5
|
+
export { __niceevalExport0 as renderAutomaticMigrationFailure };
|
|
6
|
+
const __niceevalExport1 = __niceevalCanonical["renderAutomaticMigrationResult"];
|
|
7
|
+
export { __niceevalExport1 as renderAutomaticMigrationResult };
|
|
8
|
+
const __niceevalExport2 = __niceevalCanonical["renderMigrationPlan"];
|
|
9
|
+
export { __niceevalExport2 as renderMigrationPlan };
|
|
10
|
+
const __niceevalExport3 = __niceevalCanonical["renderRecordMaintenanceFailure"];
|
|
11
|
+
export { __niceevalExport3 as renderRecordMaintenanceFailure };
|
|
12
|
+
//# sourceMappingURL=presentation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"presentation.js","sources":[],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA;;;;GAIG;AACH,2CAA0C;AAAjC,wGAAA,UAAU,OAAA","sourcesContent":["/**\n * Public, supported high-level Host composition boundary for scoped Record\n * I/O. `niceeval/record` re-exports this same Host; durable definitions,\n * fixed-family registration, and migration factories remain package-private.\n */\nexport { recordHost } from \"./runtime.ts\";\nexport type { RecordHostSDK } from \"./types.ts\";\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA;;;;GAIG;AACH,2CAA0C;AAAjC,wGAAA,UAAU,OAAA","sourcesContent":["/**\n * Public, supported high-level Host composition boundary for scoped Record\n * I/O. `niceeval/record` re-exports this same Host; durable definitions,\n * fixed-family registration, and migration factories remain package-private.\n */\nexport { recordHost } from \"./runtime.ts\";\nexport type { RecordAutomaticMigrationError, RecordAutomaticMigrationResult, RecordCleanOperationPlan, RecordCleanOperationReceipt, RecordHostSDK, RecordMaintenanceOperationFailure, RecordMigrateOperationPlan, RecordMigrateOperationReceipt, RecordMigrateReadyPlan, } from \"./types.ts\";\n"]}
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
* fixed-family registration, and migration factories remain package-private.
|
|
5
5
|
*/
|
|
6
6
|
export { recordHost } from "./runtime.cjs";
|
|
7
|
-
export type { RecordHostSDK } from "./types.cjs";
|
|
7
|
+
export type { RecordAutomaticMigrationError, RecordAutomaticMigrationResult, RecordCleanOperationPlan, RecordCleanOperationReceipt, RecordHostSDK, RecordMaintenanceOperationFailure, RecordMigrateOperationPlan, RecordMigrateOperationReceipt, RecordMigrateReadyPlan, } from "./types.cjs";
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
* fixed-family registration, and migration factories remain package-private.
|
|
5
5
|
*/
|
|
6
6
|
export { recordHost } from "./runtime.mjs";
|
|
7
|
-
export type { RecordHostSDK } from "./types.mjs";
|
|
7
|
+
export type { RecordAutomaticMigrationError, RecordAutomaticMigrationResult, RecordCleanOperationPlan, RecordCleanOperationReceipt, RecordHostSDK, RecordMaintenanceOperationFailure, RecordMigrateOperationPlan, RecordMigrateOperationReceipt, RecordMigrateReadyPlan, } from "./types.mjs";
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
* fixed-family registration, and migration factories remain package-private.
|
|
5
5
|
*/
|
|
6
6
|
export { recordHost } from "./runtime.js";
|
|
7
|
-
export type { RecordHostSDK } from "./types.js";
|
|
7
|
+
export type { RecordAutomaticMigrationError, RecordAutomaticMigrationResult, RecordCleanOperationPlan, RecordCleanOperationReceipt, RecordHostSDK, RecordMaintenanceOperationFailure, RecordMigrateOperationPlan, RecordMigrateOperationReceipt, RecordMigrateReadyPlan, } from "./types.js";
|
|
@@ -24,6 +24,7 @@ const runtime_ts_1 = require("../reader/runtime.cjs");
|
|
|
24
24
|
const errors_ts_4 = require("../writer/errors.cjs");
|
|
25
25
|
const attachment_payload_ts_1 = require("../writer/attachment-payload.cjs");
|
|
26
26
|
const limits_ts_1 = require("../writer/limits.cjs");
|
|
27
|
+
const runtime_ts_2 = require("../maintenance/runtime.cjs");
|
|
27
28
|
const types_ts_1 = require("./types.cjs");
|
|
28
29
|
const MAXIMUM_RUN_ENTRIES = 100000;
|
|
29
30
|
const MAXIMUM_ATTEMPT_ENTRIES = 100000;
|
|
@@ -2404,12 +2405,194 @@ function openMaintenance(input) {
|
|
|
2404
2405
|
});
|
|
2405
2406
|
});
|
|
2406
2407
|
}
|
|
2408
|
+
/**
|
|
2409
|
+
* The ordinary-entry migration transaction deliberately closes the read
|
|
2410
|
+
* Scope before asking Coordination for maintenance. Returning from here also
|
|
2411
|
+
* closes maintenance, so the caller's next open is necessarily fresh.
|
|
2412
|
+
*/
|
|
2413
|
+
function ensureAutomaticMigration(input) {
|
|
2414
|
+
return effect_1.Effect.gen(function* () {
|
|
2415
|
+
const fileSystem = yield* services_ts_1.RecordFileSystem;
|
|
2416
|
+
if ((yield* fileSystem.pathKind((0, services_ts_1.recordPortablePath)(input.root, "record.json"))) === "missing") {
|
|
2417
|
+
return Object.freeze({ state: "record-missing" });
|
|
2418
|
+
}
|
|
2419
|
+
const checked = yield* effect_1.Effect.either(effect_1.Effect.scoped(openCurrentRead(input)));
|
|
2420
|
+
if (effect_1.Either.isRight(checked)) {
|
|
2421
|
+
return Object.freeze({ state: "already-current" });
|
|
2422
|
+
}
|
|
2423
|
+
if (!(checked.left instanceof errors_ts_3.RecordMigrationRequired)) {
|
|
2424
|
+
return yield* effect_1.Effect.fail(checked.left);
|
|
2425
|
+
}
|
|
2426
|
+
return yield* effect_1.Effect.scoped(effect_1.Effect.gen(function* () {
|
|
2427
|
+
const session = yield* openMaintenance(input);
|
|
2428
|
+
const plan = yield* session.planMigrate();
|
|
2429
|
+
if (plan.state !== "migration-required") {
|
|
2430
|
+
return yield* effect_1.Effect.fail(checked.left);
|
|
2431
|
+
}
|
|
2432
|
+
if (plan.backup.state !== "git-restore-point") {
|
|
2433
|
+
return yield* effect_1.Effect.fail(new errors_ts_3.RecordAutoMigrationGitSaveRequired({
|
|
2434
|
+
code: "record-auto-migration-git-save-required",
|
|
2435
|
+
}));
|
|
2436
|
+
}
|
|
2437
|
+
const receipt = yield* session.applyMigrate(plan).pipe(effect_1.Effect.catchTag("RecordMigrationGitRestoreRequired", () => effect_1.Effect.fail(new errors_ts_3.RecordAutoMigrationGitSaveRequired({
|
|
2438
|
+
code: "record-auto-migration-git-save-required",
|
|
2439
|
+
}))));
|
|
2440
|
+
return Object.freeze({
|
|
2441
|
+
state: "migrated",
|
|
2442
|
+
restoreCommit: plan.backup.commit,
|
|
2443
|
+
attachments: Object.freeze(receipt.state === "migrated" ? [...receipt.attachments] : []),
|
|
2444
|
+
});
|
|
2445
|
+
}));
|
|
2446
|
+
});
|
|
2447
|
+
}
|
|
2448
|
+
function closeMaintenanceFailure(error) {
|
|
2449
|
+
if (error instanceof errors_ts_2.RecordMaintenanceBusy) {
|
|
2450
|
+
return Object.freeze({
|
|
2451
|
+
_tag: "RecordMaintenanceBusy",
|
|
2452
|
+
code: "record-maintenance-busy",
|
|
2453
|
+
});
|
|
2454
|
+
}
|
|
2455
|
+
if (error instanceof errors_ts_3.RecordMigrationInterruptedState) {
|
|
2456
|
+
return Object.freeze({
|
|
2457
|
+
_tag: "RecordMigrationInterrupted",
|
|
2458
|
+
code: "record-migration-interrupted",
|
|
2459
|
+
...(error.restoreCommit === undefined ? {} : { restoreCommit: error.restoreCommit }),
|
|
2460
|
+
...(error.restoreSafe === undefined ? {} : { restoreSafe: error.restoreSafe }),
|
|
2461
|
+
});
|
|
2462
|
+
}
|
|
2463
|
+
if (error instanceof errors_ts_3.RecordMigrationPlanStale) {
|
|
2464
|
+
return Object.freeze({
|
|
2465
|
+
_tag: "RecordMigrationPlanStale",
|
|
2466
|
+
code: "record-migration-plan-stale",
|
|
2467
|
+
});
|
|
2468
|
+
}
|
|
2469
|
+
if (error instanceof errors_ts_3.RecordMigrationGitRestoreRequired) {
|
|
2470
|
+
return Object.freeze({
|
|
2471
|
+
_tag: "RecordMigrationGitRestoreRequired",
|
|
2472
|
+
code: "record-migration-git-restore-required",
|
|
2473
|
+
});
|
|
2474
|
+
}
|
|
2475
|
+
if (error instanceof errors_ts_3.RecordMigrationInvalid) {
|
|
2476
|
+
return Object.freeze({
|
|
2477
|
+
_tag: "RecordMigrationInvalid",
|
|
2478
|
+
code: "record-migration-invalid",
|
|
2479
|
+
});
|
|
2480
|
+
}
|
|
2481
|
+
if (error instanceof errors_ts_3.RecordMigrationRecoveryRequired) {
|
|
2482
|
+
return Object.freeze({
|
|
2483
|
+
_tag: "RecordMigrationRecoveryRequired",
|
|
2484
|
+
code: "record-migration-recovery-required",
|
|
2485
|
+
causeCode: error.causeCode,
|
|
2486
|
+
restoreCommit: error.restoreCommit,
|
|
2487
|
+
restoreSafe: error.restoreSafe,
|
|
2488
|
+
});
|
|
2489
|
+
}
|
|
2490
|
+
if (error instanceof errors_ts_3.RecordFormatUnsupported) {
|
|
2491
|
+
return Object.freeze({
|
|
2492
|
+
_tag: "RecordFormatUnsupported",
|
|
2493
|
+
code: "record-format-unsupported",
|
|
2494
|
+
});
|
|
2495
|
+
}
|
|
2496
|
+
if (error instanceof errors_ts_3.RecordMigrationRequired) {
|
|
2497
|
+
return Object.freeze({
|
|
2498
|
+
_tag: "RecordMigrationRequired",
|
|
2499
|
+
code: "record-migration-required",
|
|
2500
|
+
});
|
|
2501
|
+
}
|
|
2502
|
+
return Object.freeze({
|
|
2503
|
+
_tag: "RecordMaintenanceOperationFailed",
|
|
2504
|
+
code: error.code,
|
|
2505
|
+
});
|
|
2506
|
+
}
|
|
2507
|
+
const migrateOperationPlans = new WeakMap();
|
|
2508
|
+
function planCleanOperation(input) {
|
|
2509
|
+
return (0, runtime_ts_2.inspectIncompleteRuns)(input).pipe(effect_1.Effect.map((incomplete) => incomplete.length === 0
|
|
2510
|
+
? Object.freeze({ _tag: "RecordCleanAlreadyClean" })
|
|
2511
|
+
: Object.freeze({
|
|
2512
|
+
_tag: "RecordCleanConfirmationRequired",
|
|
2513
|
+
runIds: Object.freeze(incomplete.map(({ runId }) => runId)),
|
|
2514
|
+
})), effect_1.Effect.mapError(closeMaintenanceFailure));
|
|
2515
|
+
}
|
|
2516
|
+
function applyCleanOperation(input) {
|
|
2517
|
+
return (0, runtime_ts_2.cleanIncompleteRuns)({ root: input.root, runIds: input.plan.runIds }).pipe(effect_1.Effect.map((receipt) => Object.freeze({
|
|
2518
|
+
_tag: "RecordCleanApplied",
|
|
2519
|
+
deleted: Object.freeze([...receipt.deleted]),
|
|
2520
|
+
skipped: Object.freeze([...receipt.skipped]),
|
|
2521
|
+
})), effect_1.Effect.mapError(closeMaintenanceFailure));
|
|
2522
|
+
}
|
|
2523
|
+
function planMigrateOperation(input) {
|
|
2524
|
+
return effect_1.Effect.scoped(effect_1.Effect.gen(function* () {
|
|
2525
|
+
const session = yield* openMaintenance(input);
|
|
2526
|
+
const plan = yield* session.planMigrate();
|
|
2527
|
+
if (plan.state === "already-current") {
|
|
2528
|
+
return Object.freeze({
|
|
2529
|
+
_tag: "RecordMigrationAlreadyCurrent",
|
|
2530
|
+
format: plan.format,
|
|
2531
|
+
});
|
|
2532
|
+
}
|
|
2533
|
+
if (plan.state === "unsupported-format") {
|
|
2534
|
+
return Object.freeze({
|
|
2535
|
+
_tag: "RecordMigrationUnsupported",
|
|
2536
|
+
format: plan.format,
|
|
2537
|
+
});
|
|
2538
|
+
}
|
|
2539
|
+
if (plan.backup.state !== "git-restore-point") {
|
|
2540
|
+
return Object.freeze({
|
|
2541
|
+
_tag: "RecordMigrationRestoreRequired",
|
|
2542
|
+
format: plan.format,
|
|
2543
|
+
backup: plan.backup,
|
|
2544
|
+
attachments: plan.attachments,
|
|
2545
|
+
});
|
|
2546
|
+
}
|
|
2547
|
+
const closed = Object.freeze({
|
|
2548
|
+
_tag: "RecordMigrationReady",
|
|
2549
|
+
format: plan.format,
|
|
2550
|
+
restoreCommit: plan.backup.commit,
|
|
2551
|
+
attachments: plan.attachments,
|
|
2552
|
+
});
|
|
2553
|
+
migrateOperationPlans.set(closed, plan);
|
|
2554
|
+
return closed;
|
|
2555
|
+
})).pipe(effect_1.Effect.catchTag("RecordFormatUnsupported", (error) => effect_1.Effect.succeed(Object.freeze({
|
|
2556
|
+
_tag: "RecordMigrationUnsupported",
|
|
2557
|
+
format: error.format,
|
|
2558
|
+
}))), effect_1.Effect.mapError(closeMaintenanceFailure));
|
|
2559
|
+
}
|
|
2560
|
+
function applyMigrateOperation(input) {
|
|
2561
|
+
const sourcePlan = migrateOperationPlans.get(input.plan);
|
|
2562
|
+
if (sourcePlan === undefined) {
|
|
2563
|
+
return effect_1.Effect.fail(Object.freeze({
|
|
2564
|
+
_tag: "RecordMigrationPlanStale",
|
|
2565
|
+
code: "record-migration-plan-stale",
|
|
2566
|
+
}));
|
|
2567
|
+
}
|
|
2568
|
+
return effect_1.Effect.scoped(effect_1.Effect.gen(function* () {
|
|
2569
|
+
const session = yield* openMaintenance({ root: input.root });
|
|
2570
|
+
const receipt = yield* session.applyMigrate(sourcePlan);
|
|
2571
|
+
return receipt.state === "already-current"
|
|
2572
|
+
? Object.freeze({
|
|
2573
|
+
_tag: "RecordMigrationAlreadyCurrent",
|
|
2574
|
+
format: receipt.format,
|
|
2575
|
+
})
|
|
2576
|
+
: Object.freeze({
|
|
2577
|
+
_tag: "RecordMigrationApplied",
|
|
2578
|
+
format: receipt.format,
|
|
2579
|
+
attachments: receipt.attachments,
|
|
2580
|
+
});
|
|
2581
|
+
})).pipe(effect_1.Effect.mapError(closeMaintenanceFailure));
|
|
2582
|
+
}
|
|
2407
2583
|
exports.recordHost = Object.freeze({
|
|
2584
|
+
ensureAutomaticMigration,
|
|
2408
2585
|
current: Object.freeze({
|
|
2409
2586
|
openRead: openCurrentRead,
|
|
2410
2587
|
createRun: openNewRun,
|
|
2411
2588
|
createReferenceRun: openNewReferenceRun,
|
|
2412
2589
|
}),
|
|
2413
|
-
maintenance: Object.freeze({
|
|
2590
|
+
maintenance: Object.freeze({
|
|
2591
|
+
planClean: planCleanOperation,
|
|
2592
|
+
applyClean: applyCleanOperation,
|
|
2593
|
+
planMigrate: planMigrateOperation,
|
|
2594
|
+
applyMigrate: applyMigrateOperation,
|
|
2595
|
+
open: openMaintenance,
|
|
2596
|
+
}),
|
|
2414
2597
|
});
|
|
2415
2598
|
//# sourceMappingURL=runtime.cjs.map
|