@reventlessdev/reventless-infra 3.0.0-alpha.97 → 3.0.0-alpha.98

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # 3.0.0-alpha.98 (2026-07-12)
7
+
8
+ ### Features
9
+
10
+ * **admin:** event-source the UI fragment registry as admin DCB slices ([711581e](https://github.com/ReventlessDev/reventless-core/commit/711581e77c626e7d0fc35db8ec351f62a70bd8f2))
11
+ * **admin:** make the API fragment registry per-target (Domain | Platform) ([30491a9](https://github.com/ReventlessDev/reventless-core/commit/30491a9e14b4236c98cc756efb6de68ede1e77d7))
12
+
13
+
6
14
  # 3.0.0-alpha.97 (2026-07-11)
7
15
 
8
16
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reventlessdev/reventless-infra",
3
- "version": "3.0.0-alpha.97",
3
+ "version": "3.0.0-alpha.98",
4
4
  "description": "Infrastructure types for Reventless framework",
5
5
  "license": "Apache-2.0",
6
6
  "jest": {
@@ -18,7 +18,7 @@
18
18
  "uuid": "^13.0.0",
19
19
  "@reventlessdev/rescript-effect": "0.1.0-alpha.27",
20
20
  "@reventlessdev/rescript-pulumi-pulumi": "2.3.0-alpha.15",
21
- "@reventlessdev/reventless-spec": "3.0.0-alpha.75",
21
+ "@reventlessdev/reventless-spec": "3.0.0-alpha.76",
22
22
  "@reventlessdev/rescript-uuid": "1.1.0-alpha.15"
23
23
  },
24
24
  "devDependencies": {
@@ -18,6 +18,12 @@ type command =
18
18
  | ConnectPlugin(pluginDefinition)
19
19
  | DisconnectPlugin
20
20
  | ForwardCommand(forwardCommand)
21
+ // Registers this plugin's UI-fragment manifest with the admin UiFragmentRegistry slice.
22
+ // Sent by the plugin's connect extension alongside ConnectPlugin (see
23
+ // docs/plans/event-sourced-fragment-registries.md). Routed by the admin EP's UI-fragment
24
+ // mapping to UiFragmentRegistry.RegisterUiFragment; DisconnectPlugin drives the matching
25
+ // DeregisterUiFragment. Decoupling the manifest from the Plugin aggregate's lifecycle.
26
+ | RegisterUiFragment(uiFragmentManifest)
21
27
  // Deploy-time re-detect: fired once by `deployPlugin` on every (re)deploy. Unlike
22
28
  // a keep-alive `Heartbeat`, this forces the connect handshake to run again for an
23
29
  // already-connected version so its current definition (e.g. a newly added `kind`,
@@ -23,6 +23,10 @@ let commandSchema = S.union([
23
23
  TAG: "ForwardCommand",
24
24
  _0: s.m(forwardCommandSchema)
25
25
  })),
26
+ S.schema(s => ({
27
+ TAG: "RegisterUiFragment",
28
+ _0: s.m(Plugin$Reventless.uiFragmentManifestSchema)
29
+ })),
26
30
  S.schema(s => ({
27
31
  TAG: "RedetectPlugin",
28
32
  _0: s.m(S.int)
@@ -105,6 +109,8 @@ let extensionProtocolSchema = Plugin$Reventless.extensionProtocolSchema;
105
109
 
106
110
  let apiSchemaFragmentSchema = Plugin$Reventless.apiSchemaFragmentSchema;
107
111
 
112
+ let apiTargetSchema = Plugin$Reventless.apiTargetSchema;
113
+
108
114
  let apiSchemaFragmentOptionSchema = Plugin$Reventless.apiSchemaFragmentOptionSchema;
109
115
 
110
116
  let dcbEventLogOptionSchema = Plugin$Reventless.dcbEventLogOptionSchema;
@@ -173,6 +179,7 @@ export {
173
179
  dcbEventLogDefinitionSchema,
174
180
  extensionProtocolSchema,
175
181
  apiSchemaFragmentSchema,
182
+ apiTargetSchema,
176
183
  apiSchemaFragmentOptionSchema,
177
184
  dcbEventLogOptionSchema,
178
185
  stringOptionSchema,