@outerlayer/cli 0.38.0 → 0.38.1-next.20261112144259
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/dist/{agent-setup-G5M536SV.js → agent-setup-OPBTANEX.js} +7 -7
- package/dist/{agent-subcommand-5OHWWBMY.js → agent-subcommand-ELOX2HFU.js} +1 -1
- package/dist/{bridge-GBW5JGSZ.js → bridge-ZOVEWL6N.js} +2 -2
- package/dist/{build-3XIF6N52.js → build-EGYWAKIK.js} +7 -7
- package/dist/{build-disk-2OEVGSEV.js → build-disk-QYJQUHOI.js} +5 -5
- package/dist/build-info.json +1 -1
- package/dist/{builder-SQK6O75D.js → builder-SXDE2GS3.js} +4 -4
- package/dist/{caller-XWPJHKWT.js → caller-AILJZJMY.js} +7 -7
- package/dist/{check-OOAYGWPQ.js → check-UDFYSLLU.js} +37 -37
- package/dist/{chunk-5DNRDCAA.js → chunk-2KVZEPIB.js} +3 -3
- package/dist/{chunk-I7F33SP6.js → chunk-2WAAF5I3.js} +2 -2
- package/dist/{chunk-HTH3J5DW.js → chunk-3ICYSABY.js} +2 -2
- package/dist/{chunk-6DFHX33Y.js → chunk-4DC2D5SC.js} +2 -2
- package/dist/{chunk-4GZC4POQ.js → chunk-4HBEOBRD.js} +2 -2
- package/dist/{chunk-42DEJOGM.js → chunk-4K3HXSC2.js} +1 -1
- package/dist/{chunk-H3SERZ4V.js → chunk-53X5CRYZ.js} +5 -5
- package/dist/{chunk-YMWMS2AM.js → chunk-5ADLHX2J.js} +5 -5
- package/dist/{chunk-5534DFYM.js → chunk-6GA2SOSM.js} +6 -0
- package/dist/{chunk-SJDWP5LQ.js → chunk-6ZVQ6EDJ.js} +3 -3
- package/dist/{chunk-W2ZJEC33.js → chunk-6ZVWELNQ.js} +1 -1
- package/dist/{chunk-ETLEYEOA.js → chunk-7GENMCIA.js} +7 -7
- package/dist/{chunk-QHUYK6MS.js → chunk-7KY3ZJNS.js} +3 -3
- package/dist/{chunk-JWL22QXO.js → chunk-7R3XX6VJ.js} +1 -1
- package/dist/{chunk-G3N6SL2B.js → chunk-7TW74WSZ.js} +5 -5
- package/dist/{chunk-2JJYC4GL.js → chunk-AIDBLUCF.js} +3 -3
- package/dist/{chunk-WBO27MFA.js → chunk-AR54XNZZ.js} +1 -1
- package/dist/{chunk-IEGQUILZ.js → chunk-BK3L7334.js} +1 -1
- package/dist/{chunk-3WXJIFUX.js → chunk-BVHJT6DL.js} +1 -1
- package/dist/{chunk-ZCGMM5A3.js → chunk-CLH2HOAT.js} +1 -1
- package/dist/{chunk-CGQC2T6G.js → chunk-FHCF37R6.js} +5 -5
- package/dist/{chunk-4D2Z6W7L.js → chunk-FX4242RX.js} +3 -3
- package/dist/{chunk-LNHTTNND.js → chunk-GL7S2ZRQ.js} +2 -2
- package/dist/{chunk-SNVOPMVC.js → chunk-IF6FDWWA.js} +2 -2
- package/dist/{chunk-AU46D3NG.js → chunk-IU3KBEOQ.js} +24 -24
- package/dist/{chunk-QVQFDE4S.js → chunk-KAXJVGON.js} +3 -3
- package/dist/{chunk-T374Y7WY.js → chunk-KGWJLMWY.js} +3 -3
- package/dist/{chunk-K2QXND4S.js → chunk-KVN2IBEL.js} +7 -7
- package/dist/{chunk-6YVDKFYQ.js → chunk-MIDL4RTV.js} +1 -1
- package/dist/{chunk-FMU5DI4R.js → chunk-MLGVXWRC.js} +1 -1
- package/dist/{chunk-Q4KY2KAC.js → chunk-MMNGQJRE.js} +3 -3
- package/dist/{chunk-EEN7SMYF.js → chunk-NBIDYRKS.js} +1 -1
- package/dist/{chunk-YIYPL2E6.js → chunk-NFEHK34W.js} +2 -2
- package/dist/{chunk-LRJBLJT7.js → chunk-Q3PD46YE.js} +1 -1
- package/dist/{chunk-NEZ5REVV.js → chunk-QQCU7MNF.js} +1 -1
- package/dist/{chunk-TCFEH77U.js → chunk-R4BLYCWI.js} +32 -19
- package/dist/{chunk-YQISMD7E.js → chunk-R4EQP7RA.js} +2 -2
- package/dist/{chunk-OVITR2WI.js → chunk-R4LTU6ZR.js} +1 -1
- package/dist/{chunk-U3Q26CXW.js → chunk-RZOTU34V.js} +1 -1
- package/dist/{chunk-WT6IBQ7Z.js → chunk-UUJU45BE.js} +1 -1
- package/dist/{chunk-QH2GLH3O.js → chunk-VICAXYZP.js} +2 -2
- package/dist/{chunk-G2DV3EDX.js → chunk-VLIDCYMN.js} +2 -2
- package/dist/{chunk-GIPEBL3P.js → chunk-WGLOCLUA.js} +3 -3
- package/dist/{chunk-ELDOHATX.js → chunk-WLPKWTVV.js} +1 -1
- package/dist/{chunk-Q7LGSDV2.js → chunk-WVNWBBCM.js} +3 -3
- package/dist/{chunk-6TQNYDN7.js → chunk-YNTRINAN.js} +1 -1
- package/dist/{chunk-J3CBXTDT.js → chunk-YRTAVQTX.js} +1 -1
- package/dist/{chunk-625S4A5P.js → chunk-YYA6GEHN.js} +2 -2
- package/dist/{chunk-MGNJG4XT.js → chunk-ZEL75KOE.js} +9 -9
- package/dist/{chunk-TXAGRVRO.js → chunk-ZIS4D2RA.js} +5 -5
- package/dist/{claude-launcher-47FTUBNB.js → claude-launcher-FUMGYNLC.js} +1 -1
- package/dist/{cli-KFQGXRQ6.js → cli-XGGAGHRE.js} +124 -124
- package/dist/{command-ZQS5VONR.js → command-2NR45HUV.js} +32 -32
- package/dist/{config-U2QGX42S.js → config-UUXWLDPS.js} +6 -6
- package/dist/{connect-cmd-5CBJ3QBJ.js → connect-cmd-IUBNXURP.js} +5 -5
- package/dist/{container-start-7QFNPIZP.js → container-start-3RDBQ7EK.js} +30 -30
- package/dist/{context-show-cmd-5DGIO7VP.js → context-show-cmd-GHOKZGN2.js} +6 -6
- package/dist/{control-plane-launch-2FN5ICDR.js → control-plane-launch-MPM4UR52.js} +5 -5
- package/dist/{demo-record-cmd-KQW4RBFQ.js → demo-record-cmd-6JFNK2SW.js} +2 -2
- package/dist/{demo-voice-cmd-SDYJP7RU.js → demo-voice-cmd-OZ6CFTFS.js} +11 -11
- package/dist/{docker-BXR6YIWV.js → docker-XGYJFIDR.js} +4 -4
- package/dist/{doctor-GGNAJFLA.js → doctor-ECBVUDDV.js} +32 -32
- package/dist/{emit-artifact-cmd-YY35HFCD.js → emit-artifact-cmd-V6LL3BXU.js} +10 -10
- package/dist/{emit-criteria-cmd-AF4TBZZI.js → emit-criteria-cmd-TPDZIHAI.js} +7 -7
- package/dist/{emit-demo-cmd-PJXRNZGD.js → emit-demo-cmd-IMWWKJVB.js} +11 -11
- package/dist/{emit-finding-cmd-MG4PQCCJ.js → emit-finding-cmd-LOEKZNO7.js} +7 -7
- package/dist/{emit-result-cmd-DEKTNEZ7.js → emit-result-cmd-NHZTWVXC.js} +9 -9
- package/dist/{emit-step-cmd-ZUCQ7RSI.js → emit-step-cmd-7OQQDICE.js} +7 -7
- package/dist/{exec-client-DM3X2RB7.js → exec-client-5Y5BLBZC.js} +3 -3
- package/dist/{find-unit-56VDIZ5F.js → find-unit-BLZTVIWO.js} +8 -8
- package/dist/{findings-cmd-DFGK2KDO.js → findings-cmd-DQA7AHLB.js} +7 -7
- package/dist/{fleet-readiness-Q3YBDRDX.js → fleet-readiness-LR226QUI.js} +5 -5
- package/dist/{governing-source-AN2YX6EN.js → governing-source-5PBS4R3S.js} +9 -9
- package/dist/{guest-init-XMSQJTEX.js → guest-init-U32VXOOM.js} +4 -4
- package/dist/{hook-fast-BW22D52S.js → hook-fast-XTJ6AYB7.js} +1 -1
- package/dist/{host-checks-ZFX5SFJX.js → host-checks-HZA3P2DD.js} +28 -28
- package/dist/{pending-LIGMFSK7.js → host-key-CZ3VXHSD.js} +3 -3
- package/dist/{image-tag-XGFQGMDL.js → image-tag-PEZBWLGJ.js} +3 -3
- package/dist/index.js +4 -4
- package/dist/{init-4FUFSCYD.js → init-5QXTCJVG.js} +28 -28
- package/dist/{init-55SHW52A.js → init-MWLDA46R.js} +28 -28
- package/dist/{init-agent-DKCSZN7T.js → init-agent-CPECHSZ3.js} +28 -28
- package/dist/{init-cmd-JYBT36J5.js → init-cmd-23HPJPFY.js} +10 -10
- package/dist/{init-update-FNIC6XTK.js → init-update-YHY6G6JJ.js} +8 -8
- package/dist/{install-cmd-S7GLPLGN.js → install-cmd-U2E54B7D.js} +5 -5
- package/dist/{logs-IAZB2LDI.js → logs-XHVFG5DV.js} +2 -2
- package/dist/{loop-K6IXBN2T.js → loop-2BIKVOB2.js} +36 -36
- package/dist/{machine-KJHNBKZ2.js → machine-C6G7U7HM.js} +28 -28
- package/dist/{mcp-serve-cmd-J4G7UF5Y.js → mcp-serve-cmd-RIFEPXQN.js} +4 -4
- package/dist/{paths-B5KAGDE4.js → paths-V3L3V7KL.js} +2 -2
- package/dist/{host-key-ZVUMVEOE.js → pending-KTEPAMGI.js} +3 -3
- package/dist/{pidfile-6XI5PZPC.js → pidfile-Y7M5OWTN.js} +3 -3
- package/dist/{record-PYSKMLIW.js → record-DCVX3LFD.js} +3 -3
- package/dist/{run-cmd-M4FBHHC7.js → run-cmd-KQTTE2YZ.js} +7 -7
- package/dist/{runner-env-52V2APNY.js → runner-env-O7ST6E4U.js} +8 -8
- package/dist/{runner-identity-F4MC2JC4.js → runner-identity-QFX32ZFL.js} +4 -4
- package/dist/{runner-key-BMDKLXS2.js → runner-key-RJJ4QCFN.js} +28 -28
- package/dist/{session-sender-RCSQA6Q6.js → session-sender-JKKJMXO3.js} +10 -10
- package/dist/{spec-cmd-FXLUALYN.js → spec-cmd-TKAQQW3V.js} +8 -8
- package/dist/{state-XYGP7UWS.js → state-7T76RA7T.js} +3 -3
- package/dist/{status-JBZ2NRIE.js → status-5TX3TIVS.js} +28 -28
- package/dist/{sync-cmd-KPKBQPSC.js → sync-cmd-MNXJP27K.js} +9 -9
- package/dist/{update-steps-ZVTFBU4Q.js → update-steps-77ZU36A6.js} +29 -29
- package/dist/{watch-7PUSIJW7.js → watch-V5WSCZOQ.js} +9 -9
- package/dist/{work-claim-cmd-P7QLRPLI.js → work-claim-cmd-6KSRWJ6O.js} +12 -12
- package/dist/{work-cmd-EMRIV62M.js → work-cmd-O5PASZRT.js} +7 -7
- package/dist/{work-comment-cmd-6BDQZBRA.js → work-comment-cmd-RUDEB5CQ.js} +9 -9
- package/dist/{work-demo-cmd-FHCLHCBH.js → work-demo-cmd-U65GIIYN.js} +7 -7
- package/dist/{work-logs-cmd-TARI25WW.js → work-logs-cmd-VGKWQLWT.js} +7 -7
- package/dist/{work-needs-attention-cmd-3EGKIUXR.js → work-needs-attention-cmd-EFKYGJMG.js} +7 -7
- package/dist/{work-no-change-cmd-TR5OSYSS.js → work-no-change-cmd-GPGNJ4GH.js} +7 -7
- package/dist/{work-open-pr-cmd-YWHEB3J5.js → work-open-pr-cmd-SVGMS6ER.js} +8 -8
- package/dist/{work-pr-cmd-XKHZWCIV.js → work-pr-cmd-WDLLMKJL.js} +7 -7
- package/dist/{work-proofs-cmd-ZR3T7I7H.js → work-proofs-cmd-WK7RCKLL.js} +8 -8
- package/dist/{work-proofs-record-QZHRVOJ5.js → work-proofs-record-TCNJYJZP.js} +14 -14
- package/dist/{work-stop-cmd-U2ECHOMS.js → work-stop-cmd-LQZ5KVXC.js} +7 -7
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer-build/SKILL.md +1 -1
- package/skill-pack/maintained/outerlayer-build/references/release.md +1 -1
- package/skill-pack/maintained/outerlayer-build/scripts/criterion-citations.mjs +1 -1
- package/skill-pack/maintained/outerlayer-evidence/SKILL.md +3 -3
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { decideInstalledSwitch } from './chunk-3JVYMD4G.js';
|
|
4
|
-
import { reportFailedStart, fitImageBuildMemory } from './chunk-
|
|
4
|
+
import { reportFailedStart, fitImageBuildMemory } from './chunk-7GENMCIA.js';
|
|
5
5
|
import { fetchVersionMeta, npmVersion, npmSupportsProvenance, fetchTarballDigest, fetchProvenance, installVersion, auditSignatures } from './chunk-E7R2GIAW.js';
|
|
6
|
-
import { writeFleetState } from './chunk-
|
|
7
|
-
import { writePendingUpdate } from './chunk-
|
|
8
|
-
import { renderUpdateSteps } from './chunk-
|
|
9
|
-
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-
|
|
10
|
-
import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-
|
|
11
|
-
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-
|
|
12
|
-
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, itemTag, releaseLease, runIsolation, runCommandOf, claimRun, LEASE_SECONDS, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, restoreSessionIntoSandbox, recordsProofsOnly, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, deliverContainerHooks, provisionSandbox, deliverSandboxHooks, provisionMicroVm, deliverCommitHooks, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, keptCommitsLine, currentSkillCommand, formerSkillProblem, commandLogOffset, startSandboxCommand, MICROVM_COMMAND_DIR, startMicroVmCommand, microVmCommandLine, runCommand, containerCommandExec, execCommandLine, startSender, startHostServices, finishJob, sampleGuest, foldSample, isSandboxTracked, isContainerTracked, isMicroVmTracked, probeSandboxCommand, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, SandboxGoneError, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isIsolatedJob, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, unfinishedJobs, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, vmAlive, filesAreCopied, inSandbox, listItemDisks, usableCpus, hookLimitsFor, AttemptLogBook, microVmOomKills, needsRenew, renewRun, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, sweepSandboxes, keptSandboxIds, parseCpuList, ensureTunnel, keepGhConfigCurrent, restartSender, rejoinSandboxBuild, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, shellQuote, jobRecordsClaim, freeItemDisksUntil, savedStatesDir, readRecords, removeOldestUntil, ensureNetworkReady, ADOPTED_FETCH_RETRY_WINDOW_MS, managedBuildSettingsFor, gitRemoteFor, startServicesFor, installTrust, createLeaseChannel, serveLease, writeGuestGhConfig, deliverJobFiles, inTeardown } from './chunk-
|
|
6
|
+
import { writeFleetState } from './chunk-QQCU7MNF.js';
|
|
7
|
+
import { writePendingUpdate } from './chunk-MLGVXWRC.js';
|
|
8
|
+
import { renderUpdateSteps } from './chunk-6ZVQ6EDJ.js';
|
|
9
|
+
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-RZOTU34V.js';
|
|
10
|
+
import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-KVN2IBEL.js';
|
|
11
|
+
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-BVHJT6DL.js';
|
|
12
|
+
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, itemTag, releaseLease, runIsolation, runCommandOf, claimRun, LEASE_SECONDS, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, restoreSessionIntoSandbox, recordsProofsOnly, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, deliverContainerHooks, provisionSandbox, deliverSandboxHooks, provisionMicroVm, deliverCommitHooks, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, keptCommitsLine, currentSkillCommand, formerSkillProblem, commandLogOffset, startSandboxCommand, MICROVM_COMMAND_DIR, startMicroVmCommand, microVmCommandLine, runCommand, containerCommandExec, execCommandLine, startSender, startHostServices, finishJob, sampleGuest, foldSample, isSandboxTracked, isContainerTracked, isMicroVmTracked, probeSandboxCommand, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, SandboxGoneError, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isIsolatedJob, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, unfinishedJobs, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, vmAlive, filesAreCopied, inSandbox, listItemDisks, usableCpus, hookLimitsFor, AttemptLogBook, microVmOomKills, needsRenew, renewRun, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, sweepSandboxes, keptSandboxIds, parseCpuList, ensureTunnel, keepGhConfigCurrent, restartSender, rejoinSandboxBuild, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, shellQuote, jobRecordsClaim, freeItemDisksUntil, savedStatesDir, readRecords, removeOldestUntil, ensureNetworkReady, ADOPTED_FETCH_RETRY_WINDOW_MS, managedBuildSettingsFor, gitRemoteFor, startServicesFor, installTrust, createLeaseChannel, serveLease, writeGuestGhConfig, deliverJobFiles, inTeardown } from './chunk-R4BLYCWI.js';
|
|
13
13
|
import { RUNNER_PROTOCOL } from './chunk-KVWFAAAQ.js';
|
|
14
|
-
import { RUNNER_RESERVE_BYTES } from './chunk-
|
|
15
|
-
import { RepoFilter } from './chunk-
|
|
14
|
+
import { RUNNER_RESERVE_BYTES } from './chunk-AIDBLUCF.js';
|
|
15
|
+
import { RepoFilter } from './chunk-5ADLHX2J.js';
|
|
16
16
|
import { JOB_STATE_FORMAT, readsJobState, jobStateFormatOf } from './chunk-ZVB57WI6.js';
|
|
17
|
-
import { imageTag, writeUpdateStatus, pullInstruction, tagToPull } from './chunk-
|
|
17
|
+
import { imageTag, writeUpdateStatus, pullInstruction, tagToPull } from './chunk-BK3L7334.js';
|
|
18
18
|
import { isVersion, compareVersions, satisfiesRange } from './chunk-TQMI335S.js';
|
|
19
|
-
import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls, configForJob } from './chunk-
|
|
20
|
-
import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-
|
|
19
|
+
import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls, configForJob } from './chunk-4DC2D5SC.js';
|
|
20
|
+
import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-WLPKWTVV.js';
|
|
21
21
|
import { startTimeOf, isSameProcess } from './chunk-JBJTC3UU.js';
|
|
22
|
-
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-
|
|
23
|
-
import { WorkCommandError, isSignatureRefusal, getJson, postJson, getBytes } from './chunk-
|
|
24
|
-
import { keyRunnerFactory, isBuiltinSandbox, isBuiltinContainer, isBuiltinVm, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, runnerDeliversComments, readOnlyRemoteOf, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS, readOnlyOption } from './chunk-
|
|
25
|
-
import { allocatedBytes, freeBytes, formatBytes } from './chunk-
|
|
26
|
-
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, exceedsDisk, runnerLabelValue, builderName, ensureFailureCount, builderSpec, ensureBuilder, spawnRun } from './chunk-
|
|
27
|
-
import { loadHostKey, ensureHostKey, signerFor } from './chunk-
|
|
28
|
-
import { RUNNER_DIR_MODE, runnerDir, RUNNER_FILE_MODE, buildDir, attemptStamp, jobDir, jobsDir, pidFilePath, storeScopes, imagesDir } from './chunk-
|
|
29
|
-
import { parseClaimIdentity, parseBranchlessRepositories, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf, JOB_MOUNT } from './chunk-
|
|
22
|
+
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-7TW74WSZ.js';
|
|
23
|
+
import { WorkCommandError, isSignatureRefusal, getJson, postJson, getBytes } from './chunk-FHCF37R6.js';
|
|
24
|
+
import { keyRunnerFactory, isBuiltinSandbox, isBuiltinContainer, isBuiltinVm, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, runnerDeliversComments, readOnlyRemoteOf, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS, readOnlyOption } from './chunk-MMNGQJRE.js';
|
|
25
|
+
import { allocatedBytes, freeBytes, formatBytes } from './chunk-3ICYSABY.js';
|
|
26
|
+
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, exceedsDisk, runnerLabelValue, builderName, ensureFailureCount, builderSpec, ensureBuilder, spawnRun } from './chunk-2KVZEPIB.js';
|
|
27
|
+
import { loadHostKey, ensureHostKey, signerFor } from './chunk-R4LTU6ZR.js';
|
|
28
|
+
import { RUNNER_DIR_MODE, runnerDir, RUNNER_FILE_MODE, buildDir, attemptStamp, jobDir, jobsDir, pidFilePath, storeScopes, imagesDir } from './chunk-UUJU45BE.js';
|
|
29
|
+
import { parseClaimIdentity, parseBranchlessRepositories, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf, JOB_MOUNT } from './chunk-6GA2SOSM.js';
|
|
30
30
|
import { jobCredentialProblem, COMMAND_LOST_REASON, takeAgentCredentials, heldAgentCredential, CONTAINER_STOPPED_REASON, currentAgentCredential, fdName } from './chunk-65JZ3G3P.js';
|
|
31
|
-
import { cleanAttachmentName } from './chunk-
|
|
31
|
+
import { cleanAttachmentName } from './chunk-YNTRINAN.js';
|
|
32
32
|
import { jobAgent, jobCommandEnv, runnerAgents } from './chunk-J5Q5SZWN.js';
|
|
33
33
|
import { defaultAgents } from './chunk-XFYHSGOE.js';
|
|
34
34
|
import { resolveVersion } from './chunk-RA3O54FC.js';
|
|
@@ -2574,7 +2574,7 @@ var CLAIM_REFUSAL_CODES = new Set(
|
|
|
2574
2574
|
"pull_request_from_fork pull_request_on_default_branch pull_request_ambiguous pull_request_repository_not_connected repository_not_reachable branch_claimed_elsewhere".split(" ")
|
|
2575
2575
|
);
|
|
2576
2576
|
async function tryClaimAndStart(state, item, queue) {
|
|
2577
|
-
const { postJson: postJson2 } = await import('./work-cmd-
|
|
2577
|
+
const { postJson: postJson2 } = await import('./work-cmd-O5PASZRT.js');
|
|
2578
2578
|
const log = logOf(state);
|
|
2579
2579
|
const hostKey = await loadHostKey(state.config.configPath);
|
|
2580
2580
|
const claim = await retrySend(
|
|
@@ -4127,7 +4127,7 @@ async function startRunner(configPath, deps, startup) {
|
|
|
4127
4127
|
check: update.check ? () => update.check(configPath) : async () => {
|
|
4128
4128
|
const held = runnerAgents(deps.agents).flatMap((agent) => heldAgentCredential(agent.descriptor.id) ?? []);
|
|
4129
4129
|
const env = { ...process.env, ...Object.fromEntries(held.map((credential) => [credential.variable, credential.value])) };
|
|
4130
|
-
return (await import('./check-
|
|
4130
|
+
return (await import('./check-UDFYSLLU.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
|
|
4131
4131
|
},
|
|
4132
4132
|
now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
|
|
4133
4133
|
log
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { resolveCredentials, postBytes, RateLimitedError, postJson, getJson, getBytes } from './chunk-
|
|
3
|
+
import { resolveCredentials, postBytes, RateLimitedError, postJson, getJson, getBytes } from './chunk-FHCF37R6.js';
|
|
4
4
|
import { detectActiveSession } from './chunk-7YS6SFMI.js';
|
|
5
5
|
import { sanitizeTerminal } from './chunk-TDTWNGCO.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { defaultFetch } from './chunk-
|
|
8
|
-
import { logHookError } from './chunk-
|
|
7
|
+
import { defaultFetch } from './chunk-MIDL4RTV.js';
|
|
8
|
+
import { logHookError } from './chunk-YNTRINAN.js';
|
|
9
9
|
import { parseWorkItemEnv } from './chunk-LGJ56FCM.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
11
11
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { launcherPath, pathNotes, writeLauncher, LauncherWriteError } from './chunk-
|
|
4
|
-
import { currentVersion, currentLink, versionDir, execStartLine, isInLayout, packageRootIn, switchCurrent } from './chunk-
|
|
3
|
+
import { launcherPath, pathNotes, writeLauncher, LauncherWriteError } from './chunk-CLH2HOAT.js';
|
|
4
|
+
import { currentVersion, currentLink, versionDir, execStartLine, isInLayout, packageRootIn, switchCurrent } from './chunk-BVHJT6DL.js';
|
|
5
5
|
import { compareVersions } from './chunk-TQMI335S.js';
|
|
6
|
-
import { runnerDir, RUNNER_DIR_MODE } from './chunk-
|
|
6
|
+
import { runnerDir, RUNNER_DIR_MODE } from './chunk-UUJU45BE.js';
|
|
7
7
|
import { lchownSync, lstatSync, realpathSync, readFileSync, mkdirSync, rmSync, cpSync, existsSync, readdirSync } from 'fs';
|
|
8
8
|
import { dirname, sep, join } from 'path';
|
|
9
9
|
import { spawnSync } from 'child_process';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { placeholderQueues, placeholderProblem } from './chunk-
|
|
4
|
-
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-
|
|
5
|
-
import { getJson, WorkCommandError } from './chunk-
|
|
6
|
-
import { isBuiltinVm, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-
|
|
7
|
-
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-
|
|
8
|
-
import { ensureHostKey } from './chunk-
|
|
9
|
-
import { sandboxSettingsFrom } from './chunk-
|
|
3
|
+
import { placeholderQueues, placeholderProblem } from './chunk-R4BLYCWI.js';
|
|
4
|
+
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-AIDBLUCF.js';
|
|
5
|
+
import { getJson, WorkCommandError } from './chunk-FHCF37R6.js';
|
|
6
|
+
import { isBuiltinVm, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-MMNGQJRE.js';
|
|
7
|
+
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-3ICYSABY.js';
|
|
8
|
+
import { ensureHostKey } from './chunk-R4LTU6ZR.js';
|
|
9
|
+
import { sandboxSettingsFrom } from './chunk-6GA2SOSM.js';
|
|
10
10
|
import { BUILD_SLICE_MEMORY_ENV, agentCredentialVariablesSet, agentCredential, parseRunnerEnv } from './chunk-65JZ3G3P.js';
|
|
11
11
|
import { forwardedVariables, credentialAgent, credentialForms, managedKeyName, builderDiskPinned, storeVariables, credentialEnvPath } from './chunk-J5Q5SZWN.js';
|
|
12
12
|
import { defaultAgents } from './chunk-XFYHSGOE.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readCloudConfigStrict, readCloudConfig, cloudConfigPath } from './chunk-HWVMRETT.js';
|
|
4
|
-
import { signRunnerRequest, signerFor } from './chunk-
|
|
4
|
+
import { signRunnerRequest, signerFor } from './chunk-R4LTU6ZR.js';
|
|
5
5
|
import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
6
6
|
import { PLAIN_VERSION, recordCliVersion, removeRecordedVersion } from './chunk-LVELQ635.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
3
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-UUJU45BE.js';
|
|
4
4
|
import { readFileSync, existsSync, rmSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
5
5
|
import { join } from 'path';
|
|
6
6
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-
|
|
4
|
-
import { parseSize } from './chunk-
|
|
5
|
-
import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-
|
|
3
|
+
import { DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-3ICYSABY.js';
|
|
4
|
+
import { parseSize } from './chunk-2KVZEPIB.js';
|
|
5
|
+
import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-6GA2SOSM.js';
|
|
6
6
|
import { builderDiskPinned } from './chunk-J5Q5SZWN.js';
|
|
7
7
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
8
8
|
import { existsSync, statSync, accessSync, constants, readFileSync } from 'fs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { DEFAULT_UNIT_NAME } from './chunk-
|
|
4
|
-
import { RUNNER_FILE_MODE } from './chunk-
|
|
3
|
+
import { DEFAULT_UNIT_NAME } from './chunk-AIDBLUCF.js';
|
|
4
|
+
import { RUNNER_FILE_MODE } from './chunk-UUJU45BE.js';
|
|
5
5
|
import { parseRunnerEnv, withoutCredentialLines } from './chunk-65JZ3G3P.js';
|
|
6
6
|
import { headlessNames, runnerAgentNamed, credentialAgent, orList, credentialShapes, runnerAgents, credentialForms, credentialEnvPath, forwardedVariables } from './chunk-J5Q5SZWN.js';
|
|
7
7
|
import { defaultAgents } from './chunk-XFYHSGOE.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RELAY_PORT, BUILD_HOME } from './chunk-
|
|
3
|
+
import { RELAY_PORT, BUILD_HOME } from './chunk-6GA2SOSM.js';
|
|
4
4
|
import { createServer, connect } from 'net';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir } from './chunk-
|
|
3
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir } from './chunk-UUJU45BE.js';
|
|
4
4
|
import { mkdirSync, writeFileSync, renameSync, existsSync, readFileSync } from 'fs';
|
|
5
5
|
import { dirname, join } from 'path';
|
|
6
6
|
|
|
@@ -4,34 +4,34 @@ import { itemsSentence, criteriaOf, hostItemsOf, loadCitationFinder, testFileMat
|
|
|
4
4
|
import { RUNNER_PROTOCOL } from './chunk-KVWFAAAQ.js';
|
|
5
5
|
import { sha256OfFile, downloadPinned, VoiceDownloadError } from './chunk-2PGI6RDE.js';
|
|
6
6
|
import { zodProblem } from './chunk-I3LTIAOR.js';
|
|
7
|
-
import { hasStoredCredential, storedCredentialVariables, storeAgentCredential, isAgentName, credentialFromStdin } from './chunk-
|
|
7
|
+
import { hasStoredCredential, storedCredentialVariables, storeAgentCredential, isAgentName, credentialFromStdin } from './chunk-NFEHK34W.js';
|
|
8
8
|
import { upgradedStarterText } from './chunk-OHGA3RLF.js';
|
|
9
|
-
import { HELPER_PATH, HELPER_RECORD, DOCKERD_LOG } from './chunk-
|
|
10
|
-
import { writeDockerClientConfig } from './chunk-
|
|
11
|
-
import { senderPidfile } from './chunk-
|
|
12
|
-
import { installScrubContext } from './chunk-
|
|
9
|
+
import { HELPER_PATH, HELPER_RECORD, DOCKERD_LOG } from './chunk-7KY3ZJNS.js';
|
|
10
|
+
import { writeDockerClientConfig } from './chunk-Q3PD46YE.js';
|
|
11
|
+
import { senderPidfile } from './chunk-IF6FDWWA.js';
|
|
12
|
+
import { installScrubContext } from './chunk-5ADLHX2J.js';
|
|
13
13
|
import { readsJobState, READ_JOB_STATE_FORMATS, jobStateFormatOf } from './chunk-ZVB57WI6.js';
|
|
14
|
-
import { runnerImageVersion } from './chunk-
|
|
15
|
-
import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey, configForJob } from './chunk-
|
|
14
|
+
import { runnerImageVersion } from './chunk-BK3L7334.js';
|
|
15
|
+
import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey, configForJob } from './chunk-4DC2D5SC.js';
|
|
16
16
|
import { receiveFiles } from './chunk-NN33FYXG.js';
|
|
17
|
-
import { readDefaultBranchFiles, readDefaultBranchHead, buildRepositoryImage, readRepositoryRecipe, fetchCommit, readBranchHead, diffBetween, prepareImageBuild, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-
|
|
18
|
-
import { FETCHED_DIR, toolsDockerfile, FETCHED_FFMPEG, FETCHED_GH, FETCHED_TINI, FETCHED_HEADLESS_SHELL, FETCHED_PLAYWRIGHT_FFMPEG, FETCHED_VOICE_DIR } from './chunk-
|
|
17
|
+
import { readDefaultBranchFiles, readDefaultBranchHead, buildRepositoryImage, readRepositoryRecipe, fetchCommit, readBranchHead, diffBetween, prepareImageBuild, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-53X5CRYZ.js';
|
|
18
|
+
import { FETCHED_DIR, toolsDockerfile, FETCHED_FFMPEG, FETCHED_GH, FETCHED_TINI, FETCHED_HEADLESS_SHELL, FETCHED_PLAYWRIGHT_FFMPEG, FETCHED_VOICE_DIR } from './chunk-7R3XX6VJ.js';
|
|
19
19
|
import { isSameProcess, startTimeOf } from './chunk-JBJTC3UU.js';
|
|
20
20
|
import { currentCliBuild } from './chunk-OGFGZQA3.js';
|
|
21
|
-
import { vmExecArgs, runExec, execCapture, waitForAgent } from './chunk-
|
|
22
|
-
import { socketPathProblem, vsockLinks, linkVsockSockets, GUEST_CID, LEASE_LINK } from './chunk-
|
|
23
|
-
import { describeCallFailure, shortClaim, retrySend, commandWithShim, logStamp, createRunnerLog, formatDuration, removeKeptContext, formatClock, stageGovernedContext, keptContextTree, removeStagedContext, WORKFLOW_PERMISSION_REASON, refusalCode, SELF_GOVERNED, resolveGoverningSource, prefetchGovernedContext, controlPlaneTokenFailure, keepStagedContext, pinnedSourceOf, shimScript } from './chunk-
|
|
24
|
-
import { postJson, WorkCommandError, isSignatureRefusal, getJson } from './chunk-
|
|
25
|
-
import { isBuiltinContainer, isBuiltinVm, isBuiltinSandbox, keyRunnerFactory, runnerCredentialProblem, builtinKind, readOnlyOption, optionalEgress, egressSummary, DEFAULT_WORKSPACE_KEEP_DAYS, readOnlyRemoteOf, DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SETUP_MINUTES, allowHostProblem, systemClock, emptyEgressCounts, hostAllowed, sandboxTimeLimitMinutes, networkOf, imageBuildOf, sandboxSizeOf, DEFAULT_SAVED_STATE_MAX_BYTES } from './chunk-
|
|
26
|
-
import { formatBytes, volumeBytes, allocatedBytes, DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, freeBytes } from './chunk-
|
|
27
|
-
import { said, NETWORK_HELPER_MEMORY, firstLine, writeJobFile, readJobFile, spawnRun, RUNNER_LABEL, BUILD_LABEL, createDockerHost, builderSpec, childEnvironment, containerExecArgs, readDu, NETWORK_READY_FILE, withAnswerProtocol, JUDGE_TREE, MAX_REPORT_BYTES, runnerLabelValue, parseSize, readJobFileChecked, networkHelperName, prepareRunArgs, containerRunArgs, judgeCommand, JUDGE_DIR, WORKSPACE_LABEL, homeCopyRunArgs, networkHelperRunArgs, JUDGE_MAX_TURNS, JUDGE_ITEMS, answerFileName, hashJudgeProgram, identityScript, identityArgs, parseIdentity, mountableHome, homeCopyScript, homeCopyArgs, COMMAND_DIR, judgeProgramRecord, MAX_ITEMS_BYTES, JUDGE_REPORT, identityRunArgs, SAVED_STATE_LABEL } from './chunk-
|
|
21
|
+
import { vmExecArgs, runExec, execCapture, waitForAgent } from './chunk-NBIDYRKS.js';
|
|
22
|
+
import { socketPathProblem, vsockLinks, linkVsockSockets, GUEST_CID, LEASE_LINK } from './chunk-YRTAVQTX.js';
|
|
23
|
+
import { describeCallFailure, shortClaim, retrySend, commandWithShim, logStamp, createRunnerLog, formatDuration, removeKeptContext, formatClock, stageGovernedContext, keptContextTree, removeStagedContext, WORKFLOW_PERMISSION_REASON, refusalCode, SELF_GOVERNED, resolveGoverningSource, prefetchGovernedContext, controlPlaneTokenFailure, keepStagedContext, pinnedSourceOf, shimScript } from './chunk-7TW74WSZ.js';
|
|
24
|
+
import { postJson, WorkCommandError, isSignatureRefusal, getJson } from './chunk-FHCF37R6.js';
|
|
25
|
+
import { isBuiltinContainer, isBuiltinVm, isBuiltinSandbox, keyRunnerFactory, runnerCredentialProblem, builtinKind, readOnlyOption, optionalEgress, egressSummary, DEFAULT_WORKSPACE_KEEP_DAYS, readOnlyRemoteOf, DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SETUP_MINUTES, allowHostProblem, systemClock, emptyEgressCounts, hostAllowed, sandboxTimeLimitMinutes, networkOf, imageBuildOf, sandboxSizeOf, DEFAULT_SAVED_STATE_MAX_BYTES } from './chunk-MMNGQJRE.js';
|
|
26
|
+
import { formatBytes, volumeBytes, allocatedBytes, DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, freeBytes } from './chunk-3ICYSABY.js';
|
|
27
|
+
import { said, NETWORK_HELPER_MEMORY, firstLine, writeJobFile, readJobFile, spawnRun, RUNNER_LABEL, BUILD_LABEL, createDockerHost, builderSpec, childEnvironment, containerExecArgs, readDu, NETWORK_READY_FILE, withAnswerProtocol, JUDGE_TREE, MAX_REPORT_BYTES, runnerLabelValue, parseSize, readJobFileChecked, networkHelperName, prepareRunArgs, containerRunArgs, judgeCommand, JUDGE_DIR, WORKSPACE_LABEL, homeCopyRunArgs, networkHelperRunArgs, JUDGE_MAX_TURNS, JUDGE_ITEMS, answerFileName, hashJudgeProgram, identityScript, identityArgs, parseIdentity, mountableHome, homeCopyScript, homeCopyArgs, COMMAND_DIR, judgeProgramRecord, MAX_ITEMS_BYTES, JUDGE_REPORT, identityRunArgs, SAVED_STATE_LABEL } from './chunk-2KVZEPIB.js';
|
|
28
28
|
import { universalImagePending, RecipeError, writeSanitizedRecipe, classifyProperties, DOCKER_FEATURE } from './chunk-SNI3A4RH.js';
|
|
29
29
|
import { sanitizeTerminal, planArtifactUpload } from './chunk-TDTWNGCO.js';
|
|
30
30
|
import { sharedSkillNames, skillConflictMessage } from './chunk-Q7OIAAPL.js';
|
|
31
31
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
32
|
-
import { signerFor } from './chunk-
|
|
33
|
-
import { vmAssetsDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, workspacesDir, jobsDir, storeScopes, spoolDir, orgStoreIn, rootfsDir, imagesDir, sessionsDir, builderCacheDiskPath, buildsDir, buildDir, ghConfigDir, runnerDirOfBuild, mirrorDir, orgHomeDir, jobConsolePath, vsockPath, builderConsolePath, rootfsPathFor, diskTemplatesDir, deliveryDir, SHIM_DIR } from './chunk-
|
|
34
|
-
import { BUILD_HOME, repositoriesOf, SandboxError, JOB_MOUNT, heldBuildAuthority, IMAGE_BUNDLES, writeTrustFiles, buildEnvironment, trustEnvironment, CHECKOUT_DIR, parseIsolation, containerLocalAddress, destinationEnvironment, withHooksPath, startBuildServices, headerVariables, authorEnvironment, sharedUserEnvironment, withTunnelRecord, commitIdentityRecord, RELAY_PORT, repositoryPath, lifecycleWorkdir, CHECK_ITEMS_FILE, parseProxied, readBundleScript, applyTrust, STAND_IN, proxyEnvironment, describeSandboxError, dropBuildAuthority, sandboxSettingsFrom, createSandboxClient, hostKeyOf, buildAuthorityFor, checkEnvironment, withMiseVariables, checkoutPath, primaryOf, variablesFor, carried6to4, classifyAddress, EVAL_INPUT_DIR, isMiseVariableAllowed, variableForPath, droppedRequestHeaders, hasDotDotSegment, routeNameOf, toolProxyEnvironment } from './chunk-
|
|
32
|
+
import { signerFor } from './chunk-R4LTU6ZR.js';
|
|
33
|
+
import { vmAssetsDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, workspacesDir, jobsDir, storeScopes, spoolDir, orgStoreIn, rootfsDir, imagesDir, sessionsDir, builderCacheDiskPath, buildsDir, buildDir, ghConfigDir, runnerDirOfBuild, mirrorDir, orgHomeDir, jobConsolePath, vsockPath, builderConsolePath, rootfsPathFor, diskTemplatesDir, deliveryDir, SHIM_DIR } from './chunk-UUJU45BE.js';
|
|
34
|
+
import { BUILD_HOME, repositoriesOf, SandboxError, JOB_MOUNT, heldBuildAuthority, IMAGE_BUNDLES, writeTrustFiles, buildEnvironment, trustEnvironment, CHECKOUT_DIR, parseIsolation, containerLocalAddress, destinationEnvironment, withHooksPath, startBuildServices, headerVariables, authorEnvironment, sharedUserEnvironment, withTunnelRecord, commitIdentityRecord, RELAY_PORT, repositoryPath, lifecycleWorkdir, CHECK_ITEMS_FILE, parseProxied, readBundleScript, applyTrust, STAND_IN, proxyEnvironment, describeSandboxError, dropBuildAuthority, sandboxSettingsFrom, createSandboxClient, hostKeyOf, buildAuthorityFor, checkEnvironment, withMiseVariables, checkoutPath, primaryOf, variablesFor, carried6to4, classifyAddress, EVAL_INPUT_DIR, isMiseVariableAllowed, variableForPath, droppedRequestHeaders, hasDotDotSegment, routeNameOf, toolProxyEnvironment } from './chunk-6GA2SOSM.js';
|
|
35
35
|
import { agentCredential, RUNNER_WORDED_REASONS, UNKNOWN_TRACKING_REASON, UNKNOWN_TRANSPORT_REASON, RELAY_USER, builtInNames, currentAgentCredential, removedAgentCredentialValues, managedAgentCredential, realFdStorePort, MAX_MALFORMED_SESSIONS, MALFORMED_REASON, JOIN_WAIT_MS, MAX_OPEN_STREAMS, STREAM_RESET_RATE, STREAM_RESET_BURST, STREAM_WINDOW, SESSION_WINDOW, targetOfPath, AGENT_CREDENTIAL_MISSING, fdName, RELAY_ID, DOCKER_DESKTOP_REASON } from './chunk-65JZ3G3P.js';
|
|
36
36
|
import { versionAtLeast } from './chunk-SF2TBJBP.js';
|
|
37
37
|
import { jobAgent, firecrackerArch, MICROVM_ARCHES, FIRECRACKER_VERSION, hostHelperPinned, builderDiskPinned, guestAssetsPinned, runnerAgentNamed, credentialForms, orList, credentialShapes, agentCommands, defaultCommandLine, credentialAgent, GUEST_HELPER_SHA256, GUEST_ASSETS_BASE_URL, GUEST_KERNEL_SHA256, JAILER_BINARY_SHA256, FIRECRACKER_BINARY_SHA256, FIRECRACKER_SHA256, GUEST_ASSETS_VERSION, BUILDER_DISK_VERSION, credentialHandOffKey, strippedVariables, runnerAgents, judgeAgent, networkHelperPinned, NETWORK_HELPER_SHA256, universalImagePinned, UNIVERSAL_IMAGE, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, GH_VERSION, TINI_SHA256, TINI_VERSION, HEADLESS_SHELL, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_FFMPEG_BASE_URL, VOICE_PACK_FILES, BUILDER_DISK_SHA256, BUILDER_DISK_BASE_URL, DEFAULT_BASE_IMAGE, agentVersionOf } from './chunk-J5Q5SZWN.js';
|
|
@@ -4466,6 +4466,18 @@ function sandboxSizeFor(config, jobDir) {
|
|
|
4466
4466
|
const sized = sandboxSizeOf({ cpus: limits2.cpus, memory: String(limits2.memoryBytes), disk: String(limits2.diskBytes) });
|
|
4467
4467
|
return sized.ok ? sized : { ok: false, reason: `the factory's ${settings.machine.size} machine does not fit a sandbox: ${sized.field.replace("runner.build.", "its ")} ${sized.problem}` };
|
|
4468
4468
|
}
|
|
4469
|
+
async function sandboxDiskGib(client2, snapshot, wantedGib, log) {
|
|
4470
|
+
let snapshotGib;
|
|
4471
|
+
try {
|
|
4472
|
+
snapshotGib = await client2.snapshotDiskGib(snapshot);
|
|
4473
|
+
} catch (err) {
|
|
4474
|
+
log(`could not read the disk of snapshot ${snapshot}: ${err instanceof SandboxError ? describeSandboxError(err) : describeCallFailure(err)} \xB7 asking for ${wantedGib} GiB`);
|
|
4475
|
+
return wantedGib;
|
|
4476
|
+
}
|
|
4477
|
+
if (snapshotGib === void 0 || snapshotGib <= wantedGib) return wantedGib;
|
|
4478
|
+
log(`snapshot ${snapshot} has a ${snapshotGib} GiB disk, and the build asks for ${wantedGib} GiB \xB7 creating the sandbox with ${snapshotGib} GiB`);
|
|
4479
|
+
return snapshotGib;
|
|
4480
|
+
}
|
|
4469
4481
|
var UNAPPLIED_IN_SANDBOX = ["image", "build", "features"];
|
|
4470
4482
|
function ignoredInSandbox(recipe, docker2) {
|
|
4471
4483
|
const { classification } = recipe;
|
|
@@ -4661,6 +4673,7 @@ async function provisionSandboxOnce(input, itemDiskFailed) {
|
|
|
4661
4673
|
name,
|
|
4662
4674
|
from: own.snapshot,
|
|
4663
4675
|
...sized.size,
|
|
4676
|
+
diskGib: await sandboxDiskGib(sandboxClient, own.snapshot, sized.size.diskGib, (line2) => log.line(`${tag} ${line2}`)),
|
|
4664
4677
|
idleMinutes: own.idleMinutes,
|
|
4665
4678
|
timeLimitMinutes: sandboxTimeLimitMinutes(config.timeLimitMinutes),
|
|
4666
4679
|
network: networkOf(own.allowHosts),
|
|
@@ -3,10 +3,10 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { runEmit } from './chunk-JODWO5R4.js';
|
|
4
4
|
import { addStdioMcpEntryIfAbsent, addDocsMcpEntryIfAbsent, DOCS_MCP_SERVER_NAME } from './chunk-4XRMLN66.js';
|
|
5
5
|
import { installStarterPack } from './chunk-BNXLY7F6.js';
|
|
6
|
-
import { listWithAnd } from './chunk-
|
|
6
|
+
import { listWithAnd } from './chunk-6ZVWELNQ.js';
|
|
7
7
|
import { AGENTS_MD_LAYOUT, mcpFiles, declareAgentsMdLayout, linkAgentSkills, describeSkillsLink, isAgentsMdLayout, holdsTodaysLayoutSources, discoverOuterlayerPaths } from './chunk-KHJYFVSH.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { resolveGitCommonDir, defaultGitRunner } from './chunk-
|
|
9
|
+
import { resolveGitCommonDir, defaultGitRunner } from './chunk-VICAXYZP.js';
|
|
10
10
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
11
11
|
import { linkedAgentsPath } from './chunk-Q5MSPOY4.js';
|
|
12
12
|
import { cloneIsGoverned } from './chunk-YQR6E6OV.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { hostKeyPath, runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
3
|
+
import { hostKeyPath, runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-UUJU45BE.js';
|
|
4
4
|
import { generateKeyPairSync, createPrivateKey, createPublicKey, sign } from 'crypto';
|
|
5
5
|
import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'fs';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
3
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-UUJU45BE.js';
|
|
4
4
|
import { readFileSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
5
5
|
import { join } from 'path';
|
|
6
6
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { RemovedTargetError, removedTargetError } from './chunk-5E4Y2QSJ.js';
|
|
4
4
|
import { removeRetiredSkills } from './chunk-X6GZZW5V.js';
|
|
5
|
-
import { defaultFetch, resolveGatewayCredentials } from './chunk-
|
|
6
|
-
import { withTokenHeader } from './chunk-
|
|
5
|
+
import { defaultFetch, resolveGatewayCredentials } from './chunk-MIDL4RTV.js';
|
|
6
|
+
import { withTokenHeader } from './chunk-6GA2SOSM.js';
|
|
7
7
|
import { appendContextProvenance } from './chunk-545P7JY7.js';
|
|
8
8
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
9
9
|
import { writeDegraded, writeSourceCache, SOURCE_CACHE_TTL_RETRY_MS, writeContextManifest, SOURCE_CACHE_TTL_SUCCESS_MS, readSourceCache, isSourceCacheFresh, clearDegraded } from './chunk-YQR6E6OV.js';
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-C2PZOLN7.js';
|
|
4
4
|
import { detectActiveSession } from './chunk-7YS6SFMI.js';
|
|
5
|
-
import { autoConnect } from './chunk-
|
|
5
|
+
import { autoConnect } from './chunk-YYA6GEHN.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
7
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-MIDL4RTV.js';
|
|
8
8
|
import { launchedItemForSession } from './chunk-LGJ56FCM.js';
|
|
9
9
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
10
10
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { staleBuildRefusal, staleBuildWarning, detectCi } from './chunk-
|
|
3
|
+
import { staleBuildRefusal, staleBuildWarning, detectCi } from './chunk-5ADLHX2J.js';
|
|
4
4
|
import { launchRefusalForSession } from './chunk-C2PZOLN7.js';
|
|
5
5
|
import { detectActiveSession } from './chunk-7YS6SFMI.js';
|
|
6
|
-
import { autoConnect } from './chunk-
|
|
6
|
+
import { autoConnect } from './chunk-YYA6GEHN.js';
|
|
7
7
|
import { readEffectiveArtifactSpoolState, localArtifactIds, isArtifactTombstoned, artifactBlobsDir, appendArtifactRecord, artifactsSpoolPath, findPendingArtifactRecord, sanitizeTerminal, appendArtifactTombstone } from './chunk-TDTWNGCO.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
9
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-MIDL4RTV.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
11
11
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
12
12
|
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-7PZDPISM.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { isSameProcess } from './chunk-JBJTC3UU.js';
|
|
4
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
4
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-UUJU45BE.js';
|
|
5
5
|
import { existsSync, readFileSync, mkdirSync, writeFileSync, rmSync } from 'fs';
|
|
6
6
|
import { dirname } from 'path';
|
|
7
7
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { helperSocketPath } from './chunk-
|
|
4
|
-
import { UNIT_MARKER } from './chunk-
|
|
5
|
-
import { runnerDir } from './chunk-
|
|
3
|
+
import { helperSocketPath } from './chunk-R4BLYCWI.js';
|
|
4
|
+
import { UNIT_MARKER } from './chunk-AIDBLUCF.js';
|
|
5
|
+
import { runnerDir } from './chunk-UUJU45BE.js';
|
|
6
6
|
import { createHash } from 'crypto';
|
|
7
7
|
import { join } from 'path';
|
|
8
8
|
|
|
@@ -882,7 +882,7 @@ async function missingControlPlane(cwd, sessionId, home, env) {
|
|
|
882
882
|
cleanupEarlierCopies(dirs);
|
|
883
883
|
}
|
|
884
884
|
if (!contextPossiblyGoverned(cwd, home)) return void 0;
|
|
885
|
-
const { governanceOf } = await import('./control-plane-launch-
|
|
885
|
+
const { governanceOf } = await import('./control-plane-launch-MPM4UR52.js');
|
|
886
886
|
if (await governanceOf({ cwd, env, home }) !== "governed") return void 0;
|
|
887
887
|
recordMissingContext(dirs, sessionId, home);
|
|
888
888
|
const launcher = `${cliInvocation()} ${LEGACY.legacy.subcommand}`;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-
|
|
3
|
+
import { RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-6GA2SOSM.js';
|
|
4
4
|
import { GATEWAY_SOCKET, GATEWAY_PORT, providerDestinations } from './chunk-65JZ3G3P.js';
|
|
5
5
|
import { defaultAgents } from './chunk-XFYHSGOE.js';
|
|
6
6
|
import { PROVIDERS } from './chunk-7PZDPISM.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { fetchFactories, selectFactory, saveFactoryConnection, autoConnectedLine } from './chunk-
|
|
4
|
-
import { resolveGatewayCredentials } from './chunk-
|
|
3
|
+
import { fetchFactories, selectFactory, saveFactoryConnection, autoConnectedLine } from './chunk-6ZVWELNQ.js';
|
|
4
|
+
import { resolveGatewayCredentials } from './chunk-MIDL4RTV.js';
|
|
5
5
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
6
6
|
import { findGitDirs, readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { checkStarterFiles, contextIsGoverned } from './chunk-OHGA3RLF.js';
|
|
4
|
-
import { resolveCredentials, getJson, WorkCommandError } from './chunk-
|
|
5
|
-
import { fleetCheck, checkBuildSkill, checkSpecSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-
|
|
4
|
+
import { resolveCredentials, getJson, WorkCommandError } from './chunk-FHCF37R6.js';
|
|
5
|
+
import { fleetCheck, checkBuildSkill, checkSpecSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-4K3HXSC2.js';
|
|
6
6
|
import { withInjectedPrograms } from './chunk-R5AJAIY4.js';
|
|
7
|
-
import { isLinkedRepository } from './chunk-
|
|
7
|
+
import { isLinkedRepository } from './chunk-6ZVWELNQ.js';
|
|
8
8
|
import { sanitizeTerminal } from './chunk-TDTWNGCO.js';
|
|
9
9
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
10
10
|
import { checkFormerSkillNames } from './chunk-X6GZZW5V.js';
|
|
11
|
-
import { resolveGatewayCredentials, defaultFetch } from './chunk-
|
|
12
|
-
import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-
|
|
11
|
+
import { resolveGatewayCredentials, defaultFetch } from './chunk-MIDL4RTV.js';
|
|
12
|
+
import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-YNTRINAN.js';
|
|
13
13
|
import { CONTROL_PLANE_DIR_VARIABLE } from './chunk-SF2TBJBP.js';
|
|
14
14
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
15
15
|
import { readStatuslineState, STATE_FRESH_MS } from './chunk-M53UNEO6.js';
|
|
@@ -1052,8 +1052,8 @@ function doctorExitCode(checks) {
|
|
|
1052
1052
|
|
|
1053
1053
|
// src/doctor-report.ts
|
|
1054
1054
|
async function gatherDoctorChecks(options = {}) {
|
|
1055
|
-
const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-
|
|
1056
|
-
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-
|
|
1055
|
+
const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-QYJQUHOI.js');
|
|
1056
|
+
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-UUXWLDPS.js');
|
|
1057
1057
|
const configPath = options.configPath ?? defaultRunnerConfigPath();
|
|
1058
1058
|
const runnerHost = hasRunnerBlock(configPath);
|
|
1059
1059
|
const hooks = (() => {
|
|
@@ -1081,7 +1081,7 @@ async function gatherDoctorChecks(options = {}) {
|
|
|
1081
1081
|
const { runnerVmCheck } = await import('./doctor-53F2PYY7.js');
|
|
1082
1082
|
checks.push(runnerVmCheck(configPath, { lima: realLima(), home: homeFromEnv(), instance: runnerVm.instance }));
|
|
1083
1083
|
} else if (hasRunnerBlock(configPath)) {
|
|
1084
|
-
const { runnerHostChecks } = await import('./doctor-
|
|
1084
|
+
const { runnerHostChecks } = await import('./doctor-ECBVUDDV.js');
|
|
1085
1085
|
const gateway = (() => {
|
|
1086
1086
|
try {
|
|
1087
1087
|
const loaded = loadRunnerConfig(configPath);
|
|
@@ -1109,7 +1109,7 @@ async function gatherDoctorChecks(options = {}) {
|
|
|
1109
1109
|
const service = await (async () => {
|
|
1110
1110
|
const { existsSync: existsSync3 } = await import('fs');
|
|
1111
1111
|
if (process.platform !== "linux" || !existsSync3("/run/systemd/system")) return void 0;
|
|
1112
|
-
const { inspectRunnerService } = await import('./find-unit-
|
|
1112
|
+
const { inspectRunnerService } = await import('./find-unit-BLZTVIWO.js');
|
|
1113
1113
|
return inspectRunnerService(configPath);
|
|
1114
1114
|
})();
|
|
1115
1115
|
checks.push(...await runnerHostChecks({ configPath, hooks, gateway, repos, runner, service }));
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { criteriaOf, loadCitationFinder, testFileMatcher, hostItemsOf, runnerMatcher, NO_VERDICT_REASON } from './chunk-KBWBPZKP.js';
|
|
4
|
-
import { WorkCommandError, resolveCredentials, getJson } from './chunk-
|
|
4
|
+
import { WorkCommandError, resolveCredentials, getJson } from './chunk-FHCF37R6.js';
|
|
5
5
|
import { sanitizeTerminal } from './chunk-TDTWNGCO.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { defaultFetch } from './chunk-
|
|
7
|
+
import { defaultFetch } from './chunk-MIDL4RTV.js';
|
|
8
8
|
import { parseWorkItemEnv } from './chunk-LGJ56FCM.js';
|
|
9
9
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
10
10
|
import { readDeliveryRecord } from './chunk-YQR6E6OV.js';
|
|
@@ -129,14 +129,14 @@ function governingDir(cwd) {
|
|
|
129
129
|
async function testProofMode(cwd) {
|
|
130
130
|
const dir = governingDir(cwd);
|
|
131
131
|
if (dir === void 0) return "any";
|
|
132
|
-
const { testProofIn } = await import('./host-checks-
|
|
132
|
+
const { testProofIn } = await import('./host-checks-HZA3P2DD.js');
|
|
133
133
|
return testProofIn(dir);
|
|
134
134
|
}
|
|
135
135
|
async function judgeCheckName(cwd) {
|
|
136
136
|
const dir = governingDir(cwd);
|
|
137
137
|
if (dir === void 0) return {};
|
|
138
138
|
if (!existsSync(dir)) return { note: `the governed context at ${dir} is not readable` };
|
|
139
|
-
const { checksIn, isJudgeCheck } = await import('./host-checks-
|
|
139
|
+
const { checksIn, isJudgeCheck } = await import('./host-checks-HZA3P2DD.js');
|
|
140
140
|
const quiet = { line: () => void 0, error: () => void 0 };
|
|
141
141
|
const check = checksIn(dir, quiet, "").checks.find((c) => isJudgeCheck(c) && c.judge.subjects === "criteria");
|
|
142
142
|
return check === void 0 ? {} : { name: check.name };
|
|
@@ -372,7 +372,7 @@ async function runWorkProofs(opts) {
|
|
|
372
372
|
async function runWorkProofsCommand(opts) {
|
|
373
373
|
try {
|
|
374
374
|
if (opts.record || opts.check) {
|
|
375
|
-
const { runWorkProofsRecord } = await import('./work-proofs-record-
|
|
375
|
+
const { runWorkProofsRecord } = await import('./work-proofs-record-TCNJYJZP.js');
|
|
376
376
|
const result2 = await runWorkProofsRecord(opts);
|
|
377
377
|
process.exitCode = result2.exitCode;
|
|
378
378
|
return;
|
|
@@ -325,7 +325,7 @@ async function runAgentLauncher(agentId, args, deps = {}) {
|
|
|
325
325
|
return 1;
|
|
326
326
|
}
|
|
327
327
|
} else {
|
|
328
|
-
const { resolveLaunchPlane } = await import('./control-plane-launch-
|
|
328
|
+
const { resolveLaunchPlane } = await import('./control-plane-launch-MPM4UR52.js');
|
|
329
329
|
const plane = env[GOVERNANCE_VARIABLE] === "self" ? { kind: "none" } : await resolveLaunchPlane({ cwd, env, home, fetchImpl: deps.fetchImpl, stderr });
|
|
330
330
|
if (plane.kind === "none") {
|
|
331
331
|
const own2 = ownSkillsDirFor(prefix, cwd, home, /* @__PURE__ */ new Set(), stderr);
|