pi-lens 4.4.12 → 4.5.1
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-USER.md +12 -12
- package/CHANGELOG.md +304 -0
- package/README.md +105 -217
- package/config/dependency-cruiser-eager-allowlist.json +1 -0
- package/dist/{chunk-OVPR3GQ6.js → chunk-25CAONWT.js} +52 -23
- package/dist/{chunk-W6VLB6LL.js → chunk-2APSZHHI.js} +61 -3
- package/dist/{chunk-E3PNZDPH.js → chunk-2DWNYVUN.js} +34 -2
- package/dist/{chunk-ME6MF2N2.js → chunk-2RQREVGO.js} +1 -1
- package/dist/{chunk-7T64QA5D.js → chunk-2XALJI2K.js} +42 -41
- package/dist/{chunk-VU2PRGRI.js → chunk-2YQ5LI7R.js} +4 -4
- package/dist/{chunk-DFAY7JUN.js → chunk-35UJUF27.js} +18 -4
- package/dist/{chunk-PTJXMYRY.js → chunk-3IWMNN2S.js} +17 -18
- package/dist/chunk-3UTDLQWO.js +88 -0
- package/dist/chunk-3Z7Z3B7V.js +27 -0
- package/dist/{chunk-AD7JDEI6.js → chunk-4E4OCW3L.js} +17 -17
- package/dist/{chunk-6GWCYEP7.js → chunk-4GLSO2EM.js} +69 -19
- package/dist/{chunk-QJ4T73J5.js → chunk-5HVDD7IA.js} +1 -1
- package/dist/{chunk-ZRQMENT4.js → chunk-62PIU4TO.js} +1 -1
- package/dist/{chunk-HWMNTQBJ.js → chunk-6MDWNZ7E.js} +32 -11
- package/dist/{chunk-WLD6BGON.js → chunk-6MWX2J5H.js} +4 -0
- package/dist/{chunk-SF7KSXB5.js → chunk-6MZLS6CK.js} +7 -7
- package/dist/{chunk-ORYQGVC3.js → chunk-7BWPQZHE.js} +3 -3
- package/dist/{chunk-5FDUKJZO.js → chunk-7JMEPY6P.js} +10 -10
- package/dist/{chunk-MOEWCPMC.js → chunk-7ORBRDFY.js} +2 -2
- package/dist/chunk-7WAQ3K26.js +52 -0
- package/dist/{chunk-5EEWCJG7.js → chunk-AB26NAHA.js} +9 -9
- package/dist/{chunk-IC4L65U7.js → chunk-AFSG6YUB.js} +13 -14
- package/dist/{chunk-2HWVG3IM.js → chunk-ALTHJUZO.js} +2 -2
- package/dist/{chunk-R67WQ5RY.js → chunk-AOEVZXR6.js} +9 -9
- package/dist/{chunk-F7AMFFVK.js → chunk-ARTCVE6I.js} +9 -9
- package/dist/{chunk-HGEE5LDW.js → chunk-B2QO7GHY.js} +1 -1
- package/dist/{chunk-HSTN27NR.js → chunk-BJGWP4UX.js} +10 -10
- package/dist/{chunk-6EXGCXM5.js → chunk-BKJ6WZKP.js} +99 -5
- package/dist/{chunk-6JLNZ6DP.js → chunk-BQ72NQQM.js} +11 -11
- package/dist/{chunk-WTSQKJAR.js → chunk-BWGNVM33.js} +11 -11
- package/dist/{chunk-IT7MFVGP.js → chunk-BYIEU4E4.js} +2 -2
- package/dist/{chunk-ILC2B7IJ.js → chunk-CDAJQBKJ.js} +11 -11
- package/dist/{chunk-HJWF7CGW.js → chunk-D3UQWOCB.js} +17 -17
- package/dist/{chunk-OEPWTSUG.js → chunk-DHFJS2I4.js} +8 -8
- package/dist/{chunk-SUIZOCSY.js → chunk-DKXIUGNA.js} +2 -2
- package/dist/{chunk-3R3Z54J7.js → chunk-DLGJYQML.js} +2 -2
- package/dist/{chunk-D6ANA6YU.js → chunk-DNJJVKJZ.js} +64 -56
- package/dist/{chunk-OYXD2MOM.js → chunk-EBXCYEII.js} +3 -3
- package/dist/chunk-EH6EHFW2.js +73 -0
- package/dist/{chunk-HRQTYU2T.js → chunk-EKQDQPX6.js} +10 -10
- package/dist/{chunk-DZSQXG66.js → chunk-EXHSWN3P.js} +1093 -411
- package/dist/{chunk-PCREZ4HJ.js → chunk-F7BFIENK.js} +35 -36
- package/dist/{chunk-LD7SXICE.js → chunk-FD4LJQ6Y.js} +5 -5
- package/dist/{chunk-7ZVEFWOE.js → chunk-GFCPPCNR.js} +11 -11
- package/dist/{chunk-B4FAFEBP.js → chunk-GIK6VUCY.js} +1 -1
- package/dist/{chunk-JLMS7EMD.js → chunk-GNK2IHVG.js} +17 -16
- package/dist/{chunk-7424ANRU.js → chunk-H6DNTQ4V.js} +2 -2
- package/dist/{chunk-TOOXNL6M.js → chunk-HERQPNY6.js} +8 -8
- package/dist/{chunk-NZINZCHB.js → chunk-HFIFEH46.js} +3 -3
- package/dist/{chunk-PXGVB2CY.js → chunk-HKRESBMC.js} +21 -19
- package/dist/{chunk-PK3GDU4M.js → chunk-HMXWZUQW.js} +1 -1
- package/dist/{chunk-75TVYCQW.js → chunk-HOWHAKXO.js} +6 -6
- package/dist/{chunk-K2GV34T2.js → chunk-HUWW77QY.js} +27 -38
- package/dist/{chunk-OHEUOWYT.js → chunk-IO6P3NBP.js} +1 -1
- package/dist/{chunk-PPYUBO6Y.js → chunk-J7VNGHLN.js} +2 -2
- package/dist/{chunk-IZ36G463.js → chunk-JGCBMCCS.js} +8 -8
- package/dist/{chunk-OF2YGDUE.js → chunk-KIQSNH3F.js} +39 -40
- package/dist/{chunk-HYDJUVOE.js → chunk-KSQJBGRO.js} +5 -5
- package/dist/{chunk-T5EGSBM2.js → chunk-KXKM2DFP.js} +4 -4
- package/dist/chunk-L3Q72QGQ.js +25 -0
- package/dist/{chunk-AVBEPUCD.js → chunk-LDPY22FS.js} +2 -2
- package/dist/{chunk-ET3DSSFZ.js → chunk-M3QGXGY4.js} +3796 -3825
- package/dist/{chunk-YLW26OHX.js → chunk-MET776XM.js} +35 -61
- package/dist/{chunk-X33QECRJ.js → chunk-MKQFSW2Q.js} +2 -2
- package/dist/{chunk-7BEADGAZ.js → chunk-MKW7ZUTT.js} +3 -3
- package/dist/{chunk-6EIV3H7O.js → chunk-N2U644ZW.js} +4 -11
- package/dist/{chunk-AYDE7RFV.js → chunk-NAACKIKT.js} +2 -2
- package/dist/{chunk-O6LCSHHI.js → chunk-NHHS5T52.js} +1 -1
- package/dist/{chunk-DIIDMDZU.js → chunk-NIZKGBOU.js} +51 -27
- package/dist/chunk-NNDZ7DOP.js +3040 -0
- package/dist/{chunk-MV6ST2KT.js → chunk-NZ7NSKIW.js} +14 -13
- package/dist/{chunk-AAIVSSUU.js → chunk-OG3UCAHV.js} +35 -12
- package/dist/{chunk-C6V2DSZZ.js → chunk-OHTHVILU.js} +12 -12
- package/dist/{chunk-AGEQRJ5A.js → chunk-P7EV5ISR.js} +17 -2
- package/dist/{chunk-G3LR6V6N.js → chunk-PVV27TOX.js} +20 -18
- package/dist/{chunk-3MHY4BQY.js → chunk-Q32RJDYC.js} +4 -4
- package/dist/{chunk-BMMRLJA4.js → chunk-Q4UQNTLB.js} +29 -12
- package/dist/{chunk-FDLGJFAE.js → chunk-QQGZY2BR.js} +3 -3
- package/dist/{chunk-E5SSUV2A.js → chunk-S247BOH2.js} +4 -4
- package/dist/{chunk-NCDH2JB7.js → chunk-S7KUDW73.js} +136 -18
- package/dist/{chunk-GHATCG2A.js → chunk-SJ2SR432.js} +23 -19
- package/dist/{chunk-SRXYSLMW.js → chunk-SL4G67AP.js} +2 -2
- package/dist/chunk-T2D2WWP6.js +847 -0
- package/dist/{chunk-JRSS6KM4.js → chunk-T7KHGEJ5.js} +3 -3
- package/dist/{chunk-YTXFNCVN.js → chunk-TABDCX35.js} +2 -2
- package/dist/chunk-TFSBHRL2.js +25 -0
- package/dist/{chunk-S6ZQFPOX.js → chunk-TQKWR5AZ.js} +7 -7
- package/dist/chunk-TQWRH25U.js +35 -0
- package/dist/chunk-TWAQFMLW.js +110 -0
- package/dist/{chunk-Y7XMKBFP.js → chunk-UARVPNAU.js} +35 -27
- package/dist/chunk-UWBD3JMH.js +56 -0
- package/dist/{chunk-AZXTLZHE.js → chunk-VEF3GFOL.js} +170 -166
- package/dist/{chunk-QY6J2FTK.js → chunk-W2JPGW7Q.js} +28 -25
- package/dist/{chunk-HYR25MV3.js → chunk-W2YHHNY3.js} +9 -8
- package/dist/{chunk-3PMLYGJN.js → chunk-WA6U2URH.js} +9 -9
- package/dist/{chunk-JKAVKTMY.js → chunk-WAK2AXQQ.js} +18 -21
- package/dist/{chunk-K2LD6YNH.js → chunk-WH6O4IFD.js} +10 -10
- package/dist/{chunk-KXDQD34C.js → chunk-WJ7GY5WJ.js} +1 -1
- package/dist/{chunk-3QMLB4TI.js → chunk-WWZLT6AM.js} +2 -2
- package/dist/{chunk-ZWZD4TJ5.js → chunk-XRLZ75YY.js} +39 -40
- package/dist/chunk-XWWFESYZ.js +27 -0
- package/dist/chunk-XZSXSM4K.js +27 -0
- package/dist/{chunk-D2ZYRI7M.js → chunk-Y2LIOCA7.js} +1 -1
- package/dist/{chunk-Z6WTLVUL.js → chunk-YIEHUKX2.js} +291 -255
- package/dist/{chunk-NRVWLTOY.js → chunk-YOMLAKU6.js} +231 -190
- package/dist/{chunk-3EIZMRXI.js → chunk-YV7XVYSJ.js} +11 -11
- package/dist/{chunk-T6PPK3T6.js → chunk-ZVQUYCBU.js} +1317 -708
- package/dist/index.js +10797 -7167
- package/dist/mcp/analyze-cli.js +11 -11
- package/dist/mcp/cli.js +42 -41
- package/dist/mcp/server.js +813 -469
- package/dist/mcp/worker.js +60 -61
- package/dist/probes/installer.js +22 -20
- package/docs/architecture.md +113 -0
- package/docs/ast-grep_rules_catalog.md +2 -2
- package/docs/ci-bot-pr-checks.md +18 -9
- package/docs/ci.md +25 -4
- package/docs/defect-shapes.md +83 -30
- package/docs/dependencies.md +10 -10
- package/docs/features.md +3 -3
- package/docs/globalconfig.md +1 -0
- package/docs/invariants/dispatch-runners.md +28 -1
- package/docs/invariants/lsp-trust-exec.md +19 -0
- package/docs/language-coverage.md +39 -0
- package/docs/lsp-capability-matrix.md +13 -7
- package/docs/lsp-idle-eviction.md +3 -2
- package/docs/module-report-read-symbol.md +6 -2
- package/docs/pi-lens-fixer.md +4 -0
- package/docs/pi-lens-merge-policy.md +4 -3
- package/docs/pi-lens-orchestration.md +2 -1
- package/docs/pi-lens-reviewer.md +4 -5
- package/docs/pi-lens-subagent.md +7 -3
- package/docs/prose-standard.md +112 -0
- package/docs/servercapabilities.md +1 -1
- package/docs/settings.md +1 -0
- package/docs/usage.md +51 -0
- package/package.json +1 -1
- package/rules/ast-grep-rules/rule-tests/array-callback-return-js-test.yml +23 -0
- package/rules/ast-grep-rules/rule-tests/array-callback-return-test.yml +23 -0
- package/rules/ast-grep-rules/rule-tests/no-negation-in-equality-check-js-test.yml +8 -0
- package/rules/ast-grep-rules/rule-tests/no-negation-in-equality-check-test.yml +8 -0
- package/rules/ast-grep-rules/rule-tests/unchecked-throwing-call-js-test.yml +16 -0
- package/rules/ast-grep-rules/rule-tests/unchecked-throwing-call-test.yml +16 -0
- package/rules/ast-grep-rules/rules/array-callback-return-js.yml +8 -0
- package/rules/ast-grep-rules/rules/array-callback-return.yml +8 -0
- package/rules/ast-grep-rules/rules/no-negation-in-equality-check-js.yml +17 -5
- package/rules/ast-grep-rules/rules/no-negation-in-equality-check.yml +17 -5
- package/rules/ast-grep-rules/rules/unchecked-throwing-call-js.yml +8 -1
- package/rules/ast-grep-rules/rules/unchecked-throwing-call.yml +8 -1
- package/rules/tree-sitter-queries/typescript/ts-react-antipatterns.yml +8 -0
- package/dist/chunk-3VWEZ6H2.js +0 -72
- package/dist/chunk-5KLRCUDT.js +0 -67
- package/dist/chunk-7KWI5UHL.js +0 -28
- package/dist/chunk-7M64NTAK.js +0 -38
- package/dist/chunk-BEIPWPVR.js +0 -1037
- package/dist/chunk-D7OEGXDX.js +0 -2417
- package/dist/chunk-FVQKX5KI.js +0 -50
- package/dist/chunk-KUDUKKQE.js +0 -89
- package/dist/chunk-TM3A3K7T.js +0 -28
- package/dist/chunk-TS5EIWEF.js +0 -25
- package/dist/chunk-VD7MQFEV.js +0 -56
- package/dist/chunk-YLHJWAQS.js +0 -256
- package/dist/chunk-YULIERZW.js +0 -27
- package/dist/chunk-Z2W5YJBW.js +0 -25
|
@@ -2,37 +2,35 @@ import { createRequire as __pilensCreateRequire } from "node:module"; const requ
|
|
|
2
2
|
import {
|
|
3
3
|
resolveWebTreeSitterPackageDir
|
|
4
4
|
} from "./chunk-Z54ZSOBZ.js";
|
|
5
|
-
import {
|
|
6
|
-
getUserRuleRoot,
|
|
7
|
-
ruleCorpusFingerprintForCycle
|
|
8
|
-
} from "./chunk-7M64NTAK.js";
|
|
9
5
|
import {
|
|
10
6
|
getPackageRoot,
|
|
7
|
+
getUserRuleRoot,
|
|
11
8
|
js_yaml_default,
|
|
12
|
-
resolvePackagePath
|
|
13
|
-
|
|
9
|
+
resolvePackagePath,
|
|
10
|
+
ruleCorpusFingerprintForCycle
|
|
11
|
+
} from "./chunk-2DWNYVUN.js";
|
|
14
12
|
import {
|
|
15
13
|
EXTENSION_TO_GRAMMAR
|
|
16
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-NAACKIKT.js";
|
|
17
15
|
import {
|
|
18
16
|
transientRetryDelayMs
|
|
19
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-LDPY22FS.js";
|
|
20
18
|
import {
|
|
21
19
|
getProjectIgnoreMatcher,
|
|
22
20
|
isExcludedDirName
|
|
23
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-M3QGXGY4.js";
|
|
24
22
|
import {
|
|
25
23
|
notifyUserDegradation
|
|
26
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-N2U644ZW.js";
|
|
27
25
|
import {
|
|
28
26
|
hashContentBytes
|
|
29
27
|
} from "./chunk-CIA7X2PZ.js";
|
|
30
28
|
import {
|
|
31
29
|
assertInstallAllowed,
|
|
32
30
|
getProjectTrustGeneration,
|
|
33
|
-
|
|
31
|
+
withDeadline,
|
|
34
32
|
writeFileAtomic
|
|
35
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-EKQDQPX6.js";
|
|
36
34
|
import {
|
|
37
35
|
compareOrdinal,
|
|
38
36
|
escapeRegExp,
|
|
@@ -40,14 +38,14 @@ import {
|
|
|
40
38
|
incrementDegradationCount,
|
|
41
39
|
recordDegradation,
|
|
42
40
|
recordDegradationOnce
|
|
43
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-P7EV5ISR.js";
|
|
44
42
|
import {
|
|
45
43
|
createNdjsonLogger,
|
|
46
44
|
getGlobalPiLensLogDir,
|
|
47
45
|
getMaxLogSizeMB,
|
|
48
46
|
isTestMode,
|
|
49
47
|
logLatency
|
|
50
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-HUWW77QY.js";
|
|
51
49
|
import {
|
|
52
50
|
BoundedFifoMap,
|
|
53
51
|
normalizeFilePath,
|
|
@@ -55,7 +53,7 @@ import {
|
|
|
55
53
|
relativeInside,
|
|
56
54
|
toPosix,
|
|
57
55
|
walkUpDirs
|
|
58
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-6MWX2J5H.js";
|
|
59
57
|
|
|
60
58
|
// dist/clients/tree-sitter-logger.js
|
|
61
59
|
import * as path from "node:path";
|
|
@@ -2039,6 +2037,11 @@ function queryBatchIdentity(queryDefs) {
|
|
|
2039
2037
|
return crypto3.createHash("sha256").update(JSON.stringify(canonical)).digest("hex");
|
|
2040
2038
|
}
|
|
2041
2039
|
var NO_NESTED_ANCHOR_VISIT_CAP = 1e4;
|
|
2040
|
+
var REACT_FAMILY_MODULE_SEGMENT = /^(react|preact)(-[a-z0-9-]+)?$/;
|
|
2041
|
+
var REACT_JSX_NODE_TYPES = /* @__PURE__ */ new Set([
|
|
2042
|
+
"jsx_element",
|
|
2043
|
+
"jsx_self_closing_element"
|
|
2044
|
+
]);
|
|
2042
2045
|
var PYTHON_SQL_SINK_METHODS = /* @__PURE__ */ new Set([
|
|
2043
2046
|
"execute",
|
|
2044
2047
|
"executemany",
|
|
@@ -3335,7 +3338,9 @@ var TreeSitterClient = class _TreeSitterClient {
|
|
|
3335
3338
|
this.dbg(`Calling Language.load...`);
|
|
3336
3339
|
const started = this.LanguageLoader.load(grammarPath);
|
|
3337
3340
|
loading = started;
|
|
3338
|
-
const language = await
|
|
3341
|
+
const language = await withDeadline(started, {
|
|
3342
|
+
ms: GRAMMAR_LOAD_TIMEOUT_MS
|
|
3343
|
+
});
|
|
3339
3344
|
this.dbg(`Language loaded: ${language?.name || "unknown"}`);
|
|
3340
3345
|
if (language) {
|
|
3341
3346
|
this.languages.set(languageId, language);
|
|
@@ -3610,6 +3615,7 @@ var TreeSitterClient = class _TreeSitterClient {
|
|
|
3610
3615
|
(tree) => {
|
|
3611
3616
|
try {
|
|
3612
3617
|
const rootNode = tree.rootNode;
|
|
3618
|
+
const invocationState = {};
|
|
3613
3619
|
for (const match of batch.query.matches(rootNode)) {
|
|
3614
3620
|
const owner = batch.ownerOfPattern[match.patternIndex];
|
|
3615
3621
|
if (owner === void 0)
|
|
@@ -3626,7 +3632,7 @@ var TreeSitterClient = class _TreeSitterClient {
|
|
|
3626
3632
|
}
|
|
3627
3633
|
if (!this.evaluatePredicates(batch.query, match))
|
|
3628
3634
|
continue;
|
|
3629
|
-
if (entry.postFilter && !this.applyPostFilter(entry.postFilter, entry.postFilterParams, captures, rootNode)) {
|
|
3635
|
+
if (entry.postFilter && !this.applyPostFilter(entry.postFilter, entry.postFilterParams, captures, rootNode, invocationState)) {
|
|
3630
3636
|
continue;
|
|
3631
3637
|
}
|
|
3632
3638
|
if (match.captures.length === 0)
|
|
@@ -4531,7 +4537,7 @@ var TreeSitterClient = class _TreeSitterClient {
|
|
|
4531
4537
|
* Each branch is an independent filter identified by name — flat dispatch, no nesting.
|
|
4532
4538
|
*/
|
|
4533
4539
|
// biome-ignore lint/suspicious/noExplicitAny: postFilterParams is untyped per-filter config
|
|
4534
|
-
applyPostFilter(postFilter, postFilterParams, captures, rootNode) {
|
|
4540
|
+
applyPostFilter(postFilter, postFilterParams, captures, rootNode, invocationState) {
|
|
4535
4541
|
function extractSlots(classNode) {
|
|
4536
4542
|
const classText = classNode.text ?? "";
|
|
4537
4543
|
if (!classText.includes("__slots__"))
|
|
@@ -4633,6 +4639,49 @@ var TreeSitterClient = class _TreeSitterClient {
|
|
|
4633
4639
|
return true;
|
|
4634
4640
|
}
|
|
4635
4641
|
}
|
|
4642
|
+
case "has_react_context": {
|
|
4643
|
+
if (invocationState?.reactContext !== void 0) {
|
|
4644
|
+
return invocationState.reactContext;
|
|
4645
|
+
}
|
|
4646
|
+
try {
|
|
4647
|
+
if (!rootNode)
|
|
4648
|
+
return true;
|
|
4649
|
+
for (const child of rootNode.children ?? []) {
|
|
4650
|
+
if (child.type !== "import_statement")
|
|
4651
|
+
continue;
|
|
4652
|
+
const source = child.childForFieldName?.("source")?.text ?? child.children?.find((node) => node.type === "string")?.text ?? "";
|
|
4653
|
+
const spec = source.replace(/^["'`]|["'`]$/g, "");
|
|
4654
|
+
const reactFamily = spec.startsWith("@preact/") || spec.split("/").some((segment) => REACT_FAMILY_MODULE_SEGMENT.test(segment));
|
|
4655
|
+
if (reactFamily) {
|
|
4656
|
+
if (invocationState)
|
|
4657
|
+
invocationState.reactContext = true;
|
|
4658
|
+
return true;
|
|
4659
|
+
}
|
|
4660
|
+
}
|
|
4661
|
+
const pending = [...rootNode.children ?? []];
|
|
4662
|
+
while (pending.length > 0) {
|
|
4663
|
+
const node = pending.pop();
|
|
4664
|
+
if (!node)
|
|
4665
|
+
continue;
|
|
4666
|
+
if (REACT_JSX_NODE_TYPES.has(node.type)) {
|
|
4667
|
+
if (invocationState)
|
|
4668
|
+
invocationState.reactContext = true;
|
|
4669
|
+
return true;
|
|
4670
|
+
}
|
|
4671
|
+
pending.push(...node.children);
|
|
4672
|
+
}
|
|
4673
|
+
if (invocationState)
|
|
4674
|
+
invocationState.reactContext = false;
|
|
4675
|
+
return false;
|
|
4676
|
+
} catch (thrown) {
|
|
4677
|
+
this.reportWasmAbort(thrown);
|
|
4678
|
+
const reason = thrown instanceof Error ? thrown.message : String(thrown);
|
|
4679
|
+
this.reportPostFilterFailure(postFilter, `context probe failed${reason ? `: ${reason}` : ""}`);
|
|
4680
|
+
if (invocationState)
|
|
4681
|
+
invocationState.reactContext = true;
|
|
4682
|
+
return true;
|
|
4683
|
+
}
|
|
4684
|
+
}
|
|
4636
4685
|
case "missing_mimetype_and_download_name": {
|
|
4637
4686
|
try {
|
|
4638
4687
|
const firstArg = captures.FIRST_ARG;
|
|
@@ -5763,6 +5812,7 @@ var TreeSitterClient = class _TreeSitterClient {
|
|
|
5763
5812
|
(tree) => {
|
|
5764
5813
|
try {
|
|
5765
5814
|
const rootNode = tree.rootNode;
|
|
5815
|
+
const invocationState = {};
|
|
5766
5816
|
const queryMatches = query.matches(rootNode);
|
|
5767
5817
|
for (const match of queryMatches) {
|
|
5768
5818
|
const captures = {};
|
|
@@ -5774,7 +5824,7 @@ var TreeSitterClient = class _TreeSitterClient {
|
|
|
5774
5824
|
if (!this.evaluatePredicates(query, match)) {
|
|
5775
5825
|
continue;
|
|
5776
5826
|
}
|
|
5777
|
-
if (postFilter && !this.applyPostFilter(postFilter, postFilterParams, captures, rootNode)) {
|
|
5827
|
+
if (postFilter && !this.applyPostFilter(postFilter, postFilterParams, captures, rootNode, invocationState)) {
|
|
5778
5828
|
continue;
|
|
5779
5829
|
}
|
|
5780
5830
|
if (match.captures.length > 0) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
isTestMode
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-HUWW77QY.js";
|
|
5
5
|
|
|
6
6
|
// dist/clients/scanner-temp-root.js
|
|
7
7
|
import * as os from "node:os";
|
|
@@ -2,10 +2,10 @@ import { createRequire as __pilensCreateRequire } from "node:module"; const requ
|
|
|
2
2
|
import {
|
|
3
3
|
DEFAULT_MAX_OUTPUT_BYTES,
|
|
4
4
|
writeFileAtomic
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-EKQDQPX6.js";
|
|
6
6
|
import {
|
|
7
7
|
incrementDegradationCount
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-P7EV5ISR.js";
|
|
9
9
|
|
|
10
10
|
// dist/clients/mcp/ipc.js
|
|
11
11
|
import * as crypto from "node:crypto";
|
|
@@ -41,12 +41,19 @@ function boundUnixSocketPath(endpoint, platform = process.platform) {
|
|
|
41
41
|
return endpoint;
|
|
42
42
|
return bytes.subarray(0, limit).toString();
|
|
43
43
|
}
|
|
44
|
+
function boundUnixSocketKeepsIdentity(endpoint, options = {}) {
|
|
45
|
+
const bound = boundUnixSocketPath(endpoint, options.platform);
|
|
46
|
+
if (bound === endpoint)
|
|
47
|
+
return true;
|
|
48
|
+
const token = options.ownerPid === void 0 ? path.posix.basename(endpoint, ".sock") : `pi-lens-mcp-${options.ownerPid}-`;
|
|
49
|
+
return bound.startsWith(path.posix.join(path.posix.dirname(endpoint), token));
|
|
50
|
+
}
|
|
44
51
|
function unlinkStaleUnixSocket(endpoint, options = {}) {
|
|
45
52
|
if ((options.platform ?? process.platform) === "win32")
|
|
46
53
|
return "absent";
|
|
47
|
-
|
|
48
|
-
if (options.ownerPid !== void 0 && bound !== endpoint && !bound.includes(`${path.sep}pi-lens-mcp-${options.ownerPid}-`))
|
|
54
|
+
if (options.ownerPid !== void 0 && !boundUnixSocketKeepsIdentity(endpoint, options))
|
|
49
55
|
return "shared-name";
|
|
56
|
+
const bound = boundUnixSocketPath(endpoint, options.platform);
|
|
50
57
|
try {
|
|
51
58
|
if (!fs.lstatSync(bound).isSocket())
|
|
52
59
|
return "not-a-socket";
|
|
@@ -63,7 +70,10 @@ function isNoListenerError(error) {
|
|
|
63
70
|
function contentHash(content) {
|
|
64
71
|
return crypto.createHash("sha256").update(content).digest("hex");
|
|
65
72
|
}
|
|
66
|
-
function requestOverWarmIpc(
|
|
73
|
+
function requestOverWarmIpc(target, timeoutMs, buildRequest, validate) {
|
|
74
|
+
const { endpoint } = target;
|
|
75
|
+
if (!boundUnixSocketKeepsIdentity(endpoint, target))
|
|
76
|
+
return Promise.resolve({ available: false, reason: "no-listener" });
|
|
67
77
|
return new Promise((resolve2) => {
|
|
68
78
|
let settled = false;
|
|
69
79
|
const finish = (value) => {
|
|
@@ -75,7 +85,7 @@ function requestOverWarmIpc(endpoint, timeoutMs, buildRequest, validate) {
|
|
|
75
85
|
resolve2(value);
|
|
76
86
|
};
|
|
77
87
|
const deadlineAt = Date.now() + timeoutMs;
|
|
78
|
-
const socket = net.createConnection(endpoint);
|
|
88
|
+
const socket = net.createConnection(boundUnixSocketPath(endpoint));
|
|
79
89
|
socket.setEncoding("utf8");
|
|
80
90
|
const timer = setTimeout(() => finish({ available: false, reason: "timeout" }), timeoutMs);
|
|
81
91
|
timer.unref();
|
|
@@ -113,7 +123,10 @@ function requestOverWarmIpc(endpoint, timeoutMs, buildRequest, validate) {
|
|
|
113
123
|
}
|
|
114
124
|
function requestWarmDiagnostics(cwd, incumbentPid, file, content, timeoutMs) {
|
|
115
125
|
const expectedHash = contentHash(content);
|
|
116
|
-
return requestOverWarmIpc(
|
|
126
|
+
return requestOverWarmIpc({
|
|
127
|
+
endpoint: diagnosticsIpcPathForCwd(cwd, incumbentPid),
|
|
128
|
+
ownerPid: incumbentPid
|
|
129
|
+
}, timeoutMs, (deadlineAt) => ({
|
|
117
130
|
route: "diagnostics",
|
|
118
131
|
version: WARM_DIAGNOSTICS_SCHEMA_VERSION,
|
|
119
132
|
file,
|
|
@@ -132,7 +145,10 @@ function requestWarmDiagnostics(cwd, incumbentPid, file, content, timeoutMs) {
|
|
|
132
145
|
});
|
|
133
146
|
}
|
|
134
147
|
function requestWarmCodeActions(cwd, incumbentPid, file, expectedContentHash, ranges, timeoutMs) {
|
|
135
|
-
return requestOverWarmIpc(
|
|
148
|
+
return requestOverWarmIpc({
|
|
149
|
+
endpoint: diagnosticsIpcPathForCwd(cwd, incumbentPid),
|
|
150
|
+
ownerPid: incumbentPid
|
|
151
|
+
}, timeoutMs, (deadlineAt) => ({
|
|
136
152
|
route: "code-actions",
|
|
137
153
|
version: WARM_DIAGNOSTICS_SCHEMA_VERSION,
|
|
138
154
|
file,
|
|
@@ -153,7 +169,7 @@ function requestWarmCodeActions(cwd, incumbentPid, file, expectedContentHash, ra
|
|
|
153
169
|
var WARM_TURN_END_SCHEMA_VERSION = 2;
|
|
154
170
|
async function requestWarmTurnEnd(cwd, timeoutMs = 55e3) {
|
|
155
171
|
const startedAt = Date.now();
|
|
156
|
-
const first = await requestOverWarmIpc(ipcPathForCwd(cwd), timeoutMs, () => ({
|
|
172
|
+
const first = await requestOverWarmIpc({ endpoint: ipcPathForCwd(cwd) }, timeoutMs, () => ({
|
|
157
173
|
route: "turn-end",
|
|
158
174
|
version: WARM_TURN_END_SCHEMA_VERSION,
|
|
159
175
|
cwd
|
|
@@ -163,7 +179,7 @@ async function requestWarmTurnEnd(cwd, timeoutMs = 55e3) {
|
|
|
163
179
|
const remainingMs = timeoutMs - (Date.now() - startedAt);
|
|
164
180
|
if (remainingMs <= 0)
|
|
165
181
|
return { available: false, reason: "timeout" };
|
|
166
|
-
const ack = await requestOverWarmIpc(ipcPathForCwd(cwd), remainingMs, () => ({
|
|
182
|
+
const ack = await requestOverWarmIpc({ endpoint: ipcPathForCwd(cwd) }, remainingMs, () => ({
|
|
167
183
|
route: "turn-end-ack",
|
|
168
184
|
version: WARM_TURN_END_SCHEMA_VERSION,
|
|
169
185
|
cwd,
|
|
@@ -226,6 +242,9 @@ function recordTurnEndOutcome(cwd, outcome, platform = process.platform) {
|
|
|
226
242
|
}
|
|
227
243
|
}
|
|
228
244
|
function requestWarmAnalyze(cwd, file, timeoutMs = 3e4) {
|
|
245
|
+
const endpoint = ipcPathForCwd(cwd);
|
|
246
|
+
if (!boundUnixSocketKeepsIdentity(endpoint))
|
|
247
|
+
return Promise.resolve(void 0);
|
|
229
248
|
return new Promise((resolve2) => {
|
|
230
249
|
let settled = false;
|
|
231
250
|
const finish = (value) => {
|
|
@@ -235,7 +254,7 @@ function requestWarmAnalyze(cwd, file, timeoutMs = 3e4) {
|
|
|
235
254
|
clearTimeout(timer);
|
|
236
255
|
resolve2(value);
|
|
237
256
|
};
|
|
238
|
-
const socket = net.createConnection(
|
|
257
|
+
const socket = net.createConnection(boundUnixSocketPath(endpoint));
|
|
239
258
|
socket.setEncoding("utf8");
|
|
240
259
|
const timer = setTimeout(() => {
|
|
241
260
|
socket.destroy();
|
|
@@ -353,6 +372,8 @@ export {
|
|
|
353
372
|
WARM_CODE_ACTION_LOOKUP_LIMIT,
|
|
354
373
|
ipcPathForCwd,
|
|
355
374
|
diagnosticsIpcPathForCwd,
|
|
375
|
+
boundUnixSocketPath,
|
|
376
|
+
boundUnixSocketKeepsIdentity,
|
|
356
377
|
unlinkStaleUnixSocket,
|
|
357
378
|
contentHash,
|
|
358
379
|
requestWarmDiagnostics,
|
|
@@ -2878,6 +2878,9 @@ function isWithinForm(child, parent) {
|
|
|
2878
2878
|
const parentPrefix = parent.endsWith("/") ? parent : `${parent}/`;
|
|
2879
2879
|
return child === parent || child.startsWith(parentPrefix);
|
|
2880
2880
|
}
|
|
2881
|
+
function rootsOverlap(a, b) {
|
|
2882
|
+
return isWithinForm(a, b) || isWithinForm(b, a);
|
|
2883
|
+
}
|
|
2881
2884
|
function isOutsideProjectRoot(filePath, projectRoot) {
|
|
2882
2885
|
return !isUnderDir(filePath, projectRoot);
|
|
2883
2886
|
}
|
|
@@ -3134,6 +3137,7 @@ export {
|
|
|
3134
3137
|
isUnderDir,
|
|
3135
3138
|
isWithinIdentity,
|
|
3136
3139
|
isWithinForm,
|
|
3140
|
+
rootsOverlap,
|
|
3137
3141
|
isVendorPath,
|
|
3138
3142
|
isExternalOrVendorFile,
|
|
3139
3143
|
nameMatchesMarkerGlob,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
getProjectDataDir
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-M3QGXGY4.js";
|
|
5
|
+
import "./chunk-N2U644ZW.js";
|
|
6
|
+
import "./chunk-DLGJYQML.js";
|
|
7
|
+
import "./chunk-EKQDQPX6.js";
|
|
8
|
+
import "./chunk-P7EV5ISR.js";
|
|
9
9
|
import "./chunk-S26LC76R.js";
|
|
10
10
|
import {
|
|
11
11
|
redactSecrets
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-HUWW77QY.js";
|
|
13
13
|
import "./chunk-LJDODBBZ.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-6MWX2J5H.js";
|
|
15
15
|
import "./chunk-NXL4FFQQ.js";
|
|
16
16
|
|
|
17
17
|
// dist/clients/fix-worklog.js
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
isMutatingToolName
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-35UJUF27.js";
|
|
5
5
|
import {
|
|
6
6
|
logLatency
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HUWW77QY.js";
|
|
8
8
|
import {
|
|
9
9
|
normalizeMapKey
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6MWX2J5H.js";
|
|
11
11
|
|
|
12
12
|
// dist/clients/agent-behavior-client.js
|
|
13
13
|
import { createHash } from "node:crypto";
|
|
@@ -1,19 +1,19 @@
|
|
|
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-WA6U2URH.js";
|
|
5
|
+
import "./chunk-TABDCX35.js";
|
|
6
|
+
import "./chunk-M3QGXGY4.js";
|
|
7
7
|
import "./chunk-QYF5S6P6.js";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-N2U644ZW.js";
|
|
9
|
+
import "./chunk-SL4G67AP.js";
|
|
10
|
+
import "./chunk-DLGJYQML.js";
|
|
11
|
+
import "./chunk-EKQDQPX6.js";
|
|
12
|
+
import "./chunk-P7EV5ISR.js";
|
|
13
13
|
import "./chunk-S26LC76R.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-HUWW77QY.js";
|
|
15
15
|
import "./chunk-LJDODBBZ.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-6MWX2J5H.js";
|
|
17
17
|
import "./chunk-NXL4FFQQ.js";
|
|
18
18
|
|
|
19
19
|
// dist/clients/todo-scanner.js
|
|
@@ -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-S247BOH2.js";
|
|
5
5
|
import {
|
|
6
6
|
createSubsystemLogger
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-P7EV5ISR.js";
|
|
8
8
|
|
|
9
9
|
// dist/clients/go-client.js
|
|
10
10
|
import * as path from "node:path";
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
MAX_CANONICAL_ROOT_MEMO_ENTRIES,
|
|
4
|
+
RUNNERS,
|
|
5
|
+
SOURCE_TO_TEST_PATTERNS,
|
|
6
|
+
TURN_END_EXCLUDED_TEST_GLOBS,
|
|
7
|
+
TestRunnerClient,
|
|
8
|
+
isCompletedPassResult,
|
|
9
|
+
isExcludedTestTarget,
|
|
10
|
+
isRunnerErrorResult,
|
|
11
|
+
stripWrapperArgs
|
|
12
|
+
} from "./chunk-NIZKGBOU.js";
|
|
13
|
+
import "./chunk-AB26NAHA.js";
|
|
14
|
+
import "./chunk-5HVDD7IA.js";
|
|
15
|
+
import "./chunk-H6DNTQ4V.js";
|
|
16
|
+
import "./chunk-6HWVI6MI.js";
|
|
17
|
+
import "./chunk-NAACKIKT.js";
|
|
18
|
+
import "./chunk-T2D2WWP6.js";
|
|
19
|
+
import "./chunk-25CAONWT.js";
|
|
20
|
+
import "./chunk-WWZLT6AM.js";
|
|
21
|
+
import "./chunk-DKXIUGNA.js";
|
|
22
|
+
import "./chunk-LDPY22FS.js";
|
|
23
|
+
import "./chunk-HOWHAKXO.js";
|
|
24
|
+
import "./chunk-WJ7GY5WJ.js";
|
|
25
|
+
import "./chunk-WA6U2URH.js";
|
|
26
|
+
import "./chunk-TABDCX35.js";
|
|
27
|
+
import "./chunk-TQWRH25U.js";
|
|
28
|
+
import "./chunk-UYXV5NIS.js";
|
|
29
|
+
import "./chunk-M3QGXGY4.js";
|
|
30
|
+
import "./chunk-GIK6VUCY.js";
|
|
31
|
+
import "./chunk-QYF5S6P6.js";
|
|
32
|
+
import "./chunk-N2U644ZW.js";
|
|
33
|
+
import "./chunk-SL4G67AP.js";
|
|
34
|
+
import "./chunk-DLGJYQML.js";
|
|
35
|
+
import "./chunk-EKQDQPX6.js";
|
|
36
|
+
import "./chunk-P7EV5ISR.js";
|
|
37
|
+
import "./chunk-S26LC76R.js";
|
|
38
|
+
import "./chunk-HUWW77QY.js";
|
|
39
|
+
import "./chunk-LJDODBBZ.js";
|
|
40
|
+
import "./chunk-6MWX2J5H.js";
|
|
41
|
+
import "./chunk-NXL4FFQQ.js";
|
|
42
|
+
export {
|
|
43
|
+
MAX_CANONICAL_ROOT_MEMO_ENTRIES,
|
|
44
|
+
RUNNERS,
|
|
45
|
+
SOURCE_TO_TEST_PATTERNS,
|
|
46
|
+
TURN_END_EXCLUDED_TEST_GLOBS,
|
|
47
|
+
TestRunnerClient,
|
|
48
|
+
isCompletedPassResult,
|
|
49
|
+
isExcludedTestTarget,
|
|
50
|
+
isRunnerErrorResult,
|
|
51
|
+
stripWrapperArgs
|
|
52
|
+
};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
parseJsonc
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-H6DNTQ4V.js";
|
|
5
|
+
import {
|
|
6
|
+
resolveLanguage
|
|
7
|
+
} from "./chunk-NAACKIKT.js";
|
|
5
8
|
import {
|
|
6
9
|
extractTomlTableSection,
|
|
7
10
|
hasTomlTable,
|
|
8
11
|
parseTomlScalarString,
|
|
9
12
|
parseTomlStringArray
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import {
|
|
12
|
-
resolveLanguage
|
|
13
|
-
} from "./chunk-AYDE7RFV.js";
|
|
13
|
+
} from "./chunk-DKXIUGNA.js";
|
|
14
14
|
import {
|
|
15
15
|
getProjectTrustState
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-EKQDQPX6.js";
|
|
17
17
|
import {
|
|
18
18
|
incrementDegradationCount,
|
|
19
19
|
logExtension,
|
|
20
20
|
recordDegradationOnce
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-P7EV5ISR.js";
|
|
22
22
|
import {
|
|
23
23
|
logLatency
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-HUWW77QY.js";
|
|
25
25
|
import {
|
|
26
26
|
UV_WORKSPACE_EXCLUDE_DIALECT,
|
|
27
27
|
UV_WORKSPACE_MEMBERS_DIALECT,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
realpathOrResolve,
|
|
30
30
|
relativeInside,
|
|
31
31
|
walkUpDirs
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-6MWX2J5H.js";
|
|
33
33
|
|
|
34
34
|
// dist/clients/bounded-telemetry.js
|
|
35
35
|
var MAX_TRACKED_TURN_CAPS = 64;
|
|
@@ -2,7 +2,7 @@ import { createRequire as __pilensCreateRequire } from "node:module"; const requ
|
|
|
2
2
|
import {
|
|
3
3
|
MAX_MEASURED_BYTES,
|
|
4
4
|
measureFile
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-Y2LIOCA7.js";
|
|
6
6
|
import "./chunk-5W3R6LFT.js";
|
|
7
7
|
import {
|
|
8
8
|
isComplexityLanguageId,
|
|
@@ -10,25 +10,24 @@ import {
|
|
|
10
10
|
resolveTreeSitterLanguage,
|
|
11
11
|
walk,
|
|
12
12
|
withTreeSitterRoot
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-4GLSO2EM.js";
|
|
14
14
|
import "./chunk-Z54ZSOBZ.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-3R3Z54J7.js";
|
|
15
|
+
import "./chunk-2DWNYVUN.js";
|
|
16
|
+
import "./chunk-NAACKIKT.js";
|
|
17
|
+
import "./chunk-LDPY22FS.js";
|
|
18
|
+
import "./chunk-M3QGXGY4.js";
|
|
19
|
+
import "./chunk-N2U644ZW.js";
|
|
20
|
+
import "./chunk-SL4G67AP.js";
|
|
21
|
+
import "./chunk-DLGJYQML.js";
|
|
23
22
|
import "./chunk-CIA7X2PZ.js";
|
|
24
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-EKQDQPX6.js";
|
|
25
24
|
import {
|
|
26
25
|
createSubsystemLogger
|
|
27
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-P7EV5ISR.js";
|
|
28
27
|
import "./chunk-S26LC76R.js";
|
|
29
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-HUWW77QY.js";
|
|
30
29
|
import "./chunk-LJDODBBZ.js";
|
|
31
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-6MWX2J5H.js";
|
|
32
31
|
import "./chunk-NXL4FFQQ.js";
|
|
33
32
|
|
|
34
33
|
// dist/clients/complexity-client.js
|
|
@@ -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-S247BOH2.js";
|
|
5
5
|
import {
|
|
6
6
|
createSubsystemLogger
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-P7EV5ISR.js";
|
|
8
8
|
|
|
9
9
|
// dist/clients/rust-client.js
|
|
10
10
|
import * as path from "node:path";
|
|
@@ -1,20 +1,20 @@
|
|
|
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-MKW7ZUTT.js";
|
|
5
5
|
import {
|
|
6
6
|
isTestRoleCollateral
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2RQREVGO.js";
|
|
8
8
|
import "./chunk-3MED75HT.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-M3QGXGY4.js";
|
|
10
|
+
import "./chunk-N2U644ZW.js";
|
|
11
|
+
import "./chunk-DLGJYQML.js";
|
|
12
|
+
import "./chunk-EKQDQPX6.js";
|
|
13
|
+
import "./chunk-P7EV5ISR.js";
|
|
14
14
|
import "./chunk-S26LC76R.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-HUWW77QY.js";
|
|
16
16
|
import "./chunk-LJDODBBZ.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-6MWX2J5H.js";
|
|
18
18
|
import "./chunk-NXL4FFQQ.js";
|
|
19
19
|
|
|
20
20
|
// dist/clients/project-diagnostics/runner-adapters/call-graph-impact.js
|
|
@@ -3,17 +3,17 @@ import {
|
|
|
3
3
|
AgentBehaviorClient,
|
|
4
4
|
agentBehaviorClient,
|
|
5
5
|
toolCallProgress
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-7BWPQZHE.js";
|
|
7
|
+
import "./chunk-35UJUF27.js";
|
|
8
|
+
import "./chunk-M3QGXGY4.js";
|
|
9
|
+
import "./chunk-N2U644ZW.js";
|
|
10
|
+
import "./chunk-DLGJYQML.js";
|
|
11
|
+
import "./chunk-EKQDQPX6.js";
|
|
12
|
+
import "./chunk-P7EV5ISR.js";
|
|
13
13
|
import "./chunk-S26LC76R.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-HUWW77QY.js";
|
|
15
15
|
import "./chunk-LJDODBBZ.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-6MWX2J5H.js";
|
|
17
17
|
import "./chunk-NXL4FFQQ.js";
|
|
18
18
|
export {
|
|
19
19
|
AgentBehaviorClient,
|
|
@@ -2,7 +2,7 @@ import { createRequire as __pilensCreateRequire } from "node:module"; const requ
|
|
|
2
2
|
import {
|
|
3
3
|
getProcessSingleton,
|
|
4
4
|
logLatency
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-HUWW77QY.js";
|
|
6
6
|
|
|
7
7
|
// dist/clients/lsp/workspace-sweep-hold.js
|
|
8
8
|
var SWEEP_IDLE_SAFETY_MARGIN_MS = 6e4;
|