@herbertgao/pi-extensions 2026.10.2 → 2026.10.4
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 +6 -12
- package/THIRD_PARTY_NOTICES.md +5 -1
- package/node_modules/@herbertgao/pi-subagents/CHANGELOG.md +8 -0
- package/node_modules/@herbertgao/pi-subagents/README.md +1 -1
- package/node_modules/@herbertgao/pi-subagents/package.json +4 -5
- package/node_modules/@herbertgao/pi-subagents/src/index.ts +1 -1
- package/node_modules/@herbertgao/pi-subagents/src/invocation-config.ts +1 -1
- package/node_modules/@herbertgao/pi-subagents/src/mention-clone.ts +48 -72
- package/node_modules/@herbertgao/pi-subagents/src/nested-tools.ts +1 -1
- package/node_modules/@herbertgao/pi-subagents/src/output-file.ts +15 -6
- package/node_modules/@herbertgao/pi-subagents/src/workflow/collisions.ts +4 -1
- package/node_modules/@herbertgao/pi-subagents/src/workflow/json-schema.ts +9 -8
- package/node_modules/@narumitw/pi-caffeinate/dist/index.ts +6 -1
- package/node_modules/@narumitw/pi-caffeinate/dist/index.ts.map +2 -2
- package/node_modules/@narumitw/pi-caffeinate/package.json +1 -1
- package/node_modules/@narumitw/pi-caffeinate/src/dbus-inhibit.ts +13 -1
- package/node_modules/pi-lens/CHANGELOG.md +95 -0
- package/node_modules/pi-lens/README.md +1 -0
- package/node_modules/pi-lens/dist/chunk-2FQ62SPM.js +83 -0
- package/node_modules/pi-lens/dist/{chunk-6P62QVEA.js → chunk-2UMYMRI3.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-O6TQT6RI.js → chunk-34OCDWOS.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-XK4CIILI.js → chunk-3FERWMCH.js} +26 -26
- package/node_modules/pi-lens/dist/{chunk-ZAWW3AF6.js → chunk-3JL6IFD7.js} +8 -8
- package/node_modules/pi-lens/dist/{chunk-OAXNDZJ7.js → chunk-3JSEWUWI.js} +8 -4
- package/node_modules/pi-lens/dist/{chunk-RPD5K5NC.js → chunk-3MRXIJ6I.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-IVP5KAB7.js → chunk-3P4PF2BX.js} +14 -14
- package/node_modules/pi-lens/dist/{chunk-5THXD6X5.js → chunk-3PNFWVHT.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-VD4JQCQC.js → chunk-3TTPKMEF.js} +37 -37
- package/node_modules/pi-lens/dist/{chunk-7F72PXY2.js → chunk-5JHXUETW.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-5ZEJHV35.js → chunk-64LU2OVH.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-ODEEOXPH.js → chunk-6B5I6ICN.js} +11 -11
- package/node_modules/pi-lens/dist/{chunk-5RXBNSW2.js → chunk-6P54TMWL.js} +16 -8
- package/node_modules/pi-lens/dist/{chunk-K6VYLB2U.js → chunk-6UYA642J.js} +12 -12
- package/node_modules/pi-lens/dist/{chunk-V7R425XG.js → chunk-6XX5HCLK.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-D6QS3U6M.js → chunk-7AXO3ZDF.js} +15 -15
- package/node_modules/pi-lens/dist/{chunk-YGVYKNSN.js → chunk-7BX5DWSA.js} +59 -12
- package/node_modules/pi-lens/dist/{chunk-N3YQJI6O.js → chunk-7ELY2CSM.js} +7 -4
- package/node_modules/pi-lens/dist/{chunk-AWE5TMPO.js → chunk-7M4T5N3V.js} +13 -13
- package/node_modules/pi-lens/dist/{chunk-AJ3QXTRQ.js → chunk-AFZYMAIV.js} +33 -33
- package/node_modules/pi-lens/dist/{chunk-AJXODZY6.js → chunk-ALQRYH6O.js} +12 -12
- package/node_modules/pi-lens/dist/{chunk-AJVLWNFN.js → chunk-AXKPQ6ZI.js} +5 -5
- package/node_modules/pi-lens/dist/{chunk-HWBZIGMJ.js → chunk-BHWHXMQ2.js} +8 -8
- package/node_modules/pi-lens/dist/{chunk-IXEBJSUE.js → chunk-BJF25SUG.js} +10 -10
- package/node_modules/pi-lens/dist/{chunk-GVXA6CCE.js → chunk-BNKLYOOO.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-T4ERT73Y.js → chunk-CBD2B5CP.js} +20 -20
- package/node_modules/pi-lens/dist/{chunk-O5WILGMI.js → chunk-CFYISHUW.js} +5 -5
- package/node_modules/pi-lens/dist/{chunk-EOKRQ3SA.js → chunk-CMU4RMJB.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-YSNFMJKN.js → chunk-CULQYFLU.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-ORTMY4Q4.js → chunk-D65GOCJB.js} +21 -14
- package/node_modules/pi-lens/dist/{chunk-NTUJEGDZ.js → chunk-D6YF5HKX.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-BRJKOBZP.js → chunk-DMS52BEP.js} +17 -6
- package/node_modules/pi-lens/dist/{chunk-NL5GLMFI.js → chunk-ELVWJYRV.js} +11 -11
- package/node_modules/pi-lens/dist/{chunk-4W2PLC4J.js → chunk-EUT3B22Y.js} +12 -12
- package/node_modules/pi-lens/dist/{chunk-GUOGVTCQ.js → chunk-F5VLZHUW.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-I7SPGOWI.js → chunk-FGALODG3.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-Q5U6FMDI.js → chunk-G3RLJYA2.js} +12 -6
- package/node_modules/pi-lens/dist/{chunk-FJNKANOS.js → chunk-GAYGGICG.js} +9 -9
- package/node_modules/pi-lens/dist/{chunk-HVUZXSWK.js → chunk-H2W2AXD3.js} +38 -40
- package/node_modules/pi-lens/dist/{chunk-VHQLPIRJ.js → chunk-H5EV3VMF.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-27BBHSZC.js → chunk-HREZQCT3.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-TT22N74J.js → chunk-HSIRMK2D.js} +12 -12
- package/node_modules/pi-lens/dist/{chunk-3I5QFT3N.js → chunk-IMSQR4WO.js} +6 -3
- package/node_modules/pi-lens/dist/{chunk-B3I2UUT4.js → chunk-IQZXOZ7S.js} +156 -32
- package/node_modules/pi-lens/dist/{chunk-RIISMHKN.js → chunk-IR6XFA5P.js} +14 -13
- package/node_modules/pi-lens/dist/{chunk-LNAKEO63.js → chunk-IUKPRZER.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-RUOG5D2C.js → chunk-IUR76K6A.js} +5 -5
- package/node_modules/pi-lens/dist/{chunk-TO6WL3GM.js → chunk-J3FZR3YY.js} +12 -2
- package/node_modules/pi-lens/dist/{chunk-Y4T27COV.js → chunk-J6DFZDFA.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-E4MAEDPM.js → chunk-J7WJZ6W7.js} +11 -11
- package/node_modules/pi-lens/dist/{chunk-52H5B5TC.js → chunk-JONGANYH.js} +30 -30
- package/node_modules/pi-lens/dist/{chunk-TGPXLY2J.js → chunk-KJCWXUUS.js} +35 -1
- package/node_modules/pi-lens/dist/{chunk-I3R7GKDR.js → chunk-KJN4IOEJ.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-RPD4ZSB7.js → chunk-KMGPUKFD.js} +12 -12
- package/node_modules/pi-lens/dist/{chunk-OQGFCZJ4.js → chunk-LD7WFTRX.js} +13 -13
- package/node_modules/pi-lens/dist/{chunk-DIULIWKU.js → chunk-LNOMA3MP.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-HHYAELLJ.js → chunk-MGIWSROG.js} +5 -5
- package/node_modules/pi-lens/dist/{chunk-YLF3PPT5.js → chunk-MQA2YBAH.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-TVN5N6GY.js → chunk-MTDRLSI7.js} +690 -186
- package/node_modules/pi-lens/dist/{chunk-DQ2NZ7C4.js → chunk-N2IRDBZI.js} +44 -6
- package/node_modules/pi-lens/dist/{chunk-AHDW3GPE.js → chunk-N77WFUL7.js} +22 -22
- package/node_modules/pi-lens/dist/{chunk-NXPS2L6U.js → chunk-N7YNJE5R.js} +7 -7
- package/node_modules/pi-lens/dist/{chunk-7FBF7NPR.js → chunk-NFXP47RV.js} +13 -12
- package/node_modules/pi-lens/dist/{chunk-UY752QSN.js → chunk-NJF2X5XF.js} +17 -17
- package/node_modules/pi-lens/dist/{chunk-WONERJTP.js → chunk-O7HZX7CA.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-AS44CFQ4.js → chunk-OC7LYAU5.js} +7 -7
- package/node_modules/pi-lens/dist/{chunk-4RERDEXR.js → chunk-OEX24ECI.js} +30 -30
- package/node_modules/pi-lens/dist/{chunk-6VCD4VKZ.js → chunk-OYOB3ZFG.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-IIXOAGHR.js → chunk-OYTMZXRF.js} +18 -15
- package/node_modules/pi-lens/dist/{chunk-ARFCXG7S.js → chunk-OZJINN4O.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-34U7PLGE.js → chunk-PCHDGUKT.js} +11 -11
- package/node_modules/pi-lens/dist/{chunk-VCSRSYLF.js → chunk-RJFED73B.js} +34 -36
- package/node_modules/pi-lens/dist/chunk-RTQNRM5X.js +27 -0
- package/node_modules/pi-lens/dist/{chunk-PAK6IDME.js → chunk-S6AMWKPC.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-U3VGR4VU.js → chunk-T4QZ6FEH.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-VN2AXLEX.js → chunk-T54VJRAD.js} +54 -12
- package/node_modules/pi-lens/dist/{chunk-ZMOL6RQC.js → chunk-TA5L5KWQ.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-JOLITGCC.js → chunk-TQFBZVCG.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-VDBPVIKD.js → chunk-U52SAGRM.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-LW6XKDZQ.js → chunk-UEAHAMEI.js} +284 -35
- package/node_modules/pi-lens/dist/{chunk-NMABWBZN.js → chunk-UGSMCQ4D.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-6QIUX4EP.js → chunk-USHG4DLH.js} +7 -7
- package/node_modules/pi-lens/dist/{chunk-LSMJ6KBE.js → chunk-V5MEBST3.js} +16 -16
- package/node_modules/pi-lens/dist/chunk-VGEVL5EQ.js +29 -0
- package/node_modules/pi-lens/dist/{chunk-47D2BO4S.js → chunk-VPWKF3GN.js} +10 -10
- package/node_modules/pi-lens/dist/{chunk-UK3CMEAL.js → chunk-VSMJK3ZJ.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-22AVIGXS.js → chunk-VYKKMYVT.js} +7 -7
- package/node_modules/pi-lens/dist/{chunk-OS32RNR2.js → chunk-VZHJS6DR.js} +15 -15
- package/node_modules/pi-lens/dist/{chunk-E2WFBRHM.js → chunk-WATC3IQR.js} +3 -3
- package/node_modules/pi-lens/dist/chunk-WPE5FPGR.js +54 -0
- package/node_modules/pi-lens/dist/{chunk-V5PXFSZK.js → chunk-WSEWKCXU.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-NKOUFPQF.js → chunk-WW5BLB74.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-PWFHBTSF.js → chunk-XGUL4SLQ.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-F3P7VQ7H.js → chunk-XHSCVSOL.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-DFVMIKMQ.js → chunk-YLN4K6WD.js} +45 -9
- package/node_modules/pi-lens/dist/{chunk-VNMT7C64.js → chunk-Z6BB4JLQ.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-NTHH2J74.js → chunk-Z7QQA2KT.js} +12 -12
- package/node_modules/pi-lens/dist/{chunk-F3AU2TMM.js → chunk-ZETYB3XG.js} +15 -15
- package/node_modules/pi-lens/dist/{chunk-XECLWQZN.js → chunk-ZMOMPX2Z.js} +12 -10
- package/node_modules/pi-lens/dist/{chunk-C2AUYXQH.js → chunk-ZOEYVXSV.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-TLGFBM3F.js → chunk-ZZUFZUQZ.js} +68 -64
- package/node_modules/pi-lens/dist/index.js +30113 -28398
- package/node_modules/pi-lens/dist/mcp/analyze-cli.js +8 -8
- package/node_modules/pi-lens/dist/mcp/cli.js +37 -37
- package/node_modules/pi-lens/dist/mcp/server.js +257 -158
- package/node_modules/pi-lens/dist/mcp/worker.js +55 -55
- package/node_modules/pi-lens/dist/probes/installer.js +19 -19
- package/node_modules/pi-lens/docs/ast-grep_rules_catalog.md +2 -2
- package/node_modules/pi-lens/docs/configuration.md +9 -2
- package/node_modules/pi-lens/docs/custom-rules.md +25 -2
- package/node_modules/pi-lens/docs/environment-variables.md +34 -6
- package/node_modules/pi-lens/docs/features.md +37 -1
- package/node_modules/pi-lens/docs/globalconfig.md +1 -1
- package/node_modules/pi-lens/docs/lsp-capability-matrix.md +2 -1
- package/node_modules/pi-lens/docs/lsp-idle-eviction.md +1 -1
- package/node_modules/pi-lens/docs/pi-lens-fixer.md +9 -5
- package/node_modules/pi-lens/docs/pi-lens-merge-policy.md +43 -1
- package/node_modules/pi-lens/docs/pi-lens-monitor.md +3 -1
- package/node_modules/pi-lens/docs/pi-lens-reviewer.md +4 -3
- package/node_modules/pi-lens/docs/schema/pi-lens-config-v1.json +530 -0
- package/node_modules/pi-lens/docs/servercapabilities.md +4 -1
- package/node_modules/pi-lens/docs/word-index.md +6 -0
- package/node_modules/pi-lens/package.json +1 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/rule-tests/no-identity-operator-on-literals-test.yml +12 -2
- package/node_modules/pi-lens/rules/ast-grep-rules/rule-tests/throw-new-error-js-test.yml +2 -0
- package/node_modules/pi-lens/rules/ast-grep-rules/rule-tests/throw-new-error-test.yml +2 -0
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-identity-operator-on-literals.yml +20 -12
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/throw-new-error-js.yml +2 -2
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/throw-new-error.yml +2 -2
- package/node_modules/pi-provider-qoder/README.md +140 -0
- package/node_modules/pi-provider-qoder/dist/index.js +10249 -0
- package/node_modules/pi-provider-qoder/package.json +57 -0
- package/node_modules/pi-web-access/CHANGELOG.md +28 -0
- package/node_modules/pi-web-access/README.md +10 -6
- package/node_modules/pi-web-access/ceramic.ts +219 -0
- 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 +846 -588
- package/node_modules/pi-web-access/dist/mcp-cli.js +725 -516
- package/node_modules/pi-web-access/gemini-search.ts +8 -4
- package/node_modules/pi-web-access/github-extract.ts +34 -2
- package/node_modules/pi-web-access/index.ts +72 -30
- package/node_modules/pi-web-access/openai-search.ts +3 -3
- package/node_modules/pi-web-access/package.json +2 -2
- package/node_modules/pi-web-access/page-query.ts +6 -9
- package/node_modules/pi-web-access/parallel-mcp.ts +2 -0
- package/node_modules/pi-web-access/query-rewrite.ts +2 -2
- package/node_modules/pi-web-access/storage.ts +49 -0
- package/node_modules/pi-web-access/summary-review.ts +7 -6
- package/node_modules/pi-web-access/utils.ts +21 -6
- package/node_modules/pi-web-access/web-tool-core.ts +1 -0
- package/package.json +10 -12
- package/node_modules/pi-lens/dist/chunk-54B42YRX.js +0 -27
- package/node_modules/pi-lens/dist/chunk-CGGAIP7J.js +0 -29
- package/node_modules/pi-lens/dist/chunk-HMFXILPV.js +0 -83
- package/node_modules/pi-lens/dist/chunk-T6D4Q4AQ.js +0 -54
- package/node_modules/pi-web-access/opencode-session-headers.ts +0 -24
- package/node_modules/remote-pi/LICENSE +0 -21
- package/node_modules/remote-pi/README.md +0 -675
- package/node_modules/remote-pi/dist/actions/handlers.d.ts +0 -122
- package/node_modules/remote-pi/dist/actions/handlers.js +0 -160
- package/node_modules/remote-pi/dist/actions/handlers.js.map +0 -1
- package/node_modules/remote-pi/dist/actions/registry.d.ts +0 -39
- package/node_modules/remote-pi/dist/actions/registry.js +0 -58
- package/node_modules/remote-pi/dist/actions/registry.js.map +0 -1
- package/node_modules/remote-pi/dist/bin/supervisord.d.ts +0 -2
- package/node_modules/remote-pi/dist/bin/supervisord.js +0 -86
- package/node_modules/remote-pi/dist/bin/supervisord.js.map +0 -1
- package/node_modules/remote-pi/dist/commands/builtin_mirror.d.ts +0 -58
- package/node_modules/remote-pi/dist/commands/builtin_mirror.js +0 -71
- package/node_modules/remote-pi/dist/commands/builtin_mirror.js.map +0 -1
- package/node_modules/remote-pi/dist/commands/list_commands.d.ts +0 -60
- package/node_modules/remote-pi/dist/commands/list_commands.js +0 -73
- package/node_modules/remote-pi/dist/commands/list_commands.js.map +0 -1
- package/node_modules/remote-pi/dist/config.d.ts +0 -62
- package/node_modules/remote-pi/dist/config.js +0 -115
- package/node_modules/remote-pi/dist/config.js.map +0 -1
- package/node_modules/remote-pi/dist/daemon/client.d.ts +0 -20
- package/node_modules/remote-pi/dist/daemon/client.js +0 -131
- package/node_modules/remote-pi/dist/daemon/client.js.map +0 -1
- package/node_modules/remote-pi/dist/daemon/control_protocol.d.ts +0 -176
- package/node_modules/remote-pi/dist/daemon/control_protocol.js +0 -63
- package/node_modules/remote-pi/dist/daemon/control_protocol.js.map +0 -1
- package/node_modules/remote-pi/dist/daemon/cron_log.d.ts +0 -45
- package/node_modules/remote-pi/dist/daemon/cron_log.js +0 -72
- package/node_modules/remote-pi/dist/daemon/cron_log.js.map +0 -1
- package/node_modules/remote-pi/dist/daemon/cron_registry.d.ts +0 -80
- package/node_modules/remote-pi/dist/daemon/cron_registry.js +0 -194
- package/node_modules/remote-pi/dist/daemon/cron_registry.js.map +0 -1
- package/node_modules/remote-pi/dist/daemon/id.d.ts +0 -24
- package/node_modules/remote-pi/dist/daemon/id.js +0 -36
- package/node_modules/remote-pi/dist/daemon/id.js.map +0 -1
- package/node_modules/remote-pi/dist/daemon/install.d.ts +0 -170
- package/node_modules/remote-pi/dist/daemon/install.js +0 -547
- package/node_modules/remote-pi/dist/daemon/install.js.map +0 -1
- package/node_modules/remote-pi/dist/daemon/registry.d.ts +0 -63
- package/node_modules/remote-pi/dist/daemon/registry.js +0 -153
- package/node_modules/remote-pi/dist/daemon/registry.js.map +0 -1
- package/node_modules/remote-pi/dist/daemon/rpc_child.d.ts +0 -194
- package/node_modules/remote-pi/dist/daemon/rpc_child.js +0 -389
- package/node_modules/remote-pi/dist/daemon/rpc_child.js.map +0 -1
- package/node_modules/remote-pi/dist/daemon/supervisor.d.ts +0 -93
- package/node_modules/remote-pi/dist/daemon/supervisor.js +0 -596
- package/node_modules/remote-pi/dist/daemon/supervisor.js.map +0 -1
- package/node_modules/remote-pi/dist/extension_ui_bridge.d.ts +0 -26
- package/node_modules/remote-pi/dist/extension_ui_bridge.js +0 -341
- package/node_modules/remote-pi/dist/extension_ui_bridge.js.map +0 -1
- package/node_modules/remote-pi/dist/index.d.ts +0 -213
- package/node_modules/remote-pi/dist/index.js +0 -4996
- package/node_modules/remote-pi/dist/index.js.map +0 -1
- package/node_modules/remote-pi/dist/mcp/mesh_result.d.ts +0 -10
- package/node_modules/remote-pi/dist/mcp/mesh_result.js +0 -42
- package/node_modules/remote-pi/dist/mcp/mesh_result.js.map +0 -1
- package/node_modules/remote-pi/dist/mcp/mesh_server.d.ts +0 -16
- package/node_modules/remote-pi/dist/mcp/mesh_server.js +0 -327
- package/node_modules/remote-pi/dist/mcp/mesh_server.js.map +0 -1
- package/node_modules/remote-pi/dist/mesh/canonical.d.ts +0 -30
- package/node_modules/remote-pi/dist/mesh/canonical.js +0 -61
- package/node_modules/remote-pi/dist/mesh/canonical.js.map +0 -1
- package/node_modules/remote-pi/dist/mesh/client.d.ts +0 -18
- package/node_modules/remote-pi/dist/mesh/client.js +0 -125
- package/node_modules/remote-pi/dist/mesh/client.js.map +0 -1
- package/node_modules/remote-pi/dist/mesh/encoding.d.ts +0 -38
- package/node_modules/remote-pi/dist/mesh/encoding.js +0 -216
- package/node_modules/remote-pi/dist/mesh/encoding.js.map +0 -1
- package/node_modules/remote-pi/dist/mesh/self_revoke.d.ts +0 -73
- package/node_modules/remote-pi/dist/mesh/self_revoke.js +0 -401
- package/node_modules/remote-pi/dist/mesh/self_revoke.js.map +0 -1
- package/node_modules/remote-pi/dist/mesh/siblings.d.ts +0 -49
- package/node_modules/remote-pi/dist/mesh/siblings.js +0 -159
- package/node_modules/remote-pi/dist/mesh/siblings.js.map +0 -1
- package/node_modules/remote-pi/dist/mesh/types.d.ts +0 -34
- package/node_modules/remote-pi/dist/mesh/types.js +0 -11
- package/node_modules/remote-pi/dist/mesh/types.js.map +0 -1
- package/node_modules/remote-pi/dist/mesh/verify.d.ts +0 -17
- package/node_modules/remote-pi/dist/mesh/verify.js +0 -86
- package/node_modules/remote-pi/dist/mesh/verify.js.map +0 -1
- package/node_modules/remote-pi/dist/pairing/crypto.d.ts +0 -8
- package/node_modules/remote-pi/dist/pairing/crypto.js +0 -22
- package/node_modules/remote-pi/dist/pairing/crypto.js.map +0 -1
- package/node_modules/remote-pi/dist/pairing/handshake.d.ts +0 -28
- package/node_modules/remote-pi/dist/pairing/handshake.js +0 -113
- package/node_modules/remote-pi/dist/pairing/handshake.js.map +0 -1
- package/node_modules/remote-pi/dist/pairing/noise-sha256.d.ts +0 -16
- package/node_modules/remote-pi/dist/pairing/noise-sha256.js +0 -103
- package/node_modules/remote-pi/dist/pairing/noise-sha256.js.map +0 -1
- package/node_modules/remote-pi/dist/pairing/qr.d.ts +0 -59
- package/node_modules/remote-pi/dist/pairing/qr.js +0 -125
- package/node_modules/remote-pi/dist/pairing/qr.js.map +0 -1
- package/node_modules/remote-pi/dist/pairing/storage.d.ts +0 -120
- package/node_modules/remote-pi/dist/pairing/storage.js +0 -604
- package/node_modules/remote-pi/dist/pairing/storage.js.map +0 -1
- package/node_modules/remote-pi/dist/protocol/codec.d.ts +0 -7
- package/node_modules/remote-pi/dist/protocol/codec.js +0 -49
- package/node_modules/remote-pi/dist/protocol/codec.js.map +0 -1
- package/node_modules/remote-pi/dist/protocol/types.d.ts +0 -393
- package/node_modules/remote-pi/dist/protocol/types.js +0 -2
- package/node_modules/remote-pi/dist/protocol/types.js.map +0 -1
- package/node_modules/remote-pi/dist/rooms.d.ts +0 -29
- package/node_modules/remote-pi/dist/rooms.js +0 -57
- package/node_modules/remote-pi/dist/rooms.js.map +0 -1
- package/node_modules/remote-pi/dist/session/address.d.ts +0 -49
- package/node_modules/remote-pi/dist/session/address.js +0 -58
- package/node_modules/remote-pi/dist/session/address.js.map +0 -1
- package/node_modules/remote-pi/dist/session/agent_bridge.d.ts +0 -55
- package/node_modules/remote-pi/dist/session/agent_bridge.js +0 -146
- package/node_modules/remote-pi/dist/session/agent_bridge.js.map +0 -1
- package/node_modules/remote-pi/dist/session/bridge.d.ts +0 -37
- package/node_modules/remote-pi/dist/session/bridge.js +0 -130
- package/node_modules/remote-pi/dist/session/bridge.js.map +0 -1
- package/node_modules/remote-pi/dist/session/broker.d.ts +0 -189
- package/node_modules/remote-pi/dist/session/broker.js +0 -507
- package/node_modules/remote-pi/dist/session/broker.js.map +0 -1
- package/node_modules/remote-pi/dist/session/broker_remote.d.ts +0 -74
- package/node_modules/remote-pi/dist/session/broker_remote.js +0 -583
- package/node_modules/remote-pi/dist/session/broker_remote.js.map +0 -1
- package/node_modules/remote-pi/dist/session/cwd_lock.d.ts +0 -33
- package/node_modules/remote-pi/dist/session/cwd_lock.js +0 -126
- package/node_modules/remote-pi/dist/session/cwd_lock.js.map +0 -1
- package/node_modules/remote-pi/dist/session/envelope.d.ts +0 -33
- package/node_modules/remote-pi/dist/session/envelope.js +0 -117
- package/node_modules/remote-pi/dist/session/envelope.js.map +0 -1
- package/node_modules/remote-pi/dist/session/global_config.d.ts +0 -33
- package/node_modules/remote-pi/dist/session/global_config.js +0 -73
- package/node_modules/remote-pi/dist/session/global_config.js.map +0 -1
- package/node_modules/remote-pi/dist/session/ipc.d.ts +0 -27
- package/node_modules/remote-pi/dist/session/ipc.js +0 -22
- package/node_modules/remote-pi/dist/session/ipc.js.map +0 -1
- package/node_modules/remote-pi/dist/session/leader_election.d.ts +0 -32
- package/node_modules/remote-pi/dist/session/leader_election.js +0 -106
- package/node_modules/remote-pi/dist/session/leader_election.js.map +0 -1
- package/node_modules/remote-pi/dist/session/local_config.d.ts +0 -55
- package/node_modules/remote-pi/dist/session/local_config.js +0 -157
- package/node_modules/remote-pi/dist/session/local_config.js.map +0 -1
- package/node_modules/remote-pi/dist/session/mesh_message.d.ts +0 -20
- package/node_modules/remote-pi/dist/session/mesh_message.js +0 -28
- package/node_modules/remote-pi/dist/session/mesh_message.js.map +0 -1
- package/node_modules/remote-pi/dist/session/mesh_node.d.ts +0 -116
- package/node_modules/remote-pi/dist/session/mesh_node.js +0 -573
- package/node_modules/remote-pi/dist/session/mesh_node.js.map +0 -1
- package/node_modules/remote-pi/dist/session/peer.d.ts +0 -139
- package/node_modules/remote-pi/dist/session/peer.js +0 -451
- package/node_modules/remote-pi/dist/session/peer.js.map +0 -1
- package/node_modules/remote-pi/dist/session/peer_inventory.d.ts +0 -13
- package/node_modules/remote-pi/dist/session/peer_inventory.js +0 -48
- package/node_modules/remote-pi/dist/session/peer_inventory.js.map +0 -1
- package/node_modules/remote-pi/dist/session/peer_limits.d.ts +0 -9
- package/node_modules/remote-pi/dist/session/peer_limits.js +0 -21
- package/node_modules/remote-pi/dist/session/peer_limits.js.map +0 -1
- package/node_modules/remote-pi/dist/session/setup_wizard.d.ts +0 -39
- package/node_modules/remote-pi/dist/session/setup_wizard.js +0 -63
- package/node_modules/remote-pi/dist/session/setup_wizard.js.map +0 -1
- package/node_modules/remote-pi/dist/session/tool_gate.d.ts +0 -5
- package/node_modules/remote-pi/dist/session/tool_gate.js +0 -11
- package/node_modules/remote-pi/dist/session/tool_gate.js.map +0 -1
- package/node_modules/remote-pi/dist/session/tools.d.ts +0 -24
- package/node_modules/remote-pi/dist/session/tools.js +0 -252
- package/node_modules/remote-pi/dist/session/tools.js.map +0 -1
- package/node_modules/remote-pi/dist/session/wizard.d.ts +0 -13
- package/node_modules/remote-pi/dist/session/wizard.js +0 -20
- package/node_modules/remote-pi/dist/session/wizard.js.map +0 -1
- package/node_modules/remote-pi/dist/settings.d.ts +0 -15
- package/node_modules/remote-pi/dist/settings.js +0 -52
- package/node_modules/remote-pi/dist/settings.js.map +0 -1
- package/node_modules/remote-pi/dist/transport/peer_channel.d.ts +0 -37
- package/node_modules/remote-pi/dist/transport/peer_channel.js +0 -98
- package/node_modules/remote-pi/dist/transport/peer_channel.js.map +0 -1
- package/node_modules/remote-pi/dist/transport/pi_forward_client.d.ts +0 -29
- package/node_modules/remote-pi/dist/transport/pi_forward_client.js +0 -62
- package/node_modules/remote-pi/dist/transport/pi_forward_client.js.map +0 -1
- package/node_modules/remote-pi/dist/transport/relay_client.d.ts +0 -91
- package/node_modules/remote-pi/dist/transport/relay_client.js +0 -206
- package/node_modules/remote-pi/dist/transport/relay_client.js.map +0 -1
- package/node_modules/remote-pi/dist/ui/footer.d.ts +0 -32
- package/node_modules/remote-pi/dist/ui/footer.js +0 -34
- package/node_modules/remote-pi/dist/ui/footer.js.map +0 -1
- package/node_modules/remote-pi/docs/daemon.md +0 -289
- package/node_modules/remote-pi/package.json +0 -92
- package/node_modules/remote-pi/service-templates/launchd.plist.template +0 -35
- package/node_modules/remote-pi/service-templates/systemd.service.template +0 -19
- package/node_modules/remote-pi/service-templates/task-launcher.vbs.template +0 -10
- package/node_modules/remote-pi/service-templates/task-scheduler.xml.template +0 -38
- package/node_modules/remote-pi/skills/agent-network/SKILL.md +0 -310
|
@@ -326,7 +326,7 @@ export function installGlobalProxyFetch(): void {
|
|
|
326
326
|
const current = globalThis.fetch as ProxiedFetch;
|
|
327
327
|
if (typeof current !== "function" || current.__piWebAccessProxyFetch === true) return;
|
|
328
328
|
const nativeFetch = current;
|
|
329
|
-
const wrapped: ProxiedFetch = ((input: RequestInfo | URL, init?: ProxiedRequestInit) => {
|
|
329
|
+
const wrapped: ProxiedFetch = (async (input: RequestInfo | URL, init?: ProxiedRequestInit) => {
|
|
330
330
|
// Prefer caller-attached __proxy (survives pLimit context loss) over AsyncLocalStorage.
|
|
331
331
|
const proxy = init?.__proxy ?? getActiveProxy();
|
|
332
332
|
if (!proxy) return nativeFetch(input, init);
|
|
@@ -339,13 +339,24 @@ export function installGlobalProxyFetch(): void {
|
|
|
339
339
|
if (!url || (url.protocol !== "http:" && url.protocol !== "https:") || isProxyBypassedUrl(url)) {
|
|
340
340
|
return nativeFetch(input, init);
|
|
341
341
|
}
|
|
342
|
+
if (input instanceof Request) {
|
|
343
|
+
const request = new Request(input, init);
|
|
344
|
+
request.signal.throwIfAborted();
|
|
345
|
+
// Abort body buffering as well as the curl process.
|
|
346
|
+
const body = request.body === null ? null : new Uint8Array(await new Response(
|
|
347
|
+
request.body.pipeThrough(new TransformStream(), { signal: request.signal }),
|
|
348
|
+
).arrayBuffer());
|
|
349
|
+
init = { ...init, method: request.method, headers: request.headers, body, signal: request.signal, redirect: request.redirect };
|
|
350
|
+
}
|
|
342
351
|
return fetchViaCurl(url, init ?? {}, proxy);
|
|
343
352
|
});
|
|
344
353
|
wrapped.__piWebAccessProxyFetch = true;
|
|
345
354
|
globalThis.fetch = wrapped;
|
|
346
355
|
}
|
|
347
356
|
|
|
348
|
-
|
|
357
|
+
// GET bodies are decoded by --compressed, so their length/encoding headers no longer match.
|
|
358
|
+
// HEAD has no body, and its Content-Length is usually why the caller asked.
|
|
359
|
+
function parseHeaderDump(dump: string, keepLengthHeaders: boolean): { status: number; statusText: string; headers: Array<[string, string]> } {
|
|
349
360
|
const blocks = dump.split(/\r?\n\r?\n/).filter((block) => /^HTTP\/[\d.]+\s+\d{3}/.test(block.trim()));
|
|
350
361
|
const block = (blocks.length > 0 ? blocks[blocks.length - 1] : "").trim();
|
|
351
362
|
const lines = block.split(/\r?\n/);
|
|
@@ -363,7 +374,7 @@ function parseHeaderDump(dump: string): { status: number; statusText: string; he
|
|
|
363
374
|
const separator = line.indexOf(":");
|
|
364
375
|
if (separator > 0) {
|
|
365
376
|
const name = line.slice(0, separator).trim();
|
|
366
|
-
if (name.toLowerCase() === "content-encoding" || name.toLowerCase() === "content-length") continue;
|
|
377
|
+
if (!keepLengthHeaders && (name.toLowerCase() === "content-encoding" || name.toLowerCase() === "content-length")) continue;
|
|
367
378
|
headers.push([name, line.slice(separator + 1).trim()]);
|
|
368
379
|
}
|
|
369
380
|
}
|
|
@@ -429,7 +440,8 @@ async function fetchViaCurlOnce(url: URL, init: RequestInit, proxyUrl: string):
|
|
|
429
440
|
"--write-out", "%{json}",
|
|
430
441
|
];
|
|
431
442
|
|
|
432
|
-
if (method
|
|
443
|
+
if (method === "HEAD") args.push("--head");
|
|
444
|
+
else if (method !== "GET") args.push("-X", method);
|
|
433
445
|
|
|
434
446
|
for (const [name, value] of headers.entries()) {
|
|
435
447
|
if (value === "") continue;
|
|
@@ -447,6 +459,9 @@ async function fetchViaCurlOnce(url: URL, init: RequestInit, proxyUrl: string):
|
|
|
447
459
|
await writeFile(requestBodyFile, buffer);
|
|
448
460
|
args.push("--data-binary", `@${requestBodyFile}`);
|
|
449
461
|
if (method === "GET") args.unshift("-X", "GET");
|
|
462
|
+
} else if ((method === "POST" || method === "PUT") && !headers.has("content-length")) {
|
|
463
|
+
// Native fetch sends a zero length for a bodyless POST/PUT; some origins answer 411 without it.
|
|
464
|
+
args.push("-H", "Content-Length: 0");
|
|
450
465
|
}
|
|
451
466
|
|
|
452
467
|
args.push(url.toString());
|
|
@@ -499,7 +514,7 @@ async function fetchViaCurlOnce(url: URL, init: RequestInit, proxyUrl: string):
|
|
|
499
514
|
await rm(dir, { recursive: true, force: true }).catch(() => {});
|
|
500
515
|
}
|
|
501
516
|
|
|
502
|
-
const { status, statusText, headers: responseHeaders } = parseHeaderDump(dump);
|
|
517
|
+
const { status, statusText, headers: responseHeaders } = parseHeaderDump(dump, method === "HEAD");
|
|
503
518
|
if (status === 0) {
|
|
504
519
|
throw new Error(`Proxy fetch to ${url.toString()} via ${redactProxyUrl(proxyUrl)} returned no HTTP status`);
|
|
505
520
|
}
|
|
@@ -517,7 +532,7 @@ async function fetchViaCurlOnce(url: URL, init: RequestInit, proxyUrl: string):
|
|
|
517
532
|
// Older curl without %{json}; the header dump already provided the status.
|
|
518
533
|
}
|
|
519
534
|
|
|
520
|
-
const nullBody = status === 204 || status === 205 || status === 304;
|
|
535
|
+
const nullBody = method === "HEAD" || status === 204 || status === 205 || status === 304;
|
|
521
536
|
const response = new Response(nullBody ? null : new Uint8Array(bodyBuffer), {
|
|
522
537
|
status,
|
|
523
538
|
statusText: statusText || undefined,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@herbertgao/pi-extensions",
|
|
3
|
-
"version": "2026.10.
|
|
3
|
+
"version": "2026.10.4",
|
|
4
4
|
"description": "Aggregate installer for HerbertGao-maintained Pi extensions.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"extensions",
|
|
@@ -41,17 +41,16 @@
|
|
|
41
41
|
"@herbertgao/pi-agency": "0.1.0",
|
|
42
42
|
"@herbertgao/pi-bark": "0.2.0",
|
|
43
43
|
"@herbertgao/pi-cc-extensions": "0.11.1",
|
|
44
|
-
"@herbertgao/pi-subagents": "0.
|
|
44
|
+
"@herbertgao/pi-subagents": "0.19.0",
|
|
45
45
|
"@herbertgao/sol-pi": "0.4.0",
|
|
46
46
|
"@juicesharp/rpiv-ask-user-question": "2.12.0",
|
|
47
47
|
"@juicesharp/rpiv-config": "^2.12.0",
|
|
48
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
48
|
+
"@modelcontextprotocol/sdk": "^1.32.1",
|
|
49
49
|
"@mozilla/readability": "^0.6.0",
|
|
50
50
|
"@napi-rs/keyring": "^2.1.0",
|
|
51
51
|
"@narumitw/pi-btw": "0.61.1",
|
|
52
|
-
"@narumitw/pi-caffeinate": "0.49.
|
|
52
|
+
"@narumitw/pi-caffeinate": "0.49.11",
|
|
53
53
|
"@narumitw/pi-tui-kit": "^0.64.0",
|
|
54
|
-
"@noble/ed25519": "^3.1.0",
|
|
55
54
|
"@pi-plugins/fast-mode": "0.1.13",
|
|
56
55
|
"@shikijs/cli": "^4.0.2",
|
|
57
56
|
"@tifan/pi-copy-response": "0.2.7",
|
|
@@ -75,16 +74,15 @@
|
|
|
75
74
|
"p-limit": "^6.1.0",
|
|
76
75
|
"pi-antigravity": "0.10.0",
|
|
77
76
|
"pi-jev-auto-mode": "0.5.0",
|
|
78
|
-
"pi-lens": "4.4.
|
|
77
|
+
"pi-lens": "4.4.1",
|
|
79
78
|
"pi-multi-account": "1.24.0",
|
|
80
79
|
"pi-next-cue": "1.0.7",
|
|
80
|
+
"pi-provider-qoder": "0.5.0",
|
|
81
81
|
"pi-typesafe": "0.9.1",
|
|
82
|
-
"pi-web-access": "0.
|
|
82
|
+
"pi-web-access": "0.38.0",
|
|
83
83
|
"pidusage": "^4.0.1",
|
|
84
84
|
"promise.try": "^2.0.1",
|
|
85
85
|
"proper-lockfile": "4.1.2",
|
|
86
|
-
"qrcode-terminal": "^0.12.0",
|
|
87
|
-
"remote-pi": "0.7.0",
|
|
88
86
|
"resume-from": "0.4.1",
|
|
89
87
|
"turndown": "^7.2.0",
|
|
90
88
|
"unbash": "4.0.10",
|
|
@@ -129,9 +127,9 @@
|
|
|
129
127
|
"pi-lens",
|
|
130
128
|
"pi-multi-account",
|
|
131
129
|
"pi-next-cue",
|
|
130
|
+
"pi-provider-qoder",
|
|
132
131
|
"pi-typesafe",
|
|
133
132
|
"pi-web-access",
|
|
134
|
-
"remote-pi",
|
|
135
133
|
"resume-from"
|
|
136
134
|
],
|
|
137
135
|
"engines": {
|
|
@@ -166,8 +164,8 @@
|
|
|
166
164
|
"./node_modules/pi-antigravity/src/index.ts",
|
|
167
165
|
"./node_modules/pi-antigravity/src/features/google-search.ts",
|
|
168
166
|
"./node_modules/pi-antigravity/src/features/generate-image.ts",
|
|
169
|
-
"./node_modules/pi-
|
|
170
|
-
"./node_modules/
|
|
167
|
+
"./node_modules/pi-provider-qoder/dist/index.js",
|
|
168
|
+
"./node_modules/pi-typesafe/extensions/index.js"
|
|
171
169
|
],
|
|
172
170
|
"themes": [
|
|
173
171
|
"./node_modules/@herbertgao/pi-cc-extensions/themes/cc-dark.json",
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
|
-
import {
|
|
3
|
-
GovulncheckClient,
|
|
4
|
-
parseGovulncheckJson
|
|
5
|
-
} from "./chunk-NXPS2L6U.js";
|
|
6
|
-
import "./chunk-7F72PXY2.js";
|
|
7
|
-
import "./chunk-I7SPGOWI.js";
|
|
8
|
-
import "./chunk-NTUJEGDZ.js";
|
|
9
|
-
import "./chunk-EOKRQ3SA.js";
|
|
10
|
-
import "./chunk-WONERJTP.js";
|
|
11
|
-
import "./chunk-VN2AXLEX.js";
|
|
12
|
-
import "./chunk-BW5KFIQC.js";
|
|
13
|
-
import "./chunk-DQ2NZ7C4.js";
|
|
14
|
-
import "./chunk-VNMT7C64.js";
|
|
15
|
-
import "./chunk-2EECBNC5.js";
|
|
16
|
-
import "./chunk-N3YQJI6O.js";
|
|
17
|
-
import "./chunk-O6TQT6RI.js";
|
|
18
|
-
import "./chunk-5THXD6X5.js";
|
|
19
|
-
import "./chunk-UK3CMEAL.js";
|
|
20
|
-
import "./chunk-LJDODBBZ.js";
|
|
21
|
-
import "./chunk-ABBOA7UD.js";
|
|
22
|
-
import "./chunk-Q5U6FMDI.js";
|
|
23
|
-
import "./chunk-NXL4FFQQ.js";
|
|
24
|
-
export {
|
|
25
|
-
GovulncheckClient,
|
|
26
|
-
parseGovulncheckJson
|
|
27
|
-
};
|
|
@@ -1,29 +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-V5PXFSZK.js";
|
|
6
|
-
import "./chunk-JOLITGCC.js";
|
|
7
|
-
import "./chunk-LW6XKDZQ.js";
|
|
8
|
-
import "./chunk-Z54ZSOBZ.js";
|
|
9
|
-
import "./chunk-TGPXLY2J.js";
|
|
10
|
-
import "./chunk-QOZXJ4NA.js";
|
|
11
|
-
import "./chunk-NTUJEGDZ.js";
|
|
12
|
-
import "./chunk-WONERJTP.js";
|
|
13
|
-
import "./chunk-VN2AXLEX.js";
|
|
14
|
-
import "./chunk-5ZEJHV35.js";
|
|
15
|
-
import "./chunk-DQ2NZ7C4.js";
|
|
16
|
-
import "./chunk-VNMT7C64.js";
|
|
17
|
-
import "./chunk-2EECBNC5.js";
|
|
18
|
-
import "./chunk-N3YQJI6O.js";
|
|
19
|
-
import "./chunk-O6TQT6RI.js";
|
|
20
|
-
import "./chunk-5THXD6X5.js";
|
|
21
|
-
import "./chunk-UK3CMEAL.js";
|
|
22
|
-
import "./chunk-LJDODBBZ.js";
|
|
23
|
-
import "./chunk-ABBOA7UD.js";
|
|
24
|
-
import "./chunk-Q5U6FMDI.js";
|
|
25
|
-
import "./chunk-NXL4FFQQ.js";
|
|
26
|
-
export {
|
|
27
|
-
importFactProvider,
|
|
28
|
-
importFactsApplyTo
|
|
29
|
-
};
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
|
-
import {
|
|
3
|
-
_getWarmWordIndexCacheStateForTests,
|
|
4
|
-
_resetWarmWordIndexCacheForTests,
|
|
5
|
-
acquireWarmWordIndex,
|
|
6
|
-
analyzeFile,
|
|
7
|
-
summarizeWarningTiers
|
|
8
|
-
} from "./chunk-TLGFBM3F.js";
|
|
9
|
-
import "./chunk-C2AUYXQH.js";
|
|
10
|
-
import "./chunk-I3R7GKDR.js";
|
|
11
|
-
import "./chunk-FC4RP4I2.js";
|
|
12
|
-
import "./chunk-DFVMIKMQ.js";
|
|
13
|
-
import "./chunk-TO6WL3GM.js";
|
|
14
|
-
import "./chunk-7F72PXY2.js";
|
|
15
|
-
import "./chunk-RPD5K5NC.js";
|
|
16
|
-
import "./chunk-ZMOL6RQC.js";
|
|
17
|
-
import "./chunk-I7SPGOWI.js";
|
|
18
|
-
import "./chunk-AS44CFQ4.js";
|
|
19
|
-
import "./chunk-7FBF7NPR.js";
|
|
20
|
-
import "./chunk-HHYAELLJ.js";
|
|
21
|
-
import "./chunk-V5PXFSZK.js";
|
|
22
|
-
import "./chunk-YLF3PPT5.js";
|
|
23
|
-
import "./chunk-JOLITGCC.js";
|
|
24
|
-
import "./chunk-E2WFBRHM.js";
|
|
25
|
-
import "./chunk-6VCD4VKZ.js";
|
|
26
|
-
import "./chunk-F3P7VQ7H.js";
|
|
27
|
-
import "./chunk-LSMJ6KBE.js";
|
|
28
|
-
import "./chunk-3MED75HT.js";
|
|
29
|
-
import "./chunk-3I5QFT3N.js";
|
|
30
|
-
import "./chunk-TVN5N6GY.js";
|
|
31
|
-
import "./chunk-ARFCXG7S.js";
|
|
32
|
-
import "./chunk-OAXNDZJ7.js";
|
|
33
|
-
import "./chunk-XIMYZ3JA.js";
|
|
34
|
-
import "./chunk-B3I2UUT4.js";
|
|
35
|
-
import "./chunk-DIULIWKU.js";
|
|
36
|
-
import "./chunk-VDBPVIKD.js";
|
|
37
|
-
import "./chunk-5W3R6LFT.js";
|
|
38
|
-
import "./chunk-LW6XKDZQ.js";
|
|
39
|
-
import "./chunk-Z54ZSOBZ.js";
|
|
40
|
-
import "./chunk-TGPXLY2J.js";
|
|
41
|
-
import "./chunk-QOZXJ4NA.js";
|
|
42
|
-
import "./chunk-V7R425XG.js";
|
|
43
|
-
import "./chunk-PAK6IDME.js";
|
|
44
|
-
import "./chunk-GUOGVTCQ.js";
|
|
45
|
-
import "./chunk-AJVLWNFN.js";
|
|
46
|
-
import "./chunk-YGVYKNSN.js";
|
|
47
|
-
import "./chunk-LNAKEO63.js";
|
|
48
|
-
import "./chunk-Z3CCVDUB.js";
|
|
49
|
-
import "./chunk-PWFHBTSF.js";
|
|
50
|
-
import "./chunk-2BEMIWEW.js";
|
|
51
|
-
import "./chunk-OQGFCZJ4.js";
|
|
52
|
-
import "./chunk-RUOG5D2C.js";
|
|
53
|
-
import "./chunk-U3VGR4VU.js";
|
|
54
|
-
import "./chunk-NTUJEGDZ.js";
|
|
55
|
-
import "./chunk-EOKRQ3SA.js";
|
|
56
|
-
import "./chunk-WONERJTP.js";
|
|
57
|
-
import "./chunk-22AVIGXS.js";
|
|
58
|
-
import "./chunk-GVXA6CCE.js";
|
|
59
|
-
import "./chunk-6QIUX4EP.js";
|
|
60
|
-
import "./chunk-VHQLPIRJ.js";
|
|
61
|
-
import "./chunk-VN2AXLEX.js";
|
|
62
|
-
import "./chunk-BW5KFIQC.js";
|
|
63
|
-
import "./chunk-QYF5S6P6.js";
|
|
64
|
-
import "./chunk-5ZEJHV35.js";
|
|
65
|
-
import "./chunk-DQ2NZ7C4.js";
|
|
66
|
-
import "./chunk-VNMT7C64.js";
|
|
67
|
-
import "./chunk-2EECBNC5.js";
|
|
68
|
-
import "./chunk-N3YQJI6O.js";
|
|
69
|
-
import "./chunk-O6TQT6RI.js";
|
|
70
|
-
import "./chunk-5THXD6X5.js";
|
|
71
|
-
import "./chunk-UK3CMEAL.js";
|
|
72
|
-
import "./chunk-LJDODBBZ.js";
|
|
73
|
-
import "./chunk-NMABWBZN.js";
|
|
74
|
-
import "./chunk-ABBOA7UD.js";
|
|
75
|
-
import "./chunk-Q5U6FMDI.js";
|
|
76
|
-
import "./chunk-NXL4FFQQ.js";
|
|
77
|
-
export {
|
|
78
|
-
_getWarmWordIndexCacheStateForTests,
|
|
79
|
-
_resetWarmWordIndexCacheForTests,
|
|
80
|
-
acquireWarmWordIndex,
|
|
81
|
-
analyzeFile,
|
|
82
|
-
summarizeWarningTiers
|
|
83
|
-
};
|
|
@@ -1,54 +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-AS44CFQ4.js";
|
|
7
|
-
import "./chunk-7FBF7NPR.js";
|
|
8
|
-
import "./chunk-HHYAELLJ.js";
|
|
9
|
-
import {
|
|
10
|
-
mapWithConcurrency
|
|
11
|
-
} from "./chunk-XIMYZ3JA.js";
|
|
12
|
-
import "./chunk-B3I2UUT4.js";
|
|
13
|
-
import "./chunk-DIULIWKU.js";
|
|
14
|
-
import "./chunk-VDBPVIKD.js";
|
|
15
|
-
import "./chunk-TGPXLY2J.js";
|
|
16
|
-
import "./chunk-QOZXJ4NA.js";
|
|
17
|
-
import "./chunk-PAK6IDME.js";
|
|
18
|
-
import "./chunk-GUOGVTCQ.js";
|
|
19
|
-
import "./chunk-AJVLWNFN.js";
|
|
20
|
-
import "./chunk-YGVYKNSN.js";
|
|
21
|
-
import "./chunk-LNAKEO63.js";
|
|
22
|
-
import "./chunk-Z3CCVDUB.js";
|
|
23
|
-
import "./chunk-2BEMIWEW.js";
|
|
24
|
-
import "./chunk-OQGFCZJ4.js";
|
|
25
|
-
import "./chunk-RUOG5D2C.js";
|
|
26
|
-
import "./chunk-U3VGR4VU.js";
|
|
27
|
-
import "./chunk-NTUJEGDZ.js";
|
|
28
|
-
import "./chunk-EOKRQ3SA.js";
|
|
29
|
-
import "./chunk-WONERJTP.js";
|
|
30
|
-
import "./chunk-22AVIGXS.js";
|
|
31
|
-
import "./chunk-GVXA6CCE.js";
|
|
32
|
-
import "./chunk-6QIUX4EP.js";
|
|
33
|
-
import "./chunk-VHQLPIRJ.js";
|
|
34
|
-
import "./chunk-VN2AXLEX.js";
|
|
35
|
-
import "./chunk-BW5KFIQC.js";
|
|
36
|
-
import "./chunk-QYF5S6P6.js";
|
|
37
|
-
import "./chunk-5ZEJHV35.js";
|
|
38
|
-
import "./chunk-DQ2NZ7C4.js";
|
|
39
|
-
import "./chunk-VNMT7C64.js";
|
|
40
|
-
import "./chunk-2EECBNC5.js";
|
|
41
|
-
import "./chunk-N3YQJI6O.js";
|
|
42
|
-
import "./chunk-O6TQT6RI.js";
|
|
43
|
-
import "./chunk-5THXD6X5.js";
|
|
44
|
-
import "./chunk-UK3CMEAL.js";
|
|
45
|
-
import "./chunk-LJDODBBZ.js";
|
|
46
|
-
import "./chunk-ABBOA7UD.js";
|
|
47
|
-
import "./chunk-Q5U6FMDI.js";
|
|
48
|
-
import "./chunk-NXL4FFQQ.js";
|
|
49
|
-
export {
|
|
50
|
-
DependencyChecker,
|
|
51
|
-
buildMadgeArgs,
|
|
52
|
-
mapWithConcurrency,
|
|
53
|
-
resetMadgeManagedPathMemo
|
|
54
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import type { Api, Model } from "@earendil-works/pi-ai/compat";
|
|
2
|
-
import type { ExtensionContext } from "@earendil-works/pi-coding-agent";
|
|
3
|
-
|
|
4
|
-
type SessionManager = Pick<ExtensionContext, "sessionManager">["sessionManager"];
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Pi adds OpenCode attribution headers inside the main agent loop. Extension
|
|
8
|
-
* side-calls dispatch directly, so they must add the same session attribution.
|
|
9
|
-
*/
|
|
10
|
-
export function openCodeSessionHeaders(model: Model<Api>, sessionManager: SessionManager): Record<string, string> | undefined {
|
|
11
|
-
const isOpenCode = model.provider === "opencode"
|
|
12
|
-
|| model.provider === "opencode-go"
|
|
13
|
-
|| (() => {
|
|
14
|
-
try {
|
|
15
|
-
return new URL(String(model.baseUrl ?? "")).hostname === "opencode.ai";
|
|
16
|
-
} catch {
|
|
17
|
-
return false;
|
|
18
|
-
}
|
|
19
|
-
})();
|
|
20
|
-
if (!isOpenCode) return undefined;
|
|
21
|
-
const sessionId = sessionManager?.getSessionId?.();
|
|
22
|
-
if (!sessionId) return undefined;
|
|
23
|
-
return { "x-opencode-session": sessionId, "x-opencode-client": "pi" };
|
|
24
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 Jacob Moura
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|