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,68 @@
|
|
|
1
|
+
import type { DockerCapacityObservation as ProviderCapacityObservation, DockerCacheDomainDescriptor as CacheDomainDescriptor } from "../docker/cache-administration.cjs";
|
|
2
|
+
export interface TaskBuildInventoryEntry {
|
|
3
|
+
readonly buildKey: string;
|
|
4
|
+
readonly tag: string;
|
|
5
|
+
readonly imageId: string;
|
|
6
|
+
readonly createdAt: string;
|
|
7
|
+
readonly lastSuccessfulUseAt: string | null;
|
|
8
|
+
readonly protectedUntil: string;
|
|
9
|
+
readonly state: "active-leased" | "cold-reusable" | "unverified";
|
|
10
|
+
}
|
|
11
|
+
export interface TaskBuildDomainInventory {
|
|
12
|
+
readonly domainId: string;
|
|
13
|
+
readonly providerFamily: "docker";
|
|
14
|
+
readonly backendKind: "docker-images";
|
|
15
|
+
readonly state: "verified-managed";
|
|
16
|
+
readonly entries: readonly TaskBuildInventoryEntry[];
|
|
17
|
+
}
|
|
18
|
+
export interface TaskBuildCacheService {
|
|
19
|
+
lookup(buildKey: string, tag: string, manifestDigest: string, dockerSocketPath?: string): Promise<boolean>;
|
|
20
|
+
publish(buildKey: string, tag: string, manifestDigest: string, operationId: string, dockerSocketPath?: string): Promise<void>;
|
|
21
|
+
acquireUse(buildKey: string, tag: string, manifestDigest: string, dockerSocketPath?: string): Promise<{
|
|
22
|
+
release(): void;
|
|
23
|
+
}>;
|
|
24
|
+
}
|
|
25
|
+
export interface TaskBuildCacheAdminService {
|
|
26
|
+
inventory(): Promise<TaskBuildDomainInventory>;
|
|
27
|
+
planGc(domainId: string): Promise<TaskBuildGcPlan>;
|
|
28
|
+
applyGc(domainId: string, planId: string): Promise<TaskBuildGcOutcome>;
|
|
29
|
+
}
|
|
30
|
+
export interface TaskBuildGcPlan {
|
|
31
|
+
readonly schemaVersion: 1;
|
|
32
|
+
readonly planId: string;
|
|
33
|
+
readonly domainId: string;
|
|
34
|
+
readonly ownerId: string;
|
|
35
|
+
readonly backendIdentity: string;
|
|
36
|
+
readonly authorityEpoch: string;
|
|
37
|
+
readonly policyVersion: 1;
|
|
38
|
+
readonly registrySafetyRevision: number;
|
|
39
|
+
readonly observedAt: string;
|
|
40
|
+
readonly expiresAt: string;
|
|
41
|
+
readonly planDigest: string;
|
|
42
|
+
readonly candidates: ReadonlyArray<{
|
|
43
|
+
readonly buildKey: string;
|
|
44
|
+
readonly tag: string;
|
|
45
|
+
readonly imageId: string;
|
|
46
|
+
readonly manifestDigest: string;
|
|
47
|
+
readonly generation: number;
|
|
48
|
+
readonly evidenceDigest: string;
|
|
49
|
+
readonly ruleId: "max-age/task-build";
|
|
50
|
+
}>;
|
|
51
|
+
}
|
|
52
|
+
export declare function observeDockerBuildKitCapacity(): Promise<ProviderCapacityObservation>;
|
|
53
|
+
export declare function listDockerCacheDomains(): Promise<readonly CacheDomainDescriptor[]>;
|
|
54
|
+
export declare function dockerTaskBuildAuthorityFingerprint(): Promise<string>;
|
|
55
|
+
export declare function makeTaskBuildCacheService(): TaskBuildCacheService;
|
|
56
|
+
export declare function inventoryTaskBuildDomain(dockerSocketPath?: string): Promise<TaskBuildDomainInventory>;
|
|
57
|
+
export declare function planTaskBuildGc(domainId: string): Promise<TaskBuildGcPlan>;
|
|
58
|
+
export interface TaskBuildGcOutcome {
|
|
59
|
+
readonly planId: string;
|
|
60
|
+
readonly domainId: string;
|
|
61
|
+
readonly outcomes: ReadonlyArray<{
|
|
62
|
+
readonly buildKey: string;
|
|
63
|
+
readonly status: "deleted" | "already-absent" | "skipped" | "failed";
|
|
64
|
+
readonly reason: string;
|
|
65
|
+
}>;
|
|
66
|
+
}
|
|
67
|
+
export declare function applyTaskBuildGc(domainId: string, planId: string): Promise<TaskBuildGcOutcome>;
|
|
68
|
+
export declare const liveTaskBuildCacheAdminService: TaskBuildCacheAdminService;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import type { DockerCapacityObservation as ProviderCapacityObservation, DockerCacheDomainDescriptor as CacheDomainDescriptor } from "../docker/cache-administration.mjs";
|
|
2
|
+
export interface TaskBuildInventoryEntry {
|
|
3
|
+
readonly buildKey: string;
|
|
4
|
+
readonly tag: string;
|
|
5
|
+
readonly imageId: string;
|
|
6
|
+
readonly createdAt: string;
|
|
7
|
+
readonly lastSuccessfulUseAt: string | null;
|
|
8
|
+
readonly protectedUntil: string;
|
|
9
|
+
readonly state: "active-leased" | "cold-reusable" | "unverified";
|
|
10
|
+
}
|
|
11
|
+
export interface TaskBuildDomainInventory {
|
|
12
|
+
readonly domainId: string;
|
|
13
|
+
readonly providerFamily: "docker";
|
|
14
|
+
readonly backendKind: "docker-images";
|
|
15
|
+
readonly state: "verified-managed";
|
|
16
|
+
readonly entries: readonly TaskBuildInventoryEntry[];
|
|
17
|
+
}
|
|
18
|
+
export interface TaskBuildCacheService {
|
|
19
|
+
lookup(buildKey: string, tag: string, manifestDigest: string, dockerSocketPath?: string): Promise<boolean>;
|
|
20
|
+
publish(buildKey: string, tag: string, manifestDigest: string, operationId: string, dockerSocketPath?: string): Promise<void>;
|
|
21
|
+
acquireUse(buildKey: string, tag: string, manifestDigest: string, dockerSocketPath?: string): Promise<{
|
|
22
|
+
release(): void;
|
|
23
|
+
}>;
|
|
24
|
+
}
|
|
25
|
+
export interface TaskBuildCacheAdminService {
|
|
26
|
+
inventory(): Promise<TaskBuildDomainInventory>;
|
|
27
|
+
planGc(domainId: string): Promise<TaskBuildGcPlan>;
|
|
28
|
+
applyGc(domainId: string, planId: string): Promise<TaskBuildGcOutcome>;
|
|
29
|
+
}
|
|
30
|
+
export interface TaskBuildGcPlan {
|
|
31
|
+
readonly schemaVersion: 1;
|
|
32
|
+
readonly planId: string;
|
|
33
|
+
readonly domainId: string;
|
|
34
|
+
readonly ownerId: string;
|
|
35
|
+
readonly backendIdentity: string;
|
|
36
|
+
readonly authorityEpoch: string;
|
|
37
|
+
readonly policyVersion: 1;
|
|
38
|
+
readonly registrySafetyRevision: number;
|
|
39
|
+
readonly observedAt: string;
|
|
40
|
+
readonly expiresAt: string;
|
|
41
|
+
readonly planDigest: string;
|
|
42
|
+
readonly candidates: ReadonlyArray<{
|
|
43
|
+
readonly buildKey: string;
|
|
44
|
+
readonly tag: string;
|
|
45
|
+
readonly imageId: string;
|
|
46
|
+
readonly manifestDigest: string;
|
|
47
|
+
readonly generation: number;
|
|
48
|
+
readonly evidenceDigest: string;
|
|
49
|
+
readonly ruleId: "max-age/task-build";
|
|
50
|
+
}>;
|
|
51
|
+
}
|
|
52
|
+
export declare function observeDockerBuildKitCapacity(): Promise<ProviderCapacityObservation>;
|
|
53
|
+
export declare function listDockerCacheDomains(): Promise<readonly CacheDomainDescriptor[]>;
|
|
54
|
+
export declare function dockerTaskBuildAuthorityFingerprint(): Promise<string>;
|
|
55
|
+
export declare function makeTaskBuildCacheService(): TaskBuildCacheService;
|
|
56
|
+
export declare function inventoryTaskBuildDomain(dockerSocketPath?: string): Promise<TaskBuildDomainInventory>;
|
|
57
|
+
export declare function planTaskBuildGc(domainId: string): Promise<TaskBuildGcPlan>;
|
|
58
|
+
export interface TaskBuildGcOutcome {
|
|
59
|
+
readonly planId: string;
|
|
60
|
+
readonly domainId: string;
|
|
61
|
+
readonly outcomes: ReadonlyArray<{
|
|
62
|
+
readonly buildKey: string;
|
|
63
|
+
readonly status: "deleted" | "already-absent" | "skipped" | "failed";
|
|
64
|
+
readonly reason: string;
|
|
65
|
+
}>;
|
|
66
|
+
}
|
|
67
|
+
export declare function applyTaskBuildGc(domainId: string, planId: string): Promise<TaskBuildGcOutcome>;
|
|
68
|
+
export declare const liveTaskBuildCacheAdminService: TaskBuildCacheAdminService;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import type { DockerCapacityObservation as ProviderCapacityObservation, DockerCacheDomainDescriptor as CacheDomainDescriptor } from "../docker/cache-administration.js";
|
|
2
|
+
export interface TaskBuildInventoryEntry {
|
|
3
|
+
readonly buildKey: string;
|
|
4
|
+
readonly tag: string;
|
|
5
|
+
readonly imageId: string;
|
|
6
|
+
readonly createdAt: string;
|
|
7
|
+
readonly lastSuccessfulUseAt: string | null;
|
|
8
|
+
readonly protectedUntil: string;
|
|
9
|
+
readonly state: "active-leased" | "cold-reusable" | "unverified";
|
|
10
|
+
}
|
|
11
|
+
export interface TaskBuildDomainInventory {
|
|
12
|
+
readonly domainId: string;
|
|
13
|
+
readonly providerFamily: "docker";
|
|
14
|
+
readonly backendKind: "docker-images";
|
|
15
|
+
readonly state: "verified-managed";
|
|
16
|
+
readonly entries: readonly TaskBuildInventoryEntry[];
|
|
17
|
+
}
|
|
18
|
+
export interface TaskBuildCacheService {
|
|
19
|
+
lookup(buildKey: string, tag: string, manifestDigest: string, dockerSocketPath?: string): Promise<boolean>;
|
|
20
|
+
publish(buildKey: string, tag: string, manifestDigest: string, operationId: string, dockerSocketPath?: string): Promise<void>;
|
|
21
|
+
acquireUse(buildKey: string, tag: string, manifestDigest: string, dockerSocketPath?: string): Promise<{
|
|
22
|
+
release(): void;
|
|
23
|
+
}>;
|
|
24
|
+
}
|
|
25
|
+
export interface TaskBuildCacheAdminService {
|
|
26
|
+
inventory(): Promise<TaskBuildDomainInventory>;
|
|
27
|
+
planGc(domainId: string): Promise<TaskBuildGcPlan>;
|
|
28
|
+
applyGc(domainId: string, planId: string): Promise<TaskBuildGcOutcome>;
|
|
29
|
+
}
|
|
30
|
+
export interface TaskBuildGcPlan {
|
|
31
|
+
readonly schemaVersion: 1;
|
|
32
|
+
readonly planId: string;
|
|
33
|
+
readonly domainId: string;
|
|
34
|
+
readonly ownerId: string;
|
|
35
|
+
readonly backendIdentity: string;
|
|
36
|
+
readonly authorityEpoch: string;
|
|
37
|
+
readonly policyVersion: 1;
|
|
38
|
+
readonly registrySafetyRevision: number;
|
|
39
|
+
readonly observedAt: string;
|
|
40
|
+
readonly expiresAt: string;
|
|
41
|
+
readonly planDigest: string;
|
|
42
|
+
readonly candidates: ReadonlyArray<{
|
|
43
|
+
readonly buildKey: string;
|
|
44
|
+
readonly tag: string;
|
|
45
|
+
readonly imageId: string;
|
|
46
|
+
readonly manifestDigest: string;
|
|
47
|
+
readonly generation: number;
|
|
48
|
+
readonly evidenceDigest: string;
|
|
49
|
+
readonly ruleId: "max-age/task-build";
|
|
50
|
+
}>;
|
|
51
|
+
}
|
|
52
|
+
export declare function observeDockerBuildKitCapacity(): Promise<ProviderCapacityObservation>;
|
|
53
|
+
export declare function listDockerCacheDomains(): Promise<readonly CacheDomainDescriptor[]>;
|
|
54
|
+
export declare function dockerTaskBuildAuthorityFingerprint(): Promise<string>;
|
|
55
|
+
export declare function makeTaskBuildCacheService(): TaskBuildCacheService;
|
|
56
|
+
export declare function inventoryTaskBuildDomain(dockerSocketPath?: string): Promise<TaskBuildDomainInventory>;
|
|
57
|
+
export declare function planTaskBuildGc(domainId: string): Promise<TaskBuildGcPlan>;
|
|
58
|
+
export interface TaskBuildGcOutcome {
|
|
59
|
+
readonly planId: string;
|
|
60
|
+
readonly domainId: string;
|
|
61
|
+
readonly outcomes: ReadonlyArray<{
|
|
62
|
+
readonly buildKey: string;
|
|
63
|
+
readonly status: "deleted" | "already-absent" | "skipped" | "failed";
|
|
64
|
+
readonly reason: string;
|
|
65
|
+
}>;
|
|
66
|
+
}
|
|
67
|
+
export declare function applyTaskBuildGc(domainId: string, planId: string): Promise<TaskBuildGcOutcome>;
|
|
68
|
+
export declare const liveTaskBuildCacheAdminService: TaskBuildCacheAdminService;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { createRequire as __niceevalCreateRequire } from "node:module";
|
|
2
|
+
const __niceevalRequire = __niceevalCreateRequire(import.meta.url);
|
|
3
|
+
const __niceevalCanonical = __niceevalRequire("./docker-task-build-cache.cjs");
|
|
4
|
+
const __niceevalExport0 = __niceevalCanonical["applyTaskBuildGc"];
|
|
5
|
+
export { __niceevalExport0 as applyTaskBuildGc };
|
|
6
|
+
const __niceevalExport1 = __niceevalCanonical["dockerTaskBuildAuthorityFingerprint"];
|
|
7
|
+
export { __niceevalExport1 as dockerTaskBuildAuthorityFingerprint };
|
|
8
|
+
const __niceevalExport2 = __niceevalCanonical["inventoryTaskBuildDomain"];
|
|
9
|
+
export { __niceevalExport2 as inventoryTaskBuildDomain };
|
|
10
|
+
const __niceevalExport3 = __niceevalCanonical["listDockerCacheDomains"];
|
|
11
|
+
export { __niceevalExport3 as listDockerCacheDomains };
|
|
12
|
+
const __niceevalExport4 = __niceevalCanonical["liveTaskBuildCacheAdminService"];
|
|
13
|
+
export { __niceevalExport4 as liveTaskBuildCacheAdminService };
|
|
14
|
+
const __niceevalExport5 = __niceevalCanonical["makeTaskBuildCacheService"];
|
|
15
|
+
export { __niceevalExport5 as makeTaskBuildCacheService };
|
|
16
|
+
const __niceevalExport6 = __niceevalCanonical["observeDockerBuildKitCapacity"];
|
|
17
|
+
export { __niceevalExport6 as observeDockerBuildKitCapacity };
|
|
18
|
+
const __niceevalExport7 = __niceevalCanonical["planTaskBuildGc"];
|
|
19
|
+
export { __niceevalExport7 as planTaskBuildGc };
|
|
20
|
+
//# sourceMappingURL=docker-task-build-cache.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"docker-task-build-cache.js","sources":[],"names":[],"mappings":""}
|
package/dist/sandbox/docker.cjs
CHANGED
|
@@ -536,6 +536,54 @@ class DockerSandbox {
|
|
|
536
536
|
}
|
|
537
537
|
return sandbox;
|
|
538
538
|
}
|
|
539
|
+
/** Control service owns create/remove; this handle only starts, initializes and detaches. */
|
|
540
|
+
static async createControlled(options, create) {
|
|
541
|
+
const sandbox = new DockerSandbox(options);
|
|
542
|
+
const imageName = sandbox.image ?? DOCKER_IMAGES[sandbox.runtime];
|
|
543
|
+
if (!imageName)
|
|
544
|
+
throw new Error((0, index_ts_1.t)("docker.unsupportedRuntime", { runtime: sandbox.runtime }));
|
|
545
|
+
await sandbox.ensureImage(imageName);
|
|
546
|
+
const isDind = sandbox.dockerAccess?.mode === "dind";
|
|
547
|
+
if (isDind) {
|
|
548
|
+
const inspectedImage = await sandbox.docker.getImage(imageName).inspect();
|
|
549
|
+
const declaredUser = inspectedImage.Config?.User?.trim();
|
|
550
|
+
sandbox.imageDefaultUser = declaredUser === "" ? undefined : declaredUser;
|
|
551
|
+
}
|
|
552
|
+
const ttlSec = Math.ceil(Math.max(sandbox.lifetimeMs ?? (sandbox.timeout ?? TTL_BASE_WITHOUT_DEADLINE) * TTL_MULTIPLIER, TTL_FLOOR_MS) / 1000);
|
|
553
|
+
sandbox.expiresAtMs = Date.now() + ttlSec * 1000;
|
|
554
|
+
const dindCommand = isDind ? (0, dind_supervisor_ts_1.dindContainerCommand)(ttlSec, CONTAINER_LOG) : undefined;
|
|
555
|
+
const tmpfs = dockerHostConfig(sandbox.privileged, sandbox.resources).Tmpfs ?? {};
|
|
556
|
+
const created = await create({
|
|
557
|
+
image: imageName,
|
|
558
|
+
command: dindCommand === undefined
|
|
559
|
+
? ["sh", "-c", `touch ${CONTAINER_LOG}; chmod 666 ${CONTAINER_LOG}; exec timeout ${ttlSec} tail -n +1 -F ${CONTAINER_LOG}`]
|
|
560
|
+
: [...dindCommand.Entrypoint.slice(1), ...dindCommand.Cmd],
|
|
561
|
+
...(dindCommand === undefined ? {} : { entrypoint: dindCommand.Entrypoint[0] }),
|
|
562
|
+
environment: [],
|
|
563
|
+
workingDir: sandbox.workdir,
|
|
564
|
+
...(isDind ? { user: ROOT_USER } : sandbox.userOverride === undefined ? {} : { user: sandbox.userOverride }),
|
|
565
|
+
tmpfs,
|
|
566
|
+
});
|
|
567
|
+
sandbox.container = sandbox.docker.getContainer(created.containerId);
|
|
568
|
+
sandbox.network = sandbox.docker.getNetwork(created.networkId);
|
|
569
|
+
sandbox._containerId = created.containerId;
|
|
570
|
+
sandbox.releaseMode = "detach";
|
|
571
|
+
try {
|
|
572
|
+
await sandbox.container.start();
|
|
573
|
+
await sandbox.waitForReadiness();
|
|
574
|
+
await sandbox.ensureRunnerTools();
|
|
575
|
+
await sandbox.resolveDefaultIdentity();
|
|
576
|
+
await sandbox.runCommandAsRoot("mkdir", ["-p", sandbox.workdir]);
|
|
577
|
+
await sandbox.runCommandAsRoot("chown", ["-R", sandbox.chownTarget(), sandbox.workdir]);
|
|
578
|
+
await sandbox.runCommandAsRoot("mkdir", ["-p", sandbox.npmGlobalDir]);
|
|
579
|
+
await sandbox.runCommandAsRoot("chown", ["-R", sandbox.chownTarget(), sandbox.npmGlobalDir]);
|
|
580
|
+
await sandbox.runCommand("npm", ["config", "set", "prefix", sandbox.npmGlobalDir]);
|
|
581
|
+
return sandbox;
|
|
582
|
+
}
|
|
583
|
+
catch (error) {
|
|
584
|
+
throw await sandbox.withInitializationDiagnostics(error);
|
|
585
|
+
}
|
|
586
|
+
}
|
|
539
587
|
/** DinD 容器 kill-on-failure 前收集有界诊断,普通 Docker 保持原错误形状。 */
|
|
540
588
|
async withInitializationDiagnostics(error) {
|
|
541
589
|
if (this.dockerAccess?.mode !== "dind" || this.container === null)
|
|
@@ -1254,6 +1302,8 @@ class DockerSandbox {
|
|
|
1254
1302
|
return;
|
|
1255
1303
|
if (this.releaseMode === "detach") {
|
|
1256
1304
|
this.container = null;
|
|
1305
|
+
this.network = null;
|
|
1306
|
+
await this.afterStop?.();
|
|
1257
1307
|
return;
|
|
1258
1308
|
}
|
|
1259
1309
|
const container = this.container;
|