@outerlayer/cli 0.41.0-next.20261118133326 → 0.41.0-next.20261118154455
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/dist/{agent-credential-6LB2PVY4.js → agent-credential-FI5HHMC7.js} +3 -3
- package/dist/{agent-setup-5PUSFLM4.js → agent-setup-JK3AB23R.js} +18 -18
- package/dist/{agent-subcommand-R5WLS6HM.js → agent-subcommand-KNIUK5XB.js} +2 -2
- package/dist/{bridge-C6TEOTHM.js → bridge-3F7637DO.js} +6 -6
- package/dist/{build-5HZQZ4E7.js → build-IBK6OWMD.js} +13 -13
- package/dist/{build-disk-5JU4JJJA.js → build-disk-UTRYIN6P.js} +10 -10
- package/dist/build-info.json +1 -1
- package/dist/{builder-OFGNOCPX.js → builder-FVZCFCSU.js} +9 -9
- package/dist/{caller-BORJDGNS.js → caller-HSFIM2H5.js} +12 -12
- package/dist/{check-P23F6WZY.js → check-OSCHNNLI.js} +49 -53
- package/dist/{chunk-5ARFZE2G.js → chunk-2ASWEY7Y.js} +8 -8
- package/dist/{chunk-Z4RFAK2H.js → chunk-2F4XVJUN.js} +1 -1
- package/dist/{chunk-N3BYRIUK.js → chunk-47X3DZS6.js} +3 -3
- package/dist/{chunk-PTBEQA3N.js → chunk-4TD3JKQG.js} +1 -1
- package/dist/{chunk-CGUXNCLQ.js → chunk-56YSHV4R.js} +4 -4
- package/dist/{chunk-CX3CFZFU.js → chunk-5KDPYRBL.js} +10 -10
- package/dist/{chunk-VBFAMLTB.js → chunk-5WDRNYGB.js} +1 -1
- package/dist/{chunk-ROQQR3GU.js → chunk-6A4XHKAD.js} +3 -3
- package/dist/{chunk-RQ2R4AER.js → chunk-6FDFZ5UO.js} +1 -1
- package/dist/{chunk-5ODRMXXT.js → chunk-AA2K5FC6.js} +2 -2
- package/dist/{chunk-MJQPWEV3.js → chunk-B22MYHFC.js} +3 -3
- package/dist/{chunk-D3RGE3HV.js → chunk-CMMTWO6K.js} +1 -1
- package/dist/{chunk-QYDBYCSO.js → chunk-DC4NUJ72.js} +6 -6
- package/dist/{chunk-6UGP7HU3.js → chunk-DG3VREJE.js} +6 -6
- package/dist/{chunk-SYH4PJXP.js → chunk-E7Z3PFV7.js} +3 -3
- package/dist/{chunk-LVGMC65A.js → chunk-EIYTP2AC.js} +4 -4
- package/dist/{chunk-PLUBKVJB.js → chunk-FHH5DQ7X.js} +5 -5
- package/dist/{chunk-YJB3SFHT.js → chunk-FRVUXVMX.js} +4 -4
- package/dist/{chunk-X5PALYND.js → chunk-FSKUJX43.js} +5 -5
- package/dist/{chunk-SCA5GQKS.js → chunk-H2IVCCVU.js} +1 -1
- package/dist/{chunk-IBQZUWTL.js → chunk-H6GROJCC.js} +1 -1
- package/dist/{chunk-AU77QN2U.js → chunk-HTV3VRCB.js} +3 -3
- package/dist/{chunk-B34IOYGJ.js → chunk-I2FA3MCH.js} +3 -3
- package/dist/{chunk-SKBISHLG.js → chunk-I32JMDTQ.js} +2 -2
- package/dist/{chunk-NXJJTGRJ.js → chunk-I3E5D2CQ.js} +1 -1
- package/dist/{chunk-JQV6TO4U.js → chunk-J3DZUXHL.js} +5 -5
- package/dist/{chunk-7Y5JCEG7.js → chunk-JFLGHA3C.js} +30 -30
- package/dist/{chunk-X5QQYAQN.js → chunk-JIFIPELY.js} +1 -1
- package/dist/{chunk-ATXH2352.js → chunk-JMM74T6A.js} +3 -3
- package/dist/{chunk-MZVZ2DVG.js → chunk-JY3W3AHK.js} +8 -13
- package/dist/{chunk-CDDEIMOJ.js → chunk-K2QAUWV4.js} +2 -2
- package/dist/{chunk-OZNR42RD.js → chunk-KUWZ7FB4.js} +7 -7
- package/dist/{chunk-XNKPRBCH.js → chunk-KXRFE6WZ.js} +4 -4
- package/dist/{chunk-MYK6AI42.js → chunk-LAZ35DAO.js} +32 -71
- package/dist/{chunk-BYP3WBEK.js → chunk-LDCVGTUS.js} +9 -15
- package/dist/{chunk-2MI2A3RS.js → chunk-LM34XIUW.js} +1 -1
- package/dist/{chunk-F6CFIUBC.js → chunk-LYPTSVAU.js} +1 -1
- package/dist/{chunk-WEDN75TI.js → chunk-MCE7JACC.js} +1 -1
- package/dist/{chunk-ZL2JW7WO.js → chunk-NA3IKIDG.js} +3 -3
- package/dist/{chunk-RLFTRWFC.js → chunk-NAH7LEMX.js} +6 -6
- package/dist/{chunk-ETE2OZTJ.js → chunk-NAPAXLIB.js} +2 -2
- package/dist/{chunk-MNZWJUSM.js → chunk-NYVDMD32.js} +3 -3
- package/dist/{chunk-CS7DIQMJ.js → chunk-OADERJBS.js} +7 -7
- package/dist/{chunk-3SGM2N7J.js → chunk-OJZ4TIKW.js} +1 -1
- package/dist/{chunk-NU4IZ33U.js → chunk-OU7GQC44.js} +1 -1
- package/dist/{chunk-UMUZ4GQ2.js → chunk-PCBZGSPX.js} +4 -4
- package/dist/{chunk-HFOQUCL2.js → chunk-PMYP5VMV.js} +3 -3
- package/dist/{chunk-W34A7KQG.js → chunk-PPWT33XU.js} +1 -1
- package/dist/{chunk-QZPY2RXY.js → chunk-PUO2BKUZ.js} +3 -3
- package/dist/{chunk-NOHWR7UT.js → chunk-Q4IUKGIS.js} +1 -1
- package/dist/{chunk-RW5M7JY2.js → chunk-RG4PHZ67.js} +1 -1
- package/dist/{chunk-MTDJSXND.js → chunk-RURRQTYH.js} +1 -1
- package/dist/{chunk-LKXQH4XD.js → chunk-RXUGNP3O.js} +1 -1
- package/dist/{chunk-E75O4U2I.js → chunk-SDBSHT6L.js} +3 -124
- package/dist/{chunk-KPFVA2SI.js → chunk-SGQPKEKW.js} +4 -16
- package/dist/{chunk-3ZNQIPRH.js → chunk-SLU5UQQS.js} +3 -3
- package/dist/{chunk-OOIY2XVC.js → chunk-SV3MQQSD.js} +5 -5
- package/dist/{chunk-TX2YKTQO.js → chunk-THZABUJL.js} +1 -1
- package/dist/{chunk-AMHFFBLI.js → chunk-TM2WCOMA.js} +1 -1
- package/dist/{chunk-7RSV5EHL.js → chunk-TQBQFD7K.js} +3 -3
- package/dist/{chunk-POADOTEW.js → chunk-UBFXWFC4.js} +1 -1
- package/dist/{chunk-FYFCGONI.js → chunk-UJ6ZPUJL.js} +15 -15
- package/dist/{chunk-WKSZI4YX.js → chunk-V3LLYTKR.js} +9 -9
- package/dist/{chunk-IDTAWA7V.js → chunk-VCYSB2LV.js} +1 -1
- package/dist/{chunk-CJDVDTA7.js → chunk-VT3G2KIY.js} +4 -4
- package/dist/{chunk-FWDXZBVV.js → chunk-W4XQUODP.js} +8 -8
- package/dist/{chunk-RATMFIJV.js → chunk-WAWHCBN7.js} +4 -4
- package/dist/{chunk-6I3MSNFZ.js → chunk-WQUEWYUC.js} +4 -4
- package/dist/{chunk-J5H6WR2A.js → chunk-YAJOMB4D.js} +1 -1
- package/dist/{chunk-XC4FEPLQ.js → chunk-YPIR4MGL.js} +8 -25
- package/dist/{chunk-EY4JXIF3.js → chunk-ZOS55UTZ.js} +1 -1
- package/dist/{claude-launcher-BF6EZD3J.js → claude-launcher-HQIBJDR5.js} +5 -5
- package/dist/{cli-TDXQHCF2.js → cli-DT7WP7S3.js} +166 -168
- package/dist/{command-YDTUAZUZ.js → command-HV32TX64.js} +47 -51
- package/dist/{config-HVJJFKV7.js → config-HMI672LY.js} +11 -11
- package/dist/{connect-cmd-PNPKCNOT.js → connect-cmd-UHR3P5RD.js} +10 -10
- package/dist/{container-start-M6A347Y5.js → container-start-2JKT434B.js} +43 -47
- package/dist/{context-cleanup-OZXSR3DS.js → context-cleanup-BLWTPDRE.js} +2 -2
- package/dist/{context-show-cmd-G7A2UHEM.js → context-show-cmd-3RU3YJ3Z.js} +11 -11
- package/dist/{control-plane-launch-JLQNFYYQ.js → control-plane-launch-GIZPALCW.js} +13 -13
- package/dist/{demo-record-cmd-JSLTJWZV.js → demo-record-cmd-PMWB2SPV.js} +7 -7
- package/dist/{demo-voice-cmd-UGUSIJWV.js → demo-voice-cmd-VGFHMBY2.js} +17 -17
- package/dist/{docker-QTNF3YGO.js → docker-RT6VSGFO.js} +9 -9
- package/dist/{doctor-ZPXVE46E.js → doctor-ANCGRL4E.js} +45 -49
- package/dist/{emit-artifact-cmd-BK6B64L7.js → emit-artifact-cmd-VA5WKCBE.js} +16 -16
- package/dist/{emit-cmd-ZTICDJW3.js → emit-cmd-G3HZHZYK.js} +5 -5
- package/dist/{emit-criteria-cmd-2CNVXEWX.js → emit-criteria-cmd-AWRTNA7U.js} +13 -13
- package/dist/{emit-demo-cmd-4XJAXL2E.js → emit-demo-cmd-TEAUWE5X.js} +17 -17
- package/dist/{emit-finding-cmd-2AZRE7UI.js → emit-finding-cmd-JLCPC6PO.js} +13 -13
- package/dist/{emit-step-cmd-54Z7FKNL.js → emit-step-cmd-Z5KGLT7I.js} +13 -13
- package/dist/{exec-client-EOUGSX2G.js → exec-client-5TKSDT4K.js} +7 -7
- package/dist/{find-unit-TFQHEPEJ.js → find-unit-SI6DIT7C.js} +12 -12
- package/dist/{findings-cmd-XEBPAELT.js → findings-cmd-ALFKVD4R.js} +13 -13
- package/dist/{fleet-readiness-LZ2DHKTV.js → fleet-readiness-P5UJOLUD.js} +12 -12
- package/dist/{governing-source-J2JBGYEL.js → governing-source-YSRMSXE4.js} +18 -18
- package/dist/{guest-init-TXNMQKI4.js → guest-init-SC6CEVBU.js} +8 -8
- package/dist/{hook-fast-OMRT3KDA.js → hook-fast-ICZZMG3H.js} +1 -1
- package/dist/{hook-install-FRK3VKWV.js → hook-install-AGUGR7XA.js} +2 -2
- package/dist/host-checks-EZ5EPRNX.js +79 -0
- package/dist/{pending-DORA7JYQ.js → host-key-2D6FFQUO.js} +7 -7
- package/dist/{image-tag-QIR5NFE6.js → image-tag-RPBPCOYI.js} +7 -7
- package/dist/index.js +4 -4
- package/dist/{init-I2AWF66M.js → init-4OKT7AIJ.js} +41 -45
- package/dist/{init-J4S65OAZ.js → init-IL2R4D7M.js} +41 -45
- package/dist/{init-agent-AVG5KJ5S.js → init-agent-GO46DL6K.js} +41 -45
- package/dist/{init-cmd-32J3RTIV.js → init-cmd-VBMZHQOV.js} +24 -25
- package/dist/{init-update-6MORKWIX.js → init-update-6VSWW6GU.js} +22 -22
- package/dist/{install-cmd-ZTOXZUYZ.js → install-cmd-2RQU2UWB.js} +14 -14
- package/dist/{launch-agent-6SOYTFN3.js → launch-agent-K6C24LDE.js} +14 -14
- package/dist/{layout-KXYCAXFE.js → layout-TGUCFL3Q.js} +2 -2
- package/dist/{logs-BAGVRH6O.js → logs-CUZL3AFN.js} +6 -6
- package/dist/loop-SU4GKRL6.js +89 -0
- package/dist/machine-GOQTHEDK.js +79 -0
- package/dist/{machine-skills-P4E7ZHHE.js → machine-skills-RFPVAKMP.js} +2 -2
- package/dist/{mcp-install-cmd-B2PYJST7.js → mcp-install-cmd-OPVS3ZQC.js} +2 -2
- package/dist/{mcp-serve-cmd-NODAY6N7.js → mcp-serve-cmd-UAO43IUU.js} +8 -8
- package/dist/{paths-E7MMZLIR.js → paths-5KIREBMX.js} +6 -6
- package/dist/{host-key-XGECHBJU.js → pending-H6UQEK2S.js} +7 -7
- package/dist/{pidfile-OTTUMCR5.js → pidfile-VEGMVMOM.js} +7 -7
- package/dist/{record-FQ5Y4QXN.js → record-L5Y6HKCD.js} +7 -7
- package/dist/{relay-X5KHTSMC.js → relay-ONQZR54R.js} +4 -4
- package/dist/{relay-protocol-WRHSJK7X.js → relay-protocol-42IKFMUY.js} +4 -4
- package/dist/{run-cmd-FQTEMGGF.js → run-cmd-ME3OAOUZ.js} +13 -13
- package/dist/{runner-agents-YA6Z3WAU.js → runner-agents-TJTD5U4S.js} +2 -2
- package/dist/{runner-env-YFKTTX6Z.js → runner-env-KR5SKMXP.js} +13 -13
- package/dist/{runner-identity-34YUL365.js → runner-identity-J7G2KHY3.js} +9 -9
- package/dist/{runner-key-DZFIC5TA.js → runner-key-3HGGWA73.js} +41 -45
- package/dist/{session-sender-UMDVOJYH.js → session-sender-Y2GJXX7H.js} +16 -16
- package/dist/{setup-cmd-2LYTDAO4.js → setup-cmd-IXBV77NY.js} +12 -12
- package/dist/{setup-wiring-WOG3GVJV.js → setup-wiring-E3P5LDAJ.js} +51 -52
- package/dist/{spec-cmd-QTTLZHHK.js → spec-cmd-GDIG3JPV.js} +14 -14
- package/dist/{starter-pack-YBK7UTHI.js → starter-pack-PRGAFNA4.js} +3 -3
- package/dist/{state-ITAPHJA5.js → state-5BT3FXM3.js} +7 -7
- package/dist/{status-RR57VBDY.js → status-37XD27H5.js} +41 -45
- package/dist/{sync-cmd-HSCMD5VV.js → sync-cmd-3BPR3UXM.js} +15 -15
- package/dist/update-steps-W7H6S7ZY.js +80 -0
- package/dist/{watch-VMHSVFQD.js → watch-EO7TD7O4.js} +15 -15
- package/dist/{work-claim-cmd-IVP3X776.js → work-claim-cmd-E66SANC5.js} +19 -19
- package/dist/{work-cmd-JSYWV6EZ.js → work-cmd-SO5CMIJX.js} +13 -13
- package/dist/{work-comment-cmd-NZH7KHPA.js → work-comment-cmd-PZWIE2SZ.js} +15 -15
- package/dist/{work-demo-cmd-IY32FWJJ.js → work-demo-cmd-SV5WYN4W.js} +13 -13
- package/dist/{work-logs-cmd-4S4SNOGM.js → work-logs-cmd-SNZ5QEVC.js} +13 -13
- package/dist/{work-mock-cmd-ZJLS23OP.js → work-mock-cmd-CSOJKS2Q.js} +13 -13
- package/dist/{work-needs-attention-cmd-FYWFQBPP.js → work-needs-attention-cmd-HADJ56RT.js} +13 -13
- package/dist/{work-no-change-cmd-JMO4NWMJ.js → work-no-change-cmd-M4BB2P3J.js} +13 -13
- package/dist/{work-open-pr-cmd-FDMFZCWQ.js → work-open-pr-cmd-XE2IJHGF.js} +14 -14
- package/dist/{work-pr-cmd-YWFH2IXD.js → work-pr-cmd-IY2BMU4X.js} +13 -13
- package/dist/{work-proofs-cmd-IYQIT77X.js → work-proofs-cmd-EAQJ3RT3.js} +15 -15
- package/dist/{work-proofs-record-4VPFC6R6.js → work-proofs-record-AQIHZQXG.js} +22 -22
- package/dist/{work-stop-cmd-JX63CEGC.js → work-stop-cmd-VHNBWARI.js} +13 -13
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer-build/references/agent-briefs.md +1 -2
- package/skill-pack/maintained/outerlayer-build/references/evidence.md +3 -3
- package/skill-pack/maintained/outerlayer-build/references/release.md +2 -2
- package/skill-pack/shipped.json +0 -4
- package/dist/host-checks-SLET5FMA.js +0 -83
- package/dist/loop-7222NF5Z.js +0 -93
- package/dist/machine-ENBKFB2P.js +0 -83
- package/dist/update-steps-524DMSWB.js +0 -84
|
@@ -1,50 +1,48 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { RUNNER_PROTOCOL } from './chunk-PDZEPH24.js';
|
|
4
|
-
import { MAX_TEST_FILE_BYTES, criteriaOf, hostItemsOf, loadCitationFinder, testFileMatcher, planCriteria, wholeItems, judgeGroups, failedItems, inCriteriaOrder, itemsSentence, testsByCriterion, oneLineReason, criterionInputs, parseJudgeAnswer, judgedItems, hostCheckOf } from './chunk-
|
|
4
|
+
import { MAX_TEST_FILE_BYTES, criteriaOf, hostItemsOf, loadCitationFinder, testFileMatcher, planCriteria, wholeItems, judgeGroups, failedItems, inCriteriaOrder, itemsSentence, testsByCriterion, oneLineReason, criterionInputs, parseJudgeAnswer, judgedItems, hostCheckOf } from './chunk-6FDFZ5UO.js';
|
|
5
5
|
import { sha256OfFile, downloadPinned, VoiceDownloadError } from './chunk-2PGI6RDE.js';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { writeDockerClientConfig } from './chunk-PTBEQA3N.js';
|
|
12
|
-
import { senderPidfile } from './chunk-N3BYRIUK.js';
|
|
13
|
-
import { installScrubContext } from './chunk-6UGP7HU3.js';
|
|
6
|
+
import { hasStoredCredential, storedCredentialVariables, storeAgentCredential, replaceFile, isAgentName, credentialFromStdin } from './chunk-FSKUJX43.js';
|
|
7
|
+
import { HELPER_PATH, HELPER_RECORD, DOCKERD_LOG } from './chunk-NA3IKIDG.js';
|
|
8
|
+
import { writeDockerClientConfig } from './chunk-4TD3JKQG.js';
|
|
9
|
+
import { senderPidfile } from './chunk-47X3DZS6.js';
|
|
10
|
+
import { installScrubContext } from './chunk-DG3VREJE.js';
|
|
14
11
|
import { readsJobState, READ_JOB_STATE_FORMATS, jobStateFormatOf } from './chunk-B4XB5QFD.js';
|
|
15
|
-
import {
|
|
12
|
+
import { runnerImageVersion } from './chunk-I3E5D2CQ.js';
|
|
13
|
+
import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey, configForJob } from './chunk-NAPAXLIB.js';
|
|
16
14
|
import { receiveFiles } from './chunk-NN33FYXG.js';
|
|
17
|
-
import { readDefaultBranchFiles, readDefaultBranchHead, buildRepositoryImage, readRepositoryRecipe, fetchCommit, prepareImageBuild, readBranchHead, diffBetween, 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-
|
|
15
|
+
import { readDefaultBranchFiles, readDefaultBranchHead, buildRepositoryImage, readRepositoryRecipe, fetchCommit, prepareImageBuild, readBranchHead, diffBetween, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-2ASWEY7Y.js';
|
|
16
|
+
import { FETCHED_DIR, toolsDockerfile, FETCHED_FFMPEG, FETCHED_GH, FETCHED_TINI, FETCHED_HEADLESS_SHELL, FETCHED_PLAYWRIGHT_FFMPEG, FETCHED_VOICE_DIR } from './chunk-PCBZGSPX.js';
|
|
19
17
|
import { isSameProcess, startTimeOf } from './chunk-JBJTC3UU.js';
|
|
20
18
|
import { currentCliBuild } from './chunk-OGFGZQA3.js';
|
|
21
|
-
import { vmExecArgs, runExec, execCapture, waitForAgent } from './chunk-
|
|
22
|
-
import { linkVsockSockets, GUEST_CID, socketPathProblem, vsockLinks, LEASE_LINK } from './chunk-
|
|
23
|
-
import {
|
|
19
|
+
import { vmExecArgs, runExec, execCapture, waitForAgent } from './chunk-LM34XIUW.js';
|
|
20
|
+
import { linkVsockSockets, GUEST_CID, socketPathProblem, vsockLinks, LEASE_LINK } from './chunk-E7Z3PFV7.js';
|
|
21
|
+
import { describeCallFailure, shortClaim, retrySend, formatDuration, commandWithShim, logStamp, createRunnerLog, removeKeptContext, formatClock, stageGovernedContext, keptContextTree, removeStagedContext, WORKFLOW_PERMISSION_REASON, refusalCode, SELF_GOVERNED, resolveGoverningSource, prefetchGovernedContext, controlPlaneTokenFailure, keepStagedContext, pinnedSourceOf, shimScript } from './chunk-W4XQUODP.js';
|
|
22
|
+
import { getJson, postJson, WorkCommandError, isSignatureRefusal } from './chunk-NAH7LEMX.js';
|
|
23
|
+
import { keyRunnerFactory, DEFAULT_WORKSPACE_KEEP_DAYS, optionalEgress, runnerCredentialProblem, builtinKind, readOnlyOption, readsOnly, isBuiltinContainer, isBuiltinVm, isBuiltinSandbox, egressSummary, allowHostProblem, systemClock, emptyEgressCounts, readOnlyRemoteOf, DEFAULT_CHECK_TIME_LIMIT_MINUTES, hostAllowed, sandboxTimeLimitMinutes, networkOf, DEFAULT_SETUP_MINUTES, imageBuildOf, machineSizeOf, sandboxSizeOf, DEFAULT_SAVED_STATE_MAX_BYTES } from './chunk-WQUEWYUC.js';
|
|
24
|
+
import { volumeBytes, formatBytes, allocatedBytes, DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, freeBytes } from './chunk-I32JMDTQ.js';
|
|
25
|
+
import { spawnRun, RUNNER_LABEL, BUILD_LABEL, said, NETWORK_HELPER_MEMORY, createDockerHost, builderSpec, readDu, firstLine, JUDGE_MAX_TURNS, writeJobFile, readJobFile, readJobFileChecked, NETWORK_READY_FILE, containerExecArgs, childEnvironment, JUDGE_DIR, JUDGE_ITEMS, answerFileName, hashJudgeProgram, judgeProgram, withAnswerProtocol, JUDGE_TREE, MAX_REPORT_BYTES, runnerLabelValue, parseSize, NODE, JUDGE_HOME, JUDGE_REPORT, judgeCommand, WORKSPACE_LABEL, COMMAND_DIR, prepareRunArgs, networkHelperName, containerRunArgs, judgeProgramRecord, mountableHome, homeCopyRunArgs, MAX_ITEMS_BYTES, identityRunArgs, parseIdentity, networkHelperRunArgs, identityScript, identityArgs, homeCopyScript, homeCopyArgs, SAVED_STATE_LABEL } from './chunk-OADERJBS.js';
|
|
26
|
+
import { universalImagePending, writeSanitizedRecipe, classifyProperties, RecipeError, DOCKER_FEATURE } from './chunk-Q4IUKGIS.js';
|
|
24
27
|
import { sanitizeTerminal, planArtifactUpload } from './chunk-V3NMSDOC.js';
|
|
25
|
-
import {
|
|
26
|
-
import { volumeBytes, formatBytes, allocatedBytes, DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, freeBytes } from './chunk-SKBISHLG.js';
|
|
27
|
-
import { spawnRun, RUNNER_LABEL, BUILD_LABEL, said, NETWORK_HELPER_MEMORY, createDockerHost, builderSpec, readDu, firstLine, JUDGE_MAX_TURNS, writeJobFile, readJobFile, readJobFileChecked, NETWORK_READY_FILE, containerExecArgs, childEnvironment, JUDGE_DIR, JUDGE_ITEMS, answerFileName, hashJudgeProgram, judgeProgram, withAnswerProtocol, JUDGE_TREE, MAX_REPORT_BYTES, runnerLabelValue, parseSize, NODE, JUDGE_HOME, JUDGE_REPORT, judgeCommand, WORKSPACE_LABEL, COMMAND_DIR, prepareRunArgs, networkHelperName, containerRunArgs, judgeProgramRecord, mountableHome, homeCopyRunArgs, MAX_ITEMS_BYTES, identityRunArgs, parseIdentity, networkHelperRunArgs, identityScript, identityArgs, homeCopyScript, homeCopyArgs, SAVED_STATE_LABEL } from './chunk-CS7DIQMJ.js';
|
|
28
|
-
import { universalImagePending, writeSanitizedRecipe, classifyProperties, RecipeError, DOCKER_FEATURE } from './chunk-NOHWR7UT.js';
|
|
29
|
-
import { sharedSkillNames, skillConflictMessage } from './chunk-TX2YKTQO.js';
|
|
28
|
+
import { sharedSkillNames, skillConflictMessage } from './chunk-THZABUJL.js';
|
|
30
29
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
31
|
-
import { signerFor } from './chunk-
|
|
32
|
-
import { RUNNER_FILE_MODE, sessionsDir, vmAssetsDir, RUNNER_DIR_MODE, workspacesDir, runnerDir, jobsDir, storeScopes, spoolDir, orgStoreIn, rootfsDir, imagesDir, builderCacheDiskPath, buildsDir, buildDir, ghConfigDir, runnerDirOfBuild, mirrorDir, orgHomeDir, vsockPath, builderConsolePath, diskTemplatesDir, jobConsolePath, deliveryDir, rootfsPathFor, SHIM_DIR } from './chunk-
|
|
33
|
-
import { dataPlaneOf, sandboxCallOf, SandboxError, parseIsolation, containerLocalAddress, destinationEnvironment, withHooksPath, startBuildServices, buildEnvironment, CHECKOUT_DIR, repositoriesOf, JOB_MOUNT, heldBuildAuthority, IMAGE_BUNDLES, writeTrustFiles, trustEnvironment, checkoutPath, UsageLedger, headerVariables, authorEnvironment, sharedUserEnvironment, withTunnelRecord, commitIdentityRecord, parseProxied, retryAfterMsOf, proxyEnvironment, sandboxSettingsFrom, createSandboxClient, hostKeyOf, buildAuthorityFor, readBundleScript, applyTrust, describeSandboxError, dropBuildAuthority, BUILD_HOME, RELAY_PORT, variablesFor, carried6to4, classifyAddress, primaryOf, variableForPath, droppedRequestHeaders, hasDotDotSegment, routeNameOf, withheldCredentialLine, providerMayAnswerLater, repositoryPath, lifecycleWorkdir, toolProxyEnvironment, withMiseVariables, isMiseVariableAllowed } from './chunk-
|
|
34
|
-
import { agentCredential, UNKNOWN_TRANSPORT_REASON, managedAgentCredential, RUNNER_WORDED_REASONS, UNKNOWN_TRACKING_REASON, RELAY_USER, builtInNames, 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, DOCKER_DESKTOP_REASON, RELAY_ID } from './chunk-
|
|
35
|
-
import { jobCredentialProblem, parseRunnerEnv, findAgentCredential, rejectedCredentialText, realFdStorePort, reportedAgents, removedAgentCredentialValues, currentAgentCredential, fdName } from './chunk-
|
|
30
|
+
import { signerFor } from './chunk-RXUGNP3O.js';
|
|
31
|
+
import { RUNNER_FILE_MODE, sessionsDir, vmAssetsDir, RUNNER_DIR_MODE, workspacesDir, runnerDir, jobsDir, storeScopes, spoolDir, orgStoreIn, rootfsDir, imagesDir, builderCacheDiskPath, buildsDir, buildDir, ghConfigDir, runnerDirOfBuild, mirrorDir, orgHomeDir, vsockPath, builderConsolePath, diskTemplatesDir, jobConsolePath, deliveryDir, rootfsPathFor, SHIM_DIR } from './chunk-2F4XVJUN.js';
|
|
32
|
+
import { dataPlaneOf, sandboxCallOf, SandboxError, parseIsolation, containerLocalAddress, destinationEnvironment, withHooksPath, startBuildServices, buildEnvironment, CHECKOUT_DIR, repositoriesOf, JOB_MOUNT, heldBuildAuthority, IMAGE_BUNDLES, writeTrustFiles, trustEnvironment, checkoutPath, UsageLedger, headerVariables, authorEnvironment, sharedUserEnvironment, withTunnelRecord, commitIdentityRecord, parseProxied, retryAfterMsOf, proxyEnvironment, sandboxSettingsFrom, createSandboxClient, hostKeyOf, buildAuthorityFor, readBundleScript, applyTrust, describeSandboxError, dropBuildAuthority, BUILD_HOME, RELAY_PORT, variablesFor, carried6to4, classifyAddress, primaryOf, variableForPath, droppedRequestHeaders, hasDotDotSegment, routeNameOf, withheldCredentialLine, providerMayAnswerLater, repositoryPath, lifecycleWorkdir, toolProxyEnvironment, withMiseVariables, isMiseVariableAllowed } from './chunk-TQBQFD7K.js';
|
|
33
|
+
import { agentCredential, UNKNOWN_TRANSPORT_REASON, managedAgentCredential, RUNNER_WORDED_REASONS, UNKNOWN_TRACKING_REASON, RELAY_USER, builtInNames, 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, DOCKER_DESKTOP_REASON, RELAY_ID } from './chunk-HTV3VRCB.js';
|
|
34
|
+
import { jobCredentialProblem, parseRunnerEnv, findAgentCredential, rejectedCredentialText, realFdStorePort, reportedAgents, removedAgentCredentialValues, currentAgentCredential, fdName } from './chunk-K2QAUWV4.js';
|
|
36
35
|
import { versionAtLeast } from './chunk-LIPSGE6C.js';
|
|
37
|
-
import { jobAgent, firecrackerArch, MICROVM_ARCHES, FIRECRACKER_VERSION, hostHelperPinned, builderDiskPinned, guestAssetsPinned, runnerAgentNamed, credentialForms, orList, credentialShapes, agentCommands, commandAgentId, defaultCommandFor, defaultCommandLine, runnerAgents, credentialAgent, stallReason, judgeAgent, agentErrorReason, 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, networkHelperPinned, NETWORK_HELPER_SHA256, universalImagePinned, defaultAgentId, strippedVariables, 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, agentMissingFromImage } from './chunk-
|
|
38
|
-
import { defaultAgents, parsePolicy,
|
|
36
|
+
import { jobAgent, firecrackerArch, MICROVM_ARCHES, FIRECRACKER_VERSION, hostHelperPinned, builderDiskPinned, guestAssetsPinned, runnerAgentNamed, credentialForms, orList, credentialShapes, agentCommands, commandAgentId, defaultCommandFor, defaultCommandLine, runnerAgents, credentialAgent, stallReason, judgeAgent, agentErrorReason, 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, networkHelperPinned, NETWORK_HELPER_SHA256, universalImagePinned, defaultAgentId, strippedVariables, 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, agentMissingFromImage } from './chunk-TM2WCOMA.js';
|
|
37
|
+
import { defaultAgents, parsePolicy, resolvePackRoot } from './chunk-SDBSHT6L.js';
|
|
39
38
|
import { PROVIDERS } from './chunk-7FAKHR6W.js';
|
|
40
|
-
import { MAINTAINED_SKILLS } from './chunk-VSBG7MMU.js';
|
|
41
39
|
import { resolveVersion } from './chunk-RA3O54FC.js';
|
|
42
40
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
43
41
|
import { scrubText, MIN_SCRUBBED_LITERAL, setCustomScrubbers, setLocalIdentity, setRepoRoot } from './chunk-2IDR4YTQ.js';
|
|
44
42
|
import { UNREVIEWED_FILES_ITEM_ID, CHECK_ITEM_REASON_MAX_LENGTH, CRITERIA_JUDGE_NAME, CheckItemsSchema, CODE_REVIEW_NAME, JUDGE_NOT_RUN_ITEM_ID, CHECK_ITEM_HREF_MAX_LENGTH } from './chunk-GBQRVYYE.js';
|
|
45
43
|
import { randomUUID, createHash, randomBytes } from 'crypto';
|
|
46
|
-
import { existsSync, statSync, appendFileSync, rmSync, mkdirSync, readFileSync, mkdtempSync, readdirSync, accessSync, constants, writeFileSync, openSync, closeSync, lstatSync, renameSync, rmdirSync, unlinkSync, chmodSync, createReadStream, readSync,
|
|
47
|
-
import { join, isAbsolute, dirname, delimiter, basename,
|
|
44
|
+
import { existsSync, statSync, appendFileSync, rmSync, mkdirSync, readFileSync, mkdtempSync, readdirSync, accessSync, constants, writeFileSync, openSync, closeSync, lstatSync, renameSync, rmdirSync, unlinkSync, chmodSync, createReadStream, readSync, truncateSync, cpSync, writeSync, realpathSync, createWriteStream, copyFileSync, fstatSync, linkSync } from 'fs';
|
|
45
|
+
import { join, isAbsolute, dirname, delimiter, basename, relative, sep, resolve } from 'path';
|
|
48
46
|
import { spawn, spawnSync } from 'child_process';
|
|
49
47
|
import { Readable, PassThrough, Duplex, Transform, Writable } from 'stream';
|
|
50
48
|
import { createServer, createConnection, connect, isIP } from 'net';
|
|
@@ -14164,7 +14162,6 @@ async function recoverLostJobs(jobsDirPath, config, deps) {
|
|
|
14164
14162
|
// src/runner/host-checks.ts
|
|
14165
14163
|
var MAX_JUDGE_FILES = 20;
|
|
14166
14164
|
var JUDGES_DIR = ".outerlayer/judges";
|
|
14167
|
-
var POLICY_FILE = ".outerlayer/policy.yaml";
|
|
14168
14165
|
function readInside(root, rel) {
|
|
14169
14166
|
const path = join(root, rel);
|
|
14170
14167
|
try {
|
|
@@ -14176,28 +14173,6 @@ function readInside(root, rel) {
|
|
|
14176
14173
|
return void 0;
|
|
14177
14174
|
}
|
|
14178
14175
|
}
|
|
14179
|
-
var MAINTAINED_BRIEF = /^\.(?:agents|outerlayer)\/skills\/(outerlayer-[a-z]+)\/([A-Za-z0-9_./-]+)$/;
|
|
14180
|
-
function readBrief(root, brief, log, tag = "") {
|
|
14181
|
-
const own = readInside(root, brief);
|
|
14182
|
-
const shipped = () => {
|
|
14183
|
-
const match = MAINTAINED_BRIEF.exec(brief);
|
|
14184
|
-
if (match === null || match[2].split("/").includes("..") || !MAINTAINED_SKILLS.includes(match[1])) return void 0;
|
|
14185
|
-
try {
|
|
14186
|
-
return readFileSync(join(resolvePackRoot(), "maintained", match[1], match[2]), "utf8");
|
|
14187
|
-
} catch {
|
|
14188
|
-
return void 0;
|
|
14189
|
-
}
|
|
14190
|
-
};
|
|
14191
|
-
if (own === void 0) return shipped();
|
|
14192
|
-
if (own.includes("citations.json") || own.includes("// proves")) {
|
|
14193
|
-
const current = shipped();
|
|
14194
|
-
if (current !== void 0) {
|
|
14195
|
-
log?.line(`${tag} ${brief} in the repository finds tests by citations, which the host does not write, so the judge follows the brief this CLI ships`);
|
|
14196
|
-
return current;
|
|
14197
|
-
}
|
|
14198
|
-
}
|
|
14199
|
-
return own;
|
|
14200
|
-
}
|
|
14201
14176
|
function judgeFilesIn(root) {
|
|
14202
14177
|
const dir = join(root, JUDGES_DIR);
|
|
14203
14178
|
let names;
|
|
@@ -14223,27 +14198,13 @@ function shippedJudgeBrief() {
|
|
|
14223
14198
|
return void 0;
|
|
14224
14199
|
}
|
|
14225
14200
|
}
|
|
14226
|
-
function criteriaJudgeCheck(
|
|
14227
|
-
if (brief !== null) return { name: CRITERIA_JUDGE_NAME, builtIn: true, judge: { brief, text: readBrief(root, brief, log, tag), subjects: "criteria" } };
|
|
14201
|
+
function criteriaJudgeCheck() {
|
|
14228
14202
|
return { name: CRITERIA_JUDGE_NAME, builtIn: true, judge: { brief: "the criteria-judge brief this CLI ships", text: shippedJudgeBrief(), subjects: "criteria" } };
|
|
14229
14203
|
}
|
|
14230
|
-
function asHostReads(file, base, log, tag) {
|
|
14231
|
-
const upgraded = upgradedStarterText(file.path, file.content, { base });
|
|
14232
|
-
if (upgraded === void 0) return file;
|
|
14233
|
-
log.line(`${tag} ${file.path} is an unedited copy an earlier release wrote, so it is read as this CLI writes it`);
|
|
14234
|
-
return { path: file.path, content: upgraded };
|
|
14235
|
-
}
|
|
14236
|
-
function testProofIn(root) {
|
|
14237
|
-
const policyText = readInside(root, POLICY_FILE);
|
|
14238
|
-
return parsePolicy(policyText === void 0 ? null : { path: POLICY_FILE, content: policyText }, []).testProof;
|
|
14239
|
-
}
|
|
14240
14204
|
function checksIn(root, log, tag) {
|
|
14241
|
-
const
|
|
14242
|
-
const policyText = readInside(root, POLICY_FILE);
|
|
14243
|
-
const policy = policyText === void 0 ? null : asHostReads({ path: POLICY_FILE, content: policyText }, base, log, tag);
|
|
14244
|
-
const loaded = parsePolicy(policy, judgeFilesIn(root));
|
|
14205
|
+
const loaded = parsePolicy(judgeFilesIn(root));
|
|
14245
14206
|
for (const problem of loaded.problems) log.error(`${tag} ${problem.file}: ${problem.problem}`);
|
|
14246
|
-
const checks =
|
|
14207
|
+
const checks = [criteriaJudgeCheck()];
|
|
14247
14208
|
for (const def of loaded.customs) checks.push({ name: def.id, judge: { brief: `${JUDGES_DIR}/${def.id}.md`, text: def.judge.instructions, subjects: def.judge.subjects } });
|
|
14248
14209
|
return { checks };
|
|
14249
14210
|
}
|
|
@@ -14331,4 +14292,4 @@ function makeRecorder(input) {
|
|
|
14331
14292
|
};
|
|
14332
14293
|
}
|
|
14333
14294
|
|
|
14334
|
-
export { ADOPTED_FETCH_RETRY_WINDOW_MS, ALREADY_RELEASED, AttemptLogBook, EXIT_CODE_FILE, GUEST_USAGE_INTERVAL_MS, HELPER_ENV, KIND_LABEL, LEASE_SECONDS, MICROVM_COMMAND_DIR, MIN_ENGINE_MAJOR, NO_LOG, PLACEHOLDER_MARKER, RENEW_INTERVAL_SECONDS, RunnerInitError, SandboxContainerStoppedError, SandboxGoneError, addRunnerAgent, agentCredentialCheck, agentCredentialFromFiles, appendCommandLog, attemptNote, builtOf, carriedProblems, checksIn, claimPermissionProblem, claimRun, commandEndReasonOf, commandLogOffset, containerCommandExec, createContainerRuntime, createGatewaySandboxClient, createHousekeepingDocker, createLeaseChannel, credentialVerdict, currentSkillCommand, decideHostBuildSkill, deliverCommitHooks, deliverContainerHooks, deliverExecMaven, deliverJobFiles, deliverSandboxHooks, describeHookEnd, describeMachineDocker, detectMachine, dropNonProblems, ensureFirecrackerAndJailer, ensureNetworkReady, ensureTunnel, environmentFor, execArgv, execCommandLine, fetchManagedBuildSettings, fetchManagedModelKey, filesAreCopied, finishJob, foldSample, formerSkillProblem, formerSkillQueues, freeItemDisksUntil, gatewayRefusalReason, gitRemoteFor, hasRunnerBlock, heldSandboxClaimsOf, helperFirecrackerNote, helperSocketPath, holdManagedBuildSettings, holdManagedKey, holdsHostDisk, hookLimitsFor, hostCommandEnvironment, hostEnvironment, housekeepingDockerIfReachable, inSandbox, inTeardown, installTrust, isContainerTracked, isGroupAlive, isIdle, isIsolatedJob, isMicroVmTracked, isPlaceholderCommand, isReadable, isSandboxTracked, isTimedOut, isTracked, isUnfinished, issueText, itemScope, itemTag, jobEnv, jobRecordsClaim, jobTimeLimitMinutes, judgeCredential, judgeProbe, keepGhConfigCurrent, keptCommitsLine, keptSandboxIds, keptSessionDir, leaseExpiresAtMs, leaseTimeLeftMs, lifecycleFailureReason, lifecycleSteps, listAdoptableJobs, listItemDisks, listTrackedJobs, listUnreadableJobs, listenOnBroker, makeRecorder, managedBuildSettingsFor, markdownSection, measureDisk, mergeAnswers, microVmArchSupported, microVmAssetsPinned, microVmCommandLine, microVmOomKills, missingJudgeCredential, missingPermissionFix, missingPermissionOf, modellessProblem, modellessQueues, nativeWindowsSandboxRefusal, needsAgentCredential, needsBuildSkill, needsRenew, noteMissingCredential, 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, reviewFiles, runCommand, runCommandFor, runCommandOf, runDecision, runHook, runHousekeeping, runRunnerInit, runWithSpawn, sampleGuest, savedStatesDir, scrubReason, serveLease, sessionGuestOfContainer, sessionGuestOfMicroVm, sessionGuestOfSandbox, setStage, setUpRunnerCgroup, shellQuote, startHostServices, startMicroVmCommand, startSandboxCommand, startSender, startServicesFor, stopOrphanedMicroVms, stoppedHelperReason, storedProblemsText, stripTerminalControls, superviseRuns, supportsContainerBuilds, supportsMicroVmBuilds, sweepImageBuilders, sweepSandboxes, territories, territoryBrief,
|
|
14295
|
+
export { ADOPTED_FETCH_RETRY_WINDOW_MS, ALREADY_RELEASED, AttemptLogBook, EXIT_CODE_FILE, GUEST_USAGE_INTERVAL_MS, HELPER_ENV, KIND_LABEL, LEASE_SECONDS, MICROVM_COMMAND_DIR, MIN_ENGINE_MAJOR, NO_LOG, PLACEHOLDER_MARKER, RENEW_INTERVAL_SECONDS, RunnerInitError, SandboxContainerStoppedError, SandboxGoneError, addRunnerAgent, agentCredentialCheck, agentCredentialFromFiles, appendCommandLog, attemptNote, builtOf, carriedProblems, checksIn, claimPermissionProblem, claimRun, commandEndReasonOf, commandLogOffset, containerCommandExec, createContainerRuntime, createGatewaySandboxClient, createHousekeepingDocker, createLeaseChannel, credentialVerdict, currentSkillCommand, decideHostBuildSkill, deliverCommitHooks, deliverContainerHooks, deliverExecMaven, deliverJobFiles, deliverSandboxHooks, describeHookEnd, describeMachineDocker, detectMachine, dropNonProblems, ensureFirecrackerAndJailer, ensureNetworkReady, ensureTunnel, environmentFor, execArgv, execCommandLine, fetchManagedBuildSettings, fetchManagedModelKey, filesAreCopied, finishJob, foldSample, formerSkillProblem, formerSkillQueues, freeItemDisksUntil, gatewayRefusalReason, gitRemoteFor, hasRunnerBlock, heldSandboxClaimsOf, helperFirecrackerNote, helperSocketPath, holdManagedBuildSettings, holdManagedKey, holdsHostDisk, hookLimitsFor, hostCommandEnvironment, hostEnvironment, housekeepingDockerIfReachable, inSandbox, inTeardown, installTrust, isContainerTracked, isGroupAlive, isIdle, isIsolatedJob, isMicroVmTracked, isPlaceholderCommand, isReadable, isSandboxTracked, isTimedOut, isTracked, isUnfinished, issueText, itemScope, itemTag, jobEnv, jobRecordsClaim, jobTimeLimitMinutes, judgeCredential, judgeProbe, keepGhConfigCurrent, keptCommitsLine, keptSandboxIds, keptSessionDir, leaseExpiresAtMs, leaseTimeLeftMs, lifecycleFailureReason, lifecycleSteps, listAdoptableJobs, listItemDisks, listTrackedJobs, listUnreadableJobs, listenOnBroker, makeRecorder, managedBuildSettingsFor, markdownSection, measureDisk, mergeAnswers, microVmArchSupported, microVmAssetsPinned, microVmCommandLine, microVmOomKills, missingJudgeCredential, missingPermissionFix, missingPermissionOf, modellessProblem, modellessQueues, nativeWindowsSandboxRefusal, needsAgentCredential, needsBuildSkill, needsRenew, noteMissingCredential, 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, reviewFiles, runCommand, runCommandFor, runCommandOf, runDecision, runHook, runHousekeeping, runRunnerInit, runWithSpawn, sampleGuest, savedStatesDir, scrubReason, serveLease, sessionGuestOfContainer, sessionGuestOfMicroVm, sessionGuestOfSandbox, setStage, setUpRunnerCgroup, shellQuote, startHostServices, startMicroVmCommand, startSandboxCommand, startSender, startServicesFor, stopOrphanedMicroVms, stoppedHelperReason, storedProblemsText, stripTerminalControls, superviseRuns, supportsContainerBuilds, supportsMicroVmBuilds, sweepImageBuilders, sweepSandboxes, territories, territoryBrief, timeoutAfter, treeFileText, unfinishedJobs, unreviewedFiles, unreviewedItem, vmAlive, withJobTimeLimit, withTunnelLog, workRestoredEnv, workdirProblem, writeGuestGhConfig, writeRunnerInit };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { criteriaOf, loadCitationFinder, testFileMatcher, hostItemsOf, runnerMatcher, NO_VERDICT_REASON } from './chunk-
|
|
4
|
-
import { WorkCommandError, resolveCredentials, getJson } from './chunk-
|
|
3
|
+
import { criteriaOf, loadCitationFinder, testFileMatcher, hostItemsOf, runnerMatcher, NO_VERDICT_REASON } from './chunk-6FDFZ5UO.js';
|
|
4
|
+
import { WorkCommandError, resolveCredentials, getJson } from './chunk-NAH7LEMX.js';
|
|
5
5
|
import { sanitizeTerminal } from './chunk-V3NMSDOC.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { defaultFetch } from './chunk-
|
|
7
|
+
import { defaultFetch } from './chunk-ZOS55UTZ.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';
|
|
11
|
-
import { parseProofsConfig } from './chunk-
|
|
11
|
+
import { parseProofsConfig } from './chunk-SDBSHT6L.js';
|
|
12
12
|
import { resolveRepoIdentity } from './chunk-2IDR4YTQ.js';
|
|
13
13
|
import { inferArtifactKind, mediaTypeForArtifactPath, WORK_ITEM_COMMENT_MAX_BODY_LENGTH, parseJunit, isTestSourcePath } from './chunk-GBQRVYYE.js';
|
|
14
14
|
import { spawnSync } from 'child_process';
|
|
15
15
|
import { createHash } from 'crypto';
|
|
16
|
-
import { readFileSync, readdirSync, lstatSync,
|
|
16
|
+
import { readFileSync, readdirSync, lstatSync, existsSync, statSync } from 'fs';
|
|
17
17
|
import { relative, join, resolve, dirname } from 'path';
|
|
18
18
|
|
|
19
19
|
createRequire(import.meta.url);
|
|
@@ -126,17 +126,11 @@ function governingDir(cwd) {
|
|
|
126
126
|
if (places === void 0) return void 0;
|
|
127
127
|
return readDeliveryRecord(places.common)?.dir ?? places.root;
|
|
128
128
|
}
|
|
129
|
-
async function testProofMode(cwd) {
|
|
130
|
-
const dir = governingDir(cwd);
|
|
131
|
-
if (dir === void 0) return "any";
|
|
132
|
-
const { testProofIn } = await import('./host-checks-SLET5FMA.js');
|
|
133
|
-
return testProofIn(dir);
|
|
134
|
-
}
|
|
135
129
|
async function judgeCheckName(cwd) {
|
|
136
130
|
const dir = governingDir(cwd);
|
|
137
131
|
if (dir === void 0) return {};
|
|
138
132
|
if (!existsSync(dir)) return { note: `the governed context at ${dir} is not readable` };
|
|
139
|
-
const { checksIn } = await import('./host-checks-
|
|
133
|
+
const { checksIn } = await import('./host-checks-EZ5EPRNX.js');
|
|
140
134
|
const quiet = { line: () => void 0, error: () => void 0 };
|
|
141
135
|
const check = checksIn(dir, quiet, "").checks.find((c) => c.judge.subjects === "criteria");
|
|
142
136
|
return check === void 0 ? {} : { name: check.name };
|
|
@@ -350,7 +344,7 @@ async function runWorkProofs(opts) {
|
|
|
350
344
|
throw new WorkCommandError("cannot read the checkout's HEAD. Run this inside the git checkout, or pass the head explicitly.");
|
|
351
345
|
}
|
|
352
346
|
const cwd = opts.cwd ?? process.cwd();
|
|
353
|
-
const tests = body.criteria?.testProofsReported === true
|
|
347
|
+
const tests = body.criteria?.testProofsReported === true;
|
|
354
348
|
const declared = classifyProofs(body, checkoutHead, { tests });
|
|
355
349
|
const unproven = await findUnproven({ item: body, cwd, head: checkoutHead });
|
|
356
350
|
const entries = [...declared, ...unproven.entries];
|
|
@@ -372,7 +366,7 @@ async function runWorkProofs(opts) {
|
|
|
372
366
|
async function runWorkProofsCommand(opts) {
|
|
373
367
|
try {
|
|
374
368
|
if (opts.record || opts.check) {
|
|
375
|
-
const { runWorkProofsRecord } = await import('./work-proofs-record-
|
|
369
|
+
const { runWorkProofsRecord } = await import('./work-proofs-record-AQIHZQXG.js');
|
|
376
370
|
const result2 = await runWorkProofsRecord(opts);
|
|
377
371
|
process.exitCode = result2.exitCode;
|
|
378
372
|
return;
|
|
@@ -390,4 +384,4 @@ async function runWorkProofsCommand(opts) {
|
|
|
390
384
|
}
|
|
391
385
|
}
|
|
392
386
|
|
|
393
|
-
export { classifyProofs, classifyProofsAt, freshXmlFiles, joinResults, kindProblem, otherPullRequestHeads, ownPullRequest, proofsCommentBody, proofsCommentId, renderProofRow, resolveProofsItem, runWorkProofs, runWorkProofsCommand, testFilesOf,
|
|
387
|
+
export { classifyProofs, classifyProofsAt, freshXmlFiles, joinResults, kindProblem, otherPullRequestHeads, ownPullRequest, proofsCommentBody, proofsCommentId, renderProofRow, resolveProofsItem, runWorkProofs, runWorkProofsCommand, testFilesOf, testSelectors };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { defaultAgents, laptopAgents, contextAgents, userSkillFolderIn, loadMachineSkillFiles, resolvePackRoot } from './chunk-
|
|
3
|
+
import { defaultAgents, laptopAgents, contextAgents, userSkillFolderIn, loadMachineSkillFiles, resolvePackRoot } from './chunk-SDBSHT6L.js';
|
|
4
4
|
import { MAINTAINED_SKILLS, maintainedLineVersion } from './chunk-VSBG7MMU.js';
|
|
5
5
|
import { resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
6
6
|
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 { legacyAgent, createNodeAgentIO, ADAPTER_FACTORIES } from './chunk-
|
|
3
|
+
import { legacyAgent, createNodeAgentIO, ADAPTER_FACTORIES } from './chunk-SDBSHT6L.js';
|
|
4
4
|
|
|
5
5
|
createRequire(import.meta.url);
|
|
6
6
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { TUNNEL_PORT, BRIDGE_ADDRESS, BRIDGE_CIDR } from './chunk-
|
|
3
|
+
import { TUNNEL_PORT, BRIDGE_ADDRESS, BRIDGE_CIDR } from './chunk-4TD3JKQG.js';
|
|
4
4
|
import { startTimeOf } from './chunk-JBJTC3UU.js';
|
|
5
|
-
import { EXEC_PORT } from './chunk-
|
|
6
|
-
import { RELAY_PORT } from './chunk-
|
|
5
|
+
import { EXEC_PORT } from './chunk-E7Z3PFV7.js';
|
|
6
|
+
import { RELAY_PORT } from './chunk-TQBQFD7K.js';
|
|
7
7
|
import { spawn, spawnSync } from 'child_process';
|
|
8
8
|
import { symlinkSync, lstatSync, writeFileSync, chmodSync, mkdirSync, existsSync } from 'fs';
|
|
9
9
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { detectActiveSession } from './chunk-
|
|
4
|
-
import { autoConnect } from './chunk-
|
|
5
|
-
import { workPageUrl } from './chunk-
|
|
3
|
+
import { detectActiveSession } from './chunk-OJZ4TIKW.js';
|
|
4
|
+
import { autoConnect } from './chunk-AA2K5FC6.js';
|
|
5
|
+
import { workPageUrl } from './chunk-V3LLYTKR.js';
|
|
6
6
|
import { sanitizeTerminal } from './chunk-V3NMSDOC.js';
|
|
7
7
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
8
|
-
import { resolveGatewayCredentials, unauthorizedMessage, defaultFetch } from './chunk-
|
|
9
|
-
import { signRunnerRequest } from './chunk-
|
|
8
|
+
import { resolveGatewayCredentials, unauthorizedMessage, defaultFetch } from './chunk-ZOS55UTZ.js';
|
|
9
|
+
import { signRunnerRequest } from './chunk-RXUGNP3O.js';
|
|
10
10
|
import { readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
11
11
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
12
12
|
import { NATIVE_AGENTS, LEGACY_AGENT, isRunnerAgent, runnerAgentIds, isModelId, MODEL_ID_RULE, agentLabel } from './chunk-7FAKHR6W.js';
|
|
@@ -586,7 +586,7 @@ async function runWorkLinkSession(opts) {
|
|
|
586
586
|
return await linkSession(opts);
|
|
587
587
|
} catch (err) {
|
|
588
588
|
if (opts.logFailures) {
|
|
589
|
-
const { logHookError } = await import('./hook-fast-
|
|
589
|
+
const { logHookError } = await import('./hook-fast-ICZZMG3H.js');
|
|
590
590
|
const reason = err instanceof Error ? err.message : String(err);
|
|
591
591
|
logHookError(opts.home ?? homeFromEnv(opts.env ?? process.env), new Error(`work link-session #${opts.number} failed: ${reason}`));
|
|
592
592
|
}
|
|
@@ -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-WQUEWYUC.js';
|
|
4
|
+
import { orgHomeDir } from './chunk-2F4XVJUN.js';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
7
7
|
|
|
@@ -678,7 +678,7 @@ async function missingRenewalHookContext(home, cwd, codec) {
|
|
|
678
678
|
try {
|
|
679
679
|
const event = codec.events.find((name) => kindOf(codec, name) === "tool-used");
|
|
680
680
|
if (event === void 0) return void 0;
|
|
681
|
-
const { hookRegistered } = await import('./hook-install-
|
|
681
|
+
const { hookRegistered } = await import('./hook-install-AGUGR7XA.js');
|
|
682
682
|
const registered = hookRegistered(event, { home, cwd });
|
|
683
683
|
if (registered !== false) return void 0;
|
|
684
684
|
return `This install has no ${event} hook, so this session's work-item lease will never be renewed while it works and may be lost to another worker mid-session. Run \`${cliInvocation()} init\` to register it.`;
|
|
@@ -878,11 +878,11 @@ async function missingControlPlane(cwd, sessionId, home, env) {
|
|
|
878
878
|
const dirs = findGitDirs(cwd);
|
|
879
879
|
if (dirs === void 0) return void 0;
|
|
880
880
|
if (existsSync(join(dirs.gitCommonDir, "outerlayer", "materialized.json")) || hasExcludeBlock(dirs.gitCommonDir)) {
|
|
881
|
-
const { cleanupEarlierCopies } = await import('./context-cleanup-
|
|
881
|
+
const { cleanupEarlierCopies } = await import('./context-cleanup-BLWTPDRE.js');
|
|
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-GIZPALCW.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,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { resolveDevcontainerCli, devcontainerBuildInvocation, universalImagePending, RecipeError } from './chunk-
|
|
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-
|
|
7
|
-
import { primaryDestination, JOIN_DIR, RELAY_ID, JOIN_SOCKET, GATEWAY_PORT, TARGET_GATEWAY, GATEWAY_SOCKET, destinationTarget, providerDestinations, RELAY_USER } from './chunk-
|
|
8
|
-
import { judgeAgent, universalImagePinned, UNIVERSAL_IMAGE, BUILDKIT_IMAGE } from './chunk-
|
|
9
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { resolveDevcontainerCli, devcontainerBuildInvocation, universalImagePending, RecipeError } from './chunk-Q4IUKGIS.js';
|
|
4
|
+
import { ensureHostKey } from './chunk-RXUGNP3O.js';
|
|
5
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir } from './chunk-2F4XVJUN.js';
|
|
6
|
+
import { BUILD_HOME, JOB_MOUNT, RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-TQBQFD7K.js';
|
|
7
|
+
import { primaryDestination, JOIN_DIR, RELAY_ID, JOIN_SOCKET, GATEWAY_PORT, TARGET_GATEWAY, GATEWAY_SOCKET, destinationTarget, providerDestinations, RELAY_USER } from './chunk-HTV3VRCB.js';
|
|
8
|
+
import { judgeAgent, universalImagePinned, UNIVERSAL_IMAGE, BUILDKIT_IMAGE } from './chunk-TM2WCOMA.js';
|
|
9
|
+
import { defaultAgents } from './chunk-SDBSHT6L.js';
|
|
10
10
|
import { PROVIDERS } from './chunk-7FAKHR6W.js';
|
|
11
11
|
import { compareVersions } from './chunk-2IDR4YTQ.js';
|
|
12
12
|
import { createHash } from 'crypto';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { defaultAgents } from './chunk-SDBSHT6L.js';
|
|
4
4
|
import { openSync, fstatSync, readSync, closeSync } from 'fs';
|
|
5
5
|
import { join } from 'path';
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
4
|
-
import { skillDir, emitTree, targetIds, classifyTree, emitBuilders, defaultAgents, FORMER_MAINTAINED_NAMES, isMaintainedCopy } from './chunk-
|
|
4
|
+
import { skillDir, emitTree, targetIds, classifyTree, emitBuilders, defaultAgents, FORMER_MAINTAINED_NAMES, isMaintainedCopy } from './chunk-SDBSHT6L.js';
|
|
5
5
|
import { readFileSync, existsSync, unlinkSync, rmdirSync, readdirSync } from 'fs';
|
|
6
6
|
import { join, dirname, relative, sep } from 'path';
|
|
7
7
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { PROXY_WARNING_FLAG } from './chunk-
|
|
4
|
-
import { RELAY_ID, RELAY_USER } from './chunk-
|
|
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-
|
|
6
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { PROXY_WARNING_FLAG } from './chunk-TQBQFD7K.js';
|
|
4
|
+
import { RELAY_ID, RELAY_USER } from './chunk-HTV3VRCB.js';
|
|
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-TM2WCOMA.js';
|
|
6
|
+
import { defaultAgents } from './chunk-SDBSHT6L.js';
|
|
7
7
|
|
|
8
8
|
createRequire(import.meta.url);
|
|
9
9
|
|
|
@@ -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-LAZ35DAO.js';
|
|
4
|
+
import { UNIT_MARKER } from './chunk-DC4NUJ72.js';
|
|
5
|
+
import { runnerDir } from './chunk-2F4XVJUN.js';
|
|
6
6
|
import { createHash } from 'crypto';
|
|
7
7
|
import { join } from 'path';
|
|
8
8
|
|
|
@@ -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-2F4XVJUN.js';
|
|
5
5
|
import { existsSync, readFileSync, mkdirSync, writeFileSync, rmSync } from 'fs';
|
|
6
6
|
import { dirname } from 'path';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { stripTerminalControls } from './chunk-
|
|
4
|
-
import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-
|
|
3
|
+
import { stripTerminalControls } from './chunk-LAZ35DAO.js';
|
|
4
|
+
import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-I3E5D2CQ.js';
|
|
5
5
|
import { readFileSync } from 'fs';
|
|
6
6
|
|
|
7
7
|
createRequire(import.meta.url);
|
|
@@ -55,7 +55,7 @@ function envNamesOf(row, imageEnv) {
|
|
|
55
55
|
return [...new Set(names)].sort();
|
|
56
56
|
}
|
|
57
57
|
async function readOwnContainer(deps = {}) {
|
|
58
|
-
const run = deps.run ?? (await import('./docker-
|
|
58
|
+
const run = deps.run ?? (await import('./docker-RT6VSGFO.js')).spawnRun;
|
|
59
59
|
const ids = candidateIds(deps.env ?? process.env, deps.readFile ?? ((path) => readFileSync(path, "utf8")));
|
|
60
60
|
if (ids.length === 0) return { ok: false, reason: "the runner cannot tell which container it runs in: HOSTNAME is empty and /proc/self/mountinfo names none" };
|
|
61
61
|
let problem = "";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_DIGEST } from './chunk-
|
|
3
|
+
import { UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_DIGEST } from './chunk-TM2WCOMA.js';
|
|
4
4
|
import { existsSync, readdirSync, readFileSync, lstatSync, realpathSync, writeFileSync } from 'fs';
|
|
5
5
|
import { join, resolve, relative, dirname, sep, basename } from 'path';
|
|
6
6
|
import { createRequire as createRequire$1 } from 'module';
|
|
@@ -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-2F4XVJUN.js';
|
|
4
4
|
import { mkdirSync, writeFileSync, renameSync, existsSync, readFileSync } from 'fs';
|
|
5
5
|
import { dirname, join } from 'path';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
3
|
+
import { runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-2F4XVJUN.js';
|
|
4
4
|
import { readlinkSync, realpathSync, mkdirSync, unlinkSync, symlinkSync, renameSync, readFileSync, writeFileSync, rmSync, existsSync, readdirSync } from 'fs';
|
|
5
5
|
import { join, basename, sep, resolve } from 'path';
|
|
6
6
|
|
|
@@ -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-2F4XVJUN.js';
|
|
4
4
|
import { generateKeyPairSync, createPrivateKey, createPublicKey, sign } from 'crypto';
|
|
5
5
|
import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'fs';
|
|
6
6
|
|