@agimon-ai/doompi-core 0.0.1-alpha.70
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 +21 -0
- package/README.md +5 -0
- package/dist/_virtual/_rolldown/runtime.cjs +23 -0
- package/dist/agent-model.cjs +4 -0
- package/dist/agent-model.d.cts +2 -0
- package/dist/agent-model.d.mts +2 -0
- package/dist/agent-model.mjs +2 -0
- package/dist/api-contracts.cjs +27 -0
- package/dist/api-contracts.d.cts +7 -0
- package/dist/api-contracts.d.mts +7 -0
- package/dist/api-contracts.mjs +7 -0
- package/dist/ask-user.cjs +8 -0
- package/dist/ask-user.d.cts +2 -0
- package/dist/ask-user.d.mts +2 -0
- package/dist/ask-user.mjs +2 -0
- package/dist/author-tools.cjs +5 -0
- package/dist/author-tools.d.cts +2 -0
- package/dist/author-tools.d.mts +2 -0
- package/dist/author-tools.mjs +2 -0
- package/dist/background-work.cjs +7 -0
- package/dist/background-work.d.cts +2 -0
- package/dist/background-work.d.mts +2 -0
- package/dist/background-work.mjs +2 -0
- package/dist/child-process.cjs +15 -0
- package/dist/child-process.d.cts +2 -0
- package/dist/child-process.d.mts +2 -0
- package/dist/child-process.mjs +2 -0
- package/dist/child.cjs +7 -0
- package/dist/child.d.cts +3 -0
- package/dist/child.d.mts +3 -0
- package/dist/child.mjs +3 -0
- package/dist/cockpit-container.cjs +4 -0
- package/dist/cockpit-container.d.cts +2 -0
- package/dist/cockpit-container.d.mts +2 -0
- package/dist/cockpit-container.mjs +2 -0
- package/dist/config.cjs +13 -0
- package/dist/config.d.cts +3 -0
- package/dist/config.d.mts +3 -0
- package/dist/config.mjs +2 -0
- package/dist/constants/authorTools.cjs +10 -0
- package/dist/constants/authorTools.cjs.map +1 -0
- package/dist/constants/authorTools.d.cts +6 -0
- package/dist/constants/authorTools.d.cts.map +1 -0
- package/dist/constants/authorTools.d.mts +6 -0
- package/dist/constants/authorTools.d.mts.map +1 -0
- package/dist/constants/authorTools.mjs +8 -0
- package/dist/constants/authorTools.mjs.map +1 -0
- package/dist/constants/contextApi.cjs +28 -0
- package/dist/constants/contextApi.cjs.map +1 -0
- package/dist/constants/contextApi.d.cts +21 -0
- package/dist/constants/contextApi.d.cts.map +1 -0
- package/dist/constants/contextApi.d.mts +21 -0
- package/dist/constants/contextApi.d.mts.map +1 -0
- package/dist/constants/contextApi.mjs +23 -0
- package/dist/constants/contextApi.mjs.map +1 -0
- package/dist/constants/remote.cjs +81 -0
- package/dist/constants/remote.cjs.map +1 -0
- package/dist/constants/remote.mjs +62 -0
- package/dist/constants/remote.mjs.map +1 -0
- package/dist/constants/voiceReloadHandoff.cjs +12 -0
- package/dist/constants/voiceReloadHandoff.cjs.map +1 -0
- package/dist/constants/voiceReloadHandoff.d.cts +7 -0
- package/dist/constants/voiceReloadHandoff.d.cts.map +1 -0
- package/dist/constants/voiceReloadHandoff.d.mts +7 -0
- package/dist/constants/voiceReloadHandoff.d.mts.map +1 -0
- package/dist/constants/voiceReloadHandoff.mjs +9 -0
- package/dist/constants/voiceReloadHandoff.mjs.map +1 -0
- package/dist/constants/voiceTools.cjs +96 -0
- package/dist/constants/voiceTools.cjs.map +1 -0
- package/dist/constants/voiceTools.d.cts +58 -0
- package/dist/constants/voiceTools.d.cts.map +1 -0
- package/dist/constants/voiceTools.d.mts +58 -0
- package/dist/constants/voiceTools.d.mts.map +1 -0
- package/dist/constants/voiceTools.mjs +60 -0
- package/dist/constants/voiceTools.mjs.map +1 -0
- package/dist/context-api.cjs +10 -0
- package/dist/context-api.d.cts +4 -0
- package/dist/context-api.d.mts +4 -0
- package/dist/context-api.mjs +3 -0
- package/dist/context-contributions.cjs +7 -0
- package/dist/context-contributions.d.cts +3 -0
- package/dist/context-contributions.d.mts +3 -0
- package/dist/context-contributions.mjs +3 -0
- package/dist/context-detail-store.cjs +100 -0
- package/dist/context-detail-store.cjs.map +1 -0
- package/dist/context-detail-store.d.cts +19 -0
- package/dist/context-detail-store.d.cts.map +1 -0
- package/dist/context-detail-store.d.mts +19 -0
- package/dist/context-detail-store.d.mts.map +1 -0
- package/dist/context-detail-store.mjs +91 -0
- package/dist/context-detail-store.mjs.map +1 -0
- package/dist/context-detail.cjs +57 -0
- package/dist/context-detail.cjs.map +1 -0
- package/dist/context-detail.d.cts +13 -0
- package/dist/context-detail.d.cts.map +1 -0
- package/dist/context-detail.d.mts +13 -0
- package/dist/context-detail.d.mts.map +1 -0
- package/dist/context-detail.mjs +56 -0
- package/dist/context-detail.mjs.map +1 -0
- package/dist/context-projection.cjs +120 -0
- package/dist/context-projection.cjs.map +1 -0
- package/dist/context-projection.d.cts +113 -0
- package/dist/context-projection.d.cts.map +1 -0
- package/dist/context-projection.d.mts +113 -0
- package/dist/context-projection.d.mts.map +1 -0
- package/dist/context-projection.mjs +116 -0
- package/dist/context-projection.mjs.map +1 -0
- package/dist/cordis-host.cjs +10 -0
- package/dist/cordis-host.d.cts +2 -0
- package/dist/cordis-host.d.mts +2 -0
- package/dist/cordis-host.mjs +2 -0
- package/dist/delegation.cjs +18 -0
- package/dist/delegation.d.cts +2 -0
- package/dist/delegation.d.mts +2 -0
- package/dist/delegation.mjs +2 -0
- package/dist/doom-package.cjs +61 -0
- package/dist/doom-package.cjs.map +1 -0
- package/dist/doom-package.d.cts +17 -0
- package/dist/doom-package.d.cts.map +1 -0
- package/dist/doom-package.d.mts +17 -0
- package/dist/doom-package.d.mts.map +1 -0
- package/dist/doom-package.mjs +54 -0
- package/dist/doom-package.mjs.map +1 -0
- package/dist/extensions/serverPlugin.cjs +106 -0
- package/dist/extensions/serverPlugin.cjs.map +1 -0
- package/dist/extensions/serverPlugin.d.cts +5 -0
- package/dist/extensions/serverPlugin.d.cts.map +1 -0
- package/dist/extensions/serverPlugin.d.mts +5 -0
- package/dist/extensions/serverPlugin.d.mts.map +1 -0
- package/dist/extensions/serverPlugin.mjs +106 -0
- package/dist/extensions/serverPlugin.mjs.map +1 -0
- package/dist/extensions/webPlugin.cjs +28 -0
- package/dist/extensions/webPlugin.cjs.map +1 -0
- package/dist/extensions/webPlugin.d.cts +19 -0
- package/dist/extensions/webPlugin.d.cts.map +1 -0
- package/dist/extensions/webPlugin.d.mts +19 -0
- package/dist/extensions/webPlugin.d.mts.map +1 -0
- package/dist/extensions/webPlugin.mjs +26 -0
- package/dist/extensions/webPlugin.mjs.map +1 -0
- package/dist/footer.cjs +6 -0
- package/dist/footer.d.cts +2 -0
- package/dist/footer.d.mts +2 -0
- package/dist/footer.mjs +2 -0
- package/dist/headless-hub.cjs +499 -0
- package/dist/headless-hub.cjs.map +1 -0
- package/dist/headless-hub.d.cts +96 -0
- package/dist/headless-hub.d.cts.map +1 -0
- package/dist/headless-hub.d.mts +96 -0
- package/dist/headless-hub.d.mts.map +1 -0
- package/dist/headless-hub.mjs +498 -0
- package/dist/headless-hub.mjs.map +1 -0
- package/dist/headless-server.cjs +492 -0
- package/dist/headless-server.cjs.map +1 -0
- package/dist/headless-server.d.cts +30 -0
- package/dist/headless-server.d.cts.map +1 -0
- package/dist/headless-server.d.mts +30 -0
- package/dist/headless-server.d.mts.map +1 -0
- package/dist/headless-server.mjs +488 -0
- package/dist/headless-server.mjs.map +1 -0
- package/dist/headless-session-host.cjs +0 -0
- package/dist/headless-session-host.d.cts +45 -0
- package/dist/headless-session-host.d.cts.map +1 -0
- package/dist/headless-session-host.d.mts +45 -0
- package/dist/headless-session-host.d.mts.map +1 -0
- package/dist/headless-session-host.mjs +1 -0
- package/dist/headless-session-manager.cjs +51 -0
- package/dist/headless-session-manager.cjs.map +1 -0
- package/dist/headless-session-manager.d.cts +6 -0
- package/dist/headless-session-manager.d.cts.map +1 -0
- package/dist/headless-session-manager.d.mts +6 -0
- package/dist/headless-session-manager.d.mts.map +1 -0
- package/dist/headless-session-manager.mjs +50 -0
- package/dist/headless-session-manager.mjs.map +1 -0
- package/dist/headless.cjs +7 -0
- package/dist/headless.d.cts +2 -0
- package/dist/headless.d.mts +2 -0
- package/dist/headless.mjs +2 -0
- package/dist/help.cjs +21 -0
- package/dist/help.d.cts +2 -0
- package/dist/help.d.mts +2 -0
- package/dist/help.mjs +2 -0
- package/dist/history-import.cjs +553 -0
- package/dist/history-import.cjs.map +1 -0
- package/dist/history-import.d.cts +76 -0
- package/dist/history-import.d.cts.map +1 -0
- package/dist/history-import.d.mts +76 -0
- package/dist/history-import.d.mts.map +1 -0
- package/dist/history-import.mjs +547 -0
- package/dist/history-import.mjs.map +1 -0
- package/dist/history-ownership.cjs +169 -0
- package/dist/history-ownership.cjs.map +1 -0
- package/dist/history-ownership.d.cts +23 -0
- package/dist/history-ownership.d.cts.map +1 -0
- package/dist/history-ownership.d.mts +23 -0
- package/dist/history-ownership.d.mts.map +1 -0
- package/dist/history-ownership.mjs +163 -0
- package/dist/history-ownership.mjs.map +1 -0
- package/dist/history.cjs +13 -0
- package/dist/history.d.cts +6 -0
- package/dist/history.d.mts +6 -0
- package/dist/history.mjs +6 -0
- package/dist/hub-channel.cjs +0 -0
- package/dist/hub-channel.d.cts +2 -0
- package/dist/hub-channel.d.mts +2 -0
- package/dist/hub-channel.mjs +1 -0
- package/dist/index.cjs +44 -0
- package/dist/index.d.cts +6 -0
- package/dist/index.d.mts +6 -0
- package/dist/index.mjs +6 -0
- package/dist/json.cjs +6 -0
- package/dist/json.d.cts +2 -0
- package/dist/json.d.mts +2 -0
- package/dist/json.mjs +2 -0
- package/dist/jsonl-session-repo.cjs +217 -0
- package/dist/jsonl-session-repo.cjs.map +1 -0
- package/dist/jsonl-session-repo.d.cts +7 -0
- package/dist/jsonl-session-repo.d.cts.map +1 -0
- package/dist/jsonl-session-repo.d.mts +7 -0
- package/dist/jsonl-session-repo.d.mts.map +1 -0
- package/dist/jsonl-session-repo.mjs +212 -0
- package/dist/jsonl-session-repo.mjs.map +1 -0
- package/dist/kernel.cjs +3 -0
- package/dist/kernel.d.cts +3 -0
- package/dist/kernel.d.mts +3 -0
- package/dist/kernel.mjs +2 -0
- package/dist/leader.cjs +9 -0
- package/dist/leader.d.cts +2 -0
- package/dist/leader.d.mts +2 -0
- package/dist/leader.mjs +2 -0
- package/dist/log-sink-telemetry.cjs +5 -0
- package/dist/log-sink-telemetry.d.cts +2 -0
- package/dist/log-sink-telemetry.d.mts +2 -0
- package/dist/log-sink-telemetry.mjs +2 -0
- package/dist/machine-api.cjs +73 -0
- package/dist/machine-api.cjs.map +1 -0
- package/dist/machine-api.d.cts +7 -0
- package/dist/machine-api.d.cts.map +1 -0
- package/dist/machine-api.d.mts +7 -0
- package/dist/machine-api.d.mts.map +1 -0
- package/dist/machine-api.mjs +70 -0
- package/dist/machine-api.mjs.map +1 -0
- package/dist/main.cjs +10 -0
- package/dist/main.d.cts +5 -0
- package/dist/main.d.mts +5 -0
- package/dist/main.mjs +4 -0
- package/dist/mcp-projection.cjs +15 -0
- package/dist/mcp-projection.d.cts +2 -0
- package/dist/mcp-projection.d.mts +2 -0
- package/dist/mcp-projection.mjs +2 -0
- package/dist/mcp-schema-cost.cjs +195 -0
- package/dist/mcp-schema-cost.cjs.map +1 -0
- package/dist/mcp-schema-cost.d.cts +35 -0
- package/dist/mcp-schema-cost.d.cts.map +1 -0
- package/dist/mcp-schema-cost.d.mts +35 -0
- package/dist/mcp-schema-cost.d.mts.map +1 -0
- package/dist/mcp-schema-cost.mjs +190 -0
- package/dist/mcp-schema-cost.mjs.map +1 -0
- package/dist/mcp-session.cjs +9 -0
- package/dist/mcp-session.d.cts +2 -0
- package/dist/mcp-session.d.mts +2 -0
- package/dist/mcp-session.mjs +2 -0
- package/dist/mcp-status.cjs +7 -0
- package/dist/mcp-status.d.cts +2 -0
- package/dist/mcp-status.d.mts +2 -0
- package/dist/mcp-status.mjs +2 -0
- package/dist/mcp-tool-resolver.cjs +5 -0
- package/dist/mcp-tool-resolver.d.cts +2 -0
- package/dist/mcp-tool-resolver.d.mts +2 -0
- package/dist/mcp-tool-resolver.mjs +2 -0
- package/dist/module-resolution.cjs +405 -0
- package/dist/module-resolution.cjs.map +1 -0
- package/dist/module-resolution.d.cts +67 -0
- package/dist/module-resolution.d.cts.map +1 -0
- package/dist/module-resolution.d.mts +67 -0
- package/dist/module-resolution.d.mts.map +1 -0
- package/dist/module-resolution.mjs +389 -0
- package/dist/module-resolution.mjs.map +1 -0
- package/dist/narration.cjs +10 -0
- package/dist/narration.d.cts +2 -0
- package/dist/narration.d.mts +2 -0
- package/dist/narration.mjs +2 -0
- package/dist/notification.cjs +17 -0
- package/dist/notification.d.cts +2 -0
- package/dist/notification.d.mts +2 -0
- package/dist/notification.mjs +2 -0
- package/dist/package-api-server.cjs +161 -0
- package/dist/package-api-server.cjs.map +1 -0
- package/dist/package-api-server.d.cts +47 -0
- package/dist/package-api-server.d.cts.map +1 -0
- package/dist/package-api-server.d.mts +47 -0
- package/dist/package-api-server.d.mts.map +1 -0
- package/dist/package-api-server.mjs +159 -0
- package/dist/package-api-server.mjs.map +1 -0
- package/dist/package-api.cjs +11 -0
- package/dist/package-api.d.cts +2 -0
- package/dist/package-api.d.mts +2 -0
- package/dist/package-api.mjs +2 -0
- package/dist/pi/piSessionRuntime.cjs +520 -0
- package/dist/pi/piSessionRuntime.cjs.map +1 -0
- package/dist/pi/piSessionRuntime.d.cts +43 -0
- package/dist/pi/piSessionRuntime.d.cts.map +1 -0
- package/dist/pi/piSessionRuntime.d.mts +43 -0
- package/dist/pi/piSessionRuntime.d.mts.map +1 -0
- package/dist/pi/piSessionRuntime.mjs +519 -0
- package/dist/pi/piSessionRuntime.mjs.map +1 -0
- package/dist/pi/piWebSocketListener.cjs +115 -0
- package/dist/pi/piWebSocketListener.cjs.map +1 -0
- package/dist/pi/piWebSocketListener.mjs +115 -0
- package/dist/pi/piWebSocketListener.mjs.map +1 -0
- package/dist/pi-extension.cjs +8 -0
- package/dist/pi-extension.d.cts +5 -0
- package/dist/pi-extension.d.mts +5 -0
- package/dist/pi-extension.mjs +4 -0
- package/dist/pi-settings.cjs +11 -0
- package/dist/pi-settings.d.cts +2 -0
- package/dist/pi-settings.d.mts +2 -0
- package/dist/pi-settings.mjs +2 -0
- package/dist/plugin-protocol.cjs +10 -0
- package/dist/plugin-protocol.d.cts +2 -0
- package/dist/plugin-protocol.d.mts +2 -0
- package/dist/plugin-protocol.mjs +2 -0
- package/dist/profile-identity.cjs +6 -0
- package/dist/profile-identity.d.cts +2 -0
- package/dist/profile-identity.d.mts +2 -0
- package/dist/profile-identity.mjs +2 -0
- package/dist/protocol.cjs +10 -0
- package/dist/protocol.d.cts +2 -0
- package/dist/protocol.d.mts +2 -0
- package/dist/protocol.mjs +2 -0
- package/dist/readiness.cjs +8 -0
- package/dist/readiness.d.cts +2 -0
- package/dist/readiness.d.mts +2 -0
- package/dist/readiness.mjs +2 -0
- package/dist/relaunch-handoff.cjs +6 -0
- package/dist/relaunch-handoff.d.cts +2 -0
- package/dist/relaunch-handoff.d.mts +2 -0
- package/dist/relaunch-handoff.mjs +2 -0
- package/dist/remote-api.cjs +42 -0
- package/dist/remote-api.cjs.map +1 -0
- package/dist/remote-api.d.cts +7 -0
- package/dist/remote-api.d.cts.map +1 -0
- package/dist/remote-api.d.mts +7 -0
- package/dist/remote-api.d.mts.map +1 -0
- package/dist/remote-api.mjs +41 -0
- package/dist/remote-api.mjs.map +1 -0
- package/dist/remote-runtime.cjs +394 -0
- package/dist/remote-runtime.cjs.map +1 -0
- package/dist/remote-runtime.d.cts +26 -0
- package/dist/remote-runtime.d.cts.map +1 -0
- package/dist/remote-runtime.d.mts +26 -0
- package/dist/remote-runtime.d.mts.map +1 -0
- package/dist/remote-runtime.mjs +390 -0
- package/dist/remote-runtime.mjs.map +1 -0
- package/dist/runtime-config.cjs +232 -0
- package/dist/runtime-config.cjs.map +1 -0
- package/dist/runtime-config.d.cts +313 -0
- package/dist/runtime-config.d.cts.map +1 -0
- package/dist/runtime-config.d.mts +313 -0
- package/dist/runtime-config.d.mts.map +1 -0
- package/dist/runtime-config.mjs +221 -0
- package/dist/runtime-config.mjs.map +1 -0
- package/dist/runtime-context-api.cjs +64 -0
- package/dist/runtime-context-api.cjs.map +1 -0
- package/dist/runtime-context-api.d.cts +16 -0
- package/dist/runtime-context-api.d.cts.map +1 -0
- package/dist/runtime-context-api.d.mts +16 -0
- package/dist/runtime-context-api.d.mts.map +1 -0
- package/dist/runtime-context-api.mjs +62 -0
- package/dist/runtime-context-api.mjs.map +1 -0
- package/dist/runtime-cordis-host.cjs +191 -0
- package/dist/runtime-cordis-host.cjs.map +1 -0
- package/dist/runtime-cordis-host.d.cts +57 -0
- package/dist/runtime-cordis-host.d.cts.map +1 -0
- package/dist/runtime-cordis-host.d.mts +57 -0
- package/dist/runtime-cordis-host.d.mts.map +1 -0
- package/dist/runtime-cordis-host.mjs +183 -0
- package/dist/runtime-cordis-host.mjs.map +1 -0
- package/dist/runtime-headless-session-manager.cjs +0 -0
- package/dist/runtime-headless-session-manager.d.cts +14 -0
- package/dist/runtime-headless-session-manager.d.cts.map +1 -0
- package/dist/runtime-headless-session-manager.d.mts +14 -0
- package/dist/runtime-headless-session-manager.d.mts.map +1 -0
- package/dist/runtime-headless-session-manager.mjs +1 -0
- package/dist/runtime-identity.cjs +26 -0
- package/dist/runtime-identity.cjs.map +1 -0
- package/dist/runtime-identity.d.cts +7 -0
- package/dist/runtime-identity.d.cts.map +1 -0
- package/dist/runtime-identity.d.mts +7 -0
- package/dist/runtime-identity.d.mts.map +1 -0
- package/dist/runtime-identity.mjs +21 -0
- package/dist/runtime-identity.mjs.map +1 -0
- package/dist/runtime-json.cjs +46 -0
- package/dist/runtime-json.cjs.map +1 -0
- package/dist/runtime-json.d.cts +22 -0
- package/dist/runtime-json.d.cts.map +1 -0
- package/dist/runtime-json.d.mts +22 -0
- package/dist/runtime-json.d.mts.map +1 -0
- package/dist/runtime-json.mjs +39 -0
- package/dist/runtime-json.mjs.map +1 -0
- package/dist/runtime-log-sink-telemetry.cjs +102 -0
- package/dist/runtime-log-sink-telemetry.cjs.map +1 -0
- package/dist/runtime-log-sink-telemetry.d.cts +49 -0
- package/dist/runtime-log-sink-telemetry.d.cts.map +1 -0
- package/dist/runtime-log-sink-telemetry.d.mts +49 -0
- package/dist/runtime-log-sink-telemetry.d.mts.map +1 -0
- package/dist/runtime-log-sink-telemetry.mjs +99 -0
- package/dist/runtime-log-sink-telemetry.mjs.map +1 -0
- package/dist/runtime-pi-extension.cjs +243 -0
- package/dist/runtime-pi-extension.cjs.map +1 -0
- package/dist/runtime-pi-extension.d.cts +102 -0
- package/dist/runtime-pi-extension.d.cts.map +1 -0
- package/dist/runtime-pi-extension.d.mts +102 -0
- package/dist/runtime-pi-extension.d.mts.map +1 -0
- package/dist/runtime-pi-extension.mjs +242 -0
- package/dist/runtime-pi-extension.mjs.map +1 -0
- package/dist/runtime-pi-settings.cjs +104 -0
- package/dist/runtime-pi-settings.cjs.map +1 -0
- package/dist/runtime-pi-settings.d.cts +23 -0
- package/dist/runtime-pi-settings.d.cts.map +1 -0
- package/dist/runtime-pi-settings.d.mts +23 -0
- package/dist/runtime-pi-settings.d.mts.map +1 -0
- package/dist/runtime-pi-settings.mjs +92 -0
- package/dist/runtime-pi-settings.mjs.map +1 -0
- package/dist/runtime-protocol.cjs +223 -0
- package/dist/runtime-protocol.cjs.map +1 -0
- package/dist/runtime-protocol.d.cts +84 -0
- package/dist/runtime-protocol.d.cts.map +1 -0
- package/dist/runtime-protocol.d.mts +84 -0
- package/dist/runtime-protocol.d.mts.map +1 -0
- package/dist/runtime-protocol.mjs +215 -0
- package/dist/runtime-protocol.mjs.map +1 -0
- package/dist/runtime-tool-names.cjs +51 -0
- package/dist/runtime-tool-names.cjs.map +1 -0
- package/dist/runtime-tool-names.d.cts +24 -0
- package/dist/runtime-tool-names.d.cts.map +1 -0
- package/dist/runtime-tool-names.d.mts +24 -0
- package/dist/runtime-tool-names.d.mts.map +1 -0
- package/dist/runtime-tool-names.mjs +49 -0
- package/dist/runtime-tool-names.mjs.map +1 -0
- package/dist/runtime-transition.cjs +27 -0
- package/dist/runtime-transition.cjs.map +1 -0
- package/dist/runtime-transition.d.cts +114 -0
- package/dist/runtime-transition.d.cts.map +1 -0
- package/dist/runtime-transition.d.mts +114 -0
- package/dist/runtime-transition.d.mts.map +1 -0
- package/dist/runtime-transition.mjs +24 -0
- package/dist/runtime-transition.mjs.map +1 -0
- package/dist/sandbox-harness.cjs +6 -0
- package/dist/sandbox-harness.d.cts +2 -0
- package/dist/sandbox-harness.d.mts +2 -0
- package/dist/sandbox-harness.mjs +2 -0
- package/dist/schemas/agentModel.cjs +33 -0
- package/dist/schemas/agentModel.cjs.map +1 -0
- package/dist/schemas/agentModel.d.cts +26 -0
- package/dist/schemas/agentModel.d.cts.map +1 -0
- package/dist/schemas/agentModel.d.mts +26 -0
- package/dist/schemas/agentModel.d.mts.map +1 -0
- package/dist/schemas/agentModel.mjs +32 -0
- package/dist/schemas/agentModel.mjs.map +1 -0
- package/dist/schemas/apiContracts.cjs +145 -0
- package/dist/schemas/apiContracts.cjs.map +1 -0
- package/dist/schemas/apiContracts.d.cts +81 -0
- package/dist/schemas/apiContracts.d.cts.map +1 -0
- package/dist/schemas/apiContracts.d.mts +81 -0
- package/dist/schemas/apiContracts.d.mts.map +1 -0
- package/dist/schemas/apiContracts.mjs +140 -0
- package/dist/schemas/apiContracts.mjs.map +1 -0
- package/dist/schemas/askUser.cjs +42 -0
- package/dist/schemas/askUser.cjs.map +1 -0
- package/dist/schemas/askUser.d.cts +47 -0
- package/dist/schemas/askUser.d.cts.map +1 -0
- package/dist/schemas/askUser.d.mts +47 -0
- package/dist/schemas/askUser.d.mts.map +1 -0
- package/dist/schemas/askUser.mjs +37 -0
- package/dist/schemas/askUser.mjs.map +1 -0
- package/dist/schemas/backgroundWork.cjs +31 -0
- package/dist/schemas/backgroundWork.cjs.map +1 -0
- package/dist/schemas/backgroundWork.d.cts +72 -0
- package/dist/schemas/backgroundWork.d.cts.map +1 -0
- package/dist/schemas/backgroundWork.d.mts +72 -0
- package/dist/schemas/backgroundWork.d.mts.map +1 -0
- package/dist/schemas/backgroundWork.mjs +27 -0
- package/dist/schemas/backgroundWork.mjs.map +1 -0
- package/dist/schemas/builtinApiContracts.cjs +37 -0
- package/dist/schemas/builtinApiContracts.cjs.map +1 -0
- package/dist/schemas/builtinApiContracts.d.cts +51 -0
- package/dist/schemas/builtinApiContracts.d.cts.map +1 -0
- package/dist/schemas/builtinApiContracts.d.mts +51 -0
- package/dist/schemas/builtinApiContracts.d.mts.map +1 -0
- package/dist/schemas/builtinApiContracts.mjs +37 -0
- package/dist/schemas/builtinApiContracts.mjs.map +1 -0
- package/dist/schemas/childProcess.cjs +67 -0
- package/dist/schemas/childProcess.cjs.map +1 -0
- package/dist/schemas/childProcess.d.cts +30 -0
- package/dist/schemas/childProcess.d.cts.map +1 -0
- package/dist/schemas/childProcess.d.mts +30 -0
- package/dist/schemas/childProcess.d.mts.map +1 -0
- package/dist/schemas/childProcess.mjs +55 -0
- package/dist/schemas/childProcess.mjs.map +1 -0
- package/dist/schemas/cockpitContainer.cjs +31 -0
- package/dist/schemas/cockpitContainer.cjs.map +1 -0
- package/dist/schemas/cockpitContainer.d.cts +80 -0
- package/dist/schemas/cockpitContainer.d.cts.map +1 -0
- package/dist/schemas/cockpitContainer.d.mts +80 -0
- package/dist/schemas/cockpitContainer.d.mts.map +1 -0
- package/dist/schemas/cockpitContainer.mjs +30 -0
- package/dist/schemas/cockpitContainer.mjs.map +1 -0
- package/dist/schemas/contextContributions.cjs +17 -0
- package/dist/schemas/contextContributions.cjs.map +1 -0
- package/dist/schemas/contextContributions.d.cts +49 -0
- package/dist/schemas/contextContributions.d.cts.map +1 -0
- package/dist/schemas/contextContributions.d.mts +49 -0
- package/dist/schemas/contextContributions.d.mts.map +1 -0
- package/dist/schemas/contextContributions.mjs +15 -0
- package/dist/schemas/contextContributions.mjs.map +1 -0
- package/dist/schemas/delegation.cjs +91 -0
- package/dist/schemas/delegation.cjs.map +1 -0
- package/dist/schemas/delegation.d.cts +95 -0
- package/dist/schemas/delegation.d.cts.map +1 -0
- package/dist/schemas/delegation.d.mts +95 -0
- package/dist/schemas/delegation.d.mts.map +1 -0
- package/dist/schemas/delegation.mjs +76 -0
- package/dist/schemas/delegation.mjs.map +1 -0
- package/dist/schemas/footer.cjs +48 -0
- package/dist/schemas/footer.cjs.map +1 -0
- package/dist/schemas/footer.d.cts +48 -0
- package/dist/schemas/footer.d.cts.map +1 -0
- package/dist/schemas/footer.d.mts +48 -0
- package/dist/schemas/footer.d.mts.map +1 -0
- package/dist/schemas/footer.mjs +45 -0
- package/dist/schemas/footer.mjs.map +1 -0
- package/dist/schemas/headless.cjs +23 -0
- package/dist/schemas/headless.cjs.map +1 -0
- package/dist/schemas/headless.d.cts +238 -0
- package/dist/schemas/headless.d.cts.map +1 -0
- package/dist/schemas/headless.d.mts +238 -0
- package/dist/schemas/headless.d.mts.map +1 -0
- package/dist/schemas/headless.mjs +19 -0
- package/dist/schemas/headless.mjs.map +1 -0
- package/dist/schemas/help.cjs +249 -0
- package/dist/schemas/help.cjs.map +1 -0
- package/dist/schemas/help.d.cts +106 -0
- package/dist/schemas/help.d.cts.map +1 -0
- package/dist/schemas/help.d.mts +106 -0
- package/dist/schemas/help.d.mts.map +1 -0
- package/dist/schemas/help.mjs +231 -0
- package/dist/schemas/help.mjs.map +1 -0
- package/dist/schemas/httpApiContracts.cjs +388 -0
- package/dist/schemas/httpApiContracts.cjs.map +1 -0
- package/dist/schemas/httpApiContracts.d.cts +14 -0
- package/dist/schemas/httpApiContracts.d.cts.map +1 -0
- package/dist/schemas/httpApiContracts.d.mts +14 -0
- package/dist/schemas/httpApiContracts.d.mts.map +1 -0
- package/dist/schemas/httpApiContracts.mjs +377 -0
- package/dist/schemas/httpApiContracts.mjs.map +1 -0
- package/dist/schemas/hubChannel.d.cts +91 -0
- package/dist/schemas/hubChannel.d.cts.map +1 -0
- package/dist/schemas/hubChannel.d.mts +91 -0
- package/dist/schemas/hubChannel.d.mts.map +1 -0
- package/dist/schemas/leader.cjs +57 -0
- package/dist/schemas/leader.cjs.map +1 -0
- package/dist/schemas/leader.d.cts +107 -0
- package/dist/schemas/leader.d.cts.map +1 -0
- package/dist/schemas/leader.d.mts +107 -0
- package/dist/schemas/leader.d.mts.map +1 -0
- package/dist/schemas/leader.mjs +51 -0
- package/dist/schemas/leader.mjs.map +1 -0
- package/dist/schemas/mcpProjection.cjs +114 -0
- package/dist/schemas/mcpProjection.cjs.map +1 -0
- package/dist/schemas/mcpProjection.d.cts +116 -0
- package/dist/schemas/mcpProjection.d.cts.map +1 -0
- package/dist/schemas/mcpProjection.d.mts +116 -0
- package/dist/schemas/mcpProjection.d.mts.map +1 -0
- package/dist/schemas/mcpProjection.mjs +102 -0
- package/dist/schemas/mcpProjection.mjs.map +1 -0
- package/dist/schemas/mcpSession.cjs +57 -0
- package/dist/schemas/mcpSession.cjs.map +1 -0
- package/dist/schemas/mcpSession.d.cts +57 -0
- package/dist/schemas/mcpSession.d.cts.map +1 -0
- package/dist/schemas/mcpSession.d.mts +57 -0
- package/dist/schemas/mcpSession.d.mts.map +1 -0
- package/dist/schemas/mcpSession.mjs +51 -0
- package/dist/schemas/mcpSession.mjs.map +1 -0
- package/dist/schemas/mcpStatus.cjs +52 -0
- package/dist/schemas/mcpStatus.cjs.map +1 -0
- package/dist/schemas/mcpStatus.d.cts +73 -0
- package/dist/schemas/mcpStatus.d.cts.map +1 -0
- package/dist/schemas/mcpStatus.d.mts +73 -0
- package/dist/schemas/mcpStatus.d.mts.map +1 -0
- package/dist/schemas/mcpStatus.mjs +48 -0
- package/dist/schemas/mcpStatus.mjs.map +1 -0
- package/dist/schemas/mcpToolResolver.cjs +17 -0
- package/dist/schemas/mcpToolResolver.cjs.map +1 -0
- package/dist/schemas/mcpToolResolver.d.cts +24 -0
- package/dist/schemas/mcpToolResolver.d.cts.map +1 -0
- package/dist/schemas/mcpToolResolver.d.mts +24 -0
- package/dist/schemas/mcpToolResolver.d.mts.map +1 -0
- package/dist/schemas/mcpToolResolver.mjs +15 -0
- package/dist/schemas/mcpToolResolver.mjs.map +1 -0
- package/dist/schemas/narration.cjs +54 -0
- package/dist/schemas/narration.cjs.map +1 -0
- package/dist/schemas/narration.d.cts +29 -0
- package/dist/schemas/narration.d.cts.map +1 -0
- package/dist/schemas/narration.d.mts +29 -0
- package/dist/schemas/narration.d.mts.map +1 -0
- package/dist/schemas/narration.mjs +47 -0
- package/dist/schemas/narration.mjs.map +1 -0
- package/dist/schemas/notification.cjs +122 -0
- package/dist/schemas/notification.cjs.map +1 -0
- package/dist/schemas/notification.d.cts +48 -0
- package/dist/schemas/notification.d.cts.map +1 -0
- package/dist/schemas/notification.d.mts +48 -0
- package/dist/schemas/notification.d.mts.map +1 -0
- package/dist/schemas/notification.mjs +108 -0
- package/dist/schemas/notification.mjs.map +1 -0
- package/dist/schemas/packageApi.cjs +52 -0
- package/dist/schemas/packageApi.cjs.map +1 -0
- package/dist/schemas/packageApi.d.cts +149 -0
- package/dist/schemas/packageApi.d.cts.map +1 -0
- package/dist/schemas/packageApi.d.mts +149 -0
- package/dist/schemas/packageApi.d.mts.map +1 -0
- package/dist/schemas/packageApi.mjs +44 -0
- package/dist/schemas/packageApi.mjs.map +1 -0
- package/dist/schemas/piTool.cjs +25 -0
- package/dist/schemas/piTool.cjs.map +1 -0
- package/dist/schemas/piTool.d.cts +12 -0
- package/dist/schemas/piTool.d.cts.map +1 -0
- package/dist/schemas/piTool.d.mts +12 -0
- package/dist/schemas/piTool.d.mts.map +1 -0
- package/dist/schemas/piTool.mjs +25 -0
- package/dist/schemas/piTool.mjs.map +1 -0
- package/dist/schemas/pluginContributions.cjs +19 -0
- package/dist/schemas/pluginContributions.cjs.map +1 -0
- package/dist/schemas/pluginContributions.d.cts +56 -0
- package/dist/schemas/pluginContributions.d.cts.map +1 -0
- package/dist/schemas/pluginContributions.d.mts +56 -0
- package/dist/schemas/pluginContributions.d.mts.map +1 -0
- package/dist/schemas/pluginContributions.mjs +18 -0
- package/dist/schemas/pluginContributions.mjs.map +1 -0
- package/dist/schemas/pluginProtocol.cjs +103 -0
- package/dist/schemas/pluginProtocol.cjs.map +1 -0
- package/dist/schemas/pluginProtocol.d.cts +68 -0
- package/dist/schemas/pluginProtocol.d.cts.map +1 -0
- package/dist/schemas/pluginProtocol.d.mts +68 -0
- package/dist/schemas/pluginProtocol.d.mts.map +1 -0
- package/dist/schemas/pluginProtocol.mjs +96 -0
- package/dist/schemas/pluginProtocol.mjs.map +1 -0
- package/dist/schemas/profileIdentity.cjs +67 -0
- package/dist/schemas/profileIdentity.cjs.map +1 -0
- package/dist/schemas/profileIdentity.d.cts +50 -0
- package/dist/schemas/profileIdentity.d.cts.map +1 -0
- package/dist/schemas/profileIdentity.d.mts +50 -0
- package/dist/schemas/profileIdentity.d.mts.map +1 -0
- package/dist/schemas/profileIdentity.mjs +64 -0
- package/dist/schemas/profileIdentity.mjs.map +1 -0
- package/dist/schemas/readiness.cjs +251 -0
- package/dist/schemas/readiness.cjs.map +1 -0
- package/dist/schemas/readiness.d.cts +84 -0
- package/dist/schemas/readiness.d.cts.map +1 -0
- package/dist/schemas/readiness.d.mts +84 -0
- package/dist/schemas/readiness.d.mts.map +1 -0
- package/dist/schemas/readiness.mjs +246 -0
- package/dist/schemas/readiness.mjs.map +1 -0
- package/dist/schemas/relaunchHandoff.cjs +47 -0
- package/dist/schemas/relaunchHandoff.cjs.map +1 -0
- package/dist/schemas/relaunchHandoff.d.cts +25 -0
- package/dist/schemas/relaunchHandoff.d.cts.map +1 -0
- package/dist/schemas/relaunchHandoff.d.mts +25 -0
- package/dist/schemas/relaunchHandoff.d.mts.map +1 -0
- package/dist/schemas/relaunchHandoff.mjs +44 -0
- package/dist/schemas/relaunchHandoff.mjs.map +1 -0
- package/dist/schemas/remoteApiContracts.cjs +307 -0
- package/dist/schemas/remoteApiContracts.cjs.map +1 -0
- package/dist/schemas/remoteApiContracts.mjs +303 -0
- package/dist/schemas/remoteApiContracts.mjs.map +1 -0
- package/dist/schemas/sandboxHarness.cjs +29 -0
- package/dist/schemas/sandboxHarness.cjs.map +1 -0
- package/dist/schemas/sandboxHarness.d.cts +39 -0
- package/dist/schemas/sandboxHarness.d.cts.map +1 -0
- package/dist/schemas/sandboxHarness.d.mts +39 -0
- package/dist/schemas/sandboxHarness.d.mts.map +1 -0
- package/dist/schemas/sandboxHarness.mjs +26 -0
- package/dist/schemas/sandboxHarness.mjs.map +1 -0
- package/dist/schemas/serverBundle.cjs +79 -0
- package/dist/schemas/serverBundle.cjs.map +1 -0
- package/dist/schemas/serverBundle.d.cts +34 -0
- package/dist/schemas/serverBundle.d.cts.map +1 -0
- package/dist/schemas/serverBundle.d.mts +34 -0
- package/dist/schemas/serverBundle.d.mts.map +1 -0
- package/dist/schemas/serverBundle.mjs +77 -0
- package/dist/schemas/serverBundle.mjs.map +1 -0
- package/dist/schemas/serverFacet.cjs +102 -0
- package/dist/schemas/serverFacet.cjs.map +1 -0
- package/dist/schemas/serverFacet.d.cts +141 -0
- package/dist/schemas/serverFacet.d.cts.map +1 -0
- package/dist/schemas/serverFacet.d.mts +141 -0
- package/dist/schemas/serverFacet.d.mts.map +1 -0
- package/dist/schemas/serverFacet.mjs +93 -0
- package/dist/schemas/serverFacet.mjs.map +1 -0
- package/dist/schemas/sessionApiContracts.cjs +474 -0
- package/dist/schemas/sessionApiContracts.cjs.map +1 -0
- package/dist/schemas/sessionApiContracts.d.cts +563 -0
- package/dist/schemas/sessionApiContracts.d.cts.map +1 -0
- package/dist/schemas/sessionApiContracts.d.mts +563 -0
- package/dist/schemas/sessionApiContracts.d.mts.map +1 -0
- package/dist/schemas/sessionApiContracts.mjs +472 -0
- package/dist/schemas/sessionApiContracts.mjs.map +1 -0
- package/dist/schemas/sessionProtocol.cjs +17 -0
- package/dist/schemas/sessionProtocol.cjs.map +1 -0
- package/dist/schemas/sessionProtocol.d.cts +269 -0
- package/dist/schemas/sessionProtocol.d.cts.map +1 -0
- package/dist/schemas/sessionProtocol.d.mts +269 -0
- package/dist/schemas/sessionProtocol.d.mts.map +1 -0
- package/dist/schemas/sessionProtocol.mjs +12 -0
- package/dist/schemas/sessionProtocol.mjs.map +1 -0
- package/dist/schemas/sessionUpdates.d.cts +34 -0
- package/dist/schemas/sessionUpdates.d.cts.map +1 -0
- package/dist/schemas/sessionUpdates.d.mts +34 -0
- package/dist/schemas/sessionUpdates.d.mts.map +1 -0
- package/dist/schemas/skills.cjs +115 -0
- package/dist/schemas/skills.cjs.map +1 -0
- package/dist/schemas/skills.d.cts +65 -0
- package/dist/schemas/skills.d.cts.map +1 -0
- package/dist/schemas/skills.d.mts +65 -0
- package/dist/schemas/skills.d.mts.map +1 -0
- package/dist/schemas/skills.mjs +109 -0
- package/dist/schemas/skills.mjs.map +1 -0
- package/dist/schemas/toolOverrides.cjs +17 -0
- package/dist/schemas/toolOverrides.cjs.map +1 -0
- package/dist/schemas/toolOverrides.d.cts +29 -0
- package/dist/schemas/toolOverrides.d.cts.map +1 -0
- package/dist/schemas/toolOverrides.d.mts +29 -0
- package/dist/schemas/toolOverrides.d.mts.map +1 -0
- package/dist/schemas/toolOverrides.mjs +15 -0
- package/dist/schemas/toolOverrides.mjs.map +1 -0
- package/dist/schemas/toolSurface.cjs +17 -0
- package/dist/schemas/toolSurface.cjs.map +1 -0
- package/dist/schemas/toolSurface.d.cts +54 -0
- package/dist/schemas/toolSurface.d.cts.map +1 -0
- package/dist/schemas/toolSurface.d.mts +54 -0
- package/dist/schemas/toolSurface.d.mts.map +1 -0
- package/dist/schemas/toolSurface.mjs +15 -0
- package/dist/schemas/toolSurface.mjs.map +1 -0
- package/dist/schemas/transportApiContracts.cjs +248 -0
- package/dist/schemas/transportApiContracts.cjs.map +1 -0
- package/dist/schemas/transportApiContracts.d.cts +205 -0
- package/dist/schemas/transportApiContracts.d.cts.map +1 -0
- package/dist/schemas/transportApiContracts.d.mts +205 -0
- package/dist/schemas/transportApiContracts.d.mts.map +1 -0
- package/dist/schemas/transportApiContracts.mjs +242 -0
- package/dist/schemas/transportApiContracts.mjs.map +1 -0
- package/dist/schemas/uiHub.cjs +17 -0
- package/dist/schemas/uiHub.cjs.map +1 -0
- package/dist/schemas/uiHub.d.cts +23 -0
- package/dist/schemas/uiHub.d.cts.map +1 -0
- package/dist/schemas/uiHub.d.mts +23 -0
- package/dist/schemas/uiHub.d.mts.map +1 -0
- package/dist/schemas/uiHub.mjs +15 -0
- package/dist/schemas/uiHub.mjs.map +1 -0
- package/dist/schemas/voiceReloadHandoff.cjs +78 -0
- package/dist/schemas/voiceReloadHandoff.cjs.map +1 -0
- package/dist/schemas/voiceReloadHandoff.d.cts +31 -0
- package/dist/schemas/voiceReloadHandoff.d.cts.map +1 -0
- package/dist/schemas/voiceReloadHandoff.d.mts +31 -0
- package/dist/schemas/voiceReloadHandoff.d.mts.map +1 -0
- package/dist/schemas/voiceReloadHandoff.mjs +75 -0
- package/dist/schemas/voiceReloadHandoff.mjs.map +1 -0
- package/dist/schemas/voiceTools.cjs +205 -0
- package/dist/schemas/voiceTools.cjs.map +1 -0
- package/dist/schemas/voiceTools.d.cts +120 -0
- package/dist/schemas/voiceTools.d.cts.map +1 -0
- package/dist/schemas/voiceTools.d.mts +120 -0
- package/dist/schemas/voiceTools.d.mts.map +1 -0
- package/dist/schemas/voiceTools.mjs +194 -0
- package/dist/schemas/voiceTools.mjs.map +1 -0
- package/dist/server/directHarnessRuntime.cjs +981 -0
- package/dist/server/directHarnessRuntime.cjs.map +1 -0
- package/dist/server/directHarnessRuntime.d.cts +3 -0
- package/dist/server/directHarnessRuntime.d.mts +3 -0
- package/dist/server/directHarnessRuntime.mjs +976 -0
- package/dist/server/directHarnessRuntime.mjs.map +1 -0
- package/dist/server/headlessProtocol.cjs +233 -0
- package/dist/server/headlessProtocol.cjs.map +1 -0
- package/dist/server/headlessProtocol.mjs +233 -0
- package/dist/server/headlessProtocol.mjs.map +1 -0
- package/dist/server/jsonlTranscriptReader.cjs +85 -0
- package/dist/server/jsonlTranscriptReader.cjs.map +1 -0
- package/dist/server/jsonlTranscriptReader.mjs +83 -0
- package/dist/server/jsonlTranscriptReader.mjs.map +1 -0
- package/dist/server/nativeChildTranscriptReader.cjs +20 -0
- package/dist/server/nativeChildTranscriptReader.cjs.map +1 -0
- package/dist/server/nativeChildTranscriptReader.mjs +18 -0
- package/dist/server/nativeChildTranscriptReader.mjs.map +1 -0
- package/dist/server/remoteRoutes.cjs +386 -0
- package/dist/server/remoteRoutes.cjs.map +1 -0
- package/dist/server/remoteRoutes.mjs +386 -0
- package/dist/server/remoteRoutes.mjs.map +1 -0
- package/dist/server/serverFacetLoader.cjs +220 -0
- package/dist/server/serverFacetLoader.cjs.map +1 -0
- package/dist/server/serverFacetLoader.d.cts +77 -0
- package/dist/server/serverFacetLoader.d.cts.map +1 -0
- package/dist/server/serverFacetLoader.d.mts +77 -0
- package/dist/server/serverFacetLoader.d.mts.map +1 -0
- package/dist/server/serverFacetLoader.mjs +215 -0
- package/dist/server/serverFacetLoader.mjs.map +1 -0
- package/dist/server/threadJournals.cjs +172 -0
- package/dist/server/threadJournals.cjs.map +1 -0
- package/dist/server/threadJournals.mjs +169 -0
- package/dist/server/threadJournals.mjs.map +1 -0
- package/dist/server-facet.cjs +27 -0
- package/dist/server-facet.d.cts +7 -0
- package/dist/server-facet.d.mts +7 -0
- package/dist/server-facet.mjs +7 -0
- package/dist/server-telemetry.cjs +25 -0
- package/dist/server-telemetry.cjs.map +1 -0
- package/dist/server-telemetry.d.cts +12 -0
- package/dist/server-telemetry.d.cts.map +1 -0
- package/dist/server-telemetry.d.mts +12 -0
- package/dist/server-telemetry.d.mts.map +1 -0
- package/dist/server-telemetry.mjs +23 -0
- package/dist/server-telemetry.mjs.map +1 -0
- package/dist/server.cjs +17 -0
- package/dist/server.d.cts +10 -0
- package/dist/server.d.mts +10 -0
- package/dist/server.mjs +7 -0
- package/dist/services/acpSessionUpdates/index.cjs +129 -0
- package/dist/services/acpSessionUpdates/index.cjs.map +1 -0
- package/dist/services/acpSessionUpdates/index.mjs +129 -0
- package/dist/services/acpSessionUpdates/index.mjs.map +1 -0
- package/dist/services/apiContracts/index.cjs +267 -0
- package/dist/services/apiContracts/index.cjs.map +1 -0
- package/dist/services/apiContracts/index.d.cts +42 -0
- package/dist/services/apiContracts/index.d.cts.map +1 -0
- package/dist/services/apiContracts/index.d.mts +42 -0
- package/dist/services/apiContracts/index.d.mts.map +1 -0
- package/dist/services/apiContracts/index.mjs +266 -0
- package/dist/services/apiContracts/index.mjs.map +1 -0
- package/dist/services/bundlePublication/index.cjs +88 -0
- package/dist/services/bundlePublication/index.cjs.map +1 -0
- package/dist/services/bundlePublication/index.mjs +85 -0
- package/dist/services/bundlePublication/index.mjs.map +1 -0
- package/dist/services/contextApiUrls/index.cjs +15 -0
- package/dist/services/contextApiUrls/index.cjs.map +1 -0
- package/dist/services/contextApiUrls/index.d.cts +6 -0
- package/dist/services/contextApiUrls/index.d.cts.map +1 -0
- package/dist/services/contextApiUrls/index.d.mts +6 -0
- package/dist/services/contextApiUrls/index.d.mts.map +1 -0
- package/dist/services/contextApiUrls/index.mjs +15 -0
- package/dist/services/contextApiUrls/index.mjs.map +1 -0
- package/dist/services/contextContributions/index.cjs +79 -0
- package/dist/services/contextContributions/index.cjs.map +1 -0
- package/dist/services/contextContributions/index.d.cts +6 -0
- package/dist/services/contextContributions/index.d.cts.map +1 -0
- package/dist/services/contextContributions/index.d.mts +6 -0
- package/dist/services/contextContributions/index.d.mts.map +1 -0
- package/dist/services/contextContributions/index.mjs +79 -0
- package/dist/services/contextContributions/index.mjs.map +1 -0
- package/dist/services/deviceAuth/index.cjs +125 -0
- package/dist/services/deviceAuth/index.cjs.map +1 -0
- package/dist/services/deviceAuth/index.d.cts +9 -0
- package/dist/services/deviceAuth/index.d.cts.map +1 -0
- package/dist/services/deviceAuth/index.d.mts +9 -0
- package/dist/services/deviceAuth/index.d.mts.map +1 -0
- package/dist/services/deviceAuth/index.mjs +125 -0
- package/dist/services/deviceAuth/index.mjs.map +1 -0
- package/dist/services/deviceSessions/index.cjs +147 -0
- package/dist/services/deviceSessions/index.cjs.map +1 -0
- package/dist/services/deviceSessions/index.d.cts +15 -0
- package/dist/services/deviceSessions/index.d.cts.map +1 -0
- package/dist/services/deviceSessions/index.d.mts +15 -0
- package/dist/services/deviceSessions/index.d.mts.map +1 -0
- package/dist/services/deviceSessions/index.mjs +141 -0
- package/dist/services/deviceSessions/index.mjs.map +1 -0
- package/dist/services/headlessClient/index.cjs +117 -0
- package/dist/services/headlessClient/index.cjs.map +1 -0
- package/dist/services/headlessClient/index.mjs +117 -0
- package/dist/services/headlessClient/index.mjs.map +1 -0
- package/dist/services/historyCreationFileSystem/index.cjs +114 -0
- package/dist/services/historyCreationFileSystem/index.cjs.map +1 -0
- package/dist/services/historyCreationFileSystem/index.mjs +114 -0
- package/dist/services/historyCreationFileSystem/index.mjs.map +1 -0
- package/dist/services/hubChannelHarness/index.cjs +50 -0
- package/dist/services/hubChannelHarness/index.cjs.map +1 -0
- package/dist/services/hubChannelHarness/index.d.cts +17 -0
- package/dist/services/hubChannelHarness/index.d.cts.map +1 -0
- package/dist/services/hubChannelHarness/index.d.mts +17 -0
- package/dist/services/hubChannelHarness/index.d.mts.map +1 -0
- package/dist/services/hubChannelHarness/index.mjs +50 -0
- package/dist/services/hubChannelHarness/index.mjs.map +1 -0
- package/dist/services/kernel/index.cjs +147 -0
- package/dist/services/kernel/index.cjs.map +1 -0
- package/dist/services/kernel/index.d.cts +9 -0
- package/dist/services/kernel/index.d.cts.map +1 -0
- package/dist/services/kernel/index.d.mts +9 -0
- package/dist/services/kernel/index.d.mts.map +1 -0
- package/dist/services/kernel/index.mjs +147 -0
- package/dist/services/kernel/index.mjs.map +1 -0
- package/dist/services/loginFlow/index.cjs +131 -0
- package/dist/services/loginFlow/index.cjs.map +1 -0
- package/dist/services/loginFlow/index.mjs +131 -0
- package/dist/services/loginFlow/index.mjs.map +1 -0
- package/dist/services/packageApiHarness/index.cjs +36 -0
- package/dist/services/packageApiHarness/index.cjs.map +1 -0
- package/dist/services/packageApiHarness/index.d.cts +40 -0
- package/dist/services/packageApiHarness/index.d.cts.map +1 -0
- package/dist/services/packageApiHarness/index.d.mts +40 -0
- package/dist/services/packageApiHarness/index.d.mts.map +1 -0
- package/dist/services/packageApiHarness/index.mjs +36 -0
- package/dist/services/packageApiHarness/index.mjs.map +1 -0
- package/dist/services/pairingFlow/index.cjs +145 -0
- package/dist/services/pairingFlow/index.cjs.map +1 -0
- package/dist/services/pairingFlow/index.d.cts +44 -0
- package/dist/services/pairingFlow/index.d.cts.map +1 -0
- package/dist/services/pairingFlow/index.d.mts +44 -0
- package/dist/services/pairingFlow/index.d.mts.map +1 -0
- package/dist/services/pairingFlow/index.mjs +145 -0
- package/dist/services/pairingFlow/index.mjs.map +1 -0
- package/dist/services/pairingPage/index.cjs +450 -0
- package/dist/services/pairingPage/index.cjs.map +1 -0
- package/dist/services/pairingPage/index.mjs +447 -0
- package/dist/services/pairingPage/index.mjs.map +1 -0
- package/dist/services/pluginLifecycle/index.cjs +71 -0
- package/dist/services/pluginLifecycle/index.cjs.map +1 -0
- package/dist/services/pluginLifecycle/index.d.cts +11 -0
- package/dist/services/pluginLifecycle/index.d.cts.map +1 -0
- package/dist/services/pluginLifecycle/index.d.mts +11 -0
- package/dist/services/pluginLifecycle/index.d.mts.map +1 -0
- package/dist/services/pluginLifecycle/index.mjs +71 -0
- package/dist/services/pluginLifecycle/index.mjs.map +1 -0
- package/dist/services/providerAuth/index.cjs +156 -0
- package/dist/services/providerAuth/index.cjs.map +1 -0
- package/dist/services/providerAuth/index.mjs +154 -0
- package/dist/services/providerAuth/index.mjs.map +1 -0
- package/dist/services/remoteAccess/index.cjs +393 -0
- package/dist/services/remoteAccess/index.cjs.map +1 -0
- package/dist/services/remoteAccess/index.d.cts +79 -0
- package/dist/services/remoteAccess/index.d.cts.map +1 -0
- package/dist/services/remoteAccess/index.d.mts +79 -0
- package/dist/services/remoteAccess/index.d.mts.map +1 -0
- package/dist/services/remoteAccess/index.mjs +393 -0
- package/dist/services/remoteAccess/index.mjs.map +1 -0
- package/dist/services/remoteAccessSettings/index.cjs +151 -0
- package/dist/services/remoteAccessSettings/index.cjs.map +1 -0
- package/dist/services/remoteAccessSettings/index.mjs +149 -0
- package/dist/services/remoteAccessSettings/index.mjs.map +1 -0
- package/dist/services/remoteAccessStore/index.cjs +126 -0
- package/dist/services/remoteAccessStore/index.cjs.map +1 -0
- package/dist/services/remoteAccessStore/index.mjs +121 -0
- package/dist/services/remoteAccessStore/index.mjs.map +1 -0
- package/dist/services/remoteGuardPolicy/index.cjs +190 -0
- package/dist/services/remoteGuardPolicy/index.cjs.map +1 -0
- package/dist/services/remoteGuardPolicy/index.d.cts +7 -0
- package/dist/services/remoteGuardPolicy/index.d.cts.map +1 -0
- package/dist/services/remoteGuardPolicy/index.d.mts +7 -0
- package/dist/services/remoteGuardPolicy/index.d.mts.map +1 -0
- package/dist/services/remoteGuardPolicy/index.mjs +186 -0
- package/dist/services/remoteGuardPolicy/index.mjs.map +1 -0
- package/dist/services/rpcTranscript/index.cjs +590 -0
- package/dist/services/rpcTranscript/index.cjs.map +1 -0
- package/dist/services/rpcTranscript/index.d.cts +50 -0
- package/dist/services/rpcTranscript/index.d.cts.map +1 -0
- package/dist/services/rpcTranscript/index.d.mts +50 -0
- package/dist/services/rpcTranscript/index.d.mts.map +1 -0
- package/dist/services/rpcTranscript/index.mjs +589 -0
- package/dist/services/rpcTranscript/index.mjs.map +1 -0
- package/dist/services/serverFacet/index.cjs +197 -0
- package/dist/services/serverFacet/index.cjs.map +1 -0
- package/dist/services/serverFacet/index.d.cts +31 -0
- package/dist/services/serverFacet/index.d.cts.map +1 -0
- package/dist/services/serverFacet/index.d.mts +31 -0
- package/dist/services/serverFacet/index.d.mts.map +1 -0
- package/dist/services/serverFacet/index.mjs +197 -0
- package/dist/services/serverFacet/index.mjs.map +1 -0
- package/dist/services/sessionPresentation/index.cjs +117 -0
- package/dist/services/sessionPresentation/index.cjs.map +1 -0
- package/dist/services/sessionPresentation/index.mjs +117 -0
- package/dist/services/sessionPresentation/index.mjs.map +1 -0
- package/dist/services/sqliteSessionHistory/index.cjs +59 -0
- package/dist/services/sqliteSessionHistory/index.cjs.map +1 -0
- package/dist/services/sqliteSessionHistory/index.d.cts +13 -0
- package/dist/services/sqliteSessionHistory/index.d.cts.map +1 -0
- package/dist/services/sqliteSessionHistory/index.d.mts +13 -0
- package/dist/services/sqliteSessionHistory/index.d.mts.map +1 -0
- package/dist/services/sqliteSessionHistory/index.mjs +57 -0
- package/dist/services/sqliteSessionHistory/index.mjs.map +1 -0
- package/dist/services/sqliteTranscriptReader/index.cjs +49 -0
- package/dist/services/sqliteTranscriptReader/index.cjs.map +1 -0
- package/dist/services/sqliteTranscriptReader/index.mjs +47 -0
- package/dist/services/sqliteTranscriptReader/index.mjs.map +1 -0
- package/dist/services/toolCost/index.cjs +47 -0
- package/dist/services/toolCost/index.cjs.map +1 -0
- package/dist/services/toolCost/index.d.cts +38 -0
- package/dist/services/toolCost/index.d.cts.map +1 -0
- package/dist/services/toolCost/index.d.mts +38 -0
- package/dist/services/toolCost/index.d.mts.map +1 -0
- package/dist/services/toolCost/index.mjs +46 -0
- package/dist/services/toolCost/index.mjs.map +1 -0
- package/dist/services/toolOverrides/index.cjs +45 -0
- package/dist/services/toolOverrides/index.cjs.map +1 -0
- package/dist/services/toolOverrides/index.d.cts +6 -0
- package/dist/services/toolOverrides/index.d.cts.map +1 -0
- package/dist/services/toolOverrides/index.d.mts +6 -0
- package/dist/services/toolOverrides/index.d.mts.map +1 -0
- package/dist/services/toolOverrides/index.mjs +45 -0
- package/dist/services/toolOverrides/index.mjs.map +1 -0
- package/dist/services/toolSurface/index.cjs +105 -0
- package/dist/services/toolSurface/index.cjs.map +1 -0
- package/dist/services/toolSurface/index.d.cts +19 -0
- package/dist/services/toolSurface/index.d.cts.map +1 -0
- package/dist/services/toolSurface/index.d.mts +19 -0
- package/dist/services/toolSurface/index.d.mts.map +1 -0
- package/dist/services/toolSurface/index.mjs +105 -0
- package/dist/services/toolSurface/index.mjs.map +1 -0
- package/dist/services/traceContext/index.cjs +13 -0
- package/dist/services/traceContext/index.cjs.map +1 -0
- package/dist/services/traceContext/index.mjs +13 -0
- package/dist/services/traceContext/index.mjs.map +1 -0
- package/dist/services/transcriptPages/index.cjs +74 -0
- package/dist/services/transcriptPages/index.cjs.map +1 -0
- package/dist/services/transcriptPages/index.mjs +73 -0
- package/dist/services/transcriptPages/index.mjs.map +1 -0
- package/dist/services/tunnelOutput/index.cjs +58 -0
- package/dist/services/tunnelOutput/index.cjs.map +1 -0
- package/dist/services/tunnelOutput/index.mjs +54 -0
- package/dist/services/tunnelOutput/index.mjs.map +1 -0
- package/dist/services/tunnelProcess/index.cjs +486 -0
- package/dist/services/tunnelProcess/index.cjs.map +1 -0
- package/dist/services/tunnelProcess/index.mjs +480 -0
- package/dist/services/tunnelProcess/index.mjs.map +1 -0
- package/dist/services/voiceReloadHandoff/index.cjs +136 -0
- package/dist/services/voiceReloadHandoff/index.cjs.map +1 -0
- package/dist/services/voiceReloadHandoff/index.d.cts +34 -0
- package/dist/services/voiceReloadHandoff/index.d.cts.map +1 -0
- package/dist/services/voiceReloadHandoff/index.d.mts +34 -0
- package/dist/services/voiceReloadHandoff/index.d.mts.map +1 -0
- package/dist/services/voiceReloadHandoff/index.mjs +135 -0
- package/dist/services/voiceReloadHandoff/index.mjs.map +1 -0
- package/dist/services/voiceToolsContract/index.cjs +26 -0
- package/dist/services/voiceToolsContract/index.cjs.map +1 -0
- package/dist/services/voiceToolsContract/index.d.cts +76 -0
- package/dist/services/voiceToolsContract/index.d.cts.map +1 -0
- package/dist/services/voiceToolsContract/index.d.mts +76 -0
- package/dist/services/voiceToolsContract/index.d.mts.map +1 -0
- package/dist/services/voiceToolsContract/index.mjs +24 -0
- package/dist/services/voiceToolsContract/index.mjs.map +1 -0
- package/dist/services/webauthn/index.cjs +262 -0
- package/dist/services/webauthn/index.cjs.map +1 -0
- package/dist/services/webauthn/index.d.cts +39 -0
- package/dist/services/webauthn/index.d.cts.map +1 -0
- package/dist/services/webauthn/index.d.mts +39 -0
- package/dist/services/webauthn/index.d.mts.map +1 -0
- package/dist/services/webauthn/index.mjs +262 -0
- package/dist/services/webauthn/index.mjs.map +1 -0
- package/dist/services/webauthnPolicy/index.cjs +178 -0
- package/dist/services/webauthnPolicy/index.cjs.map +1 -0
- package/dist/services/webauthnPolicy/index.d.cts +41 -0
- package/dist/services/webauthnPolicy/index.d.cts.map +1 -0
- package/dist/services/webauthnPolicy/index.d.mts +41 -0
- package/dist/services/webauthnPolicy/index.d.mts.map +1 -0
- package/dist/services/webauthnPolicy/index.mjs +171 -0
- package/dist/services/webauthnPolicy/index.mjs.map +1 -0
- package/dist/session-files-api.cjs +61 -0
- package/dist/session-files-api.cjs.map +1 -0
- package/dist/session-files-api.d.cts +7 -0
- package/dist/session-files-api.d.cts.map +1 -0
- package/dist/session-files-api.d.mts +7 -0
- package/dist/session-files-api.d.mts.map +1 -0
- package/dist/session-files-api.mjs +57 -0
- package/dist/session-files-api.mjs.map +1 -0
- package/dist/session-protocol.cjs +8 -0
- package/dist/session-protocol.d.cts +3 -0
- package/dist/session-protocol.d.mts +3 -0
- package/dist/session-protocol.mjs +2 -0
- package/dist/skills.cjs +9 -0
- package/dist/skills.d.cts +2 -0
- package/dist/skills.d.mts +2 -0
- package/dist/skills.mjs +2 -0
- package/dist/sqlite-history-import.cjs +151 -0
- package/dist/sqlite-history-import.cjs.map +1 -0
- package/dist/sqlite-history-import.d.cts +8 -0
- package/dist/sqlite-history-import.d.cts.map +1 -0
- package/dist/sqlite-history-import.d.mts +8 -0
- package/dist/sqlite-history-import.d.mts.map +1 -0
- package/dist/sqlite-history-import.mjs +146 -0
- package/dist/sqlite-history-import.mjs.map +1 -0
- package/dist/sqlite-session-storage.cjs +53 -0
- package/dist/sqlite-session-storage.cjs.map +1 -0
- package/dist/sqlite-session-storage.d.cts +7 -0
- package/dist/sqlite-session-storage.d.cts.map +1 -0
- package/dist/sqlite-session-storage.d.mts +7 -0
- package/dist/sqlite-session-storage.d.mts.map +1 -0
- package/dist/sqlite-session-storage.mjs +49 -0
- package/dist/sqlite-session-storage.mjs.map +1 -0
- package/dist/sync-location.cjs +209 -0
- package/dist/sync-location.cjs.map +1 -0
- package/dist/sync-location.d.cts +31 -0
- package/dist/sync-location.d.cts.map +1 -0
- package/dist/sync-location.d.mts +31 -0
- package/dist/sync-location.d.mts.map +1 -0
- package/dist/sync-location.mjs +199 -0
- package/dist/sync-location.mjs.map +1 -0
- package/dist/sync-registration.cjs +140 -0
- package/dist/sync-registration.cjs.map +1 -0
- package/dist/sync-registration.d.cts +38 -0
- package/dist/sync-registration.d.cts.map +1 -0
- package/dist/sync-registration.d.mts +38 -0
- package/dist/sync-registration.d.mts.map +1 -0
- package/dist/sync-registration.mjs +131 -0
- package/dist/sync-registration.mjs.map +1 -0
- package/dist/sync-state-contract.cjs +19 -0
- package/dist/sync-state-contract.cjs.map +1 -0
- package/dist/sync-state-contract.d.cts +14 -0
- package/dist/sync-state-contract.d.cts.map +1 -0
- package/dist/sync-state-contract.d.mts +14 -0
- package/dist/sync-state-contract.d.mts.map +1 -0
- package/dist/sync-state-contract.mjs +16 -0
- package/dist/sync-state-contract.mjs.map +1 -0
- package/dist/systems/child/adapters/headlessChildSessionService.cjs +210 -0
- package/dist/systems/child/adapters/headlessChildSessionService.cjs.map +1 -0
- package/dist/systems/child/adapters/headlessChildSessionService.d.cts +24 -0
- package/dist/systems/child/adapters/headlessChildSessionService.d.cts.map +1 -0
- package/dist/systems/child/adapters/headlessChildSessionService.d.mts +24 -0
- package/dist/systems/child/adapters/headlessChildSessionService.d.mts.map +1 -0
- package/dist/systems/child/adapters/headlessChildSessionService.mjs +205 -0
- package/dist/systems/child/adapters/headlessChildSessionService.mjs.map +1 -0
- package/dist/systems/child/adapters/nativeChildRuntimes.cjs +28 -0
- package/dist/systems/child/adapters/nativeChildRuntimes.cjs.map +1 -0
- package/dist/systems/child/adapters/nativeChildRuntimes.mjs +25 -0
- package/dist/systems/child/adapters/nativeChildRuntimes.mjs.map +1 -0
- package/dist/systems/child/services/childSession/index.cjs +206 -0
- package/dist/systems/child/services/childSession/index.cjs.map +1 -0
- package/dist/systems/child/services/childSession/index.d.cts +14 -0
- package/dist/systems/child/services/childSession/index.d.cts.map +1 -0
- package/dist/systems/child/services/childSession/index.d.mts +14 -0
- package/dist/systems/child/services/childSession/index.d.mts.map +1 -0
- package/dist/systems/child/services/childSession/index.mjs +206 -0
- package/dist/systems/child/services/childSession/index.mjs.map +1 -0
- package/dist/systems/child/types/childSession.cjs +16 -0
- package/dist/systems/child/types/childSession.cjs.map +1 -0
- package/dist/systems/child/types/childSession.d.cts +135 -0
- package/dist/systems/child/types/childSession.d.cts.map +1 -0
- package/dist/systems/child/types/childSession.d.mts +135 -0
- package/dist/systems/child/types/childSession.d.mts.map +1 -0
- package/dist/systems/child/types/childSession.mjs +14 -0
- package/dist/systems/child/types/childSession.mjs.map +1 -0
- package/dist/systems/main/adapters/headlessHost.cjs +436 -0
- package/dist/systems/main/adapters/headlessHost.cjs.map +1 -0
- package/dist/systems/main/adapters/headlessHost.d.cts +72 -0
- package/dist/systems/main/adapters/headlessHost.d.cts.map +1 -0
- package/dist/systems/main/adapters/headlessHost.d.mts +72 -0
- package/dist/systems/main/adapters/headlessHost.d.mts.map +1 -0
- package/dist/systems/main/adapters/headlessHost.mjs +435 -0
- package/dist/systems/main/adapters/headlessHost.mjs.map +1 -0
- package/dist/systems/main/adapters/headlessSessionHost.cjs +653 -0
- package/dist/systems/main/adapters/headlessSessionHost.cjs.map +1 -0
- package/dist/systems/main/adapters/headlessSessionHost.d.cts +14 -0
- package/dist/systems/main/adapters/headlessSessionHost.d.cts.map +1 -0
- package/dist/systems/main/adapters/headlessSessionHost.d.mts +14 -0
- package/dist/systems/main/adapters/headlessSessionHost.d.mts.map +1 -0
- package/dist/systems/main/adapters/headlessSessionHost.mjs +649 -0
- package/dist/systems/main/adapters/headlessSessionHost.mjs.map +1 -0
- package/dist/systems/main/types/headlessHost.d.cts +36 -0
- package/dist/systems/main/types/headlessHost.d.cts.map +1 -0
- package/dist/systems/main/types/headlessHost.d.mts +36 -0
- package/dist/systems/main/types/headlessHost.d.mts.map +1 -0
- package/dist/terminal-pi-child-session-service.cjs +263 -0
- package/dist/terminal-pi-child-session-service.cjs.map +1 -0
- package/dist/terminal-pi-child-session-service.d.cts +36 -0
- package/dist/terminal-pi-child-session-service.d.cts.map +1 -0
- package/dist/terminal-pi-child-session-service.d.mts +36 -0
- package/dist/terminal-pi-child-session-service.d.mts.map +1 -0
- package/dist/terminal-pi-child-session-service.mjs +256 -0
- package/dist/terminal-pi-child-session-service.mjs.map +1 -0
- package/dist/testing/pi/extensionScenarios.cjs +73 -0
- package/dist/testing/pi/extensionScenarios.cjs.map +1 -0
- package/dist/testing/pi/extensionScenarios.d.cts +41 -0
- package/dist/testing/pi/extensionScenarios.d.cts.map +1 -0
- package/dist/testing/pi/extensionScenarios.d.mts +41 -0
- package/dist/testing/pi/extensionScenarios.d.mts.map +1 -0
- package/dist/testing/pi/extensionScenarios.mjs +73 -0
- package/dist/testing/pi/extensionScenarios.mjs.map +1 -0
- package/dist/testing/pi/testHost.cjs +365 -0
- package/dist/testing/pi/testHost.cjs.map +1 -0
- package/dist/testing/pi/testHost.d.cts +160 -0
- package/dist/testing/pi/testHost.d.cts.map +1 -0
- package/dist/testing/pi/testHost.d.mts +160 -0
- package/dist/testing/pi/testHost.d.mts.map +1 -0
- package/dist/testing/pi/testHost.mjs +365 -0
- package/dist/testing/pi/testHost.mjs.map +1 -0
- package/dist/testing.cjs +9 -0
- package/dist/testing.d.cts +5 -0
- package/dist/testing.d.mts +5 -0
- package/dist/testing.mjs +5 -0
- package/dist/tool-inventory.cjs +136 -0
- package/dist/tool-inventory.cjs.map +1 -0
- package/dist/tool-inventory.d.cts +66 -0
- package/dist/tool-inventory.d.cts.map +1 -0
- package/dist/tool-inventory.d.mts +66 -0
- package/dist/tool-inventory.d.mts.map +1 -0
- package/dist/tool-inventory.mjs +133 -0
- package/dist/tool-inventory.mjs.map +1 -0
- package/dist/tool-names.cjs +4 -0
- package/dist/tool-names.d.cts +2 -0
- package/dist/tool-names.d.mts +2 -0
- package/dist/tool-names.mjs +2 -0
- package/dist/tool-overrides.cjs +7 -0
- package/dist/tool-overrides.d.cts +3 -0
- package/dist/tool-overrides.d.mts +3 -0
- package/dist/tool-overrides.mjs +3 -0
- package/dist/tool-surface.cjs +7 -0
- package/dist/tool-surface.d.cts +3 -0
- package/dist/tool-surface.d.mts +3 -0
- package/dist/tool-surface.mjs +3 -0
- package/dist/transition-classifier.cjs +112 -0
- package/dist/transition-classifier.cjs.map +1 -0
- package/dist/transition-classifier.d.cts +18 -0
- package/dist/transition-classifier.d.cts.map +1 -0
- package/dist/transition-classifier.d.mts +18 -0
- package/dist/transition-classifier.d.mts.map +1 -0
- package/dist/transition-classifier.mjs +111 -0
- package/dist/transition-classifier.mjs.map +1 -0
- package/dist/transition-coordinator.cjs +131 -0
- package/dist/transition-coordinator.cjs.map +1 -0
- package/dist/transition-coordinator.d.cts +16 -0
- package/dist/transition-coordinator.d.cts.map +1 -0
- package/dist/transition-coordinator.d.mts +16 -0
- package/dist/transition-coordinator.d.mts.map +1 -0
- package/dist/transition-coordinator.mjs +130 -0
- package/dist/transition-coordinator.mjs.map +1 -0
- package/dist/transition.cjs +5 -0
- package/dist/transition.d.cts +2 -0
- package/dist/transition.d.mts +2 -0
- package/dist/transition.mjs +2 -0
- package/dist/types/config.d.cts +20 -0
- package/dist/types/config.d.cts.map +1 -0
- package/dist/types/config.d.mts +20 -0
- package/dist/types/config.d.mts.map +1 -0
- package/dist/types/kernel.d.cts +69 -0
- package/dist/types/kernel.d.cts.map +1 -0
- package/dist/types/kernel.d.mts +69 -0
- package/dist/types/kernel.d.mts.map +1 -0
- package/dist/types/remote.d.cts +124 -0
- package/dist/types/remote.d.cts.map +1 -0
- package/dist/types/remote.d.mts +124 -0
- package/dist/types/remote.d.mts.map +1 -0
- package/dist/types/server/directHarnessRuntime.d.cts +156 -0
- package/dist/types/server/directHarnessRuntime.d.cts.map +1 -0
- package/dist/types/server/directHarnessRuntime.d.mts +156 -0
- package/dist/types/server/directHarnessRuntime.d.mts.map +1 -0
- package/dist/types/server/session.d.cts +5 -0
- package/dist/types/server/session.d.cts.map +1 -0
- package/dist/types/server/session.d.mts +5 -0
- package/dist/types/server/session.d.mts.map +1 -0
- package/dist/types-context-api.cjs +0 -0
- package/dist/types-context-api.d.cts +48 -0
- package/dist/types-context-api.d.cts.map +1 -0
- package/dist/types-context-api.d.mts +48 -0
- package/dist/types-context-api.d.mts.map +1 -0
- package/dist/types-context-api.mjs +1 -0
- package/dist/ui-hub.cjs +5 -0
- package/dist/ui-hub.d.cts +2 -0
- package/dist/ui-hub.d.mts +2 -0
- package/dist/ui-hub.mjs +2 -0
- package/dist/v3-export.cjs +1004 -0
- package/dist/v3-export.cjs.map +1 -0
- package/dist/v3-export.d.cts +34 -0
- package/dist/v3-export.d.cts.map +1 -0
- package/dist/v3-export.d.mts +34 -0
- package/dist/v3-export.d.mts.map +1 -0
- package/dist/v3-export.mjs +1000 -0
- package/dist/v3-export.mjs.map +1 -0
- package/dist/voice-reload-handoff.cjs +14 -0
- package/dist/voice-reload-handoff.d.cts +4 -0
- package/dist/voice-reload-handoff.d.mts +4 -0
- package/dist/voice-reload-handoff.mjs +4 -0
- package/dist/voice-tools.cjs +56 -0
- package/dist/voice-tools.d.cts +4 -0
- package/dist/voice-tools.d.mts +4 -0
- package/dist/voice-tools.mjs +4 -0
- package/dist/web/models/globalStore.cjs +23 -0
- package/dist/web/models/globalStore.cjs.map +1 -0
- package/dist/web/models/globalStore.d.cts +6 -0
- package/dist/web/models/globalStore.d.cts.map +1 -0
- package/dist/web/models/globalStore.d.mts +6 -0
- package/dist/web/models/globalStore.d.mts.map +1 -0
- package/dist/web/models/globalStore.mjs +23 -0
- package/dist/web/models/globalStore.mjs.map +1 -0
- package/dist/web/models/sessionStore.cjs +56 -0
- package/dist/web/models/sessionStore.cjs.map +1 -0
- package/dist/web/models/sessionStore.d.cts +14 -0
- package/dist/web/models/sessionStore.d.cts.map +1 -0
- package/dist/web/models/sessionStore.d.mts +14 -0
- package/dist/web/models/sessionStore.d.mts.map +1 -0
- package/dist/web/models/sessionStore.mjs +56 -0
- package/dist/web/models/sessionStore.mjs.map +1 -0
- package/dist/web/schemas/bundleAssetPolicy.cjs +20 -0
- package/dist/web/schemas/bundleAssetPolicy.cjs.map +1 -0
- package/dist/web/schemas/bundleAssetPolicy.d.cts +10 -0
- package/dist/web/schemas/bundleAssetPolicy.d.cts.map +1 -0
- package/dist/web/schemas/bundleAssetPolicy.d.mts +10 -0
- package/dist/web/schemas/bundleAssetPolicy.d.mts.map +1 -0
- package/dist/web/schemas/bundleAssetPolicy.mjs +18 -0
- package/dist/web/schemas/bundleAssetPolicy.mjs.map +1 -0
- package/dist/web/services/sessionRegistry/index.cjs +107 -0
- package/dist/web/services/sessionRegistry/index.cjs.map +1 -0
- package/dist/web/services/sessionRegistry/index.d.cts +42 -0
- package/dist/web/services/sessionRegistry/index.d.cts.map +1 -0
- package/dist/web/services/sessionRegistry/index.d.mts +42 -0
- package/dist/web/services/sessionRegistry/index.d.mts.map +1 -0
- package/dist/web/services/sessionRegistry/index.mjs +100 -0
- package/dist/web/services/sessionRegistry/index.mjs.map +1 -0
- package/dist/web/services/testing/channels.cjs +11 -0
- package/dist/web/services/testing/channels.cjs.map +1 -0
- package/dist/web/services/testing/channels.d.cts +8 -0
- package/dist/web/services/testing/channels.d.cts.map +1 -0
- package/dist/web/services/testing/channels.d.mts +8 -0
- package/dist/web/services/testing/channels.d.mts.map +1 -0
- package/dist/web/services/testing/channels.mjs +11 -0
- package/dist/web/services/testing/channels.mjs.map +1 -0
- package/dist/web/services/testing/index.cjs +27 -0
- package/dist/web/services/testing/index.cjs.map +1 -0
- package/dist/web/services/testing/index.d.cts +31 -0
- package/dist/web/services/testing/index.d.cts.map +1 -0
- package/dist/web/services/testing/index.d.mts +31 -0
- package/dist/web/services/testing/index.d.mts.map +1 -0
- package/dist/web/services/testing/index.mjs +27 -0
- package/dist/web/services/testing/index.mjs.map +1 -0
- package/dist/web/services/testing/slotProps.cjs +90 -0
- package/dist/web/services/testing/slotProps.cjs.map +1 -0
- package/dist/web/services/testing/slotProps.d.cts +67 -0
- package/dist/web/services/testing/slotProps.d.cts.map +1 -0
- package/dist/web/services/testing/slotProps.d.mts +67 -0
- package/dist/web/services/testing/slotProps.d.mts.map +1 -0
- package/dist/web/services/testing/slotProps.mjs +89 -0
- package/dist/web/services/testing/slotProps.mjs.map +1 -0
- package/dist/web/services/toolResult/index.cjs +30 -0
- package/dist/web/services/toolResult/index.cjs.map +1 -0
- package/dist/web/services/toolResult/index.d.cts +14 -0
- package/dist/web/services/toolResult/index.d.cts.map +1 -0
- package/dist/web/services/toolResult/index.d.mts +14 -0
- package/dist/web/services/toolResult/index.d.mts.map +1 -0
- package/dist/web/services/toolResult/index.mjs +29 -0
- package/dist/web/services/toolResult/index.mjs.map +1 -0
- package/dist/web/testing.cjs +8 -0
- package/dist/web/testing.d.cts +4 -0
- package/dist/web/testing.d.mts +4 -0
- package/dist/web/testing.mjs +4 -0
- package/dist/web/types/modelContext.d.cts +43 -0
- package/dist/web/types/modelContext.d.cts.map +1 -0
- package/dist/web/types/modelContext.d.mts +43 -0
- package/dist/web/types/modelContext.d.mts.map +1 -0
- package/dist/web/types/sessionRegistry.d.cts +59 -0
- package/dist/web/types/sessionRegistry.d.cts.map +1 -0
- package/dist/web/types/sessionRegistry.d.mts +59 -0
- package/dist/web/types/sessionRegistry.d.mts.map +1 -0
- package/dist/web/types/webPlugin.d.cts +809 -0
- package/dist/web/types/webPlugin.d.cts.map +1 -0
- package/dist/web/types/webPlugin.d.mts +809 -0
- package/dist/web/types/webPlugin.d.mts.map +1 -0
- package/dist/web-compositions.cjs +100 -0
- package/dist/web-compositions.cjs.map +1 -0
- package/dist/web-compositions.d.cts +20 -0
- package/dist/web-compositions.d.cts.map +1 -0
- package/dist/web-compositions.d.mts +20 -0
- package/dist/web-compositions.d.mts.map +1 -0
- package/dist/web-compositions.mjs +95 -0
- package/dist/web-compositions.mjs.map +1 -0
- package/dist/web.cjs +25 -0
- package/dist/web.d.cts +10 -0
- package/dist/web.d.mts +10 -0
- package/dist/web.mjs +7 -0
- package/package.json +587 -0
|
@@ -0,0 +1,809 @@
|
|
|
1
|
+
import { ModelContextBinding } from "./modelContext.cjs";
|
|
2
|
+
import { Store } from "@tanstack/store";
|
|
3
|
+
import { ComponentType, ReactNode } from "react";
|
|
4
|
+
//#region src/web/types/webPlugin.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* The client half of the DoomPi web plugin contract.
|
|
7
|
+
*
|
|
8
|
+
* A plugin package exports one `webPlugin: WebPluginDefinition` from its
|
|
9
|
+
* declared client entry. The cockpit's bundler compiles that entry into the
|
|
10
|
+
* host bundle, so a plugin's client code may import only react,
|
|
11
|
+
* @tanstack/store, @tanstack/react-store, this contract,
|
|
12
|
+
* @agimon-ai/doompi-web-components, @agimon-ai/doompi-web-security/browser,
|
|
13
|
+
* and the package's own web/ and src/types modules; never another plugin, a
|
|
14
|
+
* node builtin, or a server framework, which the host bundle would swallow.
|
|
15
|
+
* Page-wide state takes the shape
|
|
16
|
+
* defineGlobalStore gives it; per-session state takes the shape defineSessionStore
|
|
17
|
+
* gives it. Tailwind utility classes must appear as complete literal strings so
|
|
18
|
+
* the host's class scanner can see them.
|
|
19
|
+
*
|
|
20
|
+
* Plugins are independent: none depends on another, any of them may be added
|
|
21
|
+
* or removed at the next sync, and every relation between two plugins (a fill
|
|
22
|
+
* into a slot, a section inside an activity group) resolves by name once every
|
|
23
|
+
* plugin is installed. The manifest's registrationOrder is only a tiebreak,
|
|
24
|
+
* and a collision between two plugins is an install diagnostic, never a
|
|
25
|
+
* failure.
|
|
26
|
+
*/
|
|
27
|
+
/** Sends one command frame to a session's agent on the page's hub socket. */
|
|
28
|
+
export type SessionFrameSender = (sessionId: string, frame: Record<string, unknown>) => void;
|
|
29
|
+
/**
|
|
30
|
+
* A slot a plugin opens inside its own UI for independent plugins to fill.
|
|
31
|
+
* The name is namespaced by its owner, '<pluginId>.<name>', so no two plugins
|
|
32
|
+
* open the same slot. A slot with a parse gate takes data fills, declared as
|
|
33
|
+
* data the owner renders; one without takes component fills the owner places
|
|
34
|
+
* with renderSlot. Either side may be absent: the owner renders with zero
|
|
35
|
+
* fills, and a fill into a slot no installed plugin declares is an install
|
|
36
|
+
* diagnostic, never a failure.
|
|
37
|
+
*/
|
|
38
|
+
export interface SlotDeclaration<Data = unknown> {
|
|
39
|
+
slot: string;
|
|
40
|
+
/** The gate for data fills, run once at install; null rejects the fill with a diagnostic. */
|
|
41
|
+
parse?(input: unknown): Data | null;
|
|
42
|
+
}
|
|
43
|
+
/** A data fill as its owner reads it back, already through the parse gate. */
|
|
44
|
+
export interface SlotDataFill<Data = unknown> {
|
|
45
|
+
pluginId: string;
|
|
46
|
+
id: string;
|
|
47
|
+
order: number;
|
|
48
|
+
data: Data;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* A tab a plugin opens at runtime for one session, beside the declared ones:
|
|
52
|
+
* the reader closes it, and it goes with the session or the page. The host
|
|
53
|
+
* keeps the panel it was opened with, so opening the same id again only
|
|
54
|
+
* focuses the tab.
|
|
55
|
+
*/
|
|
56
|
+
export interface TransientTab {
|
|
57
|
+
/** Unique across plugins and URL-safe: '<pluginId>-<name>-<key>'. */
|
|
58
|
+
id: string;
|
|
59
|
+
label: string;
|
|
60
|
+
panel: ComponentType<WebPluginSlotProps>;
|
|
61
|
+
/** Keeps the host composer below this panel. Defaults to false. */
|
|
62
|
+
retainComposer?: boolean;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Which paths a message names can be opened, and what tab each one opens.
|
|
66
|
+
*
|
|
67
|
+
* The host renders the conversation but knows nothing about files: the package
|
|
68
|
+
* that receives the session's file reports holds the set, and it owns the
|
|
69
|
+
* panel a file opens in. So the host asks this source about each path-shaped
|
|
70
|
+
* token it finds, and links only the ones the source claims. A token it does
|
|
71
|
+
* not recognise stays plain text, which is what keeps a class name or a glob
|
|
72
|
+
* from becoming a dead link.
|
|
73
|
+
*/
|
|
74
|
+
export interface FileLinkSource {
|
|
75
|
+
/** This source only claims paths while the named minor mode is active. */
|
|
76
|
+
requiredMinorMode?: string;
|
|
77
|
+
/** Notifies while a message is on screen and the linkable set changes. */
|
|
78
|
+
subscribe(listener: () => void): () => void;
|
|
79
|
+
/** Changes only when the session's linkable set does; the host re-reads on a change. */
|
|
80
|
+
fingerprint(sessionId: string | null): string;
|
|
81
|
+
/** The tab this path opens, or undefined when the source does not recognise it. */
|
|
82
|
+
resolve(sessionId: string | null, path: string): TransientTab | undefined;
|
|
83
|
+
/**
|
|
84
|
+
* The tab a path opens when the caller already knows it names a file, such
|
|
85
|
+
* as the path argument of a read, write or edit call.
|
|
86
|
+
*
|
|
87
|
+
* `resolve` guesses, so it claims only what it is sure of; a tool argument
|
|
88
|
+
* needs no guess, and a file the session has not changed is still a file the
|
|
89
|
+
* reader asked to see. A source that has nothing extra to offer omits this
|
|
90
|
+
* and the host falls back to `resolve`.
|
|
91
|
+
*/
|
|
92
|
+
openPath?(sessionId: string | null, path: string): TransientTab | undefined;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* How a thread is drawn where it is not the whole surface: a card body wants
|
|
96
|
+
* the last few entries at card scale, not a full transcript with its own
|
|
97
|
+
* paging. Omitting both draws the thread exactly as the conversation does.
|
|
98
|
+
*/
|
|
99
|
+
export interface ThreadViewOptions {
|
|
100
|
+
/** Draw only the newest entries, at most this many. */
|
|
101
|
+
limit?: number;
|
|
102
|
+
/** Card scale: tighter spacing, no history paging, no jump control. */
|
|
103
|
+
compact?: boolean;
|
|
104
|
+
}
|
|
105
|
+
/** Structured, browser-safe context one plugin may hand to the composer or another plugin. */
|
|
106
|
+
export interface WebPluginContextItem {
|
|
107
|
+
/** Shared semantic kind, such as `work-item`; consumers opt into the kinds they understand. */
|
|
108
|
+
kind: string;
|
|
109
|
+
/** Stable source namespace, such as `agiflow`. */
|
|
110
|
+
source: string;
|
|
111
|
+
/** Stable identity inside the source namespace. */
|
|
112
|
+
id: string;
|
|
113
|
+
/** Compact human label shown on a composer chip. */
|
|
114
|
+
label: string;
|
|
115
|
+
/** Concise model-facing context carried by the chip and handed to context actions. */
|
|
116
|
+
content: string;
|
|
117
|
+
/** Optional browser-only structured payload for the source plugin. It is not added to the model prompt. */
|
|
118
|
+
metadata?: string;
|
|
119
|
+
/** Optional browser-safe destination for actions that need the source record. */
|
|
120
|
+
url?: string;
|
|
121
|
+
}
|
|
122
|
+
/** An atomic screenshot-and-context handoff from a plugin to the host composer. */
|
|
123
|
+
export interface ComposerCapture {
|
|
124
|
+
/** Unprefixed base64 bytes. The host accepts PNG and JPEG only. */
|
|
125
|
+
data: string;
|
|
126
|
+
mimeType: 'image/png' | 'image/jpeg';
|
|
127
|
+
/** The model-facing context attached beside the screenshot. */
|
|
128
|
+
context: WebPluginContextItem;
|
|
129
|
+
}
|
|
130
|
+
export interface CaptureStatusEvent {
|
|
131
|
+
sessionId: string;
|
|
132
|
+
captureId: string;
|
|
133
|
+
status: 'queued' | 'working' | 'completed' | 'error';
|
|
134
|
+
error?: string;
|
|
135
|
+
}
|
|
136
|
+
/** One accepted composer delivery, published before its browser draft is cleared. */
|
|
137
|
+
export interface ComposerSubmission {
|
|
138
|
+
sessionId: string;
|
|
139
|
+
message: string;
|
|
140
|
+
delivery: 'submit' | 'queue';
|
|
141
|
+
submittedAt: number;
|
|
142
|
+
contextItems: readonly WebPluginContextItem[];
|
|
143
|
+
}
|
|
144
|
+
/** One installed action another plugin may offer for a compatible context item. */
|
|
145
|
+
export interface ContextAction {
|
|
146
|
+
/** Namespaced at install as `<pluginId>.<id>`. */
|
|
147
|
+
id: string;
|
|
148
|
+
label: string;
|
|
149
|
+
detail?: string;
|
|
150
|
+
run(): void;
|
|
151
|
+
}
|
|
152
|
+
/** The text-bearing user timeline message handed to a plugin action. */
|
|
153
|
+
export interface UserMessageActionRunContext {
|
|
154
|
+
sessionId: string;
|
|
155
|
+
/** Stable identity of the user message inside the session timeline. */
|
|
156
|
+
messageId: string;
|
|
157
|
+
/** The complete plain text carried by the user message. */
|
|
158
|
+
text: string;
|
|
159
|
+
}
|
|
160
|
+
/** An action a plugin contributes for every text-bearing user timeline message. */
|
|
161
|
+
export interface UserMessageActionContribution {
|
|
162
|
+
/** Unique inside this plugin. */
|
|
163
|
+
id: string;
|
|
164
|
+
label: string;
|
|
165
|
+
/** Optional compact visual. The label remains the accessible name and tooltip. */
|
|
166
|
+
icon?: ComponentType<{
|
|
167
|
+
'aria-hidden'?: boolean;
|
|
168
|
+
className?: string;
|
|
169
|
+
}>;
|
|
170
|
+
/** Lower values appear first, then plugin id and action id. */
|
|
171
|
+
order?: number;
|
|
172
|
+
run(context: UserMessageActionRunContext): void;
|
|
173
|
+
}
|
|
174
|
+
/** Compact live inventory row exposed to Context slot components. */
|
|
175
|
+
export interface WebPluginContextInventoryItem {
|
|
176
|
+
name: string;
|
|
177
|
+
itemKind: 'tool' | 'skill';
|
|
178
|
+
source: 'extension' | 'mcp' | 'plugin' | 'core';
|
|
179
|
+
owner: string;
|
|
180
|
+
tokens: number | null;
|
|
181
|
+
active: boolean;
|
|
182
|
+
}
|
|
183
|
+
/** Every slot component receives the focused session; null while nothing is focused. */
|
|
184
|
+
export interface WebPluginSlotProps {
|
|
185
|
+
sessionId: string | null;
|
|
186
|
+
/** Host navigation for the focused session; null returns to the conversation tab. */
|
|
187
|
+
openTab: (tabId: string | null) => void;
|
|
188
|
+
/** Opens the tab for the focused session, or focuses it when one with the same id is already open. */
|
|
189
|
+
openTransientTab: (tab: TransientTab) => void;
|
|
190
|
+
closeTransientTab: (tabId: string) => void;
|
|
191
|
+
/**
|
|
192
|
+
* The tab a file path opens, or undefined when no installed plugin can show
|
|
193
|
+
* it. A component that names a file it is certain about, such as a tool
|
|
194
|
+
* call's path argument, renders a link when this answers and plain text when
|
|
195
|
+
* it does not.
|
|
196
|
+
*/
|
|
197
|
+
fileTabFor: (path: string) => TransientTab | undefined;
|
|
198
|
+
/**
|
|
199
|
+
* The host's live conversation view of one thread of the focused session,
|
|
200
|
+
* rendered like the session's own timeline and subscribed while mounted. A
|
|
201
|
+
* The server-owned channel source names the thread's journal.
|
|
202
|
+
*/
|
|
203
|
+
renderThread: (threadId: string, options?: ThreadViewOptions) => ReactNode;
|
|
204
|
+
/** Appends text to the focused session's current composer draft. Bound, so a component may destructure it. */
|
|
205
|
+
appendComposerDraft: (text: string) => void;
|
|
206
|
+
/** Adds browser-safe structured context as a removable chip without changing the visible draft. */
|
|
207
|
+
attachComposerContext: (item: WebPluginContextItem) => void;
|
|
208
|
+
/** Atomically stages a validated PNG or JPEG capture and its structured context for explicit submission. */
|
|
209
|
+
attachComposerCapture: (capture: ComposerCapture) => void;
|
|
210
|
+
/** Delivers without changing the composer. Resolves on acceptance, not completion. */
|
|
211
|
+
submitCapture?: (capture: ComposerCapture) => Promise<void>;
|
|
212
|
+
/** Actions installed independent plugins offer for this context item, in display order. */
|
|
213
|
+
contextActionsFor: (item: WebPluginContextItem) => readonly ContextAction[];
|
|
214
|
+
/** The same sender palette commands and `start` receive; components act through it. */
|
|
215
|
+
sendSessionFrame: SessionFrameSender;
|
|
216
|
+
/** The component fills of one slot, in slot order; the host resolves them, so this contract holds no state. */
|
|
217
|
+
renderSlot: (slot: string) => ReactNode;
|
|
218
|
+
/** The data fills of one slot, typed by the declaration handle only its owner holds. */
|
|
219
|
+
slotData: <Data>(slot: SlotDeclaration<Data>) => readonly SlotDataFill<Data>[];
|
|
220
|
+
/**
|
|
221
|
+
* The footer statuses the focused session has published, raw, keyed as the
|
|
222
|
+
* publishing extension named them. A package reads its own key: the status
|
|
223
|
+
* line is the only thing some modes report, and a plugin that renders its
|
|
224
|
+
* own surface needs the same facts the host folds into the selection bar.
|
|
225
|
+
*/
|
|
226
|
+
statuses: Readonly<Record<string, string>>;
|
|
227
|
+
/** Runtime inventory used by Context section owners to place their own rows. */
|
|
228
|
+
contextInventory?: readonly WebPluginContextInventoryItem[];
|
|
229
|
+
/** Names of minor modes currently active in the session catalog. */
|
|
230
|
+
activeMinorModes?: readonly string[];
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* One contribution into a slot, keyed by (pluginId, id): independent plugins
|
|
234
|
+
* never collide on an id. A component fill renders where the owner places the
|
|
235
|
+
* slot; a data fill is what the owner's parse gate reads.
|
|
236
|
+
*/
|
|
237
|
+
export interface SlotFillContribution {
|
|
238
|
+
slot: string;
|
|
239
|
+
id: string;
|
|
240
|
+
/** Sort position within the slot; lower first, then pluginId, then id. */
|
|
241
|
+
order?: number;
|
|
242
|
+
data?: unknown;
|
|
243
|
+
component?: ComponentType<WebPluginSlotProps>;
|
|
244
|
+
}
|
|
245
|
+
export interface TabContribution {
|
|
246
|
+
/** URL segment (/session/:id/:tabId) and testid suffix (tab-<id>, tab-<id>-count). */
|
|
247
|
+
id: string;
|
|
248
|
+
label: string;
|
|
249
|
+
panel: ComponentType<WebPluginSlotProps>;
|
|
250
|
+
/** Keeps the host composer below this panel. Defaults to false. */
|
|
251
|
+
retainComposer?: boolean;
|
|
252
|
+
/** A React hook, fully typed inside the plugin; 0 hides the badge. */
|
|
253
|
+
useBadge?: (sessionId: string | null) => number;
|
|
254
|
+
}
|
|
255
|
+
/**
|
|
256
|
+
* One field on a settings page, declared as data.
|
|
257
|
+
*
|
|
258
|
+
* Settings are data rather than a component because the host owns what a
|
|
259
|
+
* plugin cannot: which file an edit lands in. A page has one scope switch and
|
|
260
|
+
* one repository, and every field on it reports where its value came from and
|
|
261
|
+
* whether the selected scope may hold it. A plugin drawing its own form would
|
|
262
|
+
* have to reproduce all of that, and each would get it slightly different.
|
|
263
|
+
*/
|
|
264
|
+
export interface SettingsFieldContribution {
|
|
265
|
+
/** Unique within the section; also the testid suffix. */
|
|
266
|
+
id: string;
|
|
267
|
+
label: string;
|
|
268
|
+
kind: 'text' | 'number' | 'select' | 'toggle' | 'info';
|
|
269
|
+
/** The config key this reads and writes, e.g. ['modes','planning','main','model']. */
|
|
270
|
+
keyPath: readonly string[];
|
|
271
|
+
/** One line of help under the field. */
|
|
272
|
+
detail?: string;
|
|
273
|
+
/** Shown while the field is unset, in place of a value. */
|
|
274
|
+
placeholder?: string;
|
|
275
|
+
/** The closed set a 'select' offers, when the plugin knows it. */
|
|
276
|
+
options?: readonly SettingsFieldOption[];
|
|
277
|
+
/**
|
|
278
|
+
* An option set the host supplies instead. A model picker needs the machine's
|
|
279
|
+
* authenticated models, which no plugin can enumerate from the browser; a
|
|
280
|
+
* host that cannot answer leaves the field as free text.
|
|
281
|
+
*/
|
|
282
|
+
optionsFrom?: 'models';
|
|
283
|
+
}
|
|
284
|
+
export interface SettingsFieldOption {
|
|
285
|
+
value: string;
|
|
286
|
+
label: string;
|
|
287
|
+
/** Groups entries under a heading, as providers group their models. */
|
|
288
|
+
group?: string;
|
|
289
|
+
}
|
|
290
|
+
/** One repository the host has admitted into repository-scoped settings. */
|
|
291
|
+
export interface RepositorySettingsRepository {
|
|
292
|
+
/** Opaque hub-issued identity. Package APIs resolve this through DoomApiContext. */
|
|
293
|
+
id: string;
|
|
294
|
+
/** Last path segment, for compact pickers and headings. */
|
|
295
|
+
name: string;
|
|
296
|
+
/** Display-only absolute path. APIs must use id rather than trusting this value. */
|
|
297
|
+
path: string;
|
|
298
|
+
/** True while at least one session is open inside this repository. */
|
|
299
|
+
active: boolean;
|
|
300
|
+
}
|
|
301
|
+
/** Props for a package panel placed inside the host's repository control plane. */
|
|
302
|
+
export interface RepositorySettingsPanelProps {
|
|
303
|
+
repository: RepositorySettingsRepository | null;
|
|
304
|
+
/** Same-origin request routed through the host's sealed transport when remote. */
|
|
305
|
+
request: (input: string, init?: RequestInit) => Promise<Response>;
|
|
306
|
+
/** The same transport, retrying once after the host's fresh passkey gesture. */
|
|
307
|
+
requestWithStepUp: (input: string, init?: RequestInit) => Promise<Response>;
|
|
308
|
+
}
|
|
309
|
+
/** One package-owned panel below the host's repository selection controls. */
|
|
310
|
+
export interface RepositorySettingsPanelContribution {
|
|
311
|
+
label: string;
|
|
312
|
+
detail: string;
|
|
313
|
+
/** Sort position below the host controls; lower first, then plugin id. */
|
|
314
|
+
order?: number;
|
|
315
|
+
component: ComponentType<RepositorySettingsPanelProps>;
|
|
316
|
+
}
|
|
317
|
+
/**
|
|
318
|
+
* A page in cockpit settings, contributed by the package that owns the
|
|
319
|
+
* settings on it. The id is the URL segment (/settings/:id), so it is unique
|
|
320
|
+
* across plugins; a collision is an install diagnostic and the first wins.
|
|
321
|
+
*/
|
|
322
|
+
export interface SettingsSectionContribution {
|
|
323
|
+
id: string;
|
|
324
|
+
label: string;
|
|
325
|
+
detail: string;
|
|
326
|
+
/** Sort position in the settings menu; lower first, id breaks ties. */
|
|
327
|
+
order?: number;
|
|
328
|
+
fields: readonly SettingsFieldContribution[];
|
|
329
|
+
}
|
|
330
|
+
/**
|
|
331
|
+
* Props for a settings page a package draws itself. The transport is the
|
|
332
|
+
* host's, because only the host knows whether the page is being read over a
|
|
333
|
+
* tunnel and what to seal.
|
|
334
|
+
*/
|
|
335
|
+
export interface SettingsPanelProps {
|
|
336
|
+
/** Same-origin request routed through the host's sealed transport when remote. */
|
|
337
|
+
request: (input: string, init?: RequestInit) => Promise<Response>;
|
|
338
|
+
/** The same transport, retrying once after the host's fresh passkey gesture. */
|
|
339
|
+
requestWithStepUp: (input: string, init?: RequestInit) => Promise<Response>;
|
|
340
|
+
}
|
|
341
|
+
/**
|
|
342
|
+
* A settings page a package draws itself, for a page that reports rather
|
|
343
|
+
* than writes.
|
|
344
|
+
*
|
|
345
|
+
* A contributed section is data because the host owns what a plugin cannot:
|
|
346
|
+
* which file an edit lands in. That reasoning runs out when a page has
|
|
347
|
+
* nothing to write. A page whose content is a chart, a table, or anything
|
|
348
|
+
* else the host cannot know the shape of has no keyPath to declare and no
|
|
349
|
+
* scope to switch, so declaring it as fields would mean inventing a field
|
|
350
|
+
* kind per picture. Such a page takes a component and the host's transport,
|
|
351
|
+
* exactly as a repository panel does, and gives up the scope switch and the
|
|
352
|
+
* write plumbing it would not use. A package that needs both contributes
|
|
353
|
+
* both, and the two appear in the menu as two pages.
|
|
354
|
+
*/
|
|
355
|
+
export interface SettingsPanelContribution {
|
|
356
|
+
/** The URL segment (/settings/:id) and testid suffix; unique across plugins. */
|
|
357
|
+
id: string;
|
|
358
|
+
label: string;
|
|
359
|
+
detail: string;
|
|
360
|
+
/** Sort position in the settings menu; lower first, id breaks ties. */
|
|
361
|
+
order?: number;
|
|
362
|
+
component: ComponentType<SettingsPanelProps>;
|
|
363
|
+
}
|
|
364
|
+
export interface SurfaceContribution {
|
|
365
|
+
id: string;
|
|
366
|
+
component: ComponentType<WebPluginSlotProps>;
|
|
367
|
+
}
|
|
368
|
+
/** One optional face inside the host-owned right dock. */
|
|
369
|
+
export interface DockFaceContribution {
|
|
370
|
+
/** Unique across plugins. The host reserves `activity` and `context`. */
|
|
371
|
+
id: string;
|
|
372
|
+
label: string;
|
|
373
|
+
/** Lower values appear first after the host faces, then id breaks ties. */
|
|
374
|
+
order?: number;
|
|
375
|
+
/** Select this face when it becomes available for the focused session. */
|
|
376
|
+
autoSelect?: boolean;
|
|
377
|
+
/** Hide this face unless the session's named minor mode is active. */
|
|
378
|
+
requiredMinorMode?: string;
|
|
379
|
+
panel: ComponentType<WebPluginSlotProps>;
|
|
380
|
+
/** Optional reactive visibility owned by the contributing plugin. */
|
|
381
|
+
visibility?: {
|
|
382
|
+
subscribe(listener: () => void): () => void;
|
|
383
|
+
isVisible(sessionId: string | null): boolean;
|
|
384
|
+
};
|
|
385
|
+
}
|
|
386
|
+
export interface PaletteCommandContext {
|
|
387
|
+
sessionId: string | null;
|
|
388
|
+
/** Host navigation; null returns to the conversation tab. */
|
|
389
|
+
openTab(tabId: string | null): void;
|
|
390
|
+
/** Opens a runtime tab for the focused session, or focuses it when its id is already open. */
|
|
391
|
+
openTransientTab(tab: TransientTab): void;
|
|
392
|
+
sendSessionFrame: SessionFrameSender;
|
|
393
|
+
}
|
|
394
|
+
export interface PaletteCommandContribution {
|
|
395
|
+
id: string;
|
|
396
|
+
title: string;
|
|
397
|
+
description?: string;
|
|
398
|
+
run(context: PaletteCommandContext): void;
|
|
399
|
+
}
|
|
400
|
+
/** Host actions and the item handed to one independent plugin's contextual action. */
|
|
401
|
+
export interface ContextActionRunContext extends PaletteCommandContext {
|
|
402
|
+
item: WebPluginContextItem;
|
|
403
|
+
}
|
|
404
|
+
/** A contextual action a plugin contributes for semantic item kinds it understands. */
|
|
405
|
+
export interface ContextActionContribution {
|
|
406
|
+
/** Unique inside this plugin. */
|
|
407
|
+
id: string;
|
|
408
|
+
label: string;
|
|
409
|
+
detail?: string;
|
|
410
|
+
/** Semantic kinds this action accepts, such as `work-item`. */
|
|
411
|
+
kinds: readonly string[];
|
|
412
|
+
/** Lower values appear first, then plugin id and action id. */
|
|
413
|
+
order?: number;
|
|
414
|
+
run(context: ContextActionRunContext): void;
|
|
415
|
+
}
|
|
416
|
+
/**
|
|
417
|
+
* One step of a Leader Space key path: the key pressed and the label the
|
|
418
|
+
* menu shows beside it. Keys are one lowercase letter or digit, the same
|
|
419
|
+
* alphabet the TUI's leader registry accepts.
|
|
420
|
+
*/
|
|
421
|
+
export interface LeaderKeyContribution {
|
|
422
|
+
key: string;
|
|
423
|
+
label: string;
|
|
424
|
+
detail?: string;
|
|
425
|
+
}
|
|
426
|
+
export interface LeaderBindingBase {
|
|
427
|
+
id: string;
|
|
428
|
+
/** The SPC path, group segments first; the last segment is the key that fires. */
|
|
429
|
+
path: LeaderKeyContribution[];
|
|
430
|
+
}
|
|
431
|
+
/**
|
|
432
|
+
* A Leader Space binding, the cockpit's half of the TUI's leader contract.
|
|
433
|
+
*
|
|
434
|
+
* The session's own leader tree never reaches an RPC client, so each package
|
|
435
|
+
* declares here the paths its TUI documents that a browser can honor: a slash
|
|
436
|
+
* command line the host sends through the prompt channel (without the leading
|
|
437
|
+
* slash), or a client action such as opening the plugin's tab. Plugins that
|
|
438
|
+
* share a group prefix (SPC w) word it the same way; the first to register a
|
|
439
|
+
* segment names it, and a later binding on an already-bound leaf takes it
|
|
440
|
+
* over. Either disagreement between two plugins is an install diagnostic.
|
|
441
|
+
*/
|
|
442
|
+
export type LeaderBindingContribution = (LeaderBindingBase & {
|
|
443
|
+
command: string;
|
|
444
|
+
}) | (LeaderBindingBase & {
|
|
445
|
+
run(context: PaletteCommandContext): void;
|
|
446
|
+
});
|
|
447
|
+
/**
|
|
448
|
+
* A minor mode's presence in the cockpit, declared as data rather than a
|
|
449
|
+
* component: the host's selection bar renders the list, folding in what the
|
|
450
|
+
* session reports. A mode with neither signal key shows as unavailable until
|
|
451
|
+
* its package publishes one.
|
|
452
|
+
*/
|
|
453
|
+
export interface MinorModeContribution {
|
|
454
|
+
name: string;
|
|
455
|
+
/**
|
|
456
|
+
* The catalog mode this row drives, when the runtime registers it under a
|
|
457
|
+
* different id than the row shows. A package whose leader key drives one of
|
|
458
|
+
* several modes it owns needs this: the row must reach the same mode the
|
|
459
|
+
* key does, not the one that happens to share the row's label.
|
|
460
|
+
*/
|
|
461
|
+
modeId?: string;
|
|
462
|
+
/** Leader Space key path, as the TUI documents it. */
|
|
463
|
+
keys: string;
|
|
464
|
+
/** Footer status key whose presence and content report availability and detail. */
|
|
465
|
+
statusKey?: string;
|
|
466
|
+
/** Widget key whose presence reports the mode as installed but off. */
|
|
467
|
+
widgetKey?: string;
|
|
468
|
+
/** Omit the row when the active session does not register this opt-in mode. */
|
|
469
|
+
hideWhenMissing?: boolean;
|
|
470
|
+
/** Activity group to focus instead of invoking the mode command from the cockpit. */
|
|
471
|
+
activityGroup?: string;
|
|
472
|
+
/** Sort position in the selection bar list; lower first, name breaks ties. */
|
|
473
|
+
order?: number;
|
|
474
|
+
}
|
|
475
|
+
/**
|
|
476
|
+
* A selection-bar axis, declared as data: the host renders the chip and
|
|
477
|
+
* routes its click through the axis's slash command. The axis shows only
|
|
478
|
+
* while the session publishes the status key; the content is the current
|
|
479
|
+
* selection, and emptyLabel shows while it is published empty.
|
|
480
|
+
*/
|
|
481
|
+
export interface SelectionAxisContribution {
|
|
482
|
+
/** Chip identity: testid axis-<name> and the popover menu it claims. */
|
|
483
|
+
name: string;
|
|
484
|
+
/** Slash command the host runs when the chip is clicked. */
|
|
485
|
+
command: string;
|
|
486
|
+
/** Footer status key: absent hides the axis, content is the selection. */
|
|
487
|
+
statusKey: string;
|
|
488
|
+
/** Shown while the status is published with nothing selected. */
|
|
489
|
+
emptyLabel: string;
|
|
490
|
+
/** The status content is a comma-separated list: several selections can be active at once. */
|
|
491
|
+
multi?: boolean;
|
|
492
|
+
/** Sort position in the bar; lower first, name breaks ties. */
|
|
493
|
+
order?: number;
|
|
494
|
+
}
|
|
495
|
+
/** Reactive session activity owned by a plugin's session-scoped store. */
|
|
496
|
+
export interface ActivityGroupActiveSource {
|
|
497
|
+
subscribe(listener: () => void): () => void;
|
|
498
|
+
isActive(sessionId: string | null): boolean;
|
|
499
|
+
}
|
|
500
|
+
/**
|
|
501
|
+
* An activity-dock group, declared as data. The host renders its frame when the
|
|
502
|
+
* session publishes a footer or widget signal, or whenever the contribution
|
|
503
|
+
* owns an active source. The latter keeps an idle group's launcher available.
|
|
504
|
+
* The body is the status content as a one-line summary unless some plugin fills
|
|
505
|
+
* the group's slot, `activity.<name>`, with a section of the same name.
|
|
506
|
+
*/
|
|
507
|
+
export interface ActivityGroupContribution {
|
|
508
|
+
name: string;
|
|
509
|
+
/** Leader Space key path, as the TUI documents it. */
|
|
510
|
+
keys: string;
|
|
511
|
+
/** Footer status key whose presence shows the group and content fills its summary. */
|
|
512
|
+
statusKey?: string;
|
|
513
|
+
/** Widget keys any of which shows the group without a summary. */
|
|
514
|
+
widgetKeys?: string[];
|
|
515
|
+
/**
|
|
516
|
+
* Widget keys that mean this session has active background work.
|
|
517
|
+
*
|
|
518
|
+
* Defaults to every widget key. Ignored when activeSource is present.
|
|
519
|
+
*/
|
|
520
|
+
activeWidgetKeys?: string[];
|
|
521
|
+
/** Session-scoped activity state. Its presence also keeps the group visible while idle. */
|
|
522
|
+
activeSource?: ActivityGroupActiveSource;
|
|
523
|
+
/** Whether a non-empty signal represents background work. Defaults to true. */
|
|
524
|
+
marksBackgroundWork?: boolean;
|
|
525
|
+
/**
|
|
526
|
+
* The temporary tab the group's name opens; without one the name is a plain
|
|
527
|
+
* label. The factory runs on each click, so the panel it names is the one
|
|
528
|
+
* the plugin currently wants for that group.
|
|
529
|
+
*/
|
|
530
|
+
transientTab?: () => TransientTab;
|
|
531
|
+
/**
|
|
532
|
+
* Drop the group entirely while its status key is present but empty, rather
|
|
533
|
+
* than showing a header over "idle".
|
|
534
|
+
*
|
|
535
|
+
* A session publishes a status key once and clears it by publishing nothing,
|
|
536
|
+
* which reaches the page as an empty string, so a group that has reported at
|
|
537
|
+
* all can never stop reporting. For a group whose whole content is the thing
|
|
538
|
+
* the session is doing (a goal, a recording, the files it changed), the
|
|
539
|
+
* header alone is a row that says nothing, and a dock of those buries the
|
|
540
|
+
* groups that do. A group that is also a way in, with a launcher or a tab,
|
|
541
|
+
* leaves this off: its frame is worth keeping when it is idle.
|
|
542
|
+
*/
|
|
543
|
+
hideWhenEmpty?: boolean;
|
|
544
|
+
/** Keeps the group visible below the dock's scrolling ordinary groups. */
|
|
545
|
+
placement?: 'bottom';
|
|
546
|
+
/** Sort position in the dock; lower first, name breaks ties. */
|
|
547
|
+
order?: number;
|
|
548
|
+
}
|
|
549
|
+
/** Page-wide plugin state shared by its runtime, channels, and every rendered contribution. */
|
|
550
|
+
export interface GlobalStore<T> {
|
|
551
|
+
readonly store: Store<T>;
|
|
552
|
+
/** Replaces the value; an updater returning the current value publishes nothing. */
|
|
553
|
+
update(updater: (current: T) => T): void;
|
|
554
|
+
reset(): void;
|
|
555
|
+
}
|
|
556
|
+
/**
|
|
557
|
+
* One session-scoped data channel: the hub pushes ChannelFrame payloads whose
|
|
558
|
+
* frame type equals `channel`; parse is the validation gate at the boundary
|
|
559
|
+
* (null rejects); drop clears the plugin's per-session state.
|
|
560
|
+
*/
|
|
561
|
+
export interface SessionChannelContribution<Payload = unknown> {
|
|
562
|
+
channel: string;
|
|
563
|
+
parse(input: unknown): Payload | null;
|
|
564
|
+
apply(sessionId: string, payload: Payload): void;
|
|
565
|
+
drop(sessionId: string): void;
|
|
566
|
+
}
|
|
567
|
+
/** One record per session id; a missing key means the session has reported nothing. */
|
|
568
|
+
export type SessionRecords<T> = Partial<Record<string, T>>;
|
|
569
|
+
/** A channel folded straight into a session store: parse gates the wire, reduce folds one payload into the record. */
|
|
570
|
+
export interface SessionStoreChannel<T, Payload> {
|
|
571
|
+
channel: string;
|
|
572
|
+
parse(input: unknown): Payload | null;
|
|
573
|
+
/** Folds one payload into the session's record; ephemeral fields (stop requests, dismissals) reconcile here. */
|
|
574
|
+
reduce(current: T, payload: Payload): T;
|
|
575
|
+
}
|
|
576
|
+
/**
|
|
577
|
+
* Per-session plugin state, the shape every plugin's store takes: one record
|
|
578
|
+
* per session, shared by the plugin's tab, badge, sections, and channels.
|
|
579
|
+
* Records are immutable values; updaters and reducers return new ones.
|
|
580
|
+
*/
|
|
581
|
+
export interface SessionStore<T> {
|
|
582
|
+
readonly store: Store<SessionRecords<T>>;
|
|
583
|
+
/**
|
|
584
|
+
* The session's record, or the one shared empty record for null and unknown
|
|
585
|
+
* sessions: a stable reference, so a useStore selector over it never
|
|
586
|
+
* re-renders on an unchanged session.
|
|
587
|
+
*/
|
|
588
|
+
select(state: SessionRecords<T>, sessionId: string | null): T;
|
|
589
|
+
/** Replaces the session's record; an updater returning the current record publishes nothing. */
|
|
590
|
+
update(sessionId: string, updater: (current: T) => T): void;
|
|
591
|
+
drop(sessionId: string): void;
|
|
592
|
+
reset(): void;
|
|
593
|
+
/** A session channel whose apply and drop are already wired to this store. */
|
|
594
|
+
channel<Payload>(options: SessionStoreChannel<T, Payload>): SessionChannelContribution;
|
|
595
|
+
}
|
|
596
|
+
/**
|
|
597
|
+
* A tool result as Pi's tool_execution frames carry it: the content blocks
|
|
598
|
+
* the model sees and the structured `details` the tool attached for its own
|
|
599
|
+
* renderer. Both are wire JSON; the plugin that owns the tool narrows them.
|
|
600
|
+
*/
|
|
601
|
+
export interface ToolResultView {
|
|
602
|
+
content: unknown[];
|
|
603
|
+
details: unknown;
|
|
604
|
+
}
|
|
605
|
+
/**
|
|
606
|
+
* Everything a tool's timeline item receives: the actions every plugin
|
|
607
|
+
* component gets, plus the call and its newest result. The component owns
|
|
608
|
+
* the whole item, its frame, header, body, and expand state included; the
|
|
609
|
+
* host only wraps it in the timeline row and catches a throw. Compose it
|
|
610
|
+
* from the shared components package's MessageItem so it looks like every
|
|
611
|
+
* other item, the host's own fallback included.
|
|
612
|
+
*/
|
|
613
|
+
export interface ToolMessageRenderProps extends WebPluginSlotProps {
|
|
614
|
+
toolCallId: string;
|
|
615
|
+
/** The wire name, as registered with Pi (registerTool's `name`). */
|
|
616
|
+
toolName: string;
|
|
617
|
+
args: Record<string, unknown>;
|
|
618
|
+
/** The session's footer statuses at render time, the same picture `matches` saw. */
|
|
619
|
+
statuses: Readonly<Record<string, string>>;
|
|
620
|
+
/** The newest result: partial while the tool runs, final once it ends; null before any output. */
|
|
621
|
+
result: ToolResultView | null;
|
|
622
|
+
/** The result's text blocks joined, which is what the host's fallback item shows. */
|
|
623
|
+
output: string;
|
|
624
|
+
/** True while the tool still runs, so `result` is a partial one. */
|
|
625
|
+
running: boolean;
|
|
626
|
+
isError: boolean;
|
|
627
|
+
}
|
|
628
|
+
/** The extension UI request a running tool is blocked on, as its prompt sees it. */
|
|
629
|
+
export interface ToolPromptDialog {
|
|
630
|
+
id: string;
|
|
631
|
+
method: 'select' | 'confirm' | 'input' | 'editor';
|
|
632
|
+
title: string;
|
|
633
|
+
message: string;
|
|
634
|
+
options: readonly string[];
|
|
635
|
+
placeholder: string;
|
|
636
|
+
prefill: string;
|
|
637
|
+
}
|
|
638
|
+
/**
|
|
639
|
+
* Everything a tool's composer prompt receives: the timeline item's props,
|
|
640
|
+
* plus the request the tool is waiting on and the two ways to settle it.
|
|
641
|
+
*
|
|
642
|
+
* The dialog frame is deliberately thin, because Pi's own is: a select
|
|
643
|
+
* carries a title and a list of labels and nothing else. A prompt that needs
|
|
644
|
+
* more renders it from `args`, which is the whole call the tool was made
|
|
645
|
+
* with, and answers with whatever its session half agreed to read back.
|
|
646
|
+
*/
|
|
647
|
+
export interface ToolPromptRenderProps extends ToolMessageRenderProps {
|
|
648
|
+
dialog: ToolPromptDialog;
|
|
649
|
+
/** Answers the request and unblocks the tool. Bound, so a prompt may destructure it. */
|
|
650
|
+
answer: (value: string) => void;
|
|
651
|
+
/** The reader declined; the tool sees a cancellation. */
|
|
652
|
+
cancel: () => void;
|
|
653
|
+
}
|
|
654
|
+
/**
|
|
655
|
+
* A tool's stand-in for the composer input, shown while the tool is running
|
|
656
|
+
* and holding an extension UI request.
|
|
657
|
+
*
|
|
658
|
+
* A question the agent is blocked on belongs where the reader is already
|
|
659
|
+
* looking and typing, not behind a modal covering the conversation they need
|
|
660
|
+
* in order to answer. While a prompt is up the host's own dialog stands down,
|
|
661
|
+
* so exactly one surface owns the request.
|
|
662
|
+
*/
|
|
663
|
+
export interface ToolPromptContribution {
|
|
664
|
+
/**
|
|
665
|
+
* True when this tool owns the open request. Without it the tool claims any
|
|
666
|
+
* request open while it runs, which is wrong the moment a second extension
|
|
667
|
+
* asks something during the same turn; a request it refuses falls back to
|
|
668
|
+
* the host's dialog.
|
|
669
|
+
*/
|
|
670
|
+
claims?(dialog: ToolPromptDialog, args: Record<string, unknown>): boolean;
|
|
671
|
+
component: ComponentType<ToolPromptRenderProps>;
|
|
672
|
+
}
|
|
673
|
+
/**
|
|
674
|
+
* The timeline item for the tools a package registers, the web half of the
|
|
675
|
+
* TUI's renderCall/renderResult with Pi's renderShell 'self': one `message`
|
|
676
|
+
* component per claimed tool owns the whole item. One tool name belongs to
|
|
677
|
+
* one renderer.
|
|
678
|
+
*/
|
|
679
|
+
export interface ToolRendererContribution {
|
|
680
|
+
/** Tool names as registered with Pi (registerTool's `name`). */
|
|
681
|
+
tools: string[];
|
|
682
|
+
/** Render outside the host's tool gutter when the item is conversational content rather than implementation detail. */
|
|
683
|
+
timelinePresentation?: 'tool' | 'message';
|
|
684
|
+
/**
|
|
685
|
+
* Claims a tool named only at runtime (an MCP server's tools) when no
|
|
686
|
+
* plugin lists the name. The session's footer statuses come along so the
|
|
687
|
+
* plugin can read whatever its session half published, such as the server
|
|
688
|
+
* names; the first renderer to match, in install order, wins.
|
|
689
|
+
*/
|
|
690
|
+
matches?(toolName: string, statuses: Readonly<Record<string, string>>): boolean;
|
|
691
|
+
message: ComponentType<ToolMessageRenderProps>;
|
|
692
|
+
/** Stands in for the composer input while this tool runs and holds a request. */
|
|
693
|
+
prompt?: ToolPromptContribution;
|
|
694
|
+
}
|
|
695
|
+
/** What a plugin's optional runtime may do through the page's hub socket. */
|
|
696
|
+
export interface WebPluginRuntime {
|
|
697
|
+
/** Identity of the independently owned runtime mount. */
|
|
698
|
+
mount?: WebPluginMount;
|
|
699
|
+
sendSessionFrame: SessionFrameSender;
|
|
700
|
+
sendHubFrame(frame: Record<string, unknown>): void;
|
|
701
|
+
invokeServerMethod(call: {
|
|
702
|
+
mount: {
|
|
703
|
+
scope: 'global';
|
|
704
|
+
} | {
|
|
705
|
+
scope: 'workspace';
|
|
706
|
+
workspaceId: string;
|
|
707
|
+
} | {
|
|
708
|
+
scope: 'session';
|
|
709
|
+
sessionId: string;
|
|
710
|
+
};
|
|
711
|
+
service: string;
|
|
712
|
+
method: string;
|
|
713
|
+
input: unknown;
|
|
714
|
+
}): Promise<unknown>;
|
|
715
|
+
onHubConnected(listener: () => void): () => void;
|
|
716
|
+
/** Acquires the browser's WebMCP surface, or the page-lifetime simulator when unavailable. */
|
|
717
|
+
acquireModelContext?(): Promise<ModelContextBinding>;
|
|
718
|
+
/** Observes accepted composer submissions for page-lifetime plugin correlation. */
|
|
719
|
+
onComposerSubmitted?(listener: (submission: ComposerSubmission) => void): () => void;
|
|
720
|
+
/** Execution events follow accepted submission and use context.id as captureId. */
|
|
721
|
+
onCaptureStatus?(listener: (event: CaptureStatusEvent) => void): () => void;
|
|
722
|
+
}
|
|
723
|
+
export interface WebPluginDefinition {
|
|
724
|
+
id: string;
|
|
725
|
+
/** Independently installed contributions, using the same ownership levels as server facets. */
|
|
726
|
+
global?: WebPluginContributions;
|
|
727
|
+
workspace?: WebPluginContributions;
|
|
728
|
+
session?: WebPluginContributions;
|
|
729
|
+
tabs?: TabContribution[];
|
|
730
|
+
/** Optional faces placed after the host-owned Activity and Context faces. */
|
|
731
|
+
dockFaces?: DockFaceContribution[];
|
|
732
|
+
channels?: SessionChannelContribution[];
|
|
733
|
+
selectionAxes?: SelectionAxisContribution[];
|
|
734
|
+
minorModes?: MinorModeContribution[];
|
|
735
|
+
activityGroups?: ActivityGroupContribution[];
|
|
736
|
+
overlays?: SurfaceContribution[];
|
|
737
|
+
paletteCommands?: PaletteCommandContribution[];
|
|
738
|
+
/** Actions this plugin offers when another plugin presents compatible structured context. */
|
|
739
|
+
contextActions?: ContextActionContribution[];
|
|
740
|
+
/** Actions this plugin offers on text-bearing user timeline messages. */
|
|
741
|
+
userMessageActions?: UserMessageActionContribution[];
|
|
742
|
+
leaderBindings?: LeaderBindingContribution[];
|
|
743
|
+
railSections?: SurfaceContribution[];
|
|
744
|
+
/** Sections placed before the host's built-in Context composition groups. */
|
|
745
|
+
contextSections?: SurfaceContribution[];
|
|
746
|
+
selectionBarItems?: SurfaceContribution[];
|
|
747
|
+
/** Compact controls placed in the mobile composer's action row, immediately before queue. */
|
|
748
|
+
composerActions?: SurfaceContribution[];
|
|
749
|
+
/**
|
|
750
|
+
* Entries in the composer's '+' popover menu, after the host's own File
|
|
751
|
+
* Upload row.
|
|
752
|
+
*
|
|
753
|
+
* A composer action is a control the reader sees without asking; a menu
|
|
754
|
+
* entry is one they went looking for. A package whose surface is a whole
|
|
755
|
+
* library, not a single toggle, belongs behind the menu, where an entry
|
|
756
|
+
* costs a row rather than a permanent seat in the action row.
|
|
757
|
+
*
|
|
758
|
+
* The menu is transient: an entry's component unmounts every time the
|
|
759
|
+
* popover closes, so it may own the click and nothing else. State that has
|
|
760
|
+
* to outlive the menu, a dialog and its subscriptions included, belongs in
|
|
761
|
+
* a surface the host keeps mounted, such as `overlays`.
|
|
762
|
+
*/
|
|
763
|
+
composerMenuItems?: SurfaceContribution[];
|
|
764
|
+
toolRenderers?: ToolRendererContribution[];
|
|
765
|
+
/**
|
|
766
|
+
* A section whose id names an activity group any plugin declares renders
|
|
767
|
+
* inside that group's slot, `activity.<id>`, replacing the session's
|
|
768
|
+
* one-line summary; any other section renders after the groups.
|
|
769
|
+
*/
|
|
770
|
+
activitySections?: SurfaceContribution[];
|
|
771
|
+
/**
|
|
772
|
+
* Pages this plugin adds to cockpit settings. The host renders the fields and
|
|
773
|
+
* owns the scope switch, the repository picker, and every write.
|
|
774
|
+
*/
|
|
775
|
+
settingsSections?: SettingsSectionContribution[];
|
|
776
|
+
/**
|
|
777
|
+
* Pages this plugin draws itself in cockpit settings, for a page that
|
|
778
|
+
* reports rather than writes. The host owns the menu entry, the route, and
|
|
779
|
+
* the transport; the plugin owns everything inside the page.
|
|
780
|
+
*/
|
|
781
|
+
settingsPanels?: SettingsPanelContribution[];
|
|
782
|
+
/**
|
|
783
|
+
* A package-owned management panel inside the host's repository page. The
|
|
784
|
+
* host owns repository identity and passes only repositories it admitted.
|
|
785
|
+
*/
|
|
786
|
+
repositorySettingsPanel?: RepositorySettingsPanelContribution;
|
|
787
|
+
/** The slots this plugin opens for others, each named '<this plugin id>.<name>'. */
|
|
788
|
+
slots?: SlotDeclaration[];
|
|
789
|
+
/** This plugin's contributions into slots other plugins (or the host) declare. */
|
|
790
|
+
fills?: SlotFillContribution[];
|
|
791
|
+
/** Makes the paths this plugin tracks clickable where the host renders a message. */
|
|
792
|
+
fileLinks?: FileLinkSource;
|
|
793
|
+
/** Started after the host runtime, for page-lifetime needs such as hub frames; the return value disposes. */
|
|
794
|
+
start?(runtime: WebPluginRuntime): (() => void) | void;
|
|
795
|
+
}
|
|
796
|
+
export type WebPluginScope = 'global' | 'workspace' | 'session';
|
|
797
|
+
export type WebPluginContributions = Omit<WebPluginDefinition, 'id' | WebPluginScope>;
|
|
798
|
+
export type WebPluginMount = {
|
|
799
|
+
scope: 'global';
|
|
800
|
+
} | {
|
|
801
|
+
scope: 'workspace';
|
|
802
|
+
workspaceId: string;
|
|
803
|
+
} | {
|
|
804
|
+
scope: 'session';
|
|
805
|
+
workspaceId: string;
|
|
806
|
+
sessionId: string;
|
|
807
|
+
};
|
|
808
|
+
//#endregion
|
|
809
|
+
//# sourceMappingURL=webPlugin.d.cts.map
|