@endge/core 12.0.3 → 14.0.0-dev.2

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.
Files changed (395) hide show
  1. package/LICENSE +202 -0
  2. package/dist/core.js +26657 -25069
  3. package/dist/features/core/kernel/config/debugger.config.d.ts +0 -1
  4. package/dist/features/core/kernel/config/kernel.config.d.ts +0 -6
  5. package/dist/features/core/kernel/config/modules.config.d.ts +0 -1
  6. package/dist/features/core/kernel/endge.d.ts +15 -7
  7. package/dist/features/core/kernel/errors/EndgeDebuggerReadOnlyError.d.ts +3 -1
  8. package/dist/features/core/kernel/services/EndgeBundleCodec_Service.d.ts +3 -2
  9. package/dist/features/core/kernel/tools/bundle-json.d.ts +0 -4
  10. package/dist/features/core/kernel/tools/debugger-snapshot.d.ts +0 -1
  11. package/dist/features/core/kernel/tools/read-only-document.d.ts +0 -1
  12. package/dist/features/core/kernel/types/bootstrap.types.d.ts +0 -37
  13. package/dist/features/core/kernel/types/endge-bundle.types.d.ts +0 -1
  14. package/dist/features/core/modules/EndgeTypes_Module.d.ts +3 -1
  15. package/dist/features/core/modules/EndgeVocabs_Module.d.ts +33 -15
  16. package/dist/features/core/modules/actions/EndgeActions_Module.d.ts +38 -22
  17. package/dist/features/core/modules/actions/domain/action.types.d.ts +0 -12
  18. package/dist/features/core/modules/actions/services/ActionProgramExecutor.d.ts +3 -2
  19. package/dist/features/core/modules/actions/services/table-actions.d.ts +0 -1
  20. package/dist/features/core/modules/auth/EndgeAuth_Module.d.ts +24 -8
  21. package/dist/features/core/modules/auth/adapters/BasicAuthAdapter.d.ts +9 -3
  22. package/dist/features/core/modules/auth/adapters/BearerAuthAdapter.d.ts +9 -3
  23. package/dist/features/core/modules/auth/adapters/OAuth2ClientCredentialsAuthAdapter.d.ts +3 -1
  24. package/dist/features/core/modules/auth/adapters/OAuth2PasswordAuthAdapter.d.ts +3 -1
  25. package/dist/features/core/modules/auth/adapters/OidcAuthAdapter.d.ts +3 -1
  26. package/dist/features/core/modules/auth/adapters/OidcBrowserSession_Adapter.d.ts +33 -11
  27. package/dist/features/core/modules/auth/domain/AuthInteractionRequiredError.d.ts +3 -1
  28. package/dist/features/core/modules/auth/domain/types/auth-profile.types.d.ts +0 -6
  29. package/dist/features/core/modules/auth/services/AuthAdapterRegistry.d.ts +15 -5
  30. package/dist/features/core/modules/auth/services/AuthProfileRegistry.d.ts +24 -8
  31. package/dist/features/core/modules/auth/services/AuthRequestResolver.d.ts +9 -3
  32. package/dist/features/core/modules/auth/services/AuthSessionManager.d.ts +48 -16
  33. package/dist/features/core/modules/auth/services/AuthSessionStore.d.ts +21 -7
  34. package/dist/features/core/modules/auth/services/auth-context.d.ts +0 -3
  35. package/dist/features/core/modules/bridge/EndgeBridge_Module.d.ts +27 -20
  36. package/dist/features/core/modules/bridge/adapters/BrowserBridge_Adapter.d.ts +12 -4
  37. package/dist/features/core/modules/bridge/config/bridge.config.d.ts +0 -5
  38. package/dist/features/core/modules/bridge/configurator/EndgeBridgeConfigurator_Module.d.ts +14 -12
  39. package/dist/features/core/modules/bridge/debug/EndgeBridgeDebug_Module.d.ts +72 -35
  40. package/dist/features/core/modules/bridge/domain/bridge-sync.type.d.ts +0 -3
  41. package/dist/features/core/modules/bridge/domain/bridge.type.d.ts +0 -3
  42. package/dist/features/core/modules/bridge/services/BridgeConnection_Service.d.ts +15 -5
  43. package/dist/features/core/modules/bridge/tools/bridge-sync.d.ts +0 -6
  44. package/dist/features/core/modules/commands/EndgeCommands_Module.d.ts +12 -4
  45. package/dist/features/core/modules/commands/config/commands.config.d.ts +0 -3
  46. package/dist/features/core/modules/commands/domain/commands.types.d.ts +0 -2
  47. package/dist/features/core/modules/commands/services/LocalCommandExecutor.d.ts +6 -2
  48. package/dist/features/core/modules/commands/services/RemoteCommandExecutor.d.ts +6 -2
  49. package/dist/features/core/modules/commands/services/context/SetDataModeCommand.d.ts +3 -1
  50. package/dist/features/core/modules/commands/services/context/SetFacetCommand.d.ts +3 -1
  51. package/dist/features/core/modules/commands/services/context/SetLocaleCommand.d.ts +3 -1
  52. package/dist/features/core/modules/commands/services/context/SetThemeCommand.d.ts +3 -1
  53. package/dist/features/core/modules/commands/services/context/SetTimezoneCommand.d.ts +3 -1
  54. package/dist/features/core/modules/commands/services/context/SetUserCommand.d.ts +3 -1
  55. package/dist/features/core/modules/commands/services/context/SetWorkspaceCommand.d.ts +3 -1
  56. package/dist/features/core/modules/commands/services/runtime/PauseRuntimeCommand.d.ts +3 -1
  57. package/dist/features/core/modules/commands/services/runtime/ResumeRuntimeCommand.d.ts +3 -1
  58. package/dist/features/core/modules/commands/services/runtime/StopRuntimeCommand.d.ts +3 -1
  59. package/dist/features/core/modules/commands/tools/command-payload.d.ts +0 -2
  60. package/dist/features/core/modules/commands/types/command-executor.type.d.ts +0 -4
  61. package/dist/features/core/modules/commands/types/context-command-target.type.d.ts +0 -1
  62. package/dist/features/core/modules/commands/types/runtime-command-target.type.d.ts +0 -1
  63. package/dist/features/core/modules/compiler/EndgeCompiler_Module.d.ts +193 -74
  64. package/dist/features/core/modules/compiler/services/action/action-compile.d.ts +0 -1
  65. package/dist/features/core/modules/compiler/services/action/action-target-validation.d.ts +0 -2
  66. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-attributes.d.ts +0 -3
  67. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-built-in-tags.d.ts +0 -1
  68. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-compile.d.ts +0 -22
  69. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-dependencies.d.ts +0 -1
  70. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-expression-ir.d.ts +0 -1
  71. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-expression.d.ts +0 -14
  72. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-forward.d.ts +0 -3
  73. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-interactions.d.ts +0 -2
  74. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-parse.d.ts +0 -5
  75. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-ports.d.ts +0 -3
  76. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-script.d.ts +0 -10
  77. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-style.d.ts +0 -1
  78. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-table-menu.d.ts +0 -5
  79. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-table-pin.d.ts +0 -1
  80. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-table-sort.d.ts +0 -1
  81. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-table-visibility.d.ts +0 -1
  82. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-template.d.ts +0 -18
  83. package/dist/features/core/modules/compiler/services/computation/computation-compile.d.ts +0 -1
  84. package/dist/features/core/modules/compiler/services/type/type-program-validation.d.ts +0 -7
  85. package/dist/features/core/modules/compiler/tools/compiled-program-catalog.d.ts +0 -1
  86. package/dist/features/core/modules/computations/EndgeComputations_Module.d.ts +18 -16
  87. package/dist/features/core/modules/computations/model/ComputationResource.d.ts +6 -2
  88. package/dist/features/core/modules/computations/model/ComputationResourceRegistry.d.ts +9 -4
  89. package/dist/features/core/modules/computations/services/ComputationGraphExecutor.d.ts +3 -1
  90. package/dist/features/core/modules/configuration/EndgeConfigurationSchema_Module.d.ts +6 -2
  91. package/dist/features/core/modules/configuration/EndgeConfiguration_Module.d.ts +39 -13
  92. package/dist/features/core/modules/configuration/domain/configuration-value.d.ts +0 -2
  93. package/dist/features/core/modules/configuration/domain/endge-configuration.d.ts +0 -6
  94. package/dist/features/core/modules/configuration/domain/tooltip.config.d.ts +0 -1
  95. package/dist/features/core/modules/configuration/domain/types/configuration.type.d.ts +0 -22
  96. package/dist/features/core/modules/context/EndgeContext_Module.d.ts +186 -62
  97. package/dist/features/core/modules/context/domain/context-events.types.d.ts +0 -1
  98. package/dist/features/core/modules/context/domain/context-persistence.types.d.ts +0 -4
  99. package/dist/features/core/modules/context/domain/context-state.types.d.ts +0 -5
  100. package/dist/features/core/modules/context/endge-vars.d.ts +12 -4
  101. package/dist/features/core/modules/context/persistence/RuntimeStateController.d.ts +6 -2
  102. package/dist/features/core/modules/context/persistence/adapters/LocalStorageContextAdapter.d.ts +3 -1
  103. package/dist/features/core/modules/context/persistence/context-state.d.ts +0 -2
  104. package/dist/features/core/modules/converters/EndgeConverters_Module.d.ts +3 -6
  105. package/dist/features/core/modules/converters/tools/arrays/split.d.ts +0 -1
  106. package/dist/features/core/modules/converters/tools/arrays/to-array.d.ts +0 -1
  107. package/dist/features/core/modules/converters/tools/date/date-to-date-string.d.ts +0 -1
  108. package/dist/features/core/modules/converters/tools/date/date-to-iso-string.d.ts +0 -1
  109. package/dist/features/core/modules/converters/tools/date/date-to-iso-z.d.ts +0 -1
  110. package/dist/features/core/modules/converters/tools/date/date-to-time-string.d.ts +0 -1
  111. package/dist/features/core/modules/converters/tools/date/iso-string-to-date.d.ts +0 -1
  112. package/dist/features/core/modules/converters/tools/date/iso-string-to-time-string.d.ts +0 -1
  113. package/dist/features/core/modules/converters/tools/date/string-to-date.d.ts +0 -1
  114. package/dist/features/core/modules/converters/tools/date/time-string-to-date.d.ts +0 -1
  115. package/dist/features/core/modules/converters/tools/date/timestamp-to-date.d.ts +0 -1
  116. package/dist/features/core/modules/converters/tools/date/weekdays-range.d.ts +0 -4
  117. package/dist/features/core/modules/converters/tools/json/json-parse.d.ts +0 -1
  118. package/dist/features/core/modules/converters/tools/json/json-stringify.d.ts +0 -1
  119. package/dist/features/core/modules/converters/tools/numbers/number-to-string.d.ts +0 -1
  120. package/dist/features/core/modules/converters/tools/numbers/string-to-number.d.ts +0 -1
  121. package/dist/features/core/modules/converters/tools/strings/default-if-empty.d.ts +0 -1
  122. package/dist/features/core/modules/converters/tools/strings/string-to-boolean.d.ts +0 -1
  123. package/dist/features/core/modules/converters/tools/strings/string-trim.d.ts +0 -1
  124. package/dist/features/core/modules/diagnostics/EndgeDiagnosticsSnapshots_Module.d.ts +54 -18
  125. package/dist/features/core/modules/diagnostics/EndgeDiagnostics_Module.d.ts +101 -45
  126. package/dist/features/core/modules/diagnostics/EndgeProblems_Module.d.ts +39 -14
  127. package/dist/features/core/modules/diagnostics/EndgeTelemetry_Module.d.ts +177 -59
  128. package/dist/features/core/modules/diagnostics/adapters/BrowserDiagnosticsSnapshot_Adapter.d.ts +9 -3
  129. package/dist/features/core/modules/diagnostics/adapters/ConsoleDiagnosticsAdapter.d.ts +21 -8
  130. package/dist/features/core/modules/diagnostics/adapters/DiagnosticsAdapterRegistry.d.ts +21 -7
  131. package/dist/features/core/modules/diagnostics/adapters/SentryDiagnosticsAdapter.d.ts +75 -26
  132. package/dist/features/core/modules/diagnostics/adapters/SentryDiagnosticsAdapter.types.d.ts +0 -9
  133. package/dist/features/core/modules/diagnostics/config/diagnostics.config.d.ts +0 -2
  134. package/dist/features/core/modules/diagnostics/domain/diagnostics-snapshot.d.ts +0 -1
  135. package/dist/features/core/modules/diagnostics/domain/entities/DiagnosticsRecordStore.d.ts +60 -20
  136. package/dist/features/core/modules/diagnostics/domain/entities/DiagnosticsSpan.d.ts +24 -8
  137. package/dist/features/core/modules/diagnostics/domain/types/diagnostics-adapter.type.d.ts +0 -14
  138. package/dist/features/core/modules/diagnostics/domain/types/diagnostics-snapshot-runtime-adapter.type.d.ts +0 -2
  139. package/dist/features/core/modules/diagnostics/domain/types/diagnostics.types.d.ts +0 -66
  140. package/dist/features/core/modules/document-import/EndgeDocumentImport_Module.d.ts +17 -14
  141. package/dist/features/core/modules/document-import/domain/types/document-import.type.d.ts +0 -11
  142. package/dist/features/core/modules/document-import/services/parsers/DocumentImportParser.d.ts +0 -3
  143. package/dist/features/core/modules/document-import/services/parsers/GraphQLDocumentImportParser.d.ts +6 -2
  144. package/dist/features/core/modules/document-import/services/parsers/OpenAPIDocumentImportParser.d.ts +6 -2
  145. package/dist/features/core/modules/domain/EndgeDomain_Module.d.ts +165 -64
  146. package/dist/features/core/modules/domain/component/component-sfc-edit-trigger.d.ts +9 -11
  147. package/dist/features/core/modules/domain/component/sfc/component-sfc-source-parts.d.ts +0 -4
  148. package/dist/features/core/modules/domain/component/sfc-editing.config.d.ts +0 -1
  149. package/dist/features/core/modules/domain/documents/domain-document-descriptors.d.ts +0 -3
  150. package/dist/features/core/modules/domain/documents/service-document-serializer.d.ts +0 -3
  151. package/dist/features/core/modules/domain/entities/RAction.d.ts +3 -1
  152. package/dist/features/core/modules/domain/entities/RComponent.d.ts +0 -7
  153. package/dist/features/core/modules/domain/entities/RComponentBase.d.ts +0 -1
  154. package/dist/features/core/modules/domain/entities/RComponentCore.d.ts +12 -8
  155. package/dist/features/core/modules/domain/entities/RComponentDSL.d.ts +3 -1
  156. package/dist/features/core/modules/domain/entities/RComponentSFC.d.ts +18 -10
  157. package/dist/features/core/modules/domain/entities/RComponentTable.d.ts +3 -5
  158. package/dist/features/core/modules/domain/entities/RComponentTableColumn.d.ts +0 -20
  159. package/dist/features/core/modules/domain/entities/RComposition.d.ts +3 -3
  160. package/dist/features/core/modules/domain/entities/RComputation.d.ts +6 -2
  161. package/dist/features/core/modules/domain/entities/RConfiguration.d.ts +3 -1
  162. package/dist/features/core/modules/domain/entities/RDataView.d.ts +6 -4
  163. package/dist/features/core/modules/domain/entities/REntity.d.ts +12 -15
  164. package/dist/features/core/modules/domain/entities/RFacet.d.ts +3 -3
  165. package/dist/features/core/modules/domain/entities/RFacetDocument.d.ts +3 -2
  166. package/dist/features/core/modules/domain/entities/RFilter.d.ts +0 -2
  167. package/dist/features/core/modules/domain/entities/RFolder.d.ts +6 -6
  168. package/dist/features/core/modules/domain/entities/RI18nBundle.d.ts +6 -4
  169. package/dist/features/core/modules/domain/entities/RIntegration.d.ts +3 -1
  170. package/dist/features/core/modules/domain/entities/RMock.d.ts +15 -5
  171. package/dist/features/core/modules/domain/entities/RNavigation.d.ts +6 -2
  172. package/dist/features/core/modules/domain/entities/RPage.d.ts +6 -4
  173. package/dist/features/core/modules/domain/entities/RPageTemplate.d.ts +6 -3
  174. package/dist/features/core/modules/domain/entities/RPolicy.d.ts +3 -1
  175. package/dist/features/core/modules/domain/entities/RQuery.d.ts +0 -3
  176. package/dist/features/core/modules/domain/entities/RSimulation.d.ts +3 -1
  177. package/dist/features/core/modules/domain/entities/RStore.d.ts +3 -1
  178. package/dist/features/core/modules/domain/entities/RStream.d.ts +3 -1
  179. package/dist/features/core/modules/domain/entities/RStyle.d.ts +3 -2
  180. package/dist/features/core/modules/domain/entities/RType.d.ts +0 -1
  181. package/dist/features/core/modules/domain/entities/RUpdate.d.ts +3 -2
  182. package/dist/features/core/modules/domain/entities/RVersion.d.ts +3 -2
  183. package/dist/features/core/modules/domain/entities/RVocabs.d.ts +6 -2
  184. package/dist/features/core/modules/domain/entities/RWorkspace.d.ts +3 -1
  185. package/dist/features/core/modules/domain/resolved/resolved-entity-index.d.ts +6 -2
  186. package/dist/features/core/modules/domain/types/component/component-core.types.d.ts +0 -39
  187. package/dist/features/core/modules/domain/types/component/component.types.d.ts +0 -6
  188. package/dist/features/core/modules/domain/types/component/sfc/ast.types.d.ts +0 -67
  189. package/dist/features/core/modules/domain/types/component/sfc/dependencies.types.d.ts +0 -37
  190. package/dist/features/core/modules/domain/types/component/sfc/expression-ir.types.d.ts +0 -1
  191. package/dist/features/core/modules/domain/types/component/sfc/intrinsic-events.types.d.ts +0 -1
  192. package/dist/features/core/modules/domain/types/component/sfc/ir.types.d.ts +0 -127
  193. package/dist/features/core/modules/domain/types/component/sfc/location.types.d.ts +0 -7
  194. package/dist/features/core/modules/domain/types/component/sfc/metadata-visual.types.d.ts +0 -2
  195. package/dist/features/core/modules/domain/types/component/sfc/ports-source.types.d.ts +0 -4
  196. package/dist/features/core/modules/domain/types/component/sfc/ports.types.d.ts +0 -25
  197. package/dist/features/core/modules/domain/types/component/sfc/props-visual.types.d.ts +0 -2
  198. package/dist/features/core/modules/domain/types/component/sfc/source.types.d.ts +0 -11
  199. package/dist/features/core/modules/domain/types/component/sfc/table-events.types.d.ts +0 -1
  200. package/dist/features/core/modules/domain/types/component/sfc/table-visibility.types.d.ts +0 -1
  201. package/dist/features/core/modules/domain/types/component/sfc/tag-attribute-contract.types.d.ts +0 -12
  202. package/dist/features/core/modules/domain/types/component/sfc/tag-input-contract.types.d.ts +0 -7
  203. package/dist/features/core/modules/domain/types/component/sfc/visual-projection.types.d.ts +0 -23
  204. package/dist/features/core/modules/domain/types/computation/computation-program.types.d.ts +0 -3
  205. package/dist/features/core/modules/domain/types/computation/computation-runtime.types.d.ts +0 -2
  206. package/dist/features/core/modules/domain/types/computation/computation-source.types.d.ts +0 -1
  207. package/dist/features/core/modules/domain/types/document/document-create.type.d.ts +0 -2
  208. package/dist/features/core/modules/domain/types/document/document-draft.type.d.ts +0 -4
  209. package/dist/features/core/modules/domain/types/document/document-metadata.types.d.ts +0 -2
  210. package/dist/features/core/modules/domain/types/document/document-move.type.d.ts +0 -1
  211. package/dist/features/core/modules/domain/types/document/document.types.d.ts +0 -20
  212. package/dist/features/core/modules/domain/types/document/domain-export.type.d.ts +0 -4
  213. package/dist/features/core/modules/domain/types/document/domain-provider.type.d.ts +0 -10
  214. package/dist/features/core/modules/domain/types/document/domain-snapshot.type.d.ts +0 -8
  215. package/dist/features/core/modules/domain/types/document/entity-management.type.d.ts +0 -5
  216. package/dist/features/core/modules/domain/types/document/filter.types.d.ts +0 -8
  217. package/dist/features/core/modules/domain/types/document/navigation.types.d.ts +0 -2
  218. package/dist/features/core/modules/domain/types/document/query.types.d.ts +0 -8
  219. package/dist/features/core/modules/domain-repository/EndgeDomainRepository_Module.d.ts +33 -11
  220. package/dist/features/core/modules/domain-repository/services/domain-provider.d.ts +0 -1
  221. package/dist/features/core/modules/events/EndgeEvents_Module.d.ts +6 -2
  222. package/dist/features/core/modules/events/domain/events.types.d.ts +0 -4
  223. package/dist/features/core/modules/i18n/EndgeI18n_Module.d.ts +33 -11
  224. package/dist/features/core/modules/i18n/domain/i18n.types.d.ts +0 -5
  225. package/dist/features/core/modules/i18n/services/composition-i18n-catalog-projection.d.ts +0 -4
  226. package/dist/features/core/modules/i18n/services/i18n-catalog.d.ts +0 -5
  227. package/dist/features/core/modules/i18n/tools/resolve-runtime-translation.d.ts +0 -1
  228. package/dist/features/core/modules/implementations/EndgeImplementations_Module.d.ts +24 -16
  229. package/dist/features/core/modules/implementations/services/ImplementationBindingRegistry.d.ts +3 -1
  230. package/dist/features/core/modules/implementations/services/ImplementationProviderRegistry.d.ts +3 -1
  231. package/dist/features/core/modules/inspection/EndgeInspection_Module.d.ts +12 -4
  232. package/dist/features/core/modules/inspection/services/InspectionCapture_Service.d.ts +6 -2
  233. package/dist/features/core/modules/inspection/tools/inspection-recording.d.ts +0 -4
  234. package/dist/features/core/modules/inspection/types/inspection.types.d.ts +0 -1
  235. package/dist/features/core/modules/mock/EndgeMock_Module.d.ts +30 -10
  236. package/dist/features/core/modules/mock/domain/types/mock-data.type.d.ts +3 -9
  237. package/dist/features/core/modules/program/EndgeProgram_Module.d.ts +69 -23
  238. package/dist/features/core/modules/program/domain/types/action-program.types.d.ts +0 -1
  239. package/dist/features/core/modules/program/domain/types/execution-bundle.types.d.ts +0 -4
  240. package/dist/features/core/modules/program/domain/types/program-metadata.types.d.ts +0 -11
  241. package/dist/features/core/modules/program/domain/types/program.types.d.ts +0 -109
  242. package/dist/features/core/modules/program/tools/execution-bundle.d.ts +0 -2
  243. package/dist/features/core/modules/program/tools/portable-program-payload.d.ts +0 -1
  244. package/dist/features/core/modules/program/tools/restore-program-source.d.ts +0 -1
  245. package/dist/features/core/modules/runtime/ComponentSFCEventBoundary.d.ts +18 -6
  246. package/dist/features/core/modules/runtime/EndgeRuntimeScopes_Module.d.ts +7 -11
  247. package/dist/features/core/modules/runtime/EndgeRuntime_Module.d.ts +100 -33
  248. package/dist/features/core/modules/runtime/RuntimeActionRegistry.d.ts +3 -1
  249. package/dist/features/core/modules/runtime/RuntimeAppScope.d.ts +21 -11
  250. package/dist/features/core/modules/runtime/RuntimeBindingScope.d.ts +0 -25
  251. package/dist/features/core/modules/runtime/RuntimeHostBase.d.ts +11 -63
  252. package/dist/features/core/modules/runtime/RuntimeHostFactory.d.ts +0 -3
  253. package/dist/features/core/modules/runtime/RuntimeHostRegistry.d.ts +2 -33
  254. package/dist/features/core/modules/runtime/RuntimeResourceBag.d.ts +3 -1
  255. package/dist/features/core/modules/runtime/RuntimeScope.d.ts +3 -1
  256. package/dist/features/core/modules/runtime/adapters/QueryExecutor_Adapter.d.ts +39 -22
  257. package/dist/features/core/modules/runtime/domain/component-sfc-render-port.types.d.ts +0 -1
  258. package/dist/features/core/modules/runtime/domain/execution-context.types.d.ts +0 -1
  259. package/dist/features/core/modules/runtime/domain/query-execution.types.d.ts +0 -4
  260. package/dist/features/core/modules/runtime/domain/runtime-entity-map.types.d.ts +0 -13
  261. package/dist/features/core/modules/runtime/domain/runtime-execute.type.d.ts +0 -12
  262. package/dist/features/core/modules/runtime/domain/runtime-host.types.d.ts +2 -119
  263. package/dist/features/core/modules/runtime/domain/runtime-inspection.types.d.ts +0 -2
  264. package/dist/features/core/modules/runtime/domain/runtime-registry.types.d.ts +0 -17
  265. package/dist/features/core/modules/runtime/domain/runtime-render-inspection.types.d.ts +0 -2
  266. package/dist/features/core/modules/runtime/domain/runtime-scope.types.d.ts +0 -1
  267. package/dist/features/core/modules/runtime/domain/runtime-strategy.types.d.ts +0 -14
  268. package/dist/features/core/modules/runtime/domain/runtime.types.d.ts +0 -16
  269. package/dist/features/core/modules/runtime/domain/sfc-render-inspection.type.d.ts +0 -6
  270. package/dist/features/core/modules/runtime/domain/simulation-runtime.types.d.ts +0 -4
  271. package/dist/features/core/modules/runtime/domain/stream-runtime.types.d.ts +0 -1
  272. package/dist/features/core/modules/runtime/domain/table.types.d.ts +0 -11
  273. package/dist/features/core/modules/runtime/domain/vocab-cache.types.d.ts +0 -9
  274. package/dist/features/core/modules/runtime/execution/endge-composition.d.ts +6 -3
  275. package/dist/features/core/modules/runtime/execution/endge-data-view.d.ts +72 -24
  276. package/dist/features/core/modules/runtime/execution/endge-query.d.ts +9 -3
  277. package/dist/features/core/modules/runtime/execution/endge-response-output.d.ts +0 -1
  278. package/dist/features/core/modules/runtime/execution/endge-simulation.d.ts +3 -1
  279. package/dist/features/core/modules/runtime/helpers/raph-phases/runtime-boundary-update-phase.d.ts +9 -6
  280. package/dist/features/core/modules/runtime/helpers/raph-phases/runtime-node-update-phase.d.ts +2 -2
  281. package/dist/features/core/modules/runtime/hosts/ActionRuntimeHost.d.ts +0 -4
  282. package/dist/features/core/modules/runtime/hosts/ComponentSFCRuntimeHost.d.ts +93 -31
  283. package/dist/features/core/modules/runtime/hosts/CompositionRuntimeHost.d.ts +90 -30
  284. package/dist/features/core/modules/runtime/hosts/FilterRuntimeHost.d.ts +12 -4
  285. package/dist/features/core/modules/runtime/hosts/FilterViewRuntimeHost.d.ts +21 -7
  286. package/dist/features/core/modules/runtime/hosts/QueryRuntimeHost.d.ts +12 -4
  287. package/dist/features/core/modules/runtime/hosts/SimulationRuntimeHost.d.ts +12 -4
  288. package/dist/features/core/modules/runtime/hosts/StoreRuntimeHost.d.ts +33 -11
  289. package/dist/features/core/modules/runtime/hosts/StreamRuntimeHost.d.ts +9 -3
  290. package/dist/features/core/modules/runtime/operation/EndgeOperations_Module.d.ts +8 -12
  291. package/dist/features/core/modules/runtime/operation/operation-executor.d.ts +0 -1
  292. package/dist/features/core/modules/runtime/operation/operation-history.d.ts +6 -2
  293. package/dist/features/core/modules/runtime/services/RuntimeStrategyRegistry.d.ts +12 -4
  294. package/dist/features/core/modules/runtime/services/SFCRenderInspectionSession.d.ts +21 -7
  295. package/dist/features/core/modules/runtime/services/component-sfc-expression-evaluate.d.ts +0 -1
  296. package/dist/features/core/modules/runtime/services/simulation/create-simulation-schema.d.ts +0 -1
  297. package/dist/features/core/modules/runtime/services/simulation/find-simulation-runtime.d.ts +0 -1
  298. package/dist/features/core/modules/runtime/services/simulation/prepare-simulation-overrides.d.ts +0 -1
  299. package/dist/features/core/modules/runtime/services/transports/BrowserSseStreamTransportFactory.d.ts +3 -1
  300. package/dist/features/core/modules/runtime/services/transports/BrowserWebSocketStreamTransportFactory.d.ts +6 -2
  301. package/dist/features/core/modules/runtime/tools/runtime-inspection.d.ts +0 -3
  302. package/dist/features/core/modules/runtime/tools/runtime-render-inspection.d.ts +0 -1
  303. package/dist/features/core/modules/runtime/tools/runtime-render-values.d.ts +0 -1
  304. package/dist/features/core/modules/source/EndgeSource_Module.d.ts +81 -27
  305. package/dist/features/core/modules/source/domain/types/composition-source.types.d.ts +0 -42
  306. package/dist/features/core/modules/source/domain/types/configuration-source.types.d.ts +0 -7
  307. package/dist/features/core/modules/source/domain/types/data-view-source.types.d.ts +0 -1
  308. package/dist/features/core/modules/source/domain/types/filter-source.types.d.ts +0 -12
  309. package/dist/features/core/modules/source/domain/types/filter-view.type.d.ts +0 -10
  310. package/dist/features/core/modules/source/domain/types/query-source.types.d.ts +0 -42
  311. package/dist/features/core/modules/source/domain/types/response-output.types.d.ts +0 -1
  312. package/dist/features/core/modules/source/domain/types/simulation-source.types.d.ts +0 -6
  313. package/dist/features/core/modules/source/domain/types/source-engine.types.d.ts +0 -81
  314. package/dist/features/core/modules/source/domain/types/source-expression.types.d.ts +0 -19
  315. package/dist/features/core/modules/source/domain/types/store-source.types.d.ts +0 -3
  316. package/dist/features/core/modules/source/domain/types/stream-source.types.d.ts +0 -4
  317. package/dist/features/core/modules/source/domain/types/type-source.types.d.ts +0 -11
  318. package/dist/features/core/modules/source/domain/types/update-source.types.d.ts +0 -2
  319. package/dist/features/core/modules/source/services/SimulationSourceResolver.d.ts +3 -1
  320. package/dist/features/core/modules/source/services/SourceEngineRegistry.d.ts +12 -4
  321. package/dist/features/core/modules/source/services/SourceLanguageRegistry.d.ts +12 -4
  322. package/dist/features/core/modules/source/services/SourcePatchRegistry.d.ts +12 -4
  323. package/dist/features/core/modules/source/services/compilers/action-source-compile.d.ts +0 -1
  324. package/dist/features/core/modules/source/services/compilers/composition-source-compile.d.ts +0 -2
  325. package/dist/features/core/modules/source/services/compilers/configuration-source-compile.d.ts +0 -1
  326. package/dist/features/core/modules/source/services/compilers/data-view-source-compile.d.ts +0 -1
  327. package/dist/features/core/modules/source/services/compilers/filter-source-compile.d.ts +0 -1
  328. package/dist/features/core/modules/source/services/compilers/query-source-compile.d.ts +0 -1
  329. package/dist/features/core/modules/source/services/compilers/simulation-source-compile.d.ts +0 -1
  330. package/dist/features/core/modules/source/services/compilers/source-expression-compile.d.ts +0 -4
  331. package/dist/features/core/modules/source/services/compilers/source-field-compile.d.ts +0 -1
  332. package/dist/features/core/modules/source/services/compilers/source-metadata-compile.d.ts +0 -4
  333. package/dist/features/core/modules/source/services/compilers/source-model-reference-compile.d.ts +0 -2
  334. package/dist/features/core/modules/source/services/compilers/store-source-compile.d.ts +0 -1
  335. package/dist/features/core/modules/source/services/compilers/stream-source-compile.d.ts +0 -1
  336. package/dist/features/core/modules/source/services/compilers/type-source-compile.d.ts +0 -2
  337. package/dist/features/core/modules/source/services/compilers/update-source-compile.d.ts +0 -1
  338. package/dist/features/core/modules/source/services/component-sfc/component-sfc-metadata-source-patch.d.ts +0 -2
  339. package/dist/features/core/modules/source/services/component-sfc/component-sfc-props-source-patch.d.ts +0 -2
  340. package/dist/features/core/modules/source/services/component-sfc/component-sfc-table-source-patch.d.ts +0 -1
  341. package/dist/features/core/modules/source/services/component-sfc/component-sfc-visual-projection.d.ts +0 -1
  342. package/dist/features/core/modules/source/services/composition-activation.d.ts +0 -1
  343. package/dist/features/core/modules/source/services/composition-source-i18n-hints.d.ts +0 -2
  344. package/dist/features/core/modules/source/services/composition-source-normalize.d.ts +0 -1
  345. package/dist/features/core/modules/source/services/composition-source-patch.d.ts +0 -2
  346. package/dist/features/core/modules/source/services/configuration-source-patch.d.ts +0 -2
  347. package/dist/features/core/modules/source/services/document-metadata.d.ts +0 -2
  348. package/dist/features/core/modules/source/services/filter-source-patch.d.ts +0 -2
  349. package/dist/features/core/modules/source/services/migrations/query-source-v1-migration.d.ts +0 -7
  350. package/dist/features/core/modules/source/services/query-source-patch.d.ts +0 -2
  351. package/dist/features/core/modules/source/services/source-document-reference.d.ts +0 -9
  352. package/dist/features/core/modules/source/services/source-expression-evaluate.d.ts +0 -2
  353. package/dist/features/core/modules/source/services/source-language-syntax.d.ts +0 -1
  354. package/dist/features/core/modules/source/services/strategies/CompositionSourcePatchStrategy.d.ts +12 -4
  355. package/dist/features/core/modules/source/services/strategies/DataViewSourceEngineStrategy.d.ts +12 -4
  356. package/dist/features/core/modules/source/services/strategies/DataViewSourceLanguageStrategy.d.ts +15 -5
  357. package/dist/features/core/modules/source/services/strategies/FilterSourceEngineStrategy.d.ts +3 -1
  358. package/dist/features/core/modules/source/services/strategies/FilterSourcePatchStrategy.d.ts +3 -1
  359. package/dist/features/core/modules/source/services/strategies/QuerySourceEngineStrategy.d.ts +12 -4
  360. package/dist/features/core/modules/source/services/strategies/QuerySourceLanguageStrategy.d.ts +15 -5
  361. package/dist/features/core/modules/source/services/strategies/QuerySourcePatchStrategy.d.ts +12 -4
  362. package/dist/features/core/modules/source/services/strategies/TypeSourceEngineStrategy.d.ts +3 -1
  363. package/dist/features/core/modules/source/services/type-source-references.d.ts +0 -4
  364. package/dist/features/core/modules/source/services/type-source-serialize.d.ts +0 -2
  365. package/dist/features/core/modules/source/services/typescript-type-source.d.ts +0 -2
  366. package/dist/features/core/modules/source/services/value-expression-language.d.ts +0 -1
  367. package/dist/features/core/modules/source/services/value-expression-operations.d.ts +0 -1
  368. package/dist/features/core/modules/source/templates/component-sfc/component-sfc.default.source.d.ts +0 -1
  369. package/dist/features/core/modules/source/templates/configuration.default.source.d.ts +0 -1
  370. package/dist/features/core/modules/source/templates/filter.default.source.d.ts +0 -1
  371. package/dist/features/core/modules/source/templates/query.default.source.d.ts +0 -2
  372. package/dist/features/core/modules/source/templates/simulation.default.source.d.ts +0 -1
  373. package/dist/features/core/modules/source/templates/type.default.source.d.ts +0 -1
  374. package/dist/features/core/modules/styles/EndgeStyles_Module.d.ts +12 -4
  375. package/dist/features/core/modules/styles/domain/types/style.types.d.ts +0 -7
  376. package/dist/features/core/modules/ui/EndgeUIRegistry_Module.d.ts +3 -1
  377. package/dist/features/core/modules/ui/EndgeUI_Module.d.ts +18 -6
  378. package/dist/features/core/modules/ui/domain/types/jsx.types.d.ts +0 -9
  379. package/dist/features/core/modules/ui/domain/types/ui-render-adapter.type.d.ts +0 -8
  380. package/dist/features/core/modules/ui/registry/UIAdapterRegistry.d.ts +39 -13
  381. package/dist/features/core/modules/ui/tooltip/endge-tooltip-markdown.d.ts +0 -2
  382. package/dist/features/core/modules/ui/ui-composition.config.d.ts +0 -1
  383. package/dist/features/core/modules/updates/EndgeUpdates_Module.d.ts +3 -1
  384. package/dist/features/core/modules/workspace/EndgeWorkspace_Module.d.ts +97 -34
  385. package/dist/features/core/modules/workspace/domain/workspace.types.d.ts +0 -3
  386. package/dist/features/federation/EndgeFederation.d.ts +33 -11
  387. package/dist/features/federation/EndgeModule.d.ts +0 -1
  388. package/dist/features/federation/constants/federation.constants.d.ts +0 -1
  389. package/dist/features/federation/services/EndgeModuleController.d.ts +0 -2
  390. package/dist/features/federation/tools/endge-token.d.ts +0 -1
  391. package/dist/features/federation/types/endge-modules.types.d.ts +0 -5
  392. package/dist/features/federation/types/federation.types.d.ts +0 -12
  393. package/dist/features/federation/types/forge.types.d.ts +0 -6
  394. package/package.json +8 -3
  395. package/dist/features/core/modules/runtime/helpers/raph-phases/endge-runtime-boundary.d.ts +0 -13
