@fabricorg/platform 1.0.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/CHANGELOG.md +75 -0
  2. package/README.md +20 -7
  3. package/dist/adapters/index.cjs +18 -6
  4. package/dist/adapters/index.d.cts +76 -1
  5. package/dist/adapters/index.d.ts +76 -1
  6. package/dist/adapters/index.js +1 -1
  7. package/dist/{chunk-YZKUEC2J.cjs → chunk-3BGFHSSK.cjs} +4 -4
  8. package/dist/{chunk-YZKUEC2J.cjs.map → chunk-3BGFHSSK.cjs.map} +1 -1
  9. package/dist/{chunk-35LADVKK.cjs → chunk-3UBX7KQM.cjs} +65 -13
  10. package/dist/chunk-3UBX7KQM.cjs.map +1 -0
  11. package/dist/{chunk-T5ESIJ4K.js → chunk-63MYMAEX.js} +57 -5
  12. package/dist/chunk-63MYMAEX.js.map +1 -0
  13. package/dist/{chunk-OWSSGFNY.js → chunk-7GAWSUOG.js} +22 -3
  14. package/dist/chunk-7GAWSUOG.js.map +1 -0
  15. package/dist/{chunk-IFMZPLM4.js → chunk-AWP6JDD5.js} +3 -3
  16. package/dist/{chunk-IFMZPLM4.js.map → chunk-AWP6JDD5.js.map} +1 -1
  17. package/dist/{chunk-M5FGWXT3.cjs → chunk-CXR6KEKQ.cjs} +11 -10
  18. package/dist/chunk-CXR6KEKQ.cjs.map +1 -0
  19. package/dist/{chunk-3ZW5USXF.js → chunk-DTY3CHQZ.js} +24 -5
  20. package/dist/chunk-DTY3CHQZ.js.map +1 -0
  21. package/dist/chunk-IFW43ELT.cjs +331 -0
  22. package/dist/chunk-IFW43ELT.cjs.map +1 -0
  23. package/dist/{chunk-J5LS5BSI.js → chunk-JG35DT2G.js} +11 -10
  24. package/dist/chunk-JG35DT2G.js.map +1 -0
  25. package/dist/{chunk-53VEUYCS.cjs → chunk-LDPBQ72C.cjs} +2 -2
  26. package/dist/chunk-LDPBQ72C.cjs.map +1 -0
  27. package/dist/{chunk-CRAGTJ3B.js → chunk-LZNXUTJQ.js} +4 -3
  28. package/dist/chunk-LZNXUTJQ.js.map +1 -0
  29. package/dist/{chunk-NPVIFZQV.cjs → chunk-N2BBUKCX.cjs} +26 -4
  30. package/dist/chunk-N2BBUKCX.cjs.map +1 -0
  31. package/dist/{chunk-CQSA3BII.js → chunk-NHGBTPPE.js} +2 -2
  32. package/dist/chunk-NHGBTPPE.js.map +1 -0
  33. package/dist/{chunk-ANPJYXBK.cjs → chunk-TBS2S5AX.cjs} +8 -2
  34. package/dist/chunk-TBS2S5AX.cjs.map +1 -0
  35. package/dist/{chunk-JFMNLJLY.cjs → chunk-UITRHBZH.cjs} +7 -6
  36. package/dist/chunk-UITRHBZH.cjs.map +1 -0
  37. package/dist/{chunk-WAI4UNWQ.cjs → chunk-WI7CWNYI.cjs} +22 -2
  38. package/dist/chunk-WI7CWNYI.cjs.map +1 -0
  39. package/dist/{chunk-3OWMPDBD.js → chunk-Y2PJLRIY.js} +8 -2
  40. package/dist/chunk-Y2PJLRIY.js.map +1 -0
  41. package/dist/chunk-ZAEVQSB5.js +326 -0
  42. package/dist/chunk-ZAEVQSB5.js.map +1 -0
  43. package/dist/events/index.cjs +2 -2
  44. package/dist/events/index.d.cts +7 -0
  45. package/dist/events/index.d.ts +7 -0
  46. package/dist/events/index.js +1 -1
  47. package/dist/governance/index.cjs +4 -4
  48. package/dist/governance/index.d.cts +4 -0
  49. package/dist/governance/index.d.ts +4 -0
  50. package/dist/governance/index.js +1 -1
  51. package/dist/index.cjs +64 -44
  52. package/dist/index.d.cts +4 -4
  53. package/dist/index.d.ts +4 -4
  54. package/dist/index.js +9 -9
  55. package/dist/manifest/index.cjs +11 -11
  56. package/dist/manifest/index.d.cts +1 -0
  57. package/dist/manifest/index.d.ts +1 -0
  58. package/dist/manifest/index.js +5 -5
  59. package/dist/modules/index.cjs +12 -12
  60. package/dist/modules/index.d.cts +33 -1
  61. package/dist/modules/index.d.ts +33 -1
  62. package/dist/modules/index.js +4 -4
  63. package/dist/objects/index.cjs +8 -4
  64. package/dist/objects/index.d.cts +11 -1
  65. package/dist/objects/index.d.ts +11 -1
  66. package/dist/objects/index.js +1 -1
  67. package/dist/projections/index.cjs +5 -5
  68. package/dist/projections/index.d.cts +9 -1
  69. package/dist/projections/index.d.ts +9 -1
  70. package/dist/projections/index.js +1 -1
  71. package/dist/state-machines/index.cjs +7 -3
  72. package/dist/state-machines/index.d.cts +10 -1
  73. package/dist/state-machines/index.d.ts +10 -1
  74. package/dist/state-machines/index.js +1 -1
  75. package/dist/testing/index.cjs +5 -5
  76. package/dist/testing/index.js +2 -2
  77. package/package.json +1 -1
  78. package/dist/chunk-35LADVKK.cjs.map +0 -1
  79. package/dist/chunk-3OWMPDBD.js.map +0 -1
  80. package/dist/chunk-3ZW5USXF.js.map +0 -1
  81. package/dist/chunk-53VEUYCS.cjs.map +0 -1
  82. package/dist/chunk-ANPJYXBK.cjs.map +0 -1
  83. package/dist/chunk-CBY6GRJP.cjs +0 -140
  84. package/dist/chunk-CBY6GRJP.cjs.map +0 -1
  85. package/dist/chunk-CQSA3BII.js.map +0 -1
  86. package/dist/chunk-CRAGTJ3B.js.map +0 -1
  87. package/dist/chunk-J5LS5BSI.js.map +0 -1
  88. package/dist/chunk-JFMNLJLY.cjs.map +0 -1
  89. package/dist/chunk-M5FGWXT3.cjs.map +0 -1
  90. package/dist/chunk-NETLRKDS.js +0 -136
  91. package/dist/chunk-NETLRKDS.js.map +0 -1
  92. package/dist/chunk-NPVIFZQV.cjs.map +0 -1
  93. package/dist/chunk-OWSSGFNY.js.map +0 -1
  94. package/dist/chunk-T5ESIJ4K.js.map +0 -1
  95. package/dist/chunk-WAI4UNWQ.cjs.map +0 -1
package/dist/index.cjs CHANGED
@@ -1,90 +1,94 @@
1
1
  'use strict';
2
2
 
3
- var chunkJFMNLJLY_cjs = require('./chunk-JFMNLJLY.cjs');
4
- var chunk35LADVKK_cjs = require('./chunk-35LADVKK.cjs');
5
- var chunkCBY6GRJP_cjs = require('./chunk-CBY6GRJP.cjs');
3
+ var chunkUITRHBZH_cjs = require('./chunk-UITRHBZH.cjs');
4
+ var chunk3UBX7KQM_cjs = require('./chunk-3UBX7KQM.cjs');
5
+ var chunkIFW43ELT_cjs = require('./chunk-IFW43ELT.cjs');
6
6
  var chunkVZ6C4LXC_cjs = require('./chunk-VZ6C4LXC.cjs');
