@fabricorg/platform 0.11.1 → 0.12.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 (56) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/actions/index.cjs +11 -11
  3. package/dist/actions/index.d.cts +22 -2
  4. package/dist/actions/index.d.ts +22 -2
  5. package/dist/actions/index.js +1 -1
  6. package/dist/{chunk-4YQOGV7H.js → chunk-3O4GMCCE.js} +2 -2
  7. package/dist/chunk-3O4GMCCE.js.map +1 -0
  8. package/dist/{chunk-3WEHM2P3.cjs → chunk-45TSN3GO.cjs} +2 -2
  9. package/dist/chunk-45TSN3GO.cjs.map +1 -0
  10. package/dist/{chunk-JM55UQWK.js → chunk-4RMKUYRX.js} +2 -2
  11. package/dist/chunk-4RMKUYRX.js.map +1 -0
  12. package/dist/{chunk-NFHS5NWD.js → chunk-5PDVZXEI.js} +19 -5
  13. package/dist/chunk-5PDVZXEI.js.map +1 -0
  14. package/dist/{chunk-JAXDEK5Z.cjs → chunk-7RV5REPT.cjs} +2 -2
  15. package/dist/chunk-7RV5REPT.cjs.map +1 -0
  16. package/dist/{chunk-HLRIXNVG.cjs → chunk-JOATYJXQ.cjs} +2 -2
  17. package/dist/chunk-JOATYJXQ.cjs.map +1 -0
  18. package/dist/{chunk-FN6IYVBK.js → chunk-LXS6SURU.js} +2 -2
  19. package/dist/chunk-LXS6SURU.js.map +1 -0
  20. package/dist/{chunk-JIT3UR27.cjs → chunk-MCD5VT4E.cjs} +9 -6
  21. package/dist/chunk-MCD5VT4E.cjs.map +1 -0
  22. package/dist/{chunk-K27DUWRY.cjs → chunk-ROC326VL.cjs} +25 -11
  23. package/dist/chunk-ROC326VL.cjs.map +1 -0
  24. package/dist/{chunk-N3OUWEYA.js → chunk-ZO6HPMCK.js} +6 -3
  25. package/dist/chunk-ZO6HPMCK.js.map +1 -0
  26. package/dist/events/index.cjs +8 -8
  27. package/dist/events/index.d.cts +6 -1
  28. package/dist/events/index.d.ts +6 -1
  29. package/dist/events/index.js +1 -1
  30. package/dist/index.cjs +42 -42
  31. package/dist/index.d.cts +4 -4
  32. package/dist/index.d.ts +4 -4
  33. package/dist/index.js +5 -5
  34. package/dist/manifest/index.cjs +11 -11
  35. package/dist/manifest/index.d.cts +5 -2
  36. package/dist/manifest/index.d.ts +5 -2
  37. package/dist/manifest/index.js +5 -5
  38. package/dist/modules/index.cjs +11 -11
  39. package/dist/modules/index.d.cts +23 -1
  40. package/dist/modules/index.d.ts +23 -1
  41. package/dist/modules/index.js +4 -4
  42. package/dist/projections/index.cjs +8 -8
  43. package/dist/projections/index.d.cts +15 -1
  44. package/dist/projections/index.d.ts +15 -1
  45. package/dist/projections/index.js +1 -1
  46. package/package.json +1 -1
  47. package/dist/chunk-3WEHM2P3.cjs.map +0 -1
  48. package/dist/chunk-4YQOGV7H.js.map +0 -1
  49. package/dist/chunk-FN6IYVBK.js.map +0 -1
  50. package/dist/chunk-HLRIXNVG.cjs.map +0 -1
  51. package/dist/chunk-JAXDEK5Z.cjs.map +0 -1
  52. package/dist/chunk-JIT3UR27.cjs.map +0 -1
  53. package/dist/chunk-JM55UQWK.js.map +0 -1
  54. package/dist/chunk-K27DUWRY.cjs.map +0 -1
  55. package/dist/chunk-N3OUWEYA.js.map +0 -1
  56. package/dist/chunk-NFHS5NWD.js.map +0 -1
package/dist/index.cjs CHANGED
@@ -2,18 +2,18 @@
2
2
 
3
3
  var chunkYZKUEC2J_cjs = require('./chunk-YZKUEC2J.cjs');
4
4
  var chunkLZSE6QGQ_cjs = require('./chunk-LZSE6QGQ.cjs');
5
- var chunkJIT3UR27_cjs = require('./chunk-JIT3UR27.cjs');
6
- var chunkK27DUWRY_cjs = require('./chunk-K27DUWRY.cjs');
5
+ var chunkMCD5VT4E_cjs = require('./chunk-MCD5VT4E.cjs');
6
+ var chunkROC326VL_cjs = require('./chunk-ROC326VL.cjs');
7
7
  var chunkOC4ZFJKD_cjs = require('./chunk-OC4ZFJKD.cjs');
8
8
  var chunkNJL3US7H_cjs = require('./chunk-NJL3US7H.cjs');
9
9
  var chunkYQEXO3IQ_cjs = require('./chunk-YQEXO3IQ.cjs');
10
- var chunk3WEHM2P3_cjs = require('./chunk-3WEHM2P3.cjs');
10
+ var chunk45TSN3GO_cjs = require('./chunk-45TSN3GO.cjs');
11
11
  var chunkUV252FLT_cjs = require('./chunk-UV252FLT.cjs');
12
- var chunkHLRIXNVG_cjs = require('./chunk-HLRIXNVG.cjs');
12
+ var chunkJOATYJXQ_cjs = require('./chunk-JOATYJXQ.cjs');
13
13
  var chunkNPVIFZQV_cjs = require('./chunk-NPVIFZQV.cjs');
14
14
  var chunkF3E5SXPN_cjs = require('./chunk-F3E5SXPN.cjs');
15
15
  var chunkEO4VSB2O_cjs = require('./chunk-EO4VSB2O.cjs');
16
- var chunkJAXDEK5Z_cjs = require('./chunk-JAXDEK5Z.cjs');
16
+ var chunk7RV5REPT_cjs = require('./chunk-7RV5REPT.cjs');
17
17
  require('./chunk-PG5LYTUX.cjs');
18
18
  var chunkANPJYXBK_cjs = require('./chunk-ANPJYXBK.cjs');
19
19
 
@@ -49,55 +49,55 @@ Object.defineProperty(exports, "parseFabricId", {
49
49
  });
50
50
  Object.defineProperty(exports, "MODULE_MANIFEST_VERSION", {
51
51
  enumerable: true,
52
- get: function () { return chunkJIT3UR27_cjs.MODULE_MANIFEST_VERSION; }
52
+ get: function () { return chunkMCD5VT4E_cjs.MODULE_MANIFEST_VERSION; }
53
53
  });
54
54
  Object.defineProperty(exports, "exportModuleManifest", {
55
55
  enumerable: true,
56
- get: function () { return chunkJIT3UR27_cjs.exportModuleManifest; }
56
+ get: function () { return chunkMCD5VT4E_cjs.exportModuleManifest; }
57
57
  });
