@outerlayer/cli 0.38.0-next.20261105195352 → 0.38.0-next.20261106012958
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-CBEPGNFY.js +40 -0
- package/dist/{agent-subcommand-H5LKM3HG.js → agent-subcommand-UNSXJUHA.js} +4 -4
- package/dist/{artifact-link-cmd-72FQTBGO.js → artifact-link-cmd-QP6VO7AJ.js} +2 -2
- package/dist/{bridge-RN5JYY7N.js → bridge-JI4IO7JN.js} +7 -7
- package/dist/{build-DJDZXY7M.js → build-2L3L2OJO.js} +13 -13
- package/dist/{build-disk-PN7QBYVR.js → build-disk-CKBEEF4N.js} +11 -11
- package/dist/build-info.json +1 -1
- package/dist/{builder-NJXSBAX3.js → builder-PKDA7X2H.js} +10 -10
- package/dist/caller-XETCC46J.js +23 -0
- package/dist/{check-QF7RGLUL.js → check-FG32SYJF.js} +55 -55
- package/dist/{chunk-DDBCRY3Y.js → chunk-256R6O56.js} +3 -3
- package/dist/{chunk-P64TL3GV.js → chunk-2MQQASWB.js} +6 -6
- package/dist/{chunk-ZRYBGZI7.js → chunk-3DVCPRKE.js} +9 -9
- package/dist/{chunk-3YCKLA4N.js → chunk-3FAJMXBA.js} +8 -8
- package/dist/{chunk-NFKERPLC.js → chunk-3XWZKL2P.js} +7 -7
- package/dist/{chunk-BP3B5R7Y.js → chunk-45TFVWNT.js} +6 -6
- package/dist/{chunk-R2QIQZ4V.js → chunk-4MSEUIMK.js} +13 -7
- package/dist/{chunk-QAFR65VC.js → chunk-5R5FEPLH.js} +1 -1
- package/dist/{chunk-G74ZB2V4.js → chunk-5VAXNAOD.js} +1 -1
- package/dist/{chunk-SZN3CSEP.js → chunk-ABN4UBR5.js} +2 -2
- package/dist/{chunk-BHATB3L2.js → chunk-AJC5Q2NY.js} +5 -5
- package/dist/{chunk-WH4OWQ6T.js → chunk-AMG5ICDO.js} +4 -4
- package/dist/{chunk-XJPTMZJG.js → chunk-AVEF3T6Y.js} +2 -2
- package/dist/{chunk-GEC2G3SJ.js → chunk-BL6CCU26.js} +6 -6
- package/dist/{chunk-V52EY5UK.js → chunk-BO3NOGKE.js} +3 -3
- package/dist/{chunk-WPLNTUS6.js → chunk-CCMKLF7K.js} +6 -6
- package/dist/{chunk-6UXPXENL.js → chunk-CGXYPLK3.js} +2 -2
- package/dist/{chunk-75D54355.js → chunk-DK5YFDYI.js} +8 -8
- package/dist/{chunk-HUMQ4NLZ.js → chunk-DL5N6V3D.js} +1 -1
- package/dist/{chunk-ID3HBQYZ.js → chunk-DVFGCVTV.js} +5 -5
- package/dist/{chunk-3CN77FDB.js → chunk-DXBYNJRM.js} +6 -6
- package/dist/{chunk-AGDRXJSZ.js → chunk-EERD7VI3.js} +1 -1
- package/dist/{chunk-ZOLDM52Z.js → chunk-EFAOERZH.js} +1 -1
- package/dist/{chunk-44332APJ.js → chunk-EHJYXABQ.js} +1 -1
- package/dist/{chunk-ZFZ62TU4.js → chunk-ERQLHUWU.js} +5 -5
- package/dist/{chunk-BM25MMUE.js → chunk-EXIZ3G6I.js} +6 -6
- package/dist/{chunk-UFDJDVZD.js → chunk-FER7JJ3S.js} +1 -1
- package/dist/{chunk-PWCP3YVA.js → chunk-FGVVBYCT.js} +1 -1
- package/dist/{chunk-P26TVBYV.js → chunk-FOUG2R4Q.js} +1 -1
- package/dist/{chunk-NAGY6ISM.js → chunk-GMRVWRHD.js} +2 -2
- package/dist/{chunk-OD2F225Q.js → chunk-HG2ZG6ZU.js} +1 -1
- package/dist/{chunk-VVZIFOAN.js → chunk-IXB2IIEW.js} +1 -1
- package/dist/{chunk-O4CWZFC4.js → chunk-JTDMSQMI.js} +8 -8
- package/dist/{chunk-TTYZDLGW.js → chunk-K6JOU4CT.js} +25 -25
- package/dist/{chunk-3FKWVYWC.js → chunk-KLQLQQGG.js} +3 -3
- package/dist/{chunk-6Z5H7JV3.js → chunk-L4ACBB5R.js} +1 -1
- package/dist/{chunk-2VUBHRPG.js → chunk-MDKLSY43.js} +1 -1
- package/dist/{chunk-6S4THFJO.js → chunk-MPE4NOKD.js} +2 -2
- package/dist/{chunk-ZBPUHNUZ.js → chunk-NEEMG462.js} +1 -1
- package/dist/{chunk-ZZZIOKUN.js → chunk-O4Z2YVC3.js} +5 -5
- package/dist/{chunk-UEFLAGRW.js → chunk-OFWNBTLU.js} +1 -1
- package/dist/{chunk-EJOZNQBE.js → chunk-OGQW7A4G.js} +16 -12
- package/dist/{chunk-EUA3SKPV.js → chunk-ONOINHY4.js} +1 -1
- package/dist/{chunk-UAVBSFHI.js → chunk-OUHM6U6Z.js} +4 -4
- package/dist/{chunk-GUYDCCUH.js → chunk-PARDL7HH.js} +1 -1
- package/dist/{chunk-NYWLOOIL.js → chunk-PMJ6IEUM.js} +7 -7
- package/dist/{chunk-72DXH6AP.js → chunk-QONY6C2B.js} +9 -9
- package/dist/{chunk-XGQ7ZHNH.js → chunk-QWDGHEQL.js} +1 -1
- package/dist/{chunk-5BU252QJ.js → chunk-RSRNZB4T.js} +7 -7
- package/dist/{chunk-ORSNYGXN.js → chunk-RUJR3SDB.js} +1 -1
- package/dist/{chunk-A5FIUS53.js → chunk-RZ6WJTUP.js} +1 -1
- package/dist/{chunk-P22JMQJB.js → chunk-S7CE7QCF.js} +3 -3
- package/dist/{chunk-7DHQVVEC.js → chunk-SMFWLPXC.js} +16 -16
- package/dist/{chunk-365EXSFH.js → chunk-T524XQKI.js} +1 -1
- package/dist/{chunk-HBGVQT33.js → chunk-TAEDH2SU.js} +1 -1
- package/dist/{chunk-SCH5S3VW.js → chunk-U5EE7PGC.js} +3 -3
- package/dist/{chunk-QNQS4PET.js → chunk-U7L4GBGS.js} +1 -1
- package/dist/{chunk-KEY5IDTC.js → chunk-VNT2IRLM.js} +4 -4
- package/dist/{chunk-LQJAZ4VK.js → chunk-VWNQRD4I.js} +4 -4
- package/dist/{chunk-QNPJ4VZ2.js → chunk-WF2NXBOM.js} +7 -7
- package/dist/{chunk-S24KG7NY.js → chunk-X2DX3A7H.js} +1 -1
- package/dist/{chunk-SZKBH2BO.js → chunk-XDRZ3BNA.js} +1 -1
- package/dist/{chunk-LWHHAZ75.js → chunk-XE2PXGZT.js} +3 -3
- package/dist/{chunk-6VCNDRNW.js → chunk-YKWOVYVN.js} +4 -4
- package/dist/{chunk-HV44EL6A.js → chunk-YWWW47OY.js} +1 -1
- package/dist/{chunk-2JIGPSVF.js → chunk-YXXJBHHF.js} +20 -4
- package/dist/{chunk-KZG3R5YD.js → chunk-YZRDJOOR.js} +3 -3
- package/dist/{chunk-AUQPAVRV.js → chunk-Z4R36YDJ.js} +29 -29
- package/dist/{chunk-HLBN3FLS.js → chunk-ZCEM4GJ5.js} +3 -3
- package/dist/{chunk-DSR3VW72.js → chunk-ZLJXMXZP.js} +2 -2
- package/dist/{chunk-FIXRXONQ.js → chunk-ZO3RUMUR.js} +4 -4
- package/dist/{chunk-NIUSFUUS.js → chunk-ZTJTAKVW.js} +1 -1
- package/dist/{claude-launcher-LIV7LKKT.js → claude-launcher-FHQTSQOM.js} +7 -7
- package/dist/{cli-NKKF5PF5.js → cli-GNC4MFMP.js} +149 -148
- package/dist/{command-ZQDMVPD4.js → command-47EYM2FJ.js} +50 -50
- package/dist/{config-6LQKXZNE.js → config-EA6WVKAS.js} +12 -12
- package/dist/{connect-cmd-KHOYYXIY.js → connect-cmd-4JO2LBUT.js} +13 -13
- package/dist/{container-start-FGSVYG2T.js → container-start-XR7KANS6.js} +48 -48
- package/dist/{context-cleanup-WYI3QQBI.js → context-cleanup-6CTKLEUT.js} +4 -4
- package/dist/{context-show-cmd-MUSMZ3ZM.js → context-show-cmd-Z7NQAKNE.js} +14 -14
- package/dist/{control-plane-launch-UGMPLX2S.js → control-plane-launch-4PLBJKBS.js} +14 -14
- package/dist/{demo-record-cmd-GO4ZIP4J.js → demo-record-cmd-3B2ME2ZI.js} +8 -8
- package/dist/{demo-voice-cmd-YOIL75H3.js → demo-voice-cmd-LIXAA3OS.js} +20 -20
- package/dist/{dist-U6EGOQD5.js → dist-3TV6G4YF.js} +2 -2
- package/dist/{docker-IWTHGXFC.js → docker-FPEQS6HK.js} +10 -10
- package/dist/{doctor-UUCRZ7JO.js → doctor-AFH6UUX6.js} +50 -50
- package/dist/{emit-artifact-cmd-IG5O5KUV.js → emit-artifact-cmd-5XIEUWFX.js} +19 -19
- package/dist/{emit-cmd-KGBGKB56.js → emit-cmd-IKYF27IK.js} +7 -7
- package/dist/{emit-criteria-cmd-HV3RXCV5.js → emit-criteria-cmd-YS5ZSLCN.js} +16 -16
- package/dist/{emit-demo-cmd-ZKHGJUW7.js → emit-demo-cmd-IDC2JC46.js} +20 -20
- package/dist/{emit-finding-cmd-PBTELK66.js → emit-finding-cmd-C4NRTIZO.js} +16 -16
- package/dist/{emit-result-cmd-JJUNDXEH.js → emit-result-cmd-GC2I7JQU.js} +18 -18
- package/dist/{emit-step-cmd-5VZQBGLU.js → emit-step-cmd-TTH4FYFW.js} +16 -16
- package/dist/{exec-client-PH7FI3Q3.js → exec-client-DT5EWVQL.js} +8 -8
- package/dist/find-unit-337Y4QAC.js +24 -0
- package/dist/{findings-cmd-PVP6D4ZV.js → findings-cmd-MSV52ODM.js} +16 -16
- package/dist/{fleet-readiness-YZZ6YDXZ.js → fleet-readiness-O76CSI7M.js} +14 -14
- package/dist/{governing-source-UUDIJISJ.js → governing-source-QEFYVBQF.js} +21 -21
- package/dist/{guest-init-KXBNS3NA.js → guest-init-X7M5AIOI.js} +9 -9
- package/dist/{hook-fast-CRC7M2YT.js → hook-fast-T6FOTZHA.js} +1 -1
- package/dist/{hook-install-3UNSUQVP.js → hook-install-OUSUHQ6C.js} +4 -4
- package/dist/host-checks-OXB5J3KR.js +79 -0
- package/dist/host-key-UFUIBFBF.js +18 -0
- package/dist/{image-tag-S5LR2FDL.js → image-tag-AE6EKDPV.js} +8 -8
- package/dist/index.js +4 -4
- package/dist/{init-2JDKKCKC.js → init-PUN3PKOT.js} +46 -46
- package/dist/init-V7X3KA7B.js +79 -0
- package/dist/{init-agent-ESCPFY6L.js → init-agent-D3KK24QX.js} +46 -46
- package/dist/{init-cmd-RXB7ZCFD.js → init-cmd-LGRN3U7K.js} +27 -27
- package/dist/{init-update-YIQRJG5U.js → init-update-ZL2J7EQI.js} +24 -24
- package/dist/{install-cmd-OG4IHLHP.js → install-cmd-4ID4VBH2.js} +10 -10
- package/dist/{layout-ZDD5JMAD.js → layout-G6K72TXK.js} +4 -4
- package/dist/{login-browser-AMCRDS5C.js → login-browser-I6CWBA7K.js} +2 -2
- package/dist/{logs-LLFBENNJ.js → logs-DIA3NWC2.js} +7 -7
- package/dist/loop-AWBFKDV7.js +90 -0
- package/dist/machine-BZPKYURG.js +79 -0
- package/dist/{machine-skills-G253FBPY.js → machine-skills-JLJJDXBS.js} +4 -4
- package/dist/{mcp-install-cmd-WLU64HPE.js → mcp-install-cmd-OTAX7QP2.js} +4 -4
- package/dist/{mcp-serve-cmd-YJX7HUHL.js → mcp-serve-cmd-63KQEQYS.js} +9 -9
- package/dist/{paths-5OXE4APD.js → paths-KVMMJQ7T.js} +7 -7
- package/dist/pending-2IE3VBAN.js +18 -0
- package/dist/{pidfile-ID52SG3L.js → pidfile-NCBBWZNH.js} +8 -8
- package/dist/{record-XIM2Z2JO.js → record-PQDJVKYV.js} +8 -8
- package/dist/{relay-T22SKZ3G.js → relay-QDB526DJ.js} +5 -5
- package/dist/{relay-protocol-64ZEAKJ4.js → relay-protocol-PJ2HOP6B.js} +5 -5
- package/dist/{runner-agents-AGFDPTJN.js → runner-agents-CEW4Z3FR.js} +4 -4
- package/dist/runner-env-23OLQBQZ.js +24 -0
- package/dist/{runner-identity-T7HDG3QU.js → runner-identity-IJKE4SRJ.js} +10 -10
- package/dist/{runner-key-RXTJDYTI.js → runner-key-4J4MHN3S.js} +46 -46
- package/dist/{session-sender-B6CSWAHX.js → session-sender-HKNACIH5.js} +19 -19
- package/dist/{spec-cmd-HIQYYRBQ.js → spec-cmd-4R7AYTBU.js} +17 -17
- package/dist/{starter-pack-AK7Z6XLF.js → starter-pack-6C7HPT4O.js} +5 -5
- package/dist/state-DPEWDXQN.js +18 -0
- package/dist/{status-YD7P337P.js → status-GMVC666R.js} +46 -46
- package/dist/{sync-cmd-BRP4QE2W.js → sync-cmd-UMAENSGZ.js} +18 -18
- package/dist/update-steps-GTXNCG3Z.js +80 -0
- package/dist/{watch-B3NVFDVP.js → watch-RAUF223H.js} +18 -18
- package/dist/{work-claim-cmd-H6M5ANKL.js → work-claim-cmd-A3ISXUFA.js} +22 -22
- package/dist/{work-cmd-DJNV646Q.js → work-cmd-U7YLMDZ7.js} +16 -16
- package/dist/{work-comment-cmd-6QZQPRJ7.js → work-comment-cmd-CMWMOWVG.js} +18 -18
- package/dist/{work-demo-cmd-6MZIVYHK.js → work-demo-cmd-EKTJHIVM.js} +16 -16
- package/dist/{work-logs-cmd-IS4GV5VC.js → work-logs-cmd-Z3QOFYTJ.js} +16 -16
- package/dist/{work-open-pr-cmd-KZSKJKEQ.js → work-open-pr-cmd-NJXIX3QZ.js} +17 -17
- package/dist/{work-pr-cmd-ARVEEUF3.js → work-pr-cmd-JUV3SN7I.js} +16 -16
- package/dist/{work-proofs-cmd-YUH3XYQE.js → work-proofs-cmd-MIDPIFTH.js} +18 -18
- package/dist/{work-proofs-record-BDYS2VU2.js → work-proofs-record-6FTMJDQG.js} +25 -25
- package/dist/{work-stop-cmd-U67OPSCS.js → work-stop-cmd-Z7MYNR7R.js} +16 -16
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer-amend/SKILL.md +13 -13
- package/skill-pack/maintained/outerlayer-amend/references/failed-checks.md +35 -0
- package/skill-pack/maintained/outerlayer-build/references/evidence.md +5 -2
- package/dist/agent-setup-THQTFPYB.js +0 -40
- package/dist/caller-T65G6G3Z.js +0 -23
- package/dist/find-unit-527IGJNL.js +0 -24
- package/dist/host-checks-ISCYYAYB.js +0 -79
- package/dist/host-key-535Z4MV6.js +0 -18
- package/dist/init-CGYS6IGX.js +0 -79
- package/dist/loop-36JR7RB2.js +0 -90
- package/dist/machine-DGMGTVD7.js +0 -79
- package/dist/pending-YC4KF2AW.js +0 -18
- package/dist/runner-env-W7LASDJX.js +0 -24
- package/dist/state-ZQN2O2PB.js +0 -18
- package/dist/update-steps-SBBEBOIJ.js +0 -80
|
@@ -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-BO3NOGKE.js';
|
|
4
|
+
import { WorkCommandError, resolveCredentials, getJson } from './chunk-JTDMSQMI.js';
|
|
5
|
+
import { sanitizeTerminal } from './chunk-IXB2IIEW.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { defaultFetch } from './chunk-
|
|
7
|
+
import { defaultFetch } from './chunk-XDRZ3BNA.js';
|
|
8
8
|
import { parseWorkItemEnv } from './chunk-4OD45RBP.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 } from './chunk-
|
|
11
|
+
import { parseProofsConfig } from './chunk-AVEF3T6Y.js';
|
|
12
|
+
import { resolveRepoIdentity } from './chunk-5R5FEPLH.js';
|
|
13
|
+
import { inferArtifactKind, mediaTypeForArtifactPath, WORK_ITEM_COMMENT_MAX_BODY_LENGTH, parseJunit, isTestSourcePath } from './chunk-YXXJBHHF.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,14 +129,14 @@ 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-OXB5J3KR.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, isJudgeCheck } = await import('./host-checks-
|
|
139
|
+
const { checksIn, isJudgeCheck } = await import('./host-checks-OXB5J3KR.js');
|
|
140
140
|
const quiet = { line: () => void 0, error: () => void 0 };
|
|
141
141
|
const check = checksIn(dir, quiet, "").checks.find((c) => isJudgeCheck(c) && c.judge.subjects === "criteria");
|
|
142
142
|
return check === void 0 ? {} : { name: check.name };
|
|
@@ -224,7 +224,11 @@ ${parts.join("\n")}
|
|
|
224
224
|
}
|
|
225
225
|
function testSelectors(tests) {
|
|
226
226
|
if (!tests.selected) return [];
|
|
227
|
-
return tests.items.map((test) =>
|
|
227
|
+
return tests.items.map((test) => {
|
|
228
|
+
if (test.file === null) return test.name;
|
|
229
|
+
if (test.line !== null) return `${test.name}=${test.file}:${test.line}`;
|
|
230
|
+
return isTestSourcePath(test.file) ? `${test.name}=${test.file}` : test.name;
|
|
231
|
+
});
|
|
228
232
|
}
|
|
229
233
|
function testFilesOf(tests) {
|
|
230
234
|
return [...new Set(tests.items.flatMap((test) => test.file === null ? [] : [test.file]))].sort();
|
|
@@ -246,7 +250,7 @@ function recordingProblems(input) {
|
|
|
246
250
|
if (entry.proof !== "test" || entry.tests === void 0) continue;
|
|
247
251
|
const files = testFilesOf(entry.tests);
|
|
248
252
|
const unmatched = files.filter((file) => matches(file) === void 0);
|
|
249
|
-
if (files.length === 0) problems.push(`The host cannot record ${entry.id} again: its results name no test file.
|
|
253
|
+
if (files.length === 0) problems.push(`The host cannot record ${entry.id} again: its results name no test file. Turn on the JUnit reporter's file attribute (Vitest and jest-junit: addFileAttribute) and emit them again, or name each test's file with --test <name>=<path>.`);
|
|
250
254
|
else if (unmatched.length > 0) problems.push(`The host cannot record ${entry.id} again: no runner in .outerlayer-proofs.yaml matches ${unmatched.join(", ")}.`);
|
|
251
255
|
}
|
|
252
256
|
return problems;
|
|
@@ -368,7 +372,7 @@ async function runWorkProofs(opts) {
|
|
|
368
372
|
async function runWorkProofsCommand(opts) {
|
|
369
373
|
try {
|
|
370
374
|
if (opts.record) {
|
|
371
|
-
const { runWorkProofsRecord } = await import('./work-proofs-record-
|
|
375
|
+
const { runWorkProofsRecord } = await import('./work-proofs-record-6FTMJDQG.js');
|
|
372
376
|
const result2 = await runWorkProofsRecord(opts);
|
|
373
377
|
process.exitCode = result2.exitCode;
|
|
374
378
|
return;
|
|
@@ -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-OUHM6U6Z.js';
|
|
4
4
|
import { createServer, connect } from 'net';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { builtInEnvironment, managedAgentCredential, agentCredential, builtInNames, TARGET_TUNNEL, TARGET_LEASE, destinationTarget, builtInDestinations, destinationPort } from './chunk-
|
|
4
|
-
import { strippedVariables } from './chunk-
|
|
5
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { builtInEnvironment, managedAgentCredential, agentCredential, builtInNames, TARGET_TUNNEL, TARGET_LEASE, destinationTarget, builtInDestinations, destinationPort } from './chunk-CGXYPLK3.js';
|
|
4
|
+
import { strippedVariables } from './chunk-RZ6WJTUP.js';
|
|
5
|
+
import { defaultAgents } from './chunk-AVEF3T6Y.js';
|
|
6
6
|
import { PROVIDERS } from './chunk-7PZDPISM.js';
|
|
7
|
-
import { MIN_SCRUBBED_LITERAL } from './chunk-
|
|
7
|
+
import { MIN_SCRUBBED_LITERAL } from './chunk-5R5FEPLH.js';
|
|
8
8
|
import { mkdirSync, writeFileSync, existsSync, unlinkSync, chmodSync } from 'fs';
|
|
9
9
|
import { request as request$1, createServer } from 'http';
|
|
10
10
|
import { request } from 'https';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { isSameProcess } from './chunk-JBJTC3UU.js';
|
|
4
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
4
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-5VAXNAOD.js';
|
|
5
5
|
import { existsSync, readFileSync, mkdirSync, writeFileSync, rmSync } from 'fs';
|
|
6
6
|
import { dirname } from 'path';
|
|
7
7
|
|
|
@@ -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-Z4R36YDJ.js';
|
|
4
|
+
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-2MQQASWB.js';
|
|
5
|
+
import { RunnerAlreadyRunningError, readPidFile } from './chunk-PARDL7HH.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-JTDMSQMI.js';
|
|
8
|
+
import { keyRunnerFactory } from './chunk-VNT2IRLM.js';
|
|
9
|
+
import { signerFor } from './chunk-EFAOERZH.js';
|
|
10
|
+
import { pidFilePath } from './chunk-5VAXNAOD.js';
|
|
11
11
|
import { readFileSync } from 'fs';
|
|
12
12
|
|
|
13
13
|
createRequire(import.meta.url);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { placeholderQueues, placeholderProblem } from './chunk-
|
|
4
|
-
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-
|
|
5
|
-
import { getJson, WorkCommandError } from './chunk-
|
|
6
|
-
import { isBuiltinVm, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-
|
|
7
|
-
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-
|
|
8
|
-
import { ensureHostKey } from './chunk-
|
|
9
|
-
import { BUILD_SLICE_MEMORY_ENV, agentCredentialVariablesSet, agentCredential, parseRunnerEnv } from './chunk-
|
|
10
|
-
import { forwardedVariables, credentialAgent, credentialForms, managedKeyName, builderDiskPinned, storeVariables, credentialEnvPath } from './chunk-
|
|
11
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { placeholderQueues, placeholderProblem } from './chunk-Z4R36YDJ.js';
|
|
4
|
+
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-2MQQASWB.js';
|
|
5
|
+
import { getJson, WorkCommandError } from './chunk-JTDMSQMI.js';
|
|
6
|
+
import { isBuiltinVm, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-VNT2IRLM.js';
|
|
7
|
+
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-MPE4NOKD.js';
|
|
8
|
+
import { ensureHostKey } from './chunk-EFAOERZH.js';
|
|
9
|
+
import { BUILD_SLICE_MEMORY_ENV, agentCredentialVariablesSet, agentCredential, parseRunnerEnv } from './chunk-CGXYPLK3.js';
|
|
10
|
+
import { forwardedVariables, credentialAgent, credentialForms, managedKeyName, builderDiskPinned, storeVariables, credentialEnvPath } from './chunk-RZ6WJTUP.js';
|
|
11
|
+
import { defaultAgents } from './chunk-AVEF3T6Y.js';
|
|
12
12
|
import { closeSync, openSync, constants, readFileSync } from 'fs';
|
|
13
13
|
import { join, dirname } from 'path';
|
|
14
14
|
import { totalmem } from 'os';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { CONTROL_PLANE_DIR_VARIABLE, SUPPORTED_CONTROL_PLANE_LAYOUT } from './chunk-SF2TBJBP.js';
|
|
4
|
-
import { legacyAgent, agentById, defaultAgents, legacySubcommand } from './chunk-
|
|
4
|
+
import { legacyAgent, agentById, defaultAgents, legacySubcommand } from './chunk-AVEF3T6Y.js';
|
|
5
5
|
import { LEGACY_AGENT } from './chunk-7PZDPISM.js';
|
|
6
6
|
import { MAINTAINED_SKILLS } from './chunk-CDDED64E.js';
|
|
7
7
|
import { lstatSync, readFileSync } from 'fs';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readNewestDemo } from './chunk-ER6KQCVJ.js';
|
|
4
|
-
import { runEmitArtifact } from './chunk-
|
|
4
|
+
import { runEmitArtifact } from './chunk-4MSEUIMK.js';
|
|
5
5
|
import { VoiceDownloadError, downloadPinned, sha256OfFile } from './chunk-2PGI6RDE.js';
|
|
6
|
-
import { detectActiveSession } from './chunk-
|
|
7
|
-
import { autoConnect } from './chunk-
|
|
6
|
+
import { detectActiveSession } from './chunk-DL5N6V3D.js';
|
|
7
|
+
import { autoConnect } from './chunk-XE2PXGZT.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { defaultFetch, resolveGatewayCredentials } from './chunk-
|
|
9
|
+
import { defaultFetch, resolveGatewayCredentials } from './chunk-XDRZ3BNA.js';
|
|
10
10
|
import { launchedItemForSession } from './chunk-4OD45RBP.js';
|
|
11
|
-
import { VOICE_PACK_FILES, VOICE_PACK_VERSION } from './chunk-
|
|
11
|
+
import { VOICE_PACK_FILES, VOICE_PACK_VERSION } from './chunk-RZ6WJTUP.js';
|
|
12
12
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
13
|
-
import { resolveRepoIdentity } from './chunk-
|
|
14
|
-
import { ARTIFACT_MAX_BYTES, ARTIFACT_MAX_CAPTION_LENGTH, DEMO_RECORD_MEDIA_TYPE, ARTIFACT_MAX_REPLACES_TARGETS, DEMO_MANIFEST_LATEST_VERSION, DemoManifestSchema, ARTIFACT_KINDS } from './chunk-
|
|
13
|
+
import { resolveRepoIdentity } from './chunk-5R5FEPLH.js';
|
|
14
|
+
import { ARTIFACT_MAX_BYTES, ARTIFACT_MAX_CAPTION_LENGTH, DEMO_RECORD_MEDIA_TYPE, ARTIFACT_MAX_REPLACES_TARGETS, DEMO_MANIFEST_LATEST_VERSION, DemoManifestSchema, ARTIFACT_KINDS } from './chunk-YXXJBHHF.js';
|
|
15
15
|
import { __commonJS, __require, __toESM } from './chunk-Z5GEFMRW.js';
|
|
16
16
|
import { createHash } from 'crypto';
|
|
17
17
|
import { mkdtempSync, writeFileSync, statSync, readFileSync, rmSync, mkdirSync, existsSync, copyFileSync, accessSync, constants, realpathSync, createReadStream, createWriteStream } from 'fs';
|
|
@@ -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-ZTJTAKVW.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';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { defaultAgents, agentById } from './chunk-
|
|
3
|
+
import { defaultAgents, agentById } from './chunk-AVEF3T6Y.js';
|
|
4
4
|
import { PROVIDERS, LEGACY_AGENT } from './chunk-7PZDPISM.js';
|
|
5
5
|
import { join, dirname } from 'path';
|
|
6
6
|
|
|
@@ -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-Z4R36YDJ.js';
|
|
4
|
+
import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-TAEDH2SU.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-FPEQS6HK.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,26 +1,26 @@
|
|
|
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, 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-ERQLHUWU.js';
|
|
4
|
+
import { resolveCredentials, getJson, WorkCommandError } from './chunk-JTDMSQMI.js';
|
|
5
|
+
import { fleetCheck, checkBuildSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-BL6CCU26.js';
|
|
6
|
+
import { withInjectedPrograms } from './chunk-EERD7VI3.js';
|
|
7
|
+
import { isLinkedRepository } from './chunk-EXIZ3G6I.js';
|
|
8
|
+
import { sanitizeTerminal } from './chunk-IXB2IIEW.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-T524XQKI.js';
|
|
11
|
+
import { resolveGatewayCredentials, defaultFetch } from './chunk-XDRZ3BNA.js';
|
|
12
|
+
import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-256R6O56.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-EHJYXABQ.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-AVEF3T6Y.js';
|
|
22
22
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
23
|
-
import { SUPPORTED_VERSIONS, resolveRepoIdentity } from './chunk-
|
|
23
|
+
import { SUPPORTED_VERSIONS, resolveRepoIdentity } from './chunk-5R5FEPLH.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-CKBEEF4N.js');
|
|
1054
|
+
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-EA6WVKAS.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-AFH6UUX6.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-337Y4QAC.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
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-AVEF3T6Y.js';
|
|
5
5
|
import { readFileSync, existsSync, unlinkSync, rmdirSync, readdirSync } from 'fs';
|
|
6
6
|
import { join, dirname, relative, sep } from 'path';
|
|
7
7
|
|
|
@@ -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-5VAXNAOD.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-OUHM6U6Z.js';
|
|
4
|
+
import { GATEWAY_SOCKET, GATEWAY_PORT, providerDestinations } from './chunk-CGXYPLK3.js';
|
|
5
|
+
import { defaultAgents } from './chunk-AVEF3T6Y.js';
|
|
6
6
|
import { PROVIDERS } from './chunk-7PZDPISM.js';
|
|
7
7
|
import { symlinkSync, unlinkSync } from 'fs';
|
|
8
8
|
import { join } 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-5VAXNAOD.js';
|
|
4
4
|
import { readFileSync, existsSync, rmSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
5
5
|
import { join } from 'path';
|
|
6
6
|
|
|
@@ -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-MPE4NOKD.js';
|
|
4
|
+
import { parseSize } from './chunk-3FAJMXBA.js';
|
|
5
|
+
import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-OUHM6U6Z.js';
|
|
6
|
+
import { builderDiskPinned } from './chunk-RZ6WJTUP.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,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-3DVCPRKE.js';
|
|
4
|
+
import { spoolDir } from './chunk-256R6O56.js';
|
|
5
5
|
import { parseWorkItemEnv } from './chunk-4OD45RBP.js';
|
|
6
|
-
import { sessionFolderIn, legacyAgent } from './chunk-
|
|
6
|
+
import { sessionFolderIn, legacyAgent } from './chunk-AVEF3T6Y.js';
|
|
7
7
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
8
|
-
import { CaptureDaemon } from './chunk-
|
|
8
|
+
import { CaptureDaemon } from './chunk-5R5FEPLH.js';
|
|
9
9
|
import { mkdirSync, writeFileSync, rmSync } from 'fs';
|
|
10
10
|
import { join } from 'path';
|
|
11
11
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { toolsDockerfile } from './chunk-
|
|
4
|
-
import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-
|
|
3
|
+
import { toolsDockerfile } from './chunk-YKWOVYVN.js';
|
|
4
|
+
import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-PARDL7HH.js';
|
|
5
5
|
import { startTimeOf } from './chunk-JBJTC3UU.js';
|
|
6
|
-
import { runnerLabelValue } from './chunk-
|
|
7
|
-
import { RecipeError, locateRecipe, readRecipe, assertBuildable, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-
|
|
8
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-
|
|
9
|
-
import { withGitConfig, tokenHeader } from './chunk-
|
|
10
|
-
import { UNIVERSAL_IMAGE_DIGEST, UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_SOURCE, buildAgentPin, NODE_IMAGE, UNIVERSAL_IMAGE, MEDIA_PINS, TINI_VERSION, GH_VERSION, imageAgentPins } from './chunk-
|
|
6
|
+
import { runnerLabelValue } from './chunk-3FAJMXBA.js';
|
|
7
|
+
import { RecipeError, locateRecipe, readRecipe, assertBuildable, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-FER7JJ3S.js';
|
|
8
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-5VAXNAOD.js';
|
|
9
|
+
import { withGitConfig, tokenHeader } from './chunk-OUHM6U6Z.js';
|
|
10
|
+
import { UNIVERSAL_IMAGE_DIGEST, UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_SOURCE, buildAgentPin, NODE_IMAGE, UNIVERSAL_IMAGE, MEDIA_PINS, TINI_VERSION, GH_VERSION, imageAgentPins } from './chunk-RZ6WJTUP.js';
|
|
11
11
|
import { mkdirSync, writeFileSync, existsSync, mkdtempSync, rmSync, cpSync, readFileSync, readdirSync, lstatSync, readlinkSync } from 'fs';
|
|
12
12
|
import { tmpdir } from 'os';
|
|
13
13
|
import { join } from 'path';
|
|
@@ -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-AVEF3T6Y.js';
|
|
4
4
|
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-7PZDPISM.js';
|
|
5
5
|
import { readFileSync } from 'fs';
|
|
6
6
|
import { join } from 'path';
|
|
@@ -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-EFAOERZH.js';
|
|
5
5
|
import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
6
6
|
import { PLAIN_VERSION, recordCliVersion, removeRecordedVersion } from './chunk-NFZMENCY.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
@@ -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-EXIZ3G6I.js';
|
|
4
|
+
import { resolveGatewayCredentials } from './chunk-XDRZ3BNA.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-5R5FEPLH.js';
|
|
10
10
|
|
|
11
11
|
createRequire(import.meta.url);
|
|
12
12
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { PROXY_WARNING_FLAG } from './chunk-
|
|
4
|
-
import { RELAY_ID, RELAY_USER } from './chunk-
|
|
5
|
-
import { imageInstalls, GH_VERSION, VOICE_PACK_FILES, VOICE_PACK_VERSION, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, TINI_SHA256, TINI_VERSION, HEADLESS_SHELL_REVISION, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG_BASE_URL, PLAYWRIGHT_FFMPEG_REVISION, HEADLESS_SHELL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_VERSION } from './chunk-
|
|
6
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { PROXY_WARNING_FLAG } from './chunk-OUHM6U6Z.js';
|
|
4
|
+
import { RELAY_ID, RELAY_USER } from './chunk-CGXYPLK3.js';
|
|
5
|
+
import { imageInstalls, GH_VERSION, VOICE_PACK_FILES, VOICE_PACK_VERSION, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, TINI_SHA256, TINI_VERSION, HEADLESS_SHELL_REVISION, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG_BASE_URL, PLAYWRIGHT_FFMPEG_REVISION, HEADLESS_SHELL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_VERSION } from './chunk-RZ6WJTUP.js';
|
|
6
|
+
import { defaultAgents } from './chunk-AVEF3T6Y.js';
|
|
7
7
|
|
|
8
8
|
createRequire(import.meta.url);
|
|
9
9
|
|
|
@@ -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-AVEF3T6Y.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';
|
|
@@ -22070,6 +22070,12 @@ function isSafeRelativePath(path) {
|
|
|
22070
22070
|
if (path.includes("\0")) return false;
|
|
22071
22071
|
return !path.split(/[\\/]/).includes("..");
|
|
22072
22072
|
}
|
|
22073
|
+
function isTestSourcePath(path) {
|
|
22074
|
+
return isSafeRelativePath(path) && looksLikeTestSource(path);
|
|
22075
|
+
}
|
|
22076
|
+
function looksLikeTestSource(path) {
|
|
22077
|
+
return !/\s/.test(path) && /\.(?:ts|tsx|mts|cts|js|jsx|mjs|cjs|py|rb|go|rs|java|kt|cs|php|swift)$/.test(path);
|
|
22078
|
+
}
|
|
22073
22079
|
var TestSelectionSchema = external_exports.object({
|
|
22074
22080
|
name: external_exports.string().min(1).max(TEST_NAME_MAX),
|
|
22075
22081
|
file: external_exports.string().refine(isSafeRelativePath, { message: "must be a relative path inside the repository" }).optional(),
|
|
@@ -22141,11 +22147,14 @@ function parseJunit(bytes) {
|
|
|
22141
22147
|
if (testcases.length >= MAX_TESTCASES) throw new LimitError(`more than ${MAX_TESTCASES} testcases`);
|
|
22142
22148
|
const rawFile = attributes.file;
|
|
22143
22149
|
const safeFile = rawFile !== void 0 && isSafeRelativePath(rawFile) ? rawFile : null;
|
|
22150
|
+
const classname = attributes.classname;
|
|
22151
|
+
const classFile = safeFile === null && classname !== void 0 && isTestSourcePath(classname) ? classname : null;
|
|
22144
22152
|
testcases.push({
|
|
22145
22153
|
name: (_b = attributes.name) != null ? _b : "",
|
|
22146
22154
|
suite: (_c = suites[suites.length - 1]) != null ? _c : "",
|
|
22147
22155
|
status: "passed",
|
|
22148
|
-
file: safeFile,
|
|
22156
|
+
file: safeFile != null ? safeFile : classFile,
|
|
22157
|
+
fileFromClassname: classFile !== null,
|
|
22149
22158
|
line: safeFile === null ? null : attributeLine(attributes.line),
|
|
22150
22159
|
failure: null
|
|
22151
22160
|
});
|
|
@@ -22236,7 +22245,7 @@ function bindTests(parsed, selection) {
|
|
|
22236
22245
|
if (failed) failedKept += 1;
|
|
22237
22246
|
else otherKept += 1;
|
|
22238
22247
|
}
|
|
22239
|
-
const ownLocation = testcase.file !== null;
|
|
22248
|
+
const ownLocation = testcase.file !== null && !(testcase.fileFromClassname && (chosen == null ? void 0 : chosen.file) !== void 0);
|
|
22240
22249
|
const failure2 = chosen !== void 0 || failureTextsKept < STORED_FAILURES_MAX ? testcase.failure : null;
|
|
22241
22250
|
if (failure2 !== null && chosen === void 0) failureTextsKept += 1;
|
|
22242
22251
|
tests.push({
|
|
@@ -22253,7 +22262,14 @@ function bindTests(parsed, selection) {
|
|
|
22253
22262
|
}
|
|
22254
22263
|
function parseTestSelector(raw) {
|
|
22255
22264
|
const equals = raw.lastIndexOf("=");
|
|
22256
|
-
const
|
|
22265
|
+
const right = raw.slice(equals + 1);
|
|
22266
|
+
if (equals > 0 && looksLikeTestSource(right)) {
|
|
22267
|
+
const name2 = raw.slice(0, equals);
|
|
22268
|
+
if (name2.length > TEST_NAME_MAX) return { ok: false, message: `a test name is longer than ${TEST_NAME_MAX} characters` };
|
|
22269
|
+
if (!isSafeRelativePath(right)) return { ok: false, message: `the location "${right}" must be a relative path inside the repository` };
|
|
22270
|
+
return { ok: true, test: { name: name2, file: right } };
|
|
22271
|
+
}
|
|
22272
|
+
const location = equals > 0 ? /^(.+):(\d+)$/.exec(right) : null;
|
|
22257
22273
|
if (location === null) {
|
|
22258
22274
|
if (raw === "") return { ok: false, message: "a test name is empty" };
|
|
22259
22275
|
if (raw.length > TEST_NAME_MAX) return { ok: false, message: `a test name is longer than ${TEST_NAME_MAX} characters` };
|
|
@@ -22925,4 +22941,4 @@ xmlchars/xmlns/1.0/ed3.js:
|
|
|
22925
22941
|
*)
|
|
22926
22942
|
*/
|
|
22927
22943
|
|
|
22928
|
-
export { ARTIFACT_KINDS, ARTIFACT_MAX_BYTES, ARTIFACT_MAX_CAPTION_LENGTH, ARTIFACT_MAX_FILENAME_LENGTH, ARTIFACT_MAX_REPLACES_TARGETS, ArtifactCriterionIdSchema, ArtifactSpoolRecordSchema, ArtifactTombstoneRecordSchema, BUCKET_MODEL_MAX_LENGTH, CAPTURE_TIERS, CHECK_ITEM_HREF_MAX_LENGTH, CHECK_ITEM_REASON_MAX_LENGTH, CHECK_ITEM_REFS_MAX, CHECK_ITEM_REF_PATH_MAX_LENGTH, CLI_LOGIN_KIND, CLI_LOGIN_MACHINE_NAME_MAX, CheckItemsSchema, CliLoginPollResponseSchema, CliLoginRefusalSchema, CliLoginStartedSchema, CriteriaListSchema, DEMO_MANIFEST_LATEST_VERSION, DEMO_RECORD_MEDIA_TYPE, DemoManifestSchema, EMITTED_RESULTS, EMITTED_RESULT_MAX_BODY_LENGTH, EMITTED_RESULT_MAX_LINK_LENGTH, EVENT_TYPES, EmittedNameSchema, FindingBatchSchema, FindingsResponseSchema, INPUT_BAND_BOUNDARIES, RESERVED_EMIT_NAMES, SAME_PROBLEM_RULES, SCHEMA_VERSION, SPEED_MAX_LENGTH, StepBodySchema, StepNameSchema, WORK_ITEM_COMMENT_MAX_BODY_LENGTH, bannedPathsForTier, bindTests, downconvertSession, inferArtifactKind, inputBandOf, isHumanUserTurn, itemsAllowResult, mediaTypeForArtifactPath, parseAgentSession, parseJunit, parseTestSelector, turnCountBound };
|
|
22944
|
+
export { ARTIFACT_KINDS, ARTIFACT_MAX_BYTES, ARTIFACT_MAX_CAPTION_LENGTH, ARTIFACT_MAX_FILENAME_LENGTH, ARTIFACT_MAX_REPLACES_TARGETS, ArtifactCriterionIdSchema, ArtifactSpoolRecordSchema, ArtifactTombstoneRecordSchema, BUCKET_MODEL_MAX_LENGTH, CAPTURE_TIERS, CHECK_ITEM_HREF_MAX_LENGTH, CHECK_ITEM_REASON_MAX_LENGTH, CHECK_ITEM_REFS_MAX, CHECK_ITEM_REF_PATH_MAX_LENGTH, CLI_LOGIN_KIND, CLI_LOGIN_MACHINE_NAME_MAX, CheckItemsSchema, CliLoginPollResponseSchema, CliLoginRefusalSchema, CliLoginStartedSchema, CriteriaListSchema, DEMO_MANIFEST_LATEST_VERSION, DEMO_RECORD_MEDIA_TYPE, DemoManifestSchema, EMITTED_RESULTS, EMITTED_RESULT_MAX_BODY_LENGTH, EMITTED_RESULT_MAX_LINK_LENGTH, EVENT_TYPES, EmittedNameSchema, FindingBatchSchema, FindingsResponseSchema, INPUT_BAND_BOUNDARIES, RESERVED_EMIT_NAMES, SAME_PROBLEM_RULES, SCHEMA_VERSION, SPEED_MAX_LENGTH, StepBodySchema, StepNameSchema, WORK_ITEM_COMMENT_MAX_BODY_LENGTH, bannedPathsForTier, bindTests, downconvertSession, inferArtifactKind, inputBandOf, isHumanUserTurn, isTestSourcePath, itemsAllowResult, mediaTypeForArtifactPath, parseAgentSession, parseJunit, parseTestSelector, turnCountBound };
|
|
@@ -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-ONOINHY4.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-U5EE7PGC.js';
|
|
6
|
+
import { RELAY_PORT } from './chunk-OUHM6U6Z.js';
|
|
7
7
|
import { spawn, spawnSync } from 'child_process';
|
|
8
8
|
import { symlinkSync, lstatSync, writeFileSync, chmodSync, mkdirSync, existsSync } from 'fs';
|
|
9
9
|
|