@ixo/topic-protocol 1.0.0-rc.1 → 1.0.0-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/README.md +1 -1
  2. package/dist/schemas/topic-contract-body.schema.json +12 -21
  3. package/dist/schemas/topic-contract-state.schema.json +18 -93
  4. package/dist/schemas/topic-operation.schema.json +2 -2
  5. package/dist/schemas/topic-root.schema.json +5 -1
  6. package/dist/schemas/topic-shape.schema.json +5 -4
  7. package/dist/src/contracts/schemas.d.ts +394 -75
  8. package/dist/src/contracts/topic-contract.d.ts +15 -1
  9. package/dist/src/contracts/topic-contract.js.map +1 -1
  10. package/dist/src/index.d.ts +4 -4
  11. package/dist/src/index.js +1 -1
  12. package/dist/src/index.js.map +1 -1
  13. package/dist/src/projector/payload.d.ts +34 -0
  14. package/dist/src/projector/payload.js +93 -2
  15. package/dist/src/projector/payload.js.map +1 -1
  16. package/dist/src/projector/state.js +54 -0
  17. package/dist/src/projector/state.js.map +1 -1
  18. package/dist/src/projector/types.d.ts +44 -2
  19. package/dist/src/projector/types.js.map +1 -1
  20. package/dist/src/shapes/now.d.ts +2 -2
  21. package/dist/src/shapes/now.js +38 -19
  22. package/dist/src/shapes/now.js.map +1 -1
  23. package/dist/src/shapes/progress.d.ts +3 -3
  24. package/dist/src/shapes/progress.js +391 -77
  25. package/dist/src/shapes/progress.js.map +1 -1
  26. package/dist/src/shapes/recipes.js +102 -53
  27. package/dist/src/shapes/recipes.js.map +1 -1
  28. package/dist/src/shapes/resolver.js +13 -3
  29. package/dist/src/shapes/resolver.js.map +1 -1
  30. package/dist/src/shapes/state.d.ts +72 -20
  31. package/dist/src/shapes/state.js +1 -0
  32. package/dist/src/shapes/state.js.map +1 -1
  33. package/dist/src/shapes/types.d.ts +155 -4
  34. package/dist/src/shapes/types.js +3 -1
  35. package/dist/src/shapes/types.js.map +1 -1
  36. package/package.json +1 -1
  37. package/recipes/agent-delivery.json +166 -33
  38. package/recipes/registry.json +6 -6
  39. package/recipes/research-brief.json +148 -30
  40. package/recipes/verified-work-payment.json +172 -34
@@ -4718,9 +4718,6 @@ export declare const SCHEMA_REGISTRY: Readonly<{
4718
4718
  type: string;
4719
4719
  minLength: number;
4720
4720
  };
4721
- status: {
4722
- enum: string[];
4723
- };
4724
4721
  kindRef: {
4725
4722
  type: string;
4726
4723
  };
@@ -4772,6 +4769,12 @@ export declare const SCHEMA_REGISTRY: Readonly<{
4772
4769
  };
4773
4770
  additionalProperties: boolean;
4774
4771
  };
4772
+ activationPolicy: {
4773
+ $ref: string;
4774
+ };
4775
+ assentPolicy: {
4776
+ $ref: string;
4777
+ };
4775
4778
  locale: {
4776
4779
  type: string;
4777
4780
  };
@@ -4908,6 +4911,133 @@ export declare const SCHEMA_REGISTRY: Readonly<{
4908
4911
  };
4909
4912
  additionalProperties: boolean;
4910
4913
  };
