spawnfile 0.1.33 → 0.1.35
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/README.md +1 -1
- package/dist/audit/readAudit.d.ts +3 -3
- package/dist/auth/profileStore.d.ts +3 -1
- package/dist/auth/profileStore.js +31 -30
- package/dist/auth/trainingAuth.d.ts +2 -5
- package/dist/auth/types.d.ts +16 -0
- package/dist/cli/authCommands.d.ts +1 -1
- package/dist/cli/authCommands.js +21 -1
- package/dist/cli/devCommands.d.ts +1 -1
- package/dist/cli/devCommands.js +0 -66
- package/dist/cli/runCli.d.ts +3 -4
- package/dist/cli/runCli.js +4 -3
- package/dist/cli/trainCommand.js +9 -15
- package/dist/cli/trainingBooted.d.ts +9 -0
- package/dist/cli/trainingBooted.js +45 -0
- package/dist/cli/trainingExecution.d.ts +4 -7
- package/dist/cli/trainingExecution.js +4 -32
- package/dist/compiler/containerArtifacts.js +0 -5
- package/dist/compiler/containerBackedMountRender.js +5 -1
- package/dist/compiler/containerDaimonBrokerRender.d.ts +5 -50
- package/dist/compiler/containerDaimonBrokerRender.js +19 -90
- package/dist/compiler/containerDaimonGatewayRender.d.ts +50 -0
- package/dist/compiler/containerDaimonGatewayRender.js +161 -0
- package/dist/compiler/containerDaimonGrokWorkerProvisioning.d.ts +2 -10
- package/dist/compiler/containerDaimonGrokWorkerProvisioning.js +13 -25
- package/dist/compiler/containerDaimonGrokWorkerRender.d.ts +11 -49
- package/dist/compiler/containerDaimonGrokWorkerRender.js +15 -39
- package/dist/compiler/containerDaimonStartupSupervision.d.ts +8 -0
- package/dist/compiler/containerDaimonStartupSupervision.js +39 -0
- package/dist/compiler/containerDaimonUidEntrypointRender.d.ts +1 -2
- package/dist/compiler/containerDaimonUidEntrypointRender.js +29 -47
- package/dist/compiler/containerRuntimeReadinessRender.js +1 -1
- package/dist/compiler/memoryArtifacts.js +0 -1
- package/dist/compiler/moltnetArtifacts.js +1 -17
- package/dist/compiler/moltnetClientConfig.js +1 -1
- package/dist/compiler/moltnetRuntimeConfig.js +0 -10
- package/dist/compiler/runProject.d.ts +3 -0
- package/dist/compiler/runProject.js +12 -5
- package/dist/compiler/runProjectAuth.js +6 -18
- package/dist/compiler/training/contract.d.ts +0 -2
- package/dist/compiler/training/contract.js +0 -2
- package/dist/compiler/training/execution.d.ts +1 -128
- package/dist/compiler/training/execution.js +7 -68
- package/dist/compiler/training/index.d.ts +0 -8
- package/dist/compiler/training/index.js +0 -7
- package/dist/compiler/training/output.d.ts +1 -0
- package/dist/compiler/training/output.js +1 -1
- package/dist/compiler/training/rewind/contract.d.ts +6 -6
- package/dist/compiler/training/trial/boot.d.ts +72 -0
- package/dist/compiler/training/trial/boot.js +225 -0
- package/dist/compiler/training/trial/docker.d.ts +10 -0
- package/dist/compiler/training/trial/docker.js +22 -0
- package/dist/compiler/training/trial/gateway.d.ts +47 -0
- package/dist/compiler/training/trial/gateway.js +113 -0
- package/dist/compiler/training/trial/homeLogin.d.ts +31 -0
- package/dist/compiler/training/trial/homeLogin.js +69 -0
- package/dist/compiler/training/trial/index.d.ts +8 -0
- package/dist/compiler/training/trial/index.js +8 -0
- package/dist/compiler/training/trial/judge.d.ts +15 -0
- package/dist/compiler/training/trial/judge.js +42 -0
- package/dist/compiler/training/trial/launcher.d.ts +47 -0
- package/dist/compiler/training/trial/launcher.js +193 -0
- package/dist/compiler/training/trial/login.d.ts +35 -0
- package/dist/compiler/training/trial/login.js +85 -0
- package/dist/compiler/training/trial/project.d.ts +11 -0
- package/dist/compiler/training/trial/project.js +31 -0
- package/dist/compiler/training/trial/realmTurns.d.ts +20 -0
- package/dist/compiler/training/trial/realmTurns.js +69 -0
- package/dist/compiler/upReceipt.d.ts +2 -17
- package/dist/compiler/upReceipt.js +2 -17
- package/dist/deployment/artifactsExportPlan.js +2 -18
- package/dist/deployment/privateArtifactsExport.js +1 -1
- package/dist/dev/docker.d.ts +0 -5
- package/dist/dev/docker.js +0 -46
- package/dist/dev/index.d.ts +0 -1
- package/dist/dev/index.js +0 -1
- package/dist/dev/project.d.ts +0 -16
- package/dist/dev/project.js +1 -128
- package/dist/distribution/distributionReportSchema.js +1 -1
- package/dist/distribution/imageRuntimeAuth.js +3 -2
- package/dist/manifest/renderSpawnfile.js +2 -1
- package/dist/release/drainControl.d.ts +5 -19
- package/dist/release/drainControl.js +12 -67
- package/dist/report/types.d.ts +3 -6
- package/dist/runtime/common.d.ts +1 -1
- package/dist/runtime/common.js +1 -1
- package/dist/runtime/container.d.ts +2 -2
- package/dist/runtime/container.js +1 -39
- package/dist/runtime/daimon/config.js +8 -14
- package/dist/runtime/daimon/contractManifest.js +0 -1
- package/dist/runtime/daimon/contractManifestSchema.js +0 -1
- package/dist/runtime/daimon/control.d.ts +31 -0
- package/dist/runtime/daimon/control.js +83 -0
- package/dist/runtime/daimon/engineDescriptorSchema.js +0 -1
- package/dist/runtime/daimon/engineDescriptors.generated.d.ts +1 -1
- package/dist/runtime/daimon/engineDescriptors.generated.js +1 -2
- package/dist/runtime/daimon/engines.js +0 -1
- package/dist/runtime/daimon/gateway.d.ts +62 -0
- package/dist/runtime/daimon/gateway.js +77 -0
- package/dist/runtime/daimon/grokWorkerContract.d.ts +0 -5
- package/dist/runtime/daimon/grokWorkerContract.js +1 -13
- package/dist/runtime/daimon/index.d.ts +2 -0
- package/dist/runtime/daimon/index.js +2 -1
- package/dist/runtime/daimon/memory.js +1 -1
- package/dist/runtime/daimon/packageName.js +0 -1
- package/dist/runtime/daimon/runAuth.js +15 -4
- package/dist/runtime/daimon/runtimeIdentity.d.ts +2 -0
- package/dist/runtime/daimon/runtimeIdentity.js +2 -0
- package/dist/runtime/daimon/subscriptionRealms.d.ts +27 -3
- package/dist/runtime/daimon/subscriptionRealms.js +35 -13
- package/dist/runtime/daimon/testHelpers.d.ts +2 -0
- package/dist/runtime/{pi → daimon}/testHelpers.js +3 -3
- package/dist/runtime/daimon/training/booted/adapter.d.ts +50 -0
- package/dist/runtime/daimon/training/booted/adapter.js +60 -0
- package/dist/runtime/daimon/training/booted/adapter.js.map +1 -0
- package/dist/runtime/daimon/training/booted/index.d.ts +4 -0
- package/dist/runtime/daimon/training/booted/index.js +3 -0
- package/dist/runtime/daimon/training/booted/index.js.map +1 -0
- package/dist/runtime/daimon/training/booted/judge.d.ts +39 -0
- package/dist/runtime/daimon/training/booted/judge.js +122 -0
- package/dist/runtime/daimon/training/booted/judge.js.map +1 -0
- package/dist/runtime/daimon/training/index.d.ts +5 -0
- package/dist/runtime/daimon/training/index.js +8 -4
- package/dist/runtime/daimon/training/index.js.map +1 -1
- package/dist/runtime/daimon/wakeMoments.js +0 -1
- package/dist/runtime/install.js +0 -21
- package/dist/runtime/registry.js +0 -2
- package/dist/runtime/trainingGraderProviders.js +10 -4
- package/dist/runtime/trainingProviders.d.ts +5 -3
- package/dist/runtime/trainingProviders.js +21 -24
- package/dist/runtime/trainingSubjects.d.ts +0 -121
- package/dist/runtime/trainingSubjects.js +2 -13
- package/dist/runtime/types.d.ts +1 -8
- package/dist/runtime/usageRequestLedger.d.ts +2 -0
- package/dist/runtime/usageRequestLedger.js +3 -1
- package/dist/shared/errors.js +0 -1
- package/dist/shared/trainingLegacy/trainingLegacyHashDomains.d.ts +1 -0
- package/dist/shared/trainingLegacy/trainingLegacyHashDomains.js +1 -0
- package/dist/shared/trainingLegacy/trainingLegacyHashDomains.js.map +1 -1
- package/dist/status/lifecycleProbes.js +3 -6
- package/dist/status/moltnetWiringProbes.js +1 -17
- package/dist/training/subjects/index.d.ts +0 -1
- package/dist/training/subjects/index.js +0 -1
- package/dist/training/subjects/index.js.map +1 -1
- package/examples/README.md +0 -1
- package/examples/daimon-org/agents/mapper/Spawnfile +4 -1
- package/examples/daimon-org/teams/review/agents/reviewer/Spawnfile +4 -1
- package/examples/jungian-daimon-org/teams/luna/agents/animus/Spawnfile +5 -8
- package/examples/jungian-daimon-org/teams/luna/agents/representative/Spawnfile +1 -1
- package/examples/jungian-daimon-org/teams/luna/agents/shadow/Spawnfile +5 -8
- package/examples/jungian-daimon-org/teams/selene/agents/animus/Spawnfile +5 -8
- package/examples/jungian-daimon-org/teams/selene/agents/representative/Spawnfile +5 -8
- package/examples/jungian-daimon-org/teams/selene/agents/shadow/Spawnfile +1 -1
- package/examples/mixed-runtime-org/agents/localist/Spawnfile +7 -7
- package/package.json +4 -13
- package/runtimes.yaml +5 -15
- package/dist/compiler/containerDaimonGrokTaskClock.d.ts +0 -5
- package/dist/compiler/containerDaimonGrokTaskClock.js +0 -29
- package/dist/compiler/daimonTelemetryArtifacts.d.ts +0 -22
- package/dist/compiler/daimonTelemetryArtifacts.js +0 -56
- package/dist/compiler/training/broker/clockProbe.d.ts +0 -6
- package/dist/compiler/training/broker/clockProbe.js +0 -27
- package/dist/compiler/training/broker/declaration.d.ts +0 -54
- package/dist/compiler/training/broker/declaration.js +0 -70
- package/dist/compiler/training/broker/entrypoint.d.ts +0 -39
- package/dist/compiler/training/broker/entrypoint.js +0 -124
- package/dist/compiler/training/broker/evaluatorSecrets.d.ts +0 -2
- package/dist/compiler/training/broker/evaluatorSecrets.js +0 -62
- package/dist/compiler/training/broker/index.d.ts +0 -12
- package/dist/compiler/training/broker/index.js +0 -12
- package/dist/compiler/training/broker/main.d.ts +0 -2
- package/dist/compiler/training/broker/main.js +0 -14
- package/dist/compiler/training/broker/paths.d.ts +0 -236
- package/dist/compiler/training/broker/paths.js +0 -249
- package/dist/compiler/training/broker/processes.d.ts +0 -51
- package/dist/compiler/training/broker/processes.js +0 -102
- package/dist/compiler/training/broker/projection.d.ts +0 -61
- package/dist/compiler/training/broker/projection.js +0 -109
- package/dist/compiler/training/broker/provisioning.d.ts +0 -78
- package/dist/compiler/training/broker/provisioning.js +0 -231
- package/dist/compiler/training/broker/receipt.d.ts +0 -77
- package/dist/compiler/training/broker/receipt.js +0 -110
- package/dist/compiler/training/broker/recycleClient.d.ts +0 -33
- package/dist/compiler/training/broker/recycleClient.js +0 -112
- package/dist/compiler/training/broker/registration.d.ts +0 -46
- package/dist/compiler/training/broker/registration.js +0 -113
- package/dist/compiler/training/broker/reset.d.ts +0 -9
- package/dist/compiler/training/broker/reset.js +0 -71
- package/dist/compiler/training/broker/rootScript.d.ts +0 -32
- package/dist/compiler/training/broker/rootScript.js +0 -33
- package/dist/compiler/training/broker/runtime.d.ts +0 -22
- package/dist/compiler/training/broker/runtime.js +0 -128
- package/dist/compiler/training/broker/seccompRoutes.d.ts +0 -31
- package/dist/compiler/training/broker/seccompRoutes.js +0 -36
- package/dist/compiler/training/broker/supervisor.d.ts +0 -108
- package/dist/compiler/training/broker/supervisor.js +0 -172
- package/dist/compiler/training/broker/taskClock.d.ts +0 -5
- package/dist/compiler/training/broker/taskClock.js +0 -41
- package/dist/compiler/training/container/contract.d.ts +0 -54
- package/dist/compiler/training/container/contract.js +0 -52
- package/dist/compiler/training/container/evaluators.d.ts +0 -48
- package/dist/compiler/training/container/evaluators.js +0 -50
- package/dist/compiler/training/container/grokWriteback.d.ts +0 -8
- package/dist/compiler/training/container/grokWriteback.js +0 -26
- package/dist/compiler/training/container/index.d.ts +0 -5
- package/dist/compiler/training/container/index.js +0 -3
- package/dist/compiler/training/container/launch.d.ts +0 -21
- package/dist/compiler/training/container/launch.js +0 -280
- package/dist/compiler/training/container/nativeSlots.d.ts +0 -14
- package/dist/compiler/training/container/nativeSlots.js +0 -13
- package/dist/compiler/training/container/outputCopy.d.ts +0 -2
- package/dist/compiler/training/container/outputCopy.js +0 -72
- package/dist/compiler/training/container/outputVolume.d.ts +0 -28
- package/dist/compiler/training/container/outputVolume.js +0 -185
- package/dist/compiler/training/container/prepare.d.ts +0 -10
- package/dist/compiler/training/container/prepare.js +0 -125
- package/dist/compiler/training/container/process.d.ts +0 -14
- package/dist/compiler/training/container/process.js +0 -70
- package/dist/compiler/training/container/security.d.ts +0 -38
- package/dist/compiler/training/container/security.js +0 -68
- package/dist/compiler/training/container/subjectIsolation.d.ts +0 -5
- package/dist/compiler/training/container/subjectIsolation.js +0 -16
- package/dist/compiler/training/preparation/assets/Dockerfile +0 -100
- package/dist/compiler/training/preparation/assets/package-lock.json +0 -5483
- package/dist/compiler/training/preparation/broker.d.ts +0 -30
- package/dist/compiler/training/preparation/broker.js +0 -68
- package/dist/compiler/training/preparation/contextModes.d.ts +0 -12
- package/dist/compiler/training/preparation/contextModes.js +0 -38
- package/dist/compiler/training/preparation/contract.d.ts +0 -203
- package/dist/compiler/training/preparation/contract.js +0 -114
- package/dist/compiler/training/preparation/copyAssets.d.ts +0 -1
- package/dist/compiler/training/preparation/copyAssets.js +0 -8
- package/dist/compiler/training/preparation/daimonParent.d.ts +0 -42
- package/dist/compiler/training/preparation/daimonParent.js +0 -114
- package/dist/compiler/training/preparation/files.d.ts +0 -29
- package/dist/compiler/training/preparation/files.js +0 -146
- package/dist/compiler/training/preparation/image.d.ts +0 -28
- package/dist/compiler/training/preparation/image.js +0 -105
- package/dist/compiler/training/preparation/index.d.ts +0 -3
- package/dist/compiler/training/preparation/index.js +0 -2
- package/dist/compiler/training/preparation/inputs.d.ts +0 -24
- package/dist/compiler/training/preparation/inputs.js +0 -101
- package/dist/compiler/training/preparation/prepare.d.ts +0 -38
- package/dist/compiler/training/preparation/prepare.js +0 -224
- package/dist/compiler/training/preparation/scratch.d.ts +0 -8
- package/dist/compiler/training/preparation/scratch.js +0 -114
- package/dist/compiler/training/repair/compatibility.d.ts +0 -11
- package/dist/compiler/training/repair/compatibility.js +0 -45
- package/dist/compiler/training/repair/contract.d.ts +0 -832
- package/dist/compiler/training/repair/contract.js +0 -34
- package/dist/compiler/training/repair/index.d.ts +0 -3
- package/dist/compiler/training/repair/index.js +0 -3
- package/dist/compiler/training/repair/prepare.d.ts +0 -378
- package/dist/compiler/training/repair/prepare.js +0 -84
- package/dist/compiler/training/repair/witness.d.ts +0 -348
- package/dist/compiler/training/repair/witness.js +0 -62
- package/dist/compiler/training/subjectDeclaration.d.ts +0 -26
- package/dist/compiler/training/subjectDeclaration.js +0 -54
- package/dist/compiler/training/subjectLease.d.ts +0 -115
- package/dist/compiler/training/subjectLease.js +0 -179
- package/dist/dev/activity.d.ts +0 -14
- package/dist/dev/activity.js +0 -48
- package/dist/runtime/codex-exec/training/adapter.d.ts +0 -13
- package/dist/runtime/codex-exec/training/adapter.js +0 -101
- package/dist/runtime/codex-exec/training/adapter.js.map +0 -1
- package/dist/runtime/codex-exec/training/environment.d.ts +0 -3
- package/dist/runtime/codex-exec/training/environment.js +0 -26
- package/dist/runtime/codex-exec/training/environment.js.map +0 -1
- package/dist/runtime/codex-exec/training/index.d.ts +0 -2
- package/dist/runtime/codex-exec/training/index.js +0 -3
- package/dist/runtime/codex-exec/training/index.js.map +0 -1
- package/dist/runtime/codex-exec/training/protocol.d.ts +0 -15
- package/dist/runtime/codex-exec/training/protocol.js +0 -102
- package/dist/runtime/codex-exec/training/protocol.js.map +0 -1
- package/dist/runtime/codex-exec/training/providers/codex-subscription/index.d.ts +0 -1
- package/dist/runtime/codex-exec/training/providers/codex-subscription/index.js +0 -2
- package/dist/runtime/codex-exec/training/providers/codex-subscription/index.js.map +0 -1
- package/dist/runtime/codex-exec/training/providers/codex-subscription/protocol.d.ts +0 -17
- package/dist/runtime/codex-exec/training/providers/codex-subscription/protocol.js +0 -80
- package/dist/runtime/codex-exec/training/providers/codex-subscription/protocol.js.map +0 -1
- package/dist/runtime/codex-exec/training/providers/codex-subscription/provider.d.ts +0 -12
- package/dist/runtime/codex-exec/training/providers/codex-subscription/provider.js +0 -125
- package/dist/runtime/codex-exec/training/providers/codex-subscription/provider.js.map +0 -1
- package/dist/runtime/codex-exec/training/providers/codex-subscription/strict-schema.d.ts +0 -6
- package/dist/runtime/codex-exec/training/providers/codex-subscription/strict-schema.js +0 -219
- package/dist/runtime/codex-exec/training/providers/codex-subscription/strict-schema.js.map +0 -1
- package/dist/runtime/daimon/contractManifest.js.map +0 -1
- package/dist/runtime/daimon/contractManifestSchema.js.map +0 -1
- package/dist/runtime/daimon/engineDescriptorSchema.js.map +0 -1
- package/dist/runtime/daimon/engineDescriptors.generated.js.map +0 -1
- package/dist/runtime/daimon/engines.js.map +0 -1
- package/dist/runtime/daimon/index.js.map +0 -1
- package/dist/runtime/daimon/packageName.js.map +0 -1
- package/dist/runtime/daimon/training/legacy/adapter.d.ts +0 -11
- package/dist/runtime/daimon/training/legacy/adapter.js +0 -175
- package/dist/runtime/daimon/training/legacy/adapter.js.map +0 -1
- package/dist/runtime/daimon/training/legacy/index.d.ts +0 -2
- package/dist/runtime/daimon/training/legacy/index.js +0 -3
- package/dist/runtime/daimon/training/legacy/index.js.map +0 -1
- package/dist/runtime/daimon/training/legacy/public.d.ts +0 -49
- package/dist/runtime/daimon/training/legacy/public.js +0 -16
- package/dist/runtime/daimon/training/legacy/public.js.map +0 -1
- package/dist/runtime/daimon/training/native/adapter.d.ts +0 -18
- package/dist/runtime/daimon/training/native/adapter.js +0 -252
- package/dist/runtime/daimon/training/native/adapter.js.map +0 -1
- package/dist/runtime/daimon/training/native/admission.d.ts +0 -7
- package/dist/runtime/daimon/training/native/admission.js +0 -52
- package/dist/runtime/daimon/training/native/admission.js.map +0 -1
- package/dist/runtime/daimon/training/native/child/arguments.d.ts +0 -16
- package/dist/runtime/daimon/training/native/child/arguments.js +0 -70
- package/dist/runtime/daimon/training/native/child/arguments.js.map +0 -1
- package/dist/runtime/daimon/training/native/child/deferred-trial.d.ts +0 -24
- package/dist/runtime/daimon/training/native/child/deferred-trial.js +0 -63
- package/dist/runtime/daimon/training/native/child/deferred-trial.js.map +0 -1
- package/dist/runtime/daimon/training/native/child/diagnostics.d.ts +0 -58
- package/dist/runtime/daimon/training/native/child/diagnostics.js +0 -215
- package/dist/runtime/daimon/training/native/child/diagnostics.js.map +0 -1
- package/dist/runtime/daimon/training/native/child/fixture.d.ts +0 -16
- package/dist/runtime/daimon/training/native/child/fixture.js +0 -159
- package/dist/runtime/daimon/training/native/child/fixture.js.map +0 -1
- package/dist/runtime/daimon/training/native/child/grok.d.ts +0 -14
- package/dist/runtime/daimon/training/native/child/grok.js +0 -47
- package/dist/runtime/daimon/training/native/child/grok.js.map +0 -1
- package/dist/runtime/daimon/training/native/child/index.d.ts +0 -7
- package/dist/runtime/daimon/training/native/child/index.js +0 -5
- package/dist/runtime/daimon/training/native/child/index.js.map +0 -1
- package/dist/runtime/daimon/training/native/child/lifecycle.d.ts +0 -40
- package/dist/runtime/daimon/training/native/child/lifecycle.js +0 -400
- package/dist/runtime/daimon/training/native/child/lifecycle.js.map +0 -1
- package/dist/runtime/daimon/training/native/child/probe.d.ts +0 -2
- package/dist/runtime/daimon/training/native/child/probe.js +0 -11
- package/dist/runtime/daimon/training/native/child/probe.js.map +0 -1
- package/dist/runtime/daimon/training/native/child/sandbox.d.ts +0 -4
- package/dist/runtime/daimon/training/native/child/sandbox.js +0 -76
- package/dist/runtime/daimon/training/native/child/sandbox.js.map +0 -1
- package/dist/runtime/daimon/training/native/child/types.d.ts +0 -15
- package/dist/runtime/daimon/training/native/child/types.js +0 -2
- package/dist/runtime/daimon/training/native/child/types.js.map +0 -1
- package/dist/runtime/daimon/training/native/container/docker.d.ts +0 -29
- package/dist/runtime/daimon/training/native/container/docker.js +0 -105
- package/dist/runtime/daimon/training/native/container/docker.js.map +0 -1
- package/dist/runtime/daimon/training/native/container/grok-slot.d.ts +0 -22
- package/dist/runtime/daimon/training/native/container/grok-slot.js +0 -38
- package/dist/runtime/daimon/training/native/container/grok-slot.js.map +0 -1
- package/dist/runtime/daimon/training/native/container/index.d.ts +0 -6
- package/dist/runtime/daimon/training/native/container/index.js +0 -6
- package/dist/runtime/daimon/training/native/container/index.js.map +0 -1
- package/dist/runtime/daimon/training/native/container/lifecycle.d.ts +0 -8
- package/dist/runtime/daimon/training/native/container/lifecycle.js +0 -111
- package/dist/runtime/daimon/training/native/container/lifecycle.js.map +0 -1
- package/dist/runtime/daimon/training/native/container/manifest.d.ts +0 -17
- package/dist/runtime/daimon/training/native/container/manifest.js +0 -164
- package/dist/runtime/daimon/training/native/container/manifest.js.map +0 -1
- package/dist/runtime/daimon/training/native/container/native-preflight.d.ts +0 -8
- package/dist/runtime/daimon/training/native/container/native-preflight.js +0 -40
- package/dist/runtime/daimon/training/native/container/native-preflight.js.map +0 -1
- package/dist/runtime/daimon/training/native/container/preflight.d.ts +0 -15
- package/dist/runtime/daimon/training/native/container/preflight.js +0 -79
- package/dist/runtime/daimon/training/native/container/preflight.js.map +0 -1
- package/dist/runtime/daimon/training/native/container/slot.d.ts +0 -4
- package/dist/runtime/daimon/training/native/container/slot.js +0 -58
- package/dist/runtime/daimon/training/native/container/slot.js.map +0 -1
- package/dist/runtime/daimon/training/native/external.d.ts +0 -37
- package/dist/runtime/daimon/training/native/external.js +0 -75
- package/dist/runtime/daimon/training/native/external.js.map +0 -1
- package/dist/runtime/daimon/training/native/grants/authority.d.ts +0 -36
- package/dist/runtime/daimon/training/native/grants/authority.js +0 -49
- package/dist/runtime/daimon/training/native/grants/authority.js.map +0 -1
- package/dist/runtime/daimon/training/native/grants/index.d.ts +0 -2
- package/dist/runtime/daimon/training/native/grants/index.js +0 -3
- package/dist/runtime/daimon/training/native/grants/index.js.map +0 -1
- package/dist/runtime/daimon/training/native/grants/pins.d.ts +0 -30
- package/dist/runtime/daimon/training/native/grants/pins.js +0 -20
- package/dist/runtime/daimon/training/native/grants/pins.js.map +0 -1
- package/dist/runtime/daimon/training/native/grants/test-socket.d.ts +0 -6
- package/dist/runtime/daimon/training/native/grants/test-socket.js +0 -35
- package/dist/runtime/daimon/training/native/grants/test-socket.js.map +0 -1
- package/dist/runtime/daimon/training/native/grok-fixtures.d.ts +0 -34
- package/dist/runtime/daimon/training/native/grok-fixtures.js +0 -179
- package/dist/runtime/daimon/training/native/grok-fixtures.js.map +0 -1
- package/dist/runtime/daimon/training/native/index.d.ts +0 -38
- package/dist/runtime/daimon/training/native/index.js +0 -27
- package/dist/runtime/daimon/training/native/index.js.map +0 -1
- package/dist/runtime/daimon/training/native/live-checkout.d.ts +0 -2
- package/dist/runtime/daimon/training/native/live-checkout.js +0 -15
- package/dist/runtime/daimon/training/native/live-checkout.js.map +0 -1
- package/dist/runtime/daimon/training/native/observations.d.ts +0 -51
- package/dist/runtime/daimon/training/native/observations.js +0 -217
- package/dist/runtime/daimon/training/native/observations.js.map +0 -1
- package/dist/runtime/daimon/training/native/outcome.d.ts +0 -13
- package/dist/runtime/daimon/training/native/outcome.js +0 -37
- package/dist/runtime/daimon/training/native/outcome.js.map +0 -1
- package/dist/runtime/daimon/training/native/preparation/engine-config.d.ts +0 -21
- package/dist/runtime/daimon/training/native/preparation/engine-config.js +0 -30
- package/dist/runtime/daimon/training/native/preparation/engine-config.js.map +0 -1
- package/dist/runtime/daimon/training/native/preparation/fixtures.d.ts +0 -17
- package/dist/runtime/daimon/training/native/preparation/fixtures.js +0 -52
- package/dist/runtime/daimon/training/native/preparation/fixtures.js.map +0 -1
- package/dist/runtime/daimon/training/native/preparation/index.d.ts +0 -7
- package/dist/runtime/daimon/training/native/preparation/index.js +0 -5
- package/dist/runtime/daimon/training/native/preparation/index.js.map +0 -1
- package/dist/runtime/daimon/training/native/preparation/layout.d.ts +0 -66
- package/dist/runtime/daimon/training/native/preparation/layout.js +0 -87
- package/dist/runtime/daimon/training/native/preparation/layout.js.map +0 -1
- package/dist/runtime/daimon/training/native/preparation/subject.d.ts +0 -14
- package/dist/runtime/daimon/training/native/preparation/subject.js +0 -67
- package/dist/runtime/daimon/training/native/preparation/subject.js.map +0 -1
- package/dist/runtime/daimon/training/native/preparation/types.d.ts +0 -69
- package/dist/runtime/daimon/training/native/preparation/types.js +0 -2
- package/dist/runtime/daimon/training/native/preparation/types.js.map +0 -1
- package/dist/runtime/daimon/training/native/receipt/artifacts.d.ts +0 -25
- package/dist/runtime/daimon/training/native/receipt/artifacts.js +0 -32
- package/dist/runtime/daimon/training/native/receipt/artifacts.js.map +0 -1
- package/dist/runtime/daimon/training/native/receipt/grok-clocked-pins.d.ts +0 -129
- package/dist/runtime/daimon/training/native/receipt/grok-clocked-pins.js +0 -45
- package/dist/runtime/daimon/training/native/receipt/grok-clocked-pins.js.map +0 -1
- package/dist/runtime/daimon/training/native/receipt/grok.d.ts +0 -246
- package/dist/runtime/daimon/training/native/receipt/grok.js +0 -195
- package/dist/runtime/daimon/training/native/receipt/grok.js.map +0 -1
- package/dist/runtime/daimon/training/native/receipt/index.d.ts +0 -11
- package/dist/runtime/daimon/training/native/receipt/index.js +0 -8
- package/dist/runtime/daimon/training/native/receipt/index.js.map +0 -1
- package/dist/runtime/daimon/training/native/receipt/paths.d.ts +0 -3
- package/dist/runtime/daimon/training/native/receipt/paths.js +0 -18
- package/dist/runtime/daimon/training/native/receipt/paths.js.map +0 -1
- package/dist/runtime/daimon/training/native/receipt/sandbox.d.ts +0 -42
- package/dist/runtime/daimon/training/native/receipt/sandbox.js +0 -35
- package/dist/runtime/daimon/training/native/receipt/sandbox.js.map +0 -1
- package/dist/runtime/daimon/training/native/receipt/schema.d.ts +0 -490
- package/dist/runtime/daimon/training/native/receipt/schema.js +0 -138
- package/dist/runtime/daimon/training/native/receipt/schema.js.map +0 -1
- package/dist/runtime/daimon/training/native/receipt/subscription.d.ts +0 -13
- package/dist/runtime/daimon/training/native/receipt/subscription.js +0 -13
- package/dist/runtime/daimon/training/native/receipt/subscription.js.map +0 -1
- package/dist/runtime/daimon/training/native/receipt/task-clock.d.ts +0 -19
- package/dist/runtime/daimon/training/native/receipt/task-clock.js +0 -49
- package/dist/runtime/daimon/training/native/receipt/task-clock.js.map +0 -1
- package/dist/runtime/daimon/training/native/sealed-usage.d.ts +0 -218
- package/dist/runtime/daimon/training/native/sealed-usage.js +0 -261
- package/dist/runtime/daimon/training/native/sealed-usage.js.map +0 -1
- package/dist/runtime/daimon/training/native/test-fixtures.d.ts +0 -27
- package/dist/runtime/daimon/training/native/test-fixtures.js +0 -162
- package/dist/runtime/daimon/training/native/test-fixtures.js.map +0 -1
- package/dist/runtime/daimon/training/native/transcript.d.ts +0 -96
- package/dist/runtime/daimon/training/native/transcript.js +0 -239
- package/dist/runtime/daimon/training/native/transcript.js.map +0 -1
- package/dist/runtime/daimon/training/native/transport/delivery.d.ts +0 -27
- package/dist/runtime/daimon/training/native/transport/delivery.js +0 -98
- package/dist/runtime/daimon/training/native/transport/delivery.js.map +0 -1
- package/dist/runtime/daimon/training/native/transport/http.d.ts +0 -3
- package/dist/runtime/daimon/training/native/transport/http.js +0 -81
- package/dist/runtime/daimon/training/native/transport/http.js.map +0 -1
- package/dist/runtime/daimon/training/native/transport/index.d.ts +0 -4
- package/dist/runtime/daimon/training/native/transport/index.js +0 -3
- package/dist/runtime/daimon/training/native/transport/index.js.map +0 -1
- package/dist/runtime/daimon/training/native/transport/types.d.ts +0 -15
- package/dist/runtime/daimon/training/native/transport/types.js +0 -2
- package/dist/runtime/daimon/training/native/transport/types.js.map +0 -1
- package/dist/runtime/daimon/training/native/worker/cli.d.ts +0 -1
- package/dist/runtime/daimon/training/native/worker/cli.js +0 -17
- package/dist/runtime/daimon/training/native/worker/cli.js.map +0 -1
- package/dist/runtime/daimon/training/native/worker/control.d.ts +0 -20
- package/dist/runtime/daimon/training/native/worker/control.js +0 -266
- package/dist/runtime/daimon/training/native/worker/control.js.map +0 -1
- package/dist/runtime/daimon/training/native/worker/deliveries.d.ts +0 -38
- package/dist/runtime/daimon/training/native/worker/deliveries.js +0 -91
- package/dist/runtime/daimon/training/native/worker/deliveries.js.map +0 -1
- package/dist/runtime/daimon/training/native/worker/evidence/collect.d.ts +0 -54
- package/dist/runtime/daimon/training/native/worker/evidence/collect.js +0 -278
- package/dist/runtime/daimon/training/native/worker/evidence/collect.js.map +0 -1
- package/dist/runtime/daimon/training/native/worker/evidence/execution.d.ts +0 -102
- package/dist/runtime/daimon/training/native/worker/evidence/execution.js +0 -191
- package/dist/runtime/daimon/training/native/worker/evidence/execution.js.map +0 -1
- package/dist/runtime/daimon/training/native/worker/evidence/index.d.ts +0 -3
- package/dist/runtime/daimon/training/native/worker/evidence/index.js +0 -4
- package/dist/runtime/daimon/training/native/worker/evidence/index.js.map +0 -1
- package/dist/runtime/daimon/training/native/worker/evidence/io.d.ts +0 -20
- package/dist/runtime/daimon/training/native/worker/evidence/io.js +0 -130
- package/dist/runtime/daimon/training/native/worker/evidence/io.js.map +0 -1
- package/dist/runtime/daimon/training/native/worker/evidence/seal.d.ts +0 -3
- package/dist/runtime/daimon/training/native/worker/evidence/seal.js +0 -67
- package/dist/runtime/daimon/training/native/worker/evidence/seal.js.map +0 -1
- package/dist/runtime/daimon/training/native/worker/index.d.ts +0 -11
- package/dist/runtime/daimon/training/native/worker/index.js +0 -8
- package/dist/runtime/daimon/training/native/worker/index.js.map +0 -1
- package/dist/runtime/daimon/training/native/worker/profile.d.ts +0 -23
- package/dist/runtime/daimon/training/native/worker/profile.js +0 -149
- package/dist/runtime/daimon/training/native/worker/profile.js.map +0 -1
- package/dist/runtime/daimon/training/native/worker/public.d.ts +0 -53
- package/dist/runtime/daimon/training/native/worker/public.js +0 -22
- package/dist/runtime/daimon/training/native/worker/public.js.map +0 -1
- package/dist/runtime/daimon/training/native/worker/sandbox.d.ts +0 -4
- package/dist/runtime/daimon/training/native/worker/sandbox.js +0 -54
- package/dist/runtime/daimon/training/native/worker/sandbox.js.map +0 -1
- package/dist/runtime/daimon/training/native/worker/server.d.ts +0 -4
- package/dist/runtime/daimon/training/native/worker/server.js +0 -102
- package/dist/runtime/daimon/training/native/worker/server.js.map +0 -1
- package/dist/runtime/daimon/training/native/worker/types.d.ts +0 -318
- package/dist/runtime/daimon/training/native/worker/types.js +0 -2
- package/dist/runtime/daimon/training/native/worker/types.js.map +0 -1
- package/dist/runtime/daimon/training/native/worker/wake-delivery/index.d.ts +0 -4
- package/dist/runtime/daimon/training/native/worker/wake-delivery/index.js +0 -4
- package/dist/runtime/daimon/training/native/worker/wake-delivery/index.js.map +0 -1
- package/dist/runtime/daimon/training/native/worker/wake-delivery/source.d.ts +0 -3
- package/dist/runtime/daimon/training/native/worker/wake-delivery/source.js +0 -16
- package/dist/runtime/daimon/training/native/worker/wake-delivery/source.js.map +0 -1
- package/dist/runtime/daimon/training/native/worker/wake-delivery/terminal.d.ts +0 -4
- package/dist/runtime/daimon/training/native/worker/wake-delivery/terminal.js +0 -52
- package/dist/runtime/daimon/training/native/worker/wake-delivery/terminal.js.map +0 -1
- package/dist/runtime/daimon/training/native/worker/wake-delivery/transport.d.ts +0 -21
- package/dist/runtime/daimon/training/native/worker/wake-delivery/transport.js +0 -198
- package/dist/runtime/daimon/training/native/worker/wake-delivery/transport.js.map +0 -1
- package/dist/runtime/daimon/training/native/worker/wake-delivery/types.d.ts +0 -91
- package/dist/runtime/daimon/training/native/worker/wake-delivery/types.js +0 -2
- package/dist/runtime/daimon/training/native/worker/wake-delivery/types.js.map +0 -1
- package/dist/runtime/daimon/training/native/worker/worker.d.ts +0 -1
- package/dist/runtime/daimon/training/native/worker/worker.js +0 -105
- package/dist/runtime/daimon/training/native/worker/worker.js.map +0 -1
- package/dist/runtime/daimon/training/providers/grok-broker/broker.d.ts +0 -20
- package/dist/runtime/daimon/training/providers/grok-broker/broker.js +0 -55
- package/dist/runtime/daimon/training/providers/grok-broker/broker.js.map +0 -1
- package/dist/runtime/daimon/training/providers/grok-broker/grant-fixtures.d.ts +0 -15
- package/dist/runtime/daimon/training/providers/grok-broker/grant-fixtures.js +0 -29
- package/dist/runtime/daimon/training/providers/grok-broker/grant-fixtures.js.map +0 -1
- package/dist/runtime/daimon/training/providers/grok-broker/grant-home.d.ts +0 -16
- package/dist/runtime/daimon/training/providers/grok-broker/grant-home.js +0 -60
- package/dist/runtime/daimon/training/providers/grok-broker/grant-home.js.map +0 -1
- package/dist/runtime/daimon/training/providers/grok-broker/grant-pool.d.ts +0 -81
- package/dist/runtime/daimon/training/providers/grok-broker/grant-pool.js +0 -221
- package/dist/runtime/daimon/training/providers/grok-broker/grant-pool.js.map +0 -1
- package/dist/runtime/daimon/training/providers/grok-broker/grant-releases.d.ts +0 -31
- package/dist/runtime/daimon/training/providers/grok-broker/grant-releases.js +0 -78
- package/dist/runtime/daimon/training/providers/grok-broker/grant-releases.js.map +0 -1
- package/dist/runtime/daimon/training/providers/grok-broker/grants.d.ts +0 -63
- package/dist/runtime/daimon/training/providers/grok-broker/grants.js +0 -20
- package/dist/runtime/daimon/training/providers/grok-broker/grants.js.map +0 -1
- package/dist/runtime/daimon/training/providers/grok-broker/index.d.ts +0 -3
- package/dist/runtime/daimon/training/providers/grok-broker/index.js +0 -4
- package/dist/runtime/daimon/training/providers/grok-broker/index.js.map +0 -1
- package/dist/runtime/daimon/training/providers/grok-subscription/cli.d.ts +0 -21
- package/dist/runtime/daimon/training/providers/grok-subscription/cli.js +0 -81
- package/dist/runtime/daimon/training/providers/grok-subscription/cli.js.map +0 -1
- package/dist/runtime/daimon/training/providers/grok-subscription/index.d.ts +0 -4
- package/dist/runtime/daimon/training/providers/grok-subscription/index.js +0 -5
- package/dist/runtime/daimon/training/providers/grok-subscription/index.js.map +0 -1
- package/dist/runtime/daimon/training/providers/grok-subscription/protocol.d.ts +0 -26
- package/dist/runtime/daimon/training/providers/grok-subscription/protocol.js +0 -102
- package/dist/runtime/daimon/training/providers/grok-subscription/protocol.js.map +0 -1
- package/dist/runtime/daimon/training/providers/grok-subscription/provider.d.ts +0 -9
- package/dist/runtime/daimon/training/providers/grok-subscription/provider.js +0 -38
- package/dist/runtime/daimon/training/providers/grok-subscription/provider.js.map +0 -1
- package/dist/runtime/daimon/training/public.d.ts +0 -6
- package/dist/runtime/daimon/training/public.js +0 -5
- package/dist/runtime/daimon/training/public.js.map +0 -1
- package/dist/runtime/daimon/training/services/account-lease.d.ts +0 -7
- package/dist/runtime/daimon/training/services/account-lease.js +0 -76
- package/dist/runtime/daimon/training/services/account-lease.js.map +0 -1
- package/dist/runtime/daimon/training/services/freshness.d.ts +0 -15
- package/dist/runtime/daimon/training/services/freshness.js +0 -19
- package/dist/runtime/daimon/training/services/freshness.js.map +0 -1
- package/dist/runtime/daimon/training/services/index.d.ts +0 -4
- package/dist/runtime/daimon/training/services/index.js +0 -4
- package/dist/runtime/daimon/training/services/index.js.map +0 -1
- package/dist/runtime/daimon/training/services/slot-freshness.d.ts +0 -34
- package/dist/runtime/daimon/training/services/slot-freshness.js +0 -178
- package/dist/runtime/daimon/training/services/slot-freshness.js.map +0 -1
- package/dist/runtime/daimon/wakeMoments.js.map +0 -1
- package/dist/runtime/pi/adapter.d.ts +0 -3
- package/dist/runtime/pi/adapter.js +0 -230
- package/dist/runtime/pi/appActivitySource.d.ts +0 -1
- package/dist/runtime/pi/appActivitySource.js +0 -199
- package/dist/runtime/pi/appAgentConfig.d.ts +0 -11
- package/dist/runtime/pi/appAgentConfig.js +0 -264
- package/dist/runtime/pi/appCliEnginesSource.d.ts +0 -1
- package/dist/runtime/pi/appCliEnginesSource.js +0 -183
- package/dist/runtime/pi/appCliSource.d.ts +0 -1
- package/dist/runtime/pi/appCliSource.js +0 -353
- package/dist/runtime/pi/appControlSource.d.ts +0 -1
- package/dist/runtime/pi/appControlSource.js +0 -390
- package/dist/runtime/pi/appControlWakeIdentitySource.d.ts +0 -1
- package/dist/runtime/pi/appControlWakeIdentitySource.js +0 -19
- package/dist/runtime/pi/appCoreSource.d.ts +0 -4
- package/dist/runtime/pi/appCoreSource.js +0 -244
- package/dist/runtime/pi/appPreludeSource.d.ts +0 -1
- package/dist/runtime/pi/appPreludeSource.js +0 -192
- package/dist/runtime/pi/appScheduleSource.d.ts +0 -1
- package/dist/runtime/pi/appScheduleSource.js +0 -84
- package/dist/runtime/pi/appScriptedEngine.d.ts +0 -31
- package/dist/runtime/pi/appScriptedEngine.js +0 -42
- package/dist/runtime/pi/appSource.d.ts +0 -4
- package/dist/runtime/pi/appSource.js +0 -12
- package/dist/runtime/pi/appTemplate.d.ts +0 -14
- package/dist/runtime/pi/appTemplate.js +0 -28
- package/dist/runtime/pi/appTemplateTypes.d.ts +0 -64
- package/dist/runtime/pi/appTemplateTypes.js +0 -18
- package/dist/runtime/pi/appWakeContextSource.d.ts +0 -1
- package/dist/runtime/pi/appWakeContextSource.js +0 -398
- package/dist/runtime/pi/containerTargets.d.ts +0 -4
- package/dist/runtime/pi/containerTargets.js +0 -63
- package/dist/runtime/pi/runAuth.d.ts +0 -2
- package/dist/runtime/pi/runAuth.js +0 -185
- package/dist/runtime/pi/testHelpers.d.ts +0 -2
- package/dist/shared/errors.js.map +0 -1
- package/dist/training/subjects/environment.d.ts +0 -2
- package/dist/training/subjects/environment.js +0 -14
- package/dist/training/subjects/environment.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"judge.js","sourceRoot":"","sources":["../../../../../src/runtime/daimon/training/booted/judge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEzC,OAAO,EAAE,gBAAgB,EAAE,yBAAyB,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACrH,OAAO,EAAE,WAAW,EAAmB,MAAM,cAAc,CAAC;AAU5D,IAAI,KAAsC,CAAC;AAE3C;;;;GAIG;AACH,MAAM,UAAU,gBAAgB,CAAC,QAAyC,IAAU,KAAK,GAAG,QAAQ,CAAC,CAAC,CAAC;AAIvG;;;;GAIG;AACH,MAAM,UAAU,GAAG,iFAAiF,CAAC;AACrG,MAAM,UAAU,GAAG,+FAA+F,CAAC;AAEnH,MAAM,UAAU,sBAAsB,CAAC,UAAkB;IACvD,MAAM,KAAK,GAAG,IAAI,GAAG,EAAU,CAAC;IAChC,KAAK,MAAM,IAAI,IAAI,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC;QAC1C,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE;YAAE,SAAS;QAC3B,IAAI,MAAe,CAAC;QACpB,IAAI,CAAC;YAAC,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QAAC,CAAC;QAAC,MAAM,CAAC;YAAC,KAAK,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;YAAC,SAAS;QAAC,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AC;YACrH,CAAC;YACD,MAAM,KAAK,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;YAC/B,IAAI,CAAC,KAAK;gBAAE,MAAM,IAAI,gBAAgB,CAAC,UAAU,EAAE,GAAG,KAAK,6BAA6B,EAAE,SAAS,CAAC,CAAC;YACrG,IAAI,CAAC;gBACH,yBAAyB,CAAC,KAAK,EAAE,OAAO,CAAC,cAAc,EAAE,OAAO,CAAC,iBAAiB,CAAC,CAAC;YACtF,CAAC;YAAC,MAAM,CAAC;gBACP,MAAM,IAAI,gBAAgB,CAAC,kBAAkB,EAAE,GAAG,KAAK,uCAAuC,EAAE,SAAS,CAAC,CAAC;YAC7G,CAAC;YACD,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,CAAC,KAAK,EAAE,UAAU,EAAE,sBAAsB,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC;QACjG,CAAC;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -1,2 +1,7 @@
|
|
|
1
1
|
import type { SubjectAdapterRegistration } from '../../../training/index.js';
|
|
2
|
+
/**
|
|
3
|
+
* Daimon subjects train only as production-booted trials: `spawnfile train`
|
|
4
|
+
* supplies each run's trial launcher (see `booted/`). The registration exists
|
|
5
|
+
* so the core accepts `--runtime daimon` for planning and dry-run estimates.
|
|
6
|
+
*/
|
|
2
7
|
export declare const daimonTrainingSubject: SubjectAdapterRegistration;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Daimon subjects train only as production-booted trials: `spawnfile train`
|
|
3
|
+
* supplies each run's trial launcher (see `booted/`). The registration exists
|
|
4
|
+
* so the core accepts `--runtime daimon` for planning and dry-run estimates.
|
|
5
|
+
*/
|
|
3
6
|
export const daimonTrainingSubject = {
|
|
4
|
-
create
|
|
5
|
-
|
|
7
|
+
create() {
|
|
8
|
+
throw new Error('Daimon subjects train as production-booted trials; run them through `spawnfile train --auth-profile <name>`');
|
|
9
|
+
},
|
|
6
10
|
};
|
|
7
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/runtime/daimon/training/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/runtime/daimon/training/index.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAA+B;IAC/D,MAAM;QACJ,MAAM,IAAI,KAAK,CAAC,6GAA6G,CAAC,CAAC;IACjI,CAAC;CACF,CAAC"}
|
|
@@ -15,4 +15,3 @@ export const DAIMON_WAKE_MOMENTS = {
|
|
|
15
15
|
export const isDaimonWakeMoments = (value) => value !== null && typeof value === "object" && !Array.isArray(value)
|
|
16
16
|
&& Object.keys(value).length === Object.keys(DAIMON_WAKE_MOMENTS).length
|
|
17
17
|
&& Object.entries(DAIMON_WAKE_MOMENTS).every(([key, expected]) => Object.hasOwn(value, key) && value[key] === expected);
|
|
18
|
-
//# sourceMappingURL=wakeMoments.js.map
|
package/dist/runtime/install.js
CHANGED
|
@@ -71,27 +71,6 @@ const installHints = new Map([
|
|
|
71
71
|
installHint: "Checkout the pinned repo ref and build/install from the repository root."
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
|
-
],
|
|
75
|
-
[
|
|
76
|
-
"pi",
|
|
77
|
-
{
|
|
78
|
-
container_image: {
|
|
79
|
-
ecosystem: "node",
|
|
80
|
-
installHint: "Copy a pinned Pi harness runtime image."
|
|
81
|
-
},
|
|
82
|
-
github_release_archive: {
|
|
83
|
-
ecosystem: "node",
|
|
84
|
-
installHint: "Download a pinned Pi harness release archive."
|
|
85
|
-
},
|
|
86
|
-
npm: {
|
|
87
|
-
ecosystem: "node",
|
|
88
|
-
installHint: "Install pinned Pi SDK dependencies inside the generated runtime app."
|
|
89
|
-
},
|
|
90
|
-
source_repo: {
|
|
91
|
-
ecosystem: "node",
|
|
92
|
-
installHint: "Checkout the pinned Pi repo ref and install from the repository root."
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
74
|
]
|
|
96
75
|
]);
|
|
97
76
|
export const resolveRuntimeInstallSelection = async (runtimeName) => {
|
package/dist/runtime/registry.js
CHANGED
|
@@ -5,12 +5,10 @@ import { z } from "zod";
|
|
|
5
5
|
import { SpawnfileError } from "../shared/index.js";
|
|
6
6
|
import { openClawAdapter } from "./openclaw/adapter.js";
|
|
7
7
|
import { daimonAdapter } from "./daimon/adapter.js";
|
|
8
|
-
import { piAdapter } from "./pi/adapter.js";
|
|
9
8
|
import { picoClawAdapter } from "./picoclaw/adapter.js";
|
|
10
9
|
const runtimeAdapters = new Map([
|
|
11
10
|
[daimonAdapter.name, daimonAdapter],
|
|
12
11
|
[openClawAdapter.name, openClawAdapter],
|
|
13
|
-
[piAdapter.name, piAdapter],
|
|
14
12
|
[picoClawAdapter.name, picoClawAdapter]
|
|
15
13
|
]);
|
|
16
14
|
const runtimeInstallSchema = z.discriminatedUnion("kind", [
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { createClaudeInference } from '../training/index.js';
|
|
2
2
|
import { configureGraderProviders } from '../training/contracts/index.js';
|
|
3
3
|
import { CONTAINED_TEACHER_POLICY, EMPTY_TOOLS_TEACHER_POLICY } from '../shared/trainingLegacy/index.js';
|
|
4
|
-
import {
|
|
5
|
-
import { createGrokInference } from './daimon/training/providers/grok-subscription/index.js';
|
|
4
|
+
import { createBootedJudgeInference } from './daimon/training/booted/index.js';
|
|
6
5
|
export const defaultGrokWindow = { start: '20:30', end: '06:30', timeZone: 'Europe/Berlin' };
|
|
7
6
|
export function grokWindowOpen(now, window = defaultGrokWindow) {
|
|
8
7
|
const minutes = (value) => {
|
|
@@ -37,14 +36,21 @@ const registry = {
|
|
|
37
36
|
} },
|
|
38
37
|
{ id: 'codex', inferenceProviderId: 'codex-subscription', decisionTools: 'contained', teacherPolicy: CONTAINED_TEACHER_POLICY,
|
|
39
38
|
decompositionExtractor: true, atomicExtractor: true, validateAtomicConfig: atomicConfig,
|
|
40
|
-
create: (teacher, timeoutMs) =>
|
|
39
|
+
create: (teacher, timeoutMs) => createBootedJudgeInference({ engine: 'codex', effort: teacher.effort, timeoutMs }) },
|
|
41
40
|
{ id: 'grok', inferenceProviderId: 'grok-subscription', decisionTools: 'disabled', teacherPolicy: EMPTY_TOOLS_TEACHER_POLICY,
|
|
42
41
|
decompositionExtractor: false, atomicExtractor: false, validateAtomicConfig: atomicConfig,
|
|
43
42
|
create(teacher, timeoutMs) {
|
|
44
43
|
const effort = teacher.effort;
|
|
45
44
|
if (effort !== undefined && !['low', 'medium', 'high', 'xhigh'].includes(effort))
|
|
46
45
|
throw new Error('Unsupported Grok teacher effort');
|
|
47
|
-
return
|
|
46
|
+
return createBootedJudgeInference({ engine: 'grok', effort: effort ?? 'medium', timeoutMs });
|
|
47
|
+
} },
|
|
48
|
+
{ id: 'agy', inferenceProviderId: 'agy-subscription', decisionTools: 'disabled', teacherPolicy: EMPTY_TOOLS_TEACHER_POLICY,
|
|
49
|
+
decompositionExtractor: false, atomicExtractor: false, validateAtomicConfig: atomicConfig,
|
|
50
|
+
create(teacher, timeoutMs) {
|
|
51
|
+
if (teacher.effort !== undefined)
|
|
52
|
+
throw new Error('AGY teacher effort is unsupported');
|
|
53
|
+
return createBootedJudgeInference({ engine: 'agy', timeoutMs });
|
|
48
54
|
} },
|
|
49
55
|
],
|
|
50
56
|
council: { requiredProviders: ['codex', 'claude'], requiredMessage: 'Council requires independent codex and claude teachers',
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import type { CliDependencies } from '../training/cli/index.js';
|
|
2
1
|
import type { InferenceProviderRegistry } from '../training/contracts/index.js';
|
|
3
|
-
/**
|
|
4
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Engine-owned descriptors extend the neutral built-ins at host composition.
|
|
4
|
+
* Every subscription engine id names one booted judge engine (`booted/judge.ts`).
|
|
5
|
+
*/
|
|
6
|
+
export declare function createTrainingProviderRegistry(): InferenceProviderRegistry;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { INFERENCE_POLICY_VERSIONS } from '../training/contracts/index.js';
|
|
2
|
-
import { defaultInferenceProviders, DatasetError,
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
import { defaultInferenceProviders, DatasetError, InferenceFailure } from '../training/index.js';
|
|
3
|
+
import { createBootedJudgeInference } from './daimon/training/booted/index.js';
|
|
4
|
+
/** Frozen `grok-broker` catalog: historical YAML and measurement identities keep validating. */
|
|
5
|
+
const grokGrantModels = ['grok-4.6', 'grok-4.5', 'grok-build'];
|
|
6
|
+
const grokGrantReasoningEfforts = ['low', 'medium', 'high'];
|
|
7
7
|
const modelFields = ['provider', 'model', 'endpoint', 'reasoning_effort', 'think', 'keep_alive_seconds', 'max_output_tokens', 'context_window'];
|
|
8
8
|
function fail(path, message) { throw new DatasetError(path, message); }
|
|
9
9
|
function oneOf(value, choices, path) {
|
|
@@ -32,40 +32,37 @@ function validate(model, path, reasoning) {
|
|
|
32
32
|
fail(`${path}.${field}`, 'only supported for ollama');
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
|
-
/**
|
|
36
|
-
|
|
35
|
+
/**
|
|
36
|
+
* Engine-owned descriptors extend the neutral built-ins at host composition.
|
|
37
|
+
* Every subscription engine id names one booted judge engine (`booted/judge.ts`).
|
|
38
|
+
*/
|
|
39
|
+
export function createTrainingProviderRegistry() {
|
|
37
40
|
const codex = {
|
|
38
41
|
policyVersion: INFERENCE_POLICY_VERSIONS['codex-subscription'],
|
|
39
42
|
capabilities: { evaluatorPurposes: ['proposals', 'extraction'], evaluatorBudget: 'requests' },
|
|
40
43
|
validate: (model, path) => validate(model, path, 'none'),
|
|
41
|
-
create: (_model, context) =>
|
|
44
|
+
create: (_model, context) => createBootedJudgeInference({ engine: 'codex', timeoutMs: context.timeoutMs }),
|
|
42
45
|
};
|
|
43
46
|
const grok = {
|
|
44
47
|
policyVersion: INFERENCE_POLICY_VERSIONS['grok-subscription'], capabilities: {},
|
|
45
48
|
incompatibleWith: ['grok-broker'], incompatibilityReason: 'grok-broker routes cannot fall back to a desktop grok-subscription login',
|
|
46
49
|
validate: (model, path) => validate(model, path, 'optional'),
|
|
47
50
|
normalizeIdentity: model => ({ ...model, reasoning_effort: model.reasoning_effort ?? 'medium' }),
|
|
48
|
-
create: (model, context) =>
|
|
51
|
+
create: (model, context) => createBootedJudgeInference({ engine: 'grok', effort: model.reasoning_effort ?? 'medium', timeoutMs: context.timeoutMs }),
|
|
49
52
|
};
|
|
53
|
+
const agy = {
|
|
54
|
+
policyVersion: INFERENCE_POLICY_VERSIONS['agy-subscription'], capabilities: {},
|
|
55
|
+
validate: (model, path) => validate(model, path, 'none'),
|
|
56
|
+
create: (_model, context) => createBootedJudgeInference({ engine: 'agy', timeoutMs: context.timeoutMs }),
|
|
57
|
+
};
|
|
58
|
+
// Broker grants lived in the removed training container; the ID still validates, and calls fail closed.
|
|
50
59
|
const broker = {
|
|
51
60
|
policyVersion: INFERENCE_POLICY_VERSIONS['grok-broker'],
|
|
52
61
|
capabilities: { purposeScoped: true, brokerAdmission: true }, incompatibleWith: ['grok-subscription'],
|
|
53
62
|
incompatibilityReason: 'grok-broker routes cannot fall back to a desktop grok-subscription login',
|
|
54
63
|
validate: (model, path) => validate(model, path, 'required'),
|
|
55
|
-
create(
|
|
56
|
-
|
|
57
|
-
let pool = context.resources.get(key);
|
|
58
|
-
if (!pool) {
|
|
59
|
-
const socket = trainingEnvironment(grokBrokerControlSocketEnv);
|
|
60
|
-
pool = new GrokGrantPool({ id: socket ?? 'unconfigured',
|
|
61
|
-
authority: async () => (await (dependencies.grantAuthority?.() ?? subjectHostInference(dependencies.subjects).grantAuthority(socket))) });
|
|
62
|
-
context.resources.set(key, pool);
|
|
63
|
-
const retained = pool;
|
|
64
|
-
context.onClose(() => retained.close());
|
|
65
|
-
}
|
|
66
|
-
return createGrokBrokerInference({ pool, homeRoot: trainingEnvironment(grokGrantHomeRootEnv) || undefined,
|
|
67
|
-
purpose: context.purpose, timeoutMs: context.timeoutMs, reasoningEffort: model.reasoning_effort });
|
|
68
|
-
},
|
|
64
|
+
create: () => ({ id: 'grok-broker', capabilities: { tools: 'disabled', billing: 'subscription', temperature: false, seed: false },
|
|
65
|
+
generate: async () => { throw new InferenceFailure('unavailable', 'grok-broker grants were removed with the training container; use grok-subscription'); } }),
|
|
69
66
|
};
|
|
70
67
|
return { ...defaultInferenceProviders, brokerAdmissionLabel: 'grok-broker',
|
|
71
68
|
// Registration order preserves the historical authored-provider diagnostic.
|
|
@@ -85,5 +82,5 @@ export function createTrainingProviderRegistry(dependencies = {}) {
|
|
|
85
82
|
}
|
|
86
83
|
defaultInferenceProviders.providers.ollama.validate(model, path);
|
|
87
84
|
},
|
|
88
|
-
} } };
|
|
85
|
+
}, 'agy-subscription': agy } };
|
|
89
86
|
}
|
|
@@ -2,128 +2,7 @@ import { type RuntimeRegistryEntry } from './registry.js';
|
|
|
2
2
|
import type { SubjectAdapterRegistry } from '../training/subjects/index.js';
|
|
3
3
|
import type { CliDependencies } from '../training/cli/index.js';
|
|
4
4
|
import { main as trainingMain } from '../training/cli/index.js';
|
|
5
|
-
import { prepareNative as prepareCoreNative } from '../training/cli/native.js';
|
|
6
|
-
/** codex-exec is a standalone subject, never a compiled Spawnfile runtime. */
|
|
7
5
|
export declare function createTrainingSubjects(entries?: readonly RuntimeRegistryEntry[]): Promise<SubjectAdapterRegistry>;
|
|
8
6
|
export declare function trainingDependencies(dependencies?: CliDependencies): Promise<CliDependencies>;
|
|
9
7
|
/** Shared host/container composition of the runtime-neutral training CLI. */
|
|
10
8
|
export declare function main(...[argv, io, dependencies]: Parameters<typeof trainingMain>): Promise<number>;
|
|
11
|
-
export declare function prepareNative(...[args, io, dependencies, ...rest]: Parameters<typeof prepareCoreNative>): Promise<{
|
|
12
|
-
adapter: import("../training/index.js").SubjectAdapter;
|
|
13
|
-
inference: import("../training/index.js").InferenceProvider | undefined;
|
|
14
|
-
prepareEnvironment: ((paths: Parameters<import("../training/index.js").TrialOptions["prepare"]>[0], signal: AbortSignal, context: import("../training/index.js").NativePreparationContext) => Promise<Omit<Awaited<ReturnType<import("../training/index.js").TrialOptions["prepare"]>>, "instructions">>) | undefined;
|
|
15
|
-
cacheRoots: string[];
|
|
16
|
-
subjectRoot: string | undefined;
|
|
17
|
-
closeInference: () => Promise<void>;
|
|
18
|
-
registry: Readonly<Record<string, import("../training/index.js").RegisteredEvaluator>>;
|
|
19
|
-
evaluation: {
|
|
20
|
-
judges: Record<string, import("../training/index.js").JudgeRoute>;
|
|
21
|
-
graders: Record<string, import("../training/graders/atomic/types.js").AtomicRuntime | import("../training/graders/index.js").GradingRuntime>;
|
|
22
|
-
embeddings: {};
|
|
23
|
-
readText: (path: string) => Promise<string>;
|
|
24
|
-
};
|
|
25
|
-
context: undefined;
|
|
26
|
-
readiness: undefined;
|
|
27
|
-
runtime: string;
|
|
28
|
-
model: string;
|
|
29
|
-
sourceRoot: string;
|
|
30
|
-
out: string;
|
|
31
|
-
candidate: import("../training/index.js").CandidateManifest;
|
|
32
|
-
judges: Record<string, string>;
|
|
33
|
-
datasets: import("./trainingCli.js").CliDatasets;
|
|
34
|
-
citationRepairs: Record<string, 0 | 1>;
|
|
35
|
-
maxTrials: number;
|
|
36
|
-
resources: {
|
|
37
|
-
[k: string]: string;
|
|
38
|
-
};
|
|
39
|
-
} | {
|
|
40
|
-
adapter: import("../training/index.js").SubjectAdapter;
|
|
41
|
-
inference: import("../training/index.js").InferenceProvider | undefined;
|
|
42
|
-
prepareEnvironment: ((paths: Parameters<import("../training/index.js").TrialOptions["prepare"]>[0], signal: AbortSignal, context: import("../training/index.js").NativePreparationContext) => Promise<Omit<Awaited<ReturnType<import("../training/index.js").TrialOptions["prepare"]>>, "instructions">>) | undefined;
|
|
43
|
-
cacheRoots: string[];
|
|
44
|
-
subjectRoot: string | undefined;
|
|
45
|
-
closeInference: () => Promise<void>;
|
|
46
|
-
registry: Readonly<Record<string, import("../training/index.js").RegisteredEvaluator>>;
|
|
47
|
-
evaluation: {
|
|
48
|
-
judges: Record<string, import("../training/index.js").JudgeRoute>;
|
|
49
|
-
graders: Record<string, import("../training/graders/atomic/types.js").AtomicRuntime | import("../training/graders/index.js").GradingRuntime>;
|
|
50
|
-
embeddings: {};
|
|
51
|
-
readText: (path: string) => Promise<string>;
|
|
52
|
-
};
|
|
53
|
-
runtime: string;
|
|
54
|
-
model: string;
|
|
55
|
-
candidate: import("../training/index.js").CandidateManifest;
|
|
56
|
-
judges: Record<string, string>;
|
|
57
|
-
citationRepairs: Record<string, 0 | 1>;
|
|
58
|
-
sourceRoot: string;
|
|
59
|
-
out: string;
|
|
60
|
-
resources: {
|
|
61
|
-
[k: string]: string;
|
|
62
|
-
};
|
|
63
|
-
datasets: import("./trainingCli.js").CliDatasets;
|
|
64
|
-
maxTrials: number;
|
|
65
|
-
context: {
|
|
66
|
-
version: "spawnfile.training-context.v1";
|
|
67
|
-
producer: {
|
|
68
|
-
package: "spawnfile";
|
|
69
|
-
version: string;
|
|
70
|
-
};
|
|
71
|
-
project: {
|
|
72
|
-
root: string;
|
|
73
|
-
manifest: string;
|
|
74
|
-
sourceDigest: string;
|
|
75
|
-
};
|
|
76
|
-
agent: {
|
|
77
|
-
id: string;
|
|
78
|
-
name: string;
|
|
79
|
-
source: string;
|
|
80
|
-
runtime: string;
|
|
81
|
-
engine: string | null;
|
|
82
|
-
model: {
|
|
83
|
-
provider: string;
|
|
84
|
-
name: string;
|
|
85
|
-
authMethod: string;
|
|
86
|
-
} | null;
|
|
87
|
-
};
|
|
88
|
-
sources: {
|
|
89
|
-
sourcePath: string;
|
|
90
|
-
destinationPath: string;
|
|
91
|
-
sha256: string;
|
|
92
|
-
}[];
|
|
93
|
-
documents: {
|
|
94
|
-
sourcePath: string;
|
|
95
|
-
destinationPath: string;
|
|
96
|
-
sha256: string;
|
|
97
|
-
role: string;
|
|
98
|
-
}[];
|
|
99
|
-
skills: {
|
|
100
|
-
sourcePath: string;
|
|
101
|
-
destinationPath: string;
|
|
102
|
-
sha256: string;
|
|
103
|
-
name: string;
|
|
104
|
-
ref: string;
|
|
105
|
-
requiresMcp: string[];
|
|
106
|
-
}[];
|
|
107
|
-
resources: {
|
|
108
|
-
id: string;
|
|
109
|
-
kind: "volume" | "git" | "bundle";
|
|
110
|
-
mount: string;
|
|
111
|
-
mode: "readonly" | "mutable";
|
|
112
|
-
sharing: "per_agent" | "team";
|
|
113
|
-
definitionDigest: string;
|
|
114
|
-
pin: string | null;
|
|
115
|
-
}[];
|
|
116
|
-
requirements: {
|
|
117
|
-
nativeCompilation: true;
|
|
118
|
-
isolatedPreparation: true;
|
|
119
|
-
};
|
|
120
|
-
};
|
|
121
|
-
readiness: {
|
|
122
|
-
runnable: boolean;
|
|
123
|
-
integration: {
|
|
124
|
-
id: string;
|
|
125
|
-
version: string;
|
|
126
|
-
} | null;
|
|
127
|
-
reason: string;
|
|
128
|
-
};
|
|
129
|
-
}>;
|
|
@@ -1,32 +1,21 @@
|
|
|
1
1
|
import { installBuiltinGraderProviders } from './trainingGraderProviders.js';
|
|
2
2
|
import { createTrainingProviderRegistry } from './trainingProviders.js';
|
|
3
|
-
import { createExperimentSlotFreshness } from './daimon/training/services/index.js';
|
|
4
3
|
import { loadRuntimeRegistry } from './registry.js';
|
|
5
|
-
import { createCodexAdapter } from './codex-exec/training/index.js';
|
|
6
4
|
import { main as trainingMain } from '../training/cli/index.js';
|
|
7
|
-
import { prepareNative as prepareCoreNative } from '../training/cli/native.js';
|
|
8
|
-
/** codex-exec is a standalone subject, never a compiled Spawnfile runtime. */
|
|
9
5
|
export async function createTrainingSubjects(entries) {
|
|
10
6
|
const registered = entries ?? await loadRuntimeRegistry();
|
|
11
7
|
const subjects = await Promise.all(registered.flatMap(entry => entry.training
|
|
12
8
|
? [entry.training.subject().then(subject => [entry.name, subject])] : []));
|
|
13
|
-
return Object.freeze(
|
|
14
|
-
...Object.fromEntries(subjects),
|
|
15
|
-
codex: { create: createCodexAdapter },
|
|
16
|
-
});
|
|
9
|
+
return Object.freeze(Object.fromEntries(subjects));
|
|
17
10
|
}
|
|
18
11
|
export async function trainingDependencies(dependencies = {}) {
|
|
19
12
|
installBuiltinGraderProviders();
|
|
20
13
|
const subjects = dependencies.subjects ?? await createTrainingSubjects();
|
|
21
14
|
return { ...dependencies, subjects,
|
|
22
|
-
inferenceProviders: dependencies.inferenceProviders ?? createTrainingProviderRegistry(
|
|
23
|
-
createTrialServices: dependencies.createTrialServices ?? (stateRoot => ({ grokSlots: createExperimentSlotFreshness(stateRoot) })),
|
|
15
|
+
inferenceProviders: dependencies.inferenceProviders ?? createTrainingProviderRegistry(),
|
|
24
16
|
};
|
|
25
17
|
}
|
|
26
18
|
/** Shared host/container composition of the runtime-neutral training CLI. */
|
|
27
19
|
export async function main(...[argv, io, dependencies]) {
|
|
28
20
|
return trainingMain(argv, io, await trainingDependencies(dependencies));
|
|
29
21
|
}
|
|
30
|
-
export async function prepareNative(...[args, io, dependencies, ...rest]) {
|
|
31
|
-
return prepareCoreNative(args, io, await trainingDependencies(dependencies), ...rest);
|
|
32
|
-
}
|
package/dist/runtime/types.d.ts
CHANGED
|
@@ -43,14 +43,7 @@ export interface ContainerTarget {
|
|
|
43
43
|
/** Adapter-owned paths, using the same placeholders as emitted configuration. */
|
|
44
44
|
agentPathsByNodeId?: Record<string, ContainerTargetAgentPaths>;
|
|
45
45
|
configEnvBindings?: RuntimeContainerConfigEnvBinding[];
|
|
46
|
-
/**
|
|
47
|
-
* Optional node id -> resolved engine kind map (currently only populated by
|
|
48
|
-
* `src/runtime/pi/adapter.ts`'s `createContainerTargets`, e.g. `{"agent:
|
|
49
|
-
* eleanor": "scripted"}`). Threaded through `RuntimeTargetPlan` into
|
|
50
|
-
* `ContainerRuntimeInstanceReport.engine_by_node_id` for compile-report
|
|
51
|
-
* disclosure (Piece 5, Slice B) — adapters with no engine concept simply
|
|
52
|
-
* omit it.
|
|
53
|
-
*/
|
|
46
|
+
/** Adapter-resolved engine kinds by node id, carried into the compile report. */
|
|
54
47
|
engineByNodeId?: Record<string, string>;
|
|
55
48
|
envFiles?: ContainerTargetEnvFile[];
|
|
56
49
|
/** Daimon only: each brokered Grok agent's declared model and reasoning effort, which select its pinned worker config. */
|
|
@@ -26,6 +26,8 @@ export interface UsageRequestRecord {
|
|
|
26
26
|
requests: number;
|
|
27
27
|
started_at?: string;
|
|
28
28
|
thread?: string;
|
|
29
|
+
/** Tool-call names the request's response carried; absent when the runtime could not say. */
|
|
30
|
+
tool_calls?: string[];
|
|
29
31
|
total: number;
|
|
30
32
|
turn?: string;
|
|
31
33
|
usage_source?: UsageRequestSource;
|
|
@@ -35,7 +35,8 @@ export const parseUsageRequestLedgerLine = (line) => {
|
|
|
35
35
|
|| (row.ended_at !== undefined && !(text(row.ended_at) && TIMESTAMP.test(row.ended_at)))
|
|
36
36
|
|| (row.usage_source !== undefined && !USAGE_REQUEST_SOURCES.includes(row.usage_source))
|
|
37
37
|
|| (row.turn !== undefined && !(typeof row.turn === "string" && /^[a-f0-9]{64}$/u.test(row.turn)))
|
|
38
|
-
|| (row.reasoning !== undefined && !nonNegative(row.reasoning))
|
|
38
|
+
|| (row.reasoning !== undefined && !nonNegative(row.reasoning))
|
|
39
|
+
|| (row.tool_calls !== undefined && !(Array.isArray(row.tool_calls) && row.tool_calls.every((name) => typeof name === "string"))))
|
|
39
40
|
return null;
|
|
40
41
|
return {
|
|
41
42
|
agent: row.agent, at: row.at, cache_write: row.cache_write, cached_input: row.cached_input,
|
|
@@ -47,6 +48,7 @@ export const parseUsageRequestLedgerLine = (line) => {
|
|
|
47
48
|
...(text(row.model) ? { model: row.model } : {}),
|
|
48
49
|
...(row.reasoning === undefined ? {} : { reasoning: row.reasoning }),
|
|
49
50
|
...(text(row.thread) ? { thread: row.thread } : {}),
|
|
51
|
+
...(row.tool_calls === undefined ? {} : { tool_calls: [...row.tool_calls] }),
|
|
50
52
|
...(row.turn === undefined ? {} : { turn: row.turn }),
|
|
51
53
|
...(row.usage_source === undefined ? {} : { usage_source: row.usage_source })
|
|
52
54
|
};
|
package/dist/shared/errors.js
CHANGED
|
@@ -16,4 +16,3 @@ const USAGE_ERROR_CODES = new Set(["validation_error", "invalid_manifest"]);
|
|
|
16
16
|
* into a process exit code, so every path agrees (see specs/SPEC.md §9.1).
|
|
17
17
|
*/
|
|
18
18
|
export const errorExitCode = (error) => isSpawnfileError(error) && USAGE_ERROR_CODES.has(error.code) ? 2 : 1;
|
|
19
|
-
//# sourceMappingURL=errors.js.map
|
|
@@ -18,6 +18,7 @@ export declare const INFERENCE_POLICY_VERSIONS: Readonly<{
|
|
|
18
18
|
'grok-broker': "paideia.grok-broker-grant-response.v1";
|
|
19
19
|
'claude-subscription': "paideia.claude-attested-response.v3";
|
|
20
20
|
'codex-subscription': "paideia.codex-contained-response.v1";
|
|
21
|
+
'agy-subscription': "spawnfile.agy-booted-judge-response.v1";
|
|
21
22
|
ollama: "paideia.ollama-attested-response.v2";
|
|
22
23
|
}>;
|
|
23
24
|
export declare const LABEL_PROMPT_VERSION = "paideia.grader-label-prompt.v1";
|
|
@@ -18,6 +18,7 @@ export const INFERENCE_POLICY_VERSIONS = Object.freeze({
|
|
|
18
18
|
'grok-broker': 'paideia.grok-broker-grant-response.v1',
|
|
19
19
|
'claude-subscription': 'paideia.claude-attested-response.v3',
|
|
20
20
|
'codex-subscription': 'paideia.codex-contained-response.v1',
|
|
21
|
+
'agy-subscription': 'spawnfile.agy-booted-judge-response.v1',
|
|
21
22
|
ollama: 'paideia.ollama-attested-response.v2',
|
|
22
23
|
});
|
|
23
24
|
export const LABEL_PROMPT_VERSION = 'paideia.grader-label-prompt.v1';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trainingLegacyHashDomains.js","sourceRoot":"","sources":["../../../src/shared/trainingLegacy/trainingLegacyHashDomains.ts"],"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
|
1
1
|
import path from "node:path";
|
|
2
2
|
import { getRuntimeAdapter, RUNTIME_INSTALL_ROOT } from "../runtime/index.js";
|
|
3
3
|
const CONTAINER_ROOTFS_ROOT = "container/rootfs";
|
|
4
|
-
//
|
|
5
|
-
// mutating wake route and its fail-closed gate env/marker.
|
|
4
|
+
// Operator wake route and its fail-closed gate markers.
|
|
6
5
|
const PI_OPERATOR_ROUTE_MARKER = "/spawnfile/agents/";
|
|
7
6
|
const PI_CONTROL_TOKEN_ENV = "SPAWNFILE_PI_CONTROL_TOKEN";
|
|
8
7
|
const PI_FAIL_CLOSED_MARKER = "no operator token configured (";
|
|
@@ -10,9 +9,7 @@ const PI_FAIL_CLOSED_MARKER = "no operator token configured (";
|
|
|
10
9
|
// the compiled entrypoint only when the compile-host process env carried a
|
|
11
10
|
// run id (see src/runtime/common.ts's resolveNoopolisRunId).
|
|
12
11
|
const NOOPOLIS_RUN_ID_MARKER = "NOOPOLIS_RUN_ID=";
|
|
13
|
-
|
|
14
|
-
// (src/runtime/pi/adapter.ts); the daimon adapter is a `{...piAdapter, name: "daimon"}` spread.
|
|
15
|
-
const PI_LIKE_RUNTIMES = new Set(["daimon", "pi"]);
|
|
12
|
+
const PI_LIKE_RUNTIMES = new Set(["daimon"]);
|
|
16
13
|
const LIFECYCLE_KEYS = [
|
|
17
14
|
"lifecycle.instance.coverage",
|
|
18
15
|
"lifecycle.instance.runtime",
|
|
@@ -105,7 +102,7 @@ const collectWakeOperatorObservations = async (instances, outputDirectory, readF
|
|
|
105
102
|
if (!PI_LIKE_RUNTIMES.has(instance.runtime)) {
|
|
106
103
|
observations.push(createObservation({
|
|
107
104
|
key: "lifecycle.wake.operator",
|
|
108
|
-
message: `${instance.id} uses runtime ${instance.runtime}; the B62 operator wake route is
|
|
105
|
+
message: `${instance.id} uses runtime ${instance.runtime}; the B62 operator wake route is Daimon-specific and was not checked`,
|
|
109
106
|
severity: "unknown",
|
|
110
107
|
subject
|
|
111
108
|
}));
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import path from "node:path";
|
|
2
2
|
const CONTAINER_ROOTFS_ROOT = "container/rootfs";
|
|
3
3
|
const MOLTNET_NODE_CONFIG_VERSION = "moltnet.node.v1";
|
|
4
|
-
// src/compiler/moltnetRuntimeConfig.ts:108 — pi/daimon attachments both lower to kind "pi".
|
|
5
|
-
const CONTROL_URL_PATTERN = /^http:\/\/127\.0\.0\.1:\d+\/agents\/[a-z0-9-]+\/wake$/u;
|
|
6
4
|
const WIRING_KEYS = [
|
|
7
5
|
"network.wiring.node_config",
|
|
8
6
|
"network.wiring.control_url",
|
|
@@ -79,21 +77,7 @@ const collectControlUrlObservations = (plans) => {
|
|
|
79
77
|
for (const attachment of plan.parsed?.attachments ?? []) {
|
|
80
78
|
const kind = attachment.runtime?.kind;
|
|
81
79
|
const agentId = typeof attachment.agent?.id === "string" ? attachment.agent.id : "unknown-agent";
|
|
82
|
-
if (kind === "
|
|
83
|
-
const controlUrl = attachment.runtime?.control_url;
|
|
84
|
-
const valid = typeof controlUrl === "string" && CONTROL_URL_PATTERN.test(controlUrl);
|
|
85
|
-
observations.push(createObservation({
|
|
86
|
-
key: "network.wiring.control_url",
|
|
87
|
-
message: valid
|
|
88
|
-
? `${agentId} control_url ${String(controlUrl)} matches the expected loopback wake pattern`
|
|
89
|
-
: typeof controlUrl === "string"
|
|
90
|
-
? `${agentId} control_url "${controlUrl}" does not match the expected loopback wake pattern`
|
|
91
|
-
: `${agentId} pi attachment is missing control_url`,
|
|
92
|
-
severity: valid ? "ok" : "error",
|
|
93
|
-
subject
|
|
94
|
-
}));
|
|
95
|
-
}
|
|
96
|
-
else if (kind === "picoclaw") {
|
|
80
|
+
if (kind === "picoclaw") {
|
|
97
81
|
const configPath = attachment.runtime?.config_path;
|
|
98
82
|
const valid = typeof configPath === "string" && configPath.length > 0;
|
|
99
83
|
observations.push(createObservation({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/training/subjects/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/training/subjects/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC"}
|
package/examples/README.md
CHANGED
|
@@ -32,7 +32,6 @@ product code must not contain fixture-specific behavior.
|
|
|
32
32
|
| `daimon-cli-memory-org` | Codex, Claude, Grok, and Agy CLI engines receiving schedule/dream memory context |
|
|
33
33
|
| `lifecycle-smoke` | Minimal single-agent scripted lifecycle (`up`/`artifacts export`/`down`) receipt smoke |
|
|
34
34
|
| `moltnet-memetics` | Live two-agent Moltnet conversation over real Codex/Grok |
|
|
35
|
-
| `office-sim` | Standalone scripted-engine harness proving the pi adapter's `scripted` engine kind |
|
|
36
35
|
|
|
37
36
|
Executable test-support helpers (cross-process fork fixtures and the trusted
|
|
38
37
|
Moltnet release stager) live under `fixtures/support/`.
|
|
@@ -4,20 +4,17 @@ name: luna-animus
|
|
|
4
4
|
description: "Luna inner archetype (Antigravity CLI engine)"
|
|
5
5
|
|
|
6
6
|
runtime:
|
|
7
|
-
name:
|
|
7
|
+
name: daimon
|
|
8
8
|
options:
|
|
9
|
-
engine:
|
|
9
|
+
engine: codex
|
|
10
10
|
|
|
11
11
|
execution:
|
|
12
12
|
model:
|
|
13
13
|
primary:
|
|
14
|
-
provider:
|
|
15
|
-
name:
|
|
14
|
+
provider: openai
|
|
15
|
+
name: gpt-5.4-mini
|
|
16
16
|
auth:
|
|
17
|
-
method:
|
|
18
|
-
endpoint:
|
|
19
|
-
compatibility: openai
|
|
20
|
-
base_url: http://127.0.0.1:11434/v1
|
|
17
|
+
method: codex
|
|
21
18
|
sandbox:
|
|
22
19
|
mode: workspace
|
|
23
20
|
|