@outerlayer/cli 0.34.0-next.20261028010245 → 0.34.0-next.20261028105453
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-6FPE6EYN.js → agent-setup-LZ7PEM6A.js} +6 -6
- package/dist/{bridge-JGIHPGMY.js → bridge-4DFOWIY2.js} +2 -2
- package/dist/{build-AAQ4PVP2.js → build-VVZHFSZK.js} +8 -8
- package/dist/{build-disk-L7JRQA22.js → build-disk-QV4TO7HZ.js} +6 -6
- package/dist/build-info.json +1 -1
- package/dist/{builder-LMLAVVVF.js → builder-6JLFMAGJ.js} +5 -5
- package/dist/{check-C7UKLYZQ.js → check-LMUTXMTY.js} +37 -37
- package/dist/{chunk-WEQMLC7P.js → chunk-265SXBQ5.js} +3 -3
- package/dist/{chunk-AJTGTSNA.js → chunk-2CW2QMSG.js} +1 -1
- package/dist/{chunk-AHWMY3MS.js → chunk-2LCNMAWP.js} +4 -4
- package/dist/{chunk-SWCOWG2C.js → chunk-3EU4MWCE.js} +3 -3
- package/dist/{chunk-L2OARQKP.js → chunk-4N7BQBO4.js} +28 -13
- package/dist/{chunk-6OLXDSQ6.js → chunk-5B6DLEVM.js} +1 -1
- package/dist/{chunk-QNF7LT7W.js → chunk-5VKSPEST.js} +3 -3
- package/dist/{chunk-3X6OSXSB.js → chunk-64LLUVJR.js} +1 -1
- package/dist/{chunk-WSVE5QGL.js → chunk-6CQXOTNL.js} +4 -4
- package/dist/{chunk-GMEXR6PY.js → chunk-6UHU7DHT.js} +6 -6
- package/dist/{chunk-SYMBXSAT.js → chunk-6WU2D2CY.js} +3 -3
- package/dist/{chunk-NCKH3KCM.js → chunk-6YIWAOHM.js} +6 -6
- package/dist/{chunk-GJYGOFF3.js → chunk-72N7GOLM.js} +6 -6
- package/dist/{chunk-4A5OJOCR.js → chunk-7DHESPSV.js} +10 -10
- package/dist/{chunk-VB4QD4WN.js → chunk-7JBG43BX.js} +67 -25
- package/dist/{chunk-EGJY6MBC.js → chunk-7LKOOGSN.js} +2 -2
- package/dist/{chunk-KTVZ7TZY.js → chunk-7XZQTJOD.js} +1 -1
- package/dist/{chunk-A6PJSNP6.js → chunk-A2KLVZBU.js} +31 -29
- package/dist/{chunk-BQ4C47K2.js → chunk-AGNFPJSP.js} +5 -5
- package/dist/{chunk-JXY66VYX.js → chunk-AKQX462F.js} +3 -3
- package/dist/{chunk-5LUN7TTR.js → chunk-AVI3MGQO.js} +2 -2
- package/dist/{chunk-3XOLOV5A.js → chunk-AXKSVN4U.js} +4 -4
- package/dist/{chunk-QJ2SNBHL.js → chunk-BUVDDPOM.js} +1 -1
- package/dist/{chunk-32FAPJFD.js → chunk-C2E4PWEN.js} +6 -6
- package/dist/{chunk-57WFXHCB.js → chunk-D7MWJM2G.js} +1 -1
- package/dist/{chunk-G4SOMWXL.js → chunk-DKIZDYUX.js} +1 -1
- package/dist/{chunk-I4YOWQH7.js → chunk-E3GX4WVJ.js} +1 -1
- package/dist/{chunk-F3BGTGQC.js → chunk-EXKOPZQV.js} +1 -1
- package/dist/{chunk-BTDBDTUY.js → chunk-GJHOU5V3.js} +3 -3
- package/dist/{chunk-D6SH7DWA.js → chunk-H5YUWLIY.js} +3 -3
- package/dist/{chunk-PBI4CM4M.js → chunk-ITS67SH7.js} +44 -23
- package/dist/{chunk-PAGB3DCI.js → chunk-IZKUPAXF.js} +1 -1
- package/dist/{chunk-GET5HKLM.js → chunk-JDQBJUXQ.js} +1 -1
- package/dist/{chunk-HFMK2R7O.js → chunk-JNFLO6DA.js} +20 -20
- package/dist/{chunk-23XAA7YD.js → chunk-LEJWPGO7.js} +3 -3
- package/dist/{chunk-NBETYM32.js → chunk-N4KQMGEZ.js} +4 -4
- package/dist/{chunk-4J5GRWAY.js → chunk-N6V4ZHI7.js} +2 -2
- package/dist/{chunk-PHIQHIRJ.js → chunk-NPTEYMBW.js} +1 -1
- package/dist/{chunk-3E7QAXUW.js → chunk-OFKM35MX.js} +6 -6
- package/dist/{chunk-LBKCYEJT.js → chunk-ORENXMHA.js} +1 -1
- package/dist/{chunk-6Q7O4MRI.js → chunk-QGTJ5IJN.js} +1 -1
- package/dist/{chunk-5IUC2B6J.js → chunk-QTL7VZVF.js} +2 -2
- package/dist/{chunk-GXMMILQ4.js → chunk-QXAPVAPR.js} +3 -3
- package/dist/{chunk-6LS62EO4.js → chunk-S37IAT3A.js} +3 -3
- package/dist/{chunk-PPQTTJSW.js → chunk-SODV2YMW.js} +5 -5
- package/dist/{chunk-77D5ENBA.js → chunk-TZXJSNN4.js} +1 -1
- package/dist/{chunk-VKYU4HHW.js → chunk-VJQQVTCS.js} +1 -1
- package/dist/{chunk-UEDRRWZ3.js → chunk-XDCD4GD5.js} +3 -3
- package/dist/{chunk-NOEJGR4X.js → chunk-ZIXLG6EQ.js} +3 -3
- package/dist/{claude-launcher-GGZEWVYJ.js → claude-launcher-XX2MLBDW.js} +1 -1
- package/dist/{cli-IG52447Q.js → cli-6YAN2USY.js} +112 -112
- package/dist/{command-NSTOWAZ6.js → command-GJKJ5WT4.js} +25 -25
- package/dist/{config-YPUOOZB6.js → config-AB5Y73BU.js} +7 -7
- package/dist/{connect-cmd-RPEEANNE.js → connect-cmd-FOD7PKVW.js} +6 -6
- package/dist/{container-start-OOBTGHWF.js → container-start-RWW7L5LC.js} +31 -31
- package/dist/{context-show-cmd-R5WCECOT.js → context-show-cmd-A226Q6K5.js} +7 -7
- package/dist/{control-plane-launch-55CJGYBK.js → control-plane-launch-RJSAIFEP.js} +5 -5
- package/dist/{demo-record-cmd-SFOWQPL7.js → demo-record-cmd-KM2UPWPL.js} +2 -2
- package/dist/{demo-voice-cmd-ZOBRVHOK.js → demo-voice-cmd-W4NYPCVL.js} +12 -12
- package/dist/{dist-BUSLJNSZ.js → dist-ZW7I72SD.js} +1 -1
- package/dist/{docker-VPJW5LXB.js → docker-OQP6NU7P.js} +5 -5
- package/dist/{doctor-O2EJAPZB.js → doctor-OXMOYIKK.js} +25 -25
- package/dist/{emit-artifact-cmd-HBFYBXJR.js → emit-artifact-cmd-X2YWXLKQ.js} +11 -11
- package/dist/{emit-criteria-cmd-TPUL7M2R.js → emit-criteria-cmd-HYKOTFXG.js} +8 -8
- package/dist/{emit-demo-cmd-5CUT7W3R.js → emit-demo-cmd-DTARV6RI.js} +12 -12
- package/dist/{emit-finding-cmd-IKHGMACP.js → emit-finding-cmd-GSLYQC43.js} +8 -8
- package/dist/{emit-result-cmd-F7CI6SNZ.js → emit-result-cmd-PKJH76NG.js} +10 -10
- package/dist/{emit-step-cmd-DVEKGHK7.js → emit-step-cmd-IW2Y4N67.js} +8 -8
- package/dist/{exec-client-H2JG36OS.js → exec-client-BQIZRROT.js} +3 -3
- package/dist/find-unit-2C6EK5YY.js +19 -0
- package/dist/{findings-cmd-ODKZ462L.js → findings-cmd-CFF2I3TU.js} +8 -8
- package/dist/{fleet-readiness-UHCBNW6A.js → fleet-readiness-ZSG4UDYR.js} +5 -5
- package/dist/{governing-source-SRECHKPR.js → governing-source-TUGE7QJY.js} +10 -10
- package/dist/{guest-init-6FUC4XZX.js → guest-init-DXXSPKHY.js} +4 -4
- package/dist/{hook-fast-WM6YZVBJ.js → hook-fast-5C4MQ5ZS.js} +1 -1
- package/dist/{host-checks-FLIHLR35.js → host-checks-77FAAR2A.js} +29 -29
- package/dist/{host-key-OSWPVMIA.js → host-key-5P3ZL5XW.js} +3 -3
- package/dist/{image-tag-LF3NEGSL.js → image-tag-3KPTSRB4.js} +3 -3
- package/dist/index.js +4 -4
- package/dist/{init-LPD75DCX.js → init-NSTWRPRM.js} +22 -22
- package/dist/{init-OX677NNB.js → init-WU2S3WRO.js} +22 -22
- package/dist/{init-cmd-ZCLVC5RR.js → init-cmd-H4HYM5V3.js} +11 -11
- package/dist/{init-update-POKSLQDQ.js → init-update-WOYX2AIO.js} +9 -9
- package/dist/{install-cmd-6SQVZEXL.js → install-cmd-6HGNO2HF.js} +5 -5
- package/dist/{logs-QHXZTSKZ.js → logs-E2O53NUI.js} +2 -2
- package/dist/{loop-ELTO36MN.js → loop-QZV7AR3F.js} +36 -36
- package/dist/{machine-7VPFAC6L.js → machine-IRBCGRUO.js} +22 -22
- package/dist/{mcp-serve-cmd-J32K42HM.js → mcp-serve-cmd-OFK3CS2T.js} +4 -4
- package/dist/{paths-4ZGWWNTG.js → paths-VQ3ALYZ3.js} +2 -2
- package/dist/{pending-CRXJKKKI.js → pending-V5FBWIJ4.js} +3 -3
- package/dist/{pidfile-VLZPRIBZ.js → pidfile-AVJFRZZT.js} +3 -3
- package/dist/{record-4ZJPJTWO.js → record-XE7Z3QGF.js} +3 -3
- package/dist/{runner-env-W53VDVOK.js → runner-env-TYGE6BFU.js} +9 -9
- package/dist/{runner-identity-BH42S2MU.js → runner-identity-B2MZQFYN.js} +5 -5
- package/dist/{runner-key-ESAZRV3A.js → runner-key-NPPEGU6H.js} +22 -22
- package/dist/{session-sender-UB45MUKV.js → session-sender-ZS4OIE3M.js} +11 -11
- package/dist/{spec-cmd-H5B55O5L.js → spec-cmd-N45YF6UL.js} +9 -9
- package/dist/{status-L2OYAZHY.js → status-QPV75ZNS.js} +29 -29
- package/dist/{sync-cmd-IWA5ZTI2.js → sync-cmd-VCB4YDCB.js} +10 -10
- package/dist/{update-steps-FWQ5ASZ6.js → update-steps-YY3DZ5NW.js} +30 -30
- package/dist/{watch-NOEBVS6U.js → watch-XU2AUR6Z.js} +10 -10
- package/dist/{work-claim-cmd-7P7U3OQ6.js → work-claim-cmd-WEP3OWAU.js} +13 -13
- package/dist/{work-cmd-77GUT7LY.js → work-cmd-DWR27TKQ.js} +8 -8
- package/dist/{work-comment-cmd-VS3BSPGM.js → work-comment-cmd-HSDVPYWM.js} +9 -9
- package/dist/{work-demo-cmd-S3GXBYIA.js → work-demo-cmd-3EQYHRBP.js} +8 -8
- package/dist/{work-logs-cmd-6BXIINCM.js → work-logs-cmd-3YACDH7Y.js} +8 -8
- package/dist/{work-open-pr-cmd-EPOFWJDC.js → work-open-pr-cmd-MHVTTTLD.js} +9 -9
- package/dist/{work-pr-cmd-DYSYOP74.js → work-pr-cmd-XETSFFM2.js} +8 -8
- package/dist/{work-proofs-cmd-DS2VX4E4.js → work-proofs-cmd-R53HHZJB.js} +9 -9
- package/dist/{work-proofs-record-LIQGUDWH.js → work-proofs-record-BCY52YK3.js} +15 -15
- package/dist/{work-stop-cmd-HYQTDNUY.js → work-stop-cmd-4BE2B7TY.js} +8 -8
- package/package.json +1 -1
- package/dist/find-unit-ACTOZVVS.js +0 -19
|
@@ -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-72N7GOLM.js';
|
|
4
4
|
import { detectActiveSession } from './chunk-IP7BIBXJ.js';
|
|
5
5
|
import { C } from './chunk-ANPNT6PM.js';
|
|
6
6
|
import { sanitizeTerminal } from './chunk-IXPH4EXK.js';
|
|
7
|
-
import { defaultFetch } from './chunk-
|
|
8
|
-
import { resolveRepoIdentity } from './chunk-
|
|
7
|
+
import { defaultFetch } from './chunk-IZKUPAXF.js';
|
|
8
|
+
import { resolveRepoIdentity } from './chunk-A2KLVZBU.js';
|
|
9
9
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
10
10
|
import { homeFromEnv } from './chunk-VNVZDWO3.js';
|
|
11
11
|
import { randomUUID } from 'crypto';
|
|
@@ -2,35 +2,35 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { itemsSentence, criteriaOf, hostItemsOf, loadCitationFinder, MAX_TEST_FILE_BYTES, MAX_TEST_FILES, criterionInputs, planCriteria, parseJudgeAnswer, inCriteriaOrder, oneLineReason, judgedItems } from './chunk-6CK2OC4Q.js';
|
|
4
4
|
import { readsJobState, READ_JOB_STATE_FORMATS, jobStateFormatOf } from './chunk-ZVB57WI6.js';
|
|
5
|
-
import { HELPER_PATH, DOCKERD_LOG, HELPER_RECORD } from './chunk-
|
|
5
|
+
import { HELPER_PATH, DOCKERD_LOG, HELPER_RECORD } from './chunk-XDCD4GD5.js';
|
|
6
6
|
import { zodProblem } from './chunk-I3LTIAOR.js';
|
|
7
|
-
import { senderPidfile } from './chunk-
|
|
8
|
-
import { installScrubContext } from './chunk-
|
|
9
|
-
import { writeDockerClientConfig } from './chunk-
|
|
7
|
+
import { senderPidfile } from './chunk-AKQX462F.js';
|
|
8
|
+
import { installScrubContext } from './chunk-C2E4PWEN.js';
|
|
9
|
+
import { writeDockerClientConfig } from './chunk-BUVDDPOM.js';
|
|
10
10
|
import { upgradedStarterText } from './chunk-TZMDRHWB.js';
|
|
11
|
-
import { ADDED_USER, shellQuote, GH_CONFIG_YML, ghHostsYml, firstLine, hasClaudeCredential, AssetError, obtainImage, ensureRootfs, makeBuildsDirPrivate, gitRemoteFor, startServicesFor, createLeaseChannel, createBuildDisk, machineConfig, startJailedInto, resolveAgentUser, AgentUserError, runBuildSteps, runtimeStepInput,
|
|
12
|
-
import { fetchCommit, readBranchHead, diffBetween } from './chunk-
|
|
13
|
-
import { waitForAgent, vmExecArgs } from './chunk-
|
|
14
|
-
import { socketPathProblem, vsockLinks, LEASE_LINK, linkVsockSockets } from './chunk-
|
|
15
|
-
import { describeCallFailure, resolveGoverningSource, prefetchGovernedContext, refusalCode, removeStagedContext, stageGovernedContext, pinnedSourceOf, commandWithShim, logStamp, createRunnerLog, removeKeptContext, formatDuration, retrySend, formatClock, keptContextTree, WORKFLOW_PERMISSION_REASON } from './chunk-
|
|
16
|
-
import { imageBuildOf, isBuiltinContainer, isBuiltinProcess, isBuiltinVm, egressSummary, DEFAULT_CHECK_TIME_LIMIT_MINUTES, optionalEgress } from './chunk-
|
|
17
|
-
import { formatBytes, DEFAULT_CACHE_DISK, allocatedBytes } from './chunk-
|
|
18
|
-
import { HASH_ARGV, parseProgramHash, JUDGE_PROGRAM, writeJobFile, readJobFile, parseSize, identityScript, identityArgs, parseIdentity, mountableHome, homeCopyScript, homeCopyArgs, childEnvironment, withAnswerProtocol, judgeCommand, MAX_REPORT_BYTES, JUDGE_MAX_TURNS, JUDGE_DIR, COMMAND_DIR, MAX_ITEMS_BYTES } from './chunk-
|
|
11
|
+
import { ADDED_USER, shellQuote, GH_CONFIG_YML, ghHostsYml, firstLine, hasClaudeCredential, AssetError, obtainImage, ensureRootfs, makeBuildsDirPrivate, gitRemoteFor, startServicesFor, createLeaseChannel, createBuildDisk, machineConfig, startJailedInto, resolveAgentUser, AgentUserError, runBuildSteps, runtimeStepInput, keepRuntimeStep, createContainerRuntime, containerSenderCommand, hostCommandEnvironment, execArgv, signalInContainer, startHostServices, LEASE_SECONDS, managedBuildSettingsFor, stopContainer, cleanupContainer, outOfMemoryReason, closeHostBuild, dropManagedClaudeKey, dropManagedBuildSettings, startCheckContainer, ranRuntimeStep, provisionRuntimes, lifecycleSteps, lifecycleFailureReason, writeEvalInput, DeliveryFailure, EVAL_INPUT_NAME, syncInContainer, copyTranscriptsFromContainer, MANAGED_UNJAILED_REASON, senderAliveScript, managedMachineLimits, withFactoryHosts, helperFirecrackerNote, said, managedClaudeKeyValues, managedBuildSettingValues, stopJailed, deleteBuildDisk, managedClaudeKeyFor, ROOT_DISK_ID_PREFIX, copyTranscripts, containerJudgeEnvironment, senderSignalScript, copyJudgeTree } from './chunk-7JBG43BX.js';
|
|
12
|
+
import { fetchCommit, readBranchHead, diffBetween } from './chunk-AGNFPJSP.js';
|
|
13
|
+
import { waitForAgent, vmExecArgs } from './chunk-NPTEYMBW.js';
|
|
14
|
+
import { socketPathProblem, vsockLinks, LEASE_LINK, linkVsockSockets } from './chunk-DKIZDYUX.js';
|
|
15
|
+
import { describeCallFailure, resolveGoverningSource, prefetchGovernedContext, refusalCode, removeStagedContext, stageGovernedContext, pinnedSourceOf, commandWithShim, logStamp, createRunnerLog, removeKeptContext, formatDuration, retrySend, formatClock, keptContextTree, WORKFLOW_PERMISSION_REASON } from './chunk-SODV2YMW.js';
|
|
16
|
+
import { imageBuildOf, isBuiltinContainer, isBuiltinProcess, isBuiltinVm, egressSummary, DEFAULT_CHECK_TIME_LIMIT_MINUTES, optionalEgress } from './chunk-QXAPVAPR.js';
|
|
17
|
+
import { formatBytes, DEFAULT_CACHE_DISK, allocatedBytes } from './chunk-7LKOOGSN.js';
|
|
18
|
+
import { HASH_ARGV, parseProgramHash, JUDGE_PROGRAM, writeJobFile, readJobFile, parseSize, identityScript, identityArgs, parseIdentity, mountableHome, homeCopyScript, homeCopyArgs, childEnvironment, withAnswerProtocol, judgeCommand, MAX_REPORT_BYTES, JUDGE_MAX_TURNS, JUDGE_DIR, COMMAND_DIR, MAX_ITEMS_BYTES } from './chunk-2LCNMAWP.js';
|
|
19
19
|
import { CLAUDE_CODE_VERSION, FIRECRACKER_VERSION } from './chunk-D3CT6XQ4.js';
|
|
20
20
|
import { isSameProcess, startTimeOf } from './chunk-JBJTC3UU.js';
|
|
21
|
-
import { WorkCommandError, postJson, isSignatureRefusal, getJson } from './chunk-
|
|
21
|
+
import { WorkCommandError, postJson, isSignatureRefusal, getJson } from './chunk-72N7GOLM.js';
|
|
22
22
|
import { planArtifactUpload } from './chunk-IXPH4EXK.js';
|
|
23
23
|
import { readCloudConfig } from './chunk-PJDQPF5N.js';
|
|
24
|
-
import { signerFor } from './chunk-
|
|
24
|
+
import { signerFor } from './chunk-VJQQVTCS.js';
|
|
25
25
|
import { AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, resolvePackRoot } from './chunk-OVNF4LLC.js';
|
|
26
|
-
import { scrubText } from './chunk-
|
|
26
|
+
import { scrubText } from './chunk-A2KLVZBU.js';
|
|
27
27
|
import { MAINTAINED_SKILLS } from './chunk-CDDED64E.js';
|
|
28
28
|
import { resolveVersion } from './chunk-RA3O54FC.js';
|
|
29
29
|
import { parsePolicy } from './chunk-XFJ7YOPD.js';
|
|
30
30
|
import { CheckItemsSchema } from './chunk-DINRXUQA.js';
|
|
31
31
|
import { homeFromEnv } from './chunk-VNVZDWO3.js';
|
|
32
|
-
import { RUNNER_FILE_MODE, runnerDir, buildDir, vsockPath, jobConsolePath } from './chunk-
|
|
33
|
-
import { JOB_MOUNT, repositoriesOf, primaryOf, buildEnvironment, CHECKOUT_DIR, claudeCredential, AGENT_CREDENTIAL_MISSING, sharedUserEnvironment, headerVariables, authorEnvironment, withTunnelRecord, commitIdentityRecord, RELAY_PORT, repositoryPath, lifecycleWorkdir, CHECK_ITEMS_FILE, fdName, BUILD_HOME, CLAUDE_CREDENTIAL_VARIABLES, currentClaudeCredential, removedClaudeCredentialValues, managedClaudeCredential, checkEnvironment, EVAL_INPUT_DIR } from './chunk-
|
|
32
|
+
import { RUNNER_FILE_MODE, runnerDir, buildDir, vsockPath, jobConsolePath } from './chunk-2CW2QMSG.js';
|
|
33
|
+
import { JOB_MOUNT, repositoriesOf, primaryOf, buildEnvironment, CHECKOUT_DIR, claudeCredential, AGENT_CREDENTIAL_MISSING, sharedUserEnvironment, headerVariables, authorEnvironment, withTunnelRecord, commitIdentityRecord, RELAY_PORT, repositoryPath, lifecycleWorkdir, CHECK_ITEMS_FILE, withMiseVariables, fdName, BUILD_HOME, CLAUDE_CREDENTIAL_VARIABLES, currentClaudeCredential, removedClaudeCredentialValues, managedClaudeCredential, checkEnvironment, EVAL_INPUT_DIR } from './chunk-4N7BQBO4.js';
|
|
34
34
|
import { RUNNER_WORDED_REASONS, UNKNOWN_TRACKING_REASON } from './chunk-MESOOLF4.js';
|
|
35
35
|
import { randomBytes, createHash } from 'crypto';
|
|
36
36
|
import { rmSync, existsSync, statSync, appendFileSync, mkdirSync, chmodSync, writeFileSync, openSync, closeSync, readFileSync, readdirSync, lstatSync, realpathSync, fstatSync, readSync } from 'fs';
|
|
@@ -623,7 +623,12 @@ async function provisionMicroVm(input) {
|
|
|
623
623
|
const failure = await waitForDocker(runtime, state, agentUser, input.now ?? (() => /* @__PURE__ */ new Date()));
|
|
624
624
|
if (failure !== void 0) return bail(failure);
|
|
625
625
|
}
|
|
626
|
-
const request = (argv, workdir) => ({
|
|
626
|
+
const request = (argv, workdir, variables) => ({
|
|
627
|
+
argv,
|
|
628
|
+
user: agentUser,
|
|
629
|
+
cwd: workdir,
|
|
630
|
+
env: execEnvironment(state.imageEnv, withMiseVariables(env, variables))
|
|
631
|
+
});
|
|
627
632
|
const steps = await runBuildSteps({
|
|
628
633
|
repository,
|
|
629
634
|
branch: primary.branch,
|
|
@@ -632,7 +637,7 @@ async function provisionMicroVm(input) {
|
|
|
632
637
|
agentVersion,
|
|
633
638
|
lifecycle: report.apply.lifecycle,
|
|
634
639
|
exec: async (argv, workdir, opts) => {
|
|
635
|
-
const ran = await vm.exec(state.vsockPath, request(argv, workdir));
|
|
640
|
+
const ran = await vm.exec(state.vsockPath, request(argv, workdir, opts?.variables));
|
|
636
641
|
if (opts?.quiet !== true) appendFileSync(logPath, ran.stdout + ran.stderr);
|
|
637
642
|
return ran;
|
|
638
643
|
},
|
|
@@ -668,7 +673,7 @@ async function provisionMicroVm(input) {
|
|
|
668
673
|
});
|
|
669
674
|
if (!steps.ok) return bail(steps.reason, steps.aborted === true);
|
|
670
675
|
state.startCommit = steps.startCommit;
|
|
671
|
-
|
|
676
|
+
keepRuntimeStep(state, steps);
|
|
672
677
|
if (steps.controlPlane !== void 0) environment.controlPlane = steps.controlPlane;
|
|
673
678
|
return { ok: true, workdir: CHECKOUT_DIR, state, environment };
|
|
674
679
|
}
|
|
@@ -714,6 +719,7 @@ function vmExecFor(input, argv) {
|
|
|
714
719
|
hostEnv: input.runtime.hostEnv,
|
|
715
720
|
containerEnv: state.containerEnv ?? {},
|
|
716
721
|
unpinnedRuntimes: state.unpinnedRuntimes,
|
|
722
|
+
miseVariables: state.miseVariables,
|
|
717
723
|
builtIns: state.builtIns === true,
|
|
718
724
|
identity: input.job.commitIdentity,
|
|
719
725
|
factoryVariables: factoryVariablesOf(input.config, input.jobDir)
|
|
@@ -744,6 +750,7 @@ async function startMicroVmCommand(input) {
|
|
|
744
750
|
hostEnv: input.runtime.hostEnv,
|
|
745
751
|
containerEnv: state.containerEnv ?? {},
|
|
746
752
|
unpinnedRuntimes: state.unpinnedRuntimes,
|
|
753
|
+
miseVariables: state.miseVariables,
|
|
747
754
|
builtIns: state.builtIns === true,
|
|
748
755
|
identity: input.job.commitIdentity,
|
|
749
756
|
factoryVariables: factoryVariablesOf(input.config, input.jobDir)
|
|
@@ -787,6 +794,7 @@ async function syncInMicroVm(input) {
|
|
|
787
794
|
hostEnv: runtime.hostEnv,
|
|
788
795
|
containerEnv: state.containerEnv ?? {},
|
|
789
796
|
unpinnedRuntimes: state.unpinnedRuntimes,
|
|
797
|
+
miseVariables: state.miseVariables,
|
|
790
798
|
builtIns: state.builtIns === true,
|
|
791
799
|
identity: job.commitIdentity,
|
|
792
800
|
factoryVariables: factoryVariablesOf(input.config, input.jobDir)
|
|
@@ -1073,7 +1081,7 @@ async function startCheckMicroVm(input) {
|
|
|
1073
1081
|
state,
|
|
1074
1082
|
evalInput: { dir: evalInput.dir, deliver: deliverEvalInput },
|
|
1075
1083
|
exec: async (argv, workdir, opts) => {
|
|
1076
|
-
const ran = await vm.exec(state.vsockPath, { argv, user: agentUser, cwd: workdir, env: execEnvironment(state.imageEnv, env) });
|
|
1084
|
+
const ran = await vm.exec(state.vsockPath, { argv, user: agentUser, cwd: workdir, env: execEnvironment(state.imageEnv, withMiseVariables(env, opts?.variables)) });
|
|
1077
1085
|
if (opts?.logPath !== void 0) appendFileSync(opts.logPath, ran.stdout + ran.stderr);
|
|
1078
1086
|
return ran;
|
|
1079
1087
|
},
|
|
@@ -3329,6 +3337,7 @@ async function runHostChecks(input) {
|
|
|
3329
3337
|
}
|
|
3330
3338
|
}
|
|
3331
3339
|
let abandoned = false;
|
|
3340
|
+
let variables;
|
|
3332
3341
|
const setup = async () => {
|
|
3333
3342
|
const started = job.microvm !== void 0 ? await startCheckMicroVm({
|
|
3334
3343
|
config,
|
|
@@ -3357,6 +3366,7 @@ async function runHostChecks(input) {
|
|
|
3357
3366
|
});
|
|
3358
3367
|
if (!started.ok) return `the check environment could not be made: ${started.reason}`;
|
|
3359
3368
|
const made = "container" in started ? started.container : started.environment;
|
|
3369
|
+
const checkBuildId = made.state.buildId;
|
|
3360
3370
|
const steps = [
|
|
3361
3371
|
{
|
|
3362
3372
|
argv: ["git", "config", "--global", `url.http://127.0.0.1:${RELAY_PORT}/github.com/.insteadOf`, "https://github.com/"],
|
|
@@ -3386,10 +3396,21 @@ async function runHostChecks(input) {
|
|
|
3386
3396
|
const ran = await made.exec(step.argv, step.workdir, { logPath: environmentLog });
|
|
3387
3397
|
if (ran.status !== 0) return `the check environment could not be prepared: ${step.failed(ran.status)}`;
|
|
3388
3398
|
}
|
|
3399
|
+
if (ranRuntimeStep(job.container ?? job.microvm)) {
|
|
3400
|
+
const chosen = await provisionRuntimes({
|
|
3401
|
+
repositories: repositoriesToCheckOut,
|
|
3402
|
+
exec: (argv, workdir, opts) => made.exec(argv, workdir, opts?.quiet === true ? {} : { logPath: environmentLog }),
|
|
3403
|
+
log,
|
|
3404
|
+
tag: `${tag} checks`,
|
|
3405
|
+
refusals: () => runtime.tunnels.get(checkBuildId)?.record().refusals ?? []
|
|
3406
|
+
});
|
|
3407
|
+
if (!chosen.ok) return `the check environment could not be prepared: ${chosen.reason}`;
|
|
3408
|
+
variables = chosen.variables;
|
|
3409
|
+
}
|
|
3389
3410
|
const lifecycleDir = lifecycleWorkdir(repositoriesToCheckOut, (job.container ?? job.microvm)?.governing?.repository);
|
|
3390
3411
|
for (const step of lifecycleSteps((job.container ?? job.microvm)?.lifecycle ?? {})) {
|
|
3391
3412
|
log.line(`${tag} checks lifecycle ${step.name} (${step.source})`);
|
|
3392
|
-
const ran = await made.exec(step.argv, lifecycleDir, { logPath: environmentLog });
|
|
3413
|
+
const ran = await made.exec(step.argv, lifecycleDir, { logPath: environmentLog, variables });
|
|
3393
3414
|
if (ran.status !== 0) return `the check environment could not be prepared: ${lifecycleFailureReason(step, ran.status)}`;
|
|
3394
3415
|
}
|
|
3395
3416
|
return made;
|
|
@@ -3442,7 +3463,7 @@ async function runHostChecks(input) {
|
|
|
3442
3463
|
const checkStartedMs = now().getTime();
|
|
3443
3464
|
const logPath = join(jobDir, "checks", `${check.name}.log`);
|
|
3444
3465
|
await ready.exec(["rm", "-f", CHECK_ITEMS_FILE], CHECKOUT_DIR, { logPath });
|
|
3445
|
-
const running = ready.exec(["/bin/sh", "-c", check.command], CHECKOUT_DIR, { logPath });
|
|
3466
|
+
const running = ready.exec(["/bin/sh", "-c", check.command], CHECKOUT_DIR, { logPath, variables });
|
|
3446
3467
|
running.catch(() => void 0);
|
|
3447
3468
|
const timer = timeoutAfter(limitMinutes * 6e4, deps.sleep);
|
|
3448
3469
|
let outcome;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readCloudConfigStrict, readCloudConfig, cloudConfigPath } from './chunk-PJDQPF5N.js';
|
|
4
|
-
import { signRunnerRequest, signerFor } from './chunk-
|
|
4
|
+
import { signRunnerRequest, signerFor } from './chunk-VJQQVTCS.js';
|
|
5
5
|
import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
6
6
|
import { PLAIN_VERSION, recordCliVersion, removeRecordedVersion } from './chunk-5BHIBJDA.js';
|
|
7
7
|
import { resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
@@ -1,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-2CW2QMSG.js';
|
|
4
4
|
import { readFileSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
5
5
|
import { join } from 'path';
|
|
6
6
|
|
|
@@ -1,31 +1,31 @@
|
|
|
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-6UHU7DHT.js';
|
|
5
5
|
import { fetchVersionMeta, npmVersion, npmSupportsProvenance, fetchTarballDigest, fetchProvenance, installVersion, auditSignatures } from './chunk-E7R2GIAW.js';
|
|
6
6
|
import { RUNNER_PROTOCOL } from './chunk-MH6QLXUO.js';
|
|
7
|
-
import { writePendingUpdate } from './chunk-
|
|
8
|
-
import { renderUpdateSteps } from './chunk-
|
|
9
|
-
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-
|
|
10
|
-
import { releaseLease, isUnfinished, setStage, jobEnv, runHook, describeHookEnd, provisionMicroVm, deliverCommitHooks, provisionProcess, readProvisionOut, workdirProblem, MICROVM_COMMAND_DIR, commandLogOffset, startMicroVmCommand, microVmCommandLine, runCommand, startSender, finishJob, sampleGuest, foldSample, isContainerTracked, isMicroVmTracked, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isTimedOut, readCpuUsec, isIdle, stopOrphanedMicroVms, unfinishedJobs, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, hookLimitsFor, AttemptLogBook, microVmOomKills, needsRenew, renewLease, RENEW_INTERVAL_SECONDS, listTrackedJobs, restartSender, serveLease, vmAlive, writeGuestGhConfig, ALREADY_RELEASED, inTeardown } from './chunk-
|
|
7
|
+
import { writePendingUpdate } from './chunk-TZXJSNN4.js';
|
|
8
|
+
import { renderUpdateSteps } from './chunk-6WU2D2CY.js';
|
|
9
|
+
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-JDQBJUXQ.js';
|
|
10
|
+
import { releaseLease, isUnfinished, setStage, jobEnv, runHook, describeHookEnd, provisionMicroVm, deliverCommitHooks, provisionProcess, readProvisionOut, workdirProblem, MICROVM_COMMAND_DIR, commandLogOffset, startMicroVmCommand, microVmCommandLine, runCommand, startSender, finishJob, sampleGuest, foldSample, isContainerTracked, isMicroVmTracked, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isTimedOut, readCpuUsec, isIdle, stopOrphanedMicroVms, unfinishedJobs, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, hookLimitsFor, AttemptLogBook, microVmOomKills, needsRenew, renewLease, RENEW_INTERVAL_SECONDS, listTrackedJobs, restartSender, serveLease, vmAlive, writeGuestGhConfig, ALREADY_RELEASED, inTeardown } from './chunk-ITS67SH7.js';
|
|
11
11
|
import { JOB_STATE_FORMAT, readsJobState, jobStateFormatOf } from './chunk-ZVB57WI6.js';
|
|
12
|
-
import { realBlockedProbes, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, sliceMemoryOf, createHousekeepingDocker, housekeepingDockerIfReachable, KIND_LABEL, RECIPE_KEY_LABEL } from './chunk-
|
|
13
|
-
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-
|
|
12
|
+
import { realBlockedProbes, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, sliceMemoryOf, createHousekeepingDocker, housekeepingDockerIfReachable, KIND_LABEL, RECIPE_KEY_LABEL } from './chunk-OFKM35MX.js';
|
|
13
|
+
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-E3GX4WVJ.js';
|
|
14
14
|
import { RepoFilter } from './chunk-TBT347UY.js';
|
|
15
|
-
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, LEASE_SECONDS, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, needsBuildSkill, provisionContainer, leaseExpiresAtMs, deliverContainerHooks, provisionEnvironment, resolveHostBuild, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, currentSkillCommand, formerSkillProblem, containerCommandExec, execCommandLine, startHostServices, HELPER_ENV, setUpRunnerCgroup, sweepImageBuilders, stoppedHelperReason, measureDisk, parseCpuList, ensureTunnel, keepGhConfigCurrent, filesAreCopied, ensureNetworkReady, managedBuildSettingsFor, ADOPTED_FETCH_RETRY_WINDOW_MS, gitRemoteFor, startServicesFor, createLeaseChannel } from './chunk-
|
|
16
|
-
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-
|
|
17
|
-
import { imageTag, writeUpdateStatus, pullInstruction, tagToPull } from './chunk-
|
|
15
|
+
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, LEASE_SECONDS, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, needsBuildSkill, provisionContainer, leaseExpiresAtMs, deliverContainerHooks, provisionEnvironment, resolveHostBuild, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, currentSkillCommand, formerSkillProblem, containerCommandExec, execCommandLine, startHostServices, HELPER_ENV, setUpRunnerCgroup, sweepImageBuilders, stoppedHelperReason, measureDisk, parseCpuList, ensureTunnel, keepGhConfigCurrent, filesAreCopied, ensureNetworkReady, managedBuildSettingsFor, ADOPTED_FETCH_RETRY_WINDOW_MS, gitRemoteFor, startServicesFor, createLeaseChannel } from './chunk-7JBG43BX.js';
|
|
16
|
+
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-SODV2YMW.js';
|
|
17
|
+
import { imageTag, writeUpdateStatus, pullInstruction, tagToPull } from './chunk-ORENXMHA.js';
|
|
18
18
|
import { isVersion, compareVersions, satisfiesRange } from './chunk-TQMI335S.js';
|
|
19
|
-
import { isBuiltinContainer, isBuiltinVm, isBuiltinProcess, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, DEFAULT_UPDATE_MAX_WAIT_HOURS } from './chunk-
|
|
20
|
-
import { freeBytes, formatBytes, allocatedBytes } from './chunk-
|
|
21
|
-
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, exceedsDisk, builderName, runnerLabelValue, ensureFailureCount, builderSpec, ensureBuilder, spawnRun, readJobFileChecked } from './chunk-
|
|
22
|
-
import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-
|
|
19
|
+
import { isBuiltinContainer, isBuiltinVm, isBuiltinProcess, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, DEFAULT_UPDATE_MAX_WAIT_HOURS } from './chunk-QXAPVAPR.js';
|
|
20
|
+
import { freeBytes, formatBytes, allocatedBytes } from './chunk-7LKOOGSN.js';
|
|
21
|
+
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, exceedsDisk, builderName, runnerLabelValue, ensureFailureCount, builderSpec, ensureBuilder, spawnRun, readJobFileChecked } from './chunk-2LCNMAWP.js';
|
|
22
|
+
import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-64LLUVJR.js';
|
|
23
23
|
import { startTimeOf, isSameProcess } from './chunk-JBJTC3UU.js';
|
|
24
|
-
import { isSignatureRefusal, WorkCommandError, getJson, postJson } from './chunk-
|
|
25
|
-
import { loadHostKey, ensureHostKey, signerFor } from './chunk-
|
|
24
|
+
import { isSignatureRefusal, WorkCommandError, getJson, postJson } from './chunk-72N7GOLM.js';
|
|
25
|
+
import { loadHostKey, ensureHostKey, signerFor } from './chunk-VJQQVTCS.js';
|
|
26
26
|
import { resolveVersion } from './chunk-RA3O54FC.js';
|
|
27
|
-
import { RUNNER_DIR_MODE, runnerDir, buildDir, attemptStamp, jobDir, RUNNER_FILE_MODE, jobsDir, pidFilePath, spoolDir, imagesDir, rootfsDir, builderCacheDiskPath } from './chunk-
|
|
28
|
-
import { parseClaimIdentity, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf, sharedUserEnvironment, JOB_MOUNT, takeClaudeCredential, heldClaudeCredential, currentClaudeCredential, fdName } from './chunk-
|
|
27
|
+
import { RUNNER_DIR_MODE, runnerDir, buildDir, attemptStamp, jobDir, RUNNER_FILE_MODE, jobsDir, pidFilePath, spoolDir, imagesDir, rootfsDir, builderCacheDiskPath } from './chunk-2CW2QMSG.js';
|
|
28
|
+
import { parseClaimIdentity, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf, sharedUserEnvironment, JOB_MOUNT, takeClaudeCredential, heldClaudeCredential, currentClaudeCredential, fdName } from './chunk-4N7BQBO4.js';
|
|
29
29
|
import { COMMAND_LOST_REASON, CONTAINER_STOPPED_REASON } from './chunk-MESOOLF4.js';
|
|
30
30
|
import { randomBytes, createHash } from 'crypto';
|
|
31
31
|
import { mkdirSync, existsSync, chmodSync, writeFileSync, renameSync, statSync, readdirSync, readFileSync, rmSync, closeSync, lstatSync } from 'fs';
|
|
@@ -1856,7 +1856,7 @@ var CLAIM_REFUSAL_CODES = new Set(
|
|
|
1856
1856
|
"pull_request_from_fork pull_request_on_default_branch pull_request_ambiguous pull_request_repository_not_connected repository_not_reachable branch_claimed_elsewhere".split(" ")
|
|
1857
1857
|
);
|
|
1858
1858
|
async function tryClaimAndStart(state, item, queue) {
|
|
1859
|
-
const { postJson: postJson2 } = await import('./work-cmd-
|
|
1859
|
+
const { postJson: postJson2 } = await import('./work-cmd-DWR27TKQ.js');
|
|
1860
1860
|
const log = logOf(state);
|
|
1861
1861
|
const hostKey = await loadHostKey(state.config.configPath);
|
|
1862
1862
|
const claim = await retrySend(
|
|
@@ -3189,7 +3189,7 @@ async function startRunner(configPath, deps, startup) {
|
|
|
3189
3189
|
check: update.check ? () => update.check(configPath) : async () => {
|
|
3190
3190
|
const held = heldClaudeCredential();
|
|
3191
3191
|
const env = held === void 0 ? process.env : { ...process.env, [held.variable]: held.value };
|
|
3192
|
-
return (await import('./check-
|
|
3192
|
+
return (await import('./check-LMUTXMTY.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
|
|
3193
3193
|
},
|
|
3194
3194
|
now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
|
|
3195
3195
|
log
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-ESVW4MJY.js';
|
|
4
4
|
import { detectActiveSession, transcriptPathForSession } from './chunk-IP7BIBXJ.js';
|
|
5
|
-
import { autoConnect } from './chunk-
|
|
5
|
+
import { autoConnect } from './chunk-GJHOU5V3.js';
|
|
6
6
|
import { C } from './chunk-ANPNT6PM.js';
|
|
7
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
7
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-IZKUPAXF.js';
|
|
8
8
|
import { readLatestProvenanceForSession } from './chunk-ZJSNLVCE.js';
|
|
9
|
-
import { resolveRepoIdentity, defaultProjectsDir, findTranscripts, sessionIdFromPath, scrubText } from './chunk-
|
|
9
|
+
import { resolveRepoIdentity, defaultProjectsDir, findTranscripts, sessionIdFromPath, scrubText } from './chunk-A2KLVZBU.js';
|
|
10
10
|
import { launchedItemForSession } from './chunk-T2Q7ISPE.js';
|
|
11
11
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
12
12
|
import { cliInvocation } from './chunk-CRB3POP4.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
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-
|
|
6
|
-
import { FD_SLOTS_PER_BUILD, FD_STORE_ENV, BUILD_SLICE_MEMORY_ENV, CLAUDE_CREDENTIAL_ID, CLAUDE_ENV_FILE, credentialLineIn, withoutCredentialLines } from './chunk-
|
|
3
|
+
import { builtinKind, keepsHostBuilder } from './chunk-QXAPVAPR.js';
|
|
4
|
+
import { parseSize } from './chunk-2LCNMAWP.js';
|
|
5
|
+
import { runnerDir } from './chunk-2CW2QMSG.js';
|
|
6
|
+
import { FD_SLOTS_PER_BUILD, FD_STORE_ENV, BUILD_SLICE_MEMORY_ENV, CLAUDE_CREDENTIAL_ID, CLAUDE_ENV_FILE, credentialLineIn, withoutCredentialLines } from './chunk-4N7BQBO4.js';
|
|
7
7
|
import { existsSync, readFileSync, writeFileSync, chmodSync, renameSync } from 'fs';
|
|
8
8
|
import { dirname, join } from 'path';
|
|
9
9
|
import { spawnSync } from 'child_process';
|
|
@@ -3,10 +3,10 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { DEFAULT_DASHBOARD } from './chunk-NWHU5G6R.js';
|
|
4
4
|
import { sanitizeTerminal } from './chunk-IXPH4EXK.js';
|
|
5
5
|
import { isAgentsMdLayout } from './chunk-LYCJQOO2.js';
|
|
6
|
-
import { cliFetch, resolveGatewayCredentials } from './chunk-
|
|
6
|
+
import { cliFetch, resolveGatewayCredentials } from './chunk-IZKUPAXF.js';
|
|
7
7
|
import { readCloudConfig } from './chunk-PJDQPF5N.js';
|
|
8
8
|
import { findGitDirs, writeRepoConnection, readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
9
|
-
import { remoteLookupFailed } from './chunk-
|
|
9
|
+
import { remoteLookupFailed } from './chunk-A2KLVZBU.js';
|
|
10
10
|
import { cliInvocation } from './chunk-CRB3POP4.js';
|
|
11
11
|
import { execFileSync } from 'child_process';
|
|
12
12
|
import { lstatSync } from 'fs';
|
|
@@ -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 { builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-
|
|
6
|
-
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK, volumeBytes } from './chunk-
|
|
7
|
-
import { spawnRun, RUNNER_LABEL, BUILD_LABEL } from './chunk-
|
|
3
|
+
import { placeholderQueues, placeholderProblem } from './chunk-7JBG43BX.js';
|
|
4
|
+
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-N4KQMGEZ.js';
|
|
5
|
+
import { builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-QXAPVAPR.js';
|
|
6
|
+
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK, volumeBytes } from './chunk-7LKOOGSN.js';
|
|
7
|
+
import { spawnRun, RUNNER_LABEL, BUILD_LABEL } from './chunk-2LCNMAWP.js';
|
|
8
8
|
import { builderDiskPinned } from './chunk-D3CT6XQ4.js';
|
|
9
|
-
import { BUILD_SLICE_MEMORY_ENV, FORWARDED_CLAUDE_CREDENTIAL_VARIABLES, claudeCredentialVariablesSet, claudeCredential, claudeEnvPath, parseRunnerEnv } from './chunk-
|
|
9
|
+
import { BUILD_SLICE_MEMORY_ENV, FORWARDED_CLAUDE_CREDENTIAL_VARIABLES, claudeCredentialVariablesSet, claudeCredential, claudeEnvPath, parseRunnerEnv } from './chunk-4N7BQBO4.js';
|
|
10
10
|
import { closeSync, openSync, constants, readFileSync } from 'fs';
|
|
11
11
|
import { join, dirname } from 'path';
|
|
12
12
|
import { totalmem } from 'os';
|
|
@@ -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-2CW2QMSG.js';
|
|
5
5
|
import { readFileSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
6
6
|
import { join } from 'path';
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { currentLink } from './chunk-
|
|
3
|
+
import { currentLink } from './chunk-E3GX4WVJ.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';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { removeRetiredSkills } from './chunk-LMYRR5MO.js';
|
|
4
|
-
import { defaultFetch, resolveGatewayCredentials } from './chunk-
|
|
4
|
+
import { defaultFetch, resolveGatewayCredentials } from './chunk-IZKUPAXF.js';
|
|
5
5
|
import { appendContextProvenance } from './chunk-ZJSNLVCE.js';
|
|
6
6
|
import { loadMaintainedFiles, writeMaintainedFiles } from './chunk-OVNF4LLC.js';
|
|
7
7
|
import { cliInvocation } from './chunk-CRB3POP4.js';
|
|
8
8
|
import { writeDegraded, writeSourceCache, SOURCE_CACHE_TTL_RETRY_MS, writeContextManifest, SOURCE_CACHE_TTL_SUCCESS_MS, readSourceCache, isSourceCacheFresh, clearDegraded } from './chunk-YQR6E6OV.js';
|
|
9
9
|
import { normalizeRepoName, parseOuterlayerConfig, classifyTree, emitTree } from './chunk-XFJ7YOPD.js';
|
|
10
10
|
import { homeFromEnv } from './chunk-VNVZDWO3.js';
|
|
11
|
-
import { withTokenHeader } from './chunk-
|
|
11
|
+
import { withTokenHeader } from './chunk-4N7BQBO4.js';
|
|
12
12
|
import { execFileSync } from 'child_process';
|
|
13
13
|
import { existsSync, mkdirSync, writeFileSync, chmodSync, lstatSync, readFileSync, copyFileSync } from 'fs';
|
|
14
14
|
import { isAbsolute, join, dirname } from 'path';
|
|
@@ -1,10 +1,10 @@
|
|
|
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-
|
|
3
|
+
import { DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-7LKOOGSN.js';
|
|
4
|
+
import { parseSize } from './chunk-2LCNMAWP.js';
|
|
5
5
|
import { builderDiskPinned } from './chunk-D3CT6XQ4.js';
|
|
6
6
|
import { homeFromEnv } from './chunk-VNVZDWO3.js';
|
|
7
|
-
import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-
|
|
7
|
+
import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-4N7BQBO4.js';
|
|
8
8
|
import { existsSync, statSync, accessSync, constants, readFileSync } from 'fs';
|
|
9
9
|
import { hostname } from 'os';
|
|
10
10
|
import { join } from 'path';
|
|
@@ -1,8 +1,8 @@
|
|
|
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-
|
|
5
|
-
import { claudeEnvPath, withoutCredentialLines, parseRunnerEnv } from './chunk-
|
|
3
|
+
import { DEFAULT_UNIT_NAME } from './chunk-N4KQMGEZ.js';
|
|
4
|
+
import { RUNNER_FILE_MODE } from './chunk-2CW2QMSG.js';
|
|
5
|
+
import { claudeEnvPath, withoutCredentialLines, parseRunnerEnv } from './chunk-4N7BQBO4.js';
|
|
6
6
|
import { existsSync, readFileSync, writeFileSync, renameSync, rmSync } from 'fs';
|
|
7
7
|
import { join, dirname } from 'path';
|
|
8
8
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { WorkCommandError, postJson } from './chunk-
|
|
4
|
-
import { defaultGitRunner, materializeContext, fetchControlPlaneCommit, lookupGoverningSource } from './chunk-
|
|
5
|
-
import { signingFetchFor } from './chunk-
|
|
6
|
-
import { signerFor } from './chunk-
|
|
3
|
+
import { WorkCommandError, postJson } from './chunk-72N7GOLM.js';
|
|
4
|
+
import { defaultGitRunner, materializeContext, fetchControlPlaneCommit, lookupGoverningSource } from './chunk-QTL7VZVF.js';
|
|
5
|
+
import { signingFetchFor } from './chunk-IZKUPAXF.js';
|
|
6
|
+
import { signerFor } from './chunk-VJQQVTCS.js';
|
|
7
7
|
import { unsupportedLayout, layoutRefusalReason, composeDelivery } from './chunk-FGF52V4V.js';
|
|
8
8
|
import { SHIM_SCRIPT, GOVERNANCE_VARIABLE } from './chunk-HCVLP7XA.js';
|
|
9
9
|
import { readDegraded, readContextManifest, readSourceCache } from './chunk-YQR6E6OV.js';
|
|
10
|
-
import { SHIM_DIR, stagedContextDir, contextHomeDir, deliveryDir, keptContextDir } from './chunk-
|
|
10
|
+
import { SHIM_DIR, stagedContextDir, contextHomeDir, deliveryDir, keptContextDir } from './chunk-2CW2QMSG.js';
|
|
11
11
|
import { fstatSync, mkdirSync, writeFileSync, chmodSync, rmSync, cpSync, readFileSync, existsSync, lstatSync } from 'fs';
|
|
12
12
|
import { relative, join, dirname } from 'path';
|
|
13
13
|
|
|
@@ -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-2CW2QMSG.js';
|
|
4
4
|
import { readFileSync, existsSync, rmSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
5
5
|
import { join } from 'path';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { hostKeyPath, runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
3
|
+
import { hostKeyPath, runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-2CW2QMSG.js';
|
|
4
4
|
import { generateKeyPairSync, createPrivateKey, createPublicKey, sign } from 'crypto';
|
|
5
5
|
import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'fs';
|
|
6
6
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { TUNNEL_PORT, BRIDGE_ADDRESS, BRIDGE_CIDR } from './chunk-
|
|
4
|
-
import { EXEC_PORT } from './chunk-
|
|
3
|
+
import { TUNNEL_PORT, BRIDGE_ADDRESS, BRIDGE_CIDR } from './chunk-BUVDDPOM.js';
|
|
4
|
+
import { EXEC_PORT } from './chunk-DKIZDYUX.js';
|
|
5
5
|
import { startTimeOf } from './chunk-JBJTC3UU.js';
|
|
6
|
-
import { RELAY_PORT } from './chunk-
|
|
6
|
+
import { RELAY_PORT } from './chunk-4N7BQBO4.js';
|
|
7
7
|
import { spawn, spawnSync } from 'child_process';
|
|
8
8
|
import { symlinkSync, lstatSync, writeFileSync, chmodSync, mkdirSync, existsSync } from 'fs';
|
|
9
9
|
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-ESVW4MJY.js';
|
|
4
4
|
import { detectActiveSession } from './chunk-IP7BIBXJ.js';
|
|
5
|
-
import { autoConnect } from './chunk-
|
|
5
|
+
import { autoConnect } from './chunk-GJHOU5V3.js';
|
|
6
6
|
import { C } from './chunk-ANPNT6PM.js';
|
|
7
7
|
import { acquireSpoolLockAt } from './chunk-IXPH4EXK.js';
|
|
8
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
9
|
-
import { resolveRepoIdentity } from './chunk-
|
|
8
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-IZKUPAXF.js';
|
|
9
|
+
import { resolveRepoIdentity } from './chunk-A2KLVZBU.js';
|
|
10
10
|
import { launchedItemForSession } from './chunk-T2Q7ISPE.js';
|
|
11
11
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
12
12
|
import { StepNameSchema, StepBodySchema } from './chunk-DINRXUQA.js';
|
|
@@ -252,7 +252,7 @@ async function runClaudeLauncher(args, deps = {}) {
|
|
|
252
252
|
return 1;
|
|
253
253
|
}
|
|
254
254
|
} else {
|
|
255
|
-
const { resolveLaunchPlane } = await import('./control-plane-launch-
|
|
255
|
+
const { resolveLaunchPlane } = await import('./control-plane-launch-RJSAIFEP.js');
|
|
256
256
|
const plane = env[GOVERNANCE_VARIABLE] === "self" ? { kind: "none" } : await resolveLaunchPlane({ cwd, env, home, fetchImpl: deps.fetchImpl, stderr });
|
|
257
257
|
if (plane.kind === "none") {
|
|
258
258
|
const own2 = ownSkillsDirFor(cwd, home, [], stderr);
|