7
7
  var chunkX3GHYMAJ_cjs = require('./chunk-X3GHYMAJ.cjs');
8
- var chunkM5FGWXT3_cjs = require('./chunk-M5FGWXT3.cjs');
9
- var chunkWAI4UNWQ_cjs = require('./chunk-WAI4UNWQ.cjs');
10
- var chunkYZKUEC2J_cjs = require('./chunk-YZKUEC2J.cjs');
8
+ var chunkCXR6KEKQ_cjs = require('./chunk-CXR6KEKQ.cjs');
9
+ var chunkWI7CWNYI_cjs = require('./chunk-WI7CWNYI.cjs');
10
+ var chunk3BGFHSSK_cjs = require('./chunk-3BGFHSSK.cjs');
11
11
  var chunkBFQNKQJE_cjs = require('./chunk-BFQNKQJE.cjs');
12
- var chunkNPVIFZQV_cjs = require('./chunk-NPVIFZQV.cjs');
12
+ var chunkN2BBUKCX_cjs = require('./chunk-N2BBUKCX.cjs');
13
13
  var chunkF3E5SXPN_cjs = require('./chunk-F3E5SXPN.cjs');
14
- var chunk53VEUYCS_cjs = require('./chunk-53VEUYCS.cjs');
14
+ var chunkLDPBQ72C_cjs = require('./chunk-LDPBQ72C.cjs');
15
15
  require('./chunk-PG5LYTUX.cjs');
16
- var chunkANPJYXBK_cjs = require('./chunk-ANPJYXBK.cjs');
16
+ var chunkTBS2S5AX_cjs = require('./chunk-TBS2S5AX.cjs');
17
17
  var chunkLZSE6QGQ_cjs = require('./chunk-LZSE6QGQ.cjs');
18
18
 
19
19
 
20
20
 
21
21
  Object.defineProperty(exports, "MODULE_MANIFEST_VERSION", {
22
22
  enumerable: true,
23
- get: function () { return chunkJFMNLJLY_cjs.MODULE_MANIFEST_VERSION; }
23
+ get: function () { return chunkUITRHBZH_cjs.MODULE_MANIFEST_VERSION; }
24
24
  });
25
25
  Object.defineProperty(exports, "exportModuleManifest", {
26
26
  enumerable: true,
27
- get: function () { return chunkJFMNLJLY_cjs.exportModuleManifest; }
27
+ get: function () { return chunkUITRHBZH_cjs.exportModuleManifest; }
28
28
  });
29
29
  Object.defineProperty(exports, "exportModuleManifestBundle", {
30
30
  enumerable: true,
31
- get: function () { return chunkJFMNLJLY_cjs.exportModuleManifestBundle; }
31
+ get: function () { return chunkUITRHBZH_cjs.exportModuleManifestBundle; }
32
32
  });
33
33
  Object.defineProperty(exports, "isJsonSchemaExportableValidator", {
34
34
  enumerable: true,
35
- get: function () { return chunkJFMNLJLY_cjs.isJsonSchemaExportableValidator; }
35
+ get: function () { return chunkUITRHBZH_cjs.isJsonSchemaExportableValidator; }
36
36
  });
37
37
  Object.defineProperty(exports, "normalizeModuleManifest", {
38
38
  enumerable: true,
39
- get: function () { return chunkJFMNLJLY_cjs.normalizeModuleManifest; }
39
+ get: function () { return chunkUITRHBZH_cjs.normalizeModuleManifest; }
40
40
  });
41
41
  Object.defineProperty(exports, "normalizeModuleManifestBundle", {
42
42
  enumerable: true,
43
- get: function () { return chunkJFMNLJLY_cjs.normalizeModuleManifestBundle; }
43
+ get: function () { return chunkUITRHBZH_cjs.normalizeModuleManifestBundle; }
44
44
  });
45
45
  Object.defineProperty(exports, "createModuleRegistry", {
46
46
  enumerable: true,
47
- get: function () { return chunk35LADVKK_cjs.createModuleRegistry; }
47
+ get: function () { return chunk3UBX7KQM_cjs.createModuleRegistry; }
48
48
  });
49
49
  Object.defineProperty(exports, "getEventTypeName", {
50
50
  enumerable: true,
51
- get: function () { return chunk35LADVKK_cjs.getEventTypeName; }
51
+ get: function () { return chunk3UBX7KQM_cjs.getEventTypeName; }
52
52
  });
53
53
  Object.defineProperty(exports, "getModuleDependencyNamespace", {
54
54
  enumerable: true,
55
- get: function () { return chunk35LADVKK_cjs.getModuleDependencyNamespace; }
55
+ get: function () { return chunk3UBX7KQM_cjs.getModuleDependencyNamespace; }
56
56
  });
57
57
  Object.defineProperty(exports, "getObjectTypeName", {
58
58
  enumerable: true,
59
- get: function () { return chunk35LADVKK_cjs.getObjectTypeName; }
59
+ get: function () { return chunk3UBX7KQM_cjs.getObjectTypeName; }
60
60
  });
61
61
  Object.defineProperty(exports, "registerFabricModule", {
62
62
  enumerable: true,
63
- get: function () { return chunk35LADVKK_cjs.registerFabricModule; }
63
+ get: function () { return chunk3UBX7KQM_cjs.registerFabricModule; }
64
64
  });
65
65
  Object.defineProperty(exports, "registerFabricModules", {
66
66
  enumerable: true,
67
- get: function () { return chunk35LADVKK_cjs.registerFabricModules; }
67
+ get: function () { return chunk3UBX7KQM_cjs.registerFabricModules; }
68
68
  });
69
69
  Object.defineProperty(exports, "validateAndOrderFabricModules", {
70
70
  enumerable: true,
71
- get: function () { return chunk35LADVKK_cjs.validateAndOrderFabricModules; }
71
+ get: function () { return chunk3UBX7KQM_cjs.validateAndOrderFabricModules; }
72
72
  });
73
73
  Object.defineProperty(exports, "validateModuleNamespace", {
74
74
  enumerable: true,
75
- get: function () { return chunk35LADVKK_cjs.validateModuleNamespace; }
75
+ get: function () { return chunk3UBX7KQM_cjs.validateModuleNamespace; }
76
76
  });
77
77
  Object.defineProperty(exports, "assertObjectType", {
78
78
  enumerable: true,
79
- get: function () { return chunkCBY6GRJP_cjs.assertObjectType; }
79
+ get: function () { return chunkIFW43ELT_cjs.assertObjectType; }
80
80
  });
81
81
  Object.defineProperty(exports, "assertPortableJsonSchema", {
82
82
  enumerable: true,
83
- get: function () { return chunkCBY6GRJP_cjs.assertPortableJsonSchema; }
83
+ get: function () { return chunkIFW43ELT_cjs.assertPortableJsonSchema; }
84
84
  });
85
85
  Object.defineProperty(exports, "createObjectTypeRegistry", {
86
86
  enumerable: true,
87
- get: function () { return chunkCBY6GRJP_cjs.createObjectTypeRegistry; }
87
+ get: function () { return chunkIFW43ELT_cjs.createObjectTypeRegistry; }
88
+ });
89
+ Object.defineProperty(exports, "validatePortableJson", {
90
+ enumerable: true,
91
+ get: function () { return chunkIFW43ELT_cjs.validatePortableJson; }
88
92
  });
