@outerlayer/cli 0.39.0 → 0.39.1-next.20261114021100
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{agent-setup-KC57OFPM.js → agent-setup-KYIQBYDP.js} +7 -7
- package/dist/{agent-subcommand-P5SXLE3P.js → agent-subcommand-HXVMNMZZ.js} +1 -1
- package/dist/{bridge-SJ74XDZP.js → bridge-5GUFPTZD.js} +2 -2
- package/dist/{build-TKD6VQ4G.js → build-AJ2FBKNY.js} +7 -7
- package/dist/{build-disk-XFPCSFVL.js → build-disk-XHE2TZ2M.js} +5 -5
- package/dist/build-info.json +1 -1
- package/dist/{builder-VWPX4FG3.js → builder-6VJYHW2L.js} +4 -4
- package/dist/{caller-I7K3TL4A.js → caller-AMYW4GBV.js} +7 -7
- package/dist/{check-V2MA3VKK.js → check-HAXCODAJ.js} +37 -37
- package/dist/{chunk-WASMQJFL.js → chunk-3SQM7IV7.js} +3 -3
- package/dist/{chunk-ZETBXFEA.js → chunk-3TDS4OUB.js} +1 -1
- package/dist/{chunk-PQ2JUD5D.js → chunk-4HKR27ND.js} +3 -3
- package/dist/{chunk-H7T2IJXM.js → chunk-545JF74J.js} +9 -9
- package/dist/{chunk-PZITUESA.js → chunk-5IONLWL3.js} +1 -1
- package/dist/{chunk-XG2QFPPQ.js → chunk-5OBR5QTK.js} +1 -1
- package/dist/{chunk-JLIR26R4.js → chunk-665GCHXE.js} +2 -2
- package/dist/{chunk-PPNIKWBT.js → chunk-6DS3O66K.js} +3 -3
- package/dist/{chunk-LZCYMGSA.js → chunk-6K7LGQQ2.js} +2 -2
- package/dist/{chunk-5SQI5K2Y.js → chunk-7DOBQZEQ.js} +1 -1
- package/dist/{chunk-6PIZF2BS.js → chunk-A3PZSB4V.js} +5 -5
- package/dist/{chunk-NAN54JQN.js → chunk-ANR2TJTR.js} +1 -1
- package/dist/{chunk-UETULTNN.js → chunk-CIRTX52G.js} +1 -1
- package/dist/{chunk-HLBZS2HU.js → chunk-CPBS6UXI.js} +5 -5
- package/dist/{chunk-JBWU55Q6.js → chunk-CZIX52ZD.js} +19 -19
- package/dist/{chunk-LL35DTES.js → chunk-DIK6S4JP.js} +3 -3
- package/dist/{chunk-BOGLVGYB.js → chunk-E6PHUS7E.js} +3 -3
- package/dist/{chunk-S572SDVO.js → chunk-EFGCYUT7.js} +2 -2
- package/dist/{chunk-DMW67NYW.js → chunk-EPZW5SNT.js} +5 -5
- package/dist/{chunk-HAS7Z5X7.js → chunk-F5KJEHQZ.js} +1 -1
- package/dist/{chunk-ADILNP5T.js → chunk-FFQK6HV7.js} +7 -7
- package/dist/{chunk-LIHYCAXQ.js → chunk-GZYTJS44.js} +3 -3
- package/dist/{chunk-4FA5VSES.js → chunk-H36JABGI.js} +3 -3
- package/dist/{chunk-PWR4JST6.js → chunk-HAIRGRQ7.js} +2 -2
- package/dist/{chunk-YGJHFHRV.js → chunk-HHD2ACSE.js} +5 -5
- package/dist/{chunk-GOMVXG4D.js → chunk-ID26SYRA.js} +5 -5
- package/dist/{chunk-QWFZIRCY.js → chunk-IZTXH5ZH.js} +2 -2
- package/dist/{chunk-ABPJ4DTO.js → chunk-JPVK3EZ4.js} +1 -1
- package/dist/{chunk-NRHOMVGM.js → chunk-KAHM53WJ.js} +2 -2
- package/dist/{chunk-N4LFUGSE.js → chunk-KVCYB6TG.js} +7 -7
- package/dist/{chunk-2OAQK7A2.js → chunk-KWR72UJ2.js} +1 -1
- package/dist/{chunk-NEOEON2T.js → chunk-KYQMP53T.js} +1 -1
- package/dist/{chunk-3EJGM5IH.js → chunk-LS2OOIEJ.js} +1 -1
- package/dist/{chunk-BILJTMNX.js → chunk-NC7QARDO.js} +1 -1
- package/dist/{chunk-UQB5K7Y2.js → chunk-OV2KGWTA.js} +3 -3
- package/dist/{chunk-2I6SZBRS.js → chunk-P7YUPG7W.js} +3 -3
- package/dist/{chunk-WAPGOMUN.js → chunk-QJIRCYAI.js} +2 -2
- package/dist/{chunk-ADPSFSEF.js → chunk-RWYVSNLD.js} +48 -29
- package/dist/{chunk-AHNHV6XY.js → chunk-SHV7VKPN.js} +1 -1
- package/dist/{chunk-WVTIKTAV.js → chunk-TB7NJH27.js} +2 -2
- package/dist/{chunk-HZPWVFJX.js → chunk-UN4LJ7IJ.js} +2 -2
- package/dist/{chunk-WXJNUKRS.js → chunk-UUPXJP2E.js} +1 -1
- package/dist/{chunk-PTHYDTWN.js → chunk-VWDALYGN.js} +2 -2
- package/dist/{chunk-VPNDUGQ3.js → chunk-W54GD6MO.js} +1 -1
- package/dist/{chunk-LSWS52DO.js → chunk-WGGUOPM4.js} +1 -1
- package/dist/{chunk-J3C3SUQQ.js → chunk-XEAVCYZD.js} +3 -3
- package/dist/{chunk-N6XYRWPO.js → chunk-XZ2ZBYP6.js} +1 -1
- package/dist/{chunk-EVYTRDSY.js → chunk-Y4A7CJOK.js} +1 -1
- package/dist/{chunk-UKM7MOUE.js → chunk-Y7MCKLAQ.js} +2 -1
- package/dist/{chunk-WQJZNX4V.js → chunk-ZACT45QD.js} +2 -2
- package/dist/{claude-launcher-LOLGX6JK.js → claude-launcher-7MHGPOT4.js} +1 -1
- package/dist/{cli-646S73R5.js → cli-OGLVGLMS.js} +131 -131
- package/dist/{command-WGGSAULP.js → command-BZGBS6GR.js} +32 -32
- package/dist/{config-FPJHEZOM.js → config-LEIZOHEQ.js} +6 -6
- package/dist/{connect-cmd-FEBJJIT3.js → connect-cmd-JYBNVPLZ.js} +5 -5
- package/dist/{container-start-P3L7WBPM.js → container-start-GBHOTHWI.js} +30 -30
- package/dist/{context-show-cmd-HVOFRVOS.js → context-show-cmd-UZMABB6S.js} +6 -6
- package/dist/{control-plane-launch-7U45HQKQ.js → control-plane-launch-65Z75XW7.js} +5 -5
- package/dist/{demo-record-cmd-FAVHKWYO.js → demo-record-cmd-K32VPNFW.js} +2 -2
- package/dist/{demo-voice-cmd-HDG3Q6JC.js → demo-voice-cmd-X3GOBOCX.js} +11 -11
- package/dist/{docker-XFWIYOF2.js → docker-4JDUPFNV.js} +4 -4
- package/dist/{doctor-2SRV3F2N.js → doctor-DPERYSSE.js} +32 -32
- package/dist/{emit-artifact-cmd-SQM6EY77.js → emit-artifact-cmd-7MQHRFCG.js} +10 -10
- package/dist/{emit-criteria-cmd-SRM5ADHX.js → emit-criteria-cmd-CCU7GIEK.js} +7 -7
- package/dist/{emit-demo-cmd-D2S5YJ5K.js → emit-demo-cmd-IGMQM4Z7.js} +11 -11
- package/dist/{emit-finding-cmd-BPS32UA7.js → emit-finding-cmd-X2OAAYQS.js} +7 -7
- package/dist/{emit-result-cmd-MVWAXXXU.js → emit-result-cmd-BJMSVTCS.js} +9 -9
- package/dist/{emit-step-cmd-GQMNGPHQ.js → emit-step-cmd-7MKXTAPH.js} +7 -7
- package/dist/{exec-client-I4Q2T5Y7.js → exec-client-FEQENEUW.js} +3 -3
- package/dist/{find-unit-KTQTJZN6.js → find-unit-6J43BBFF.js} +8 -8
- package/dist/{findings-cmd-WRHRE7JR.js → findings-cmd-K4XMQOZ3.js} +7 -7
- package/dist/{fleet-readiness-5GAHUJYZ.js → fleet-readiness-BQE77U76.js} +5 -5
- package/dist/{governing-source-KGK6GNSB.js → governing-source-E2HSACI2.js} +9 -9
- package/dist/{guest-init-LIXDKJWH.js → guest-init-KMD7S5HD.js} +4 -4
- package/dist/{hook-fast-G2YCUNJB.js → hook-fast-QN2SY24M.js} +1 -1
- package/dist/{host-checks-TPBQW53K.js → host-checks-2FC6TSRG.js} +28 -28
- package/dist/{pending-D7WFCVFL.js → host-key-UDPLWDPC.js} +3 -3
- package/dist/{image-tag-GAMFHEYH.js → image-tag-YEKFPWEQ.js} +3 -3
- package/dist/index.js +4 -4
- package/dist/{init-LUAVN635.js → init-3ITKSYCH.js} +28 -28
- package/dist/{init-JYBGFLLF.js → init-6S432XRB.js} +28 -28
- package/dist/{init-agent-IDAR7DDW.js → init-agent-L56BR6ST.js} +28 -28
- package/dist/{init-cmd-AB4POAMA.js → init-cmd-DWW2QRNB.js} +10 -10
- package/dist/{init-update-YBF4NNRR.js → init-update-ES657RFT.js} +8 -8
- package/dist/{install-cmd-S5PWJKFL.js → install-cmd-3DH6YIDJ.js} +5 -5
- package/dist/{logs-UCDVGCFD.js → logs-AQGSSKF5.js} +2 -2
- package/dist/{loop-OG67F4BN.js → loop-LGBFEKRI.js} +36 -36
- package/dist/{machine-UZHQXVYS.js → machine-2ZEQI4UT.js} +28 -28
- package/dist/{mcp-serve-cmd-RKAYWYFP.js → mcp-serve-cmd-IOIV6CMG.js} +4 -4
- package/dist/{paths-IPPAYE75.js → paths-KMGPIRVG.js} +2 -2
- package/dist/{host-key-KYHQOUFQ.js → pending-37RC5PVR.js} +3 -3
- package/dist/{pidfile-RWWQGTTW.js → pidfile-SLFI7T4A.js} +3 -3
- package/dist/{record-TK4NB4HS.js → record-XQU6LBZK.js} +3 -3
- package/dist/{run-cmd-ZQJP3W64.js → run-cmd-K4JUMOIO.js} +7 -7
- package/dist/{runner-env-HHIGHPUZ.js → runner-env-Y346HR2C.js} +8 -8
- package/dist/{runner-identity-W64BQDTH.js → runner-identity-CKHIN2L2.js} +4 -4
- package/dist/{runner-key-ALHZT6NB.js → runner-key-CC2I5FAY.js} +28 -28
- package/dist/{session-sender-2EZ7FSED.js → session-sender-KLA3F4GE.js} +10 -10
- package/dist/{spec-cmd-RUNKCRTR.js → spec-cmd-SIIW5RRH.js} +8 -8
- package/dist/{state-G7MOWZBS.js → state-RNPWUKWR.js} +3 -3
- package/dist/{status-Y7EKQUBR.js → status-ZTRVBMPG.js} +28 -28
- package/dist/{sync-cmd-36EZ2T32.js → sync-cmd-MISWWB2B.js} +9 -9
- package/dist/{update-steps-DJDMCKMQ.js → update-steps-GNV6BCGG.js} +29 -29
- package/dist/{watch-KIGZEMWE.js → watch-3I5RMI52.js} +9 -9
- package/dist/{work-claim-cmd-B4DBKWYX.js → work-claim-cmd-2B5LEL7Y.js} +12 -12
- package/dist/{work-cmd-SYKHHGPX.js → work-cmd-WWUFBOUX.js} +7 -7
- package/dist/{work-comment-cmd-JWBY4DNM.js → work-comment-cmd-T6GFDZCU.js} +9 -9
- package/dist/{work-demo-cmd-2ER4R5KB.js → work-demo-cmd-NWOVWOJB.js} +7 -7
- package/dist/{work-logs-cmd-ADZZLFGR.js → work-logs-cmd-35U5LCT3.js} +7 -7
- package/dist/{work-mock-cmd-JJ4AAAAG.js → work-mock-cmd-FBHOKNGD.js} +7 -7
- package/dist/{work-needs-attention-cmd-GCKSIXXC.js → work-needs-attention-cmd-B5W4UQGR.js} +7 -7
- package/dist/{work-no-change-cmd-2AWAZSAN.js → work-no-change-cmd-X6HJ3KL3.js} +7 -7
- package/dist/{work-open-pr-cmd-FVA3ES7K.js → work-open-pr-cmd-IXMYVIAN.js} +8 -8
- package/dist/{work-pr-cmd-DR2W23C3.js → work-pr-cmd-NBR4EYV3.js} +7 -7
- package/dist/{work-proofs-cmd-V35OO3NM.js → work-proofs-cmd-EMFR75F4.js} +8 -8
- package/dist/{work-proofs-record-D7HUOGAE.js → work-proofs-record-46IGFLET.js} +14 -14
- package/dist/{work-stop-cmd-V6BXCJ6G.js → work-stop-cmd-KJGFNP3Z.js} +7 -7
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer-amend/SKILL.md +5 -6
- package/skill-pack/maintained/outerlayer-amend/references/earlier-run.md +6 -0
- package/skill-pack/maintained/outerlayer-build/SKILL.md +6 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { toolsDockerfile } from './chunk-
|
|
4
|
-
import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-
|
|
3
|
+
import { toolsDockerfile } from './chunk-SHV7VKPN.js';
|
|
4
|
+
import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-LS2OOIEJ.js';
|
|
5
5
|
import { startTimeOf } from './chunk-JBJTC3UU.js';
|
|
6
6
|
import { withNewTokenRetry, REFUSED_BY_REMOTE } from './chunk-FJGYU2EK.js';
|
|
7
|
-
import { runnerLabelValue } from './chunk-
|
|
7
|
+
import { runnerLabelValue } from './chunk-H36JABGI.js';
|
|
8
8
|
import { RecipeError, locateRecipe, readRecipe, assertBuildable, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-LOAWSJCG.js';
|
|
9
9
|
import { removeLeftoverGitLocks } from './chunk-A2WPWZJA.js';
|
|
10
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-
|
|
11
|
-
import { withGitConfig, tokenHeader } from './chunk-
|
|
10
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-3TDS4OUB.js';
|
|
11
|
+
import { withGitConfig, tokenHeader } from './chunk-Y7MCKLAQ.js';
|
|
12
12
|
import { UNIVERSAL_IMAGE_DIGEST, UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_SOURCE, buildAgentPin, NODE_IMAGE, UNIVERSAL_IMAGE, MEDIA_PINS, TINI_VERSION, GH_VERSION, imageAgentPins } from './chunk-WVEZO2QF.js';
|
|
13
13
|
import { mkdirSync, writeFileSync, existsSync, mkdtempSync, rmSync, cpSync, readFileSync, readdirSync, lstatSync, readlinkSync } from 'fs';
|
|
14
14
|
import { tmpdir } from 'os';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { scrubReason, stripTerminalControls } from './chunk-
|
|
4
|
-
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-
|
|
5
|
-
import { RunnerAlreadyRunningError, readPidFile } from './chunk-
|
|
3
|
+
import { scrubReason, stripTerminalControls } from './chunk-CZIX52ZD.js';
|
|
4
|
+
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-GZYTJS44.js';
|
|
5
|
+
import { RunnerAlreadyRunningError, readPidFile } from './chunk-LS2OOIEJ.js';
|
|
6
6
|
import { isSameProcess } from './chunk-JBJTC3UU.js';
|
|
7
|
-
import { isSignatureRefusal, postJson } from './chunk-
|
|
8
|
-
import { keyRunnerFactory } from './chunk-
|
|
9
|
-
import { signerFor } from './chunk-
|
|
10
|
-
import { pidFilePath } from './chunk-
|
|
7
|
+
import { isSignatureRefusal, postJson } from './chunk-ID26SYRA.js';
|
|
8
|
+
import { keyRunnerFactory } from './chunk-P7YUPG7W.js';
|
|
9
|
+
import { signerFor } from './chunk-7DOBQZEQ.js';
|
|
10
|
+
import { pidFilePath } from './chunk-3TDS4OUB.js';
|
|
11
11
|
import { readFileSync } from 'fs';
|
|
12
12
|
|
|
13
13
|
createRequire(import.meta.url);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { builtinKind, keepsHostBuilder } from './chunk-
|
|
4
|
-
import { parseSize } from './chunk-
|
|
5
|
-
import { runnerDir } from './chunk-
|
|
3
|
+
import { builtinKind, keepsHostBuilder } from './chunk-P7YUPG7W.js';
|
|
4
|
+
import { parseSize } from './chunk-H36JABGI.js';
|
|
5
|
+
import { runnerDir } from './chunk-3TDS4OUB.js';
|
|
6
6
|
import { FD_SLOTS_PER_BUILD, FD_STORE_ENV, BUILD_SLICE_MEMORY_ENV, credentialLineIn, withoutCredentialLines } from './chunk-6XUFQCIH.js';
|
|
7
7
|
import { credentialAgent, credentialNames, credentialForms } from './chunk-WVEZO2QF.js';
|
|
8
8
|
import { defaultAgents } from './chunk-QJPR3ZHI.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-LOAWSJCG.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-7DOBQZEQ.js';
|
|
5
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir } from './chunk-3TDS4OUB.js';
|
|
6
|
+
import { BUILD_HOME, JOB_MOUNT, RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-Y7MCKLAQ.js';
|
|
7
7
|
import { primaryDestination, JOIN_DIR, RELAY_ID, JOIN_SOCKET, GATEWAY_PORT, TARGET_GATEWAY, GATEWAY_SOCKET, destinationTarget, providerDestinations, RELAY_USER } from './chunk-6XUFQCIH.js';
|
|
8
8
|
import { judgeAgent, universalImagePinned, UNIVERSAL_IMAGE, BUILDKIT_IMAGE } from './chunk-WVEZO2QF.js';
|
|
9
9
|
import { defaultAgents } from './chunk-QJPR3ZHI.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { LiveUploader } from './chunk-
|
|
4
|
-
import { spoolDir } from './chunk-
|
|
3
|
+
import { LiveUploader } from './chunk-CPBS6UXI.js';
|
|
4
|
+
import { spoolDir } from './chunk-5IONLWL3.js';
|
|
5
5
|
import { parseRunEnv, parseWorkItemEnv } from './chunk-LGJ56FCM.js';
|
|
6
6
|
import { sessionFolderIn, legacyAgent } from './chunk-QJPR3ZHI.js';
|
|
7
7
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { newTokenRetry } from './chunk-FJGYU2EK.js';
|
|
4
|
-
import { WorkCommandError, postJson } from './chunk-
|
|
5
|
-
import { defaultGitRunner, materializeContext, fetchControlPlaneCommit, lookupGoverningSource } from './chunk-
|
|
4
|
+
import { WorkCommandError, postJson } from './chunk-ID26SYRA.js';
|
|
5
|
+
import { defaultGitRunner, materializeContext, fetchControlPlaneCommit, lookupGoverningSource } from './chunk-6K7LGQQ2.js';
|
|
6
6
|
import { buildRefusalReason } from './chunk-5JV7GPX4.js';
|
|
7
7
|
import { unsupportedLayout, layoutRefusalReason, composeDelivery } from './chunk-QCLROM67.js';
|
|
8
|
-
import { signingFetchFor } from './chunk-
|
|
9
|
-
import { signerFor } from './chunk-
|
|
10
|
-
import { SHIM_DIR, stagedContextDir, contextHomeDir, deliveryDir, keptContextDir } from './chunk-
|
|
8
|
+
import { signingFetchFor } from './chunk-W54GD6MO.js';
|
|
9
|
+
import { signerFor } from './chunk-7DOBQZEQ.js';
|
|
10
|
+
import { SHIM_DIR, stagedContextDir, contextHomeDir, deliveryDir, keptContextDir } from './chunk-3TDS4OUB.js';
|
|
11
11
|
import { SHIM_SCRIPT, shimScriptFor, GOVERNANCE_VARIABLE } from './chunk-SF2TBJBP.js';
|
|
12
12
|
import { readDegraded, readContextManifest, readSourceCache } from './chunk-YQR6E6OV.js';
|
|
13
13
|
import { fstatSync, mkdirSync, writeFileSync, chmodSync, rmSync, cpSync, readFileSync, existsSync, lstatSync } from 'fs';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { detectActiveSession } from './chunk-4M7N6DKZ.js';
|
|
4
|
-
import { autoConnect } from './chunk-
|
|
5
|
-
import { workPageUrl } from './chunk-
|
|
4
|
+
import { autoConnect } from './chunk-UN4LJ7IJ.js';
|
|
5
|
+
import { workPageUrl } from './chunk-ANR2TJTR.js';
|
|
6
6
|
import { sanitizeTerminal } from './chunk-TDTWNGCO.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-W54GD6MO.js';
|
|
9
|
+
import { signRunnerRequest } from './chunk-7DOBQZEQ.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-7PZDPISM.js';
|
|
@@ -563,7 +563,7 @@ async function runWorkLinkSession(opts) {
|
|
|
563
563
|
return await linkSession(opts);
|
|
564
564
|
} catch (err) {
|
|
565
565
|
if (opts.logFailures) {
|
|
566
|
-
const { logHookError } = await import('./hook-fast-
|
|
566
|
+
const { logHookError } = await import('./hook-fast-QN2SY24M.js');
|
|
567
567
|
const reason = err instanceof Error ? err.message : String(err);
|
|
568
568
|
logHookError(opts.home ?? homeFromEnv(opts.env ?? process.env), new Error(`work link-session #${opts.number} failed: ${reason}`));
|
|
569
569
|
}
|
|
@@ -3,10 +3,10 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { runEmit } from './chunk-VY6ZI6D4.js';
|
|
4
4
|
import { addStdioMcpEntryIfAbsent, addDocsMcpEntryIfAbsent, DOCS_MCP_SERVER_NAME } from './chunk-JBNHEMOD.js';
|
|
5
5
|
import { installStarterPack } from './chunk-PUWASVZT.js';
|
|
6
|
-
import { listWithAnd } from './chunk-
|
|
6
|
+
import { listWithAnd } from './chunk-ANR2TJTR.js';
|
|
7
7
|
import { AGENTS_MD_LAYOUT, mcpFiles, declareAgentsMdLayout, linkAgentSkills, describeSkillsLink, isAgentsMdLayout, holdsTodaysLayoutSources, discoverOuterlayerPaths } from './chunk-YXT3MVNP.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { resolveGitCommonDir, defaultGitRunner } from './chunk-
|
|
9
|
+
import { resolveGitCommonDir, defaultGitRunner } from './chunk-6K7LGQQ2.js';
|
|
10
10
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
11
11
|
import { linkedAgentsPath } from './chunk-F4W3VWMT.js';
|
|
12
12
|
import { cloneIsGoverned } from './chunk-YQR6E6OV.js';
|
|
@@ -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-3TDS4OUB.js';
|
|
5
5
|
import { readFileSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
6
6
|
import { join } from 'path';
|
|
7
7
|
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-C2PZOLN7.js';
|
|
4
4
|
import { detectActiveSession, transcriptPathForSession } from './chunk-4M7N6DKZ.js';
|
|
5
|
-
import { autoConnect } from './chunk-
|
|
5
|
+
import { autoConnect } from './chunk-UN4LJ7IJ.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
7
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-W54GD6MO.js';
|
|
8
8
|
import { readLatestProvenanceForSession } from './chunk-545P7JY7.js';
|
|
9
9
|
import { launchedItemForSession } from './chunk-LGJ56FCM.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { placeholderQueues, placeholderProblem } from './chunk-
|
|
4
|
-
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-
|
|
5
|
-
import { getJson, WorkCommandError } from './chunk-
|
|
6
|
-
import { isBuiltinVm, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-
|
|
7
|
-
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-
|
|
8
|
-
import { ensureHostKey } from './chunk-
|
|
9
|
-
import { sandboxSettingsFrom } from './chunk-
|
|
3
|
+
import { placeholderQueues, placeholderProblem } from './chunk-CZIX52ZD.js';
|
|
4
|
+
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-GZYTJS44.js';
|
|
5
|
+
import { getJson, WorkCommandError } from './chunk-ID26SYRA.js';
|
|
6
|
+
import { isBuiltinVm, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-P7YUPG7W.js';
|
|
7
|
+
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-EFGCYUT7.js';
|
|
8
|
+
import { ensureHostKey } from './chunk-7DOBQZEQ.js';
|
|
9
|
+
import { sandboxSettingsFrom } from './chunk-Y7MCKLAQ.js';
|
|
10
10
|
import { BUILD_SLICE_MEMORY_ENV, agentCredentialVariablesSet, agentCredential, parseRunnerEnv } from './chunk-6XUFQCIH.js';
|
|
11
11
|
import { forwardedVariables, credentialAgent, credentialForms, managedKeyName, builderDiskPinned, storeVariables, credentialEnvPath } from './chunk-WVEZO2QF.js';
|
|
12
12
|
import { defaultAgents } from './chunk-QJPR3ZHI.js';
|
|
@@ -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, runnerDir } from './chunk-
|
|
3
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir } from './chunk-3TDS4OUB.js';
|
|
4
4
|
import { mkdirSync, writeFileSync, renameSync, existsSync, readFileSync } from 'fs';
|
|
5
5
|
import { dirname, join } from 'path';
|
|
6
6
|
|
|
@@ -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-3TDS4OUB.js';
|
|
4
4
|
import { readFileSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
5
5
|
import { join } from 'path';
|
|
6
6
|
|
|
@@ -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-3TDS4OUB.js';
|
|
5
5
|
import { existsSync, readFileSync, mkdirSync, writeFileSync, rmSync } from 'fs';
|
|
6
6
|
import { dirname } from 'path';
|
|
7
7
|
|
|
@@ -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-Y7MCKLAQ.js';
|
|
4
4
|
import { createServer, connect } from 'net';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { stripTerminalControls } from './chunk-
|
|
4
|
-
import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-
|
|
3
|
+
import { stripTerminalControls } from './chunk-CZIX52ZD.js';
|
|
4
|
+
import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-JPVK3EZ4.js';
|
|
5
5
|
import { readFileSync } from 'fs';
|
|
6
6
|
|
|
7
7
|
createRequire(import.meta.url);
|
|
@@ -55,7 +55,7 @@ function envNamesOf(row, imageEnv) {
|
|
|
55
55
|
return [...new Set(names)].sort();
|
|
56
56
|
}
|
|
57
57
|
async function readOwnContainer(deps = {}) {
|
|
58
|
-
const run = deps.run ?? (await import('./docker-
|
|
58
|
+
const run = deps.run ?? (await import('./docker-4JDUPFNV.js')).spawnRun;
|
|
59
59
|
const ids = candidateIds(deps.env ?? process.env, deps.readFile ?? ((path) => readFileSync(path, "utf8")));
|
|
60
60
|
if (ids.length === 0) return { ok: false, reason: "the runner cannot tell which container it runs in: HOSTNAME is empty and /proc/self/mountinfo names none" };
|
|
61
61
|
let problem = "";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-
|
|
4
|
-
import { parseSize } from './chunk-
|
|
5
|
-
import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-
|
|
3
|
+
import { DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-EFGCYUT7.js';
|
|
4
|
+
import { parseSize } from './chunk-H36JABGI.js';
|
|
5
|
+
import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-Y7MCKLAQ.js';
|
|
6
6
|
import { builderDiskPinned } from './chunk-WVEZO2QF.js';
|
|
7
7
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
8
8
|
import { existsSync, statSync, accessSync, constants, readFileSync } from 'fs';
|
|
@@ -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-GZYTJS44.js';
|
|
4
|
+
import { RUNNER_FILE_MODE } from './chunk-3TDS4OUB.js';
|
|
5
5
|
import { parseRunnerEnv, withoutCredentialLines } from './chunk-6XUFQCIH.js';
|
|
6
6
|
import { headlessNames, runnerAgentNamed, credentialAgent, orList, credentialShapes, runnerAgents, credentialForms, credentialEnvPath, forwardedVariables } from './chunk-WVEZO2QF.js';
|
|
7
7
|
import { defaultAgents } from './chunk-QJPR3ZHI.js';
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { decideInstalledSwitch } from './chunk-3JVYMD4G.js';
|
|
4
|
-
import { reportFailedStart, fitImageBuildMemory } from './chunk-
|
|
4
|
+
import { reportFailedStart, fitImageBuildMemory } from './chunk-FFQK6HV7.js';
|
|
5
5
|
import { fetchVersionMeta, npmVersion, npmSupportsProvenance, fetchTarballDigest, fetchProvenance, installVersion, auditSignatures } from './chunk-E7R2GIAW.js';
|
|
6
|
-
import { writeFleetState } from './chunk-
|
|
7
|
-
import { writePendingUpdate } from './chunk-
|
|
8
|
-
import { renderUpdateSteps } from './chunk-
|
|
9
|
-
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-
|
|
10
|
-
import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-
|
|
11
|
-
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-
|
|
12
|
-
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, itemTag, releaseLease, runDecision, claimRun, LEASE_SECONDS, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, restoreSessionIntoSandbox, restoreWork, keptSessionDir, workRestoredEnv, sessionGuestOfMicroVm, sessionGuestOfContainer, sessionGuestOfSandbox, recordsProofsOnly, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, deliverContainerHooks, provisionSandbox, deliverSandboxHooks, provisionMicroVm, deliverCommitHooks, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, keptCommitsLine, currentSkillCommand, formerSkillProblem, commandLogOffset, startSandboxCommand, MICROVM_COMMAND_DIR, startMicroVmCommand, microVmCommandLine, runCommand, containerCommandExec, execCommandLine, startSender, startHostServices, finishJob, sampleGuest, foldSample, isSandboxTracked, isContainerTracked, isMicroVmTracked, probeSandboxCommand, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, SandboxGoneError, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isIsolatedJob, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, unfinishedJobs, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, vmAlive, filesAreCopied, inSandbox, listItemDisks, usableCpus, hookLimitsFor, runCommandOf, AttemptLogBook, environmentFor, builtOf, judgeCredential, readWorkItem, makeRecorder, microVmOomKills, needsRenew, renewRun, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, sweepSandboxes, keptSandboxIds, parseCpuList, ensureTunnel, keepGhConfigCurrent, restartSender, rejoinSandboxBuild, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, shellQuote, jobRecordsClaim, freeItemDisksUntil, savedStatesDir, readRecords, removeOldestUntil, treeFileText, timeoutAfter, scrubReason, ensureNetworkReady, ADOPTED_FETCH_RETRY_WINDOW_MS, managedBuildSettingsFor, gitRemoteFor, startServicesFor, installTrust, createLeaseChannel, serveLease, writeGuestGhConfig, deliverJobFiles, inTeardown } from './chunk-
|
|
6
|
+
import { writeFleetState } from './chunk-KWR72UJ2.js';
|
|
7
|
+
import { writePendingUpdate } from './chunk-UUPXJP2E.js';
|
|
8
|
+
import { renderUpdateSteps } from './chunk-OV2KGWTA.js';
|
|
9
|
+
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-KYQMP53T.js';
|
|
10
|
+
import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-KVCYB6TG.js';
|
|
11
|
+
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-WGGUOPM4.js';
|
|
12
|
+
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, itemTag, releaseLease, runDecision, claimRun, LEASE_SECONDS, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, restoreSessionIntoSandbox, restoreWork, keptSessionDir, workRestoredEnv, sessionGuestOfMicroVm, sessionGuestOfContainer, sessionGuestOfSandbox, recordsProofsOnly, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, deliverContainerHooks, provisionSandbox, deliverSandboxHooks, provisionMicroVm, deliverCommitHooks, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, keptCommitsLine, currentSkillCommand, formerSkillProblem, commandLogOffset, startSandboxCommand, MICROVM_COMMAND_DIR, startMicroVmCommand, microVmCommandLine, runCommand, containerCommandExec, execCommandLine, startSender, startHostServices, finishJob, sampleGuest, foldSample, isSandboxTracked, isContainerTracked, isMicroVmTracked, probeSandboxCommand, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, SandboxGoneError, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isIsolatedJob, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, unfinishedJobs, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, vmAlive, filesAreCopied, inSandbox, listItemDisks, usableCpus, hookLimitsFor, runCommandOf, AttemptLogBook, environmentFor, builtOf, judgeCredential, readWorkItem, makeRecorder, microVmOomKills, needsRenew, renewRun, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, sweepSandboxes, keptSandboxIds, parseCpuList, ensureTunnel, keepGhConfigCurrent, restartSender, rejoinSandboxBuild, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, shellQuote, jobRecordsClaim, freeItemDisksUntil, savedStatesDir, readRecords, removeOldestUntil, treeFileText, timeoutAfter, scrubReason, ensureNetworkReady, ADOPTED_FETCH_RETRY_WINDOW_MS, managedBuildSettingsFor, gitRemoteFor, startServicesFor, installTrust, createLeaseChannel, serveLease, writeGuestGhConfig, deliverJobFiles, inTeardown } from './chunk-CZIX52ZD.js';
|
|
13
13
|
import { criteriaOf, loadCitationFinder, wholeItems, itemsSentence, oneLineReason, wholeEntries, parseJudgeAnswer } from './chunk-IEPKZPTP.js';
|
|
14
14
|
import { RUNNER_PROTOCOL } from './chunk-UHCPBQ55.js';
|
|
15
|
-
import { RUNNER_RESERVE_BYTES } from './chunk-
|
|
16
|
-
import { RepoFilter } from './chunk-
|
|
15
|
+
import { RUNNER_RESERVE_BYTES } from './chunk-GZYTJS44.js';
|
|
16
|
+
import { RepoFilter } from './chunk-CPBS6UXI.js';
|
|
17
17
|
import { JOB_STATE_FORMAT, readsJobState, jobStateFormatOf } from './chunk-ZVB57WI6.js';
|
|
18
|
-
import { imageTag, writeUpdateStatus, pullInstruction, tagToPull } from './chunk-
|
|
18
|
+
import { imageTag, writeUpdateStatus, pullInstruction, tagToPull } from './chunk-JPVK3EZ4.js';
|
|
19
19
|
import { isVersion, compareVersions, satisfiesRange } from './chunk-TQMI335S.js';
|
|
20
|
-
import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls, itemCalls, configForJob } from './chunk-
|
|
21
|
-
import { fetchCommit, readBranchHead, diffBetween } from './chunk-
|
|
22
|
-
import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-
|
|
20
|
+
import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls, itemCalls, configForJob } from './chunk-TB7NJH27.js';
|
|
21
|
+
import { fetchCommit, readBranchHead, diffBetween } from './chunk-EPZW5SNT.js';
|
|
22
|
+
import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-LS2OOIEJ.js';
|
|
23
23
|
import { startTimeOf, isSameProcess } from './chunk-JBJTC3UU.js';
|
|
24
|
-
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-
|
|
25
|
-
import { WorkCommandError, isSignatureRefusal, getJson, postJson, getBytes } from './chunk-
|
|
26
|
-
import { keyRunnerFactory, isBuiltinSandbox, isBuiltinContainer, isBuiltinVm, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, runnerDeliversComments, DEFAULT_CHECK_TIME_LIMIT_MINUTES, readOnlyRemoteOf, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS, readOnlyOption } from './chunk-
|
|
27
|
-
import { allocatedBytes, freeBytes, formatBytes } from './chunk-
|
|
28
|
-
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, JUDGE_TREE, exceedsDisk, runnerLabelValue, builderName, ensureFailureCount, builderSpec, ensureBuilder, spawnRun, judgeCommand, JUDGE_DIR, JUDGE_MAX_TURNS } from './chunk-
|
|
29
|
-
import { loadHostKey, ensureHostKey, signerFor } from './chunk-
|
|
30
|
-
import { RUNNER_DIR_MODE, runnerDir, RUNNER_FILE_MODE, buildDir, attemptStamp, jobDir, jobsDir, pidFilePath, storeScopes, imagesDir } from './chunk-
|
|
31
|
-
import { parseClaimIdentity, parseBranchlessRepositories, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf, JOB_MOUNT } from './chunk-
|
|
24
|
+
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-HHD2ACSE.js';
|
|
25
|
+
import { WorkCommandError, isSignatureRefusal, getJson, postJson, getBytes } from './chunk-ID26SYRA.js';
|
|
26
|
+
import { keyRunnerFactory, isBuiltinSandbox, isBuiltinContainer, isBuiltinVm, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, runnerDeliversComments, DEFAULT_CHECK_TIME_LIMIT_MINUTES, readOnlyRemoteOf, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS, readOnlyOption } from './chunk-P7YUPG7W.js';
|
|
27
|
+
import { allocatedBytes, freeBytes, formatBytes } from './chunk-EFGCYUT7.js';
|
|
28
|
+
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, JUDGE_TREE, exceedsDisk, runnerLabelValue, builderName, ensureFailureCount, builderSpec, ensureBuilder, spawnRun, judgeCommand, JUDGE_DIR, JUDGE_MAX_TURNS } from './chunk-H36JABGI.js';
|
|
29
|
+
import { loadHostKey, ensureHostKey, signerFor } from './chunk-7DOBQZEQ.js';
|
|
30
|
+
import { RUNNER_DIR_MODE, runnerDir, RUNNER_FILE_MODE, buildDir, attemptStamp, jobDir, jobsDir, pidFilePath, storeScopes, imagesDir } from './chunk-3TDS4OUB.js';
|
|
31
|
+
import { parseClaimIdentity, parseBranchlessRepositories, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf, JOB_MOUNT, WORK_DIR } from './chunk-Y7MCKLAQ.js';
|
|
32
32
|
import { jobCredentialProblem, COMMAND_LOST_REASON, takeAgentCredentials, heldAgentCredential, CONTAINER_STOPPED_REASON, currentAgentCredential, fdName } from './chunk-6XUFQCIH.js';
|
|
33
|
-
import { cleanAttachmentName } from './chunk-
|
|
33
|
+
import { cleanAttachmentName } from './chunk-5IONLWL3.js';
|
|
34
34
|
import { jobAgent, jobCommandEnv, runnerAgents, judgeAgent } from './chunk-WVEZO2QF.js';
|
|
35
35
|
import { defaultAgents, resolvePackRoot } from './chunk-QJPR3ZHI.js';
|
|
36
36
|
import { resolveVersion } from './chunk-RA3O54FC.js';
|
|
@@ -1091,6 +1091,7 @@ async function askItemStates(config, fetchImpl, ids, options = {}) {
|
|
|
1091
1091
|
}
|
|
1092
1092
|
var HOOKS_DIR_NAME = "git-hooks";
|
|
1093
1093
|
var CO_AUTHOR_FILE = "co-author";
|
|
1094
|
+
var WORK_ROOT_FILE = "work-root";
|
|
1094
1095
|
var HOOKS = [
|
|
1095
1096
|
"applypatch-msg",
|
|
1096
1097
|
"pre-applypatch",
|
|
@@ -1129,9 +1130,18 @@ function missingHookNotice(name) {
|
|
|
1129
1130
|
`;
|
|
1130
1131
|
}
|
|
1131
1132
|
var ADD_TRAILER = `
|
|
1132
|
-
# Every commit
|
|
1133
|
+
# Every commit in the build's repositories names the requester once: a trailer already there is left alone.
|
|
1134
|
+
# A repository outside the folder of the build's repositories, such as one a test makes, is not the build's work.
|
|
1133
1135
|
file=\${1-}
|
|
1134
|
-
|
|
1136
|
+
ours=true
|
|
1137
|
+
root=$(cat "$here/${WORK_ROOT_FILE}" 2>/dev/null) || root=
|
|
1138
|
+
if [ -n "$root" ]; then
|
|
1139
|
+
root=$(cd "$root" 2>/dev/null && pwd -P) || root=
|
|
1140
|
+
common=$(git rev-parse --git-common-dir 2>/dev/null) || common=
|
|
1141
|
+
common=$(cd "$common" 2>/dev/null && pwd -P) || common=
|
|
1142
|
+
case "$common/" in "$root"/*) ;; *) ours=false ;; esac
|
|
1143
|
+
fi
|
|
1144
|
+
if $ours && [ -n "$file" ] && [ -f "$file" ]; then
|
|
1135
1145
|
git interpret-trailers --in-place --if-exists addIfDifferent --trailer "Co-authored-by: $(cat "$here/${CO_AUTHOR_FILE}")" "$file" ||
|
|
1136
1146
|
echo "outerlayer: could not add the co-author line to the commit message" >&2
|
|
1137
1147
|
fi
|
|
@@ -1175,7 +1185,7 @@ ${adds ? `[ "$status" -eq 0 ] || exit "$status"
|
|
|
1175
1185
|
${ADD_TRAILER}` : ""}exit 0
|
|
1176
1186
|
`;
|
|
1177
1187
|
}
|
|
1178
|
-
function writeCommitHooks(buildDir2, coAuthor) {
|
|
1188
|
+
function writeCommitHooks(buildDir2, coAuthor, workRoot) {
|
|
1179
1189
|
const dir = join(buildDir2, HOOKS_DIR_NAME);
|
|
1180
1190
|
mkdirSync(dir, { recursive: true });
|
|
1181
1191
|
chmodSync(dir, 493);
|
|
@@ -1188,8 +1198,17 @@ function writeCommitHooks(buildDir2, coAuthor) {
|
|
|
1188
1198
|
writeFileSync(data, `${coAuthor.name} <${coAuthor.email}>
|
|
1189
1199
|
`);
|
|
1190
1200
|
chmodSync(data, 420);
|
|
1201
|
+
if (workRoot !== void 0) {
|
|
1202
|
+
const root = join(dir, WORK_ROOT_FILE);
|
|
1203
|
+
writeFileSync(root, `${workRoot}
|
|
1204
|
+
`);
|
|
1205
|
+
chmodSync(root, 420);
|
|
1206
|
+
}
|
|
1191
1207
|
return dir;
|
|
1192
1208
|
}
|
|
1209
|
+
function buildWorkRoot(job) {
|
|
1210
|
+
return job.container !== void 0 || job.microvm !== void 0 || job.sandbox !== void 0 ? WORK_DIR : void 0;
|
|
1211
|
+
}
|
|
1193
1212
|
|
|
1194
1213
|
// src/runner/sandbox/hold.ts
|
|
1195
1214
|
var SANDBOX_HOLD_MS = 3e5;
|
|
@@ -3105,7 +3124,7 @@ var CLAIM_REFUSAL_CODES = new Set(
|
|
|
3105
3124
|
"pull_request_from_fork pull_request_on_default_branch pull_request_ambiguous pull_request_repository_not_connected repository_not_reachable branch_claimed_elsewhere".split(" ")
|
|
3106
3125
|
);
|
|
3107
3126
|
async function tryClaimAndStart(state, item, queue) {
|
|
3108
|
-
const { postJson: postJson2 } = await import('./work-cmd-
|
|
3127
|
+
const { postJson: postJson2 } = await import('./work-cmd-WWUFBOUX.js');
|
|
3109
3128
|
const log = logOf(state);
|
|
3110
3129
|
const hostKey = await loadHostKey(state.config.configPath);
|
|
3111
3130
|
const claim = await retrySend(
|
|
@@ -3998,7 +4017,7 @@ function installCommitHooks(job, log, tag) {
|
|
|
3998
4017
|
return;
|
|
3999
4018
|
}
|
|
4000
4019
|
try {
|
|
4001
|
-
const dir = writeCommitHooks(buildDir2, identity.coAuthor);
|
|
4020
|
+
const dir = writeCommitHooks(buildDir2, identity.coAuthor, buildWorkRoot(job));
|
|
4002
4021
|
identity.hooksPath = job.container === void 0 && job.microvm === void 0 && job.sandbox === void 0 ? dir : `${JOB_MOUNT}/${HOOKS_DIR_NAME}`;
|
|
4003
4022
|
} catch (err) {
|
|
4004
4023
|
log.error(`${tag} could not write the commit hooks: ${describeCallFailure(err)} \xB7 continuing without a co-author line`);
|
|
@@ -4716,7 +4735,7 @@ async function startRunner(configPath, deps, startup) {
|
|
|
4716
4735
|
check: update.check ? () => update.check(configPath) : async () => {
|
|
4717
4736
|
const held = runnerAgents(deps.agents).flatMap((agent) => heldAgentCredential(agent.descriptor.id) ?? []);
|
|
4718
4737
|
const env = { ...process.env, ...Object.fromEntries(held.map((credential) => [credential.variable, credential.value])) };
|
|
4719
|
-
return (await import('./check-
|
|
4738
|
+
return (await import('./check-HAXCODAJ.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
|
|
4720
4739
|
},
|
|
4721
4740
|
now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
|
|
4722
4741
|
log
|
|
@@ -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-Y7MCKLAQ.js';
|
|
4
4
|
import { RELAY_ID, RELAY_USER } from './chunk-6XUFQCIH.js';
|
|
5
5
|
import { imageInstalls, 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-WVEZO2QF.js';
|
|
6
6
|
import { defaultAgents } from './chunk-QJPR3ZHI.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { keyRunnerFactory, RunnerConfigError } from './chunk-
|
|
4
|
-
import { orgHomeDir } from './chunk-
|
|
3
|
+
import { keyRunnerFactory, RunnerConfigError } from './chunk-P7YUPG7W.js';
|
|
4
|
+
import { orgHomeDir } from './chunk-3TDS4OUB.js';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
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-ANR2TJTR.js';
|
|
4
|
+
import { resolveGatewayCredentials } from './chunk-W54GD6MO.js';
|
|
5
5
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
6
6
|
import { findGitDirs, readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
@@ -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-3TDS4OUB.js';
|
|
4
4
|
import { readFileSync, existsSync, rmSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
5
5
|
import { join } from 'path';
|
|
6
6
|
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-C2PZOLN7.js';
|
|
4
4
|
import { detectActiveSession } from './chunk-4M7N6DKZ.js';
|
|
5
|
-
import { autoConnect } from './chunk-
|
|
5
|
+
import { autoConnect } from './chunk-UN4LJ7IJ.js';
|
|
6
6
|
import { acquireSpoolLockAt } from './chunk-TDTWNGCO.js';
|
|
7
7
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
8
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
8
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-W54GD6MO.js';
|
|
9
9
|
import { launchedItemForSession } from './chunk-LGJ56FCM.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
11
11
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
@@ -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-HWVMRETT.js';
|
|
4
|
-
import { signRunnerRequest, signerFor } from './chunk-
|
|
4
|
+
import { signRunnerRequest, signerFor } from './chunk-7DOBQZEQ.js';
|
|
5
5
|
import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
6
6
|
import { PLAIN_VERSION, recordCliVersion, removeRecordedVersion } from './chunk-VNLHKIKR.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
@@ -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-3TDS4OUB.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 { helperSocketPath } from './chunk-
|
|
4
|
-
import { UNIT_MARKER } from './chunk-
|
|
5
|
-
import { runnerDir } from './chunk-
|
|
3
|
+
import { helperSocketPath } from './chunk-CZIX52ZD.js';
|
|
4
|
+
import { UNIT_MARKER } from './chunk-GZYTJS44.js';
|
|
5
|
+
import { runnerDir } from './chunk-3TDS4OUB.js';
|
|
6
6
|
import { createHash } from 'crypto';
|
|
7
7
|
import { join } from 'path';
|
|
8
8
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-
|
|
3
|
+
import { RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-Y7MCKLAQ.js';
|
|
4
4
|
import { GATEWAY_SOCKET, GATEWAY_PORT, providerDestinations } from './chunk-6XUFQCIH.js';
|
|
5
5
|
import { defaultAgents } from './chunk-QJPR3ZHI.js';
|
|
6
6
|
import { PROVIDERS } from './chunk-7PZDPISM.js';
|
|
@@ -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-WGGUOPM4.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';
|
|
@@ -542,6 +542,7 @@ var JOB_MOUNT = "/outerlayer/job";
|
|
|
542
542
|
var EVAL_INPUT_DIR = `${JOB_MOUNT}/eval-input`;
|
|
543
543
|
var CHECK_ITEMS_FILE = "/tmp/outerlayer-check-items.json";
|
|
544
544
|
var BUILD_HOME = "/build/home";
|
|
545
|
+
var WORK_DIR = "/build/work";
|
|
545
546
|
var CHECKOUT_DIR = "/build/work/checkout";
|
|
546
547
|
var REPOS_DIR = "/build/work/repos";
|
|
547
548
|
function checkoutPath(entry) {
|
|
@@ -1343,4 +1344,4 @@ async function startBuildServices(input) {
|
|
|
1343
1344
|
}
|
|
1344
1345
|
}
|
|
1345
1346
|
|
|
1346
|
-
export { BUILD_HOME, CHECKOUT_DIR, CHECK_ITEMS_FILE, DESTINATION_BASE_PORT, EVAL_INPUT_DIR, IMAGE_BUNDLES, JOB_MOUNT, PROXY_WARNING_FLAG, RELAY_PORT, SANDBOX_VARIABLES, SCRUB_ENV_VARIABLE, STAND_IN, SandboxError, applyTrust, authorEnvironment, buildAuthorityFor, buildEnvironment, carried6to4, checkEnvironment, checkoutPath, classifyAddress, commitIdentityRecord, containerLocalAddress, createSandboxClient, dataPlaneOf, describeSandboxError, destinationEnvironment, dropBuildAuthority, droppedRequestHeaders, hasDotDotSegment, headerVariables, heldBuildAuthority, hostKeyOf, isMiseVariableAllowed, isRefusedInConfig, isReservedVariable, lifecycleWorkdir, parseBranchlessRepositories, parseClaimIdentity, parseClaimedRepositories, parseIsolation, parseProxied, parseUnreachable, primaryOf, proxyEnvironment, readBundleScript, repositoriesOf, repositoryPath, resolveDestinations, routeNameOf, sandboxCallOf, sandboxSettingsFrom, sharedUserEnvironment, startBuildServices, tokenHeader, toolProxyEnvironment, trustEnvironment, variableForPath, variablesFor, withGitConfig, withHooksPath, withMiseVariables, withTokenHeader, withTunnelRecord, writeTrustFiles };
|
|
1347
|
+
export { BUILD_HOME, CHECKOUT_DIR, CHECK_ITEMS_FILE, DESTINATION_BASE_PORT, EVAL_INPUT_DIR, IMAGE_BUNDLES, JOB_MOUNT, PROXY_WARNING_FLAG, RELAY_PORT, SANDBOX_VARIABLES, SCRUB_ENV_VARIABLE, STAND_IN, SandboxError, WORK_DIR, applyTrust, authorEnvironment, buildAuthorityFor, buildEnvironment, carried6to4, checkEnvironment, checkoutPath, classifyAddress, commitIdentityRecord, containerLocalAddress, createSandboxClient, dataPlaneOf, describeSandboxError, destinationEnvironment, dropBuildAuthority, droppedRequestHeaders, hasDotDotSegment, headerVariables, heldBuildAuthority, hostKeyOf, isMiseVariableAllowed, isRefusedInConfig, isReservedVariable, lifecycleWorkdir, parseBranchlessRepositories, parseClaimIdentity, parseClaimedRepositories, parseIsolation, parseProxied, parseUnreachable, primaryOf, proxyEnvironment, readBundleScript, repositoriesOf, repositoryPath, resolveDestinations, routeNameOf, sandboxCallOf, sandboxSettingsFrom, sharedUserEnvironment, startBuildServices, tokenHeader, toolProxyEnvironment, trustEnvironment, variableForPath, variablesFor, withGitConfig, withHooksPath, withMiseVariables, withTokenHeader, withTunnelRecord, writeTrustFiles };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { detectActiveSession } from './chunk-4M7N6DKZ.js';
|
|
4
|
-
import { autoConnect } from './chunk-
|
|
4
|
+
import { autoConnect } from './chunk-UN4LJ7IJ.js';
|
|
5
5
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
6
|
-
import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-
|
|
6
|
+
import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-W54GD6MO.js';
|
|
7
7
|
import { parseWorkItemEnv } from './chunk-LGJ56FCM.js';
|
|
8
8
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
9
9
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
@@ -325,7 +325,7 @@ async function runAgentLauncher(agentId, args, deps = {}) {
|
|
|
325
325
|
return 1;
|
|
326
326
|
}
|
|
327
327
|
} else {
|
|
328
|
-
const { resolveLaunchPlane } = await import('./control-plane-launch-
|
|
328
|
+
const { resolveLaunchPlane } = await import('./control-plane-launch-65Z75XW7.js');
|
|
329
329
|
const plane = env[GOVERNANCE_VARIABLE] === "self" ? { kind: "none" } : await resolveLaunchPlane({ cwd, env, home, fetchImpl: deps.fetchImpl, stderr });
|
|
330
330
|
if (plane.kind === "none") {
|
|
331
331
|
const own2 = ownSkillsDirFor(prefix, cwd, home, /* @__PURE__ */ new Set(), stderr);
|