@herbertgao/pi-extensions 2026.11.4 → 2026.11.6
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 +14 -0
- package/README.md +9 -9
- package/THIRD_PARTY_NOTICES.md +2 -2
- package/node_modules/@herbertgao/pi-cc-extensions/CHANGELOG.md +10 -0
- package/node_modules/@herbertgao/pi-cc-extensions/README.en.md +5 -4
- package/node_modules/@herbertgao/pi-cc-extensions/README.md +5 -4
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/config/panel.ts +4 -4
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/feature/compact-thinking.ts +6 -0
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/feature/shell/footer.ts +22 -4
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/feature/shell/session-tokens.ts +3 -3
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/compact-mode.ts +22 -2
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/index.ts +5 -0
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/ccstyle-tool.ts +38 -6
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/codemode.ts +2 -1
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/diff/diff-header.ts +4 -4
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/diff/diff-layout.ts +6 -6
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/diff/diff-palette.ts +4 -4
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/diff/diff-presentation.ts +2 -2
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/tool-io.ts +3 -2
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/transcript-mode.ts +465 -0
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/transcript-scope.ts +44 -0
- package/node_modules/@herbertgao/pi-cc-extensions/package.json +4 -4
- package/node_modules/@herbertgao/pi-cc-extensions/themes/cc-dark-hc.json +2 -4
- package/node_modules/@herbertgao/pi-cc-extensions/themes/cc-dark.json +3 -5
- package/node_modules/@herbertgao/pi-cc-extensions/themes/cc-light-hc.json +2 -4
- package/node_modules/@herbertgao/pi-cc-extensions/themes/cc-light.json +3 -5
- package/node_modules/@herbertgao/pi-impeccable/CHANGELOG.md +10 -0
- package/node_modules/@herbertgao/pi-impeccable/README.md +2 -2
- package/node_modules/@herbertgao/pi-impeccable/package.json +4 -4
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/SKILL.md +1 -1
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/degraded/asset-producer.md +1 -1
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/degraded/documenter.md +4 -4
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/degraded/finish-reviewer.md +2 -2
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/degraded/manual-edit-applier.md +3 -2
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/hooks.md +13 -7
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/init.md +2 -0
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/live.md +5 -3
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/new-work.md +2 -2
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/scripts/VERSION +1 -1
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/scripts/engine-checksums.txt +5 -5
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/scripts/impeccable +39 -22
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/scripts/impeccable.cmd +43 -15
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/scripts/live-browser.js +357 -139
- package/node_modules/@narumitw/pi-btw/CHANGELOG.md +8 -0
- package/node_modules/@narumitw/pi-btw/README.md +1 -0
- package/node_modules/@narumitw/pi-btw/dist/chunks/bring-to-main-VMICX6GU.ts +450 -0
- package/node_modules/@narumitw/pi-btw/dist/chunks/bring-to-main-VMICX6GU.ts.map +7 -0
- package/node_modules/@narumitw/pi-btw/dist/chunks/chunk-6GO5M6UJ.ts +142 -0
- package/node_modules/@narumitw/pi-btw/dist/chunks/chunk-6GO5M6UJ.ts.map +7 -0
- package/node_modules/@narumitw/pi-btw/dist/chunks/chunk-E4LBFYRH.ts +452 -0
- package/node_modules/@narumitw/pi-btw/dist/chunks/chunk-E4LBFYRH.ts.map +7 -0
- package/node_modules/@narumitw/pi-btw/dist/chunks/chunk-FWW662MW.ts +329 -0
- package/node_modules/@narumitw/pi-btw/dist/chunks/chunk-FWW662MW.ts.map +7 -0
- package/node_modules/@narumitw/pi-btw/dist/chunks/chunk-TPDBHPLD.ts +614 -0
- package/node_modules/@narumitw/pi-btw/dist/chunks/chunk-TPDBHPLD.ts.map +7 -0
- package/node_modules/@narumitw/pi-btw/dist/chunks/fullscreen-ui-4MJ3HOFJ.ts +1400 -0
- package/node_modules/@narumitw/pi-btw/dist/chunks/fullscreen-ui-4MJ3HOFJ.ts.map +7 -0
- package/node_modules/@narumitw/pi-btw/dist/chunks/import-main-updates-XFSIED52.ts +79 -0
- package/node_modules/@narumitw/pi-btw/dist/chunks/import-main-updates-XFSIED52.ts.map +7 -0
- package/node_modules/@narumitw/pi-btw/dist/chunks/main-tree-picker-WHRN26NJ.ts +328 -0
- package/node_modules/@narumitw/pi-btw/dist/chunks/main-tree-picker-WHRN26NJ.ts.map +7 -0
- package/node_modules/@narumitw/pi-btw/dist/chunks/menu-SYMLQYWC.ts +15 -0
- package/node_modules/@narumitw/pi-btw/dist/chunks/menu-SYMLQYWC.ts.map +7 -0
- package/node_modules/@narumitw/pi-btw/dist/chunks/transcript-pager-D7XAJC65.ts +824 -0
- package/node_modules/@narumitw/pi-btw/dist/chunks/transcript-pager-D7XAJC65.ts.map +7 -0
- package/node_modules/@narumitw/pi-btw/dist/index.ts +111 -4497
- package/node_modules/@narumitw/pi-btw/dist/index.ts.map +4 -4
- package/node_modules/@narumitw/pi-btw/package.json +2 -2
- package/node_modules/@narumitw/pi-btw/src/btw.ts +55 -30
- package/node_modules/pi-antigravity/README.md +6 -2
- package/node_modules/pi-antigravity/package.json +9 -5
- package/node_modules/pi-antigravity/src/features/generate-image.ts +9 -3
- package/node_modules/pi-antigravity/src/features/google-search.ts +3 -2
- package/node_modules/pi-antigravity/src/image/image.ts +42 -4
- package/node_modules/pi-antigravity/src/index.ts +3 -1
- package/node_modules/pi-antigravity/src/models/models.ts +27 -2
- package/node_modules/pi-antigravity/src/search/search.ts +7 -2
- package/node_modules/pi-antigravity/src/stream/stream.ts +91 -15
- package/node_modules/pi-antigravity/src/types/types.ts +2 -0
- package/node_modules/pi-antigravity/src/utils/util.ts +7 -0
- package/node_modules/pi-lens/CHANGELOG-USER.md +6 -6
- package/node_modules/pi-lens/CHANGELOG.md +80 -0
- package/node_modules/pi-lens/README.md +2 -0
- package/node_modules/pi-lens/dist/{chunk-CM6BDY4E.js → chunk-2ADRLTM2.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-XO756WE5.js → chunk-2LVJQU3I.js} +15 -14
- package/node_modules/pi-lens/dist/{chunk-W5E72HJA.js → chunk-3FRI5H4T.js} +13 -1
- package/node_modules/pi-lens/dist/{chunk-N5CEGQPG.js → chunk-3HM4BUHR.js} +11 -11
- package/node_modules/pi-lens/dist/{chunk-UAKO2M6B.js → chunk-3QWVOBZJ.js} +30 -30
- package/node_modules/pi-lens/dist/{chunk-QB7T2PHK.js → chunk-46TQJSUE.js} +3 -1
- package/node_modules/pi-lens/dist/{chunk-ZZN74OGD.js → chunk-4ITEFRDH.js} +3 -2
- package/node_modules/pi-lens/dist/{chunk-C3YRO3EU.js → chunk-4NCDHTFI.js} +6 -6
- package/node_modules/pi-lens/dist/{chunk-G22UNQID.js → chunk-6I44EDNQ.js} +10 -10
- package/node_modules/pi-lens/dist/{chunk-OUYAUXAT.js → chunk-6MDM5MQT.js} +169 -56
- package/node_modules/pi-lens/dist/{chunk-CDFJF5YD.js → chunk-7JX3RNG4.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-PIIUNJIT.js → chunk-7WJ55KBN.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-ZMMHHXSW.js → chunk-A5TEJZGJ.js} +1 -0
- package/node_modules/pi-lens/dist/{chunk-HEA3EM23.js → chunk-ALIZWXHZ.js} +8 -8
- package/node_modules/pi-lens/dist/{chunk-MQ4PPCJB.js → chunk-AON2QIJF.js} +32 -36
- package/node_modules/pi-lens/dist/{chunk-DGKFWQK4.js → chunk-B2YUE6YD.js} +7 -7
- package/node_modules/pi-lens/dist/{chunk-GQTQUNCG.js → chunk-B6HXETWY.js} +20 -20
- package/node_modules/pi-lens/dist/{chunk-KR5VGMVT.js → chunk-BDR5MEZY.js} +9 -9
- package/node_modules/pi-lens/dist/{chunk-MRLH4MYU.js → chunk-BGLS5SDN.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-PRHYIA6X.js → chunk-BRESRQBE.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-5GEYJJHG.js → chunk-C6AODRNU.js} +7 -7
- package/node_modules/pi-lens/dist/{chunk-ZZSJAR76.js → chunk-CTB5BAJI.js} +24 -11
- package/node_modules/pi-lens/dist/{chunk-IICERRFF.js → chunk-CYUJB552.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-THYHUIDR.js → chunk-CZAWWXP6.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-QJJKOHLH.js → chunk-DBS736MA.js} +27 -27
- package/node_modules/pi-lens/dist/{chunk-XLAI7UYY.js → chunk-DOUAWKLO.js} +8 -8
- package/node_modules/pi-lens/dist/{chunk-LAHHGNAY.js → chunk-DVRJBQOJ.js} +12 -12
- package/node_modules/pi-lens/dist/{chunk-KV6GQOGN.js → chunk-E4VXKTBR.js} +28 -28
- package/node_modules/pi-lens/dist/{chunk-XKFO2SZV.js → chunk-F6FT6BVQ.js} +26 -26
- package/node_modules/pi-lens/dist/{chunk-VWLSU3XV.js → chunk-FCQSZQAT.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-X5BJ3G2P.js → chunk-FOEPIX76.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-F6BEQWAK.js → chunk-GMC4ZGYR.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-TOE2RRCS.js → chunk-GTTMQ6XB.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-5YSEQHJN.js → chunk-GUGKKGG7.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-OSEKJEUU.js → chunk-GVWIU7M7.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-TMNUTMT5.js → chunk-H65TYP6V.js} +25 -4
- package/node_modules/pi-lens/dist/{chunk-7R5GZIA6.js → chunk-HILZE4BQ.js} +5 -4
- package/node_modules/pi-lens/dist/{chunk-HYSKJMZK.js → chunk-HSYFLOZY.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-V2WDBOLZ.js → chunk-I32RSMH6.js} +7 -7
- package/node_modules/pi-lens/dist/chunk-I74RQGKA.js +88 -0
- package/node_modules/pi-lens/dist/{chunk-RNXOWDM6.js → chunk-IDCTDKIA.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-TYHPVE5H.js → chunk-IK4YS3KC.js} +8 -8
- package/node_modules/pi-lens/dist/{chunk-ZCQBNPRH.js → chunk-IL6PIV33.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-6GPB3JLL.js → chunk-J6BR5XN2.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-UC5AXW5Z.js → chunk-JKOZ2Z4U.js} +6 -6
- package/node_modules/pi-lens/dist/{chunk-WSSLVMDA.js → chunk-JZQGRARR.js} +7 -7
- package/node_modules/pi-lens/dist/{chunk-7UTSNTWM.js → chunk-K6WIBVMK.js} +4 -3
- package/node_modules/pi-lens/dist/{chunk-QVBOXT3L.js → chunk-KDCIG23C.js} +6 -6
- package/node_modules/pi-lens/dist/{chunk-NOWH2VA2.js → chunk-KFRDFAOE.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-NMUSOZ2D.js → chunk-KJ3AHOCK.js} +6 -6
- package/node_modules/pi-lens/dist/{chunk-E65WJVI5.js → chunk-KSTQ4VXT.js} +5 -5
- package/node_modules/pi-lens/dist/{chunk-4ENEJHF4.js → chunk-MAD4QJTP.js} +9 -9
- package/node_modules/pi-lens/dist/{chunk-KXMJLOZF.js → chunk-NBM7PNBP.js} +7 -7
- package/node_modules/pi-lens/dist/{chunk-7YTRG6YW.js → chunk-NE4EFHJX.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-AACN5GNE.js → chunk-NPNFGYLV.js} +3 -1
- package/node_modules/pi-lens/dist/{chunk-H3BVMK47.js → chunk-OPFNQBS5.js} +5 -5
- package/node_modules/pi-lens/dist/{chunk-WTB4GKMH.js → chunk-OTSTS7L2.js} +11 -2
- package/node_modules/pi-lens/dist/{chunk-JUZ67QZQ.js → chunk-PTSA6QKL.js} +7 -7
- package/node_modules/pi-lens/dist/{chunk-ZPM7ZIFL.js → chunk-Q2VCKC3X.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-2VZ3VN3N.js → chunk-QHOTTC4A.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-L7O774U7.js → chunk-QL37SGTS.js} +105 -13
- package/node_modules/pi-lens/dist/{chunk-FRUBVFXV.js → chunk-QMV2APEH.js} +27 -27
- package/node_modules/pi-lens/dist/{chunk-L4Y3ROKQ.js → chunk-QSCZAP24.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-IILEH3ZC.js → chunk-QUPYLQA4.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-3NPWO5UO.js → chunk-QUQY3IME.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-FGNSESAC.js → chunk-QWTHFFU6.js} +8 -8
- package/node_modules/pi-lens/dist/{chunk-EKNYSXFB.js → chunk-RQRKIRFY.js} +5 -5
- package/node_modules/pi-lens/dist/{chunk-NCLO6E6N.js → chunk-S3WFVG5P.js} +14 -21
- package/node_modules/pi-lens/dist/{chunk-RTFMDIKV.js → chunk-SG2JQ2YP.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-VO4JFPTV.js → chunk-SJQUWQR6.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-SLSMJPEF.js → chunk-SKVNHCT5.js} +32 -32
- package/node_modules/pi-lens/dist/{chunk-3HTZDY3C.js → chunk-TJQSYX3J.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-RNJFRXEN.js → chunk-TLWFZ66Y.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-LWOM6LVS.js → chunk-TN5CWX5D.js} +26 -26
- package/node_modules/pi-lens/dist/{chunk-UTJP6WOS.js → chunk-TQHOKMVZ.js} +11 -11
- package/node_modules/pi-lens/dist/{chunk-N56BNAA6.js → chunk-TYHOEX4V.js} +15 -15
- package/node_modules/pi-lens/dist/{chunk-QP33NKYC.js → chunk-UNBRHPHJ.js} +10 -10
- package/node_modules/pi-lens/dist/{chunk-EY6LY2HO.js → chunk-UOO4D2TK.js} +11 -11
- package/node_modules/pi-lens/dist/{chunk-47UCC4MM.js → chunk-UY745U35.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-ZDMFGACN.js → chunk-V7F7JHS5.js} +71 -55
- package/node_modules/pi-lens/dist/{chunk-PBZNYHMM.js → chunk-VGTBLTPN.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-L6WBJGQS.js → chunk-VPFRU5IG.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-Q6JQKWPK.js → chunk-VS2L7QDI.js} +8 -8
- package/node_modules/pi-lens/dist/{chunk-PXQ45SGD.js → chunk-W4CUK5G6.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-MKPDIAZH.js → chunk-WAA63ZJV.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-J3Q2NYJR.js → chunk-WS3UFJOU.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-T5QSLSMM.js → chunk-XAFZJEXY.js} +16 -16
- package/node_modules/pi-lens/dist/{chunk-YOXCCJDF.js → chunk-XPGH5O74.js} +56 -46
- package/node_modules/pi-lens/dist/{chunk-UXTQ3QPD.js → chunk-Y3EHLUPL.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-HSOBIN22.js → chunk-YF4G5NN5.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-SIQHOB6P.js → chunk-YQA34KAF.js} +7 -7
- package/node_modules/pi-lens/dist/{chunk-V67D6TMU.js → chunk-YT2VR4SL.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-CJS6WE66.js → chunk-ZOPXB2KK.js} +11 -11
- package/node_modules/pi-lens/dist/{chunk-H6FLQ5NW.js → chunk-ZPFLHB3R.js} +11 -11
- package/node_modules/pi-lens/dist/{chunk-ZVCDHYWZ.js → chunk-ZZDVGCGG.js} +6 -6
- package/node_modules/pi-lens/dist/index.js +537 -269
- package/node_modules/pi-lens/dist/mcp/analyze-cli.js +6 -6
- package/node_modules/pi-lens/dist/mcp/cli.js +32 -32
- package/node_modules/pi-lens/dist/mcp/server.js +109 -109
- package/node_modules/pi-lens/dist/mcp/worker.js +49 -49
- package/node_modules/pi-lens/dist/probes/installer.js +13 -13
- package/node_modules/pi-lens/docs/agent-guide.md +2 -1
- package/node_modules/pi-lens/docs/agent-tools.md +13 -2
- package/node_modules/pi-lens/docs/configuration.md +9 -4
- package/node_modules/pi-lens/docs/defect-shapes.md +15 -1
- package/node_modules/pi-lens/docs/features.md +11 -1
- package/node_modules/pi-lens/docs/globalconfig.md +13 -0
- package/node_modules/pi-lens/docs/invariants/language-config.md +9 -1
- package/node_modules/pi-lens/docs/language-coverage.md +66 -0
- package/node_modules/pi-lens/docs/lsp-capability-matrix.md +66 -20
- package/node_modules/pi-lens/docs/lsp-idle-eviction.md +17 -13
- package/node_modules/pi-lens/docs/pi-lens-fixer.md +8 -6
- package/node_modules/pi-lens/docs/pi-lens-merge-policy.md +5 -1
- package/node_modules/pi-lens/docs/pi-lens-release.md +3 -2
- package/node_modules/pi-lens/docs/pi-lens-reviewer.md +52 -11
- package/node_modules/pi-lens/docs/servercapabilities.md +1 -1
- package/node_modules/pi-lens/docs/settings.md +7 -4
- package/node_modules/pi-lens/docs/usage.md +1 -0
- package/node_modules/pi-lens/package.json +2 -2
- package/node_modules/pi-lens/scripts/download-grammars.js +10 -0
- package/node_modules/pi-lens/scripts/grammars.lock.json +7 -0
- package/node_modules/pi-lens/vendor/grammars/tree-sitter-groovy.wasm +0 -0
- package/package.json +7 -7
- package/node_modules/pi-lens/dist/chunk-TGQDAG4B.js +0 -88
|
@@ -7,18 +7,18 @@ import {
|
|
|
7
7
|
deadCodeIssues,
|
|
8
8
|
formatDeadCodeDelta,
|
|
9
9
|
stableFindingKey
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-ALIZWXHZ.js";
|
|
11
11
|
import {
|
|
12
12
|
clearFormatterCache
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-UOO4D2TK.js";
|
|
14
14
|
import {
|
|
15
15
|
findNearestProjectRoot,
|
|
16
16
|
isStartupScanVerdictFresh,
|
|
17
17
|
resolveStartupScanContext
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-Q2VCKC3X.js";
|
|
19
19
|
import {
|
|
20
20
|
loadCallGraph
|
|
21
|
-
} from "../chunk-
|
|
21
|
+
} from "../chunk-J6BR5XN2.js";
|
|
22
22
|
import {
|
|
23
23
|
isHardFailureSummary
|
|
24
24
|
} from "../chunk-7U2IDNXN.js";
|
|
@@ -28,15 +28,15 @@ import {
|
|
|
28
28
|
isCompletedPassResult,
|
|
29
29
|
isExcludedTestTarget,
|
|
30
30
|
isRunnerErrorResult
|
|
31
|
-
} from "../chunk-
|
|
31
|
+
} from "../chunk-DOUAWKLO.js";
|
|
32
32
|
import {
|
|
33
33
|
GovulncheckClient
|
|
34
|
-
} from "../chunk-
|
|
34
|
+
} from "../chunk-PTSA6QKL.js";
|
|
35
35
|
import {
|
|
36
36
|
GitleaksClient,
|
|
37
37
|
classifyAndFilterFindings
|
|
38
|
-
} from "../chunk-
|
|
39
|
-
import "../chunk-
|
|
38
|
+
} from "../chunk-CYUJB552.js";
|
|
39
|
+
import "../chunk-GVWIU7M7.js";
|
|
40
40
|
import {
|
|
41
41
|
resetManagedToolRefreshSession
|
|
42
42
|
} from "../chunk-UXVNL3D7.js";
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
peekTurnEndFindings,
|
|
56
56
|
snapshotAdvisoryProvenance,
|
|
57
57
|
validateAdvisoryProvenance
|
|
58
|
-
} from "../chunk-
|
|
58
|
+
} from "../chunk-CZAWWXP6.js";
|
|
59
59
|
import {
|
|
60
60
|
CacheManager,
|
|
61
61
|
DEFAULT_MAX_AGE_MS,
|
|
@@ -117,49 +117,49 @@ import {
|
|
|
117
117
|
resetPsScriptAnalyzerAvailability,
|
|
118
118
|
runProviders,
|
|
119
119
|
stampLineHashes
|
|
120
|
-
} from "../chunk-
|
|
120
|
+
} from "../chunk-V7F7JHS5.js";
|
|
121
121
|
import {
|
|
122
122
|
resetLazyInstallAttempts
|
|
123
|
-
} from "../chunk-
|
|
123
|
+
} from "../chunk-GMC4ZGYR.js";
|
|
124
124
|
import {
|
|
125
125
|
isTestRoleCollateral
|
|
126
|
-
} from "../chunk-
|
|
127
|
-
import "../chunk-
|
|
126
|
+
} from "../chunk-UY745U35.js";
|
|
127
|
+
import "../chunk-HSYFLOZY.js";
|
|
128
128
|
import {
|
|
129
129
|
resetGoAvailability
|
|
130
|
-
} from "../chunk-
|
|
130
|
+
} from "../chunk-QHOTTC4A.js";
|
|
131
131
|
import {
|
|
132
132
|
TrivyClient,
|
|
133
133
|
trivyEvidenceFiles
|
|
134
|
-
} from "../chunk-
|
|
135
|
-
import "../chunk-
|
|
136
|
-
import "../chunk-
|
|
134
|
+
} from "../chunk-OPFNQBS5.js";
|
|
135
|
+
import "../chunk-SJQUWQR6.js";
|
|
136
|
+
import "../chunk-VGTBLTPN.js";
|
|
137
137
|
import {
|
|
138
138
|
findingsResult,
|
|
139
139
|
hasUsableResult,
|
|
140
140
|
reachedNoVerdict
|
|
141
|
-
} from "../chunk-
|
|
141
|
+
} from "../chunk-4ITEFRDH.js";
|
|
142
142
|
import {
|
|
143
143
|
resetRustAvailability
|
|
144
|
-
} from "../chunk-
|
|
145
|
-
import "../chunk-
|
|
146
|
-
import "../chunk-
|
|
144
|
+
} from "../chunk-W4CUK5G6.js";
|
|
145
|
+
import "../chunk-QSCZAP24.js";
|
|
146
|
+
import "../chunk-KDCIG23C.js";
|
|
147
147
|
import {
|
|
148
148
|
resetDispatchAvailabilityState,
|
|
149
149
|
resolveManagedToolClient
|
|
150
|
-
} from "../chunk-
|
|
151
|
-
import "../chunk-
|
|
152
|
-
import "../chunk-
|
|
153
|
-
import "../chunk-
|
|
150
|
+
} from "../chunk-S3WFVG5P.js";
|
|
151
|
+
import "../chunk-HILZE4BQ.js";
|
|
152
|
+
import "../chunk-Y3EHLUPL.js";
|
|
153
|
+
import "../chunk-2ADRLTM2.js";
|
|
154
154
|
import "../chunk-ZD4KVFXI.js";
|
|
155
|
-
import "../chunk-
|
|
155
|
+
import "../chunk-GTTMQ6XB.js";
|
|
156
156
|
import {
|
|
157
157
|
SYMBOL_KIND_NAMES,
|
|
158
158
|
captureReviewGraphStructuralIr,
|
|
159
159
|
formatReviewGraphRevisionDriftNote,
|
|
160
160
|
publishReviewGraphFileIr,
|
|
161
161
|
reviewGraphIrContentHash
|
|
162
|
-
} from "../chunk-
|
|
162
|
+
} from "../chunk-2LVJQU3I.js";
|
|
163
163
|
import {
|
|
164
164
|
buildSymbolId
|
|
165
165
|
} from "../chunk-3MED75HT.js";
|
|
@@ -270,7 +270,7 @@ import {
|
|
|
270
270
|
warmAnswerBinding,
|
|
271
271
|
widgetDiagnosticUri,
|
|
272
272
|
writeOrderToken
|
|
273
|
-
} from "../chunk-
|
|
273
|
+
} from "../chunk-6MDM5MQT.js";
|
|
274
274
|
import {
|
|
275
275
|
ANY_POSITION,
|
|
276
276
|
foldedFindingIdentity,
|
|
@@ -280,7 +280,7 @@ import {
|
|
|
280
280
|
resetMutationAttribution,
|
|
281
281
|
retainRecordedFindings,
|
|
282
282
|
stableFindingId
|
|
283
|
-
} from "../chunk-
|
|
283
|
+
} from "../chunk-FCQSZQAT.js";
|
|
284
284
|
import {
|
|
285
285
|
mapWithConcurrency
|
|
286
286
|
} from "../chunk-XIMYZ3JA.js";
|
|
@@ -306,8 +306,8 @@ import {
|
|
|
306
306
|
resetLSPCaseSensitivityState,
|
|
307
307
|
resolveLspCwdForFile,
|
|
308
308
|
shouldInitializeSessionRoot
|
|
309
|
-
} from "../chunk-
|
|
310
|
-
import "../chunk-
|
|
309
|
+
} from "../chunk-XPGH5O74.js";
|
|
310
|
+
import "../chunk-NE4EFHJX.js";
|
|
311
311
|
import {
|
|
312
312
|
PROJECT_VENV_DIR_NAMES,
|
|
313
313
|
PYTHON_DECLARATION_CONCURRENCY,
|
|
@@ -319,7 +319,7 @@ import {
|
|
|
319
319
|
partitionOutrankedPythonCompileVerdicts,
|
|
320
320
|
recordPythonCompileVerdictDrop,
|
|
321
321
|
resetBoundedTelemetry
|
|
322
|
-
} from "../chunk-
|
|
322
|
+
} from "../chunk-YT2VR4SL.js";
|
|
323
323
|
import {
|
|
324
324
|
scannerReportParentDir
|
|
325
325
|
} from "../chunk-LT62P654.js";
|
|
@@ -337,7 +337,7 @@ import {
|
|
|
337
337
|
readJsonCache,
|
|
338
338
|
readProjectSnapshotMeta,
|
|
339
339
|
saveRuntimeProjectSnapshot
|
|
340
|
-
} from "../chunk-
|
|
340
|
+
} from "../chunk-BRESRQBE.js";
|
|
341
341
|
import {
|
|
342
342
|
SWEEP_IDLE_SAFETY_MARGIN_MS,
|
|
343
343
|
getFullScanWallClockMs,
|
|
@@ -350,14 +350,15 @@ import {
|
|
|
350
350
|
RUNTIME_CONFIG,
|
|
351
351
|
SELF_DRIFT_MAX_DELIVERIES,
|
|
352
352
|
TreeSitterSymbolExtractor,
|
|
353
|
+
exceedsExplicitQueryLimits,
|
|
353
354
|
exceedsLspSyncLimits,
|
|
354
355
|
resolveImportToFiles,
|
|
355
356
|
sweepInlineBlockerFreshness,
|
|
356
357
|
symbolExtractionGrammar
|
|
357
|
-
} from "../chunk-
|
|
358
|
-
import "../chunk-
|
|
358
|
+
} from "../chunk-QL37SGTS.js";
|
|
359
|
+
import "../chunk-K6WIBVMK.js";
|
|
359
360
|
import "../chunk-ACRJ2GZ5.js";
|
|
360
|
-
import "../chunk-
|
|
361
|
+
import "../chunk-WS3UFJOU.js";
|
|
361
362
|
import {
|
|
362
363
|
EXT_TO_LANG,
|
|
363
364
|
classifyTreeSitterWasmError,
|
|
@@ -370,11 +371,11 @@ import {
|
|
|
370
371
|
queryLoader,
|
|
371
372
|
reportBundledResourceDirHealth,
|
|
372
373
|
resolveTreeSitterLanguage
|
|
373
|
-
} from "../chunk-
|
|
374
|
+
} from "../chunk-CTB5BAJI.js";
|
|
374
375
|
import "../chunk-Z54ZSOBZ.js";
|
|
375
376
|
import {
|
|
376
377
|
getUserRuleRoot
|
|
377
|
-
} from "../chunk-
|
|
378
|
+
} from "../chunk-GUGKKGG7.js";
|
|
378
379
|
import {
|
|
379
380
|
dump,
|
|
380
381
|
resolvePackagePath
|
|
@@ -385,9 +386,9 @@ import {
|
|
|
385
386
|
extensionsForLanguageToken,
|
|
386
387
|
resolveFilenameLanguage,
|
|
387
388
|
resolveLanguage
|
|
388
|
-
} from "../chunk-
|
|
389
|
+
} from "../chunk-OTSTS7L2.js";
|
|
389
390
|
import "../chunk-6HWVI6MI.js";
|
|
390
|
-
import "../chunk-
|
|
391
|
+
import "../chunk-SG2JQ2YP.js";
|
|
391
392
|
import {
|
|
392
393
|
HOOK_WALL_BUDGET_MS
|
|
393
394
|
} from "../chunk-CKEQFGLT.js";
|
|
@@ -397,10 +398,10 @@ import {
|
|
|
397
398
|
logWordIndex,
|
|
398
399
|
searchWordIndex,
|
|
399
400
|
triggerBackgroundWordIndexBuild
|
|
400
|
-
} from "../chunk-
|
|
401
|
+
} from "../chunk-NBM7PNBP.js";
|
|
401
402
|
import {
|
|
402
403
|
getProjectDiagnosticsScannerMaxFiles
|
|
403
|
-
} from "../chunk-
|
|
404
|
+
} from "../chunk-BGLS5SDN.js";
|
|
404
405
|
import {
|
|
405
406
|
WARM_TURN_END_SCHEMA_VERSION,
|
|
406
407
|
createWarmIpcLineReader,
|
|
@@ -408,7 +409,7 @@ import {
|
|
|
408
409
|
ipcPathForCwd,
|
|
409
410
|
readTurnEndStatus,
|
|
410
411
|
unlinkStaleUnixSocket
|
|
411
|
-
} from "../chunk-
|
|
412
|
+
} from "../chunk-YF4G5NN5.js";
|
|
412
413
|
import {
|
|
413
414
|
hashContentBytes,
|
|
414
415
|
resolveRunnerPath,
|
|
@@ -420,28 +421,28 @@ import {
|
|
|
420
421
|
untilAborted,
|
|
421
422
|
withBudget,
|
|
422
423
|
withDeadline
|
|
423
|
-
} from "../chunk-
|
|
424
|
+
} from "../chunk-WAA63ZJV.js";
|
|
424
425
|
import "../chunk-2BEMIWEW.js";
|
|
425
426
|
import "../chunk-IJYGIDF4.js";
|
|
426
427
|
import {
|
|
427
428
|
commitDurableStore,
|
|
428
429
|
resetResolvedPathCache,
|
|
429
430
|
resetZizmorTokenAvailability
|
|
430
|
-
} from "../chunk-
|
|
431
|
+
} from "../chunk-AON2QIJF.js";
|
|
431
432
|
import {
|
|
432
433
|
resolveToolCwd
|
|
433
|
-
} from "../chunk-
|
|
434
|
+
} from "../chunk-TLWFZ66Y.js";
|
|
434
435
|
import {
|
|
435
436
|
_resetPackageManagerCache,
|
|
436
437
|
findGlobalBinary,
|
|
437
438
|
pmBinary,
|
|
438
439
|
resolveNodePackageManager,
|
|
439
440
|
runScriptArgs
|
|
440
|
-
} from "../chunk-
|
|
441
|
+
} from "../chunk-KSTQ4VXT.js";
|
|
441
442
|
import {
|
|
442
443
|
getIsolatedNpxSpawnOptions,
|
|
443
444
|
probeToolAsync
|
|
444
|
-
} from "../chunk-
|
|
445
|
+
} from "../chunk-VPFRU5IG.js";
|
|
445
446
|
import "../chunk-UYXV5NIS.js";
|
|
446
447
|
import {
|
|
447
448
|
classifyProbeFailure,
|
|
@@ -450,20 +451,20 @@ import {
|
|
|
450
451
|
logAvailabilityDecision,
|
|
451
452
|
resetInstallRetryLatches,
|
|
452
453
|
startHostStallSampler
|
|
453
|
-
} from "../chunk-
|
|
454
|
+
} from "../chunk-NPNFGYLV.js";
|
|
454
455
|
import {
|
|
455
456
|
canRunStartupHeavyScans,
|
|
456
457
|
detectProjectLanguageProfile,
|
|
457
458
|
getDefaultStartupTools
|
|
458
|
-
} from "../chunk-
|
|
459
|
-
import "../chunk-
|
|
459
|
+
} from "../chunk-TJQSYX3J.js";
|
|
460
|
+
import "../chunk-7JX3RNG4.js";
|
|
460
461
|
import {
|
|
461
462
|
collectSourceFilesWithBudgetAsync,
|
|
462
463
|
getSlowFsVerdict,
|
|
463
464
|
isSlowFs,
|
|
464
465
|
slowFsDegradationNotice
|
|
465
|
-
} from "../chunk-
|
|
466
|
-
import "../chunk-
|
|
466
|
+
} from "../chunk-IDCTDKIA.js";
|
|
467
|
+
import "../chunk-IL6PIV33.js";
|
|
467
468
|
import {
|
|
468
469
|
displayProjectDataPath,
|
|
469
470
|
drainProjectDataDirMigrations,
|
|
@@ -493,7 +494,7 @@ import {
|
|
|
493
494
|
sweepDeadEphemeralDataDirs,
|
|
494
495
|
updateHeartbeat,
|
|
495
496
|
withGenerationLockSync
|
|
496
|
-
} from "../chunk-
|
|
497
|
+
} from "../chunk-H65TYP6V.js";
|
|
497
498
|
import {
|
|
498
499
|
createSingleFlight
|
|
499
500
|
} from "../chunk-AWQWXSW4.js";
|
|
@@ -503,7 +504,8 @@ import {
|
|
|
503
504
|
} from "../chunk-QYF5S6P6.js";
|
|
504
505
|
import {
|
|
505
506
|
SPECIAL_FILENAMES,
|
|
506
|
-
detectFileKind
|
|
507
|
+
detectFileKind,
|
|
508
|
+
isJstsFactFile
|
|
507
509
|
} from "../chunk-CZCAZVTD.js";
|
|
508
510
|
import {
|
|
509
511
|
PathKeyedMap,
|
|
@@ -515,7 +517,7 @@ import {
|
|
|
515
517
|
provenanceView,
|
|
516
518
|
resolvePiLensConfig,
|
|
517
519
|
summarizeConfigResolution
|
|
518
|
-
} from "../chunk-
|
|
520
|
+
} from "../chunk-FOEPIX76.js";
|
|
519
521
|
import {
|
|
520
522
|
LSP_NAMESPACE_KEY,
|
|
521
523
|
getPiLensGlobalConfigPath,
|
|
@@ -530,7 +532,7 @@ import {
|
|
|
530
532
|
setProjectTrustState,
|
|
531
533
|
truncatedByOutputCap,
|
|
532
534
|
writeFileAtomic
|
|
533
|
-
} from "../chunk-
|
|
535
|
+
} from "../chunk-7WJ55KBN.js";
|
|
534
536
|
import {
|
|
535
537
|
LENS_TOOL_NAMES,
|
|
536
538
|
TOOL_REGISTRY,
|
|
@@ -549,7 +551,7 @@ import {
|
|
|
549
551
|
resolveLensToolName,
|
|
550
552
|
toolRegistryEntryForMcp,
|
|
551
553
|
translateGuidanceToolNames
|
|
552
|
-
} from "../chunk-
|
|
554
|
+
} from "../chunk-3FRI5H4T.js";
|
|
553
555
|
import {
|
|
554
556
|
freshnessFromMtime
|
|
555
557
|
} from "../chunk-S26LC76R.js";
|
|
@@ -567,7 +569,7 @@ import {
|
|
|
567
569
|
import "../chunk-LJDODBBZ.js";
|
|
568
570
|
import {
|
|
569
571
|
FactStore
|
|
570
|
-
} from "../chunk-
|
|
572
|
+
} from "../chunk-A5TEJZGJ.js";
|
|
571
573
|
import {
|
|
572
574
|
BoundedFifoMap,
|
|
573
575
|
BoundedLruCache,
|
|
@@ -575,6 +577,7 @@ import {
|
|
|
575
577
|
homeRelativePath,
|
|
576
578
|
isAtOrAboveHomeDir,
|
|
577
579
|
isUnderDir,
|
|
580
|
+
isWithinForm,
|
|
578
581
|
minimatch,
|
|
579
582
|
normalizeEphemeralMapKey,
|
|
580
583
|
normalizeFilePath,
|
|
@@ -2515,14 +2518,6 @@ function reconcileProjectDiagnosticsSnapshot(snapshot) {
|
|
|
2515
2518
|
var AST_GREP_MAX_FILE_BYTES = 1024 * 1024;
|
|
2516
2519
|
var AST_GREP_SCAN_MAX_MATCHES_PER_RULE = 25;
|
|
2517
2520
|
var AST_GREP_SCAN_MAX_DIAGNOSTICS_PER_FILE = 100;
|
|
2518
|
-
var FACT_RULE_EXTENSIONS = /* @__PURE__ */ new Set([
|
|
2519
|
-
".ts",
|
|
2520
|
-
".tsx",
|
|
2521
|
-
".js",
|
|
2522
|
-
".jsx",
|
|
2523
|
-
".mjs",
|
|
2524
|
-
".cjs"
|
|
2525
|
-
]);
|
|
2526
2521
|
var TREE_SITTER_EXT_TO_LANG = EXT_TO_LANG;
|
|
2527
2522
|
function normalizeSeverity(severity) {
|
|
2528
2523
|
if (severity === "error" || severity === "warning" || severity === "hint") {
|
|
@@ -2645,7 +2640,7 @@ async function scanFileMajorRules(cwd, files, signal) {
|
|
|
2645
2640
|
const ext = path6.extname(filePath);
|
|
2646
2641
|
const grammarId = TREE_SITTER_EXT_TO_LANG[ext];
|
|
2647
2642
|
const langId = grammarId && hasTreeSitterRules(grammarId) ? grammarId : void 0;
|
|
2648
|
-
const factEligible =
|
|
2643
|
+
const factEligible = isJstsFactFile(filePath);
|
|
2649
2644
|
let astGrepLang;
|
|
2650
2645
|
if (sgModule && canHandle(filePath)) {
|
|
2651
2646
|
try {
|
|
@@ -3053,28 +3048,28 @@ async function buildBootstrapClients() {
|
|
|
3053
3048
|
}
|
|
3054
3049
|
}
|
|
3055
3050
|
const [ruffClient, biomeClient, knipClient, todoScanner, jscpdClient, depChecker, testRunnerClient, complexityClient, goClient, govulncheckClient, gitleaksClient, trivyClient, opengrepClient, rustClient, agentBehaviorClient2, deadCodeClients] = await Promise.all([
|
|
3056
|
-
load("ruff", async () => new (await import("../chunk-
|
|
3057
|
-
load("biome", async () => new (await import("../chunk-
|
|
3058
|
-
load("knip", async () => new (await import("../chunk-
|
|
3059
|
-
load("todo", async () => new (await import("../chunk-
|
|
3060
|
-
load("jscpd", async () => new (await import("../chunk-
|
|
3061
|
-
load("dependency-checker", async () => new (await import("../chunk-
|
|
3062
|
-
load("test-runner", async () => new (await import("../chunk-
|
|
3063
|
-
load("complexity", async () => new (await import("../chunk-
|
|
3051
|
+
load("ruff", async () => new (await import("../chunk-F6FT6BVQ.js")).RuffClient()),
|
|
3052
|
+
load("biome", async () => new (await import("../chunk-TN5CWX5D.js")).BiomeClient()),
|
|
3053
|
+
load("knip", async () => new (await import("../chunk-QMV2APEH.js")).KnipClient()),
|
|
3054
|
+
load("todo", async () => new (await import("../chunk-4NCDHTFI.js")).TodoScanner()),
|
|
3055
|
+
load("jscpd", async () => new (await import("../chunk-E4VXKTBR.js")).JscpdClient()),
|
|
3056
|
+
load("dependency-checker", async () => new (await import("../chunk-DBS736MA.js")).DependencyChecker()),
|
|
3057
|
+
load("test-runner", async () => new (await import("../chunk-XAFZJEXY.js")).TestRunnerClient()),
|
|
3058
|
+
load("complexity", async () => new (await import("../chunk-MAD4QJTP.js")).ComplexityClient()),
|
|
3064
3059
|
// The process-wide singleton, NOT a fresh instance (#2455 fix round 4,
|
|
3065
3060
|
// F2). `handleSessionStart` reads this object for its "Active tools"
|
|
3066
3061
|
// line while `resetGoAvailability` re-arms the singleton's latch; a
|
|
3067
3062
|
// second instance here meant the reset never reached the surface a
|
|
3068
3063
|
// user actually sees.
|
|
3069
|
-
load("go", async () => (await import("../chunk-
|
|
3070
|
-
load("govulncheck", async () => new (await import("../chunk-
|
|
3071
|
-
load("gitleaks", async () => new (await import("../chunk-
|
|
3072
|
-
load("trivy", async () => new (await import("../chunk-
|
|
3073
|
-
load("opengrep", async () => new (await import("../chunk-
|
|
3064
|
+
load("go", async () => (await import("../chunk-IK4YS3KC.js")).goClient),
|
|
3065
|
+
load("govulncheck", async () => new (await import("../chunk-BDR5MEZY.js")).GovulncheckClient()),
|
|
3066
|
+
load("gitleaks", async () => new (await import("../chunk-6I44EDNQ.js")).GitleaksClient()),
|
|
3067
|
+
load("trivy", async () => new (await import("../chunk-UNBRHPHJ.js")).TrivyClient()),
|
|
3068
|
+
load("opengrep", async () => new (await import("../chunk-ZOPXB2KK.js")).OpengrepClient()),
|
|
3074
3069
|
// The process-wide singleton, for the same reason as "go" above.
|
|
3075
|
-
load("rust", async () => (await import("../chunk-
|
|
3076
|
-
load("agent-behavior", async () => (await import("../chunk-
|
|
3077
|
-
loadList("dead-code", async () => (await import("../chunk-
|
|
3070
|
+
load("rust", async () => (await import("../chunk-VS2L7QDI.js")).rustClient),
|
|
3071
|
+
load("agent-behavior", async () => (await import("../chunk-JKOZ2Z4U.js")).agentBehaviorClient),
|
|
3072
|
+
loadList("dead-code", async () => (await import("../chunk-3HM4BUHR.js")).getDeadCodeClients())
|
|
3078
3073
|
]);
|
|
3079
3074
|
if (failures.length > 0)
|
|
3080
3075
|
await logBootstrapFailures(failures);
|
|
@@ -3160,7 +3155,7 @@ function resetAnalyzerBootstrapSessionState() {
|
|
|
3160
3155
|
}
|
|
3161
3156
|
|
|
3162
3157
|
// dist/clients/formatters-lazy.js
|
|
3163
|
-
var lazyFormatters = createLazyImport(() => import("../chunk-
|
|
3158
|
+
var lazyFormatters = createLazyImport(() => import("../chunk-B6HXETWY.js"));
|
|
3164
3159
|
function warmFormatters() {
|
|
3165
3160
|
return lazyFormatters.get();
|
|
3166
3161
|
}
|
|
@@ -6206,7 +6201,7 @@ async function igniteDominantLanguageWarm(cwd, runtime, sessionGeneration, dbg)
|
|
|
6206
6201
|
if (!runtime.isCurrentSession(sessionGeneration))
|
|
6207
6202
|
return;
|
|
6208
6203
|
const lspService = (await loadLspService()).getLSPService();
|
|
6209
|
-
const { collectSourceFilesAsync } = await import("../chunk-
|
|
6204
|
+
const { collectSourceFilesAsync } = await import("../chunk-KJ3AHOCK.js");
|
|
6210
6205
|
const { CODE_KINDS, detectFileKind: detectFileKind2 } = await import("../chunk-NUSXS6YB.js");
|
|
6211
6206
|
const files = await collectSourceFilesAsync(cwd, {
|
|
6212
6207
|
inspectGeneratedHeaders: false
|
|
@@ -6281,7 +6276,7 @@ function scheduleManagedToolRefresh(dbg, rulePack) {
|
|
|
6281
6276
|
managedToolRefreshTimer = void 0;
|
|
6282
6277
|
void (async () => {
|
|
6283
6278
|
try {
|
|
6284
|
-
const refresh = await import("../chunk-
|
|
6279
|
+
const refresh = await import("../chunk-TYHOEX4V.js");
|
|
6285
6280
|
const outcome = await refresh.runManagedToolRefresh(void 0, {
|
|
6286
6281
|
rulePack
|
|
6287
6282
|
});
|
|
@@ -6331,7 +6326,7 @@ function scanOneTodoFile(scanner, filePath, items) {
|
|
|
6331
6326
|
async function collectTodoBaselineItems(scanner, analysisRoot, stillCurrent) {
|
|
6332
6327
|
const items = [];
|
|
6333
6328
|
try {
|
|
6334
|
-
const { getSourceFilesAsync } = await import("../chunk-
|
|
6329
|
+
const { getSourceFilesAsync } = await import("../chunk-B2YUE6YD.js");
|
|
6335
6330
|
const files = await getSourceFilesAsync(analysisRoot, true);
|
|
6336
6331
|
if (!stillCurrent())
|
|
6337
6332
|
return items;
|
|
@@ -6360,7 +6355,7 @@ async function buildOrRefreshWordIndex(args) {
|
|
|
6360
6355
|
const snapshot = loadProjectSnapshot(snapshotRoot);
|
|
6361
6356
|
const snapshotLoadMs = Date.now() - snapshotLoadStartMs;
|
|
6362
6357
|
if (snapshot?.wordIndex) {
|
|
6363
|
-
const { deserializeWordIndex, refreshWordIndexIncrementally, countWordIndexPostingEntries: countWordIndexPostingEntries2, estimateWordIndexResidentBytes: estimateWordIndexResidentBytes2, notifyWordIndexPublished: notifyWordIndexPublished2 } = await import("../chunk-
|
|
6358
|
+
const { deserializeWordIndex, refreshWordIndexIncrementally, countWordIndexPostingEntries: countWordIndexPostingEntries2, estimateWordIndexResidentBytes: estimateWordIndexResidentBytes2, notifyWordIndexPublished: notifyWordIndexPublished2 } = await import("../chunk-QUPYLQA4.js");
|
|
6364
6359
|
const deserializeStartMs = Date.now();
|
|
6365
6360
|
const index = deserializeWordIndex(snapshot.wordIndex);
|
|
6366
6361
|
const deserializeMs = Date.now() - deserializeStartMs;
|
|
@@ -6433,7 +6428,7 @@ async function buildOrRefreshWordIndex(args) {
|
|
|
6433
6428
|
}
|
|
6434
6429
|
}
|
|
6435
6430
|
}
|
|
6436
|
-
const { buildWordIndexAsync, collectWordIndexDocs, countWordIndexPostingEntries, estimateWordIndexResidentBytes, notifyWordIndexPublished } = await import("../chunk-
|
|
6431
|
+
const { buildWordIndexAsync, collectWordIndexDocs, countWordIndexPostingEntries, estimateWordIndexResidentBytes, notifyWordIndexPublished } = await import("../chunk-QUPYLQA4.js");
|
|
6437
6432
|
const docs = await collectWordIndexDocs(analysisRoot, () => runtime.isCurrentSession(sessionGeneration), rebuildPreflightFiles);
|
|
6438
6433
|
if (!runtime.isCurrentSession(sessionGeneration))
|
|
6439
6434
|
return;
|
|
@@ -6812,9 +6807,9 @@ function scheduleStartupScansWithClients(deps, runtime, sessionGeneration, analy
|
|
|
6812
6807
|
});
|
|
6813
6808
|
let callGraphIdentity;
|
|
6814
6809
|
const callGraphTask = runTask("call-graph", async () => {
|
|
6815
|
-
const { FactStore: FactStore2 } = await import("../chunk-
|
|
6816
|
-
const { buildOrUpdateGraph, extractSymbolsAndRefsFromGraph, getReviewGraphCacheIdentity } = await import("../chunk-
|
|
6817
|
-
const { buildCallGraph, saveCallGraph, loadCallGraph: loadCallGraph2 } = await import("../chunk-
|
|
6810
|
+
const { FactStore: FactStore2 } = await import("../chunk-46TQJSUE.js");
|
|
6811
|
+
const { buildOrUpdateGraph, extractSymbolsAndRefsFromGraph, getReviewGraphCacheIdentity } = await import("../chunk-SKVNHCT5.js");
|
|
6812
|
+
const { buildCallGraph, saveCallGraph, loadCallGraph: loadCallGraph2 } = await import("../chunk-RQRKIRFY.js");
|
|
6818
6813
|
if (!runtime.isCurrentSession(sessionGeneration))
|
|
6819
6814
|
return;
|
|
6820
6815
|
const startMs = Date.now();
|
|
@@ -6855,7 +6850,7 @@ function scheduleStartupScansWithClients(deps, runtime, sessionGeneration, analy
|
|
|
6855
6850
|
return;
|
|
6856
6851
|
if (!runtime.callGraph)
|
|
6857
6852
|
return;
|
|
6858
|
-
const { buildCodebaseModel, saveCodebaseModel, DEFAULT_CODEBASE_MODEL_TOKEN_BUDGET } = await import("../chunk-
|
|
6853
|
+
const { buildCodebaseModel, saveCodebaseModel, DEFAULT_CODEBASE_MODEL_TOKEN_BUDGET } = await import("../chunk-YQA34KAF.js");
|
|
6859
6854
|
if (!callGraphIdentity)
|
|
6860
6855
|
return;
|
|
6861
6856
|
const model = buildCodebaseModel(runtime.callGraph, analysisRoot, DEFAULT_CODEBASE_MODEL_TOKEN_BUDGET, callGraphIdentity);
|
|
@@ -7064,8 +7059,8 @@ async function handleSessionStart(deps) {
|
|
|
7064
7059
|
try {
|
|
7065
7060
|
warmupDbg("warmup: starting background warmup");
|
|
7066
7061
|
const scanContextStartedAt = Date.now();
|
|
7067
|
-
const startupScanModule = await import("../chunk-
|
|
7068
|
-
const languageProfileModule = await import("../chunk-
|
|
7062
|
+
const startupScanModule = await import("../chunk-I32RSMH6.js");
|
|
7063
|
+
const languageProfileModule = await import("../chunk-QWTHFFU6.js");
|
|
7069
7064
|
const warmupSnapshotRoot = resolveSnapshotRoot(warmupCwd);
|
|
7070
7065
|
const cachedSnapshot = loadProjectSnapshot(warmupSnapshotRoot);
|
|
7071
7066
|
warmupOwnSnapshotRead = cachedSnapshot ? {
|
|
@@ -12763,8 +12758,8 @@ ${lines.join("\n")}`;
|
|
|
12763
12758
|
} else {
|
|
12764
12759
|
const callGraphStart = Date.now();
|
|
12765
12760
|
try {
|
|
12766
|
-
const { impact, formatImpact, parseSymbolKey } = await import("../chunk-
|
|
12767
|
-
const { callGraphImpactToProjectDiagnostics } = await import("../chunk-
|
|
12761
|
+
const { impact, formatImpact, parseSymbolKey } = await import("../chunk-RQRKIRFY.js");
|
|
12762
|
+
const { callGraphImpactToProjectDiagnostics } = await import("../chunk-ZZDVGCGG.js");
|
|
12768
12763
|
const impactLines = [];
|
|
12769
12764
|
let callGraphDispositionSuppressed = 0;
|
|
12770
12765
|
const impactFindings = [];
|
|
@@ -14542,7 +14537,7 @@ function blastReadArgs(graph, normalizedFile) {
|
|
|
14542
14537
|
return { path: normalizedFile, offset: 1, limit };
|
|
14543
14538
|
}
|
|
14544
14539
|
async function computeBlastRadius(graph, normalizedPath, projectRoot, maxDepth) {
|
|
14545
|
-
const { computeTransitiveImpact } = await import("../chunk-
|
|
14540
|
+
const { computeTransitiveImpact } = await import("../chunk-C6AODRNU.js");
|
|
14546
14541
|
const result = computeTransitiveImpact(graph, normalizedPath, { maxDepth });
|
|
14547
14542
|
const byFile = /* @__PURE__ */ new Map();
|
|
14548
14543
|
for (const hit of result.hits) {
|
|
@@ -15159,7 +15154,7 @@ async function moduleReport(file, cwd, options) {
|
|
|
15159
15154
|
let callGraphIdentity;
|
|
15160
15155
|
let revisionDriftNote;
|
|
15161
15156
|
try {
|
|
15162
|
-
const { getCachedReviewGraph, getReviewGraphCacheIdentity, getReviewGraphSizeSkipVerdict, getReviewGraphRevisionDrift, formatReviewGraphRevisionDriftNote: formatReviewGraphRevisionDriftNote2 } = await import("../chunk-
|
|
15157
|
+
const { getCachedReviewGraph, getReviewGraphCacheIdentity, getReviewGraphSizeSkipVerdict, getReviewGraphRevisionDrift, formatReviewGraphRevisionDriftNote: formatReviewGraphRevisionDriftNote2 } = await import("../chunk-SKVNHCT5.js");
|
|
15163
15158
|
graph = getCachedReviewGraph(cwd);
|
|
15164
15159
|
graphFileCap = getReviewGraphSizeSkipVerdict(cwd)?.maxFileCount;
|
|
15165
15160
|
const drift = graph ? getReviewGraphRevisionDrift(cwd) : void 0;
|
|
@@ -16001,6 +15996,9 @@ function computeTrust(graph, cwd, drift) {
|
|
|
16001
15996
|
case "name-only":
|
|
16002
15997
|
nameOnly += 1;
|
|
16003
15998
|
break;
|
|
15999
|
+
// unresolved and unset edges are not in the resolution sample.
|
|
16000
|
+
case "unresolved":
|
|
16001
|
+
case void 0:
|
|
16004
16002
|
default:
|
|
16005
16003
|
break;
|
|
16006
16004
|
}
|
|
@@ -16065,7 +16063,7 @@ function roleFor(graph, filePath) {
|
|
|
16065
16063
|
return top.length > 0 ? top.map((s) => s.name).join(", ") : void 0;
|
|
16066
16064
|
}
|
|
16067
16065
|
async function computeHubs(graph, degrees, cwd, limit, focusTerms) {
|
|
16068
|
-
const { computeTransitiveImpact } = await import("../chunk-
|
|
16066
|
+
const { computeTransitiveImpact } = await import("../chunk-C6AODRNU.js");
|
|
16069
16067
|
const ranked = [...graph.fileNodes.entries()].map(([filePath, fileNodeId]) => ({
|
|
16070
16068
|
filePath,
|
|
16071
16069
|
fileNodeId,
|
|
@@ -16316,7 +16314,7 @@ function triggerBackgroundGraphBuild(cwd, deps) {
|
|
|
16316
16314
|
async function projectReport(cwd, options) {
|
|
16317
16315
|
const limit = clampLimit(options?.limit);
|
|
16318
16316
|
const focusTerms = normalizeFocus2(options?.focus);
|
|
16319
|
-
const { getCachedReviewGraph, getReviewGraphSizeSkipVerdict, getLastReviewGraphBuildAttempt, buildOrUpdateGraph, isGraphBuildInFlight, getReviewGraphRevisionDrift } = await import("../chunk-
|
|
16317
|
+
const { getCachedReviewGraph, getReviewGraphSizeSkipVerdict, getLastReviewGraphBuildAttempt, buildOrUpdateGraph, isGraphBuildInFlight, getReviewGraphRevisionDrift } = await import("../chunk-SKVNHCT5.js");
|
|
16320
16318
|
let graph;
|
|
16321
16319
|
try {
|
|
16322
16320
|
graph = getCachedReviewGraph(cwd);
|
|
@@ -16339,7 +16337,7 @@ async function projectReport(cwd, options) {
|
|
|
16339
16337
|
};
|
|
16340
16338
|
}
|
|
16341
16339
|
const previousAttempt = getLastReviewGraphBuildAttempt(cwd);
|
|
16342
|
-
const { FactStore: FactStore2 } = await import("../chunk-
|
|
16340
|
+
const { FactStore: FactStore2 } = await import("../chunk-46TQJSUE.js");
|
|
16343
16341
|
const trigger = triggerBackgroundGraphBuild(cwd, {
|
|
16344
16342
|
buildOrUpdateGraph,
|
|
16345
16343
|
isGraphBuildInFlight,
|
|
@@ -16891,7 +16889,7 @@ async function symbolSearch(query, cwd, limit = 20, options = {}) {
|
|
|
16891
16889
|
warmLease.release();
|
|
16892
16890
|
}
|
|
16893
16891
|
const hits = results.map(toSymbolSearchHit);
|
|
16894
|
-
const { getCachedReviewGraph } = await import("../chunk-
|
|
16892
|
+
const { getCachedReviewGraph } = await import("../chunk-SKVNHCT5.js");
|
|
16895
16893
|
const graph = getCachedReviewGraph(cwd);
|
|
16896
16894
|
if (graph)
|
|
16897
16895
|
annotateSymbolSearchHitsWithGraph(hits, centrality, graph);
|
|
@@ -16996,6 +16994,7 @@ function astGrepRemediationHint(kind) {
|
|
|
16996
16994
|
return "Hint: the operation timed out \u2014 scope `paths` to specific files/folders, or narrow the pattern.";
|
|
16997
16995
|
case "json_parse_failed":
|
|
16998
16996
|
return "Hint: ast-grep produced output that could not be parsed \u2014 retry with a simpler pattern; the installed CLI version may be incompatible.";
|
|
16997
|
+
case "other":
|
|
16999
16998
|
default:
|
|
17000
16999
|
return "Hint: verify the pattern is a single valid AST node for this `lang` (use ast_grep_search with dump=true to discover node kinds), or fall back to grep for plain-text search.";
|
|
17001
17000
|
}
|
|
@@ -19894,13 +19893,13 @@ function createLspDiagnosticsTool(nextWriteIndex, onConfirmedNoBlockers, getServ
|
|
|
19894
19893
|
}
|
|
19895
19894
|
};
|
|
19896
19895
|
}
|
|
19897
|
-
async function collectDiagnosticsForFile(absPath, lspService, scanRoot, waitMs, serverScope = "all", excludeServerIds) {
|
|
19896
|
+
async function collectDiagnosticsForFile(absPath, lspService, scanRoot, waitMs, serverScope = "all", excludeServerIds, explicitQuery = false) {
|
|
19898
19897
|
let timedOut = false;
|
|
19899
19898
|
let content;
|
|
19900
19899
|
let touched;
|
|
19901
19900
|
try {
|
|
19902
19901
|
content = fs21.readFileSync(absPath, "utf-8");
|
|
19903
|
-
const contentLimit = exceedsLspSyncLimits(content);
|
|
19902
|
+
const contentLimit = explicitQuery ? exceedsExplicitQueryLimits(content) : exceedsLspSyncLimits(content);
|
|
19904
19903
|
if (contentLimit.tooLarge) {
|
|
19905
19904
|
const reason = `file too large for LSP diagnostics (${contentLimit.reason})`;
|
|
19906
19905
|
recordDegradationOnce({
|
|
@@ -19965,6 +19964,7 @@ async function collectDiagnosticsForFile(absPath, lspService, scanRoot, waitMs,
|
|
|
19965
19964
|
diagnostics: "document",
|
|
19966
19965
|
collectDiagnostics: true,
|
|
19967
19966
|
maxClientWaitMs: waitMs,
|
|
19967
|
+
...explicitQuery && { explicitQuery },
|
|
19968
19968
|
source: "lsp_diagnostics",
|
|
19969
19969
|
clientScope: serverScope,
|
|
19970
19970
|
excludeServerIds,
|
|
@@ -20326,7 +20326,7 @@ async function runFileDiagnostics(absPath, severity, lspService, waitMs, nextWri
|
|
|
20326
20326
|
const pythonCompileTarget = await detectPythonTargetVersion(absPath);
|
|
20327
20327
|
lspService.announceCreatedFiles(goPackageFilesToAnnounce([absPath]), await importTargetsToAnnounce(cwd, [absPath]));
|
|
20328
20328
|
const observedAt = Date.now();
|
|
20329
|
-
const { diagnostics: rawDiags, timedOut, confirmedByTouch, unconfirmedServerIds, diagnosticsUnsupportedServerIds, content: collectedContent, binding, tooLargeReason, skipReason, primaryUnavailable, projectIdentity } = await collectDiagnosticsForFile(absPath, lspService, cwd, waitMs, serverScope, excludeServerIds);
|
|
20329
|
+
const { diagnostics: rawDiags, timedOut, confirmedByTouch, unconfirmedServerIds, diagnosticsUnsupportedServerIds, content: collectedContent, binding, tooLargeReason, skipReason, primaryUnavailable, projectIdentity } = await collectDiagnosticsForFile(absPath, lspService, cwd, waitMs, serverScope, excludeServerIds, true);
|
|
20330
20330
|
if (tooLargeReason !== void 0) {
|
|
20331
20331
|
return {
|
|
20332
20332
|
content: [{ type: "text", text: tooLargeReason }],
|
|
@@ -20407,7 +20407,7 @@ async function runFileDiagnostics(absPath, severity, lspService, waitMs, nextWri
|
|
|
20407
20407
|
return `Primary LSP${primaryId ? ` (${primaryId})` : ""}: unconfirmed \u2014 a custom server with no pull provider has not published diagnostics yet. NOT the same as 0 diagnostics; it is checked again once the server publishes.`;
|
|
20408
20408
|
}
|
|
20409
20409
|
if (timedOut) {
|
|
20410
|
-
return
|
|
20410
|
+
return `Primary LSP: check timed out \u2014 NOT the same as 0 diagnostics; the file may still have errors that just hadn't been reported yet. Re-check after the server settles, or pass a larger waitMs (this single-file query honours it up to ${RUNTIME_CONFIG.pipeline.lspExplicitQueryMaxWaitMs} ms).`;
|
|
20411
20411
|
}
|
|
20412
20412
|
if (rootFallback) {
|
|
20413
20413
|
return `Primary LSP${primaryId ? ` (${primaryId})` : ""}: unconfirmed \u2014 ${describeRootFallback(rootFallback)}. NOT the same as 0 diagnostics; check the file from inside its project and re-run.`;
|
|
@@ -21711,7 +21711,7 @@ function resolvePathsScope(entries) {
|
|
|
21711
21711
|
const key = normalizeFilePath(path38.resolve(filePath));
|
|
21712
21712
|
if (fileKeys.has(key))
|
|
21713
21713
|
return true;
|
|
21714
|
-
return dirPrefixes.some((prefix) => key
|
|
21714
|
+
return dirPrefixes.some((prefix) => isWithinForm(key, prefix));
|
|
21715
21715
|
};
|
|
21716
21716
|
return {
|
|
21717
21717
|
includeFile,
|