@odla-ai/chapter 0.39.1 → 0.39.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odla-ai/chapter",
3
- "version": "0.39.1",
3
+ "version": "0.39.2",
4
4
  "description": "A leader/follower foundation for branded membership sites: shared CRM, admin, auth, payments, booking, and explicit record delivery from one defineChapter config.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://odla.ai/docs/packages/chapter",
@@ -333,6 +333,13 @@ export const chapter = defineChapter({
333
333
  // Optional inherited layer; omit `parent` for Chapter-only content.
334
334
  // parent: { sourceId: "approved-parent-app-id" },
335
335
  },
336
+ // This existing network reader is also the Builder Library authority.
337
+ network: {
338
+ readers: [{
339
+ id: "built-not-found",
340
+ fields: { person: ["name"] },
341
+ }],
342
+ },
336
343
  // Private build references; this Chapter receives global material from BNF.
337
344
  builderLibrary: {
338
345
  sources: [{ sourceId: "built-not-found" }],
@@ -685,6 +692,11 @@ book/asset ids in the library; never persist signed URLs, bytes, or storage
685
692
  credentials. Prove `/api/admin/builder-library/manifest` omits drafts, archived
686
693
  items, Built Not Found-only items, and sibling Chapter material.
687
694
 
695
+ Every Builder Library source must name an existing `network.reader` on a
696
+ Chapter or `network.target` on Built Not Found. The signed control route reuses
697
+ that edge's existing `network_share_secret` / `network_share_<chapter_id>`
698
+ value. Never create or request a Builder-specific secret.
699
+
688
700
  The router must serve and reload `/`, every public page, `/join`, `/members/`,
689
701
  and `/admin/` without accidentally sending API paths to the SPA. Chapter
690
702
  terminates unknown `/api/*` paths as JSON 404s before the static asset fallback.