@outerlayer/cli 0.36.0-next.20261102213701 → 0.36.0-next.20261103003101
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-7WC4BHY4.js +39 -0
- package/dist/{agent-subcommand-Z4UDDCLB.js → agent-subcommand-LABZ7CVN.js} +5 -5
- package/dist/{bridge-LVTX4DVM.js → bridge-WVWJBVTG.js} +7 -7
- package/dist/{build-W5LRG2AO.js → build-TB4QKVBG.js} +13 -13
- package/dist/{build-disk-3KTQZ6N5.js → build-disk-27ZTD2EH.js} +11 -11
- package/dist/build-info.json +1 -1
- package/dist/{builder-UMCVSMDY.js → builder-DN2S6EVU.js} +10 -10
- package/dist/caller-ZDANV7YK.js +22 -0
- package/dist/{check-NFLR5CGS.js → check-ACHEHGYH.js} +55 -55
- package/dist/{chunk-52RRBTZ5.js → chunk-33OQSCE2.js} +1 -1
- package/dist/{chunk-IOFEDCTL.js → chunk-3JVLRIX3.js} +1 -1
- package/dist/{chunk-DCOQWKLK.js → chunk-3L6XOE4K.js} +1 -1
- package/dist/{chunk-32GBZ7HD.js → chunk-4XYEPTZP.js} +3 -3
- package/dist/{chunk-V6V3NN5G.js → chunk-66GYPUUN.js} +1 -1
- package/dist/{chunk-66UG5SL4.js → chunk-6DOYJN44.js} +3 -3
- package/dist/{chunk-ILP4ABFG.js → chunk-6ILOTKYR.js} +5 -5
- package/dist/{chunk-U37FB7ER.js → chunk-6V6ONATO.js} +2 -2
- package/dist/{chunk-VNXITMKE.js → chunk-7VUTGCGH.js} +1 -1
- package/dist/{chunk-X4QHDRXT.js → chunk-A76SNTAM.js} +1 -1
- package/dist/{chunk-46FKHE74.js → chunk-ASR6TU43.js} +1 -1
- package/dist/{chunk-QJHXX2HG.js → chunk-AU3QZKC4.js} +8 -8
- package/dist/{chunk-REXQKAY7.js → chunk-AUZAQL7C.js} +1 -1
- package/dist/{chunk-F7ODYKBA.js → chunk-AXOO6FNA.js} +3 -3
- package/dist/{chunk-B5GDCCOZ.js → chunk-BGTQHUGU.js} +1 -1
- package/dist/{chunk-QE7L5PJV.js → chunk-CDDWYP73.js} +3 -3
- package/dist/{chunk-TI32Q3VB.js → chunk-CJNZ2FIW.js} +1 -1
- package/dist/{chunk-XILGXRHT.js → chunk-DNUA6244.js} +2 -2
- package/dist/{chunk-JUQ52FZI.js → chunk-DPTBQIF6.js} +3 -3
- package/dist/{chunk-E2U7BBAT.js → chunk-DRGGJH2V.js} +4 -4
- package/dist/{chunk-X2M2G376.js → chunk-DUENAYRI.js} +17 -17
- package/dist/{chunk-KKI3POPP.js → chunk-EA67BJCF.js} +6 -6
- package/dist/{chunk-NTK7RUVE.js → chunk-EDZ2OZYI.js} +6 -6
- package/dist/{chunk-IFLD3WEB.js → chunk-EFSJGRWD.js} +3 -3
- package/dist/{chunk-TOP4K2T6.js → chunk-EI22245K.js} +9 -4
- package/dist/{chunk-AZTTOBJ5.js → chunk-EQ5M2WWA.js} +5 -5
- package/dist/{chunk-36ML3NIO.js → chunk-EYUJCGF2.js} +4 -4
- package/dist/{chunk-M7AIU22N.js → chunk-FINJC6BS.js} +1 -1
- package/dist/{chunk-CXMXXRNS.js → chunk-GANI63IL.js} +1 -1
- package/dist/{chunk-UASEIXDB.js → chunk-GEYJLP6L.js} +33 -29
- package/dist/{chunk-PMXVWQ4T.js → chunk-GIAODP2B.js} +1 -1
- package/dist/{chunk-OROFFYEM.js → chunk-GQHT6N47.js} +5 -5
- package/dist/{chunk-VUINLLWP.js → chunk-GXCU5HTU.js} +3 -3
- package/dist/{chunk-FCMEWS3G.js → chunk-HBE75JAU.js} +5 -5
- package/dist/{chunk-MKGJ7TTH.js → chunk-HLJQONDG.js} +6 -6
- package/dist/{chunk-KTL7GFQ3.js → chunk-HWIV4MF6.js} +1 -1
- package/dist/{chunk-VWMQA7FN.js → chunk-HYRWQYVE.js} +7 -7
- package/dist/{chunk-HKJCNBUB.js → chunk-IVAX5RVX.js} +1 -1
- package/dist/{chunk-2E2WWMRX.js → chunk-JAFSDXK7.js} +24 -24
- package/dist/{chunk-YQGYZB6Y.js → chunk-JYFZC776.js} +5 -5
- package/dist/{chunk-UKDKM6Y6.js → chunk-JZDTDGRO.js} +1 -1
- package/dist/{chunk-4YGPLC5Y.js → chunk-KJN74LA5.js} +7 -7
- package/dist/{chunk-EM4QCRI6.js → chunk-LFUEODDW.js} +8 -8
- package/dist/{chunk-OPUJGPPT.js → chunk-LLCRQWH5.js} +2 -2
- package/dist/{chunk-G3BUOMCF.js → chunk-LLZ2CX4M.js} +7 -3
- package/dist/{chunk-KIY2AUHY.js → chunk-M6FMJXYO.js} +1 -1
- package/dist/{chunk-CBMEWHAR.js → chunk-MDJ6ILXG.js} +1 -1
- package/dist/{chunk-HXSU4JLV.js → chunk-NJKCJVJL.js} +1 -1
- package/dist/{chunk-YIDWZYDY.js → chunk-NTOHZMPN.js} +4 -4
- package/dist/{chunk-LTAMZ36E.js → chunk-ORU76DHF.js} +1 -1
- package/dist/{chunk-V5S6CVGP.js → chunk-P63MQNDV.js} +3 -3
- package/dist/{chunk-YJQBL6SD.js → chunk-PUPUOQ6Y.js} +2 -2
- package/dist/{chunk-JU5SQNFB.js → chunk-PVUBF24F.js} +4 -4
- package/dist/{chunk-FVIDZ3GK.js → chunk-Q7BECZIF.js} +9 -9
- package/dist/{chunk-W3CY6H56.js → chunk-QPIWCDVK.js} +4 -4
- package/dist/{chunk-23SNF2LN.js → chunk-QTU6GW2M.js} +2 -2
- package/dist/{chunk-AACYODIT.js → chunk-R3JSLSMG.js} +4 -4
- package/dist/{chunk-KG5BQFSO.js → chunk-RW6TM4OU.js} +1 -1
- package/dist/{chunk-WGZOLJPP.js → chunk-SSVG2IOD.js} +1 -1
- package/dist/{chunk-HHKVXKQI.js → chunk-UCUZJ5W5.js} +8 -8
- package/dist/{chunk-4Y7IEPQH.js → chunk-UHVYFXW6.js} +4 -4
- package/dist/{chunk-VHX2C7DU.js → chunk-UJISSEJG.js} +1 -1
- package/dist/{chunk-72EOJJVT.js → chunk-UNWCM4FR.js} +6 -6
- package/dist/{chunk-IEFSDAVW.js → chunk-UWYU46GF.js} +1 -1
- package/dist/{chunk-OQZ2B5AN.js → chunk-UZ5SDO7Y.js} +1 -1
- package/dist/{chunk-35OBGZYO.js → chunk-VJKHQSSS.js} +1 -1
- package/dist/{chunk-UQ2YFDGP.js → chunk-VNYAJEKO.js} +5 -5
- package/dist/{chunk-GFSS3FRE.js → chunk-VQ4KQGLY.js} +4 -4
- package/dist/{chunk-RSPTOS4S.js → chunk-W4WWPN52.js} +3 -3
- package/dist/{chunk-Z4ASKZKN.js → chunk-WFRYPYPT.js} +1 -1
- package/dist/{chunk-ZM2SKQJD.js → chunk-XEZO7VQH.js} +2 -2
- package/dist/{chunk-HGOJ67KV.js → chunk-XL6DG5LC.js} +7 -7
- package/dist/{chunk-JZBFR6JB.js → chunk-Y5LWTGOV.js} +8 -8
- package/dist/{chunk-3EEUQZQU.js → chunk-YTERTIGW.js} +9 -9
- package/dist/{claude-launcher-LXCRQNU3.js → claude-launcher-5UGFLCYJ.js} +9 -9
- package/dist/{cli-WGFTREIM.js → cli-NYRTR2QR.js} +142 -142
- package/dist/{command-BZDNRIFI.js → command-W7OFZRJL.js} +50 -50
- package/dist/{config-VV4J2DMW.js → config-ODIFTWTQ.js} +12 -12
- package/dist/{connect-cmd-UDYTPV2S.js → connect-cmd-BMA6JWN5.js} +11 -11
- package/dist/{container-start-BQD6IAKZ.js → container-start-GQRXAXXQ.js} +48 -48
- package/dist/{context-cleanup-ZKAL6X5I.js → context-cleanup-7XUQDCJ5.js} +5 -5
- package/dist/{context-show-cmd-FXIYFC6Q.js → context-show-cmd-FN6RY7JN.js} +12 -12
- package/dist/{control-plane-launch-6HIHBOHF.js → control-plane-launch-7FWJACHT.js} +15 -15
- package/dist/{demo-record-cmd-JTIK5WI3.js → demo-record-cmd-LRQMMMPB.js} +8 -8
- package/dist/{demo-voice-cmd-5HV4AHY4.js → demo-voice-cmd-ORYSHARJ.js} +20 -20
- package/dist/{dist-64LM4JF4.js → dist-AIMCXBLZ.js} +1 -1
- package/dist/{docker-RB7YFA52.js → docker-POAJWLZ5.js} +10 -10
- package/dist/{doctor-BNL5J2NG.js → doctor-4W5RSKJN.js} +50 -50
- package/dist/{emit-artifact-cmd-VF6PO7NJ.js → emit-artifact-cmd-KMGO53PL.js} +19 -19
- package/dist/{emit-cmd-PTOSSDQK.js → emit-cmd-OGNFGQF6.js} +8 -8
- package/dist/{emit-criteria-cmd-QGCS6RCB.js → emit-criteria-cmd-2KDA4LPJ.js} +14 -14
- package/dist/{emit-demo-cmd-O7YLI4ZL.js → emit-demo-cmd-26URBRX2.js} +20 -20
- package/dist/{emit-finding-cmd-GO2C5QCS.js → emit-finding-cmd-GM4G3ZGU.js} +14 -14
- package/dist/{emit-result-cmd-LQ4EW7ML.js → emit-result-cmd-SXS6AJP3.js} +18 -18
- package/dist/{emit-step-cmd-JWUNEZ4N.js → emit-step-cmd-TDO3NFV3.js} +14 -14
- package/dist/{exec-client-725NVWZ5.js → exec-client-DBSWP3AQ.js} +8 -8
- package/dist/find-unit-4EP7BW2F.js +23 -0
- package/dist/{findings-cmd-JN67G7EG.js → findings-cmd-ED52QLP2.js} +14 -14
- package/dist/{fleet-readiness-7P5NN3RT.js → fleet-readiness-X7YICYMA.js} +14 -14
- package/dist/{governing-source-NC7N3PKM.js → governing-source-R7F6GZLO.js} +20 -20
- package/dist/{guest-init-N65WE3XP.js → guest-init-4YXOOA6P.js} +9 -9
- package/dist/{hook-fast-VZDS3U7L.js → hook-fast-Q6HOUK64.js} +4 -4
- package/dist/{hook-install-DOEXRPO5.js → hook-install-LHVMFLO6.js} +5 -5
- package/dist/{hook-wrap-fast-L5PCBVNI.js → hook-wrap-fast-FCZEUJKT.js} +3 -3
- package/dist/host-checks-OAFGSUUM.js +78 -0
- package/dist/host-key-2OWJL2HZ.js +17 -0
- package/dist/{image-tag-RAVG4ZXU.js → image-tag-BHAEZYXN.js} +8 -8
- package/dist/index.js +6 -6
- package/dist/init-DTG7SJUJ.js +78 -0
- package/dist/{init-J5XW2VNL.js → init-GPW5WSRP.js} +46 -46
- package/dist/{init-cmd-INPWUFWW.js → init-cmd-BLCYQVCC.js} +28 -28
- package/dist/{init-update-7BA2HEZD.js → init-update-F3JZ2GEW.js} +23 -23
- package/dist/{install-cmd-UUEJWTHG.js → install-cmd-4PDNS3MC.js} +10 -10
- package/dist/{layout-KSD373US.js → layout-3YKZWTPE.js} +5 -5
- package/dist/{logs-2NBI76N2.js → logs-HHNF6ABR.js} +7 -7
- package/dist/loop-XYZGEYNX.js +89 -0
- package/dist/machine-ZBF7MTPU.js +78 -0
- package/dist/{machine-skills-IMGN27M7.js → machine-skills-4UHKD4HT.js} +5 -5
- package/dist/{mcp-install-cmd-25PA5RAI.js → mcp-install-cmd-SQV4UZD6.js} +5 -5
- package/dist/{mcp-serve-cmd-JVND6WYT.js → mcp-serve-cmd-RKM4BLX3.js} +9 -9
- package/dist/{paths-S6KJMQSQ.js → paths-WQUQWBL6.js} +7 -7
- package/dist/pending-WSR6KRTI.js +17 -0
- package/dist/{pidfile-QDFTWZP4.js → pidfile-P6WZBOR4.js} +8 -8
- package/dist/{record-AJSJBMOG.js → record-WMING5ZQ.js} +8 -8
- package/dist/{relay-X7EBGNZW.js → relay-NCWAF6NQ.js} +5 -5
- package/dist/{relay-protocol-TAXUFBSM.js → relay-protocol-Y3HGIACN.js} +5 -5
- package/dist/runner-env-NXNGYKU4.js +23 -0
- package/dist/{runner-identity-7RYI6PS4.js → runner-identity-ZCXCKYYO.js} +10 -10
- package/dist/{runner-key-R4QPZDDR.js → runner-key-BFWKR3LC.js} +46 -46
- package/dist/{session-sender-FQARNO3V.js → session-sender-JIWCOKW4.js} +19 -19
- package/dist/{shell-function-D2T55XFG.js → shell-function-H75JWHLA.js} +2 -2
- package/dist/{spec-cmd-WOSYBAKL.js → spec-cmd-TQ6VCLCS.js} +15 -15
- package/dist/{starter-pack-OLH6O4YX.js → starter-pack-3BXEKGIH.js} +6 -6
- package/dist/state-ZOM5PUYK.js +17 -0
- package/dist/{status-BUHMAGRI.js → status-27ZZEKIO.js} +46 -46
- package/dist/{statusline-fast-36U3TOCL.js → statusline-fast-BTJSU3MB.js} +3 -3
- package/dist/{sync-cmd-2DR7HOVJ.js → sync-cmd-TKGTFHFZ.js} +18 -18
- package/dist/update-steps-NMSIEZBR.js +79 -0
- package/dist/{watch-3I4ZN52F.js → watch-GMLQW3S7.js} +18 -18
- package/dist/{work-claim-cmd-M6ACVTNM.js → work-claim-cmd-I6VVJZHK.js} +20 -20
- package/dist/{work-cmd-HLNFJWQQ.js → work-cmd-UOLSKQ5A.js} +14 -14
- package/dist/{work-comment-cmd-JTCAB3DG.js → work-comment-cmd-FMAHDTN4.js} +17 -17
- package/dist/{work-demo-cmd-XLNJYGCL.js → work-demo-cmd-BIONKBZM.js} +14 -14
- package/dist/{work-logs-cmd-Q3UUIOQI.js → work-logs-cmd-IXHGQ443.js} +14 -14
- package/dist/{work-open-pr-cmd-H74M4ZXC.js → work-open-pr-cmd-E7KGEH42.js} +15 -15
- package/dist/{work-pr-cmd-M3X2D5MC.js → work-pr-cmd-GWYKEMBY.js} +14 -14
- package/dist/{work-proofs-cmd-ZRPPBFDL.js → work-proofs-cmd-RD5PPXAF.js} +16 -16
- package/dist/{work-proofs-record-PF2JRTWE.js → work-proofs-record-QRTL7KIP.js} +24 -24
- package/dist/{work-stop-cmd-2NO2F2BD.js → work-stop-cmd-DJWAZRM3.js} +14 -14
- package/package.json +1 -1
- package/dist/agent-setup-2WL54CA2.js +0 -39
- package/dist/caller-DYXZCUF2.js +0 -22
- package/dist/find-unit-U5U52ASA.js +0 -23
- package/dist/host-checks-5HVG67AR.js +0 -78
- package/dist/host-key-KPUIJK4Q.js +0 -17
- package/dist/init-MN4R6USQ.js +0 -78
- package/dist/loop-G7HCDVIP.js +0 -89
- package/dist/machine-WQCCGKOP.js +0 -78
- package/dist/pending-BBPET4YL.js +0 -17
- package/dist/runner-env-XKUW67Y4.js +0 -23
- package/dist/state-IGLONCPS.js +0 -17
- package/dist/update-steps-GDNIKWWH.js +0 -79
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { checkStarterFiles, contextIsGoverned } from './chunk-
|
|
4
|
-
import { fleetCheck, checkBuildSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-
|
|
5
|
-
import { resolveCredentials, getJson, WorkCommandError } from './chunk-
|
|
6
|
-
import { isLinkedRepository } from './chunk-
|
|
3
|
+
import { checkStarterFiles, contextIsGoverned } from './chunk-VNYAJEKO.js';
|
|
4
|
+
import { fleetCheck, checkBuildSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-UNWCM4FR.js';
|
|
5
|
+
import { resolveCredentials, getJson, WorkCommandError } from './chunk-LFUEODDW.js';
|
|
6
|
+
import { isLinkedRepository } from './chunk-UHVYFXW6.js';
|
|
7
7
|
import { sanitizeTerminal } from './chunk-F3T5QJ24.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { checkFormerSkillNames } from './chunk-
|
|
10
|
-
import { resolveGatewayCredentials, defaultFetch } from './chunk-
|
|
11
|
-
import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-
|
|
12
|
-
import { readStatuslineState, STATE_FRESH_MS } from './chunk-
|
|
13
|
-
import { withInjectedPrograms } from './chunk-
|
|
14
|
-
import { CONTROL_PLANE_DIR_VARIABLE } from './chunk-
|
|
9
|
+
import { checkFormerSkillNames } from './chunk-M6FMJXYO.js';
|
|
10
|
+
import { resolveGatewayCredentials, defaultFetch } from './chunk-VJKHQSSS.js';
|
|
11
|
+
import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-EA67BJCF.js';
|
|
12
|
+
import { readStatuslineState, STATE_FRESH_MS } from './chunk-ORU76DHF.js';
|
|
13
|
+
import { withInjectedPrograms } from './chunk-HWIV4MF6.js';
|
|
14
|
+
import { CONTROL_PLANE_DIR_VARIABLE } from './chunk-UWYU46GF.js';
|
|
15
15
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
16
16
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
17
|
-
import { installAgents, withSettingsText } from './chunk-
|
|
17
|
+
import { installAgents, withSettingsText } from './chunk-CJNZ2FIW.js';
|
|
18
18
|
import { cliForInstall, cliBinResolvable } from './chunk-ZHQC43NH.js';
|
|
19
19
|
import { readDeliveryRecord, readDegraded, readSourceCache } from './chunk-YQR6E6OV.js';
|
|
20
20
|
import { deadHooksState, preparePackageManagerCommand } from './chunk-CJPTUU2E.js';
|
|
21
|
-
import { defaultAgents, legacyAgent, contextAgents } from './chunk-
|
|
21
|
+
import { defaultAgents, legacyAgent, contextAgents } from './chunk-EI22245K.js';
|
|
22
22
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
23
|
-
import { SUPPORTED_VERSIONS, resolveRepoIdentity } from './chunk-
|
|
23
|
+
import { SUPPORTED_VERSIONS, resolveRepoIdentity } from './chunk-FINJC6BS.js';
|
|
24
24
|
import { readFileSync, mkdirSync, writeFileSync, renameSync, existsSync, accessSync, constants, statSync } from 'fs';
|
|
25
25
|
import { sep, join, dirname, resolve, delimiter } from 'path';
|
|
26
26
|
import { execFileSync } from 'child_process';
|
|
@@ -1050,8 +1050,8 @@ function doctorExitCode(checks) {
|
|
|
1050
1050
|
|
|
1051
1051
|
// src/doctor-report.ts
|
|
1052
1052
|
async function gatherDoctorChecks() {
|
|
1053
|
-
const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-
|
|
1054
|
-
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-
|
|
1053
|
+
const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-27ZTD2EH.js');
|
|
1054
|
+
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-ODIFTWTQ.js');
|
|
1055
1055
|
const configPath = defaultRunnerConfigPath();
|
|
1056
1056
|
const runnerHost = hasRunnerBlock(configPath);
|
|
1057
1057
|
const hooks = (() => {
|
|
@@ -1079,7 +1079,7 @@ async function gatherDoctorChecks() {
|
|
|
1079
1079
|
const { runnerVmCheck } = await import('./doctor-53F2PYY7.js');
|
|
1080
1080
|
checks.push(runnerVmCheck(configPath, { lima: realLima(), home: homeFromEnv(), instance: runnerVm.instance }));
|
|
1081
1081
|
} else if (hasRunnerBlock(configPath)) {
|
|
1082
|
-
const { runnerHostChecks } = await import('./doctor-
|
|
1082
|
+
const { runnerHostChecks } = await import('./doctor-4W5RSKJN.js');
|
|
1083
1083
|
const gateway = (() => {
|
|
1084
1084
|
try {
|
|
1085
1085
|
const loaded = loadRunnerConfig(configPath);
|
|
@@ -1107,7 +1107,7 @@ async function gatherDoctorChecks() {
|
|
|
1107
1107
|
const service = await (async () => {
|
|
1108
1108
|
const { existsSync: existsSync3 } = await import('fs');
|
|
1109
1109
|
if (process.platform !== "linux" || !existsSync3("/run/systemd/system")) return void 0;
|
|
1110
|
-
const { inspectRunnerService } = await import('./find-unit-
|
|
1110
|
+
const { inspectRunnerService } = await import('./find-unit-4EP7BW2F.js');
|
|
1111
1111
|
return inspectRunnerService(configPath);
|
|
1112
1112
|
})();
|
|
1113
1113
|
checks.push(...await runnerHostChecks({ configPath, hooks, gateway, repos, runner, service }));
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { appendContextProvenance } from './chunk-545P7JY7.js';
|
|
4
|
-
import { CONTROL_PLANE_DIR_VARIABLE } from './chunk-
|
|
4
|
+
import { CONTROL_PLANE_DIR_VARIABLE } from './chunk-UWYU46GF.js';
|
|
5
5
|
import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
6
6
|
import { updateNoticeContext, staleMachineCopiesContext } from './chunk-NFZMENCY.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
8
8
|
import { deadHooksState, huskyPrepareScript, preparePackageManagerCommand } from './chunk-CJPTUU2E.js';
|
|
9
|
-
import { hookCodec } from './chunk-
|
|
10
|
-
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-
|
|
9
|
+
import { hookCodec } from './chunk-RW6TM4OU.js';
|
|
10
|
+
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-LLZ2CX4M.js';
|
|
11
11
|
import { resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
12
12
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
13
13
|
import { readFileSync, mkdirSync, writeFileSync, renameSync, existsSync, readdirSync, unlinkSync, statSync, appendFileSync, opendirSync } from 'fs';
|
|
@@ -599,7 +599,7 @@ async function missingRenewalHookContext(home, cwd, codec) {
|
|
|
599
599
|
try {
|
|
600
600
|
const event = codec.events.find((name) => kindOf(codec, name) === "tool-used");
|
|
601
601
|
if (event === void 0) return void 0;
|
|
602
|
-
const { hookRegistered } = await import('./hook-install-
|
|
602
|
+
const { hookRegistered } = await import('./hook-install-LHVMFLO6.js');
|
|
603
603
|
const registered = hookRegistered(event, { home, cwd });
|
|
604
604
|
if (registered !== false) return void 0;
|
|
605
605
|
return `This install has no ${event} hook, so this session's work-item lease will never be renewed while it works and may be lost to another worker mid-session. Run \`${cliInvocation()} init\` to register it.`;
|
|
@@ -799,11 +799,11 @@ async function missingControlPlane(cwd, sessionId, home, env) {
|
|
|
799
799
|
const dirs = findGitDirs(cwd);
|
|
800
800
|
if (dirs === void 0) return void 0;
|
|
801
801
|
if (existsSync(join(dirs.gitCommonDir, "outerlayer", "materialized.json")) || hasExcludeBlock(dirs.gitCommonDir)) {
|
|
802
|
-
const { cleanupEarlierCopies } = await import('./context-cleanup-
|
|
802
|
+
const { cleanupEarlierCopies } = await import('./context-cleanup-7XUQDCJ5.js');
|
|
803
803
|
cleanupEarlierCopies(dirs);
|
|
804
804
|
}
|
|
805
805
|
if (!contextPossiblyGoverned(cwd, home)) return void 0;
|
|
806
|
-
const { governanceOf } = await import('./control-plane-launch-
|
|
806
|
+
const { governanceOf } = await import('./control-plane-launch-7FWJACHT.js');
|
|
807
807
|
if (await governanceOf({ cwd, env, home }) !== "governed") return void 0;
|
|
808
808
|
recordMissingContext(dirs, sessionId, home);
|
|
809
809
|
const launcher = `${cliInvocation()} ${LEGACY.legacy.subcommand}`;
|
|
@@ -1,16 +1,16 @@
|
|
|
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-HLJQONDG.js';
|
|
5
5
|
import { VoiceDownloadError, downloadPinned, sha256OfFile } from './chunk-2PGI6RDE.js';
|
|
6
|
-
import { detectActiveSession } from './chunk-
|
|
7
|
-
import { autoConnect } from './chunk-
|
|
6
|
+
import { detectActiveSession } from './chunk-66GYPUUN.js';
|
|
7
|
+
import { autoConnect } from './chunk-GXCU5HTU.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { defaultFetch, resolveGatewayCredentials } from './chunk-
|
|
9
|
+
import { defaultFetch, resolveGatewayCredentials } from './chunk-VJKHQSSS.js';
|
|
10
10
|
import { launchedItemForSession } from './chunk-4OD45RBP.js';
|
|
11
|
-
import { VOICE_PACK_FILES, VOICE_PACK_VERSION } from './chunk-
|
|
11
|
+
import { VOICE_PACK_FILES, VOICE_PACK_VERSION } from './chunk-QTU6GW2M.js';
|
|
12
12
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
13
|
-
import { resolveRepoIdentity } from './chunk-
|
|
13
|
+
import { resolveRepoIdentity } from './chunk-FINJC6BS.js';
|
|
14
14
|
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-WUKLQWGY.js';
|
|
15
15
|
import { __commonJS, __require, __toESM } from './chunk-Z5GEFMRW.js';
|
|
16
16
|
import { createHash } from 'crypto';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { helperSocketPath } from './chunk-
|
|
4
|
-
import { UNIT_MARKER } from './chunk-
|
|
5
|
-
import { runnerDir } from './chunk-
|
|
3
|
+
import { helperSocketPath } from './chunk-GEYJLP6L.js';
|
|
4
|
+
import { UNIT_MARKER } from './chunk-GQHT6N47.js';
|
|
5
|
+
import { runnerDir } from './chunk-GANI63IL.js';
|
|
6
6
|
import { createHash } from 'crypto';
|
|
7
7
|
import { join } from 'path';
|
|
8
8
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { CLAUDE_CODE_HOOKS } from './chunk-
|
|
4
|
-
import { CLAUDE_CODE, NATIVE_AGENTS, LEGACY_AGENT } from './chunk-
|
|
3
|
+
import { CLAUDE_CODE_HOOKS } from './chunk-RW6TM4OU.js';
|
|
4
|
+
import { CLAUDE_CODE, NATIVE_AGENTS, LEGACY_AGENT } from './chunk-LLZ2CX4M.js';
|
|
5
5
|
import { MAINTAINED_SKILLS } from './chunk-CDDED64E.js';
|
|
6
6
|
import { resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
7
7
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
8
|
-
import { forkFor, RAW_MIRROR_SEGMENTS, WarningCollector, WARNING_CODES, isNewerThanSupported, bucketsFromTurns, costOfUsage } from './chunk-
|
|
8
|
+
import { forkFor, RAW_MIRROR_SEGMENTS, WarningCollector, WARNING_CODES, isNewerThanSupported, bucketsFromTurns, costOfUsage } from './chunk-FINJC6BS.js';
|
|
9
9
|
import { RESERVED_EMIT_NAMES, EVENT_TYPES, isHumanUserTurn, INPUT_BAND_BOUNDARIES, parseAgentSession, SCHEMA_VERSION, ARTIFACT_KINDS, ArtifactCriterionIdSchema, SPEED_MAX_LENGTH } from './chunk-WUKLQWGY.js';
|
|
10
10
|
import { __commonJS, __require, __toESM } from './chunk-Z5GEFMRW.js';
|
|
11
11
|
import { existsSync, readFileSync, mkdirSync, writeFileSync, readdirSync, rmSync, renameSync, realpathSync, readlinkSync, symlinkSync, copyFileSync, statSync, accessSync, constants, lstatSync } from 'fs';
|
|
@@ -8684,7 +8684,12 @@ var KNOWN_UNMAPPED = /* @__PURE__ */ new Set([
|
|
|
8684
8684
|
"result",
|
|
8685
8685
|
"frame-link",
|
|
8686
8686
|
"diff-summary",
|
|
8687
|
-
"agent-name"
|
|
8687
|
+
"agent-name",
|
|
8688
|
+
"atis-latch",
|
|
8689
|
+
"artifact-comment-monitor",
|
|
8690
|
+
"cost-state",
|
|
8691
|
+
"api-request-shape",
|
|
8692
|
+
"fork-context-ref"
|
|
8688
8693
|
]);
|
|
8689
8694
|
function parseTranscript(content, opts, sha256) {
|
|
8690
8695
|
const warnings = new WarningCollector();
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RemovedTargetError, removedTargetError } from './chunk-
|
|
4
|
-
import { removeRetiredSkills } from './chunk-
|
|
5
|
-
import { defaultFetch, resolveGatewayCredentials } from './chunk-
|
|
6
|
-
import { withTokenHeader } from './chunk-
|
|
3
|
+
import { RemovedTargetError, removedTargetError } from './chunk-6V6ONATO.js';
|
|
4
|
+
import { removeRetiredSkills } from './chunk-M6FMJXYO.js';
|
|
5
|
+
import { defaultFetch, resolveGatewayCredentials } from './chunk-VJKHQSSS.js';
|
|
6
|
+
import { withTokenHeader } from './chunk-P63MQNDV.js';
|
|
7
7
|
import { appendContextProvenance } from './chunk-545P7JY7.js';
|
|
8
8
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
9
9
|
import { writeDegraded, writeSourceCache, SOURCE_CACHE_TTL_RETRY_MS, writeContextManifest, SOURCE_CACHE_TTL_SUCCESS_MS, readSourceCache, isSourceCacheFresh, clearDegraded } from './chunk-YQR6E6OV.js';
|
|
10
|
-
import { normalizeRepoName, loadMaintainedFiles, writeMaintainedFiles, parseOuterlayerConfig, targetIds, classifyTree, emitTree, emitBuilders, defaultAgents, agentRootFolders } from './chunk-
|
|
10
|
+
import { normalizeRepoName, loadMaintainedFiles, writeMaintainedFiles, parseOuterlayerConfig, targetIds, classifyTree, emitTree, emitBuilders, defaultAgents, agentRootFolders } from './chunk-EI22245K.js';
|
|
11
11
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
12
12
|
import { execFileSync } from 'child_process';
|
|
13
13
|
import { existsSync, mkdirSync, writeFileSync, chmodSync, lstatSync, readFileSync, copyFileSync } from 'fs';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-
|
|
4
|
-
import { parseSize } from './chunk-
|
|
5
|
-
import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-
|
|
6
|
-
import { builderDiskPinned } from './chunk-
|
|
3
|
+
import { DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-PUPUOQ6Y.js';
|
|
4
|
+
import { parseSize } from './chunk-UCUZJ5W5.js';
|
|
5
|
+
import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-P63MQNDV.js';
|
|
6
|
+
import { builderDiskPinned } from './chunk-QTU6GW2M.js';
|
|
7
7
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
8
8
|
import { existsSync, statSync, accessSync, constants, readFileSync } from 'fs';
|
|
9
9
|
import { hostname } from 'os';
|
|
@@ -71860,7 +71860,7 @@ function bucketsFromTurns(turns) {
|
|
|
71860
71860
|
var SUPPORTED_VERSIONS = {
|
|
71861
71861
|
min: "2.1.0",
|
|
71862
71862
|
// inclusive upper bound of what we've validated; bump as new versions land
|
|
71863
|
-
max: "2.1.
|
|
71863
|
+
max: "2.1.316"
|
|
71864
71864
|
};
|
|
71865
71865
|
function compareVersions(a, b) {
|
|
71866
71866
|
var _a5, _b, _c, _d;
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
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-
|
|
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-A76SNTAM.js';
|
|
4
4
|
import { zodProblem } from './chunk-I3LTIAOR.js';
|
|
5
5
|
import { sha256OfFile, downloadPinned, VoiceDownloadError } from './chunk-2PGI6RDE.js';
|
|
6
|
-
import { hasStoredCredential, AGENT_COMMANDS, storeAgentCredential, credentialFromStdin, isAgentName } from './chunk-
|
|
7
|
-
import { upgradedStarterText } from './chunk-
|
|
8
|
-
import { HELPER_PATH, HELPER_RECORD, DOCKERD_LOG } from './chunk-
|
|
9
|
-
import { senderPidfile } from './chunk-
|
|
10
|
-
import { installScrubContext } from './chunk-
|
|
6
|
+
import { hasStoredCredential, AGENT_COMMANDS, storeAgentCredential, credentialFromStdin, isAgentName } from './chunk-VQ4KQGLY.js';
|
|
7
|
+
import { upgradedStarterText } from './chunk-VNYAJEKO.js';
|
|
8
|
+
import { HELPER_PATH, HELPER_RECORD, DOCKERD_LOG } from './chunk-AXOO6FNA.js';
|
|
9
|
+
import { senderPidfile } from './chunk-R3JSLSMG.js';
|
|
10
|
+
import { installScrubContext } from './chunk-Q7BECZIF.js';
|
|
11
11
|
import { readsJobState, READ_JOB_STATE_FORMATS, jobStateFormatOf } from './chunk-ZVB57WI6.js';
|
|
12
|
-
import { runnerImageVersion } from './chunk-
|
|
13
|
-
import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey } from './chunk-
|
|
12
|
+
import { runnerImageVersion } from './chunk-JZDTDGRO.js';
|
|
13
|
+
import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey } from './chunk-DNUA6244.js';
|
|
14
14
|
import { receiveFiles } from './chunk-NN33FYXG.js';
|
|
15
|
-
import { readDefaultBranchFiles, readDefaultBranchHead, buildRepositoryImage, fetchCommit, readBranchHead, diffBetween, prepareImageBuild, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-
|
|
16
|
-
import { FETCHED_DIR, toolsDockerfile, FETCHED_FFMPEG, FETCHED_GH, FETCHED_TINI, FETCHED_HEADLESS_SHELL, FETCHED_PLAYWRIGHT_FFMPEG, FETCHED_VOICE_DIR } from './chunk-
|
|
15
|
+
import { readDefaultBranchFiles, readDefaultBranchHead, buildRepositoryImage, fetchCommit, readBranchHead, diffBetween, prepareImageBuild, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-XL6DG5LC.js';
|
|
16
|
+
import { FETCHED_DIR, toolsDockerfile, FETCHED_FFMPEG, FETCHED_GH, FETCHED_TINI, FETCHED_HEADLESS_SHELL, FETCHED_PLAYWRIGHT_FFMPEG, FETCHED_VOICE_DIR } from './chunk-CDDWYP73.js';
|
|
17
17
|
import { isSameProcess, startTimeOf } from './chunk-JBJTC3UU.js';
|
|
18
18
|
import { currentCliBuild } from './chunk-OGFGZQA3.js';
|
|
19
|
-
import { vmExecArgs, runExec, execCapture, waitForAgent } from './chunk-
|
|
20
|
-
import { socketPathProblem, vsockLinks, linkVsockSockets, GUEST_CID, LEASE_LINK } from './chunk-
|
|
21
|
-
import { describeCallFailure, shortClaim, retrySend, commandWithShim, logStamp, createRunnerLog, formatDuration, removeKeptContext, formatClock, stageGovernedContext, keptContextTree, removeStagedContext, WORKFLOW_PERMISSION_REASON, refusalCode, resolveGoverningSource, prefetchGovernedContext, controlPlaneTokenFailure, keepStagedContext, pinnedSourceOf, shimScript } from './chunk-
|
|
22
|
-
import { writeDockerClientConfig } from './chunk-
|
|
23
|
-
import { runnerCredentialProblem, builtinKind, keyRunnerFactory, optionalEgress, isBuiltinContainer, isBuiltinVm, egressSummary, DEFAULT_WORKSPACE_KEEP_DAYS, DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SETUP_MINUTES, allowHostProblem, systemClock, emptyEgressCounts, hostAllowed, imageBuildOf, DEFAULT_SAVED_STATE_MAX_BYTES } from './chunk-
|
|
24
|
-
import { formatBytes, volumeBytes, allocatedBytes, DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, freeBytes } from './chunk-
|
|
25
|
-
import { writeJobFile, readJobFile, spawnRun, RUNNER_LABEL, BUILD_LABEL, NETWORK_HELPER_MEMORY, createDockerHost, builderSpec, containerExecArgs, childEnvironment, readDu, withAnswerProtocol, judgeCommand, MAX_REPORT_BYTES, parseSize, runnerLabelValue, readJobFileChecked, NETWORK_READY_FILE, networkHelperName, prepareRunArgs, containerRunArgs, JUDGE_MAX_TURNS, WORKSPACE_LABEL, homeCopyRunArgs, networkHelperRunArgs, JUDGE_DIR, HASH_ARGV, parseProgramHash, identityScript, identityArgs, parseIdentity, mountableHome, homeCopyScript, homeCopyArgs, COMMAND_DIR, JUDGE_PROGRAM, MAX_ITEMS_BYTES, JUDGE_ITEMS, JUDGE_REPORT, identityRunArgs, SAVED_STATE_LABEL } from './chunk-
|
|
26
|
-
import { universalImagePending, RecipeError, writeSanitizedRecipe, classifyProperties, DOCKER_FEATURE } from './chunk-
|
|
27
|
-
import { postJson, WorkCommandError, getJson, isSignatureRefusal } from './chunk-
|
|
19
|
+
import { vmExecArgs, runExec, execCapture, waitForAgent } from './chunk-3JVLRIX3.js';
|
|
20
|
+
import { socketPathProblem, vsockLinks, linkVsockSockets, GUEST_CID, LEASE_LINK } from './chunk-PVUBF24F.js';
|
|
21
|
+
import { describeCallFailure, shortClaim, retrySend, commandWithShim, logStamp, createRunnerLog, formatDuration, removeKeptContext, formatClock, stageGovernedContext, keptContextTree, removeStagedContext, WORKFLOW_PERMISSION_REASON, refusalCode, resolveGoverningSource, prefetchGovernedContext, controlPlaneTokenFailure, keepStagedContext, pinnedSourceOf, shimScript } from './chunk-AU3QZKC4.js';
|
|
22
|
+
import { writeDockerClientConfig } from './chunk-33OQSCE2.js';
|
|
23
|
+
import { runnerCredentialProblem, builtinKind, keyRunnerFactory, optionalEgress, isBuiltinContainer, isBuiltinVm, egressSummary, DEFAULT_WORKSPACE_KEEP_DAYS, DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SETUP_MINUTES, allowHostProblem, systemClock, emptyEgressCounts, hostAllowed, imageBuildOf, DEFAULT_SAVED_STATE_MAX_BYTES } from './chunk-EYUJCGF2.js';
|
|
24
|
+
import { formatBytes, volumeBytes, allocatedBytes, DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, freeBytes } from './chunk-PUPUOQ6Y.js';
|
|
25
|
+
import { writeJobFile, readJobFile, spawnRun, RUNNER_LABEL, BUILD_LABEL, NETWORK_HELPER_MEMORY, createDockerHost, builderSpec, containerExecArgs, childEnvironment, readDu, withAnswerProtocol, judgeCommand, MAX_REPORT_BYTES, parseSize, runnerLabelValue, readJobFileChecked, NETWORK_READY_FILE, networkHelperName, prepareRunArgs, containerRunArgs, JUDGE_MAX_TURNS, WORKSPACE_LABEL, homeCopyRunArgs, networkHelperRunArgs, JUDGE_DIR, HASH_ARGV, parseProgramHash, identityScript, identityArgs, parseIdentity, mountableHome, homeCopyScript, homeCopyArgs, COMMAND_DIR, JUDGE_PROGRAM, MAX_ITEMS_BYTES, JUDGE_ITEMS, JUDGE_REPORT, identityRunArgs, SAVED_STATE_LABEL } from './chunk-UCUZJ5W5.js';
|
|
26
|
+
import { universalImagePending, RecipeError, writeSanitizedRecipe, classifyProperties, DOCKER_FEATURE } from './chunk-ASR6TU43.js';
|
|
27
|
+
import { postJson, WorkCommandError, getJson, isSignatureRefusal } from './chunk-LFUEODDW.js';
|
|
28
28
|
import { sanitizeTerminal, planArtifactUpload } from './chunk-F3T5QJ24.js';
|
|
29
29
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
30
|
-
import { signerFor } from './chunk-
|
|
31
|
-
import { vmAssetsDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir, storeScopes, spoolDir, orgStoreIn, rootfsDir, imagesDir, sessionsDir, builderCacheDiskPath, buildsDir, buildDir, ghConfigDir, runnerDirOfBuild, mirrorDir, orgHomeDir, jobConsolePath, vsockPath, workspacesDir, builderConsolePath, rootfsPathFor, diskTemplatesDir, deliveryDir, SHIM_DIR } from './chunk-
|
|
32
|
-
import { CHECKOUT_DIR, JOB_MOUNT, buildEnvironment, parseIsolation, containerLocalAddress, destinationEnvironment, withHooksPath, startBuildServices, headerVariables, authorEnvironment, sharedUserEnvironment, withTunnelRecord, commitIdentityRecord, repositoriesOf, RELAY_PORT, repositoryPath, lifecycleWorkdir, CHECK_ITEMS_FILE, proxyEnvironment, checkEnvironment, withMiseVariables, checkoutPath, EVAL_INPUT_DIR, isMiseVariableAllowed, BUILD_HOME, primaryOf } from './chunk-
|
|
33
|
-
import { sharedSkillNames, skillConflictMessage } from './chunk-
|
|
34
|
-
import { versionAtLeast, MINIMUM_CLAUDE_VERSION } from './chunk-
|
|
35
|
-
import { firecrackerArch, MICROVM_ARCHES, FIRECRACKER_VERSION, hostHelperPinned, builderDiskPinned, guestAssetsPinned, runnerAgentNamed, credentialForms, orList, credentialShapes, credentialAgent, agentCredential, RUNNER_WORDED_REASONS, UNKNOWN_TRACKING_REASON, UNKNOWN_TRANSPORT_REASON, GUEST_HELPER_SHA256, GUEST_ASSETS_BASE_URL, GUEST_KERNEL_SHA256, JAILER_BINARY_SHA256, FIRECRACKER_BINARY_SHA256, FIRECRACKER_SHA256, GUEST_ASSETS_VERSION, BUILDER_DISK_VERSION, credentialHandOffKey, strippedVariables, runnerAgents, currentAgentCredential, removedAgentCredentialValues, managedAgentCredential, RELAY_USER, realFdStorePort, networkHelperPinned, NETWORK_HELPER_SHA256, universalImagePinned, builtInNames, UNIVERSAL_IMAGE, MAX_MALFORMED_SESSIONS, MALFORMED_REASON, JOIN_WAIT_MS, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, GH_VERSION, TINI_SHA256, TINI_VERSION, HEADLESS_SHELL, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_FFMPEG_BASE_URL, VOICE_PACK_FILES, BUILDER_DISK_SHA256, BUILDER_DISK_BASE_URL, DEFAULT_BASE_IMAGE, MAX_OPEN_STREAMS, STREAM_RESET_RATE, STREAM_RESET_BURST, STREAM_WINDOW, SESSION_WINDOW, targetOfPath, agentVersionOf, AGENT_CREDENTIAL_MISSING, buildAgent, fdName, RELAY_ID, DOCKER_DESKTOP_REASON } from './chunk-
|
|
36
|
-
import { defaultAgents, parsePolicy, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, resolvePackRoot, legacyAgent, orderSessions, extractFacts, sessionsToTimeline } from './chunk-
|
|
30
|
+
import { signerFor } from './chunk-MDJ6ILXG.js';
|
|
31
|
+
import { vmAssetsDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir, storeScopes, spoolDir, orgStoreIn, rootfsDir, imagesDir, sessionsDir, builderCacheDiskPath, buildsDir, buildDir, ghConfigDir, runnerDirOfBuild, mirrorDir, orgHomeDir, jobConsolePath, vsockPath, workspacesDir, builderConsolePath, rootfsPathFor, diskTemplatesDir, deliveryDir, SHIM_DIR } from './chunk-GANI63IL.js';
|
|
32
|
+
import { CHECKOUT_DIR, JOB_MOUNT, buildEnvironment, parseIsolation, containerLocalAddress, destinationEnvironment, withHooksPath, startBuildServices, headerVariables, authorEnvironment, sharedUserEnvironment, withTunnelRecord, commitIdentityRecord, repositoriesOf, RELAY_PORT, repositoryPath, lifecycleWorkdir, CHECK_ITEMS_FILE, proxyEnvironment, checkEnvironment, withMiseVariables, checkoutPath, EVAL_INPUT_DIR, isMiseVariableAllowed, BUILD_HOME, primaryOf } from './chunk-P63MQNDV.js';
|
|
33
|
+
import { sharedSkillNames, skillConflictMessage } from './chunk-4XYEPTZP.js';
|
|
34
|
+
import { versionAtLeast, MINIMUM_CLAUDE_VERSION } from './chunk-UWYU46GF.js';
|
|
35
|
+
import { firecrackerArch, MICROVM_ARCHES, FIRECRACKER_VERSION, hostHelperPinned, builderDiskPinned, guestAssetsPinned, runnerAgentNamed, credentialForms, orList, credentialShapes, credentialAgent, agentCredential, RUNNER_WORDED_REASONS, UNKNOWN_TRACKING_REASON, UNKNOWN_TRANSPORT_REASON, GUEST_HELPER_SHA256, GUEST_ASSETS_BASE_URL, GUEST_KERNEL_SHA256, JAILER_BINARY_SHA256, FIRECRACKER_BINARY_SHA256, FIRECRACKER_SHA256, GUEST_ASSETS_VERSION, BUILDER_DISK_VERSION, credentialHandOffKey, strippedVariables, runnerAgents, currentAgentCredential, removedAgentCredentialValues, managedAgentCredential, RELAY_USER, realFdStorePort, networkHelperPinned, NETWORK_HELPER_SHA256, universalImagePinned, builtInNames, UNIVERSAL_IMAGE, MAX_MALFORMED_SESSIONS, MALFORMED_REASON, JOIN_WAIT_MS, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, GH_VERSION, TINI_SHA256, TINI_VERSION, HEADLESS_SHELL, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_FFMPEG_BASE_URL, VOICE_PACK_FILES, BUILDER_DISK_SHA256, BUILDER_DISK_BASE_URL, DEFAULT_BASE_IMAGE, MAX_OPEN_STREAMS, STREAM_RESET_RATE, STREAM_RESET_BURST, STREAM_WINDOW, SESSION_WINDOW, targetOfPath, agentVersionOf, AGENT_CREDENTIAL_MISSING, buildAgent, fdName, RELAY_ID, DOCKER_DESKTOP_REASON } from './chunk-QTU6GW2M.js';
|
|
36
|
+
import { defaultAgents, parsePolicy, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, resolvePackRoot, legacyAgent, orderSessions, extractFacts, sessionsToTimeline } from './chunk-EI22245K.js';
|
|
37
37
|
import { MAINTAINED_SKILLS } from './chunk-CDDED64E.js';
|
|
38
38
|
import { resolveVersion } from './chunk-RA3O54FC.js';
|
|
39
39
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
40
|
-
import { scrubText, MIN_SCRUBBED_LITERAL, setCustomScrubbers, setLocalIdentity, setRepoRoot, forkFor, scrubDeep } from './chunk-
|
|
40
|
+
import { scrubText, MIN_SCRUBBED_LITERAL, setCustomScrubbers, setLocalIdentity, setRepoRoot, forkFor, scrubDeep } from './chunk-FINJC6BS.js';
|
|
41
41
|
import { CheckItemsSchema, downconvertSession } from './chunk-WUKLQWGY.js';
|
|
42
42
|
import { randomUUID, randomBytes, createHash } from 'crypto';
|
|
43
43
|
import { rmSync, mkdirSync, existsSync, readFileSync, mkdtempSync, statSync, appendFileSync, writeFileSync, readdirSync, accessSync, constants, openSync, closeSync, renameSync, rmdirSync, createReadStream, lstatSync, unlinkSync, chmodSync, realpathSync, writeSync, truncateSync, cpSync, fstatSync, readSync, createWriteStream, copyFileSync, linkSync } from 'fs';
|
|
@@ -5310,14 +5310,18 @@ ${body}`);
|
|
|
5310
5310
|
}
|
|
5311
5311
|
client.destroy(abortedError("the build stopped reading the response"));
|
|
5312
5312
|
};
|
|
5313
|
+
let clientClosed = false;
|
|
5313
5314
|
const watch = () => {
|
|
5314
|
-
if (timer !== void 0) return;
|
|
5315
|
+
if (clientClosed || timer !== void 0) return;
|
|
5315
5316
|
read = delivered;
|
|
5316
5317
|
timer = setTimeout(check, stalledResponseMs);
|
|
5317
5318
|
};
|
|
5318
5319
|
upstream.on("pause", watch);
|
|
5319
5320
|
upstream.on("end", watch);
|
|
5320
|
-
client.once("close", () =>
|
|
5321
|
+
client.once("close", () => {
|
|
5322
|
+
clientClosed = true;
|
|
5323
|
+
clearTimeout(timer);
|
|
5324
|
+
});
|
|
5321
5325
|
}
|
|
5322
5326
|
async function proxyPlain(req, res) {
|
|
5323
5327
|
if (opts.gitRemote !== void 0 && (req.url ?? "").startsWith("/")) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { isSameProcess } from './chunk-JBJTC3UU.js';
|
|
4
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
4
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-GANI63IL.js';
|
|
5
5
|
import { existsSync, readFileSync, mkdirSync, writeFileSync, rmSync } from 'fs';
|
|
6
6
|
import { dirname } from 'path';
|
|
7
7
|
|
|
@@ -1,10 +1,10 @@
|
|
|
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, runnerAgents, credentialNames, FD_STORE_ENV, BUILD_SLICE_MEMORY_ENV, credentialAgent, credentialForms, credentialLineIn, withoutCredentialLines } from './chunk-
|
|
7
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { builtinKind, keepsHostBuilder } from './chunk-EYUJCGF2.js';
|
|
4
|
+
import { parseSize } from './chunk-UCUZJ5W5.js';
|
|
5
|
+
import { runnerDir } from './chunk-GANI63IL.js';
|
|
6
|
+
import { FD_SLOTS_PER_BUILD, runnerAgents, credentialNames, FD_STORE_ENV, BUILD_SLICE_MEMORY_ENV, credentialAgent, credentialForms, credentialLineIn, withoutCredentialLines } from './chunk-QTU6GW2M.js';
|
|
7
|
+
import { defaultAgents } from './chunk-EI22245K.js';
|
|
8
8
|
import { existsSync, readFileSync, writeFileSync, chmodSync, renameSync } from 'fs';
|
|
9
9
|
import { dirname, join } from 'path';
|
|
10
10
|
import { spawnSync } from 'child_process';
|
|
@@ -1,12 +1,12 @@
|
|
|
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-UHVYFXW6.js';
|
|
4
|
+
import { resolveGatewayCredentials } from './chunk-VJKHQSSS.js';
|
|
5
5
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
6
6
|
import { findGitDirs, readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
8
8
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
9
|
-
import { resolveRepoIdentity } from './chunk-
|
|
9
|
+
import { resolveRepoIdentity } from './chunk-FINJC6BS.js';
|
|
10
10
|
|
|
11
11
|
createRequire(import.meta.url);
|
|
12
12
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { isAgentsMdLayout, discoverOuterlayerPaths, isForeignTree, toRepoRelative } from './chunk-
|
|
3
|
+
import { isAgentsMdLayout, discoverOuterlayerPaths, isForeignTree, toRepoRelative } from './chunk-XEZO7VQH.js';
|
|
4
4
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
5
|
-
import { invalidConfigMessage } from './chunk-
|
|
6
|
-
import { retiredSkillPaths, removeRetiredSkills } from './chunk-
|
|
5
|
+
import { invalidConfigMessage } from './chunk-6V6ONATO.js';
|
|
6
|
+
import { retiredSkillPaths, removeRetiredSkills } from './chunk-M6FMJXYO.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
8
|
-
import { maintainedFilesForExistingSkills, loadMaintainedFiles, emitTree, emitBuilders, defaultAgents, targetIds, generatedHeaderSource, parseOuterlayerConfig, classifyTree, writeMaintainedFiles, agentById } from './chunk-
|
|
9
|
-
import { LEGACY_AGENT } from './chunk-
|
|
8
|
+
import { maintainedFilesForExistingSkills, loadMaintainedFiles, emitTree, emitBuilders, defaultAgents, targetIds, generatedHeaderSource, parseOuterlayerConfig, classifyTree, writeMaintainedFiles, agentById } from './chunk-EI22245K.js';
|
|
9
|
+
import { LEGACY_AGENT } from './chunk-LLZ2CX4M.js';
|
|
10
10
|
import { existsSync, readFileSync, mkdirSync, writeFileSync, copyFileSync, unlinkSync, rmdirSync, readdirSync } from 'fs';
|
|
11
11
|
import { join, dirname } from 'path';
|
|
12
12
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { staleBuildRefusal, staleBuildWarning, detectCi } from './chunk-
|
|
3
|
+
import { staleBuildRefusal, staleBuildWarning, detectCi } from './chunk-Q7BECZIF.js';
|
|
4
4
|
import { launchRefusalForSession } from './chunk-WGC7UFRM.js';
|
|
5
|
-
import { detectActiveSession } from './chunk-
|
|
6
|
-
import { autoConnect } from './chunk-
|
|
5
|
+
import { detectActiveSession } from './chunk-66GYPUUN.js';
|
|
6
|
+
import { autoConnect } from './chunk-GXCU5HTU.js';
|
|
7
7
|
import { readEffectiveArtifactSpoolState, localArtifactIds, isArtifactTombstoned, artifactBlobsDir, appendArtifactRecord, artifactsSpoolPath, findPendingArtifactRecord, sanitizeTerminal, appendArtifactTombstone } from './chunk-F3T5QJ24.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
9
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-VJKHQSSS.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
11
11
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
12
|
-
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-
|
|
12
|
+
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-LLZ2CX4M.js';
|
|
13
13
|
import { homeFromEnv, spoolHomeFromEnv } from './chunk-352DHUTP.js';
|
|
14
|
-
import { resolveRepoIdentity } from './chunk-
|
|
14
|
+
import { resolveRepoIdentity } from './chunk-FINJC6BS.js';
|
|
15
15
|
import { ARTIFACT_MAX_CAPTION_LENGTH, ArtifactCriterionIdSchema, ARTIFACT_MAX_BYTES, ARTIFACT_MAX_FILENAME_LENGTH, mediaTypeForArtifactPath, inferArtifactKind, ARTIFACT_MAX_REPLACES_TARGETS, parseTestSelector, parseJunit, bindTests } from './chunk-WUKLQWGY.js';
|
|
16
16
|
import { createHash, randomUUID } from 'crypto';
|
|
17
17
|
import { statSync, readFileSync, mkdirSync, existsSync, writeFileSync, renameSync, unlinkSync } from 'fs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { legacyAgent, createNodeAgentIO, ADAPTER_FACTORIES } from './chunk-
|
|
3
|
+
import { legacyAgent, createNodeAgentIO, ADAPTER_FACTORIES } from './chunk-EI22245K.js';
|
|
4
4
|
|
|
5
5
|
createRequire(import.meta.url);
|
|
6
6
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { criteriaOf, loadCitationFinder, hostItemsOf, criterionInputs, NO_CITING_TEST_REASON, NO_TEST_FILES_REASON, NO_VERDICT_REASON, isFoundInReason, uncitedIds, planCriteria, pickSearchable, IdScan, testFileMatcher, foundInReason, MAX_TEST_FILE_BYTES, MAX_TEST_FILES, groupBySize } from './chunk-
|
|
4
|
-
import { WorkCommandError, resolveCredentials, getJson } from './chunk-
|
|
3
|
+
import { criteriaOf, loadCitationFinder, hostItemsOf, criterionInputs, NO_CITING_TEST_REASON, NO_TEST_FILES_REASON, NO_VERDICT_REASON, isFoundInReason, uncitedIds, planCriteria, pickSearchable, IdScan, testFileMatcher, foundInReason, MAX_TEST_FILE_BYTES, MAX_TEST_FILES, groupBySize } from './chunk-A76SNTAM.js';
|
|
4
|
+
import { WorkCommandError, resolveCredentials, getJson } from './chunk-LFUEODDW.js';
|
|
5
5
|
import { sanitizeTerminal } from './chunk-F3T5QJ24.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { defaultFetch } from './chunk-
|
|
7
|
+
import { defaultFetch } from './chunk-VJKHQSSS.js';
|
|
8
8
|
import { parseWorkItemEnv } from './chunk-4OD45RBP.js';
|
|
9
9
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
10
10
|
import { readDeliveryRecord } from './chunk-YQR6E6OV.js';
|
|
11
|
-
import { resolveRepoIdentity } from './chunk-
|
|
11
|
+
import { resolveRepoIdentity } from './chunk-FINJC6BS.js';
|
|
12
12
|
import { inferArtifactKind, mediaTypeForArtifactPath, WORK_ITEM_COMMENT_MAX_BODY_LENGTH } from './chunk-WUKLQWGY.js';
|
|
13
13
|
import { createHash } from 'crypto';
|
|
14
14
|
import { spawnSync } from 'child_process';
|
|
@@ -217,14 +217,14 @@ function governingDir(cwd) {
|
|
|
217
217
|
async function testProofMode(cwd) {
|
|
218
218
|
const dir = governingDir(cwd);
|
|
219
219
|
if (dir === void 0) return "any";
|
|
220
|
-
const { testProofIn } = await import('./host-checks-
|
|
220
|
+
const { testProofIn } = await import('./host-checks-OAFGSUUM.js');
|
|
221
221
|
return testProofIn(dir);
|
|
222
222
|
}
|
|
223
223
|
async function judgeCheckName(cwd) {
|
|
224
224
|
const dir = governingDir(cwd);
|
|
225
225
|
if (dir === void 0) return {};
|
|
226
226
|
if (!existsSync(dir)) return { note: `the governed context at ${dir} is not readable` };
|
|
227
|
-
const { checksIn, isJudgeCheck } = await import('./host-checks-
|
|
227
|
+
const { checksIn, isJudgeCheck } = await import('./host-checks-OAFGSUUM.js');
|
|
228
228
|
const quiet = { line: () => void 0, error: () => void 0 };
|
|
229
229
|
const check = checksIn(dir, quiet, "").checks.find((c) => isJudgeCheck(c) && c.judge.subjects === "criteria");
|
|
230
230
|
return check === void 0 ? {} : { name: check.name };
|
|
@@ -369,7 +369,7 @@ async function runWorkProofs(opts) {
|
|
|
369
369
|
async function runWorkProofsCommand(opts) {
|
|
370
370
|
try {
|
|
371
371
|
if (opts.record) {
|
|
372
|
-
const { runWorkProofsRecord } = await import('./work-proofs-record-
|
|
372
|
+
const { runWorkProofsRecord } = await import('./work-proofs-record-QRTL7KIP.js');
|
|
373
373
|
const result2 = await runWorkProofsRecord(opts);
|
|
374
374
|
process.exitCode = result2.exitCode;
|
|
375
375
|
return;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-
|
|
3
|
+
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-LLZ2CX4M.js';
|
|
4
4
|
import { existsSync, readFileSync, writeFileSync } from 'fs';
|
|
5
5
|
import { join, basename } from 'path';
|
|
6
6
|
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { writePendingUpdate } from './chunk-
|
|
4
|
-
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-
|
|
3
|
+
import { writePendingUpdate } from './chunk-3L6XOE4K.js';
|
|
4
|
+
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-SSVG2IOD.js';
|
|
5
5
|
import { decideInstalledSwitch } from './chunk-3JVYMD4G.js';
|
|
6
6
|
import { fetchVersionMeta, npmVersion, npmSupportsProvenance, fetchTarballDigest, fetchProvenance, installVersion, auditSignatures } from './chunk-E7R2GIAW.js';
|
|
7
|
-
import { reportFailedStart, fitImageBuildMemory } from './chunk-
|
|
8
|
-
import { renderUpdateSteps } from './chunk-
|
|
7
|
+
import { reportFailedStart, fitImageBuildMemory } from './chunk-KJN74LA5.js';
|
|
8
|
+
import { renderUpdateSteps } from './chunk-W4WWPN52.js';
|
|
9
9
|
import { RUNNER_PROTOCOL } from './chunk-PN4LWT5F.js';
|
|
10
|
-
import { writeFleetState } from './chunk-
|
|
11
|
-
import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-
|
|
12
|
-
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-
|
|
13
|
-
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, releaseLease, LEASE_SECONDS, itemTag, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, deliverContainerHooks, provisionMicroVm, deliverCommitHooks, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, currentSkillCommand, formerSkillProblem, MICROVM_COMMAND_DIR, commandLogOffset, startMicroVmCommand, microVmCommandLine, runCommand, containerCommandExec, execCommandLine, startSender, startHostServices, finishJob, sampleGuest, foldSample, isContainerTracked, isMicroVmTracked, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, unfinishedJobs, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, usableCpus, hookLimitsFor, AttemptLogBook, microVmOomKills, needsRenew, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, parseCpuList, ensureTunnel, keepGhConfigCurrent, filesAreCopied, restartSender, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, freeItemDisksUntil, savedStatesDir, readRecords, removeOldestUntil, ensureNetworkReady, managedBuildSettingsFor, ADOPTED_FETCH_RETRY_WINDOW_MS, gitRemoteFor, startServicesFor, createLeaseChannel, serveLease, vmAlive, writeGuestGhConfig, shellQuote, deliverJobFiles, inTeardown } from './chunk-
|
|
14
|
-
import { RUNNER_RESERVE_BYTES } from './chunk-
|
|
15
|
-
import { RepoFilter } from './chunk-
|
|
10
|
+
import { writeFleetState } from './chunk-UJISSEJG.js';
|
|
11
|
+
import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-Y5LWTGOV.js';
|
|
12
|
+
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-BGTQHUGU.js';
|
|
13
|
+
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, releaseLease, LEASE_SECONDS, itemTag, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, deliverContainerHooks, provisionMicroVm, deliverCommitHooks, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, currentSkillCommand, formerSkillProblem, MICROVM_COMMAND_DIR, commandLogOffset, startMicroVmCommand, microVmCommandLine, runCommand, containerCommandExec, execCommandLine, startSender, startHostServices, finishJob, sampleGuest, foldSample, isContainerTracked, isMicroVmTracked, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, unfinishedJobs, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, usableCpus, hookLimitsFor, AttemptLogBook, microVmOomKills, needsRenew, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, parseCpuList, ensureTunnel, keepGhConfigCurrent, filesAreCopied, restartSender, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, freeItemDisksUntil, savedStatesDir, readRecords, removeOldestUntil, ensureNetworkReady, managedBuildSettingsFor, ADOPTED_FETCH_RETRY_WINDOW_MS, gitRemoteFor, startServicesFor, createLeaseChannel, serveLease, vmAlive, writeGuestGhConfig, shellQuote, deliverJobFiles, inTeardown } from './chunk-GEYJLP6L.js';
|
|
14
|
+
import { RUNNER_RESERVE_BYTES } from './chunk-GQHT6N47.js';
|
|
15
|
+
import { RepoFilter } from './chunk-Q7BECZIF.js';
|
|
16
16
|
import { JOB_STATE_FORMAT, readsJobState, jobStateFormatOf } from './chunk-ZVB57WI6.js';
|
|
17
|
-
import { imageTag, writeUpdateStatus, pullInstruction, tagToPull } from './chunk-
|
|
17
|
+
import { imageTag, writeUpdateStatus, pullInstruction, tagToPull } from './chunk-JZDTDGRO.js';
|
|
18
18
|
import { isVersion, compareVersions, satisfiesRange } from './chunk-TQMI335S.js';
|
|
19
|
-
import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls } from './chunk-
|
|
20
|
-
import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-
|
|
19
|
+
import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls } from './chunk-DNUA6244.js';
|
|
20
|
+
import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-GIAODP2B.js';
|
|
21
21
|
import { startTimeOf, isSameProcess } from './chunk-JBJTC3UU.js';
|
|
22
|
-
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-
|
|
23
|
-
import { keyRunnerFactory, isBuiltinContainer, isBuiltinVm, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, runnerDeliversComments, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS } from './chunk-
|
|
24
|
-
import { allocatedBytes, freeBytes, formatBytes } from './chunk-
|
|
25
|
-
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, exceedsDisk, builderName, runnerLabelValue, ensureFailureCount, builderSpec, ensureBuilder, spawnRun } from './chunk-
|
|
26
|
-
import { isSignatureRefusal, WorkCommandError, getJson, postJson } from './chunk-
|
|
27
|
-
import { loadHostKey, ensureHostKey, signerFor } from './chunk-
|
|
28
|
-
import { RUNNER_DIR_MODE, runnerDir, buildDir, attemptStamp, jobDir, RUNNER_FILE_MODE, jobsDir, pidFilePath, storeScopes, imagesDir } from './chunk-
|
|
29
|
-
import { parseClaimIdentity, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf, JOB_MOUNT } from './chunk-
|
|
30
|
-
import { COMMAND_LOST_REASON, takeAgentCredentials, runnerAgents, heldAgentCredential, CONTAINER_STOPPED_REASON, currentAgentCredential, fdName } from './chunk-
|
|
22
|
+
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-AU3QZKC4.js';
|
|
23
|
+
import { keyRunnerFactory, isBuiltinContainer, isBuiltinVm, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, runnerDeliversComments, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS } from './chunk-EYUJCGF2.js';
|
|
24
|
+
import { allocatedBytes, freeBytes, formatBytes } from './chunk-PUPUOQ6Y.js';
|
|
25
|
+
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, exceedsDisk, builderName, runnerLabelValue, ensureFailureCount, builderSpec, ensureBuilder, spawnRun } from './chunk-UCUZJ5W5.js';
|
|
26
|
+
import { isSignatureRefusal, WorkCommandError, getJson, postJson } from './chunk-LFUEODDW.js';
|
|
27
|
+
import { loadHostKey, ensureHostKey, signerFor } from './chunk-MDJ6ILXG.js';
|
|
28
|
+
import { RUNNER_DIR_MODE, runnerDir, buildDir, attemptStamp, jobDir, RUNNER_FILE_MODE, jobsDir, pidFilePath, storeScopes, imagesDir } from './chunk-GANI63IL.js';
|
|
29
|
+
import { parseClaimIdentity, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf, JOB_MOUNT } from './chunk-P63MQNDV.js';
|
|
30
|
+
import { COMMAND_LOST_REASON, takeAgentCredentials, runnerAgents, heldAgentCredential, CONTAINER_STOPPED_REASON, currentAgentCredential, fdName } from './chunk-QTU6GW2M.js';
|
|
31
31
|
import { resolveVersion } from './chunk-RA3O54FC.js';
|
|
32
32
|
import { mkdirSync, existsSync, chmodSync, writeFileSync, renameSync, statSync, readdirSync, readFileSync, rmSync, closeSync } from 'fs';
|
|
33
33
|
import { join, dirname } from 'path';
|
|
@@ -2204,7 +2204,7 @@ var CLAIM_REFUSAL_CODES = new Set(
|
|
|
2204
2204
|
"pull_request_from_fork pull_request_on_default_branch pull_request_ambiguous pull_request_repository_not_connected repository_not_reachable branch_claimed_elsewhere".split(" ")
|
|
2205
2205
|
);
|
|
2206
2206
|
async function tryClaimAndStart(state, item, queue) {
|
|
2207
|
-
const { postJson: postJson2 } = await import('./work-cmd-
|
|
2207
|
+
const { postJson: postJson2 } = await import('./work-cmd-UOLSKQ5A.js');
|
|
2208
2208
|
const log = logOf(state);
|
|
2209
2209
|
const hostKey = await loadHostKey(state.config.configPath);
|
|
2210
2210
|
const claim = await retrySend(
|
|
@@ -3554,7 +3554,7 @@ async function startRunner(configPath, deps, startup) {
|
|
|
3554
3554
|
check: update.check ? () => update.check(configPath) : async () => {
|
|
3555
3555
|
const held = runnerAgents(deps.agents).flatMap((agent) => heldAgentCredential(agent.descriptor.id) ?? []);
|
|
3556
3556
|
const env = { ...process.env, ...Object.fromEntries(held.map((credential) => [credential.variable, credential.value])) };
|
|
3557
|
-
return (await import('./check-
|
|
3557
|
+
return (await import('./check-ACHEHGYH.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
|
|
3558
3558
|
},
|
|
3559
3559
|
now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
|
|
3560
3560
|
log
|