@herbertgao/pi-extensions 2026.11.7 → 2026.11.9
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 +17 -0
- package/README.md +9 -9
- package/THIRD_PARTY_NOTICES.md +2 -2
- package/node_modules/@herbertgao/pi-subagents/CHANGELOG.md +6 -0
- package/node_modules/@herbertgao/pi-subagents/README.md +2 -2
- package/node_modules/@herbertgao/pi-subagents/package.json +4 -4
- package/node_modules/@herbertgao/pi-subagents/src/ui/conversation-viewer.ts +10 -6
- package/node_modules/@herbertgao/pi-subagents/src/ui/viewer-keys.ts +47 -4
- package/node_modules/@narumitw/pi-btw/CHANGELOG.md +19 -0
- package/node_modules/@narumitw/pi-btw/dist/chunks/{main-tree-picker-WHRN26NJ.ts → main-tree-picker-3PXJARQW.ts} +59 -53
- package/node_modules/@narumitw/pi-btw/dist/chunks/main-tree-picker-3PXJARQW.ts.map +7 -0
- package/node_modules/@narumitw/pi-btw/dist/index.ts +1 -1
- package/node_modules/@narumitw/pi-btw/docs/main-tree-snapshots.md +39 -0
- package/node_modules/@narumitw/pi-btw/docs/workflows.md +1 -0
- package/node_modules/@narumitw/pi-btw/package.json +2 -2
- package/node_modules/@narumitw/pi-btw/src/main-tree-picker.ts +73 -63
- package/node_modules/@narumitw/pi-caffeinate/CHANGELOG.md +7 -0
- package/node_modules/@narumitw/pi-caffeinate/package.json +3 -3
- package/node_modules/pi-commandcode-provider/CHANGELOG.md +5 -0
- package/node_modules/pi-commandcode-provider/package.json +1 -1
- package/node_modules/pi-commandcode-provider/src/pricing.ts +4 -4
- package/node_modules/pi-lens/CHANGELOG-USER.md +6 -6
- package/node_modules/pi-lens/CHANGELOG.md +30 -0
- package/node_modules/pi-lens/README.md +1 -0
- package/node_modules/pi-lens/dist/{chunk-KDGKKK7A.js → chunk-2HWVG3IM.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-3QCI3V6C.js → chunk-3EIZMRXI.js} +5 -5
- package/node_modules/pi-lens/dist/{chunk-NWK7KKNO.js → chunk-3MHY4BQY.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-3NVGBFJS.js → chunk-3PMLYGJN.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-OP5BMZKK.js → chunk-3QMLB4TI.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-V7IPIAE5.js → chunk-3VWEZ6H2.js} +24 -26
- package/node_modules/pi-lens/dist/{chunk-NLRKB32C.js → chunk-5EEWCJG7.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-VDMF7Q2P.js → chunk-5FDUKJZO.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-KBSC5Z3G.js → chunk-5KLRCUDT.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-GL6J5R34.js → chunk-6EXGCXM5.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-OC4ZGVMH.js → chunk-6GWCYEP7.js} +5 -7
- package/node_modules/pi-lens/dist/{chunk-LXE7JAMV.js → chunk-6JLNZ6DP.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-TTGDTNSN.js → chunk-75TVYCQW.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-QAM2Q3VO.js → chunk-7BEADGAZ.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-R5BNSOIV.js → chunk-7KWI5UHL.js} +7 -8
- package/node_modules/pi-lens/dist/{chunk-5YTDZ5WP.js → chunk-7M64NTAK.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-B4K6OSLL.js → chunk-7T64QA5D.js} +25 -27
- package/node_modules/pi-lens/dist/{chunk-KDMJ2DJD.js → chunk-7ZVEFWOE.js} +5 -5
- package/node_modules/pi-lens/dist/{chunk-D5L7Q57Z.js → chunk-AAIVSSUU.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-LIDFFCZZ.js → chunk-AD7JDEI6.js} +9 -9
- package/node_modules/pi-lens/dist/{chunk-WBXCIRVI.js → chunk-AVBEPUCD.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-VTXJAO5R.js → chunk-AZXTLZHE.js} +9 -9
- package/node_modules/pi-lens/dist/{chunk-UELHWF5I.js → chunk-BEIPWPVR.js} +10 -10
- package/node_modules/pi-lens/dist/{chunk-SQBDX6IO.js → chunk-C6V2DSZZ.js} +6 -6
- package/node_modules/pi-lens/dist/{chunk-ZD4KVFXI.js → chunk-D2ZYRI7M.js} +172 -3
- package/node_modules/pi-lens/dist/{chunk-HIUVHRLM.js → chunk-D6ANA6YU.js} +20 -22
- package/node_modules/pi-lens/dist/{chunk-YUF4DRYB.js → chunk-D7OEGXDX.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-AOQKQWZU.js → chunk-DFAY7JUN.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-QUZYRDT6.js → chunk-DIIDMDZU.js} +6 -6
- package/node_modules/pi-lens/dist/{chunk-QBUSONNE.js → chunk-DZSQXG66.js} +45 -27
- package/node_modules/pi-lens/dist/{chunk-UY3WWW5R.js → chunk-E5SSUV2A.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-DNB4ZQGN.js → chunk-ET3DSSFZ.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-4WWPDMRA.js → chunk-F7AMFFVK.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-LHCDWFDB.js → chunk-FDLGJFAE.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-C4ICGFEO.js → chunk-FVQKX5KI.js} +12 -12
- package/node_modules/pi-lens/dist/{chunk-TRYOYWWU.js → chunk-G3LR6V6N.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-AVOUHMCS.js → chunk-GHATCG2A.js} +10 -10
- package/node_modules/pi-lens/dist/{chunk-R2UF54ON.js → chunk-HJWF7CGW.js} +9 -9
- package/node_modules/pi-lens/dist/chunk-HRQTYU2T.js +355 -0
- package/node_modules/pi-lens/dist/{chunk-NR4KQOXZ.js → chunk-HSTN27NR.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-YVPB5YGO.js → chunk-HWMNTQBJ.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-6XNVY3FW.js → chunk-HYDJUVOE.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-WXMUGUZV.js → chunk-HYR25MV3.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-AJ62EQIQ.js → chunk-IC4L65U7.js} +12 -9
- package/node_modules/pi-lens/dist/{chunk-R2VUZZPJ.js → chunk-ILC2B7IJ.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-E6Z3CJT2.js → chunk-IZ36G463.js} +5 -5
- package/node_modules/pi-lens/dist/{chunk-IBEYUBCM.js → chunk-JKAVKTMY.js} +6 -6
- package/node_modules/pi-lens/dist/{chunk-LHU6NG5Z.js → chunk-JLMS7EMD.js} +8 -8
- package/node_modules/pi-lens/dist/{chunk-6RXMQYNU.js → chunk-JRSS6KM4.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-HASJPQBC.js → chunk-K2LD6YNH.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-UQ6OZYTO.js → chunk-KUDUKKQE.js} +43 -45
- package/node_modules/pi-lens/dist/{chunk-34RXPR7M.js → chunk-KXDQD34C.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-QDZ3ZZMY.js → chunk-LD7SXICE.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-NQFXN5U7.js → chunk-MOEWCPMC.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-IJ55MYO6.js → chunk-MV6ST2KT.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-532X3OCZ.js → chunk-NCDH2JB7.js} +7 -9
- package/node_modules/pi-lens/dist/{chunk-ITAPXBIB.js → chunk-NRVWLTOY.js} +9 -9
- package/node_modules/pi-lens/dist/{chunk-DPDA3ILA.js → chunk-NZINZCHB.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-A4HKPAEN.js → chunk-OEPWTSUG.js} +6 -6
- package/node_modules/pi-lens/dist/{chunk-TBE4OLPA.js → chunk-OF2YGDUE.js} +21 -23
- package/node_modules/pi-lens/dist/{chunk-BLL4VYGZ.js → chunk-OHEUOWYT.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-PSUXESQ5.js → chunk-ORYQGVC3.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-FVEEEEIM.js → chunk-OVPR3GQ6.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-BN36MQW5.js → chunk-PCREZ4HJ.js} +20 -22
- package/node_modules/pi-lens/dist/{chunk-KNP4ENFT.js → chunk-PK3GDU4M.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-2SD2CGVH.js → chunk-PPYUBO6Y.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-4HNBY7S7.js → chunk-PTJXMYRY.js} +7 -9
- package/node_modules/pi-lens/dist/{chunk-VI3BJMZO.js → chunk-PXGVB2CY.js} +14 -18
- package/node_modules/pi-lens/dist/{chunk-3C6ZZAB2.js → chunk-QY6J2FTK.js} +10 -12
- package/node_modules/pi-lens/dist/{chunk-5RLEDUUE.js → chunk-R67WQ5RY.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-WMCAEP2K.js → chunk-S6ZQFPOX.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-LPM6NKVI.js → chunk-SF7KSXB5.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-ECYUBKYX.js → chunk-T6PPK3T6.js} +40 -37
- package/node_modules/pi-lens/dist/{chunk-RV5VX2XW.js → chunk-TM3A3K7T.js} +8 -9
- package/node_modules/pi-lens/dist/{chunk-AFNPNHJV.js → chunk-TOOXNL6M.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-BJDB7PXU.js → chunk-TS5EIWEF.js} +6 -6
- package/node_modules/pi-lens/dist/{chunk-UG4YLCJ5.js → chunk-VD7MQFEV.js} +21 -23
- package/node_modules/pi-lens/dist/{chunk-BBJXIZ3X.js → chunk-VU2PRGRI.js} +5 -34
- package/node_modules/pi-lens/dist/{chunk-GTNO6F6K.js → chunk-WTSQKJAR.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-TPMBNWHO.js → chunk-Y7XMKBFP.js} +16 -16
- package/node_modules/pi-lens/dist/{chunk-JSQK5DH3.js → chunk-YLHJWAQS.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-HTUG7ZFK.js → chunk-YLW26OHX.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-C2REOMPO.js → chunk-YTXFNCVN.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-F37CCZUA.js → chunk-YULIERZW.js} +8 -8
- package/node_modules/pi-lens/dist/{chunk-KX4DF6XX.js → chunk-Z2W5YJBW.js} +6 -6
- package/node_modules/pi-lens/dist/{chunk-DBAHJFBU.js → chunk-Z6WTLVUL.js} +13 -18
- package/node_modules/pi-lens/dist/{chunk-6K4X7IIF.js → chunk-ZWZD4TJ5.js} +23 -25
- package/node_modules/pi-lens/dist/index.js +1134 -618
- package/node_modules/pi-lens/dist/mcp/analyze-cli.js +5 -7
- package/node_modules/pi-lens/dist/mcp/cli.js +25 -27
- package/node_modules/pi-lens/dist/mcp/server.js +101 -100
- package/node_modules/pi-lens/dist/mcp/worker.js +43 -45
- package/node_modules/pi-lens/dist/probes/installer.js +11 -11
- package/node_modules/pi-lens/docs/agent-tools.md +54 -12
- package/node_modules/pi-lens/docs/configuration.md +3 -3
- package/node_modules/pi-lens/docs/globalconfig.md +8 -1
- package/node_modules/pi-lens/docs/invariants/lsp-trust-exec.md +7 -0
- package/node_modules/pi-lens/docs/mcp.md +2 -1
- package/node_modules/pi-lens/docs/usage.md +1 -1
- package/node_modules/pi-lens/package.json +1 -1
- package/package.json +7 -7
- package/node_modules/@narumitw/pi-btw/dist/chunks/main-tree-picker-WHRN26NJ.ts.map +0 -7
- package/node_modules/pi-lens/dist/chunk-3HZ6MNB2.js +0 -140
- package/node_modules/pi-lens/dist/chunk-43KD3PPM.js +0 -162
- package/node_modules/pi-lens/dist/chunk-CKEQFGLT.js +0 -32
|
@@ -9,13 +9,7 @@ import {
|
|
|
9
9
|
import {
|
|
10
10
|
OPENGREP_REGISTRY_PACK_URL,
|
|
11
11
|
cachedOpengrepPackPath
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import {
|
|
14
|
-
HOOK_WALL_BUDGET_MS
|
|
15
|
-
} from "./chunk-CKEQFGLT.js";
|
|
16
|
-
import {
|
|
17
|
-
bounded
|
|
18
|
-
} from "./chunk-3HZ6MNB2.js";
|
|
12
|
+
} from "./chunk-PK3GDU4M.js";
|
|
19
13
|
import {
|
|
20
14
|
acquireManagedInstallGate,
|
|
21
15
|
commitDurableStoreAsync,
|
|
@@ -29,23 +23,23 @@ import {
|
|
|
29
23
|
refreshManagedTool,
|
|
30
24
|
resolveManagedNpmBinPath,
|
|
31
25
|
verifyToolBinary
|
|
32
|
-
} from "./chunk-
|
|
33
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-NRVWLTOY.js";
|
|
27
|
+
import "./chunk-YLHJWAQS.js";
|
|
34
28
|
import {
|
|
35
29
|
pmBinary,
|
|
36
30
|
resolveNodePackageManager,
|
|
37
31
|
updateArgs
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import "./chunk-
|
|
32
|
+
} from "./chunk-OVPR3GQ6.js";
|
|
33
|
+
import "./chunk-3QMLB4TI.js";
|
|
40
34
|
import "./chunk-UYXV5NIS.js";
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-AVBEPUCD.js";
|
|
36
|
+
import "./chunk-75TVYCQW.js";
|
|
37
|
+
import "./chunk-KXDQD34C.js";
|
|
38
|
+
import "./chunk-3PMLYGJN.js";
|
|
39
|
+
import "./chunk-YTXFNCVN.js";
|
|
46
40
|
import {
|
|
47
41
|
safeSpawnAsync
|
|
48
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-ET3DSSFZ.js";
|
|
49
43
|
import "./chunk-B4FAFEBP.js";
|
|
50
44
|
import "./chunk-QYF5S6P6.js";
|
|
51
45
|
import "./chunk-SRXYSLMW.js";
|
|
@@ -55,8 +49,10 @@ import {
|
|
|
55
49
|
hashContentBytes
|
|
56
50
|
} from "./chunk-CIA7X2PZ.js";
|
|
57
51
|
import {
|
|
52
|
+
HOOK_WALL_BUDGET_MS,
|
|
53
|
+
bounded,
|
|
58
54
|
writeFileAtomicAsync
|
|
59
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-HRQTYU2T.js";
|
|
60
56
|
import {
|
|
61
57
|
recordDegradationOnce
|
|
62
58
|
} from "./chunk-AGEQRJ5A.js";
|
|
@@ -11,11 +11,11 @@ import {
|
|
|
11
11
|
getLSPService,
|
|
12
12
|
isLspRequestTimeoutError,
|
|
13
13
|
rankFilesByReverseDependencyCentrality
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-DZSQXG66.js";
|
|
15
15
|
import {
|
|
16
16
|
notePersistWorkerMessageFault,
|
|
17
17
|
readWorkerHeapStatistics
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-YLW26OHX.js";
|
|
19
19
|
import {
|
|
20
20
|
buildQualifiedName,
|
|
21
21
|
findOwnerName
|
|
@@ -31,33 +31,30 @@ import {
|
|
|
31
31
|
resolveProjectReferenceImport,
|
|
32
32
|
resolveWorkspacePackageImport,
|
|
33
33
|
symbolExtractionGrammar
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-NCDH2JB7.js";
|
|
35
35
|
import {
|
|
36
36
|
classifyTreeSitterWasmError,
|
|
37
37
|
getSharedTreeSitterClient,
|
|
38
38
|
logTreeSitterCacheStats,
|
|
39
39
|
withTreeSitterRoot
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-6GWCYEP7.js";
|
|
41
41
|
import {
|
|
42
42
|
getReviewGraphMaxFilesDerived
|
|
43
43
|
} from "./chunk-IT7MFVGP.js";
|
|
44
|
-
import {
|
|
45
|
-
withBudget
|
|
46
|
-
} from "./chunk-3HZ6MNB2.js";
|
|
47
44
|
import {
|
|
48
45
|
readGzipStageWorkerResult,
|
|
49
46
|
reapStageFile
|
|
50
47
|
} from "./chunk-IJYGIDF4.js";
|
|
51
48
|
import {
|
|
52
49
|
collectSourceFilesWithBudgetAsync
|
|
53
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-3PMLYGJN.js";
|
|
54
51
|
import {
|
|
55
52
|
collectUntrackedIgnoredIds,
|
|
56
53
|
createGitIdentityResolver,
|
|
57
54
|
getProjectDataDir,
|
|
58
55
|
isStaleStageFile,
|
|
59
56
|
resolveGitIdentity
|
|
60
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-ET3DSSFZ.js";
|
|
61
58
|
import {
|
|
62
59
|
KIND_EXTENSIONS,
|
|
63
60
|
detectFileKind
|
|
@@ -70,8 +67,9 @@ import {
|
|
|
70
67
|
hashFileBytes
|
|
71
68
|
} from "./chunk-CIA7X2PZ.js";
|
|
72
69
|
import {
|
|
70
|
+
withBudget,
|
|
73
71
|
writeFileAtomic
|
|
74
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-HRQTYU2T.js";
|
|
75
73
|
import {
|
|
76
74
|
compareOrdinal,
|
|
77
75
|
escapeRegExp,
|
|
@@ -2488,8 +2486,8 @@ async function ensureReviewGraphFacts(filePath, cwd, facts, contentOverride) {
|
|
|
2488
2486
|
}
|
|
2489
2487
|
try {
|
|
2490
2488
|
const [{ importFactProvider }, { functionFactProvider }] = await Promise.all([
|
|
2491
|
-
import("./chunk-
|
|
2492
|
-
import("./chunk-
|
|
2489
|
+
import("./chunk-7KWI5UHL.js"),
|
|
2490
|
+
import("./chunk-TM3A3K7T.js")
|
|
2493
2491
|
]);
|
|
2494
2492
|
await importFactProvider.run(ctx, facts);
|
|
2495
2493
|
await functionFactProvider.run(ctx, facts);
|
|
@@ -1,15 +1,15 @@
|
|
|
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-7BEADGAZ.js";
|
|
5
5
|
import {
|
|
6
6
|
isTestRoleCollateral
|
|
7
7
|
} from "./chunk-ME6MF2N2.js";
|
|
8
8
|
import "./chunk-3MED75HT.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-ET3DSSFZ.js";
|
|
10
10
|
import "./chunk-6EIV3H7O.js";
|
|
11
11
|
import "./chunk-3R3Z54J7.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-HRQTYU2T.js";
|
|
13
13
|
import "./chunk-AGEQRJ5A.js";
|
|
14
14
|
import "./chunk-S26LC76R.js";
|
|
15
15
|
import "./chunk-K2GV34T2.js";
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
shouldRecurseIntoDir,
|
|
7
7
|
walkTreeStackAsync,
|
|
8
8
|
walkTreeStackSync
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YTXFNCVN.js";
|
|
10
10
|
import {
|
|
11
11
|
getProjectIgnoreMatcher
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ET3DSSFZ.js";
|
|
13
13
|
import {
|
|
14
14
|
isJstsFactFile
|
|
15
15
|
} from "./chunk-SRXYSLMW.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
|
getProjectDataDir
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ET3DSSFZ.js";
|
|
5
5
|
import "./chunk-6EIV3H7O.js";
|
|
6
6
|
import "./chunk-3R3Z54J7.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-HRQTYU2T.js";
|
|
8
8
|
import "./chunk-AGEQRJ5A.js";
|
|
9
9
|
import "./chunk-S26LC76R.js";
|
|
10
10
|
import {
|
|
@@ -2,17 +2,17 @@ import { createRequire as __pilensCreateRequire } from "node:module"; const requ
|
|
|
2
2
|
import {
|
|
3
3
|
getLazyInstallAttempt,
|
|
4
4
|
tryLazyInstall
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-6EXGCXM5.js";
|
|
6
6
|
import {
|
|
7
7
|
computeImpactCascade
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-JRSS6KM4.js";
|
|
9
9
|
import {
|
|
10
10
|
goClient
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-MOEWCPMC.js";
|
|
12
12
|
import {
|
|
13
13
|
isTrivyEnabled,
|
|
14
14
|
resolveSeverityFloor
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-HYR25MV3.js";
|
|
16
16
|
import {
|
|
17
17
|
faultIfCutShort,
|
|
18
18
|
finishParsedRun,
|
|
@@ -22,10 +22,10 @@ import {
|
|
|
22
22
|
skipUnlessToolRan,
|
|
23
23
|
spawnFailedWithNoOutput,
|
|
24
24
|
spawnTimedOut
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-FDLGJFAE.js";
|
|
26
26
|
import {
|
|
27
27
|
rustClient
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-2HWVG3IM.js";
|
|
29
29
|
import {
|
|
30
30
|
coveringLaneAvailable,
|
|
31
31
|
createAvailabilityChecker,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
resolveToolCommand,
|
|
40
40
|
resolveToolCommandWithInstallFallback,
|
|
41
41
|
resolveVendorToolCommand
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-BEIPWPVR.js";
|
|
43
43
|
import {
|
|
44
44
|
biomeConfigArgs,
|
|
45
45
|
findCompiledClassesDir,
|
|
@@ -61,21 +61,21 @@ import {
|
|
|
61
61
|
markdownlintConfigArgs,
|
|
62
62
|
readFileContent,
|
|
63
63
|
ruffConfigArgs
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-D7OEGXDX.js";
|
|
65
65
|
import {
|
|
66
66
|
importFactProvider
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-3MHY4BQY.js";
|
|
68
68
|
import {
|
|
69
69
|
functionFactProvider
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-VU2PRGRI.js";
|
|
71
71
|
import {
|
|
72
72
|
extractFactsFromTree
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-OHEUOWYT.js";
|
|
74
74
|
import {
|
|
75
75
|
buildOrUpdateGraph,
|
|
76
76
|
clearReviewGraphWorkspaceCache,
|
|
77
77
|
fileContentProvider
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-QY6J2FTK.js";
|
|
79
79
|
import {
|
|
80
80
|
MAX_BLOCKING_RULE_COMPLEXITY,
|
|
81
81
|
PRIMARY_UNAVAILABLE_CAUSE,
|
|
@@ -112,13 +112,13 @@ import {
|
|
|
112
112
|
tryWarmAttachedCodeActions,
|
|
113
113
|
tryWarmAttachedDiagnostics,
|
|
114
114
|
warmAnswerBinding
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-DZSQXG66.js";
|
|
116
116
|
import {
|
|
117
117
|
ANY_POSITION,
|
|
118
118
|
displayedMessage,
|
|
119
119
|
hashText,
|
|
120
120
|
retainRecordedFindings
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-DFAY7JUN.js";
|
|
122
122
|
import {
|
|
123
123
|
mapWithConcurrency
|
|
124
124
|
} from "./chunk-XIMYZ3JA.js";
|
|
@@ -134,7 +134,7 @@ import {
|
|
|
134
134
|
resolveSessionConfigRoot,
|
|
135
135
|
resolveShellFileDialect,
|
|
136
136
|
runnerIdentityPopulated
|
|
137
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-Z6WTLVUL.js";
|
|
138
138
|
import {
|
|
139
139
|
augmentPythonEnvironment,
|
|
140
140
|
describePythonCompileWithheld,
|
|
@@ -143,7 +143,7 @@ import {
|
|
|
143
143
|
emitBounded,
|
|
144
144
|
partitionOutrankedPythonCompileVerdicts,
|
|
145
145
|
recordPythonCompileVerdictDrop
|
|
146
|
-
} from "./chunk-
|
|
146
|
+
} from "./chunk-5EEWCJG7.js";
|
|
147
147
|
import {
|
|
148
148
|
scannerReportParentDir
|
|
149
149
|
} from "./chunk-QJ4T73J5.js";
|
|
@@ -151,17 +151,17 @@ import {
|
|
|
151
151
|
loadProjectSnapshot,
|
|
152
152
|
readJsonCache,
|
|
153
153
|
readJsonCacheAsync
|
|
154
|
-
} from "./chunk-
|
|
154
|
+
} from "./chunk-YLW26OHX.js";
|
|
155
155
|
import {
|
|
156
156
|
RUNTIME_CONFIG,
|
|
157
157
|
exceedsLspSyncLimits,
|
|
158
158
|
getRunnerTimeoutFloorMs,
|
|
159
159
|
loadAstGrepNapi
|
|
160
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-NCDH2JB7.js";
|
|
161
161
|
import {
|
|
162
162
|
buildModuleGraph,
|
|
163
163
|
clearModuleGraphCache
|
|
164
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-HYDJUVOE.js";
|
|
165
165
|
import {
|
|
166
166
|
BUNDLED_QUERIES_ROOT,
|
|
167
167
|
classifyTreeSitterWasmError,
|
|
@@ -181,7 +181,7 @@ import {
|
|
|
181
181
|
ruleFilesForLanguage,
|
|
182
182
|
ruleSourceLanguages,
|
|
183
183
|
walk
|
|
184
|
-
} from "./chunk-
|
|
184
|
+
} from "./chunk-6GWCYEP7.js";
|
|
185
185
|
import {
|
|
186
186
|
resolvePackagePath
|
|
187
187
|
} from "./chunk-E3PNZDPH.js";
|
|
@@ -196,7 +196,7 @@ import {
|
|
|
196
196
|
scheduleWordIndexPersist,
|
|
197
197
|
setWordIndexPublishedListener,
|
|
198
198
|
updateWordIndexDocumentForEdit
|
|
199
|
-
} from "./chunk-
|
|
199
|
+
} from "./chunk-6JLNZ6DP.js";
|
|
200
200
|
import {
|
|
201
201
|
isTypeScriptFile
|
|
202
202
|
} from "./chunk-AYDE7RFV.js";
|
|
@@ -222,31 +222,28 @@ import {
|
|
|
222
222
|
import {
|
|
223
223
|
WARM_CODE_ACTION_LOOKUP_LIMIT,
|
|
224
224
|
contentHash
|
|
225
|
-
} from "./chunk-
|
|
225
|
+
} from "./chunk-HWMNTQBJ.js";
|
|
226
226
|
import {
|
|
227
227
|
resolveRunnerPath,
|
|
228
228
|
toRunnerDisplayPath
|
|
229
229
|
} from "./chunk-ZRQMENT4.js";
|
|
230
|
-
import {
|
|
231
|
-
withBudget
|
|
232
|
-
} from "./chunk-3HZ6MNB2.js";
|
|
233
230
|
import {
|
|
234
231
|
findCommandOnPath,
|
|
235
232
|
isSpawnableCommand
|
|
236
|
-
} from "./chunk-
|
|
233
|
+
} from "./chunk-NRVWLTOY.js";
|
|
237
234
|
import {
|
|
238
235
|
logRunnerAdvisoryOnce,
|
|
239
236
|
resolveRunnerCwd,
|
|
240
237
|
resolveRunnerCwdWithReason
|
|
241
|
-
} from "./chunk-
|
|
238
|
+
} from "./chunk-YLHJWAQS.js";
|
|
242
239
|
import {
|
|
243
240
|
findLocalBinUpwards,
|
|
244
241
|
localBinPath
|
|
245
|
-
} from "./chunk-
|
|
242
|
+
} from "./chunk-OVPR3GQ6.js";
|
|
246
243
|
import {
|
|
247
244
|
getIsolatedNpxSpawnOptions,
|
|
248
245
|
probeToolAsync
|
|
249
|
-
} from "./chunk-
|
|
246
|
+
} from "./chunk-3QMLB4TI.js";
|
|
250
247
|
import {
|
|
251
248
|
classifyProbeFailure,
|
|
252
249
|
createAvailabilityLatch,
|
|
@@ -255,12 +252,12 @@ import {
|
|
|
255
252
|
isLatchingOutcome,
|
|
256
253
|
logAvailabilityDecision,
|
|
257
254
|
startHostStallSampler
|
|
258
|
-
} from "./chunk-
|
|
255
|
+
} from "./chunk-AVBEPUCD.js";
|
|
259
256
|
import {
|
|
260
257
|
getLspCapableKinds,
|
|
261
258
|
getPrimaryDispatchGroup,
|
|
262
259
|
resolveLanguageRootForFile
|
|
263
|
-
} from "./chunk-
|
|
260
|
+
} from "./chunk-75TVYCQW.js";
|
|
264
261
|
import {
|
|
265
262
|
getGlobalPiLensDir,
|
|
266
263
|
getProjectDataDir,
|
|
@@ -271,7 +268,7 @@ import {
|
|
|
271
268
|
realIsPidAlive,
|
|
272
269
|
resolvePiLensFlag,
|
|
273
270
|
safeSpawnAsync
|
|
274
|
-
} from "./chunk-
|
|
271
|
+
} from "./chunk-ET3DSSFZ.js";
|
|
275
272
|
import {
|
|
276
273
|
DOTNET_CSHARP_PROJECT_MARKERS,
|
|
277
274
|
DOTNET_CSHARP_SOLUTION_MARKERS,
|
|
@@ -300,8 +297,9 @@ import {
|
|
|
300
297
|
killedForOutputCap,
|
|
301
298
|
projectTrustDenialReason,
|
|
302
299
|
truncatedByOutputCap,
|
|
300
|
+
withBudget,
|
|
303
301
|
writeFileAtomic
|
|
304
|
-
} from "./chunk-
|
|
302
|
+
} from "./chunk-HRQTYU2T.js";
|
|
305
303
|
import {
|
|
306
304
|
createSubsystemLogger,
|
|
307
305
|
incrementDegradationCount,
|
|
@@ -2196,6 +2194,7 @@ function pendingRunnerFindingsSize() {
|
|
|
2196
2194
|
|
|
2197
2195
|
// dist/clients/dispatch/adopted-root-runners.js
|
|
2198
2196
|
var ADOPTED_ROOT_RUNNER_ALLOWLIST = [
|
|
2197
|
+
"lsp",
|
|
2199
2198
|
"fish-indent",
|
|
2200
2199
|
"php-lint"
|
|
2201
2200
|
];
|
|
@@ -2822,7 +2821,11 @@ function buildCoverageNotice(ctx, runnerLatencies, dedupe) {
|
|
|
2822
2821
|
const deniedRunnerIds = relevant.filter((r) => r.skipReason === DISABLED_BY_CONFIG_SKIP_REASON).map((r) => r.runnerId);
|
|
2823
2822
|
const deniedNote = `${deniedRunnerIds.join(", ")} disabled in config by dispatch.disabledRunners`;
|
|
2824
2823
|
const onlySwitchedOff = relevant.every((r) => r.skipReason === DISABLED_BY_CONFIG_SKIP_REASON || isNotApplicableSkipReason(r.skipReason) || r.primaryUnavailableCause === "disabled" || r.primaryUnavailableCause === "disabledFallback");
|
|
2825
|
-
const
|
|
2824
|
+
const unavailableReason = cause ? `no primary language server answered (${PRIMARY_UNAVAILABLE_CAUSE[cause]})${deniedRunnerIds.length > 0 ? `; ${deniedNote}` : ""}` : deniedRunnerIds.length > 0 ? onlySwitchedOff ? `not checked (${deniedNote})` : `not fully checked (a language tool is missing, timed out, or failed to run; ${deniedNote})` : "not fully checked (a language tool is missing, timed out, or failed to run)";
|
|
2825
|
+
const verdict = unchecked(unavailableReason);
|
|
2826
|
+
if (ctx.analysisRootMode === "adopted") {
|
|
2827
|
+
return { verdict: unchecked(`not analyzed (${unavailableReason})`) };
|
|
2828
|
+
}
|
|
2826
2829
|
if (onlySwitchedOff && (cause === "disabled" || cause === "disabledFallback" || cause === void 0 && deniedRunnerIds.length > 0)) {
|
|
2827
2830
|
const disabledIds = [
|
|
2828
2831
|
...new Set(relevant.flatMap((r) => r.disabledPrimaryServerIds ?? []))
|
|
@@ -3394,14 +3397,14 @@ async function dispatchForFile(ctx, groups, registry, onRunnerResult, options) {
|
|
|
3394
3397
|
provider: ctx.telemetryProvider
|
|
3395
3398
|
};
|
|
3396
3399
|
if (fixedItems.length > 0) {
|
|
3397
|
-
import("./chunk-
|
|
3400
|
+
import("./chunk-SF7KSXB5.js").then(({ appendToWorklog }) => {
|
|
3398
3401
|
appendToWorklog(ctx.cwd, fixedItems, true, worklogIdentity);
|
|
3399
3402
|
}).catch(() => {
|
|
3400
3403
|
});
|
|
3401
3404
|
}
|
|
3402
3405
|
const fixableWarnings = warnings.filter((d) => d.fixable);
|
|
3403
3406
|
if (fixableWarnings.length > 0) {
|
|
3404
|
-
import("./chunk-
|
|
3407
|
+
import("./chunk-SF7KSXB5.js").then(({ appendToWorklog }) => {
|
|
3405
3408
|
appendToWorklog(ctx.cwd, fixableWarnings, false, worklogIdentity);
|
|
3406
3409
|
}).catch(() => {
|
|
3407
3410
|
});
|
|
@@ -9569,7 +9572,7 @@ var pyrightRunner = {
|
|
|
9569
9572
|
cmd = installedPath;
|
|
9570
9573
|
}
|
|
9571
9574
|
if (!cmd) {
|
|
9572
|
-
const { findCommandAsync } = await import("./chunk-
|
|
9575
|
+
const { findCommandAsync } = await import("./chunk-5KLRCUDT.js");
|
|
9573
9576
|
const foundCmd = await findCommandAsync("pyright");
|
|
9574
9577
|
if (foundCmd)
|
|
9575
9578
|
cmd = foundCmd;
|
|
@@ -1,23 +1,22 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
functionFactProvider
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-VU2PRGRI.js";
|
|
5
|
+
import "./chunk-D2ZYRI7M.js";
|
|
6
|
+
import "./chunk-OHEUOWYT.js";
|
|
7
7
|
import "./chunk-5W3R6LFT.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-6GWCYEP7.js";
|
|
9
9
|
import "./chunk-Z54ZSOBZ.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-7M64NTAK.js";
|
|
11
11
|
import "./chunk-E3PNZDPH.js";
|
|
12
12
|
import "./chunk-AYDE7RFV.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-DNB4ZQGN.js";
|
|
13
|
+
import "./chunk-AVBEPUCD.js";
|
|
14
|
+
import "./chunk-ET3DSSFZ.js";
|
|
16
15
|
import "./chunk-SRXYSLMW.js";
|
|
17
16
|
import "./chunk-6EIV3H7O.js";
|
|
18
17
|
import "./chunk-3R3Z54J7.js";
|
|
19
18
|
import "./chunk-CIA7X2PZ.js";
|
|
20
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-HRQTYU2T.js";
|
|
21
20
|
import "./chunk-AGEQRJ5A.js";
|
|
22
21
|
import "./chunk-S26LC76R.js";
|
|
23
22
|
import "./chunk-K2GV34T2.js";
|
|
@@ -7,12 +7,12 @@ import {
|
|
|
7
7
|
loadCallGraph,
|
|
8
8
|
parseSymbolKey,
|
|
9
9
|
saveCallGraph
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7BEADGAZ.js";
|
|
11
11
|
import "./chunk-3MED75HT.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-ET3DSSFZ.js";
|
|
13
13
|
import "./chunk-6EIV3H7O.js";
|
|
14
14
|
import "./chunk-3R3Z54J7.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-HRQTYU2T.js";
|
|
16
16
|
import "./chunk-AGEQRJ5A.js";
|
|
17
17
|
import "./chunk-S26LC76R.js";
|
|
18
18
|
import "./chunk-K2GV34T2.js";
|
|
@@ -3,15 +3,15 @@ import {
|
|
|
3
3
|
GoClient,
|
|
4
4
|
goClient,
|
|
5
5
|
resetGoAvailability
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-MOEWCPMC.js";
|
|
7
|
+
import "./chunk-E5SSUV2A.js";
|
|
8
|
+
import "./chunk-3QMLB4TI.js";
|
|
9
|
+
import "./chunk-AVBEPUCD.js";
|
|
10
|
+
import "./chunk-ET3DSSFZ.js";
|
|
11
11
|
import "./chunk-B4FAFEBP.js";
|
|
12
12
|
import "./chunk-6EIV3H7O.js";
|
|
13
13
|
import "./chunk-3R3Z54J7.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-HRQTYU2T.js";
|
|
15
15
|
import "./chunk-AGEQRJ5A.js";
|
|
16
16
|
import "./chunk-S26LC76R.js";
|
|
17
17
|
import "./chunk-K2GV34T2.js";
|
|
@@ -3,47 +3,45 @@ import {
|
|
|
3
3
|
DependencyChecker,
|
|
4
4
|
buildMadgeArgs,
|
|
5
5
|
resetMadgeManagedPathMemo
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-IZ36G463.js";
|
|
7
|
+
import "./chunk-BEIPWPVR.js";
|
|
8
|
+
import "./chunk-D7OEGXDX.js";
|
|
9
9
|
import {
|
|
10
10
|
mapWithConcurrency
|
|
11
11
|
} from "./chunk-XIMYZ3JA.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-Z6WTLVUL.js";
|
|
13
|
+
import "./chunk-PPYUBO6Y.js";
|
|
14
|
+
import "./chunk-5EEWCJG7.js";
|
|
15
15
|
import "./chunk-QJ4T73J5.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-YLW26OHX.js";
|
|
17
17
|
import "./chunk-7424ANRU.js";
|
|
18
18
|
import "./chunk-SUIZOCSY.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-7M64NTAK.js";
|
|
20
20
|
import "./chunk-E3PNZDPH.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-LXE7JAMV.js";
|
|
21
|
+
import "./chunk-PK3GDU4M.js";
|
|
22
|
+
import "./chunk-6JLNZ6DP.js";
|
|
24
23
|
import "./chunk-IT7MFVGP.js";
|
|
25
24
|
import "./chunk-AYDE7RFV.js";
|
|
26
|
-
import "./chunk-3HZ6MNB2.js";
|
|
27
25
|
import "./chunk-2BEMIWEW.js";
|
|
28
26
|
import "./chunk-IJYGIDF4.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-NRVWLTOY.js";
|
|
28
|
+
import "./chunk-YLHJWAQS.js";
|
|
29
|
+
import "./chunk-OVPR3GQ6.js";
|
|
30
|
+
import "./chunk-3QMLB4TI.js";
|
|
33
31
|
import "./chunk-UYXV5NIS.js";
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-AVBEPUCD.js";
|
|
33
|
+
import "./chunk-75TVYCQW.js";
|
|
34
|
+
import "./chunk-KXDQD34C.js";
|
|
35
|
+
import "./chunk-3PMLYGJN.js";
|
|
36
|
+
import "./chunk-YTXFNCVN.js";
|
|
37
|
+
import "./chunk-ET3DSSFZ.js";
|
|
40
38
|
import "./chunk-B4FAFEBP.js";
|
|
41
39
|
import "./chunk-QYF5S6P6.js";
|
|
42
40
|
import "./chunk-SRXYSLMW.js";
|
|
43
41
|
import "./chunk-6EIV3H7O.js";
|
|
44
42
|
import "./chunk-3R3Z54J7.js";
|
|
45
43
|
import "./chunk-CIA7X2PZ.js";
|
|
46
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-HRQTYU2T.js";
|
|
47
45
|
import "./chunk-AGEQRJ5A.js";
|
|
48
46
|
import "./chunk-S26LC76R.js";
|
|
49
47
|
import "./chunk-K2GV34T2.js";
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
|
+
functionName,
|
|
3
4
|
measureFunction
|
|
4
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-D2ZYRI7M.js";
|
|
5
6
|
import {
|
|
6
7
|
extractFactsFromTree
|
|
7
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-OHEUOWYT.js";
|
|
8
9
|
import {
|
|
9
10
|
findOwnerName
|
|
10
11
|
} from "./chunk-5W3R6LFT.js";
|
|
11
12
|
import {
|
|
12
13
|
firstChildOfType,
|
|
13
14
|
walk
|
|
14
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-6GWCYEP7.js";
|
|
15
16
|
import {
|
|
16
17
|
isJstsFactFile
|
|
17
18
|
} from "./chunk-SRXYSLMW.js";
|
|
@@ -58,36 +59,6 @@ function getParameters(node) {
|
|
|
58
59
|
function parameterName(param) {
|
|
59
60
|
return param.type === "identifier" ? param.text : firstNamedChild(param)?.text ?? "";
|
|
60
61
|
}
|
|
61
|
-
function getFunctionName(node) {
|
|
62
|
-
if (node.type === "function_declaration") {
|
|
63
|
-
return firstChildOfType(node, "identifier")?.text ?? "<anonymous>";
|
|
64
|
-
}
|
|
65
|
-
if (node.type === "method_definition") {
|
|
66
|
-
const kids = node.children ?? [];
|
|
67
|
-
const paramsIdx = kids.findIndex((c) => c?.type === "formal_parameters");
|
|
68
|
-
for (let i = paramsIdx - 1; i >= 0; i -= 1) {
|
|
69
|
-
const t = kids[i]?.type;
|
|
70
|
-
if (t === "property_identifier" || t === "private_property_identifier" || t === "computed_property_name" || t === "string" || t === "number") {
|
|
71
|
-
return kids[i].text;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
return "<anonymous>";
|
|
75
|
-
}
|
|
76
|
-
if (node.type === "arrow_function" || node.type === "function_expression") {
|
|
77
|
-
const parent = node.parent;
|
|
78
|
-
if (parent?.type === "variable_declarator") {
|
|
79
|
-
const id = firstChildOfType(parent, "identifier");
|
|
80
|
-
if (id)
|
|
81
|
-
return id.text;
|
|
82
|
-
} else if (parent?.type === "pair") {
|
|
83
|
-
const key = (parent.children ?? [])[0];
|
|
84
|
-
if (key)
|
|
85
|
-
return key.text;
|
|
86
|
-
}
|
|
87
|
-
return "<anonymous>";
|
|
88
|
-
}
|
|
89
|
-
return "<unknown>";
|
|
90
|
-
}
|
|
91
62
|
function isCallPassThrough(stmt, paramNames) {
|
|
92
63
|
if (stmt.type !== "return_statement")
|
|
93
64
|
return { pass: false };
|
|
@@ -205,7 +176,7 @@ var functionFactProvider = {
|
|
|
205
176
|
const isBoundaryWrapper = BOUNDARY_PREFIXES.some((prefix) => lowerTarget.startsWith(prefix));
|
|
206
177
|
const bodySummary = summarizeBody(node, params);
|
|
207
178
|
summaries.push({
|
|
208
|
-
name:
|
|
179
|
+
name: functionName(node) ?? "<anonymous>",
|
|
209
180
|
line: node.startPosition.row + 1,
|
|
210
181
|
column: node.startPosition.column + 1,
|
|
211
182
|
endLine: body.endPosition.row + 1,
|
|
@@ -2,15 +2,15 @@ import { createRequire as __pilensCreateRequire } from "node:module"; const requ
|
|
|
2
2
|
import {
|
|
3
3
|
computeImpactCascade,
|
|
4
4
|
computeTransitiveImpact
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-JRSS6KM4.js";
|
|
6
6
|
import "./chunk-PKLB2XJL.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-HYDJUVOE.js";
|
|
8
8
|
import "./chunk-SUIZOCSY.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-ET3DSSFZ.js";
|
|
10
10
|
import "./chunk-SRXYSLMW.js";
|
|
11
11
|
import "./chunk-6EIV3H7O.js";
|
|
12
12
|
import "./chunk-3R3Z54J7.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-HRQTYU2T.js";
|
|
14
14
|
import "./chunk-AGEQRJ5A.js";
|
|
15
15
|
import "./chunk-S26LC76R.js";
|
|
16
16
|
import "./chunk-K2GV34T2.js";
|