@outerlayer/cli 0.36.0-next.20261102195652 → 0.36.0-next.20261102213701
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 +4 -13
- package/dist/agent-setup-2WL54CA2.js +39 -0
- package/dist/{agent-subcommand-4TEUJJNL.js → agent-subcommand-Z4UDDCLB.js} +6 -5
- package/dist/{artifact-link-cmd-ZCMQIT5Y.js → artifact-link-cmd-ZPQXVG5O.js} +2 -2
- package/dist/{bridge-4KPODDN7.js → bridge-LVTX4DVM.js} +8 -7
- package/dist/{build-3CEFKWGY.js → build-W5LRG2AO.js} +14 -14
- package/dist/{build-disk-DLW3WKC5.js → build-disk-3KTQZ6N5.js} +12 -12
- package/dist/build-info.json +1 -1
- package/dist/{builder-ALMQ5AWP.js → builder-UMCVSMDY.js} +11 -11
- package/dist/caller-DYXZCUF2.js +22 -0
- package/dist/{check-AEDFTYH6.js → check-NFLR5CGS.js} +58 -58
- package/dist/{chunk-DTQPDMHG.js → chunk-23SNF2LN.js} +4 -4
- package/dist/{chunk-DL2RYNXQ.js → chunk-2E2WWMRX.js} +28 -60
- package/dist/{chunk-6JLYU322.js → chunk-32GBZ7HD.js} +3 -3
- package/dist/{chunk-LZS5EYZ6.js → chunk-35OBGZYO.js} +1 -1
- package/dist/{chunk-BACWWK3E.js → chunk-36ML3NIO.js} +15 -15
- package/dist/{chunk-73E33ZA2.js → chunk-3EEUQZQU.js} +9 -9
- package/dist/{chunk-BZSJ77MO.js → chunk-46FKHE74.js} +1 -1
- package/dist/{chunk-HRBSEXYC.js → chunk-4Y7IEPQH.js} +6 -6
- package/dist/{chunk-Y5S2G2EZ.js → chunk-4YGPLC5Y.js} +7 -7
- package/dist/{chunk-2YC3TXWX.js → chunk-52RRBTZ5.js} +1 -1
- package/dist/{chunk-B5SWBFVE.js → chunk-66UG5SL4.js} +3 -3
- package/dist/{chunk-Z3MB7SV7.js → chunk-72EOJJVT.js} +7 -7
- package/dist/{chunk-FWKQHKCR.js → chunk-AACYODIT.js} +7 -5
- package/dist/{chunk-7XTLS5PG.js → chunk-AZTTOBJ5.js} +5 -5
- package/dist/{chunk-6QSIK5VA.js → chunk-B5GDCCOZ.js} +1 -1
- package/dist/{chunk-42DBDDHP.js → chunk-CBMEWHAR.js} +1 -1
- package/dist/{chunk-G35Y4LN5.js → chunk-CXMXXRNS.js} +1 -1
- package/dist/{chunk-J6VC3JCG.js → chunk-DCOQWKLK.js} +1 -1
- package/dist/{chunk-A24PDRNU.js → chunk-E2U7BBAT.js} +5 -5
- package/dist/{chunk-IX6CFXSW.js → chunk-EM4QCRI6.js} +9 -9
- package/dist/{chunk-J2OMKFYB.js → chunk-F7ODYKBA.js} +3 -3
- package/dist/{chunk-WVAXJOWG.js → chunk-FCMEWS3G.js} +5 -5
- package/dist/{chunk-7UGMB5VS.js → chunk-FVIDZ3GK.js} +34 -37
- package/dist/{chunk-LSLK4RS4.js → chunk-G3BUOMCF.js} +1 -0
- package/dist/{chunk-CA4OE2QT.js → chunk-GFSS3FRE.js} +4 -4
- package/dist/{chunk-KN3TDNF7.js → chunk-HGOJ67KV.js} +10 -21
- package/dist/{chunk-J6HWRVN2.js → chunk-HHKVXKQI.js} +8 -8
- package/dist/{chunk-PIZA7OG2.js → chunk-HKJCNBUB.js} +1 -1
- package/dist/{chunk-D74RGORK.js → chunk-HXSU4JLV.js} +1 -1
- package/dist/{chunk-BSPJI5T7.js → chunk-IEFSDAVW.js} +1 -1
- package/dist/{chunk-4UUKUOS7.js → chunk-IFLD3WEB.js} +3 -3
- package/dist/{chunk-M4HH2F64.js → chunk-ILP4ABFG.js} +6 -6
- package/dist/{chunk-HRHWA6TZ.js → chunk-IOFEDCTL.js} +1 -1
- package/dist/{chunk-H2NJG3TE.js → chunk-JU5SQNFB.js} +4 -4
- package/dist/{chunk-2XN34EKQ.js → chunk-JUQ52FZI.js} +3 -3
- package/dist/{chunk-JBPVEXHQ.js → chunk-JZBFR6JB.js} +8 -8
- package/dist/{chunk-T5QBWM6M.js → chunk-KG5BQFSO.js} +1 -1
- package/dist/{chunk-B36NSEUM.js → chunk-KIY2AUHY.js} +1 -1
- package/dist/{chunk-JVHWWJ2J.js → chunk-KKI3POPP.js} +6 -6
- package/dist/{chunk-4DLJ343I.js → chunk-KTL7GFQ3.js} +1 -1
- package/dist/{chunk-I4DM7SNX.js → chunk-LTAMZ36E.js} +1 -1
- package/dist/{chunk-6KH3NMIT.js → chunk-M7AIU22N.js} +124 -1099
- package/dist/{chunk-BN5U4RJU.js → chunk-MKGJ7TTH.js} +8 -8
- package/dist/{chunk-HZVS4MGL.js → chunk-NTK7RUVE.js} +7 -7
- package/dist/{chunk-UCMIS74X.js → chunk-OPUJGPPT.js} +2 -2
- package/dist/{chunk-PBGNX3PS.js → chunk-OQZ2B5AN.js} +1 -1
- package/dist/{chunk-PSQEGJPN.js → chunk-OROFFYEM.js} +5 -5
- package/dist/{chunk-Z66CKWOM.js → chunk-PMXVWQ4T.js} +1 -1
- package/dist/{chunk-ZSRMJOAK.js → chunk-QE7L5PJV.js} +3 -3
- package/dist/{chunk-6Z7R24XA.js → chunk-QJHXX2HG.js} +8 -8
- package/dist/{chunk-LO4CK734.js → chunk-REXQKAY7.js} +1 -1
- package/dist/{chunk-NMBXA3AT.js → chunk-RSPTOS4S.js} +3 -3
- package/dist/{chunk-HTRDL42C.js → chunk-TI32Q3VB.js} +1 -1
- package/dist/{chunk-I6U6QPN6.js → chunk-TOP4K2T6.js} +1138 -80
- package/dist/{chunk-XIDDJSQU.js → chunk-U37FB7ER.js} +2 -2
- package/dist/{chunk-F36EKGMP.js → chunk-UASEIXDB.js} +75 -159
- package/dist/{chunk-ML5YKV3B.js → chunk-UKDKM6Y6.js} +1 -1
- package/dist/{chunk-LHHDX7FB.js → chunk-UQ2YFDGP.js} +5 -5
- package/dist/{chunk-CXJC3JLN.js → chunk-V5S6CVGP.js} +5 -12
- package/dist/{chunk-FWSVWPMS.js → chunk-V6V3NN5G.js} +1 -1
- package/dist/{chunk-VKKKVYA4.js → chunk-VHX2C7DU.js} +1 -1
- package/dist/{chunk-LSZUTI6O.js → chunk-VNXITMKE.js} +1 -1
- package/dist/{chunk-T2KBHW6P.js → chunk-VUINLLWP.js} +3 -3
- package/dist/{chunk-5XX75FJ6.js → chunk-VWMQA7FN.js} +8 -8
- package/dist/{chunk-GBGJGYEE.js → chunk-W3CY6H56.js} +6 -6
- package/dist/{chunk-H23JP73I.js → chunk-WGZOLJPP.js} +1 -1
- package/dist/{chunk-A2U7T4ZH.js → chunk-X2M2G376.js} +18 -18
- package/dist/{chunk-FOSYM7TQ.js → chunk-X4QHDRXT.js} +2 -2
- package/dist/{chunk-SBZ545DH.js → chunk-XILGXRHT.js} +2 -2
- package/dist/{chunk-FIUUESD4.js → chunk-YIDWZYDY.js} +4 -4
- package/dist/{chunk-CI5LFLKH.js → chunk-YJQBL6SD.js} +2 -2
- package/dist/{chunk-Y2P3HWUG.js → chunk-YQGYZB6Y.js} +28 -20
- package/dist/{chunk-MVPOYQQY.js → chunk-Z4ASKZKN.js} +1 -1
- package/dist/{chunk-D6EXW4EB.js → chunk-ZM2SKQJD.js} +2 -2
- package/dist/{claude-launcher-NJGZUB3P.js → claude-launcher-LXCRQNU3.js} +10 -9
- package/dist/{cli-POIDBCZA.js → cli-WGFTREIM.js} +153 -165
- package/dist/{command-ZLBFX553.js → command-BZDNRIFI.js} +53 -53
- package/dist/config-VV4J2DMW.js +21 -0
- package/dist/{connect-cmd-6YKNFJJR.js → connect-cmd-UDYTPV2S.js} +14 -14
- package/dist/{container-start-55QELXPJ.js → container-start-BQD6IAKZ.js} +51 -51
- package/dist/{context-cleanup-3K2AOECJ.js → context-cleanup-ZKAL6X5I.js} +6 -5
- package/dist/{context-show-cmd-FGMRJ7IG.js → context-show-cmd-FXIYFC6Q.js} +15 -15
- package/dist/{control-plane-launch-DGPA3ONU.js → control-plane-launch-6HIHBOHF.js} +16 -15
- package/dist/{demo-record-cmd-2OKCGST7.js → demo-record-cmd-JTIK5WI3.js} +9 -8
- package/dist/{demo-voice-cmd-BPTSL7JA.js → demo-voice-cmd-5HV4AHY4.js} +23 -23
- package/dist/dist-64LM4JF4.js +7 -0
- package/dist/{docker-GFEEV42Z.js → docker-RB7YFA52.js} +11 -11
- package/dist/{doctor-ZOQSI3HL.js → doctor-BNL5J2NG.js} +54 -80
- package/dist/emit-artifact-cmd-VF6PO7NJ.js +43 -0
- package/dist/{emit-cmd-RO4L4PFZ.js → emit-cmd-PTOSSDQK.js} +9 -8
- package/dist/emit-criteria-cmd-QGCS6RCB.js +34 -0
- package/dist/{emit-demo-cmd-5KL64L74.js → emit-demo-cmd-O7YLI4ZL.js} +23 -23
- package/dist/{emit-finding-cmd-R4OEWQQR.js → emit-finding-cmd-GO2C5QCS.js} +17 -17
- package/dist/{emit-result-cmd-5YNQDTYG.js → emit-result-cmd-LQ4EW7ML.js} +21 -21
- package/dist/{emit-step-cmd-Z5WC7UEQ.js → emit-step-cmd-JWUNEZ4N.js} +17 -17
- package/dist/{exec-client-54XKNPTI.js → exec-client-725NVWZ5.js} +9 -8
- package/dist/find-unit-U5U52ASA.js +23 -0
- package/dist/{findings-cmd-J5ZCY2AT.js → findings-cmd-JN67G7EG.js} +17 -17
- package/dist/{fleet-readiness-DKCFOUYP.js → fleet-readiness-7P5NN3RT.js} +16 -15
- package/dist/governing-source-NC7N3PKM.js +40 -0
- package/dist/{guest-init-5QZRGP62.js → guest-init-N65WE3XP.js} +10 -9
- package/dist/{hook-fast-ICT2PRQX.js → hook-fast-VZDS3U7L.js} +4 -4
- package/dist/{hook-install-GDNRMML4.js → hook-install-DOEXRPO5.js} +6 -5
- package/dist/{hook-wrap-fast-LWWKKPGK.js → hook-wrap-fast-L5PCBVNI.js} +3 -3
- package/dist/host-checks-5HVG67AR.js +78 -0
- package/dist/host-key-KPUIJK4Q.js +17 -0
- package/dist/{image-tag-RX4WTHJH.js → image-tag-RAVG4ZXU.js} +9 -8
- package/dist/index.js +6 -6
- package/dist/{init-BZXVQO22.js → init-J5XW2VNL.js} +49 -50
- package/dist/init-MN4R6USQ.js +78 -0
- package/dist/{init-cmd-3LWFEKHD.js → init-cmd-INPWUFWW.js} +31 -31
- package/dist/{init-update-THEHC25C.js → init-update-7BA2HEZD.js} +26 -26
- package/dist/{install-cmd-WBVTTE5Z.js → install-cmd-UUEJWTHG.js} +11 -10
- package/dist/{layout-7XMC7S6K.js → layout-KSD373US.js} +6 -5
- package/dist/{login-browser-QH4KYG3F.js → login-browser-NUQQYH5J.js} +2 -2
- package/dist/{logs-7YIXBO2K.js → logs-2NBI76N2.js} +8 -7
- package/dist/loop-G7HCDVIP.js +89 -0
- package/dist/machine-WQCCGKOP.js +78 -0
- package/dist/{machine-skills-HR4RNRNR.js → machine-skills-IMGN27M7.js} +6 -5
- package/dist/{mcp-install-cmd-SMPLT43Q.js → mcp-install-cmd-25PA5RAI.js} +6 -5
- package/dist/{mcp-serve-cmd-HLS24XCG.js → mcp-serve-cmd-JVND6WYT.js} +10 -9
- package/dist/{paths-2YTU4QIO.js → paths-S6KJMQSQ.js} +8 -7
- package/dist/pending-BBPET4YL.js +17 -0
- package/dist/{pidfile-SPBTMTCJ.js → pidfile-QDFTWZP4.js} +9 -8
- package/dist/{record-3KXRFK5C.js → record-AJSJBMOG.js} +9 -8
- package/dist/{relay-I2T43PPB.js → relay-X7EBGNZW.js} +6 -5
- package/dist/{relay-protocol-GI2GC2AM.js → relay-protocol-TAXUFBSM.js} +6 -5
- package/dist/runner-env-XKUW67Y4.js +23 -0
- package/dist/{runner-identity-32MTGA2F.js → runner-identity-7RYI6PS4.js} +11 -11
- package/dist/{runner-key-FXYWHMMO.js → runner-key-R4QPZDDR.js} +49 -49
- package/dist/{session-sender-B6INUY7G.js → session-sender-FQARNO3V.js} +22 -22
- package/dist/{shell-function-GYD2ZQQG.js → shell-function-D2T55XFG.js} +2 -2
- package/dist/{spec-cmd-ZEZFMC4A.js → spec-cmd-WOSYBAKL.js} +18 -18
- package/dist/{starter-pack-IMKIUA56.js → starter-pack-OLH6O4YX.js} +7 -6
- package/dist/state-IGLONCPS.js +17 -0
- package/dist/{status-VPFIIHOZ.js → status-BUHMAGRI.js} +49 -49
- package/dist/{statusline-fast-NUVHCNRX.js → statusline-fast-36U3TOCL.js} +3 -3
- package/dist/{sync-cmd-W756BQWX.js → sync-cmd-2DR7HOVJ.js} +21 -21
- package/dist/update-steps-GDNIKWWH.js +79 -0
- package/dist/{watch-6EDRJZMG.js → watch-3I4ZN52F.js} +29 -26
- package/dist/{work-claim-cmd-7HR4AVCT.js → work-claim-cmd-M6ACVTNM.js} +23 -23
- package/dist/{work-cmd-ZP4UIHBT.js → work-cmd-HLNFJWQQ.js} +17 -17
- package/dist/work-comment-cmd-JTCAB3DG.js +37 -0
- package/dist/{work-demo-cmd-3A7Z3VVS.js → work-demo-cmd-XLNJYGCL.js} +17 -17
- package/dist/{work-logs-cmd-NDPSRSCM.js → work-logs-cmd-Q3UUIOQI.js} +17 -17
- package/dist/{work-open-pr-cmd-Z5B3ERAU.js → work-open-pr-cmd-H74M4ZXC.js} +18 -18
- package/dist/{work-pr-cmd-ZVPGCDWD.js → work-pr-cmd-M3X2D5MC.js} +17 -17
- package/dist/{work-proofs-cmd-VAXJ5UBF.js → work-proofs-cmd-ZRPPBFDL.js} +19 -19
- package/dist/{work-proofs-record-K467JH24.js → work-proofs-record-PF2JRTWE.js} +27 -27
- package/dist/{work-stop-cmd-J45Q2QT7.js → work-stop-cmd-2NO2F2BD.js} +17 -17
- package/package.json +1 -1
- package/dist/agent-setup-5UWZZMZM.js +0 -39
- package/dist/caller-XNBGW4SP.js +0 -22
- package/dist/config-GKSSGMXD.js +0 -21
- package/dist/dist-VVZIGSAF.js +0 -7
- package/dist/emit-artifact-cmd-3LDJ4VRW.js +0 -43
- package/dist/emit-criteria-cmd-V3ERJXHB.js +0 -34
- package/dist/find-unit-OI56YEX5.js +0 -23
- package/dist/governing-source-7PD4ISRN.js +0 -40
- package/dist/host-checks-GADKYJFN.js +0 -78
- package/dist/host-key-FI6KWMJC.js +0 -16
- package/dist/init-EKF4ILHF.js +0 -78
- package/dist/loop-RUQQ4L5A.js +0 -89
- package/dist/machine-IGHZW3IO.js +0 -78
- package/dist/pending-S2SKIBCB.js +0 -16
- package/dist/runner-env-HOWRS6I6.js +0 -23
- package/dist/state-DVKFUWB3.js +0 -16
- package/dist/update-steps-D6L6AG6E.js +0 -79
- package/dist/work-comment-cmd-CYDOEMW3.js +0 -37
- package/dist/{chunk-TPMLB3VZ.js → chunk-A6RI6KTI.js} +1 -1
- package/dist/{chunk-P6PHY33P.js → chunk-F3T5QJ24.js} +1 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { criteriaOf, loadCitationFinder, hostItemsOf, criterionInputs, NO_CITING_TEST_REASON, NO_TEST_FILES_REASON, NO_VERDICT_REASON, isFoundInReason, uncitedIds, planCriteria, pickSearchable, IdScan, testFileMatcher, foundInReason, MAX_TEST_FILE_BYTES, MAX_TEST_FILES, groupBySize } from './chunk-
|
|
4
|
-
import { WorkCommandError, resolveCredentials, getJson } from './chunk-
|
|
5
|
-
import { sanitizeTerminal } from './chunk-
|
|
6
|
-
import { resolveRepoIdentity } from './chunk-6KH3NMIT.js';
|
|
3
|
+
import { criteriaOf, loadCitationFinder, hostItemsOf, criterionInputs, NO_CITING_TEST_REASON, NO_TEST_FILES_REASON, NO_VERDICT_REASON, isFoundInReason, uncitedIds, planCriteria, pickSearchable, IdScan, testFileMatcher, foundInReason, MAX_TEST_FILE_BYTES, MAX_TEST_FILES, groupBySize } from './chunk-X4QHDRXT.js';
|
|
4
|
+
import { WorkCommandError, resolveCredentials, getJson } from './chunk-EM4QCRI6.js';
|
|
5
|
+
import { sanitizeTerminal } from './chunk-F3T5QJ24.js';
|
|
7
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
8
|
-
import { defaultFetch } from './chunk-
|
|
7
|
+
import { defaultFetch } from './chunk-35OBGZYO.js';
|
|
9
8
|
import { parseWorkItemEnv } from './chunk-4OD45RBP.js';
|
|
10
9
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
11
10
|
import { readDeliveryRecord } from './chunk-YQR6E6OV.js';
|
|
11
|
+
import { resolveRepoIdentity } from './chunk-M7AIU22N.js';
|
|
12
12
|
import { inferArtifactKind, mediaTypeForArtifactPath, WORK_ITEM_COMMENT_MAX_BODY_LENGTH } from './chunk-WUKLQWGY.js';
|
|
13
13
|
import { createHash } from 'crypto';
|
|
14
14
|
import { spawnSync } from 'child_process';
|
|
@@ -217,14 +217,14 @@ function governingDir(cwd) {
|
|
|
217
217
|
async function testProofMode(cwd) {
|
|
218
218
|
const dir = governingDir(cwd);
|
|
219
219
|
if (dir === void 0) return "any";
|
|
220
|
-
const { testProofIn } = await import('./host-checks-
|
|
220
|
+
const { testProofIn } = await import('./host-checks-5HVG67AR.js');
|
|
221
221
|
return testProofIn(dir);
|
|
222
222
|
}
|
|
223
223
|
async function judgeCheckName(cwd) {
|
|
224
224
|
const dir = governingDir(cwd);
|
|
225
225
|
if (dir === void 0) return {};
|
|
226
226
|
if (!existsSync(dir)) return { note: `the governed context at ${dir} is not readable` };
|
|
227
|
-
const { checksIn, isJudgeCheck } = await import('./host-checks-
|
|
227
|
+
const { checksIn, isJudgeCheck } = await import('./host-checks-5HVG67AR.js');
|
|
228
228
|
const quiet = { line: () => void 0, error: () => void 0 };
|
|
229
229
|
const check = checksIn(dir, quiet, "").checks.find((c) => isJudgeCheck(c) && c.judge.subjects === "criteria");
|
|
230
230
|
return check === void 0 ? {} : { name: check.name };
|
|
@@ -369,7 +369,7 @@ async function runWorkProofs(opts) {
|
|
|
369
369
|
async function runWorkProofsCommand(opts) {
|
|
370
370
|
try {
|
|
371
371
|
if (opts.record) {
|
|
372
|
-
const { runWorkProofsRecord } = await import('./work-proofs-record-
|
|
372
|
+
const { runWorkProofsRecord } = await import('./work-proofs-record-PF2JRTWE.js');
|
|
373
373
|
const result2 = await runWorkProofsRecord(opts);
|
|
374
374
|
process.exitCode = result2.exitCode;
|
|
375
375
|
return;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-WGC7UFRM.js';
|
|
4
|
-
import { detectActiveSession } from './chunk-
|
|
5
|
-
import { autoConnect } from './chunk-
|
|
6
|
-
import { acquireSpoolLockAt } from './chunk-
|
|
7
|
-
import { resolveRepoIdentity } from './chunk-6KH3NMIT.js';
|
|
4
|
+
import { detectActiveSession } from './chunk-V6V3NN5G.js';
|
|
5
|
+
import { autoConnect } from './chunk-VUINLLWP.js';
|
|
6
|
+
import { acquireSpoolLockAt } from './chunk-F3T5QJ24.js';
|
|
8
7
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
8
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-35OBGZYO.js';
|
|
10
9
|
import { launchedItemForSession } from './chunk-4OD45RBP.js';
|
|
11
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
12
|
-
import { StepNameSchema, StepBodySchema } from './chunk-WUKLQWGY.js';
|
|
13
11
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
12
|
+
import { resolveRepoIdentity } from './chunk-M7AIU22N.js';
|
|
13
|
+
import { StepNameSchema, StepBodySchema } from './chunk-WUKLQWGY.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,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-CXMXXRNS.js';
|
|
4
4
|
import { readFileSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
5
5
|
import { join } from 'path';
|
|
6
6
|
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { checkStarterFiles, contextIsGoverned } from './chunk-
|
|
4
|
-
import { fleetCheck, checkBuildSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-
|
|
5
|
-
import { resolveCredentials, getJson, WorkCommandError } from './chunk-
|
|
6
|
-
import { isLinkedRepository } from './chunk-
|
|
7
|
-
import { sanitizeTerminal } from './chunk-
|
|
8
|
-
import { SUPPORTED_VERSIONS, resolveRepoIdentity } from './chunk-6KH3NMIT.js';
|
|
3
|
+
import { checkStarterFiles, contextIsGoverned } from './chunk-UQ2YFDGP.js';
|
|
4
|
+
import { fleetCheck, checkBuildSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-72EOJJVT.js';
|
|
5
|
+
import { resolveCredentials, getJson, WorkCommandError } from './chunk-EM4QCRI6.js';
|
|
6
|
+
import { isLinkedRepository } from './chunk-4Y7IEPQH.js';
|
|
7
|
+
import { sanitizeTerminal } from './chunk-F3T5QJ24.js';
|
|
9
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
10
|
-
import { checkFormerSkillNames } from './chunk-
|
|
11
|
-
import { resolveGatewayCredentials, defaultFetch } from './chunk-
|
|
12
|
-
import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-
|
|
13
|
-
import { readStatuslineState, STATE_FRESH_MS } from './chunk-
|
|
14
|
-
import { withInjectedPrograms } from './chunk-
|
|
15
|
-
import { CONTROL_PLANE_DIR_VARIABLE } from './chunk-
|
|
9
|
+
import { checkFormerSkillNames } from './chunk-KIY2AUHY.js';
|
|
10
|
+
import { resolveGatewayCredentials, defaultFetch } from './chunk-35OBGZYO.js';
|
|
11
|
+
import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-KKI3POPP.js';
|
|
12
|
+
import { readStatuslineState, STATE_FRESH_MS } from './chunk-LTAMZ36E.js';
|
|
13
|
+
import { withInjectedPrograms } from './chunk-KTL7GFQ3.js';
|
|
14
|
+
import { CONTROL_PLANE_DIR_VARIABLE } from './chunk-IEFSDAVW.js';
|
|
16
15
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
17
16
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
18
|
-
import { installAgents, withSettingsText } from './chunk-
|
|
17
|
+
import { installAgents, withSettingsText } from './chunk-TI32Q3VB.js';
|
|
19
18
|
import { cliForInstall, cliBinResolvable } from './chunk-ZHQC43NH.js';
|
|
20
19
|
import { readDeliveryRecord, readDegraded, readSourceCache } from './chunk-YQR6E6OV.js';
|
|
21
20
|
import { deadHooksState, preparePackageManagerCommand } from './chunk-CJPTUU2E.js';
|
|
22
|
-
import { defaultAgents, legacyAgent, contextAgents } from './chunk-
|
|
21
|
+
import { defaultAgents, legacyAgent, contextAgents } from './chunk-TOP4K2T6.js';
|
|
23
22
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
23
|
+
import { SUPPORTED_VERSIONS, resolveRepoIdentity } from './chunk-M7AIU22N.js';
|
|
24
24
|
import { readFileSync, mkdirSync, writeFileSync, renameSync, existsSync, accessSync, constants, statSync } from 'fs';
|
|
25
25
|
import { sep, join, dirname, resolve, delimiter } from 'path';
|
|
26
26
|
import { execFileSync } from 'child_process';
|
|
@@ -1050,8 +1050,8 @@ function doctorExitCode(checks) {
|
|
|
1050
1050
|
|
|
1051
1051
|
// src/doctor-report.ts
|
|
1052
1052
|
async function gatherDoctorChecks() {
|
|
1053
|
-
const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-
|
|
1054
|
-
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-
|
|
1053
|
+
const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-3KTQZ6N5.js');
|
|
1054
|
+
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-VV4J2DMW.js');
|
|
1055
1055
|
const configPath = defaultRunnerConfigPath();
|
|
1056
1056
|
const runnerHost = hasRunnerBlock(configPath);
|
|
1057
1057
|
const hooks = (() => {
|
|
@@ -1079,7 +1079,7 @@ async function gatherDoctorChecks() {
|
|
|
1079
1079
|
const { runnerVmCheck } = await import('./doctor-53F2PYY7.js');
|
|
1080
1080
|
checks.push(runnerVmCheck(configPath, { lima: realLima(), home: homeFromEnv(), instance: runnerVm.instance }));
|
|
1081
1081
|
} else if (hasRunnerBlock(configPath)) {
|
|
1082
|
-
const { runnerHostChecks } = await import('./doctor-
|
|
1082
|
+
const { runnerHostChecks } = await import('./doctor-BNL5J2NG.js');
|
|
1083
1083
|
const gateway = (() => {
|
|
1084
1084
|
try {
|
|
1085
1085
|
const loaded = loadRunnerConfig(configPath);
|
|
@@ -1107,7 +1107,7 @@ async function gatherDoctorChecks() {
|
|
|
1107
1107
|
const service = await (async () => {
|
|
1108
1108
|
const { existsSync: existsSync3 } = await import('fs');
|
|
1109
1109
|
if (process.platform !== "linux" || !existsSync3("/run/systemd/system")) return void 0;
|
|
1110
|
-
const { inspectRunnerService } = await import('./find-unit-
|
|
1110
|
+
const { inspectRunnerService } = await import('./find-unit-U5U52ASA.js');
|
|
1111
1111
|
return inspectRunnerService(configPath);
|
|
1112
1112
|
})();
|
|
1113
1113
|
checks.push(...await runnerHostChecks({ configPath, hooks, gateway, repos, runner, service }));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { sanitizeTerminal } from './chunk-
|
|
4
|
-
import { resolvePackRoot, parseProofsConfig } from './chunk-
|
|
3
|
+
import { sanitizeTerminal } from './chunk-F3T5QJ24.js';
|
|
4
|
+
import { resolvePackRoot, parseProofsConfig } from './chunk-TOP4K2T6.js';
|
|
5
5
|
import { CHECK_ITEM_REASON_MAX_LENGTH, CheckItemsSchema } from './chunk-WUKLQWGY.js';
|
|
6
6
|
import { createHash } from 'crypto';
|
|
7
7
|
import { join } 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-36ML3NIO.js';
|
|
4
|
+
import { orgHomeDir } from './chunk-CXMXXRNS.js';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
7
7
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { detectActiveSession } from './chunk-
|
|
4
|
-
import { autoConnect } from './chunk-
|
|
5
|
-
import { resolveRepoIdentity } from './chunk-6KH3NMIT.js';
|
|
3
|
+
import { detectActiveSession } from './chunk-V6V3NN5G.js';
|
|
4
|
+
import { autoConnect } from './chunk-VUINLLWP.js';
|
|
6
5
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-
|
|
6
|
+
import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-35OBGZYO.js';
|
|
8
7
|
import { parseWorkItemEnv } from './chunk-4OD45RBP.js';
|
|
9
8
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
10
9
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
10
|
+
import { resolveRepoIdentity } from './chunk-M7AIU22N.js';
|
|
11
11
|
|
|
12
12
|
createRequire(import.meta.url);
|
|
13
13
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { parseSize, BUILD_LABEL, RUNNER_LABEL, runnerLabelValue } from './chunk-
|
|
4
|
-
import { buildsDir, storeScopes, rootfsDir, orgStoreIn, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-
|
|
3
|
+
import { parseSize, BUILD_LABEL, RUNNER_LABEL, runnerLabelValue } from './chunk-HHKVXKQI.js';
|
|
4
|
+
import { buildsDir, storeScopes, rootfsDir, orgStoreIn, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-CXMXXRNS.js';
|
|
5
5
|
import { spawnSync } from 'child_process';
|
|
6
6
|
import { statfsSync, statSync, existsSync, readdirSync } from 'fs';
|
|
7
7
|
import { dirname, join } from 'path';
|
|
@@ -1,28 +1,34 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-WGC7UFRM.js';
|
|
4
|
-
import { detectActiveSession, transcriptPathForSession } from './chunk-
|
|
5
|
-
import { autoConnect } from './chunk-
|
|
6
|
-
import { resolveRepoIdentity, defaultProjectsDir, findTranscripts, sessionIdFromPath, scrubText } from './chunk-6KH3NMIT.js';
|
|
4
|
+
import { detectActiveSession, transcriptPathForSession } from './chunk-V6V3NN5G.js';
|
|
5
|
+
import { autoConnect } from './chunk-VUINLLWP.js';
|
|
7
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
8
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
7
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-35OBGZYO.js';
|
|
9
8
|
import { readLatestProvenanceForSession } from './chunk-545P7JY7.js';
|
|
10
9
|
import { launchedItemForSession } from './chunk-4OD45RBP.js';
|
|
11
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
12
11
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
13
|
-
import {
|
|
12
|
+
import { legacyAgent, captureAgents, sessionFolderIn } from './chunk-TOP4K2T6.js';
|
|
14
13
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
14
|
+
import { resolveRepoIdentity, scrubText } from './chunk-M7AIU22N.js';
|
|
15
|
+
import { FindingBatchSchema, FindingsResponseSchema, SAME_PROBLEM_RULES } from './chunk-WUKLQWGY.js';
|
|
15
16
|
import { readFileSync, existsSync } from 'fs';
|
|
16
|
-
import {
|
|
17
|
+
import { homedir } from 'os';
|
|
18
|
+
import { join, dirname } from 'path';
|
|
17
19
|
|
|
18
20
|
createRequire(import.meta.url);
|
|
19
21
|
var RECENT_EVENT_COUNT = 30;
|
|
20
22
|
var SUMMARY_MAX = 110;
|
|
21
|
-
function locateTranscript(sessionId, home) {
|
|
22
|
-
const fromSpool = transcriptPathForSession(sessionId, home);
|
|
23
|
-
if (fromSpool
|
|
24
|
-
const
|
|
25
|
-
|
|
23
|
+
function locateTranscript(sessionId, home, agents) {
|
|
24
|
+
const fromSpool = transcriptPathForSession(sessionId, home) ?? "";
|
|
25
|
+
if (existsSync(fromSpool)) return { file: fromSpool, capture: legacyAgent(agents).adapter.capture };
|
|
26
|
+
const base = home === "" ? homedir() : home;
|
|
27
|
+
for (const agent of captureAgents(agents)) {
|
|
28
|
+
const found = agent.capture.discover({ root: sessionFolderIn(base, agent.descriptor), rawRoot: "" }).find((entry) => !entry.isSubagent && agent.capture.identify(entry.file).sessionId === sessionId);
|
|
29
|
+
if (found !== void 0) return { file: found.file, capture: agent.capture };
|
|
30
|
+
}
|
|
31
|
+
return void 0;
|
|
26
32
|
}
|
|
27
33
|
function blockText(block) {
|
|
28
34
|
if (typeof block === "string") return block;
|
|
@@ -88,14 +94,16 @@ function readSessionEvents(transcriptPath, agent) {
|
|
|
88
94
|
});
|
|
89
95
|
return events;
|
|
90
96
|
}
|
|
91
|
-
function subagentTranscripts(
|
|
92
|
-
|
|
93
|
-
|
|
97
|
+
function subagentTranscripts(transcript) {
|
|
98
|
+
if (transcript.capture === void 0) return [];
|
|
99
|
+
const { capture } = transcript;
|
|
100
|
+
const dir = join(dirname(transcript.file), capture.identify(transcript.file).sessionId, "subagents");
|
|
101
|
+
return capture.discover({ root: dir, rawRoot: "" }).map((entry) => ({ file: entry.file, agent: capture.identify(entry.file).sessionId.replace(/^agent-/, "") }));
|
|
94
102
|
}
|
|
95
|
-
function readAllSessionEvents(
|
|
103
|
+
function readAllSessionEvents(transcript) {
|
|
96
104
|
const all = [
|
|
97
|
-
...readSessionEvents(
|
|
98
|
-
...subagentTranscripts(
|
|
105
|
+
...readSessionEvents(transcript.file),
|
|
106
|
+
...subagentTranscripts(transcript).flatMap(({ file, agent }) => readSessionEvents(file, agent))
|
|
99
107
|
];
|
|
100
108
|
return all.sort((a, b) => Date.parse(a.at) - Date.parse(b.at));
|
|
101
109
|
}
|
|
@@ -116,9 +124,9 @@ function eventsContaining(events, needle) {
|
|
|
116
124
|
}
|
|
117
125
|
var SessionEventNotFoundError = class extends Error {
|
|
118
126
|
};
|
|
119
|
-
function loadSessionEvents(sessionId, home) {
|
|
120
|
-
const
|
|
121
|
-
return
|
|
127
|
+
function loadSessionEvents(sessionId, home, agents) {
|
|
128
|
+
const transcript = locateTranscript(sessionId, home, agents);
|
|
129
|
+
return transcript === void 0 ? void 0 : readAllSessionEvents(transcript);
|
|
122
130
|
}
|
|
123
131
|
function pickSessionEvent(events, id) {
|
|
124
132
|
if (events === void 0) {
|
|
@@ -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 { defaultAgents, legacyAgent, contextAgents, McpFileError } from './chunk-
|
|
6
|
+
import { defaultAgents, legacyAgent, contextAgents, McpFileError } from './chunk-TOP4K2T6.js';
|
|
7
7
|
import { mkdirSync, writeFileSync, existsSync, readFileSync } from 'fs';
|
|
8
8
|
import { join, dirname } from 'path';
|
|
9
9
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { normalizePath, CONTEXT_PIN_FILENAME, contextAgents, defaultAgents, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, legacyAgent, legacySubcommand } from './chunk-
|
|
4
|
-
import { LEGACY_AGENT } from './chunk-
|
|
3
|
+
import { normalizePath, CONTEXT_PIN_FILENAME, contextAgents, defaultAgents, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, legacyAgent, legacySubcommand } from './chunk-TOP4K2T6.js';
|
|
4
|
+
import { LEGACY_AGENT } from './chunk-G3BUOMCF.js';
|
|
5
5
|
import { existsSync, readdirSync, readFileSync, mkdirSync, writeFileSync, lstatSync, readlinkSync, symlinkSync, rmdirSync } from 'fs';
|
|
6
6
|
import { relative, sep, join, posix } from 'path';
|
|
7
7
|
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { withInjectedPrograms } from './chunk-
|
|
4
|
-
import { sharedSkillNames } from './chunk-
|
|
5
|
-
import { GOVERNANCE_VARIABLE, versionAtLeast, CONTROL_PLANE_DIR_VARIABLE } from './chunk-
|
|
3
|
+
import { withInjectedPrograms } from './chunk-KTL7GFQ3.js';
|
|
4
|
+
import { sharedSkillNames } from './chunk-32GBZ7HD.js';
|
|
5
|
+
import { GOVERNANCE_VARIABLE, versionAtLeast, CONTROL_PLANE_DIR_VARIABLE } from './chunk-IEFSDAVW.js';
|
|
6
6
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
7
|
-
import { setupMachineSkills } from './chunk-
|
|
8
|
-
import { defaultAgents, agentById, legacyAgent } from './chunk-
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
11
|
-
import { LEGACY_AGENT } from './chunk-LSLK4RS4.js';
|
|
7
|
+
import { setupMachineSkills } from './chunk-VNXITMKE.js';
|
|
8
|
+
import { defaultAgents, agentById, legacyAgent } from './chunk-TOP4K2T6.js';
|
|
9
|
+
import './chunk-KG5BQFSO.js';
|
|
10
|
+
import { LEGACY_AGENT } from './chunk-G3BUOMCF.js';
|
|
12
11
|
import './chunk-CDDED64E.js';
|
|
13
12
|
import './chunk-RA3O54FC.js';
|
|
14
13
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
14
|
+
import './chunk-M7AIU22N.js';
|
|
15
|
+
import './chunk-WUKLQWGY.js';
|
|
15
16
|
import './chunk-Z5GEFMRW.js';
|
|
16
17
|
import { spawn, execFileSync } from 'child_process';
|
|
17
18
|
import { existsSync, readdirSync, lstatSync, readFileSync, writeFileSync, rmSync, mkdirSync, realpathSync, symlinkSync, renameSync, readlinkSync, statSync } from 'fs';
|
|
@@ -324,7 +325,7 @@ async function runAgentLauncher(agentId, args, deps = {}) {
|
|
|
324
325
|
return 1;
|
|
325
326
|
}
|
|
326
327
|
} else {
|
|
327
|
-
const { resolveLaunchPlane } = await import('./control-plane-launch-
|
|
328
|
+
const { resolveLaunchPlane } = await import('./control-plane-launch-6HIHBOHF.js');
|
|
328
329
|
const plane = env[GOVERNANCE_VARIABLE] === "self" ? { kind: "none" } : await resolveLaunchPlane({ cwd, env, home, fetchImpl: deps.fetchImpl, stderr });
|
|
329
330
|
if (plane.kind === "none") {
|
|
330
331
|
const own2 = ownSkillsDirFor(prefix, cwd, home, /* @__PURE__ */ new Set(), stderr);
|