@spine-event-engine/server 2.0.0-snapshot.23 → 2.0.0-snapshot.25

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 (300) hide show
  1. package/README.md +38 -11
  2. package/REFERENCE.md +278 -141
  3. package/dist/agent/agent-acceptance-receipts.d.ts +69 -0
  4. package/dist/agent/agent-acceptance-receipts.d.ts.map +1 -0
  5. package/dist/agent/agent-acceptance-receipts.js +198 -0
  6. package/dist/agent/agent-acceptance-receipts.js.map +1 -0
  7. package/dist/agent/agent-execution-capacity.d.ts +37 -9
  8. package/dist/agent/agent-execution-capacity.d.ts.map +1 -1
  9. package/dist/agent/agent-execution-capacity.js +73 -15
  10. package/dist/agent/agent-execution-capacity.js.map +1 -1
  11. package/dist/agent/agent-history.d.ts +15 -10
  12. package/dist/agent/agent-history.d.ts.map +1 -1
  13. package/dist/agent/agent-history.js +26 -14
  14. package/dist/agent/agent-history.js.map +1 -1
  15. package/dist/agent/agent-live-ai-audit.d.ts +95 -0
  16. package/dist/agent/agent-live-ai-audit.d.ts.map +1 -0
  17. package/dist/agent/agent-live-ai-audit.js +290 -0
  18. package/dist/agent/agent-live-ai-audit.js.map +1 -0
  19. package/dist/agent/agent-live-ai-runtime.d.ts +300 -0
  20. package/dist/agent/agent-live-ai-runtime.d.ts.map +1 -0
  21. package/dist/agent/agent-live-ai-runtime.js +611 -0
  22. package/dist/agent/agent-live-ai-runtime.js.map +1 -0
  23. package/dist/agent/agent-live-audit.d.ts +67 -0
  24. package/dist/agent/agent-live-audit.d.ts.map +1 -0
  25. package/dist/agent/agent-live-audit.js +121 -0
  26. package/dist/agent/agent-live-audit.js.map +1 -0
  27. package/dist/agent/agent-live-budget.d.ts +84 -0
  28. package/dist/agent/agent-live-budget.d.ts.map +1 -0
  29. package/dist/agent/agent-live-budget.js +161 -0
  30. package/dist/agent/agent-live-budget.js.map +1 -0
  31. package/dist/agent/agent-live-fault.d.ts +18 -0
  32. package/dist/agent/agent-live-fault.d.ts.map +1 -0
  33. package/dist/agent/{agent-execution-fault.js → agent-live-fault.js} +7 -7
  34. package/dist/agent/agent-live-fault.js.map +1 -0
  35. package/dist/agent/agent-live-inputs.d.ts +74 -0
  36. package/dist/agent/agent-live-inputs.d.ts.map +1 -0
  37. package/dist/agent/agent-live-inputs.js +15 -0
  38. package/dist/agent/agent-live-inputs.js.map +1 -0
  39. package/dist/agent/agent-live-interaction-events.d.ts +46 -0
  40. package/dist/agent/agent-live-interaction-events.d.ts.map +1 -0
  41. package/dist/agent/agent-live-interaction-events.js +104 -0
  42. package/dist/agent/agent-live-interaction-events.js.map +1 -0
  43. package/dist/agent/agent-live-mcp-controls.d.ts +129 -0
  44. package/dist/agent/agent-live-mcp-controls.d.ts.map +1 -0
  45. package/dist/agent/agent-live-mcp-controls.js +228 -0
  46. package/dist/agent/agent-live-mcp-controls.js.map +1 -0
  47. package/dist/agent/agent-live-mcp-host.d.ts +88 -0
  48. package/dist/agent/agent-live-mcp-host.d.ts.map +1 -0
  49. package/dist/agent/{agent-mcp-host.js → agent-live-mcp-host.js} +1 -1
  50. package/dist/agent/agent-live-mcp-host.js.map +1 -0
  51. package/dist/agent/{agent-mcp-runtime.d.ts → agent-live-mcp-runtime.d.ts} +6 -6
  52. package/dist/agent/agent-live-mcp-runtime.d.ts.map +1 -0
  53. package/dist/agent/{agent-mcp-runtime.js → agent-live-mcp-runtime.js} +13 -42
  54. package/dist/agent/agent-live-mcp-runtime.js.map +1 -0
  55. package/dist/agent/agent-live-read-runtime.d.ts +61 -0
  56. package/dist/agent/agent-live-read-runtime.d.ts.map +1 -0
  57. package/dist/agent/agent-live-read-runtime.js +121 -0
  58. package/dist/agent/agent-live-read-runtime.js.map +1 -0
  59. package/dist/agent/agent-model-selection.d.ts +21 -34
  60. package/dist/agent/agent-model-selection.d.ts.map +1 -1
  61. package/dist/agent/agent-model-selection.js +61 -78
  62. package/dist/agent/agent-model-selection.js.map +1 -1
  63. package/dist/bus/command-bus.d.ts +14 -18
  64. package/dist/bus/command-bus.d.ts.map +1 -1
  65. package/dist/bus/command-bus.js +31 -48
  66. package/dist/bus/command-bus.js.map +1 -1
  67. package/dist/bus/event-bus.d.ts +82 -104
  68. package/dist/bus/event-bus.d.ts.map +1 -1
  69. package/dist/bus/event-bus.js +87 -127
  70. package/dist/bus/event-bus.js.map +1 -1
  71. package/dist/context/bounded-context.d.ts +143 -91
  72. package/dist/context/bounded-context.d.ts.map +1 -1
  73. package/dist/context/bounded-context.js +753 -359
  74. package/dist/context/bounded-context.js.map +1 -1
  75. package/dist/context/entity-inbox.d.ts +7 -2
  76. package/dist/context/entity-inbox.d.ts.map +1 -1
  77. package/dist/context/entity-inbox.js +43 -20
  78. package/dist/context/entity-inbox.js.map +1 -1
  79. package/dist/context/local-inbox-handoff.d.ts +35 -34
  80. package/dist/context/local-inbox-handoff.d.ts.map +1 -1
  81. package/dist/context/local-inbox-handoff.js +123 -135
  82. package/dist/context/local-inbox-handoff.js.map +1 -1
  83. package/dist/context/projection-handoff.d.ts +2 -2
  84. package/dist/context/projection-handoff.d.ts.map +1 -1
  85. package/dist/context/projection-handoff.js +12 -8
  86. package/dist/context/projection-handoff.js.map +1 -1
  87. package/dist/context/tenant-index.d.ts +36 -31
  88. package/dist/context/tenant-index.d.ts.map +1 -1
  89. package/dist/context/tenant-index.js +123 -125
  90. package/dist/context/tenant-index.js.map +1 -1
  91. package/dist/context/tenant-unknown-error.d.ts +33 -0
  92. package/dist/context/tenant-unknown-error.d.ts.map +1 -0
  93. package/dist/context/tenant-unknown-error.js +75 -0
  94. package/dist/context/tenant-unknown-error.js.map +1 -0
  95. package/dist/delivery/agent-delivery-scope.d.ts +66 -0
  96. package/dist/delivery/agent-delivery-scope.d.ts.map +1 -0
  97. package/dist/delivery/agent-delivery-scope.js +44 -0
  98. package/dist/delivery/agent-delivery-scope.js.map +1 -0
  99. package/dist/delivery/delivery-builder.d.ts +25 -1
  100. package/dist/delivery/delivery-builder.d.ts.map +1 -1
  101. package/dist/delivery/delivery-builder.js +89 -0
  102. package/dist/delivery/delivery-builder.js.map +1 -1
  103. package/dist/delivery/delivery-monitor.d.ts +12 -9
  104. package/dist/delivery/delivery-monitor.d.ts.map +1 -1
  105. package/dist/delivery/delivery-monitor.js +15 -9
  106. package/dist/delivery/delivery-monitor.js.map +1 -1
  107. package/dist/delivery/delivery-ports.d.ts +6 -13
  108. package/dist/delivery/delivery-ports.d.ts.map +1 -1
  109. package/dist/delivery/delivery-run-control.d.ts +21 -0
  110. package/dist/delivery/delivery-run-control.d.ts.map +1 -1
  111. package/dist/delivery/delivery-run-control.js +10 -0
  112. package/dist/delivery/delivery-run-control.js.map +1 -1
  113. package/dist/delivery/delivery-supervisor.d.ts +33 -5
  114. package/dist/delivery/delivery-supervisor.d.ts.map +1 -1
  115. package/dist/delivery/delivery-supervisor.js +178 -26
  116. package/dist/delivery/delivery-supervisor.js.map +1 -1
  117. package/dist/delivery/delivery-tenant.d.ts +17 -0
  118. package/dist/delivery/delivery-tenant.d.ts.map +1 -0
  119. package/dist/delivery/delivery-tenant.js +50 -0
  120. package/dist/delivery/delivery-tenant.js.map +1 -0
  121. package/dist/delivery/delivery.d.ts +96 -2
  122. package/dist/delivery/delivery.d.ts.map +1 -1
  123. package/dist/delivery/delivery.js +803 -89
  124. package/dist/delivery/delivery.js.map +1 -1
  125. package/dist/delivery/inbox-records.d.ts.map +1 -1
  126. package/dist/delivery/inbox-records.js +9 -16
  127. package/dist/delivery/inbox-records.js.map +1 -1
  128. package/dist/delivery/inbox-storage.d.ts +14 -11
  129. package/dist/delivery/inbox-storage.d.ts.map +1 -1
  130. package/dist/delivery/inbox-storage.js +72 -78
  131. package/dist/delivery/inbox-storage.js.map +1 -1
  132. package/dist/delivery/inbox.d.ts +9 -12
  133. package/dist/delivery/inbox.d.ts.map +1 -1
  134. package/dist/delivery/inbox.js +13 -15
  135. package/dist/delivery/inbox.js.map +1 -1
  136. package/dist/delivery/reception-observation.d.ts +64 -0
  137. package/dist/delivery/reception-observation.d.ts.map +1 -0
  138. package/dist/delivery/reception-observation.js +78 -0
  139. package/dist/delivery/reception-observation.js.map +1 -0
  140. package/dist/delivery/sharded-work-registry.d.ts +6 -0
  141. package/dist/delivery/sharded-work-registry.d.ts.map +1 -1
  142. package/dist/delivery/sharded-work-registry.js +41 -4
  143. package/dist/delivery/sharded-work-registry.js.map +1 -1
  144. package/dist/entity/entity-storage-descriptor.d.ts.map +1 -1
  145. package/dist/entity/entity-storage-descriptor.js +7 -4
  146. package/dist/entity/entity-storage-descriptor.js.map +1 -1
  147. package/dist/index.d.ts +4 -2
  148. package/dist/index.d.ts.map +1 -1
  149. package/dist/index.js +2 -1
  150. package/dist/index.js.map +1 -1
  151. package/dist/integration/external-messages.d.ts.map +1 -1
  152. package/dist/integration/external-messages.js +9 -15
  153. package/dist/integration/external-messages.js.map +1 -1
  154. package/dist/integration/integration-broker.d.ts.map +1 -1
  155. package/dist/integration/integration-broker.js +112 -6
  156. package/dist/integration/integration-broker.js.map +1 -1
  157. package/dist/integration/third-party-context.d.ts.map +1 -1
  158. package/dist/integration/third-party-context.js +7 -10
  159. package/dist/integration/third-party-context.js.map +1 -1
  160. package/dist/repository/primitive-id.js +26 -11
  161. package/dist/repository/primitive-id.js.map +1 -1
  162. package/dist/repository/repository.d.ts +33 -62
  163. package/dist/repository/repository.d.ts.map +1 -1
  164. package/dist/repository/repository.js +1475 -1827
  165. package/dist/repository/repository.js.map +1 -1
  166. package/dist/runtime/runtime.d.ts +24 -0
  167. package/dist/runtime/runtime.d.ts.map +1 -1
  168. package/dist/runtime/runtime.js +31 -0
  169. package/dist/runtime/runtime.js.map +1 -1
  170. package/dist/runtime/signal-metadata.d.ts.map +1 -1
  171. package/dist/runtime/signal-metadata.js +8 -15
  172. package/dist/runtime/signal-metadata.js.map +1 -1
  173. package/dist/runtime/signal-publisher.d.ts +8 -36
  174. package/dist/runtime/signal-publisher.d.ts.map +1 -1
  175. package/dist/runtime/signal-publisher.js +68 -61
  176. package/dist/runtime/signal-publisher.js.map +1 -1
  177. package/dist/runtime/standalone-handler-runtime.d.ts +0 -7
  178. package/dist/runtime/standalone-handler-runtime.d.ts.map +1 -1
  179. package/dist/runtime/standalone-handler-runtime.js +14 -130
  180. package/dist/runtime/standalone-handler-runtime.js.map +1 -1
  181. package/dist/server/managed-delivery-gate.d.ts +34 -0
  182. package/dist/server/managed-delivery-gate.d.ts.map +1 -0
  183. package/dist/server/managed-delivery-gate.js +70 -0
  184. package/dist/server/managed-delivery-gate.js.map +1 -0
  185. package/dist/server/managed-server-application.d.ts +2 -2
  186. package/dist/server/managed-server-application.d.ts.map +1 -1
  187. package/dist/server/managed-server-application.js +471 -178
  188. package/dist/server/managed-server-application.js.map +1 -1
  189. package/dist/server/node-coordinator.d.ts +14 -0
  190. package/dist/server/node-coordinator.d.ts.map +1 -1
  191. package/dist/server/node-coordinator.js +266 -45
  192. package/dist/server/node-coordinator.js.map +1 -1
  193. package/dist/server/server-environment.d.ts +203 -25
  194. package/dist/server/server-environment.d.ts.map +1 -1
  195. package/dist/server/server-environment.js +661 -133
  196. package/dist/server/server-environment.js.map +1 -1
  197. package/dist/server/server-log.d.ts +7 -0
  198. package/dist/server/server-log.d.ts.map +1 -1
  199. package/dist/server/server-log.js +18 -1
  200. package/dist/server/server-log.js.map +1 -1
  201. package/dist/server/server.d.ts +18 -32
  202. package/dist/server/server.d.ts.map +1 -1
  203. package/dist/server/server.js +62 -203
  204. package/dist/server/server.js.map +1 -1
  205. package/dist/services/spine-services.d.ts +1 -1
  206. package/dist/services/spine-services.d.ts.map +1 -1
  207. package/dist/services/spine-services.js +399 -370
  208. package/dist/services/spine-services.js.map +1 -1
  209. package/dist/stand/event-origin-filter.d.ts +16 -0
  210. package/dist/stand/event-origin-filter.d.ts.map +1 -0
  211. package/dist/stand/event-origin-filter.js +124 -0
  212. package/dist/stand/event-origin-filter.js.map +1 -0
  213. package/dist/stand/stand.d.ts +14 -0
  214. package/dist/stand/stand.d.ts.map +1 -1
  215. package/dist/stand/stand.js +53 -9
  216. package/dist/stand/stand.js.map +1 -1
  217. package/dist/stand/subscription-observer.d.ts.map +1 -1
  218. package/dist/stand/subscription-observer.js +61 -40
  219. package/dist/stand/subscription-observer.js.map +1 -1
  220. package/dist/stand/subscription-registry.d.ts +6 -2
  221. package/dist/stand/subscription-registry.d.ts.map +1 -1
  222. package/dist/stand/subscription-registry.js +15 -11
  223. package/dist/stand/subscription-registry.js.map +1 -1
  224. package/dist/stand/subscription-runtime.d.ts +23 -4
  225. package/dist/stand/subscription-runtime.d.ts.map +1 -1
  226. package/dist/stand/subscription-runtime.js +84 -13
  227. package/dist/stand/subscription-runtime.js.map +1 -1
  228. package/dist/testing/index.d.ts.map +1 -1
  229. package/dist/testing/index.js +3 -2
  230. package/dist/testing/index.js.map +1 -1
  231. package/dist/tsconfig.tsbuildinfo +1 -1
  232. package/package.json +15 -15
  233. package/dist/agent/agent-admission.d.ts +0 -80
  234. package/dist/agent/agent-admission.d.ts.map +0 -1
  235. package/dist/agent/agent-admission.js +0 -127
  236. package/dist/agent/agent-admission.js.map +0 -1
  237. package/dist/agent/agent-ai-runtime.d.ts +0 -76
  238. package/dist/agent/agent-ai-runtime.d.ts.map +0 -1
  239. package/dist/agent/agent-ai-runtime.js +0 -1269
  240. package/dist/agent/agent-ai-runtime.js.map +0 -1
  241. package/dist/agent/agent-execution-fault.d.ts +0 -18
  242. package/dist/agent/agent-execution-fault.d.ts.map +0 -1
  243. package/dist/agent/agent-execution-fault.js.map +0 -1
  244. package/dist/agent/agent-execution-session.d.ts +0 -103
  245. package/dist/agent/agent-execution-session.d.ts.map +0 -1
  246. package/dist/agent/agent-execution-session.js +0 -238
  247. package/dist/agent/agent-execution-session.js.map +0 -1
  248. package/dist/agent/agent-interaction-audit.d.ts +0 -58
  249. package/dist/agent/agent-interaction-audit.d.ts.map +0 -1
  250. package/dist/agent/agent-interaction-audit.js +0 -114
  251. package/dist/agent/agent-interaction-audit.js.map +0 -1
  252. package/dist/agent/agent-interaction-events.d.ts +0 -40
  253. package/dist/agent/agent-interaction-events.d.ts.map +0 -1
  254. package/dist/agent/agent-interaction-events.js +0 -129
  255. package/dist/agent/agent-interaction-events.js.map +0 -1
  256. package/dist/agent/agent-mcp-budget.d.ts +0 -125
  257. package/dist/agent/agent-mcp-budget.d.ts.map +0 -1
  258. package/dist/agent/agent-mcp-budget.js +0 -566
  259. package/dist/agent/agent-mcp-budget.js.map +0 -1
  260. package/dist/agent/agent-mcp-host.d.ts +0 -125
  261. package/dist/agent/agent-mcp-host.d.ts.map +0 -1
  262. package/dist/agent/agent-mcp-host.js.map +0 -1
  263. package/dist/agent/agent-mcp-runtime.d.ts.map +0 -1
  264. package/dist/agent/agent-mcp-runtime.js.map +0 -1
  265. package/dist/agent/agent-read-runtime.d.ts +0 -70
  266. package/dist/agent/agent-read-runtime.d.ts.map +0 -1
  267. package/dist/agent/agent-read-runtime.js +0 -320
  268. package/dist/agent/agent-read-runtime.js.map +0 -1
  269. package/dist/agent/agent-revisions.d.ts +0 -35
  270. package/dist/agent/agent-revisions.d.ts.map +0 -1
  271. package/dist/agent/agent-revisions.js +0 -133
  272. package/dist/agent/agent-revisions.js.map +0 -1
  273. package/dist/agent/agent-scheduler.d.ts +0 -99
  274. package/dist/agent/agent-scheduler.d.ts.map +0 -1
  275. package/dist/agent/agent-scheduler.js +0 -398
  276. package/dist/agent/agent-scheduler.js.map +0 -1
  277. package/dist/bus/saved-dispatcher-binding.d.ts +0 -96
  278. package/dist/bus/saved-dispatcher-binding.d.ts.map +0 -1
  279. package/dist/bus/saved-dispatcher-binding.js +0 -35
  280. package/dist/bus/saved-dispatcher-binding.js.map +0 -1
  281. package/dist/delivery/delivery-run-coordinator.d.ts +0 -218
  282. package/dist/delivery/delivery-run-coordinator.d.ts.map +0 -1
  283. package/dist/delivery/delivery-run-coordinator.js +0 -609
  284. package/dist/delivery/delivery-run-coordinator.js.map +0 -1
  285. package/dist/delivery/parked-delivery-obligations.d.ts +0 -182
  286. package/dist/delivery/parked-delivery-obligations.d.ts.map +0 -1
  287. package/dist/delivery/parked-delivery-obligations.js +0 -390
  288. package/dist/delivery/parked-delivery-obligations.js.map +0 -1
  289. package/dist/server/environment-attachment.d.ts +0 -356
  290. package/dist/server/environment-attachment.d.ts.map +0 -1
  291. package/dist/server/environment-attachment.js +0 -2062
  292. package/dist/server/environment-attachment.js.map +0 -1
  293. package/dist/server/environment-delivery-records.d.ts +0 -77
  294. package/dist/server/environment-delivery-records.d.ts.map +0 -1
  295. package/dist/server/environment-delivery-records.js +0 -282
  296. package/dist/server/environment-delivery-records.js.map +0 -1
  297. package/dist/server/environment-delivery-worker.d.ts +0 -161
  298. package/dist/server/environment-delivery-worker.d.ts.map +0 -1
  299. package/dist/server/environment-delivery-worker.js +0 -673
  300. package/dist/server/environment-delivery-worker.js.map +0 -1
