@outerlayer/cli 0.34.0-next.20261028183303 → 0.34.0-next.20261029100612
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 +7 -0
- package/dist/agent-setup-UPIHHKI2.js +32 -0
- package/dist/{artifact-link-cmd-CSVFEM5O.js → artifact-link-cmd-6LFCTDBD.js} +5 -5
- package/dist/{bridge-4GRZFXJU.js → bridge-XM4QLKIX.js} +2 -2
- package/dist/{build-SEJJWGTO.js → build-UBZNVGY2.js} +10 -10
- package/dist/{build-disk-EYRR3PBT.js → build-disk-Y3MMWFYE.js} +7 -7
- package/dist/build-info.json +1 -1
- package/dist/{builder-T7B46P7T.js → builder-SX4W5VF3.js} +6 -6
- package/dist/caller-IIA2TPAA.js +18 -0
- package/dist/{check-VKSOYRNI.js → check-PVB3GPFQ.js} +88 -70
- package/dist/{chunk-ANPNT6PM.js → chunk-2AM6Z5BP.js} +1 -1
- package/dist/{chunk-3UIXIGYT.js → chunk-2B6EKUBD.js} +4 -4
- package/dist/{chunk-QGDGGLSD.js → chunk-2F43WNKI.js} +3 -3
- package/dist/{chunk-UZEIBWTP.js → chunk-2OE4BZRF.js} +8 -8
- package/dist/{chunk-VNVZDWO3.js → chunk-352DHUTP.js} +4 -1
- package/dist/{chunk-W7E6IMEW.js → chunk-3EEJGQEJ.js} +22 -21
- package/dist/{chunk-5W2YSWIW.js → chunk-4PH4DVV4.js} +1 -1
- package/dist/{chunk-WH3FPBPO.js → chunk-4PWOZU7R.js} +82 -33
- package/dist/{chunk-ZJSNLVCE.js → chunk-545P7JY7.js} +1 -1
- package/dist/{chunk-RRXS4CWE.js → chunk-5C7QZBLI.js} +9 -7
- package/dist/{chunk-2EEW6FJN.js → chunk-5FWBAM6O.js} +1 -1
- package/dist/{chunk-T2Q7ISPE.js → chunk-5WYT3PPE.js} +1 -1
- package/dist/{chunk-ARL6X6Y4.js → chunk-62TMOXQN.js} +2 -2
- package/dist/{chunk-EA2PQRCU.js → chunk-7CIU64OH.js} +6 -6
- package/dist/{chunk-AF4E4I4T.js → chunk-7G35LX5D.js} +11 -11
- package/dist/{chunk-KH4774QT.js → chunk-7R655ODT.js} +1 -1
- package/dist/{chunk-G2JWZDFA.js → chunk-A2LHHKTT.js} +3 -3
- package/dist/{chunk-ESVW4MJY.js → chunk-AAGU5FJF.js} +1 -1
- package/dist/{chunk-QGEGLZSY.js → chunk-ADI2CCDX.js} +47 -7
- package/dist/{chunk-I2MFIT6X.js → chunk-AGMR4IQE.js} +29 -28
- package/dist/{chunk-SAAVZ2BX.js → chunk-AUVJMR3P.js} +1 -1
- package/dist/{chunk-HFOZTCTN.js → chunk-AVHPSB65.js} +7 -7
- package/dist/{chunk-KQDK4Q6A.js → chunk-CDVG2LXT.js} +10 -10
- package/dist/{chunk-TUSYOL2O.js → chunk-CJPTUU2E.js} +1 -1
- package/dist/{chunk-OYQVLQP3.js → chunk-EQ5Y2OMK.js} +16 -14
- package/dist/{chunk-MH6QLXUO.js → chunk-FJ7KTNMD.js} +1 -1
- package/dist/{chunk-KPEMNHVF.js → chunk-FNKCMOQY.js} +3 -3
- package/dist/{chunk-2O5KA67H.js → chunk-FUJUFLDC.js} +2 -2
- package/dist/{chunk-CRB3POP4.js → chunk-FZKNTIOJ.js} +1 -1
- package/dist/{chunk-YLPJOUVF.js → chunk-GANAOCHR.js} +6 -1
- package/dist/{chunk-3KGXXTMN.js → chunk-GBMTKV5B.js} +5 -5
- package/dist/{chunk-POND2SMT.js → chunk-H2GESWLW.js} +3 -3
- package/dist/{chunk-DCBFUUDL.js → chunk-HERRKKES.js} +7 -7
- package/dist/{chunk-V2S2WRGD.js → chunk-HS5QEIJT.js} +11 -11
- package/dist/{chunk-PJDQPF5N.js → chunk-HWVMRETT.js} +1 -1
- package/dist/{chunk-H7MGR2GN.js → chunk-IUPYSGCP.js} +6 -6
- package/dist/{chunk-7JSWRF5O.js → chunk-JFALOM5G.js} +10 -10
- package/dist/{chunk-XDAMLX2L.js → chunk-JQOET7TF.js} +9 -9
- package/dist/{chunk-RQ3GCCHH.js → chunk-JXXMOAJG.js} +2 -2
- package/dist/{chunk-URIZRCRY.js → chunk-KYDEBGJG.js} +1 -1
- package/dist/{chunk-GG5OE6MY.js → chunk-KZUHEN26.js} +2 -2
- package/dist/{chunk-2EHDLYSL.js → chunk-LFXLFDEA.js} +30 -22
- package/dist/chunk-LW2A24IA.js +31 -0
- package/dist/{chunk-BBJ6BM5U.js → chunk-MKSZHT6S.js} +1 -1
- package/dist/{chunk-VX7WZK7J.js → chunk-MOG4XCYS.js} +189 -121
- package/dist/{chunk-P2PNBDUT.js → chunk-NM3L4JBB.js} +4 -4
- package/dist/{chunk-TDCHUEKY.js → chunk-O7CGRDRQ.js} +5 -5
- package/dist/{chunk-KT4CN6OU.js → chunk-OHQMGLJP.js} +3 -3
- package/dist/{chunk-5BHIBJDA.js → chunk-OLM2TIOW.js} +1 -1
- package/dist/{chunk-VEVNGDTP.js → chunk-PDK35AR4.js} +2 -2
- package/dist/{chunk-RPST2GNG.js → chunk-PQ5YDDDE.js} +3 -3
- package/dist/{chunk-OKJXZXYH.js → chunk-PUSCE544.js} +6 -6
- package/dist/{chunk-ZEFNJCN3.js → chunk-QM3HMXMU.js} +2 -2
- package/dist/chunk-RW3YMQVQ.js +39 -0
- package/dist/{chunk-ZCZY3Q55.js → chunk-SHPCVBT3.js} +1 -1
- package/dist/{chunk-UXC3RQLF.js → chunk-SQGD4LYW.js} +1 -1
- package/dist/{chunk-LJEZGHCH.js → chunk-SYCZTZXD.js} +647 -211
- package/dist/{chunk-4YD7N6V3.js → chunk-TKTVKEES.js} +4 -4
- package/dist/{chunk-GH2HEEOH.js → chunk-TV2OQUWE.js} +1 -1
- package/dist/{chunk-MRLJK4GZ.js → chunk-UGPJIKN4.js} +6 -6
- package/dist/{chunk-HH3BQG65.js → chunk-UPRZREBO.js} +1 -1
- package/dist/{chunk-ROQPDCRU.js → chunk-UZGQT6OF.js} +1 -1
- package/dist/{chunk-NCOL5RYI.js → chunk-VNHBDHX7.js} +1 -1
- package/dist/{chunk-64O2NUVA.js → chunk-VO46IHB4.js} +8 -7
- package/dist/{chunk-MCPCOKHN.js → chunk-W74HQLLZ.js} +9 -9
- package/dist/{chunk-ZCA34T7R.js → chunk-WDDVPDLQ.js} +8 -8
- package/dist/{chunk-YF7W7B7Y.js → chunk-WDIZT56W.js} +38 -11
- package/dist/{chunk-CUAB7FAZ.js → chunk-WG3VIMD2.js} +8 -8
- package/dist/{chunk-IAVT7R6O.js → chunk-WJTIU2A5.js} +6 -6
- package/dist/{chunk-NXUZFHMX.js → chunk-WK4OTIAN.js} +3 -3
- package/dist/{chunk-T3XPLCJG.js → chunk-XBECMHJW.js} +1 -1
- package/dist/{chunk-54LIUIZL.js → chunk-XGSJNXH2.js} +4 -4
- package/dist/{chunk-5TXQFZHY.js → chunk-XU5BNWX7.js} +1 -1
- package/dist/{chunk-I7RZHMXW.js → chunk-YBAVN6WS.js} +3 -3
- package/dist/{chunk-ZTOJIRJH.js → chunk-YBP22LDO.js} +8 -8
- package/dist/{chunk-S6UM3N4R.js → chunk-YQHUCOUL.js} +37 -12
- package/dist/{chunk-IXRUVR25.js → chunk-YTTESG7K.js} +46 -7
- package/dist/{chunk-CKDSPW35.js → chunk-ZI2E4YMY.js} +6 -6
- package/dist/{chunk-MEIDQLXQ.js → chunk-ZI7JENTB.js} +1 -1
- package/dist/{claude-launcher-7IC6QWR5.js → claude-launcher-MMCKOBND.js} +6 -6
- package/dist/{cli-HBS2PXSS.js → cli-W4B35KDN.js} +165 -155
- package/dist/{cli-update-notice-4DLZ3655.js → cli-update-notice-T3CXRWNB.js} +3 -3
- package/dist/{command-XA6DOFL4.js → command-SKJHW4C4.js} +43 -42
- package/dist/{config-RSOCVUKC.js → config-ZDENMTEW.js} +9 -9
- package/dist/connect-cmd-APZN6F6N.js +27 -0
- package/dist/{container-start-PYW7W2N2.js → container-start-PAUJUXJX.js} +57 -56
- package/dist/{context-cleanup-CEZSKNVL.js → context-cleanup-PASDUBGW.js} +5 -5
- package/dist/{context-show-cmd-XWLTP6R4.js → context-show-cmd-OWREGUJL.js} +19 -19
- package/dist/{control-plane-launch-3MBWPYWZ.js → control-plane-launch-FV5Q6GVJ.js} +16 -16
- package/dist/{demo-record-cmd-SIKNTSGI.js → demo-record-cmd-KXLLIMOP.js} +5 -5
- package/dist/{demo-voice-cmd-SAB3QU4F.js → demo-voice-cmd-TY2OX2CZ.js} +30 -30
- package/dist/{dist-VPXROEZO.js → dist-Z6WP743R.js} +2 -2
- package/dist/{docker-YMRPMDOW.js → docker-SKD6VTBD.js} +6 -6
- package/dist/{doctor-NVHAE4LS.js → doctor-DX6N3L5T.js} +53 -42
- package/dist/emit-artifact-cmd-NFAASCXW.js +43 -0
- package/dist/emit-cmd-UOPHEUW5.js +16 -0
- package/dist/emit-criteria-cmd-TX4LKO5X.js +33 -0
- package/dist/emit-demo-cmd-FRJFQKED.js +47 -0
- package/dist/emit-finding-cmd-LO2AKL4P.js +34 -0
- package/dist/{emit-result-cmd-VCKNZ4RZ.js → emit-result-cmd-7PL4HNXL.js} +28 -28
- package/dist/emit-step-cmd-RZT6VK5U.js +33 -0
- package/dist/{exec-client-U4544U2S.js → exec-client-UHL7WPDO.js} +3 -3
- package/dist/find-unit-IBL736HQ.js +19 -0
- package/dist/{findings-cmd-PLHBAQW4.js → findings-cmd-MEU7GDRC.js} +23 -23
- package/dist/fleet-readiness-4RNICYSP.js +28 -0
- package/dist/governing-source-6DH2NLPE.js +38 -0
- package/dist/{guest-init-MI4SEME4.js → guest-init-2TTQKFFZ.js} +4 -4
- package/dist/{hook-fast-GOH4T6SN.js → hook-fast-5PNO5HRO.js} +6 -6
- package/dist/{hook-wrap-fast-7VYYAAH4.js → hook-wrap-fast-545QJSBJ.js} +3 -3
- package/dist/host-checks-FWPDGTWF.js +78 -0
- package/dist/{host-key-OMLDWLNG.js → host-key-Q5DEAP3Q.js} +3 -3
- package/dist/{image-tag-YJJONB64.js → image-tag-JWATDMIZ.js} +3 -3
- package/dist/index.js +6 -6
- package/dist/init-DWOODP2Q.js +57 -0
- package/dist/{init-W3ATJYLX.js → init-GF43ZLZI.js} +39 -38
- package/dist/{init-cmd-XJOEU2PB.js → init-cmd-LW4TECQH.js} +33 -33
- package/dist/{init-update-KX3FFQ5H.js → init-update-5PTU5IE6.js} +30 -30
- package/dist/{install-cmd-QTIIMO6B.js → install-cmd-ZEFBJH24.js} +5 -5
- package/dist/{layout-7UOBWNYO.js → layout-ZE6F2Z7W.js} +4 -4
- package/dist/login-browser-YB7AMKHR.js +13 -0
- package/dist/{logout-cmd-5WE2N5B5.js → logout-cmd-Z2PYV5LF.js} +5 -5
- package/dist/{logs-YVXVAYTD.js → logs-3YRC7HRA.js} +23 -3
- package/dist/loop-UBAR3KBZ.js +89 -0
- package/dist/machine-H4Y5X424.js +57 -0
- package/dist/{machine-skills-KYN7XJEJ.js → machine-skills-DMHU7OLO.js} +5 -5
- package/dist/{mcp-install-cmd-LD7KYAOP.js → mcp-install-cmd-23ZY4IBK.js} +5 -5
- package/dist/{mcp-serve-cmd-ECTAPDB3.js → mcp-serve-cmd-PKXIHUOX.js} +9 -9
- package/dist/{paths-M66LPPUF.js → paths-7PC3K7C3.js} +2 -2
- package/dist/{pending-7LC6XDRO.js → pending-2VIIFAP4.js} +3 -3
- package/dist/{pidfile-DSQOOAZV.js → pidfile-KQ2EJABZ.js} +3 -3
- package/dist/{record-3KKIJ3XL.js → record-IHEF6C33.js} +3 -3
- package/dist/{runner-env-EX7YUIUH.js → runner-env-KCZBSWOB.js} +11 -11
- package/dist/{runner-identity-LJWBXNM5.js → runner-identity-D5HQ22D3.js} +6 -6
- package/dist/{runner-key-CAUO4RKG.js → runner-key-N5YEMI3S.js} +38 -37
- package/dist/session-sender-GJEVFQVN.js +43 -0
- package/dist/{settings-3DBYKYQD.js → settings-XB2HYBKO.js} +2 -2
- package/dist/{spec-cmd-SAWQYHKM.js → spec-cmd-BRTO5J2C.js} +23 -23
- package/dist/{starter-pack-KB3YH4KX.js → starter-pack-WUNNS6G7.js} +9 -9
- package/dist/state-FJPSFOID.js +9 -0
- package/dist/{status-VMFS7N6A.js → status-UPEZZYCT.js} +78 -56
- package/dist/{statusline-fast-YVHG6ZLX.js → statusline-fast-E7RWVREA.js} +4 -4
- package/dist/sync-cmd-EO4TP2K7.js +42 -0
- package/dist/update-steps-46FCWHJZ.js +79 -0
- package/dist/{watch-6NRBX6VE.js → watch-EG6MYI3O.js} +28 -28
- package/dist/{work-claim-cmd-SLVX2N4L.js → work-claim-cmd-MPH5HFLT.js} +26 -26
- package/dist/work-cmd-PKEAVXJC.js +31 -0
- package/dist/work-comment-cmd-7IEOLOOK.js +32 -0
- package/dist/{work-demo-cmd-SZJIKB5J.js → work-demo-cmd-GKMBBMMM.js} +20 -20
- package/dist/{work-launch-LEQ2MPM3.js → work-launch-TTGSHLY4.js} +3 -3
- package/dist/{work-logs-cmd-MRFSBMJM.js → work-logs-cmd-44ZOKO5E.js} +20 -20
- package/dist/{work-open-pr-cmd-N7GK7FUQ.js → work-open-pr-cmd-YYQLQ7DN.js} +22 -22
- package/dist/work-pr-cmd-ILCIO22W.js +32 -0
- package/dist/work-proofs-cmd-S7HZNVFC.js +35 -0
- package/dist/{work-proofs-record-JD4DNZUW.js → work-proofs-record-RJMR37XG.js} +34 -34
- package/dist/{work-stop-cmd-M6RIGF7S.js → work-stop-cmd-5VPW7HOZ.js} +20 -20
- package/package.json +1 -1
- package/dist/agent-setup-IVXRBFVV.js +0 -32
- package/dist/connect-cmd-JFGDHFLA.js +0 -27
- package/dist/emit-artifact-cmd-TZTVQCFT.js +0 -43
- package/dist/emit-cmd-4G3443OJ.js +0 -16
- package/dist/emit-criteria-cmd-WH7JB4RQ.js +0 -33
- package/dist/emit-demo-cmd-DNUVG5N7.js +0 -47
- package/dist/emit-finding-cmd-X5CBH4ZA.js +0 -34
- package/dist/emit-step-cmd-IUXZZYKO.js +0 -33
- package/dist/find-unit-QYD2FMCP.js +0 -19
- package/dist/fleet-readiness-F65CKZY5.js +0 -28
- package/dist/governing-source-JFCTQXYK.js +0 -38
- package/dist/host-checks-HC4XXGAD.js +0 -77
- package/dist/init-JVKJTJNM.js +0 -56
- package/dist/login-browser-Q25ZNSQ3.js +0 -13
- package/dist/loop-GBTANKUW.js +0 -87
- package/dist/machine-OQOHEMJB.js +0 -56
- package/dist/session-sender-U2CTD7EX.js +0 -43
- package/dist/sync-cmd-EBJQ5LMH.js +0 -42
- package/dist/update-steps-HMSVBDKH.js +0 -78
- package/dist/work-cmd-VSHZCXHQ.js +0 -31
- package/dist/work-comment-cmd-3DCL7VHN.js +0 -32
- package/dist/work-pr-cmd-HD5OIHUU.js +0 -32
- package/dist/work-proofs-cmd-GFGENBGN.js +0 -35
|
@@ -1,46 +1,46 @@
|
|
|
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 './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import { verifiedTrackerNames, TRACKERS } from './chunk-
|
|
3
|
+
import { gatherDoctorChecks, doctorExitCode, summarizeChecks, renderDoctorText, recordWrapped, recordUnwrapped, recordRemoval, readManifest, recordInstall, recordStatusline } from './chunk-LFXLFDEA.js';
|
|
4
|
+
import './chunk-WJTIU2A5.js';
|
|
5
|
+
import './chunk-OHQMGLJP.js';
|
|
6
|
+
import './chunk-XGSJNXH2.js';
|
|
7
|
+
import { verifiedTrackerNames, TRACKERS } from './chunk-JQOET7TF.js';
|
|
8
8
|
import './chunk-IP7BIBXJ.js';
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
11
|
-
import './chunk-
|
|
12
|
-
import './chunk-
|
|
13
|
-
import { C, warnDeprecated, API_KEY_FLAG_DEPRECATION, NO_COLOR_FLAG, stripNoColor } from './chunk-
|
|
14
|
-
import './chunk-
|
|
15
|
-
import './chunk-
|
|
16
|
-
import { FIRST_VERSION_READING_AGENTS_SKILLS } from './chunk-
|
|
17
|
-
import './chunk-
|
|
18
|
-
import './chunk-
|
|
19
|
-
import './chunk-
|
|
20
|
-
import './chunk-
|
|
21
|
-
import { hookFiredMarkerPath, installedCliDistDir } from './chunk-
|
|
22
|
-
import './chunk-
|
|
23
|
-
import './chunk-
|
|
9
|
+
import './chunk-UGPJIKN4.js';
|
|
10
|
+
import './chunk-AVHPSB65.js';
|
|
11
|
+
import './chunk-ZI2E4YMY.js';
|
|
12
|
+
import './chunk-A2LHHKTT.js';
|
|
13
|
+
import { C, warnDeprecated, API_KEY_FLAG_DEPRECATION, NO_COLOR_FLAG, stripNoColor } from './chunk-2AM6Z5BP.js';
|
|
14
|
+
import './chunk-WG3VIMD2.js';
|
|
15
|
+
import './chunk-PDK35AR4.js';
|
|
16
|
+
import { FIRST_VERSION_READING_AGENTS_SKILLS } from './chunk-62TMOXQN.js';
|
|
17
|
+
import './chunk-PQ5YDDDE.js';
|
|
18
|
+
import './chunk-GBMTKV5B.js';
|
|
19
|
+
import './chunk-HWVMRETT.js';
|
|
20
|
+
import './chunk-XU5BNWX7.js';
|
|
21
|
+
import { hookFiredMarkerPath, installedCliDistDir } from './chunk-HS5QEIJT.js';
|
|
22
|
+
import './chunk-545P7JY7.js';
|
|
23
|
+
import './chunk-YBAVN6WS.js';
|
|
24
24
|
import './chunk-BKO6JEZI.js';
|
|
25
25
|
import './chunk-HCVLP7XA.js';
|
|
26
26
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
27
|
-
import './chunk-
|
|
28
|
-
import './chunk-
|
|
29
|
-
import './chunk-
|
|
30
|
-
import './chunk-
|
|
27
|
+
import './chunk-QM3HMXMU.js';
|
|
28
|
+
import './chunk-UPRZREBO.js';
|
|
29
|
+
import './chunk-TV2OQUWE.js';
|
|
30
|
+
import './chunk-OLM2TIOW.js';
|
|
31
31
|
import './chunk-CDDED64E.js';
|
|
32
32
|
import { resolveVersion, resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
33
33
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
34
|
-
import { cliInvocation, packageRunnerOf } from './chunk-
|
|
35
|
-
import { settingsPath, readSettings, SettingsParseError, listHookCandidates, PORTABLE_BIN, wrapHooks, writeSettings, unwrapHooks, REGISTERED_EVENTS, removeHooks, removeStatusline, cliBinResolvable, mergeHooks, repointWrappedHooks, AUTO_WRAP_EVENTS, mergeStatusline } from './chunk-
|
|
36
|
-
import './chunk-
|
|
34
|
+
import { cliInvocation, packageRunnerOf } from './chunk-FZKNTIOJ.js';
|
|
35
|
+
import { settingsPath, readSettings, SettingsParseError, listHookCandidates, PORTABLE_BIN, wrapHooks, writeSettings, unwrapHooks, REGISTERED_EVENTS, removeHooks, removeStatusline, cliBinResolvable, mergeHooks, repointWrappedHooks, AUTO_WRAP_EVENTS, mergeStatusline } from './chunk-KYDEBGJG.js';
|
|
36
|
+
import './chunk-JXXMOAJG.js';
|
|
37
37
|
import { cloneIsGoverned } from './chunk-YQR6E6OV.js';
|
|
38
|
-
import { removeJournalHooks, removePreCommitGuardHook } from './chunk-
|
|
39
|
-
import './chunk-
|
|
40
|
-
import './chunk-
|
|
41
|
-
import { homeFromEnv } from './chunk-
|
|
42
|
-
import './chunk-
|
|
43
|
-
import './chunk-
|
|
38
|
+
import { removeJournalHooks, removePreCommitGuardHook } from './chunk-CJPTUU2E.js';
|
|
39
|
+
import './chunk-5FWBAM6O.js';
|
|
40
|
+
import './chunk-YTTESG7K.js';
|
|
41
|
+
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
42
|
+
import './chunk-YQHUCOUL.js';
|
|
43
|
+
import './chunk-GANAOCHR.js';
|
|
44
44
|
import './chunk-MESOOLF4.js';
|
|
45
45
|
import './chunk-Z5GEFMRW.js';
|
|
46
46
|
import { EventEmitter } from 'events';
|
|
@@ -3658,14 +3658,14 @@ function apiKeyOption() {
|
|
|
3658
3658
|
return new Option("--api-key <key>", `deprecated: use \`${cliInvocation()} login\` or OUTERLAYER_API_KEY`).hideHelp();
|
|
3659
3659
|
}
|
|
3660
3660
|
async function installStarterPackInRepo() {
|
|
3661
|
-
const { installStarterPack, formatStarterPackOutput } = await import('./starter-pack-
|
|
3661
|
+
const { installStarterPack, formatStarterPackOutput } = await import('./starter-pack-WUNNS6G7.js');
|
|
3662
3662
|
const cwd = process.cwd();
|
|
3663
3663
|
let repoRoot = cwd;
|
|
3664
3664
|
try {
|
|
3665
3665
|
repoRoot = execFileSync("git", ["rev-parse", "--show-toplevel"], { cwd, encoding: "utf8", stdio: ["ignore", "pipe", "ignore"] }).trim() || cwd;
|
|
3666
3666
|
} catch {
|
|
3667
3667
|
}
|
|
3668
|
-
const { declareAgentsMdLayout, isAgentsMdLayout, skillsBaseFor } = await import('./layout-
|
|
3668
|
+
const { declareAgentsMdLayout, isAgentsMdLayout, skillsBaseFor } = await import('./layout-ZE6F2Z7W.js');
|
|
3669
3669
|
const fresh = !isAgentsMdLayout(repoRoot) && !existsSync(join(repoRoot, ".outerlayer/skills")) && !existsSync(join(repoRoot, ".outerlayer/AGENTS.md"));
|
|
3670
3670
|
const result = installStarterPack({ repoRoot, base: fresh ? ".agents/skills" : skillsBaseFor(repoRoot) });
|
|
3671
3671
|
if (fresh) declareAgentsMdLayout(repoRoot);
|
|
@@ -3791,7 +3791,7 @@ ${starter.output}`),
|
|
|
3791
3791
|
}
|
|
3792
3792
|
}
|
|
3793
3793
|
async function installMachineSkillsForSetup() {
|
|
3794
|
-
const { setupMachineSkills } = await import('./machine-skills-
|
|
3794
|
+
const { setupMachineSkills } = await import('./machine-skills-DMHU7OLO.js');
|
|
3795
3795
|
const result = setupMachineSkills(homeFromEnv());
|
|
3796
3796
|
for (const failure of result.failures) process.stderr.write(`${C.yellow}!${C.reset} Could not write a maintained skill: ${failure}
|
|
3797
3797
|
`);
|
|
@@ -3799,8 +3799,8 @@ async function installMachineSkillsForSetup() {
|
|
|
3799
3799
|
` : "";
|
|
3800
3800
|
}
|
|
3801
3801
|
async function realConnectDepsForCwd() {
|
|
3802
|
-
const { realConnectDeps } = await import('./connect-cmd-
|
|
3803
|
-
const { resolveRepoIdentity } = await import('./dist-
|
|
3802
|
+
const { realConnectDeps } = await import('./connect-cmd-APZN6F6N.js');
|
|
3803
|
+
const { resolveRepoIdentity } = await import('./dist-Z6WP743R.js');
|
|
3804
3804
|
return {
|
|
3805
3805
|
...realConnectDeps(),
|
|
3806
3806
|
home: homeFromEnv(),
|
|
@@ -3817,12 +3817,12 @@ function buildProgram(argv = process.argv) {
|
|
|
3817
3817
|
const program2 = new Command();
|
|
3818
3818
|
program2.name(cliInvocation()).description("OuterLayer \u2014 see what your coding agents actually do").enablePositionalOptions().version(resolveVersion()).hook("preAction", async (_root, command) => {
|
|
3819
3819
|
if (command.opts().apiKey !== void 0) warnDeprecated(API_KEY_FLAG_DEPRECATION);
|
|
3820
|
-
const { machineRefreshSkipped, refreshMachineSkills } = await import('./machine-skills-
|
|
3820
|
+
const { machineRefreshSkipped, refreshMachineSkills } = await import('./machine-skills-DMHU7OLO.js');
|
|
3821
3821
|
const names = [];
|
|
3822
3822
|
for (let at = command; at?.parent; at = at.parent) names.push(at.name());
|
|
3823
3823
|
if (!machineRefreshSkipped(names, command._hidden === true, argv)) refreshMachineSkills(homeFromEnv());
|
|
3824
3824
|
}).hook("postAction", async (_root, command) => {
|
|
3825
|
-
const notice = await import('./cli-update-notice-
|
|
3825
|
+
const notice = await import('./cli-update-notice-T3CXRWNB.js');
|
|
3826
3826
|
let top;
|
|
3827
3827
|
for (let at = command; at.parent; at = at.parent) top = at.name();
|
|
3828
3828
|
const json = command.opts().json === true || argv.includes("--json");
|
|
@@ -3874,8 +3874,8 @@ build, ../outerlayer-build/SKILL.md becomes ~/.agents/skills/outerlayer-build/SK
|
|
|
3874
3874
|
what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocation() + " doctor` reports the same\nstates under Starter files.\n"
|
|
3875
3875
|
).action(async (opts) => {
|
|
3876
3876
|
if (opts.update || opts.dryRun) {
|
|
3877
|
-
const { runInitUpdateWithFleet, formatInitUpdate, updateFlagProblem } = await import('./init-update-
|
|
3878
|
-
const { fleetReadiness } = await import('./fleet-readiness-
|
|
3877
|
+
const { runInitUpdateWithFleet, formatInitUpdate, updateFlagProblem } = await import('./init-update-5PTU5IE6.js');
|
|
3878
|
+
const { fleetReadiness } = await import('./fleet-readiness-4RNICYSP.js');
|
|
3879
3879
|
const problem = updateFlagProblem(opts);
|
|
3880
3880
|
if (problem !== void 0) {
|
|
3881
3881
|
fail(problem);
|
|
@@ -3892,7 +3892,7 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3892
3892
|
}
|
|
3893
3893
|
let starterTemplate;
|
|
3894
3894
|
if (opts.template !== void 0) {
|
|
3895
|
-
const { assertKnownTemplate, StarterPackError } = await import('./starter-pack-
|
|
3895
|
+
const { assertKnownTemplate, StarterPackError } = await import('./starter-pack-WUNNS6G7.js');
|
|
3896
3896
|
try {
|
|
3897
3897
|
assertKnownTemplate(opts.template);
|
|
3898
3898
|
} catch (err) {
|
|
@@ -3926,13 +3926,13 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3926
3926
|
if (changed.length > 0 && !opts.json) process.stdout.write(`Removed the claude function from ${changed.join(", ")}.
|
|
3927
3927
|
`);
|
|
3928
3928
|
}
|
|
3929
|
-
const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-
|
|
3929
|
+
const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-LW4TECQH.js')).applyShellFunctionFlag(opts.shellFunction, { home: homeFromEnv(), shellPath: process.env.SHELL }) : void 0;
|
|
3930
3930
|
if (opts.json) writeJson(shell === void 0 ? outcome.result : { ...outcome.result, shellFunction: { outcome: shell.outcome, reason: shell.reason } });
|
|
3931
3931
|
else process.stdout.write(outcome.text + skillsLine + (shell?.text ?? ""));
|
|
3932
3932
|
return;
|
|
3933
3933
|
}
|
|
3934
3934
|
await installMachineSkillsForSetup();
|
|
3935
|
-
const { runInitCommand } = await import('./init-cmd-
|
|
3935
|
+
const { runInitCommand } = await import('./init-cmd-LW4TECQH.js');
|
|
3936
3936
|
const code = await runInitCommand(
|
|
3937
3937
|
{ json: opts.json, factory: opts.factory, shellFunction: opts.shellFunction },
|
|
3938
3938
|
{
|
|
@@ -3944,7 +3944,7 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3944
3944
|
return { ok, text, detail };
|
|
3945
3945
|
},
|
|
3946
3946
|
runAgentSetup: async () => {
|
|
3947
|
-
const { runAgentSetup } = await import('./agent-setup-
|
|
3947
|
+
const { runAgentSetup } = await import('./agent-setup-UPIHHKI2.js');
|
|
3948
3948
|
return runAgentSetup({ cwd: process.cwd(), skillsLink: opts.skillsLink !== false });
|
|
3949
3949
|
},
|
|
3950
3950
|
runDoctorChecks: gatherDoctorChecks,
|
|
@@ -3953,7 +3953,7 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3953
3953
|
shellPath: process.env.SHELL,
|
|
3954
3954
|
interactive: Boolean(process.stdin.isTTY && process.stderr.isTTY) && opts.json !== true,
|
|
3955
3955
|
ask: async () => {
|
|
3956
|
-
const { promptOnTerminal } = await import('./connect-cmd-
|
|
3956
|
+
const { promptOnTerminal } = await import('./connect-cmd-APZN6F6N.js');
|
|
3957
3957
|
const answer = await promptOnTerminal({
|
|
3958
3958
|
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.`,
|
|
3959
3959
|
options: [
|
|
@@ -3992,7 +3992,7 @@ linked (true, false, or null when it could not be checked) and, when false,
|
|
|
3992
3992
|
linkUrl.
|
|
3993
3993
|
`
|
|
3994
3994
|
).action(async (opts) => {
|
|
3995
|
-
const { runConnectCommand } = await import('./connect-cmd-
|
|
3995
|
+
const { runConnectCommand } = await import('./connect-cmd-APZN6F6N.js');
|
|
3996
3996
|
const code = await runConnectCommand({ factory: opts.factory, json: opts.json }, await realConnectDepsForCwd(), {
|
|
3997
3997
|
stdout: process.stdout,
|
|
3998
3998
|
stderr: process.stderr
|
|
@@ -4031,7 +4031,7 @@ Every later command reads the saved file, so none of them needs a key on
|
|
|
4031
4031
|
its command line. A saved key is checked for real on the first \`sync\`.
|
|
4032
4032
|
`
|
|
4033
4033
|
).action(async (opts) => {
|
|
4034
|
-
const { runLoginCommand, realLoginDeps } = await import('./login-browser-
|
|
4034
|
+
const { runLoginCommand, realLoginDeps } = await import('./login-browser-YB7AMKHR.js');
|
|
4035
4035
|
const code = await runLoginCommand(
|
|
4036
4036
|
{
|
|
4037
4037
|
browser: opts.browser !== false,
|
|
@@ -4055,7 +4055,7 @@ dashboard cannot be reached the local copy is still deleted and the exit
|
|
|
4055
4055
|
code is 1: revoke the token on /profile/security.
|
|
4056
4056
|
`
|
|
4057
4057
|
).action(async () => {
|
|
4058
|
-
const { runLogoutCommand, realLogoutDeps } = await import('./logout-cmd-
|
|
4058
|
+
const { runLogoutCommand, realLogoutDeps } = await import('./logout-cmd-Z2PYV5LF.js');
|
|
4059
4059
|
const code = await runLogoutCommand(realLogoutDeps());
|
|
4060
4060
|
if (code !== 0) process.exitCode = code;
|
|
4061
4061
|
});
|
|
@@ -4064,13 +4064,13 @@ code is 1: revoke the token on /profile/security.
|
|
|
4064
4064
|
"\nIncremental: only sessions newer than the last checkpoint ship. The tier\nis applied on this machine before anything leaves it; `--dry-run` prints\nexactly what would. The hook-triggered background sync runs `--quiet`.\nExit 2 means the server rejected at least one session.\n"
|
|
4065
4065
|
).action(async (opts) => {
|
|
4066
4066
|
if (opts.link !== void 0) {
|
|
4067
|
-
const { lookupArtifactLink } = await import('./artifact-link-cmd-
|
|
4067
|
+
const { lookupArtifactLink } = await import('./artifact-link-cmd-6LFCTDBD.js');
|
|
4068
4068
|
const found = lookupArtifactLink(opts.link);
|
|
4069
4069
|
if (found.ok) process.stdout.write(found.url + "\n");
|
|
4070
4070
|
else fail(found.reason);
|
|
4071
4071
|
return;
|
|
4072
4072
|
}
|
|
4073
|
-
const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-
|
|
4073
|
+
const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-EO4TP2K7.js');
|
|
4074
4074
|
try {
|
|
4075
4075
|
const result = await runSync({
|
|
4076
4076
|
url: opts.url,
|
|
@@ -4101,7 +4101,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4101
4101
|
if (invokedCommandToken(argv) === "watch") {
|
|
4102
4102
|
warnDeprecated(`\`${cliInvocation()} watch\` is now \`${cliInvocation()} daemon\`; the old name will be removed in a future release.`);
|
|
4103
4103
|
}
|
|
4104
|
-
const { runWatch } = await import('./watch-
|
|
4104
|
+
const { runWatch } = await import('./watch-EG6MYI3O.js');
|
|
4105
4105
|
await runWatch({ once: opts.once });
|
|
4106
4106
|
});
|
|
4107
4107
|
program2.command("hook <event>", { hidden: true }).description("capture-hook fast path, installed by `init`").action(() => {
|
|
@@ -4162,7 +4162,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4162
4162
|
}
|
|
4163
4163
|
});
|
|
4164
4164
|
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) => {
|
|
4165
|
-
const { runVmExec } = await import('./exec-client-
|
|
4165
|
+
const { runVmExec } = await import('./exec-client-UHL7WPDO.js');
|
|
4166
4166
|
const env = {};
|
|
4167
4167
|
for (const entry of opts.env) {
|
|
4168
4168
|
const eq = entry.indexOf("=");
|
|
@@ -4191,7 +4191,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4191
4191
|
process.exitCode = await runBuildCommand({ dir: opts.dir, argv: command });
|
|
4192
4192
|
});
|
|
4193
4193
|
program2.command("session-sender", { hidden: true }).description("stream a runner build's sessions to its work item while the build runs").action(async () => {
|
|
4194
|
-
const { runSessionSender } = await import('./session-sender-
|
|
4194
|
+
const { runSessionSender } = await import('./session-sender-GJEVFQVN.js');
|
|
4195
4195
|
try {
|
|
4196
4196
|
await runSessionSender();
|
|
4197
4197
|
} catch (err) {
|
|
@@ -4199,7 +4199,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4199
4199
|
}
|
|
4200
4200
|
});
|
|
4201
4201
|
program2.command("vm-init", { hidden: true }).description("lay out a microVM build's guest; the guest helper runs it").action(async () => {
|
|
4202
|
-
const { realGuestHost, runGuestInit } = await import('./guest-init-
|
|
4202
|
+
const { realGuestHost, runGuestInit } = await import('./guest-init-2TTQKFFZ.js');
|
|
4203
4203
|
const { readFileSync: readFileSync3 } = await import('fs');
|
|
4204
4204
|
try {
|
|
4205
4205
|
runGuestInit(realGuestHost(), readFileSync3("/proc/cmdline", "utf8"));
|
|
@@ -4208,7 +4208,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4208
4208
|
}
|
|
4209
4209
|
});
|
|
4210
4210
|
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) => {
|
|
4211
|
-
const { startBridgeForward } = await import('./bridge-
|
|
4211
|
+
const { startBridgeForward } = await import('./bridge-XM4QLKIX.js');
|
|
4212
4212
|
try {
|
|
4213
4213
|
await startBridgeForward(opts);
|
|
4214
4214
|
} catch (err) {
|
|
@@ -4234,7 +4234,7 @@ async function runCli(processArgv) {
|
|
|
4234
4234
|
await buildProgram(argv).parseAsync(argv);
|
|
4235
4235
|
}
|
|
4236
4236
|
async function compileContext(opts) {
|
|
4237
|
-
const { runEmit, EmitError } = await import('./emit-cmd-
|
|
4237
|
+
const { runEmit, EmitError } = await import('./emit-cmd-UOPHEUW5.js');
|
|
4238
4238
|
try {
|
|
4239
4239
|
const result = runEmit({ cwd: opts.dir, check: opts.check, json: opts.json });
|
|
4240
4240
|
if (result.exitCode !== 0) process.exitCode = result.exitCode;
|
|
@@ -4287,7 +4287,7 @@ Compiling .outerlayer/ moved to \`${cliInvocation()} context emit\`.
|
|
|
4287
4287
|
await compileContext({ dir: opts.dir, check: opts.check, json: opts.json });
|
|
4288
4288
|
return;
|
|
4289
4289
|
}
|
|
4290
|
-
const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-
|
|
4290
|
+
const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-7PL4HNXL.js');
|
|
4291
4291
|
try {
|
|
4292
4292
|
const result = await runEmitResult({
|
|
4293
4293
|
name,
|
|
@@ -4338,7 +4338,7 @@ everywhere, bytes and deep link untouched; a still-queued one is cancelled
|
|
|
4338
4338
|
locally so it never uploads. One correction can retire several duplicates.
|
|
4339
4339
|
`
|
|
4340
4340
|
).action(async (file, opts) => {
|
|
4341
|
-
const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-
|
|
4341
|
+
const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-NFAASCXW.js');
|
|
4342
4342
|
let pr;
|
|
4343
4343
|
if (opts.pr !== void 0) {
|
|
4344
4344
|
pr = parseTrackerNumber(opts.pr);
|
|
@@ -4394,7 +4394,7 @@ its criterion, and the new record retires the old record. The id must be the ite
|
|
|
4394
4394
|
as \`work demo --item <n> --json\` prints it.
|
|
4395
4395
|
`
|
|
4396
4396
|
).action(async (manifest, opts) => {
|
|
4397
|
-
const { runEmitDemo, EmitDemoError } = await import('./emit-demo-cmd-
|
|
4397
|
+
const { runEmitDemo, EmitDemoError } = await import('./emit-demo-cmd-FRJFQKED.js');
|
|
4398
4398
|
let item;
|
|
4399
4399
|
if (opts.item !== void 0) {
|
|
4400
4400
|
item = parseTrackerNumber(opts.item);
|
|
@@ -4437,7 +4437,7 @@ as \`work demo --item <n> --json\` prints it.
|
|
|
4437
4437
|
}
|
|
4438
4438
|
});
|
|
4439
4439
|
program2.command("demo-voice", { hidden: true }).description("Speak demo lines for a recorder: JSON lines in on stdin, out on stdout").action(async () => {
|
|
4440
|
-
const { runDemoVoice } = await import('./demo-voice-cmd-
|
|
4440
|
+
const { runDemoVoice } = await import('./demo-voice-cmd-TY2OX2CZ.js');
|
|
4441
4441
|
await runDemoVoice();
|
|
4442
4442
|
});
|
|
4443
4443
|
const demoCmd = program2.command("demo").description("Record demos with the recorder this CLI carries");
|
|
@@ -4455,7 +4455,7 @@ and the command prints the manifest's path for \`emit demo\`. Under \`work proof
|
|
|
4455
4455
|
to OUTERLAYER_PROOF_OUT instead. Exit 1 means the demo's test failed; its manifest is written all the same.
|
|
4456
4456
|
`
|
|
4457
4457
|
).action(async (file, opts) => {
|
|
4458
|
-
const { runDemoRecord, DemoRecordError } = await import('./demo-record-cmd-
|
|
4458
|
+
const { runDemoRecord, DemoRecordError } = await import('./demo-record-cmd-KXLLIMOP.js');
|
|
4459
4459
|
try {
|
|
4460
4460
|
const result = await runDemoRecord({
|
|
4461
4461
|
file,
|
|
@@ -4504,7 +4504,7 @@ recent events with their ids. --find <text> searches all of them.
|
|
|
4504
4504
|
item that session was launched for is used automatically.
|
|
4505
4505
|
`
|
|
4506
4506
|
).action(async (opts) => {
|
|
4507
|
-
const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-
|
|
4507
|
+
const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-LO2AKL4P.js');
|
|
4508
4508
|
try {
|
|
4509
4509
|
refuseRemovedFindingFlags(opts);
|
|
4510
4510
|
const result = await runEmitFinding({
|
|
@@ -4571,7 +4571,7 @@ the whole batch. "untimed": true records one with no time on purpose.
|
|
|
4571
4571
|
that session was launched for is used automatically.
|
|
4572
4572
|
`
|
|
4573
4573
|
).action(async (file, opts) => {
|
|
4574
|
-
const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-
|
|
4574
|
+
const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-LO2AKL4P.js');
|
|
4575
4575
|
try {
|
|
4576
4576
|
const result = await runEmitFindings({
|
|
4577
4577
|
file,
|
|
@@ -4606,7 +4606,7 @@ command, the command exits 0, and \`sync\` sends it later. If the gateway refuse
|
|
|
4606
4606
|
the step, the command prints why and exits 1.
|
|
4607
4607
|
`
|
|
4608
4608
|
).action(async (name, opts) => {
|
|
4609
|
-
const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-
|
|
4609
|
+
const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-RZT6VK5U.js');
|
|
4610
4610
|
try {
|
|
4611
4611
|
await runEmitStep({
|
|
4612
4612
|
name,
|
|
@@ -4649,7 +4649,7 @@ of the item, and a (proof: <kind>) annotation names its proof.
|
|
|
4649
4649
|
${cliInvocation()} emit criteria acceptance/412-login.md --item 412
|
|
4650
4650
|
`
|
|
4651
4651
|
).action(async (file, opts) => {
|
|
4652
|
-
const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-
|
|
4652
|
+
const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-TX4LKO5X.js');
|
|
4653
4653
|
try {
|
|
4654
4654
|
const result = await runEmitCriteria({
|
|
4655
4655
|
file,
|
|
@@ -4673,9 +4673,9 @@ function registerSpecCommands(program2) {
|
|
|
4673
4673
|
const specCmd = program2.command("spec").description("Find, file and edit the issue a spec lives in, in your factory's tracker");
|
|
4674
4674
|
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)");
|
|
4675
4675
|
const run = async (action) => {
|
|
4676
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4676
|
+
const { WorkCommandError } = await import('./work-cmd-PKEAVXJC.js');
|
|
4677
4677
|
try {
|
|
4678
|
-
await action(await import('./spec-cmd-
|
|
4678
|
+
await action(await import('./spec-cmd-BRTO5J2C.js'));
|
|
4679
4679
|
} catch (err) {
|
|
4680
4680
|
if (err instanceof WorkCommandError) {
|
|
4681
4681
|
fail(err.message);
|
|
@@ -4710,7 +4710,7 @@ Prints each problem the item covers with its id, its reports and its result.
|
|
|
4710
4710
|
session was launched for is used.
|
|
4711
4711
|
`
|
|
4712
4712
|
).action(async (opts) => {
|
|
4713
|
-
const { runFindingsShow, FindingsCommandError } = await import('./findings-cmd-
|
|
4713
|
+
const { runFindingsShow, FindingsCommandError } = await import('./findings-cmd-MEU7GDRC.js');
|
|
4714
4714
|
try {
|
|
4715
4715
|
const result = await runFindingsShow({
|
|
4716
4716
|
item: opts.item,
|
|
@@ -4738,7 +4738,7 @@ Give exactly one of --fixed and --not-fixed, and a --note. Run it again for the
|
|
|
4738
4738
|
problem to replace the earlier result. A problem the item does not cover is refused.
|
|
4739
4739
|
`
|
|
4740
4740
|
).action(async (problem, opts) => {
|
|
4741
|
-
const { runFindingsResult, FindingsCommandError } = await import('./findings-cmd-
|
|
4741
|
+
const { runFindingsResult, FindingsCommandError } = await import('./findings-cmd-MEU7GDRC.js');
|
|
4742
4742
|
try {
|
|
4743
4743
|
const result = await runFindingsResult({
|
|
4744
4744
|
problem,
|
|
@@ -4780,7 +4780,7 @@ takes it, and prints the line that starts your session on it. That
|
|
|
4780
4780
|
session links itself and holds the item's lease while it works.
|
|
4781
4781
|
`
|
|
4782
4782
|
).action(async (opts) => {
|
|
4783
|
-
const { runWorkBuild, WorkCommandError } = await import('./work-cmd-
|
|
4783
|
+
const { runWorkBuild, WorkCommandError } = await import('./work-cmd-PKEAVXJC.js');
|
|
4784
4784
|
try {
|
|
4785
4785
|
await runWorkBuild(opts);
|
|
4786
4786
|
} catch (err) {
|
|
@@ -4803,7 +4803,7 @@ renews that session's own 20-minute lease, unless --no-lease or
|
|
|
4803
4803
|
--ended is given, or another worker already holds a live one.
|
|
4804
4804
|
`
|
|
4805
4805
|
).action(async (number, opts) => {
|
|
4806
|
-
const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-
|
|
4806
|
+
const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-PKEAVXJC.js');
|
|
4807
4807
|
try {
|
|
4808
4808
|
await runWorkLinkSession({ ...opts, number, noLease: opts.lease === false, logFailures: opts.logFailures === true });
|
|
4809
4809
|
} catch (err) {
|
|
@@ -4827,8 +4827,8 @@ criterion's new proof; --ready hands the thread back to a person. At
|
|
|
4827
4827
|
most one action flag may be given.
|
|
4828
4828
|
`
|
|
4829
4829
|
).action(async (opts) => {
|
|
4830
|
-
const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4831
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4830
|
+
const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-7IEOLOOK.js');
|
|
4831
|
+
const { WorkCommandError } = await import('./work-cmd-PKEAVXJC.js');
|
|
4832
4832
|
try {
|
|
4833
4833
|
await runWorkComment(opts);
|
|
4834
4834
|
} catch (err) {
|
|
@@ -4849,8 +4849,8 @@ criterion that carries proof or a comment, each with who is waiting
|
|
|
4849
4849
|
on whom next.
|
|
4850
4850
|
`
|
|
4851
4851
|
).action(async (opts) => {
|
|
4852
|
-
const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4853
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4852
|
+
const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-7IEOLOOK.js');
|
|
4853
|
+
const { WorkCommandError } = await import('./work-cmd-PKEAVXJC.js');
|
|
4854
4854
|
try {
|
|
4855
4855
|
await runWorkThreads(opts);
|
|
4856
4856
|
} catch (err) {
|
|
@@ -4874,8 +4874,8 @@ still running, or that an older runner released, has no log and the
|
|
|
4874
4874
|
command exits 1.
|
|
4875
4875
|
`
|
|
4876
4876
|
).action(async (opts) => {
|
|
4877
|
-
const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-
|
|
4878
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4877
|
+
const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-44ZOKO5E.js');
|
|
4878
|
+
const { WorkCommandError } = await import('./work-cmd-PKEAVXJC.js');
|
|
4879
4879
|
try {
|
|
4880
4880
|
await runWorkLogs(opts);
|
|
4881
4881
|
} catch (err) {
|
|
@@ -4898,8 +4898,8 @@ item is not built again until a new build request. Exits 1 when no host
|
|
|
4898
4898
|
build is running for the item.
|
|
4899
4899
|
`
|
|
4900
4900
|
).action(async (opts) => {
|
|
4901
|
-
const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-
|
|
4902
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4901
|
+
const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-5VPW7HOZ.js');
|
|
4902
|
+
const { WorkCommandError } = await import('./work-cmd-PKEAVXJC.js');
|
|
4903
4903
|
try {
|
|
4904
4904
|
await runWorkStop(opts);
|
|
4905
4905
|
} catch (err) {
|
|
@@ -4920,8 +4920,8 @@ Prints the item's newest live demo record: its artifact id, the commit it was re
|
|
|
4920
4920
|
test file that recorded it. With --json, prints { "demo": null } for an item with no demo.
|
|
4921
4921
|
`
|
|
4922
4922
|
).action(async (opts) => {
|
|
4923
|
-
const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-
|
|
4924
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4923
|
+
const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-GKMBBMMM.js');
|
|
4924
|
+
const { WorkCommandError } = await import('./work-cmd-PKEAVXJC.js');
|
|
4925
4925
|
try {
|
|
4926
4926
|
await runWorkDemo(opts);
|
|
4927
4927
|
} catch (err) {
|
|
@@ -4942,7 +4942,7 @@ deletes anything \u2014 the item is removed from Work only once no
|
|
|
4942
4942
|
live addition remains on it.
|
|
4943
4943
|
`
|
|
4944
4944
|
).action(async (opts) => {
|
|
4945
|
-
const { runWorkRemove, WorkCommandError } = await import('./work-cmd-
|
|
4945
|
+
const { runWorkRemove, WorkCommandError } = await import('./work-cmd-PKEAVXJC.js');
|
|
4946
4946
|
try {
|
|
4947
4947
|
await runWorkRemove(opts);
|
|
4948
4948
|
} catch (err) {
|
|
@@ -4954,7 +4954,7 @@ live addition remains on it.
|
|
|
4954
4954
|
}
|
|
4955
4955
|
});
|
|
4956
4956
|
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) => {
|
|
4957
|
-
const { runWorkStatus, WorkCommandError } = await import('./work-cmd-
|
|
4957
|
+
const { runWorkStatus, WorkCommandError } = await import('./work-cmd-PKEAVXJC.js');
|
|
4958
4958
|
try {
|
|
4959
4959
|
await runWorkStatus(opts);
|
|
4960
4960
|
} catch (err) {
|
|
@@ -4999,11 +4999,11 @@ differs from HEAD.
|
|
|
4999
4999
|
fail(trackerNumberError("--pr", opts.pr));
|
|
5000
5000
|
return;
|
|
5001
5001
|
}
|
|
5002
|
-
const { runWorkProofsCommand } = await import('./work-proofs-cmd-
|
|
5002
|
+
const { runWorkProofsCommand } = await import('./work-proofs-cmd-S7HZNVFC.js');
|
|
5003
5003
|
await runWorkProofsCommand({ ...opts, ...pr === void 0 ? {} : { pr } });
|
|
5004
5004
|
});
|
|
5005
5005
|
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) => {
|
|
5006
|
-
const { runWorkList, WorkCommandError } = await import('./work-cmd-
|
|
5006
|
+
const { runWorkList, WorkCommandError } = await import('./work-cmd-PKEAVXJC.js');
|
|
5007
5007
|
try {
|
|
5008
5008
|
await runWorkList(opts);
|
|
5009
5009
|
} catch (err) {
|
|
@@ -5024,7 +5024,7 @@ by a different key is refused; claiming again with the same key extends
|
|
|
5024
5024
|
it. --host is a label only.
|
|
5025
5025
|
`
|
|
5026
5026
|
).action(async (opts) => {
|
|
5027
|
-
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-
|
|
5027
|
+
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-MPH5HFLT.js');
|
|
5028
5028
|
try {
|
|
5029
5029
|
await runWorkClaim(opts);
|
|
5030
5030
|
} catch (err) {
|
|
@@ -5044,7 +5044,7 @@ Extends the live lease this API key holds. Refused with a 410 if the
|
|
|
5044
5044
|
lease has expired, or a 403 if a different key holds it.
|
|
5045
5045
|
`
|
|
5046
5046
|
).action(async (opts) => {
|
|
5047
|
-
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-
|
|
5047
|
+
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-MPH5HFLT.js');
|
|
5048
5048
|
try {
|
|
5049
5049
|
await runWorkRenew(opts);
|
|
5050
5050
|
} catch (err) {
|
|
@@ -5076,7 +5076,7 @@ applies to a host's lease only. A later tool call in the session
|
|
|
5076
5076
|
takes the lease again.
|
|
5077
5077
|
`
|
|
5078
5078
|
).action(async (opts) => {
|
|
5079
|
-
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-
|
|
5079
|
+
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-MPH5HFLT.js');
|
|
5080
5080
|
try {
|
|
5081
5081
|
await runWorkRelease(opts);
|
|
5082
5082
|
} catch (err) {
|
|
@@ -5103,7 +5103,7 @@ Idempotent: declaring the same pull request twice is a no-op.
|
|
|
5103
5103
|
needs your own login; an agent session or a factory key is refused.
|
|
5104
5104
|
`
|
|
5105
5105
|
).action(async (number, opts) => {
|
|
5106
|
-
const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-
|
|
5106
|
+
const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-ILCIO22W.js');
|
|
5107
5107
|
try {
|
|
5108
5108
|
await runWorkPr({ ...opts, number });
|
|
5109
5109
|
} catch (err) {
|
|
@@ -5128,8 +5128,8 @@ login, then declares the pull request on the item, as \`work pr\` does.
|
|
|
5128
5128
|
Run it again after a change to the title or description.
|
|
5129
5129
|
`
|
|
5130
5130
|
).action(async (opts) => {
|
|
5131
|
-
const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-
|
|
5132
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5131
|
+
const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-YYQLQ7DN.js');
|
|
5132
|
+
const { WorkCommandError } = await import('./work-cmd-PKEAVXJC.js');
|
|
5133
5133
|
try {
|
|
5134
5134
|
await runWorkOpenPr(opts);
|
|
5135
5135
|
} catch (err) {
|
|
@@ -5145,9 +5145,9 @@ function registerRunnerCommands(program2) {
|
|
|
5145
5145
|
const runnerCmd = program2.command("runner").description("Take work from the implement and amend queues on this machine");
|
|
5146
5146
|
const configOption = "the cloud config file to run against (default: ~/.outerlayer/config.json)";
|
|
5147
5147
|
runnerCmd.command("start").description("Run the loop: claim work, run it, report, clean up, repeat").option("--config <path>", configOption).action(async (opts) => {
|
|
5148
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5149
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5150
|
-
const { RunnerAlreadyRunningError } = await import('./pidfile-
|
|
5148
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-ZDENMTEW.js');
|
|
5149
|
+
const { start, RunnerStartError } = await import('./loop-UBAR3KBZ.js');
|
|
5150
|
+
const { RunnerAlreadyRunningError } = await import('./pidfile-KQ2EJABZ.js');
|
|
5151
5151
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5152
5152
|
try {
|
|
5153
5153
|
const { realUpdateDeps } = await import('./real-deps-QX5YH7FG.js');
|
|
@@ -5164,10 +5164,10 @@ function registerRunnerCommands(program2) {
|
|
|
5164
5164
|
"after",
|
|
5165
5165
|
"\nReads OUTERLAYER_URL, OUTERLAYER_APP_ID, OUTERLAYER_API_KEY, OUTERLAYER_RUNNER_NAME and one Claude credential\n(CLAUDE_CODE_OAUTH_TOKEN or ANTHROPIC_API_KEY) from the environment. OUTERLAYER_AGENT\nis optional and defaults to claude. On a later start it refuses variables that disagree with the config in the volume.\nThe image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use `runner start`.\n"
|
|
5166
5166
|
).action(async () => {
|
|
5167
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5168
|
-
const { containerStart } = await import('./container-start-
|
|
5169
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5170
|
-
const { RunnerAlreadyRunningError } = await import('./pidfile-
|
|
5167
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-ZDENMTEW.js');
|
|
5168
|
+
const { containerStart } = await import('./container-start-PAUJUXJX.js');
|
|
5169
|
+
const { start, RunnerStartError } = await import('./loop-UBAR3KBZ.js');
|
|
5170
|
+
const { RunnerAlreadyRunningError } = await import('./pidfile-KQ2EJABZ.js');
|
|
5171
5171
|
try {
|
|
5172
5172
|
const result = await containerStart({
|
|
5173
5173
|
env: process.env,
|
|
@@ -5188,16 +5188,16 @@ function registerRunnerCommands(program2) {
|
|
|
5188
5188
|
"after",
|
|
5189
5189
|
"\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"
|
|
5190
5190
|
).action(async (opts) => {
|
|
5191
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5192
|
-
const { runnerDir } = await import('./paths-
|
|
5193
|
-
const { runUpdateSteps } = await import('./update-steps-
|
|
5191
|
+
const { defaultRunnerConfigPath } = await import('./config-ZDENMTEW.js');
|
|
5192
|
+
const { runnerDir } = await import('./paths-7PC3K7C3.js');
|
|
5193
|
+
const { runUpdateSteps } = await import('./update-steps-46FCWHJZ.js');
|
|
5194
5194
|
const text = await runUpdateSteps({ runnerDirPath: runnerDir(opts.config ?? defaultRunnerConfigPath()) });
|
|
5195
5195
|
process.stdout.write(`${text}
|
|
5196
5196
|
`);
|
|
5197
5197
|
});
|
|
5198
5198
|
runnerCmd.command("check").description("Validate the config, the hooks and the key, and print the effective settings").option("--config <path>", configOption).action(async (opts) => {
|
|
5199
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5200
|
-
const { runRunnerCheck } = await import('./check-
|
|
5199
|
+
const { defaultRunnerConfigPath } = await import('./config-ZDENMTEW.js');
|
|
5200
|
+
const { runRunnerCheck } = await import('./check-PVB3GPFQ.js');
|
|
5201
5201
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5202
5202
|
const result = await runRunnerCheck(configPath);
|
|
5203
5203
|
if (!result.ok) {
|
|
@@ -5218,8 +5218,8 @@ function registerRunnerCommands(program2) {
|
|
|
5218
5218
|
`);
|
|
5219
5219
|
});
|
|
5220
5220
|
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) => {
|
|
5221
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5222
|
-
const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-
|
|
5221
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-ZDENMTEW.js');
|
|
5222
|
+
const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-ZEFBJH24.js');
|
|
5223
5223
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5224
5224
|
if (opts.service !== true) {
|
|
5225
5225
|
const names = { print: "print", user: "user", unitName: "unit-name", buildMemoryMax: "build-memory-max", buildCpusMax: "build-cpus-max" };
|
|
@@ -5231,13 +5231,13 @@ function registerRunnerCommands(program2) {
|
|
|
5231
5231
|
}
|
|
5232
5232
|
}
|
|
5233
5233
|
const buildCpusMax = opts.buildCpusMax === void 0 ? void 0 : Number(opts.buildCpusMax);
|
|
5234
|
-
if (buildCpusMax !== void 0 && !(await import('./command-
|
|
5234
|
+
if (buildCpusMax !== void 0 && !(await import('./command-SKJHW4C4.js')).cpusAreValid(buildCpusMax)) {
|
|
5235
5235
|
fail(`--build-cpus-max ${opts.buildCpusMax} is not a number of CPUs from 0.01 to 1024.`);
|
|
5236
5236
|
return;
|
|
5237
5237
|
}
|
|
5238
5238
|
try {
|
|
5239
5239
|
if (opts.service === true) {
|
|
5240
|
-
const { installServiceCommand } = await import('./command-
|
|
5240
|
+
const { installServiceCommand } = await import('./command-SKJHW4C4.js');
|
|
5241
5241
|
const result2 = await installServiceCommand({
|
|
5242
5242
|
configPath,
|
|
5243
5243
|
print: opts.print,
|
|
@@ -5294,8 +5294,8 @@ To keep it running, run ${C.yellow}${cliInvocation()} runner install --service${
|
|
|
5294
5294
|
fail(`pass --service: \`${cliInvocation()} runner uninstall --service\` removes the runner's service.`);
|
|
5295
5295
|
return;
|
|
5296
5296
|
}
|
|
5297
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5298
|
-
const { uninstallServiceCommand } = await import('./command-
|
|
5297
|
+
const { defaultRunnerConfigPath } = await import('./config-ZDENMTEW.js');
|
|
5298
|
+
const { uninstallServiceCommand } = await import('./command-SKJHW4C4.js');
|
|
5299
5299
|
const result = await uninstallServiceCommand({ configPath: opts.config ?? defaultRunnerConfigPath(), unitName: opts.unitName, home: homeFromEnv() });
|
|
5300
5300
|
if (result.ok) for (const line of result.lines) process.stdout.write(`${C.green}\u2713${C.reset} ${line}
|
|
5301
5301
|
`);
|
|
@@ -5322,12 +5322,12 @@ already in claude.env is used.
|
|
|
5322
5322
|
printf '%s' "$CLAUDE_CODE_OAUTH_TOKEN" | ${cliInvocation()} runner init --agent claude --factory <org>/<factory>
|
|
5323
5323
|
`
|
|
5324
5324
|
).action(async (opts) => {
|
|
5325
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5326
|
-
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-
|
|
5327
|
-
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-
|
|
5328
|
-
const { detectMachine } = await import('./machine-
|
|
5329
|
-
const { chooseVm, runVmInit, VmInitError } = await import('./init-
|
|
5330
|
-
const { AGENT_COMMANDS, credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-
|
|
5325
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-ZDENMTEW.js');
|
|
5326
|
+
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-DWOODP2Q.js');
|
|
5327
|
+
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-N5YEMI3S.js');
|
|
5328
|
+
const { detectMachine } = await import('./machine-H4Y5X424.js');
|
|
5329
|
+
const { chooseVm, runVmInit, VmInitError } = await import('./init-GF43ZLZI.js');
|
|
5330
|
+
const { AGENT_COMMANDS, credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-KCZBSWOB.js');
|
|
5331
5331
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5332
5332
|
if (opts.agent !== void 0 && !isAgentName(opts.agent)) {
|
|
5333
5333
|
fail(`--agent ${opts.agent}: runner init writes commands for ${Object.keys(AGENT_COMMANDS).join(", ")}. For another agent, leave --agent out and edit runner.commands.`);
|
|
@@ -5341,7 +5341,7 @@ already in claude.env is used.
|
|
|
5341
5341
|
try {
|
|
5342
5342
|
let credential;
|
|
5343
5343
|
if (agent !== void 0) {
|
|
5344
|
-
const { readPipedKey } = await import('./login-browser-
|
|
5344
|
+
const { readPipedKey } = await import('./login-browser-YB7AMKHR.js');
|
|
5345
5345
|
credential = credentialFromStdin(
|
|
5346
5346
|
await readPipedKey(process.stdin, {
|
|
5347
5347
|
onWaiting: () => process.stderr.write(`runner init is waiting for Claude's credential on stdin; close stdin to use the one already in claude.env
|
|
@@ -5358,7 +5358,7 @@ already in claude.env is used.
|
|
|
5358
5358
|
const chunks = [];
|
|
5359
5359
|
for await (const chunk of process.stdin) chunks.push(Buffer.from(chunk));
|
|
5360
5360
|
const result2 = runRunnerInit(configPath, { machine, configFromStdin: Buffer.concat(chunks).toString("utf8"), requireContainer: true });
|
|
5361
|
-
const { ensureHostKey: ensureHostKey2 } = await import('./host-key-
|
|
5361
|
+
const { ensureHostKey: ensureHostKey2 } = await import('./host-key-Q5DEAP3Q.js');
|
|
5362
5362
|
const hostKey2 = await ensureHostKey2(configPath);
|
|
5363
5363
|
process.stdout.write(`host key ${hostKey2.fingerprint}
|
|
5364
5364
|
hooks: ${result2.hooks}
|
|
@@ -5417,7 +5417,7 @@ hooks: ${result2.hooks}
|
|
|
5417
5417
|
const prepared = prepareRunnerInit(configPath, { machine, allowProcess, agent, credential, keyFromLogin: makeKey !== void 0 });
|
|
5418
5418
|
const created = makeKey === void 0 ? void 0 : await makeKey();
|
|
5419
5419
|
const result = writeRunnerInit(prepared, created);
|
|
5420
|
-
const { ensureHostKey } = await import('./host-key-
|
|
5420
|
+
const { ensureHostKey } = await import('./host-key-Q5DEAP3Q.js');
|
|
5421
5421
|
const hostKey = await ensureHostKey(configPath);
|
|
5422
5422
|
if (created !== void 0) {
|
|
5423
5423
|
process.stdout.write(`${C.green}\u2713${C.reset} saved the runner key in ${result.configPath}
|
|
@@ -5445,7 +5445,7 @@ ${C.yellow}${result.note}${C.reset}
|
|
|
5445
5445
|
To isolate builds in containers instead, run ${C.yellow}${cliInvocation()} runner init --vm${C.reset}.
|
|
5446
5446
|
`);
|
|
5447
5447
|
}
|
|
5448
|
-
const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-
|
|
5448
|
+
const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-ZEFBJH24.js');
|
|
5449
5449
|
let installedLayout = false;
|
|
5450
5450
|
let noService = "it starts the runner from the install layout, which needs a CLI installed with npm";
|
|
5451
5451
|
try {
|
|
@@ -5477,7 +5477,7 @@ ${C.yellow}The runner will not update itself: ${installErr.message}${C.reset}
|
|
|
5477
5477
|
let serviceUp = false;
|
|
5478
5478
|
let restart;
|
|
5479
5479
|
if (installedLayout) {
|
|
5480
|
-
const { installServiceCommand } = await import('./command-
|
|
5480
|
+
const { installServiceCommand } = await import('./command-SKJHW4C4.js');
|
|
5481
5481
|
const service = await installServiceCommand({
|
|
5482
5482
|
configPath,
|
|
5483
5483
|
entryPath: process.argv[1] ?? "",
|
|
@@ -5521,12 +5521,12 @@ Next:
|
|
|
5521
5521
|
"after",
|
|
5522
5522
|
"\nA repository governed by a control plane builds the control plane's image, at the commit\nthe gateway has stored for it. A repository that governs itself fetches the head of its\ndefault branch into the runner's cache. Either way it reads .devcontainer/devcontainer.json\nand builds the image with the devcontainer CLI. Settings\nthat reach the host or widen the container's privileges are ignored and listed. The\nimage holds this CLI and a pinned Claude Code. Nothing runs inside the image.\nA repository with no devcontainer file builds on the universal image the CLI pins by digest.\n"
|
|
5523
5523
|
).action(async (opts) => {
|
|
5524
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5525
|
-
const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-
|
|
5524
|
+
const { defaultRunnerConfigPath } = await import('./config-ZDENMTEW.js');
|
|
5525
|
+
const { baseLines, buildRepositoryImage, RecipeError } = await import('./build-UBZNVGY2.js');
|
|
5526
5526
|
const { currentCliBuild } = await import('./cli-build-K56DK4DS.js');
|
|
5527
|
-
const { createDockerHost } = await import('./docker-
|
|
5528
|
-
const { builderSpec } = await import('./builder-
|
|
5529
|
-
const { loadRunnerConfig } = await import('./config-
|
|
5527
|
+
const { createDockerHost } = await import('./docker-SKD6VTBD.js');
|
|
5528
|
+
const { builderSpec } = await import('./builder-SX4W5VF3.js');
|
|
5529
|
+
const { loadRunnerConfig } = await import('./config-ZDENMTEW.js');
|
|
5530
5530
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5531
5531
|
const loaded = (() => {
|
|
5532
5532
|
try {
|
|
@@ -5537,12 +5537,13 @@ Next:
|
|
|
5537
5537
|
})();
|
|
5538
5538
|
const memory = loaded?.build?.memory ?? "8g";
|
|
5539
5539
|
try {
|
|
5540
|
-
const { ensureRunnerIdentity } = await import('./runner-identity-
|
|
5540
|
+
const { ensureRunnerIdentity } = await import('./runner-identity-D5HQ22D3.js');
|
|
5541
5541
|
await ensureRunnerIdentity(configPath, { log: (line) => console.error(line) }).catch((err) => {
|
|
5542
5542
|
console.error(`the runner's Docker identity could not be stored: ${err instanceof Error ? err.message : String(err)}`);
|
|
5543
5543
|
});
|
|
5544
|
-
const { imageTargetFor } = await import('./governing-source-
|
|
5545
|
-
const
|
|
5544
|
+
const { imageTargetFor } = await import('./governing-source-6DH2NLPE.js');
|
|
5545
|
+
const { runnerCalls } = await import('./caller-IIA2TPAA.js');
|
|
5546
|
+
const target = await imageTargetFor({ config: loaded === void 0 || loaded.fleet === true ? void 0 : runnerCalls(loaded), repository: opts.repository, fetchImpl: fetch });
|
|
5546
5547
|
if (!target.ok) {
|
|
5547
5548
|
if (opts.json) {
|
|
5548
5549
|
writeJson({ error: { code: "governing_source_unavailable", message: target.reason } });
|
|
@@ -5605,38 +5606,43 @@ Next:
|
|
|
5605
5606
|
}
|
|
5606
5607
|
});
|
|
5607
5608
|
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) => {
|
|
5608
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5609
|
-
const { requestStop } = await import('./loop-
|
|
5609
|
+
const { defaultRunnerConfigPath } = await import('./config-ZDENMTEW.js');
|
|
5610
|
+
const { requestStop } = await import('./loop-UBAR3KBZ.js');
|
|
5610
5611
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5611
|
-
const { runnerImageVersion } = await import('./image-tag-
|
|
5612
|
+
const { runnerImageVersion } = await import('./image-tag-JWATDMIZ.js');
|
|
5612
5613
|
await requestStop(configPath, Boolean(opts.now), void 0, { image: runnerImageVersion() !== void 0 });
|
|
5613
5614
|
});
|
|
5614
5615
|
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) => {
|
|
5615
|
-
const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-
|
|
5616
|
-
const { jobsDir, runnerDir } = await import('./paths-
|
|
5617
|
-
const { listJobFiles, runnerProcessState } = await import('./loop-
|
|
5618
|
-
const { renderStatus } = await import('./status-
|
|
5619
|
-
const { readHousekeepingRecord } = await import('./record-
|
|
5616
|
+
const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-ZDENMTEW.js');
|
|
5617
|
+
const { jobsDir, runnerDir } = await import('./paths-7PC3K7C3.js');
|
|
5618
|
+
const { listJobFiles, runnerProcessState } = await import('./loop-UBAR3KBZ.js');
|
|
5619
|
+
const { renderStatus } = await import('./status-UPEZZYCT.js');
|
|
5620
|
+
const { readHousekeepingRecord } = await import('./record-IHEF6C33.js');
|
|
5620
5621
|
const path2 = await import('path');
|
|
5621
5622
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5622
5623
|
const all = listJobFiles(configPath);
|
|
5623
5624
|
const housekeeping = readHousekeepingRecord(runnerDir(configPath));
|
|
5624
|
-
const { readPendingUpdate } = await import('./pending-
|
|
5625
|
+
const { readPendingUpdate } = await import('./pending-2VIIFAP4.js');
|
|
5625
5626
|
const pendingUpdate = readPendingUpdate(runnerDir(configPath));
|
|
5626
|
-
const { readImageStatus } = await import('./image-tag-
|
|
5627
|
+
const { readImageStatus } = await import('./image-tag-JWATDMIZ.js');
|
|
5627
5628
|
const image = readImageStatus(runnerDir(configPath));
|
|
5628
5629
|
let host = "unknown";
|
|
5629
5630
|
let concurrency = 1;
|
|
5631
|
+
let fleet;
|
|
5630
5632
|
try {
|
|
5631
5633
|
const config = loadRunnerConfig(configPath);
|
|
5632
5634
|
host = config.host;
|
|
5633
5635
|
concurrency = config.concurrency;
|
|
5636
|
+
if (config.fleet === true) {
|
|
5637
|
+
const { readFleetState } = await import('./state-FJPSFOID.js');
|
|
5638
|
+
fleet = { state: readFleetState(configPath) };
|
|
5639
|
+
}
|
|
5634
5640
|
} catch {
|
|
5635
5641
|
}
|
|
5636
5642
|
const processState = runnerProcessState(configPath);
|
|
5637
5643
|
const service = await (async () => {
|
|
5638
5644
|
if (process.platform !== "linux" || !existsSync("/run/systemd/system")) return void 0;
|
|
5639
|
-
const { inspectRunnerService } = await import('./find-unit-
|
|
5645
|
+
const { inspectRunnerService } = await import('./find-unit-IBL736HQ.js');
|
|
5640
5646
|
const facts = inspectRunnerService(configPath);
|
|
5641
5647
|
return facts === void 0 ? void 0 : { unit: facts.unit, running: facts.mainPid !== void 0, delegated: facts.delegate };
|
|
5642
5648
|
})();
|
|
@@ -5651,6 +5657,7 @@ Next:
|
|
|
5651
5657
|
housekeeping: processState.state === "running" ? housekeeping : { ...housekeeping, holding: void 0 },
|
|
5652
5658
|
pendingUpdate: processState.state === "running" ? pendingUpdate : void 0,
|
|
5653
5659
|
image,
|
|
5660
|
+
...fleet === void 0 ? {} : { fleet: fleet.state ?? null },
|
|
5654
5661
|
jobs: all.map(({ dirName, job }) => ({ ...withoutItemKey(job), jobDir: path2.join(jobsDir(configPath), dirName) }))
|
|
5655
5662
|
});
|
|
5656
5663
|
return;
|
|
@@ -5667,26 +5674,29 @@ Next:
|
|
|
5667
5674
|
housekeeping,
|
|
5668
5675
|
pendingUpdate,
|
|
5669
5676
|
image,
|
|
5670
|
-
service
|
|
5677
|
+
service,
|
|
5678
|
+
...fleet === void 0 ? {} : { fleet }
|
|
5671
5679
|
})}
|
|
5672
5680
|
`
|
|
5673
5681
|
);
|
|
5674
5682
|
});
|
|
5675
|
-
runnerCmd.command("logs").argument("<item>", "the work item's number in the factory").description("Print the newest attempt's log for one item").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) => {
|
|
5676
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5677
|
-
const { listJobFiles } = await import('./loop-
|
|
5678
|
-
const {
|
|
5683
|
+
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) => {
|
|
5684
|
+
const { defaultRunnerConfigPath } = await import('./config-ZDENMTEW.js');
|
|
5685
|
+
const { listJobFiles } = await import('./loop-UBAR3KBZ.js');
|
|
5686
|
+
const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-3YRC7HRA.js');
|
|
5679
5687
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5680
|
-
const
|
|
5681
|
-
|
|
5682
|
-
|
|
5688
|
+
const jobs = listJobFiles(configPath);
|
|
5689
|
+
const selected = selectAttempt(jobs, itemArg);
|
|
5690
|
+
if (selected.kind === "ambiguous") {
|
|
5691
|
+
fail(describeAmbiguous(itemArg, selected.attempts));
|
|
5683
5692
|
return;
|
|
5684
5693
|
}
|
|
5685
|
-
|
|
5686
|
-
|
|
5687
|
-
fail(`no attempt on #${item} under ${configPath}`);
|
|
5694
|
+
if (selected.kind === "none") {
|
|
5695
|
+
const item = parseTrackerNumber(itemArg);
|
|
5696
|
+
fail(item === void 0 ? trackerNumberError("<item>", itemArg) : `no attempt on #${item} under ${configPath}`);
|
|
5688
5697
|
return;
|
|
5689
5698
|
}
|
|
5699
|
+
const attempt = selected.attempt;
|
|
5690
5700
|
const logPath = logPathFor(configPath, attempt.dirName, attempt.job);
|
|
5691
5701
|
process.stdout.write(`${C.dim}${logPath}${C.reset}
|
|
5692
5702
|
`);
|
|
@@ -5884,7 +5894,7 @@ Self-host deployments also need --app-id: without a key service to resolve the
|
|
|
5884
5894
|
caller from the bearer token, the gateway answers 401 without that header.
|
|
5885
5895
|
`
|
|
5886
5896
|
).action(async (opts) => {
|
|
5887
|
-
const { runMcpInstall, handleMcpInstallError, McpInstallError } = await import('./mcp-install-cmd-
|
|
5897
|
+
const { runMcpInstall, handleMcpInstallError, McpInstallError } = await import('./mcp-install-cmd-23ZY4IBK.js');
|
|
5888
5898
|
try {
|
|
5889
5899
|
if (opts.transport !== void 0 && opts.transport !== "stdio" && opts.transport !== "http") {
|
|
5890
5900
|
throw new McpInstallError(`--transport must be "stdio" or "http", got "${opts.transport}"`);
|
|
@@ -5906,7 +5916,7 @@ caller from the bearer token, the gateway answers 401 without that header.
|
|
|
5906
5916
|
"after",
|
|
5907
5917
|
"\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"
|
|
5908
5918
|
).action(async (opts) => {
|
|
5909
|
-
const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-
|
|
5919
|
+
const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-PKXIHUOX.js');
|
|
5910
5920
|
try {
|
|
5911
5921
|
await runMcpServe({ url: opts.url, appId: opts.appId });
|
|
5912
5922
|
} catch (err) {
|
|
@@ -5927,7 +5937,7 @@ would get, the instruction files and the names of the skills. It warns when the
|
|
|
5927
5937
|
no \`build\`. It needs the context-read permission: a login or a factory key with it is enough.
|
|
5928
5938
|
`
|
|
5929
5939
|
).action(async (opts) => {
|
|
5930
|
-
const { runContextShow, ContextShowError } = await import('./context-show-cmd-
|
|
5940
|
+
const { runContextShow, ContextShowError } = await import('./context-show-cmd-OWREGUJL.js');
|
|
5931
5941
|
try {
|
|
5932
5942
|
const result = await runContextShow({ repo: opts.repo, json: opts.json, url: opts.url, apiKey: opts.apiKey, appId: opts.appId });
|
|
5933
5943
|
process.stdout.write(result.output);
|