@herbertgao/pi-extensions 2026.11.11 → 2026.11.13
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 +26 -0
- package/README.md +13 -11
- package/THIRD_PARTY_NOTICES.md +3 -3
- package/node_modules/@herbertgao/pi-cc-extensions/CHANGELOG.md +10 -0
- package/node_modules/@herbertgao/pi-cc-extensions/README.en.md +3 -4
- package/node_modules/@herbertgao/pi-cc-extensions/README.md +3 -4
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/feature/agent-summary/core.ts +22 -15
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/feature/agent-summary/index.ts +22 -8
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/feature/context.ts +0 -29
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/feature/shell/prompt-editor.ts +5 -2
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/compact-mode.ts +60 -39
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/mouse/interaction.ts +3 -2
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/codemode.ts +0 -40
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/diff/diff-parse.ts +4 -1
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/grouping.ts +21 -3
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/utils/format.ts +15 -0
- package/node_modules/@herbertgao/pi-cc-extensions/package.json +4 -4
- package/node_modules/@herbertgao/pi-impeccable/CHANGELOG.md +6 -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 +2 -2
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/adapt.md +1 -1
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/animate.md +17 -0
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/critique-rubric.md +496 -0
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/critique.md +12 -504
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/degraded/motion-reviewer.md +29 -0
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/hooks.md +3 -3
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/new-work-comp.md +24 -0
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/new-work-world.md +20 -0
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/new-work.md +5 -34
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/reference/typeset.md +6 -0
- 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/live-browser.js +17 -18
- package/node_modules/@herbertgao/pi-inline-skill-commands/LICENSE +21 -0
- package/node_modules/@herbertgao/pi-inline-skill-commands/README.md +33 -0
- package/node_modules/@herbertgao/pi-inline-skill-commands/package.json +53 -0
- package/node_modules/@herbertgao/pi-inline-skill-commands/src/index.ts +213 -0
- package/node_modules/pi-antigravity/README.md +58 -9
- package/node_modules/pi-antigravity/docs/reader-guarantees.md +35 -0
- package/node_modules/pi-antigravity/package.json +15 -6
- package/node_modules/pi-antigravity/src/client/client.ts +63 -14
- package/node_modules/pi-antigravity/src/client/enterprise.ts +150 -0
- package/node_modules/pi-antigravity/src/client/index.ts +1 -0
- package/node_modules/pi-antigravity/src/diagnostics/diagnostics.ts +7 -0
- package/node_modules/pi-antigravity/src/features/generate-image.ts +56 -2
- package/node_modules/pi-antigravity/src/features/read-url-content.ts +124 -0
- package/node_modules/pi-antigravity/src/image/image.ts +16 -2
- package/node_modules/pi-antigravity/src/index.ts +145 -2
- package/node_modules/pi-antigravity/src/models/discovery.ts +3 -4
- package/node_modules/pi-antigravity/src/models/grouping.ts +39 -15
- package/node_modules/pi-antigravity/src/models/models.ts +126 -14
- package/node_modules/pi-antigravity/src/stream/stream.ts +189 -30
- package/node_modules/pi-antigravity/src/types/types.ts +30 -1
- package/node_modules/pi-antigravity/src/usage/usage.ts +58 -0
- package/node_modules/pi-antigravity/src/utils/address.ts +180 -0
- package/node_modules/pi-antigravity/src/utils/credits.ts +149 -0
- package/node_modules/pi-antigravity/src/utils/html.ts +31 -0
- package/node_modules/pi-antigravity/src/utils/index.ts +2 -0
- package/node_modules/pi-antigravity/src/utils/security.ts +172 -13
- package/node_modules/pi-antigravity/src/utils/text.ts +66 -0
- package/node_modules/pi-antigravity/src/utils/util.ts +5 -4
- package/node_modules/pi-antigravity/src/web-fetch/document.ts +83 -0
- package/node_modules/pi-antigravity/src/web-fetch/fences.ts +24 -0
- package/node_modules/pi-antigravity/src/web-fetch/header.ts +97 -0
- package/node_modules/pi-antigravity/src/web-fetch/index.ts +3 -0
- package/node_modules/pi-antigravity/src/web-fetch/inspect.ts +328 -0
- package/node_modules/pi-antigravity/src/web-fetch/limits.ts +4 -0
- package/node_modules/pi-antigravity/src/web-fetch/markdown.ts +744 -0
- package/node_modules/pi-antigravity/src/web-fetch/mdn.ts +164 -0
- package/node_modules/pi-antigravity/src/web-fetch/media.ts +11 -0
- package/node_modules/pi-antigravity/src/web-fetch/metadata.ts +9 -0
- package/node_modules/pi-antigravity/src/web-fetch/representation.ts +93 -0
- package/node_modules/pi-antigravity/src/web-fetch/save.ts +71 -0
- package/node_modules/pi-antigravity/src/web-fetch/sites.ts +138 -0
- package/node_modules/pi-antigravity/src/web-fetch/vendor.d.ts +9 -0
- package/node_modules/pi-antigravity/src/web-fetch/web-fetch.ts +957 -0
- package/node_modules/pi-antigravity/tsconfig.json +2 -2
- package/node_modules/pi-commandcode-provider/CHANGELOG.md +10 -0
- package/node_modules/pi-commandcode-provider/README.md +2 -2
- package/node_modules/pi-commandcode-provider/package.json +1 -1
- package/node_modules/pi-commandcode-provider/src/commandcode-catalog.ts +15 -9
- package/node_modules/pi-commandcode-provider/src/oauth.ts +69 -12
- package/node_modules/pi-lens/CHANGELOG-USER.md +6 -6
- package/node_modules/pi-lens/CHANGELOG.md +172 -0
- package/node_modules/pi-lens/README.md +103 -217
- package/node_modules/pi-lens/dist/{chunk-KXDQD34C.js → chunk-27JQHK7Y.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-W6VLB6LL.js → chunk-2APSZHHI.js} +61 -3
- package/node_modules/pi-lens/dist/{chunk-5EEWCJG7.js → chunk-2H5GHZKC.js} +8 -8
- package/node_modules/pi-lens/dist/{chunk-TS5EIWEF.js → chunk-2H7NFZ4Q.js} +11 -11
- package/node_modules/pi-lens/dist/{chunk-6GWCYEP7.js → chunk-37IDWT6O.js} +64 -16
- package/node_modules/pi-lens/dist/{chunk-OEPWTSUG.js → chunk-3PAS2ERX.js} +8 -8
- package/node_modules/pi-lens/dist/{chunk-ET3DSSFZ.js → chunk-3PO4YYOX.js} +9 -17
- package/node_modules/pi-lens/dist/{chunk-C6V2DSZZ.js → chunk-3QXFUP6T.js} +11 -11
- package/node_modules/pi-lens/dist/{chunk-HWMNTQBJ.js → chunk-3TSMQZG6.js} +32 -11
- package/node_modules/pi-lens/dist/{chunk-QY6J2FTK.js → chunk-4DAHGU3V.js} +15 -14
- package/node_modules/pi-lens/dist/{chunk-PCREZ4HJ.js → chunk-4IZZEN63.js} +33 -34
- package/node_modules/pi-lens/dist/{chunk-OYXD2MOM.js → chunk-5HBQL7DH.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-B4FAFEBP.js → chunk-5JB4WENL.js} +1 -1
- package/node_modules/pi-lens/dist/chunk-5YJXF2IS.js +56 -0
- package/node_modules/pi-lens/dist/{chunk-GHATCG2A.js → chunk-6CFSDLHE.js} +22 -18
- package/node_modules/pi-lens/dist/{chunk-FVQKX5KI.js → chunk-6E5QLMWI.js} +24 -22
- package/node_modules/pi-lens/dist/{chunk-AVBEPUCD.js → chunk-6GLMMGCX.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-YTXFNCVN.js → chunk-74AMPWNC.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-K2GV34T2.js → chunk-7CLWC2UH.js} +26 -37
- package/node_modules/pi-lens/dist/{chunk-MOEWCPMC.js → chunk-7DPXUPRF.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-7BEADGAZ.js → chunk-7U36VQL6.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-PPYUBO6Y.js → chunk-7WKVCZI4.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-ILC2B7IJ.js → chunk-7ZVTFLCC.js} +10 -10
- package/node_modules/pi-lens/dist/{chunk-IT7MFVGP.js → chunk-ADYQRETD.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-NCDH2JB7.js → chunk-ARTYCUGF.js} +25 -10
- package/node_modules/pi-lens/dist/{chunk-Z6WTLVUL.js → chunk-AXAR5ZW2.js} +225 -104
- package/node_modules/pi-lens/dist/{chunk-PK3GDU4M.js → chunk-AZG5UJYY.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-NRVWLTOY.js → chunk-B2OXE4AH.js} +60 -21
- package/node_modules/pi-lens/dist/{chunk-ORYQGVC3.js → chunk-B42AIWPJ.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-IC4L65U7.js → chunk-BBSDJTOV.js} +12 -13
- package/node_modules/pi-lens/dist/{chunk-HJWF7CGW.js → chunk-BKWFDWYM.js} +16 -16
- package/node_modules/pi-lens/dist/{chunk-D2ZYRI7M.js → chunk-C5PLBTNR.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-SRXYSLMW.js → chunk-CQY2HEH7.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-7424ANRU.js → chunk-CXQYK4YT.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-HYR25MV3.js → chunk-CZJGAOKL.js} +8 -7
- package/node_modules/pi-lens/dist/{chunk-DIIDMDZU.js → chunk-DCA2MXVQ.js} +11 -11
- package/node_modules/pi-lens/dist/{chunk-K2LD6YNH.js → chunk-DFKOA74L.js} +9 -9
- package/node_modules/pi-lens/dist/{chunk-AYDE7RFV.js → chunk-DI4AZZNY.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-6EXGCXM5.js → chunk-G53LBDNU.js} +99 -5
- package/node_modules/pi-lens/dist/chunk-GCSDF5IE.js +27 -0
- package/node_modules/pi-lens/dist/{chunk-5KLRCUDT.js → chunk-H5API74E.js} +6 -6
- package/node_modules/pi-lens/dist/chunk-HBX55MWO.js +27 -0
- package/node_modules/pi-lens/dist/{chunk-JRSS6KM4.js → chunk-HIJ4CHFF.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-3MHY4BQY.js → chunk-HIRBC72R.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-F7AMFFVK.js → chunk-HRLF35WL.js} +8 -8
- package/node_modules/pi-lens/dist/{chunk-HSTN27NR.js → chunk-I2FYOZNW.js} +9 -9
- package/node_modules/pi-lens/dist/{chunk-5FDUKJZO.js → chunk-I3NZVAMN.js} +9 -9
- package/node_modules/pi-lens/dist/{chunk-NZINZCHB.js → chunk-INBK3HIT.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-PXGVB2CY.js → chunk-J2ZB5MDS.js} +20 -18
- package/node_modules/pi-lens/dist/{chunk-HYDJUVOE.js → chunk-JGUDT5KD.js} +4 -4
- package/node_modules/pi-lens/dist/chunk-JOIKBUQN.js +88 -0
- package/node_modules/pi-lens/dist/{chunk-AZXTLZHE.js → chunk-K4Z7MK6T.js} +169 -165
- package/node_modules/pi-lens/dist/{chunk-WTSQKJAR.js → chunk-K7O6AHSJ.js} +10 -10
- package/node_modules/pi-lens/dist/{chunk-S6ZQFPOX.js → chunk-KNJH6WJQ.js} +6 -6
- package/node_modules/pi-lens/dist/{chunk-SUIZOCSY.js → chunk-KNSOA43J.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-3QMLB4TI.js → chunk-KXGTLAUW.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-OHEUOWYT.js → chunk-KZ732ZVW.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-G3LR6V6N.js → chunk-L6BDRYUK.js} +19 -17
- package/node_modules/pi-lens/dist/{chunk-OVPR3GQ6.js → chunk-LGH2HHZG.js} +24 -6
- package/node_modules/pi-lens/dist/{chunk-3R3Z54J7.js → chunk-LOEJFTF2.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-HGEE5LDW.js → chunk-LQQNFCQJ.js} +1 -1
- package/node_modules/pi-lens/dist/chunk-LVLPA32Q.js +810 -0
- package/node_modules/pi-lens/dist/chunk-M2YMBT5G.js +73 -0
- package/node_modules/pi-lens/dist/{chunk-Z2W5YJBW.js → chunk-MJRGPEQ5.js} +11 -11
- package/node_modules/pi-lens/dist/{chunk-3EIZMRXI.js → chunk-MOAVEPC4.js} +10 -10
- package/node_modules/pi-lens/dist/{chunk-TOOXNL6M.js → chunk-NGNBJIUO.js} +7 -7
- package/node_modules/pi-lens/dist/{chunk-AGEQRJ5A.js → chunk-NHA5K226.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-YLW26OHX.js → chunk-NNEQOC3U.js} +31 -59
- package/node_modules/pi-lens/dist/{chunk-ZWZD4TJ5.js → chunk-O2MHF7QM.js} +35 -36
- package/node_modules/pi-lens/dist/{chunk-PTJXMYRY.js → chunk-OLWGYBYT.js} +15 -16
- package/node_modules/pi-lens/dist/{chunk-JKAVKTMY.js → chunk-OZQQ3AIR.js} +17 -20
- package/node_modules/pi-lens/dist/{chunk-6JLNZ6DP.js → chunk-P5MSLVUW.js} +10 -10
- package/node_modules/pi-lens/dist/{chunk-OF2YGDUE.js → chunk-PFJLYRO3.js} +37 -38
- package/node_modules/pi-lens/dist/chunk-PKWEBMCA.js +2957 -0
- package/node_modules/pi-lens/dist/{chunk-JLMS7EMD.js → chunk-PPQHMSPH.js} +16 -15
- package/node_modules/pi-lens/dist/{chunk-6EIV3H7O.js → chunk-PQF6YGYB.js} +12 -5
- package/node_modules/pi-lens/dist/{chunk-VU2PRGRI.js → chunk-PQXUZYTQ.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-MV6ST2KT.js → chunk-Q7J3JYJ2.js} +13 -12
- package/node_modules/pi-lens/dist/{chunk-BMMRLJA4.js → chunk-QE5DJ7MX.js} +27 -10
- package/node_modules/pi-lens/dist/{chunk-IZ36G463.js → chunk-QE7BJQ6K.js} +7 -7
- package/node_modules/pi-lens/dist/{chunk-E5SSUV2A.js → chunk-QMWKSYWB.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-QJ4T73J5.js → chunk-QV3JPCMK.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-3PMLYGJN.js → chunk-R4L7KZ7R.js} +5 -5
- package/node_modules/pi-lens/dist/{chunk-7ZVEFWOE.js → chunk-RIH3UBK4.js} +10 -10
- package/node_modules/pi-lens/dist/{chunk-T5EGSBM2.js → chunk-RJ3APNIP.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-AAIVSSUU.js → chunk-S6MCMD27.js} +35 -12
- package/node_modules/pi-lens/dist/{chunk-SF7KSXB5.js → chunk-SCU62JLX.js} +6 -6
- package/node_modules/pi-lens/dist/{chunk-FDLGJFAE.js → chunk-SDYLT45T.js} +3 -3
- package/node_modules/pi-lens/dist/chunk-TFKN5EIR.js +27 -0
- package/node_modules/pi-lens/dist/{chunk-Y7XMKBFP.js → chunk-TKOFTLGB.js} +34 -26
- package/node_modules/pi-lens/dist/chunk-TQWRH25U.js +35 -0
- package/node_modules/pi-lens/dist/{chunk-DZSQXG66.js → chunk-TWEOJE3D.js} +277 -62
- package/node_modules/pi-lens/dist/{chunk-R67WQ5RY.js → chunk-UN72ZAJ5.js} +8 -8
- package/node_modules/pi-lens/dist/{chunk-AD7JDEI6.js → chunk-UNP6Y4JV.js} +16 -16
- package/node_modules/pi-lens/dist/{chunk-D6ANA6YU.js → chunk-VGRGW4UL.js} +63 -55
- package/node_modules/pi-lens/dist/{chunk-DFAY7JUN.js → chunk-VSQT6IHZ.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-7T64QA5D.js → chunk-VWEBZ2JV.js} +39 -38
- package/node_modules/pi-lens/dist/{chunk-HRQTYU2T.js → chunk-W26QZ3OM.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-2HWVG3IM.js → chunk-XDNWR7SG.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-75TVYCQW.js → chunk-XSC3BCN3.js} +5 -5
- package/node_modules/pi-lens/dist/{chunk-ME6MF2N2.js → chunk-YCR6ZYTE.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-LD7SXICE.js → chunk-ZI7YHV6I.js} +5 -5
- package/node_modules/pi-lens/dist/{chunk-E3PNZDPH.js → chunk-ZQSSO7LO.js} +33 -1
- package/node_modules/pi-lens/dist/{chunk-T6PPK3T6.js → chunk-ZULZS2I6.js} +385 -407
- package/node_modules/pi-lens/dist/index.js +6508 -5413
- package/node_modules/pi-lens/dist/mcp/analyze-cli.js +9 -9
- package/node_modules/pi-lens/dist/mcp/cli.js +39 -38
- package/node_modules/pi-lens/dist/mcp/server.js +602 -345
- package/node_modules/pi-lens/dist/mcp/worker.js +57 -58
- package/node_modules/pi-lens/dist/probes/installer.js +19 -17
- package/node_modules/pi-lens/docs/architecture.md +113 -0
- package/node_modules/pi-lens/docs/ast-grep_rules_catalog.md +2 -2
- package/node_modules/pi-lens/docs/ci.md +18 -4
- package/node_modules/pi-lens/docs/defect-shapes.md +41 -3
- package/node_modules/pi-lens/docs/dependencies.md +10 -10
- package/node_modules/pi-lens/docs/features.md +3 -3
- package/node_modules/pi-lens/docs/invariants/dispatch-runners.md +13 -1
- package/node_modules/pi-lens/docs/invariants/lsp-trust-exec.md +19 -0
- package/node_modules/pi-lens/docs/language-coverage.md +39 -0
- package/node_modules/pi-lens/docs/lsp-capability-matrix.md +10 -4
- package/node_modules/pi-lens/docs/lsp-idle-eviction.md +1 -1
- package/node_modules/pi-lens/docs/pi-lens-fixer.md +4 -0
- package/node_modules/pi-lens/docs/pi-lens-merge-policy.md +1 -1
- package/node_modules/pi-lens/docs/pi-lens-reviewer.md +4 -5
- package/node_modules/pi-lens/docs/pi-lens-subagent.md +5 -2
- package/node_modules/pi-lens/docs/prose-standard.md +112 -0
- package/node_modules/pi-lens/docs/servercapabilities.md +1 -1
- package/node_modules/pi-lens/docs/usage.md +50 -0
- package/node_modules/pi-lens/package.json +1 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/rule-tests/array-callback-return-js-test.yml +23 -0
- package/node_modules/pi-lens/rules/ast-grep-rules/rule-tests/array-callback-return-test.yml +23 -0
- package/node_modules/pi-lens/rules/ast-grep-rules/rule-tests/no-negation-in-equality-check-js-test.yml +8 -0
- package/node_modules/pi-lens/rules/ast-grep-rules/rule-tests/no-negation-in-equality-check-test.yml +8 -0
- package/node_modules/pi-lens/rules/ast-grep-rules/rule-tests/unchecked-throwing-call-js-test.yml +16 -0
- package/node_modules/pi-lens/rules/ast-grep-rules/rule-tests/unchecked-throwing-call-test.yml +16 -0
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/array-callback-return-js.yml +8 -0
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/array-callback-return.yml +8 -0
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-negation-in-equality-check-js.yml +17 -5
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-negation-in-equality-check.yml +17 -5
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/unchecked-throwing-call-js.yml +8 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/unchecked-throwing-call.yml +8 -1
- package/node_modules/pi-lens/rules/tree-sitter-queries/typescript/ts-react-antipatterns.yml +8 -0
- package/node_modules/pi-web-access/CHANGELOG.md +29 -0
- package/node_modules/pi-web-access/README.md +35 -15
- package/node_modules/pi-web-access/anysearch.ts +7 -3
- package/node_modules/pi-web-access/autom.ts +196 -0
- package/node_modules/pi-web-access/cloro.ts +254 -0
- package/node_modules/pi-web-access/curator-page.ts +7 -1
- package/node_modules/pi-web-access/curator-server.ts +3 -0
- package/node_modules/pi-web-access/dist/index.js +12931 -12111
- package/node_modules/pi-web-access/dist/mcp-cli.js +1188 -416
- package/node_modules/pi-web-access/domain-filter-normalization.ts +30 -0
- package/node_modules/pi-web-access/duckduckgo-rate-limit.ts +144 -34
- package/node_modules/pi-web-access/duckduckgo.ts +11 -3
- package/node_modules/pi-web-access/extract.ts +60 -4
- package/node_modules/pi-web-access/gemini-search.ts +25 -5
- package/node_modules/pi-web-access/index.ts +9 -1
- package/node_modules/pi-web-access/package.json +2 -2
- package/node_modules/pi-web-access/page-query.ts +12 -3
- package/node_modules/pi-web-access/specstream.ts +276 -0
- package/node_modules/pi-web-access/tool-activation.ts +21 -6
- package/node_modules/pi-web-access/utils.ts +4 -0
- package/node_modules/pi-web-access/video-extract.ts +2 -2
- package/node_modules/pi-web-access/web-tool-core.ts +24 -5
- package/node_modules/pi-web-access/youtube-extract.ts +2 -2
- package/package.json +13 -7
- package/node_modules/pi-lens/dist/chunk-3VWEZ6H2.js +0 -72
- package/node_modules/pi-lens/dist/chunk-7KWI5UHL.js +0 -28
- package/node_modules/pi-lens/dist/chunk-7M64NTAK.js +0 -38
- package/node_modules/pi-lens/dist/chunk-BEIPWPVR.js +0 -1037
- package/node_modules/pi-lens/dist/chunk-D7OEGXDX.js +0 -2417
- package/node_modules/pi-lens/dist/chunk-KUDUKKQE.js +0 -89
- package/node_modules/pi-lens/dist/chunk-TM3A3K7T.js +0 -28
- package/node_modules/pi-lens/dist/chunk-VD7MQFEV.js +0 -56
- package/node_modules/pi-lens/dist/chunk-YLHJWAQS.js +0 -256
- package/node_modules/pi-lens/dist/chunk-YULIERZW.js +0 -27
|
@@ -7,23 +7,23 @@ 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-
|
|
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-
|
|
10
|
+
} from "./chunk-L6BDRYUK.js";
|
|
11
|
+
import "./chunk-S6MCMD27.js";
|
|
12
|
+
import "./chunk-ZI7YHV6I.js";
|
|
13
|
+
import "./chunk-INBK3HIT.js";
|
|
14
|
+
import "./chunk-SDYLT45T.js";
|
|
15
|
+
import "./chunk-QV3JPCMK.js";
|
|
16
|
+
import "./chunk-2APSZHHI.js";
|
|
17
|
+
import "./chunk-KXGTLAUW.js";
|
|
18
|
+
import "./chunk-6GLMMGCX.js";
|
|
19
|
+
import "./chunk-3PO4YYOX.js";
|
|
20
|
+
import "./chunk-5JB4WENL.js";
|
|
21
|
+
import "./chunk-PQF6YGYB.js";
|
|
22
|
+
import "./chunk-LOEJFTF2.js";
|
|
23
|
+
import "./chunk-W26QZ3OM.js";
|
|
24
|
+
import "./chunk-NHA5K226.js";
|
|
25
25
|
import "./chunk-S26LC76R.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-7CLWC2UH.js";
|
|
27
27
|
import "./chunk-LJDODBBZ.js";
|
|
28
28
|
import "./chunk-WLD6BGON.js";
|
|
29
29
|
import "./chunk-NXL4FFQQ.js";
|
|
@@ -1,55 +1,53 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
resolveAvailableOrInstall
|
|
5
|
-
} from "./chunk-BEIPWPVR.js";
|
|
6
|
-
import {
|
|
3
|
+
resolveToolCommandWithInstallFallback,
|
|
7
4
|
ruffConfigArgs
|
|
8
|
-
} from "./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-AYDE7RFV.js";
|
|
5
|
+
} from "./chunk-PKWEBMCA.js";
|
|
6
|
+
import "./chunk-AXAR5ZW2.js";
|
|
7
|
+
import "./chunk-7WKVCZI4.js";
|
|
8
|
+
import "./chunk-2H5GHZKC.js";
|
|
9
|
+
import "./chunk-QV3JPCMK.js";
|
|
10
|
+
import "./chunk-NNEQOC3U.js";
|
|
11
|
+
import "./chunk-CXQYK4YT.js";
|
|
12
|
+
import "./chunk-ZQSSO7LO.js";
|
|
13
|
+
import "./chunk-AZG5UJYY.js";
|
|
14
|
+
import "./chunk-P5MSLVUW.js";
|
|
15
|
+
import "./chunk-ADYQRETD.js";
|
|
16
|
+
import "./chunk-DI4AZZNY.js";
|
|
17
|
+
import "./chunk-2APSZHHI.js";
|
|
22
18
|
import "./chunk-2BEMIWEW.js";
|
|
23
19
|
import "./chunk-IJYGIDF4.js";
|
|
24
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-B2OXE4AH.js";
|
|
25
21
|
import {
|
|
26
22
|
resolveToolCwd
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-LVLPA32Q.js";
|
|
24
|
+
import "./chunk-LGH2HHZG.js";
|
|
25
|
+
import "./chunk-KXGTLAUW.js";
|
|
26
|
+
import "./chunk-TQWRH25U.js";
|
|
30
27
|
import "./chunk-UYXV5NIS.js";
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-KNSOA43J.js";
|
|
29
|
+
import "./chunk-6GLMMGCX.js";
|
|
30
|
+
import "./chunk-XSC3BCN3.js";
|
|
31
|
+
import "./chunk-27JQHK7Y.js";
|
|
32
|
+
import "./chunk-R4L7KZ7R.js";
|
|
33
|
+
import "./chunk-74AMPWNC.js";
|
|
36
34
|
import {
|
|
37
35
|
safeSpawnAsync
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import "./chunk-
|
|
36
|
+
} from "./chunk-3PO4YYOX.js";
|
|
37
|
+
import "./chunk-5JB4WENL.js";
|
|
40
38
|
import "./chunk-QYF5S6P6.js";
|
|
41
39
|
import {
|
|
42
40
|
isFileKind
|
|
43
|
-
} from "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
41
|
+
} from "./chunk-CQY2HEH7.js";
|
|
42
|
+
import "./chunk-PQF6YGYB.js";
|
|
43
|
+
import "./chunk-LOEJFTF2.js";
|
|
46
44
|
import "./chunk-CIA7X2PZ.js";
|
|
47
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-W26QZ3OM.js";
|
|
48
46
|
import {
|
|
49
47
|
createSubsystemLogger
|
|
50
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-NHA5K226.js";
|
|
51
49
|
import "./chunk-S26LC76R.js";
|
|
52
|
-
import "./chunk-
|
|
50
|
+
import "./chunk-7CLWC2UH.js";
|
|
53
51
|
import "./chunk-LJDODBBZ.js";
|
|
54
52
|
import {
|
|
55
53
|
pathsEqual
|
|
@@ -59,27 +57,33 @@ import "./chunk-NXL4FFQQ.js";
|
|
|
59
57
|
// dist/clients/ruff-client.js
|
|
60
58
|
import * as fs from "node:fs";
|
|
61
59
|
import * as path from "node:path";
|
|
62
|
-
var ruffAvailability = createAvailabilityChecker("ruff", ".exe");
|
|
63
60
|
var RuffClient = class {
|
|
64
|
-
ruffCommand = "ruff";
|
|
65
61
|
log;
|
|
66
62
|
constructor(verbose = false) {
|
|
67
63
|
this.log = verbose ? createSubsystemLogger("ruff") : () => {
|
|
68
64
|
};
|
|
69
65
|
}
|
|
70
66
|
/**
|
|
71
|
-
* Check if ruff CLI is available
|
|
67
|
+
* Check if ruff CLI is available for `cwd`, auto-install if not.
|
|
72
68
|
*
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
*
|
|
69
|
+
* The answer is the shared per-tool resolver's (#5410), the one the
|
|
70
|
+
* `ruff-lint` runner asks, so the lint and the fix run the same binary:
|
|
71
|
+
* the project's own venv at exactly `cwd`, then managed, then PATH. The
|
|
72
|
+
* default `process.cwd()` is for the session-start warm-up, which has no
|
|
73
|
+
* file; a fix names the cwd its file runs in.
|
|
76
74
|
*/
|
|
77
|
-
async ensureAvailable() {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
75
|
+
async ensureAvailable(cwd = process.cwd()) {
|
|
76
|
+
return await resolveToolCommandWithInstallFallback(cwd, "ruff") !== null;
|
|
77
|
+
}
|
|
78
|
+
/** Resolve the command and cwd a file's runner will use, before any write hold. */
|
|
79
|
+
async resolveCommandForFile(absolutePath, cwd) {
|
|
80
|
+
const resolvedCwd = resolveToolCwd("runner", "ruff", absolutePath, {
|
|
81
|
+
...cwd !== void 0 && { cwd }
|
|
82
|
+
}).cwd;
|
|
83
|
+
return {
|
|
84
|
+
cwd: resolvedCwd,
|
|
85
|
+
command: await resolveToolCommandWithInstallFallback(resolvedCwd, "ruff")
|
|
86
|
+
};
|
|
83
87
|
}
|
|
84
88
|
/**
|
|
85
89
|
* Check if a file is a Python file
|
|
@@ -94,9 +98,17 @@ var RuffClient = class {
|
|
|
94
98
|
* `pyproject.toml`/`ruff.toml`/`.ruff.toml` at or above it, capped inside
|
|
95
99
|
* `cwd` (and at `$HOME` when there is none), so a file in a nested package
|
|
96
100
|
* gets that package's config rather than the workspace-root one.
|
|
101
|
+
* `ruffCommand` is the answer `resolveCommandForFile` gave before the
|
|
102
|
+
* caller's write hold; it is resolved from the same inputs, so the spawn
|
|
103
|
+
* root here always equals the root that answer was resolved at.
|
|
97
104
|
*/
|
|
98
|
-
async fixFileAsync(filePath,
|
|
99
|
-
|
|
105
|
+
async fixFileAsync(filePath, ...args) {
|
|
106
|
+
const absolutePath = path.resolve(filePath);
|
|
107
|
+
const ruffCwd = resolveToolCwd("runner", "ruff", absolutePath, {
|
|
108
|
+
...args[0] !== void 0 && { cwd: args[0] }
|
|
109
|
+
}).cwd;
|
|
110
|
+
const resolvedRuffCommand = args.length === 2 ? args[1] : await resolveToolCommandWithInstallFallback(ruffCwd, "ruff");
|
|
111
|
+
if (resolvedRuffCommand === null) {
|
|
100
112
|
return {
|
|
101
113
|
success: false,
|
|
102
114
|
changed: false,
|
|
@@ -104,7 +116,6 @@ var RuffClient = class {
|
|
|
104
116
|
error: "Ruff not available"
|
|
105
117
|
};
|
|
106
118
|
}
|
|
107
|
-
const absolutePath = path.resolve(filePath);
|
|
108
119
|
if (!fs.existsSync(absolutePath)) {
|
|
109
120
|
return {
|
|
110
121
|
success: false,
|
|
@@ -115,11 +126,8 @@ var RuffClient = class {
|
|
|
115
126
|
}
|
|
116
127
|
try {
|
|
117
128
|
const before = await fs.promises.readFile(absolutePath, "utf-8");
|
|
118
|
-
const ruffCwd = resolveToolCwd("runner", "ruff", absolutePath, {
|
|
119
|
-
...cwd !== void 0 && { cwd }
|
|
120
|
-
}).cwd;
|
|
121
129
|
const configArgs = ruffConfigArgs(ruffCwd);
|
|
122
|
-
const pre = await safeSpawnAsync(
|
|
130
|
+
const pre = await safeSpawnAsync(resolvedRuffCommand, [
|
|
123
131
|
"check",
|
|
124
132
|
// `--no-fix --no-fix-only` (#5119): the count below must see the
|
|
125
133
|
// findings; a project `fix = true` / `fix-only = true` made this
|
|
@@ -139,7 +147,7 @@ var RuffClient = class {
|
|
|
139
147
|
], { timeout: 1e4, cwd: ruffCwd });
|
|
140
148
|
const beforeDiags = pre.stdout?.trim() ? this.parseOutput(pre.stdout, ruffCwd, absolutePath) : [];
|
|
141
149
|
const fixableCount = beforeDiags.filter((d) => d.fixable).length;
|
|
142
|
-
const fix = await safeSpawnAsync(
|
|
150
|
+
const fix = await safeSpawnAsync(resolvedRuffCommand, ["check", "--fix", ...configArgs, absolutePath], { timeout: 15e3, cwd: ruffCwd });
|
|
143
151
|
if (fix.error) {
|
|
144
152
|
return {
|
|
145
153
|
success: false,
|
|
@@ -1,14 +1,14 @@
|
|
|
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-3PO4YYOX.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-7CLWC2UH.js";
|
|
12
12
|
import {
|
|
13
13
|
BoundedFifoMap,
|
|
14
14
|
normalizeFilePath,
|
|
@@ -58,57 +58,58 @@ import {
|
|
|
58
58
|
seqFastpathEnabled,
|
|
59
59
|
terminateReviewGraphPersistWorkerForTests,
|
|
60
60
|
waitForReviewGraphPersistsForTests
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-4DAHGU3V.js";
|
|
62
62
|
import "./chunk-3MED75HT.js";
|
|
63
63
|
import "./chunk-PKLB2XJL.js";
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-
|
|
64
|
+
import "./chunk-TWEOJE3D.js";
|
|
65
|
+
import "./chunk-VSQT6IHZ.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-
|
|
67
|
+
import "./chunk-AXAR5ZW2.js";
|
|
68
|
+
import "./chunk-7WKVCZI4.js";
|
|
69
|
+
import "./chunk-2H5GHZKC.js";
|
|
70
|
+
import "./chunk-QV3JPCMK.js";
|
|
71
|
+
import "./chunk-NNEQOC3U.js";
|
|
72
|
+
import "./chunk-LQQNFCQJ.js";
|
|
73
73
|
import "./chunk-5W3R6LFT.js";
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-
|
|
78
|
-
import "./chunk-6GWCYEP7.js";
|
|
74
|
+
import "./chunk-ARTYCUGF.js";
|
|
75
|
+
import "./chunk-JGUDT5KD.js";
|
|
76
|
+
import "./chunk-CXQYK4YT.js";
|
|
77
|
+
import "./chunk-37IDWT6O.js";
|
|
79
78
|
import "./chunk-Z54ZSOBZ.js";
|
|
80
|
-
import "./chunk-
|
|
81
|
-
import "./chunk-E3PNZDPH.js";
|
|
79
|
+
import "./chunk-ZQSSO7LO.js";
|
|
82
80
|
import "./chunk-6HWVI6MI.js";
|
|
83
|
-
import "./chunk-
|
|
84
|
-
import "./chunk-
|
|
85
|
-
import "./chunk-
|
|
86
|
-
import "./chunk-
|
|
87
|
-
import "./chunk-
|
|
81
|
+
import "./chunk-AZG5UJYY.js";
|
|
82
|
+
import "./chunk-P5MSLVUW.js";
|
|
83
|
+
import "./chunk-ADYQRETD.js";
|
|
84
|
+
import "./chunk-DI4AZZNY.js";
|
|
85
|
+
import "./chunk-3TSMQZG6.js";
|
|
86
|
+
import "./chunk-2APSZHHI.js";
|
|
88
87
|
import "./chunk-ZRQMENT4.js";
|
|
89
88
|
import "./chunk-2BEMIWEW.js";
|
|
90
89
|
import "./chunk-IJYGIDF4.js";
|
|
91
|
-
import "./chunk-
|
|
92
|
-
import "./chunk-
|
|
93
|
-
import "./chunk-
|
|
94
|
-
import "./chunk-
|
|
90
|
+
import "./chunk-B2OXE4AH.js";
|
|
91
|
+
import "./chunk-LVLPA32Q.js";
|
|
92
|
+
import "./chunk-LGH2HHZG.js";
|
|
93
|
+
import "./chunk-KXGTLAUW.js";
|
|
94
|
+
import "./chunk-TQWRH25U.js";
|
|
95
95
|
import "./chunk-UYXV5NIS.js";
|
|
96
|
-
import "./chunk-
|
|
97
|
-
import "./chunk-
|
|
98
|
-
import "./chunk-
|
|
99
|
-
import "./chunk-
|
|
100
|
-
import "./chunk-
|
|
101
|
-
import "./chunk-
|
|
102
|
-
import "./chunk-
|
|
96
|
+
import "./chunk-KNSOA43J.js";
|
|
97
|
+
import "./chunk-6GLMMGCX.js";
|
|
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";
|
|
103
104
|
import "./chunk-QYF5S6P6.js";
|
|
104
|
-
import "./chunk-
|
|
105
|
-
import "./chunk-
|
|
106
|
-
import "./chunk-
|
|
105
|
+
import "./chunk-CQY2HEH7.js";
|
|
106
|
+
import "./chunk-PQF6YGYB.js";
|
|
107
|
+
import "./chunk-LOEJFTF2.js";
|
|
107
108
|
import "./chunk-CIA7X2PZ.js";
|
|
108
|
-
import "./chunk-
|
|
109
|
-
import "./chunk-
|
|
109
|
+
import "./chunk-W26QZ3OM.js";
|
|
110
|
+
import "./chunk-NHA5K226.js";
|
|
110
111
|
import "./chunk-S26LC76R.js";
|
|
111
|
-
import "./chunk-
|
|
112
|
+
import "./chunk-7CLWC2UH.js";
|
|
112
113
|
import "./chunk-LJDODBBZ.js";
|
|
113
114
|
import "./chunk-O6LCSHHI.js";
|
|
114
115
|
import "./chunk-WLD6BGON.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
createToolchainAvailability
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QMWKSYWB.js";
|
|
5
5
|
import {
|
|
6
6
|
createSubsystemLogger
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-NHA5K226.js";
|
|
8
8
|
|
|
9
9
|
// dist/clients/rust-client.js
|
|
10
10
|
import * as path from "node:path";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
getSourceFiles
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-27JQHK7Y.js";
|
|
5
5
|
import {
|
|
6
6
|
readDirEntriesSafe,
|
|
7
7
|
shouldRecurseIntoDir
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-74AMPWNC.js";
|
|
9
9
|
import {
|
|
10
10
|
getProjectIgnoreMatcher
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-3PO4YYOX.js";
|
|
12
12
|
import {
|
|
13
13
|
CODE_KINDS,
|
|
14
14
|
DOTNET_CSHARP_ROOT_MARKERS,
|
|
@@ -17,11 +17,11 @@ import {
|
|
|
17
17
|
LEAN_ROOT_MARKERS,
|
|
18
18
|
TERRAGRUNT_FILENAMES,
|
|
19
19
|
detectFileKind
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-CQY2HEH7.js";
|
|
21
21
|
import {
|
|
22
22
|
findNearestDirWithAnyBasename,
|
|
23
23
|
registerWorkspaceTopologyReset
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-LOEJFTF2.js";
|
|
25
25
|
import {
|
|
26
26
|
BoundedLruCache,
|
|
27
27
|
direntsHaveMarkerGlobMatch,
|
|
@@ -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-PQF6YGYB.js";
|
|
5
5
|
|
|
6
6
|
// dist/clients/collateral-test-role.js
|
|
7
7
|
function isTestRoleCollateral(filePath) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
runReportScan
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-INBK3HIT.js";
|
|
5
5
|
import {
|
|
6
6
|
createAvailabilityProbeFlight,
|
|
7
7
|
probeToolAsync
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-KXGTLAUW.js";
|
|
9
9
|
import {
|
|
10
10
|
classifyProbeFailure,
|
|
11
11
|
createAvailabilityLatch,
|
|
@@ -13,14 +13,14 @@ import {
|
|
|
13
13
|
describeProbeEvidence,
|
|
14
14
|
logAvailabilityDecision,
|
|
15
15
|
startHostStallSampler
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-6GLMMGCX.js";
|
|
17
17
|
import {
|
|
18
18
|
createSingleFlight
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-5JB4WENL.js";
|
|
20
20
|
import {
|
|
21
21
|
createSubsystemLogger,
|
|
22
22
|
incrementDegradationCount
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-NHA5K226.js";
|
|
24
24
|
|
|
25
25
|
// dist/clients/security-scan-client.js
|
|
26
26
|
import * as path from "node:path";
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
|
+
getGlobalPiLensDir
|
|
4
|
+
} from "./chunk-3PO4YYOX.js";
|
|
5
|
+
import {
|
|
6
|
+
getTurnId
|
|
7
|
+
} from "./chunk-7CLWC2UH.js";
|
|
8
|
+
import {
|
|
9
|
+
BoundedFifoMap,
|
|
3
10
|
realpathOrResolve,
|
|
4
11
|
walkUpDirs
|
|
5
12
|
} from "./chunk-WLD6BGON.js";
|
|
@@ -3408,12 +3415,37 @@ var js_yaml_default = js_yaml_exports;
|
|
|
3408
3415
|
var dump2 = dump;
|
|
3409
3416
|
var load2 = load;
|
|
3410
3417
|
|
|
3418
|
+
// dist/clients/custom-rule-locations.js
|
|
3419
|
+
import * as path2 from "node:path";
|
|
3420
|
+
function getUserRuleRoot() {
|
|
3421
|
+
return path2.join(getGlobalPiLensDir(), "rules");
|
|
3422
|
+
}
|
|
3423
|
+
var RULE_CORPUS_CYCLE_ENTRIES = 16;
|
|
3424
|
+
var ruleCorpusCycleFingerprints = new BoundedFifoMap(RULE_CORPUS_CYCLE_ENTRIES);
|
|
3425
|
+
var cycleSlot;
|
|
3426
|
+
function ruleCorpusFingerprintForCycle(family, root, compute, force = false) {
|
|
3427
|
+
const cycle = getTurnId();
|
|
3428
|
+
if (!force && cycleSlot !== void 0 && cycleSlot.cycle === cycle && cycleSlot.family === family && cycleSlot.root === root) {
|
|
3429
|
+
return cycleSlot.fingerprint;
|
|
3430
|
+
}
|
|
3431
|
+
const key = `${cycle}\0${family}\0${root}`;
|
|
3432
|
+
let fingerprint = force ? void 0 : ruleCorpusCycleFingerprints.get(key);
|
|
3433
|
+
if (fingerprint === void 0) {
|
|
3434
|
+
fingerprint = compute(root);
|
|
3435
|
+
ruleCorpusCycleFingerprints.set(key, fingerprint);
|
|
3436
|
+
}
|
|
3437
|
+
cycleSlot = { cycle, family, root, fingerprint };
|
|
3438
|
+
return fingerprint;
|
|
3439
|
+
}
|
|
3440
|
+
|
|
3411
3441
|
export {
|
|
3412
3442
|
getPackageRoot,
|
|
3413
3443
|
resolvePackagePath,
|
|
3414
3444
|
js_yaml_default,
|
|
3415
3445
|
dump2 as dump,
|
|
3416
|
-
load2 as load
|
|
3446
|
+
load2 as load,
|
|
3447
|
+
getUserRuleRoot,
|
|
3448
|
+
ruleCorpusFingerprintForCycle
|
|
3417
3449
|
};
|
|
3418
3450
|
/*! Bundled license information:
|
|
3419
3451
|
|