@vibesdotdev/external 0.0.0-stage → 1.0.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +18 -0
- package/README.md +68 -2
- package/REFERENCE.md +217 -0
- package/dist/acp/index.d.ts +28 -0
- package/dist/acp/index.d.ts.map +1 -0
- package/dist/acp/index.js +31 -0
- package/dist/acp/index.js.map +1 -0
- package/dist/ambient/agent-roster-heartbeat.d.ts +67 -0
- package/dist/ambient/agent-roster-heartbeat.d.ts.map +1 -0
- package/dist/ambient/agent-roster-heartbeat.js +257 -0
- package/dist/ambient/agent-roster-heartbeat.js.map +1 -0
- package/dist/ambient/attempt.d.ts +19 -0
- package/dist/ambient/attempt.d.ts.map +1 -0
- package/dist/ambient/attempt.js +39 -0
- package/dist/ambient/attempt.js.map +1 -0
- package/dist/ambient/cloud-agent-roster-provider.impl.d.ts +13 -0
- package/dist/ambient/cloud-agent-roster-provider.impl.d.ts.map +1 -0
- package/dist/ambient/cloud-agent-roster-provider.impl.js +73 -0
- package/dist/ambient/cloud-agent-roster-provider.impl.js.map +1 -0
- package/dist/ambient/cloud-authenticated-json.d.ts +69 -0
- package/dist/ambient/cloud-authenticated-json.d.ts.map +1 -0
- package/dist/ambient/cloud-authenticated-json.js +108 -0
- package/dist/ambient/cloud-authenticated-json.js.map +1 -0
- package/dist/ambient/cloud-touch-projection.impl.d.ts +74 -0
- package/dist/ambient/cloud-touch-projection.impl.d.ts.map +1 -0
- package/dist/ambient/cloud-touch-projection.impl.js +225 -0
- package/dist/ambient/cloud-touch-projection.impl.js.map +1 -0
- package/dist/ambient/collaboration-settings.d.ts +50 -0
- package/dist/ambient/collaboration-settings.d.ts.map +1 -0
- package/dist/ambient/collaboration-settings.js +57 -0
- package/dist/ambient/collaboration-settings.js.map +1 -0
- package/dist/ambient/collision-notice.d.ts +41 -0
- package/dist/ambient/collision-notice.d.ts.map +1 -0
- package/dist/ambient/collision-notice.js +104 -0
- package/dist/ambient/collision-notice.js.map +1 -0
- package/dist/ambient/default-collision-filter.impl.d.ts +19 -0
- package/dist/ambient/default-collision-filter.impl.d.ts.map +1 -0
- package/dist/ambient/default-collision-filter.impl.js +53 -0
- package/dist/ambient/default-collision-filter.impl.js.map +1 -0
- package/dist/ambient/default-notice-formatter.impl.d.ts +4 -0
- package/dist/ambient/default-notice-formatter.impl.d.ts.map +1 -0
- package/dist/ambient/default-notice-formatter.impl.js +38 -0
- package/dist/ambient/default-notice-formatter.impl.js.map +1 -0
- package/dist/ambient/file-access-ambient-drain.impl.d.ts +21 -0
- package/dist/ambient/file-access-ambient-drain.impl.d.ts.map +1 -0
- package/dist/ambient/file-access-ambient-drain.impl.js +53 -0
- package/dist/ambient/file-access-ambient-drain.impl.js.map +1 -0
- package/dist/ambient/file-access-ambient-drain.subscription.descriptor.d.ts +27 -0
- package/dist/ambient/file-access-ambient-drain.subscription.descriptor.d.ts.map +1 -0
- package/dist/ambient/file-access-ambient-drain.subscription.descriptor.js +27 -0
- package/dist/ambient/file-access-ambient-drain.subscription.descriptor.js.map +1 -0
- package/dist/ambient/file-access-ambient-fs.impl.d.ts +45 -0
- package/dist/ambient/file-access-ambient-fs.impl.d.ts.map +1 -0
- package/dist/ambient/file-access-ambient-fs.impl.js +243 -0
- package/dist/ambient/file-access-ambient-fs.impl.js.map +1 -0
- package/dist/ambient/file-access-ambient-fs.subscription.descriptor.d.ts +32 -0
- package/dist/ambient/file-access-ambient-fs.subscription.descriptor.d.ts.map +1 -0
- package/dist/ambient/file-access-ambient-fs.subscription.descriptor.js +39 -0
- package/dist/ambient/file-access-ambient-fs.subscription.descriptor.js.map +1 -0
- package/dist/ambient/file-access-ambient.impl.d.ts +32 -0
- package/dist/ambient/file-access-ambient.impl.d.ts.map +1 -0
- package/dist/ambient/file-access-ambient.impl.js +231 -0
- package/dist/ambient/file-access-ambient.impl.js.map +1 -0
- package/dist/ambient/file-access-ambient.subscription.descriptor.d.ts +31 -0
- package/dist/ambient/file-access-ambient.subscription.descriptor.d.ts.map +1 -0
- package/dist/ambient/file-access-ambient.subscription.descriptor.js +31 -0
- package/dist/ambient/file-access-ambient.subscription.descriptor.js.map +1 -0
- package/dist/ambient/file-access-shared.d.ts +48 -0
- package/dist/ambient/file-access-shared.d.ts.map +1 -0
- package/dist/ambient/file-access-shared.js +59 -0
- package/dist/ambient/file-access-shared.js.map +1 -0
- package/dist/ambient/message-transport.impl.d.ts +47 -0
- package/dist/ambient/message-transport.impl.d.ts.map +1 -0
- package/dist/ambient/message-transport.impl.js +300 -0
- package/dist/ambient/message-transport.impl.js.map +1 -0
- package/dist/ambient/pending-notices.d.ts +11 -0
- package/dist/ambient/pending-notices.d.ts.map +1 -0
- package/dist/ambient/pending-notices.js +24 -0
- package/dist/ambient/pending-notices.js.map +1 -0
- package/dist/ambient/subsystem-overlap.impl.d.ts +60 -0
- package/dist/ambient/subsystem-overlap.impl.d.ts.map +1 -0
- package/dist/ambient/subsystem-overlap.impl.js +127 -0
- package/dist/ambient/subsystem-overlap.impl.js.map +1 -0
- package/dist/cli/dev.external.hooks-install.descriptor.d.ts +7 -0
- package/dist/cli/dev.external.hooks-install.descriptor.d.ts.map +1 -0
- package/dist/cli/dev.external.hooks-install.descriptor.js +27 -0
- package/dist/cli/dev.external.hooks-install.descriptor.js.map +1 -0
- package/dist/cli/dev.external.hooks-install.impl.d.ts +9 -0
- package/dist/cli/dev.external.hooks-install.impl.d.ts.map +1 -0
- package/dist/cli/dev.external.hooks-install.impl.js +57 -0
- package/dist/cli/dev.external.hooks-install.impl.js.map +1 -0
- package/dist/cli/dev.external.hooks-list.descriptor.d.ts +7 -0
- package/dist/cli/dev.external.hooks-list.descriptor.d.ts.map +1 -0
- package/dist/cli/dev.external.hooks-list.descriptor.js +16 -0
- package/dist/cli/dev.external.hooks-list.descriptor.js.map +1 -0
- package/dist/cli/dev.external.hooks-list.impl.d.ts +3 -0
- package/dist/cli/dev.external.hooks-list.impl.d.ts.map +1 -0
- package/dist/cli/dev.external.hooks-list.impl.js +68 -0
- package/dist/cli/dev.external.hooks-list.impl.js.map +1 -0
- package/dist/cli/dev.external.hooks-uninstall.descriptor.d.ts +7 -0
- package/dist/cli/dev.external.hooks-uninstall.descriptor.d.ts.map +1 -0
- package/dist/cli/dev.external.hooks-uninstall.descriptor.js +30 -0
- package/dist/cli/dev.external.hooks-uninstall.descriptor.js.map +1 -0
- package/dist/cli/dev.external.hooks-uninstall.impl.d.ts +9 -0
- package/dist/cli/dev.external.hooks-uninstall.impl.d.ts.map +1 -0
- package/dist/cli/dev.external.hooks-uninstall.impl.js +59 -0
- package/dist/cli/dev.external.hooks-uninstall.impl.js.map +1 -0
- package/dist/cli/dev.external.hooks.call.descriptor.d.ts +12 -0
- package/dist/cli/dev.external.hooks.call.descriptor.d.ts.map +1 -0
- package/dist/cli/dev.external.hooks.call.descriptor.js +51 -0
- package/dist/cli/dev.external.hooks.call.descriptor.js.map +1 -0
- package/dist/cli/dev.external.hooks.call.impl.d.ts +6 -0
- package/dist/cli/dev.external.hooks.call.impl.d.ts.map +1 -0
- package/dist/cli/dev.external.hooks.call.impl.js +162 -0
- package/dist/cli/dev.external.hooks.call.impl.js.map +1 -0
- package/dist/cli/dev.external.hooks.descriptor.d.ts +9 -0
- package/dist/cli/dev.external.hooks.descriptor.d.ts.map +1 -0
- package/dist/cli/dev.external.hooks.descriptor.js +17 -0
- package/dist/cli/dev.external.hooks.descriptor.js.map +1 -0
- package/dist/cli/dev.external.launch.descriptor.d.ts +7 -0
- package/dist/cli/dev.external.launch.descriptor.d.ts.map +1 -0
- package/dist/cli/dev.external.launch.descriptor.js +31 -0
- package/dist/cli/dev.external.launch.descriptor.js.map +1 -0
- package/dist/cli/dev.external.launch.impl.d.ts +17 -0
- package/dist/cli/dev.external.launch.impl.d.ts.map +1 -0
- package/dist/cli/dev.external.launch.impl.js +137 -0
- package/dist/cli/dev.external.launch.impl.js.map +1 -0
- package/dist/cli/dev.external.presets-apply.descriptor.d.ts +7 -0
- package/dist/cli/dev.external.presets-apply.descriptor.d.ts.map +1 -0
- package/dist/cli/dev.external.presets-apply.descriptor.js +36 -0
- package/dist/cli/dev.external.presets-apply.descriptor.js.map +1 -0
- package/dist/cli/dev.external.presets-apply.impl.d.ts +3 -0
- package/dist/cli/dev.external.presets-apply.impl.d.ts.map +1 -0
- package/dist/cli/dev.external.presets-apply.impl.js +119 -0
- package/dist/cli/dev.external.presets-apply.impl.js.map +1 -0
- package/dist/cli/dev.external.presets-list.descriptor.d.ts +7 -0
- package/dist/cli/dev.external.presets-list.descriptor.d.ts.map +1 -0
- package/dist/cli/dev.external.presets-list.descriptor.js +21 -0
- package/dist/cli/dev.external.presets-list.descriptor.js.map +1 -0
- package/dist/cli/dev.external.presets-list.impl.d.ts +3 -0
- package/dist/cli/dev.external.presets-list.impl.d.ts.map +1 -0
- package/dist/cli/dev.external.presets-list.impl.js +33 -0
- package/dist/cli/dev.external.presets-list.impl.js.map +1 -0
- package/dist/cli/dev.external.presets-show.descriptor.d.ts +7 -0
- package/dist/cli/dev.external.presets-show.descriptor.d.ts.map +1 -0
- package/dist/cli/dev.external.presets-show.descriptor.js +29 -0
- package/dist/cli/dev.external.presets-show.descriptor.js.map +1 -0
- package/dist/cli/dev.external.presets-show.impl.d.ts +7 -0
- package/dist/cli/dev.external.presets-show.impl.d.ts.map +1 -0
- package/dist/cli/dev.external.presets-show.impl.js +39 -0
- package/dist/cli/dev.external.presets-show.impl.js.map +1 -0
- package/dist/cli/dev.external.presets.descriptor.d.ts +7 -0
- package/dist/cli/dev.external.presets.descriptor.d.ts.map +1 -0
- package/dist/cli/dev.external.presets.descriptor.js +15 -0
- package/dist/cli/dev.external.presets.descriptor.js.map +1 -0
- package/dist/cli/dev.external.setup.descriptor.d.ts +7 -0
- package/dist/cli/dev.external.setup.descriptor.d.ts.map +1 -0
- package/dist/cli/dev.external.setup.descriptor.js +29 -0
- package/dist/cli/dev.external.setup.descriptor.js.map +1 -0
- package/dist/cli/dev.external.setup.impl.d.ts +3 -0
- package/dist/cli/dev.external.setup.impl.d.ts.map +1 -0
- package/dist/cli/dev.external.setup.impl.js +129 -0
- package/dist/cli/dev.external.setup.impl.js.map +1 -0
- package/dist/cli/dev.external.skills-generate.descriptor.d.ts +7 -0
- package/dist/cli/dev.external.skills-generate.descriptor.d.ts.map +1 -0
- package/dist/cli/dev.external.skills-generate.descriptor.js +43 -0
- package/dist/cli/dev.external.skills-generate.descriptor.js.map +1 -0
- package/dist/cli/dev.external.skills-generate.impl.consumer.d.ts +3 -0
- package/dist/cli/dev.external.skills-generate.impl.consumer.d.ts.map +1 -0
- package/dist/cli/dev.external.skills-generate.impl.consumer.js +140 -0
- package/dist/cli/dev.external.skills-generate.impl.consumer.js.map +1 -0
- package/dist/cli/dev.external.skills.descriptor.d.ts +7 -0
- package/dist/cli/dev.external.skills.descriptor.d.ts.map +1 -0
- package/dist/cli/dev.external.skills.descriptor.js +15 -0
- package/dist/cli/dev.external.skills.descriptor.js.map +1 -0
- package/dist/cli/dev.external.status.descriptor.d.ts +7 -0
- package/dist/cli/dev.external.status.descriptor.d.ts.map +1 -0
- package/dist/cli/dev.external.status.descriptor.js +16 -0
- package/dist/cli/dev.external.status.descriptor.js.map +1 -0
- package/dist/cli/dev.external.status.impl.d.ts +24 -0
- package/dist/cli/dev.external.status.impl.d.ts.map +1 -0
- package/dist/cli/dev.external.status.impl.js +165 -0
- package/dist/cli/dev.external.status.impl.js.map +1 -0
- package/dist/cli/launch/launch.cli-group.descriptor.d.ts +4 -0
- package/dist/cli/launch/launch.cli-group.descriptor.d.ts.map +1 -0
- package/dist/cli/launch/launch.cli-group.descriptor.js +12 -0
- package/dist/cli/launch/launch.cli-group.descriptor.js.map +1 -0
- package/dist/cli/launch/launch.harness.impl.consumer.d.ts +6 -0
- package/dist/cli/launch/launch.harness.impl.consumer.d.ts.map +1 -0
- package/dist/cli/launch/launch.harness.impl.consumer.js +55 -0
- package/dist/cli/launch/launch.harness.impl.consumer.js.map +1 -0
- package/dist/cli/launch/launch.list.descriptor.d.ts +4 -0
- package/dist/cli/launch/launch.list.descriptor.d.ts.map +1 -0
- package/dist/cli/launch/launch.list.descriptor.js +13 -0
- package/dist/cli/launch/launch.list.descriptor.js.map +1 -0
- package/dist/cli/launch/launch.list.impl.consumer.d.ts +7 -0
- package/dist/cli/launch/launch.list.impl.consumer.d.ts.map +1 -0
- package/dist/cli/launch/launch.list.impl.consumer.js +26 -0
- package/dist/cli/launch/launch.list.impl.consumer.js.map +1 -0
- package/dist/cli/launch/launch.logs.descriptor.d.ts +4 -0
- package/dist/cli/launch/launch.logs.descriptor.d.ts.map +1 -0
- package/dist/cli/launch/launch.logs.descriptor.js +30 -0
- package/dist/cli/launch/launch.logs.descriptor.js.map +1 -0
- package/dist/cli/launch/launch.logs.impl.consumer.d.ts +7 -0
- package/dist/cli/launch/launch.logs.impl.consumer.d.ts.map +1 -0
- package/dist/cli/launch/launch.logs.impl.consumer.js +78 -0
- package/dist/cli/launch/launch.logs.impl.consumer.js.map +1 -0
- package/dist/cli/launch/launch.status.descriptor.d.ts +4 -0
- package/dist/cli/launch/launch.status.descriptor.d.ts.map +1 -0
- package/dist/cli/launch/launch.status.descriptor.js +21 -0
- package/dist/cli/launch/launch.status.descriptor.js.map +1 -0
- package/dist/cli/launch/launch.status.impl.consumer.d.ts +7 -0
- package/dist/cli/launch/launch.status.impl.consumer.d.ts.map +1 -0
- package/dist/cli/launch/launch.status.impl.consumer.js +69 -0
- package/dist/cli/launch/launch.status.impl.consumer.js.map +1 -0
- package/dist/cli/plugin.d.ts +4 -0
- package/dist/cli/plugin.d.ts.map +1 -0
- package/dist/cli/plugin.js +76 -0
- package/dist/cli/plugin.js.map +1 -0
- package/dist/cli/runtime-projection.d.ts +34 -0
- package/dist/cli/runtime-projection.d.ts.map +1 -0
- package/dist/cli/runtime-projection.js +272 -0
- package/dist/cli/runtime-projection.js.map +1 -0
- package/dist/cli/stdio.d.ts +15 -0
- package/dist/cli/stdio.d.ts.map +1 -0
- package/dist/cli/stdio.js +15 -0
- package/dist/cli/stdio.js.map +1 -0
- package/dist/cli/who.descriptor.d.ts +16 -0
- package/dist/cli/who.descriptor.d.ts.map +1 -0
- package/dist/cli/who.descriptor.js +38 -0
- package/dist/cli/who.descriptor.js.map +1 -0
- package/dist/cli/who.impl.d.ts +16 -0
- package/dist/cli/who.impl.d.ts.map +1 -0
- package/dist/cli/who.impl.js +127 -0
- package/dist/cli/who.impl.js.map +1 -0
- package/dist/client/external-client.d.ts +423 -0
- package/dist/client/external-client.d.ts.map +1 -0
- package/dist/client/external-client.js +988 -0
- package/dist/client/external-client.js.map +1 -0
- package/dist/client/index.d.ts +9 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +8 -0
- package/dist/client/index.js.map +1 -0
- package/dist/client/lifecycle.d.ts +25 -0
- package/dist/client/lifecycle.d.ts.map +1 -0
- package/dist/client/lifecycle.js +134 -0
- package/dist/client/lifecycle.js.map +1 -0
- package/dist/config/binary-detection.d.ts +26 -0
- package/dist/config/binary-detection.d.ts.map +1 -0
- package/dist/config/binary-detection.js +105 -0
- package/dist/config/binary-detection.js.map +1 -0
- package/dist/config/external.config.descriptor.d.ts +11 -0
- package/dist/config/external.config.descriptor.d.ts.map +1 -0
- package/dist/config/external.config.descriptor.js +41 -0
- package/dist/config/external.config.descriptor.js.map +1 -0
- package/dist/config/index.d.ts +10 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/index.js +10 -0
- package/dist/config/index.js.map +1 -0
- package/dist/config/manifest.d.ts +4696 -0
- package/dist/config/manifest.d.ts.map +1 -0
- package/dist/config/manifest.js +210 -0
- package/dist/config/manifest.js.map +1 -0
- package/dist/config/read.d.ts +13 -0
- package/dist/config/read.d.ts.map +1 -0
- package/dist/config/read.js +20 -0
- package/dist/config/read.js.map +1 -0
- package/dist/consumer.d.ts +15 -0
- package/dist/consumer.d.ts.map +1 -0
- package/dist/consumer.js +15 -0
- package/dist/consumer.js.map +1 -0
- package/dist/detection/base.d.ts +71 -0
- package/dist/detection/base.d.ts.map +1 -0
- package/dist/detection/base.js +115 -0
- package/dist/detection/base.js.map +1 -0
- package/dist/detection/command-probe.d.ts +43 -0
- package/dist/detection/command-probe.d.ts.map +1 -0
- package/dist/detection/command-probe.js +75 -0
- package/dist/detection/command-probe.js.map +1 -0
- package/dist/detection/config-document.d.ts +31 -0
- package/dist/detection/config-document.d.ts.map +1 -0
- package/dist/detection/config-document.js +138 -0
- package/dist/detection/config-document.js.map +1 -0
- package/dist/detection/index.d.ts +11 -0
- package/dist/detection/index.d.ts.map +1 -0
- package/dist/detection/index.js +13 -0
- package/dist/detection/index.js.map +1 -0
- package/dist/detection/manifest-detector-helpers.d.ts +45 -0
- package/dist/detection/manifest-detector-helpers.d.ts.map +1 -0
- package/dist/detection/manifest-detector-helpers.js +198 -0
- package/dist/detection/manifest-detector-helpers.js.map +1 -0
- package/dist/detection/manifest-detector.d.ts +34 -0
- package/dist/detection/manifest-detector.d.ts.map +1 -0
- package/dist/detection/manifest-detector.js +123 -0
- package/dist/detection/manifest-detector.js.map +1 -0
- package/dist/detection/service.d.ts +99 -0
- package/dist/detection/service.d.ts.map +1 -0
- package/dist/detection/service.js +124 -0
- package/dist/detection/service.js.map +1 -0
- package/dist/detection/types.d.ts +113 -0
- package/dist/detection/types.d.ts.map +1 -0
- package/dist/detection/types.js +30 -0
- package/dist/detection/types.js.map +1 -0
- package/dist/dev.external.descriptor.d.ts +9 -0
- package/dist/dev.external.descriptor.d.ts.map +1 -0
- package/dist/dev.external.descriptor.js +17 -0
- package/dist/dev.external.descriptor.js.map +1 -0
- package/dist/docs/external.ambient.docs.descriptor.d.ts +4 -0
- package/dist/docs/external.ambient.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/external.ambient.docs.descriptor.js +109 -0
- package/dist/docs/external.ambient.docs.descriptor.js.map +1 -0
- package/dist/external-adapter/descriptors.d.ts +133 -0
- package/dist/external-adapter/descriptors.d.ts.map +1 -0
- package/dist/external-adapter/descriptors.js +70 -0
- package/dist/external-adapter/descriptors.js.map +1 -0
- package/dist/external-adapter/implementations.d.ts +13 -0
- package/dist/external-adapter/implementations.d.ts.map +1 -0
- package/dist/external-adapter/implementations.js +97 -0
- package/dist/external-adapter/implementations.js.map +1 -0
- package/dist/external-adapter/schemas/adapter.d.ts +66 -0
- package/dist/external-adapter/schemas/adapter.d.ts.map +1 -0
- package/dist/external-adapter/schemas/adapter.js +55 -0
- package/dist/external-adapter/schemas/adapter.js.map +1 -0
- package/dist/external-tool/impl/default-tool.d.ts +201 -0
- package/dist/external-tool/impl/default-tool.d.ts.map +1 -0
- package/dist/external-tool/impl/default-tool.js +243 -0
- package/dist/external-tool/impl/default-tool.js.map +1 -0
- package/dist/external-tool/interfaces/tool.d.ts +102 -0
- package/dist/external-tool/interfaces/tool.d.ts.map +1 -0
- package/dist/external-tool/interfaces/tool.js +2 -0
- package/dist/external-tool/interfaces/tool.js.map +1 -0
- package/dist/external-tool/loader.d.ts +5 -0
- package/dist/external-tool/loader.d.ts.map +1 -0
- package/dist/external-tool/loader.js +8 -0
- package/dist/external-tool/loader.js.map +1 -0
- package/dist/external-tool/path-template.d.ts +54 -0
- package/dist/external-tool/path-template.d.ts.map +1 -0
- package/dist/external-tool/path-template.js +65 -0
- package/dist/external-tool/path-template.js.map +1 -0
- package/dist/external-tool/runtime.d.ts +38 -0
- package/dist/external-tool/runtime.d.ts.map +1 -0
- package/dist/external-tool/runtime.js +89 -0
- package/dist/external-tool/runtime.js.map +1 -0
- package/dist/external-tool/schemas/tool.d.ts +269 -0
- package/dist/external-tool/schemas/tool.d.ts.map +1 -0
- package/dist/external-tool/schemas/tool.js +77 -0
- package/dist/external-tool/schemas/tool.js.map +1 -0
- package/dist/external.plugin.d.ts +4 -0
- package/dist/external.plugin.d.ts.map +1 -0
- package/dist/external.plugin.js +184 -0
- package/dist/external.plugin.js.map +1 -0
- package/dist/harness/agent-host-scope.d.ts +18 -0
- package/dist/harness/agent-host-scope.d.ts.map +1 -0
- package/dist/harness/agent-host-scope.js +30 -0
- package/dist/harness/agent-host-scope.js.map +1 -0
- package/dist/harness/agent-host-settings.d.ts +6 -0
- package/dist/harness/agent-host-settings.d.ts.map +1 -0
- package/dist/harness/agent-host-settings.js +18 -0
- package/dist/harness/agent-host-settings.js.map +1 -0
- package/dist/harness/agent-host.config.descriptor.d.ts +6 -0
- package/dist/harness/agent-host.config.descriptor.d.ts.map +1 -0
- package/dist/harness/agent-host.config.descriptor.js +22 -0
- package/dist/harness/agent-host.config.descriptor.js.map +1 -0
- package/dist/harness/agent-host.d.ts +98 -0
- package/dist/harness/agent-host.d.ts.map +1 -0
- package/dist/harness/agent-host.js +203 -0
- package/dist/harness/agent-host.js.map +1 -0
- package/dist/harness/command-arguments.d.ts +54 -0
- package/dist/harness/command-arguments.d.ts.map +1 -0
- package/dist/harness/command-arguments.js +113 -0
- package/dist/harness/command-arguments.js.map +1 -0
- package/dist/harness/command-execution.d.ts +20 -0
- package/dist/harness/command-execution.d.ts.map +1 -0
- package/dist/harness/command-execution.js +78 -0
- package/dist/harness/command-execution.js.map +1 -0
- package/dist/harness/command-output.d.ts +59 -0
- package/dist/harness/command-output.d.ts.map +1 -0
- package/dist/harness/command-output.js +173 -0
- package/dist/harness/command-output.js.map +1 -0
- package/dist/harness/execution-queue.d.ts +14 -0
- package/dist/harness/execution-queue.d.ts.map +1 -0
- package/dist/harness/execution-queue.js +23 -0
- package/dist/harness/execution-queue.js.map +1 -0
- package/dist/harness/index.d.ts +15 -0
- package/dist/harness/index.d.ts.map +1 -0
- package/dist/harness/index.js +12 -0
- package/dist/harness/index.js.map +1 -0
- package/dist/harness/live-tools.d.ts +130 -0
- package/dist/harness/live-tools.d.ts.map +1 -0
- package/dist/harness/live-tools.js +257 -0
- package/dist/harness/live-tools.js.map +1 -0
- package/dist/harness/managed-block.d.ts +34 -0
- package/dist/harness/managed-block.d.ts.map +1 -0
- package/dist/harness/managed-block.js +66 -0
- package/dist/harness/managed-block.js.map +1 -0
- package/dist/harness/markers.d.ts +22 -0
- package/dist/harness/markers.d.ts.map +1 -0
- package/dist/harness/markers.js +28 -0
- package/dist/harness/markers.js.map +1 -0
- package/dist/harness/node.d.ts +6 -0
- package/dist/harness/node.d.ts.map +1 -0
- package/dist/harness/node.js +6 -0
- package/dist/harness/node.js.map +1 -0
- package/dist/harness/prompt.d.ts +54 -0
- package/dist/harness/prompt.d.ts.map +1 -0
- package/dist/harness/prompt.js +78 -0
- package/dist/harness/prompt.js.map +1 -0
- package/dist/harness/prompts/index.d.ts +113 -0
- package/dist/harness/prompts/index.d.ts.map +1 -0
- package/dist/harness/prompts/index.js +5 -0
- package/dist/harness/prompts/index.js.map +1 -0
- package/dist/harness/prompts/static-briefing-note.prompt.descriptor.d.ts +114 -0
- package/dist/harness/prompts/static-briefing-note.prompt.descriptor.d.ts.map +1 -0
- package/dist/harness/prompts/static-briefing-note.prompt.descriptor.js +17 -0
- package/dist/harness/prompts/static-briefing-note.prompt.descriptor.js.map +1 -0
- package/dist/harness/prompts/system-prompt.prompt.descriptor.d.ts +114 -0
- package/dist/harness/prompts/system-prompt.prompt.descriptor.d.ts.map +1 -0
- package/dist/harness/prompts/system-prompt.prompt.descriptor.js +35 -0
- package/dist/harness/prompts/system-prompt.prompt.descriptor.js.map +1 -0
- package/dist/harness/role-prompt.d.ts +12 -0
- package/dist/harness/role-prompt.d.ts.map +1 -0
- package/dist/harness/role-prompt.js +24 -0
- package/dist/harness/role-prompt.js.map +1 -0
- package/dist/harness/runtime-transport.d.ts +89 -0
- package/dist/harness/runtime-transport.d.ts.map +1 -0
- package/dist/harness/runtime-transport.js +356 -0
- package/dist/harness/runtime-transport.js.map +1 -0
- package/dist/harness/schemas/agent-host.d.ts +146 -0
- package/dist/harness/schemas/agent-host.d.ts.map +1 -0
- package/dist/harness/schemas/agent-host.js +26 -0
- package/dist/harness/schemas/agent-host.js.map +1 -0
- package/dist/harness/stdio-sink.d.ts +35 -0
- package/dist/harness/stdio-sink.d.ts.map +1 -0
- package/dist/harness/stdio-sink.js +34 -0
- package/dist/harness/stdio-sink.js.map +1 -0
- package/dist/harness/strip-undefined.d.ts +9 -0
- package/dist/harness/strip-undefined.d.ts.map +1 -0
- package/dist/harness/strip-undefined.js +11 -0
- package/dist/harness/strip-undefined.js.map +1 -0
- package/dist/harness/tool-projection.d.ts +130 -0
- package/dist/harness/tool-projection.d.ts.map +1 -0
- package/dist/harness/tool-projection.js +195 -0
- package/dist/harness/tool-projection.js.map +1 -0
- package/dist/harness/validation-errors.d.ts +11 -0
- package/dist/harness/validation-errors.d.ts.map +1 -0
- package/dist/harness/validation-errors.js +32 -0
- package/dist/harness/validation-errors.js.map +1 -0
- package/dist/hooks/bounded-payload.d.ts +39 -0
- package/dist/hooks/bounded-payload.d.ts.map +1 -0
- package/dist/hooks/bounded-payload.js +70 -0
- package/dist/hooks/bounded-payload.js.map +1 -0
- package/dist/hooks/bridge.d.ts +34 -0
- package/dist/hooks/bridge.d.ts.map +1 -0
- package/dist/hooks/bridge.js +86 -0
- package/dist/hooks/bridge.js.map +1 -0
- package/dist/hooks/call.d.ts +298 -0
- package/dist/hooks/call.d.ts.map +1 -0
- package/dist/hooks/call.js +1550 -0
- package/dist/hooks/call.js.map +1 -0
- package/dist/hooks/consumer.d.ts +7 -0
- package/dist/hooks/consumer.d.ts.map +1 -0
- package/dist/hooks/consumer.js +5 -0
- package/dist/hooks/consumer.js.map +1 -0
- package/dist/hooks/continuity.d.ts +155 -0
- package/dist/hooks/continuity.d.ts.map +1 -0
- package/dist/hooks/continuity.js +187 -0
- package/dist/hooks/continuity.js.map +1 -0
- package/dist/hooks/dispatch-script.d.ts +27 -0
- package/dist/hooks/dispatch-script.d.ts.map +1 -0
- package/dist/hooks/dispatch-script.js +77 -0
- package/dist/hooks/dispatch-script.js.map +1 -0
- package/dist/hooks/edit-targets.d.ts +23 -0
- package/dist/hooks/edit-targets.d.ts.map +1 -0
- package/dist/hooks/edit-targets.js +74 -0
- package/dist/hooks/edit-targets.js.map +1 -0
- package/dist/hooks/hook-delivery.d.ts +21 -0
- package/dist/hooks/hook-delivery.d.ts.map +1 -0
- package/dist/hooks/hook-delivery.js +87 -0
- package/dist/hooks/hook-delivery.js.map +1 -0
- package/dist/hooks/hook-seat.d.ts +37 -0
- package/dist/hooks/hook-seat.d.ts.map +1 -0
- package/dist/hooks/hook-seat.js +59 -0
- package/dist/hooks/hook-seat.js.map +1 -0
- package/dist/hooks/index.d.ts +9 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/index.js +8 -0
- package/dist/hooks/index.js.map +1 -0
- package/dist/hooks/native-edit-guard.d.ts +25 -0
- package/dist/hooks/native-edit-guard.d.ts.map +1 -0
- package/dist/hooks/native-edit-guard.js +33 -0
- package/dist/hooks/native-edit-guard.js.map +1 -0
- package/dist/hooks/native-edit-locks.d.ts +54 -0
- package/dist/hooks/native-edit-locks.d.ts.map +1 -0
- package/dist/hooks/native-edit-locks.js +98 -0
- package/dist/hooks/native-edit-locks.js.map +1 -0
- package/dist/hooks/resolve-event.d.ts +13 -0
- package/dist/hooks/resolve-event.d.ts.map +1 -0
- package/dist/hooks/resolve-event.js +32 -0
- package/dist/hooks/resolve-event.js.map +1 -0
- package/dist/hooks/review-state.d.ts +22 -0
- package/dist/hooks/review-state.d.ts.map +1 -0
- package/dist/hooks/review-state.js +57 -0
- package/dist/hooks/review-state.js.map +1 -0
- package/dist/hooks/runtime.d.ts +146 -0
- package/dist/hooks/runtime.d.ts.map +1 -0
- package/dist/hooks/runtime.js +83 -0
- package/dist/hooks/runtime.js.map +1 -0
- package/dist/hooks/self-review.d.ts +14 -0
- package/dist/hooks/self-review.d.ts.map +1 -0
- package/dist/hooks/self-review.js +28 -0
- package/dist/hooks/self-review.js.map +1 -0
- package/dist/index.d.ts +41 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +33 -0
- package/dist/index.js.map +1 -0
- package/dist/ingest/logging/subagent-completions.output.descriptor.d.ts +4 -0
- package/dist/ingest/logging/subagent-completions.output.descriptor.d.ts.map +1 -0
- package/dist/ingest/logging/subagent-completions.output.descriptor.js +22 -0
- package/dist/ingest/logging/subagent-completions.output.descriptor.js.map +1 -0
- package/dist/ingest/logging/success-patterns.output.descriptor.d.ts +4 -0
- package/dist/ingest/logging/success-patterns.output.descriptor.d.ts.map +1 -0
- package/dist/ingest/logging/success-patterns.output.descriptor.js +22 -0
- package/dist/ingest/logging/success-patterns.output.descriptor.js.map +1 -0
- package/dist/ingest/logging/tool-use.output.descriptor.d.ts +4 -0
- package/dist/ingest/logging/tool-use.output.descriptor.d.ts.map +1 -0
- package/dist/ingest/logging/tool-use.output.descriptor.js +22 -0
- package/dist/ingest/logging/tool-use.output.descriptor.js.map +1 -0
- package/dist/ingest/resolve-log-paths.d.ts +16 -0
- package/dist/ingest/resolve-log-paths.d.ts.map +1 -0
- package/dist/ingest/resolve-log-paths.js +43 -0
- package/dist/ingest/resolve-log-paths.js.map +1 -0
- package/dist/ingest/schemas.d.ts +43 -0
- package/dist/ingest/schemas.d.ts.map +1 -0
- package/dist/ingest/schemas.js +46 -0
- package/dist/ingest/schemas.js.map +1 -0
- package/dist/jsonrpc/client.d.ts +129 -0
- package/dist/jsonrpc/client.d.ts.map +1 -0
- package/dist/jsonrpc/client.js +553 -0
- package/dist/jsonrpc/client.js.map +1 -0
- package/dist/jsonrpc/envelope.d.ts +37 -0
- package/dist/jsonrpc/envelope.d.ts.map +1 -0
- package/dist/jsonrpc/envelope.js +46 -0
- package/dist/jsonrpc/envelope.js.map +1 -0
- package/dist/jsonrpc/errors.d.ts +28 -0
- package/dist/jsonrpc/errors.d.ts.map +1 -0
- package/dist/jsonrpc/errors.js +110 -0
- package/dist/jsonrpc/errors.js.map +1 -0
- package/dist/jsonrpc/framing.d.ts +35 -0
- package/dist/jsonrpc/framing.d.ts.map +1 -0
- package/dist/jsonrpc/framing.js +134 -0
- package/dist/jsonrpc/framing.js.map +1 -0
- package/dist/jsonrpc/index.d.ts +11 -0
- package/dist/jsonrpc/index.d.ts.map +1 -0
- package/dist/jsonrpc/index.js +11 -0
- package/dist/jsonrpc/index.js.map +1 -0
- package/dist/jsonrpc/outcome.d.ts +25 -0
- package/dist/jsonrpc/outcome.d.ts.map +1 -0
- package/dist/jsonrpc/outcome.js +32 -0
- package/dist/jsonrpc/outcome.js.map +1 -0
- package/dist/jsonrpc/queue.d.ts +30 -0
- package/dist/jsonrpc/queue.d.ts.map +1 -0
- package/dist/jsonrpc/queue.js +113 -0
- package/dist/jsonrpc/queue.js.map +1 -0
- package/dist/jsonrpc/schemas.d.ts +74 -0
- package/dist/jsonrpc/schemas.d.ts.map +1 -0
- package/dist/jsonrpc/schemas.js +65 -0
- package/dist/jsonrpc/schemas.js.map +1 -0
- package/dist/launch/consumer/execute.d.ts +5 -0
- package/dist/launch/consumer/execute.d.ts.map +1 -0
- package/dist/launch/consumer/execute.js +358 -0
- package/dist/launch/consumer/execute.js.map +1 -0
- package/dist/launch/consumer/paths.d.ts +15 -0
- package/dist/launch/consumer/paths.d.ts.map +1 -0
- package/dist/launch/consumer/paths.js +18 -0
- package/dist/launch/consumer/paths.js.map +1 -0
- package/dist/launch/consumer/prepare.d.ts +25 -0
- package/dist/launch/consumer/prepare.d.ts.map +1 -0
- package/dist/launch/consumer/prepare.js +158 -0
- package/dist/launch/consumer/prepare.js.map +1 -0
- package/dist/launch/consumer/prompt.d.ts +18 -0
- package/dist/launch/consumer/prompt.d.ts.map +1 -0
- package/dist/launch/consumer/prompt.js +45 -0
- package/dist/launch/consumer/prompt.js.map +1 -0
- package/dist/launch/consumer/rotate-logs.d.ts +23 -0
- package/dist/launch/consumer/rotate-logs.d.ts.map +1 -0
- package/dist/launch/consumer/rotate-logs.js +43 -0
- package/dist/launch/consumer/rotate-logs.js.map +1 -0
- package/dist/launch/consumer/spawn.d.ts +38 -0
- package/dist/launch/consumer/spawn.d.ts.map +1 -0
- package/dist/launch/consumer/spawn.js +82 -0
- package/dist/launch/consumer/spawn.js.map +1 -0
- package/dist/launch/consumer/state-rows.d.ts +41 -0
- package/dist/launch/consumer/state-rows.d.ts.map +1 -0
- package/dist/launch/consumer/state-rows.js +78 -0
- package/dist/launch/consumer/state-rows.js.map +1 -0
- package/dist/launch/consumer/store.d.ts +139 -0
- package/dist/launch/consumer/store.d.ts.map +1 -0
- package/dist/launch/consumer/store.js +495 -0
- package/dist/launch/consumer/store.js.map +1 -0
- package/dist/launch/index.d.ts +5 -0
- package/dist/launch/index.d.ts.map +1 -0
- package/dist/launch/index.js +3 -0
- package/dist/launch/index.js.map +1 -0
- package/dist/launch/resolve.d.ts +9 -0
- package/dist/launch/resolve.d.ts.map +1 -0
- package/dist/launch/resolve.js +139 -0
- package/dist/launch/resolve.js.map +1 -0
- package/dist/launch/schemas.d.ts +289 -0
- package/dist/launch/schemas.d.ts.map +1 -0
- package/dist/launch/schemas.js +154 -0
- package/dist/launch/schemas.js.map +1 -0
- package/dist/launch/task-executor/external-harness.descriptor.d.ts +6 -0
- package/dist/launch/task-executor/external-harness.descriptor.d.ts.map +1 -0
- package/dist/launch/task-executor/external-harness.descriptor.js +13 -0
- package/dist/launch/task-executor/external-harness.descriptor.js.map +1 -0
- package/dist/launch/task-executor/external-harness.impl.consumer.d.ts +17 -0
- package/dist/launch/task-executor/external-harness.impl.consumer.d.ts.map +1 -0
- package/dist/launch/task-executor/external-harness.impl.consumer.js +151 -0
- package/dist/launch/task-executor/external-harness.impl.consumer.js.map +1 -0
- package/dist/launch/task-executor/isolated-workspace.d.ts +3 -0
- package/dist/launch/task-executor/isolated-workspace.d.ts.map +1 -0
- package/dist/launch/task-executor/isolated-workspace.js +3 -0
- package/dist/launch/task-executor/isolated-workspace.js.map +1 -0
- package/dist/launch/task-executor/session-locks.d.ts +28 -0
- package/dist/launch/task-executor/session-locks.d.ts.map +1 -0
- package/dist/launch/task-executor/session-locks.js +50 -0
- package/dist/launch/task-executor/session-locks.js.map +1 -0
- package/dist/pack/adapter-codegen.d.ts +38 -0
- package/dist/pack/adapter-codegen.d.ts.map +1 -0
- package/dist/pack/adapter-codegen.js +70 -0
- package/dist/pack/adapter-codegen.js.map +1 -0
- package/dist/pack/build.d.ts +48 -0
- package/dist/pack/build.d.ts.map +1 -0
- package/dist/pack/build.js +171 -0
- package/dist/pack/build.js.map +1 -0
- package/dist/pack/emitters/hooks.d.ts +14 -0
- package/dist/pack/emitters/hooks.d.ts.map +1 -0
- package/dist/pack/emitters/hooks.js +15 -0
- package/dist/pack/emitters/hooks.js.map +1 -0
- package/dist/pack/emitters/json.d.ts +10 -0
- package/dist/pack/emitters/json.d.ts.map +1 -0
- package/dist/pack/emitters/json.js +17 -0
- package/dist/pack/emitters/json.js.map +1 -0
- package/dist/pack/emitters/registry.d.ts +22 -0
- package/dist/pack/emitters/registry.d.ts.map +1 -0
- package/dist/pack/emitters/registry.js +38 -0
- package/dist/pack/emitters/registry.js.map +1 -0
- package/dist/pack/emitters/toml.d.ts +8 -0
- package/dist/pack/emitters/toml.d.ts.map +1 -0
- package/dist/pack/emitters/toml.js +28 -0
- package/dist/pack/emitters/toml.js.map +1 -0
- package/dist/pack/emitters/yaml.d.ts +8 -0
- package/dist/pack/emitters/yaml.d.ts.map +1 -0
- package/dist/pack/emitters/yaml.js +27 -0
- package/dist/pack/emitters/yaml.js.map +1 -0
- package/dist/pack/index.d.ts +11 -0
- package/dist/pack/index.d.ts.map +1 -0
- package/dist/pack/index.js +11 -0
- package/dist/pack/index.js.map +1 -0
- package/dist/pack/mcp.d.ts +28 -0
- package/dist/pack/mcp.d.ts.map +1 -0
- package/dist/pack/mcp.js +70 -0
- package/dist/pack/mcp.js.map +1 -0
- package/dist/pack/persist.d.ts +28 -0
- package/dist/pack/persist.d.ts.map +1 -0
- package/dist/pack/persist.js +35 -0
- package/dist/pack/persist.js.map +1 -0
- package/dist/pack/schema.d.ts +126 -0
- package/dist/pack/schema.d.ts.map +1 -0
- package/dist/pack/schema.js +56 -0
- package/dist/pack/schema.js.map +1 -0
- package/dist/plugins/index.d.ts +512 -0
- package/dist/plugins/index.d.ts.map +1 -0
- package/dist/plugins/index.js +25 -0
- package/dist/plugins/index.js.map +1 -0
- package/dist/plugins/installers/config-file.d.ts +21 -0
- package/dist/plugins/installers/config-file.d.ts.map +1 -0
- package/dist/plugins/installers/config-file.js +48 -0
- package/dist/plugins/installers/config-file.js.map +1 -0
- package/dist/plugins/installers/config-value.d.ts +35 -0
- package/dist/plugins/installers/config-value.d.ts.map +1 -0
- package/dist/plugins/installers/config-value.js +52 -0
- package/dist/plugins/installers/config-value.js.map +1 -0
- package/dist/plugins/installers/hooks/index.d.ts +9 -0
- package/dist/plugins/installers/hooks/index.d.ts.map +1 -0
- package/dist/plugins/installers/hooks/index.js +12 -0
- package/dist/plugins/installers/hooks/index.js.map +1 -0
- package/dist/plugins/installers/hooks/scoped-paths.d.ts +24 -0
- package/dist/plugins/installers/hooks/scoped-paths.d.ts.map +1 -0
- package/dist/plugins/installers/hooks/scoped-paths.js +80 -0
- package/dist/plugins/installers/hooks/scoped-paths.js.map +1 -0
- package/dist/plugins/installers/hooks/settings-registration.d.ts +79 -0
- package/dist/plugins/installers/hooks/settings-registration.d.ts.map +1 -0
- package/dist/plugins/installers/hooks/settings-registration.js +125 -0
- package/dist/plugins/installers/hooks/settings-registration.js.map +1 -0
- package/dist/plugins/installers/hooks/shell-installer.d.ts +21 -0
- package/dist/plugins/installers/hooks/shell-installer.d.ts.map +1 -0
- package/dist/plugins/installers/hooks/shell-installer.js +298 -0
- package/dist/plugins/installers/hooks/shell-installer.js.map +1 -0
- package/dist/plugins/installers/hooks/uninstall-backup.d.ts +19 -0
- package/dist/plugins/installers/hooks/uninstall-backup.d.ts.map +1 -0
- package/dist/plugins/installers/hooks/uninstall-backup.js +20 -0
- package/dist/plugins/installers/hooks/uninstall-backup.js.map +1 -0
- package/dist/plugins/installers/index.d.ts +58 -0
- package/dist/plugins/installers/index.d.ts.map +1 -0
- package/dist/plugins/installers/index.js +303 -0
- package/dist/plugins/installers/index.js.map +1 -0
- package/dist/plugins/installers/mcp/environment.d.ts +180 -0
- package/dist/plugins/installers/mcp/environment.d.ts.map +1 -0
- package/dist/plugins/installers/mcp/environment.js +314 -0
- package/dist/plugins/installers/mcp/environment.js.map +1 -0
- package/dist/plugins/installers/mcp/index.d.ts +9 -0
- package/dist/plugins/installers/mcp/index.d.ts.map +1 -0
- package/dist/plugins/installers/mcp/index.js +11 -0
- package/dist/plugins/installers/mcp/index.js.map +1 -0
- package/dist/plugins/installers/mcp/json-installer.d.ts +18 -0
- package/dist/plugins/installers/mcp/json-installer.d.ts.map +1 -0
- package/dist/plugins/installers/mcp/json-installer.js +155 -0
- package/dist/plugins/installers/mcp/json-installer.js.map +1 -0
- package/dist/plugins/installers/mcp/json-paths.d.ts +13 -0
- package/dist/plugins/installers/mcp/json-paths.d.ts.map +1 -0
- package/dist/plugins/installers/mcp/json-paths.js +130 -0
- package/dist/plugins/installers/mcp/json-paths.js.map +1 -0
- package/dist/plugins/installers/mcp/serve-identity.d.ts +19 -0
- package/dist/plugins/installers/mcp/serve-identity.d.ts.map +1 -0
- package/dist/plugins/installers/mcp/serve-identity.js +31 -0
- package/dist/plugins/installers/mcp/serve-identity.js.map +1 -0
- package/dist/plugins/installers/mcp/server-config.d.ts +20 -0
- package/dist/plugins/installers/mcp/server-config.d.ts.map +1 -0
- package/dist/plugins/installers/mcp/server-config.js +64 -0
- package/dist/plugins/installers/mcp/server-config.js.map +1 -0
- package/dist/plugins/installers/mcp/toml-installer.d.ts +41 -0
- package/dist/plugins/installers/mcp/toml-installer.d.ts.map +1 -0
- package/dist/plugins/installers/mcp/toml-installer.js +407 -0
- package/dist/plugins/installers/mcp/toml-installer.js.map +1 -0
- package/dist/plugins/installers/mcp/yaml-installer.d.ts +22 -0
- package/dist/plugins/installers/mcp/yaml-installer.d.ts.map +1 -0
- package/dist/plugins/installers/mcp/yaml-installer.js +156 -0
- package/dist/plugins/installers/mcp/yaml-installer.js.map +1 -0
- package/dist/plugins/installers/runtime.d.ts +42 -0
- package/dist/plugins/installers/runtime.d.ts.map +1 -0
- package/dist/plugins/installers/runtime.js +56 -0
- package/dist/plugins/installers/runtime.js.map +1 -0
- package/dist/plugins/installers/types.d.ts +306 -0
- package/dist/plugins/installers/types.d.ts.map +1 -0
- package/dist/plugins/installers/types.js +40 -0
- package/dist/plugins/installers/types.js.map +1 -0
- package/dist/plugins/schemas/index.d.ts +6 -0
- package/dist/plugins/schemas/index.d.ts.map +1 -0
- package/dist/plugins/schemas/index.js +5 -0
- package/dist/plugins/schemas/index.js.map +1 -0
- package/dist/plugins/schemas/manifest.d.ts +527 -0
- package/dist/plugins/schemas/manifest.d.ts.map +1 -0
- package/dist/plugins/schemas/manifest.js +355 -0
- package/dist/plugins/schemas/manifest.js.map +1 -0
- package/dist/plugins/tools/index.d.ts +12 -0
- package/dist/plugins/tools/index.d.ts.map +1 -0
- package/dist/plugins/tools/index.js +19 -0
- package/dist/plugins/tools/index.js.map +1 -0
- package/dist/presets/executor.d.ts +20 -0
- package/dist/presets/executor.d.ts.map +1 -0
- package/dist/presets/executor.js +629 -0
- package/dist/presets/executor.js.map +1 -0
- package/dist/presets/file-backup.d.ts +66 -0
- package/dist/presets/file-backup.d.ts.map +1 -0
- package/dist/presets/file-backup.js +108 -0
- package/dist/presets/file-backup.js.map +1 -0
- package/dist/presets/index.d.ts +11 -0
- package/dist/presets/index.d.ts.map +1 -0
- package/dist/presets/index.js +10 -0
- package/dist/presets/index.js.map +1 -0
- package/dist/presets/resolve.d.ts +32 -0
- package/dist/presets/resolve.d.ts.map +1 -0
- package/dist/presets/resolve.js +49 -0
- package/dist/presets/resolve.js.map +1 -0
- package/dist/presets/runtime.d.ts +21 -0
- package/dist/presets/runtime.d.ts.map +1 -0
- package/dist/presets/runtime.js +115 -0
- package/dist/presets/runtime.js.map +1 -0
- package/dist/projection/attestation.d.ts +43 -0
- package/dist/projection/attestation.d.ts.map +1 -0
- package/dist/projection/attestation.js +59 -0
- package/dist/projection/attestation.js.map +1 -0
- package/dist/runtime/agent-roster-provider.d.ts +75 -0
- package/dist/runtime/agent-roster-provider.d.ts.map +1 -0
- package/dist/runtime/agent-roster-provider.js +30 -0
- package/dist/runtime/agent-roster-provider.js.map +1 -0
- package/dist/runtime/external-surface-projector.d.ts +37 -0
- package/dist/runtime/external-surface-projector.d.ts.map +1 -0
- package/dist/runtime/external-surface-projector.js +21 -0
- package/dist/runtime/external-surface-projector.js.map +1 -0
- package/dist/runtime/lifecycle-task.d.ts +54 -0
- package/dist/runtime/lifecycle-task.d.ts.map +1 -0
- package/dist/runtime/lifecycle-task.js +111 -0
- package/dist/runtime/lifecycle-task.js.map +1 -0
- package/dist/runtime.d.ts +496 -0
- package/dist/runtime.d.ts.map +1 -0
- package/dist/runtime.js +168 -0
- package/dist/runtime.js.map +1 -0
- package/dist/schemas/agent-message.d.ts +136 -0
- package/dist/schemas/agent-message.d.ts.map +1 -0
- package/dist/schemas/agent-message.js +131 -0
- package/dist/schemas/agent-message.js.map +1 -0
- package/dist/schemas/agent-roster.d.ts +50 -0
- package/dist/schemas/agent-roster.d.ts.map +1 -0
- package/dist/schemas/agent-roster.js +52 -0
- package/dist/schemas/agent-roster.js.map +1 -0
- package/dist/schemas/collision.d.ts +109 -0
- package/dist/schemas/collision.d.ts.map +1 -0
- package/dist/schemas/collision.js +71 -0
- package/dist/schemas/collision.js.map +1 -0
- package/dist/schemas/context-summary.d.ts +225 -0
- package/dist/schemas/context-summary.d.ts.map +1 -0
- package/dist/schemas/context-summary.js +117 -0
- package/dist/schemas/context-summary.js.map +1 -0
- package/dist/schemas/file-access.d.ts +176 -0
- package/dist/schemas/file-access.d.ts.map +1 -0
- package/dist/schemas/file-access.js +139 -0
- package/dist/schemas/file-access.js.map +1 -0
- package/dist/schemas/hooks.d.ts +170 -0
- package/dist/schemas/hooks.d.ts.map +1 -0
- package/dist/schemas/hooks.js +171 -0
- package/dist/schemas/hooks.js.map +1 -0
- package/dist/schemas/index.d.ts +19 -0
- package/dist/schemas/index.d.ts.map +1 -0
- package/dist/schemas/index.js +17 -0
- package/dist/schemas/index.js.map +1 -0
- package/dist/schemas/path-identity.d.ts +44 -0
- package/dist/schemas/path-identity.d.ts.map +1 -0
- package/dist/schemas/path-identity.js +93 -0
- package/dist/schemas/path-identity.js.map +1 -0
- package/dist/schemas/pending-notice.d.ts +13 -0
- package/dist/schemas/pending-notice.d.ts.map +1 -0
- package/dist/schemas/pending-notice.js +5 -0
- package/dist/schemas/pending-notice.js.map +1 -0
- package/dist/schemas/presets.d.ts +1239 -0
- package/dist/schemas/presets.d.ts.map +1 -0
- package/dist/schemas/presets.js +270 -0
- package/dist/schemas/presets.js.map +1 -0
- package/dist/schemas/roster.d.ts +96 -0
- package/dist/schemas/roster.d.ts.map +1 -0
- package/dist/schemas/roster.js +310 -0
- package/dist/schemas/roster.js.map +1 -0
- package/dist/schemas/tiers.d.ts +95 -0
- package/dist/schemas/tiers.d.ts.map +1 -0
- package/dist/schemas/tiers.js +143 -0
- package/dist/schemas/tiers.js.map +1 -0
- package/dist/schemas/touch-identity.d.ts +25 -0
- package/dist/schemas/touch-identity.d.ts.map +1 -0
- package/dist/schemas/touch-identity.js +16 -0
- package/dist/schemas/touch-identity.js.map +1 -0
- package/dist/schemas/touch-projection.d.ts +157 -0
- package/dist/schemas/touch-projection.d.ts.map +1 -0
- package/dist/schemas/touch-projection.js +100 -0
- package/dist/schemas/touch-projection.js.map +1 -0
- package/dist/session-capability.d.ts +88 -0
- package/dist/session-capability.d.ts.map +1 -0
- package/dist/session-capability.js +28 -0
- package/dist/session-capability.js.map +1 -0
- package/dist/setup/index.d.ts +9 -0
- package/dist/setup/index.d.ts.map +1 -0
- package/dist/setup/index.js +8 -0
- package/dist/setup/index.js.map +1 -0
- package/dist/setup/steps/detect-tools.d.ts +9 -0
- package/dist/setup/steps/detect-tools.d.ts.map +1 -0
- package/dist/setup/steps/detect-tools.js +120 -0
- package/dist/setup/steps/detect-tools.js.map +1 -0
- package/dist/setup/steps/index.d.ts +11 -0
- package/dist/setup/steps/index.d.ts.map +1 -0
- package/dist/setup/steps/index.js +11 -0
- package/dist/setup/steps/index.js.map +1 -0
- package/dist/setup/steps/install-helpers.d.ts +9 -0
- package/dist/setup/steps/install-helpers.d.ts.map +1 -0
- package/dist/setup/steps/install-helpers.js +29 -0
- package/dist/setup/steps/install-helpers.js.map +1 -0
- package/dist/setup/steps/install.d.ts +11 -0
- package/dist/setup/steps/install.d.ts.map +1 -0
- package/dist/setup/steps/install.js +143 -0
- package/dist/setup/steps/install.js.map +1 -0
- package/dist/setup/steps/select-location.d.ts +8 -0
- package/dist/setup/steps/select-location.d.ts.map +1 -0
- package/dist/setup/steps/select-location.js +55 -0
- package/dist/setup/steps/select-location.js.map +1 -0
- package/dist/setup/steps/select-targets.d.ts +8 -0
- package/dist/setup/steps/select-targets.d.ts.map +1 -0
- package/dist/setup/steps/select-targets.js +53 -0
- package/dist/setup/steps/select-targets.js.map +1 -0
- package/dist/setup/steps/select-tiers.d.ts +8 -0
- package/dist/setup/steps/select-tiers.d.ts.map +1 -0
- package/dist/setup/steps/select-tiers.js +124 -0
- package/dist/setup/steps/select-tiers.js.map +1 -0
- package/dist/setup/types.d.ts +128 -0
- package/dist/setup/types.d.ts.map +1 -0
- package/dist/setup/types.js +28 -0
- package/dist/setup/types.js.map +1 -0
- package/dist/setup/wizard.d.ts +25 -0
- package/dist/setup/wizard.d.ts.map +1 -0
- package/dist/setup/wizard.js +182 -0
- package/dist/setup/wizard.js.map +1 -0
- package/dist/storage/agent-message.record.descriptor.d.ts +43 -0
- package/dist/storage/agent-message.record.descriptor.d.ts.map +1 -0
- package/dist/storage/agent-message.record.descriptor.js +72 -0
- package/dist/storage/agent-message.record.descriptor.js.map +1 -0
- package/dist/storage/file-access.record.descriptor.d.ts +104 -0
- package/dist/storage/file-access.record.descriptor.d.ts.map +1 -0
- package/dist/storage/file-access.record.descriptor.js +370 -0
- package/dist/storage/file-access.record.descriptor.js.map +1 -0
- package/dist/storage/touch-identity.d.ts +43 -0
- package/dist/storage/touch-identity.d.ts.map +1 -0
- package/dist/storage/touch-identity.js +155 -0
- package/dist/storage/touch-identity.js.map +1 -0
- package/dist/svelte/external-svelte.plugin.d.ts +39 -0
- package/dist/svelte/external-svelte.plugin.d.ts.map +1 -0
- package/dist/svelte/external-svelte.plugin.js +25 -0
- package/dist/svelte/index.d.ts +11 -0
- package/dist/svelte/index.d.ts.map +1 -0
- package/dist/svelte/index.js +10 -0
- package/dist/svelte/styles.css +8 -0
- package/dist/svelte/tool-widgets/ExternalToolCard.svelte +71 -0
- package/dist/svelte/tool-widgets/ExternalToolCard.svelte.d.ts +5 -0
- package/dist/svelte/tool-widgets/ExternalToolCard.svelte.d.ts.map +1 -0
- package/dist/svelte/tool-widgets/index.d.ts +3 -0
- package/dist/svelte/tool-widgets/index.d.ts.map +1 -0
- package/dist/svelte/tool-widgets/index.js +2 -0
- package/dist/svelte/tool-widgets/summary.d.ts +27 -0
- package/dist/svelte/tool-widgets/summary.d.ts.map +1 -0
- package/dist/svelte/tool-widgets/summary.js +198 -0
- package/dist/tools/index.d.ts +3 -0
- package/dist/tools/index.d.ts.map +1 -0
- package/dist/tools/index.js +2 -0
- package/dist/tools/index.js.map +1 -0
- package/dist/tools/unified/action-descriptors.d.ts +185 -0
- package/dist/tools/unified/action-descriptors.d.ts.map +1 -0
- package/dist/tools/unified/action-descriptors.js +10 -0
- package/dist/tools/unified/action-descriptors.js.map +1 -0
- package/dist/tools/unified/action-input.d.ts +7 -0
- package/dist/tools/unified/action-input.d.ts.map +1 -0
- package/dist/tools/unified/action-input.js +13 -0
- package/dist/tools/unified/action-input.js.map +1 -0
- package/dist/tools/unified/actions.d.ts +10 -0
- package/dist/tools/unified/actions.d.ts.map +1 -0
- package/dist/tools/unified/actions.js +26 -0
- package/dist/tools/unified/actions.js.map +1 -0
- package/dist/tools/unified/external.descriptor.d.ts +30 -0
- package/dist/tools/unified/external.descriptor.d.ts.map +1 -0
- package/dist/tools/unified/external.descriptor.js +27 -0
- package/dist/tools/unified/external.descriptor.js.map +1 -0
- package/dist/tools/unified/external.impl.consumer.d.ts +8 -0
- package/dist/tools/unified/external.impl.consumer.d.ts.map +1 -0
- package/dist/tools/unified/external.impl.consumer.js +38 -0
- package/dist/tools/unified/external.impl.consumer.js.map +1 -0
- package/dist/tools/unified/handlers/context-summary.d.ts +4 -0
- package/dist/tools/unified/handlers/context-summary.d.ts.map +1 -0
- package/dist/tools/unified/handlers/context-summary.js +271 -0
- package/dist/tools/unified/handlers/context-summary.js.map +1 -0
- package/dist/tools/unified/handlers/file-access-list.d.ts +4 -0
- package/dist/tools/unified/handlers/file-access-list.d.ts.map +1 -0
- package/dist/tools/unified/handlers/file-access-list.js +39 -0
- package/dist/tools/unified/handlers/file-access-list.js.map +1 -0
- package/dist/tools/unified/handlers/file-access-track.d.ts +4 -0
- package/dist/tools/unified/handlers/file-access-track.d.ts.map +1 -0
- package/dist/tools/unified/handlers/file-access-track.js +34 -0
- package/dist/tools/unified/handlers/file-access-track.js.map +1 -0
- package/dist/tools/unified/handlers/hook-call.d.ts +23 -0
- package/dist/tools/unified/handlers/hook-call.d.ts.map +1 -0
- package/dist/tools/unified/handlers/hook-call.js +86 -0
- package/dist/tools/unified/handlers/hook-call.js.map +1 -0
- package/dist/tools/unified/handlers/hook-generator.d.ts +4 -0
- package/dist/tools/unified/handlers/hook-generator.d.ts.map +1 -0
- package/dist/tools/unified/handlers/hook-generator.js +37 -0
- package/dist/tools/unified/handlers/hook-generator.js.map +1 -0
- package/dist/tools/unified/handlers/signal.d.ts +22 -0
- package/dist/tools/unified/handlers/signal.d.ts.map +1 -0
- package/dist/tools/unified/handlers/signal.js +114 -0
- package/dist/tools/unified/handlers/signal.js.map +1 -0
- package/dist/tools/unified/index.d.ts +6 -0
- package/dist/tools/unified/index.d.ts.map +1 -0
- package/dist/tools/unified/index.js +6 -0
- package/dist/tools/unified/index.js.map +1 -0
- package/dist/tools/unified/install/handler.d.ts +4 -0
- package/dist/tools/unified/install/handler.d.ts.map +1 -0
- package/dist/tools/unified/install/handler.js +17 -0
- package/dist/tools/unified/install/handler.js.map +1 -0
- package/dist/tools/unified/runtime.d.ts +35 -0
- package/dist/tools/unified/runtime.d.ts.map +1 -0
- package/dist/tools/unified/runtime.js +23 -0
- package/dist/tools/unified/runtime.js.map +1 -0
- package/dist/tools/unified/schemas.d.ts +160 -0
- package/dist/tools/unified/schemas.d.ts.map +1 -0
- package/dist/tools/unified/schemas.js +139 -0
- package/dist/tools/unified/schemas.js.map +1 -0
- package/dist/utils/fs-absence.d.ts +22 -0
- package/dist/utils/fs-absence.d.ts.map +1 -0
- package/dist/utils/fs-absence.js +37 -0
- package/dist/utils/fs-absence.js.map +1 -0
- package/dist/utils/runtime-fs.d.ts +37 -0
- package/dist/utils/runtime-fs.d.ts.map +1 -0
- package/dist/utils/runtime-fs.js +100 -0
- package/dist/utils/runtime-fs.js.map +1 -0
- package/dist/utils/toml.d.ts +26 -0
- package/dist/utils/toml.d.ts.map +1 -0
- package/dist/utils/toml.js +415 -0
- package/dist/utils/toml.js.map +1 -0
- package/package.json +263 -4
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
import type { KindContext } from '@vibesdotdev/kernel/schemas/kind';
|
|
2
|
+
import type { VibesRuntime } from '@vibesdotdev/kernel';
|
|
3
|
+
import type { HookEvent } from '../../plugins/schemas/manifest.ts';
|
|
4
|
+
import type { ToolTier } from '../../schemas/tiers.ts';
|
|
5
|
+
import type { ExternalHost, ExternalToolMcpCheck, ExternalToolGenerateSkillsOptions, ExternalToolGenerateSkillsResult } from '../interfaces/tool.ts';
|
|
6
|
+
import type { ExternalHostDescriptor } from '../schemas/tool.ts';
|
|
7
|
+
export declare class DefaultExternalHost implements ExternalHost {
|
|
8
|
+
private readonly descriptor;
|
|
9
|
+
private readonly context;
|
|
10
|
+
readonly id: string;
|
|
11
|
+
readonly manifest: {
|
|
12
|
+
schemaVersion: "1.0";
|
|
13
|
+
id: string;
|
|
14
|
+
name: string;
|
|
15
|
+
description: string;
|
|
16
|
+
category: "cli" | "ide-extension" | "ide-native";
|
|
17
|
+
website: string;
|
|
18
|
+
platforms: ("all" | "win32" | "darwin" | "linux")[];
|
|
19
|
+
configs: {
|
|
20
|
+
path: string;
|
|
21
|
+
format: "json" | "yaml" | "jsonc" | "toml";
|
|
22
|
+
scope: "global" | "project";
|
|
23
|
+
platform?: "all" | "win32" | "darwin" | "linux" | undefined;
|
|
24
|
+
mcpPath?: string | undefined;
|
|
25
|
+
}[];
|
|
26
|
+
mcp: {
|
|
27
|
+
supported: boolean;
|
|
28
|
+
transports: ("http" | "stdio" | "sse")[];
|
|
29
|
+
defaultServerName: string;
|
|
30
|
+
projectConfig: boolean;
|
|
31
|
+
envVarsInConfig: boolean;
|
|
32
|
+
options?: {
|
|
33
|
+
startupTimeout?: number | undefined;
|
|
34
|
+
toolTimeout?: number | undefined;
|
|
35
|
+
autoRestart?: boolean | undefined;
|
|
36
|
+
} | undefined;
|
|
37
|
+
};
|
|
38
|
+
hooks: {
|
|
39
|
+
supported: boolean;
|
|
40
|
+
events: ("session.start" | "session.end" | "prompt.submit" | "tool.before" | "tool.after" | "context.beforeCompact" | "context.afterCompact" | "permission.request" | "agent.stop" | "subagent.stop" | "notification")[];
|
|
41
|
+
nativeEventMap: Record<string, "session.start" | "session.end" | "prompt.submit" | "tool.before" | "tool.after" | "context.beforeCompact" | "context.afterCompact" | "permission.request" | "agent.stop" | "subagent.stop" | "notification">;
|
|
42
|
+
structuredInput: boolean;
|
|
43
|
+
canModify: boolean;
|
|
44
|
+
format?: "json" | "typescript" | "shell" | "python" | undefined;
|
|
45
|
+
trust?: {
|
|
46
|
+
step: string;
|
|
47
|
+
} | undefined;
|
|
48
|
+
};
|
|
49
|
+
plugins: {
|
|
50
|
+
supported: boolean;
|
|
51
|
+
format?: "typescript" | "python" | "javascript" | "lua" | undefined;
|
|
52
|
+
entryPoint?: string | undefined;
|
|
53
|
+
manifestFile?: string | undefined;
|
|
54
|
+
};
|
|
55
|
+
skills: {
|
|
56
|
+
supported: boolean;
|
|
57
|
+
format: "agents-md";
|
|
58
|
+
projectScoped: boolean;
|
|
59
|
+
globalPath?: string | undefined;
|
|
60
|
+
projectPath?: string | undefined;
|
|
61
|
+
};
|
|
62
|
+
detection: {
|
|
63
|
+
command?: string | undefined;
|
|
64
|
+
altCommands?: string[] | undefined;
|
|
65
|
+
configDir?: string | undefined;
|
|
66
|
+
binaryPath?: string | undefined;
|
|
67
|
+
versionArgs?: string[] | undefined;
|
|
68
|
+
versionRegex?: string | undefined;
|
|
69
|
+
platformPaths?: {
|
|
70
|
+
darwin?: {
|
|
71
|
+
binaryPath?: string | undefined;
|
|
72
|
+
configDir?: string | undefined;
|
|
73
|
+
} | undefined;
|
|
74
|
+
linux?: {
|
|
75
|
+
binaryPath?: string | undefined;
|
|
76
|
+
configDir?: string | undefined;
|
|
77
|
+
} | undefined;
|
|
78
|
+
win32?: {
|
|
79
|
+
binaryPath?: string | undefined;
|
|
80
|
+
configDir?: string | undefined;
|
|
81
|
+
} | undefined;
|
|
82
|
+
} | undefined;
|
|
83
|
+
extensionMatch?: {
|
|
84
|
+
dir: string;
|
|
85
|
+
prefixes: string[];
|
|
86
|
+
} | undefined;
|
|
87
|
+
};
|
|
88
|
+
integration: {
|
|
89
|
+
mcp?: {
|
|
90
|
+
installer?: string | undefined;
|
|
91
|
+
configTemplate?: Record<string, import("@vibesdotdev/kernel/bootstrap").JsonValue> | undefined;
|
|
92
|
+
} | undefined;
|
|
93
|
+
hooks?: {
|
|
94
|
+
defaultPromptPolicy: "default" | "none" | "custom-only";
|
|
95
|
+
installer?: string | undefined;
|
|
96
|
+
templates?: Partial<Record<"session.start" | "session.end" | "prompt.submit" | "tool.before" | "tool.after" | "context.beforeCompact" | "context.afterCompact" | "permission.request" | "agent.stop" | "subagent.stop" | "notification", string>> | undefined;
|
|
97
|
+
handlerOptions?: Partial<Record<"session.start" | "session.end" | "prompt.submit" | "tool.before" | "tool.after" | "context.beforeCompact" | "context.afterCompact" | "permission.request" | "agent.stop" | "subagent.stop" | "notification", Record<string, import("@vibesdotdev/kernel/bootstrap").JsonValue>>> | undefined;
|
|
98
|
+
hookAdapterId?: string | undefined;
|
|
99
|
+
workspaceRootEnv?: string | undefined;
|
|
100
|
+
} | undefined;
|
|
101
|
+
plugins?: {
|
|
102
|
+
installer?: string | undefined;
|
|
103
|
+
template?: string | undefined;
|
|
104
|
+
} | undefined;
|
|
105
|
+
presets?: {
|
|
106
|
+
available: string[];
|
|
107
|
+
default?: string | undefined;
|
|
108
|
+
} | undefined;
|
|
109
|
+
};
|
|
110
|
+
version: string;
|
|
111
|
+
hostAliases?: string[] | undefined;
|
|
112
|
+
shortName?: string | undefined;
|
|
113
|
+
assets?: {
|
|
114
|
+
hooks?: string | undefined;
|
|
115
|
+
plugins?: string | undefined;
|
|
116
|
+
commands?: string | undefined;
|
|
117
|
+
agents?: string | undefined;
|
|
118
|
+
templates?: string | undefined;
|
|
119
|
+
skills?: string | undefined;
|
|
120
|
+
settings?: string | undefined;
|
|
121
|
+
globalSettings?: string | undefined;
|
|
122
|
+
} | undefined;
|
|
123
|
+
launch?: {
|
|
124
|
+
defaultMode: string;
|
|
125
|
+
modes: Record<string, string[] | {
|
|
126
|
+
argv: (string | {
|
|
127
|
+
when: string;
|
|
128
|
+
args: string[];
|
|
129
|
+
})[];
|
|
130
|
+
stdin: "null" | "inherit";
|
|
131
|
+
command?: string | undefined;
|
|
132
|
+
structuredOutput?: {
|
|
133
|
+
field: string;
|
|
134
|
+
schemaTarget?: "draft-2020-12" | "draft-7" | undefined;
|
|
135
|
+
wrap?: string | undefined;
|
|
136
|
+
} | undefined;
|
|
137
|
+
}>;
|
|
138
|
+
} | undefined;
|
|
139
|
+
metadata?: Record<string, unknown> | undefined;
|
|
140
|
+
};
|
|
141
|
+
private readonly runtime;
|
|
142
|
+
constructor(descriptor: ExternalHostDescriptor, context: KindContext<VibesRuntime>);
|
|
143
|
+
/**
|
|
144
|
+
* The roots a path is resolved against: the runtime's `paths/roots` and the
|
|
145
|
+
* caller's project, else the workspace this host's kind context was bound
|
|
146
|
+
* to (`runtime/workspace-path`, a declared context of `external/host`).
|
|
147
|
+
*/
|
|
148
|
+
private roots;
|
|
149
|
+
detect(projectDir?: string): Promise<import("../../index.ts").AgentDetectionResult>;
|
|
150
|
+
getConfigPath(global: boolean, projectDir?: string): string;
|
|
151
|
+
getMcpConfigPath(global: boolean, projectDir?: string): string | undefined;
|
|
152
|
+
isMcpConfigured(global: boolean, projectDir?: string): Promise<boolean>;
|
|
153
|
+
checkMcp(options: {
|
|
154
|
+
global: boolean;
|
|
155
|
+
projectDir?: string;
|
|
156
|
+
serverName?: string;
|
|
157
|
+
}): Promise<ExternalToolMcpCheck>;
|
|
158
|
+
fixMcp(options: {
|
|
159
|
+
global: boolean;
|
|
160
|
+
projectDir?: string;
|
|
161
|
+
authToken?: string;
|
|
162
|
+
dryRun?: boolean;
|
|
163
|
+
tier?: ToolTier;
|
|
164
|
+
mcpClientId?: string;
|
|
165
|
+
vibesPath?: string;
|
|
166
|
+
}): Promise<import("../../index.ts").McpInstallResult>;
|
|
167
|
+
installMcp(options: {
|
|
168
|
+
global: boolean;
|
|
169
|
+
projectDir?: string;
|
|
170
|
+
authToken?: string;
|
|
171
|
+
transport?: 'stdio' | 'http' | 'sse';
|
|
172
|
+
dryRun?: boolean;
|
|
173
|
+
force?: boolean;
|
|
174
|
+
tier?: ToolTier;
|
|
175
|
+
mcpClientId?: string;
|
|
176
|
+
vibesPath?: string;
|
|
177
|
+
}): Promise<import("../../index.ts").McpInstallResult>;
|
|
178
|
+
uninstallMcp(global: boolean, projectDir?: string): Promise<import("../../index.ts").InstallResult>;
|
|
179
|
+
getHooksDir(global: boolean, projectDir?: string): string | undefined;
|
|
180
|
+
generateHooks(options: {
|
|
181
|
+
global: boolean;
|
|
182
|
+
projectDir?: string;
|
|
183
|
+
dryRun?: boolean;
|
|
184
|
+
hooks?: HookEvent[];
|
|
185
|
+
vibesPath?: string;
|
|
186
|
+
}): Promise<import("../../index.ts").HooksGenerateResult>;
|
|
187
|
+
installHooks(options: {
|
|
188
|
+
global: boolean;
|
|
189
|
+
projectDir?: string;
|
|
190
|
+
dryRun?: boolean;
|
|
191
|
+
force?: boolean;
|
|
192
|
+
hooks?: HookEvent[];
|
|
193
|
+
vibesPath?: string;
|
|
194
|
+
}): Promise<import("../../index.ts").HooksInstallResult>;
|
|
195
|
+
uninstallHooks(global: boolean, projectDir?: string): Promise<import("../../index.ts").InstallResult>;
|
|
196
|
+
getPluginsDir(projectDir?: string): string | undefined;
|
|
197
|
+
getSkillsDir(global: boolean, projectDir?: string): string | undefined;
|
|
198
|
+
generateSkills(options: ExternalToolGenerateSkillsOptions): Promise<ExternalToolGenerateSkillsResult>;
|
|
199
|
+
}
|
|
200
|
+
export default DefaultExternalHost;
|
|
201
|
+
//# sourceMappingURL=default-tool.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"default-tool.d.ts","sourceRoot":"","sources":["../../../src/external-tool/impl/default-tool.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAmBxD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAEnE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAEvD,OAAO,KAAK,EACX,YAAY,EACZ,oBAAoB,EACpB,iCAAiC,EACjC,gCAAgC,EAChC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAejE,qBAAa,mBAAoB,YAAW,YAAY;IAMtD,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,OAAO;IANzB,QAAQ,CAAC,EAAE,EAAE,MAAM,C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@@ -0,0 +1,243 @@
|
|
|
1
|
+
import * as z from 'zod/v4';
|
|
2
|
+
import { isAbsolute, join } from '@vibesdotdev/filesystem';
|
|
3
|
+
import { getPathRoots } from '@vibesdotdev/paths';
|
|
4
|
+
import { generateSkills, previewSkillNames } from '@vibesdotdev/tools/adapters/skill/consumer/node/generator';
|
|
5
|
+
import { buildAgentPackAsync, skillFilterFromPack } from "../../pack/index.js";
|
|
6
|
+
import { resolveHostedMcpOrigin } from "../../plugins/installers/mcp/environment.js";
|
|
7
|
+
import { createDetectorFromManifest } from "../../detection/manifest-detector.js";
|
|
8
|
+
import { getHooksDir, generateHooksForTool, getMcpConfigPath, installHooksForTool, installMcpForTool, isMcpConfiguredForTool, uninstallHooksForTool, uninstallMcpForTool } from "../../plugins/installers/index.js";
|
|
9
|
+
import { hostTemplateRoots, resolvePathTemplate } from "../path-template.js";
|
|
10
|
+
const WorkspacePathSchema = z.string().min(1);
|
|
11
|
+
function getWorkspacePath(context) {
|
|
12
|
+
const parsed = WorkspacePathSchema.safeParse(context['runtime/workspace-path']);
|
|
13
|
+
return parsed.success ? parsed.data : undefined;
|
|
14
|
+
}
|
|
15
|
+
function resolveAssetPathTemplate(template, roots) {
|
|
16
|
+
const resolved = resolvePathTemplate(template, roots);
|
|
17
|
+
if (roots.projectDir && !isAbsolute(resolved))
|
|
18
|
+
return join(roots.projectDir, resolved);
|
|
19
|
+
return resolved;
|
|
20
|
+
}
|
|
21
|
+
export class DefaultExternalHost {
|
|
22
|
+
descriptor;
|
|
23
|
+
context;
|
|
24
|
+
id;
|
|
25
|
+
manifest;
|
|
26
|
+
runtime;
|
|
27
|
+
constructor(descriptor, context) {
|
|
28
|
+
this.descriptor = descriptor;
|
|
29
|
+
this.context = context;
|
|
30
|
+
this.id = descriptor.id;
|
|
31
|
+
this.manifest = descriptor.manifest;
|
|
32
|
+
this.runtime = context.runtime;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* The roots a path is resolved against: the runtime's `paths/roots` and the
|
|
36
|
+
* caller's project, else the workspace this host's kind context was bound
|
|
37
|
+
* to (`runtime/workspace-path`, a declared context of `external/host`).
|
|
38
|
+
*/
|
|
39
|
+
roots(projectDir) {
|
|
40
|
+
const { vibesHome } = getPathRoots(this.runtime);
|
|
41
|
+
const project = projectDir?.trim() || getWorkspacePath(this.context);
|
|
42
|
+
return { ...hostTemplateRoots(this.runtime), vibesHome, projectDir: project };
|
|
43
|
+
}
|
|
44
|
+
detect(projectDir) {
|
|
45
|
+
const roots = this.roots(projectDir);
|
|
46
|
+
const detector = createDetectorFromManifest(this.manifest, roots, this.runtime);
|
|
47
|
+
return detector.detect(roots.projectDir);
|
|
48
|
+
}
|
|
49
|
+
getConfigPath(global, projectDir) {
|
|
50
|
+
const scope = global ? 'global' : 'project';
|
|
51
|
+
const platform = this.roots(projectDir).platform;
|
|
52
|
+
const configDef = this.manifest.configs.find((c) => c.scope === scope && (!c.platform || c.platform === 'all' || c.platform === platform)) ??
|
|
53
|
+
this.manifest.configs.find((c) => c.scope === scope) ??
|
|
54
|
+
this.manifest.configs[0];
|
|
55
|
+
return resolvePathTemplate(configDef.path, this.roots(projectDir));
|
|
56
|
+
}
|
|
57
|
+
getMcpConfigPath(global, projectDir) {
|
|
58
|
+
return getMcpConfigPath(this.manifest, global, this.roots(projectDir));
|
|
59
|
+
}
|
|
60
|
+
isMcpConfigured(global, projectDir) {
|
|
61
|
+
return isMcpConfiguredForTool(this.runtime, this.manifest, global, projectDir);
|
|
62
|
+
}
|
|
63
|
+
async checkMcp(options) {
|
|
64
|
+
const platforms = this.manifest.platforms ?? ['all'];
|
|
65
|
+
const platform = this.roots(options.projectDir).platform;
|
|
66
|
+
if (!platforms.includes('all') && !platforms.includes(platform)) {
|
|
67
|
+
return {
|
|
68
|
+
supported: false,
|
|
69
|
+
configured: false,
|
|
70
|
+
issues: [`Platform not supported (${platform})`]
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
const supported = this.manifest.mcp.supported;
|
|
74
|
+
if (!supported) {
|
|
75
|
+
return { supported: false, configured: false, issues: ['MCP not supported'] };
|
|
76
|
+
}
|
|
77
|
+
const serverName = options.serverName ?? this.manifest.mcp.defaultServerName ?? 'vibes';
|
|
78
|
+
const configPath = this.getMcpConfigPath(options.global, options.projectDir);
|
|
79
|
+
if (!configPath) {
|
|
80
|
+
return {
|
|
81
|
+
supported: true,
|
|
82
|
+
configured: false,
|
|
83
|
+
serverName,
|
|
84
|
+
issues: ['No MCP config location found for requested scope']
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
const configured = await this.isMcpConfigured(options.global, options.projectDir);
|
|
88
|
+
return {
|
|
89
|
+
supported: true,
|
|
90
|
+
configured,
|
|
91
|
+
configPath,
|
|
92
|
+
serverName,
|
|
93
|
+
issues: configured ? [] : ['Vibes MCP server not configured']
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
fixMcp(options) {
|
|
97
|
+
return this.installMcp({
|
|
98
|
+
global: options.global,
|
|
99
|
+
projectDir: options.projectDir,
|
|
100
|
+
authToken: options.authToken,
|
|
101
|
+
dryRun: options.dryRun ?? false,
|
|
102
|
+
tier: options.tier,
|
|
103
|
+
mcpClientId: options.mcpClientId,
|
|
104
|
+
vibesPath: options.vibesPath,
|
|
105
|
+
force: true
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
installMcp(options) {
|
|
109
|
+
return installMcpForTool(this.manifest, {
|
|
110
|
+
global: options.global,
|
|
111
|
+
projectDir: options.projectDir,
|
|
112
|
+
authToken: options.authToken,
|
|
113
|
+
transport: options.transport,
|
|
114
|
+
dryRun: options.dryRun ?? false,
|
|
115
|
+
force: options.force ?? false,
|
|
116
|
+
tier: options.tier,
|
|
117
|
+
mcpClientId: options.mcpClientId,
|
|
118
|
+
vibesPath: options.vibesPath
|
|
119
|
+
}, this.runtime);
|
|
120
|
+
}
|
|
121
|
+
uninstallMcp(global, projectDir) {
|
|
122
|
+
return uninstallMcpForTool(this.runtime, this.manifest, global, projectDir);
|
|
123
|
+
}
|
|
124
|
+
getHooksDir(global, projectDir) {
|
|
125
|
+
return getHooksDir(this.manifest, global, this.roots(projectDir));
|
|
126
|
+
}
|
|
127
|
+
generateHooks(options) {
|
|
128
|
+
return generateHooksForTool(this.manifest, {
|
|
129
|
+
global: options.global,
|
|
130
|
+
projectDir: options.projectDir,
|
|
131
|
+
dryRun: options.dryRun ?? true,
|
|
132
|
+
force: false,
|
|
133
|
+
hooks: options.hooks,
|
|
134
|
+
vibesPath: options.vibesPath
|
|
135
|
+
}, this.runtime);
|
|
136
|
+
}
|
|
137
|
+
installHooks(options) {
|
|
138
|
+
return installHooksForTool(this.manifest, {
|
|
139
|
+
global: options.global,
|
|
140
|
+
projectDir: options.projectDir,
|
|
141
|
+
dryRun: options.dryRun ?? false,
|
|
142
|
+
force: options.force ?? false,
|
|
143
|
+
hooks: options.hooks,
|
|
144
|
+
vibesPath: options.vibesPath
|
|
145
|
+
}, this.runtime);
|
|
146
|
+
}
|
|
147
|
+
uninstallHooks(global, projectDir) {
|
|
148
|
+
return uninstallHooksForTool(this.runtime, this.manifest, global, projectDir, undefined);
|
|
149
|
+
}
|
|
150
|
+
getPluginsDir(projectDir) {
|
|
151
|
+
if (!this.manifest.plugins.supported || !this.manifest.assets?.plugins)
|
|
152
|
+
return undefined;
|
|
153
|
+
return resolveAssetPathTemplate(this.manifest.assets.plugins, this.roots(projectDir));
|
|
154
|
+
}
|
|
155
|
+
getSkillsDir(global, projectDir) {
|
|
156
|
+
if (!this.manifest.skills.supported)
|
|
157
|
+
return undefined;
|
|
158
|
+
const roots = this.roots(projectDir);
|
|
159
|
+
const pathTemplate = !global && this.manifest.skills.projectScoped
|
|
160
|
+
? this.manifest.skills.projectPath
|
|
161
|
+
: this.manifest.skills.globalPath;
|
|
162
|
+
if (pathTemplate)
|
|
163
|
+
return resolveAssetPathTemplate(pathTemplate, roots);
|
|
164
|
+
if (this.manifest.assets?.skills) {
|
|
165
|
+
return resolveAssetPathTemplate(this.manifest.assets.skills, roots);
|
|
166
|
+
}
|
|
167
|
+
if (!global && roots.projectDir && this.manifest.skills.projectScoped) {
|
|
168
|
+
return join(roots.projectDir, '.agents', 'skills', this.manifest.id);
|
|
169
|
+
}
|
|
170
|
+
return join(roots.userHome, '.agents', 'skills', this.manifest.id);
|
|
171
|
+
}
|
|
172
|
+
async generateSkills(options) {
|
|
173
|
+
const outputDir = options.outputDir ?? this.getSkillsDir(options.global, options.projectDir);
|
|
174
|
+
const dryRun = options.dryRun ?? false;
|
|
175
|
+
if (!this.manifest.skills.supported || !outputDir) {
|
|
176
|
+
return {
|
|
177
|
+
success: false,
|
|
178
|
+
message: `${this.manifest.name} does not support skill generation`,
|
|
179
|
+
dryRun,
|
|
180
|
+
outputDir: outputDir ?? '',
|
|
181
|
+
generated: 0,
|
|
182
|
+
skipped: 0,
|
|
183
|
+
files: [],
|
|
184
|
+
skippedAssets: []
|
|
185
|
+
};
|
|
186
|
+
}
|
|
187
|
+
const runtime = this.runtime;
|
|
188
|
+
const tier = options.tier ?? 'default';
|
|
189
|
+
const toolFilter = options.filter ??
|
|
190
|
+
(options.includeTools === true ? skillFilterFromPack(await buildAgentPackAsync({
|
|
191
|
+
runtime,
|
|
192
|
+
hostId: this.manifest.id,
|
|
193
|
+
manifest: this.manifest,
|
|
194
|
+
tier,
|
|
195
|
+
workspaceRoot: this.roots(options.projectDir).projectDir,
|
|
196
|
+
hostedMcpOrigin: await resolveHostedMcpOrigin(runtime)
|
|
197
|
+
})) : undefined);
|
|
198
|
+
if (dryRun) {
|
|
199
|
+
const preview = previewSkillNames(runtime, options.filter, {
|
|
200
|
+
includeTools: options.includeTools,
|
|
201
|
+
targetId: this.manifest.id,
|
|
202
|
+
toolFilter
|
|
203
|
+
});
|
|
204
|
+
const valid = preview.filter((s) => s.valid);
|
|
205
|
+
const skippedAssets = preview
|
|
206
|
+
.filter((s) => !s.valid)
|
|
207
|
+
.map((s) => ({
|
|
208
|
+
sourceId: s.sourceId,
|
|
209
|
+
sourceKind: s.sourceKind,
|
|
210
|
+
reason: `invalid skill name: "${s.skillName}"`
|
|
211
|
+
}));
|
|
212
|
+
return {
|
|
213
|
+
success: true,
|
|
214
|
+
message: `Would generate ${valid.length} descriptor-backed skills in ${outputDir}`,
|
|
215
|
+
dryRun,
|
|
216
|
+
outputDir,
|
|
217
|
+
generated: valid.length,
|
|
218
|
+
skipped: skippedAssets.length,
|
|
219
|
+
files: valid.length ? [`${outputDir}/* (would be created)`] : [],
|
|
220
|
+
skippedAssets
|
|
221
|
+
};
|
|
222
|
+
}
|
|
223
|
+
const result = await generateSkills(runtime, {
|
|
224
|
+
outputDir,
|
|
225
|
+
filter: options.filter,
|
|
226
|
+
toolFilter,
|
|
227
|
+
targetId: this.manifest.id,
|
|
228
|
+
includeTools: options.includeTools
|
|
229
|
+
});
|
|
230
|
+
return {
|
|
231
|
+
success: true,
|
|
232
|
+
message: `Generated ${result.skills.length} descriptor-backed skills in ${result.outputDir}`,
|
|
233
|
+
dryRun,
|
|
234
|
+
outputDir: result.outputDir,
|
|
235
|
+
generated: result.skills.length,
|
|
236
|
+
skipped: result.skipped.length,
|
|
237
|
+
files: result.skills.flatMap((skill) => skill.files),
|
|
238
|
+
skippedAssets: result.skipped
|
|
239
|
+
};
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
export default DefaultExternalHost;
|
|
243
|
+
//# sourceMappingURL=default-tool.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"default-tool.js","sourceRoot":"","sources":["../../../src/external-tool/impl/default-tool.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAG3D,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EACN,cAAc,EACd,iBAAiB,EACjB,MAAM,2DAA2D,CAAC;AACnE,OAAO,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B,CAAC,CAAC,CAAC,CAAC,EAAE;gBAChE,aAAa;aACb,CAAC;QACH,CAAC;QAED,MAAM,MAAM,GAAG,MAAM,cAAc,CAAC,OAAO,EAAE;YAC5C,SAAS;YACT,MAAM,EAAE,OAAO,CAAC,MAAM;YACtB,UAAU;YACV,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,EAAE;YAC1B,YAAY,EAAE,OAAO,CAAC,YAAY;SAClC,CAAC,CAAC;QACH,OAAO;YACN,OAAO,EAAE,IAAI;YACb,OAAO,EAAE,aAAa,MAAM,CAAC,MAAM,CAAC,MAAM,gCAAgC,MAAM,CAAC,SAAS,EAAE;YAC5F,MAAM;YACN,SAAS,EAAE,MAAM,CAAC,SAAS;YAC3B,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM;YAC/B,OAAO,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM;YAC9B,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC;YACpD,aAAa,EAAE,MAAM,CAAC,OAAO;SAC7B,CAAC;IACH,CAAC;CACD;AAED,eAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import type { ExternalHostManifest } from '../../plugins/schemas/manifest.ts';
|
|
2
|
+
import type { AgentDetectionResult } from '../../detection/types.ts';
|
|
3
|
+
import type { HooksInstallResult, HooksGenerateResult, McpInstallResult, InstallResult } from '../../plugins/installers/types.ts';
|
|
4
|
+
import type { HookEvent } from '../../plugins/schemas/manifest.ts';
|
|
5
|
+
import type { ToolTier } from '../../schemas/tiers.ts';
|
|
6
|
+
export interface ExternalToolMcpCheck {
|
|
7
|
+
supported: boolean;
|
|
8
|
+
configured: boolean;
|
|
9
|
+
configPath?: string;
|
|
10
|
+
serverName?: string;
|
|
11
|
+
issues: string[];
|
|
12
|
+
}
|
|
13
|
+
export interface ExternalToolSkillsFilter {
|
|
14
|
+
ids?: string[];
|
|
15
|
+
tags?: string[];
|
|
16
|
+
categories?: string[];
|
|
17
|
+
}
|
|
18
|
+
export interface ExternalToolGenerateSkillsOptions {
|
|
19
|
+
global: boolean;
|
|
20
|
+
projectDir?: string;
|
|
21
|
+
outputDir?: string;
|
|
22
|
+
dryRun?: boolean;
|
|
23
|
+
filter?: ExternalToolSkillsFilter;
|
|
24
|
+
/** Tier for agent-pack skill selection when filter is omitted */
|
|
25
|
+
tier?: ToolTier;
|
|
26
|
+
/**
|
|
27
|
+
* Opt in to projecting registered tools into per-tool SKILL.md files.
|
|
28
|
+
* Defaults to false — tool→skill projection is retired
|
|
29
|
+
* (docs/architecture/CONTEXT-ENGINEERING.md §"Retired: projecting every tool
|
|
30
|
+
* into a skill"). Set only by an explicit `--include-tools` request.
|
|
31
|
+
*/
|
|
32
|
+
includeTools?: boolean;
|
|
33
|
+
}
|
|
34
|
+
export interface ExternalToolGenerateSkillsResult {
|
|
35
|
+
success: boolean;
|
|
36
|
+
message: string;
|
|
37
|
+
dryRun: boolean;
|
|
38
|
+
outputDir: string;
|
|
39
|
+
generated: number;
|
|
40
|
+
skipped: number;
|
|
41
|
+
files: string[];
|
|
42
|
+
skippedAssets: Array<{
|
|
43
|
+
sourceId: string;
|
|
44
|
+
sourceKind: 'tools/skill' | 'tools/tool';
|
|
45
|
+
reason: string;
|
|
46
|
+
}>;
|
|
47
|
+
}
|
|
48
|
+
export interface ExternalHost {
|
|
49
|
+
readonly id: string;
|
|
50
|
+
readonly manifest: ExternalHostManifest;
|
|
51
|
+
detect(projectDir?: string): Promise<AgentDetectionResult>;
|
|
52
|
+
getConfigPath(global: boolean, projectDir?: string): string;
|
|
53
|
+
getMcpConfigPath(global: boolean, projectDir?: string): string | undefined;
|
|
54
|
+
isMcpConfigured(global: boolean, projectDir?: string): Promise<boolean>;
|
|
55
|
+
installMcp(options: {
|
|
56
|
+
global: boolean;
|
|
57
|
+
projectDir?: string;
|
|
58
|
+
authToken?: string;
|
|
59
|
+
transport?: 'stdio' | 'http' | 'sse';
|
|
60
|
+
dryRun?: boolean;
|
|
61
|
+
force?: boolean;
|
|
62
|
+
tier?: ToolTier;
|
|
63
|
+
mcpClientId?: string;
|
|
64
|
+
vibesPath?: string;
|
|
65
|
+
}): Promise<McpInstallResult>;
|
|
66
|
+
checkMcp(options: {
|
|
67
|
+
global: boolean;
|
|
68
|
+
projectDir?: string;
|
|
69
|
+
serverName?: string;
|
|
70
|
+
}): Promise<ExternalToolMcpCheck>;
|
|
71
|
+
fixMcp(options: {
|
|
72
|
+
global: boolean;
|
|
73
|
+
projectDir?: string;
|
|
74
|
+
authToken?: string;
|
|
75
|
+
dryRun?: boolean;
|
|
76
|
+
tier?: ToolTier;
|
|
77
|
+
mcpClientId?: string;
|
|
78
|
+
vibesPath?: string;
|
|
79
|
+
}): Promise<McpInstallResult>;
|
|
80
|
+
uninstallMcp(global: boolean, projectDir?: string): Promise<InstallResult>;
|
|
81
|
+
getHooksDir(global: boolean, projectDir?: string): string | undefined;
|
|
82
|
+
generateHooks(options: {
|
|
83
|
+
global: boolean;
|
|
84
|
+
projectDir?: string;
|
|
85
|
+
dryRun?: boolean;
|
|
86
|
+
hooks?: HookEvent[];
|
|
87
|
+
vibesPath?: string;
|
|
88
|
+
}): Promise<HooksGenerateResult>;
|
|
89
|
+
installHooks(options: {
|
|
90
|
+
global: boolean;
|
|
91
|
+
projectDir?: string;
|
|
92
|
+
dryRun?: boolean;
|
|
93
|
+
force?: boolean;
|
|
94
|
+
hooks?: HookEvent[];
|
|
95
|
+
vibesPath?: string;
|
|
96
|
+
}): Promise<HooksInstallResult>;
|
|
97
|
+
uninstallHooks(global: boolean, projectDir?: string): Promise<InstallResult>;
|
|
98
|
+
getPluginsDir(projectDir?: string): string | undefined;
|
|
99
|
+
getSkillsDir(global: boolean, projectDir?: string): string | undefined;
|
|
100
|
+
generateSkills(options: ExternalToolGenerateSkillsOptions): Promise<ExternalToolGenerateSkillsResult>;
|
|
101
|
+
}
|
|
102
|
+
//# sourceMappingURL=tool.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tool.d.ts","sourceRoot":"","sources":["../../../src/external-tool/interfaces/tool.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAC9E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AACrE,OAAO,KAAK,EACX,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,EAChB,aAAa,EACb,MAAM,mCAAmC,CAAC;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAEvD,MAAM,WAAW,oBAAoB;IACpC,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,EAAE,CAAC;CACjB;AAED,MAAM,WAAW,wBAAwB;IACxC,GAAG,CAAC,EAAE,MAAM,EAAE,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;CACtB;AAED,MAAM,WAAW,iCAAiC;IACjD,MAAM,EAAE,OAAO,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,wBAAwB,CAAC;IAClC,iEAAiE;IACjE,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,WAAW,gCAAgC;IAChD,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MA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,CAAC;IAChC,cAAc,CAAC,MAAM,EAAE,OAAO,EAAE,UAAU,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;IAE7E,aAAa,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;IACvD,YAAY,CAAC,MAAM,EAAE,OAAO,EAAE,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;IACvE,cAAc,CACb,OAAO,EAAE,iCAAiC,GACxC,OAAO,CAAC,gCAAgC,CAAC,CAAC;CAC7C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tool.js","sourceRoot":"","sources":["../../../src/external-tool/interfaces/tool.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { RuntimeImplementationWrapper } from '@vibesdotdev/kernel';
|
|
2
|
+
import type { ExternalHostDescriptor } from './schemas/tool.ts';
|
|
3
|
+
/** Lazy implementation loader for one owner-declared `external/host` descriptor. */
|
|
4
|
+
export declare function createExternalHostLoader(descriptor: ExternalHostDescriptor): () => Promise<RuntimeImplementationWrapper<unknown>>;
|
|
5
|
+
//# sourceMappingURL=loader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loader.d.ts","sourceRoot":"","sources":["../../src/external-tool/loader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,qBAAqB,CAAC;AACxE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAEhE,oFAAoF;AACpF,wBAAgB,wBAAwB,CACvC,UAAU,EAAE,sBAAsB,GAChC,MAAM,OAAO,CAAC,4BAA4B,CAAC,OAAO,CAAC,CAAC,CAKtD"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** Lazy implementation loader for one owner-declared `external/host` descriptor. */
|
|
2
|
+
export function createExternalHostLoader(descriptor) {
|
|
3
|
+
return async () => ({
|
|
4
|
+
meta: { id: descriptor.id, kind: 'external/host', priority: 0 },
|
|
5
|
+
impl: (await import("./impl/default-tool.js")).DefaultExternalHost
|
|
6
|
+
});
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=loader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loader.js","sourceRoot":"","sources":["../../src/external-tool/loader.ts"],"names":[],"mappings":"AAGA,oFAAoF;AACpF,MAAM,UAAU,wBAAwB,CACvC,UAAkC;IAElC,OAAO,KAAK,IAAI,EAAE,CAAC,CAAC;QACnB,IAAI,EAAE,EAAE,EAAE,EAAE,UAAU,CAAC,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,QAAQ,EAAE,CAAC,EAAE;QAC/D,IAAI,EAAE,CAAC,MAAM,MAAM,CAAC,wBAAwB,CAAC,CAAC,CAAC,mBAAmB;KAClE,CAAC,CAAC;AACJ,CAAC"}
|