@outerlayer/cli 0.40.0-next.20261116212619 → 0.40.0-next.20261116222734
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-C4SP76RQ.js → agent-setup-ITG2WLQK.js} +7 -7
- package/dist/{agent-subcommand-RIHIZDJL.js → agent-subcommand-T4M5PE5I.js} +1 -1
- package/dist/{bridge-LUFXLKB3.js → bridge-AUDVCIXF.js} +2 -2
- package/dist/{build-IOMZSFXX.js → build-63TJO4RL.js} +7 -7
- package/dist/{build-disk-GDBXPKVU.js → build-disk-ZGHQ6OLM.js} +5 -5
- package/dist/build-info.json +1 -1
- package/dist/{builder-FZCJZRB5.js → builder-CA34F56P.js} +4 -4
- package/dist/{caller-CRTXYQS6.js → caller-MVRKFUPB.js} +7 -7
- package/dist/{check-XAP6HCDV.js → check-WLMKHMCL.js} +41 -39
- package/dist/{chunk-7CBNPW6A.js → chunk-27RFAEUO.js} +10 -10
- package/dist/{chunk-MDWAL6FD.js → chunk-35MTVD6X.js} +1 -1
- package/dist/{chunk-BQUUKECC.js → chunk-3EK3YMRS.js} +5 -5
- package/dist/{chunk-DIF5NMRF.js → chunk-3UK6W752.js} +1 -1
- package/dist/{chunk-2EDRIMMQ.js → chunk-3XGZLUEU.js} +14 -8
- package/dist/{chunk-SCG7JYAQ.js → chunk-4OGHZ2PG.js} +3 -3
- package/dist/{chunk-6QK75VD2.js → chunk-5CJHLY2E.js} +3 -3
- package/dist/{chunk-WTX57JCA.js → chunk-5QF3CFE3.js} +2 -2
- package/dist/{chunk-PM3PXJGE.js → chunk-6YKJ2RKQ.js} +1 -1
- package/dist/{chunk-SQTRQ7FW.js → chunk-ARQEDDVJ.js} +2 -2
- package/dist/{chunk-Y3RV5MQ5.js → chunk-AUCEBDHF.js} +5 -5
- package/dist/{chunk-EZHWM7GN.js → chunk-AXDEXXW7.js} +72 -41
- package/dist/{chunk-5IDATPRL.js → chunk-BDB3DZ7X.js} +1 -1
- package/dist/{chunk-6UFFSMQG.js → chunk-BGMIZJII.js} +2 -2
- package/dist/{chunk-7DM2GBSI.js → chunk-BGRPYWUU.js} +1 -1
- package/dist/{chunk-ALJMNIHW.js → chunk-BPAVTBGG.js} +1 -1
- package/dist/{chunk-ECTZGGQK.js → chunk-D3IU5TVW.js} +4 -4
- package/dist/{chunk-VEA3VSYK.js → chunk-DFAXUIG6.js} +1 -1
- package/dist/{chunk-BXDQFZAO.js → chunk-DS7GC2JB.js} +1 -1
- package/dist/{chunk-7VW73CPS.js → chunk-ENVJDHAN.js} +1 -1
- package/dist/{chunk-GPROFAKS.js → chunk-EU4BCIV5.js} +3 -3
- package/dist/{chunk-P27TZI3C.js → chunk-EXRGYNAG.js} +2 -2
- package/dist/{chunk-3DUYDFZS.js → chunk-F7YGXLOV.js} +5 -5
- package/dist/{chunk-SGVQ25MY.js → chunk-H2SUWKUA.js} +3 -3
- package/dist/{chunk-CNFP7ZXP.js → chunk-HR2GYDDL.js} +2 -2
- package/dist/{chunk-C2ZGJRMQ.js → chunk-IX2ELMBR.js} +1 -1
- package/dist/{chunk-AEGLAS4Y.js → chunk-JS2AM7BN.js} +1 -1
- package/dist/{chunk-DXFE3GY5.js → chunk-JUZYSHHA.js} +2 -2
- package/dist/{chunk-PGF36SYX.js → chunk-K6BIAGPB.js} +2 -2
- package/dist/{chunk-AFSJ4GHZ.js → chunk-KFUCIJF7.js} +1 -1
- package/dist/{chunk-NIHE7WJ6.js → chunk-KN7XHG74.js} +1 -1
- package/dist/{chunk-TVSEBOHW.js → chunk-NOHI3MBC.js} +2 -2
- package/dist/{chunk-Z5PJYTDX.js → chunk-NUJE7OQ6.js} +7 -10
- package/dist/{chunk-ZOUXFTGZ.js → chunk-O6OWUZ3V.js} +2 -2
- package/dist/{chunk-S6EOMJPK.js → chunk-OXI2EYW2.js} +7 -7
- package/dist/{chunk-DGGAQMSV.js → chunk-QNIUSZLK.js} +1 -1
- package/dist/{chunk-MP4PWSAP.js → chunk-R6KZTHIW.js} +2 -2
- package/dist/{chunk-BKN5HQCX.js → chunk-RSD4TQOD.js} +3 -3
- package/dist/{chunk-T26E7YR6.js → chunk-SAMELQW5.js} +2 -2
- package/dist/{chunk-F5DIRRMG.js → chunk-SU6GA65D.js} +1 -1
- package/dist/{chunk-2TOYDBQE.js → chunk-THAESND6.js} +1 -1
- package/dist/{chunk-EHF2UWZC.js → chunk-TU4PQ4CD.js} +1 -1
- package/dist/{chunk-MEB2YICZ.js → chunk-UQD76TOU.js} +3 -3
- package/dist/{chunk-NFFFLKX4.js → chunk-V7ENVZZR.js} +3 -3
- package/dist/{chunk-FVTNWJPF.js → chunk-VAXBKKG4.js} +3 -3
- package/dist/{chunk-KJCEJOJI.js → chunk-VJWRB7BK.js} +1 -1
- package/dist/{chunk-5DVAYNM5.js → chunk-VLA3DLFW.js} +2 -2
- package/dist/{chunk-UTZWCNFV.js → chunk-VPD2TY6U.js} +3 -2
- package/dist/{chunk-XYJHIH4N.js → chunk-W4QHG6VM.js} +1 -1
- package/dist/{chunk-QL5LCZBO.js → chunk-WD23Q7ML.js} +27 -27
- package/dist/{chunk-2QG2WHQI.js → chunk-XB46SR6E.js} +3 -3
- package/dist/{chunk-4OLHKE6K.js → chunk-YRF7F2TQ.js} +2 -2
- package/dist/{chunk-D5RXED56.js → chunk-Z5BXBH6M.js} +6 -6
- package/dist/{chunk-LIJQWC67.js → chunk-ZZTHYE3Q.js} +3 -3
- package/dist/{claude-launcher-6JBILMIB.js → claude-launcher-WFYFNHUQ.js} +1 -1
- package/dist/{cli-P6D6V32C.js → cli-YT6KBDV3.js} +136 -136
- package/dist/{command-YAQT6PDZ.js → command-4AEE7LZV.js} +34 -34
- package/dist/{config-WQJ4G4RX.js → config-AOOU7S5D.js} +6 -6
- package/dist/{connect-cmd-DLQVEKAR.js → connect-cmd-E3M2RQB5.js} +5 -5
- package/dist/{container-start-OLNAXXIY.js → container-start-2YFB7N2U.js} +31 -31
- package/dist/{context-show-cmd-WHX2TVDI.js → context-show-cmd-H45BCDZO.js} +6 -6
- package/dist/{control-plane-launch-FC2CG2WV.js → control-plane-launch-6FHKEZIQ.js} +5 -5
- package/dist/{demo-record-cmd-TAX3IVEZ.js → demo-record-cmd-7GYNIICA.js} +2 -2
- package/dist/{demo-voice-cmd-UZ5REOVQ.js → demo-voice-cmd-2NGBXD6Y.js} +11 -11
- package/dist/{docker-K3AROT4N.js → docker-M4TE7I2E.js} +4 -4
- package/dist/{doctor-ELHDWI23.js → doctor-B3H3ZEL4.js} +35 -35
- package/dist/{emit-artifact-cmd-QKOYWMHX.js → emit-artifact-cmd-UHQG2FQS.js} +10 -10
- package/dist/{emit-criteria-cmd-UOCPNUZ2.js → emit-criteria-cmd-ETJPON5K.js} +7 -7
- package/dist/{emit-demo-cmd-7ZP44OBX.js → emit-demo-cmd-IPK53FHD.js} +11 -11
- package/dist/{emit-finding-cmd-YNET3JQC.js → emit-finding-cmd-DL6E6AQL.js} +7 -7
- package/dist/{emit-result-cmd-YN4UVIR7.js → emit-result-cmd-ILPPSI3K.js} +9 -9
- package/dist/{emit-step-cmd-O67GTOGF.js → emit-step-cmd-CMB56E3C.js} +7 -7
- package/dist/{exec-client-NCY4LVTP.js → exec-client-XTXZSGIK.js} +3 -3
- package/dist/{find-unit-AN4NVRPI.js → find-unit-HWDRJ75M.js} +8 -8
- package/dist/{findings-cmd-RVZTJ7F4.js → findings-cmd-C2D4QIYY.js} +7 -7
- package/dist/{fleet-readiness-XACYKJYF.js → fleet-readiness-UPQAAMPP.js} +5 -5
- package/dist/{governing-source-HD6Z5APA.js → governing-source-4UMCWAEA.js} +9 -9
- package/dist/{guest-init-VATBVGYG.js → guest-init-OGZDDA45.js} +4 -4
- package/dist/{hook-fast-IBQM3XCM.js → hook-fast-XCGO72FK.js} +1 -1
- package/dist/{host-checks-RYP4O2UZ.js → host-checks-2RGIXCFD.js} +29 -29
- package/dist/{pending-75AP4OWO.js → host-key-UYIZS52D.js} +3 -3
- package/dist/{image-tag-ZQDFHNOV.js → image-tag-TG7HRWDA.js} +3 -3
- package/dist/index.js +4 -4
- package/dist/{init-CWT6EH5O.js → init-BPYRQ2ZW.js} +29 -29
- package/dist/{init-WIPXHMMD.js → init-N4KXWTN7.js} +29 -29
- package/dist/{init-agent-O6I7H3YM.js → init-agent-H6CRATMS.js} +29 -29
- package/dist/{init-cmd-7QCIXIVX.js → init-cmd-QSWFPSGC.js} +11 -11
- package/dist/{init-update-Q35POT3A.js → init-update-BJN7CPRA.js} +8 -8
- package/dist/{install-cmd-K5XY4AIM.js → install-cmd-UJCTAZW5.js} +9 -9
- package/dist/{launch-agent-CAM7STGX.js → launch-agent-6PFFYQQQ.js} +9 -9
- package/dist/{logs-IDRVZ6GR.js → logs-TBIGZPKG.js} +2 -2
- package/dist/{loop-FK6QMKHB.js → loop-UW2AVKUY.js} +37 -37
- package/dist/{machine-ZAZCD7GG.js → machine-N3PCQXIZ.js} +29 -29
- package/dist/{mcp-serve-cmd-CTLLRVD7.js → mcp-serve-cmd-Z3GKR5MP.js} +4 -4
- package/dist/{paths-JQDBTC6Z.js → paths-GRJGT5AP.js} +2 -2
- package/dist/{host-key-DLFYQJXS.js → pending-YVKVMPAW.js} +3 -3
- package/dist/{pidfile-4KKLC5XX.js → pidfile-2KPDN5A6.js} +3 -3
- package/dist/{record-OG5XJVNK.js → record-Y2T2OEET.js} +3 -3
- package/dist/{run-cmd-DSAEOZLM.js → run-cmd-VHTEX3XS.js} +7 -7
- package/dist/{runner-env-SXG27CAD.js → runner-env-JVFGDYQJ.js} +8 -8
- package/dist/{runner-identity-MUO7ZRHD.js → runner-identity-5NE5577P.js} +4 -4
- package/dist/{runner-key-47XOJPYF.js → runner-key-CHVGBBF6.js} +29 -29
- package/dist/{session-sender-YJ7PMFFN.js → session-sender-5KIOBYZM.js} +10 -10
- package/dist/{setup-cmd-O4ECRHWY.js → setup-cmd-67VCWV63.js} +6 -6
- package/dist/{setup-wiring-GAOFBVEA.js → setup-wiring-UABJKAG2.js} +33 -33
- package/dist/{spec-cmd-J4RE3CFL.js → spec-cmd-6XK7JVGC.js} +8 -8
- package/dist/{state-HEF6DI57.js → state-6UA4AE4Q.js} +3 -3
- package/dist/{status-GVCAMV7E.js → status-AWDOSN4J.js} +29 -29
- package/dist/{sync-cmd-UR5TLWPA.js → sync-cmd-65JX5EJ4.js} +9 -9
- package/dist/{update-steps-7O5EHBP6.js → update-steps-5GB4G27J.js} +30 -30
- package/dist/{watch-7AEKFGS5.js → watch-L7IVSO5D.js} +9 -9
- package/dist/{work-claim-cmd-DJXE5XDE.js → work-claim-cmd-77RLQXAT.js} +13 -13
- package/dist/{work-cmd-3VJ5KDBD.js → work-cmd-UTP5PXOP.js} +7 -7
- package/dist/{work-comment-cmd-QY5D67HL.js → work-comment-cmd-45BYGZ7Z.js} +9 -9
- package/dist/{work-demo-cmd-W6W72AJX.js → work-demo-cmd-NDJC3HEO.js} +7 -7
- package/dist/{work-logs-cmd-RFF4ML42.js → work-logs-cmd-XGYISYHV.js} +7 -7
- package/dist/{work-mock-cmd-W63YXVNS.js → work-mock-cmd-2E4B2ACI.js} +7 -7
- package/dist/{work-needs-attention-cmd-74OQFI7Y.js → work-needs-attention-cmd-G7ILFISE.js} +7 -7
- package/dist/{work-no-change-cmd-ORWRB5A3.js → work-no-change-cmd-7SW5ZEGP.js} +7 -7
- package/dist/{work-open-pr-cmd-5ZDGLQWY.js → work-open-pr-cmd-XOFSHSP2.js} +8 -8
- package/dist/{work-pr-cmd-4RQHDMGM.js → work-pr-cmd-WYQOLDP4.js} +7 -7
- package/dist/{work-proofs-cmd-SPO6NUGT.js → work-proofs-cmd-EKDMBBAJ.js} +8 -8
- package/dist/{work-proofs-record-VLDSZSAT.js → work-proofs-record-ARWWRX2W.js} +14 -14
- package/dist/{work-stop-cmd-QEQU2RWH.js → work-stop-cmd-KME3DAW2.js} +7 -7
- package/package.json +1 -1
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RUNNER_PROTOCOL } from './chunk-
|
|
3
|
+
import { RUNNER_PROTOCOL } from './chunk-6YKJ2RKQ.js';
|
|
4
4
|
import { MAX_TEST_FILE_BYTES, itemsSentence, criteriaOf, hostItemsOf, loadCitationFinder, testFileMatcher, planCriteria, wholeItems, judgeGroups, failedItems, inCriteriaOrder, testsByCriterion, oneLineReason, criterionInputs, parseJudgeAnswer, judgedItems } from './chunk-46D7LPS3.js';
|
|
5
5
|
import { zodProblem } from './chunk-I3LTIAOR.js';
|
|
6
6
|
import { sha256OfFile, downloadPinned, VoiceDownloadError } from './chunk-2PGI6RDE.js';
|
|
7
|
-
import { hasStoredCredential, storedCredentialVariables, storeAgentCredential, isAgentName, credentialFromStdin } from './chunk-
|
|
7
|
+
import { hasStoredCredential, storedCredentialVariables, storeAgentCredential, isAgentName, credentialFromStdin } from './chunk-VLA3DLFW.js';
|
|
8
8
|
import { upgradedStarterText } from './chunk-UU3A53VB.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-VAXBKKG4.js';
|
|
10
|
+
import { writeDockerClientConfig } from './chunk-35MTVD6X.js';
|
|
11
|
+
import { senderPidfile } from './chunk-K6BIAGPB.js';
|
|
12
|
+
import { installScrubContext } from './chunk-F7YGXLOV.js';
|
|
13
13
|
import { readsJobState, READ_JOB_STATE_FORMATS, jobStateFormatOf } from './chunk-B4XB5QFD.js';
|
|
14
|
-
import { runnerImageVersion } from './chunk-
|
|
15
|
-
import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey, configForJob } from './chunk-
|
|
14
|
+
import { runnerImageVersion } from './chunk-3UK6W752.js';
|
|
15
|
+
import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey, configForJob } from './chunk-EXRGYNAG.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-3EK3YMRS.js';
|
|
18
|
+
import { FETCHED_DIR, toolsDockerfile, FETCHED_FFMPEG, FETCHED_GH, FETCHED_TINI, FETCHED_HEADLESS_SHELL, FETCHED_PLAYWRIGHT_FFMPEG, FETCHED_VOICE_DIR } from './chunk-BDB3DZ7X.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, getJson, WorkCommandError, isSignatureRefusal } from './chunk-
|
|
25
|
-
import { keyRunnerFactory, runnerCredentialProblem, builtinKind, readOnlyOption, optionalEgress, readsOnly, isBuiltinContainer, isBuiltinVm, isBuiltinSandbox, egressSummary, DEFAULT_WORKSPACE_KEEP_DAYS, readOnlyRemoteOf, DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SETUP_MINUTES, allowHostProblem, systemClock, emptyEgressCounts, hostAllowed, sandboxTimeLimitMinutes, networkOf, imageBuildOf, machineSizeOf, 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, JUDGE_DIR, JUDGE_ITEMS, answerFileName, hashJudgeProgram, NETWORK_READY_FILE, MAX_ITEMS_BYTES, MAX_REPORT_BYTES, JUDGE_REPORT, withAnswerProtocol, JUDGE_TREE, runnerLabelValue, parseSize, readJobFileChecked, networkHelperName, prepareRunArgs, containerRunArgs, judgeCommand, WORKSPACE_LABEL, homeCopyRunArgs, networkHelperRunArgs, JUDGE_MAX_TURNS, identityScript, identityArgs, parseIdentity, mountableHome, homeCopyScript, homeCopyArgs, COMMAND_DIR, judgeProgramRecord, identityRunArgs, SAVED_STATE_LABEL } from './chunk-
|
|
21
|
+
import { vmExecArgs, runExec, execCapture, waitForAgent } from './chunk-TU4PQ4CD.js';
|
|
22
|
+
import { socketPathProblem, vsockLinks, linkVsockSockets, GUEST_CID, LEASE_LINK } from './chunk-THAESND6.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-Z5BXBH6M.js';
|
|
24
|
+
import { postJson, getJson, WorkCommandError, isSignatureRefusal } from './chunk-3XGZLUEU.js';
|
|
25
|
+
import { keyRunnerFactory, runnerCredentialProblem, builtinKind, readOnlyOption, optionalEgress, readsOnly, isBuiltinContainer, isBuiltinVm, isBuiltinSandbox, egressSummary, DEFAULT_WORKSPACE_KEEP_DAYS, readOnlyRemoteOf, DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SETUP_MINUTES, allowHostProblem, systemClock, emptyEgressCounts, hostAllowed, sandboxTimeLimitMinutes, networkOf, imageBuildOf, machineSizeOf, sandboxSizeOf, DEFAULT_SAVED_STATE_MAX_BYTES } from './chunk-H2SUWKUA.js';
|
|
26
|
+
import { formatBytes, volumeBytes, allocatedBytes, DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, freeBytes } from './chunk-5QF3CFE3.js';
|
|
27
|
+
import { said, NETWORK_HELPER_MEMORY, firstLine, writeJobFile, readJobFile, spawnRun, RUNNER_LABEL, BUILD_LABEL, createDockerHost, builderSpec, childEnvironment, containerExecArgs, readDu, JUDGE_DIR, JUDGE_ITEMS, answerFileName, hashJudgeProgram, NETWORK_READY_FILE, MAX_ITEMS_BYTES, MAX_REPORT_BYTES, JUDGE_REPORT, withAnswerProtocol, JUDGE_TREE, runnerLabelValue, parseSize, readJobFileChecked, networkHelperName, prepareRunArgs, containerRunArgs, judgeCommand, WORKSPACE_LABEL, homeCopyRunArgs, networkHelperRunArgs, JUDGE_MAX_TURNS, identityScript, identityArgs, parseIdentity, mountableHome, homeCopyScript, homeCopyArgs, COMMAND_DIR, judgeProgramRecord, identityRunArgs, SAVED_STATE_LABEL } from './chunk-RSD4TQOD.js';
|
|
28
28
|
import { universalImagePending, RecipeError, writeSanitizedRecipe, classifyProperties, DOCKER_FEATURE } from './chunk-47NQTKLX.js';
|
|
29
29
|
import { sanitizeTerminal, planArtifactUpload } from './chunk-DV44KCM6.js';
|
|
30
30
|
import { sharedSkillNames, skillConflictMessage } from './chunk-ETP7IGQI.js';
|
|
31
31
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
32
|
-
import { signerFor } from './chunk-
|
|
33
|
-
import { sessionsDir, vmAssetsDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, workspacesDir, jobsDir, storeScopes, spoolDir, orgStoreIn, rootfsDir, imagesDir, builderCacheDiskPath, buildsDir, buildDir, ghConfigDir, runnerDirOfBuild, mirrorDir, orgHomeDir, jobConsolePath, vsockPath, builderConsolePath, rootfsPathFor, diskTemplatesDir, deliveryDir, SHIM_DIR } from './chunk-
|
|
34
|
-
import { BUILD_HOME, dataPlaneOf, sandboxCallOf, SandboxError, repositoriesOf, JOB_MOUNT, heldBuildAuthority, IMAGE_BUNDLES, writeTrustFiles, buildEnvironment, trustEnvironment, CHECKOUT_DIR, parseIsolation, containerLocalAddress, destinationEnvironment, withHooksPath, startBuildServices, checkoutPath, 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, primaryOf, variablesFor, carried6to4, classifyAddress, EVAL_INPUT_DIR, isMiseVariableAllowed, variableForPath, droppedRequestHeaders, hasDotDotSegment, routeNameOf, providerMayAnswerLater, toolProxyEnvironment } from './chunk-
|
|
32
|
+
import { signerFor } from './chunk-KFUCIJF7.js';
|
|
33
|
+
import { sessionsDir, vmAssetsDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, workspacesDir, jobsDir, storeScopes, spoolDir, orgStoreIn, rootfsDir, imagesDir, builderCacheDiskPath, buildsDir, buildDir, ghConfigDir, runnerDirOfBuild, mirrorDir, orgHomeDir, jobConsolePath, vsockPath, builderConsolePath, rootfsPathFor, diskTemplatesDir, deliveryDir, SHIM_DIR } from './chunk-JS2AM7BN.js';
|
|
34
|
+
import { BUILD_HOME, dataPlaneOf, sandboxCallOf, SandboxError, repositoriesOf, JOB_MOUNT, heldBuildAuthority, IMAGE_BUNDLES, writeTrustFiles, buildEnvironment, trustEnvironment, CHECKOUT_DIR, parseIsolation, containerLocalAddress, destinationEnvironment, withHooksPath, startBuildServices, checkoutPath, 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, primaryOf, variablesFor, carried6to4, classifyAddress, EVAL_INPUT_DIR, isMiseVariableAllowed, retryAfterMsOf, variableForPath, droppedRequestHeaders, hasDotDotSegment, routeNameOf, providerMayAnswerLater, toolProxyEnvironment } from './chunk-VPD2TY6U.js';
|
|
35
35
|
import { agentCredential, managedAgentCredential, RUNNER_WORDED_REASONS, UNKNOWN_TRACKING_REASON, UNKNOWN_TRANSPORT_REASON, RELAY_USER, builtInNames, currentAgentCredential, removedAgentCredentialValues, 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-5XEO7FJW.js';
|
|
36
36
|
import { versionAtLeast } from './chunk-F3J4UKBF.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-MHXUQI67.js';
|
|
@@ -1421,8 +1421,8 @@ function createMicroVmPorts(over = {}) {
|
|
|
1421
1421
|
var ATTEMPTS = 3;
|
|
1422
1422
|
var RETRY_MS = 1e3;
|
|
1423
1423
|
var NOT_KEPT = "a sandbox that OuterLayer provides ends with its build, so it is not kept for a later job";
|
|
1424
|
-
function sandboxErrorOf(err) {
|
|
1425
|
-
return new SandboxError(err.message, err.status ?? 0, err.code, err.reason);
|
|
1424
|
+
function sandboxErrorOf(err, nowMs) {
|
|
1425
|
+
return new SandboxError(err.message, err.status ?? 0, err.code, err.reason, retryAfterMsOf(err.retryAfter ?? null, nowMs));
|
|
1426
1426
|
}
|
|
1427
1427
|
function worthAnother(err) {
|
|
1428
1428
|
return err.status === void 0 || err.code === "store_unavailable";
|
|
@@ -1448,10 +1448,12 @@ function createGatewaySandboxClient(opts) {
|
|
|
1448
1448
|
const fetchImpl = opts.fetchImpl ?? fetch;
|
|
1449
1449
|
const { sleep } = opts;
|
|
1450
1450
|
const headers = /* @__PURE__ */ new Map();
|
|
1451
|
-
|
|
1451
|
+
const factories = /* @__PURE__ */ new Map();
|
|
1452
|
+
function sandboxOf(raw, factory) {
|
|
1452
1453
|
if (typeof raw.id !== "string" || typeof raw.dataPlaneUrl !== "string") throw new SandboxError("the gateway's answer names no sandbox id or address", 0);
|
|
1453
1454
|
const dataPlaneUrl = raw.dataPlaneUrl.replace(/\/+$/, "");
|
|
1454
1455
|
if (typeof raw.tokenHeader === "string" && raw.tokenHeader !== "") headers.set(dataPlaneUrl, raw.tokenHeader);
|
|
1456
|
+
if (factory !== void 0) factories.set(raw.id, factory);
|
|
1455
1457
|
return {
|
|
1456
1458
|
id: raw.id,
|
|
1457
1459
|
name: typeof raw.name === "string" ? raw.name : "",
|
|
@@ -1462,45 +1464,55 @@ function createGatewaySandboxClient(opts) {
|
|
|
1462
1464
|
metadata: typeof raw.metadata === "object" && raw.metadata !== null ? raw.metadata : {}
|
|
1463
1465
|
};
|
|
1464
1466
|
}
|
|
1465
|
-
async function gateway(send) {
|
|
1466
|
-
const creds = opts.creds();
|
|
1467
|
+
async function gateway(factory, send) {
|
|
1468
|
+
const creds = opts.creds(factory);
|
|
1467
1469
|
const signer = await signerFor(creds.configPath);
|
|
1468
1470
|
for (let attempt = 1; ; attempt++) {
|
|
1469
1471
|
try {
|
|
1470
1472
|
return await send(creds, signer);
|
|
1471
1473
|
} catch (err) {
|
|
1472
1474
|
if (!(err instanceof WorkCommandError)) throw err;
|
|
1473
|
-
if (!worthAnother(err) || attempt >= ATTEMPTS) throw sandboxErrorOf(err);
|
|
1475
|
+
if (!worthAnother(err) || attempt >= ATTEMPTS) throw sandboxErrorOf(err, Date.now());
|
|
1474
1476
|
await sleep(RETRY_MS * attempt);
|
|
1475
1477
|
}
|
|
1476
1478
|
}
|
|
1477
1479
|
}
|
|
1478
|
-
const post = (path, body) => gateway(async (creds, signer) => (await postJson(creds.url, path, creds.apiKey, creds.appId, body, fetchImpl, void 0, signer)).data);
|
|
1479
|
-
const get = (path) => gateway(async (creds, signer) => (await getJson(creds.url, path, creds.apiKey, creds.appId, fetchImpl, signer)).data);
|
|
1480
|
+
const post = (factory, path, body) => gateway(factory, async (creds, signer) => (await postJson(creds.url, path, creds.apiKey, creds.appId, body, fetchImpl, void 0, signer)).data);
|
|
1481
|
+
const get = (factory, path) => gateway(factory, async (creds, signer) => (await getJson(creds.url, path, creds.apiKey, creds.appId, fetchImpl, signer)).data);
|
|
1482
|
+
const factoryOfSandbox = (id) => factories.get(id) ?? opts.factoryOf?.(id);
|
|
1483
|
+
const listUnder = async (factory) => {
|
|
1484
|
+
const listed = await get(factory, "/v1/managed-sandboxes");
|
|
1485
|
+
return (Array.isArray(listed) ? listed : []).map((raw) => sandboxOf(raw, factory));
|
|
1486
|
+
};
|
|
1480
1487
|
const own = (id) => `/v1/managed-sandboxes/${encodeURIComponent(id)}`;
|
|
1481
1488
|
const claimed = (workItem) => `/v1/work-items/${encodeURIComponent(String(workItem))}/claim/sandbox`;
|
|
1482
1489
|
return {
|
|
1483
1490
|
async create(input) {
|
|
1484
1491
|
if (input.workItem === void 0) throw new SandboxError("the build names no work item, and OuterLayer makes a sandbox only for the claim on one", 0);
|
|
1492
|
+
const machine = input.machine ?? opts.machine?.() ?? "small";
|
|
1485
1493
|
return sandboxOf(
|
|
1486
|
-
await post(claimed(input.workItem), { machine
|
|
1494
|
+
await post(input.factory, claimed(input.workItem), { machine, waits: true, idleMinutes: input.idleMinutes, timeLimitMinutes: input.timeLimitMinutes, metadata: input.metadata }),
|
|
1495
|
+
input.factory
|
|
1487
1496
|
);
|
|
1488
1497
|
},
|
|
1489
1498
|
async get(id) {
|
|
1490
|
-
|
|
1499
|
+
const factory = factoryOfSandbox(id);
|
|
1500
|
+
return sandboxOf(await get(factory, own(id)), factory);
|
|
1491
1501
|
},
|
|
1492
1502
|
async list() {
|
|
1493
|
-
|
|
1494
|
-
|
|
1503
|
+
if (opts.factories === void 0) return listUnder(void 0);
|
|
1504
|
+
const found = [];
|
|
1505
|
+
for (const factory of new Set(opts.factories())) found.push(...await listUnder(factory));
|
|
1506
|
+
return found;
|
|
1495
1507
|
},
|
|
1496
1508
|
async end(id) {
|
|
1497
|
-
await post(`${own(id)}/end`, {});
|
|
1509
|
+
await post(factoryOfSandbox(id), `${own(id)}/end`, {});
|
|
1498
1510
|
},
|
|
1499
1511
|
async snapshotDiskGib() {
|
|
1500
1512
|
return void 0;
|
|
1501
1513
|
},
|
|
1502
1514
|
async portUrl(sandbox, port) {
|
|
1503
|
-
const url = (await post(`${own(sandbox.id)}/url`, { port }))["url"];
|
|
1515
|
+
const url = (await post(factoryOfSandbox(sandbox.id), `${own(sandbox.id)}/url`, { port }))["url"];
|
|
1504
1516
|
if (typeof url !== "string") throw new SandboxError("the gateway's answer holds no address", 0);
|
|
1505
1517
|
return url;
|
|
1506
1518
|
},
|
|
@@ -1519,21 +1531,35 @@ function createGatewaySandboxClient(opts) {
|
|
|
1519
1531
|
}
|
|
1520
1532
|
|
|
1521
1533
|
// src/runner/sandbox/ports.ts
|
|
1534
|
+
function heldSandboxClaimsOf(jobs) {
|
|
1535
|
+
return jobs.flatMap((job) => job.appId === void 0 || job.appId === "" ? [] : [{ factory: job.appId, ...job.sandbox === void 0 ? {} : { sandboxId: job.sandbox.sandboxId } }]);
|
|
1536
|
+
}
|
|
1537
|
+
function gatewaySandboxCreds(config, factory) {
|
|
1538
|
+
const { url, apiKey, configPath } = config;
|
|
1539
|
+
if (config.fleet === true) {
|
|
1540
|
+
if (factory === void 0 || factory === "") throw new SandboxError("the call names no claim of this fleet machine, so it cannot ask OuterLayer for the sandbox", 0);
|
|
1541
|
+
return { url, apiKey, appId: factory, configPath };
|
|
1542
|
+
}
|
|
1543
|
+
if (config.appId === void 0) throw new SandboxError("the runner's config names no factory, so it cannot ask OuterLayer for a sandbox", 0);
|
|
1544
|
+
return { url, apiKey, appId: config.appId, configPath };
|
|
1545
|
+
}
|
|
1522
1546
|
function createSandboxPorts(opts, hostEnv) {
|
|
1523
1547
|
let made;
|
|
1524
1548
|
let viaGateway;
|
|
1525
1549
|
let fromGateway;
|
|
1526
1550
|
const runnerConfig = opts?.runnerConfig;
|
|
1551
|
+
const heldClaims = opts?.heldClaims ?? (() => []);
|
|
1527
1552
|
const ports = {
|
|
1528
1553
|
client: opts?.client ?? (() => {
|
|
1529
1554
|
fromGateway ??= runnerConfig?.().sandbox?.provider === "outerlayer";
|
|
1530
1555
|
if (fromGateway && runnerConfig !== void 0) {
|
|
1556
|
+
const fleet = runnerConfig().fleet === true;
|
|
1531
1557
|
viaGateway ??= createGatewaySandboxClient({
|
|
1532
|
-
creds: () =>
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
},
|
|
1558
|
+
creds: (factory) => gatewaySandboxCreds(runnerConfig(), factory),
|
|
1559
|
+
...fleet ? {
|
|
1560
|
+
factoryOf: (id) => heldClaims().find((claim) => claim.sandboxId === id)?.factory,
|
|
1561
|
+
factories: () => heldClaims().map((claim) => claim.factory)
|
|
1562
|
+
} : {},
|
|
1537
1563
|
machine: () => runnerConfig().sandbox?.machine ?? "small",
|
|
1538
1564
|
sleep: (ms) => ports.sleep(ms)
|
|
1539
1565
|
});
|
|
@@ -4712,6 +4738,11 @@ function sandboxSizeFor(config, jobDir) {
|
|
|
4712
4738
|
const sized = sandboxSizeOf({ cpus: limits2.cpus, memory: String(limits2.memoryBytes), disk: String(limits2.diskBytes) });
|
|
4713
4739
|
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}` };
|
|
4714
4740
|
}
|
|
4741
|
+
function sandboxClaimOf(config, item, workItemId, settings) {
|
|
4742
|
+
const workItem = claimItem(config, { item, workItemId, appId: config.appId });
|
|
4743
|
+
if (config.fleet !== true || settings === void 0) return { workItem, factory: config.appId };
|
|
4744
|
+
return { workItem, factory: config.appId, machine: settings.machine.size };
|
|
4745
|
+
}
|
|
4715
4746
|
async function sandboxDiskGib(client2, snapshot, wantedGib, log) {
|
|
4716
4747
|
let snapshotGib;
|
|
4717
4748
|
try {
|
|
@@ -4946,7 +4977,7 @@ async function provisionSandboxOnce(input, itemDiskFailed) {
|
|
|
4946
4977
|
timeLimitMinutes: sandboxTimeLimitMinutes(config.timeLimitMinutes),
|
|
4947
4978
|
network: networkOf(own.allowHosts),
|
|
4948
4979
|
metadata: { [RUNNER_METADATA]: runnerId, [BUILD_METADATA]: buildId },
|
|
4949
|
-
|
|
4980
|
+
...sandboxClaimOf(config, item.number, input.workItemId, managedBuildSettingsFor(jobDir))
|
|
4950
4981
|
}),
|
|
4951
4982
|
sleep: runtime.sandbox.sleep,
|
|
4952
4983
|
aborted: input.aborted,
|
|
@@ -14116,4 +14147,4 @@ async function runHostChecks(input) {
|
|
|
14116
14147
|
}
|
|
14117
14148
|
}
|
|
14118
14149
|
|
|
14119
|
-
export { ADOPTED_FETCH_RETRY_WINDOW_MS, ALREADY_RELEASED, AttemptLogBook, EXIT_CODE_FILE, GUEST_USAGE_INTERVAL_MS, HELPER_ENV, KIND_LABEL, LEASE_SECONDS, MAX_CHECK_ITEMS_BYTES, MICROVM_COMMAND_DIR, MIN_ENGINE_MAJOR, PLACEHOLDER_MARKER, RENEW_INTERVAL_SECONDS, RunnerInitError, SANDBOX_MACHINES, SandboxContainerStoppedError, SandboxGoneError, agentCredentialCheck, appendCommandLog, attemptNote, builtOf, checksIn, claimPermissionProblem, claimRun, commandItems, commandLogOffset, containerCommandExec, createContainerRuntime, createGatewaySandboxClient, createHousekeepingDocker, createLeaseChannel, currentSkillCommand, decideHostBuildSkill, deliverCommitHooks, deliverContainerHooks, deliverExecMaven, deliverJobFiles, deliverSandboxHooks, describeHookEnd, describeMachineDocker, detectMachine, ensureFirecrackerAndJailer, ensureNetworkReady, ensureTunnel, environmentFor, execArgv, execCommandLine, fetchManagedBuildSettings, fetchManagedClaudeKey, filesAreCopied, finishJob, foldSample, formerSkillProblem, formerSkillQueues, freeItemDisksUntil, gatewayRefusalReason, gitRemoteFor, helperFirecrackerNote, helperSocketPath, holdManagedBuildSettings, holdManagedClaudeKey, hookLimitsFor, hostCommandEnvironment, hostEnvironment, housekeepingDockerIfReachable, inSandbox, inTeardown, installTrust, isContainerTracked, isGroupAlive, isIdle, isIsolatedJob, isJudgeCheck, isMicroVmTracked, isPlaceholderCommand, isReadable, isSandboxTracked, isTimedOut, isTracked, isUnfinished, itemScope, itemTag, jobEnv, jobRecordsClaim, jobTimeLimitMinutes, judgeCredential, judgeProbe, keepGhConfigCurrent, keptCommitsLine, keptSandboxIds, keptSessionDir, leaseExpiresAtMs, leaseTimeLeftMs, lifecycleFailureReason, lifecycleSteps, listAdoptableJobs, listItemDisks, listTrackedJobs, listUnreadableJobs, listenOnBroker, makeRecorder, managedBuildSettingsFor, measureDisk, microVmArchSupported, microVmAssetsPinned, microVmCommandLine, microVmOomKills, missingPermissionFix, missingPermissionOf, modellessProblem, modellessQueues, nativeWindowsSandboxRefusal, needsAgentCredential, needsBuildSkill, needsRenew, outcomeFromExitCode, parseCpuList, permissionModeProblem, permissionModeProblems, placeholderProblem, placeholderQueues, prepareBranch, prepareResume, prepareRunnerInit, probeCommand, probeHelper, probeMicroVmCommand, probeSandboxCommand, provisionContainer, provisionEnvironment, provisionMicroVm, provisionSandbox, reachDockerStep, readConfigObject, readCpuUsec, readDefinitions, readProvisionOut, readRecords, readWorkItem, recordsProofsOnly, recoverLostJobs, rejoinSandboxBuild, releaseLease, removeOldestUntil, removeRunnerBlock, renewLease, renewRun, resolveHostBuild, restartSender, restoreSessionIntoContainer, restoreSessionIntoMicroVm, restoreSessionIntoSandbox, restoreWork, retryFailedReleases, runCommand, runCommandOf, runDecision, runHook, runHostChecks, runHousekeeping, runRunnerInit, runWithSpawn, sampleGuest, savedStatesDir, scrubReason, serveLease, sessionGuestOfContainer, sessionGuestOfMicroVm, sessionGuestOfSandbox, setStage, setUpRunnerCgroup, shellQuote, startHostServices, startMicroVmCommand, startSandboxCommand, startSender, startServicesFor, stopOrphanedMicroVms, stoppedHelperReason, stripTerminalControls, supportsContainerBuilds, supportsMicroVmBuilds, sweepImageBuilders, sweepSandboxes, testProofIn, timeoutAfter, treeFileText, unfinishedJobs, usableCpus, vmAlive, withJobTimeLimit, withTunnelLog, workRestoredEnv, workdirProblem, writeGuestGhConfig, writeRunnerInit };
|
|
14150
|
+
export { ADOPTED_FETCH_RETRY_WINDOW_MS, ALREADY_RELEASED, AttemptLogBook, EXIT_CODE_FILE, GUEST_USAGE_INTERVAL_MS, HELPER_ENV, KIND_LABEL, LEASE_SECONDS, MAX_CHECK_ITEMS_BYTES, MICROVM_COMMAND_DIR, MIN_ENGINE_MAJOR, PLACEHOLDER_MARKER, RENEW_INTERVAL_SECONDS, RunnerInitError, SANDBOX_MACHINES, SandboxContainerStoppedError, SandboxGoneError, agentCredentialCheck, appendCommandLog, attemptNote, builtOf, checksIn, claimPermissionProblem, claimRun, commandItems, commandLogOffset, containerCommandExec, createContainerRuntime, createGatewaySandboxClient, createHousekeepingDocker, createLeaseChannel, currentSkillCommand, decideHostBuildSkill, deliverCommitHooks, deliverContainerHooks, deliverExecMaven, deliverJobFiles, deliverSandboxHooks, describeHookEnd, describeMachineDocker, detectMachine, ensureFirecrackerAndJailer, ensureNetworkReady, ensureTunnel, environmentFor, execArgv, execCommandLine, fetchManagedBuildSettings, fetchManagedClaudeKey, filesAreCopied, finishJob, foldSample, formerSkillProblem, formerSkillQueues, freeItemDisksUntil, gatewayRefusalReason, gitRemoteFor, heldSandboxClaimsOf, helperFirecrackerNote, helperSocketPath, holdManagedBuildSettings, holdManagedClaudeKey, hookLimitsFor, hostCommandEnvironment, hostEnvironment, housekeepingDockerIfReachable, inSandbox, inTeardown, installTrust, isContainerTracked, isGroupAlive, isIdle, isIsolatedJob, isJudgeCheck, isMicroVmTracked, isPlaceholderCommand, isReadable, isSandboxTracked, isTimedOut, isTracked, isUnfinished, itemScope, itemTag, jobEnv, jobRecordsClaim, jobTimeLimitMinutes, judgeCredential, judgeProbe, keepGhConfigCurrent, keptCommitsLine, keptSandboxIds, keptSessionDir, leaseExpiresAtMs, leaseTimeLeftMs, lifecycleFailureReason, lifecycleSteps, listAdoptableJobs, listItemDisks, listTrackedJobs, listUnreadableJobs, listenOnBroker, makeRecorder, managedBuildSettingsFor, measureDisk, microVmArchSupported, microVmAssetsPinned, microVmCommandLine, microVmOomKills, missingPermissionFix, missingPermissionOf, modellessProblem, modellessQueues, nativeWindowsSandboxRefusal, needsAgentCredential, needsBuildSkill, needsRenew, outcomeFromExitCode, parseCpuList, permissionModeProblem, permissionModeProblems, placeholderProblem, placeholderQueues, prepareBranch, prepareResume, prepareRunnerInit, probeCommand, probeHelper, probeMicroVmCommand, probeSandboxCommand, provisionContainer, provisionEnvironment, provisionMicroVm, provisionSandbox, reachDockerStep, readConfigObject, readCpuUsec, readDefinitions, readProvisionOut, readRecords, readWorkItem, recordsProofsOnly, recoverLostJobs, rejoinSandboxBuild, releaseLease, removeOldestUntil, removeRunnerBlock, renewLease, renewRun, resolveHostBuild, restartSender, restoreSessionIntoContainer, restoreSessionIntoMicroVm, restoreSessionIntoSandbox, restoreWork, retryFailedReleases, runCommand, runCommandOf, runDecision, runHook, runHostChecks, runHousekeeping, runRunnerInit, runWithSpawn, sampleGuest, savedStatesDir, scrubReason, serveLease, sessionGuestOfContainer, sessionGuestOfMicroVm, sessionGuestOfSandbox, setStage, setUpRunnerCgroup, shellQuote, startHostServices, startMicroVmCommand, startSandboxCommand, startSender, startServicesFor, stopOrphanedMicroVms, stoppedHelperReason, stripTerminalControls, supportsContainerBuilds, supportsMicroVmBuilds, sweepImageBuilders, sweepSandboxes, testProofIn, timeoutAfter, treeFileText, unfinishedJobs, usableCpus, vmAlive, withJobTimeLimit, withTunnelLog, workRestoredEnv, workdirProblem, writeGuestGhConfig, writeRunnerInit };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { PROXY_WARNING_FLAG } from './chunk-
|
|
3
|
+
import { PROXY_WARNING_FLAG } from './chunk-VPD2TY6U.js';
|
|
4
4
|
import { RELAY_ID, RELAY_USER } from './chunk-5XEO7FJW.js';
|
|
5
5
|
import { imageInstalls, GH_VERSION, VOICE_PACK_FILES, VOICE_PACK_VERSION, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, TINI_SHA256, TINI_VERSION, HEADLESS_SHELL_REVISION, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG_BASE_URL, PLAYWRIGHT_FFMPEG_REVISION, HEADLESS_SHELL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_VERSION } from './chunk-MHXUQI67.js';
|
|
6
6
|
import { defaultAgents } from './chunk-MB6OS6TU.js';
|
|
@@ -3,10 +3,10 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { runEmit } from './chunk-PNX74XDV.js';
|
|
4
4
|
import { addStdioMcpEntryIfAbsent, addDocsMcpEntryIfAbsent, DOCS_MCP_SERVER_NAME } from './chunk-SCY7U54A.js';
|
|
5
5
|
import { installStarterPack } from './chunk-TD7CTDKT.js';
|
|
6
|
-
import { listWithAnd } from './chunk-
|
|
6
|
+
import { listWithAnd } from './chunk-BGRPYWUU.js';
|
|
7
7
|
import { AGENTS_MD_LAYOUT, mcpFiles, declareAgentsMdLayout, linkAgentSkills, describeSkillsLink, isAgentsMdLayout, holdsTodaysLayoutSources, discoverOuterlayerPaths } from './chunk-WNLDTV2M.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { resolveGitCommonDir, defaultGitRunner } from './chunk-
|
|
9
|
+
import { resolveGitCommonDir, defaultGitRunner } from './chunk-NOHI3MBC.js';
|
|
10
10
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
11
11
|
import { linkedAgentsPath } from './chunk-IPS7A2BK.js';
|
|
12
12
|
import { cloneIsGoverned } from './chunk-YQR6E6OV.js';
|
|
@@ -3,7 +3,7 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { sanitizeTerminal } from './chunk-DV44KCM6.js';
|
|
4
4
|
import { mcpFiles, skillLinkFolders, isAgentsMdLayout } from './chunk-WNLDTV2M.js';
|
|
5
5
|
import { DEFAULT_DASHBOARD } from './chunk-DHB3M244.js';
|
|
6
|
-
import { cliFetch, resolveGatewayCredentials } from './chunk-
|
|
6
|
+
import { cliFetch, resolveGatewayCredentials } from './chunk-KN7XHG74.js';
|
|
7
7
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
8
8
|
import { findGitDirs, writeRepoConnection, readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
9
9
|
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, runnerDir } from './chunk-
|
|
3
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir } from './chunk-JS2AM7BN.js';
|
|
4
4
|
import { mkdirSync, writeFileSync, renameSync, existsSync, readFileSync } from 'fs';
|
|
5
5
|
import { dirname, join } from 'path';
|
|
6
6
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { launcherPath, pathNotes, writeLauncher, LauncherWriteError } from './chunk-
|
|
4
|
-
import { currentVersion, entryIn, currentLink, versionDir, execStartLine, isInLayout, packageRootIn, switchCurrent } from './chunk-
|
|
3
|
+
import { launcherPath, pathNotes, writeLauncher, LauncherWriteError } from './chunk-VJWRB7BK.js';
|
|
4
|
+
import { currentVersion, entryIn, currentLink, versionDir, execStartLine, isInLayout, packageRootIn, switchCurrent } from './chunk-SU6GA65D.js';
|
|
5
5
|
import { compareVersions } from './chunk-TQMI335S.js';
|
|
6
|
-
import { defaultRunnerConfigPath } from './chunk-
|
|
7
|
-
import { runnerDir, RUNNER_DIR_MODE } from './chunk-
|
|
6
|
+
import { defaultRunnerConfigPath } from './chunk-H2SUWKUA.js';
|
|
7
|
+
import { runnerDir, RUNNER_DIR_MODE } from './chunk-JS2AM7BN.js';
|
|
8
8
|
import { lchownSync, lstatSync, realpathSync, readFileSync, mkdirSync, rmSync, cpSync, existsSync, readdirSync } from 'fs';
|
|
9
9
|
import { dirname, sep, join, resolve } from 'path';
|
|
10
10
|
import { spawnSync } from 'child_process';
|
|
@@ -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-6FHKEZIQ.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}`;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { sanitizeTerminal } from './chunk-DV44KCM6.js';
|
|
4
4
|
import { isAgentsMdLayout } from './chunk-WNLDTV2M.js';
|
|
5
|
-
import { resolveGatewayCredentials, defaultFetch } from './chunk-
|
|
5
|
+
import { resolveGatewayCredentials, defaultFetch } from './chunk-KN7XHG74.js';
|
|
6
6
|
import { versionAtLeast } from './chunk-F3J4UKBF.js';
|
|
7
7
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
8
8
|
import { machineSkillsState, staleAgentSkills } from './chunk-ROJMYI5S.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-JS2AM7BN.js';
|
|
4
4
|
import { readFileSync, 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 { builtinKind, keepsHostBuilder } from './chunk-
|
|
4
|
-
import { parseSize } from './chunk-
|
|
5
|
-
import { runnerDir } from './chunk-
|
|
3
|
+
import { builtinKind, keepsHostBuilder } from './chunk-H2SUWKUA.js';
|
|
4
|
+
import { parseSize } from './chunk-RSD4TQOD.js';
|
|
5
|
+
import { runnerDir } from './chunk-JS2AM7BN.js';
|
|
6
6
|
import { FD_SLOTS_PER_BUILD, FD_STORE_ENV, BUILD_SLICE_MEMORY_ENV, credentialLineIn, withoutCredentialLines } from './chunk-5XEO7FJW.js';
|
|
7
7
|
import { credentialAgent, credentialNames, credentialForms } from './chunk-MHXUQI67.js';
|
|
8
8
|
import { defaultAgents } from './chunk-MB6OS6TU.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { keyRunnerFactory, RunnerConfigError } from './chunk-
|
|
4
|
-
import { orgHomeDir } from './chunk-
|
|
3
|
+
import { keyRunnerFactory, RunnerConfigError } from './chunk-H2SUWKUA.js';
|
|
4
|
+
import { orgHomeDir } from './chunk-JS2AM7BN.js';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
7
7
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { uploadSpooledSteps } from './chunk-
|
|
3
|
+
import { uploadSpooledSteps } from './chunk-JUZYSHHA.js';
|
|
4
4
|
import { LaunchFilter } from './chunk-C2PZOLN7.js';
|
|
5
5
|
import { migrateLegacyArtifactSidecars, planArtifactUpload, artifactsStatePath, sanitizeTerminal, acquireArtifactSpoolLock, artifactBlobsDir, resolveArtifactTurnIndex, isArtifactTombstoned, ARTIFACT_RETRY_MAX_AGE_MS, writeArtifactSpoolState, reclaimUnneededArtifactBlobs, neededArtifactShas } from './chunk-DV44KCM6.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { cliFetch, resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
7
|
+
import { cliFetch, resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-KN7XHG74.js';
|
|
8
8
|
import { readCloudConfig, cloudConfigPath, writeCloudConfig } from './chunk-HWVMRETT.js';
|
|
9
|
-
import { signerFor, signRunnerRequest } from './chunk-
|
|
10
|
-
import { SCRUB_ENV_VARIABLE } from './chunk-
|
|
11
|
-
import { writeSyncStatus, logHookError, spoolDir } from './chunk-
|
|
9
|
+
import { signerFor, signRunnerRequest } from './chunk-KFUCIJF7.js';
|
|
10
|
+
import { SCRUB_ENV_VARIABLE } from './chunk-VPD2TY6U.js';
|
|
11
|
+
import { writeSyncStatus, logHookError, spoolDir } from './chunk-DFAXUIG6.js';
|
|
12
12
|
import { readLatestProvenanceForSession, readContextProvenance } from './chunk-545P7JY7.js';
|
|
13
13
|
import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
14
14
|
import { hookExecSpoolPath } from './chunk-2ZF62BAK.js';
|
|
@@ -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-5QF3CFE3.js';
|
|
4
|
+
import { parseSize } from './chunk-RSD4TQOD.js';
|
|
5
|
+
import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-VPD2TY6U.js';
|
|
6
6
|
import { builderDiskPinned } from './chunk-MHXUQI67.js';
|
|
7
7
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
8
8
|
import { existsSync, statSync, accessSync, constants, readFileSync } from 'fs';
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-C2PZOLN7.js';
|
|
4
4
|
import { detectActiveSession, transcriptPathForSession } from './chunk-A7M4QXVX.js';
|
|
5
|
-
import { autoConnect } from './chunk-
|
|
5
|
+
import { autoConnect } from './chunk-YRF7F2TQ.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
7
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-KN7XHG74.js';
|
|
8
8
|
import { readLatestProvenanceForSession } from './chunk-545P7JY7.js';
|
|
9
9
|
import { launchedItemForSession } from './chunk-LGJ56FCM.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.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-JS2AM7BN.js';
|
|
5
5
|
import { existsSync, readFileSync, mkdirSync, writeFileSync, rmSync } from 'fs';
|
|
6
6
|
import { dirname } from 'path';
|
|
7
7
|
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-C2PZOLN7.js';
|
|
4
4
|
import { detectActiveSession } from './chunk-A7M4QXVX.js';
|
|
5
|
-
import { autoConnect } from './chunk-
|
|
5
|
+
import { autoConnect } from './chunk-YRF7F2TQ.js';
|
|
6
6
|
import { acquireSpoolLockAt } from './chunk-DV44KCM6.js';
|
|
7
7
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
8
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
8
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-KN7XHG74.js';
|
|
9
9
|
import { launchedItemForSession } from './chunk-LGJ56FCM.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
11
11
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { LiveUploader } from './chunk-
|
|
4
|
-
import { spoolDir } from './chunk-
|
|
3
|
+
import { LiveUploader } from './chunk-F7YGXLOV.js';
|
|
4
|
+
import { spoolDir } from './chunk-DFAXUIG6.js';
|
|
5
5
|
import { parseRunEnv, parseWorkItemEnv } from './chunk-LGJ56FCM.js';
|
|
6
6
|
import { sessionFolderIn, legacyAgent } from './chunk-MB6OS6TU.js';
|
|
7
7
|
import { homeFromEnv } from './chunk-352DHUTP.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-JS2AM7BN.js';
|
|
4
4
|
import { generateKeyPairSync, createPrivateKey, createPublicKey, sign } from 'crypto';
|
|
5
5
|
import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'fs';
|
|
6
6
|
|
|
@@ -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-KFUCIJF7.js';
|
|
5
5
|
import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
6
6
|
import { PLAIN_VERSION, recordCliVersion, removeRecordedVersion } from './chunk-Z7J7JWGF.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
@@ -3,8 +3,8 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { RemovedTargetError, removedTargetError } from './chunk-3DILWPBX.js';
|
|
4
4
|
import { removeRetiredSkills } from './chunk-CLVWA4DI.js';
|
|
5
5
|
import { removeLeftoverGitLocks } from './chunk-A2WPWZJA.js';
|
|
6
|
-
import { defaultFetch, resolveGatewayCredentials } from './chunk-
|
|
7
|
-
import { withTokenHeader } from './chunk-
|
|
6
|
+
import { defaultFetch, resolveGatewayCredentials } from './chunk-KN7XHG74.js';
|
|
7
|
+
import { withTokenHeader } from './chunk-VPD2TY6U.js';
|
|
8
8
|
import { appendContextProvenance } from './chunk-545P7JY7.js';
|
|
9
9
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
10
10
|
import { writeDegraded, writeSourceCache, SOURCE_CACHE_TTL_RETRY_MS, writeContextManifest, SOURCE_CACHE_TTL_SUCCESS_MS, readSourceCache, isSourceCacheFresh, clearDegraded } from './chunk-YQR6E6OV.js';
|
|
@@ -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, isBuiltinSandbox, 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-AXDEXXW7.js';
|
|
4
|
+
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-EU4BCIV5.js';
|
|
5
|
+
import { getJson, WorkCommandError } from './chunk-3XGZLUEU.js';
|
|
6
|
+
import { isBuiltinVm, isBuiltinSandbox, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-H2SUWKUA.js';
|
|
7
|
+
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-5QF3CFE3.js';
|
|
8
|
+
import { ensureHostKey } from './chunk-KFUCIJF7.js';
|
|
9
|
+
import { sandboxSettingsFrom } from './chunk-VPD2TY6U.js';
|
|
10
10
|
import { BUILD_SLICE_MEMORY_ENV, agentCredentialVariablesSet, agentCredential, parseRunnerEnv } from './chunk-5XEO7FJW.js';
|
|
11
11
|
import { forwardedVariables, credentialAgent, credentialForms, managedKeyName, builderDiskPinned, storeVariables, credentialEnvPath } from './chunk-MHXUQI67.js';
|
|
12
12
|
import { defaultAgents } from './chunk-MB6OS6TU.js';
|
|
@@ -31,9 +31,6 @@ function fleetConfigProblem(config) {
|
|
|
31
31
|
if (!vm && !sandbox) {
|
|
32
32
|
return "fleet: runner.hooks.provision and runner.hooks.cleanup must both be builtin:vm or both be builtin:sandbox, because each build of a fleet runner runs in a machine of its own";
|
|
33
33
|
}
|
|
34
|
-
if (sandbox && config.sandbox?.provider === "outerlayer") {
|
|
35
|
-
return `fleet: runner.sandbox.provider is "outerlayer", and a fleet runner needs a sandbox provider account of its own. Remove runner.sandbox.provider, name the snapshot in runner.sandbox.snapshot, and give the runner the provider's credentials`;
|
|
36
|
-
}
|
|
37
34
|
return void 0;
|
|
38
35
|
}
|
|
39
36
|
async function askFleetMachine(config, fetchImpl = fetch) {
|
|
@@ -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-A7M4QXVX.js';
|
|
5
|
-
import { autoConnect } from './chunk-
|
|
5
|
+
import { autoConnect } from './chunk-YRF7F2TQ.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
7
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-KN7XHG74.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,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { scrubReason, stripTerminalControls } from './chunk-
|
|
4
|
-
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-
|
|
5
|
-
import { RunnerAlreadyRunningError, readPidFile } from './chunk-
|
|
3
|
+
import { scrubReason, stripTerminalControls } from './chunk-AXDEXXW7.js';
|
|
4
|
+
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-EU4BCIV5.js';
|
|
5
|
+
import { RunnerAlreadyRunningError, readPidFile } from './chunk-IX2ELMBR.js';
|
|
6
6
|
import { isSameProcess } from './chunk-JBJTC3UU.js';
|
|
7
|
-
import { isSignatureRefusal, postJson } from './chunk-
|
|
8
|
-
import { keyRunnerFactory } from './chunk-
|
|
9
|
-
import { signerFor } from './chunk-
|
|
10
|
-
import { pidFilePath } from './chunk-
|
|
7
|
+
import { isSignatureRefusal, postJson } from './chunk-3XGZLUEU.js';
|
|
8
|
+
import { keyRunnerFactory } from './chunk-H2SUWKUA.js';
|
|
9
|
+
import { signerFor } from './chunk-KFUCIJF7.js';
|
|
10
|
+
import { pidFilePath } from './chunk-JS2AM7BN.js';
|
|
11
11
|
import { readFileSync } from 'fs';
|
|
12
12
|
|
|
13
13
|
createRequire(import.meta.url);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { escapeUnitPath, UNIT_MARKER, DEFAULT_UNIT_NAME } from './chunk-
|
|
3
|
+
import { escapeUnitPath, UNIT_MARKER, DEFAULT_UNIT_NAME } from './chunk-EU4BCIV5.js';
|
|
4
4
|
import { inspectService, realInspectProbes } from './chunk-5XEO7FJW.js';
|
|
5
5
|
import { realpathSync, readFileSync, readdirSync } from 'fs';
|
|
6
6
|
import { resolve, dirname, join } from 'path';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { detectActiveSession } from './chunk-A7M4QXVX.js';
|
|
4
|
-
import { autoConnect } from './chunk-
|
|
4
|
+
import { autoConnect } from './chunk-YRF7F2TQ.js';
|
|
5
5
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
6
|
-
import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-
|
|
6
|
+
import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-KN7XHG74.js';
|
|
7
7
|
import { parseWorkItemEnv } from './chunk-LGJ56FCM.js';
|
|
8
8
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
9
9
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { resolveDevcontainerCli, devcontainerBuildInvocation, universalImagePending, RecipeError } from './chunk-47NQTKLX.js';
|
|
4
|
-
import { ensureHostKey } from './chunk-
|
|
5
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir } from './chunk-
|
|
6
|
-
import { BUILD_HOME, JOB_MOUNT, RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-
|
|
4
|
+
import { ensureHostKey } from './chunk-KFUCIJF7.js';
|
|
5
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir } from './chunk-JS2AM7BN.js';
|
|
6
|
+
import { BUILD_HOME, JOB_MOUNT, RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-VPD2TY6U.js';
|
|
7
7
|
import { primaryDestination, JOIN_DIR, RELAY_ID, JOIN_SOCKET, GATEWAY_PORT, TARGET_GATEWAY, GATEWAY_SOCKET, destinationTarget, providerDestinations, RELAY_USER } from './chunk-5XEO7FJW.js';
|
|
8
8
|
import { judgeAgent, universalImagePinned, UNIVERSAL_IMAGE, BUILDKIT_IMAGE } from './chunk-MHXUQI67.js';
|
|
9
9
|
import { defaultAgents } from './chunk-MB6OS6TU.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { linkedBranches, setupCommitPaths, commitCommandsFor, ownerAndName } from './chunk-
|
|
4
|
-
import { resolveGatewayCredentials } from './chunk-
|
|
3
|
+
import { linkedBranches, setupCommitPaths, commitCommandsFor, ownerAndName } from './chunk-BGRPYWUU.js';
|
|
4
|
+
import { resolveGatewayCredentials } from './chunk-KN7XHG74.js';
|
|
5
5
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
6
6
|
import { execFileSync } from 'child_process';
|
|
7
7
|
import { existsSync, mkdirSync, writeFileSync } from 'fs';
|