@outerlayer/cli 0.38.0-next.20261106190200 → 0.38.0-next.20261107023135
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 +6 -4
- package/dist/agent-setup-IJNDJ4XL.js +40 -0
- package/dist/{agent-subcommand-PSI3BAXM.js → agent-subcommand-XECZFIAS.js} +4 -4
- package/dist/{artifact-link-cmd-QP6VO7AJ.js → artifact-link-cmd-F6M2BDT7.js} +2 -2
- package/dist/{bridge-3WAVT5SX.js → bridge-LDKKFAHH.js} +7 -7
- package/dist/{build-4KG7H2XK.js → build-PTFRHSXI.js} +13 -13
- package/dist/{build-disk-GGGJ237B.js → build-disk-EO2VG3MF.js} +11 -11
- package/dist/build-info.json +1 -1
- package/dist/{builder-HV7PUSZZ.js → builder-LCIBBOWQ.js} +10 -10
- package/dist/caller-Y3RGYXHU.js +23 -0
- package/dist/{check-LENGOFUF.js → check-U2CFIW42.js} +56 -56
- package/dist/{chunk-2MA2KWHN.js → chunk-2IVRTP6M.js} +1 -1
- package/dist/{chunk-NEEMG462.js → chunk-2KL345FW.js} +1 -1
- package/dist/{chunk-YXXJBHHF.js → chunk-2VNT47DG.js} +10 -2
- package/dist/{chunk-2VN36ZPA.js → chunk-3HEBSWNE.js} +1 -1
- package/dist/{chunk-ZYQT6Q5R.js → chunk-3RFREMDQ.js} +148 -77
- package/dist/{chunk-ZGN3NOVS.js → chunk-3UKDQNFF.js} +1 -1
- package/dist/{chunk-ANFGBAWY.js → chunk-6AKP3FBS.js} +5 -5
- package/dist/{chunk-KMUERD5F.js → chunk-6IXZHORY.js} +4 -4
- package/dist/{chunk-UF3YTRGU.js → chunk-6Y4ZE74I.js} +4 -4
- package/dist/{chunk-G2ITKUX4.js → chunk-7GQE5D72.js} +1 -1
- package/dist/{chunk-3KVYSJAL.js → chunk-7VVTZNUP.js} +6 -6
- package/dist/{chunk-6ZSUJ3ES.js → chunk-ABPIZHXI.js} +3 -3
- package/dist/{chunk-27P5FSZT.js → chunk-B7CAUXSV.js} +6 -6
- package/dist/{chunk-76Y35TWH.js → chunk-BEQYO2VO.js} +1 -1
- package/dist/{chunk-GM3H4ZHG.js → chunk-BJYX3PMU.js} +1 -1
- package/dist/{chunk-HTQFAHXD.js → chunk-BU25W7GF.js} +2 -2
- package/dist/{chunk-MCLSXTLY.js → chunk-C3P637LO.js} +1 -1
- package/dist/{chunk-6744TXEY.js → chunk-DDPCKTVN.js} +7 -7
- package/dist/{chunk-U4ZHNHCF.js → chunk-DRUM7NWK.js} +1 -1
- package/dist/{chunk-M4JFGNG7.js → chunk-EOXQCUFJ.js} +2 -2
- package/dist/{chunk-TDBP62O2.js → chunk-FPEZB7CD.js} +7 -7
- package/dist/{chunk-USJVENIV.js → chunk-FPPBL7ZC.js} +1 -1
- package/dist/{chunk-TOVSIUEJ.js → chunk-FSQDS7A6.js} +1 -1
- package/dist/{chunk-CFTSVW7W.js → chunk-FSYEDSSA.js} +1 -1
- package/dist/{chunk-6BPCEGJL.js → chunk-FZD6GIW5.js} +9 -9
- package/dist/{chunk-IOURL3LH.js → chunk-G3NMES6L.js} +10 -10
- package/dist/{chunk-NMCRJ7NZ.js → chunk-HCIOUSUX.js} +2 -3
- package/dist/{chunk-JKYCEXZX.js → chunk-ICKFR2DB.js} +7 -7
- package/dist/{chunk-RFBJKK2L.js → chunk-IQHREL5T.js} +8 -8
- package/dist/{chunk-RDPLNQFI.js → chunk-KM77NSXE.js} +16 -16
- package/dist/{chunk-VRSUCU2N.js → chunk-LPTMKPCD.js} +1 -1
- package/dist/{chunk-7ATHSAAT.js → chunk-LQEI4HZF.js} +1 -1
- package/dist/{chunk-5MWE5IOO.js → chunk-LYBHKNEG.js} +1 -1
- package/dist/{chunk-YZ5M7S7U.js → chunk-LYORNXIT.js} +1 -1
- package/dist/{chunk-OVHBDADU.js → chunk-MLM4BYK2.js} +1 -1
- package/dist/{chunk-DF6ZHOIA.js → chunk-MXSQINKG.js} +7 -7
- package/dist/{chunk-BEKYNGLH.js → chunk-NDLWXIVK.js} +1 -1
- package/dist/{chunk-T7KETYNW.js → chunk-NOBB3LEO.js} +1 -1
- package/dist/{chunk-OMCDOJO2.js → chunk-O3TOA2KE.js} +3 -3
- package/dist/{chunk-XDVLF6OT.js → chunk-OAOZDJYT.js} +3 -3
- package/dist/{chunk-IXB2IIEW.js → chunk-OCQ5FQZR.js} +1 -1
- package/dist/{chunk-GM4TY5H2.js → chunk-OO33S4AF.js} +7 -5
- package/dist/{chunk-ML3O3A3Q.js → chunk-OSHKKESX.js} +77 -8
- package/dist/{chunk-TDUBZ4FR.js → chunk-PJNOTSB5.js} +1 -1
- package/dist/{chunk-FBBI6K7D.js → chunk-PVLDVUNJ.js} +2 -2
- package/dist/{chunk-G2EWER4K.js → chunk-QF6US5YN.js} +2 -2
- package/dist/{chunk-FCU7WSCV.js → chunk-QHT6PIFP.js} +4 -4
- package/dist/{chunk-JW25JVK4.js → chunk-QQSXVGVH.js} +6 -6
- package/dist/{chunk-TMYBADTM.js → chunk-QZAZPRDW.js} +5 -5
- package/dist/{chunk-JKQAOSSX.js → chunk-RWNVQSGX.js} +3 -3
- package/dist/{chunk-4PH3KXDP.js → chunk-RZXP427Z.js} +1 -1
- package/dist/{chunk-LRE4QIMD.js → chunk-SDUCKX46.js} +9 -9
- package/dist/{chunk-NTRXOTO7.js → chunk-SEAVWMW2.js} +6 -6
- package/dist/{chunk-SUMXGPSG.js → chunk-SOB4KVRZ.js} +6 -6
- package/dist/{chunk-E2ZWGLNZ.js → chunk-SYENSVOK.js} +3 -3
- package/dist/{chunk-VOSC32UF.js → chunk-SZQKS4QK.js} +6 -6
- package/dist/{chunk-QHOC32DP.js → chunk-TMQKDFKO.js} +10 -10
- package/dist/{chunk-5QBTW367.js → chunk-TWWAV67F.js} +5 -5
- package/dist/{chunk-ZOWUJUSF.js → chunk-V43NFQE3.js} +1 -1
- package/dist/{chunk-5BDYRHZZ.js → chunk-VLAVNWM4.js} +7 -7
- package/dist/{chunk-7KF36CVC.js → chunk-VYAFSV43.js} +1 -1
- package/dist/{chunk-GQEVQIS6.js → chunk-VZGTPITG.js} +1 -1
- package/dist/{chunk-LFBQL4AP.js → chunk-WCBLLIPD.js} +5 -5
- package/dist/{chunk-TFBNHDPT.js → chunk-WCQJNDQC.js} +4 -4
- package/dist/{chunk-YSIVKYLW.js → chunk-WDJPGE6K.js} +4 -4
- package/dist/{chunk-677TCNML.js → chunk-WX7XACEU.js} +1 -1
- package/dist/{chunk-H2L5NB5U.js → chunk-X25VXXCF.js} +1 -1
- package/dist/{chunk-A24MNKYN.js → chunk-X32HZMMA.js} +4 -4
- package/dist/{chunk-7B4A6PBC.js → chunk-XGPFDFDU.js} +3 -3
- package/dist/{chunk-ZPCUXCQX.js → chunk-XKJZHY4J.js} +1 -1
- package/dist/{chunk-3E65OLJ4.js → chunk-YFARFA4Y.js} +3 -3
- package/dist/{chunk-F2PTLH3J.js → chunk-YRCFINIR.js} +29 -28
- package/dist/{chunk-YL6GWLK5.js → chunk-YSCRMX2T.js} +8 -8
- package/dist/{claude-launcher-G73I5AGW.js → claude-launcher-62NZAUKT.js} +7 -7
- package/dist/{cli-5SILU2LX.js → cli-UWN7LDID.js} +171 -147
- package/dist/{command-DBBEP7VM.js → command-WVYT7OZA.js} +50 -50
- package/dist/{config-KOSTQZXG.js → config-4YPIDOHH.js} +12 -12
- package/dist/{connect-cmd-UNBJYFYM.js → connect-cmd-GAWR7QSH.js} +13 -13
- package/dist/{container-start-AAOLPVAH.js → container-start-ZMIAMEQC.js} +48 -48
- package/dist/{context-cleanup-MKVMFRNR.js → context-cleanup-L3ZKG6EU.js} +4 -4
- package/dist/{context-show-cmd-P3LBILMP.js → context-show-cmd-YJ4IJ2WI.js} +14 -14
- package/dist/{control-plane-launch-2GOJKA53.js → control-plane-launch-GOKEVTPX.js} +14 -14
- package/dist/{demo-record-cmd-BPINCNYS.js → demo-record-cmd-AZSEQXO4.js} +8 -8
- package/dist/{demo-voice-cmd-HBK3TWM5.js → demo-voice-cmd-KHEMTR5T.js} +20 -20
- package/dist/{dist-MUOHO52Q.js → dist-RMEOTTVL.js} +2 -2
- package/dist/{docker-NUPVSMVQ.js → docker-QMKIWXHF.js} +10 -10
- package/dist/{doctor-GHRSOZLB.js → doctor-VCAXH6RM.js} +50 -50
- package/dist/{emit-artifact-cmd-CULA5AM4.js → emit-artifact-cmd-72QEOEJH.js} +19 -19
- package/dist/{emit-cmd-746N7PYR.js → emit-cmd-X5F5HUTQ.js} +7 -7
- package/dist/{emit-criteria-cmd-NY4RPUPD.js → emit-criteria-cmd-HTHETRH6.js} +16 -16
- package/dist/{emit-demo-cmd-MYXTGMJI.js → emit-demo-cmd-LFYJURFC.js} +20 -20
- package/dist/{emit-finding-cmd-ZGGMPQFT.js → emit-finding-cmd-GFWCMJFY.js} +16 -16
- package/dist/{emit-result-cmd-GNEQHIIZ.js → emit-result-cmd-FTWLKM6G.js} +18 -18
- package/dist/{emit-step-cmd-NYCJ3XFQ.js → emit-step-cmd-J4L2OAWE.js} +16 -16
- package/dist/{exec-client-QHB62OZ6.js → exec-client-YQH4ZSRM.js} +8 -8
- package/dist/find-unit-F3Q54LLR.js +24 -0
- package/dist/{findings-cmd-ZINCPCAB.js → findings-cmd-VFE7VINC.js} +16 -16
- package/dist/{fleet-readiness-FZCSJ7FY.js → fleet-readiness-FGQPCFSP.js} +14 -14
- package/dist/{governing-source-CQML5N2D.js → governing-source-NMZSHEHR.js} +21 -21
- package/dist/{guest-init-C6FWJVAQ.js → guest-init-DPZAVCWH.js} +9 -9
- package/dist/{hook-fast-6IOLZ45F.js → hook-fast-3VMKCCUO.js} +1 -1
- package/dist/{hook-install-VL4CEO4S.js → hook-install-TTF6LASI.js} +4 -4
- package/dist/host-checks-5SPBYP6O.js +79 -0
- package/dist/host-key-QZWN6ECO.js +18 -0
- package/dist/{image-tag-IBAYH5XH.js → image-tag-5TZ7MF5H.js} +8 -8
- package/dist/index.js +4 -4
- package/dist/{init-EIQFBAZI.js → init-RUAPRUFX.js} +46 -46
- package/dist/init-TFGPUVUU.js +79 -0
- package/dist/{init-agent-7UQZFG5E.js → init-agent-TT25322F.js} +46 -46
- package/dist/{init-cmd-TNJXWFQU.js → init-cmd-6A3PHOXB.js} +27 -27
- package/dist/{init-update-KJWMEKR3.js → init-update-JLOPXC5U.js} +24 -24
- package/dist/{install-cmd-UXH2LGVA.js → install-cmd-JDA4CNYW.js} +10 -10
- package/dist/{layout-YVTZDKVU.js → layout-AKKICGLZ.js} +4 -4
- package/dist/{login-browser-I6CWBA7K.js → login-browser-VNPN4FVO.js} +2 -2
- package/dist/{logs-22Y7QG42.js → logs-WPNNAY5E.js} +7 -7
- package/dist/loop-2SYWWJHW.js +90 -0
- package/dist/machine-GD2UAX6F.js +79 -0
- package/dist/{machine-skills-6PJOJU5J.js → machine-skills-GGLBQANZ.js} +4 -4
- package/dist/{mcp-install-cmd-LJ7AYDDT.js → mcp-install-cmd-3NHDPAML.js} +4 -4
- package/dist/{mcp-serve-cmd-34LDKQSR.js → mcp-serve-cmd-CLVZFL37.js} +9 -9
- package/dist/{paths-2KOZGV5U.js → paths-PSLRVOVY.js} +7 -7
- package/dist/pending-GWDAXQSA.js +18 -0
- package/dist/{pidfile-FQBXIHX7.js → pidfile-5E4YPCTC.js} +8 -8
- package/dist/{record-7ENQ7Y5M.js → record-7ZMZA5QE.js} +8 -8
- package/dist/{relay-JLU7RTFS.js → relay-UUIHK5TY.js} +5 -5
- package/dist/{relay-protocol-AEIZCA3K.js → relay-protocol-MQVXSFN4.js} +5 -5
- package/dist/{runner-agents-I5YLJY7G.js → runner-agents-M5CMF2ZA.js} +4 -4
- package/dist/runner-env-3S64BNCU.js +24 -0
- package/dist/{runner-identity-MW53HCYG.js → runner-identity-3GMF6FKI.js} +10 -10
- package/dist/{runner-key-GERK5EV3.js → runner-key-KZGNIOHI.js} +46 -46
- package/dist/{session-sender-65X5PR7Q.js → session-sender-M325MH5U.js} +19 -19
- package/dist/{spec-cmd-3TNVJBN7.js → spec-cmd-QIVFOHR4.js} +17 -17
- package/dist/{starter-pack-PLSMFXBU.js → starter-pack-P5BRWSAP.js} +5 -5
- package/dist/state-5H5LGYWN.js +18 -0
- package/dist/{status-KGSQF55G.js → status-QQZT6HHZ.js} +46 -46
- package/dist/{sync-cmd-FNATZ5VL.js → sync-cmd-JHFRUMM5.js} +18 -18
- package/dist/update-steps-KDMOFCVB.js +80 -0
- package/dist/{watch-FEBBRV22.js → watch-TVHFOLVK.js} +18 -18
- package/dist/{work-claim-cmd-2EPUH3KT.js → work-claim-cmd-LTIAXIWH.js} +23 -23
- package/dist/{work-cmd-V5A3MDXV.js → work-cmd-VC353JLU.js} +16 -16
- package/dist/{work-comment-cmd-PUE47SUV.js → work-comment-cmd-SRQXRRJT.js} +18 -18
- package/dist/{work-demo-cmd-7Q3KW2OO.js → work-demo-cmd-INUFIHU4.js} +16 -16
- package/dist/{work-logs-cmd-SQBJX6MC.js → work-logs-cmd-TMJC7RRS.js} +16 -16
- package/dist/work-no-change-cmd-7NI4FKCC.js +85 -0
- package/dist/{work-open-pr-cmd-PNDF2CR5.js → work-open-pr-cmd-O6XW2YGD.js} +17 -17
- package/dist/{work-pr-cmd-U7WL7KYE.js → work-pr-cmd-QSE3BH3Z.js} +16 -16
- package/dist/{work-proofs-cmd-YHOM2NIH.js → work-proofs-cmd-MHSLSBDV.js} +18 -18
- package/dist/{work-proofs-record-CYIZ2RDH.js → work-proofs-record-FU2Y6FBF.js} +24 -24
- package/dist/{work-stop-cmd-ENRSBWFT.js → work-stop-cmd-J77H7RLL.js} +16 -16
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer-build/SKILL.md +20 -6
- package/skill-pack/maintained/outerlayer-build/references/code-review-judge.md +80 -0
- package/skill-pack/maintained/outerlayer-build/references/release.md +0 -15
- package/skill-pack/maintained/outerlayer-build/references/review-loop.md +1 -3
- package/skill-pack/maintained/outerlayer-evidence/SKILL.md +3 -7
- package/dist/agent-setup-RO2DJUF3.js +0 -40
- package/dist/caller-3P3AEY7W.js +0 -23
- package/dist/find-unit-UVS2FM7E.js +0 -24
- package/dist/host-checks-HPCMZ7XT.js +0 -79
- package/dist/host-key-5APXLMY2.js +0 -18
- package/dist/init-YD4MNH5U.js +0 -79
- package/dist/loop-SVE6TL6G.js +0 -90
- package/dist/machine-RQIO5VRG.js +0 -79
- package/dist/pending-RYWBDJCE.js +0 -18
- package/dist/runner-env-GXY2VMNH.js +0 -24
- package/dist/state-EKXXOPA5.js +0 -18
- package/dist/update-steps-3LOJ377U.js +0 -80
- package/skill-pack/validators/code-review.yaml +0 -30
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { sanitizeTerminal } from './chunk-
|
|
4
|
-
import { resolvePackRoot, parseProofsConfig } from './chunk-
|
|
5
|
-
import { CHECK_ITEM_REASON_MAX_LENGTH, CheckItemsSchema, CHECK_ITEM_REFS_MAX, CHECK_ITEM_REF_PATH_MAX_LENGTH } from './chunk-
|
|
3
|
+
import { sanitizeTerminal } from './chunk-OCQ5FQZR.js';
|
|
4
|
+
import { resolvePackRoot, parseProofsConfig } from './chunk-OO33S4AF.js';
|
|
5
|
+
import { CHECK_ITEM_REASON_MAX_LENGTH, CHECK_ITEMS_MAX, CheckItemsSchema, CHECK_ITEM_REFS_MAX, CHECK_ITEM_ID_MAX_LENGTH, CHECK_ITEM_REF_PATH_MAX_LENGTH, JUDGE_NOT_RUN_ITEM_ID, REVIEWED_COMMIT_ITEM_ID } from './chunk-2VNT47DG.js';
|
|
6
6
|
import { createHash } from 'crypto';
|
|
7
7
|
import { join } from 'path';
|
|
8
8
|
import { pathToFileURL } from 'url';
|
|
@@ -1908,6 +1908,45 @@ function runnerMatcher(runners) {
|
|
|
1908
1908
|
return index === -1 ? void 0 : index;
|
|
1909
1909
|
};
|
|
1910
1910
|
}
|
|
1911
|
+
|
|
1912
|
+
// src/runner/diff-lines.ts
|
|
1913
|
+
var HUNK = /^@@ -\d+(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/;
|
|
1914
|
+
var NEW_FILE = /^\+\+\+ b\/([^\t"].*?)\t?$/;
|
|
1915
|
+
function diffLines(patch) {
|
|
1916
|
+
const files = /* @__PURE__ */ new Map();
|
|
1917
|
+
const lines = patch.split("\n");
|
|
1918
|
+
let path2;
|
|
1919
|
+
for (let at = 0; at < lines.length; at += 1) {
|
|
1920
|
+
const line = lines[at];
|
|
1921
|
+
if (line.startsWith("diff --git ")) {
|
|
1922
|
+
path2 = void 0;
|
|
1923
|
+
continue;
|
|
1924
|
+
}
|
|
1925
|
+
if (line.startsWith("+++ ")) {
|
|
1926
|
+
path2 = NEW_FILE.exec(line)?.[1];
|
|
1927
|
+
continue;
|
|
1928
|
+
}
|
|
1929
|
+
const hunk = HUNK.exec(line);
|
|
1930
|
+
if (hunk === null) continue;
|
|
1931
|
+
let oldLeft = Number(hunk[1] ?? 1);
|
|
1932
|
+
let newLeft = Number(hunk[3] ?? 1);
|
|
1933
|
+
const start = Number(hunk[2]);
|
|
1934
|
+
if (path2 !== void 0 && newLeft > 0) files.set(path2, [...files.get(path2) ?? [], [start, start + newLeft - 1]]);
|
|
1935
|
+
while ((oldLeft > 0 || newLeft > 0) && at + 1 < lines.length) {
|
|
1936
|
+
at += 1;
|
|
1937
|
+
const mark = lines[at][0];
|
|
1938
|
+
if (mark === "\\") continue;
|
|
1939
|
+
if (mark !== "+") oldLeft -= 1;
|
|
1940
|
+
if (mark !== "-") newLeft -= 1;
|
|
1941
|
+
}
|
|
1942
|
+
}
|
|
1943
|
+
return files;
|
|
1944
|
+
}
|
|
1945
|
+
function lineInDiff(lines, path2, line) {
|
|
1946
|
+
return (lines.get(path2) ?? []).some(([first, last]) => line >= first && line <= last);
|
|
1947
|
+
}
|
|
1948
|
+
|
|
1949
|
+
// src/runner/judge-items.ts
|
|
1911
1950
|
var ARTIFACT_PROOF_REASON = "Its declared artifact proves it; the judge does not judge artifacts.";
|
|
1912
1951
|
var NO_NAMED_TEST_REASON = "The judge named no test file that proves this criterion.";
|
|
1913
1952
|
var NO_VERDICT_REASON = "The judge gave no result for this criterion.";
|
|
@@ -1979,7 +2018,7 @@ function judgeGroups(criteria, size = JUDGE_GROUP_SIZE) {
|
|
|
1979
2018
|
}
|
|
1980
2019
|
var MAX_ANSWER_ENTRIES = 500;
|
|
1981
2020
|
var MAX_NAMED_TESTS = 50;
|
|
1982
|
-
function
|
|
2021
|
+
function readPlaces(raw) {
|
|
1983
2022
|
if (!Array.isArray(raw)) return void 0;
|
|
1984
2023
|
const tests = [];
|
|
1985
2024
|
for (const entry of raw.slice(0, MAX_NAMED_TESTS)) {
|
|
@@ -1998,12 +2037,13 @@ function readAnswer(raw) {
|
|
|
1998
2037
|
if (entries.length > MAX_ANSWER_ENTRIES) return { ok: false, problem: `items: at most ${MAX_ANSWER_ENTRIES} entries` };
|
|
1999
2038
|
const read = [];
|
|
2000
2039
|
for (const [index, entry] of entries.entries()) {
|
|
2001
|
-
const { id, result: itemResult, reason, tests } = typeof entry === "object" && entry !== null ? entry : {};
|
|
2040
|
+
const { id, result: itemResult, reason, tests, refs } = typeof entry === "object" && entry !== null ? entry : {};
|
|
2002
2041
|
if (typeof id !== "string" || id === "" || id.length > 200) return { ok: false, problem: `items.${index}.id: must be text of 1 to 200 characters` };
|
|
2003
2042
|
if (itemResult !== "pass" && itemResult !== "fail") return { ok: false, problem: `items.${index}.result: must be "pass" or "fail"` };
|
|
2004
2043
|
if (reason !== void 0 && typeof reason !== "string") return { ok: false, problem: `items.${index}.reason: must be text` };
|
|
2005
|
-
const named =
|
|
2006
|
-
|
|
2044
|
+
const named = readPlaces(tests);
|
|
2045
|
+
const places = readPlaces(refs);
|
|
2046
|
+
read.push({ id, result: itemResult, ...reason === void 0 ? {} : { reason }, ...named === void 0 ? {} : { tests: named }, ...places === void 0 ? {} : { refs: places } });
|
|
2007
2047
|
}
|
|
2008
2048
|
return { ok: true, answer: { ...result === void 0 ? {} : { result }, items: read } };
|
|
2009
2049
|
}
|
|
@@ -2060,6 +2100,27 @@ function judgedItems(input) {
|
|
|
2060
2100
|
return { ...base, result: said.result, ...reason === void 0 ? {} : { reason }, ...withRefs, ...kept };
|
|
2061
2101
|
});
|
|
2062
2102
|
}
|
|
2103
|
+
function itemIds(ids, clean) {
|
|
2104
|
+
const used = /* @__PURE__ */ new Set([JUDGE_NOT_RUN_ITEM_ID, REVIEWED_COMMIT_ITEM_ID]);
|
|
2105
|
+
return ids.map((id) => {
|
|
2106
|
+
const base = clean(id).replace(/[\u0000-\u001f\u007f]+/g, " ").trim() || "problem";
|
|
2107
|
+
let unique = base.slice(0, CHECK_ITEM_ID_MAX_LENGTH);
|
|
2108
|
+
for (let count = 2; used.has(unique); count += 1) unique = `${base.slice(0, CHECK_ITEM_ID_MAX_LENGTH - `-${count}`.length)}-${count}`;
|
|
2109
|
+
used.add(unique);
|
|
2110
|
+
return unique;
|
|
2111
|
+
});
|
|
2112
|
+
}
|
|
2113
|
+
function wholeItems(input) {
|
|
2114
|
+
const lines = diffLines(input.patch);
|
|
2115
|
+
const entries = [...input.answer.items.filter((entry) => entry.result === "fail"), ...input.answer.items.filter((entry) => entry.result !== "fail")].slice(0, CHECK_ITEMS_MAX - 1);
|
|
2116
|
+
const ids = itemIds(entries.map((entry) => entry.id), input.clean);
|
|
2117
|
+
return entries.map((entry, index) => {
|
|
2118
|
+
const reason = oneLineReason(entry.reason === void 0 ? void 0 : input.clean(entry.reason));
|
|
2119
|
+
const { refs } = namedTests(entry.refs, { treeRoot: input.treeRoot, check: input.place, ownTree: input.ownTree });
|
|
2120
|
+
const placed = entry.result === "fail" ? refs.map((ref) => ref.line === void 0 ? ref : { ...ref, inDiff: lineInDiff(lines, ref.path, ref.line) }) : refs;
|
|
2121
|
+
return { id: ids[index], result: entry.result, commit: input.commit, ...reason === void 0 ? {} : { reason }, ...placed.length === 0 ? {} : { refs: placed } };
|
|
2122
|
+
});
|
|
2123
|
+
}
|
|
2063
2124
|
function failedItems(criteria, reason) {
|
|
2064
2125
|
const said = oneLineReason(reason) ?? NO_VERDICT_REASON;
|
|
2065
2126
|
return criteria.map((criterion) => ({ id: criterion.id, criterion: criterion.id, result: "fail", reason: said }));
|
|
@@ -2103,6 +2164,14 @@ function criteriaOf(workItem) {
|
|
|
2103
2164
|
}
|
|
2104
2165
|
return items.length === 0 ? void 0 : items;
|
|
2105
2166
|
}
|
|
2167
|
+
function openPullRequests(workItem) {
|
|
2168
|
+
const declared = Object(workItem).pullRequests;
|
|
2169
|
+
if (!Array.isArray(declared)) return [];
|
|
2170
|
+
return declared.flatMap((entry) => {
|
|
2171
|
+
const { state, repository } = Object(entry);
|
|
2172
|
+
return (state === "open" || state === null || state === void 0) && typeof repository === "string" ? [repository] : [];
|
|
2173
|
+
});
|
|
2174
|
+
}
|
|
2106
2175
|
function hostItemsOf(workItem, name) {
|
|
2107
2176
|
const checks = Object(workItem).checks;
|
|
2108
2177
|
if (!Array.isArray(checks)) return [];
|
|
@@ -2112,4 +2181,4 @@ function hostItemsOf(workItem, name) {
|
|
|
2112
2181
|
return parsed.success ? parsed.data : [];
|
|
2113
2182
|
}
|
|
2114
2183
|
|
|
2115
|
-
export { MAX_TEST_FILE_BYTES, NO_VERDICT_REASON, criteriaOf, criterionInputs, failedItems, hostItemsOf, inCriteriaOrder, itemsSentence, judgeGroups, judgedItems, loadCitationFinder, oneLineReason, parseJudgeAnswer, planCriteria, runnerMatcher, testFileMatcher, testsByCriterion };
|
|
2184
|
+
export { MAX_TEST_FILE_BYTES, NO_VERDICT_REASON, criteriaOf, criterionInputs, failedItems, hostItemsOf, inCriteriaOrder, itemsSentence, judgeGroups, judgedItems, loadCitationFinder, oneLineReason, openPullRequests, parseJudgeAnswer, planCriteria, runnerMatcher, testFileMatcher, testsByCriterion, wholeItems };
|
|
@@ -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-OO33S4AF.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 { keyRunnerFactory, RunnerConfigError } from './chunk-
|
|
4
|
-
import { orgHomeDir } from './chunk-
|
|
3
|
+
import { keyRunnerFactory, RunnerConfigError } from './chunk-6Y4ZE74I.js';
|
|
4
|
+
import { orgHomeDir } from './chunk-LYORNXIT.js';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
7
7
|
|
|
@@ -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-FZD6GIW5.js';
|
|
4
|
+
import { buildsDir, storeScopes, rootfsDir, orgStoreIn, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-LYORNXIT.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,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-BU25W7GF.js';
|
|
4
|
+
import { strippedVariables } from './chunk-PJNOTSB5.js';
|
|
5
|
+
import { defaultAgents } from './chunk-OO33S4AF.js';
|
|
6
6
|
import { PROVIDERS } from './chunk-7PZDPISM.js';
|
|
7
|
-
import { MIN_SCRUBBED_LITERAL } from './chunk-
|
|
7
|
+
import { MIN_SCRUBBED_LITERAL } from './chunk-X25VXXCF.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,18 +1,18 @@
|
|
|
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-
|
|
4
|
+
import { detectActiveSession, transcriptPathForSession } from './chunk-VZGTPITG.js';
|
|
5
|
+
import { autoConnect } from './chunk-RWNVQSGX.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
7
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-NOBB3LEO.js';
|
|
8
8
|
import { readLatestProvenanceForSession } from './chunk-545P7JY7.js';
|
|
9
9
|
import { launchedItemForSession } from './chunk-4OD45RBP.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
11
11
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
12
|
-
import { legacyAgent, captureAgents, sessionFolderIn } from './chunk-
|
|
12
|
+
import { legacyAgent, captureAgents, sessionFolderIn } from './chunk-OO33S4AF.js';
|
|
13
13
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
14
|
-
import { resolveRepoIdentity, scrubText } from './chunk-
|
|
15
|
-
import { FindingBatchSchema, FindingsResponseSchema, SAME_PROBLEM_RULES } from './chunk-
|
|
14
|
+
import { resolveRepoIdentity, scrubText } from './chunk-X25VXXCF.js';
|
|
15
|
+
import { FindingBatchSchema, FindingsResponseSchema, SAME_PROBLEM_RULES } from './chunk-2VNT47DG.js';
|
|
16
16
|
import { readFileSync, existsSync } from 'fs';
|
|
17
17
|
import { homedir } from 'os';
|
|
18
18
|
import { join, dirname } from 'path';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RemovedTargetError, removedTargetError } from './chunk-
|
|
4
|
-
import { removeRetiredSkills } from './chunk-
|
|
5
|
-
import { defaultFetch, resolveGatewayCredentials } from './chunk-
|
|
6
|
-
import { withTokenHeader } from './chunk-
|
|
3
|
+
import { RemovedTargetError, removedTargetError } from './chunk-C3P637LO.js';
|
|
4
|
+
import { removeRetiredSkills } from './chunk-2IVRTP6M.js';
|
|
5
|
+
import { defaultFetch, resolveGatewayCredentials } from './chunk-NOBB3LEO.js';
|
|
6
|
+
import { withTokenHeader } from './chunk-QHT6PIFP.js';
|
|
7
7
|
import { appendContextProvenance } from './chunk-545P7JY7.js';
|
|
8
8
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
9
9
|
import { writeDegraded, writeSourceCache, SOURCE_CACHE_TTL_RETRY_MS, writeContextManifest, SOURCE_CACHE_TTL_SUCCESS_MS, readSourceCache, isSourceCacheFresh, clearDegraded } from './chunk-YQR6E6OV.js';
|
|
10
|
-
import { normalizeRepoName, loadMaintainedFiles, writeMaintainedFiles, parseOuterlayerConfig, targetIds, classifyTree, emitTree, emitBuilders, defaultAgents, agentRootFolders } from './chunk-
|
|
10
|
+
import { normalizeRepoName, loadMaintainedFiles, writeMaintainedFiles, parseOuterlayerConfig, targetIds, classifyTree, emitTree, emitBuilders, defaultAgents, agentRootFolders } from './chunk-OO33S4AF.js';
|
|
11
11
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
12
12
|
import { execFileSync } from 'child_process';
|
|
13
13
|
import { existsSync, mkdirSync, writeFileSync, chmodSync, lstatSync, readFileSync, copyFileSync } from 'fs';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { fetchFactories, selectFactory, saveFactoryConnection, autoConnectedLine } from './chunk-
|
|
4
|
-
import { resolveGatewayCredentials } from './chunk-
|
|
3
|
+
import { fetchFactories, selectFactory, saveFactoryConnection, autoConnectedLine } from './chunk-7VVTZNUP.js';
|
|
4
|
+
import { resolveGatewayCredentials } from './chunk-NOBB3LEO.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-X25VXXCF.js';
|
|
10
10
|
|
|
11
11
|
createRequire(import.meta.url);
|
|
12
12
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readSettingsText, SettingsParseError, cliForInstall } from './chunk-ZHQC43NH.js';
|
|
4
|
-
import { legacyAgent, defaultAgents, HookTextError } from './chunk-
|
|
4
|
+
import { legacyAgent, defaultAgents, HookTextError } from './chunk-OO33S4AF.js';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
7
7
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { uploadSpooledSteps } from './chunk-
|
|
3
|
+
import { uploadSpooledSteps } from './chunk-SEAVWMW2.js';
|
|
4
4
|
import { LaunchFilter } from './chunk-WGC7UFRM.js';
|
|
5
|
-
import { migrateLegacyArtifactSidecars, planArtifactUpload, artifactsStatePath, sanitizeTerminal, acquireArtifactSpoolLock, artifactBlobsDir, resolveArtifactTurnIndex, isArtifactTombstoned, ARTIFACT_RETRY_MAX_AGE_MS, writeArtifactSpoolState, reclaimUnneededArtifactBlobs, neededArtifactShas } from './chunk-
|
|
5
|
+
import { migrateLegacyArtifactSidecars, planArtifactUpload, artifactsStatePath, sanitizeTerminal, acquireArtifactSpoolLock, artifactBlobsDir, resolveArtifactTurnIndex, isArtifactTombstoned, ARTIFACT_RETRY_MAX_AGE_MS, writeArtifactSpoolState, reclaimUnneededArtifactBlobs, neededArtifactShas } from './chunk-OCQ5FQZR.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { cliFetch, resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
7
|
+
import { cliFetch, resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-NOBB3LEO.js';
|
|
8
8
|
import { readCloudConfig, cloudConfigPath, writeCloudConfig } from './chunk-HWVMRETT.js';
|
|
9
|
-
import { signerFor, signRunnerRequest } from './chunk-
|
|
10
|
-
import { SCRUB_ENV_VARIABLE } from './chunk-
|
|
11
|
-
import { writeSyncStatus, logHookError, spoolDir } from './chunk-
|
|
9
|
+
import { signerFor, signRunnerRequest } from './chunk-FSQDS7A6.js';
|
|
10
|
+
import { SCRUB_ENV_VARIABLE } from './chunk-QHT6PIFP.js';
|
|
11
|
+
import { writeSyncStatus, logHookError, spoolDir } from './chunk-O3TOA2KE.js';
|
|
12
12
|
import { readLatestProvenanceForSession, readContextProvenance } from './chunk-545P7JY7.js';
|
|
13
13
|
import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
14
14
|
import { hookExecSpoolPath } from './chunk-RNCCRUT5.js';
|
|
@@ -16,11 +16,11 @@ import { applyReportedCost } from './chunk-BKO6JEZI.js';
|
|
|
16
16
|
import { readLaunchSpoolState, launchStatusIsDecisive, launchedItemsBySession, launchesPath } from './chunk-4OD45RBP.js';
|
|
17
17
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
18
18
|
import { removeJournalHooks } from './chunk-CJPTUU2E.js';
|
|
19
|
-
import { legacyAgent, captureAgents, captureAdapters } from './chunk-
|
|
19
|
+
import { legacyAgent, captureAgents, captureAdapters } from './chunk-OO33S4AF.js';
|
|
20
20
|
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-7PZDPISM.js';
|
|
21
21
|
import { homeFromEnv, spoolHomeFromEnv } from './chunk-352DHUTP.js';
|
|
22
|
-
import { setCustomScrubbers, setLocalIdentity, forkFor, readForkRecord, tailTranscript, enrichSessionRepo, scanAll, setRepoRoot, resolveRepoIdentity, scrubDeep } from './chunk-
|
|
23
|
-
import { CAPTURE_TIERS, inferArtifactKind, bannedPathsForTier, downconvertSession, isHumanUserTurn, turnCountBound, EVENT_TYPES } from './chunk-
|
|
22
|
+
import { setCustomScrubbers, setLocalIdentity, forkFor, readForkRecord, tailTranscript, enrichSessionRepo, scanAll, setRepoRoot, resolveRepoIdentity, scrubDeep } from './chunk-X25VXXCF.js';
|
|
23
|
+
import { CAPTURE_TIERS, inferArtifactKind, bannedPathsForTier, downconvertSession, isHumanUserTurn, turnCountBound, EVENT_TYPES } from './chunk-2VNT47DG.js';
|
|
24
24
|
import { dirname, basename, join, sep } from 'path';
|
|
25
25
|
import { statSync, readFileSync, readdirSync, mkdirSync, writeFileSync, renameSync, existsSync, rmSync } from 'fs';
|
|
26
26
|
import { execFileSync } from 'child_process';
|
|
@@ -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-
|
|
4
|
+
import { detectActiveSession } from './chunk-VZGTPITG.js';
|
|
5
|
+
import { autoConnect } from './chunk-RWNVQSGX.js';
|
|
6
|
+
import { acquireSpoolLockAt } from './chunk-OCQ5FQZR.js';
|
|
7
7
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
8
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
8
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-NOBB3LEO.js';
|
|
9
9
|
import { launchedItemForSession } from './chunk-4OD45RBP.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
11
11
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
12
|
-
import { resolveRepoIdentity } from './chunk-
|
|
13
|
-
import { StepNameSchema, StepBodySchema } from './chunk-
|
|
12
|
+
import { resolveRepoIdentity } from './chunk-X25VXXCF.js';
|
|
13
|
+
import { StepNameSchema, StepBodySchema } from './chunk-2VNT47DG.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,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { sanitizeTerminal } from './chunk-
|
|
4
|
-
import { isAgentsMdLayout } from './chunk-
|
|
5
|
-
import { resolveGatewayCredentials, defaultFetch } from './chunk-
|
|
3
|
+
import { sanitizeTerminal } from './chunk-OCQ5FQZR.js';
|
|
4
|
+
import { isAgentsMdLayout } from './chunk-FSYEDSSA.js';
|
|
5
|
+
import { resolveGatewayCredentials, defaultFetch } from './chunk-NOBB3LEO.js';
|
|
6
6
|
import { versionAtLeast } from './chunk-SF2TBJBP.js';
|
|
7
7
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
8
|
-
import { machineSkillsState, staleAgentSkills } from './chunk-
|
|
8
|
+
import { machineSkillsState, staleAgentSkills } from './chunk-V43NFQE3.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-LPTMKPCD.js';
|
|
11
|
+
import { skillDir, emitTree, targetIds, classifyTree, emitBuilders, AGENTS_SKILLS_BASE, defaultAgents, namesCore, MACHINE_SKILL_PATH, skillBases, isMaintainedCopy, contextAgents, loadTemplateFiles, splitRawFile } from './chunk-OO33S4AF.js';
|
|
12
12
|
import { MAINTAINED_SKILLS } from './chunk-CDDED64E.js';
|
|
13
13
|
import { execFileSync } from 'child_process';
|
|
14
14
|
import { existsSync, readFileSync, writeFileSync, realpathSync, readdirSync } from 'fs';
|
|
@@ -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-QHT6PIFP.js';
|
|
4
|
+
import { GATEWAY_SOCKET, GATEWAY_PORT, providerDestinations } from './chunk-BU25W7GF.js';
|
|
5
|
+
import { defaultAgents } from './chunk-OO33S4AF.js';
|
|
6
6
|
import { PROVIDERS } from './chunk-7PZDPISM.js';
|
|
7
7
|
import { symlinkSync, unlinkSync } from 'fs';
|
|
8
8
|
import { join } from 'path';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { builtinKind, keepsHostBuilder } from './chunk-
|
|
4
|
-
import { parseSize } from './chunk-
|
|
5
|
-
import { runnerDir } from './chunk-
|
|
6
|
-
import { FD_SLOTS_PER_BUILD, FD_STORE_ENV, BUILD_SLICE_MEMORY_ENV, credentialLineIn, withoutCredentialLines } from './chunk-
|
|
7
|
-
import { credentialAgent, credentialNames, credentialForms } from './chunk-
|
|
8
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { builtinKind, keepsHostBuilder } from './chunk-6Y4ZE74I.js';
|
|
4
|
+
import { parseSize } from './chunk-FZD6GIW5.js';
|
|
5
|
+
import { runnerDir } from './chunk-LYORNXIT.js';
|
|
6
|
+
import { FD_SLOTS_PER_BUILD, FD_STORE_ENV, BUILD_SLICE_MEMORY_ENV, credentialLineIn, withoutCredentialLines } from './chunk-BU25W7GF.js';
|
|
7
|
+
import { credentialAgent, credentialNames, credentialForms } from './chunk-PJNOTSB5.js';
|
|
8
|
+
import { defaultAgents } from './chunk-OO33S4AF.js';
|
|
9
9
|
import { existsSync, readFileSync, writeFileSync, chmodSync, renameSync } from 'fs';
|
|
10
10
|
import { dirname, join } from 'path';
|
|
11
11
|
import { spawnSync } from 'child_process';
|
|
@@ -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-OSHKKESX.js';
|
|
4
|
+
import { WorkCommandError, resolveCredentials, getJson } from './chunk-IQHREL5T.js';
|
|
5
|
+
import { sanitizeTerminal } from './chunk-OCQ5FQZR.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { defaultFetch } from './chunk-
|
|
7
|
+
import { defaultFetch } from './chunk-NOBB3LEO.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, isTestSourcePath } from './chunk-
|
|
11
|
+
import { parseProofsConfig } from './chunk-OO33S4AF.js';
|
|
12
|
+
import { resolveRepoIdentity } from './chunk-X25VXXCF.js';
|
|
13
|
+
import { inferArtifactKind, mediaTypeForArtifactPath, WORK_ITEM_COMMENT_MAX_BODY_LENGTH, parseJunit, isTestSourcePath } from './chunk-2VNT47DG.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-5SPBYP6O.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-5SPBYP6O.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 };
|
|
@@ -372,7 +372,7 @@ async function runWorkProofs(opts) {
|
|
|
372
372
|
async function runWorkProofsCommand(opts) {
|
|
373
373
|
try {
|
|
374
374
|
if (opts.record) {
|
|
375
|
-
const { runWorkProofsRecord } = await import('./work-proofs-record-
|
|
375
|
+
const { runWorkProofsRecord } = await import('./work-proofs-record-FU2Y6FBF.js');
|
|
376
376
|
const result2 = await runWorkProofsRecord(opts);
|
|
377
377
|
process.exitCode = result2.exitCode;
|
|
378
378
|
return;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { mcpTargetPath, INIT_STDIO_ENTRY, INIT_DOCS_ENTRY, DOCS_MCP_SERVER_NAME } from './chunk-
|
|
4
|
-
import { VALIDATOR_FILES, VALIDATORS_DIR, POLICY_PATH, POLICY_CONTENT } from './chunk-
|
|
5
|
-
import { skillsBaseFor } from './chunk-
|
|
3
|
+
import { mcpTargetPath, INIT_STDIO_ENTRY, INIT_DOCS_ENTRY, DOCS_MCP_SERVER_NAME } from './chunk-3HEBSWNE.js';
|
|
4
|
+
import { VALIDATOR_FILES, VALIDATORS_DIR, POLICY_PATH, POLICY_CONTENT } from './chunk-HCIOUSUX.js';
|
|
5
|
+
import { skillsBaseFor } from './chunk-FSYEDSSA.js';
|
|
6
6
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
8
|
-
import { hasSymlinkComponent } from './chunk-
|
|
8
|
+
import { hasSymlinkComponent } from './chunk-LPTMKPCD.js';
|
|
9
9
|
import { cloneIsGoverned } from './chunk-YQR6E6OV.js';
|
|
10
|
-
import { resolvePackRoot, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, restoreSkillPaths, rewriteSkillPaths, skillDir, loadTemplateFiles, TEMPLATE_SKILLS } from './chunk-
|
|
10
|
+
import { resolvePackRoot, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, restoreSkillPaths, rewriteSkillPaths, skillDir, loadTemplateFiles, TEMPLATE_SKILLS } from './chunk-OO33S4AF.js';
|
|
11
11
|
import { createHash } from 'crypto';
|
|
12
12
|
import { existsSync, readFileSync } from 'fs';
|
|
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 { defaultAgents, laptopAgents, contextAgents, userSkillFolderIn, loadMachineSkillFiles, resolvePackRoot } from './chunk-
|
|
3
|
+
import { defaultAgents, laptopAgents, contextAgents, userSkillFolderIn, loadMachineSkillFiles, resolvePackRoot } from './chunk-OO33S4AF.js';
|
|
4
4
|
import { MAINTAINED_SKILLS, maintainedLineVersion } from './chunk-CDDED64E.js';
|
|
5
5
|
import { resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
6
6
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
@@ -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-WDJPGE6K.js';
|
|
4
|
+
import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-VYAFSV43.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-FZD6GIW5.js';
|
|
7
|
+
import { RecipeError, locateRecipe, readRecipe, assertBuildable, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-XKJZHY4J.js';
|
|
8
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-LYORNXIT.js';
|
|
9
|
+
import { withGitConfig, tokenHeader } from './chunk-QHT6PIFP.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-PJNOTSB5.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,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-LYORNXIT.js';
|
|
5
5
|
import { existsSync, readFileSync, mkdirSync, writeFileSync, rmSync } from 'fs';
|
|
6
6
|
import { dirname } from 'path';
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { defaultAgents } from './chunk-OO33S4AF.js';
|
|
4
4
|
import { openSync, fstatSync, readSync, closeSync } from 'fs';
|
|
5
5
|
import { join } from 'path';
|
|
6
6
|
|
|
@@ -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 { headlessNames, runnerAgentNamed, credentialAgent, orList, credentialShapes, runnerAgents, credentialForms, credentialEnvPath, forwardedVariables } from './chunk-
|
|
7
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { DEFAULT_UNIT_NAME } from './chunk-SZQKS4QK.js';
|
|
4
|
+
import { RUNNER_FILE_MODE } from './chunk-LYORNXIT.js';
|
|
5
|
+
import { parseRunnerEnv, withoutCredentialLines } from './chunk-BU25W7GF.js';
|
|
6
|
+
import { headlessNames, runnerAgentNamed, credentialAgent, orList, credentialShapes, runnerAgents, credentialForms, credentialEnvPath, forwardedVariables } from './chunk-PJNOTSB5.js';
|
|
7
|
+
import { defaultAgents } from './chunk-OO33S4AF.js';
|
|
8
8
|
import { existsSync, readFileSync, writeFileSync, renameSync, rmSync } from 'fs';
|
|
9
9
|
import { join, dirname } from 'path';
|
|
10
10
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { detectActiveSession } from './chunk-
|
|
4
|
-
import { autoConnect } from './chunk-
|
|
3
|
+
import { detectActiveSession } from './chunk-VZGTPITG.js';
|
|
4
|
+
import { autoConnect } from './chunk-RWNVQSGX.js';
|
|
5
5
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
6
|
-
import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-
|
|
6
|
+
import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-NOBB3LEO.js';
|
|
7
7
|
import { parseWorkItemEnv } from './chunk-4OD45RBP.js';
|
|
8
8
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
9
9
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
10
|
-
import { resolveRepoIdentity } from './chunk-
|
|
10
|
+
import { resolveRepoIdentity } from './chunk-X25VXXCF.js';
|
|
11
11
|
|
|
12
12
|
createRequire(import.meta.url);
|
|
13
13
|
|
|
@@ -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-QHT6PIFP.js';
|
|
4
|
+
import { RELAY_ID, RELAY_USER } from './chunk-BU25W7GF.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-PJNOTSB5.js';
|
|
6
|
+
import { defaultAgents } from './chunk-OO33S4AF.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 { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir } from './chunk-
|
|
3
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir } from './chunk-LYORNXIT.js';
|
|
4
4
|
import { mkdirSync, writeFileSync, renameSync, existsSync, readFileSync } from 'fs';
|
|
5
5
|
import { dirname, join } from 'path';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { inputBandOf, BUCKET_MODEL_MAX_LENGTH } from './chunk-
|
|
3
|
+
import { inputBandOf, BUCKET_MODEL_MAX_LENGTH } from './chunk-2VNT47DG.js';
|
|
4
4
|
import { readFileSync, mkdirSync, statSync, copyFileSync, renameSync, unlinkSync, writeFileSync, readdirSync, realpathSync, watch as watch$1 } from 'fs';
|
|
5
5
|
import * as sp5 from 'path';
|
|
6
6
|
import { join, relative, dirname, resolve, sep } from 'path';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { isAgentsMdLayout, discoverOuterlayerPaths, isForeignTree, toRepoRelative } from './chunk-
|
|
3
|
+
import { isAgentsMdLayout, discoverOuterlayerPaths, isForeignTree, toRepoRelative } from './chunk-FSYEDSSA.js';
|
|
4
4
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
5
|
-
import { invalidConfigMessage } from './chunk-
|
|
6
|
-
import { retiredSkillPaths, removeRetiredSkills } from './chunk-
|
|
5
|
+
import { invalidConfigMessage } from './chunk-C3P637LO.js';
|
|
6
|
+
import { retiredSkillPaths, removeRetiredSkills } from './chunk-2IVRTP6M.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
8
|
-
import { maintainedFilesForExistingSkills, loadMaintainedFiles, emitTree, emitBuilders, defaultAgents, targetIds, generatedHeaderSource, parseOuterlayerConfig, classifyTree, writeMaintainedFiles, agentById } from './chunk-
|
|
8
|
+
import { maintainedFilesForExistingSkills, loadMaintainedFiles, emitTree, emitBuilders, defaultAgents, targetIds, generatedHeaderSource, parseOuterlayerConfig, classifyTree, writeMaintainedFiles, agentById } from './chunk-OO33S4AF.js';
|
|
9
9
|
import { LEGACY_AGENT } from './chunk-7PZDPISM.js';
|
|
10
10
|
import { existsSync, readFileSync, mkdirSync, writeFileSync, copyFileSync, unlinkSync, rmdirSync, readdirSync } from 'fs';
|
|
11
11
|
import { join, dirname } from 'path';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { helperSocketPath } from './chunk-
|
|
4
|
-
import { UNIT_MARKER } from './chunk-
|
|
5
|
-
import { runnerDir } from './chunk-
|
|
3
|
+
import { helperSocketPath } from './chunk-3RFREMDQ.js';
|
|
4
|
+
import { UNIT_MARKER } from './chunk-SZQKS4QK.js';
|
|
5
|
+
import { runnerDir } from './chunk-LYORNXIT.js';
|
|
6
6
|
import { createHash } from 'crypto';
|
|
7
7
|
import { join } from 'path';
|
|
8
8
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_DIGEST } from './chunk-
|
|
3
|
+
import { UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_DIGEST } from './chunk-PJNOTSB5.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';
|