pi-agent-ide 0.9.5 → 0.9.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist/{chunk-BU7IZLKB.js → chunk-2DSY4U73.js} +1 -1
- package/dist/chunk-2YO6RVX4.js +1 -0
- package/dist/{chunk-CJPS4GXD.js → chunk-34IYWKY5.js} +1 -1
- package/dist/{chunk-TL4PHMAU.js → chunk-4CSNQX54.js} +1 -1
- package/dist/{chunk-I7AGYUPS.js → chunk-53IV6EKV.js} +1 -1
- package/dist/{chunk-K2G3IMXR.js → chunk-5DN2XBVI.js} +1 -1
- package/dist/{chunk-D45H2PNW.js → chunk-6W4OJLCJ.js} +1 -1
- package/dist/{chunk-JDAH3IXR.js → chunk-6ZYCTWQE.js} +1 -1
- package/dist/{chunk-BB4A5UI3.js → chunk-7JWZPJI5.js} +1 -1
- package/dist/{chunk-ULO3YOBE.js → chunk-AMSNDWBT.js} +1 -1
- package/dist/{chunk-DMHLIVN6.js → chunk-APWMLLSE.js} +6 -6
- package/dist/{chunk-U2ROTQLD.js → chunk-B5UJCNQU.js} +1 -1
- package/dist/{chunk-VWP2HLFT.js → chunk-BMSAVDRD.js} +6 -6
- package/dist/{chunk-A75GMLA4.js → chunk-BRJIXNFU.js} +1 -1
- package/dist/{chunk-IMMOFDTW.js → chunk-C2GZLLSP.js} +2 -2
- package/dist/{chunk-KUPYPCRL.js → chunk-DHOIQZUF.js} +1 -1
- package/dist/{chunk-DFUGBEHK.js → chunk-ECSMTGVM.js} +3 -3
- package/dist/{chunk-DEP55R35.js → chunk-EHFWODRT.js} +1 -1
- package/dist/{chunk-UCTBXRGA.js → chunk-FBR7ZLLN.js} +1 -1
- package/dist/{chunk-ANTYGMDR.js → chunk-FGN2ZMEN.js} +1 -1
- package/dist/{chunk-QBA36YEN.js → chunk-FJSYWOE6.js} +1 -1
- package/dist/chunk-H6FEBUAP.js +1 -0
- package/dist/{chunk-Y6FXFXCN.js → chunk-HFF4GY7R.js} +1 -1
- package/dist/{chunk-WPATZK4Y.js → chunk-HJXSEPO7.js} +1 -1
- package/dist/{chunk-7IYO2R47.js → chunk-HSEDKYH4.js} +1 -1
- package/dist/{chunk-VNCQGBM6.js → chunk-II7AOJNH.js} +1 -1
- package/dist/{chunk-GFITSPSQ.js → chunk-J6CDIH3S.js} +15 -15
- package/dist/{chunk-V6IPWCPS.js → chunk-JHWLRL4U.js} +1 -1
- package/dist/{chunk-FNJ6X7OP.js → chunk-JMQ67UNK.js} +1 -1
- package/dist/{chunk-KMFQBEIR.js → chunk-JRIP33PC.js} +1 -1
- package/dist/chunk-JYITLCXC.js +1 -0
- package/dist/{chunk-7D4ZCPH4.js → chunk-LIGOOMJS.js} +3 -3
- package/dist/{chunk-FUOB54RU.js → chunk-LY2UANKU.js} +3 -3
- package/dist/chunk-M7P7V4WI.js +25 -0
- package/dist/{chunk-W4IAODWI.js → chunk-NF74ITWT.js} +2 -2
- package/dist/{chunk-EL4KJ3Q2.js → chunk-NQYUIQRH.js} +1 -1
- package/dist/{chunk-MZW7L37L.js → chunk-OIEA4QWF.js} +2 -2
- package/dist/{chunk-3E7YABYT.js → chunk-ON5HDFNL.js} +1 -1
- package/dist/{chunk-G3OPALJH.js → chunk-P43GGKUC.js} +5 -5
- package/dist/{chunk-GCJHOMSI.js → chunk-P7FUD4WY.js} +1 -1
- package/dist/{chunk-72YIFABM.js → chunk-QGXZ4RWX.js} +1 -1
- package/dist/{chunk-ALZV2EYT.js → chunk-S7E2D5K7.js} +2 -2
- package/dist/{chunk-5GASXMD2.js → chunk-T5ACAOKJ.js} +3 -3
- package/dist/{chunk-7GKCQCMS.js → chunk-TWJINFQB.js} +4 -4
- package/dist/{chunk-2WQFGBV2.js → chunk-TWQ6ACOI.js} +1 -1
- package/dist/chunk-UDVVKVG4.js +1 -0
- package/dist/{chunk-NFXS3E2A.js → chunk-V2D5MLGE.js} +1 -1
- package/dist/{chunk-6TOFURDG.js → chunk-VDSSAP6Y.js} +1 -1
- package/dist/{chunk-AVJVTF5H.js → chunk-VHYJTAXX.js} +1 -1
- package/dist/{chunk-6UGSUMTI.js → chunk-WCSWQDJ2.js} +1 -1
- package/dist/{chunk-X6VMRL6L.js → chunk-WQTF6Q2X.js} +1 -1
- package/dist/{chunk-Q6JB5VAP.js → chunk-YFPU2LRR.js} +7 -7
- package/dist/{chunk-ISNWEIUW.js → chunk-YLEERRX3.js} +13 -13
- package/dist/{chunk-6BAGTM7U.js → chunk-YOJHCARZ.js} +1 -1
- package/dist/chunk-YPTDPMK5.js +1 -0
- package/dist/{chunk-37UNDG6V.js → chunk-YZTVC7ME.js} +1 -1
- package/dist/entry-0.js +1 -1
- package/dist/entry-10.js +1 -1
- package/dist/entry-11.js +1 -1
- package/dist/entry-14.js +1 -1
- package/dist/entry-15.js +1 -1
- package/dist/entry-17.js +1 -1
- package/dist/entry-21.js +1 -1
- package/dist/entry-22.js +1 -1
- package/dist/entry-25.js +1 -1
- package/dist/entry-31.js +1 -1
- package/dist/entry-33.js +1 -1
- package/dist/entry-34.js +1 -1
- package/dist/entry-36.js +1 -1
- package/dist/entry-37.js +1 -1
- package/dist/entry-38.js +3 -3
- 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-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-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-62.js +1 -1
- package/dist/entry-63.js +1 -1
- package/dist/entry-64.js +1 -1
- package/dist/entry-65.js +1 -1
- package/dist/entry-66.js +1 -1
- package/dist/entry-67.js +1 -1
- package/dist/entry-69.js +1 -1
- package/dist/entry-72.js +1 -1
- package/dist/entry-74.js +1 -1
- package/dist/entry-75.js +1 -1
- package/dist/entry-79.js +1 -1
- package/dist/entry-84.js +1 -1
- package/dist/entry-85.js +1 -1
- package/dist/entry-86.js +1 -1
- package/dist/entry-90.js +1 -1
- package/dist/entry-94.js +1 -1
- package/dist/pi-agent-ide.js +6 -6
- package/docs/development.md +2 -0
- package/node_modules/pi-agent-doctor/package.json +1 -1
- package/node_modules/pi-agent-doctor/src/connect-plugin.ts +2 -2
- package/node_modules/pi-agent-doctor/src/evidence.ts +1 -1
- package/node_modules/pi-agent-doctor/src/fixtures/executable-probe.ts +2 -2
- package/node_modules/pi-agent-doctor/src/plugin-protocol.ts +4 -4
- package/node_modules/pi-agent-doctor/src/project-probes.ts +2 -2
- package/node_modules/pi-agent-doctor/src/workspace.ts +2 -2
- package/node_modules/pi-agent-documentation/package.json +1 -1
- package/node_modules/pi-agent-filesystem/index.ts +2 -2
- package/node_modules/pi-agent-filesystem/package.json +7 -7
- package/node_modules/pi-agent-filesystem/src/resolver.ts +2 -2
- package/node_modules/pi-agent-filesystem-image/package.json +3 -3
- package/node_modules/pi-agent-filesystem-jq/index.ts +1 -1
- package/node_modules/pi-agent-filesystem-jq/package.json +5 -5
- package/node_modules/pi-agent-filesystem-jq/src/api/jq.ts +1 -1
- package/node_modules/pi-agent-filesystem-pdf/package.json +3 -3
- package/node_modules/pi-agent-filesystem-text/package.json +3 -3
- package/node_modules/pi-agent-ide-ast/index.ts +1 -1
- package/node_modules/pi-agent-ide-ast/package.json +13 -13
- package/node_modules/pi-agent-ide-ast/src/api/scope.ts +1 -1
- package/node_modules/pi-agent-ide-ast/src/ast/manager.ts +2 -2
- package/node_modules/pi-agent-ide-ast/src/ast/native-parser.ts +1 -1
- package/node_modules/pi-agent-ide-ast/src/ast/outline.ts +5 -5
- package/node_modules/pi-agent-ide-ast/src/doctor-plugin.ts +1 -1
- package/node_modules/pi-agent-ide-ast/src/extension.ts +8 -8
- package/node_modules/pi-agent-ide-ast/src/outline-resolver.ts +3 -3
- package/node_modules/pi-agent-ide-ast/src/overflow-handler.ts +1 -1
- package/node_modules/pi-agent-ide-ast/src/scope-handler.ts +1 -1
- package/node_modules/pi-agent-ide-ast/src/scope-resolver.ts +1 -1
- package/node_modules/pi-agent-ide-ast/src/search-resolver.ts +1 -1
- package/node_modules/pi-agent-ide-ast/src/tool-ast-search.ts +1 -1
- package/node_modules/pi-agent-ide-changes/index.ts +9 -9
- package/node_modules/pi-agent-ide-changes/package.json +8 -8
- package/node_modules/pi-agent-ide-changes/src/change-anchor.ts +4 -4
- package/node_modules/pi-agent-ide-changes/src/changes/change-groups.ts +1 -1
- package/node_modules/pi-agent-ide-changes/src/changes/change-service.ts +4 -4
- package/node_modules/pi-agent-ide-changes/src/changes/git-changes-backend.ts +1 -1
- package/node_modules/pi-agent-ide-changes/src/current-change-presenter.ts +4 -4
- package/node_modules/pi-agent-ide-changes/src/tool-index-change.ts +5 -5
- package/node_modules/pi-agent-ide-changes/src/tool-text-undo.ts +6 -6
- package/node_modules/pi-agent-ide-formatter/index.ts +5 -5
- package/node_modules/pi-agent-ide-formatter/package.json +3 -3
- package/node_modules/pi-agent-ide-formatter/src/doctor-plugin.ts +2 -2
- package/node_modules/pi-agent-ide-formatter/src/formatter.ts +2 -2
- package/node_modules/pi-agent-ide-formatter/src/registry.ts +1 -1
- package/node_modules/pi-agent-ide-languages/index.ts +1 -1
- package/node_modules/pi-agent-ide-languages/package.json +2 -2
- package/node_modules/pi-agent-ide-lint/index.ts +9 -9
- package/node_modules/pi-agent-ide-lint/package.json +7 -7
- package/node_modules/pi-agent-ide-lint/src/command-linter.ts +2 -2
- package/node_modules/pi-agent-ide-lint/src/doctor-plugin.ts +3 -3
- package/node_modules/pi-agent-ide-lint/src/registry.ts +1 -1
- package/node_modules/pi-agent-ide-lsp/index.ts +17 -17
- package/node_modules/pi-agent-ide-lsp/package.json +12 -12
- package/node_modules/pi-agent-ide-lsp/src/declaration-targets.ts +3 -3
- package/node_modules/pi-agent-ide-lsp/src/diagnostic-source.ts +3 -3
- package/node_modules/pi-agent-ide-lsp/src/doctor-plugin.ts +4 -4
- package/node_modules/pi-agent-ide-lsp/src/lsp/client.ts +7 -7
- package/node_modules/pi-agent-ide-lsp/src/lsp/code-views.ts +9 -9
- package/node_modules/pi-agent-ide-lsp/src/lsp/diagnostic-adapters.ts +1 -1
- package/node_modules/pi-agent-ide-lsp/src/lsp/diagnostics.ts +4 -4
- package/node_modules/pi-agent-ide-lsp/src/lsp/document-leases.ts +1 -1
- package/node_modules/pi-agent-ide-lsp/src/lsp/index.ts +19 -19
- package/node_modules/pi-agent-ide-lsp/src/lsp/language-map.ts +1 -1
- package/node_modules/pi-agent-ide-lsp/src/lsp/lsp-compiler.ts +4 -4
- package/node_modules/pi-agent-ide-lsp/src/lsp/manager.ts +13 -13
- package/node_modules/pi-agent-ide-lsp/src/lsp/navigation.ts +3 -3
- package/node_modules/pi-agent-ide-lsp/src/lsp/owner-transport.ts +1 -1
- package/node_modules/pi-agent-ide-lsp/src/lsp/position-map.ts +1 -1
- package/node_modules/pi-agent-ide-lsp/src/lsp/project.ts +1 -1
- package/node_modules/pi-agent-ide-lsp/src/lsp/registry.ts +2 -2
- package/node_modules/pi-agent-ide-lsp/src/lsp/rename.ts +2 -2
- package/node_modules/pi-agent-ide-lsp/src/lsp/shared-server-host.mjs +17 -5
- package/node_modules/pi-agent-ide-lsp/src/lsp/symbol-search.ts +7 -7
- package/node_modules/pi-agent-ide-lsp/src/lsp/symbols.ts +3 -3
- package/node_modules/pi-agent-ide-lsp/src/lsp/workspace-owner.ts +1 -1
- package/node_modules/pi-agent-ide-lsp/src/manager-provider.ts +1 -1
- package/node_modules/pi-agent-ide-lsp/src/rename-plan.ts +8 -8
- package/node_modules/pi-agent-ide-lsp/src/search-resolver.ts +4 -4
- package/node_modules/pi-agent-ide-lsp/src/tool-lsp-search.ts +1 -1
- package/node_modules/pi-agent-image/package.json +2 -2
- package/node_modules/pi-agent-image/src/index.ts +1 -1
- package/node_modules/pi-agent-invariant/package.json +1 -1
- package/node_modules/pi-agent-pdf/package.json +2 -2
- package/node_modules/pi-agent-pdf/src/index.ts +1 -1
- package/node_modules/pi-agent-read/index.ts +1 -1
- package/node_modules/pi-agent-read/package.json +7 -7
- package/node_modules/pi-agent-read/src/api/connect-plugin.ts +1 -1
- package/node_modules/pi-agent-read/src/api/plugin-protocol.ts +1 -1
- package/node_modules/pi-agent-read/src/api/read-parameters.ts +1 -1
- package/node_modules/pi-agent-read/src/api/rendering.ts +2 -2
- package/node_modules/pi-agent-read/src/api/tools/read.ts +2 -2
- package/node_modules/pi-agent-read/src/core/extension.ts +4 -4
- package/node_modules/pi-agent-read/src/core/read-core.ts +4 -4
- package/node_modules/pi-agent-read/src/core/tools/read/output-truncation.ts +2 -2
- package/node_modules/pi-agent-read/src/core/tools/read/persisted-result.ts +1 -1
- package/node_modules/pi-agent-read/src/core/tools/read/raw-read.ts +3 -3
- package/node_modules/pi-agent-read/src/core/tools/read/read-renderer.ts +4 -4
- package/node_modules/pi-agent-read/src/core/tools/read/read-result.ts +1 -1
- package/node_modules/pi-agent-read/src/core/tools/read/result-target.ts +1 -1
- package/node_modules/pi-agent-read/src/core/tools/read/structured-result.ts +2 -2
- package/node_modules/pi-agent-read/src/core/tools/tool-read.ts +7 -7
- package/node_modules/pi-agent-resource/package.json +1 -1
- package/node_modules/pi-agent-resource/src/content-conversion/connect-plugin.ts +4 -4
- package/node_modules/pi-agent-resource/src/content-conversion/content-converter.ts +1 -1
- package/node_modules/pi-agent-resource/src/content-conversion/content-description.ts +1 -1
- package/node_modules/pi-agent-resource/src/content-conversion/content-host.ts +4 -4
- package/node_modules/pi-agent-resource/src/content-conversion/content-runner.ts +3 -3
- package/node_modules/pi-agent-resource/src/content-conversion/plugin-protocol.ts +2 -2
- package/node_modules/pi-agent-resource/src/content-conversion/validation.ts +2 -2
- package/node_modules/pi-agent-resource/src/index.ts +19 -19
- package/node_modules/pi-agent-resource/src/resolver.ts +1 -1
- package/node_modules/pi-agent-resource/src/resource-access.ts +1 -1
- package/node_modules/pi-agent-resource/src/resource-error.ts +1 -1
- package/node_modules/pi-agent-resource/src/resource.ts +1 -1
- package/node_modules/pi-agent-resource/src/result-images.ts +1 -1
- package/node_modules/pi-agent-resource/src/temp-resource-store.ts +2 -2
- package/node_modules/pi-agent-resource/src/tool-result.ts +2 -2
- package/node_modules/pi-agent-resource/src/validation.ts +3 -3
- package/node_modules/pi-agent-search/index.ts +1 -1
- package/node_modules/pi-agent-search/package.json +5 -5
- package/node_modules/pi-agent-search/src/api/connect-plugin.ts +1 -1
- package/node_modules/pi-agent-search/src/api/fuzzy.ts +2 -2
- package/node_modules/pi-agent-search/src/api/plugin-protocol.ts +1 -1
- package/node_modules/pi-agent-search/src/api/presentation.ts +1 -1
- package/node_modules/pi-agent-search/src/api/search-scope.ts +1 -1
- package/node_modules/pi-agent-search/src/api/search.ts +7 -7
- package/node_modules/pi-agent-search/src/core/extension.ts +7 -7
- package/node_modules/pi-agent-search/src/core/search-core.ts +3 -3
- package/node_modules/pi-agent-search-text/index.ts +8 -8
- package/node_modules/pi-agent-search-text/package.json +10 -10
- package/node_modules/pi-agent-search-text/src/doctor-plugin.ts +1 -1
- package/node_modules/pi-agent-search-text/src/file-search.ts +1 -1
- package/node_modules/pi-agent-search-text/src/fuzzy-search.ts +2 -2
- package/node_modules/pi-agent-search-text/src/persisted-result.ts +1 -1
- package/node_modules/pi-agent-search-text/src/resolvers.ts +9 -9
- package/node_modules/pi-agent-search-text/src/scoped-search.ts +4 -4
- package/node_modules/pi-agent-search-text/src/search-backend.ts +3 -3
- package/node_modules/pi-agent-search-text/src/search-presentation.ts +1 -1
- package/node_modules/pi-agent-search-text/src/search-recipe.ts +2 -2
- package/node_modules/pi-agent-search-text/src/search-renderer.ts +3 -3
- package/node_modules/pi-agent-search-text/src/search-result.ts +2 -2
- package/node_modules/pi-agent-search-text/src/search-session.ts +1 -1
- package/node_modules/pi-agent-search-text/src/tool-file-search.ts +1 -1
- package/node_modules/pi-agent-text/package.json +2 -2
- package/node_modules/pi-agent-text/src/index.ts +7 -7
- package/node_modules/pi-agent-text/src/source-line.ts +1 -1
- package/node_modules/pi-agent-text/src/text-document.ts +1 -1
- package/node_modules/pi-agent-text-anchor-constant/index.ts +1 -1
- package/node_modules/pi-agent-text-anchor-constant/package.json +3 -3
- package/node_modules/pi-agent-text-anchor-exact/index.ts +2 -2
- package/node_modules/pi-agent-text-anchor-exact/package.json +3 -3
- package/node_modules/pi-agent-text-anchor-exact/src/anchor.ts +2 -2
- package/node_modules/pi-agent-text-anchor-exact/src/recovery.ts +3 -3
- package/node_modules/pi-agent-text-anchor-line-hash/index.ts +2 -2
- package/node_modules/pi-agent-text-anchor-line-hash/package.json +5 -5
- package/node_modules/pi-agent-text-anchor-line-hash/src/read-handler.ts +1 -1
- package/node_modules/pi-agent-text-editor/index.ts +5 -5
- package/node_modules/pi-agent-text-editor/package.json +9 -9
- package/node_modules/pi-agent-text-editor/src/api/connect-plugin.ts +1 -1
- package/node_modules/pi-agent-text-editor/src/api/edit-pipeline.ts +2 -2
- package/node_modules/pi-agent-text-editor/src/api/file-operations.ts +2 -2
- package/node_modules/pi-agent-text-editor/src/api/file-transfers.ts +1 -1
- package/node_modules/pi-agent-text-editor/src/api/mutation-guard.ts +4 -4
- package/node_modules/pi-agent-text-editor/src/api/mutation-result.ts +3 -3
- package/node_modules/pi-agent-text-editor/src/api/mutation-tool.ts +2 -2
- package/node_modules/pi-agent-text-editor/src/api/native-edit-batch-event.ts +1 -1
- package/node_modules/pi-agent-text-editor/src/api/native-files.ts +1 -1
- package/node_modules/pi-agent-text-editor/src/api/plugin-protocol.ts +14 -14
- package/node_modules/pi-agent-text-editor/src/api/post-edit.ts +3 -3
- package/node_modules/pi-agent-text-editor/src/api/tool-call-interceptor.ts +1 -1
- package/node_modules/pi-agent-text-editor/src/api/tool-renderer.ts +2 -2
- package/node_modules/pi-agent-text-editor/src/core/delete-policy.ts +3 -3
- package/node_modules/pi-agent-text-editor/src/core/diff-tool.ts +3 -3
- package/node_modules/pi-agent-text-editor/src/core/extension.ts +13 -13
- package/node_modules/pi-agent-text-editor/src/core/file-operation-guards.ts +2 -2
- package/node_modules/pi-agent-text-editor/src/core/file-operation-tools.ts +6 -6
- package/node_modules/pi-agent-text-editor/src/core/file-operations.ts +5 -5
- package/node_modules/pi-agent-text-editor/src/core/file-result-targets.ts +1 -1
- package/node_modules/pi-agent-text-editor/src/core/file-transfers.ts +3 -3
- package/node_modules/pi-agent-text-editor/src/core/image-write.ts +1 -1
- package/node_modules/pi-agent-text-editor/src/core/mutation-result/agent-diff.ts +3 -3
- package/node_modules/pi-agent-text-editor/src/core/mutation-result/file-mutation-agent-result.ts +4 -4
- package/node_modules/pi-agent-text-editor/src/core/mutation-result/final-state-fragment.ts +2 -2
- package/node_modules/pi-agent-text-editor/src/core/mutation-result/grouped-replacements.ts +1 -1
- package/node_modules/pi-agent-text-editor/src/core/mutation-result/inline-hints.ts +1 -1
- package/node_modules/pi-agent-text-editor/src/core/mutation-result-targets.ts +6 -6
- package/node_modules/pi-agent-text-editor/src/core/native-text-edit-batch.ts +22 -22
- package/node_modules/pi-agent-text-editor/src/core/post-edit-scope.ts +1 -1
- package/node_modules/pi-agent-text-editor/src/core/read-fragment-resolver.ts +3 -3
- package/node_modules/pi-agent-text-editor/src/core/result-input.ts +1 -1
- package/node_modules/pi-agent-text-editor/src/core/result-target-anchors.ts +2 -2
- package/node_modules/pi-agent-text-editor/src/core/result-transfer.ts +4 -4
- package/node_modules/pi-agent-text-editor/src/core/source-change-retry.ts +1 -1
- package/node_modules/pi-agent-text-editor/src/core/structured-result.ts +2 -2
- package/node_modules/pi-agent-text-editor/src/core/temporary-directories.ts +2 -2
- package/node_modules/pi-agent-text-editor/src/core/text-anchor-recovery.ts +1 -1
- package/node_modules/pi-agent-text-editor/src/core/text-anchor-registry.ts +3 -3
- package/node_modules/pi-agent-text-editor/src/core/text-edit-batch-coordinator.ts +2 -2
- package/node_modules/pi-agent-text-editor/src/core/text-edit-batch-recovery.ts +2 -2
- package/node_modules/pi-agent-text-editor/src/core/text-edit-batch-registrar.ts +19 -19
- package/node_modules/pi-agent-text-editor/src/core/text-edit-batch.ts +4 -4
- package/node_modules/pi-agent-text-editor/src/core/text-edit-origin.ts +1 -1
- package/node_modules/pi-agent-text-editor/src/core/text-editor-core.ts +19 -19
- package/node_modules/pi-agent-text-editor/src/core/text-mutation-anchor-error.ts +1 -1
- package/node_modules/pi-agent-text-editor/src/core/text-mutation.ts +29 -29
- package/node_modules/pi-agent-text-editor/src/core/tool-call-interceptor/coordinator.ts +4 -4
- package/node_modules/pi-agent-text-editor/src/core/tool-call-interceptor/streaming-provider.ts +1 -1
- package/node_modules/pi-agent-text-editor/src/core/write-agent-result.ts +3 -3
- package/node_modules/pi-agent-text-editor/src/tools/extension.ts +7 -7
- package/node_modules/pi-agent-text-editor/src/tools/text-selection.ts +2 -2
- package/node_modules/pi-agent-text-editor/src/tools/tool-text-copy.ts +4 -4
- package/node_modules/pi-agent-text-editor/src/tools/tool-text-delete.ts +4 -4
- package/node_modules/pi-agent-text-editor/src/tools/tool-text-insert.ts +3 -3
- package/node_modules/pi-agent-text-editor/src/tools/tool-text-move.ts +5 -5
- package/node_modules/pi-agent-text-editor/src/tools/tool-text-replace.ts +4 -4
- package/node_modules/pi-agent-text-editor/src/tools/tool-text-write.ts +1 -1
- package/node_modules/pi-agent-text-editor-renderer/index.ts +5 -5
- package/node_modules/pi-agent-text-editor-renderer/package.json +5 -5
- package/node_modules/pi-agent-text-editor-renderer/src/diff-renderer.ts +3 -3
- package/node_modules/pi-agent-text-editor-renderer/src/diff-viewport.ts +1 -1
- package/node_modules/pi-agent-text-editor-renderer/src/frozen-viewport.ts +2 -2
- package/node_modules/pi-agent-text-editor-renderer/src/mutation-panel.ts +4 -4
- package/node_modules/pi-agent-text-editor-renderer/src/mutation-projection.ts +2 -2
- package/node_modules/pi-agent-text-editor-renderer/src/mutation-result.ts +3 -3
- package/node_modules/pi-agent-text-editor-renderer/src/persisted-result.ts +2 -2
- package/node_modules/pi-agent-text-editor-renderer/src/render-resource.ts +1 -1
- package/node_modules/pi-agent-text-editor-renderer/src/renderer.ts +7 -7
- package/node_modules/pi-agent-text-editor-stale-anchor/package.json +5 -5
- package/node_modules/pi-agent-tool-call-interception/package.json +2 -2
- package/node_modules/pi-agent-tool-ui/package.json +1 -1
- package/node_modules/pi-agent-tool-ui/src/index.ts +1 -1
- package/node_modules/pi-agent-tool-ui/src/result-panel.ts +1 -1
- package/node_modules/pi-agent-web/index.ts +3 -3
- package/node_modules/pi-agent-web/package.json +7 -7
- package/node_modules/pi-agent-web/src/doctor-plugin.ts +1 -1
- package/node_modules/pi-agent-web/src/resolver.ts +1 -1
- package/node_modules/pi-agent-web-html/index.ts +1 -1
- package/node_modules/pi-agent-web-html/package.json +2 -2
- package/node_modules/pi-agent-web-html/src/html-converter.ts +1 -1
- package/node_modules/pi-agent-web-image/package.json +3 -3
- package/node_modules/pi-agent-web-pdf/package.json +3 -3
- package/node_modules/pi-agent-web-text/package.json +3 -3
- package/package.json +35 -35
- package/src/api/code-view.ts +3 -3
- package/src/api/connect-plugin.ts +1 -1
- package/src/api/connect-tip-provider.ts +2 -2
- package/src/api/doctor-runtime.ts +1 -1
- package/src/api/doctor.ts +1 -1
- package/src/api/hooks.ts +2 -2
- package/src/api/plugin-protocol.ts +1 -1
- package/src/api/standalone.ts +1 -1
- package/src/api/tips.ts +1 -1
- package/src/api/toolchain.ts +3 -3
- package/src/backend/config.ts +2 -2
- package/src/backend/configured-process.ts +5 -5
- package/src/backend/dap-java-transport.ts +6 -6
- package/src/backend/dap-node-transport.ts +5 -5
- package/src/backend/dap-tcp-transport.ts +3 -3
- package/src/backend/dap-transport.ts +5 -5
- package/src/backend/debugger-registration.ts +7 -7
- package/src/backend/debugger-workspace-owner.ts +10 -10
- package/src/backend/doctor-registration.ts +5 -5
- package/src/backend/doctor-workspace.ts +13 -13
- package/src/backend/file-operation-resolver.ts +5 -5
- package/src/backend/file-revision.ts +1 -1
- package/src/backend/file-transfer.ts +4 -4
- package/src/backend/formatter-registration.ts +11 -11
- package/src/backend/git-registration.ts +4 -4
- package/src/backend/index.ts +3 -3
- package/src/backend/lint-registration.ts +11 -11
- package/src/backend/lsp-file-watchers.ts +5 -5
- package/src/backend/lsp-registration.ts +11 -11
- package/src/backend/lsp-transport.ts +7 -7
- package/src/backend/lsp-workspace-owner.ts +4 -4
- package/src/backend/object-transfer.ts +5 -5
- package/src/backend/owned-command.ts +2 -2
- package/src/backend/owned-process-stop.ts +4 -4
- package/src/backend/owned-read-command.ts +2 -2
- package/src/backend/process-environment.ts +2 -2
- package/src/backend/process-metadata.ts +2 -2
- package/src/backend/recipe-evidence.ts +2 -2
- package/src/backend/registration.ts +8 -8
- package/src/backend/registry.ts +2 -2
- package/src/backend/resource-resolver.ts +2 -2
- package/src/backend/search-environment.ts +3 -3
- package/src/backend/ssh-channel.ts +3 -3
- package/src/backend/ssh-transport.ts +2 -2
- package/src/backend/ssh.ts +6 -6
- package/src/backend/tool-config-access.ts +4 -4
- package/src/backend/tool-project.ts +5 -5
- package/src/backend/web-browser.ts +3 -3
- package/src/backend/web-http.ts +2 -2
- package/src/backend/web-owner.ts +5 -5
- package/src/backend/web-registration.ts +5 -5
- package/src/code-review/extension.ts +3 -3
- package/src/code-review/reviewer.ts +2 -2
- package/src/code-view/diagnostic-view.ts +4 -4
- package/src/composite/builtin-extensions.ts +37 -37
- package/src/composite/capabilities.ts +2 -2
- package/src/composite/capability-schemas.ts +1 -1
- package/src/composite/extensions-config.ts +2 -2
- package/src/composite/module-settings-store.ts +2 -2
- package/src/composite/module-settings.ts +12 -12
- package/src/composite/nested-tool-rendering.ts +3 -3
- package/src/composite/output-limits.ts +6 -1
- package/src/composite/presets.ts +1 -1
- package/src/composite/reload-required.ts +6 -6
- package/src/composite/settings-documentation.ts +5 -5
- package/src/composite/settings-registry.ts +4 -4
- package/src/composite/text-results.ts +2 -2
- package/src/core/diagnostic-entry.ts +2 -2
- package/src/core/diagnostic-store.ts +3 -3
- package/src/core/extension.ts +8 -8
- package/src/core/ide-core.ts +4 -4
- package/src/doctor/config-writer.ts +3 -3
- package/src/doctor/core.ts +2 -2
- package/src/doctor/discovery.ts +4 -4
- package/src/doctor/extension.ts +7 -7
- package/src/doctor/index.ts +1 -1
- package/src/doctor/inventory.ts +1 -1
- package/src/doctor/run.ts +6 -6
- package/src/doctor/tip-provider.ts +2 -2
- package/src/documentation/extension.ts +3 -3
- package/src/documentation/registry.ts +1 -1
- package/src/documentation/search.ts +1 -1
- package/src/extensions/pi-agent-read/extensions/pi-agent-filesystem/index.ts +2 -2
- 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 +3 -3
- package/src/extensions/pi-agent-read/extensions/pi-agent-filesystem/plugins/pi-agent-filesystem-jq/index.ts +1 -1
- package/src/extensions/pi-agent-read/extensions/pi-agent-filesystem/plugins/pi-agent-filesystem-jq/package.json +5 -5
- package/src/extensions/pi-agent-read/extensions/pi-agent-filesystem/plugins/pi-agent-filesystem-jq/src/api/jq.ts +1 -1
- package/src/extensions/pi-agent-read/extensions/pi-agent-filesystem/plugins/pi-agent-filesystem-pdf/package.json +3 -3
- package/src/extensions/pi-agent-read/extensions/pi-agent-filesystem/plugins/pi-agent-filesystem-text/package.json +3 -3
- package/src/extensions/pi-agent-read/extensions/pi-agent-filesystem/src/resolver.ts +2 -2
- package/src/extensions/pi-agent-read/extensions/pi-agent-web/index.ts +3 -3
- 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/index.ts +1 -1
- package/src/extensions/pi-agent-read/extensions/pi-agent-web/plugins/pi-agent-web-html/package.json +2 -2
- package/src/extensions/pi-agent-read/extensions/pi-agent-web/plugins/pi-agent-web-html/src/html-converter.ts +1 -1
- package/src/extensions/pi-agent-read/extensions/pi-agent-web/plugins/pi-agent-web-image/package.json +3 -3
- package/src/extensions/pi-agent-read/extensions/pi-agent-web/plugins/pi-agent-web-pdf/package.json +3 -3
- package/src/extensions/pi-agent-read/extensions/pi-agent-web/plugins/pi-agent-web-text/package.json +3 -3
- package/src/extensions/pi-agent-read/extensions/pi-agent-web/src/doctor-plugin.ts +1 -1
- package/src/extensions/pi-agent-read/extensions/pi-agent-web/src/resolver.ts +1 -1
- package/src/extensions/pi-agent-read/index.ts +1 -1
- package/src/extensions/pi-agent-read/package.json +7 -7
- package/src/extensions/pi-agent-read/src/api/connect-plugin.ts +1 -1
- package/src/extensions/pi-agent-read/src/api/plugin-protocol.ts +1 -1
- package/src/extensions/pi-agent-read/src/api/read-parameters.ts +1 -1
- package/src/extensions/pi-agent-read/src/api/rendering.ts +2 -2
- package/src/extensions/pi-agent-read/src/api/tools/read.ts +2 -2
- package/src/extensions/pi-agent-read/src/core/extension.ts +4 -4
- package/src/extensions/pi-agent-read/src/core/read-core.ts +4 -4
- package/src/extensions/pi-agent-read/src/core/tools/read/output-truncation.ts +2 -2
- package/src/extensions/pi-agent-read/src/core/tools/read/persisted-result.ts +1 -1
- package/src/extensions/pi-agent-read/src/core/tools/read/raw-read.ts +3 -3
- package/src/extensions/pi-agent-read/src/core/tools/read/read-renderer.ts +4 -4
- package/src/extensions/pi-agent-read/src/core/tools/read/read-result.ts +1 -1
- package/src/extensions/pi-agent-read/src/core/tools/read/result-target.ts +1 -1
- package/src/extensions/pi-agent-read/src/core/tools/read/structured-result.ts +2 -2
- package/src/extensions/pi-agent-read/src/core/tools/tool-read.ts +7 -7
- package/src/extensions/pi-agent-search/index.ts +1 -1
- package/src/extensions/pi-agent-search/package.json +5 -5
- package/src/extensions/pi-agent-search/plugins/pi-agent-search-text/index.ts +8 -8
- package/src/extensions/pi-agent-search/plugins/pi-agent-search-text/package.json +10 -10
- package/src/extensions/pi-agent-search/plugins/pi-agent-search-text/src/doctor-plugin.ts +1 -1
- package/src/extensions/pi-agent-search/plugins/pi-agent-search-text/src/file-search.ts +1 -1
- package/src/extensions/pi-agent-search/plugins/pi-agent-search-text/src/fuzzy-search.ts +2 -2
- package/src/extensions/pi-agent-search/plugins/pi-agent-search-text/src/persisted-result.ts +1 -1
- package/src/extensions/pi-agent-search/plugins/pi-agent-search-text/src/resolvers.ts +9 -9
- package/src/extensions/pi-agent-search/plugins/pi-agent-search-text/src/scoped-search.ts +4 -4
- package/src/extensions/pi-agent-search/plugins/pi-agent-search-text/src/search-backend.ts +3 -3
- package/src/extensions/pi-agent-search/plugins/pi-agent-search-text/src/search-presentation.ts +1 -1
- package/src/extensions/pi-agent-search/plugins/pi-agent-search-text/src/search-recipe.ts +2 -2
- package/src/extensions/pi-agent-search/plugins/pi-agent-search-text/src/search-renderer.ts +3 -3
- package/src/extensions/pi-agent-search/plugins/pi-agent-search-text/src/search-result.ts +2 -2
- package/src/extensions/pi-agent-search/plugins/pi-agent-search-text/src/search-session.ts +1 -1
- package/src/extensions/pi-agent-search/plugins/pi-agent-search-text/src/tool-file-search.ts +1 -1
- package/src/extensions/pi-agent-search/src/api/connect-plugin.ts +1 -1
- package/src/extensions/pi-agent-search/src/api/fuzzy.ts +2 -2
- package/src/extensions/pi-agent-search/src/api/plugin-protocol.ts +1 -1
- package/src/extensions/pi-agent-search/src/api/presentation.ts +1 -1
- package/src/extensions/pi-agent-search/src/api/search-scope.ts +1 -1
- package/src/extensions/pi-agent-search/src/api/search.ts +7 -7
- package/src/extensions/pi-agent-search/src/core/extension.ts +7 -7
- package/src/extensions/pi-agent-search/src/core/search-core.ts +3 -3
- package/src/extensions/pi-agent-text-editor/index.ts +5 -5
- package/src/extensions/pi-agent-text-editor/package.json +9 -9
- package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-anchor-constant/index.ts +1 -1
- package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-anchor-constant/package.json +3 -3
- package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-anchor-exact/index.ts +2 -2
- package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-anchor-exact/package.json +3 -3
- package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-anchor-exact/src/anchor.ts +2 -2
- package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-anchor-exact/src/recovery.ts +3 -3
- package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-anchor-line-hash/index.ts +2 -2
- package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-anchor-line-hash/package.json +5 -5
- package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-anchor-line-hash/src/read-handler.ts +1 -1
- package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-editor-renderer/index.ts +5 -5
- package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-editor-renderer/package.json +5 -5
- package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-editor-renderer/src/diff-renderer.ts +3 -3
- package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-editor-renderer/src/diff-viewport.ts +1 -1
- package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-editor-renderer/src/frozen-viewport.ts +2 -2
- package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-editor-renderer/src/mutation-panel.ts +4 -4
- package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-editor-renderer/src/mutation-projection.ts +2 -2
- package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-editor-renderer/src/mutation-result.ts +3 -3
- package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-editor-renderer/src/persisted-result.ts +2 -2
- package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-editor-renderer/src/render-resource.ts +1 -1
- package/src/extensions/pi-agent-text-editor/plugins/pi-agent-text-editor-renderer/src/renderer.ts +7 -7
- 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/src/api/connect-plugin.ts +1 -1
- package/src/extensions/pi-agent-text-editor/src/api/edit-pipeline.ts +2 -2
- package/src/extensions/pi-agent-text-editor/src/api/file-operations.ts +2 -2
- package/src/extensions/pi-agent-text-editor/src/api/file-transfers.ts +1 -1
- package/src/extensions/pi-agent-text-editor/src/api/mutation-guard.ts +4 -4
- package/src/extensions/pi-agent-text-editor/src/api/mutation-result.ts +3 -3
- package/src/extensions/pi-agent-text-editor/src/api/mutation-tool.ts +2 -2
- package/src/extensions/pi-agent-text-editor/src/api/native-edit-batch-event.ts +1 -1
- package/src/extensions/pi-agent-text-editor/src/api/native-files.ts +1 -1
- package/src/extensions/pi-agent-text-editor/src/api/plugin-protocol.ts +14 -14
- package/src/extensions/pi-agent-text-editor/src/api/post-edit.ts +3 -3
- package/src/extensions/pi-agent-text-editor/src/api/tool-call-interceptor.ts +1 -1
- package/src/extensions/pi-agent-text-editor/src/api/tool-renderer.ts +2 -2
- package/src/extensions/pi-agent-text-editor/src/core/delete-policy.ts +3 -3
- package/src/extensions/pi-agent-text-editor/src/core/diff-tool.ts +3 -3
- package/src/extensions/pi-agent-text-editor/src/core/extension.ts +13 -13
- package/src/extensions/pi-agent-text-editor/src/core/file-operation-guards.ts +2 -2
- package/src/extensions/pi-agent-text-editor/src/core/file-operation-tools.ts +6 -6
- package/src/extensions/pi-agent-text-editor/src/core/file-operations.ts +5 -5
- package/src/extensions/pi-agent-text-editor/src/core/file-result-targets.ts +1 -1
- package/src/extensions/pi-agent-text-editor/src/core/file-transfers.ts +3 -3
- package/src/extensions/pi-agent-text-editor/src/core/image-write.ts +1 -1
- package/src/extensions/pi-agent-text-editor/src/core/mutation-result/agent-diff.ts +3 -3
- package/src/extensions/pi-agent-text-editor/src/core/mutation-result/file-mutation-agent-result.ts +4 -4
- package/src/extensions/pi-agent-text-editor/src/core/mutation-result/final-state-fragment.ts +2 -2
- package/src/extensions/pi-agent-text-editor/src/core/mutation-result/grouped-replacements.ts +1 -1
- package/src/extensions/pi-agent-text-editor/src/core/mutation-result/inline-hints.ts +1 -1
- package/src/extensions/pi-agent-text-editor/src/core/mutation-result-targets.ts +6 -6
- package/src/extensions/pi-agent-text-editor/src/core/native-text-edit-batch.ts +22 -22
- package/src/extensions/pi-agent-text-editor/src/core/post-edit-scope.ts +1 -1
- package/src/extensions/pi-agent-text-editor/src/core/read-fragment-resolver.ts +3 -3
- package/src/extensions/pi-agent-text-editor/src/core/result-input.ts +1 -1
- package/src/extensions/pi-agent-text-editor/src/core/result-target-anchors.ts +2 -2
- package/src/extensions/pi-agent-text-editor/src/core/result-transfer.ts +4 -4
- package/src/extensions/pi-agent-text-editor/src/core/source-change-retry.ts +1 -1
- package/src/extensions/pi-agent-text-editor/src/core/structured-result.ts +2 -2
- package/src/extensions/pi-agent-text-editor/src/core/temporary-directories.ts +2 -2
- package/src/extensions/pi-agent-text-editor/src/core/text-anchor-recovery.ts +1 -1
- package/src/extensions/pi-agent-text-editor/src/core/text-anchor-registry.ts +3 -3
- package/src/extensions/pi-agent-text-editor/src/core/text-edit-batch-coordinator.ts +2 -2
- package/src/extensions/pi-agent-text-editor/src/core/text-edit-batch-recovery.ts +2 -2
- package/src/extensions/pi-agent-text-editor/src/core/text-edit-batch-registrar.ts +19 -19
- package/src/extensions/pi-agent-text-editor/src/core/text-edit-batch.ts +4 -4
- package/src/extensions/pi-agent-text-editor/src/core/text-edit-origin.ts +1 -1
- package/src/extensions/pi-agent-text-editor/src/core/text-editor-core.ts +19 -19
- package/src/extensions/pi-agent-text-editor/src/core/text-mutation-anchor-error.ts +1 -1
- package/src/extensions/pi-agent-text-editor/src/core/text-mutation.ts +29 -29
- package/src/extensions/pi-agent-text-editor/src/core/tool-call-interceptor/coordinator.ts +4 -4
- package/src/extensions/pi-agent-text-editor/src/core/tool-call-interceptor/streaming-provider.ts +1 -1
- package/src/extensions/pi-agent-text-editor/src/core/write-agent-result.ts +3 -3
- package/src/extensions/pi-agent-text-editor/src/tools/extension.ts +7 -7
- package/src/extensions/pi-agent-text-editor/src/tools/text-selection.ts +2 -2
- package/src/extensions/pi-agent-text-editor/src/tools/tool-text-copy.ts +4 -4
- package/src/extensions/pi-agent-text-editor/src/tools/tool-text-delete.ts +4 -4
- package/src/extensions/pi-agent-text-editor/src/tools/tool-text-insert.ts +3 -3
- package/src/extensions/pi-agent-text-editor/src/tools/tool-text-move.ts +5 -5
- package/src/extensions/pi-agent-text-editor/src/tools/tool-text-replace.ts +4 -4
- package/src/extensions/pi-agent-text-editor/src/tools/tool-text-write.ts +1 -1
- package/src/index.ts +1 -1
- package/src/pi-agent-ide.ts +21 -21
- package/src/plugins/pi-agent-ide-ast/index.ts +1 -1
- package/src/plugins/pi-agent-ide-ast/package.json +13 -13
- package/src/plugins/pi-agent-ide-ast/src/api/scope.ts +1 -1
- package/src/plugins/pi-agent-ide-ast/src/ast/manager.ts +2 -2
- package/src/plugins/pi-agent-ide-ast/src/ast/native-parser.ts +1 -1
- package/src/plugins/pi-agent-ide-ast/src/ast/outline.ts +5 -5
- package/src/plugins/pi-agent-ide-ast/src/doctor-plugin.ts +1 -1
- package/src/plugins/pi-agent-ide-ast/src/extension.ts +8 -8
- package/src/plugins/pi-agent-ide-ast/src/outline-resolver.ts +3 -3
- package/src/plugins/pi-agent-ide-ast/src/overflow-handler.ts +1 -1
- package/src/plugins/pi-agent-ide-ast/src/scope-handler.ts +1 -1
- package/src/plugins/pi-agent-ide-ast/src/scope-resolver.ts +1 -1
- package/src/plugins/pi-agent-ide-ast/src/search-resolver.ts +1 -1
- package/src/plugins/pi-agent-ide-ast/src/tool-ast-search.ts +1 -1
- package/src/plugins/pi-agent-ide-changes/index.ts +9 -9
- package/src/plugins/pi-agent-ide-changes/package.json +8 -8
- package/src/plugins/pi-agent-ide-changes/src/change-anchor.ts +4 -4
- package/src/plugins/pi-agent-ide-changes/src/changes/change-groups.ts +1 -1
- package/src/plugins/pi-agent-ide-changes/src/changes/change-service.ts +4 -4
- package/src/plugins/pi-agent-ide-changes/src/changes/git-changes-backend.ts +1 -1
- package/src/plugins/pi-agent-ide-changes/src/current-change-presenter.ts +4 -4
- package/src/plugins/pi-agent-ide-changes/src/tool-index-change.ts +5 -5
- package/src/plugins/pi-agent-ide-changes/src/tool-text-undo.ts +6 -6
- package/src/plugins/pi-agent-ide-debugger/index.ts +11 -11
- package/src/plugins/pi-agent-ide-debugger/src/breakpoint-view.ts +1 -1
- package/src/plugins/pi-agent-ide-debugger/src/doctor-plugin.ts +4 -4
- package/src/plugins/pi-agent-ide-debugger/src/java-runtime.ts +2 -2
- package/src/plugins/pi-agent-ide-debugger/src/process-provider.ts +3 -3
- package/src/plugins/pi-agent-ide-debugger/src/renderer.ts +1 -1
- package/src/plugins/pi-agent-ide-debugger/src/session-manager.ts +5 -5
- package/src/plugins/pi-agent-ide-debugger/src/ui.ts +1 -1
- package/src/plugins/pi-agent-ide-debugger/src/vscode-backend.ts +1 -1
- package/src/plugins/pi-agent-ide-debugger/src/workspace-owner.ts +2 -2
- package/src/plugins/pi-agent-ide-diagnostics/index.ts +1 -1
- package/src/plugins/pi-agent-ide-formatter/index.ts +5 -5
- package/src/plugins/pi-agent-ide-formatter/package.json +3 -3
- package/src/plugins/pi-agent-ide-formatter/src/doctor-plugin.ts +2 -2
- package/src/plugins/pi-agent-ide-formatter/src/formatter.ts +2 -2
- package/src/plugins/pi-agent-ide-formatter/src/registry.ts +1 -1
- package/src/plugins/pi-agent-ide-languages/index.ts +1 -1
- package/src/plugins/pi-agent-ide-languages/package.json +2 -2
- package/src/plugins/pi-agent-ide-lint/index.ts +9 -9
- package/src/plugins/pi-agent-ide-lint/package.json +7 -7
- package/src/plugins/pi-agent-ide-lint/src/command-linter.ts +2 -2
- package/src/plugins/pi-agent-ide-lint/src/doctor-plugin.ts +3 -3
- package/src/plugins/pi-agent-ide-lint/src/registry.ts +1 -1
- package/src/plugins/pi-agent-ide-lsp/index.ts +17 -17
- package/src/plugins/pi-agent-ide-lsp/package.json +12 -12
- package/src/plugins/pi-agent-ide-lsp/src/declaration-targets.ts +3 -3
- package/src/plugins/pi-agent-ide-lsp/src/diagnostic-source.ts +3 -3
- package/src/plugins/pi-agent-ide-lsp/src/doctor-plugin.ts +4 -4
- package/src/plugins/pi-agent-ide-lsp/src/lsp/client.ts +7 -7
- package/src/plugins/pi-agent-ide-lsp/src/lsp/code-views.ts +9 -9
- package/src/plugins/pi-agent-ide-lsp/src/lsp/diagnostic-adapters.ts +1 -1
- package/src/plugins/pi-agent-ide-lsp/src/lsp/diagnostics.ts +4 -4
- package/src/plugins/pi-agent-ide-lsp/src/lsp/document-leases.ts +1 -1
- package/src/plugins/pi-agent-ide-lsp/src/lsp/index.ts +19 -19
- package/src/plugins/pi-agent-ide-lsp/src/lsp/language-map.ts +1 -1
- package/src/plugins/pi-agent-ide-lsp/src/lsp/lsp-compiler.ts +4 -4
- package/src/plugins/pi-agent-ide-lsp/src/lsp/manager.ts +13 -13
- package/src/plugins/pi-agent-ide-lsp/src/lsp/navigation.ts +3 -3
- package/src/plugins/pi-agent-ide-lsp/src/lsp/owner-transport.ts +1 -1
- package/src/plugins/pi-agent-ide-lsp/src/lsp/position-map.ts +1 -1
- package/src/plugins/pi-agent-ide-lsp/src/lsp/project.ts +1 -1
- package/src/plugins/pi-agent-ide-lsp/src/lsp/registry.ts +2 -2
- package/src/plugins/pi-agent-ide-lsp/src/lsp/rename.ts +2 -2
- package/src/plugins/pi-agent-ide-lsp/src/lsp/shared-server-host.mjs +17 -5
- package/src/plugins/pi-agent-ide-lsp/src/lsp/symbol-search.ts +7 -7
- package/src/plugins/pi-agent-ide-lsp/src/lsp/symbols.ts +3 -3
- package/src/plugins/pi-agent-ide-lsp/src/lsp/workspace-owner.ts +1 -1
- package/src/plugins/pi-agent-ide-lsp/src/manager-provider.ts +1 -1
- package/src/plugins/pi-agent-ide-lsp/src/rename-plan.ts +8 -8
- package/src/plugins/pi-agent-ide-lsp/src/search-resolver.ts +4 -4
- package/src/plugins/pi-agent-ide-lsp/src/tool-lsp-search.ts +1 -1
- package/src/plugins/pi-agent-ide-processes/index.ts +4 -4
- package/src/plugins/pi-agent-ide-processes/src/ui.ts +1 -1
- package/src/plugins/pi-agent-ide-semantic/src/vera-backend.ts +2 -2
- package/src/plugins/pi-agent-ide-terminal/index.ts +17 -17
- package/src/plugins/pi-agent-ide-terminal/src/origin.ts +1 -1
- package/src/plugins/pi-agent-ide-terminal/src/output-limits.ts +1 -1
- package/src/plugins/pi-agent-ide-terminal/src/process-provider.ts +3 -3
- package/src/plugins/pi-agent-ide-terminal/src/renderer.ts +3 -3
- package/src/plugins/pi-agent-ide-terminal/src/resources.ts +5 -5
- package/src/plugins/pi-agent-ide-terminal/src/screen-image.ts +1 -1
- package/src/plugins/pi-agent-ide-terminal/src/search.ts +2 -2
- package/src/plugins/pi-agent-ide-terminal/src/session-manager.ts +3 -3
- package/src/plugins/pi-agent-ide-terminal/src/shell-profile.ts +1 -1
- package/src/plugins/pi-agent-ide-terminal/src/shell-result.ts +1 -1
- package/src/plugins/pi-agent-ide-terminal/src/tools.ts +9 -9
- package/src/plugins/pi-agent-ide-terminal/src/types.ts +1 -1
- package/src/plugins/pi-agent-ide-terminal/src/ui.ts +3 -3
- package/src/post-edit/gate.ts +1 -1
- package/src/semantic/extension.ts +2 -2
- package/src/semantic/index.ts +4 -4
- package/src/standalone/resource-host.ts +13 -13
- package/src/standalone/scoped-api.ts +2 -2
- package/src/tips/core.ts +1 -1
- package/src/tips/extension.ts +6 -6
- package/src/tips/setup-hint.ts +1 -1
- package/src/toolchain/diagnostic.ts +1 -1
- package/src/toolchain/registry.ts +1 -1
- package/dist/chunk-57F5GTHO.js +0 -1
- package/dist/chunk-6LAHSOAH.js +0 -25
- package/dist/chunk-DDLNVJHJ.js +0 -1
- package/dist/chunk-FEZLTM4L.js +0 -1
- package/dist/chunk-MDD5ORB6.js +0 -1
- package/dist/chunk-S5PL5DFQ.js +0 -1
|
@@ -5,10 +5,10 @@ import path from "node:path";
|
|
|
5
5
|
import { fileURLToPath } from "node:url";
|
|
6
6
|
import type { FileOperationInput } from "pi-agent-text-editor/api/plugin-protocol";
|
|
7
7
|
import type { ResourceResolverContext } from "pi-agent-resource";
|
|
8
|
-
import type { SshBackendRegistry } from "./registry.
|
|
9
|
-
import { SshBackendError } from "./ssh.
|
|
10
|
-
import { checkCapturedRevision } from "./file-revision.
|
|
11
|
-
import { startSshProcess, type SshProcessChannel } from "./ssh-channel.
|
|
8
|
+
import type { SshBackendRegistry } from "./registry.ts";
|
|
9
|
+
import { SshBackendError } from "./ssh.ts";
|
|
10
|
+
import { checkCapturedRevision } from "./file-revision.ts";
|
|
11
|
+
import { startSshProcess, type SshProcessChannel } from "./ssh-channel.ts";
|
|
12
12
|
|
|
13
13
|
const CHUNK_BYTES = 1024 * 1024;
|
|
14
14
|
const worker = readFile(new URL("./ssh-transfer-worker.py", import.meta.url), "utf8");
|
|
@@ -4,22 +4,22 @@ import {
|
|
|
4
4
|
resolveExternalToolProjectRoot,
|
|
5
5
|
runConfiguredFormatter,
|
|
6
6
|
runConfiguredProcess,
|
|
7
|
-
} from "#src/api/tool-config.
|
|
7
|
+
} from "#src/api/tool-config.ts";
|
|
8
8
|
import {
|
|
9
9
|
registerFormatterWithOwner,
|
|
10
10
|
FormatterCommandRegistry,
|
|
11
11
|
FORMATTER_RECIPES,
|
|
12
12
|
type FormatterRuntime,
|
|
13
|
-
} from "#src/plugins/pi-agent-ide-formatter/index.
|
|
14
|
-
import { resolvePiAgentIdeExtensionsConfigPaths } from "#src/composite/extensions-config.
|
|
15
|
-
import { readSshTargets, resolveSshConfigPaths } from "./config.
|
|
16
|
-
import { SshBackendRegistry } from "./registry.
|
|
17
|
-
import { createSshToolConfigAccess } from "./tool-config-access.
|
|
18
|
-
import { createSshConfiguredProcessAccess } from "./configured-process.
|
|
19
|
-
import { sshProjectExecutableAvailability } from "./process-environment.
|
|
20
|
-
import { inspectSshRecipeEvidence } from "./recipe-evidence.
|
|
21
|
-
import { resolveSshToolProject } from "./tool-project.
|
|
22
|
-
import { SshBackendError } from "./ssh.
|
|
13
|
+
} from "#src/plugins/pi-agent-ide-formatter/index.ts";
|
|
14
|
+
import { resolvePiAgentIdeExtensionsConfigPaths } from "#src/composite/extensions-config.ts";
|
|
15
|
+
import { readSshTargets, resolveSshConfigPaths } from "./config.ts";
|
|
16
|
+
import { SshBackendRegistry } from "./registry.ts";
|
|
17
|
+
import { createSshToolConfigAccess } from "./tool-config-access.ts";
|
|
18
|
+
import { createSshConfiguredProcessAccess } from "./configured-process.ts";
|
|
19
|
+
import { sshProjectExecutableAvailability } from "./process-environment.ts";
|
|
20
|
+
import { inspectSshRecipeEvidence } from "./recipe-evidence.ts";
|
|
21
|
+
import { resolveSshToolProject } from "./tool-project.ts";
|
|
22
|
+
import { SshBackendError } from "./ssh.ts";
|
|
23
23
|
|
|
24
24
|
/** Keep formatter selection, command execution and guarded stdout publication with their owner. */
|
|
25
25
|
export function createOwnedFormatterRuntime(registry: SshBackendRegistry): FormatterRuntime {
|
|
@@ -3,10 +3,10 @@ import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
|
|
|
3
3
|
import {
|
|
4
4
|
registerGitChangesWithExecutor,
|
|
5
5
|
type GitCommandExecutor,
|
|
6
|
-
} from "#src/plugins/pi-agent-ide-changes/index.
|
|
7
|
-
import { resolvePiAgentIdeExtensionsConfigPaths } from "#src/composite/extensions-config.
|
|
8
|
-
import { readSshTargets, resolveSshConfigPaths } from "./config.
|
|
9
|
-
import { SshBackendRegistry } from "./registry.
|
|
6
|
+
} from "#src/plugins/pi-agent-ide-changes/index.ts";
|
|
7
|
+
import { resolvePiAgentIdeExtensionsConfigPaths } from "#src/composite/extensions-config.ts";
|
|
8
|
+
import { readSshTargets, resolveSshConfigPaths } from "./config.ts";
|
|
9
|
+
import { SshBackendRegistry } from "./registry.ts";
|
|
10
10
|
|
|
11
11
|
/** Register Git commands and text reads on the explicitly configured resource owner. */
|
|
12
12
|
export default async function registerOwnedGit(pi: ExtensionAPI): Promise<void> {
|
package/src/backend/index.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
|
|
2
|
-
import { resolvePiAgentIdeExtensionsConfigPaths } from "#src/composite/extensions-config.
|
|
3
|
-
import { readSshTargets, resolveSshConfigPaths } from "./config.
|
|
4
|
-
import { registerSshResources } from "./registration.
|
|
2
|
+
import { resolvePiAgentIdeExtensionsConfigPaths } from "#src/composite/extensions-config.ts";
|
|
3
|
+
import { readSshTargets, resolveSshConfigPaths } from "./config.ts";
|
|
4
|
+
import { registerSshResources } from "./registration.ts";
|
|
5
5
|
|
|
6
6
|
/** Load explicitly configured SSH sources without opening startup connections. */
|
|
7
7
|
export default async function registerSshModule(pi: ExtensionAPI): Promise<void> {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import path from "node:path";
|
|
2
2
|
import { fileURLToPath } from "node:url";
|
|
3
3
|
import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
|
|
4
|
-
import { resolveExternalToolProjectRoot } from "#src/api/tool-config.
|
|
4
|
+
import { resolveExternalToolProjectRoot } from "#src/api/tool-config.ts";
|
|
5
5
|
import {
|
|
6
6
|
registerLintWithOwner,
|
|
7
7
|
LintCommandRegistry,
|
|
8
8
|
LINTER_RECIPES,
|
|
9
9
|
runConfiguredLinter,
|
|
10
10
|
type LintRuntime,
|
|
11
|
-
} from "#src/plugins/pi-agent-ide-lint/index.
|
|
12
|
-
import { resolvePiAgentIdeExtensionsConfigPaths } from "#src/composite/extensions-config.
|
|
13
|
-
import { readSshTargets, resolveSshConfigPaths } from "./config.
|
|
14
|
-
import { SshBackendRegistry } from "./registry.
|
|
15
|
-
import { createSshToolConfigAccess } from "./tool-config-access.
|
|
16
|
-
import { createSshConfiguredProcessAccess } from "./configured-process.
|
|
17
|
-
import { sshProjectExecutableAvailability } from "./process-environment.
|
|
18
|
-
import { inspectSshRecipeEvidence } from "./recipe-evidence.
|
|
19
|
-
import { resolveSshToolProject } from "./tool-project.
|
|
20
|
-
import { SshBackendError } from "./ssh.
|
|
11
|
+
} from "#src/plugins/pi-agent-ide-lint/index.ts";
|
|
12
|
+
import { resolvePiAgentIdeExtensionsConfigPaths } from "#src/composite/extensions-config.ts";
|
|
13
|
+
import { readSshTargets, resolveSshConfigPaths } from "./config.ts";
|
|
14
|
+
import { SshBackendRegistry } from "./registry.ts";
|
|
15
|
+
import { createSshToolConfigAccess } from "./tool-config-access.ts";
|
|
16
|
+
import { createSshConfiguredProcessAccess } from "./configured-process.ts";
|
|
17
|
+
import { sshProjectExecutableAvailability } from "./process-environment.ts";
|
|
18
|
+
import { inspectSshRecipeEvidence } from "./recipe-evidence.ts";
|
|
19
|
+
import { resolveSshToolProject } from "./tool-project.ts";
|
|
20
|
+
import { SshBackendError } from "./ssh.ts";
|
|
21
21
|
|
|
22
22
|
/** Select owner tool layers and normalize only diagnostic file identities, never message text. */
|
|
23
23
|
export function createOwnedLintRuntime(registry: SshBackendRegistry): LintRuntime {
|
|
@@ -8,11 +8,11 @@ import type {
|
|
|
8
8
|
LspFileWatcherSubscriptions,
|
|
9
9
|
WatchPattern,
|
|
10
10
|
WatchedFileChange,
|
|
11
|
-
} from "#src/plugins/pi-agent-ide-lsp/index.
|
|
12
|
-
import type { SshProcessChannel } from "./ssh-channel.
|
|
13
|
-
import type { SshBackendRegistry } from "./registry.
|
|
14
|
-
import { remoteLocation } from "./identity.
|
|
15
|
-
import { SshBackendError } from "./ssh.
|
|
11
|
+
} from "#src/plugins/pi-agent-ide-lsp/index.ts";
|
|
12
|
+
import type { SshProcessChannel } from "./ssh-channel.ts";
|
|
13
|
+
import type { SshBackendRegistry } from "./registry.ts";
|
|
14
|
+
import { remoteLocation } from "./identity.ts";
|
|
15
|
+
import { SshBackendError } from "./ssh.ts";
|
|
16
16
|
|
|
17
17
|
const messageSchema = Type.Union([
|
|
18
18
|
Type.Object({ kind: Type.Literal("ready") }),
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import path from "node:path";
|
|
2
2
|
import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
|
|
3
|
-
import { resolveExternalToolProjectRoot } from "#src/api/tool-config.
|
|
3
|
+
import { resolveExternalToolProjectRoot } from "#src/api/tool-config.ts";
|
|
4
4
|
import {
|
|
5
5
|
registerLspWithOwner,
|
|
6
6
|
LspServerRegistry,
|
|
7
7
|
LSP_RECIPES,
|
|
8
|
-
} from "#src/plugins/pi-agent-ide-lsp/index.
|
|
9
|
-
import { resolvePiAgentIdeExtensionsConfigPaths } from "#src/composite/extensions-config.
|
|
10
|
-
import { readSshTargets, resolveSshConfigPaths } from "./config.
|
|
11
|
-
import { SshBackendRegistry } from "./registry.
|
|
12
|
-
import { createSshToolConfigAccess } from "./tool-config-access.
|
|
13
|
-
import { createSshLspWorkspaceOwner } from "./lsp-workspace-owner.
|
|
14
|
-
import { sshProjectExecutableAvailability } from "./process-environment.
|
|
15
|
-
import { SshBackendError } from "./ssh.
|
|
16
|
-
import { resolveSshToolProject } from "./tool-project.
|
|
17
|
-
import { inspectSshRecipeEvidence } from "./recipe-evidence.
|
|
8
|
+
} from "#src/plugins/pi-agent-ide-lsp/index.ts";
|
|
9
|
+
import { resolvePiAgentIdeExtensionsConfigPaths } from "#src/composite/extensions-config.ts";
|
|
10
|
+
import { readSshTargets, resolveSshConfigPaths } from "./config.ts";
|
|
11
|
+
import { SshBackendRegistry } from "./registry.ts";
|
|
12
|
+
import { createSshToolConfigAccess } from "./tool-config-access.ts";
|
|
13
|
+
import { createSshLspWorkspaceOwner } from "./lsp-workspace-owner.ts";
|
|
14
|
+
import { sshProjectExecutableAvailability } from "./process-environment.ts";
|
|
15
|
+
import { SshBackendError } from "./ssh.ts";
|
|
16
|
+
import { resolveSshToolProject } from "./tool-project.ts";
|
|
17
|
+
import { inspectSshRecipeEvidence } from "./recipe-evidence.ts";
|
|
18
18
|
|
|
19
19
|
/** Load ordinary LSP providers with lazy target-owned configuration and stdio. */
|
|
20
20
|
export default async function registerOwnedLsp(pi: ExtensionAPI): Promise<void> {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { Writable } from "node:stream";
|
|
2
2
|
import { callbackify } from "node:util";
|
|
3
3
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
4
|
-
import type { LspOwnerTransport } from "#src/plugins/pi-agent-ide-lsp/index.
|
|
5
|
-
import { remoteLocation } from "./identity.
|
|
6
|
-
import type { SshBackendRegistry } from "./registry.
|
|
7
|
-
import { SshBackendError } from "./ssh.
|
|
8
|
-
import { sshProjectEnvironment } from "./process-environment.
|
|
9
|
-
import { createSshLspFileWatchers } from "./lsp-file-watchers.
|
|
10
|
-
import { stopOwnedSshProcess } from "./owned-process-stop.
|
|
4
|
+
import type { LspOwnerTransport } from "#src/plugins/pi-agent-ide-lsp/index.ts";
|
|
5
|
+
import { remoteLocation } from "./identity.ts";
|
|
6
|
+
import type { SshBackendRegistry } from "./registry.ts";
|
|
7
|
+
import { SshBackendError } from "./ssh.ts";
|
|
8
|
+
import { sshProjectEnvironment } from "./process-environment.ts";
|
|
9
|
+
import { createSshLspFileWatchers } from "./lsp-file-watchers.ts";
|
|
10
|
+
import { stopOwnedSshProcess } from "./owned-process-stop.ts";
|
|
11
11
|
|
|
12
12
|
/** Lazy LSP stdio on one configured SSH owner, with server file URIs mapped at the boundary. */
|
|
13
13
|
export function createSshLspTransport(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { LspWorkspaceOwner } from "#src/plugins/pi-agent-ide-lsp/index.
|
|
2
|
-
import type { SshBackendRegistry } from "./registry.
|
|
3
|
-
import { SshBackendError } from "./ssh.
|
|
4
|
-
import { createSshLspTransport } from "./lsp-transport.
|
|
1
|
+
import type { LspWorkspaceOwner } from "#src/plugins/pi-agent-ide-lsp/index.ts";
|
|
2
|
+
import type { SshBackendRegistry } from "./registry.ts";
|
|
3
|
+
import { SshBackendError } from "./ssh.ts";
|
|
4
|
+
import { createSshLspTransport } from "./lsp-transport.ts";
|
|
5
5
|
|
|
6
6
|
/** Workspace reads, marker checks and stdio remain on their configured SSH owner. */
|
|
7
7
|
export function createSshLspWorkspaceOwner(registry: SshBackendRegistry): LspWorkspaceOwner {
|
|
@@ -10,11 +10,11 @@ import {
|
|
|
10
10
|
type FileOperationResult,
|
|
11
11
|
type FileTransferEndpoint,
|
|
12
12
|
} from "pi-agent-text-editor/api/plugin-protocol";
|
|
13
|
-
import type { ResolvedSshSource, SshBackendRegistry } from "./registry.
|
|
14
|
-
import { remoteLocation } from "./identity.
|
|
15
|
-
import { localTransferSource, transferFile } from "./file-transfer.
|
|
16
|
-
import { checkCapturedRevision } from "./file-revision.
|
|
17
|
-
import { SshBackendError } from "./ssh.
|
|
13
|
+
import type { ResolvedSshSource, SshBackendRegistry } from "./registry.ts";
|
|
14
|
+
import { remoteLocation } from "./identity.ts";
|
|
15
|
+
import { localTransferSource, transferFile } from "./file-transfer.ts";
|
|
16
|
+
import { checkCapturedRevision } from "./file-revision.ts";
|
|
17
|
+
import { SshBackendError } from "./ssh.ts";
|
|
18
18
|
|
|
19
19
|
interface Endpoint extends FileTransferEndpoint {
|
|
20
20
|
readonly remote?: ResolvedSshSource;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { startSshProcess, type SshProcessChannel } from "./ssh-channel.
|
|
2
|
-
import { SshBackendError, type SshTarget } from "./ssh.
|
|
1
|
+
import { startSshProcess, type SshProcessChannel } from "./ssh-channel.ts";
|
|
2
|
+
import { SshBackendError, type SshTarget } from "./ssh.ts";
|
|
3
3
|
|
|
4
4
|
/** Bounds for one owned, buffered command. Both output streams share the byte budget. */
|
|
5
5
|
export interface OwnedCommandOptions {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { findSshProcessMetadata } from "./process-metadata.
|
|
2
|
-
import type { SshBackendRegistry } from "./registry.
|
|
3
|
-
import type { SshProcessChannel } from "./ssh-channel.
|
|
4
|
-
import { SshBackendError } from "./ssh.
|
|
1
|
+
import { findSshProcessMetadata } from "./process-metadata.ts";
|
|
2
|
+
import type { SshBackendRegistry } from "./registry.ts";
|
|
3
|
+
import type { SshProcessChannel } from "./ssh-channel.ts";
|
|
4
|
+
import { SshBackendError } from "./ssh.ts";
|
|
5
5
|
|
|
6
6
|
/** Stop an owned service; after carrier loss, confirm its exact native identity through a new connection.
|
|
7
7
|
* Only native absence or PID reuse proves the original process is gone. Never signal a replacement.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { runOwnedSshCommand } from "./owned-command.
|
|
2
|
-
import type { SshTarget } from "./ssh.
|
|
1
|
+
import { runOwnedSshCommand } from "./owned-command.ts";
|
|
2
|
+
import type { SshTarget } from "./ssh.ts";
|
|
3
3
|
|
|
4
4
|
/** Bounds for one owned, buffered read service. Both output streams share the byte budget. */
|
|
5
5
|
export interface OwnedReadCommandOptions {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import path from "node:path";
|
|
2
|
-
import type { SshBackend } from "./ssh.
|
|
3
|
-
import { SshBackendError } from "./ssh.
|
|
2
|
+
import type { SshBackend } from "./ssh.ts";
|
|
3
|
+
import { SshBackendError } from "./ssh.ts";
|
|
4
4
|
|
|
5
5
|
/** Read only remote PATH and prepend the existing project executable directories. */
|
|
6
6
|
export async function sshProjectEnvironment(
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { readFile } from "node:fs/promises";
|
|
2
2
|
import { Type, type Static } from "typebox";
|
|
3
3
|
import { Value } from "typebox/value";
|
|
4
|
-
import type { SshBackendRegistry } from "./registry.
|
|
5
|
-
import { SshBackendError } from "./ssh.
|
|
4
|
+
import type { SshBackendRegistry } from "./registry.ts";
|
|
5
|
+
import { SshBackendError } from "./ssh.ts";
|
|
6
6
|
|
|
7
7
|
const rowSchema = Type.Object({
|
|
8
8
|
pid: Type.Integer({ minimum: 1 }),
|
|
@@ -4,8 +4,8 @@ import { Type } from "typebox";
|
|
|
4
4
|
import { Value } from "typebox/value";
|
|
5
5
|
import type { ToolRecipe } from "pi-agent-doctor/api/catalog";
|
|
6
6
|
import { inspectRecipeEvidence, type RecipeEvidence } from "pi-agent-doctor/api/evidence";
|
|
7
|
-
import type { SshBackend } from "./ssh.
|
|
8
|
-
import { SshBackendError } from "./ssh.
|
|
7
|
+
import type { SshBackend } from "./ssh.ts";
|
|
8
|
+
import { SshBackendError } from "./ssh.ts";
|
|
9
9
|
|
|
10
10
|
const snapshotSchema = Type.Object({
|
|
11
11
|
content: Type.Record(Type.String(), Type.Union([Type.String(), Type.Null()])),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { connectIdePlugin } from "#src/api/connect-plugin.
|
|
2
|
-
import { IDE_PROTOCOL, IDE_API_VERSION } from "#src/api/plugin-protocol.
|
|
1
|
+
import { connectIdePlugin } from "#src/api/connect-plugin.ts";
|
|
2
|
+
import { IDE_PROTOCOL, IDE_API_VERSION } from "#src/api/plugin-protocol.ts";
|
|
3
3
|
import { connectSearchPlugin } from "pi-agent-search/api/connect-plugin";
|
|
4
4
|
import { SEARCH_API_VERSION, SEARCH_PROTOCOL } from "pi-agent-search/api/plugin-protocol";
|
|
5
|
-
import { createSshSearchEnvironmentProvider } from "./search-environment.
|
|
5
|
+
import { createSshSearchEnvironmentProvider } from "./search-environment.ts";
|
|
6
6
|
import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
|
|
7
7
|
import { connectReadPlugin } from "pi-agent-read/api/connect-plugin";
|
|
8
8
|
import {
|
|
@@ -20,11 +20,11 @@ import {
|
|
|
20
20
|
type TextEditorPlugin,
|
|
21
21
|
} from "pi-agent-text-editor/api/plugin-protocol";
|
|
22
22
|
|
|
23
|
-
import { createSshFileOperationResolver } from "./file-operation-resolver.
|
|
24
|
-
import { remoteLocation } from "./identity.
|
|
25
|
-
import { SshBackendRegistry } from "./registry.
|
|
26
|
-
import { createSshResourceResolver } from "./resource-resolver.
|
|
27
|
-
import type { SshTarget } from "./ssh.
|
|
23
|
+
import { createSshFileOperationResolver } from "./file-operation-resolver.ts";
|
|
24
|
+
import { remoteLocation } from "./identity.ts";
|
|
25
|
+
import { SshBackendRegistry } from "./registry.ts";
|
|
26
|
+
import { createSshResourceResolver } from "./resource-resolver.ts";
|
|
27
|
+
import type { SshTarget } from "./ssh.ts";
|
|
28
28
|
|
|
29
29
|
/** Connect explicitly configured targets to the existing tools, without startup connections. */
|
|
30
30
|
export async function registerSshResources(
|
package/src/backend/registry.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { resolveRemoteLocation, type RemoteLocation } from "./identity.
|
|
2
|
-
import { SshBackend, SshBackendError, type SshTarget } from "./ssh.
|
|
1
|
+
import { resolveRemoteLocation, type RemoteLocation } from "./identity.ts";
|
|
2
|
+
import { SshBackend, SshBackendError, type SshTarget } from "./ssh.ts";
|
|
3
3
|
|
|
4
4
|
/** A canonical remote source and the explicitly configured transport that owns it. */
|
|
5
5
|
export interface ResolvedSshSource {
|
|
@@ -7,8 +7,8 @@ import type {
|
|
|
7
7
|
} from "pi-agent-resource";
|
|
8
8
|
import { textFromAgentContent } from "pi-agent-text";
|
|
9
9
|
|
|
10
|
-
import type { SshBackendRegistry } from "./registry.
|
|
11
|
-
import { SshBackendError } from "./ssh.
|
|
10
|
+
import type { SshBackendRegistry } from "./registry.ts";
|
|
11
|
+
import { SshBackendError } from "./ssh.ts";
|
|
12
12
|
|
|
13
13
|
/** Bridge configured SSH targets to existing content hosts and read/editor resolver registries. */
|
|
14
14
|
export function createSshResourceResolver(
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import path from "node:path";
|
|
2
2
|
import { StringDecoder } from "node:string_decoder";
|
|
3
3
|
import type { SearchEnvironmentProvider } from "pi-agent-search/api/search";
|
|
4
|
-
import { remoteLocation } from "./identity.
|
|
5
|
-
import type { SshBackendRegistry } from "./registry.
|
|
6
|
-
import { SshBackendError } from "./ssh.
|
|
4
|
+
import { remoteLocation } from "./identity.ts";
|
|
5
|
+
import type { SshBackendRegistry } from "./registry.ts";
|
|
6
|
+
import { SshBackendError } from "./ssh.ts";
|
|
7
7
|
|
|
8
8
|
/** Adapt configured SSH scopes to the existing search recipes, without startup probes. */
|
|
9
9
|
export function createSshSearchEnvironmentProvider(
|
|
@@ -3,14 +3,14 @@ import { PassThrough, type Readable } from "node:stream";
|
|
|
3
3
|
import { Type, type Static } from "typebox";
|
|
4
4
|
import { Value } from "typebox/value";
|
|
5
5
|
|
|
6
|
-
import { remoteLocation } from "./identity.
|
|
7
|
-
import { SshBackendError, type SshTarget, type BackendOperationContext } from "./ssh.
|
|
6
|
+
import { remoteLocation } from "./identity.ts";
|
|
7
|
+
import { SshBackendError, type SshTarget, type BackendOperationContext } from "./ssh.ts";
|
|
8
8
|
import {
|
|
9
9
|
sshFailureCode,
|
|
10
10
|
sshWorkerCommand,
|
|
11
11
|
systemSshArguments,
|
|
12
12
|
validateSshTarget,
|
|
13
|
-
} from "./ssh-transport.
|
|
13
|
+
} from "./ssh-transport.ts";
|
|
14
14
|
|
|
15
15
|
const frameSchema = Type.Union([
|
|
16
16
|
Type.Object({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { readFile } from "node:fs/promises";
|
|
2
|
-
import type { SshTarget } from "./ssh.
|
|
3
|
-
import { remoteLocation } from "./identity.
|
|
2
|
+
import type { SshTarget } from "./ssh.ts";
|
|
3
|
+
import { remoteLocation } from "./identity.ts";
|
|
4
4
|
|
|
5
5
|
/** Validate configured aliases without reading credentials or probing the host. */
|
|
6
6
|
export function validateSshTarget(target: SshTarget): void {
|
package/src/backend/ssh.ts
CHANGED
|
@@ -4,9 +4,9 @@ import type { FileObjectSnapshot } from "pi-agent-text-editor/api/plugin-protoco
|
|
|
4
4
|
import { Type, type Static, type TSchema } from "typebox";
|
|
5
5
|
import { Value } from "typebox/value";
|
|
6
6
|
|
|
7
|
-
import { remoteLocation } from "./identity.
|
|
8
|
-
import type { SshProcessChannel, SshProcessContext } from "./ssh-channel.
|
|
9
|
-
import { sshWorkerProgram, validateSshTarget } from "./ssh-transport.
|
|
7
|
+
import { remoteLocation } from "./identity.ts";
|
|
8
|
+
import type { SshProcessChannel, SshProcessContext } from "./ssh-channel.ts";
|
|
9
|
+
import { sshWorkerProgram, validateSshTarget } from "./ssh-transport.ts";
|
|
10
10
|
|
|
11
11
|
/** One explicitly configured host alias. Authentication stays in the user's OpenSSH environment. */
|
|
12
12
|
export interface SshTarget {
|
|
@@ -510,7 +510,7 @@ export class SshBackend {
|
|
|
510
510
|
cwd: string,
|
|
511
511
|
context: BackendOperationContext = {},
|
|
512
512
|
) {
|
|
513
|
-
const { runOwnedSshCommand } = await import("./owned-command.
|
|
513
|
+
const { runOwnedSshCommand } = await import("./owned-command.ts");
|
|
514
514
|
return runOwnedSshCommand(
|
|
515
515
|
{ ...this.target, workspace: cwd },
|
|
516
516
|
command,
|
|
@@ -534,7 +534,7 @@ export class SshBackend {
|
|
|
534
534
|
cwd: string,
|
|
535
535
|
context: SshProcessContext = {},
|
|
536
536
|
): Promise<SshProcessChannel> {
|
|
537
|
-
const { startSshProcess } = await import("./ssh-channel.
|
|
537
|
+
const { startSshProcess } = await import("./ssh-channel.ts");
|
|
538
538
|
return startSshProcess(this.target, command, args, cwd, context);
|
|
539
539
|
}
|
|
540
540
|
|
|
@@ -568,7 +568,7 @@ export class SshBackend {
|
|
|
568
568
|
if (!Number.isFinite(deadline) || deadline <= 0)
|
|
569
569
|
throw new TypeError("SSH operation deadline must be positive");
|
|
570
570
|
context.signal?.throwIfAborted();
|
|
571
|
-
const { runOwnedSshCommand } = await import("./owned-command.
|
|
571
|
+
const { runOwnedSshCommand } = await import("./owned-command.ts");
|
|
572
572
|
const program = await sshWorkerProgram(new URL("./ssh-worker.py", import.meta.url));
|
|
573
573
|
// Filesystem operands are absolute. A neutral existing cwd must not turn the workspace
|
|
574
574
|
// into a sandbox or prevent creation beneath a missing parent.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import path from "node:path";
|
|
2
|
-
import type { ToolConfigLayerAccess } from "#src/api/tool-config.
|
|
3
|
-
import { remoteLocation } from "./identity.
|
|
4
|
-
import type { SshBackendRegistry } from "./registry.
|
|
5
|
-
import { SshBackendError } from "./ssh.
|
|
2
|
+
import type { ToolConfigLayerAccess } from "#src/api/tool-config.ts";
|
|
3
|
+
import { remoteLocation } from "./identity.ts";
|
|
4
|
+
import type { SshBackendRegistry } from "./registry.ts";
|
|
5
|
+
import { SshBackendError } from "./ssh.ts";
|
|
6
6
|
|
|
7
7
|
/** Read project and user-global tool settings on the selected target; no startup connection. */
|
|
8
8
|
export function createSshToolConfigAccess(
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import path from "node:path";
|
|
2
2
|
import type { ToolRecipe } from "pi-agent-doctor/api/catalog";
|
|
3
|
-
import { recipeMatchesFile, type ToolConfigName } from "#src/api/tool-config.
|
|
4
|
-
import type { SshBackend } from "./ssh.
|
|
5
|
-
import { SshBackendError } from "./ssh.
|
|
6
|
-
import { remoteLocation } from "./identity.
|
|
7
|
-
import { inspectSshRecipeEvidence } from "./recipe-evidence.
|
|
3
|
+
import { recipeMatchesFile, type ToolConfigName } from "#src/api/tool-config.ts";
|
|
4
|
+
import type { SshBackend } from "./ssh.ts";
|
|
5
|
+
import { SshBackendError } from "./ssh.ts";
|
|
6
|
+
import { remoteLocation } from "./identity.ts";
|
|
7
|
+
import { inspectSshRecipeEvidence } from "./recipe-evidence.ts";
|
|
8
8
|
|
|
9
9
|
/** Resolve an SSH file or directory's native project; an explicit current project keeps its context. */
|
|
10
10
|
export async function resolveSshToolProject(
|
|
@@ -4,9 +4,9 @@ import { Value } from "typebox/value";
|
|
|
4
4
|
import type {
|
|
5
5
|
BrowserLoadOptions,
|
|
6
6
|
BrowserPageSnapshot,
|
|
7
|
-
} from "#src/extensions/pi-agent-read/extensions/pi-agent-web/src/browser-loader.
|
|
8
|
-
import { readOwnedSshCommand } from "./owned-read-command.
|
|
9
|
-
import { SshBackendError, type SshTarget } from "./ssh.
|
|
7
|
+
} from "#src/extensions/pi-agent-read/extensions/pi-agent-web/src/browser-loader.ts";
|
|
8
|
+
import { readOwnedSshCommand } from "./owned-read-command.ts";
|
|
9
|
+
import { SshBackendError, type SshTarget } from "./ssh.ts";
|
|
10
10
|
|
|
11
11
|
const pageSchema = Type.Object({ html: Type.String(), source: Type.String() });
|
|
12
12
|
const refusalCodes = new Set([
|
package/src/backend/web-http.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { readFile } from "node:fs/promises";
|
|
2
2
|
import { Type } from "typebox";
|
|
3
3
|
import { Value } from "typebox/value";
|
|
4
|
-
import { SshBackendError, type SshTarget } from "./ssh.
|
|
5
|
-
import { readOwnedSshCommand } from "./owned-read-command.
|
|
4
|
+
import { SshBackendError, type SshTarget } from "./ssh.ts";
|
|
5
|
+
import { readOwnedSshCommand } from "./owned-read-command.ts";
|
|
6
6
|
|
|
7
7
|
const responseSchema = Type.Object({
|
|
8
8
|
url: Type.String(),
|
package/src/backend/web-owner.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { ContentHost, ResourceResolver } from "pi-agent-resource";
|
|
2
|
-
import { createWebResolver } from "#src/extensions/pi-agent-read/extensions/pi-agent-web/src/resolver.
|
|
3
|
-
import { SshBackendError } from "./ssh.
|
|
4
|
-
import type { SshBackendRegistry } from "./registry.
|
|
5
|
-
import { fetchSshWebResponse } from "./web-http.
|
|
6
|
-
import { readSshBrowserPage } from "./web-browser.
|
|
2
|
+
import { createWebResolver } from "#src/extensions/pi-agent-read/extensions/pi-agent-web/src/resolver.ts";
|
|
3
|
+
import { SshBackendError } from "./ssh.ts";
|
|
4
|
+
import type { SshBackendRegistry } from "./registry.ts";
|
|
5
|
+
import { fetchSshWebResponse } from "./web-http.ts";
|
|
6
|
+
import { readSshBrowserPage } from "./web-browser.ts";
|
|
7
7
|
|
|
8
8
|
/** An explicit target web source; the nested HTTP(S) URL retains its query and fragment. */
|
|
9
9
|
export function parseSshWebSource(
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
|
|
2
|
-
import { registerWebWithOwner } from "#src/extensions/pi-agent-read/extensions/pi-agent-web/index.
|
|
3
|
-
import { resolvePiAgentIdeExtensionsConfigPaths } from "#src/composite/extensions-config.
|
|
4
|
-
import { readSshTargets, resolveSshConfigPaths } from "./config.
|
|
5
|
-
import { SshBackendRegistry } from "./registry.
|
|
6
|
-
import { createSshWebResolver } from "./web-owner.
|
|
2
|
+
import { registerWebWithOwner } from "#src/extensions/pi-agent-read/extensions/pi-agent-web/index.ts";
|
|
3
|
+
import { resolvePiAgentIdeExtensionsConfigPaths } from "#src/composite/extensions-config.ts";
|
|
4
|
+
import { readSshTargets, resolveSshConfigPaths } from "./config.ts";
|
|
5
|
+
import { SshBackendRegistry } from "./registry.ts";
|
|
6
|
+
import { createSshWebResolver } from "./web-owner.ts";
|
|
7
7
|
|
|
8
8
|
/** Register explicit target web reads without changing the egress of ordinary URLs. */
|
|
9
9
|
export default async function registerOwnedWeb(pi: ExtensionAPI): Promise<void> {
|
|
@@ -8,9 +8,9 @@ import {
|
|
|
8
8
|
TEXT_EDITOR_PROTOCOL,
|
|
9
9
|
} from "pi-agent-text-editor/api/plugin-protocol";
|
|
10
10
|
import { afterPostEditScope } from "pi-agent-text-editor/api/post-edit";
|
|
11
|
-
import { readReviewRules, REVIEW_RULES_PATH } from "./config.
|
|
12
|
-
import { createCodeReview } from "./reviewer.
|
|
13
|
-
import { createLiveFeatureFlag } from "#src/core/live-feature-flag.
|
|
11
|
+
import { readReviewRules, REVIEW_RULES_PATH } from "./config.ts";
|
|
12
|
+
import { createCodeReview } from "./reviewer.ts";
|
|
13
|
+
import { createLiveFeatureFlag } from "#src/core/live-feature-flag.ts";
|
|
14
14
|
|
|
15
15
|
/** Connect optional background review and independently gated rule-capture guidance. */
|
|
16
16
|
export default async function registerCodeReview(pi: ExtensionAPI): Promise<void> {
|
|
@@ -6,8 +6,8 @@ import type {
|
|
|
6
6
|
ClassifierResult,
|
|
7
7
|
ModelsClassifierOptions,
|
|
8
8
|
} from "@earendil-works/pi-ai";
|
|
9
|
-
import type { ReviewRule } from "./config.
|
|
10
|
-
import { reviewFragments } from "./fragments.
|
|
9
|
+
import type { ReviewRule } from "./config.ts";
|
|
10
|
+
import { reviewFragments } from "./fragments.ts";
|
|
11
11
|
|
|
12
12
|
/** Use Pi's authenticated classifier runtime, never a separate provider client. */
|
|
13
13
|
export interface ReviewRuntime {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { resolveCodeViewPath } from "./reference.
|
|
1
|
+
import { resolveCodeViewPath } from "./reference.ts";
|
|
2
2
|
|
|
3
|
-
import { formatDiagnostic } from "#src/toolchain/diagnostic.
|
|
3
|
+
import { formatDiagnostic } from "#src/toolchain/diagnostic.ts";
|
|
4
4
|
|
|
5
|
-
import type { Diagnostic } from "#src/toolchain/types.
|
|
6
|
-
import type { SourceMappedTextContent } from "./source-view.
|
|
5
|
+
import type { Diagnostic } from "#src/toolchain/types.ts";
|
|
6
|
+
import type { SourceMappedTextContent } from "./source-view.ts";
|
|
7
7
|
import type { TextDocument, TextSourceLine } from "pi-agent-text";
|
|
8
8
|
|
|
9
9
|
/** Diagnostics produced by one named source such as `lsp` or `lint`. */
|