pi-lens 4.4.4 → 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 +440 -0
- package/README.md +13 -3
- package/config/dependency-cruiser-eager-allowlist.json +1 -0
- package/dist/chunk-22Y2BM7H.js +23 -0
- package/dist/{chunk-ATKJFDQN.js → chunk-27VWVB23.js} +12 -14
- package/dist/{chunk-S2HEXIWI.js → chunk-2FYKETQJ.js} +10 -6
- package/dist/{chunk-SRYEJNES.js → chunk-2LDMXL2M.js} +2 -2
- package/dist/{chunk-ZHH37KZL.js → chunk-2SDHYHHO.js} +17 -17
- package/dist/chunk-2Y6OJRSI.js +38 -0
- package/dist/chunk-3SNDVPOR.js +507 -0
- package/dist/{chunk-5OFV52AM.js → chunk-3WCEHYOI.js} +1 -1
- package/dist/chunk-44X7VIKR.js +73 -0
- package/dist/{chunk-DEL2U6CM.js → chunk-4FHUGDKU.js} +16 -14
- package/dist/{chunk-CT4MN5IU.js → chunk-4ODSZ35Z.js} +353 -359
- package/dist/{chunk-ZIVJBOO3.js → chunk-4U7GDSZQ.js} +2 -2
- package/dist/chunk-54NIOJJZ.js +25 -0
- package/dist/{chunk-N5FLEO7W.js → chunk-5DKE4HGX.js} +37 -37
- package/dist/{chunk-P63GXC37.js → chunk-5LRUKYFA.js} +31 -4
- package/dist/{chunk-HRNHZA3N.js → chunk-63NMUNYP.js} +12 -16
- package/dist/{chunk-HWCCCQNX.js → chunk-6XSESGWD.js} +13 -6
- package/dist/{chunk-UMS2MFPZ.js → chunk-72J27ICO.js} +2 -3
- package/dist/{chunk-ED36RF6Y.js → chunk-7FLRUH6B.js} +1 -1
- package/dist/chunk-7IYC4ENJ.js +297 -0
- package/dist/chunk-7WWQAW5P.js +30 -0
- package/dist/{chunk-3DA2JDOL.js → chunk-7ZS7MC24.js} +551 -203
- package/dist/{chunk-WMYE35PX.js → chunk-AHWA4AKM.js} +7 -5
- package/dist/{chunk-JW3YWBVB.js → chunk-AI3GP74G.js} +17 -19
- package/dist/{chunk-AGSS7277.js → chunk-APFJKOP6.js} +6 -23
- package/dist/{chunk-ZVUL7QYY.js → chunk-ASRAO7KG.js} +29 -32
- package/dist/{chunk-BW5KFIQC.js → chunk-AWQWXSW4.js} +1 -0
- package/dist/{chunk-TLX72JTG.js → chunk-CG5V25HX.js} +1 -1
- package/dist/chunk-CKEQFGLT.js +32 -0
- package/dist/{chunk-Y6GZHWSJ.js → chunk-COOUUC5W.js} +6 -6
- package/dist/{chunk-XTBDCR27.js → chunk-CPZ5JJW6.js} +4 -4
- package/dist/{chunk-RKKOYPRA.js → chunk-DS2USX5G.js} +13 -15
- package/dist/chunk-EA2ZRG44.js +27 -0
- package/dist/{chunk-GSLNCYGG.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-R3T7CLQ2.js → chunk-ELZRSR5N.js} +41 -41
- package/dist/{chunk-GMX5OS7B.js → chunk-EN5AM7PX.js} +11 -12
- package/dist/{chunk-3RKP3FMS.js → chunk-EWXXLS26.js} +226 -24
- package/dist/chunk-EX4EXBW7.js +37 -0
- package/dist/{chunk-XHJBS436.js → chunk-EXVXBSGN.js} +25 -25
- package/dist/{chunk-MZGQNL3Y.js → chunk-F7BO6FWH.js} +12 -13
- package/dist/{chunk-V35JG4JB.js → chunk-FEDWAYDS.js} +152 -334
- package/dist/{chunk-J64T55EI.js → chunk-FWZRGGGY.js} +73 -9
- package/dist/{chunk-T57LYLZT.js → chunk-G224FADB.js} +1 -1
- package/dist/chunk-G5UCJFT7.js +26 -0
- package/dist/{chunk-LLJNQKQW.js → chunk-GLW3YDZZ.js} +20 -13
- package/dist/{chunk-GXFV6MYU.js → chunk-GTDSYEA2.js} +72 -39
- package/dist/{chunk-DUO2TU77.js → chunk-GYRZ72R4.js} +10 -4
- package/dist/chunk-HYVXA3BB.js +49 -0
- package/dist/{chunk-W66O5E25.js → chunk-IEBJF3PN.js} +13 -15
- package/dist/{chunk-GAQ7OQG6.js → chunk-IL7K66ZQ.js} +83 -94
- package/dist/{chunk-T7FEBKXN.js → chunk-JWOVP5BL.js} +7 -9
- package/dist/{chunk-UBOQLVT2.js → chunk-K2GUZ4DN.js} +4 -4
- package/dist/{chunk-5VSF4UUQ.js → chunk-K4SZB56V.js} +34 -39
- package/dist/{chunk-7D6L4MTX.js → chunk-KCBRHV5E.js} +3 -3
- package/dist/{chunk-GSM5UU7A.js → chunk-KFXCL4OV.js} +38 -28
- package/dist/{chunk-J6MPGQTS.js → chunk-KJJAVH3X.js} +81 -15
- package/dist/{chunk-BWD5EPKO.js → chunk-KPVLQHCZ.js} +4 -6
- package/dist/{chunk-MPNJLASA.js → chunk-KX56K73G.js} +10 -13
- package/dist/{chunk-AWSCPCN2.js → chunk-LMCTHJ2H.js} +19 -19
- package/dist/{chunk-IWDLU6K3.js → chunk-MEFLGBCS.js} +4 -6
- package/dist/{chunk-TOY6QKOH.js → chunk-MKPCELNI.js} +17 -17
- package/dist/{chunk-POMLXPMY.js → chunk-N3PLNNCW.js} +1 -1
- package/dist/chunk-N5FBM25N.js +22 -0
- package/dist/{chunk-CYRKQRPM.js → chunk-NFNVDDGB.js} +2 -4
- package/dist/{chunk-RMLC67LF.js → chunk-NLIVE7L6.js} +2 -30
- package/dist/{chunk-24AKHFGP.js → chunk-OMJ3OFBJ.js} +6 -6
- package/dist/{chunk-IQWN5JCP.js → chunk-OZNCKLOX.js} +13 -14
- package/dist/chunk-P5XUGPIX.js +31 -0
- package/dist/{chunk-2KXTHF3M.js → chunk-PJXNTPB2.js} +253 -33
- package/dist/chunk-PKOXJIVT.js +88 -0
- package/dist/{chunk-DGUKIYSI.js → chunk-PP2A5V2T.js} +8 -10
- package/dist/{chunk-KAPJINKN.js → chunk-Q42LJANT.js} +2 -2
- package/dist/{chunk-UZ2XCLYS.js → chunk-Q4BKKOVC.js} +8 -8
- package/dist/{chunk-TIQ2PKDW.js → chunk-QT66NEYN.js} +4 -4
- package/dist/{chunk-U44DJXQP.js → chunk-RCHO5W7M.js} +15 -18
- package/dist/{chunk-YH5MVY2U.js → chunk-RG3MXTRI.js} +7 -7
- package/dist/chunk-RG7OODGM.js +57 -0
- package/dist/{chunk-OHKJ7PQF.js → chunk-RU34BA4D.js} +43 -39
- package/dist/{chunk-JMYYOTQG.js → chunk-S26LC76R.js} +13 -1
- package/dist/{chunk-XBJVAEEO.js → chunk-S55TEC7I.js} +3 -2
- package/dist/{chunk-RVK72CZX.js → chunk-SJHC3BCZ.js} +1397 -481
- package/dist/{chunk-IYNJ6YPZ.js → chunk-SNEUMLM7.js} +4 -4
- package/dist/{chunk-S67KYG37.js → chunk-T4NGVFYI.js} +2 -2
- package/dist/{chunk-YCWYO6TQ.js → chunk-THEXI2QO.js} +48 -45
- package/dist/{chunk-AMERCH6V.js → chunk-TL2TCJYL.js} +15 -16
- package/dist/{chunk-KUA4OJ5Y.js → chunk-TPYYEDP5.js} +823 -350
- package/dist/{chunk-YNE3RP52.js → chunk-TVZRLTG6.js} +8 -1
- package/dist/{chunk-ROYSX2S5.js → chunk-UCVMSOXF.js} +2 -2
- package/dist/chunk-UL5SXQVX.js +32 -0
- package/dist/{chunk-7HXE67BN.js → chunk-UO66IMVP.js} +2 -2
- package/dist/{chunk-VOOAPROD.js → chunk-UVY4TOJH.js} +3 -3
- package/dist/{chunk-RKBXZN3A.js → chunk-VIDEKABZ.js} +2 -2
- package/dist/{chunk-2FN63LPV.js → chunk-VITFDI3O.js} +13 -14
- package/dist/{chunk-6DLWKFEX.js → chunk-VUAVE3QC.js} +41 -42
- package/dist/{chunk-FM4RDMKT.js → chunk-WUY4BZEP.js} +10 -12
- package/dist/{chunk-SD4I7ZO4.js → chunk-X3UTCXAA.js} +43 -53
- package/dist/chunk-XHDBJODR.js +45 -0
- package/dist/{chunk-5IUSNGOC.js → chunk-XHLK33VM.js} +28 -21
- package/dist/{chunk-3KAZU3VR.js → chunk-XI34NWDI.js} +2 -2
- package/dist/{chunk-QBFBRV2B.js → chunk-XWFIHYCH.js} +4 -2
- package/dist/{chunk-JUKMK5Y4.js → chunk-Y2TPADJR.js} +10 -11
- package/dist/{chunk-EBC36LNN.js → chunk-Y5KTA2OB.js} +17 -17
- package/dist/{chunk-HYGZEMX6.js → chunk-YKVDBNPO.js} +11 -5
- package/dist/{chunk-KN35K52N.js → chunk-YSDPVDFC.js} +3 -3
- package/dist/chunk-YWNO5Q4R.js +44 -0
- package/dist/{chunk-US7ECLD7.js → chunk-YWWG4AQA.js} +119 -28
- package/dist/{chunk-O4NWQT6I.js → chunk-YXDCRUKQ.js} +4 -4
- package/dist/{chunk-XYURS6EN.js → chunk-YXGRRORB.js} +15 -17
- package/dist/{chunk-IUE7SSKV.js → chunk-ZAPSUBLU.js} +13 -7
- package/dist/{chunk-EUXZEFTV.js → chunk-ZPJM7DID.js} +3 -3
- package/dist/{chunk-5HSRT26B.js → chunk-ZSUX7KEM.js} +16 -15
- package/dist/index.js +37155 -32210
- package/dist/mcp/analyze-cli.js +11 -12
- package/dist/mcp/cli.js +46 -45
- package/dist/mcp/server.js +1210 -574
- package/dist/mcp/worker.js +65 -65
- package/dist/probes/installer.js +21 -23
- 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 +9 -0
- package/docs/engineering-principles.md +12 -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 +37 -18
- package/docs/pi-lens-fixer.md +22 -1
- package/docs/pi-lens-investigator.md +14 -0
- package/docs/pi-lens-merge-policy.md +23 -10
- package/docs/pi-lens-monitor.md +64 -8
- package/docs/pi-lens-retro.md +2 -2
- package/docs/pi-lens-reviewer.md +48 -1
- package/docs/pi-lens-subagent.md +8 -1
- package/docs/release-qa-baseline.md +19 -7
- package/docs/servercapabilities.md +47 -47
- package/docs/settings.md +9 -5
- package/docs/subagent-compat.md +1 -1
- package/docs/usage.md +1 -0
- package/package.json +6 -4
- 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/lib/is-main-module.mjs +27 -0
- package/scripts/lib/scratch-home-env.mjs +21 -0
- package/scripts/rpc-load-check.mjs +4 -6
- package/scripts/warm-loader-cache.mjs +2 -5
- package/dist/chunk-3PTHXJXR.js +0 -28
- package/dist/chunk-3QED2P4V.js +0 -31
- package/dist/chunk-5WRPDP2A.js +0 -47
- package/dist/chunk-ABBOA7UD.js +0 -157
- package/dist/chunk-CUHSHSB6.js +0 -273
- package/dist/chunk-GL5LUMZE.js +0 -51
- package/dist/chunk-HAD7QRQI.js +0 -30
- package/dist/chunk-JORED7EX.js +0 -44
- package/dist/chunk-KYUB6QDC.js +0 -72
- package/dist/chunk-LZSEQW6A.js +0 -57
- package/dist/chunk-M2IFVFWU.js +0 -79
- package/dist/chunk-M2UD3LPU.js +0 -88
- package/dist/chunk-MBKQHGA7.js +0 -39
- package/dist/chunk-R7YOCSNV.js +0 -23
- package/dist/chunk-SKAMFC7A.js +0 -28
- package/dist/chunk-SYE6T2EB.js +0 -28
- package/dist/chunk-TRETHTQO.js +0 -26
- package/dist/chunk-UA7ZXYDR.js +0 -184
- package/dist/chunk-XTFDJI3T.js +0 -24
- package/dist/chunk-Z3CCVDUB.js +0 -76
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
tryLazyInstallForFormatter
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import {
|
|
6
|
-
stripAnsi
|
|
7
|
-
} from "./chunk-6HWVI6MI.js";
|
|
4
|
+
} from "./chunk-K2GUZ4DN.js";
|
|
8
5
|
import {
|
|
9
6
|
OXFMT_SUPPORTED_EXTENSIONS,
|
|
10
7
|
findPSScriptAnalyzerConfigPath,
|
|
@@ -46,69 +43,73 @@ import {
|
|
|
46
43
|
hasTerraformConfig,
|
|
47
44
|
hasVitePlusConfig,
|
|
48
45
|
stripGradleCommentsAndStrings
|
|
49
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-COOUUC5W.js";
|
|
50
47
|
import {
|
|
51
48
|
readTextFileOrUndefined,
|
|
52
49
|
resolveCargoPackageEdition
|
|
53
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-KX56K73G.js";
|
|
54
51
|
import {
|
|
55
52
|
load
|
|
56
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-WUY4BZEP.js";
|
|
54
|
+
import {
|
|
55
|
+
stripAnsi
|
|
56
|
+
} from "./chunk-6HWVI6MI.js";
|
|
57
57
|
import {
|
|
58
58
|
getToolPath
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-IL7K66ZQ.js";
|
|
60
60
|
import {
|
|
61
61
|
resolveToolCwd
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-4FHUGDKU.js";
|
|
63
63
|
import {
|
|
64
|
-
VENDOR_BIN_DIRS,
|
|
65
|
-
VENV_BIN_DIRS,
|
|
66
64
|
findGlobalBinary,
|
|
67
65
|
findLocalBinUpwards,
|
|
68
66
|
localBinPath
|
|
69
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-K4SZB56V.js";
|
|
70
68
|
import {
|
|
71
69
|
getIsolatedNpxSpawnOptions,
|
|
72
70
|
probeToolAsync
|
|
73
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-XI34NWDI.js";
|
|
74
72
|
import {
|
|
75
73
|
classifyProbeFailure,
|
|
76
74
|
createAvailabilityLatch,
|
|
77
75
|
logAvailabilityDecision,
|
|
78
76
|
startHostStallSampler
|
|
79
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-5LRUKYFA.js";
|
|
80
78
|
import {
|
|
79
|
+
VENDOR_BIN_DIRS,
|
|
80
|
+
VENV_BIN_DIRS,
|
|
81
|
+
admittedLookupAnswer,
|
|
81
82
|
createGenerationSource,
|
|
82
83
|
safeSpawnAsync
|
|
83
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-TPYYEDP5.js";
|
|
84
85
|
import {
|
|
85
86
|
TERRAGRUNT_FILENAMES
|
|
86
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-GYRZ72R4.js";
|
|
87
88
|
import {
|
|
88
|
-
assertInstallAllowed
|
|
89
|
-
|
|
89
|
+
assertInstallAllowed,
|
|
90
|
+
getProjectTrustGeneration
|
|
91
|
+
} from "./chunk-EIKRZ32J.js";
|
|
90
92
|
import {
|
|
91
93
|
compareOrdinal,
|
|
92
94
|
getDegradationLedgerGeneration,
|
|
93
95
|
incrementDegradationCount,
|
|
94
96
|
recordDegradationOnce
|
|
95
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-FWZRGGGY.js";
|
|
96
98
|
import {
|
|
97
99
|
logExtension
|
|
98
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-N3PLNNCW.js";
|
|
99
101
|
import {
|
|
100
102
|
logLatency
|
|
101
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-XWFIHYCH.js";
|
|
102
104
|
import {
|
|
103
105
|
BoundedFifoMap,
|
|
104
|
-
BoundedLruCache
|
|
105
|
-
} from "./chunk-ABBOA7UD.js";
|
|
106
|
-
import {
|
|
106
|
+
BoundedLruCache,
|
|
107
107
|
findNearestContaining,
|
|
108
108
|
findNearestMarkerRoot,
|
|
109
109
|
normalizeMapKey,
|
|
110
|
+
realpathOrResolve,
|
|
110
111
|
toPosix
|
|
111
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-EWXXLS26.js";
|
|
112
113
|
|
|
113
114
|
// dist/clients/formatters.js
|
|
114
115
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
@@ -1312,7 +1313,7 @@ async function which(command) {
|
|
|
1312
1313
|
const result = await safeSpawnAsync(process.platform === "win32" ? "where" : "which", [command], { timeout: WHICH_BUDGET_MS });
|
|
1313
1314
|
const hostStallMs = stallSampler.stop();
|
|
1314
1315
|
const elapsedMs = Date.now() - startedAt;
|
|
1315
|
-
const resolved = !result.error && result.status === 0 ? result.stdout
|
|
1316
|
+
const resolved = !result.error && result.status === 0 ? admittedLookupAnswer(result.stdout ?? "") : null;
|
|
1316
1317
|
if (resolved) {
|
|
1317
1318
|
entry.resolved = resolved;
|
|
1318
1319
|
entry.latch.noteAvailable();
|
|
@@ -2294,7 +2295,12 @@ async function getFormattersForFile(filePath, cwd) {
|
|
|
2294
2295
|
const base = path4.basename(filePath).toLowerCase();
|
|
2295
2296
|
const normalizedCwd = normalizeMapKey(cwd);
|
|
2296
2297
|
const cacheKey = FILENAME_FORMATTER_BASENAMES.has(base) ? `${normalizedCwd}:${ext}:${base}` : `${normalizedCwd}:${ext}`;
|
|
2298
|
+
const trustGeneration = getProjectTrustGeneration();
|
|
2297
2299
|
let cached = detectionCache.get(normalizedCwd);
|
|
2300
|
+
if (cached && cached.trustGeneration !== trustGeneration) {
|
|
2301
|
+
detectionCache.delete(normalizedCwd);
|
|
2302
|
+
cached = void 0;
|
|
2303
|
+
}
|
|
2298
2304
|
if (cached?.entries.has(cacheKey)) {
|
|
2299
2305
|
const enabledNames2 = cached.entries.get(cacheKey);
|
|
2300
2306
|
const selectedFormatterName = enabledNames2 && enabledNames2.length > 0 ? enabledNames2[0] : null;
|
|
@@ -2323,7 +2329,11 @@ async function getFormattersForFile(filePath, cwd) {
|
|
|
2323
2329
|
}
|
|
2324
2330
|
cached = detectionCache.get(normalizedCwd);
|
|
2325
2331
|
if (!cached) {
|
|
2326
|
-
cached = {
|
|
2332
|
+
cached = {
|
|
2333
|
+
signature: configSignature,
|
|
2334
|
+
trustGeneration,
|
|
2335
|
+
entries: /* @__PURE__ */ new Map()
|
|
2336
|
+
};
|
|
2327
2337
|
detectionCache.set(normalizedCwd, cached);
|
|
2328
2338
|
}
|
|
2329
2339
|
}
|
|
@@ -2508,7 +2518,7 @@ async function resolveFormatterCommand(formatter, absolutePath, cwd) {
|
|
|
2508
2518
|
}
|
|
2509
2519
|
async function formatFile(filePath, formatter, enter) {
|
|
2510
2520
|
try {
|
|
2511
|
-
const absolutePath =
|
|
2521
|
+
const absolutePath = realpathOrResolve(filePath);
|
|
2512
2522
|
const cwd = path4.dirname(absolutePath);
|
|
2513
2523
|
const formatterCwd = resolveToolCwd("formatter", formatter.name, absolutePath, { cwd: path4.parse(absolutePath).root }).cwd;
|
|
2514
2524
|
const cmd = await resolveFormatterCommand(formatter, absolutePath, cwd);
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
findPiLensConfigMarkerInDir,
|
|
15
15
|
getPiLensGlobalConfigPath,
|
|
16
16
|
isResolvedGlobalConfigPath
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ZSUX7KEM.js";
|
|
18
18
|
import {
|
|
19
19
|
DEGRADATION_ENTRIES_PER_KIND,
|
|
20
20
|
GLOBAL_NON_FLAG_CONFIG_SECTIONS,
|
|
@@ -31,30 +31,29 @@ import {
|
|
|
31
31
|
readFlagConfigValue,
|
|
32
32
|
readToolConfig,
|
|
33
33
|
recordDegradationOnce
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-FWZRGGGY.js";
|
|
35
35
|
import {
|
|
36
36
|
logExtension
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-N3PLNNCW.js";
|
|
38
38
|
import {
|
|
39
39
|
CONFIG_SCHEMA_ANCHOR_KEY,
|
|
40
40
|
CONFIG_SCHEMA_ID,
|
|
41
41
|
DEPRECATED_CONFIG_SURFACES,
|
|
42
42
|
STABILITY_TIER_KEY,
|
|
43
43
|
withConfigDiagnosticCode
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-S26LC76R.js";
|
|
45
45
|
import {
|
|
46
46
|
redactSecrets,
|
|
47
47
|
toPositiveFinite
|
|
48
|
-
} from "./chunk-
|
|
49
|
-
import {
|
|
50
|
-
BoundedLruCache
|
|
51
|
-
} from "./chunk-ABBOA7UD.js";
|
|
48
|
+
} from "./chunk-TVZRLTG6.js";
|
|
52
49
|
import {
|
|
50
|
+
BoundedFifoMap,
|
|
51
|
+
BoundedLruCache,
|
|
53
52
|
homeRelativePath,
|
|
54
|
-
isAtOrAboveHomeDir,
|
|
55
53
|
isWindowsPath,
|
|
54
|
+
realpathOrResolve,
|
|
56
55
|
walkUpDirs
|
|
57
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-EWXXLS26.js";
|
|
58
57
|
|
|
59
58
|
// dist/clients/generated-artifacts.js
|
|
60
59
|
import * as fs from "node:fs";
|
|
@@ -313,6 +312,74 @@ function detectFileRole(filePath, content) {
|
|
|
313
312
|
return "source";
|
|
314
313
|
}
|
|
315
314
|
|
|
315
|
+
// dist/clients/path-keyed-map.js
|
|
316
|
+
var PathKeyedMap = class {
|
|
317
|
+
normalize;
|
|
318
|
+
store;
|
|
319
|
+
/**
|
|
320
|
+
* `maxEntries` bounds the map with insertion-order (FIFO) eviction, on
|
|
321
|
+
* `BoundedFifoMap` — the repo's one eviction implementation (#2442). Omit
|
|
322
|
+
* it for an unbounded map. A path-keyed map that needs a bound gets it
|
|
323
|
+
* here rather than hand-rolling `keys().next().value` at the call site,
|
|
324
|
+
* which is what `PartialApplyRecordStore` did before #2442's review round.
|
|
325
|
+
*
|
|
326
|
+
* FIFO, not LRU, and evicting AFTER the write, not before: a `set` of an
|
|
327
|
+
* already-resident path is an update, and must not drop an unrelated file
|
|
328
|
+
* to make room for a key that needs none.
|
|
329
|
+
*/
|
|
330
|
+
constructor(normalize2, maxEntries) {
|
|
331
|
+
this.normalize = normalize2;
|
|
332
|
+
this.store = maxEntries === void 0 ? /* @__PURE__ */ new Map() : new BoundedFifoMap(maxEntries);
|
|
333
|
+
}
|
|
334
|
+
get size() {
|
|
335
|
+
return this.store.size;
|
|
336
|
+
}
|
|
337
|
+
get(path4) {
|
|
338
|
+
return this.store.get(this.normalize(path4))?.value;
|
|
339
|
+
}
|
|
340
|
+
has(path4) {
|
|
341
|
+
return this.store.has(this.normalize(path4));
|
|
342
|
+
}
|
|
343
|
+
set(path4, value) {
|
|
344
|
+
this.store.set(this.normalize(path4), { displayPath: path4, value });
|
|
345
|
+
return this;
|
|
346
|
+
}
|
|
347
|
+
delete(path4) {
|
|
348
|
+
if (this.store.delete(this.normalize(path4)))
|
|
349
|
+
return true;
|
|
350
|
+
for (const [key, entry] of this.store) {
|
|
351
|
+
if (entry.displayPath !== path4)
|
|
352
|
+
continue;
|
|
353
|
+
this.store.delete(key);
|
|
354
|
+
return true;
|
|
355
|
+
}
|
|
356
|
+
return false;
|
|
357
|
+
}
|
|
358
|
+
clear() {
|
|
359
|
+
this.store.clear();
|
|
360
|
+
}
|
|
361
|
+
*keys() {
|
|
362
|
+
for (const entry of this.store.values())
|
|
363
|
+
yield entry.displayPath;
|
|
364
|
+
}
|
|
365
|
+
*values() {
|
|
366
|
+
for (const entry of this.store.values())
|
|
367
|
+
yield entry.value;
|
|
368
|
+
}
|
|
369
|
+
*entries() {
|
|
370
|
+
for (const entry of this.store.values())
|
|
371
|
+
yield [entry.displayPath, entry.value];
|
|
372
|
+
}
|
|
373
|
+
forEach(callback) {
|
|
374
|
+
for (const entry of this.store.values()) {
|
|
375
|
+
callback(entry.value, entry.displayPath, this);
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
[Symbol.iterator]() {
|
|
379
|
+
return this.entries();
|
|
380
|
+
}
|
|
381
|
+
};
|
|
382
|
+
|
|
316
383
|
// dist/clients/user-notify.js
|
|
317
384
|
var notifierGetter;
|
|
318
385
|
function notifyUserDegradation(message, level = "warning", options) {
|
|
@@ -2032,11 +2099,9 @@ function findPiLensConfigInDir(dir) {
|
|
|
2032
2099
|
};
|
|
2033
2100
|
}
|
|
2034
2101
|
function findNestedProjectMutationValue(spec, editedFilePath, projectRoot, homeDir = os2.homedir()) {
|
|
2035
|
-
const root =
|
|
2036
|
-
const start = path3.dirname(
|
|
2037
|
-
for (const dir of walkUpDirs(start)) {
|
|
2038
|
-
if (isAtOrAboveHomeDir(dir, homeDir))
|
|
2039
|
-
break;
|
|
2102
|
+
const root = realpathOrResolve(projectRoot);
|
|
2103
|
+
const start = path3.dirname(realpathOrResolve(editedFilePath));
|
|
2104
|
+
for (const dir of walkUpDirs(start, { homeDir })) {
|
|
2040
2105
|
const rel = path3.relative(root, dir);
|
|
2041
2106
|
if (rel.startsWith("..") || path3.isAbsolute(rel))
|
|
2042
2107
|
break;
|
|
@@ -2422,6 +2487,7 @@ export {
|
|
|
2422
2487
|
classifyGeneratedOrArtifactDetailed,
|
|
2423
2488
|
isTestFileName,
|
|
2424
2489
|
detectFileRole,
|
|
2490
|
+
PathKeyedMap,
|
|
2425
2491
|
notifyUserDegradation,
|
|
2426
2492
|
warnIgnoredConfigOnce,
|
|
2427
2493
|
isRepoTier,
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
|
+
EXCLUDED_DIRS,
|
|
3
4
|
canonicalDirectory,
|
|
5
|
+
getExcludedDirGlobs,
|
|
4
6
|
listNestedLinkedWorktreeRoots
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import {
|
|
7
|
-
EXCLUDED_DIRS,
|
|
8
|
-
getExcludedDirGlobs
|
|
9
|
-
} from "./chunk-KUA4OJ5Y.js";
|
|
7
|
+
} from "./chunk-TPYYEDP5.js";
|
|
10
8
|
import {
|
|
11
9
|
escapeRegExp
|
|
12
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-FWZRGGGY.js";
|
|
13
11
|
|
|
14
12
|
// dist/clients/scratch-tree-policy.js
|
|
15
13
|
import { relative } from "node:path";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
logExtension
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-N3PLNNCW.js";
|
|
5
5
|
import {
|
|
6
6
|
findNearestMarkerRoot,
|
|
7
|
-
|
|
8
|
-
} from "./chunk-
|
|
7
|
+
walkUpDirs
|
|
8
|
+
} from "./chunk-EWXXLS26.js";
|
|
9
9
|
|
|
10
10
|
// dist/clients/cargo-manifest.js
|
|
11
11
|
import { readFile } from "node:fs/promises";
|
|
@@ -81,10 +81,10 @@ function indexOfArrayEnd(text, from) {
|
|
|
81
81
|
function parseTomlScalarString(content, key) {
|
|
82
82
|
if (content === void 0)
|
|
83
83
|
return void 0;
|
|
84
|
-
const match = content.match(new RegExp(`^[ \\t]*${key}[ \\t]*=[ \\t]*(?:"([^"]*)"|'([^']*)')`, "m"));
|
|
84
|
+
const match = content.match(new RegExp(`^[ \\t]*${key}[ \\t]*=[ \\t]*(?:"""(?:\\r?\\n)?([\\s\\S]*?)"""|'''(?:\\r?\\n)?([\\s\\S]*?)'''|"([^"]*)"|'([^']*)')`, "m"));
|
|
85
85
|
if (!match)
|
|
86
86
|
return void 0;
|
|
87
|
-
return match[1] ?? match[2];
|
|
87
|
+
return match[1] ?? match[2] ?? match[3] ?? match[4];
|
|
88
88
|
}
|
|
89
89
|
function hasCargoWorkspaceTable(content) {
|
|
90
90
|
return hasTomlTable(content, "workspace");
|
|
@@ -159,18 +159,14 @@ async function resolveCargoPackageEdition(filePath, homeDir = os.homedir()) {
|
|
|
159
159
|
if (hasCargoWorkspaceTable(packageContent)) {
|
|
160
160
|
return validatedEdition(readWorkspacePackageEdition(packageContent), filePath);
|
|
161
161
|
}
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
162
|
+
for (const current of walkUpDirs(path.dirname(packageDir), {
|
|
163
|
+
homeDir,
|
|
164
|
+
maxDepth: 64
|
|
165
|
+
})) {
|
|
166
166
|
const ancestorContent = await readTextFileOrUndefined(path.join(current, "Cargo.toml"));
|
|
167
167
|
if (ancestorContent !== void 0 && hasCargoWorkspaceTable(ancestorContent)) {
|
|
168
168
|
return validatedEdition(readWorkspacePackageEdition(ancestorContent), filePath);
|
|
169
169
|
}
|
|
170
|
-
const parent = path.dirname(current);
|
|
171
|
-
if (parent === current)
|
|
172
|
-
return void 0;
|
|
173
|
-
current = parent;
|
|
174
170
|
}
|
|
175
171
|
return void 0;
|
|
176
172
|
}
|
|
@@ -179,6 +175,7 @@ export {
|
|
|
179
175
|
readTextFileOrUndefined,
|
|
180
176
|
extractTomlTableSection,
|
|
181
177
|
parseTomlStringArray,
|
|
178
|
+
parseTomlScalarString,
|
|
182
179
|
hasCargoWorkspaceTable,
|
|
183
180
|
hasTomlTable,
|
|
184
181
|
readCargoPackageName,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
calcCyclomaticComplexity
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-ZPJM7DID.js";
|
|
5
|
+
import "./chunk-G224FADB.js";
|
|
6
6
|
import "./chunk-5W3R6LFT.js";
|
|
7
7
|
import {
|
|
8
8
|
firstChildOfType,
|
|
@@ -11,27 +11,27 @@ import {
|
|
|
11
11
|
resolveTreeSitterLanguage,
|
|
12
12
|
walk,
|
|
13
13
|
withTreeSitterRoot
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-YWWG4AQA.js";
|
|
15
15
|
import "./chunk-Z54ZSOBZ.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-2Y6OJRSI.js";
|
|
17
|
+
import "./chunk-WUY4BZEP.js";
|
|
18
|
+
import "./chunk-GTDSYEA2.js";
|
|
19
|
+
import "./chunk-NLIVE7L6.js";
|
|
20
|
+
import "./chunk-5LRUKYFA.js";
|
|
21
|
+
import "./chunk-TPYYEDP5.js";
|
|
22
|
+
import "./chunk-GYRZ72R4.js";
|
|
23
|
+
import "./chunk-KJJAVH3X.js";
|
|
24
|
+
import "./chunk-ZSUX7KEM.js";
|
|
25
|
+
import "./chunk-EIKRZ32J.js";
|
|
26
|
+
import "./chunk-FWZRGGGY.js";
|
|
26
27
|
import {
|
|
27
28
|
createSubsystemLogger
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
29
|
+
} from "./chunk-N3PLNNCW.js";
|
|
30
|
+
import "./chunk-S26LC76R.js";
|
|
31
|
+
import "./chunk-XWFIHYCH.js";
|
|
32
|
+
import "./chunk-TVZRLTG6.js";
|
|
32
33
|
import "./chunk-LJDODBBZ.js";
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-3RKP3FMS.js";
|
|
34
|
+
import "./chunk-EWXXLS26.js";
|
|
35
35
|
import "./chunk-NXL4FFQQ.js";
|
|
36
36
|
|
|
37
37
|
// dist/clients/complexity-client.js
|
|
@@ -1,21 +1,19 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
getProjectDataDir
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TPYYEDP5.js";
|
|
5
5
|
import {
|
|
6
6
|
createNdjsonLogger,
|
|
7
7
|
getGlobalPiLensLogDir,
|
|
8
8
|
getProcessSingleton,
|
|
9
9
|
getTurnId,
|
|
10
10
|
isTestMode
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import {
|
|
13
|
-
BoundedFifoMap
|
|
14
|
-
} from "./chunk-ABBOA7UD.js";
|
|
11
|
+
} from "./chunk-TVZRLTG6.js";
|
|
15
12
|
import {
|
|
13
|
+
BoundedFifoMap,
|
|
16
14
|
normalizeFilePath,
|
|
17
15
|
normalizeMapKey
|
|
18
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-EWXXLS26.js";
|
|
19
17
|
|
|
20
18
|
// dist/clients/hashline-anchor.js
|
|
21
19
|
var HASHLINE_ANCHOR_LENGTH = 3;
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
parseSymbolKey
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-KCBRHV5E.js";
|
|
5
5
|
import "./chunk-3MED75HT.js";
|
|
6
6
|
import {
|
|
7
7
|
isBuildArtifact
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-PP2A5V2T.js";
|
|
9
|
+
import "./chunk-S55TEC7I.js";
|
|
10
10
|
import {
|
|
11
11
|
getProjectDataDir
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-TPYYEDP5.js";
|
|
13
13
|
import "./chunk-QYF5S6P6.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-GYRZ72R4.js";
|
|
15
15
|
import {
|
|
16
16
|
detectFileRole
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-KJJAVH3X.js";
|
|
18
|
+
import "./chunk-ZSUX7KEM.js";
|
|
19
19
|
import {
|
|
20
20
|
writeFileAtomic
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-EIKRZ32J.js";
|
|
22
|
+
import "./chunk-FWZRGGGY.js";
|
|
23
|
+
import "./chunk-N3PLNNCW.js";
|
|
24
|
+
import "./chunk-S26LC76R.js";
|
|
25
|
+
import "./chunk-XWFIHYCH.js";
|
|
26
|
+
import "./chunk-TVZRLTG6.js";
|
|
27
27
|
import "./chunk-LJDODBBZ.js";
|
|
28
|
-
import "./chunk-ABBOA7UD.js";
|
|
29
28
|
import {
|
|
30
|
-
isExternalOrVendorFile
|
|
31
|
-
|
|
29
|
+
isExternalOrVendorFile,
|
|
30
|
+
toProjectRelativePath
|
|
31
|
+
} from "./chunk-EWXXLS26.js";
|
|
32
32
|
import "./chunk-NXL4FFQQ.js";
|
|
33
33
|
|
|
34
34
|
// dist/clients/codebase-model.js
|
|
@@ -79,7 +79,7 @@ function buildCodebaseModel(graph, cwd, budget = DEFAULT_CODEBASE_MODEL_TOKEN_BU
|
|
|
79
79
|
seenNames.add(name);
|
|
80
80
|
const calls = [...graph.callees.get(calleeKey) ?? /* @__PURE__ */ new Set()].map((k) => parseSymbolKey(k).symbolName ?? k).filter(Boolean).slice(0, MAX_CALLS_PER_SYMBOL);
|
|
81
81
|
const calledBy = [...graph.callers.get(calleeKey) ?? /* @__PURE__ */ new Set()].map((k) => parseSymbolKey(k).symbolName ?? k).filter((n) => !n.startsWith("file:")).slice(0, MAX_CALLS_PER_SYMBOL);
|
|
82
|
-
const file = filePath ?
|
|
82
|
+
const file = filePath ? toProjectRelativePath(filePath, cwd) : "unknown";
|
|
83
83
|
const draft = {
|
|
84
84
|
file,
|
|
85
85
|
name,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
AgentBehaviorClient,
|
|
4
|
+
agentBehaviorClient
|
|
5
|
+
} from "./chunk-4U7GDSZQ.js";
|
|
6
|
+
import "./chunk-MEFLGBCS.js";
|
|
7
|
+
import "./chunk-TPYYEDP5.js";
|
|
8
|
+
import "./chunk-KJJAVH3X.js";
|
|
9
|
+
import "./chunk-ZSUX7KEM.js";
|
|
10
|
+
import "./chunk-EIKRZ32J.js";
|
|
11
|
+
import "./chunk-FWZRGGGY.js";
|
|
12
|
+
import "./chunk-N3PLNNCW.js";
|
|
13
|
+
import "./chunk-S26LC76R.js";
|
|
14
|
+
import "./chunk-XWFIHYCH.js";
|
|
15
|
+
import "./chunk-TVZRLTG6.js";
|
|
16
|
+
import "./chunk-LJDODBBZ.js";
|
|
17
|
+
import "./chunk-EWXXLS26.js";
|
|
18
|
+
import "./chunk-NXL4FFQQ.js";
|
|
19
|
+
export {
|
|
20
|
+
AgentBehaviorClient,
|
|
21
|
+
agentBehaviorClient
|
|
22
|
+
};
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
BoundedLruCache,
|
|
4
|
-
BoundedSet
|
|
5
|
-
} from "./chunk-ABBOA7UD.js";
|
|
6
|
-
import {
|
|
4
|
+
BoundedSet,
|
|
7
5
|
normalizeMapKey
|
|
8
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-EWXXLS26.js";
|
|
9
7
|
|
|
10
8
|
// dist/clients/dispatch/fact-store.js
|
|
11
9
|
var capacityEvictionReporter;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
recordDegradationOnce
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-FWZRGGGY.js";
|
|
5
5
|
|
|
6
6
|
// dist/clients/deadline-utils.js
|
|
7
7
|
function combineAbortSignals(...signals) {
|
|
@@ -112,37 +112,9 @@ async function bounded(promise, options) {
|
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
// dist/clients/hook-budgets.js
|
|
116
|
-
var HOOK_WALL_BUDGET_MS = Object.freeze({
|
|
117
|
-
/** Visible startup work; the user is watching a progress line. */
|
|
118
|
-
session_start: 5e3,
|
|
119
|
-
/** Pure bookkeeping — nothing here may await (#2523 contract). */
|
|
120
|
-
turn_start: 0,
|
|
121
|
-
/** Measured p50 3687 ms / p90 14246 ms today. The gap IS the issue. */
|
|
122
|
-
turn_end: 3e3,
|
|
123
|
-
/** Measured p90 10043 ms today, from one unbounded pipeline re-entry. */
|
|
124
|
-
agent_end: 1e3,
|
|
125
|
-
/** The designated place for settled-time sweeps; the widest non-edit budget. */
|
|
126
|
-
agent_settled: 1e4,
|
|
127
|
-
/** Read/Grep/Glob/Bash: must never await analyzer bootstrap (AC5). */
|
|
128
|
-
tool_result_read_only: 500,
|
|
129
|
-
/** The ONLY path the contract lets block the host, and only this long. */
|
|
130
|
-
tool_result_edit: 1e4,
|
|
131
|
-
/** Replacement teardown is synchronous so its successor ordering is preserved (#3881). */
|
|
132
|
-
session_shutdown: 0,
|
|
133
|
-
/** The maintainer amendment permits quit-only sink draining before process exit (#2523). */
|
|
134
|
-
session_shutdown_quit: 500,
|
|
135
|
-
/** Synchronous message contribution; the host is blocked on the answer. */
|
|
136
|
-
context: 0,
|
|
137
|
-
/** Fork bookkeeping; the session is being replaced under it. */
|
|
138
|
-
session_before_fork: 0
|
|
139
|
-
});
|
|
140
|
-
var HOOK_BUDGET_KEYS = Object.keys(HOOK_WALL_BUDGET_MS);
|
|
141
|
-
|
|
142
115
|
export {
|
|
143
116
|
combineAbortSignals,
|
|
144
117
|
withDeadline,
|
|
145
118
|
withTimeout,
|
|
146
|
-
bounded
|
|
147
|
-
HOOK_WALL_BUDGET_MS
|
|
119
|
+
bounded
|
|
148
120
|
};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
scannerReportParentDir
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-7FLRUH6B.js";
|
|
5
5
|
import {
|
|
6
6
|
getSecretsLaneAllowlistPaths,
|
|
7
7
|
isUnderSecretsLaneScratchTree,
|
|
8
8
|
nestedWorktreeOffsets
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KPVLQHCZ.js";
|
|
10
10
|
import {
|
|
11
11
|
SecurityScanClient
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QT66NEYN.js";
|
|
13
13
|
import {
|
|
14
14
|
collectTrackedFiles,
|
|
15
15
|
collectUntrackedIgnoredIds,
|
|
16
16
|
safeSpawnAsync
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-TPYYEDP5.js";
|
|
18
18
|
import {
|
|
19
19
|
escapeRegExp
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-FWZRGGGY.js";
|
|
21
21
|
import {
|
|
22
22
|
normalizeEphemeralMapKey,
|
|
23
23
|
normalizeMapKey
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-EWXXLS26.js";
|
|
25
25
|
|
|
26
26
|
// dist/clients/gitleaks-client.js
|
|
27
27
|
import * as fs from "node:fs";
|