@outerlayer/cli 0.40.0-next.20261115013314 → 0.40.0-next.20261115113038
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-setup-HFMI2FCO.js +41 -0
- package/dist/{agent-subcommand-PVTVR4VJ.js → agent-subcommand-TGMUYMIV.js} +4 -4
- package/dist/{artifact-link-cmd-SDKPWPQK.js → artifact-link-cmd-K6VFGMIO.js} +2 -2
- package/dist/{bridge-7Z6MLB2B.js → bridge-6EVOZBWB.js} +7 -7
- package/dist/{build-A2WX5O3I.js → build-JX6ITGKI.js} +13 -13
- package/dist/{build-disk-ASKLEF5R.js → build-disk-RODL3IQ2.js} +11 -11
- package/dist/build-info.json +1 -1
- package/dist/{builder-ANFJHFZQ.js → builder-T4DS6F4V.js} +10 -10
- package/dist/caller-GVPCWQVM.js +23 -0
- package/dist/{check-WLQZ2BVT.js → check-OS4D4LN6.js} +55 -55
- package/dist/{chunk-DF2ATCBQ.js → chunk-2HE3W4OM.js} +1 -1
- package/dist/{chunk-5D3XOHGK.js → chunk-2YKDXSZX.js} +7 -7
- package/dist/{chunk-PWDLJKEI.js → chunk-3BPM4FIB.js} +30 -30
- package/dist/{chunk-NBNZFLKJ.js → chunk-3FJGWAYD.js} +6 -6
- package/dist/{chunk-JOZ7SU5V.js → chunk-3T6DZAZX.js} +4 -4
- package/dist/{chunk-4XN2LKSK.js → chunk-47BLFHNK.js} +4 -4
- package/dist/{chunk-GQAGAMY7.js → chunk-4FMN3U57.js} +6 -6
- package/dist/{chunk-IUJS6LR7.js → chunk-4GYGOWO5.js} +7 -7
- package/dist/{chunk-S4XEMYAP.js → chunk-4QVIBBKJ.js} +1 -1
- package/dist/{chunk-ND6JA3K5.js → chunk-4TVL4E53.js} +1 -1
- package/dist/{chunk-WNFQV5SL.js → chunk-4YJPE23H.js} +1 -1
- package/dist/{chunk-624IRDBJ.js → chunk-6B636UWA.js} +7 -7
- package/dist/{chunk-BY4SXNUL.js → chunk-6R5JI7LV.js} +3 -3
- package/dist/{chunk-TQZHYLX5.js → chunk-76GFXRC7.js} +1 -1
- package/dist/{chunk-FMYWIBBW.js → chunk-7DCFL2MK.js} +2 -2
- package/dist/{chunk-EXRBPNSJ.js → chunk-7GX7NXJW.js} +4 -4
- package/dist/{chunk-AUJPQVNR.js → chunk-7NX2ROFF.js} +3 -3
- package/dist/{chunk-WR2TR6BC.js → chunk-7RSR6ESV.js} +1 -1
- package/dist/{chunk-NG7HVAK4.js → chunk-7UXZOTF2.js} +6 -6
- package/dist/{chunk-N6DWNOEF.js → chunk-7YVZIUOX.js} +1 -1
- package/dist/{chunk-KTHGBFIH.js → chunk-B2EEVHR7.js} +3 -3
- package/dist/{chunk-PUUQKA3W.js → chunk-B6LZQ5GU.js} +2 -2
- package/dist/{chunk-D5YKPIHV.js → chunk-BU7PN6MB.js} +1 -1
- package/dist/{chunk-OHJUCEPI.js → chunk-CEVYSNA4.js} +1 -1
- package/dist/{chunk-OVV6F6TV.js → chunk-CR7DKNRM.js} +5 -34
- package/dist/{chunk-HRDPD4MF.js → chunk-DOIXXWA5.js} +3 -3
- package/dist/{chunk-TDTWNGCO.js → chunk-DV44KCM6.js} +1 -1
- package/dist/{chunk-ROQTVOAM.js → chunk-E2FIHWJX.js} +6 -6
- package/dist/{chunk-MP6INWPC.js → chunk-EA2GVFAF.js} +4 -4
- package/dist/{chunk-4ATFANLO.js → chunk-FOT3WJNH.js} +2 -2
- package/dist/{chunk-DFWIJH6P.js → chunk-FSYB5QAV.js} +3 -3
- package/dist/{chunk-QWTN72TN.js → chunk-G6S2EKAF.js} +1 -1
- package/dist/{chunk-T3X3FZIR.js → chunk-GWT2XAGQ.js} +1 -1
- package/dist/{chunk-G6WWNIAY.js → chunk-H4RY2T6I.js} +58 -17
- package/dist/{chunk-UDFHJ4KG.js → chunk-IEU2WSC4.js} +8 -8
- package/dist/{chunk-SXF7NWK3.js → chunk-J4LUKUXC.js} +1 -1
- package/dist/{chunk-2EON52MM.js → chunk-KTN4XDPJ.js} +1 -1
- package/dist/{chunk-O7UOBZ7J.js → chunk-KXJDFBJH.js} +7 -7
- package/dist/{chunk-6SOATTHF.js → chunk-LIVBFF3D.js} +3 -3
- package/dist/{chunk-DMAAKDGD.js → chunk-LPTLGM24.js} +1 -1
- package/dist/{chunk-ND5SOLPS.js → chunk-LSUYPZDQ.js} +64 -54
- package/dist/{chunk-ZIBM6BTL.js → chunk-MCUI6RHU.js} +2 -1
- package/dist/{chunk-ST5S3P2C.js → chunk-MT5NUKSC.js} +2 -2
- package/dist/{chunk-7RDHN455.js → chunk-MUCWOHFZ.js} +1 -1
- package/dist/{chunk-OZG4BNC6.js → chunk-NXOTVGPL.js} +35 -11
- package/dist/{chunk-HTIUY3ER.js → chunk-O2T4LDT7.js} +4 -4
- package/dist/{chunk-DUNJ67ZH.js → chunk-OBADCUZF.js} +8 -12
- package/dist/{chunk-U4LX6N6O.js → chunk-OID5XOPL.js} +7 -7
- package/dist/{chunk-RSW5AXPT.js → chunk-PJZ7RTXX.js} +1 -1
- package/dist/{chunk-XD7V5HF5.js → chunk-PWJKROIT.js} +9 -9
- package/dist/{chunk-IMMWZV57.js → chunk-RIURJ7G6.js} +4 -4
- package/dist/{chunk-4XM6NRKW.js → chunk-RWI7Z2G6.js} +1 -1
- package/dist/{chunk-A3SSJ7WS.js → chunk-SQFSYAPO.js} +1 -1
- package/dist/{chunk-R2XWZSLR.js → chunk-T2OAXE5H.js} +1 -1
- package/dist/{chunk-W3UPD3D6.js → chunk-T4D2ZDCC.js} +10 -10
- package/dist/{chunk-ULENFLVA.js → chunk-TDEVXYWR.js} +5 -5
- package/dist/{chunk-ULDQ7IM5.js → chunk-TLLAFQMP.js} +1 -1
- package/dist/{chunk-2OSEUHWY.js → chunk-TPC6MXKS.js} +1 -1
- package/dist/{chunk-WYJSHRD6.js → chunk-TPVQLW5Q.js} +10 -10
- package/dist/{chunk-RLNTFA2C.js → chunk-UC2JHW7P.js} +1 -1
- package/dist/{chunk-IB4SVQNB.js → chunk-ULL2MHZU.js} +4 -4
- package/dist/{chunk-VGV3J5CX.js → chunk-V64FGZNM.js} +1 -1
- package/dist/{chunk-ADXJXXGU.js → chunk-VBAXFWTK.js} +8 -21
- package/dist/{chunk-3WYPBALP.js → chunk-WGYAMFBU.js} +8 -8
- package/dist/{chunk-YY64D4FA.js → chunk-X5SZ3MB6.js} +1 -1
- package/dist/{chunk-HNOFOZKP.js → chunk-XSNB2SKN.js} +7 -7
- package/dist/{chunk-LGF6NNBQ.js → chunk-Y55ARAPE.js} +22 -17
- package/dist/{chunk-C533PUPH.js → chunk-YDK6CONG.js} +5 -5
- package/dist/{chunk-BXWZCLJ3.js → chunk-YH7RGFKK.js} +1 -1
- package/dist/{chunk-PNZMJFVP.js → chunk-Z5LGWR5H.js} +6 -6
- package/dist/{chunk-NOCOZB2Z.js → chunk-ZHT7IJDC.js} +3 -3
- package/dist/{chunk-X5WH346T.js → chunk-ZIPXFVRF.js} +5 -5
- package/dist/{chunk-ANBDFUHT.js → chunk-ZV77MALL.js} +3 -3
- package/dist/{claude-launcher-FOPWME6I.js → claude-launcher-6ZSKTRY5.js} +7 -7
- package/dist/{cli-RKATG6XY.js → cli-YGHAHE6B.js} +165 -165
- package/dist/{command-YD3EHTZQ.js → command-YFFSOJFG.js} +51 -51
- package/dist/{config-PFQRCT5B.js → config-TYASXT5C.js} +12 -12
- package/dist/{connect-cmd-YQVCFXOE.js → connect-cmd-EX67GWJF.js} +13 -13
- package/dist/{container-start-2RSK36GV.js → container-start-E3BHNHAX.js} +48 -48
- package/dist/{context-cleanup-U7MHU55P.js → context-cleanup-ENT7CYJC.js} +4 -4
- package/dist/{context-show-cmd-NURTDGRD.js → context-show-cmd-IMVD75NE.js} +14 -14
- package/dist/{control-plane-launch-P2E55QZ4.js → control-plane-launch-SPSKDMIE.js} +14 -14
- package/dist/{demo-record-cmd-VBWYXYOF.js → demo-record-cmd-T4DP3XE5.js} +8 -8
- package/dist/{demo-voice-cmd-6UGAD5KN.js → demo-voice-cmd-2W34DIXY.js} +20 -20
- package/dist/{dist-VQBROFST.js → dist-DYFPNEVO.js} +2 -2
- package/dist/{docker-WMGXGZFP.js → docker-BBIDJR46.js} +10 -10
- package/dist/{doctor-U3DJQGCO.js → doctor-S4B74VR6.js} +50 -50
- package/dist/{emit-artifact-cmd-7F3BZXCQ.js → emit-artifact-cmd-VB2YPJXK.js} +19 -19
- package/dist/{emit-cmd-6KU5H7YA.js → emit-cmd-YNJYHGS3.js} +7 -7
- package/dist/{emit-criteria-cmd-VAYG4P4W.js → emit-criteria-cmd-R3RBHQNJ.js} +16 -16
- package/dist/{emit-demo-cmd-JIY6ITUC.js → emit-demo-cmd-CIVHU33R.js} +20 -20
- package/dist/{emit-finding-cmd-PBUULSSJ.js → emit-finding-cmd-YRCHPJEI.js} +16 -16
- package/dist/{emit-result-cmd-NDJBQBZS.js → emit-result-cmd-DMWCSZ53.js} +18 -18
- package/dist/{emit-step-cmd-KMVQE7GK.js → emit-step-cmd-PCPLHBTG.js} +16 -16
- package/dist/{exec-client-BJ4FHM2I.js → exec-client-AAXCCEVU.js} +8 -8
- package/dist/find-unit-3K3NXINH.js +24 -0
- package/dist/{findings-cmd-ES7ACSNZ.js → findings-cmd-XXDHIZAC.js} +16 -16
- package/dist/{fleet-readiness-3JMW2XNT.js → fleet-readiness-WRXR4ILW.js} +14 -14
- package/dist/{governing-source-LFRWLC43.js → governing-source-323OKKIB.js} +21 -21
- package/dist/{guest-init-ZZ3QGRFT.js → guest-init-A5CCQEEK.js} +9 -9
- package/dist/{hook-fast-A5LADBOU.js → hook-fast-M6FWJHZL.js} +1 -1
- package/dist/{hook-install-J426ZN4P.js → hook-install-5HFZDBIC.js} +4 -4
- package/dist/host-checks-O45NM3FR.js +82 -0
- package/dist/host-key-R3ZJKBQ3.js +18 -0
- package/dist/{image-tag-7PALJT67.js → image-tag-K32BVEIL.js} +8 -8
- package/dist/index.js +4 -4
- package/dist/init-GY555FEJ.js +82 -0
- package/dist/{init-VPKR33RD.js → init-JCNL6KIH.js} +46 -46
- package/dist/{init-agent-L5O3TUUM.js → init-agent-NAUXPN72.js} +46 -46
- package/dist/{init-cmd-3PNKJZRH.js → init-cmd-QRUGFWFU.js} +27 -27
- package/dist/{init-update-WWUADCXX.js → init-update-SO7V6L6K.js} +24 -24
- package/dist/install-cmd-6RKBV54Z.js +26 -0
- package/dist/launch-agent-Q6H3IT4D.js +26 -0
- package/dist/{layout-7XSGJVYR.js → layout-A7YL63UE.js} +4 -4
- package/dist/{login-browser-NG7JWXED.js → login-browser-KJPWH65X.js} +2 -2
- package/dist/{logs-6DZKJJ22.js → logs-6VEF36N6.js} +7 -7
- package/dist/loop-VWRPT6RZ.js +92 -0
- package/dist/machine-ELMFTAMF.js +82 -0
- package/dist/{machine-skills-K2RCLA6K.js → machine-skills-RTHSWGSU.js} +4 -4
- package/dist/{mcp-install-cmd-DWD6O27B.js → mcp-install-cmd-UQBQOGZ4.js} +4 -4
- package/dist/{mcp-serve-cmd-2KAWL7JK.js → mcp-serve-cmd-MOKXNZ2A.js} +9 -9
- package/dist/{paths-BZKRN5J3.js → paths-44NEENDO.js} +7 -7
- package/dist/pending-43OCDSZO.js +18 -0
- package/dist/{pidfile-4C23LXPN.js → pidfile-XWUX735M.js} +8 -8
- package/dist/{record-ABSHWHSO.js → record-6P5TK6K7.js} +8 -8
- package/dist/{relay-NZWG6R4J.js → relay-CLQW7IR5.js} +5 -5
- package/dist/{relay-protocol-7ZN7CVXP.js → relay-protocol-Y4L6Q72I.js} +5 -5
- package/dist/{run-cmd-J57WUDCT.js → run-cmd-FQDKFHPW.js} +16 -16
- package/dist/{runner-agents-FCJR2SGQ.js → runner-agents-2KPYIXN2.js} +4 -4
- package/dist/runner-env-2YODIR2Z.js +24 -0
- package/dist/{runner-identity-PIEZDCFI.js → runner-identity-G57VDLXN.js} +10 -10
- package/dist/{runner-key-6IW6SPGG.js → runner-key-KBTAINMI.js} +46 -46
- package/dist/{session-sender-4DSE6XWZ.js → session-sender-JIJQNDF4.js} +19 -19
- package/dist/{spec-cmd-7ISTYBBZ.js → spec-cmd-HMWQQQTD.js} +17 -17
- package/dist/{starter-pack-Y4NOXPWC.js → starter-pack-M7YNHN7G.js} +5 -5
- package/dist/state-3QZYSC4V.js +18 -0
- package/dist/{status-GPSPNHZ3.js → status-XFXBD6AT.js} +46 -46
- package/dist/{sync-cmd-KXVGXVPP.js → sync-cmd-QBFJN77X.js} +18 -18
- package/dist/update-steps-66PD5IUI.js +83 -0
- package/dist/{watch-BQRPLHO4.js → watch-XNH2BXGJ.js} +18 -18
- package/dist/{work-claim-cmd-GT3QV7C7.js → work-claim-cmd-Z5HYNHUR.js} +22 -22
- package/dist/{work-cmd-3Y45NSG6.js → work-cmd-DP3TL3PK.js} +16 -16
- package/dist/{work-comment-cmd-ZAFDFRLJ.js → work-comment-cmd-MYQU3AQR.js} +18 -18
- package/dist/{work-demo-cmd-V3EO3VD3.js → work-demo-cmd-TFQBM4QZ.js} +16 -16
- package/dist/{work-logs-cmd-RH3N2Y6D.js → work-logs-cmd-AY7L52OM.js} +16 -16
- package/dist/{work-mock-cmd-4HQRK3JR.js → work-mock-cmd-PSGGXCSY.js} +16 -16
- package/dist/{work-needs-attention-cmd-3VBHUC5T.js → work-needs-attention-cmd-QF6J4QKV.js} +16 -16
- package/dist/{work-no-change-cmd-HAJTDQOS.js → work-no-change-cmd-TJB23FY5.js} +16 -16
- package/dist/{work-open-pr-cmd-W4V46HYM.js → work-open-pr-cmd-YD5QYZPP.js} +17 -17
- package/dist/{work-pr-cmd-A4DVHGWR.js → work-pr-cmd-OYOUNRB7.js} +16 -16
- package/dist/{work-proofs-cmd-2NX43SSO.js → work-proofs-cmd-BZ4QMJSB.js} +18 -18
- package/dist/{work-proofs-record-NBVX7AHX.js → work-proofs-record-L4T6SLPP.js} +24 -24
- package/dist/{work-stop-cmd-E7G52CQN.js → work-stop-cmd-EARW2MXW.js} +16 -16
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer-amend/SKILL.md +3 -3
- package/skill-pack/maintained/outerlayer-amend/references/check-items.md +1 -1
- package/skill-pack/maintained/outerlayer-build/SKILL.md +6 -6
- package/skill-pack/maintained/outerlayer-build/references/release.md +6 -6
- package/skill-pack/maintained/outerlayer-evidence/SKILL.md +3 -7
- package/skill-pack/shipped.json +0 -9
- package/dist/agent-setup-5ZZTNFNP.js +0 -41
- package/dist/caller-KCSJDOWD.js +0 -23
- package/dist/find-unit-VUV76BIL.js +0 -24
- package/dist/host-checks-SUOWG537.js +0 -82
- package/dist/host-key-J24PEPIK.js +0 -18
- package/dist/init-SKXGA5U7.js +0 -82
- package/dist/install-cmd-5WRSO54T.js +0 -26
- package/dist/launch-agent-2PRVA5EX.js +0 -26
- package/dist/loop-K53YB3BL.js +0 -92
- package/dist/machine-KLF5DDMY.js +0 -82
- package/dist/pending-5Y4PJTOZ.js +0 -18
- package/dist/runner-env-AJWM62J2.js +0 -24
- package/dist/state-RZ2GSI4R.js +0 -18
- package/dist/update-steps-K5QPTNQQ.js +0 -83
- package/skill-pack/validators/acceptance-criteria.yaml +0 -42
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { scrubReason, stripTerminalControls } from './chunk-
|
|
4
|
-
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-
|
|
5
|
-
import { RunnerAlreadyRunningError, readPidFile } from './chunk-
|
|
3
|
+
import { scrubReason, stripTerminalControls } from './chunk-LSUYPZDQ.js';
|
|
4
|
+
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-Z5LGWR5H.js';
|
|
5
|
+
import { RunnerAlreadyRunningError, readPidFile } from './chunk-LPTLGM24.js';
|
|
6
6
|
import { isSameProcess } from './chunk-JBJTC3UU.js';
|
|
7
|
-
import { isSignatureRefusal, postJson } from './chunk-
|
|
8
|
-
import { keyRunnerFactory } from './chunk-
|
|
9
|
-
import { signerFor } from './chunk-
|
|
10
|
-
import { pidFilePath } from './chunk-
|
|
7
|
+
import { isSignatureRefusal, postJson } from './chunk-IEU2WSC4.js';
|
|
8
|
+
import { keyRunnerFactory } from './chunk-EA2GVFAF.js';
|
|
9
|
+
import { signerFor } from './chunk-BU7PN6MB.js';
|
|
10
|
+
import { pidFilePath } from './chunk-TPC6MXKS.js';
|
|
11
11
|
import { readFileSync } from 'fs';
|
|
12
12
|
|
|
13
13
|
createRequire(import.meta.url);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { currentLink } from './chunk-
|
|
3
|
+
import { currentLink } from './chunk-7RSR6ESV.js';
|
|
4
4
|
import { readFileSync, statSync, chmodSync, mkdirSync, writeFileSync, renameSync, rmSync, existsSync, lstatSync, accessSync, constants, realpathSync } from 'fs';
|
|
5
5
|
import { randomBytes } from 'crypto';
|
|
6
6
|
import { join, dirname, delimiter, resolve } from 'path';
|
|
@@ -6,7 +6,7 @@ import { readCloudConfigStrict, CloudConfigError, readCloudConfig, writeCloudCon
|
|
|
6
6
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
8
8
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
9
|
-
import { CLI_LOGIN_MACHINE_NAME_MAX, CliLoginPollResponseSchema, CLI_LOGIN_KIND, CliLoginRefusalSchema, CliLoginStartedSchema } from './chunk-
|
|
9
|
+
import { CLI_LOGIN_MACHINE_NAME_MAX, CliLoginPollResponseSchema, CLI_LOGIN_KIND, CliLoginRefusalSchema, CliLoginStartedSchema } from './chunk-MCUI6RHU.js';
|
|
10
10
|
import { generateKeyPairSync, privateDecrypt, constants, createPrivateKey } from 'crypto';
|
|
11
11
|
import { spawn } from 'child_process';
|
|
12
12
|
import { fstatSync, existsSync, readdirSync, readFileSync, rmSync, mkdirSync, chmodSync, writeFileSync } from 'fs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RELAY_PORT, BUILD_HOME } from './chunk-
|
|
3
|
+
import { RELAY_PORT, BUILD_HOME } from './chunk-ULL2MHZU.js';
|
|
4
4
|
import { createServer, connect } from 'net';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { newTokenRetry } from './chunk-FJGYU2EK.js';
|
|
4
|
-
import { WorkCommandError, postJson } from './chunk-
|
|
5
|
-
import { defaultGitRunner, materializeContext, fetchControlPlaneCommit, lookupGoverningSource } from './chunk-
|
|
6
|
-
import { buildRefusalReason } from './chunk-
|
|
7
|
-
import { unsupportedLayout, layoutRefusalReason, composeDelivery } from './chunk-
|
|
8
|
-
import { signingFetchFor } from './chunk-
|
|
9
|
-
import { signerFor } from './chunk-
|
|
10
|
-
import { SHIM_DIR, stagedContextDir, contextHomeDir, deliveryDir, keptContextDir } from './chunk-
|
|
4
|
+
import { WorkCommandError, postJson } from './chunk-IEU2WSC4.js';
|
|
5
|
+
import { defaultGitRunner, materializeContext, fetchControlPlaneCommit, lookupGoverningSource } from './chunk-ZIPXFVRF.js';
|
|
6
|
+
import { buildRefusalReason } from './chunk-CEVYSNA4.js';
|
|
7
|
+
import { unsupportedLayout, layoutRefusalReason, composeDelivery } from './chunk-SQFSYAPO.js';
|
|
8
|
+
import { signingFetchFor } from './chunk-YH7RGFKK.js';
|
|
9
|
+
import { signerFor } from './chunk-BU7PN6MB.js';
|
|
10
|
+
import { SHIM_DIR, stagedContextDir, contextHomeDir, deliveryDir, keptContextDir } from './chunk-TPC6MXKS.js';
|
|
11
11
|
import { SHIM_SCRIPT, shimScriptFor, GOVERNANCE_VARIABLE } from './chunk-SF2TBJBP.js';
|
|
12
12
|
import { readDegraded, readContextManifest, readSourceCache } from './chunk-YQR6E6OV.js';
|
|
13
13
|
import { fstatSync, mkdirSync, writeFileSync, chmodSync, rmSync, cpSync, readFileSync, existsSync, lstatSync } from 'fs';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { sanitizeTerminal } from './chunk-
|
|
4
|
-
import { resolvePackRoot, parseProofsConfig } from './chunk-
|
|
5
|
-
import { CHECK_ITEM_REASON_MAX_LENGTH, CHECK_ITEMS_MAX, CheckItemsSchema, problemKind, CHECK_ITEM_REFS_MAX, CHECK_ITEM_ID_MAX_LENGTH, CHECK_ITEM_REF_PATH_MAX_LENGTH, JUDGE_NOT_RUN_ITEM_ID, REVIEWED_COMMIT_ITEM_ID } from './chunk-
|
|
3
|
+
import { sanitizeTerminal } from './chunk-DV44KCM6.js';
|
|
4
|
+
import { resolvePackRoot, parseProofsConfig } from './chunk-NXOTVGPL.js';
|
|
5
|
+
import { CHECK_ITEM_REASON_MAX_LENGTH, CHECK_ITEMS_MAX, CheckItemsSchema, problemKind, CHECK_ITEM_REFS_MAX, CHECK_ITEM_ID_MAX_LENGTH, CHECK_ITEM_REF_PATH_MAX_LENGTH, JUDGE_NOT_RUN_ITEM_ID, REVIEWED_COMMIT_ITEM_ID } from './chunk-MCUI6RHU.js';
|
|
6
6
|
import { createHash } from 'crypto';
|
|
7
7
|
import { join } from 'path';
|
|
8
8
|
import { pathToFileURL } from 'url';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { normalizePath, CONTEXT_PIN_FILENAME, laptopAgents, defaultAgents, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, contextAgents, legacyAgent, legacySubcommand } from './chunk-
|
|
3
|
+
import { normalizePath, CONTEXT_PIN_FILENAME, laptopAgents, defaultAgents, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, contextAgents, legacyAgent, legacySubcommand } from './chunk-NXOTVGPL.js';
|
|
4
4
|
import { LEGACY_AGENT } from './chunk-7PZDPISM.js';
|
|
5
5
|
import { existsSync, readdirSync, readFileSync, mkdirSync, writeFileSync, lstatSync, readlinkSync, symlinkSync, rmdirSync } from 'fs';
|
|
6
6
|
import { relative, sep, join, posix } from 'path';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { keyRunnerFactory, RunnerConfigError } from './chunk-
|
|
4
|
-
import { orgHomeDir } from './chunk-
|
|
3
|
+
import { keyRunnerFactory, RunnerConfigError } from './chunk-EA2GVFAF.js';
|
|
4
|
+
import { orgHomeDir } from './chunk-TPC6MXKS.js';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
7
7
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { isAgentsMdLayout, discoverOuterlayerPaths, isForeignTree, toRepoRelative } from './chunk-
|
|
3
|
+
import { isAgentsMdLayout, discoverOuterlayerPaths, isForeignTree, toRepoRelative } from './chunk-76GFXRC7.js';
|
|
4
4
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
5
|
-
import { invalidConfigMessage } from './chunk-
|
|
6
|
-
import { retiredSkillPaths, removeRetiredSkills } from './chunk-
|
|
5
|
+
import { invalidConfigMessage } from './chunk-CEVYSNA4.js';
|
|
6
|
+
import { retiredSkillPaths, removeRetiredSkills } from './chunk-KTN4XDPJ.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
8
|
-
import { maintainedFilesForExistingSkills, loadMaintainedFiles, emitTree, emitBuilders, defaultAgents, targetIds, generatedHeaderSource, parseOuterlayerConfig, classifyTree, writeMaintainedFiles, agentById } from './chunk-
|
|
8
|
+
import { maintainedFilesForExistingSkills, loadMaintainedFiles, emitTree, emitBuilders, defaultAgents, targetIds, generatedHeaderSource, parseOuterlayerConfig, classifyTree, writeMaintainedFiles, agentById } from './chunk-NXOTVGPL.js';
|
|
9
9
|
import { LEGACY_AGENT } from './chunk-7PZDPISM.js';
|
|
10
10
|
import { existsSync, readFileSync, mkdirSync, writeFileSync, copyFileSync, unlinkSync, rmdirSync, readdirSync } from 'fs';
|
|
11
11
|
import { join, dirname } 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-LSUYPZDQ.js';
|
|
4
|
+
import { UNIT_MARKER } from './chunk-Z5LGWR5H.js';
|
|
5
|
+
import { runnerDir } from './chunk-TPC6MXKS.js';
|
|
6
6
|
import { createHash } from 'crypto';
|
|
7
7
|
import { join } from 'path';
|
|
8
8
|
|
|
@@ -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-TPC6MXKS.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,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-DV44KCM6.js';
|
|
4
|
+
import { mcpFiles, skillLinkFolders, isAgentsMdLayout } from './chunk-76GFXRC7.js';
|
|
5
|
+
import { DEFAULT_DASHBOARD } from './chunk-4TVL4E53.js';
|
|
6
|
+
import { cliFetch, resolveGatewayCredentials } from './chunk-YH7RGFKK.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-NXOTVGPL.js';
|
|
11
|
+
import { remoteLookupFailed } from './chunk-Y55ARAPE.js';
|
|
12
12
|
import { execFileSync } from 'child_process';
|
|
13
13
|
import { lstatSync } from 'fs';
|
|
14
14
|
import { join, relative } from 'path';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { isVersion, compareVersions } from './chunk-TQMI335S.js';
|
|
4
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
4
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-TPC6MXKS.js';
|
|
5
5
|
import { readFileSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
6
6
|
import { join } from 'path';
|
|
7
7
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-
|
|
4
|
-
import { GATEWAY_SOCKET, GATEWAY_PORT, providerDestinations } from './chunk-
|
|
5
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-ULL2MHZU.js';
|
|
4
|
+
import { GATEWAY_SOCKET, GATEWAY_PORT, providerDestinations } from './chunk-B6LZQ5GU.js';
|
|
5
|
+
import { defaultAgents } from './chunk-NXOTVGPL.js';
|
|
6
6
|
import { PROVIDERS } from './chunk-7PZDPISM.js';
|
|
7
7
|
import { symlinkSync, unlinkSync } from 'fs';
|
|
8
8
|
import { join } from 'path';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { providersOf, credentialEnvPath, credentialNames, credentialForms, runnerAgents, credentialAgent, orList, credentialShapes, strippedVariables, jobAgent, forwardedVariables, MANAGED_KIND } from './chunk-
|
|
4
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { providersOf, credentialEnvPath, credentialNames, credentialForms, runnerAgents, credentialAgent, orList, credentialShapes, strippedVariables, jobAgent, forwardedVariables, MANAGED_KIND } from './chunk-T2OAXE5H.js';
|
|
4
|
+
import { defaultAgents } from './chunk-NXOTVGPL.js';
|
|
5
5
|
import { PROVIDERS } from './chunk-7PZDPISM.js';
|
|
6
6
|
import { statSync, readFileSync } from 'fs';
|
|
7
7
|
import { join } from 'path';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { hostKeyPath, runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
3
|
+
import { hostKeyPath, runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-TPC6MXKS.js';
|
|
4
4
|
import { generateKeyPairSync, createPrivateKey, createPublicKey, sign } from 'crypto';
|
|
5
5
|
import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'fs';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { parseOuterlayerConfig, targetIds, defaultAgents } from './chunk-
|
|
3
|
+
import { parseOuterlayerConfig, targetIds, defaultAgents } from './chunk-NXOTVGPL.js';
|
|
4
4
|
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-7PZDPISM.js';
|
|
5
5
|
import { readFileSync } from 'fs';
|
|
6
6
|
import { join } from 'path';
|
|
@@ -2,22 +2,18 @@
|
|
|
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,
|
|
5
|
+
import { linkedAgentsPath } from './chunk-J4LUKUXC.js';
|
|
6
|
+
import { resolvePackRoot, OUTERLAYER_SKILLS_BASE, loadTemplateFiles, AGENTS_SKILLS_BASE, loadMaintainedFiles, TEMPLATE_SKILLS, skillDir, writeMaintainedFiles, MACHINE_SKILL_PATH } from './chunk-NXOTVGPL.js';
|
|
7
7
|
import { LEGACY_AGENT } from './chunk-7PZDPISM.js';
|
|
8
8
|
import { MAINTAINED_SKILLS } from './chunk-TGVNEQSQ.js';
|
|
9
9
|
import { resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
10
|
-
import {
|
|
10
|
+
import { existsSync, mkdirSync, writeFileSync } from 'fs';
|
|
11
11
|
import { join, dirname } from 'path';
|
|
12
12
|
|
|
13
13
|
createRequire(import.meta.url);
|
|
14
14
|
var DEFAULT_TEMPLATE = "default";
|
|
15
15
|
var POLICY_PATH = ".outerlayer/policy.yaml";
|
|
16
16
|
var POLICY_CONTENT = "review: required\n";
|
|
17
|
-
var VALIDATOR_FILES = [
|
|
18
|
-
{ name: "acceptance-criteria.yaml", label: "the criteria judge check" }
|
|
19
|
-
];
|
|
20
|
-
var VALIDATORS_DIR = ".outerlayer/validators";
|
|
21
17
|
var StarterPackError = class extends Error {
|
|
22
18
|
};
|
|
23
19
|
function assertKnownTemplate(name) {
|
|
@@ -33,10 +29,6 @@ function installStarterPack(opts) {
|
|
|
33
29
|
if (linked !== void 0) throw new StarterPackError(`${linked} is a link, and a write there would land outside the repository; replace it with a folder and run this again`);
|
|
34
30
|
const templateFiles = loadTemplateFiles(packRoot, version, base);
|
|
35
31
|
const maintainedFiles = base === AGENTS_SKILLS_BASE ? [] : loadMaintainedFiles(packRoot, version, base);
|
|
36
|
-
const validatorFiles = VALIDATOR_FILES.map(({ name }) => ({
|
|
37
|
-
path: `${VALIDATORS_DIR}/${name}`,
|
|
38
|
-
content: rewriteSkillPaths(readFileSync(join(packRoot, "validators", name), "utf8"), base)
|
|
39
|
-
}));
|
|
40
32
|
const copied = [];
|
|
41
33
|
const kept = [];
|
|
42
34
|
for (const skill of TEMPLATE_SKILLS) {
|
|
@@ -59,32 +51,15 @@ function installStarterPack(opts) {
|
|
|
59
51
|
writeFileSync(policyAbs, POLICY_CONTENT);
|
|
60
52
|
policy = "written";
|
|
61
53
|
}
|
|
62
|
-
const validatorsWritten = [];
|
|
63
|
-
const validatorsKept = [];
|
|
64
|
-
for (const file of validatorFiles) {
|
|
65
|
-
const abs = join(opts.repoRoot, file.path);
|
|
66
|
-
if (existsSync(abs)) {
|
|
67
|
-
validatorsKept.push(file.path);
|
|
68
|
-
continue;
|
|
69
|
-
}
|
|
70
|
-
mkdirSync(dirname(abs), { recursive: true });
|
|
71
|
-
writeFileSync(abs, file.content);
|
|
72
|
-
validatorsWritten.push(file.path);
|
|
73
|
-
}
|
|
74
54
|
return {
|
|
75
55
|
base,
|
|
76
56
|
copied,
|
|
77
57
|
kept,
|
|
78
58
|
maintained: [...written.created, ...written.rewritten],
|
|
79
|
-
policy
|
|
80
|
-
validatorsWritten,
|
|
81
|
-
validatorsKept
|
|
59
|
+
policy
|
|
82
60
|
};
|
|
83
61
|
}
|
|
84
62
|
var skillFile = (skill, base) => `${skillDir(skill, base)}/SKILL.md`;
|
|
85
|
-
function validatorLabel(path) {
|
|
86
|
-
return VALIDATOR_FILES.find(({ name }) => path === `${VALIDATORS_DIR}/${name}`)?.label ?? "a check";
|
|
87
|
-
}
|
|
88
63
|
function formatStarterPackOutput(result) {
|
|
89
64
|
const lines = [];
|
|
90
65
|
const { base } = result;
|
|
@@ -105,10 +80,6 @@ function formatStarterPackOutput(result) {
|
|
|
105
80
|
lines.push(
|
|
106
81
|
"",
|
|
107
82
|
result.policy === "written" ? `${C.green}\u2713${C.reset} Wrote ${POLICY_PATH} (review required)` : `${C.dim}${POLICY_PATH} already exists \u2014 left as it is${C.reset}`,
|
|
108
|
-
...result.validatorsWritten.map(
|
|
109
|
-
(path) => `${C.green}\u2713${C.reset} Wrote ${path} (yours to edit \u2014 ${validatorLabel(path)})`
|
|
110
|
-
),
|
|
111
|
-
...result.validatorsKept.map((path) => `${C.dim}${path} already exists \u2014 left as it is${C.reset}`),
|
|
112
83
|
"",
|
|
113
84
|
...base === OUTERLAYER_SKILLS_BASE ? [
|
|
114
85
|
`Next: create .outerlayer/config.json naming your agent tools, for example {"targets": ["${LEGACY_AGENT}"]},`,
|
|
@@ -118,4 +89,4 @@ function formatStarterPackOutput(result) {
|
|
|
118
89
|
return lines.join("\n") + "\n";
|
|
119
90
|
}
|
|
120
91
|
|
|
121
|
-
export { POLICY_CONTENT, POLICY_PATH, StarterPackError,
|
|
92
|
+
export { POLICY_CONTENT, POLICY_PATH, StarterPackError, assertKnownTemplate, formatStarterPackOutput, installStarterPack };
|
|
@@ -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-7UXZOTF2.js';
|
|
4
|
+
import { resolveGatewayCredentials } from './chunk-YH7RGFKK.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-Y55ARAPE.js';
|
|
10
10
|
|
|
11
11
|
createRequire(import.meta.url);
|
|
12
12
|
|
|
@@ -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-MCUI6RHU.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,16 +1,16 @@
|
|
|
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-
|
|
6
|
-
import { acquireSpoolLockAt } from './chunk-
|
|
4
|
+
import { detectActiveSession } from './chunk-MUCWOHFZ.js';
|
|
5
|
+
import { autoConnect } from './chunk-DOIXXWA5.js';
|
|
6
|
+
import { acquireSpoolLockAt } from './chunk-DV44KCM6.js';
|
|
7
7
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
8
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
8
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-YH7RGFKK.js';
|
|
9
9
|
import { launchedItemForSession } from './chunk-LGJ56FCM.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
11
11
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
12
|
-
import { resolveRepoIdentity } from './chunk-
|
|
13
|
-
import { StepNameSchema, StepBodySchema } from './chunk-
|
|
12
|
+
import { resolveRepoIdentity } from './chunk-Y55ARAPE.js';
|
|
13
|
+
import { StepNameSchema, StepBodySchema } from './chunk-MCUI6RHU.js';
|
|
14
14
|
import { randomUUID } from 'crypto';
|
|
15
15
|
import { readFileSync, existsSync, mkdirSync, writeFileSync, renameSync, appendFileSync } from 'fs';
|
|
16
16
|
import { join, dirname } from 'path';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-
|
|
4
|
-
import { parseSize } from './chunk-
|
|
5
|
-
import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-
|
|
6
|
-
import { builderDiskPinned } from './chunk-
|
|
3
|
+
import { DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-MT5NUKSC.js';
|
|
4
|
+
import { parseSize } from './chunk-WGYAMFBU.js';
|
|
5
|
+
import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-ULL2MHZU.js';
|
|
6
|
+
import { builderDiskPinned } from './chunk-T2OAXE5H.js';
|
|
7
7
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
8
8
|
import { existsSync, statSync, accessSync, constants, readFileSync } from 'fs';
|
|
9
9
|
import { hostname } from 'os';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { escapeUnitPath, UNIT_MARKER, DEFAULT_UNIT_NAME } from './chunk-
|
|
4
|
-
import { inspectService, realInspectProbes } from './chunk-
|
|
3
|
+
import { escapeUnitPath, UNIT_MARKER, DEFAULT_UNIT_NAME } from './chunk-Z5LGWR5H.js';
|
|
4
|
+
import { inspectService, realInspectProbes } from './chunk-B6LZQ5GU.js';
|
|
5
5
|
import { realpathSync, readFileSync, readdirSync } from 'fs';
|
|
6
6
|
import { resolve, dirname, join } from 'path';
|
|
7
7
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { LAUNCH_AGENT_ENV } from './chunk-TXKHD4Q6.js';
|
|
4
|
-
import { execStartArgv } from './chunk-
|
|
5
|
-
import { DEFAULT_UNIT_NAME } from './chunk-
|
|
6
|
-
import { runnerDir } from './chunk-
|
|
4
|
+
import { execStartArgv } from './chunk-7RSR6ESV.js';
|
|
5
|
+
import { DEFAULT_UNIT_NAME } from './chunk-Z5LGWR5H.js';
|
|
6
|
+
import { runnerDir } from './chunk-TPC6MXKS.js';
|
|
7
7
|
import { join, dirname } from 'path';
|
|
8
8
|
|
|
9
9
|
createRequire(import.meta.url);
|
|
@@ -3,7 +3,7 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
4
4
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
5
5
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
6
|
-
import { legacyAgent, laptopAgents, defaultAgents, McpFileError } from './chunk-
|
|
6
|
+
import { legacyAgent, laptopAgents, defaultAgents, McpFileError } from './chunk-NXOTVGPL.js';
|
|
7
7
|
import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'fs';
|
|
8
8
|
import { join, dirname } from 'path';
|
|
9
9
|
|
|
@@ -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-TPC6MXKS.js';
|
|
4
4
|
import { readFileSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
5
5
|
import { join } from 'path';
|
|
6
6
|
|
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { checkStarterFiles, contextIsGoverned } from './chunk-
|
|
4
|
-
import { resolveCredentials, getJson, WorkCommandError } from './chunk-
|
|
5
|
-
import { fleetCheck, checkBuildSkill, checkSpecSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-
|
|
6
|
-
import { withInjectedPrograms } from './chunk-
|
|
7
|
-
import { isLinkedRepository } from './chunk-
|
|
8
|
-
import { sanitizeTerminal } from './chunk-
|
|
3
|
+
import { checkStarterFiles, contextIsGoverned } from './chunk-VBAXFWTK.js';
|
|
4
|
+
import { resolveCredentials, getJson, WorkCommandError } from './chunk-IEU2WSC4.js';
|
|
5
|
+
import { fleetCheck, checkBuildSkill, checkSpecSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-3FJGWAYD.js';
|
|
6
|
+
import { withInjectedPrograms } from './chunk-UC2JHW7P.js';
|
|
7
|
+
import { isLinkedRepository } from './chunk-7UXZOTF2.js';
|
|
8
|
+
import { sanitizeTerminal } from './chunk-DV44KCM6.js';
|
|
9
9
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
10
|
-
import { checkFormerSkillNames } from './chunk-
|
|
11
|
-
import { resolveGatewayCredentials, defaultFetch } from './chunk-
|
|
12
|
-
import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-
|
|
10
|
+
import { checkFormerSkillNames } from './chunk-KTN4XDPJ.js';
|
|
11
|
+
import { resolveGatewayCredentials, defaultFetch } from './chunk-YH7RGFKK.js';
|
|
12
|
+
import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-ZV77MALL.js';
|
|
13
13
|
import { CONTROL_PLANE_DIR_VARIABLE } from './chunk-SF2TBJBP.js';
|
|
14
14
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
15
15
|
import { readStatuslineState, STATE_FRESH_MS } from './chunk-M53UNEO6.js';
|
|
16
16
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
17
|
-
import { installAgents, withSettingsText } from './chunk-
|
|
17
|
+
import { installAgents, withSettingsText } from './chunk-RWI7Z2G6.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-NXOTVGPL.js';
|
|
22
22
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
23
|
-
import { SUPPORTED_VERSIONS, resolveRepoIdentity } from './chunk-
|
|
24
|
-
import {
|
|
23
|
+
import { SUPPORTED_VERSIONS, resolveRepoIdentity } from './chunk-Y55ARAPE.js';
|
|
24
|
+
import { CRITERIA_JUDGE_NAME } from './chunk-MCUI6RHU.js';
|
|
25
|
+
import { readFileSync, mkdirSync, writeFileSync, renameSync, existsSync, accessSync, constants, statSync, readdirSync, lstatSync } from 'fs';
|
|
25
26
|
import { sep, join, dirname, resolve, delimiter } from 'path';
|
|
26
27
|
import { execFileSync } from 'child_process';
|
|
27
28
|
|
|
@@ -175,6 +176,45 @@ function checkMcpCommand(cwd, env = process.env, platform = process.platform, ag
|
|
|
175
176
|
return [{ name: NAME, status: "pass", detail: `the "outerlayer" server runs ${sanitizeTerminal(resolved)}` }];
|
|
176
177
|
});
|
|
177
178
|
}
|
|
179
|
+
var VALIDATORS_DIR = ".outerlayer/validators";
|
|
180
|
+
var NAME2 = "Criteria judge file";
|
|
181
|
+
function declaresJudgeId(text) {
|
|
182
|
+
const match = /^id:[ \t]*["']?([^"'#\s]+)["']?[ \t]*(?:#.*)?$/m.exec(text);
|
|
183
|
+
return match?.[1] === CRITERIA_JUDGE_NAME;
|
|
184
|
+
}
|
|
185
|
+
function ignoredCriteriaFiles(repoRoot) {
|
|
186
|
+
const dir = join(repoRoot, VALIDATORS_DIR);
|
|
187
|
+
let names;
|
|
188
|
+
try {
|
|
189
|
+
names = readdirSync(dir).filter((name) => /\.ya?ml$/.test(name)).sort();
|
|
190
|
+
} catch {
|
|
191
|
+
return [];
|
|
192
|
+
}
|
|
193
|
+
const found = [];
|
|
194
|
+
for (const name of names) {
|
|
195
|
+
try {
|
|
196
|
+
const abs = join(dir, name);
|
|
197
|
+
if (!lstatSync(abs).isFile()) continue;
|
|
198
|
+
if (declaresJudgeId(readFileSync(abs, "utf8"))) found.push(`${VALIDATORS_DIR}/${name}`);
|
|
199
|
+
} catch {
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
return found;
|
|
203
|
+
}
|
|
204
|
+
function checkIgnoredCriteriaFile(cwd) {
|
|
205
|
+
const dirs = findGitDirs(cwd ?? process.cwd());
|
|
206
|
+
if (dirs === void 0 || contextIsGoverned(dirs.gitCommonDir)) return [];
|
|
207
|
+
const files = ignoredCriteriaFiles(dirs.repoRoot);
|
|
208
|
+
if (files.length === 0) return [];
|
|
209
|
+
return [
|
|
210
|
+
{
|
|
211
|
+
name: NAME2,
|
|
212
|
+
status: "warn",
|
|
213
|
+
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.`,
|
|
214
|
+
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.`
|
|
215
|
+
}
|
|
216
|
+
];
|
|
217
|
+
}
|
|
178
218
|
|
|
179
219
|
// src/doctor.ts
|
|
180
220
|
function laptopChecksNotApplicable(label) {
|
|
@@ -211,6 +251,7 @@ function runDoctor(env = {}) {
|
|
|
211
251
|
...laptop ? checkStatusline(home, now, env.cwd, agents) : [],
|
|
212
252
|
...section("installs"),
|
|
213
253
|
...starter?.checks ?? [],
|
|
254
|
+
...checkIgnoredCriteriaFile(env.cwd),
|
|
214
255
|
...laptop ? checkRenamedSkills(env.cwd) : [],
|
|
215
256
|
...checkBuildSkillState(env.cwd, home),
|
|
216
257
|
...checkIgnoredSkills(env.cwd, agents),
|
|
@@ -1052,8 +1093,8 @@ function doctorExitCode(checks) {
|
|
|
1052
1093
|
|
|
1053
1094
|
// src/doctor-report.ts
|
|
1054
1095
|
async function gatherDoctorChecks(options = {}) {
|
|
1055
|
-
const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-
|
|
1056
|
-
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-
|
|
1096
|
+
const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-RODL3IQ2.js');
|
|
1097
|
+
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-TYASXT5C.js');
|
|
1057
1098
|
const configPath = options.configPath ?? defaultRunnerConfigPath();
|
|
1058
1099
|
const runnerHost = hasRunnerBlock(configPath);
|
|
1059
1100
|
const hooks = (() => {
|
|
@@ -1081,7 +1122,7 @@ async function gatherDoctorChecks(options = {}) {
|
|
|
1081
1122
|
const { runnerVmCheck } = await import('./doctor-53F2PYY7.js');
|
|
1082
1123
|
checks.push(runnerVmCheck(configPath, { lima: realLima(), home: homeFromEnv(), instance: runnerVm.instance }));
|
|
1083
1124
|
} else if (hasRunnerBlock(configPath)) {
|
|
1084
|
-
const { runnerHostChecks } = await import('./doctor-
|
|
1125
|
+
const { runnerHostChecks } = await import('./doctor-S4B74VR6.js');
|
|
1085
1126
|
const gateway = (() => {
|
|
1086
1127
|
try {
|
|
1087
1128
|
const loaded = loadRunnerConfig(configPath);
|
|
@@ -1109,7 +1150,7 @@ async function gatherDoctorChecks(options = {}) {
|
|
|
1109
1150
|
const service = await (async () => {
|
|
1110
1151
|
const { existsSync: existsSync3 } = await import('fs');
|
|
1111
1152
|
if (process.platform !== "linux" || !existsSync3("/run/systemd/system")) return void 0;
|
|
1112
|
-
const { inspectRunnerService } = await import('./find-unit-
|
|
1153
|
+
const { inspectRunnerService } = await import('./find-unit-3K3NXINH.js');
|
|
1113
1154
|
return inspectRunnerService(configPath);
|
|
1114
1155
|
})();
|
|
1115
1156
|
checks.push(...await runnerHostChecks({ configPath, hooks, gateway, repos, runner, service }));
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { detectActiveSession } from './chunk-
|
|
4
|
-
import { autoConnect } from './chunk-
|
|
5
|
-
import { workPageUrl } from './chunk-
|
|
6
|
-
import { sanitizeTerminal } from './chunk-
|
|
3
|
+
import { detectActiveSession } from './chunk-MUCWOHFZ.js';
|
|
4
|
+
import { autoConnect } from './chunk-DOIXXWA5.js';
|
|
5
|
+
import { workPageUrl } from './chunk-7UXZOTF2.js';
|
|
6
|
+
import { sanitizeTerminal } from './chunk-DV44KCM6.js';
|
|
7
7
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
8
|
-
import { resolveGatewayCredentials, unauthorizedMessage, defaultFetch } from './chunk-
|
|
9
|
-
import { signRunnerRequest } from './chunk-
|
|
8
|
+
import { resolveGatewayCredentials, unauthorizedMessage, defaultFetch } from './chunk-YH7RGFKK.js';
|
|
9
|
+
import { signRunnerRequest } from './chunk-BU7PN6MB.js';
|
|
10
10
|
import { readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
11
11
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
12
12
|
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-7PZDPISM.js';
|
|
13
13
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
14
|
-
import { resolveRepoIdentity } from './chunk-
|
|
14
|
+
import { resolveRepoIdentity } from './chunk-Y55ARAPE.js';
|
|
15
15
|
|
|
16
16
|
createRequire(import.meta.url);
|
|
17
17
|
|
|
@@ -563,7 +563,7 @@ async function runWorkLinkSession(opts) {
|
|
|
563
563
|
return await linkSession(opts);
|
|
564
564
|
} catch (err) {
|
|
565
565
|
if (opts.logFailures) {
|
|
566
|
-
const { logHookError } = await import('./hook-fast-
|
|
566
|
+
const { logHookError } = await import('./hook-fast-M6FWJHZL.js');
|
|
567
567
|
const reason = err instanceof Error ? err.message : String(err);
|
|
568
568
|
logHookError(opts.home ?? homeFromEnv(opts.env ?? process.env), new Error(`work link-session #${opts.number} failed: ${reason}`));
|
|
569
569
|
}
|
|
@@ -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-NXOTVGPL.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,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-NXOTVGPL.js';
|
|
5
5
|
import { readFileSync, existsSync, unlinkSync, rmdirSync, readdirSync } from 'fs';
|
|
6
6
|
import { join, dirname, relative, sep } from 'path';
|
|
7
7
|
|