@outerlayer/cli 0.34.0-next.20261029100627 → 0.34.0-next.20261029140044
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/{build-ZWUKJL5I.js → build-WC5EBFL3.js} +3 -3
- package/dist/{build-disk-BF56FZBB.js → build-disk-RARJJXLL.js} +3 -3
- package/dist/build-info.json +1 -1
- package/dist/{builder-PDLGG4DQ.js → builder-IIFXZVGN.js} +2 -2
- package/dist/{caller-LJDOBQTM.js → caller-VWXDLYPU.js} +5 -5
- package/dist/{check-ZGD773U7.js → check-FYYNT3UP.js} +22 -22
- package/dist/{chunk-W74HQLLZ.js → chunk-25SWTFPA.js} +2 -2
- package/dist/{chunk-6WVUXK3M.js → chunk-2MTBQRCI.js} +6 -6
- package/dist/{chunk-4ZJI3IG2.js → chunk-32IASBQV.js} +4 -4
- package/dist/{chunk-7CIU64OH.js → chunk-3NPVOVWY.js} +2 -2
- package/dist/{chunk-O7CGRDRQ.js → chunk-4CGEAKOR.js} +2 -2
- package/dist/{chunk-URKE5WTV.js → chunk-5DVJQC76.js} +3 -3
- package/dist/{chunk-ZO4ZOPYX.js → chunk-7K6MTRN2.js} +27 -16
- package/dist/{chunk-BETYII72.js → chunk-7NARODRP.js} +1 -1
- package/dist/{chunk-BGADM7E5.js → chunk-7SFE6CFO.js} +7 -7
- package/dist/{chunk-E2NZMEVD.js → chunk-AYMOVIT2.js} +14 -14
- package/dist/{chunk-YBP22LDO.js → chunk-AZLWIUIF.js} +2 -2
- package/dist/{chunk-3EEJGQEJ.js → chunk-CZA37XBG.js} +3 -3
- package/dist/{chunk-2I6VHGJA.js → chunk-DVXUUCOF.js} +1 -1
- package/dist/{chunk-IUPYSGCP.js → chunk-DY2HAYJL.js} +2 -2
- package/dist/{chunk-JFALOM5G.js → chunk-FYVIHKCH.js} +2 -2
- package/dist/{chunk-TV2OQUWE.js → chunk-H25XK3DY.js} +475 -94
- package/dist/{chunk-HERRKKES.js → chunk-H467HI5U.js} +1 -1
- package/dist/{chunk-DPXJ5RJU.js → chunk-HNA33MLR.js} +2 -2
- package/dist/{chunk-5XV27STP.js → chunk-IP3HLHWO.js} +1 -1
- package/dist/{chunk-LGCXRKIG.js → chunk-JBUFM5JN.js} +2 -2
- package/dist/{chunk-WN45SWHR.js → chunk-M4MSA6I4.js} +1 -1
- package/dist/{chunk-JJ7YQWYS.js → chunk-NB44HOTO.js} +2 -2
- package/dist/{chunk-JQOET7TF.js → chunk-NZDM6KJ2.js} +3 -3
- package/dist/{chunk-FAA2URUR.js → chunk-PHETCXGP.js} +1 -1
- package/dist/{chunk-UGPJIKN4.js → chunk-QZQ2UTPE.js} +2 -2
- package/dist/{chunk-AVHPSB65.js → chunk-RWQLBHU3.js} +1 -1
- package/dist/{chunk-MCK4XMV5.js → chunk-SIF536BT.js} +1 -1
- package/dist/{chunk-CNN7JBVU.js → chunk-SVDO6ZQA.js} +5 -5
- package/dist/{chunk-AGMR4IQE.js → chunk-TJ755TTP.js} +2 -2
- package/dist/{chunk-DM4TDEYF.js → chunk-UX7BQX4C.js} +11 -11
- package/dist/{cli-TCDMN5CR.js → cli-VLQZS3BV.js} +87 -87
- package/dist/{command-WP6ZOCWH.js → command-Y2HFOL33.js} +13 -13
- package/dist/{config-SGSBDXW2.js → config-YI5R4K77.js} +4 -4
- package/dist/{connect-cmd-APZN6F6N.js → connect-cmd-NHRK6Y4L.js} +2 -2
- package/dist/{container-start-3RUFM2G2.js → container-start-W3BDQAQE.js} +19 -19
- package/dist/{context-show-cmd-OWREGUJL.js → context-show-cmd-OLJEKW2G.js} +3 -3
- package/dist/{demo-voice-cmd-7FHRYSCX.js → demo-voice-cmd-W47GNKN6.js} +7 -7
- package/dist/{dist-Z6WP743R.js → dist-ZDKMTBJU.js} +1 -1
- package/dist/{docker-UYJ2BXB2.js → docker-36W7PA5I.js} +2 -2
- package/dist/{doctor-GS6VC336.js → doctor-YAPSQYAC.js} +14 -14
- package/dist/{emit-artifact-cmd-NFAASCXW.js → emit-artifact-cmd-72TRW3OL.js} +6 -6
- package/dist/{emit-criteria-cmd-TX4LKO5X.js → emit-criteria-cmd-TLO4L3FN.js} +4 -4
- package/dist/{emit-demo-cmd-4PVJYO5S.js → emit-demo-cmd-PISZZ6TE.js} +7 -7
- package/dist/{emit-finding-cmd-LO2AKL4P.js → emit-finding-cmd-MRXMDOQY.js} +4 -4
- package/dist/{emit-result-cmd-7PL4HNXL.js → emit-result-cmd-UHX7OTY2.js} +5 -5
- package/dist/{emit-step-cmd-RZT6VK5U.js → emit-step-cmd-TL73HPJY.js} +4 -4
- package/dist/{find-unit-XGGULXYG.js → find-unit-LIJR6HXI.js} +6 -6
- package/dist/{findings-cmd-MEU7GDRC.js → findings-cmd-WPHPYWZJ.js} +4 -4
- package/dist/{governing-source-6DH2NLPE.js → governing-source-HAJVYDYG.js} +5 -5
- package/dist/{host-checks-5MJC6PH7.js → host-checks-IAF6DYWU.js} +17 -17
- package/dist/index.js +1 -1
- package/dist/{init-PVDEFMUR.js → init-4MUFI7Q7.js} +13 -13
- package/dist/{init-ZTQMCBGK.js → init-HTX7R3O6.js} +13 -13
- package/dist/{init-cmd-NHZUAKHE.js → init-cmd-Q337RMX5.js} +5 -5
- package/dist/{init-update-5PTU5IE6.js → init-update-7F5WWVWX.js} +2 -2
- package/dist/{loop-ZN7G2TXF.js → loop-XZH3TA5Z.js} +21 -21
- package/dist/{machine-AMVFNL36.js → machine-L4U73LZN.js} +13 -13
- package/dist/{runner-env-FBK4LTZZ.js → runner-env-P7BHDTKU.js} +6 -6
- package/dist/{runner-identity-YBOC7QII.js → runner-identity-BQEM2OHY.js} +2 -2
- package/dist/{runner-key-OLETR57F.js → runner-key-MNVNR6UM.js} +13 -13
- package/dist/{session-sender-GJEVFQVN.js → session-sender-HPJWCUVZ.js} +6 -6
- package/dist/{spec-cmd-BRTO5J2C.js → spec-cmd-NPZ2H3ZN.js} +5 -5
- package/dist/{status-YKHTXJ2A.js → status-G4EL4ZCI.js} +17 -17
- package/dist/{sync-cmd-EO4TP2K7.js → sync-cmd-AFB3TGYH.js} +5 -5
- package/dist/{update-steps-DKSSL2IE.js → update-steps-N6U2OWK6.js} +18 -18
- package/dist/{watch-EG6MYI3O.js → watch-O6ZO5HBT.js} +5 -5
- package/dist/{work-claim-cmd-BA57U5QT.js → work-claim-cmd-CN5FR3G4.js} +8 -8
- package/dist/{work-cmd-PKEAVXJC.js → work-cmd-EHDLH3CJ.js} +4 -4
- package/dist/{work-comment-cmd-7IEOLOOK.js → work-comment-cmd-YPNDPDHP.js} +5 -5
- package/dist/{work-demo-cmd-GKMBBMMM.js → work-demo-cmd-TM47UETD.js} +4 -4
- package/dist/{work-logs-cmd-44ZOKO5E.js → work-logs-cmd-4PCBHRM2.js} +4 -4
- package/dist/{work-open-pr-cmd-YYQLQ7DN.js → work-open-pr-cmd-ESLHVNO5.js} +5 -5
- package/dist/{work-pr-cmd-ILCIO22W.js → work-pr-cmd-N63H6OJM.js} +4 -4
- package/dist/{work-proofs-cmd-AWN5CKL7.js → work-proofs-cmd-U6XFQ34N.js} +5 -5
- package/dist/{work-proofs-record-Y7W4PBM2.js → work-proofs-record-YYRYIYMQ.js} +10 -10
- package/dist/{work-stop-cmd-5VPW7HOZ.js → work-stop-cmd-RB64IM3K.js} +4 -4
- package/package.json +1 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { KEY_PREFIX, SHARED_NAME, SHARED_OWNER, SHARED_REPOSITORY, TAG_HOST, UNIVERSAL_SOURCE_LABEL, baseLines, buildRepositoryImage, metadataFromLabels, prepareImageBuild, universalBase, writeRecord } from './chunk-
|
|
3
|
+
export { KEY_PREFIX, SHARED_NAME, SHARED_OWNER, SHARED_REPOSITORY, TAG_HOST, UNIVERSAL_SOURCE_LABEL, baseLines, buildRepositoryImage, metadataFromLabels, prepareImageBuild, universalBase, writeRecord } from './chunk-IP3HLHWO.js';
|
|
4
4
|
import './chunk-F26I6GKL.js';
|
|
5
5
|
import './chunk-AUVJMR3P.js';
|
|
6
6
|
import './chunk-JBJTC3UU.js';
|
|
7
|
-
import './chunk-
|
|
7
|
+
import './chunk-DVXUUCOF.js';
|
|
8
8
|
export { RecipeError } from './chunk-NGT2CCGM.js';
|
|
9
9
|
import './chunk-PZN4L2DN.js';
|
|
10
10
|
import './chunk-XU5BNWX7.js';
|
|
11
|
-
import './chunk-
|
|
11
|
+
import './chunk-H25XK3DY.js';
|
|
12
12
|
import './chunk-YTTESG7K.js';
|
|
13
13
|
import './chunk-YQHUCOUL.js';
|
|
14
14
|
import './chunk-GANAOCHR.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, DOCKER_CACHE_MS, allocatedBytes, checkDiskFit, realBuildDiskProbe, runDocker, volumeBytes } from './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
export { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, DOCKER_CACHE_MS, allocatedBytes, checkDiskFit, realBuildDiskProbe, runDocker, volumeBytes } from './chunk-PHETCXGP.js';
|
|
4
|
+
import './chunk-DVXUUCOF.js';
|
|
5
5
|
import './chunk-NGT2CCGM.js';
|
|
6
6
|
import './chunk-PZN4L2DN.js';
|
|
7
7
|
import './chunk-XU5BNWX7.js';
|
|
8
|
-
import './chunk-
|
|
8
|
+
import './chunk-H25XK3DY.js';
|
|
9
9
|
import './chunk-YTTESG7K.js';
|
|
10
10
|
import './chunk-YQHUCOUL.js';
|
|
11
11
|
import './chunk-GANAOCHR.js';
|
package/dist/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"2026-10-
|
|
1
|
+
{"id":"2026-10-29T14:05:19.208Z+437ff1a","root":"/home/runner/work/outerlayer/outerlayer","pkg":"outerlayer"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { MIN_BUILDX_VERSION, builderName, builderSpec, buildxState, ensureBuilder, ensureFailureCount, isOutOfMemory, proxyEnvironment, trackImageBuild } from './chunk-
|
|
3
|
+
export { MIN_BUILDX_VERSION, builderName, builderSpec, buildxState, ensureBuilder, ensureFailureCount, isOutOfMemory, proxyEnvironment, trackImageBuild } from './chunk-DVXUUCOF.js';
|
|
4
4
|
import './chunk-NGT2CCGM.js';
|
|
5
5
|
import './chunk-PZN4L2DN.js';
|
|
6
6
|
import './chunk-XU5BNWX7.js';
|
|
7
|
-
import './chunk-
|
|
7
|
+
import './chunk-H25XK3DY.js';
|
|
8
8
|
import './chunk-YTTESG7K.js';
|
|
9
9
|
import './chunk-YQHUCOUL.js';
|
|
10
10
|
import './chunk-GANAOCHR.js';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { claimCalls, claimItem, itemCalls, leftByRunnerKey, runnerCalls, spoolHomeFor } from './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
3
|
+
export { claimCalls, claimItem, itemCalls, leftByRunnerKey, runnerCalls, spoolHomeFor } from './chunk-7NARODRP.js';
|
|
4
|
+
import './chunk-HNA33MLR.js';
|
|
5
|
+
import './chunk-PHETCXGP.js';
|
|
6
|
+
import './chunk-DVXUUCOF.js';
|
|
7
7
|
import './chunk-NGT2CCGM.js';
|
|
8
8
|
import './chunk-PZN4L2DN.js';
|
|
9
9
|
import './chunk-XU5BNWX7.js';
|
|
10
|
-
import './chunk-
|
|
10
|
+
import './chunk-H25XK3DY.js';
|
|
11
11
|
import './chunk-YTTESG7K.js';
|
|
12
12
|
import './chunk-352DHUTP.js';
|
|
13
13
|
import './chunk-YQHUCOUL.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { probeCredentials } from './chunk-
|
|
3
|
+
import { probeCredentials } from './chunk-AYMOVIT2.js';
|
|
4
4
|
import './chunk-ZI7JENTB.js';
|
|
5
5
|
import './chunk-3JVYMD4G.js';
|
|
6
6
|
import './chunk-E7R2GIAW.js';
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
7
|
+
import './chunk-32IASBQV.js';
|
|
8
|
+
import './chunk-NB44HOTO.js';
|
|
9
|
+
import './chunk-UX7BQX4C.js';
|
|
10
10
|
import './chunk-2B6EKUBD.js';
|
|
11
11
|
import './chunk-FJ7KTNMD.js';
|
|
12
12
|
import './chunk-LW2A24IA.js';
|
|
@@ -15,41 +15,41 @@ import './chunk-ZVB57WI6.js';
|
|
|
15
15
|
import './chunk-H2GESWLW.js';
|
|
16
16
|
import './chunk-MKSZHT6S.js';
|
|
17
17
|
import './chunk-I3LTIAOR.js';
|
|
18
|
-
import './chunk-
|
|
19
|
-
import './chunk-
|
|
20
|
-
import './chunk-
|
|
18
|
+
import './chunk-4CGEAKOR.js';
|
|
19
|
+
import './chunk-TJ755TTP.js';
|
|
20
|
+
import './chunk-25SWTFPA.js';
|
|
21
21
|
import './chunk-AAGU5FJF.js';
|
|
22
|
-
import { fleetConfigProblem, managedProblems, managedFactsOf, askFleetMachine } from './chunk-
|
|
22
|
+
import { fleetConfigProblem, managedProblems, managedFactsOf, askFleetMachine } from './chunk-2MTBQRCI.js';
|
|
23
23
|
import './chunk-7R655ODT.js';
|
|
24
24
|
import './chunk-TBT347UY.js';
|
|
25
|
-
import { findServiceUnit } from './chunk-
|
|
25
|
+
import { findServiceUnit } from './chunk-M4MSA6I4.js';
|
|
26
26
|
import './chunk-WJTIU2A5.js';
|
|
27
|
-
import { placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, HELPER_ENV, helperSocketPath, probeHelper, needsClaudeCredential, claudeCredentialCheck, claimPermissionProblem, formerSkillQueues, formerSkillProblem } from './chunk-
|
|
27
|
+
import { placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, HELPER_ENV, helperSocketPath, probeHelper, needsClaudeCredential, claudeCredentialCheck, claimPermissionProblem, formerSkillQueues, formerSkillProblem } from './chunk-7K6MTRN2.js';
|
|
28
28
|
import './chunk-2PGI6RDE.js';
|
|
29
|
-
import './chunk-
|
|
29
|
+
import './chunk-IP3HLHWO.js';
|
|
30
30
|
import './chunk-F26I6GKL.js';
|
|
31
31
|
import './chunk-AUVJMR3P.js';
|
|
32
32
|
import './chunk-JBJTC3UU.js';
|
|
33
33
|
import './chunk-OGFGZQA3.js';
|
|
34
34
|
import './chunk-4PH4DVV4.js';
|
|
35
35
|
import './chunk-UZGQT6OF.js';
|
|
36
|
-
import './chunk-
|
|
36
|
+
import './chunk-H467HI5U.js';
|
|
37
37
|
import './chunk-SQGD4LYW.js';
|
|
38
38
|
import './chunk-TQMI335S.js';
|
|
39
|
-
import './chunk-
|
|
40
|
-
import './chunk-
|
|
41
|
-
import './chunk-
|
|
42
|
-
import { loadRunnerConfig, RunnerConfigError, checkHooks, keyRunnerFactory } from './chunk-
|
|
43
|
-
import './chunk-
|
|
44
|
-
import './chunk-
|
|
39
|
+
import './chunk-SIF536BT.js';
|
|
40
|
+
import './chunk-JBUFM5JN.js';
|
|
41
|
+
import './chunk-7NARODRP.js';
|
|
42
|
+
import { loadRunnerConfig, RunnerConfigError, checkHooks, keyRunnerFactory } from './chunk-HNA33MLR.js';
|
|
43
|
+
import './chunk-PHETCXGP.js';
|
|
44
|
+
import './chunk-DVXUUCOF.js';
|
|
45
45
|
import './chunk-NGT2CCGM.js';
|
|
46
46
|
import './chunk-PZN4L2DN.js';
|
|
47
47
|
import './chunk-OHQMGLJP.js';
|
|
48
48
|
import './chunk-XGSJNXH2.js';
|
|
49
|
-
import './chunk-
|
|
49
|
+
import './chunk-NZDM6KJ2.js';
|
|
50
50
|
import './chunk-IP7BIBXJ.js';
|
|
51
|
-
import './chunk-
|
|
52
|
-
import './chunk-
|
|
51
|
+
import './chunk-QZQ2UTPE.js';
|
|
52
|
+
import './chunk-RWQLBHU3.js';
|
|
53
53
|
import './chunk-ZI2E4YMY.js';
|
|
54
54
|
import './chunk-A2LHHKTT.js';
|
|
55
55
|
import './chunk-2AM6Z5BP.js';
|
|
@@ -68,7 +68,7 @@ import './chunk-FGF52V4V.js';
|
|
|
68
68
|
import './chunk-HCVLP7XA.js';
|
|
69
69
|
import './chunk-BJ3KTMDH.js';
|
|
70
70
|
import './chunk-UPRZREBO.js';
|
|
71
|
-
import './chunk-
|
|
71
|
+
import './chunk-H25XK3DY.js';
|
|
72
72
|
import './chunk-OLM2TIOW.js';
|
|
73
73
|
import './chunk-CDDED64E.js';
|
|
74
74
|
import './chunk-RA3O54FC.js';
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-AAGU5FJF.js';
|
|
4
4
|
import { detectActiveSession } from './chunk-IP7BIBXJ.js';
|
|
5
|
-
import { autoConnect } from './chunk-
|
|
5
|
+
import { autoConnect } from './chunk-QZQ2UTPE.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
7
|
import { acquireSpoolLockAt } from './chunk-PDK35AR4.js';
|
|
8
8
|
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-GBMTKV5B.js';
|
|
9
|
-
import { resolveRepoIdentity } from './chunk-
|
|
9
|
+
import { resolveRepoIdentity } from './chunk-H25XK3DY.js';
|
|
10
10
|
import { launchedItemForSession } from './chunk-5WYT3PPE.js';
|
|
11
11
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
12
12
|
import { StepNameSchema, StepBodySchema } from './chunk-YTTESG7K.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { placeholderQueues, placeholderProblem } from './chunk-
|
|
4
|
-
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-
|
|
5
|
-
import { isBuiltinVm, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-
|
|
6
|
-
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK, volumeBytes } from './chunk-
|
|
7
|
-
import { spawnRun, RUNNER_LABEL, BUILD_LABEL } from './chunk-
|
|
3
|
+
import { placeholderQueues, placeholderProblem } from './chunk-7K6MTRN2.js';
|
|
4
|
+
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-JBUFM5JN.js';
|
|
5
|
+
import { isBuiltinVm, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-HNA33MLR.js';
|
|
6
|
+
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK, volumeBytes } from './chunk-PHETCXGP.js';
|
|
7
|
+
import { spawnRun, RUNNER_LABEL, BUILD_LABEL } from './chunk-DVXUUCOF.js';
|
|
8
8
|
import { builderDiskPinned } from './chunk-PZN4L2DN.js';
|
|
9
|
-
import { getJson, WorkCommandError } from './chunk-
|
|
9
|
+
import { getJson, WorkCommandError } from './chunk-NZDM6KJ2.js';
|
|
10
10
|
import { ensureHostKey } from './chunk-XU5BNWX7.js';
|
|
11
11
|
import { BUILD_SLICE_MEMORY_ENV, FORWARDED_CLAUDE_CREDENTIAL_VARIABLES, claudeCredentialVariablesSet, claudeCredential, claudeEnvPath, parseRunnerEnv } from './chunk-GANAOCHR.js';
|
|
12
12
|
import { closeSync, openSync, constants, readFileSync } from 'fs';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { scrubReason, stripTerminalControls } from './chunk-
|
|
3
|
+
import { scrubReason, stripTerminalControls } from './chunk-UX7BQX4C.js';
|
|
4
4
|
import { RunnerAlreadyRunningError, readPidFile } from './chunk-AUVJMR3P.js';
|
|
5
5
|
import { isSameProcess } from './chunk-JBJTC3UU.js';
|
|
6
|
-
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-
|
|
7
|
-
import { keyRunnerFactory } from './chunk-
|
|
8
|
-
import { isSignatureRefusal, postJson } from './chunk-
|
|
6
|
+
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-JBUFM5JN.js';
|
|
7
|
+
import { keyRunnerFactory } from './chunk-HNA33MLR.js';
|
|
8
|
+
import { isSignatureRefusal, postJson } from './chunk-NZDM6KJ2.js';
|
|
9
9
|
import { signerFor } from './chunk-XU5BNWX7.js';
|
|
10
10
|
import { pidFilePath } from './chunk-YQHUCOUL.js';
|
|
11
11
|
import { readFileSync } from 'fs';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { detectActiveSession } from './chunk-IP7BIBXJ.js';
|
|
4
|
-
import { autoConnect } from './chunk-
|
|
4
|
+
import { autoConnect } from './chunk-QZQ2UTPE.js';
|
|
5
5
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
6
6
|
import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-GBMTKV5B.js';
|
|
7
|
-
import { resolveRepoIdentity } from './chunk-
|
|
7
|
+
import { resolveRepoIdentity } from './chunk-H25XK3DY.js';
|
|
8
8
|
import { parseWorkItemEnv } from './chunk-5WYT3PPE.js';
|
|
9
9
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
10
10
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { LiveUploader } from './chunk-
|
|
3
|
+
import { LiveUploader } from './chunk-TJ755TTP.js';
|
|
4
4
|
import { spoolDir } from './chunk-HS5QEIJT.js';
|
|
5
|
-
import { CaptureDaemon } from './chunk-
|
|
5
|
+
import { CaptureDaemon } from './chunk-H25XK3DY.js';
|
|
6
6
|
import { parseWorkItemEnv } from './chunk-5WYT3PPE.js';
|
|
7
7
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
8
8
|
import { mkdirSync, writeFileSync, rmSync } from 'fs';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readNewestDemo } from './chunk-ER6KQCVJ.js';
|
|
4
|
-
import { runEmitArtifact } from './chunk-
|
|
4
|
+
import { runEmitArtifact } from './chunk-CZA37XBG.js';
|
|
5
5
|
import { VoiceDownloadError, downloadPinned, sha256OfFile } from './chunk-2PGI6RDE.js';
|
|
6
6
|
import { VOICE_PACK_FILES, VOICE_PACK_VERSION } from './chunk-PZN4L2DN.js';
|
|
7
7
|
import { detectActiveSession } from './chunk-IP7BIBXJ.js';
|
|
8
|
-
import { autoConnect } from './chunk-
|
|
8
|
+
import { autoConnect } from './chunk-QZQ2UTPE.js';
|
|
9
9
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
10
10
|
import { defaultFetch, resolveGatewayCredentials } from './chunk-GBMTKV5B.js';
|
|
11
|
-
import { resolveRepoIdentity } from './chunk-
|
|
11
|
+
import { resolveRepoIdentity } from './chunk-H25XK3DY.js';
|
|
12
12
|
import { launchedItemForSession } from './chunk-5WYT3PPE.js';
|
|
13
13
|
import { ARTIFACT_MAX_BYTES, ARTIFACT_MAX_CAPTION_LENGTH, DEMO_RECORD_MEDIA_TYPE, ARTIFACT_MAX_REPLACES_TARGETS, DEMO_MANIFEST_LATEST_VERSION, DemoManifestSchema, ARTIFACT_KINDS } from './chunk-YTTESG7K.js';
|
|
14
14
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { sha256OfFile, downloadPinned, VoiceDownloadError } from './chunk-2PGI6RDE.js';
|
|
4
|
-
import { readDefaultBranchFiles, readDefaultBranchHead, cloneRepository, buildRepositoryImage, prepareImageBuild, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-
|
|
4
|
+
import { readDefaultBranchFiles, readDefaultBranchHead, cloneRepository, buildRepositoryImage, prepareImageBuild, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-IP3HLHWO.js';
|
|
5
5
|
import { FETCHED_DIR, toolsDockerfile, FETCHED_FFMPEG, FETCHED_GH, FETCHED_TINI, FETCHED_HEADLESS_SHELL, FETCHED_PLAYWRIGHT_FFMPEG, FETCHED_VOICE_DIR } from './chunk-F26I6GKL.js';
|
|
6
6
|
import { startTimeOf, isSameProcess } from './chunk-JBJTC3UU.js';
|
|
7
7
|
import { currentCliBuild } from './chunk-OGFGZQA3.js';
|
|
8
8
|
import { runExec, execCapture, waitForAgent } from './chunk-4PH4DVV4.js';
|
|
9
9
|
import { GUEST_CID, linkVsockSockets } from './chunk-UZGQT6OF.js';
|
|
10
|
-
import { retrySend, describeCallFailure, formatDuration, keepStagedContext, controlPlaneTokenFailure, refusalCode, resolveGoverningSource, prefetchGovernedContext, removeStagedContext, stageGovernedContext, pinnedSourceOf, commandWithShim, shimScript, WORKFLOW_PERMISSION_REASON } from './chunk-
|
|
10
|
+
import { retrySend, describeCallFailure, formatDuration, keepStagedContext, controlPlaneTokenFailure, refusalCode, resolveGoverningSource, prefetchGovernedContext, removeStagedContext, stageGovernedContext, pinnedSourceOf, commandWithShim, shimScript, WORKFLOW_PERMISSION_REASON } from './chunk-H467HI5U.js';
|
|
11
11
|
import { runnerImageVersion } from './chunk-SQGD4LYW.js';
|
|
12
|
-
import { hasStoredCredential, AGENT_COMMANDS, storeClaudeCredential, credentialFromStdin, isAgentName } from './chunk-
|
|
13
|
-
import { claimCalls } from './chunk-
|
|
14
|
-
import { optionalEgress, runnerCredentialProblem, builtinKind, keyRunnerFactory, DEFAULT_SETUP_MINUTES, allowHostProblem, DEFAULT_SAVED_STATE_MAX_BYTES, systemClock, emptyEgressCounts, hostAllowed } from './chunk-
|
|
15
|
-
import { DEFAULT_BUILD_DISK, formatBytes, allocatedBytes } from './chunk-
|
|
16
|
-
import { parseSize, NETWORK_HELPER_MEMORY, createDockerHost, builderSpec, runnerLabelValue, RUNNER_LABEL, BUILD_LABEL, prepareRunArgs, networkHelperName, containerRunArgs, HASH_ARGV, parseProgramHash, JUDGE_PROGRAM, mountableHome, homeCopyRunArgs, containerExecArgs, childEnvironment, readDu, JUDGE_DIR, MAX_ITEMS_BYTES, JUDGE_ITEMS, MAX_REPORT_BYTES, JUDGE_REPORT, NETWORK_READY_FILE, spawnRun, identityRunArgs, parseIdentity, networkHelperRunArgs, SAVED_STATE_LABEL } from './chunk-
|
|
12
|
+
import { hasStoredCredential, AGENT_COMMANDS, storeClaudeCredential, credentialFromStdin, isAgentName } from './chunk-SIF536BT.js';
|
|
13
|
+
import { claimCalls } from './chunk-7NARODRP.js';
|
|
14
|
+
import { optionalEgress, runnerCredentialProblem, builtinKind, keyRunnerFactory, DEFAULT_SETUP_MINUTES, allowHostProblem, DEFAULT_SAVED_STATE_MAX_BYTES, systemClock, emptyEgressCounts, hostAllowed } from './chunk-HNA33MLR.js';
|
|
15
|
+
import { DEFAULT_BUILD_DISK, formatBytes, allocatedBytes } from './chunk-PHETCXGP.js';
|
|
16
|
+
import { parseSize, NETWORK_HELPER_MEMORY, createDockerHost, builderSpec, runnerLabelValue, RUNNER_LABEL, BUILD_LABEL, prepareRunArgs, networkHelperName, containerRunArgs, HASH_ARGV, parseProgramHash, JUDGE_PROGRAM, mountableHome, homeCopyRunArgs, containerExecArgs, childEnvironment, readDu, JUDGE_DIR, MAX_ITEMS_BYTES, JUDGE_ITEMS, MAX_REPORT_BYTES, JUDGE_REPORT, NETWORK_READY_FILE, spawnRun, identityRunArgs, parseIdentity, networkHelperRunArgs, SAVED_STATE_LABEL } from './chunk-DVXUUCOF.js';
|
|
17
17
|
import { RecipeError, DOCKER_FEATURE, universalImagePending, writeSanitizedRecipe, classifyProperties } from './chunk-NGT2CCGM.js';
|
|
18
18
|
import { firecrackerArch, MICROVM_ARCHES, FIRECRACKER_VERSION, hostHelperPinned, CLAUDE_CODE_VERSION, builderDiskPinned, guestAssetsPinned, GUEST_HELPER_SHA256, GUEST_ASSETS_BASE_URL, GUEST_KERNEL_SHA256, JAILER_BINARY_SHA256, FIRECRACKER_BINARY_SHA256, FIRECRACKER_SHA256, GUEST_ASSETS_VERSION, BUILDER_DISK_VERSION, 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 } from './chunk-PZN4L2DN.js';
|
|
19
|
-
import { postJson, WorkCommandError, getJson } from './chunk-
|
|
19
|
+
import { postJson, WorkCommandError, getJson } from './chunk-NZDM6KJ2.js';
|
|
20
20
|
import { sanitizeTerminal } from './chunk-PDK35AR4.js';
|
|
21
21
|
import { signerFor } from './chunk-XU5BNWX7.js';
|
|
22
22
|
import { sharedSkillNames, skillConflictMessage } from './chunk-FGF52V4V.js';
|
|
23
23
|
import { versionAtLeast, MINIMUM_CLAUDE_VERSION } from './chunk-HCVLP7XA.js';
|
|
24
|
-
import { MIN_SCRUBBED_LITERAL, setCustomScrubbers, setLocalIdentity, setRepoRoot, parseTranscript, scrubDeep, scrubText } from './chunk-
|
|
24
|
+
import { MIN_SCRUBBED_LITERAL, setCustomScrubbers, setLocalIdentity, setRepoRoot, parseTranscript, scrubDeep, scrubText } from './chunk-H25XK3DY.js';
|
|
25
25
|
import { orderSessions, extractFacts, sessionsToTimeline } from './chunk-5FWBAM6O.js';
|
|
26
26
|
import { downconvertSession } from './chunk-YTTESG7K.js';
|
|
27
27
|
import { vmAssetsDir, RUNNER_DIR_MODE, rootfsPathFor, diskTemplatesDir, RUNNER_FILE_MODE, buildsDir, buildDir, runnerDir, deliveryDir, ghConfigDir, orgStoreIn, runnerDirOfBuild, spoolDir, mirrorDir, SHIM_DIR, vsockPath, builderCacheDiskPath, builderConsolePath } from './chunk-YQHUCOUL.js';
|
|
@@ -2120,6 +2120,16 @@ function plain(name, value, allowed) {
|
|
|
2120
2120
|
if (!allowed.test(value)) throw new Error(`${name} holds a character the builder's script cannot carry safely: ${JSON.stringify(value)}`);
|
|
2121
2121
|
return value;
|
|
2122
2122
|
}
|
|
2123
|
+
function trimFunction() {
|
|
2124
|
+
return [
|
|
2125
|
+
"trim() {",
|
|
2126
|
+
" docker container prune --force > /dev/null 2>&1 || true",
|
|
2127
|
+
` docker image ls --format '{{.Repository}}:{{.Tag}}' 2>/dev/null | grep -vxF "$(printf '%s\\n' '<none>:<none>' "$@")" | xargs -r docker rmi > /dev/null 2>&1 || true`,
|
|
2128
|
+
" docker image prune --force > /dev/null 2>&1 || true",
|
|
2129
|
+
` docker builder prune --force --keep-storage ${BUILD_CACHE_KEEP} > /dev/null 2>&1 || true`,
|
|
2130
|
+
"}"
|
|
2131
|
+
];
|
|
2132
|
+
}
|
|
2123
2133
|
function builderGuestScript(parts) {
|
|
2124
2134
|
const recipeTag = plain("the recipe tag", parts.recipeTag, /^[A-Za-z0-9_.:@/-]+$/);
|
|
2125
2135
|
const buildTag = plain("the image tag", parts.buildTag, /^[A-Za-z0-9_.:@/-]+$/);
|
|
@@ -2138,15 +2148,11 @@ function builderGuestScript(parts) {
|
|
|
2138
2148
|
"export DOCKER_CONFIG=/run/builder/docker DOCKER_BUILDKIT=1",
|
|
2139
2149
|
"mkdir -p /run/builder/docker /cache/docker",
|
|
2140
2150
|
"dockerd_pid=",
|
|
2141
|
-
|
|
2142
|
-
"trim() {",
|
|
2143
|
-
` docker image ls --format '{{.Repository}}:{{.Tag}}' 2>/dev/null | grep -vxF -e '<none>:<none>' -e ${recipeTag} | xargs -r docker rmi > /dev/null 2>&1 || true`,
|
|
2144
|
-
" docker image prune --force > /dev/null 2>&1 || true",
|
|
2145
|
-
` docker builder prune --force --keep-storage ${BUILD_CACHE_KEEP} > /dev/null 2>&1 || true`,
|
|
2146
|
-
"}",
|
|
2151
|
+
...trimFunction(),
|
|
2147
2152
|
// The engine stops and the disks sync before the microVM does: the runner stops a builder without a shutdown, and an engine still running leaves BuildKit's database half-written on the cache disk.
|
|
2153
|
+
// Whatever way the script ends, the cache keeps the recipe image and a bounded build cache, so a repository's cache disk cannot fill with the images of old recipes.
|
|
2148
2154
|
"settle() {",
|
|
2149
|
-
|
|
2155
|
+
` trim ${recipeTag}`,
|
|
2150
2156
|
' if [ -n "$dockerd_pid" ]; then',
|
|
2151
2157
|
' kill "$dockerd_pid" 2>/dev/null || true',
|
|
2152
2158
|
" waited_stop=0",
|
|
@@ -2184,6 +2190,11 @@ function builderGuestScript(parts) {
|
|
|
2184
2190
|
// needed for it, and the tool files in them are large, so they go first.
|
|
2185
2191
|
"rm -rf /work/repo /work/recipe /work/tools/fetched",
|
|
2186
2192
|
"docker builder prune --force --filter type=source.local > /dev/null 2>&1 || true",
|
|
2193
|
+
// So do the images of earlier recipes. The cache disk holds them until now, and beside the new image they can leave
|
|
2194
|
+
// the root disk too little room. Their layers stay in the build cache after the images go, under the bound `trim`
|
|
2195
|
+
// keeps, so the build cache that no image uses goes too.
|
|
2196
|
+
`trim ${recipeTag} ${buildTag}`,
|
|
2197
|
+
"docker builder prune --force > /dev/null 2>&1 || true",
|
|
2187
2198
|
`container=$(docker create ${buildTag} none)`,
|
|
2188
2199
|
'OUT_NAME=rootfs.ext4 HOST_UID=0 HOST_GID=0 sh /run/builder/convert.sh "$container"',
|
|
2189
2200
|
'docker rm --force --volumes "$container" > /dev/null',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { keyRunnerFactory, RunnerConfigError } from './chunk-
|
|
3
|
+
import { keyRunnerFactory, RunnerConfigError } from './chunk-HNA33MLR.js';
|
|
4
4
|
import { orgHomeDir } from './chunk-YQHUCOUL.js';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { checkStarterFiles, contextIsGoverned } from './chunk-WJTIU2A5.js';
|
|
4
|
-
import { resolveCredentials, getJson, WorkCommandError } from './chunk-
|
|
5
|
-
import { isLinkedRepository } from './chunk-
|
|
4
|
+
import { resolveCredentials, getJson, WorkCommandError } from './chunk-NZDM6KJ2.js';
|
|
5
|
+
import { isLinkedRepository } from './chunk-RWQLBHU3.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
7
|
import { fleetCheck, checkBuildSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-WG3VIMD2.js';
|
|
8
8
|
import { sanitizeTerminal } from './chunk-PDK35AR4.js';
|
|
@@ -12,7 +12,7 @@ import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_ST
|
|
|
12
12
|
import { readStatuslineState, STATE_FRESH_MS } from './chunk-YBAVN6WS.js';
|
|
13
13
|
import { hookCommandEscapesControlPlane, CONTROL_PLANE_DIR_VARIABLE } from './chunk-HCVLP7XA.js';
|
|
14
14
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
15
|
-
import { resolveRepoIdentity, compareVersions, SUPPORTED_VERSIONS } from './chunk-
|
|
15
|
+
import { resolveRepoIdentity, compareVersions, SUPPORTED_VERSIONS } from './chunk-H25XK3DY.js';
|
|
16
16
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
17
17
|
import { readSettings, settingsPath, isOurStatuslineSlot, statuslineWrappedOriginal, REGISTERED_EVENTS, isOurHookCommand, ourCommandBins, cliBinResolvable, ourDirectScriptBins, wrappedOriginalCommand } from './chunk-KYDEBGJG.js';
|
|
18
18
|
import { readDeliveryRecord, readDegraded, readSourceCache } from './chunk-YQR6E6OV.js';
|
|
@@ -1195,8 +1195,8 @@ function doctorExitCode(checks) {
|
|
|
1195
1195
|
|
|
1196
1196
|
// src/doctor-report.ts
|
|
1197
1197
|
async function gatherDoctorChecks() {
|
|
1198
|
-
const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-
|
|
1199
|
-
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-
|
|
1198
|
+
const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-RARJJXLL.js');
|
|
1199
|
+
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-YI5R4K77.js');
|
|
1200
1200
|
const configPath = defaultRunnerConfigPath();
|
|
1201
1201
|
const runnerHost = hasRunnerBlock(configPath);
|
|
1202
1202
|
const hooks = (() => {
|
|
@@ -1224,7 +1224,7 @@ async function gatherDoctorChecks() {
|
|
|
1224
1224
|
const { runnerVmCheck } = await import('./doctor-53F2PYY7.js');
|
|
1225
1225
|
checks.push(runnerVmCheck(configPath, { lima: realLima(), home: homeFromEnv(), instance: runnerVm.instance }));
|
|
1226
1226
|
} else if (hasRunnerBlock(configPath)) {
|
|
1227
|
-
const { runnerHostChecks } = await import('./doctor-
|
|
1227
|
+
const { runnerHostChecks } = await import('./doctor-YAPSQYAC.js');
|
|
1228
1228
|
const gateway = (() => {
|
|
1229
1229
|
try {
|
|
1230
1230
|
const loaded = loadRunnerConfig(configPath);
|
|
@@ -1252,7 +1252,7 @@ async function gatherDoctorChecks() {
|
|
|
1252
1252
|
const service = await (async () => {
|
|
1253
1253
|
const { existsSync: existsSync3 } = await import('fs');
|
|
1254
1254
|
if (process.platform !== "linux" || !existsSync3("/run/systemd/system")) return void 0;
|
|
1255
|
-
const { inspectRunnerService } = await import('./find-unit-
|
|
1255
|
+
const { inspectRunnerService } = await import('./find-unit-LIJR6HXI.js');
|
|
1256
1256
|
return inspectRunnerService(configPath);
|
|
1257
1257
|
})();
|
|
1258
1258
|
checks.push(...await runnerHostChecks({ configPath, hooks, gateway, repos, runner, service }));
|
|
@@ -3,28 +3,28 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-ZI7JENTB.js';
|
|
4
4
|
import { decideInstalledSwitch } from './chunk-3JVYMD4G.js';
|
|
5
5
|
import { fetchVersionMeta, npmVersion, npmSupportsProvenance, fetchTarballDigest, fetchProvenance, installVersion, auditSignatures } from './chunk-E7R2GIAW.js';
|
|
6
|
-
import { reportFailedStart, fitImageBuildMemory } from './chunk-
|
|
7
|
-
import { renderUpdateSteps } from './chunk-
|
|
8
|
-
import { releaseLease, isUnfinished, setStage, jobEnv, runHook, describeHookEnd, provisionMicroVm, deliverCommitHooks, provisionProcess, readProvisionOut, workdirProblem, MICROVM_COMMAND_DIR, commandLogOffset, startMicroVmCommand, microVmCommandLine, runCommand, startSender, finishJob, sampleGuest, foldSample, isContainerTracked, isMicroVmTracked, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isTimedOut, readCpuUsec, isIdle, stopOrphanedMicroVms, unfinishedJobs, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, hookLimitsFor, AttemptLogBook, microVmOomKills, needsRenew, renewLease, RENEW_INTERVAL_SECONDS, listTrackedJobs, restartSender, serveLease, vmAlive, writeGuestGhConfig, ALREADY_RELEASED, inTeardown } from './chunk-
|
|
6
|
+
import { reportFailedStart, fitImageBuildMemory } from './chunk-32IASBQV.js';
|
|
7
|
+
import { renderUpdateSteps } from './chunk-NB44HOTO.js';
|
|
8
|
+
import { releaseLease, isUnfinished, setStage, jobEnv, runHook, describeHookEnd, provisionMicroVm, deliverCommitHooks, provisionProcess, readProvisionOut, workdirProblem, MICROVM_COMMAND_DIR, commandLogOffset, startMicroVmCommand, microVmCommandLine, runCommand, startSender, finishJob, sampleGuest, foldSample, isContainerTracked, isMicroVmTracked, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isTimedOut, readCpuUsec, isIdle, stopOrphanedMicroVms, unfinishedJobs, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, hookLimitsFor, AttemptLogBook, microVmOomKills, needsRenew, renewLease, RENEW_INTERVAL_SECONDS, listTrackedJobs, restartSender, serveLease, vmAlive, writeGuestGhConfig, ALREADY_RELEASED, inTeardown } from './chunk-UX7BQX4C.js';
|
|
9
9
|
import { RUNNER_PROTOCOL } from './chunk-FJ7KTNMD.js';
|
|
10
10
|
import { writeFleetState } from './chunk-LW2A24IA.js';
|
|
11
11
|
import { writePendingUpdate } from './chunk-SHPCVBT3.js';
|
|
12
12
|
import { JOB_STATE_FORMAT, readsJobState, jobStateFormatOf } from './chunk-ZVB57WI6.js';
|
|
13
|
-
import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, createHousekeepingDocker, housekeepingDockerIfReachable, KIND_LABEL, RECIPE_KEY_LABEL, askFleetMachine } from './chunk-
|
|
13
|
+
import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, createHousekeepingDocker, housekeepingDockerIfReachable, KIND_LABEL, RECIPE_KEY_LABEL, askFleetMachine } from './chunk-2MTBQRCI.js';
|
|
14
14
|
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-7R655ODT.js';
|
|
15
15
|
import { RepoFilter } from './chunk-TBT347UY.js';
|
|
16
|
-
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, LEASE_SECONDS, itemTag, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, needsBuildSkill, provisionContainer, leaseExpiresAtMs, deliverContainerHooks, provisionEnvironment, resolveHostBuild, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, currentSkillCommand, formerSkillProblem, containerCommandExec, execCommandLine, startHostServices, HELPER_ENV, setUpRunnerCgroup, sweepImageBuilders, usableCpus, stoppedHelperReason, measureDisk, parseCpuList, ensureTunnel, keepGhConfigCurrent, filesAreCopied, savedStatesDir, readRecords, removeOldestUntil, ensureNetworkReady, managedBuildSettingsFor, ADOPTED_FETCH_RETRY_WINDOW_MS, gitRemoteFor, startServicesFor, createLeaseChannel, selectStaleIncomplete, selectExpired, selectToFit, removeSavedState } from './chunk-
|
|
16
|
+
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, LEASE_SECONDS, itemTag, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, needsBuildSkill, provisionContainer, leaseExpiresAtMs, deliverContainerHooks, provisionEnvironment, resolveHostBuild, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, currentSkillCommand, formerSkillProblem, containerCommandExec, execCommandLine, startHostServices, HELPER_ENV, setUpRunnerCgroup, sweepImageBuilders, usableCpus, stoppedHelperReason, measureDisk, parseCpuList, ensureTunnel, keepGhConfigCurrent, filesAreCopied, savedStatesDir, readRecords, removeOldestUntil, ensureNetworkReady, managedBuildSettingsFor, ADOPTED_FETCH_RETRY_WINDOW_MS, gitRemoteFor, startServicesFor, createLeaseChannel, selectStaleIncomplete, selectExpired, selectToFit, removeSavedState } from './chunk-7K6MTRN2.js';
|
|
17
17
|
import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-AUVJMR3P.js';
|
|
18
18
|
import { startTimeOf, isSameProcess } from './chunk-JBJTC3UU.js';
|
|
19
|
-
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-
|
|
19
|
+
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-H467HI5U.js';
|
|
20
20
|
import { imageTag, writeUpdateStatus, pullInstruction, tagToPull } from './chunk-SQGD4LYW.js';
|
|
21
21
|
import { isVersion, compareVersions, satisfiesRange } from './chunk-TQMI335S.js';
|
|
22
|
-
import { RUNNER_RESERVE_BYTES } from './chunk-
|
|
23
|
-
import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls } from './chunk-
|
|
24
|
-
import { keyRunnerFactory, isBuiltinContainer, isBuiltinVm, isBuiltinProcess, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS } from './chunk-
|
|
25
|
-
import { allocatedBytes, freeBytes, formatBytes } from './chunk-
|
|
26
|
-
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, exceedsDisk, builderName, runnerLabelValue, ensureFailureCount, builderSpec, ensureBuilder, spawnRun, readJobFileChecked } from './chunk-
|
|
27
|
-
import { isSignatureRefusal, WorkCommandError, getJson, postJson } from './chunk-
|
|
22
|
+
import { RUNNER_RESERVE_BYTES } from './chunk-JBUFM5JN.js';
|
|
23
|
+
import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls } from './chunk-7NARODRP.js';
|
|
24
|
+
import { keyRunnerFactory, isBuiltinContainer, isBuiltinVm, isBuiltinProcess, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS } from './chunk-HNA33MLR.js';
|
|
25
|
+
import { allocatedBytes, freeBytes, formatBytes } from './chunk-PHETCXGP.js';
|
|
26
|
+
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, exceedsDisk, builderName, runnerLabelValue, ensureFailureCount, builderSpec, ensureBuilder, spawnRun, readJobFileChecked } from './chunk-DVXUUCOF.js';
|
|
27
|
+
import { isSignatureRefusal, WorkCommandError, getJson, postJson } from './chunk-NZDM6KJ2.js';
|
|
28
28
|
import { loadHostKey, ensureHostKey, signerFor } from './chunk-XU5BNWX7.js';
|
|
29
29
|
import { resolveVersion } from './chunk-RA3O54FC.js';
|
|
30
30
|
import { RUNNER_DIR_MODE, runnerDir, buildDir, attemptStamp, jobDir, RUNNER_FILE_MODE, jobsDir, pidFilePath, storeScopes, imagesDir, spoolDir, orgStoreIn, builderCacheDiskPath, rootfsDir } from './chunk-YQHUCOUL.js';
|
|
@@ -2337,7 +2337,7 @@ var CLAIM_REFUSAL_CODES = new Set(
|
|
|
2337
2337
|
"pull_request_from_fork pull_request_on_default_branch pull_request_ambiguous pull_request_repository_not_connected repository_not_reachable branch_claimed_elsewhere".split(" ")
|
|
2338
2338
|
);
|
|
2339
2339
|
async function tryClaimAndStart(state, item, queue) {
|
|
2340
|
-
const { postJson: postJson2 } = await import('./work-cmd-
|
|
2340
|
+
const { postJson: postJson2 } = await import('./work-cmd-EHDLH3CJ.js');
|
|
2341
2341
|
const log = logOf(state);
|
|
2342
2342
|
const hostKey = await loadHostKey(state.config.configPath);
|
|
2343
2343
|
const claim = await retrySend(
|
|
@@ -3679,7 +3679,7 @@ async function startRunner(configPath, deps, startup) {
|
|
|
3679
3679
|
check: update.check ? () => update.check(configPath) : async () => {
|
|
3680
3680
|
const held = heldClaudeCredential();
|
|
3681
3681
|
const env = held === void 0 ? process.env : { ...process.env, [held.variable]: held.value };
|
|
3682
|
-
return (await import('./check-
|
|
3682
|
+
return (await import('./check-FYYNT3UP.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
|
|
3683
3683
|
},
|
|
3684
3684
|
now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
|
|
3685
3685
|
log
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-AAGU5FJF.js';
|
|
4
4
|
import { detectActiveSession } from './chunk-IP7BIBXJ.js';
|
|
5
|
-
import { autoConnect } from './chunk-
|
|
5
|
+
import { autoConnect } from './chunk-QZQ2UTPE.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
7
|
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-GBMTKV5B.js';
|
|
8
|
-
import { resolveRepoIdentity } from './chunk-
|
|
8
|
+
import { resolveRepoIdentity } from './chunk-H25XK3DY.js';
|
|
9
9
|
import { launchedItemForSession } from './chunk-5WYT3PPE.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
11
11
|
import { CriteriaListSchema } from './chunk-YTTESG7K.js';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { staleBuildRefusal, staleBuildWarning, detectCi } from './chunk-
|
|
3
|
+
import { staleBuildRefusal, staleBuildWarning, detectCi } from './chunk-TJ755TTP.js';
|
|
4
4
|
import { launchRefusalForSession } from './chunk-AAGU5FJF.js';
|
|
5
5
|
import { detectActiveSession } from './chunk-IP7BIBXJ.js';
|
|
6
|
-
import { autoConnect } from './chunk-
|
|
6
|
+
import { autoConnect } from './chunk-QZQ2UTPE.js';
|
|
7
7
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
8
8
|
import { readEffectiveArtifactSpoolState, localArtifactIds, isArtifactTombstoned, artifactBlobsDir, appendArtifactRecord, artifactsSpoolPath, findPendingArtifactRecord, sanitizeTerminal, appendArtifactTombstone } from './chunk-PDK35AR4.js';
|
|
9
9
|
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-GBMTKV5B.js';
|
|
10
|
-
import { resolveRepoIdentity } from './chunk-
|
|
10
|
+
import { resolveRepoIdentity } from './chunk-H25XK3DY.js';
|
|
11
11
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
12
12
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
13
13
|
import { ARTIFACT_MAX_CAPTION_LENGTH, ArtifactCriterionIdSchema, ARTIFACT_MAX_BYTES, ARTIFACT_MAX_FILENAME_LENGTH, mediaTypeForArtifactPath, inferArtifactKind, ARTIFACT_MAX_REPLACES_TARGETS, parseTestSelector, parseJunit, bindTests } from './chunk-YTTESG7K.js';
|
|
@@ -3,7 +3,7 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { resolveDevcontainerCli, devcontainerBuildInvocation, universalImagePending, RecipeError } from './chunk-NGT2CCGM.js';
|
|
4
4
|
import { universalImagePinned, UNIVERSAL_IMAGE, BUILDKIT_IMAGE } from './chunk-PZN4L2DN.js';
|
|
5
5
|
import { ensureHostKey } from './chunk-XU5BNWX7.js';
|
|
6
|
-
import { compareVersions } from './chunk-
|
|
6
|
+
import { compareVersions } from './chunk-H25XK3DY.js';
|
|
7
7
|
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir } from './chunk-YQHUCOUL.js';
|
|
8
8
|
import { CLAUDE_PORT, BUILD_HOME, JOB_MOUNT, GATEWAY_PORT, GATEWAY_SOCKET, CLAUDE_SOCKET, RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-GANAOCHR.js';
|
|
9
9
|
import { JOIN_DIR, RELAY_ID, JOIN_SOCKET, TARGET_GATEWAY, TARGET_CLAUDE, destinationTarget, RELAY_USER } from './chunk-MESOOLF4.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { resolveCredentials, postJson, getJson } from './chunk-
|
|
3
|
+
import { resolveCredentials, postJson, getJson } from './chunk-NZDM6KJ2.js';
|
|
4
4
|
import { detectActiveSession } from './chunk-IP7BIBXJ.js';
|
|
5
5
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
6
6
|
import { sanitizeTerminal } from './chunk-PDK35AR4.js';
|
|
7
7
|
import { defaultFetch } from './chunk-GBMTKV5B.js';
|
|
8
|
-
import { resolveRepoIdentity } from './chunk-
|
|
8
|
+
import { resolveRepoIdentity } from './chunk-H25XK3DY.js';
|
|
9
9
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
10
10
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
11
11
|
import { randomUUID } from 'crypto';
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-AAGU5FJF.js';
|
|
4
4
|
import { detectActiveSession, transcriptPathForSession } from './chunk-IP7BIBXJ.js';
|
|
5
|
-
import { autoConnect } from './chunk-
|
|
5
|
+
import { autoConnect } from './chunk-QZQ2UTPE.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
7
|
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-GBMTKV5B.js';
|
|
8
8
|
import { readLatestProvenanceForSession } from './chunk-545P7JY7.js';
|
|
9
|
-
import { resolveRepoIdentity, defaultProjectsDir, findTranscripts, sessionIdFromPath, scrubText } from './chunk-
|
|
9
|
+
import { resolveRepoIdentity, defaultProjectsDir, findTranscripts, sessionIdFromPath, scrubText } from './chunk-H25XK3DY.js';
|
|
10
10
|
import { launchedItemForSession } from './chunk-5WYT3PPE.js';
|
|
11
11
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
12
12
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|