@@ -1,20 +1,21 @@
1
1
  import type { ILogLayer } from "loglayer";
2
2
  import type { AiRegistry } from "@spine-event-engine/ai";
3
3
  import { type Command, type Event, type TenantId } from "@spine-event-engine/proto";
4
- import { type StorageContext, type StorageFactory } from "@spine-event-engine/storage";
4
+ import { type StorageFactory } from "@spine-event-engine/storage";
5
+ import { type StoragePreparationMode } from "@spine-event-engine/storage/provider";
5
6
  import { CommandBus } from "../bus/command-bus.js";
6
7
  import type { CommandDispatcher } from "../bus/command-dispatcher.js";
7
8
  import { EventBus, type EventSubscriber, type EventSubscription } from "../bus/event-bus.js";
8
9
  import type { EventDispatcher } from "../bus/event-dispatcher.js";
9
- import { type DeliveryEndpoint, type DeliveryReady, type OnDeliveryReady } from "./local-inbox-handoff.js";
10
- import { type TenantIndex } from "./tenant-index.js";
10
+ import { type DeliveryEndpoint } from "./local-inbox-handoff.js";
11
+ import type { TenantIndex } from "./tenant-index.js";
11
12
  import { Repository, type ConcreteRepositoryEntityType, type RepositoryEntityType, type RepositoryOptions, type RepositoryView } from "../repository/repository.js";
