braidio 0.0.84__tar.gz → 0.0.86__tar.gz

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 (149) hide show
  1. {braidio-0.0.84 → braidio-0.0.86}/PKG-INFO +4 -4
  2. {braidio-0.0.84 → braidio-0.0.86}/braidio/transforms/_narration.py +54 -30
  3. {braidio-0.0.84 → braidio-0.0.86}/pyproject.toml +10 -6
  4. {braidio-0.0.84 → braidio-0.0.86}/.editorconfig +0 -0
  5. {braidio-0.0.84 → braidio-0.0.86}/.gitattributes +0 -0
  6. {braidio-0.0.84 → braidio-0.0.86}/.gitignore +0 -0
  7. {braidio-0.0.84 → braidio-0.0.86}/LICENSE +0 -0
  8. {braidio-0.0.84 → braidio-0.0.86}/README.md +0 -0
  9. {braidio-0.0.84 → braidio-0.0.86}/braidio/__init__.py +0 -0
  10. {braidio-0.0.84 → braidio-0.0.86}/braidio/_paths.py +0 -0
  11. {braidio-0.0.84 → braidio-0.0.86}/braidio/bodies/__init__.py +0 -0
  12. {braidio-0.0.84 → braidio-0.0.86}/braidio/bodies/_domain.py +0 -0
  13. {braidio-0.0.84 → braidio-0.0.86}/braidio/bodies/_render_nodes.py +0 -0
  14. {braidio-0.0.84 → braidio-0.0.86}/braidio/bodies/_tiers.py +0 -0
  15. {braidio-0.0.84 → braidio-0.0.86}/braidio/bodies/_video.py +0 -0
  16. {braidio-0.0.84 → braidio-0.0.86}/braidio/captions.py +0 -0
  17. {braidio-0.0.84 → braidio-0.0.86}/braidio/compose.py +0 -0
  18. {braidio-0.0.84 → braidio-0.0.86}/braidio/conversation.py +0 -0
  19. {braidio-0.0.84 → braidio-0.0.86}/braidio/cost.py +0 -0
  20. {braidio-0.0.84 → braidio-0.0.86}/braidio/data/skills/braidio/SKILL.md +0 -0
  21. {braidio-0.0.84 → braidio-0.0.86}/braidio/data/skills/braidio-commentary-video/SKILL.md +0 -0
  22. {braidio-0.0.84 → braidio-0.0.86}/braidio/defaults.py +0 -0
  23. {braidio-0.0.84 → braidio-0.0.86}/braidio/delivery.py +0 -0
  24. {braidio-0.0.84 → braidio-0.0.86}/braidio/downloads.py +0 -0
  25. {braidio-0.0.84 → braidio-0.0.86}/braidio/formats.py +0 -0
  26. {braidio-0.0.84 → braidio-0.0.86}/braidio/genre.py +0 -0
  27. {braidio-0.0.84 → braidio-0.0.86}/braidio/importing/__init__.py +0 -0
  28. {braidio-0.0.84 → braidio-0.0.86}/braidio/importing/__main__.py +0 -0
  29. {braidio-0.0.84 → braidio-0.0.86}/braidio/importing/_catalog.py +0 -0
  30. {braidio-0.0.84 → braidio-0.0.86}/braidio/importing/_manifest.py +0 -0
  31. {braidio-0.0.84 → braidio-0.0.86}/braidio/importing/_writer.py +0 -0
  32. {braidio-0.0.84 → braidio-0.0.86}/braidio/kinds.py +0 -0
  33. {braidio-0.0.84 → braidio-0.0.86}/braidio/leveling.py +0 -0
  34. {braidio-0.0.84 → braidio-0.0.86}/braidio/markdown_script.py +0 -0
  35. {braidio-0.0.84 → braidio-0.0.86}/braidio/mcp/__init__.py +0 -0
  36. {braidio-0.0.84 → braidio-0.0.86}/braidio/mcp/_docs.py +0 -0
  37. {braidio-0.0.84 → braidio-0.0.86}/braidio/mcp/_guide.py +0 -0
  38. {braidio-0.0.84 → braidio-0.0.86}/braidio/mcp/_helpers.py +0 -0
  39. {braidio-0.0.84 → braidio-0.0.86}/braidio/mcp/_media.py +0 -0
  40. {braidio-0.0.84 → braidio-0.0.86}/braidio/mcp/credentials.py +0 -0
  41. {braidio-0.0.84 → braidio-0.0.86}/braidio/mcp/metering.py +0 -0
  42. {braidio-0.0.84 → braidio-0.0.86}/braidio/mcp/tools.py +0 -0
  43. {braidio-0.0.84 → braidio-0.0.86}/braidio/mcp/workspace.py +0 -0
  44. {braidio-0.0.84 → braidio-0.0.86}/braidio/multivoice.py +0 -0
  45. {braidio-0.0.84 → braidio-0.0.86}/braidio/music.py +0 -0
  46. {braidio-0.0.84 → braidio-0.0.86}/braidio/pacing.py +0 -0
  47. {braidio-0.0.84 → braidio-0.0.86}/braidio/project.py +0 -0
  48. {braidio-0.0.84 → braidio-0.0.86}/braidio/provenance.py +0 -0
  49. {braidio-0.0.84 → braidio-0.0.86}/braidio/relevance.py +0 -0
  50. {braidio-0.0.84 → braidio-0.0.86}/braidio/render.py +0 -0
  51. {braidio-0.0.84 → braidio-0.0.86}/braidio/rights.py +0 -0
  52. {braidio-0.0.84 → braidio-0.0.86}/braidio/script.py +0 -0
  53. {braidio-0.0.84 → braidio-0.0.86}/braidio/sources.py +0 -0
  54. {braidio-0.0.84 → braidio-0.0.86}/braidio/structure.py +0 -0
  55. {braidio-0.0.84 → braidio-0.0.86}/braidio/style.py +0 -0
  56. {braidio-0.0.84 → braidio-0.0.86}/braidio/textprep.py +0 -0
  57. {braidio-0.0.84 → braidio-0.0.86}/braidio/timeline.py +0 -0
  58. {braidio-0.0.84 → braidio-0.0.86}/braidio/transforms/__init__.py +0 -0
  59. {braidio-0.0.84 → braidio-0.0.86}/braidio/transforms/_asset_refs.py +0 -0
  60. {braidio-0.0.84 → braidio-0.0.86}/braidio/transforms/_common.py +0 -0
  61. {braidio-0.0.84 → braidio-0.0.86}/braidio/transforms/_dialogue.py +0 -0
  62. {braidio-0.0.84 → braidio-0.0.86}/braidio/transforms/_episode.py +0 -0
  63. {braidio-0.0.84 → braidio-0.0.86}/braidio/transforms/_ingest.py +0 -0
  64. {braidio-0.0.84 → braidio-0.0.86}/braidio/transforms/_segment.py +0 -0
  65. {braidio-0.0.84 → braidio-0.0.86}/braidio/transforms/_video_cut.py +0 -0
  66. {braidio-0.0.84 → braidio-0.0.86}/braidio/transforms/_video_panels.py +0 -0
  67. {braidio-0.0.84 → braidio-0.0.86}/braidio/transforms/_voice.py +0 -0
  68. {braidio-0.0.84 → braidio-0.0.86}/braidio/tts.py +0 -0
  69. {braidio-0.0.84 → braidio-0.0.86}/braidio/video.py +0 -0
  70. {braidio-0.0.84 → braidio-0.0.86}/braidio/voice_library.py +0 -0
  71. {braidio-0.0.84 → braidio-0.0.86}/braidio/weave.py +0 -0
  72. {braidio-0.0.84 → braidio-0.0.86}/braidio/weave_config.py +0 -0
  73. {braidio-0.0.84 → braidio-0.0.86}/conftest.py +0 -0
  74. {braidio-0.0.84 → braidio-0.0.86}/misc/docs/Extraction and nw-App Design.md +0 -0
  75. {braidio-0.0.84 → braidio-0.0.86}/misc/docs/research/commentary-formats-and-styles.md +0 -0
  76. {braidio-0.0.84 → braidio-0.0.86}/misc/docs/research/conversational-vs-narration-tts.md +0 -0
  77. {braidio-0.0.84 → braidio-0.0.86}/misc/docs/research/notebooklm-and-conversational-pacing.md +0 -0
  78. {braidio-0.0.84 → braidio-0.0.86}/misc/docs/style/README.md +0 -0
  79. {braidio-0.0.84 → braidio-0.0.86}/misc/docs/style/anti-platitude-checklist.md +0 -0
  80. {braidio-0.0.84 → braidio-0.0.86}/misc/docs/style/commentary-voice-guide.md +0 -0
  81. {braidio-0.0.84 → braidio-0.0.86}/misc/docs/style/voices/_style-groups.md +0 -0
  82. {braidio-0.0.84 → braidio-0.0.86}/misc/docs/style/voices/amanda-dobbins.md +0 -0
  83. {braidio-0.0.84 → braidio-0.0.86}/misc/docs/style/voices/david-sims.md +0 -0
  84. {braidio-0.0.84 → braidio-0.0.86}/misc/docs/style/voices/griffin-newman.md +0 -0
  85. {braidio-0.0.84 → braidio-0.0.86}/misc/docs/style/voices/helen-molesworth.md +0 -0
  86. {braidio-0.0.84 → braidio-0.0.86}/misc/docs/style/voices/hrishikesh-hirway.md +0 -0
  87. {braidio-0.0.84 → braidio-0.0.86}/misc/docs/style/voices/jason-mantzoukas.md +0 -0
  88. {braidio-0.0.84 → braidio-0.0.86}/misc/docs/style/voices/john-mcwhorter.md +0 -0
  89. {braidio-0.0.84 → braidio-0.0.86}/misc/docs/style/voices/jon-caramanica.md +0 -0
  90. {braidio-0.0.84 → braidio-0.0.86}/misc/docs/style/voices/june-diane-raphael.md +0 -0
  91. {braidio-0.0.84 → braidio-0.0.86}/misc/docs/style/voices/karina-longworth.md +0 -0
  92. {braidio-0.0.84 → braidio-0.0.86}/misc/docs/style/voices/katy-hessel.md +0 -0
  93. {braidio-0.0.84 → braidio-0.0.86}/misc/docs/style/voices/louis-theroux.md +0 -0
  94. {braidio-0.0.84 → braidio-0.0.86}/misc/docs/style/voices/mallory-rubin.md +0 -0
  95. {braidio-0.0.84 → braidio-0.0.86}/misc/docs/style/voices/melvyn-bragg.md +0 -0
  96. {braidio-0.0.84 → braidio-0.0.86}/misc/docs/style/voices/michael-barbaro.md +0 -0
  97. {braidio-0.0.84 → braidio-0.0.86}/misc/docs/style/voices/nate-sloan-charlie-harding.md +0 -0
  98. {braidio-0.0.84 → braidio-0.0.86}/misc/docs/style/voices/paul-scheer.md +0 -0
  99. {braidio-0.0.84 → braidio-0.0.86}/misc/docs/style/voices/sean-fennessey.md +0 -0
  100. {braidio-0.0.84 → braidio-0.0.86}/misc/docs/style/voices/talk-art.md +0 -0
  101. {braidio-0.0.84 → braidio-0.0.86}/misc/docs/style/voices/yasi-salek.md +0 -0
  102. {braidio-0.0.84 → braidio-0.0.86}/misc/docs/youtube_ingest_credentials.md +0 -0
  103. {braidio-0.0.84 → braidio-0.0.86}/tests/_audio.py +0 -0
  104. {braidio-0.0.84 → braidio-0.0.86}/tests/test_body_schema_stability.py +0 -0
  105. {braidio-0.0.84 → braidio-0.0.86}/tests/test_conversation.py +0 -0
  106. {braidio-0.0.84 → braidio-0.0.86}/tests/test_cost.py +0 -0
  107. {braidio-0.0.84 → braidio-0.0.86}/tests/test_credits_card.py +0 -0
  108. {braidio-0.0.84 → braidio-0.0.86}/tests/test_defaults.py +0 -0
  109. {braidio-0.0.84 → braidio-0.0.86}/tests/test_delivery.py +0 -0
  110. {braidio-0.0.84 → braidio-0.0.86}/tests/test_downloads.py +0 -0
  111. {braidio-0.0.84 → braidio-0.0.86}/tests/test_expressiveness.py +0 -0
  112. {braidio-0.0.84 → braidio-0.0.86}/tests/test_formats.py +0 -0
  113. {braidio-0.0.84 → braidio-0.0.86}/tests/test_genre_placement.py +0 -0
  114. {braidio-0.0.84 → braidio-0.0.86}/tests/test_graph_speak.py +0 -0
  115. {braidio-0.0.84 → braidio-0.0.86}/tests/test_importing.py +0 -0
  116. {braidio-0.0.84 → braidio-0.0.86}/tests/test_leveling.py +0 -0
  117. {braidio-0.0.84 → braidio-0.0.86}/tests/test_markdown_script.py +0 -0
  118. {braidio-0.0.84 → braidio-0.0.86}/tests/test_mcp.py +0 -0
  119. {braidio-0.0.84 → braidio-0.0.86}/tests/test_mcp_caller_key.py +0 -0
  120. {braidio-0.0.84 → braidio-0.0.86}/tests/test_media_auth.py +0 -0
  121. {braidio-0.0.84 → braidio-0.0.86}/tests/test_multivoice.py +0 -0
  122. {braidio-0.0.84 → braidio-0.0.86}/tests/test_music.py +0 -0
  123. {braidio-0.0.84 → braidio-0.0.86}/tests/test_namespaced_source.py +0 -0
  124. {braidio-0.0.84 → braidio-0.0.86}/tests/test_nw_app.py +0 -0
  125. {braidio-0.0.84 → braidio-0.0.86}/tests/test_pacing.py +0 -0
  126. {braidio-0.0.84 → braidio-0.0.86}/tests/test_packaging.py +0 -0
  127. {braidio-0.0.84 → braidio-0.0.86}/tests/test_render_settings.py +0 -0
  128. {braidio-0.0.84 → braidio-0.0.86}/tests/test_script.py +0 -0
  129. {braidio-0.0.84 → braidio-0.0.86}/tests/test_sources.py +0 -0
  130. {braidio-0.0.84 → braidio-0.0.86}/tests/test_speak_seam.py +0 -0
  131. {braidio-0.0.84 → braidio-0.0.86}/tests/test_structure.py +0 -0
  132. {braidio-0.0.84 → braidio-0.0.86}/tests/test_textprep_style.py +0 -0
  133. {braidio-0.0.84 → braidio-0.0.86}/tests/test_timeline.py +0 -0
  134. {braidio-0.0.84 → braidio-0.0.86}/tests/test_transforms.py +0 -0
  135. {braidio-0.0.84 → braidio-0.0.86}/tests/test_transforms_dialogue.py +0 -0
  136. {braidio-0.0.84 → braidio-0.0.86}/tests/test_transforms_episode_members.py +0 -0
  137. {braidio-0.0.84 → braidio-0.0.86}/tests/test_transforms_rights.py +0 -0
  138. {braidio-0.0.84 → braidio-0.0.86}/tests/test_transforms_secrets.py +0 -0
  139. {braidio-0.0.84 → braidio-0.0.86}/tests/test_transforms_structure.py +0 -0
  140. {braidio-0.0.84 → braidio-0.0.86}/tests/test_tts_api_key.py +0 -0
  141. {braidio-0.0.84 → braidio-0.0.86}/tests/test_turn_overlap.py +0 -0
  142. {braidio-0.0.84 → braidio-0.0.86}/tests/test_video.py +0 -0
  143. {braidio-0.0.84 → braidio-0.0.86}/tests/test_video_bodies.py +0 -0
  144. {braidio-0.0.84 → braidio-0.0.86}/tests/test_video_footage.py +0 -0
  145. {braidio-0.0.84 → braidio-0.0.86}/tests/test_video_transforms.py +0 -0
  146. {braidio-0.0.84 → braidio-0.0.86}/tests/test_voice_library.py +0 -0
  147. {braidio-0.0.84 → braidio-0.0.86}/tests/test_weave.py +0 -0
  148. {braidio-0.0.84 → braidio-0.0.86}/tests/test_weave_config.py +0 -0
  149. {braidio-0.0.84 → braidio-0.0.86}/tests/test_wire_descriptions.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: braidio
