pi-lens 4.4.5 → 4.4.7
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 +120 -0
- package/README.md +37 -1
- package/config/biome/core.jsonc +3 -3
- package/dist/{chunk-6XSESGWD.js → chunk-24BILSZW.js} +2 -2
- package/dist/{chunk-YXDCRUKQ.js → chunk-2PHMIAKO.js} +4 -4
- package/dist/{chunk-EN5AM7PX.js → chunk-2TF6RXWB.js} +10 -10
- package/dist/{chunk-XI34NWDI.js → chunk-3F6BMY53.js} +1 -1
- package/dist/{chunk-VUAVE3QC.js → chunk-3FRLWYBG.js} +36 -36
- package/dist/{chunk-THEXI2QO.js → chunk-3K2F6UDZ.js} +42 -42
- package/dist/{chunk-ZPJM7DID.js → chunk-3YY7IXIL.js} +3 -3
- package/dist/chunk-46TNM7XZ.js +88 -0
- package/dist/{chunk-TL2TCJYL.js → chunk-4L36HG27.js} +14 -14
- package/dist/{chunk-UCVMSOXF.js → chunk-4LM3VAZH.js} +2 -2
- package/dist/{chunk-AI3GP74G.js → chunk-4LOE5R5P.js} +15 -15
- package/dist/{chunk-AHWA4AKM.js → chunk-4YHYPW2G.js} +32 -9
- package/dist/{chunk-VITFDI3O.js → chunk-4ZYJHQMB.js} +12 -12
- package/dist/{chunk-KCBRHV5E.js → chunk-6IR3ZYIB.js} +3 -3
- package/dist/chunk-72OKUXSD.js +31 -0
- package/dist/{chunk-RCHO5W7M.js → chunk-75GAYVNO.js} +13 -12
- package/dist/{chunk-2SDHYHHO.js → chunk-7E2563GA.js} +13 -13
- package/dist/chunk-7GLOLOSH.js +57 -0
- package/dist/{chunk-CG5V25HX.js → chunk-ABPKUVA4.js} +1 -1
- package/dist/chunk-AKUUMGD5.js +26 -0
- package/dist/chunk-ASUXV767.js +22 -0
- package/dist/{chunk-Q42LJANT.js → chunk-AWDSEDER.js} +2 -2
- package/dist/{chunk-Y2TPADJR.js → chunk-BZARLRJW.js} +9 -9
- package/dist/{chunk-YKVDBNPO.js → chunk-CB4WHS4H.js} +3 -3
- package/dist/{chunk-YXGRRORB.js → chunk-CCV2EU7T.js} +13 -13
- package/dist/{chunk-PJXNTPB2.js → chunk-CE6VMBCB.js} +21 -21
- package/dist/{chunk-KPVLQHCZ.js → chunk-CPSR3AVL.js} +2 -2
- package/dist/chunk-CTADOKYM.js +25 -0
- package/dist/{chunk-CPZ5JJW6.js → chunk-DH5JPM3K.js} +4 -4
- package/dist/{chunk-4FHUGDKU.js → chunk-DPGEAHZT.js} +5 -5
- package/dist/{chunk-SNEUMLM7.js → chunk-DQZFQSR5.js} +4 -4
- package/dist/{chunk-RG3MXTRI.js → chunk-E7HJ56Y7.js} +7 -7
- package/dist/{chunk-YSDPVDFC.js → chunk-EAOK7MIZ.js} +3 -3
- package/dist/{chunk-PP2A5V2T.js → chunk-EKWX4WD3.js} +7 -7
- package/dist/{chunk-2LDMXL2M.js → chunk-F5Z6URKM.js} +2 -2
- package/dist/{chunk-72J27ICO.js → chunk-F6X3YJWD.js} +2 -2
- package/dist/{chunk-ELZRSR5N.js → chunk-F7K5IBZG.js} +41 -39
- package/dist/{chunk-EX4EXBW7.js → chunk-FB5SCCPT.js} +15 -15
- package/dist/{chunk-SJHC3BCZ.js → chunk-FZKFVUEC.js} +518 -233
- package/dist/{chunk-UVY4TOJH.js → chunk-GNSIWBAT.js} +3 -3
- package/dist/{chunk-EXVXBSGN.js → chunk-H7OR7DFZ.js} +20 -18
- package/dist/{chunk-NLIVE7L6.js → chunk-HO6LWE2E.js} +1 -1
- package/dist/{chunk-X3UTCXAA.js → chunk-HR3OJ3TH.js} +12 -12
- package/dist/{chunk-HYVXA3BB.js → chunk-HWDAVBFU.js} +23 -23
- package/dist/{chunk-ZSUX7KEM.js → chunk-J6JP25XU.js} +2 -2
- package/dist/{chunk-T4NGVFYI.js → chunk-JJ2RRESP.js} +8 -5
- package/dist/{chunk-RU34BA4D.js → chunk-JMEKXFOL.js} +34 -34
- package/dist/{chunk-IL7K66ZQ.js → chunk-KDX35VXP.js} +74 -18
- package/dist/{chunk-EDMLIW6W.js → chunk-KKCK636N.js} +12 -12
- package/dist/{chunk-KJJAVH3X.js → chunk-KPPJTH44.js} +6 -5
- package/dist/{chunk-5LRUKYFA.js → chunk-KW5JQPO5.js} +2 -2
- package/dist/{chunk-N3PLNNCW.js → chunk-KXF5R4UN.js} +1 -1
- package/dist/{chunk-YWNO5Q4R.js → chunk-L3CMBQMH.js} +17 -17
- package/dist/{chunk-YWWG4AQA.js → chunk-L5JYIU47.js} +24 -25
- package/dist/{chunk-K2GUZ4DN.js → chunk-LBLBAFG3.js} +4 -4
- package/dist/{chunk-APFJKOP6.js → chunk-LLS45EWB.js} +10 -2
- package/dist/{chunk-MKPCELNI.js → chunk-LS3QJRUB.js} +13 -13
- package/dist/chunk-LSC3VADM.js +23 -0
- package/dist/{chunk-F7BO6FWH.js → chunk-LUBPZN36.js} +11 -11
- package/dist/{chunk-ASRAO7KG.js → chunk-LV4UMYVH.js} +27 -27
- package/dist/{chunk-COOUUC5W.js → chunk-MB6PXBUA.js} +6 -6
- package/dist/{chunk-3WCEHYOI.js → chunk-MNJIXFX4.js} +1 -1
- package/dist/{chunk-FEDWAYDS.js → chunk-MPKRJBPK.js} +35 -15
- package/dist/{chunk-Q4BKKOVC.js → chunk-N5WSK2K7.js} +8 -8
- package/dist/{chunk-K4SZB56V.js → chunk-NA7SEXHE.js} +12 -8
- package/dist/{chunk-UL5SXQVX.js → chunk-O4BJFESU.js} +1 -1
- package/dist/{chunk-LMCTHJ2H.js → chunk-OE5ZBP7F.js} +18 -18
- package/dist/{chunk-NFNVDDGB.js → chunk-OSTKYB55.js} +1 -1
- package/dist/{chunk-27VWVB23.js → chunk-OXOI55RU.js} +10 -10
- package/dist/{chunk-7IYC4ENJ.js → chunk-PKES3ISE.js} +2 -2
- package/dist/{chunk-EWXXLS26.js → chunk-PQJFG24Z.js} +82 -12
- package/dist/{chunk-3SNDVPOR.js → chunk-PR6PO3ES.js} +8 -8
- package/dist/{chunk-63NMUNYP.js → chunk-PUZ3E2J4.js} +6 -6
- package/dist/{chunk-DS2USX5G.js → chunk-QHSNL7B2.js} +11 -11
- package/dist/{chunk-UO66IMVP.js → chunk-QOE342SU.js} +2 -2
- package/dist/{chunk-7ZS7MC24.js → chunk-R5MOQM2H.js} +107 -40
- package/dist/{chunk-JWOVP5BL.js → chunk-RC2Z6K47.js} +6 -6
- package/dist/{chunk-GLW3YDZZ.js → chunk-RORGS5II.js} +9 -9
- package/dist/{chunk-Y5KTA2OB.js → chunk-RQS4QQSD.js} +2 -2
- package/dist/{chunk-KFXCL4OV.js → chunk-RRV3FNNM.js} +22 -23
- package/dist/{chunk-GYRZ72R4.js → chunk-RZOXUSPC.js} +2 -2
- package/dist/chunk-SHLDT3OI.js +27 -0
- package/dist/{chunk-IEBJF3PN.js → chunk-SNDXCFRS.js} +15 -13
- package/dist/{chunk-XHLK33VM.js → chunk-T7A2HK2B.js} +16 -16
- package/dist/{chunk-WUY4BZEP.js → chunk-TIQJPRDD.js} +106 -50
- package/dist/{chunk-2FYKETQJ.js → chunk-U2SDMG7C.js} +5 -5
- package/dist/{chunk-EIKRZ32J.js → chunk-U5HPROLA.js} +2 -2
- package/dist/{chunk-2Y6OJRSI.js → chunk-U6VN4NVL.js} +3 -3
- package/dist/{chunk-OZNCKLOX.js → chunk-U7BD2QL7.js} +12 -12
- package/dist/chunk-UF7RTZSO.js +27 -0
- package/dist/{chunk-XHDBJODR.js → chunk-URCQWAQ4.js} +21 -21
- package/dist/{chunk-7FLRUH6B.js → chunk-V63BC55Q.js} +1 -1
- package/dist/{chunk-TVZRLTG6.js → chunk-VSFLRN5Y.js} +1 -1
- package/dist/{chunk-OMJ3OFBJ.js → chunk-VUZWQ7UG.js} +6 -6
- package/dist/chunk-W4WP2ERB.js +30 -0
- package/dist/{chunk-G224FADB.js → chunk-WDBICWH3.js} +1 -1
- package/dist/{chunk-4ODSZ35Z.js → chunk-WGRJOXED.js} +121 -155
- package/dist/{chunk-FWZRGGGY.js → chunk-WME2OQST.js} +39 -4
- package/dist/{chunk-MEFLGBCS.js → chunk-XT2HTCJ5.js} +3 -3
- package/dist/{chunk-VIDEKABZ.js → chunk-Y7F7IEE3.js} +55 -23
- package/dist/chunk-YES5CACN.js +73 -0
- package/dist/{chunk-ZAPSUBLU.js → chunk-YHC2O2WO.js} +7 -7
- package/dist/{chunk-GTDSYEA2.js → chunk-YISME6ON.js} +1 -1
- package/dist/{chunk-TPYYEDP5.js → chunk-YVHBNSME.js} +48 -29
- package/dist/{chunk-XWFIHYCH.js → chunk-Z2XAOKHK.js} +2 -2
- package/dist/{chunk-QT66NEYN.js → chunk-ZE3KXHS7.js} +3 -3
- package/dist/{chunk-S55TEC7I.js → chunk-ZGSJDWQU.js} +2 -2
- package/dist/{chunk-4U7GDSZQ.js → chunk-ZJTT47IG.js} +2 -2
- package/dist/{chunk-KX56K73G.js → chunk-ZKXQKGWZ.js} +2 -2
- package/dist/{chunk-5DKE4HGX.js → chunk-ZMAUPOMG.js} +34 -34
- package/dist/index.js +2446 -1303
- package/dist/mcp/analyze-cli.js +10 -10
- package/dist/mcp/cli.js +42 -42
- package/dist/mcp/server.js +724 -472
- package/dist/mcp/worker.js +61 -61
- package/dist/probes/installer.js +19 -19
- package/docs/agent-tools.md +39 -10
- package/docs/configuration.md +3 -1
- package/docs/defect-shapes.md +752 -0
- package/docs/dependencies.md +1 -0
- package/docs/environment-variables.md +14 -0
- package/docs/features.md +11 -1
- package/docs/globalconfig.md +12 -1
- package/docs/invariants/caches-stores.md +30 -0
- package/docs/invariants/dispatch-runners.md +164 -0
- package/docs/invariants/git-guard-host.md +87 -0
- package/docs/invariants/language-config.md +31 -0
- package/docs/invariants/lsp-trust-exec.md +292 -0
- package/docs/invariants/paths-os.md +59 -0
- package/docs/invariants/session-telemetry.md +114 -0
- package/docs/lsp-capability-matrix.md +89 -45
- package/docs/lsp-idle-eviction.md +3 -5
- package/docs/pi-lens-fixer.md +10 -2
- package/docs/pi-lens-merge-policy.md +17 -12
- package/docs/pi-lens-monitor.md +2 -2
- package/docs/pi-lens-orchestration.md +41 -0
- package/docs/pi-lens-release.md +20 -0
- package/docs/pi-lens-retro.md +3 -2
- package/docs/pi-lens-reviewer.md +6 -6
- package/docs/pi-lens-subagent.md +9 -6
- package/docs/schema/pi-lens-config-v1.json +23 -0
- package/docs/servercapabilities.md +1 -1
- package/docs/settings.md +5 -0
- package/docs/usage.md +5 -0
- package/package.json +3 -2
- package/dist/chunk-22Y2BM7H.js +0 -23
- package/dist/chunk-44X7VIKR.js +0 -73
- package/dist/chunk-54NIOJJZ.js +0 -25
- package/dist/chunk-7WWQAW5P.js +0 -30
- package/dist/chunk-EA2ZRG44.js +0 -27
- package/dist/chunk-EKNWOL2I.js +0 -27
- package/dist/chunk-G5UCJFT7.js +0 -26
- package/dist/chunk-N5FBM25N.js +0 -22
- package/dist/chunk-P5XUGPIX.js +0 -31
- package/dist/chunk-PKOXJIVT.js +0 -88
- package/dist/chunk-RG7OODGM.js +0 -57
package/dist/mcp/worker.js
CHANGED
|
@@ -2,83 +2,83 @@
|
|
|
2
2
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
analyzeFile
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-WGRJOXED.js";
|
|
6
|
+
import "../chunk-LBLBAFG3.js";
|
|
7
|
+
import "../chunk-MNJIXFX4.js";
|
|
8
|
+
import "../chunk-Y7F7IEE3.js";
|
|
9
|
+
import "../chunk-JJ2RRESP.js";
|
|
10
|
+
import "../chunk-EAOK7MIZ.js";
|
|
11
|
+
import "../chunk-4LM3VAZH.js";
|
|
12
|
+
import "../chunk-E7HJ56Y7.js";
|
|
13
|
+
import "../chunk-V63BC55Q.js";
|
|
14
|
+
import "../chunk-CPSR3AVL.js";
|
|
15
|
+
import "../chunk-ZE3KXHS7.js";
|
|
16
|
+
import "../chunk-RQS4QQSD.js";
|
|
17
|
+
import "../chunk-CB4WHS4H.js";
|
|
18
|
+
import "../chunk-N5WSK2K7.js";
|
|
19
|
+
import "../chunk-7E2563GA.js";
|
|
20
|
+
import "../chunk-MB6PXBUA.js";
|
|
21
|
+
import "../chunk-DQZFQSR5.js";
|
|
22
|
+
import "../chunk-3YY7IXIL.js";
|
|
23
|
+
import "../chunk-WDBICWH3.js";
|
|
24
|
+
import "../chunk-H7OR7DFZ.js";
|
|
25
25
|
import "../chunk-3MED75HT.js";
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-FZKFVUEC.js";
|
|
27
|
+
import "../chunk-XT2HTCJ5.js";
|
|
28
28
|
import "../chunk-XIMYZ3JA.js";
|
|
29
|
-
import "../chunk-
|
|
30
|
-
import "../chunk-
|
|
31
|
-
import "../chunk-
|
|
32
|
-
import "../chunk-
|
|
33
|
-
import "../chunk-
|
|
29
|
+
import "../chunk-R5MOQM2H.js";
|
|
30
|
+
import "../chunk-24BILSZW.js";
|
|
31
|
+
import "../chunk-PR6PO3ES.js";
|
|
32
|
+
import "../chunk-RC2Z6K47.js";
|
|
33
|
+
import "../chunk-F5Z6URKM.js";
|
|
34
34
|
import "../chunk-5W3R6LFT.js";
|
|
35
|
-
import "../chunk-
|
|
36
|
-
import "../chunk-
|
|
37
|
-
import "../chunk-
|
|
38
|
-
import "../chunk-
|
|
39
|
-
import "../chunk-
|
|
35
|
+
import "../chunk-MPKRJBPK.js";
|
|
36
|
+
import "../chunk-DH5JPM3K.js";
|
|
37
|
+
import "../chunk-PKES3ISE.js";
|
|
38
|
+
import "../chunk-ZKXQKGWZ.js";
|
|
39
|
+
import "../chunk-L5JYIU47.js";
|
|
40
40
|
import "../chunk-Z54ZSOBZ.js";
|
|
41
|
-
import "../chunk-
|
|
42
|
-
import "../chunk-
|
|
43
|
-
import "../chunk-
|
|
41
|
+
import "../chunk-U6VN4NVL.js";
|
|
42
|
+
import "../chunk-TIQJPRDD.js";
|
|
43
|
+
import "../chunk-YISME6ON.js";
|
|
44
44
|
import "../chunk-6HWVI6MI.js";
|
|
45
|
-
import "../chunk-
|
|
45
|
+
import "../chunk-O4BJFESU.js";
|
|
46
46
|
import "../chunk-CKEQFGLT.js";
|
|
47
|
-
import "../chunk-
|
|
48
|
-
import "../chunk-
|
|
49
|
-
import "../chunk-
|
|
50
|
-
import "../chunk-
|
|
51
|
-
import "../chunk-
|
|
47
|
+
import "../chunk-HO6LWE2E.js";
|
|
48
|
+
import "../chunk-SNDXCFRS.js";
|
|
49
|
+
import "../chunk-QOE342SU.js";
|
|
50
|
+
import "../chunk-AWDSEDER.js";
|
|
51
|
+
import "../chunk-LLS45EWB.js";
|
|
52
52
|
import "../chunk-2BEMIWEW.js";
|
|
53
53
|
import "../chunk-IJYGIDF4.js";
|
|
54
|
-
import "../chunk-
|
|
55
|
-
import "../chunk-
|
|
56
|
-
import "../chunk-
|
|
57
|
-
import "../chunk-
|
|
58
|
-
import "../chunk-
|
|
59
|
-
import "../chunk-
|
|
60
|
-
import "../chunk-
|
|
61
|
-
import "../chunk-
|
|
62
|
-
import "../chunk-
|
|
63
|
-
import "../chunk-
|
|
54
|
+
import "../chunk-KDX35VXP.js";
|
|
55
|
+
import "../chunk-DPGEAHZT.js";
|
|
56
|
+
import "../chunk-NA7SEXHE.js";
|
|
57
|
+
import "../chunk-3F6BMY53.js";
|
|
58
|
+
import "../chunk-KW5JQPO5.js";
|
|
59
|
+
import "../chunk-PUZ3E2J4.js";
|
|
60
|
+
import "../chunk-ABPKUVA4.js";
|
|
61
|
+
import "../chunk-EKWX4WD3.js";
|
|
62
|
+
import "../chunk-ZGSJDWQU.js";
|
|
63
|
+
import "../chunk-YVHBNSME.js";
|
|
64
64
|
import "../chunk-AWQWXSW4.js";
|
|
65
65
|
import "../chunk-QYF5S6P6.js";
|
|
66
|
-
import "../chunk-
|
|
67
|
-
import "../chunk-
|
|
68
|
-
import "../chunk-
|
|
66
|
+
import "../chunk-RZOXUSPC.js";
|
|
67
|
+
import "../chunk-KPPJTH44.js";
|
|
68
|
+
import "../chunk-J6JP25XU.js";
|
|
69
69
|
import {
|
|
70
70
|
setProjectTrustState
|
|
71
|
-
} from "../chunk-
|
|
72
|
-
import "../chunk-
|
|
71
|
+
} from "../chunk-U5HPROLA.js";
|
|
72
|
+
import "../chunk-WME2OQST.js";
|
|
73
73
|
import {
|
|
74
74
|
logExtension
|
|
75
|
-
} from "../chunk-
|
|
75
|
+
} from "../chunk-KXF5R4UN.js";
|
|
76
76
|
import "../chunk-S26LC76R.js";
|
|
77
|
-
import "../chunk-
|
|
78
|
-
import "../chunk-
|
|
77
|
+
import "../chunk-Z2XAOKHK.js";
|
|
78
|
+
import "../chunk-VSFLRN5Y.js";
|
|
79
79
|
import "../chunk-LJDODBBZ.js";
|
|
80
|
-
import "../chunk-
|
|
81
|
-
import "../chunk-
|
|
80
|
+
import "../chunk-OSTKYB55.js";
|
|
81
|
+
import "../chunk-PQJFG24Z.js";
|
|
82
82
|
import "../chunk-NXL4FFQQ.js";
|
|
83
83
|
|
|
84
84
|
// dist/mcp/worker.js
|
package/dist/probes/installer.js
CHANGED
|
@@ -53,29 +53,29 @@ import {
|
|
|
53
53
|
verifyNpmPackageEntry,
|
|
54
54
|
verifyToolBinary,
|
|
55
55
|
wasLastResolveTransient
|
|
56
|
-
} from "../chunk-
|
|
57
|
-
import "../chunk-
|
|
58
|
-
import "../chunk-
|
|
59
|
-
import "../chunk-
|
|
60
|
-
import "../chunk-
|
|
61
|
-
import "../chunk-
|
|
62
|
-
import "../chunk-
|
|
63
|
-
import "../chunk-
|
|
64
|
-
import "../chunk-
|
|
65
|
-
import "../chunk-
|
|
56
|
+
} from "../chunk-KDX35VXP.js";
|
|
57
|
+
import "../chunk-DPGEAHZT.js";
|
|
58
|
+
import "../chunk-NA7SEXHE.js";
|
|
59
|
+
import "../chunk-3F6BMY53.js";
|
|
60
|
+
import "../chunk-KW5JQPO5.js";
|
|
61
|
+
import "../chunk-PUZ3E2J4.js";
|
|
62
|
+
import "../chunk-ABPKUVA4.js";
|
|
63
|
+
import "../chunk-EKWX4WD3.js";
|
|
64
|
+
import "../chunk-ZGSJDWQU.js";
|
|
65
|
+
import "../chunk-YVHBNSME.js";
|
|
66
66
|
import "../chunk-AWQWXSW4.js";
|
|
67
67
|
import "../chunk-QYF5S6P6.js";
|
|
68
|
-
import "../chunk-
|
|
69
|
-
import "../chunk-
|
|
70
|
-
import "../chunk-
|
|
71
|
-
import "../chunk-
|
|
72
|
-
import "../chunk-
|
|
73
|
-
import "../chunk-
|
|
68
|
+
import "../chunk-RZOXUSPC.js";
|
|
69
|
+
import "../chunk-KPPJTH44.js";
|
|
70
|
+
import "../chunk-J6JP25XU.js";
|
|
71
|
+
import "../chunk-U5HPROLA.js";
|
|
72
|
+
import "../chunk-WME2OQST.js";
|
|
73
|
+
import "../chunk-KXF5R4UN.js";
|
|
74
74
|
import "../chunk-S26LC76R.js";
|
|
75
|
-
import "../chunk-
|
|
76
|
-
import "../chunk-
|
|
75
|
+
import "../chunk-Z2XAOKHK.js";
|
|
76
|
+
import "../chunk-VSFLRN5Y.js";
|
|
77
77
|
import "../chunk-LJDODBBZ.js";
|
|
78
|
-
import "../chunk-
|
|
78
|
+
import "../chunk-PQJFG24Z.js";
|
|
79
79
|
import "../chunk-NXL4FFQQ.js";
|
|
80
80
|
export {
|
|
81
81
|
GITHUB_TOOLS,
|
package/docs/agent-tools.md
CHANGED
|
@@ -13,12 +13,14 @@ logging one `lsp-diagnostics-compatibility` degradation per session. Callers
|
|
|
13
13
|
should move to `pilens_diagnostics`.
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
**Dynamic tooling.**
|
|
17
|
-
|
|
18
|
-
`
|
|
16
|
+
**Dynamic tooling.** Seven tools stay always-active on pi unless
|
|
17
|
+
`tools.<name>.enabled: false` turns one off: `lens_diagnostics`,
|
|
18
|
+
`module_report`, `project_report`, `read_symbol`, `read_enclosing`,
|
|
19
|
+
`symbol_search`, `effective_config`. Five situational tools — `ast_grep_search`, `ast_grep_replace`,
|
|
19
20
|
`ast_grep_outline`, `lsp_navigation`, `lens_diagnostic_mark` —
|
|
20
21
|
are registered but
|
|
21
|
-
inactive by default
|
|
22
|
+
inactive by default under pi's lazy posture (`tools.lazy: false`, or a host
|
|
23
|
+
without the dynamic-tool API, keeps them active); the model activates the ones it needs via the always-active
|
|
22
24
|
loader tool `pi_lens_activate_tools`, per pi's dynamic-tool-loading API
|
|
23
25
|
(`pi.setActiveTools`/`pi.getActiveTools`). The loader explicitly reports
|
|
24
26
|
"Available starting next turn"; do not retry the tool in the same turn.
|
|
@@ -171,6 +173,24 @@ and `[]` mean no arguments.
|
|
|
171
173
|
self-builds in the background and never blocks the call. See
|
|
172
174
|
[docs/word-index.md](word-index.md) for how the index is built and kept
|
|
173
175
|
warm.
|
|
176
|
+
- **`project_report`** — Project orientation from the cached review graph, the
|
|
177
|
+
top of the discovery funnel (`project_report` → `module_report` →
|
|
178
|
+
`read_symbol`). Returns ranked hubs (top fan-in files), entry points,
|
|
179
|
+
subsystem cycles and layering violations, risk hotspots, and low-confidence
|
|
180
|
+
dead weight. `limit` scales every section's cap (default 10), `focus` re-ranks
|
|
181
|
+
toward a task hint without widening scope, and `view: "compact"` returns a
|
|
182
|
+
line-oriented text rendering instead of JSON. Read-only: a cold cache returns
|
|
183
|
+
`available: false` with a retry hint and starts a non-blocking background
|
|
184
|
+
build. On a project over `maxProjectFiles` that first build records a
|
|
185
|
+
size-skip verdict; later calls name the cap and start no build, so raise it
|
|
186
|
+
in `.pi-lens.json` instead of retrying.
|
|
187
|
+
- **`effective_config`** — Explains the resolved configuration and its
|
|
188
|
+
provenance. Pass `file` to add that file's language and the per-server and
|
|
189
|
+
per-runner selection decisions. The result holds no environment values and
|
|
190
|
+
no command arguments beyond the binary, and it shows paths under the home
|
|
191
|
+
folder home-relative (a path outside it stays absolute). `file` must resolve
|
|
192
|
+
inside `cwd`. See
|
|
193
|
+
[configuration.md](configuration.md#asking-what-is-actually-in-effect).
|
|
174
194
|
- **`module_report`** — Navigable outline of a file: every symbol's name/kind/
|
|
175
195
|
startLine/endLine/signature, exported vs internal split, class/interface
|
|
176
196
|
member nesting, who-uses-this, fanout/complexity risk flags, and a
|
|
@@ -184,8 +204,14 @@ and `[]` mean no arguments.
|
|
|
184
204
|
tree-sitter's conventional `comment` node — JS/TS is the primary target;
|
|
185
205
|
languages sharing that node shape (confirmed: Python, and any grammar whose
|
|
186
206
|
comment nodes are plain preceding siblings) get it for free with no
|
|
187
|
-
per-grammar query work.
|
|
188
|
-
|
|
207
|
+
per-grammar query work. A Python def or class also reads its docstring (a
|
|
208
|
+
plain, `r` or `u` string that is the first statement of the body); when
|
|
209
|
+
both a `#` comment above the def and a docstring exist, a docstring with text
|
|
210
|
+
wins; an empty docstring falls back to the comment.
|
|
211
|
+
When a file has syntax errors, tree-sitter recovers and drops the
|
|
212
|
+
declarations it cannot parse, so the report carries a `warnings` entry saying
|
|
213
|
+
the symbol list may be incomplete. `exported` stays a boolean field only — it
|
|
214
|
+
is NOT also repeated inside `flags` (#512); `flags` carries only non-derivable
|
|
189
215
|
signals (`async`, `high fanout`, `high complexity`, `boundary wrapper`).
|
|
190
216
|
Each entry carries a `decorators[]` array — the declaration's
|
|
191
217
|
decorators/attributes/annotations (`@app.get("/x")`, `#[tokio::main]`,
|
|
@@ -210,7 +236,9 @@ and `[]` mean no arguments.
|
|
|
210
236
|
for cross-file transitive dependents (read-only over the cached graph).
|
|
211
237
|
- **`read_symbol`** — One symbol's verbatim source body, by name or by a
|
|
212
238
|
`module_report` callback handle. Returned body is recorded as genuine
|
|
213
|
-
read-guard coverage for that symbol/callback's line range.
|
|
239
|
+
read-guard coverage for that symbol/callback's line range. In a file with
|
|
240
|
+
syntax errors a miss carries the same incomplete-symbol-list warning, so a
|
|
241
|
+
miss is not proof the symbol is absent.
|
|
214
242
|
- **`read_enclosing`** — Maps a `path` + `line` (from `ast_grep_search`,
|
|
215
243
|
diagnostics, or LSP locations) to the verbatim body of the smallest enclosing
|
|
216
244
|
symbol or callback. Tree-sitter only — no LSP or graph build. Optional `kinds`
|
|
@@ -222,9 +250,10 @@ and `[]` mean no arguments.
|
|
|
222
250
|
|
|
223
251
|
## Session
|
|
224
252
|
|
|
225
|
-
-
|
|
226
|
-
|
|
227
|
-
|
|
253
|
+
- **Health, latency and the cheap project scan are not pi tools.** pi has the
|
|
254
|
+
`/lens-health` slash command ([tools.md](tools.md)); the MCP mirror alone
|
|
255
|
+
exposes `pilens_health`, `pilens_latency` and `pilens_project_scan`
|
|
256
|
+
([mcp.md](mcp.md)).
|
|
228
257
|
- **`lens_diagnostics mode=full`** — full project-wide review: LSP + the cached
|
|
229
258
|
heavyweight analyzers (jscpd, madge, gitleaks, govulncheck, trivy, dead-code)
|
|
230
259
|
folded in via `refreshRunners`.
|
package/docs/configuration.md
CHANGED
|
@@ -70,7 +70,9 @@ names include `ast_grep_search`, `ast_grep_replace`, `ast_grep_outline`,
|
|
|
70
70
|
`read_symbol`, `read_enclosing`, `effective_config`, `analyze`, `health`,
|
|
71
71
|
`latency`, `project_scan`, and `rebuild`. The activation loader and MCP
|
|
72
72
|
lifecycle tools `session_start`, `turn_end`, and `session_end` remain enabled
|
|
73
|
-
because their host protocols require them.
|
|
73
|
+
because their host protocols require them. A `tools.<name>` key that
|
|
74
|
+
names no tool (`tools.lazy` aside), or names a required one, is dropped with
|
|
75
|
+
`PILENS_CFG_0009`.
|
|
74
76
|
|
|
75
77
|
To see the resolved tool surface, use `/lens-health`; the `effective_config`
|
|
76
78
|
tool provides the full configuration provenance. Bundled skills are managed by
|