@agimon-ai/po-core 0.0.0-alpha.0
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 +7 -0
- package/dist/_virtual/_rolldown/runtime.cjs +23 -0
- package/dist/agentModel.cjs +4 -0
- package/dist/agentModel.d.mts +2 -0
- package/dist/agentModel.mjs +2 -0
- package/dist/apiContracts.cjs +2094 -0
- package/dist/apiContracts.cjs.map +1 -0
- package/dist/apiContracts.d.mts +1086 -0
- package/dist/apiContracts.d.mts.map +1 -0
- package/dist/apiContracts.mjs +2074 -0
- package/dist/apiContracts.mjs.map +1 -0
- package/dist/askUser.cjs +8 -0
- package/dist/askUser.d.mts +2 -0
- package/dist/askUser.mjs +2 -0
- package/dist/authorTools.cjs +5 -0
- package/dist/authorTools.d.mts +2 -0
- package/dist/authorTools.mjs +2 -0
- package/dist/backgroundWork.cjs +9 -0
- package/dist/backgroundWork.d.mts +2 -0
- package/dist/backgroundWork.mjs +2 -0
- package/dist/bundleAssetPolicy.cjs +5 -0
- package/dist/bundleAssetPolicy.d.mts +2 -0
- package/dist/bundleAssetPolicy.mjs +2 -0
- package/dist/childProcess.cjs +15 -0
- package/dist/childProcess.d.mts +2 -0
- package/dist/childProcess.mjs +2 -0
- package/dist/childSession.cjs +9 -0
- package/dist/childSession.d.mts +3 -0
- package/dist/childSession.mjs +3 -0
- package/dist/cockpitContainer.cjs +4 -0
- package/dist/cockpitContainer.d.mts +2 -0
- package/dist/cockpitContainer.mjs +2 -0
- package/dist/config.cjs +13 -0
- package/dist/config.d.mts +3 -0
- package/dist/config.mjs +2 -0
- package/dist/contextApi.cjs +12 -0
- package/dist/contextApi.d.mts +4 -0
- package/dist/contextApi.mjs +3 -0
- package/dist/contextContributions.cjs +7 -0
- package/dist/contextContributions.d.mts +3 -0
- package/dist/contextContributions.mjs +3 -0
- package/dist/contextDetail.cjs +65 -0
- package/dist/contextDetail.cjs.map +1 -0
- package/dist/contextDetail.d.mts +19 -0
- package/dist/contextDetail.d.mts.map +1 -0
- package/dist/contextDetail.mjs +64 -0
- package/dist/contextDetail.mjs.map +1 -0
- package/dist/contextDetailStore.cjs +96 -0
- package/dist/contextDetailStore.cjs.map +1 -0
- package/dist/contextDetailStore.d.mts +21 -0
- package/dist/contextDetailStore.d.mts.map +1 -0
- package/dist/contextDetailStore.mjs +87 -0
- package/dist/contextDetailStore.mjs.map +1 -0
- package/dist/contextProjection.cjs +121 -0
- package/dist/contextProjection.cjs.map +1 -0
- package/dist/contextProjection.d.mts +130 -0
- package/dist/contextProjection.d.mts.map +1 -0
- package/dist/contextProjection.mjs +117 -0
- package/dist/contextProjection.mjs.map +1 -0
- package/dist/cordisHost.cjs +13 -0
- package/dist/cordisHost.d.mts +2 -0
- package/dist/cordisHost.mjs +2 -0
- package/dist/delegation.cjs +18 -0
- package/dist/delegation.d.mts +2 -0
- package/dist/delegation.mjs +2 -0
- package/dist/doomPackage.cjs +61 -0
- package/dist/doomPackage.cjs.map +1 -0
- package/dist/doomPackage.d.mts +17 -0
- package/dist/doomPackage.d.mts.map +1 -0
- package/dist/doomPackage.mjs +54 -0
- package/dist/doomPackage.mjs.map +1 -0
- package/dist/executionBudget.cjs +232 -0
- package/dist/executionBudget.cjs.map +1 -0
- package/dist/executionBudget.d.mts +11 -0
- package/dist/executionBudget.d.mts.map +1 -0
- package/dist/executionBudget.mjs +226 -0
- package/dist/executionBudget.mjs.map +1 -0
- package/dist/extensionFile.cjs +19 -0
- package/dist/extensionFile.d.mts +3 -0
- package/dist/extensionFile.mjs +2 -0
- package/dist/footer.cjs +6 -0
- package/dist/footer.d.mts +2 -0
- package/dist/footer.mjs +2 -0
- package/dist/headless.cjs +16 -0
- package/dist/headless.d.mts +2 -0
- package/dist/headless.mjs +2 -0
- package/dist/headlessHub.cjs +1008 -0
- package/dist/headlessHub.cjs.map +1 -0
- package/dist/headlessHub.d.mts +176 -0
- package/dist/headlessHub.d.mts.map +1 -0
- package/dist/headlessHub.mjs +1005 -0
- package/dist/headlessHub.mjs.map +1 -0
- package/dist/headlessServer.cjs +956 -0
- package/dist/headlessServer.cjs.map +1 -0
- package/dist/headlessServer.d.mts +66 -0
- package/dist/headlessServer.d.mts.map +1 -0
- package/dist/headlessServer.mjs +949 -0
- package/dist/headlessServer.mjs.map +1 -0
- package/dist/headlessSessionHost.cjs +0 -0
- package/dist/headlessSessionHost.d.mts +89 -0
- package/dist/headlessSessionHost.d.mts.map +1 -0
- package/dist/headlessSessionHost.mjs +1 -0
- package/dist/headlessSessionManager.cjs +51 -0
- package/dist/headlessSessionManager.cjs.map +1 -0
- package/dist/headlessSessionManager.d.mts +6 -0
- package/dist/headlessSessionManager.d.mts.map +1 -0
- package/dist/headlessSessionManager.mjs +50 -0
- package/dist/headlessSessionManager.mjs.map +1 -0
- package/dist/help.cjs +24 -0
- package/dist/help.d.mts +3 -0
- package/dist/help.mjs +3 -0
- package/dist/history.cjs +25 -0
- package/dist/history.d.mts +10 -0
- package/dist/history.mjs +10 -0
- package/dist/historyOwnership.cjs +253 -0
- package/dist/historyOwnership.cjs.map +1 -0
- package/dist/historyOwnership.d.mts +23 -0
- package/dist/historyOwnership.d.mts.map +1 -0
- package/dist/historyOwnership.mjs +247 -0
- package/dist/historyOwnership.mjs.map +1 -0
- package/dist/hubChannel.cjs +4 -0
- package/dist/hubChannel.d.mts +2 -0
- package/dist/hubChannel.mjs +2 -0
- package/dist/index.cjs +44 -0
- package/dist/index.d.mts +6 -0
- package/dist/index.mjs +6 -0
- package/dist/json.cjs +6 -0
- package/dist/json.d.mts +2 -0
- package/dist/json.mjs +2 -0
- package/dist/jsonlSessionRepo.cjs +44 -0
- package/dist/jsonlSessionRepo.cjs.map +1 -0
- package/dist/jsonlSessionRepo.d.mts +7 -0
- package/dist/jsonlSessionRepo.d.mts.map +1 -0
- package/dist/jsonlSessionRepo.mjs +42 -0
- package/dist/jsonlSessionRepo.mjs.map +1 -0
- package/dist/kernel.cjs +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.mts +2 -0
- package/dist/leader.mjs +2 -0
- package/dist/logSinkTelemetry.cjs +5 -0
- package/dist/logSinkTelemetry.d.mts +2 -0
- package/dist/logSinkTelemetry.mjs +2 -0
- package/dist/machineApi.cjs +92 -0
- package/dist/machineApi.cjs.map +1 -0
- package/dist/machineApi.d.mts +7 -0
- package/dist/machineApi.d.mts.map +1 -0
- package/dist/machineApi.mjs +88 -0
- package/dist/machineApi.mjs.map +1 -0
- package/dist/main.cjs +11 -0
- package/dist/main.d.mts +5 -0
- package/dist/main.mjs +4 -0
- package/dist/mcpFacet.cjs +9 -0
- package/dist/mcpFacet.d.mts +4 -0
- package/dist/mcpFacet.mjs +3 -0
- package/dist/mcpProjection.cjs +16 -0
- package/dist/mcpProjection.d.mts +2 -0
- package/dist/mcpProjection.mjs +2 -0
- package/dist/mcpSchemaCost.cjs +195 -0
- package/dist/mcpSchemaCost.cjs.map +1 -0
- package/dist/mcpSchemaCost.d.mts +35 -0
- package/dist/mcpSchemaCost.d.mts.map +1 -0
- package/dist/mcpSchemaCost.mjs +190 -0
- package/dist/mcpSchemaCost.mjs.map +1 -0
- package/dist/mcpSession.cjs +9 -0
- package/dist/mcpSession.d.mts +2 -0
- package/dist/mcpSession.mjs +2 -0
- package/dist/mcpStatus.cjs +7 -0
- package/dist/mcpStatus.d.mts +2 -0
- package/dist/mcpStatus.mjs +2 -0
- package/dist/mcpToolResolver.cjs +5 -0
- package/dist/mcpToolResolver.d.mts +2 -0
- package/dist/mcpToolResolver.mjs +2 -0
- package/dist/mcpWidget.cjs +0 -0
- package/dist/mcpWidget.d.mts +2 -0
- package/dist/mcpWidget.mjs +1 -0
- package/dist/moduleResolution.cjs +412 -0
- package/dist/moduleResolution.cjs.map +1 -0
- package/dist/moduleResolution.d.mts +72 -0
- package/dist/moduleResolution.d.mts.map +1 -0
- package/dist/moduleResolution.mjs +396 -0
- package/dist/moduleResolution.mjs.map +1 -0
- package/dist/narration.cjs +10 -0
- package/dist/narration.d.mts +2 -0
- package/dist/narration.mjs +2 -0
- package/dist/native.cjs +29 -0
- package/dist/native.d.mts +12 -0
- package/dist/native.mjs +8 -0
- package/dist/notification.cjs +17 -0
- package/dist/notification.d.mts +2 -0
- package/dist/notification.mjs +2 -0
- package/dist/packageApi.cjs +17 -0
- package/dist/packageApi.d.mts +3 -0
- package/dist/packageApi.mjs +3 -0
- package/dist/packageApiServer.cjs +196 -0
- package/dist/packageApiServer.cjs.map +1 -0
- package/dist/packageApiServer.d.mts +62 -0
- package/dist/packageApiServer.d.mts.map +1 -0
- package/dist/packageApiServer.mjs +194 -0
- package/dist/packageApiServer.mjs.map +1 -0
- package/dist/piSettings.cjs +20 -0
- package/dist/piSettings.d.mts +2 -0
- package/dist/piSettings.mjs +2 -0
- package/dist/pluginProtocol.cjs +10 -0
- package/dist/pluginProtocol.d.mts +2 -0
- package/dist/pluginProtocol.mjs +2 -0
- package/dist/profileIdentity.cjs +6 -0
- package/dist/profileIdentity.d.mts +2 -0
- package/dist/profileIdentity.mjs +2 -0
- package/dist/protocol.cjs +10 -0
- package/dist/protocol.d.mts +2 -0
- package/dist/protocol.mjs +2 -0
- package/dist/readiness.cjs +8 -0
- package/dist/readiness.d.mts +2 -0
- package/dist/readiness.mjs +2 -0
- package/dist/remoteApi.cjs +45 -0
- package/dist/remoteApi.cjs.map +1 -0
- package/dist/remoteApi.d.mts +7 -0
- package/dist/remoteApi.d.mts.map +1 -0
- package/dist/remoteApi.mjs +44 -0
- package/dist/remoteApi.mjs.map +1 -0
- package/dist/remoteRuntime.cjs +498 -0
- package/dist/remoteRuntime.cjs.map +1 -0
- package/dist/remoteRuntime.d.mts +36 -0
- package/dist/remoteRuntime.d.mts.map +1 -0
- package/dist/remoteRuntime.mjs +494 -0
- package/dist/remoteRuntime.mjs.map +1 -0
- package/dist/runtimeConfig.cjs +232 -0
- package/dist/runtimeConfig.cjs.map +1 -0
- package/dist/runtimeConfig.d.mts +313 -0
- package/dist/runtimeConfig.d.mts.map +1 -0
- package/dist/runtimeConfig.mjs +221 -0
- package/dist/runtimeConfig.mjs.map +1 -0
- package/dist/runtimeContextApi.cjs +64 -0
- package/dist/runtimeContextApi.cjs.map +1 -0
- package/dist/runtimeContextApi.d.mts +16 -0
- package/dist/runtimeContextApi.d.mts.map +1 -0
- package/dist/runtimeContextApi.mjs +62 -0
- package/dist/runtimeContextApi.mjs.map +1 -0
- package/dist/runtimeCordisHost.cjs +223 -0
- package/dist/runtimeCordisHost.cjs.map +1 -0
- package/dist/runtimeCordisHost.d.mts +78 -0
- package/dist/runtimeCordisHost.d.mts.map +1 -0
- package/dist/runtimeCordisHost.mjs +212 -0
- package/dist/runtimeCordisHost.mjs.map +1 -0
- package/dist/runtimeHeadlessSessionManager.cjs +0 -0
- package/dist/runtimeHeadlessSessionManager.d.mts +18 -0
- package/dist/runtimeHeadlessSessionManager.d.mts.map +1 -0
- package/dist/runtimeHeadlessSessionManager.mjs +1 -0
- package/dist/runtimeIdentity.cjs +26 -0
- package/dist/runtimeIdentity.cjs.map +1 -0
- package/dist/runtimeIdentity.d.mts +7 -0
- package/dist/runtimeIdentity.d.mts.map +1 -0
- package/dist/runtimeIdentity.mjs +21 -0
- package/dist/runtimeIdentity.mjs.map +1 -0
- package/dist/runtimeJson.cjs +46 -0
- package/dist/runtimeJson.cjs.map +1 -0
- package/dist/runtimeJson.d.mts +22 -0
- package/dist/runtimeJson.d.mts.map +1 -0
- package/dist/runtimeJson.mjs +39 -0
- package/dist/runtimeJson.mjs.map +1 -0
- package/dist/runtimeLogSinkTelemetry.cjs +102 -0
- package/dist/runtimeLogSinkTelemetry.cjs.map +1 -0
- package/dist/runtimeLogSinkTelemetry.d.mts +49 -0
- package/dist/runtimeLogSinkTelemetry.d.mts.map +1 -0
- package/dist/runtimeLogSinkTelemetry.mjs +99 -0
- package/dist/runtimeLogSinkTelemetry.mjs.map +1 -0
- package/dist/runtimePackages.cjs +120 -0
- package/dist/runtimePackages.cjs.map +1 -0
- package/dist/runtimePackages.d.mts +57 -0
- package/dist/runtimePackages.d.mts.map +1 -0
- package/dist/runtimePackages.mjs +110 -0
- package/dist/runtimePackages.mjs.map +1 -0
- package/dist/runtimePiSettings.cjs +257 -0
- package/dist/runtimePiSettings.cjs.map +1 -0
- package/dist/runtimePiSettings.d.mts +70 -0
- package/dist/runtimePiSettings.d.mts.map +1 -0
- package/dist/runtimePiSettings.mjs +235 -0
- package/dist/runtimePiSettings.mjs.map +1 -0
- package/dist/runtimeProtocol.cjs +228 -0
- package/dist/runtimeProtocol.cjs.map +1 -0
- package/dist/runtimeProtocol.d.mts +86 -0
- package/dist/runtimeProtocol.d.mts.map +1 -0
- package/dist/runtimeProtocol.mjs +219 -0
- package/dist/runtimeProtocol.mjs.map +1 -0
- package/dist/runtimeToolNames.cjs +51 -0
- package/dist/runtimeToolNames.cjs.map +1 -0
- package/dist/runtimeToolNames.d.mts +24 -0
- package/dist/runtimeToolNames.d.mts.map +1 -0
- package/dist/runtimeToolNames.mjs +49 -0
- package/dist/runtimeToolNames.mjs.map +1 -0
- package/dist/runtimeTransition.cjs +27 -0
- package/dist/runtimeTransition.cjs.map +1 -0
- package/dist/runtimeTransition.d.mts +114 -0
- package/dist/runtimeTransition.d.mts.map +1 -0
- package/dist/runtimeTransition.mjs +24 -0
- package/dist/runtimeTransition.mjs.map +1 -0
- package/dist/sandboxHarness.cjs +6 -0
- package/dist/sandboxHarness.d.mts +2 -0
- package/dist/sandboxHarness.mjs +2 -0
- package/dist/server.cjs +17 -0
- package/dist/server.d.mts +10 -0
- package/dist/server.mjs +7 -0
- package/dist/serverFacet.cjs +34 -0
- package/dist/serverFacet.d.mts +10 -0
- package/dist/serverFacet.mjs +9 -0
- package/dist/serverTelemetry.cjs +25 -0
- package/dist/serverTelemetry.cjs.map +1 -0
- package/dist/serverTelemetry.d.mts +12 -0
- package/dist/serverTelemetry.d.mts.map +1 -0
- package/dist/serverTelemetry.mjs +23 -0
- package/dist/serverTelemetry.mjs.map +1 -0
- package/dist/sessionFilesApi.cjs +96 -0
- package/dist/sessionFilesApi.cjs.map +1 -0
- package/dist/sessionFilesApi.d.mts +7 -0
- package/dist/sessionFilesApi.d.mts.map +1 -0
- package/dist/sessionFilesApi.mjs +91 -0
- package/dist/sessionFilesApi.mjs.map +1 -0
- package/dist/sessionMcp.cjs +6 -0
- package/dist/sessionMcp.d.mts +5 -0
- package/dist/sessionMcp.mjs +3 -0
- package/dist/sessionProtocol.cjs +8 -0
- package/dist/sessionProtocol.d.mts +3 -0
- package/dist/sessionProtocol.mjs +2 -0
- package/dist/skills.cjs +9 -0
- package/dist/skills.d.mts +2 -0
- package/dist/skills.mjs +2 -0
- package/dist/sqliteSessionStorage.cjs +168 -0
- package/dist/sqliteSessionStorage.cjs.map +1 -0
- package/dist/sqliteSessionStorage.d.mts +35 -0
- package/dist/sqliteSessionStorage.d.mts.map +1 -0
- package/dist/sqliteSessionStorage.mjs +158 -0
- package/dist/sqliteSessionStorage.mjs.map +1 -0
- package/dist/src/constants/authorTools.cjs +10 -0
- package/dist/src/constants/authorTools.cjs.map +1 -0
- package/dist/src/constants/authorTools.d.mts +6 -0
- package/dist/src/constants/authorTools.d.mts.map +1 -0
- package/dist/src/constants/authorTools.mjs +8 -0
- package/dist/src/constants/authorTools.mjs.map +1 -0
- package/dist/src/constants/contextApi.cjs +31 -0
- package/dist/src/constants/contextApi.cjs.map +1 -0
- package/dist/src/constants/contextApi.d.mts +23 -0
- package/dist/src/constants/contextApi.d.mts.map +1 -0
- package/dist/src/constants/contextApi.mjs +25 -0
- package/dist/src/constants/contextApi.mjs.map +1 -0
- package/dist/src/constants/nativeHost.cjs +56 -0
- package/dist/src/constants/nativeHost.cjs.map +1 -0
- package/dist/src/constants/nativeHost.d.mts +21 -0
- package/dist/src/constants/nativeHost.d.mts.map +1 -0
- package/dist/src/constants/nativeHost.mjs +53 -0
- package/dist/src/constants/nativeHost.mjs.map +1 -0
- package/dist/src/constants/remote.cjs +132 -0
- package/dist/src/constants/remote.cjs.map +1 -0
- package/dist/src/constants/remote.mjs +99 -0
- package/dist/src/constants/remote.mjs.map +1 -0
- package/dist/src/constants/sessionFiles.cjs +27 -0
- package/dist/src/constants/sessionFiles.cjs.map +1 -0
- package/dist/src/constants/sessionFiles.mjs +25 -0
- package/dist/src/constants/sessionFiles.mjs.map +1 -0
- package/dist/src/constants/voiceReloadHandoff.cjs +12 -0
- package/dist/src/constants/voiceReloadHandoff.cjs.map +1 -0
- package/dist/src/constants/voiceReloadHandoff.d.mts +7 -0
- package/dist/src/constants/voiceReloadHandoff.d.mts.map +1 -0
- package/dist/src/constants/voiceReloadHandoff.mjs +9 -0
- package/dist/src/constants/voiceReloadHandoff.mjs.map +1 -0
- package/dist/src/constants/voiceTools.cjs +96 -0
- package/dist/src/constants/voiceTools.cjs.map +1 -0
- package/dist/src/constants/voiceTools.d.mts +58 -0
- package/dist/src/constants/voiceTools.d.mts.map +1 -0
- package/dist/src/constants/voiceTools.mjs +60 -0
- package/dist/src/constants/voiceTools.mjs.map +1 -0
- package/dist/src/extensions/extensionFile.cjs +140 -0
- package/dist/src/extensions/extensionFile.cjs.map +1 -0
- package/dist/src/extensions/extensionFile.d.mts +69 -0
- package/dist/src/extensions/extensionFile.d.mts.map +1 -0
- package/dist/src/extensions/extensionFile.mjs +124 -0
- package/dist/src/extensions/extensionFile.mjs.map +1 -0
- package/dist/src/extensions/serverPlugin.cjs +107 -0
- package/dist/src/extensions/serverPlugin.cjs.map +1 -0
- package/dist/src/extensions/serverPlugin.d.mts +5 -0
- package/dist/src/extensions/serverPlugin.d.mts.map +1 -0
- package/dist/src/extensions/serverPlugin.mjs +107 -0
- package/dist/src/extensions/serverPlugin.mjs.map +1 -0
- package/dist/src/extensions/webPlugin.cjs +136 -0
- package/dist/src/extensions/webPlugin.cjs.map +1 -0
- package/dist/src/extensions/webPlugin.d.mts +68 -0
- package/dist/src/extensions/webPlugin.d.mts.map +1 -0
- package/dist/src/extensions/webPlugin.mjs +114 -0
- package/dist/src/extensions/webPlugin.mjs.map +1 -0
- package/dist/src/pi/piSessionRuntime.cjs +625 -0
- package/dist/src/pi/piSessionRuntime.cjs.map +1 -0
- package/dist/src/pi/piSessionRuntime.d.mts +43 -0
- package/dist/src/pi/piSessionRuntime.d.mts.map +1 -0
- package/dist/src/pi/piSessionRuntime.mjs +624 -0
- package/dist/src/pi/piSessionRuntime.mjs.map +1 -0
- package/dist/src/pi/piWebSocketListener.cjs +115 -0
- package/dist/src/pi/piWebSocketListener.cjs.map +1 -0
- package/dist/src/pi/piWebSocketListener.mjs +115 -0
- package/dist/src/pi/piWebSocketListener.mjs.map +1 -0
- package/dist/src/schemas/agentModel.cjs +33 -0
- package/dist/src/schemas/agentModel.cjs.map +1 -0
- package/dist/src/schemas/agentModel.d.mts +26 -0
- package/dist/src/schemas/agentModel.d.mts.map +1 -0
- package/dist/src/schemas/agentModel.mjs +32 -0
- package/dist/src/schemas/agentModel.mjs.map +1 -0
- package/dist/src/schemas/apiContracts.d.mts +58 -0
- package/dist/src/schemas/apiContracts.d.mts.map +1 -0
- package/dist/src/schemas/askUser.cjs +42 -0
- package/dist/src/schemas/askUser.cjs.map +1 -0
- package/dist/src/schemas/askUser.d.mts +47 -0
- package/dist/src/schemas/askUser.d.mts.map +1 -0
- package/dist/src/schemas/askUser.mjs +37 -0
- package/dist/src/schemas/askUser.mjs.map +1 -0
- package/dist/src/schemas/backgroundWork.cjs +44 -0
- package/dist/src/schemas/backgroundWork.cjs.map +1 -0
- package/dist/src/schemas/backgroundWork.d.mts +76 -0
- package/dist/src/schemas/backgroundWork.d.mts.map +1 -0
- package/dist/src/schemas/backgroundWork.mjs +38 -0
- package/dist/src/schemas/backgroundWork.mjs.map +1 -0
- package/dist/src/schemas/childProcess.cjs +67 -0
- package/dist/src/schemas/childProcess.cjs.map +1 -0
- package/dist/src/schemas/childProcess.d.mts +30 -0
- package/dist/src/schemas/childProcess.d.mts.map +1 -0
- package/dist/src/schemas/childProcess.mjs +55 -0
- package/dist/src/schemas/childProcess.mjs.map +1 -0
- package/dist/src/schemas/cockpitContainer.cjs +31 -0
- package/dist/src/schemas/cockpitContainer.cjs.map +1 -0
- package/dist/src/schemas/cockpitContainer.d.mts +80 -0
- package/dist/src/schemas/cockpitContainer.d.mts.map +1 -0
- package/dist/src/schemas/cockpitContainer.mjs +30 -0
- package/dist/src/schemas/cockpitContainer.mjs.map +1 -0
- package/dist/src/schemas/contextContributions.cjs +17 -0
- package/dist/src/schemas/contextContributions.cjs.map +1 -0
- package/dist/src/schemas/contextContributions.d.mts +49 -0
- package/dist/src/schemas/contextContributions.d.mts.map +1 -0
- package/dist/src/schemas/contextContributions.mjs +15 -0
- package/dist/src/schemas/contextContributions.mjs.map +1 -0
- package/dist/src/schemas/delegation.cjs +91 -0
- package/dist/src/schemas/delegation.cjs.map +1 -0
- package/dist/src/schemas/delegation.d.mts +95 -0
- package/dist/src/schemas/delegation.d.mts.map +1 -0
- package/dist/src/schemas/delegation.mjs +76 -0
- package/dist/src/schemas/delegation.mjs.map +1 -0
- package/dist/src/schemas/extensionFile.d.mts +116 -0
- package/dist/src/schemas/extensionFile.d.mts.map +1 -0
- package/dist/src/schemas/footer.cjs +48 -0
- package/dist/src/schemas/footer.cjs.map +1 -0
- package/dist/src/schemas/footer.d.mts +48 -0
- package/dist/src/schemas/footer.d.mts.map +1 -0
- package/dist/src/schemas/footer.mjs +45 -0
- package/dist/src/schemas/footer.mjs.map +1 -0
- package/dist/src/schemas/headless.cjs +97 -0
- package/dist/src/schemas/headless.cjs.map +1 -0
- package/dist/src/schemas/headless.d.mts +472 -0
- package/dist/src/schemas/headless.d.mts.map +1 -0
- package/dist/src/schemas/headless.mjs +84 -0
- package/dist/src/schemas/headless.mjs.map +1 -0
- package/dist/src/schemas/help.cjs +281 -0
- package/dist/src/schemas/help.cjs.map +1 -0
- package/dist/src/schemas/help.d.mts +119 -0
- package/dist/src/schemas/help.d.mts.map +1 -0
- package/dist/src/schemas/help.mjs +262 -0
- package/dist/src/schemas/help.mjs.map +1 -0
- package/dist/src/schemas/hubChannel.cjs +20 -0
- package/dist/src/schemas/hubChannel.cjs.map +1 -0
- package/dist/src/schemas/hubChannel.d.mts +271 -0
- package/dist/src/schemas/hubChannel.d.mts.map +1 -0
- package/dist/src/schemas/hubChannel.mjs +19 -0
- package/dist/src/schemas/hubChannel.mjs.map +1 -0
- package/dist/src/schemas/leader.cjs +57 -0
- package/dist/src/schemas/leader.cjs.map +1 -0
- package/dist/src/schemas/leader.d.mts +107 -0
- package/dist/src/schemas/leader.d.mts.map +1 -0
- package/dist/src/schemas/leader.mjs +51 -0
- package/dist/src/schemas/leader.mjs.map +1 -0
- package/dist/src/schemas/mcpBundle.d.mts +13 -0
- package/dist/src/schemas/mcpBundle.d.mts.map +1 -0
- package/dist/src/schemas/mcpFacet.cjs +24 -0
- package/dist/src/schemas/mcpFacet.cjs.map +1 -0
- package/dist/src/schemas/mcpFacet.d.mts +91 -0
- package/dist/src/schemas/mcpFacet.d.mts.map +1 -0
- package/dist/src/schemas/mcpFacet.mjs +21 -0
- package/dist/src/schemas/mcpFacet.mjs.map +1 -0
- package/dist/src/schemas/mcpProjection.cjs +117 -0
- package/dist/src/schemas/mcpProjection.cjs.map +1 -0
- package/dist/src/schemas/mcpProjection.d.mts +124 -0
- package/dist/src/schemas/mcpProjection.d.mts.map +1 -0
- package/dist/src/schemas/mcpProjection.mjs +104 -0
- package/dist/src/schemas/mcpProjection.mjs.map +1 -0
- package/dist/src/schemas/mcpSession.cjs +57 -0
- package/dist/src/schemas/mcpSession.cjs.map +1 -0
- package/dist/src/schemas/mcpSession.d.mts +57 -0
- package/dist/src/schemas/mcpSession.d.mts.map +1 -0
- package/dist/src/schemas/mcpSession.mjs +51 -0
- package/dist/src/schemas/mcpSession.mjs.map +1 -0
- package/dist/src/schemas/mcpStatus.cjs +52 -0
- package/dist/src/schemas/mcpStatus.cjs.map +1 -0
- package/dist/src/schemas/mcpStatus.d.mts +73 -0
- package/dist/src/schemas/mcpStatus.d.mts.map +1 -0
- package/dist/src/schemas/mcpStatus.mjs +48 -0
- package/dist/src/schemas/mcpStatus.mjs.map +1 -0
- package/dist/src/schemas/mcpToolResolver.cjs +17 -0
- package/dist/src/schemas/mcpToolResolver.cjs.map +1 -0
- package/dist/src/schemas/mcpToolResolver.d.mts +24 -0
- package/dist/src/schemas/mcpToolResolver.d.mts.map +1 -0
- package/dist/src/schemas/mcpToolResolver.mjs +15 -0
- package/dist/src/schemas/mcpToolResolver.mjs.map +1 -0
- package/dist/src/schemas/narration.cjs +54 -0
- package/dist/src/schemas/narration.cjs.map +1 -0
- package/dist/src/schemas/narration.d.mts +29 -0
- package/dist/src/schemas/narration.d.mts.map +1 -0
- package/dist/src/schemas/narration.mjs +47 -0
- package/dist/src/schemas/narration.mjs.map +1 -0
- package/dist/src/schemas/notification.cjs +122 -0
- package/dist/src/schemas/notification.cjs.map +1 -0
- package/dist/src/schemas/notification.d.mts +48 -0
- package/dist/src/schemas/notification.d.mts.map +1 -0
- package/dist/src/schemas/notification.mjs +108 -0
- package/dist/src/schemas/notification.mjs.map +1 -0
- package/dist/src/schemas/packageApi.cjs +76 -0
- package/dist/src/schemas/packageApi.cjs.map +1 -0
- package/dist/src/schemas/packageApi.d.mts +302 -0
- package/dist/src/schemas/packageApi.d.mts.map +1 -0
- package/dist/src/schemas/packageApi.mjs +66 -0
- package/dist/src/schemas/packageApi.mjs.map +1 -0
- package/dist/src/schemas/pluginContributions.cjs +19 -0
- package/dist/src/schemas/pluginContributions.cjs.map +1 -0
- package/dist/src/schemas/pluginContributions.d.mts +56 -0
- package/dist/src/schemas/pluginContributions.d.mts.map +1 -0
- package/dist/src/schemas/pluginContributions.mjs +18 -0
- package/dist/src/schemas/pluginContributions.mjs.map +1 -0
- package/dist/src/schemas/pluginProtocol.cjs +103 -0
- package/dist/src/schemas/pluginProtocol.cjs.map +1 -0
- package/dist/src/schemas/pluginProtocol.d.mts +70 -0
- package/dist/src/schemas/pluginProtocol.d.mts.map +1 -0
- package/dist/src/schemas/pluginProtocol.mjs +96 -0
- package/dist/src/schemas/pluginProtocol.mjs.map +1 -0
- package/dist/src/schemas/profileIdentity.cjs +67 -0
- package/dist/src/schemas/profileIdentity.cjs.map +1 -0
- package/dist/src/schemas/profileIdentity.d.mts +50 -0
- package/dist/src/schemas/profileIdentity.d.mts.map +1 -0
- package/dist/src/schemas/profileIdentity.mjs +64 -0
- package/dist/src/schemas/profileIdentity.mjs.map +1 -0
- package/dist/src/schemas/readiness.cjs +251 -0
- package/dist/src/schemas/readiness.cjs.map +1 -0
- package/dist/src/schemas/readiness.d.mts +84 -0
- package/dist/src/schemas/readiness.d.mts.map +1 -0
- package/dist/src/schemas/readiness.mjs +246 -0
- package/dist/src/schemas/readiness.mjs.map +1 -0
- package/dist/src/schemas/sandboxHarness.cjs +29 -0
- package/dist/src/schemas/sandboxHarness.cjs.map +1 -0
- package/dist/src/schemas/sandboxHarness.d.mts +39 -0
- package/dist/src/schemas/sandboxHarness.d.mts.map +1 -0
- package/dist/src/schemas/sandboxHarness.mjs +26 -0
- package/dist/src/schemas/sandboxHarness.mjs.map +1 -0
- package/dist/src/schemas/serverBundle.d.mts +19 -0
- package/dist/src/schemas/serverBundle.d.mts.map +1 -0
- package/dist/src/schemas/serverFacet.cjs +111 -0
- package/dist/src/schemas/serverFacet.cjs.map +1 -0
- package/dist/src/schemas/serverFacet.d.mts +152 -0
- package/dist/src/schemas/serverFacet.d.mts.map +1 -0
- package/dist/src/schemas/serverFacet.mjs +101 -0
- package/dist/src/schemas/serverFacet.mjs.map +1 -0
- package/dist/src/schemas/sessionMcpActivity.d.mts +47 -0
- package/dist/src/schemas/sessionMcpActivity.d.mts.map +1 -0
- package/dist/src/schemas/sessionProtocol.cjs +17 -0
- package/dist/src/schemas/sessionProtocol.cjs.map +1 -0
- package/dist/src/schemas/sessionProtocol.d.mts +313 -0
- package/dist/src/schemas/sessionProtocol.d.mts.map +1 -0
- package/dist/src/schemas/sessionProtocol.mjs +12 -0
- package/dist/src/schemas/sessionProtocol.mjs.map +1 -0
- package/dist/src/schemas/sessionUpdates.d.mts +34 -0
- package/dist/src/schemas/sessionUpdates.d.mts.map +1 -0
- package/dist/src/schemas/skills.cjs +115 -0
- package/dist/src/schemas/skills.cjs.map +1 -0
- package/dist/src/schemas/skills.d.mts +65 -0
- package/dist/src/schemas/skills.d.mts.map +1 -0
- package/dist/src/schemas/skills.mjs +109 -0
- package/dist/src/schemas/skills.mjs.map +1 -0
- package/dist/src/schemas/toolOverrides.cjs +17 -0
- package/dist/src/schemas/toolOverrides.cjs.map +1 -0
- package/dist/src/schemas/toolOverrides.d.mts +29 -0
- package/dist/src/schemas/toolOverrides.d.mts.map +1 -0
- package/dist/src/schemas/toolOverrides.mjs +15 -0
- package/dist/src/schemas/toolOverrides.mjs.map +1 -0
- package/dist/src/schemas/toolSurface.cjs +17 -0
- package/dist/src/schemas/toolSurface.cjs.map +1 -0
- package/dist/src/schemas/toolSurface.d.mts +70 -0
- package/dist/src/schemas/toolSurface.d.mts.map +1 -0
- package/dist/src/schemas/toolSurface.mjs +15 -0
- package/dist/src/schemas/toolSurface.mjs.map +1 -0
- package/dist/src/schemas/uiHub.cjs +17 -0
- package/dist/src/schemas/uiHub.cjs.map +1 -0
- package/dist/src/schemas/uiHub.d.mts +23 -0
- package/dist/src/schemas/uiHub.d.mts.map +1 -0
- package/dist/src/schemas/uiHub.mjs +15 -0
- package/dist/src/schemas/uiHub.mjs.map +1 -0
- package/dist/src/schemas/voiceReloadHandoff.cjs +78 -0
- package/dist/src/schemas/voiceReloadHandoff.cjs.map +1 -0
- package/dist/src/schemas/voiceReloadHandoff.d.mts +31 -0
- package/dist/src/schemas/voiceReloadHandoff.d.mts.map +1 -0
- package/dist/src/schemas/voiceReloadHandoff.mjs +75 -0
- package/dist/src/schemas/voiceReloadHandoff.mjs.map +1 -0
- package/dist/src/schemas/voiceTools.cjs +205 -0
- package/dist/src/schemas/voiceTools.cjs.map +1 -0
- package/dist/src/schemas/voiceTools.d.mts +120 -0
- package/dist/src/schemas/voiceTools.d.mts.map +1 -0
- package/dist/src/schemas/voiceTools.mjs +194 -0
- package/dist/src/schemas/voiceTools.mjs.map +1 -0
- package/dist/src/server/devProxyForward.cjs +141 -0
- package/dist/src/server/devProxyForward.cjs.map +1 -0
- package/dist/src/server/devProxyForward.mjs +139 -0
- package/dist/src/server/devProxyForward.mjs.map +1 -0
- package/dist/src/server/devProxyRoutes.cjs +97 -0
- package/dist/src/server/devProxyRoutes.cjs.map +1 -0
- package/dist/src/server/devProxyRoutes.mjs +97 -0
- package/dist/src/server/devProxyRoutes.mjs.map +1 -0
- package/dist/src/server/devProxySocket.cjs +93 -0
- package/dist/src/server/devProxySocket.cjs.map +1 -0
- package/dist/src/server/devProxySocket.d.mts +25 -0
- package/dist/src/server/devProxySocket.d.mts.map +1 -0
- package/dist/src/server/devProxySocket.mjs +93 -0
- package/dist/src/server/devProxySocket.mjs.map +1 -0
- package/dist/src/server/directHarnessRuntime.cjs +2387 -0
- package/dist/src/server/directHarnessRuntime.cjs.map +1 -0
- package/dist/src/server/directHarnessRuntime.d.mts +4 -0
- package/dist/src/server/directHarnessRuntime.mjs +2384 -0
- package/dist/src/server/directHarnessRuntime.mjs.map +1 -0
- package/dist/src/server/harnessErrorMessage.cjs +13 -0
- package/dist/src/server/harnessErrorMessage.cjs.map +1 -0
- package/dist/src/server/harnessErrorMessage.mjs +13 -0
- package/dist/src/server/harnessErrorMessage.mjs.map +1 -0
- package/dist/src/server/headlessProtocol.cjs +382 -0
- package/dist/src/server/headlessProtocol.cjs.map +1 -0
- package/dist/src/server/headlessProtocol.mjs +382 -0
- package/dist/src/server/headlessProtocol.mjs.map +1 -0
- package/dist/src/server/liveImport.cjs +37 -0
- package/dist/src/server/liveImport.cjs.map +1 -0
- package/dist/src/server/liveImport.d.mts +27 -0
- package/dist/src/server/liveImport.d.mts.map +1 -0
- package/dist/src/server/liveImport.mjs +34 -0
- package/dist/src/server/liveImport.mjs.map +1 -0
- package/dist/src/server/mcpBundleLoader.cjs +108 -0
- package/dist/src/server/mcpBundleLoader.cjs.map +1 -0
- package/dist/src/server/mcpBundleLoader.d.mts +46 -0
- package/dist/src/server/mcpBundleLoader.d.mts.map +1 -0
- package/dist/src/server/mcpBundleLoader.mjs +107 -0
- package/dist/src/server/mcpBundleLoader.mjs.map +1 -0
- package/dist/src/server/nativeChildTranscriptReader.cjs +20 -0
- package/dist/src/server/nativeChildTranscriptReader.cjs.map +1 -0
- package/dist/src/server/nativeChildTranscriptReader.mjs +18 -0
- package/dist/src/server/nativeChildTranscriptReader.mjs.map +1 -0
- package/dist/src/server/remoteRoutes.cjs +463 -0
- package/dist/src/server/remoteRoutes.cjs.map +1 -0
- package/dist/src/server/remoteRoutes.mjs +463 -0
- package/dist/src/server/remoteRoutes.mjs.map +1 -0
- package/dist/src/server/serverFacetLoader.cjs +214 -0
- package/dist/src/server/serverFacetLoader.cjs.map +1 -0
- package/dist/src/server/serverFacetLoader.d.mts +72 -0
- package/dist/src/server/serverFacetLoader.d.mts.map +1 -0
- package/dist/src/server/serverFacetLoader.mjs +212 -0
- package/dist/src/server/serverFacetLoader.mjs.map +1 -0
- package/dist/src/server/sessionMcpHandler.cjs +585 -0
- package/dist/src/server/sessionMcpHandler.cjs.map +1 -0
- package/dist/src/server/sessionMcpHandler.d.mts +50 -0
- package/dist/src/server/sessionMcpHandler.d.mts.map +1 -0
- package/dist/src/server/sessionMcpHandler.mjs +582 -0
- package/dist/src/server/sessionMcpHandler.mjs.map +1 -0
- package/dist/src/server/sessionMcpRoutes.cjs +809 -0
- package/dist/src/server/sessionMcpRoutes.cjs.map +1 -0
- package/dist/src/server/sessionMcpRoutes.mjs +804 -0
- package/dist/src/server/sessionMcpRoutes.mjs.map +1 -0
- package/dist/src/server/threadJournals.cjs +172 -0
- package/dist/src/server/threadJournals.cjs.map +1 -0
- package/dist/src/server/threadJournals.mjs +169 -0
- package/dist/src/server/threadJournals.mjs.map +1 -0
- package/dist/src/services/acpSessionUpdates/index.cjs +129 -0
- package/dist/src/services/acpSessionUpdates/index.cjs.map +1 -0
- package/dist/src/services/acpSessionUpdates/index.mjs +129 -0
- package/dist/src/services/acpSessionUpdates/index.mjs.map +1 -0
- package/dist/src/services/apiSurfaceAssert/index.cjs +60 -0
- package/dist/src/services/apiSurfaceAssert/index.cjs.map +1 -0
- package/dist/src/services/apiSurfaceAssert/index.d.mts +24 -0
- package/dist/src/services/apiSurfaceAssert/index.d.mts.map +1 -0
- package/dist/src/services/apiSurfaceAssert/index.mjs +60 -0
- package/dist/src/services/apiSurfaceAssert/index.mjs.map +1 -0
- package/dist/src/services/bundlePublication/index.cjs +89 -0
- package/dist/src/services/bundlePublication/index.cjs.map +1 -0
- package/dist/src/services/bundlePublication/index.mjs +86 -0
- package/dist/src/services/bundlePublication/index.mjs.map +1 -0
- package/dist/src/services/contextApiUrls/index.cjs +53 -0
- package/dist/src/services/contextApiUrls/index.cjs.map +1 -0
- package/dist/src/services/contextApiUrls/index.d.mts +8 -0
- package/dist/src/services/contextApiUrls/index.d.mts.map +1 -0
- package/dist/src/services/contextApiUrls/index.mjs +52 -0
- package/dist/src/services/contextApiUrls/index.mjs.map +1 -0
- package/dist/src/services/contextContributions/index.cjs +79 -0
- package/dist/src/services/contextContributions/index.cjs.map +1 -0
- package/dist/src/services/contextContributions/index.d.mts +6 -0
- package/dist/src/services/contextContributions/index.d.mts.map +1 -0
- package/dist/src/services/contextContributions/index.mjs +79 -0
- package/dist/src/services/contextContributions/index.mjs.map +1 -0
- package/dist/src/services/contextUsage/index.cjs +27 -0
- package/dist/src/services/contextUsage/index.cjs.map +1 -0
- package/dist/src/services/contextUsage/index.mjs +25 -0
- package/dist/src/services/contextUsage/index.mjs.map +1 -0
- package/dist/src/services/devProxyPolicy/index.cjs +168 -0
- package/dist/src/services/devProxyPolicy/index.cjs.map +1 -0
- package/dist/src/services/devProxyPolicy/index.mjs +165 -0
- package/dist/src/services/devProxyPolicy/index.mjs.map +1 -0
- package/dist/src/services/devProxyStore/index.cjs +107 -0
- package/dist/src/services/devProxyStore/index.cjs.map +1 -0
- package/dist/src/services/devProxyStore/index.mjs +104 -0
- package/dist/src/services/devProxyStore/index.mjs.map +1 -0
- package/dist/src/services/deviceAuth/index.cjs +146 -0
- package/dist/src/services/deviceAuth/index.cjs.map +1 -0
- package/dist/src/services/deviceAuth/index.d.mts +9 -0
- package/dist/src/services/deviceAuth/index.d.mts.map +1 -0
- package/dist/src/services/deviceAuth/index.mjs +146 -0
- package/dist/src/services/deviceAuth/index.mjs.map +1 -0
- package/dist/src/services/deviceSessions/index.cjs +147 -0
- package/dist/src/services/deviceSessions/index.cjs.map +1 -0
- package/dist/src/services/deviceSessions/index.d.mts +18 -0
- package/dist/src/services/deviceSessions/index.d.mts.map +1 -0
- package/dist/src/services/deviceSessions/index.mjs +141 -0
- package/dist/src/services/deviceSessions/index.mjs.map +1 -0
- package/dist/src/services/deviceTrust/index.cjs +294 -0
- package/dist/src/services/deviceTrust/index.cjs.map +1 -0
- package/dist/src/services/deviceTrust/index.mjs +282 -0
- package/dist/src/services/deviceTrust/index.mjs.map +1 -0
- package/dist/src/services/durableNavigation/index.cjs +46 -0
- package/dist/src/services/durableNavigation/index.cjs.map +1 -0
- package/dist/src/services/durableNavigation/index.mjs +45 -0
- package/dist/src/services/durableNavigation/index.mjs.map +1 -0
- package/dist/src/services/headlessClient/index.cjs +126 -0
- package/dist/src/services/headlessClient/index.cjs.map +1 -0
- package/dist/src/services/headlessClient/index.mjs +126 -0
- package/dist/src/services/headlessClient/index.mjs.map +1 -0
- package/dist/src/services/historyImport/index.cjs +8 -0
- package/dist/src/services/historyImport/index.cjs.map +1 -0
- package/dist/src/services/historyImport/index.d.mts +68 -0
- package/dist/src/services/historyImport/index.d.mts.map +1 -0
- package/dist/src/services/historyImport/index.mjs +8 -0
- package/dist/src/services/historyImport/index.mjs.map +1 -0
- package/dist/src/services/hubChannelHarness/index.cjs +50 -0
- package/dist/src/services/hubChannelHarness/index.cjs.map +1 -0
- package/dist/src/services/hubChannelHarness/index.d.mts +17 -0
- package/dist/src/services/hubChannelHarness/index.d.mts.map +1 -0
- package/dist/src/services/hubChannelHarness/index.mjs +50 -0
- package/dist/src/services/hubChannelHarness/index.mjs.map +1 -0
- package/dist/src/services/kernel/index.cjs +147 -0
- package/dist/src/services/kernel/index.cjs.map +1 -0
- package/dist/src/services/kernel/index.d.mts +9 -0
- package/dist/src/services/kernel/index.d.mts.map +1 -0
- package/dist/src/services/kernel/index.mjs +147 -0
- package/dist/src/services/kernel/index.mjs.map +1 -0
- package/dist/src/services/loginFlow/index.cjs +131 -0
- package/dist/src/services/loginFlow/index.cjs.map +1 -0
- package/dist/src/services/loginFlow/index.mjs +131 -0
- package/dist/src/services/loginFlow/index.mjs.map +1 -0
- package/dist/src/services/loopbackAddress/index.cjs +58 -0
- package/dist/src/services/loopbackAddress/index.cjs.map +1 -0
- package/dist/src/services/loopbackAddress/index.mjs +56 -0
- package/dist/src/services/loopbackAddress/index.mjs.map +1 -0
- package/dist/src/services/openSessionRegistry/index.cjs +134 -0
- package/dist/src/services/openSessionRegistry/index.cjs.map +1 -0
- package/dist/src/services/openSessionRegistry/index.d.mts +36 -0
- package/dist/src/services/openSessionRegistry/index.d.mts.map +1 -0
- package/dist/src/services/openSessionRegistry/index.mjs +131 -0
- package/dist/src/services/openSessionRegistry/index.mjs.map +1 -0
- package/dist/src/services/packageApiHarness/index.cjs +36 -0
- package/dist/src/services/packageApiHarness/index.cjs.map +1 -0
- package/dist/src/services/packageApiHarness/index.d.mts +40 -0
- package/dist/src/services/packageApiHarness/index.d.mts.map +1 -0
- package/dist/src/services/packageApiHarness/index.mjs +36 -0
- package/dist/src/services/packageApiHarness/index.mjs.map +1 -0
- package/dist/src/services/packageResource/index.cjs +54 -0
- package/dist/src/services/packageResource/index.cjs.map +1 -0
- package/dist/src/services/packageResource/index.d.mts +26 -0
- package/dist/src/services/packageResource/index.d.mts.map +1 -0
- package/dist/src/services/packageResource/index.mjs +51 -0
- package/dist/src/services/packageResource/index.mjs.map +1 -0
- package/dist/src/services/pairingFlow/index.cjs +145 -0
- package/dist/src/services/pairingFlow/index.cjs.map +1 -0
- package/dist/src/services/pairingFlow/index.d.mts +44 -0
- package/dist/src/services/pairingFlow/index.d.mts.map +1 -0
- package/dist/src/services/pairingFlow/index.mjs +145 -0
- package/dist/src/services/pairingFlow/index.mjs.map +1 -0
- package/dist/src/services/pairingPage/index.cjs +450 -0
- package/dist/src/services/pairingPage/index.cjs.map +1 -0
- package/dist/src/services/pairingPage/index.mjs +447 -0
- package/dist/src/services/pairingPage/index.mjs.map +1 -0
- package/dist/src/services/piExtensionHost/index.cjs +889 -0
- package/dist/src/services/piExtensionHost/index.cjs.map +1 -0
- package/dist/src/services/piExtensionHost/index.mjs +885 -0
- package/dist/src/services/piExtensionHost/index.mjs.map +1 -0
- package/dist/src/services/piHelpTools/index.cjs +68 -0
- package/dist/src/services/piHelpTools/index.cjs.map +1 -0
- package/dist/src/services/piHelpTools/index.d.mts +10 -0
- package/dist/src/services/piHelpTools/index.d.mts.map +1 -0
- package/dist/src/services/piHelpTools/index.mjs +68 -0
- package/dist/src/services/piHelpTools/index.mjs.map +1 -0
- package/dist/src/services/piSessionEntries/index.cjs +121 -0
- package/dist/src/services/piSessionEntries/index.cjs.map +1 -0
- package/dist/src/services/piSessionEntries/index.mjs +117 -0
- package/dist/src/services/piSessionEntries/index.mjs.map +1 -0
- package/dist/src/services/pluginLifecycle/index.cjs +71 -0
- package/dist/src/services/pluginLifecycle/index.cjs.map +1 -0
- package/dist/src/services/pluginLifecycle/index.d.mts +8 -0
- package/dist/src/services/pluginLifecycle/index.d.mts.map +1 -0
- package/dist/src/services/pluginLifecycle/index.mjs +71 -0
- package/dist/src/services/pluginLifecycle/index.mjs.map +1 -0
- package/dist/src/services/providerAuth/index.cjs +156 -0
- package/dist/src/services/providerAuth/index.cjs.map +1 -0
- package/dist/src/services/providerAuth/index.mjs +154 -0
- package/dist/src/services/providerAuth/index.mjs.map +1 -0
- package/dist/src/services/publicFileShares/index.cjs +192 -0
- package/dist/src/services/publicFileShares/index.cjs.map +1 -0
- package/dist/src/services/publicFileShares/index.d.mts +16 -0
- package/dist/src/services/publicFileShares/index.d.mts.map +1 -0
- package/dist/src/services/publicFileShares/index.mjs +188 -0
- package/dist/src/services/publicFileShares/index.mjs.map +1 -0
- package/dist/src/services/remoteAccess/index.cjs +567 -0
- package/dist/src/services/remoteAccess/index.cjs.map +1 -0
- package/dist/src/services/remoteAccess/index.d.mts +121 -0
- package/dist/src/services/remoteAccess/index.d.mts.map +1 -0
- package/dist/src/services/remoteAccess/index.mjs +567 -0
- package/dist/src/services/remoteAccess/index.mjs.map +1 -0
- package/dist/src/services/remoteAccessSettings/index.cjs +151 -0
- package/dist/src/services/remoteAccessSettings/index.cjs.map +1 -0
- package/dist/src/services/remoteAccessSettings/index.mjs +149 -0
- package/dist/src/services/remoteAccessSettings/index.mjs.map +1 -0
- package/dist/src/services/remoteAccessStore/index.cjs +197 -0
- package/dist/src/services/remoteAccessStore/index.cjs.map +1 -0
- package/dist/src/services/remoteAccessStore/index.mjs +192 -0
- package/dist/src/services/remoteAccessStore/index.mjs.map +1 -0
- package/dist/src/services/remoteGuardPolicy/index.cjs +200 -0
- package/dist/src/services/remoteGuardPolicy/index.cjs.map +1 -0
- package/dist/src/services/remoteGuardPolicy/index.d.mts +7 -0
- package/dist/src/services/remoteGuardPolicy/index.d.mts.map +1 -0
- package/dist/src/services/remoteGuardPolicy/index.mjs +196 -0
- package/dist/src/services/remoteGuardPolicy/index.mjs.map +1 -0
- package/dist/src/services/requestReceipts/index.cjs +167 -0
- package/dist/src/services/requestReceipts/index.cjs.map +1 -0
- package/dist/src/services/requestReceipts/index.d.mts +11 -0
- package/dist/src/services/requestReceipts/index.d.mts.map +1 -0
- package/dist/src/services/requestReceipts/index.mjs +167 -0
- package/dist/src/services/requestReceipts/index.mjs.map +1 -0
- package/dist/src/services/rpcTranscript/index.cjs +633 -0
- package/dist/src/services/rpcTranscript/index.cjs.map +1 -0
- package/dist/src/services/rpcTranscript/index.d.mts +50 -0
- package/dist/src/services/rpcTranscript/index.d.mts.map +1 -0
- package/dist/src/services/rpcTranscript/index.mjs +632 -0
- package/dist/src/services/rpcTranscript/index.mjs.map +1 -0
- package/dist/src/services/serverFacet/index.cjs +197 -0
- package/dist/src/services/serverFacet/index.cjs.map +1 -0
- package/dist/src/services/serverFacet/index.d.mts +31 -0
- package/dist/src/services/serverFacet/index.d.mts.map +1 -0
- package/dist/src/services/serverFacet/index.mjs +197 -0
- package/dist/src/services/serverFacet/index.mjs.map +1 -0
- package/dist/src/services/sessionAttachments/index.cjs +111 -0
- package/dist/src/services/sessionAttachments/index.cjs.map +1 -0
- package/dist/src/services/sessionAttachments/index.d.mts +11 -0
- package/dist/src/services/sessionAttachments/index.d.mts.map +1 -0
- package/dist/src/services/sessionAttachments/index.mjs +107 -0
- package/dist/src/services/sessionAttachments/index.mjs.map +1 -0
- package/dist/src/services/sessionGitStatus/index.cjs +46 -0
- package/dist/src/services/sessionGitStatus/index.cjs.map +1 -0
- package/dist/src/services/sessionGitStatus/index.mjs +46 -0
- package/dist/src/services/sessionGitStatus/index.mjs.map +1 -0
- package/dist/src/services/sessionGitStatus/type.d.mts +8 -0
- package/dist/src/services/sessionGitStatus/type.d.mts.map +1 -0
- package/dist/src/services/sessionMcpActivity/index.cjs +115 -0
- package/dist/src/services/sessionMcpActivity/index.cjs.map +1 -0
- package/dist/src/services/sessionMcpActivity/index.mjs +111 -0
- package/dist/src/services/sessionMcpActivity/index.mjs.map +1 -0
- package/dist/src/services/sessionMcpAuthorization/index.cjs +473 -0
- package/dist/src/services/sessionMcpAuthorization/index.cjs.map +1 -0
- package/dist/src/services/sessionMcpAuthorization/index.d.mts +125 -0
- package/dist/src/services/sessionMcpAuthorization/index.d.mts.map +1 -0
- package/dist/src/services/sessionMcpAuthorization/index.mjs +469 -0
- package/dist/src/services/sessionMcpAuthorization/index.mjs.map +1 -0
- package/dist/src/services/sessionMcpConversations/index.cjs +217 -0
- package/dist/src/services/sessionMcpConversations/index.cjs.map +1 -0
- package/dist/src/services/sessionMcpConversations/index.mjs +212 -0
- package/dist/src/services/sessionMcpConversations/index.mjs.map +1 -0
- package/dist/src/services/sessionMcpRegistrationStore/index.cjs +86 -0
- package/dist/src/services/sessionMcpRegistrationStore/index.cjs.map +1 -0
- package/dist/src/services/sessionMcpRegistrationStore/index.mjs +83 -0
- package/dist/src/services/sessionMcpRegistrationStore/index.mjs.map +1 -0
- package/dist/src/services/sessionPresentation/index.cjs +120 -0
- package/dist/src/services/sessionPresentation/index.cjs.map +1 -0
- package/dist/src/services/sessionPresentation/index.mjs +120 -0
- package/dist/src/services/sessionPresentation/index.mjs.map +1 -0
- package/dist/src/services/sqliteSessionHistory/index.cjs +97 -0
- package/dist/src/services/sqliteSessionHistory/index.cjs.map +1 -0
- package/dist/src/services/sqliteSessionHistory/index.d.mts +28 -0
- package/dist/src/services/sqliteSessionHistory/index.d.mts.map +1 -0
- package/dist/src/services/sqliteSessionHistory/index.mjs +92 -0
- package/dist/src/services/sqliteSessionHistory/index.mjs.map +1 -0
- package/dist/src/services/sqliteTranscriptReader/index.cjs +67 -0
- package/dist/src/services/sqliteTranscriptReader/index.cjs.map +1 -0
- package/dist/src/services/sqliteTranscriptReader/index.d.mts +14 -0
- package/dist/src/services/sqliteTranscriptReader/index.d.mts.map +1 -0
- package/dist/src/services/sqliteTranscriptReader/index.mjs +65 -0
- package/dist/src/services/sqliteTranscriptReader/index.mjs.map +1 -0
- package/dist/src/services/toolCost/index.cjs +47 -0
- package/dist/src/services/toolCost/index.cjs.map +1 -0
- package/dist/src/services/toolCost/index.d.mts +38 -0
- package/dist/src/services/toolCost/index.d.mts.map +1 -0
- package/dist/src/services/toolCost/index.mjs +46 -0
- package/dist/src/services/toolCost/index.mjs.map +1 -0
- package/dist/src/services/toolOverrides/index.cjs +45 -0
- package/dist/src/services/toolOverrides/index.cjs.map +1 -0
- package/dist/src/services/toolOverrides/index.d.mts +6 -0
- package/dist/src/services/toolOverrides/index.d.mts.map +1 -0
- package/dist/src/services/toolOverrides/index.mjs +45 -0
- package/dist/src/services/toolOverrides/index.mjs.map +1 -0
- package/dist/src/services/toolPrompt/index.cjs +13 -0
- package/dist/src/services/toolPrompt/index.cjs.map +1 -0
- package/dist/src/services/toolPrompt/index.mjs +13 -0
- package/dist/src/services/toolPrompt/index.mjs.map +1 -0
- package/dist/src/services/toolSurface/index.cjs +134 -0
- package/dist/src/services/toolSurface/index.cjs.map +1 -0
- package/dist/src/services/toolSurface/index.d.mts +19 -0
- package/dist/src/services/toolSurface/index.d.mts.map +1 -0
- package/dist/src/services/toolSurface/index.mjs +134 -0
- package/dist/src/services/toolSurface/index.mjs.map +1 -0
- package/dist/src/services/traceContext/index.cjs +13 -0
- package/dist/src/services/traceContext/index.cjs.map +1 -0
- package/dist/src/services/traceContext/index.mjs +13 -0
- package/dist/src/services/traceContext/index.mjs.map +1 -0
- package/dist/src/services/transcriptPages/index.cjs +117 -0
- package/dist/src/services/transcriptPages/index.cjs.map +1 -0
- package/dist/src/services/transcriptPages/index.mjs +115 -0
- package/dist/src/services/transcriptPages/index.mjs.map +1 -0
- package/dist/src/services/tunnelOutput/index.cjs +58 -0
- package/dist/src/services/tunnelOutput/index.cjs.map +1 -0
- package/dist/src/services/tunnelOutput/index.mjs +54 -0
- package/dist/src/services/tunnelOutput/index.mjs.map +1 -0
- package/dist/src/services/tunnelProcess/index.cjs +487 -0
- package/dist/src/services/tunnelProcess/index.cjs.map +1 -0
- package/dist/src/services/tunnelProcess/index.mjs +481 -0
- package/dist/src/services/tunnelProcess/index.mjs.map +1 -0
- package/dist/src/services/voiceReloadHandoff/index.cjs +136 -0
- package/dist/src/services/voiceReloadHandoff/index.cjs.map +1 -0
- package/dist/src/services/voiceReloadHandoff/index.d.mts +34 -0
- package/dist/src/services/voiceReloadHandoff/index.d.mts.map +1 -0
- package/dist/src/services/voiceReloadHandoff/index.mjs +135 -0
- package/dist/src/services/voiceReloadHandoff/index.mjs.map +1 -0
- package/dist/src/services/voiceToolsContract/index.cjs +26 -0
- package/dist/src/services/voiceToolsContract/index.cjs.map +1 -0
- package/dist/src/services/voiceToolsContract/index.d.mts +76 -0
- package/dist/src/services/voiceToolsContract/index.d.mts.map +1 -0
- package/dist/src/services/voiceToolsContract/index.mjs +24 -0
- package/dist/src/services/voiceToolsContract/index.mjs.map +1 -0
- package/dist/src/services/webauthn/index.cjs +262 -0
- package/dist/src/services/webauthn/index.cjs.map +1 -0
- package/dist/src/services/webauthn/index.d.mts +39 -0
- package/dist/src/services/webauthn/index.d.mts.map +1 -0
- package/dist/src/services/webauthn/index.mjs +262 -0
- package/dist/src/services/webauthn/index.mjs.map +1 -0
- package/dist/src/services/webauthnPolicy/index.cjs +174 -0
- package/dist/src/services/webauthnPolicy/index.cjs.map +1 -0
- package/dist/src/services/webauthnPolicy/index.d.mts +41 -0
- package/dist/src/services/webauthnPolicy/index.d.mts.map +1 -0
- package/dist/src/services/webauthnPolicy/index.mjs +167 -0
- package/dist/src/services/webauthnPolicy/index.mjs.map +1 -0
- package/dist/src/services/workspaceRegistry/index.cjs +187 -0
- package/dist/src/services/workspaceRegistry/index.cjs.map +1 -0
- package/dist/src/services/workspaceRegistry/index.d.mts +47 -0
- package/dist/src/services/workspaceRegistry/index.d.mts.map +1 -0
- package/dist/src/services/workspaceRegistry/index.mjs +179 -0
- package/dist/src/services/workspaceRegistry/index.mjs.map +1 -0
- package/dist/src/systems/child/adapters/headlessChildSessionService.cjs +466 -0
- package/dist/src/systems/child/adapters/headlessChildSessionService.cjs.map +1 -0
- package/dist/src/systems/child/adapters/headlessChildSessionService.d.mts +36 -0
- package/dist/src/systems/child/adapters/headlessChildSessionService.d.mts.map +1 -0
- package/dist/src/systems/child/adapters/headlessChildSessionService.mjs +457 -0
- package/dist/src/systems/child/adapters/headlessChildSessionService.mjs.map +1 -0
- package/dist/src/systems/child/adapters/nativeChildRuntimes.cjs +28 -0
- package/dist/src/systems/child/adapters/nativeChildRuntimes.cjs.map +1 -0
- package/dist/src/systems/child/adapters/nativeChildRuntimes.mjs +25 -0
- package/dist/src/systems/child/adapters/nativeChildRuntimes.mjs.map +1 -0
- package/dist/src/systems/child/services/childSession/index.cjs +219 -0
- package/dist/src/systems/child/services/childSession/index.cjs.map +1 -0
- package/dist/src/systems/child/services/childSession/index.d.mts +14 -0
- package/dist/src/systems/child/services/childSession/index.d.mts.map +1 -0
- package/dist/src/systems/child/services/childSession/index.mjs +219 -0
- package/dist/src/systems/child/services/childSession/index.mjs.map +1 -0
- package/dist/src/systems/child/types/childSession.cjs +21 -0
- package/dist/src/systems/child/types/childSession.cjs.map +1 -0
- package/dist/src/systems/child/types/childSession.d.mts +182 -0
- package/dist/src/systems/child/types/childSession.d.mts.map +1 -0
- package/dist/src/systems/child/types/childSession.mjs +17 -0
- package/dist/src/systems/child/types/childSession.mjs.map +1 -0
- package/dist/src/systems/main/adapters/headlessHost.cjs +597 -0
- package/dist/src/systems/main/adapters/headlessHost.cjs.map +1 -0
- package/dist/src/systems/main/adapters/headlessHost.d.mts +116 -0
- package/dist/src/systems/main/adapters/headlessHost.d.mts.map +1 -0
- package/dist/src/systems/main/adapters/headlessHost.mjs +595 -0
- package/dist/src/systems/main/adapters/headlessHost.mjs.map +1 -0
- package/dist/src/systems/main/adapters/headlessSessionHost.cjs +1668 -0
- package/dist/src/systems/main/adapters/headlessSessionHost.cjs.map +1 -0
- package/dist/src/systems/main/adapters/headlessSessionHost.d.mts +20 -0
- package/dist/src/systems/main/adapters/headlessSessionHost.d.mts.map +1 -0
- package/dist/src/systems/main/adapters/headlessSessionHost.mjs +1663 -0
- package/dist/src/systems/main/adapters/headlessSessionHost.mjs.map +1 -0
- package/dist/src/systems/main/types/headlessHost.d.mts +37 -0
- package/dist/src/systems/main/types/headlessHost.d.mts.map +1 -0
- package/dist/src/testing/pi/extensionScenarios.cjs +73 -0
- package/dist/src/testing/pi/extensionScenarios.cjs.map +1 -0
- package/dist/src/testing/pi/extensionScenarios.d.mts +41 -0
- package/dist/src/testing/pi/extensionScenarios.d.mts.map +1 -0
- package/dist/src/testing/pi/extensionScenarios.mjs +73 -0
- package/dist/src/testing/pi/extensionScenarios.mjs.map +1 -0
- package/dist/src/testing/pi/testHost.cjs +399 -0
- package/dist/src/testing/pi/testHost.cjs.map +1 -0
- package/dist/src/testing/pi/testHost.d.mts +160 -0
- package/dist/src/testing/pi/testHost.d.mts.map +1 -0
- package/dist/src/testing/pi/testHost.mjs +399 -0
- package/dist/src/testing/pi/testHost.mjs.map +1 -0
- package/dist/src/types/config.d.mts +20 -0
- package/dist/src/types/config.d.mts.map +1 -0
- package/dist/src/types/kernel.d.mts +69 -0
- package/dist/src/types/kernel.d.mts.map +1 -0
- package/dist/src/types/remote.d.mts +152 -0
- package/dist/src/types/remote.d.mts.map +1 -0
- package/dist/src/types/server/directHarnessRuntime.d.mts +526 -0
- package/dist/src/types/server/directHarnessRuntime.d.mts.map +1 -0
- package/dist/src/types/server/session.d.mts +5 -0
- package/dist/src/types/server/session.d.mts.map +1 -0
- package/dist/src/types/server/sessionToolSurface.d.mts +44 -0
- package/dist/src/types/server/sessionToolSurface.d.mts.map +1 -0
- package/dist/src/web/models/globalStore.cjs +23 -0
- package/dist/src/web/models/globalStore.cjs.map +1 -0
- package/dist/src/web/models/globalStore.d.mts +6 -0
- package/dist/src/web/models/globalStore.d.mts.map +1 -0
- package/dist/src/web/models/globalStore.mjs +23 -0
- package/dist/src/web/models/globalStore.mjs.map +1 -0
- package/dist/src/web/models/sessionStore.cjs +56 -0
- package/dist/src/web/models/sessionStore.cjs.map +1 -0
- package/dist/src/web/models/sessionStore.d.mts +14 -0
- package/dist/src/web/models/sessionStore.d.mts.map +1 -0
- package/dist/src/web/models/sessionStore.mjs +56 -0
- package/dist/src/web/models/sessionStore.mjs.map +1 -0
- package/dist/src/web/models/workspaceStore.cjs +50 -0
- package/dist/src/web/models/workspaceStore.cjs.map +1 -0
- package/dist/src/web/models/workspaceStore.d.mts +18 -0
- package/dist/src/web/models/workspaceStore.d.mts.map +1 -0
- package/dist/src/web/models/workspaceStore.mjs +50 -0
- package/dist/src/web/models/workspaceStore.mjs.map +1 -0
- package/dist/src/web/schemas/bundleAssetPolicy.cjs +20 -0
- package/dist/src/web/schemas/bundleAssetPolicy.cjs.map +1 -0
- package/dist/src/web/schemas/bundleAssetPolicy.d.mts +10 -0
- package/dist/src/web/schemas/bundleAssetPolicy.d.mts.map +1 -0
- package/dist/src/web/schemas/bundleAssetPolicy.mjs +18 -0
- package/dist/src/web/schemas/bundleAssetPolicy.mjs.map +1 -0
- package/dist/src/web/schemas/template.cjs +35 -0
- package/dist/src/web/schemas/template.cjs.map +1 -0
- package/dist/src/web/schemas/template.d.mts +9 -0
- package/dist/src/web/schemas/template.d.mts.map +1 -0
- package/dist/src/web/schemas/template.mjs +34 -0
- package/dist/src/web/schemas/template.mjs.map +1 -0
- package/dist/src/web/services/apiClient/index.cjs +156 -0
- package/dist/src/web/services/apiClient/index.cjs.map +1 -0
- package/dist/src/web/services/apiClient/index.d.mts +152 -0
- package/dist/src/web/services/apiClient/index.d.mts.map +1 -0
- package/dist/src/web/services/apiClient/index.mjs +154 -0
- package/dist/src/web/services/apiClient/index.mjs.map +1 -0
- package/dist/src/web/services/apiPaths/index.cjs +83 -0
- package/dist/src/web/services/apiPaths/index.cjs.map +1 -0
- package/dist/src/web/services/apiPaths/index.d.mts +81 -0
- package/dist/src/web/services/apiPaths/index.d.mts.map +1 -0
- package/dist/src/web/services/apiPaths/index.mjs +78 -0
- package/dist/src/web/services/apiPaths/index.mjs.map +1 -0
- package/dist/src/web/services/apiRoutes/index.cjs +47 -0
- package/dist/src/web/services/apiRoutes/index.cjs.map +1 -0
- package/dist/src/web/services/apiRoutes/index.d.mts +21 -0
- package/dist/src/web/services/apiRoutes/index.d.mts.map +1 -0
- package/dist/src/web/services/apiRoutes/index.mjs +43 -0
- package/dist/src/web/services/apiRoutes/index.mjs.map +1 -0
- package/dist/src/web/services/mcpWidget.cjs +9 -0
- package/dist/src/web/services/mcpWidget.cjs.map +1 -0
- package/dist/src/web/services/mcpWidget.d.mts +6 -0
- package/dist/src/web/services/mcpWidget.d.mts.map +1 -0
- package/dist/src/web/services/mcpWidget.mjs +9 -0
- package/dist/src/web/services/mcpWidget.mjs.map +1 -0
- package/dist/src/web/services/sessionRegistry/index.cjs +70 -0
- package/dist/src/web/services/sessionRegistry/index.cjs.map +1 -0
- package/dist/src/web/services/sessionRegistry/index.d.mts +29 -0
- package/dist/src/web/services/sessionRegistry/index.d.mts.map +1 -0
- package/dist/src/web/services/sessionRegistry/index.mjs +66 -0
- package/dist/src/web/services/sessionRegistry/index.mjs.map +1 -0
- package/dist/src/web/services/testing/channels.cjs +11 -0
- package/dist/src/web/services/testing/channels.cjs.map +1 -0
- package/dist/src/web/services/testing/channels.d.mts +8 -0
- package/dist/src/web/services/testing/channels.d.mts.map +1 -0
- package/dist/src/web/services/testing/channels.mjs +11 -0
- package/dist/src/web/services/testing/channels.mjs.map +1 -0
- package/dist/src/web/services/testing/index.cjs +27 -0
- package/dist/src/web/services/testing/index.cjs.map +1 -0
- package/dist/src/web/services/testing/index.d.mts +31 -0
- package/dist/src/web/services/testing/index.d.mts.map +1 -0
- package/dist/src/web/services/testing/index.mjs +27 -0
- package/dist/src/web/services/testing/index.mjs.map +1 -0
- package/dist/src/web/services/testing/rpcStub.cjs +58 -0
- package/dist/src/web/services/testing/rpcStub.cjs.map +1 -0
- package/dist/src/web/services/testing/rpcStub.d.mts +37 -0
- package/dist/src/web/services/testing/rpcStub.d.mts.map +1 -0
- package/dist/src/web/services/testing/rpcStub.mjs +58 -0
- package/dist/src/web/services/testing/rpcStub.mjs.map +1 -0
- package/dist/src/web/services/testing/slotProps.cjs +97 -0
- package/dist/src/web/services/testing/slotProps.cjs.map +1 -0
- package/dist/src/web/services/testing/slotProps.d.mts +69 -0
- package/dist/src/web/services/testing/slotProps.d.mts.map +1 -0
- package/dist/src/web/services/testing/slotProps.mjs +96 -0
- package/dist/src/web/services/testing/slotProps.mjs.map +1 -0
- package/dist/src/web/services/testing/templateRail.cjs +156 -0
- package/dist/src/web/services/testing/templateRail.cjs.map +1 -0
- package/dist/src/web/services/testing/templateRail.d.mts +32 -0
- package/dist/src/web/services/testing/templateRail.d.mts.map +1 -0
- package/dist/src/web/services/testing/templateRail.mjs +154 -0
- package/dist/src/web/services/testing/templateRail.mjs.map +1 -0
- package/dist/src/web/services/toolResult/index.cjs +30 -0
- package/dist/src/web/services/toolResult/index.cjs.map +1 -0
- package/dist/src/web/services/toolResult/index.d.mts +14 -0
- package/dist/src/web/services/toolResult/index.d.mts.map +1 -0
- package/dist/src/web/services/toolResult/index.mjs +29 -0
- package/dist/src/web/services/toolResult/index.mjs.map +1 -0
- package/dist/src/web/types/extensionFile.d.mts +62 -0
- package/dist/src/web/types/extensionFile.d.mts.map +1 -0
- package/dist/src/web/types/mcpWidget.d.mts +14 -0
- package/dist/src/web/types/mcpWidget.d.mts.map +1 -0
- package/dist/src/web/types/modelContext.d.mts +43 -0
- package/dist/src/web/types/modelContext.d.mts.map +1 -0
- package/dist/src/web/types/nativeTemplate.d.mts +29 -0
- package/dist/src/web/types/nativeTemplate.d.mts.map +1 -0
- package/dist/src/web/types/sessionRegistry.d.mts +46 -0
- package/dist/src/web/types/sessionRegistry.d.mts.map +1 -0
- package/dist/src/web/types/template.d.mts +135 -0
- package/dist/src/web/types/template.d.mts.map +1 -0
- package/dist/src/web/types/webPlugin.d.mts +915 -0
- package/dist/src/web/types/webPlugin.d.mts.map +1 -0
- package/dist/terminalPiChildSessionService.cjs +324 -0
- package/dist/terminalPiChildSessionService.cjs.map +1 -0
- package/dist/terminalPiChildSessionService.d.mts +46 -0
- package/dist/terminalPiChildSessionService.d.mts.map +1 -0
- package/dist/terminalPiChildSessionService.mjs +318 -0
- package/dist/terminalPiChildSessionService.mjs.map +1 -0
- package/dist/testing.cjs +11 -0
- package/dist/testing.d.mts +6 -0
- package/dist/testing.mjs +6 -0
- package/dist/toolInventory.cjs +136 -0
- package/dist/toolInventory.cjs.map +1 -0
- package/dist/toolInventory.d.mts +66 -0
- package/dist/toolInventory.d.mts.map +1 -0
- package/dist/toolInventory.mjs +133 -0
- package/dist/toolInventory.mjs.map +1 -0
- package/dist/toolNames.cjs +4 -0
- package/dist/toolNames.d.mts +2 -0
- package/dist/toolNames.mjs +2 -0
- package/dist/toolOverrides.cjs +7 -0
- package/dist/toolOverrides.d.mts +3 -0
- package/dist/toolOverrides.mjs +3 -0
- package/dist/toolSurface.cjs +7 -0
- package/dist/toolSurface.d.mts +3 -0
- package/dist/toolSurface.mjs +3 -0
- package/dist/transition.cjs +5 -0
- package/dist/transition.d.cjs +5 -0
- package/dist/transition.d.mts +2 -0
- package/dist/transition.mjs +2 -0
- package/dist/transitionClassifier.cjs +112 -0
- package/dist/transitionClassifier.cjs.map +1 -0
- package/dist/transitionClassifier.d.mts +18 -0
- package/dist/transitionClassifier.d.mts.map +1 -0
- package/dist/transitionClassifier.mjs +111 -0
- package/dist/transitionClassifier.mjs.map +1 -0
- package/dist/transitionCoordinator.cjs +131 -0
- package/dist/transitionCoordinator.cjs.map +1 -0
- package/dist/transitionCoordinator.d.mts +16 -0
- package/dist/transitionCoordinator.d.mts.map +1 -0
- package/dist/transitionCoordinator.mjs +130 -0
- package/dist/transitionCoordinator.mjs.map +1 -0
- package/dist/typesContextApi.cjs +0 -0
- package/dist/typesContextApi.d.mts +79 -0
- package/dist/typesContextApi.d.mts.map +1 -0
- package/dist/typesContextApi.mjs +1 -0
- package/dist/uiHub.cjs +5 -0
- package/dist/uiHub.d.mts +2 -0
- package/dist/uiHub.mjs +2 -0
- package/dist/v3Export.cjs +10 -0
- package/dist/v3Export.cjs.map +1 -0
- package/dist/v3Export.d.mts +35 -0
- package/dist/v3Export.d.mts.map +1 -0
- package/dist/v3Export.mjs +9 -0
- package/dist/v3Export.mjs.map +1 -0
- package/dist/voiceReloadHandoff.cjs +14 -0
- package/dist/voiceReloadHandoff.d.mts +4 -0
- package/dist/voiceReloadHandoff.mjs +4 -0
- package/dist/voiceTools.cjs +56 -0
- package/dist/voiceTools.d.mts +4 -0
- package/dist/voiceTools.mjs +4 -0
- package/dist/web.cjs +65 -0
- package/dist/web.d.mts +20 -0
- package/dist/web.mjs +13 -0
- package/dist/webCompositions.cjs +181 -0
- package/dist/webCompositions.cjs.map +1 -0
- package/dist/webCompositions.d.mts +79 -0
- package/dist/webCompositions.d.mts.map +1 -0
- package/dist/webCompositions.mjs +174 -0
- package/dist/webCompositions.mjs.map +1 -0
- package/dist/webTesting.cjs +14 -0
- package/dist/webTesting.d.mts +6 -0
- package/dist/webTesting.mjs +6 -0
- package/package.json +586 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serverPlugin.cjs","names":["DOOM_SERVER_HOST_SERVICE","requireDoomServerHost","readDoomHeadlessHost","createPluginLifecycle"],"sources":["../../../src/extensions/serverPlugin.ts"],"sourcesContent":["import { readDoomHeadlessHost } from '../schemas/headless';\nimport {\n DOOM_SERVER_HOST_SERVICE,\n requireDoomServerHost,\n type DoomServerFacet,\n type DoomServerPluginDefinition,\n type DoomServerPluginContext,\n type DoomServerSessionPlugin,\n} from '../schemas/serverFacet';\nimport { createPluginLifecycle } from '../services/pluginLifecycle';\n\nexport function defineServerPlugin(plugin: DoomServerPluginDefinition): DoomServerFacet {\n return {\n ...(plugin.providerOverrides ? { providerOverrides: plugin.providerOverrides } : {}),\n inject: [...new Set([DOOM_SERVER_HOST_SERVICE, ...(plugin.inject ?? [])])],\n async apply(context) {\n const host = requireDoomServerHost(context);\n const declaration = plugin[host.scope];\n if (!declaration) return;\n const agent = host.scope === 'session' ? readDoomHeadlessHost(context) : undefined;\n const lifecycle = createPluginLifecycle<DoomServerPluginContext>((signal) => ({ context, host, agent, signal }));\n context.effect(() => () => lifecycle.dispose());\n const own = <T extends { dispose(): void | Promise<void>; mounted?: boolean }>(registration: T): void => {\n lifecycle.own(() => registration.dispose());\n if ('mounted' in registration && registration.mounted === false)\n throw new Error('Server plugin registration was refused.');\n };\n await lifecycle.mount(\n () => (typeof declaration === 'function' ? declaration(lifecycle.context) : declaration),\n async (scope) => {\n for (const service of scope.services ?? []) {\n const fiber = context.plugin(service);\n lifecycle.own(() => fiber.dispose());\n await fiber;\n }\n for (const channel of scope.channels ?? []) own(host.registerChannel(channel()));\n for (const api of scope.api ?? []) own(host.registerApi(api));\n for (const method of scope.methods ?? []) own(method.register(host));\n if (!agent) return;\n const session: DoomServerSessionPlugin = scope;\n for (const restriction of session.toolRestrictions ?? []) {\n if (!('restrict' in restriction)) {\n own(agent.registerToolRestriction(restriction));\n continue;\n }\n let registration: ReturnType<typeof agent.registerToolRestriction> | undefined;\n lifecycle.own(() => {\n const current = registration;\n registration = undefined;\n return current?.dispose();\n });\n const refresh = (): void => {\n if (lifecycle.context.signal.aborted) return;\n const previous = registration;\n registration = undefined;\n previous?.dispose();\n registration = agent.registerToolRestriction(restriction.restrict());\n if ('mounted' in registration && registration.mounted === false)\n throw new Error(`Server tool restriction ${restriction.source} was refused.`);\n };\n refresh();\n const unsubscribe = restriction.subscribe?.(refresh);\n if (unsubscribe) lifecycle.own(unsubscribe);\n }\n for (const resource of session.resources ?? []) {\n // Generated optional and many-valued contributions can leave an undefined\n // member when a package has no resource for the current runtime.\n if (resource !== undefined) own(agent.registerResource(resource));\n }\n for (const tool of session.tools ?? []) {\n if ('kind' in tool) {\n own(\n agent.registerTool({\n ...tool,\n async execute(toolCallId, input, signal, update, execution) {\n const invocationSignal = signal\n ? AbortSignal.any([signal, lifecycle.context.signal])\n : lifecycle.context.signal;\n invocationSignal.throwIfAborted();\n try {\n return await tool.execute(input, {\n toolCallId,\n signal: invocationSignal,\n cwd: execution.cwd,\n update: (result) => update?.(result),\n notify: (request) => execution.client.notify(request),\n });\n } catch (error) {\n return {\n content: [{ type: 'text', text: error instanceof Error ? error.message : String(error) }],\n isError: true,\n };\n }\n },\n }),\n );\n } else own(agent.registerTool(tool));\n }\n for (const command of session.commands ?? []) {\n if ('kind' in command) {\n own(\n agent.registerCommand({\n ...command,\n execute: (args, execution) => {\n lifecycle.context.signal.throwIfAborted();\n return command.execute(args, {\n cwd: execution.cwd,\n signal: lifecycle.context.signal,\n notify: (request) => execution.client.notify(request),\n });\n },\n }),\n );\n } else own(agent.registerCommand(command));\n }\n for (const hook of session.hooks ?? []) own(agent.registerHook(hook));\n for (const activity of session.activities ?? []) own(agent.registerActivity(activity));\n },\n );\n return () => lifecycle.dispose();\n },\n };\n}\n"],"mappings":";;;;AAWA,SAAgB,mBAAmB,QAAqD;CACtF,OAAO;EACL,GAAI,OAAO,oBAAoB,EAAE,mBAAmB,OAAO,kBAAkB,IAAI,CAAC;EAClF,QAAQ,CAAC,mBAAG,IAAI,IAAI,CAACA,oBAAAA,0BAA0B,GAAI,OAAO,UAAU,CAAC,CAAE,CAAC,CAAC;EACzE,MAAM,MAAM,SAAS;GACnB,MAAM,OAAOC,oBAAAA,sBAAsB,OAAO;GAC1C,MAAM,cAAc,OAAO,KAAK;GAChC,IAAI,CAAC,aAAa;GAClB,MAAM,QAAQ,KAAK,UAAU,YAAYC,iBAAAA,qBAAqB,OAAO,IAAI,KAAA;GACzE,MAAM,YAAYC,cAAAA,uBAAgD,YAAY;IAAE;IAAS;IAAM;IAAO;GAAO,EAAE;GAC/G,QAAQ,mBAAmB,UAAU,QAAQ,CAAC;GAC9C,MAAM,OAAyE,iBAA0B;IACvG,UAAU,UAAU,aAAa,QAAQ,CAAC;IAC1C,IAAI,aAAa,gBAAgB,aAAa,YAAY,OACxD,MAAM,IAAI,MAAM,yCAAyC;GAC7D;GACA,MAAM,UAAU,YACP,OAAO,gBAAgB,aAAa,YAAY,UAAU,OAAO,IAAI,aAC5E,OAAO,UAAU;IACf,KAAK,MAAM,WAAW,MAAM,YAAY,CAAC,GAAG;KAC1C,MAAM,QAAQ,QAAQ,OAAO,OAAO;KACpC,UAAU,UAAU,MAAM,QAAQ,CAAC;KACnC,MAAM;IACR;IACA,KAAK,MAAM,WAAW,MAAM,YAAY,CAAC,GAAG,IAAI,KAAK,gBAAgB,QAAQ,CAAC,CAAC;IAC/E,KAAK,MAAM,OAAO,MAAM,OAAO,CAAC,GAAG,IAAI,KAAK,YAAY,GAAG,CAAC;IAC5D,KAAK,MAAM,UAAU,MAAM,WAAW,CAAC,GAAG,IAAI,OAAO,SAAS,IAAI,CAAC;IACnE,IAAI,CAAC,OAAO;IACZ,MAAM,UAAmC;IACzC,KAAK,MAAM,eAAe,QAAQ,oBAAoB,CAAC,GAAG;KACxD,IAAI,EAAE,cAAc,cAAc;MAChC,IAAI,MAAM,wBAAwB,WAAW,CAAC;MAC9C;KACF;KACA,IAAI;KACJ,UAAU,UAAU;MAClB,MAAM,UAAU;MAChB,eAAe,KAAA;MACf,OAAO,SAAS,QAAQ;KAC1B,CAAC;KACD,MAAM,gBAAsB;MAC1B,IAAI,UAAU,QAAQ,OAAO,SAAS;MACtC,MAAM,WAAW;MACjB,eAAe,KAAA;MACf,UAAU,QAAQ;MAClB,eAAe,MAAM,wBAAwB,YAAY,SAAS,CAAC;MACnE,IAAI,aAAa,gBAAgB,aAAa,YAAY,OACxD,MAAM,IAAI,MAAM,2BAA2B,YAAY,OAAO,cAAc;KAChF;KACA,QAAQ;KACR,MAAM,cAAc,YAAY,YAAY,OAAO;KACnD,IAAI,aAAa,UAAU,IAAI,WAAW;IAC5C;IACA,KAAK,MAAM,YAAY,QAAQ,aAAa,CAAC,GAG3C,IAAI,aAAa,KAAA,GAAW,IAAI,MAAM,iBAAiB,QAAQ,CAAC;IAElE,KAAK,MAAM,QAAQ,QAAQ,SAAS,CAAC,GACnC,IAAI,UAAU,MACZ,IACE,MAAM,aAAa;KACjB,GAAG;KACH,MAAM,QAAQ,YAAY,OAAO,QAAQ,QAAQ,WAAW;MAC1D,MAAM,mBAAmB,SACrB,YAAY,IAAI,CAAC,QAAQ,UAAU,QAAQ,MAAM,CAAC,IAClD,UAAU,QAAQ;MACtB,iBAAiB,eAAe;MAChC,IAAI;OACF,OAAO,MAAM,KAAK,QAAQ,OAAO;QAC/B;QACA,QAAQ;QACR,KAAK,UAAU;QACf,SAAS,WAAW,SAAS,MAAM;QACnC,SAAS,YAAY,UAAU,OAAO,OAAO,OAAO;OACtD,CAAC;MACH,SAAS,OAAO;OACd,OAAO;QACL,SAAS,CAAC;SAAE,MAAM;SAAQ,MAAM,iBAAiB,QAAQ,MAAM,UAAU,OAAO,KAAK;QAAE,CAAC;QACxF,SAAS;OACX;MACF;KACF;IACF,CAAC,CACH;SACK,IAAI,MAAM,aAAa,IAAI,CAAC;IAErC,KAAK,MAAM,WAAW,QAAQ,YAAY,CAAC,GACzC,IAAI,UAAU,SACZ,IACE,MAAM,gBAAgB;KACpB,GAAG;KACH,UAAU,MAAM,cAAc;MAC5B,UAAU,QAAQ,OAAO,eAAe;MACxC,OAAO,QAAQ,QAAQ,MAAM;OAC3B,KAAK,UAAU;OACf,QAAQ,UAAU,QAAQ;OAC1B,SAAS,YAAY,UAAU,OAAO,OAAO,OAAO;MACtD,CAAC;KACH;IACF,CAAC,CACH;SACK,IAAI,MAAM,gBAAgB,OAAO,CAAC;IAE3C,KAAK,MAAM,QAAQ,QAAQ,SAAS,CAAC,GAAG,IAAI,MAAM,aAAa,IAAI,CAAC;IACpE,KAAK,MAAM,YAAY,QAAQ,cAAc,CAAC,GAAG,IAAI,MAAM,iBAAiB,QAAQ,CAAC;GACvF,CACF;GACA,aAAa,UAAU,QAAQ;EACjC;CACF;AACF"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { DoomServerFacet, DoomServerPluginDefinition } from "../schemas/serverFacet.mjs";
|
|
2
|
+
//#region src/extensions/serverPlugin.d.ts
|
|
3
|
+
export declare function defineServerPlugin(plugin: DoomServerPluginDefinition): DoomServerFacet;
|
|
4
|
+
//#endregion
|
|
5
|
+
//# sourceMappingURL=serverPlugin.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serverPlugin.d.mts","names":[],"sources":["../../../src/extensions/serverPlugin.ts"],"mappings":";;wBAWgB,mBAAmB,QAAQ,6BAA6B"}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { readDoomHeadlessHost } from "../schemas/headless.mjs";
|
|
2
|
+
import { DOOM_SERVER_HOST_SERVICE, requireDoomServerHost } from "../schemas/serverFacet.mjs";
|
|
3
|
+
import { createPluginLifecycle } from "../services/pluginLifecycle/index.mjs";
|
|
4
|
+
//#region src/extensions/serverPlugin.ts
|
|
5
|
+
function defineServerPlugin(plugin) {
|
|
6
|
+
return {
|
|
7
|
+
...plugin.providerOverrides ? { providerOverrides: plugin.providerOverrides } : {},
|
|
8
|
+
inject: [.../* @__PURE__ */ new Set([DOOM_SERVER_HOST_SERVICE, ...plugin.inject ?? []])],
|
|
9
|
+
async apply(context) {
|
|
10
|
+
const host = requireDoomServerHost(context);
|
|
11
|
+
const declaration = plugin[host.scope];
|
|
12
|
+
if (!declaration) return;
|
|
13
|
+
const agent = host.scope === "session" ? readDoomHeadlessHost(context) : void 0;
|
|
14
|
+
const lifecycle = createPluginLifecycle((signal) => ({
|
|
15
|
+
context,
|
|
16
|
+
host,
|
|
17
|
+
agent,
|
|
18
|
+
signal
|
|
19
|
+
}));
|
|
20
|
+
context.effect(() => () => lifecycle.dispose());
|
|
21
|
+
const own = (registration) => {
|
|
22
|
+
lifecycle.own(() => registration.dispose());
|
|
23
|
+
if ("mounted" in registration && registration.mounted === false) throw new Error("Server plugin registration was refused.");
|
|
24
|
+
};
|
|
25
|
+
await lifecycle.mount(() => typeof declaration === "function" ? declaration(lifecycle.context) : declaration, async (scope) => {
|
|
26
|
+
for (const service of scope.services ?? []) {
|
|
27
|
+
const fiber = context.plugin(service);
|
|
28
|
+
lifecycle.own(() => fiber.dispose());
|
|
29
|
+
await fiber;
|
|
30
|
+
}
|
|
31
|
+
for (const channel of scope.channels ?? []) own(host.registerChannel(channel()));
|
|
32
|
+
for (const api of scope.api ?? []) own(host.registerApi(api));
|
|
33
|
+
for (const method of scope.methods ?? []) own(method.register(host));
|
|
34
|
+
if (!agent) return;
|
|
35
|
+
const session = scope;
|
|
36
|
+
for (const restriction of session.toolRestrictions ?? []) {
|
|
37
|
+
if (!("restrict" in restriction)) {
|
|
38
|
+
own(agent.registerToolRestriction(restriction));
|
|
39
|
+
continue;
|
|
40
|
+
}
|
|
41
|
+
let registration;
|
|
42
|
+
lifecycle.own(() => {
|
|
43
|
+
const current = registration;
|
|
44
|
+
registration = void 0;
|
|
45
|
+
return current?.dispose();
|
|
46
|
+
});
|
|
47
|
+
const refresh = () => {
|
|
48
|
+
if (lifecycle.context.signal.aborted) return;
|
|
49
|
+
const previous = registration;
|
|
50
|
+
registration = void 0;
|
|
51
|
+
previous?.dispose();
|
|
52
|
+
registration = agent.registerToolRestriction(restriction.restrict());
|
|
53
|
+
if ("mounted" in registration && registration.mounted === false) throw new Error(`Server tool restriction ${restriction.source} was refused.`);
|
|
54
|
+
};
|
|
55
|
+
refresh();
|
|
56
|
+
const unsubscribe = restriction.subscribe?.(refresh);
|
|
57
|
+
if (unsubscribe) lifecycle.own(unsubscribe);
|
|
58
|
+
}
|
|
59
|
+
for (const resource of session.resources ?? []) if (resource !== void 0) own(agent.registerResource(resource));
|
|
60
|
+
for (const tool of session.tools ?? []) if ("kind" in tool) own(agent.registerTool({
|
|
61
|
+
...tool,
|
|
62
|
+
async execute(toolCallId, input, signal, update, execution) {
|
|
63
|
+
const invocationSignal = signal ? AbortSignal.any([signal, lifecycle.context.signal]) : lifecycle.context.signal;
|
|
64
|
+
invocationSignal.throwIfAborted();
|
|
65
|
+
try {
|
|
66
|
+
return await tool.execute(input, {
|
|
67
|
+
toolCallId,
|
|
68
|
+
signal: invocationSignal,
|
|
69
|
+
cwd: execution.cwd,
|
|
70
|
+
update: (result) => update?.(result),
|
|
71
|
+
notify: (request) => execution.client.notify(request)
|
|
72
|
+
});
|
|
73
|
+
} catch (error) {
|
|
74
|
+
return {
|
|
75
|
+
content: [{
|
|
76
|
+
type: "text",
|
|
77
|
+
text: error instanceof Error ? error.message : String(error)
|
|
78
|
+
}],
|
|
79
|
+
isError: true
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}));
|
|
84
|
+
else own(agent.registerTool(tool));
|
|
85
|
+
for (const command of session.commands ?? []) if ("kind" in command) own(agent.registerCommand({
|
|
86
|
+
...command,
|
|
87
|
+
execute: (args, execution) => {
|
|
88
|
+
lifecycle.context.signal.throwIfAborted();
|
|
89
|
+
return command.execute(args, {
|
|
90
|
+
cwd: execution.cwd,
|
|
91
|
+
signal: lifecycle.context.signal,
|
|
92
|
+
notify: (request) => execution.client.notify(request)
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
}));
|
|
96
|
+
else own(agent.registerCommand(command));
|
|
97
|
+
for (const hook of session.hooks ?? []) own(agent.registerHook(hook));
|
|
98
|
+
for (const activity of session.activities ?? []) own(agent.registerActivity(activity));
|
|
99
|
+
});
|
|
100
|
+
return () => lifecycle.dispose();
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
//#endregion
|
|
105
|
+
export { defineServerPlugin };
|
|
106
|
+
|
|
107
|
+
//# sourceMappingURL=serverPlugin.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serverPlugin.mjs","names":[],"sources":["../../../src/extensions/serverPlugin.ts"],"sourcesContent":["import { readDoomHeadlessHost } from '../schemas/headless';\nimport {\n DOOM_SERVER_HOST_SERVICE,\n requireDoomServerHost,\n type DoomServerFacet,\n type DoomServerPluginDefinition,\n type DoomServerPluginContext,\n type DoomServerSessionPlugin,\n} from '../schemas/serverFacet';\nimport { createPluginLifecycle } from '../services/pluginLifecycle';\n\nexport function defineServerPlugin(plugin: DoomServerPluginDefinition): DoomServerFacet {\n return {\n ...(plugin.providerOverrides ? { providerOverrides: plugin.providerOverrides } : {}),\n inject: [...new Set([DOOM_SERVER_HOST_SERVICE, ...(plugin.inject ?? [])])],\n async apply(context) {\n const host = requireDoomServerHost(context);\n const declaration = plugin[host.scope];\n if (!declaration) return;\n const agent = host.scope === 'session' ? readDoomHeadlessHost(context) : undefined;\n const lifecycle = createPluginLifecycle<DoomServerPluginContext>((signal) => ({ context, host, agent, signal }));\n context.effect(() => () => lifecycle.dispose());\n const own = <T extends { dispose(): void | Promise<void>; mounted?: boolean }>(registration: T): void => {\n lifecycle.own(() => registration.dispose());\n if ('mounted' in registration && registration.mounted === false)\n throw new Error('Server plugin registration was refused.');\n };\n await lifecycle.mount(\n () => (typeof declaration === 'function' ? declaration(lifecycle.context) : declaration),\n async (scope) => {\n for (const service of scope.services ?? []) {\n const fiber = context.plugin(service);\n lifecycle.own(() => fiber.dispose());\n await fiber;\n }\n for (const channel of scope.channels ?? []) own(host.registerChannel(channel()));\n for (const api of scope.api ?? []) own(host.registerApi(api));\n for (const method of scope.methods ?? []) own(method.register(host));\n if (!agent) return;\n const session: DoomServerSessionPlugin = scope;\n for (const restriction of session.toolRestrictions ?? []) {\n if (!('restrict' in restriction)) {\n own(agent.registerToolRestriction(restriction));\n continue;\n }\n let registration: ReturnType<typeof agent.registerToolRestriction> | undefined;\n lifecycle.own(() => {\n const current = registration;\n registration = undefined;\n return current?.dispose();\n });\n const refresh = (): void => {\n if (lifecycle.context.signal.aborted) return;\n const previous = registration;\n registration = undefined;\n previous?.dispose();\n registration = agent.registerToolRestriction(restriction.restrict());\n if ('mounted' in registration && registration.mounted === false)\n throw new Error(`Server tool restriction ${restriction.source} was refused.`);\n };\n refresh();\n const unsubscribe = restriction.subscribe?.(refresh);\n if (unsubscribe) lifecycle.own(unsubscribe);\n }\n for (const resource of session.resources ?? []) {\n // Generated optional and many-valued contributions can leave an undefined\n // member when a package has no resource for the current runtime.\n if (resource !== undefined) own(agent.registerResource(resource));\n }\n for (const tool of session.tools ?? []) {\n if ('kind' in tool) {\n own(\n agent.registerTool({\n ...tool,\n async execute(toolCallId, input, signal, update, execution) {\n const invocationSignal = signal\n ? AbortSignal.any([signal, lifecycle.context.signal])\n : lifecycle.context.signal;\n invocationSignal.throwIfAborted();\n try {\n return await tool.execute(input, {\n toolCallId,\n signal: invocationSignal,\n cwd: execution.cwd,\n update: (result) => update?.(result),\n notify: (request) => execution.client.notify(request),\n });\n } catch (error) {\n return {\n content: [{ type: 'text', text: error instanceof Error ? error.message : String(error) }],\n isError: true,\n };\n }\n },\n }),\n );\n } else own(agent.registerTool(tool));\n }\n for (const command of session.commands ?? []) {\n if ('kind' in command) {\n own(\n agent.registerCommand({\n ...command,\n execute: (args, execution) => {\n lifecycle.context.signal.throwIfAborted();\n return command.execute(args, {\n cwd: execution.cwd,\n signal: lifecycle.context.signal,\n notify: (request) => execution.client.notify(request),\n });\n },\n }),\n );\n } else own(agent.registerCommand(command));\n }\n for (const hook of session.hooks ?? []) own(agent.registerHook(hook));\n for (const activity of session.activities ?? []) own(agent.registerActivity(activity));\n },\n );\n return () => lifecycle.dispose();\n },\n };\n}\n"],"mappings":"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"}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
//#region src/extensions/webPlugin.ts
|
|
2
|
+
/** Identity helper so plugin modules get checked literals without a type annotation. */
|
|
3
|
+
function defineWebPlugin(plugin) {
|
|
4
|
+
return plugin;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* The one audited erasure from Payload to unknown. Channels are stored
|
|
8
|
+
* untyped in the host registry; the payload type lives entirely inside the
|
|
9
|
+
* plugin, behind its own parse gate.
|
|
10
|
+
*/
|
|
11
|
+
function defineSessionChannel(channel) {
|
|
12
|
+
return channel;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Identity helper for a typed slot handle: the owner keeps the
|
|
16
|
+
* SlotDeclaration<Data> to read its fills back through slotData, and the
|
|
17
|
+
* plugin's `slots` array holds it erased. No cast is needed because Data only
|
|
18
|
+
* appears in the parse gate's return position.
|
|
19
|
+
*/
|
|
20
|
+
function defineSlot(slot) {
|
|
21
|
+
return slot;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Identity helpers for folder-routed frontend files, one per surface.
|
|
25
|
+
*
|
|
26
|
+
* Each returns its argument unchanged. The value is the position they check
|
|
27
|
+
* and the inference they supply, which is otherwise absent: a routed file's
|
|
28
|
+
* default export reaches a contribution array through a generated entry that
|
|
29
|
+
* types it as unknown.
|
|
30
|
+
*/
|
|
31
|
+
/** `tool/<name>.tsx`. The filename names the tool this renders. */
|
|
32
|
+
function defineToolRenderer(file) {
|
|
33
|
+
return file;
|
|
34
|
+
}
|
|
35
|
+
/** `command/<name>.tsx`. */
|
|
36
|
+
function definePaletteCommand(file) {
|
|
37
|
+
return file;
|
|
38
|
+
}
|
|
39
|
+
/** `tab/<Name>.tsx`. */
|
|
40
|
+
function defineTab(file) {
|
|
41
|
+
return file;
|
|
42
|
+
}
|
|
43
|
+
/** `template/<name>.web.ts`. Declares a selectable browser layout. */
|
|
44
|
+
function defineWebTemplate(file) {
|
|
45
|
+
return file;
|
|
46
|
+
}
|
|
47
|
+
/** `template/<name>.native.ts`. Declares a selectable phone layout. */
|
|
48
|
+
function defineNativeTemplate(file) {
|
|
49
|
+
return file;
|
|
50
|
+
}
|
|
51
|
+
/** `dock/<Name>.tsx`. */
|
|
52
|
+
function defineDockFace(file) {
|
|
53
|
+
return file;
|
|
54
|
+
}
|
|
55
|
+
/** `setting/<name>.tsx` declaring fields the host renders. */
|
|
56
|
+
function defineSettingsSection(file) {
|
|
57
|
+
return file;
|
|
58
|
+
}
|
|
59
|
+
/** `setting/<name>.tsx` drawing its own page. */
|
|
60
|
+
function defineSettingsPanel(file) {
|
|
61
|
+
return file;
|
|
62
|
+
}
|
|
63
|
+
/** `slot/<name>.ts`. The slot is namespaced as `<pluginId>.<name>`. */
|
|
64
|
+
function defineSlotFile(file) {
|
|
65
|
+
return file;
|
|
66
|
+
}
|
|
67
|
+
/** `fill/<Name>.<target>.tsx`. */
|
|
68
|
+
function defineFill(file) {
|
|
69
|
+
return file;
|
|
70
|
+
}
|
|
71
|
+
/** `action/<name>.ts` for a context item kind. */
|
|
72
|
+
function defineContextAction(file) {
|
|
73
|
+
return file;
|
|
74
|
+
}
|
|
75
|
+
/** `action/<name>.ts` for a user timeline message. */
|
|
76
|
+
function defineUserMessageAction(file) {
|
|
77
|
+
return file;
|
|
78
|
+
}
|
|
79
|
+
/** `mode/<name>/mode.ts`. */
|
|
80
|
+
function defineMinorModeFile(file) {
|
|
81
|
+
return file;
|
|
82
|
+
}
|
|
83
|
+
/** `activity-group/<name>.ts`. The filename names the group and its slot. */
|
|
84
|
+
function defineActivityGroup(file) {
|
|
85
|
+
return file;
|
|
86
|
+
}
|
|
87
|
+
/** `leader/<name>.ts`. */
|
|
88
|
+
function defineLeaderBinding(file) {
|
|
89
|
+
return file;
|
|
90
|
+
}
|
|
91
|
+
/** `channel/<frameType>.ts`. */
|
|
92
|
+
function defineChannelFile(file) {
|
|
93
|
+
return file;
|
|
94
|
+
}
|
|
95
|
+
/** `file-links/<name>.ts`. Declares the scope's singleton file-link source. */
|
|
96
|
+
function defineFileLinks(file) {
|
|
97
|
+
return file;
|
|
98
|
+
}
|
|
99
|
+
/** `repository-settings-panel/<name>.tsx`. Declares the workspace settings panel. */
|
|
100
|
+
function defineRepositorySettingsPanel(file) {
|
|
101
|
+
return file;
|
|
102
|
+
}
|
|
103
|
+
/** `selection-axis/<name>.ts`. */
|
|
104
|
+
function defineSelectionAxis(file) {
|
|
105
|
+
return file;
|
|
106
|
+
}
|
|
107
|
+
/** `lifecycle/start.ts`. Declares the frontend start lifecycle. */
|
|
108
|
+
function defineWebLifecycle(file) {
|
|
109
|
+
return file;
|
|
110
|
+
}
|
|
111
|
+
//#endregion
|
|
112
|
+
exports.defineActivityGroup = defineActivityGroup;
|
|
113
|
+
exports.defineChannelFile = defineChannelFile;
|
|
114
|
+
exports.defineContextAction = defineContextAction;
|
|
115
|
+
exports.defineDockFace = defineDockFace;
|
|
116
|
+
exports.defineFileLinks = defineFileLinks;
|
|
117
|
+
exports.defineFill = defineFill;
|
|
118
|
+
exports.defineLeaderBinding = defineLeaderBinding;
|
|
119
|
+
exports.defineMinorModeFile = defineMinorModeFile;
|
|
120
|
+
exports.defineNativeTemplate = defineNativeTemplate;
|
|
121
|
+
exports.definePaletteCommand = definePaletteCommand;
|
|
122
|
+
exports.defineRepositorySettingsPanel = defineRepositorySettingsPanel;
|
|
123
|
+
exports.defineSelectionAxis = defineSelectionAxis;
|
|
124
|
+
exports.defineSessionChannel = defineSessionChannel;
|
|
125
|
+
exports.defineSettingsPanel = defineSettingsPanel;
|
|
126
|
+
exports.defineSettingsSection = defineSettingsSection;
|
|
127
|
+
exports.defineSlot = defineSlot;
|
|
128
|
+
exports.defineSlotFile = defineSlotFile;
|
|
129
|
+
exports.defineTab = defineTab;
|
|
130
|
+
exports.defineToolRenderer = defineToolRenderer;
|
|
131
|
+
exports.defineUserMessageAction = defineUserMessageAction;
|
|
132
|
+
exports.defineWebLifecycle = defineWebLifecycle;
|
|
133
|
+
exports.defineWebPlugin = defineWebPlugin;
|
|
134
|
+
exports.defineWebTemplate = defineWebTemplate;
|
|
135
|
+
|
|
136
|
+
//# sourceMappingURL=webPlugin.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webPlugin.cjs","names":[],"sources":["../../../src/extensions/webPlugin.ts"],"sourcesContent":["import type {\n ActivityGroupFile,\n ChannelFile,\n ContextActionFile,\n DockFaceFile,\n FillFile,\n LeaderBindingFile,\n MinorModeFile,\n NativeTemplateFile,\n PaletteCommandFile,\n SelectionAxisFile,\n SettingsPanelFile,\n SettingsSectionFile,\n SlotFile,\n TabFile,\n ToolRendererFile,\n UserMessageActionFile,\n WebTemplateFile,\n} from '../web/types/extensionFile';\nimport type {\n FileLinkSource,\n RepositorySettingsPanelContribution,\n SessionChannelContribution,\n SlotDeclaration,\n WebPluginContributions,\n WebPluginDefinition,\n} from '../web/types/webPlugin';\n\n/** Identity helper so plugin modules get checked literals without a type annotation. */\nexport function defineWebPlugin(plugin: WebPluginDefinition): WebPluginDefinition {\n return plugin;\n}\n\n/**\n * The one audited erasure from Payload to unknown. Channels are stored\n * untyped in the host registry; the payload type lives entirely inside the\n * plugin, behind its own parse gate.\n */\nexport function defineSessionChannel<Payload>(\n channel: SessionChannelContribution<Payload>,\n): SessionChannelContribution {\n return channel as SessionChannelContribution;\n}\n\n/**\n * Identity helper for a typed slot handle: the owner keeps the\n * SlotDeclaration<Data> to read its fills back through slotData, and the\n * plugin's `slots` array holds it erased. No cast is needed because Data only\n * appears in the parse gate's return position.\n */\nexport function defineSlot<Data>(slot: SlotDeclaration<Data>): SlotDeclaration<Data> {\n return slot;\n}\n\n/**\n * Identity helpers for folder-routed frontend files, one per surface.\n *\n * Each returns its argument unchanged. The value is the position they check\n * and the inference they supply, which is otherwise absent: a routed file's\n * default export reaches a contribution array through a generated entry that\n * types it as unknown.\n */\n\n/** `tool/<name>.tsx`. The filename names the tool this renders. */\nexport function defineToolRenderer(file: ToolRendererFile): ToolRendererFile {\n return file;\n}\n\n/** `command/<name>.tsx`. */\nexport function definePaletteCommand(file: PaletteCommandFile): PaletteCommandFile {\n return file;\n}\n\n/** `tab/<Name>.tsx`. */\nexport function defineTab(file: TabFile): TabFile {\n return file;\n}\n\n/** `template/<name>.web.ts`. Declares a selectable browser layout. */\nexport function defineWebTemplate(file: WebTemplateFile): WebTemplateFile {\n return file;\n}\n/** `template/<name>.native.ts`. Declares a selectable phone layout. */\nexport function defineNativeTemplate(file: NativeTemplateFile): NativeTemplateFile {\n return file;\n}\n/** `dock/<Name>.tsx`. */\nexport function defineDockFace(file: DockFaceFile): DockFaceFile {\n return file;\n}\n\n/** `setting/<name>.tsx` declaring fields the host renders. */\nexport function defineSettingsSection(file: SettingsSectionFile): SettingsSectionFile {\n return file;\n}\n\n/** `setting/<name>.tsx` drawing its own page. */\nexport function defineSettingsPanel(file: SettingsPanelFile): SettingsPanelFile {\n return file;\n}\n\n/** `slot/<name>.ts`. The slot is namespaced as `<pluginId>.<name>`. */\nexport function defineSlotFile<Data = unknown>(file: SlotFile<Data>): SlotFile<Data> {\n return file;\n}\n\n/** `fill/<Name>.<target>.tsx`. */\nexport function defineFill(file: FillFile): FillFile {\n return file;\n}\n\n/** `action/<name>.ts` for a context item kind. */\nexport function defineContextAction(file: ContextActionFile): ContextActionFile {\n return file;\n}\n\n/** `action/<name>.ts` for a user timeline message. */\nexport function defineUserMessageAction(file: UserMessageActionFile): UserMessageActionFile {\n return file;\n}\n\n/** `mode/<name>/mode.ts`. */\nexport function defineMinorModeFile(file: MinorModeFile): MinorModeFile {\n return file;\n}\n\n/** `activity-group/<name>.ts`. The filename names the group and its slot. */\nexport function defineActivityGroup(file: ActivityGroupFile): ActivityGroupFile {\n return file;\n}\n\n/** `leader/<name>.ts`. */\nexport function defineLeaderBinding(file: LeaderBindingFile): LeaderBindingFile {\n return file;\n}\n\n/** `channel/<frameType>.ts`. */\nexport function defineChannelFile<Payload = unknown>(file: ChannelFile<Payload>): ChannelFile<Payload> {\n return file;\n}\n\n/** `file-links/<name>.ts`. Declares the scope's singleton file-link source. */\nexport function defineFileLinks(file: FileLinkSource): FileLinkSource {\n return file;\n}\n\n/** `repository-settings-panel/<name>.tsx`. Declares the workspace settings panel. */\nexport function defineRepositorySettingsPanel(\n file: RepositorySettingsPanelContribution,\n): RepositorySettingsPanelContribution {\n return file;\n}\n\n/** `selection-axis/<name>.ts`. */\nexport function defineSelectionAxis(file: SelectionAxisFile): SelectionAxisFile {\n return file;\n}\n\n/** `lifecycle/start.ts`. Declares the frontend start lifecycle. */\nexport function defineWebLifecycle(\n file: NonNullable<WebPluginContributions['start']>,\n): NonNullable<WebPluginContributions['start']> {\n return file;\n}\n"],"mappings":";;AA6BA,SAAgB,gBAAgB,QAAkD;CAChF,OAAO;AACT;;;;;;AAOA,SAAgB,qBACd,SAC4B;CAC5B,OAAO;AACT;;;;;;;AAQA,SAAgB,WAAiB,MAAoD;CACnF,OAAO;AACT;;;;;;;;;;AAYA,SAAgB,mBAAmB,MAA0C;CAC3E,OAAO;AACT;;AAGA,SAAgB,qBAAqB,MAA8C;CACjF,OAAO;AACT;;AAGA,SAAgB,UAAU,MAAwB;CAChD,OAAO;AACT;;AAGA,SAAgB,kBAAkB,MAAwC;CACxE,OAAO;AACT;;AAEA,SAAgB,qBAAqB,MAA8C;CACjF,OAAO;AACT;;AAEA,SAAgB,eAAe,MAAkC;CAC/D,OAAO;AACT;;AAGA,SAAgB,sBAAsB,MAAgD;CACpF,OAAO;AACT;;AAGA,SAAgB,oBAAoB,MAA4C;CAC9E,OAAO;AACT;;AAGA,SAAgB,eAA+B,MAAsC;CACnF,OAAO;AACT;;AAGA,SAAgB,WAAW,MAA0B;CACnD,OAAO;AACT;;AAGA,SAAgB,oBAAoB,MAA4C;CAC9E,OAAO;AACT;;AAGA,SAAgB,wBAAwB,MAAoD;CAC1F,OAAO;AACT;;AAGA,SAAgB,oBAAoB,MAAoC;CACtE,OAAO;AACT;;AAGA,SAAgB,oBAAoB,MAA4C;CAC9E,OAAO;AACT;;AAGA,SAAgB,oBAAoB,MAA4C;CAC9E,OAAO;AACT;;AAGA,SAAgB,kBAAqC,MAAkD;CACrG,OAAO;AACT;;AAGA,SAAgB,gBAAgB,MAAsC;CACpE,OAAO;AACT;;AAGA,SAAgB,8BACd,MACqC;CACrC,OAAO;AACT;;AAGA,SAAgB,oBAAoB,MAA4C;CAC9E,OAAO;AACT;;AAGA,SAAgB,mBACd,MAC8C;CAC9C,OAAO;AACT"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { FileLinkSource, RepositorySettingsPanelContribution, SessionChannelContribution, SlotDeclaration, WebPluginContributions, WebPluginDefinition } from "../web/types/webPlugin.mjs";
|
|
2
|
+
import { ActivityGroupFile, ChannelFile, ContextActionFile, DockFaceFile, FillFile, LeaderBindingFile, MinorModeFile, NativeTemplateFile, PaletteCommandFile, SelectionAxisFile, SettingsPanelFile, SettingsSectionFile, SlotFile, TabFile, ToolRendererFile, UserMessageActionFile, WebTemplateFile } from "../web/types/extensionFile.mjs";
|
|
3
|
+
//#region src/extensions/webPlugin.d.ts
|
|
4
|
+
/** Identity helper so plugin modules get checked literals without a type annotation. */
|
|
5
|
+
export declare function defineWebPlugin(plugin: WebPluginDefinition): WebPluginDefinition;
|
|
6
|
+
/**
|
|
7
|
+
* The one audited erasure from Payload to unknown. Channels are stored
|
|
8
|
+
* untyped in the host registry; the payload type lives entirely inside the
|
|
9
|
+
* plugin, behind its own parse gate.
|
|
10
|
+
*/
|
|
11
|
+
export declare function defineSessionChannel<Payload>(channel: SessionChannelContribution<Payload>): SessionChannelContribution;
|
|
12
|
+
/**
|
|
13
|
+
* Identity helper for a typed slot handle: the owner keeps the
|
|
14
|
+
* SlotDeclaration<Data> to read its fills back through slotData, and the
|
|
15
|
+
* plugin's `slots` array holds it erased. No cast is needed because Data only
|
|
16
|
+
* appears in the parse gate's return position.
|
|
17
|
+
*/
|
|
18
|
+
export declare function defineSlot<Data>(slot: SlotDeclaration<Data>): SlotDeclaration<Data>;
|
|
19
|
+
/**
|
|
20
|
+
* Identity helpers for folder-routed frontend files, one per surface.
|
|
21
|
+
*
|
|
22
|
+
* Each returns its argument unchanged. The value is the position they check
|
|
23
|
+
* and the inference they supply, which is otherwise absent: a routed file's
|
|
24
|
+
* default export reaches a contribution array through a generated entry that
|
|
25
|
+
* types it as unknown.
|
|
26
|
+
*/
|
|
27
|
+
/** `tool/<name>.tsx`. The filename names the tool this renders. */
|
|
28
|
+
export declare function defineToolRenderer(file: ToolRendererFile): ToolRendererFile;
|
|
29
|
+
/** `command/<name>.tsx`. */
|
|
30
|
+
export declare function definePaletteCommand(file: PaletteCommandFile): PaletteCommandFile;
|
|
31
|
+
/** `tab/<Name>.tsx`. */
|
|
32
|
+
export declare function defineTab(file: TabFile): TabFile;
|
|
33
|
+
/** `template/<name>.web.ts`. Declares a selectable browser layout. */
|
|
34
|
+
export declare function defineWebTemplate(file: WebTemplateFile): WebTemplateFile;
|
|
35
|
+
/** `template/<name>.native.ts`. Declares a selectable phone layout. */
|
|
36
|
+
export declare function defineNativeTemplate(file: NativeTemplateFile): NativeTemplateFile;
|
|
37
|
+
/** `dock/<Name>.tsx`. */
|
|
38
|
+
export declare function defineDockFace(file: DockFaceFile): DockFaceFile;
|
|
39
|
+
/** `setting/<name>.tsx` declaring fields the host renders. */
|
|
40
|
+
export declare function defineSettingsSection(file: SettingsSectionFile): SettingsSectionFile;
|
|
41
|
+
/** `setting/<name>.tsx` drawing its own page. */
|
|
42
|
+
export declare function defineSettingsPanel(file: SettingsPanelFile): SettingsPanelFile;
|
|
43
|
+
/** `slot/<name>.ts`. The slot is namespaced as `<pluginId>.<name>`. */
|
|
44
|
+
export declare function defineSlotFile<Data = unknown>(file: SlotFile<Data>): SlotFile<Data>;
|
|
45
|
+
/** `fill/<Name>.<target>.tsx`. */
|
|
46
|
+
export declare function defineFill(file: FillFile): FillFile;
|
|
47
|
+
/** `action/<name>.ts` for a context item kind. */
|
|
48
|
+
export declare function defineContextAction(file: ContextActionFile): ContextActionFile;
|
|
49
|
+
/** `action/<name>.ts` for a user timeline message. */
|
|
50
|
+
export declare function defineUserMessageAction(file: UserMessageActionFile): UserMessageActionFile;
|
|
51
|
+
/** `mode/<name>/mode.ts`. */
|
|
52
|
+
export declare function defineMinorModeFile(file: MinorModeFile): MinorModeFile;
|
|
53
|
+
/** `activity-group/<name>.ts`. The filename names the group and its slot. */
|
|
54
|
+
export declare function defineActivityGroup(file: ActivityGroupFile): ActivityGroupFile;
|
|
55
|
+
/** `leader/<name>.ts`. */
|
|
56
|
+
export declare function defineLeaderBinding(file: LeaderBindingFile): LeaderBindingFile;
|
|
57
|
+
/** `channel/<frameType>.ts`. */
|
|
58
|
+
export declare function defineChannelFile<Payload = unknown>(file: ChannelFile<Payload>): ChannelFile<Payload>;
|
|
59
|
+
/** `file-links/<name>.ts`. Declares the scope's singleton file-link source. */
|
|
60
|
+
export declare function defineFileLinks(file: FileLinkSource): FileLinkSource;
|
|
61
|
+
/** `repository-settings-panel/<name>.tsx`. Declares the workspace settings panel. */
|
|
62
|
+
export declare function defineRepositorySettingsPanel(file: RepositorySettingsPanelContribution): RepositorySettingsPanelContribution;
|
|
63
|
+
/** `selection-axis/<name>.ts`. */
|
|
64
|
+
export declare function defineSelectionAxis(file: SelectionAxisFile): SelectionAxisFile;
|
|
65
|
+
/** `lifecycle/start.ts`. Declares the frontend start lifecycle. */
|
|
66
|
+
export declare function defineWebLifecycle(file: NonNullable<WebPluginContributions['start']>): NonNullable<WebPluginContributions['start']>;
|
|
67
|
+
//#endregion
|
|
68
|
+
//# sourceMappingURL=webPlugin.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webPlugin.d.mts","names":[],"sources":["../../../src/extensions/webPlugin.ts"],"mappings":";;;;wBA6BgB,gBAAgB,QAAQ,sBAAsB;;;;;;wBAS9C,qBAAqB,SACnC,SAAS,2BAA2B,WACnC;;;;;;;wBAUa,WAAW,MAAM,MAAM,gBAAgB,QAAQ,gBAAgB;;;;;;;;;;wBAc/D,mBAAmB,MAAM,mBAAmB;;wBAK5C,qBAAqB,MAAM,qBAAqB;;wBAKhD,UAAU,MAAM,UAAU;;wBAK1B,kBAAkB,MAAM,kBAAkB;;wBAI1C,qBAAqB,MAAM,qBAAqB;;wBAIhD,eAAe,MAAM,eAAe;;wBAKpC,sBAAsB,MAAM,sBAAsB;;wBAKlD,oBAAoB,MAAM,oBAAoB;;wBAK9C,eAAe,gBAAgB,MAAM,SAAS,QAAQ,SAAS;;wBAK/D,WAAW,MAAM,WAAW;;wBAK5B,oBAAoB,MAAM,oBAAoB;;wBAK9C,wBAAwB,MAAM,wBAAwB;;wBAKtD,oBAAoB,MAAM,gBAAgB;;wBAK1C,oBAAoB,MAAM,oBAAoB;;wBAK9C,oBAAoB,MAAM,oBAAoB;;wBAK9C,kBAAkB,mBAAmB,MAAM,YAAY,WAAW,YAAY;;wBAK9E,gBAAgB,MAAM,iBAAiB;;wBAKvC,8BACd,MAAM,sCACL;;wBAKa,oBAAoB,MAAM,oBAAoB;;wBAK9C,mBACd,MAAM,YAAY,mCACjB,YAAY"}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
//#region src/extensions/webPlugin.ts
|
|
2
|
+
/** Identity helper so plugin modules get checked literals without a type annotation. */
|
|
3
|
+
function defineWebPlugin(plugin) {
|
|
4
|
+
return plugin;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* The one audited erasure from Payload to unknown. Channels are stored
|
|
8
|
+
* untyped in the host registry; the payload type lives entirely inside the
|
|
9
|
+
* plugin, behind its own parse gate.
|
|
10
|
+
*/
|
|
11
|
+
function defineSessionChannel(channel) {
|
|
12
|
+
return channel;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Identity helper for a typed slot handle: the owner keeps the
|
|
16
|
+
* SlotDeclaration<Data> to read its fills back through slotData, and the
|
|
17
|
+
* plugin's `slots` array holds it erased. No cast is needed because Data only
|
|
18
|
+
* appears in the parse gate's return position.
|
|
19
|
+
*/
|
|
20
|
+
function defineSlot(slot) {
|
|
21
|
+
return slot;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Identity helpers for folder-routed frontend files, one per surface.
|
|
25
|
+
*
|
|
26
|
+
* Each returns its argument unchanged. The value is the position they check
|
|
27
|
+
* and the inference they supply, which is otherwise absent: a routed file's
|
|
28
|
+
* default export reaches a contribution array through a generated entry that
|
|
29
|
+
* types it as unknown.
|
|
30
|
+
*/
|
|
31
|
+
/** `tool/<name>.tsx`. The filename names the tool this renders. */
|
|
32
|
+
function defineToolRenderer(file) {
|
|
33
|
+
return file;
|
|
34
|
+
}
|
|
35
|
+
/** `command/<name>.tsx`. */
|
|
36
|
+
function definePaletteCommand(file) {
|
|
37
|
+
return file;
|
|
38
|
+
}
|
|
39
|
+
/** `tab/<Name>.tsx`. */
|
|
40
|
+
function defineTab(file) {
|
|
41
|
+
return file;
|
|
42
|
+
}
|
|
43
|
+
/** `template/<name>.web.ts`. Declares a selectable browser layout. */
|
|
44
|
+
function defineWebTemplate(file) {
|
|
45
|
+
return file;
|
|
46
|
+
}
|
|
47
|
+
/** `template/<name>.native.ts`. Declares a selectable phone layout. */
|
|
48
|
+
function defineNativeTemplate(file) {
|
|
49
|
+
return file;
|
|
50
|
+
}
|
|
51
|
+
/** `dock/<Name>.tsx`. */
|
|
52
|
+
function defineDockFace(file) {
|
|
53
|
+
return file;
|
|
54
|
+
}
|
|
55
|
+
/** `setting/<name>.tsx` declaring fields the host renders. */
|
|
56
|
+
function defineSettingsSection(file) {
|
|
57
|
+
return file;
|
|
58
|
+
}
|
|
59
|
+
/** `setting/<name>.tsx` drawing its own page. */
|
|
60
|
+
function defineSettingsPanel(file) {
|
|
61
|
+
return file;
|
|
62
|
+
}
|
|
63
|
+
/** `slot/<name>.ts`. The slot is namespaced as `<pluginId>.<name>`. */
|
|
64
|
+
function defineSlotFile(file) {
|
|
65
|
+
return file;
|
|
66
|
+
}
|
|
67
|
+
/** `fill/<Name>.<target>.tsx`. */
|
|
68
|
+
function defineFill(file) {
|
|
69
|
+
return file;
|
|
70
|
+
}
|
|
71
|
+
/** `action/<name>.ts` for a context item kind. */
|
|
72
|
+
function defineContextAction(file) {
|
|
73
|
+
return file;
|
|
74
|
+
}
|
|
75
|
+
/** `action/<name>.ts` for a user timeline message. */
|
|
76
|
+
function defineUserMessageAction(file) {
|
|
77
|
+
return file;
|
|
78
|
+
}
|
|
79
|
+
/** `mode/<name>/mode.ts`. */
|
|
80
|
+
function defineMinorModeFile(file) {
|
|
81
|
+
return file;
|
|
82
|
+
}
|
|
83
|
+
/** `activity-group/<name>.ts`. The filename names the group and its slot. */
|
|
84
|
+
function defineActivityGroup(file) {
|
|
85
|
+
return file;
|
|
86
|
+
}
|
|
87
|
+
/** `leader/<name>.ts`. */
|
|
88
|
+
function defineLeaderBinding(file) {
|
|
89
|
+
return file;
|
|
90
|
+
}
|
|
91
|
+
/** `channel/<frameType>.ts`. */
|
|
92
|
+
function defineChannelFile(file) {
|
|
93
|
+
return file;
|
|
94
|
+
}
|
|
95
|
+
/** `file-links/<name>.ts`. Declares the scope's singleton file-link source. */
|
|
96
|
+
function defineFileLinks(file) {
|
|
97
|
+
return file;
|
|
98
|
+
}
|
|
99
|
+
/** `repository-settings-panel/<name>.tsx`. Declares the workspace settings panel. */
|
|
100
|
+
function defineRepositorySettingsPanel(file) {
|
|
101
|
+
return file;
|
|
102
|
+
}
|
|
103
|
+
/** `selection-axis/<name>.ts`. */
|
|
104
|
+
function defineSelectionAxis(file) {
|
|
105
|
+
return file;
|
|
106
|
+
}
|
|
107
|
+
/** `lifecycle/start.ts`. Declares the frontend start lifecycle. */
|
|
108
|
+
function defineWebLifecycle(file) {
|
|
109
|
+
return file;
|
|
110
|
+
}
|
|
111
|
+
//#endregion
|
|
112
|
+
export { defineActivityGroup, defineChannelFile, defineContextAction, defineDockFace, defineFileLinks, defineFill, defineLeaderBinding, defineMinorModeFile, defineNativeTemplate, definePaletteCommand, defineRepositorySettingsPanel, defineSelectionAxis, defineSessionChannel, defineSettingsPanel, defineSettingsSection, defineSlot, defineSlotFile, defineTab, defineToolRenderer, defineUserMessageAction, defineWebLifecycle, defineWebPlugin, defineWebTemplate };
|
|
113
|
+
|
|
114
|
+
//# sourceMappingURL=webPlugin.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webPlugin.mjs","names":[],"sources":["../../../src/extensions/webPlugin.ts"],"sourcesContent":["import type {\n ActivityGroupFile,\n ChannelFile,\n ContextActionFile,\n DockFaceFile,\n FillFile,\n LeaderBindingFile,\n MinorModeFile,\n NativeTemplateFile,\n PaletteCommandFile,\n SelectionAxisFile,\n SettingsPanelFile,\n SettingsSectionFile,\n SlotFile,\n TabFile,\n ToolRendererFile,\n UserMessageActionFile,\n WebTemplateFile,\n} from '../web/types/extensionFile';\nimport type {\n FileLinkSource,\n RepositorySettingsPanelContribution,\n SessionChannelContribution,\n SlotDeclaration,\n WebPluginContributions,\n WebPluginDefinition,\n} from '../web/types/webPlugin';\n\n/** Identity helper so plugin modules get checked literals without a type annotation. */\nexport function defineWebPlugin(plugin: WebPluginDefinition): WebPluginDefinition {\n return plugin;\n}\n\n/**\n * The one audited erasure from Payload to unknown. Channels are stored\n * untyped in the host registry; the payload type lives entirely inside the\n * plugin, behind its own parse gate.\n */\nexport function defineSessionChannel<Payload>(\n channel: SessionChannelContribution<Payload>,\n): SessionChannelContribution {\n return channel as SessionChannelContribution;\n}\n\n/**\n * Identity helper for a typed slot handle: the owner keeps the\n * SlotDeclaration<Data> to read its fills back through slotData, and the\n * plugin's `slots` array holds it erased. No cast is needed because Data only\n * appears in the parse gate's return position.\n */\nexport function defineSlot<Data>(slot: SlotDeclaration<Data>): SlotDeclaration<Data> {\n return slot;\n}\n\n/**\n * Identity helpers for folder-routed frontend files, one per surface.\n *\n * Each returns its argument unchanged. The value is the position they check\n * and the inference they supply, which is otherwise absent: a routed file's\n * default export reaches a contribution array through a generated entry that\n * types it as unknown.\n */\n\n/** `tool/<name>.tsx`. The filename names the tool this renders. */\nexport function defineToolRenderer(file: ToolRendererFile): ToolRendererFile {\n return file;\n}\n\n/** `command/<name>.tsx`. */\nexport function definePaletteCommand(file: PaletteCommandFile): PaletteCommandFile {\n return file;\n}\n\n/** `tab/<Name>.tsx`. */\nexport function defineTab(file: TabFile): TabFile {\n return file;\n}\n\n/** `template/<name>.web.ts`. Declares a selectable browser layout. */\nexport function defineWebTemplate(file: WebTemplateFile): WebTemplateFile {\n return file;\n}\n/** `template/<name>.native.ts`. Declares a selectable phone layout. */\nexport function defineNativeTemplate(file: NativeTemplateFile): NativeTemplateFile {\n return file;\n}\n/** `dock/<Name>.tsx`. */\nexport function defineDockFace(file: DockFaceFile): DockFaceFile {\n return file;\n}\n\n/** `setting/<name>.tsx` declaring fields the host renders. */\nexport function defineSettingsSection(file: SettingsSectionFile): SettingsSectionFile {\n return file;\n}\n\n/** `setting/<name>.tsx` drawing its own page. */\nexport function defineSettingsPanel(file: SettingsPanelFile): SettingsPanelFile {\n return file;\n}\n\n/** `slot/<name>.ts`. The slot is namespaced as `<pluginId>.<name>`. */\nexport function defineSlotFile<Data = unknown>(file: SlotFile<Data>): SlotFile<Data> {\n return file;\n}\n\n/** `fill/<Name>.<target>.tsx`. */\nexport function defineFill(file: FillFile): FillFile {\n return file;\n}\n\n/** `action/<name>.ts` for a context item kind. */\nexport function defineContextAction(file: ContextActionFile): ContextActionFile {\n return file;\n}\n\n/** `action/<name>.ts` for a user timeline message. */\nexport function defineUserMessageAction(file: UserMessageActionFile): UserMessageActionFile {\n return file;\n}\n\n/** `mode/<name>/mode.ts`. */\nexport function defineMinorModeFile(file: MinorModeFile): MinorModeFile {\n return file;\n}\n\n/** `activity-group/<name>.ts`. The filename names the group and its slot. */\nexport function defineActivityGroup(file: ActivityGroupFile): ActivityGroupFile {\n return file;\n}\n\n/** `leader/<name>.ts`. */\nexport function defineLeaderBinding(file: LeaderBindingFile): LeaderBindingFile {\n return file;\n}\n\n/** `channel/<frameType>.ts`. */\nexport function defineChannelFile<Payload = unknown>(file: ChannelFile<Payload>): ChannelFile<Payload> {\n return file;\n}\n\n/** `file-links/<name>.ts`. Declares the scope's singleton file-link source. */\nexport function defineFileLinks(file: FileLinkSource): FileLinkSource {\n return file;\n}\n\n/** `repository-settings-panel/<name>.tsx`. Declares the workspace settings panel. */\nexport function defineRepositorySettingsPanel(\n file: RepositorySettingsPanelContribution,\n): RepositorySettingsPanelContribution {\n return file;\n}\n\n/** `selection-axis/<name>.ts`. */\nexport function defineSelectionAxis(file: SelectionAxisFile): SelectionAxisFile {\n return file;\n}\n\n/** `lifecycle/start.ts`. Declares the frontend start lifecycle. */\nexport function defineWebLifecycle(\n file: NonNullable<WebPluginContributions['start']>,\n): NonNullable<WebPluginContributions['start']> {\n return file;\n}\n"],"mappings":";;AA6BA,SAAgB,gBAAgB,QAAkD;CAChF,OAAO;AACT;;;;;;AAOA,SAAgB,qBACd,SAC4B;CAC5B,OAAO;AACT;;;;;;;AAQA,SAAgB,WAAiB,MAAoD;CACnF,OAAO;AACT;;;;;;;;;;AAYA,SAAgB,mBAAmB,MAA0C;CAC3E,OAAO;AACT;;AAGA,SAAgB,qBAAqB,MAA8C;CACjF,OAAO;AACT;;AAGA,SAAgB,UAAU,MAAwB;CAChD,OAAO;AACT;;AAGA,SAAgB,kBAAkB,MAAwC;CACxE,OAAO;AACT;;AAEA,SAAgB,qBAAqB,MAA8C;CACjF,OAAO;AACT;;AAEA,SAAgB,eAAe,MAAkC;CAC/D,OAAO;AACT;;AAGA,SAAgB,sBAAsB,MAAgD;CACpF,OAAO;AACT;;AAGA,SAAgB,oBAAoB,MAA4C;CAC9E,OAAO;AACT;;AAGA,SAAgB,eAA+B,MAAsC;CACnF,OAAO;AACT;;AAGA,SAAgB,WAAW,MAA0B;CACnD,OAAO;AACT;;AAGA,SAAgB,oBAAoB,MAA4C;CAC9E,OAAO;AACT;;AAGA,SAAgB,wBAAwB,MAAoD;CAC1F,OAAO;AACT;;AAGA,SAAgB,oBAAoB,MAAoC;CACtE,OAAO;AACT;;AAGA,SAAgB,oBAAoB,MAA4C;CAC9E,OAAO;AACT;;AAGA,SAAgB,oBAAoB,MAA4C;CAC9E,OAAO;AACT;;AAGA,SAAgB,kBAAqC,MAAkD;CACrG,OAAO;AACT;;AAGA,SAAgB,gBAAgB,MAAsC;CACpE,OAAO;AACT;;AAGA,SAAgB,8BACd,MACqC;CACrC,OAAO;AACT;;AAGA,SAAgB,oBAAoB,MAA4C;CAC9E,OAAO;AACT;;AAGA,SAAgB,mBACd,MAC8C;CAC9C,OAAO;AACT"}
|