@outerlayer/cli 0.34.0-next.20261029014930 → 0.34.0-next.20261029100627
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-J2WZHYN5.js → agent-setup-UPIHHKI2.js} +6 -6
- package/dist/{bridge-4GRZFXJU.js → bridge-XM4QLKIX.js} +2 -2
- package/dist/{build-2JBISOVR.js → build-ZWUKJL5I.js} +9 -9
- package/dist/{build-disk-ECEVCK35.js → build-disk-BF56FZBB.js} +7 -7
- package/dist/build-info.json +1 -1
- package/dist/{builder-OMDEUDO3.js → builder-PDLGG4DQ.js} +6 -6
- package/dist/{caller-P5ZHKVD5.js → caller-LJDOBQTM.js} +9 -9
- package/dist/{check-6ZGMF7VF.js → check-ZGD773U7.js} +40 -40
- package/dist/{chunk-X4PYXWBY.js → chunk-2F43WNKI.js} +3 -3
- package/dist/{chunk-LLQGVGFO.js → chunk-2I6VHGJA.js} +5 -5
- package/dist/{chunk-PGJY7XTY.js → chunk-2OE4BZRF.js} +2 -2
- package/dist/{chunk-UTIRCHI5.js → chunk-3EEJGQEJ.js} +3 -3
- package/dist/{chunk-5W2YSWIW.js → chunk-4PH4DVV4.js} +1 -1
- package/dist/{chunk-76VJKVM5.js → chunk-4ZJI3IG2.js} +7 -7
- package/dist/{chunk-QTNWAV23.js → chunk-5XV27STP.js} +7 -7
- package/dist/{chunk-32QKEHC7.js → chunk-6WVUXK3M.js} +9 -9
- package/dist/{chunk-K6LLZONM.js → chunk-7CIU64OH.js} +2 -2
- package/dist/{chunk-F57NE5AO.js → chunk-7R655ODT.js} +1 -1
- package/dist/{chunk-7T5MUKW6.js → chunk-AGMR4IQE.js} +5 -5
- package/dist/{chunk-GOSOKVBF.js → chunk-AUVJMR3P.js} +1 -1
- package/dist/{chunk-N2OG4RN6.js → chunk-AVHPSB65.js} +1 -1
- package/dist/{chunk-XKV6HXKD.js → chunk-BETYII72.js} +2 -2
- package/dist/{chunk-7TIFAOUG.js → chunk-BGADM7E5.js} +9 -9
- package/dist/{chunk-SMYOFJHK.js → chunk-CDVG2LXT.js} +1 -1
- package/dist/{chunk-6OAOOAJO.js → chunk-CNN7JBVU.js} +5 -5
- package/dist/{chunk-3MKCUCG7.js → chunk-DM4TDEYF.js} +18 -18
- package/dist/{chunk-BWJRNMZZ.js → chunk-DPXJ5RJU.js} +4 -4
- package/dist/{chunk-KWFJF4CX.js → chunk-E2NZMEVD.js} +23 -23
- package/dist/{chunk-T3XPLCJG.js → chunk-F26I6GKL.js} +2 -2
- package/dist/{chunk-6JDEP42Z.js → chunk-FAA2URUR.js} +2 -2
- package/dist/{chunk-YLPJOUVF.js → chunk-GANAOCHR.js} +6 -1
- package/dist/{chunk-FNS2RJ5T.js → chunk-GBMTKV5B.js} +1 -1
- package/dist/{chunk-RC2WZQK6.js → chunk-H2GESWLW.js} +3 -3
- package/dist/{chunk-EFZM7UOP.js → chunk-HERRKKES.js} +5 -5
- package/dist/{chunk-DG25T7AY.js → chunk-HS5QEIJT.js} +1 -1
- package/dist/{chunk-UZDWCSLS.js → chunk-IUPYSGCP.js} +2 -2
- package/dist/{chunk-GD4AXYK3.js → chunk-JFALOM5G.js} +2 -2
- package/dist/{chunk-B7ZC2HKE.js → chunk-JJ7YQWYS.js} +3 -3
- package/dist/{chunk-HUS3GYCX.js → chunk-JQOET7TF.js} +5 -5
- package/dist/{chunk-7B6CKPNZ.js → chunk-LGCXRKIG.js} +4 -4
- package/dist/{chunk-DUV33KMD.js → chunk-LW2A24IA.js} +1 -1
- package/dist/{chunk-G7OVITGQ.js → chunk-MCK4XMV5.js} +3 -3
- package/dist/{chunk-BBJ6BM5U.js → chunk-MKSZHT6S.js} +1 -1
- package/dist/{chunk-CM4J53WZ.js → chunk-NGT2CCGM.js} +1 -1
- package/dist/{chunk-PNAVR5OD.js → chunk-O7CGRDRQ.js} +2 -2
- package/dist/{chunk-D3CT6XQ4.js → chunk-PZN4L2DN.js} +2 -2
- package/dist/{chunk-RZ22SWMA.js → chunk-SHPCVBT3.js} +1 -1
- package/dist/{chunk-ZQQNWDPE.js → chunk-SQGD4LYW.js} +1 -1
- package/dist/{chunk-YZSE7EYM.js → chunk-UGPJIKN4.js} +2 -2
- package/dist/{chunk-JEOBBOZY.js → chunk-URKE5WTV.js} +4 -4
- package/dist/{chunk-ROQPDCRU.js → chunk-UZGQT6OF.js} +1 -1
- package/dist/{chunk-E4R3M6XJ.js → chunk-VNHBDHX7.js} +1 -1
- package/dist/{chunk-5VGVYEFT.js → chunk-W74HQLLZ.js} +2 -2
- package/dist/{chunk-QNISFH47.js → chunk-WG3VIMD2.js} +1 -1
- package/dist/{chunk-2RTGZ6AE.js → chunk-WN45SWHR.js} +2 -2
- package/dist/{chunk-QOVUDIUI.js → chunk-XU5BNWX7.js} +1 -1
- package/dist/{chunk-HFHRTVXN.js → chunk-YBP22LDO.js} +2 -2
- package/dist/{chunk-HSE2LOWO.js → chunk-YQHUCOUL.js} +1 -1
- package/dist/{chunk-D7BEGG7T.js → chunk-ZI7JENTB.js} +1 -1
- package/dist/{chunk-I35CNSPC.js → chunk-ZO4ZOPYX.js} +67 -31
- package/dist/{claude-launcher-GACOES7Z.js → claude-launcher-MMCKOBND.js} +1 -1
- package/dist/{cli-A3IUMZHY.js → cli-TCDMN5CR.js} +112 -112
- package/dist/{command-XPDD3473.js → command-WP6ZOCWH.js} +27 -27
- package/dist/{config-7DT7UVUI.js → config-SGSBDXW2.js} +8 -8
- package/dist/{connect-cmd-TWSO7YKC.js → connect-cmd-APZN6F6N.js} +5 -5
- package/dist/{container-start-2AQWC275.js → container-start-3RUFM2G2.js} +33 -33
- package/dist/{context-show-cmd-6MEUB3HU.js → context-show-cmd-OWREGUJL.js} +6 -6
- package/dist/{control-plane-launch-6NN5ZSP3.js → control-plane-launch-FV5Q6GVJ.js} +5 -5
- package/dist/{demo-record-cmd-2FY7VCIL.js → demo-record-cmd-5QCGW3F2.js} +4 -4
- package/dist/{demo-voice-cmd-GJNJNEAI.js → demo-voice-cmd-7FHRYSCX.js} +12 -12
- package/dist/{docker-DLJTPUC5.js → docker-UYJ2BXB2.js} +6 -6
- package/dist/{doctor-HYDAFWR2.js → doctor-GS6VC336.js} +27 -27
- package/dist/{emit-artifact-cmd-TTLDSPP3.js → emit-artifact-cmd-NFAASCXW.js} +10 -10
- package/dist/{emit-criteria-cmd-MZSFNXTL.js → emit-criteria-cmd-TX4LKO5X.js} +7 -7
- package/dist/{emit-demo-cmd-CPC6OR6A.js → emit-demo-cmd-4PVJYO5S.js} +12 -12
- package/dist/{emit-finding-cmd-6ABNXD5P.js → emit-finding-cmd-LO2AKL4P.js} +7 -7
- package/dist/{emit-result-cmd-7STD6BH3.js → emit-result-cmd-7PL4HNXL.js} +9 -9
- package/dist/{emit-step-cmd-A35LWNWB.js → emit-step-cmd-RZT6VK5U.js} +7 -7
- package/dist/{exec-client-U4544U2S.js → exec-client-UHL7WPDO.js} +3 -3
- package/dist/find-unit-XGGULXYG.js +19 -0
- package/dist/{findings-cmd-JNLW5T2Q.js → findings-cmd-MEU7GDRC.js} +7 -7
- package/dist/{fleet-readiness-7WASGVPR.js → fleet-readiness-4RNICYSP.js} +5 -5
- package/dist/{governing-source-SQE47DKU.js → governing-source-6DH2NLPE.js} +9 -9
- package/dist/{guest-init-73ZCYECM.js → guest-init-2TTQKFFZ.js} +4 -4
- package/dist/{hook-fast-AELCXUNA.js → hook-fast-5PNO5HRO.js} +1 -1
- package/dist/{host-checks-EM7CVCO6.js → host-checks-5MJC6PH7.js} +31 -31
- package/dist/{pending-GBIXDPY7.js → host-key-Q5DEAP3Q.js} +3 -3
- package/dist/{image-tag-6KN2SKDZ.js → image-tag-JWATDMIZ.js} +3 -3
- package/dist/index.js +4 -4
- package/dist/{init-NEOWYRSR.js → init-PVDEFMUR.js} +24 -24
- package/dist/{init-4U2IAN5U.js → init-ZTQMCBGK.js} +24 -24
- package/dist/{init-cmd-WRNXDUM7.js → init-cmd-NHZUAKHE.js} +10 -10
- package/dist/{init-update-ATXYAAAD.js → init-update-5PTU5IE6.js} +8 -8
- package/dist/{install-cmd-WF2N2SKL.js → install-cmd-ZEFBJH24.js} +5 -5
- package/dist/{logs-WEJHWBLM.js → logs-3YRC7HRA.js} +2 -2
- package/dist/{loop-IHQ4UMRY.js → loop-ZN7G2TXF.js} +39 -39
- package/dist/{machine-VNDSSHQA.js → machine-AMVFNL36.js} +24 -24
- package/dist/{mcp-serve-cmd-YT63QC7W.js → mcp-serve-cmd-PKXIHUOX.js} +4 -4
- package/dist/{paths-IGFAJFPN.js → paths-7PC3K7C3.js} +2 -2
- package/dist/{host-key-ZRXO2BXZ.js → pending-2VIIFAP4.js} +3 -3
- package/dist/{pidfile-BDQMJPLA.js → pidfile-KQ2EJABZ.js} +3 -3
- package/dist/{record-KLNLIQVR.js → record-IHEF6C33.js} +3 -3
- package/dist/{runner-env-PBTT2CNL.js → runner-env-FBK4LTZZ.js} +10 -10
- package/dist/{runner-identity-JVG53E73.js → runner-identity-YBOC7QII.js} +6 -6
- package/dist/{runner-key-YKHIRBO4.js → runner-key-OLETR57F.js} +24 -24
- package/dist/{session-sender-SNBEWETV.js → session-sender-GJEVFQVN.js} +10 -10
- package/dist/{spec-cmd-VPP66GMQ.js → spec-cmd-BRTO5J2C.js} +8 -8
- package/dist/{state-VIWYAWVB.js → state-FJPSFOID.js} +3 -3
- package/dist/{status-HY5FJPJV.js → status-YKHTXJ2A.js} +31 -31
- package/dist/{sync-cmd-7BG47GNA.js → sync-cmd-EO4TP2K7.js} +9 -9
- package/dist/{update-steps-NI25AAQM.js → update-steps-DKSSL2IE.js} +32 -32
- package/dist/{watch-QMKKCF2B.js → watch-EG6MYI3O.js} +9 -9
- package/dist/{work-claim-cmd-UUMDPIZG.js → work-claim-cmd-BA57U5QT.js} +14 -14
- package/dist/{work-cmd-5QGKKDFY.js → work-cmd-PKEAVXJC.js} +7 -7
- package/dist/{work-comment-cmd-YJ3JTQ5B.js → work-comment-cmd-7IEOLOOK.js} +8 -8
- package/dist/{work-demo-cmd-AQ4JVDCK.js → work-demo-cmd-GKMBBMMM.js} +7 -7
- package/dist/{work-logs-cmd-TQTA7KQK.js → work-logs-cmd-44ZOKO5E.js} +7 -7
- package/dist/{work-open-pr-cmd-2NFF3RYJ.js → work-open-pr-cmd-YYQLQ7DN.js} +8 -8
- package/dist/{work-pr-cmd-R5VRWQJD.js → work-pr-cmd-ILCIO22W.js} +7 -7
- package/dist/{work-proofs-cmd-UYGYDIYY.js → work-proofs-cmd-AWN5CKL7.js} +8 -8
- package/dist/{work-proofs-record-U3KQOM5Z.js → work-proofs-record-Y7W4PBM2.js} +15 -15
- package/dist/{work-stop-cmd-SIAX4XAA.js → work-stop-cmd-5VPW7HOZ.js} +7 -7
- package/package.json +1 -1
- package/dist/find-unit-ZMUTRE46.js +0 -19
|
@@ -2,27 +2,27 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { itemsSentence, criteriaOf, hostItemsOf, loadCitationFinder, testFileMatcher, MAX_TEST_FILE_BYTES, MAX_TEST_FILES, criterionInputs, uncitedIds, planCriteria, parseJudgeAnswer, inCriteriaOrder, oneLineReason, judgedItems, IdScan, firstInPathOrder, isSearchCandidate } from './chunk-2B6EKUBD.js';
|
|
4
4
|
import { readsJobState, READ_JOB_STATE_FORMATS, jobStateFormatOf } from './chunk-ZVB57WI6.js';
|
|
5
|
-
import { HELPER_PATH, DOCKERD_LOG, HELPER_RECORD } from './chunk-
|
|
6
|
-
import { writeDockerClientConfig } from './chunk-
|
|
5
|
+
import { HELPER_PATH, DOCKERD_LOG, HELPER_RECORD } from './chunk-H2GESWLW.js';
|
|
6
|
+
import { writeDockerClientConfig } from './chunk-MKSZHT6S.js';
|
|
7
7
|
import { zodProblem } from './chunk-I3LTIAOR.js';
|
|
8
|
-
import { senderPidfile } from './chunk-
|
|
9
|
-
import { installScrubContext } from './chunk-
|
|
8
|
+
import { senderPidfile } from './chunk-O7CGRDRQ.js';
|
|
9
|
+
import { installScrubContext } from './chunk-AGMR4IQE.js';
|
|
10
10
|
import { upgradedStarterText } from './chunk-WJTIU2A5.js';
|
|
11
|
-
import { ADDED_USER, shellQuote, GH_CONFIG_YML, ghHostsYml, firstLine, provisionWithFreshFallback, itemTag, hasClaudeCredential, AssetError, obtainImage, taggedLog, planSavedState, clockOf, savedStateBase, savedStatesDir, ensureRootfs, makeBuildsDirPrivate, gitRemoteFor, startServicesFor, createLeaseChannel, createBuildDisk, machineConfig, startJailedInto, resolveAgentUser, AgentUserError, agentUidOf, userIdChangedReason, runBuildSteps, setupInputFor, runtimeStepInput, settleFailedSteps, keepRuntimeStep, keepMissingSetupScripts, createContainerRuntime, containerSenderCommand, hostCommandEnvironment, execArgv, signalInContainer, startHostServices, LEASE_SECONDS, itemScope, managedBuildSettingsFor, stopContainer, cleanupContainer, recordProofsInContainer, PROOFS_LOG, outOfMemoryReason, closeHostBuild, dropManagedClaudeKey, dropManagedBuildSettings, startCheckContainer, ranRuntimeStep, provisionRuntimes, lifecycleSteps, lifecycleFailureReason, runSetupScripts, writeEvalInput, DeliveryFailure, EVAL_INPUT_NAME, syncInContainer, copyTranscriptsFromContainer, senderAliveScript, discardUnusableState, MANAGED_UNJAILED_REASON, uidFromProbe, saveAndPrune, managedMachineLimits, withFactoryHosts, helperFirecrackerNote, said, managedClaudeKeyValuesFor, managedBuildSettingValuesFor, managedClaudeKeyValues, managedBuildSettingValues, stopJailed, deleteBuildDisk, RECORD_PROOFS_ARGV, managedClaudeKeyFor, ROOT_DISK_ID_PREFIX, copyTranscripts, writeRecord, containerJudgeEnvironment, deleteRecord, senderSignalScript, copyJudgeTree } from './chunk-
|
|
12
|
-
import { fetchCommit, readBranchHead, diffBetween } from './chunk-
|
|
11
|
+
import { ADDED_USER, shellQuote, GH_CONFIG_YML, ghHostsYml, firstLine, provisionWithFreshFallback, itemTag, hasClaudeCredential, AssetError, obtainImage, taggedLog, planSavedState, clockOf, savedStateBase, savedStatesDir, ensureRootfs, makeBuildsDirPrivate, gitRemoteFor, startServicesFor, createLeaseChannel, createBuildDisk, machineConfig, startJailedInto, resolveAgentUser, AgentUserError, agentUidOf, userIdChangedReason, runBuildSteps, setupInputFor, runtimeStepInput, settleFailedSteps, keepRuntimeStep, keepMissingSetupScripts, createContainerRuntime, containerSenderCommand, hostCommandEnvironment, execArgv, signalInContainer, startHostServices, LEASE_SECONDS, itemScope, managedBuildSettingsFor, stopContainer, cleanupContainer, recordProofsInContainer, PROOFS_LOG, outOfMemoryReason, closeHostBuild, dropManagedClaudeKey, dropManagedBuildSettings, startCheckContainer, ranRuntimeStep, provisionRuntimes, lifecycleSteps, lifecycleFailureReason, runSetupScripts, writeEvalInput, DeliveryFailure, EVAL_INPUT_NAME, syncInContainer, copyTranscriptsFromContainer, senderAliveScript, discardUnusableState, MANAGED_UNJAILED_REASON, uidFromProbe, saveAndPrune, managedMachineLimits, withFactoryHosts, helperFirecrackerNote, said, managedClaudeKeyValuesFor, managedBuildSettingValuesFor, managedClaudeKeyValues, managedBuildSettingValues, stopJailed, deleteBuildDisk, RECORD_PROOFS_ARGV, managedClaudeKeyFor, ROOT_DISK_ID_PREFIX, copyTranscripts, writeRecord, containerJudgeEnvironment, deleteRecord, senderSignalScript, copyJudgeTree } from './chunk-ZO4ZOPYX.js';
|
|
12
|
+
import { fetchCommit, readBranchHead, diffBetween } from './chunk-5XV27STP.js';
|
|
13
13
|
import { isSameProcess, startTimeOf } from './chunk-JBJTC3UU.js';
|
|
14
|
-
import { waitForAgent, vmExecArgs } from './chunk-
|
|
15
|
-
import { socketPathProblem, vsockLinks, LEASE_LINK, linkVsockSockets } from './chunk-
|
|
16
|
-
import { describeCallFailure, resolveGoverningSource, prefetchGovernedContext, refusalCode, removeStagedContext, stageGovernedContext, pinnedSourceOf, commandWithShim, logStamp, createRunnerLog, formatDuration, removeKeptContext, retrySend, formatClock, keptContextTree, WORKFLOW_PERMISSION_REASON } from './chunk-
|
|
17
|
-
import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey } from './chunk-
|
|
18
|
-
import { imageBuildOf, isBuiltinContainer, isBuiltinProcess, isBuiltinVm, egressSummary, DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SETUP_MINUTES, optionalEgress } from './chunk-
|
|
19
|
-
import { formatBytes, DEFAULT_CACHE_DISK, allocatedBytes } from './chunk-
|
|
20
|
-
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-
|
|
21
|
-
import { CLAUDE_CODE_VERSION, FIRECRACKER_VERSION } from './chunk-
|
|
22
|
-
import { WorkCommandError, postJson, isSignatureRefusal, getJson } from './chunk-
|
|
14
|
+
import { waitForAgent, vmExecArgs } from './chunk-4PH4DVV4.js';
|
|
15
|
+
import { socketPathProblem, vsockLinks, LEASE_LINK, linkVsockSockets } from './chunk-UZGQT6OF.js';
|
|
16
|
+
import { describeCallFailure, resolveGoverningSource, prefetchGovernedContext, refusalCode, removeStagedContext, stageGovernedContext, pinnedSourceOf, commandWithShim, logStamp, createRunnerLog, formatDuration, removeKeptContext, retrySend, formatClock, keptContextTree, WORKFLOW_PERMISSION_REASON } from './chunk-HERRKKES.js';
|
|
17
|
+
import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey } from './chunk-BETYII72.js';
|
|
18
|
+
import { imageBuildOf, isBuiltinContainer, isBuiltinProcess, isBuiltinVm, egressSummary, DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SETUP_MINUTES, optionalEgress } from './chunk-DPXJ5RJU.js';
|
|
19
|
+
import { formatBytes, DEFAULT_CACHE_DISK, allocatedBytes } from './chunk-FAA2URUR.js';
|
|
20
|
+
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-2I6VHGJA.js';
|
|
21
|
+
import { CLAUDE_CODE_VERSION, FIRECRACKER_VERSION } from './chunk-PZN4L2DN.js';
|
|
22
|
+
import { WorkCommandError, postJson, isSignatureRefusal, getJson } from './chunk-JQOET7TF.js';
|
|
23
23
|
import { planArtifactUpload } from './chunk-PDK35AR4.js';
|
|
24
24
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
25
|
-
import { signerFor } from './chunk-
|
|
25
|
+
import { signerFor } from './chunk-XU5BNWX7.js';
|
|
26
26
|
import { AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, resolvePackRoot } from './chunk-UPRZREBO.js';
|
|
27
27
|
import { scrubText } from './chunk-TV2OQUWE.js';
|
|
28
28
|
import { MAINTAINED_SKILLS } from './chunk-CDDED64E.js';
|
|
@@ -30,8 +30,8 @@ import { resolveVersion } from './chunk-RA3O54FC.js';
|
|
|
30
30
|
import { parsePolicy } from './chunk-5FWBAM6O.js';
|
|
31
31
|
import { CheckItemsSchema } from './chunk-YTTESG7K.js';
|
|
32
32
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
33
|
-
import { RUNNER_FILE_MODE, runnerDir, buildDir, orgStoreIn, vsockPath, jobConsolePath, orgHomeDir } from './chunk-
|
|
34
|
-
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, withMiseVariables } from './chunk-
|
|
33
|
+
import { RUNNER_FILE_MODE, runnerDir, buildDir, orgStoreIn, vsockPath, jobConsolePath, orgHomeDir } from './chunk-YQHUCOUL.js';
|
|
34
|
+
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, withMiseVariables } from './chunk-GANAOCHR.js';
|
|
35
35
|
import { RUNNER_WORDED_REASONS, UNKNOWN_TRACKING_REASON } from './chunk-MESOOLF4.js';
|
|
36
36
|
import { randomBytes, createHash } from 'crypto';
|
|
37
37
|
import { rmSync, existsSync, statSync, appendFileSync, mkdirSync, chmodSync, writeFileSync, openSync, closeSync, readFileSync, readdirSync, createReadStream, lstatSync, realpathSync, writeSync, renameSync, fstatSync, readSync } from 'fs';
|
|
@@ -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-
|
|
5
|
-
import { builderDiskPinned } from './chunk-
|
|
3
|
+
import { DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-FAA2URUR.js';
|
|
4
|
+
import { parseSize } from './chunk-2I6VHGJA.js';
|
|
5
|
+
import { builderDiskPinned } from './chunk-PZN4L2DN.js';
|
|
6
6
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
7
|
-
import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-
|
|
7
|
+
import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-GANAOCHR.js';
|
|
8
8
|
import { existsSync, statSync, accessSync, constants, readFileSync } from 'fs';
|
|
9
9
|
import { hostname } from 'os';
|
|
10
10
|
import { join } from 'path';
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-
|
|
3
|
+
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-ZI7JENTB.js';
|
|
4
4
|
import { decideInstalledSwitch } from './chunk-3JVYMD4G.js';
|
|
5
5
|
import { fetchVersionMeta, npmVersion, npmSupportsProvenance, fetchTarballDigest, fetchProvenance, installVersion, auditSignatures } from './chunk-E7R2GIAW.js';
|
|
6
|
-
import { reportFailedStart, fitImageBuildMemory } from './chunk-
|
|
7
|
-
import { renderUpdateSteps } from './chunk-
|
|
8
|
-
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-
|
|
6
|
+
import { reportFailedStart, fitImageBuildMemory } from './chunk-4ZJI3IG2.js';
|
|
7
|
+
import { renderUpdateSteps } from './chunk-JJ7YQWYS.js';
|
|
8
|
+
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-DM4TDEYF.js';
|
|
9
9
|
import { RUNNER_PROTOCOL } from './chunk-FJ7KTNMD.js';
|
|
10
|
-
import { writeFleetState } from './chunk-
|
|
11
|
-
import { writePendingUpdate } from './chunk-
|
|
10
|
+
import { writeFleetState } from './chunk-LW2A24IA.js';
|
|
11
|
+
import { writePendingUpdate } from './chunk-SHPCVBT3.js';
|
|
12
12
|
import { JOB_STATE_FORMAT, readsJobState, jobStateFormatOf } from './chunk-ZVB57WI6.js';
|
|
13
|
-
import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, createHousekeepingDocker, housekeepingDockerIfReachable, KIND_LABEL, RECIPE_KEY_LABEL, askFleetMachine } from './chunk-
|
|
14
|
-
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-
|
|
13
|
+
import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, createHousekeepingDocker, housekeepingDockerIfReachable, KIND_LABEL, RECIPE_KEY_LABEL, askFleetMachine } from './chunk-6WVUXK3M.js';
|
|
14
|
+
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-7R655ODT.js';
|
|
15
15
|
import { RepoFilter } from './chunk-TBT347UY.js';
|
|
16
|
-
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, LEASE_SECONDS, itemTag, itemScope, 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, usableCpus, stoppedHelperReason, measureDisk, parseCpuList, ensureTunnel, keepGhConfigCurrent, filesAreCopied, savedStatesDir, readRecords, removeOldestUntil, ensureNetworkReady, managedBuildSettingsFor, ADOPTED_FETCH_RETRY_WINDOW_MS, gitRemoteFor, startServicesFor, createLeaseChannel, selectStaleIncomplete, selectExpired, selectToFit, removeSavedState } from './chunk-
|
|
17
|
-
import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-
|
|
16
|
+
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, LEASE_SECONDS, itemTag, itemScope, 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, usableCpus, stoppedHelperReason, measureDisk, parseCpuList, ensureTunnel, keepGhConfigCurrent, filesAreCopied, savedStatesDir, readRecords, removeOldestUntil, ensureNetworkReady, managedBuildSettingsFor, ADOPTED_FETCH_RETRY_WINDOW_MS, gitRemoteFor, startServicesFor, createLeaseChannel, selectStaleIncomplete, selectExpired, selectToFit, removeSavedState } from './chunk-ZO4ZOPYX.js';
|
|
17
|
+
import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-AUVJMR3P.js';
|
|
18
18
|
import { startTimeOf, isSameProcess } from './chunk-JBJTC3UU.js';
|
|
19
|
-
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-
|
|
20
|
-
import { imageTag, writeUpdateStatus, pullInstruction, tagToPull } from './chunk-
|
|
19
|
+
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-HERRKKES.js';
|
|
20
|
+
import { imageTag, writeUpdateStatus, pullInstruction, tagToPull } from './chunk-SQGD4LYW.js';
|
|
21
21
|
import { isVersion, compareVersions, satisfiesRange } from './chunk-TQMI335S.js';
|
|
22
|
-
import { RUNNER_RESERVE_BYTES } from './chunk-
|
|
23
|
-
import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls } from './chunk-
|
|
24
|
-
import { keyRunnerFactory, isBuiltinContainer, isBuiltinVm, isBuiltinProcess, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS } from './chunk-
|
|
25
|
-
import { allocatedBytes, freeBytes, formatBytes } from './chunk-
|
|
26
|
-
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, exceedsDisk, builderName, runnerLabelValue, ensureFailureCount, builderSpec, ensureBuilder, spawnRun, readJobFileChecked } from './chunk-
|
|
27
|
-
import { isSignatureRefusal, WorkCommandError, getJson, postJson } from './chunk-
|
|
28
|
-
import { loadHostKey, ensureHostKey, signerFor } from './chunk-
|
|
22
|
+
import { RUNNER_RESERVE_BYTES } from './chunk-LGCXRKIG.js';
|
|
23
|
+
import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls } from './chunk-BETYII72.js';
|
|
24
|
+
import { keyRunnerFactory, isBuiltinContainer, isBuiltinVm, isBuiltinProcess, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS } from './chunk-DPXJ5RJU.js';
|
|
25
|
+
import { allocatedBytes, freeBytes, formatBytes } from './chunk-FAA2URUR.js';
|
|
26
|
+
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, exceedsDisk, builderName, runnerLabelValue, ensureFailureCount, builderSpec, ensureBuilder, spawnRun, readJobFileChecked } from './chunk-2I6VHGJA.js';
|
|
27
|
+
import { isSignatureRefusal, WorkCommandError, getJson, postJson } from './chunk-JQOET7TF.js';
|
|
28
|
+
import { loadHostKey, ensureHostKey, signerFor } from './chunk-XU5BNWX7.js';
|
|
29
29
|
import { resolveVersion } from './chunk-RA3O54FC.js';
|
|
30
|
-
import { RUNNER_DIR_MODE, runnerDir, buildDir, attemptStamp, jobDir, RUNNER_FILE_MODE, jobsDir, pidFilePath, storeScopes, imagesDir, spoolDir, orgStoreIn, builderCacheDiskPath, rootfsDir } from './chunk-
|
|
31
|
-
import { parseClaimIdentity, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf, sharedUserEnvironment, JOB_MOUNT, takeClaudeCredential, heldClaudeCredential, currentClaudeCredential, fdName } from './chunk-
|
|
30
|
+
import { RUNNER_DIR_MODE, runnerDir, buildDir, attemptStamp, jobDir, RUNNER_FILE_MODE, jobsDir, pidFilePath, storeScopes, imagesDir, spoolDir, orgStoreIn, builderCacheDiskPath, rootfsDir } from './chunk-YQHUCOUL.js';
|
|
31
|
+
import { parseClaimIdentity, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf, sharedUserEnvironment, JOB_MOUNT, takeClaudeCredential, heldClaudeCredential, currentClaudeCredential, fdName } from './chunk-GANAOCHR.js';
|
|
32
32
|
import { COMMAND_LOST_REASON, CONTAINER_STOPPED_REASON } from './chunk-MESOOLF4.js';
|
|
33
33
|
import { mkdirSync, existsSync, chmodSync, writeFileSync, renameSync, statSync, readdirSync, readFileSync, rmSync, closeSync, lstatSync } from 'fs';
|
|
34
34
|
import { join, dirname } from 'path';
|
|
@@ -2337,7 +2337,7 @@ var CLAIM_REFUSAL_CODES = new Set(
|
|
|
2337
2337
|
"pull_request_from_fork pull_request_on_default_branch pull_request_ambiguous pull_request_repository_not_connected repository_not_reachable branch_claimed_elsewhere".split(" ")
|
|
2338
2338
|
);
|
|
2339
2339
|
async function tryClaimAndStart(state, item, queue) {
|
|
2340
|
-
const { postJson: postJson2 } = await import('./work-cmd-
|
|
2340
|
+
const { postJson: postJson2 } = await import('./work-cmd-PKEAVXJC.js');
|
|
2341
2341
|
const log = logOf(state);
|
|
2342
2342
|
const hostKey = await loadHostKey(state.config.configPath);
|
|
2343
2343
|
const claim = await retrySend(
|
|
@@ -3679,7 +3679,7 @@ async function startRunner(configPath, deps, startup) {
|
|
|
3679
3679
|
check: update.check ? () => update.check(configPath) : async () => {
|
|
3680
3680
|
const held = heldClaudeCredential();
|
|
3681
3681
|
const env = held === void 0 ? process.env : { ...process.env, [held.variable]: held.value };
|
|
3682
|
-
return (await import('./check-
|
|
3682
|
+
return (await import('./check-ZGD773U7.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
|
|
3683
3683
|
},
|
|
3684
3684
|
now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
|
|
3685
3685
|
log
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { 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-
|
|
4
|
-
import { PROXY_WARNING_FLAG } from './chunk-
|
|
3
|
+
import { 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-PZN4L2DN.js';
|
|
4
|
+
import { PROXY_WARNING_FLAG } from './chunk-GANAOCHR.js';
|
|
5
5
|
import { RELAY_ID, RELAY_USER } from './chunk-MESOOLF4.js';
|
|
6
6
|
|
|
7
7
|
createRequire(import.meta.url);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { parseSize, BUILD_LABEL, RUNNER_LABEL, runnerLabelValue } from './chunk-
|
|
4
|
-
import { buildsDir, storeScopes, rootfsDir, orgStoreIn, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-
|
|
3
|
+
import { parseSize, BUILD_LABEL, RUNNER_LABEL, runnerLabelValue } from './chunk-2I6VHGJA.js';
|
|
4
|
+
import { buildsDir, storeScopes, rootfsDir, orgStoreIn, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-YQHUCOUL.js';
|
|
5
5
|
import { spawnSync } from 'child_process';
|
|
6
6
|
import { statfsSync, statSync, existsSync, readdirSync } from 'fs';
|
|
7
7
|
import { dirname, join } from 'path';
|
|
@@ -887,11 +887,16 @@ function isMiseVariableAllowed(name) {
|
|
|
887
887
|
function withMiseVariables(env, variables) {
|
|
888
888
|
if (variables === void 0) return env;
|
|
889
889
|
const passed = { ...env.passed };
|
|
890
|
+
const literals = { ...env.literals };
|
|
890
891
|
for (const [name, value] of Object.entries(variables)) {
|
|
892
|
+
if (name === "PATH") {
|
|
893
|
+
if (!(name in env.literals) && passed[name] === void 0) literals[name] = value;
|
|
894
|
+
continue;
|
|
895
|
+
}
|
|
891
896
|
if (!isMiseVariableAllowed(name) || name in env.literals || passed[name] !== void 0) continue;
|
|
892
897
|
passed[name] = value;
|
|
893
898
|
}
|
|
894
|
-
return { ...env, passed };
|
|
899
|
+
return { ...env, literals, passed };
|
|
895
900
|
}
|
|
896
901
|
var NO_VARIABLES = [];
|
|
897
902
|
function buildEnvironment(input) {
|
|
@@ -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-XU5BNWX7.js';
|
|
5
5
|
import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
6
6
|
import { PLAIN_VERSION, recordCliVersion, removeRecordedVersion } from './chunk-OLM2TIOW.js';
|
|
7
7
|
import { resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
@@ -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-
|
|
3
|
+
import { TUNNEL_PORT, BRIDGE_ADDRESS, BRIDGE_CIDR } from './chunk-MKSZHT6S.js';
|
|
4
4
|
import { startTimeOf } from './chunk-JBJTC3UU.js';
|
|
5
|
-
import { EXEC_PORT } from './chunk-
|
|
6
|
-
import { RELAY_PORT } from './chunk-
|
|
5
|
+
import { EXEC_PORT } from './chunk-UZGQT6OF.js';
|
|
6
|
+
import { RELAY_PORT } from './chunk-GANAOCHR.js';
|
|
7
7
|
import { spawn, spawnSync } from 'child_process';
|
|
8
8
|
import { symlinkSync, lstatSync, writeFileSync, chmodSync, mkdirSync, existsSync } from 'fs';
|
|
9
9
|
|
|
@@ -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-JQOET7TF.js';
|
|
4
|
+
import { defaultGitRunner, materializeContext, fetchControlPlaneCommit, lookupGoverningSource } from './chunk-2OE4BZRF.js';
|
|
5
|
+
import { signingFetchFor } from './chunk-GBMTKV5B.js';
|
|
6
|
+
import { signerFor } from './chunk-XU5BNWX7.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-YQHUCOUL.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
|
|
|
@@ -684,7 +684,7 @@ async function missingControlPlane(cwd, sessionId, home, env) {
|
|
|
684
684
|
cleanupEarlierCopies(dirs);
|
|
685
685
|
}
|
|
686
686
|
if (!contextPossiblyGoverned(cwd, home)) return void 0;
|
|
687
|
-
const { governanceOf } = await import('./control-plane-launch-
|
|
687
|
+
const { governanceOf } = await import('./control-plane-launch-FV5Q6GVJ.js');
|
|
688
688
|
if (await governanceOf({ cwd, env, home }) !== "governed") return void 0;
|
|
689
689
|
recordMissingContext(dirs, sessionId, home);
|
|
690
690
|
const launcher = `${cliInvocation()} claude`;
|
|
@@ -1,10 +1,10 @@
|
|
|
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-JQOET7TF.js';
|
|
4
4
|
import { detectActiveSession } from './chunk-IP7BIBXJ.js';
|
|
5
5
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
6
6
|
import { sanitizeTerminal } from './chunk-PDK35AR4.js';
|
|
7
|
-
import { defaultFetch } from './chunk-
|
|
7
|
+
import { defaultFetch } from './chunk-GBMTKV5B.js';
|
|
8
8
|
import { resolveRepoIdentity } from './chunk-TV2OQUWE.js';
|
|
9
9
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
10
10
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-AAGU5FJF.js';
|
|
4
4
|
import { detectActiveSession, transcriptPathForSession } from './chunk-IP7BIBXJ.js';
|
|
5
|
-
import { autoConnect } from './chunk-
|
|
5
|
+
import { autoConnect } from './chunk-UGPJIKN4.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
7
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-GBMTKV5B.js';
|
|
8
8
|
import { readLatestProvenanceForSession } from './chunk-545P7JY7.js';
|
|
9
9
|
import { resolveRepoIdentity, defaultProjectsDir, findTranscripts, sessionIdFromPath, scrubText } from './chunk-TV2OQUWE.js';
|
|
10
10
|
import { launchedItemForSession } from './chunk-5WYT3PPE.js';
|
|
@@ -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-DM4TDEYF.js';
|
|
4
|
+
import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-SQGD4LYW.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-UYJ2BXB2.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,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { detectActiveSession } from './chunk-IP7BIBXJ.js';
|
|
4
|
-
import { autoConnect } from './chunk-
|
|
5
|
-
import { workPageUrl } from './chunk-
|
|
4
|
+
import { autoConnect } from './chunk-UGPJIKN4.js';
|
|
5
|
+
import { workPageUrl } from './chunk-AVHPSB65.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
7
|
import { sanitizeTerminal } from './chunk-PDK35AR4.js';
|
|
8
|
-
import { resolveGatewayCredentials, unauthorizedMessage, defaultFetch } from './chunk-
|
|
9
|
-
import { signRunnerRequest } from './chunk-
|
|
8
|
+
import { resolveGatewayCredentials, unauthorizedMessage, defaultFetch } from './chunk-GBMTKV5B.js';
|
|
9
|
+
import { signRunnerRequest } from './chunk-XU5BNWX7.js';
|
|
10
10
|
import { readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
11
11
|
import { resolveRepoIdentity } from './chunk-TV2OQUWE.js';
|
|
12
12
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
@@ -471,7 +471,7 @@ async function runWorkLinkSession(opts) {
|
|
|
471
471
|
return await linkSession(opts);
|
|
472
472
|
} catch (err) {
|
|
473
473
|
if (opts.logFailures) {
|
|
474
|
-
const { logHookError } = await import('./hook-fast-
|
|
474
|
+
const { logHookError } = await import('./hook-fast-5PNO5HRO.js');
|
|
475
475
|
const reason = err instanceof Error ? err.message : String(err);
|
|
476
476
|
logHookError(opts.home ?? homeFromEnv(opts.env ?? process.env), new Error(`work link-session #${opts.number} failed: ${reason}`));
|
|
477
477
|
}
|
|
@@ -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-DPXJ5RJU.js';
|
|
4
|
+
import { parseSize } from './chunk-2I6VHGJA.js';
|
|
5
|
+
import { runnerDir } from './chunk-YQHUCOUL.js';
|
|
6
|
+
import { FD_SLOTS_PER_BUILD, FD_STORE_ENV, BUILD_SLICE_MEMORY_ENV, CLAUDE_CREDENTIAL_ID, CLAUDE_ENV_FILE, credentialLineIn, withoutCredentialLines } from './chunk-GANAOCHR.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';
|
|
@@ -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-YQHUCOUL.js';
|
|
4
4
|
import { mkdirSync, writeFileSync, renameSync, existsSync, readFileSync } from 'fs';
|
|
5
5
|
import { dirname, join } from 'path';
|
|
6
6
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { DEFAULT_UNIT_NAME } from './chunk-
|
|
4
|
-
import { RUNNER_FILE_MODE } from './chunk-
|
|
5
|
-
import { claudeEnvPath, withoutCredentialLines, parseRunnerEnv } from './chunk-
|
|
3
|
+
import { DEFAULT_UNIT_NAME } from './chunk-LGCXRKIG.js';
|
|
4
|
+
import { RUNNER_FILE_MODE } from './chunk-YQHUCOUL.js';
|
|
5
|
+
import { claudeEnvPath, withoutCredentialLines, parseRunnerEnv } from './chunk-GANAOCHR.js';
|
|
6
6
|
import { existsSync, readFileSync, writeFileSync, renameSync, rmSync } from 'fs';
|
|
7
7
|
import { join, dirname } 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, BUILD_HOME } from './chunk-
|
|
3
|
+
import { RELAY_PORT, BUILD_HOME } from './chunk-GANAOCHR.js';
|
|
4
4
|
import { createServer, connect } from 'net';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_DIGEST } from './chunk-
|
|
3
|
+
import { UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_DIGEST } from './chunk-PZN4L2DN.js';
|
|
4
4
|
import { existsSync, readdirSync, readFileSync, lstatSync, realpathSync, writeFileSync } from 'fs';
|
|
5
5
|
import { join, resolve, relative, dirname, sep, basename } from 'path';
|
|
6
6
|
import { createRequire as createRequire$1 } from 'module';
|
|
@@ -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-AGMR4IQE.js';
|
|
4
|
+
import { spoolDir } from './chunk-HS5QEIJT.js';
|
|
5
5
|
import { CaptureDaemon } from './chunk-TV2OQUWE.js';
|
|
6
6
|
import { parseWorkItemEnv } from './chunk-5WYT3PPE.js';
|
|
7
7
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
@@ -135,8 +135,8 @@ var PLAYWRIGHT_FFMPEG = {
|
|
|
135
135
|
};
|
|
136
136
|
var MEDIA_PINS = `${VOICE_PACK_VERSION}+${FFMPEG_BUILD_TAG}+${HEADLESS_SHELL_VERSION}+${PLAYWRIGHT_FFMPEG_REVISION}`;
|
|
137
137
|
var UNIVERSAL_IMAGE_REPOSITORY = "ghcr.io/outerlayerai/universal";
|
|
138
|
-
var UNIVERSAL_IMAGE_SOURCE = "src-
|
|
139
|
-
var UNIVERSAL_IMAGE_DIGEST = "sha256:
|
|
138
|
+
var UNIVERSAL_IMAGE_SOURCE = "src-2f7fee52a9cd6e694f2f797fdb162e5591e1eab1943b23343fd7f317a4cbf39e";
|
|
139
|
+
var UNIVERSAL_IMAGE_DIGEST = "sha256:33fe194b2a39c5b914f8da709531726ff48662fd7b5f89f97fdba516334dca09";
|
|
140
140
|
var UNIVERSAL_IMAGE = `${UNIVERSAL_IMAGE_REPOSITORY}:${UNIVERSAL_IMAGE_SOURCE}@${UNIVERSAL_IMAGE_DIGEST}`;
|
|
141
141
|
function universalImagePinned(digest = UNIVERSAL_IMAGE_DIGEST) {
|
|
142
142
|
return digest !== `sha256:${"0".repeat(64)}`;
|
|
@@ -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-YQHUCOUL.js';
|
|
4
4
|
import { readFileSync, existsSync, rmSync, 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 { 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-YQHUCOUL.js';
|
|
5
5
|
import { readFileSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
6
6
|
import { join } from 'path';
|
|
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-AVHPSB65.js';
|
|
4
|
+
import { resolveGatewayCredentials } from './chunk-GBMTKV5B.js';
|
|
5
5
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
6
6
|
import { findGitDirs, readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
7
7
|
import { resolveRepoIdentity } from './chunk-TV2OQUWE.js';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readNewestDemo } from './chunk-ER6KQCVJ.js';
|
|
4
|
-
import { runEmitArtifact } from './chunk-
|
|
4
|
+
import { runEmitArtifact } from './chunk-3EEJGQEJ.js';
|
|
5
5
|
import { VoiceDownloadError, downloadPinned, sha256OfFile } from './chunk-2PGI6RDE.js';
|
|
6
|
-
import { VOICE_PACK_FILES, VOICE_PACK_VERSION } from './chunk-
|
|
6
|
+
import { VOICE_PACK_FILES, VOICE_PACK_VERSION } from './chunk-PZN4L2DN.js';
|
|
7
7
|
import { detectActiveSession } from './chunk-IP7BIBXJ.js';
|
|
8
|
-
import { autoConnect } from './chunk-
|
|
8
|
+
import { autoConnect } from './chunk-UGPJIKN4.js';
|
|
9
9
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
10
|
-
import { defaultFetch, resolveGatewayCredentials } from './chunk-
|
|
10
|
+
import { defaultFetch, resolveGatewayCredentials } from './chunk-GBMTKV5B.js';
|
|
11
11
|
import { resolveRepoIdentity } from './chunk-TV2OQUWE.js';
|
|
12
12
|
import { launchedItemForSession } from './chunk-5WYT3PPE.js';
|
|
13
13
|
import { ARTIFACT_MAX_BYTES, ARTIFACT_MAX_CAPTION_LENGTH, DEMO_RECORD_MEDIA_TYPE, ARTIFACT_MAX_REPLACES_TARGETS, DEMO_MANIFEST_LATEST_VERSION, DemoManifestSchema, ARTIFACT_KINDS } from './chunk-YTTESG7K.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RELAY_PORT, GATEWAY_SOCKET, GATEWAY_PORT, CLAUDE_SOCKET, CLAUDE_PORT, DESTINATION_BASE_PORT } from './chunk-
|
|
3
|
+
import { RELAY_PORT, GATEWAY_SOCKET, GATEWAY_PORT, CLAUDE_SOCKET, CLAUDE_PORT, DESTINATION_BASE_PORT } from './chunk-GANAOCHR.js';
|
|
4
4
|
import { symlinkSync, unlinkSync } 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 { currentLink } from './chunk-
|
|
3
|
+
import { currentLink } from './chunk-7R655ODT.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';
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-AAGU5FJF.js';
|
|
4
4
|
import { detectActiveSession } from './chunk-IP7BIBXJ.js';
|
|
5
|
-
import { autoConnect } from './chunk-
|
|
5
|
+
import { autoConnect } from './chunk-UGPJIKN4.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
7
|
import { acquireSpoolLockAt } from './chunk-PDK35AR4.js';
|
|
8
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
8
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-GBMTKV5B.js';
|
|
9
9
|
import { resolveRepoIdentity } from './chunk-TV2OQUWE.js';
|
|
10
10
|
import { launchedItemForSession } from './chunk-5WYT3PPE.js';
|
|
11
11
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { sanitizeTerminal } from './chunk-PDK35AR4.js';
|
|
4
4
|
import { isAgentsMdLayout } from './chunk-62TMOXQN.js';
|
|
5
|
-
import { resolveGatewayCredentials, defaultFetch } from './chunk-
|
|
5
|
+
import { resolveGatewayCredentials, defaultFetch } from './chunk-GBMTKV5B.js';
|
|
6
6
|
import { versionAtLeast } from './chunk-HCVLP7XA.js';
|
|
7
7
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
8
8
|
import { machineSkillsState, staleClaudeSkills } from './chunk-QM3HMXMU.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { escapeUnitPath, UNIT_MARKER, DEFAULT_UNIT_NAME } from './chunk-
|
|
4
|
-
import { inspectService, realInspectProbes } from './chunk-
|
|
3
|
+
import { escapeUnitPath, UNIT_MARKER, DEFAULT_UNIT_NAME } from './chunk-LGCXRKIG.js';
|
|
4
|
+
import { inspectService, realInspectProbes } from './chunk-GANAOCHR.js';
|
|
5
5
|
import { realpathSync, readFileSync, readdirSync } from 'fs';
|
|
6
6
|
import { resolve, dirname, join } from 'path';
|
|
7
7
|
|
|
@@ -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-YQHUCOUL.js';
|
|
4
4
|
import { generateKeyPairSync, createPrivateKey, createPublicKey, sign } from 'crypto';
|
|
5
5
|
import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'fs';
|
|
6
6
|
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-AAGU5FJF.js';
|
|
4
4
|
import { detectActiveSession } from './chunk-IP7BIBXJ.js';
|
|
5
|
-
import { autoConnect } from './chunk-
|
|
5
|
+
import { autoConnect } from './chunk-UGPJIKN4.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
7
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-GBMTKV5B.js';
|
|
8
8
|
import { resolveRepoIdentity } from './chunk-TV2OQUWE.js';
|
|
9
9
|
import { launchedItemForSession } from './chunk-5WYT3PPE.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.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-YQHUCOUL.js';
|
|
4
4
|
import { readFileSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
5
5
|
import { join } from 'path';
|
|
6
6
|
|