@@ -1,7 +1,9 @@
1
1
  import { RuntimeHost } from './domain/runtime-host.types';
2
2
  import { RuntimeScope } from './RuntimeScope';
3
3
  import { EndgeModule } from '../../../federation/EndgeModule';
4
- /** Индексирует runtime scopes и membership RuntimeHost. */
4
+ /**
5
+ * Индексирует runtime scopes и membership RuntimeHost.
6
+ */
5
7
  export declare class EndgeRuntimeScopes_Module extends EndgeModule {
6
8
  private readonly _onChange;
7
9
  private readonly _scopes;
@@ -10,13 +12,12 @@ export declare class EndgeRuntimeScopes_Module extends EndgeModule {
10
12
  private _transactionDepth;
11
13
  private _notificationPending;
12
14
  /**
13
- * ----------------------------------------
14
- * PUBLIC
15
- * ----------------------------------------
15
+ * Получает уведомление владельца Runtime без обращения к Core при создании.
16
16
  */
17
- /** Получает уведомление владельца Runtime без обращения к Core при создании. */
18
17
  constructor(_onChange?: () => void);
19
- /** Публикует завершённое изменение scopes; состояние остаётся у их owners. */
18
+ /**
19
+ * Публикует завершённое изменение scopes; состояние остаётся у их owners.
20
+ */
20
21
  notify(): void;
21
22
  register(scope: RuntimeScope): RuntimeScope;
22
23
  transaction<T>(operation: () => T): T;
@@ -28,11 +29,6 @@ export declare class EndgeRuntimeScopes_Module extends EndgeModule {
28
29
  getByRuntime(runtimeId: string): RuntimeScope | null;
29
30
  remove(id: string): Promise<void>;
30
31
  reset(): Promise<void>;
31
- /**
32
- * ----------------------------------------
33
- * PRIVATE
34
- * ----------------------------------------
35
- */
36
32
  private _removeScope;
37
33
  private _changed;
38
34
  }
@@ -16,7 +16,9 @@ import { EndgeSimulation } from './execution/endge-simulation';
16
16
  import { EndgeOperations_Module } from './operation/EndgeOperations_Module';
17
17
  import { RuntimeScope } from './RuntimeScope';
18
18
  import { EndgeModule } from '../../../federation/EndgeModule';
19
- /** Модуль создания, регистрации и уничтожения runtime hosts и app scopes. */
19
+ /**
20
+ * Модуль создания, регистрации и уничтожения runtime hosts и app scopes.
21
+ */
20
22
  export declare class EndgeRuntime_Module extends EndgeModule<EndgeBootContext> {
21
23
  readonly query: EndgeQuery;
22
24
  readonly dataView: EndgeDataView;
@@ -35,6 +37,7 @@ export declare class EndgeRuntime_Module extends EndgeModule<EndgeBootContext> {
35
37
  private _hosts;
36
38
  private _strategies;
37
39
  private _inited;
40
+ private _phaseRuntime;
38
41
  private _appNode;
39
42
  private _scopeNodes;
40
43
  private _appScopes;
@@ -46,11 +49,17 @@ export declare class EndgeRuntime_Module extends EndgeModule<EndgeBootContext> {
46
49
  private _destroyingTrees;
47
50
  private _generation;
48
51
  private _executions;
49
- /** Сохраняет только ограниченные лёгкие описатели для явного inspector. */
52
+ /**
53
+ * Сохраняет только ограниченные лёгкие описатели для явного inspector.
54
+ */
50
55
  acquireDestroyedHostSnapshots(limit: number): RuntimeInspectionLease;
51
- /** Создаёт default app scope и регистрирует runtime strategies. */
56
+ /**
57
+ * Создаёт default app scope и регистрирует runtime strategies.
58
+ */
52
59
  constructor();
53
- /** Уведомляет consumers об изменении реестра без передачи runtime data. */
60
+ /**
61
+ * Уведомляет consumers об изменении реестра без передачи runtime data.
62
+ */
54
63
  notify(): void;
55
64
  /**
56
65
  * Настраивает Raph runtime до загрузки и сборки домена.
@@ -64,24 +73,38 @@ export declare class EndgeRuntime_Module extends EndgeModule<EndgeBootContext> {
64
73
  * Создаёт runtime-host для переданной доменной модели.
65
74
  */
66
75
  execute(model: RuntimeExecutableModel, options?: RuntimeExecuteOptions): AnyRuntimeHost | null;
67
- /** Awaits teardown before reusing a root address; serializes competing replacements. */
76
+ /**
77
+ * Awaits teardown before reusing a root address; serializes competing replacements.
78
+ */
68
79
  executeAsync(model: RuntimeExecutableModel, options?: RuntimeExecuteOptions): Promise<AnyRuntimeHost | null>;
69
- /** Разрешает data mode по ближайшему Composition override с fallback на общий Endge context. */
80
+ /**
81
+ * Разрешает data mode по ближайшему Composition override с fallback на общий Endge context.
82
+ */
70
83
  resolveDataMode(host: RuntimeHost<any, any> | null | undefined): EndgeDataMode;
71
- /** Монтирует единственную startup Composition текущего Workspace без legacy fallback. */
84
+ /**
85
+ * Монтирует единственную startup Composition текущего Workspace без legacy fallback.
86
+ */
72
87
  mountStartup(options?: Parameters<EndgeComposition['mount']>[1]): Promise<import('../source/domain/types/composition-source.types').CompositionSession<import('./hosts/CompositionRuntimeHost').CompositionRuntimeHost>>;
73
88
  /**
74
89
  * Регистрирует стратегию запуска runtime-сущности.
75
90
  */
76
91
  registerStrategy(strategy: AnyRuntimeStrategy): void;
77
- /** Создаёт или возвращает именованный root runtime scope приложения. */
92
+ /**
93
+ * Создаёт или возвращает именованный root runtime scope приложения.
94
+ */
78
95
  createAppScope(options: RuntimeAppScopeOptions): RuntimeAppScope;
79
96
  private _createAppScope;
80
- /** Возвращает lifecycle scope, которому принадлежит RuntimeHost. */
97
+ /**
98
+ * Возвращает lifecycle scope, которому принадлежит RuntimeHost.
99
+ */
81
100
  getRuntimeScopeByHost(runtimeId: string): RuntimeScope | null;
82
- /** Возвращает корневой scope обычного запуска приложения. */
101
+ /**
102
+ * Возвращает корневой scope обычного запуска приложения.
103
+ */
83
104
  getDefaultAppScope(): RuntimeAppScope;
84
- /** Возвращает зарегистрированный AppScope. */
105
+ /**
106
+ * Возвращает зарегистрированный AppScope.
107
+ */
85
108
  getAppScope(id: string): RuntimeAppScope | null;
86
109
  /**
87
110
  * Возвращает runtime-host по его runtime-id.
@@ -97,7 +120,9 @@ export declare class EndgeRuntime_Module extends EndgeModule<EndgeBootContext> {
97
120
  * поэтому отдельный dependency graph на этом этапе не нужен.
98
121
  */
99
122
  invalidateApplicationScopes(): void;
100
- /** Регистрирует host, созданный владельцем составной runtime-сущности. */
123
+ /**
124
+ * Регистрирует host, созданный владельцем составной runtime-сущности.
125
+ */
101
126
  registerRuntimeHost(host: AnyRuntimeHost): boolean;
102
127
  /**
103
128
  * Возвращает snapshots удалённых runtime hosts для inspection tools.
@@ -115,41 +140,67 @@ export declare class EndgeRuntime_Module extends EndgeModule<EndgeBootContext> {
115
140
  * Возвращает runtime-host по доменной сущности.
116
141
  */
117
142
  getRuntimeHostsByEntity(entityType: RuntimeEntityType, entityIdentity: string, appScopeId?: string): AnyRuntimeHost[];
118
- /** Включает hosts, scopes и operation histories в диагностическое дерево Module. */
143
+ /**
144
+ * Включает hosts, scopes и operation histories в диагностическое дерево Module.
145
+ */
119
146
  createDiagnosticsSnapshot(): EndgeRuntimeSnapshot & {
120
147
  operations: unknown;
121
148
  };
122
- /** Возвращает общий snapshot runtime-состояния. */
149
+ /**
150
+ * Возвращает общий snapshot runtime-состояния.
151
+ */
123
152
  snapshot(): EndgeRuntimeSnapshot;
124
- /** Формирует принадлежащую runtime-модулю диагностическую проекцию Raph. */
153
+ /**
154
+ * Формирует принадлежащую runtime-модулю диагностическую проекцию Raph.
155
+ */
125
156
  snapshotRaph(options: {
126
157
  includeData: boolean;
127
158
  includeGraph: boolean;
128
159
  }): EndgeRuntimeRaphSnapshot;
129
- /** JSON-safe проекция owner-а; Bridge задаёт частоту и набор передаваемых частей. */
160
+ /**
161
+ * JSON-safe проекция owner-а; Bridge задаёт частоту и набор передаваемых частей.
162
+ */
130
163
  captureInspection(includeData?: boolean): RuntimeInspectionSnapshot;
131
- /** Прямой импорт факта: не создаёт hosts, не пишет Raph и не выполняет Commands. */
164
+ /**
165
+ * Прямой импорт факта: не создаёт hosts, не пишет Raph и не выполняет Commands.
166
+ */
132
167
  applyInspectionSnapshot(value: unknown): void;
133
- /** Полная замена состояния выбранного момента; отсутствие data не наследует более поздние значения. */
168
+ /**
169
+ * Полная замена состояния выбранного момента; отсутствие data не наследует более поздние значения.
170
+ */
134
171
  replaceInspectionSnapshot(value: unknown): void;
135
- /** Событие обновляет только известный экземпляр; новую структуру приносит следующий snapshot. */
172
+ /**
173
+ * Событие обновляет только известный экземпляр; новую структуру приносит следующий snapshot.
174
+ */
136
175
  applyInspectionEvent(change: RuntimeStatusChange): void;
137
- /** Данные остаются снимком для чтения, даже когда локальный Raph уже существует. */
176
+ /**
177
+ * Данные остаются снимком для чтения, даже когда локальный Raph уже существует.
178
+ */
138
179
  applyInspectionData(data: unknown, generatedAt: number, render?: RuntimeRenderInspection): void;
139
- /** Ошибка передачи не маскируется под свежий или пустой снимок данных. */
180
+ /**
181
+ * Ошибка передачи не маскируется под свежий или пустой снимок данных.
182
+ */
140
183
  applyInspectionDataError(message: string): void;
141
- /** JSON-safe снимок только данных, без пересборки структуры и Raph graph. */
184
+ /**
185
+ * JSON-safe снимок только данных, без пересборки структуры и Raph graph.
186
+ */
142
187
  captureInspectionData(): {
143
188
  data: unknown;
144
189
  render?: RuntimeRenderInspection;
145
190
  generatedAt: number;
146
191
  };
147
- /** Смена debug session удаляет прошлые данные, не затрагивая локальный runtime. */
192
+ /**
193
+ * Смена debug session удаляет прошлые данные, не затрагивая локальный runtime.
194
+ */
148
195
  clearInspection(): void;
149
196
  get inspection(): Readonly<RuntimeInspectionSnapshot>;
150
- /** Наблюдение Raph существует только пока у Runtime есть явный consumer. */
197
+ /**
198
+ * Наблюдение Raph существует только пока у Runtime есть явный consumer.
199
+ */
151
200
  acquireDataChanges(): RuntimeInspectionLease;
152
- /** Локальная операция над конкретным экземпляром; удалённый вызов идёт через Commands. */
201
+ /**
202
+ * Локальная операция над конкретным экземпляром; удалённый вызов идёт через Commands.
203
+ */
153
204
  control(operation: RuntimeControlOperation, input: RuntimeControlTarget): Promise<void>;
154
205
  private _requireInspection;
155
206
  private _observeRenderChanges;
@@ -161,13 +212,17 @@ export declare class EndgeRuntime_Module extends EndgeModule<EndgeBootContext> {
161
212
  * Корректно разрушает runtime-host и всех его дочерних host.
162
213
  */
163
214
  destroyRuntimeTree(runtimeId: string): void;
164
- /** Concurrent callers await the same tree, including every child's async cleanup. */
215
+ /**
216
+ * Concurrent callers await the same tree, including every child's async cleanup.
217
+ */
165
218
  destroyRuntimeTreeAsync(runtimeId: string): Promise<void>;
166
219
  /**
167
220
  * Корректно разрушает все зарегистрированные runtime-host.
168
221
  */
169
222
  reset(): Promise<void>;
170
- /** Проецирует фактические переменные workspace в runtime namespace Raph. */
223
+ /**
224
+ * Проецирует фактические переменные workspace в runtime namespace Raph.
225
+ */
171
226
  private _syncWorkspaceVariablesToRaph;
172
227
  /**
173
228
  * Внутренний destroy для host с контролем уведомления подписчиков.
@@ -176,20 +231,32 @@ export declare class EndgeRuntime_Module extends EndgeModule<EndgeBootContext> {
176
231
  private _disposeHost;
177
232
  private _syncDestroyedSnapshotLimit;
178
233
  private _createDestroyedSnapshot;
179
- /** Регистрирует host, подключает infrastructure и только затем активирует его. */
234
+ /**
235
+ * Регистрирует host, подключает infrastructure и только затем активирует его.
236
+ */
180
237
  private _registerAndActivateHost;
181
- /** Лениво пересоздаёт корень жизненного цикла после полного Endge.reset(). */
238
+ /**
239
+ * Лениво пересоздаёт корень жизненного цикла после полного Endge.reset().
240
+ */
182
241
  private _ensureLifecycleAppScope;
183
242
  /**
184
243
  * Регистрирует встроенные стратегии в порядке от специальных к общим.
185
244
  */
186
245
  private _registerDefaultStrategies;
187
- /** Разрешает scope запуска: explicit -> parent -> default app. */
246
+ /**
247
+ * Разрешает scope запуска: explicit -> parent -> default app.
248
+ */
188
249
  private _resolveAppScope;
189
- /** Создаёт Raph graph node для AppScope независимо от data namespace. */
250
+ /**
251
+ * Создаёт Raph graph node для AppScope независимо от data namespace.
252
+ */
190
253
  private _ensureScopeNode;
191
- /** Разрешает и проверяет явно переданный parent host. */
254
+ /**
255
+ * Разрешает и проверяет явно переданный parent host.
256
+ */
192
257
  private _resolveParentHost;
193
- /** Разрешает artifact reader и запрещает невалидную явную зависимость. */
258
+ /**
259
+ * Разрешает artifact reader и запрещает невалидную явную зависимость.
260
+ */
194
261
  private _resolveArtifactReader;
195
262
  }
@@ -1,5 +1,7 @@
1
1
  import { AnyRuntimeAction, RuntimeAction, RuntimeActionContext, RuntimeActionId, RuntimeActionRegistrySnapshot } from '../actions/domain/action.types';
2
- /** Реестр вызываемых runtime-провайдеров Action. */
2
+ /**
3
+ * Реестр вызываемых runtime-провайдеров Action.
4
+ */
3
5
  export declare class RuntimeActionRegistry {
4
6
  private readonly _actions;
5
7
  register<TContext extends RuntimeActionContext, TPayload = unknown, TResult = void>(action: RuntimeAction<TContext, TPayload, TResult>): () => void;
@@ -4,13 +4,9 @@ import { AnyRuntimeHost } from './domain/runtime-strategy.types';
4
4
  import { RuntimeExecutableModel } from './domain/runtime.types';
5
5
  export type RuntimeAppScopeCollisionPolicy = 'multi' | 'reject' | 'replace';
6
6
  export interface RuntimeAppScopeOptions {
7
- /** Уникальный id scope внутри EndgeRuntime_Module. */
8
7
  id: string;
9
- /** Публичный корень runtime data в Raph. */
10
8
  rootPath: string;
11
- /** Политика повторного запуска root entity в этом scope. */
12
9
  collisionPolicy?: RuntimeAppScopeCollisionPolicy;
13
- /** Persistence policy по умолчанию для host-ов scope. */
14
10
  persistence?: 'disabled' | 'local';
15
11
  }
16
12
  export interface RuntimeAppScopeAddress {
@@ -40,17 +36,29 @@ export declare class RuntimeAppScope {
40
36
  private readonly _owner;
41
37
  private readonly _nextIndex;
42
38
  constructor(owner: RuntimeAppScopeOwner, options: RuntimeAppScopeOptions);
43
- /** Запускает entity в этом AppScope; root определяется отсутствием parent. */
39
+ /**
40
+ * Запускает entity в этом AppScope; root определяется отсутствием parent.
41
+ */
44
42
  execute(model: RuntimeExecutableModel, options?: RuntimeAppScopeExecuteOptions): AnyRuntimeHost | null;
45
- /** Запускает entity, ожидая завершения teardown при collisionPolicy: replace. */
43
+ /**
44
+ * Запускает entity, ожидая завершения teardown при collisionPolicy: replace.
45
+ */
46
46
  executeAsync(model: RuntimeExecutableModel, options?: RuntimeAppScopeExecuteOptions): Promise<AnyRuntimeHost | null>;
47
- /** Возвращает активный root runtime entity по domain identity. */
47
+ /**
48
+ * Возвращает активный root runtime entity по domain identity.
49
+ */
48
50
  resolve<T = AnyRuntimeHost>(entityType: RuntimeEntityType, identity: string): T | null;
49
- /** Удаляет runtime tree entity из этого scope. */
51
+ /**
52
+ * Удаляет runtime tree entity из этого scope.
53
+ */
50
54
  destroy(entityType: RuntimeEntityType, identity: string): void;
51
- /** Удаляет runtime tree и ждёт полного освобождения lifecycle-ресурсов. */
55
+ /**
56
+ * Удаляет runtime tree и ждёт полного освобождения lifecycle-ресурсов.
57
+ */
52
58
  destroyAsync(entityType: RuntimeEntityType, identity: string): Promise<void>;
53
- /** Строит внутренний runtime id и независимый от него публичный Raph path. */
59
+ /**
60
+ * Строит внутренний runtime id и независимый от него публичный Raph path.
61
+ */
54
62
  allocate(input: {
55
63
  entityType: RuntimeEntityType;
56
64
  identity: string;
@@ -58,7 +66,9 @@ export declare class RuntimeAppScope {
58
66
  requestedLocalId?: string | null;
59
67
  scopeRoot: boolean;
60
68
  }): RuntimeAppScopeAddress;
61
- /** Сбрасывает automatic instance counters при reset общего runtime. */
69
+ /**
70
+ * Сбрасывает automatic instance counters при reset общего runtime.
71
+ */
62
72
  reset(): void;
63
73
  }
64
74
  export {};
@@ -1,43 +1,18 @@
1
1
  import { RuntimeHost } from './domain/runtime-host.types';
2
- /**
3
- * Минимальная binding-scope модель runtime.
4
- * Хранит базовый путь и алиасы, от которых компоненты строят локальные selectors.
5
- */
6
2
  export interface RuntimeBindingScope {
7
3
  parentRuntimeId: string | null;
8
4
  basePath: string | null;
9
5
  aliases: Record<string, string>;
10
6
  }
11
- /**
12
- * Привести unknown-значение к RuntimeBindingScope, если это возможно.
13
- */
14
7
  export declare function asRuntimeBindingScope(value: unknown): RuntimeBindingScope | null;
15
- /**
16
- * Собрать binding-scope для runtime.
17
- * Если explicit scope не передан, пытается унаследовать scope родителя
18
- * и только потом fallback-ится на legacy basePath.
19
- */
20
8
  export declare function resolveRuntimeBindingScope(input: {
21
9
  parent?: RuntimeHost<any, any> | null;
22
10
  basePath?: string | null;
23
11
  sourceVar?: string | null;
24
12
  scope?: Partial<RuntimeBindingScope> | null;
25
13
  }): RuntimeBindingScope;
26
- /**
27
- * Прочитать путь массива items из scope.
28
- */
29
14
  export declare function getRuntimeScopeItemsPath(scope: RuntimeBindingScope): string;
30
- /**
31
- * Прочитать шаблон пути строки из scope.
32
- */
33
15
  export declare function getRuntimeScopeRowPath(scope: RuntimeBindingScope): string;
34
- /**
35
- * Скомпилировать selector таблицы в абсолютный runtime path.
36
- * Поддерживает:
37
- * - legacy absolute: `$store...`
38
- * - scope aliases: `@root.`, `@items.`, `@row.`
39
- * - relative row selectors: `number`, `attrs[name='STA'].dateTime`
40
- */
41
16
  export declare function resolveScopedTablePath(input: {
42
17
  rawPath: string;
43
18
  scope: RuntimeBindingScope;
@@ -1,4 +1,4 @@
1
- import { RaphNode } from '../../../../../../@endge-raph/dist/main.d.ts';
1
+ import { RaphNode } from '@raphy-js/raph';
2
2
  import { RuntimeStateControllerLike } from '../context/domain/context-persistence.types';
3
3
  import { ProgramArtifact } from '../program/domain/types/program.types';
4
4
  import { RuntimeEntityModelMap, RuntimeEntityType } from './domain/runtime-entity-map.types';
@@ -6,83 +6,47 @@ import { RuntimeArtifactReader, RuntimeHost, RuntimeHostArtifactRef, RuntimeHost
6
6
  import { RuntimeKind } from './domain/runtime.types';
7
7
  import { EventBus } from '@endge/utils';
8
8
  export declare abstract class RuntimeHostBase<TType extends RuntimeEntityType, TContext extends RuntimeHostContext<TType> = RuntimeHostContext<TType>, TArtifactPayload = unknown> extends EventBus<Record<string, any>> implements RuntimeHost<TType, TContext, TArtifactPayload> {
9
- /** Уникальный runtime-id host. */
10
9
  readonly id: string;
11
- /** Родительский runtime-host для отладки вложенных запусков. */
12
10
  parent: RuntimeHost<any, any> | null;
13
- /** Канонический runtime kind host. */
14
11
  readonly kind: RuntimeKind | 'runtime';
15
- /** Техническое имя реализации host. */
16
12
  readonly runtimeType: string;
17
- /** Возможности runtime-host, доступные внешним consumers. */
18
13
  readonly capabilities: readonly RuntimeHostCapability[];
19
- /** Тип доменной сущности, к которой привязан host. */
20
14
  readonly entityType: TType;
21
- /** Экземпляр доменной модели, на которой работает host. */
22
15
  readonly model: RuntimeEntityModelMap[TType];
23
- /** Identity связанной доменной сущности. */
24
16
  readonly entityIdentity: string;
25
- /** Заголовок host для отображения в UI. */
26
17
  readonly title: string;
27
- /** Текущий статус жизненного цикла host. */
28
18
  status: RuntimeHostStatus;
29
- /** Время создания host (timestamp ms). */
30
19
  readonly createdAt: number;
31
- /** Время последнего изменения host (timestamp ms). */
32
20
  updatedAt: number;
33
- /** Ресурсы, ассоциированные с host. */
34
21
  readonly resources: RuntimeHostResource[];
35
- /** Каналы, используемые host для коммуникации. */
36
22
  readonly channels: RuntimeHostChannel[];
37
- /** Произвольные метаданные host. */
38
23
  readonly meta: Record<string, unknown>;
39
- /** Типизированный runtime-контекст host. */
40
24
  context: TContext;
41
- /** Корневая raph-нода host (первая добавленная). */
42
25
  node: RaphNode | null;
43
- /** Runtime-scoped namespace данных host. */
44
26
  readonly basePath: string;
45
- /** Контроллер persistence уровня runtime. */
46
27
  runtimeState: RuntimeStateControllerLike | null;
47
- /** Список raph-нод, которыми владеет host. */
48
28
  private _raphNodes;
49
29
  private _inputBindings;
50
30
  private _updateBindings;
51
31
  private _updateDisposers;
52
32
  private _updateTimers;
53
33
  private _quiesced;
54
- /** Read-only доступ к compiled artifacts, если host связан с program artifact. */
55
34
  private _artifactReader;
56
- /** Ссылка на compiled artifact, связанный с host. */
57
35
  private _artifactRef;
58
36
  constructor(input: {
59
- /** Уникальный runtime-id host. */
60
37
  id: string;
61
- /** Родительский runtime-host. */
62
38
  parent?: RuntimeHost<any, any> | null;
63
- /** Канонический runtime kind host. */
64
39
  kind: RuntimeKind;
65
- /** Техническое имя реализации host. */
66
40
  runtimeType: string;
67
- /** Возможности runtime-host, доступные внешним consumers. */
68
41
  capabilities?: RuntimeHostCapability[];
69
- /** Тип доменной сущности. */
70
42
  entityType: TType;
71
- /** Экземпляр доменной модели. */
72
43
  model: RuntimeEntityModelMap[TType];
73
- /** Identity доменной сущности. */
74
44
  entityIdentity: string;
75
- /** Отображаемое имя host. */
76
45
  title?: string;
77
- /** Стартовый статус host. */
78
46
  status?: RuntimeHostStatus;
79
- /** Начальные метаданные host. */
80
47
  meta?: Record<string, unknown>;
81
- /** Начальный контекст host (тип зависит от реализации). */
82
48
  context?: TContext;
83
- /** Read-only доступ к compiled artifacts. */
84
49
  artifactReader?: RuntimeArtifactReader | null;
85
- /** Ссылка на artifact, который обслуживает этот host. */
86
50
  artifactRef?: RuntimeHostArtifactRef | null;
87
51
  });
88
52
  /**
@@ -96,7 +60,9 @@ export declare abstract class RuntimeHostBase<TType extends RuntimeEntityType, T
96
60
  reconcile(): void;
97
61
  stop(): void;
98
62
  unmount(): void;
99
- /** Останавливает доставку новых updates, не освобождая данные host-а. */
63
+ /**
64
+ * Останавливает доставку новых updates, не освобождая данные host-а.
65
+ */
100
66
  quiesce(): void;
101
67
  /**
102
68
  * LIFECYCLE
@@ -109,7 +75,9 @@ export declare abstract class RuntimeHostBase<TType extends RuntimeEntityType, T
109
75
  * решает, как обновлять свои данные, запросы или render-boundary.
110
76
  */
111
77
  update(ctx: RuntimeHostUpdateContext): void;
112
- /** Логическая обработка update после разрешения binding-ов. */
78
+ /**
79
+ * Логическая обработка update после разрешения binding-ов.
80
+ */
113
81
  protected onUpdate(ctx: RuntimeHostUpdateContext): Promise<void> | void;
114
82
  statePath(path?: string): string;
115
83
  outputPath(name: string): string;
@@ -118,44 +86,24 @@ export declare abstract class RuntimeHostBase<TType extends RuntimeEntityType, T
118
86
  readInputs(): Readonly<Record<string, unknown>>;
119
87
  bindUpdate(binding: RuntimeHostUpdateBinding): () => void;
120
88
  private _unbindUpdate;
121
- /**
122
- * ACCESS
123
- */
124
89
  setStatus(status: RuntimeHostStatus): void;
125
- /** Проверяет наличие runtime capability. */
126
- hasCapability(capability: RuntimeHostCapability): boolean;
127
90
  /**
128
- * ACCESS
91
+ * Проверяет наличие runtime capability.
129
92
  */
93
+ hasCapability(capability: RuntimeHostCapability): boolean;
130
94
  addResource(resource: RuntimeHostResource): void;
131
- /**
132
- * ACCESS
133
- */
134
95
  addChannel(channel: RuntimeHostChannel): void;
135
96
  setContext(patch: Partial<TContext>): void;
136
97
  replaceContext(context: TContext): void;
137
98
  attachRuntimeState(runtimeState: RuntimeStateControllerLike | null): void;
138
- /**
139
- * ACCESS
140
- */
141
99
  addRaphNode(node: RaphNode): void;
142
- /**
143
- * ACCESS
144
- */
145
100
  getArtifact(): ProgramArtifact<TArtifactPayload> | null;
146
- /** Возвращает read-only artifact reader текущей runtime session. */
147
- getArtifactReader(): RuntimeArtifactReader | null;
148
101
  /**
149
- * ACCESS
102
+ * Возвращает read-only artifact reader текущей runtime session.
150
103
  */
104
+ getArtifactReader(): RuntimeArtifactReader | null;
151
105
  getArtifactPayload(): TArtifactPayload | null;
152
- /**
153
- * ACCESS
154
- */
155
106
  snapshot(): RuntimeHostSnapshot;
156
- /**
157
- * ACCESS
158
- */
159
107
  protected touch(): void;
160
108
  private _serializeContext;
161
109
  }
@@ -10,7 +10,4 @@ export interface RuntimeHostFactoryInput<TType extends RuntimeEntityType> {
10
10
  artifactReader?: RuntimeArtifactReader;
11
11
  }
12
12
  export type RuntimeHostFactoryAnyInput = RuntimeHostFactoryInput<RuntimeEntityType>;
13
- /**
14
- * ACCESS
15
- */
16
13
  export declare function createRuntimeHost(input: RuntimeHostFactoryAnyInput): RuntimeHost<any>;
@@ -8,56 +8,25 @@ export declare class RuntimeHostRegistry implements RuntimeHostRegistryLike {
8
8
  private _parentByChild;
9
9
  private _deletedSnapshots;
10
10
  private _deletedSnapshotLimit;
11
- /**
12
- * ACCESS
13
- */
14
11
  register<T extends RuntimeHost<any, any>>(host: T): T;
15
- /**
16
- * ACCESS
17
- */
18
12
  getById(id: string): RuntimeHost<any, any> | null;
19
- /**
20
- * ACCESS
21
- */
22
13
  getAll(): RuntimeHost<any, any>[];
23
- /** Возвращает runtime subtree в безопасном для destroy порядке: children first. */
24
- getTreePostOrder(rootId: string): string[];
25
14
  /**
26
- * ACCESS
15
+ * Возвращает runtime subtree в безопасном для destroy порядке: children first.
27
16
  */
17
+ getTreePostOrder(rootId: string): string[];
28
18
  getByEntity(entityType: RuntimeEntityType, entityIdentity: string): RuntimeHost<any, any>[];
29
- /**
30
- * ACCESS
31
- */
32
19
  removeById(id: string): RuntimeHost<any, any> | null;
33
20
  /**
34
21
  * LIFECYCLE
35
22
  */
36
23
  clear(): void;
37
- /**
38
- * ACCESS
39
- */
40
24
  rememberDeletedSnapshot(snapshot: DestroyedRuntimeHostSnapshot): void;
41
- /**
42
- * ACCESS
43
- */
44
25
  getDeletedSnapshots(): DestroyedRuntimeHostSnapshot[];
45
- /**
46
- * ACCESS
47
- */
48
26
  removeDeletedSnapshot(id: string): DestroyedRuntimeHostSnapshot | null;
49
- /**
50
- * ACCESS
51
- */
52
27
  clearDeleted(): void;
53
28
  setDeletedSnapshotLimit(limit: number): void;
54
29
  private _trimDeletedSnapshots;
55
- /**
56
- * ACCESS
57
- */
58
30
  snapshot(): RuntimeHostRegistrySnapshot;
59
- /**
60
- * ACCESS
61
- */
62
31
  private _entityKey;
63
32
  }
@@ -1,5 +1,7 @@
1
1
  import { RuntimeOwnedResource, RuntimeResourceBagSnapshot } from './domain/runtime-resource.types';
2
- /** Владеет disposable runtime resources и освобождает их в обратном порядке. */
2
+ /**
3
+ * Владеет disposable runtime resources и освобождает их в обратном порядке.
4
+ */
3
5
  export declare class RuntimeResourceBag {
4
6
  private readonly _resources;
5
7
  private _paused;
@@ -9,7 +9,9 @@ export interface RuntimeScopeOptions {
9
9
  ownerRuntimeId?: string | null;
10
10
  hooks?: RuntimeScopeLifecycleHooks;
11
11
  }
12
- /** Runtime lifecycle owner для hosts, nested scopes и disposable resources. */
12
+ /**
13
+ * Runtime lifecycle owner для hosts, nested scopes и disposable resources.
14
+ */
13
15
  export declare class RuntimeScope implements RuntimeScopeHandle {
14
16
  readonly id: string;
15
17
  readonly path: string;