pi-agent-ide 0.2.0 → 0.2.1
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/dist/chunk-2XYXV5HS.js +4 -0
- package/dist/{chunk-YQTLJ5ZV.js → chunk-6XQQBKPE.js} +1 -1
- package/dist/{chunk-VUNCBASK.js → chunk-KH5KPBCR.js} +3 -3
- package/dist/chunk-L4FA6OD4.js +1 -0
- package/dist/chunk-LGN7EJYR.js +13 -0
- package/dist/chunk-MTQSGWZJ.js +1 -0
- package/dist/chunk-N34ATN52.js +1 -0
- package/dist/{chunk-52BM6J6I.js → chunk-NXHPO7ER.js} +3 -3
- package/dist/{chunk-QW5O42QJ.js → chunk-OFHVDY4Q.js} +1 -1
- package/dist/{chunk-E4SECPF4.js → chunk-ONWUJXUR.js} +1 -1
- package/dist/chunk-QZANC2IG.js +1 -0
- package/dist/{chunk-QNZVPFSP.js → chunk-SMSIT3CE.js} +1 -1
- package/dist/{chunk-KP37XTDI.js → chunk-UTTW55S2.js} +1 -1
- package/dist/chunk-VEJGSURY.js +8 -0
- package/dist/chunk-WZI4YC2O.js +1 -0
- package/dist/{chunk-5A25RATC.js → chunk-ZIHEF6K3.js} +3 -3
- package/dist/entry-0.js +1 -1
- package/dist/entry-18.js +1 -1
- package/dist/entry-19.js +1 -1
- package/dist/entry-20.js +1 -1
- package/dist/entry-21.js +1 -1
- package/dist/entry-22.js +1 -1
- package/dist/entry-23.js +1 -1
- package/dist/entry-24.js +1 -1
- package/dist/entry-25.js +1 -1
- package/dist/entry-26.js +1 -1
- package/dist/entry-27.js +1 -1
- package/dist/entry-28.js +1 -1
- package/dist/entry-29.js +1 -1
- package/dist/entry-30.js +1 -1
- package/dist/entry-31.js +1 -1
- package/dist/entry-32.js +1 -1
- package/dist/entry-33.js +1 -1
- package/dist/entry-34.js +1 -1
- package/dist/entry-35.js +1 -1
- package/dist/entry-36.js +1 -1
- package/dist/entry-37.js +1 -1
- package/dist/entry-38.js +1 -1
- package/dist/entry-39.js +1 -1
- package/dist/entry-4.js +1 -1
- package/dist/entry-40.js +1 -1
- package/dist/entry-41.js +1 -1
- package/dist/entry-42.js +1 -1
- package/dist/entry-43.js +1 -1
- package/dist/entry-44.js +1 -1
- package/dist/entry-45.js +1 -1
- package/dist/entry-46.js +1 -1
- package/dist/entry-47.js +1 -1
- package/dist/entry-48.js +1 -1
- package/dist/entry-49.js +1 -1
- package/dist/entry-50.js +1 -1
- package/dist/entry-51.js +1 -1
- package/dist/entry-52.js +1 -1
- package/dist/entry-53.js +1 -0
- package/dist/entry-54.js +0 -1
- package/dist/entry-55.js +1 -0
- package/dist/entry-56.js +0 -1
- package/dist/entry-57.js +1 -1
- package/dist/entry-58.js +1 -1
- package/dist/entry-59.js +1 -1
- package/dist/entry-60.js +1 -1
- package/dist/entry-61.js +1 -1
- package/dist/entry-62.js +1 -0
- package/dist/entry-63.js +0 -1
- package/dist/entry-64.js +1 -0
- package/dist/entry-65.js +0 -1
- package/dist/entry-66.js +1 -1
- package/dist/entry-67.js +1 -1
- package/dist/entry-68.js +1 -1
- package/dist/entry-69.js +1 -1
- package/dist/entry-70.js +1 -1
- package/dist/entry-71.js +1 -1
- package/dist/entry-72.js +1 -1
- package/dist/entry-73.js +1 -1
- package/dist/entry-74.js +1 -1
- package/dist/entry-75.js +1 -1
- package/dist/entry-76.js +1 -1
- package/dist/entry-77.js +1 -1
- package/dist/entry-78.js +1 -1
- package/dist/entry-79.js +1 -1
- package/dist/entry-80.js +1 -0
- package/dist/pi-agent-ide.js +12 -12
- package/docs/configuration.md +32 -1
- package/docs/generated/tool-catalog/cmake.md +5 -5
- package/docs/generated/tool-catalog/csharp.md +5 -5
- package/docs/generated/tool-catalog/css.md +7 -7
- package/docs/generated/tool-catalog/dart.md +9 -0
- package/docs/generated/tool-catalog/dockerfile.md +5 -5
- package/docs/generated/tool-catalog/elixir.md +9 -0
- package/docs/generated/tool-catalog/html.md +7 -6
- package/docs/generated/tool-catalog/index.md +9 -0
- package/docs/generated/tool-catalog/javascript.md +8 -8
- package/docs/generated/tool-catalog/json.md +7 -7
- package/docs/generated/tool-catalog/julia.md +8 -0
- package/docs/generated/tool-catalog/kotlin.md +6 -5
- package/docs/generated/tool-catalog/markdown.md +6 -6
- package/docs/generated/tool-catalog/powershell.md +9 -0
- package/docs/generated/tool-catalog/python.md +6 -6
- package/docs/generated/tool-catalog/r.md +9 -0
- package/docs/generated/tool-catalog/scala.md +9 -0
- package/docs/generated/tool-catalog/svelte.md +9 -0
- package/docs/generated/tool-catalog/typescript.md +9 -8
- package/docs/generated/tool-catalog/vue.md +9 -0
- package/docs/generated/tool-catalog/yaml.md +6 -6
- package/docs/generated/tool-catalog/zig.md +9 -0
- package/node_modules/pi-agent-doctor/package.json +10 -3
- package/node_modules/pi-agent-doctor/runtime/entry-20.js +1 -0
- package/node_modules/pi-agent-doctor/src/catalog.ts +27 -1
- package/node_modules/pi-agent-doctor/src/evidence.ts +118 -0
- package/node_modules/pi-agent-doctor/src/executable.ts +63 -17
- package/node_modules/pi-agent-filesystem/package.json +7 -7
- package/node_modules/pi-agent-filesystem-image/package.json +4 -4
- package/node_modules/pi-agent-filesystem-pdf/package.json +4 -4
- package/node_modules/pi-agent-filesystem-text/package.json +4 -4
- package/node_modules/pi-agent-filesystem-text/runtime/entry-24.js +2 -0
- package/node_modules/pi-agent-ide-ast/package.json +11 -11
- package/node_modules/pi-agent-ide-ast/runtime/entry-25.js +0 -1
- package/node_modules/pi-agent-ide-ast/runtime/entry-26.js +2 -0
- package/node_modules/pi-agent-ide-ast/src/ast/manager.ts +3 -0
- package/node_modules/pi-agent-ide-ast/src/ast/outline.ts +3 -0
- package/node_modules/pi-agent-ide-changes/package.json +8 -8
- package/node_modules/pi-agent-ide-changes/runtime/entry-27.js +0 -1
- package/node_modules/pi-agent-ide-formatter/package.json +4 -4
- package/node_modules/pi-agent-ide-formatter/src/catalog.ts +131 -13
- package/node_modules/pi-agent-ide-formatter/src/registry.ts +20 -8
- package/node_modules/pi-agent-ide-languages/package.json +3 -3
- package/node_modules/pi-agent-ide-languages/src/languages.ts +15 -0
- package/node_modules/pi-agent-ide-lint/package.json +8 -8
- package/node_modules/pi-agent-ide-lint/src/catalog.ts +196 -39
- package/node_modules/pi-agent-ide-lint/src/command-linter.ts +23 -3
- package/node_modules/pi-agent-ide-lint/src/diagnostics.ts +73 -33
- package/node_modules/pi-agent-ide-lint/src/registry.ts +20 -8
- package/node_modules/pi-agent-ide-lsp/package.json +9 -9
- package/node_modules/pi-agent-ide-lsp/runtime/entry-32.js +2 -0
- package/node_modules/pi-agent-ide-lsp/src/catalog.ts +161 -7
- package/node_modules/pi-agent-ide-lsp/src/diagnostic-source.ts +3 -6
- package/node_modules/pi-agent-ide-lsp/src/doctor-plugin.ts +2 -4
- package/node_modules/pi-agent-ide-lsp/src/lsp/client.ts +154 -11
- package/node_modules/pi-agent-ide-lsp/src/lsp/file-watchers.ts +88 -0
- package/node_modules/pi-agent-ide-lsp/src/lsp/initialization-options.ts +14 -0
- package/node_modules/pi-agent-ide-lsp/src/lsp/manager.ts +8 -4
- package/node_modules/pi-agent-ide-lsp/src/lsp/registry.ts +69 -34
- package/node_modules/pi-agent-ide-lsp/src/lsp/transport-writer.ts +24 -0
- package/node_modules/pi-agent-ide-lsp/src/lsp/types.ts +5 -0
- package/node_modules/pi-agent-image/package.json +3 -3
- package/node_modules/pi-agent-invariant/package.json +2 -2
- package/node_modules/pi-agent-pdf/package.json +3 -3
- package/node_modules/pi-agent-read/package.json +11 -11
- package/node_modules/pi-agent-read/runtime/entry-39.js +0 -1
- package/node_modules/pi-agent-read/runtime/entry-40.js +2 -0
- package/node_modules/pi-agent-resource/package.json +2 -2
- package/node_modules/pi-agent-search/package.json +7 -7
- package/node_modules/pi-agent-search/runtime/entry-44.js +0 -1
- package/node_modules/pi-agent-search-text/package.json +9 -9
- package/node_modules/pi-agent-search-text/runtime/entry-46.js +1 -0
- package/node_modules/pi-agent-text/package.json +3 -3
- package/node_modules/pi-agent-text/runtime/entry-48.js +1 -0
- package/node_modules/pi-agent-text-anchor-constant/package.json +4 -4
- package/node_modules/pi-agent-text-anchor-constant/runtime/entry-49.js +2 -0
- package/node_modules/pi-agent-text-anchor-exact/package.json +5 -5
- package/node_modules/pi-agent-text-anchor-exact/runtime/entry-50.js +0 -1
- package/node_modules/pi-agent-text-anchor-exact/runtime/entry-51.js +2 -0
- package/node_modules/pi-agent-text-anchor-line-hash/package.json +7 -7
- package/node_modules/pi-agent-text-anchor-line-hash/runtime/entry-52.js +0 -1
- package/node_modules/pi-agent-text-anchor-line-hash/runtime/entry-53.js +2 -0
- package/node_modules/pi-agent-text-editor/package.json +22 -22
- package/node_modules/pi-agent-text-editor/runtime/entry-68.js +0 -1
- package/node_modules/pi-agent-text-editor-argument-order/package.json +3 -3
- package/node_modules/pi-agent-text-editor-overwrite/package.json +4 -4
- package/node_modules/pi-agent-text-editor-renderer/package.json +6 -6
- package/node_modules/pi-agent-text-editor-stale-anchor/package.json +5 -5
- package/node_modules/pi-agent-text-editor-stale-anchor/runtime/entry-73.js +2 -0
- package/node_modules/pi-agent-tool-call-interception/package.json +3 -3
- package/node_modules/pi-agent-tool-ui/package.json +2 -2
- package/node_modules/pi-agent-tool-ui/runtime/entry-75.js +1 -0
- package/node_modules/pi-agent-web/package.json +7 -7
- package/node_modules/pi-agent-web-html/package.json +3 -3
- package/node_modules/pi-agent-web-image/package.json +4 -4
- package/node_modules/pi-agent-web-pdf/package.json +4 -4
- package/node_modules/pi-agent-web-text/package.json +4 -4
- package/node_modules/pi-agent-web-text/runtime/entry-80.js +2 -0
- package/package.json +35 -35
- package/src/api/tool-config/formatters.json +70 -12
- package/src/api/tool-config/linters.json +148 -66
- package/src/api/tool-config/lsp-servers.json +142 -7
- package/src/api/tool-config.ts +56 -24
- package/src/code-view/diagnostic-view.ts +14 -10
- package/src/doctor/config-writer.ts +14 -1
- package/src/doctor/discovery.ts +13 -68
- package/src/doctor/run.ts +33 -1
- package/src/extensions/pi-agent-read/extensions/pi-agent-filesystem/package.json +7 -7
- package/src/extensions/pi-agent-read/extensions/pi-agent-filesystem/plugins/pi-agent-filesystem-image/package.json +4 -4
- package/src/extensions/pi-agent-read/extensions/pi-agent-filesystem/plugins/pi-agent-filesystem-pdf/package.json +4 -4
- package/src/extensions/pi-agent-read/extensions/pi-agent-filesystem/plugins/pi-agent-filesystem-text/package.json +4 -4
- package/src/extensions/pi-agent-read/extensions/pi-agent-filesystem/plugins/pi-agent-filesystem-text/runtime/entry-24.js +2 -0
- package/src/extensions/pi-agent-read/extensions/pi-agent-filesystem/runtime/entry-21.js +2 -0
- package/src/extensions/pi-agent-read/extensions/pi-agent-web/package.json +7 -7
- package/src/extensions/pi-agent-read/extensions/pi-agent-web/plugins/pi-agent-web-html/package.json +3 -3
- package/src/extensions/pi-agent-read/extensions/pi-agent-web/plugins/pi-agent-web-image/package.json +4 -4
- package/src/extensions/pi-agent-read/extensions/pi-agent-web/plugins/pi-agent-web-pdf/package.json +4 -4
- package/src/extensions/pi-agent-read/extensions/pi-agent-web/plugins/pi-agent-web-text/package.json +4 -4
- package/src/extensions/pi-agent-read/extensions/pi-agent-web/plugins/pi-agent-web-text/runtime/entry-80.js +2 -0
- package/src/extensions/pi-agent-read/extensions/pi-agent-web/runtime/entry-76.js +2 -0
- package/src/extensions/pi-agent-read/package.json +11 -11
- package/src/extensions/pi-agent-read/runtime/entry-39.js +0 -1
- package/src/extensions/pi-agent-read/runtime/entry-40.js +2 -0
- package/src/extensions/pi-agent-search/package.json +7 -7
- package/src/extensions/pi-agent-search/plugins/pi-agent-search-text/package.json +9 -9
- package/src/extensions/pi-agent-search/plugins/pi-agent-search-text/runtime/entry-46.js +1 -0
- package/src/extensions/pi-agent-search/plugins/pi-agent-search-text/runtime/entry-47.js +1 -0
- package/src/extensions/pi-agent-search/runtime/entry-44.js +0 -1
- package/src/extensions/pi-agent-search/runtime/entry-45.js +2 -0
- package/src/extensions/pi-agent-text-editor/package.json +22 -22
- package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-anchor-constant/package.json +4 -4
- package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-anchor-constant/runtime/entry-49.js +2 -0
- package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-anchor-exact/package.json +5 -5
- package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-anchor-exact/runtime/entry-50.js +0 -1
- package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-anchor-exact/runtime/entry-51.js +2 -0
- package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-anchor-line-hash/package.json +7 -7
- package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-anchor-line-hash/runtime/entry-52.js +0 -1
- package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-anchor-line-hash/runtime/entry-53.js +2 -0
- package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-editor-argument-order/package.json +3 -3
- package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-editor-overwrite/package.json +4 -4
- package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-editor-renderer/package.json +6 -6
- package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-editor-stale-anchor/package.json +5 -5
- package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-editor-stale-anchor/runtime/entry-73.js +2 -0
- package/src/extensions/pi-agent-text-editor/runtime/entry-68.js +0 -1
- package/src/extensions/pi-agent-text-editor/runtime/entry-69.js +2 -0
- package/src/plugins/pi-agent-ide-ast/package.json +11 -11
- package/src/plugins/pi-agent-ide-ast/runtime/entry-25.js +0 -1
- package/src/plugins/pi-agent-ide-ast/runtime/entry-26.js +2 -0
- package/src/plugins/pi-agent-ide-ast/src/ast/manager.ts +3 -0
- package/src/plugins/pi-agent-ide-ast/src/ast/outline.ts +3 -0
- package/src/plugins/pi-agent-ide-changes/package.json +8 -8
- package/src/plugins/pi-agent-ide-changes/runtime/entry-27.js +0 -1
- package/src/plugins/pi-agent-ide-diagnostics/src/extension.ts +8 -0
- package/src/plugins/pi-agent-ide-formatter/package.json +4 -4
- package/src/plugins/pi-agent-ide-formatter/src/catalog.ts +131 -13
- package/src/plugins/pi-agent-ide-formatter/src/registry.ts +20 -8
- package/src/plugins/pi-agent-ide-languages/package.json +3 -3
- package/src/plugins/pi-agent-ide-languages/src/languages.ts +15 -0
- package/src/plugins/pi-agent-ide-lint/package.json +8 -8
- package/src/plugins/pi-agent-ide-lint/src/catalog.ts +196 -39
- package/src/plugins/pi-agent-ide-lint/src/command-linter.ts +23 -3
- package/src/plugins/pi-agent-ide-lint/src/diagnostics.ts +73 -33
- package/src/plugins/pi-agent-ide-lint/src/registry.ts +20 -8
- package/src/plugins/pi-agent-ide-lsp/package.json +9 -9
- package/src/plugins/pi-agent-ide-lsp/runtime/entry-32.js +2 -0
- package/src/plugins/pi-agent-ide-lsp/src/catalog.ts +161 -7
- package/src/plugins/pi-agent-ide-lsp/src/diagnostic-source.ts +3 -6
- package/src/plugins/pi-agent-ide-lsp/src/doctor-plugin.ts +2 -4
- package/src/plugins/pi-agent-ide-lsp/src/lsp/client.ts +154 -11
- package/src/plugins/pi-agent-ide-lsp/src/lsp/file-watchers.ts +88 -0
- package/src/plugins/pi-agent-ide-lsp/src/lsp/initialization-options.ts +14 -0
- package/src/plugins/pi-agent-ide-lsp/src/lsp/manager.ts +8 -4
- package/src/plugins/pi-agent-ide-lsp/src/lsp/registry.ts +69 -34
- package/src/plugins/pi-agent-ide-lsp/src/lsp/transport-writer.ts +24 -0
- package/src/plugins/pi-agent-ide-lsp/src/lsp/types.ts +5 -0
- package/src/toolchain/types.ts +2 -0
- package/dist/chunk-476MR2QB.js +0 -1
- package/dist/chunk-4KQOODGE.js +0 -13
- package/dist/chunk-7NDBZ4WX.js +0 -1
- package/dist/chunk-AP7Z3VWC.js +0 -1
- package/dist/chunk-TNWYEXFG.js +0 -1
- package/dist/chunk-U4D6FT66.js +0 -1
- package/dist/chunk-VWVLBOMU.js +0 -8
- package/node_modules/pi-agent-filesystem/runtime/entry-20.js +0 -2
- package/node_modules/pi-agent-ide-ast/runtime/entry-24.js +0 -1
- package/node_modules/pi-agent-ide-changes/runtime/entry-26.js +0 -1
- package/node_modules/pi-agent-image/runtime/entry-32.js +0 -1
- package/node_modules/pi-agent-resource/runtime/entry-40.js +0 -1
- package/node_modules/pi-agent-text-anchor-constant/runtime/entry-48.js +0 -2
- package/node_modules/pi-agent-text-anchor-exact/runtime/entry-49.js +0 -1
- package/node_modules/pi-agent-text-anchor-line-hash/runtime/entry-51.js +0 -1
- package/node_modules/pi-agent-text-editor/runtime/entry-53.js +0 -1
- package/node_modules/pi-agent-tool-call-interception/runtime/entry-73.js +0 -1
- package/node_modules/pi-agent-web/runtime/entry-75.js +0 -2
- package/src/extensions/pi-agent-read/extensions/pi-agent-filesystem/plugins/pi-agent-filesystem-image/runtime/entry-21.js +0 -2
- package/src/extensions/pi-agent-read/extensions/pi-agent-filesystem/runtime/entry-20.js +0 -2
- package/src/extensions/pi-agent-read/extensions/pi-agent-web/plugins/pi-agent-web-html/runtime/entry-76.js +0 -2
- package/src/extensions/pi-agent-read/extensions/pi-agent-web/runtime/entry-75.js +0 -2
- package/src/extensions/pi-agent-read/runtime/entry-35.js +0 -1
- package/src/extensions/pi-agent-search/plugins/pi-agent-search-text/runtime/entry-45.js +0 -2
- package/src/extensions/pi-agent-search/runtime/entry-41.js +0 -1
- package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-anchor-constant/runtime/entry-48.js +0 -2
- package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-anchor-exact/runtime/entry-49.js +0 -1
- package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-anchor-line-hash/runtime/entry-51.js +0 -1
- package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-editor-argument-order/runtime/entry-69.js +0 -2
- package/src/extensions/pi-agent-text-editor/runtime/entry-53.js +0 -1
- package/src/plugins/pi-agent-ide-ast/runtime/entry-24.js +0 -1
- package/src/plugins/pi-agent-ide-changes/runtime/entry-26.js +0 -1
- /package/node_modules/{pi-agent-filesystem-image → pi-agent-filesystem}/runtime/entry-21.js +0 -0
- /package/node_modules/{pi-agent-filesystem-pdf → pi-agent-filesystem-image}/runtime/entry-22.js +0 -0
- /package/node_modules/{pi-agent-filesystem-text → pi-agent-filesystem-pdf}/runtime/entry-23.js +0 -0
- /package/node_modules/{pi-agent-ide-formatter → pi-agent-ide-changes}/runtime/entry-28.js +0 -0
- /package/node_modules/{pi-agent-ide-languages → pi-agent-ide-formatter}/runtime/entry-29.js +0 -0
- /package/node_modules/{pi-agent-ide-lint → pi-agent-ide-languages}/runtime/entry-30.js +0 -0
- /package/node_modules/{pi-agent-ide-lsp → pi-agent-ide-lint}/runtime/entry-31.js +0 -0
- /package/node_modules/{pi-agent-invariant → pi-agent-image}/runtime/entry-33.js +0 -0
- /package/node_modules/{pi-agent-pdf → pi-agent-invariant}/runtime/entry-34.js +0 -0
- /package/node_modules/{pi-agent-read → pi-agent-pdf}/runtime/entry-35.js +0 -0
- /package/node_modules/{pi-agent-search → pi-agent-resource}/runtime/entry-41.js +0 -0
- /package/node_modules/{pi-agent-search-text → pi-agent-search}/runtime/entry-45.js +0 -0
- /package/node_modules/{pi-agent-text → pi-agent-search-text}/runtime/entry-47.js +0 -0
- /package/node_modules/{pi-agent-text-editor-argument-order → pi-agent-text-editor}/runtime/entry-69.js +0 -0
- /package/node_modules/{pi-agent-text-editor-overwrite → pi-agent-text-editor-argument-order}/runtime/entry-70.js +0 -0
- /package/node_modules/{pi-agent-text-editor-renderer → pi-agent-text-editor-overwrite}/runtime/entry-71.js +0 -0
- /package/node_modules/{pi-agent-text-editor-stale-anchor → pi-agent-text-editor-renderer}/runtime/entry-72.js +0 -0
- /package/node_modules/{pi-agent-tool-ui → pi-agent-tool-call-interception}/runtime/entry-74.js +0 -0
- /package/node_modules/{pi-agent-web-html → pi-agent-web}/runtime/entry-76.js +0 -0
- /package/node_modules/{pi-agent-web-image → pi-agent-web-html}/runtime/entry-77.js +0 -0
- /package/node_modules/{pi-agent-web-pdf → pi-agent-web-image}/runtime/entry-78.js +0 -0
- /package/node_modules/{pi-agent-web-text → pi-agent-web-pdf}/runtime/entry-79.js +0 -0
- /package/src/extensions/pi-agent-read/extensions/pi-agent-filesystem/plugins/{pi-agent-filesystem-pdf → pi-agent-filesystem-image}/runtime/entry-22.js +0 -0
- /package/src/extensions/pi-agent-read/extensions/pi-agent-filesystem/plugins/{pi-agent-filesystem-text → pi-agent-filesystem-pdf}/runtime/entry-23.js +0 -0
- /package/src/extensions/pi-agent-read/extensions/pi-agent-web/plugins/{pi-agent-web-image → pi-agent-web-html}/runtime/entry-77.js +0 -0
- /package/src/extensions/pi-agent-read/extensions/pi-agent-web/plugins/{pi-agent-web-pdf → pi-agent-web-image}/runtime/entry-78.js +0 -0
- /package/src/extensions/pi-agent-read/extensions/pi-agent-web/plugins/{pi-agent-web-text → pi-agent-web-pdf}/runtime/entry-79.js +0 -0
- /package/src/extensions/pi-agent-text-editor/plugins/{pi-agent-text-editor-overwrite → pi-agent-text-editor-argument-order}/runtime/entry-70.js +0 -0
- /package/src/extensions/pi-agent-text-editor/plugins/{pi-agent-text-editor-renderer → pi-agent-text-editor-overwrite}/runtime/entry-71.js +0 -0
- /package/src/extensions/pi-agent-text-editor/plugins/{pi-agent-text-editor-stale-anchor → pi-agent-text-editor-renderer}/runtime/entry-72.js +0 -0
- /package/src/plugins/{pi-agent-ide-formatter → pi-agent-ide-changes}/runtime/entry-28.js +0 -0
- /package/src/plugins/{pi-agent-ide-languages → pi-agent-ide-formatter}/runtime/entry-29.js +0 -0
- /package/src/plugins/{pi-agent-ide-lint → pi-agent-ide-languages}/runtime/entry-30.js +0 -0
- /package/src/plugins/{pi-agent-ide-lsp → pi-agent-ide-lint}/runtime/entry-31.js +0 -0
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { watch, type FSWatcher } from "node:fs";
|
|
2
|
+
import { readdir, stat } from "node:fs/promises";
|
|
3
|
+
import path from "node:path";
|
|
4
|
+
import { URI } from "vscode-uri";
|
|
5
|
+
|
|
6
|
+
interface WatchPattern {
|
|
7
|
+
globPattern: string | { baseUri: string | { uri: string }; pattern: string };
|
|
8
|
+
kind?: number;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/** A native filesystem event translated to the LSP file change types. */
|
|
12
|
+
export interface WatchedFileChange {
|
|
13
|
+
uri: string;
|
|
14
|
+
type: 1 | 2 | 3;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/** Own the filesystem subscriptions requested by one language server. */
|
|
18
|
+
export class LspFileWatchers {
|
|
19
|
+
private readonly registrations = new Map<string, FSWatcher[]>();
|
|
20
|
+
|
|
21
|
+
private disposed = false;
|
|
22
|
+
|
|
23
|
+
constructor(
|
|
24
|
+
private readonly root: string,
|
|
25
|
+
private readonly changed: (change: WatchedFileChange) => void,
|
|
26
|
+
private readonly failed: (error: Error) => void,
|
|
27
|
+
) {}
|
|
28
|
+
|
|
29
|
+
/** Install all patterns for one workspace/didChangeWatchedFiles registration. */
|
|
30
|
+
async register(id: string, patterns: readonly WatchPattern[]): Promise<void> {
|
|
31
|
+
const watchers: FSWatcher[] = [];
|
|
32
|
+
try {
|
|
33
|
+
for (const pattern of patterns) {
|
|
34
|
+
const glob = pattern.globPattern;
|
|
35
|
+
const root =
|
|
36
|
+
typeof glob === "string"
|
|
37
|
+
? this.root
|
|
38
|
+
: URI.parse(typeof glob.baseUri === "string" ? glob.baseUri : glob.baseUri.uri).fsPath;
|
|
39
|
+
const expression = typeof glob === "string" ? glob : glob.pattern;
|
|
40
|
+
const matches = (file: string) =>
|
|
41
|
+
path.matchesGlob(path.isAbsolute(expression) ? path.join(root, file) : file, expression);
|
|
42
|
+
const existing = new Set((await readdir(root, { recursive: true })).filter(matches));
|
|
43
|
+
|
|
44
|
+
if (this.disposed) throw new Error("Language server file watchers are disposed");
|
|
45
|
+
const watcher = watch(root, { recursive: true }, (_event, name) => {
|
|
46
|
+
if (!name || !matches(name)) return;
|
|
47
|
+
void stat(path.join(root, name)).then(
|
|
48
|
+
() => {
|
|
49
|
+
if (!this.registrations.get(id)?.includes(watcher)) return;
|
|
50
|
+
const type = existing.has(name) ? 2 : 1;
|
|
51
|
+
existing.add(name);
|
|
52
|
+
if ((pattern.kind ?? 7) & (type === 1 ? 1 : 2))
|
|
53
|
+
this.changed({ uri: URI.file(path.join(root, name)).toString(), type });
|
|
54
|
+
},
|
|
55
|
+
(error: NodeJS.ErrnoException) => {
|
|
56
|
+
if (!this.registrations.get(id)?.includes(watcher)) return;
|
|
57
|
+
if (error.code !== "ENOENT") {
|
|
58
|
+
this.failed(error);
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
if (existing.delete(name) && (pattern.kind ?? 7) & 4)
|
|
62
|
+
this.changed({ uri: URI.file(path.join(root, name)).toString(), type: 3 });
|
|
63
|
+
},
|
|
64
|
+
);
|
|
65
|
+
});
|
|
66
|
+
watcher.on("error", this.failed);
|
|
67
|
+
watchers.push(watcher);
|
|
68
|
+
}
|
|
69
|
+
} catch (error) {
|
|
70
|
+
for (const watcher of watchers) watcher.close();
|
|
71
|
+
throw error;
|
|
72
|
+
}
|
|
73
|
+
this.unregister(id);
|
|
74
|
+
this.registrations.set(id, watchers);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/** Stop a server registration without affecting its other subscriptions. */
|
|
78
|
+
unregister(id: string): void {
|
|
79
|
+
for (const watcher of this.registrations.get(id) ?? []) watcher.close();
|
|
80
|
+
this.registrations.delete(id);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/** Close all subscriptions when the server exits or the session ends. */
|
|
84
|
+
dispose(): void {
|
|
85
|
+
this.disposed = true;
|
|
86
|
+
for (const id of this.registrations.keys()) this.unregister(id);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/** Expand the project path in JSON initialization options, including plugin locations. */
|
|
2
|
+
export function resolveInitializationOptions(
|
|
3
|
+
value: Record<string, unknown>,
|
|
4
|
+
projectRoot: string,
|
|
5
|
+
): Record<string, unknown> {
|
|
6
|
+
const expand = (item: unknown): unknown => {
|
|
7
|
+
if (typeof item === "string") return item.replaceAll("{project}", () => projectRoot);
|
|
8
|
+
if (Array.isArray(item)) return item.map(expand);
|
|
9
|
+
if (item !== null && typeof item === "object")
|
|
10
|
+
return Object.fromEntries(Object.entries(item).map(([key, child]) => [key, expand(child)]));
|
|
11
|
+
return item;
|
|
12
|
+
};
|
|
13
|
+
return Object.fromEntries(Object.entries(value).map(([key, item]) => [key, expand(item)]));
|
|
14
|
+
}
|
|
@@ -4,6 +4,8 @@ import path from "node:path";
|
|
|
4
4
|
import { URI } from "vscode-uri";
|
|
5
5
|
|
|
6
6
|
import { LspClient } from "./client.js";
|
|
7
|
+
|
|
8
|
+
import { resolveInitializationOptions } from "./initialization-options.js";
|
|
7
9
|
import { toDiagnostic } from "./diagnostics.js";
|
|
8
10
|
import { type LspDiagnostic, type ResolvedServer } from "./types.js";
|
|
9
11
|
|
|
@@ -159,7 +161,10 @@ export class LspManager {
|
|
|
159
161
|
command: match.config.command,
|
|
160
162
|
...(match.config.env && { env: match.config.env }),
|
|
161
163
|
...(match.config.initializationOptions && {
|
|
162
|
-
initOptions:
|
|
164
|
+
initOptions: resolveInitializationOptions(
|
|
165
|
+
match.config.initializationOptions,
|
|
166
|
+
URI.parse(rootUri).fsPath,
|
|
167
|
+
),
|
|
163
168
|
}),
|
|
164
169
|
...(match.config.settings && { settings: match.config.settings }),
|
|
165
170
|
...(match.config.timeoutMs && { timeoutMs: match.config.timeoutMs }),
|
|
@@ -299,16 +304,15 @@ export class LspManager {
|
|
|
299
304
|
cwd: string,
|
|
300
305
|
capability: "diagnostics" | "symbols" = "diagnostics",
|
|
301
306
|
): Promise<{ client: LspClient; uri: string; languageId: string } | null> {
|
|
302
|
-
const extension = filePath.slice(filePath.lastIndexOf(".")).toLowerCase();
|
|
303
307
|
const absolutePath = path.resolve(cwd, filePath);
|
|
304
|
-
const client = await this.getOrStart(
|
|
308
|
+
const client = await this.getOrStart(absolutePath, cwd, capability);
|
|
305
309
|
|
|
306
310
|
if (!client) {
|
|
307
311
|
return null;
|
|
308
312
|
}
|
|
309
313
|
|
|
310
314
|
const uri = client.toUri(absolutePath);
|
|
311
|
-
const resolved = this._registry.resolve(
|
|
315
|
+
const resolved = this._registry.resolve(absolutePath);
|
|
312
316
|
const languageId = resolved[0]?.languageId ?? "plaintext";
|
|
313
317
|
|
|
314
318
|
// Read file content for didOpen
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import path from "node:path";
|
|
2
|
+
|
|
3
|
+
import { existsSync } from "node:fs";
|
|
2
4
|
|
|
3
5
|
import { hasConfiguredExecutable, loadLayeredToolConfig } from "pi-agent-ide/api/tool-config";
|
|
4
6
|
|
|
@@ -16,15 +18,14 @@ LSP server configuration in project, global, and built-in priority order.
|
|
|
16
18
|
export class LspServerRegistry {
|
|
17
19
|
private readonly _servers: Record<string, ServerConfig>;
|
|
18
20
|
private readonly _entries: readonly EffectiveToolConfigEntry<ServerConfig>[];
|
|
19
|
-
private readonly _entriesById: ReadonlyMap<string, EffectiveToolConfigEntry<ServerConfig>>;
|
|
20
21
|
private readonly _lookup: LanguageLookup;
|
|
21
22
|
|
|
22
23
|
private constructor(
|
|
23
24
|
entries: readonly EffectiveToolConfigEntry<ServerConfig>[],
|
|
24
25
|
availableBuiltIns: ReadonlySet<string>,
|
|
26
|
+
private readonly _projectRoot: string,
|
|
25
27
|
) {
|
|
26
28
|
this._entries = entries;
|
|
27
|
-
this._entriesById = new Map(entries.map((entry) => [entry.id, entry]));
|
|
28
29
|
const activeEntries = entries.filter(
|
|
29
30
|
(entry) => entry.layer !== "built-in" || availableBuiltIns.has(entry.id),
|
|
30
31
|
);
|
|
@@ -57,13 +58,14 @@ export class LspServerRegistry {
|
|
|
57
58
|
return new LspServerRegistry(
|
|
58
59
|
effective.entries,
|
|
59
60
|
new Set(available.filter((entry) => entry.available).map((entry) => entry.id)),
|
|
61
|
+
path.resolve(packageDir),
|
|
60
62
|
);
|
|
61
63
|
}
|
|
62
64
|
|
|
63
65
|
/**
|
|
64
66
|
Creates a project-layer registry from an already-parsed config.
|
|
65
67
|
*/
|
|
66
|
-
static fromConfig(config: LspServersConfig): LspServerRegistry {
|
|
68
|
+
static fromConfig(config: LspServersConfig, projectRoot = process.cwd()): LspServerRegistry {
|
|
67
69
|
return new LspServerRegistry(
|
|
68
70
|
Object.entries(config.servers).map(([id, server]) => ({
|
|
69
71
|
id,
|
|
@@ -72,38 +74,56 @@ export class LspServerRegistry {
|
|
|
72
74
|
sourcePath: "<memory>",
|
|
73
75
|
})),
|
|
74
76
|
new Set(),
|
|
77
|
+
path.resolve(projectRoot),
|
|
75
78
|
);
|
|
76
79
|
}
|
|
77
80
|
|
|
78
|
-
/**
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
const
|
|
83
|
-
?
|
|
84
|
-
|
|
85
|
-
const
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
81
|
+
/** Resolve a file path or extension to servers in layer priority order. */
|
|
82
|
+
resolve(file: string): ResolvedServer[] {
|
|
83
|
+
const basename = path.basename(file);
|
|
84
|
+
const extension = path.extname(file) || (file.startsWith(".") ? file : `.${file}`);
|
|
85
|
+
const normalizeName = (name: string) =>
|
|
86
|
+
process.platform === "win32" ? name.toLowerCase() : name;
|
|
87
|
+
const matches: ResolvedServer[] = [];
|
|
88
|
+
for (const entry of this._entries) {
|
|
89
|
+
if (!this._servers[entry.id]) continue;
|
|
90
|
+
|
|
91
|
+
if (entry.config.requireRootMarker && !this.hasRootMarker(file, entry.config.rootMarkers))
|
|
92
|
+
continue;
|
|
93
|
+
for (const [languageId, language] of Object.entries(entry.config.languages)) {
|
|
94
|
+
if (
|
|
95
|
+
language.extensions.some(
|
|
96
|
+
(candidate) => candidate.toLowerCase() === extension.toLowerCase(),
|
|
97
|
+
) ||
|
|
98
|
+
language.fileNames?.some((name) => normalizeName(name) === normalizeName(basename))
|
|
99
|
+
) {
|
|
100
|
+
matches.push({
|
|
101
|
+
serverId: entry.id,
|
|
102
|
+
config: entry.config,
|
|
103
|
+
languageId,
|
|
104
|
+
layer: entry.layer,
|
|
105
|
+
sourcePath: entry.sourcePath,
|
|
106
|
+
});
|
|
107
|
+
break;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
89
110
|
}
|
|
111
|
+
return matches;
|
|
112
|
+
}
|
|
90
113
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
if (!
|
|
94
|
-
|
|
114
|
+
private hasRootMarker(file: string, markers: readonly string[]): boolean {
|
|
115
|
+
let directory = path.dirname(path.resolve(this._projectRoot, file));
|
|
116
|
+
if (file.startsWith(".") && !file.includes(path.sep)) directory = this._projectRoot;
|
|
117
|
+
for (;;) {
|
|
118
|
+
const relative = path.relative(this._projectRoot, directory);
|
|
119
|
+
// This checks containment; it does not construct a parent-relative path.
|
|
120
|
+
// eslint-disable-next-line repo/no-parent-paths
|
|
121
|
+
if (relative === ".." || relative.startsWith(`..${path.sep}`) || path.isAbsolute(relative))
|
|
122
|
+
return false;
|
|
123
|
+
if (markers.some((marker) => existsSync(path.join(directory, marker)))) return true;
|
|
124
|
+
if (directory === this._projectRoot) return false;
|
|
125
|
+
directory = path.dirname(directory);
|
|
95
126
|
}
|
|
96
|
-
|
|
97
|
-
return serverIds.map((serverId) => {
|
|
98
|
-
const entry = requiredValue(this._entriesById.get(serverId));
|
|
99
|
-
return {
|
|
100
|
-
serverId,
|
|
101
|
-
config: entry.config,
|
|
102
|
-
languageId,
|
|
103
|
-
layer: entry.layer,
|
|
104
|
-
sourcePath: entry.sourcePath,
|
|
105
|
-
};
|
|
106
|
-
});
|
|
107
127
|
}
|
|
108
128
|
|
|
109
129
|
/**
|
|
@@ -131,10 +151,7 @@ export class LspServerRegistry {
|
|
|
131
151
|
Resolves a file extension to the canonical LSP languageId.
|
|
132
152
|
*/
|
|
133
153
|
languageId(extension: string): string {
|
|
134
|
-
|
|
135
|
-
? extension.toLowerCase()
|
|
136
|
-
: `.${extension.toLowerCase()}`;
|
|
137
|
-
return this._lookup.extToLanguageId.get(normalized) ?? extension.slice(1);
|
|
154
|
+
return this.resolve(extension)[0]?.languageId ?? extension.slice(1);
|
|
138
155
|
}
|
|
139
156
|
}
|
|
140
157
|
|
|
@@ -182,6 +199,13 @@ export function parseLspConfig(value: unknown): LspServersConfig {
|
|
|
182
199
|
throw new Error(`LSP server ${id}.rootMarkers must be a string array`);
|
|
183
200
|
}
|
|
184
201
|
|
|
202
|
+
if (server.requireRootMarker !== undefined && typeof server.requireRootMarker !== "boolean") {
|
|
203
|
+
throw new TypeError(`LSP server ${id}.requireRootMarker must be a boolean`);
|
|
204
|
+
}
|
|
205
|
+
if (server.requireRootMarker && (server.rootMarkers as string[]).length === 0) {
|
|
206
|
+
throw new Error(`LSP server ${id}.requireRootMarker requires rootMarkers`);
|
|
207
|
+
}
|
|
208
|
+
|
|
185
209
|
if (
|
|
186
210
|
typeof server.languages !== "object" ||
|
|
187
211
|
server.languages === null ||
|
|
@@ -205,6 +229,17 @@ export function parseLspConfig(value: unknown): LspServersConfig {
|
|
|
205
229
|
) {
|
|
206
230
|
throw new Error(`LSP server ${id} language ${language} requires extensions`);
|
|
207
231
|
}
|
|
232
|
+
|
|
233
|
+
const fileNames = (languageValue as Record<string, unknown>).fileNames;
|
|
234
|
+
if (
|
|
235
|
+
fileNames !== undefined &&
|
|
236
|
+
(!Array.isArray(fileNames) ||
|
|
237
|
+
fileNames.some(
|
|
238
|
+
(name) => typeof name !== "string" || name.length === 0 || /[/\\]/u.test(name),
|
|
239
|
+
))
|
|
240
|
+
) {
|
|
241
|
+
throw new Error(`LSP server ${id} language ${language}.fileNames must contain basenames`);
|
|
242
|
+
}
|
|
208
243
|
}
|
|
209
244
|
|
|
210
245
|
if (!Array.isArray(server.capabilities)) {
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { Writable } from "node:stream";
|
|
2
|
+
import { StreamMessageWriter, type Message } from "vscode-jsonrpc/node";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Ends the connection on write failure instead of rejecting into JSON-RPC 9's
|
|
6
|
+
* async Promise executor. The owner must dispose the connection so pending
|
|
7
|
+
* requests reject; a failed transport must never look like a successful request.
|
|
8
|
+
*/
|
|
9
|
+
export class TransportWriter extends StreamMessageWriter {
|
|
10
|
+
constructor(
|
|
11
|
+
stream: Writable,
|
|
12
|
+
private readonly fail: (error: unknown) => void,
|
|
13
|
+
) {
|
|
14
|
+
super(stream);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
override async write(message: Message): Promise<void> {
|
|
18
|
+
try {
|
|
19
|
+
await super.write(message);
|
|
20
|
+
} catch (error) {
|
|
21
|
+
this.fail(error);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -53,6 +53,8 @@ export interface LspTextEdit {
|
|
|
53
53
|
|
|
54
54
|
export interface LanguageEntry {
|
|
55
55
|
extensions: string[];
|
|
56
|
+
/** Exact basenames for files such as Dockerfile and CMakeLists.txt. */
|
|
57
|
+
fileNames?: string[];
|
|
56
58
|
}
|
|
57
59
|
|
|
58
60
|
export type ServerCapability = "diagnostics";
|
|
@@ -61,6 +63,9 @@ export interface ServerConfig {
|
|
|
61
63
|
command: string[];
|
|
62
64
|
transport?: "stdio";
|
|
63
65
|
rootMarkers: string[];
|
|
66
|
+
|
|
67
|
+
/** Require a root marker in the file's directory or an ancestor inside the project. */
|
|
68
|
+
requireRootMarker?: boolean;
|
|
64
69
|
languages: Record<string, LanguageEntry>;
|
|
65
70
|
capabilities: ServerCapability[];
|
|
66
71
|
env?: Record<string, string>;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-agent-image",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"types": "./src/index.ts",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": {
|
|
8
8
|
"types": "./src/index.ts",
|
|
9
|
-
"default": "./runtime/entry-
|
|
9
|
+
"default": "./runtime/entry-33.js"
|
|
10
10
|
}
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"pi-agent-resource": "0.2.
|
|
13
|
+
"pi-agent-resource": "0.2.1"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
16
|
"@earendil-works/pi-coding-agent": "*"
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-agent-invariant",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"types": "./src/index.ts",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": {
|
|
8
8
|
"types": "./src/index.ts",
|
|
9
|
-
"default": "./runtime/entry-
|
|
9
|
+
"default": "./runtime/entry-34.js"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-agent-pdf",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"types": "./src/index.ts",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": {
|
|
8
8
|
"types": "./src/index.ts",
|
|
9
|
-
"default": "./runtime/entry-
|
|
9
|
+
"default": "./runtime/entry-35.js"
|
|
10
10
|
}
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"pdfjs-dist": "^6.2.108",
|
|
14
|
-
"pi-agent-resource": "0.2.
|
|
14
|
+
"pi-agent-resource": "0.2.1"
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-agent-read",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"imports": {
|
|
6
6
|
"#src/*": "./src/*"
|
|
@@ -8,31 +8,31 @@
|
|
|
8
8
|
"exports": {
|
|
9
9
|
"./api/connect-plugin": {
|
|
10
10
|
"types": "./src/api/connect-plugin.ts",
|
|
11
|
-
"default": "./runtime/entry-
|
|
11
|
+
"default": "./runtime/entry-36.js"
|
|
12
12
|
},
|
|
13
13
|
"./api/rendering": {
|
|
14
14
|
"types": "./src/api/rendering.ts",
|
|
15
|
-
"default": "./runtime/entry-
|
|
15
|
+
"default": "./runtime/entry-37.js"
|
|
16
16
|
},
|
|
17
17
|
"./api/plugin-protocol": {
|
|
18
18
|
"types": "./src/api/plugin-protocol.ts",
|
|
19
|
-
"default": "./runtime/entry-
|
|
19
|
+
"default": "./runtime/entry-38.js"
|
|
20
20
|
},
|
|
21
21
|
"./api/tools/read": {
|
|
22
22
|
"types": "./src/api/tools/read.ts",
|
|
23
|
-
"default": "./runtime/entry-
|
|
23
|
+
"default": "./runtime/entry-39.js"
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"pi-agent-invariant": "0.2.
|
|
28
|
-
"pi-agent-resource": "0.2.
|
|
29
|
-
"pi-agent-text": "0.2.
|
|
30
|
-
"pi-agent-tool-call-interception": "0.2.
|
|
31
|
-
"pi-agent-tool-ui": "0.2.
|
|
27
|
+
"pi-agent-invariant": "0.2.1",
|
|
28
|
+
"pi-agent-resource": "0.2.1",
|
|
29
|
+
"pi-agent-text": "0.2.1",
|
|
30
|
+
"pi-agent-tool-call-interception": "0.2.1",
|
|
31
|
+
"pi-agent-tool-ui": "0.2.1"
|
|
32
32
|
},
|
|
33
33
|
"pi": {
|
|
34
34
|
"extensions": [
|
|
35
|
-
"./runtime/entry-
|
|
35
|
+
"./runtime/entry-40.js"
|
|
36
36
|
]
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-agent-resource",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"types": "./src/index.ts",
|
|
6
6
|
"imports": {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
11
11
|
"types": "./src/index.ts",
|
|
12
|
-
"default": "./runtime/entry-
|
|
12
|
+
"default": "./runtime/entry-41.js"
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-agent-search",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"imports": {
|
|
6
6
|
"#src/*": "./src/*"
|
|
@@ -8,24 +8,24 @@
|
|
|
8
8
|
"exports": {
|
|
9
9
|
"./api/connect-plugin": {
|
|
10
10
|
"types": "./src/api/connect-plugin.ts",
|
|
11
|
-
"default": "./runtime/entry-
|
|
11
|
+
"default": "./runtime/entry-42.js"
|
|
12
12
|
},
|
|
13
13
|
"./api/plugin-protocol": {
|
|
14
14
|
"types": "./src/api/plugin-protocol.ts",
|
|
15
|
-
"default": "./runtime/entry-
|
|
15
|
+
"default": "./runtime/entry-43.js"
|
|
16
16
|
},
|
|
17
17
|
"./api/search": {
|
|
18
18
|
"types": "./src/api/search.ts",
|
|
19
|
-
"default": "./runtime/entry-
|
|
19
|
+
"default": "./runtime/entry-44.js"
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"pi-agent-tool-call-interception": "0.2.
|
|
24
|
-
"pi-agent-tool-ui": "0.2.
|
|
23
|
+
"pi-agent-tool-call-interception": "0.2.1",
|
|
24
|
+
"pi-agent-tool-ui": "0.2.1"
|
|
25
25
|
},
|
|
26
26
|
"pi": {
|
|
27
27
|
"extensions": [
|
|
28
|
-
"./runtime/entry-
|
|
28
|
+
"./runtime/entry-45.js"
|
|
29
29
|
]
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-agent-search-text",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"imports": {
|
|
6
6
|
"#src/*": "./src/*"
|
|
@@ -8,23 +8,23 @@
|
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
10
|
"types": "./index.ts",
|
|
11
|
-
"default": "./runtime/entry-
|
|
11
|
+
"default": "./runtime/entry-46.js"
|
|
12
12
|
},
|
|
13
13
|
"./search-session": {
|
|
14
14
|
"types": "./src/search-session.ts",
|
|
15
|
-
"default": "./runtime/entry-
|
|
15
|
+
"default": "./runtime/entry-47.js"
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"pi-agent-doctor": "0.2.
|
|
20
|
-
"pi-agent-invariant": "0.2.
|
|
21
|
-
"pi-agent-search": "0.2.
|
|
22
|
-
"pi-agent-text": "0.2.
|
|
23
|
-
"pi-agent-text-editor": "0.2.
|
|
19
|
+
"pi-agent-doctor": "0.2.1",
|
|
20
|
+
"pi-agent-invariant": "0.2.1",
|
|
21
|
+
"pi-agent-search": "0.2.1",
|
|
22
|
+
"pi-agent-text": "0.2.1",
|
|
23
|
+
"pi-agent-text-editor": "0.2.1"
|
|
24
24
|
},
|
|
25
25
|
"pi": {
|
|
26
26
|
"extensions": [
|
|
27
|
-
"./runtime/entry-
|
|
27
|
+
"./runtime/entry-46.js"
|
|
28
28
|
]
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-agent-text",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"types": "./src/index.ts",
|
|
6
6
|
"imports": {
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
11
11
|
"types": "./src/index.ts",
|
|
12
|
-
"default": "./runtime/entry-
|
|
12
|
+
"default": "./runtime/entry-48.js"
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"pi-agent-resource": "0.2.
|
|
16
|
+
"pi-agent-resource": "0.2.1"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
19
|
"typebox": "*"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "../../../dist/entry-48.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-agent-text-anchor-constant",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"imports": {
|
|
6
6
|
"#src/*": "./src/*"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"pi-agent-text": "0.2.
|
|
10
|
-
"pi-agent-text-editor": "0.2.
|
|
9
|
+
"pi-agent-text": "0.2.1",
|
|
10
|
+
"pi-agent-text-editor": "0.2.1"
|
|
11
11
|
},
|
|
12
12
|
"pi": {
|
|
13
13
|
"extensions": [
|
|
14
|
-
"./runtime/entry-
|
|
14
|
+
"./runtime/entry-49.js"
|
|
15
15
|
]
|
|
16
16
|
},
|
|
17
17
|
"peerDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-agent-text-anchor-exact",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"imports": {
|
|
6
6
|
"#src/*": "./src/*"
|
|
@@ -8,17 +8,17 @@
|
|
|
8
8
|
"exports": {
|
|
9
9
|
"./api/anchor": {
|
|
10
10
|
"types": "./src/anchor.ts",
|
|
11
|
-
"default": "./runtime/entry-
|
|
11
|
+
"default": "./runtime/entry-50.js"
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"fast-fuzzy": "1.12.0",
|
|
16
|
-
"pi-agent-text": "0.2.
|
|
17
|
-
"pi-agent-text-editor": "0.2.
|
|
16
|
+
"pi-agent-text": "0.2.1",
|
|
17
|
+
"pi-agent-text-editor": "0.2.1"
|
|
18
18
|
},
|
|
19
19
|
"pi": {
|
|
20
20
|
"extensions": [
|
|
21
|
-
"./runtime/entry-
|
|
21
|
+
"./runtime/entry-51.js"
|
|
22
22
|
]
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|