@moorline/core 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/bootstrap/apiAdapterPackageLoader.d.ts +21 -0
- package/dist/app/bootstrap/apiAdapterPackageLoader.js +143 -0
- package/dist/app/bootstrap/apiAdapterPackageLoader.js.map +1 -0
- package/dist/app/bootstrap/officialCatalog.d.ts +1 -0
- package/dist/app/bootstrap/officialCatalog.js +2 -0
- package/dist/app/bootstrap/officialCatalog.js.map +1 -0
- package/dist/app/bootstrap/operatorPackageService.d.ts +79 -0
- package/dist/app/bootstrap/operatorPackageService.js +1025 -0
- package/dist/app/bootstrap/operatorPackageService.js.map +1 -0
- package/dist/app/bootstrap/providerPackageLoader.d.ts +12 -0
- package/dist/app/bootstrap/providerPackageLoader.js +139 -0
- package/dist/app/bootstrap/providerPackageLoader.js.map +1 -0
- package/dist/app/bootstrap/runtimeBootstrap.d.ts +12 -0
- package/dist/app/bootstrap/runtimeBootstrap.js +46 -0
- package/dist/app/bootstrap/runtimeBootstrap.js.map +1 -0
- package/dist/app/bootstrap/transportPackageLoader.d.ts +23 -0
- package/dist/app/bootstrap/transportPackageLoader.js +149 -0
- package/dist/app/bootstrap/transportPackageLoader.js.map +1 -0
- package/dist/app/control-api/services/actions.d.ts +140 -0
- package/dist/app/control-api/services/actions.js +312 -0
- package/dist/app/control-api/services/actions.js.map +1 -0
- package/dist/app/control-api/services/controlPlane.d.ts +245 -0
- package/dist/app/control-api/services/controlPlane.js +301 -0
- package/dist/app/control-api/services/controlPlane.js.map +1 -0
- package/dist/app/control-api/services/runtimeHost.d.ts +61 -0
- package/dist/app/control-api/services/runtimeHost.js +117 -0
- package/dist/app/control-api/services/runtimeHost.js.map +1 -0
- package/dist/app/control-api/services/state.d.ts +19 -0
- package/dist/app/control-api/services/state.js +177 -0
- package/dist/app/control-api/services/state.js.map +1 -0
- package/dist/core/domain/memory/operatorMemoryService.d.ts +36 -0
- package/dist/core/domain/memory/operatorMemoryService.js +81 -0
- package/dist/core/domain/memory/operatorMemoryService.js.map +1 -0
- package/dist/core/domain/memory/pathSafety.d.ts +2 -0
- package/dist/core/domain/memory/pathSafety.js +36 -0
- package/dist/core/domain/memory/pathSafety.js.map +1 -0
- package/dist/core/domain/memory/retrieval/fileWalker.d.ts +1 -0
- package/dist/core/domain/memory/retrieval/fileWalker.js +31 -0
- package/dist/core/domain/memory/retrieval/fileWalker.js.map +1 -0
- package/dist/core/domain/memory/retrieval/indexTargets.d.ts +3 -0
- package/dist/core/domain/memory/retrieval/indexTargets.js +43 -0
- package/dist/core/domain/memory/retrieval/indexTargets.js.map +1 -0
- package/dist/core/domain/memory/retrieval/markdownChunker.d.ts +3 -0
- package/dist/core/domain/memory/retrieval/markdownChunker.js +77 -0
- package/dist/core/domain/memory/retrieval/markdownChunker.js.map +1 -0
- package/dist/core/domain/memory/retrieval/parse.d.ts +2 -0
- package/dist/core/domain/memory/retrieval/parse.js +28 -0
- package/dist/core/domain/memory/retrieval/parse.js.map +1 -0
- package/dist/core/domain/memory/retrieval/ranking.d.ts +11 -0
- package/dist/core/domain/memory/retrieval/ranking.js +63 -0
- package/dist/core/domain/memory/retrieval/ranking.js.map +1 -0
- package/dist/core/domain/memory/retrieval/schema.d.ts +2 -0
- package/dist/core/domain/memory/retrieval/schema.js +105 -0
- package/dist/core/domain/memory/retrieval/schema.js.map +1 -0
- package/dist/core/domain/memory/retrieval/scope.d.ts +20 -0
- package/dist/core/domain/memory/retrieval/scope.js +38 -0
- package/dist/core/domain/memory/retrieval/scope.js.map +1 -0
- package/dist/core/domain/memory/retrieval/tokenEmbedding.d.ts +4 -0
- package/dist/core/domain/memory/retrieval/tokenEmbedding.js +44 -0
- package/dist/core/domain/memory/retrieval/tokenEmbedding.js.map +1 -0
- package/dist/core/domain/memory/retrieval/types.d.ts +88 -0
- package/dist/core/domain/memory/retrieval/types.js +7 -0
- package/dist/core/domain/memory/retrieval/types.js.map +1 -0
- package/dist/core/domain/memory/retrieval.d.ts +4 -0
- package/dist/core/domain/memory/retrieval.js +398 -0
- package/dist/core/domain/memory/retrieval.js.map +1 -0
- package/dist/core/domain/memory/store.d.ts +28 -0
- package/dist/core/domain/memory/store.js +52 -0
- package/dist/core/domain/memory/store.js.map +1 -0
- package/dist/core/domain/missions/missionDraftSetup.d.ts +12 -0
- package/dist/core/domain/missions/missionDraftSetup.js +92 -0
- package/dist/core/domain/missions/missionDraftSetup.js.map +1 -0
- package/dist/core/domain/missions/missionHookService.d.ts +41 -0
- package/dist/core/domain/missions/missionHookService.js +161 -0
- package/dist/core/domain/missions/missionHookService.js.map +1 -0
- package/dist/core/domain/missions/missionHookValidation.d.ts +8 -0
- package/dist/core/domain/missions/missionHookValidation.js +59 -0
- package/dist/core/domain/missions/missionHookValidation.js.map +1 -0
- package/dist/core/domain/missions/missionRegistry.d.ts +55 -0
- package/dist/core/domain/missions/missionRegistry.js +204 -0
- package/dist/core/domain/missions/missionRegistry.js.map +1 -0
- package/dist/core/domain/missions/missionSchedule.d.ts +24 -0
- package/dist/core/domain/missions/missionSchedule.js +441 -0
- package/dist/core/domain/missions/missionSchedule.js.map +1 -0
- package/dist/core/domain/sessions/lifecycleOrchestration.d.ts +23 -0
- package/dist/core/domain/sessions/lifecycleOrchestration.js +18 -0
- package/dist/core/domain/sessions/lifecycleOrchestration.js.map +1 -0
- package/dist/core/domain/sessions/managedWorkerSessions.d.ts +3 -0
- package/dist/core/domain/sessions/managedWorkerSessions.js +4 -0
- package/dist/core/domain/sessions/managedWorkerSessions.js.map +1 -0
- package/dist/core/domain/sessions/runtimeWorkManagementService.d.ts +129 -0
- package/dist/core/domain/sessions/runtimeWorkManagementService.js +627 -0
- package/dist/core/domain/sessions/runtimeWorkManagementService.js.map +1 -0
- package/dist/core/domain/sessions/sessionLifecycleService.d.ts +21 -0
- package/dist/core/domain/sessions/sessionLifecycleService.js +76 -0
- package/dist/core/domain/sessions/sessionLifecycleService.js.map +1 -0
- package/dist/core/domain/sessions/sessionState.d.ts +34 -0
- package/dist/core/domain/sessions/sessionState.js +154 -0
- package/dist/core/domain/sessions/sessionState.js.map +1 -0
- package/dist/core/domain/sessions/workManagement/managedSessionLimit.d.ts +3 -0
- package/dist/core/domain/sessions/workManagement/managedSessionLimit.js +15 -0
- package/dist/core/domain/sessions/workManagement/managedSessionLimit.js.map +1 -0
- package/dist/core/domain/sessions/workManagement/spaceNames.d.ts +2 -0
- package/dist/core/domain/sessions/workManagement/spaceNames.js +15 -0
- package/dist/core/domain/sessions/workManagement/spaceNames.js.map +1 -0
- package/dist/core/extension/capabilities/capabilities.d.ts +8 -0
- package/dist/core/extension/capabilities/capabilities.js +40 -0
- package/dist/core/extension/capabilities/capabilities.js.map +1 -0
- package/dist/core/extension/packages/archiveExtraction.d.ts +1 -0
- package/dist/core/extension/packages/archiveExtraction.js +194 -0
- package/dist/core/extension/packages/archiveExtraction.js.map +1 -0
- package/dist/core/extension/packages/npmRegistryClient.d.ts +24 -0
- package/dist/core/extension/packages/npmRegistryClient.js +261 -0
- package/dist/core/extension/packages/npmRegistryClient.js.map +1 -0
- package/dist/core/extension/packages/officialArchiveResolver.d.ts +2 -0
- package/dist/core/extension/packages/officialArchiveResolver.js +51 -0
- package/dist/core/extension/packages/officialArchiveResolver.js.map +1 -0
- package/dist/core/extension/packages/officialCatalog.d.ts +9 -0
- package/dist/core/extension/packages/officialCatalog.js +198 -0
- package/dist/core/extension/packages/officialCatalog.js.map +1 -0
- package/dist/core/extension/packages/packageActivation.d.ts +21 -0
- package/dist/core/extension/packages/packageActivation.js +81 -0
- package/dist/core/extension/packages/packageActivation.js.map +1 -0
- package/dist/core/extension/packages/packageApplyPlanner.d.ts +4 -0
- package/dist/core/extension/packages/packageApplyPlanner.js +79 -0
- package/dist/core/extension/packages/packageApplyPlanner.js.map +1 -0
- package/dist/core/extension/packages/packageBundleRoot.d.ts +1 -0
- package/dist/core/extension/packages/packageBundleRoot.js +34 -0
- package/dist/core/extension/packages/packageBundleRoot.js.map +1 -0
- package/dist/core/extension/packages/packageConfigSchema.d.ts +7 -0
- package/dist/core/extension/packages/packageConfigSchema.js +86 -0
- package/dist/core/extension/packages/packageConfigSchema.js.map +1 -0
- package/dist/core/extension/packages/packageDependencyResolver.d.ts +13 -0
- package/dist/core/extension/packages/packageDependencyResolver.js +128 -0
- package/dist/core/extension/packages/packageDependencyResolver.js.map +1 -0
- package/dist/core/extension/packages/packageDistroMetadata.d.ts +14 -0
- package/dist/core/extension/packages/packageDistroMetadata.js +153 -0
- package/dist/core/extension/packages/packageDistroMetadata.js.map +1 -0
- package/dist/core/extension/packages/packageInstaller.d.ts +27 -0
- package/dist/core/extension/packages/packageInstaller.js +269 -0
- package/dist/core/extension/packages/packageInstaller.js.map +1 -0
- package/dist/core/extension/packages/packageInventoryStore.d.ts +25 -0
- package/dist/core/extension/packages/packageInventoryStore.js +398 -0
- package/dist/core/extension/packages/packageInventoryStore.js.map +1 -0
- package/dist/core/extension/packages/packageManifest.d.ts +15 -0
- package/dist/core/extension/packages/packageManifest.js +65 -0
- package/dist/core/extension/packages/packageManifest.js.map +1 -0
- package/dist/core/extension/packages/packageRegistryBlocklist.d.ts +10 -0
- package/dist/core/extension/packages/packageRegistryBlocklist.js +13 -0
- package/dist/core/extension/packages/packageRegistryBlocklist.js.map +1 -0
- package/dist/core/extension/packages/packageRegistryService.d.ts +22 -0
- package/dist/core/extension/packages/packageRegistryService.js +123 -0
- package/dist/core/extension/packages/packageRegistryService.js.map +1 -0
- package/dist/core/extension/packages/packageRegistryTypes.d.ts +33 -0
- package/dist/core/extension/packages/packageRegistryTypes.js +2 -0
- package/dist/core/extension/packages/packageRegistryTypes.js.map +1 -0
- package/dist/core/extension/packages/packageSource.d.ts +8 -0
- package/dist/core/extension/packages/packageSource.js +116 -0
- package/dist/core/extension/packages/packageSource.js.map +1 -0
- package/dist/core/extension/packages/packageSourceLimits.d.ts +5 -0
- package/dist/core/extension/packages/packageSourceLimits.js +6 -0
- package/dist/core/extension/packages/packageSourceLimits.js.map +1 -0
- package/dist/core/extension/packages/packageValidation.d.ts +2 -0
- package/dist/core/extension/packages/packageValidation.js +67 -0
- package/dist/core/extension/packages/packageValidation.js.map +1 -0
- package/dist/core/extension/packages/packageVersionResolver.d.ts +28 -0
- package/dist/core/extension/packages/packageVersionResolver.js +78 -0
- package/dist/core/extension/packages/packageVersionResolver.js.map +1 -0
- package/dist/core/extension/packages/remoteArchiveDownloader.d.ts +10 -0
- package/dist/core/extension/packages/remoteArchiveDownloader.js +156 -0
- package/dist/core/extension/packages/remoteArchiveDownloader.js.map +1 -0
- package/dist/core/extension/packages/runtimeStartability.d.ts +16 -0
- package/dist/core/extension/packages/runtimeStartability.js +237 -0
- package/dist/core/extension/packages/runtimeStartability.js.map +1 -0
- package/dist/core/extension/plugins/pluginHost.d.ts +50 -0
- package/dist/core/extension/plugins/pluginHost.js +303 -0
- package/dist/core/extension/plugins/pluginHost.js.map +1 -0
- package/dist/core/extension/plugins/pluginId.d.ts +2 -0
- package/dist/core/extension/plugins/pluginId.js +8 -0
- package/dist/core/extension/plugins/pluginId.js.map +1 -0
- package/dist/core/extension/plugins/pluginManifest.d.ts +3 -0
- package/dist/core/extension/plugins/pluginManifest.js +17 -0
- package/dist/core/extension/plugins/pluginManifest.js.map +1 -0
- package/dist/core/extension/plugins/runtimePluginLoader.d.ts +7 -0
- package/dist/core/extension/plugins/runtimePluginLoader.js +160 -0
- package/dist/core/extension/plugins/runtimePluginLoader.js.map +1 -0
- package/dist/core/extension/skills/skillRegistry.d.ts +21 -0
- package/dist/core/extension/skills/skillRegistry.js +233 -0
- package/dist/core/extension/skills/skillRegistry.js.map +1 -0
- package/dist/core/extension/skills/skillWriter.d.ts +20 -0
- package/dist/core/extension/skills/skillWriter.js +150 -0
- package/dist/core/extension/skills/skillWriter.js.map +1 -0
- package/dist/core/runtime/execution/commandReactor.d.ts +31 -0
- package/dist/core/runtime/execution/commandReactor.js +38 -0
- package/dist/core/runtime/execution/commandReactor.js.map +1 -0
- package/dist/core/runtime/execution/defaultModelSelection.d.ts +4 -0
- package/dist/core/runtime/execution/defaultModelSelection.js +17 -0
- package/dist/core/runtime/execution/defaultModelSelection.js.map +1 -0
- package/dist/core/runtime/execution/drainableWorker.d.ts +27 -0
- package/dist/core/runtime/execution/drainableWorker.js +79 -0
- package/dist/core/runtime/execution/drainableWorker.js.map +1 -0
- package/dist/core/runtime/execution/orchestrationEngine.d.ts +16 -0
- package/dist/core/runtime/execution/orchestrationEngine.js +181 -0
- package/dist/core/runtime/execution/orchestrationEngine.js.map +1 -0
- package/dist/core/runtime/execution/orchestrationHealth.d.ts +45 -0
- package/dist/core/runtime/execution/orchestrationHealth.js +95 -0
- package/dist/core/runtime/execution/orchestrationHealth.js.map +1 -0
- package/dist/core/runtime/execution/pluginContext/defaultSessionOwner.d.ts +2 -0
- package/dist/core/runtime/execution/pluginContext/defaultSessionOwner.js +10 -0
- package/dist/core/runtime/execution/pluginContext/defaultSessionOwner.js.map +1 -0
- package/dist/core/runtime/execution/pluginContext/pluginCapabilities.d.ts +40 -0
- package/dist/core/runtime/execution/pluginContext/pluginCapabilities.js +73 -0
- package/dist/core/runtime/execution/pluginContext/pluginCapabilities.js.map +1 -0
- package/dist/core/runtime/execution/pluginContext/pluginContextFactory.d.ts +20 -0
- package/dist/core/runtime/execution/pluginContext/pluginContextFactory.js +18 -0
- package/dist/core/runtime/execution/pluginContext/pluginContextFactory.js.map +1 -0
- package/dist/core/runtime/execution/pluginContext/transportAuthor.d.ts +7 -0
- package/dist/core/runtime/execution/pluginContext/transportAuthor.js +15 -0
- package/dist/core/runtime/execution/pluginContext/transportAuthor.js.map +1 -0
- package/dist/core/runtime/execution/providerCoordination/providerCompactionCoordinator.d.ts +7 -0
- package/dist/core/runtime/execution/providerCoordination/providerCompactionCoordinator.js +25 -0
- package/dist/core/runtime/execution/providerCoordination/providerCompactionCoordinator.js.map +1 -0
- package/dist/core/runtime/execution/providerCoordination/providerPolicyTarget.d.ts +2 -0
- package/dist/core/runtime/execution/providerCoordination/providerPolicyTarget.js +5 -0
- package/dist/core/runtime/execution/providerCoordination/providerPolicyTarget.js.map +1 -0
- package/dist/core/runtime/execution/providerCoordination/providerRecoveryService.d.ts +7 -0
- package/dist/core/runtime/execution/providerCoordination/providerRecoveryService.js +6 -0
- package/dist/core/runtime/execution/providerCoordination/providerRecoveryService.js.map +1 -0
- package/dist/core/runtime/execution/providerCoordination/providerRequestAttributionService.d.ts +10 -0
- package/dist/core/runtime/execution/providerCoordination/providerRequestAttributionService.js +33 -0
- package/dist/core/runtime/execution/providerCoordination/providerRequestAttributionService.js.map +1 -0
- package/dist/core/runtime/execution/providerCoordination/providerSessionCoordinator.d.ts +5 -0
- package/dist/core/runtime/execution/providerCoordination/providerSessionCoordinator.js +9 -0
- package/dist/core/runtime/execution/providerCoordination/providerSessionCoordinator.js.map +1 -0
- package/dist/core/runtime/execution/providerCoordination/providerTurnCoordinator.d.ts +3 -0
- package/dist/core/runtime/execution/providerCoordination/providerTurnCoordinator.js +6 -0
- package/dist/core/runtime/execution/providerCoordination/providerTurnCoordinator.js.map +1 -0
- package/dist/core/runtime/execution/providerOrchestration/ports.d.ts +47 -0
- package/dist/core/runtime/execution/providerOrchestration/ports.js +2 -0
- package/dist/core/runtime/execution/providerOrchestration/ports.js.map +1 -0
- package/dist/core/runtime/execution/providerOrchestration/providerAttachmentResolver.d.ts +13 -0
- package/dist/core/runtime/execution/providerOrchestration/providerAttachmentResolver.js +57 -0
- package/dist/core/runtime/execution/providerOrchestration/providerAttachmentResolver.js.map +1 -0
- package/dist/core/runtime/execution/providerOrchestration/providerCompactionPolicy.d.ts +19 -0
- package/dist/core/runtime/execution/providerOrchestration/providerCompactionPolicy.js +129 -0
- package/dist/core/runtime/execution/providerOrchestration/providerCompactionPolicy.js.map +1 -0
- package/dist/core/runtime/execution/providerOrchestration/providerEventPipeline.d.ts +32 -0
- package/dist/core/runtime/execution/providerOrchestration/providerEventPipeline.js +67 -0
- package/dist/core/runtime/execution/providerOrchestration/providerEventPipeline.js.map +1 -0
- package/dist/core/runtime/execution/providerOrchestration/providerMissionEventProjector.d.ts +12 -0
- package/dist/core/runtime/execution/providerOrchestration/providerMissionEventProjector.js +71 -0
- package/dist/core/runtime/execution/providerOrchestration/providerMissionEventProjector.js.map +1 -0
- package/dist/core/runtime/execution/providerOrchestration/providerOrchestrator.d.ts +37 -0
- package/dist/core/runtime/execution/providerOrchestration/providerOrchestrator.js +53 -0
- package/dist/core/runtime/execution/providerOrchestration/providerOrchestrator.js.map +1 -0
- package/dist/core/runtime/execution/providerOrchestration/providerRequestProjector.d.ts +15 -0
- package/dist/core/runtime/execution/providerOrchestration/providerRequestProjector.js +93 -0
- package/dist/core/runtime/execution/providerOrchestration/providerRequestProjector.js.map +1 -0
- package/dist/core/runtime/execution/providerOrchestration/providerSessionOrchestrator.d.ts +37 -0
- package/dist/core/runtime/execution/providerOrchestration/providerSessionOrchestrator.js +104 -0
- package/dist/core/runtime/execution/providerOrchestration/providerSessionOrchestrator.js.map +1 -0
- package/dist/core/runtime/execution/providerOrchestration/providerTurnBroker.d.ts +62 -0
- package/dist/core/runtime/execution/providerOrchestration/providerTurnBroker.js +349 -0
- package/dist/core/runtime/execution/providerOrchestration/providerTurnBroker.js.map +1 -0
- package/dist/core/runtime/execution/providerProjectionTypes.d.ts +25 -0
- package/dist/core/runtime/execution/providerProjectionTypes.js +18 -0
- package/dist/core/runtime/execution/providerProjectionTypes.js.map +1 -0
- package/dist/core/runtime/execution/providerSessionDirectory.d.ts +12 -0
- package/dist/core/runtime/execution/providerSessionDirectory.js +94 -0
- package/dist/core/runtime/execution/providerSessionDirectory.js.map +1 -0
- package/dist/core/runtime/execution/runtimeDomain.d.ts +116 -0
- package/dist/core/runtime/execution/runtimeDomain.js +262 -0
- package/dist/core/runtime/execution/runtimeDomain.js.map +1 -0
- package/dist/core/runtime/execution/runtimeIngestion.d.ts +17 -0
- package/dist/core/runtime/execution/runtimeIngestion.js +254 -0
- package/dist/core/runtime/execution/runtimeIngestion.js.map +1 -0
- package/dist/core/runtime/execution/runtimeInteractionService.d.ts +66 -0
- package/dist/core/runtime/execution/runtimeInteractionService.js +230 -0
- package/dist/core/runtime/execution/runtimeInteractionService.js.map +1 -0
- package/dist/core/runtime/execution/runtimeOrchestrationRequestService.d.ts +64 -0
- package/dist/core/runtime/execution/runtimeOrchestrationRequestService.js +366 -0
- package/dist/core/runtime/execution/runtimeOrchestrationRequestService.js.map +1 -0
- package/dist/core/runtime/execution/runtimeOrchestrationRequests.d.ts +111 -0
- package/dist/core/runtime/execution/runtimeOrchestrationRequests.js +464 -0
- package/dist/core/runtime/execution/runtimeOrchestrationRequests.js.map +1 -0
- package/dist/core/runtime/execution/runtimeOrchestrationResult.d.ts +4 -0
- package/dist/core/runtime/execution/runtimeOrchestrationResult.js +7 -0
- package/dist/core/runtime/execution/runtimeOrchestrationResult.js.map +1 -0
- package/dist/core/runtime/execution/runtimePendingRequestService.d.ts +69 -0
- package/dist/core/runtime/execution/runtimePendingRequestService.js +360 -0
- package/dist/core/runtime/execution/runtimePendingRequestService.js.map +1 -0
- package/dist/core/runtime/execution/runtimePluginContextService.d.ts +100 -0
- package/dist/core/runtime/execution/runtimePluginContextService.js +576 -0
- package/dist/core/runtime/execution/runtimePluginContextService.js.map +1 -0
- package/dist/core/runtime/execution/runtimeReceiptBus.d.ts +17 -0
- package/dist/core/runtime/execution/runtimeReceiptBus.js +50 -0
- package/dist/core/runtime/execution/runtimeReceiptBus.js.map +1 -0
- package/dist/core/runtime/execution/runtimeWorkerQueues.d.ts +33 -0
- package/dist/core/runtime/execution/runtimeWorkerQueues.js +55 -0
- package/dist/core/runtime/execution/runtimeWorkerQueues.js.map +1 -0
- package/dist/core/runtime/graph/runtimePaths.d.ts +2 -0
- package/dist/core/runtime/graph/runtimePaths.js +22 -0
- package/dist/core/runtime/graph/runtimePaths.js.map +1 -0
- package/dist/core/runtime/hosting/managedSpaceMetadata.d.ts +7 -0
- package/dist/core/runtime/hosting/managedSpaceMetadata.js +14 -0
- package/dist/core/runtime/hosting/managedSpaceMetadata.js.map +1 -0
- package/dist/core/runtime/hosting/runtimeHostingService.d.ts +32 -0
- package/dist/core/runtime/hosting/runtimeHostingService.js +123 -0
- package/dist/core/runtime/hosting/runtimeHostingService.js.map +1 -0
- package/dist/core/runtime/hosting/runtimeLayout.d.ts +5 -0
- package/dist/core/runtime/hosting/runtimeLayout.js +133 -0
- package/dist/core/runtime/hosting/runtimeLayout.js.map +1 -0
- package/dist/core/runtime/hosting/runtimeManagementPort.d.ts +60 -0
- package/dist/core/runtime/hosting/runtimeManagementPort.js +28 -0
- package/dist/core/runtime/hosting/runtimeManagementPort.js.map +1 -0
- package/dist/core/runtime/hosting/runtimeTransportSurfaceService.d.ts +20 -0
- package/dist/core/runtime/hosting/runtimeTransportSurfaceService.js +82 -0
- package/dist/core/runtime/hosting/runtimeTransportSurfaceService.js.map +1 -0
- package/dist/core/runtime/hosting/systemEmbeds.d.ts +22 -0
- package/dist/core/runtime/hosting/systemEmbeds.js +25 -0
- package/dist/core/runtime/hosting/systemEmbeds.js.map +1 -0
- package/dist/core/runtime/lifecycle/managedChannelLifecycleService.d.ts +37 -0
- package/dist/core/runtime/lifecycle/managedChannelLifecycleService.js +256 -0
- package/dist/core/runtime/lifecycle/managedChannelLifecycleService.js.map +1 -0
- package/dist/core/runtime/lifecycle/runtimeLifecycleService.d.ts +43 -0
- package/dist/core/runtime/lifecycle/runtimeLifecycleService.js +322 -0
- package/dist/core/runtime/lifecycle/runtimeLifecycleService.js.map +1 -0
- package/dist/core/runtime/moorlineRuntime.d.ts +100 -0
- package/dist/core/runtime/moorlineRuntime.js +573 -0
- package/dist/core/runtime/moorlineRuntime.js.map +1 -0
- package/dist/core/runtime/moorlineRuntimeBuilder.d.ts +180 -0
- package/dist/core/runtime/moorlineRuntimeBuilder.js +681 -0
- package/dist/core/runtime/moorlineRuntimeBuilder.js.map +1 -0
- package/dist/core/runtime/runtimeAudit.d.ts +7 -0
- package/dist/core/runtime/runtimeAudit.js +32 -0
- package/dist/core/runtime/runtimeAudit.js.map +1 -0
- package/dist/core/runtime/runtimeBootstrapRegistry.d.ts +5 -0
- package/dist/core/runtime/runtimeBootstrapRegistry.js +15 -0
- package/dist/core/runtime/runtimeBootstrapRegistry.js.map +1 -0
- package/dist/core/runtime/runtimeStatus.d.ts +14 -0
- package/dist/core/runtime/runtimeStatus.js +16 -0
- package/dist/core/runtime/runtimeStatus.js.map +1 -0
- package/dist/core/runtime/supervision/managedSidecar.d.ts +71 -0
- package/dist/core/runtime/supervision/managedSidecar.js +13 -0
- package/dist/core/runtime/supervision/managedSidecar.js.map +1 -0
- package/dist/core/runtime/supervision/runtimeControl.d.ts +45 -0
- package/dist/core/runtime/supervision/runtimeControl.js +2 -0
- package/dist/core/runtime/supervision/runtimeControl.js.map +1 -0
- package/dist/core/runtime/supervision/runtimeControlService.d.ts +56 -0
- package/dist/core/runtime/supervision/runtimeControlService.js +315 -0
- package/dist/core/runtime/supervision/runtimeControlService.js.map +1 -0
- package/dist/core/runtime/supervision/runtimeSupervisor.d.ts +106 -0
- package/dist/core/runtime/supervision/runtimeSupervisor.js +425 -0
- package/dist/core/runtime/supervision/runtimeSupervisor.js.map +1 -0
- package/dist/core/runtime/supervision/sidecarLaunchDefinition.d.ts +3 -0
- package/dist/core/runtime/supervision/sidecarLaunchDefinition.js +24 -0
- package/dist/core/runtime/supervision/sidecarLaunchDefinition.js.map +1 -0
- package/dist/core/runtime/supervision/sidecarManager.d.ts +40 -0
- package/dist/core/runtime/supervision/sidecarManager.js +409 -0
- package/dist/core/runtime/supervision/sidecarManager.js.map +1 -0
- package/dist/core/shared/fs/atomicWrite.d.ts +6 -0
- package/dist/core/shared/fs/atomicWrite.js +48 -0
- package/dist/core/shared/fs/atomicWrite.js.map +1 -0
- package/dist/core/shared/fs/canonicalPathContainment.d.ts +8 -0
- package/dist/core/shared/fs/canonicalPathContainment.js +31 -0
- package/dist/core/shared/fs/canonicalPathContainment.js.map +1 -0
- package/dist/core/shared/fs/runtimeOwnedPath.d.ts +6 -0
- package/dist/core/shared/fs/runtimeOwnedPath.js +23 -0
- package/dist/core/shared/fs/runtimeOwnedPath.js.map +1 -0
- package/dist/core/shared/utils/childProcessEnv.d.ts +4 -0
- package/dist/core/shared/utils/childProcessEnv.js +66 -0
- package/dist/core/shared/utils/childProcessEnv.js.map +1 -0
- package/dist/core/shared/utils/commandRunner.d.ts +18 -0
- package/dist/core/shared/utils/commandRunner.js +51 -0
- package/dist/core/shared/utils/commandRunner.js.map +1 -0
- package/dist/core/shared/utils/payloadRedaction.d.ts +13 -0
- package/dist/core/shared/utils/payloadRedaction.js +91 -0
- package/dist/core/shared/utils/payloadRedaction.js.map +1 -0
- package/dist/core/shared/utils/remoteNetworkPolicy.d.ts +11 -0
- package/dist/core/shared/utils/remoteNetworkPolicy.js +137 -0
- package/dist/core/shared/utils/remoteNetworkPolicy.js.map +1 -0
- package/dist/core/shared/utils/runtimeMessageUtils.d.ts +27 -0
- package/dist/core/shared/utils/runtimeMessageUtils.js +383 -0
- package/dist/core/shared/utils/runtimeMessageUtils.js.map +1 -0
- package/dist/core/system/audit/auditLogger.d.ts +15 -0
- package/dist/core/system/audit/auditLogger.js +22 -0
- package/dist/core/system/audit/auditLogger.js.map +1 -0
- package/dist/core/system/backup/runtimeBackupService.d.ts +28 -0
- package/dist/core/system/backup/runtimeBackupService.js +284 -0
- package/dist/core/system/backup/runtimeBackupService.js.map +1 -0
- package/dist/core/system/config/configStore.d.ts +38 -0
- package/dist/core/system/config/configStore.js +672 -0
- package/dist/core/system/config/configStore.js.map +1 -0
- package/dist/core/system/policy/actorRulePolicy.d.ts +13 -0
- package/dist/core/system/policy/actorRulePolicy.js +87 -0
- package/dist/core/system/policy/actorRulePolicy.js.map +1 -0
- package/dist/core/system/policy/networkPolicy.d.ts +6 -0
- package/dist/core/system/policy/networkPolicy.js +71 -0
- package/dist/core/system/policy/networkPolicy.js.map +1 -0
- package/dist/core/system/policy/policyEngine.d.ts +22 -0
- package/dist/core/system/policy/policyEngine.js +41 -0
- package/dist/core/system/policy/policyEngine.js.map +1 -0
- package/dist/core/system/policy/policyProfile.d.ts +16 -0
- package/dist/core/system/policy/policyProfile.js +78 -0
- package/dist/core/system/policy/policyProfile.js.map +1 -0
- package/dist/core/system/policy/runtimeActionGuard.d.ts +24 -0
- package/dist/core/system/policy/runtimeActionGuard.js +64 -0
- package/dist/core/system/policy/runtimeActionGuard.js.map +1 -0
- package/dist/core/system/projection/managementReadModel/auditEvents.d.ts +9 -0
- package/dist/core/system/projection/managementReadModel/auditEvents.js +61 -0
- package/dist/core/system/projection/managementReadModel/auditEvents.js.map +1 -0
- package/dist/core/system/projection/managementReadModel/deps.d.ts +35 -0
- package/dist/core/system/projection/managementReadModel/deps.js +2 -0
- package/dist/core/system/projection/managementReadModel/deps.js.map +1 -0
- package/dist/core/system/projection/managementReadModel/objects/serviceObjects.d.ts +3 -0
- package/dist/core/system/projection/managementReadModel/objects/serviceObjects.js +129 -0
- package/dist/core/system/projection/managementReadModel/objects/serviceObjects.js.map +1 -0
- package/dist/core/system/projection/managementReadModel/pluginDiskRecords.d.ts +10 -0
- package/dist/core/system/projection/managementReadModel/pluginDiskRecords.js +55 -0
- package/dist/core/system/projection/managementReadModel/pluginDiskRecords.js.map +1 -0
- package/dist/core/system/projection/managementReadModel/providerAlignment.d.ts +7 -0
- package/dist/core/system/projection/managementReadModel/providerAlignment.js +48 -0
- package/dist/core/system/projection/managementReadModel/providerAlignment.js.map +1 -0
- package/dist/core/system/projection/managementReadModel/text.d.ts +1 -0
- package/dist/core/system/projection/managementReadModel/text.js +8 -0
- package/dist/core/system/projection/managementReadModel/text.js.map +1 -0
- package/dist/core/system/projection/managementReadModelService.d.ts +18 -0
- package/dist/core/system/projection/managementReadModelService.js +768 -0
- package/dist/core/system/projection/managementReadModelService.js.map +1 -0
- package/dist/core/system/projection/pendingRequestProjectionStore.d.ts +12 -0
- package/dist/core/system/projection/pendingRequestProjectionStore.js +113 -0
- package/dist/core/system/projection/pendingRequestProjectionStore.js.map +1 -0
- package/dist/core/system/projection/pendingRequestQuestions.d.ts +2 -0
- package/dist/core/system/projection/pendingRequestQuestions.js +51 -0
- package/dist/core/system/projection/pendingRequestQuestions.js.map +1 -0
- package/dist/core/system/projection/projectionStateStore.d.ts +17 -0
- package/dist/core/system/projection/projectionStateStore.js +60 -0
- package/dist/core/system/projection/projectionStateStore.js.map +1 -0
- package/dist/core/system/projection/runtimeActivityStore.d.ts +24 -0
- package/dist/core/system/projection/runtimeActivityStore.js +150 -0
- package/dist/core/system/projection/runtimeActivityStore.js.map +1 -0
- package/dist/core/system/projection/runtimeProjectionService.d.ts +41 -0
- package/dist/core/system/projection/runtimeProjectionService.js +209 -0
- package/dist/core/system/projection/runtimeProjectionService.js.map +1 -0
- package/dist/core/system/projection/runtimeReceiptStore.d.ts +11 -0
- package/dist/core/system/projection/runtimeReceiptStore.js +77 -0
- package/dist/core/system/projection/runtimeReceiptStore.js.map +1 -0
- package/dist/core/system/projection/runtimeReconciler.d.ts +25 -0
- package/dist/core/system/projection/runtimeReconciler.js +83 -0
- package/dist/core/system/projection/runtimeReconciler.js.map +1 -0
- package/dist/core/system/projection/runtimeSnapshotQuery.d.ts +46 -0
- package/dist/core/system/projection/runtimeSnapshotQuery.js +135 -0
- package/dist/core/system/projection/runtimeSnapshotQuery.js.map +1 -0
- package/dist/core/system/release/releaseArtifacts.d.ts +7 -0
- package/dist/core/system/release/releaseArtifacts.js +88 -0
- package/dist/core/system/release/releaseArtifacts.js.map +1 -0
- package/dist/core/system/release/runtimePackageLoadReport.d.ts +10 -0
- package/dist/core/system/release/runtimePackageLoadReport.js +31 -0
- package/dist/core/system/release/runtimePackageLoadReport.js.map +1 -0
- package/dist/core/system/state/canonicalEventLogStore.d.ts +16 -0
- package/dist/core/system/state/canonicalEventLogStore.js +156 -0
- package/dist/core/system/state/canonicalEventLogStore.js.map +1 -0
- package/dist/core/system/state/migrationRunner.d.ts +5 -0
- package/dist/core/system/state/migrationRunner.js +58 -0
- package/dist/core/system/state/migrationRunner.js.map +1 -0
- package/dist/core/system/state/safeJson.d.ts +8 -0
- package/dist/core/system/state/safeJson.js +36 -0
- package/dist/core/system/state/safeJson.js.map +1 -0
- package/dist/core/system/state/sqlite/connection.d.ts +2 -0
- package/dist/core/system/state/sqlite/connection.js +8 -0
- package/dist/core/system/state/sqlite/connection.js.map +1 -0
- package/dist/core/system/state/sqlite/domainEventLogRepository.d.ts +10 -0
- package/dist/core/system/state/sqlite/domainEventLogRepository.js +69 -0
- package/dist/core/system/state/sqlite/domainEventLogRepository.js.map +1 -0
- package/dist/core/system/state/sqlite/eventIntegrity.d.ts +6 -0
- package/dist/core/system/state/sqlite/eventIntegrity.js +7 -0
- package/dist/core/system/state/sqlite/eventIntegrity.js.map +1 -0
- package/dist/core/system/state/sqlite/managedSidecarRepository.d.ts +10 -0
- package/dist/core/system/state/sqlite/managedSidecarRepository.js +62 -0
- package/dist/core/system/state/sqlite/managedSidecarRepository.js.map +1 -0
- package/dist/core/system/state/sqlite/missionRepository.d.ts +24 -0
- package/dist/core/system/state/sqlite/missionRepository.js +252 -0
- package/dist/core/system/state/sqlite/missionRepository.js.map +1 -0
- package/dist/core/system/state/sqlite/orchestrationRepository.d.ts +20 -0
- package/dist/core/system/state/sqlite/orchestrationRepository.js +158 -0
- package/dist/core/system/state/sqlite/orchestrationRepository.js.map +1 -0
- package/dist/core/system/state/sqlite/pendingRequestRepository.d.ts +13 -0
- package/dist/core/system/state/sqlite/pendingRequestRepository.js +76 -0
- package/dist/core/system/state/sqlite/pendingRequestRepository.js.map +1 -0
- package/dist/core/system/state/sqlite/providerBindingRepository.d.ts +10 -0
- package/dist/core/system/state/sqlite/providerBindingRepository.js +58 -0
- package/dist/core/system/state/sqlite/providerBindingRepository.js.map +1 -0
- package/dist/core/system/state/sqlite/providerEventLogRepository.d.ts +10 -0
- package/dist/core/system/state/sqlite/providerEventLogRepository.js +77 -0
- package/dist/core/system/state/sqlite/providerEventLogRepository.js.map +1 -0
- package/dist/core/system/state/sqlite/rowMappers.d.ts +2 -0
- package/dist/core/system/state/sqlite/rowMappers.js +7 -0
- package/dist/core/system/state/sqlite/rowMappers.js.map +1 -0
- package/dist/core/system/state/sqlite/runtimeHistoryPruningRepository.d.ts +23 -0
- package/dist/core/system/state/sqlite/runtimeHistoryPruningRepository.js +82 -0
- package/dist/core/system/state/sqlite/runtimeHistoryPruningRepository.js.map +1 -0
- package/dist/core/system/state/sqlite/runtimeReceiptRepository.d.ts +9 -0
- package/dist/core/system/state/sqlite/runtimeReceiptRepository.js +47 -0
- package/dist/core/system/state/sqlite/runtimeReceiptRepository.js.map +1 -0
- package/dist/core/system/state/sqlite/sessionMetadataRepository.d.ts +7 -0
- package/dist/core/system/state/sqlite/sessionMetadataRepository.js +25 -0
- package/dist/core/system/state/sqlite/sessionMetadataRepository.js.map +1 -0
- package/dist/core/system/state/sqlite/sessionRepository.d.ts +12 -0
- package/dist/core/system/state/sqlite/sessionRepository.js +72 -0
- package/dist/core/system/state/sqlite/sessionRepository.js.map +1 -0
- package/dist/core/system/state/sqlite/types.d.ts +140 -0
- package/dist/core/system/state/sqlite/types.js +113 -0
- package/dist/core/system/state/sqlite/types.js.map +1 -0
- package/dist/core/system/state/sqliteSessionStore.d.ts +86 -0
- package/dist/core/system/state/sqliteSessionStore.js +210 -0
- package/dist/core/system/state/sqliteSessionStore.js.map +1 -0
- package/dist/core/system/state/sqliteSupport.d.ts +4 -0
- package/dist/core/system/state/sqliteSupport.js +32 -0
- package/dist/core/system/state/sqliteSupport.js.map +1 -0
- package/dist/core/system/vcs/gitCheckpointService.d.ts +11 -0
- package/dist/core/system/vcs/gitCheckpointService.js +32 -0
- package/dist/core/system/vcs/gitCheckpointService.js.map +1 -0
- package/dist/core/system/vcs/gitCommitParser.d.ts +3 -0
- package/dist/core/system/vcs/gitCommitParser.js +55 -0
- package/dist/core/system/vcs/gitCommitParser.js.map +1 -0
- package/dist/core/system/vcs/gitDiffFormatter.d.ts +1 -0
- package/dist/core/system/vcs/gitDiffFormatter.js +4 -0
- package/dist/core/system/vcs/gitDiffFormatter.js.map +1 -0
- package/dist/core/system/vcs/gitHistoryService.d.ts +46 -0
- package/dist/core/system/vcs/gitHistoryService.js +277 -0
- package/dist/core/system/vcs/gitHistoryService.js.map +1 -0
- package/dist/core/system/vcs/gitIgnoreTemplate.d.ts +1 -0
- package/dist/core/system/vcs/gitIgnoreTemplate.js +12 -0
- package/dist/core/system/vcs/gitIgnoreTemplate.js.map +1 -0
- package/dist/core/system/vcs/gitRepoStore.d.ts +12 -0
- package/dist/core/system/vcs/gitRepoStore.js +46 -0
- package/dist/core/system/vcs/gitRepoStore.js.map +1 -0
- package/dist/core/system/vcs/gitTrackedPaths.d.ts +6 -0
- package/dist/core/system/vcs/gitTrackedPaths.js +80 -0
- package/dist/core/system/vcs/gitTrackedPaths.js.map +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -0
- package/dist/types/app.d.ts +444 -0
- package/dist/types/app.js +2 -0
- package/dist/types/app.js.map +1 -0
- package/dist/types/config.d.ts +188 -0
- package/dist/types/config.js +422 -0
- package/dist/types/config.js.map +1 -0
- package/dist/types/distro.d.ts +1 -0
- package/dist/types/distro.js +2 -0
- package/dist/types/distro.js.map +1 -0
- package/dist/types/history.d.ts +43 -0
- package/dist/types/history.js +2 -0
- package/dist/types/history.js.map +1 -0
- package/dist/types/package.d.ts +61 -0
- package/dist/types/package.js +2 -0
- package/dist/types/package.js.map +1 -0
- package/dist/types/plugin.d.ts +1 -0
- package/dist/types/plugin.js +2 -0
- package/dist/types/plugin.js.map +1 -0
- package/dist/types/provider.d.ts +2 -0
- package/dist/types/provider.js +2 -0
- package/dist/types/provider.js.map +1 -0
- package/dist/types/release.d.ts +24 -0
- package/dist/types/release.js +2 -0
- package/dist/types/release.js.map +1 -0
- package/dist/types/runtime.d.ts +2 -0
- package/dist/types/runtime.js +2 -0
- package/dist/types/runtime.js.map +1 -0
- package/dist/types/skill.d.ts +1 -0
- package/dist/types/skill.js +2 -0
- package/dist/types/skill.js.map +1 -0
- package/dist/types/transport.d.ts +2 -0
- package/dist/types/transport.js +2 -0
- package/dist/types/transport.js.map +1 -0
- package/package.json +62 -0
- package/resources/migrations/001_sessions.sql +59 -0
- package/resources/migrations/002_pending_request_metadata.sql +2 -0
- package/resources/migrations/003_provider_projections.sql +38 -0
- package/resources/migrations/004_runtime_projection_state.sql +22 -0
- package/resources/migrations/005_runtime_robustness.sql +3 -0
- package/resources/migrations/006_provider_autostart.sql +1 -0
- package/resources/migrations/007_missions.sql +41 -0
- package/resources/migrations/008_mission_schedule_anchor.sql +5 -0
- package/resources/migrations/009_session_orchestration.sql +26 -0
- package/resources/migrations/010_mission_archival.sql +1 -0
- package/resources/migrations/011_managed_sidecars.sql +29 -0
- package/resources/migrations/012_scope_space_terminology.sql +19 -0
- package/resources/migrations/013_orchestration_dedupe.sql +5 -0
- package/resources/migrations/014_orchestration_execution_claims.sql +13 -0
- package/resources/migrations/015_mission_schedule_meta.sql +9 -0
- package/resources/migrations/016_mission_hook_bindings.sql +16 -0
- package/resources/migrations/017_domain_event_provenance.sql +1 -0
- package/resources/migrations/018_provider_event_processing.sql +8 -0
- package/resources/official-catalog.json +444 -0
- package/resources/policies/default-secure.json +160 -0
|
@@ -0,0 +1,444 @@
|
|
|
1
|
+
import type { RuntimeProviderDiagnostics } from './provider.js';
|
|
2
|
+
import type { RuntimeModeName } from './runtime.js';
|
|
3
|
+
import type { RuntimeSurfaceState } from './config.js';
|
|
4
|
+
import type { HistoryEntry, HistoryStatus } from './history.js';
|
|
5
|
+
import type { JsonSchemaLike, PackageApplyPlan, PackageCatalogEntry, PackageKind, PackageSurface } from './package.js';
|
|
6
|
+
import type { RuntimeManagementContribution } from './plugin.js';
|
|
7
|
+
import type { MoorlineReleaseManifest, MoorlineRuntimeMode, RuntimePackageLoadFailure } from './release.js';
|
|
8
|
+
export interface RuntimeControlStatus {
|
|
9
|
+
acceptingNewWork: boolean;
|
|
10
|
+
supervised: boolean;
|
|
11
|
+
}
|
|
12
|
+
export type SidecarScopeKind = 'global' | 'session' | 'ephemeral';
|
|
13
|
+
export type SidecarRestartPolicy = 'never' | 'on-failure';
|
|
14
|
+
export type ManagedObjectKind = 'session' | 'mission' | 'plugin' | 'skill' | 'service' | 'pending_request' | 'provider_thread' | 'sidecar';
|
|
15
|
+
export type ManagedObjectTrustLevel = 'official' | 'local' | 'operator';
|
|
16
|
+
export interface ManagedObjectMutability {
|
|
17
|
+
editable: boolean;
|
|
18
|
+
installable: boolean;
|
|
19
|
+
removable: boolean;
|
|
20
|
+
}
|
|
21
|
+
export interface ManagedObjectTrust {
|
|
22
|
+
level: ManagedObjectTrustLevel;
|
|
23
|
+
source: string;
|
|
24
|
+
}
|
|
25
|
+
export interface ManagedObjectSourceOfTruth {
|
|
26
|
+
kind: 'sqlite' | 'filesystem' | 'runtime' | 'provider' | 'transport';
|
|
27
|
+
label: string;
|
|
28
|
+
path?: string;
|
|
29
|
+
}
|
|
30
|
+
export interface ManagedObjectRuntimeState {
|
|
31
|
+
status: string;
|
|
32
|
+
updatedAt: string | null;
|
|
33
|
+
details?: Record<string, unknown>;
|
|
34
|
+
}
|
|
35
|
+
export interface ManagedObjectBase {
|
|
36
|
+
id: string;
|
|
37
|
+
kind: ManagedObjectKind;
|
|
38
|
+
name: string;
|
|
39
|
+
summary: string | null;
|
|
40
|
+
controls: string[];
|
|
41
|
+
mutability: ManagedObjectMutability;
|
|
42
|
+
trust: ManagedObjectTrust;
|
|
43
|
+
sourceOfTruth: ManagedObjectSourceOfTruth;
|
|
44
|
+
runtimeState: ManagedObjectRuntimeState;
|
|
45
|
+
}
|
|
46
|
+
export interface ManagementSessionOwner {
|
|
47
|
+
kind: string;
|
|
48
|
+
id: string;
|
|
49
|
+
label: string | null;
|
|
50
|
+
}
|
|
51
|
+
export interface ManagedSessionRecord extends ManagedObjectBase {
|
|
52
|
+
spaceId: string;
|
|
53
|
+
threadId: string;
|
|
54
|
+
lifecycleStatus: 'hot' | 'cool' | 'archived';
|
|
55
|
+
runtimeMode: RuntimeModeName;
|
|
56
|
+
objective: string | null;
|
|
57
|
+
tags: string[];
|
|
58
|
+
owner: ManagementSessionOwner | null;
|
|
59
|
+
waitState: 'idle' | 'running' | 'waiting_for_approval' | 'waiting_for_input' | 'completed' | 'failed' | 'interrupted' | 'cancelled';
|
|
60
|
+
providerStatus: string | null;
|
|
61
|
+
pendingRequestCount: number;
|
|
62
|
+
recentActivityCount: number;
|
|
63
|
+
}
|
|
64
|
+
export interface ManagedMissionRecord extends ManagedObjectBase {
|
|
65
|
+
spaceId: string;
|
|
66
|
+
threadId: string;
|
|
67
|
+
lifecycleStatus: string;
|
|
68
|
+
runtimeMode: RuntimeModeName;
|
|
69
|
+
goal: string;
|
|
70
|
+
scheduleText: string;
|
|
71
|
+
nextRunAt: string | null;
|
|
72
|
+
lastRunAt: string | null;
|
|
73
|
+
pausedAt: string | null;
|
|
74
|
+
archivedAt: string | null;
|
|
75
|
+
}
|
|
76
|
+
export interface ManagedPluginRecord extends ManagedObjectBase {
|
|
77
|
+
pluginId: string;
|
|
78
|
+
version: string;
|
|
79
|
+
pluginType: string;
|
|
80
|
+
capabilities: string[];
|
|
81
|
+
hooks: string[];
|
|
82
|
+
commands: string[];
|
|
83
|
+
packageGroup: 'official' | 'local';
|
|
84
|
+
}
|
|
85
|
+
export interface ManagedSkillRecord extends ManagedObjectBase {
|
|
86
|
+
skillName: string;
|
|
87
|
+
tags: string[];
|
|
88
|
+
metadata: Record<string, string | string[]>;
|
|
89
|
+
}
|
|
90
|
+
export interface ManagedServiceRecord extends ManagedObjectBase {
|
|
91
|
+
serviceType: 'runtime' | 'transport' | 'provider' | 'management' | 'storage' | 'audit';
|
|
92
|
+
}
|
|
93
|
+
export interface ManagedPendingRequestRecord extends ManagedObjectBase {
|
|
94
|
+
threadId: string;
|
|
95
|
+
spaceId: string;
|
|
96
|
+
requestType: string;
|
|
97
|
+
requesterUserId: string | null;
|
|
98
|
+
createdAt: string;
|
|
99
|
+
detail: string | null;
|
|
100
|
+
questions: Array<{
|
|
101
|
+
id: string;
|
|
102
|
+
header: string;
|
|
103
|
+
question: string;
|
|
104
|
+
options: Array<{
|
|
105
|
+
label: string;
|
|
106
|
+
description: string;
|
|
107
|
+
}>;
|
|
108
|
+
}>;
|
|
109
|
+
}
|
|
110
|
+
export interface ManagedProviderThreadRecord extends ManagedObjectBase {
|
|
111
|
+
threadId: string;
|
|
112
|
+
spaceId: string | null;
|
|
113
|
+
providerThreadId: string | null;
|
|
114
|
+
runtimeMode: RuntimeModeName;
|
|
115
|
+
model: string | null;
|
|
116
|
+
}
|
|
117
|
+
export interface ManagedSidecarSummary extends ManagedObjectBase {
|
|
118
|
+
pluginId: string;
|
|
119
|
+
scopeKind: SidecarScopeKind;
|
|
120
|
+
scopeKey: string;
|
|
121
|
+
command: string;
|
|
122
|
+
args: string[];
|
|
123
|
+
restartPolicy: SidecarRestartPolicy;
|
|
124
|
+
restartCount: number;
|
|
125
|
+
pid: number | null;
|
|
126
|
+
startedAt: string | null;
|
|
127
|
+
readyAt: string | null;
|
|
128
|
+
stoppedAt: string | null;
|
|
129
|
+
lastError: string | null;
|
|
130
|
+
}
|
|
131
|
+
export interface ManagementSettingsContract {
|
|
132
|
+
defaults: {
|
|
133
|
+
runtimeMode: 'full-access' | 'approval-required';
|
|
134
|
+
model: string;
|
|
135
|
+
};
|
|
136
|
+
transport: {
|
|
137
|
+
kind: string;
|
|
138
|
+
packageId?: string;
|
|
139
|
+
scopeId: string;
|
|
140
|
+
applicationId: string;
|
|
141
|
+
actorId: string;
|
|
142
|
+
invitePermissions: string;
|
|
143
|
+
};
|
|
144
|
+
provider: {
|
|
145
|
+
kind: string;
|
|
146
|
+
packageId?: string;
|
|
147
|
+
config: Record<string, unknown>;
|
|
148
|
+
};
|
|
149
|
+
admin: {
|
|
150
|
+
explicitAccessGroupCount: number;
|
|
151
|
+
explicitUserCount: number;
|
|
152
|
+
allowTransportAdmin: boolean;
|
|
153
|
+
managedRole: {
|
|
154
|
+
enabled: boolean;
|
|
155
|
+
name: string;
|
|
156
|
+
};
|
|
157
|
+
managedUserRole: {
|
|
158
|
+
enabled: boolean;
|
|
159
|
+
name: string;
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
}
|
|
163
|
+
export interface ManagementApiTrustContract {
|
|
164
|
+
authMode: 'bearer-token';
|
|
165
|
+
loopbackOnly: boolean;
|
|
166
|
+
tokenSource: 'local-connection-record' | 'operator-provided';
|
|
167
|
+
restartBehavior: 'adapter-restart-required';
|
|
168
|
+
}
|
|
169
|
+
export interface ManagementApiDeliveryTrack {
|
|
170
|
+
id: 'install' | 'onboarding' | 'lifecycle' | 'trust' | 'updates' | 'app_shell';
|
|
171
|
+
title: string;
|
|
172
|
+
summary: string;
|
|
173
|
+
status: 'implemented' | 'defined';
|
|
174
|
+
}
|
|
175
|
+
export interface ManagementApiRecoveryAction {
|
|
176
|
+
need: string;
|
|
177
|
+
localAction: string;
|
|
178
|
+
fallback: string;
|
|
179
|
+
}
|
|
180
|
+
export interface ManagementApiContract {
|
|
181
|
+
readableResources: string[];
|
|
182
|
+
writableActions: string[];
|
|
183
|
+
trust: ManagementApiTrustContract;
|
|
184
|
+
navigation: string[];
|
|
185
|
+
deliveryTracks: ManagementApiDeliveryTrack[];
|
|
186
|
+
recoveryActions: ManagementApiRecoveryAction[];
|
|
187
|
+
}
|
|
188
|
+
export interface ManagementInstallContract {
|
|
189
|
+
packageTargets: Array<{
|
|
190
|
+
platform: 'macos' | 'windows' | 'linux';
|
|
191
|
+
format: string;
|
|
192
|
+
launcher: string;
|
|
193
|
+
autoOpenLocalUi: boolean;
|
|
194
|
+
}>;
|
|
195
|
+
installedComponents: string[];
|
|
196
|
+
uninstallBehavior: string;
|
|
197
|
+
}
|
|
198
|
+
export interface ManagementOnboardingContract {
|
|
199
|
+
steps: string[];
|
|
200
|
+
requiredInputs: string[];
|
|
201
|
+
prerequisiteChecks: string[];
|
|
202
|
+
completionState: string;
|
|
203
|
+
}
|
|
204
|
+
export interface ManagementLifecycleContract {
|
|
205
|
+
clientDisconnectBehavior: string;
|
|
206
|
+
runtimeStopBehavior: string;
|
|
207
|
+
startAtLogin: 'planned' | 'manual';
|
|
208
|
+
backgroundMode: string;
|
|
209
|
+
failureRecovery: string;
|
|
210
|
+
}
|
|
211
|
+
export interface ManagementUpdateContract {
|
|
212
|
+
appUpdates: string;
|
|
213
|
+
officialPackageUpdates: string;
|
|
214
|
+
localPackageHandling: string;
|
|
215
|
+
operatorTrigger: string;
|
|
216
|
+
}
|
|
217
|
+
export interface ManagementProviderAlignment {
|
|
218
|
+
status: 'aligned' | 'partial';
|
|
219
|
+
supportedCapabilities: string[];
|
|
220
|
+
supportedMethods: string[];
|
|
221
|
+
surfacedManagementAreas: string[];
|
|
222
|
+
intentionalLimits: string[];
|
|
223
|
+
}
|
|
224
|
+
export interface ManagementOrchestrationHealthRecord {
|
|
225
|
+
openRequests: number;
|
|
226
|
+
runningRequests: number;
|
|
227
|
+
pendingRequests: number;
|
|
228
|
+
staleRunningRequests: number;
|
|
229
|
+
oldestOpenAgeMs: number;
|
|
230
|
+
oldestRunningAgeMs: number;
|
|
231
|
+
inFlightRequests: number;
|
|
232
|
+
staleRunningThresholdMs: number;
|
|
233
|
+
}
|
|
234
|
+
export interface ManagementActiveTurnHealthRecord {
|
|
235
|
+
activeTurns: number;
|
|
236
|
+
staleActiveTurns: number;
|
|
237
|
+
oldestActiveTurnAgeMs: number;
|
|
238
|
+
staleActiveTurnThresholdMs: number;
|
|
239
|
+
}
|
|
240
|
+
export interface ManagementRuntimeWorkerQueueHealthRecord {
|
|
241
|
+
name: string;
|
|
242
|
+
pendingTotal: number;
|
|
243
|
+
keysWithPending: number;
|
|
244
|
+
maxPendingPerKey: number;
|
|
245
|
+
maxPendingTotal: number;
|
|
246
|
+
oldestPendingAgeMs: number;
|
|
247
|
+
}
|
|
248
|
+
export interface ManagementRuntimeRetentionHealthRecord {
|
|
249
|
+
lastPrunedAt: string;
|
|
250
|
+
policy: {
|
|
251
|
+
runtimeEventTtlMs: number;
|
|
252
|
+
domainEventTtlMs: number;
|
|
253
|
+
resolvedRequestTtlMs: number;
|
|
254
|
+
orchestrationTtlMs: number;
|
|
255
|
+
imageTtlMs: number;
|
|
256
|
+
};
|
|
257
|
+
stats: {
|
|
258
|
+
runtimeEventsDeleted: number;
|
|
259
|
+
domainEventsDeleted: number;
|
|
260
|
+
resolvedRequestsDeleted: number;
|
|
261
|
+
closedOrchestrationRequestsDeleted: number;
|
|
262
|
+
removedInputImageFiles: number;
|
|
263
|
+
removedInputImageDirectories: number;
|
|
264
|
+
};
|
|
265
|
+
}
|
|
266
|
+
export interface ManagementReadModelPresentation {
|
|
267
|
+
productDirection: string;
|
|
268
|
+
setupReadyNextAction: string;
|
|
269
|
+
setupIncompleteNextAction: string;
|
|
270
|
+
contract: ManagementApiContract;
|
|
271
|
+
delivery: {
|
|
272
|
+
install: ManagementInstallContract;
|
|
273
|
+
onboarding: ManagementOnboardingContract;
|
|
274
|
+
lifecycle: ManagementLifecycleContract;
|
|
275
|
+
updates: ManagementUpdateContract;
|
|
276
|
+
};
|
|
277
|
+
}
|
|
278
|
+
export type ManagementPackageCatalogEntry = PackageCatalogEntry;
|
|
279
|
+
export interface ManagementInstalledPackageRecord {
|
|
280
|
+
kind: PackageKind;
|
|
281
|
+
surface: PackageKind;
|
|
282
|
+
packageId: string;
|
|
283
|
+
name: string;
|
|
284
|
+
version: string;
|
|
285
|
+
description: string | null;
|
|
286
|
+
installedAt: string;
|
|
287
|
+
installPath: string;
|
|
288
|
+
sourceLabel: string;
|
|
289
|
+
dependencies: string[];
|
|
290
|
+
members?: string[];
|
|
291
|
+
installedByPackageIds?: string[];
|
|
292
|
+
selected: boolean;
|
|
293
|
+
enabled: boolean;
|
|
294
|
+
activationState: 'activated' | 'deactivated';
|
|
295
|
+
activationUniqueKey: string | null;
|
|
296
|
+
}
|
|
297
|
+
export interface ManagementPackageConfigField {
|
|
298
|
+
key: string;
|
|
299
|
+
title: string;
|
|
300
|
+
description: string | null;
|
|
301
|
+
type: 'string' | 'boolean' | 'number';
|
|
302
|
+
required: boolean;
|
|
303
|
+
secret: boolean;
|
|
304
|
+
defaultValue: string | boolean | number | null;
|
|
305
|
+
enumValues: Array<string | boolean | number>;
|
|
306
|
+
value: string | boolean | number | null;
|
|
307
|
+
configured: boolean;
|
|
308
|
+
}
|
|
309
|
+
export interface ManagementPackageConfigRecord {
|
|
310
|
+
surface: PackageSurface;
|
|
311
|
+
packageId: string;
|
|
312
|
+
selected: boolean;
|
|
313
|
+
enabled: boolean;
|
|
314
|
+
active: boolean;
|
|
315
|
+
activationState: 'activated' | 'deactivated';
|
|
316
|
+
activationUniqueKey: string | null;
|
|
317
|
+
schema: JsonSchemaLike | null;
|
|
318
|
+
fields: ManagementPackageConfigField[];
|
|
319
|
+
}
|
|
320
|
+
export interface ManagementReadModel {
|
|
321
|
+
generatedAt: string;
|
|
322
|
+
product: {
|
|
323
|
+
runtimeName: 'Moorline';
|
|
324
|
+
managementName: 'Moorline';
|
|
325
|
+
direction: string;
|
|
326
|
+
};
|
|
327
|
+
contract: ManagementApiContract;
|
|
328
|
+
delivery: {
|
|
329
|
+
install: ManagementInstallContract;
|
|
330
|
+
onboarding: ManagementOnboardingContract;
|
|
331
|
+
lifecycle: ManagementLifecycleContract;
|
|
332
|
+
updates: ManagementUpdateContract;
|
|
333
|
+
};
|
|
334
|
+
setup: {
|
|
335
|
+
runtimeRoot: string;
|
|
336
|
+
installationStatePath: string;
|
|
337
|
+
namespaceBootstrapped: boolean;
|
|
338
|
+
providerConnected: boolean;
|
|
339
|
+
readyForSessions: boolean;
|
|
340
|
+
nextAction: string;
|
|
341
|
+
completed: boolean;
|
|
342
|
+
};
|
|
343
|
+
settings: ManagementSettingsContract;
|
|
344
|
+
namespace: RuntimeSurfaceState | null;
|
|
345
|
+
runtime: {
|
|
346
|
+
status: ReturnType<ManagementRuntimeStatusProvider>;
|
|
347
|
+
control: RuntimeControlStatus;
|
|
348
|
+
release: {
|
|
349
|
+
mode: MoorlineRuntimeMode;
|
|
350
|
+
assetRoot: string;
|
|
351
|
+
manifest: MoorlineReleaseManifest;
|
|
352
|
+
};
|
|
353
|
+
managementSurface: {
|
|
354
|
+
enabled: boolean;
|
|
355
|
+
host: string;
|
|
356
|
+
port: number;
|
|
357
|
+
url: string | null;
|
|
358
|
+
authMode: 'bearer-token';
|
|
359
|
+
};
|
|
360
|
+
};
|
|
361
|
+
provider: {
|
|
362
|
+
diagnostics: RuntimeProviderDiagnostics;
|
|
363
|
+
alignment: ManagementProviderAlignment;
|
|
364
|
+
};
|
|
365
|
+
packages: {
|
|
366
|
+
catalog: ManagementPackageCatalogEntry[];
|
|
367
|
+
installed: ManagementInstalledPackageRecord[];
|
|
368
|
+
config: ManagementPackageConfigRecord[];
|
|
369
|
+
applyPlan: PackageApplyPlan;
|
|
370
|
+
};
|
|
371
|
+
diagnostics: {
|
|
372
|
+
auditLogPath: string;
|
|
373
|
+
exportFormats: string[];
|
|
374
|
+
runtimeHealth: {
|
|
375
|
+
orchestration: ManagementOrchestrationHealthRecord;
|
|
376
|
+
activeTurns: ManagementActiveTurnHealthRecord;
|
|
377
|
+
pruning?: ManagementRuntimeRetentionHealthRecord;
|
|
378
|
+
workerQueues?: ManagementRuntimeWorkerQueueHealthRecord[];
|
|
379
|
+
};
|
|
380
|
+
packageLoadFailures: RuntimePackageLoadFailure[];
|
|
381
|
+
configMigrationWarning: {
|
|
382
|
+
type: 'secret_history_reset';
|
|
383
|
+
createdAt: string;
|
|
384
|
+
backupGitDir: string | null;
|
|
385
|
+
detail: string;
|
|
386
|
+
} | null;
|
|
387
|
+
recentAuditEvents: Array<{
|
|
388
|
+
eventType: string;
|
|
389
|
+
actor: string;
|
|
390
|
+
action: string;
|
|
391
|
+
status: string;
|
|
392
|
+
target: string | null;
|
|
393
|
+
reason: string | null;
|
|
394
|
+
recordedAt: string | null;
|
|
395
|
+
}>;
|
|
396
|
+
recentRuntimeActivities: Array<{
|
|
397
|
+
kind: string;
|
|
398
|
+
severity: 'info' | 'warning' | 'error';
|
|
399
|
+
title: string;
|
|
400
|
+
detail: string | null;
|
|
401
|
+
threadId: string;
|
|
402
|
+
spaceId: string | null;
|
|
403
|
+
createdAt: string;
|
|
404
|
+
}>;
|
|
405
|
+
};
|
|
406
|
+
history: {
|
|
407
|
+
status: HistoryStatus;
|
|
408
|
+
entries: HistoryEntry[];
|
|
409
|
+
capabilities: {
|
|
410
|
+
snapshot: boolean;
|
|
411
|
+
restore: boolean;
|
|
412
|
+
discard: boolean;
|
|
413
|
+
};
|
|
414
|
+
};
|
|
415
|
+
overview: {
|
|
416
|
+
sessions: number;
|
|
417
|
+
missions: number;
|
|
418
|
+
pendingRequests: number;
|
|
419
|
+
plugins: number;
|
|
420
|
+
skills: number;
|
|
421
|
+
services: number;
|
|
422
|
+
providerThreads: number;
|
|
423
|
+
sidecars: number;
|
|
424
|
+
};
|
|
425
|
+
objects: {
|
|
426
|
+
sessions: ManagedSessionRecord[];
|
|
427
|
+
missions: ManagedMissionRecord[];
|
|
428
|
+
plugins: ManagedPluginRecord[];
|
|
429
|
+
skills: ManagedSkillRecord[];
|
|
430
|
+
services: ManagedServiceRecord[];
|
|
431
|
+
managementContributions: RuntimeManagementContribution[];
|
|
432
|
+
pendingRequests: ManagedPendingRequestRecord[];
|
|
433
|
+
providerThreads: ManagedProviderThreadRecord[];
|
|
434
|
+
sidecars: ManagedSidecarSummary[];
|
|
435
|
+
};
|
|
436
|
+
}
|
|
437
|
+
export type ManagementRuntimeStatusProvider = () => {
|
|
438
|
+
uptimeSeconds: number;
|
|
439
|
+
openSessions: number;
|
|
440
|
+
coolSessions: number;
|
|
441
|
+
archivedSessions: number;
|
|
442
|
+
waitingSessions: number;
|
|
443
|
+
runningSessions: number;
|
|
444
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.js","sourceRoot":"","sources":["../../../../../src/types/app.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import type { PackageKind, PackageSourceDescriptor } from './package.js';
|
|
2
|
+
export type MoorlineConfigVersion = 4;
|
|
3
|
+
export declare const CURRENT_MOORLINE_CONFIG_VERSION: MoorlineConfigVersion;
|
|
4
|
+
export declare const DEFAULT_MOORLINE_MODEL = "latest";
|
|
5
|
+
export type ExecutionModeName = 'full-access' | 'approval-required';
|
|
6
|
+
export interface RuntimeSurfaceNames {
|
|
7
|
+
mainCategoryName: string;
|
|
8
|
+
chatChannelName: string;
|
|
9
|
+
statusChannelName: string;
|
|
10
|
+
sessionsCategoryName: string;
|
|
11
|
+
missionsCategoryName: string;
|
|
12
|
+
archiveCategoryName: string;
|
|
13
|
+
}
|
|
14
|
+
export interface TransportConfig {
|
|
15
|
+
kind: string;
|
|
16
|
+
packageId?: string;
|
|
17
|
+
authToken: string;
|
|
18
|
+
scopeId: string;
|
|
19
|
+
applicationId: string;
|
|
20
|
+
actorId: string;
|
|
21
|
+
invitePermissions: string;
|
|
22
|
+
}
|
|
23
|
+
export interface ProviderConfig {
|
|
24
|
+
kind: string;
|
|
25
|
+
packageId?: string;
|
|
26
|
+
command?: string;
|
|
27
|
+
}
|
|
28
|
+
export declare const DEFAULT_MOORLINE_ADMIN_ROLE_NAME = "Moorline Admin";
|
|
29
|
+
export declare const DEFAULT_MOORLINE_USER_ROLE_NAME = "Moorline User";
|
|
30
|
+
export interface ManagedAdminRoleConfig {
|
|
31
|
+
enabled: boolean;
|
|
32
|
+
name: string;
|
|
33
|
+
}
|
|
34
|
+
export interface ManagedUserRoleConfig {
|
|
35
|
+
enabled: boolean;
|
|
36
|
+
name: string;
|
|
37
|
+
}
|
|
38
|
+
export interface AdminConfig {
|
|
39
|
+
accessGroupIds: string[];
|
|
40
|
+
userIds: string[];
|
|
41
|
+
allowTransportAdmin?: boolean;
|
|
42
|
+
managedRole: ManagedAdminRoleConfig;
|
|
43
|
+
managedUserRole: ManagedUserRoleConfig;
|
|
44
|
+
}
|
|
45
|
+
type ManagementExposureMode = 'loopback' | 'remote';
|
|
46
|
+
type ManagementAuthMode = 'bearer';
|
|
47
|
+
interface LocalManagementAuthConfig {
|
|
48
|
+
mode: ManagementAuthMode;
|
|
49
|
+
}
|
|
50
|
+
interface LocalManagementTlsConfig {
|
|
51
|
+
enabled: boolean;
|
|
52
|
+
certPath?: string;
|
|
53
|
+
keyPath?: string;
|
|
54
|
+
}
|
|
55
|
+
export interface LocalManagementConfig {
|
|
56
|
+
enabled: boolean;
|
|
57
|
+
host: string;
|
|
58
|
+
port: number;
|
|
59
|
+
exposure?: ManagementExposureMode;
|
|
60
|
+
auth?: LocalManagementAuthConfig;
|
|
61
|
+
tls?: LocalManagementTlsConfig;
|
|
62
|
+
}
|
|
63
|
+
export type ControlApiConfig = LocalManagementConfig;
|
|
64
|
+
export type MainLifecyclePolicy = 'detached' | 'stop_on_last_lease';
|
|
65
|
+
export interface MainProcessConfig {
|
|
66
|
+
autostart: boolean;
|
|
67
|
+
defaultLifecyclePolicy: MainLifecyclePolicy;
|
|
68
|
+
}
|
|
69
|
+
export interface SurfaceSelectionState {
|
|
70
|
+
activePackageId: string | null;
|
|
71
|
+
config: Record<string, unknown>;
|
|
72
|
+
configByPackageId?: Record<string, Record<string, unknown>>;
|
|
73
|
+
}
|
|
74
|
+
export interface SurfaceEnablementState {
|
|
75
|
+
enabledPackageIds: string[];
|
|
76
|
+
configByPackageId: Record<string, Record<string, unknown>>;
|
|
77
|
+
}
|
|
78
|
+
export interface MoorlineSetupState {
|
|
79
|
+
completed: boolean;
|
|
80
|
+
completedAt?: string;
|
|
81
|
+
}
|
|
82
|
+
export interface MoorlineSecrets {
|
|
83
|
+
version: 1;
|
|
84
|
+
surfaces: {
|
|
85
|
+
apiAdapter: {
|
|
86
|
+
config: Record<string, unknown>;
|
|
87
|
+
configByPackageId: Record<string, Record<string, unknown>>;
|
|
88
|
+
};
|
|
89
|
+
transport: {
|
|
90
|
+
config: Record<string, unknown>;
|
|
91
|
+
configByPackageId: Record<string, Record<string, unknown>>;
|
|
92
|
+
};
|
|
93
|
+
provider: {
|
|
94
|
+
config: Record<string, unknown>;
|
|
95
|
+
configByPackageId: Record<string, Record<string, unknown>>;
|
|
96
|
+
};
|
|
97
|
+
plugins: {
|
|
98
|
+
configByPackageId: Record<string, Record<string, unknown>>;
|
|
99
|
+
};
|
|
100
|
+
skills: {
|
|
101
|
+
configByPackageId: Record<string, Record<string, unknown>>;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
export interface MoorlineShareBundle {
|
|
106
|
+
version: 1;
|
|
107
|
+
exportedAt: string;
|
|
108
|
+
productVersion: string;
|
|
109
|
+
config: MoorlineConfig;
|
|
110
|
+
packages: {
|
|
111
|
+
selectedApiAdapterPackageId: string | null;
|
|
112
|
+
selectedTransportPackageId: string | null;
|
|
113
|
+
selectedProviderPackageId: string | null;
|
|
114
|
+
enabledPluginPackageIds: string[];
|
|
115
|
+
enabledSkillPackageIds: string[];
|
|
116
|
+
installed: Array<{
|
|
117
|
+
kind?: PackageKind;
|
|
118
|
+
surface: PackageKind;
|
|
119
|
+
packageId: string;
|
|
120
|
+
source: PackageSourceDescriptor | null;
|
|
121
|
+
shareState: 'portable' | 'local_only' | 'missing_source';
|
|
122
|
+
}>;
|
|
123
|
+
};
|
|
124
|
+
notes: string[];
|
|
125
|
+
}
|
|
126
|
+
export interface MoorlineConfig {
|
|
127
|
+
version: MoorlineConfigVersion;
|
|
128
|
+
runtimeRoot: string;
|
|
129
|
+
transport?: TransportConfig;
|
|
130
|
+
provider?: ProviderConfig;
|
|
131
|
+
admin?: AdminConfig;
|
|
132
|
+
main?: MainProcessConfig;
|
|
133
|
+
defaults: {
|
|
134
|
+
runtimeMode: ExecutionModeName;
|
|
135
|
+
model: string;
|
|
136
|
+
};
|
|
137
|
+
surface: RuntimeSurfaceNames;
|
|
138
|
+
setup: MoorlineSetupState;
|
|
139
|
+
surfaces: {
|
|
140
|
+
apiAdapter: SurfaceSelectionState;
|
|
141
|
+
transport: SurfaceSelectionState;
|
|
142
|
+
provider: SurfaceSelectionState;
|
|
143
|
+
plugins: SurfaceEnablementState;
|
|
144
|
+
skills: SurfaceEnablementState;
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
export type AppliedMoorlineConfig = MoorlineConfig & {
|
|
148
|
+
transport: TransportConfig;
|
|
149
|
+
provider: ProviderConfig;
|
|
150
|
+
main: MainProcessConfig;
|
|
151
|
+
namespace: RuntimeSurfaceNames;
|
|
152
|
+
};
|
|
153
|
+
export interface RuntimeSurfaceState {
|
|
154
|
+
scopeId?: string;
|
|
155
|
+
mainCategoryId: string;
|
|
156
|
+
chatChannelId: string;
|
|
157
|
+
statusChannelId: string;
|
|
158
|
+
sessionsCategoryId: string;
|
|
159
|
+
missionsCategoryId: string;
|
|
160
|
+
archiveCategoryId: string;
|
|
161
|
+
adminAccessGroupId?: string;
|
|
162
|
+
memberAccessGroupId?: string;
|
|
163
|
+
adminAccessGroupName?: string;
|
|
164
|
+
memberAccessGroupName?: string;
|
|
165
|
+
adminAccessGroupVerifiedAt?: string;
|
|
166
|
+
memberAccessGroupVerifiedAt?: string;
|
|
167
|
+
createdAt: string;
|
|
168
|
+
updatedAt: string;
|
|
169
|
+
}
|
|
170
|
+
export type ManagedNamespaceState = RuntimeSurfaceState;
|
|
171
|
+
export declare function defaultMoorlineHomePath(): string;
|
|
172
|
+
export declare function defaultMoorlineRuntimeRoot(): string;
|
|
173
|
+
export declare function homeRootForRuntime(runtimeRoot: string): string;
|
|
174
|
+
export declare function formatManagementHttpUrl(host: string, port: number): string;
|
|
175
|
+
export declare function normalizeManagementOrigin(value: string): string | null;
|
|
176
|
+
export declare function defaultNamespaceNames(): RuntimeSurfaceNames;
|
|
177
|
+
export declare function defaultAdminConfig(): AdminConfig;
|
|
178
|
+
export declare function defaultManagementConfig(): LocalManagementConfig;
|
|
179
|
+
export declare function defaultHttpApiAdapterConfig(): ControlApiConfig;
|
|
180
|
+
export declare function parseHttpApiAdapterConfig(config: Record<string, unknown>): ControlApiConfig;
|
|
181
|
+
export declare function selectedApiAdapterPackageConfig(config: MoorlineConfig, packageId?: string | null): Record<string, unknown>;
|
|
182
|
+
export declare function defaultMainProcessConfig(): MainProcessConfig;
|
|
183
|
+
export declare function defaultTransportPackageId(kind: string): string;
|
|
184
|
+
export declare function defaultProviderPackageId(kind: string): string;
|
|
185
|
+
export declare function usesProviderDefaultModel(model: string): boolean;
|
|
186
|
+
export declare function parseMoorlineConfig(input: unknown): MoorlineConfig;
|
|
187
|
+
export declare function configuredApiAdapterConfig(config: MoorlineConfig, packageId?: string): ControlApiConfig;
|
|
188
|
+
export {};
|