@odla-ai/chapter 0.43.1 → 0.44.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.
@@ -134,6 +134,19 @@ interface ResolvedBuilderLibrary {
134
134
  sources: readonly ResolvedBuilderLibrarySource[];
135
135
  }
136
136
 
137
+ /** Opt-in network-scoped Person registry. Shadow mode never gates Chapter work. */
138
+ interface ChapterNetworkPersonRegistry {
139
+ mode: "shadow";
140
+ /** Chapter ids that may be attached to imported source rows. Defaults to the
141
+ * hub's configured network target ids. */
142
+ chapterIds?: readonly string[];
143
+ }
144
+ /** Validated network Person registry settings carried by a resolved Chapter. */
145
+ interface ResolvedNetworkPersonRegistry {
146
+ mode: "shadow";
147
+ chapterIds: readonly string[];
148
+ }
149
+
137
150
  /** Scalar kinds accepted by the Chapter schema adapter. */
138
151
  type AttrType = "string" | "number" | "boolean" | "json";
139
152
  /** One odla-db attribute: its type and index/uniqueness/optionality flags. */
@@ -538,6 +551,9 @@ interface ChapterConfig {
538
551
  memberContent?: ChapterMemberContent;
539
552
  /** Private docs, Brand asset references, and links for authorized site-building agents. */
540
553
  builderLibrary?: ChapterBuilderLibrary;
554
+ /** Network-scoped canonical Person registry. Shadow mode is additive only:
555
+ * Chapter workflows and access continue to read their existing authority. */
556
+ networkPersonRegistry?: ChapterNetworkPersonRegistry;
541
557
  /** Enable a public, host-rendered formation application workflow. */
542
558
  formation?: LeaderFormationConfig;
543
559
  thesis?: unknown;
@@ -638,6 +654,8 @@ interface Chapter {
638
654
  memberContent: ResolvedMemberContent | null;
639
655
  /** Null unless the private scoped Builder Library is enabled. */
640
656
  builderLibrary: ResolvedBuilderLibrary | null;
657
+ /** Null unless this hub explicitly enables the shadow Person registry. */
658
+ networkPersonRegistry: ResolvedNetworkPersonRegistry | null;
641
659
  /** Resolved public formation intake contract (disabled when omitted). */
642
660
  formation: ResolvedLeaderFormation;
643
661
  /** Resolved CRM engine (from `defineCrm`). */