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
package/dist/runner/ledger.d.cts
CHANGED
|
@@ -2,9 +2,7 @@ import type { DiffArtifact, Sandbox } from "../types.cjs";
|
|
|
2
2
|
import type { AgentWorkspaceDiffPolicy } from "../assertions/workspace-diff.cjs";
|
|
3
3
|
/**
|
|
4
4
|
* ledger 的私有 git 目录:workdir 之外、runner 控制;agent 的工具默认不会去 /tmp 翻它。这是
|
|
5
|
-
* 沙箱内 provider(docker/e2b/vercel)
|
|
6
|
-
* 跨实例踩踏。宿主本身即工作树的 provider(如 local)按 sandboxId 登记专属路径覆盖它
|
|
7
|
-
* (见 sandbox/ledger-paths.ts),避免同机多次运行共享同一个 /tmp。
|
|
5
|
+
* 沙箱内 provider(docker/e2b/vercel)的固定值——每个实例都是全新隔离文件系统。
|
|
8
6
|
*/
|
|
9
7
|
export declare const LEDGER_GIT_DIR = "/tmp/.niceeval-ledger";
|
|
10
8
|
export interface ChangeLedger {
|
package/dist/runner/ledger.d.mts
CHANGED
|
@@ -2,9 +2,7 @@ import type { DiffArtifact, Sandbox } from "../types.mjs";
|
|
|
2
2
|
import type { AgentWorkspaceDiffPolicy } from "../assertions/workspace-diff.mjs";
|
|
3
3
|
/**
|
|
4
4
|
* ledger 的私有 git 目录:workdir 之外、runner 控制;agent 的工具默认不会去 /tmp 翻它。这是
|
|
5
|
-
* 沙箱内 provider(docker/e2b/vercel)
|
|
6
|
-
* 跨实例踩踏。宿主本身即工作树的 provider(如 local)按 sandboxId 登记专属路径覆盖它
|
|
7
|
-
* (见 sandbox/ledger-paths.ts),避免同机多次运行共享同一个 /tmp。
|
|
5
|
+
* 沙箱内 provider(docker/e2b/vercel)的固定值——每个实例都是全新隔离文件系统。
|
|
8
6
|
*/
|
|
9
7
|
export declare const LEDGER_GIT_DIR = "/tmp/.niceeval-ledger";
|
|
10
8
|
export interface ChangeLedger {
|
package/dist/runner/ledger.d.ts
CHANGED
|
@@ -2,9 +2,7 @@ import type { DiffArtifact, Sandbox } from "../types.js";
|
|
|
2
2
|
import type { AgentWorkspaceDiffPolicy } from "../assertions/workspace-diff.js";
|
|
3
3
|
/**
|
|
4
4
|
* ledger 的私有 git 目录:workdir 之外、runner 控制;agent 的工具默认不会去 /tmp 翻它。这是
|
|
5
|
-
* 沙箱内 provider(docker/e2b/vercel)
|
|
6
|
-
* 跨实例踩踏。宿主本身即工作树的 provider(如 local)按 sandboxId 登记专属路径覆盖它
|
|
7
|
-
* (见 sandbox/ledger-paths.ts),避免同机多次运行共享同一个 /tmp。
|
|
5
|
+
* 沙箱内 provider(docker/e2b/vercel)的固定值——每个实例都是全新隔离文件系统。
|
|
8
6
|
*/
|
|
9
7
|
export declare const LEDGER_GIT_DIR = "/tmp/.niceeval-ledger";
|
|
10
8
|
export interface ChangeLedger {
|
package/dist/runner/run.cjs
CHANGED
|
@@ -491,7 +491,6 @@ function runEvals(opts) {
|
|
|
491
491
|
const runTiming = (0, timing_ts_1.createRunTimingRecorder)();
|
|
492
492
|
let sandboxBuildRecords = [];
|
|
493
493
|
const buildFailureByPair = new Map();
|
|
494
|
-
const buildLocatorsByPair = new Map();
|
|
495
494
|
const collected = opts.buildPreparation === undefined
|
|
496
495
|
? yield* (0, build_preparation_ts_1.collectBuildPreparation)({
|
|
497
496
|
preparedPairs: [...preparedPairsByKey.values()],
|
|
@@ -502,6 +501,14 @@ function runEvals(opts) {
|
|
|
502
501
|
? effect_1.Option.flatMap(collected, build_preparation_ts_1.toBuildPreparation)
|
|
503
502
|
: effect_1.Option.some(opts.buildPreparation);
|
|
504
503
|
const buildPrep = effect_1.Option.getOrUndefined(buildPreparation);
|
|
504
|
+
const buildDependents = new Map();
|
|
505
|
+
if (buildPrep !== undefined) {
|
|
506
|
+
for (const attempt of attempts) {
|
|
507
|
+
const keys = buildPrep.pairBuildKeys[(0, fingerprint_ts_1.cacheKey)(attempt.run, attempt.evalDef.id)] ?? [];
|
|
508
|
+
for (const key of keys)
|
|
509
|
+
buildDependents.set(key, (buildDependents.get(key) ?? 0) + 1);
|
|
510
|
+
}
|
|
511
|
+
}
|
|
505
512
|
// 共享构建**不阻塞派发**:整批 key 同时开工,每条 attempt 只等自己引用的那几个 key
|
|
506
513
|
// (case.md「Run 级构建协调」第 4 条的逐 key 放行)。全局 barrier 会让 10 个已就绪的镜像
|
|
507
514
|
// 陪着最慢的那个构建干等(台账见 memory/shared-build-single-barrier-not-per-buildkey.md)。
|
|
@@ -515,10 +522,21 @@ function runEvals(opts) {
|
|
|
515
522
|
signal: opts.signal,
|
|
516
523
|
// 最小反馈钩子:共享构建投影为运行级 active 行 / 非 TTY 起止事件,不占 attempt 位。
|
|
517
524
|
onActivity: (event) => {
|
|
525
|
+
const dependents = buildDependents.get(event.ref) ?? 0;
|
|
526
|
+
const shared = `${dependents} attempt${dependents === 1 ? "" : "s"}`;
|
|
527
|
+
const action = event.status === "started"
|
|
528
|
+
? "checking build cache"
|
|
529
|
+
: event.outcome === "hit"
|
|
530
|
+
? "build cache hit"
|
|
531
|
+
: event.outcome === "built"
|
|
532
|
+
? "built once"
|
|
533
|
+
: event.outcome === "cancelled"
|
|
534
|
+
? "build cancelled"
|
|
535
|
+
: "build failed";
|
|
518
536
|
(0, sink_ts_1.reportRunActivity)({
|
|
519
537
|
id: event.id,
|
|
520
538
|
key: event.key,
|
|
521
|
-
label: event.label
|
|
539
|
+
label: `${action} · ${event.label} · ${shared}`,
|
|
522
540
|
status: event.status,
|
|
523
541
|
...("durationMs" in event ? { durationMs: event.durationMs } : {}),
|
|
524
542
|
});
|
|
@@ -526,18 +544,26 @@ function runEvals(opts) {
|
|
|
526
544
|
})
|
|
527
545
|
: undefined;
|
|
528
546
|
// 逐 pair 的放行闸:第一次问到就记下等待,之后同 pair 的其它 attempt 复用同一条。
|
|
547
|
+
const buildUseKey = (a) => `${(0, fingerprint_ts_1.cacheKey)(a.run, a.evalDef.id)}|${a.attempt}`;
|
|
529
548
|
const buildWaits = new Map();
|
|
530
|
-
const
|
|
549
|
+
const buildUseHandles = new Map();
|
|
550
|
+
const buildLocatorsByAttempt = new Map();
|
|
551
|
+
const buildWorkByRef = new Map(buildPrep?.works.map((work) => [work.ref, work]) ?? []);
|
|
552
|
+
const awaitBuildsFor = (a) => {
|
|
553
|
+
const pairKey = (0, fingerprint_ts_1.cacheKey)(a.run, a.evalDef.id);
|
|
531
554
|
const keys = buildPrep?.pairBuildKeys[pairKey];
|
|
532
555
|
if (runningBuilds === undefined || keys === undefined || keys.length === 0)
|
|
533
556
|
return Promise.resolve();
|
|
534
|
-
|
|
557
|
+
const useKey = buildUseKey(a);
|
|
558
|
+
let pending = buildWaits.get(useKey);
|
|
535
559
|
if (pending !== undefined)
|
|
536
560
|
return pending;
|
|
537
561
|
pending = (async () => {
|
|
538
562
|
for (const key of keys)
|
|
539
563
|
await runningBuilds.settled(key);
|
|
540
564
|
const locators = new Map();
|
|
565
|
+
const handles = [];
|
|
566
|
+
buildUseHandles.set(useKey, handles);
|
|
541
567
|
for (const key of keys) {
|
|
542
568
|
const failure = runningBuilds.failures.get(key);
|
|
543
569
|
if (failure !== undefined) {
|
|
@@ -550,16 +576,28 @@ function runEvals(opts) {
|
|
|
550
576
|
});
|
|
551
577
|
return;
|
|
552
578
|
}
|
|
553
|
-
const
|
|
554
|
-
|
|
555
|
-
|
|
579
|
+
const source = runningBuilds.sources.get(key);
|
|
580
|
+
const work = buildWorkByRef.get(key);
|
|
581
|
+
if (source !== undefined && work !== undefined) {
|
|
582
|
+
const handle = await source.acquireUse(opts.signal ?? new AbortController().signal);
|
|
583
|
+
handles.push(handle);
|
|
584
|
+
locators.set(work.buildKey, handle.locator);
|
|
585
|
+
}
|
|
556
586
|
}
|
|
557
587
|
if (locators.size > 0)
|
|
558
|
-
|
|
588
|
+
buildLocatorsByAttempt.set(useKey, locators);
|
|
559
589
|
})();
|
|
560
|
-
buildWaits.set(
|
|
590
|
+
buildWaits.set(useKey, pending);
|
|
561
591
|
return pending;
|
|
562
592
|
};
|
|
593
|
+
const releaseBuildUsesFor = (a) => effect_1.Effect.tryPromise({
|
|
594
|
+
try: async () => {
|
|
595
|
+
const handles = buildUseHandles.get(buildUseKey(a)) ?? [];
|
|
596
|
+
buildUseHandles.delete(buildUseKey(a));
|
|
597
|
+
await Promise.all(handles.map((handle) => handle.release()));
|
|
598
|
+
},
|
|
599
|
+
catch: () => undefined,
|
|
600
|
+
}).pipe(effect_1.Effect.ignore);
|
|
563
601
|
// Run 级 Agent artifact prepare:由 attempt 内探测到目标 Sandbox 平台后触发 single-flight。
|
|
564
602
|
// 绝不能在这里按宿主平台 eager prepare:macOS 宿主跑 Linux Sandbox 会拿到错误制品。
|
|
565
603
|
const artifactPrepare = opts.artifactPrepare ??
|
|
@@ -788,10 +826,10 @@ function runEvals(opts) {
|
|
|
788
826
|
}
|
|
789
827
|
}
|
|
790
828
|
// provider 级独占串行闸(见 docs/runner.md「调度:有界并发」):声明了 exclusive 的 provider
|
|
791
|
-
//
|
|
829
|
+
// 按 provider 名共享一把 permit=1 的信号量,
|
|
792
830
|
// --max-concurrency / 实验级 maxConcurrency 都不解除。核心不认 provider 名分支:这里只读
|
|
793
831
|
// physical plan 的中性 admission/lane 字段;相同 lane 共用一把锁,表示它们竞争同一份
|
|
794
|
-
//
|
|
832
|
+
// 不可并发底层资源。
|
|
795
833
|
const providerExclusiveSems = new Map();
|
|
796
834
|
for (const attempt of attempts) {
|
|
797
835
|
if (attempt.plan._tag === "Direct" ||
|
|
@@ -2022,7 +2060,7 @@ function runEvals(opts) {
|
|
|
2022
2060
|
]);
|
|
2023
2061
|
// BuildKey / CaseKey 已在 Attempt.plan 的 physical completion state 中确定;
|
|
2024
2062
|
// 这里只把协调器执行结果作为必填运行输入传给 materializer,不回写 Attempt。
|
|
2025
|
-
const buildLocators =
|
|
2063
|
+
const buildLocators = buildLocatorsByAttempt.get(buildUseKey(a)) ?? new Map();
|
|
2026
2064
|
// 派发前的确定性失败(实验级 setup 失败 / 判分预检失败):不派发 agent、不建沙箱。
|
|
2027
2065
|
// 这类 Slot 没有 origin Attempt,因而会使 V1 draft 保持 incomplete;不能为它
|
|
2028
2066
|
// 伪造一个没有 sealed Assertions 的 Member。
|
|
@@ -2332,7 +2370,7 @@ function runEvals(opts) {
|
|
|
2332
2370
|
});
|
|
2333
2371
|
// ③ 全局并发位 → sharedState(如声明,先于 Eval lock)→ 派发时刻试锁 → preflight
|
|
2334
2372
|
// → 实验级 setup → provider/Sandbox/body。
|
|
2335
|
-
// 独占串行 provider
|
|
2373
|
+
// 独占串行 provider:同一 provider 名的所有 attempt 共享一把 permit=1 的锁。
|
|
2336
2374
|
// sharedState 获取与 Experiment setup 都是宿主协调,不能让等待者占着该 Provider lane;
|
|
2337
2375
|
// permit 只包真正触及 provider、Sandbox 与 Attempt body 的执行段。
|
|
2338
2376
|
const exclusiveSem = exclusiveSemFor(a.plan);
|
|
@@ -2404,9 +2442,8 @@ function runEvals(opts) {
|
|
|
2404
2442
|
}
|
|
2405
2443
|
// ⓪ 逐 BuildKey 放行:只等本 eval 引用的那几个 key,不引用任何 key 的 attempt
|
|
2406
2444
|
// 立刻进入许可链。等在这里不占全局并发位,慢构建因此不挡住同批别的 eval。
|
|
2407
|
-
const pairKey = (0, fingerprint_ts_1.cacheKey)(a.run, a.evalDef.id);
|
|
2408
2445
|
yield* effect_1.Effect.tryPromise({
|
|
2409
|
-
try: () => awaitBuildsFor(
|
|
2446
|
+
try: () => awaitBuildsFor(a),
|
|
2410
2447
|
catch: (error) => error,
|
|
2411
2448
|
});
|
|
2412
2449
|
for (;;) {
|
|
@@ -2449,7 +2486,7 @@ function runEvals(opts) {
|
|
|
2449
2486
|
const withCaseLifecycle = !caseState
|
|
2450
2487
|
? withExpLifecycle
|
|
2451
2488
|
: withExpLifecycle.pipe(effect_1.Effect.ensuring(releaseCaseLockIfDone(caseState, a.attempt)));
|
|
2452
|
-
const withWaveLifecycle = withCaseLifecycle.pipe(effect_1.Effect.ensuring(arriveAtDispatchWave));
|
|
2489
|
+
const withWaveLifecycle = withCaseLifecycle.pipe(effect_1.Effect.ensuring(releaseBuildUsesFor(a)), effect_1.Effect.ensuring(arriveAtDispatchWave));
|
|
2453
2490
|
if (predecessor === undefined)
|
|
2454
2491
|
return withWaveLifecycle;
|
|
2455
2492
|
const releaseSuccessor = groupedReleases.get(a);
|
|
@@ -2468,9 +2505,17 @@ function runEvals(opts) {
|
|
|
2468
2505
|
}
|
|
2469
2506
|
return effect_1.Effect.failCause(cause); // 非中断的意外缺陷:照常抛出
|
|
2470
2507
|
}));
|
|
2471
|
-
const
|
|
2508
|
+
const releaseBuildSources = effect_1.Effect.tryPromise({
|
|
2509
|
+
try: async () => {
|
|
2510
|
+
const sources = new Set(runningBuilds?.sources.values() ?? []);
|
|
2511
|
+
await Promise.all([...sources].map((source) => source.release()));
|
|
2512
|
+
},
|
|
2513
|
+
catch: () => undefined,
|
|
2514
|
+
}).pipe(effect_1.Effect.ignore);
|
|
2515
|
+
const exit = yield* effect_1.Effect.exit((opts.signal === undefined
|
|
2472
2516
|
? dispatchEffect
|
|
2473
|
-
: effect_1.Effect.raceFirst(dispatchEffect, interruptOnAbort(opts.signal)))
|
|
2517
|
+
: effect_1.Effect.raceFirst(dispatchEffect, interruptOnAbort(opts.signal)))
|
|
2518
|
+
.pipe(effect_1.Effect.ensuring(releaseBuildSources)));
|
|
2474
2519
|
// A full-carry / zero-Attempt invocation has no dispatch fiber that could
|
|
2475
2520
|
// await startup recovery. Seal its selected-Experiment obligation here; for
|
|
2476
2521
|
// normal runs the per-setup gate above has already awaited the same Deferred.
|