89
93
  Object.defineProperty(exports, "aggregatePolicyOutcomes", {
90
94
  enumerable: true,
@@ -156,39 +160,43 @@ Object.defineProperty(exports, "stableChecksum", {
156
160
  });
157
161
  Object.defineProperty(exports, "createViewRegistry", {
158
162
  enumerable: true,
159
- get: function () { return chunkM5FGWXT3_cjs.createViewRegistry; }
163
+ get: function () { return chunkCXR6KEKQ_cjs.createViewRegistry; }
160
164
  });
161
165
  Object.defineProperty(exports, "replayEvents", {
162
166
  enumerable: true,
163
- get: function () { return chunkM5FGWXT3_cjs.replayEvents; }
167
+ get: function () { return chunkCXR6KEKQ_cjs.replayEvents; }
164
168
  });
165
169
  Object.defineProperty(exports, "replayView", {
166
170
  enumerable: true,
167
- get: function () { return chunkM5FGWXT3_cjs.replayView; }
171
+ get: function () { return chunkCXR6KEKQ_cjs.replayView; }
168
172
  });
169
173
  Object.defineProperty(exports, "viewContractKey", {
170
174
  enumerable: true,
171
- get: function () { return chunkM5FGWXT3_cjs.viewContractKey; }
175
+ get: function () { return chunkCXR6KEKQ_cjs.viewContractKey; }
172
176
  });
173
177
  Object.defineProperty(exports, "createStateMachineRegistry", {
174
178
  enumerable: true,
175
- get: function () { return chunkWAI4UNWQ_cjs.createStateMachineRegistry; }
179
+ get: function () { return chunkWI7CWNYI_cjs.createStateMachineRegistry; }
180
+ });
181
+ Object.defineProperty(exports, "evaluateStateMachineTransition", {
182
+ enumerable: true,
183
+ get: function () { return chunkWI7CWNYI_cjs.evaluateStateMachineTransition; }
176
184
  });
177
185
  Object.defineProperty(exports, "validateStateMachineTransition", {
178
186
  enumerable: true,
179
- get: function () { return chunkWAI4UNWQ_cjs.validateStateMachineTransition; }
187
+ get: function () { return chunkWI7CWNYI_cjs.validateStateMachineTransition; }
180
188
  });
181
189
  Object.defineProperty(exports, "createDeterministicIdFactory", {
182
190
  enumerable: true,
183
- get: function () { return chunkYZKUEC2J_cjs.createDeterministicIdFactory; }
191
+ get: function () { return chunk3BGFHSSK_cjs.createDeterministicIdFactory; }
184
192
  });
185
193
  Object.defineProperty(exports, "createFakeActionContext", {
186
194
  enumerable: true,
187
- get: function () { return chunkYZKUEC2J_cjs.createFakeActionContext; }
195
+ get: function () { return chunk3BGFHSSK_cjs.createFakeActionContext; }
188
196
  });
189
197
  Object.defineProperty(exports, "createInMemoryAdapterRegistry", {
190
198
  enumerable: true,
191
- get: function () { return chunkYZKUEC2J_cjs.createInMemoryAdapterRegistry; }
199
+ get: function () { return chunk3BGFHSSK_cjs.createInMemoryAdapterRegistry; }
192
200
  });
193
201
  Object.defineProperty(exports, "ACTOR_TYPES", {
194
202
  enumerable: true,
@@ -212,23 +220,35 @@ Object.defineProperty(exports, "isActorType", {
212
220
  });
213
221
  Object.defineProperty(exports, "AdapterRegistry", {
214
222
  enumerable: true,
215
- get: function () { return chunkNPVIFZQV_cjs.AdapterRegistry; }
223
+ get: function () { return chunkN2BBUKCX_cjs.AdapterRegistry; }
216
224
  });
217
225
  Object.defineProperty(exports, "MissingAdapterRegistrationError", {
218
226
  enumerable: true,
219
- get: function () { return chunkNPVIFZQV_cjs.MissingAdapterRegistrationError; }
227
+ get: function () { return chunkN2BBUKCX_cjs.MissingAdapterRegistrationError; }
228
+ });
229
+ Object.defineProperty(exports, "assertAdapterOutcomeConsistency", {
230
+ enumerable: true,
231
+ get: function () { return chunkN2BBUKCX_cjs.assertAdapterOutcomeConsistency; }
232
+ });
233
+ Object.defineProperty(exports, "classifyAdapterOutcome", {
234
+ enumerable: true,
235
+ get: function () { return chunkN2BBUKCX_cjs.classifyAdapterOutcome; }
220
236
  });
221
237
  Object.defineProperty(exports, "executeWithAdapterRetry", {
222
238
  enumerable: true,
223
- get: function () { return chunkNPVIFZQV_cjs.executeWithAdapterRetry; }
239
+ get: function () { return chunkN2BBUKCX_cjs.executeWithAdapterRetry; }
224
240
  });
225
241
  Object.defineProperty(exports, "getRetryDelayMs", {
226
242
  enumerable: true,
227
- get: function () { return chunkNPVIFZQV_cjs.getRetryDelayMs; }
243
+ get: function () { return chunkN2BBUKCX_cjs.getRetryDelayMs; }
228
244
  });
229
245
  Object.defineProperty(exports, "resolveAdapterRetryPolicy", {
230
246
  enumerable: true,
231
- get: function () { return chunkNPVIFZQV_cjs.resolveAdapterRetryPolicy; }
247
+ get: function () { return chunkN2BBUKCX_cjs.resolveAdapterRetryPolicy; }
248
+ });
249
+ Object.defineProperty(exports, "shouldRetryAdapterOutcome", {
250
+ enumerable: true,
251
+ get: function () { return chunkN2BBUKCX_cjs.shouldRetryAdapterOutcome; }
232
252
  });
233
253
  Object.defineProperty(exports, "AgentActionPolicyRegistry", {
234
254
  enumerable: true,
@@ -236,19 +256,19 @@ Object.defineProperty(exports, "AgentActionPolicyRegistry", {
236
256
  });
237
257
  Object.defineProperty(exports, "createEventContractRegistry", {
238
258
  enumerable: true,
239
- get: function () { return chunk53VEUYCS_cjs.createEventContractRegistry; }
259
+ get: function () { return chunkLDPBQ72C_cjs.createEventContractRegistry; }
240
260
  });
241
261
  Object.defineProperty(exports, "FABRIC_GOVERNANCE_CONTRACT_VERSION", {
242
262
  enumerable: true,
243
- get: function () { return chunkANPJYXBK_cjs.FABRIC_GOVERNANCE_CONTRACT_VERSION; }
263
+ get: function () { return chunkTBS2S5AX_cjs.FABRIC_GOVERNANCE_CONTRACT_VERSION; }
244
264
  });
245
265
  Object.defineProperty(exports, "assertGovernanceRuntimeEvidence", {
246
266
  enumerable: true,
247
- get: function () { return chunkANPJYXBK_cjs.assertGovernanceRuntimeEvidence; }
267
+ get: function () { return chunkTBS2S5AX_cjs.assertGovernanceRuntimeEvidence; }
248
268
  });
249
269
  Object.defineProperty(exports, "assertMutationGovernanceContext", {
250
270
  enumerable: true,
251
- get: function () { return chunkANPJYXBK_cjs.assertMutationGovernanceContext; }
271
+ get: function () { return chunkTBS2S5AX_cjs.assertMutationGovernanceContext; }
252
272
  });
253
273
  Object.defineProperty(exports, "FABRIC_ID_PREFIXES", {
254
274
  enumerable: true,
package/dist/index.d.cts CHANGED
@@ -1,12 +1,12 @@
1
1
  export { ACTOR_TYPES, ActionCompletionMode, ActionConnectivity, ActionConsistency, ActionContext, ActionDataSensitivity, ActionDefinition, ActionExecutionContract, ActionHandler, ActionId, ActionIdempotencyStance, ActionRegistry, ActionResult, ActionStateMachineBinding, ActionStatus, ActorType, AdapterStep, AdapterStepRetryPolicy, AuthorityMoment, FabricRuntimeServices, SagaChildActionInput, SagaCompletion, SagaCompletionEvent, SagaContext, SagaImplementation, SagaRunChild, SchemaParseIssue, SchemaParseResult, SchemaValidator, assertActionId, assertActorType, createActionRegistry, isActorType } from './actions/index.cjs';
2
- export { AdapterAttempt, AdapterCircuitBreakerConfig, AdapterExecutionContext, AdapterExecutionResult, AdapterExecutor, AdapterImplementation, AdapterRegistry, AdapterRetryPolicy, ExecuteWithRetryOptions, MissingAdapterRegistrationError, ResolvedAdapterRetryPolicy, executeWithAdapterRetry, getRetryDelayMs, resolveAdapterRetryPolicy } from './adapters/index.cjs';
2
+ export { AdapterAttempt, AdapterCircuitBreakerConfig, AdapterExecutionContext, AdapterExecutionResult, AdapterExecutor, AdapterImplementation, AdapterOutcomeEvidence, AdapterOutcomeKind, AdapterRegistry, AdapterRetryPolicy, ExecuteWithRetryOptions, MissingAdapterRegistrationError, ResolvedAdapterRetryPolicy, assertAdapterOutcomeConsistency, classifyAdapterOutcome, executeWithAdapterRetry, getRetryDelayMs, resolveAdapterRetryPolicy, shouldRetryAdapterOutcome } from './adapters/index.cjs';
3
3
  export { AssetEventActorType, AssetEventEnvelope, AssetEventSubjectType, AssetEventType, EventContractRegistry, EventProvenance, createEventContractRegistry } from './events/index.cjs';
4
4
  export { FABRIC_ID_PREFIXES, FabricIdPrefix, createFabricId, isFabricId, parseFabricId } from './ids/index.cjs';
5
5
  export { JsonSchemaExportableValidator, MODULE_MANIFEST_VERSION, ModuleManifest, ModuleManifestAction, ModuleManifestActionStateMachine, ModuleManifestActionV1, ModuleManifestAdapterStep, ModuleManifestBundle, ModuleManifestBundleV1, ModuleManifestCodePolicy, ModuleManifestDataPolicy, ModuleManifestEventType, ModuleManifestIdPrefix, ModuleManifestObjectType, ModuleManifestObjectTypeV1, ModuleManifestPolicy, ModuleManifestStateMachine, ModuleManifestStateMachineTransition, ModuleManifestV1, ModuleManifestView, exportModuleManifest, exportModuleManifestBundle, isJsonSchemaExportableValidator, normalizeModuleManifest, normalizeModuleManifestBundle } from './manifest/index.cjs';
6
- export { CapabilityMetadata, CapabilityPortRequirement, CapabilityRequirements, DeclarativeInvariant, EventTypeRegistration, EventTypeRegistrationInput, FabricModule, IdPrefixRegistration, InvariantEnforcement, ModuleDependency, ModuleDependencyInput, ModuleRegistry, ObjectRelationCardinality, ObjectRelationDefinition, ObjectRelationDeleteBehavior, ObjectRelationSemantics, ObjectTypeRegistration, ObjectTypeRegistrationInput, PolicyRegistration, StateMachineRegistration, createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateAndOrderFabricModules, validateModuleNamespace } from './modules/index.cjs';
7
- export { FabricObjectType, JsonPrimitive, JsonValue, ObjectTypeRegistry, PortableJsonSchema, assertObjectType, assertPortableJsonSchema, createObjectTypeRegistry } from './objects/index.cjs';
6
+ export { CapabilityMetadata, CapabilityPortRequirement, CapabilityRequirements, CapabilityWorkflowCompensation, CapabilityWorkflowDeclaration, CapabilityWorkflowTimer, DeclarativeInvariant, EventTypeRegistration, EventTypeRegistrationInput, FabricModule, IdPrefixRegistration, InvariantEnforcement, ModuleDependency, ModuleDependencyInput, ModuleRegistry, ObjectRelationCardinality, ObjectRelationDefinition, ObjectRelationDeleteBehavior, ObjectRelationSemantics, ObjectTypeRegistration, ObjectTypeRegistrationInput, PolicyRegistration, StateMachineRegistration, createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateAndOrderFabricModules, validateModuleNamespace } from './modules/index.cjs';
7
+ export { FabricObjectType, JsonPrimitive, JsonSchemaValidationIssue, JsonValue, ObjectTypeRegistry, PortableJsonSchema, assertObjectType, assertPortableJsonSchema, createObjectTypeRegistry, validatePortableJson } from './objects/index.cjs';
8
8
  export { DataPolicyComparisonOperator, DataPolicyCondition, DataPolicyConditionResult, DataPolicyDefinition, DataPolicyLiteral, DataPolicySource, DataPolicySourceReference, DataPolicyValidationResult, PolicyContext, PolicyCorrectiveAction, PolicyCorrectiveActionBase, PolicyCorrectiveActionKind, PolicyDispatchEvidence, PolicyEvaluationMode, PolicyEvaluationResult, PolicyEvaluator, PolicyFact, PolicyFallbackDefinition, PolicyFallbackTrigger, PolicyGuidance, PolicyGuidanceValidationResult, PolicyId, PolicyInvokeActionCorrectiveAction, PolicyKind, PolicyManualCorrectiveAction, PolicyNavigateCorrectiveAction, PolicyOutcome, PolicyRegistry, RuntimePolicyDefinition, aggregatePolicyOutcomes, assertPolicyId, createPolicyRegistry, evaluatePolicyDefinition, evaluatePolicyDefinitions, evaluateRegisteredPolicies, validateDataPolicyDefinition, validatePolicyGuidance } from './policies/index.cjs';
9
- export { StateClass, StateDefinition, StateMachineDatabaseClient, StateMachineDefinition, StateMachineRegistry, TransitionContext, createStateMachineRegistry, validateStateMachineTransition } from './state-machines/index.cjs';
9
+ export { StateClass, StateDefinition, StateMachineDatabaseClient, StateMachineDefinition, StateMachineRegistry, TransitionContext, createStateMachineRegistry, evaluateStateMachineTransition, validateStateMachineTransition } from './state-machines/index.cjs';
10
10
  export { ReplayEventsOptions, ReplayEventsResult, ReplayScope, ReplaySnapshot, ReplayViewOptions, ReplayWarning, ReplayWarningCode, ReplayableAssetEvent, ViewContract, ViewEventConsumption, ViewRegistry, ViewUsageMetadata, createViewRegistry, replayEvents, replayView, viewContractKey } from './projections/index.cjs';
11
11
  export { ANONYMIZATION_POLICY_VERSION, AnalyticsDataContract, AnalyticsDataContractSource, AnalyticsEligibilityDecision, AnonymizationContext, AnonymizationEngine, AnonymizationFieldMetadata, AnonymizationFieldPolicy, AnonymizationLifecycleEvidence, AnonymizationMetadata, AnonymizationPolicy, AnonymizationResult, AssetEventLike, DataClassificationRule, EvidencePacketLike, FieldRedactor, PLATFORM_PRIVACY_POLICY_VERSION, PlatformDataClass, RedactionMethod, RedactionRule, RetentionRule, anonymizeAssetEventPayload, anonymizeEvidencePacket, anonymizeJsonValue, buildAnonymizationLifecycleEvidence, stableChecksum } from './privacy/index.cjs';
12
12
  export { EvidenceGenerationContext, EvidencePacketEnvelope, EvidencePacketReference, EvidencePacketStatus, EvidencePacketSubject, EvidenceRenderer } from './evidence/index.cjs';
package/dist/index.d.ts CHANGED
@@ -1,12 +1,12 @@
1
1
  export { ACTOR_TYPES, ActionCompletionMode, ActionConnectivity, ActionConsistency, ActionContext, ActionDataSensitivity, ActionDefinition, ActionExecutionContract, ActionHandler, ActionId, ActionIdempotencyStance, ActionRegistry, ActionResult, ActionStateMachineBinding, ActionStatus, ActorType, AdapterStep, AdapterStepRetryPolicy, AuthorityMoment, FabricRuntimeServices, SagaChildActionInput, SagaCompletion, SagaCompletionEvent, SagaContext, SagaImplementation, SagaRunChild, SchemaParseIssue, SchemaParseResult, SchemaValidator, assertActionId, assertActorType, createActionRegistry, isActorType } from './actions/index.js';
2
- export { AdapterAttempt, AdapterCircuitBreakerConfig, AdapterExecutionContext, AdapterExecutionResult, AdapterExecutor, AdapterImplementation, AdapterRegistry, AdapterRetryPolicy, ExecuteWithRetryOptions, MissingAdapterRegistrationError, ResolvedAdapterRetryPolicy, executeWithAdapterRetry, getRetryDelayMs, resolveAdapterRetryPolicy } from './adapters/index.js';
2
+ export { AdapterAttempt, AdapterCircuitBreakerConfig, AdapterExecutionContext, AdapterExecutionResult, AdapterExecutor, AdapterImplementation, AdapterOutcomeEvidence, AdapterOutcomeKind, AdapterRegistry, AdapterRetryPolicy, ExecuteWithRetryOptions, MissingAdapterRegistrationError, ResolvedAdapterRetryPolicy, assertAdapterOutcomeConsistency, classifyAdapterOutcome, executeWithAdapterRetry, getRetryDelayMs, resolveAdapterRetryPolicy, shouldRetryAdapterOutcome } from './adapters/index.js';
3
3
  export { AssetEventActorType, AssetEventEnvelope, AssetEventSubjectType, AssetEventType, EventContractRegistry, EventProvenance, createEventContractRegistry } from './events/index.js';
4
4
  export { FABRIC_ID_PREFIXES, FabricIdPrefix, createFabricId, isFabricId, parseFabricId } from './ids/index.js';
5
5
  export { JsonSchemaExportableValidator, MODULE_MANIFEST_VERSION, ModuleManifest, ModuleManifestAction, ModuleManifestActionStateMachine, ModuleManifestActionV1, ModuleManifestAdapterStep, ModuleManifestBundle, ModuleManifestBundleV1, ModuleManifestCodePolicy, ModuleManifestDataPolicy, ModuleManifestEventType, ModuleManifestIdPrefix, ModuleManifestObjectType, ModuleManifestObjectTypeV1, ModuleManifestPolicy, ModuleManifestStateMachine, ModuleManifestStateMachineTransition, ModuleManifestV1, ModuleManifestView, exportModuleManifest, exportModuleManifestBundle, isJsonSchemaExportableValidator, normalizeModuleManifest, normalizeModuleManifestBundle } from './manifest/index.js';
6
- export { CapabilityMetadata, CapabilityPortRequirement, CapabilityRequirements, DeclarativeInvariant, EventTypeRegistration, EventTypeRegistrationInput, FabricModule, IdPrefixRegistration, InvariantEnforcement, ModuleDependency, ModuleDependencyInput, ModuleRegistry, ObjectRelationCardinality, ObjectRelationDefinition, ObjectRelationDeleteBehavior, ObjectRelationSemantics, ObjectTypeRegistration, ObjectTypeRegistrationInput, PolicyRegistration, StateMachineRegistration, createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateAndOrderFabricModules, validateModuleNamespace } from './modules/index.js';
7
- export { FabricObjectType, JsonPrimitive, JsonValue, ObjectTypeRegistry, PortableJsonSchema, assertObjectType, assertPortableJsonSchema, createObjectTypeRegistry } from './objects/index.js';
6
+ export { CapabilityMetadata, CapabilityPortRequirement, CapabilityRequirements, CapabilityWorkflowCompensation, CapabilityWorkflowDeclaration, CapabilityWorkflowTimer, DeclarativeInvariant, EventTypeRegistration, EventTypeRegistrationInput, FabricModule, IdPrefixRegistration, InvariantEnforcement, ModuleDependency, ModuleDependencyInput, ModuleRegistry, ObjectRelationCardinality, ObjectRelationDefinition, ObjectRelationDeleteBehavior, ObjectRelationSemantics, ObjectTypeRegistration, ObjectTypeRegistrationInput, PolicyRegistration, StateMachineRegistration, createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateAndOrderFabricModules, validateModuleNamespace } from './modules/index.js';
7
+ export { FabricObjectType, JsonPrimitive, JsonSchemaValidationIssue, JsonValue, ObjectTypeRegistry, PortableJsonSchema, assertObjectType, assertPortableJsonSchema, createObjectTypeRegistry, validatePortableJson } from './objects/index.js';
8
8
  export { DataPolicyComparisonOperator, DataPolicyCondition, DataPolicyConditionResult, DataPolicyDefinition, DataPolicyLiteral, DataPolicySource, DataPolicySourceReference, DataPolicyValidationResult, PolicyContext, PolicyCorrectiveAction, PolicyCorrectiveActionBase, PolicyCorrectiveActionKind, PolicyDispatchEvidence, PolicyEvaluationMode, PolicyEvaluationResult, PolicyEvaluator, PolicyFact, PolicyFallbackDefinition, PolicyFallbackTrigger, PolicyGuidance, PolicyGuidanceValidationResult, PolicyId, PolicyInvokeActionCorrectiveAction, PolicyKind, PolicyManualCorrectiveAction, PolicyNavigateCorrectiveAction, PolicyOutcome, PolicyRegistry, RuntimePolicyDefinition, aggregatePolicyOutcomes, assertPolicyId, createPolicyRegistry, evaluatePolicyDefinition, evaluatePolicyDefinitions, evaluateRegisteredPolicies, validateDataPolicyDefinition, validatePolicyGuidance } from './policies/index.js';
9
- export { StateClass, StateDefinition, StateMachineDatabaseClient, StateMachineDefinition, StateMachineRegistry, TransitionContext, createStateMachineRegistry, validateStateMachineTransition } from './state-machines/index.js';
9
+ export { StateClass, StateDefinition, StateMachineDatabaseClient, StateMachineDefinition, StateMachineRegistry, TransitionContext, createStateMachineRegistry, evaluateStateMachineTransition, validateStateMachineTransition } from './state-machines/index.js';
10
10
  export { ReplayEventsOptions, ReplayEventsResult, ReplayScope, ReplaySnapshot, ReplayViewOptions, ReplayWarning, ReplayWarningCode, ReplayableAssetEvent, ViewContract, ViewEventConsumption, ViewRegistry, ViewUsageMetadata, createViewRegistry, replayEvents, replayView, viewContractKey } from './projections/index.js';
11
11
  export { ANONYMIZATION_POLICY_VERSION, AnalyticsDataContract, AnalyticsDataContractSource, AnalyticsEligibilityDecision, AnonymizationContext, AnonymizationEngine, AnonymizationFieldMetadata, AnonymizationFieldPolicy, AnonymizationLifecycleEvidence, AnonymizationMetadata, AnonymizationPolicy, AnonymizationResult, AssetEventLike, DataClassificationRule, EvidencePacketLike, FieldRedactor, PLATFORM_PRIVACY_POLICY_VERSION, PlatformDataClass, RedactionMethod, RedactionRule, RetentionRule, anonymizeAssetEventPayload, anonymizeEvidencePacket, anonymizeJsonValue, buildAnonymizationLifecycleEvidence, stableChecksum } from './privacy/index.js';
12
12
  export { EvidenceGenerationContext, EvidencePacketEnvelope, EvidencePacketReference, EvidencePacketStatus, EvidencePacketSubject, EvidenceRenderer } from './evidence/index.js';
package/dist/index.js CHANGED
@@ -1,17 +1,17 @@
1
- export { MODULE_MANIFEST_VERSION, exportModuleManifest, exportModuleManifestBundle, isJsonSchemaExportableValidator, normalizeModuleManifest, normalizeModuleManifestBundle } from './chunk-CRAGTJ3B.js';
2
- export { createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateAndOrderFabricModules, validateModuleNamespace } from './chunk-T5ESIJ4K.js';
3
- export { assertObjectType, assertPortableJsonSchema, createObjectTypeRegistry } from './chunk-NETLRKDS.js';
1
+ export { MODULE_MANIFEST_VERSION, exportModuleManifest, exportModuleManifestBundle, isJsonSchemaExportableValidator, normalizeModuleManifest, normalizeModuleManifestBundle } from './chunk-LZNXUTJQ.js';
2
+ export { createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateAndOrderFabricModules, validateModuleNamespace } from './chunk-63MYMAEX.js';
3
+ export { assertObjectType, assertPortableJsonSchema, createObjectTypeRegistry, validatePortableJson } from './chunk-ZAEVQSB5.js';
4
4
  export { aggregatePolicyOutcomes, assertPolicyId, createPolicyRegistry, evaluatePolicyDefinition, evaluatePolicyDefinitions, evaluateRegisteredPolicies, validateDataPolicyDefinition, validatePolicyGuidance } from './chunk-JFVEPAED.js';
5
5
  export { ANONYMIZATION_POLICY_VERSION, AnonymizationEngine, FieldRedactor, PLATFORM_PRIVACY_POLICY_VERSION, anonymizeAssetEventPayload, anonymizeEvidencePacket, anonymizeJsonValue, buildAnonymizationLifecycleEvidence, stableChecksum } from './chunk-ATWWZTRC.js';
6
- export { createViewRegistry, replayEvents, replayView, viewContractKey } from './chunk-J5LS5BSI.js';
7
- export { createStateMachineRegistry, validateStateMachineTransition } from './chunk-OWSSGFNY.js';
8
- export { createDeterministicIdFactory, createFakeActionContext, createInMemoryAdapterRegistry } from './chunk-IFMZPLM4.js';
6
+ export { createViewRegistry, replayEvents, replayView, viewContractKey } from './chunk-JG35DT2G.js';
7
+ export { createStateMachineRegistry, evaluateStateMachineTransition, validateStateMachineTransition } from './chunk-7GAWSUOG.js';
8
+ export { createDeterministicIdFactory, createFakeActionContext, createInMemoryAdapterRegistry } from './chunk-AWP6JDD5.js';
9
9
  export { ACTOR_TYPES, assertActionId, assertActorType, createActionRegistry, isActorType } from './chunk-4QOA3VU5.js';
10
- export { AdapterRegistry, MissingAdapterRegistrationError, executeWithAdapterRetry, getRetryDelayMs, resolveAdapterRetryPolicy } from './chunk-3ZW5USXF.js';
10
+ export { AdapterRegistry, MissingAdapterRegistrationError, assertAdapterOutcomeConsistency, classifyAdapterOutcome, executeWithAdapterRetry, getRetryDelayMs, resolveAdapterRetryPolicy, shouldRetryAdapterOutcome } from './chunk-DTY3CHQZ.js';
11
11
  export { AgentActionPolicyRegistry } from './chunk-OFCCZ27Z.js';
12
- export { createEventContractRegistry } from './chunk-CQSA3BII.js';
12
+ export { createEventContractRegistry } from './chunk-NHGBTPPE.js';
13
13
  import './chunk-OZLZHISS.js';
14
- export { FABRIC_GOVERNANCE_CONTRACT_VERSION, assertGovernanceRuntimeEvidence, assertMutationGovernanceContext } from './chunk-3OWMPDBD.js';
14
+ export { FABRIC_GOVERNANCE_CONTRACT_VERSION, assertGovernanceRuntimeEvidence, assertMutationGovernanceContext } from './chunk-Y2PJLRIY.js';
15
15
  export { FABRIC_ID_PREFIXES, createFabricId, isFabricId, parseFabricId } from './chunk-RALMUSOX.js';
16
16
  //# sourceMappingURL=index.js.map
17
17
  //# sourceMappingURL=index.js.map
@@ -1,36 +1,36 @@
1
1
  'use strict';
2
2
 
3
- var chunkJFMNLJLY_cjs = require('../chunk-JFMNLJLY.cjs');
4
- require('../chunk-35LADVKK.cjs');
5
- require('../chunk-CBY6GRJP.cjs');
6
- require('../chunk-M5FGWXT3.cjs');
7
- require('../chunk-53VEUYCS.cjs');
3
+ var chunkUITRHBZH_cjs = require('../chunk-UITRHBZH.cjs');
4
+ require('../chunk-3UBX7KQM.cjs');
5
+ require('../chunk-IFW43ELT.cjs');
6
+ require('../chunk-CXR6KEKQ.cjs');
7
+ require('../chunk-LDPBQ72C.cjs');
8
8
 
9
9
 
10
10
 
11
11
  Object.defineProperty(exports, "MODULE_MANIFEST_VERSION", {
12
12
  enumerable: true,
13
- get: function () { return chunkJFMNLJLY_cjs.MODULE_MANIFEST_VERSION; }
13
+ get: function () { return chunkUITRHBZH_cjs.MODULE_MANIFEST_VERSION; }
14
14
  });
15
15
  Object.defineProperty(exports, "exportModuleManifest", {
16
16
  enumerable: true,
17
- get: function () { return chunkJFMNLJLY_cjs.exportModuleManifest; }
17
+ get: function () { return chunkUITRHBZH_cjs.exportModuleManifest; }
18
18
  });
19
19
  Object.defineProperty(exports, "exportModuleManifestBundle", {
20
20
  enumerable: true,
21
- get: function () { return chunkJFMNLJLY_cjs.exportModuleManifestBundle; }
21
+ get: function () { return chunkUITRHBZH_cjs.exportModuleManifestBundle; }
22
22
  });
23
23
  Object.defineProperty(exports, "isJsonSchemaExportableValidator", {
24
24
  enumerable: true,
25
- get: function () { return chunkJFMNLJLY_cjs.isJsonSchemaExportableValidator; }
25
+ get: function () { return chunkUITRHBZH_cjs.isJsonSchemaExportableValidator; }
26
26
  });
27
27
  Object.defineProperty(exports, "normalizeModuleManifest", {
28
28
  enumerable: true,
29
- get: function () { return chunkJFMNLJLY_cjs.normalizeModuleManifest; }
29
+ get: function () { return chunkUITRHBZH_cjs.normalizeModuleManifest; }
30
30
  });
31
31
  Object.defineProperty(exports, "normalizeModuleManifestBundle", {
32
32
  enumerable: true,
33
- get: function () { return chunkJFMNLJLY_cjs.normalizeModuleManifestBundle; }
33
+ get: function () { return chunkUITRHBZH_cjs.normalizeModuleManifestBundle; }
34
34
  });
35
35
  //# sourceMappingURL=index.cjs.map
36
36
  //# sourceMappingURL=index.cjs.map
@@ -95,6 +95,7 @@ interface ModuleManifestView {
95
95
  name: string;
96
96
  version: string;
97
97
  shape: PortableJsonSchema;
98
+ parameterSchema?: PortableJsonSchema;
98
99
  consumes: Array<{
99
100
  eventType: string;
100
101
  schemaVersions: number[];
@@ -95,6 +95,7 @@ interface ModuleManifestView {
95
95
  name: string;
96
96
  version: string;
97
97
  shape: PortableJsonSchema;
98
+ parameterSchema?: PortableJsonSchema;
98
99
  consumes: Array<{
99
100
  eventType: string;
100
101
  schemaVersions: number[];
@@ -1,7 +1,7 @@
1
- export { MODULE_MANIFEST_VERSION, exportModuleManifest, exportModuleManifestBundle, isJsonSchemaExportableValidator, normalizeModuleManifest, normalizeModuleManifestBundle } from '../chunk-CRAGTJ3B.js';
2
- import '../chunk-T5ESIJ4K.js';
3
- import '../chunk-NETLRKDS.js';
4
- import '../chunk-J5LS5BSI.js';
5
- import '../chunk-CQSA3BII.js';
1
+ export { MODULE_MANIFEST_VERSION, exportModuleManifest, exportModuleManifestBundle, isJsonSchemaExportableValidator, normalizeModuleManifest, normalizeModuleManifestBundle } from '../chunk-LZNXUTJQ.js';
2
+ import '../chunk-63MYMAEX.js';
3
+ import '../chunk-ZAEVQSB5.js';
4
+ import '../chunk-JG35DT2G.js';
5
+ import '../chunk-NHGBTPPE.js';
6
6
  //# sourceMappingURL=index.js.map
7
7
  //# sourceMappingURL=index.js.map
@@ -1,43 +1,43 @@
1
1
  'use strict';
2
2
 
3
- var chunk35LADVKK_cjs = require('../chunk-35LADVKK.cjs');
4
- require('../chunk-CBY6GRJP.cjs');
5
- require('../chunk-M5FGWXT3.cjs');
6
- require('../chunk-53VEUYCS.cjs');
3
+ var chunk3UBX7KQM_cjs = require('../chunk-3UBX7KQM.cjs');
4
+ require('../chunk-IFW43ELT.cjs');
5
+ require('../chunk-CXR6KEKQ.cjs');
6
+ require('../chunk-LDPBQ72C.cjs');
7
7
 
8
8
 
9
9
 
10
10
  Object.defineProperty(exports, "createModuleRegistry", {
11
11
  enumerable: true,
12
- get: function () { return chunk35LADVKK_cjs.createModuleRegistry; }
12
+ get: function () { return chunk3UBX7KQM_cjs.createModuleRegistry; }
13
13
  });
14
14
  Object.defineProperty(exports, "getEventTypeName", {
15
15
  enumerable: true,
16
- get: function () { return chunk35LADVKK_cjs.getEventTypeName; }
16
+ get: function () { return chunk3UBX7KQM_cjs.getEventTypeName; }
17
17
  });
18
18
  Object.defineProperty(exports, "getModuleDependencyNamespace", {
19
19
  enumerable: true,
20
- get: function () { return chunk35LADVKK_cjs.getModuleDependencyNamespace; }
20
+ get: function () { return chunk3UBX7KQM_cjs.getModuleDependencyNamespace; }
21
21
  });
22
22
  Object.defineProperty(exports, "getObjectTypeName", {
23
23
  enumerable: true,
24
- get: function () { return chunk35LADVKK_cjs.getObjectTypeName; }
24
+ get: function () { return chunk3UBX7KQM_cjs.getObjectTypeName; }
25
25
  });
26
26
  Object.defineProperty(exports, "registerFabricModule", {
27
27
  enumerable: true,
28
- get: function () { return chunk35LADVKK_cjs.registerFabricModule; }
28
+ get: function () { return chunk3UBX7KQM_cjs.registerFabricModule; }
29
29
  });
30
30
  Object.defineProperty(exports, "registerFabricModules", {
31
31
  enumerable: true,
32
- get: function () { return chunk35LADVKK_cjs.registerFabricModules; }
32
+ get: function () { return chunk3UBX7KQM_cjs.registerFabricModules; }
33
33
  });
34
34
  Object.defineProperty(exports, "validateAndOrderFabricModules", {
35
35
  enumerable: true,
36
- get: function () { return chunk35LADVKK_cjs.validateAndOrderFabricModules; }
36
+ get: function () { return chunk3UBX7KQM_cjs.validateAndOrderFabricModules; }
37
37
  });
38
38
  Object.defineProperty(exports, "validateModuleNamespace", {
39
39
  enumerable: true,
40
- get: function () { return chunk35LADVKK_cjs.validateModuleNamespace; }
40
+ get: function () { return chunk3UBX7KQM_cjs.validateModuleNamespace; }
41
41
  });
42
42
  //# sourceMappingURL=index.cjs.map
43
43
  //# sourceMappingURL=index.cjs.map
@@ -75,6 +75,34 @@ interface CapabilityRequirements {
75
75
  entitlements?: string[];
76
76
  featureFlags?: string[];
77
77
  }
78
+ interface CapabilityWorkflowTimer {
79
+ /** Workflow-local identity of the deadline, for example "right-to-cure". */
80
+ name: string;
81
+ /** Configuration key the duration is resolved from when the workflow starts. */
82
+ configKey: string;
83
+ description?: string;
84
+ }
85
+ interface CapabilityWorkflowCompensation {
86
+ /** Workflow step whose effect this reverses. */
87
+ step: string;
88
+ /** Governed action that performs the reversal. Must belong to the declaring module. */
89
+ actionId: `${string}.${string}`;
90
+ }
91
+ /**
92
+ * A durable workflow this capability owns. Declaring it makes durability a
93
+ * reviewable fact of the contract rather than a property of worker deployment:
94
+ * the queue it runs on, the deadlines it carries, and what reverses each step
95
+ * are all diffable.
96
+ */
97
+ interface CapabilityWorkflowDeclaration {
98
+ name: string;
99
+ /** Routing identity, conventionally `capability.vertical`. */
100
+ taskQueue: string;
101
+ /** Event type whose arrival starts this workflow by choreography. */
102
+ startedBy?: string;
103
+ timers?: CapabilityWorkflowTimer[];
104
+ compensations?: CapabilityWorkflowCompensation[];
105
+ }
78
106
  interface CapabilityMetadata {
79
107
  displayName: string;
80
108
  description: string;
@@ -89,12 +117,16 @@ interface CapabilityMetadata {
89
117
  profile: string;
90
118
  required: boolean;
91
119
  };
120
+ /** Durable workflows this capability owns, with their queues, deadlines and reversals. */
121
+ workflows?: CapabilityWorkflowDeclaration[];
92
122
  /** Namespaced declared data preserved by Platform and interpreted only by its owning package. */
93
123
  extensions?: Record<string, JsonValue>;
94
124
  }
95
125
  interface FabricModule<TDb = unknown> {
96
126
  namespace: string;
97
127
  version?: string;
128
+ /** Compiler manifest digest for exact runtime assembly verification. */
129
+ manifestDigest?: string;
98
130
  displayName?: string;
99
131
  description?: string;
100
132
  capability?: CapabilityMetadata;
@@ -134,4 +166,4 @@ declare function registerFabricModules<TDb = unknown>(modules: FabricModule<TDb>
134
166
  /** @deprecated Use createModuleRegistry([module]); registration is now explicit and instance-scoped. */
135
167
  declare function registerFabricModule<TDb = unknown>(module: FabricModule<TDb>): void;
136
168
 
137
- export { type CapabilityMetadata, type CapabilityPortRequirement, type CapabilityRequirements, type DeclarativeInvariant, type EventTypeRegistration, type EventTypeRegistrationInput, type FabricModule, type IdPrefixRegistration, type InvariantEnforcement, type ModuleDependency, type ModuleDependencyInput, type ModuleRegistry, type ObjectRelationCardinality, type ObjectRelationDefinition, type ObjectRelationDeleteBehavior, type ObjectRelationSemantics, type ObjectTypeRegistration, type ObjectTypeRegistrationInput, type PolicyRegistration, type StateMachineRegistration, createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateAndOrderFabricModules, validateModuleNamespace };
169
+ export { type CapabilityMetadata, type CapabilityPortRequirement, type CapabilityRequirements, type CapabilityWorkflowCompensation, type CapabilityWorkflowDeclaration, type CapabilityWorkflowTimer, type DeclarativeInvariant, type EventTypeRegistration, type EventTypeRegistrationInput, type FabricModule, type IdPrefixRegistration, type InvariantEnforcement, type ModuleDependency, type ModuleDependencyInput, type ModuleRegistry, type ObjectRelationCardinality, type ObjectRelationDefinition, type ObjectRelationDeleteBehavior, type ObjectRelationSemantics, type ObjectTypeRegistration, type ObjectTypeRegistrationInput, type PolicyRegistration, type StateMachineRegistration, createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateAndOrderFabricModules, validateModuleNamespace };
@@ -75,6 +75,34 @@ interface CapabilityRequirements {
75
75
  entitlements?: string[];
76
76
  featureFlags?: string[];
77
77
  }
78
+ interface CapabilityWorkflowTimer {
79
+ /** Workflow-local identity of the deadline, for example "right-to-cure". */
80
+ name: string;
81
+ /** Configuration key the duration is resolved from when the workflow starts. */
82
+ configKey: string;
83
+ description?: string;
84
+ }
85
+ interface CapabilityWorkflowCompensation {
86
+ /** Workflow step whose effect this reverses. */
87
+ step: string;
88
+ /** Governed action that performs the reversal. Must belong to the declaring module. */
89
+ actionId: `${string}.${string}`;
90
+ }
91
+ /**
92
+ * A durable workflow this capability owns. Declaring it makes durability a
93
+ * reviewable fact of the contract rather than a property of worker deployment:
94
+ * the queue it runs on, the deadlines it carries, and what reverses each step
95
+ * are all diffable.
96
+ */
97
+ interface CapabilityWorkflowDeclaration {
98
+ name: string;
99
+ /** Routing identity, conventionally `capability.vertical`. */
100
+ taskQueue: string;
101
+ /** Event type whose arrival starts this workflow by choreography. */
102
+ startedBy?: string;
103
+ timers?: CapabilityWorkflowTimer[];
104
+ compensations?: CapabilityWorkflowCompensation[];
105
+ }
78
106
  interface CapabilityMetadata {
79
107
  displayName: string;
80
108
  description: string;
@@ -89,12 +117,16 @@ interface CapabilityMetadata {
89
117
  profile: string;
90
118
  required: boolean;
91
119
  };
120
+ /** Durable workflows this capability owns, with their queues, deadlines and reversals. */
121
+ workflows?: CapabilityWorkflowDeclaration[];
92
122
  /** Namespaced declared data preserved by Platform and interpreted only by its owning package. */
93
123
  extensions?: Record<string, JsonValue>;
94
124
  }
95
125
  interface FabricModule<TDb = unknown> {
96
126
  namespace: string;
97
127
  version?: string;
128
+ /** Compiler manifest digest for exact runtime assembly verification. */
129
+ manifestDigest?: string;
98
130
  displayName?: string;
99
131
  description?: string;
100
132
  capability?: CapabilityMetadata;
@@ -134,4 +166,4 @@ declare function registerFabricModules<TDb = unknown>(modules: FabricModule<TDb>
134
166
  /** @deprecated Use createModuleRegistry([module]); registration is now explicit and instance-scoped. */
135
167
  declare function registerFabricModule<TDb = unknown>(module: FabricModule<TDb>): void;
136
168
 
137
- export { type CapabilityMetadata, type CapabilityPortRequirement, type CapabilityRequirements, type DeclarativeInvariant, type EventTypeRegistration, type EventTypeRegistrationInput, type FabricModule, type IdPrefixRegistration, type InvariantEnforcement, type ModuleDependency, type ModuleDependencyInput, type ModuleRegistry, type ObjectRelationCardinality, type ObjectRelationDefinition, type ObjectRelationDeleteBehavior, type ObjectRelationSemantics, type ObjectTypeRegistration, type ObjectTypeRegistrationInput, type PolicyRegistration, type StateMachineRegistration, createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateAndOrderFabricModules, validateModuleNamespace };
169
+ export { type CapabilityMetadata, type CapabilityPortRequirement, type CapabilityRequirements, type CapabilityWorkflowCompensation, type CapabilityWorkflowDeclaration, type CapabilityWorkflowTimer, type DeclarativeInvariant, type EventTypeRegistration, type EventTypeRegistrationInput, type FabricModule, type IdPrefixRegistration, type InvariantEnforcement, type ModuleDependency, type ModuleDependencyInput, type ModuleRegistry, type ObjectRelationCardinality, type ObjectRelationDefinition, type ObjectRelationDeleteBehavior, type ObjectRelationSemantics, type ObjectTypeRegistration, type ObjectTypeRegistrationInput, type PolicyRegistration, type StateMachineRegistration, createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateAndOrderFabricModules, validateModuleNamespace };
@@ -1,6 +1,6 @@
1
- export { createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateAndOrderFabricModules, validateModuleNamespace } from '../chunk-T5ESIJ4K.js';
2
- import '../chunk-NETLRKDS.js';
3
- import '../chunk-J5LS5BSI.js';
4
- import '../chunk-CQSA3BII.js';
1
+ export { createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateAndOrderFabricModules, validateModuleNamespace } from '../chunk-63MYMAEX.js';
2
+ import '../chunk-ZAEVQSB5.js';
3
+ import '../chunk-JG35DT2G.js';
4
+ import '../chunk-NHGBTPPE.js';
5
5
  //# sourceMappingURL=index.js.map
6
6
  //# sourceMappingURL=index.js.map
@@ -1,20 +1,24 @@
1
1
  'use strict';
2
2
 
3
- var chunkCBY6GRJP_cjs = require('../chunk-CBY6GRJP.cjs');
3
+ var chunkIFW43ELT_cjs = require('../chunk-IFW43ELT.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "assertObjectType", {
8
8
  enumerable: true,
9
- get: function () { return chunkCBY6GRJP_cjs.assertObjectType; }
9
+ get: function () { return chunkIFW43ELT_cjs.assertObjectType; }
10
10
  });
11
11
  Object.defineProperty(exports, "assertPortableJsonSchema", {
12
12
  enumerable: true,
13
- get: function () { return chunkCBY6GRJP_cjs.assertPortableJsonSchema; }
13
+ get: function () { return chunkIFW43ELT_cjs.assertPortableJsonSchema; }
14
14
  });
15
15
  Object.defineProperty(exports, "createObjectTypeRegistry", {
16
16
  enumerable: true,
17
- get: function () { return chunkCBY6GRJP_cjs.createObjectTypeRegistry; }
17
+ get: function () { return chunkIFW43ELT_cjs.createObjectTypeRegistry; }
18
+ });
19
+ Object.defineProperty(exports, "validatePortableJson", {
20
+ enumerable: true,
21
+ get: function () { return chunkIFW43ELT_cjs.validatePortableJson; }
18
22
  });
19
23
  //# sourceMappingURL=index.cjs.map
20
24
  //# sourceMappingURL=index.cjs.map