@outerlayer/cli 0.40.0-next.20261117012955 → 0.40.0-next.20261117015205
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-BP6CVC2M.js → agent-setup-5UMGRTAY.js} +18 -18
- package/dist/{agent-subcommand-VD5C5ZWX.js → agent-subcommand-JGANAEB4.js} +3 -3
- package/dist/{bridge-XVA4KQLV.js → bridge-YHCQBKZC.js} +6 -6
- package/dist/{build-VLHNIM7K.js → build-SSIBPHPA.js} +12 -12
- package/dist/{build-disk-C3YS565A.js → build-disk-KI2JOKAK.js} +10 -10
- package/dist/build-info.json +1 -1
- package/dist/{builder-6JUYA6GH.js → builder-I562HT2D.js} +9 -9
- package/dist/caller-VTVQPOGC.js +23 -0
- package/dist/{check-BYA3QKH6.js → check-IQLQEMO6.js} +52 -52
- package/dist/{chunk-SWPJWQTW.js → chunk-2EJED3QQ.js} +4 -4
- package/dist/{chunk-WT7VZYAO.js → chunk-3WMULGB4.js} +8 -8
- package/dist/{chunk-YPN4PW2D.js → chunk-3YMOSZRN.js} +1 -1
- package/dist/{chunk-WOSDWWBI.js → chunk-45JV3EMA.js} +4 -4
- package/dist/{chunk-RME4AALZ.js → chunk-4FUTEM37.js} +3 -3
- package/dist/{chunk-OUFKMKDB.js → chunk-6367NG5G.js} +7 -7
- package/dist/{chunk-3KFHI5V2.js → chunk-6DO34552.js} +4 -4
- package/dist/{chunk-YB32CFWZ.js → chunk-6GLSCHX2.js} +8 -8
- package/dist/{chunk-SCY7U54A.js → chunk-6P23FS2Z.js} +2 -2
- package/dist/{chunk-3DILWPBX.js → chunk-6RJBLCPV.js} +1 -1
- package/dist/{chunk-SO4WL3NE.js → chunk-6TF4QU7M.js} +2 -2
- package/dist/{chunk-PJWGLJFB.js → chunk-732WJDYG.js} +12 -7
- package/dist/{chunk-TKHQAEE4.js → chunk-77JLN6GC.js} +4 -4
- package/dist/{chunk-OCYDGALH.js → chunk-7H5JQFWQ.js} +5 -5
- package/dist/{chunk-35NMSK4D.js → chunk-7MKOIOPP.js} +2 -2
- package/dist/{chunk-5L6KJDL7.js → chunk-AL6CJD2X.js} +8 -8
- package/dist/{chunk-2THRR6Z2.js → chunk-BBJC4R6E.js} +4 -4
- package/dist/{chunk-URDI2R7Z.js → chunk-BCBZHDMW.js} +1 -1
- package/dist/{chunk-6C7WHPGM.js → chunk-C6EPHJIV.js} +1 -1
- package/dist/{chunk-LO2INNG7.js → chunk-CCSB6CSX.js} +3 -3
- package/dist/{chunk-MB6OS6TU.js → chunk-CEHT2FCU.js} +69 -20
- package/dist/{chunk-FRUYDEET.js → chunk-CFIYOLCT.js} +6 -6
- package/dist/{chunk-UT33272A.js → chunk-CRATKTFX.js} +27 -27
- package/dist/{chunk-A7M4QXVX.js → chunk-CWJ26A6W.js} +1 -1
- package/dist/{chunk-EBCHAHAR.js → chunk-D5JM2VPO.js} +2 -2
- package/dist/{chunk-VGR27BYJ.js → chunk-DG7525WL.js} +1 -1
- package/dist/{chunk-3MIYTEPW.js → chunk-DLYCHCKQ.js} +1 -1
- package/dist/{chunk-XSXSLUQL.js → chunk-DMWGWD26.js} +3 -3
- package/dist/{chunk-5MRB5ZGK.js → chunk-DUQIP32K.js} +4 -4
- package/dist/{chunk-AQSXWRPI.js → chunk-EHJYBHH7.js} +17 -16
- package/dist/{chunk-UO5ZXQCS.js → chunk-FKC5D6CA.js} +1 -1
- package/dist/{chunk-WNLDTV2M.js → chunk-G3HBBHIK.js} +1 -1
- package/dist/{chunk-ROJMYI5S.js → chunk-GOJ2SPKB.js} +1 -1
- package/dist/{chunk-IPS7A2BK.js → chunk-H7EBNQGW.js} +1 -1
- package/dist/{chunk-4OLIJCT2.js → chunk-IOUBTUS2.js} +7 -7
- package/dist/{chunk-EHYSQJM5.js → chunk-J4F4V3G2.js} +5 -5
- package/dist/{chunk-PJ6AY5TZ.js → chunk-JBGASRRE.js} +5 -5
- package/dist/{chunk-WO3RLQ7Z.js → chunk-JE23PLDE.js} +1 -1
- package/dist/{chunk-VVZYAQN7.js → chunk-JEC2BZN4.js} +40 -36
- package/dist/{chunk-QM4R745Y.js → chunk-JSN2DMPB.js} +1 -1
- package/dist/{chunk-VMYTDPCJ.js → chunk-KNXKFQQ7.js} +10 -10
- package/dist/{chunk-DYL4R2GO.js → chunk-MCJRTOAL.js} +1 -1
- package/dist/{chunk-46D7LPS3.js → chunk-MJGBRYDH.js} +1 -1
- package/dist/{chunk-PN7SCZEN.js → chunk-NE5PE3Q7.js} +6 -6
- package/dist/{chunk-CLVWA4DI.js → chunk-O2324X34.js} +1 -1
- package/dist/{chunk-MHXUQI67.js → chunk-OF6XMZHO.js} +1 -1
- package/dist/{chunk-47NQTKLX.js → chunk-ONDONSBT.js} +1 -1
- package/dist/{chunk-UPWQO73K.js → chunk-OY4EJVUH.js} +1 -1
- package/dist/{chunk-OXSQAKIY.js → chunk-P2I6YVJV.js} +4 -4
- package/dist/{chunk-S33WRZ4U.js → chunk-PC2FA62W.js} +5 -5
- package/dist/{chunk-D3Y5MZ3H.js → chunk-PEN7Y4PB.js} +3 -3
- package/dist/{chunk-F2N6LZL5.js → chunk-QI6YUQWR.js} +3 -3
- package/dist/{chunk-5XEO7FJW.js → chunk-QVTGSGQ5.js} +2 -2
- package/dist/{chunk-ETP7IGQI.js → chunk-RO5YUUN2.js} +1 -1
- package/dist/{chunk-44UZZVEQ.js → chunk-SBSH253O.js} +1 -1
- package/dist/{chunk-QHYRNIBB.js → chunk-TWUEZPWP.js} +2 -2
- package/dist/{chunk-WE2JKEK7.js → chunk-UAOLY4EP.js} +1 -1
- package/dist/{chunk-GMGMEXXK.js → chunk-UELSHBQH.js} +4 -4
- package/dist/{chunk-QSN67PAP.js → chunk-UMFSHU72.js} +2 -2
- package/dist/{chunk-TD7CTDKT.js → chunk-UNGZ25QF.js} +2 -2
- package/dist/{chunk-5RJDLVQJ.js → chunk-UQWBHNTZ.js} +3 -3
- package/dist/{chunk-XAS7GSSM.js → chunk-UXAB2OEM.js} +5 -5
- package/dist/{chunk-5JP5KQZ3.js → chunk-UYQDQQ6A.js} +3 -3
- package/dist/{chunk-N2ACTZT6.js → chunk-VJCILU3C.js} +1 -1
- package/dist/{chunk-FRIFMX7Q.js → chunk-X56RDVCN.js} +7 -7
- package/dist/{chunk-SXSJKTXN.js → chunk-XAOZFBXK.js} +1 -1
- package/dist/{chunk-QTTZ455D.js → chunk-XDWJOYC4.js} +5 -5
- package/dist/{chunk-PNX74XDV.js → chunk-XLU5ZOTK.js} +4 -4
- package/dist/{chunk-2MRD6DR3.js → chunk-YI2HDVUL.js} +4 -4
- package/dist/{chunk-ZQZHAHJ4.js → chunk-YNNTU5IZ.js} +5 -2
- package/dist/{chunk-YGLTXCI5.js → chunk-YSHMGQRD.js} +8 -8
- package/dist/{chunk-UU3A53VB.js → chunk-YUR7GV5L.js} +5 -5
- package/dist/{claude-launcher-GZUZCS2W.js → claude-launcher-TWKHBR6F.js} +6 -6
- package/dist/{cli-YL7GCAES.js → cli-VP6R322C.js} +162 -162
- package/dist/{command-LDCYT2CM.js → command-IYGPJIJX.js} +48 -48
- package/dist/{config-EYUZTNWS.js → config-HYSU7MD3.js} +11 -11
- package/dist/{connect-cmd-WFACE4NX.js → connect-cmd-O4ATJTQV.js} +10 -10
- package/dist/{container-start-U34LMPGS.js → container-start-SXGAF3WH.js} +45 -45
- package/dist/{context-cleanup-PTFQF5A7.js → context-cleanup-SK445SLA.js} +3 -3
- package/dist/{context-show-cmd-GXUPNW3Z.js → context-show-cmd-D3GXL65K.js} +11 -11
- package/dist/{control-plane-launch-ZRJA7W24.js → control-plane-launch-KVROM6BY.js} +13 -13
- package/dist/{demo-record-cmd-6T2P2Z64.js → demo-record-cmd-UMHWHDZ4.js} +7 -7
- package/dist/{demo-voice-cmd-BYSMAY3R.js → demo-voice-cmd-GBI52Y73.js} +17 -17
- package/dist/dist-775TDFCK.js +7 -0
- package/dist/{docker-7EH4LDVU.js → docker-B76MDGCW.js} +9 -9
- package/dist/{doctor-3GXWZU6D.js → doctor-GAAYMZKZ.js} +47 -47
- package/dist/{emit-artifact-cmd-4X3J35G3.js → emit-artifact-cmd-X4AKVBS2.js} +16 -16
- package/dist/{emit-cmd-3YXG5Y56.js → emit-cmd-A6ZGOPLZ.js} +6 -6
- package/dist/{emit-criteria-cmd-DS3W7WKU.js → emit-criteria-cmd-UKZBMIK6.js} +13 -13
- package/dist/{emit-demo-cmd-ZJIVFPHW.js → emit-demo-cmd-QC56Y6P2.js} +17 -17
- package/dist/{emit-finding-cmd-QVXW6AOG.js → emit-finding-cmd-DL2Y7BEV.js} +13 -13
- package/dist/{emit-result-cmd-LK6WL5EX.js → emit-result-cmd-VPWAJBN6.js} +15 -15
- package/dist/{emit-step-cmd-FFN6RK5U.js → emit-step-cmd-REP4IS3F.js} +13 -13
- package/dist/{exec-client-6BJIQ5LO.js → exec-client-KBOKVUU5.js} +7 -7
- package/dist/find-unit-5PUEPP5J.js +24 -0
- package/dist/{findings-cmd-3QJ3ZWQI.js → findings-cmd-BXAXOQB6.js} +13 -13
- package/dist/{fleet-readiness-YNJ6OSDF.js → fleet-readiness-EDJDDAEB.js} +12 -12
- package/dist/{governing-source-QR62MSH2.js → governing-source-AG7KDIIG.js} +18 -18
- package/dist/{guest-init-XQPD7GMT.js → guest-init-DUOJUQFY.js} +8 -8
- package/dist/{hook-fast-O46AILAO.js → hook-fast-ZVZWP7OQ.js} +1 -1
- package/dist/{hook-install-5ICKPUMZ.js → hook-install-VF3X2ZXN.js} +3 -3
- package/dist/host-checks-FJQWUGNV.js +82 -0
- package/dist/{host-key-QSSOG7YP.js → host-key-MNYYPKBU.js} +7 -7
- package/dist/{image-tag-4OF2ALEL.js → image-tag-BTK5342G.js} +7 -7
- package/dist/index.js +4 -4
- package/dist/{init-LORSDQXS.js → init-FU72DRLW.js} +43 -43
- package/dist/{init-E5XXKJFL.js → init-JXXE5VIF.js} +43 -43
- package/dist/{init-agent-CKCHJGYK.js → init-agent-PSPP3EFU.js} +43 -43
- package/dist/{init-cmd-KGA5CYKE.js → init-cmd-DTMCMKGY.js} +25 -25
- package/dist/{init-update-YWDYID5W.js → init-update-ZJSTM46T.js} +21 -21
- package/dist/install-cmd-U4PP4YQE.js +26 -0
- package/dist/launch-agent-BIAPDAVB.js +26 -0
- package/dist/{layout-GIJHRWYO.js → layout-BG6MFUS3.js} +3 -3
- package/dist/{logs-F7A7A3WS.js → logs-L5GX5BWF.js} +6 -6
- package/dist/loop-43RIGVSW.js +92 -0
- package/dist/machine-RZKEE7YW.js +82 -0
- package/dist/{machine-skills-YPZLCYK5.js → machine-skills-B7KO47CH.js} +3 -3
- package/dist/{mcp-install-cmd-BIF6Q2HX.js → mcp-install-cmd-JXD6Q7NN.js} +3 -3
- package/dist/{mcp-serve-cmd-T5LKPDNV.js → mcp-serve-cmd-3B3KWYHN.js} +8 -8
- package/dist/{paths-HPZ3ETKQ.js → paths-26SZBIOA.js} +6 -6
- package/dist/pending-Y62PXWTU.js +18 -0
- package/dist/{pidfile-W57IVEOM.js → pidfile-22HCQHLJ.js} +7 -7
- package/dist/{record-ALYV6NMK.js → record-HFUJLNOV.js} +7 -7
- package/dist/{relay-OOCAHL5K.js → relay-V5GHEWT3.js} +4 -4
- package/dist/{relay-protocol-6L72CQYQ.js → relay-protocol-2S2EAHYH.js} +4 -4
- package/dist/{run-cmd-QDTPPHEH.js → run-cmd-G4LA2YZR.js} +13 -13
- package/dist/{runner-agents-6LXWGCI5.js → runner-agents-CLDURIBZ.js} +3 -3
- package/dist/{runner-env-QVZNYUSN.js → runner-env-RQ3SKLKL.js} +13 -13
- package/dist/{runner-identity-GOC6IDFS.js → runner-identity-V4IUTSCJ.js} +9 -9
- package/dist/{runner-key-U7CZ6QEN.js → runner-key-HHUSWOSO.js} +43 -43
- package/dist/{session-sender-P3MGBUS3.js → session-sender-AAQXJLNE.js} +16 -16
- package/dist/{setup-cmd-IL2IXNEA.js → setup-cmd-4CKPSEJD.js} +11 -11
- package/dist/{setup-wiring-TTDT6N7U.js → setup-wiring-S7F3DBR7.js} +50 -50
- package/dist/{spec-cmd-TOAB7QLG.js → spec-cmd-V2FPAZJ7.js} +14 -14
- package/dist/{starter-pack-Q5EA2XJI.js → starter-pack-WOD4WMUX.js} +4 -4
- package/dist/{state-7REXJETC.js → state-PSFO26DS.js} +7 -7
- package/dist/{status-COW7ZGIA.js → status-MAZ7WEAO.js} +43 -43
- package/dist/{sync-cmd-SZMQ62CY.js → sync-cmd-2TLRGEXR.js} +15 -15
- package/dist/update-steps-4BYFVJAS.js +83 -0
- package/dist/{watch-2NFUY7FB.js → watch-GQAIYCFW.js} +15 -15
- package/dist/{work-claim-cmd-VURHVZOC.js → work-claim-cmd-Z3QNGSMF.js} +19 -19
- package/dist/{work-cmd-TBN3PSPX.js → work-cmd-LA5ZBMBQ.js} +13 -13
- package/dist/{work-comment-cmd-STKRIVHG.js → work-comment-cmd-NP6USSKX.js} +15 -15
- package/dist/{work-demo-cmd-VT43BELH.js → work-demo-cmd-KZDTXCYM.js} +13 -13
- package/dist/{work-logs-cmd-NSPSFB3I.js → work-logs-cmd-3BX5MK2E.js} +13 -13
- package/dist/{work-mock-cmd-J6UYSYN5.js → work-mock-cmd-IT3IKALB.js} +22 -16
- package/dist/{work-needs-attention-cmd-XIEY4UUW.js → work-needs-attention-cmd-BDIFC7I4.js} +13 -13
- package/dist/{work-no-change-cmd-7EEGZLWP.js → work-no-change-cmd-A65QOBQ2.js} +13 -13
- package/dist/{work-open-pr-cmd-LZFPKU7L.js → work-open-pr-cmd-CGSCDYHI.js} +14 -14
- package/dist/{work-pr-cmd-6RBAVTRU.js → work-pr-cmd-DZKJLYLF.js} +13 -13
- package/dist/{work-proofs-cmd-DDEIBUAH.js → work-proofs-cmd-3RHD7FPY.js} +15 -15
- package/dist/{work-proofs-record-YIXDV7MP.js → work-proofs-record-ROJMYVIQ.js} +21 -21
- package/dist/{work-stop-cmd-DRFPP3EH.js → work-stop-cmd-RJESQDZN.js} +13 -13
- package/package.json +2 -2
- package/dist/caller-DH4RYBWQ.js +0 -23
- package/dist/dist-WAAZSUPE.js +0 -7
- package/dist/find-unit-LUVD3FM2.js +0 -24
- package/dist/host-checks-VQTUQUHE.js +0 -82
- package/dist/install-cmd-3QQBTWJA.js +0 -26
- package/dist/launch-agent-NJ3S22WS.js +0 -26
- package/dist/loop-TBPHJREN.js +0 -92
- package/dist/machine-7GAB22S4.js +0 -82
- package/dist/pending-7BSPROGA.js +0 -18
- package/dist/update-steps-AXQAJXCE.js +0 -83
|
@@ -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 { resolveCredentials, getJson, WorkCommandError } from './chunk-
|
|
5
|
-
import { fleetCheck, checkBuildSkill, checkSpecSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-
|
|
6
|
-
import { withInjectedPrograms } from './chunk-
|
|
7
|
-
import { isLinkedRepository } from './chunk-
|
|
3
|
+
import { checkStarterFiles, contextIsGoverned } from './chunk-YUR7GV5L.js';
|
|
4
|
+
import { resolveCredentials, getJson, WorkCommandError } from './chunk-IOUBTUS2.js';
|
|
5
|
+
import { fleetCheck, checkBuildSkill, checkSpecSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-J4F4V3G2.js';
|
|
6
|
+
import { withInjectedPrograms } from './chunk-SBSH253O.js';
|
|
7
|
+
import { isLinkedRepository } from './chunk-6DO34552.js';
|
|
8
8
|
import { sanitizeTerminal } from './chunk-DV44KCM6.js';
|
|
9
9
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
10
|
-
import { checkFormerSkillNames } from './chunk-
|
|
11
|
-
import { resolveGatewayCredentials, defaultFetch } from './chunk-
|
|
12
|
-
import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-
|
|
10
|
+
import { checkFormerSkillNames } from './chunk-O2324X34.js';
|
|
11
|
+
import { resolveGatewayCredentials, defaultFetch } from './chunk-DG7525WL.js';
|
|
12
|
+
import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-QI6YUQWR.js';
|
|
13
13
|
import { CONTROL_PLANE_DIR_VARIABLE } from './chunk-F3J4UKBF.js';
|
|
14
14
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
15
15
|
import { readStatuslineState, STATE_FRESH_MS } from './chunk-LA66NWUO.js';
|
|
16
16
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
17
|
-
import { installAgents, withSettingsText } from './chunk-
|
|
17
|
+
import { installAgents, withSettingsText } from './chunk-OY4EJVUH.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-CEHT2FCU.js';
|
|
22
22
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
23
|
-
import { SUPPORTED_VERSIONS, resolveRepoIdentity } from './chunk-
|
|
23
|
+
import { SUPPORTED_VERSIONS, resolveRepoIdentity } from './chunk-YNNTU5IZ.js';
|
|
24
24
|
import { CRITERIA_JUDGE_NAME } from './chunk-MCUI6RHU.js';
|
|
25
25
|
import { readFileSync, mkdirSync, writeFileSync, renameSync, existsSync, accessSync, constants, statSync, readdirSync, lstatSync } from 'fs';
|
|
26
26
|
import { sep, join, dirname, resolve, delimiter } from 'path';
|
|
@@ -164,7 +164,8 @@ function checkMcpCommand(cwd, env = process.env, platform = process.platform, ag
|
|
|
164
164
|
}
|
|
165
165
|
const servers = text === void 0 ? void 0 : mcp.servers(text);
|
|
166
166
|
if (servers === void 0) {
|
|
167
|
-
|
|
167
|
+
const syntax = mcp.file.endsWith(".toml") ? "TOML" : "JSON";
|
|
168
|
+
return [{ name: NAME, status: "warn", detail: `${mcp.file} is not valid ${syntax}, so the agent starts none of its servers`, fix: `Fix the ${syntax} syntax in ${mcp.file}.` }];
|
|
168
169
|
}
|
|
169
170
|
const command = servers[SERVER]?.command;
|
|
170
171
|
if (typeof command !== "string") return [];
|
|
@@ -1093,8 +1094,8 @@ function doctorExitCode(checks) {
|
|
|
1093
1094
|
|
|
1094
1095
|
// src/doctor-report.ts
|
|
1095
1096
|
async function gatherDoctorChecks(options = {}) {
|
|
1096
|
-
const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-
|
|
1097
|
-
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-
|
|
1097
|
+
const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-KI2JOKAK.js');
|
|
1098
|
+
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-HYSU7MD3.js');
|
|
1098
1099
|
const configPath = options.configPath ?? defaultRunnerConfigPath();
|
|
1099
1100
|
const runnerHost = hasRunnerBlock(configPath);
|
|
1100
1101
|
const hooks = (() => {
|
|
@@ -1122,7 +1123,7 @@ async function gatherDoctorChecks(options = {}) {
|
|
|
1122
1123
|
const { runnerVmCheck } = await import('./doctor-53F2PYY7.js');
|
|
1123
1124
|
checks.push(runnerVmCheck(configPath, { lima: realLima(), home: homeFromEnv(), instance: runnerVm.instance }));
|
|
1124
1125
|
} else if (hasRunnerBlock(configPath)) {
|
|
1125
|
-
const { runnerHostChecks } = await import('./doctor-
|
|
1126
|
+
const { runnerHostChecks } = await import('./doctor-GAAYMZKZ.js');
|
|
1126
1127
|
const gateway = (() => {
|
|
1127
1128
|
try {
|
|
1128
1129
|
const loaded = loadRunnerConfig(configPath);
|
|
@@ -1150,7 +1151,7 @@ async function gatherDoctorChecks(options = {}) {
|
|
|
1150
1151
|
const service = await (async () => {
|
|
1151
1152
|
const { existsSync: existsSync3 } = await import('fs');
|
|
1152
1153
|
if (process.platform !== "linux" || !existsSync3("/run/systemd/system")) return void 0;
|
|
1153
|
-
const { inspectRunnerService } = await import('./find-unit-
|
|
1154
|
+
const { inspectRunnerService } = await import('./find-unit-5PUEPP5J.js');
|
|
1154
1155
|
return inspectRunnerService(configPath);
|
|
1155
1156
|
})();
|
|
1156
1157
|
checks.push(...await runnerHostChecks({ configPath, hooks, gateway, repos, runner, service }));
|
|
@@ -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-JE23PLDE.js';
|
|
4
4
|
import { readFileSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
5
5
|
import { join } from 'path';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { normalizePath, CONTEXT_PIN_FILENAME, laptopAgents, defaultAgents, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, contextAgents, legacyAgent, legacySubcommand } from './chunk-
|
|
3
|
+
import { normalizePath, CONTEXT_PIN_FILENAME, laptopAgents, defaultAgents, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, contextAgents, legacyAgent, legacySubcommand } from './chunk-CEHT2FCU.js';
|
|
4
4
|
import { LEGACY_AGENT } from './chunk-JIMISJV2.js';
|
|
5
5
|
import { existsSync, readdirSync, readFileSync, mkdirSync, writeFileSync, lstatSync, readlinkSync, symlinkSync, rmdirSync } from 'fs';
|
|
6
6
|
import { relative, sep, join, posix } from 'path';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { defaultAgents, laptopAgents, contextAgents, userSkillFolderIn, loadMachineSkillFiles, resolvePackRoot } from './chunk-
|
|
3
|
+
import { defaultAgents, laptopAgents, contextAgents, userSkillFolderIn, loadMachineSkillFiles, resolvePackRoot } from './chunk-CEHT2FCU.js';
|
|
4
4
|
import { MAINTAINED_SKILLS, maintainedLineVersion } from './chunk-VSBG7MMU.js';
|
|
5
5
|
import { resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
6
6
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readContextManifest, removeContextManifest } from './chunk-YQR6E6OV.js';
|
|
4
4
|
import { removePreCommitGuardHook } from './chunk-CJPTUU2E.js';
|
|
5
|
-
import { CONTEXT_PIN_FILENAME, agentRootFolders } from './chunk-
|
|
5
|
+
import { CONTEXT_PIN_FILENAME, agentRootFolders } from './chunk-CEHT2FCU.js';
|
|
6
6
|
import { execFileSync } from 'child_process';
|
|
7
7
|
import { lstatSync, existsSync, unlinkSync, readdirSync, rmdirSync, readFileSync, mkdirSync, writeFileSync } from 'fs';
|
|
8
8
|
import { join, dirname, isAbsolute } from 'path';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { detectActiveSession } from './chunk-
|
|
4
|
-
import { autoConnect } from './chunk-
|
|
5
|
-
import { workPageUrl } from './chunk-
|
|
3
|
+
import { detectActiveSession } from './chunk-CWJ26A6W.js';
|
|
4
|
+
import { autoConnect } from './chunk-UQWBHNTZ.js';
|
|
5
|
+
import { workPageUrl } from './chunk-6DO34552.js';
|
|
6
6
|
import { sanitizeTerminal } from './chunk-DV44KCM6.js';
|
|
7
7
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
8
|
-
import { resolveGatewayCredentials, unauthorizedMessage, defaultFetch } from './chunk-
|
|
9
|
-
import { signRunnerRequest } from './chunk-
|
|
8
|
+
import { resolveGatewayCredentials, unauthorizedMessage, defaultFetch } from './chunk-DG7525WL.js';
|
|
9
|
+
import { signRunnerRequest } from './chunk-MCJRTOAL.js';
|
|
10
10
|
import { readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
11
11
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
12
12
|
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-JIMISJV2.js';
|
|
13
13
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
14
|
-
import { resolveRepoIdentity } from './chunk-
|
|
14
|
+
import { resolveRepoIdentity } from './chunk-YNNTU5IZ.js';
|
|
15
15
|
|
|
16
16
|
createRequire(import.meta.url);
|
|
17
17
|
|
|
@@ -556,7 +556,7 @@ async function runWorkLinkSession(opts) {
|
|
|
556
556
|
return await linkSession(opts);
|
|
557
557
|
} catch (err) {
|
|
558
558
|
if (opts.logFailures) {
|
|
559
|
-
const { logHookError } = await import('./hook-fast-
|
|
559
|
+
const { logHookError } = await import('./hook-fast-ZVZWP7OQ.js');
|
|
560
560
|
const reason = err instanceof Error ? err.message : String(err);
|
|
561
561
|
logHookError(opts.home ?? homeFromEnv(opts.env ?? process.env), new Error(`work link-session #${opts.number} failed: ${reason}`));
|
|
562
562
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { sanitizeTerminal } from './chunk-DV44KCM6.js';
|
|
4
|
-
import { isAgentsMdLayout } from './chunk-
|
|
5
|
-
import { resolveGatewayCredentials, defaultFetch } from './chunk-
|
|
4
|
+
import { isAgentsMdLayout } from './chunk-G3HBBHIK.js';
|
|
5
|
+
import { resolveGatewayCredentials, defaultFetch } from './chunk-DG7525WL.js';
|
|
6
6
|
import { versionAtLeast } from './chunk-F3J4UKBF.js';
|
|
7
7
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
8
|
-
import { machineSkillsState, staleAgentSkills } from './chunk-
|
|
8
|
+
import { machineSkillsState, staleAgentSkills } from './chunk-GOJ2SPKB.js';
|
|
9
9
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
10
|
-
import { hasSymlinkComponent } from './chunk-
|
|
11
|
-
import { skillDir, emitTree, targetIds, classifyTree, emitBuilders, AGENTS_SKILLS_BASE, defaultAgents, namesCore, MACHINE_SKILL_PATH, skillBases, isMaintainedCopy, contextAgents, loadTemplateFiles, splitRawFile } from './chunk-
|
|
10
|
+
import { hasSymlinkComponent } from './chunk-H7EBNQGW.js';
|
|
11
|
+
import { skillDir, emitTree, targetIds, classifyTree, emitBuilders, AGENTS_SKILLS_BASE, defaultAgents, namesCore, MACHINE_SKILL_PATH, skillBases, isMaintainedCopy, contextAgents, loadTemplateFiles, splitRawFile } from './chunk-CEHT2FCU.js';
|
|
12
12
|
import { MAINTAINED_SKILLS } from './chunk-VSBG7MMU.js';
|
|
13
13
|
import { execFileSync } from 'child_process';
|
|
14
14
|
import { existsSync, readFileSync, writeFileSync, realpathSync, readdirSync } from 'fs';
|
|
@@ -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-732WJDYG.js';
|
|
4
4
|
import { launchRefusalForSession } from './chunk-C2PZOLN7.js';
|
|
5
|
-
import { detectActiveSession } from './chunk-
|
|
6
|
-
import { autoConnect } from './chunk-
|
|
5
|
+
import { detectActiveSession } from './chunk-CWJ26A6W.js';
|
|
6
|
+
import { autoConnect } from './chunk-UQWBHNTZ.js';
|
|
7
7
|
import { readEffectiveArtifactSpoolState, localArtifactIds, isArtifactTombstoned, artifactBlobsDir, appendArtifactRecord, artifactsSpoolPath, findPendingArtifactRecord, sanitizeTerminal, appendArtifactTombstone } from './chunk-DV44KCM6.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
9
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-DG7525WL.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
11
11
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
12
12
|
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-JIMISJV2.js';
|
|
13
13
|
import { homeFromEnv, spoolHomeFromEnv } from './chunk-352DHUTP.js';
|
|
14
|
-
import { resolveRepoIdentity } from './chunk-
|
|
14
|
+
import { resolveRepoIdentity } from './chunk-YNNTU5IZ.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-MCUI6RHU.js';
|
|
16
16
|
import { createHash, randomUUID } from 'crypto';
|
|
17
17
|
import { statSync, readFileSync, mkdirSync, existsSync, writeFileSync, renameSync, unlinkSync } from 'fs';
|
|
@@ -1,38 +1,38 @@
|
|
|
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-FKC5D6CA.js';
|
|
4
4
|
import { fetchVersionMeta, npmVersion, npmSupportsProvenance, fetchTarballDigest, fetchProvenance, installVersion, auditSignatures } from './chunk-E7R2GIAW.js';
|
|
5
|
-
import { reportFailedStart, fitImageBuildMemory } from './chunk-
|
|
6
|
-
import { renderUpdateSteps } from './chunk-
|
|
5
|
+
import { reportFailedStart, fitImageBuildMemory } from './chunk-X56RDVCN.js';
|
|
6
|
+
import { renderUpdateSteps } from './chunk-UYQDQQ6A.js';
|
|
7
7
|
import { decideInstalledSwitch } from './chunk-TXKHD4Q6.js';
|
|
8
|
-
import { writeFleetState } from './chunk-
|
|
9
|
-
import { writePendingUpdate } from './chunk-
|
|
10
|
-
import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-
|
|
11
|
-
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-
|
|
12
|
-
import { leaseTimeLeftMs, createContainerRuntime, heldSandboxClaimsOf, unfinishedJobs, withTunnelLog, itemTag, releaseLease, runDecision, claimRun, LEASE_SECONDS, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, restoreSessionIntoSandbox, restoreWork, keptSessionDir, workRestoredEnv, sessionGuestOfMicroVm, sessionGuestOfContainer, sessionGuestOfSandbox, recordsProofsOnly, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, withJobTimeLimit, deliverContainerHooks, provisionSandbox, deliverSandboxHooks, provisionMicroVm, deliverCommitHooks, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, keptCommitsLine, currentSkillCommand, formerSkillProblem, commandLogOffset, startSandboxCommand, MICROVM_COMMAND_DIR, startMicroVmCommand, microVmCommandLine, runCommand, containerCommandExec, execCommandLine, startSender, startHostServices, finishJob, sampleGuest, foldSample, isSandboxTracked, isContainerTracked, isMicroVmTracked, probeSandboxCommand, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, SandboxGoneError, SandboxContainerStoppedError, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isIsolatedJob, jobTimeLimitMinutes, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, vmAlive, filesAreCopied, inSandbox, listItemDisks, usableCpus, hookLimitsFor, runCommandOf, AttemptLogBook, environmentFor, builtOf, judgeCredential, readWorkItem, makeRecorder, microVmOomKills, needsRenew, renewRun, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, sweepSandboxes, keptSandboxIds, parseCpuList, ensureTunnel, keepGhConfigCurrent, restartSender, rejoinSandboxBuild, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, shellQuote, jobRecordsClaim, freeItemDisksUntil, savedStatesDir, readRecords, removeOldestUntil, treeFileText, timeoutAfter, scrubReason, ensureNetworkReady, ADOPTED_FETCH_RETRY_WINDOW_MS, managedBuildSettingsFor, gitRemoteFor, startServicesFor, installTrust, createLeaseChannel, serveLease, writeGuestGhConfig, deliverJobFiles, inTeardown } from './chunk-
|
|
8
|
+
import { writeFleetState } from './chunk-BCBZHDMW.js';
|
|
9
|
+
import { writePendingUpdate } from './chunk-XAOZFBXK.js';
|
|
10
|
+
import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-KNXKFQQ7.js';
|
|
11
|
+
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-UAOLY4EP.js';
|
|
12
|
+
import { leaseTimeLeftMs, createContainerRuntime, heldSandboxClaimsOf, unfinishedJobs, withTunnelLog, itemTag, releaseLease, runDecision, claimRun, LEASE_SECONDS, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, restoreSessionIntoSandbox, restoreWork, keptSessionDir, workRestoredEnv, sessionGuestOfMicroVm, sessionGuestOfContainer, sessionGuestOfSandbox, recordsProofsOnly, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, withJobTimeLimit, deliverContainerHooks, provisionSandbox, deliverSandboxHooks, provisionMicroVm, deliverCommitHooks, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, keptCommitsLine, currentSkillCommand, formerSkillProblem, commandLogOffset, startSandboxCommand, MICROVM_COMMAND_DIR, startMicroVmCommand, microVmCommandLine, runCommand, containerCommandExec, execCommandLine, startSender, startHostServices, finishJob, sampleGuest, foldSample, isSandboxTracked, isContainerTracked, isMicroVmTracked, probeSandboxCommand, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, SandboxGoneError, SandboxContainerStoppedError, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isIsolatedJob, jobTimeLimitMinutes, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, vmAlive, filesAreCopied, inSandbox, listItemDisks, usableCpus, hookLimitsFor, runCommandOf, AttemptLogBook, environmentFor, builtOf, judgeCredential, readWorkItem, makeRecorder, microVmOomKills, needsRenew, renewRun, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, sweepSandboxes, keptSandboxIds, parseCpuList, ensureTunnel, keepGhConfigCurrent, restartSender, rejoinSandboxBuild, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, shellQuote, jobRecordsClaim, freeItemDisksUntil, savedStatesDir, readRecords, removeOldestUntil, treeFileText, timeoutAfter, scrubReason, ensureNetworkReady, ADOPTED_FETCH_RETRY_WINDOW_MS, managedBuildSettingsFor, gitRemoteFor, startServicesFor, installTrust, createLeaseChannel, serveLease, writeGuestGhConfig, deliverJobFiles, inTeardown } from './chunk-CRATKTFX.js';
|
|
13
13
|
import { RUNNER_PROTOCOL } from './chunk-ZWMV7KVB.js';
|
|
14
|
-
import { criteriaOf, loadCitationFinder, wholeItems, itemsSentence, oneLineReason, wholeEntries, parseJudgeAnswer } from './chunk-
|
|
15
|
-
import { RUNNER_RESERVE_BYTES } from './chunk-
|
|
16
|
-
import { RepoFilter } from './chunk-
|
|
14
|
+
import { criteriaOf, loadCitationFinder, wholeItems, itemsSentence, oneLineReason, wholeEntries, parseJudgeAnswer } from './chunk-MJGBRYDH.js';
|
|
15
|
+
import { RUNNER_RESERVE_BYTES } from './chunk-CFIYOLCT.js';
|
|
16
|
+
import { RepoFilter } from './chunk-732WJDYG.js';
|
|
17
17
|
import { JOB_STATE_FORMAT, readsJobState, jobStateFormatOf } from './chunk-B4XB5QFD.js';
|
|
18
|
-
import { imageTag, writeUpdateStatus, pullInstruction, tagToPull } from './chunk-
|
|
18
|
+
import { imageTag, writeUpdateStatus, pullInstruction, tagToPull } from './chunk-DLYCHCKQ.js';
|
|
19
19
|
import { isVersion, compareVersions, satisfiesRange } from './chunk-TQMI335S.js';
|
|
20
|
-
import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls, itemCalls, configForJob } from './chunk-
|
|
21
|
-
import { fetchCommit, readBranchHead, diffBetween } from './chunk-
|
|
22
|
-
import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-
|
|
20
|
+
import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls, itemCalls, configForJob } from './chunk-TWUEZPWP.js';
|
|
21
|
+
import { fetchCommit, readBranchHead, diffBetween } from './chunk-6367NG5G.js';
|
|
22
|
+
import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-VJCILU3C.js';
|
|
23
23
|
import { startTimeOf, isSameProcess } from './chunk-JBJTC3UU.js';
|
|
24
|
-
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-
|
|
25
|
-
import { WorkCommandError, isSignatureRefusal, getJson, postJson, getBytes } from './chunk-
|
|
26
|
-
import { keyRunnerFactory, readsOnly, isBuiltinSandbox, isBuiltinContainer, isBuiltinVm, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, runnerDeliversComments, DEFAULT_CHECK_TIME_LIMIT_MINUTES, readOnlyRemoteOf, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS, readOnlyOption } from './chunk-
|
|
27
|
-
import { allocatedBytes, freeBytes, formatBytes } from './chunk-
|
|
28
|
-
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, JUDGE_TREE, exceedsDisk, runnerLabelValue, builderName, ensureFailureCount, builderSpec, ensureBuilder, spawnRun, judgeCommand, JUDGE_DIR, JUDGE_MAX_TURNS } from './chunk-
|
|
29
|
-
import { loadHostKey, ensureHostKey, signerFor } from './chunk-
|
|
30
|
-
import { jobsDir, RUNNER_DIR_MODE, runnerDir, RUNNER_FILE_MODE, buildDir, attemptStamp, jobDir, pidFilePath, storeScopes, imagesDir } from './chunk-
|
|
31
|
-
import { parseClaimIdentity, parseBranchlessRepositories, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf, JOB_MOUNT, WORK_DIR } from './chunk-
|
|
32
|
-
import { jobCredentialProblem, COMMAND_LOST_REASON, takeAgentCredentials, heldAgentCredential, CONTAINER_STOPPED_REASON, currentAgentCredential, fdName } from './chunk-
|
|
33
|
-
import { cleanAttachmentName } from './chunk-
|
|
34
|
-
import { jobAgent, jobCommandEnv, runnerAgents, judgeAgent } from './chunk-
|
|
35
|
-
import { defaultAgents, resolvePackRoot } from './chunk-
|
|
24
|
+
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-AL6CJD2X.js';
|
|
25
|
+
import { WorkCommandError, isSignatureRefusal, getJson, postJson, getBytes } from './chunk-IOUBTUS2.js';
|
|
26
|
+
import { keyRunnerFactory, readsOnly, isBuiltinSandbox, isBuiltinContainer, isBuiltinVm, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, runnerDeliversComments, DEFAULT_CHECK_TIME_LIMIT_MINUTES, readOnlyRemoteOf, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS, readOnlyOption } from './chunk-45JV3EMA.js';
|
|
27
|
+
import { allocatedBytes, freeBytes, formatBytes } from './chunk-UMFSHU72.js';
|
|
28
|
+
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, JUDGE_TREE, exceedsDisk, runnerLabelValue, builderName, ensureFailureCount, builderSpec, ensureBuilder, spawnRun, judgeCommand, JUDGE_DIR, JUDGE_MAX_TURNS } from './chunk-YSHMGQRD.js';
|
|
29
|
+
import { loadHostKey, ensureHostKey, signerFor } from './chunk-MCJRTOAL.js';
|
|
30
|
+
import { jobsDir, RUNNER_DIR_MODE, runnerDir, RUNNER_FILE_MODE, buildDir, attemptStamp, jobDir, pidFilePath, storeScopes, imagesDir } from './chunk-JE23PLDE.js';
|
|
31
|
+
import { parseClaimIdentity, parseBranchlessRepositories, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf, JOB_MOUNT, WORK_DIR } from './chunk-77JLN6GC.js';
|
|
32
|
+
import { jobCredentialProblem, COMMAND_LOST_REASON, takeAgentCredentials, heldAgentCredential, CONTAINER_STOPPED_REASON, currentAgentCredential, fdName } from './chunk-QVTGSGQ5.js';
|
|
33
|
+
import { cleanAttachmentName } from './chunk-QI6YUQWR.js';
|
|
34
|
+
import { jobAgent, jobCommandEnv, runnerAgents, judgeAgent } from './chunk-OF6XMZHO.js';
|
|
35
|
+
import { defaultAgents, resolvePackRoot } from './chunk-CEHT2FCU.js';
|
|
36
36
|
import { resolveVersion } from './chunk-RA3O54FC.js';
|
|
37
37
|
import { CheckItemsSchema, CODE_REVIEW_NAME, CHECK_ITEM_HREF_MAX_LENGTH, CHECK_ITEM_REASON_MAX_LENGTH, UNREVIEWED_FILES_ITEM_ID, problemKind, CODE_REVIEW_PROBLEMS_MAX, REVIEWED_COMMIT_ITEM_ID } from './chunk-MCUI6RHU.js';
|
|
38
38
|
import { mkdirSync, existsSync, writeFileSync, chmodSync, renameSync, statSync, readdirSync, rmSync, readFileSync, lstatSync, closeSync } from 'fs';
|
|
@@ -1489,19 +1489,22 @@ var EXCERPT_LINE_MAX = 300;
|
|
|
1489
1489
|
var PROBLEMS_MAX = CODE_REVIEW_PROBLEMS_MAX;
|
|
1490
1490
|
var FILES_MAX = 2e3;
|
|
1491
1491
|
var TITLE_MAX = 300;
|
|
1492
|
+
function storable(text) {
|
|
1493
|
+
return text.replace(/\u0000/g, "").replace(/\p{Cs}/gu, "");
|
|
1494
|
+
}
|
|
1492
1495
|
function problemExcerpt(text, line) {
|
|
1493
1496
|
if (text === void 0 || line === void 0 || !Number.isInteger(line) || line < 1) return null;
|
|
1494
|
-
const lines = text
|
|
1497
|
+
const lines = storable(text).split(/\r\n|\r|\n/);
|
|
1495
1498
|
if (lines.at(-1) === "") lines.pop();
|
|
1496
1499
|
if (line > lines.length) return null;
|
|
1497
1500
|
const startLine = Math.max(1, line - EXCERPT_CONTEXT_LINES);
|
|
1498
1501
|
const endLine = Math.min(lines.length, line + EXCERPT_CONTEXT_LINES);
|
|
1499
|
-
const kept = lines.slice(startLine - 1, endLine).map((raw) => raw.length > EXCERPT_LINE_MAX ? `${raw.slice(0, EXCERPT_LINE_MAX - 1)}\u2026` : raw);
|
|
1502
|
+
const kept = lines.slice(startLine - 1, endLine).map((raw) => raw.length > EXCERPT_LINE_MAX ? `${storable(raw.slice(0, EXCERPT_LINE_MAX - 1))}\u2026` : raw);
|
|
1500
1503
|
return { startLine, text: kept.join("\n") };
|
|
1501
1504
|
}
|
|
1502
|
-
function titleOf(title, fallback) {
|
|
1503
|
-
const line = (title ?? "").replace(/\s+/g, " ").trim();
|
|
1504
|
-
return (line === "" ? fallback : line).slice(0, TITLE_MAX);
|
|
1505
|
+
function titleOf(title, fallback, clean) {
|
|
1506
|
+
const line = clean(storable(title ?? "")).replace(/\s+/g, " ").trim();
|
|
1507
|
+
return storable((line === "" ? fallback : line).slice(0, TITLE_MAX));
|
|
1505
1508
|
}
|
|
1506
1509
|
function reviewRecord(input) {
|
|
1507
1510
|
const entries = wholeEntries(input.merged);
|
|
@@ -1514,7 +1517,7 @@ function reviewRecord(input) {
|
|
|
1514
1517
|
problems.push({
|
|
1515
1518
|
id: item.id,
|
|
1516
1519
|
kind: problemKind(entry.kind),
|
|
1517
|
-
title: titleOf(entry.title, item.id),
|
|
1520
|
+
title: titleOf(entry.title, item.id, input.clean ?? ((text) => text)),
|
|
1518
1521
|
reason: item.reason ?? "",
|
|
1519
1522
|
path: place?.path ?? "",
|
|
1520
1523
|
line: place?.line ?? null,
|
|
@@ -1771,7 +1774,8 @@ async function runReviewJob(input) {
|
|
|
1771
1774
|
// A reviewer that stopped early or wrote no answer proves nothing about a problem that it did not report.
|
|
1772
1775
|
answered: run.answer?.ok === true && run.end.finished
|
|
1773
1776
|
})),
|
|
1774
|
-
excerptOf: (path, line) => problemExcerpt(treeFileText(treeDir, path), line)
|
|
1777
|
+
excerptOf: (path, line) => problemExcerpt(treeFileText(treeDir, path), line),
|
|
1778
|
+
clean: cleanReason
|
|
1775
1779
|
}),
|
|
1776
1780
|
instructions: { cliVersion: deps.cliVersion, sha256: instructions.sha256 }
|
|
1777
1781
|
};
|
|
@@ -3234,7 +3238,7 @@ var CLAIM_REFUSAL_CODES = new Set(
|
|
|
3234
3238
|
"pull_request_from_fork pull_request_on_default_branch pull_request_ambiguous pull_request_repository_not_connected repository_not_reachable branch_claimed_elsewhere".split(" ")
|
|
3235
3239
|
);
|
|
3236
3240
|
async function tryClaimAndStart(state, item, queue) {
|
|
3237
|
-
const { postJson: postJson2 } = await import('./work-cmd-
|
|
3241
|
+
const { postJson: postJson2 } = await import('./work-cmd-LA5ZBMBQ.js');
|
|
3238
3242
|
const log = logOf(state);
|
|
3239
3243
|
const hostKey = await loadHostKey(state.config.configPath);
|
|
3240
3244
|
const claim = await retrySend(
|
|
@@ -4865,7 +4869,7 @@ async function startRunner(configPath, deps, startup) {
|
|
|
4865
4869
|
check: update.check ? () => update.check(configPath) : async () => {
|
|
4866
4870
|
const held = runnerAgents(deps.agents).flatMap((agent) => heldAgentCredential(agent.descriptor.id) ?? []);
|
|
4867
4871
|
const env = { ...process.env, ...Object.fromEntries(held.map((credential) => [credential.variable, credential.value])) };
|
|
4868
|
-
return (await import('./check-
|
|
4872
|
+
return (await import('./check-IQLQEMO6.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
|
|
4869
4873
|
},
|
|
4870
4874
|
now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
|
|
4871
4875
|
log
|
|
@@ -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-77JLN6GC.js';
|
|
4
4
|
import { createServer, connect } from 'net';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { placeholderQueues, placeholderProblem } from './chunk-
|
|
4
|
-
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-
|
|
5
|
-
import { getJson, WorkCommandError } from './chunk-
|
|
6
|
-
import { isBuiltinVm, isBuiltinSandbox, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-
|
|
7
|
-
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-
|
|
8
|
-
import { ensureHostKey } from './chunk-
|
|
9
|
-
import { sandboxSettingsFrom } from './chunk-
|
|
10
|
-
import { BUILD_SLICE_MEMORY_ENV, agentCredentialVariablesSet, agentCredential, parseRunnerEnv } from './chunk-
|
|
11
|
-
import { forwardedVariables, credentialAgent, credentialForms, managedKeyName, builderDiskPinned, storeVariables, credentialEnvPath } from './chunk-
|
|
12
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { placeholderQueues, placeholderProblem } from './chunk-CRATKTFX.js';
|
|
4
|
+
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-CFIYOLCT.js';
|
|
5
|
+
import { getJson, WorkCommandError } from './chunk-IOUBTUS2.js';
|
|
6
|
+
import { isBuiltinVm, isBuiltinSandbox, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-45JV3EMA.js';
|
|
7
|
+
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-UMFSHU72.js';
|
|
8
|
+
import { ensureHostKey } from './chunk-MCJRTOAL.js';
|
|
9
|
+
import { sandboxSettingsFrom } from './chunk-77JLN6GC.js';
|
|
10
|
+
import { BUILD_SLICE_MEMORY_ENV, agentCredentialVariablesSet, agentCredential, parseRunnerEnv } from './chunk-QVTGSGQ5.js';
|
|
11
|
+
import { forwardedVariables, credentialAgent, credentialForms, managedKeyName, builderDiskPinned, storeVariables, credentialEnvPath } from './chunk-OF6XMZHO.js';
|
|
12
|
+
import { defaultAgents } from './chunk-CEHT2FCU.js';
|
|
13
13
|
import { closeSync, openSync, constants, readFileSync } from 'fs';
|
|
14
14
|
import { join, dirname } from 'path';
|
|
15
15
|
import { totalmem } from 'os';
|
|
@@ -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-JE23PLDE.js';
|
|
4
4
|
import { generateKeyPairSync, createPrivateKey, createPublicKey, sign } from 'crypto';
|
|
5
5
|
import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'fs';
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { sanitizeTerminal } from './chunk-DV44KCM6.js';
|
|
4
|
-
import { resolvePackRoot, parseProofsConfig } from './chunk-
|
|
4
|
+
import { resolvePackRoot, parseProofsConfig } from './chunk-CEHT2FCU.js';
|
|
5
5
|
import { CHECK_ITEM_REASON_MAX_LENGTH, CHECK_ITEMS_MAX, CheckItemsSchema, problemKind, CHECK_ITEM_REFS_MAX, CHECK_ITEM_ID_MAX_LENGTH, CHECK_ITEM_REF_PATH_MAX_LENGTH, JUDGE_NOT_RUN_ITEM_ID, REVIEWED_COMMIT_ITEM_ID } from './chunk-MCUI6RHU.js';
|
|
6
6
|
import { createHash } from 'crypto';
|
|
7
7
|
import { join } from 'path';
|
|
@@ -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-JBGASRRE.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-CWJ26A6W.js';
|
|
7
|
+
import { autoConnect } from './chunk-UQWBHNTZ.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { defaultFetch, resolveGatewayCredentials } from './chunk-
|
|
9
|
+
import { defaultFetch, resolveGatewayCredentials } from './chunk-DG7525WL.js';
|
|
10
10
|
import { launchedItemForSession } from './chunk-LGJ56FCM.js';
|
|
11
|
-
import { VOICE_PACK_FILES, VOICE_PACK_VERSION } from './chunk-
|
|
11
|
+
import { VOICE_PACK_FILES, VOICE_PACK_VERSION } from './chunk-OF6XMZHO.js';
|
|
12
12
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
13
|
-
import { resolveRepoIdentity } from './chunk-
|
|
13
|
+
import { resolveRepoIdentity } from './chunk-YNNTU5IZ.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-MCUI6RHU.js';
|
|
15
15
|
import { __commonJS, __require, __toESM } from './chunk-Z5GEFMRW.js';
|
|
16
16
|
import { createHash } from 'crypto';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
4
|
-
import { skillDir, emitTree, targetIds, classifyTree, emitBuilders, defaultAgents, FORMER_MAINTAINED_NAMES, isMaintainedCopy } from './chunk-
|
|
4
|
+
import { skillDir, emitTree, targetIds, classifyTree, emitBuilders, defaultAgents, FORMER_MAINTAINED_NAMES, isMaintainedCopy } from './chunk-CEHT2FCU.js';
|
|
5
5
|
import { readFileSync, existsSync, unlinkSync, rmdirSync, readdirSync } from 'fs';
|
|
6
6
|
import { join, dirname, relative, sep } from 'path';
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { defaultAgents, agentById } from './chunk-
|
|
3
|
+
import { defaultAgents, agentById } from './chunk-CEHT2FCU.js';
|
|
4
4
|
import { PROVIDERS, LEGACY_AGENT } from './chunk-JIMISJV2.js';
|
|
5
5
|
import { join, dirname } from 'path';
|
|
6
6
|
|
|
@@ -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-OF6XMZHO.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
3
|
import { readSettingsText, SettingsParseError, cliForInstall } from './chunk-ZHQC43NH.js';
|
|
4
|
-
import { legacyAgent, defaultAgents, HookTextError } from './chunk-
|
|
4
|
+
import { legacyAgent, defaultAgents, HookTextError } from './chunk-CEHT2FCU.js';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
7
7
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { launcherPath, pathNotes, writeLauncher, LauncherWriteError } from './chunk-
|
|
4
|
-
import { currentVersion, entryIn, currentLink, versionDir, execStartLine, isInLayout, packageRootIn, switchCurrent } from './chunk-
|
|
3
|
+
import { launcherPath, pathNotes, writeLauncher, LauncherWriteError } from './chunk-C6EPHJIV.js';
|
|
4
|
+
import { currentVersion, entryIn, currentLink, versionDir, execStartLine, isInLayout, packageRootIn, switchCurrent } from './chunk-UAOLY4EP.js';
|
|
5
5
|
import { compareVersions } from './chunk-TQMI335S.js';
|
|
6
|
-
import { defaultRunnerConfigPath } from './chunk-
|
|
7
|
-
import { runnerDir, RUNNER_DIR_MODE } from './chunk-
|
|
6
|
+
import { defaultRunnerConfigPath } from './chunk-45JV3EMA.js';
|
|
7
|
+
import { runnerDir, RUNNER_DIR_MODE } from './chunk-JE23PLDE.js';
|
|
8
8
|
import { lchownSync, lstatSync, realpathSync, readFileSync, mkdirSync, rmSync, cpSync, existsSync, readdirSync } from 'fs';
|
|
9
9
|
import { dirname, sep, join, resolve } from 'path';
|
|
10
10
|
import { spawnSync } from 'child_process';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { resolveCredentials, postBytes, RateLimitedError, postJson, getJson, getBytes } from './chunk-
|
|
4
|
-
import { detectActiveSession } from './chunk-
|
|
3
|
+
import { resolveCredentials, postBytes, RateLimitedError, postJson, getJson, getBytes } from './chunk-IOUBTUS2.js';
|
|
4
|
+
import { detectActiveSession } from './chunk-CWJ26A6W.js';
|
|
5
5
|
import { sanitizeTerminal } from './chunk-DV44KCM6.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { defaultFetch } from './chunk-
|
|
8
|
-
import { logHookError } from './chunk-
|
|
7
|
+
import { defaultFetch } from './chunk-DG7525WL.js';
|
|
8
|
+
import { logHookError } from './chunk-QI6YUQWR.js';
|
|
9
9
|
import { parseWorkItemEnv } from './chunk-LGJ56FCM.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
11
11
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
12
|
-
import { resolveRepoIdentity } from './chunk-
|
|
12
|
+
import { resolveRepoIdentity } from './chunk-YNNTU5IZ.js';
|
|
13
13
|
import { ATTACHMENT_CLIENT_ID_HEADER, ATTACHMENT_SHA256_HEADER, ATTACHMENT_FILENAME_HEADER, cleanAttachmentFilename, WORK_ITEM_ATTACHMENTS_MAX_PER_COMMENT, attachmentKind, WORK_ITEM_ATTACHMENT_MAX_BYTES, WORK_ITEM_ATTACHMENTS_MAX_TOTAL_BYTES } from './chunk-MCUI6RHU.js';
|
|
14
14
|
import { randomUUID, createHash } from 'crypto';
|
|
15
15
|
import { mkdirSync, statSync, readFileSync, writeFileSync } from 'fs';
|
|
@@ -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-JSN2DMPB.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-4FUTEM37.js';
|
|
6
|
+
import { RELAY_PORT } from './chunk-77JLN6GC.js';
|
|
7
7
|
import { spawn, spawnSync } from 'child_process';
|
|
8
8
|
import { symlinkSync, lstatSync, writeFileSync, chmodSync, mkdirSync, existsSync } from 'fs';
|
|
9
9
|
|
|
@@ -678,7 +678,7 @@ async function missingRenewalHookContext(home, cwd, codec) {
|
|
|
678
678
|
try {
|
|
679
679
|
const event = codec.events.find((name) => kindOf(codec, name) === "tool-used");
|
|
680
680
|
if (event === void 0) return void 0;
|
|
681
|
-
const { hookRegistered } = await import('./hook-install-
|
|
681
|
+
const { hookRegistered } = await import('./hook-install-VF3X2ZXN.js');
|
|
682
682
|
const registered = hookRegistered(event, { home, cwd });
|
|
683
683
|
if (registered !== false) return void 0;
|
|
684
684
|
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.`;
|
|
@@ -878,11 +878,11 @@ async function missingControlPlane(cwd, sessionId, home, env) {
|
|
|
878
878
|
const dirs = findGitDirs(cwd);
|
|
879
879
|
if (dirs === void 0) return void 0;
|
|
880
880
|
if (existsSync(join(dirs.gitCommonDir, "outerlayer", "materialized.json")) || hasExcludeBlock(dirs.gitCommonDir)) {
|
|
881
|
-
const { cleanupEarlierCopies } = await import('./context-cleanup-
|
|
881
|
+
const { cleanupEarlierCopies } = await import('./context-cleanup-SK445SLA.js');
|
|
882
882
|
cleanupEarlierCopies(dirs);
|
|
883
883
|
}
|
|
884
884
|
if (!contextPossiblyGoverned(cwd, home)) return void 0;
|
|
885
|
-
const { governanceOf } = await import('./control-plane-launch-
|
|
885
|
+
const { governanceOf } = await import('./control-plane-launch-KVROM6BY.js');
|
|
886
886
|
if (await governanceOf({ cwd, env, home }) !== "governed") return void 0;
|
|
887
887
|
recordMissingContext(dirs, sessionId, home);
|
|
888
888
|
const launcher = `${cliInvocation()} ${LEGACY.legacy.subcommand}`;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { providersOf, credentialEnvPath, credentialNames, credentialForms, runnerAgents, credentialAgent, orList, credentialShapes, strippedVariables, jobAgent, forwardedVariables, MANAGED_KIND } from './chunk-
|
|
4
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { providersOf, credentialEnvPath, credentialNames, credentialForms, runnerAgents, credentialAgent, orList, credentialShapes, strippedVariables, jobAgent, forwardedVariables, MANAGED_KIND } from './chunk-OF6XMZHO.js';
|
|
4
|
+
import { defaultAgents } from './chunk-CEHT2FCU.js';
|
|
5
5
|
import { PROVIDERS } from './chunk-JIMISJV2.js';
|
|
6
6
|
import { statSync, readFileSync } from 'fs';
|
|
7
7
|
import { join } from 'path';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { CONTROL_PLANE_DIR_VARIABLE, SUPPORTED_CONTROL_PLANE_LAYOUT } from './chunk-F3J4UKBF.js';
|
|
4
|
-
import { legacyAgent, agentById, defaultAgents, legacySubcommand } from './chunk-
|
|
4
|
+
import { legacyAgent, agentById, defaultAgents, legacySubcommand } from './chunk-CEHT2FCU.js';
|
|
5
5
|
import { LEGACY_AGENT } from './chunk-JIMISJV2.js';
|
|
6
6
|
import { MAINTAINED_SKILLS } from './chunk-VSBG7MMU.js';
|
|
7
7
|
import { lstatSync, readFileSync } 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-CEHT2FCU.js';
|
|
4
4
|
|
|
5
5
|
createRequire(import.meta.url);
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { keyRunnerFactory, RunnerConfigError } from './chunk-
|
|
4
|
-
import { orgHomeDir } from './chunk-
|
|
3
|
+
import { keyRunnerFactory, RunnerConfigError } from './chunk-45JV3EMA.js';
|
|
4
|
+
import { orgHomeDir } from './chunk-JE23PLDE.js';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
3
|
+
import { runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-JE23PLDE.js';
|
|
4
4
|
import { readlinkSync, realpathSync, mkdirSync, unlinkSync, symlinkSync, renameSync, readFileSync, writeFileSync, rmSync, existsSync, readdirSync } from 'fs';
|
|
5
5
|
import { join, basename, sep, resolve } from 'path';
|
|
6
6
|
|