@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,56 @@
|
|
|
1
|
+
//#region src/constants/nativeHost.ts
|
|
2
|
+
/**
|
|
3
|
+
* The only modules a native composition may import at runtime.
|
|
4
|
+
*
|
|
5
|
+
* Defined once here. The CLI native build marks exactly these as external and
|
|
6
|
+
* fails on any other bare import, and the po-native shell builds a frozen module
|
|
7
|
+
* map whose keys must equal this list plus the Unistyles component paths.
|
|
8
|
+
*/
|
|
9
|
+
/** Bare specifiers the shell provides to every native composition. */
|
|
10
|
+
const NATIVE_HOST_MODULES = [
|
|
11
|
+
"react",
|
|
12
|
+
"react/jsx-runtime",
|
|
13
|
+
"react/jsx-dev-runtime",
|
|
14
|
+
"react-native",
|
|
15
|
+
"react-native-unistyles",
|
|
16
|
+
"@tanstack/store",
|
|
17
|
+
"@agimon-ai/po-core/native",
|
|
18
|
+
"@agimon-ai/po-native-components"
|
|
19
|
+
];
|
|
20
|
+
/** Prefix of the component imports the Unistyles Babel plugin generates. */
|
|
21
|
+
const NATIVE_UNISTYLES_COMPONENT_PREFIX = "react-native-unistyles/components/native/";
|
|
22
|
+
/**
|
|
23
|
+
* Every component under `components/native/` in react-native-unistyles 3.5.2. The Babel plugin can emit
|
|
24
|
+
* all of them, including `NativeText` and `NativeView` for the `unstable_Native*` aliases.
|
|
25
|
+
*/
|
|
26
|
+
const NATIVE_UNISTYLES_COMPONENTS = [
|
|
27
|
+
"ActivityIndicator",
|
|
28
|
+
"Animated",
|
|
29
|
+
"FlatList",
|
|
30
|
+
"Image",
|
|
31
|
+
"ImageBackground",
|
|
32
|
+
"KeyboardAvoidingView",
|
|
33
|
+
"NativeText",
|
|
34
|
+
"NativeView",
|
|
35
|
+
"Pressable",
|
|
36
|
+
"RefreshControl",
|
|
37
|
+
"SafeAreaView",
|
|
38
|
+
"ScrollView",
|
|
39
|
+
"SectionList",
|
|
40
|
+
"Switch",
|
|
41
|
+
"Text",
|
|
42
|
+
"TextInput",
|
|
43
|
+
"TouchableHighlight",
|
|
44
|
+
"TouchableOpacity",
|
|
45
|
+
"View",
|
|
46
|
+
"VirtualizedList"
|
|
47
|
+
];
|
|
48
|
+
/** The complete host module list: the bare modules plus one specifier per Unistyles component. */
|
|
49
|
+
const NATIVE_HOST_MODULE_IDS = [...NATIVE_HOST_MODULES, ...NATIVE_UNISTYLES_COMPONENTS.map((name) => `${NATIVE_UNISTYLES_COMPONENT_PREFIX}${name}`)];
|
|
50
|
+
//#endregion
|
|
51
|
+
exports.NATIVE_HOST_MODULES = NATIVE_HOST_MODULES;
|
|
52
|
+
exports.NATIVE_HOST_MODULE_IDS = NATIVE_HOST_MODULE_IDS;
|
|
53
|
+
exports.NATIVE_UNISTYLES_COMPONENTS = NATIVE_UNISTYLES_COMPONENTS;
|
|
54
|
+
exports.NATIVE_UNISTYLES_COMPONENT_PREFIX = NATIVE_UNISTYLES_COMPONENT_PREFIX;
|
|
55
|
+
|
|
56
|
+
//# sourceMappingURL=nativeHost.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nativeHost.cjs","names":[],"sources":["../../../src/constants/nativeHost.ts"],"sourcesContent":["/**\n * The only modules a native composition may import at runtime.\n *\n * Defined once here. The CLI native build marks exactly these as external and\n * fails on any other bare import, and the po-native shell builds a frozen module\n * map whose keys must equal this list plus the Unistyles component paths.\n */\n\n/** Bare specifiers the shell provides to every native composition. */\nexport const NATIVE_HOST_MODULES = [\n 'react',\n 'react/jsx-runtime',\n 'react/jsx-dev-runtime',\n 'react-native',\n 'react-native-unistyles',\n '@tanstack/store',\n '@agimon-ai/po-core/native',\n '@agimon-ai/po-native-components',\n] as const;\n\n/** Prefix of the component imports the Unistyles Babel plugin generates. */\nexport const NATIVE_UNISTYLES_COMPONENT_PREFIX = 'react-native-unistyles/components/native/';\n\n/**\n * Every component under `components/native/` in react-native-unistyles 3.5.2. The Babel plugin can emit\n * all of them, including `NativeText` and `NativeView` for the `unstable_Native*` aliases.\n */\nexport const NATIVE_UNISTYLES_COMPONENTS = [\n 'ActivityIndicator',\n 'Animated',\n 'FlatList',\n 'Image',\n 'ImageBackground',\n 'KeyboardAvoidingView',\n 'NativeText',\n 'NativeView',\n 'Pressable',\n 'RefreshControl',\n 'SafeAreaView',\n 'ScrollView',\n 'SectionList',\n 'Switch',\n 'Text',\n 'TextInput',\n 'TouchableHighlight',\n 'TouchableOpacity',\n 'View',\n 'VirtualizedList',\n] as const;\n\n/** The complete host module list: the bare modules plus one specifier per Unistyles component. */\nexport const NATIVE_HOST_MODULE_IDS: readonly string[] = [\n ...NATIVE_HOST_MODULES,\n ...NATIVE_UNISTYLES_COMPONENTS.map((name) => `${NATIVE_UNISTYLES_COMPONENT_PREFIX}${name}`),\n];\n"],"mappings":";;;;;;;;;AASA,MAAa,sBAAsB;CACjC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;;AAGA,MAAa,oCAAoC;;;;;AAMjD,MAAa,8BAA8B;CACzC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;;AAGA,MAAa,yBAA4C,CACvD,GAAG,qBACH,GAAG,4BAA4B,KAAK,SAAS,GAAG,oCAAoC,MAAM,CAC5F"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
//#region src/constants/nativeHost.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* The only modules a native composition may import at runtime.
|
|
4
|
+
*
|
|
5
|
+
* Defined once here. The CLI native build marks exactly these as external and
|
|
6
|
+
* fails on any other bare import, and the po-native shell builds a frozen module
|
|
7
|
+
* map whose keys must equal this list plus the Unistyles component paths.
|
|
8
|
+
*/
|
|
9
|
+
/** Bare specifiers the shell provides to every native composition. */
|
|
10
|
+
export declare const NATIVE_HOST_MODULES: readonly ['react', 'react/jsx-runtime', 'react/jsx-dev-runtime', 'react-native', 'react-native-unistyles', '@tanstack/store', '@agimon-ai/po-core/native', '@agimon-ai/po-native-components'];
|
|
11
|
+
/** Prefix of the component imports the Unistyles Babel plugin generates. */
|
|
12
|
+
export declare const NATIVE_UNISTYLES_COMPONENT_PREFIX = "react-native-unistyles/components/native/";
|
|
13
|
+
/**
|
|
14
|
+
* Every component under `components/native/` in react-native-unistyles 3.5.2. The Babel plugin can emit
|
|
15
|
+
* all of them, including `NativeText` and `NativeView` for the `unstable_Native*` aliases.
|
|
16
|
+
*/
|
|
17
|
+
export declare const NATIVE_UNISTYLES_COMPONENTS: readonly ['ActivityIndicator', 'Animated', 'FlatList', 'Image', 'ImageBackground', 'KeyboardAvoidingView', 'NativeText', 'NativeView', 'Pressable', 'RefreshControl', 'SafeAreaView', 'ScrollView', 'SectionList', 'Switch', 'Text', 'TextInput', 'TouchableHighlight', 'TouchableOpacity', 'View', 'VirtualizedList'];
|
|
18
|
+
/** The complete host module list: the bare modules plus one specifier per Unistyles component. */
|
|
19
|
+
export declare const NATIVE_HOST_MODULE_IDS: readonly string[];
|
|
20
|
+
//#endregion
|
|
21
|
+
//# sourceMappingURL=nativeHost.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nativeHost.d.mts","names":[],"sources":["../../../src/constants/nativeHost.ts"],"mappings":";;;;;;;;;qBASa;;qBAYA;;;;;qBAMA;;qBAwBA"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
//#region src/constants/nativeHost.ts
|
|
2
|
+
/**
|
|
3
|
+
* The only modules a native composition may import at runtime.
|
|
4
|
+
*
|
|
5
|
+
* Defined once here. The CLI native build marks exactly these as external and
|
|
6
|
+
* fails on any other bare import, and the po-native shell builds a frozen module
|
|
7
|
+
* map whose keys must equal this list plus the Unistyles component paths.
|
|
8
|
+
*/
|
|
9
|
+
/** Bare specifiers the shell provides to every native composition. */
|
|
10
|
+
const NATIVE_HOST_MODULES = [
|
|
11
|
+
"react",
|
|
12
|
+
"react/jsx-runtime",
|
|
13
|
+
"react/jsx-dev-runtime",
|
|
14
|
+
"react-native",
|
|
15
|
+
"react-native-unistyles",
|
|
16
|
+
"@tanstack/store",
|
|
17
|
+
"@agimon-ai/po-core/native",
|
|
18
|
+
"@agimon-ai/po-native-components"
|
|
19
|
+
];
|
|
20
|
+
/** Prefix of the component imports the Unistyles Babel plugin generates. */
|
|
21
|
+
const NATIVE_UNISTYLES_COMPONENT_PREFIX = "react-native-unistyles/components/native/";
|
|
22
|
+
/**
|
|
23
|
+
* Every component under `components/native/` in react-native-unistyles 3.5.2. The Babel plugin can emit
|
|
24
|
+
* all of them, including `NativeText` and `NativeView` for the `unstable_Native*` aliases.
|
|
25
|
+
*/
|
|
26
|
+
const NATIVE_UNISTYLES_COMPONENTS = [
|
|
27
|
+
"ActivityIndicator",
|
|
28
|
+
"Animated",
|
|
29
|
+
"FlatList",
|
|
30
|
+
"Image",
|
|
31
|
+
"ImageBackground",
|
|
32
|
+
"KeyboardAvoidingView",
|
|
33
|
+
"NativeText",
|
|
34
|
+
"NativeView",
|
|
35
|
+
"Pressable",
|
|
36
|
+
"RefreshControl",
|
|
37
|
+
"SafeAreaView",
|
|
38
|
+
"ScrollView",
|
|
39
|
+
"SectionList",
|
|
40
|
+
"Switch",
|
|
41
|
+
"Text",
|
|
42
|
+
"TextInput",
|
|
43
|
+
"TouchableHighlight",
|
|
44
|
+
"TouchableOpacity",
|
|
45
|
+
"View",
|
|
46
|
+
"VirtualizedList"
|
|
47
|
+
];
|
|
48
|
+
/** The complete host module list: the bare modules plus one specifier per Unistyles component. */
|
|
49
|
+
const NATIVE_HOST_MODULE_IDS = [...NATIVE_HOST_MODULES, ...NATIVE_UNISTYLES_COMPONENTS.map((name) => `${NATIVE_UNISTYLES_COMPONENT_PREFIX}${name}`)];
|
|
50
|
+
//#endregion
|
|
51
|
+
export { NATIVE_HOST_MODULES, NATIVE_HOST_MODULE_IDS, NATIVE_UNISTYLES_COMPONENTS, NATIVE_UNISTYLES_COMPONENT_PREFIX };
|
|
52
|
+
|
|
53
|
+
//# sourceMappingURL=nativeHost.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nativeHost.mjs","names":[],"sources":["../../../src/constants/nativeHost.ts"],"sourcesContent":["/**\n * The only modules a native composition may import at runtime.\n *\n * Defined once here. The CLI native build marks exactly these as external and\n * fails on any other bare import, and the po-native shell builds a frozen module\n * map whose keys must equal this list plus the Unistyles component paths.\n */\n\n/** Bare specifiers the shell provides to every native composition. */\nexport const NATIVE_HOST_MODULES = [\n 'react',\n 'react/jsx-runtime',\n 'react/jsx-dev-runtime',\n 'react-native',\n 'react-native-unistyles',\n '@tanstack/store',\n '@agimon-ai/po-core/native',\n '@agimon-ai/po-native-components',\n] as const;\n\n/** Prefix of the component imports the Unistyles Babel plugin generates. */\nexport const NATIVE_UNISTYLES_COMPONENT_PREFIX = 'react-native-unistyles/components/native/';\n\n/**\n * Every component under `components/native/` in react-native-unistyles 3.5.2. The Babel plugin can emit\n * all of them, including `NativeText` and `NativeView` for the `unstable_Native*` aliases.\n */\nexport const NATIVE_UNISTYLES_COMPONENTS = [\n 'ActivityIndicator',\n 'Animated',\n 'FlatList',\n 'Image',\n 'ImageBackground',\n 'KeyboardAvoidingView',\n 'NativeText',\n 'NativeView',\n 'Pressable',\n 'RefreshControl',\n 'SafeAreaView',\n 'ScrollView',\n 'SectionList',\n 'Switch',\n 'Text',\n 'TextInput',\n 'TouchableHighlight',\n 'TouchableOpacity',\n 'View',\n 'VirtualizedList',\n] as const;\n\n/** The complete host module list: the bare modules plus one specifier per Unistyles component. */\nexport const NATIVE_HOST_MODULE_IDS: readonly string[] = [\n ...NATIVE_HOST_MODULES,\n ...NATIVE_UNISTYLES_COMPONENTS.map((name) => `${NATIVE_UNISTYLES_COMPONENT_PREFIX}${name}`),\n];\n"],"mappings":";;;;;;;;;AASA,MAAa,sBAAsB;CACjC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;;AAGA,MAAa,oCAAoC;;;;;AAMjD,MAAa,8BAA8B;CACzC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;;AAGA,MAAa,yBAA4C,CACvD,GAAG,qBACH,GAAG,4BAA4B,KAAK,SAAS,GAAG,oCAAoC,MAAM,CAC5F"}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
//#region src/constants/remote.ts
|
|
2
|
+
/**
|
|
3
|
+
* Wire vocabulary for remote access, shared by the hub routes and the cockpit.
|
|
4
|
+
*
|
|
5
|
+
* Remote access binds a second loopback listener that a tunnel points at, and
|
|
6
|
+
* everything arriving there must prove it holds a paired session. The
|
|
7
|
+
* discriminator is the listening socket, not a header: a tunnel connects from
|
|
8
|
+
* 127.0.0.1 like every local client, and there is no header a remote caller
|
|
9
|
+
* cannot forge.
|
|
10
|
+
*/
|
|
11
|
+
/** REST surface for the remote-access control plane; local callers only, except turn-off and revoke. */
|
|
12
|
+
const REMOTE_API_ROUTE = "/api/remote";
|
|
13
|
+
/** Dev proxy control plane: list targets anywhere, register or remove them only on the host. */
|
|
14
|
+
const DEV_PROXY_TARGETS_ROUTE = `${REMOTE_API_ROUTE}/dev-proxy/targets`;
|
|
15
|
+
/**
|
|
16
|
+
* The path every proxied dev-server request lives under. Both slashes matter: the leading one
|
|
17
|
+
* anchors it at the root, and the trailing one keeps `/devproxyevil` from matching.
|
|
18
|
+
*/
|
|
19
|
+
const DEV_PROXY_PREFIX = "/devproxy/";
|
|
20
|
+
/** Direct endpoint that establishes one scoped end-to-end channel. */
|
|
21
|
+
const REMOTE_CHANNEL_ROUTE = `${REMOTE_API_ROUTE}/channel`;
|
|
22
|
+
/** The only authenticated HTTP gateway exposed on the tunnel listener. */
|
|
23
|
+
const REMOTE_HTTP_ROUTE = `${REMOTE_API_ROUTE}/request`;
|
|
24
|
+
/** Device-bound, sealed routes for ephemeral live Web Push registration. */
|
|
25
|
+
const REMOTE_PUSH_ROUTE = `${REMOTE_API_ROUTE}/push`;
|
|
26
|
+
`${REMOTE_PUSH_ROUTE}`;
|
|
27
|
+
/** The pairing page a scanned QR opens. Unauthenticated on the tunnel listener. */
|
|
28
|
+
const PAIRING_PAGE_ROUTE = "/pair";
|
|
29
|
+
/** Where the pairing page posts the scanned code. Unauthenticated on the tunnel listener. */
|
|
30
|
+
const PAIRING_CLAIM_ROUTE = "/api/remote/pair";
|
|
31
|
+
/** Polled until the host approves or denies. Unauthenticated on the tunnel listener. */
|
|
32
|
+
const PAIRING_STATUS_ROUTE = "/api/remote/pair/status";
|
|
33
|
+
/** Query parameter naming the pairing request; a path parameter would force a wildcard into the allowlist. */
|
|
34
|
+
const PAIRING_STATUS_QUERY = "request";
|
|
35
|
+
/**
|
|
36
|
+
* Session cookie base name. Rendered `__Host-po_device` by hono's `host`
|
|
37
|
+
* prefix, which refuses the cookie unless it is Secure, Path=/, and
|
|
38
|
+
* Domain-less, so a sibling subdomain can neither read nor overwrite it.
|
|
39
|
+
*/
|
|
40
|
+
const DEVICE_COOKIE = "po_device";
|
|
41
|
+
/**
|
|
42
|
+
* Passkey ceremonies exposed directly on the pairing surface.
|
|
43
|
+
*
|
|
44
|
+
* Sign-in is unauthenticated because it creates a session. Registration requires
|
|
45
|
+
* the paired device cookie issued after host approval, but remains direct so the
|
|
46
|
+
* self-contained pairing page can offer enrolment before loading the cockpit.
|
|
47
|
+
*/
|
|
48
|
+
const PASSKEY_AUTH_BEGIN_ROUTE = "/api/remote/passkeys/authenticate/begin";
|
|
49
|
+
const PASSKEY_AUTH_FINISH_ROUTE = "/api/remote/passkeys/authenticate/finish";
|
|
50
|
+
const PASSKEY_REGISTER_BEGIN_ROUTE = "/api/remote/passkeys/register/begin";
|
|
51
|
+
const PASSKEY_REGISTER_FINISH_ROUTE = "/api/remote/passkeys/register/finish";
|
|
52
|
+
/** Header carrying a step-up assertion for an action that needs more than a live session. */
|
|
53
|
+
const STEP_UP_HEADER = "x-po-assertion";
|
|
54
|
+
/** The vite dev server port; the origin allowlist and vite.config.ts share this. */
|
|
55
|
+
const WEB_DEV_SERVER_PORT = 7534;
|
|
56
|
+
/** How long a scanned pairing code stays claimable. */
|
|
57
|
+
const PAIRING_CODE_TTL_MS = 12e4;
|
|
58
|
+
/** How long the host has to approve or deny a claimed request. */
|
|
59
|
+
const PAIRING_REQUEST_TTL_MS = 18e4;
|
|
60
|
+
/** Cookie lifetime when session expiry is switched off; a session cookie can outlive the laptop. */
|
|
61
|
+
const COOKIE_CEILING_SECONDS = 2592e3;
|
|
62
|
+
/** Hub frame announcing remote-access state; sent to local and remote pages. */
|
|
63
|
+
const REMOTE_STATE_TYPE = "remote_state";
|
|
64
|
+
/** Hub frame announcing a device waiting for approval; sent to local pages only. */
|
|
65
|
+
const REMOTE_PAIRING_REQUEST_TYPE = "remote_pairing_request";
|
|
66
|
+
/**
|
|
67
|
+
* Native device trust. A phone paired by QR registers an identity key and a biometric step-up key over
|
|
68
|
+
* the sealed gateway, then reconnects with the identity key and no host approval.
|
|
69
|
+
*/
|
|
70
|
+
const DEVICE_AUTH_CHALLENGE_ROUTE = `${REMOTE_API_ROUTE}/device-auth/challenge`;
|
|
71
|
+
const DEVICE_AUTH_AUTHENTICATE_ROUTE = `${REMOTE_API_ROUTE}/device-auth/authenticate`;
|
|
72
|
+
/** Sealed only: registration bodies never travel where the relay can read them. */
|
|
73
|
+
const TRUSTED_DEVICES_ROUTE = `${REMOTE_API_ROUTE}/trusted-devices`;
|
|
74
|
+
const DEVICE_AUTH_AUTHENTICATE_BODY_BYTES = 1024;
|
|
75
|
+
const TRUSTED_DEVICE_REGISTER_BODY_BYTES = 2048;
|
|
76
|
+
/** A reconnect challenge has to survive a slow network and a cold app start. */
|
|
77
|
+
const DEVICE_AUTH_CHALLENGE_TTL_MS = 12e4;
|
|
78
|
+
/** Matches the passkey step-up window: long enough for Face ID, short enough to be useless when captured. */
|
|
79
|
+
const DEVICE_STEP_UP_CHALLENGE_TTL_MS = 6e4;
|
|
80
|
+
/** Upper bound on outstanding device challenges; the oldest is dropped first. */
|
|
81
|
+
const DEVICE_CHALLENGE_LIMIT = 1024;
|
|
82
|
+
/** Signed by the host bundle signer: `origin`, `hostPublicKey`, `deviceNonce`. */
|
|
83
|
+
const HOST_CHANNEL_KEY_TAG = "po/host-channel-key/v1";
|
|
84
|
+
/**
|
|
85
|
+
* Signed by the identity key and separately by the step-up key: `origin`, `hostPublicKey`,
|
|
86
|
+
* `sessionDeviceId`, `identityPublicKey`, `stepUpPublicKey`, `platform`.
|
|
87
|
+
*/
|
|
88
|
+
const DEVICE_REGISTER_TAG = "po/device-register/v1";
|
|
89
|
+
/**
|
|
90
|
+
* Signed by the identity key: `origin`, `challenge`, `hostPublicKey`, `trustedDeviceId`, `sessionKey`,
|
|
91
|
+
* `protocolKey`, `httpKey`.
|
|
92
|
+
*/
|
|
93
|
+
const DEVICE_AUTH_TAG = "po/device-auth/v1";
|
|
94
|
+
/** Signed by the biometric step-up key: `origin`, `action`, `sessionDeviceId`, `challengeId`, `challenge`. */
|
|
95
|
+
const DEVICE_STEP_UP_TAG = "po/device-step-up/v1";
|
|
96
|
+
//#endregion
|
|
97
|
+
exports.COOKIE_CEILING_SECONDS = COOKIE_CEILING_SECONDS;
|
|
98
|
+
exports.DEVICE_AUTH_AUTHENTICATE_BODY_BYTES = DEVICE_AUTH_AUTHENTICATE_BODY_BYTES;
|
|
99
|
+
exports.DEVICE_AUTH_AUTHENTICATE_ROUTE = DEVICE_AUTH_AUTHENTICATE_ROUTE;
|
|
100
|
+
exports.DEVICE_AUTH_CHALLENGE_ROUTE = DEVICE_AUTH_CHALLENGE_ROUTE;
|
|
101
|
+
exports.DEVICE_AUTH_CHALLENGE_TTL_MS = DEVICE_AUTH_CHALLENGE_TTL_MS;
|
|
102
|
+
exports.DEVICE_AUTH_TAG = DEVICE_AUTH_TAG;
|
|
103
|
+
exports.DEVICE_CHALLENGE_LIMIT = DEVICE_CHALLENGE_LIMIT;
|
|
104
|
+
exports.DEVICE_COOKIE = DEVICE_COOKIE;
|
|
105
|
+
exports.DEVICE_REGISTER_TAG = DEVICE_REGISTER_TAG;
|
|
106
|
+
exports.DEVICE_STEP_UP_CHALLENGE_TTL_MS = DEVICE_STEP_UP_CHALLENGE_TTL_MS;
|
|
107
|
+
exports.DEVICE_STEP_UP_TAG = DEVICE_STEP_UP_TAG;
|
|
108
|
+
exports.DEV_PROXY_PREFIX = DEV_PROXY_PREFIX;
|
|
109
|
+
exports.DEV_PROXY_TARGETS_ROUTE = DEV_PROXY_TARGETS_ROUTE;
|
|
110
|
+
exports.HOST_CHANNEL_KEY_TAG = HOST_CHANNEL_KEY_TAG;
|
|
111
|
+
exports.PAIRING_CLAIM_ROUTE = PAIRING_CLAIM_ROUTE;
|
|
112
|
+
exports.PAIRING_CODE_TTL_MS = PAIRING_CODE_TTL_MS;
|
|
113
|
+
exports.PAIRING_PAGE_ROUTE = PAIRING_PAGE_ROUTE;
|
|
114
|
+
exports.PAIRING_REQUEST_TTL_MS = PAIRING_REQUEST_TTL_MS;
|
|
115
|
+
exports.PAIRING_STATUS_QUERY = PAIRING_STATUS_QUERY;
|
|
116
|
+
exports.PAIRING_STATUS_ROUTE = PAIRING_STATUS_ROUTE;
|
|
117
|
+
exports.PASSKEY_AUTH_BEGIN_ROUTE = PASSKEY_AUTH_BEGIN_ROUTE;
|
|
118
|
+
exports.PASSKEY_AUTH_FINISH_ROUTE = PASSKEY_AUTH_FINISH_ROUTE;
|
|
119
|
+
exports.PASSKEY_REGISTER_BEGIN_ROUTE = PASSKEY_REGISTER_BEGIN_ROUTE;
|
|
120
|
+
exports.PASSKEY_REGISTER_FINISH_ROUTE = PASSKEY_REGISTER_FINISH_ROUTE;
|
|
121
|
+
exports.REMOTE_API_ROUTE = REMOTE_API_ROUTE;
|
|
122
|
+
exports.REMOTE_CHANNEL_ROUTE = REMOTE_CHANNEL_ROUTE;
|
|
123
|
+
exports.REMOTE_HTTP_ROUTE = REMOTE_HTTP_ROUTE;
|
|
124
|
+
exports.REMOTE_PAIRING_REQUEST_TYPE = REMOTE_PAIRING_REQUEST_TYPE;
|
|
125
|
+
exports.REMOTE_PUSH_ROUTE = REMOTE_PUSH_ROUTE;
|
|
126
|
+
exports.REMOTE_STATE_TYPE = REMOTE_STATE_TYPE;
|
|
127
|
+
exports.STEP_UP_HEADER = STEP_UP_HEADER;
|
|
128
|
+
exports.TRUSTED_DEVICES_ROUTE = TRUSTED_DEVICES_ROUTE;
|
|
129
|
+
exports.TRUSTED_DEVICE_REGISTER_BODY_BYTES = TRUSTED_DEVICE_REGISTER_BODY_BYTES;
|
|
130
|
+
exports.WEB_DEV_SERVER_PORT = WEB_DEV_SERVER_PORT;
|
|
131
|
+
|
|
132
|
+
//# sourceMappingURL=remote.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remote.cjs","names":[],"sources":["../../../src/constants/remote.ts"],"sourcesContent":["/**\n * Wire vocabulary for remote access, shared by the hub routes and the cockpit.\n *\n * Remote access binds a second loopback listener that a tunnel points at, and\n * everything arriving there must prove it holds a paired session. The\n * discriminator is the listening socket, not a header: a tunnel connects from\n * 127.0.0.1 like every local client, and there is no header a remote caller\n * cannot forge.\n */\n\n/** REST surface for the remote-access control plane; local callers only, except turn-off and revoke. */\nexport const REMOTE_API_ROUTE = '/api/remote';\n\n/** Dev proxy control plane: list targets anywhere, register or remove them only on the host. */\nexport const DEV_PROXY_TARGETS_ROUTE = `${REMOTE_API_ROUTE}/dev-proxy/targets`;\n\n/**\n * The path every proxied dev-server request lives under. Both slashes matter: the leading one\n * anchors it at the root, and the trailing one keeps `/devproxyevil` from matching.\n */\nexport const DEV_PROXY_PREFIX = '/devproxy/';\n\n/** Direct endpoint that establishes one scoped end-to-end channel. */\nexport const REMOTE_CHANNEL_ROUTE = `${REMOTE_API_ROUTE}/channel`;\n\n/** The only authenticated HTTP gateway exposed on the tunnel listener. */\nexport const REMOTE_HTTP_ROUTE = `${REMOTE_API_ROUTE}/request`;\n\n/** Device-bound, sealed routes for ephemeral live Web Push registration. */\nexport const REMOTE_PUSH_ROUTE = `${REMOTE_API_ROUTE}/push`;\n\nexport const REMOTE_PUSH_KEY_ROUTE = `${REMOTE_PUSH_ROUTE}/key`;\n\nexport const PROTOCOL_SOCKET_ROUTE = '/api/ws';\n\n/** The pairing page a scanned QR opens. Unauthenticated on the tunnel listener. */\nexport const PAIRING_PAGE_ROUTE = '/pair';\n\n/** Where the pairing page posts the scanned code. Unauthenticated on the tunnel listener. */\nexport const PAIRING_CLAIM_ROUTE = '/api/remote/pair';\n\n/** Polled until the host approves or denies. Unauthenticated on the tunnel listener. */\nexport const PAIRING_STATUS_ROUTE = '/api/remote/pair/status';\n\n/** Query parameter naming the pairing request; a path parameter would force a wildcard into the allowlist. */\nexport const PAIRING_STATUS_QUERY = 'request';\n\n/** URL-fragment fields authenticated by seeing the host's physical QR. */\nexport const BUNDLE_SIGNING_KEY_PARAM = 's';\n\nexport const BUNDLE_MINIMUM_REVISION_PARAM = 'r';\n\n/**\n * Session cookie base name. Rendered `__Host-po_device` by hono's `host`\n * prefix, which refuses the cookie unless it is Secure, Path=/, and\n * Domain-less, so a sibling subdomain can neither read nor overwrite it.\n */\nexport const DEVICE_COOKIE = 'po_device';\n\n/**\n * Passkey ceremonies exposed directly on the pairing surface.\n *\n * Sign-in is unauthenticated because it creates a session. Registration requires\n * the paired device cookie issued after host approval, but remains direct so the\n * self-contained pairing page can offer enrolment before loading the cockpit.\n */\nexport const PASSKEY_AUTH_BEGIN_ROUTE = '/api/remote/passkeys/authenticate/begin';\n\nexport const PASSKEY_AUTH_FINISH_ROUTE = '/api/remote/passkeys/authenticate/finish';\n\nexport const PASSKEY_REGISTER_BEGIN_ROUTE = '/api/remote/passkeys/register/begin';\n\nexport const PASSKEY_REGISTER_FINISH_ROUTE = '/api/remote/passkeys/register/finish';\n\n/** Header carrying a step-up assertion for an action that needs more than a live session. */\nexport const STEP_UP_HEADER = 'x-po-assertion';\n\n/** The vite dev server port; the origin allowlist and vite.config.ts share this. */\nexport const WEB_DEV_SERVER_PORT = 7534;\n\n/** How long a scanned pairing code stays claimable. */\nexport const PAIRING_CODE_TTL_MS = 120_000;\n\n/** How long the host has to approve or deny a claimed request. */\nexport const PAIRING_REQUEST_TTL_MS = 180_000;\n\n/** Cookie lifetime when session expiry is switched off; a session cookie can outlive the laptop. */\nexport const COOKIE_CEILING_SECONDS = 2_592_000;\n\n/** Hub frame announcing remote-access state; sent to local and remote pages. */\nexport const REMOTE_STATE_TYPE = 'remote_state';\n\n/** Hub frame announcing a device waiting for approval; sent to local pages only. */\nexport const REMOTE_PAIRING_REQUEST_TYPE = 'remote_pairing_request';\n\n/**\n * Native device trust. A phone paired by QR registers an identity key and a biometric step-up key over\n * the sealed gateway, then reconnects with the identity key and no host approval.\n */\nexport const DEVICE_AUTH_CHALLENGE_ROUTE = `${REMOTE_API_ROUTE}/device-auth/challenge`;\n\nexport const DEVICE_AUTH_AUTHENTICATE_ROUTE = `${REMOTE_API_ROUTE}/device-auth/authenticate`;\n\n/** Sealed only: registration bodies never travel where the relay can read them. */\nexport const TRUSTED_DEVICES_ROUTE = `${REMOTE_API_ROUTE}/trusted-devices`;\n\nexport const DEVICE_AUTH_CHALLENGE_BODY_BYTES = 256;\n\nexport const DEVICE_AUTH_AUTHENTICATE_BODY_BYTES = 1024;\n\nexport const TRUSTED_DEVICE_REGISTER_BODY_BYTES = 2 * 1024;\n\n/** Most trusted native devices the host keeps on disk. */\nexport const TRUSTED_DEVICE_LIMIT = 32;\n\n/** A reconnect challenge has to survive a slow network and a cold app start. */\nexport const DEVICE_AUTH_CHALLENGE_TTL_MS = 120_000;\n\n/** Matches the passkey step-up window: long enough for Face ID, short enough to be useless when captured. */\nexport const DEVICE_STEP_UP_CHALLENGE_TTL_MS = 60_000;\n\n/** Upper bound on outstanding device challenges; the oldest is dropped first. */\nexport const DEVICE_CHALLENGE_LIMIT = 1024;\n\n/** Signed by the host bundle signer: `origin`, `hostPublicKey`, `deviceNonce`. */\nexport const HOST_CHANNEL_KEY_TAG = 'po/host-channel-key/v1';\n\n/**\n * Signed by the identity key and separately by the step-up key: `origin`, `hostPublicKey`,\n * `sessionDeviceId`, `identityPublicKey`, `stepUpPublicKey`, `platform`.\n */\nexport const DEVICE_REGISTER_TAG = 'po/device-register/v1';\n\n/**\n * Signed by the identity key: `origin`, `challenge`, `hostPublicKey`, `trustedDeviceId`, `sessionKey`,\n * `protocolKey`, `httpKey`.\n */\nexport const DEVICE_AUTH_TAG = 'po/device-auth/v1';\n\n/** Signed by the biometric step-up key: `origin`, `action`, `sessionDeviceId`, `challengeId`, `challenge`. */\nexport const DEVICE_STEP_UP_TAG = 'po/device-step-up/v1';\n"],"mappings":";;;;;;;;;;;AAWA,MAAa,mBAAmB;;AAGhC,MAAa,0BAA0B,GAAG,iBAAiB;;;;;AAM3D,MAAa,mBAAmB;;AAGhC,MAAa,uBAAuB,GAAG,iBAAiB;;AAGxD,MAAa,oBAAoB,GAAG,iBAAiB;;AAGrD,MAAa,oBAAoB,GAAG,iBAAiB;AAEhB,GAAG,kBAAH;;AAKrC,MAAa,qBAAqB;;AAGlC,MAAa,sBAAsB;;AAGnC,MAAa,uBAAuB;;AAGpC,MAAa,uBAAuB;;;;;;AAYpC,MAAa,gBAAgB;;;;;;;;AAS7B,MAAa,2BAA2B;AAExC,MAAa,4BAA4B;AAEzC,MAAa,+BAA+B;AAE5C,MAAa,gCAAgC;;AAG7C,MAAa,iBAAiB;;AAG9B,MAAa,sBAAsB;;AAGnC,MAAa,sBAAsB;;AAGnC,MAAa,yBAAyB;;AAGtC,MAAa,yBAAyB;;AAGtC,MAAa,oBAAoB;;AAGjC,MAAa,8BAA8B;;;;;AAM3C,MAAa,8BAA8B,GAAG,iBAAiB;AAE/D,MAAa,iCAAiC,GAAG,iBAAiB;;AAGlE,MAAa,wBAAwB,GAAG,iBAAiB;AAIzD,MAAa,sCAAsC;AAEnD,MAAa,qCAAqC;;AAMlD,MAAa,+BAA+B;;AAG5C,MAAa,kCAAkC;;AAG/C,MAAa,yBAAyB;;AAGtC,MAAa,uBAAuB;;;;;AAMpC,MAAa,sBAAsB;;;;;AAMnC,MAAa,kBAAkB;;AAG/B,MAAa,qBAAqB"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
//#region src/constants/remote.ts
|
|
2
|
+
/**
|
|
3
|
+
* Wire vocabulary for remote access, shared by the hub routes and the cockpit.
|
|
4
|
+
*
|
|
5
|
+
* Remote access binds a second loopback listener that a tunnel points at, and
|
|
6
|
+
* everything arriving there must prove it holds a paired session. The
|
|
7
|
+
* discriminator is the listening socket, not a header: a tunnel connects from
|
|
8
|
+
* 127.0.0.1 like every local client, and there is no header a remote caller
|
|
9
|
+
* cannot forge.
|
|
10
|
+
*/
|
|
11
|
+
/** REST surface for the remote-access control plane; local callers only, except turn-off and revoke. */
|
|
12
|
+
const REMOTE_API_ROUTE = "/api/remote";
|
|
13
|
+
/** Dev proxy control plane: list targets anywhere, register or remove them only on the host. */
|
|
14
|
+
const DEV_PROXY_TARGETS_ROUTE = `${REMOTE_API_ROUTE}/dev-proxy/targets`;
|
|
15
|
+
/**
|
|
16
|
+
* The path every proxied dev-server request lives under. Both slashes matter: the leading one
|
|
17
|
+
* anchors it at the root, and the trailing one keeps `/devproxyevil` from matching.
|
|
18
|
+
*/
|
|
19
|
+
const DEV_PROXY_PREFIX = "/devproxy/";
|
|
20
|
+
/** Direct endpoint that establishes one scoped end-to-end channel. */
|
|
21
|
+
const REMOTE_CHANNEL_ROUTE = `${REMOTE_API_ROUTE}/channel`;
|
|
22
|
+
/** The only authenticated HTTP gateway exposed on the tunnel listener. */
|
|
23
|
+
const REMOTE_HTTP_ROUTE = `${REMOTE_API_ROUTE}/request`;
|
|
24
|
+
/** Device-bound, sealed routes for ephemeral live Web Push registration. */
|
|
25
|
+
const REMOTE_PUSH_ROUTE = `${REMOTE_API_ROUTE}/push`;
|
|
26
|
+
`${REMOTE_PUSH_ROUTE}`;
|
|
27
|
+
/** The pairing page a scanned QR opens. Unauthenticated on the tunnel listener. */
|
|
28
|
+
const PAIRING_PAGE_ROUTE = "/pair";
|
|
29
|
+
/** Where the pairing page posts the scanned code. Unauthenticated on the tunnel listener. */
|
|
30
|
+
const PAIRING_CLAIM_ROUTE = "/api/remote/pair";
|
|
31
|
+
/** Polled until the host approves or denies. Unauthenticated on the tunnel listener. */
|
|
32
|
+
const PAIRING_STATUS_ROUTE = "/api/remote/pair/status";
|
|
33
|
+
/** Query parameter naming the pairing request; a path parameter would force a wildcard into the allowlist. */
|
|
34
|
+
const PAIRING_STATUS_QUERY = "request";
|
|
35
|
+
/**
|
|
36
|
+
* Session cookie base name. Rendered `__Host-po_device` by hono's `host`
|
|
37
|
+
* prefix, which refuses the cookie unless it is Secure, Path=/, and
|
|
38
|
+
* Domain-less, so a sibling subdomain can neither read nor overwrite it.
|
|
39
|
+
*/
|
|
40
|
+
const DEVICE_COOKIE = "po_device";
|
|
41
|
+
/**
|
|
42
|
+
* Passkey ceremonies exposed directly on the pairing surface.
|
|
43
|
+
*
|
|
44
|
+
* Sign-in is unauthenticated because it creates a session. Registration requires
|
|
45
|
+
* the paired device cookie issued after host approval, but remains direct so the
|
|
46
|
+
* self-contained pairing page can offer enrolment before loading the cockpit.
|
|
47
|
+
*/
|
|
48
|
+
const PASSKEY_AUTH_BEGIN_ROUTE = "/api/remote/passkeys/authenticate/begin";
|
|
49
|
+
const PASSKEY_AUTH_FINISH_ROUTE = "/api/remote/passkeys/authenticate/finish";
|
|
50
|
+
const PASSKEY_REGISTER_BEGIN_ROUTE = "/api/remote/passkeys/register/begin";
|
|
51
|
+
const PASSKEY_REGISTER_FINISH_ROUTE = "/api/remote/passkeys/register/finish";
|
|
52
|
+
/** Header carrying a step-up assertion for an action that needs more than a live session. */
|
|
53
|
+
const STEP_UP_HEADER = "x-po-assertion";
|
|
54
|
+
/** The vite dev server port; the origin allowlist and vite.config.ts share this. */
|
|
55
|
+
const WEB_DEV_SERVER_PORT = 7534;
|
|
56
|
+
/** How long a scanned pairing code stays claimable. */
|
|
57
|
+
const PAIRING_CODE_TTL_MS = 12e4;
|
|
58
|
+
/** How long the host has to approve or deny a claimed request. */
|
|
59
|
+
const PAIRING_REQUEST_TTL_MS = 18e4;
|
|
60
|
+
/** Cookie lifetime when session expiry is switched off; a session cookie can outlive the laptop. */
|
|
61
|
+
const COOKIE_CEILING_SECONDS = 2592e3;
|
|
62
|
+
/** Hub frame announcing remote-access state; sent to local and remote pages. */
|
|
63
|
+
const REMOTE_STATE_TYPE = "remote_state";
|
|
64
|
+
/** Hub frame announcing a device waiting for approval; sent to local pages only. */
|
|
65
|
+
const REMOTE_PAIRING_REQUEST_TYPE = "remote_pairing_request";
|
|
66
|
+
/**
|
|
67
|
+
* Native device trust. A phone paired by QR registers an identity key and a biometric step-up key over
|
|
68
|
+
* the sealed gateway, then reconnects with the identity key and no host approval.
|
|
69
|
+
*/
|
|
70
|
+
const DEVICE_AUTH_CHALLENGE_ROUTE = `${REMOTE_API_ROUTE}/device-auth/challenge`;
|
|
71
|
+
const DEVICE_AUTH_AUTHENTICATE_ROUTE = `${REMOTE_API_ROUTE}/device-auth/authenticate`;
|
|
72
|
+
/** Sealed only: registration bodies never travel where the relay can read them. */
|
|
73
|
+
const TRUSTED_DEVICES_ROUTE = `${REMOTE_API_ROUTE}/trusted-devices`;
|
|
74
|
+
const DEVICE_AUTH_AUTHENTICATE_BODY_BYTES = 1024;
|
|
75
|
+
const TRUSTED_DEVICE_REGISTER_BODY_BYTES = 2048;
|
|
76
|
+
/** A reconnect challenge has to survive a slow network and a cold app start. */
|
|
77
|
+
const DEVICE_AUTH_CHALLENGE_TTL_MS = 12e4;
|
|
78
|
+
/** Matches the passkey step-up window: long enough for Face ID, short enough to be useless when captured. */
|
|
79
|
+
const DEVICE_STEP_UP_CHALLENGE_TTL_MS = 6e4;
|
|
80
|
+
/** Upper bound on outstanding device challenges; the oldest is dropped first. */
|
|
81
|
+
const DEVICE_CHALLENGE_LIMIT = 1024;
|
|
82
|
+
/** Signed by the host bundle signer: `origin`, `hostPublicKey`, `deviceNonce`. */
|
|
83
|
+
const HOST_CHANNEL_KEY_TAG = "po/host-channel-key/v1";
|
|
84
|
+
/**
|
|
85
|
+
* Signed by the identity key and separately by the step-up key: `origin`, `hostPublicKey`,
|
|
86
|
+
* `sessionDeviceId`, `identityPublicKey`, `stepUpPublicKey`, `platform`.
|
|
87
|
+
*/
|
|
88
|
+
const DEVICE_REGISTER_TAG = "po/device-register/v1";
|
|
89
|
+
/**
|
|
90
|
+
* Signed by the identity key: `origin`, `challenge`, `hostPublicKey`, `trustedDeviceId`, `sessionKey`,
|
|
91
|
+
* `protocolKey`, `httpKey`.
|
|
92
|
+
*/
|
|
93
|
+
const DEVICE_AUTH_TAG = "po/device-auth/v1";
|
|
94
|
+
/** Signed by the biometric step-up key: `origin`, `action`, `sessionDeviceId`, `challengeId`, `challenge`. */
|
|
95
|
+
const DEVICE_STEP_UP_TAG = "po/device-step-up/v1";
|
|
96
|
+
//#endregion
|
|
97
|
+
export { COOKIE_CEILING_SECONDS, DEVICE_AUTH_AUTHENTICATE_BODY_BYTES, DEVICE_AUTH_AUTHENTICATE_ROUTE, DEVICE_AUTH_CHALLENGE_ROUTE, DEVICE_AUTH_CHALLENGE_TTL_MS, DEVICE_AUTH_TAG, DEVICE_CHALLENGE_LIMIT, DEVICE_COOKIE, DEVICE_REGISTER_TAG, DEVICE_STEP_UP_CHALLENGE_TTL_MS, DEVICE_STEP_UP_TAG, DEV_PROXY_PREFIX, DEV_PROXY_TARGETS_ROUTE, HOST_CHANNEL_KEY_TAG, PAIRING_CLAIM_ROUTE, PAIRING_CODE_TTL_MS, PAIRING_PAGE_ROUTE, PAIRING_REQUEST_TTL_MS, PAIRING_STATUS_QUERY, PAIRING_STATUS_ROUTE, PASSKEY_AUTH_BEGIN_ROUTE, PASSKEY_AUTH_FINISH_ROUTE, PASSKEY_REGISTER_BEGIN_ROUTE, PASSKEY_REGISTER_FINISH_ROUTE, REMOTE_API_ROUTE, REMOTE_CHANNEL_ROUTE, REMOTE_HTTP_ROUTE, REMOTE_PAIRING_REQUEST_TYPE, REMOTE_PUSH_ROUTE, REMOTE_STATE_TYPE, STEP_UP_HEADER, TRUSTED_DEVICES_ROUTE, TRUSTED_DEVICE_REGISTER_BODY_BYTES, WEB_DEV_SERVER_PORT };
|
|
98
|
+
|
|
99
|
+
//# sourceMappingURL=remote.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remote.mjs","names":[],"sources":["../../../src/constants/remote.ts"],"sourcesContent":["/**\n * Wire vocabulary for remote access, shared by the hub routes and the cockpit.\n *\n * Remote access binds a second loopback listener that a tunnel points at, and\n * everything arriving there must prove it holds a paired session. The\n * discriminator is the listening socket, not a header: a tunnel connects from\n * 127.0.0.1 like every local client, and there is no header a remote caller\n * cannot forge.\n */\n\n/** REST surface for the remote-access control plane; local callers only, except turn-off and revoke. */\nexport const REMOTE_API_ROUTE = '/api/remote';\n\n/** Dev proxy control plane: list targets anywhere, register or remove them only on the host. */\nexport const DEV_PROXY_TARGETS_ROUTE = `${REMOTE_API_ROUTE}/dev-proxy/targets`;\n\n/**\n * The path every proxied dev-server request lives under. Both slashes matter: the leading one\n * anchors it at the root, and the trailing one keeps `/devproxyevil` from matching.\n */\nexport const DEV_PROXY_PREFIX = '/devproxy/';\n\n/** Direct endpoint that establishes one scoped end-to-end channel. */\nexport const REMOTE_CHANNEL_ROUTE = `${REMOTE_API_ROUTE}/channel`;\n\n/** The only authenticated HTTP gateway exposed on the tunnel listener. */\nexport const REMOTE_HTTP_ROUTE = `${REMOTE_API_ROUTE}/request`;\n\n/** Device-bound, sealed routes for ephemeral live Web Push registration. */\nexport const REMOTE_PUSH_ROUTE = `${REMOTE_API_ROUTE}/push`;\n\nexport const REMOTE_PUSH_KEY_ROUTE = `${REMOTE_PUSH_ROUTE}/key`;\n\nexport const PROTOCOL_SOCKET_ROUTE = '/api/ws';\n\n/** The pairing page a scanned QR opens. Unauthenticated on the tunnel listener. */\nexport const PAIRING_PAGE_ROUTE = '/pair';\n\n/** Where the pairing page posts the scanned code. Unauthenticated on the tunnel listener. */\nexport const PAIRING_CLAIM_ROUTE = '/api/remote/pair';\n\n/** Polled until the host approves or denies. Unauthenticated on the tunnel listener. */\nexport const PAIRING_STATUS_ROUTE = '/api/remote/pair/status';\n\n/** Query parameter naming the pairing request; a path parameter would force a wildcard into the allowlist. */\nexport const PAIRING_STATUS_QUERY = 'request';\n\n/** URL-fragment fields authenticated by seeing the host's physical QR. */\nexport const BUNDLE_SIGNING_KEY_PARAM = 's';\n\nexport const BUNDLE_MINIMUM_REVISION_PARAM = 'r';\n\n/**\n * Session cookie base name. Rendered `__Host-po_device` by hono's `host`\n * prefix, which refuses the cookie unless it is Secure, Path=/, and\n * Domain-less, so a sibling subdomain can neither read nor overwrite it.\n */\nexport const DEVICE_COOKIE = 'po_device';\n\n/**\n * Passkey ceremonies exposed directly on the pairing surface.\n *\n * Sign-in is unauthenticated because it creates a session. Registration requires\n * the paired device cookie issued after host approval, but remains direct so the\n * self-contained pairing page can offer enrolment before loading the cockpit.\n */\nexport const PASSKEY_AUTH_BEGIN_ROUTE = '/api/remote/passkeys/authenticate/begin';\n\nexport const PASSKEY_AUTH_FINISH_ROUTE = '/api/remote/passkeys/authenticate/finish';\n\nexport const PASSKEY_REGISTER_BEGIN_ROUTE = '/api/remote/passkeys/register/begin';\n\nexport const PASSKEY_REGISTER_FINISH_ROUTE = '/api/remote/passkeys/register/finish';\n\n/** Header carrying a step-up assertion for an action that needs more than a live session. */\nexport const STEP_UP_HEADER = 'x-po-assertion';\n\n/** The vite dev server port; the origin allowlist and vite.config.ts share this. */\nexport const WEB_DEV_SERVER_PORT = 7534;\n\n/** How long a scanned pairing code stays claimable. */\nexport const PAIRING_CODE_TTL_MS = 120_000;\n\n/** How long the host has to approve or deny a claimed request. */\nexport const PAIRING_REQUEST_TTL_MS = 180_000;\n\n/** Cookie lifetime when session expiry is switched off; a session cookie can outlive the laptop. */\nexport const COOKIE_CEILING_SECONDS = 2_592_000;\n\n/** Hub frame announcing remote-access state; sent to local and remote pages. */\nexport const REMOTE_STATE_TYPE = 'remote_state';\n\n/** Hub frame announcing a device waiting for approval; sent to local pages only. */\nexport const REMOTE_PAIRING_REQUEST_TYPE = 'remote_pairing_request';\n\n/**\n * Native device trust. A phone paired by QR registers an identity key and a biometric step-up key over\n * the sealed gateway, then reconnects with the identity key and no host approval.\n */\nexport const DEVICE_AUTH_CHALLENGE_ROUTE = `${REMOTE_API_ROUTE}/device-auth/challenge`;\n\nexport const DEVICE_AUTH_AUTHENTICATE_ROUTE = `${REMOTE_API_ROUTE}/device-auth/authenticate`;\n\n/** Sealed only: registration bodies never travel where the relay can read them. */\nexport const TRUSTED_DEVICES_ROUTE = `${REMOTE_API_ROUTE}/trusted-devices`;\n\nexport const DEVICE_AUTH_CHALLENGE_BODY_BYTES = 256;\n\nexport const DEVICE_AUTH_AUTHENTICATE_BODY_BYTES = 1024;\n\nexport const TRUSTED_DEVICE_REGISTER_BODY_BYTES = 2 * 1024;\n\n/** Most trusted native devices the host keeps on disk. */\nexport const TRUSTED_DEVICE_LIMIT = 32;\n\n/** A reconnect challenge has to survive a slow network and a cold app start. */\nexport const DEVICE_AUTH_CHALLENGE_TTL_MS = 120_000;\n\n/** Matches the passkey step-up window: long enough for Face ID, short enough to be useless when captured. */\nexport const DEVICE_STEP_UP_CHALLENGE_TTL_MS = 60_000;\n\n/** Upper bound on outstanding device challenges; the oldest is dropped first. */\nexport const DEVICE_CHALLENGE_LIMIT = 1024;\n\n/** Signed by the host bundle signer: `origin`, `hostPublicKey`, `deviceNonce`. */\nexport const HOST_CHANNEL_KEY_TAG = 'po/host-channel-key/v1';\n\n/**\n * Signed by the identity key and separately by the step-up key: `origin`, `hostPublicKey`,\n * `sessionDeviceId`, `identityPublicKey`, `stepUpPublicKey`, `platform`.\n */\nexport const DEVICE_REGISTER_TAG = 'po/device-register/v1';\n\n/**\n * Signed by the identity key: `origin`, `challenge`, `hostPublicKey`, `trustedDeviceId`, `sessionKey`,\n * `protocolKey`, `httpKey`.\n */\nexport const DEVICE_AUTH_TAG = 'po/device-auth/v1';\n\n/** Signed by the biometric step-up key: `origin`, `action`, `sessionDeviceId`, `challengeId`, `challenge`. */\nexport const DEVICE_STEP_UP_TAG = 'po/device-step-up/v1';\n"],"mappings":";;;;;;;;;;;AAWA,MAAa,mBAAmB;;AAGhC,MAAa,0BAA0B,GAAG,iBAAiB;;;;;AAM3D,MAAa,mBAAmB;;AAGhC,MAAa,uBAAuB,GAAG,iBAAiB;;AAGxD,MAAa,oBAAoB,GAAG,iBAAiB;;AAGrD,MAAa,oBAAoB,GAAG,iBAAiB;AAEhB,GAAG,kBAAH;;AAKrC,MAAa,qBAAqB;;AAGlC,MAAa,sBAAsB;;AAGnC,MAAa,uBAAuB;;AAGpC,MAAa,uBAAuB;;;;;;AAYpC,MAAa,gBAAgB;;;;;;;;AAS7B,MAAa,2BAA2B;AAExC,MAAa,4BAA4B;AAEzC,MAAa,+BAA+B;AAE5C,MAAa,gCAAgC;;AAG7C,MAAa,iBAAiB;;AAG9B,MAAa,sBAAsB;;AAGnC,MAAa,sBAAsB;;AAGnC,MAAa,yBAAyB;;AAGtC,MAAa,yBAAyB;;AAGtC,MAAa,oBAAoB;;AAGjC,MAAa,8BAA8B;;;;;AAM3C,MAAa,8BAA8B,GAAG,iBAAiB;AAE/D,MAAa,iCAAiC,GAAG,iBAAiB;;AAGlE,MAAa,wBAAwB,GAAG,iBAAiB;AAIzD,MAAa,sCAAsC;AAEnD,MAAa,qCAAqC;;AAMlD,MAAa,+BAA+B;;AAG5C,MAAa,kCAAkC;;AAG/C,MAAa,yBAAyB;;AAGtC,MAAa,uBAAuB;;;;;AAMpC,MAAa,sBAAsB;;;;;AAMnC,MAAa,kBAAkB;;AAG/B,MAAa,qBAAqB"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
//#region src/constants/sessionFiles.ts
|
|
2
|
+
/** Largest session file the host reads into a response or publishes at a share link. */
|
|
3
|
+
const MAX_SESSION_FILE_BYTES = 26214400;
|
|
4
|
+
/** Media types for session files a browser may render; anything else is served as bytes. */
|
|
5
|
+
const SESSION_FILE_CONTENT_TYPES = {
|
|
6
|
+
".avif": "image/avif",
|
|
7
|
+
".bmp": "image/bmp",
|
|
8
|
+
".gif": "image/gif",
|
|
9
|
+
".jpeg": "image/jpeg",
|
|
10
|
+
".jpg": "image/jpeg",
|
|
11
|
+
".png": "image/png",
|
|
12
|
+
".svg": "image/svg+xml",
|
|
13
|
+
".webp": "image/webp",
|
|
14
|
+
".m4v": "video/mp4",
|
|
15
|
+
".mov": "video/quicktime",
|
|
16
|
+
".mp4": "video/mp4",
|
|
17
|
+
".webm": "video/webm",
|
|
18
|
+
".pdf": "application/pdf"
|
|
19
|
+
};
|
|
20
|
+
/** The fallback media type for a session file whose extension is not listed above. */
|
|
21
|
+
const SESSION_FILE_DEFAULT_CONTENT_TYPE = "application/octet-stream";
|
|
22
|
+
//#endregion
|
|
23
|
+
exports.MAX_SESSION_FILE_BYTES = MAX_SESSION_FILE_BYTES;
|
|
24
|
+
exports.SESSION_FILE_CONTENT_TYPES = SESSION_FILE_CONTENT_TYPES;
|
|
25
|
+
exports.SESSION_FILE_DEFAULT_CONTENT_TYPE = SESSION_FILE_DEFAULT_CONTENT_TYPE;
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=sessionFiles.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sessionFiles.cjs","names":[],"sources":["../../../src/constants/sessionFiles.ts"],"sourcesContent":["/** Largest session file the host reads into a response or publishes at a share link. */\nexport const MAX_SESSION_FILE_BYTES = 25 * 1024 * 1024;\n\n/** Media types for session files a browser may render; anything else is served as bytes. */\nexport const SESSION_FILE_CONTENT_TYPES: Readonly<Record<string, string>> = {\n '.avif': 'image/avif',\n '.bmp': 'image/bmp',\n '.gif': 'image/gif',\n '.jpeg': 'image/jpeg',\n '.jpg': 'image/jpeg',\n '.png': 'image/png',\n '.svg': 'image/svg+xml',\n '.webp': 'image/webp',\n '.m4v': 'video/mp4',\n '.mov': 'video/quicktime',\n '.mp4': 'video/mp4',\n '.webm': 'video/webm',\n '.pdf': 'application/pdf',\n};\n\n/** The fallback media type for a session file whose extension is not listed above. */\nexport const SESSION_FILE_DEFAULT_CONTENT_TYPE = 'application/octet-stream';\n"],"mappings":";;AACA,MAAa,yBAAyB;;AAGtC,MAAa,6BAA+D;CAC1E,SAAS;CACT,QAAQ;CACR,QAAQ;CACR,SAAS;CACT,QAAQ;CACR,QAAQ;CACR,QAAQ;CACR,SAAS;CACT,QAAQ;CACR,QAAQ;CACR,QAAQ;CACR,SAAS;CACT,QAAQ;AACV;;AAGA,MAAa,oCAAoC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
//#region src/constants/sessionFiles.ts
|
|
2
|
+
/** Largest session file the host reads into a response or publishes at a share link. */
|
|
3
|
+
const MAX_SESSION_FILE_BYTES = 26214400;
|
|
4
|
+
/** Media types for session files a browser may render; anything else is served as bytes. */
|
|
5
|
+
const SESSION_FILE_CONTENT_TYPES = {
|
|
6
|
+
".avif": "image/avif",
|
|
7
|
+
".bmp": "image/bmp",
|
|
8
|
+
".gif": "image/gif",
|
|
9
|
+
".jpeg": "image/jpeg",
|
|
10
|
+
".jpg": "image/jpeg",
|
|
11
|
+
".png": "image/png",
|
|
12
|
+
".svg": "image/svg+xml",
|
|
13
|
+
".webp": "image/webp",
|
|
14
|
+
".m4v": "video/mp4",
|
|
15
|
+
".mov": "video/quicktime",
|
|
16
|
+
".mp4": "video/mp4",
|
|
17
|
+
".webm": "video/webm",
|
|
18
|
+
".pdf": "application/pdf"
|
|
19
|
+
};
|
|
20
|
+
/** The fallback media type for a session file whose extension is not listed above. */
|
|
21
|
+
const SESSION_FILE_DEFAULT_CONTENT_TYPE = "application/octet-stream";
|
|
22
|
+
//#endregion
|
|
23
|
+
export { MAX_SESSION_FILE_BYTES, SESSION_FILE_CONTENT_TYPES, SESSION_FILE_DEFAULT_CONTENT_TYPE };
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=sessionFiles.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sessionFiles.mjs","names":[],"sources":["../../../src/constants/sessionFiles.ts"],"sourcesContent":["/** Largest session file the host reads into a response or publishes at a share link. */\nexport const MAX_SESSION_FILE_BYTES = 25 * 1024 * 1024;\n\n/** Media types for session files a browser may render; anything else is served as bytes. */\nexport const SESSION_FILE_CONTENT_TYPES: Readonly<Record<string, string>> = {\n '.avif': 'image/avif',\n '.bmp': 'image/bmp',\n '.gif': 'image/gif',\n '.jpeg': 'image/jpeg',\n '.jpg': 'image/jpeg',\n '.png': 'image/png',\n '.svg': 'image/svg+xml',\n '.webp': 'image/webp',\n '.m4v': 'video/mp4',\n '.mov': 'video/quicktime',\n '.mp4': 'video/mp4',\n '.webm': 'video/webm',\n '.pdf': 'application/pdf',\n};\n\n/** The fallback media type for a session file whose extension is not listed above. */\nexport const SESSION_FILE_DEFAULT_CONTENT_TYPE = 'application/octet-stream';\n"],"mappings":";;AACA,MAAa,yBAAyB;;AAGtC,MAAa,6BAA+D;CAC1E,SAAS;CACT,QAAQ;CACR,QAAQ;CACR,SAAS;CACT,QAAQ;CACR,QAAQ;CACR,QAAQ;CACR,SAAS;CACT,QAAQ;CACR,QAAQ;CACR,QAAQ;CACR,SAAS;CACT,QAAQ;AACV;;AAGA,MAAa,oCAAoC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
//#region src/constants/voiceReloadHandoff.ts
|
|
2
|
+
const VOICE_RELOAD_HANDOFF_REGISTRY_KEY = "@agimon-ai/po-core.voice-reload-handoff.v1";
|
|
3
|
+
const VOICE_RELOAD_HANDOFF_TTL_MS = 3e4;
|
|
4
|
+
const MAX_SESSION_ID_LENGTH = 256;
|
|
5
|
+
const MAX_TOKEN_LENGTH = 512;
|
|
6
|
+
//#endregion
|
|
7
|
+
exports.MAX_SESSION_ID_LENGTH = MAX_SESSION_ID_LENGTH;
|
|
8
|
+
exports.MAX_TOKEN_LENGTH = MAX_TOKEN_LENGTH;
|
|
9
|
+
exports.VOICE_RELOAD_HANDOFF_REGISTRY_KEY = VOICE_RELOAD_HANDOFF_REGISTRY_KEY;
|
|
10
|
+
exports.VOICE_RELOAD_HANDOFF_TTL_MS = VOICE_RELOAD_HANDOFF_TTL_MS;
|
|
11
|
+
|
|
12
|
+
//# sourceMappingURL=voiceReloadHandoff.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"voiceReloadHandoff.cjs","names":[],"sources":["../../../src/constants/voiceReloadHandoff.ts"],"sourcesContent":["export const VOICE_RELOAD_HANDOFF_REGISTRY_KEY = '@agimon-ai/po-core.voice-reload-handoff.v1' as const;\nexport const VOICE_RELOAD_HANDOFF_TTL_MS = 30_000;\nexport const MAX_SESSION_ID_LENGTH = 256;\nexport const MAX_TOKEN_LENGTH = 512;\n"],"mappings":";AAAA,MAAa,oCAAoC;AACjD,MAAa,8BAA8B;AAC3C,MAAa,wBAAwB;AACrC,MAAa,mBAAmB"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
//#region src/constants/voiceReloadHandoff.d.ts
|
|
2
|
+
export declare const VOICE_RELOAD_HANDOFF_REGISTRY_KEY: '@agimon-ai/po-core.voice-reload-handoff.v1';
|
|
3
|
+
export declare const VOICE_RELOAD_HANDOFF_TTL_MS = 30000;
|
|
4
|
+
export declare const MAX_SESSION_ID_LENGTH = 256;
|
|
5
|
+
export declare const MAX_TOKEN_LENGTH = 512;
|
|
6
|
+
//#endregion
|
|
7
|
+
//# sourceMappingURL=voiceReloadHandoff.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"voiceReloadHandoff.d.mts","names":[],"sources":["../../../src/constants/voiceReloadHandoff.ts"],"mappings":";qBAAa;qBACA;qBACA;qBACA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
//#region src/constants/voiceReloadHandoff.ts
|
|
2
|
+
const VOICE_RELOAD_HANDOFF_REGISTRY_KEY = "@agimon-ai/po-core.voice-reload-handoff.v1";
|
|
3
|
+
const VOICE_RELOAD_HANDOFF_TTL_MS = 3e4;
|
|
4
|
+
const MAX_SESSION_ID_LENGTH = 256;
|
|
5
|
+
const MAX_TOKEN_LENGTH = 512;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { MAX_SESSION_ID_LENGTH, MAX_TOKEN_LENGTH, VOICE_RELOAD_HANDOFF_REGISTRY_KEY, VOICE_RELOAD_HANDOFF_TTL_MS };
|
|
8
|
+
|
|
9
|
+
//# sourceMappingURL=voiceReloadHandoff.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"voiceReloadHandoff.mjs","names":[],"sources":["../../../src/constants/voiceReloadHandoff.ts"],"sourcesContent":["export const VOICE_RELOAD_HANDOFF_REGISTRY_KEY = '@agimon-ai/po-core.voice-reload-handoff.v1' as const;\nexport const VOICE_RELOAD_HANDOFF_TTL_MS = 30_000;\nexport const MAX_SESSION_ID_LENGTH = 256;\nexport const MAX_TOKEN_LENGTH = 512;\n"],"mappings":";AAAA,MAAa,oCAAoC;AACjD,MAAa,8BAA8B;AAC3C,MAAa,wBAAwB;AACrC,MAAa,mBAAmB"}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
//#region src/constants/voiceTools.ts
|
|
2
|
+
const DOOM_VOICE_TOOLS_SERVICE = "doom/voice-tools";
|
|
3
|
+
const VOICE_DESCRIBE_TOOL_NAME = "describe_voice_tools";
|
|
4
|
+
const VOICE_USE_TOOL_NAME = "use_voice_tools";
|
|
5
|
+
const VOICE_FACADE_TOOL_NAMES = [VOICE_DESCRIBE_TOOL_NAME, VOICE_USE_TOOL_NAME];
|
|
6
|
+
const VOICE_NARRATE_TOOL_NAME = "narrate";
|
|
7
|
+
const VOICE_MODE_TOOL_NAMES = [...VOICE_FACADE_TOOL_NAMES, VOICE_NARRATE_TOOL_NAME];
|
|
8
|
+
const VOICE_TOOL_DEFAULT_TIMEOUT_MS = 1e4;
|
|
9
|
+
const VOICE_TOOL_MAX_TIMEOUT_MS = 3e4;
|
|
10
|
+
const VOICE_TOOL_MAX_BATCH_ITEMS = 16;
|
|
11
|
+
const VOICE_TOOL_MAX_INPUT_BYTES = 65536;
|
|
12
|
+
const VOICE_TOOL_MAX_BATCH_BYTES = 262144;
|
|
13
|
+
const VOICE_TOOL_MAX_SCHEMA_BYTES = 32768;
|
|
14
|
+
const VOICE_TOOL_MAX_JSON_DEPTH = 16;
|
|
15
|
+
const VOICE_TOOL_TERMINAL_OPERATION_LIMIT = 256;
|
|
16
|
+
const VOICE_TOOL_MAX_IDENTIFIER_LENGTH = 128;
|
|
17
|
+
const VOICE_TOOL_MAX_LABEL_LENGTH = 96;
|
|
18
|
+
const VOICE_TOOL_MAX_DESCRIPTION_LENGTH = 240;
|
|
19
|
+
const VOICE_TOOL_MAX_ERROR_MESSAGE_LENGTH = 240;
|
|
20
|
+
const VOICE_TOOL_MAX_DOMAIN_COUNT = 32;
|
|
21
|
+
const SAFE_IDENTIFIER = /^[A-Za-z0-9@][A-Za-z0-9@/._:-]*$/u;
|
|
22
|
+
const SAFE_NAME = /^[a-z][a-z0-9_:-]*$/u;
|
|
23
|
+
const MAX_ORDER = 1e3;
|
|
24
|
+
const VOICE_TOOL_ERROR_CODE = {
|
|
25
|
+
hostUnavailable: "VOICE_TOOL_HOST_UNAVAILABLE",
|
|
26
|
+
inactive: "VOICE_TOOL_INACTIVE",
|
|
27
|
+
staleSession: "VOICE_TOOL_STALE_SESSION",
|
|
28
|
+
staleCatalog: "VOICE_TOOL_STALE_CATALOG",
|
|
29
|
+
notFound: "VOICE_TOOL_NOT_FOUND",
|
|
30
|
+
nameConflict: "VOICE_TOOL_NAME_CONFLICT",
|
|
31
|
+
invalidInput: "VOICE_TOOL_INVALID_INPUT",
|
|
32
|
+
invalidResult: "VOICE_TOOL_INVALID_RESULT",
|
|
33
|
+
executionFailed: "VOICE_TOOL_EXECUTION_FAILED",
|
|
34
|
+
timeout: "VOICE_TOOL_TIMEOUT",
|
|
35
|
+
aborted: "VOICE_TOOL_ABORTED",
|
|
36
|
+
cancelled: "VOICE_TOOL_CANCELLED",
|
|
37
|
+
registrationDisposed: "VOICE_TOOL_REGISTRATION_DISPOSED",
|
|
38
|
+
sessionShutdown: "VOICE_TOOL_SESSION_SHUTDOWN",
|
|
39
|
+
batchStopped: "VOICE_TOOL_BATCH_STOPPED",
|
|
40
|
+
reloadQueued: "VOICE_TOOL_RELOAD_QUEUED",
|
|
41
|
+
invalidRequest: "VOICE_TOOL_INVALID_REQUEST"
|
|
42
|
+
};
|
|
43
|
+
const VOICE_TOOL_HOST_UNAVAILABLE = VOICE_TOOL_ERROR_CODE.hostUnavailable;
|
|
44
|
+
const VOICE_TOOL_INACTIVE = VOICE_TOOL_ERROR_CODE.inactive;
|
|
45
|
+
const VOICE_TOOL_STALE_SESSION = VOICE_TOOL_ERROR_CODE.staleSession;
|
|
46
|
+
const VOICE_TOOL_STALE_CATALOG = VOICE_TOOL_ERROR_CODE.staleCatalog;
|
|
47
|
+
const VOICE_TOOL_NOT_FOUND = VOICE_TOOL_ERROR_CODE.notFound;
|
|
48
|
+
const VOICE_TOOL_NAME_CONFLICT = VOICE_TOOL_ERROR_CODE.nameConflict;
|
|
49
|
+
const VOICE_TOOL_INVALID_INPUT = VOICE_TOOL_ERROR_CODE.invalidInput;
|
|
50
|
+
const VOICE_TOOL_INVALID_RESULT = VOICE_TOOL_ERROR_CODE.invalidResult;
|
|
51
|
+
const VOICE_TOOL_TIMEOUT = VOICE_TOOL_ERROR_CODE.timeout;
|
|
52
|
+
const VOICE_TOOL_ABORTED = VOICE_TOOL_ERROR_CODE.aborted;
|
|
53
|
+
const VOICE_TOOL_EXECUTION_FAILED = VOICE_TOOL_ERROR_CODE.executionFailed;
|
|
54
|
+
const VOICE_TOOL_BATCH_STOPPED = VOICE_TOOL_ERROR_CODE.batchStopped;
|
|
55
|
+
const DOOM_VOICE_SOURCE = "@agimon-ai/po-voice";
|
|
56
|
+
const DOOM_VOICE_AUTO_MODE_ID = "voice-auto";
|
|
57
|
+
//#endregion
|
|
58
|
+
exports.DOOM_VOICE_AUTO_MODE_ID = DOOM_VOICE_AUTO_MODE_ID;
|
|
59
|
+
exports.DOOM_VOICE_SOURCE = DOOM_VOICE_SOURCE;
|
|
60
|
+
exports.DOOM_VOICE_TOOLS_SERVICE = DOOM_VOICE_TOOLS_SERVICE;
|
|
61
|
+
exports.MAX_ORDER = MAX_ORDER;
|
|
62
|
+
exports.SAFE_IDENTIFIER = SAFE_IDENTIFIER;
|
|
63
|
+
exports.SAFE_NAME = SAFE_NAME;
|
|
64
|
+
exports.VOICE_DESCRIBE_TOOL_NAME = VOICE_DESCRIBE_TOOL_NAME;
|
|
65
|
+
exports.VOICE_FACADE_TOOL_NAMES = VOICE_FACADE_TOOL_NAMES;
|
|
66
|
+
exports.VOICE_MODE_TOOL_NAMES = VOICE_MODE_TOOL_NAMES;
|
|
67
|
+
exports.VOICE_NARRATE_TOOL_NAME = VOICE_NARRATE_TOOL_NAME;
|
|
68
|
+
exports.VOICE_TOOL_ABORTED = VOICE_TOOL_ABORTED;
|
|
69
|
+
exports.VOICE_TOOL_BATCH_STOPPED = VOICE_TOOL_BATCH_STOPPED;
|
|
70
|
+
exports.VOICE_TOOL_DEFAULT_TIMEOUT_MS = VOICE_TOOL_DEFAULT_TIMEOUT_MS;
|
|
71
|
+
exports.VOICE_TOOL_ERROR_CODE = VOICE_TOOL_ERROR_CODE;
|
|
72
|
+
exports.VOICE_TOOL_EXECUTION_FAILED = VOICE_TOOL_EXECUTION_FAILED;
|
|
73
|
+
exports.VOICE_TOOL_HOST_UNAVAILABLE = VOICE_TOOL_HOST_UNAVAILABLE;
|
|
74
|
+
exports.VOICE_TOOL_INACTIVE = VOICE_TOOL_INACTIVE;
|
|
75
|
+
exports.VOICE_TOOL_INVALID_INPUT = VOICE_TOOL_INVALID_INPUT;
|
|
76
|
+
exports.VOICE_TOOL_INVALID_RESULT = VOICE_TOOL_INVALID_RESULT;
|
|
77
|
+
exports.VOICE_TOOL_MAX_BATCH_BYTES = VOICE_TOOL_MAX_BATCH_BYTES;
|
|
78
|
+
exports.VOICE_TOOL_MAX_BATCH_ITEMS = VOICE_TOOL_MAX_BATCH_ITEMS;
|
|
79
|
+
exports.VOICE_TOOL_MAX_DESCRIPTION_LENGTH = VOICE_TOOL_MAX_DESCRIPTION_LENGTH;
|
|
80
|
+
exports.VOICE_TOOL_MAX_DOMAIN_COUNT = VOICE_TOOL_MAX_DOMAIN_COUNT;
|
|
81
|
+
exports.VOICE_TOOL_MAX_ERROR_MESSAGE_LENGTH = VOICE_TOOL_MAX_ERROR_MESSAGE_LENGTH;
|
|
82
|
+
exports.VOICE_TOOL_MAX_IDENTIFIER_LENGTH = VOICE_TOOL_MAX_IDENTIFIER_LENGTH;
|
|
83
|
+
exports.VOICE_TOOL_MAX_INPUT_BYTES = VOICE_TOOL_MAX_INPUT_BYTES;
|
|
84
|
+
exports.VOICE_TOOL_MAX_JSON_DEPTH = VOICE_TOOL_MAX_JSON_DEPTH;
|
|
85
|
+
exports.VOICE_TOOL_MAX_LABEL_LENGTH = VOICE_TOOL_MAX_LABEL_LENGTH;
|
|
86
|
+
exports.VOICE_TOOL_MAX_SCHEMA_BYTES = VOICE_TOOL_MAX_SCHEMA_BYTES;
|
|
87
|
+
exports.VOICE_TOOL_MAX_TIMEOUT_MS = VOICE_TOOL_MAX_TIMEOUT_MS;
|
|
88
|
+
exports.VOICE_TOOL_NAME_CONFLICT = VOICE_TOOL_NAME_CONFLICT;
|
|
89
|
+
exports.VOICE_TOOL_NOT_FOUND = VOICE_TOOL_NOT_FOUND;
|
|
90
|
+
exports.VOICE_TOOL_STALE_CATALOG = VOICE_TOOL_STALE_CATALOG;
|
|
91
|
+
exports.VOICE_TOOL_STALE_SESSION = VOICE_TOOL_STALE_SESSION;
|
|
92
|
+
exports.VOICE_TOOL_TERMINAL_OPERATION_LIMIT = VOICE_TOOL_TERMINAL_OPERATION_LIMIT;
|
|
93
|
+
exports.VOICE_TOOL_TIMEOUT = VOICE_TOOL_TIMEOUT;
|
|
94
|
+
exports.VOICE_USE_TOOL_NAME = VOICE_USE_TOOL_NAME;
|
|
95
|
+
|
|
96
|
+
//# sourceMappingURL=voiceTools.cjs.map
|