pi-lens 4.4.3 → 4.4.5
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/CHANGELOG.md +721 -0
- package/README.md +25 -3
- package/config/dependency-cruiser-eager-allowlist.json +1 -0
- package/dist/chunk-22Y2BM7H.js +23 -0
- package/dist/{chunk-WU567RSC.js → chunk-27VWVB23.js} +16 -14
- package/dist/{chunk-FLKWCIZH.js → chunk-2FYKETQJ.js} +10 -6
- package/dist/{chunk-MQLUAEOC.js → chunk-2LDMXL2M.js} +2 -2
- package/dist/{chunk-YSZNHOBY.js → chunk-2SDHYHHO.js} +17 -17
- package/dist/chunk-2Y6OJRSI.js +38 -0
- package/dist/chunk-3SNDVPOR.js +507 -0
- package/dist/{chunk-EJIUXPBX.js → chunk-3WCEHYOI.js} +1 -1
- package/dist/chunk-44X7VIKR.js +73 -0
- package/dist/{chunk-Q7DUK4LX.js → chunk-4FHUGDKU.js} +16 -14
- package/dist/{chunk-H6MF6EVN.js → chunk-4ODSZ35Z.js} +1498 -534
- package/dist/{chunk-ZGDGW2V3.js → chunk-4U7GDSZQ.js} +2 -2
- package/dist/chunk-54NIOJJZ.js +25 -0
- package/dist/{chunk-ZWFS3OEF.js → chunk-5DKE4HGX.js} +38 -37
- package/dist/{chunk-VRZP76YM.js → chunk-5LRUKYFA.js} +34 -4
- package/dist/{chunk-QOBUHWHX.js → chunk-63NMUNYP.js} +12 -16
- package/dist/{chunk-VWCXW2E7.js → chunk-6XSESGWD.js} +13 -6
- package/dist/{chunk-QGQ5CCCG.js → chunk-72J27ICO.js} +2 -3
- package/dist/{chunk-CSHFH5IN.js → chunk-7FLRUH6B.js} +1 -1
- package/dist/chunk-7IYC4ENJ.js +297 -0
- package/dist/chunk-7WWQAW5P.js +30 -0
- package/dist/{chunk-EU63SDCG.js → chunk-7ZS7MC24.js} +885 -451
- package/dist/{chunk-KBG47GHP.js → chunk-AHWA4AKM.js} +18 -12
- package/dist/{chunk-FMSO6RDZ.js → chunk-AI3GP74G.js} +17 -19
- package/dist/chunk-APFJKOP6.js +67 -0
- package/dist/{chunk-RXCOMYPY.js → chunk-ASRAO7KG.js} +31 -33
- package/dist/{chunk-BW5KFIQC.js → chunk-AWQWXSW4.js} +1 -0
- package/dist/{chunk-QILIYSJF.js → chunk-CG5V25HX.js} +1 -1
- package/dist/chunk-CKEQFGLT.js +32 -0
- package/dist/{chunk-RPLINGVB.js → chunk-COOUUC5W.js} +6 -6
- package/dist/{chunk-GBPP5P7X.js → chunk-CPZ5JJW6.js} +4 -4
- package/dist/{chunk-OCAGUNBC.js → chunk-DS2USX5G.js} +13 -15
- package/dist/chunk-EA2ZRG44.js +27 -0
- package/dist/{chunk-ZHFZWTZV.js → chunk-EDMLIW6W.js} +13 -14
- package/dist/{chunk-2EECBNC5.js → chunk-EIKRZ32J.js} +75 -0
- package/dist/chunk-EKNWOL2I.js +27 -0
- package/dist/{chunk-CMMHNUZ2.js → chunk-ELZRSR5N.js} +65 -43
- package/dist/{chunk-BKE7E7TC.js → chunk-EN5AM7PX.js} +11 -12
- package/dist/{chunk-N2H3ZPZY.js → chunk-EWXXLS26.js} +227 -24
- package/dist/chunk-EX4EXBW7.js +37 -0
- package/dist/{chunk-YYOIQFRS.js → chunk-EXVXBSGN.js} +130 -52
- package/dist/{chunk-6GFRNVYR.js → chunk-F7BO6FWH.js} +12 -13
- package/dist/chunk-FEDWAYDS.js +2485 -0
- package/dist/{chunk-JAU72XNY.js → chunk-FWZRGGGY.js} +73 -9
- package/dist/{chunk-GXW6K4YJ.js → chunk-G224FADB.js} +1 -1
- package/dist/chunk-G5UCJFT7.js +26 -0
- package/dist/{chunk-67WMNWEE.js → chunk-GLW3YDZZ.js} +22 -13
- package/dist/{chunk-724UL2TJ.js → chunk-GTDSYEA2.js} +72 -39
- package/dist/{chunk-PHDMFAKM.js → chunk-GYRZ72R4.js} +10 -4
- package/dist/chunk-HYVXA3BB.js +49 -0
- package/dist/{chunk-SAEFPSB6.js → chunk-IEBJF3PN.js} +23 -15
- package/dist/chunk-IJYGIDF4.js +186 -0
- package/dist/{chunk-ACXEQZOU.js → chunk-IL7K66ZQ.js} +101 -109
- package/dist/{chunk-ZXYDQ3TZ.js → chunk-JWOVP5BL.js} +50 -19
- package/dist/{chunk-OXXKQCSV.js → chunk-K2GUZ4DN.js} +4 -4
- package/dist/{chunk-AW7R2GWG.js → chunk-K4SZB56V.js} +39 -39
- package/dist/{chunk-WOA4LN2R.js → chunk-KCBRHV5E.js} +3 -3
- package/dist/{chunk-3W7IEVVL.js → chunk-KFXCL4OV.js} +47 -45
- package/dist/{chunk-2BBLFX75.js → chunk-KJJAVH3X.js} +81 -15
- package/dist/{chunk-VCHXCQFG.js → chunk-KPVLQHCZ.js} +4 -6
- package/dist/{chunk-P7266HLM.js → chunk-KX56K73G.js} +10 -13
- package/dist/{chunk-VSSBEUFT.js → chunk-LMCTHJ2H.js} +19 -19
- package/dist/{chunk-IBGIOBEE.js → chunk-MEFLGBCS.js} +69 -8
- package/dist/{chunk-TYM6OUIT.js → chunk-MKPCELNI.js} +17 -17
- package/dist/{chunk-XTMJ7XDT.js → chunk-N3PLNNCW.js} +1 -1
- package/dist/chunk-N5FBM25N.js +22 -0
- package/dist/{chunk-CHOW74WE.js → chunk-NFNVDDGB.js} +7 -12
- package/dist/{chunk-52FUZI6K.js → chunk-NLIVE7L6.js} +2 -30
- package/dist/{chunk-SS36ZX4J.js → chunk-OMJ3OFBJ.js} +6 -6
- package/dist/{chunk-4W4VLAPJ.js → chunk-OZNCKLOX.js} +13 -14
- package/dist/chunk-P5XUGPIX.js +31 -0
- package/dist/{chunk-5UCAH366.js → chunk-PJXNTPB2.js} +253 -33
- package/dist/chunk-PKOXJIVT.js +88 -0
- package/dist/{chunk-6C7JWPCP.js → chunk-PP2A5V2T.js} +27 -26
- package/dist/{chunk-L3BLXZG7.js → chunk-Q42LJANT.js} +31 -70
- package/dist/{chunk-AB3YYG6N.js → chunk-Q4BKKOVC.js} +8 -8
- package/dist/{chunk-3EFKIGZN.js → chunk-QT66NEYN.js} +4 -4
- package/dist/{chunk-3VPVG5SU.js → chunk-RCHO5W7M.js} +19 -18
- package/dist/{chunk-77M37OKR.js → chunk-RG3MXTRI.js} +7 -7
- package/dist/chunk-RG7OODGM.js +57 -0
- package/dist/{chunk-T6CPIZNT.js → chunk-RU34BA4D.js} +44 -39
- package/dist/{chunk-JMYYOTQG.js → chunk-S26LC76R.js} +13 -1
- package/dist/{chunk-5NGR67U5.js → chunk-S55TEC7I.js} +33 -5
- package/dist/{chunk-M6HSLBWY.js → chunk-SJHC3BCZ.js} +7956 -8047
- package/dist/{chunk-XCJN5IJU.js → chunk-SNEUMLM7.js} +4 -4
- package/dist/{chunk-UZ3TUTRV.js → chunk-T4NGVFYI.js} +2 -2
- package/dist/{chunk-2VUQMUMT.js → chunk-THEXI2QO.js} +49 -43
- package/dist/{chunk-R3PCY3YS.js → chunk-TL2TCJYL.js} +15 -16
- package/dist/{chunk-C34ZXZ7O.js → chunk-TPYYEDP5.js} +838 -352
- package/dist/{chunk-AOHZU2BM.js → chunk-TVZRLTG6.js} +8 -1
- package/dist/{chunk-XMSXXAHW.js → chunk-UCVMSOXF.js} +2 -2
- package/dist/chunk-UL5SXQVX.js +32 -0
- package/dist/{chunk-GAEGEPOC.js → chunk-UO66IMVP.js} +2 -2
- package/dist/{chunk-N3X6Q4YT.js → chunk-UVY4TOJH.js} +3 -3
- package/dist/{chunk-2CD5RS6M.js → chunk-VIDEKABZ.js} +23 -2
- package/dist/{chunk-JSQFTSC6.js → chunk-VITFDI3O.js} +13 -14
- package/dist/{chunk-YIUAVF7E.js → chunk-VUAVE3QC.js} +42 -42
- package/dist/{chunk-QOZXJ4NA.js → chunk-WUY4BZEP.js} +21 -20
- package/dist/{chunk-VCO24T4L.js → chunk-X3UTCXAA.js} +43 -53
- package/dist/chunk-XHDBJODR.js +45 -0
- package/dist/{chunk-MXGY6KPT.js → chunk-XHLK33VM.js} +28 -21
- package/dist/{chunk-RWWYJ623.js → chunk-XI34NWDI.js} +2 -2
- package/dist/{chunk-QQNQ7SJW.js → chunk-XWFIHYCH.js} +12 -4
- package/dist/{chunk-6SDEP3AJ.js → chunk-Y2TPADJR.js} +10 -11
- package/dist/{chunk-MRXKYPCS.js → chunk-Y5KTA2OB.js} +17 -17
- package/dist/{chunk-7DYBLXYA.js → chunk-YKVDBNPO.js} +11 -5
- package/dist/{chunk-2B73ZPOK.js → chunk-YSDPVDFC.js} +3 -3
- package/dist/chunk-YWNO5Q4R.js +44 -0
- package/dist/{chunk-QHJ6DQ2R.js → chunk-YWWG4AQA.js} +165 -32
- package/dist/{chunk-3JNKMP3B.js → chunk-YXDCRUKQ.js} +4 -4
- package/dist/{chunk-UXGETRP4.js → chunk-YXGRRORB.js} +16 -17
- package/dist/{chunk-SQ4TVJBR.js → chunk-ZAPSUBLU.js} +13 -7
- package/dist/{chunk-76MWC2K6.js → chunk-ZPJM7DID.js} +90 -97
- package/dist/{chunk-XVF2VVXP.js → chunk-ZSUX7KEM.js} +16 -15
- package/dist/index.js +31038 -20893
- package/dist/mcp/analyze-cli.js +11 -11
- package/dist/mcp/cli.js +47 -43
- package/dist/mcp/server.js +2188 -906
- package/dist/mcp/worker.js +66 -63
- package/dist/probes/installer.js +21 -23
- package/dist/workers/project-snapshot-persist-worker.js +28 -9
- package/dist/workers/review-graph-persist-worker.js +1 -1
- package/docs/adr/0010-trace-validation-session-lifecycle.md +390 -0
- package/docs/adr/README.md +1 -0
- package/docs/ast-grep_rules_catalog.md +5 -3
- package/docs/configuration.md +20 -0
- package/docs/engineering-principles.md +44 -0
- package/docs/environment-variables.md +20 -0
- package/docs/features.md +16 -1
- package/docs/globalconfig.md +37 -8
- package/docs/lsp-capability-matrix.md +105 -12
- package/docs/lsp-idle-eviction.md +44 -36
- package/docs/pi-lens-fixer.md +139 -14
- package/docs/pi-lens-investigator.md +14 -0
- package/docs/pi-lens-merge-policy.md +120 -17
- package/docs/pi-lens-monitor.md +71 -9
- package/docs/pi-lens-retro.md +6 -3
- package/docs/pi-lens-reviewer.md +160 -5
- package/docs/pi-lens-subagent.md +29 -14
- package/docs/release-qa-baseline.md +21 -7
- package/docs/servercapabilities.md +53 -63
- package/docs/settings.md +9 -5
- package/docs/subagent-compat.md +1 -1
- package/docs/usage.md +1 -0
- package/package.json +9 -5
- package/rules/ast-grep-rules/rule-tests/no-return-value-in-generator-test.yml +17 -0
- package/rules/ast-grep-rules/rule-tests/no-sql-in-code-execute-js-test.yml +86 -0
- package/rules/ast-grep-rules/rule-tests/no-sql-in-code-execute-test.yml +86 -0
- package/rules/ast-grep-rules/rule-tests/unchecked-numeric-parse-python-test.yml +15 -0
- package/rules/ast-grep-rules/rules/no-return-value-in-generator.yml +9 -4
- package/rules/ast-grep-rules/rules/no-sql-in-code-execute-js.yml +119 -0
- package/rules/ast-grep-rules/rules/no-sql-in-code-execute.yml +119 -0
- package/rules/ast-grep-rules/rules/unchecked-numeric-parse-python.yml +13 -2
- package/rules/rule-catalog.json +25 -1
- package/scripts/analyze-pi-lens-logs.mjs +15 -5
- package/scripts/download-grammars.js +40 -7
- package/scripts/lib/is-main-module.mjs +27 -0
- package/scripts/lib/latency-log-phases.mjs +95 -0
- package/scripts/lib/scratch-home-env.mjs +21 -0
- package/scripts/rpc-load-check.mjs +568 -81
- package/scripts/warm-loader-cache.mjs +2 -5
- package/dist/chunk-23WOO7TX.js +0 -23
- package/dist/chunk-3YN6V5TV.js +0 -85
- package/dist/chunk-466Z26MG.js +0 -30
- package/dist/chunk-4UNXBNE2.js +0 -24
- package/dist/chunk-6STA6Z7I.js +0 -47
- package/dist/chunk-ABBOA7UD.js +0 -157
- package/dist/chunk-BRGDSBJE.js +0 -28
- package/dist/chunk-EC47DWFA.js +0 -56
- package/dist/chunk-FCSOVF55.js +0 -273
- package/dist/chunk-IZSHAIJ7.js +0 -26
- package/dist/chunk-KDERNTCQ.js +0 -28
- package/dist/chunk-KSX3TXSZ.js +0 -69
- package/dist/chunk-LOP6GRPH.js +0 -31
- package/dist/chunk-PNQDPDRC.js +0 -184
- package/dist/chunk-UOPVJQ4N.js +0 -103
- package/dist/chunk-XAGLWMJ4.js +0 -51
- package/dist/chunk-XIJZVPD5.js +0 -39
- package/dist/chunk-Z3CCVDUB.js +0 -76
- package/dist/chunk-Z527N6YQ.js +0 -28
- package/dist/chunk-ZANLILYD.js +0 -79
- /package/dist/{chunk-FC4RP4I2.js → chunk-6HWVI6MI.js} +0 -0
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
isUnderDir,
|
|
4
4
|
normalizeFilePath,
|
|
5
5
|
pathsEqual
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-EWXXLS26.js";
|
|
7
7
|
|
|
8
8
|
// dist/clients/env-utils.js
|
|
9
9
|
function isTestMode() {
|
|
@@ -503,6 +503,12 @@ function getGlobalPiLensLogDir() {
|
|
|
503
503
|
return path.resolve(override);
|
|
504
504
|
return resolveProbeHomeDir() ?? path.join(os.homedir(), ".pi-lens");
|
|
505
505
|
}
|
|
506
|
+
function machineStateDir() {
|
|
507
|
+
const override = process.env.PI_LENS_HOME?.trim();
|
|
508
|
+
if (override)
|
|
509
|
+
return path.resolve(override);
|
|
510
|
+
return path.join(os.homedir(), ".pi-lens");
|
|
511
|
+
}
|
|
506
512
|
function isTestProcessTargetingRealHome(file) {
|
|
507
513
|
if (!process.env.VITEST)
|
|
508
514
|
return false;
|
|
@@ -1230,6 +1236,7 @@ export {
|
|
|
1230
1236
|
lazyEnvNumber,
|
|
1231
1237
|
getProbeHomeRedirectEvent,
|
|
1232
1238
|
getGlobalPiLensLogDir,
|
|
1239
|
+
machineStateDir,
|
|
1233
1240
|
redactSecrets,
|
|
1234
1241
|
getSinkWriteFailures,
|
|
1235
1242
|
resetSinkWriteFailures,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
createToolchainAvailability
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-YKVDBNPO.js";
|
|
5
5
|
import {
|
|
6
6
|
createSubsystemLogger
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-N3PLNNCW.js";
|
|
8
8
|
|
|
9
9
|
// dist/clients/go-client.js
|
|
10
10
|
import * as path from "node:path";
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
getGlobalPiLensDir
|
|
4
|
+
} from "./chunk-TPYYEDP5.js";
|
|
5
|
+
|
|
6
|
+
// dist/clients/opengrep-rule-pack.js
|
|
7
|
+
import * as fs from "node:fs";
|
|
8
|
+
import * as path from "node:path";
|
|
9
|
+
var OPENGREP_REGISTRY_PACK_URL = "https://semgrep.dev/c/auto";
|
|
10
|
+
function cachedOpengrepPackPath() {
|
|
11
|
+
return path.join(getGlobalPiLensDir(), "rules", "opengrep-registry.yaml");
|
|
12
|
+
}
|
|
13
|
+
function resolveOpengrepRulePack() {
|
|
14
|
+
const cached = cachedOpengrepPackPath();
|
|
15
|
+
try {
|
|
16
|
+
if (fs.statSync(cached).size > 0)
|
|
17
|
+
return cached;
|
|
18
|
+
} catch {
|
|
19
|
+
}
|
|
20
|
+
return void 0;
|
|
21
|
+
}
|
|
22
|
+
function stripPackRuleIdPrefix(checkId, packPath) {
|
|
23
|
+
const prefix = `${path.dirname(packPath).replace(/^[\\/]+/, "").replace(/[\\/:]+/g, ".")}.`;
|
|
24
|
+
return checkId.startsWith(prefix) ? checkId.slice(prefix.length) : checkId;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export {
|
|
28
|
+
OPENGREP_REGISTRY_PACK_URL,
|
|
29
|
+
cachedOpengrepPackPath,
|
|
30
|
+
resolveOpengrepRulePack,
|
|
31
|
+
stripPackRuleIdPrefix
|
|
32
|
+
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
loadPiLensProjectConfig
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-KJJAVH3X.js";
|
|
5
5
|
import {
|
|
6
6
|
lazyEnvNumber,
|
|
7
7
|
toPositiveFinite
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-TVZRLTG6.js";
|
|
9
9
|
|
|
10
10
|
// dist/clients/project-scale.js
|
|
11
11
|
var DEFAULT_PROJECT_SCALE_BASE = 2e3;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
createSubsystemLogger
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-N3PLNNCW.js";
|
|
5
|
+
import "./chunk-TVZRLTG6.js";
|
|
6
|
+
import "./chunk-EWXXLS26.js";
|
|
7
7
|
import "./chunk-NXL4FFQQ.js";
|
|
8
8
|
|
|
9
9
|
// dist/clients/metrics-client.js
|
|
@@ -2,13 +2,18 @@ import { createRequire as __pilensCreateRequire } from "node:module"; const requ
|
|
|
2
2
|
import {
|
|
3
3
|
classifyRunOutcome,
|
|
4
4
|
firstOutputLine
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-T4NGVFYI.js";
|
|
6
6
|
import {
|
|
7
7
|
incrementDegradationCount,
|
|
8
8
|
truncateForLedger
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FWZRGGGY.js";
|
|
10
10
|
|
|
11
11
|
// dist/clients/dispatch/types.js
|
|
12
|
+
function spanOverlapsModifiedRanges(startLine, endLine, ranges) {
|
|
13
|
+
if (!ranges || ranges.length === 0)
|
|
14
|
+
return true;
|
|
15
|
+
return ranges.some((r) => startLine <= r.end && endLine >= r.start);
|
|
16
|
+
}
|
|
12
17
|
var RUNNER_SKIP_REASONS = [
|
|
13
18
|
"no-files-matched",
|
|
14
19
|
"configured-non-biome-linter",
|
|
@@ -36,6 +41,20 @@ function findingsResult(diagnostics, verdict) {
|
|
|
36
41
|
function hasUsableResult(result) {
|
|
37
42
|
return result.status === "succeeded" || result.status === "failed" && result.failureKind === BLOCKING_DIAGNOSTICS_FAILURE_KIND;
|
|
38
43
|
}
|
|
44
|
+
function reachedNoVerdict(result) {
|
|
45
|
+
if (result.inconclusive === true)
|
|
46
|
+
return true;
|
|
47
|
+
switch (result.status) {
|
|
48
|
+
case "failed":
|
|
49
|
+
return !hasUsableResult(result);
|
|
50
|
+
case "deferred":
|
|
51
|
+
return true;
|
|
52
|
+
case "skipped":
|
|
53
|
+
return !isRunnerSkipReason(result.skipReason);
|
|
54
|
+
default:
|
|
55
|
+
return false;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
39
58
|
|
|
40
59
|
// dist/clients/dispatch/runners/utils/tool-failure.js
|
|
41
60
|
function describeEnding(input) {
|
|
@@ -156,10 +175,12 @@ function finishParsedRun(input) {
|
|
|
156
175
|
}
|
|
157
176
|
|
|
158
177
|
export {
|
|
178
|
+
spanOverlapsModifiedRanges,
|
|
159
179
|
isRunnerSkipReason,
|
|
160
180
|
isRunnerClaimSource,
|
|
161
181
|
findingsResult,
|
|
162
182
|
hasUsableResult,
|
|
183
|
+
reachedNoVerdict,
|
|
163
184
|
formatToolFailure,
|
|
164
185
|
skipUnlessToolRan,
|
|
165
186
|
parseToolRun,
|
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
collectSourceFiles
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-PP2A5V2T.js";
|
|
5
|
+
import "./chunk-S55TEC7I.js";
|
|
6
|
+
import "./chunk-TPYYEDP5.js";
|
|
7
7
|
import "./chunk-QYF5S6P6.js";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-GYRZ72R4.js";
|
|
9
|
+
import "./chunk-KJJAVH3X.js";
|
|
10
|
+
import "./chunk-ZSUX7KEM.js";
|
|
11
|
+
import "./chunk-EIKRZ32J.js";
|
|
12
|
+
import "./chunk-FWZRGGGY.js";
|
|
13
|
+
import "./chunk-N3PLNNCW.js";
|
|
14
|
+
import "./chunk-S26LC76R.js";
|
|
15
|
+
import "./chunk-XWFIHYCH.js";
|
|
16
|
+
import "./chunk-TVZRLTG6.js";
|
|
17
17
|
import "./chunk-LJDODBBZ.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-N2H3ZPZY.js";
|
|
18
|
+
import "./chunk-EWXXLS26.js";
|
|
20
19
|
import "./chunk-NXL4FFQQ.js";
|
|
21
20
|
|
|
22
21
|
// dist/clients/todo-scanner.js
|
|
@@ -4,77 +4,77 @@ import {
|
|
|
4
4
|
} from "./chunk-7U2IDNXN.js";
|
|
5
5
|
import {
|
|
6
6
|
formatToolFailure
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VIDEKABZ.js";
|
|
8
8
|
import {
|
|
9
9
|
spawnFailedWithNoOutput
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-T4NGVFYI.js";
|
|
11
11
|
import {
|
|
12
12
|
createAvailabilityChecker,
|
|
13
13
|
findManagedNodeToolBinary,
|
|
14
14
|
getManagedToolEnvironment,
|
|
15
15
|
resolveAvailableOrInstall
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-Z3CCVDUB.js";
|
|
16
|
+
} from "./chunk-2SDHYHHO.js";
|
|
17
|
+
import "./chunk-COOUUC5W.js";
|
|
18
|
+
import "./chunk-7ZS7MC24.js";
|
|
19
|
+
import "./chunk-6XSESGWD.js";
|
|
20
|
+
import "./chunk-3SNDVPOR.js";
|
|
21
|
+
import "./chunk-JWOVP5BL.js";
|
|
22
|
+
import "./chunk-7IYC4ENJ.js";
|
|
23
|
+
import "./chunk-KX56K73G.js";
|
|
24
|
+
import "./chunk-2Y6OJRSI.js";
|
|
25
|
+
import "./chunk-WUY4BZEP.js";
|
|
26
|
+
import "./chunk-GTDSYEA2.js";
|
|
27
|
+
import "./chunk-UL5SXQVX.js";
|
|
28
|
+
import "./chunk-CKEQFGLT.js";
|
|
29
|
+
import "./chunk-NLIVE7L6.js";
|
|
30
|
+
import "./chunk-IEBJF3PN.js";
|
|
31
|
+
import "./chunk-UO66IMVP.js";
|
|
33
32
|
import "./chunk-2BEMIWEW.js";
|
|
33
|
+
import "./chunk-IJYGIDF4.js";
|
|
34
34
|
import {
|
|
35
35
|
logSessionStart
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import "./chunk-
|
|
36
|
+
} from "./chunk-IL7K66ZQ.js";
|
|
37
|
+
import "./chunk-4FHUGDKU.js";
|
|
38
38
|
import {
|
|
39
39
|
findLocalBinUpwards,
|
|
40
40
|
localBinPath
|
|
41
|
-
} from "./chunk-
|
|
42
|
-
import "./chunk-
|
|
41
|
+
} from "./chunk-K4SZB56V.js";
|
|
42
|
+
import "./chunk-XI34NWDI.js";
|
|
43
43
|
import {
|
|
44
44
|
createAvailabilityLatch,
|
|
45
45
|
describeUnavailability
|
|
46
|
-
} from "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
46
|
+
} from "./chunk-5LRUKYFA.js";
|
|
47
|
+
import "./chunk-63NMUNYP.js";
|
|
48
|
+
import "./chunk-CG5V25HX.js";
|
|
49
|
+
import "./chunk-PP2A5V2T.js";
|
|
50
|
+
import "./chunk-S55TEC7I.js";
|
|
51
51
|
import {
|
|
52
|
+
canonicalDirectory,
|
|
52
53
|
getProjectDataDir,
|
|
54
|
+
listNestedLinkedWorktreeRoots,
|
|
53
55
|
safeSpawnAsync
|
|
54
|
-
} from "./chunk-
|
|
55
|
-
import "./chunk-
|
|
56
|
+
} from "./chunk-TPYYEDP5.js";
|
|
57
|
+
import "./chunk-AWQWXSW4.js";
|
|
56
58
|
import "./chunk-QYF5S6P6.js";
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-2EECBNC5.js";
|
|
59
|
+
import "./chunk-GYRZ72R4.js";
|
|
60
|
+
import "./chunk-KJJAVH3X.js";
|
|
61
|
+
import "./chunk-ZSUX7KEM.js";
|
|
62
|
+
import "./chunk-EIKRZ32J.js";
|
|
62
63
|
import {
|
|
63
64
|
incrementDegradationCount
|
|
64
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-FWZRGGGY.js";
|
|
65
66
|
import {
|
|
66
67
|
createSubsystemLogger
|
|
67
|
-
} from "./chunk-
|
|
68
|
-
import "./chunk-
|
|
69
|
-
import "./chunk-
|
|
70
|
-
import "./chunk-
|
|
68
|
+
} from "./chunk-N3PLNNCW.js";
|
|
69
|
+
import "./chunk-S26LC76R.js";
|
|
70
|
+
import "./chunk-XWFIHYCH.js";
|
|
71
|
+
import "./chunk-TVZRLTG6.js";
|
|
71
72
|
import "./chunk-LJDODBBZ.js";
|
|
72
|
-
import "./chunk-ABBOA7UD.js";
|
|
73
73
|
import {
|
|
74
74
|
findNearestMarkerRoot,
|
|
75
75
|
normalizeEphemeralMapKey,
|
|
76
76
|
normalizeFilePath
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-EWXXLS26.js";
|
|
78
78
|
import "./chunk-NXL4FFQQ.js";
|
|
79
79
|
|
|
80
80
|
// dist/clients/knip-client.js
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
walkUpDirs
|
|
4
|
+
} from "./chunk-EWXXLS26.js";
|
|
2
5
|
import {
|
|
3
6
|
__export
|
|
4
7
|
} from "./chunk-NXL4FFQQ.js";
|
|
@@ -12,19 +15,14 @@ function getPackageRoot(importMetaUrl) {
|
|
|
12
15
|
const cached = packageRootCache.get(importMetaUrl);
|
|
13
16
|
if (cached)
|
|
14
17
|
return cached;
|
|
15
|
-
let
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
const parent = path.dirname(current);
|
|
22
|
-
if (parent === current) {
|
|
23
|
-
packageRootCache.set(importMetaUrl, current);
|
|
24
|
-
return current;
|
|
25
|
-
}
|
|
26
|
-
current = parent;
|
|
18
|
+
let root = "";
|
|
19
|
+
for (const dir of walkUpDirs(path.dirname(fileURLToPath(importMetaUrl)))) {
|
|
20
|
+
root = dir;
|
|
21
|
+
if (fs.existsSync(path.join(dir, "package.json")))
|
|
22
|
+
break;
|
|
27
23
|
}
|
|
24
|
+
packageRootCache.set(importMetaUrl, root);
|
|
25
|
+
return root;
|
|
28
26
|
}
|
|
29
27
|
function resolvePackagePath(importMetaUrl, ...segments) {
|
|
30
28
|
return path.join(getPackageRoot(importMetaUrl), ...segments);
|
|
@@ -1973,7 +1971,7 @@ function readBlockScalar(state, parentIndent, props) {
|
|
|
1973
1971
|
state.position = linePosition + column;
|
|
1974
1972
|
throwError(state, "tab characters must not be used in indentation");
|
|
1975
1973
|
}
|
|
1976
|
-
if (column < maxLeadingIndent) {
|
|
1974
|
+
if (column >= parentIndent && column < maxLeadingIndent) {
|
|
1977
1975
|
state.position = linePosition + column;
|
|
1978
1976
|
throwError(state, "bad indentation of a mapping entry");
|
|
1979
1977
|
}
|
|
@@ -2183,13 +2181,16 @@ function readBlockMapping(state, nodeIndent, flowIndent, props) {
|
|
|
2183
2181
|
ch = state.input.charCodeAt(++state.position);
|
|
2184
2182
|
if (!isWsOrEolOrEnd(ch)) throwError(state, "a whitespace character is expected after the key-value separator within a block mapping");
|
|
2185
2183
|
if (!mappingOpened) {
|
|
2186
|
-
|
|
2187
|
-
|
|
2184
|
+
state.events.splice(beforeKey.eventsLength, 0, {
|
|
2185
|
+
type: EVENT_ID.MAPPING,
|
|
2186
|
+
start: beforeKey.position,
|
|
2187
|
+
anchorStart: props.anchorStart,
|
|
2188
|
+
anchorEnd: props.anchorEnd,
|
|
2189
|
+
tagStart: props.tagStart,
|
|
2190
|
+
tagEnd: props.tagEnd,
|
|
2191
|
+
style: COLLECTION_STYLE.BLOCK
|
|
2192
|
+
});
|
|
2188
2193
|
mappingOpened = true;
|
|
2189
|
-
parseNode(state, flowIndent, CONTEXT_FLOW_OUT, false, true);
|
|
2190
|
-
ch = state.input.charCodeAt(state.position);
|
|
2191
|
-
while (isWhiteSpace(ch)) ch = state.input.charCodeAt(++state.position);
|
|
2192
|
-
state.position++;
|
|
2193
2194
|
}
|
|
2194
2195
|
detected = true;
|
|
2195
2196
|
atExplicitKey = false;
|
|
@@ -3360,5 +3361,5 @@ export {
|
|
|
3360
3361
|
/*! Bundled license information:
|
|
3361
3362
|
|
|
3362
3363
|
js-yaml/dist/js-yaml.mjs:
|
|
3363
|
-
(*! js-yaml 5.4.
|
|
3364
|
+
(*! js-yaml 5.4.3 https://github.com/nodeca/js-yaml @license MIT *)
|
|
3364
3365
|
*/
|
|
@@ -1,56 +1,52 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
|
-
import {
|
|
3
|
-
stripAnsi
|
|
4
|
-
} from "./chunk-FC4RP4I2.js";
|
|
5
2
|
import {
|
|
6
3
|
augmentPythonEnvironment,
|
|
7
4
|
detectPythonEnvironment,
|
|
8
5
|
emitBounded
|
|
9
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-3SNDVPOR.js";
|
|
10
7
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import {
|
|
14
|
-
PathKeyedMap
|
|
15
|
-
} from "./chunk-Z3CCVDUB.js";
|
|
8
|
+
stripAnsi
|
|
9
|
+
} from "./chunk-6HWVI6MI.js";
|
|
16
10
|
import {
|
|
17
11
|
resolveToolCwd
|
|
18
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-4FHUGDKU.js";
|
|
19
13
|
import {
|
|
20
14
|
findGlobalBinary,
|
|
21
15
|
findLocalBinAt,
|
|
22
16
|
localBinPath
|
|
23
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-K4SZB56V.js";
|
|
24
18
|
import {
|
|
25
19
|
getIsolatedNpxSpawnOptions
|
|
26
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-XI34NWDI.js";
|
|
27
21
|
import {
|
|
28
22
|
resolveLanguageRootForFile
|
|
29
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-63NMUNYP.js";
|
|
30
24
|
import {
|
|
25
|
+
resolveGitCheckout,
|
|
31
26
|
safeSpawn,
|
|
32
27
|
safeSpawnAsync
|
|
33
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-TPYYEDP5.js";
|
|
34
29
|
import {
|
|
30
|
+
DOTNET_CSHARP_ROOT_MARKERS,
|
|
35
31
|
detectFileKind
|
|
36
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-GYRZ72R4.js";
|
|
37
33
|
import {
|
|
34
|
+
PathKeyedMap,
|
|
38
35
|
detectFileRole
|
|
39
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-KJJAVH3X.js";
|
|
40
37
|
import {
|
|
41
38
|
findNearestDirWithAnyBasename
|
|
42
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-ZSUX7KEM.js";
|
|
43
40
|
import {
|
|
44
41
|
LEDGER_FIELD_MAX,
|
|
45
42
|
recordDegradationOnce
|
|
46
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-FWZRGGGY.js";
|
|
47
44
|
import {
|
|
48
45
|
createSubsystemLogger
|
|
49
|
-
} from "./chunk-
|
|
50
|
-
import {
|
|
51
|
-
BoundedFifoMap
|
|
52
|
-
} from "./chunk-ABBOA7UD.js";
|
|
46
|
+
} from "./chunk-N3PLNNCW.js";
|
|
53
47
|
import {
|
|
48
|
+
BoundedFifoMap,
|
|
49
|
+
direntsHaveMarkerGlobMatch,
|
|
54
50
|
findNearestMarkerRootDetailed,
|
|
55
51
|
isRealGitMarker,
|
|
56
52
|
isUnderDir,
|
|
@@ -58,8 +54,9 @@ import {
|
|
|
58
54
|
normalizeEphemeralMapKey,
|
|
59
55
|
normalizeMapKey,
|
|
60
56
|
pathsEqual,
|
|
57
|
+
realpathOrResolve,
|
|
61
58
|
toPosix
|
|
62
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-EWXXLS26.js";
|
|
63
60
|
|
|
64
61
|
// dist/clients/test-runner-client.js
|
|
65
62
|
import { createHash } from "node:crypto";
|
|
@@ -311,7 +308,8 @@ var RUNNERS = {
|
|
|
311
308
|
},
|
|
312
309
|
dotnet: {
|
|
313
310
|
kinds: ["csharp", "fsharp"],
|
|
314
|
-
|
|
311
|
+
// #4806: the .NET marker seam, not a private copy of it.
|
|
312
|
+
configFiles: [...DOTNET_CSHARP_ROOT_MARKERS],
|
|
315
313
|
command: "dotnet",
|
|
316
314
|
args: (_testFile, _cwd) => ["test", "--no-build"],
|
|
317
315
|
parseJson: false
|
|
@@ -404,23 +402,16 @@ var MAX_FAILED_TARGETS_PER_RUNNER = 32;
|
|
|
404
402
|
var MAX_FAILED_TARGET_CHECKS_PER_SELECTION = 8;
|
|
405
403
|
var FAILED_TARGET_DETAIL_CAP_PER_TURN = 8;
|
|
406
404
|
function canonicalFailedPath(filePath) {
|
|
407
|
-
|
|
408
|
-
try {
|
|
409
|
-
return normalizeMapKey(fs.realpathSync.native(absolute));
|
|
410
|
-
} catch {
|
|
411
|
-
return normalizeMapKey(absolute);
|
|
412
|
-
}
|
|
405
|
+
return normalizeMapKey(realpathOrResolve(filePath));
|
|
413
406
|
}
|
|
414
407
|
function canonicalProjectRoot(cwd) {
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
}
|
|
422
|
-
return { key: normalizeEphemeralMapKey(absolute), resolved: false };
|
|
423
|
-
}
|
|
408
|
+
return {
|
|
409
|
+
key: normalizeEphemeralMapKey(realpathOrResolve(cwd)),
|
|
410
|
+
// A cwd that is not on disk still has an identity (its nearest existing
|
|
411
|
+
// ancestor plus the tail), but is a guess about a path that may later be
|
|
412
|
+
// a link: `getCanonicalProjectRoot` memoizes only a resolved one (#2077).
|
|
413
|
+
resolved: fs.existsSync(cwd)
|
|
414
|
+
};
|
|
424
415
|
}
|
|
425
416
|
var MAX_CANONICAL_ROOT_MEMO_ENTRIES = 512;
|
|
426
417
|
function filesystemErrorCode(error) {
|
|
@@ -458,7 +449,7 @@ function parsePytestSummary(output) {
|
|
|
458
449
|
}
|
|
459
450
|
}
|
|
460
451
|
const durationMatch = /in\s+([\d.]+)s/.exec(summaryLine);
|
|
461
|
-
const duration = durationMatch ?
|
|
452
|
+
const duration = durationMatch ? toMeasuredDurationMs(Number.parseFloat(durationMatch[1]) * 1e3) : void 0;
|
|
462
453
|
return { passed, failed, skipped, duration };
|
|
463
454
|
}
|
|
464
455
|
var TestRunnerClient = class {
|
|
@@ -471,10 +462,10 @@ var TestRunnerClient = class {
|
|
|
471
462
|
// never memoized (#2077): the fallback key is a guess about a path that does
|
|
472
463
|
// not exist yet, so memoizing it would pin an alias probed before its
|
|
473
464
|
// symlink was created to a stale verdict for the instance's life. Re-probing
|
|
474
|
-
// costs one failing
|
|
475
|
-
// resolve — a state where `detectRunner` already
|
|
476
|
-
// call. Keep the memo bounded so pathological
|
|
477
|
-
// without limit.
|
|
465
|
+
// costs one failing existence probe plus the ancestor walk per call, and only
|
|
466
|
+
// for a cwd that does not resolve — a state where `detectRunner` already
|
|
467
|
+
// walks node_modules on every call. Keep the memo bounded so pathological
|
|
468
|
+
// spelling churn cannot grow it without limit.
|
|
478
469
|
canonicalRootMemo = new BoundedFifoMap(MAX_CANONICAL_ROOT_MEMO_ENTRIES);
|
|
479
470
|
availableRunners = new PathKeyedMap(normalizeEphemeralMapKey);
|
|
480
471
|
failedTestsByRunner = /* @__PURE__ */ new Map();
|
|
@@ -725,8 +716,7 @@ var TestRunnerClient = class {
|
|
|
725
716
|
const found = config.configFiles.some((cf) => {
|
|
726
717
|
if (cf.includes("*")) {
|
|
727
718
|
try {
|
|
728
|
-
|
|
729
|
-
return files.some((f) => new RegExp(cf.replace(/\*/g, ".*")).test(f));
|
|
719
|
+
return direntsHaveMarkerGlobMatch(fs.readdirSync(cwd, { withFileTypes: true }), cf);
|
|
730
720
|
} catch {
|
|
731
721
|
return false;
|
|
732
722
|
}
|
|
@@ -1473,11 +1463,11 @@ var TestRunnerClient = class {
|
|
|
1473
1463
|
}
|
|
1474
1464
|
const span = maxEnd - minStart;
|
|
1475
1465
|
if (Number.isFinite(span) && span > 0)
|
|
1476
|
-
return
|
|
1466
|
+
return toMeasuredDurationMs(span);
|
|
1477
1467
|
if (assertionTotal > 0)
|
|
1478
|
-
return
|
|
1468
|
+
return toMeasuredDurationMs(assertionTotal);
|
|
1479
1469
|
if (Number.isFinite(span) && span === 0)
|
|
1480
|
-
return
|
|
1470
|
+
return toMeasuredDurationMs(span);
|
|
1481
1471
|
return void 0;
|
|
1482
1472
|
}
|
|
1483
1473
|
// --- Vitest Parser ---
|
|
@@ -1584,7 +1574,7 @@ ${stderr}`;
|
|
|
1584
1574
|
const minutes = Number.parseInt(clockMatch[2], 10);
|
|
1585
1575
|
const seconds = Number.parseInt(clockMatch[3], 10);
|
|
1586
1576
|
const millis = clockMatch[4] ? Number.parseInt(clockMatch[4].padEnd(3, "0"), 10) : 0;
|
|
1587
|
-
duration = ((hours * 60 + minutes) * 60 + seconds) * 1e3 + millis;
|
|
1577
|
+
duration = toMeasuredDurationMs(((hours * 60 + minutes) * 60 + seconds) * 1e3 + millis);
|
|
1588
1578
|
} else {
|
|
1589
1579
|
const legacyMatch = output.match(/^Time:\s*([\d.]+)\s*(seconds?|s|ms|milliseconds?|minutes?)\b/im);
|
|
1590
1580
|
if (legacyMatch) {
|
|
@@ -1592,7 +1582,7 @@ ${stderr}`;
|
|
|
1592
1582
|
const unit = legacyMatch[2].toLowerCase();
|
|
1593
1583
|
const scale = unit.startsWith("ms") || unit.startsWith("milli") ? 1 : unit.startsWith("min") ? 6e4 : 1e3;
|
|
1594
1584
|
if (Number.isFinite(value) && value > 0) {
|
|
1595
|
-
duration =
|
|
1585
|
+
duration = toMeasuredDurationMs(value * scale);
|
|
1596
1586
|
}
|
|
1597
1587
|
}
|
|
1598
1588
|
}
|
|
@@ -1627,7 +1617,7 @@ ${stderr}`;
|
|
|
1627
1617
|
}
|
|
1628
1618
|
const durationMatch = output.match(/Finished in\s+([\d.]+)\s+seconds?/i);
|
|
1629
1619
|
if (durationMatch) {
|
|
1630
|
-
duration =
|
|
1620
|
+
duration = toMeasuredDurationMs(Number.parseFloat(durationMatch[1]) * 1e3);
|
|
1631
1621
|
}
|
|
1632
1622
|
const failures = [];
|
|
1633
1623
|
const failureRegex = /^[^\S\n]*\d+\)\s+(.+?)\s*\(([^)]+)\)\s*$/gm;
|
|
@@ -1809,7 +1799,7 @@ ${stderr}`;
|
|
|
1809
1799
|
if (!dotnetTime)
|
|
1810
1800
|
return void 0;
|
|
1811
1801
|
if (/^\s*</.test(dotnetTime[1]))
|
|
1812
|
-
return 0;
|
|
1802
|
+
return toMeasuredDurationMs(0);
|
|
1813
1803
|
let total = 0;
|
|
1814
1804
|
let tokens = 0;
|
|
1815
1805
|
const units = {
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
DEPENDENCY_DRIFT_MAX_DELIVERIES,
|
|
4
|
+
_getForwardImportParsesForTests,
|
|
5
|
+
collectForwardImportMtimes,
|
|
6
|
+
extractForwardImportPaths,
|
|
7
|
+
extractForwardImports,
|
|
8
|
+
sweepInlineBlockerFreshness
|
|
9
|
+
} from "./chunk-FEDWAYDS.js";
|
|
10
|
+
import "./chunk-CPZ5JJW6.js";
|
|
11
|
+
import "./chunk-7IYC4ENJ.js";
|
|
12
|
+
import "./chunk-KX56K73G.js";
|
|
13
|
+
import "./chunk-YWWG4AQA.js";
|
|
14
|
+
import "./chunk-Z54ZSOBZ.js";
|
|
15
|
+
import "./chunk-2Y6OJRSI.js";
|
|
16
|
+
import "./chunk-WUY4BZEP.js";
|
|
17
|
+
import "./chunk-GTDSYEA2.js";
|
|
18
|
+
import "./chunk-CKEQFGLT.js";
|
|
19
|
+
import "./chunk-NLIVE7L6.js";
|
|
20
|
+
import "./chunk-APFJKOP6.js";
|
|
21
|
+
import "./chunk-5LRUKYFA.js";
|
|
22
|
+
import "./chunk-TPYYEDP5.js";
|
|
23
|
+
import "./chunk-GYRZ72R4.js";
|
|
24
|
+
import "./chunk-KJJAVH3X.js";
|
|
25
|
+
import "./chunk-ZSUX7KEM.js";
|
|
26
|
+
import "./chunk-EIKRZ32J.js";
|
|
27
|
+
import "./chunk-FWZRGGGY.js";
|
|
28
|
+
import "./chunk-N3PLNNCW.js";
|
|
29
|
+
import {
|
|
30
|
+
MTIME_DRIFT_TOLERANCE_MS
|
|
31
|
+
} from "./chunk-S26LC76R.js";
|
|
32
|
+
import "./chunk-XWFIHYCH.js";
|
|
33
|
+
import "./chunk-TVZRLTG6.js";
|
|
34
|
+
import "./chunk-LJDODBBZ.js";
|
|
35
|
+
import "./chunk-EWXXLS26.js";
|
|
36
|
+
import "./chunk-NXL4FFQQ.js";
|
|
37
|
+
export {
|
|
38
|
+
DEPENDENCY_DRIFT_MAX_DELIVERIES,
|
|
39
|
+
MTIME_DRIFT_TOLERANCE_MS,
|
|
40
|
+
_getForwardImportParsesForTests,
|
|
41
|
+
collectForwardImportMtimes,
|
|
42
|
+
extractForwardImportPaths,
|
|
43
|
+
extractForwardImports,
|
|
44
|
+
sweepInlineBlockerFreshness
|
|
45
|
+
};
|