12
13
  import { AbstractAssignee, AbstractCommander, AbstractEventReactor, AbstractEventSubscriber } from "../handler/standalone.js";
13
14
  import { Stand } from "../stand/stand.js";
14
15
  import { SubscriptionRuntime } from "../stand/subscription-runtime.js";
15
16
  import { type StandSubscriptionRegistry } from "../stand/subscription-registry.js";
16
17
  import type { DeliveryEndpointMessage } from "../delivery/delivery.js";
17
- import { type DeliveryStrategy } from "../delivery/delivery-builder.js";
18
+ import type { DeliveryStrategy } from "../delivery/delivery-builder.js";
18
19
  import { SignalPublisher } from "../runtime/signal-publisher.js";
19
20
  /**
20
21
  * Tenant isolation mode declared by a bounded context specification.
@@ -67,36 +68,10 @@ interface SystemPairingSnapshot {
67
68
  readonly domain: BoundedContextSnapshot;
68
69
  readonly system: ContextSpecSnapshot;
69
70
  }
70
- /**
71
- * Selects a tenant-specific delivery startup scope.
72
- */
73
- export interface DeliveryTenantScope {
74
- /**
75
- * Identifies the tenant, or is absent for the single-tenant scope.
76
- */
77
- readonly tenantId?: TenantId;
78
- }
79
71
  /**
80
72
  * Gives delivery infrastructure access to one built bounded context.
81
73
  */
