@outerlayer/cli 0.38.0-next.20261112130405 → 0.38.0
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/CHANGELOG.md +71 -0
- package/dist/{agent-setup-GZO7L3KP.js → agent-setup-G5M536SV.js} +18 -18
- package/dist/{agent-subcommand-OOGUQMBI.js → agent-subcommand-5OHWWBMY.js} +3 -3
- package/dist/{bridge-XOFEWMQV.js → bridge-GBW5JGSZ.js} +6 -6
- package/dist/{build-BZSY3KP2.js → build-3XIF6N52.js} +12 -12
- package/dist/{build-disk-TH7MASAJ.js → build-disk-2OEVGSEV.js} +10 -10
- package/dist/build-info.json +1 -1
- package/dist/{builder-RTY64QBY.js → builder-SQK6O75D.js} +9 -9
- package/dist/caller-XWPJHKWT.js +23 -0
- package/dist/{check-BCD24663.js → check-OOAYGWPQ.js} +52 -52
- package/dist/{chunk-WGBT6CXX.js → chunk-2JJYC4GL.js} +6 -6
- package/dist/{chunk-EAASGGVX.js → chunk-3WXJIFUX.js} +1 -1
- package/dist/{chunk-GIB5FJYB.js → chunk-42DEJOGM.js} +5 -5
- package/dist/{chunk-KGP3BDC6.js → chunk-4D2Z6W7L.js} +6 -6
- package/dist/{chunk-I7T2IYLI.js → chunk-4GZC4POQ.js} +4 -4
- package/dist/{chunk-P5VBUDAR.js → chunk-4XRMLN66.js} +1 -1
- package/dist/{chunk-GUVYVCVK.js → chunk-5534DFYM.js} +4 -4
- package/dist/{chunk-QAA7LFPR.js → chunk-5DNRDCAA.js} +8 -8
- package/dist/{chunk-2GRCDA74.js → chunk-5E4Y2QSJ.js} +1 -1
- package/dist/{chunk-QYTHWIC6.js → chunk-625S4A5P.js} +3 -3
- package/dist/{chunk-PFMU44GI.js → chunk-65JZ3G3P.js} +2 -2
- package/dist/{chunk-7FYTVES6.js → chunk-6DFHX33Y.js} +2 -2
- package/dist/{chunk-ZXFVX6RL.js → chunk-6TQNYDN7.js} +3 -3
- package/dist/{chunk-QBFSDYB4.js → chunk-6YVDKFYQ.js} +1 -1
- package/dist/{chunk-U7ZFUIVO.js → chunk-7YS6SFMI.js} +1 -1
- package/dist/{chunk-BGTFMWKN.js → chunk-AU46D3NG.js} +27 -27
- package/dist/{chunk-U5FQ34TV.js → chunk-BNXLY7F6.js} +2 -2
- package/dist/{chunk-RJFGRZWX.js → chunk-CGQC2T6G.js} +7 -7
- package/dist/{chunk-NG7677MH.js → chunk-EEN7SMYF.js} +1 -1
- package/dist/{chunk-X4CLPQTB.js → chunk-ELDOHATX.js} +1 -1
- package/dist/{chunk-R2GF5PY4.js → chunk-ETLEYEOA.js} +7 -7
- package/dist/{chunk-MJVQ2H3V.js → chunk-FMU5DI4R.js} +1 -1
- package/dist/{chunk-WO64BTHO.js → chunk-G2DV3EDX.js} +4 -4
- package/dist/{chunk-NONE3WVK.js → chunk-G3N6SL2B.js} +7 -7
- package/dist/{chunk-JIAXGEUJ.js → chunk-GIPEBL3P.js} +5 -5
- package/dist/{chunk-MKWMBJL5.js → chunk-H3SERZ4V.js} +7 -7
- package/dist/{chunk-L6RB3CEP.js → chunk-HTH3J5DW.js} +2 -2
- package/dist/{chunk-77B5KKOS.js → chunk-I7F33SP6.js} +5 -5
- package/dist/{chunk-P2BXYWXY.js → chunk-IEGQUILZ.js} +1 -1
- package/dist/{chunk-NLZKEMSA.js → chunk-IZNJWX6O.js} +1 -1
- package/dist/{chunk-RRJPZXU4.js → chunk-J3CBXTDT.js} +3 -3
- package/dist/{chunk-5C3ARPFD.js → chunk-J5Q5SZWN.js} +1 -1
- package/dist/{chunk-E32ZSEKP.js → chunk-JODWO5R4.js} +4 -4
- package/dist/{chunk-FFGJRBRM.js → chunk-JWL22QXO.js} +4 -4
- package/dist/{chunk-U5CJGS3H.js → chunk-K2QXND4S.js} +10 -10
- package/dist/{chunk-TMMUTFFQ.js → chunk-KBWBPZKP.js} +1 -1
- package/dist/{chunk-L2NZFPYT.js → chunk-KHJYFVSH.js} +1 -1
- package/dist/{chunk-7QP77Z4B.js → chunk-LNHTTNND.js} +4 -4
- package/dist/{chunk-6BA2ZPW3.js → chunk-LRJBLJT7.js} +1 -1
- package/dist/{chunk-CU65AZAS.js → chunk-MGNJG4XT.js} +15 -15
- package/dist/{chunk-RKRBPTL7.js → chunk-MUGG5JJR.js} +1 -1
- package/dist/{chunk-W26NQQJP.js → chunk-NEZ5REVV.js} +1 -1
- package/dist/{chunk-NIOY74QW.js → chunk-O6SA67BP.js} +62 -37
- package/dist/{chunk-RSXF2EDP.js → chunk-OHGA3RLF.js} +5 -5
- package/dist/{chunk-3TCYRND4.js → chunk-OVITR2WI.js} +1 -1
- package/dist/{chunk-77U26OHP.js → chunk-Q4KY2KAC.js} +4 -4
- package/dist/{chunk-6PKTD7CQ.js → chunk-Q5MSPOY4.js} +1 -1
- package/dist/{chunk-OAZUEGRK.js → chunk-Q7LGSDV2.js} +3 -3
- package/dist/{chunk-GK2ICEUG.js → chunk-Q7OIAAPL.js} +1 -1
- package/dist/{chunk-G4POIW7D.js → chunk-QH2GLH3O.js} +5 -5
- package/dist/{chunk-3AUBFD3Q.js → chunk-QHUYK6MS.js} +3 -3
- package/dist/{chunk-LTCQNNIQ.js → chunk-QVQFDE4S.js} +5 -5
- package/dist/{chunk-OJUVL2FN.js → chunk-R5AJAIY4.js} +1 -1
- package/dist/{chunk-4DEEKJR6.js → chunk-SJDWP5LQ.js} +3 -3
- package/dist/{chunk-OPY7MKU6.js → chunk-SNI3A4RH.js} +1 -1
- package/dist/{chunk-DJ2AWTCT.js → chunk-SNVOPMVC.js} +4 -4
- package/dist/{chunk-YWVWWYCS.js → chunk-T374Y7WY.js} +3 -3
- package/dist/{chunk-ITZOA4MV.js → chunk-TCFEH77U.js} +27 -27
- package/dist/{chunk-EO45NMK4.js → chunk-TXAGRVRO.js} +8 -8
- package/dist/{chunk-7BHJ27KM.js → chunk-U3Q26CXW.js} +1 -1
- package/dist/{chunk-X6ES4DAR.js → chunk-W2ZJEC33.js} +4 -4
- package/dist/{chunk-I2MBAXVR.js → chunk-WBO27MFA.js} +2 -2
- package/dist/{chunk-YK4OXAMU.js → chunk-WT6IBQ7Z.js} +1 -1
- package/dist/{chunk-WMUBJCZG.js → chunk-X6GZZW5V.js} +1 -1
- package/dist/{chunk-GPBUOO4F.js → chunk-XFYHSGOE.js} +1 -1
- package/dist/{chunk-GYGFRFGC.js → chunk-YIYPL2E6.js} +5 -5
- package/dist/{chunk-4WWLLEJD.js → chunk-YMWMS2AM.js} +7 -7
- package/dist/{chunk-XOCAFN7L.js → chunk-YQISMD7E.js} +8 -8
- package/dist/{chunk-N3ENLCOW.js → chunk-ZCGMM5A3.js} +1 -1
- package/dist/{claude-launcher-WCTUKAZ4.js → claude-launcher-47FTUBNB.js} +6 -6
- package/dist/{cli-IZDFG7AU.js → cli-KFQGXRQ6.js} +150 -150
- package/dist/{command-3LBLRLGZ.js → command-ZQS5VONR.js} +47 -47
- package/dist/{config-V72A7FY2.js → config-U2QGX42S.js} +11 -11
- package/dist/{connect-cmd-VEAP2LYE.js → connect-cmd-5CBJ3QBJ.js} +10 -10
- package/dist/{container-start-2CT33XPL.js → container-start-7QFNPIZP.js} +45 -45
- package/dist/{context-cleanup-U5AKAZVH.js → context-cleanup-V5LIRWOR.js} +3 -3
- package/dist/{context-show-cmd-GHVAPO2T.js → context-show-cmd-5DGIO7VP.js} +11 -11
- package/dist/{control-plane-launch-LUBN7HEI.js → control-plane-launch-2FN5ICDR.js} +13 -13
- package/dist/{demo-record-cmd-QJGZTLX6.js → demo-record-cmd-KQW4RBFQ.js} +7 -7
- package/dist/{demo-voice-cmd-EQS7W7FD.js → demo-voice-cmd-SDYJP7RU.js} +17 -17
- package/dist/{dist-426KSQWV.js → dist-O4HJ55MA.js} +1 -1
- package/dist/{docker-CTOL5EJQ.js → docker-BXR6YIWV.js} +9 -9
- package/dist/{doctor-SF5JS74W.js → doctor-GGNAJFLA.js} +47 -47
- package/dist/{emit-artifact-cmd-D3EH3VTR.js → emit-artifact-cmd-YY35HFCD.js} +16 -16
- package/dist/{emit-cmd-RVG2UIVE.js → emit-cmd-XQ667BAD.js} +6 -6
- package/dist/{emit-criteria-cmd-OLGIKDLI.js → emit-criteria-cmd-AF4TBZZI.js} +13 -13
- package/dist/{emit-demo-cmd-WWJJGEQG.js → emit-demo-cmd-PJXRNZGD.js} +17 -17
- package/dist/{emit-finding-cmd-HHJT5AWP.js → emit-finding-cmd-MG4PQCCJ.js} +13 -13
- package/dist/{emit-result-cmd-FPPAKZPR.js → emit-result-cmd-DEKTNEZ7.js} +15 -15
- package/dist/{emit-step-cmd-J6L3CMW7.js → emit-step-cmd-ZUCQ7RSI.js} +13 -13
- package/dist/{exec-client-NGRBZXJW.js → exec-client-DM3X2RB7.js} +7 -7
- package/dist/find-unit-56VDIZ5F.js +24 -0
- package/dist/{findings-cmd-TP4HBJHY.js → findings-cmd-DFGK2KDO.js} +13 -13
- package/dist/{fleet-readiness-SCDOUR4F.js → fleet-readiness-Q3YBDRDX.js} +12 -12
- package/dist/{governing-source-RIMJL6AI.js → governing-source-AN2YX6EN.js} +18 -18
- package/dist/{guest-init-XSILTFD3.js → guest-init-XMSQJTEX.js} +8 -8
- package/dist/{hook-fast-PWQXGSV6.js → hook-fast-BW22D52S.js} +1 -1
- package/dist/{hook-install-U4T4N2WW.js → hook-install-WSECKVW7.js} +3 -3
- package/dist/host-checks-ZFX5SFJX.js +80 -0
- package/dist/{host-key-KCIKNVSA.js → host-key-ZVUMVEOE.js} +7 -7
- package/dist/{image-tag-JPWFKBXI.js → image-tag-XGFQGMDL.js} +7 -7
- package/dist/index.js +4 -4
- package/dist/{init-QLUM32EF.js → init-4FUFSCYD.js} +43 -43
- package/dist/init-55SHW52A.js +80 -0
- package/dist/{init-agent-ZZQQCZG7.js → init-agent-DKCSZN7T.js} +43 -43
- package/dist/{init-cmd-PB65U5KT.js → init-cmd-JYBT36J5.js} +24 -24
- package/dist/{init-update-XSVUSOAV.js → init-update-FNIC6XTK.js} +21 -21
- package/dist/{install-cmd-QN63IRY4.js → install-cmd-S7GLPLGN.js} +9 -9
- package/dist/{layout-4UR5FTQ4.js → layout-NHIWZEIA.js} +3 -3
- package/dist/{logs-62HSYSBC.js → logs-IAZB2LDI.js} +6 -6
- package/dist/loop-K6IXBN2T.js +90 -0
- package/dist/machine-KJHNBKZ2.js +80 -0
- package/dist/{machine-skills-DC2JFSWJ.js → machine-skills-XJBRAFDW.js} +3 -3
- package/dist/{mcp-install-cmd-KN63AUMM.js → mcp-install-cmd-E54PIM6W.js} +3 -3
- package/dist/{mcp-serve-cmd-BNSE5C3N.js → mcp-serve-cmd-J4G7UF5Y.js} +8 -8
- package/dist/{paths-MISH4O6W.js → paths-B5KAGDE4.js} +6 -6
- package/dist/pending-LIGMFSK7.js +18 -0
- package/dist/{pidfile-WNYZBROS.js → pidfile-6XI5PZPC.js} +7 -7
- package/dist/{record-4PPOUQFY.js → record-PYSKMLIW.js} +7 -7
- package/dist/{relay-VEWZMM4P.js → relay-B264HXPJ.js} +4 -4
- package/dist/{relay-protocol-OBBU3QKQ.js → relay-protocol-GDRAFK7U.js} +4 -4
- package/dist/{run-cmd-QY72PQM2.js → run-cmd-M4FBHHC7.js} +13 -13
- package/dist/{runner-agents-ES2F337T.js → runner-agents-4WZYSEWM.js} +3 -3
- package/dist/{runner-env-HTDASSM2.js → runner-env-52V2APNY.js} +13 -13
- package/dist/{runner-identity-QJPE5VWO.js → runner-identity-F4MC2JC4.js} +9 -9
- package/dist/{runner-key-2DX32DLM.js → runner-key-BMDKLXS2.js} +43 -43
- package/dist/{session-sender-3OT7AW5L.js → session-sender-RCSQA6Q6.js} +16 -16
- package/dist/{spec-cmd-PIA5EGIS.js → spec-cmd-FXLUALYN.js} +14 -14
- package/dist/{starter-pack-P7YD4I47.js → starter-pack-VYOFXBO5.js} +4 -4
- package/dist/{state-PPEDDAHG.js → state-XYGP7UWS.js} +7 -7
- package/dist/{status-CVBXOZIP.js → status-JBZ2NRIE.js} +43 -43
- package/dist/{sync-cmd-R6L3JGFN.js → sync-cmd-KPKBQPSC.js} +15 -15
- package/dist/update-steps-ZVTFBU4Q.js +81 -0
- package/dist/{watch-WNQ5LKPS.js → watch-7PUSIJW7.js} +15 -15
- package/dist/{work-claim-cmd-J2K56D2F.js → work-claim-cmd-P7QLRPLI.js} +19 -19
- package/dist/{work-cmd-NQFMWD7T.js → work-cmd-EMRIV62M.js} +13 -13
- package/dist/{work-comment-cmd-TC7XS6PG.js → work-comment-cmd-6BDQZBRA.js} +15 -15
- package/dist/{work-demo-cmd-Z566PGHN.js → work-demo-cmd-FHCLHCBH.js} +13 -13
- package/dist/{work-logs-cmd-DZ5HUYME.js → work-logs-cmd-TARI25WW.js} +13 -13
- package/dist/{work-needs-attention-cmd-GB4QBHBN.js → work-needs-attention-cmd-3EGKIUXR.js} +13 -13
- package/dist/{work-no-change-cmd-ZIJ6HJTO.js → work-no-change-cmd-TR5OSYSS.js} +13 -13
- package/dist/{work-open-pr-cmd-F4IGUBFD.js → work-open-pr-cmd-YWHEB3J5.js} +14 -14
- package/dist/{work-pr-cmd-CKHQIJPC.js → work-pr-cmd-XKHZWCIV.js} +13 -13
- package/dist/{work-proofs-cmd-7L7EPR2H.js → work-proofs-cmd-ZR3T7I7H.js} +15 -15
- package/dist/{work-proofs-record-2V46OKM6.js → work-proofs-record-QZHRVOJ5.js} +21 -21
- package/dist/{work-stop-cmd-VUHRWWMI.js → work-stop-cmd-U2ECHOMS.js} +13 -13
- package/package.json +1 -1
- package/dist/caller-XHRUOBEX.js +0 -23
- package/dist/find-unit-PJZLATLX.js +0 -24
- package/dist/host-checks-74CYLUUU.js +0 -80
- package/dist/init-PJWVMIYQ.js +0 -80
- package/dist/loop-PFUUK3Y5.js +0 -90
- package/dist/machine-NVAWSFJK.js +0 -80
- package/dist/pending-BNOGN6LN.js +0 -18
- package/dist/update-steps-HC4Z2W4T.js +0 -81
|
@@ -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-MGNJG4XT.js';
|
|
4
|
+
import './chunk-OHGA3RLF.js';
|
|
5
|
+
import { verifiedTrackerNames, TRACKERS } from './chunk-CGQC2T6G.js';
|
|
6
|
+
import './chunk-7YS6SFMI.js';
|
|
7
|
+
import './chunk-625S4A5P.js';
|
|
8
|
+
import './chunk-42DEJOGM.js';
|
|
9
|
+
import './chunk-R5AJAIY4.js';
|
|
10
|
+
import './chunk-4XRMLN66.js';
|
|
11
|
+
import './chunk-BNXLY7F6.js';
|
|
12
|
+
import './chunk-W2ZJEC33.js';
|
|
13
13
|
import './chunk-TDTWNGCO.js';
|
|
14
|
-
import { FIRST_VERSION_READING_AGENTS_SKILLS } from './chunk-
|
|
14
|
+
import { FIRST_VERSION_READING_AGENTS_SKILLS } from './chunk-KHJYFVSH.js';
|
|
15
15
|
import './chunk-ND6JA3K5.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-X6GZZW5V.js';
|
|
19
|
+
import './chunk-6YVDKFYQ.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-OVITR2WI.js';
|
|
22
|
+
import './chunk-WT6IBQ7Z.js';
|
|
23
|
+
import './chunk-5534DFYM.js';
|
|
24
|
+
import './chunk-65JZ3G3P.js';
|
|
25
|
+
import { hookFiredMarkerPath, installedCliDistDir } from './chunk-6TQNYDN7.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-IZNJWX6O.js';
|
|
32
32
|
import './chunk-LVELQ635.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-MUGG5JJR.js';
|
|
36
36
|
import { cliForInstall, SettingsParseError, PORTABLE_BIN, writeSettingsText, cliBinResolvable } from './chunk-ZHQC43NH.js';
|
|
37
|
-
import './chunk-
|
|
37
|
+
import './chunk-Q5MSPOY4.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-J5Q5SZWN.js';
|
|
41
|
+
import { defaultAgents, knownTargetsLine, legacyAgent } from './chunk-XFYHSGOE.js';
|
|
42
42
|
import './chunk-PLVHIQJN.js';
|
|
43
43
|
import './chunk-7PZDPISM.js';
|
|
44
44
|
import './chunk-ELPP5OHC.js';
|
|
45
45
|
import { resolveVersion, resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
46
46
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
47
|
-
import './chunk-
|
|
47
|
+
import './chunk-O6SA67BP.js';
|
|
48
48
|
import './chunk-ZIBM6BTL.js';
|
|
49
49
|
import './chunk-Z5GEFMRW.js';
|
|
50
50
|
import { EventEmitter } from 'events';
|
|
@@ -3669,14 +3669,14 @@ function apiKeyOption() {
|
|
|
3669
3669
|
return new Option("--api-key <key>", `deprecated: use \`${cliInvocation()} login\` or OUTERLAYER_API_KEY`).hideHelp();
|
|
3670
3670
|
}
|
|
3671
3671
|
async function installStarterPackInRepo() {
|
|
3672
|
-
const { installStarterPack, formatStarterPackOutput } = await import('./starter-pack-
|
|
3672
|
+
const { installStarterPack, formatStarterPackOutput } = await import('./starter-pack-VYOFXBO5.js');
|
|
3673
3673
|
const cwd = process.cwd();
|
|
3674
3674
|
let repoRoot = cwd;
|
|
3675
3675
|
try {
|
|
3676
3676
|
repoRoot = execFileSync("git", ["rev-parse", "--show-toplevel"], { cwd, encoding: "utf8", stdio: ["ignore", "pipe", "ignore"] }).trim() || cwd;
|
|
3677
3677
|
} catch {
|
|
3678
3678
|
}
|
|
3679
|
-
const { declareAgentsMdLayout, isAgentsMdLayout, skillsBaseFor } = await import('./layout-
|
|
3679
|
+
const { declareAgentsMdLayout, isAgentsMdLayout, skillsBaseFor } = await import('./layout-NHIWZEIA.js');
|
|
3680
3680
|
const fresh = !isAgentsMdLayout(repoRoot) && !existsSync(join(repoRoot, ".outerlayer/skills")) && !existsSync(join(repoRoot, ".outerlayer/AGENTS.md"));
|
|
3681
3681
|
const result = installStarterPack({ repoRoot, base: fresh ? ".agents/skills" : skillsBaseFor(repoRoot) });
|
|
3682
3682
|
if (fresh) declareAgentsMdLayout(repoRoot);
|
|
@@ -3819,7 +3819,7 @@ ${starter.output}`),
|
|
|
3819
3819
|
}
|
|
3820
3820
|
}
|
|
3821
3821
|
async function installMachineSkillsForSetup() {
|
|
3822
|
-
const { setupMachineSkills } = await import('./machine-skills-
|
|
3822
|
+
const { setupMachineSkills } = await import('./machine-skills-XJBRAFDW.js');
|
|
3823
3823
|
const result = setupMachineSkills(homeFromEnv());
|
|
3824
3824
|
for (const failure of result.failures) process.stderr.write(`${C.yellow}!${C.reset} Could not write a maintained skill: ${failure}
|
|
3825
3825
|
`);
|
|
@@ -3827,8 +3827,8 @@ async function installMachineSkillsForSetup() {
|
|
|
3827
3827
|
` : "";
|
|
3828
3828
|
}
|
|
3829
3829
|
async function realConnectDepsForCwd() {
|
|
3830
|
-
const { realConnectDeps } = await import('./connect-cmd-
|
|
3831
|
-
const { resolveRepoIdentity } = await import('./dist-
|
|
3830
|
+
const { realConnectDeps } = await import('./connect-cmd-5CBJ3QBJ.js');
|
|
3831
|
+
const { resolveRepoIdentity } = await import('./dist-O4HJ55MA.js');
|
|
3832
3832
|
return {
|
|
3833
3833
|
...realConnectDeps(),
|
|
3834
3834
|
home: homeFromEnv(),
|
|
@@ -3845,7 +3845,7 @@ function buildProgram(argv = process.argv) {
|
|
|
3845
3845
|
const program2 = new Command();
|
|
3846
3846
|
program2.name(cliInvocation()).description("OuterLayer \u2014 see what your coding agents actually do").enablePositionalOptions().version(resolveVersion()).hook("preAction", async (_root, command) => {
|
|
3847
3847
|
if (command.opts().apiKey !== void 0) warnDeprecated(API_KEY_FLAG_DEPRECATION);
|
|
3848
|
-
const { machineRefreshSkipped, refreshMachineSkills } = await import('./machine-skills-
|
|
3848
|
+
const { machineRefreshSkipped, refreshMachineSkills } = await import('./machine-skills-XJBRAFDW.js');
|
|
3849
3849
|
const names = [];
|
|
3850
3850
|
for (let at = command; at?.parent; at = at.parent) names.push(at.name());
|
|
3851
3851
|
if (!machineRefreshSkipped(names, command._hidden === true, argv)) refreshMachineSkills(homeFromEnv());
|
|
@@ -3902,8 +3902,8 @@ build, ../outerlayer-build/SKILL.md becomes ~/.agents/skills/outerlayer-build/SK
|
|
|
3902
3902
|
what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocation() + " doctor` reports the same\nstates under Starter files.\n"
|
|
3903
3903
|
).action(async (opts) => {
|
|
3904
3904
|
if (opts.update || opts.dryRun) {
|
|
3905
|
-
const { runInitUpdateWithFleet, formatInitUpdate, updateFlagProblem } = await import('./init-update-
|
|
3906
|
-
const { fleetReadiness } = await import('./fleet-readiness-
|
|
3905
|
+
const { runInitUpdateWithFleet, formatInitUpdate, updateFlagProblem } = await import('./init-update-FNIC6XTK.js');
|
|
3906
|
+
const { fleetReadiness } = await import('./fleet-readiness-Q3YBDRDX.js');
|
|
3907
3907
|
const problem = updateFlagProblem(opts);
|
|
3908
3908
|
if (problem !== void 0) {
|
|
3909
3909
|
fail(problem);
|
|
@@ -3920,7 +3920,7 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3920
3920
|
}
|
|
3921
3921
|
let starterTemplate;
|
|
3922
3922
|
if (opts.template !== void 0) {
|
|
3923
|
-
const { assertKnownTemplate, StarterPackError } = await import('./starter-pack-
|
|
3923
|
+
const { assertKnownTemplate, StarterPackError } = await import('./starter-pack-VYOFXBO5.js');
|
|
3924
3924
|
try {
|
|
3925
3925
|
assertKnownTemplate(opts.template);
|
|
3926
3926
|
} catch (err) {
|
|
@@ -3954,13 +3954,13 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3954
3954
|
if (changed.length > 0 && !opts.json) process.stdout.write(`Removed the claude function from ${changed.join(", ")}.
|
|
3955
3955
|
`);
|
|
3956
3956
|
}
|
|
3957
|
-
const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-
|
|
3957
|
+
const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-JYBT36J5.js')).applyShellFunctionFlag(opts.shellFunction, { home: homeFromEnv(), shellPath: process.env.SHELL }) : void 0;
|
|
3958
3958
|
if (opts.json) writeJson(shell === void 0 ? outcome.result : { ...outcome.result, shellFunction: { outcome: shell.outcome, reason: shell.reason } });
|
|
3959
3959
|
else process.stdout.write(outcome.text + skillsLine + (shell?.text ?? ""));
|
|
3960
3960
|
return;
|
|
3961
3961
|
}
|
|
3962
3962
|
await installMachineSkillsForSetup();
|
|
3963
|
-
const { runInitCommand } = await import('./init-cmd-
|
|
3963
|
+
const { runInitCommand } = await import('./init-cmd-JYBT36J5.js');
|
|
3964
3964
|
const code = await runInitCommand(
|
|
3965
3965
|
{ json: opts.json, factory: opts.factory, shellFunction: opts.shellFunction },
|
|
3966
3966
|
{
|
|
@@ -3972,7 +3972,7 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3972
3972
|
return { ok, text, detail };
|
|
3973
3973
|
},
|
|
3974
3974
|
runAgentSetup: async () => {
|
|
3975
|
-
const { runAgentSetup } = await import('./agent-setup-
|
|
3975
|
+
const { runAgentSetup } = await import('./agent-setup-G5M536SV.js');
|
|
3976
3976
|
return runAgentSetup({ cwd: process.cwd(), skillsLink: opts.skillsLink !== false });
|
|
3977
3977
|
},
|
|
3978
3978
|
runDoctorChecks: gatherDoctorChecks,
|
|
@@ -3981,7 +3981,7 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3981
3981
|
shellPath: process.env.SHELL,
|
|
3982
3982
|
interactive: Boolean(process.stdin.isTTY && process.stderr.isTTY) && opts.json !== true,
|
|
3983
3983
|
ask: async () => {
|
|
3984
|
-
const { promptOnTerminal } = await import('./connect-cmd-
|
|
3984
|
+
const { promptOnTerminal } = await import('./connect-cmd-5CBJ3QBJ.js');
|
|
3985
3985
|
const answer = await promptOnTerminal({
|
|
3986
3986
|
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.`,
|
|
3987
3987
|
options: [
|
|
@@ -4020,7 +4020,7 @@ linked (true, false, or null when it could not be checked) and, when false,
|
|
|
4020
4020
|
linkUrl.
|
|
4021
4021
|
`
|
|
4022
4022
|
).action(async (opts) => {
|
|
4023
|
-
const { runConnectCommand } = await import('./connect-cmd-
|
|
4023
|
+
const { runConnectCommand } = await import('./connect-cmd-5CBJ3QBJ.js');
|
|
4024
4024
|
const code = await runConnectCommand({ factory: opts.factory, json: opts.json }, await realConnectDepsForCwd(), {
|
|
4025
4025
|
stdout: process.stdout,
|
|
4026
4026
|
stderr: process.stderr
|
|
@@ -4102,7 +4102,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4102
4102
|
else fail(found.reason);
|
|
4103
4103
|
return;
|
|
4104
4104
|
}
|
|
4105
|
-
const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-
|
|
4105
|
+
const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-KPKBQPSC.js');
|
|
4106
4106
|
try {
|
|
4107
4107
|
const result = await runSync({
|
|
4108
4108
|
url: opts.url,
|
|
@@ -4131,7 +4131,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4131
4131
|
if (invokedCommandToken(argv) === "watch") {
|
|
4132
4132
|
warnDeprecated(`\`${cliInvocation()} watch\` is now \`${cliInvocation()} daemon\`; the old name will be removed in a future release.`);
|
|
4133
4133
|
}
|
|
4134
|
-
const { runWatch } = await import('./watch-
|
|
4134
|
+
const { runWatch } = await import('./watch-7PUSIJW7.js');
|
|
4135
4135
|
await runWatch({ once: opts.once });
|
|
4136
4136
|
});
|
|
4137
4137
|
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(() => {
|
|
@@ -4146,8 +4146,8 @@ code is 1: revoke the token on /profile/security.
|
|
|
4146
4146
|
});
|
|
4147
4147
|
}
|
|
4148
4148
|
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|path>", "also take the runner's session over a WebSocket port or socket file").option("--join-secret-file <path>", "the secret a WebSocket join sends first; needs --join-ws").option("--listen-socket <path>", "also take the build's connections on this socket file; needs --join").option("--forward <port=target>", "also relay a loopback port to a destination; repeatable", (value, previous) => [...previous, value], []).action(async (opts) => {
|
|
4149
|
-
const { startRelay, startSessionRelay } = await import('./relay-
|
|
4150
|
-
const { TARGET_TUNNEL, targetOfPath } = await import('./relay-protocol-
|
|
4149
|
+
const { startRelay, startSessionRelay } = await import('./relay-B264HXPJ.js');
|
|
4150
|
+
const { TARGET_TUNNEL, targetOfPath } = await import('./relay-protocol-GDRAFK7U.js');
|
|
4151
4151
|
const port = Number(opts.port);
|
|
4152
4152
|
if (!Number.isInteger(port) || port < 1 || port > 65535) {
|
|
4153
4153
|
fail(opts.port === void 0 ? "--port is required" : `--port must be a port number, not ${opts.port}`);
|
|
@@ -4192,7 +4192,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4192
4192
|
await startRelay({ port, socketPath: opts.socket, forwards: forwards.map((forward) => ({ port: forward.port, socketPath: forward.spec })) });
|
|
4193
4193
|
});
|
|
4194
4194
|
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) => {
|
|
4195
|
-
const { joinRelay } = await import('./relay-
|
|
4195
|
+
const { joinRelay } = await import('./relay-B264HXPJ.js');
|
|
4196
4196
|
try {
|
|
4197
4197
|
await joinRelay({ socketPath: opts.socket, input: process.stdin, output: process.stdout });
|
|
4198
4198
|
} catch (err) {
|
|
@@ -4208,7 +4208,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4208
4208
|
}
|
|
4209
4209
|
});
|
|
4210
4210
|
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) => {
|
|
4211
|
-
const { runVmExec } = await import('./exec-client-
|
|
4211
|
+
const { runVmExec } = await import('./exec-client-DM3X2RB7.js');
|
|
4212
4212
|
const env = {};
|
|
4213
4213
|
for (const entry of opts.env) {
|
|
4214
4214
|
const eq = entry.indexOf("=");
|
|
@@ -4237,7 +4237,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4237
4237
|
process.exitCode = await runBuildCommand({ dir: opts.dir, argv: command });
|
|
4238
4238
|
});
|
|
4239
4239
|
program2.command("session-sender", { hidden: true }).description("stream a runner build's sessions to its work item while the build runs").action(async () => {
|
|
4240
|
-
const { runSessionSender } = await import('./session-sender-
|
|
4240
|
+
const { runSessionSender } = await import('./session-sender-RCSQA6Q6.js');
|
|
4241
4241
|
try {
|
|
4242
4242
|
await runSessionSender();
|
|
4243
4243
|
} catch (err) {
|
|
@@ -4245,7 +4245,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4245
4245
|
}
|
|
4246
4246
|
});
|
|
4247
4247
|
program2.command("vm-init", { hidden: true }).description("lay out a microVM build's guest; the guest helper runs it").action(async () => {
|
|
4248
|
-
const { realGuestHost, runGuestInit } = await import('./guest-init-
|
|
4248
|
+
const { realGuestHost, runGuestInit } = await import('./guest-init-XMSQJTEX.js');
|
|
4249
4249
|
const { readFileSync: readFileSync3 } = await import('fs');
|
|
4250
4250
|
try {
|
|
4251
4251
|
runGuestInit(realGuestHost(), readFileSync3("/proc/cmdline", "utf8"));
|
|
@@ -4254,7 +4254,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4254
4254
|
}
|
|
4255
4255
|
});
|
|
4256
4256
|
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) => {
|
|
4257
|
-
const { startBridgeForward } = await import('./bridge-
|
|
4257
|
+
const { startBridgeForward } = await import('./bridge-GBW5JGSZ.js');
|
|
4258
4258
|
try {
|
|
4259
4259
|
await startBridgeForward(opts);
|
|
4260
4260
|
} catch (err) {
|
|
@@ -4280,7 +4280,7 @@ async function runCli(processArgv) {
|
|
|
4280
4280
|
await buildProgram(argv).parseAsync(argv);
|
|
4281
4281
|
}
|
|
4282
4282
|
async function compileContext(opts) {
|
|
4283
|
-
const { runEmit, EmitError } = await import('./emit-cmd-
|
|
4283
|
+
const { runEmit, EmitError } = await import('./emit-cmd-XQ667BAD.js');
|
|
4284
4284
|
try {
|
|
4285
4285
|
const result = runEmit({ cwd: opts.dir, check: opts.check, json: opts.json });
|
|
4286
4286
|
if (result.exitCode !== 0) process.exitCode = result.exitCode;
|
|
@@ -4333,7 +4333,7 @@ Compiling .outerlayer/ moved to \`${cliInvocation()} context emit\`.
|
|
|
4333
4333
|
await compileContext({ dir: opts.dir, check: opts.check, json: opts.json });
|
|
4334
4334
|
return;
|
|
4335
4335
|
}
|
|
4336
|
-
const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-
|
|
4336
|
+
const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-DEKTNEZ7.js');
|
|
4337
4337
|
try {
|
|
4338
4338
|
const result = await runEmitResult({
|
|
4339
4339
|
name,
|
|
@@ -4385,7 +4385,7 @@ everywhere, bytes and deep link untouched; a still-queued one is cancelled
|
|
|
4385
4385
|
locally so it never uploads. One correction can retire several duplicates.
|
|
4386
4386
|
`
|
|
4387
4387
|
).action(async (file, opts) => {
|
|
4388
|
-
const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-
|
|
4388
|
+
const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-YY35HFCD.js');
|
|
4389
4389
|
let pr;
|
|
4390
4390
|
if (opts.pr !== void 0) {
|
|
4391
4391
|
pr = parseTrackerNumber(opts.pr);
|
|
@@ -4441,7 +4441,7 @@ its criterion, and the new record retires the old record. The id must be the ite
|
|
|
4441
4441
|
as \`work demo --item <n> --json\` prints it.
|
|
4442
4442
|
`
|
|
4443
4443
|
).action(async (manifest, opts) => {
|
|
4444
|
-
const { runEmitDemo, EmitDemoError } = await import('./emit-demo-cmd-
|
|
4444
|
+
const { runEmitDemo, EmitDemoError } = await import('./emit-demo-cmd-PJXRNZGD.js');
|
|
4445
4445
|
let item;
|
|
4446
4446
|
if (opts.item !== void 0) {
|
|
4447
4447
|
item = parseTrackerNumber(opts.item);
|
|
@@ -4484,7 +4484,7 @@ as \`work demo --item <n> --json\` prints it.
|
|
|
4484
4484
|
}
|
|
4485
4485
|
});
|
|
4486
4486
|
program2.command("demo-voice", { hidden: true }).description("Speak demo lines for a recorder: JSON lines in on stdin, out on stdout").action(async () => {
|
|
4487
|
-
const { runDemoVoice } = await import('./demo-voice-cmd-
|
|
4487
|
+
const { runDemoVoice } = await import('./demo-voice-cmd-SDYJP7RU.js');
|
|
4488
4488
|
await runDemoVoice();
|
|
4489
4489
|
});
|
|
4490
4490
|
const demoCmd = program2.command("demo").description("Record demos with the recorder this CLI carries");
|
|
@@ -4502,7 +4502,7 @@ and the command prints the manifest's path for \`emit demo\`. Under \`work proof
|
|
|
4502
4502
|
to OUTERLAYER_PROOF_OUT instead. Exit 1 means the demo's test failed; its manifest is written all the same.
|
|
4503
4503
|
`
|
|
4504
4504
|
).action(async (file, opts) => {
|
|
4505
|
-
const { runDemoRecord, DemoRecordError } = await import('./demo-record-cmd-
|
|
4505
|
+
const { runDemoRecord, DemoRecordError } = await import('./demo-record-cmd-KQW4RBFQ.js');
|
|
4506
4506
|
try {
|
|
4507
4507
|
const result = await runDemoRecord({
|
|
4508
4508
|
file,
|
|
@@ -4551,7 +4551,7 @@ recent events with their ids. --find <text> searches all of them.
|
|
|
4551
4551
|
item that session was launched for is used automatically.
|
|
4552
4552
|
`
|
|
4553
4553
|
).action(async (opts) => {
|
|
4554
|
-
const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-
|
|
4554
|
+
const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-MG4PQCCJ.js');
|
|
4555
4555
|
try {
|
|
4556
4556
|
refuseRemovedFindingFlags(opts);
|
|
4557
4557
|
const result = await runEmitFinding({
|
|
@@ -4618,7 +4618,7 @@ the whole batch. "untimed": true records one with no time on purpose.
|
|
|
4618
4618
|
that session was launched for is used automatically.
|
|
4619
4619
|
`
|
|
4620
4620
|
).action(async (file, opts) => {
|
|
4621
|
-
const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-
|
|
4621
|
+
const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-MG4PQCCJ.js');
|
|
4622
4622
|
try {
|
|
4623
4623
|
const result = await runEmitFindings({
|
|
4624
4624
|
file,
|
|
@@ -4653,7 +4653,7 @@ command, the command exits 0, and \`sync\` sends it later. If the gateway refuse
|
|
|
4653
4653
|
the step, the command prints why and exits 1.
|
|
4654
4654
|
`
|
|
4655
4655
|
).action(async (name, opts) => {
|
|
4656
|
-
const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-
|
|
4656
|
+
const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-ZUCQ7RSI.js');
|
|
4657
4657
|
try {
|
|
4658
4658
|
await runEmitStep({
|
|
4659
4659
|
name,
|
|
@@ -4696,7 +4696,7 @@ of the item, and a (proof: <kind>) annotation names its proof.
|
|
|
4696
4696
|
${cliInvocation()} emit criteria acceptance/412-login.md --item 412
|
|
4697
4697
|
`
|
|
4698
4698
|
).action(async (file, opts) => {
|
|
4699
|
-
const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-
|
|
4699
|
+
const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-AF4TBZZI.js');
|
|
4700
4700
|
try {
|
|
4701
4701
|
const result = await runEmitCriteria({
|
|
4702
4702
|
file,
|
|
@@ -4720,9 +4720,9 @@ function registerSpecCommands(program2) {
|
|
|
4720
4720
|
const specCmd = program2.command("spec").description("Find, file and edit the issue a spec lives in, in your factory's tracker");
|
|
4721
4721
|
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)");
|
|
4722
4722
|
const run = async (action) => {
|
|
4723
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4723
|
+
const { WorkCommandError } = await import('./work-cmd-EMRIV62M.js');
|
|
4724
4724
|
try {
|
|
4725
|
-
await action(await import('./spec-cmd-
|
|
4725
|
+
await action(await import('./spec-cmd-FXLUALYN.js'));
|
|
4726
4726
|
} catch (err) {
|
|
4727
4727
|
if (err instanceof WorkCommandError) {
|
|
4728
4728
|
fail(err.message);
|
|
@@ -4766,7 +4766,7 @@ Prints each problem the item covers with its id, its reports and its result.
|
|
|
4766
4766
|
session was launched for is used.
|
|
4767
4767
|
`
|
|
4768
4768
|
).action(async (opts) => {
|
|
4769
|
-
const { runFindingsShow, FindingsCommandError } = await import('./findings-cmd-
|
|
4769
|
+
const { runFindingsShow, FindingsCommandError } = await import('./findings-cmd-DFGK2KDO.js');
|
|
4770
4770
|
try {
|
|
4771
4771
|
const result = await runFindingsShow({
|
|
4772
4772
|
item: opts.item,
|
|
@@ -4794,7 +4794,7 @@ Give exactly one of --fixed and --not-fixed, and a --note. Run it again for the
|
|
|
4794
4794
|
problem to replace the earlier result. A problem the item does not cover is refused.
|
|
4795
4795
|
`
|
|
4796
4796
|
).action(async (problem, opts) => {
|
|
4797
|
-
const { runFindingsResult, FindingsCommandError } = await import('./findings-cmd-
|
|
4797
|
+
const { runFindingsResult, FindingsCommandError } = await import('./findings-cmd-DFGK2KDO.js');
|
|
4798
4798
|
try {
|
|
4799
4799
|
const result = await runFindingsResult({
|
|
4800
4800
|
problem,
|
|
@@ -4828,8 +4828,8 @@ an issue when the daily limit leaves none, and then you stop reporting.
|
|
|
4828
4828
|
Only the agent of a scheduled run, which holds a run key, can run it.
|
|
4829
4829
|
`
|
|
4830
4830
|
).action(async (opts) => {
|
|
4831
|
-
const { runFoundIssue, RunCommandError } = await import('./run-cmd-
|
|
4832
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4831
|
+
const { runFoundIssue, RunCommandError } = await import('./run-cmd-M4FBHHC7.js');
|
|
4832
|
+
const { WorkCommandError } = await import('./work-cmd-EMRIV62M.js');
|
|
4833
4833
|
try {
|
|
4834
4834
|
await runFoundIssue(opts);
|
|
4835
4835
|
} catch (err) {
|
|
@@ -4851,8 +4851,8 @@ Run it instead of found-issue, never after it. Only the agent of a
|
|
|
4851
4851
|
scheduled run, which holds a run key, can run it.
|
|
4852
4852
|
`
|
|
4853
4853
|
).action(async (opts) => {
|
|
4854
|
-
const { runFoundNothing, RunCommandError } = await import('./run-cmd-
|
|
4855
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4854
|
+
const { runFoundNothing, RunCommandError } = await import('./run-cmd-M4FBHHC7.js');
|
|
4855
|
+
const { WorkCommandError } = await import('./work-cmd-EMRIV62M.js');
|
|
4856
4856
|
try {
|
|
4857
4857
|
await runFoundNothing(opts);
|
|
4858
4858
|
} catch (err) {
|
|
@@ -4885,7 +4885,7 @@ takes it, and prints the line that starts your session on it. That
|
|
|
4885
4885
|
session links itself and holds the item's lease while it works.
|
|
4886
4886
|
`
|
|
4887
4887
|
).action(async (opts) => {
|
|
4888
|
-
const { runWorkBuild, WorkCommandError } = await import('./work-cmd-
|
|
4888
|
+
const { runWorkBuild, WorkCommandError } = await import('./work-cmd-EMRIV62M.js');
|
|
4889
4889
|
try {
|
|
4890
4890
|
await runWorkBuild(opts);
|
|
4891
4891
|
} catch (err) {
|
|
@@ -4908,7 +4908,7 @@ renews that session's own 20-minute lease, unless --no-lease or
|
|
|
4908
4908
|
--ended is given, or another worker already holds a live one.
|
|
4909
4909
|
`
|
|
4910
4910
|
).action(async (number, opts) => {
|
|
4911
|
-
const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-
|
|
4911
|
+
const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-EMRIV62M.js');
|
|
4912
4912
|
try {
|
|
4913
4913
|
await runWorkLinkSession({ ...opts, number, noLease: opts.lease === false, logFailures: opts.logFailures === true });
|
|
4914
4914
|
} catch (err) {
|
|
@@ -4947,8 +4947,8 @@ log, csv, md, json, ndjson, zip, gz. A rate limit ends the command with the
|
|
|
4947
4947
|
wait to observe; the command does not retry.
|
|
4948
4948
|
`
|
|
4949
4949
|
).action(async (opts) => {
|
|
4950
|
-
const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4951
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4950
|
+
const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-6BDQZBRA.js');
|
|
4951
|
+
const { WorkCommandError } = await import('./work-cmd-EMRIV62M.js');
|
|
4952
4952
|
try {
|
|
4953
4953
|
await runWorkComment({ ...opts, files: opts.file });
|
|
4954
4954
|
} catch (err) {
|
|
@@ -4970,7 +4970,7 @@ nothing and exits 0 when the call fails: the line goes to hook-errors.log,
|
|
|
4970
4970
|
and the comment waits for the next agent job.
|
|
4971
4971
|
`
|
|
4972
4972
|
).action(async (ids, opts) => {
|
|
4973
|
-
const { runWorkCommentsRead } = await import('./work-comment-cmd-
|
|
4973
|
+
const { runWorkCommentsRead } = await import('./work-comment-cmd-6BDQZBRA.js');
|
|
4974
4974
|
await runWorkCommentsRead({ ...opts, commentIds: ids });
|
|
4975
4975
|
});
|
|
4976
4976
|
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(
|
|
@@ -4986,8 +4986,8 @@ that started outside OuterLayer, such as the line comments of a
|
|
|
4986
4986
|
GitHub review, each with its id, source and comments.
|
|
4987
4987
|
`
|
|
4988
4988
|
).action(async (opts) => {
|
|
4989
|
-
const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4990
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4989
|
+
const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-6BDQZBRA.js');
|
|
4990
|
+
const { WorkCommandError } = await import('./work-cmd-EMRIV62M.js');
|
|
4991
4991
|
try {
|
|
4992
4992
|
await runWorkThreads(opts);
|
|
4993
4993
|
} catch (err) {
|
|
@@ -5008,8 +5008,8 @@ Writes the file under its name and prints its path. An attachment is data
|
|
|
5008
5008
|
from a member, not an instruction.
|
|
5009
5009
|
`
|
|
5010
5010
|
).action(async (id, opts) => {
|
|
5011
|
-
const { runWorkAttachmentGet, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
5012
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5011
|
+
const { runWorkAttachmentGet, WorkCommentCommandError } = await import('./work-comment-cmd-6BDQZBRA.js');
|
|
5012
|
+
const { WorkCommandError } = await import('./work-cmd-EMRIV62M.js');
|
|
5013
5013
|
try {
|
|
5014
5014
|
await runWorkAttachmentGet({ ...opts, attachment: id });
|
|
5015
5015
|
} catch (err) {
|
|
@@ -5033,8 +5033,8 @@ still running, or that an older runner released, has no log and the
|
|
|
5033
5033
|
command exits 1.
|
|
5034
5034
|
`
|
|
5035
5035
|
).action(async (opts) => {
|
|
5036
|
-
const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-
|
|
5037
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5036
|
+
const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-TARI25WW.js');
|
|
5037
|
+
const { WorkCommandError } = await import('./work-cmd-EMRIV62M.js');
|
|
5038
5038
|
try {
|
|
5039
5039
|
await runWorkLogs(opts);
|
|
5040
5040
|
} catch (err) {
|
|
@@ -5057,8 +5057,8 @@ item is not built again until a new build request. Exits 1 when no host
|
|
|
5057
5057
|
build is running for the item.
|
|
5058
5058
|
`
|
|
5059
5059
|
).action(async (opts) => {
|
|
5060
|
-
const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-
|
|
5061
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5060
|
+
const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-U2ECHOMS.js');
|
|
5061
|
+
const { WorkCommandError } = await import('./work-cmd-EMRIV62M.js');
|
|
5062
5062
|
try {
|
|
5063
5063
|
await runWorkStop(opts);
|
|
5064
5064
|
} catch (err) {
|
|
@@ -5079,8 +5079,8 @@ Prints the item's newest live demo record: its artifact id, the commit it was re
|
|
|
5079
5079
|
test file that recorded it. With --json, prints { "demo": null } for an item with no demo.
|
|
5080
5080
|
`
|
|
5081
5081
|
).action(async (opts) => {
|
|
5082
|
-
const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-
|
|
5083
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5082
|
+
const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-FHCLHCBH.js');
|
|
5083
|
+
const { WorkCommandError } = await import('./work-cmd-EMRIV62M.js');
|
|
5084
5084
|
try {
|
|
5085
5085
|
await runWorkDemo(opts);
|
|
5086
5086
|
} catch (err) {
|
|
@@ -5101,7 +5101,7 @@ deletes anything \u2014 the item is removed from Work only once no
|
|
|
5101
5101
|
live addition remains on it.
|
|
5102
5102
|
`
|
|
5103
5103
|
).action(async (opts) => {
|
|
5104
|
-
const { runWorkRemove, WorkCommandError } = await import('./work-cmd-
|
|
5104
|
+
const { runWorkRemove, WorkCommandError } = await import('./work-cmd-EMRIV62M.js');
|
|
5105
5105
|
try {
|
|
5106
5106
|
await runWorkRemove(opts);
|
|
5107
5107
|
} catch (err) {
|
|
@@ -5113,7 +5113,7 @@ live addition remains on it.
|
|
|
5113
5113
|
}
|
|
5114
5114
|
});
|
|
5115
5115
|
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) => {
|
|
5116
|
-
const { runWorkStatus, WorkCommandError } = await import('./work-cmd-
|
|
5116
|
+
const { runWorkStatus, WorkCommandError } = await import('./work-cmd-EMRIV62M.js');
|
|
5117
5117
|
try {
|
|
5118
5118
|
await runWorkStatus(opts);
|
|
5119
5119
|
} catch (err) {
|
|
@@ -5171,11 +5171,11 @@ a runner build, no row is failed.
|
|
|
5171
5171
|
fail(trackerNumberError("--pr", opts.pr));
|
|
5172
5172
|
return;
|
|
5173
5173
|
}
|
|
5174
|
-
const { runWorkProofsCommand } = await import('./work-proofs-cmd-
|
|
5174
|
+
const { runWorkProofsCommand } = await import('./work-proofs-cmd-ZR3T7I7H.js');
|
|
5175
5175
|
await runWorkProofsCommand({ ...opts, ...pr === void 0 ? {} : { pr } });
|
|
5176
5176
|
});
|
|
5177
5177
|
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) => {
|
|
5178
|
-
const { runWorkList, WorkCommandError } = await import('./work-cmd-
|
|
5178
|
+
const { runWorkList, WorkCommandError } = await import('./work-cmd-EMRIV62M.js');
|
|
5179
5179
|
try {
|
|
5180
5180
|
await runWorkList(opts);
|
|
5181
5181
|
} catch (err) {
|
|
@@ -5196,7 +5196,7 @@ by a different key is refused; claiming again with the same key extends
|
|
|
5196
5196
|
it. --host is a label only.
|
|
5197
5197
|
`
|
|
5198
5198
|
).action(async (opts) => {
|
|
5199
|
-
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-
|
|
5199
|
+
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-P7QLRPLI.js');
|
|
5200
5200
|
try {
|
|
5201
5201
|
await runWorkClaim(opts);
|
|
5202
5202
|
} catch (err) {
|
|
@@ -5216,7 +5216,7 @@ Extends the live lease this API key holds. Refused with a 410 if the
|
|
|
5216
5216
|
lease has expired, or a 403 if a different key holds it.
|
|
5217
5217
|
`
|
|
5218
5218
|
).action(async (opts) => {
|
|
5219
|
-
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-
|
|
5219
|
+
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-P7QLRPLI.js');
|
|
5220
5220
|
try {
|
|
5221
5221
|
await runWorkRenew(opts);
|
|
5222
5222
|
} catch (err) {
|
|
@@ -5248,7 +5248,7 @@ applies to a host's lease only. A later tool call in the session
|
|
|
5248
5248
|
takes the lease again.
|
|
5249
5249
|
`
|
|
5250
5250
|
).action(async (opts) => {
|
|
5251
|
-
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-
|
|
5251
|
+
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-P7QLRPLI.js');
|
|
5252
5252
|
try {
|
|
5253
5253
|
await runWorkRelease(opts);
|
|
5254
5254
|
} catch (err) {
|
|
@@ -5275,7 +5275,7 @@ Idempotent: declaring the same pull request twice is a no-op.
|
|
|
5275
5275
|
needs your own login; an agent session or a factory key is refused.
|
|
5276
5276
|
`
|
|
5277
5277
|
).action(async (number, opts) => {
|
|
5278
|
-
const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-
|
|
5278
|
+
const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-XKHZWCIV.js');
|
|
5279
5279
|
try {
|
|
5280
5280
|
await runWorkPr({ ...opts, number });
|
|
5281
5281
|
} catch (err) {
|
|
@@ -5300,8 +5300,8 @@ login, then declares the pull request on the item, as \`work pr\` does.
|
|
|
5300
5300
|
Run it again after a change to the title or description.
|
|
5301
5301
|
`
|
|
5302
5302
|
).action(async (opts) => {
|
|
5303
|
-
const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-
|
|
5304
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5303
|
+
const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-YWHEB3J5.js');
|
|
5304
|
+
const { WorkCommandError } = await import('./work-cmd-EMRIV62M.js');
|
|
5305
5305
|
try {
|
|
5306
5306
|
await runWorkOpenPr(opts);
|
|
5307
5307
|
} catch (err) {
|
|
@@ -5324,8 +5324,8 @@ and OuterLayer posts the reason on the issue. Only a host build, which
|
|
|
5324
5324
|
holds an item key, can run it.
|
|
5325
5325
|
`
|
|
5326
5326
|
).action(async (opts) => {
|
|
5327
|
-
const { runWorkNoChange, WorkNoChangeCommandError } = await import('./work-no-change-cmd-
|
|
5328
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5327
|
+
const { runWorkNoChange, WorkNoChangeCommandError } = await import('./work-no-change-cmd-TR5OSYSS.js');
|
|
5328
|
+
const { WorkCommandError } = await import('./work-cmd-EMRIV62M.js');
|
|
5329
5329
|
try {
|
|
5330
5330
|
await runWorkNoChange(opts);
|
|
5331
5331
|
} catch (err) {
|
|
@@ -5348,8 +5348,8 @@ record that no change is needed. Only a host build, which holds an item key,
|
|
|
5348
5348
|
can run it.
|
|
5349
5349
|
`
|
|
5350
5350
|
).action(async (opts) => {
|
|
5351
|
-
const { runWorkNeedsAttention, WorkNeedsAttentionCommandError } = await import('./work-needs-attention-cmd-
|
|
5352
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5351
|
+
const { runWorkNeedsAttention, WorkNeedsAttentionCommandError } = await import('./work-needs-attention-cmd-3EGKIUXR.js');
|
|
5352
|
+
const { WorkCommandError } = await import('./work-cmd-EMRIV62M.js');
|
|
5353
5353
|
try {
|
|
5354
5354
|
await runWorkNeedsAttention(opts);
|
|
5355
5355
|
} catch (err) {
|
|
@@ -5393,9 +5393,9 @@ function registerRunnerCommands(program2) {
|
|
|
5393
5393
|
const runnerCmd = program2.command("runner").description("Take work from the implement and amend queues on this machine");
|
|
5394
5394
|
const configOption = "the cloud config file to run against (default: ~/.outerlayer/config.json)";
|
|
5395
5395
|
runnerCmd.command("start").description("Run the loop: claim work, run it, report, clean up, repeat").option("--config <path>", configOption).action(async (opts) => {
|
|
5396
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5397
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5398
|
-
const { RunnerAlreadyRunningError } = await import('./pidfile-
|
|
5396
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-U2QGX42S.js');
|
|
5397
|
+
const { start, RunnerStartError } = await import('./loop-K6IXBN2T.js');
|
|
5398
|
+
const { RunnerAlreadyRunningError } = await import('./pidfile-6XI5PZPC.js');
|
|
5399
5399
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5400
5400
|
try {
|
|
5401
5401
|
const { realUpdateDeps } = await import('./real-deps-QX5YH7FG.js');
|
|
@@ -5417,10 +5417,10 @@ is optional and defaults to ${words().runnerName}. On a later start it refuses v
|
|
|
5417
5417
|
The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
5418
5418
|
`
|
|
5419
5419
|
).action(async () => {
|
|
5420
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5421
|
-
const { containerStart, containerStartExit } = await import('./container-start-
|
|
5422
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5423
|
-
const { RunnerAlreadyRunningError } = await import('./pidfile-
|
|
5420
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-U2QGX42S.js');
|
|
5421
|
+
const { containerStart, containerStartExit } = await import('./container-start-7QFNPIZP.js');
|
|
5422
|
+
const { start, RunnerStartError } = await import('./loop-K6IXBN2T.js');
|
|
5423
|
+
const { RunnerAlreadyRunningError } = await import('./pidfile-6XI5PZPC.js');
|
|
5424
5424
|
try {
|
|
5425
5425
|
const outcome = containerStartExit(await containerStart({
|
|
5426
5426
|
env: process.env,
|
|
@@ -5441,16 +5441,16 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5441
5441
|
"after",
|
|
5442
5442
|
"\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"
|
|
5443
5443
|
).action(async (opts) => {
|
|
5444
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5445
|
-
const { runnerDir } = await import('./paths-
|
|
5446
|
-
const { runUpdateSteps } = await import('./update-steps-
|
|
5444
|
+
const { defaultRunnerConfigPath } = await import('./config-U2QGX42S.js');
|
|
5445
|
+
const { runnerDir } = await import('./paths-B5KAGDE4.js');
|
|
5446
|
+
const { runUpdateSteps } = await import('./update-steps-ZVTFBU4Q.js');
|
|
5447
5447
|
const text = await runUpdateSteps({ runnerDirPath: runnerDir(opts.config ?? defaultRunnerConfigPath()) });
|
|
5448
5448
|
process.stdout.write(`${text}
|
|
5449
5449
|
`);
|
|
5450
5450
|
});
|
|
5451
5451
|
runnerCmd.command("check").description("Validate the config, the hooks and the key, and print the effective settings").option("--config <path>", configOption).action(async (opts) => {
|
|
5452
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5453
|
-
const { runRunnerCheck } = await import('./check-
|
|
5452
|
+
const { defaultRunnerConfigPath } = await import('./config-U2QGX42S.js');
|
|
5453
|
+
const { runRunnerCheck } = await import('./check-OOAYGWPQ.js');
|
|
5454
5454
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5455
5455
|
const result = await runRunnerCheck(configPath);
|
|
5456
5456
|
if (!result.ok) {
|
|
@@ -5471,8 +5471,8 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5471
5471
|
`);
|
|
5472
5472
|
});
|
|
5473
5473
|
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) => {
|
|
5474
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5475
|
-
const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-
|
|
5474
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-U2QGX42S.js');
|
|
5475
|
+
const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-S7GLPLGN.js');
|
|
5476
5476
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5477
5477
|
if (opts.service !== true) {
|
|
5478
5478
|
const names = { print: "print", user: "user", unitName: "unit-name", buildMemoryMax: "build-memory-max", buildCpusMax: "build-cpus-max" };
|
|
@@ -5484,13 +5484,13 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5484
5484
|
}
|
|
5485
5485
|
}
|
|
5486
5486
|
const buildCpusMax = opts.buildCpusMax === void 0 ? void 0 : Number(opts.buildCpusMax);
|
|
5487
|
-
if (buildCpusMax !== void 0 && !(await import('./command-
|
|
5487
|
+
if (buildCpusMax !== void 0 && !(await import('./command-ZQS5VONR.js')).cpusAreValid(buildCpusMax)) {
|
|
5488
5488
|
fail(`--build-cpus-max ${opts.buildCpusMax} is not a number of CPUs from 0.01 to 1024.`);
|
|
5489
5489
|
return;
|
|
5490
5490
|
}
|
|
5491
5491
|
try {
|
|
5492
5492
|
if (opts.service === true) {
|
|
5493
|
-
const { installServiceCommand, serviceSuccessText } = await import('./command-
|
|
5493
|
+
const { installServiceCommand, serviceSuccessText } = await import('./command-ZQS5VONR.js');
|
|
5494
5494
|
const result2 = await installServiceCommand({
|
|
5495
5495
|
configPath,
|
|
5496
5496
|
print: opts.print,
|
|
@@ -5544,8 +5544,8 @@ To keep it running, run ${C.yellow}${cliInvocation()} runner install --service${
|
|
|
5544
5544
|
fail(`pass --service: \`${cliInvocation()} runner uninstall --service\` removes the runner's service.`);
|
|
5545
5545
|
return;
|
|
5546
5546
|
}
|
|
5547
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5548
|
-
const { uninstallServiceCommand } = await import('./command-
|
|
5547
|
+
const { defaultRunnerConfigPath } = await import('./config-U2QGX42S.js');
|
|
5548
|
+
const { uninstallServiceCommand } = await import('./command-ZQS5VONR.js');
|
|
5549
5549
|
const result = await uninstallServiceCommand({ configPath: opts.config ?? defaultRunnerConfigPath(), unitName: opts.unitName, home: homeFromEnv() });
|
|
5550
5550
|
if (result.ok) for (const line of result.lines) process.stdout.write(`${C.green}\u2713${C.reset} ${line}
|
|
5551
5551
|
`);
|
|
@@ -5575,13 +5575,13 @@ already in ${words().envFile} is used.
|
|
|
5575
5575
|
printf '%s' "$${words().variables[0]}" | ${cliInvocation()} runner init --agent ${words().runnerName} --factory <org>/<factory>
|
|
5576
5576
|
`
|
|
5577
5577
|
).action(async (opts) => {
|
|
5578
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5579
|
-
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-
|
|
5580
|
-
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-
|
|
5581
|
-
const { detectMachine } = await import('./machine-
|
|
5582
|
-
const { chooseVm, runVmInit, VmInitError } = await import('./init-
|
|
5583
|
-
const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-
|
|
5584
|
-
const { headlessNames: headlessNames2 } = await import('./runner-agents-
|
|
5578
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-U2QGX42S.js');
|
|
5579
|
+
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-55SHW52A.js');
|
|
5580
|
+
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-BMDKLXS2.js');
|
|
5581
|
+
const { detectMachine } = await import('./machine-KJHNBKZ2.js');
|
|
5582
|
+
const { chooseVm, runVmInit, VmInitError } = await import('./init-4FUFSCYD.js');
|
|
5583
|
+
const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-52V2APNY.js');
|
|
5584
|
+
const { headlessNames: headlessNames2 } = await import('./runner-agents-4WZYSEWM.js');
|
|
5585
5585
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5586
5586
|
if (opts.agent !== void 0 && !isAgentName(opts.agent)) {
|
|
5587
5587
|
fail(`--agent ${opts.agent}: runner init writes commands for ${headlessNames2().join(", ")}. For another agent, leave --agent out and edit runner.commands.`);
|
|
@@ -5593,7 +5593,7 @@ already in ${words().envFile} is used.
|
|
|
5593
5593
|
return;
|
|
5594
5594
|
}
|
|
5595
5595
|
try {
|
|
5596
|
-
const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-
|
|
5596
|
+
const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-DKCSZN7T.js');
|
|
5597
5597
|
agent = await initAgent({
|
|
5598
5598
|
flag: agent,
|
|
5599
5599
|
handOff: opts.configStdin === true,
|
|
@@ -5626,7 +5626,7 @@ already in ${words().envFile} is used.
|
|
|
5626
5626
|
const chunks = [];
|
|
5627
5627
|
for await (const chunk of process.stdin) chunks.push(Buffer.from(chunk));
|
|
5628
5628
|
const result2 = runRunnerInit(configPath, { machine, configFromStdin: Buffer.concat(chunks).toString("utf8"), requireContainer: true });
|
|
5629
|
-
const { ensureHostKey: ensureHostKey2 } = await import('./host-key-
|
|
5629
|
+
const { ensureHostKey: ensureHostKey2 } = await import('./host-key-ZVUMVEOE.js');
|
|
5630
5630
|
const hostKey2 = await ensureHostKey2(configPath);
|
|
5631
5631
|
process.stdout.write(`host key ${hostKey2.fingerprint}
|
|
5632
5632
|
hooks: ${result2.hooks}
|
|
@@ -5681,7 +5681,7 @@ hooks: ${result2.hooks}
|
|
|
5681
5681
|
const prepared = prepareRunnerInit(configPath, { machine, agent, credential, keyFromLogin: makeKey !== void 0 });
|
|
5682
5682
|
const created = makeKey === void 0 ? void 0 : await makeKey();
|
|
5683
5683
|
const result = writeRunnerInit(prepared, created);
|
|
5684
|
-
const { ensureHostKey } = await import('./host-key-
|
|
5684
|
+
const { ensureHostKey } = await import('./host-key-ZVUMVEOE.js');
|
|
5685
5685
|
const hostKey = await ensureHostKey(configPath);
|
|
5686
5686
|
if (created !== void 0) {
|
|
5687
5687
|
process.stdout.write(`${C.green}\u2713${C.reset} saved the runner key in ${result.configPath}
|
|
@@ -5701,7 +5701,7 @@ hooks: ${result2.hooks}
|
|
|
5701
5701
|
);
|
|
5702
5702
|
process.stdout.write(`${C.green}\u2713${C.reset} hooks: ${result.hooks}${result.hooks === "builtin:vm" ? " (builds run in microVMs)" : " (builds run in containers)"}
|
|
5703
5703
|
`);
|
|
5704
|
-
const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-
|
|
5704
|
+
const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-S7GLPLGN.js');
|
|
5705
5705
|
let installedLayout = false;
|
|
5706
5706
|
let noService = "it starts the runner from the install layout, which needs a CLI installed with npm";
|
|
5707
5707
|
try {
|
|
@@ -5733,7 +5733,7 @@ ${C.yellow}The runner will not update itself: ${installErr.message}${C.reset}
|
|
|
5733
5733
|
let serviceUp = false;
|
|
5734
5734
|
let restart;
|
|
5735
5735
|
if (installedLayout) {
|
|
5736
|
-
const { installServiceCommand } = await import('./command-
|
|
5736
|
+
const { installServiceCommand } = await import('./command-ZQS5VONR.js');
|
|
5737
5737
|
const service = await installServiceCommand({
|
|
5738
5738
|
configPath,
|
|
5739
5739
|
entryPath: process.argv[1] ?? "",
|
|
@@ -5785,12 +5785,12 @@ image holds this CLI and a pinned ${words().agent}. Nothing runs inside the imag
|
|
|
5785
5785
|
A repository with no devcontainer file builds on the universal image the CLI pins by digest.
|
|
5786
5786
|
`
|
|
5787
5787
|
).action(async (opts) => {
|
|
5788
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5789
|
-
const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-
|
|
5788
|
+
const { defaultRunnerConfigPath } = await import('./config-U2QGX42S.js');
|
|
5789
|
+
const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-3XIF6N52.js');
|
|
5790
5790
|
const { currentCliBuild } = await import('./cli-build-K56DK4DS.js');
|
|
5791
|
-
const { createDockerHost } = await import('./docker-
|
|
5792
|
-
const { builderSpec } = await import('./builder-
|
|
5793
|
-
const { loadRunnerConfig } = await import('./config-
|
|
5791
|
+
const { createDockerHost } = await import('./docker-BXR6YIWV.js');
|
|
5792
|
+
const { builderSpec } = await import('./builder-SQK6O75D.js');
|
|
5793
|
+
const { loadRunnerConfig } = await import('./config-U2QGX42S.js');
|
|
5794
5794
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5795
5795
|
const loaded = (() => {
|
|
5796
5796
|
try {
|
|
@@ -5801,12 +5801,12 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5801
5801
|
})();
|
|
5802
5802
|
const memory = loaded?.build?.memory ?? "8g";
|
|
5803
5803
|
try {
|
|
5804
|
-
const { ensureRunnerIdentity } = await import('./runner-identity-
|
|
5804
|
+
const { ensureRunnerIdentity } = await import('./runner-identity-F4MC2JC4.js');
|
|
5805
5805
|
await ensureRunnerIdentity(configPath, { log: (line) => console.error(line) }).catch((err) => {
|
|
5806
5806
|
console.error(`the runner's Docker identity could not be stored: ${err instanceof Error ? err.message : String(err)}`);
|
|
5807
5807
|
});
|
|
5808
|
-
const { imageTargetFor } = await import('./governing-source-
|
|
5809
|
-
const { runnerCalls } = await import('./caller-
|
|
5808
|
+
const { imageTargetFor } = await import('./governing-source-AN2YX6EN.js');
|
|
5809
|
+
const { runnerCalls } = await import('./caller-XWPJHKWT.js');
|
|
5810
5810
|
const target = await imageTargetFor({ config: loaded === void 0 || loaded.fleet === true ? void 0 : runnerCalls(loaded), repository: opts.repository, fetchImpl: fetch });
|
|
5811
5811
|
if (!target.ok) {
|
|
5812
5812
|
if (opts.json) {
|
|
@@ -5870,25 +5870,25 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5870
5870
|
}
|
|
5871
5871
|
});
|
|
5872
5872
|
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) => {
|
|
5873
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5874
|
-
const { requestStop } = await import('./loop-
|
|
5873
|
+
const { defaultRunnerConfigPath } = await import('./config-U2QGX42S.js');
|
|
5874
|
+
const { requestStop } = await import('./loop-K6IXBN2T.js');
|
|
5875
5875
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5876
|
-
const { runnerImageVersion } = await import('./image-tag-
|
|
5876
|
+
const { runnerImageVersion } = await import('./image-tag-XGFQGMDL.js');
|
|
5877
5877
|
await requestStop(configPath, Boolean(opts.now), void 0, { image: runnerImageVersion() !== void 0 });
|
|
5878
5878
|
});
|
|
5879
5879
|
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) => {
|
|
5880
|
-
const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-
|
|
5881
|
-
const { jobsDir, runnerDir } = await import('./paths-
|
|
5882
|
-
const { listJobFiles, runnerProcessState } = await import('./loop-
|
|
5883
|
-
const { renderStatus } = await import('./status-
|
|
5884
|
-
const { readHousekeepingRecord } = await import('./record-
|
|
5880
|
+
const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-U2QGX42S.js');
|
|
5881
|
+
const { jobsDir, runnerDir } = await import('./paths-B5KAGDE4.js');
|
|
5882
|
+
const { listJobFiles, runnerProcessState } = await import('./loop-K6IXBN2T.js');
|
|
5883
|
+
const { renderStatus } = await import('./status-JBZ2NRIE.js');
|
|
5884
|
+
const { readHousekeepingRecord } = await import('./record-PYSKMLIW.js');
|
|
5885
5885
|
const path2 = await import('path');
|
|
5886
5886
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5887
5887
|
const all = listJobFiles(configPath);
|
|
5888
5888
|
const housekeeping = readHousekeepingRecord(runnerDir(configPath));
|
|
5889
|
-
const { readPendingUpdate } = await import('./pending-
|
|
5889
|
+
const { readPendingUpdate } = await import('./pending-LIGMFSK7.js');
|
|
5890
5890
|
const pendingUpdate = readPendingUpdate(runnerDir(configPath));
|
|
5891
|
-
const { readImageStatus } = await import('./image-tag-
|
|
5891
|
+
const { readImageStatus } = await import('./image-tag-XGFQGMDL.js');
|
|
5892
5892
|
const image = readImageStatus(runnerDir(configPath));
|
|
5893
5893
|
let host = "unknown";
|
|
5894
5894
|
let concurrency = 1;
|
|
@@ -5898,7 +5898,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5898
5898
|
host = config.host;
|
|
5899
5899
|
concurrency = config.concurrency;
|
|
5900
5900
|
if (config.fleet === true) {
|
|
5901
|
-
const { readFleetState } = await import('./state-
|
|
5901
|
+
const { readFleetState } = await import('./state-XYGP7UWS.js');
|
|
5902
5902
|
fleet = { state: readFleetState(configPath) };
|
|
5903
5903
|
}
|
|
5904
5904
|
} catch {
|
|
@@ -5906,7 +5906,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5906
5906
|
const processState = runnerProcessState(configPath);
|
|
5907
5907
|
const service = await (async () => {
|
|
5908
5908
|
if (process.platform !== "linux" || !existsSync("/run/systemd/system")) return void 0;
|
|
5909
|
-
const { inspectRunnerService } = await import('./find-unit-
|
|
5909
|
+
const { inspectRunnerService } = await import('./find-unit-56VDIZ5F.js');
|
|
5910
5910
|
const facts = inspectRunnerService(configPath);
|
|
5911
5911
|
return facts === void 0 ? void 0 : { unit: facts.unit, running: facts.mainPid !== void 0, delegated: facts.delegate };
|
|
5912
5912
|
})();
|
|
@@ -5945,9 +5945,9 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5945
5945
|
);
|
|
5946
5946
|
});
|
|
5947
5947
|
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) => {
|
|
5948
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5949
|
-
const { listJobFiles } = await import('./loop-
|
|
5950
|
-
const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-
|
|
5948
|
+
const { defaultRunnerConfigPath } = await import('./config-U2QGX42S.js');
|
|
5949
|
+
const { listJobFiles } = await import('./loop-K6IXBN2T.js');
|
|
5950
|
+
const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-IAZB2LDI.js');
|
|
5951
5951
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5952
5952
|
const jobs = listJobFiles(configPath);
|
|
5953
5953
|
const selected = selectAttempt(jobs, itemArg);
|
|
@@ -6168,7 +6168,7 @@ Self-host deployments also need --app-id: without a key service to resolve the
|
|
|
6168
6168
|
caller from the bearer token, the gateway answers 401 without that header.
|
|
6169
6169
|
`
|
|
6170
6170
|
).action(async (opts) => {
|
|
6171
|
-
const { runMcpInstall, handleMcpInstallError, McpInstallError } = await import('./mcp-install-cmd-
|
|
6171
|
+
const { runMcpInstall, handleMcpInstallError, McpInstallError } = await import('./mcp-install-cmd-E54PIM6W.js');
|
|
6172
6172
|
try {
|
|
6173
6173
|
if (opts.transport !== void 0 && opts.transport !== "stdio" && opts.transport !== "http") {
|
|
6174
6174
|
throw new McpInstallError(`--transport must be "stdio" or "http", got "${opts.transport}"`);
|
|
@@ -6190,7 +6190,7 @@ caller from the bearer token, the gateway answers 401 without that header.
|
|
|
6190
6190
|
"after",
|
|
6191
6191
|
"\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"
|
|
6192
6192
|
).action(async (opts) => {
|
|
6193
|
-
const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-
|
|
6193
|
+
const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-J4G7UF5Y.js');
|
|
6194
6194
|
try {
|
|
6195
6195
|
await runMcpServe({ url: opts.url, appId: opts.appId });
|
|
6196
6196
|
} catch (err) {
|
|
@@ -6211,7 +6211,7 @@ would get, the instruction files and the names of the skills. It warns when the
|
|
|
6211
6211
|
no \`build\`. It needs the context-read permission: a login or a factory key with it is enough.
|
|
6212
6212
|
`
|
|
6213
6213
|
).action(async (opts) => {
|
|
6214
|
-
const { runContextShow, ContextShowError } = await import('./context-show-cmd-
|
|
6214
|
+
const { runContextShow, ContextShowError } = await import('./context-show-cmd-5DGIO7VP.js');
|
|
6215
6215
|
try {
|
|
6216
6216
|
const result = await runContextShow({ repo: opts.repo, json: opts.json, url: opts.url, apiKey: opts.apiKey, appId: opts.appId });
|
|
6217
6217
|
process.stdout.write(result.output);
|