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
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { requiredValue } from "pi-agent-invariant";
|
|
2
|
-
import { type FileMutationBatchResult, FileMutationResult } from "#src/api/mutation-result.
|
|
3
|
-
import { createUnifiedDiff } from "#src/core/mutation-result/diff.
|
|
4
|
-
import { FileMutationAgentResult } from "#src/core/mutation-result/file-mutation-agent-result.
|
|
2
|
+
import { type FileMutationBatchResult, FileMutationResult } from "#src/api/mutation-result.ts";
|
|
3
|
+
import { createUnifiedDiff } from "#src/core/mutation-result/diff.ts";
|
|
4
|
+
import { FileMutationAgentResult } from "#src/core/mutation-result/file-mutation-agent-result.ts";
|
|
5
5
|
|
|
6
6
|
import type { ResultSourceTarget } from "pi-agent-resource";
|
|
7
|
-
import type { OriginalToolCall } from "#src/core/text-edit-batch-coordinator.
|
|
7
|
+
import type { OriginalToolCall } from "#src/core/text-edit-batch-coordinator.ts";
|
|
8
8
|
import type { AgentToolResult } from "@earendil-works/pi-coding-agent";
|
|
9
9
|
|
|
10
10
|
export interface TextBatchParams {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
2
2
|
import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
|
|
3
|
-
import type { TextEditorCore } from "./text-editor-core.
|
|
3
|
+
import type { TextEditorCore } from "./text-editor-core.ts";
|
|
4
4
|
|
|
5
5
|
const activeOrigin = new AsyncLocalStorage<string>();
|
|
6
6
|
const executionRoots = new WeakMap<TextEditorCore, Map<string, string>>();
|
|
@@ -4,19 +4,19 @@ import type {
|
|
|
4
4
|
FileOperationInput,
|
|
5
5
|
FileOperationResolver,
|
|
6
6
|
FileOperationResult,
|
|
7
|
-
} from "#src/api/file-operations.
|
|
7
|
+
} from "#src/api/file-operations.ts";
|
|
8
8
|
import {
|
|
9
9
|
executeFileOperation,
|
|
10
10
|
isUriSource,
|
|
11
11
|
type FileOperationContext,
|
|
12
|
-
} from "#src/core/file-operations.
|
|
12
|
+
} from "#src/core/file-operations.ts";
|
|
13
13
|
import {
|
|
14
14
|
guardFileChanges,
|
|
15
15
|
guardFileOperation,
|
|
16
16
|
type FileGuardSnapshot,
|
|
17
|
-
} from "#src/core/file-operation-guards.
|
|
17
|
+
} from "#src/core/file-operation-guards.ts";
|
|
18
18
|
import path from "node:path";
|
|
19
|
-
import { deferPostEdit, collectPostEditNotifications } from "#src/core/post-edit-scope.
|
|
19
|
+
import { deferPostEdit, collectPostEditNotifications } from "#src/core/post-edit-scope.ts";
|
|
20
20
|
import { requiredValue } from "pi-agent-invariant";
|
|
21
21
|
import {
|
|
22
22
|
isAgentContent,
|
|
@@ -52,13 +52,13 @@ import {
|
|
|
52
52
|
type TextEditPipelineStage,
|
|
53
53
|
type TextEditState,
|
|
54
54
|
type TextPreEditState,
|
|
55
|
-
} from "#src/api/edit-pipeline.
|
|
55
|
+
} from "#src/api/edit-pipeline.ts";
|
|
56
56
|
import {
|
|
57
57
|
type AnyTextMutationToolRegistration,
|
|
58
58
|
assertTextMutationToolRegistration,
|
|
59
59
|
type TextMutationToolListener,
|
|
60
60
|
type TextSemanticMutationHandler,
|
|
61
|
-
} from "#src/api/mutation-tool.
|
|
61
|
+
} from "#src/api/mutation-tool.ts";
|
|
62
62
|
import {
|
|
63
63
|
isResourceResolverRegistration,
|
|
64
64
|
isTextAnchorResolverRegistration,
|
|
@@ -73,50 +73,50 @@ import {
|
|
|
73
73
|
type TextEditorPluginApi,
|
|
74
74
|
type TextEditorRecoveryConfigSection,
|
|
75
75
|
type TextEditorToolId,
|
|
76
|
-
} from "#src/api/plugin-protocol.
|
|
76
|
+
} from "#src/api/plugin-protocol.ts";
|
|
77
77
|
import {
|
|
78
78
|
isTextPostEditHandlerRegistration,
|
|
79
79
|
type TextPostEditContribution,
|
|
80
80
|
type TextPostEditHandlerRegistration,
|
|
81
81
|
type TextPostEditTransaction,
|
|
82
|
-
} from "#src/api/post-edit.
|
|
82
|
+
} from "#src/api/post-edit.ts";
|
|
83
83
|
import {
|
|
84
84
|
isTextEditorToolRendererRegistration,
|
|
85
85
|
type TextEditorToolRendererRegistration,
|
|
86
|
-
} from "#src/api/tool-renderer.
|
|
86
|
+
} from "#src/api/tool-renderer.ts";
|
|
87
87
|
import {
|
|
88
88
|
TextAnchorRegistry,
|
|
89
89
|
type TextAnchorRegistrySnapshot,
|
|
90
|
-
} from "#src/core/text-anchor-registry.
|
|
90
|
+
} from "#src/core/text-anchor-registry.ts";
|
|
91
91
|
import {
|
|
92
92
|
applyTextChanges,
|
|
93
93
|
type TextChange,
|
|
94
94
|
type TextChangeResult,
|
|
95
|
-
} from "#src/core/text-change-engine.
|
|
96
|
-
import { previewTextMutation } from "#src/core/text-mutation.
|
|
97
|
-
import { loadTextEditorConfig, recoverySection } from "#src/core/text-editor-config.
|
|
95
|
+
} from "#src/core/text-change-engine.ts";
|
|
96
|
+
import { previewTextMutation } from "#src/core/text-mutation.ts";
|
|
97
|
+
import { loadTextEditorConfig, recoverySection } from "#src/core/text-editor-config.ts";
|
|
98
98
|
|
|
99
99
|
import type {
|
|
100
100
|
TextAnchorInspectionOutcome,
|
|
101
101
|
TextAnchorInspectionRequest,
|
|
102
|
-
} from "#src/api/anchor-inspection.
|
|
103
|
-
import { currentTextEditOrigin } from "./text-edit-origin.
|
|
102
|
+
} from "#src/api/anchor-inspection.ts";
|
|
103
|
+
import { currentTextEditOrigin } from "./text-edit-origin.ts";
|
|
104
104
|
import type {
|
|
105
105
|
TextEditCompletion,
|
|
106
106
|
TextEditCompletionListener,
|
|
107
107
|
TextEditIntent,
|
|
108
|
-
} from "#src/api/edit-completion.
|
|
108
|
+
} from "#src/api/edit-completion.ts";
|
|
109
109
|
import type {
|
|
110
110
|
TextMutationGuardContext,
|
|
111
111
|
TextMutationGuardRegistration,
|
|
112
112
|
TextMutationPlan,
|
|
113
|
-
} from "#src/api/mutation-guard.
|
|
113
|
+
} from "#src/api/mutation-guard.ts";
|
|
114
114
|
import type {
|
|
115
115
|
TextMutationPreviewOutcome,
|
|
116
116
|
TextMutationPreviewRequest,
|
|
117
|
-
} from "#src/api/mutation-preview.
|
|
117
|
+
} from "#src/api/mutation-preview.ts";
|
|
118
118
|
|
|
119
|
-
import type { BeforeDeleteEvent, DeleteGuardRegistration } from "#src/api/delete-guard.
|
|
119
|
+
import type { BeforeDeleteEvent, DeleteGuardRegistration } from "#src/api/delete-guard.ts";
|
|
120
120
|
type PluginStatus = "active" | "pending";
|
|
121
121
|
|
|
122
122
|
interface PluginLifecycle {
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "pi-agent-resource";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
9
|
-
import type { TextEditCompletion } from "#src/api/edit-completion.
|
|
9
|
+
import type { TextEditCompletion } from "#src/api/edit-completion.ts";
|
|
10
10
|
import type {
|
|
11
11
|
TextAnchorRecoveryCandidateRange,
|
|
12
12
|
TextAnchorRecoveryRange,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
FileMutationResult,
|
|
29
29
|
type MutationResultPresentation,
|
|
30
30
|
type MutationOperationReceipt,
|
|
31
|
-
} from "#src/api/mutation-result.
|
|
31
|
+
} from "#src/api/mutation-result.ts";
|
|
32
32
|
import {
|
|
33
33
|
isMutationAnchorValue,
|
|
34
34
|
mutationSource,
|
|
@@ -38,55 +38,55 @@ import {
|
|
|
38
38
|
type TextMutationToolRegistration,
|
|
39
39
|
type TextSemanticMutationResult,
|
|
40
40
|
withoutEmptyOptionalAnchors,
|
|
41
|
-
} from "#src/api/mutation-tool.
|
|
41
|
+
} from "#src/api/mutation-tool.ts";
|
|
42
42
|
import {
|
|
43
43
|
isFormattingContribution,
|
|
44
44
|
isDiffStatusContribution,
|
|
45
45
|
isTextMutationResultContributionData,
|
|
46
|
-
} from "#src/api/post-edit.
|
|
46
|
+
} from "#src/api/post-edit.ts";
|
|
47
47
|
import {
|
|
48
48
|
formatStaleAnchorMessage,
|
|
49
49
|
type StaleAnchorMessageDetails,
|
|
50
|
-
} from "#src/api/stale-anchor-message.
|
|
51
|
-
import { createUnifiedDiff } from "#src/core/mutation-result/diff.
|
|
52
|
-
import { finalStateLineNumbers } from "#src/core/mutation-result/final-state-fragment.
|
|
53
|
-
import { imageWriteResult, planImageWrite } from "#src/core/image-write.
|
|
54
|
-
import { FileMutationAgentResult } from "#src/core/mutation-result/file-mutation-agent-result.
|
|
55
|
-
import { readTextAnchorRecovery } from "#src/core/text-anchor-recovery.
|
|
56
|
-
import { applyTextChanges, TextChangeDocument } from "#src/core/text-change-engine.
|
|
57
|
-
import { resolvedTextAnchorType } from "#src/core/text-anchor-registry.
|
|
58
|
-
import { executeTextToolWithBatch } from "#src/core/text-edit-batch-registrar.
|
|
59
|
-
import { retryWhenSourceChanged, SOURCE_CHANGED } from "#src/core/source-change-retry.
|
|
50
|
+
} from "#src/api/stale-anchor-message.ts";
|
|
51
|
+
import { createUnifiedDiff } from "#src/core/mutation-result/diff.ts";
|
|
52
|
+
import { finalStateLineNumbers } from "#src/core/mutation-result/final-state-fragment.ts";
|
|
53
|
+
import { imageWriteResult, planImageWrite } from "#src/core/image-write.ts";
|
|
54
|
+
import { FileMutationAgentResult } from "#src/core/mutation-result/file-mutation-agent-result.ts";
|
|
55
|
+
import { readTextAnchorRecovery } from "#src/core/text-anchor-recovery.ts";
|
|
56
|
+
import { applyTextChanges, TextChangeDocument } from "#src/core/text-change-engine.ts";
|
|
57
|
+
import { resolvedTextAnchorType } from "#src/core/text-anchor-registry.ts";
|
|
58
|
+
import { executeTextToolWithBatch } from "#src/core/text-edit-batch-registrar.ts";
|
|
59
|
+
import { retryWhenSourceChanged, SOURCE_CHANGED } from "#src/core/source-change-retry.ts";
|
|
60
60
|
import {
|
|
61
61
|
executeNativeTextEditBatch,
|
|
62
62
|
runNativePostEditScope,
|
|
63
63
|
recordNativeTextMutation,
|
|
64
|
-
} from "#src/core/native-text-edit-batch.
|
|
64
|
+
} from "#src/core/native-text-edit-batch.ts";
|
|
65
65
|
import {
|
|
66
66
|
attachCommittedMutationTarget,
|
|
67
67
|
attachWriteTarget,
|
|
68
68
|
describeUnavailableCopyTarget,
|
|
69
69
|
unchangedCopySources,
|
|
70
|
-
} from "./mutation-result-targets.
|
|
71
|
-
import { wholeFileResultSource } from "./result-input.
|
|
72
|
-
import { TEXT_SEARCH_ANCHOR_KIND } from "#src/api/plugin-protocol.
|
|
73
|
-
import { isResultInput, prepareResultTransfer } from "./result-transfer.
|
|
70
|
+
} from "./mutation-result-targets.ts";
|
|
71
|
+
import { wholeFileResultSource } from "./result-input.ts";
|
|
72
|
+
import { TEXT_SEARCH_ANCHOR_KIND } from "#src/api/plugin-protocol.ts";
|
|
73
|
+
import { isResultInput, prepareResultTransfer } from "./result-transfer.ts";
|
|
74
74
|
import {
|
|
75
75
|
contextualizeTextMutationAnchorError,
|
|
76
76
|
TextMutationAnchorAggregateError,
|
|
77
77
|
TextMutationAnchorResolutionError,
|
|
78
|
-
} from "#src/core/text-mutation-anchor-error.
|
|
78
|
+
} from "#src/core/text-mutation-anchor-error.ts";
|
|
79
79
|
import {
|
|
80
80
|
TOOL_CALL_INTERCEPTION_ANCHOR_RENDER_PATCH,
|
|
81
81
|
type ToolCallInterceptionRenderStore,
|
|
82
82
|
withToolCallInterceptionRendering,
|
|
83
|
-
} from "#src/core/tool-call-interceptor/rendering.
|
|
83
|
+
} from "#src/core/tool-call-interceptor/rendering.ts";
|
|
84
84
|
|
|
85
|
-
import type { TextEditExecutionOutcome, TextPreEditState } from "#src/api/edit-pipeline.
|
|
85
|
+
import type { TextEditExecutionOutcome, TextPreEditState } from "#src/api/edit-pipeline.ts";
|
|
86
86
|
import type {
|
|
87
87
|
TextMutationPreviewOutcome,
|
|
88
88
|
TextMutationPreviewRequest,
|
|
89
|
-
} from "#src/api/mutation-preview.
|
|
89
|
+
} from "#src/api/mutation-preview.ts";
|
|
90
90
|
import type {
|
|
91
91
|
ResolveResourceTextAnchor,
|
|
92
92
|
TextEditorCore,
|
|
@@ -94,15 +94,15 @@ import type {
|
|
|
94
94
|
TextResourceEditOutcome,
|
|
95
95
|
TextPresentedLines,
|
|
96
96
|
TextResourcesEditOutcome,
|
|
97
|
-
} from "#src/core/text-editor-core.
|
|
97
|
+
} from "#src/core/text-editor-core.ts";
|
|
98
98
|
import { renderTextAnchor, type TextAnchor } from "pi-agent-text";
|
|
99
|
-
import { TextSelectionAnchor } from "#src/api/text-selection-anchor.
|
|
99
|
+
import { TextSelectionAnchor } from "#src/api/text-selection-anchor.ts";
|
|
100
100
|
import type { ToolCallAnchorRenderState } from "pi-agent-tool-call-interception";
|
|
101
101
|
import type { Static, TSchema } from "typebox";
|
|
102
|
-
import { executeWholeFileTool, isWholeFileInvocation } from "#src/core/file-operation-tools.
|
|
103
|
-
import { EDITING_GUIDELINES } from "#src/core/editing-guidelines.
|
|
104
|
-
import { writeAgentResult } from "./write-agent-result.
|
|
105
|
-
import { mutationResultSchema, structuredMutation } from "./structured-result.
|
|
102
|
+
import { executeWholeFileTool, isWholeFileInvocation } from "#src/core/file-operation-tools.ts";
|
|
103
|
+
import { EDITING_GUIDELINES } from "#src/core/editing-guidelines.ts";
|
|
104
|
+
import { writeAgentResult } from "./write-agent-result.ts";
|
|
105
|
+
import { mutationResultSchema, structuredMutation } from "./structured-result.ts";
|
|
106
106
|
import type { ResultImageStore, ResultTargetStore } from "pi-agent-resource";
|
|
107
107
|
|
|
108
108
|
/** Build a mutation tool; host events report terminal filesystem approvals to Herdr. */
|
|
@@ -4,7 +4,7 @@ Runtime for intercepting streamed Pi tool calls.
|
|
|
4
4
|
|
|
5
5
|
import { Allow } from "partial-json";
|
|
6
6
|
import { assertJsonData, resultError, withStructuredResult } from "pi-agent-resource";
|
|
7
|
-
import { mutationDataSchema } from "#src/core/structured-result.
|
|
7
|
+
import { mutationDataSchema } from "#src/core/structured-result.ts";
|
|
8
8
|
import {
|
|
9
9
|
isToolCallAnnotation,
|
|
10
10
|
type ToolCallAnnotation,
|
|
@@ -12,13 +12,13 @@ import {
|
|
|
12
12
|
} from "pi-agent-tool-call-interception";
|
|
13
13
|
import { Guard } from "typebox-guard/guard";
|
|
14
14
|
|
|
15
|
-
import { resolvePartial } from "./partial-json-resolver.
|
|
15
|
+
import { resolvePartial } from "./partial-json-resolver.ts";
|
|
16
16
|
import {
|
|
17
17
|
type PartialToolRecoveryBatchEntry,
|
|
18
18
|
PartialToolRecoveryRegistry,
|
|
19
19
|
type PartialToolRecoveryResult,
|
|
20
|
-
} from "./partial-tool-recovery.
|
|
21
|
-
import { registerStreamingInterceptorProvider } from "./streaming-provider.
|
|
20
|
+
} from "./partial-tool-recovery.ts";
|
|
21
|
+
import { registerStreamingInterceptorProvider } from "./streaming-provider.ts";
|
|
22
22
|
|
|
23
23
|
import type {
|
|
24
24
|
AgentToolResult,
|
package/node_modules/pi-agent-text-editor/src/core/tool-call-interceptor/streaming-provider.ts
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
type Provider,
|
|
12
12
|
} from "@earendil-works/pi-ai";
|
|
13
13
|
|
|
14
|
-
import type { GuardInterception } from "./coordinator.
|
|
14
|
+
import type { GuardInterception } from "./coordinator.ts";
|
|
15
15
|
import type { ExtensionAPI, ExtensionContext } from "@earendil-works/pi-coding-agent";
|
|
16
16
|
|
|
17
17
|
type StreamSimple = (
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { AgentToolResult } from "@earendil-works/pi-coding-agent";
|
|
2
|
-
import type { TextEditCompletion } from "#src/api/edit-completion.
|
|
3
|
-
import type { FileMutationBatchResult, FileMutationResult } from "#src/api/mutation-result.
|
|
4
|
-
import { mutationOutcome } from "./structured-result.
|
|
2
|
+
import type { TextEditCompletion } from "#src/api/edit-completion.ts";
|
|
3
|
+
import type { FileMutationBatchResult, FileMutationResult } from "#src/api/mutation-result.ts";
|
|
4
|
+
import { mutationOutcome } from "./structured-result.ts";
|
|
5
5
|
|
|
6
6
|
/** Keep hook feedback and short problem notices without copying diagnostics, diffs, or file text. */
|
|
7
7
|
export function writeProblemNotices(results: readonly FileMutationResult[]): string[] {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { copyMutationTool } from "#src/tools/tool-text-copy.
|
|
2
|
-
import { deleteMutationTool } from "#src/tools/tool-text-delete.
|
|
3
|
-
import { insertMutationTool } from "#src/tools/tool-text-insert.
|
|
4
|
-
import { moveMutationTool } from "#src/tools/tool-text-move.
|
|
5
|
-
import { replaceMutationTool } from "#src/tools/tool-text-replace.
|
|
6
|
-
import { writeMutationTool } from "#src/tools/tool-text-write.
|
|
1
|
+
import { copyMutationTool } from "#src/tools/tool-text-copy.ts";
|
|
2
|
+
import { deleteMutationTool } from "#src/tools/tool-text-delete.ts";
|
|
3
|
+
import { insertMutationTool } from "#src/tools/tool-text-insert.ts";
|
|
4
|
+
import { moveMutationTool } from "#src/tools/tool-text-move.ts";
|
|
5
|
+
import { replaceMutationTool } from "#src/tools/tool-text-replace.ts";
|
|
6
|
+
import { writeMutationTool } from "#src/tools/tool-text-write.ts";
|
|
7
7
|
|
|
8
|
-
import type { TextEditorCore } from "#src/core/text-editor-core.
|
|
8
|
+
import type { TextEditorCore } from "#src/core/text-editor-core.ts";
|
|
9
9
|
import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
|
|
10
10
|
|
|
11
11
|
export function registerTextEditorTools(_pi: ExtensionAPI, core: TextEditorCore): void {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { requiredValue } from "pi-agent-invariant";
|
|
2
|
-
import { TextSelectionAnchor, type TextSelectionRange } from "#src/api/text-selection-anchor.
|
|
2
|
+
import { TextSelectionAnchor, type TextSelectionRange } from "#src/api/text-selection-anchor.ts";
|
|
3
3
|
|
|
4
|
-
import type { TextMutationContext } from "#src/api/mutation-tool.
|
|
4
|
+
import type { TextMutationContext } from "#src/api/mutation-tool.ts";
|
|
5
5
|
import type { TextAnchor } from "pi-agent-text";
|
|
6
6
|
|
|
7
7
|
export function textSelections(
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
resultSourceProperty,
|
|
5
5
|
sourceRangeProperties,
|
|
6
6
|
targetProperties,
|
|
7
|
-
} from "#src/tools/text-tool-schema-properties.
|
|
7
|
+
} from "#src/tools/text-tool-schema-properties.ts";
|
|
8
8
|
|
|
9
|
-
import { TEXT_POSITION_ANCHOR_KIND, TEXT_SEARCH_ANCHOR_KIND } from "#src/api/plugin-protocol.
|
|
10
|
-
import { anchorSpanRange, insertionAfterAnchor } from "#src/tools/text-selection.
|
|
9
|
+
import { TEXT_POSITION_ANCHOR_KIND, TEXT_SEARCH_ANCHOR_KIND } from "#src/api/plugin-protocol.ts";
|
|
10
|
+
import { anchorSpanRange, insertionAfterAnchor } from "#src/tools/text-selection.ts";
|
|
11
11
|
|
|
12
|
-
import type { TextMutationToolRegistration } from "#src/api/mutation-tool.
|
|
12
|
+
import type { TextMutationToolRegistration } from "#src/api/mutation-tool.ts";
|
|
13
13
|
|
|
14
14
|
export const copySchema = Type.Object(
|
|
15
15
|
{
|
|
@@ -3,17 +3,17 @@ import { Type } from "typebox";
|
|
|
3
3
|
import {
|
|
4
4
|
resultSourceProperty,
|
|
5
5
|
sourceRangeProperties,
|
|
6
|
-
} from "#src/tools/text-tool-schema-properties.
|
|
6
|
+
} from "#src/tools/text-tool-schema-properties.ts";
|
|
7
7
|
|
|
8
|
-
import { TEXT_POSITION_ANCHOR_KIND, TEXT_SEARCH_ANCHOR_KIND } from "#src/api/plugin-protocol.
|
|
8
|
+
import { TEXT_POSITION_ANCHOR_KIND, TEXT_SEARCH_ANCHOR_KIND } from "#src/api/plugin-protocol.ts";
|
|
9
9
|
import {
|
|
10
10
|
anchorSpanRange,
|
|
11
11
|
deleteAnchorSpan,
|
|
12
12
|
selectionChanges,
|
|
13
13
|
textSelections,
|
|
14
|
-
} from "#src/tools/text-selection.
|
|
14
|
+
} from "#src/tools/text-selection.ts";
|
|
15
15
|
|
|
16
|
-
import type { TextMutationToolRegistration } from "#src/api/mutation-tool.
|
|
16
|
+
import type { TextMutationToolRegistration } from "#src/api/mutation-tool.ts";
|
|
17
17
|
|
|
18
18
|
export const deleteSchema = Type.Object(
|
|
19
19
|
{
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { Type } from "typebox";
|
|
2
2
|
|
|
3
|
-
import { TEXT_POSITION_ANCHOR_KIND, TEXT_SEARCH_ANCHOR_KIND } from "#src/api/plugin-protocol.
|
|
3
|
+
import { TEXT_POSITION_ANCHOR_KIND, TEXT_SEARCH_ANCHOR_KIND } from "#src/api/plugin-protocol.ts";
|
|
4
4
|
import {
|
|
5
5
|
insertionAfterAnchor,
|
|
6
6
|
insertionBeforeAnchor,
|
|
7
7
|
insertionChanges,
|
|
8
8
|
textSelections,
|
|
9
9
|
targetText,
|
|
10
|
-
} from "#src/tools/text-selection.
|
|
10
|
+
} from "#src/tools/text-selection.ts";
|
|
11
11
|
|
|
12
|
-
import type { TextMutationToolRegistration } from "#src/api/mutation-tool.
|
|
12
|
+
import type { TextMutationToolRegistration } from "#src/api/mutation-tool.ts";
|
|
13
13
|
|
|
14
14
|
export const insertSchema = Type.Object(
|
|
15
15
|
{
|
|
@@ -4,17 +4,17 @@ import {
|
|
|
4
4
|
resultSourceProperty,
|
|
5
5
|
sourceRangeProperties,
|
|
6
6
|
targetProperties,
|
|
7
|
-
} from "#src/tools/text-tool-schema-properties.
|
|
7
|
+
} from "#src/tools/text-tool-schema-properties.ts";
|
|
8
8
|
|
|
9
|
-
import { TEXT_POSITION_ANCHOR_KIND, TEXT_SEARCH_ANCHOR_KIND } from "#src/api/plugin-protocol.
|
|
9
|
+
import { TEXT_POSITION_ANCHOR_KIND, TEXT_SEARCH_ANCHOR_KIND } from "#src/api/plugin-protocol.ts";
|
|
10
10
|
import {
|
|
11
11
|
anchorSpanRange,
|
|
12
12
|
deleteAnchorSpan,
|
|
13
13
|
insertionAfterAnchor,
|
|
14
|
-
} from "#src/tools/text-selection.
|
|
14
|
+
} from "#src/tools/text-selection.ts";
|
|
15
15
|
|
|
16
|
-
import type { TextMutationToolRegistration } from "#src/api/mutation-tool.
|
|
17
|
-
import type { TextChange } from "#src/core/text-change-engine.
|
|
16
|
+
import type { TextMutationToolRegistration } from "#src/api/mutation-tool.ts";
|
|
17
|
+
import type { TextChange } from "#src/core/text-change-engine.ts";
|
|
18
18
|
|
|
19
19
|
export const moveSchema = Type.Object(
|
|
20
20
|
{
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { Type } from "typebox";
|
|
2
2
|
import { resultInputSchema } from "pi-agent-resource";
|
|
3
3
|
|
|
4
|
-
import { sourceRangeProperties } from "#src/tools/text-tool-schema-properties.
|
|
4
|
+
import { sourceRangeProperties } from "#src/tools/text-tool-schema-properties.ts";
|
|
5
5
|
|
|
6
|
-
import { TEXT_POSITION_ANCHOR_KIND, TEXT_SEARCH_ANCHOR_KIND } from "#src/api/plugin-protocol.
|
|
6
|
+
import { TEXT_POSITION_ANCHOR_KIND, TEXT_SEARCH_ANCHOR_KIND } from "#src/api/plugin-protocol.ts";
|
|
7
7
|
import {
|
|
8
8
|
anchorSpanRange,
|
|
9
9
|
replaceAnchorSpan,
|
|
10
10
|
selectionChanges,
|
|
11
11
|
textSelections,
|
|
12
|
-
} from "#src/tools/text-selection.
|
|
12
|
+
} from "#src/tools/text-selection.ts";
|
|
13
13
|
|
|
14
|
-
import type { TextMutationToolRegistration } from "#src/api/mutation-tool.
|
|
14
|
+
import type { TextMutationToolRegistration } from "#src/api/mutation-tool.ts";
|
|
15
15
|
|
|
16
16
|
export const replaceSchema = Type.Object(
|
|
17
17
|
{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Type } from "typebox";
|
|
2
2
|
import { resultInputSchema } from "pi-agent-resource";
|
|
3
3
|
|
|
4
|
-
import type { TextMutationToolRegistration } from "#src/api/mutation-tool.
|
|
4
|
+
import type { TextMutationToolRegistration } from "#src/api/mutation-tool.ts";
|
|
5
5
|
|
|
6
6
|
export const writeSchema = Type.Object(
|
|
7
7
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Text } from "@earendil-works/pi-tui";
|
|
2
|
-
import { MutationPanel } from "./src/mutation-panel.
|
|
3
|
-
import { resolveMutationResultResources } from "./src/mutation-result.
|
|
2
|
+
import { MutationPanel } from "./src/mutation-panel.ts";
|
|
3
|
+
import { resolveMutationResultResources } from "./src/mutation-result.ts";
|
|
4
4
|
import { connectTextEditorPlugin } from "pi-agent-text-editor/api/connect-plugin";
|
|
5
5
|
import {
|
|
6
6
|
TEXT_EDITOR_API_VERSION,
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
type TextEditorPlugin,
|
|
9
9
|
} from "pi-agent-text-editor/api/plugin-protocol";
|
|
10
10
|
|
|
11
|
-
import { createMutationAnimationPressure } from "./src/animation-pressure.
|
|
12
|
-
import { registerMutationRenderers } from "./src/renderer.
|
|
11
|
+
import { createMutationAnimationPressure } from "./src/animation-pressure.ts";
|
|
12
|
+
import { registerMutationRenderers } from "./src/renderer.ts";
|
|
13
13
|
|
|
14
|
-
import { compactMutationDetails } from "./src/persisted-result.
|
|
14
|
+
import { compactMutationDetails } from "./src/persisted-result.ts";
|
|
15
15
|
import type { FileMutationBatchResult } from "pi-agent-text-editor/api/mutation-result";
|
|
16
16
|
|
|
17
17
|
import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-agent-text-editor-renderer",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"imports": {
|
|
6
6
|
"#src/*": "./src/*"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"pi-agent-invariant": "0.9.
|
|
10
|
-
"pi-agent-text-editor": "0.9.
|
|
11
|
-
"pi-agent-tool-call-interception": "0.9.
|
|
12
|
-
"pi-agent-tool-ui": "0.9.
|
|
9
|
+
"pi-agent-invariant": "0.9.6",
|
|
10
|
+
"pi-agent-text-editor": "0.9.6",
|
|
11
|
+
"pi-agent-tool-call-interception": "0.9.6",
|
|
12
|
+
"pi-agent-tool-ui": "0.9.6"
|
|
13
13
|
},
|
|
14
14
|
"pi": {
|
|
15
15
|
"extensions": [
|
|
@@ -4,10 +4,10 @@ import { truncateToWidth, visibleWidth, wrapTextWithAnsi } from "@earendil-works
|
|
|
4
4
|
|
|
5
5
|
import { preserveEnclosingBackground } from "pi-agent-tool-ui";
|
|
6
6
|
|
|
7
|
-
import { createDiffThemePalette, type DiffThemePalette, type DiffThemeTone } from "./diff-theme.
|
|
8
|
-
import { compactViewport, expandedViewport, type ViewportRow } from "./diff-viewport.
|
|
7
|
+
import { createDiffThemePalette, type DiffThemePalette, type DiffThemeTone } from "./diff-theme.ts";
|
|
8
|
+
import { compactViewport, expandedViewport, type ViewportRow } from "./diff-viewport.ts";
|
|
9
9
|
|
|
10
|
-
import type { DiffModel, DiffRow, DiffTextRange } from "./diff-model.
|
|
10
|
+
import type { DiffModel, DiffRow, DiffTextRange } from "./diff-model.ts";
|
|
11
11
|
|
|
12
12
|
export interface DiffPanelResource {
|
|
13
13
|
readonly path: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { requiredValue } from "pi-agent-invariant";
|
|
2
|
-
import { createDiffModel, DIFF_CONTEXT_LINES, type DiffModel, type DiffRow } from "./diff-model.
|
|
2
|
+
import { createDiffModel, DIFF_CONTEXT_LINES, type DiffModel, type DiffRow } from "./diff-model.ts";
|
|
3
3
|
|
|
4
|
-
import type { MutationRenderResource } from "./render-resource.
|
|
4
|
+
import type { MutationRenderResource } from "./render-resource.ts";
|
|
5
5
|
import type {
|
|
6
6
|
TextMutationPreviewRange,
|
|
7
7
|
TextMutationPreviewResource,
|
|
@@ -12,11 +12,11 @@ import {
|
|
|
12
12
|
type ToolCallHeaderDetail,
|
|
13
13
|
} from "pi-agent-tool-ui";
|
|
14
14
|
|
|
15
|
-
import { createDiffModel, type DiffModel, type DiffRow } from "./diff-model.
|
|
16
|
-
import { type DiffPanelResource, renderDiffPanel } from "./diff-renderer.
|
|
15
|
+
import { createDiffModel, type DiffModel, type DiffRow } from "./diff-model.ts";
|
|
16
|
+
import { type DiffPanelResource, renderDiffPanel } from "./diff-renderer.ts";
|
|
17
17
|
|
|
18
|
-
import type { MutationRenderResource } from "./render-resource.
|
|
19
|
-
import { summarizeStatuses } from "./status-summary.
|
|
18
|
+
import type { MutationRenderResource } from "./render-resource.ts";
|
|
19
|
+
import { summarizeStatuses } from "./status-summary.ts";
|
|
20
20
|
|
|
21
21
|
type ToolBackground = "toolPendingBg" | "toolSuccessBg" | "toolErrorBg";
|
|
22
22
|
|
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
type DiffModel,
|
|
7
7
|
type DiffRow,
|
|
8
8
|
type DiffTextRange,
|
|
9
|
-
} from "./diff-model.
|
|
9
|
+
} from "./diff-model.ts";
|
|
10
10
|
|
|
11
|
-
import type { MutationRenderResource } from "./render-resource.
|
|
11
|
+
import type { MutationRenderResource } from "./render-resource.ts";
|
|
12
12
|
import type {
|
|
13
13
|
TextMutationPreviewRange,
|
|
14
14
|
TextMutationPreviewResource,
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
freezeMutationViewports,
|
|
5
5
|
type FrozenMutationViewports,
|
|
6
6
|
projectFinalResources,
|
|
7
|
-
} from "./frozen-viewport.
|
|
7
|
+
} from "./frozen-viewport.ts";
|
|
8
8
|
|
|
9
|
-
import type { MutationRenderResource } from "./render-resource.
|
|
9
|
+
import type { MutationRenderResource } from "./render-resource.ts";
|
|
10
10
|
import type { TextMutationPreviewResource } from "pi-agent-text-editor/api/mutation-preview";
|
|
11
11
|
|
|
12
|
-
import type { PersistedMutationDetails } from "./persisted-result.
|
|
12
|
+
import type { PersistedMutationDetails } from "./persisted-result.ts";
|
|
13
13
|
|
|
14
14
|
interface PersistedTextChange {
|
|
15
15
|
readonly fromA: number;
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
type FileMutationBatchResult,
|
|
4
4
|
type MutationDiffStatus,
|
|
5
5
|
} from "pi-agent-text-editor/api/mutation-result";
|
|
6
|
-
import { resolveMutationResultResources } from "./mutation-result.
|
|
7
|
-
import type { DiffModel } from "./diff-model.
|
|
6
|
+
import { resolveMutationResultResources } from "./mutation-result.ts";
|
|
7
|
+
import type { DiffModel } from "./diff-model.ts";
|
|
8
8
|
|
|
9
9
|
/** Width- and theme-independent fragments retained in session history. */
|
|
10
10
|
export interface PersistedMutationResource {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MutationDiffStatus } from "pi-agent-text-editor/api/mutation-result";
|
|
2
|
-
import type { DiffModel } from "./diff-model.
|
|
2
|
+
import type { DiffModel } from "./diff-model.ts";
|
|
3
3
|
import type { TextMutationPreviewResource } from "pi-agent-text-editor/api/mutation-preview";
|
|
4
4
|
|
|
5
5
|
export interface MutationRenderResource extends TextMutationPreviewResource {
|
|
@@ -6,20 +6,20 @@ import {
|
|
|
6
6
|
type ToolCallAnchorRenderPatch,
|
|
7
7
|
} from "pi-agent-tool-call-interception";
|
|
8
8
|
import { singleLine, type ToolCallHeaderDetail } from "pi-agent-tool-ui";
|
|
9
|
-
import { NEXT_TOOL_CALL_DRAIN_MS, type MutationAnimationPressure } from "./animation-pressure.
|
|
9
|
+
import { NEXT_TOOL_CALL_DRAIN_MS, type MutationAnimationPressure } from "./animation-pressure.ts";
|
|
10
10
|
|
|
11
|
-
import { freezeMutationViewports, type FrozenMutationViewports } from "./frozen-viewport.
|
|
12
|
-
import { MutationPanel } from "./mutation-panel.
|
|
11
|
+
import { freezeMutationViewports, type FrozenMutationViewports } from "./frozen-viewport.ts";
|
|
12
|
+
import { MutationPanel } from "./mutation-panel.ts";
|
|
13
13
|
import {
|
|
14
14
|
advanceTypingProjectionResources,
|
|
15
15
|
extendTypingPreviewResources,
|
|
16
16
|
preserveCompletedTypingRows,
|
|
17
17
|
projectTypingResources,
|
|
18
|
-
} from "./mutation-projection.
|
|
19
|
-
import { resolveMutationResultResources } from "./mutation-result.
|
|
20
|
-
import { TYPING_FRAME_INTERVAL_MS, TypingInterpolation } from "./typing-interpolation.
|
|
18
|
+
} from "./mutation-projection.ts";
|
|
19
|
+
import { resolveMutationResultResources } from "./mutation-result.ts";
|
|
20
|
+
import { TYPING_FRAME_INTERVAL_MS, TypingInterpolation } from "./typing-interpolation.ts";
|
|
21
21
|
|
|
22
|
-
import type { MutationRenderResource } from "./render-resource.
|
|
22
|
+
import type { MutationRenderResource } from "./render-resource.ts";
|
|
23
23
|
import type { Theme } from "@earendil-works/pi-coding-agent";
|
|
24
24
|
|
|
25
25
|
import type { TextMutationPreviewResource } from "pi-agent-text-editor/api/mutation-preview";
|