3
- Version: 0.0.84
3
+ Version: 0.0.86
4
4
  Summary: Weave narration with extracted media segments into audiovisual productions
5
5
  Project-URL: Homepage, https://github.com/thorwhalen/braidio
6
6
  Project-URL: Repository, https://github.com/thorwhalen/braidio
@@ -41,7 +41,7 @@ Provides-Extra: importing
41
41
  Requires-Dist: falaw; extra == 'importing'
42
42
  Requires-Dist: illustration>=0.0.11; extra == 'importing'
43
43
  Requires-Dist: lacing; extra == 'importing'
44
- Requires-Dist: nw>=0.0.65; extra == 'importing'
44
+ Requires-Dist: nw>=0.0.108; extra == 'importing'
45
45
  Provides-Extra: markdown
46
46
  Requires-Dist: markdown-it-py; extra == 'markdown'
47
47
  Requires-Dist: mdit-py-plugins; extra == 'markdown'
@@ -53,14 +53,14 @@ Requires-Dist: graze>=0.1.45; extra == 'mcp'
53
53
  Requires-Dist: lacing; extra == 'mcp'
54
54
  Requires-Dist: markdown-it-py; extra == 'mcp'
55
55
  Requires-Dist: mdit-py-plugins; extra == 'mcp'
56
- Requires-Dist: nw>=0.0.65; extra == 'mcp'
56
+ Requires-Dist: nw>=0.0.108; extra == 'mcp'
57
57
  Requires-Dist: py2mcp>=0.1.9; extra == 'mcp'