4914
+ subject: {
4915
+ type: string;
4916
+ required: string[];
4917
+ properties: {
4918
+ kind: {
4919
+ enum: string[];
4920
+ };
4921
+ id: {
4922
+ type: string;
4923
+ minLength: number;
4924
+ };
4925
+ };
4926
+ additionalProperties: boolean;
4927
+ };
4928
+ confirmationRule: {
4929
+ type: string;
4930
+ required: string[];
4931
+ properties: {
4932
+ mode: {
4933
+ enum: string[];
4934
+ };
4935
+ subjects: {
4936
+ type: string;
4937
+ minItems: number;
4938
+ items: {
4939
+ $ref: string;
4940
+ };
4941
+ };
4942
+ threshold: {
4943
+ type: string;
4944
+ minimum: number;
4945
+ };
4946
+ };
4947
+ additionalProperties: boolean;
4948
+ };
4949
+ assentPolicy: {
4950
+ type: string;
4951
+ required: string[];
4952
+ properties: {
4953
+ mode: {
4954
+ enum: string[];
4955
+ };
4956
+ signatories: {
4957
+ type: string;
4958
+ minItems: number;
4959
+ items: {
4960
+ $ref: string;
4961
+ };
4962
+ };
4963
+ threshold: {
4964
+ type: string;
4965
+ minimum: number;
4966
+ };
4967
+ };
4968
+ additionalProperties: boolean;
4969
+ };
4970
+ disputePolicy: {
4971
+ type: string;
4972
+ properties: {
4973
+ resolvers: {
4974
+ type: string;
4975
+ minItems: number;
4976
+ items: {
4977
+ $ref: string;
4978
+ };
4979
+ };
4980
+ process: {
4981
+ type: string;
4982
+ required: string[];
4983
+ properties: {
4984
+ kind: {
4985
+ enum: string[];
4986
+ };
4987
+ id: {
4988
+ type: string;
4989
+ minLength: number;
4990
+ };
4991
+ label: {
4992
+ type: string;
4993
+ };
4994
+ };
4995
+ additionalProperties: boolean;
4996
+ };
4997
+ };
4998
+ additionalProperties: boolean;
4999
+ };
5000
+ activationPolicy: {
5001
+ type: string;
5002
+ properties: {
5003
+ editors: {
5004
+ type: string;
5005
+ minItems: number;
5006
+ items: {
5007
+ $ref: string;
5008
+ };
5009
+ };
5010
+ confirmation: {
5011
+ $ref: string;
5012
+ };
5013
+ lifecycle: {
5014
+ type: string;
5015
+ required: string[];
5016
+ properties: {
5017
+ effectiveAt: {
5018
+ type: string;
5019
+ format: string;
5020
+ };
5021
+ reviewAt: {
5022
+ type: string;
5023
+ format: string;
5024
+ };
5025
+ expiresAt: {
5026
+ type: string;
5027
+ format: string;
5028
+ };
5029
+ onExpiry: {
5030
+ const: string;
5031
+ };
5032
+ };
5033
+ additionalProperties: boolean;
5034
+ };
5035
+ dispute: {
5036
+ $ref: string;
5037
+ };
5038
+ };
5039
+ additionalProperties: boolean;
5040
+ };
4911
5041
  risk: {
4912
5042
  type: string;
4913
5043
  required: string[];
@@ -5123,36 +5253,82 @@ export declare const SCHEMA_REGISTRY: Readonly<{
5123
5253
  };
5124
5254
  contracts: {
5125
5255
  type: string;
5126
- };
5127
- shape: {
5128
- type: string;
5129
- required: string[];
5130
5256
  properties: {
5131
- digest: {
5132
- $ref: string;
5257
+ proposed: {
5258
+ allOf: ({
5259
+ $ref: string;
5260
+ type?: never;
5261
+ properties?: never;
5262
+ } | {
5263
+ type: string;
5264
+ properties: {
5265
+ confirmations: {
5266
+ type: string;
5267
+ items: {
5268
+ type: string;
5269
+ };
5270
+ };
5271
+ assents: {
5272
+ type: string;
5273
+ items: {
5274
+ type: string;
5275
+ };
5276
+ };
5277
+ };
5278
+ $ref?: never;
5279
+ })[];
5133
5280
  };
5134
- sources: {
5135
- type: string;
5136
- minItems: number;
5137
- items: {
5281
+ effective: {
5282
+ allOf: ({
5283
+ $ref: string;
5284
+ type?: never;
5285
+ required?: never;
5286
+ properties?: never;
5287
+ } | {
5138
5288
  type: string;
5139
5289
  required: string[];
5140
5290
  properties: {
5141
- kind: {
5142
- enum: string[];
5143
- };
5144
- id: {
5291
+ effectiveAt: {
5145
5292
  type: string;
5146
5293
  format: string;
5147
5294
  };
5148
- version: {
5295
+ confirmations: {
5149
5296
  type: string;
5297
+ items: {
5298
+ type: string;
5299
+ };
5150
5300
  };
5151
- digest: {
5152
- $ref: string;
5301
+ assents: {
5302
+ type: string;
5303
+ items: {
5304
+ type: string;
5305
+ };
5153
5306
  };
5154
5307
  };
5155
- additionalProperties: boolean;
5308
+ $ref?: never;
5309
+ })[];
5310
+ };
5311
+ superseded: {
5312
+ type: string;
5313
+ items: {
5314
+ type: string;
5315
+ };
5316
+ };
5317
+ };
5318
+ additionalProperties: boolean;
5319
+ };
5320
+ shape: {
5321
+ type: string;
5322
+ required: string[];
5323
+ properties: {
5324
+ digest: {
5325
+ $ref: string;
5326
+ };
5327
+ sources: {
5328
+ type: string;
5329
+ minItems: number;
5330
+ items: {
5331
+ $ref: string;
5156
5332
  };
5157
5333
  };
5158
5334
  };
@@ -5204,6 +5380,18 @@ export declare const SCHEMA_REGISTRY: Readonly<{
5204
5380
  type: string;
5205
5381
  };
5206
5382
  };
5383
+ obligations: {
5384
+ type: string;
5385
+ items: {
5386
+ $ref: string;
5387
+ };
5388
+ };
5389
+ primaryObligationId: {
5390
+ type: string;
5391
+ };
5392
+ evaluatedAt: {
5393
+ type: string;
5394
+ };
5207
5395
  provenance: {
5208
5396
  type: string;
5209
5397
  items: {
@@ -5213,6 +5401,9 @@ export declare const SCHEMA_REGISTRY: Readonly<{
5213
5401
  block: {
5214
5402
  type: string;
5215
5403
  };
5404
+ dispute: {
5405
+ type: string;
5406
+ };
5216
5407
  };
5217
5408
  additionalProperties: boolean;
5218
5409
  };
@@ -5235,6 +5426,9 @@ export declare const SCHEMA_REGISTRY: Readonly<{
5235
5426
  status: {
5236
5427
  enum: string[];
5237
5428
  };
5429
+ setupStatus: {
5430
+ enum: string[];
5431
+ };
5238
5432
  kindRef: {
5239
5433
  type: string;
5240
5434
  };
@@ -5248,35 +5442,9 @@ export declare const SCHEMA_REGISTRY: Readonly<{
5248
5442
  };
5249
5443
  claimBinding: {
5250
5444
  type: string;
5251
- required: string[];
5252
- properties: {
5253
- entityDid: {
5254
- type: string;
5255
- };
5256
- collectionId: {
5257
- type: string;
5258
- };
5259
- };
5260
- additionalProperties: boolean;
5261
5445
  };
5262
5446
  claimResolution: {
5263
5447
  type: string;
5264
- required: string[];
5265
- properties: {
5266
- entityDid: {
5267
- type: string;
5268
- };
5269
- collectionId: {
5270
- type: string;
5271
- };
5272
- protocolDid: {
5273
- type: string;
5274
- };
5275
- rubric: {
5276
- type: string;
5277
- };
5278
- };
5279
- additionalProperties: boolean;
5280
5448
  };
5281
5449
  };
5282
5450
  additionalProperties: boolean;
@@ -5297,40 +5465,12 @@ export declare const SCHEMA_REGISTRY: Readonly<{
5297
5465
  type: string;
5298
5466
  items: {
5299
5467
  type: string;
5300
- required: string[];
5301
- properties: {
5302
- type: {
5303
- enum: string[];
5304
- };
5305
- id: {
5306
- type: string;
5307
- minLength: number;
5308
- };
5309
- label: {
5310
- type: string;
5311
- };
5312
- };
5313
- additionalProperties: boolean;
5314
5468
  };
5315
5469
  };
5316
5470
  udidReferences: {
5317
5471
  type: string;
5318
5472
  items: {
5319
5473
  type: string;
5320
- required: string[];
5321
- properties: {
5322
- id: {
5323
- type: string;
5324
- minLength: number;
5325
- };
5326
- role: {
5327
- enum: string[];
5328
- };
5329
- digest: {
5330
- $ref: string;
5331
- };
5332
- };
5333
- additionalProperties: boolean;
5334
5474
  };
5335
5475
  };
5336
5476
  };
@@ -5359,6 +5499,109 @@ export declare const SCHEMA_REGISTRY: Readonly<{
5359
5499
  condition: {
5360
5500
  enum: string[];
5361
5501
  };
5502
+ shapeSource: {
5503
+ type: string;
5504
+ required: string[];
5505
+ properties: {
5506
+ kind: {
5507
+ enum: string[];
5508
+ };
5509
+ id: {
5510
+ type: string;
5511
+ format: string;
5512
+ };
5513
+ version: {
5514
+ type: string;
5515
+ };
5516
+ digest: {
5517
+ $ref: string;
5518
+ };
5519
+ };
5520
+ additionalProperties: boolean;
5521
+ };
5522
+ contractRef: {
5523
+ type: string;
5524
+ required: string[];
5525
+ properties: {
5526
+ revision: {
5527
+ type: string;
5528
+ };
5529
+ bodyHash: {
5530
+ $ref: string;
5531
+ };
5532
+ bodyRef: {
5533
+ type: string;
5534
+ };
5535
+ body: {
5536
+ type: string;
5537
+ };
5538
+ };
5539
+ additionalProperties: boolean;
5540
+ };
5541
+ obligation: {
5542
+ type: string;
5543
+ required: string[];
5544
+ properties: {
5545
+ id: {
5546
+ type: string;
5547
+ };
5548
+ code: {
5549
+ type: string;
5550
+ };
5551
+ kind: {
5552
+ enum: string[];
5553
+ };
5554
+ phase: {
5555
+ $ref: string;
5556
+ };
5557
+ status: {
5558
+ enum: string[];
5559
+ };
5560
+ priority: {
5561
+ type: string;
5562
+ };
5563
+ blocking: {
5564
+ type: string;
5565
+ };
5566
+ responsibility: {
5567
+ type: string;
5568
+ };
5569
+ assignedActors: {
5570
+ type: string;
5571
+ items: {
5572
+ type: string;
5573
+ };
5574
+ };
5575
+ requiredAbility: {
5576
+ type: string;
5577
+ };
5578
+ consequence: {
5579
+ enum: string[];
5580
+ };
5581
+ focusPath: {
5582
+ type: string;
5583
+ };
5584
+ transitionCode: {
5585
+ type: string;
5586
+ };
5587
+ command: {
5588
+ type: string;
5589
+ };
5590
+ handoff: {
5591
+ type: string;
5592
+ };
5593
+ presentation: {
5594
+ type: string;
5595
+ };
5596
+ provenance: {
5597
+ type: string;
5598
+ items: {
5599
+ type: string;
5600
+ };
5601
+ };
5602
+ };
5603
+ additionalProperties: boolean;
5604
+ };
5362
5605
  temporalTarget: {
5363
5606
  oneOf: {
5364
5607
  type: string;
@@ -6494,6 +6737,9 @@ export declare const SCHEMA_REGISTRY: Readonly<{
6494
6737
  kind: {
6495
6738
  enum: string[];
6496
6739
  };
6740
+ requirement: {
6741
+ $ref: string;
6742
+ };
6497
6743
  };
6498
6744
  additionalProperties: boolean;
6499
6745
  };
@@ -6540,6 +6786,36 @@ export declare const SCHEMA_REGISTRY: Readonly<{
6540
6786
  };
6541
6787
  presentation: {
6542
6788
  type: string;
6789
+ required: string[];
6790
+ properties: {
6791
+ reasonCode: {
6792
+ type: string;
6793
+ minLength: number;
6794
+ };
6795
+ actionLabelKey: {
6796
+ type: string;
6797
+ minLength: number;
6798
+ };
6799
+ bodyKey: {
6800
+ type: string;
6801
+ minLength: number;
6802
+ };
6803
+ purposeKey: {
6804
+ type: string;
6805
+ minLength: number;
6806
+ };
6807
+ unlocksKey: {
6808
+ type: string;
6809
+ minLength: number;
6810
+ };
6811
+ priority: {
6812
+ type: string;
6813
+ };
6814
+ focusPath: {
6815
+ type: string;
6816
+ };
6817
+ };
6818
+ additionalProperties: boolean;
6543
6819
  };
6544
6820
  };
6545
6821
  additionalProperties: boolean;
@@ -6604,6 +6880,49 @@ export declare const SCHEMA_REGISTRY: Readonly<{
6604
6880
  condition: {
6605
6881
  enum: string[];
6606
6882
  };
6883
+ requirement: {
6884
+ type: string;
6885
+ required: string[];
6886
+ properties: {
6887
+ code: {
6888
+ type: string;
6889
+ minLength: number;
6890
+ };
6891
+ labelKey: {
6892
+ type: string;
6893
+ minLength: number;
6894
+ };
6895
+ promptKey: {
6896
+ type: string;
6897
+ minLength: number;
6898
+ };
6899
+ purposeKey: {
6900
+ type: string;
6901
+ minLength: number;
6902
+ };
6903
+ priority: {
6904
+ type: string;
6905
+ };
6906
+ focusPath: {
6907
+ type: string;
6908
+ };
6909
+ assignedTo: {
6910
+ type: string;
6911
+ required: string[];
6912
+ properties: {
6913
+ kind: {
6914
+ enum: string[];
6915
+ };
6916
+ value: {
6917
+ type: string;
6918
+ minLength: number;
6919
+ };
6920
+ };
6921
+ additionalProperties: boolean;
6922
+ };
6923
+ };
6924
+ additionalProperties: boolean;
6925
+ };
6607
6926
  axisState: {
6608
6927
  type: string;
6609
6928
  required: string[];
@@ -1,5 +1,5 @@
1
1
  import type { TopicKindProfileRef, TopicKindResourceBinding } from "./topic-kind-profile.js";
2
- import type { BaseRecipeCodeV1, TopicClaimBindingV1, TopicRecipeRefV1, TopicShapeSourceRefV1 } from "../shapes/types.js";
2
+ import type { BaseRecipeCodeV1, TopicActivationPolicyV1, TopicAssentPolicyV1, TopicClaimBindingV1, TopicRecipeRefV1, TopicShapeSourceRefV1 } from "../shapes/types.js";
3
3
  export declare const PERSISTED_TOPIC_KINDS: readonly ["task", "agent_task", "proposal", "evaluation", "claims", "question", "discussion", "incident"];
4
4
  export declare const BASE_TOPIC_RECIPES: readonly ["project", "flow", "proposal", "evaluation", "claims", "research", "discussion", "incident"];
5
5
  /** @deprecated v1 writers use BASE_TOPIC_RECIPES and the baseRecipe field. */
@@ -131,6 +131,20 @@ export interface TopicContractBodyV3 extends TopicContractBodyCommon {
131
131
  readonly shapeDigest: `sha256:${string}`;
132
132
  readonly claimBinding?: TopicClaimBindingV1;
133
133
  }
134
+ /**
135
+ * Immutable Topic setup content. Lifecycle state is projected from contract
136
+ * heads and append-only operations; it is deliberately not stored in the body.
137
+ */
138
+ export interface TopicContractBodyV4 extends Omit<TopicContractBodyCommon, "status"> {
139
+ readonly version: 4;
140
+ readonly baseRecipe: BaseRecipeCodeV1;
141
+ readonly topicRecipeRef?: TopicRecipeRefV1;
142
+ readonly shapeSources: readonly TopicShapeSourceRefV1[];
143
+ readonly shapeDigest: `sha256:${string}`;
144
+ readonly claimBinding?: TopicClaimBindingV1;
145
+ readonly activationPolicy?: TopicActivationPolicyV1;
146
+ readonly assentPolicy?: TopicAssentPolicyV1;
147
+ }
134
148
  export type TopicReminder = {
135
149
  readonly mode: "at";
136
150
  readonly at: string;
@@ -1 +1 @@
1
- {"version":3,"file":"topic-contract.js","sourceRoot":"","sources":["../../../src/contracts/topic-contract.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AASlD,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,MAAM;IACN,YAAY;IACZ,UAAU;IACV,YAAY;IACZ,QAAQ;IACR,UAAU;IACV,YAAY;IACZ,UAAU;CACF,CAAC;AAEX,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,SAAS;IACT,MAAM;IACN,UAAU;IACV,YAAY;IACZ,QAAQ;IACR,UAAU;IACV,YAAY;IACZ,UAAU;CACF,CAAC;AAEX,8EAA8E;AAC9E,MAAM,CAAC,MAAM,sBAAsB,GAAG,kBAAkB,CAAC;AAiLzD,MAAM,cAAc,GAA8D;IAChF,IAAI,EAAE,SAAS;IACf,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,UAAU;IACpB,UAAU,EAAE,YAAY;IACxB,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;IACpB,UAAU,EAAE,YAAY;IACxB,QAAQ,EAAE,UAAU;CACrB,CAAC;AAEF,MAAM,UAAU,aAAa,CAAC,OAAqB;IACjD,OAAO,OAAO,CAAC,MAAM,KAAK,UAAU,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC;AACzE,CAAC;AAED,MAAM,UAAU,kBAAkB,CAAC,OAAqB;IACtD,OAAO,cAAc,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC,CAAC;AAChD,CAAC;AAOD,SAAS,YAAY,CAAC,KAAyB,EAAE,IAAY,EAAE,OAAe;IAC5E,OAAO,KAAK,EAAE,IAAI,EAAE,C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ionRequestV1, type TopicActionRuntimeProvider, type TopicActionStatus, type TopicFlowBindingV1, } from "./action-runtime/types.js";
2
2
  export { CONTRACT_NAMES, type ContractName, } from "./contracts/schemas.js";
3
3
  export { assertContract, validateContract, type ContractValidationError, type ContractValidationResult, } from "./contracts/validator.js";
4
- export { PERSISTED_TOPIC_KINDS, BASE_TOPIC_RECIPES, TOPIC_CONTRACT_RECIPES, assertContractComplete, baseTopicKind, contractCompleteness, topicRecipeForKind, type PersistedTopicKind, type TemporalTarget, type TopicAppearance, type TopicAutomationBindingV2, type TopicContractBodyV2, type TopicContractBodyV3, type BaseTopicRecipe, type TopicContractCompletenessIssue, type TopicContractRecipe, type TopicIconName, type TopicKindRef, type TopicRecurrence, type TopicReminder, type TopicRiskV2, type TopicStatementV2, type TopicUserSettings, type Weekday, } from "./contracts/topic-contract.js";
4
+ export { PERSISTED_TOPIC_KINDS, BASE_TOPIC_RECIPES, TOPIC_CONTRACT_RECIPES, assertContractComplete, baseTopicKind, contractCompleteness, topicRecipeForKind, type PersistedTopicKind, type TemporalTarget, type TopicAppearance, type TopicAutomationBindingV2, type TopicContractBodyV2, type TopicContractBodyV3, type TopicContractBodyV4, type BaseTopicRecipe, type TopicContractCompletenessIssue, type TopicContractRecipe, type TopicIconName, type TopicKindRef, type TopicRecurrence, type TopicReminder, type TopicRiskV2, type TopicStatementV2, type TopicUserSettings, type Weekday, } from "./contracts/topic-contract.js";
5
5
  export { JOB_CARD_KIND_PROFILE, JOB_CARD_KIND_PROFILE_REF, JOB_CARD_KIND_REF, JOB_CARD_PHASES, JOB_CARD_PRIORITIES, contractCompletenessWithProfiles, resolveTopicKindProfile, topicKindProfileActionIssues, type JobCardPhase, type JobCardPriority, type JobCardV1, type TopicKindProfileRef, type TopicKindActionReference, type TopicKindProfile, type TopicKindProfileV1, type TopicKindProfileV2, type TopicActionContractDescriptor, type TopicActionManifestIndex, type TopicKindProfileActionIssue, type TopicKindResourceBinding, } from "./contracts/topic-kind-profile.js";
6
6
  export { TopicProtocolError, type TopicProtocolErrorCode, } from "./errors.js";
7
7
  export { projectTopic } from "./projector/project.js";
@@ -12,7 +12,7 @@ export { isTopicInfrastructureEvent, parseTopicRootEvent, projectMatrixTopic, }
12
12
  export { JsonPendingTopicStore, MemoryPendingTopicStore, type TopicKeyValueStore, } from "./matrix/pending.js";
13
13
  export { TopicRuntime, type TopicRuntimeOptions } from "./matrix/runtime.js";
14
14
  export { MATRIX_ROOM_MESSAGE, TOPIC_ANCHOR_KEY, TOPIC_METADATA_KEY, TOPIC_OPERATION_EVENT_TYPE, type CanonicalTopicAnchor, type MatrixEventContent, type MatrixSendRequest, type MatrixTopicProjection, type MatrixTopicProjectionInput, type ParsedTopicRoot, type PendingTopicCreation, type PendingTopicStore, type RejectedTopicEvent, type RejectedTopicEventReason, type TopicAnchorConflict, type TopicCreationInput, type TopicCreationResult, type TopicFirstMessageFactory, type TopicMatrixEvent, type TopicMatrixTransport, type TopicRootContentOptions, } from "./matrix/types.js";
15
- export { TOPIC_KINDS, TOPIC_CONTEXT_TYPES, TOPIC_STATUSES, TOPIC_VFS_FILE_PROVIDER, type IgnoredOperation, type IgnoredOperationReason, type MatrixAnchor, type TopicAnchor, type ProjectedTopicRelation, type ProjectionInput, type TopicContext, type TopicContextType, type TopicFileAttachmentIdentity, type TopicDecision, type EffectiveTopicContractReference, type TopicAutomationBinding, type TopicAutomationStatus, type TopicContractHeads, type TopicContractReference, type TopicKind, type TopicNextStep, type TopicOperation, type TopicOperationType, type TopicProjection, type ProjectedTopicAttachment, type ProjectedTopicOverview, type TopicOverview, type TopicProjectionConflict, type TopicRelationType, type TopicRoot, type TopicRootV2, type TopicRootV3, type LegacyTopicRoot, type TopicStatus, type TopicVfsFileReference, isCanonicalTopicContextType, } from "./projector/types.js";
15
+ export { TOPIC_KINDS, TOPIC_CONTEXT_TYPES, TOPIC_STATUSES, TOPIC_VFS_FILE_PROVIDER, type IgnoredOperation, type IgnoredOperationReason, type MatrixAnchor, type TopicAnchor, type ProjectedTopicRelation, type ProjectionInput, type TopicContext, type TopicContextType, type TopicFileAttachmentIdentity, type TopicDecision, type EffectiveTopicContractReference, type TopicAutomationBinding, type TopicAutomationStatus, type TopicContractHeads, type TopicContractReference, type TopicKind, type TopicNextStep, type TopicOperation, type TopicOperationType, type TopicProjection, type ProjectedTopicAttachment, type ProjectedTopicOverview, type TopicOverview, type TopicProjectionConflict, type TopicRelationType, type TopicRoot, type TopicRootV2, type TopicRootV3, type TopicRootV4, type TopicSetupEvidenceBindingV1, type ProjectedTopicSetupOperationV1, type ProjectedTopicDisputeV1, type LegacyTopicRoot, type TopicStatus, type TopicVfsFileReference, isCanonicalTopicContextType, } from "./projector/types.js";
16
16
  export { TOPIC_RECORD_KINDS, type TopicRecord, type TopicRecordKind, } from "./records/types.js";
17
17
  export { emptyTopicIndexSnapshot, reconcileTopicIndex } from "./indexing/reconcile.js";
18
18
  export { searchTopicIndex } from "./indexing/search.js";
@@ -26,5 +26,5 @@ export { projectTopicNow } from "./shapes/now.js";
26
26
  export { projectTopicProgress, replayTopicShape } from "./shapes/progress.js";
27
27
  export { BASE_RECIPE_REGISTRY, KIND_SHAPE_REGISTRY, TOPIC_RECIPE_REGISTRY } from "./shapes/recipes.js";
28
28
  export { resolveEffectiveTopicShape, topicRecipeRef, type ResolveEffectiveTopicShapeInputV1, } from "./shapes/resolver.js";
29
- export { TOPIC_STATE_PROFILE_V3, type TopicContractReferenceV3, type TopicContractStateV3 } from "./shapes/state.js";
30
- export { BASE_RECIPE_CODES, SHAPE_ATTENTION_STATES, SHAPE_CONDITIONS, SHAPE_PHASES, TOPIC_RECIPE_CODES, type BaseRecipeCodeV1, type EffectiveTopicShapeV1, type ResolvedTopicClaimBindingV1, type ShapeAttentionV1, type ShapeConditionV1, type ShapeConfirmationPolicyV1, type ShapeConsequenceClassV1, type ShapeEvidenceRequirementV1, type ShapeGateV1, type ShapePhaseV1, type ShapeProgressRuleV1, type ShapeStateAxisV1, type ShapeStateDefinitionV1, type ShapeTransitionV1, type TopicClaimBindingV1, type TopicNowProjectionV1, type TopicProgressBlockV1, type TopicProgressInputV1, type TopicProgressProjectionV1, type TopicProgressSourceV1, type TopicRecipeCodeV1, type TopicRecipeRefV1, type TopicRecipeV1, type TopicShapeSourceRefV1, type TopicShapeOverlayV1, type TopicShapeV1, type TopicStateTagV1, type TopicTransitionCandidateV1, type TopicViewerAuthorityV1, } from "./shapes/types.js";
29
+ export { TOPIC_STATE_PROFILE_V3, TOPIC_STATE_PROFILE_V4, type TopicContractAssentV1, type TopicContractConfirmationV1, type TopicContractHeadsV4, type TopicContractReferenceV3, type TopicContractReferenceV4, type TopicContractStateV3, type TopicContractStateV4, } from "./shapes/state.js";
30
+ export { BASE_RECIPE_CODES, SHAPE_ATTENTION_STATES, SHAPE_CONDITIONS, SHAPE_PHASES, TOPIC_RECIPE_CODES, type BaseRecipeCodeV1, type EffectiveTopicShapeV1, type ResolvedTopicClaimBindingV1, type ShapeAttentionV1, type ShapeConditionV1, type ShapeConfirmationPolicyV1, type ShapeConsequenceClassV1, type ShapeEvidenceRequirementV1, type ShapeGateV1, type ShapePhaseV1, type ShapeProgressRuleV1, type ShapeStateAxisV1, type ShapeStateDefinitionV1, type ShapeTransitionV1, type TopicClaimBindingV1, type TopicActivationPolicyV1, type TopicAssentPolicyV1, type TopicConfirmationPolicyV1, type TopicDisputePolicyV1, type TopicDisputeV1, type TopicEvaluationTimeV1, type TopicNowProjectionV1, type TopicNowProjectionV2, type TopicNowObligationV1, type TopicObligationActionabilityV1, type TopicObligationKindV1, type TopicObligationStatusV1, type TopicObligationV1, type TopicProgressBlockV1, type TopicProgressInputV1, type TopicProgressInputV2, type TopicProgressProjectionV1, type TopicProgressProjectionV2, type TopicProgressSourceV1, type TopicProgressSourceV2, type TopicRecipeCodeV1, type TopicRecipeRefV1, type TopicRecipeV1, type TopicShapeSourceRefV1, type TopicShapeOverlayV1, type TopicShapeV1, type TopicStateTagV1, type TopicTransitionCandidateV1, type TopicSubjectRefV1, type TopicViewerAuthorityV1, } from "./shapes/types.js";
package/dist/src/index.js CHANGED
@@ -26,6 +26,6 @@ export { projectTopicNow } from "./shapes/now.js";
26
26
  export { projectTopicProgress, replayTopicShape } from "./shapes/progress.js";
27
27
  export { BASE_RECIPE_REGISTRY, KIND_SHAPE_REGISTRY, TOPIC_RECIPE_REGISTRY } from "./shapes/recipes.js";
28
28
  export { resolveEffectiveTopicShape, topicRecipeRef, } from "./shapes/resolver.js";
29
- export { TOPIC_STATE_PROFILE_V3 } from "./shapes/state.js";
29
+ export { TOPIC_STATE_PROFILE_V3, TOPIC_STATE_PROFILE_V4, } from "./shapes/state.js";
30
30
  export { BASE_RECIPE_CODES, SHAPE_ATTENTION_STATES, SHAPE_CONDITIONS, SHAPE_PHASES, TOPIC_RECIPE_CODES, } from "./shapes/types.js";
31
31
  //# sourceMappingURL=index.js.map