@outerlayer/cli 0.25.0 → 0.25.2
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/CHANGELOG.md +12 -0
- package/dist/{agent-setup-PDIIGMKE.js → agent-setup-YHFZB2BC.js} +5 -5
- package/dist/{build-Q2OBF77R.js → build-ONH22PN5.js} +4 -4
- package/dist/build-info.json +1 -1
- package/dist/{builder-PRSCX5AH.js → builder-WPULEVMY.js} +5 -5
- package/dist/{check-EPYRTE3R.js → check-SSEVZJN5.js} +30 -30
- package/dist/{chunk-AXPCGD46.js → chunk-3RBQSPW5.js} +3 -3
- package/dist/{chunk-QMQC6JCO.js → chunk-4IFKLYMM.js} +1 -1
- package/dist/{chunk-ZGMQQWCV.js → chunk-5PMQDQFV.js} +2 -2
- package/dist/{chunk-5222PA6S.js → chunk-665QWBNW.js} +1 -1
- package/dist/{chunk-O2WYUIK7.js → chunk-6FAP657M.js} +1 -1
- package/dist/{chunk-RGW7ERF3.js → chunk-APBTVIM4.js} +2 -2
- package/dist/{chunk-K5WVK7IC.js → chunk-C3AMVSMS.js} +1 -1
- package/dist/{chunk-HBLLZLOH.js → chunk-CLUUAX6O.js} +3 -3
- package/dist/{chunk-3I44PQ26.js → chunk-CP24ZXXR.js} +29 -18
- package/dist/{chunk-FXUVXSY2.js → chunk-D4UDE2AP.js} +1 -1
- package/dist/{chunk-X5LNCIZT.js → chunk-DZUANBKP.js} +6 -6
- package/dist/{chunk-QUGYGO6L.js → chunk-F4267APM.js} +4 -4
- package/dist/{chunk-ZODVSFI4.js → chunk-F6DIHHBS.js} +1 -1
- package/dist/{chunk-HWEIFHSW.js → chunk-FQCLEH34.js} +3 -3
- package/dist/{chunk-6CNHXHI2.js → chunk-G2T4HCGT.js} +2 -2
- package/dist/{chunk-M4B6QKNZ.js → chunk-GJZEUQ6D.js} +1 -1
- package/dist/{chunk-4S4VBDSO.js → chunk-H3AEZIYB.js} +1 -1
- package/dist/{chunk-7OWPLRJR.js → chunk-HPOEVC2V.js} +2 -1
- package/dist/{chunk-YTTHDPWF.js → chunk-ITP76BST.js} +5 -5
- package/dist/{chunk-QXNJWSTM.js → chunk-JF572PM5.js} +3 -3
- package/dist/{chunk-ATGHVEU4.js → chunk-KDDFI5MR.js} +1 -1
- package/dist/{chunk-ZI2ZVWKT.js → chunk-L4CW6LZQ.js} +1 -1
- package/dist/{chunk-IGRRD7PX.js → chunk-MLD2NA7N.js} +1 -1
- package/dist/{chunk-IDJIWKTY.js → chunk-P7UQZFNY.js} +3 -3
- package/dist/{chunk-VNGENFOG.js → chunk-PCADYUQT.js} +3 -3
- package/dist/{chunk-DEBOL6ON.js → chunk-PYSKSROG.js} +1 -1
- package/dist/{chunk-JKILLWZF.js → chunk-QBENN6GA.js} +4 -4
- package/dist/{chunk-D4AMAEZ7.js → chunk-QE3UQAHK.js} +322 -17
- package/dist/{chunk-XRYUJTAT.js → chunk-TKL74NLB.js} +1 -1
- package/dist/{chunk-L2FZLBF7.js → chunk-WMEADVIX.js} +16 -16
- package/dist/{chunk-YMKQVCKC.js → chunk-WVM6PM2N.js} +5 -5
- package/dist/{chunk-VMF5LK3D.js → chunk-WXKAHUGA.js} +7 -7
- package/dist/{chunk-34ANPNVB.js → chunk-XBCJI6SV.js} +3 -3
- package/dist/{chunk-VPUNOGXO.js → chunk-Z453MOUL.js} +4 -4
- package/dist/{chunk-XHXDCYSK.js → chunk-Z6SWQV77.js} +9 -9
- package/dist/{claude-launcher-WGOCLTG6.js → claude-launcher-FXFXYW2E.js} +1 -1
- package/dist/{cli-2LGSPAYZ.js → cli-ZBZFCRTK.js} +83 -83
- package/dist/{command-ITLPJ5XU.js → command-A2XBWQGB.js} +21 -21
- package/dist/{connect-cmd-JFDZKPND.js → connect-cmd-HAFFAVEO.js} +5 -5
- package/dist/{container-start-X22OXY6E.js → container-start-L6LCWH6Z.js} +20 -20
- package/dist/{control-plane-launch-ZFT6SI4N.js → control-plane-launch-FRK5IZXC.js} +4 -4
- package/dist/{dist-2APO44JG.js → dist-QPHZE47F.js} +1 -1
- package/dist/{docker-PQHWAY5J.js → docker-FATVQG5M.js} +5 -5
- package/dist/{doctor-73GNT4VV.js → doctor-EI22PDR5.js} +35 -24
- package/dist/{emit-artifact-cmd-AIOTX6YT.js → emit-artifact-cmd-Y2GMWCSD.js} +9 -9
- package/dist/{emit-criteria-cmd-7PJINOHA.js → emit-criteria-cmd-LI7OLHEC.js} +6 -6
- package/dist/{emit-finding-cmd-JRDSZ4DR.js → emit-finding-cmd-3LU7C356.js} +6 -6
- package/dist/{emit-result-cmd-ZGF6Q6OP.js → emit-result-cmd-NKAKRBW2.js} +9 -9
- package/dist/{emit-step-cmd-DUR34STQ.js → emit-step-cmd-JQ23TRF5.js} +7 -7
- package/dist/{exec-client-S5IA7JRG.js → exec-client-KH33DICR.js} +1 -1
- package/dist/{governing-source-DKJABQAT.js → governing-source-73APROH6.js} +9 -9
- package/dist/{hook-fast-NEELST6G.js → hook-fast-GD7F2EBL.js} +1 -1
- package/dist/{pending-BGLMTB5Q.js → host-key-5TKBNUZ4.js} +2 -2
- package/dist/{image-tag-6KJOGBQK.js → image-tag-5SJ6ZKT7.js} +2 -2
- package/dist/index.js +4 -4
- package/dist/{init-NE3VR3EY.js → init-MRREKVT5.js} +20 -20
- package/dist/{init-SKOXNJND.js → init-ZN47OUB3.js} +20 -20
- package/dist/{init-cmd-UEDOJ7LG.js → init-cmd-ZGQ6HMZD.js} +9 -9
- package/dist/{init-update-VKZ4S6HH.js → init-update-HTHYQOHU.js} +7 -7
- package/dist/{install-MPEJJ7X6.js → install-QSTTBUHX.js} +2 -2
- package/dist/{install-cmd-SE6NCTJK.js → install-cmd-3DXJJUAA.js} +4 -4
- package/dist/{logs-T4ERSOQ4.js → logs-VN2HKDSH.js} +1 -1
- package/dist/{loop-BPVEA5OC.js → loop-JTKSTVDV.js} +30 -30
- package/dist/{machine-G3GICXQN.js → machine-RCIMAKOA.js} +17 -17
- package/dist/{mcp-serve-cmd-7M4VLNI4.js → mcp-serve-cmd-QBFQN553.js} +3 -3
- package/dist/paths-ZC6BMWMT.js +8 -0
- package/dist/{host-key-ICJEQBWH.js → pending-54HC7MM3.js} +2 -2
- package/dist/{pidfile-VYBH3IMN.js → pidfile-BY5Z6YH7.js} +2 -2
- package/dist/{record-GNOHDJ2O.js → record-K23IN6QN.js} +2 -2
- package/dist/{runner-env-GUFV544G.js → runner-env-2D7MPOIJ.js} +3 -3
- package/dist/{runner-identity-J6DXJ6MF.js → runner-identity-C2O6Q3RR.js} +5 -5
- package/dist/{runner-key-L55O7Y7W.js → runner-key-ENQLA4Q6.js} +20 -20
- package/dist/{session-sender-LXTASWBY.js → session-sender-535VA2CA.js} +10 -10
- package/dist/{spec-cmd-G2JNXKD7.js → spec-cmd-KERLZ6GJ.js} +7 -7
- package/dist/{status-U6DXOR6C.js → status-OTZ3VX47.js} +21 -21
- package/dist/{sync-cmd-VPNS5ITY.js → sync-cmd-EIRKU5FA.js} +9 -9
- package/dist/{watch-ZOCYD2NE.js → watch-SMF5CW5T.js} +9 -9
- package/dist/{work-claim-cmd-BUMIPJNF.js → work-claim-cmd-JCUBRZKN.js} +9 -9
- package/dist/{work-cmd-LRAXUOJV.js → work-cmd-C3CFJZYD.js} +7 -7
- package/dist/{work-comment-cmd-4RDIBUYO.js → work-comment-cmd-NDE3O7PN.js} +7 -7
- package/dist/{work-logs-cmd-YYN2CPJQ.js → work-logs-cmd-KUGBBJAO.js} +7 -7
- package/dist/{work-open-pr-cmd-3MCND2LZ.js → work-open-pr-cmd-TFIGKPRL.js} +8 -8
- package/dist/{work-pr-cmd-BODEZAXN.js → work-pr-cmd-KKCLXRJL.js} +7 -7
- package/dist/{work-stop-cmd-P7HXVKEG.js → work-stop-cmd-QUEDBM4Q.js} +7 -7
- package/package.json +1 -1
- package/dist/paths-2KGM2LZV.js +0 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @outerlayer/cli
|
|
2
2
|
|
|
3
|
+
## 0.25.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 73ce466: MicroVM builds under the jailer no longer fail when an earlier release left the runner's build directory writable by its group. The runner makes that directory private first, and `outerlayer doctor` reports it.
|
|
8
|
+
|
|
9
|
+
## 0.25.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 86089fa: `outerlayer runner install --service` installs the root helper on Linux. Each microVM build then runs under Firecracker's jailer, as a user of its own. A build that escapes its microVM reaches none of the runner's credentials. On a host whose service an earlier release installed, run `outerlayer runner install --service --replace` to add the helper.
|
|
14
|
+
|
|
3
15
|
## 0.25.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
|
@@ -1,11 +1,11 @@
|
|
|
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-H3AEZIYB.js';
|
|
4
4
|
import './chunk-WX2WEERU.js';
|
|
5
5
|
import './chunk-VJBFQP3H.js';
|
|
6
|
-
import './chunk-
|
|
6
|
+
import './chunk-D4UDE2AP.js';
|
|
7
7
|
import './chunk-MQ743JX3.js';
|
|
8
|
-
import './chunk-
|
|
8
|
+
import './chunk-GJZEUQ6D.js';
|
|
9
9
|
import './chunk-ZJSNLVCE.js';
|
|
10
10
|
import './chunk-BJ3KTMDH.js';
|
|
11
11
|
import './chunk-YVZJ6GKF.js';
|
|
@@ -21,8 +21,8 @@ import './chunk-RKOTJQVG.js';
|
|
|
21
21
|
import './chunk-QZBXLLTV.js';
|
|
22
22
|
import './chunk-VNVZDWO3.js';
|
|
23
23
|
import './chunk-RA3O54FC.js';
|
|
24
|
-
import './chunk-
|
|
25
|
-
import './chunk-
|
|
24
|
+
import './chunk-F6DIHHBS.js';
|
|
25
|
+
import './chunk-L4CW6LZQ.js';
|
|
26
26
|
import './chunk-2K3TCQHW.js';
|
|
27
27
|
import './chunk-JGD5TWQ2.js';
|
|
28
28
|
import './chunk-Z5GEFMRW.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { buildRepositoryImage } from './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
export { buildRepositoryImage } from './chunk-3RBQSPW5.js';
|
|
4
|
+
import './chunk-PYSKSROG.js';
|
|
5
5
|
import './chunk-JBJTC3UU.js';
|
|
6
|
-
export { RecipeError } from './chunk-
|
|
7
|
-
import './chunk-
|
|
6
|
+
export { RecipeError } from './chunk-APBTVIM4.js';
|
|
7
|
+
import './chunk-L4CW6LZQ.js';
|
|
8
8
|
import './chunk-2K3TCQHW.js';
|
|
9
9
|
import './chunk-JGD5TWQ2.js';
|
|
10
10
|
import './chunk-Z5GEFMRW.js';
|
package/dist/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"2026-10-
|
|
1
|
+
{"id":"2026-10-16T13:07:36.429Z+ced0b55","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-
|
|
4
|
-
import './chunk-
|
|
3
|
+
export { MIN_BUILDX_VERSION, builderName, builderSpec, buildxState, ensureBuilder, ensureFailureCount, isOutOfMemory, proxyEnvironment, trackImageBuild } from './chunk-F4267APM.js';
|
|
4
|
+
import './chunk-APBTVIM4.js';
|
|
5
5
|
import './chunk-7RQ73DLO.js';
|
|
6
|
-
import './chunk-
|
|
6
|
+
import './chunk-QE3UQAHK.js';
|
|
7
7
|
import './chunk-QZBXLLTV.js';
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
8
|
+
import './chunk-F6DIHHBS.js';
|
|
9
|
+
import './chunk-L4CW6LZQ.js';
|
|
10
10
|
import './chunk-2K3TCQHW.js';
|
|
11
11
|
import './chunk-JGD5TWQ2.js';
|
|
12
12
|
import './chunk-Z5GEFMRW.js';
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { probeCredentials } from './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
3
|
+
import { probeCredentials } from './chunk-WMEADVIX.js';
|
|
4
|
+
import './chunk-CP24ZXXR.js';
|
|
5
|
+
import './chunk-TKL74NLB.js';
|
|
6
6
|
import './chunk-ZVB57WI6.js';
|
|
7
|
-
import './chunk-
|
|
7
|
+
import './chunk-6FAP657M.js';
|
|
8
8
|
import './chunk-3JVYMD4G.js';
|
|
9
9
|
import './chunk-YETTWTAY.js';
|
|
10
10
|
import './chunk-TPKYTORP.js';
|
|
11
|
-
import './chunk-
|
|
11
|
+
import './chunk-XBCJI6SV.js';
|
|
12
12
|
import './chunk-2N72GPS2.js';
|
|
13
13
|
import './chunk-UNF7MWEL.js';
|
|
14
|
-
import './chunk-
|
|
15
|
-
import './chunk-
|
|
14
|
+
import './chunk-ITP76BST.js';
|
|
15
|
+
import './chunk-P7UQZFNY.js';
|
|
16
16
|
import './chunk-ESVW4MJY.js';
|
|
17
|
-
import { placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, needsClaudeCredential, claudeCredentialCheck, claimPermissionProblem, formerSkillQueues, formerSkillProblem } from './chunk-
|
|
18
|
-
import './chunk-
|
|
17
|
+
import { placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, needsClaudeCredential, claudeCredentialCheck, claimPermissionProblem, formerSkillQueues, formerSkillProblem } from './chunk-Z453MOUL.js';
|
|
18
|
+
import './chunk-4IFKLYMM.js';
|
|
19
19
|
import './chunk-YYYRBYWG.js';
|
|
20
20
|
import './chunk-TBT347UY.js';
|
|
21
|
-
import './chunk-
|
|
22
|
-
import './chunk-
|
|
23
|
-
import './chunk-
|
|
24
|
-
import './chunk-
|
|
21
|
+
import './chunk-QBENN6GA.js';
|
|
22
|
+
import './chunk-PCADYUQT.js';
|
|
23
|
+
import './chunk-Z6SWQV77.js';
|
|
24
|
+
import './chunk-665QWBNW.js';
|
|
25
25
|
import './chunk-TQMI335S.js';
|
|
26
|
-
import './chunk-
|
|
27
|
-
import './chunk-
|
|
26
|
+
import './chunk-5PMQDQFV.js';
|
|
27
|
+
import './chunk-MLD2NA7N.js';
|
|
28
28
|
import { parseRunnerEnv } from './chunk-6MZSX4M7.js';
|
|
29
|
-
import './chunk-
|
|
30
|
-
import './chunk-
|
|
29
|
+
import './chunk-3RBQSPW5.js';
|
|
30
|
+
import './chunk-PYSKSROG.js';
|
|
31
31
|
import './chunk-JBJTC3UU.js';
|
|
32
32
|
import './chunk-OGFGZQA3.js';
|
|
33
|
-
import './chunk-
|
|
34
|
-
import './chunk-
|
|
35
|
-
import './chunk-
|
|
33
|
+
import './chunk-F4267APM.js';
|
|
34
|
+
import './chunk-APBTVIM4.js';
|
|
35
|
+
import './chunk-HPOEVC2V.js';
|
|
36
36
|
import './chunk-XGJUNNXL.js';
|
|
37
|
-
import './chunk-
|
|
38
|
-
import './chunk-
|
|
39
|
-
import './chunk-
|
|
40
|
-
import './chunk-
|
|
37
|
+
import './chunk-WVM6PM2N.js';
|
|
38
|
+
import './chunk-DZUANBKP.js';
|
|
39
|
+
import './chunk-FQCLEH34.js';
|
|
40
|
+
import './chunk-G2T4HCGT.js';
|
|
41
41
|
import './chunk-BUP5N3X6.js';
|
|
42
42
|
import './chunk-XSPA5ODY.js';
|
|
43
43
|
import './chunk-GOSFARMS.js';
|
|
44
44
|
import { loadRunnerConfig, RunnerConfigError, checkHooks } from './chunk-JWRX5ZTT.js';
|
|
45
45
|
import './chunk-UXYLWVTQ.js';
|
|
46
46
|
import './chunk-7RQ73DLO.js';
|
|
47
|
-
import './chunk-
|
|
47
|
+
import './chunk-D4UDE2AP.js';
|
|
48
48
|
import './chunk-MQ743JX3.js';
|
|
49
|
-
import './chunk-
|
|
50
|
-
import './chunk-
|
|
49
|
+
import './chunk-GJZEUQ6D.js';
|
|
50
|
+
import './chunk-C3AMVSMS.js';
|
|
51
51
|
import './chunk-ZJSNLVCE.js';
|
|
52
52
|
import './chunk-DYEFPYME.js';
|
|
53
53
|
import './chunk-BKO6JEZI.js';
|
|
54
54
|
import './chunk-VPEGE3QZ.js';
|
|
55
55
|
import './chunk-HCVLP7XA.js';
|
|
56
56
|
import './chunk-BJ3KTMDH.js';
|
|
57
|
-
import './chunk-
|
|
57
|
+
import './chunk-QE3UQAHK.js';
|
|
58
58
|
import './chunk-ANPNT6PM.js';
|
|
59
59
|
import './chunk-EABW6AJQ.js';
|
|
60
60
|
import './chunk-JKNYTNYD.js';
|
|
@@ -69,8 +69,8 @@ import './chunk-RKOTJQVG.js';
|
|
|
69
69
|
import './chunk-QZBXLLTV.js';
|
|
70
70
|
import './chunk-VNVZDWO3.js';
|
|
71
71
|
import './chunk-RA3O54FC.js';
|
|
72
|
-
import './chunk-
|
|
73
|
-
import './chunk-
|
|
72
|
+
import './chunk-F6DIHHBS.js';
|
|
73
|
+
import './chunk-L4CW6LZQ.js';
|
|
74
74
|
import './chunk-2K3TCQHW.js';
|
|
75
75
|
import './chunk-JGD5TWQ2.js';
|
|
76
76
|
import './chunk-Z5GEFMRW.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-
|
|
3
|
+
import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-PYSKSROG.js';
|
|
4
4
|
import { startTimeOf } from './chunk-JBJTC3UU.js';
|
|
5
|
-
import { CLAUDE_CODE_VERSION, NODE_IMAGE, DEFAULT_BASE_IMAGE, RecipeError, locateRecipe, readRecipe, assertBuildable, TINI_VERSION, GH_VERSION, writeSanitizedRecipe, classifyProperties, GH_SHA256, TINI_SHA256, SANITIZED_NAME } from './chunk-
|
|
6
|
-
import { RUNNER_DIR_MODE, repoCacheDir, imagesDir, attemptStamp, runnerDir, rootfsPathFor, RUNNER_FILE_MODE } from './chunk-
|
|
5
|
+
import { CLAUDE_CODE_VERSION, NODE_IMAGE, DEFAULT_BASE_IMAGE, RecipeError, locateRecipe, readRecipe, assertBuildable, TINI_VERSION, GH_VERSION, writeSanitizedRecipe, classifyProperties, GH_SHA256, TINI_SHA256, SANITIZED_NAME } from './chunk-APBTVIM4.js';
|
|
6
|
+
import { RUNNER_DIR_MODE, repoCacheDir, imagesDir, attemptStamp, runnerDir, rootfsPathFor, RUNNER_FILE_MODE } from './chunk-L4CW6LZQ.js';
|
|
7
7
|
import { withGitConfig, tokenHeader, PROXY_WARNING_FLAG } from './chunk-2K3TCQHW.js';
|
|
8
8
|
import { RELAY_ID, RELAY_USER } from './chunk-JGD5TWQ2.js';
|
|
9
9
|
import { mkdirSync, rmSync, existsSync, mkdtempSync, cpSync, readFileSync, writeFileSync, readdirSync, lstatSync, readlinkSync } from 'fs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
3
|
+
import { runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-L4CW6LZQ.js';
|
|
4
4
|
import { readlinkSync, realpathSync, mkdirSync, unlinkSync, symlinkSync, renameSync, readFileSync, writeFileSync, rmSync, existsSync, readdirSync } from 'fs';
|
|
5
5
|
import { join, basename, sep, resolve } from 'path';
|
|
6
6
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { DEFAULT_UNIT_NAME } from './chunk-
|
|
3
|
+
import { DEFAULT_UNIT_NAME } from './chunk-MLD2NA7N.js';
|
|
4
4
|
import { parseRunnerEnv } from './chunk-6MZSX4M7.js';
|
|
5
|
-
import { RUNNER_FILE_MODE } from './chunk-
|
|
5
|
+
import { RUNNER_FILE_MODE } from './chunk-L4CW6LZQ.js';
|
|
6
6
|
import { existsSync, readFileSync, writeFileSync, renameSync, rmSync } from 'fs';
|
|
7
7
|
import { join, dirname } from 'path';
|
|
8
8
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { isVersion, compareVersions } from './chunk-TQMI335S.js';
|
|
4
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
4
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-L4CW6LZQ.js';
|
|
5
5
|
import { readFileSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
6
6
|
import { join } from 'path';
|
|
7
7
|
|
|
@@ -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-L4CW6LZQ.js';
|
|
4
4
|
import { readFileSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
5
5
|
import { join } from 'path';
|
|
6
6
|
|
|
@@ -264,10 +264,10 @@ function guestAssetsPinned(arch) {
|
|
|
264
264
|
var JAILER_BINARY_SHA256 = {
|
|
265
265
|
x86_64: "99832d2270741af67ffacd46da716b4b016338541af5a742907ab965b2e9ac9e"
|
|
266
266
|
};
|
|
267
|
-
var HOST_HELPER_ASSETS_VERSION = "
|
|
267
|
+
var HOST_HELPER_ASSETS_VERSION = "4";
|
|
268
268
|
var HOST_HELPER_BASE_URL = `https://github.com/outerlayerai/guest-assets/releases/download/guest-${HOST_HELPER_ASSETS_VERSION}`;
|
|
269
269
|
var HOST_HELPER_SHA256 = {
|
|
270
|
-
x86_64: "
|
|
270
|
+
x86_64: "5c9d9e46daf165411ebe594fa28f4adc6b363989d77673c7651ab6dccb808684"
|
|
271
271
|
};
|
|
272
272
|
function hostHelperPinned(arch = "x86_64", hashes = HOST_HELPER_SHA256) {
|
|
273
273
|
return hashes[arch] !== "0".repeat(64);
|
|
@@ -628,7 +628,7 @@ async function missingControlPlane(cwd, sessionId, home, env) {
|
|
|
628
628
|
cleanupEarlierCopies(dirs);
|
|
629
629
|
}
|
|
630
630
|
if (!contextPossiblyGoverned(cwd, home)) return void 0;
|
|
631
|
-
const { governanceOf } = await import('./control-plane-launch-
|
|
631
|
+
const { governanceOf } = await import('./control-plane-launch-FRK5IZXC.js');
|
|
632
632
|
if (await governanceOf({ cwd, env, home }) !== "governed") return void 0;
|
|
633
633
|
recordMissingContext(dirs, sessionId, home);
|
|
634
634
|
const launcher = `${cliInvocation()} claude`;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { autoConnect, detectActiveSession } from './chunk-
|
|
4
|
-
import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-
|
|
5
|
-
import { resolveRepoIdentity } from './chunk-
|
|
3
|
+
import { autoConnect, detectActiveSession } from './chunk-FQCLEH34.js';
|
|
4
|
+
import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-GJZEUQ6D.js';
|
|
5
|
+
import { resolveRepoIdentity } from './chunk-QE3UQAHK.js';
|
|
6
6
|
import { C } from './chunk-ANPNT6PM.js';
|
|
7
7
|
import { parseWorkItemEnv } from './chunk-T2Q7ISPE.js';
|
|
8
8
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
@@ -1,30 +1,30 @@
|
|
|
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 { senderPidfile } from './chunk-
|
|
4
|
+
import { senderPidfile } from './chunk-XBCJI6SV.js';
|
|
5
5
|
import { DOCKERD_LOG, HELPER_PATH, HELPER_RECORD } from './chunk-2N72GPS2.js';
|
|
6
6
|
import { writeDockerClientConfig } from './chunk-UNF7MWEL.js';
|
|
7
|
-
import { installScrubContext } from './chunk-
|
|
8
|
-
import { ADDED_USER, AssetError, obtainImage, ensureRootfs, gitRemoteFor, startServicesFor, createBuildDisk, machineConfig, resolveAgentUser, AgentUserError, runBuildSteps, shellQuote, LEASE_SECONDS, createContainerRuntime, stopContainer, cleanupContainer, outOfMemoryReason, containerSenderCommand, signalInContainer, syncInContainer, copyTranscriptsFromContainer, senderAliveScript, HelperRefusal, GH_CONFIG_YML, ghHostsYml, isLiteralAddress, deleteBuildDisk, startCheckContainer, lifecycleSteps, lifecycleFailureReason, writeEvalInput, DeliveryFailure, EVAL_INPUT_NAME, copyTranscripts, senderSignalScript, containerJudgeEnvironment, copyJudgeTree } from './chunk-
|
|
9
|
-
import { readBranchHead, fetchCommit, diffBetween } from './chunk-
|
|
7
|
+
import { installScrubContext } from './chunk-ITP76BST.js';
|
|
8
|
+
import { ADDED_USER, AssetError, obtainImage, ensureRootfs, gitRemoteFor, startServicesFor, createBuildDisk, machineConfig, resolveAgentUser, AgentUserError, runBuildSteps, shellQuote, LEASE_SECONDS, createContainerRuntime, stopContainer, cleanupContainer, outOfMemoryReason, containerSenderCommand, signalInContainer, syncInContainer, copyTranscriptsFromContainer, senderAliveScript, HelperRefusal, GH_CONFIG_YML, ghHostsYml, isLiteralAddress, deleteBuildDisk, startCheckContainer, lifecycleSteps, lifecycleFailureReason, writeEvalInput, DeliveryFailure, EVAL_INPUT_NAME, copyTranscripts, senderSignalScript, containerJudgeEnvironment, copyJudgeTree } from './chunk-Z6SWQV77.js';
|
|
9
|
+
import { readBranchHead, fetchCommit, diffBetween } from './chunk-3RBQSPW5.js';
|
|
10
10
|
import { isSameProcess, startTimeOf } from './chunk-JBJTC3UU.js';
|
|
11
|
-
import { HASH_ARGV, parseProgramHash, JUDGE_PROGRAM, writeJobFile, readJobFile, COMMAND_DIR, childEnvironment, judgeCommand, JUDGE_MAX_TURNS, MAX_REPORT_BYTES, JUDGE_DIR } from './chunk-
|
|
12
|
-
import { CLAUDE_CODE_VERSION } from './chunk-
|
|
13
|
-
import { waitForAgent, vmExecArgs } from './chunk-
|
|
11
|
+
import { HASH_ARGV, parseProgramHash, JUDGE_PROGRAM, writeJobFile, readJobFile, COMMAND_DIR, childEnvironment, judgeCommand, JUDGE_MAX_TURNS, MAX_REPORT_BYTES, JUDGE_DIR } from './chunk-F4267APM.js';
|
|
12
|
+
import { CLAUDE_CODE_VERSION } from './chunk-APBTVIM4.js';
|
|
13
|
+
import { waitForAgent, vmExecArgs } from './chunk-HPOEVC2V.js';
|
|
14
14
|
import { socketPathProblem, vsockLinks, linkVsockSockets } from './chunk-XGJUNNXL.js';
|
|
15
|
-
import { describeCallFailure, resolveGoverningSource, refusalCode, removeStagedContext, stageGovernedContext, pinnedSourceOf, commandWithShim, logStamp, createRunnerLog, formatDuration, retrySend, formatClock } from './chunk-
|
|
16
|
-
import { WorkCommandError, postJson, isSignatureRefusal, getJson } from './chunk-
|
|
15
|
+
import { describeCallFailure, resolveGoverningSource, refusalCode, removeStagedContext, stageGovernedContext, pinnedSourceOf, commandWithShim, logStamp, createRunnerLog, formatDuration, retrySend, formatClock } from './chunk-WVM6PM2N.js';
|
|
16
|
+
import { WorkCommandError, postJson, isSignatureRefusal, getJson } from './chunk-DZUANBKP.js';
|
|
17
17
|
import { planArtifactUpload } from './chunk-BUP5N3X6.js';
|
|
18
18
|
import { isBuiltinContainer, isBuiltinProcess, isBuiltinVm, DEFAULT_CHECK_TIME_LIMIT_MINUTES } from './chunk-JWRX5ZTT.js';
|
|
19
19
|
import { parseSize } from './chunk-7RQ73DLO.js';
|
|
20
|
-
import { scrubText } from './chunk-
|
|
20
|
+
import { scrubText } from './chunk-QE3UQAHK.js';
|
|
21
21
|
import { readCloudConfig } from './chunk-EABW6AJQ.js';
|
|
22
22
|
import { resolvePackRoot } from './chunk-HBISTTG3.js';
|
|
23
23
|
import { parsePolicy } from './chunk-RKOTJQVG.js';
|
|
24
24
|
import { homeFromEnv } from './chunk-VNVZDWO3.js';
|
|
25
25
|
import { resolveVersion } from './chunk-RA3O54FC.js';
|
|
26
|
-
import { signerFor } from './chunk-
|
|
27
|
-
import { RUNNER_FILE_MODE, runnerDir, buildDir, vsockPath } from './chunk-
|
|
26
|
+
import { signerFor } from './chunk-F6DIHHBS.js';
|
|
27
|
+
import { RUNNER_FILE_MODE, runnerDir, buildDir, vsockPath } from './chunk-L4CW6LZQ.js';
|
|
28
28
|
import { claudeCredential, repositoriesOf, primaryOf, buildEnvironment, JOB_MOUNT, 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, checkEnvironment, EVAL_INPUT_DIR } from './chunk-2K3TCQHW.js';
|
|
29
29
|
import { RUNNER_WORDED_REASONS, UNKNOWN_TRACKING_REASON } from './chunk-JGD5TWQ2.js';
|
|
30
30
|
import { existsSync, statSync, appendFileSync, mkdirSync, chmodSync, writeFileSync, accessSync, constants, openSync, readFileSync, closeSync, rmSync, readdirSync, linkSync, lstatSync, fstatSync, readSync, realpathSync } from 'fs';
|
|
@@ -207,6 +207,11 @@ function vmAlive(runtime, state) {
|
|
|
207
207
|
if (state.jailed !== void 0) return runtime.vm.helper.alive(state.jailed.unit);
|
|
208
208
|
return state.firecracker !== void 0 && runtime.vm.firecracker.alive(state.firecracker);
|
|
209
209
|
}
|
|
210
|
+
function makeBuildsDirPrivate(buildDir2) {
|
|
211
|
+
const builds = dirname(buildDir2);
|
|
212
|
+
const stat = statSync(builds);
|
|
213
|
+
if (stat.uid === process.getuid?.() && (stat.mode & 18) !== 0) chmodSync(builds, 448);
|
|
214
|
+
}
|
|
210
215
|
async function helperFor(runtime, log) {
|
|
211
216
|
const probe = await runtime.vm.helper.probe();
|
|
212
217
|
if (probe.ok) return probe.client;
|
|
@@ -214,6 +219,11 @@ async function helperFor(runtime, log) {
|
|
|
214
219
|
else if (probe.unreachable === true) log(`${probe.detail}, so this build runs without the jailer`);
|
|
215
220
|
return void 0;
|
|
216
221
|
}
|
|
222
|
+
function silence(runtime, state, lastError, console) {
|
|
223
|
+
if (!vmAlive(runtime, state)) return `it exited before its exec agent answered; ${console}`;
|
|
224
|
+
const last = lastError === void 0 ? "" : `; the last connection to its exec agent failed: ${describeCallFailure(lastError)}`;
|
|
225
|
+
return `its exec agent did not answer; ${console}${last}`;
|
|
226
|
+
}
|
|
217
227
|
function consoleNote(state, consolePath) {
|
|
218
228
|
return state.jailed === void 0 ? `its console is in ${consolePath}` : `its console output is in the journal of the unit ${state.jailed.unit}`;
|
|
219
229
|
}
|
|
@@ -332,6 +342,7 @@ async function provisionMicroVm(input) {
|
|
|
332
342
|
if (input.aborted()) return bail("", true);
|
|
333
343
|
mkdirSync(buildDir2, { recursive: true, mode: 448 });
|
|
334
344
|
chmodSync(buildDir2, 448);
|
|
345
|
+
makeBuildsDirPrivate(buildDir2);
|
|
335
346
|
try {
|
|
336
347
|
const gitRemote = gitRemoteFor(runtime, { repositories, tokens, buildDir: buildDir2, log: (line) => log.line(`${tag} ${line}`) });
|
|
337
348
|
runtime.tunnels.set(buildId, await startServicesFor(runtime, config, buildDir2, jobDir, itemKey, true, gitRemote));
|
|
@@ -386,10 +397,10 @@ async function provisionMicroVm(input) {
|
|
|
386
397
|
input.save(state, environment);
|
|
387
398
|
}
|
|
388
399
|
if (input.aborted()) return bail("", true);
|
|
389
|
-
|
|
400
|
+
let lastError;
|
|
401
|
+
const ready = await waitForAgent(state.vsockPath, { attempts: BOOT_ATTEMPTS, delayMs: BOOT_POLL_MS, sleep: runtime.sleep, onFailure: (err) => lastError = err });
|
|
390
402
|
if (!ready) {
|
|
391
|
-
|
|
392
|
-
return bail(`the microVM did not start: ${why}; ${consoleNote(state, consolePath)}`);
|
|
403
|
+
return bail(`the microVM did not start: ${silence(runtime, state, lastError, consoleNote(state, consolePath))}`);
|
|
393
404
|
}
|
|
394
405
|
let pushes = Promise.resolve();
|
|
395
406
|
let firstWriteFailure;
|
|
@@ -812,10 +823,10 @@ async function startCheckMicroVm(input) {
|
|
|
812
823
|
input.save(state);
|
|
813
824
|
}
|
|
814
825
|
if (abandoned()) return ABANDONED;
|
|
815
|
-
|
|
826
|
+
let lastError;
|
|
827
|
+
const ready = await waitForAgent(state.vsockPath, { attempts: BOOT_ATTEMPTS, delayMs: BOOT_POLL_MS, sleep: runtime.sleep, onFailure: (err) => lastError = err });
|
|
816
828
|
if (!ready) {
|
|
817
|
-
|
|
818
|
-
return `the microVM did not start: ${why}; ${consoleNote(state, consolePath)}`;
|
|
829
|
+
return `the microVM did not start: ${silence(runtime, state, lastError, consoleNote(state, consolePath))}`;
|
|
819
830
|
}
|
|
820
831
|
if (built.docker === true) return waitForDocker(runtime, state, agentUser, () => /* @__PURE__ */ new Date());
|
|
821
832
|
return void 0;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { removeRetiredSkills } from './chunk-MQ743JX3.js';
|
|
4
|
-
import { defaultFetch, resolveGatewayCredentials } from './chunk-
|
|
4
|
+
import { defaultFetch, resolveGatewayCredentials } from './chunk-GJZEUQ6D.js';
|
|
5
5
|
import { appendContextProvenance } from './chunk-ZJSNLVCE.js';
|
|
6
6
|
import { loadMaintainedFiles, writeMaintainedFiles } from './chunk-HBISTTG3.js';
|
|
7
7
|
import { cliInvocation } from './chunk-CRB3POP4.js';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { detectActiveSession, autoConnect } from './chunk-
|
|
4
|
-
import { workPageUrl } from './chunk-
|
|
3
|
+
import { detectActiveSession, autoConnect } from './chunk-FQCLEH34.js';
|
|
4
|
+
import { workPageUrl } from './chunk-G2T4HCGT.js';
|
|
5
5
|
import { sanitizeTerminal } from './chunk-BUP5N3X6.js';
|
|
6
|
-
import { resolveGatewayCredentials, unauthorizedMessage, defaultFetch } from './chunk-
|
|
6
|
+
import { resolveGatewayCredentials, unauthorizedMessage, defaultFetch } from './chunk-GJZEUQ6D.js';
|
|
7
7
|
import { readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
8
|
-
import { resolveRepoIdentity } from './chunk-
|
|
8
|
+
import { resolveRepoIdentity } from './chunk-QE3UQAHK.js';
|
|
9
9
|
import { C } from './chunk-ANPNT6PM.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
11
11
|
import { homeFromEnv } from './chunk-VNVZDWO3.js';
|
|
12
|
-
import { signRunnerRequest } from './chunk-
|
|
12
|
+
import { signRunnerRequest } from './chunk-F6DIHHBS.js';
|
|
13
13
|
|
|
14
14
|
createRequire(import.meta.url);
|
|
15
15
|
|
|
@@ -428,7 +428,7 @@ async function runWorkLinkSession(opts) {
|
|
|
428
428
|
return await linkSession(opts);
|
|
429
429
|
} catch (err) {
|
|
430
430
|
if (opts.logFailures) {
|
|
431
|
-
const { logHookError } = await import('./hook-fast-
|
|
431
|
+
const { logHookError } = await import('./hook-fast-GD7F2EBL.js');
|
|
432
432
|
const reason = err instanceof Error ? err.message : String(err);
|
|
433
433
|
logHookError(opts.home ?? homeFromEnv(opts.env ?? process.env), new Error(`work link-session #${opts.number} failed: ${reason}`));
|
|
434
434
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RecipeError, BUILDKIT_IMAGE } from './chunk-
|
|
3
|
+
import { RecipeError, BUILDKIT_IMAGE } from './chunk-APBTVIM4.js';
|
|
4
4
|
import { parseSize } from './chunk-7RQ73DLO.js';
|
|
5
|
-
import { compareVersions } from './chunk-
|
|
6
|
-
import { ensureHostKey } from './chunk-
|
|
7
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir } from './chunk-
|
|
5
|
+
import { compareVersions } from './chunk-QE3UQAHK.js';
|
|
6
|
+
import { ensureHostKey } from './chunk-F6DIHHBS.js';
|
|
7
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir } from './chunk-L4CW6LZQ.js';
|
|
8
8
|
import { CLAUDE_PORT, JOB_MOUNT, GATEWAY_PORT, GATEWAY_SOCKET, CLAUDE_SOCKET, RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-2K3TCQHW.js';
|
|
9
9
|
import { JOIN_DIR, RELAY_ID, JOIN_SOCKET, TARGET_GATEWAY, TARGET_CLAUDE, destinationTarget, RELAY_USER } from './chunk-JGD5TWQ2.js';
|
|
10
10
|
import { StringDecoder } from 'string_decoder';
|
|
@@ -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-L4CW6LZQ.js';
|
|
4
4
|
import { generateKeyPairSync, createPrivateKey, createPublicKey, sign } from 'crypto';
|
|
5
5
|
import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'fs';
|
|
6
6
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { fetchFactories, selectFactory, saveFactoryConnection, autoConnectedLine } from './chunk-
|
|
4
|
-
import { resolveGatewayCredentials } from './chunk-
|
|
3
|
+
import { fetchFactories, selectFactory, saveFactoryConnection, autoConnectedLine } from './chunk-G2T4HCGT.js';
|
|
4
|
+
import { resolveGatewayCredentials } from './chunk-GJZEUQ6D.js';
|
|
5
5
|
import { findGitDirs, readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
6
|
-
import { resolveRepoIdentity } from './chunk-
|
|
6
|
+
import { resolveRepoIdentity } from './chunk-QE3UQAHK.js';
|
|
7
7
|
import { cliInvocation } from './chunk-CRB3POP4.js';
|
|
8
8
|
import { homeFromEnv } from './chunk-VNVZDWO3.js';
|
|
9
9
|
import { openSync, fstatSync, readSync, closeSync } from 'fs';
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { sanitizeTerminal } from './chunk-BUP5N3X6.js';
|
|
4
4
|
import { DEFAULT_DASHBOARD } from './chunk-XSPA5ODY.js';
|
|
5
|
-
import { cliFetch, resolveGatewayCredentials } from './chunk-
|
|
5
|
+
import { cliFetch, resolveGatewayCredentials } from './chunk-GJZEUQ6D.js';
|
|
6
6
|
import { writeRepoConnection, findGitDirs, readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
7
|
-
import { remoteLookupFailed } from './chunk-
|
|
7
|
+
import { remoteLookupFailed } from './chunk-QE3UQAHK.js';
|
|
8
8
|
import { readCloudConfig } from './chunk-EABW6AJQ.js';
|
|
9
9
|
import { isAgentsMdLayout } from './chunk-JKNYTNYD.js';
|
|
10
10
|
import { cliInvocation } from './chunk-CRB3POP4.js';
|
|
@@ -5,7 +5,7 @@ import { readCloudConfig, cloudConfigPath } from './chunk-EABW6AJQ.js';
|
|
|
5
5
|
import { cliInvocation } from './chunk-CRB3POP4.js';
|
|
6
6
|
import { homeFromEnv } from './chunk-VNVZDWO3.js';
|
|
7
7
|
import { resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
8
|
-
import { signRunnerRequest, signerFor } from './chunk-
|
|
8
|
+
import { signRunnerRequest, signerFor } from './chunk-F6DIHHBS.js';
|
|
9
9
|
|
|
10
10
|
createRequire(import.meta.url);
|
|
11
11
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { runEmit } from './chunk-WX2WEERU.js';
|
|
4
4
|
import { installStarterPack } from './chunk-VJBFQP3H.js';
|
|
5
|
-
import { resolveGitCommonDir, defaultGitRunner } from './chunk-
|
|
5
|
+
import { resolveGitCommonDir, defaultGitRunner } from './chunk-D4UDE2AP.js';
|
|
6
6
|
import { addStdioMcpEntryIfAbsent, addDocsMcpEntryIfAbsent, DOCS_MCP_SERVER_NAME } from './chunk-YVZJ6GKF.js';
|
|
7
7
|
import { C } from './chunk-ANPNT6PM.js';
|
|
8
8
|
import { AGENTS_MD_LAYOUT, declareAgentsMdLayout, linkClaudeSkills, SKILLS_LINK_PATH, describeSkillsLink, isAgentsMdLayout, holdsTodaysLayoutSources, discoverOuterlayerPaths } from './chunk-JKNYTNYD.js';
|
|
@@ -173,7 +173,8 @@ async function waitForAgent(socketPath, options) {
|
|
|
173
173
|
try {
|
|
174
174
|
await execCapture(socketPath, { argv: ["true"], user: "root", cwd: "/", env: {} });
|
|
175
175
|
return true;
|
|
176
|
-
} catch {
|
|
176
|
+
} catch (err) {
|
|
177
|
+
options.onFailure?.(err);
|
|
177
178
|
await options.sleep(options.delayMs);
|
|
178
179
|
}
|
|
179
180
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { uploadSpooledSteps } from './chunk-
|
|
3
|
+
import { uploadSpooledSteps } from './chunk-P7UQZFNY.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-BUP5N3X6.js';
|
|
7
|
-
import { cliFetch, resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
8
|
-
import { writeSyncStatus, spoolDir } from './chunk-
|
|
7
|
+
import { cliFetch, resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-GJZEUQ6D.js';
|
|
8
|
+
import { writeSyncStatus, spoolDir } from './chunk-C3AMVSMS.js';
|
|
9
9
|
import { readLatestProvenanceForSession, readContextProvenance } from './chunk-ZJSNLVCE.js';
|
|
10
10
|
import { hookExecSpoolPath } from './chunk-DYEFPYME.js';
|
|
11
11
|
import { applyReportedCost } from './chunk-BKO6JEZI.js';
|
|
12
12
|
import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
13
|
-
import { setCustomScrubbers, setLocalIdentity, tailTranscript, enrichSessionRepo, scanAll, setRepoRoot, resolveRepoIdentity, sessionIdFromPath, scrubDeep, SOURCE_ADAPTERS } from './chunk-
|
|
13
|
+
import { setCustomScrubbers, setLocalIdentity, tailTranscript, enrichSessionRepo, scanAll, setRepoRoot, resolveRepoIdentity, sessionIdFromPath, scrubDeep, SOURCE_ADAPTERS } from './chunk-QE3UQAHK.js';
|
|
14
14
|
import { C } from './chunk-ANPNT6PM.js';
|
|
15
15
|
import { readCloudConfig, cloudConfigPath, writeCloudConfig } from './chunk-EABW6AJQ.js';
|
|
16
16
|
import { readLaunchSpoolState, launchStatusIsDecisive, launchedItemsBySession, launchesPath } from './chunk-T2Q7ISPE.js';
|
|
@@ -18,7 +18,7 @@ import { cliInvocation } from './chunk-CRB3POP4.js';
|
|
|
18
18
|
import { removeJournalHooks } from './chunk-TUSYOL2O.js';
|
|
19
19
|
import { CAPTURE_TIERS, inferArtifactKind, bannedPathsForTier, downconvertSession, isHumanUserTurn, turnCountBound, EVENT_TYPES } from './chunk-QZBXLLTV.js';
|
|
20
20
|
import { homeFromEnv } from './chunk-VNVZDWO3.js';
|
|
21
|
-
import { signerFor, signRunnerRequest } from './chunk-
|
|
21
|
+
import { signerFor, signRunnerRequest } from './chunk-F6DIHHBS.js';
|
|
22
22
|
import { dirname, basename, join } from 'path';
|
|
23
23
|
import { statSync, readFileSync, readdirSync, mkdirSync, writeFileSync, renameSync, existsSync, rmSync } from 'fs';
|
|
24
24
|
import { execFileSync } from 'child_process';
|
|
@@ -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-KDDFI5MR.js';
|
|
4
|
+
import { currentVersion, currentLink, isInLayout, packageRootIn, versionDir, switchCurrent, execStartLine } from './chunk-4IFKLYMM.js';
|
|
5
5
|
import { compareVersions } from './chunk-TQMI335S.js';
|
|
6
|
-
import { RUNNER_DIR_MODE } from './chunk-
|
|
6
|
+
import { RUNNER_DIR_MODE } from './chunk-L4CW6LZQ.js';
|
|
7
7
|
import { realpathSync, readFileSync, mkdirSync, rmSync, cpSync, existsSync } from 'fs';
|
|
8
8
|
import { dirname, sep, join } from 'path';
|
|
9
9
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { currentLink } from './chunk-
|
|
3
|
+
import { currentLink } from './chunk-4IFKLYMM.js';
|
|
4
4
|
import { readFileSync, statSync, chmodSync, mkdirSync, writeFileSync, renameSync, rmSync, existsSync, lstatSync, accessSync, constants, realpathSync } from 'fs';
|
|
5
5
|
import { randomBytes } from 'crypto';
|
|
6
6
|
import { join, dirname, delimiter, resolve } from 'path';
|
|
@@ -81,4 +81,4 @@ function deliveryDir(repository, sha) {
|
|
|
81
81
|
return `${BUILD_HOME}/.outerlayer/context/${repository}/${sha}`;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
export { RUNNER_DIR_MODE, RUNNER_FILE_MODE, SHIM_DIR, attemptStamp, buildDir, contextHomeDir, deliveryDir, diskTemplatesDir, ghConfigDir, hostKeyPath, imagesDir, jobDir, jobsDir, mirrorDir, pidFilePath, repoCacheDir, rootfsDir, rootfsPathFor, runnerDir, runnerDirOfBuild, spoolDir, stagedContextDir, vmAssetsDir, vsockPath };
|
|
84
|
+
export { RUNNER_DIR_MODE, RUNNER_FILE_MODE, SHIM_DIR, attemptStamp, buildDir, buildsDir, contextHomeDir, deliveryDir, diskTemplatesDir, ghConfigDir, hostKeyPath, imagesDir, jobDir, jobsDir, mirrorDir, pidFilePath, repoCacheDir, rootfsDir, rootfsPathFor, runnerDir, runnerDirOfBuild, spoolDir, stagedContextDir, vmAssetsDir, vsockPath };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { builtinKind } from './chunk-JWRX5ZTT.js';
|
|
4
4
|
import { parseSize } from './chunk-7RQ73DLO.js';
|
|
5
|
-
import { runnerDir } from './chunk-
|
|
5
|
+
import { runnerDir } from './chunk-L4CW6LZQ.js';
|
|
6
6
|
import { dirname } from 'path';
|
|
7
7
|
import { spawnSync } from 'child_process';
|
|
8
8
|
|
|
@@ -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 { autoConnect, detectActiveSession } from './chunk-
|
|
4
|
+
import { autoConnect, detectActiveSession } from './chunk-FQCLEH34.js';
|
|
5
5
|
import { acquireSpoolLockAt } from './chunk-BUP5N3X6.js';
|
|
6
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
7
|
-
import { resolveRepoIdentity } from './chunk-
|
|
6
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-GJZEUQ6D.js';
|
|
7
|
+
import { resolveRepoIdentity } from './chunk-QE3UQAHK.js';
|
|
8
8
|
import { C } from './chunk-ANPNT6PM.js';
|
|
9
9
|
import { launchedItemForSession } from './chunk-T2Q7ISPE.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.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-Z6SWQV77.js';
|
|
4
|
+
import { runnerImageVersion } from './chunk-665QWBNW.js';
|
|
5
|
+
import { firecrackerArch, MICROVM_ARCHES, guestAssetsPinned } from './chunk-APBTVIM4.js';
|
|
6
6
|
import { spawnSync } from 'child_process';
|
|
7
7
|
import { existsSync, accessSync, constants, statSync, readFileSync } from 'fs';
|
|
8
8
|
|