@outerlayer/cli 0.38.0-next.20261107103956 → 0.38.0-next.20261107184816
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/README.md +1 -1
- package/dist/{agent-setup-IJNDJ4XL.js → agent-setup-J2C7PISK.js} +18 -18
- package/dist/{agent-subcommand-XECZFIAS.js → agent-subcommand-YCRAD3QN.js} +3 -3
- package/dist/{bridge-LDKKFAHH.js → bridge-OCOPEDMR.js} +6 -6
- package/dist/{build-PTFRHSXI.js → build-MTMSLEOI.js} +12 -12
- package/dist/{build-disk-EO2VG3MF.js → build-disk-RY7QJCZP.js} +10 -10
- package/dist/build-info.json +1 -1
- package/dist/{builder-LCIBBOWQ.js → builder-P2D7PTXH.js} +9 -9
- package/dist/caller-BJPVYCSM.js +23 -0
- package/dist/{check-U2CFIW42.js → check-U5LTHG3N.js} +52 -52
- package/dist/{chunk-VYAFSV43.js → chunk-3TRMPCCI.js} +1 -1
- package/dist/{chunk-WDJPGE6K.js → chunk-43XRQSWJ.js} +4 -4
- package/dist/{chunk-SYENSVOK.js → chunk-44RGEXYN.js} +3 -3
- package/dist/{chunk-VZGTPITG.js → chunk-4VL4HT6D.js} +1 -1
- package/dist/{chunk-2IVRTP6M.js → chunk-4VNSEQBZ.js} +1 -1
- package/dist/{chunk-QHT6PIFP.js → chunk-5CEGWBDI.js} +4 -4
- package/dist/{chunk-PJNOTSB5.js → chunk-5JFDNAVV.js} +1 -1
- package/dist/{chunk-3HEBSWNE.js → chunk-5XZC3UIR.js} +1 -1
- package/dist/{chunk-LPTMKPCD.js → chunk-63SCDN4P.js} +1 -1
- package/dist/{chunk-DDPCKTVN.js → chunk-66SD3GOA.js} +5 -5
- package/dist/{chunk-SOB4KVRZ.js → chunk-6HLDZC44.js} +5 -5
- package/dist/{chunk-V43NFQE3.js → chunk-7G5JZ4TH.js} +1 -1
- package/dist/{chunk-BJYX3PMU.js → chunk-7IRSSEMO.js} +1 -1
- package/dist/{chunk-DRUM7NWK.js → chunk-7K63WET7.js} +1 -1
- package/dist/{chunk-MXSQINKG.js → chunk-7NXDDSJI.js} +6 -6
- package/dist/{chunk-IQHREL5T.js → chunk-7UEW7HXC.js} +7 -7
- package/dist/{chunk-LYBHKNEG.js → chunk-7XKAPGFQ.js} +1 -1
- package/dist/{chunk-6Y4ZE74I.js → chunk-AZDDIZDE.js} +4 -4
- package/dist/{chunk-6AKP3FBS.js → chunk-BSP2BRL6.js} +4 -4
- package/dist/{chunk-3RFREMDQ.js → chunk-BWWLPFL6.js} +27 -27
- package/dist/{chunk-RZXP427Z.js → chunk-CJQ7KWMT.js} +1 -1
- package/dist/{chunk-7VVTZNUP.js → chunk-DU76SWD7.js} +4 -4
- package/dist/{chunk-YFARFA4Y.js → chunk-DZPG7FOP.js} +3 -3
- package/dist/{chunk-ICKFR2DB.js → chunk-EEQECBHQ.js} +7 -7
- package/dist/{chunk-WCQJNDQC.js → chunk-ENRSJPIS.js} +4 -4
- package/dist/{chunk-SZQKS4QK.js → chunk-EUMGKMIV.js} +6 -6
- package/dist/{chunk-LYORNXIT.js → chunk-EWDSVOX3.js} +1 -1
- package/dist/{chunk-X25VXXCF.js → chunk-EWRQ37X7.js} +151 -17
- package/dist/{chunk-C3P637LO.js → chunk-FWIG3OAH.js} +1 -1
- package/dist/{chunk-ABPIZHXI.js → chunk-H5F3LTAS.js} +3 -3
- package/dist/{chunk-FSQDS7A6.js → chunk-HJ5MIJCQ.js} +1 -1
- package/dist/{chunk-3UKDQNFF.js → chunk-HYUO2OKW.js} +1 -1
- package/dist/{chunk-QQSXVGVH.js → chunk-ILMPYP3K.js} +5 -5
- package/dist/{chunk-OO33S4AF.js → chunk-J67VPST6.js} +1 -1
- package/dist/{chunk-EOXQCUFJ.js → chunk-JBEGQDZH.js} +2 -2
- package/dist/{chunk-YRCFINIR.js → chunk-JDYNCC66.js} +25 -25
- package/dist/{chunk-WCBLLIPD.js → chunk-JUDCVMBV.js} +5 -5
- package/dist/{chunk-RWNVQSGX.js → chunk-KCHOHMSX.js} +3 -3
- package/dist/{chunk-OSHKKESX.js → chunk-M6LQSXFY.js} +1 -1
- package/dist/{chunk-XGPFDFDU.js → chunk-MG5J36XT.js} +3 -3
- package/dist/{chunk-FZD6GIW5.js → chunk-NDOJJGEK.js} +8 -8
- package/dist/{chunk-FSYEDSSA.js → chunk-NQ2NJLAL.js} +1 -1
- package/dist/{chunk-FPPBL7ZC.js → chunk-OGG5VWEZ.js} +1 -1
- package/dist/{chunk-BEQYO2VO.js → chunk-PWVYGW2V.js} +1 -1
- package/dist/{chunk-TWWAV67F.js → chunk-PY3KCLWJ.js} +5 -5
- package/dist/{chunk-HCIOUSUX.js → chunk-QQRWK5EX.js} +2 -2
- package/dist/{chunk-TMQKDFKO.js → chunk-QR47L734.js} +8 -8
- package/dist/{chunk-X32HZMMA.js → chunk-QS35NUBD.js} +4 -4
- package/dist/{chunk-OAOZDJYT.js → chunk-RX24HRUS.js} +3 -3
- package/dist/{chunk-O3TOA2KE.js → chunk-SIISSXA6.js} +3 -3
- package/dist/{chunk-WX7XACEU.js → chunk-T66LOXZB.js} +1 -1
- package/dist/{chunk-QF6US5YN.js → chunk-TCI4V7QP.js} +2 -2
- package/dist/{chunk-7GQE5D72.js → chunk-TCIZ3VKP.js} +1 -1
- package/dist/{chunk-LQEI4HZF.js → chunk-TDN3432V.js} +1 -1
- package/dist/{chunk-XKJZHY4J.js → chunk-TVQTEICS.js} +1 -1
- package/dist/{chunk-NDLWXIVK.js → chunk-TZUHKFC6.js} +1 -1
- package/dist/{chunk-G3NMES6L.js → chunk-U7OYSE76.js} +10 -10
- package/dist/{chunk-BU25W7GF.js → chunk-V3X5VM6A.js} +2 -2
- package/dist/{chunk-KM77NSXE.js → chunk-VB2GEEGY.js} +15 -15
- package/dist/{chunk-SDUCKX46.js → chunk-XAYMVIQY.js} +7 -7
- package/dist/{chunk-NOBB3LEO.js → chunk-XFJMPO74.js} +1 -1
- package/dist/{chunk-VLAVNWM4.js → chunk-XZP72AOD.js} +11 -9
- package/dist/{chunk-YSCRMX2T.js → chunk-Y2P3FT6G.js} +8 -8
- package/dist/{chunk-FPEZB7CD.js → chunk-Y7HKHBYK.js} +7 -7
- package/dist/{chunk-B7CAUXSV.js → chunk-YZKIVSIQ.js} +5 -5
- package/dist/{chunk-QZAZPRDW.js → chunk-Z6YIYLPX.js} +5 -5
- package/dist/{chunk-6IXZHORY.js → chunk-Z7R5E2HV.js} +4 -4
- package/dist/{chunk-PVLDVUNJ.js → chunk-ZFWP52L6.js} +2 -2
- package/dist/{chunk-SEAVWMW2.js → chunk-ZU6OBLU3.js} +4 -4
- package/dist/{claude-launcher-62NZAUKT.js → claude-launcher-NTEWAXO7.js} +6 -6
- package/dist/{cli-UWN7LDID.js → cli-PS7XEHDC.js} +142 -142
- package/dist/{command-WVYT7OZA.js → command-FJO564JN.js} +47 -47
- package/dist/{config-4YPIDOHH.js → config-K5477PLJ.js} +11 -11
- package/dist/{connect-cmd-GAWR7QSH.js → connect-cmd-NE75AUDR.js} +10 -10
- package/dist/{container-start-ZMIAMEQC.js → container-start-NXNYBKGN.js} +45 -45
- package/dist/{context-cleanup-L3ZKG6EU.js → context-cleanup-FHYZICVI.js} +3 -3
- package/dist/{context-show-cmd-YJ4IJ2WI.js → context-show-cmd-53IEEMK4.js} +11 -11
- package/dist/{control-plane-launch-GOKEVTPX.js → control-plane-launch-7GN73PIO.js} +13 -13
- package/dist/{demo-record-cmd-AZSEQXO4.js → demo-record-cmd-AUL3OZMX.js} +7 -7
- package/dist/{demo-voice-cmd-KHEMTR5T.js → demo-voice-cmd-DAP7MSYJ.js} +17 -17
- package/dist/{dist-RMEOTTVL.js → dist-B6QSEYVP.js} +1 -1
- package/dist/{docker-QMKIWXHF.js → docker-6KNTLZCA.js} +9 -9
- package/dist/{doctor-VCAXH6RM.js → doctor-PEOXISDY.js} +47 -47
- package/dist/{emit-artifact-cmd-72QEOEJH.js → emit-artifact-cmd-2J3TQ652.js} +16 -16
- package/dist/{emit-cmd-X5F5HUTQ.js → emit-cmd-2BYJIBRM.js} +6 -6
- package/dist/{emit-criteria-cmd-HTHETRH6.js → emit-criteria-cmd-CNROEUA7.js} +13 -13
- package/dist/{emit-demo-cmd-LFYJURFC.js → emit-demo-cmd-TAVPUXNS.js} +17 -17
- package/dist/{emit-finding-cmd-GFWCMJFY.js → emit-finding-cmd-T6UJLB74.js} +13 -13
- package/dist/{emit-result-cmd-FTWLKM6G.js → emit-result-cmd-7P2VE2KQ.js} +15 -15
- package/dist/{emit-step-cmd-J4L2OAWE.js → emit-step-cmd-H65D6IPI.js} +13 -13
- package/dist/{exec-client-YQH4ZSRM.js → exec-client-KCAOA7TU.js} +7 -7
- package/dist/find-unit-DL6CINZ6.js +24 -0
- package/dist/{findings-cmd-VFE7VINC.js → findings-cmd-73PY2SZK.js} +13 -13
- package/dist/{fleet-readiness-FGQPCFSP.js → fleet-readiness-DFXMIKTG.js} +12 -12
- package/dist/{governing-source-NMZSHEHR.js → governing-source-2SXXRBDL.js} +18 -18
- package/dist/{guest-init-DPZAVCWH.js → guest-init-MGPZH5BA.js} +8 -8
- package/dist/{hook-fast-3VMKCCUO.js → hook-fast-B4SR6P4L.js} +1 -1
- package/dist/{hook-install-TTF6LASI.js → hook-install-VRQNP45Z.js} +3 -3
- package/dist/host-checks-Y2V4GUP5.js +79 -0
- package/dist/{host-key-QZWN6ECO.js → host-key-KIZM3HYT.js} +7 -7
- package/dist/{image-tag-5TZ7MF5H.js → image-tag-2WKQHVAX.js} +7 -7
- package/dist/index.js +4 -4
- package/dist/init-M3F6ETSQ.js +79 -0
- package/dist/{init-RUAPRUFX.js → init-RK2HMBNN.js} +43 -43
- package/dist/{init-agent-TT25322F.js → init-agent-2HMRPOPQ.js} +43 -43
- package/dist/{init-cmd-6A3PHOXB.js → init-cmd-S7MPELV2.js} +24 -24
- package/dist/{init-update-JLOPXC5U.js → init-update-NPS5FCL3.js} +21 -21
- package/dist/{install-cmd-JDA4CNYW.js → install-cmd-VUHT3VRQ.js} +9 -9
- package/dist/{layout-AKKICGLZ.js → layout-LUNPQEUV.js} +3 -3
- package/dist/{logs-WPNNAY5E.js → logs-HOMZHA2J.js} +6 -6
- package/dist/loop-CV5DU7D5.js +90 -0
- package/dist/machine-NAJDN5YF.js +79 -0
- package/dist/{machine-skills-GGLBQANZ.js → machine-skills-775ZQVO6.js} +3 -3
- package/dist/{mcp-install-cmd-3NHDPAML.js → mcp-install-cmd-ULHE6OSG.js} +3 -3
- package/dist/{mcp-serve-cmd-CLVZFL37.js → mcp-serve-cmd-Y4BJLFGW.js} +8 -8
- package/dist/{paths-PSLRVOVY.js → paths-JK5BDRCA.js} +6 -6
- package/dist/pending-VFF4H3QR.js +18 -0
- package/dist/{pidfile-5E4YPCTC.js → pidfile-5L3BHW44.js} +7 -7
- package/dist/{record-7ZMZA5QE.js → record-4CSZUOA5.js} +7 -7
- package/dist/{relay-UUIHK5TY.js → relay-XWNOQOER.js} +4 -4
- package/dist/{relay-protocol-MQVXSFN4.js → relay-protocol-IZ3TCHPP.js} +4 -4
- package/dist/{runner-agents-M5CMF2ZA.js → runner-agents-MMDKTRAS.js} +3 -3
- package/dist/{runner-env-3S64BNCU.js → runner-env-ORVI32Q5.js} +13 -13
- package/dist/{runner-identity-3GMF6FKI.js → runner-identity-ODXVKSHY.js} +9 -9
- package/dist/{runner-key-KZGNIOHI.js → runner-key-N4CFKSI5.js} +43 -43
- package/dist/{session-sender-M325MH5U.js → session-sender-WHVEJ2NF.js} +16 -16
- package/dist/{spec-cmd-QIVFOHR4.js → spec-cmd-L3SW3H5X.js} +14 -14
- package/dist/{starter-pack-P5BRWSAP.js → starter-pack-7ZXZ3HTU.js} +4 -4
- package/dist/{state-5H5LGYWN.js → state-PX6MYPNS.js} +7 -7
- package/dist/{status-QQZT6HHZ.js → status-FWIMTBJM.js} +43 -43
- package/dist/{sync-cmd-JHFRUMM5.js → sync-cmd-TQ3BD33X.js} +15 -15
- package/dist/update-steps-I7GMX4NB.js +80 -0
- package/dist/{watch-TVHFOLVK.js → watch-LPZSKT3Y.js} +15 -15
- package/dist/{work-claim-cmd-LTIAXIWH.js → work-claim-cmd-FE4ODVDB.js} +19 -19
- package/dist/{work-cmd-VC353JLU.js → work-cmd-QLCNL3HL.js} +13 -13
- package/dist/{work-comment-cmd-SRQXRRJT.js → work-comment-cmd-MDZNZZKD.js} +15 -15
- package/dist/{work-demo-cmd-INUFIHU4.js → work-demo-cmd-TZBULOWF.js} +13 -13
- package/dist/{work-logs-cmd-TMJC7RRS.js → work-logs-cmd-CBORQ32A.js} +13 -13
- package/dist/{work-no-change-cmd-7NI4FKCC.js → work-no-change-cmd-F3PJIXYP.js} +13 -13
- package/dist/{work-open-pr-cmd-O6XW2YGD.js → work-open-pr-cmd-ZS3K4IJE.js} +14 -14
- package/dist/{work-pr-cmd-QSE3BH3Z.js → work-pr-cmd-DUIN47NH.js} +13 -13
- package/dist/{work-proofs-cmd-MHSLSBDV.js → work-proofs-cmd-MUGKJWPZ.js} +15 -15
- package/dist/{work-proofs-record-FU2Y6FBF.js → work-proofs-record-547S7GH6.js} +21 -21
- package/dist/{work-stop-cmd-J77H7RLL.js → work-stop-cmd-6EMQJ4OJ.js} +13 -13
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer-build/SKILL.md +1 -1
- package/skill-pack/maintained/outerlayer-build/references/release.md +1 -1
- package/skill-pack/maintained/outerlayer-build/scripts/criterion-citations.mjs +1 -1
- package/skill-pack/maintained/outerlayer-evidence/SKILL.md +3 -3
- package/dist/caller-Y3RGYXHU.js +0 -23
- package/dist/find-unit-F3Q54LLR.js +0 -24
- package/dist/host-checks-5SPBYP6O.js +0 -79
- package/dist/init-TFGPUVUU.js +0 -79
- package/dist/loop-2SYWWJHW.js +0 -90
- package/dist/machine-GD2UAX6F.js +0 -79
- package/dist/pending-GWDAXQSA.js +0 -18
- package/dist/update-steps-KDMOFCVB.js +0 -80
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { gatherDoctorChecks, doctorExitCode, summarizeChecks, renderDoctorText, recordWrapped, recordUnwrapped, recordRemoval, readManifest, recordInstall, recordStatusline } from './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import { verifiedTrackerNames, TRACKERS } from './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
11
|
-
import './chunk-
|
|
12
|
-
import './chunk-
|
|
3
|
+
import { gatherDoctorChecks, doctorExitCode, summarizeChecks, renderDoctorText, recordWrapped, recordUnwrapped, recordRemoval, readManifest, recordInstall, recordStatusline } from './chunk-VB2GEEGY.js';
|
|
4
|
+
import './chunk-PY3KCLWJ.js';
|
|
5
|
+
import { verifiedTrackerNames, TRACKERS } from './chunk-7UEW7HXC.js';
|
|
6
|
+
import './chunk-4VL4HT6D.js';
|
|
7
|
+
import './chunk-KCHOHMSX.js';
|
|
8
|
+
import './chunk-6HLDZC44.js';
|
|
9
|
+
import './chunk-7K63WET7.js';
|
|
10
|
+
import './chunk-5XZC3UIR.js';
|
|
11
|
+
import './chunk-QQRWK5EX.js';
|
|
12
|
+
import './chunk-DU76SWD7.js';
|
|
13
13
|
import './chunk-OCQ5FQZR.js';
|
|
14
|
-
import { FIRST_VERSION_READING_AGENTS_SKILLS } from './chunk-
|
|
14
|
+
import { FIRST_VERSION_READING_AGENTS_SKILLS } from './chunk-NQ2NJLAL.js';
|
|
15
15
|
import './chunk-2KL345FW.js';
|
|
16
16
|
import './chunk-A2LHHKTT.js';
|
|
17
17
|
import { C, warnDeprecated, API_KEY_FLAG_DEPRECATION, NO_COLOR_FLAG, stripNoColor } from './chunk-2AM6Z5BP.js';
|
|
18
|
-
import './chunk-
|
|
19
|
-
import './chunk-
|
|
18
|
+
import './chunk-4VNSEQBZ.js';
|
|
19
|
+
import './chunk-XFJMPO74.js';
|
|
20
20
|
import './chunk-HWVMRETT.js';
|
|
21
|
-
import './chunk-
|
|
22
|
-
import './chunk-
|
|
23
|
-
import './chunk-
|
|
24
|
-
import './chunk-
|
|
25
|
-
import { hookFiredMarkerPath, installedCliDistDir } from './chunk-
|
|
21
|
+
import './chunk-HJ5MIJCQ.js';
|
|
22
|
+
import './chunk-EWDSVOX3.js';
|
|
23
|
+
import './chunk-5CEGWBDI.js';
|
|
24
|
+
import './chunk-V3X5VM6A.js';
|
|
25
|
+
import { hookFiredMarkerPath, installedCliDistDir } from './chunk-SIISSXA6.js';
|
|
26
26
|
import './chunk-545P7JY7.js';
|
|
27
27
|
import './chunk-SF2TBJBP.js';
|
|
28
28
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
29
29
|
import './chunk-M53UNEO6.js';
|
|
30
30
|
import './chunk-BKO6JEZI.js';
|
|
31
|
-
import './chunk-
|
|
31
|
+
import './chunk-7G5JZ4TH.js';
|
|
32
32
|
import './chunk-NFZMENCY.js';
|
|
33
33
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
34
34
|
import { cliInvocation, packageRunnerOf } from './chunk-FZKNTIOJ.js';
|
|
35
|
-
import { installAgents, settingsFileOf, withSettingsText } from './chunk-
|
|
35
|
+
import { installAgents, settingsFileOf, withSettingsText } from './chunk-CJQ7KWMT.js';
|
|
36
36
|
import { cliForInstall, SettingsParseError, PORTABLE_BIN, writeSettingsText, cliBinResolvable } from './chunk-ZHQC43NH.js';
|
|
37
|
-
import './chunk-
|
|
37
|
+
import './chunk-63SCDN4P.js';
|
|
38
38
|
import { cloneIsGoverned } from './chunk-YQR6E6OV.js';
|
|
39
39
|
import { removeJournalHooks, removePreCommitGuardHook } from './chunk-CJPTUU2E.js';
|
|
40
|
-
import { headlessNames, credentialForms, runnerAgentNamed, credentialAgent, runnerAgents, orList, credentialShapes } from './chunk-
|
|
41
|
-
import { defaultAgents, knownTargetsLine, legacyAgent } from './chunk-
|
|
40
|
+
import { headlessNames, credentialForms, runnerAgentNamed, credentialAgent, runnerAgents, orList, credentialShapes } from './chunk-5JFDNAVV.js';
|
|
41
|
+
import { defaultAgents, knownTargetsLine, legacyAgent } from './chunk-J67VPST6.js';
|
|
42
42
|
import './chunk-PLVHIQJN.js';
|
|
43
43
|
import './chunk-7PZDPISM.js';
|
|
44
44
|
import './chunk-CDDED64E.js';
|
|
45
45
|
import { resolveVersion, resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
46
46
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
47
|
-
import './chunk-
|
|
47
|
+
import './chunk-EWRQ37X7.js';
|
|
48
48
|
import './chunk-2VNT47DG.js';
|
|
49
49
|
import './chunk-Z5GEFMRW.js';
|
|
50
50
|
import { EventEmitter } from 'events';
|
|
@@ -3659,14 +3659,14 @@ function apiKeyOption() {
|
|
|
3659
3659
|
return new Option("--api-key <key>", `deprecated: use \`${cliInvocation()} login\` or OUTERLAYER_API_KEY`).hideHelp();
|
|
3660
3660
|
}
|
|
3661
3661
|
async function installStarterPackInRepo() {
|
|
3662
|
-
const { installStarterPack, formatStarterPackOutput } = await import('./starter-pack-
|
|
3662
|
+
const { installStarterPack, formatStarterPackOutput } = await import('./starter-pack-7ZXZ3HTU.js');
|
|
3663
3663
|
const cwd = process.cwd();
|
|
3664
3664
|
let repoRoot = cwd;
|
|
3665
3665
|
try {
|
|
3666
3666
|
repoRoot = execFileSync("git", ["rev-parse", "--show-toplevel"], { cwd, encoding: "utf8", stdio: ["ignore", "pipe", "ignore"] }).trim() || cwd;
|
|
3667
3667
|
} catch {
|
|
3668
3668
|
}
|
|
3669
|
-
const { declareAgentsMdLayout, isAgentsMdLayout, skillsBaseFor } = await import('./layout-
|
|
3669
|
+
const { declareAgentsMdLayout, isAgentsMdLayout, skillsBaseFor } = await import('./layout-LUNPQEUV.js');
|
|
3670
3670
|
const fresh = !isAgentsMdLayout(repoRoot) && !existsSync(join(repoRoot, ".outerlayer/skills")) && !existsSync(join(repoRoot, ".outerlayer/AGENTS.md"));
|
|
3671
3671
|
const result = installStarterPack({ repoRoot, base: fresh ? ".agents/skills" : skillsBaseFor(repoRoot) });
|
|
3672
3672
|
if (fresh) declareAgentsMdLayout(repoRoot);
|
|
@@ -3809,7 +3809,7 @@ ${starter.output}`),
|
|
|
3809
3809
|
}
|
|
3810
3810
|
}
|
|
3811
3811
|
async function installMachineSkillsForSetup() {
|
|
3812
|
-
const { setupMachineSkills } = await import('./machine-skills-
|
|
3812
|
+
const { setupMachineSkills } = await import('./machine-skills-775ZQVO6.js');
|
|
3813
3813
|
const result = setupMachineSkills(homeFromEnv());
|
|
3814
3814
|
for (const failure of result.failures) process.stderr.write(`${C.yellow}!${C.reset} Could not write a maintained skill: ${failure}
|
|
3815
3815
|
`);
|
|
@@ -3817,8 +3817,8 @@ async function installMachineSkillsForSetup() {
|
|
|
3817
3817
|
` : "";
|
|
3818
3818
|
}
|
|
3819
3819
|
async function realConnectDepsForCwd() {
|
|
3820
|
-
const { realConnectDeps } = await import('./connect-cmd-
|
|
3821
|
-
const { resolveRepoIdentity } = await import('./dist-
|
|
3820
|
+
const { realConnectDeps } = await import('./connect-cmd-NE75AUDR.js');
|
|
3821
|
+
const { resolveRepoIdentity } = await import('./dist-B6QSEYVP.js');
|
|
3822
3822
|
return {
|
|
3823
3823
|
...realConnectDeps(),
|
|
3824
3824
|
home: homeFromEnv(),
|
|
@@ -3835,7 +3835,7 @@ function buildProgram(argv = process.argv) {
|
|
|
3835
3835
|
const program2 = new Command();
|
|
3836
3836
|
program2.name(cliInvocation()).description("OuterLayer \u2014 see what your coding agents actually do").enablePositionalOptions().version(resolveVersion()).hook("preAction", async (_root, command) => {
|
|
3837
3837
|
if (command.opts().apiKey !== void 0) warnDeprecated(API_KEY_FLAG_DEPRECATION);
|
|
3838
|
-
const { machineRefreshSkipped, refreshMachineSkills } = await import('./machine-skills-
|
|
3838
|
+
const { machineRefreshSkipped, refreshMachineSkills } = await import('./machine-skills-775ZQVO6.js');
|
|
3839
3839
|
const names = [];
|
|
3840
3840
|
for (let at = command; at?.parent; at = at.parent) names.push(at.name());
|
|
3841
3841
|
if (!machineRefreshSkipped(names, command._hidden === true, argv)) refreshMachineSkills(homeFromEnv());
|
|
@@ -3892,8 +3892,8 @@ build, ../outerlayer-build/SKILL.md becomes ~/.agents/skills/outerlayer-build/SK
|
|
|
3892
3892
|
what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocation() + " doctor` reports the same\nstates under Starter files.\n"
|
|
3893
3893
|
).action(async (opts) => {
|
|
3894
3894
|
if (opts.update || opts.dryRun) {
|
|
3895
|
-
const { runInitUpdateWithFleet, formatInitUpdate, updateFlagProblem } = await import('./init-update-
|
|
3896
|
-
const { fleetReadiness } = await import('./fleet-readiness-
|
|
3895
|
+
const { runInitUpdateWithFleet, formatInitUpdate, updateFlagProblem } = await import('./init-update-NPS5FCL3.js');
|
|
3896
|
+
const { fleetReadiness } = await import('./fleet-readiness-DFXMIKTG.js');
|
|
3897
3897
|
const problem = updateFlagProblem(opts);
|
|
3898
3898
|
if (problem !== void 0) {
|
|
3899
3899
|
fail(problem);
|
|
@@ -3910,7 +3910,7 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3910
3910
|
}
|
|
3911
3911
|
let starterTemplate;
|
|
3912
3912
|
if (opts.template !== void 0) {
|
|
3913
|
-
const { assertKnownTemplate, StarterPackError } = await import('./starter-pack-
|
|
3913
|
+
const { assertKnownTemplate, StarterPackError } = await import('./starter-pack-7ZXZ3HTU.js');
|
|
3914
3914
|
try {
|
|
3915
3915
|
assertKnownTemplate(opts.template);
|
|
3916
3916
|
} catch (err) {
|
|
@@ -3944,13 +3944,13 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3944
3944
|
if (changed.length > 0 && !opts.json) process.stdout.write(`Removed the claude function from ${changed.join(", ")}.
|
|
3945
3945
|
`);
|
|
3946
3946
|
}
|
|
3947
|
-
const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-
|
|
3947
|
+
const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-S7MPELV2.js')).applyShellFunctionFlag(opts.shellFunction, { home: homeFromEnv(), shellPath: process.env.SHELL }) : void 0;
|
|
3948
3948
|
if (opts.json) writeJson(shell === void 0 ? outcome.result : { ...outcome.result, shellFunction: { outcome: shell.outcome, reason: shell.reason } });
|
|
3949
3949
|
else process.stdout.write(outcome.text + skillsLine + (shell?.text ?? ""));
|
|
3950
3950
|
return;
|
|
3951
3951
|
}
|
|
3952
3952
|
await installMachineSkillsForSetup();
|
|
3953
|
-
const { runInitCommand } = await import('./init-cmd-
|
|
3953
|
+
const { runInitCommand } = await import('./init-cmd-S7MPELV2.js');
|
|
3954
3954
|
const code = await runInitCommand(
|
|
3955
3955
|
{ json: opts.json, factory: opts.factory, shellFunction: opts.shellFunction },
|
|
3956
3956
|
{
|
|
@@ -3962,7 +3962,7 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3962
3962
|
return { ok, text, detail };
|
|
3963
3963
|
},
|
|
3964
3964
|
runAgentSetup: async () => {
|
|
3965
|
-
const { runAgentSetup } = await import('./agent-setup-
|
|
3965
|
+
const { runAgentSetup } = await import('./agent-setup-J2C7PISK.js');
|
|
3966
3966
|
return runAgentSetup({ cwd: process.cwd(), skillsLink: opts.skillsLink !== false });
|
|
3967
3967
|
},
|
|
3968
3968
|
runDoctorChecks: gatherDoctorChecks,
|
|
@@ -3971,7 +3971,7 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3971
3971
|
shellPath: process.env.SHELL,
|
|
3972
3972
|
interactive: Boolean(process.stdin.isTTY && process.stderr.isTTY) && opts.json !== true,
|
|
3973
3973
|
ask: async () => {
|
|
3974
|
-
const { promptOnTerminal } = await import('./connect-cmd-
|
|
3974
|
+
const { promptOnTerminal } = await import('./connect-cmd-NE75AUDR.js');
|
|
3975
3975
|
const answer = await promptOnTerminal({
|
|
3976
3976
|
message: `Should plain claude start Claude Code through ${cliInvocation()} claude? That is how a session in a governed repository gets its control plane. It adds one block to your zsh or bash startup file.`,
|
|
3977
3977
|
options: [
|
|
@@ -4010,7 +4010,7 @@ linked (true, false, or null when it could not be checked) and, when false,
|
|
|
4010
4010
|
linkUrl.
|
|
4011
4011
|
`
|
|
4012
4012
|
).action(async (opts) => {
|
|
4013
|
-
const { runConnectCommand } = await import('./connect-cmd-
|
|
4013
|
+
const { runConnectCommand } = await import('./connect-cmd-NE75AUDR.js');
|
|
4014
4014
|
const code = await runConnectCommand({ factory: opts.factory, json: opts.json }, await realConnectDepsForCwd(), {
|
|
4015
4015
|
stdout: process.stdout,
|
|
4016
4016
|
stderr: process.stderr
|
|
@@ -4092,7 +4092,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4092
4092
|
else fail(found.reason);
|
|
4093
4093
|
return;
|
|
4094
4094
|
}
|
|
4095
|
-
const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-
|
|
4095
|
+
const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-TQ3BD33X.js');
|
|
4096
4096
|
try {
|
|
4097
4097
|
const result = await runSync({
|
|
4098
4098
|
url: opts.url,
|
|
@@ -4121,7 +4121,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4121
4121
|
if (invokedCommandToken(argv) === "watch") {
|
|
4122
4122
|
warnDeprecated(`\`${cliInvocation()} watch\` is now \`${cliInvocation()} daemon\`; the old name will be removed in a future release.`);
|
|
4123
4123
|
}
|
|
4124
|
-
const { runWatch } = await import('./watch-
|
|
4124
|
+
const { runWatch } = await import('./watch-LPZSKT3Y.js');
|
|
4125
4125
|
await runWatch({ once: opts.once });
|
|
4126
4126
|
});
|
|
4127
4127
|
program2.command("hook <event>", { hidden: true }).description("capture-hook fast path, installed by `init`").option("--agent <id>", "the agent that sent the event; with none, Claude Code").action(() => {
|
|
@@ -4136,8 +4136,8 @@ code is 1: revoke the token on /profile/security.
|
|
|
4136
4136
|
});
|
|
4137
4137
|
}
|
|
4138
4138
|
const brokerRelay = program2.command("broker-relay", { hidden: true }).description("relay a build's loopback connections to the runner's tunnel and destinations").enablePositionalOptions().option("--port <port>", "the loopback port to listen on").option("--socket <path>", "the runner's tunnel socket").option("--join <path>", "the socket the runner's joining process connects to").option("--lease-watchdog", "exit when the runner's lease expiry passes; needs --join").option("--join-ws <port>", "also take the runner's session over a WebSocket on this port").option("--join-secret-file <path>", "the secret a WebSocket join sends first; needs --join-ws").option("--forward <port=target>", "also relay a loopback port to a destination; repeatable", (value, previous) => [...previous, value], []).action(async (opts) => {
|
|
4139
|
-
const { startRelay, startSessionRelay } = await import('./relay-
|
|
4140
|
-
const { TARGET_TUNNEL, targetOfPath } = await import('./relay-protocol-
|
|
4139
|
+
const { startRelay, startSessionRelay } = await import('./relay-XWNOQOER.js');
|
|
4140
|
+
const { TARGET_TUNNEL, targetOfPath } = await import('./relay-protocol-IZ3TCHPP.js');
|
|
4141
4141
|
const port = Number(opts.port);
|
|
4142
4142
|
if (!Number.isInteger(port) || port < 1 || port > 65535) {
|
|
4143
4143
|
fail(opts.port === void 0 ? "--port is required" : `--port must be a port number, not ${opts.port}`);
|
|
@@ -4175,7 +4175,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4175
4175
|
await startRelay({ port, socketPath: opts.socket, forwards: forwards.map((forward) => ({ port: forward.port, socketPath: forward.spec })) });
|
|
4176
4176
|
});
|
|
4177
4177
|
brokerRelay.command("join").description("carry the runner's session to the relay over standard input and output").option("--socket <path>", "the relay's joining socket", "/run/outerlayer-relay/join.sock").action(async (opts) => {
|
|
4178
|
-
const { joinRelay } = await import('./relay-
|
|
4178
|
+
const { joinRelay } = await import('./relay-XWNOQOER.js');
|
|
4179
4179
|
try {
|
|
4180
4180
|
await joinRelay({ socketPath: opts.socket, input: process.stdin, output: process.stdout });
|
|
4181
4181
|
} catch (err) {
|
|
@@ -4191,7 +4191,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4191
4191
|
}
|
|
4192
4192
|
});
|
|
4193
4193
|
program2.command("vm-exec", { hidden: true }).description("run a command in a microVM build's guest through its exec agent").requiredOption("--socket <path>", "the Unix socket Firecracker serves the build's vsock device on").option("--user <user>", "the user to run as", "").option("--cwd <dir>", "the working directory", "/").option("--env <NAME=value>", "an environment value the command line carries; repeatable", (value, previous) => [...previous, value], []).option("--pass <NAME>", "an environment variable whose value is read from this process; repeatable", (value, previous) => [...previous, value], []).argument("<argv...>", "the command and its arguments").action(async (argv2, opts) => {
|
|
4194
|
-
const { runVmExec } = await import('./exec-client-
|
|
4194
|
+
const { runVmExec } = await import('./exec-client-KCAOA7TU.js');
|
|
4195
4195
|
const env = {};
|
|
4196
4196
|
for (const entry of opts.env) {
|
|
4197
4197
|
const eq = entry.indexOf("=");
|
|
@@ -4220,7 +4220,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4220
4220
|
process.exitCode = await runBuildCommand({ dir: opts.dir, argv: command });
|
|
4221
4221
|
});
|
|
4222
4222
|
program2.command("session-sender", { hidden: true }).description("stream a runner build's sessions to its work item while the build runs").action(async () => {
|
|
4223
|
-
const { runSessionSender } = await import('./session-sender-
|
|
4223
|
+
const { runSessionSender } = await import('./session-sender-WHVEJ2NF.js');
|
|
4224
4224
|
try {
|
|
4225
4225
|
await runSessionSender();
|
|
4226
4226
|
} catch (err) {
|
|
@@ -4228,7 +4228,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4228
4228
|
}
|
|
4229
4229
|
});
|
|
4230
4230
|
program2.command("vm-init", { hidden: true }).description("lay out a microVM build's guest; the guest helper runs it").action(async () => {
|
|
4231
|
-
const { realGuestHost, runGuestInit } = await import('./guest-init-
|
|
4231
|
+
const { realGuestHost, runGuestInit } = await import('./guest-init-MGPZH5BA.js');
|
|
4232
4232
|
const { readFileSync: readFileSync3 } = await import('fs');
|
|
4233
4233
|
try {
|
|
4234
4234
|
runGuestInit(realGuestHost(), readFileSync3("/proc/cmdline", "utf8"));
|
|
@@ -4237,7 +4237,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4237
4237
|
}
|
|
4238
4238
|
});
|
|
4239
4239
|
program2.command("vm-forward", { hidden: true }).description("pipe a guest port to another; vm-init runs it").requiredOption("--listen <host:port>", "the address to listen on").requiredOption("--to <host:port>", "the address to pipe each connection to").action(async (opts) => {
|
|
4240
|
-
const { startBridgeForward } = await import('./bridge-
|
|
4240
|
+
const { startBridgeForward } = await import('./bridge-OCOPEDMR.js');
|
|
4241
4241
|
try {
|
|
4242
4242
|
await startBridgeForward(opts);
|
|
4243
4243
|
} catch (err) {
|
|
@@ -4263,7 +4263,7 @@ async function runCli(processArgv) {
|
|
|
4263
4263
|
await buildProgram(argv).parseAsync(argv);
|
|
4264
4264
|
}
|
|
4265
4265
|
async function compileContext(opts) {
|
|
4266
|
-
const { runEmit, EmitError } = await import('./emit-cmd-
|
|
4266
|
+
const { runEmit, EmitError } = await import('./emit-cmd-2BYJIBRM.js');
|
|
4267
4267
|
try {
|
|
4268
4268
|
const result = runEmit({ cwd: opts.dir, check: opts.check, json: opts.json });
|
|
4269
4269
|
if (result.exitCode !== 0) process.exitCode = result.exitCode;
|
|
@@ -4316,7 +4316,7 @@ Compiling .outerlayer/ moved to \`${cliInvocation()} context emit\`.
|
|
|
4316
4316
|
await compileContext({ dir: opts.dir, check: opts.check, json: opts.json });
|
|
4317
4317
|
return;
|
|
4318
4318
|
}
|
|
4319
|
-
const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-
|
|
4319
|
+
const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-7P2VE2KQ.js');
|
|
4320
4320
|
try {
|
|
4321
4321
|
const result = await runEmitResult({
|
|
4322
4322
|
name,
|
|
@@ -4368,7 +4368,7 @@ everywhere, bytes and deep link untouched; a still-queued one is cancelled
|
|
|
4368
4368
|
locally so it never uploads. One correction can retire several duplicates.
|
|
4369
4369
|
`
|
|
4370
4370
|
).action(async (file, opts) => {
|
|
4371
|
-
const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-
|
|
4371
|
+
const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-2J3TQ652.js');
|
|
4372
4372
|
let pr;
|
|
4373
4373
|
if (opts.pr !== void 0) {
|
|
4374
4374
|
pr = parseTrackerNumber(opts.pr);
|
|
@@ -4424,7 +4424,7 @@ its criterion, and the new record retires the old record. The id must be the ite
|
|
|
4424
4424
|
as \`work demo --item <n> --json\` prints it.
|
|
4425
4425
|
`
|
|
4426
4426
|
).action(async (manifest, opts) => {
|
|
4427
|
-
const { runEmitDemo, EmitDemoError } = await import('./emit-demo-cmd-
|
|
4427
|
+
const { runEmitDemo, EmitDemoError } = await import('./emit-demo-cmd-TAVPUXNS.js');
|
|
4428
4428
|
let item;
|
|
4429
4429
|
if (opts.item !== void 0) {
|
|
4430
4430
|
item = parseTrackerNumber(opts.item);
|
|
@@ -4467,7 +4467,7 @@ as \`work demo --item <n> --json\` prints it.
|
|
|
4467
4467
|
}
|
|
4468
4468
|
});
|
|
4469
4469
|
program2.command("demo-voice", { hidden: true }).description("Speak demo lines for a recorder: JSON lines in on stdin, out on stdout").action(async () => {
|
|
4470
|
-
const { runDemoVoice } = await import('./demo-voice-cmd-
|
|
4470
|
+
const { runDemoVoice } = await import('./demo-voice-cmd-DAP7MSYJ.js');
|
|
4471
4471
|
await runDemoVoice();
|
|
4472
4472
|
});
|
|
4473
4473
|
const demoCmd = program2.command("demo").description("Record demos with the recorder this CLI carries");
|
|
@@ -4485,7 +4485,7 @@ and the command prints the manifest's path for \`emit demo\`. Under \`work proof
|
|
|
4485
4485
|
to OUTERLAYER_PROOF_OUT instead. Exit 1 means the demo's test failed; its manifest is written all the same.
|
|
4486
4486
|
`
|
|
4487
4487
|
).action(async (file, opts) => {
|
|
4488
|
-
const { runDemoRecord, DemoRecordError } = await import('./demo-record-cmd-
|
|
4488
|
+
const { runDemoRecord, DemoRecordError } = await import('./demo-record-cmd-AUL3OZMX.js');
|
|
4489
4489
|
try {
|
|
4490
4490
|
const result = await runDemoRecord({
|
|
4491
4491
|
file,
|
|
@@ -4534,7 +4534,7 @@ recent events with their ids. --find <text> searches all of them.
|
|
|
4534
4534
|
item that session was launched for is used automatically.
|
|
4535
4535
|
`
|
|
4536
4536
|
).action(async (opts) => {
|
|
4537
|
-
const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-
|
|
4537
|
+
const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-T6UJLB74.js');
|
|
4538
4538
|
try {
|
|
4539
4539
|
refuseRemovedFindingFlags(opts);
|
|
4540
4540
|
const result = await runEmitFinding({
|
|
@@ -4601,7 +4601,7 @@ the whole batch. "untimed": true records one with no time on purpose.
|
|
|
4601
4601
|
that session was launched for is used automatically.
|
|
4602
4602
|
`
|
|
4603
4603
|
).action(async (file, opts) => {
|
|
4604
|
-
const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-
|
|
4604
|
+
const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-T6UJLB74.js');
|
|
4605
4605
|
try {
|
|
4606
4606
|
const result = await runEmitFindings({
|
|
4607
4607
|
file,
|
|
@@ -4636,7 +4636,7 @@ command, the command exits 0, and \`sync\` sends it later. If the gateway refuse
|
|
|
4636
4636
|
the step, the command prints why and exits 1.
|
|
4637
4637
|
`
|
|
4638
4638
|
).action(async (name, opts) => {
|
|
4639
|
-
const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-
|
|
4639
|
+
const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-H65D6IPI.js');
|
|
4640
4640
|
try {
|
|
4641
4641
|
await runEmitStep({
|
|
4642
4642
|
name,
|
|
@@ -4679,7 +4679,7 @@ of the item, and a (proof: <kind>) annotation names its proof.
|
|
|
4679
4679
|
${cliInvocation()} emit criteria acceptance/412-login.md --item 412
|
|
4680
4680
|
`
|
|
4681
4681
|
).action(async (file, opts) => {
|
|
4682
|
-
const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-
|
|
4682
|
+
const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-CNROEUA7.js');
|
|
4683
4683
|
try {
|
|
4684
4684
|
const result = await runEmitCriteria({
|
|
4685
4685
|
file,
|
|
@@ -4703,9 +4703,9 @@ function registerSpecCommands(program2) {
|
|
|
4703
4703
|
const specCmd = program2.command("spec").description("Find, file and edit the issue a spec lives in, in your factory's tracker");
|
|
4704
4704
|
const credentialOptions = (command) => command.option("--json", "machine-readable JSON output").option("--url <url>", "cloud base URL (or OUTERLAYER_URL / config)").addOption(apiKeyOption()).option("--app-id <id>", "factory id the key is bound to (or OUTERLAYER_APP_ID / config)");
|
|
4705
4705
|
const run = async (action) => {
|
|
4706
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4706
|
+
const { WorkCommandError } = await import('./work-cmd-QLCNL3HL.js');
|
|
4707
4707
|
try {
|
|
4708
|
-
await action(await import('./spec-cmd-
|
|
4708
|
+
await action(await import('./spec-cmd-L3SW3H5X.js'));
|
|
4709
4709
|
} catch (err) {
|
|
4710
4710
|
if (err instanceof WorkCommandError) {
|
|
4711
4711
|
fail(err.message);
|
|
@@ -4740,7 +4740,7 @@ Prints each problem the item covers with its id, its reports and its result.
|
|
|
4740
4740
|
session was launched for is used.
|
|
4741
4741
|
`
|
|
4742
4742
|
).action(async (opts) => {
|
|
4743
|
-
const { runFindingsShow, FindingsCommandError } = await import('./findings-cmd-
|
|
4743
|
+
const { runFindingsShow, FindingsCommandError } = await import('./findings-cmd-73PY2SZK.js');
|
|
4744
4744
|
try {
|
|
4745
4745
|
const result = await runFindingsShow({
|
|
4746
4746
|
item: opts.item,
|
|
@@ -4768,7 +4768,7 @@ Give exactly one of --fixed and --not-fixed, and a --note. Run it again for the
|
|
|
4768
4768
|
problem to replace the earlier result. A problem the item does not cover is refused.
|
|
4769
4769
|
`
|
|
4770
4770
|
).action(async (problem, opts) => {
|
|
4771
|
-
const { runFindingsResult, FindingsCommandError } = await import('./findings-cmd-
|
|
4771
|
+
const { runFindingsResult, FindingsCommandError } = await import('./findings-cmd-73PY2SZK.js');
|
|
4772
4772
|
try {
|
|
4773
4773
|
const result = await runFindingsResult({
|
|
4774
4774
|
problem,
|
|
@@ -4811,7 +4811,7 @@ takes it, and prints the line that starts your session on it. That
|
|
|
4811
4811
|
session links itself and holds the item's lease while it works.
|
|
4812
4812
|
`
|
|
4813
4813
|
).action(async (opts) => {
|
|
4814
|
-
const { runWorkBuild, WorkCommandError } = await import('./work-cmd-
|
|
4814
|
+
const { runWorkBuild, WorkCommandError } = await import('./work-cmd-QLCNL3HL.js');
|
|
4815
4815
|
try {
|
|
4816
4816
|
await runWorkBuild(opts);
|
|
4817
4817
|
} catch (err) {
|
|
@@ -4834,7 +4834,7 @@ renews that session's own 20-minute lease, unless --no-lease or
|
|
|
4834
4834
|
--ended is given, or another worker already holds a live one.
|
|
4835
4835
|
`
|
|
4836
4836
|
).action(async (number, opts) => {
|
|
4837
|
-
const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-
|
|
4837
|
+
const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-QLCNL3HL.js');
|
|
4838
4838
|
try {
|
|
4839
4839
|
await runWorkLinkSession({ ...opts, number, noLease: opts.lease === false, logFailures: opts.logFailures === true });
|
|
4840
4840
|
} catch (err) {
|
|
@@ -4865,8 +4865,8 @@ thread at its source. It takes a plain answer: no --criterion and no
|
|
|
4865
4865
|
action flag.
|
|
4866
4866
|
`
|
|
4867
4867
|
).action(async (opts) => {
|
|
4868
|
-
const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4869
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4868
|
+
const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-MDZNZZKD.js');
|
|
4869
|
+
const { WorkCommandError } = await import('./work-cmd-QLCNL3HL.js');
|
|
4870
4870
|
try {
|
|
4871
4871
|
await runWorkComment(opts);
|
|
4872
4872
|
} catch (err) {
|
|
@@ -4888,7 +4888,7 @@ nothing and exits 0 when the call fails: the line goes to hook-errors.log,
|
|
|
4888
4888
|
and the comment waits for the next agent job.
|
|
4889
4889
|
`
|
|
4890
4890
|
).action(async (ids, opts) => {
|
|
4891
|
-
const { runWorkCommentsRead } = await import('./work-comment-cmd-
|
|
4891
|
+
const { runWorkCommentsRead } = await import('./work-comment-cmd-MDZNZZKD.js');
|
|
4892
4892
|
await runWorkCommentsRead({ ...opts, commentIds: ids });
|
|
4893
4893
|
});
|
|
4894
4894
|
workCmd.command("threads").description("Read a work item's general thread, its criterion threads and its source threads").requiredOption("--item <number>", "the item's number inside this factory").option("--json", "machine-readable JSON output").option("--url <url>", "cloud base URL (or OUTERLAYER_URL / config)").addOption(apiKeyOption()).option("--app-id <id>", "factory id the key is bound to (or OUTERLAYER_APP_ID / config)").addHelpText(
|
|
@@ -4904,8 +4904,8 @@ that started outside OuterLayer, such as the line comments of a
|
|
|
4904
4904
|
GitHub review, each with its id, source and comments.
|
|
4905
4905
|
`
|
|
4906
4906
|
).action(async (opts) => {
|
|
4907
|
-
const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4908
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4907
|
+
const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-MDZNZZKD.js');
|
|
4908
|
+
const { WorkCommandError } = await import('./work-cmd-QLCNL3HL.js');
|
|
4909
4909
|
try {
|
|
4910
4910
|
await runWorkThreads(opts);
|
|
4911
4911
|
} catch (err) {
|
|
@@ -4929,8 +4929,8 @@ still running, or that an older runner released, has no log and the
|
|
|
4929
4929
|
command exits 1.
|
|
4930
4930
|
`
|
|
4931
4931
|
).action(async (opts) => {
|
|
4932
|
-
const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-
|
|
4933
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4932
|
+
const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-CBORQ32A.js');
|
|
4933
|
+
const { WorkCommandError } = await import('./work-cmd-QLCNL3HL.js');
|
|
4934
4934
|
try {
|
|
4935
4935
|
await runWorkLogs(opts);
|
|
4936
4936
|
} catch (err) {
|
|
@@ -4953,8 +4953,8 @@ item is not built again until a new build request. Exits 1 when no host
|
|
|
4953
4953
|
build is running for the item.
|
|
4954
4954
|
`
|
|
4955
4955
|
).action(async (opts) => {
|
|
4956
|
-
const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-
|
|
4957
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4956
|
+
const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-6EMQJ4OJ.js');
|
|
4957
|
+
const { WorkCommandError } = await import('./work-cmd-QLCNL3HL.js');
|
|
4958
4958
|
try {
|
|
4959
4959
|
await runWorkStop(opts);
|
|
4960
4960
|
} catch (err) {
|
|
@@ -4975,8 +4975,8 @@ Prints the item's newest live demo record: its artifact id, the commit it was re
|
|
|
4975
4975
|
test file that recorded it. With --json, prints { "demo": null } for an item with no demo.
|
|
4976
4976
|
`
|
|
4977
4977
|
).action(async (opts) => {
|
|
4978
|
-
const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-
|
|
4979
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4978
|
+
const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-TZBULOWF.js');
|
|
4979
|
+
const { WorkCommandError } = await import('./work-cmd-QLCNL3HL.js');
|
|
4980
4980
|
try {
|
|
4981
4981
|
await runWorkDemo(opts);
|
|
4982
4982
|
} catch (err) {
|
|
@@ -4997,7 +4997,7 @@ deletes anything \u2014 the item is removed from Work only once no
|
|
|
4997
4997
|
live addition remains on it.
|
|
4998
4998
|
`
|
|
4999
4999
|
).action(async (opts) => {
|
|
5000
|
-
const { runWorkRemove, WorkCommandError } = await import('./work-cmd-
|
|
5000
|
+
const { runWorkRemove, WorkCommandError } = await import('./work-cmd-QLCNL3HL.js');
|
|
5001
5001
|
try {
|
|
5002
5002
|
await runWorkRemove(opts);
|
|
5003
5003
|
} catch (err) {
|
|
@@ -5009,7 +5009,7 @@ live addition remains on it.
|
|
|
5009
5009
|
}
|
|
5010
5010
|
});
|
|
5011
5011
|
workCmd.command("status").description("Show one item's stage, gate ledger, and additions").option("--item <number>", "the item's number inside this factory").option("--issue <number>", "issue number, or a Linear/Jira key like ENG-123").option(TRACKER_OPTION_FLAG, "tracker for a keyed --issue, when both hold the key").option("--repo <owner/name>", "repository for an issue number (default: the checkout's remote)").option("--json", "machine-readable JSON output").option("--url <url>", "cloud base URL (or OUTERLAYER_URL / config)").addOption(apiKeyOption()).option("--app-id <id>", "factory id the key is bound to (or OUTERLAYER_APP_ID / config)").action(async (opts) => {
|
|
5012
|
-
const { runWorkStatus, WorkCommandError } = await import('./work-cmd-
|
|
5012
|
+
const { runWorkStatus, WorkCommandError } = await import('./work-cmd-QLCNL3HL.js');
|
|
5013
5013
|
try {
|
|
5014
5014
|
await runWorkStatus(opts);
|
|
5015
5015
|
} catch (err) {
|
|
@@ -5057,11 +5057,11 @@ stops at once if a tracked file differs from HEAD.
|
|
|
5057
5057
|
fail(trackerNumberError("--pr", opts.pr));
|
|
5058
5058
|
return;
|
|
5059
5059
|
}
|
|
5060
|
-
const { runWorkProofsCommand } = await import('./work-proofs-cmd-
|
|
5060
|
+
const { runWorkProofsCommand } = await import('./work-proofs-cmd-MUGKJWPZ.js');
|
|
5061
5061
|
await runWorkProofsCommand({ ...opts, ...pr === void 0 ? {} : { pr } });
|
|
5062
5062
|
});
|
|
5063
5063
|
workCmd.command("list").description("List live work items for this factory").option("--stage <spec|build|review>", "filter by stage").option("--section <attention|waiting|flowing>", "filter by Queue section").option("--repo <owner/name>", "repository (default: the current checkout's remote)").option("--unclaimed", "only items with no live lease").option("--claimed", "only items with a live lease, held by a host or a local session").option("--startable", "only items a host can start: a build request, no open PR, no live lease").option("--needs <amend>", "only items with a thread waiting on an agent").option("--json", "machine-readable JSON output").option("--url <url>", "cloud base URL (or OUTERLAYER_URL / config)").addOption(apiKeyOption()).option("--app-id <id>", "factory id the key is bound to (or OUTERLAYER_APP_ID / config)").action(async (opts) => {
|
|
5064
|
-
const { runWorkList, WorkCommandError } = await import('./work-cmd-
|
|
5064
|
+
const { runWorkList, WorkCommandError } = await import('./work-cmd-QLCNL3HL.js');
|
|
5065
5065
|
try {
|
|
5066
5066
|
await runWorkList(opts);
|
|
5067
5067
|
} catch (err) {
|
|
@@ -5082,7 +5082,7 @@ by a different key is refused; claiming again with the same key extends
|
|
|
5082
5082
|
it. --host is a label only.
|
|
5083
5083
|
`
|
|
5084
5084
|
).action(async (opts) => {
|
|
5085
|
-
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-
|
|
5085
|
+
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-FE4ODVDB.js');
|
|
5086
5086
|
try {
|
|
5087
5087
|
await runWorkClaim(opts);
|
|
5088
5088
|
} catch (err) {
|
|
@@ -5102,7 +5102,7 @@ Extends the live lease this API key holds. Refused with a 410 if the
|
|
|
5102
5102
|
lease has expired, or a 403 if a different key holds it.
|
|
5103
5103
|
`
|
|
5104
5104
|
).action(async (opts) => {
|
|
5105
|
-
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-
|
|
5105
|
+
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-FE4ODVDB.js');
|
|
5106
5106
|
try {
|
|
5107
5107
|
await runWorkRenew(opts);
|
|
5108
5108
|
} catch (err) {
|
|
@@ -5134,7 +5134,7 @@ applies to a host's lease only. A later tool call in the session
|
|
|
5134
5134
|
takes the lease again.
|
|
5135
5135
|
`
|
|
5136
5136
|
).action(async (opts) => {
|
|
5137
|
-
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-
|
|
5137
|
+
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-FE4ODVDB.js');
|
|
5138
5138
|
try {
|
|
5139
5139
|
await runWorkRelease(opts);
|
|
5140
5140
|
} catch (err) {
|
|
@@ -5161,7 +5161,7 @@ Idempotent: declaring the same pull request twice is a no-op.
|
|
|
5161
5161
|
needs your own login; an agent session or a factory key is refused.
|
|
5162
5162
|
`
|
|
5163
5163
|
).action(async (number, opts) => {
|
|
5164
|
-
const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-
|
|
5164
|
+
const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-DUIN47NH.js');
|
|
5165
5165
|
try {
|
|
5166
5166
|
await runWorkPr({ ...opts, number });
|
|
5167
5167
|
} catch (err) {
|
|
@@ -5186,8 +5186,8 @@ login, then declares the pull request on the item, as \`work pr\` does.
|
|
|
5186
5186
|
Run it again after a change to the title or description.
|
|
5187
5187
|
`
|
|
5188
5188
|
).action(async (opts) => {
|
|
5189
|
-
const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-
|
|
5190
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5189
|
+
const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-ZS3K4IJE.js');
|
|
5190
|
+
const { WorkCommandError } = await import('./work-cmd-QLCNL3HL.js');
|
|
5191
5191
|
try {
|
|
5192
5192
|
await runWorkOpenPr(opts);
|
|
5193
5193
|
} catch (err) {
|
|
@@ -5210,8 +5210,8 @@ and OuterLayer posts the reason on the issue. Only a host build, which
|
|
|
5210
5210
|
holds an item key, can run it.
|
|
5211
5211
|
`
|
|
5212
5212
|
).action(async (opts) => {
|
|
5213
|
-
const { runWorkNoChange, WorkNoChangeCommandError } = await import('./work-no-change-cmd-
|
|
5214
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5213
|
+
const { runWorkNoChange, WorkNoChangeCommandError } = await import('./work-no-change-cmd-F3PJIXYP.js');
|
|
5214
|
+
const { WorkCommandError } = await import('./work-cmd-QLCNL3HL.js');
|
|
5215
5215
|
try {
|
|
5216
5216
|
await runWorkNoChange(opts);
|
|
5217
5217
|
} catch (err) {
|
|
@@ -5255,9 +5255,9 @@ function registerRunnerCommands(program2) {
|
|
|
5255
5255
|
const runnerCmd = program2.command("runner").description("Take work from the implement and amend queues on this machine");
|
|
5256
5256
|
const configOption = "the cloud config file to run against (default: ~/.outerlayer/config.json)";
|
|
5257
5257
|
runnerCmd.command("start").description("Run the loop: claim work, run it, report, clean up, repeat").option("--config <path>", configOption).action(async (opts) => {
|
|
5258
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5259
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5260
|
-
const { RunnerAlreadyRunningError } = await import('./pidfile-
|
|
5258
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-K5477PLJ.js');
|
|
5259
|
+
const { start, RunnerStartError } = await import('./loop-CV5DU7D5.js');
|
|
5260
|
+
const { RunnerAlreadyRunningError } = await import('./pidfile-5L3BHW44.js');
|
|
5261
5261
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5262
5262
|
try {
|
|
5263
5263
|
const { realUpdateDeps } = await import('./real-deps-QX5YH7FG.js');
|
|
@@ -5279,10 +5279,10 @@ is optional and defaults to ${words().runnerName}. On a later start it refuses v
|
|
|
5279
5279
|
The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
5280
5280
|
`
|
|
5281
5281
|
).action(async () => {
|
|
5282
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5283
|
-
const { containerStart, containerStartExit } = await import('./container-start-
|
|
5284
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5285
|
-
const { RunnerAlreadyRunningError } = await import('./pidfile-
|
|
5282
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-K5477PLJ.js');
|
|
5283
|
+
const { containerStart, containerStartExit } = await import('./container-start-NXNYBKGN.js');
|
|
5284
|
+
const { start, RunnerStartError } = await import('./loop-CV5DU7D5.js');
|
|
5285
|
+
const { RunnerAlreadyRunningError } = await import('./pidfile-5L3BHW44.js');
|
|
5286
5286
|
try {
|
|
5287
5287
|
const outcome = containerStartExit(await containerStart({
|
|
5288
5288
|
env: process.env,
|
|
@@ -5303,16 +5303,16 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5303
5303
|
"after",
|
|
5304
5304
|
"\nIn the runner image, run it with `docker exec <container> outerlayer runner update-steps`. It reads the\ncontainer with `docker inspect` and changes nothing. The steps rename the old container and never remove it\nbefore the new one runs. They name the container's variables and never print a value.\n"
|
|
5305
5305
|
).action(async (opts) => {
|
|
5306
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5307
|
-
const { runnerDir } = await import('./paths-
|
|
5308
|
-
const { runUpdateSteps } = await import('./update-steps-
|
|
5306
|
+
const { defaultRunnerConfigPath } = await import('./config-K5477PLJ.js');
|
|
5307
|
+
const { runnerDir } = await import('./paths-JK5BDRCA.js');
|
|
5308
|
+
const { runUpdateSteps } = await import('./update-steps-I7GMX4NB.js');
|
|
5309
5309
|
const text = await runUpdateSteps({ runnerDirPath: runnerDir(opts.config ?? defaultRunnerConfigPath()) });
|
|
5310
5310
|
process.stdout.write(`${text}
|
|
5311
5311
|
`);
|
|
5312
5312
|
});
|
|
5313
5313
|
runnerCmd.command("check").description("Validate the config, the hooks and the key, and print the effective settings").option("--config <path>", configOption).action(async (opts) => {
|
|
5314
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5315
|
-
const { runRunnerCheck } = await import('./check-
|
|
5314
|
+
const { defaultRunnerConfigPath } = await import('./config-K5477PLJ.js');
|
|
5315
|
+
const { runRunnerCheck } = await import('./check-U5LTHG3N.js');
|
|
5316
5316
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5317
5317
|
const result = await runRunnerCheck(configPath);
|
|
5318
5318
|
if (!result.ok) {
|
|
@@ -5333,8 +5333,8 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5333
5333
|
`);
|
|
5334
5334
|
});
|
|
5335
5335
|
runnerCmd.command("install").description("Put this CLI in the runner's install layout; --service adds its service").option("--config <path>", configOption).option("--service", "set up the service that keeps the runner running").option("--print", "with --service, print the unit and set up nothing").option("--user <account>", "with --service, the account the service runs as").option("--replace", "replace a unit or launcher file this command did not write").option("--allow-downgrade", "install this CLI even when it is older than the version the runner runs").option("--unit-name <name>", "with --service, the unit's name, to run a second runner beside the first").option("--build-memory-max <size>", "with --service, memory all builds may use together, such as 16g").option("--build-cpus-max <n>", "with --service, CPUs all builds may use together, such as 4").action(async (opts) => {
|
|
5336
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5337
|
-
const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-
|
|
5336
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-K5477PLJ.js');
|
|
5337
|
+
const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-VUHT3VRQ.js');
|
|
5338
5338
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5339
5339
|
if (opts.service !== true) {
|
|
5340
5340
|
const names = { print: "print", user: "user", unitName: "unit-name", buildMemoryMax: "build-memory-max", buildCpusMax: "build-cpus-max" };
|
|
@@ -5346,13 +5346,13 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5346
5346
|
}
|
|
5347
5347
|
}
|
|
5348
5348
|
const buildCpusMax = opts.buildCpusMax === void 0 ? void 0 : Number(opts.buildCpusMax);
|
|
5349
|
-
if (buildCpusMax !== void 0 && !(await import('./command-
|
|
5349
|
+
if (buildCpusMax !== void 0 && !(await import('./command-FJO564JN.js')).cpusAreValid(buildCpusMax)) {
|
|
5350
5350
|
fail(`--build-cpus-max ${opts.buildCpusMax} is not a number of CPUs from 0.01 to 1024.`);
|
|
5351
5351
|
return;
|
|
5352
5352
|
}
|
|
5353
5353
|
try {
|
|
5354
5354
|
if (opts.service === true) {
|
|
5355
|
-
const { installServiceCommand, serviceSuccessText } = await import('./command-
|
|
5355
|
+
const { installServiceCommand, serviceSuccessText } = await import('./command-FJO564JN.js');
|
|
5356
5356
|
const result2 = await installServiceCommand({
|
|
5357
5357
|
configPath,
|
|
5358
5358
|
print: opts.print,
|
|
@@ -5406,8 +5406,8 @@ To keep it running, run ${C.yellow}${cliInvocation()} runner install --service${
|
|
|
5406
5406
|
fail(`pass --service: \`${cliInvocation()} runner uninstall --service\` removes the runner's service.`);
|
|
5407
5407
|
return;
|
|
5408
5408
|
}
|
|
5409
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5410
|
-
const { uninstallServiceCommand } = await import('./command-
|
|
5409
|
+
const { defaultRunnerConfigPath } = await import('./config-K5477PLJ.js');
|
|
5410
|
+
const { uninstallServiceCommand } = await import('./command-FJO564JN.js');
|
|
5411
5411
|
const result = await uninstallServiceCommand({ configPath: opts.config ?? defaultRunnerConfigPath(), unitName: opts.unitName, home: homeFromEnv() });
|
|
5412
5412
|
if (result.ok) for (const line of result.lines) process.stdout.write(`${C.green}\u2713${C.reset} ${line}
|
|
5413
5413
|
`);
|
|
@@ -5437,13 +5437,13 @@ already in ${words().envFile} is used.
|
|
|
5437
5437
|
printf '%s' "$${words().variables[0]}" | ${cliInvocation()} runner init --agent ${words().runnerName} --factory <org>/<factory>
|
|
5438
5438
|
`
|
|
5439
5439
|
).action(async (opts) => {
|
|
5440
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5441
|
-
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-
|
|
5442
|
-
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-
|
|
5443
|
-
const { detectMachine } = await import('./machine-
|
|
5444
|
-
const { chooseVm, runVmInit, VmInitError } = await import('./init-
|
|
5445
|
-
const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-
|
|
5446
|
-
const { headlessNames: headlessNames2 } = await import('./runner-agents-
|
|
5440
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-K5477PLJ.js');
|
|
5441
|
+
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-M3F6ETSQ.js');
|
|
5442
|
+
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-N4CFKSI5.js');
|
|
5443
|
+
const { detectMachine } = await import('./machine-NAJDN5YF.js');
|
|
5444
|
+
const { chooseVm, runVmInit, VmInitError } = await import('./init-RK2HMBNN.js');
|
|
5445
|
+
const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-ORVI32Q5.js');
|
|
5446
|
+
const { headlessNames: headlessNames2 } = await import('./runner-agents-MMDKTRAS.js');
|
|
5447
5447
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5448
5448
|
if (opts.agent !== void 0 && !isAgentName(opts.agent)) {
|
|
5449
5449
|
fail(`--agent ${opts.agent}: runner init writes commands for ${headlessNames2().join(", ")}. For another agent, leave --agent out and edit runner.commands.`);
|
|
@@ -5455,7 +5455,7 @@ already in ${words().envFile} is used.
|
|
|
5455
5455
|
return;
|
|
5456
5456
|
}
|
|
5457
5457
|
try {
|
|
5458
|
-
const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-
|
|
5458
|
+
const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-2HMRPOPQ.js');
|
|
5459
5459
|
agent = await initAgent({
|
|
5460
5460
|
flag: agent,
|
|
5461
5461
|
handOff: opts.configStdin === true,
|
|
@@ -5488,7 +5488,7 @@ already in ${words().envFile} is used.
|
|
|
5488
5488
|
const chunks = [];
|
|
5489
5489
|
for await (const chunk of process.stdin) chunks.push(Buffer.from(chunk));
|
|
5490
5490
|
const result2 = runRunnerInit(configPath, { machine, configFromStdin: Buffer.concat(chunks).toString("utf8"), requireContainer: true });
|
|
5491
|
-
const { ensureHostKey: ensureHostKey2 } = await import('./host-key-
|
|
5491
|
+
const { ensureHostKey: ensureHostKey2 } = await import('./host-key-KIZM3HYT.js');
|
|
5492
5492
|
const hostKey2 = await ensureHostKey2(configPath);
|
|
5493
5493
|
process.stdout.write(`host key ${hostKey2.fingerprint}
|
|
5494
5494
|
hooks: ${result2.hooks}
|
|
@@ -5543,7 +5543,7 @@ hooks: ${result2.hooks}
|
|
|
5543
5543
|
const prepared = prepareRunnerInit(configPath, { machine, agent, credential, keyFromLogin: makeKey !== void 0 });
|
|
5544
5544
|
const created = makeKey === void 0 ? void 0 : await makeKey();
|
|
5545
5545
|
const result = writeRunnerInit(prepared, created);
|
|
5546
|
-
const { ensureHostKey } = await import('./host-key-
|
|
5546
|
+
const { ensureHostKey } = await import('./host-key-KIZM3HYT.js');
|
|
5547
5547
|
const hostKey = await ensureHostKey(configPath);
|
|
5548
5548
|
if (created !== void 0) {
|
|
5549
5549
|
process.stdout.write(`${C.green}\u2713${C.reset} saved the runner key in ${result.configPath}
|
|
@@ -5563,7 +5563,7 @@ hooks: ${result2.hooks}
|
|
|
5563
5563
|
);
|
|
5564
5564
|
process.stdout.write(`${C.green}\u2713${C.reset} hooks: ${result.hooks}${result.hooks === "builtin:vm" ? " (builds run in microVMs)" : " (builds run in containers)"}
|
|
5565
5565
|
`);
|
|
5566
|
-
const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-
|
|
5566
|
+
const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-VUHT3VRQ.js');
|
|
5567
5567
|
let installedLayout = false;
|
|
5568
5568
|
let noService = "it starts the runner from the install layout, which needs a CLI installed with npm";
|
|
5569
5569
|
try {
|
|
@@ -5595,7 +5595,7 @@ ${C.yellow}The runner will not update itself: ${installErr.message}${C.reset}
|
|
|
5595
5595
|
let serviceUp = false;
|
|
5596
5596
|
let restart;
|
|
5597
5597
|
if (installedLayout) {
|
|
5598
|
-
const { installServiceCommand } = await import('./command-
|
|
5598
|
+
const { installServiceCommand } = await import('./command-FJO564JN.js');
|
|
5599
5599
|
const service = await installServiceCommand({
|
|
5600
5600
|
configPath,
|
|
5601
5601
|
entryPath: process.argv[1] ?? "",
|
|
@@ -5647,12 +5647,12 @@ image holds this CLI and a pinned ${words().agent}. Nothing runs inside the imag
|
|
|
5647
5647
|
A repository with no devcontainer file builds on the universal image the CLI pins by digest.
|
|
5648
5648
|
`
|
|
5649
5649
|
).action(async (opts) => {
|
|
5650
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5651
|
-
const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-
|
|
5650
|
+
const { defaultRunnerConfigPath } = await import('./config-K5477PLJ.js');
|
|
5651
|
+
const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-MTMSLEOI.js');
|
|
5652
5652
|
const { currentCliBuild } = await import('./cli-build-K56DK4DS.js');
|
|
5653
|
-
const { createDockerHost } = await import('./docker-
|
|
5654
|
-
const { builderSpec } = await import('./builder-
|
|
5655
|
-
const { loadRunnerConfig } = await import('./config-
|
|
5653
|
+
const { createDockerHost } = await import('./docker-6KNTLZCA.js');
|
|
5654
|
+
const { builderSpec } = await import('./builder-P2D7PTXH.js');
|
|
5655
|
+
const { loadRunnerConfig } = await import('./config-K5477PLJ.js');
|
|
5656
5656
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5657
5657
|
const loaded = (() => {
|
|
5658
5658
|
try {
|
|
@@ -5663,12 +5663,12 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5663
5663
|
})();
|
|
5664
5664
|
const memory = loaded?.build?.memory ?? "8g";
|
|
5665
5665
|
try {
|
|
5666
|
-
const { ensureRunnerIdentity } = await import('./runner-identity-
|
|
5666
|
+
const { ensureRunnerIdentity } = await import('./runner-identity-ODXVKSHY.js');
|
|
5667
5667
|
await ensureRunnerIdentity(configPath, { log: (line) => console.error(line) }).catch((err) => {
|
|
5668
5668
|
console.error(`the runner's Docker identity could not be stored: ${err instanceof Error ? err.message : String(err)}`);
|
|
5669
5669
|
});
|
|
5670
|
-
const { imageTargetFor } = await import('./governing-source-
|
|
5671
|
-
const { runnerCalls } = await import('./caller-
|
|
5670
|
+
const { imageTargetFor } = await import('./governing-source-2SXXRBDL.js');
|
|
5671
|
+
const { runnerCalls } = await import('./caller-BJPVYCSM.js');
|
|
5672
5672
|
const target = await imageTargetFor({ config: loaded === void 0 || loaded.fleet === true ? void 0 : runnerCalls(loaded), repository: opts.repository, fetchImpl: fetch });
|
|
5673
5673
|
if (!target.ok) {
|
|
5674
5674
|
if (opts.json) {
|
|
@@ -5732,25 +5732,25 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5732
5732
|
}
|
|
5733
5733
|
});
|
|
5734
5734
|
runnerCmd.command("stop").description("Take no more work; finish running jobs, then exit").option("--config <path>", "the cloud config file naming the runner to stop").option("--now", "end running jobs immediately, with outcome stopped").action(async (opts) => {
|
|
5735
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5736
|
-
const { requestStop } = await import('./loop-
|
|
5735
|
+
const { defaultRunnerConfigPath } = await import('./config-K5477PLJ.js');
|
|
5736
|
+
const { requestStop } = await import('./loop-CV5DU7D5.js');
|
|
5737
5737
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5738
|
-
const { runnerImageVersion } = await import('./image-tag-
|
|
5738
|
+
const { runnerImageVersion } = await import('./image-tag-2WKQHVAX.js');
|
|
5739
5739
|
await requestStop(configPath, Boolean(opts.now), void 0, { image: runnerImageVersion() !== void 0 });
|
|
5740
5740
|
});
|
|
5741
5741
|
runnerCmd.command("status").description("List running jobs; with --recent, finished ones too").option("--config <path>", "the cloud config file naming the runner to inspect").option("--recent", "also list finished jobs, newest first, capped at 20").option("--json", "machine-readable JSON output").action(async (opts) => {
|
|
5742
|
-
const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-
|
|
5743
|
-
const { jobsDir, runnerDir } = await import('./paths-
|
|
5744
|
-
const { listJobFiles, runnerProcessState } = await import('./loop-
|
|
5745
|
-
const { renderStatus } = await import('./status-
|
|
5746
|
-
const { readHousekeepingRecord } = await import('./record-
|
|
5742
|
+
const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-K5477PLJ.js');
|
|
5743
|
+
const { jobsDir, runnerDir } = await import('./paths-JK5BDRCA.js');
|
|
5744
|
+
const { listJobFiles, runnerProcessState } = await import('./loop-CV5DU7D5.js');
|
|
5745
|
+
const { renderStatus } = await import('./status-FWIMTBJM.js');
|
|
5746
|
+
const { readHousekeepingRecord } = await import('./record-4CSZUOA5.js');
|
|
5747
5747
|
const path2 = await import('path');
|
|
5748
5748
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5749
5749
|
const all = listJobFiles(configPath);
|
|
5750
5750
|
const housekeeping = readHousekeepingRecord(runnerDir(configPath));
|
|
5751
|
-
const { readPendingUpdate } = await import('./pending-
|
|
5751
|
+
const { readPendingUpdate } = await import('./pending-VFF4H3QR.js');
|
|
5752
5752
|
const pendingUpdate = readPendingUpdate(runnerDir(configPath));
|
|
5753
|
-
const { readImageStatus } = await import('./image-tag-
|
|
5753
|
+
const { readImageStatus } = await import('./image-tag-2WKQHVAX.js');
|
|
5754
5754
|
const image = readImageStatus(runnerDir(configPath));
|
|
5755
5755
|
let host = "unknown";
|
|
5756
5756
|
let concurrency = 1;
|
|
@@ -5760,7 +5760,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5760
5760
|
host = config.host;
|
|
5761
5761
|
concurrency = config.concurrency;
|
|
5762
5762
|
if (config.fleet === true) {
|
|
5763
|
-
const { readFleetState } = await import('./state-
|
|
5763
|
+
const { readFleetState } = await import('./state-PX6MYPNS.js');
|
|
5764
5764
|
fleet = { state: readFleetState(configPath) };
|
|
5765
5765
|
}
|
|
5766
5766
|
} catch {
|
|
@@ -5768,7 +5768,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5768
5768
|
const processState = runnerProcessState(configPath);
|
|
5769
5769
|
const service = await (async () => {
|
|
5770
5770
|
if (process.platform !== "linux" || !existsSync("/run/systemd/system")) return void 0;
|
|
5771
|
-
const { inspectRunnerService } = await import('./find-unit-
|
|
5771
|
+
const { inspectRunnerService } = await import('./find-unit-DL6CINZ6.js');
|
|
5772
5772
|
const facts = inspectRunnerService(configPath);
|
|
5773
5773
|
return facts === void 0 ? void 0 : { unit: facts.unit, running: facts.mainPid !== void 0, delegated: facts.delegate };
|
|
5774
5774
|
})();
|
|
@@ -5807,9 +5807,9 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5807
5807
|
);
|
|
5808
5808
|
});
|
|
5809
5809
|
runnerCmd.command("logs").argument("<item>", "the work item's number in the factory, or a build's claim id").description("Print the newest attempt's log for one item or claim id").option("--config <path>", "the cloud config file naming the runner to inspect").option("-f, --follow", "keep printing as the log grows").action(async (itemArg, opts) => {
|
|
5810
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5811
|
-
const { listJobFiles } = await import('./loop-
|
|
5812
|
-
const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-
|
|
5810
|
+
const { defaultRunnerConfigPath } = await import('./config-K5477PLJ.js');
|
|
5811
|
+
const { listJobFiles } = await import('./loop-CV5DU7D5.js');
|
|
5812
|
+
const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-HOMZHA2J.js');
|
|
5813
5813
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5814
5814
|
const jobs = listJobFiles(configPath);
|
|
5815
5815
|
const selected = selectAttempt(jobs, itemArg);
|
|
@@ -6030,7 +6030,7 @@ Self-host deployments also need --app-id: without a key service to resolve the
|
|
|
6030
6030
|
caller from the bearer token, the gateway answers 401 without that header.
|
|
6031
6031
|
`
|
|
6032
6032
|
).action(async (opts) => {
|
|
6033
|
-
const { runMcpInstall, handleMcpInstallError, McpInstallError } = await import('./mcp-install-cmd-
|
|
6033
|
+
const { runMcpInstall, handleMcpInstallError, McpInstallError } = await import('./mcp-install-cmd-ULHE6OSG.js');
|
|
6034
6034
|
try {
|
|
6035
6035
|
if (opts.transport !== void 0 && opts.transport !== "stdio" && opts.transport !== "http") {
|
|
6036
6036
|
throw new McpInstallError(`--transport must be "stdio" or "http", got "${opts.transport}"`);
|
|
@@ -6052,7 +6052,7 @@ caller from the bearer token, the gateway answers 401 without that header.
|
|
|
6052
6052
|
"after",
|
|
6053
6053
|
"\nWhat the stdio .mcp.json entry spawns. Reads newline-delimited JSON-RPC 2.0 on\nstdin and writes responses on stdout. The API key comes from OUTERLAYER_API_KEY\nor ~/.outerlayer/config.json at start-up; with neither the command exits 1 and\nprints why, which the MCP client shows as the connect error.\n"
|
|
6054
6054
|
).action(async (opts) => {
|
|
6055
|
-
const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-
|
|
6055
|
+
const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-Y4BJLFGW.js');
|
|
6056
6056
|
try {
|
|
6057
6057
|
await runMcpServe({ url: opts.url, appId: opts.appId });
|
|
6058
6058
|
} catch (err) {
|
|
@@ -6073,7 +6073,7 @@ would get, the instruction files and the names of the skills. It warns when the
|
|
|
6073
6073
|
no \`build\`. It needs the context-read permission: a login or a factory key with it is enough.
|
|
6074
6074
|
`
|
|
6075
6075
|
).action(async (opts) => {
|
|
6076
|
-
const { runContextShow, ContextShowError } = await import('./context-show-cmd-
|
|
6076
|
+
const { runContextShow, ContextShowError } = await import('./context-show-cmd-53IEEMK4.js');
|
|
6077
6077
|
try {
|
|
6078
6078
|
const result = await runContextShow({ repo: opts.repo, json: opts.json, url: opts.url, apiKey: opts.apiKey, appId: opts.appId });
|
|
6079
6079
|
process.stdout.write(result.output);
|