58
58
  Object.defineProperty(exports, "exportModuleManifestBundle", {
59
59
  enumerable: true,
60
- get: function () { return chunkJIT3UR27_cjs.exportModuleManifestBundle; }
60
+ get: function () { return chunkMCD5VT4E_cjs.exportModuleManifestBundle; }
61
61
  });
62
62
  Object.defineProperty(exports, "isJsonSchemaExportableValidator", {
63
63
  enumerable: true,
64
- get: function () { return chunkJIT3UR27_cjs.isJsonSchemaExportableValidator; }
64
+ get: function () { return chunkMCD5VT4E_cjs.isJsonSchemaExportableValidator; }
65
65
  });
66
66
  Object.defineProperty(exports, "normalizeModuleManifest", {
67
67
  enumerable: true,
68
- get: function () { return chunkJIT3UR27_cjs.normalizeModuleManifest; }
68
+ get: function () { return chunkMCD5VT4E_cjs.normalizeModuleManifest; }
69
69
  });
70
70
  Object.defineProperty(exports, "normalizeModuleManifestBundle", {
71
71
  enumerable: true,
72
- get: function () { return chunkJIT3UR27_cjs.normalizeModuleManifestBundle; }
72
+ get: function () { return chunkMCD5VT4E_cjs.normalizeModuleManifestBundle; }
73
73
  });
74
74
  Object.defineProperty(exports, "createModuleRegistry", {
75
75
  enumerable: true,
76
- get: function () { return chunkK27DUWRY_cjs.createModuleRegistry; }
76
+ get: function () { return chunkROC326VL_cjs.createModuleRegistry; }
77
77
  });
78
78
  Object.defineProperty(exports, "getEventTypeName", {
79
79
  enumerable: true,
80
- get: function () { return chunkK27DUWRY_cjs.getEventTypeName; }
80
+ get: function () { return chunkROC326VL_cjs.getEventTypeName; }
81
81
  });
82
82
  Object.defineProperty(exports, "getModuleDependencyNamespace", {
83
83
  enumerable: true,
84
- get: function () { return chunkK27DUWRY_cjs.getModuleDependencyNamespace; }
84
+ get: function () { return chunkROC326VL_cjs.getModuleDependencyNamespace; }
85
85
  });
86
86
  Object.defineProperty(exports, "getObjectTypeName", {
87
87
  enumerable: true,
88
- get: function () { return chunkK27DUWRY_cjs.getObjectTypeName; }
88
+ get: function () { return chunkROC326VL_cjs.getObjectTypeName; }
89
89
  });
90
90
  Object.defineProperty(exports, "registerFabricModule", {
91
91
  enumerable: true,
92
- get: function () { return chunkK27DUWRY_cjs.registerFabricModule; }
92
+ get: function () { return chunkROC326VL_cjs.registerFabricModule; }
93
93
  });
94
94
  Object.defineProperty(exports, "registerFabricModules", {
95
95
  enumerable: true,
96
- get: function () { return chunkK27DUWRY_cjs.registerFabricModules; }
96
+ get: function () { return chunkROC326VL_cjs.registerFabricModules; }
97
97
  });
98
98
  Object.defineProperty(exports, "validateModuleNamespace", {
99
99
  enumerable: true,
100
- get: function () { return chunkK27DUWRY_cjs.validateModuleNamespace; }
100
+ get: function () { return chunkROC326VL_cjs.validateModuleNamespace; }
101
101
  });
