@githolon/runtime 0.113.4 → 0.115.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 (31) hide show
  1. package/dist/RUNTIME-SOURCES.sha256 +97 -71
  2. package/dist/application-reception.js +2 -2
  3. package/dist/nomos-native-runtime.js +5761 -1508
  4. package/dist/nomos-runner-web.js +347 -9
  5. package/dist/nomos-runner-worker.js +13372 -6047
  6. package/dist/nomos-runner.js +9861 -2904
  7. package/dist/remote-reception.cjs +23 -23
  8. package/dist/remote-reception.js +23 -23
  9. package/dist/typescript-application-desk.js +26 -27
  10. package/package.json +1 -1
  11. package/runner/node-entry.mjs +7678 -2860
  12. package/src/application_reception.ts +15 -0
  13. package/src/protocol/nomos/kernel/v1/kernel_pb.d.ts +612 -0
  14. package/src/protocol/nomos/kernel/v1/kernel_pb.js +354 -277
  15. package/src/protocol/nomos/runtime/v2/application_desk_pb.d.ts +8 -0
  16. package/src/protocol/nomos/runtime/v2/application_desk_pb.js +1 -1
  17. package/src/protocol/nomos/runtime/v2/correspondence_desk_pb.d.ts +1071 -147
  18. package/src/protocol/nomos/runtime/v2/correspondence_desk_pb.js +155 -22
  19. package/src/protocol/nomos/runtime/v2/model_adoption_desk_pb.d.ts +57 -2
  20. package/src/protocol/nomos/runtime/v2/model_adoption_desk_pb.js +10 -3
  21. package/src/protocol/nomos/runtime/v2/observability_desk_pb.d.ts +111 -2
  22. package/src/protocol/nomos/runtime/v2/observability_desk_pb.js +27 -12
  23. package/src/protocol/nomos/runtime/v2/receiving_group_desk_pb.d.ts +0 -29
  24. package/src/protocol/nomos/runtime/v2/receiving_group_desk_pb.js +6 -13
  25. package/src/protocol/nomos/runtime/v2/records_desk_pb.d.ts +10 -0
  26. package/src/protocol/nomos/runtime/v2/records_desk_pb.js +1 -1
  27. package/src/protocol/nomos/runtime/v2/residency_desk_pb.d.ts +19 -0
  28. package/src/protocol/nomos/runtime/v2/residency_desk_pb.js +1 -1
  29. package/src/protocol/nomos/runtime/v2/runtime_pb.d.ts +15 -1
  30. package/src/protocol/nomos/runtime/v2/runtime_pb.js +1 -1
  31. package/src/typescript_application_desk.public.d.ts +0 -1
@@ -115,10 +115,25 @@ export interface ReceptionSession<ApplicationDesk> {
115
115
  close(): Promise<void>;
116
116
  }
117
117
 
118
+ /**
119
+ * One application domain's requirement (CAP-666), as the compiler generated it beside the unit set: the
120
+ * hash of the domain's law unit (`domain:<key>` of the unit set) and the sha256 of the domain's own slice
121
+ * of the generated compatibility requirement. A workspace serving exactly that unit for the key is
122
+ * current for this build whatever else its unit set carries. Identities only; never a verdict.
123
+ */
124
+ export interface ApplicationDomainRequirement {
125
+ readonly domainKey: string;
126
+ readonly unitSha256: string;
127
+ readonly requirementSha256: string;
128
+ }
129
+
118
130
  /** Immutable compatibility requirements emitted from the compiler graph. */
119
131
  export interface ApplicationCompatibility {
120
132
  readonly lawIdentity: Sha256Digest;
121
133
  readonly matrixUsda: Uint8Array;
134
+ /** Per application domain key (CAP-666). Absent on a client generated before the table existed:
135
+ * the unit set alone then decides. */
136
+ readonly domainRequirements?: Readonly<Record<string, ApplicationDomainRequirement>>;
122
137
  readonly readyCommands: readonly {
123
138
  readonly domain: string;
124
139
  readonly packageHash: Sha256Digest;