58
58
  Requires-Dist: pypdf; extra == 'mcp'
59
59
  Requires-Dist: yb[download]>=0.1.24; extra == 'mcp'
60
60
  Provides-Extra: nw-app
61
61
  Requires-Dist: falaw[fal]; extra == 'nw-app'
62
62
  Requires-Dist: lacing; extra == 'nw-app'
63
- Requires-Dist: nw>=0.0.65; extra == 'nw-app'
63
+ Requires-Dist: nw>=0.0.108; extra == 'nw-app'
64
64
  Provides-Extra: video
65
65
  Requires-Dist: burns>=0.0.16; extra == 'video'
66
66
  Requires-Dist: pillow; extra == 'video'
@@ -23,7 +23,7 @@ from __future__ import annotations
23
23
  import json
24
24
  import shutil
25
25
  import uuid
26
- from dataclasses import asdict
26
+ from dataclasses import asdict, dataclass
27
27
  from pathlib import Path
28
28
 
29
29
  from falaw import Plan
@@ -180,6 +180,50 @@ def _beat_turns(beat, config: dict, *, model_id: str, settings: dict) -> list:
180
180
  )
181
181
 
182
182
 
183
+ @dataclass(frozen=True)
184
+ class _RenderInputs:
185
+ """Everything one narration render is decided by, read once from its parents."""
186
+
187
+ text: str
188
+ voice_id: str
189
+ model_id: str
190
+ settings: dict
191
+ turns: list
192
+ tts: str | None # a registered voice backend, else ElevenLabs (braidio#132)
193
+
194
+ def cache_key(self, transform) -> str:
195
+ return _narration_cache_key(
196
+ transform,
197
+ self.text,
198
+ self.voice_id,
199
+ self.model_id,
200
+ self.settings,
201
+ self.turns,
202
+ tts=self.tts,
203
+ )
204
+
205
+
206
+ def _render_inputs(beat, va, cfg) -> _RenderInputs:
207
+ """The render's inputs from its beat, voice assignment and weave-config.
208
+
209
+ ``plan`` and ``execute`` both read them here, so the cache key ``plan``
210
+ records and the audio ``execute`` synthesizes cannot drift apart
211
+ (braidio#120 item 4: they used to recompute voice, settings and turns
212
+ each on their own).
213
+ """
214
+ config = cfg.body.get("config", {})
215
+ model_id = config.get("model_id", DEFAULT_MODEL_ID)
216
+ settings = _beat_settings(beat, config)
217
+ return _RenderInputs(
218
+ text=beat.body.get("text", ""),
219
+ voice_id=va.body.get("voice_id") or DEFAULT_VOICE_ID,
220
+ model_id=model_id,
221
+ settings=settings,
222
+ turns=_beat_turns(beat, config, model_id=model_id, settings=settings),
223
+ tts=config.get("tts"),
224
+ )
225
+
226
+
183
227
  @register_transform(NAME)
