@outerlayer/cli 0.33.0-next.20261022173306 → 0.33.0-next.20261022182214
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -1
- package/dist/{agent-setup-TXC37SDW.js → agent-setup-4WKFXVOP.js} +5 -5
- package/dist/{build-ZG3IYBVK.js → build-RBLDHQTY.js} +4 -4
- package/dist/{build-disk-5CI7FSX4.js → build-disk-4EEKP23Z.js} +5 -5
- package/dist/build-info.json +1 -1
- package/dist/{builder-6CZUYTHS.js → builder-V3KALVKL.js} +4 -4
- package/dist/{check-TKBLYWSD.js → check-LDDMISY6.js} +31 -31
- package/dist/{chunk-IOF4N6ED.js → chunk-33SMNWZX.js} +4 -4
- package/dist/{chunk-7EBXH2LK.js → chunk-3BGCXC3O.js} +2 -2
- package/dist/{chunk-IJXZFFW4.js → chunk-4AHKR3K5.js} +8 -8
- package/dist/{chunk-427LS26N.js → chunk-5CZV4FZ5.js} +3 -3
- package/dist/{chunk-PETBUIR4.js → chunk-5KO3TN2F.js} +1 -1
- package/dist/{chunk-IZDBVUBY.js → chunk-634F6J3Q.js} +1 -1
- package/dist/{chunk-6N4CYTHB.js → chunk-A6MLCH76.js} +1 -1
- package/dist/{chunk-DSSDKQGX.js → chunk-CMNAAKFD.js} +1 -1
- package/dist/{chunk-HAD7LYDL.js → chunk-COLOLDY3.js} +33 -6
- package/dist/{chunk-64P3ZIGA.js → chunk-DZGLRVS3.js} +3 -3
- package/dist/{chunk-25JWQ3PF.js → chunk-EBX2DU2M.js} +2 -2
- package/dist/{chunk-GMMHAUBZ.js → chunk-F5HZT672.js} +3 -3
- package/dist/{chunk-M5B7QVWU.js → chunk-FLFK42YF.js} +1 -1
- package/dist/{chunk-QY7BNRS6.js → chunk-FSFAP7GA.js} +2 -2
- package/dist/{chunk-NVU7QK3A.js → chunk-HDD3BKAE.js} +2 -2
- package/dist/{chunk-FXTYLRFW.js → chunk-IQFX5GQH.js} +13 -13
- package/dist/{chunk-ZU4ZY7CZ.js → chunk-J6LFFZOY.js} +4 -4
- package/dist/{chunk-6QHLXYS2.js → chunk-JDKLORO3.js} +38 -13
- package/dist/{chunk-VTCV2EIC.js → chunk-JKPJQNJF.js} +5 -5
- package/dist/{chunk-7ZPHKBYH.js → chunk-JUVUVXQZ.js} +2 -2
- package/dist/{chunk-R6QCSHKC.js → chunk-KFA762LZ.js} +2 -2
- package/dist/{chunk-KCRUMHSL.js → chunk-KQFWTTG7.js} +5 -5
- package/dist/{chunk-XR4HMWQI.js → chunk-LOYLFW4I.js} +1 -1
- package/dist/{chunk-IX6EADX7.js → chunk-MBGS33SL.js} +10 -1
- package/dist/{chunk-KM2ZFYJ5.js → chunk-MCIPCQP3.js} +16 -16
- package/dist/{chunk-KGLEUJZO.js → chunk-MWAA3A5T.js} +4 -4
- package/dist/{chunk-USCRSIES.js → chunk-O7MSQBTH.js} +1 -1
- package/dist/{chunk-CWP6P7FQ.js → chunk-PAFSFC6Q.js} +7 -7
- package/dist/{chunk-ILHDLZKE.js → chunk-PWB7EK4Z.js} +1 -1
- package/dist/{chunk-WPVIC2ST.js → chunk-QPAPHQZ7.js} +1 -1
- package/dist/{chunk-VBXNRP5E.js → chunk-RLGSBR56.js} +2 -2
- package/dist/{chunk-V4KIB7DX.js → chunk-VHRKGCBY.js} +1 -1
- package/dist/{chunk-7NEOLKCQ.js → chunk-W4UFGYKQ.js} +1 -1
- package/dist/{chunk-BZZIW2A3.js → chunk-XCUXPSHL.js} +2 -2
- package/dist/{chunk-CBJTDU2Z.js → chunk-Y53T3QZM.js} +1 -1
- package/dist/{chunk-VORMBXWO.js → chunk-YMGSMPPW.js} +1 -1
- package/dist/{chunk-ZPSS4CVW.js → chunk-ZANK3WWF.js} +1 -1
- package/dist/{chunk-FZMBBIZR.js → chunk-ZFJAQS3A.js} +1 -1
- package/dist/{chunk-LCHFBISI.js → chunk-ZQSCE7M4.js} +2 -2
- package/dist/{chunk-T44DZRT2.js → chunk-ZZAA73E5.js} +3 -3
- package/dist/{claude-launcher-H23NRBGG.js → claude-launcher-SNMNPDP4.js} +1 -1
- package/dist/{cli-H2SKBBUA.js → cli-QUV5HTDW.js} +86 -86
- package/dist/{command-FPIWWJOW.js → command-LEE7TFQE.js} +19 -19
- package/dist/{connect-cmd-6CTOXCMO.js → connect-cmd-YNPOL2Y5.js} +4 -4
- package/dist/{container-start-22L2L3ZN.js → container-start-SL63GFLG.js} +19 -19
- package/dist/{control-plane-launch-LMMGKN45.js → control-plane-launch-O3TXH3LI.js} +4 -4
- package/dist/{docker-HRRTSESV.js → docker-WVTQTRSC.js} +4 -4
- package/dist/{doctor-SXCEI4PK.js → doctor-KT4HGALK.js} +22 -22
- package/dist/{emit-artifact-cmd-PNU53NHX.js → emit-artifact-cmd-PZW7TVHF.js} +9 -9
- package/dist/{emit-criteria-cmd-TAHE36VH.js → emit-criteria-cmd-EE7BYO34.js} +6 -6
- package/dist/{emit-demo-cmd-LQLAACNI.js → emit-demo-cmd-Q6W74DCY.js} +10 -10
- package/dist/{emit-finding-cmd-XAPF2ADX.js → emit-finding-cmd-JXFT233D.js} +6 -6
- package/dist/{emit-result-cmd-5JCWPMDF.js → emit-result-cmd-4K6HUK4B.js} +8 -8
- package/dist/{emit-step-cmd-XGZ4Y7WB.js → emit-step-cmd-JEADH4VS.js} +6 -6
- package/dist/{findings-cmd-GFRXCIDW.js → findings-cmd-MO4MCKIO.js} +6 -6
- package/dist/{fleet-readiness-2UOPN73C.js → fleet-readiness-DA2UXFJW.js} +4 -4
- package/dist/{governing-source-UE2YJEFL.js → governing-source-74VYUJPC.js} +8 -8
- package/dist/{guest-init-KDK4DQFK.js → guest-init-TGECSRKO.js} +1 -1
- package/dist/{hook-fast-CSR32RVX.js → hook-fast-PXSDGAUP.js} +1 -1
- package/dist/{pending-7B67ODWC.js → host-key-5AUIPHRG.js} +2 -2
- package/dist/{image-tag-SHPANRDC.js → image-tag-6U7UYPIT.js} +2 -2
- package/dist/index.js +4 -4
- package/dist/{init-XYXY27AZ.js → init-7P6JHB6Z.js} +18 -18
- package/dist/{init-5MBBGEV6.js → init-BMTDKZU6.js} +18 -18
- package/dist/{init-cmd-KUQIWSPY.js → init-cmd-E7DMPT6E.js} +9 -9
- package/dist/{init-update-CVBL77OI.js → init-update-S6QVSR72.js} +7 -7
- package/dist/{install-TWT2WXEO.js → install-4OPPUC72.js} +2 -2
- package/dist/{install-cmd-45CPGPLT.js → install-cmd-BGUN6XFJ.js} +4 -4
- package/dist/{logs-2LMXN7GQ.js → logs-2XVSZODP.js} +1 -1
- package/dist/{loop-VHTNWIHI.js → loop-7MFQISEV.js} +31 -31
- package/dist/{machine-7HDA6MFG.js → machine-4QGWUII5.js} +15 -15
- package/dist/{mcp-serve-cmd-3GCJKTSF.js → mcp-serve-cmd-GYLU23YJ.js} +3 -3
- package/dist/paths-FE7TXSTA.js +9 -0
- package/dist/{host-key-D3EFK52H.js → pending-ZXVJPA24.js} +2 -2
- package/dist/{pidfile-WVL54AJK.js → pidfile-ZWJLQIJV.js} +2 -2
- package/dist/{record-H4A3HMMD.js → record-JGQ3CCKH.js} +2 -2
- package/dist/{runner-env-WXG5KLBK.js → runner-env-V37JMYNW.js} +3 -3
- package/dist/{runner-identity-KARE5T3G.js → runner-identity-X3UP5IQ4.js} +4 -4
- package/dist/{runner-key-FFWA4AOV.js → runner-key-3STHCRT5.js} +18 -18
- package/dist/{session-sender-CHJJC2WE.js → session-sender-I3CQB6YL.js} +9 -9
- package/dist/{spec-cmd-7D5PPR4I.js → spec-cmd-E6LI56MR.js} +7 -7
- package/dist/{status-UPDTLTTF.js → status-WS2REEFU.js} +20 -20
- package/dist/{sync-cmd-IVN4LVOH.js → sync-cmd-ONY2NA4L.js} +8 -8
- package/dist/{watch-OELQXJA3.js → watch-TH3E7HC3.js} +8 -8
- package/dist/{work-claim-cmd-EIE6NU5O.js → work-claim-cmd-UZYGUHAF.js} +8 -8
- package/dist/{work-cmd-LPEBBF4I.js → work-cmd-IGYK3MVP.js} +6 -6
- package/dist/{work-comment-cmd-JDIXMD6G.js → work-comment-cmd-D5QETAF5.js} +6 -6
- package/dist/{work-logs-cmd-3QFTKXR2.js → work-logs-cmd-I2LQK72I.js} +6 -6
- package/dist/{work-open-pr-cmd-LM7C63XI.js → work-open-pr-cmd-FMJKE3M4.js} +7 -7
- package/dist/{work-pr-cmd-VFEQMSAI.js → work-pr-cmd-5G3FJSPI.js} +6 -6
- package/dist/{work-stop-cmd-YKXWUGTC.js → work-stop-cmd-7J6NG6WO.js} +6 -6
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer-build/references/agent-briefs.md +9 -3
- package/skill-pack/maintained/outerlayer-build/references/evidence.md +4 -3
- package/skill-pack/maintained/outerlayer-evidence/SKILL.md +8 -7
- package/dist/paths-G6G3BJHG.js +0 -9
package/README.md
CHANGED
|
@@ -223,7 +223,10 @@ content:
|
|
|
223
223
|
build uses the host's network: the build's tunnel does not carry it, and
|
|
224
224
|
`runner.build.allowHosts` does not limit it.
|
|
225
225
|
- **`outerlayer runner start` with `builtin:vm` hooks** runs each build in its
|
|
226
|
-
own Firecracker microVM, which has no network
|
|
226
|
+
own Firecracker microVM, which has no network card. Every TCP connection
|
|
227
|
+
of every program in it goes through the runner's tunnel, whether or not the
|
|
228
|
+
program reads the proxy variables, and `runner.build.allowHosts` narrows what
|
|
229
|
+
it reaches. No DNS query or UDP packet leaves the microVM. The first microVM
|
|
227
230
|
build downloads a pinned Firecracker release from github.com. It also
|
|
228
231
|
downloads a guest kernel and a guest helper from the releases of the public
|
|
229
232
|
repository `outerlayerai/guest-assets` on github.com. The runner checks each
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { keepHandWritten, runAgentSetup } from './chunk-
|
|
3
|
+
export { keepHandWritten, runAgentSetup } from './chunk-VHRKGCBY.js';
|
|
4
4
|
import './chunk-JHTJPQSL.js';
|
|
5
5
|
import './chunk-KT4CN6OU.js';
|
|
6
6
|
import './chunk-DY7Y7UT4.js';
|
|
7
7
|
import './chunk-HJYBWJAS.js';
|
|
8
8
|
import './chunk-ANPNT6PM.js';
|
|
9
|
-
import './chunk-
|
|
9
|
+
import './chunk-YMGSMPPW.js';
|
|
10
10
|
import './chunk-UIUGTW5C.js';
|
|
11
|
-
import './chunk-
|
|
11
|
+
import './chunk-FLFK42YF.js';
|
|
12
12
|
import './chunk-PJDQPF5N.js';
|
|
13
|
-
import './chunk-
|
|
14
|
-
import './chunk-
|
|
13
|
+
import './chunk-634F6J3Q.js';
|
|
14
|
+
import './chunk-MBGS33SL.js';
|
|
15
15
|
import './chunk-D5ZGMXUL.js';
|
|
16
16
|
import './chunk-ZJSNLVCE.js';
|
|
17
17
|
import './chunk-BJ3KTMDH.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { KEY_PREFIX, TAG_HOST, buildRepositoryImage, metadataFromLabels, prepareImageBuild, writeRecord } from './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
export { KEY_PREFIX, TAG_HOST, buildRepositoryImage, metadataFromLabels, prepareImageBuild, writeRecord } from './chunk-MWAA3A5T.js';
|
|
4
|
+
import './chunk-ZFJAQS3A.js';
|
|
5
5
|
import './chunk-JBJTC3UU.js';
|
|
6
6
|
export { RecipeError } from './chunk-3Z3MPR55.js';
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
7
|
+
import './chunk-KFA762LZ.js';
|
|
8
|
+
import './chunk-MBGS33SL.js';
|
|
9
9
|
import './chunk-D5ZGMXUL.js';
|
|
10
10
|
import './chunk-HACGUL52.js';
|
|
11
11
|
import './chunk-MESOOLF4.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { DEFAULT_BUILD_DISK, DOCKER_CACHE_MS, checkDiskFit, realBuildDiskProbe, runDocker, volumeBytes } from './chunk-
|
|
3
|
+
export { DEFAULT_BUILD_DISK, DOCKER_CACHE_MS, checkDiskFit, realBuildDiskProbe, runDocker, volumeBytes } from './chunk-3BGCXC3O.js';
|
|
4
4
|
import './chunk-YYYRBYWG.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-5CZV4FZ5.js';
|
|
6
6
|
import './chunk-3Z3MPR55.js';
|
|
7
|
-
import './chunk-
|
|
7
|
+
import './chunk-KFA762LZ.js';
|
|
8
8
|
import './chunk-YJLHUKYS.js';
|
|
9
9
|
import './chunk-5DNCFOXA.js';
|
|
10
|
-
import './chunk-
|
|
11
|
-
import './chunk-
|
|
10
|
+
import './chunk-634F6J3Q.js';
|
|
11
|
+
import './chunk-MBGS33SL.js';
|
|
12
12
|
import './chunk-D5ZGMXUL.js';
|
|
13
13
|
import './chunk-E6CO3MJE.js';
|
|
14
14
|
import './chunk-HACGUL52.js';
|
package/dist/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"2026-10-
|
|
1
|
+
{"id":"2026-10-22T18:25:50.694Z+4fc4b3d","root":"/home/runner/_work/outerlayer/outerlayer","pkg":"outerlayer"}
|
|
@@ -1,12 +1,12 @@
|
|
|
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-5CZV4FZ5.js';
|
|
4
4
|
import './chunk-3Z3MPR55.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-KFA762LZ.js';
|
|
6
6
|
import './chunk-YJLHUKYS.js';
|
|
7
7
|
import './chunk-5DNCFOXA.js';
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
8
|
+
import './chunk-634F6J3Q.js';
|
|
9
|
+
import './chunk-MBGS33SL.js';
|
|
10
10
|
import './chunk-D5ZGMXUL.js';
|
|
11
11
|
import './chunk-E6CO3MJE.js';
|
|
12
12
|
import './chunk-HACGUL52.js';
|
|
@@ -1,64 +1,64 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { probeCredentials } from './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
import { probeCredentials } from './chunk-MCIPCQP3.js';
|
|
4
|
+
import './chunk-IQFX5GQH.js';
|
|
5
5
|
import './chunk-ZVB57WI6.js';
|
|
6
|
-
import './chunk-
|
|
6
|
+
import './chunk-QPAPHQZ7.js';
|
|
7
7
|
import './chunk-3JVYMD4G.js';
|
|
8
8
|
import './chunk-E7R2GIAW.js';
|
|
9
|
-
import './chunk-
|
|
9
|
+
import './chunk-W4UFGYKQ.js';
|
|
10
10
|
import './chunk-YKYCE4HY.js';
|
|
11
|
-
import './chunk-
|
|
12
|
-
import './chunk-
|
|
11
|
+
import './chunk-5KO3TN2F.js';
|
|
12
|
+
import './chunk-COLOLDY3.js';
|
|
13
13
|
import './chunk-TTACRX4N.js';
|
|
14
14
|
import './chunk-I3LTIAOR.js';
|
|
15
|
-
import './chunk-
|
|
16
|
-
import './chunk-
|
|
17
|
-
import './chunk-
|
|
15
|
+
import './chunk-JUVUVXQZ.js';
|
|
16
|
+
import './chunk-J6LFFZOY.js';
|
|
17
|
+
import './chunk-EBX2DU2M.js';
|
|
18
18
|
import './chunk-ESVW4MJY.js';
|
|
19
|
-
import { placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, managedProblems, managedFactsOf, needsClaudeCredential, claudeCredentialCheck, claimPermissionProblem, formerSkillQueues, formerSkillProblem } from './chunk-
|
|
20
|
-
import './chunk-
|
|
19
|
+
import { placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, managedProblems, managedFactsOf, needsClaudeCredential, claudeCredentialCheck, claimPermissionProblem, formerSkillQueues, formerSkillProblem } from './chunk-PAFSFC6Q.js';
|
|
20
|
+
import './chunk-O7MSQBTH.js';
|
|
21
21
|
import './chunk-TBT347UY.js';
|
|
22
|
-
import './chunk-
|
|
23
|
-
import './chunk-
|
|
24
|
-
import './chunk-
|
|
25
|
-
import { probeHelper, HELPER_ENV, helperSocketPath } from './chunk-
|
|
22
|
+
import './chunk-33SMNWZX.js';
|
|
23
|
+
import './chunk-HDD3BKAE.js';
|
|
24
|
+
import './chunk-F5HZT672.js';
|
|
25
|
+
import { probeHelper, HELPER_ENV, helperSocketPath } from './chunk-JDKLORO3.js';
|
|
26
26
|
import './chunk-2PGI6RDE.js';
|
|
27
|
-
import './chunk-
|
|
28
|
-
import './chunk-
|
|
27
|
+
import './chunk-MWAA3A5T.js';
|
|
28
|
+
import './chunk-ZFJAQS3A.js';
|
|
29
29
|
import './chunk-JBJTC3UU.js';
|
|
30
30
|
import './chunk-OGFGZQA3.js';
|
|
31
31
|
import './chunk-XXVYHC6D.js';
|
|
32
32
|
import './chunk-O5F376JJ.js';
|
|
33
|
-
import './chunk-
|
|
34
|
-
import './chunk-
|
|
33
|
+
import './chunk-JKPJQNJF.js';
|
|
34
|
+
import './chunk-PWB7EK4Z.js';
|
|
35
35
|
import './chunk-TQMI335S.js';
|
|
36
|
-
import { DEFAULT_UNIT_NAME } from './chunk-
|
|
37
|
-
import './chunk-
|
|
36
|
+
import { DEFAULT_UNIT_NAME } from './chunk-A6MLCH76.js';
|
|
37
|
+
import './chunk-3BGCXC3O.js';
|
|
38
38
|
import './chunk-YYYRBYWG.js';
|
|
39
|
-
import './chunk-
|
|
39
|
+
import './chunk-5CZV4FZ5.js';
|
|
40
40
|
import './chunk-3Z3MPR55.js';
|
|
41
|
-
import './chunk-
|
|
41
|
+
import './chunk-KFA762LZ.js';
|
|
42
42
|
import { loadRunnerConfig, RunnerConfigError, checkHooks } from './chunk-ZQ7VRXYM.js';
|
|
43
43
|
import './chunk-UXYLWVTQ.js';
|
|
44
44
|
import './chunk-YJLHUKYS.js';
|
|
45
|
-
import './chunk-
|
|
46
|
-
import './chunk-
|
|
47
|
-
import './chunk-
|
|
45
|
+
import './chunk-KQFWTTG7.js';
|
|
46
|
+
import './chunk-RLGSBR56.js';
|
|
47
|
+
import './chunk-CMNAAKFD.js';
|
|
48
48
|
import './chunk-EWVYQLD3.js';
|
|
49
49
|
import './chunk-5DNCFOXA.js';
|
|
50
50
|
import './chunk-HJYBWJAS.js';
|
|
51
51
|
import './chunk-NSPRS7WK.js';
|
|
52
52
|
import './chunk-G2JWZDFA.js';
|
|
53
53
|
import './chunk-ANPNT6PM.js';
|
|
54
|
-
import './chunk-
|
|
54
|
+
import './chunk-YMGSMPPW.js';
|
|
55
55
|
import './chunk-UIUGTW5C.js';
|
|
56
|
-
import './chunk-
|
|
56
|
+
import './chunk-FLFK42YF.js';
|
|
57
57
|
import './chunk-PJDQPF5N.js';
|
|
58
|
-
import './chunk-
|
|
59
|
-
import './chunk-
|
|
58
|
+
import './chunk-634F6J3Q.js';
|
|
59
|
+
import './chunk-MBGS33SL.js';
|
|
60
60
|
import { claudeEnvPath } from './chunk-D5ZGMXUL.js';
|
|
61
|
-
import './chunk-
|
|
61
|
+
import './chunk-ZANK3WWF.js';
|
|
62
62
|
import './chunk-ZJSNLVCE.js';
|
|
63
63
|
import './chunk-2O5KA67H.js';
|
|
64
64
|
import './chunk-BKO6JEZI.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { hasStoredCredential, AGENT_COMMANDS, storeClaudeCredential, credentialFromStdin, isAgentName } from './chunk-
|
|
4
|
-
import { detectMachine, supportsContainerBuilds, reachDockerStep, describeMachineDocker, supportsMicroVmBuilds } from './chunk-
|
|
5
|
-
import { MIN_ENGINE_MAJOR } from './chunk-
|
|
3
|
+
import { hasStoredCredential, AGENT_COMMANDS, storeClaudeCredential, credentialFromStdin, isAgentName } from './chunk-HDD3BKAE.js';
|
|
4
|
+
import { detectMachine, supportsContainerBuilds, reachDockerStep, describeMachineDocker, supportsMicroVmBuilds } from './chunk-F5HZT672.js';
|
|
5
|
+
import { MIN_ENGINE_MAJOR } from './chunk-JDKLORO3.js';
|
|
6
6
|
import { runnerCredentialProblem } from './chunk-ZQ7VRXYM.js';
|
|
7
|
-
import { runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
7
|
+
import { runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-MBGS33SL.js';
|
|
8
8
|
import { existsSync, readFileSync, mkdirSync, writeFileSync } from 'fs';
|
|
9
9
|
import { dirname } from 'path';
|
|
10
10
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { formatBytes, freeBytes } from './chunk-YYYRBYWG.js';
|
|
4
|
-
import { BUILD_LABEL, RUNNER_LABEL, runnerLabelValue } from './chunk-
|
|
4
|
+
import { BUILD_LABEL, RUNNER_LABEL, runnerLabelValue } from './chunk-5CZV4FZ5.js';
|
|
5
5
|
import { parseSize } from './chunk-YJLHUKYS.js';
|
|
6
|
-
import { buildsDir, rootfsDir, runnerDir } from './chunk-
|
|
6
|
+
import { buildsDir, rootfsDir, runnerDir } from './chunk-MBGS33SL.js';
|
|
7
7
|
import { spawnSync } from 'child_process';
|
|
8
8
|
import { existsSync, statSync, readdirSync } from 'fs';
|
|
9
9
|
import { join } from 'path';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { checkStarterFiles, contextIsGoverned } from './chunk-BJQ25STI.js';
|
|
4
|
-
import { fleetCheck, checkBuildSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences } from './chunk-
|
|
5
|
-
import { resolveCredentials, getJson, WorkCommandError } from './chunk-
|
|
6
|
-
import { isLinkedRepository } from './chunk-
|
|
4
|
+
import { fleetCheck, checkBuildSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences } from './chunk-LOYLFW4I.js';
|
|
5
|
+
import { resolveCredentials, getJson, WorkCommandError } from './chunk-KQFWTTG7.js';
|
|
6
|
+
import { isLinkedRepository } from './chunk-CMNAAKFD.js';
|
|
7
7
|
import { sanitizeTerminal } from './chunk-EWVYQLD3.js';
|
|
8
8
|
import { resolveRepoIdentity, compareVersions, SUPPORTED_VERSIONS } from './chunk-5DNCFOXA.js';
|
|
9
9
|
import { C } from './chunk-ANPNT6PM.js';
|
|
10
10
|
import { checkFormerSkillNames } from './chunk-UIUGTW5C.js';
|
|
11
|
-
import { resolveGatewayCredentials, defaultFetch } from './chunk-
|
|
12
|
-
import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-
|
|
11
|
+
import { resolveGatewayCredentials, defaultFetch } from './chunk-FLFK42YF.js';
|
|
12
|
+
import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-ZANK3WWF.js';
|
|
13
13
|
import { readStatuslineState, STATE_FRESH_MS } from './chunk-I7RZHMXW.js';
|
|
14
14
|
import { hookCommandEscapesControlPlane, CONTROL_PLANE_DIR_VARIABLE } from './chunk-HCVLP7XA.js';
|
|
15
15
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
@@ -1190,7 +1190,7 @@ function doctorExitCode(checks) {
|
|
|
1190
1190
|
|
|
1191
1191
|
// src/doctor-report.ts
|
|
1192
1192
|
async function gatherDoctorChecks() {
|
|
1193
|
-
const { DEFAULT_BUILD_DISK } = await import('./build-disk-
|
|
1193
|
+
const { DEFAULT_BUILD_DISK } = await import('./build-disk-4EEKP23Z.js');
|
|
1194
1194
|
const { defaultRunnerConfigPath, hasRunnerBlock, loadRunnerConfig, runnerVmOf } = await import('./config-WAIYUZUG.js');
|
|
1195
1195
|
const configPath = defaultRunnerConfigPath();
|
|
1196
1196
|
const runnerHost = hasRunnerBlock(configPath);
|
|
@@ -1212,7 +1212,7 @@ async function gatherDoctorChecks() {
|
|
|
1212
1212
|
const { runnerVmCheck } = await import('./doctor-53F2PYY7.js');
|
|
1213
1213
|
checks.push(runnerVmCheck(configPath, { lima: realLima(), home: homeFromEnv(), instance: runnerVm.instance }));
|
|
1214
1214
|
} else if (hasRunnerBlock(configPath)) {
|
|
1215
|
-
const { runnerHostChecks } = await import('./doctor-
|
|
1215
|
+
const { runnerHostChecks } = await import('./doctor-KT4HGALK.js');
|
|
1216
1216
|
const gateway = (() => {
|
|
1217
1217
|
try {
|
|
1218
1218
|
const { url, apiKey, appId } = loadRunnerConfig(configPath);
|
|
@@ -1240,7 +1240,7 @@ async function gatherDoctorChecks() {
|
|
|
1240
1240
|
const { existsSync: existsSync3 } = await import('fs');
|
|
1241
1241
|
if (process.platform !== "linux" || !existsSync3("/run/systemd/system")) return void 0;
|
|
1242
1242
|
const { inspectService, realInspectProbes } = await import('./inspect-DNLXTXLA.js');
|
|
1243
|
-
const { DEFAULT_UNIT_NAME } = await import('./install-
|
|
1243
|
+
const { DEFAULT_UNIT_NAME } = await import('./install-4OPPUC72.js');
|
|
1244
1244
|
const { dirname: dirname2 } = await import('path');
|
|
1245
1245
|
return inspectService(DEFAULT_UNIT_NAME, dirname2(configPath), realInspectProbes());
|
|
1246
1246
|
})();
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { RecipeError } from './chunk-3Z3MPR55.js';
|
|
4
|
-
import { BUILDKIT_IMAGE } from './chunk-
|
|
4
|
+
import { BUILDKIT_IMAGE } from './chunk-KFA762LZ.js';
|
|
5
5
|
import { parseSize } from './chunk-YJLHUKYS.js';
|
|
6
6
|
import { compareVersions } from './chunk-5DNCFOXA.js';
|
|
7
|
-
import { ensureHostKey } from './chunk-
|
|
8
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir } from './chunk-
|
|
7
|
+
import { ensureHostKey } from './chunk-634F6J3Q.js';
|
|
8
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir } from './chunk-MBGS33SL.js';
|
|
9
9
|
import { CLAUDE_PORT, JOB_MOUNT, GATEWAY_PORT, GATEWAY_SOCKET, CLAUDE_SOCKET, RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-D5ZGMXUL.js';
|
|
10
10
|
import { JOIN_DIR, RELAY_ID, JOIN_SOCKET, TARGET_GATEWAY, TARGET_CLAUDE, destinationTarget, RELAY_USER } from './chunk-MESOOLF4.js';
|
|
11
11
|
import { createHash } from 'crypto';
|
|
@@ -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-MBGS33SL.js';
|
|
4
4
|
import { readFileSync, existsSync, rmSync, 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 { hostKeyPath, runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
3
|
+
import { hostKeyPath, runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-MBGS33SL.js';
|
|
4
4
|
import { generateKeyPairSync, createPrivateKey, createPublicKey, sign } from 'crypto';
|
|
5
5
|
import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'fs';
|
|
6
6
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { builtinKind } from './chunk-ZQ7VRXYM.js';
|
|
4
4
|
import { parseSize } from './chunk-YJLHUKYS.js';
|
|
5
|
-
import { runnerDir } from './chunk-
|
|
5
|
+
import { runnerDir } from './chunk-MBGS33SL.js';
|
|
6
6
|
import { CLAUDE_CREDENTIAL_ID, CLAUDE_ENV_FILE, credentialLineIn, withoutCredentialLines } from './chunk-D5ZGMXUL.js';
|
|
7
7
|
import { FD_SLOTS_PER_BUILD, FD_STORE_ENV } from './chunk-HACGUL52.js';
|
|
8
8
|
import { existsSync, readFileSync, writeFileSync, chmodSync, renameSync } from 'fs';
|
|
@@ -4,7 +4,7 @@ import { sanitizeTerminal } from './chunk-EWVYQLD3.js';
|
|
|
4
4
|
import { remoteLookupFailed } from './chunk-5DNCFOXA.js';
|
|
5
5
|
import { isAgentsMdLayout } from './chunk-HJYBWJAS.js';
|
|
6
6
|
import { DEFAULT_DASHBOARD } from './chunk-NSPRS7WK.js';
|
|
7
|
-
import { cliFetch, resolveGatewayCredentials } from './chunk-
|
|
7
|
+
import { cliFetch, resolveGatewayCredentials } from './chunk-FLFK42YF.js';
|
|
8
8
|
import { readCloudConfig } from './chunk-PJDQPF5N.js';
|
|
9
9
|
import { findGitDirs, writeRepoConnection, readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
10
10
|
import { cliInvocation } from './chunk-CRB3POP4.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import {
|
|
3
|
+
import { TUNNEL_PORT, BRIDGE_ADDRESS, BRIDGE_CIDR } from './chunk-TTACRX4N.js';
|
|
4
4
|
import { startTimeOf } from './chunk-JBJTC3UU.js';
|
|
5
5
|
import { EXEC_PORT } from './chunk-O5F376JJ.js';
|
|
6
6
|
import { RELAY_PORT } from './chunk-D5ZGMXUL.js';
|
|
7
7
|
import { spawn, spawnSync } from 'child_process';
|
|
8
|
-
import { symlinkSync, lstatSync, writeFileSync, chmodSync, mkdirSync } from 'fs';
|
|
8
|
+
import { symlinkSync, lstatSync, writeFileSync, chmodSync, mkdirSync, existsSync } from 'fs';
|
|
9
9
|
|
|
10
10
|
createRequire(import.meta.url);
|
|
11
11
|
var HELPER_PATH = "/opt/outerlayer/bin/outerlayer-guest";
|
|
@@ -19,9 +19,17 @@ var DOCKER_DATA_ROOT = "/build/docker";
|
|
|
19
19
|
var BUILD_DISK = "/dev/vdb";
|
|
20
20
|
var HOSTNAME = "outerlayer-build";
|
|
21
21
|
var HOSTS = "127.0.0.1 localhost\n::1 localhost ip6-localhost ip6-loopback\n";
|
|
22
|
-
var
|
|
22
|
+
var NAME_SERVER = "127.0.0.53";
|
|
23
|
+
var RESOLV_CONF = `# The guest helper answers every lookup. The runner's tunnel resolves a name when a program connects to it.
|
|
24
|
+
nameserver ${NAME_SERVER}
|
|
25
|
+
`;
|
|
26
|
+
var NSSWITCH_CONF = "hosts: files dns\n";
|
|
27
|
+
var NSSWITCH_PATH = "/etc/nsswitch.conf";
|
|
28
|
+
var NET_READY = "/run/outerlayer-net.ready";
|
|
29
|
+
var TUN_DEVICE = "tun0";
|
|
23
30
|
var BUILD_DIRECTORIES = ["/build/tmp", "/build/home", "/build/work"];
|
|
24
31
|
var WORLD_WRITABLE = 1023;
|
|
32
|
+
var NET_READY_TIMEOUT_MS = 3e4;
|
|
25
33
|
function relayPortsFrom(cmdline) {
|
|
26
34
|
const value = new RegExp(`(?:^|\\s)${KERNEL_FLAG.replace(".", "\\.")}=(\\S*)`).exec(cmdline)?.[1];
|
|
27
35
|
if (value === void 0 || value === "") return [];
|
|
@@ -89,6 +97,7 @@ function runGuestInit(host, cmdline) {
|
|
|
89
97
|
`],
|
|
90
98
|
["resolv.conf", RESOLV_CONF]
|
|
91
99
|
];
|
|
100
|
+
if (!host.exists(NSSWITCH_PATH)) files.push(["nsswitch.conf", NSSWITCH_CONF]);
|
|
92
101
|
for (const [name, text] of files) {
|
|
93
102
|
host.writeFile(`/run/${name}`, text);
|
|
94
103
|
host.mount({ source: `/run/${name}`, target: `/etc/${name}`, bind: true });
|
|
@@ -96,15 +105,32 @@ function runGuestInit(host, cmdline) {
|
|
|
96
105
|
host.writeFile("/proc/sys/kernel/hostname", HOSTNAME);
|
|
97
106
|
host.mount({ source: "tmpfs", target: "/outerlayer/job", type: "tmpfs", options: "mode=0755" });
|
|
98
107
|
const relay = host.spawnDetached([HELPER_PATH, "relay", ...ports.flatMap((port) => ["--forward", String(port)])]);
|
|
108
|
+
const net = host.spawnDetached([HELPER_PATH, "net", "--tun", TUN_DEVICE, "--dns", `${NAME_SERVER}:53`, "--tunnel-port", String(TUNNEL_PORT)]);
|
|
109
|
+
host.waitForFile(NET_READY);
|
|
99
110
|
if (dockerRequestedBy(cmdline)) {
|
|
100
111
|
startBridgeForwarder(host);
|
|
101
112
|
startDocker(host);
|
|
102
113
|
}
|
|
103
114
|
const agent = host.spawnDetached([HELPER_PATH, "exec-agent", "--port", String(EXEC_PORT)]);
|
|
104
|
-
host.writeFile(HELPER_RECORD, [relay, agent].map((started) => `${started.pid} ${started.start}
|
|
115
|
+
host.writeFile(HELPER_RECORD, [relay, net, agent].map((started) => `${started.pid} ${started.start}
|
|
105
116
|
`).join(""));
|
|
106
117
|
}
|
|
107
|
-
|
|
118
|
+
var PAUSE_MS = 20;
|
|
119
|
+
function realProbe() {
|
|
120
|
+
return {
|
|
121
|
+
now: () => Date.now(),
|
|
122
|
+
exists: (path) => existsSync(path),
|
|
123
|
+
sleep: (ms) => void Atomics.wait(new Int32Array(new SharedArrayBuffer(4)), 0, 0, ms)
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
function waitForPath(path, timeoutMs, probe = realProbe()) {
|
|
127
|
+
const deadline = probe.now() + timeoutMs;
|
|
128
|
+
while (!probe.exists(path)) {
|
|
129
|
+
if (probe.now() > deadline) throw new Error(`${path} did not appear within ${timeoutMs / 1e3} seconds; the guest helper's network stack did not start`);
|
|
130
|
+
probe.sleep(PAUSE_MS);
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
function realGuestHost(netReadyTimeoutMs = NET_READY_TIMEOUT_MS) {
|
|
108
134
|
return {
|
|
109
135
|
mount(args) {
|
|
110
136
|
const argv = ["mount", "--target", args.target];
|
|
@@ -127,6 +153,7 @@ function realGuestHost() {
|
|
|
127
153
|
}
|
|
128
154
|
},
|
|
129
155
|
symlink: (target, path) => symlinkSync(target, path),
|
|
156
|
+
waitForFile: (path) => waitForPath(path, netReadyTimeoutMs),
|
|
130
157
|
warn: (text) => void process.stderr.write(`${text}
|
|
131
158
|
`),
|
|
132
159
|
spawnDetached(argv) {
|
|
@@ -141,4 +168,4 @@ function realGuestHost() {
|
|
|
141
168
|
};
|
|
142
169
|
}
|
|
143
170
|
|
|
144
|
-
export { DOCKERD_LOG, HELPER_PATH, HELPER_RECORD, realGuestHost, relayPortsFrom, runGuestInit };
|
|
171
|
+
export { DOCKERD_LOG, HELPER_PATH, HELPER_RECORD, realGuestHost, relayPortsFrom, runGuestInit, waitForPath };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { launcherPath, writeLauncher, LauncherWriteError, pathNotes } from './chunk-
|
|
4
|
-
import { currentVersion, currentLink, isInLayout, packageRootIn, versionDir, switchCurrent, execStartLine } from './chunk-
|
|
3
|
+
import { launcherPath, writeLauncher, LauncherWriteError, pathNotes } from './chunk-Y53T3QZM.js';
|
|
4
|
+
import { currentVersion, currentLink, isInLayout, packageRootIn, versionDir, switchCurrent, execStartLine } from './chunk-O7MSQBTH.js';
|
|
5
5
|
import { compareVersions } from './chunk-TQMI335S.js';
|
|
6
|
-
import { RUNNER_DIR_MODE } from './chunk-
|
|
6
|
+
import { RUNNER_DIR_MODE } from './chunk-MBGS33SL.js';
|
|
7
7
|
import { realpathSync, readFileSync, mkdirSync, rmSync, cpSync, existsSync } from 'fs';
|
|
8
8
|
import { dirname, sep, join } from 'path';
|
|
9
9
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-ESVW4MJY.js';
|
|
4
|
-
import { autoConnect, detectActiveSession } from './chunk-
|
|
4
|
+
import { autoConnect, detectActiveSession } from './chunk-RLGSBR56.js';
|
|
5
5
|
import { acquireSpoolLockAt } from './chunk-EWVYQLD3.js';
|
|
6
6
|
import { resolveRepoIdentity } from './chunk-5DNCFOXA.js';
|
|
7
7
|
import { C } from './chunk-ANPNT6PM.js';
|
|
8
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
8
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-FLFK42YF.js';
|
|
9
9
|
import { launchedItemForSession } from './chunk-T2Q7ISPE.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
11
11
|
import { StepNameSchema, StepBodySchema } from './chunk-E6CO3MJE.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { MIN_ENGINE_MAJOR } from './chunk-
|
|
4
|
-
import { runnerImageVersion } from './chunk-
|
|
5
|
-
import { firecrackerArch, MICROVM_ARCHES, guestAssetsPinned } from './chunk-
|
|
3
|
+
import { MIN_ENGINE_MAJOR } from './chunk-JDKLORO3.js';
|
|
4
|
+
import { runnerImageVersion } from './chunk-PWB7EK4Z.js';
|
|
5
|
+
import { firecrackerArch, MICROVM_ARCHES, guestAssetsPinned } from './chunk-KFA762LZ.js';
|
|
6
6
|
import { spawnSync } from 'child_process';
|
|
7
7
|
import { existsSync, accessSync, constants, statSync, readFileSync } from 'fs';
|
|
8
8
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readCloudConfigStrict, readCloudConfig, cloudConfigPath } from './chunk-PJDQPF5N.js';
|
|
4
|
-
import { signRunnerRequest, signerFor } from './chunk-
|
|
4
|
+
import { signRunnerRequest, signerFor } from './chunk-634F6J3Q.js';
|
|
5
5
|
import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
6
6
|
import { PLAIN_VERSION, recordCliVersion, removeRecordedVersion } from './chunk-5BHIBJDA.js';
|
|
7
7
|
import { resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-ESVW4MJY.js';
|
|
4
|
-
import { detectActiveSession, autoConnect, transcriptPathForSession } from './chunk-
|
|
4
|
+
import { detectActiveSession, autoConnect, transcriptPathForSession } from './chunk-RLGSBR56.js';
|
|
5
5
|
import { resolveRepoIdentity, defaultProjectsDir, findTranscripts, sessionIdFromPath, scrubText } from './chunk-5DNCFOXA.js';
|
|
6
6
|
import { C } from './chunk-ANPNT6PM.js';
|
|
7
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
7
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-FLFK42YF.js';
|
|
8
8
|
import { readLatestProvenanceForSession } from './chunk-ZJSNLVCE.js';
|
|
9
9
|
import { launchedItemForSession } from './chunk-T2Q7ISPE.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { DEFAULT_UNIT_NAME } from './chunk-
|
|
4
|
-
import { RUNNER_FILE_MODE } from './chunk-
|
|
3
|
+
import { DEFAULT_UNIT_NAME } from './chunk-A6MLCH76.js';
|
|
4
|
+
import { RUNNER_FILE_MODE } from './chunk-MBGS33SL.js';
|
|
5
5
|
import { claudeEnvPath, withoutCredentialLines } from './chunk-D5ZGMXUL.js';
|
|
6
6
|
import { parseRunnerEnv } from './chunk-HACGUL52.js';
|
|
7
7
|
import { existsSync, readFileSync, writeFileSync, renameSync, rmSync } from 'fs';
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readsJobState, READ_JOB_STATE_FORMATS, jobStateFormatOf } from './chunk-ZVB57WI6.js';
|
|
4
|
-
import { DOCKERD_LOG, HELPER_PATH, HELPER_RECORD } from './chunk-
|
|
4
|
+
import { DOCKERD_LOG, HELPER_PATH, HELPER_RECORD } from './chunk-COLOLDY3.js';
|
|
5
5
|
import { writeDockerClientConfig } from './chunk-TTACRX4N.js';
|
|
6
6
|
import { zodProblem } from './chunk-I3LTIAOR.js';
|
|
7
|
-
import { senderPidfile } from './chunk-
|
|
8
|
-
import { installScrubContext } from './chunk-
|
|
9
|
-
import { ADDED_USER, shellQuote, GH_CONFIG_YML, ghHostsYml, AssetError, obtainImage, ensureRootfs, makeBuildsDirPrivate, gitRemoteFor, startServicesFor, createLeaseChannel, createBuildDisk, machineConfig, startJailedInto, resolveAgentUser, AgentUserError, runBuildSteps, LEASE_SECONDS, createContainerRuntime, stopContainer, cleanupContainer, outOfMemoryReason, containerSenderCommand, signalInContainer, syncInContainer, copyTranscriptsFromContainer, MANAGED_UNJAILED_REASON, senderAliveScript, helperFirecrackerNote, isLiteralAddress, stopJailed, deleteBuildDisk, startCheckContainer, lifecycleSteps, lifecycleFailureReason, writeEvalInput, DeliveryFailure, EVAL_INPUT_NAME, copyTranscripts, senderSignalScript, containerJudgeEnvironment, ROOT_DISK_ID_PREFIX, copyJudgeTree } from './chunk-
|
|
10
|
-
import { readBranchHead, fetchCommit, diffBetween } from './chunk-
|
|
7
|
+
import { senderPidfile } from './chunk-JUVUVXQZ.js';
|
|
8
|
+
import { installScrubContext } from './chunk-J6LFFZOY.js';
|
|
9
|
+
import { ADDED_USER, shellQuote, GH_CONFIG_YML, ghHostsYml, AssetError, obtainImage, ensureRootfs, makeBuildsDirPrivate, gitRemoteFor, startServicesFor, createLeaseChannel, createBuildDisk, machineConfig, startJailedInto, resolveAgentUser, AgentUserError, runBuildSteps, LEASE_SECONDS, createContainerRuntime, stopContainer, cleanupContainer, outOfMemoryReason, containerSenderCommand, signalInContainer, syncInContainer, copyTranscriptsFromContainer, MANAGED_UNJAILED_REASON, senderAliveScript, helperFirecrackerNote, isLiteralAddress, stopJailed, deleteBuildDisk, startCheckContainer, lifecycleSteps, lifecycleFailureReason, writeEvalInput, DeliveryFailure, EVAL_INPUT_NAME, copyTranscripts, senderSignalScript, containerJudgeEnvironment, ROOT_DISK_ID_PREFIX, copyJudgeTree } from './chunk-JDKLORO3.js';
|
|
10
|
+
import { readBranchHead, fetchCommit, diffBetween } from './chunk-MWAA3A5T.js';
|
|
11
11
|
import { isSameProcess, startTimeOf } from './chunk-JBJTC3UU.js';
|
|
12
12
|
import { waitForAgent, vmExecArgs } from './chunk-XXVYHC6D.js';
|
|
13
13
|
import { socketPathProblem, vsockLinks, LEASE_LINK, linkVsockSockets } from './chunk-O5F376JJ.js';
|
|
14
|
-
import { describeCallFailure, resolveGoverningSource, refusalCode, removeStagedContext, stageGovernedContext, pinnedSourceOf, commandWithShim, logStamp, createRunnerLog, removeKeptContext, formatDuration, retrySend, formatClock, WORKFLOW_PERMISSION_REASON, keptContextTree } from './chunk-
|
|
15
|
-
import { HASH_ARGV, parseProgramHash, JUDGE_PROGRAM, writeJobFile, readJobFile, childEnvironment, withAnswerProtocol, judgeCommand, MAX_REPORT_BYTES, JUDGE_MAX_TURNS, JUDGE_DIR, COMMAND_DIR, MAX_ITEMS_BYTES } from './chunk-
|
|
16
|
-
import { CLAUDE_CODE_VERSION, FIRECRACKER_VERSION } from './chunk-
|
|
14
|
+
import { describeCallFailure, resolveGoverningSource, refusalCode, removeStagedContext, stageGovernedContext, pinnedSourceOf, commandWithShim, logStamp, createRunnerLog, removeKeptContext, formatDuration, retrySend, formatClock, WORKFLOW_PERMISSION_REASON, keptContextTree } from './chunk-JKPJQNJF.js';
|
|
15
|
+
import { HASH_ARGV, parseProgramHash, JUDGE_PROGRAM, writeJobFile, readJobFile, childEnvironment, withAnswerProtocol, judgeCommand, MAX_REPORT_BYTES, JUDGE_MAX_TURNS, JUDGE_DIR, COMMAND_DIR, MAX_ITEMS_BYTES } from './chunk-5CZV4FZ5.js';
|
|
16
|
+
import { CLAUDE_CODE_VERSION, FIRECRACKER_VERSION } from './chunk-KFA762LZ.js';
|
|
17
17
|
import { imageBuildOf, isBuiltinContainer, isBuiltinProcess, isBuiltinVm, DEFAULT_CHECK_TIME_LIMIT_MINUTES } from './chunk-ZQ7VRXYM.js';
|
|
18
18
|
import { parseSize } from './chunk-YJLHUKYS.js';
|
|
19
|
-
import { WorkCommandError, postJson, isSignatureRefusal, getJson } from './chunk-
|
|
19
|
+
import { WorkCommandError, postJson, isSignatureRefusal, getJson } from './chunk-KQFWTTG7.js';
|
|
20
20
|
import { planArtifactUpload } from './chunk-EWVYQLD3.js';
|
|
21
21
|
import { scrubText } from './chunk-5DNCFOXA.js';
|
|
22
22
|
import { readCloudConfig } from './chunk-PJDQPF5N.js';
|
|
23
|
-
import { signerFor } from './chunk-
|
|
24
|
-
import { RUNNER_FILE_MODE, runnerDir, buildDir, vsockPath } from './chunk-
|
|
23
|
+
import { signerFor } from './chunk-634F6J3Q.js';
|
|
24
|
+
import { RUNNER_FILE_MODE, runnerDir, buildDir, vsockPath, jobConsolePath } from './chunk-MBGS33SL.js';
|
|
25
25
|
import { JOB_MOUNT, claudeCredential, repositoriesOf, primaryOf, buildEnvironment, CHECKOUT_DIR, parseIsolation, proxyEnvironment, withProxyWarningHidden, containerLocalAddress, destinationEnvironment, CLAUDE_CREDENTIAL_VARIABLES, builtInEnvironment, withHooksPath, startBuildServices, BUILT_IN_NAMES, AGENT_CREDENTIAL_MISSING, sharedUserEnvironment, headerVariables, authorEnvironment, withTunnelRecord, commitIdentityRecord, RELAY_PORT, repositoryPath, lifecycleWorkdir, CHECK_ITEMS_FILE, currentClaudeCredential, removedClaudeCredentialValues, checkEnvironment, EVAL_INPUT_DIR } from './chunk-D5ZGMXUL.js';
|
|
26
26
|
import { resolvePackRoot } from './chunk-G63KT5I5.js';
|
|
27
27
|
import { MAINTAINED_SKILLS } from './chunk-CDDED64E.js';
|
|
@@ -476,7 +476,7 @@ async function provisionMicroVm(input) {
|
|
|
476
476
|
}
|
|
477
477
|
if (state.cgroup !== void 0) input.save(state, environment);
|
|
478
478
|
}
|
|
479
|
-
const consolePath =
|
|
479
|
+
const consolePath = jobConsolePath(jobDir);
|
|
480
480
|
if (helper !== void 0) {
|
|
481
481
|
try {
|
|
482
482
|
await startJailedInto(
|
|
@@ -872,7 +872,7 @@ async function startCheckMicroVm(input) {
|
|
|
872
872
|
};
|
|
873
873
|
const checksDir = join(jobDir, "checks");
|
|
874
874
|
mkdirSync(checksDir, { recursive: true });
|
|
875
|
-
const consolePath =
|
|
875
|
+
const consolePath = jobConsolePath(checksDir);
|
|
876
876
|
input.save(state);
|
|
877
877
|
const fail = async (reason) => {
|
|
878
878
|
try {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { uploadSpooledSteps } from './chunk-
|
|
3
|
+
import { uploadSpooledSteps } from './chunk-EBX2DU2M.js';
|
|
4
4
|
import { LaunchFilter } from './chunk-ESVW4MJY.js';
|
|
5
5
|
import { RepoFilter } from './chunk-TBT347UY.js';
|
|
6
6
|
import { migrateLegacyArtifactSidecars, planArtifactUpload, artifactsStatePath, sanitizeTerminal, acquireArtifactSpoolLock, artifactBlobsDir, resolveArtifactTurnIndex, isArtifactTombstoned, ARTIFACT_RETRY_MAX_AGE_MS, writeArtifactSpoolState, reclaimUnneededArtifactBlobs, neededArtifactShas } from './chunk-EWVYQLD3.js';
|
|
7
7
|
import { setCustomScrubbers, setLocalIdentity, tailTranscript, enrichSessionRepo, scanAll, setRepoRoot, resolveRepoIdentity, sessionIdFromPath, scrubDeep, SOURCE_ADAPTERS } from './chunk-5DNCFOXA.js';
|
|
8
8
|
import { C } from './chunk-ANPNT6PM.js';
|
|
9
|
-
import { cliFetch, resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
9
|
+
import { cliFetch, resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-FLFK42YF.js';
|
|
10
10
|
import { readCloudConfig, cloudConfigPath, writeCloudConfig } from './chunk-PJDQPF5N.js';
|
|
11
|
-
import { signerFor, signRunnerRequest } from './chunk-
|
|
12
|
-
import { writeSyncStatus, spoolDir } from './chunk-
|
|
11
|
+
import { signerFor, signRunnerRequest } from './chunk-634F6J3Q.js';
|
|
12
|
+
import { writeSyncStatus, spoolDir } from './chunk-ZANK3WWF.js';
|
|
13
13
|
import { readLatestProvenanceForSession, readContextProvenance } from './chunk-ZJSNLVCE.js';
|
|
14
14
|
import { hookExecSpoolPath } from './chunk-2O5KA67H.js';
|
|
15
15
|
import { applyReportedCost } from './chunk-BKO6JEZI.js';
|