102
102
  Object.defineProperty(exports, "assertObjectType", {
103
103
  enumerable: true,
@@ -201,31 +201,31 @@ Object.defineProperty(exports, "stableChecksum", {
201
201
  });
202
202
  Object.defineProperty(exports, "getRegisteredViewContractKeys", {
203
203
  enumerable: true,
204
- get: function () { return chunk3WEHM2P3_cjs.getRegisteredViewContractKeys; }
204
+ get: function () { return chunk45TSN3GO_cjs.getRegisteredViewContractKeys; }
205
205
  });
206
206
  Object.defineProperty(exports, "registerViewContract", {
207
207
  enumerable: true,
208
- get: function () { return chunk3WEHM2P3_cjs.registerViewContract; }
208
+ get: function () { return chunk45TSN3GO_cjs.registerViewContract; }
209
209
  });
210
210
  Object.defineProperty(exports, "registerViewContractIfMissing", {
211
211
  enumerable: true,
212
- get: function () { return chunk3WEHM2P3_cjs.registerViewContractIfMissing; }
212
+ get: function () { return chunk45TSN3GO_cjs.registerViewContractIfMissing; }
213
213
  });
214
214
  Object.defineProperty(exports, "replayEvents", {
215
215
  enumerable: true,
216
- get: function () { return chunk3WEHM2P3_cjs.replayEvents; }
216
+ get: function () { return chunk45TSN3GO_cjs.replayEvents; }
217
217
  });
218
218
  Object.defineProperty(exports, "replayView", {
219
219
  enumerable: true,
220
- get: function () { return chunk3WEHM2P3_cjs.replayView; }
220
+ get: function () { return chunk45TSN3GO_cjs.replayView; }
221
221
  });
222
222
  Object.defineProperty(exports, "resolveViewContract", {
223
223
  enumerable: true,
224
- get: function () { return chunk3WEHM2P3_cjs.resolveViewContract; }
224
+ get: function () { return chunk45TSN3GO_cjs.resolveViewContract; }
225
225
  });
226
226
  Object.defineProperty(exports, "viewContractKey", {
227
227
  enumerable: true,
228
- get: function () { return chunk3WEHM2P3_cjs.viewContractKey; }
228
+ get: function () { return chunk45TSN3GO_cjs.viewContractKey; }
229
229
  });
230
230
  Object.defineProperty(exports, "getAllowedTransitions", {
231
231
  enumerable: true,
@@ -253,43 +253,43 @@ Object.defineProperty(exports, "validateTransition", {
253
253
  });
254
254
  Object.defineProperty(exports, "ACTOR_TYPES", {
255
255
  enumerable: true,
256
- get: function () { return chunkHLRIXNVG_cjs.ACTOR_TYPES; }
256
+ get: function () { return chunkJOATYJXQ_cjs.ACTOR_TYPES; }
257
257
  });
258
258
  Object.defineProperty(exports, "assertActionId", {
259
259
  enumerable: true,
260
- get: function () { return chunkHLRIXNVG_cjs.assertActionId; }
260
+ get: function () { return chunkJOATYJXQ_cjs.assertActionId; }
261
261
  });
262
262
  Object.defineProperty(exports, "assertActorType", {
263
263
  enumerable: true,
264
- get: function () { return chunkHLRIXNVG_cjs.assertActorType; }
264
+ get: function () { return chunkJOATYJXQ_cjs.assertActorType; }
265
265
  });
266
266
  Object.defineProperty(exports, "getRegisteredActionIds", {
267
267
  enumerable: true,
268
- get: function () { return chunkHLRIXNVG_cjs.getRegisteredActionIds; }
268
+ get: function () { return chunkJOATYJXQ_cjs.getRegisteredActionIds; }
269
269
  });
270
270
  Object.defineProperty(exports, "isActorType", {
271
271
  enumerable: true,
272
- get: function () { return chunkHLRIXNVG_cjs.isActorType; }
272
+ get: function () { return chunkJOATYJXQ_cjs.isActorType; }
273
273
  });
274
274
  Object.defineProperty(exports, "isRegisteredActionId", {
275
275
  enumerable: true,
276
- get: function () { return chunkHLRIXNVG_cjs.isRegisteredActionId; }
276
+ get: function () { return chunkJOATYJXQ_cjs.isRegisteredActionId; }
277
277
  });
278
278
  Object.defineProperty(exports, "registerAction", {
279
279
  enumerable: true,
280
- get: function () { return chunkHLRIXNVG_cjs.registerAction; }
280
+ get: function () { return chunkJOATYJXQ_cjs.registerAction; }
281
281
  });
282
282
  Object.defineProperty(exports, "registerActionIfMissing", {
283
283
  enumerable: true,
284
- get: function () { return chunkHLRIXNVG_cjs.registerActionIfMissing; }
284
+ get: function () { return chunkJOATYJXQ_cjs.registerActionIfMissing; }
285
285
  });
286
286
  Object.defineProperty(exports, "resolveAction", {
287
287
  enumerable: true,
288
- get: function () { return chunkHLRIXNVG_cjs.resolveAction; }
288
+ get: function () { return chunkJOATYJXQ_cjs.resolveAction; }
289
289
  });
290
290
  Object.defineProperty(exports, "resolveRegisteredAction", {
291
291
  enumerable: true,
292
- get: function () { return chunkHLRIXNVG_cjs.resolveRegisteredAction; }
292
+ get: function () { return chunkJOATYJXQ_cjs.resolveRegisteredAction; }
293
293
  });
294
294
  Object.defineProperty(exports, "AdapterRegistry", {
295
295
  enumerable: true,
@@ -333,31 +333,31 @@ Object.defineProperty(exports, "resolveDisplayRenderer", {
333
333
  });
334
334
  Object.defineProperty(exports, "createEventTypeRegistry", {
335
335
  enumerable: true,
336
- get: function () { return chunkJAXDEK5Z_cjs.createEventTypeRegistry; }
336
+ get: function () { return chunk7RV5REPT_cjs.createEventTypeRegistry; }
337
337
  });
338
338
  Object.defineProperty(exports, "getRegisteredEventTypes", {
339
339
  enumerable: true,
340
- get: function () { return chunkJAXDEK5Z_cjs.getRegisteredEventTypes; }
340
+ get: function () { return chunk7RV5REPT_cjs.getRegisteredEventTypes; }
341
341
  });
342
342
  Object.defineProperty(exports, "getRegisteredSubjectTypes", {
343
343
  enumerable: true,
344
- get: function () { return chunkJAXDEK5Z_cjs.getRegisteredSubjectTypes; }
344
+ get: function () { return chunk7RV5REPT_cjs.getRegisteredSubjectTypes; }
345
345
  });
346
346
  Object.defineProperty(exports, "isValidEventType", {
347
347
  enumerable: true,
348
- get: function () { return chunkJAXDEK5Z_cjs.isValidEventType; }
348
+ get: function () { return chunk7RV5REPT_cjs.isValidEventType; }
349
349
  });
350
350
  Object.defineProperty(exports, "isValidSubjectType", {
351
351
  enumerable: true,
352
- get: function () { return chunkJAXDEK5Z_cjs.isValidSubjectType; }
352
+ get: function () { return chunk7RV5REPT_cjs.isValidSubjectType; }
353
353
  });
354
354
  Object.defineProperty(exports, "registerEventType", {
355
355
  enumerable: true,
356
- get: function () { return chunkJAXDEK5Z_cjs.registerEventType; }
356
+ get: function () { return chunk7RV5REPT_cjs.registerEventType; }
357
357
  });
358
358
  Object.defineProperty(exports, "registerSubjectType", {
359
359
  enumerable: true,
360
- get: function () { return chunkJAXDEK5Z_cjs.registerSubjectType; }
360
+ get: function () { return chunk7RV5REPT_cjs.registerSubjectType; }
361
361
  });
362
362
  Object.defineProperty(exports, "FABRIC_GOVERNANCE_CONTRACT_VERSION", {
363
363
  enumerable: true,
package/dist/index.d.cts CHANGED
@@ -1,13 +1,13 @@
1
- export { ACTOR_TYPES, ActionContext, ActionDefinition, ActionHandler, ActionId, ActionResult, ActionStateMachineBinding, ActionStatus, ActorType, AdapterStep, AdapterStepRetryPolicy, FabricRuntimeServices, SagaChildActionInput, SagaCompletion, SagaCompletionEvent, SagaContext, SagaImplementation, SagaRunChild, SchemaParseIssue, SchemaParseResult, SchemaValidator, assertActionId, assertActorType, getRegisteredActionIds, isActorType, isRegisteredActionId, registerAction, registerActionIfMissing, resolveAction, resolveRegisteredAction } from './actions/index.cjs';
1
+ export { ACTOR_TYPES, ActionCompletionMode, ActionConnectivity, ActionConsistency, ActionContext, ActionDataSensitivity, ActionDefinition, ActionExecutionContract, ActionHandler, ActionId, ActionIdempotencyStance, ActionResult, ActionStateMachineBinding, ActionStatus, ActorType, AdapterStep, AdapterStepRetryPolicy, AuthorityMoment, FabricRuntimeServices, SagaChildActionInput, SagaCompletion, SagaCompletionEvent, SagaContext, SagaImplementation, SagaRunChild, SchemaParseIssue, SchemaParseResult, SchemaValidator, assertActionId, assertActorType, getRegisteredActionIds, isActorType, isRegisteredActionId, registerAction, registerActionIfMissing, resolveAction, resolveRegisteredAction } from './actions/index.cjs';
2
2
  export { AdapterAttempt, AdapterCircuitBreakerConfig, AdapterExecutionContext, AdapterExecutionResult, AdapterExecutor, AdapterImplementation, AdapterRegistry, AdapterRetryPolicy, ExecuteWithRetryOptions, MissingAdapterRegistrationError, ResolvedAdapterRetryPolicy, executeWithAdapterRetry, getRetryDelayMs, resolveAdapterRetryPolicy } from './adapters/index.cjs';
3
- export { AssetEventActorType, AssetEventEnvelope, AssetEventSubjectType, AssetEventType, EventTypeRegistry, createEventTypeRegistry, getRegisteredEventTypes, getRegisteredSubjectTypes, isValidEventType, isValidSubjectType, registerEventType, registerSubjectType } from './events/index.cjs';
3
+ export { AssetEventActorType, AssetEventEnvelope, AssetEventSubjectType, AssetEventType, EventProvenance, EventTypeRegistry, createEventTypeRegistry, getRegisteredEventTypes, getRegisteredSubjectTypes, isValidEventType, isValidSubjectType, registerEventType, registerSubjectType } 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, CapabilitySlotDefinition, DeclarativeInvariant, EventTypeRegistration, EventTypeRegistrationInput, FabricModule, IdPrefixRegistration, InvariantEnforcement, ModuleDependency, ModuleDependencyInput, ModuleDisplayRendererRegistration, ModuleRegistry, ObjectRelationCardinality, ObjectRelationDefinition, ObjectRelationDeleteBehavior, ObjectRelationSemantics, ObjectTypeRegistration, ObjectTypeRegistrationInput, PolicyRegistration, StateMachineRegistration, createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateModuleNamespace } from './modules/index.cjs';
6
+ export { CapabilityActionIntent, CapabilityMetadata, CapabilityPortRequirement, CapabilityRequirements, CapabilitySlotDefinition, DeclarativeInvariant, EventTypeRegistration, EventTypeRegistrationInput, FabricModule, IdPrefixRegistration, InvariantEnforcement, ModuleDependency, ModuleDependencyInput, ModuleDisplayRendererRegistration, ModuleRegistry, ObjectRelationCardinality, ObjectRelationDefinition, ObjectRelationDeleteBehavior, ObjectRelationSemantics, ObjectTypeRegistration, ObjectTypeRegistrationInput, PolicyRegistration, StateMachineRegistration, createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateModuleNamespace } from './modules/index.cjs';
7
7
  export { FabricObjectType, JsonPrimitive, JsonValue, PortableJsonSchema, assertObjectType, assertPortableJsonSchema, getRegisteredObjectTypes, isValidObjectType, registerObjectType } 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, RuntimePolicyDefinition, aggregatePolicyOutcomes, assertPolicyId, evaluatePolicyDefinition, evaluatePolicyDefinitions, evaluateRegisteredPolicies, getRegisteredPolicyIds, registerPolicy, registerPolicyIfMissing, resolvePolicy, validateDataPolicyDefinition, validatePolicyGuidance } from './policies/index.cjs';
9
9
  export { StateClass, StateDefinition, StateMachineDatabaseClient, StateMachineDefinition, TransitionContext, getAllowedTransitions, getEntityStateClass, registerStateMachine, registerStateMachineIfMissing, resolveStateMachine, validateTransition } from './state-machines/index.cjs';
10
- export { ReplayEventsOptions, ReplayEventsResult, ReplayScope, ReplaySnapshot, ReplayViewOptions, ReplayWarning, ReplayWarningCode, ReplayableAssetEvent, ViewContract, ViewEventConsumption, getRegisteredViewContractKeys, registerViewContract, registerViewContractIfMissing, replayEvents, replayView, resolveViewContract, viewContractKey } from './projections/index.cjs';
10
+ export { ReplayEventsOptions, ReplayEventsResult, ReplayScope, ReplaySnapshot, ReplayViewOptions, ReplayWarning, ReplayWarningCode, ReplayableAssetEvent, ViewContract, ViewEventConsumption, ViewUsageMetadata, getRegisteredViewContractKeys, registerViewContract, registerViewContractIfMissing, replayEvents, replayView, resolveViewContract, viewContractKey } from './projections/index.cjs';
11
11
  export { CachedDisplayDescriptor, DisplayContext, DisplayDatabaseClient, DisplayDescriptor, DisplayRenderer, DisplayRendererRegistration, denormalizeDisplaySnapshot, registerDisplayRenderer, renderEventDisplay, resolveDisplayRenderer } from './displays/index.cjs';
12
12
  export { ANONYMIZATION_POLICY_VERSION, AnalyticsDataContract, AnalyticsDataContractSource, AnalyticsEligibilityDecision, AnonymizationContext, AnonymizationEngine, AnonymizationFieldMetadata, AnonymizationLifecycleEvidence, AnonymizationMetadata, AnonymizationResult, AssetEventLike, DataClassificationRule, EvidencePacketLike, FieldRedactor, PLATFORM_PRIVACY_POLICY_VERSION, PlatformDataClass, RedactionMethod, RedactionRule, RetentionRule, anonymizeAssetEventPayload, anonymizeEvidencePacket, anonymizeJsonValue, buildAnonymizationLifecycleEvidence, stableChecksum } from './privacy/index.cjs';
13
13
  export { EvidenceGenerationContext, EvidencePacketEnvelope, EvidencePacketReference, EvidencePacketStatus, EvidencePacketSubject, EvidenceRenderer } from './evidence/index.cjs';
package/dist/index.d.ts CHANGED
@@ -1,13 +1,13 @@
1
- export { ACTOR_TYPES, ActionContext, ActionDefinition, ActionHandler, ActionId, ActionResult, ActionStateMachineBinding, ActionStatus, ActorType, AdapterStep, AdapterStepRetryPolicy, FabricRuntimeServices, SagaChildActionInput, SagaCompletion, SagaCompletionEvent, SagaContext, SagaImplementation, SagaRunChild, SchemaParseIssue, SchemaParseResult, SchemaValidator, assertActionId, assertActorType, getRegisteredActionIds, isActorType, isRegisteredActionId, registerAction, registerActionIfMissing, resolveAction, resolveRegisteredAction } from './actions/index.js';
1
+ export { ACTOR_TYPES, ActionCompletionMode, ActionConnectivity, ActionConsistency, ActionContext, ActionDataSensitivity, ActionDefinition, ActionExecutionContract, ActionHandler, ActionId, ActionIdempotencyStance, ActionResult, ActionStateMachineBinding, ActionStatus, ActorType, AdapterStep, AdapterStepRetryPolicy, AuthorityMoment, FabricRuntimeServices, SagaChildActionInput, SagaCompletion, SagaCompletionEvent, SagaContext, SagaImplementation, SagaRunChild, SchemaParseIssue, SchemaParseResult, SchemaValidator, assertActionId, assertActorType, getRegisteredActionIds, isActorType, isRegisteredActionId, registerAction, registerActionIfMissing, resolveAction, resolveRegisteredAction } from './actions/index.js';
2
2
  export { AdapterAttempt, AdapterCircuitBreakerConfig, AdapterExecutionContext, AdapterExecutionResult, AdapterExecutor, AdapterImplementation, AdapterRegistry, AdapterRetryPolicy, ExecuteWithRetryOptions, MissingAdapterRegistrationError, ResolvedAdapterRetryPolicy, executeWithAdapterRetry, getRetryDelayMs, resolveAdapterRetryPolicy } from './adapters/index.js';
3
- export { AssetEventActorType, AssetEventEnvelope, AssetEventSubjectType, AssetEventType, EventTypeRegistry, createEventTypeRegistry, getRegisteredEventTypes, getRegisteredSubjectTypes, isValidEventType, isValidSubjectType, registerEventType, registerSubjectType } from './events/index.js';
3
+ export { AssetEventActorType, AssetEventEnvelope, AssetEventSubjectType, AssetEventType, EventProvenance, EventTypeRegistry, createEventTypeRegistry, getRegisteredEventTypes, getRegisteredSubjectTypes, isValidEventType, isValidSubjectType, registerEventType, registerSubjectType } 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, CapabilitySlotDefinition, DeclarativeInvariant, EventTypeRegistration, EventTypeRegistrationInput, FabricModule, IdPrefixRegistration, InvariantEnforcement, ModuleDependency, ModuleDependencyInput, ModuleDisplayRendererRegistration, ModuleRegistry, ObjectRelationCardinality, ObjectRelationDefinition, ObjectRelationDeleteBehavior, ObjectRelationSemantics, ObjectTypeRegistration, ObjectTypeRegistrationInput, PolicyRegistration, StateMachineRegistration, createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateModuleNamespace } from './modules/index.js';
6
+ export { CapabilityActionIntent, CapabilityMetadata, CapabilityPortRequirement, CapabilityRequirements, CapabilitySlotDefinition, DeclarativeInvariant, EventTypeRegistration, EventTypeRegistrationInput, FabricModule, IdPrefixRegistration, InvariantEnforcement, ModuleDependency, ModuleDependencyInput, ModuleDisplayRendererRegistration, ModuleRegistry, ObjectRelationCardinality, ObjectRelationDefinition, ObjectRelationDeleteBehavior, ObjectRelationSemantics, ObjectTypeRegistration, ObjectTypeRegistrationInput, PolicyRegistration, StateMachineRegistration, createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateModuleNamespace } from './modules/index.js';
7
7
  export { FabricObjectType, JsonPrimitive, JsonValue, PortableJsonSchema, assertObjectType, assertPortableJsonSchema, getRegisteredObjectTypes, isValidObjectType, registerObjectType } 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, RuntimePolicyDefinition, aggregatePolicyOutcomes, assertPolicyId, evaluatePolicyDefinition, evaluatePolicyDefinitions, evaluateRegisteredPolicies, getRegisteredPolicyIds, registerPolicy, registerPolicyIfMissing, resolvePolicy, validateDataPolicyDefinition, validatePolicyGuidance } from './policies/index.js';
9
9
  export { StateClass, StateDefinition, StateMachineDatabaseClient, StateMachineDefinition, TransitionContext, getAllowedTransitions, getEntityStateClass, registerStateMachine, registerStateMachineIfMissing, resolveStateMachine, validateTransition } from './state-machines/index.js';
10
- export { ReplayEventsOptions, ReplayEventsResult, ReplayScope, ReplaySnapshot, ReplayViewOptions, ReplayWarning, ReplayWarningCode, ReplayableAssetEvent, ViewContract, ViewEventConsumption, getRegisteredViewContractKeys, registerViewContract, registerViewContractIfMissing, replayEvents, replayView, resolveViewContract, viewContractKey } from './projections/index.js';
10
+ export { ReplayEventsOptions, ReplayEventsResult, ReplayScope, ReplaySnapshot, ReplayViewOptions, ReplayWarning, ReplayWarningCode, ReplayableAssetEvent, ViewContract, ViewEventConsumption, ViewUsageMetadata, getRegisteredViewContractKeys, registerViewContract, registerViewContractIfMissing, replayEvents, replayView, resolveViewContract, viewContractKey } from './projections/index.js';
11
11
  export { CachedDisplayDescriptor, DisplayContext, DisplayDatabaseClient, DisplayDescriptor, DisplayRenderer, DisplayRendererRegistration, denormalizeDisplaySnapshot, registerDisplayRenderer, renderEventDisplay, resolveDisplayRenderer } from './displays/index.js';
12
12
  export { ANONYMIZATION_POLICY_VERSION, AnalyticsDataContract, AnalyticsDataContractSource, AnalyticsEligibilityDecision, AnonymizationContext, AnonymizationEngine, AnonymizationFieldMetadata, AnonymizationLifecycleEvidence, AnonymizationMetadata, AnonymizationResult, AssetEventLike, DataClassificationRule, EvidencePacketLike, FieldRedactor, PLATFORM_PRIVACY_POLICY_VERSION, PlatformDataClass, RedactionMethod, RedactionRule, RetentionRule, anonymizeAssetEventPayload, anonymizeEvidencePacket, anonymizeJsonValue, buildAnonymizationLifecycleEvidence, stableChecksum } from './privacy/index.js';
13
13
  export { EvidenceGenerationContext, EvidencePacketEnvelope, EvidencePacketReference, EvidencePacketStatus, EvidencePacketSubject, EvidenceRenderer } from './evidence/index.js';
package/dist/index.js CHANGED
@@ -1,17 +1,17 @@
1
1
  export { createDeterministicIdFactory, createFakeActionContext, createInMemoryAdapterRegistry } from './chunk-IFMZPLM4.js';
2
2
  export { FABRIC_ID_PREFIXES, createFabricId, isFabricId, parseFabricId } from './chunk-RALMUSOX.js';
3
- export { MODULE_MANIFEST_VERSION, exportModuleManifest, exportModuleManifestBundle, isJsonSchemaExportableValidator, normalizeModuleManifest, normalizeModuleManifestBundle } from './chunk-N3OUWEYA.js';
4
- export { createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateModuleNamespace } from './chunk-NFHS5NWD.js';
3
+ export { MODULE_MANIFEST_VERSION, exportModuleManifest, exportModuleManifestBundle, isJsonSchemaExportableValidator, normalizeModuleManifest, normalizeModuleManifestBundle } from './chunk-ZO6HPMCK.js';
4
+ export { createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateModuleNamespace } from './chunk-5PDVZXEI.js';
5
5
  export { assertObjectType, assertPortableJsonSchema, getRegisteredObjectTypes, isValidObjectType, registerObjectType } from './chunk-4MMMXV4Q.js';
6
6
  export { aggregatePolicyOutcomes, assertPolicyId, evaluatePolicyDefinition, evaluatePolicyDefinitions, evaluateRegisteredPolicies, getRegisteredPolicyIds, registerPolicy, registerPolicyIfMissing, resolvePolicy, validateDataPolicyDefinition, validatePolicyGuidance } from './chunk-6ER62UUN.js';
7
7
  export { ANONYMIZATION_POLICY_VERSION, AnonymizationEngine, FieldRedactor, PLATFORM_PRIVACY_POLICY_VERSION, anonymizeAssetEventPayload, anonymizeEvidencePacket, anonymizeJsonValue, buildAnonymizationLifecycleEvidence, stableChecksum } from './chunk-X7WC4AYC.js';
8
- export { getRegisteredViewContractKeys, registerViewContract, registerViewContractIfMissing, replayEvents, replayView, resolveViewContract, viewContractKey } from './chunk-FN6IYVBK.js';
8
+ export { getRegisteredViewContractKeys, registerViewContract, registerViewContractIfMissing, replayEvents, replayView, resolveViewContract, viewContractKey } from './chunk-LXS6SURU.js';
9
9
  export { getAllowedTransitions, getEntityStateClass, registerStateMachine, registerStateMachineIfMissing, resolveStateMachine, validateTransition } from './chunk-T2JLSZN6.js';
10
- export { ACTOR_TYPES, assertActionId, assertActorType, getRegisteredActionIds, isActorType, isRegisteredActionId, registerAction, registerActionIfMissing, resolveAction, resolveRegisteredAction } from './chunk-JM55UQWK.js';
10
+ export { ACTOR_TYPES, assertActionId, assertActorType, getRegisteredActionIds, isActorType, isRegisteredActionId, registerAction, registerActionIfMissing, resolveAction, resolveRegisteredAction } from './chunk-4RMKUYRX.js';
11
11
  export { AdapterRegistry, MissingAdapterRegistrationError, executeWithAdapterRetry, getRetryDelayMs, resolveAdapterRetryPolicy } from './chunk-3ZW5USXF.js';
12
12
  export { AgentActionPolicyRegistry } from './chunk-OFCCZ27Z.js';
13
13
  export { denormalizeDisplaySnapshot, registerDisplayRenderer, renderEventDisplay, resolveDisplayRenderer } from './chunk-O5WVBQ7P.js';
14
- export { createEventTypeRegistry, getRegisteredEventTypes, getRegisteredSubjectTypes, isValidEventType, isValidSubjectType, registerEventType, registerSubjectType } from './chunk-4YQOGV7H.js';
14
+ export { createEventTypeRegistry, getRegisteredEventTypes, getRegisteredSubjectTypes, isValidEventType, isValidSubjectType, registerEventType, registerSubjectType } from './chunk-3O4GMCCE.js';
15
15
  import './chunk-OZLZHISS.js';
16
16
  export { FABRIC_GOVERNANCE_CONTRACT_VERSION, assertGovernanceRuntimeEvidence, assertMutationGovernanceContext } from './chunk-3OWMPDBD.js';
17
17
  //# sourceMappingURL=index.js.map
@@ -1,40 +1,40 @@
1
1
  'use strict';
2
2
 
3
- var chunkJIT3UR27_cjs = require('../chunk-JIT3UR27.cjs');
4
- require('../chunk-K27DUWRY.cjs');
3
+ var chunkMCD5VT4E_cjs = require('../chunk-MCD5VT4E.cjs');
4
+ require('../chunk-ROC326VL.cjs');
5
5
  require('../chunk-OC4ZFJKD.cjs');
6
6
  require('../chunk-NJL3US7H.cjs');
7
- require('../chunk-3WEHM2P3.cjs');
7
+ require('../chunk-45TSN3GO.cjs');
8
8
  require('../chunk-UV252FLT.cjs');
9
- require('../chunk-HLRIXNVG.cjs');
9
+ require('../chunk-JOATYJXQ.cjs');
10
10
  require('../chunk-EO4VSB2O.cjs');
11
- require('../chunk-JAXDEK5Z.cjs');
11
+ require('../chunk-7RV5REPT.cjs');
12
12
 
13
13
 
14
14
 
15
15
  Object.defineProperty(exports, "MODULE_MANIFEST_VERSION", {
16
16
  enumerable: true,
17
- get: function () { return chunkJIT3UR27_cjs.MODULE_MANIFEST_VERSION; }
17
+ get: function () { return chunkMCD5VT4E_cjs.MODULE_MANIFEST_VERSION; }
18
18
  });
19
19
  Object.defineProperty(exports, "exportModuleManifest", {
20
20
  enumerable: true,
21
- get: function () { return chunkJIT3UR27_cjs.exportModuleManifest; }
21
+ get: function () { return chunkMCD5VT4E_cjs.exportModuleManifest; }
22
22
  });
23
23
  Object.defineProperty(exports, "exportModuleManifestBundle", {
24
24
  enumerable: true,
25
- get: function () { return chunkJIT3UR27_cjs.exportModuleManifestBundle; }
25
+ get: function () { return chunkMCD5VT4E_cjs.exportModuleManifestBundle; }
26
26
  });
27
27
  Object.defineProperty(exports, "isJsonSchemaExportableValidator", {
28
28
  enumerable: true,
29
- get: function () { return chunkJIT3UR27_cjs.isJsonSchemaExportableValidator; }
29
+ get: function () { return chunkMCD5VT4E_cjs.isJsonSchemaExportableValidator; }
30
30
  });
31
31
  Object.defineProperty(exports, "normalizeModuleManifest", {
32
32
  enumerable: true,
33
- get: function () { return chunkJIT3UR27_cjs.normalizeModuleManifest; }
33
+ get: function () { return chunkMCD5VT4E_cjs.normalizeModuleManifest; }
34
34
  });
35
35
  Object.defineProperty(exports, "normalizeModuleManifestBundle", {
36
36
  enumerable: true,
37
- get: function () { return chunkJIT3UR27_cjs.normalizeModuleManifestBundle; }
37
+ get: function () { return chunkMCD5VT4E_cjs.normalizeModuleManifestBundle; }
38
38
  });
39
39
  //# sourceMappingURL=index.cjs.map
40
40
  //# sourceMappingURL=index.cjs.map
@@ -1,10 +1,10 @@
1
- import { SchemaValidator, AdapterStepRetryPolicy } from '../actions/index.cjs';
1
+ import { SchemaValidator, ActionExecutionContract, AdapterStepRetryPolicy } from '../actions/index.cjs';
2
2
  import { CapabilityMetadata, ModuleDependency, ObjectRelationDefinition, DeclarativeInvariant, FabricModule } from '../modules/index.cjs';
3
3
  import { PortableJsonSchema, JsonValue } from '../objects/index.cjs';
4
4
  import { PolicyKind, DataPolicyDefinition, PolicyFallbackDefinition } from '../policies/index.cjs';
5
5
  import { StateDefinition } from '../state-machines/index.cjs';
6
+ import { ViewContract } from '../projections/index.cjs';
6
7
  import '../displays/index.cjs';
7
- import '../projections/index.cjs';
8
8
 
9
9
  /**
10
10
  * Version of the module manifest contract. Bump when the serialized shape
@@ -28,6 +28,7 @@ interface ModuleManifestEventType {
28
28
  eventType: string;
29
29
  schemaVersion: number;
30
30
  description?: string;
31
+ schema?: PortableJsonSchema;
31
32
  }
32
33
  interface ModuleManifestActionStateMachine {
33
34
  entityType: string;
@@ -50,6 +51,7 @@ interface ModuleManifestAction {
50
51
  requiredRoles?: string[];
51
52
  requiredPermissions?: string[];
52
53
  eventPhase?: "before_adapters" | "after_adapters";
54
+ execution?: ActionExecutionContract;
53
55
  /**
54
56
  * JSON Schema for the action parameters, present only when the action's
55
57
  * `schema` validator implements {@link JsonSchemaExportableValidator}.
@@ -101,6 +103,7 @@ interface ModuleManifestView {
101
103
  scope: "tenant-space";
102
104
  snapshotVersion: number;
103
105
  compatibleSnapshotVersions?: number[];
106
+ usage?: ViewContract["usage"];
104
107
  }
105
108
  /**
106
109
  * Stable, JSON-serializable description of a {@link FabricModule}'s ontology:
@@ -1,10 +1,10 @@
1
- import { SchemaValidator, AdapterStepRetryPolicy } from '../actions/index.js';
1
+ import { SchemaValidator, ActionExecutionContract, AdapterStepRetryPolicy } from '../actions/index.js';
2
2
  import { CapabilityMetadata, ModuleDependency, ObjectRelationDefinition, DeclarativeInvariant, FabricModule } from '../modules/index.js';
3
3
  import { PortableJsonSchema, JsonValue } from '../objects/index.js';
4
4
  import { PolicyKind, DataPolicyDefinition, PolicyFallbackDefinition } from '../policies/index.js';
5
5
  import { StateDefinition } from '../state-machines/index.js';
6
+ import { ViewContract } from '../projections/index.js';
6
7
  import '../displays/index.js';
7
- import '../projections/index.js';
8
8
 
9
9
  /**
10
10
  * Version of the module manifest contract. Bump when the serialized shape
@@ -28,6 +28,7 @@ interface ModuleManifestEventType {
28
28
  eventType: string;
29
29
  schemaVersion: number;
30
30
  description?: string;
31
+ schema?: PortableJsonSchema;
31
32
  }
32
33
  interface ModuleManifestActionStateMachine {
33
34
  entityType: string;
@@ -50,6 +51,7 @@ interface ModuleManifestAction {
50
51
  requiredRoles?: string[];
51
52
  requiredPermissions?: string[];
52
53
  eventPhase?: "before_adapters" | "after_adapters";
54
+ execution?: ActionExecutionContract;
53
55
  /**
54
56
  * JSON Schema for the action parameters, present only when the action's
55
57
  * `schema` validator implements {@link JsonSchemaExportableValidator}.
@@ -101,6 +103,7 @@ interface ModuleManifestView {
101
103
  scope: "tenant-space";
102
104
  snapshotVersion: number;
103
105
  compatibleSnapshotVersions?: number[];
106
+ usage?: ViewContract["usage"];
104
107
  }
105
108
  /**
106
109
  * Stable, JSON-serializable description of a {@link FabricModule}'s ontology:
@@ -1,11 +1,11 @@
1
- export { MODULE_MANIFEST_VERSION, exportModuleManifest, exportModuleManifestBundle, isJsonSchemaExportableValidator, normalizeModuleManifest, normalizeModuleManifestBundle } from '../chunk-N3OUWEYA.js';
2
- import '../chunk-NFHS5NWD.js';
1
+ export { MODULE_MANIFEST_VERSION, exportModuleManifest, exportModuleManifestBundle, isJsonSchemaExportableValidator, normalizeModuleManifest, normalizeModuleManifestBundle } from '../chunk-ZO6HPMCK.js';
2
+ import '../chunk-5PDVZXEI.js';
3
3
  import '../chunk-4MMMXV4Q.js';
4
4
  import '../chunk-6ER62UUN.js';
5
- import '../chunk-FN6IYVBK.js';
5
+ import '../chunk-LXS6SURU.js';
6
6
  import '../chunk-T2JLSZN6.js';
7
- import '../chunk-JM55UQWK.js';
7
+ import '../chunk-4RMKUYRX.js';
8
8
  import '../chunk-O5WVBQ7P.js';
9
- import '../chunk-4YQOGV7H.js';
9
+ import '../chunk-3O4GMCCE.js';
10
10
  //# sourceMappingURL=index.js.map
11
11
  //# sourceMappingURL=index.js.map
@@ -1,43 +1,43 @@
1
1
  'use strict';
2
2
 
3
- var chunkK27DUWRY_cjs = require('../chunk-K27DUWRY.cjs');
3
+ var chunkROC326VL_cjs = require('../chunk-ROC326VL.cjs');
4
4
  require('../chunk-OC4ZFJKD.cjs');
5
5
  require('../chunk-NJL3US7H.cjs');
6
- require('../chunk-3WEHM2P3.cjs');
6
+ require('../chunk-45TSN3GO.cjs');
7
7
  require('../chunk-UV252FLT.cjs');
8
- require('../chunk-HLRIXNVG.cjs');
8
+ require('../chunk-JOATYJXQ.cjs');
9
9
  require('../chunk-EO4VSB2O.cjs');
10
- require('../chunk-JAXDEK5Z.cjs');
10
+ require('../chunk-7RV5REPT.cjs');
11
11
 
12
12
 
13
13
 
14
14
  Object.defineProperty(exports, "createModuleRegistry", {
15
15
  enumerable: true,
16
- get: function () { return chunkK27DUWRY_cjs.createModuleRegistry; }
16
+ get: function () { return chunkROC326VL_cjs.createModuleRegistry; }
17
17
  });
18
18
  Object.defineProperty(exports, "getEventTypeName", {
19
19
  enumerable: true,
20
- get: function () { return chunkK27DUWRY_cjs.getEventTypeName; }
20
+ get: function () { return chunkROC326VL_cjs.getEventTypeName; }
21
21
  });
22
22
  Object.defineProperty(exports, "getModuleDependencyNamespace", {
23
23
  enumerable: true,
24
- get: function () { return chunkK27DUWRY_cjs.getModuleDependencyNamespace; }
24
+ get: function () { return chunkROC326VL_cjs.getModuleDependencyNamespace; }
25
25
  });
26
26
  Object.defineProperty(exports, "getObjectTypeName", {
27
27
  enumerable: true,
28
- get: function () { return chunkK27DUWRY_cjs.getObjectTypeName; }
28
+ get: function () { return chunkROC326VL_cjs.getObjectTypeName; }
29
29
  });
30
30
  Object.defineProperty(exports, "registerFabricModule", {
31
31
  enumerable: true,
32
- get: function () { return chunkK27DUWRY_cjs.registerFabricModule; }
32
+ get: function () { return chunkROC326VL_cjs.registerFabricModule; }
33
33
  });
34
34
  Object.defineProperty(exports, "registerFabricModules", {
35
35
  enumerable: true,
36
- get: function () { return chunkK27DUWRY_cjs.registerFabricModules; }
36
+ get: function () { return chunkROC326VL_cjs.registerFabricModules; }
37
37
  });
38
38
  Object.defineProperty(exports, "validateModuleNamespace", {
39
39
  enumerable: true,
40
- get: function () { return chunkK27DUWRY_cjs.validateModuleNamespace; }
40
+ get: function () { return chunkROC326VL_cjs.validateModuleNamespace; }
41
41
  });
42
42
  //# sourceMappingURL=index.cjs.map
43
43
  //# sourceMappingURL=index.cjs.map
@@ -18,6 +18,7 @@ interface EventTypeRegistration {
18
18
  eventType: string;
19
19
  schemaVersion: number;
20
20
  description?: string;
21
+ schema?: PortableJsonSchema;
21
22
  }
22
23
  type EventTypeRegistrationInput = string | EventTypeRegistration;
23
24
  interface ObjectTypeRegistration {
@@ -68,6 +69,25 @@ interface CapabilitySlotDefinition {
68
69
  description: string;
69
70
  shape?: PortableJsonSchema;
70
71
  }
72
+ interface CapabilityActionIntent {
73
+ name: string;
74
+ actionId: `${string}.${string}`;
75
+ description?: string;
76
+ }
77
+ interface CapabilityPortRequirement {
78
+ name: string;
79
+ version?: string;
80
+ standard?: {
81
+ name: string;
82
+ version?: string;
83
+ };
84
+ }
85
+ interface CapabilityRequirements {
86
+ ports?: CapabilityPortRequirement[];
87
+ permissions?: string[];
88
+ entitlements?: string[];
89
+ featureFlags?: string[];
90
+ }
71
91
  interface CapabilityMetadata {
72
92
  displayName: string;
73
93
  description: string;
@@ -79,6 +99,8 @@ interface CapabilityMetadata {
79
99
  message: string;
80
100
  };
81
101
  slots?: CapabilitySlotDefinition[];
102
+ actionIntents?: CapabilityActionIntent[];
103
+ requirements?: CapabilityRequirements;
82
104
  certification?: {
83
105
  profile: string;
84
106
  required: boolean;
@@ -119,4 +141,4 @@ declare function createModuleRegistry<TDb = unknown>(modules?: FabricModule<TDb>
119
141
  declare function registerFabricModule(module: FabricModule<unknown>): void;
120
142
  declare function registerFabricModules(modules: FabricModule<unknown>[]): FabricModule<unknown>[];
121
143
 
122
- export { type CapabilityMetadata, type CapabilitySlotDefinition, type DeclarativeInvariant, type EventTypeRegistration, type EventTypeRegistrationInput, type FabricModule, type IdPrefixRegistration, type InvariantEnforcement, type ModuleDependency, type ModuleDependencyInput, type ModuleDisplayRendererRegistration, type ModuleRegistry, type ObjectRelationCardinality, type ObjectRelationDefinition, type ObjectRelationDeleteBehavior, type ObjectRelationSemantics, type ObjectTypeRegistration, type ObjectTypeRegistrationInput, type PolicyRegistration, type StateMachineRegistration, createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateModuleNamespace };
144
+ export { type CapabilityActionIntent, type CapabilityMetadata, type CapabilityPortRequirement, type CapabilityRequirements, type CapabilitySlotDefinition, type DeclarativeInvariant, type EventTypeRegistration, type EventTypeRegistrationInput, type FabricModule, type IdPrefixRegistration, type InvariantEnforcement, type ModuleDependency, type ModuleDependencyInput, type ModuleDisplayRendererRegistration, type ModuleRegistry, type ObjectRelationCardinality, type ObjectRelationDefinition, type ObjectRelationDeleteBehavior, type ObjectRelationSemantics, type ObjectTypeRegistration, type ObjectTypeRegistrationInput, type PolicyRegistration, type StateMachineRegistration, createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateModuleNamespace };
@@ -18,6 +18,7 @@ interface EventTypeRegistration {
18
18
  eventType: string;
19
19
  schemaVersion: number;
20
20
  description?: string;
21
+ schema?: PortableJsonSchema;
21
22
  }
22
23
  type EventTypeRegistrationInput = string | EventTypeRegistration;
23
24
  interface ObjectTypeRegistration {
@@ -68,6 +69,25 @@ interface CapabilitySlotDefinition {
68
69
  description: string;
69
70
  shape?: PortableJsonSchema;
70
71
  }
72
+ interface CapabilityActionIntent {
73
+ name: string;
74
+ actionId: `${string}.${string}`;
75
+ description?: string;
76
+ }
77
+ interface CapabilityPortRequirement {
78
+ name: string;
79
+ version?: string;
80
+ standard?: {
81
+ name: string;
82
+ version?: string;
83
+ };
84
+ }
85
+ interface CapabilityRequirements {
86
+ ports?: CapabilityPortRequirement[];
87
+ permissions?: string[];
88
+ entitlements?: string[];
89
+ featureFlags?: string[];
90
+ }
71
91
  interface CapabilityMetadata {
72
92
  displayName: string;
73
93
  description: string;
@@ -79,6 +99,8 @@ interface CapabilityMetadata {
79
99
  message: string;
80
100
  };
81
101
  slots?: CapabilitySlotDefinition[];
102
+ actionIntents?: CapabilityActionIntent[];
103
+ requirements?: CapabilityRequirements;
82
104
  certification?: {
83
105
  profile: string;
84
106
  required: boolean;
@@ -119,4 +141,4 @@ declare function createModuleRegistry<TDb = unknown>(modules?: FabricModule<TDb>
119
141
  declare function registerFabricModule(module: FabricModule<unknown>): void;
120
142
  declare function registerFabricModules(modules: FabricModule<unknown>[]): FabricModule<unknown>[];
121
143
 
122
- export { type CapabilityMetadata, type CapabilitySlotDefinition, type DeclarativeInvariant, type EventTypeRegistration, type EventTypeRegistrationInput, type FabricModule, type IdPrefixRegistration, type InvariantEnforcement, type ModuleDependency, type ModuleDependencyInput, type ModuleDisplayRendererRegistration, type ModuleRegistry, type ObjectRelationCardinality, type ObjectRelationDefinition, type ObjectRelationDeleteBehavior, type ObjectRelationSemantics, type ObjectTypeRegistration, type ObjectTypeRegistrationInput, type PolicyRegistration, type StateMachineRegistration, createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateModuleNamespace };
144
+ export { type CapabilityActionIntent, type CapabilityMetadata, type CapabilityPortRequirement, type CapabilityRequirements, type CapabilitySlotDefinition, type DeclarativeInvariant, type EventTypeRegistration, type EventTypeRegistrationInput, type FabricModule, type IdPrefixRegistration, type InvariantEnforcement, type ModuleDependency, type ModuleDependencyInput, type ModuleDisplayRendererRegistration, type ModuleRegistry, type ObjectRelationCardinality, type ObjectRelationDefinition, type ObjectRelationDeleteBehavior, type ObjectRelationSemantics, type ObjectTypeRegistration, type ObjectTypeRegistrationInput, type PolicyRegistration, type StateMachineRegistration, createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateModuleNamespace };
@@ -1,10 +1,10 @@
1
- export { createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateModuleNamespace } from '../chunk-NFHS5NWD.js';
1
+ export { createModuleRegistry, getEventTypeName, getModuleDependencyNamespace, getObjectTypeName, registerFabricModule, registerFabricModules, validateModuleNamespace } from '../chunk-5PDVZXEI.js';
2
2
  import '../chunk-4MMMXV4Q.js';
3
3
  import '../chunk-6ER62UUN.js';
4
- import '../chunk-FN6IYVBK.js';
4
+ import '../chunk-LXS6SURU.js';
5
5
  import '../chunk-T2JLSZN6.js';
6
- import '../chunk-JM55UQWK.js';
6
+ import '../chunk-4RMKUYRX.js';
7
7
  import '../chunk-O5WVBQ7P.js';
8
- import '../chunk-4YQOGV7H.js';
8
+ import '../chunk-3O4GMCCE.js';
9
9
  //# sourceMappingURL=index.js.map
10
10
  //# sourceMappingURL=index.js.map