184
228
  class NarrationRenderTTS(BaseTransform):
185
229
  """Narrative beat (+ voice-assignment + weave-config) → ``narration-render/v1``."""
@@ -194,21 +238,7 @@ class NarrationRenderTTS(BaseTransform):
194
238
  beat = inputs.primary[0]
195
239
  cfg = singleton(project, TIER_WEAVE_CONFIG)
196
240
  va = child_at_tier(project, TIER_VOICE_ASSIGNMENT, beat.id)
197
-
198
- config = cfg.body.get("config", {})
199
- voice_id = va.body.get("voice_id") or DEFAULT_VOICE_ID
200
- model_id = config.get("model_id", DEFAULT_MODEL_ID)
201
- settings = _beat_settings(beat, config)
202
- turns = _beat_turns(beat, config, model_id=model_id, settings=settings)
203
- cache_key = _narration_cache_key(
204
- self,
205
- beat.body.get("text", ""),
206
- voice_id,
207
- model_id,
208
- settings,
209
- turns,
210
- tts=config.get("tts"),
211
- )
241
+ cache_key = _render_inputs(beat, va, cfg).cache_key(self)
212
242
 
213
243
  full = TransformInputs(
214
244
  primary=(beat,),
@@ -240,14 +270,11 @@ class NarrationRenderTTS(BaseTransform):
240
270
  beat = require_tier(parents, TIER_NARRATIVE_BEAT)
241
271
  va = require_tier(parents, TIER_VOICE_ASSIGNMENT)
242
272
  cfg = require_tier(parents, TIER_WEAVE_CONFIG)
243
- config = cfg.body.get("config", {})
244
- text = beat.body.get("text", "")
245
- model_id = config.get("model_id", DEFAULT_MODEL_ID)
246
- tts = config.get("tts") # a registered backend, else ElevenLabs (#132)
273
+ r = _render_inputs(beat, va, cfg)
247
274
  # ElevenLabs bills per character — the only real spend here. A rate ESTIMATE
248
275
  # (== live-call spend; may over-report on a lower-level mixing-cache hit that
249
276
  # braidio can't yet detect — thorwhalen/braidio#8).
250
- cost = backend_cost_usd(text, tts=tts, model_id=model_id)
277
+ cost = backend_cost_usd(r.text, tts=r.tts, model_id=r.model_id)
251
278
 
252
279
  if use_cache and not force:
253
280
  # Idempotent re-run: the same render over the same, still-fresh
@@ -277,22 +304,19 @@ class NarrationRenderTTS(BaseTransform):
277
304
  out_path.parent.mkdir(parents=True, exist_ok=True)
278
305
  # was_cached: mixing served this from its on-disk cache (no ElevenLabs call
279
306
  # = $0 real spend) even though our graph cache missed — braidio#8.
280
- voice_id = va.body.get("voice_id") or DEFAULT_VOICE_ID
281
- settings = _beat_settings(beat, config)
282
307
  # The caller's key, if the driver handed one in (nw's `secrets=` seam;
283
308
  # thorwhalen/braidio#58) — else None, the process env. Never persisted:
284
309
  # not in the node, not in the cache_key.
285
310
  api_key = elevenlabs_key(secrets)
286
- turns = _beat_turns(beat, config, model_id=model_id, settings=settings)
287
311
  out_path, was_cached = _speak_beat(
288
- text,
312
+ r.text,
289
313
  out_path,
290
- tts=tts,
291
- turns=turns,
314
+ tts=r.tts,
315
+ turns=r.turns,
292
316
  api_key=api_key,
293
- voice_id=voice_id,
294
- model_id=model_id,
295
- settings=settings,
317
+ voice_id=r.voice_id,
318
+ model_id=r.model_id,
319
+ settings=r.settings,
296
320
  )
297
321
  duration = safe_duration(out_path)
298
322
  artifact = audio_artifact(
@@ -6,7 +6,7 @@ build-backend = "hatchling.build"
6
6
 
7
7
  [project]
8
8
  name = "braidio"
9
- version = "0.0.84"
9
+ version = "0.0.86"
10
10
  description = "Weave narration with extracted media segments into audiovisual productions"
11
11
  readme = "README.md"
12
12
  requires-python = ">=3.10"
@@ -128,7 +128,11 @@ video = ["burns>=0.0.16", "pillow", "tituli>=0.0.4"]
128
128
  # published in 0.0.58). braidio declares `production-structure/v1`'s sting and bed
129
129
  # asset ids at import of `braidio.transforms`, so an older nw fails at IMPORT —
130
130
  # the floor is what stops that.
131
- nw-app = ["lacing", "nw>=0.0.65", "falaw[fal]"]
131
+ # nw>=0.0.108: tolerant verifying-trace readers (nw#184, braidio#136). An older
132
+ # reader drops a trace written by a newer nw (it carries `excluded_paths`) and
133
+ # reads the child stale, which can re-render and spend. Every extra pulling nw
134
+ # carries this floor.
135
+ nw-app = ["lacing", "nw>=0.0.108", "falaw[fal]"]
132
136
  # The MCP server (`braidio.mcp`): a Claude.ai connector's tool surface + usage
133
137
  # metering. `fastmcp` + `py2mcp` build and serve it; the nw-app powers the project
134
138
  # and weave tools. The usage-ledger store is dependency-injected by the connector
@@ -137,9 +141,9 @@ nw-app = ["lacing", "nw>=0.0.65", "falaw[fal]"]
137
141
  # dol>=0.3.57: the asset tools use dol.content (ContentRef + content-addressed
138
142
  # store), added in that release — pin the floor so installs don't resolve an
139
143
  # older dol without it.
140
- # nw>=0.0.58: see the nw-app note above (the `secrets=` seam, braidio#58; the
141
- # asset-ref declarations `braidio.transforms` makes on import, nw#55).
142
- mcp = ["fastmcp", "py2mcp>=0.1.9", "pypdf", "dol>=0.3.57", "lacing", "nw>=0.0.65", "falaw[fal]", "yb[download]>=0.1.24", "graze>=0.1.45", "markdown-it-py", "mdit-py-plugins"]
144
+ # nw>=0.0.108: see the nw-app notes above (the `secrets=` seam, braidio#58; the
145
+ # asset-ref declarations, nw#55; tolerant trace readers, nw#184).
146
+ mcp = ["fastmcp", "py2mcp>=0.1.9", "pypdf", "dol>=0.3.57", "lacing", "nw>=0.0.108", "falaw[fal]", "yb[download]>=0.1.24", "graze>=0.1.45", "markdown-it-py", "mdit-py-plugins"]
143
147
  # The importer (`braidio.importing`): a finished commentary production ->
144
148
  # a real project graph. Needs the nw-app layer (it writes annotations) plus
145
149
  # `illustration` for licence normalization.
@@ -156,7 +160,7 @@ mcp = ["fastmcp", "py2mcp>=0.1.9", "pypdf", "dol>=0.3.57", "lacing", "nw>=0.0.65
156
160
  # changelog — the same wads caveat noted for nw and burns above (the version
157
161
  # bump lands in a commit AFTER the feature, so the git log reads one release
158
162
  # early).
159
- importing = ["illustration>=0.0.11", "lacing", "nw>=0.0.65", "falaw"]
163
+ importing = ["illustration>=0.0.11", "lacing", "nw>=0.0.108", "falaw"]
160
164
 
161
165
  # Packaging. The two shipped skills live at braidio/data/skills/<name>/ with
162
166
  # relative symlinks from .claude/skills/. hatchling walks the tree with
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes