@herbertgao/pi-extensions 2026.10.13 → 2026.10.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/README.md +16 -14
- package/THIRD_PARTY_NOTICES.md +3 -3
- package/node_modules/@herbertgao/pi-cc-extensions/README.en.md +2 -2
- package/node_modules/@herbertgao/pi-cc-extensions/README.md +2 -2
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/config/config.ts +1 -0
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/config/panel.ts +3 -6
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/feature/context.ts +22 -5
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/compact-mode.ts +44 -14
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/default-mode.ts +1 -5
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/index.ts +20 -5
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/markdown-enhance.ts +4 -1
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/mouse/interaction.ts +42 -18
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/mouse/layout.ts +12 -3
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/ccstyle-tool.ts +131 -0
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/grouping.ts +217 -113
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/names.ts +12 -5
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/subagent-notification.ts +556 -0
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/utils/ansi-text.ts +50 -0
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/utils/format.ts +11 -0
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/utils/patch-keys.ts +4 -0
- package/node_modules/@herbertgao/pi-cc-extensions/package.json +4 -4
- package/node_modules/@juicesharp/rpiv-ask-user-question/README.md +1 -0
- package/node_modules/@juicesharp/rpiv-ask-user-question/ask-user-question.ts +27 -3
- package/node_modules/@juicesharp/rpiv-ask-user-question/config.ts +23 -0
- package/node_modules/@juicesharp/rpiv-ask-user-question/docs/configuration.md +15 -0
- package/node_modules/@juicesharp/rpiv-ask-user-question/docs/keyboard.md +9 -2
- package/node_modules/@juicesharp/rpiv-ask-user-question/locales/de.json +7 -4
- package/node_modules/@juicesharp/rpiv-ask-user-question/locales/en.json +8 -5
- package/node_modules/@juicesharp/rpiv-ask-user-question/locales/es.json +7 -4
- package/node_modules/@juicesharp/rpiv-ask-user-question/locales/fr.json +7 -4
- package/node_modules/@juicesharp/rpiv-ask-user-question/locales/pt-BR.json +7 -4
- package/node_modules/@juicesharp/rpiv-ask-user-question/locales/pt.json +7 -4
- package/node_modules/@juicesharp/rpiv-ask-user-question/locales/ru.json +7 -4
- package/node_modules/@juicesharp/rpiv-ask-user-question/locales/uk.json +7 -4
- package/node_modules/@juicesharp/rpiv-ask-user-question/locales/zh.json +7 -4
- package/node_modules/@juicesharp/rpiv-ask-user-question/package.json +4 -3
- package/node_modules/@juicesharp/rpiv-ask-user-question/presentation.ts +11 -1
- package/node_modules/@juicesharp/rpiv-ask-user-question/state/build-questionnaire.ts +6 -0
- package/node_modules/@juicesharp/rpiv-ask-user-question/state/key-router.ts +49 -8
- package/node_modules/@juicesharp/rpiv-ask-user-question/state/questionnaire-session.ts +6 -0
- package/node_modules/@juicesharp/rpiv-ask-user-question/state/state-reducer.ts +13 -1
- package/node_modules/@juicesharp/rpiv-ask-user-question/state/state.ts +2 -0
- package/node_modules/@juicesharp/rpiv-ask-user-question/view/components/preview/preview-block-renderer.ts +19 -7
- package/node_modules/@juicesharp/rpiv-ask-user-question/view/dialog-builder.ts +36 -7
- package/node_modules/@juicesharp/rpiv-ask-user-question/view/dialog-copy.ts +13 -2
- package/node_modules/@juicesharp/rpiv-ask-user-question/view/tab-content-strategy.ts +24 -8
- package/node_modules/@juicesharp/rpiv-ask-user-question/view/transcript.ts +144 -0
- package/node_modules/@narumitw/pi-btw/README.md +8 -3
- package/node_modules/@narumitw/pi-btw/dist/index.ts +448 -182
- package/node_modules/@narumitw/pi-btw/dist/index.ts.map +4 -4
- package/node_modules/@narumitw/pi-btw/docs/core-alignment.md +10 -2
- package/node_modules/@narumitw/pi-btw/docs/main-context-runtime.md +45 -0
- package/node_modules/@narumitw/pi-btw/docs/workflows.md +48 -5
- package/node_modules/@narumitw/pi-btw/package.json +5 -5
- package/node_modules/@narumitw/pi-btw/src/btw.ts +39 -14
- package/node_modules/@narumitw/pi-btw/src/fullscreen-ui.ts +83 -63
- package/node_modules/@narumitw/pi-btw/src/import-main-updates.ts +84 -0
- package/node_modules/@narumitw/pi-btw/src/keybindings.ts +29 -4
- package/node_modules/@narumitw/pi-btw/src/main-context-snapshot.ts +125 -0
- package/node_modules/@narumitw/pi-btw/src/menu.ts +1 -0
- package/node_modules/@narumitw/pi-btw/src/side-thread.ts +66 -17
- package/node_modules/@narumitw/pi-btw/src/transcript-markdown.ts +5 -5
- package/node_modules/@narumitw/pi-btw/src/transcript-pager.ts +47 -6
- package/node_modules/@narumitw/pi-caffeinate/package.json +3 -3
- package/node_modules/pi-lens/CHANGELOG.md +440 -0
- package/node_modules/pi-lens/README.md +13 -3
- package/node_modules/pi-lens/config/dependency-cruiser-eager-allowlist.json +1 -0
- package/node_modules/pi-lens/dist/chunk-22Y2BM7H.js +23 -0
- package/node_modules/pi-lens/dist/{chunk-ATKJFDQN.js → chunk-27VWVB23.js} +12 -14
- package/node_modules/pi-lens/dist/{chunk-S2HEXIWI.js → chunk-2FYKETQJ.js} +10 -6
- package/node_modules/pi-lens/dist/{chunk-SRYEJNES.js → chunk-2LDMXL2M.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-ZHH37KZL.js → chunk-2SDHYHHO.js} +17 -17
- package/node_modules/pi-lens/dist/chunk-2Y6OJRSI.js +38 -0
- package/node_modules/pi-lens/dist/chunk-3SNDVPOR.js +507 -0
- package/node_modules/pi-lens/dist/{chunk-5OFV52AM.js → chunk-3WCEHYOI.js} +1 -1
- package/node_modules/pi-lens/dist/chunk-44X7VIKR.js +73 -0
- package/node_modules/pi-lens/dist/{chunk-DEL2U6CM.js → chunk-4FHUGDKU.js} +16 -14
- package/node_modules/pi-lens/dist/{chunk-CT4MN5IU.js → chunk-4ODSZ35Z.js} +353 -359
- package/node_modules/pi-lens/dist/{chunk-ZIVJBOO3.js → chunk-4U7GDSZQ.js} +2 -2
- package/node_modules/pi-lens/dist/chunk-54NIOJJZ.js +25 -0
- package/node_modules/pi-lens/dist/{chunk-N5FLEO7W.js → chunk-5DKE4HGX.js} +37 -37
- package/node_modules/pi-lens/dist/{chunk-P63GXC37.js → chunk-5LRUKYFA.js} +31 -4
- package/node_modules/pi-lens/dist/{chunk-HRNHZA3N.js → chunk-63NMUNYP.js} +12 -16
- package/node_modules/pi-lens/dist/{chunk-HWCCCQNX.js → chunk-6XSESGWD.js} +13 -6
- package/node_modules/pi-lens/dist/{chunk-UMS2MFPZ.js → chunk-72J27ICO.js} +2 -3
- package/node_modules/pi-lens/dist/{chunk-ED36RF6Y.js → chunk-7FLRUH6B.js} +1 -1
- package/node_modules/pi-lens/dist/chunk-7IYC4ENJ.js +297 -0
- package/node_modules/pi-lens/dist/chunk-7WWQAW5P.js +30 -0
- package/node_modules/pi-lens/dist/{chunk-3DA2JDOL.js → chunk-7ZS7MC24.js} +551 -203
- package/node_modules/pi-lens/dist/{chunk-WMYE35PX.js → chunk-AHWA4AKM.js} +7 -5
- package/node_modules/pi-lens/dist/{chunk-JW3YWBVB.js → chunk-AI3GP74G.js} +17 -19
- package/node_modules/pi-lens/dist/{chunk-AGSS7277.js → chunk-APFJKOP6.js} +6 -23
- package/node_modules/pi-lens/dist/{chunk-ZVUL7QYY.js → chunk-ASRAO7KG.js} +29 -32
- package/node_modules/pi-lens/dist/{chunk-BW5KFIQC.js → chunk-AWQWXSW4.js} +1 -0
- package/node_modules/pi-lens/dist/{chunk-TLX72JTG.js → chunk-CG5V25HX.js} +1 -1
- package/node_modules/pi-lens/dist/chunk-CKEQFGLT.js +32 -0
- package/node_modules/pi-lens/dist/{chunk-Y6GZHWSJ.js → chunk-COOUUC5W.js} +6 -6
- package/node_modules/pi-lens/dist/{chunk-XTBDCR27.js → chunk-CPZ5JJW6.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-RKKOYPRA.js → chunk-DS2USX5G.js} +13 -15
- package/node_modules/pi-lens/dist/chunk-EA2ZRG44.js +27 -0
- package/node_modules/pi-lens/dist/{chunk-GSLNCYGG.js → chunk-EDMLIW6W.js} +13 -14
- package/node_modules/pi-lens/dist/{chunk-2EECBNC5.js → chunk-EIKRZ32J.js} +75 -0
- package/node_modules/pi-lens/dist/chunk-EKNWOL2I.js +27 -0
- package/node_modules/pi-lens/dist/{chunk-R3T7CLQ2.js → chunk-ELZRSR5N.js} +41 -41
- package/node_modules/pi-lens/dist/{chunk-GMX5OS7B.js → chunk-EN5AM7PX.js} +11 -12
- package/node_modules/pi-lens/dist/{chunk-3RKP3FMS.js → chunk-EWXXLS26.js} +226 -24
- package/node_modules/pi-lens/dist/chunk-EX4EXBW7.js +37 -0
- package/node_modules/pi-lens/dist/{chunk-XHJBS436.js → chunk-EXVXBSGN.js} +25 -25
- package/node_modules/pi-lens/dist/{chunk-MZGQNL3Y.js → chunk-F7BO6FWH.js} +12 -13
- package/node_modules/pi-lens/dist/{chunk-V35JG4JB.js → chunk-FEDWAYDS.js} +152 -334
- package/node_modules/pi-lens/dist/{chunk-J64T55EI.js → chunk-FWZRGGGY.js} +73 -9
- package/node_modules/pi-lens/dist/{chunk-T57LYLZT.js → chunk-G224FADB.js} +1 -1
- package/node_modules/pi-lens/dist/chunk-G5UCJFT7.js +26 -0
- package/node_modules/pi-lens/dist/{chunk-LLJNQKQW.js → chunk-GLW3YDZZ.js} +20 -13
- package/node_modules/pi-lens/dist/{chunk-GXFV6MYU.js → chunk-GTDSYEA2.js} +72 -39
- package/node_modules/pi-lens/dist/{chunk-DUO2TU77.js → chunk-GYRZ72R4.js} +10 -4
- package/node_modules/pi-lens/dist/chunk-HYVXA3BB.js +49 -0
- package/node_modules/pi-lens/dist/{chunk-W66O5E25.js → chunk-IEBJF3PN.js} +13 -15
- package/node_modules/pi-lens/dist/{chunk-GAQ7OQG6.js → chunk-IL7K66ZQ.js} +83 -94
- package/node_modules/pi-lens/dist/{chunk-T7FEBKXN.js → chunk-JWOVP5BL.js} +7 -9
- package/node_modules/pi-lens/dist/{chunk-UBOQLVT2.js → chunk-K2GUZ4DN.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-5VSF4UUQ.js → chunk-K4SZB56V.js} +34 -39
- package/node_modules/pi-lens/dist/{chunk-7D6L4MTX.js → chunk-KCBRHV5E.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-GSM5UU7A.js → chunk-KFXCL4OV.js} +38 -28
- package/node_modules/pi-lens/dist/{chunk-J6MPGQTS.js → chunk-KJJAVH3X.js} +81 -15
- package/node_modules/pi-lens/dist/{chunk-BWD5EPKO.js → chunk-KPVLQHCZ.js} +4 -6
- package/node_modules/pi-lens/dist/{chunk-MPNJLASA.js → chunk-KX56K73G.js} +10 -13
- package/node_modules/pi-lens/dist/{chunk-AWSCPCN2.js → chunk-LMCTHJ2H.js} +19 -19
- package/node_modules/pi-lens/dist/{chunk-IWDLU6K3.js → chunk-MEFLGBCS.js} +4 -6
- package/node_modules/pi-lens/dist/{chunk-TOY6QKOH.js → chunk-MKPCELNI.js} +17 -17
- package/node_modules/pi-lens/dist/{chunk-POMLXPMY.js → chunk-N3PLNNCW.js} +1 -1
- package/node_modules/pi-lens/dist/chunk-N5FBM25N.js +22 -0
- package/node_modules/pi-lens/dist/{chunk-CYRKQRPM.js → chunk-NFNVDDGB.js} +2 -4
- package/node_modules/pi-lens/dist/{chunk-RMLC67LF.js → chunk-NLIVE7L6.js} +2 -30
- package/node_modules/pi-lens/dist/{chunk-24AKHFGP.js → chunk-OMJ3OFBJ.js} +6 -6
- package/node_modules/pi-lens/dist/{chunk-IQWN5JCP.js → chunk-OZNCKLOX.js} +13 -14
- package/node_modules/pi-lens/dist/chunk-P5XUGPIX.js +31 -0
- package/node_modules/pi-lens/dist/{chunk-2KXTHF3M.js → chunk-PJXNTPB2.js} +253 -33
- package/node_modules/pi-lens/dist/chunk-PKOXJIVT.js +88 -0
- package/node_modules/pi-lens/dist/{chunk-DGUKIYSI.js → chunk-PP2A5V2T.js} +8 -10
- package/node_modules/pi-lens/dist/{chunk-KAPJINKN.js → chunk-Q42LJANT.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-UZ2XCLYS.js → chunk-Q4BKKOVC.js} +8 -8
- package/node_modules/pi-lens/dist/{chunk-TIQ2PKDW.js → chunk-QT66NEYN.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-U44DJXQP.js → chunk-RCHO5W7M.js} +15 -18
- package/node_modules/pi-lens/dist/{chunk-YH5MVY2U.js → chunk-RG3MXTRI.js} +7 -7
- package/node_modules/pi-lens/dist/chunk-RG7OODGM.js +57 -0
- package/node_modules/pi-lens/dist/{chunk-OHKJ7PQF.js → chunk-RU34BA4D.js} +43 -39
- package/node_modules/pi-lens/dist/{chunk-JMYYOTQG.js → chunk-S26LC76R.js} +13 -1
- package/node_modules/pi-lens/dist/{chunk-XBJVAEEO.js → chunk-S55TEC7I.js} +3 -2
- package/node_modules/pi-lens/dist/{chunk-RVK72CZX.js → chunk-SJHC3BCZ.js} +1397 -481
- package/node_modules/pi-lens/dist/{chunk-IYNJ6YPZ.js → chunk-SNEUMLM7.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-S67KYG37.js → chunk-T4NGVFYI.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-YCWYO6TQ.js → chunk-THEXI2QO.js} +48 -45
- package/node_modules/pi-lens/dist/{chunk-AMERCH6V.js → chunk-TL2TCJYL.js} +15 -16
- package/node_modules/pi-lens/dist/{chunk-KUA4OJ5Y.js → chunk-TPYYEDP5.js} +823 -350
- package/node_modules/pi-lens/dist/{chunk-YNE3RP52.js → chunk-TVZRLTG6.js} +8 -1
- package/node_modules/pi-lens/dist/{chunk-ROYSX2S5.js → chunk-UCVMSOXF.js} +2 -2
- package/node_modules/pi-lens/dist/chunk-UL5SXQVX.js +32 -0
- package/node_modules/pi-lens/dist/{chunk-7HXE67BN.js → chunk-UO66IMVP.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-VOOAPROD.js → chunk-UVY4TOJH.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-RKBXZN3A.js → chunk-VIDEKABZ.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-2FN63LPV.js → chunk-VITFDI3O.js} +13 -14
- package/node_modules/pi-lens/dist/{chunk-6DLWKFEX.js → chunk-VUAVE3QC.js} +41 -42
- package/node_modules/pi-lens/dist/{chunk-FM4RDMKT.js → chunk-WUY4BZEP.js} +10 -12
- package/node_modules/pi-lens/dist/{chunk-SD4I7ZO4.js → chunk-X3UTCXAA.js} +43 -53
- package/node_modules/pi-lens/dist/chunk-XHDBJODR.js +45 -0
- package/node_modules/pi-lens/dist/{chunk-5IUSNGOC.js → chunk-XHLK33VM.js} +28 -21
- package/node_modules/pi-lens/dist/{chunk-3KAZU3VR.js → chunk-XI34NWDI.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-QBFBRV2B.js → chunk-XWFIHYCH.js} +4 -2
- package/node_modules/pi-lens/dist/{chunk-JUKMK5Y4.js → chunk-Y2TPADJR.js} +10 -11
- package/node_modules/pi-lens/dist/{chunk-EBC36LNN.js → chunk-Y5KTA2OB.js} +17 -17
- package/node_modules/pi-lens/dist/{chunk-HYGZEMX6.js → chunk-YKVDBNPO.js} +11 -5
- package/node_modules/pi-lens/dist/{chunk-KN35K52N.js → chunk-YSDPVDFC.js} +3 -3
- package/node_modules/pi-lens/dist/chunk-YWNO5Q4R.js +44 -0
- package/node_modules/pi-lens/dist/{chunk-US7ECLD7.js → chunk-YWWG4AQA.js} +119 -28
- package/node_modules/pi-lens/dist/{chunk-O4NWQT6I.js → chunk-YXDCRUKQ.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-XYURS6EN.js → chunk-YXGRRORB.js} +15 -17
- package/node_modules/pi-lens/dist/{chunk-IUE7SSKV.js → chunk-ZAPSUBLU.js} +13 -7
- package/node_modules/pi-lens/dist/{chunk-EUXZEFTV.js → chunk-ZPJM7DID.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-5HSRT26B.js → chunk-ZSUX7KEM.js} +16 -15
- package/node_modules/pi-lens/dist/index.js +37155 -32210
- package/node_modules/pi-lens/dist/mcp/analyze-cli.js +11 -12
- package/node_modules/pi-lens/dist/mcp/cli.js +46 -45
- package/node_modules/pi-lens/dist/mcp/server.js +1210 -574
- package/node_modules/pi-lens/dist/mcp/worker.js +65 -65
- package/node_modules/pi-lens/dist/probes/installer.js +21 -23
- package/node_modules/pi-lens/docs/adr/0010-trace-validation-session-lifecycle.md +390 -0
- package/node_modules/pi-lens/docs/adr/README.md +1 -0
- package/node_modules/pi-lens/docs/ast-grep_rules_catalog.md +5 -3
- package/node_modules/pi-lens/docs/configuration.md +9 -0
- package/node_modules/pi-lens/docs/engineering-principles.md +12 -0
- package/node_modules/pi-lens/docs/environment-variables.md +20 -0
- package/node_modules/pi-lens/docs/features.md +16 -1
- package/node_modules/pi-lens/docs/globalconfig.md +37 -8
- package/node_modules/pi-lens/docs/lsp-capability-matrix.md +105 -12
- package/node_modules/pi-lens/docs/lsp-idle-eviction.md +37 -18
- package/node_modules/pi-lens/docs/pi-lens-fixer.md +22 -1
- package/node_modules/pi-lens/docs/pi-lens-investigator.md +14 -0
- package/node_modules/pi-lens/docs/pi-lens-merge-policy.md +23 -10
- package/node_modules/pi-lens/docs/pi-lens-monitor.md +64 -8
- package/node_modules/pi-lens/docs/pi-lens-retro.md +2 -2
- package/node_modules/pi-lens/docs/pi-lens-reviewer.md +48 -1
- package/node_modules/pi-lens/docs/pi-lens-subagent.md +8 -1
- package/node_modules/pi-lens/docs/release-qa-baseline.md +19 -7
- package/node_modules/pi-lens/docs/servercapabilities.md +47 -47
- package/node_modules/pi-lens/docs/settings.md +9 -5
- package/node_modules/pi-lens/docs/subagent-compat.md +1 -1
- package/node_modules/pi-lens/docs/usage.md +1 -0
- package/node_modules/pi-lens/package.json +6 -4
- package/node_modules/pi-lens/rules/ast-grep-rules/rule-tests/no-return-value-in-generator-test.yml +17 -0
- package/node_modules/pi-lens/rules/ast-grep-rules/rule-tests/no-sql-in-code-execute-js-test.yml +86 -0
- package/node_modules/pi-lens/rules/ast-grep-rules/rule-tests/no-sql-in-code-execute-test.yml +86 -0
- package/node_modules/pi-lens/rules/ast-grep-rules/rule-tests/unchecked-numeric-parse-python-test.yml +15 -0
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-return-value-in-generator.yml +9 -4
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-sql-in-code-execute-js.yml +119 -0
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-sql-in-code-execute.yml +119 -0
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/unchecked-numeric-parse-python.yml +13 -2
- package/node_modules/pi-lens/rules/rule-catalog.json +25 -1
- package/node_modules/pi-lens/scripts/analyze-pi-lens-logs.mjs +15 -5
- package/node_modules/pi-lens/scripts/lib/is-main-module.mjs +27 -0
- package/node_modules/pi-lens/scripts/lib/scratch-home-env.mjs +21 -0
- package/node_modules/pi-lens/scripts/rpc-load-check.mjs +4 -6
- package/node_modules/pi-lens/scripts/warm-loader-cache.mjs +2 -5
- package/node_modules/pi-next-cue/package.json +4 -1
- package/node_modules/pi-typesafe/README.md +6 -6
- package/node_modules/pi-typesafe/dist/ask.js +9 -2
- package/node_modules/pi-typesafe/dist/auth.d.ts +3 -2
- package/node_modules/pi-typesafe/dist/auth.js +2 -2
- package/node_modules/pi-typesafe/dist/backends.d.ts +20 -5
- package/node_modules/pi-typesafe/dist/backends.js +32 -8
- package/node_modules/pi-typesafe/dist/batch.d.ts +1 -1
- package/node_modules/pi-typesafe/dist/batch.js +2 -2
- package/node_modules/pi-typesafe/dist/client.d.ts +1 -1
- package/node_modules/pi-typesafe/dist/client.js +24 -12
- package/node_modules/pi-typesafe/dist/credentials.d.ts +8 -6
- package/node_modules/pi-typesafe/dist/credentials.js +70 -16
- package/node_modules/pi-typesafe/dist/extension.js +118 -26
- package/node_modules/pi-typesafe/dist/index.d.ts +1 -1
- package/node_modules/pi-typesafe/dist/index.js +1 -1
- package/node_modules/pi-typesafe/dist/key-prompt.d.ts +1 -1
- package/node_modules/pi-typesafe/dist/key-prompt.js +6 -6
- package/node_modules/pi-typesafe/dist/login.d.ts +11 -10
- package/node_modules/pi-typesafe/dist/login.js +24 -21
- package/node_modules/pi-typesafe/dist/schema.d.ts +8 -8
- package/node_modules/pi-typesafe/dist/schema.js +29 -7
- package/node_modules/pi-typesafe/package.json +2 -2
- package/node_modules/pi-web-access/CHANGELOG.md +40 -0
- package/node_modules/pi-web-access/README.md +96 -22
- package/node_modules/pi-web-access/brave-rate-limit.ts +2 -2
- package/node_modules/pi-web-access/curator-page.ts +3 -1
- package/node_modules/pi-web-access/curator-server.ts +1 -0
- package/node_modules/pi-web-access/dist/index.js +2607 -1674
- package/node_modules/pi-web-access/dist/mcp-cli.js +1119 -327
- package/node_modules/pi-web-access/duckduckgo-rate-limit.ts +95 -0
- package/node_modules/pi-web-access/duckduckgo.ts +51 -45
- package/node_modules/pi-web-access/exa.ts +48 -6
- package/node_modules/pi-web-access/extract.ts +2 -2
- package/node_modules/pi-web-access/fetch-params.ts +5 -4
- package/node_modules/pi-web-access/field-extract.ts +347 -0
- package/node_modules/pi-web-access/gemini-search.ts +151 -13
- package/node_modules/pi-web-access/index.ts +128 -125
- package/node_modules/pi-web-access/mistral-search.ts +1 -1
- package/node_modules/pi-web-access/ninerouter.ts +92 -0
- package/node_modules/pi-web-access/offtopic-judge.ts +72 -0
- package/node_modules/pi-web-access/openai-search.ts +36 -10
- package/node_modules/pi-web-access/package.json +1 -1
- package/node_modules/pi-web-access/perplexity.ts +1 -0
- package/node_modules/pi-web-access/query-rewrite.ts +39 -13
- package/node_modules/pi-web-access/source-check.ts +31 -15
- package/node_modules/pi-web-access/summary-model-scope.ts +19 -1
- package/node_modules/pi-web-access/summary-review.ts +13 -20
- package/node_modules/pi-web-access/tool-arguments.ts +1 -1
- package/node_modules/pi-web-access/upgrade-notice.ts +47 -0
- package/node_modules/pi-web-access/utils.ts +26 -1
- package/node_modules/pi-web-access/web-tool-contract.ts +4 -1
- package/node_modules/pi-web-access/web-tool-core.ts +99 -19
- package/node_modules/pi-web-access/xai-search.ts +3 -3
- package/package.json +15 -15
- package/node_modules/pi-lens/dist/chunk-3PTHXJXR.js +0 -28
- package/node_modules/pi-lens/dist/chunk-3QED2P4V.js +0 -31
- package/node_modules/pi-lens/dist/chunk-5WRPDP2A.js +0 -47
- package/node_modules/pi-lens/dist/chunk-ABBOA7UD.js +0 -157
- package/node_modules/pi-lens/dist/chunk-CUHSHSB6.js +0 -273
- package/node_modules/pi-lens/dist/chunk-GL5LUMZE.js +0 -51
- package/node_modules/pi-lens/dist/chunk-HAD7QRQI.js +0 -30
- package/node_modules/pi-lens/dist/chunk-JORED7EX.js +0 -44
- package/node_modules/pi-lens/dist/chunk-KYUB6QDC.js +0 -72
- package/node_modules/pi-lens/dist/chunk-LZSEQW6A.js +0 -57
- package/node_modules/pi-lens/dist/chunk-M2IFVFWU.js +0 -79
- package/node_modules/pi-lens/dist/chunk-M2UD3LPU.js +0 -88
- package/node_modules/pi-lens/dist/chunk-MBKQHGA7.js +0 -39
- package/node_modules/pi-lens/dist/chunk-R7YOCSNV.js +0 -23
- package/node_modules/pi-lens/dist/chunk-SKAMFC7A.js +0 -28
- package/node_modules/pi-lens/dist/chunk-SYE6T2EB.js +0 -28
- package/node_modules/pi-lens/dist/chunk-TRETHTQO.js +0 -26
- package/node_modules/pi-lens/dist/chunk-UA7ZXYDR.js +0 -184
- package/node_modules/pi-lens/dist/chunk-XTFDJI3T.js +0 -24
- package/node_modules/pi-lens/dist/chunk-Z3CCVDUB.js +0 -76
- package/node_modules/pi-next-cue/.github/workflows/publish.yml +0 -20
|
@@ -1,273 +0,0 @@
|
|
|
1
|
-
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
|
-
import {
|
|
3
|
-
extractTomlTableSection,
|
|
4
|
-
hasTomlTable,
|
|
5
|
-
parseTomlStringArray
|
|
6
|
-
} from "./chunk-MPNJLASA.js";
|
|
7
|
-
import {
|
|
8
|
-
getProjectTrustState
|
|
9
|
-
} from "./chunk-M2IFVFWU.js";
|
|
10
|
-
import {
|
|
11
|
-
incrementDegradationCount,
|
|
12
|
-
recordDegradationOnce
|
|
13
|
-
} from "./chunk-J64T55EI.js";
|
|
14
|
-
import {
|
|
15
|
-
logExtension
|
|
16
|
-
} from "./chunk-POMLXPMY.js";
|
|
17
|
-
import {
|
|
18
|
-
logLatency
|
|
19
|
-
} from "./chunk-QBFBRV2B.js";
|
|
20
|
-
import {
|
|
21
|
-
UV_WORKSPACE_EXCLUDE_DIALECT,
|
|
22
|
-
UV_WORKSPACE_MEMBERS_DIALECT,
|
|
23
|
-
isAtOrAboveHomeDir,
|
|
24
|
-
matchesWorkspaceMemberPattern,
|
|
25
|
-
toPosix,
|
|
26
|
-
walkUpDirs
|
|
27
|
-
} from "./chunk-3RKP3FMS.js";
|
|
28
|
-
|
|
29
|
-
// dist/clients/bounded-telemetry.js
|
|
30
|
-
var MAX_TRACKED_TURN_CAPS = 64;
|
|
31
|
-
var turnCounts = /* @__PURE__ */ new Map();
|
|
32
|
-
var latestCountedTurnIndex;
|
|
33
|
-
var retiredThroughTurnIndex = Number.NEGATIVE_INFINITY;
|
|
34
|
-
function admitBounded(phase, identity, options = {}) {
|
|
35
|
-
try {
|
|
36
|
-
let isRisingEdge = true;
|
|
37
|
-
if (options.ledgerKind !== void 0) {
|
|
38
|
-
isRisingEdge = incrementDegradationCount({
|
|
39
|
-
kind: options.ledgerKind,
|
|
40
|
-
subject: identity,
|
|
41
|
-
reason: options.reason ?? phase
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
if (options.risingEdgePer !== void 0 && !isRisingEdge)
|
|
45
|
-
return false;
|
|
46
|
-
return admitAgainstTurnCap(phase, options.capPerTurn);
|
|
47
|
-
} catch {
|
|
48
|
-
return true;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
function emitBounded(phase, identity, payload, options = {}) {
|
|
52
|
-
try {
|
|
53
|
-
if (!admitBounded(phase, identity, options))
|
|
54
|
-
return false;
|
|
55
|
-
logLatency({
|
|
56
|
-
...payload,
|
|
57
|
-
type: payload.type ?? "phase",
|
|
58
|
-
phase,
|
|
59
|
-
// `filePath` is what existing latency.log queries filter on, so a site
|
|
60
|
-
// may keep a coarser one; `metadata.identity` below always carries the
|
|
61
|
-
// full discriminating identity. Aggregation that loses WHICH subject
|
|
62
|
-
// is stuck is the failure AGENTS.md names.
|
|
63
|
-
filePath: payload.filePath ?? identity,
|
|
64
|
-
metadata: { ...payload.metadata, identity }
|
|
65
|
-
});
|
|
66
|
-
return true;
|
|
67
|
-
} catch {
|
|
68
|
-
return false;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
function admitAgainstTurnCap(phase, cap) {
|
|
72
|
-
if (cap === void 0)
|
|
73
|
-
return true;
|
|
74
|
-
if (cap.turnIndex <= retiredThroughTurnIndex)
|
|
75
|
-
return false;
|
|
76
|
-
let counts = turnCounts.get(cap.turnIndex);
|
|
77
|
-
if (!counts) {
|
|
78
|
-
if (turnCounts.size >= MAX_TRACKED_TURN_CAPS) {
|
|
79
|
-
const oldestTrackedTurn = Math.min(...turnCounts.keys());
|
|
80
|
-
if (cap.turnIndex < oldestTrackedTurn)
|
|
81
|
-
return false;
|
|
82
|
-
turnCounts.delete(oldestTrackedTurn);
|
|
83
|
-
retiredThroughTurnIndex = Math.max(retiredThroughTurnIndex, oldestTrackedTurn);
|
|
84
|
-
}
|
|
85
|
-
counts = /* @__PURE__ */ new Map();
|
|
86
|
-
turnCounts.set(cap.turnIndex, counts);
|
|
87
|
-
}
|
|
88
|
-
latestCountedTurnIndex = Math.max(latestCountedTurnIndex ?? cap.turnIndex, cap.turnIndex);
|
|
89
|
-
const used = counts.get(phase) ?? 0;
|
|
90
|
-
if (used >= cap.limit)
|
|
91
|
-
return false;
|
|
92
|
-
counts.set(phase, used + 1);
|
|
93
|
-
return true;
|
|
94
|
-
}
|
|
95
|
-
function resetBoundedTelemetry() {
|
|
96
|
-
turnCounts = /* @__PURE__ */ new Map();
|
|
97
|
-
latestCountedTurnIndex = void 0;
|
|
98
|
-
retiredThroughTurnIndex = Number.NEGATIVE_INFINITY;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
// dist/clients/python-environment.js
|
|
102
|
-
import { access, readFile } from "node:fs/promises";
|
|
103
|
-
import os from "node:os";
|
|
104
|
-
import path from "node:path";
|
|
105
|
-
var UV_WORKSPACE_TABLE = "tool\\.uv\\.workspace";
|
|
106
|
-
async function findUvWorkspace(startDir, homeDir) {
|
|
107
|
-
const resolvedStart = path.resolve(startDir);
|
|
108
|
-
let nearestProject;
|
|
109
|
-
for (const dir of walkUpDirs(startDir)) {
|
|
110
|
-
if (isAtOrAboveHomeDir(dir, homeDir))
|
|
111
|
-
break;
|
|
112
|
-
let content;
|
|
113
|
-
try {
|
|
114
|
-
content = await readFile(path.join(dir, "pyproject.toml"), "utf8");
|
|
115
|
-
} catch {
|
|
116
|
-
continue;
|
|
117
|
-
}
|
|
118
|
-
if (!nearestProject)
|
|
119
|
-
nearestProject = dir;
|
|
120
|
-
if (hasTomlTable(content, UV_WORKSPACE_TABLE)) {
|
|
121
|
-
const workspaceTable = extractTomlTableSection(content, UV_WORKSPACE_TABLE);
|
|
122
|
-
return {
|
|
123
|
-
root: dir,
|
|
124
|
-
explicit: true,
|
|
125
|
-
projectRoot: nearestProject,
|
|
126
|
-
isStartDir: nearestProject === resolvedStart,
|
|
127
|
-
members: parseTomlStringArray(workspaceTable, "members"),
|
|
128
|
-
exclude: parseTomlStringArray(workspaceTable, "exclude")
|
|
129
|
-
};
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
return nearestProject ? {
|
|
133
|
-
root: nearestProject,
|
|
134
|
-
explicit: false,
|
|
135
|
-
projectRoot: nearestProject,
|
|
136
|
-
isStartDir: nearestProject === resolvedStart,
|
|
137
|
-
members: [],
|
|
138
|
-
exclude: []
|
|
139
|
-
} : void 0;
|
|
140
|
-
}
|
|
141
|
-
function isUvWorkspaceMember(workspace, projectRoot) {
|
|
142
|
-
const relative = toPosix(path.relative(workspace.root, projectRoot));
|
|
143
|
-
if (relative.length === 0 || relative === ".." || relative.startsWith("../") || path.isAbsolute(relative)) {
|
|
144
|
-
return false;
|
|
145
|
-
}
|
|
146
|
-
const matches = (dialect) => (pattern) => matchesWorkspaceMemberPattern(pattern, relative, dialect, () => recordDegradationOnce({
|
|
147
|
-
kind: "workspace-glob-cap",
|
|
148
|
-
subject: String(pattern.length),
|
|
149
|
-
reason: "workspace glob matcher exceeded its memo-table cell cap"
|
|
150
|
-
}));
|
|
151
|
-
return !workspace.exclude.some(matches(UV_WORKSPACE_EXCLUDE_DIALECT)) && workspace.members.some(matches(UV_WORKSPACE_MEMBERS_DIALECT));
|
|
152
|
-
}
|
|
153
|
-
var PROJECT_SOURCED_PYTHON_SOURCES = /* @__PURE__ */ new Set([
|
|
154
|
-
"project-dot-venv",
|
|
155
|
-
"project-venv",
|
|
156
|
-
"uv-workspace"
|
|
157
|
-
]);
|
|
158
|
-
var AMBIENT_ENVIRONMENT_VARIABLES = {
|
|
159
|
-
"uv-project-environment": "UV_PROJECT_ENVIRONMENT",
|
|
160
|
-
"virtual-env": "VIRTUAL_ENV",
|
|
161
|
-
conda: "CONDA_PREFIX"
|
|
162
|
-
};
|
|
163
|
-
function hasAmbientPythonEnvironment(env = process.env) {
|
|
164
|
-
return Object.values(AMBIENT_ENVIRONMENT_VARIABLES).some((name) => Boolean(env[name]));
|
|
165
|
-
}
|
|
166
|
-
async function detectPythonEnvironment(projectRoot, homeDir = os.homedir(), options = {}) {
|
|
167
|
-
const root = path.resolve(projectRoot);
|
|
168
|
-
const uvWorkspace = await findUvWorkspace(root, homeDir);
|
|
169
|
-
const isProjectRoot = uvWorkspace?.isStartDir === true;
|
|
170
|
-
const memberWorkspaceRoot = isProjectRoot && uvWorkspace.explicit && isUvWorkspaceMember(uvWorkspace, root) ? uvWorkspace.root : void 0;
|
|
171
|
-
const uvEnvironmentRoot = isProjectRoot ? memberWorkspaceRoot ?? uvWorkspace.projectRoot : void 0;
|
|
172
|
-
const uvProjectEnvironment = process.env.UV_PROJECT_ENVIRONMENT;
|
|
173
|
-
const allowAmbient = options.allowAmbient ?? true;
|
|
174
|
-
const isWithinProjectRoot = (candidateRoot) => {
|
|
175
|
-
const relative = path.relative(root, path.resolve(candidateRoot));
|
|
176
|
-
return relative !== ".." && !relative.startsWith(`..${path.sep}`) && // #3871 V1: another Windows drive has no relative path, so
|
|
177
|
-
// `path.relative` returns the absolute target: no `..`, not inside.
|
|
178
|
-
!path.isAbsolute(relative);
|
|
179
|
-
};
|
|
180
|
-
const candidates = [
|
|
181
|
-
...uvEnvironmentRoot !== void 0 && uvProjectEnvironment ? [
|
|
182
|
-
{
|
|
183
|
-
// `path.resolve` leaves an absolute value untouched and
|
|
184
|
-
// anchors a relative one at the project's workspace root.
|
|
185
|
-
root: path.resolve(uvEnvironmentRoot, uvProjectEnvironment),
|
|
186
|
-
source: "uv-project-environment"
|
|
187
|
-
}
|
|
188
|
-
] : [],
|
|
189
|
-
...memberWorkspaceRoot !== void 0 ? [
|
|
190
|
-
{
|
|
191
|
-
root: path.join(memberWorkspaceRoot, ".venv"),
|
|
192
|
-
source: "uv-workspace"
|
|
193
|
-
}
|
|
194
|
-
] : [],
|
|
195
|
-
{ root: process.env.VIRTUAL_ENV, source: "virtual-env" },
|
|
196
|
-
{ root: process.env.CONDA_PREFIX, source: "conda" },
|
|
197
|
-
{ root: path.join(root, ".venv"), source: "project-dot-venv" },
|
|
198
|
-
{ root: path.join(root, "venv"), source: "project-venv" }
|
|
199
|
-
];
|
|
200
|
-
for (const candidate of candidates) {
|
|
201
|
-
if (!candidate.root)
|
|
202
|
-
continue;
|
|
203
|
-
if (!allowAmbient && candidate.source in AMBIENT_ENVIRONMENT_VARIABLES && !isWithinProjectRoot(candidate.root))
|
|
204
|
-
continue;
|
|
205
|
-
if (PROJECT_SOURCED_PYTHON_SOURCES.has(candidate.source) && getProjectTrustState() !== "trusted") {
|
|
206
|
-
if (recordDegradationOnce({
|
|
207
|
-
kind: "trust-refusal",
|
|
208
|
-
subject: `python-environment:${candidate.root}`,
|
|
209
|
-
reason: `project Python environment refused: pi project trust is ${getProjectTrustState()}`
|
|
210
|
-
})) {
|
|
211
|
-
logExtension({
|
|
212
|
-
subsystem: "project-trust",
|
|
213
|
-
level: "warn",
|
|
214
|
-
message: "project Python environment refused: mark the project trusted in pi or upgrade pi",
|
|
215
|
-
metadata: { source: candidate.source }
|
|
216
|
-
});
|
|
217
|
-
}
|
|
218
|
-
continue;
|
|
219
|
-
}
|
|
220
|
-
const binDir = path.join(candidate.root, process.platform === "win32" ? "Scripts" : "bin");
|
|
221
|
-
const pythonPath = path.join(binDir, process.platform === "win32" ? "python.exe" : "python");
|
|
222
|
-
try {
|
|
223
|
-
await access(pythonPath);
|
|
224
|
-
return {
|
|
225
|
-
root: candidate.root,
|
|
226
|
-
binDir,
|
|
227
|
-
pythonPath,
|
|
228
|
-
source: candidate.source
|
|
229
|
-
};
|
|
230
|
-
} catch {
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
return void 0;
|
|
234
|
-
}
|
|
235
|
-
async function detectPythonVenv(projectRoot) {
|
|
236
|
-
return (await detectPythonEnvironment(projectRoot))?.pythonPath;
|
|
237
|
-
}
|
|
238
|
-
function augmentPythonEnvironment(baseEnvironment, environment) {
|
|
239
|
-
if (!environment)
|
|
240
|
-
return baseEnvironment;
|
|
241
|
-
const inheritedPath = baseEnvironment.PATH ?? baseEnvironment.Path ?? baseEnvironment.path ?? "";
|
|
242
|
-
const augmentedPath = inheritedPath ? `${environment.binDir}${path.delimiter}${inheritedPath}` : environment.binDir;
|
|
243
|
-
const childEnvironment = {
|
|
244
|
-
...baseEnvironment,
|
|
245
|
-
PATH: augmentedPath,
|
|
246
|
-
VIRTUAL_ENV: environment.root
|
|
247
|
-
};
|
|
248
|
-
if (process.platform === "win32")
|
|
249
|
-
childEnvironment.Path = augmentedPath;
|
|
250
|
-
return childEnvironment;
|
|
251
|
-
}
|
|
252
|
-
function pythonEnvironmentToolCandidates(environment, command) {
|
|
253
|
-
if (!environment)
|
|
254
|
-
return [];
|
|
255
|
-
if (process.platform !== "win32") {
|
|
256
|
-
return [path.join(environment.binDir, command)];
|
|
257
|
-
}
|
|
258
|
-
return [
|
|
259
|
-
path.join(environment.binDir, `${command}.exe`),
|
|
260
|
-
path.join(environment.binDir, `${command}.cmd`),
|
|
261
|
-
path.join(environment.binDir, command)
|
|
262
|
-
];
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
export {
|
|
266
|
-
emitBounded,
|
|
267
|
-
resetBoundedTelemetry,
|
|
268
|
-
hasAmbientPythonEnvironment,
|
|
269
|
-
detectPythonEnvironment,
|
|
270
|
-
detectPythonVenv,
|
|
271
|
-
augmentPythonEnvironment,
|
|
272
|
-
pythonEnvironmentToolCandidates
|
|
273
|
-
};
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
|
-
import {
|
|
3
|
-
MAX_CANONICAL_ROOT_MEMO_ENTRIES,
|
|
4
|
-
RUNNERS,
|
|
5
|
-
SOURCE_TO_TEST_PATTERNS,
|
|
6
|
-
TURN_END_EXCLUDED_TEST_GLOBS,
|
|
7
|
-
TestRunnerClient,
|
|
8
|
-
isExcludedTestTarget,
|
|
9
|
-
isRunnerErrorResult,
|
|
10
|
-
stripWrapperArgs
|
|
11
|
-
} from "./chunk-SD4I7ZO4.js";
|
|
12
|
-
import "./chunk-6HWVI6MI.js";
|
|
13
|
-
import "./chunk-CUHSHSB6.js";
|
|
14
|
-
import "./chunk-UA7ZXYDR.js";
|
|
15
|
-
import "./chunk-MPNJLASA.js";
|
|
16
|
-
import "./chunk-Z3CCVDUB.js";
|
|
17
|
-
import "./chunk-DEL2U6CM.js";
|
|
18
|
-
import "./chunk-5VSF4UUQ.js";
|
|
19
|
-
import "./chunk-3KAZU3VR.js";
|
|
20
|
-
import "./chunk-P63GXC37.js";
|
|
21
|
-
import "./chunk-HRNHZA3N.js";
|
|
22
|
-
import "./chunk-TLX72JTG.js";
|
|
23
|
-
import "./chunk-DGUKIYSI.js";
|
|
24
|
-
import "./chunk-XBJVAEEO.js";
|
|
25
|
-
import "./chunk-KUA4OJ5Y.js";
|
|
26
|
-
import "./chunk-BW5KFIQC.js";
|
|
27
|
-
import "./chunk-QYF5S6P6.js";
|
|
28
|
-
import "./chunk-DUO2TU77.js";
|
|
29
|
-
import "./chunk-J6MPGQTS.js";
|
|
30
|
-
import "./chunk-5HSRT26B.js";
|
|
31
|
-
import "./chunk-M2IFVFWU.js";
|
|
32
|
-
import "./chunk-2EECBNC5.js";
|
|
33
|
-
import "./chunk-J64T55EI.js";
|
|
34
|
-
import "./chunk-POMLXPMY.js";
|
|
35
|
-
import "./chunk-JMYYOTQG.js";
|
|
36
|
-
import "./chunk-QBFBRV2B.js";
|
|
37
|
-
import "./chunk-YNE3RP52.js";
|
|
38
|
-
import "./chunk-LJDODBBZ.js";
|
|
39
|
-
import "./chunk-ABBOA7UD.js";
|
|
40
|
-
import "./chunk-3RKP3FMS.js";
|
|
41
|
-
import "./chunk-NXL4FFQQ.js";
|
|
42
|
-
export {
|
|
43
|
-
MAX_CANONICAL_ROOT_MEMO_ENTRIES,
|
|
44
|
-
RUNNERS,
|
|
45
|
-
SOURCE_TO_TEST_PATTERNS,
|
|
46
|
-
TURN_END_EXCLUDED_TEST_GLOBS,
|
|
47
|
-
TestRunnerClient,
|
|
48
|
-
isExcludedTestTarget,
|
|
49
|
-
isRunnerErrorResult,
|
|
50
|
-
stripWrapperArgs
|
|
51
|
-
};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
|
-
import {
|
|
3
|
-
importFactProvider,
|
|
4
|
-
importFactsApplyTo
|
|
5
|
-
} from "./chunk-IYNJ6YPZ.js";
|
|
6
|
-
import "./chunk-T57LYLZT.js";
|
|
7
|
-
import "./chunk-US7ECLD7.js";
|
|
8
|
-
import "./chunk-Z54ZSOBZ.js";
|
|
9
|
-
import "./chunk-GXFV6MYU.js";
|
|
10
|
-
import "./chunk-FM4RDMKT.js";
|
|
11
|
-
import "./chunk-P63GXC37.js";
|
|
12
|
-
import "./chunk-KUA4OJ5Y.js";
|
|
13
|
-
import "./chunk-DUO2TU77.js";
|
|
14
|
-
import "./chunk-J6MPGQTS.js";
|
|
15
|
-
import "./chunk-5HSRT26B.js";
|
|
16
|
-
import "./chunk-M2IFVFWU.js";
|
|
17
|
-
import "./chunk-2EECBNC5.js";
|
|
18
|
-
import "./chunk-J64T55EI.js";
|
|
19
|
-
import "./chunk-POMLXPMY.js";
|
|
20
|
-
import "./chunk-JMYYOTQG.js";
|
|
21
|
-
import "./chunk-QBFBRV2B.js";
|
|
22
|
-
import "./chunk-YNE3RP52.js";
|
|
23
|
-
import "./chunk-LJDODBBZ.js";
|
|
24
|
-
import "./chunk-ABBOA7UD.js";
|
|
25
|
-
import "./chunk-3RKP3FMS.js";
|
|
26
|
-
import "./chunk-NXL4FFQQ.js";
|
|
27
|
-
export {
|
|
28
|
-
importFactProvider,
|
|
29
|
-
importFactsApplyTo
|
|
30
|
-
};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
|
-
import {
|
|
3
|
-
DEPENDENCY_DRIFT_MAX_DELIVERIES,
|
|
4
|
-
_getForwardImportParsesForTests,
|
|
5
|
-
collectForwardImportMtimes,
|
|
6
|
-
extractForwardImportPaths,
|
|
7
|
-
extractForwardImports,
|
|
8
|
-
sweepInlineBlockerFreshness
|
|
9
|
-
} from "./chunk-V35JG4JB.js";
|
|
10
|
-
import "./chunk-XTBDCR27.js";
|
|
11
|
-
import "./chunk-MPNJLASA.js";
|
|
12
|
-
import "./chunk-US7ECLD7.js";
|
|
13
|
-
import "./chunk-Z54ZSOBZ.js";
|
|
14
|
-
import "./chunk-GXFV6MYU.js";
|
|
15
|
-
import "./chunk-FM4RDMKT.js";
|
|
16
|
-
import "./chunk-RMLC67LF.js";
|
|
17
|
-
import {
|
|
18
|
-
MTIME_DRIFT_TOLERANCE_MS
|
|
19
|
-
} from "./chunk-AGSS7277.js";
|
|
20
|
-
import "./chunk-P63GXC37.js";
|
|
21
|
-
import "./chunk-KUA4OJ5Y.js";
|
|
22
|
-
import "./chunk-DUO2TU77.js";
|
|
23
|
-
import "./chunk-J6MPGQTS.js";
|
|
24
|
-
import "./chunk-5HSRT26B.js";
|
|
25
|
-
import "./chunk-M2IFVFWU.js";
|
|
26
|
-
import "./chunk-2EECBNC5.js";
|
|
27
|
-
import "./chunk-J64T55EI.js";
|
|
28
|
-
import "./chunk-POMLXPMY.js";
|
|
29
|
-
import "./chunk-JMYYOTQG.js";
|
|
30
|
-
import "./chunk-QBFBRV2B.js";
|
|
31
|
-
import "./chunk-YNE3RP52.js";
|
|
32
|
-
import "./chunk-LJDODBBZ.js";
|
|
33
|
-
import "./chunk-ABBOA7UD.js";
|
|
34
|
-
import "./chunk-3RKP3FMS.js";
|
|
35
|
-
import "./chunk-NXL4FFQQ.js";
|
|
36
|
-
export {
|
|
37
|
-
DEPENDENCY_DRIFT_MAX_DELIVERIES,
|
|
38
|
-
MTIME_DRIFT_TOLERANCE_MS,
|
|
39
|
-
_getForwardImportParsesForTests,
|
|
40
|
-
collectForwardImportMtimes,
|
|
41
|
-
extractForwardImportPaths,
|
|
42
|
-
extractForwardImports,
|
|
43
|
-
sweepInlineBlockerFreshness
|
|
44
|
-
};
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
|
-
import {
|
|
3
|
-
adaptLspService,
|
|
4
|
-
getLSPService,
|
|
5
|
-
groupFilesByPrimaryServer,
|
|
6
|
-
hasAuxiliaryLspPublishedForRoot,
|
|
7
|
-
notifyExternalFileChange,
|
|
8
|
-
peekLSPService,
|
|
9
|
-
resetLSPService,
|
|
10
|
-
resyncGitChangedFiles,
|
|
11
|
-
runPerServerGroups
|
|
12
|
-
} from "./chunk-RVK72CZX.js";
|
|
13
|
-
import "./chunk-IWDLU6K3.js";
|
|
14
|
-
import "./chunk-XIMYZ3JA.js";
|
|
15
|
-
import "./chunk-3DA2JDOL.js";
|
|
16
|
-
import "./chunk-HWCCCQNX.js";
|
|
17
|
-
import "./chunk-CUHSHSB6.js";
|
|
18
|
-
import "./chunk-UA7ZXYDR.js";
|
|
19
|
-
import "./chunk-T7FEBKXN.js";
|
|
20
|
-
import "./chunk-SRYEJNES.js";
|
|
21
|
-
import "./chunk-V35JG4JB.js";
|
|
22
|
-
import "./chunk-XTBDCR27.js";
|
|
23
|
-
import "./chunk-MPNJLASA.js";
|
|
24
|
-
import "./chunk-US7ECLD7.js";
|
|
25
|
-
import "./chunk-Z54ZSOBZ.js";
|
|
26
|
-
import "./chunk-GXFV6MYU.js";
|
|
27
|
-
import "./chunk-FM4RDMKT.js";
|
|
28
|
-
import "./chunk-RMLC67LF.js";
|
|
29
|
-
import "./chunk-W66O5E25.js";
|
|
30
|
-
import "./chunk-7HXE67BN.js";
|
|
31
|
-
import "./chunk-Z3CCVDUB.js";
|
|
32
|
-
import "./chunk-KAPJINKN.js";
|
|
33
|
-
import "./chunk-AGSS7277.js";
|
|
34
|
-
import "./chunk-2BEMIWEW.js";
|
|
35
|
-
import "./chunk-IJYGIDF4.js";
|
|
36
|
-
import "./chunk-GAQ7OQG6.js";
|
|
37
|
-
import "./chunk-DEL2U6CM.js";
|
|
38
|
-
import "./chunk-5VSF4UUQ.js";
|
|
39
|
-
import "./chunk-3KAZU3VR.js";
|
|
40
|
-
import "./chunk-P63GXC37.js";
|
|
41
|
-
import "./chunk-HRNHZA3N.js";
|
|
42
|
-
import "./chunk-TLX72JTG.js";
|
|
43
|
-
import "./chunk-DGUKIYSI.js";
|
|
44
|
-
import "./chunk-XBJVAEEO.js";
|
|
45
|
-
import "./chunk-KUA4OJ5Y.js";
|
|
46
|
-
import "./chunk-BW5KFIQC.js";
|
|
47
|
-
import "./chunk-QYF5S6P6.js";
|
|
48
|
-
import "./chunk-DUO2TU77.js";
|
|
49
|
-
import "./chunk-J6MPGQTS.js";
|
|
50
|
-
import "./chunk-5HSRT26B.js";
|
|
51
|
-
import "./chunk-M2IFVFWU.js";
|
|
52
|
-
import "./chunk-2EECBNC5.js";
|
|
53
|
-
import "./chunk-J64T55EI.js";
|
|
54
|
-
import "./chunk-POMLXPMY.js";
|
|
55
|
-
import "./chunk-JMYYOTQG.js";
|
|
56
|
-
import "./chunk-QBFBRV2B.js";
|
|
57
|
-
import "./chunk-YNE3RP52.js";
|
|
58
|
-
import "./chunk-LJDODBBZ.js";
|
|
59
|
-
import "./chunk-ABBOA7UD.js";
|
|
60
|
-
import "./chunk-3RKP3FMS.js";
|
|
61
|
-
import "./chunk-NXL4FFQQ.js";
|
|
62
|
-
export {
|
|
63
|
-
adaptLspService,
|
|
64
|
-
getLSPService,
|
|
65
|
-
groupFilesByPrimaryServer,
|
|
66
|
-
hasAuxiliaryLspPublishedForRoot,
|
|
67
|
-
notifyExternalFileChange,
|
|
68
|
-
peekLSPService,
|
|
69
|
-
resetLSPService,
|
|
70
|
-
resyncGitChangedFiles,
|
|
71
|
-
runPerServerGroups
|
|
72
|
-
};
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
|
-
import {
|
|
3
|
-
DependencyChecker,
|
|
4
|
-
buildMadgeArgs,
|
|
5
|
-
resetMadgeManagedPathMemo
|
|
6
|
-
} from "./chunk-UZ2XCLYS.js";
|
|
7
|
-
import "./chunk-ZHH37KZL.js";
|
|
8
|
-
import "./chunk-Y6GZHWSJ.js";
|
|
9
|
-
import {
|
|
10
|
-
mapWithConcurrency
|
|
11
|
-
} from "./chunk-XIMYZ3JA.js";
|
|
12
|
-
import "./chunk-3DA2JDOL.js";
|
|
13
|
-
import "./chunk-HWCCCQNX.js";
|
|
14
|
-
import "./chunk-CUHSHSB6.js";
|
|
15
|
-
import "./chunk-UA7ZXYDR.js";
|
|
16
|
-
import "./chunk-T7FEBKXN.js";
|
|
17
|
-
import "./chunk-MPNJLASA.js";
|
|
18
|
-
import "./chunk-GXFV6MYU.js";
|
|
19
|
-
import "./chunk-FM4RDMKT.js";
|
|
20
|
-
import "./chunk-RMLC67LF.js";
|
|
21
|
-
import "./chunk-W66O5E25.js";
|
|
22
|
-
import "./chunk-7HXE67BN.js";
|
|
23
|
-
import "./chunk-Z3CCVDUB.js";
|
|
24
|
-
import "./chunk-2BEMIWEW.js";
|
|
25
|
-
import "./chunk-IJYGIDF4.js";
|
|
26
|
-
import "./chunk-GAQ7OQG6.js";
|
|
27
|
-
import "./chunk-DEL2U6CM.js";
|
|
28
|
-
import "./chunk-5VSF4UUQ.js";
|
|
29
|
-
import "./chunk-3KAZU3VR.js";
|
|
30
|
-
import "./chunk-P63GXC37.js";
|
|
31
|
-
import "./chunk-HRNHZA3N.js";
|
|
32
|
-
import "./chunk-TLX72JTG.js";
|
|
33
|
-
import "./chunk-DGUKIYSI.js";
|
|
34
|
-
import "./chunk-XBJVAEEO.js";
|
|
35
|
-
import "./chunk-KUA4OJ5Y.js";
|
|
36
|
-
import "./chunk-BW5KFIQC.js";
|
|
37
|
-
import "./chunk-QYF5S6P6.js";
|
|
38
|
-
import "./chunk-DUO2TU77.js";
|
|
39
|
-
import "./chunk-J6MPGQTS.js";
|
|
40
|
-
import "./chunk-5HSRT26B.js";
|
|
41
|
-
import "./chunk-M2IFVFWU.js";
|
|
42
|
-
import "./chunk-2EECBNC5.js";
|
|
43
|
-
import "./chunk-J64T55EI.js";
|
|
44
|
-
import "./chunk-POMLXPMY.js";
|
|
45
|
-
import "./chunk-JMYYOTQG.js";
|
|
46
|
-
import "./chunk-QBFBRV2B.js";
|
|
47
|
-
import "./chunk-YNE3RP52.js";
|
|
48
|
-
import "./chunk-LJDODBBZ.js";
|
|
49
|
-
import "./chunk-ABBOA7UD.js";
|
|
50
|
-
import "./chunk-3RKP3FMS.js";
|
|
51
|
-
import "./chunk-NXL4FFQQ.js";
|
|
52
|
-
export {
|
|
53
|
-
DependencyChecker,
|
|
54
|
-
buildMadgeArgs,
|
|
55
|
-
mapWithConcurrency,
|
|
56
|
-
resetMadgeManagedPathMemo
|
|
57
|
-
};
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
|
-
import {
|
|
3
|
-
recordDegradation
|
|
4
|
-
} from "./chunk-J64T55EI.js";
|
|
5
|
-
import {
|
|
6
|
-
logExtension
|
|
7
|
-
} from "./chunk-POMLXPMY.js";
|
|
8
|
-
|
|
9
|
-
// dist/clients/project-trust.js
|
|
10
|
-
var trustState = "unknown";
|
|
11
|
-
var installRefusalWarnings = /* @__PURE__ */ new Set();
|
|
12
|
-
var INSTALL_REFUSAL_WARNING_CAP = 200;
|
|
13
|
-
var trustGeneration = 0;
|
|
14
|
-
function getProjectTrustGeneration() {
|
|
15
|
-
return trustGeneration;
|
|
16
|
-
}
|
|
17
|
-
function latchProjectTrustState(next) {
|
|
18
|
-
if (next === trustState)
|
|
19
|
-
return;
|
|
20
|
-
trustState = next;
|
|
21
|
-
installRefusalWarnings.clear();
|
|
22
|
-
trustGeneration += 1;
|
|
23
|
-
}
|
|
24
|
-
function setProjectTrustState(next) {
|
|
25
|
-
const previous = trustState;
|
|
26
|
-
latchProjectTrustState(next);
|
|
27
|
-
if (previous !== next) {
|
|
28
|
-
logExtension({
|
|
29
|
-
subsystem: "project-trust",
|
|
30
|
-
level: "debug",
|
|
31
|
-
message: `project trust state transitioned: ${previous} -> ${next}`,
|
|
32
|
-
metadata: { previous, next }
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
function getProjectTrustState() {
|
|
37
|
-
return trustState;
|
|
38
|
-
}
|
|
39
|
-
function isToolInstallAllowedByTrust() {
|
|
40
|
-
return trustState !== "untrusted";
|
|
41
|
-
}
|
|
42
|
-
function assertInstallAllowed(context) {
|
|
43
|
-
if (isToolInstallAllowedByTrust())
|
|
44
|
-
return true;
|
|
45
|
-
recordDegradation({
|
|
46
|
-
kind: "trust-refusal",
|
|
47
|
-
subject: context,
|
|
48
|
-
reason: projectTrustDenialReason() ?? "project trust denied"
|
|
49
|
-
});
|
|
50
|
-
if (!installRefusalWarnings.has(context)) {
|
|
51
|
-
if (installRefusalWarnings.size >= INSTALL_REFUSAL_WARNING_CAP) {
|
|
52
|
-
installRefusalWarnings.clear();
|
|
53
|
-
}
|
|
54
|
-
installRefusalWarnings.add(context);
|
|
55
|
-
logExtension({
|
|
56
|
-
subsystem: "project-trust",
|
|
57
|
-
level: "warn",
|
|
58
|
-
message: `install/materialization blocked: ${context}`,
|
|
59
|
-
metadata: { context, trustState }
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
return false;
|
|
63
|
-
}
|
|
64
|
-
function isLspSpawnAllowedByTrust() {
|
|
65
|
-
return trustState !== "untrusted";
|
|
66
|
-
}
|
|
67
|
-
function projectTrustDenialReason() {
|
|
68
|
-
return trustState === "untrusted" ? "project is not trusted (host isProjectTrusted() === false)" : void 0;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
export {
|
|
72
|
-
getProjectTrustGeneration,
|
|
73
|
-
setProjectTrustState,
|
|
74
|
-
getProjectTrustState,
|
|
75
|
-
isToolInstallAllowedByTrust,
|
|
76
|
-
assertInstallAllowed,
|
|
77
|
-
isLspSpawnAllowedByTrust,
|
|
78
|
-
projectTrustDenialReason
|
|
79
|
-
};
|