@outerlayer/cli 0.40.0-next.20261116030824 → 0.40.0-next.20261116035218
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-KUOWKHAG.js → agent-setup-YTNSQJRL.js} +19 -19
- package/dist/{agent-subcommand-BIZMU7EZ.js → agent-subcommand-UKKTMST3.js} +4 -4
- package/dist/{bridge-6IBWOFEJ.js → bridge-NSKQ7OMW.js} +7 -7
- package/dist/{build-3BX3EJC3.js → build-QAJJNEHA.js} +13 -13
- package/dist/{build-disk-KN7OJLKB.js → build-disk-QJXWKNIT.js} +11 -11
- package/dist/build-info.json +1 -1
- package/dist/{builder-DOJUSWGH.js → builder-BY3ICSMA.js} +10 -10
- package/dist/caller-QGY2IGAL.js +23 -0
- package/dist/{check-APZ57YHI.js → check-UPWM6AJX.js} +55 -55
- package/dist/{chunk-SYFVCV2V.js → chunk-2HGS4N64.js} +2 -2
- package/dist/{chunk-YDB72T5Z.js → chunk-2RXPL7QY.js} +9 -9
- package/dist/{chunk-RNCCRUT5.js → chunk-2ZF62BAK.js} +1 -1
- package/dist/{chunk-2PRLSABK.js → chunk-3JCZM2IZ.js} +3 -3
- package/dist/{chunk-E5PWV6H2.js → chunk-3Q3BM2MK.js} +6 -6
- package/dist/{chunk-LFYNOKS5.js → chunk-3S6X6OJ5.js} +7 -7
- package/dist/{chunk-HFVTLCI7.js → chunk-4IYZRQ77.js} +5 -5
- package/dist/{chunk-IIYDYHS5.js → chunk-4JBEGQFS.js} +3 -3
- package/dist/{chunk-IRFN2ZHJ.js → chunk-4KCWAP5L.js} +1 -1
- package/dist/{chunk-ZBD2YOGH.js → chunk-4QXABXJR.js} +1 -1
- package/dist/{chunk-PIXDSHVH.js → chunk-5RKCQYXR.js} +4 -4
- package/dist/{chunk-RIITHK4F.js → chunk-5U6AUT4A.js} +1 -1
- package/dist/{chunk-BMMSIGV4.js → chunk-66DSYZNV.js} +1 -1
- package/dist/{chunk-PT3DOY6P.js → chunk-6TJD5B4O.js} +1 -1
- package/dist/{chunk-6FHMWJHK.js → chunk-754IBIFB.js} +1 -1
- package/dist/{chunk-ZCOIE7ZJ.js → chunk-A32NRZ74.js} +2 -2
- package/dist/{chunk-LPQJ5LXP.js → chunk-A43LWCIT.js} +1124 -282
- package/dist/{chunk-PSKNTGC3.js → chunk-A5DPSY2H.js} +3 -3
- package/dist/{chunk-EGYZGB2P.js → chunk-ASYPP2M6.js} +3 -3
- package/dist/{chunk-MGN525G6.js → chunk-BP2FEQPW.js} +1 -1
- package/dist/{chunk-IIMASDNH.js → chunk-BXFR2IQJ.js} +3 -3
- package/dist/{chunk-EVMSDUK7.js → chunk-C2AA5SKC.js} +5 -5
- package/dist/{chunk-WMXJ3XBP.js → chunk-CA6WQIZX.js} +2 -2
- package/dist/{chunk-LCZGMJXD.js → chunk-DJCZ26UT.js} +3 -3
- package/dist/{chunk-R3RALX7H.js → chunk-DWUDIRL2.js} +5 -5
- package/dist/{chunk-RGG4J24Z.js → chunk-EJBO6QDQ.js} +10 -10
- package/dist/{chunk-IKGAVS5X.js → chunk-EM6PU2AC.js} +3 -1
- package/dist/{chunk-L7GUBTCP.js → chunk-EOE7QIQD.js} +3 -3
- package/dist/{chunk-VXU5IAEQ.js → chunk-EOFA37VL.js} +4 -4
- package/dist/{chunk-SF2TBJBP.js → chunk-F3J4UKBF.js} +1 -1
- package/dist/{chunk-XOJRFV3U.js → chunk-FWKYG2DQ.js} +3 -3
- package/dist/{chunk-E54LIYIR.js → chunk-GN6TT6WD.js} +40 -39
- package/dist/{chunk-ZDXEZPRM.js → chunk-GWEDQ6WA.js} +6 -6
- package/dist/{chunk-YN6EKURT.js → chunk-HATKUSIR.js} +4 -4
- package/dist/{chunk-T5MBLAIO.js → chunk-HELCGKC3.js} +1 -1
- package/dist/{chunk-SEKJKOOB.js → chunk-HNQIZ3Z7.js} +3 -3
- package/dist/{chunk-PLVHIQJN.js → chunk-HS45JMDJ.js} +76 -14
- package/dist/{chunk-YYSW7OKI.js → chunk-HV3ERHDD.js} +4 -4
- package/dist/{chunk-BFZDVD7T.js → chunk-HW62ZXKA.js} +5 -5
- package/dist/{chunk-Y6FI3HCQ.js → chunk-IISG755E.js} +1 -1
- package/dist/{chunk-2YKSBXWU.js → chunk-IOPPIKGX.js} +4 -4
- package/dist/{chunk-4SAXGCD2.js → chunk-IS6JMEQQ.js} +5 -5
- package/dist/{chunk-XDBHRWPQ.js → chunk-JGUGZA3I.js} +2 -2
- package/dist/{chunk-7PZDPISM.js → chunk-JIMISJV2.js} +62 -2
- package/dist/{chunk-WKPOKOUQ.js → chunk-JTTFL5SB.js} +9 -9
- package/dist/{chunk-N7PG5JAD.js → chunk-KDASHEYT.js} +1 -1
- package/dist/{chunk-7GJGSADZ.js → chunk-KEQ6ZVKI.js} +1 -1
- package/dist/{chunk-M53UNEO6.js → chunk-LA66NWUO.js} +1 -1
- package/dist/{chunk-GODZ6QAN.js → chunk-LEYPTQSX.js} +3 -3
- package/dist/{chunk-QFAH525L.js → chunk-LZQN5PXB.js} +2 -2
- package/dist/{chunk-RRRW2M4B.js → chunk-MCXT33TK.js} +6 -6
- package/dist/{chunk-XOKGCNSG.js → chunk-MFRDSVMG.js} +1 -1
- package/dist/{chunk-IZHE3WOW.js → chunk-MP2Z5ALN.js} +2 -2
- package/dist/{chunk-TQ3PXYPJ.js → chunk-MUAHDK6Y.js} +8 -8
- package/dist/{chunk-ISRMDI2H.js → chunk-NFXQXWIL.js} +5 -5
- package/dist/{chunk-DGCF5LVP.js → chunk-NOAJUMDK.js} +16 -16
- package/dist/{chunk-PG4UW6QW.js → chunk-NYXPJ2EM.js} +1 -1
- package/dist/{chunk-HG7RVRAY.js → chunk-O32OL4Z7.js} +73 -38
- package/dist/{chunk-5SKYWQ64.js → chunk-OH34EJKB.js} +1 -1
- package/dist/{chunk-BFKSIA3V.js → chunk-OHZC2YUD.js} +2 -2
- package/dist/{chunk-TCPWJBH5.js → chunk-P2DC7QO7.js} +8 -8
- package/dist/{chunk-OC3BSNNE.js → chunk-Q2P2PCQE.js} +2 -2
- package/dist/{chunk-TQPFWWND.js → chunk-Q7AP5O5B.js} +3 -3
- package/dist/{chunk-NDDXBJMX.js → chunk-QGAX44JA.js} +1 -1
- package/dist/{chunk-BAPRSDUR.js → chunk-QLNWEME3.js} +7 -7
- package/dist/{chunk-UTSBE4MP.js → chunk-RAKJRPPQ.js} +1 -1
- package/dist/{chunk-55GT5FLR.js → chunk-RLKCG6MX.js} +1 -1
- package/dist/{chunk-TZZU6IAM.js → chunk-RP4A25IW.js} +1 -1
- package/dist/{chunk-53CDP7AH.js → chunk-SAS6ZL4X.js} +4 -4
- package/dist/{chunk-BD254PYH.js → chunk-UEB6ENFZ.js} +1 -1
- package/dist/{chunk-5XQAADM3.js → chunk-VTFCX6IZ.js} +7 -7
- package/dist/{chunk-DYV2OC4S.js → chunk-VZPW4RPS.js} +1 -1
- package/dist/{chunk-SDLWJF6H.js → chunk-WSU5ADF2.js} +7 -7
- package/dist/{chunk-7PFRNOSF.js → chunk-X5TL4MVO.js} +3 -1
- package/dist/{chunk-2Q5OMKDK.js → chunk-XDQQ5SQE.js} +4 -4
- package/dist/{chunk-OUL5E5UC.js → chunk-XQ2FPOXF.js} +4 -4
- package/dist/{chunk-IQWBUZ75.js → chunk-ZKEPPOR6.js} +3 -3
- package/dist/{claude-launcher-ZSCQOG3G.js → claude-launcher-U6QXR47X.js} +27 -10
- package/dist/{cli-EUICZJBA.js → cli-CEQO7L2A.js} +165 -165
- package/dist/{command-PBWQFU4B.js → command-VM4LKQMJ.js} +51 -51
- package/dist/{config-TGFG7IID.js → config-RM7KS3VB.js} +12 -12
- package/dist/{connect-cmd-UYJV435V.js → connect-cmd-5Q2Z2LIF.js} +11 -11
- package/dist/{container-start-6INDSNAE.js → container-start-JT36A3OE.js} +48 -48
- package/dist/{context-cleanup-VYUESYGU.js → context-cleanup-6LEQ2KKF.js} +4 -4
- package/dist/{context-show-cmd-XIPY7JXC.js → context-show-cmd-5BHU6JZQ.js} +12 -12
- package/dist/{control-plane-launch-HQPMYL7O.js → control-plane-launch-OIFEGFA6.js} +15 -15
- package/dist/{demo-record-cmd-UBYX2VAE.js → demo-record-cmd-MRZ5Z6GU.js} +8 -8
- package/dist/{demo-voice-cmd-ABTYSDTU.js → demo-voice-cmd-Y4DFOQQY.js} +20 -20
- package/dist/{docker-E35HTSGN.js → docker-YVMDE3NI.js} +10 -10
- package/dist/{doctor-KQ7J5GPF.js → doctor-ZESKTMJR.js} +50 -50
- package/dist/{emit-artifact-cmd-R5BOINKV.js → emit-artifact-cmd-VS73NUKN.js} +19 -19
- package/dist/{emit-cmd-CBCODUWX.js → emit-cmd-JDTZX5DQ.js} +7 -7
- package/dist/{emit-criteria-cmd-VWCPZ3TV.js → emit-criteria-cmd-4CDD2RUG.js} +14 -14
- package/dist/{emit-demo-cmd-QPF3MGY3.js → emit-demo-cmd-DUHHIUCF.js} +20 -20
- package/dist/{emit-finding-cmd-O2HNKNSU.js → emit-finding-cmd-6QHIKSTT.js} +14 -14
- package/dist/{emit-result-cmd-CFS2YAS5.js → emit-result-cmd-65SDT52A.js} +18 -18
- package/dist/{emit-step-cmd-Q43ESQ5J.js → emit-step-cmd-AUPTW6SU.js} +14 -14
- package/dist/{exec-client-QDEZML3U.js → exec-client-Z2ORBB7W.js} +8 -8
- package/dist/find-unit-5LWPI53X.js +24 -0
- package/dist/{findings-cmd-ZWNSAECA.js → findings-cmd-XIUMQTSY.js} +14 -14
- package/dist/{fleet-readiness-VSPHFYWE.js → fleet-readiness-I6IPCWYO.js} +14 -14
- package/dist/{governing-source-MIRABOUE.js → governing-source-JH7PYU5I.js} +20 -20
- package/dist/{guest-init-QYJVWDCD.js → guest-init-J5M336SR.js} +9 -9
- package/dist/{hook-fast-E2JV656K.js → hook-fast-7ZBDTVKP.js} +4 -4
- package/dist/{hook-install-ZZV5WVDH.js → hook-install-RXYTPBDL.js} +4 -4
- package/dist/{hook-wrap-fast-GVS5HF5C.js → hook-wrap-fast-Y5KKK67C.js} +3 -3
- package/dist/host-checks-YFNJUO46.js +82 -0
- package/dist/{host-key-4RD4MTJ2.js → host-key-F46AUWGU.js} +8 -8
- package/dist/{image-tag-SNXCNAGF.js → image-tag-HCLSC7NI.js} +8 -8
- package/dist/index.js +6 -6
- package/dist/{init-BIQTMVLH.js → init-GPZVWNC4.js} +46 -46
- package/dist/init-Y6SAA4UN.js +82 -0
- package/dist/{init-agent-E3PLU6R4.js → init-agent-KTITQSB3.js} +46 -46
- package/dist/init-cmd-ACOGV7H7.js +53 -0
- package/dist/{init-update-GHLRW7BP.js → init-update-4Y3XAWG2.js} +23 -23
- package/dist/install-cmd-LKVRFYRO.js +26 -0
- package/dist/launch-agent-7XNKDSV4.js +26 -0
- package/dist/{layout-QU4DUYQQ.js → layout-ANEVGSIG.js} +4 -4
- package/dist/{logs-N7TOXQWL.js → logs-FRYVEZNO.js} +7 -7
- package/dist/loop-BMUIHTJ4.js +92 -0
- package/dist/machine-YTKXLOBK.js +82 -0
- package/dist/{machine-skills-DLDDT4BE.js → machine-skills-ZDIGEJXS.js} +4 -4
- package/dist/{mcp-install-cmd-TFKCJSAH.js → mcp-install-cmd-ZESEU7X4.js} +4 -4
- package/dist/{mcp-serve-cmd-YWBSSEYK.js → mcp-serve-cmd-UWTWBJKJ.js} +9 -9
- package/dist/{paths-GUVGFCBQ.js → paths-I4QL5IY5.js} +7 -7
- package/dist/pending-7PMAF3IX.js +18 -0
- package/dist/{pidfile-AOQMDBSW.js → pidfile-BVALR6BG.js} +8 -8
- package/dist/{record-2RQWFYJ4.js → record-NMCBSQOG.js} +8 -8
- package/dist/{relay-VZEEKIKG.js → relay-UMN5CGTS.js} +5 -5
- package/dist/{relay-protocol-DF7PZPX2.js → relay-protocol-Z3WU3UEO.js} +5 -5
- package/dist/{run-cmd-W2XIBU2G.js → run-cmd-W2QHZXC7.js} +14 -14
- package/dist/{runner-agents-O7G6HTWI.js → runner-agents-LMOOIFHS.js} +4 -4
- package/dist/runner-env-6UYXCBB6.js +24 -0
- package/dist/{runner-identity-MU7HDFGF.js → runner-identity-AOUW4J6F.js} +10 -10
- package/dist/{runner-key-PAF6N4RJ.js → runner-key-OMFGRSVU.js} +46 -46
- package/dist/{session-sender-NDP6HVSG.js → session-sender-VOPQM2VU.js} +19 -19
- package/dist/{setup-cmd-PQTTUAXH.js → setup-cmd-YM2OSU5H.js} +12 -12
- package/dist/{setup-wiring-65IDNFAW.js → setup-wiring-FFVQTX2C.js} +55 -55
- package/dist/{shell-function-RBJR373S.js → shell-function-7N3ILFLG.js} +2 -2
- package/dist/{spec-cmd-LEU2PGWP.js → spec-cmd-YALZTLRU.js} +15 -15
- package/dist/{starter-pack-3HB74L6Q.js → starter-pack-5B3PQLKF.js} +5 -5
- package/dist/state-GXT2YMJ6.js +18 -0
- package/dist/{status-6IF7APSQ.js → status-HFJLKIIK.js} +46 -46
- package/dist/{statusline-fast-WUXKRABL.js → statusline-fast-ZWMTN36K.js} +3 -3
- package/dist/{sync-cmd-Q3FERZNI.js → sync-cmd-KZHUVTLQ.js} +18 -18
- package/dist/update-steps-62PSEKFT.js +83 -0
- package/dist/{watch-2Z2HFUIL.js → watch-APCEAC7T.js} +18 -18
- package/dist/{work-claim-cmd-Q4EXZDXE.js → work-claim-cmd-SLWQIUT2.js} +20 -20
- package/dist/{work-cmd-JNSI6X5D.js → work-cmd-VBWUUTMK.js} +14 -14
- package/dist/{work-comment-cmd-4AD66BWL.js → work-comment-cmd-XIT4UIZJ.js} +17 -17
- package/dist/{work-demo-cmd-BBNNMB4P.js → work-demo-cmd-YVSS46A2.js} +14 -14
- package/dist/{work-logs-cmd-EU2Z2P2F.js → work-logs-cmd-2J4Z5HU2.js} +14 -14
- package/dist/{work-mock-cmd-5W52S7J5.js → work-mock-cmd-OR4RXGD3.js} +14 -14
- package/dist/{work-needs-attention-cmd-6X3DMFB3.js → work-needs-attention-cmd-AUCX5CDX.js} +14 -14
- package/dist/{work-no-change-cmd-JS5GWIV5.js → work-no-change-cmd-LAX7IXTD.js} +14 -14
- package/dist/{work-open-pr-cmd-3KHOY5KT.js → work-open-pr-cmd-GDRGKMJA.js} +15 -15
- package/dist/{work-pr-cmd-LJDDDQS4.js → work-pr-cmd-QAJ2UGKM.js} +14 -14
- package/dist/{work-proofs-cmd-WZHU6KBF.js → work-proofs-cmd-T5YCQZJW.js} +16 -16
- package/dist/{work-proofs-record-FMFNCZZV.js → work-proofs-record-GNVISJ6H.js} +24 -24
- package/dist/{work-stop-cmd-WTKUFCEF.js → work-stop-cmd-Y5ORIVGV.js} +14 -14
- package/package.json +2 -2
- package/dist/caller-YHE7IHC7.js +0 -23
- package/dist/find-unit-HKCVRS7L.js +0 -24
- package/dist/host-checks-34OYY7KX.js +0 -82
- package/dist/init-RNXF64MR.js +0 -82
- package/dist/init-cmd-DAZPTELN.js +0 -53
- package/dist/install-cmd-PEFKMYGU.js +0 -26
- package/dist/launch-agent-P5KMBBB5.js +0 -26
- package/dist/loop-PE7QDWJA.js +0 -92
- package/dist/machine-G3I6CXMA.js +0 -82
- package/dist/pending-PXRZ7SIJ.js +0 -18
- package/dist/runner-env-TJE5WGPK.js +0 -24
- package/dist/state-YHPOHZ4I.js +0 -18
- package/dist/update-steps-GERKPJ5C.js +0 -83
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { RUNNER_PROTOCOL } from './chunk-JXZ3LIHN.js';
|
|
4
|
-
import { MAX_TEST_FILE_BYTES, itemsSentence, criteriaOf, hostItemsOf, loadCitationFinder, testFileMatcher, planCriteria, wholeItems, judgeGroups, failedItems, inCriteriaOrder, testsByCriterion, oneLineReason, criterionInputs, parseJudgeAnswer, judgedItems } from './chunk-
|
|
4
|
+
import { MAX_TEST_FILE_BYTES, itemsSentence, criteriaOf, hostItemsOf, loadCitationFinder, testFileMatcher, planCriteria, wholeItems, judgeGroups, failedItems, inCriteriaOrder, testsByCriterion, oneLineReason, criterionInputs, parseJudgeAnswer, judgedItems } from './chunk-NYXPJ2EM.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-
|
|
8
|
-
import { upgradedStarterText } from './chunk-
|
|
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-
|
|
7
|
+
import { hasStoredCredential, storedCredentialVariables, storeAgentCredential, isAgentName, credentialFromStdin } from './chunk-4IYZRQ77.js';
|
|
8
|
+
import { upgradedStarterText } from './chunk-DWUDIRL2.js';
|
|
9
|
+
import { HELPER_PATH, HELPER_RECORD, DOCKERD_LOG } from './chunk-3JCZM2IZ.js';
|
|
10
|
+
import { writeDockerClientConfig } from './chunk-RLKCG6MX.js';
|
|
11
|
+
import { senderPidfile } from './chunk-DJCZ26UT.js';
|
|
12
|
+
import { installScrubContext } from './chunk-MUAHDK6Y.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-5U6AUT4A.js';
|
|
15
|
+
import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey, configForJob } from './chunk-MP2Z5ALN.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-WSU5ADF2.js';
|
|
18
|
+
import { FETCHED_DIR, toolsDockerfile, FETCHED_FFMPEG, FETCHED_GH, FETCHED_TINI, FETCHED_HEADLESS_SHELL, FETCHED_PLAYWRIGHT_FFMPEG, FETCHED_VOICE_DIR } from './chunk-HATKUSIR.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-
|
|
28
|
-
import { universalImagePending, RecipeError, writeSanitizedRecipe, classifyProperties, DOCKER_FEATURE } from './chunk-
|
|
21
|
+
import { vmExecArgs, runExec, execCapture, waitForAgent } from './chunk-754IBIFB.js';
|
|
22
|
+
import { socketPathProblem, vsockLinks, linkVsockSockets, GUEST_CID, LEASE_LINK } from './chunk-XQ2FPOXF.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-2RXPL7QY.js';
|
|
24
|
+
import { postJson, getJson, WorkCommandError, isSignatureRefusal } from './chunk-QLNWEME3.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-5RKCQYXR.js';
|
|
26
|
+
import { formatBytes, volumeBytes, allocatedBytes, DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, freeBytes } from './chunk-Q2P2PCQE.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-P2DC7QO7.js';
|
|
28
|
+
import { universalImagePending, RecipeError, writeSanitizedRecipe, classifyProperties, DOCKER_FEATURE } from './chunk-4QXABXJR.js';
|
|
29
29
|
import { sanitizeTerminal, planArtifactUpload } from './chunk-DV44KCM6.js';
|
|
30
|
-
import { sharedSkillNames, skillConflictMessage } from './chunk-
|
|
30
|
+
import { sharedSkillNames, skillConflictMessage } from './chunk-4JBEGQFS.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-
|
|
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-
|
|
36
|
-
import { versionAtLeast } from './chunk-
|
|
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-
|
|
38
|
-
import { sessionFolderIn, legacyAgent, defaultAgents, parsePolicy, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, orderSessions, extractFacts, sessionsToTimeline, resolvePackRoot } from './chunk-
|
|
32
|
+
import { signerFor } from './chunk-QGAX44JA.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-VZPW4RPS.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, variableForPath, droppedRequestHeaders, hasDotDotSegment, routeNameOf, providerMayAnswerLater, toolProxyEnvironment } from './chunk-EOFA37VL.js';
|
|
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-FWKYG2DQ.js';
|
|
36
|
+
import { versionAtLeast } from './chunk-F3J4UKBF.js';
|
|
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-OHZC2YUD.js';
|
|
38
|
+
import { sessionFolderIn, legacyAgent, defaultAgents, parsePolicy, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, orderSessions, extractFacts, sessionsToTimeline, resolvePackRoot } from './chunk-A43LWCIT.js';
|
|
39
39
|
import { MAINTAINED_SKILLS } from './chunk-VSBG7MMU.js';
|
|
40
40
|
import { resolveVersion } from './chunk-RA3O54FC.js';
|
|
41
41
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
@@ -4402,7 +4402,8 @@ function sandboxHost(client2, sandbox, options = {}) {
|
|
|
4402
4402
|
}
|
|
4403
4403
|
|
|
4404
4404
|
// src/runner/sandbox/hooks.ts
|
|
4405
|
-
var SANDBOX_DIR = "/
|
|
4405
|
+
var SANDBOX_DIR = "/var/lib/ol-runner";
|
|
4406
|
+
var OLD_SANDBOX_DIR = "/tmp/ol";
|
|
4406
4407
|
var CLI_DIR = `${SANDBOX_DIR}/dist`;
|
|
4407
4408
|
var SKILL_PACK_DIR = `${SANDBOX_DIR}/skill-pack`;
|
|
4408
4409
|
var SECRET_FILE = `${SANDBOX_DIR}/join-secret`;
|
|
@@ -4490,6 +4491,13 @@ var SandboxGoneError = class extends Error {
|
|
|
4490
4491
|
this.name = "SandboxGoneError";
|
|
4491
4492
|
}
|
|
4492
4493
|
};
|
|
4494
|
+
var SandboxContainerStoppedError = class extends Error {
|
|
4495
|
+
constructor(container) {
|
|
4496
|
+
super(`the build's container ${container} stopped in its sandbox: the sandbox restarted or its Docker stopped the container`);
|
|
4497
|
+
this.name = "SandboxContainerStoppedError";
|
|
4498
|
+
}
|
|
4499
|
+
};
|
|
4500
|
+
var CONTAINER_NOT_RUNNING = /is not running|no such container/i;
|
|
4493
4501
|
async function inSandbox(runtime, state) {
|
|
4494
4502
|
const sandbox = await sandboxOfBuild(runtime, state);
|
|
4495
4503
|
if (sandbox === void 0) throw new SandboxGoneError(state.sandboxId);
|
|
@@ -4653,7 +4661,7 @@ async function keepSandboxDisk(runtime, state, kept) {
|
|
|
4653
4661
|
if (emptied.status !== 0) throw new Error(`the build's command state was not removed from the volume (exit ${emptied.status})${said(emptied.stderr)}`);
|
|
4654
4662
|
const unmounted = await client(runtime).command(sandbox, `if mountpoint -q ${HOST_BUILD_DIR}; then sudo umount ${HOST_BUILD_DIR}; fi`);
|
|
4655
4663
|
if (unmounted.exitCode !== 0) throw new Error(`${HOST_BUILD_DIR} was not unmounted in the sandbox (exit ${unmounted.exitCode ?? "none"})${said(unmounted.stderr)}`);
|
|
4656
|
-
const cleared = await client(runtime).command(sandbox, `sudo rm -rf ${SANDBOX_DIR} ${SANDBOX_RUN_DIR}`);
|
|
4664
|
+
const cleared = await client(runtime).command(sandbox, `sudo rm -rf ${SANDBOX_DIR} ${OLD_SANDBOX_DIR} ${SANDBOX_RUN_DIR}`);
|
|
4657
4665
|
if (cleared.exitCode !== 0) throw new Error(`the runner's files were not removed from the sandbox (exit ${cleared.exitCode ?? "none"})${said(cleared.stderr)}`);
|
|
4658
4666
|
await kept.keep();
|
|
4659
4667
|
}
|
|
@@ -5004,7 +5012,8 @@ async function provisionSandboxOnce(input, itemDiskFailed) {
|
|
|
5004
5012
|
const packDir = join(runtime.cliBuild().distDir, "..", "skill-pack");
|
|
5005
5013
|
const skillPack = existsSync(packDir) ? packDir : void 0;
|
|
5006
5014
|
try {
|
|
5007
|
-
await sandboxClient.command(sandbox, `mkdir -p ${CLI_DIR}`);
|
|
5015
|
+
const made = await sandboxClient.command(sandbox, `sudo mkdir -p ${CLI_DIR} && sudo chown -R "$(id -u):$(id -g)" ${SANDBOX_DIR}`);
|
|
5016
|
+
if (made.exitCode !== 0) return bail(`making ${SANDBOX_DIR} in the sandbox failed (exit ${made.exitCode ?? "none"})${said(made.stderr)}`);
|
|
5008
5017
|
await sandboxClient.upload(sandbox, `${SANDBOX_DIR}/dist.tgz`, gzipSync(packFolder(runtime.cliBuild().distDir)));
|
|
5009
5018
|
if (skillPack !== void 0) {
|
|
5010
5019
|
await sandboxClient.upload(sandbox, `${SANDBOX_DIR}/skill-pack.tgz`, gzipSync(packFolder(skillPack)));
|
|
@@ -5137,7 +5146,7 @@ async function provisionSandboxOnce(input, itemDiskFailed) {
|
|
|
5137
5146
|
function asContainerJob(job) {
|
|
5138
5147
|
return { ...job, container: job.sandbox.container };
|
|
5139
5148
|
}
|
|
5140
|
-
var READ_SECRET_LINE = `sudo cat ${SECRET_FILE} | base64 | tr -d '\\n'`;
|
|
5149
|
+
var READ_SECRET_LINE = `{ sudo cat ${SECRET_FILE} 2>/dev/null || sudo cat ${OLD_SANDBOX_DIR}/join-secret; } | base64 | tr -d '\\n'`;
|
|
5141
5150
|
async function rejoinSandboxBuild(input) {
|
|
5142
5151
|
const { runtime, own, log } = input;
|
|
5143
5152
|
const state = own.container;
|
|
@@ -5186,15 +5195,21 @@ async function rejoinOf(runtime, own) {
|
|
|
5186
5195
|
if (sandbox === void 0) throw new SandboxGoneError(own.sandboxId);
|
|
5187
5196
|
return { sandbox, sandboxed: runtimeInSandbox(runtime, sandbox), streams: services.streams, joinSecret };
|
|
5188
5197
|
}
|
|
5189
|
-
async function
|
|
5198
|
+
async function startBuildSupportAgain(runtime, own, sandbox, sandboxed) {
|
|
5190
5199
|
const state = own.container;
|
|
5191
|
-
const
|
|
5200
|
+
const remounted = await client(runtime).command(sandbox, `if [ -d ${HOST_BUILD_DIR} ]; then ${hostMountLine(state.volume)}; fi`);
|
|
5201
|
+
if (remounted.exitCode !== 0) throw new Error(`mounting the build's volume at ${HOST_BUILD_DIR} in the sandbox again failed (exit ${remounted.exitCode ?? "none"})${said(remounted.stderr)}`);
|
|
5192
5202
|
const notReady = await ensureNetworkReady(sandboxed, state);
|
|
5193
5203
|
if (notReady !== void 0) throw new Error(notReady);
|
|
5194
5204
|
if (state.network !== void 0) {
|
|
5195
5205
|
const forwarding = await sandboxed.host.start(joinForwarderName(state.container));
|
|
5196
5206
|
if (forwarding.status !== 0) throw new Error(`the build's join forwarder could not be started again (exit ${forwarding.status})`);
|
|
5197
5207
|
}
|
|
5208
|
+
}
|
|
5209
|
+
async function startSandboxContainerAgain(runtime, own, rejoin, jobDir, log) {
|
|
5210
|
+
const state = own.container;
|
|
5211
|
+
const { sandbox, sandboxed } = rejoin;
|
|
5212
|
+
await startBuildSupportAgain(runtime, own, sandbox, sandboxed);
|
|
5198
5213
|
const started = await sandboxed.host.start(state.container);
|
|
5199
5214
|
if (started.status !== 0) throw new Error(`the build's container could not be started again (exit ${started.status})`);
|
|
5200
5215
|
if (!await waitForRelay(sandboxed, state.container)) throw new Error("the relay in the build's container did not start again");
|
|
@@ -5271,9 +5286,14 @@ async function probeSandboxCommand(runtime, state, offset) {
|
|
|
5271
5286
|
{ container: state.container.container, user: state.container.agentUser ?? ADDED_USER, env: NO_ENV, argv: probeArgvOf(offset) },
|
|
5272
5287
|
{ timeoutMs: 6e4 }
|
|
5273
5288
|
);
|
|
5274
|
-
|
|
5289
|
+
if (result.status === 0) return parseProbe(result.stdout);
|
|
5290
|
+
if (CONTAINER_NOT_RUNNING.test(result.stderr)) {
|
|
5291
|
+
state.container.stopped = true;
|
|
5292
|
+
throw new SandboxContainerStoppedError(state.container.container);
|
|
5293
|
+
}
|
|
5294
|
+
return void 0;
|
|
5275
5295
|
} catch (err) {
|
|
5276
|
-
if (err instanceof SandboxError && err.status === 404) throw await goneReason(runtime, state) ?? new SandboxGoneError(state.sandboxId);
|
|
5296
|
+
if (err instanceof SandboxError && (err.status === 404 || err.status === 410)) throw await goneReason(runtime, state) ?? new SandboxGoneError(state.sandboxId);
|
|
5277
5297
|
if (err instanceof SandboxError) return void 0;
|
|
5278
5298
|
throw err;
|
|
5279
5299
|
}
|
|
@@ -5288,7 +5308,13 @@ async function endSandboxCommand(runtime, state, jobDir, warn) {
|
|
|
5288
5308
|
const sandboxed = await inSandbox(runtime, state);
|
|
5289
5309
|
for (let reads = 0; reads < MAX_TAIL_READS2; reads++) {
|
|
5290
5310
|
const offset = commandLogOffset(jobDir, state.commandLogBase);
|
|
5291
|
-
|
|
5311
|
+
let probe;
|
|
5312
|
+
try {
|
|
5313
|
+
probe = await probeSandboxCommand(runtime, state, offset);
|
|
5314
|
+
} catch (err) {
|
|
5315
|
+
if (err instanceof SandboxContainerStoppedError) break;
|
|
5316
|
+
throw err;
|
|
5317
|
+
}
|
|
5292
5318
|
if (probe === void 0) break;
|
|
5293
5319
|
appendCommandLog(jobDir, probe.bytes);
|
|
5294
5320
|
if (probe.bytes.length === 0 || offset + probe.bytes.length >= probe.size) break;
|
|
@@ -5336,8 +5362,11 @@ async function restoreSessionIntoSandbox(runtime, own, keptDir, meta, job) {
|
|
|
5336
5362
|
}
|
|
5337
5363
|
async function ensureSandboxContainerRunning(runtime, own) {
|
|
5338
5364
|
try {
|
|
5339
|
-
const
|
|
5365
|
+
const sandbox = await sandboxOfBuild(runtime, own);
|
|
5366
|
+
if (sandbox === void 0) throw new SandboxGoneError(own.sandboxId);
|
|
5367
|
+
const sandboxed = runtimeInSandbox(runtime, sandbox);
|
|
5340
5368
|
if (own.container.stopped !== true) return void 0;
|
|
5369
|
+
await startBuildSupportAgain(runtime, own, sandbox, sandboxed);
|
|
5341
5370
|
const started = await sandboxed.host.start(own.container.container);
|
|
5342
5371
|
return started.status === 0 ? void 0 : `the build's container could not be started again (exit ${started.status})`;
|
|
5343
5372
|
} catch (err) {
|
|
@@ -9783,6 +9812,12 @@ async function stopProcessGroup(pid, opts = {}) {
|
|
|
9783
9812
|
}
|
|
9784
9813
|
}
|
|
9785
9814
|
}
|
|
9815
|
+
function jobTimeLimitMinutes(job, config) {
|
|
9816
|
+
return job.timeLimitMinutes ?? config.timeLimitMinutes;
|
|
9817
|
+
}
|
|
9818
|
+
function withJobTimeLimit(config, job) {
|
|
9819
|
+
return { ...config, timeLimitMinutes: jobTimeLimitMinutes(job, config) };
|
|
9820
|
+
}
|
|
9786
9821
|
function isTimedOut(startedAtMs, nowMs, timeLimitMinutes) {
|
|
9787
9822
|
return nowMs - startedAtMs > timeLimitMinutes * 6e4;
|
|
9788
9823
|
}
|
|
@@ -14080,4 +14115,4 @@ async function runHostChecks(input) {
|
|
|
14080
14115
|
}
|
|
14081
14116
|
}
|
|
14082
14117
|
|
|
14083
|
-
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, 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, 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, withTunnelLog, workRestoredEnv, workdirProblem, writeGuestGhConfig, writeRunnerInit };
|
|
14118
|
+
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 };
|
|
@@ -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-A43LWCIT.js';
|
|
4
4
|
|
|
5
5
|
createRequire(import.meta.url);
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { defaultAgents, agentById } from './chunk-
|
|
4
|
-
import { PROVIDERS, LEGACY_AGENT } from './chunk-
|
|
3
|
+
import { defaultAgents, agentById } from './chunk-A43LWCIT.js';
|
|
4
|
+
import { PROVIDERS, LEGACY_AGENT } from './chunk-JIMISJV2.js';
|
|
5
5
|
import { join, dirname } from 'path';
|
|
6
6
|
|
|
7
7
|
createRequire(import.meta.url);
|
|
@@ -1,13 +1,13 @@
|
|
|
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-
|
|
10
|
-
import { PROVIDERS } from './chunk-
|
|
3
|
+
import { resolveDevcontainerCli, devcontainerBuildInvocation, universalImagePending, RecipeError } from './chunk-4QXABXJR.js';
|
|
4
|
+
import { ensureHostKey } from './chunk-QGAX44JA.js';
|
|
5
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir } from './chunk-VZPW4RPS.js';
|
|
6
|
+
import { BUILD_HOME, JOB_MOUNT, RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-EOFA37VL.js';
|
|
7
|
+
import { primaryDestination, JOIN_DIR, RELAY_ID, JOIN_SOCKET, GATEWAY_PORT, TARGET_GATEWAY, GATEWAY_SOCKET, destinationTarget, providerDestinations, RELAY_USER } from './chunk-FWKYG2DQ.js';
|
|
8
|
+
import { judgeAgent, universalImagePinned, UNIVERSAL_IMAGE, BUILDKIT_IMAGE } from './chunk-OHZC2YUD.js';
|
|
9
|
+
import { defaultAgents } from './chunk-A43LWCIT.js';
|
|
10
|
+
import { PROVIDERS } from './chunk-JIMISJV2.js';
|
|
11
11
|
import { compareVersions } from './chunk-Y55ARAPE.js';
|
|
12
12
|
import { createHash } from 'crypto';
|
|
13
13
|
import { mkdirSync, createWriteStream, rmSync, existsSync, readFileSync, chmodSync, writeFileSync, realpathSync, readdirSync, renameSync } from 'fs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { parseSize, BUILD_LABEL, RUNNER_LABEL, runnerLabelValue } from './chunk-
|
|
4
|
-
import { buildsDir, storeScopes, rootfsDir, orgStoreIn, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-
|
|
3
|
+
import { parseSize, BUILD_LABEL, RUNNER_LABEL, runnerLabelValue } from './chunk-P2DC7QO7.js';
|
|
4
|
+
import { buildsDir, storeScopes, rootfsDir, orgStoreIn, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-VZPW4RPS.js';
|
|
5
5
|
import { spawnSync } from 'child_process';
|
|
6
6
|
import { statfsSync, statSync, existsSync, readdirSync } from 'fs';
|
|
7
7
|
import { dirname, join } from 'path';
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
4
4
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
5
|
-
import { linkedAgentsPath } from './chunk-
|
|
6
|
-
import { resolvePackRoot, OUTERLAYER_SKILLS_BASE, loadTemplateFiles, AGENTS_SKILLS_BASE, loadMaintainedFiles, TEMPLATE_SKILLS, skillDir, writeMaintainedFiles, MACHINE_SKILL_PATH } from './chunk-
|
|
7
|
-
import { LEGACY_AGENT } from './chunk-
|
|
5
|
+
import { linkedAgentsPath } from './chunk-RP4A25IW.js';
|
|
6
|
+
import { resolvePackRoot, OUTERLAYER_SKILLS_BASE, loadTemplateFiles, AGENTS_SKILLS_BASE, loadMaintainedFiles, TEMPLATE_SKILLS, skillDir, writeMaintainedFiles, MACHINE_SKILL_PATH } from './chunk-A43LWCIT.js';
|
|
7
|
+
import { LEGACY_AGENT } from './chunk-JIMISJV2.js';
|
|
8
8
|
import { MAINTAINED_SKILLS } from './chunk-VSBG7MMU.js';
|
|
9
9
|
import { resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
10
10
|
import { existsSync, mkdirSync, writeFileSync } from 'fs';
|
|
@@ -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-VZPW4RPS.js';
|
|
4
4
|
import { generateKeyPairSync, createPrivateKey, createPublicKey, sign } from 'crypto';
|
|
5
5
|
import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'fs';
|
|
6
6
|
|
|
@@ -1,15 +1,15 @@
|
|
|
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-EM6PU2AC.js';
|
|
4
|
+
import { autoConnect } from './chunk-LZQN5PXB.js';
|
|
5
|
+
import { workPageUrl } from './chunk-ZKEPPOR6.js';
|
|
6
6
|
import { sanitizeTerminal } from './chunk-DV44KCM6.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-KDASHEYT.js';
|
|
9
|
+
import { signRunnerRequest } from './chunk-QGAX44JA.js';
|
|
10
10
|
import { readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
11
11
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
12
|
-
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-
|
|
12
|
+
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-JIMISJV2.js';
|
|
13
13
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
14
14
|
import { resolveRepoIdentity } from './chunk-Y55ARAPE.js';
|
|
15
15
|
|
|
@@ -563,7 +563,7 @@ async function runWorkLinkSession(opts) {
|
|
|
563
563
|
return await linkSession(opts);
|
|
564
564
|
} catch (err) {
|
|
565
565
|
if (opts.logFailures) {
|
|
566
|
-
const { logHookError } = await import('./hook-fast-
|
|
566
|
+
const { logHookError } = await import('./hook-fast-7ZBDTVKP.js');
|
|
567
567
|
const reason = err instanceof Error ? err.message : String(err);
|
|
568
568
|
logHookError(opts.home ?? homeFromEnv(opts.env ?? process.env), new Error(`work link-session #${opts.number} failed: ${reason}`));
|
|
569
569
|
}
|
|
@@ -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-VZPW4RPS.js';
|
|
4
4
|
import { readFileSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
5
5
|
import { join } from 'path';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RELAY_PORT, BUILD_HOME } from './chunk-
|
|
3
|
+
import { RELAY_PORT, BUILD_HOME } from './chunk-EOFA37VL.js';
|
|
4
4
|
import { createServer, connect } from 'net';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readContextManifest, removeContextManifest } from './chunk-YQR6E6OV.js';
|
|
4
4
|
import { removePreCommitGuardHook } from './chunk-CJPTUU2E.js';
|
|
5
|
-
import { CONTEXT_PIN_FILENAME, agentRootFolders } from './chunk-
|
|
5
|
+
import { CONTEXT_PIN_FILENAME, agentRootFolders } from './chunk-A43LWCIT.js';
|
|
6
6
|
import { execFileSync } from 'child_process';
|
|
7
7
|
import { lstatSync, existsSync, unlinkSync, readdirSync, rmdirSync, readFileSync, mkdirSync, writeFileSync } from 'fs';
|
|
8
8
|
import { join, dirname, isAbsolute } from 'path';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { summarizeChecks, summaryText, renderDoctorText } from './chunk-
|
|
4
|
-
import { shellFunctionInstalled, removeShellFunction, installShellFunction, SHELL_FUNCTION_LINE } from './chunk-
|
|
5
|
-
import { runConnect, hasUncommittedPolicy, commitCommandsFor } from './chunk-
|
|
3
|
+
import { summarizeChecks, summaryText, renderDoctorText } from './chunk-NOAJUMDK.js';
|
|
4
|
+
import { shellFunctionInstalled, removeShellFunction, installShellFunction, SHELL_FUNCTION_LINE } from './chunk-4KCWAP5L.js';
|
|
5
|
+
import { runConnect, hasUncommittedPolicy, commitCommandsFor } from './chunk-ZKEPPOR6.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
8
|
-
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-
|
|
8
|
+
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-JIMISJV2.js';
|
|
9
9
|
|
|
10
10
|
createRequire(import.meta.url);
|
|
11
11
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readSettingsText, SettingsParseError, cliForInstall } from './chunk-ZHQC43NH.js';
|
|
4
|
-
import { legacyAgent, defaultAgents, HookTextError } from './chunk-
|
|
4
|
+
import { legacyAgent, defaultAgents, HookTextError } from './chunk-A43LWCIT.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 { 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-NYXPJ2EM.js';
|
|
4
|
+
import { WorkCommandError, resolveCredentials, getJson } from './chunk-QLNWEME3.js';
|
|
5
5
|
import { sanitizeTerminal } from './chunk-DV44KCM6.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { defaultFetch } from './chunk-
|
|
7
|
+
import { defaultFetch } from './chunk-KDASHEYT.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-A43LWCIT.js';
|
|
12
12
|
import { resolveRepoIdentity } from './chunk-Y55ARAPE.js';
|
|
13
13
|
import { inferArtifactKind, mediaTypeForArtifactPath, WORK_ITEM_COMMENT_MAX_BODY_LENGTH, parseJunit, isTestSourcePath } from './chunk-MCUI6RHU.js';
|
|
14
14
|
import { spawnSync } from 'child_process';
|
|
@@ -129,14 +129,14 @@ function governingDir(cwd) {
|
|
|
129
129
|
async function testProofMode(cwd) {
|
|
130
130
|
const dir = governingDir(cwd);
|
|
131
131
|
if (dir === void 0) return "any";
|
|
132
|
-
const { testProofIn } = await import('./host-checks-
|
|
132
|
+
const { testProofIn } = await import('./host-checks-YFNJUO46.js');
|
|
133
133
|
return testProofIn(dir);
|
|
134
134
|
}
|
|
135
135
|
async function judgeCheckName(cwd) {
|
|
136
136
|
const dir = governingDir(cwd);
|
|
137
137
|
if (dir === void 0) return {};
|
|
138
138
|
if (!existsSync(dir)) return { note: `the governed context at ${dir} is not readable` };
|
|
139
|
-
const { checksIn, isJudgeCheck } = await import('./host-checks-
|
|
139
|
+
const { checksIn, isJudgeCheck } = await import('./host-checks-YFNJUO46.js');
|
|
140
140
|
const quiet = { line: () => void 0, error: () => void 0 };
|
|
141
141
|
const check = checksIn(dir, quiet, "").checks.find((c) => isJudgeCheck(c) && c.judge.subjects === "criteria");
|
|
142
142
|
return check === void 0 ? {} : { name: check.name };
|
|
@@ -372,7 +372,7 @@ async function runWorkProofs(opts) {
|
|
|
372
372
|
async function runWorkProofsCommand(opts) {
|
|
373
373
|
try {
|
|
374
374
|
if (opts.record || opts.check) {
|
|
375
|
-
const { runWorkProofsRecord } = await import('./work-proofs-record-
|
|
375
|
+
const { runWorkProofsRecord } = await import('./work-proofs-record-GNVISJ6H.js');
|
|
376
376
|
const result2 = await runWorkProofsRecord(opts);
|
|
377
377
|
process.exitCode = result2.exitCode;
|
|
378
378
|
return;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { toolsDockerfile } from './chunk-
|
|
4
|
-
import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-
|
|
3
|
+
import { toolsDockerfile } from './chunk-HATKUSIR.js';
|
|
4
|
+
import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-BP2FEQPW.js';
|
|
5
5
|
import { startTimeOf } from './chunk-JBJTC3UU.js';
|
|
6
6
|
import { withNewTokenRetry, REFUSED_BY_REMOTE } from './chunk-FJGYU2EK.js';
|
|
7
|
-
import { runnerLabelValue } from './chunk-
|
|
8
|
-
import { RecipeError, locateRecipe, readRecipe, assertBuildable, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-
|
|
7
|
+
import { runnerLabelValue } from './chunk-P2DC7QO7.js';
|
|
8
|
+
import { RecipeError, locateRecipe, readRecipe, assertBuildable, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-4QXABXJR.js';
|
|
9
9
|
import { removeLeftoverGitLocks } from './chunk-A2WPWZJA.js';
|
|
10
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-
|
|
11
|
-
import { withGitConfig, tokenHeader } from './chunk-
|
|
12
|
-
import { UNIVERSAL_IMAGE_DIGEST, UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_SOURCE, buildAgentPin, NODE_IMAGE, UNIVERSAL_IMAGE, MEDIA_PINS, TINI_VERSION, GH_VERSION, imageAgentPins } from './chunk-
|
|
10
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-VZPW4RPS.js';
|
|
11
|
+
import { withGitConfig, tokenHeader } from './chunk-EOFA37VL.js';
|
|
12
|
+
import { UNIVERSAL_IMAGE_DIGEST, UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_SOURCE, buildAgentPin, NODE_IMAGE, UNIVERSAL_IMAGE, MEDIA_PINS, TINI_VERSION, GH_VERSION, imageAgentPins } from './chunk-OHZC2YUD.js';
|
|
13
13
|
import { mkdirSync, writeFileSync, existsSync, mkdtempSync, rmSync, cpSync, readFileSync, readdirSync, lstatSync, readlinkSync } from 'fs';
|
|
14
14
|
import { tmpdir } from 'os';
|
|
15
15
|
import { join, dirname } from 'path';
|
|
@@ -3,7 +3,7 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
4
4
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
5
5
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
6
|
-
import { legacyAgent, laptopAgents, defaultAgents, McpFileError } from './chunk-
|
|
6
|
+
import { legacyAgent, laptopAgents, defaultAgents, McpFileError } from './chunk-A43LWCIT.js';
|
|
7
7
|
import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'fs';
|
|
8
8
|
import { join, dirname } from 'path';
|
|
9
9
|
|
|
@@ -46,6 +46,8 @@ function installErrorFor(err, relPath) {
|
|
|
46
46
|
switch (err.problem) {
|
|
47
47
|
case "not-json":
|
|
48
48
|
return new McpInstallError(`${relPath} exists and is not valid JSON \u2014 fix or remove it, then run the command again`);
|
|
49
|
+
case "not-toml":
|
|
50
|
+
return new McpInstallError(`${relPath} exists and is not valid TOML \u2014 fix or remove it, then run the command again`);
|
|
49
51
|
case "not-object":
|
|
50
52
|
return new McpInstallError(`${relPath} exists and its top level is not a JSON object \u2014 refusing to overwrite`);
|
|
51
53
|
case "servers-not-object":
|
|
@@ -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-66DSYZNV.js';
|
|
4
|
+
import { currentVersion, entryIn, currentLink, versionDir, execStartLine, isInLayout, packageRootIn, switchCurrent } from './chunk-6TJD5B4O.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-5RKCQYXR.js';
|
|
7
|
+
import { runnerDir, RUNNER_DIR_MODE } from './chunk-VZPW4RPS.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';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-
|
|
4
|
-
import { GATEWAY_SOCKET, GATEWAY_PORT, providerDestinations } from './chunk-
|
|
5
|
-
import { defaultAgents } from './chunk-
|
|
6
|
-
import { PROVIDERS } from './chunk-
|
|
3
|
+
import { RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-EOFA37VL.js';
|
|
4
|
+
import { GATEWAY_SOCKET, GATEWAY_PORT, providerDestinations } from './chunk-FWKYG2DQ.js';
|
|
5
|
+
import { defaultAgents } from './chunk-A43LWCIT.js';
|
|
6
|
+
import { PROVIDERS } from './chunk-JIMISJV2.js';
|
|
7
7
|
import { symlinkSync, unlinkSync } from 'fs';
|
|
8
8
|
import { join } from 'path';
|
|
9
9
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { sanitizeTerminal } from './chunk-DV44KCM6.js';
|
|
4
|
-
import { mcpFiles, skillLinkFolders, isAgentsMdLayout } from './chunk-
|
|
4
|
+
import { mcpFiles, skillLinkFolders, isAgentsMdLayout } from './chunk-JGUGZA3I.js';
|
|
5
5
|
import { DEFAULT_DASHBOARD } from './chunk-DHB3M244.js';
|
|
6
|
-
import { cliFetch, resolveGatewayCredentials } from './chunk-
|
|
6
|
+
import { cliFetch, resolveGatewayCredentials } from './chunk-KDASHEYT.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';
|
|
10
|
-
import { defaultAgents } from './chunk-
|
|
10
|
+
import { defaultAgents } from './chunk-A43LWCIT.js';
|
|
11
11
|
import { remoteLookupFailed } from './chunk-Y55ARAPE.js';
|
|
12
12
|
import { execFileSync } from 'child_process';
|
|
13
13
|
import { lstatSync } from 'fs';
|