@outerlayer/cli 0.41.0-next.20261118043303 → 0.41.0-next.20261118130049
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 +5 -6
- package/dist/{agent-credential-HRNW646E.js → agent-credential-A3NYNRQZ.js} +7 -7
- package/dist/agent-setup-7LD2SPXX.js +43 -0
- package/dist/{agent-subcommand-ZILR4JWP.js → agent-subcommand-JBWCF6DW.js} +6 -6
- package/dist/{artifact-link-cmd-B6QPCFUL.js → artifact-link-cmd-BCGCPV4E.js} +2 -2
- package/dist/{bridge-HQDMB2OV.js → bridge-4UMTIJEF.js} +10 -10
- package/dist/build-5OOYQ3X6.js +28 -0
- package/dist/build-disk-K3A5TSZL.js +23 -0
- package/dist/build-info.json +1 -1
- package/dist/builder-XQVN4S2C.js +22 -0
- package/dist/caller-HIDRWXGV.js +25 -0
- package/dist/{check-UP3YYRBH.js → check-75PJJJEF.js} +59 -59
- package/dist/{chunk-HQYVI5T3.js → chunk-22UMHY5K.js} +100 -188
- package/dist/{chunk-EEPVNSQ7.js → chunk-2BLKGA6O.js} +2 -2
- package/dist/{chunk-UG4AUZCR.js → chunk-2IDR4YTQ.js} +950 -10
- package/dist/{chunk-OOW3QG7F.js → chunk-2S3Q4MKT.js} +48 -49
- package/dist/{chunk-4SHMBQWH.js → chunk-3HWIA4F7.js} +9 -9
- package/dist/{chunk-Q7S5EVU7.js → chunk-3UBNHWYC.js} +5 -5
- package/dist/{chunk-OOM4TEG5.js → chunk-3WCVUS2Z.js} +1 -1
- package/dist/{chunk-NILMZJ6I.js → chunk-3WDQFXSS.js} +11 -11
- package/dist/{chunk-GBP3QSDO.js → chunk-3XPNEYTJ.js} +9 -9
- package/dist/{chunk-QW43URTD.js → chunk-4DTWHAXO.js} +4 -4
- package/dist/{chunk-VNVX7KRW.js → chunk-4GLGLMDX.js} +4 -4
- package/dist/{chunk-TLCTOEU5.js → chunk-6ARIDREF.js} +1 -1
- package/dist/{chunk-INTR7TML.js → chunk-6LJ6HOMB.js} +2 -2
- package/dist/{chunk-NBXNBAAG.js → chunk-6NPBCLAT.js} +1 -1
- package/dist/{chunk-Q7Z6ELTL.js → chunk-7FAKHR6W.js} +9 -1
- package/dist/{chunk-HUX4NILD.js → chunk-A5YNDECV.js} +3 -3
- package/dist/{chunk-Y2HG7SGT.js → chunk-AEIG6IIV.js} +1 -1
- package/dist/{chunk-6LKTKDMY.js → chunk-ATGEXIO3.js} +2 -2
- package/dist/{chunk-TN3NJYI6.js → chunk-AUONCCF6.js} +4 -4
- package/dist/{chunk-WGR5CYGQ.js → chunk-BXJBS7DU.js} +1 -1
- package/dist/{chunk-WSHHRIGI.js → chunk-BYYJOL4H.js} +4 -4
- package/dist/{chunk-L2D3VD2K.js → chunk-C3OJZODB.js} +1 -1
- package/dist/{chunk-HK6555J6.js → chunk-C73EUOPF.js} +9 -9
- package/dist/{chunk-NFGW3C2L.js → chunk-CRFMJVYJ.js} +11 -11
- package/dist/{chunk-NJKM5XGH.js → chunk-CXCUBYZB.js} +5 -5
- package/dist/{chunk-WLWVMXM4.js → chunk-DDWQGIHZ.js} +7 -7
- package/dist/{chunk-B3MRE2XC.js → chunk-DRC76AT6.js} +2 -2
- package/dist/{chunk-4U3SWN5G.js → chunk-DUXSUYCU.js} +6 -6
- package/dist/{chunk-B6W2LW7E.js → chunk-DYKRQC4O.js} +1 -1
- package/dist/{chunk-IMWZXJ7S.js → chunk-EACOTFE4.js} +31 -31
- package/dist/{chunk-ZH6AN3UH.js → chunk-EHBF3L3N.js} +2 -2
- package/dist/{chunk-BQQ7AXXW.js → chunk-EK2WT3GB.js} +1 -1
- package/dist/{chunk-FGVKSK2P.js → chunk-F4EWIL7N.js} +1 -1
- package/dist/{chunk-ZBQDEROG.js → chunk-FJPKQVTX.js} +5 -5
- package/dist/{chunk-PDFCYYCC.js → chunk-GBQRVYYE.js} +3 -3
- package/dist/{chunk-7SLZKQBB.js → chunk-GCT2J4Y7.js} +3 -3
- package/dist/{chunk-XEETBQKD.js → chunk-GQADCHPA.js} +1 -1
- package/dist/{chunk-IL7GVNVQ.js → chunk-GRMD6ODN.js} +1 -1
- package/dist/{chunk-XX7LTNEB.js → chunk-H2U3YTON.js} +6 -6
- package/dist/{chunk-VYFML7GX.js → chunk-I3NK6WNF.js} +5 -5
- package/dist/{chunk-ZJL6MDF7.js → chunk-IJCG3R2B.js} +10 -10
- package/dist/{chunk-ZGQQ2WPG.js → chunk-J6ZWZDL4.js} +6 -6
- package/dist/{chunk-Z7BIDBWN.js → chunk-JB6WBOTZ.js} +7 -7
- package/dist/{chunk-GJC42QWN.js → chunk-JMWZJ34F.js} +8 -8
- package/dist/{chunk-HG3GUG5G.js → chunk-JSJRXFAF.js} +1 -1
- package/dist/{chunk-IL3IZXH4.js → chunk-JVKBRZFL.js} +11 -11
- package/dist/{chunk-PQWTPA6Z.js → chunk-KLDWF2YG.js} +20 -61
- package/dist/{chunk-SO7JMTVX.js → chunk-KMUKDHAY.js} +1 -1
- package/dist/{chunk-DJK3IK6K.js → chunk-LIPSGE6C.js} +1 -1
- package/dist/{chunk-QXC5QWPU.js → chunk-LWOMQZNJ.js} +7 -7
- package/dist/{chunk-U2AAZY5W.js → chunk-MLLR4T7L.js} +1 -1
- package/dist/{chunk-AXDQ3OD6.js → chunk-MLMHMLJU.js} +8 -8
- package/dist/{chunk-BUSPSV2F.js → chunk-MQQDEBRD.js} +9 -9
- package/dist/{chunk-IQTWJYFV.js → chunk-MV4VDZH5.js} +1 -1
- package/dist/{chunk-LI4NF5TS.js → chunk-NB34A4QI.js} +3 -3
- package/dist/{chunk-QYNH6MBI.js → chunk-NB52SVJ4.js} +3 -3
- package/dist/{chunk-36QFNTJY.js → chunk-OKYZSH7K.js} +3 -3
- package/dist/{chunk-OCDZ7MBX.js → chunk-P5IFJ6LR.js} +3 -3
- package/dist/{chunk-7FD3UTHI.js → chunk-PQA5L35J.js} +3 -3
- package/dist/{chunk-NH4GSJZN.js → chunk-QA3CINFO.js} +3 -3
- package/dist/{chunk-ILHFH56O.js → chunk-QLOJITTG.js} +1 -1
- package/dist/{chunk-NWQYWF6N.js → chunk-QTH3ZPB7.js} +4 -4
- package/dist/{chunk-X24VL3Q6.js → chunk-QYLY3Z6R.js} +1 -1
- package/dist/{chunk-K6LFU64M.js → chunk-RCDTKXXI.js} +4 -4
- package/dist/{chunk-YTEK3QUQ.js → chunk-SPWA3JVM.js} +4 -4
- package/dist/{chunk-QEJKRR2Q.js → chunk-SUOL5WGL.js} +6 -6
- package/dist/{chunk-XLZY7V3X.js → chunk-TZHVJ5WH.js} +1 -1
- package/dist/{chunk-IEPYESAY.js → chunk-UFCGX2Y5.js} +1 -1
- package/dist/{chunk-EKBY375P.js → chunk-UQHML2OB.js} +1 -1
- package/dist/{chunk-EMDZUXJX.js → chunk-UVEF3NPK.js} +2 -2
- package/dist/{chunk-23YVVYQC.js → chunk-UWRXRSCE.js} +1 -1
- package/dist/{chunk-QW6TKDBL.js → chunk-V3NMSDOC.js} +1 -1
- package/dist/{chunk-KSSIFZDR.js → chunk-VDEC6G2D.js} +5 -5
- package/dist/{chunk-ZMYVA3YA.js → chunk-VPPCTN32.js} +4 -4
- package/dist/{chunk-3HL5DUKO.js → chunk-VYET47NT.js} +7 -7
- package/dist/{chunk-ZDK4XRBT.js → chunk-XJ5MAYUA.js} +5 -5
- package/dist/{chunk-2DJBYNDC.js → chunk-YNK4J3E5.js} +1 -1
- package/dist/{chunk-KKIANRHM.js → chunk-YNPPXB57.js} +1 -1
- package/dist/{chunk-B3ZKYFBI.js → chunk-YWLRN4XV.js} +1 -1
- package/dist/{chunk-TXAXSZ7A.js → chunk-Z63PASAI.js} +3 -3
- package/dist/{chunk-TMUHUTA2.js → chunk-ZKL4BQAP.js} +1 -1
- package/dist/{claude-launcher-JTXL22XE.js → claude-launcher-O6LAYM6F.js} +10 -10
- package/dist/{cli-KVL7IJMJ.js → cli-GPY5WHYF.js} +176 -176
- package/dist/{command-ATRHODTN.js → command-PQIDL34C.js} +56 -56
- package/dist/{config-EFPTYQ4N.js → config-2ODEMRET.js} +15 -15
- package/dist/{connect-cmd-VL7KFY66.js → connect-cmd-3PCES6JG.js} +16 -16
- package/dist/{container-start-ST5I64MY.js → container-start-F75ZOLOI.js} +53 -53
- package/dist/{context-cleanup-AQQC4EZ6.js → context-cleanup-HMJJVD3R.js} +6 -6
- package/dist/{context-show-cmd-YODJEXKE.js → context-show-cmd-EFEVWXG3.js} +17 -17
- package/dist/{control-plane-launch-LUSKGM3T.js → control-plane-launch-JSV336S6.js} +18 -18
- package/dist/{demo-record-cmd-OT5X5QRX.js → demo-record-cmd-T3MRNY4F.js} +11 -11
- package/dist/{demo-voice-cmd-GXV57LO3.js → demo-voice-cmd-QN3F6IVB.js} +25 -25
- package/dist/{dist-ITIDOS3E.js → dist-WEDCUAFS.js} +2 -2
- package/dist/docker-U6TIZF6L.js +22 -0
- package/dist/{doctor-SYESAA2Y.js → doctor-RRGWO4OB.js} +55 -55
- package/dist/emit-artifact-cmd-DMCQEDPP.js +46 -0
- package/dist/{emit-cmd-IPPDMPP6.js → emit-cmd-KOG752D3.js} +9 -9
- package/dist/emit-criteria-cmd-6MBR43QB.js +37 -0
- package/dist/{emit-demo-cmd-S2RPE5TI.js → emit-demo-cmd-R7K4R7H3.js} +25 -25
- package/dist/{emit-finding-cmd-I3UZ6A26.js → emit-finding-cmd-U5YXGUP5.js} +19 -19
- package/dist/{emit-step-cmd-WRWIKVHO.js → emit-step-cmd-SRUU33RB.js} +19 -19
- package/dist/{exec-client-L32MBS5M.js → exec-client-Y6AAFVTZ.js} +11 -11
- package/dist/{find-unit-4OYP7R3I.js → find-unit-7DECI3VM.js} +16 -16
- package/dist/{findings-cmd-BI3PMYEP.js → findings-cmd-T2TOB6KO.js} +19 -19
- package/dist/fleet-readiness-KQ5V6IG3.js +33 -0
- package/dist/governing-source-TM2PTQ3U.js +45 -0
- package/dist/guest-init-WU4ZAAV5.js +22 -0
- package/dist/{hook-fast-LJQP5DE3.js → hook-fast-2HV5SDMH.js} +4 -4
- package/dist/{hook-install-33FYUDIE.js → hook-install-J6O7OY65.js} +6 -6
- package/dist/{hook-wrap-fast-7E5LAYEU.js → hook-wrap-fast-PILF2WIO.js} +3 -3
- package/dist/host-checks-NAGX2VDD.js +83 -0
- package/dist/host-key-7FQTMPTR.js +20 -0
- package/dist/{image-tag-BI6C4CKO.js → image-tag-CNURVQ6A.js} +11 -11
- package/dist/index.js +6 -6
- package/dist/{init-MB2POSL3.js → init-DUDTTY3W.js} +51 -51
- package/dist/init-FIB75BJT.js +83 -0
- package/dist/{init-agent-7EIXAFDY.js → init-agent-A63WZ3UR.js} +51 -51
- package/dist/init-cmd-VM2K5K33.js +55 -0
- package/dist/{init-update-EC4G5Q26.js → init-update-CWP654DO.js} +29 -29
- package/dist/install-cmd-KNSCKS5G.js +28 -0
- package/dist/launch-agent-G23B3AZY.js +28 -0
- package/dist/{layout-JQCHHAB7.js → layout-EASZTHPX.js} +6 -6
- package/dist/{login-browser-J5BFWBCZ.js → login-browser-FGB3SPPL.js} +2 -2
- package/dist/{logs-S2E32DDI.js → logs-FYUUZGVY.js} +10 -10
- package/dist/loop-JVCXNJII.js +93 -0
- package/dist/machine-4TGRLFX6.js +83 -0
- package/dist/{machine-skills-XOZYRCQU.js → machine-skills-YJTIV4CG.js} +6 -6
- package/dist/{mcp-install-cmd-2OYL5QG2.js → mcp-install-cmd-FMIWTXSN.js} +6 -6
- package/dist/{mcp-serve-cmd-BGUFN5HD.js → mcp-serve-cmd-XSC6JKPN.js} +12 -12
- package/dist/{paths-7GRBF4FR.js → paths-2NKGJEOH.js} +10 -10
- package/dist/pending-IPTBJ23E.js +20 -0
- package/dist/pidfile-JYF2IO24.js +21 -0
- package/dist/record-6CSKET4N.js +20 -0
- package/dist/{relay-LPJV7OVV.js → relay-DURC5GWY.js} +8 -8
- package/dist/{relay-protocol-3BVU2NN5.js → relay-protocol-Y35SJFEB.js} +8 -8
- package/dist/{run-cmd-VX3W4XRS.js → run-cmd-T7GT6KM7.js} +19 -19
- package/dist/{runner-agents-VTEO2GEK.js → runner-agents-JFQQ7IB4.js} +6 -6
- package/dist/runner-env-AODHERZK.js +26 -0
- package/dist/runner-identity-ZHHB66RZ.js +22 -0
- package/dist/{runner-key-4E3N523Z.js → runner-key-TN5JBLEJ.js} +51 -51
- package/dist/session-sender-SAS3TI3A.js +46 -0
- package/dist/{setup-cmd-YYICF6KV.js → setup-cmd-WBFRSOMO.js} +38 -22
- package/dist/{setup-wiring-MBAPYPIM.js → setup-wiring-FFAB5KTV.js} +100 -66
- package/dist/{shell-function-6ZFAVOSM.js → shell-function-JWLJSRIM.js} +2 -2
- package/dist/{spec-cmd-IOOIZLHA.js → spec-cmd-PBGFGAXJ.js} +20 -20
- package/dist/{starter-pack-VJ6M5POI.js → starter-pack-DQV55I24.js} +7 -7
- package/dist/state-LU4QEDY2.js +20 -0
- package/dist/{status-JMMO2LES.js → status-2NQ4ECP3.js} +51 -51
- package/dist/{statusline-fast-VVJF5W7X.js → statusline-fast-WRBKP3AS.js} +3 -3
- package/dist/{sync-cmd-MIY3CSOE.js → sync-cmd-4JT3G5OV.js} +23 -23
- package/dist/update-steps-HF7QE6DP.js +84 -0
- package/dist/{watch-3V2OVFAZ.js → watch-QHYJED4N.js} +23 -23
- package/dist/{work-claim-cmd-7PYXYZZJ.js → work-claim-cmd-DX5GOTQH.js} +25 -25
- package/dist/{work-cmd-2I7L7227.js → work-cmd-EU4NBOLZ.js} +19 -19
- package/dist/work-comment-cmd-T755RNST.js +41 -0
- package/dist/{work-demo-cmd-2I6VOWH5.js → work-demo-cmd-T5GOAB6O.js} +19 -19
- package/dist/{work-logs-cmd-AQBA46OJ.js → work-logs-cmd-T63RWLKG.js} +19 -19
- package/dist/{work-mock-cmd-AQPCQ4KI.js → work-mock-cmd-KSN7PZGO.js} +19 -19
- package/dist/{work-needs-attention-cmd-LW7VQFA6.js → work-needs-attention-cmd-NGKNSYT2.js} +19 -19
- package/dist/{work-no-change-cmd-ECYFFJFN.js → work-no-change-cmd-74TGMQHY.js} +19 -19
- package/dist/{work-open-pr-cmd-O4OVHG27.js → work-open-pr-cmd-D2EBUVDO.js} +20 -20
- package/dist/work-pr-cmd-2NZUROBY.js +36 -0
- package/dist/{work-proofs-cmd-C3C634CO.js → work-proofs-cmd-M56HY7FO.js} +21 -21
- package/dist/{work-proofs-record-S7SF4425.js → work-proofs-record-LRZ4KDWU.js} +29 -29
- package/dist/{work-stop-cmd-IQYI7NCK.js → work-stop-cmd-IZPPBGGN.js} +19 -19
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer-amend/SKILL.md +5 -5
- package/skill-pack/maintained/outerlayer-amend/references/check-items.md +16 -16
- package/skill-pack/maintained/outerlayer-amend/references/failed-checks.md +2 -2
- package/skill-pack/maintained/outerlayer-build/SKILL.md +2 -2
- package/skill-pack/maintained/outerlayer-build/references/release.md +1 -1
- package/skill-pack/maintained/outerlayer-cli/references/find-out-why-a-build-ended.md +2 -2
- package/dist/agent-setup-K5FWHJWR.js +0 -43
- package/dist/build-3HTOQKNF.js +0 -28
- package/dist/build-disk-SK2UT2DT.js +0 -23
- package/dist/builder-WCXNOGKF.js +0 -22
- package/dist/caller-VUQN24KZ.js +0 -25
- package/dist/docker-2EAXH2W2.js +0 -22
- package/dist/emit-artifact-cmd-FMYIDU4K.js +0 -46
- package/dist/emit-criteria-cmd-QXBQAOPQ.js +0 -37
- package/dist/fleet-readiness-7IXZYEIJ.js +0 -33
- package/dist/governing-source-FAXSIJ4Q.js +0 -45
- package/dist/guest-init-7JHRMG5K.js +0 -22
- package/dist/host-checks-US7MSJVQ.js +0 -83
- package/dist/host-key-BOUX75EI.js +0 -20
- package/dist/init-W46LLTR3.js +0 -83
- package/dist/init-cmd-VTNMWE6X.js +0 -55
- package/dist/install-cmd-WTKSXRM7.js +0 -28
- package/dist/launch-agent-JXPYZ3BW.js +0 -28
- package/dist/loop-HQREFLQ2.js +0 -93
- package/dist/machine-4K3EUQNF.js +0 -83
- package/dist/pending-4LIHL6P7.js +0 -20
- package/dist/pidfile-WYTFOPLR.js +0 -21
- package/dist/record-VCLLNGFQ.js +0 -20
- package/dist/runner-env-XHPLX7Q2.js +0 -26
- package/dist/runner-identity-WYXCLNP5.js +0 -22
- package/dist/session-sender-I4L22CLF.js +0 -46
- package/dist/state-TPL7K4S3.js +0 -20
- package/dist/update-steps-WXP7ANHM.js +0 -84
- package/dist/work-comment-cmd-UOT7NIQP.js +0 -41
- package/dist/work-pr-cmd-YKDXW5RP.js +0 -36
|
@@ -1,28 +1,27 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { checkStarterFiles, contextIsGoverned } from './chunk-
|
|
4
|
-
import { resolveCredentials, getJson, WorkCommandError } from './chunk-
|
|
5
|
-
import { isLinkedRepository } from './chunk-
|
|
6
|
-
import { fleetCheck, checkBuildSkill, checkSpecSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-
|
|
7
|
-
import { sanitizeTerminal } from './chunk-
|
|
8
|
-
import { withInjectedPrograms } from './chunk-
|
|
3
|
+
import { checkStarterFiles, contextIsGoverned } from './chunk-CXCUBYZB.js';
|
|
4
|
+
import { resolveCredentials, getJson, WorkCommandError } from './chunk-JVKBRZFL.js';
|
|
5
|
+
import { isLinkedRepository } from './chunk-MQQDEBRD.js';
|
|
6
|
+
import { fleetCheck, checkBuildSkill, checkSpecSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-JB6WBOTZ.js';
|
|
7
|
+
import { sanitizeTerminal } from './chunk-V3NMSDOC.js';
|
|
8
|
+
import { withInjectedPrograms } from './chunk-UQHML2OB.js';
|
|
9
9
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
10
|
-
import { checkFormerSkillNames } from './chunk-
|
|
11
|
-
import { resolveGatewayCredentials, defaultFetch } from './chunk-
|
|
12
|
-
import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-
|
|
13
|
-
import { CONTROL_PLANE_DIR_VARIABLE } from './chunk-
|
|
10
|
+
import { checkFormerSkillNames } from './chunk-QLOJITTG.js';
|
|
11
|
+
import { resolveGatewayCredentials, defaultFetch } from './chunk-KMUKDHAY.js';
|
|
12
|
+
import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-SUOL5WGL.js';
|
|
13
|
+
import { CONTROL_PLANE_DIR_VARIABLE } from './chunk-LIPSGE6C.js';
|
|
14
14
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
15
|
-
import { readStatuslineState, STATE_FRESH_MS } from './chunk-
|
|
15
|
+
import { readStatuslineState, STATE_FRESH_MS } from './chunk-YWLRN4XV.js';
|
|
16
16
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
17
|
-
import { installAgents, withSettingsText } from './chunk-
|
|
17
|
+
import { installAgents, withSettingsText } from './chunk-MV4VDZH5.js';
|
|
18
18
|
import { cliForInstall, cliBinResolvable } from './chunk-ZHQC43NH.js';
|
|
19
19
|
import { readDeliveryRecord, readDegraded, readSourceCache } from './chunk-YQR6E6OV.js';
|
|
20
20
|
import { deadHooksState, preparePackageManagerCommand } from './chunk-CJPTUU2E.js';
|
|
21
|
-
import { defaultAgents, legacyAgent, contextAgents } from './chunk-
|
|
21
|
+
import { defaultAgents, legacyAgent, contextAgents } from './chunk-22UMHY5K.js';
|
|
22
22
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
23
|
-
import { SUPPORTED_VERSIONS, resolveRepoIdentity } from './chunk-
|
|
24
|
-
import {
|
|
25
|
-
import { readFileSync, mkdirSync, writeFileSync, renameSync, existsSync, accessSync, constants, statSync, readdirSync, lstatSync } from 'fs';
|
|
23
|
+
import { SUPPORTED_VERSIONS, resolveRepoIdentity } from './chunk-2IDR4YTQ.js';
|
|
24
|
+
import { readFileSync, mkdirSync, writeFileSync, renameSync, existsSync, accessSync, constants, statSync } from 'fs';
|
|
26
25
|
import { sep, join, dirname, resolve, delimiter } from 'path';
|
|
27
26
|
import { execFileSync } from 'child_process';
|
|
28
27
|
|
|
@@ -177,45 +176,6 @@ function checkMcpCommand(cwd, env = process.env, platform = process.platform, ag
|
|
|
177
176
|
return [{ name: NAME, status: "pass", detail: `the "outerlayer" server runs ${sanitizeTerminal(resolved)}` }];
|
|
178
177
|
});
|
|
179
178
|
}
|
|
180
|
-
var VALIDATORS_DIR = ".outerlayer/validators";
|
|
181
|
-
var NAME2 = "Criteria judge file";
|
|
182
|
-
function declaresJudgeId(text) {
|
|
183
|
-
const match = /^id:[ \t]*["']?([^"'#\s]+)["']?[ \t]*(?:#.*)?$/m.exec(text);
|
|
184
|
-
return match?.[1] === CRITERIA_JUDGE_NAME;
|
|
185
|
-
}
|
|
186
|
-
function ignoredCriteriaFiles(repoRoot) {
|
|
187
|
-
const dir = join(repoRoot, VALIDATORS_DIR);
|
|
188
|
-
let names;
|
|
189
|
-
try {
|
|
190
|
-
names = readdirSync(dir).filter((name) => /\.ya?ml$/.test(name)).sort();
|
|
191
|
-
} catch {
|
|
192
|
-
return [];
|
|
193
|
-
}
|
|
194
|
-
const found = [];
|
|
195
|
-
for (const name of names) {
|
|
196
|
-
try {
|
|
197
|
-
const abs = join(dir, name);
|
|
198
|
-
if (!lstatSync(abs).isFile()) continue;
|
|
199
|
-
if (declaresJudgeId(readFileSync(abs, "utf8"))) found.push(`${VALIDATORS_DIR}/${name}`);
|
|
200
|
-
} catch {
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
return found;
|
|
204
|
-
}
|
|
205
|
-
function checkIgnoredCriteriaFile(cwd) {
|
|
206
|
-
const dirs = findGitDirs(cwd ?? process.cwd());
|
|
207
|
-
if (dirs === void 0 || contextIsGoverned(dirs.gitCommonDir)) return [];
|
|
208
|
-
const files = ignoredCriteriaFiles(dirs.repoRoot);
|
|
209
|
-
if (files.length === 0) return [];
|
|
210
|
-
return [
|
|
211
|
-
{
|
|
212
|
-
name: NAME2,
|
|
213
|
-
status: "warn",
|
|
214
|
-
detail: `${files.join(", ")}: OuterLayer ignores ${files.length === 1 ? "this file" : "these files"}. The criteria judge is a built-in step of a runner build, and no validator file defines it.`,
|
|
215
|
-
fix: `Delete ${files.join(", ")}. To set the judge's level or brief, or to turn it off, use criteria.judge and criteria.judge_brief in .outerlayer/policy.yaml.`
|
|
216
|
-
}
|
|
217
|
-
];
|
|
218
|
-
}
|
|
219
179
|
|
|
220
180
|
// src/doctor.ts
|
|
221
181
|
function laptopChecksNotApplicable(label) {
|
|
@@ -252,7 +212,6 @@ function runDoctor(env = {}) {
|
|
|
252
212
|
...laptop ? checkStatusline(home, now, env.cwd, agents) : [],
|
|
253
213
|
...section("installs"),
|
|
254
214
|
...starter?.checks ?? [],
|
|
255
|
-
...checkIgnoredCriteriaFile(env.cwd),
|
|
256
215
|
...laptop ? checkRenamedSkills(env.cwd) : [],
|
|
257
216
|
...checkBuildSkillState(env.cwd, home),
|
|
258
217
|
...checkIgnoredSkills(env.cwd, agents),
|
|
@@ -1094,9 +1053,9 @@ function doctorExitCode(checks) {
|
|
|
1094
1053
|
|
|
1095
1054
|
// src/doctor-report.ts
|
|
1096
1055
|
async function gatherDoctorChecks(options = {}) {
|
|
1097
|
-
const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-
|
|
1098
|
-
const { listedAgents } = await import('./runner-agents-
|
|
1099
|
-
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-
|
|
1056
|
+
const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-K3A5TSZL.js');
|
|
1057
|
+
const { listedAgents } = await import('./runner-agents-JFQQ7IB4.js');
|
|
1058
|
+
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-2ODEMRET.js');
|
|
1100
1059
|
const configPath = options.configPath ?? defaultRunnerConfigPath();
|
|
1101
1060
|
const runnerHost = hasRunnerBlock(configPath);
|
|
1102
1061
|
const hooks = (() => {
|
|
@@ -1124,7 +1083,7 @@ async function gatherDoctorChecks(options = {}) {
|
|
|
1124
1083
|
const { runnerVmCheck } = await import('./doctor-53F2PYY7.js');
|
|
1125
1084
|
checks.push(runnerVmCheck(configPath, { lima: realLima(), home: homeFromEnv(), instance: runnerVm.instance }));
|
|
1126
1085
|
} else if (hasRunnerBlock(configPath)) {
|
|
1127
|
-
const { runnerHostChecks } = await import('./doctor-
|
|
1086
|
+
const { runnerHostChecks } = await import('./doctor-RRGWO4OB.js');
|
|
1128
1087
|
const gateway = (() => {
|
|
1129
1088
|
try {
|
|
1130
1089
|
const loaded = loadRunnerConfig(configPath);
|
|
@@ -1153,7 +1112,7 @@ async function gatherDoctorChecks(options = {}) {
|
|
|
1153
1112
|
const service = await (async () => {
|
|
1154
1113
|
const { existsSync: existsSync3 } = await import('fs');
|
|
1155
1114
|
if (process.platform !== "linux" || !existsSync3("/run/systemd/system")) return void 0;
|
|
1156
|
-
const { inspectRunnerService } = await import('./find-unit-
|
|
1115
|
+
const { inspectRunnerService } = await import('./find-unit-7DECI3VM.js');
|
|
1157
1116
|
return inspectRunnerService(configPath);
|
|
1158
1117
|
})();
|
|
1159
1118
|
checks.push(...await runnerHostChecks({ configPath, hooks, gateway, repos, runner, service }));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readCloudConfigStrict, readCloudConfig, cloudConfigPath } from './chunk-HWVMRETT.js';
|
|
4
|
-
import { signRunnerRequest, signerFor } from './chunk-
|
|
4
|
+
import { signRunnerRequest, signerFor } from './chunk-F4EWIL7N.js';
|
|
5
5
|
import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
6
6
|
import { PLAIN_VERSION, recordCliVersion, removeRecordedVersion } from './chunk-Z7J7JWGF.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { toolsDockerfile } from './chunk-
|
|
3
|
+
import { toolsDockerfile } from './chunk-VPPCTN32.js';
|
|
4
4
|
import { withNewTokenRetry, REFUSED_BY_REMOTE } from './chunk-FJGYU2EK.js';
|
|
5
|
-
import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-
|
|
5
|
+
import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-UFCGX2Y5.js';
|
|
6
6
|
import { startTimeOf } from './chunk-JBJTC3UU.js';
|
|
7
|
-
import { runnerLabelValue } from './chunk-
|
|
8
|
-
import { RecipeError, locateRecipe, readRecipe, assertBuildable, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-
|
|
7
|
+
import { runnerLabelValue } from './chunk-3XPNEYTJ.js';
|
|
8
|
+
import { RecipeError, locateRecipe, readRecipe, assertBuildable, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-JSJRXFAF.js';
|
|
9
9
|
import { removeLeftoverGitLocks } from './chunk-A2WPWZJA.js';
|
|
10
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-
|
|
11
|
-
import { withGitConfig, tokenHeader } from './chunk-
|
|
12
|
-
import { UNIVERSAL_IMAGE_DIGEST, UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_SOURCE, buildAgentPin, NODE_IMAGE, UNIVERSAL_IMAGE, MEDIA_PINS, TINI_VERSION, GH_VERSION, imageAgentPins } from './chunk-
|
|
10
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-ZKL4BQAP.js';
|
|
11
|
+
import { withGitConfig, tokenHeader } from './chunk-XJ5MAYUA.js';
|
|
12
|
+
import { UNIVERSAL_IMAGE_DIGEST, UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_SOURCE, buildAgentPin, NODE_IMAGE, UNIVERSAL_IMAGE, MEDIA_PINS, TINI_VERSION, GH_VERSION, imageAgentPins } from './chunk-2BLKGA6O.js';
|
|
13
13
|
import { mkdirSync, writeFileSync, existsSync, mkdtempSync, rmSync, cpSync, readFileSync, readdirSync, lstatSync, readlinkSync } from 'fs';
|
|
14
14
|
import { tmpdir } from 'os';
|
|
15
15
|
import { join, dirname } from 'path';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
3
|
+
import { runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-ZKL4BQAP.js';
|
|
4
4
|
import { readlinkSync, realpathSync, mkdirSync, unlinkSync, symlinkSync, renameSync, readFileSync, writeFileSync, rmSync, existsSync, readdirSync } from 'fs';
|
|
5
5
|
import { join, basename, sep, resolve } from 'path';
|
|
6
6
|
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { staleBuildRefusal, staleBuildWarning, detectCi } from './chunk-
|
|
3
|
+
import { staleBuildRefusal, staleBuildWarning, detectCi } from './chunk-CRFMJVYJ.js';
|
|
4
4
|
import { launchRefusalForSession } from './chunk-C2PZOLN7.js';
|
|
5
|
-
import { detectActiveSession } from './chunk-
|
|
6
|
-
import { autoConnect } from './chunk-
|
|
7
|
-
import { readEffectiveArtifactSpoolState, localArtifactIds, isArtifactTombstoned, artifactBlobsDir, appendArtifactRecord, artifactsSpoolPath, findPendingArtifactRecord, sanitizeTerminal, appendArtifactTombstone } from './chunk-
|
|
5
|
+
import { detectActiveSession } from './chunk-AEIG6IIV.js';
|
|
6
|
+
import { autoConnect } from './chunk-NB52SVJ4.js';
|
|
7
|
+
import { readEffectiveArtifactSpoolState, localArtifactIds, isArtifactTombstoned, artifactBlobsDir, appendArtifactRecord, artifactsSpoolPath, findPendingArtifactRecord, sanitizeTerminal, appendArtifactTombstone } from './chunk-V3NMSDOC.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
9
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-KMUKDHAY.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
11
11
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
12
|
-
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-
|
|
12
|
+
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-7FAKHR6W.js';
|
|
13
13
|
import { homeFromEnv, spoolHomeFromEnv } from './chunk-352DHUTP.js';
|
|
14
|
-
import { resolveRepoIdentity } from './chunk-
|
|
15
|
-
import { ARTIFACT_MAX_CAPTION_LENGTH, ArtifactCriterionIdSchema, ARTIFACT_MAX_BYTES, ARTIFACT_MAX_FILENAME_LENGTH, mediaTypeForArtifactPath, inferArtifactKind, ARTIFACT_MAX_REPLACES_TARGETS, parseTestSelector, parseJunit, bindTests } from './chunk-
|
|
14
|
+
import { resolveRepoIdentity } from './chunk-2IDR4YTQ.js';
|
|
15
|
+
import { ARTIFACT_MAX_CAPTION_LENGTH, ArtifactCriterionIdSchema, ARTIFACT_MAX_BYTES, ARTIFACT_MAX_FILENAME_LENGTH, mediaTypeForArtifactPath, inferArtifactKind, ARTIFACT_MAX_REPLACES_TARGETS, parseTestSelector, parseJunit, bindTests } from './chunk-GBQRVYYE.js';
|
|
16
16
|
import { createHash, randomUUID } from 'crypto';
|
|
17
17
|
import { statSync, readFileSync, mkdirSync, existsSync, writeFileSync, renameSync, unlinkSync } from 'fs';
|
|
18
18
|
import { resolve, basename, join } from 'path';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { sanitizeTerminal } from './chunk-
|
|
4
|
-
import { mcpFiles, skillLinkFolders, isAgentsMdLayout } from './chunk-
|
|
5
|
-
import { DEFAULT_DASHBOARD } from './chunk-
|
|
6
|
-
import { cliFetch, resolveGatewayCredentials } from './chunk-
|
|
3
|
+
import { sanitizeTerminal } from './chunk-V3NMSDOC.js';
|
|
4
|
+
import { mcpFiles, skillLinkFolders, isAgentsMdLayout } from './chunk-EHBF3L3N.js';
|
|
5
|
+
import { DEFAULT_DASHBOARD } from './chunk-GQADCHPA.js';
|
|
6
|
+
import { cliFetch, resolveGatewayCredentials } from './chunk-KMUKDHAY.js';
|
|
7
7
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
8
8
|
import { findGitDirs, writeRepoConnection, readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
9
9
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
10
|
-
import { defaultAgents } from './chunk-
|
|
11
|
-
import { remoteLookupFailed } from './chunk-
|
|
10
|
+
import { defaultAgents } from './chunk-22UMHY5K.js';
|
|
11
|
+
import { remoteLookupFailed } from './chunk-2IDR4YTQ.js';
|
|
12
12
|
import { execFileSync } from 'child_process';
|
|
13
13
|
import { lstatSync } from 'fs';
|
|
14
14
|
import { join, relative } from 'path';
|
|
@@ -82,13 +82,13 @@ Then run \`${cliInvocation()} connect\` again.
|
|
|
82
82
|
|
|
83
83
|
// src/connect-cmd.ts
|
|
84
84
|
var REQUEST_TIMEOUT_MS = 15e3;
|
|
85
|
-
var COMMIT_LINE = "Commit and push .outerlayer/ so the factory reads your policy and skills. No
|
|
85
|
+
var COMMIT_LINE = "Commit and push .outerlayer/ so the factory reads your policy and skills. No judge runs on a pull request until the policy is on the branch it targets.";
|
|
86
86
|
function listWithAnd(items) {
|
|
87
87
|
return items.length < 2 ? items.join("") : `${items.slice(0, -1).join(", ")} and ${items.at(-1)}`;
|
|
88
88
|
}
|
|
89
89
|
function agentsLayoutCommitLine(agents = defaultAgents()) {
|
|
90
90
|
const items = [".outerlayer/", "AGENTS.md", ".agents/", ...mcpFiles(agents), ...skillLinkFolders(agents)];
|
|
91
|
-
return `Commit and push ${listWithAnd(items)} so the factory reads your policy and skills. No
|
|
91
|
+
return `Commit and push ${listWithAnd(items)} so the factory reads your policy and skills. No judge runs on a pull request until the policy is on the branch it targets.`;
|
|
92
92
|
}
|
|
93
93
|
var COMMIT_PATHS = [":/.outerlayer"];
|
|
94
94
|
var agentsLayoutCommitPaths = (agents) => [":/.outerlayer", ":/AGENTS.md", ":/.agents", ...mcpFiles(agents).map((file) => `:/${file}`), ...skillLinkFolders(agents).map((folder) => `:/${folder}`)];
|
|
@@ -152,7 +152,7 @@ function commitCommandsFor(cwd) {
|
|
|
152
152
|
lines.push(...omitted);
|
|
153
153
|
if (add.length === 0) return lines.join("\n");
|
|
154
154
|
lines.push(
|
|
155
|
-
"Commit and push the setup so the factory reads your policy and skills. No
|
|
155
|
+
"Commit and push the setup so the factory reads your policy and skills. No judge runs on a pull request until the policy is on the branch it targets.",
|
|
156
156
|
` git add ${add.join(" ")}`,
|
|
157
157
|
' git commit -m "Add OuterLayer setup"',
|
|
158
158
|
" git push"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readSettingsText, SettingsParseError, cliForInstall } from './chunk-ZHQC43NH.js';
|
|
4
|
-
import { legacyAgent, defaultAgents, HookTextError } from './chunk-
|
|
4
|
+
import { legacyAgent, defaultAgents, HookTextError } from './chunk-22UMHY5K.js';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
7
7
|
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
4
4
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
5
|
-
import { linkedAgentsPath } from './chunk-
|
|
6
|
-
import { resolvePackRoot, OUTERLAYER_SKILLS_BASE, loadTemplateFiles, AGENTS_SKILLS_BASE, loadMaintainedFiles, TEMPLATE_SKILLS, skillDir, writeMaintainedFiles, MACHINE_SKILL_PATH } from './chunk-
|
|
7
|
-
import { LEGACY_AGENT } from './chunk-
|
|
5
|
+
import { linkedAgentsPath } from './chunk-QYLY3Z6R.js';
|
|
6
|
+
import { resolvePackRoot, OUTERLAYER_SKILLS_BASE, loadTemplateFiles, AGENTS_SKILLS_BASE, loadMaintainedFiles, TEMPLATE_SKILLS, skillDir, writeMaintainedFiles, MACHINE_SKILL_PATH } from './chunk-22UMHY5K.js';
|
|
7
|
+
import { LEGACY_AGENT } from './chunk-7FAKHR6W.js';
|
|
8
8
|
import { MAINTAINED_SKILLS } from './chunk-VSBG7MMU.js';
|
|
9
9
|
import { resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
10
10
|
import { existsSync, mkdirSync, writeFileSync } from 'fs';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { fetchFactories, selectFactory, saveFactoryConnection, autoConnectedLine } from './chunk-
|
|
4
|
-
import { resolveGatewayCredentials } from './chunk-
|
|
3
|
+
import { fetchFactories, selectFactory, saveFactoryConnection, autoConnectedLine } from './chunk-MQQDEBRD.js';
|
|
4
|
+
import { resolveGatewayCredentials } from './chunk-KMUKDHAY.js';
|
|
5
5
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
6
6
|
import { findGitDirs, readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
8
8
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
9
|
-
import { resolveRepoIdentity } from './chunk-
|
|
9
|
+
import { resolveRepoIdentity } from './chunk-2IDR4YTQ.js';
|
|
10
10
|
|
|
11
11
|
createRequire(import.meta.url);
|
|
12
12
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { TUNNEL_PORT, BRIDGE_ADDRESS, BRIDGE_CIDR } from './chunk-
|
|
3
|
+
import { TUNNEL_PORT, BRIDGE_ADDRESS, BRIDGE_CIDR } from './chunk-YNPPXB57.js';
|
|
4
4
|
import { startTimeOf } from './chunk-JBJTC3UU.js';
|
|
5
|
-
import { EXEC_PORT } from './chunk-
|
|
6
|
-
import { RELAY_PORT } from './chunk-
|
|
5
|
+
import { EXEC_PORT } from './chunk-4GLGLMDX.js';
|
|
6
|
+
import { RELAY_PORT } from './chunk-XJ5MAYUA.js';
|
|
7
7
|
import { spawn, spawnSync } from 'child_process';
|
|
8
8
|
import { symlinkSync, lstatSync, writeFileSync, chmodSync, mkdirSync, existsSync } from 'fs';
|
|
9
9
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { CONTROL_PLANE_DIR_VARIABLE, SUPPORTED_CONTROL_PLANE_LAYOUT } from './chunk-
|
|
4
|
-
import { legacyAgent, agentById, defaultAgents, legacySubcommand } from './chunk-
|
|
5
|
-
import { LEGACY_AGENT } from './chunk-
|
|
3
|
+
import { CONTROL_PLANE_DIR_VARIABLE, SUPPORTED_CONTROL_PLANE_LAYOUT } from './chunk-LIPSGE6C.js';
|
|
4
|
+
import { legacyAgent, agentById, defaultAgents, legacySubcommand } from './chunk-22UMHY5K.js';
|
|
5
|
+
import { LEGACY_AGENT } from './chunk-7FAKHR6W.js';
|
|
6
6
|
import { MAINTAINED_SKILLS } from './chunk-VSBG7MMU.js';
|
|
7
7
|
import { lstatSync, readFileSync } from 'fs';
|
|
8
8
|
import { join } from 'path';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { helperSocketPath } from './chunk-
|
|
4
|
-
import { UNIT_MARKER } from './chunk-
|
|
5
|
-
import { runnerDir } from './chunk-
|
|
3
|
+
import { helperSocketPath } from './chunk-2S3Q4MKT.js';
|
|
4
|
+
import { UNIT_MARKER } from './chunk-H2U3YTON.js';
|
|
5
|
+
import { runnerDir } from './chunk-ZKL4BQAP.js';
|
|
6
6
|
import { createHash } from 'crypto';
|
|
7
7
|
import { join } from 'path';
|
|
8
8
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { stripTerminalControls } from './chunk-
|
|
4
|
-
import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-
|
|
3
|
+
import { stripTerminalControls } from './chunk-2S3Q4MKT.js';
|
|
4
|
+
import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-C3OJZODB.js';
|
|
5
5
|
import { readFileSync } from 'fs';
|
|
6
6
|
|
|
7
7
|
createRequire(import.meta.url);
|
|
@@ -55,7 +55,7 @@ function envNamesOf(row, imageEnv) {
|
|
|
55
55
|
return [...new Set(names)].sort();
|
|
56
56
|
}
|
|
57
57
|
async function readOwnContainer(deps = {}) {
|
|
58
|
-
const run = deps.run ?? (await import('./docker-
|
|
58
|
+
const run = deps.run ?? (await import('./docker-U6TIZF6L.js')).spawnRun;
|
|
59
59
|
const ids = candidateIds(deps.env ?? process.env, deps.readFile ?? ((path) => readFileSync(path, "utf8")));
|
|
60
60
|
if (ids.length === 0) return { ok: false, reason: "the runner cannot tell which container it runs in: HOSTNAME is empty and /proc/self/mountinfo names none" };
|
|
61
61
|
let problem = "";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
4
|
-
import { skillDir, emitTree, targetIds, classifyTree, emitBuilders, defaultAgents, FORMER_MAINTAINED_NAMES, isMaintainedCopy } from './chunk-
|
|
4
|
+
import { skillDir, emitTree, targetIds, classifyTree, emitBuilders, defaultAgents, FORMER_MAINTAINED_NAMES, isMaintainedCopy } from './chunk-22UMHY5K.js';
|
|
5
5
|
import { readFileSync, existsSync, unlinkSync, rmdirSync, readdirSync } from 'fs';
|
|
6
6
|
import { join, dirname, relative, sep } from 'path';
|
|
7
7
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { LiveUploader } from './chunk-
|
|
4
|
-
import { spoolDir } from './chunk-
|
|
3
|
+
import { LiveUploader } from './chunk-CRFMJVYJ.js';
|
|
4
|
+
import { spoolDir } from './chunk-SUOL5WGL.js';
|
|
5
5
|
import { parseRunEnv, parseWorkItemEnv } from './chunk-LGJ56FCM.js';
|
|
6
|
-
import { sessionFolderIn, legacyAgent } from './chunk-
|
|
6
|
+
import { sessionFolderIn, legacyAgent } from './chunk-22UMHY5K.js';
|
|
7
7
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
8
|
-
import { CaptureDaemon } from './chunk-
|
|
8
|
+
import { CaptureDaemon } from './chunk-2IDR4YTQ.js';
|
|
9
9
|
import { mkdirSync, writeFileSync, rmSync } from 'fs';
|
|
10
10
|
import { join } from 'path';
|
|
11
11
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readContextManifest, removeContextManifest } from './chunk-YQR6E6OV.js';
|
|
4
4
|
import { removePreCommitGuardHook } from './chunk-CJPTUU2E.js';
|
|
5
|
-
import { CONTEXT_PIN_FILENAME, agentRootFolders } from './chunk-
|
|
5
|
+
import { CONTEXT_PIN_FILENAME, agentRootFolders } from './chunk-22UMHY5K.js';
|
|
6
6
|
import { execFileSync } from 'child_process';
|
|
7
7
|
import { lstatSync, existsSync, unlinkSync, readdirSync, rmdirSync, readFileSync, mkdirSync, writeFileSync } from 'fs';
|
|
8
8
|
import { join, dirname, isAbsolute } from 'path';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { detectActiveSession } from './chunk-
|
|
4
|
-
import { autoConnect } from './chunk-
|
|
3
|
+
import { detectActiveSession } from './chunk-AEIG6IIV.js';
|
|
4
|
+
import { autoConnect } from './chunk-NB52SVJ4.js';
|
|
5
5
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
6
|
-
import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-
|
|
6
|
+
import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-KMUKDHAY.js';
|
|
7
7
|
import { parseWorkItemEnv } from './chunk-LGJ56FCM.js';
|
|
8
8
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
9
9
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
10
|
-
import { resolveRepoIdentity } from './chunk-
|
|
10
|
+
import { resolveRepoIdentity } from './chunk-2IDR4YTQ.js';
|
|
11
11
|
|
|
12
12
|
createRequire(import.meta.url);
|
|
13
13
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { summarizeChecks, summaryText, renderDoctorText } from './chunk-
|
|
4
|
-
import { shellFunctionInstalled, removeShellFunction, installShellFunction, SHELL_FUNCTION_LINE } from './chunk-
|
|
5
|
-
import { runConnect, hasUncommittedPolicy, commitCommandsFor } from './chunk-
|
|
3
|
+
import { summarizeChecks, summaryText, renderDoctorText } from './chunk-KLDWF2YG.js';
|
|
4
|
+
import { shellFunctionInstalled, removeShellFunction, installShellFunction, SHELL_FUNCTION_LINE } from './chunk-UWRXRSCE.js';
|
|
5
|
+
import { runConnect, hasUncommittedPolicy, commitCommandsFor } from './chunk-MQQDEBRD.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
8
|
-
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-
|
|
8
|
+
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-7FAKHR6W.js';
|
|
9
9
|
|
|
10
10
|
createRequire(import.meta.url);
|
|
11
11
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { appendContextProvenance } from './chunk-545P7JY7.js';
|
|
4
|
-
import { CONTROL_PLANE_DIR_VARIABLE } from './chunk-
|
|
4
|
+
import { CONTROL_PLANE_DIR_VARIABLE } from './chunk-LIPSGE6C.js';
|
|
5
5
|
import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
6
6
|
import { updateNoticeContext, staleMachineCopiesContext } from './chunk-Z7J7JWGF.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
8
8
|
import { deadHooksState, huskyPrepareScript, preparePackageManagerCommand } from './chunk-CJPTUU2E.js';
|
|
9
|
-
import { hookCodec } from './chunk-
|
|
10
|
-
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-
|
|
9
|
+
import { hookCodec } from './chunk-DYKRQC4O.js';
|
|
10
|
+
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-7FAKHR6W.js';
|
|
11
11
|
import { resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
12
12
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
13
13
|
import { readFileSync, mkdirSync, writeFileSync, renameSync, existsSync, readdirSync, unlinkSync, statSync, appendFileSync, opendirSync } from 'fs';
|
|
@@ -678,7 +678,7 @@ async function missingRenewalHookContext(home, cwd, codec) {
|
|
|
678
678
|
try {
|
|
679
679
|
const event = codec.events.find((name) => kindOf(codec, name) === "tool-used");
|
|
680
680
|
if (event === void 0) return void 0;
|
|
681
|
-
const { hookRegistered } = await import('./hook-install-
|
|
681
|
+
const { hookRegistered } = await import('./hook-install-J6O7OY65.js');
|
|
682
682
|
const registered = hookRegistered(event, { home, cwd });
|
|
683
683
|
if (registered !== false) return void 0;
|
|
684
684
|
return `This install has no ${event} hook, so this session's work-item lease will never be renewed while it works and may be lost to another worker mid-session. Run \`${cliInvocation()} init\` to register it.`;
|
|
@@ -878,11 +878,11 @@ async function missingControlPlane(cwd, sessionId, home, env) {
|
|
|
878
878
|
const dirs = findGitDirs(cwd);
|
|
879
879
|
if (dirs === void 0) return void 0;
|
|
880
880
|
if (existsSync(join(dirs.gitCommonDir, "outerlayer", "materialized.json")) || hasExcludeBlock(dirs.gitCommonDir)) {
|
|
881
|
-
const { cleanupEarlierCopies } = await import('./context-cleanup-
|
|
881
|
+
const { cleanupEarlierCopies } = await import('./context-cleanup-HMJJVD3R.js');
|
|
882
882
|
cleanupEarlierCopies(dirs);
|
|
883
883
|
}
|
|
884
884
|
if (!contextPossiblyGoverned(cwd, home)) return void 0;
|
|
885
|
-
const { governanceOf } = await import('./control-plane-launch-
|
|
885
|
+
const { governanceOf } = await import('./control-plane-launch-JSV336S6.js');
|
|
886
886
|
if (await governanceOf({ cwd, env, home }) !== "governed") return void 0;
|
|
887
887
|
recordMissingContext(dirs, sessionId, home);
|
|
888
888
|
const launcher = `${cliInvocation()} ${LEGACY.legacy.subcommand}`;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
3
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-ZKL4BQAP.js';
|
|
4
4
|
import { readFileSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
5
5
|
import { join } from 'path';
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { isSameProcess } from './chunk-JBJTC3UU.js';
|
|
4
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
4
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-ZKL4BQAP.js';
|
|
5
5
|
import { existsSync, readFileSync, mkdirSync, writeFileSync, rmSync } from 'fs';
|
|
6
6
|
import { dirname } from 'path';
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { legacyAgent, createNodeAgentIO, ADAPTER_FACTORIES } from './chunk-
|
|
3
|
+
import { legacyAgent, createNodeAgentIO, ADAPTER_FACTORIES } from './chunk-22UMHY5K.js';
|
|
4
4
|
|
|
5
5
|
createRequire(import.meta.url);
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { parseOuterlayerConfig, targetIds, defaultAgents } from './chunk-
|
|
4
|
-
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-
|
|
3
|
+
import { parseOuterlayerConfig, targetIds, defaultAgents } from './chunk-22UMHY5K.js';
|
|
4
|
+
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-7FAKHR6W.js';
|
|
5
5
|
import { readFileSync } from 'fs';
|
|
6
6
|
import { join } from 'path';
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-
|
|
3
|
+
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-7FAKHR6W.js';
|
|
4
4
|
import { existsSync, readFileSync, writeFileSync } from 'fs';
|
|
5
5
|
import { join, basename } from 'path';
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
4
|
-
import { ArtifactTombstoneRecordSchema, ArtifactSpoolRecordSchema } from './chunk-
|
|
4
|
+
import { ArtifactTombstoneRecordSchema, ArtifactSpoolRecordSchema } from './chunk-GBQRVYYE.js';
|
|
5
5
|
import { mkdirSync, appendFileSync, writeFileSync, renameSync, unlinkSync, existsSync, readdirSync, readFileSync, statSync } from 'fs';
|
|
6
6
|
import { join, dirname } from 'path';
|
|
7
7
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-C2PZOLN7.js';
|
|
4
|
-
import { detectActiveSession } from './chunk-
|
|
5
|
-
import { autoConnect } from './chunk-
|
|
4
|
+
import { detectActiveSession } from './chunk-AEIG6IIV.js';
|
|
5
|
+
import { autoConnect } from './chunk-NB52SVJ4.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
7
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-KMUKDHAY.js';
|
|
8
8
|
import { launchedItemForSession } from './chunk-LGJ56FCM.js';
|
|
9
9
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
10
10
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
11
|
-
import { resolveRepoIdentity } from './chunk-
|
|
12
|
-
import { CriteriaListSchema } from './chunk-
|
|
11
|
+
import { resolveRepoIdentity } from './chunk-2IDR4YTQ.js';
|
|
12
|
+
import { CriteriaListSchema } from './chunk-GBQRVYYE.js';
|
|
13
13
|
import { readFileSync } from 'fs';
|
|
14
14
|
|
|
15
15
|
createRequire(import.meta.url);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { PROXY_WARNING_FLAG } from './chunk-
|
|
4
|
-
import { RELAY_ID, RELAY_USER } from './chunk-
|
|
5
|
-
import { imageInstalls, GH_VERSION, VOICE_PACK_FILES, VOICE_PACK_VERSION, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, TINI_SHA256, TINI_VERSION, HEADLESS_SHELL_REVISION, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG_BASE_URL, PLAYWRIGHT_FFMPEG_REVISION, HEADLESS_SHELL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_VERSION } from './chunk-
|
|
6
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { PROXY_WARNING_FLAG } from './chunk-XJ5MAYUA.js';
|
|
4
|
+
import { RELAY_ID, RELAY_USER } from './chunk-4DTWHAXO.js';
|
|
5
|
+
import { imageInstalls, GH_VERSION, VOICE_PACK_FILES, VOICE_PACK_VERSION, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, TINI_SHA256, TINI_VERSION, HEADLESS_SHELL_REVISION, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG_BASE_URL, PLAYWRIGHT_FFMPEG_REVISION, HEADLESS_SHELL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_VERSION } from './chunk-2BLKGA6O.js';
|
|
6
|
+
import { defaultAgents } from './chunk-22UMHY5K.js';
|
|
7
7
|
|
|
8
8
|
createRequire(import.meta.url);
|
|
9
9
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readNewestDemo } from './chunk-ER6KQCVJ.js';
|
|
4
|
-
import { runEmitArtifact } from './chunk-
|
|
4
|
+
import { runEmitArtifact } from './chunk-MLMHMLJU.js';
|
|
5
5
|
import { VoiceDownloadError, downloadPinned, sha256OfFile } from './chunk-2PGI6RDE.js';
|
|
6
|
-
import { detectActiveSession } from './chunk-
|
|
7
|
-
import { autoConnect } from './chunk-
|
|
6
|
+
import { detectActiveSession } from './chunk-AEIG6IIV.js';
|
|
7
|
+
import { autoConnect } from './chunk-NB52SVJ4.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { defaultFetch, resolveGatewayCredentials } from './chunk-
|
|
9
|
+
import { defaultFetch, resolveGatewayCredentials } from './chunk-KMUKDHAY.js';
|
|
10
10
|
import { launchedItemForSession } from './chunk-LGJ56FCM.js';
|
|
11
|
-
import { VOICE_PACK_FILES, VOICE_PACK_VERSION } from './chunk-
|
|
11
|
+
import { VOICE_PACK_FILES, VOICE_PACK_VERSION } from './chunk-2BLKGA6O.js';
|
|
12
12
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
13
|
-
import { resolveRepoIdentity } from './chunk-
|
|
14
|
-
import { ARTIFACT_MAX_BYTES, ARTIFACT_MAX_CAPTION_LENGTH, DEMO_RECORD_MEDIA_TYPE, ARTIFACT_MAX_REPLACES_TARGETS, DEMO_MANIFEST_LATEST_VERSION, DemoManifestSchema, ARTIFACT_KINDS } from './chunk-
|
|
13
|
+
import { resolveRepoIdentity } from './chunk-2IDR4YTQ.js';
|
|
14
|
+
import { ARTIFACT_MAX_BYTES, ARTIFACT_MAX_CAPTION_LENGTH, DEMO_RECORD_MEDIA_TYPE, ARTIFACT_MAX_REPLACES_TARGETS, DEMO_MANIFEST_LATEST_VERSION, DemoManifestSchema, ARTIFACT_KINDS } from './chunk-GBQRVYYE.js';
|
|
15
15
|
import { __commonJS, __require, __toESM } from './chunk-Z5GEFMRW.js';
|
|
16
16
|
import { createHash } from 'crypto';
|
|
17
17
|
import { readFileSync, mkdtempSync, writeFileSync, statSync, rmSync, mkdirSync, existsSync, copyFileSync, accessSync, constants, realpathSync, createReadStream, createWriteStream } from 'fs';
|