@outerlayer/cli 0.37.0 → 0.38.0-next.20261105124419
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 +13 -5
- package/dist/{agent-setup-DUE6IXPP.js → agent-setup-JEUFYIPH.js} +7 -7
- package/dist/{agent-subcommand-C625JDSN.js → agent-subcommand-GR6FUDOR.js} +1 -1
- package/dist/{bridge-UHNGV6DM.js → bridge-POOKFVVM.js} +2 -2
- package/dist/{build-ALG3MYX2.js → build-L2I4A2E6.js} +7 -7
- package/dist/{build-disk-JU2QHE64.js → build-disk-JXDTAY5A.js} +5 -5
- package/dist/build-info.json +1 -1
- package/dist/{builder-4LK2FDCX.js → builder-MV5A5KOW.js} +4 -4
- package/dist/{caller-JQC4VW36.js → caller-XIG74H56.js} +7 -7
- package/dist/{check-PJ5FLDTD.js → check-LYPMBZU5.js} +38 -38
- package/dist/{chunk-R2IPYS6A.js → chunk-3AJKX3FY.js} +3 -3
- package/dist/{chunk-XMIUPI5N.js → chunk-3FVSLRXZ.js} +1 -1
- package/dist/{chunk-WCJCGFVQ.js → chunk-3YULN4UC.js} +1 -1
- package/dist/{chunk-EDEBGBPL.js → chunk-7423RCC2.js} +2 -2
- package/dist/{chunk-RFCAK6OI.js → chunk-BBHBVDET.js} +3 -3
- package/dist/{chunk-6BS4DDCY.js → chunk-BG3X4UPN.js} +5 -5
- package/dist/{chunk-OG6RJXQ3.js → chunk-CFXCMHUO.js} +1 -1
- package/dist/{chunk-IJU6DMQA.js → chunk-D46NGZOG.js} +1 -1
- package/dist/{chunk-4U57GP2X.js → chunk-DPBSA2A3.js} +2 -2
- package/dist/{chunk-3LT6REKE.js → chunk-EL46EW3V.js} +1 -1
- package/dist/{chunk-Q2JDKHOR.js → chunk-FFEZDIDM.js} +32 -24
- package/dist/{chunk-4TDBM3PK.js → chunk-G6BDSNSO.js} +3 -3
- package/dist/{chunk-KE5NFPP2.js → chunk-GDYUTUUU.js} +5 -5
- package/dist/{chunk-2LXO2YIW.js → chunk-GLPQBMON.js} +3 -3
- package/dist/{chunk-HOTRWPVM.js → chunk-GSSCNJ6F.js} +1 -1
- package/dist/{chunk-ZRITZJ36.js → chunk-H273QEFX.js} +2 -2
- package/dist/{chunk-N3FPRSUZ.js → chunk-H3N7Q4ZE.js} +2 -2
- package/dist/{chunk-LUQWY7BX.js → chunk-HODTWJUB.js} +2 -2
- package/dist/{chunk-G43WGW64.js → chunk-HUZPRUNL.js} +3 -3
- package/dist/{chunk-RXWFZB3P.js → chunk-HZ7BKQH4.js} +1 -1
- package/dist/{chunk-E2DJ6TWB.js → chunk-J6M3QBZ4.js} +1 -2
- package/dist/{chunk-62RPMJXQ.js → chunk-KEUMMQXT.js} +3 -3
- package/dist/{chunk-XPIFUWWY.js → chunk-L5ZU6BDL.js} +9 -9
- package/dist/{chunk-LNTZH3UL.js → chunk-LDWLK3SO.js} +2 -2
- package/dist/{chunk-77RLQS5V.js → chunk-LJTQLJY7.js} +6 -6
- package/dist/{chunk-NBGBMZE4.js → chunk-LXZNM5VB.js} +1 -1
- package/dist/{chunk-KSSHEWPV.js → chunk-M2YIRI4M.js} +855 -522
- package/dist/{chunk-OLZVQCDX.js → chunk-MEWH2KP3.js} +1 -1
- package/dist/{chunk-4A7D2HWQ.js → chunk-MFQZ4YB2.js} +3 -3
- package/dist/{chunk-LVZ3UV7T.js → chunk-MTOTUOVL.js} +1 -1
- package/dist/{chunk-Q6FXWSN3.js → chunk-MTWLACRR.js} +5 -5
- package/dist/{chunk-YLJXRXPX.js → chunk-PGWNGQNM.js} +1 -1
- package/dist/{chunk-PNZN656P.js → chunk-RHJC4BFN.js} +1 -1
- package/dist/{chunk-KCNL7KX2.js → chunk-SKMSAH7E.js} +5 -5
- package/dist/{chunk-HN76DIHX.js → chunk-SKTLYF3W.js} +3 -3
- package/dist/{chunk-GBCQ3KHH.js → chunk-T3E7R6RM.js} +2 -2
- package/dist/{chunk-ZEHCE7ZE.js → chunk-TE6GQJRW.js} +1 -1
- package/dist/{chunk-P2UH4EBF.js → chunk-U3YQTCAX.js} +413 -270
- package/dist/{chunk-MITBH4LH.js → chunk-UXR7PP74.js} +1 -1
- package/dist/{chunk-ZHOPDD7U.js → chunk-V4ALUVM7.js} +2 -2
- package/dist/{chunk-GQA54433.js → chunk-VK27VYPT.js} +2 -2
- package/dist/{chunk-FYPVUT27.js → chunk-VRJKRJLT.js} +1 -1
- package/dist/{chunk-JNGKTJ7L.js → chunk-VSF7YDGF.js} +5 -5
- package/dist/{chunk-JO2FOEZE.js → chunk-W4KFRTFB.js} +2 -2
- package/dist/{chunk-VTJ5MGGC.js → chunk-XLZOJPOD.js} +3 -3
- package/dist/{chunk-2QFRAMJX.js → chunk-XXSTLXIV.js} +1 -1
- package/dist/{chunk-G62P3EFL.js → chunk-YFOZG7QW.js} +3 -3
- package/dist/{chunk-MZ2OOMOT.js → chunk-YHBRCUSH.js} +1 -1
- package/dist/{chunk-IHPJFMSV.js → chunk-YVCZDPEY.js} +2 -2
- package/dist/{chunk-QK43VKE4.js → chunk-YXEI5FEI.js} +7 -7
- package/dist/{chunk-XGJXLITW.js → chunk-Z4VSLXAS.js} +1 -1
- package/dist/{claude-launcher-HW5YVYWR.js → claude-launcher-B3E7YQ7I.js} +1 -1
- package/dist/{cli-K62CS6XW.js → cli-EP4ERRKA.js} +114 -114
- package/dist/{command-EG54FHMR.js → command-W3QDOBVS.js} +32 -32
- package/dist/{config-CZJINZN5.js → config-4AL4H4O6.js} +6 -6
- package/dist/{connect-cmd-4ZEF4WNR.js → connect-cmd-KLQSLHOG.js} +5 -5
- package/dist/{container-start-JBYD2XG4.js → container-start-LQH2INFF.js} +30 -30
- package/dist/{context-show-cmd-JYV7RKMC.js → context-show-cmd-BTLIXLYY.js} +6 -6
- package/dist/{control-plane-launch-HLFLGLW6.js → control-plane-launch-VPATGJOX.js} +5 -5
- package/dist/{demo-record-cmd-MDPZD53Q.js → demo-record-cmd-THSOAV2Z.js} +2 -2
- package/dist/{demo-voice-cmd-4JEXQP4I.js → demo-voice-cmd-WZTG4EOA.js} +11 -11
- package/dist/{docker-F4S3PBPD.js → docker-RZSABDTP.js} +4 -4
- package/dist/{doctor-MXWODPPL.js → doctor-3DZ6WX3N.js} +32 -32
- package/dist/{emit-artifact-cmd-QDYKKQT5.js → emit-artifact-cmd-LSOMCAWB.js} +10 -10
- package/dist/{emit-criteria-cmd-OCLNKIL4.js → emit-criteria-cmd-QGXJEVQQ.js} +7 -7
- package/dist/{emit-demo-cmd-RO3OXK4U.js → emit-demo-cmd-DQBIIGD3.js} +11 -11
- package/dist/{emit-finding-cmd-M4OKFZPF.js → emit-finding-cmd-Q2AVCU7I.js} +7 -7
- package/dist/{emit-result-cmd-CUTNYSOQ.js → emit-result-cmd-UCIWLIXJ.js} +9 -9
- package/dist/{emit-step-cmd-SY54AQYM.js → emit-step-cmd-M2EUH4MC.js} +7 -7
- package/dist/{exec-client-3ZVMZRZD.js → exec-client-CACFKEHG.js} +3 -3
- package/dist/{find-unit-5ALT2LU3.js → find-unit-5MZ7BHRD.js} +8 -8
- package/dist/{findings-cmd-246XYZSE.js → findings-cmd-DLJSGR2Z.js} +7 -7
- package/dist/{fleet-readiness-SOSSKSII.js → fleet-readiness-BXCAJXUJ.js} +5 -5
- package/dist/{governing-source-2UXHLXCS.js → governing-source-LWLFMQ2W.js} +9 -9
- package/dist/{guest-init-ZNSEHMXA.js → guest-init-TJQFOKPW.js} +4 -4
- package/dist/{hook-fast-27GO6BM2.js → hook-fast-5BMJYJBP.js} +1 -1
- package/dist/{host-checks-RK5TC3TX.js → host-checks-NZEMJCEM.js} +28 -28
- package/dist/{pending-625SL7WI.js → host-key-5ZQYRJ4E.js} +3 -3
- package/dist/{image-tag-WQB5HVLI.js → image-tag-JSSECZZE.js} +3 -3
- package/dist/index.js +4 -4
- package/dist/{init-CSWMBTTM.js → init-334GEUWV.js} +28 -28
- package/dist/{init-GH74PR4K.js → init-MSMRHTHS.js} +28 -28
- package/dist/{init-agent-54VT3S3Z.js → init-agent-CMZKNDGD.js} +28 -28
- package/dist/{init-cmd-AIUYATFU.js → init-cmd-L5XCJGZE.js} +10 -10
- package/dist/{init-update-BIHC42CB.js → init-update-SQEBAU2E.js} +8 -8
- package/dist/{install-cmd-YMPTGHE4.js → install-cmd-MFPQWUDC.js} +5 -5
- package/dist/{logs-HIXNEXBT.js → logs-F3IASZEW.js} +2 -2
- package/dist/{loop-P7NDQS3G.js → loop-6HY663IL.js} +37 -37
- package/dist/{machine-UEW4P7I6.js → machine-XIKOX7WS.js} +28 -28
- package/dist/{mcp-serve-cmd-4EGVZBCK.js → mcp-serve-cmd-KIP3JUYE.js} +4 -4
- package/dist/{paths-AGOA7QX6.js → paths-HU7EYF2U.js} +2 -2
- package/dist/{host-key-ZRJ4CGFC.js → pending-WNHJ5I2H.js} +3 -3
- package/dist/{pidfile-H2DZIODT.js → pidfile-UYKW6PT2.js} +3 -3
- package/dist/{record-UHMPQIUU.js → record-UJ6R33UZ.js} +3 -3
- package/dist/{runner-env-YPIZG3VG.js → runner-env-NDXVB5YY.js} +8 -8
- package/dist/{runner-identity-RPRUONRJ.js → runner-identity-YXGTTBKA.js} +4 -4
- package/dist/{runner-key-PNZTLOK5.js → runner-key-CO6357IF.js} +28 -28
- package/dist/{session-sender-B526LNJ6.js → session-sender-YJDE2SEH.js} +10 -10
- package/dist/{spec-cmd-6TZVHED2.js → spec-cmd-V7JOMHZF.js} +8 -8
- package/dist/{state-ALHXVNOS.js → state-CG5CTXKH.js} +3 -3
- package/dist/{status-X7IK4XQU.js → status-3XYAF6ZY.js} +28 -28
- package/dist/{sync-cmd-NMWPCIFU.js → sync-cmd-RSSBSQXL.js} +9 -9
- package/dist/{update-steps-R7AQAO6R.js → update-steps-NCHAZ5KA.js} +29 -29
- package/dist/{watch-INJRAQRE.js → watch-FTHG5QVH.js} +9 -9
- package/dist/{work-claim-cmd-YE4MVGZH.js → work-claim-cmd-7MLYX5OA.js} +13 -13
- package/dist/{work-cmd-6JUZHKXN.js → work-cmd-WVRZ3ONW.js} +7 -7
- package/dist/{work-comment-cmd-KK7H6F67.js → work-comment-cmd-6AEA5UOR.js} +9 -9
- package/dist/{work-demo-cmd-32PXKPZK.js → work-demo-cmd-67SOL7WG.js} +7 -7
- package/dist/{work-logs-cmd-QYSBE2SP.js → work-logs-cmd-Y5VTLE6R.js} +7 -7
- package/dist/{work-open-pr-cmd-PSATZ2BK.js → work-open-pr-cmd-OVGDDLWM.js} +8 -8
- package/dist/{work-pr-cmd-BEYPR7TL.js → work-pr-cmd-Z5PB457N.js} +7 -7
- package/dist/{work-proofs-cmd-Y7WZNTI3.js → work-proofs-cmd-CAFCKTPD.js} +8 -8
- package/dist/{work-proofs-record-5DCQQT23.js → work-proofs-record-SYYCUSBA.js} +14 -14
- package/dist/{work-stop-cmd-MUSKJC5M.js → work-stop-cmd-CF4W4NXI.js} +7 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -362,11 +362,19 @@ content:
|
|
|
362
362
|
answer holds the machine size, the hosts the factory allows and the values of
|
|
363
363
|
its build variables. The runner keeps them in memory only, passes the
|
|
364
364
|
variables to the build, and scrubs each value from what it uploads. The
|
|
365
|
-
answer can also list proxied variables
|
|
366
|
-
|
|
367
|
-
the
|
|
368
|
-
|
|
369
|
-
the
|
|
365
|
+
answer can also list proxied variables, each an HTTPS address and a
|
|
366
|
+
header. The build gets a stand-in for each one. For a build with a proxied
|
|
367
|
+
variable, the runner makes a certificate authority that lives in the runner's
|
|
368
|
+
memory only, and the build trusts its public certificate. The runner
|
|
369
|
+
decrypts the build's TLS connection to the address's host and port, and
|
|
370
|
+
nothing else, with a certificate that authority signs. It sends each request
|
|
371
|
+
whose path starts with the address's path to the service over HTTPS, and
|
|
372
|
+
verifies the service's certificate against the public roots
|
|
373
|
+
(`runner/decrypt.ts`). It sets the real value in a header on the host
|
|
374
|
+
(`runner/proxied-variables.ts` checks each address), and
|
|
375
|
+
`runner/build-trust.ts` writes the trust files from the image's roots and
|
|
376
|
+
the authority. The build never holds the value or the authority's private
|
|
377
|
+
key. Every other connection passes through as bytes.
|
|
370
378
|
- **`outerlayer runner start` with your own executable hooks** runs
|
|
371
379
|
`git ls-remote` against `https://github.com/<owner>/<name>.git`, with the
|
|
372
380
|
host's own git credentials, before each provision hook, to tell the hook
|
|
@@ -1,23 +1,23 @@
|
|
|
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-YVCZDPEY.js';
|
|
4
4
|
import './chunk-JAHR4LAD.js';
|
|
5
5
|
import './chunk-GF4O3M23.js';
|
|
6
6
|
import './chunk-THL7WJ3F.js';
|
|
7
|
-
import './chunk-
|
|
7
|
+
import './chunk-Z4VSLXAS.js';
|
|
8
8
|
import './chunk-VVZIFOAN.js';
|
|
9
9
|
import './chunk-TCWYLSE3.js';
|
|
10
10
|
import './chunk-ZBPUHNUZ.js';
|
|
11
11
|
import './chunk-A2LHHKTT.js';
|
|
12
12
|
import './chunk-2AM6Z5BP.js';
|
|
13
|
-
import './chunk-
|
|
13
|
+
import './chunk-HODTWJUB.js';
|
|
14
14
|
import './chunk-L2PT4NRI.js';
|
|
15
15
|
import './chunk-VV3Y32EV.js';
|
|
16
|
-
import './chunk-
|
|
16
|
+
import './chunk-VRJKRJLT.js';
|
|
17
17
|
import './chunk-HWVMRETT.js';
|
|
18
|
-
import './chunk-
|
|
19
|
-
import './chunk-
|
|
20
|
-
import './chunk-
|
|
18
|
+
import './chunk-YHBRCUSH.js';
|
|
19
|
+
import './chunk-HZ7BKQH4.js';
|
|
20
|
+
import './chunk-M2YIRI4M.js';
|
|
21
21
|
import './chunk-FV52S3JR.js';
|
|
22
22
|
import './chunk-545P7JY7.js';
|
|
23
23
|
import './chunk-BJ3KTMDH.js';
|
|
@@ -19,7 +19,7 @@ function resolveSubcommand(word, agents = defaultAgents()) {
|
|
|
19
19
|
async function runSubcommand(argv, agents = defaultAgents()) {
|
|
20
20
|
const agentId = resolveSubcommand(argv[0], agents);
|
|
21
21
|
if (agentId === void 0) return void 0;
|
|
22
|
-
const { runAgentLauncher } = await import('./claude-launcher-
|
|
22
|
+
const { runAgentLauncher } = await import('./claude-launcher-B3E7YQ7I.js');
|
|
23
23
|
return runAgentLauncher(agentId, argv.slice(1), { agents });
|
|
24
24
|
}
|
|
25
25
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { BRIDGE_ADDRESS, BRIDGE_CIDR, CONTAINER_NO_PROXY, CONTAINER_PROXY, TUNNEL_PORT, dockerClientConfig, startBridgeForward, writeDockerClientConfig } from './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
export { BRIDGE_ADDRESS, BRIDGE_CIDR, CONTAINER_NO_PROXY, CONTAINER_PROXY, TUNNEL_PORT, dockerClientConfig, startBridgeForward, writeDockerClientConfig } from './chunk-CFXCMHUO.js';
|
|
4
|
+
import './chunk-M2YIRI4M.js';
|
|
5
5
|
import './chunk-FV52S3JR.js';
|
|
6
6
|
import './chunk-P4YTEF6T.js';
|
|
7
7
|
import './chunk-UZNSGMUZ.js';
|
|
@@ -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-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
3
|
+
export { KEY_PREFIX, SHARED_NAME, SHARED_OWNER, SHARED_REPOSITORY, TAG_HOST, UNIVERSAL_SOURCE_LABEL, baseLines, buildRepositoryImage, metadataFromLabels, prepareImageBuild, universalBase, writeRecord } from './chunk-VSF7YDGF.js';
|
|
4
|
+
import './chunk-GSSCNJ6F.js';
|
|
5
|
+
import './chunk-3YULN4UC.js';
|
|
6
6
|
import './chunk-JBJTC3UU.js';
|
|
7
|
-
import './chunk-
|
|
7
|
+
import './chunk-3AJKX3FY.js';
|
|
8
8
|
export { RecipeError } from './chunk-2KFLMNQU.js';
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
11
|
-
import './chunk-
|
|
9
|
+
import './chunk-YHBRCUSH.js';
|
|
10
|
+
import './chunk-HZ7BKQH4.js';
|
|
11
|
+
import './chunk-M2YIRI4M.js';
|
|
12
12
|
import './chunk-FV52S3JR.js';
|
|
13
13
|
import './chunk-P4YTEF6T.js';
|
|
14
14
|
import './chunk-UZNSGMUZ.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-DPBSA2A3.js';
|
|
4
|
+
import './chunk-3AJKX3FY.js';
|
|
5
5
|
import './chunk-2KFLMNQU.js';
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
6
|
+
import './chunk-YHBRCUSH.js';
|
|
7
|
+
import './chunk-HZ7BKQH4.js';
|
|
8
|
+
import './chunk-M2YIRI4M.js';
|
|
9
9
|
import './chunk-FV52S3JR.js';
|
|
10
10
|
import './chunk-P4YTEF6T.js';
|
|
11
11
|
import './chunk-UZNSGMUZ.js';
|
package/dist/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"2026-11-
|
|
1
|
+
{"id":"2026-11-05T12:51:36.945Z","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, isOutOfDisk, isOutOfMemory, proxyEnvironment, trackImageBuild } from './chunk-
|
|
3
|
+
export { MIN_BUILDX_VERSION, builderName, builderSpec, buildxState, ensureBuilder, ensureFailureCount, isOutOfDisk, isOutOfMemory, proxyEnvironment, trackImageBuild } from './chunk-3AJKX3FY.js';
|
|
4
4
|
import './chunk-2KFLMNQU.js';
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
5
|
+
import './chunk-YHBRCUSH.js';
|
|
6
|
+
import './chunk-HZ7BKQH4.js';
|
|
7
|
+
import './chunk-M2YIRI4M.js';
|
|
8
8
|
import './chunk-FV52S3JR.js';
|
|
9
9
|
import './chunk-P4YTEF6T.js';
|
|
10
10
|
import './chunk-UZNSGMUZ.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-VK27VYPT.js';
|
|
4
|
+
import './chunk-HUZPRUNL.js';
|
|
5
|
+
import './chunk-DPBSA2A3.js';
|
|
6
|
+
import './chunk-3AJKX3FY.js';
|
|
7
7
|
import './chunk-2KFLMNQU.js';
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
8
|
+
import './chunk-YHBRCUSH.js';
|
|
9
|
+
import './chunk-HZ7BKQH4.js';
|
|
10
|
+
import './chunk-M2YIRI4M.js';
|
|
11
11
|
import './chunk-FV52S3JR.js';
|
|
12
12
|
import './chunk-P4YTEF6T.js';
|
|
13
13
|
import './chunk-UZNSGMUZ.js';
|
|
@@ -1,69 +1,69 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { probeCredentials } from './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
3
|
+
import { probeCredentials } from './chunk-FFEZDIDM.js';
|
|
4
|
+
import './chunk-RHJC4BFN.js';
|
|
5
|
+
import './chunk-XXSTLXIV.js';
|
|
6
|
+
import './chunk-MTOTUOVL.js';
|
|
7
7
|
import './chunk-3JVYMD4G.js';
|
|
8
8
|
import './chunk-E7R2GIAW.js';
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
11
|
-
import './chunk-
|
|
12
|
-
import { fleetConfigProblem, managedProblems, managedFactsOf, askFleetMachine } from './chunk-
|
|
13
|
-
import './chunk-
|
|
14
|
-
import { findServiceUnit } from './chunk-
|
|
15
|
-
import { placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, HELPER_ENV, helperSocketPath, probeHelper, needsAgentCredential, agentCredentialCheck, claimPermissionProblem, formerSkillQueues, modellessQueues, formerSkillProblem, modellessProblem } from './chunk-
|
|
9
|
+
import './chunk-YXEI5FEI.js';
|
|
10
|
+
import './chunk-MFQZ4YB2.js';
|
|
11
|
+
import './chunk-TE6GQJRW.js';
|
|
12
|
+
import { fleetConfigProblem, managedProblems, managedFactsOf, askFleetMachine } from './chunk-LJTQLJY7.js';
|
|
13
|
+
import './chunk-D46NGZOG.js';
|
|
14
|
+
import { findServiceUnit } from './chunk-EL46EW3V.js';
|
|
15
|
+
import { placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, HELPER_ENV, helperSocketPath, probeHelper, needsAgentCredential, agentCredentialCheck, claimPermissionProblem, formerSkillQueues, modellessQueues, formerSkillProblem, modellessProblem } from './chunk-U3YQTCAX.js';
|
|
16
16
|
import './chunk-BNYBHWYH.js';
|
|
17
17
|
import './chunk-2PGI6RDE.js';
|
|
18
18
|
import './chunk-I3LTIAOR.js';
|
|
19
|
-
import './chunk-
|
|
20
|
-
import './chunk-
|
|
19
|
+
import './chunk-V4ALUVM7.js';
|
|
20
|
+
import './chunk-XLZOJPOD.js';
|
|
21
21
|
import './chunk-A75ZPAOP.js';
|
|
22
|
-
import './chunk-
|
|
23
|
-
import './chunk-
|
|
24
|
-
import './chunk-
|
|
25
|
-
import './chunk-
|
|
26
|
-
import './chunk-
|
|
22
|
+
import './chunk-YFOZG7QW.js';
|
|
23
|
+
import './chunk-CFXCMHUO.js';
|
|
24
|
+
import './chunk-W4KFRTFB.js';
|
|
25
|
+
import './chunk-SKMSAH7E.js';
|
|
26
|
+
import './chunk-H273QEFX.js';
|
|
27
27
|
import './chunk-WGC7UFRM.js';
|
|
28
28
|
import './chunk-ZVB57WI6.js';
|
|
29
|
-
import './chunk-
|
|
29
|
+
import './chunk-LXZNM5VB.js';
|
|
30
30
|
import './chunk-TQMI335S.js';
|
|
31
|
-
import './chunk-
|
|
31
|
+
import './chunk-VK27VYPT.js';
|
|
32
32
|
import './chunk-NN33FYXG.js';
|
|
33
|
-
import './chunk-
|
|
34
|
-
import './chunk-
|
|
35
|
-
import './chunk-
|
|
33
|
+
import './chunk-VSF7YDGF.js';
|
|
34
|
+
import './chunk-GSSCNJ6F.js';
|
|
35
|
+
import './chunk-3YULN4UC.js';
|
|
36
36
|
import './chunk-JBJTC3UU.js';
|
|
37
37
|
import './chunk-OGFGZQA3.js';
|
|
38
|
-
import './chunk-
|
|
39
|
-
import './chunk-
|
|
40
|
-
import './chunk-
|
|
41
|
-
import './chunk-
|
|
38
|
+
import './chunk-MEWH2KP3.js';
|
|
39
|
+
import './chunk-J6M3QBZ4.js';
|
|
40
|
+
import './chunk-MTWLACRR.js';
|
|
41
|
+
import './chunk-BG3X4UPN.js';
|
|
42
42
|
import './chunk-6MWBZHBW.js';
|
|
43
|
-
import './chunk-
|
|
44
|
-
import { loadRunnerConfig, RunnerConfigError, checkHooks, keyRunnerFactory } from './chunk-
|
|
45
|
-
import './chunk-
|
|
46
|
-
import './chunk-
|
|
43
|
+
import './chunk-T3E7R6RM.js';
|
|
44
|
+
import { loadRunnerConfig, RunnerConfigError, checkHooks, keyRunnerFactory } from './chunk-HUZPRUNL.js';
|
|
45
|
+
import './chunk-DPBSA2A3.js';
|
|
46
|
+
import './chunk-3AJKX3FY.js';
|
|
47
47
|
import './chunk-2KFLMNQU.js';
|
|
48
48
|
import './chunk-GF4O3M23.js';
|
|
49
49
|
import './chunk-THL7WJ3F.js';
|
|
50
|
-
import './chunk-
|
|
50
|
+
import './chunk-Z4VSLXAS.js';
|
|
51
51
|
import './chunk-VVZIFOAN.js';
|
|
52
52
|
import './chunk-TCWYLSE3.js';
|
|
53
53
|
import './chunk-ZBPUHNUZ.js';
|
|
54
54
|
import './chunk-A2LHHKTT.js';
|
|
55
55
|
import './chunk-2AM6Z5BP.js';
|
|
56
|
-
import './chunk-
|
|
56
|
+
import './chunk-HODTWJUB.js';
|
|
57
57
|
import './chunk-L2PT4NRI.js';
|
|
58
58
|
import './chunk-VV3Y32EV.js';
|
|
59
59
|
import './chunk-NSDQESOY.js';
|
|
60
|
-
import './chunk-
|
|
60
|
+
import './chunk-VRJKRJLT.js';
|
|
61
61
|
import './chunk-HWVMRETT.js';
|
|
62
|
-
import './chunk-
|
|
63
|
-
import './chunk-
|
|
64
|
-
import './chunk-
|
|
62
|
+
import './chunk-YHBRCUSH.js';
|
|
63
|
+
import './chunk-HZ7BKQH4.js';
|
|
64
|
+
import './chunk-M2YIRI4M.js';
|
|
65
65
|
import { parseRunnerEnv } from './chunk-FV52S3JR.js';
|
|
66
|
-
import './chunk-
|
|
66
|
+
import './chunk-UXR7PP74.js';
|
|
67
67
|
import './chunk-545P7JY7.js';
|
|
68
68
|
import './chunk-OV4XTV5M.js';
|
|
69
69
|
import './chunk-BJ3KTMDH.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { resolveDevcontainerCli, devcontainerBuildInvocation, universalImagePending, RecipeError } from './chunk-2KFLMNQU.js';
|
|
4
|
-
import { ensureHostKey } from './chunk-
|
|
5
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir } from './chunk-
|
|
6
|
-
import { BUILD_HOME, JOB_MOUNT, RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-
|
|
4
|
+
import { ensureHostKey } from './chunk-YHBRCUSH.js';
|
|
5
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir } from './chunk-HZ7BKQH4.js';
|
|
6
|
+
import { BUILD_HOME, JOB_MOUNT, RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-M2YIRI4M.js';
|
|
7
7
|
import { primaryDestination, JOIN_DIR, RELAY_ID, JOIN_SOCKET, GATEWAY_PORT, TARGET_GATEWAY, GATEWAY_SOCKET, destinationTarget, providerDestinations, RELAY_USER } from './chunk-FV52S3JR.js';
|
|
8
8
|
import { jobAgent, universalImagePinned, UNIVERSAL_IMAGE, BUILDKIT_IMAGE } from './chunk-P4YTEF6T.js';
|
|
9
9
|
import { defaultAgents } from './chunk-UZNSGMUZ.js';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { sanitizeTerminal } from './chunk-VVZIFOAN.js';
|
|
4
4
|
import { isAgentsMdLayout } from './chunk-TCWYLSE3.js';
|
|
5
|
-
import { resolveGatewayCredentials, defaultFetch } from './chunk-
|
|
5
|
+
import { resolveGatewayCredentials, defaultFetch } from './chunk-VRJKRJLT.js';
|
|
6
6
|
import { versionAtLeast } from './chunk-OV4XTV5M.js';
|
|
7
7
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
8
8
|
import { machineSkillsState, staleAgentSkills } from './chunk-DQZ7XFCI.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { isSameProcess } from './chunk-JBJTC3UU.js';
|
|
4
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
4
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-HZ7BKQH4.js';
|
|
5
5
|
import { existsSync, readFileSync, mkdirSync, writeFileSync, rmSync } from 'fs';
|
|
6
6
|
import { dirname } from 'path';
|
|
7
7
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { detectActiveSession } from './chunk-6MWBZHBW.js';
|
|
4
|
-
import { autoConnect } from './chunk-
|
|
4
|
+
import { autoConnect } from './chunk-T3E7R6RM.js';
|
|
5
5
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
6
|
-
import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-
|
|
6
|
+
import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-VRJKRJLT.js';
|
|
7
7
|
import { parseWorkItemEnv } from './chunk-4OD45RBP.js';
|
|
8
8
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
9
9
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
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-SKTLYF3W.js';
|
|
5
5
|
import { VoiceDownloadError, downloadPinned, sha256OfFile } from './chunk-2PGI6RDE.js';
|
|
6
6
|
import { detectActiveSession } from './chunk-6MWBZHBW.js';
|
|
7
|
-
import { autoConnect } from './chunk-
|
|
7
|
+
import { autoConnect } from './chunk-T3E7R6RM.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { defaultFetch, resolveGatewayCredentials } from './chunk-
|
|
9
|
+
import { defaultFetch, resolveGatewayCredentials } from './chunk-VRJKRJLT.js';
|
|
10
10
|
import { launchedItemForSession } from './chunk-4OD45RBP.js';
|
|
11
11
|
import { VOICE_PACK_FILES, VOICE_PACK_VERSION } from './chunk-P4YTEF6T.js';
|
|
12
12
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { detectActiveSession } from './chunk-6MWBZHBW.js';
|
|
4
|
-
import { autoConnect } from './chunk-
|
|
5
|
-
import { workPageUrl } from './chunk-
|
|
4
|
+
import { autoConnect } from './chunk-T3E7R6RM.js';
|
|
5
|
+
import { workPageUrl } from './chunk-Z4VSLXAS.js';
|
|
6
6
|
import { sanitizeTerminal } from './chunk-VVZIFOAN.js';
|
|
7
7
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
8
|
-
import { resolveGatewayCredentials, unauthorizedMessage, defaultFetch } from './chunk-
|
|
9
|
-
import { signRunnerRequest } from './chunk-
|
|
8
|
+
import { resolveGatewayCredentials, unauthorizedMessage, defaultFetch } from './chunk-VRJKRJLT.js';
|
|
9
|
+
import { signRunnerRequest } from './chunk-YHBRCUSH.js';
|
|
10
10
|
import { readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
11
11
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
12
12
|
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-QJKW4MKH.js';
|
|
@@ -486,7 +486,7 @@ async function runWorkLinkSession(opts) {
|
|
|
486
486
|
return await linkSession(opts);
|
|
487
487
|
} catch (err) {
|
|
488
488
|
if (opts.logFailures) {
|
|
489
|
-
const { logHookError } = await import('./hook-fast-
|
|
489
|
+
const { logHookError } = await import('./hook-fast-5BMJYJBP.js');
|
|
490
490
|
const reason = err instanceof Error ? err.message : String(err);
|
|
491
491
|
logHookError(opts.home ?? homeFromEnv(opts.env ?? process.env), new Error(`work link-session #${opts.number} failed: ${reason}`));
|
|
492
492
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RELAY_PORT, BUILD_HOME } from './chunk-
|
|
3
|
+
import { RELAY_PORT, BUILD_HOME } from './chunk-M2YIRI4M.js';
|
|
4
4
|
import { createServer, connect } from 'net';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
@@ -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-HZ7BKQH4.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,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { parseSize, BUILD_LABEL, RUNNER_LABEL, runnerLabelValue } from './chunk-
|
|
4
|
-
import { buildsDir, storeScopes, rootfsDir, orgStoreIn, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-
|
|
3
|
+
import { parseSize, BUILD_LABEL, RUNNER_LABEL, runnerLabelValue } from './chunk-3AJKX3FY.js';
|
|
4
|
+
import { buildsDir, storeScopes, rootfsDir, orgStoreIn, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-HZ7BKQH4.js';
|
|
5
5
|
import { spawnSync } from 'child_process';
|
|
6
6
|
import { statfsSync, statSync, existsSync, readdirSync } from 'fs';
|
|
7
7
|
import { dirname, join } from 'path';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { escapeUnitPath, UNIT_MARKER, DEFAULT_UNIT_NAME } from './chunk-
|
|
3
|
+
import { escapeUnitPath, UNIT_MARKER, DEFAULT_UNIT_NAME } from './chunk-XLZOJPOD.js';
|
|
4
4
|
import { inspectService, realInspectProbes } from './chunk-FV52S3JR.js';
|
|
5
5
|
import { realpathSync, readFileSync, readdirSync } from 'fs';
|
|
6
6
|
import { resolve, dirname, join } from 'path';
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { writeFleetState } from './chunk-
|
|
4
|
-
import { writePendingUpdate } from './chunk-
|
|
5
|
-
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-
|
|
3
|
+
import { writeFleetState } from './chunk-RHJC4BFN.js';
|
|
4
|
+
import { writePendingUpdate } from './chunk-XXSTLXIV.js';
|
|
5
|
+
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-MTOTUOVL.js';
|
|
6
6
|
import { decideInstalledSwitch } from './chunk-3JVYMD4G.js';
|
|
7
7
|
import { fetchVersionMeta, npmVersion, npmSupportsProvenance, fetchTarballDigest, fetchProvenance, installVersion, auditSignatures } from './chunk-E7R2GIAW.js';
|
|
8
|
-
import { reportFailedStart, fitImageBuildMemory } from './chunk-
|
|
9
|
-
import { renderUpdateSteps } from './chunk-
|
|
10
|
-
import { RUNNER_PROTOCOL } from './chunk-
|
|
11
|
-
import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-
|
|
12
|
-
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-
|
|
13
|
-
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, releaseLease, LEASE_SECONDS, itemTag, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, deliverContainerHooks, provisionMicroVm, deliverCommitHooks, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, currentSkillCommand, formerSkillProblem, MICROVM_COMMAND_DIR, commandLogOffset, startMicroVmCommand, microVmCommandLine, runCommand, containerCommandExec, execCommandLine, startSender, startHostServices, finishJob, sampleGuest, foldSample, isContainerTracked, isMicroVmTracked, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, unfinishedJobs, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, usableCpus, hookLimitsFor, AttemptLogBook, microVmOomKills, needsRenew, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, parseCpuList, ensureTunnel, keepGhConfigCurrent, filesAreCopied, restartSender, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, jobRecordsClaim, freeItemDisksUntil, savedStatesDir, readRecords, removeOldestUntil, ensureNetworkReady, managedBuildSettingsFor, ADOPTED_FETCH_RETRY_WINDOW_MS, gitRemoteFor, startServicesFor, createLeaseChannel, serveLease, vmAlive, writeGuestGhConfig, shellQuote, deliverJobFiles, inTeardown } from './chunk-
|
|
14
|
-
import { RUNNER_RESERVE_BYTES } from './chunk-
|
|
15
|
-
import { RepoFilter } from './chunk-
|
|
8
|
+
import { reportFailedStart, fitImageBuildMemory } from './chunk-YXEI5FEI.js';
|
|
9
|
+
import { renderUpdateSteps } from './chunk-MFQZ4YB2.js';
|
|
10
|
+
import { RUNNER_PROTOCOL } from './chunk-TE6GQJRW.js';
|
|
11
|
+
import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-LJTQLJY7.js';
|
|
12
|
+
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-D46NGZOG.js';
|
|
13
|
+
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, releaseLease, LEASE_SECONDS, itemTag, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, deliverContainerHooks, provisionMicroVm, deliverCommitHooks, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, currentSkillCommand, formerSkillProblem, MICROVM_COMMAND_DIR, commandLogOffset, startMicroVmCommand, microVmCommandLine, runCommand, containerCommandExec, execCommandLine, startSender, startHostServices, finishJob, sampleGuest, foldSample, isContainerTracked, isMicroVmTracked, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, unfinishedJobs, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, usableCpus, hookLimitsFor, AttemptLogBook, microVmOomKills, needsRenew, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, parseCpuList, ensureTunnel, keepGhConfigCurrent, filesAreCopied, restartSender, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, jobRecordsClaim, freeItemDisksUntil, savedStatesDir, readRecords, removeOldestUntil, ensureNetworkReady, managedBuildSettingsFor, ADOPTED_FETCH_RETRY_WINDOW_MS, gitRemoteFor, startServicesFor, installTrust, createLeaseChannel, serveLease, vmAlive, writeGuestGhConfig, shellQuote, deliverJobFiles, inTeardown } from './chunk-U3YQTCAX.js';
|
|
14
|
+
import { RUNNER_RESERVE_BYTES } from './chunk-XLZOJPOD.js';
|
|
15
|
+
import { RepoFilter } from './chunk-SKMSAH7E.js';
|
|
16
16
|
import { JOB_STATE_FORMAT, readsJobState, jobStateFormatOf } from './chunk-ZVB57WI6.js';
|
|
17
|
-
import { imageTag, writeUpdateStatus, pullInstruction, tagToPull } from './chunk-
|
|
17
|
+
import { imageTag, writeUpdateStatus, pullInstruction, tagToPull } from './chunk-LXZNM5VB.js';
|
|
18
18
|
import { isVersion, compareVersions, satisfiesRange } from './chunk-TQMI335S.js';
|
|
19
|
-
import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls } from './chunk-
|
|
20
|
-
import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-
|
|
19
|
+
import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls } from './chunk-VK27VYPT.js';
|
|
20
|
+
import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-3YULN4UC.js';
|
|
21
21
|
import { startTimeOf, isSameProcess } from './chunk-JBJTC3UU.js';
|
|
22
|
-
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-
|
|
23
|
-
import { isSignatureRefusal, WorkCommandError, getJson, postJson } from './chunk-
|
|
24
|
-
import { keyRunnerFactory, isBuiltinContainer, isBuiltinVm, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, runnerDeliversComments, 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 } from './chunk-
|
|
27
|
-
import { loadHostKey, ensureHostKey, signerFor } from './chunk-
|
|
28
|
-
import { RUNNER_DIR_MODE, runnerDir, buildDir, attemptStamp, jobDir, RUNNER_FILE_MODE, jobsDir, pidFilePath, storeScopes, imagesDir } from './chunk-
|
|
29
|
-
import { parseClaimIdentity, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf, JOB_MOUNT } from './chunk-
|
|
22
|
+
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-MTWLACRR.js';
|
|
23
|
+
import { isSignatureRefusal, WorkCommandError, getJson, postJson } from './chunk-BG3X4UPN.js';
|
|
24
|
+
import { keyRunnerFactory, isBuiltinContainer, isBuiltinVm, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, runnerDeliversComments, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS } from './chunk-HUZPRUNL.js';
|
|
25
|
+
import { allocatedBytes, freeBytes, formatBytes } from './chunk-DPBSA2A3.js';
|
|
26
|
+
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, exceedsDisk, builderName, runnerLabelValue, ensureFailureCount, builderSpec, ensureBuilder, spawnRun } from './chunk-3AJKX3FY.js';
|
|
27
|
+
import { loadHostKey, ensureHostKey, signerFor } from './chunk-YHBRCUSH.js';
|
|
28
|
+
import { RUNNER_DIR_MODE, runnerDir, buildDir, attemptStamp, jobDir, RUNNER_FILE_MODE, jobsDir, pidFilePath, storeScopes, imagesDir } from './chunk-HZ7BKQH4.js';
|
|
29
|
+
import { parseClaimIdentity, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf, JOB_MOUNT } from './chunk-M2YIRI4M.js';
|
|
30
30
|
import { COMMAND_LOST_REASON, takeAgentCredentials, heldAgentCredential, CONTAINER_STOPPED_REASON, currentAgentCredential, fdName } from './chunk-FV52S3JR.js';
|
|
31
31
|
import { jobCommandEnv, runnerAgents } from './chunk-P4YTEF6T.js';
|
|
32
32
|
import { resolveVersion } from './chunk-RA3O54FC.js';
|
|
@@ -2239,7 +2239,7 @@ var CLAIM_REFUSAL_CODES = new Set(
|
|
|
2239
2239
|
"pull_request_from_fork pull_request_on_default_branch pull_request_ambiguous pull_request_repository_not_connected repository_not_reachable branch_claimed_elsewhere".split(" ")
|
|
2240
2240
|
);
|
|
2241
2241
|
async function tryClaimAndStart(state, item, queue) {
|
|
2242
|
-
const { postJson: postJson2 } = await import('./work-cmd-
|
|
2242
|
+
const { postJson: postJson2 } = await import('./work-cmd-WVRZ3ONW.js');
|
|
2243
2243
|
const log = logOf(state);
|
|
2244
2244
|
const hostKey = await loadHostKey(state.config.configPath);
|
|
2245
2245
|
const claim = await retrySend(
|
|
@@ -3410,6 +3410,13 @@ async function rejoinMicroVmBuild(state, adopted) {
|
|
|
3410
3410
|
} catch (err) {
|
|
3411
3411
|
log.error(`${tag} the adopted build's services could not be served again: ${describeCallFailure(err)}`);
|
|
3412
3412
|
}
|
|
3413
|
+
let trustFailure;
|
|
3414
|
+
try {
|
|
3415
|
+
await installTrust(runtime, microvm, dirPath);
|
|
3416
|
+
} catch (err) {
|
|
3417
|
+
trustFailure = describeCallFailure(err);
|
|
3418
|
+
log.error(`${tag} the adopted build's trust files could not be written again: ${trustFailure}`);
|
|
3419
|
+
}
|
|
3413
3420
|
try {
|
|
3414
3421
|
const channel = createLeaseChannel(leaseTimeLeftFor(state, adopted));
|
|
3415
3422
|
const served = await serveLease(join(microvm.buildDir, "lease.sock"), { ...channel, accept: (stream) => runtime.leases.get(microvm.buildId)?.accept(stream) }, void 0, inherit("lease.sock"));
|
|
@@ -3430,6 +3437,7 @@ async function rejoinMicroVmBuild(state, adopted) {
|
|
|
3430
3437
|
}).catch((err) => log.error(`${tag} the read token could not be written for gh in the guest: ${describeCallFailure(err)}`));
|
|
3431
3438
|
});
|
|
3432
3439
|
await pushes;
|
|
3440
|
+
if (trustFailure !== void 0) return { reason: `the adopted build's guest could not be given its trust files after the runner restarted: ${trustFailure}`, why: "the guest could not be given the new authority" };
|
|
3433
3441
|
return servicesServed && leaseServed ? true : { reason: MICROVM_SOCKETS_LOST_REASON, why: "the sockets it reaches the runner on could not be served again" };
|
|
3434
3442
|
}
|
|
3435
3443
|
async function adoptTrackedMicroVms(state, plan) {
|
|
@@ -3593,7 +3601,7 @@ async function startRunner(configPath, deps, startup) {
|
|
|
3593
3601
|
check: update.check ? () => update.check(configPath) : async () => {
|
|
3594
3602
|
const held = runnerAgents(deps.agents).flatMap((agent) => heldAgentCredential(agent.descriptor.id) ?? []);
|
|
3595
3603
|
const env = { ...process.env, ...Object.fromEntries(held.map((credential) => [credential.variable, credential.value])) };
|
|
3596
|
-
return (await import('./check-
|
|
3604
|
+
return (await import('./check-LYPMBZU5.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
|
|
3597
3605
|
},
|
|
3598
3606
|
now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
|
|
3599
3607
|
log
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { helperSocketPath } from './chunk-
|
|
4
|
-
import { UNIT_MARKER } from './chunk-
|
|
5
|
-
import { runnerDir } from './chunk-
|
|
3
|
+
import { helperSocketPath } from './chunk-U3YQTCAX.js';
|
|
4
|
+
import { UNIT_MARKER } from './chunk-XLZOJPOD.js';
|
|
5
|
+
import { runnerDir } from './chunk-HZ7BKQH4.js';
|
|
6
6
|
import { createHash } from 'crypto';
|
|
7
7
|
import { join } from 'path';
|
|
8
8
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { criteriaOf, loadCitationFinder, testFileMatcher, hostItemsOf, runnerMatcher, NO_VERDICT_REASON } from './chunk-BNYBHWYH.js';
|
|
4
|
-
import { WorkCommandError, resolveCredentials, getJson } from './chunk-
|
|
4
|
+
import { WorkCommandError, resolveCredentials, getJson } from './chunk-BG3X4UPN.js';
|
|
5
5
|
import { sanitizeTerminal } from './chunk-VVZIFOAN.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { defaultFetch } from './chunk-
|
|
7
|
+
import { defaultFetch } from './chunk-VRJKRJLT.js';
|
|
8
8
|
import { parseWorkItemEnv } from './chunk-4OD45RBP.js';
|
|
9
9
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
10
10
|
import { readDeliveryRecord } from './chunk-YQR6E6OV.js';
|
|
@@ -129,14 +129,14 @@ function governingDir(cwd) {
|
|
|
129
129
|
async function testProofMode(cwd) {
|
|
130
130
|
const dir = governingDir(cwd);
|
|
131
131
|
if (dir === void 0) return "any";
|
|
132
|
-
const { testProofIn } = await import('./host-checks-
|
|
132
|
+
const { testProofIn } = await import('./host-checks-NZEMJCEM.js');
|
|
133
133
|
return testProofIn(dir);
|
|
134
134
|
}
|
|
135
135
|
async function judgeCheckName(cwd) {
|
|
136
136
|
const dir = governingDir(cwd);
|
|
137
137
|
if (dir === void 0) return {};
|
|
138
138
|
if (!existsSync(dir)) return { note: `the governed context at ${dir} is not readable` };
|
|
139
|
-
const { checksIn, isJudgeCheck } = await import('./host-checks-
|
|
139
|
+
const { checksIn, isJudgeCheck } = await import('./host-checks-NZEMJCEM.js');
|
|
140
140
|
const quiet = { line: () => void 0, error: () => void 0 };
|
|
141
141
|
const check = checksIn(dir, quiet, "").checks.find((c) => isJudgeCheck(c) && c.judge.subjects === "criteria");
|
|
142
142
|
return check === void 0 ? {} : { name: check.name };
|
|
@@ -368,7 +368,7 @@ async function runWorkProofs(opts) {
|
|
|
368
368
|
async function runWorkProofsCommand(opts) {
|
|
369
369
|
try {
|
|
370
370
|
if (opts.record) {
|
|
371
|
-
const { runWorkProofsRecord } = await import('./work-proofs-record-
|
|
371
|
+
const { runWorkProofsRecord } = await import('./work-proofs-record-SYYCUSBA.js');
|
|
372
372
|
const result2 = await runWorkProofsRecord(opts);
|
|
373
373
|
process.exitCode = result2.exitCode;
|
|
374
374
|
return;
|
|
@@ -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-BG3X4UPN.js';
|
|
4
4
|
import { detectActiveSession } from './chunk-6MWBZHBW.js';
|
|
5
5
|
import { sanitizeTerminal } from './chunk-VVZIFOAN.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { defaultFetch } from './chunk-
|
|
8
|
-
import { logHookError } from './chunk-
|
|
7
|
+
import { defaultFetch } from './chunk-VRJKRJLT.js';
|
|
8
|
+
import { logHookError } from './chunk-UXR7PP74.js';
|
|
9
9
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
10
10
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
11
11
|
import { resolveRepoIdentity } from './chunk-ZQNYV4OZ.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { PROXY_WARNING_FLAG } from './chunk-
|
|
3
|
+
import { PROXY_WARNING_FLAG } from './chunk-M2YIRI4M.js';
|
|
4
4
|
import { RELAY_ID, RELAY_USER } from './chunk-FV52S3JR.js';
|
|
5
5
|
import { jobAgent, GH_VERSION, VOICE_PACK_FILES, VOICE_PACK_VERSION, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, TINI_SHA256, TINI_VERSION, HEADLESS_SHELL_REVISION, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG_BASE_URL, PLAYWRIGHT_FFMPEG_REVISION, HEADLESS_SHELL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_VERSION } from './chunk-P4YTEF6T.js';
|
|
6
6
|
import { defaultAgents } from './chunk-UZNSGMUZ.js';
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-WGC7UFRM.js';
|
|
4
4
|
import { detectActiveSession } from './chunk-6MWBZHBW.js';
|
|
5
|
-
import { autoConnect } from './chunk-
|
|
5
|
+
import { autoConnect } from './chunk-T3E7R6RM.js';
|
|
6
6
|
import { acquireSpoolLockAt } from './chunk-VVZIFOAN.js';
|
|
7
7
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
8
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
8
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-VRJKRJLT.js';
|
|
9
9
|
import { launchedItemForSession } from './chunk-4OD45RBP.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
11
11
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|