@outerlayer/cli 0.34.0-next.20261028164329 → 0.34.0-next.20261029014930
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 +7 -0
- package/dist/agent-setup-J2WZHYN5.js +32 -0
- package/dist/{artifact-link-cmd-CSVFEM5O.js → artifact-link-cmd-6LFCTDBD.js} +5 -5
- package/dist/{build-SEJJWGTO.js → build-2JBISOVR.js} +8 -8
- package/dist/{build-disk-EYRR3PBT.js → build-disk-ECEVCK35.js} +6 -6
- package/dist/build-info.json +1 -1
- package/dist/{builder-T7B46P7T.js → builder-OMDEUDO3.js} +5 -5
- package/dist/caller-P5ZHKVD5.js +18 -0
- package/dist/{check-SPMUN5C4.js → check-6ZGMF7VF.js} +84 -66
- package/dist/{chunk-ANPNT6PM.js → chunk-2AM6Z5BP.js} +1 -1
- package/dist/{chunk-UE2C4STC.js → chunk-2B6EKUBD.js} +88 -6
- package/dist/{chunk-GG5OE6MY.js → chunk-2RTGZ6AE.js} +1 -1
- package/dist/{chunk-QGEGLZSY.js → chunk-32QKEHC7.js} +46 -6
- package/dist/{chunk-VNVZDWO3.js → chunk-352DHUTP.js} +4 -1
- package/dist/{chunk-IPWKT5J7.js → chunk-3MKCUCG7.js} +225 -121
- package/dist/{chunk-ZJSNLVCE.js → chunk-545P7JY7.js} +1 -1
- package/dist/{chunk-2EEW6FJN.js → chunk-5FWBAM6O.js} +1 -1
- package/dist/{chunk-MCPCOKHN.js → chunk-5VGVYEFT.js} +9 -9
- package/dist/{chunk-T2Q7ISPE.js → chunk-5WYT3PPE.js} +1 -1
- package/dist/{chunk-ARL6X6Y4.js → chunk-62TMOXQN.js} +2 -2
- package/dist/{chunk-RRXS4CWE.js → chunk-6JDEP42Z.js} +9 -7
- package/dist/{chunk-YIK5SGEN.js → chunk-6OAOOAJO.js} +69 -27
- package/dist/{chunk-FUOKDHRB.js → chunk-76VJKVM5.js} +8 -7
- package/dist/{chunk-4YD7N6V3.js → chunk-7B6CKPNZ.js} +3 -3
- package/dist/{chunk-I2MFIT6X.js → chunk-7T5MUKW6.js} +28 -27
- package/dist/{chunk-2EHDLYSL.js → chunk-7TIFAOUG.js} +30 -22
- package/dist/{chunk-G2JWZDFA.js → chunk-A2LHHKTT.js} +3 -3
- package/dist/{chunk-ESVW4MJY.js → chunk-AAGU5FJF.js} +1 -1
- package/dist/{chunk-WA3HIJVK.js → chunk-B7ZC2HKE.js} +3 -3
- package/dist/{chunk-YF7W7B7Y.js → chunk-BWJRNMZZ.js} +37 -10
- package/dist/{chunk-TUSYOL2O.js → chunk-CJPTUU2E.js} +1 -1
- package/dist/{chunk-MEIDQLXQ.js → chunk-D7BEGG7T.js} +1 -1
- package/dist/{chunk-V2S2WRGD.js → chunk-DG25T7AY.js} +11 -11
- package/dist/chunk-DUV33KMD.js +31 -0
- package/dist/{chunk-NCOL5RYI.js → chunk-E4R3M6XJ.js} +1 -1
- package/dist/{chunk-DCBFUUDL.js → chunk-EFZM7UOP.js} +7 -7
- package/dist/{chunk-KH4774QT.js → chunk-F57NE5AO.js} +1 -1
- package/dist/{chunk-MH6QLXUO.js → chunk-FJ7KTNMD.js} +1 -1
- package/dist/{chunk-3KGXXTMN.js → chunk-FNS2RJ5T.js} +5 -5
- package/dist/{chunk-2O5KA67H.js → chunk-FUJUFLDC.js} +2 -2
- package/dist/{chunk-CRB3POP4.js → chunk-FZKNTIOJ.js} +1 -1
- package/dist/{chunk-KPEMNHVF.js → chunk-G7OVITGQ.js} +2 -2
- package/dist/{chunk-7JSWRF5O.js → chunk-GD4AXYK3.js} +10 -10
- package/dist/{chunk-SAAVZ2BX.js → chunk-GOSOKVBF.js} +1 -1
- package/dist/{chunk-ZTOJIRJH.js → chunk-HFHRTVXN.js} +8 -8
- package/dist/{chunk-S6UM3N4R.js → chunk-HSE2LOWO.js} +36 -11
- package/dist/{chunk-XDAMLX2L.js → chunk-HUS3GYCX.js} +9 -9
- package/dist/{chunk-PJDQPF5N.js → chunk-HWVMRETT.js} +1 -1
- package/dist/{chunk-WH3FPBPO.js → chunk-I35CNSPC.js} +60 -29
- package/dist/{chunk-ZCA34T7R.js → chunk-JEOBBOZY.js} +8 -8
- package/dist/{chunk-RQ3GCCHH.js → chunk-JXXMOAJG.js} +2 -2
- package/dist/{chunk-EA2PQRCU.js → chunk-K6LLZONM.js} +6 -6
- package/dist/{chunk-QI7JB2GU.js → chunk-KWFJF4CX.js} +646 -210
- package/dist/{chunk-URIZRCRY.js → chunk-KYDEBGJG.js} +1 -1
- package/dist/{chunk-P2PNBDUT.js → chunk-LLQGVGFO.js} +3 -3
- package/dist/{chunk-HFOZTCTN.js → chunk-N2OG4RN6.js} +7 -7
- package/dist/{chunk-KT4CN6OU.js → chunk-OHQMGLJP.js} +3 -3
- package/dist/{chunk-5BHIBJDA.js → chunk-OLM2TIOW.js} +1 -1
- package/dist/{chunk-VEVNGDTP.js → chunk-PDK35AR4.js} +2 -2
- package/dist/{chunk-UZEIBWTP.js → chunk-PGJY7XTY.js} +7 -7
- package/dist/{chunk-TDCHUEKY.js → chunk-PNAVR5OD.js} +5 -5
- package/dist/{chunk-RPST2GNG.js → chunk-PQ5YDDDE.js} +3 -3
- package/dist/{chunk-OKJXZXYH.js → chunk-PUSCE544.js} +6 -6
- package/dist/{chunk-ZEFNJCN3.js → chunk-QM3HMXMU.js} +2 -2
- package/dist/{chunk-CUAB7FAZ.js → chunk-QNISFH47.js} +8 -8
- package/dist/{chunk-5TXQFZHY.js → chunk-QOVUDIUI.js} +1 -1
- package/dist/{chunk-OYQVLQP3.js → chunk-QTNWAV23.js} +14 -12
- package/dist/{chunk-ZCZY3Q55.js → chunk-RZ22SWMA.js} +1 -1
- package/dist/{chunk-KQDK4Q6A.js → chunk-SMYOFJHK.js} +10 -10
- package/dist/{chunk-GH2HEEOH.js → chunk-TV2OQUWE.js} +1 -1
- package/dist/{chunk-HH3BQG65.js → chunk-UPRZREBO.js} +1 -1
- package/dist/{chunk-W7E6IMEW.js → chunk-UTIRCHI5.js} +22 -21
- package/dist/{chunk-H7MGR2GN.js → chunk-UZDWCSLS.js} +6 -6
- package/dist/{chunk-IAVT7R6O.js → chunk-WJTIU2A5.js} +6 -6
- package/dist/{chunk-QGDGGLSD.js → chunk-X4PYXWBY.js} +3 -3
- package/dist/{chunk-54LIUIZL.js → chunk-XGSJNXH2.js} +4 -4
- package/dist/chunk-XKV6HXKD.js +39 -0
- package/dist/{chunk-I7RZHMXW.js → chunk-YBAVN6WS.js} +3 -3
- package/dist/{chunk-IXRUVR25.js → chunk-YTTESG7K.js} +46 -7
- package/dist/{chunk-MRLJK4GZ.js → chunk-YZSE7EYM.js} +6 -6
- package/dist/{chunk-CKDSPW35.js → chunk-ZI2E4YMY.js} +6 -6
- package/dist/{chunk-UXC3RQLF.js → chunk-ZQQNWDPE.js} +1 -1
- package/dist/{claude-launcher-7IC6QWR5.js → claude-launcher-GACOES7Z.js} +6 -6
- package/dist/{cli-GKROH23V.js → cli-A3IUMZHY.js} +162 -152
- package/dist/{cli-update-notice-4DLZ3655.js → cli-update-notice-T3CXRWNB.js} +3 -3
- package/dist/{command-XA6DOFL4.js → command-XPDD3473.js} +39 -38
- package/dist/{config-RSOCVUKC.js → config-7DT7UVUI.js} +8 -8
- package/dist/connect-cmd-TWSO7YKC.js +27 -0
- package/dist/{container-start-ZDSVXSAL.js → container-start-2AQWC275.js} +53 -52
- package/dist/{context-cleanup-CEZSKNVL.js → context-cleanup-PASDUBGW.js} +5 -5
- package/dist/{context-show-cmd-XWLTP6R4.js → context-show-cmd-6MEUB3HU.js} +18 -18
- package/dist/{control-plane-launch-3MBWPYWZ.js → control-plane-launch-6NN5ZSP3.js} +15 -15
- package/dist/{demo-record-cmd-SIKNTSGI.js → demo-record-cmd-2FY7VCIL.js} +3 -3
- package/dist/{demo-voice-cmd-SAB3QU4F.js → demo-voice-cmd-GJNJNEAI.js} +29 -29
- package/dist/{dist-VPXROEZO.js → dist-Z6WP743R.js} +2 -2
- package/dist/{docker-YMRPMDOW.js → docker-DLJTPUC5.js} +5 -5
- package/dist/{doctor-NVHAE4LS.js → doctor-HYDAFWR2.js} +49 -38
- package/dist/emit-artifact-cmd-TTLDSPP3.js +43 -0
- package/dist/emit-cmd-UOPHEUW5.js +16 -0
- package/dist/emit-criteria-cmd-MZSFNXTL.js +33 -0
- package/dist/emit-demo-cmd-CPC6OR6A.js +47 -0
- package/dist/emit-finding-cmd-6ABNXD5P.js +34 -0
- package/dist/{emit-result-cmd-VCKNZ4RZ.js → emit-result-cmd-7STD6BH3.js} +27 -27
- package/dist/emit-step-cmd-A35LWNWB.js +33 -0
- package/dist/find-unit-ZMUTRE46.js +19 -0
- package/dist/{findings-cmd-PLHBAQW4.js → findings-cmd-JNLW5T2Q.js} +22 -22
- package/dist/fleet-readiness-7WASGVPR.js +28 -0
- package/dist/governing-source-SQE47DKU.js +38 -0
- package/dist/{guest-init-MI4SEME4.js → guest-init-73ZCYECM.js} +2 -2
- package/dist/{hook-fast-GOH4T6SN.js → hook-fast-AELCXUNA.js} +6 -6
- package/dist/{hook-wrap-fast-7VYYAAH4.js → hook-wrap-fast-545QJSBJ.js} +3 -3
- package/dist/host-checks-EM7CVCO6.js +78 -0
- package/dist/{host-key-OMLDWLNG.js → host-key-ZRXO2BXZ.js} +2 -2
- package/dist/{image-tag-YJJONB64.js → image-tag-6KN2SKDZ.js} +2 -2
- package/dist/index.js +6 -6
- package/dist/init-4U2IAN5U.js +57 -0
- package/dist/{init-W3ATJYLX.js → init-NEOWYRSR.js} +35 -34
- package/dist/{init-cmd-XJOEU2PB.js → init-cmd-WRNXDUM7.js} +32 -32
- package/dist/{init-update-KX3FFQ5H.js → init-update-ATXYAAAD.js} +29 -29
- package/dist/{install-cmd-QTIIMO6B.js → install-cmd-WF2N2SKL.js} +4 -4
- package/dist/{layout-7UOBWNYO.js → layout-ZE6F2Z7W.js} +4 -4
- package/dist/login-browser-YB7AMKHR.js +13 -0
- package/dist/{logout-cmd-5WE2N5B5.js → logout-cmd-Z2PYV5LF.js} +5 -5
- package/dist/{logs-YVXVAYTD.js → logs-WEJHWBLM.js} +22 -2
- package/dist/loop-IHQ4UMRY.js +89 -0
- package/dist/machine-VNDSSHQA.js +57 -0
- package/dist/{machine-skills-KYN7XJEJ.js → machine-skills-DMHU7OLO.js} +5 -5
- package/dist/{mcp-install-cmd-LD7KYAOP.js → mcp-install-cmd-23ZY4IBK.js} +5 -5
- package/dist/{mcp-serve-cmd-ECTAPDB3.js → mcp-serve-cmd-YT63QC7W.js} +8 -8
- package/dist/{paths-M66LPPUF.js → paths-IGFAJFPN.js} +1 -1
- package/dist/{pending-7LC6XDRO.js → pending-GBIXDPY7.js} +2 -2
- package/dist/{pidfile-DSQOOAZV.js → pidfile-BDQMJPLA.js} +2 -2
- package/dist/{record-3KKIJ3XL.js → record-KLNLIQVR.js} +2 -2
- package/dist/{runner-env-EX7YUIUH.js → runner-env-PBTT2CNL.js} +10 -10
- package/dist/{runner-identity-LJWBXNM5.js → runner-identity-JVG53E73.js} +5 -5
- package/dist/{runner-key-CAUO4RKG.js → runner-key-YKHIRBO4.js} +34 -33
- package/dist/session-sender-SNBEWETV.js +43 -0
- package/dist/{settings-3DBYKYQD.js → settings-XB2HYBKO.js} +2 -2
- package/dist/{spec-cmd-SAWQYHKM.js → spec-cmd-VPP66GMQ.js} +22 -22
- package/dist/{starter-pack-KB3YH4KX.js → starter-pack-WUNNS6G7.js} +9 -9
- package/dist/state-VIWYAWVB.js +9 -0
- package/dist/{status-IPIMYTG5.js → status-HY5FJPJV.js} +74 -52
- package/dist/{statusline-fast-YVHG6ZLX.js → statusline-fast-E7RWVREA.js} +4 -4
- package/dist/sync-cmd-7BG47GNA.js +42 -0
- package/dist/update-steps-NI25AAQM.js +79 -0
- package/dist/{watch-6NRBX6VE.js → watch-QMKKCF2B.js} +27 -27
- package/dist/{work-claim-cmd-SLVX2N4L.js → work-claim-cmd-UUMDPIZG.js} +25 -25
- package/dist/work-cmd-5QGKKDFY.js +31 -0
- package/dist/work-comment-cmd-YJ3JTQ5B.js +32 -0
- package/dist/{work-demo-cmd-SZJIKB5J.js → work-demo-cmd-AQ4JVDCK.js} +19 -19
- package/dist/{work-launch-LEQ2MPM3.js → work-launch-TTGSHLY4.js} +3 -3
- package/dist/{work-logs-cmd-MRFSBMJM.js → work-logs-cmd-TQTA7KQK.js} +19 -19
- package/dist/{work-open-pr-cmd-N7GK7FUQ.js → work-open-pr-cmd-2NFF3RYJ.js} +21 -21
- package/dist/work-pr-cmd-R5VRWQJD.js +32 -0
- package/dist/work-proofs-cmd-UYGYDIYY.js +35 -0
- package/dist/{work-proofs-record-CJAFFWXG.js → work-proofs-record-U3KQOM5Z.js} +33 -33
- package/dist/{work-stop-cmd-M6RIGF7S.js → work-stop-cmd-SIAX4XAA.js} +19 -19
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer-build/SKILL.md +2 -1
- package/skill-pack/maintained/outerlayer-build/references/evidence.md +2 -1
- package/skill-pack/maintained/outerlayer-build/scripts/criterion-citations.mjs +65 -8
- package/dist/agent-setup-IVXRBFVV.js +0 -32
- package/dist/connect-cmd-JFGDHFLA.js +0 -27
- package/dist/emit-artifact-cmd-TZTVQCFT.js +0 -43
- package/dist/emit-cmd-4G3443OJ.js +0 -16
- package/dist/emit-criteria-cmd-WH7JB4RQ.js +0 -33
- package/dist/emit-demo-cmd-DNUVG5N7.js +0 -47
- package/dist/emit-finding-cmd-X5CBH4ZA.js +0 -34
- package/dist/emit-step-cmd-IUXZZYKO.js +0 -33
- package/dist/find-unit-QYD2FMCP.js +0 -19
- package/dist/fleet-readiness-F65CKZY5.js +0 -28
- package/dist/governing-source-JFCTQXYK.js +0 -38
- package/dist/host-checks-LEVAIIN4.js +0 -77
- package/dist/init-JVKJTJNM.js +0 -56
- package/dist/login-browser-Q25ZNSQ3.js +0 -13
- package/dist/loop-NNJN2XOW.js +0 -87
- package/dist/machine-OQOHEMJB.js +0 -56
- package/dist/session-sender-U2CTD7EX.js +0 -43
- package/dist/sync-cmd-EBJQ5LMH.js +0 -42
- package/dist/update-steps-E2PP5DPR.js +0 -78
- package/dist/work-cmd-VSHZCXHQ.js +0 -31
- package/dist/work-comment-cmd-3DCL7VHN.js +0 -32
- package/dist/work-pr-cmd-HD5OIHUU.js +0 -32
- package/dist/work-proofs-cmd-H2GGE5HK.js +0 -35
- package/dist/{chunk-POND2SMT.js → chunk-RC2WZQK6.js} +1 -1
|
@@ -22056,6 +22056,9 @@ var TEST_PATH_MAX = 300;
|
|
|
22056
22056
|
var TEST_SELECTION_MAX = 100;
|
|
22057
22057
|
var STORED_TESTS_OTHER_MAX = 200;
|
|
22058
22058
|
var STORED_TESTS_FAILED_MAX = 500;
|
|
22059
|
+
var FAILURE_MESSAGE_MAX = 500;
|
|
22060
|
+
var FAILURE_OUTPUT_MAX = 2e3;
|
|
22061
|
+
var STORED_FAILURES_MAX = 100;
|
|
22059
22062
|
var MAX_NESTING_DEPTH = 200;
|
|
22060
22063
|
var MAX_TESTCASES = 2e5;
|
|
22061
22064
|
var LimitError = class extends Error {
|
|
@@ -22079,7 +22082,12 @@ var StoredTestSchema = external_exports.object({
|
|
|
22079
22082
|
status: external_exports.enum(["passed", "failed", "errored", "skipped"]),
|
|
22080
22083
|
file: external_exports.string().nullable(),
|
|
22081
22084
|
line: external_exports.number().int().positive().nullable(),
|
|
22082
|
-
named: external_exports.boolean()
|
|
22085
|
+
named: external_exports.boolean(),
|
|
22086
|
+
/** Absent when the test passed or was skipped, or when its text was not stored. */
|
|
22087
|
+
failure: external_exports.object({
|
|
22088
|
+
message: external_exports.string().max(FAILURE_MESSAGE_MAX),
|
|
22089
|
+
output: external_exports.string().max(FAILURE_OUTPUT_MAX)
|
|
22090
|
+
}).optional()
|
|
22083
22091
|
});
|
|
22084
22092
|
external_exports.object({
|
|
22085
22093
|
root: external_exports.enum(["testsuites", "testsuite"]),
|
|
@@ -22098,6 +22106,10 @@ function attributeLine(value) {
|
|
|
22098
22106
|
const line = Number(value);
|
|
22099
22107
|
return line >= 1 ? line : null;
|
|
22100
22108
|
}
|
|
22109
|
+
function truncate(text, max) {
|
|
22110
|
+
const cut = text.slice(0, max);
|
|
22111
|
+
return /[\uD800-\uDBFF]$/.test(cut) ? cut.slice(0, -1) : cut;
|
|
22112
|
+
}
|
|
22101
22113
|
function parseJunit(bytes) {
|
|
22102
22114
|
var _a3;
|
|
22103
22115
|
const text = new TextDecoder("utf-8").decode(bytes).replace(/^/, "");
|
|
@@ -22109,6 +22121,7 @@ function parseJunit(bytes) {
|
|
|
22109
22121
|
const suites = [];
|
|
22110
22122
|
const stack = [];
|
|
22111
22123
|
const testcases = [];
|
|
22124
|
+
const textFromError = /* @__PURE__ */ new Set();
|
|
22112
22125
|
parser.on("error", (error62) => {
|
|
22113
22126
|
var _a22;
|
|
22114
22127
|
firstError != null ? firstError : firstError = (_a22 = error62.message.split("\n")[0]) != null ? _a22 : "not well-formed";
|
|
@@ -22119,7 +22132,7 @@ function parseJunit(bytes) {
|
|
|
22119
22132
|
doctypeName = (_b = (_a22 = /^\s*([^\s[>]+)/.exec(declaration)) == null ? void 0 : _a22[1]) != null ? _b : "";
|
|
22120
22133
|
});
|
|
22121
22134
|
parser.on("opentag", (tag) => {
|
|
22122
|
-
var _a22, _b, _c;
|
|
22135
|
+
var _a22, _b, _c, _d;
|
|
22123
22136
|
if (root === null) root = tag.name;
|
|
22124
22137
|
if (stack.length >= MAX_NESTING_DEPTH) throw new LimitError(`nested more than ${MAX_NESTING_DEPTH} levels deep`);
|
|
22125
22138
|
const attributes = tag.attributes;
|
|
@@ -22133,22 +22146,44 @@ function parseJunit(bytes) {
|
|
|
22133
22146
|
suite: (_c = suites[suites.length - 1]) != null ? _c : "",
|
|
22134
22147
|
status: "passed",
|
|
22135
22148
|
file: safeFile,
|
|
22136
|
-
line: safeFile === null ? null : attributeLine(attributes.line)
|
|
22149
|
+
line: safeFile === null ? null : attributeLine(attributes.line),
|
|
22150
|
+
failure: null
|
|
22137
22151
|
});
|
|
22138
|
-
stack.push({ name: tag.name, testcase: testcases.length - 1 });
|
|
22152
|
+
stack.push({ name: tag.name, testcase: testcases.length - 1, capture: null });
|
|
22139
22153
|
return;
|
|
22140
22154
|
}
|
|
22141
22155
|
const parent = stack[stack.length - 1];
|
|
22156
|
+
let capture = null;
|
|
22142
22157
|
if ((parent == null ? void 0 : parent.testcase) != null) {
|
|
22143
22158
|
const found = testcases[parent.testcase];
|
|
22144
22159
|
if (tag.name === "failure") found.status = "failed";
|
|
22145
22160
|
else if (tag.name === "error" && found.status !== "failed") found.status = "errored";
|
|
22146
22161
|
else if (tag.name === "skipped" && found.status === "passed") found.status = "skipped";
|
|
22162
|
+
const keepsText = tag.name === "failure" ? found.failure === null || textFromError.has(parent.testcase) : tag.name === "error" && found.failure === null;
|
|
22163
|
+
if (keepsText) {
|
|
22164
|
+
found.failure = { message: truncate((_d = attributes.message) != null ? _d : "", FAILURE_MESSAGE_MAX), output: "" };
|
|
22165
|
+
if (tag.name === "error") textFromError.add(parent.testcase);
|
|
22166
|
+
else textFromError.delete(parent.testcase);
|
|
22167
|
+
capture = parent.testcase;
|
|
22168
|
+
}
|
|
22147
22169
|
}
|
|
22148
|
-
stack.push({ name: tag.name, testcase: null });
|
|
22170
|
+
stack.push({ name: tag.name, testcase: null, capture });
|
|
22149
22171
|
});
|
|
22172
|
+
const appendFailureText = (text2) => {
|
|
22173
|
+
var _a22;
|
|
22174
|
+
const capture = (_a22 = stack[stack.length - 1]) == null ? void 0 : _a22.capture;
|
|
22175
|
+
if (capture == null) return;
|
|
22176
|
+
const failure2 = testcases[capture].failure;
|
|
22177
|
+
failure2.output = truncate(failure2.output + text2, FAILURE_OUTPUT_MAX);
|
|
22178
|
+
};
|
|
22179
|
+
parser.on("text", appendFailureText);
|
|
22180
|
+
parser.on("cdata", appendFailureText);
|
|
22150
22181
|
parser.on("closetag", (tag) => {
|
|
22151
|
-
stack.pop();
|
|
22182
|
+
const closed = stack.pop();
|
|
22183
|
+
if (closed.capture !== null) {
|
|
22184
|
+
const failure2 = testcases[closed.capture].failure;
|
|
22185
|
+
failure2.output = failure2.output.trim();
|
|
22186
|
+
}
|
|
22152
22187
|
if (tag.name === "testsuite") suites.pop();
|
|
22153
22188
|
});
|
|
22154
22189
|
try {
|
|
@@ -22190,6 +22225,7 @@ function bindTests(parsed, selection) {
|
|
|
22190
22225
|
const tests = [];
|
|
22191
22226
|
let failedKept = 0;
|
|
22192
22227
|
let otherKept = 0;
|
|
22228
|
+
let failureTextsKept = 0;
|
|
22193
22229
|
parsed.testcases.forEach((testcase, index) => {
|
|
22194
22230
|
var _a3, _b;
|
|
22195
22231
|
counts[testcase.status === "passed" ? "passed" : testcase.status === "failed" ? "failed" : testcase.status === "errored" ? "errored" : "skipped"] += 1;
|
|
@@ -22201,13 +22237,16 @@ function bindTests(parsed, selection) {
|
|
|
22201
22237
|
else otherKept += 1;
|
|
22202
22238
|
}
|
|
22203
22239
|
const ownLocation = testcase.file !== null;
|
|
22240
|
+
const failure2 = chosen !== void 0 || failureTextsKept < STORED_FAILURES_MAX ? testcase.failure : null;
|
|
22241
|
+
if (failure2 !== null && chosen === void 0) failureTextsKept += 1;
|
|
22204
22242
|
tests.push({
|
|
22205
22243
|
name: testcase.name.slice(0, TEST_NAME_MAX),
|
|
22206
22244
|
suite: testcase.suite.slice(0, TEST_NAME_MAX),
|
|
22207
22245
|
status: testcase.status,
|
|
22208
22246
|
file: ownLocation ? testcase.file : (_a3 = chosen == null ? void 0 : chosen.file) != null ? _a3 : null,
|
|
22209
22247
|
line: ownLocation ? testcase.line : (chosen == null ? void 0 : chosen.file) !== void 0 ? (_b = chosen.line) != null ? _b : null : null,
|
|
22210
|
-
named: chosen !== void 0
|
|
22248
|
+
named: chosen !== void 0,
|
|
22249
|
+
...failure2 !== null ? { failure: failure2 } : {}
|
|
22211
22250
|
});
|
|
22212
22251
|
});
|
|
22213
22252
|
return { ok: true, results: { root: parsed.root, selected: named.size > 0, counts, tests }, duplicates };
|
|
@@ -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-
|
|
5
|
-
import { readCloudConfig } from './chunk-
|
|
3
|
+
import { fetchFactories, selectFactory, saveFactoryConnection, autoConnectedLine } from './chunk-N2OG4RN6.js';
|
|
4
|
+
import { resolveGatewayCredentials } from './chunk-FNS2RJ5T.js';
|
|
5
|
+
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
6
6
|
import { findGitDirs, readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
7
|
-
import { resolveRepoIdentity } from './chunk-
|
|
8
|
-
import { cliInvocation } from './chunk-
|
|
9
|
-
import { homeFromEnv } from './chunk-
|
|
7
|
+
import { resolveRepoIdentity } from './chunk-TV2OQUWE.js';
|
|
8
|
+
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
9
|
+
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
10
10
|
|
|
11
11
|
createRequire(import.meta.url);
|
|
12
12
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { revokeTokenOnDashboard } from './chunk-
|
|
4
|
-
import { C } from './chunk-
|
|
5
|
-
import { readCloudConfigStrict, CloudConfigError, readCloudConfig, writeCloudConfig, cloudConfigPath } from './chunk-
|
|
3
|
+
import { revokeTokenOnDashboard } from './chunk-A2LHHKTT.js';
|
|
4
|
+
import { C } from './chunk-2AM6Z5BP.js';
|
|
5
|
+
import { readCloudConfigStrict, CloudConfigError, readCloudConfig, writeCloudConfig, cloudConfigPath } from './chunk-HWVMRETT.js';
|
|
6
6
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
7
|
-
import { cliInvocation } from './chunk-
|
|
8
|
-
import { CLI_LOGIN_MACHINE_NAME_MAX, CliLoginPollResponseSchema, CLI_LOGIN_KIND, CliLoginRefusalSchema, CliLoginStartedSchema } from './chunk-
|
|
9
|
-
import { homeFromEnv } from './chunk-
|
|
7
|
+
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
8
|
+
import { CLI_LOGIN_MACHINE_NAME_MAX, CliLoginPollResponseSchema, CLI_LOGIN_KIND, CliLoginRefusalSchema, CliLoginStartedSchema } from './chunk-YTTESG7K.js';
|
|
9
|
+
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
10
10
|
import { generateKeyPairSync, privateDecrypt, constants, createPrivateKey } from 'crypto';
|
|
11
11
|
import { spawn } from 'child_process';
|
|
12
12
|
import { fstatSync, existsSync, readdirSync, readFileSync, rmSync, mkdirSync, chmodSync, writeFileSync } from 'fs';
|
|
@@ -1,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-HSE2LOWO.js';
|
|
5
5
|
import { readFileSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
6
6
|
import { join } from 'path';
|
|
7
7
|
|
|
@@ -4,13 +4,13 @@ import { sharedSkillNames } from './chunk-FGF52V4V.js';
|
|
|
4
4
|
import { GOVERNANCE_VARIABLE, versionAtLeast, MINIMUM_CLAUDE_VERSION, SHIM_SCRIPT, CONTROL_PLANE_DIR_VARIABLE } from './chunk-HCVLP7XA.js';
|
|
5
5
|
export { MINIMUM_CLAUDE_VERSION } from './chunk-HCVLP7XA.js';
|
|
6
6
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
7
|
-
import { setupMachineSkills } from './chunk-
|
|
8
|
-
import './chunk-
|
|
7
|
+
import { setupMachineSkills } from './chunk-QM3HMXMU.js';
|
|
8
|
+
import './chunk-UPRZREBO.js';
|
|
9
9
|
import './chunk-CDDED64E.js';
|
|
10
10
|
import './chunk-RA3O54FC.js';
|
|
11
|
-
import './chunk-
|
|
12
|
-
import './chunk-
|
|
13
|
-
import { homeFromEnv } from './chunk-
|
|
11
|
+
import './chunk-5FWBAM6O.js';
|
|
12
|
+
import './chunk-YTTESG7K.js';
|
|
13
|
+
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
14
14
|
import './chunk-Z5GEFMRW.js';
|
|
15
15
|
import { spawnSync, execFileSync, spawn } from 'child_process';
|
|
16
16
|
import { existsSync, accessSync, constants, statSync, readFileSync, readdirSync, lstatSync, rmSync, mkdirSync, realpathSync, symlinkSync, renameSync, readlinkSync, writeFileSync } from 'fs';
|
|
@@ -252,7 +252,7 @@ async function runClaudeLauncher(args, deps = {}) {
|
|
|
252
252
|
return 1;
|
|
253
253
|
}
|
|
254
254
|
} else {
|
|
255
|
-
const { resolveLaunchPlane } = await import('./control-plane-launch-
|
|
255
|
+
const { resolveLaunchPlane } = await import('./control-plane-launch-6NN5ZSP3.js');
|
|
256
256
|
const plane = env[GOVERNANCE_VARIABLE] === "self" ? { kind: "none" } : await resolveLaunchPlane({ cwd, env, home, fetchImpl: deps.fetchImpl, stderr });
|
|
257
257
|
if (plane.kind === "none") {
|
|
258
258
|
const own2 = ownSkillsDirFor(cwd, home, [], stderr);
|