82
74
  export interface ContextDeliveryDescriptor {
83
- /**
84
- * Creates storage used by the context's delivery routes.
85
- */
86
- readonly storageFactory: StorageFactory;
87
- /**
88
- * Lists tenant scopes that existing delivery work may require at startup.
89
- *
90
- * @returns Resolves to immutable tenant delivery scopes.
91
- */
92
- startupScopes(): Promise<readonly DeliveryTenantScope[]>;
93
- /**
94
- * Creates the storage context for a delivery scope.
95
- *
96
- * @param scope Selects the tenant scope to represent.
97
- * @returns Returns the matching storage context.
98
- */
99
- storageContext(scope: DeliveryTenantScope): StorageContext;
100
75
  /**
101
76
  * Lists delivery endpoints registered by the context's local inboxes.
102
77
  *
@@ -111,25 +86,6 @@ export interface ContextDeliveryDescriptor {
111
86
  * @returns A promise that resolves after the message is replayed.
112
87
  */
113
88
  replay(message: DeliveryEndpointMessage, tenantId?: TenantId): Promise<void>;
114
- /**
115
- * Sets the observer for newly ready delivery routes.
116
- *
117
- * @param onReady Observes each route made ready by persistence.
118
- * @returns Returns a function that removes the observer.
119
- */
120
- onReady(onReady: OnDeliveryReady): () => void;
121
- /**
122
- * Routes readiness notifications through the configured delivery routes.
123
- *
124
- * @param scopes Lists routes that may receive buffered readiness.
125
- * @param onReady Observes readiness after routing changes.
126
- * @param options Allows an empty route set when `allowEmpty` is true.
127
- * @returns A promise that resolves after the readiness transition completes.
128
- */
129
- transition(scopes: readonly DeliveryReady[], onReady: OnDeliveryReady, options?: {
130
- readonly allowEmpty?: boolean;
131
- readonly ports?: import("./local-inbox-handoff.js").EnvironmentDeliveryPorts;
132
- }): Promise<void>;
133
89
  }
