@herbertgao/pi-extensions 2026.11.13 → 2026.11.15
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 +22 -0
- package/README.md +7 -7
- package/THIRD_PARTY_NOTICES.md +1 -1
- package/node_modules/@herbertgao/pi-cc-extensions/CHANGELOG.md +6 -0
- package/node_modules/@herbertgao/pi-cc-extensions/README.en.md +3 -2
- package/node_modules/@herbertgao/pi-cc-extensions/README.md +3 -2
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/config/config.ts +5 -0
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/config/panel.ts +9 -0
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/index.ts +32 -2
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/markdown-enhance.ts +26 -21
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/table-copy.ts +753 -0
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/utils/fullscreen-detect.ts +11 -0
- package/node_modules/@herbertgao/pi-cc-extensions/package.json +4 -4
- package/node_modules/@herbertgao/pi-inline-skill-commands/README.md +6 -2
- package/node_modules/@herbertgao/pi-inline-skill-commands/package.json +1 -1
- package/node_modules/@herbertgao/pi-inline-skill-commands/src/index.ts +41 -15
- package/node_modules/@herbertgao/pi-subagents/CHANGELOG.md +16 -0
- package/node_modules/@herbertgao/pi-subagents/README.md +54 -22
- package/node_modules/@herbertgao/pi-subagents/docs/workflows.md +114 -35
- package/node_modules/@herbertgao/pi-subagents/package.json +9 -4
- package/node_modules/@herbertgao/pi-subagents/skills/workflow-authoring/SKILL.md +147 -0
- package/node_modules/@herbertgao/pi-subagents/src/agent-manager.ts +48 -32
- package/node_modules/@herbertgao/pi-subagents/src/agent-runner.ts +34 -13
- package/node_modules/@herbertgao/pi-subagents/src/agent-types.ts +88 -0
- package/node_modules/@herbertgao/pi-subagents/src/custom-agents.ts +16 -6
- package/node_modules/@herbertgao/pi-subagents/src/index.ts +114 -98
- package/node_modules/@herbertgao/pi-subagents/src/mention-clone.ts +6 -2
- package/node_modules/@herbertgao/pi-subagents/src/mention.ts +5 -7
- package/node_modules/@herbertgao/pi-subagents/src/nested-tools.ts +18 -2
- package/node_modules/@herbertgao/pi-subagents/src/prompts.ts +25 -3
- package/node_modules/@herbertgao/pi-subagents/src/settings.ts +26 -0
- package/node_modules/@herbertgao/pi-subagents/src/structured-output.ts +13 -5
- package/node_modules/@herbertgao/pi-subagents/src/ui/fleet-list.ts +55 -8
- package/node_modules/@herbertgao/pi-subagents/src/ui/workflow-card-redraw.ts +86 -0
- package/node_modules/@herbertgao/pi-subagents/src/ui/workflow-card.ts +5 -5
- package/node_modules/@herbertgao/pi-subagents/src/ui/workflow-dialog.ts +478 -115
- package/node_modules/@herbertgao/pi-subagents/src/ui/workflow-menu.ts +77 -6
- package/node_modules/@herbertgao/pi-subagents/src/workflow/agent-detail.ts +148 -0
- package/node_modules/@herbertgao/pi-subagents/src/workflow/host.ts +88 -14
- package/node_modules/@herbertgao/pi-subagents/src/workflow/journal.ts +8 -0
- package/node_modules/@herbertgao/pi-subagents/src/workflow/json-schema.ts +507 -57
- package/node_modules/@herbertgao/pi-subagents/src/workflow/progress.ts +41 -11
- package/node_modules/@herbertgao/pi-subagents/src/workflow/runtime.ts +106 -34
- package/node_modules/@herbertgao/pi-subagents/src/workflow/task.ts +43 -5
- package/node_modules/@herbertgao/pi-subagents/src/workflow/tool-description.ts +93 -153
- package/node_modules/@herbertgao/pi-subagents/src/workflow/worker-source.ts +283 -71
- package/node_modules/@pi-plugins/fast-mode/dist/index.mjs +288 -177
- package/node_modules/@pi-plugins/fast-mode/dist/index.mjs.map +1 -1
- package/node_modules/@pi-plugins/fast-mode/package.json +7 -7
- package/node_modules/pi-commandcode-provider/CHANGELOG.md +20 -0
- package/node_modules/pi-commandcode-provider/README.md +1 -1
- package/node_modules/pi-commandcode-provider/index.ts +2 -1
- package/node_modules/pi-commandcode-provider/package.json +1 -1
- package/node_modules/pi-commandcode-provider/src/commandcode-catalog.ts +9 -2
- package/node_modules/pi-commandcode-provider/src/pricing.ts +5 -1
- package/node_modules/pi-commandcode-provider/src/responses-compat.ts +24 -1
- package/node_modules/pi-commandcode-provider/src/responses-stream.ts +99 -6
- package/node_modules/pi-lens/CHANGELOG-USER.md +6 -6
- package/node_modules/pi-lens/CHANGELOG.md +132 -0
- package/node_modules/pi-lens/README.md +2 -0
- package/node_modules/pi-lens/config/dependency-cruiser-eager-allowlist.json +1 -0
- package/node_modules/pi-lens/dist/{chunk-LGH2HHZG.js → chunk-25CAONWT.js} +36 -25
- package/node_modules/pi-lens/dist/{chunk-ZQSSO7LO.js → chunk-2DWNYVUN.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-YCR6ZYTE.js → chunk-2RQREVGO.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-VWEBZ2JV.js → chunk-2XALJI2K.js} +40 -40
- package/node_modules/pi-lens/dist/{chunk-PQXUZYTQ.js → chunk-2YQ5LI7R.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-VSQT6IHZ.js → chunk-35UJUF27.js} +18 -4
- package/node_modules/pi-lens/dist/{chunk-OLWGYBYT.js → chunk-3IWMNN2S.js} +17 -17
- package/node_modules/pi-lens/dist/chunk-3UTDLQWO.js +88 -0
- package/node_modules/pi-lens/dist/chunk-3Z7Z3B7V.js +27 -0
- package/node_modules/pi-lens/dist/{chunk-UNP6Y4JV.js → chunk-4E4OCW3L.js} +16 -16
- package/node_modules/pi-lens/dist/{chunk-37IDWT6O.js → chunk-4GLSO2EM.js} +13 -11
- package/node_modules/pi-lens/dist/{chunk-QV3JPCMK.js → chunk-5HVDD7IA.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-ZRQMENT4.js → chunk-62PIU4TO.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-3TSMQZG6.js → chunk-6MDWNZ7E.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-WLD6BGON.js → chunk-6MWX2J5H.js} +4 -0
- package/node_modules/pi-lens/dist/{chunk-SCU62JLX.js → chunk-6MZLS6CK.js} +7 -7
- package/node_modules/pi-lens/dist/{chunk-B42AIWPJ.js → chunk-7BWPQZHE.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-I3NZVAMN.js → chunk-7JMEPY6P.js} +10 -10
- package/node_modules/pi-lens/dist/{chunk-7DPXUPRF.js → chunk-7ORBRDFY.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-6E5QLMWI.js → chunk-7WAQ3K26.js} +23 -23
- package/node_modules/pi-lens/dist/{chunk-2H5GHZKC.js → chunk-AB26NAHA.js} +7 -7
- package/node_modules/pi-lens/dist/{chunk-BBSDJTOV.js → chunk-AFSG6YUB.js} +13 -13
- package/node_modules/pi-lens/dist/{chunk-XDNWR7SG.js → chunk-ALTHJUZO.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-UN72ZAJ5.js → chunk-AOEVZXR6.js} +9 -9
- package/node_modules/pi-lens/dist/{chunk-HRLF35WL.js → chunk-ARTCVE6I.js} +9 -9
- package/node_modules/pi-lens/dist/{chunk-LQQNFCQJ.js → chunk-B2QO7GHY.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-I2FYOZNW.js → chunk-BJGWP4UX.js} +10 -10
- package/node_modules/pi-lens/dist/{chunk-G53LBDNU.js → chunk-BKJ6WZKP.js} +6 -6
- package/node_modules/pi-lens/dist/{chunk-P5MSLVUW.js → chunk-BQ72NQQM.js} +11 -11
- package/node_modules/pi-lens/dist/{chunk-K7O6AHSJ.js → chunk-BWGNVM33.js} +11 -11
- package/node_modules/pi-lens/dist/{chunk-ADYQRETD.js → chunk-BYIEU4E4.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-7ZVTFLCC.js → chunk-CDAJQBKJ.js} +11 -11
- package/node_modules/pi-lens/dist/{chunk-BKWFDWYM.js → chunk-D3UQWOCB.js} +16 -16
- package/node_modules/pi-lens/dist/{chunk-3PAS2ERX.js → chunk-DHFJS2I4.js} +8 -8
- package/node_modules/pi-lens/dist/{chunk-KNSOA43J.js → chunk-DKXIUGNA.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-LOEJFTF2.js → chunk-DLGJYQML.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-VGRGW4UL.js → chunk-DNJJVKJZ.js} +31 -31
- package/node_modules/pi-lens/dist/{chunk-5HBQL7DH.js → chunk-EBXCYEII.js} +3 -3
- package/node_modules/pi-lens/dist/chunk-EH6EHFW2.js +73 -0
- package/node_modules/pi-lens/dist/{chunk-W26QZ3OM.js → chunk-EKQDQPX6.js} +10 -10
- package/node_modules/pi-lens/dist/{chunk-TWEOJE3D.js → chunk-EXHSWN3P.js} +844 -377
- package/node_modules/pi-lens/dist/{chunk-4IZZEN63.js → chunk-F7BFIENK.js} +33 -33
- package/node_modules/pi-lens/dist/{chunk-ZI7YHV6I.js → chunk-FD4LJQ6Y.js} +5 -5
- package/node_modules/pi-lens/dist/{chunk-RIH3UBK4.js → chunk-GFCPPCNR.js} +11 -11
- package/node_modules/pi-lens/dist/{chunk-5JB4WENL.js → chunk-GIK6VUCY.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-PPQHMSPH.js → chunk-GNK2IHVG.js} +15 -15
- package/node_modules/pi-lens/dist/{chunk-CXQYK4YT.js → chunk-H6DNTQ4V.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-NGNBJIUO.js → chunk-HERQPNY6.js} +8 -8
- package/node_modules/pi-lens/dist/{chunk-INBK3HIT.js → chunk-HFIFEH46.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-J2ZB5MDS.js → chunk-HKRESBMC.js} +20 -20
- package/node_modules/pi-lens/dist/{chunk-AZG5UJYY.js → chunk-HMXWZUQW.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-XSC3BCN3.js → chunk-HOWHAKXO.js} +6 -6
- package/node_modules/pi-lens/dist/{chunk-7CLWC2UH.js → chunk-HUWW77QY.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-KZ732ZVW.js → chunk-IO6P3NBP.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-7WKVCZI4.js → chunk-J7VNGHLN.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-QE7BJQ6K.js → chunk-JGCBMCCS.js} +8 -8
- package/node_modules/pi-lens/dist/{chunk-PFJLYRO3.js → chunk-KIQSNH3F.js} +34 -34
- package/node_modules/pi-lens/dist/{chunk-JGUDT5KD.js → chunk-KSQJBGRO.js} +5 -5
- package/node_modules/pi-lens/dist/{chunk-RJ3APNIP.js → chunk-KXKM2DFP.js} +4 -4
- package/node_modules/pi-lens/dist/chunk-L3Q72QGQ.js +25 -0
- package/node_modules/pi-lens/dist/{chunk-6GLMMGCX.js → chunk-LDPY22FS.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-3PO4YYOX.js → chunk-M3QGXGY4.js} +3793 -3814
- package/node_modules/pi-lens/dist/{chunk-NNEQOC3U.js → chunk-MET776XM.js} +9 -7
- package/node_modules/pi-lens/dist/{chunk-X33QECRJ.js → chunk-MKQFSW2Q.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-7U36VQL6.js → chunk-MKW7ZUTT.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-PQF6YGYB.js → chunk-N2U644ZW.js} +4 -18
- package/node_modules/pi-lens/dist/{chunk-DI4AZZNY.js → chunk-NAACKIKT.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-O6LCSHHI.js → chunk-NHHS5T52.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-DCA2MXVQ.js → chunk-NIZKGBOU.js} +51 -27
- package/node_modules/pi-lens/dist/{chunk-PKWEBMCA.js → chunk-NNDZ7DOP.js} +194 -111
- package/node_modules/pi-lens/dist/{chunk-Q7J3JYJ2.js → chunk-NZ7NSKIW.js} +13 -13
- package/node_modules/pi-lens/dist/{chunk-S6MCMD27.js → chunk-OG3UCAHV.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-3QXFUP6T.js → chunk-OHTHVILU.js} +12 -12
- package/node_modules/pi-lens/dist/{chunk-NHA5K226.js → chunk-P7EV5ISR.js} +17 -2
- package/node_modules/pi-lens/dist/{chunk-L6BDRYUK.js → chunk-PVV27TOX.js} +5 -5
- package/node_modules/pi-lens/dist/{chunk-HIRBC72R.js → chunk-Q32RJDYC.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-QE5DJ7MX.js → chunk-Q4UQNTLB.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-SDYLT45T.js → chunk-QQGZY2BR.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-QMWKSYWB.js → chunk-S247BOH2.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-ARTYCUGF.js → chunk-S7KUDW73.js} +121 -18
- package/node_modules/pi-lens/dist/{chunk-6CFSDLHE.js → chunk-SJ2SR432.js} +17 -17
- package/node_modules/pi-lens/dist/{chunk-CQY2HEH7.js → chunk-SL4G67AP.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-LVLPA32Q.js → chunk-T2D2WWP6.js} +48 -11
- package/node_modules/pi-lens/dist/{chunk-HIJ4CHFF.js → chunk-T7KHGEJ5.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-74AMPWNC.js → chunk-TABDCX35.js} +2 -2
- package/node_modules/pi-lens/dist/chunk-TFSBHRL2.js +25 -0
- package/node_modules/pi-lens/dist/{chunk-KNJH6WJQ.js → chunk-TQKWR5AZ.js} +7 -7
- package/node_modules/pi-lens/dist/chunk-TWAQFMLW.js +110 -0
- package/node_modules/pi-lens/dist/{chunk-TKOFTLGB.js → chunk-UARVPNAU.js} +33 -33
- package/node_modules/pi-lens/dist/chunk-UWBD3JMH.js +56 -0
- package/node_modules/pi-lens/dist/{chunk-K4Z7MK6T.js → chunk-VEF3GFOL.js} +15 -15
- package/node_modules/pi-lens/dist/{chunk-4DAHGU3V.js → chunk-W2JPGW7Q.js} +27 -25
- package/node_modules/pi-lens/dist/{chunk-CZJGAOKL.js → chunk-W2YHHNY3.js} +7 -7
- package/node_modules/pi-lens/dist/{chunk-R4L7KZ7R.js → chunk-WA6U2URH.js} +9 -9
- package/node_modules/pi-lens/dist/{chunk-OZQQ3AIR.js → chunk-WAK2AXQQ.js} +9 -9
- package/node_modules/pi-lens/dist/{chunk-DFKOA74L.js → chunk-WH6O4IFD.js} +10 -10
- package/node_modules/pi-lens/dist/{chunk-27JQHK7Y.js → chunk-WJ7GY5WJ.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-KXGTLAUW.js → chunk-WWZLT6AM.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-O2MHF7QM.js → chunk-XRLZ75YY.js} +38 -38
- package/node_modules/pi-lens/dist/chunk-XWWFESYZ.js +27 -0
- package/node_modules/pi-lens/dist/chunk-XZSXSM4K.js +27 -0
- package/node_modules/pi-lens/dist/{chunk-C5PLBTNR.js → chunk-Y2LIOCA7.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-AXAR5ZW2.js → chunk-YIEHUKX2.js} +84 -169
- package/node_modules/pi-lens/dist/{chunk-B2OXE4AH.js → chunk-YOMLAKU6.js} +182 -180
- package/node_modules/pi-lens/dist/{chunk-MOAVEPC4.js → chunk-YV7XVYSJ.js} +11 -11
- package/node_modules/pi-lens/dist/{chunk-ZULZS2I6.js → chunk-ZVQUYCBU.js} +996 -365
- package/node_modules/pi-lens/dist/index.js +4911 -2376
- package/node_modules/pi-lens/dist/mcp/analyze-cli.js +8 -8
- package/node_modules/pi-lens/dist/mcp/cli.js +40 -40
- package/node_modules/pi-lens/dist/mcp/server.js +321 -234
- package/node_modules/pi-lens/dist/mcp/worker.js +58 -58
- package/node_modules/pi-lens/dist/probes/installer.js +21 -21
- package/node_modules/pi-lens/docs/ci-bot-pr-checks.md +18 -9
- package/node_modules/pi-lens/docs/ci.md +7 -0
- package/node_modules/pi-lens/docs/defect-shapes.md +43 -28
- package/node_modules/pi-lens/docs/globalconfig.md +1 -0
- package/node_modules/pi-lens/docs/invariants/dispatch-runners.md +15 -0
- package/node_modules/pi-lens/docs/lsp-capability-matrix.md +3 -3
- package/node_modules/pi-lens/docs/lsp-idle-eviction.md +3 -2
- package/node_modules/pi-lens/docs/module-report-read-symbol.md +6 -2
- package/node_modules/pi-lens/docs/pi-lens-merge-policy.md +3 -2
- package/node_modules/pi-lens/docs/pi-lens-orchestration.md +2 -1
- package/node_modules/pi-lens/docs/pi-lens-subagent.md +2 -1
- package/node_modules/pi-lens/docs/servercapabilities.md +1 -1
- package/node_modules/pi-lens/docs/settings.md +1 -0
- package/node_modules/pi-lens/docs/usage.md +1 -0
- package/node_modules/pi-lens/package.json +1 -1
- package/package.json +9 -7
- package/node_modules/pi-lens/dist/chunk-2H7NFZ4Q.js +0 -25
- package/node_modules/pi-lens/dist/chunk-5YJXF2IS.js +0 -56
- package/node_modules/pi-lens/dist/chunk-GCSDF5IE.js +0 -27
- package/node_modules/pi-lens/dist/chunk-H5API74E.js +0 -67
- package/node_modules/pi-lens/dist/chunk-HBX55MWO.js +0 -27
- package/node_modules/pi-lens/dist/chunk-JOIKBUQN.js +0 -88
- package/node_modules/pi-lens/dist/chunk-M2YMBT5G.js +0 -73
- package/node_modules/pi-lens/dist/chunk-MJRGPEQ5.js +0 -25
- package/node_modules/pi-lens/dist/chunk-TFKN5EIR.js +0 -27
|
@@ -2,17 +2,17 @@ import { createRequire as __pilensCreateRequire } from "node:module"; const requ
|
|
|
2
2
|
import {
|
|
3
3
|
createAvailabilityProbeFlight,
|
|
4
4
|
probeToolAsync
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import {
|
|
7
|
-
registerBackgroundWriteDrain
|
|
8
|
-
} from "./chunk-UYXV5NIS.js";
|
|
5
|
+
} from "./chunk-WWZLT6AM.js";
|
|
9
6
|
import {
|
|
10
7
|
classifyFinderFailure,
|
|
11
8
|
createAvailabilityLatch,
|
|
12
9
|
isTransientDecision,
|
|
13
10
|
logAvailabilityDecision,
|
|
14
11
|
startHostStallSampler
|
|
15
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LDPY22FS.js";
|
|
13
|
+
import {
|
|
14
|
+
registerBackgroundWriteDrain
|
|
15
|
+
} from "./chunk-UYXV5NIS.js";
|
|
16
16
|
import {
|
|
17
17
|
NODE_MODULES_BIN_DIRS,
|
|
18
18
|
createGenerationSource,
|
|
@@ -20,21 +20,21 @@ import {
|
|
|
20
20
|
projectLocalBinDirs,
|
|
21
21
|
recordProjectCommandRefusal,
|
|
22
22
|
safeSpawnAsync
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-M3QGXGY4.js";
|
|
24
24
|
import {
|
|
25
25
|
getProjectTrustState,
|
|
26
26
|
withDeadline
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-EKQDQPX6.js";
|
|
28
28
|
import {
|
|
29
29
|
logExtension,
|
|
30
30
|
recordDegradationOnce
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-P7EV5ISR.js";
|
|
32
32
|
import {
|
|
33
33
|
isAtOrAboveHomeDir,
|
|
34
34
|
isUnderDir,
|
|
35
35
|
realpathOrResolve,
|
|
36
36
|
walkUpDirs
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-6MWX2J5H.js";
|
|
38
38
|
|
|
39
39
|
// dist/clients/package-manager.js
|
|
40
40
|
import * as fs from "node:fs";
|
|
@@ -206,10 +206,10 @@ async function globalBinDirsFor(pm) {
|
|
|
206
206
|
if (cached)
|
|
207
207
|
return cached;
|
|
208
208
|
const generation = packageManagerCacheGeneration.capture();
|
|
209
|
-
const shared = globalBinDirProbeFlights.run(key, () => probeGlobalBinDirs(pm, key,
|
|
209
|
+
const shared = globalBinDirProbeFlights.run(key, () => probeGlobalBinDirs(pm, key, generation));
|
|
210
210
|
return shared.promise;
|
|
211
211
|
}
|
|
212
|
-
async function probeGlobalBinDirs(pm, key,
|
|
212
|
+
async function probeGlobalBinDirs(pm, key, generation) {
|
|
213
213
|
if (pm === "bun") {
|
|
214
214
|
const base = process.env.BUN_INSTALL || path.join(os.homedir(), ".bun");
|
|
215
215
|
const dirs2 = [path.join(base, "bin")];
|
|
@@ -221,7 +221,7 @@ async function probeGlobalBinDirs(pm, key, scoped, generation) {
|
|
|
221
221
|
const query = pm === "npm" ? ["config", "get", "prefix"] : pm === "pnpm" ? ["bin", "-g"] : ["global", "bin"];
|
|
222
222
|
const res = await safeSpawnAsync(pmBinary(pm), query, {
|
|
223
223
|
timeout: 5e3,
|
|
224
|
-
|
|
224
|
+
cwd: os.homedir()
|
|
225
225
|
});
|
|
226
226
|
if (res.status !== 0 || res.error)
|
|
227
227
|
return [];
|
|
@@ -241,7 +241,7 @@ async function allAvailableGlobalBinDirs(onTransient) {
|
|
|
241
241
|
if (!await isAvailable(pm, onTransient))
|
|
242
242
|
continue;
|
|
243
243
|
for (const dir of await globalBinDirsFor(pm)) {
|
|
244
|
-
const normalized = path.resolve(dir);
|
|
244
|
+
const normalized = path.resolve(os.homedir(), dir);
|
|
245
245
|
if (seen.has(normalized))
|
|
246
246
|
continue;
|
|
247
247
|
seen.add(normalized);
|
|
@@ -314,12 +314,23 @@ function commandSearchReachesProject(cwd) {
|
|
|
314
314
|
const posix = process.platform !== "win32";
|
|
315
315
|
return (process.env.PATH ?? "").split(path.delimiter).some((entry) => entry === "" ? posix : !path.isAbsolute(entry) || isUnderDir(entry, cwd) || isProjectLocalBinPath(entry, cwd));
|
|
316
316
|
}
|
|
317
|
-
function
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
317
|
+
function* matchesInDir(dir, tools, binDirs, windowsExt, binDirWindowsExt, isWindows) {
|
|
318
|
+
const extsByDir = binDirs.map((binDir) => isWindows ? [
|
|
319
|
+
...new Set([binDirWindowsExt?.[binDir], windowsExt].flatMap((ext) => ext ? [ext] : []))
|
|
320
|
+
] : []);
|
|
321
|
+
const rounds = Math.max(0, ...extsByDir.map((exts) => exts.length));
|
|
322
|
+
for (const tool of tools) {
|
|
323
|
+
const candidates = [];
|
|
324
|
+
for (let round = 0; round < rounds; round++) {
|
|
325
|
+
for (const [i, binDir] of binDirs.entries()) {
|
|
326
|
+
const ext = extsByDir[i]?.[round];
|
|
327
|
+
if (ext !== void 0)
|
|
328
|
+
candidates.push([binDir, tool + ext]);
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
for (const binDir of binDirs)
|
|
332
|
+
candidates.push([binDir, tool]);
|
|
333
|
+
for (const [binDir, name] of candidates) {
|
|
323
334
|
const full = path.join(dir, binDir, name);
|
|
324
335
|
if (fs.existsSync(full))
|
|
325
336
|
yield full;
|
|
@@ -327,15 +338,14 @@ function* matchesInDir(dir, names, binDirs) {
|
|
|
327
338
|
}
|
|
328
339
|
}
|
|
329
340
|
function* localBinMatches(tools, startDir, options) {
|
|
330
|
-
const { windowsExt = ".cmd", homeDir = os.homedir(), binDirs = NODE_MODULES_BIN_DIRS, isWindows = onWindows(), ceiling = true } = options;
|
|
331
|
-
const names = expandCandidateNames(tools, windowsExt, isWindows);
|
|
341
|
+
const { windowsExt = ".cmd", homeDir = os.homedir(), binDirs = NODE_MODULES_BIN_DIRS, binDirWindowsExt, isWindows = onWindows(), ceiling = true } = options;
|
|
332
342
|
const home = ceiling ? realpathOrResolve(homeDir) : homeDir;
|
|
333
343
|
let startIsReal;
|
|
334
344
|
for (const dir of walkUpDirs(startDir, { spelling: true })) {
|
|
335
345
|
startIsReal ??= ceiling && realpathOrResolve(dir) === dir;
|
|
336
346
|
if (ceiling && isAtOrAboveHomeDir(startIsReal ? dir : realpathOrResolve(dir), home))
|
|
337
347
|
return;
|
|
338
|
-
yield* matchesInDir(dir,
|
|
348
|
+
yield* matchesInDir(dir, tools, binDirs, windowsExt, binDirWindowsExt, isWindows);
|
|
339
349
|
}
|
|
340
350
|
}
|
|
341
351
|
function findLocalBinUpwards(tool, startDir, options = {}) {
|
|
@@ -347,9 +357,10 @@ function findLocalBinUpwards(tool, startDir, options = {}) {
|
|
|
347
357
|
return match;
|
|
348
358
|
}
|
|
349
359
|
function findLocalBinsAt(tools, dir, options = {}) {
|
|
350
|
-
const { windowsExt = ".cmd", binDirs = NODE_MODULES_BIN_DIRS, isWindows = onWindows() } = options;
|
|
351
|
-
const
|
|
352
|
-
|
|
360
|
+
const { windowsExt = ".cmd", binDirs = NODE_MODULES_BIN_DIRS, binDirWindowsExt, isWindows = onWindows() } = options;
|
|
361
|
+
const matches = [
|
|
362
|
+
...matchesInDir(path.resolve(dir), tools, binDirs, windowsExt, binDirWindowsExt, isWindows)
|
|
363
|
+
];
|
|
353
364
|
if (matches.length === 0 || getProjectTrustState() === "trusted")
|
|
354
365
|
return matches;
|
|
355
366
|
return [refuseLocalBin(tools.join(","), dir)];
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
getGlobalPiLensDir
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-M3QGXGY4.js";
|
|
5
5
|
import {
|
|
6
6
|
getTurnId
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HUWW77QY.js";
|
|
8
8
|
import {
|
|
9
9
|
BoundedFifoMap,
|
|
10
10
|
realpathOrResolve,
|
|
11
11
|
walkUpDirs
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-6MWX2J5H.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
15
|
} from "./chunk-NXL4FFQQ.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
detectFileRole
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-N2U644ZW.js";
|
|
5
5
|
|
|
6
6
|
// dist/clients/collateral-test-role.js
|
|
7
7
|
function isTestRoleCollateral(filePath) {
|
|
@@ -58,61 +58,61 @@ import {
|
|
|
58
58
|
seqFastpathEnabled,
|
|
59
59
|
terminateReviewGraphPersistWorkerForTests,
|
|
60
60
|
waitForReviewGraphPersistsForTests
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-W2JPGW7Q.js";
|
|
62
62
|
import "./chunk-3MED75HT.js";
|
|
63
63
|
import "./chunk-PKLB2XJL.js";
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-
|
|
64
|
+
import "./chunk-EXHSWN3P.js";
|
|
65
|
+
import "./chunk-35UJUF27.js";
|
|
66
66
|
import "./chunk-XIMYZ3JA.js";
|
|
67
|
-
import "./chunk-
|
|
68
|
-
import "./chunk-
|
|
69
|
-
import "./chunk-
|
|
70
|
-
import "./chunk-
|
|
71
|
-
import "./chunk-
|
|
72
|
-
import "./chunk-LQQNFCQJ.js";
|
|
67
|
+
import "./chunk-YIEHUKX2.js";
|
|
68
|
+
import "./chunk-J7VNGHLN.js";
|
|
69
|
+
import "./chunk-AB26NAHA.js";
|
|
70
|
+
import "./chunk-5HVDD7IA.js";
|
|
71
|
+
import "./chunk-B2QO7GHY.js";
|
|
73
72
|
import "./chunk-5W3R6LFT.js";
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-
|
|
73
|
+
import "./chunk-S7KUDW73.js";
|
|
74
|
+
import "./chunk-KSQJBGRO.js";
|
|
75
|
+
import "./chunk-H6DNTQ4V.js";
|
|
76
|
+
import "./chunk-4GLSO2EM.js";
|
|
78
77
|
import "./chunk-Z54ZSOBZ.js";
|
|
79
|
-
import "./chunk-
|
|
78
|
+
import "./chunk-2DWNYVUN.js";
|
|
80
79
|
import "./chunk-6HWVI6MI.js";
|
|
81
|
-
import "./chunk-
|
|
82
|
-
import "./chunk-
|
|
83
|
-
import "./chunk-
|
|
84
|
-
import "./chunk-
|
|
85
|
-
import "./chunk-
|
|
80
|
+
import "./chunk-HMXWZUQW.js";
|
|
81
|
+
import "./chunk-MET776XM.js";
|
|
82
|
+
import "./chunk-BQ72NQQM.js";
|
|
83
|
+
import "./chunk-BYIEU4E4.js";
|
|
84
|
+
import "./chunk-NAACKIKT.js";
|
|
85
|
+
import "./chunk-6MDWNZ7E.js";
|
|
86
86
|
import "./chunk-2APSZHHI.js";
|
|
87
|
-
import "./chunk-
|
|
87
|
+
import "./chunk-62PIU4TO.js";
|
|
88
88
|
import "./chunk-2BEMIWEW.js";
|
|
89
89
|
import "./chunk-IJYGIDF4.js";
|
|
90
|
-
import "./chunk-
|
|
91
|
-
import "./chunk-
|
|
92
|
-
import "./chunk-
|
|
93
|
-
import "./chunk-
|
|
90
|
+
import "./chunk-YOMLAKU6.js";
|
|
91
|
+
import "./chunk-T2D2WWP6.js";
|
|
92
|
+
import "./chunk-25CAONWT.js";
|
|
93
|
+
import "./chunk-WWZLT6AM.js";
|
|
94
|
+
import "./chunk-DKXIUGNA.js";
|
|
95
|
+
import "./chunk-LDPY22FS.js";
|
|
96
|
+
import "./chunk-HOWHAKXO.js";
|
|
97
|
+
import "./chunk-WJ7GY5WJ.js";
|
|
98
|
+
import "./chunk-WA6U2URH.js";
|
|
99
|
+
import "./chunk-TABDCX35.js";
|
|
94
100
|
import "./chunk-TQWRH25U.js";
|
|
95
101
|
import "./chunk-UYXV5NIS.js";
|
|
96
|
-
import "./chunk-
|
|
97
|
-
import "./chunk-
|
|
98
|
-
import "./chunk-XSC3BCN3.js";
|
|
99
|
-
import "./chunk-27JQHK7Y.js";
|
|
100
|
-
import "./chunk-R4L7KZ7R.js";
|
|
101
|
-
import "./chunk-74AMPWNC.js";
|
|
102
|
-
import "./chunk-3PO4YYOX.js";
|
|
103
|
-
import "./chunk-5JB4WENL.js";
|
|
102
|
+
import "./chunk-M3QGXGY4.js";
|
|
103
|
+
import "./chunk-GIK6VUCY.js";
|
|
104
104
|
import "./chunk-QYF5S6P6.js";
|
|
105
|
-
import "./chunk-
|
|
106
|
-
import "./chunk-
|
|
107
|
-
import "./chunk-
|
|
105
|
+
import "./chunk-N2U644ZW.js";
|
|
106
|
+
import "./chunk-SL4G67AP.js";
|
|
107
|
+
import "./chunk-DLGJYQML.js";
|
|
108
108
|
import "./chunk-CIA7X2PZ.js";
|
|
109
|
-
import "./chunk-
|
|
110
|
-
import "./chunk-
|
|
109
|
+
import "./chunk-EKQDQPX6.js";
|
|
110
|
+
import "./chunk-P7EV5ISR.js";
|
|
111
111
|
import "./chunk-S26LC76R.js";
|
|
112
|
-
import "./chunk-
|
|
112
|
+
import "./chunk-HUWW77QY.js";
|
|
113
113
|
import "./chunk-LJDODBBZ.js";
|
|
114
|
-
import "./chunk-
|
|
115
|
-
import "./chunk-
|
|
114
|
+
import "./chunk-NHHS5T52.js";
|
|
115
|
+
import "./chunk-6MWX2J5H.js";
|
|
116
116
|
import "./chunk-NXL4FFQQ.js";
|
|
117
117
|
export {
|
|
118
118
|
GRAPH_PERSIST_MAX_ELEMENTS_DEFAULT,
|
|
@@ -2,20 +2,20 @@ import { createRequire as __pilensCreateRequire } from "node:module"; const requ
|
|
|
2
2
|
import {
|
|
3
3
|
functionName,
|
|
4
4
|
measureFunction
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-Y2LIOCA7.js";
|
|
6
6
|
import {
|
|
7
7
|
extractFactsFromTree
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-IO6P3NBP.js";
|
|
9
9
|
import {
|
|
10
10
|
findOwnerName
|
|
11
11
|
} from "./chunk-5W3R6LFT.js";
|
|
12
12
|
import {
|
|
13
13
|
firstChildOfType,
|
|
14
14
|
walk
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-4GLSO2EM.js";
|
|
16
16
|
import {
|
|
17
17
|
isJstsFactFile
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-SL4G67AP.js";
|
|
19
19
|
|
|
20
20
|
// dist/clients/dispatch/facts/function-facts.js
|
|
21
21
|
var BOUNDARY_PREFIXES = [
|
|
@@ -1,20 +1,20 @@
|
|
|
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-M3QGXGY4.js";
|
|
5
5
|
import {
|
|
6
6
|
createNdjsonLogger,
|
|
7
7
|
getGlobalPiLensLogDir,
|
|
8
8
|
getProcessSingleton,
|
|
9
9
|
getTurnId,
|
|
10
10
|
isTestMode
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-HUWW77QY.js";
|
|
12
12
|
import {
|
|
13
13
|
BoundedFifoMap,
|
|
14
14
|
normalizeFilePath,
|
|
15
15
|
normalizeMapKey,
|
|
16
16
|
toPosix
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-6MWX2J5H.js";
|
|
18
18
|
|
|
19
19
|
// dist/clients/hashline-anchor.js
|
|
20
20
|
var HASHLINE_ANCHOR_LENGTH = 3;
|
|
@@ -377,6 +377,19 @@ function isMutatingToolName(toolName) {
|
|
|
377
377
|
}
|
|
378
378
|
var RESOLVED_RANGE_CARRY_LIMIT = 64;
|
|
379
379
|
var RESOLVED_RANGE_CARRY = new BoundedFifoMap(RESOLVED_RANGE_CARRY_LIMIT);
|
|
380
|
+
function classifyBridgeMutation(entry) {
|
|
381
|
+
const provenance = entry.provenance === "observed" || entry.provenance === "settled-sweep" ? entry.provenance : "bridge";
|
|
382
|
+
return {
|
|
383
|
+
toolName: entry.consumer ?? "unknown",
|
|
384
|
+
path: entry.filePath,
|
|
385
|
+
kind: entry.kind,
|
|
386
|
+
touchedLines: entry.touchedLines,
|
|
387
|
+
editRanges: entry.editRanges,
|
|
388
|
+
authorshipUnknown: entry.authorshipUnknown,
|
|
389
|
+
provenance,
|
|
390
|
+
source: provenance === "bridge" ? "mutation-bridge" : "observed-mutation"
|
|
391
|
+
};
|
|
392
|
+
}
|
|
380
393
|
|
|
381
394
|
export {
|
|
382
395
|
normalizeMessage,
|
|
@@ -394,5 +407,6 @@ export {
|
|
|
394
407
|
logReadGuardEvent,
|
|
395
408
|
primePersistedMutationAttribution,
|
|
396
409
|
resetMutationAttribution,
|
|
397
|
-
isMutatingToolName
|
|
410
|
+
isMutatingToolName,
|
|
411
|
+
classifyBridgeMutation
|
|
398
412
|
};
|
|
@@ -7,29 +7,29 @@ import {
|
|
|
7
7
|
extractForwardImportPaths,
|
|
8
8
|
extractForwardImports,
|
|
9
9
|
sweepInlineBlockerFreshness
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-S7KUDW73.js";
|
|
11
|
+
import "./chunk-KSQJBGRO.js";
|
|
12
|
+
import "./chunk-H6DNTQ4V.js";
|
|
13
|
+
import "./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-
|
|
23
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-2DWNYVUN.js";
|
|
16
|
+
import "./chunk-NAACKIKT.js";
|
|
17
|
+
import "./chunk-62PIU4TO.js";
|
|
18
|
+
import "./chunk-DKXIUGNA.js";
|
|
19
|
+
import "./chunk-LDPY22FS.js";
|
|
20
|
+
import "./chunk-M3QGXGY4.js";
|
|
21
|
+
import "./chunk-N2U644ZW.js";
|
|
22
|
+
import "./chunk-SL4G67AP.js";
|
|
23
|
+
import "./chunk-DLGJYQML.js";
|
|
24
24
|
import "./chunk-CIA7X2PZ.js";
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-EKQDQPX6.js";
|
|
26
|
+
import "./chunk-P7EV5ISR.js";
|
|
27
27
|
import {
|
|
28
28
|
MTIME_DRIFT_TOLERANCE_MS
|
|
29
29
|
} from "./chunk-S26LC76R.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-HUWW77QY.js";
|
|
31
31
|
import "./chunk-LJDODBBZ.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-6MWX2J5H.js";
|
|
33
33
|
import "./chunk-NXL4FFQQ.js";
|
|
34
34
|
export {
|
|
35
35
|
DEPENDENCY_DRIFT_MAX_DELIVERIES,
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
_getWarmWordIndexCacheStateForTests,
|
|
4
|
+
_resetWarmWordIndexCacheForTests,
|
|
5
|
+
acquireWarmWordIndex,
|
|
6
|
+
analyzeFile,
|
|
7
|
+
summarizeWarningTiers
|
|
8
|
+
} from "./chunk-ZVQUYCBU.js";
|
|
9
|
+
import "./chunk-BKJ6WZKP.js";
|
|
10
|
+
import "./chunk-2RQREVGO.js";
|
|
11
|
+
import "./chunk-T7KHGEJ5.js";
|
|
12
|
+
import "./chunk-7ORBRDFY.js";
|
|
13
|
+
import "./chunk-W2YHHNY3.js";
|
|
14
|
+
import "./chunk-OG3UCAHV.js";
|
|
15
|
+
import "./chunk-FD4LJQ6Y.js";
|
|
16
|
+
import "./chunk-HFIFEH46.js";
|
|
17
|
+
import "./chunk-QQGZY2BR.js";
|
|
18
|
+
import "./chunk-ALTHJUZO.js";
|
|
19
|
+
import "./chunk-S247BOH2.js";
|
|
20
|
+
import "./chunk-JGCBMCCS.js";
|
|
21
|
+
import "./chunk-NNDZ7DOP.js";
|
|
22
|
+
import "./chunk-Q32RJDYC.js";
|
|
23
|
+
import "./chunk-2YQ5LI7R.js";
|
|
24
|
+
import "./chunk-Y2LIOCA7.js";
|
|
25
|
+
import "./chunk-IO6P3NBP.js";
|
|
26
|
+
import "./chunk-W2JPGW7Q.js";
|
|
27
|
+
import "./chunk-3MED75HT.js";
|
|
28
|
+
import "./chunk-PKLB2XJL.js";
|
|
29
|
+
import "./chunk-EXHSWN3P.js";
|
|
30
|
+
import "./chunk-35UJUF27.js";
|
|
31
|
+
import "./chunk-XIMYZ3JA.js";
|
|
32
|
+
import "./chunk-YIEHUKX2.js";
|
|
33
|
+
import "./chunk-J7VNGHLN.js";
|
|
34
|
+
import "./chunk-AB26NAHA.js";
|
|
35
|
+
import "./chunk-5HVDD7IA.js";
|
|
36
|
+
import "./chunk-B2QO7GHY.js";
|
|
37
|
+
import "./chunk-5W3R6LFT.js";
|
|
38
|
+
import "./chunk-S7KUDW73.js";
|
|
39
|
+
import "./chunk-KSQJBGRO.js";
|
|
40
|
+
import "./chunk-H6DNTQ4V.js";
|
|
41
|
+
import "./chunk-4GLSO2EM.js";
|
|
42
|
+
import "./chunk-Z54ZSOBZ.js";
|
|
43
|
+
import "./chunk-2DWNYVUN.js";
|
|
44
|
+
import "./chunk-6HWVI6MI.js";
|
|
45
|
+
import "./chunk-HMXWZUQW.js";
|
|
46
|
+
import "./chunk-MET776XM.js";
|
|
47
|
+
import "./chunk-BQ72NQQM.js";
|
|
48
|
+
import "./chunk-BYIEU4E4.js";
|
|
49
|
+
import "./chunk-NAACKIKT.js";
|
|
50
|
+
import "./chunk-6MDWNZ7E.js";
|
|
51
|
+
import "./chunk-2APSZHHI.js";
|
|
52
|
+
import "./chunk-62PIU4TO.js";
|
|
53
|
+
import "./chunk-2BEMIWEW.js";
|
|
54
|
+
import "./chunk-IJYGIDF4.js";
|
|
55
|
+
import "./chunk-YOMLAKU6.js";
|
|
56
|
+
import "./chunk-T2D2WWP6.js";
|
|
57
|
+
import "./chunk-25CAONWT.js";
|
|
58
|
+
import "./chunk-WWZLT6AM.js";
|
|
59
|
+
import "./chunk-DKXIUGNA.js";
|
|
60
|
+
import "./chunk-LDPY22FS.js";
|
|
61
|
+
import "./chunk-HOWHAKXO.js";
|
|
62
|
+
import "./chunk-WJ7GY5WJ.js";
|
|
63
|
+
import "./chunk-WA6U2URH.js";
|
|
64
|
+
import "./chunk-TABDCX35.js";
|
|
65
|
+
import "./chunk-TQWRH25U.js";
|
|
66
|
+
import "./chunk-UYXV5NIS.js";
|
|
67
|
+
import "./chunk-M3QGXGY4.js";
|
|
68
|
+
import "./chunk-GIK6VUCY.js";
|
|
69
|
+
import "./chunk-QYF5S6P6.js";
|
|
70
|
+
import "./chunk-N2U644ZW.js";
|
|
71
|
+
import "./chunk-SL4G67AP.js";
|
|
72
|
+
import "./chunk-DLGJYQML.js";
|
|
73
|
+
import "./chunk-CIA7X2PZ.js";
|
|
74
|
+
import "./chunk-EKQDQPX6.js";
|
|
75
|
+
import "./chunk-P7EV5ISR.js";
|
|
76
|
+
import "./chunk-S26LC76R.js";
|
|
77
|
+
import "./chunk-HUWW77QY.js";
|
|
78
|
+
import "./chunk-LJDODBBZ.js";
|
|
79
|
+
import "./chunk-NHHS5T52.js";
|
|
80
|
+
import "./chunk-6MWX2J5H.js";
|
|
81
|
+
import "./chunk-NXL4FFQQ.js";
|
|
82
|
+
export {
|
|
83
|
+
_getWarmWordIndexCacheStateForTests,
|
|
84
|
+
_resetWarmWordIndexCacheForTests,
|
|
85
|
+
acquireWarmWordIndex,
|
|
86
|
+
analyzeFile,
|
|
87
|
+
summarizeWarningTiers
|
|
88
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
GovulncheckClient,
|
|
4
|
+
parseGovulncheckJson
|
|
5
|
+
} from "./chunk-DHFJS2I4.js";
|
|
6
|
+
import "./chunk-FD4LJQ6Y.js";
|
|
7
|
+
import "./chunk-HFIFEH46.js";
|
|
8
|
+
import "./chunk-QQGZY2BR.js";
|
|
9
|
+
import "./chunk-5HVDD7IA.js";
|
|
10
|
+
import "./chunk-2APSZHHI.js";
|
|
11
|
+
import "./chunk-WWZLT6AM.js";
|
|
12
|
+
import "./chunk-LDPY22FS.js";
|
|
13
|
+
import "./chunk-M3QGXGY4.js";
|
|
14
|
+
import "./chunk-GIK6VUCY.js";
|
|
15
|
+
import "./chunk-N2U644ZW.js";
|
|
16
|
+
import "./chunk-DLGJYQML.js";
|
|
17
|
+
import "./chunk-EKQDQPX6.js";
|
|
18
|
+
import "./chunk-P7EV5ISR.js";
|
|
19
|
+
import "./chunk-S26LC76R.js";
|
|
20
|
+
import "./chunk-HUWW77QY.js";
|
|
21
|
+
import "./chunk-LJDODBBZ.js";
|
|
22
|
+
import "./chunk-6MWX2J5H.js";
|
|
23
|
+
import "./chunk-NXL4FFQQ.js";
|
|
24
|
+
export {
|
|
25
|
+
GovulncheckClient,
|
|
26
|
+
parseGovulncheckJson
|
|
27
|
+
};
|
|
@@ -7,25 +7,25 @@ import {
|
|
|
7
7
|
hasGitleaksSignal,
|
|
8
8
|
parseGitleaksReport,
|
|
9
9
|
writeScopedGitleaksConfig
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-PVV27TOX.js";
|
|
11
|
+
import "./chunk-OG3UCAHV.js";
|
|
12
|
+
import "./chunk-FD4LJQ6Y.js";
|
|
13
|
+
import "./chunk-HFIFEH46.js";
|
|
14
|
+
import "./chunk-QQGZY2BR.js";
|
|
15
|
+
import "./chunk-5HVDD7IA.js";
|
|
16
16
|
import "./chunk-2APSZHHI.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-WWZLT6AM.js";
|
|
18
|
+
import "./chunk-LDPY22FS.js";
|
|
19
|
+
import "./chunk-M3QGXGY4.js";
|
|
20
|
+
import "./chunk-GIK6VUCY.js";
|
|
21
|
+
import "./chunk-N2U644ZW.js";
|
|
22
|
+
import "./chunk-DLGJYQML.js";
|
|
23
|
+
import "./chunk-EKQDQPX6.js";
|
|
24
|
+
import "./chunk-P7EV5ISR.js";
|
|
25
25
|
import "./chunk-S26LC76R.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-HUWW77QY.js";
|
|
27
27
|
import "./chunk-LJDODBBZ.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-6MWX2J5H.js";
|
|
29
29
|
import "./chunk-NXL4FFQQ.js";
|
|
30
30
|
export {
|
|
31
31
|
GitleaksClient,
|
|
@@ -8,29 +8,29 @@ import {
|
|
|
8
8
|
js_yaml_default,
|
|
9
9
|
resolvePackagePath,
|
|
10
10
|
ruleCorpusFingerprintForCycle
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2DWNYVUN.js";
|
|
12
12
|
import {
|
|
13
13
|
EXTENSION_TO_GRAMMAR
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-NAACKIKT.js";
|
|
15
15
|
import {
|
|
16
16
|
transientRetryDelayMs
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-LDPY22FS.js";
|
|
18
18
|
import {
|
|
19
19
|
getProjectIgnoreMatcher,
|
|
20
20
|
isExcludedDirName
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-M3QGXGY4.js";
|
|
22
22
|
import {
|
|
23
23
|
notifyUserDegradation
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-N2U644ZW.js";
|
|
25
25
|
import {
|
|
26
26
|
hashContentBytes
|
|
27
27
|
} from "./chunk-CIA7X2PZ.js";
|
|
28
28
|
import {
|
|
29
29
|
assertInstallAllowed,
|
|
30
30
|
getProjectTrustGeneration,
|
|
31
|
-
|
|
31
|
+
withDeadline,
|
|
32
32
|
writeFileAtomic
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-EKQDQPX6.js";
|
|
34
34
|
import {
|
|
35
35
|
compareOrdinal,
|
|
36
36
|
escapeRegExp,
|
|
@@ -38,14 +38,14 @@ import {
|
|
|
38
38
|
incrementDegradationCount,
|
|
39
39
|
recordDegradation,
|
|
40
40
|
recordDegradationOnce
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-P7EV5ISR.js";
|
|
42
42
|
import {
|
|
43
43
|
createNdjsonLogger,
|
|
44
44
|
getGlobalPiLensLogDir,
|
|
45
45
|
getMaxLogSizeMB,
|
|
46
46
|
isTestMode,
|
|
47
47
|
logLatency
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-HUWW77QY.js";
|
|
49
49
|
import {
|
|
50
50
|
BoundedFifoMap,
|
|
51
51
|
normalizeFilePath,
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
relativeInside,
|
|
54
54
|
toPosix,
|
|
55
55
|
walkUpDirs
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-6MWX2J5H.js";
|
|
57
57
|
|
|
58
58
|
// dist/clients/tree-sitter-logger.js
|
|
59
59
|
import * as path from "node:path";
|
|
@@ -3338,7 +3338,9 @@ var TreeSitterClient = class _TreeSitterClient {
|
|
|
3338
3338
|
this.dbg(`Calling Language.load...`);
|
|
3339
3339
|
const started = this.LanguageLoader.load(grammarPath);
|
|
3340
3340
|
loading = started;
|
|
3341
|
-
const language = await
|
|
3341
|
+
const language = await withDeadline(started, {
|
|
3342
|
+
ms: GRAMMAR_LOAD_TIMEOUT_MS
|
|
3343
|
+
});
|
|
3342
3344
|
this.dbg(`Language loaded: ${language?.name || "unknown"}`);
|
|
3343
3345
|
if (language) {
|
|
3344
3346
|
this.languages.set(languageId, language);
|
|
@@ -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";
|