@outerlayer/cli 0.41.0-next.20261118011624 → 0.41.0-next.20261118042344
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 +13 -65
- package/dist/{agent-credential-WCHRKI5G.js → agent-credential-HRNW646E.js} +5 -5
- package/dist/agent-setup-OY7X2RZ7.js +43 -0
- package/dist/{agent-subcommand-5N44GBJ7.js → agent-subcommand-IUZYR6XR.js} +4 -4
- package/dist/{artifact-link-cmd-YMMRVRQD.js → artifact-link-cmd-B6QPCFUL.js} +2 -2
- package/dist/{bridge-5VAASNNJ.js → bridge-4ZSJLYCX.js} +8 -8
- package/dist/{build-PF4W2ASA.js → build-XFVNQS7E.js} +14 -14
- package/dist/{build-disk-MSTWSDIT.js → build-disk-NGJQY2TK.js} +12 -12
- package/dist/build-info.json +1 -1
- package/dist/{builder-5PJVNQYN.js → builder-EQQV62EK.js} +11 -11
- package/dist/caller-4PJF4AG2.js +25 -0
- package/dist/{check-CXBD4VRL.js → check-PMCHCY4J.js} +56 -57
- package/dist/{chunk-BRLSGY57.js → chunk-372B3J4P.js} +1 -1
- package/dist/{chunk-RYVOUBUT.js → chunk-3YVYZTMD.js} +1 -1
- package/dist/{chunk-4Y4MZCAV.js → chunk-4CCWVDUX.js} +6 -6
- package/dist/{chunk-FZCKTV7H.js → chunk-4WR5WFJC.js} +11 -11
- package/dist/{chunk-OGY3XBHB.js → chunk-5SWJKCME.js} +4 -4
- package/dist/{chunk-RCJ3D5DA.js → chunk-6LKTKDMY.js} +2 -2
- package/dist/{chunk-BCJXDQEM.js → chunk-6ML3LB5R.js} +3 -3
- package/dist/{chunk-HIJWCAGE.js → chunk-6PPR2Z2P.js} +5 -5
- package/dist/{chunk-CA3M6T4Z.js → chunk-7CUCNCYW.js} +7 -7
- package/dist/{chunk-SANXMMBW.js → chunk-7FVQCFTT.js} +3 -3
- package/dist/{chunk-FG25LDVH.js → chunk-7H3JTB2I.js} +6 -6
- package/dist/{chunk-ZFTAOXJE.js → chunk-7SLZKQBB.js} +38 -40
- package/dist/{chunk-CVG52UWM.js → chunk-A37KFXXN.js} +18 -18
- package/dist/{chunk-ICU76D7N.js → chunk-BLFGNTAU.js} +5 -5
- package/dist/{chunk-3ZBBHCAW.js → chunk-BXQU44EL.js} +3 -3
- package/dist/{chunk-JR3R4R3R.js → chunk-DN2EA4XS.js} +1 -1
- package/dist/{chunk-MSDGVITJ.js → chunk-EEPVNSQ7.js} +1 -1
- package/dist/{chunk-SLM6EVQN.js → chunk-EJ6P43IT.js} +6 -6
- package/dist/{chunk-2RUTYYYA.js → chunk-EKBY375P.js} +1 -1
- package/dist/{chunk-ATXTGXGK.js → chunk-EMDZUXJX.js} +1 -1
- package/dist/{chunk-SRTJZV7P.js → chunk-HG3GUG5G.js} +1 -1
- package/dist/{chunk-MZJFHQJI.js → chunk-HJUJDDHO.js} +1 -1
- package/dist/{chunk-XMJNIIPM.js → chunk-HQYVI5T3.js} +45 -454
- package/dist/{chunk-5NKVS3UO.js → chunk-IDSEYLPI.js} +1 -1
- package/dist/{chunk-LOWZZ4QA.js → chunk-IL7GVNVQ.js} +1 -1
- package/dist/{chunk-4RPDWURG.js → chunk-ILHFH56O.js} +1 -1
- package/dist/{chunk-J2ADYASG.js → chunk-IQTWJYFV.js} +1 -1
- package/dist/{chunk-VWVXEJDK.js → chunk-IZ2NXWJV.js} +4 -4
- package/dist/{chunk-PZNXFA4N.js → chunk-J7NDBF6V.js} +1 -1
- package/dist/{chunk-X623IDTM.js → chunk-JE2W6Z2Y.js} +10 -10
- package/dist/{chunk-TKFMESAI.js → chunk-KC6AM5KC.js} +3 -3
- package/dist/{chunk-5DEHVQCK.js → chunk-KVZFYAYE.js} +14 -11
- package/dist/{chunk-Q3QJG2P6.js → chunk-LI4NF5TS.js} +2 -2
- package/dist/{chunk-MDEMVCGR.js → chunk-LMQSM3KR.js} +12491 -13457
- package/dist/{chunk-7CNODON3.js → chunk-MAFWNIYA.js} +1 -1
- package/dist/{chunk-6ZZHVNXE.js → chunk-MQGI4D3A.js} +6 -6
- package/dist/{chunk-M62TIWXX.js → chunk-NJBTQEEY.js} +3 -3
- package/dist/{chunk-FMOGX7RR.js → chunk-NJKM5XGH.js} +5 -5
- package/dist/{chunk-6JP7F7VC.js → chunk-NXLNXHDE.js} +6 -6
- package/dist/{chunk-QKVOUI56.js → chunk-OCDZ7MBX.js} +1 -1
- package/dist/{chunk-MAWDHLEA.js → chunk-OJSC57KK.js} +7 -7
- package/dist/{chunk-53GNEMTP.js → chunk-OR6OCGFY.js} +1 -1
- package/dist/{chunk-MNN45CQ2.js → chunk-OV3KU37X.js} +2 -2
- package/dist/{chunk-37WA2LQC.js → chunk-PDFCYYCC.js} +2 -8
- package/dist/{chunk-NI46LQRD.js → chunk-Q2TA7RYQ.js} +5 -27
- package/dist/{chunk-VKAQSJZN.js → chunk-QGJVNUCY.js} +1 -1
- package/dist/{chunk-K7KKKOHO.js → chunk-QKD23T7O.js} +9 -9
- package/dist/{chunk-Y26BNEMO.js → chunk-QW43URTD.js} +3 -3
- package/dist/{chunk-WNFITHNX.js → chunk-QW6TKDBL.js} +1 -1
- package/dist/{chunk-SXFHQ4Q4.js → chunk-QX4GZGMW.js} +3 -3
- package/dist/{chunk-BTJEBFAO.js → chunk-R3FVL26B.js} +7 -7
- package/dist/{chunk-G3CS5PQP.js → chunk-R5JQH7V6.js} +2 -2
- package/dist/{chunk-55XGYVWE.js → chunk-RFSYZEJE.js} +5 -5
- package/dist/{chunk-JR6KYUIA.js → chunk-RJPLN6SO.js} +3 -3
- package/dist/{chunk-XBFVL7PB.js → chunk-S5QUXXJT.js} +4 -4
- package/dist/{chunk-OZZCRYJI.js → chunk-SHNKZGS7.js} +7 -7
- package/dist/{chunk-7RGKY7N5.js → chunk-SWSEQ6X3.js} +8 -8
- package/dist/{chunk-M5SLRRBU.js → chunk-SXPRKSRY.js} +2 -2
- package/dist/{chunk-CII3Z3YJ.js → chunk-T6PP5OYW.js} +4 -4
- package/dist/{chunk-2E5YBULG.js → chunk-T7PY3A5I.js} +1 -1
- package/dist/{chunk-KTZOD7A3.js → chunk-UG4AUZCR.js} +1 -1
- package/dist/{chunk-CDCO3HGT.js → chunk-UXLWZV2S.js} +4 -4
- package/dist/{chunk-GS5QF27G.js → chunk-UYOR2ZFY.js} +1 -1
- package/dist/{chunk-APVMCKLK.js → chunk-WGR5CYGQ.js} +1 -1
- package/dist/{chunk-BJJ5ULJS.js → chunk-WIIRJEMD.js} +7 -7
- package/dist/{chunk-P7WAAN35.js → chunk-X24VL3Q6.js} +1 -1
- package/dist/{chunk-XDAMSCJG.js → chunk-XEETBQKD.js} +1 -1
- package/dist/{chunk-26RXLXEX.js → chunk-Y2HG7SGT.js} +1 -1
- package/dist/{chunk-AL3U2CW7.js → chunk-Y2X4YY3E.js} +33 -35
- package/dist/{chunk-SDCECDBS.js → chunk-ZBQDEROG.js} +4 -4
- package/dist/{chunk-67IEAQPG.js → chunk-ZEQT23XF.js} +1 -1
- package/dist/{chunk-4SMKP5QI.js → chunk-ZH6AN3UH.js} +1 -1
- package/dist/{chunk-475AL6JE.js → chunk-ZJNTS7HZ.js} +2 -2
- package/dist/{chunk-KJKMGZCS.js → chunk-ZWPENDEN.js} +8 -8
- package/dist/{chunk-5OI5KRAS.js → chunk-ZXYHJ4V2.js} +8 -8
- package/dist/{claude-launcher-FG7INEGW.js → claude-launcher-TD7BOXS3.js} +7 -7
- package/dist/{cli-MADWWBN4.js → cli-GH5MZGRY.js} +177 -224
- package/dist/{command-CLWR3FUL.js → command-CGY337MC.js} +52 -53
- package/dist/{config-VVEK5PI7.js → config-ZGTWKAGF.js} +13 -13
- package/dist/{connect-cmd-27EZXSQD.js → connect-cmd-GKGB2E7L.js} +14 -14
- package/dist/{container-start-GIBWJIUU.js → container-start-JA6S5OZA.js} +49 -50
- package/dist/{context-cleanup-BUZVQNKC.js → context-cleanup-AQQC4EZ6.js} +4 -4
- package/dist/{context-show-cmd-XGWEED7L.js → context-show-cmd-55RKC5M6.js} +15 -15
- package/dist/{control-plane-launch-BEN5IP6V.js → control-plane-launch-UH6LIDIM.js} +15 -15
- package/dist/{demo-record-cmd-SLC5BB4F.js → demo-record-cmd-Q7RXHNSW.js} +9 -9
- package/dist/{demo-voice-cmd-DEBELV5H.js → demo-voice-cmd-LC75USDT.js} +21 -21
- package/dist/{dist-FKOMD5MC.js → dist-ITIDOS3E.js} +2 -2
- package/dist/{docker-V7LPG7UC.js → docker-DCZ3QU7E.js} +11 -11
- package/dist/{doctor-C6N55URV.js → doctor-UOPEG5JW.js} +51 -52
- package/dist/{emit-artifact-cmd-LR5CDALJ.js → emit-artifact-cmd-DQXFW5QL.js} +20 -20
- package/dist/{emit-cmd-UDTT7ENT.js → emit-cmd-IPPDMPP6.js} +7 -7
- package/dist/{emit-criteria-cmd-QXOWR62U.js → emit-criteria-cmd-2YF7DG7K.js} +17 -17
- package/dist/{emit-demo-cmd-IBGCUSYL.js → emit-demo-cmd-Z2Z7G3BM.js} +21 -21
- package/dist/{emit-finding-cmd-QHJBPJPW.js → emit-finding-cmd-ZVDJ4IWI.js} +17 -17
- package/dist/{emit-step-cmd-2GPRJQNX.js → emit-step-cmd-WVMHTORK.js} +17 -17
- package/dist/{exec-client-VGSMXNKS.js → exec-client-6B65UMC4.js} +9 -9
- package/dist/{find-unit-7VMZPXFC.js → find-unit-CPKLR4S3.js} +14 -14
- package/dist/{findings-cmd-YUWS5J7S.js → findings-cmd-7QLBWQGC.js} +17 -17
- package/dist/{fleet-readiness-IOHYJY4W.js → fleet-readiness-5KULJEOF.js} +15 -15
- package/dist/{governing-source-KJNPV7BE.js → governing-source-CPCH4DJC.js} +22 -22
- package/dist/{guest-init-R7X5CUNQ.js → guest-init-DYUGDDAL.js} +10 -10
- package/dist/{hook-fast-4U5KN5DQ.js → hook-fast-5CJ6RJFG.js} +1 -1
- package/dist/{hook-install-NOWMUPSI.js → hook-install-33FYUDIE.js} +4 -4
- package/dist/host-checks-LQL5AAWT.js +83 -0
- package/dist/host-key-JCGCSUKW.js +20 -0
- package/dist/{image-tag-DQZQLNUN.js → image-tag-XNNZOXVO.js} +9 -9
- package/dist/index.js +4 -4
- package/dist/{init-KMLACOSW.js → init-DYJMROGI.js} +47 -48
- package/dist/init-RDMYISJU.js +83 -0
- package/dist/{init-agent-NZGNDNBY.js → init-agent-ZCBIXS6M.js} +47 -48
- package/dist/init-cmd-TYN64DJI.js +55 -0
- package/dist/{init-update-AZOTPBI7.js → init-update-MJ7MYP6V.js} +25 -25
- package/dist/install-cmd-QYJDQH6P.js +28 -0
- package/dist/launch-agent-YB3ZHJZO.js +28 -0
- package/dist/{layout-U2ZTNGVB.js → layout-JQCHHAB7.js} +4 -4
- package/dist/{login-browser-QAPMBSQA.js → login-browser-J5BFWBCZ.js} +2 -2
- package/dist/{logs-GWNZVEWX.js → logs-7HCS6KSZ.js} +8 -9
- package/dist/loop-3JAEQFO7.js +93 -0
- package/dist/machine-HLEJXQNG.js +83 -0
- package/dist/{machine-skills-2QFBY2II.js → machine-skills-XOZYRCQU.js} +4 -4
- package/dist/{mcp-install-cmd-KRZJVOND.js → mcp-install-cmd-2OYL5QG2.js} +4 -4
- package/dist/{mcp-serve-cmd-7ST4TEEZ.js → mcp-serve-cmd-WX36M5AW.js} +10 -10
- package/dist/{paths-2QQQW7UU.js → paths-BFCAC3BS.js} +8 -8
- package/dist/pending-DDB24JP7.js +20 -0
- package/dist/{pidfile-US23B2SQ.js → pidfile-WLYGNER6.js} +9 -9
- package/dist/{record-LCEWXDKS.js → record-KQIGBRJO.js} +9 -9
- package/dist/{relay-MHWMGCTK.js → relay-LPJV7OVV.js} +6 -6
- package/dist/{relay-protocol-FHGPRNPT.js → relay-protocol-3BVU2NN5.js} +6 -6
- package/dist/{run-cmd-BH7M2GHA.js → run-cmd-DH45VQHD.js} +17 -17
- package/dist/{runner-agents-2JTYE3RL.js → runner-agents-VTEO2GEK.js} +4 -4
- package/dist/runner-env-YS7NTZVF.js +26 -0
- package/dist/{runner-identity-F727CIPY.js → runner-identity-CXYSHPMV.js} +11 -11
- package/dist/{runner-key-ML6NMQC4.js → runner-key-VVGDYJ3V.js} +47 -48
- package/dist/{session-sender-GRHNLJ54.js → session-sender-XATQAHUP.js} +20 -20
- package/dist/{setup-cmd-LOXZNIRO.js → setup-cmd-BDNW3QX2.js} +15 -15
- package/dist/{setup-wiring-CBRAMTHM.js → setup-wiring-7WP7T6DZ.js} +54 -55
- package/dist/{spec-cmd-UH6RGIST.js → spec-cmd-JQD4MVSD.js} +18 -18
- package/dist/{starter-pack-G5TQVPMW.js → starter-pack-VJ6M5POI.js} +5 -5
- package/dist/state-ISFCEXUY.js +20 -0
- package/dist/{status-NWHPZ64N.js → status-OLYG2DQO.js} +47 -48
- package/dist/{sync-cmd-QK6IQF3F.js → sync-cmd-4WBPOCSV.js} +19 -19
- package/dist/update-steps-OSHKSM76.js +84 -0
- package/dist/{watch-OQKMLLTU.js → watch-FVZGHC4H.js} +19 -19
- package/dist/{work-claim-cmd-KHEY7QBX.js → work-claim-cmd-5QLR2AXJ.js} +23 -23
- package/dist/{work-cmd-KXMF42BU.js → work-cmd-4WIUDL3X.js} +17 -17
- package/dist/{work-comment-cmd-4QEJW4UR.js → work-comment-cmd-H7D2QMAH.js} +19 -19
- package/dist/{work-demo-cmd-UNJ77ILF.js → work-demo-cmd-GDECXMTW.js} +17 -17
- package/dist/{work-logs-cmd-HI4P3EGH.js → work-logs-cmd-BEJ57ZYU.js} +17 -17
- package/dist/{work-mock-cmd-RN6A5FDA.js → work-mock-cmd-BMYUKPLS.js} +17 -17
- package/dist/{work-needs-attention-cmd-TUINWEIT.js → work-needs-attention-cmd-AUQIQDUY.js} +17 -17
- package/dist/{work-no-change-cmd-2ASMVDHL.js → work-no-change-cmd-MKXFCWZB.js} +17 -17
- package/dist/{work-open-pr-cmd-C5VYFOHW.js → work-open-pr-cmd-TMATND63.js} +18 -18
- package/dist/{work-pr-cmd-ICYDMFTL.js → work-pr-cmd-PYM5ALZY.js} +17 -17
- package/dist/{work-proofs-cmd-HY7UNTZV.js → work-proofs-cmd-Q4LFVRGN.js} +19 -19
- package/dist/{work-proofs-record-4M5JAUGQ.js → work-proofs-record-TOM5TMTS.js} +25 -25
- package/dist/{work-stop-cmd-K2SHFPWB.js → work-stop-cmd-CCUZFQEZ.js} +17 -17
- package/package.json +1 -1
- package/dist/agent-setup-ISSLHGJC.js +0 -43
- package/dist/caller-XLTD6RGV.js +0 -25
- package/dist/chunk-I3LTIAOR.js +0 -11
- package/dist/emit-result-cmd-XOISZCY3.js +0 -242
- package/dist/host-checks-G656HX6E.js +0 -84
- package/dist/host-key-6MP2WQDQ.js +0 -20
- package/dist/init-PY4NIYW4.js +0 -84
- package/dist/init-cmd-6NJQQVR5.js +0 -55
- package/dist/install-cmd-S5VFI7NR.js +0 -28
- package/dist/launch-agent-AXF2ED2A.js +0 -28
- package/dist/loop-GGADN4X4.js +0 -94
- package/dist/machine-7VMKOIFB.js +0 -84
- package/dist/pending-MIZOCMQO.js +0 -20
- package/dist/runner-env-PU6WIRCC.js +0 -26
- package/dist/state-L67V6AML.js +0 -20
- package/dist/update-steps-6SKUQISL.js +0 -85
- package/dist/{real-deps-HNNHF3UN.js → real-deps-B7NMEDXM.js} +1 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { criteriaOf, loadCitationFinder, testFileMatcher, hostItemsOf, runnerMatcher, NO_VERDICT_REASON } from './chunk-
|
|
4
|
-
import { WorkCommandError, resolveCredentials, getJson } from './chunk-
|
|
5
|
-
import { sanitizeTerminal } from './chunk-
|
|
3
|
+
import { criteriaOf, loadCitationFinder, testFileMatcher, hostItemsOf, runnerMatcher, NO_VERDICT_REASON } from './chunk-7SLZKQBB.js';
|
|
4
|
+
import { WorkCommandError, resolveCredentials, getJson } from './chunk-ZWPENDEN.js';
|
|
5
|
+
import { sanitizeTerminal } from './chunk-QW6TKDBL.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { defaultFetch } from './chunk-
|
|
7
|
+
import { defaultFetch } from './chunk-DN2EA4XS.js';
|
|
8
8
|
import { parseWorkItemEnv } from './chunk-LGJ56FCM.js';
|
|
9
9
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
10
10
|
import { readDeliveryRecord } from './chunk-YQR6E6OV.js';
|
|
11
|
-
import { parseProofsConfig } from './chunk-
|
|
12
|
-
import { resolveRepoIdentity } from './chunk-
|
|
13
|
-
import { inferArtifactKind, mediaTypeForArtifactPath, WORK_ITEM_COMMENT_MAX_BODY_LENGTH, parseJunit, isTestSourcePath } from './chunk-
|
|
11
|
+
import { parseProofsConfig } from './chunk-HQYVI5T3.js';
|
|
12
|
+
import { resolveRepoIdentity } from './chunk-UG4AUZCR.js';
|
|
13
|
+
import { inferArtifactKind, mediaTypeForArtifactPath, WORK_ITEM_COMMENT_MAX_BODY_LENGTH, parseJunit, isTestSourcePath } from './chunk-PDFCYYCC.js';
|
|
14
14
|
import { spawnSync } from 'child_process';
|
|
15
15
|
import { createHash } from 'crypto';
|
|
16
16
|
import { readFileSync, readdirSync, lstatSync, statSync, existsSync } from 'fs';
|
|
@@ -129,16 +129,16 @@ function governingDir(cwd) {
|
|
|
129
129
|
async function testProofMode(cwd) {
|
|
130
130
|
const dir = governingDir(cwd);
|
|
131
131
|
if (dir === void 0) return "any";
|
|
132
|
-
const { testProofIn } = await import('./host-checks-
|
|
132
|
+
const { testProofIn } = await import('./host-checks-LQL5AAWT.js');
|
|
133
133
|
return testProofIn(dir);
|
|
134
134
|
}
|
|
135
135
|
async function judgeCheckName(cwd) {
|
|
136
136
|
const dir = governingDir(cwd);
|
|
137
137
|
if (dir === void 0) return {};
|
|
138
138
|
if (!existsSync(dir)) return { note: `the governed context at ${dir} is not readable` };
|
|
139
|
-
const { checksIn
|
|
139
|
+
const { checksIn } = await import('./host-checks-LQL5AAWT.js');
|
|
140
140
|
const quiet = { line: () => void 0, error: () => void 0 };
|
|
141
|
-
const check = checksIn(dir, quiet, "").checks.find((c) =>
|
|
141
|
+
const check = checksIn(dir, quiet, "").checks.find((c) => c.judge.subjects === "criteria");
|
|
142
142
|
return check === void 0 ? {} : { name: check.name };
|
|
143
143
|
}
|
|
144
144
|
async function findUnproven(input) {
|
|
@@ -372,7 +372,7 @@ async function runWorkProofs(opts) {
|
|
|
372
372
|
async function runWorkProofsCommand(opts) {
|
|
373
373
|
try {
|
|
374
374
|
if (opts.record || opts.check) {
|
|
375
|
-
const { runWorkProofsRecord } = await import('./work-proofs-record-
|
|
375
|
+
const { runWorkProofsRecord } = await import('./work-proofs-record-TOM5TMTS.js');
|
|
376
376
|
const result2 = await runWorkProofsRecord(opts);
|
|
377
377
|
process.exitCode = result2.exitCode;
|
|
378
378
|
return;
|
|
@@ -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-QKD23T7O.js';
|
|
4
|
+
import { spoolDir } from './chunk-7FVQCFTT.js';
|
|
5
5
|
import { parseRunEnv, parseWorkItemEnv } from './chunk-LGJ56FCM.js';
|
|
6
|
-
import { sessionFolderIn, legacyAgent } from './chunk-
|
|
6
|
+
import { sessionFolderIn, legacyAgent } from './chunk-HQYVI5T3.js';
|
|
7
7
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
8
|
-
import { CaptureDaemon } from './chunk-
|
|
8
|
+
import { CaptureDaemon } from './chunk-UG4AUZCR.js';
|
|
9
9
|
import { mkdirSync, writeFileSync, rmSync } from 'fs';
|
|
10
10
|
import { join } from 'path';
|
|
11
11
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { credentialEnvPath, runnerAgents, credentialNames, credentialForms, credentialAgent, strippedVariables, orList, credentialShapes, managedOfferedAgents, listedAgents, agentsNeedingCredential, judgeAgent, forwardedVariables } from './chunk-
|
|
4
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { credentialEnvPath, runnerAgents, credentialNames, credentialForms, credentialAgent, strippedVariables, orList, credentialShapes, managedOfferedAgents, listedAgents, agentsNeedingCredential, judgeAgent, forwardedVariables } from './chunk-EEPVNSQ7.js';
|
|
4
|
+
import { defaultAgents } from './chunk-HQYVI5T3.js';
|
|
5
5
|
import { statSync, readFileSync } from 'fs';
|
|
6
6
|
import { join, basename } from 'path';
|
|
7
7
|
import { spawn, spawnSync } from 'child_process';
|
|
@@ -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-LMQSM3KR.js';
|
|
4
|
+
import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-3YVYZTMD.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-DCZ3QU7E.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,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { DEFAULT_UNIT_NAME } from './chunk-
|
|
4
|
-
import { RUNNER_FILE_MODE } from './chunk-
|
|
5
|
-
import { parseRunnerEnv, withoutCredentialLines } from './chunk-
|
|
6
|
-
import { isHeadlessAgent, runnerAgentNamed, credentialAgent, orList, credentialShapes, runnerAgents, credentialForms, credentialNames, forwardedVariables } from './chunk-
|
|
7
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { DEFAULT_UNIT_NAME } from './chunk-4CCWVDUX.js';
|
|
4
|
+
import { RUNNER_FILE_MODE } from './chunk-OR6OCGFY.js';
|
|
5
|
+
import { parseRunnerEnv, withoutCredentialLines } from './chunk-6LKTKDMY.js';
|
|
6
|
+
import { isHeadlessAgent, runnerAgentNamed, credentialAgent, orList, credentialShapes, runnerAgents, credentialForms, credentialNames, forwardedVariables } from './chunk-EEPVNSQ7.js';
|
|
7
|
+
import { defaultAgents } from './chunk-HQYVI5T3.js';
|
|
8
8
|
import { existsSync, readFileSync, writeFileSync, renameSync, rmSync } from 'fs';
|
|
9
9
|
import { join, dirname, basename } from 'path';
|
|
10
10
|
|
|
@@ -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-QKD23T7O.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-Y2HG7SGT.js';
|
|
6
|
+
import { autoConnect } from './chunk-RJPLN6SO.js';
|
|
7
|
+
import { readEffectiveArtifactSpoolState, localArtifactIds, isArtifactTombstoned, artifactBlobsDir, appendArtifactRecord, artifactsSpoolPath, findPendingArtifactRecord, sanitizeTerminal, appendArtifactTombstone } from './chunk-QW6TKDBL.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
9
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-DN2EA4XS.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
11
11
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
12
12
|
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-Q7Z6ELTL.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-UG4AUZCR.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-PDFCYYCC.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';
|
|
@@ -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-33FYUDIE.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-AQQC4EZ6.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-UH6LIDIM.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,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-QW6TKDBL.js';
|
|
4
|
+
import { mcpFiles, skillLinkFolders, isAgentsMdLayout } from './chunk-ZH6AN3UH.js';
|
|
5
|
+
import { DEFAULT_DASHBOARD } from './chunk-XEETBQKD.js';
|
|
6
|
+
import { cliFetch, resolveGatewayCredentials } from './chunk-DN2EA4XS.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-HQYVI5T3.js';
|
|
11
|
+
import { remoteLookupFailed } from './chunk-UG4AUZCR.js';
|
|
12
12
|
import { execFileSync } from 'child_process';
|
|
13
13
|
import { lstatSync } from 'fs';
|
|
14
14
|
import { join, relative } from 'path';
|
|
@@ -1,11 +1,11 @@
|
|
|
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_REF_PATH_MAX_LENGTH, CHECK_ITEM_REASON_MAX_LENGTH, CHECK_ITEMS_MAX,
|
|
6
|
-
import { createHash } from 'crypto';
|
|
3
|
+
import { sanitizeTerminal } from './chunk-QW6TKDBL.js';
|
|
4
|
+
import { resolvePackRoot, parseProofsConfig } from './chunk-HQYVI5T3.js';
|
|
5
|
+
import { CheckItemsSchema, CHECK_ITEM_REF_PATH_MAX_LENGTH, CHECK_ITEM_REASON_MAX_LENGTH, CHECK_ITEMS_MAX, problemKind, CHECK_ITEM_REFS_MAX, CHECK_ITEM_ID_MAX_LENGTH, JUDGE_NOT_RUN_ITEM_ID, REVIEWED_COMMIT_ITEM_ID, TEAM_RULES_ITEM_ID } from './chunk-PDFCYYCC.js';
|
|
7
6
|
import { join } from 'path';
|
|
8
7
|
import { pathToFileURL } from 'url';
|
|
8
|
+
import { createHash } from 'crypto';
|
|
9
9
|
|
|
10
10
|
createRequire(import.meta.url);
|
|
11
11
|
|
|
@@ -2365,6 +2365,40 @@ function runnerMatcher(runners) {
|
|
|
2365
2365
|
return index === -1 ? void 0 : index;
|
|
2366
2366
|
};
|
|
2367
2367
|
}
|
|
2368
|
+
var MAX_TEST_FILE_BYTES = 1024 * 1024;
|
|
2369
|
+
async function loadCitationFinder() {
|
|
2370
|
+
return await import(pathToFileURL(join(resolvePackRoot(), "maintained", "outerlayer-build", "scripts", "criterion-citations.mjs")).href);
|
|
2371
|
+
}
|
|
2372
|
+
function testFileMatcher(finder, proofsText) {
|
|
2373
|
+
const parsed = proofsText === void 0 ? void 0 : parseProofsConfig(proofsText);
|
|
2374
|
+
const runners = parsed?.ok === true ? parsed.value.runners : [];
|
|
2375
|
+
const runnerFor = runnerMatcher(runners);
|
|
2376
|
+
const inRunnerGlob = (path2) => runnerFor(path2) !== void 0;
|
|
2377
|
+
return (path2) => finder.isTestFile(path2, inRunnerGlob);
|
|
2378
|
+
}
|
|
2379
|
+
function criteriaOf(workItem) {
|
|
2380
|
+
const criteria = Object(Object(workItem).criteria);
|
|
2381
|
+
if (!Array.isArray(criteria.items)) return void 0;
|
|
2382
|
+
const drafted = criteria.drafted === true;
|
|
2383
|
+
const items = [];
|
|
2384
|
+
for (const entry of criteria.items) {
|
|
2385
|
+
const { id, text, proof } = Object(entry);
|
|
2386
|
+
if (typeof id !== "string" || typeof text !== "string") continue;
|
|
2387
|
+
items.push({ id, text, proof: typeof proof === "string" ? proof : null, drafted });
|
|
2388
|
+
}
|
|
2389
|
+
return items.length === 0 ? void 0 : items;
|
|
2390
|
+
}
|
|
2391
|
+
function hostCheckOf(workItem, name) {
|
|
2392
|
+
const checks = Object(workItem).checks;
|
|
2393
|
+
if (!Array.isArray(checks)) return void 0;
|
|
2394
|
+
const check = checks.find((entry) => Object(entry).name === name);
|
|
2395
|
+
if (check?.source !== "host") return void 0;
|
|
2396
|
+
const parsed = CheckItemsSchema.safeParse(check.items);
|
|
2397
|
+
return { result: check.result === "pass" || check.result === "fail" ? check.result : void 0, items: parsed.success ? parsed.data : [] };
|
|
2398
|
+
}
|
|
2399
|
+
function hostItemsOf(workItem, name) {
|
|
2400
|
+
return hostCheckOf(workItem, name)?.items ?? [];
|
|
2401
|
+
}
|
|
2368
2402
|
|
|
2369
2403
|
// src/runner/diff-lines.ts
|
|
2370
2404
|
var HUNK = /^@@ -\d+(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/;
|
|
@@ -2425,8 +2459,6 @@ function lineInDiff(lines, path2, line) {
|
|
|
2425
2459
|
function lineAdded(lines, path2, line) {
|
|
2426
2460
|
return lines.get(path2)?.has(line) === true;
|
|
2427
2461
|
}
|
|
2428
|
-
|
|
2429
|
-
// src/runner/judge-items.ts
|
|
2430
2462
|
var ARTIFACT_PROOF_REASON = "Its declared artifact proves it; the judge does not judge artifacts.";
|
|
2431
2463
|
var NO_NAMED_TEST_REASON = "The judge named no test file that proves this criterion.";
|
|
2432
2464
|
var NO_VERDICT_REASON = "The judge gave no result for this criterion.";
|
|
@@ -2649,39 +2681,5 @@ function itemsSentence(items, noun) {
|
|
|
2649
2681
|
if (failing.length === 0) return void 0;
|
|
2650
2682
|
return `${failing.length} of ${items.length} ${items.length === 1 ? noun.one : noun.many} not satisfied: ${failing.join(", ")}`;
|
|
2651
2683
|
}
|
|
2652
|
-
var MAX_TEST_FILE_BYTES = 1024 * 1024;
|
|
2653
|
-
async function loadCitationFinder() {
|
|
2654
|
-
return await import(pathToFileURL(join(resolvePackRoot(), "maintained", "outerlayer-build", "scripts", "criterion-citations.mjs")).href);
|
|
2655
|
-
}
|
|
2656
|
-
function testFileMatcher(finder, proofsText) {
|
|
2657
|
-
const parsed = proofsText === void 0 ? void 0 : parseProofsConfig(proofsText);
|
|
2658
|
-
const runners = parsed?.ok === true ? parsed.value.runners : [];
|
|
2659
|
-
const runnerFor = runnerMatcher(runners);
|
|
2660
|
-
const inRunnerGlob = (path2) => runnerFor(path2) !== void 0;
|
|
2661
|
-
return (path2) => finder.isTestFile(path2, inRunnerGlob);
|
|
2662
|
-
}
|
|
2663
|
-
function criteriaOf(workItem) {
|
|
2664
|
-
const criteria = Object(Object(workItem).criteria);
|
|
2665
|
-
if (!Array.isArray(criteria.items)) return void 0;
|
|
2666
|
-
const drafted = criteria.drafted === true;
|
|
2667
|
-
const items = [];
|
|
2668
|
-
for (const entry of criteria.items) {
|
|
2669
|
-
const { id, text, proof } = Object(entry);
|
|
2670
|
-
if (typeof id !== "string" || typeof text !== "string") continue;
|
|
2671
|
-
items.push({ id, text, proof: typeof proof === "string" ? proof : null, drafted });
|
|
2672
|
-
}
|
|
2673
|
-
return items.length === 0 ? void 0 : items;
|
|
2674
|
-
}
|
|
2675
|
-
function hostCheckOf(workItem, name) {
|
|
2676
|
-
const checks = Object(workItem).checks;
|
|
2677
|
-
if (!Array.isArray(checks)) return void 0;
|
|
2678
|
-
const check = checks.find((entry) => Object(entry).name === name);
|
|
2679
|
-
if (check?.source !== "host") return void 0;
|
|
2680
|
-
const parsed = CheckItemsSchema.safeParse(check.items);
|
|
2681
|
-
return { result: check.result === "pass" || check.result === "fail" ? check.result : void 0, items: parsed.success ? parsed.data : [] };
|
|
2682
|
-
}
|
|
2683
|
-
function hostItemsOf(workItem, name) {
|
|
2684
|
-
return hostCheckOf(workItem, name)?.items ?? [];
|
|
2685
|
-
}
|
|
2686
2684
|
|
|
2687
2685
|
export { MAX_TEST_FILE_BYTES, NO_VERDICT_REASON, criteriaOf, criterionInputs, diffLines, failedItems, hostCheckOf, hostItemsOf, inCriteriaOrder, itemsSentence, judgeGroups, judgedItems, lineInDiff, loadCitationFinder, oneLineReason, parseJudgeAnswer, planCriteria, runnerMatcher, testFileMatcher, testsByCriterion, treePath, wholeEntries, wholeItems };
|
|
@@ -1,27 +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-NJKM5XGH.js';
|
|
4
|
+
import { resolveCredentials, getJson, WorkCommandError } from './chunk-ZWPENDEN.js';
|
|
5
|
+
import { isLinkedRepository } from './chunk-7H3JTB2I.js';
|
|
6
|
+
import { fleetCheck, checkBuildSkill, checkSpecSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-EJ6P43IT.js';
|
|
7
|
+
import { sanitizeTerminal } from './chunk-QW6TKDBL.js';
|
|
8
|
+
import { withInjectedPrograms } from './chunk-EKBY375P.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-ILHFH56O.js';
|
|
11
|
+
import { resolveGatewayCredentials, defaultFetch } from './chunk-DN2EA4XS.js';
|
|
12
|
+
import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-7FVQCFTT.js';
|
|
13
13
|
import { CONTROL_PLANE_DIR_VARIABLE } from './chunk-DJK3IK6K.js';
|
|
14
14
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
15
15
|
import { readStatuslineState, STATE_FRESH_MS } from './chunk-B3ZKYFBI.js';
|
|
16
16
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
17
|
-
import { installAgents, withSettingsText } from './chunk-
|
|
17
|
+
import { installAgents, withSettingsText } from './chunk-IQTWJYFV.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-HQYVI5T3.js';
|
|
22
22
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
23
|
-
import { SUPPORTED_VERSIONS, resolveRepoIdentity } from './chunk-
|
|
24
|
-
import { CRITERIA_JUDGE_NAME } from './chunk-
|
|
23
|
+
import { SUPPORTED_VERSIONS, resolveRepoIdentity } from './chunk-UG4AUZCR.js';
|
|
24
|
+
import { CRITERIA_JUDGE_NAME } from './chunk-PDFCYYCC.js';
|
|
25
25
|
import { readFileSync, mkdirSync, writeFileSync, renameSync, existsSync, accessSync, constants, statSync, readdirSync, lstatSync } from 'fs';
|
|
26
26
|
import { sep, join, dirname, resolve, delimiter } from 'path';
|
|
27
27
|
import { execFileSync } from 'child_process';
|
|
@@ -1094,9 +1094,9 @@ function doctorExitCode(checks) {
|
|
|
1094
1094
|
|
|
1095
1095
|
// src/doctor-report.ts
|
|
1096
1096
|
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-
|
|
1097
|
+
const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-NGJQY2TK.js');
|
|
1098
|
+
const { listedAgents } = await import('./runner-agents-VTEO2GEK.js');
|
|
1099
|
+
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-ZGTWKAGF.js');
|
|
1100
1100
|
const configPath = options.configPath ?? defaultRunnerConfigPath();
|
|
1101
1101
|
const runnerHost = hasRunnerBlock(configPath);
|
|
1102
1102
|
const hooks = (() => {
|
|
@@ -1124,7 +1124,7 @@ async function gatherDoctorChecks(options = {}) {
|
|
|
1124
1124
|
const { runnerVmCheck } = await import('./doctor-53F2PYY7.js');
|
|
1125
1125
|
checks.push(runnerVmCheck(configPath, { lima: realLima(), home: homeFromEnv(), instance: runnerVm.instance }));
|
|
1126
1126
|
} else if (hasRunnerBlock(configPath)) {
|
|
1127
|
-
const { runnerHostChecks } = await import('./doctor-
|
|
1127
|
+
const { runnerHostChecks } = await import('./doctor-UOPEG5JW.js');
|
|
1128
1128
|
const gateway = (() => {
|
|
1129
1129
|
try {
|
|
1130
1130
|
const loaded = loadRunnerConfig(configPath);
|
|
@@ -1153,7 +1153,7 @@ async function gatherDoctorChecks(options = {}) {
|
|
|
1153
1153
|
const service = await (async () => {
|
|
1154
1154
|
const { existsSync: existsSync3 } = await import('fs');
|
|
1155
1155
|
if (process.platform !== "linux" || !existsSync3("/run/systemd/system")) return void 0;
|
|
1156
|
-
const { inspectRunnerService } = await import('./find-unit-
|
|
1156
|
+
const { inspectRunnerService } = await import('./find-unit-CPKLR4S3.js');
|
|
1157
1157
|
return inspectRunnerService(configPath);
|
|
1158
1158
|
})();
|
|
1159
1159
|
checks.push(...await runnerHostChecks({ configPath, hooks, gateway, repos, runner, service }));
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RemovedTargetError, removedTargetError } from './chunk-
|
|
4
|
-
import { removeRetiredSkills } from './chunk-
|
|
3
|
+
import { RemovedTargetError, removedTargetError } from './chunk-EMDZUXJX.js';
|
|
4
|
+
import { removeRetiredSkills } from './chunk-ILHFH56O.js';
|
|
5
5
|
import { removeLeftoverGitLocks } from './chunk-A2WPWZJA.js';
|
|
6
|
-
import { defaultFetch, resolveGatewayCredentials } from './chunk-
|
|
7
|
-
import { withTokenHeader } from './chunk-
|
|
6
|
+
import { defaultFetch, resolveGatewayCredentials } from './chunk-DN2EA4XS.js';
|
|
7
|
+
import { withTokenHeader } from './chunk-Q2TA7RYQ.js';
|
|
8
8
|
import { appendContextProvenance } from './chunk-545P7JY7.js';
|
|
9
9
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
10
10
|
import { writeDegraded, writeSourceCache, SOURCE_CACHE_TTL_RETRY_MS, writeContextManifest, SOURCE_CACHE_TTL_SUCCESS_MS, readSourceCache, isSourceCacheFresh, clearDegraded } from './chunk-YQR6E6OV.js';
|
|
11
|
-
import { normalizeRepoName, loadMaintainedFiles, writeMaintainedFiles, parseOuterlayerConfig, targetIds, classifyTree, emitTree, emitBuilders, defaultAgents, agentRootFolders } from './chunk-
|
|
11
|
+
import { normalizeRepoName, loadMaintainedFiles, writeMaintainedFiles, parseOuterlayerConfig, targetIds, classifyTree, emitTree, emitBuilders, defaultAgents, agentRootFolders } from './chunk-HQYVI5T3.js';
|
|
12
12
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
13
13
|
import { execFileSync } from 'child_process';
|
|
14
14
|
import { existsSync, mkdirSync, writeFileSync, chmodSync, lstatSync, readFileSync, copyFileSync } from 'fs';
|
|
@@ -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-IDSEYLPI.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-NJBTQEEY.js';
|
|
6
|
+
import { RELAY_PORT } from './chunk-Q2TA7RYQ.js';
|
|
7
7
|
import { spawn, spawnSync } from 'child_process';
|
|
8
8
|
import { symlinkSync, lstatSync, writeFileSync, chmodSync, mkdirSync, existsSync } from 'fs';
|
|
9
9
|
|
|
@@ -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-QGJVNUCY.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,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { STALL_EXIT } from './chunk-MQ6SKVLA.js';
|
|
4
|
-
import { defaultAgents, agentById } from './chunk-
|
|
4
|
+
import { defaultAgents, agentById } from './chunk-HQYVI5T3.js';
|
|
5
5
|
import { PROVIDERS, LEGACY_AGENT, isModelId } from './chunk-Q7Z6ELTL.js';
|
|
6
6
|
import { join, dirname } from 'path';
|
|
7
7
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { sanitizeTerminal } from './chunk-
|
|
4
|
-
import { machineSkillsState, staleAgentSkills } from './chunk-
|
|
5
|
-
import { isAgentsMdLayout } from './chunk-
|
|
6
|
-
import { resolveGatewayCredentials, defaultFetch } from './chunk-
|
|
3
|
+
import { sanitizeTerminal } from './chunk-QW6TKDBL.js';
|
|
4
|
+
import { machineSkillsState, staleAgentSkills } from './chunk-IL7GVNVQ.js';
|
|
5
|
+
import { isAgentsMdLayout } from './chunk-ZH6AN3UH.js';
|
|
6
|
+
import { resolveGatewayCredentials, defaultFetch } from './chunk-DN2EA4XS.js';
|
|
7
7
|
import { versionAtLeast } from './chunk-DJK3IK6K.js';
|
|
8
8
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
9
9
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
10
|
-
import { hasSymlinkComponent } from './chunk-
|
|
11
|
-
import { skillDir, emitTree, targetIds, classifyTree, emitBuilders, AGENTS_SKILLS_BASE, defaultAgents, namesCore, MACHINE_SKILL_PATH, skillBases, isMaintainedCopy, contextAgents, loadTemplateFiles, splitRawFile } from './chunk-
|
|
10
|
+
import { hasSymlinkComponent } from './chunk-X24VL3Q6.js';
|
|
11
|
+
import { skillDir, emitTree, targetIds, classifyTree, emitBuilders, AGENTS_SKILLS_BASE, defaultAgents, namesCore, MACHINE_SKILL_PATH, skillBases, isMaintainedCopy, contextAgents, loadTemplateFiles, splitRawFile } from './chunk-HQYVI5T3.js';
|
|
12
12
|
import { MAINTAINED_SKILLS } from './chunk-VSBG7MMU.js';
|
|
13
13
|
import { execFileSync } from 'child_process';
|
|
14
14
|
import { existsSync, readFileSync, writeFileSync, realpathSync, readdirSync } from 'fs';
|
|
@@ -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-HQYVI5T3.js';
|
|
4
4
|
|
|
5
5
|
createRequire(import.meta.url);
|
|
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-HQYVI5T3.js';
|
|
4
4
|
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-Q7Z6ELTL.js';
|
|
5
5
|
import { readFileSync } from 'fs';
|
|
6
6
|
import { join } from 'path';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_DIGEST } from './chunk-
|
|
3
|
+
import { UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_DIGEST } from './chunk-EEPVNSQ7.js';
|
|
4
4
|
import { existsSync, readdirSync, readFileSync, lstatSync, realpathSync, writeFileSync } from 'fs';
|
|
5
5
|
import { join, resolve, relative, dirname, sep, basename } from 'path';
|
|
6
6
|
import { createRequire as createRequire$1 } from 'module';
|
|
@@ -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-J7NDBF6V.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';
|