134
90
  /**
135
91
  * Post-only command endpoint exposed by a built bounded context.
@@ -215,10 +171,76 @@ export declare class BoundedContextNameError extends Error {
215
171
  */
216
172
  constructor(value: unknown);
217
173
  }
174
+ /**
175
+ * Rejects an Entity state type already served by another open domain context.
176
+ */
177
+ export declare class DuplicateEntityStateException extends Error {
178
+ /**
179
+ * Wire type URL of the conflicting Entity state.
180
+ */
181
+ readonly stateType: string;
182
+ /**
183
+ * Name of the context that already serves the state.
184
+ */
185
+ readonly registeredContext: string;
186
+ /**
187
+ * Name of the context attempting registration.
188
+ */
189
+ readonly conflictingContext: string;
190
+ /**
191
+ * Creates a duplicate-state registration error.
192
+ * @param stateType Entity state wire type URL.
193
+ * @param registeredContext Existing domain context name.
194
+ * @param conflictingContext New domain context name.
195
+ */
196
+ constructor(stateType: string, registeredContext: string, conflictingContext: string);
197
+ }
218
198
  interface FrameworkConstructionToken {
219
199
  readonly frameworkConstructionToken: true;
220
200
  }
221
201
  interface BoundedContextAccess {
202
+ /**
203
+ * Returns whether a completed context has begun closing.
204
+ *
205
+ * @param context Completed context.
206
+ * @returns Whether close has started.
207
+ */
208
+ isClosing(context: BoundedContext): boolean;
209
+ /**
210
+ * Prepares one already-admitted context without joining global fatal cleanup.
211
+ *
212
+ * @param context Admitted context.
213
+ * @param mode Creation or read-only check.
214
+ * @param ids Captured tenant identities, when supplied.
215
+ * @returns Completion of local preparation.
216
+ */
217
+ prepareExplicit(context: BoundedContext, mode: StoragePreparationMode, ids: readonly TenantId[]): Promise<void>;
218
+ /**
219
+ * Admits a service membership and preparation chain before its first await.
220
+ *
221
+ * @param context Selected built context.
222
+ * @param tenantId Captured tenant identity, when applicable.
223
+ * @param onMembership Checks live tenant membership.
224
+ * @param onReady Performs the admitted one-shot registry mutation, if present.
225
+ * @returns Tracked completion of membership and model preparation.
226
+ */
227
+ admitServiceInput(context: BoundedContext, tenantId: TenantId | undefined, onMembership: () => Promise<void>, onReady?: () => Promise<void>): Promise<void>;
228
+ /**
229
+ * Admits one shared subscription-registry operation before asynchronous lookup.
230
+ *
231
+ * @param context Selected built context.
232
+ * @param onOperation Complete registry operation.
233
+ * @returns Tracked operation completion.
234
+ */
235
+ admitServiceRegistryOperation(context: BoundedContext, onOperation: () => Promise<void>): Promise<void>;
236
+ /**
237
+ * Registers an entered shared replay through its complete callback.
238
+ *
239
+ * @param context Selected Bounded Context.
240
+ * @param onReplay Complete replay callback.
241
+ * @returns Completion of the captured callback.
242
+ */
243
+ trackReplay(context: BoundedContext, onReplay: () => Promise<void>): Promise<void>;
222
244
  /**
223
245
  * Resolves an original or Bounded Context-issued copy-safe repository view.
224
246
  *
@@ -248,14 +270,12 @@ interface BoundedContextAccess {
248
270
  */
249
271
  isBuilder(value: unknown): value is BoundedContextBuilder;
250
272
  /**
251
- * Builds a registered context builder with supplied default storage.
273
+ * Builds a registered context builder using the configured environment.
252
274
  *
253
275
  * @param builder Registered builder to build.
254
- * @param defaultStorageFactory Storage used when the builder has none.
255
- * @param defaultAi AI registry used when the builder has none.
256
276
  * @returns Promise resolving to a bounded context.
257
277
  */
258
- build(builder: BoundedContextBuilder, defaultStorageFactory: StorageFactory, defaultAi?: AiRegistry): Promise<BoundedContext>;
278
+ build(builder: BoundedContextBuilder): Promise<BoundedContext>;
259
279
  /**
260
280
  * Subscribes to a public event type on a built context.
261
281
  *
@@ -361,6 +381,10 @@ interface BoundedContextAssembly {
361
381
  * Immutable context metadata.
362
382
  */
363
383
  readonly snapshot: BoundedContextSnapshot;
384
+ /**
385
+ * Effective live tenant membership index.
386
+ */
387
+ readonly tenantIndex: TenantIndex;
364
388
  /**
365
389
  * Command dispatch for this context.
366
390
  */
@@ -414,11 +438,43 @@ interface BoundedContextAssembly {
414
438
  */
415
439
  readonly token: FrameworkConstructionToken;
416
440
  }
441
+ /**
442
+ * Explicit preparation operations for one built Bounded Context.
443
+ */
444
+ export interface BoundedContextRuntime {
445
+ /**
446
+ * Creates declared storage structures for current or selected tenants.
447
+ * With no IDs, a multitenant context pages its current index; a single-tenant
448
+ * context prepares its neutral destination. Database-backed providers require
449
+ * an existing database; this method does not provision one.
450
+ * @param tenantIds Optional registered complete tenant identities.
451
+ * @returns Completion after required structures are ready; malformed IDs reject the promise.
452
+ */
453
+ createStorageStructures(...tenantIds: TenantId[]): Promise<void>;
454
+ /**
455
+ * Checks declared structures without creating them.
456
+ * With no IDs, a multitenant context pages its current index; a single-tenant
457
+ * context checks its neutral destination. Database-backed providers require
458
+ * an existing database; this method does not provision one.
459
+ * @param tenantIds Optional registered complete tenant identities.
460
+ * @returns Completion after read-only compatibility checks; malformed IDs reject the promise.
461
+ */
462
+ checkStructureCompatibility(...tenantIds: TenantId[]): Promise<void>;
463
+ /**
464
+ * Starts the first shared subscription registry pass without tenant structures.
465
+ * @returns Completion after initial monitoring is ready.
466
+ */
467
+ startSubscriptionMonitoring(): Promise<void>;
468
+ }
417
469
  /**
418
470
  * Represents a built bounded context and its command, event, repository, and read-side resources.
419
471
  */
420
472
  export declare class BoundedContext {
421
473
  #private;
474
+ /**
475
+ * Explicit storage and subscription preparation for this built context.
476
+ */
477
+ readonly runtime: BoundedContextRuntime;
422
478
  /**
423
479
  * Creates a Bounded Context from its prepared framework services.
424
480
  *
@@ -457,6 +513,12 @@ export declare class BoundedContext {
457
513
  * @returns Returns true when the context is multitenant.
458
514
  */
459
515
  get isMultitenant(): boolean;
516
+ /**
517
+ * Returns the live index configured for this Bounded Context.
518
+ *
519
+ * @returns The effective configured index.
520
+ */
521
+ get tenantIndex(): TenantIndex;
460
522
  /**
461
523
  * Returns a copy-safe specification used to build this context.
462
524
  *
@@ -518,7 +580,7 @@ export declare class BoundedContext {
518
580
  * - single-tenant contexts reject `tenantId`;
519
581
  * - multitenant contexts require the exact non-blank `tenantId`;
520
582
  * - process-local sequential execution on the same EventBus runtime queue as
521
- * live event intake and stored redispatch.
583
+ * live event intake.
522
584
  *
523
585
  * Unsupported boundary:
524
586
  * - Delivery jobs, schedulers, inbox lifecycle, retries, and transport
@@ -530,14 +592,8 @@ export declare class BoundedContext {
530
592
  */
531
593
  catchUpReadSide(options?: ReadCatchUpOptions): Promise<ReadCatchUpResult>;
532
594
  /**
533
- * Closes this context's buses, Stand, and repository storage and runtime bindings.
534
- *
535
- * Close is idempotent and returns the same close outcome on repeated calls.
536
- * The context attempts every close hook; when any hook fails, the
537
- * returned promise rejects with an `AggregateError` after the remaining hooks
538
- * have also been attempted.
539
- *
540
- * @returns A promise that settles after all resources close.
595
+ * Closes this context's buses, Stand, repository storage, and runtime bindings.
596
+ * @returns Completion or an aggregate of close failures.
541
597
  */
542
598
  close(): Promise<void>;
543
599
  }
@@ -553,11 +609,24 @@ export declare const boundedContextAccess: BoundedContextAccess;
553
609
  *
554
610
  * @typeParam EntityType The Entity class added to a Bounded Context builder.
555
611
  */
556
- export type GeneratedRepositoryOptions<EntityType extends RepositoryEntityType & ConcreteRepositoryEntityType<EntityType>> = Readonly<Pick<RepositoryOptions<EntityType>, "commandRouting" | "eventRouting" | "stateUpdateRouting" | "stringifierRegistry" | "agentCodeRevision" | "ai">> & (RepositoryOptions<EntityType> extends {
612
+ export type GeneratedRepositoryOptions<EntityType extends RepositoryEntityType & ConcreteRepositoryEntityType<EntityType>> = Readonly<Pick<RepositoryOptions<EntityType>, "commandRouting" | "eventRouting" | "stateUpdateRouting" | "stringifierRegistry" | "ai">> & (RepositoryOptions<EntityType> extends {
557
613
  readonly onCreate: infer Callback;
558
614
  } ? {
559
615
  readonly onCreate: Callback;
560
616
  } : Pick<RepositoryOptions<EntityType>, "onCreate">);
617
+ /**
618
+ * Selects which initialization operations build awaits before returning.
619
+ */
620
+ export interface BoundedContextBuildOptions {
621
+ /**
622
+ * Defers model structure preparation until a valid first input when false.
623
+ */
624
+ readonly createStorageStructures?: boolean;
625
+ /**
626
+ * Defers the first subscription pass until a valid first input when false.
627
+ */
628
+ readonly startSubscriptionMonitoring?: boolean;
629
+ }
561
630
  /**
562
631
  * Assembles a {@link BoundedContext} from repositories and dispatchers.
563
632
  */
@@ -628,7 +697,7 @@ export declare class BoundedContextBuilder {
628
697
  *
629
698
  * @param dispatcher Raw command dispatcher, or an `AbstractCommander` instance.
630
699
  * A standalone commander requires generated receiver metadata and therefore
631
- * this builder's `buildAsync()` path. It installs its Command and Event sides
700
+ * this builder's `build()` path. It installs its Command and Event sides
632
701
  * exactly once.
633
702
  *
634
703
  * @returns This builder for further configuration.
@@ -645,7 +714,7 @@ export declare class BoundedContextBuilder {
645
714
  * Adds an event dispatcher to the context being built.
646
715
  *
647
716
  * @param dispatcher Raw event dispatcher, or a standalone reactor/subscriber.
648
- * Standalone receivers require generated receiver metadata and `buildAsync()`.
717
+ * Standalone receivers require generated receiver metadata and `build()`.
649
718
  *
650
719
  * @returns This builder for further configuration.
651
720
  */
@@ -654,7 +723,7 @@ export declare class BoundedContextBuilder {
654
723
  * Adds a generated standalone command assignee.
655
724
  *
656
725
  * The registered instance is matched by exact constructor to generated
657
- * receiver metadata when `buildAsync()` assembles the context.
726
+ * receiver metadata when `build()` assembles the context.
658
727
  *
659
728
  * @param assignee Generated standalone assignee instance.
660
729
  * @returns This builder for further configuration.
@@ -668,12 +737,12 @@ export declare class BoundedContextBuilder {
668
737
  */
669
738
  removeEventDispatcher(dispatcher: EventDispatcher): this;
670
739
  /**
671
- * Sets a storage factory for event, repository-state, and Stand storage.
740
+ * Sets a live tenant index for this Bounded Context.
672
741
  *
673
- * @param storageFactory Creates the context's persistent storage.
674
- * @returns Returns this builder for further configuration.
742
+ * @param tenantIndex Application membership index.
743
+ * @returns This builder.
675
744
  */
676
- withStorageFactory(storageFactory: StorageFactory): this;
745
+ withTenantIndex(tenantIndex: TenantIndex): this;
677
746
  /**
678
747
  * Sets the application AI registry before this Bounded Context is built.
679
748
  *
@@ -700,13 +769,6 @@ export declare class BoundedContextBuilder {
700
769
  * @returns Returns this builder for further configuration.
701
770
  */
702
771
  withSubscriptionRegistry(registry: StandSubscriptionRegistry): this;
703
- /**
704
- * Sets how Entity Inbox targets are assigned to shards.
705
- *
706
- * @param strategy Selects the durable shard for Aggregate and Process Manager targets.
707
- * @returns Returns this builder for further configuration.
708
- */
709
- withDeliveryStrategy(strategy: DeliveryStrategy): this;
710
772
  /**
711
773
  * Sets a trusted compiled application root for generated handler metadata.
712
774
  *
@@ -715,22 +777,12 @@ export declare class BoundedContextBuilder {
715
777
  */
716
778
  withGeneratedRegistryRoot(root: string | URL): this;
717
779
  /**
718
- * Builds a context from explicitly added repositories and dispatchers.
719
- *
720
- * @returns Returns the built context.
721
- */
722
- build(): BoundedContext;
723
- /**
724
- * Builds a context after loading generated metadata for added entity classes
725
- * and registered standalone handlers.
726
- *
727
- * Standalone assignees, commanders, reactors, and subscribers require this
728
- * asynchronous path so their exact constructors can be matched to generated
729
- * receiver metadata.
780
+ * Builds a context after loading generated handlers and preparing runtime resources.
730
781
  *
731
- * @returns Resolves to the built context.
782
+ * @param options Independent eager structure and subscription timing choices.
783
+ * @returns The built context after requested initialization and integration are ready.
732
784
  */
733
- buildAsync(): Promise<BoundedContext>;
785
+ build(options?: BoundedContextBuildOptions): Promise<BoundedContext>;
734
786
  /**
735
787
  * Creates the domain EventStore using this context's storage mode.
736
788
  *
@@ -1 +1 @@
1
- {"version":3,"file":"bounded-context.d.ts","sourceRoot":"","sources":["../../src/context/bounded-context.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU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