@neuraloom/contracts 0.0.0-stage → 0.1.22

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 (1141) hide show
  1. package/dist/analytics/community-movie/attribution.schema.d.ts +264 -0
  2. package/dist/analytics/community-movie/attribution.schema.js +57 -0
  3. package/dist/analytics/community-movie/consent.schema.d.ts +15 -0
  4. package/dist/analytics/community-movie/consent.schema.js +16 -0
  5. package/dist/analytics/community-movie/event-names.d.ts +11 -0
  6. package/dist/analytics/community-movie/event-names.js +113 -0
  7. package/dist/analytics/community-movie/event-params.schema.d.ts +622 -0
  8. package/dist/analytics/community-movie/event-params.schema.js +416 -0
  9. package/dist/analytics/community-movie/event-registry.d.ts +11 -0
  10. package/dist/analytics/community-movie/event-registry.js +486 -0
  11. package/dist/analytics/community-movie/index.d.ts +6 -0
  12. package/dist/analytics/community-movie/index.js +22 -0
  13. package/dist/analytics/community-movie/telemetry-record.schema.d.ts +157 -0
  14. package/dist/analytics/community-movie/telemetry-record.schema.js +26 -0
  15. package/dist/analytics/index.d.ts +1 -0
  16. package/dist/analytics/index.js +17 -0
  17. package/dist/community/actor-builder-options.d.ts +43 -0
  18. package/dist/community/actor-builder-options.js +197 -0
  19. package/dist/constants/AGENT_MCP_PERMISSIONS.d.ts +26 -0
  20. package/dist/constants/AGENT_MCP_PERMISSIONS.js +122 -0
  21. package/dist/constants/AGENT_ROLES.d.ts +37 -0
  22. package/dist/constants/AGENT_ROLES.js +199 -0
  23. package/dist/constants/audiobook-embed-placeholder-url.d.ts +5 -0
  24. package/dist/constants/audiobook-embed-placeholder-url.js +8 -0
  25. package/dist/constants/ci-config.d.ts +4 -0
  26. package/dist/constants/ci-config.js +7 -0
  27. package/dist/constants/kg-implement-stable-keys.d.ts +9 -0
  28. package/dist/constants/kg-implement-stable-keys.js +26 -0
  29. package/dist/constants/knowledge-edge-relation.d.ts +49 -0
  30. package/dist/constants/knowledge-edge-relation.js +42 -0
  31. package/dist/constants/knowledge-node.d.ts +21 -0
  32. package/dist/constants/knowledge-node.js +20 -0
  33. package/dist/constants/mission-control-nav.d.ts +13 -0
  34. package/dist/constants/mission-control-nav.js +75 -0
  35. package/dist/constants/model-mode-preset-defaults.d.ts +5 -0
  36. package/dist/constants/model-mode-preset-defaults.js +65 -0
  37. package/dist/constants/model-policies.d.ts +37 -0
  38. package/dist/constants/model-policies.js +656 -0
  39. package/dist/constants/navConfig.d.ts +43 -0
  40. package/dist/constants/navConfig.js +132 -0
  41. package/dist/constants/orchestration-execution.d.ts +5 -0
  42. package/dist/constants/orchestration-execution.js +10 -0
  43. package/dist/constants/payload-schema-map.d.ts +22 -0
  44. package/dist/constants/payload-schema-map.js +375 -0
  45. package/dist/constants/phase-guardian.d.ts +17 -0
  46. package/dist/constants/phase-guardian.js +43 -0
  47. package/dist/constants/pipeline-step-stages.d.ts +73 -0
  48. package/dist/constants/pipeline-step-stages.js +342 -0
  49. package/dist/constants/project-control-nav.d.ts +29 -0
  50. package/dist/constants/project-control-nav.js +65 -0
  51. package/dist/constants/software-index-targets.d.ts +17 -0
  52. package/dist/constants/software-index-targets.js +46 -0
  53. package/dist/constants/step-tools.d.ts +32 -0
  54. package/dist/constants/step-tools.js +53 -0
  55. package/dist/constants/workflow-agent-defaults.d.ts +4 -0
  56. package/dist/constants/workflow-agent-defaults.js +15 -0
  57. package/dist/constants/workflow-api-errors.d.ts +5 -0
  58. package/dist/constants/workflow-api-errors.js +8 -0
  59. package/dist/constants/workflow-phase-groups.d.ts +34 -0
  60. package/dist/constants/workflow-phase-groups.js +46 -0
  61. package/dist/constants/workflow-registry.d.ts +77 -0
  62. package/dist/constants/workflow-registry.js +421 -0
  63. package/dist/constants/workflow-semantics.d.ts +19 -0
  64. package/dist/constants/workflow-semantics.js +432 -0
  65. package/dist/constants/workflow-vocabulary.d.ts +23 -0
  66. package/dist/constants/workflow-vocabulary.js +227 -0
  67. package/dist/constants/workflow.d.ts +7 -0
  68. package/dist/constants/workflow.js +23 -0
  69. package/dist/data/model-registry.d.ts +36 -0
  70. package/dist/data/model-registry.js +59 -0
  71. package/dist/index.d.ts +47 -0
  72. package/dist/index.js +90 -0
  73. package/dist/integration/index.d.ts +8 -0
  74. package/dist/integration/index.js +24 -0
  75. package/dist/integration/schema-hash-manifest.json +26 -0
  76. package/dist/lib/graph-edge-resolve.d.ts +3 -0
  77. package/dist/lib/graph-edge-resolve.js +20 -0
  78. package/dist/lib/graph-id.d.ts +16 -0
  79. package/dist/lib/graph-id.js +169 -0
  80. package/dist/lib/step-navigation.d.ts +35 -0
  81. package/dist/lib/step-navigation.js +218 -0
  82. package/dist/marketing/acquisition-landing-matrix.d.ts +46 -0
  83. package/dist/marketing/acquisition-landing-matrix.js +64 -0
  84. package/dist/marketing/acquisition-recommendation.schema.d.ts +284 -0
  85. package/dist/marketing/acquisition-recommendation.schema.js +84 -0
  86. package/dist/marketing/ads-account.schema.d.ts +46 -0
  87. package/dist/marketing/ads-account.schema.js +15 -0
  88. package/dist/marketing/ads-ad-group.schema.d.ts +52 -0
  89. package/dist/marketing/ads-ad-group.schema.js +17 -0
  90. package/dist/marketing/ads-campaign.schema.d.ts +59 -0
  91. package/dist/marketing/ads-campaign.schema.js +18 -0
  92. package/dist/marketing/ads-conversion-action.schema.d.ts +60 -0
  93. package/dist/marketing/ads-conversion-action.schema.js +27 -0
  94. package/dist/marketing/ads-keyword.schema.d.ts +59 -0
  95. package/dist/marketing/ads-keyword.schema.js +19 -0
  96. package/dist/marketing/ads-metrics-daily.schema.d.ts +95 -0
  97. package/dist/marketing/ads-metrics-daily.schema.js +24 -0
  98. package/dist/marketing/ads-overview.schema.d.ts +479 -0
  99. package/dist/marketing/ads-overview.schema.js +44 -0
  100. package/dist/marketing/ads-query.schema.d.ts +33 -0
  101. package/dist/marketing/ads-query.schema.js +13 -0
  102. package/dist/marketing/ads-search-term.schema.d.ts +70 -0
  103. package/dist/marketing/ads-search-term.schema.js +19 -0
  104. package/dist/marketing/campaign-asset.schema.d.ts +51 -0
  105. package/dist/marketing/campaign-asset.schema.js +39 -0
  106. package/dist/marketing/community-movie-ads-free-signup-campaign.d.ts +23 -0
  107. package/dist/marketing/community-movie-ads-free-signup-campaign.js +29 -0
  108. package/dist/marketing/community-movie-campaign-matrix.d.ts +47 -0
  109. package/dist/marketing/community-movie-campaign-matrix.js +265 -0
  110. package/dist/marketing/community-movie-google-ads.constants.d.ts +49 -0
  111. package/dist/marketing/community-movie-google-ads.constants.js +59 -0
  112. package/dist/marketing/config.schema.d.ts +32 -0
  113. package/dist/marketing/config.schema.js +31 -0
  114. package/dist/marketing/date-range.schema.d.ts +12 -0
  115. package/dist/marketing/date-range.schema.js +10 -0
  116. package/dist/marketing/entities/index.d.ts +6 -0
  117. package/dist/marketing/entities/index.js +11 -0
  118. package/dist/marketing/ga4-conversion.schema.d.ts +87 -0
  119. package/dist/marketing/ga4-conversion.schema.js +22 -0
  120. package/dist/marketing/ga4-event.schema.d.ts +98 -0
  121. package/dist/marketing/ga4-event.schema.js +23 -0
  122. package/dist/marketing/ga4-funnel.schema.d.ts +90 -0
  123. package/dist/marketing/ga4-funnel.schema.js +23 -0
  124. package/dist/marketing/ga4-landing-page.schema.d.ts +131 -0
  125. package/dist/marketing/ga4-landing-page.schema.js +25 -0
  126. package/dist/marketing/ga4-overview.schema.d.ts +478 -0
  127. package/dist/marketing/ga4-overview.schema.js +31 -0
  128. package/dist/marketing/ga4-query.schema.d.ts +19 -0
  129. package/dist/marketing/ga4-query.schema.js +27 -0
  130. package/dist/marketing/ga4-retention.schema.d.ts +79 -0
  131. package/dist/marketing/ga4-retention.schema.js +21 -0
  132. package/dist/marketing/ga4-traffic.schema.d.ts +154 -0
  133. package/dist/marketing/ga4-traffic.schema.js +27 -0
  134. package/dist/marketing/gsc-organic-overview.schema.d.ts +338 -0
  135. package/dist/marketing/gsc-organic-overview.schema.js +28 -0
  136. package/dist/marketing/gsc-organic-query.schema.d.ts +121 -0
  137. package/dist/marketing/gsc-organic-query.schema.js +24 -0
  138. package/dist/marketing/gsc-page-performance.schema.d.ts +121 -0
  139. package/dist/marketing/gsc-page-performance.schema.js +24 -0
  140. package/dist/marketing/gsc-query.schema.d.ts +19 -0
  141. package/dist/marketing/gsc-query.schema.js +27 -0
  142. package/dist/marketing/index.d.ts +47 -0
  143. package/dist/marketing/index.js +63 -0
  144. package/dist/marketing/marketing-attribution-summary.schema.d.ts +165 -0
  145. package/dist/marketing/marketing-attribution-summary.schema.js +26 -0
  146. package/dist/marketing/marketing-challenge-performance.schema.d.ts +139 -0
  147. package/dist/marketing/marketing-challenge-performance.schema.js +28 -0
  148. package/dist/marketing/marketing-conversion-enqueue.schema.d.ts +88 -0
  149. package/dist/marketing/marketing-conversion-enqueue.schema.js +34 -0
  150. package/dist/marketing/marketing-executive-overview.schema.d.ts +1865 -0
  151. package/dist/marketing/marketing-executive-overview.schema.js +39 -0
  152. package/dist/marketing/marketing-health.schema.d.ts +366 -0
  153. package/dist/marketing/marketing-health.schema.js +65 -0
  154. package/dist/marketing/marketing-keyword-opportunity.schema.d.ts +158 -0
  155. package/dist/marketing/marketing-keyword-opportunity.schema.js +34 -0
  156. package/dist/marketing/marketing-landing-page-intelligence.schema.d.ts +159 -0
  157. package/dist/marketing/marketing-landing-page-intelligence.schema.js +30 -0
  158. package/dist/marketing/marketing-readiness.schema.d.ts +506 -0
  159. package/dist/marketing/marketing-readiness.schema.js +83 -0
  160. package/dist/marketing/marketing-test-traffic.d.ts +6 -0
  161. package/dist/marketing/marketing-test-traffic.js +28 -0
  162. package/dist/marketing/marketing-visibility-overview.schema.d.ts +949 -0
  163. package/dist/marketing/marketing-visibility-overview.schema.js +42 -0
  164. package/dist/marketing/marketing-world-catalog.d.ts +10 -0
  165. package/dist/marketing/marketing-world-catalog.js +16 -0
  166. package/dist/marketing/marketing-world-performance.schema.d.ts +179 -0
  167. package/dist/marketing/marketing-world-performance.schema.js +32 -0
  168. package/dist/marketing/routes.d.ts +77 -0
  169. package/dist/marketing/routes.js +79 -0
  170. package/dist/marketing/search-negative-keywords.d.ts +6 -0
  171. package/dist/marketing/search-negative-keywords.js +30 -0
  172. package/dist/registry/schema-registry.d.ts +74 -0
  173. package/dist/registry/schema-registry.js +1148 -0
  174. package/dist/registry/table-ownership-registry.d.ts +57 -0
  175. package/dist/registry/table-ownership-registry.js +932 -0
  176. package/dist/routes/assurance.d.ts +6 -0
  177. package/dist/routes/assurance.js +14 -0
  178. package/dist/routes/community-operator.d.ts +117 -0
  179. package/dist/routes/community-operator.js +119 -0
  180. package/dist/routes/community.d.ts +232 -0
  181. package/dist/routes/community.js +246 -0
  182. package/dist/routes/index.d.ts +2203 -0
  183. package/dist/routes/index.js +1440 -0
  184. package/dist/schemas/ai/ai-generate-inputs.schema.d.ts +2056 -0
  185. package/dist/schemas/ai/ai-generate-inputs.schema.js +167 -0
  186. package/dist/schemas/ai/ai-run-metadata.schema.d.ts +39 -0
  187. package/dist/schemas/ai/ai-run-metadata.schema.js +24 -0
  188. package/dist/schemas/ai/ai-runs-list.schema.d.ts +248 -0
  189. package/dist/schemas/ai/ai-runs-list.schema.js +27 -0
  190. package/dist/schemas/ai/analytics-generate.schema.d.ts +185 -0
  191. package/dist/schemas/ai/analytics-generate.schema.js +59 -0
  192. package/dist/schemas/ai/api-generate.schema.d.ts +49 -0
  193. package/dist/schemas/ai/api-generate.schema.js +16 -0
  194. package/dist/schemas/ai/api.schema.d.ts +80 -0
  195. package/dist/schemas/ai/api.schema.js +22 -0
  196. package/dist/schemas/ai/architecture-generate.schema.d.ts +47 -0
  197. package/dist/schemas/ai/architecture-generate.schema.js +19 -0
  198. package/dist/schemas/ai/argument-map-generate.schema.d.ts +433 -0
  199. package/dist/schemas/ai/argument-map-generate.schema.js +62 -0
  200. package/dist/schemas/ai/audit-existing-output-evidence.schema.d.ts +153 -0
  201. package/dist/schemas/ai/audit-existing-output-evidence.schema.js +46 -0
  202. package/dist/schemas/ai/brief-improve-generate.schema.d.ts +2291 -0
  203. package/dist/schemas/ai/brief-improve-generate.schema.js +293 -0
  204. package/dist/schemas/ai/chapter-revision.schema.d.ts +817 -0
  205. package/dist/schemas/ai/chapter-revision.schema.js +267 -0
  206. package/dist/schemas/ai/code-generate.schema.d.ts +1492 -0
  207. package/dist/schemas/ai/code-generate.schema.js +46 -0
  208. package/dist/schemas/ai/community-pitch-critique-generate.schema.d.ts +31 -0
  209. package/dist/schemas/ai/community-pitch-critique-generate.schema.js +17 -0
  210. package/dist/schemas/ai/community-suggestion-summary-generate.schema.d.ts +34 -0
  211. package/dist/schemas/ai/community-suggestion-summary-generate.schema.js +19 -0
  212. package/dist/schemas/ai/compliance-generate.schema.d.ts +24 -0
  213. package/dist/schemas/ai/compliance-generate.schema.js +11 -0
  214. package/dist/schemas/ai/compliance.schema.d.ts +58 -0
  215. package/dist/schemas/ai/compliance.schema.js +22 -0
  216. package/dist/schemas/ai/constitution-generate.schema.d.ts +221 -0
  217. package/dist/schemas/ai/constitution-generate.schema.js +52 -0
  218. package/dist/schemas/ai/constitution-kg-gate-status.schema.d.ts +33 -0
  219. package/dist/schemas/ai/constitution-kg-gate-status.schema.js +15 -0
  220. package/dist/schemas/ai/constitution-validate-input.schema.d.ts +18 -0
  221. package/dist/schemas/ai/constitution-validate-input.schema.js +10 -0
  222. package/dist/schemas/ai/constitution-writing-generate.schema.d.ts +437 -0
  223. package/dist/schemas/ai/constitution-writing-generate.schema.js +70 -0
  224. package/dist/schemas/ai/constitution.schema.d.ts +19 -0
  225. package/dist/schemas/ai/constitution.schema.js +12 -0
  226. package/dist/schemas/ai/counterclaim-framework-generate.schema.d.ts +479 -0
  227. package/dist/schemas/ai/counterclaim-framework-generate.schema.js +66 -0
  228. package/dist/schemas/ai/coverage-generate.schema.d.ts +61 -0
  229. package/dist/schemas/ai/coverage-generate.schema.js +27 -0
  230. package/dist/schemas/ai/definitions-generate.schema.d.ts +448 -0
  231. package/dist/schemas/ai/definitions-generate.schema.js +62 -0
  232. package/dist/schemas/ai/deployments-generate.schema.d.ts +40 -0
  233. package/dist/schemas/ai/deployments-generate.schema.js +18 -0
  234. package/dist/schemas/ai/docs-generate.schema.d.ts +51 -0
  235. package/dist/schemas/ai/docs-generate.schema.js +18 -0
  236. package/dist/schemas/ai/domain-context.d.ts +58 -0
  237. package/dist/schemas/ai/domain-context.js +185 -0
  238. package/dist/schemas/ai/draft-generate.schema.d.ts +32 -0
  239. package/dist/schemas/ai/draft-generate.schema.js +17 -0
  240. package/dist/schemas/ai/editorial-guardian-generate.schema.d.ts +470 -0
  241. package/dist/schemas/ai/editorial-guardian-generate.schema.js +60 -0
  242. package/dist/schemas/ai/editorial-revise-chapter.schema.d.ts +411 -0
  243. package/dist/schemas/ai/editorial-revise-chapter.schema.js +83 -0
  244. package/dist/schemas/ai/film-clip-review-generate.schema.d.ts +291 -0
  245. package/dist/schemas/ai/film-clip-review-generate.schema.js +35 -0
  246. package/dist/schemas/ai/film-keyframe-generate.schema.d.ts +359 -0
  247. package/dist/schemas/ai/film-keyframe-generate.schema.js +28 -0
  248. package/dist/schemas/ai/film-keyframe-register.schema.d.ts +67 -0
  249. package/dist/schemas/ai/film-keyframe-register.schema.js +16 -0
  250. package/dist/schemas/ai/film-shot-risk-assess.schema.d.ts +12 -0
  251. package/dist/schemas/ai/film-shot-risk-assess.schema.js +10 -0
  252. package/dist/schemas/ai/film-still-review-generate.schema.d.ts +232 -0
  253. package/dist/schemas/ai/film-still-review-generate.schema.js +31 -0
  254. package/dist/schemas/ai/film-workflow-generate.schema.d.ts +117 -0
  255. package/dist/schemas/ai/film-workflow-generate.schema.js +33 -0
  256. package/dist/schemas/ai/generate-response.schema.d.ts +66 -0
  257. package/dist/schemas/ai/generate-response.schema.js +26 -0
  258. package/dist/schemas/ai/guardian-gate-status.schema.d.ts +112 -0
  259. package/dist/schemas/ai/guardian-gate-status.schema.js +17 -0
  260. package/dist/schemas/ai/guardian-kg-gate-status.schema.d.ts +58 -0
  261. package/dist/schemas/ai/guardian-kg-gate-status.schema.js +30 -0
  262. package/dist/schemas/ai/guardian-rule-detail.schema.d.ts +74 -0
  263. package/dist/schemas/ai/guardian-rule-detail.schema.js +19 -0
  264. package/dist/schemas/ai/guardian-score-history.schema.d.ts +75 -0
  265. package/dist/schemas/ai/guardian-score-history.schema.js +16 -0
  266. package/dist/schemas/ai/implement-graph.schema.d.ts +323 -0
  267. package/dist/schemas/ai/implement-graph.schema.js +51 -0
  268. package/dist/schemas/ai/implement-kg-gate-status.schema.d.ts +36 -0
  269. package/dist/schemas/ai/implement-kg-gate-status.schema.js +16 -0
  270. package/dist/schemas/ai/implement.schema.d.ts +73 -0
  271. package/dist/schemas/ai/implement.schema.js +23 -0
  272. package/dist/schemas/ai/index.d.ts +46 -0
  273. package/dist/schemas/ai/index.js +62 -0
  274. package/dist/schemas/ai/knowledge-kg-gate-status.schema.d.ts +73 -0
  275. package/dist/schemas/ai/knowledge-kg-gate-status.schema.js +24 -0
  276. package/dist/schemas/ai/knowledge-search-generate.schema.d.ts +2 -0
  277. package/dist/schemas/ai/knowledge-search-generate.schema.js +6 -0
  278. package/dist/schemas/ai/manuscript-checks.schema.d.ts +6095 -0
  279. package/dist/schemas/ai/manuscript-checks.schema.js +440 -0
  280. package/dist/schemas/ai/model-policy/index.d.ts +9 -0
  281. package/dist/schemas/ai/model-policy/index.js +25 -0
  282. package/dist/schemas/ai/model-policy/model-mode-preset.schema.d.ts +83 -0
  283. package/dist/schemas/ai/model-policy/model-mode-preset.schema.js +20 -0
  284. package/dist/schemas/ai/model-policy/model-modes.schema.d.ts +13 -0
  285. package/dist/schemas/ai/model-policy/model-modes.schema.js +27 -0
  286. package/dist/schemas/ai/model-policy/model-policy-resolved.schema.d.ts +44 -0
  287. package/dist/schemas/ai/model-policy/model-policy-resolved.schema.js +27 -0
  288. package/dist/schemas/ai/model-policy/model-quality-summary.schema.d.ts +133 -0
  289. package/dist/schemas/ai/model-policy/model-quality-summary.schema.js +35 -0
  290. package/dist/schemas/ai/model-policy/model-usage-summary.schema.d.ts +204 -0
  291. package/dist/schemas/ai/model-policy/model-usage-summary.schema.js +38 -0
  292. package/dist/schemas/ai/model-policy/project-model-policy.schema.d.ts +1311 -0
  293. package/dist/schemas/ai/model-policy/project-model-policy.schema.js +33 -0
  294. package/dist/schemas/ai/model-policy/workflow-phase-model-override.schema.d.ts +66 -0
  295. package/dist/schemas/ai/model-policy/workflow-phase-model-override.schema.js +48 -0
  296. package/dist/schemas/ai/model-policy/workflow-step-ids.schema.d.ts +2 -0
  297. package/dist/schemas/ai/model-policy/workflow-step-ids.schema.js +24 -0
  298. package/dist/schemas/ai/model-policy/workflow-step-model-override.schema.d.ts +63 -0
  299. package/dist/schemas/ai/model-policy/workflow-step-model-override.schema.js +43 -0
  300. package/dist/schemas/ai/orchestration-generate-fields.schema.d.ts +9 -0
  301. package/dist/schemas/ai/orchestration-generate-fields.schema.js +8 -0
  302. package/dist/schemas/ai/payload-json-schemas.d.ts +110 -0
  303. package/dist/schemas/ai/payload-json-schemas.js +154 -0
  304. package/dist/schemas/ai/plan.schema.d.ts +137 -0
  305. package/dist/schemas/ai/plan.schema.js +36 -0
  306. package/dist/schemas/ai/refine-fields.schema.d.ts +34 -0
  307. package/dist/schemas/ai/refine-fields.schema.js +27 -0
  308. package/dist/schemas/ai/review-generate.schema.d.ts +35 -0
  309. package/dist/schemas/ai/review-generate.schema.js +15 -0
  310. package/dist/schemas/ai/review.schema.d.ts +77 -0
  311. package/dist/schemas/ai/review.schema.js +29 -0
  312. package/dist/schemas/ai/run-trace.schema.d.ts +105 -0
  313. package/dist/schemas/ai/run-trace.schema.js +43 -0
  314. package/dist/schemas/ai/schema-generate.schema.d.ts +185 -0
  315. package/dist/schemas/ai/schema-generate.schema.js +44 -0
  316. package/dist/schemas/ai/schema.schema.d.ts +205 -0
  317. package/dist/schemas/ai/schema.schema.js +50 -0
  318. package/dist/schemas/ai/screenplay.schema.d.ts +550 -0
  319. package/dist/schemas/ai/screenplay.schema.js +77 -0
  320. package/dist/schemas/ai/source-registry-generate.schema.d.ts +245 -0
  321. package/dist/schemas/ai/source-registry-generate.schema.js +41 -0
  322. package/dist/schemas/ai/spec.schema.d.ts +248 -0
  323. package/dist/schemas/ai/spec.schema.js +78 -0
  324. package/dist/schemas/ai/style-system-generate.schema.d.ts +319 -0
  325. package/dist/schemas/ai/style-system-generate.schema.js +67 -0
  326. package/dist/schemas/ai/tasks-kg-gate-status.schema.d.ts +24 -0
  327. package/dist/schemas/ai/tasks-kg-gate-status.schema.js +12 -0
  328. package/dist/schemas/ai/tasks.schema.d.ts +49 -0
  329. package/dist/schemas/ai/tasks.schema.js +17 -0
  330. package/dist/schemas/ai/ui-generation-standard.schema.d.ts +42 -0
  331. package/dist/schemas/ai/ui-generation-standard.schema.js +40 -0
  332. package/dist/schemas/ai/ui-kg-gate-status.schema.d.ts +42 -0
  333. package/dist/schemas/ai/ui-kg-gate-status.schema.js +18 -0
  334. package/dist/schemas/ai/ui.schema.d.ts +22 -0
  335. package/dist/schemas/ai/ui.schema.js +13 -0
  336. package/dist/schemas/ai/workflow-artifacts.schema.d.ts +36075 -0
  337. package/dist/schemas/ai/workflow-artifacts.schema.js +2829 -0
  338. package/dist/schemas/ai/workflow-execution-mode.schema.d.ts +4 -0
  339. package/dist/schemas/ai/workflow-execution-mode.schema.js +6 -0
  340. package/dist/schemas/ai/writing-draft-all-generate.schema.d.ts +3444 -0
  341. package/dist/schemas/ai/writing-draft-all-generate.schema.js +319 -0
  342. package/dist/schemas/ai/writing-tasks-generate.schema.d.ts +283 -0
  343. package/dist/schemas/ai/writing-tasks-generate.schema.js +52 -0
  344. package/dist/schemas/ai/zod-openai-json-schema.d.ts +2 -0
  345. package/dist/schemas/ai/zod-openai-json-schema.js +67 -0
  346. package/dist/schemas/ai-ci-generate.d.ts +47 -0
  347. package/dist/schemas/ai-ci-generate.js +19 -0
  348. package/dist/schemas/ai-llm-outputs.d.ts +52 -0
  349. package/dist/schemas/ai-llm-outputs.js +26 -0
  350. package/dist/schemas/api/create-orchestration-request.schema.d.ts +13 -0
  351. package/dist/schemas/api/create-orchestration-request.schema.js +10 -0
  352. package/dist/schemas/api/implement-orchestration-session.schema.d.ts +26 -0
  353. package/dist/schemas/api/implement-orchestration-session.schema.js +11 -0
  354. package/dist/schemas/api/orchestration-events-list-response.schema.d.ts +108 -0
  355. package/dist/schemas/api/orchestration-events-list-response.schema.js +27 -0
  356. package/dist/schemas/api/plans-list-response.schema.d.ts +203 -0
  357. package/dist/schemas/api/plans-list-response.schema.js +35 -0
  358. package/dist/schemas/api/project-model-usage-query.schema.d.ts +24 -0
  359. package/dist/schemas/api/project-model-usage-query.schema.js +42 -0
  360. package/dist/schemas/api/specs-list-response.schema.d.ts +78 -0
  361. package/dist/schemas/api/specs-list-response.schema.js +23 -0
  362. package/dist/schemas/api-envelope.schema.d.ts +131 -0
  363. package/dist/schemas/api-envelope.schema.js +60 -0
  364. package/dist/schemas/artifacts/artifact-upload-proxy.schema.d.ts +27 -0
  365. package/dist/schemas/artifacts/artifact-upload-proxy.schema.js +15 -0
  366. package/dist/schemas/assurance/assurance-mode.schema.d.ts +33 -0
  367. package/dist/schemas/assurance/assurance-mode.schema.js +25 -0
  368. package/dist/schemas/assurance/browser-outcome-proof.schema.d.ts +164 -0
  369. package/dist/schemas/assurance/browser-outcome-proof.schema.js +58 -0
  370. package/dist/schemas/assurance/computation-authority-registry.schema.d.ts +108 -0
  371. package/dist/schemas/assurance/computation-authority-registry.schema.js +36 -0
  372. package/dist/schemas/assurance/documentation-evidence.schema.d.ts +131 -0
  373. package/dist/schemas/assurance/documentation-evidence.schema.js +44 -0
  374. package/dist/schemas/assurance/domain-assurance-evidence-pack.schema.d.ts +743 -0
  375. package/dist/schemas/assurance/domain-assurance-evidence-pack.schema.js +28 -0
  376. package/dist/schemas/assurance/domain-assurance-verdict.schema.d.ts +40 -0
  377. package/dist/schemas/assurance/domain-assurance-verdict.schema.js +24 -0
  378. package/dist/schemas/assurance/domain-truth-brief.schema.d.ts +270 -0
  379. package/dist/schemas/assurance/domain-truth-brief.schema.js +73 -0
  380. package/dist/schemas/assurance/enterprise-targeting.schema.d.ts +46 -0
  381. package/dist/schemas/assurance/enterprise-targeting.schema.js +24 -0
  382. package/dist/schemas/assurance/gate-result.schema.d.ts +35 -0
  383. package/dist/schemas/assurance/gate-result.schema.js +35 -0
  384. package/dist/schemas/assurance/index.d.ts +13 -0
  385. package/dist/schemas/assurance/index.js +30 -0
  386. package/dist/schemas/assurance/provider-call-ledger.schema.d.ts +97 -0
  387. package/dist/schemas/assurance/provider-call-ledger.schema.js +36 -0
  388. package/dist/schemas/assurance/provider-ledger-response.schema.d.ts +113 -0
  389. package/dist/schemas/assurance/provider-ledger-response.schema.js +29 -0
  390. package/dist/schemas/assurance/release-verdict.schema.d.ts +87 -0
  391. package/dist/schemas/assurance/release-verdict.schema.js +47 -0
  392. package/dist/schemas/assurance/risk-class.schema.d.ts +30 -0
  393. package/dist/schemas/assurance/risk-class.schema.js +33 -0
  394. package/dist/schemas/audiobook/alice-pronunciation.schema.d.ts +80 -0
  395. package/dist/schemas/audiobook/alice-pronunciation.schema.js +45 -0
  396. package/dist/schemas/audiobook/audiobook-api.schema.d.ts +1937 -0
  397. package/dist/schemas/audiobook/audiobook-api.schema.js +201 -0
  398. package/dist/schemas/audiobook/audiobook-artifacts.schema.d.ts +4069 -0
  399. package/dist/schemas/audiobook/audiobook-artifacts.schema.js +469 -0
  400. package/dist/schemas/audiobook/audiobook-studio.schema.d.ts +670 -0
  401. package/dist/schemas/audiobook/audiobook-studio.schema.js +159 -0
  402. package/dist/schemas/audiobook/audiobook-validation.d.ts +227 -0
  403. package/dist/schemas/audiobook/audiobook-validation.js +23 -0
  404. package/dist/schemas/audiobook/chunk-narration-script.d.ts +17 -0
  405. package/dist/schemas/audiobook/chunk-narration-script.js +96 -0
  406. package/dist/schemas/audiobook/elevenlabs-provider.schema.d.ts +167 -0
  407. package/dist/schemas/audiobook/elevenlabs-provider.schema.js +93 -0
  408. package/dist/schemas/audiobook/index.d.ts +8 -0
  409. package/dist/schemas/audiobook/index.js +24 -0
  410. package/dist/schemas/audiobook/narration-chunk.schema.d.ts +114 -0
  411. package/dist/schemas/audiobook/narration-chunk.schema.js +38 -0
  412. package/dist/schemas/audiobook-embed/audiobook-embed.schema.d.ts +1732 -0
  413. package/dist/schemas/audiobook-embed/audiobook-embed.schema.js +259 -0
  414. package/dist/schemas/auth/session-context.schema.d.ts +177 -0
  415. package/dist/schemas/auth/session-context.schema.js +40 -0
  416. package/dist/schemas/cache/cache-ai-response.schema.d.ts +50 -0
  417. package/dist/schemas/cache/cache-ai-response.schema.js +28 -0
  418. package/dist/schemas/ci/ci-allow-skip-actionlint-patch.schema.d.ts +16 -0
  419. package/dist/schemas/ci/ci-allow-skip-actionlint-patch.schema.js +12 -0
  420. package/dist/schemas/ci/ci-apply-post-success.schema.d.ts +24 -0
  421. package/dist/schemas/ci/ci-apply-post-success.schema.js +15 -0
  422. package/dist/schemas/ci/ci-canonical-readiness.schema.d.ts +155 -0
  423. package/dist/schemas/ci/ci-canonical-readiness.schema.js +47 -0
  424. package/dist/schemas/ci/ci-dispatch-post.schema.d.ts +34 -0
  425. package/dist/schemas/ci/ci-dispatch-post.schema.js +20 -0
  426. package/dist/schemas/ci/ci-ingest-post.schema.d.ts +37 -0
  427. package/dist/schemas/ci/ci-ingest-post.schema.js +22 -0
  428. package/dist/schemas/ci/ci-operator-ready-patch.schema.d.ts +13 -0
  429. package/dist/schemas/ci/ci-operator-ready-patch.schema.js +11 -0
  430. package/dist/schemas/ci/ci-pipeline-status.schema.d.ts +3 -0
  431. package/dist/schemas/ci/ci-pipeline-status.schema.js +13 -0
  432. package/dist/schemas/ci/ci-run.schema.d.ts +44 -0
  433. package/dist/schemas/ci/ci-run.schema.js +27 -0
  434. package/dist/schemas/ci/ci-runs-list-response.schema.d.ts +91 -0
  435. package/dist/schemas/ci/ci-runs-list-response.schema.js +13 -0
  436. package/dist/schemas/ci/ci-status-get.schema.d.ts +155 -0
  437. package/dist/schemas/ci/ci-status-get.schema.js +12 -0
  438. package/dist/schemas/ci/ci-status-response.schema.d.ts +554 -0
  439. package/dist/schemas/ci/ci-status-response.schema.js +151 -0
  440. package/dist/schemas/ci/index.d.ts +12 -0
  441. package/dist/schemas/ci/index.js +28 -0
  442. package/dist/schemas/ci/pr-check-run.schema.d.ts +44 -0
  443. package/dist/schemas/ci/pr-check-run.schema.js +21 -0
  444. package/dist/schemas/ci/project-engine-context.schema.d.ts +70 -0
  445. package/dist/schemas/ci/project-engine-context.schema.js +26 -0
  446. package/dist/schemas/community/community-actor-comment-body.schema.d.ts +9 -0
  447. package/dist/schemas/community/community-actor-comment-body.schema.js +9 -0
  448. package/dist/schemas/community/community-actor-universe-vote.schema.d.ts +10 -0
  449. package/dist/schemas/community/community-actor-universe-vote.schema.js +10 -0
  450. package/dist/schemas/community/community-ad-capi.schema.d.ts +77 -0
  451. package/dist/schemas/community/community-ad-capi.schema.js +42 -0
  452. package/dist/schemas/community/community-billing-checkout.schema.d.ts +31 -0
  453. package/dist/schemas/community/community-billing-checkout.schema.js +43 -0
  454. package/dist/schemas/community/community-challenge.schema.d.ts +43 -0
  455. package/dist/schemas/community/community-challenge.schema.js +21 -0
  456. package/dist/schemas/community/community-content-translation.schema.d.ts +99 -0
  457. package/dist/schemas/community/community-content-translation.schema.js +63 -0
  458. package/dist/schemas/community/community-credit-transaction.schema.d.ts +36 -0
  459. package/dist/schemas/community/community-credit-transaction.schema.js +19 -0
  460. package/dist/schemas/community/community-development-input.schema.d.ts +20 -0
  461. package/dist/schemas/community/community-development-input.schema.js +16 -0
  462. package/dist/schemas/community/community-development-room.schema.d.ts +28 -0
  463. package/dist/schemas/community/community-development-room.schema.js +16 -0
  464. package/dist/schemas/community/community-email.schema.d.ts +96 -0
  465. package/dist/schemas/community/community-email.schema.js +65 -0
  466. package/dist/schemas/community/community-film-playback.schema.d.ts +287 -0
  467. package/dist/schemas/community/community-film-playback.schema.js +52 -0
  468. package/dist/schemas/community/community-film-video-variant.schema.d.ts +94 -0
  469. package/dist/schemas/community/community-film-video-variant.schema.js +53 -0
  470. package/dist/schemas/community/community-film-world-marketing.schema.d.ts +27 -0
  471. package/dist/schemas/community/community-film-world-marketing.schema.js +67 -0
  472. package/dist/schemas/community/community-film.schema.d.ts +183 -0
  473. package/dist/schemas/community/community-film.schema.js +105 -0
  474. package/dist/schemas/community/community-idea-promote.schema.d.ts +4 -0
  475. package/dist/schemas/community/community-idea-promote.schema.js +6 -0
  476. package/dist/schemas/community/community-idea-submission.schema.d.ts +54 -0
  477. package/dist/schemas/community/community-idea-submission.schema.js +22 -0
  478. package/dist/schemas/community/community-idea-version.schema.d.ts +72 -0
  479. package/dist/schemas/community/community-idea-version.schema.js +28 -0
  480. package/dist/schemas/community/community-idea.schema.d.ts +71 -0
  481. package/dist/schemas/community/community-idea.schema.js +36 -0
  482. package/dist/schemas/community/community-locale.schema.d.ts +8 -0
  483. package/dist/schemas/community/community-locale.schema.js +10 -0
  484. package/dist/schemas/community/community-membership-monthly-credits.d.ts +4 -0
  485. package/dist/schemas/community/community-membership-monthly-credits.js +18 -0
  486. package/dist/schemas/community/community-membership.schema.d.ts +34 -0
  487. package/dist/schemas/community/community-membership.schema.js +19 -0
  488. package/dist/schemas/community/community-moderation-flag.schema.d.ts +31 -0
  489. package/dist/schemas/community/community-moderation-flag.schema.js +17 -0
  490. package/dist/schemas/community/community-movie-actor-blueprint.schema.d.ts +196 -0
  491. package/dist/schemas/community/community-movie-actor-blueprint.schema.js +30 -0
  492. package/dist/schemas/community/community-movie-actor-card.schema.d.ts +37 -0
  493. package/dist/schemas/community/community-movie-actor-card.schema.js +20 -0
  494. package/dist/schemas/community/community-movie-actor-create-request.schema.d.ts +102 -0
  495. package/dist/schemas/community/community-movie-actor-create-request.schema.js +24 -0
  496. package/dist/schemas/community/community-movie-actor-create-response.schema.d.ts +35 -0
  497. package/dist/schemas/community/community-movie-actor-create-response.schema.js +12 -0
  498. package/dist/schemas/community/community-movie-actor-gate-result.schema.d.ts +15 -0
  499. package/dist/schemas/community/community-movie-actor-gate-result.schema.js +11 -0
  500. package/dist/schemas/community/community-movie-actor-image-prompt-pack.schema.d.ts +22 -0
  501. package/dist/schemas/community/community-movie-actor-image-prompt-pack.schema.js +14 -0
  502. package/dist/schemas/community/community-movie-actor-kg-seed.schema.d.ts +68 -0
  503. package/dist/schemas/community/community-movie-actor-kg-seed.schema.js +31 -0
  504. package/dist/schemas/community/community-movie-actor-option-selection.schema.d.ts +43 -0
  505. package/dist/schemas/community/community-movie-actor-option-selection.schema.js +22 -0
  506. package/dist/schemas/community/community-movie-actor-portrait-url.schema.d.ts +10 -0
  507. package/dist/schemas/community/community-movie-actor-portrait-url.schema.js +10 -0
  508. package/dist/schemas/community/community-movie-actor-vote-response.schema.d.ts +13 -0
  509. package/dist/schemas/community/community-movie-actor-vote-response.schema.js +9 -0
  510. package/dist/schemas/community/community-movie-canonical-character.schema.d.ts +78 -0
  511. package/dist/schemas/community/community-movie-canonical-character.schema.js +104 -0
  512. package/dist/schemas/community/community-movie-gallery.schema.d.ts +28 -0
  513. package/dist/schemas/community/community-movie-gallery.schema.js +90 -0
  514. package/dist/schemas/community/community-movie-gate-result.schema.d.ts +46 -0
  515. package/dist/schemas/community/community-movie-gate-result.schema.js +23 -0
  516. package/dist/schemas/community/community-movie-idea-card.schema.d.ts +31 -0
  517. package/dist/schemas/community/community-movie-idea-card.schema.js +17 -0
  518. package/dist/schemas/community/community-movie-idea-input.schema.d.ts +22 -0
  519. package/dist/schemas/community/community-movie-idea-input.schema.js +14 -0
  520. package/dist/schemas/community/community-movie-idea-structured.schema.d.ts +34 -0
  521. package/dist/schemas/community/community-movie-idea-structured.schema.js +20 -0
  522. package/dist/schemas/community/community-movie-kg-seed.schema.d.ts +73 -0
  523. package/dist/schemas/community/community-movie-kg-seed.schema.js +84 -0
  524. package/dist/schemas/community/community-movie-stage-transitions.d.ts +15 -0
  525. package/dist/schemas/community/community-movie-stage-transitions.js +35 -0
  526. package/dist/schemas/community/community-movie-world-cta.schema.d.ts +75 -0
  527. package/dist/schemas/community/community-movie-world-cta.schema.js +83 -0
  528. package/dist/schemas/community/community-partner-offers.d.ts +13 -0
  529. package/dist/schemas/community/community-partner-offers.js +22 -0
  530. package/dist/schemas/community/community-partner.schema.d.ts +41 -0
  531. package/dist/schemas/community/community-partner.schema.js +23 -0
  532. package/dist/schemas/community/community-poll.schema.d.ts +54 -0
  533. package/dist/schemas/community/community-poll.schema.js +27 -0
  534. package/dist/schemas/community/community-production-operator.schema.d.ts +320 -0
  535. package/dist/schemas/community/community-production-operator.schema.js +91 -0
  536. package/dist/schemas/community/community-referral.schema.d.ts +155 -0
  537. package/dist/schemas/community/community-referral.schema.js +63 -0
  538. package/dist/schemas/community/community-signup-intake.constants.d.ts +13 -0
  539. package/dist/schemas/community/community-signup-intake.constants.js +134 -0
  540. package/dist/schemas/community/community-signup-intake.schema.d.ts +87 -0
  541. package/dist/schemas/community/community-signup-intake.schema.js +82 -0
  542. package/dist/schemas/community/community-slate.schema.d.ts +60 -0
  543. package/dist/schemas/community/community-slate.schema.js +29 -0
  544. package/dist/schemas/community/community-stage-transition.schema.d.ts +33 -0
  545. package/dist/schemas/community/community-stage-transition.schema.js +18 -0
  546. package/dist/schemas/community/community-suggestion.schema.d.ts +35 -0
  547. package/dist/schemas/community/community-suggestion.schema.js +24 -0
  548. package/dist/schemas/community/community-vote.schema.d.ts +24 -0
  549. package/dist/schemas/community/community-vote.schema.js +14 -0
  550. package/dist/schemas/community/community-waitlist.schema.d.ts +12 -0
  551. package/dist/schemas/community/community-waitlist.schema.js +10 -0
  552. package/dist/schemas/community/community-world-contribution.schema.d.ts +102 -0
  553. package/dist/schemas/community/community-world-contribution.schema.js +86 -0
  554. package/dist/schemas/community/credit-disclosure-variant.schema.d.ts +4 -0
  555. package/dist/schemas/community/credit-disclosure-variant.schema.js +6 -0
  556. package/dist/schemas/community/index.d.ts +56 -0
  557. package/dist/schemas/community/index.js +72 -0
  558. package/dist/schemas/cortex/bridge-envelope.schema.d.ts +70 -0
  559. package/dist/schemas/cortex/bridge-envelope.schema.js +77 -0
  560. package/dist/schemas/cortex/bridge-event-catalogue.d.ts +14 -0
  561. package/dist/schemas/cortex/bridge-event-catalogue.js +138 -0
  562. package/dist/schemas/cortex/bridge-events.schema.d.ts +12554 -0
  563. package/dist/schemas/cortex/bridge-events.schema.js +793 -0
  564. package/dist/schemas/cortex/bridge-readiness.schema.d.ts +27 -0
  565. package/dist/schemas/cortex/bridge-readiness.schema.js +15 -0
  566. package/dist/schemas/cortex/film-bridge-events.schema.d.ts +301 -0
  567. package/dist/schemas/cortex/film-bridge-events.schema.js +116 -0
  568. package/dist/schemas/cortex/index.d.ts +7 -0
  569. package/dist/schemas/cortex/index.js +23 -0
  570. package/dist/schemas/cortex/product-release-package.schema.d.ts +370 -0
  571. package/dist/schemas/cortex/product-release-package.schema.js +123 -0
  572. package/dist/schemas/cortex/proof-run-recorder.schema.d.ts +144 -0
  573. package/dist/schemas/cortex/proof-run-recorder.schema.js +43 -0
  574. package/dist/schemas/deployments/deployment-predict.schema.d.ts +165 -0
  575. package/dist/schemas/deployments/deployment-predict.schema.js +92 -0
  576. package/dist/schemas/deployments/deployment-preflight.schema.d.ts +184 -0
  577. package/dist/schemas/deployments/deployment-preflight.schema.js +80 -0
  578. package/dist/schemas/deployments/deployment-rollback.schema.d.ts +519 -0
  579. package/dist/schemas/deployments/deployment-rollback.schema.js +102 -0
  580. package/dist/schemas/deployments/deployment-status.schema.d.ts +1359 -0
  581. package/dist/schemas/deployments/deployment-status.schema.js +421 -0
  582. package/dist/schemas/film/film-artifact-kind.schema.d.ts +2 -0
  583. package/dist/schemas/film/film-artifact-kind.schema.js +6 -0
  584. package/dist/schemas/film/film-artifact-payloads.schema.d.ts +532 -0
  585. package/dist/schemas/film/film-artifact-payloads.schema.js +174 -0
  586. package/dist/schemas/film/film-asset-review.schema.d.ts +83 -0
  587. package/dist/schemas/film/film-asset-review.schema.js +42 -0
  588. package/dist/schemas/film/film-asset-rights-profile.schema.d.ts +68 -0
  589. package/dist/schemas/film/film-asset-rights-profile.schema.js +33 -0
  590. package/dist/schemas/film/film-character-pack-api.schema.d.ts +216 -0
  591. package/dist/schemas/film/film-character-pack-api.schema.js +51 -0
  592. package/dist/schemas/film/film-character-pack.schema.d.ts +51 -0
  593. package/dist/schemas/film/film-character-pack.schema.js +24 -0
  594. package/dist/schemas/film/film-character-scene-state.schema.d.ts +36 -0
  595. package/dist/schemas/film/film-character-scene-state.schema.js +18 -0
  596. package/dist/schemas/film/film-clip-api.schema.d.ts +379 -0
  597. package/dist/schemas/film/film-clip-api.schema.js +159 -0
  598. package/dist/schemas/film/film-clip-review-orchestration.schema.d.ts +234 -0
  599. package/dist/schemas/film/film-clip-review-orchestration.schema.js +23 -0
  600. package/dist/schemas/film/film-clip-review-scores.schema.d.ts +51 -0
  601. package/dist/schemas/film/film-clip-review-scores.schema.js +49 -0
  602. package/dist/schemas/film/film-clip-structured-review-artifact.schema.d.ts +175 -0
  603. package/dist/schemas/film/film-clip-structured-review-artifact.schema.js +15 -0
  604. package/dist/schemas/film/film-clip-structured-review.schema.d.ts +267 -0
  605. package/dist/schemas/film/film-clip-structured-review.schema.js +54 -0
  606. package/dist/schemas/film/film-clip.schema.d.ts +171 -0
  607. package/dist/schemas/film/film-clip.schema.js +64 -0
  608. package/dist/schemas/film/film-comfyui-workflow-create.schema.d.ts +39 -0
  609. package/dist/schemas/film/film-comfyui-workflow-create.schema.js +20 -0
  610. package/dist/schemas/film/film-comfyui-workflow-update.schema.d.ts +54 -0
  611. package/dist/schemas/film/film-comfyui-workflow-update.schema.js +28 -0
  612. package/dist/schemas/film/film-comfyui-workflow.schema.d.ts +188 -0
  613. package/dist/schemas/film/film-comfyui-workflow.schema.js +65 -0
  614. package/dist/schemas/film/film-creative-read-model.schema.d.ts +675 -0
  615. package/dist/schemas/film/film-creative-read-model.schema.js +66 -0
  616. package/dist/schemas/film/film-deliverable.schema.d.ts +656 -0
  617. package/dist/schemas/film/film-deliverable.schema.js +252 -0
  618. package/dist/schemas/film/film-edit-sequence.schema.d.ts +1112 -0
  619. package/dist/schemas/film/film-edit-sequence.schema.js +106 -0
  620. package/dist/schemas/film/film-elevenlabs-voice.schema.d.ts +126 -0
  621. package/dist/schemas/film/film-elevenlabs-voice.schema.js +56 -0
  622. package/dist/schemas/film/film-enqueue-multi-take.schema.d.ts +57 -0
  623. package/dist/schemas/film/film-enqueue-multi-take.schema.js +24 -0
  624. package/dist/schemas/film/film-export.schema.d.ts +78 -0
  625. package/dist/schemas/film/film-export.schema.js +37 -0
  626. package/dist/schemas/film/film-generation-dashboard.schema.d.ts +1779 -0
  627. package/dist/schemas/film/film-generation-dashboard.schema.js +222 -0
  628. package/dist/schemas/film/film-generation-package.schema.d.ts +1665 -0
  629. package/dist/schemas/film/film-generation-package.schema.js +116 -0
  630. package/dist/schemas/film/film-generation-task.schema.d.ts +1086 -0
  631. package/dist/schemas/film/film-generation-task.schema.js +159 -0
  632. package/dist/schemas/film/film-hydrate.schema.d.ts +46 -0
  633. package/dist/schemas/film/film-hydrate.schema.js +23 -0
  634. package/dist/schemas/film/film-keyframe-brief.schema.d.ts +99 -0
  635. package/dist/schemas/film/film-keyframe-brief.schema.js +29 -0
  636. package/dist/schemas/film/film-keyframe-review.schema.d.ts +186 -0
  637. package/dist/schemas/film/film-keyframe-review.schema.js +25 -0
  638. package/dist/schemas/film/film-keyframe.schema.d.ts +214 -0
  639. package/dist/schemas/film/film-keyframe.schema.js +43 -0
  640. package/dist/schemas/film/film-lessons-manifest.schema.d.ts +589 -0
  641. package/dist/schemas/film/film-lessons-manifest.schema.js +83 -0
  642. package/dist/schemas/film/film-llm-field.d.ts +22 -0
  643. package/dist/schemas/film/film-llm-field.js +78 -0
  644. package/dist/schemas/film/film-location-pack.schema.d.ts +51 -0
  645. package/dist/schemas/film/film-location-pack.schema.js +24 -0
  646. package/dist/schemas/film/film-marketing-creative-api.schema.d.ts +276 -0
  647. package/dist/schemas/film/film-marketing-creative-api.schema.js +47 -0
  648. package/dist/schemas/film/film-marketing-creative.schema.d.ts +74 -0
  649. package/dist/schemas/film/film-marketing-creative.schema.js +58 -0
  650. package/dist/schemas/film/film-marketing-format-preset.schema.d.ts +22 -0
  651. package/dist/schemas/film/film-marketing-format-preset.schema.js +71 -0
  652. package/dist/schemas/film/film-media-asset-file.schema.d.ts +59 -0
  653. package/dist/schemas/film/film-media-asset-file.schema.js +45 -0
  654. package/dist/schemas/film/film-media-asset-promotion-api.schema.d.ts +219 -0
  655. package/dist/schemas/film/film-media-asset-promotion-api.schema.js +29 -0
  656. package/dist/schemas/film/film-media-asset-review-api.schema.d.ts +431 -0
  657. package/dist/schemas/film/film-media-asset-review-api.schema.js +41 -0
  658. package/dist/schemas/film/film-media-asset.schema.d.ts +131 -0
  659. package/dist/schemas/film/film-media-asset.schema.js +94 -0
  660. package/dist/schemas/film/film-media-kg.schema.d.ts +86 -0
  661. package/dist/schemas/film/film-media-kg.schema.js +70 -0
  662. package/dist/schemas/film/film-ofi-report.schema.d.ts +437 -0
  663. package/dist/schemas/film/film-ofi-report.schema.js +65 -0
  664. package/dist/schemas/film/film-otio-sidecar.schema.d.ts +136 -0
  665. package/dist/schemas/film/film-otio-sidecar.schema.js +28 -0
  666. package/dist/schemas/film/film-production-coverage.schema.d.ts +179 -0
  667. package/dist/schemas/film/film-production-coverage.schema.js +123 -0
  668. package/dist/schemas/film/film-production-graph.schema.d.ts +273 -0
  669. package/dist/schemas/film/film-production-graph.schema.js +43 -0
  670. package/dist/schemas/film/film-production-read-model.schema.d.ts +1038 -0
  671. package/dist/schemas/film/film-production-read-model.schema.js +65 -0
  672. package/dist/schemas/film/film-production-style.schema.d.ts +31 -0
  673. package/dist/schemas/film/film-production-style.schema.js +50 -0
  674. package/dist/schemas/film/film-project.schema.d.ts +115 -0
  675. package/dist/schemas/film/film-project.schema.js +50 -0
  676. package/dist/schemas/film/film-prompt-compiler.schema.d.ts +346 -0
  677. package/dist/schemas/film/film-prompt-compiler.schema.js +116 -0
  678. package/dist/schemas/film/film-prompt-performance.schema.d.ts +77 -0
  679. package/dist/schemas/film/film-prompt-performance.schema.js +37 -0
  680. package/dist/schemas/film/film-prompt-repair.schema.d.ts +41 -0
  681. package/dist/schemas/film/film-prompt-repair.schema.js +36 -0
  682. package/dist/schemas/film/film-prompt.schema.d.ts +265 -0
  683. package/dist/schemas/film/film-prompt.schema.js +47 -0
  684. package/dist/schemas/film/film-provider-hints.schema.d.ts +105 -0
  685. package/dist/schemas/film/film-provider-hints.schema.js +50 -0
  686. package/dist/schemas/film/film-provider-job.schema.d.ts +320 -0
  687. package/dist/schemas/film/film-provider-job.schema.js +181 -0
  688. package/dist/schemas/film/film-provider.schema.d.ts +100 -0
  689. package/dist/schemas/film/film-provider.schema.js +51 -0
  690. package/dist/schemas/film/film-queue-enqueue.schema.d.ts +423 -0
  691. package/dist/schemas/film/film-queue-enqueue.schema.js +98 -0
  692. package/dist/schemas/film/film-queue-task-detail.schema.d.ts +981 -0
  693. package/dist/schemas/film/film-queue-task-detail.schema.js +57 -0
  694. package/dist/schemas/film/film-reference-pack.schema.d.ts +48 -0
  695. package/dist/schemas/film/film-reference-pack.schema.js +23 -0
  696. package/dist/schemas/film/film-regeneration-plan.schema.d.ts +124 -0
  697. package/dist/schemas/film/film-regeneration-plan.schema.js +62 -0
  698. package/dist/schemas/film/film-resolve-ingest.schema.d.ts +278 -0
  699. package/dist/schemas/film/film-resolve-ingest.schema.js +35 -0
  700. package/dist/schemas/film/film-resolve-timeline-report.schema.d.ts +323 -0
  701. package/dist/schemas/film/film-resolve-timeline-report.schema.js +43 -0
  702. package/dist/schemas/film/film-review.schema.d.ts +65 -0
  703. package/dist/schemas/film/film-review.schema.js +47 -0
  704. package/dist/schemas/film/film-scene.schema.d.ts +175 -0
  705. package/dist/schemas/film/film-scene.schema.js +38 -0
  706. package/dist/schemas/film/film-screenplay.schema.d.ts +215 -0
  707. package/dist/schemas/film/film-screenplay.schema.js +38 -0
  708. package/dist/schemas/film/film-shot-risk-assessment.schema.d.ts +27 -0
  709. package/dist/schemas/film/film-shot-risk-assessment.schema.js +16 -0
  710. package/dist/schemas/film/film-shot-risk-level.schema.d.ts +5 -0
  711. package/dist/schemas/film/film-shot-risk-level.schema.js +7 -0
  712. package/dist/schemas/film/film-shot.schema.d.ts +564 -0
  713. package/dist/schemas/film/film-shot.schema.js +96 -0
  714. package/dist/schemas/film/film-still-review-artifact.schema.d.ts +154 -0
  715. package/dist/schemas/film/film-still-review-artifact.schema.js +15 -0
  716. package/dist/schemas/film/film-still-review-scores.schema.d.ts +161 -0
  717. package/dist/schemas/film/film-still-review-scores.schema.js +48 -0
  718. package/dist/schemas/film/film-take-comparison.schema.d.ts +437 -0
  719. package/dist/schemas/film/film-take-comparison.schema.js +73 -0
  720. package/dist/schemas/film/film-training-dataset-api.schema.d.ts +641 -0
  721. package/dist/schemas/film/film-training-dataset-api.schema.js +86 -0
  722. package/dist/schemas/film/film-training-dataset.schema.d.ts +171 -0
  723. package/dist/schemas/film/film-training-dataset.schema.js +69 -0
  724. package/dist/schemas/film/film-wardrobe-state.schema.d.ts +42 -0
  725. package/dist/schemas/film/film-wardrobe-state.schema.js +21 -0
  726. package/dist/schemas/film/film-workbench.schema.d.ts +379 -0
  727. package/dist/schemas/film/film-workbench.schema.js +58 -0
  728. package/dist/schemas/film/film-workflow-lineage.schema.d.ts +166 -0
  729. package/dist/schemas/film/film-workflow-lineage.schema.js +83 -0
  730. package/dist/schemas/film/film-world-ontology.schema.d.ts +250 -0
  731. package/dist/schemas/film/film-world-ontology.schema.js +79 -0
  732. package/dist/schemas/film/image-generation-provider.schema.d.ts +392 -0
  733. package/dist/schemas/film/image-generation-provider.schema.js +55 -0
  734. package/dist/schemas/film/index.d.ts +81 -0
  735. package/dist/schemas/film/index.js +97 -0
  736. package/dist/schemas/github/branches.schema.d.ts +61 -0
  737. package/dist/schemas/github/branches.schema.js +17 -0
  738. package/dist/schemas/github/issues.schema.d.ts +145 -0
  739. package/dist/schemas/github/issues.schema.js +27 -0
  740. package/dist/schemas/github/pulls.schema.d.ts +173 -0
  741. package/dist/schemas/github/pulls.schema.js +30 -0
  742. package/dist/schemas/github/repo-create.schema.d.ts +21 -0
  743. package/dist/schemas/github/repo-create.schema.js +11 -0
  744. package/dist/schemas/github/webhook-delivery.schema.d.ts +729 -0
  745. package/dist/schemas/github/webhook-delivery.schema.js +142 -0
  746. package/dist/schemas/github/workflow-runs.schema.d.ts +173 -0
  747. package/dist/schemas/github/workflow-runs.schema.js +52 -0
  748. package/dist/schemas/github-pr-create.schema.d.ts +175 -0
  749. package/dist/schemas/github-pr-create.schema.js +70 -0
  750. package/dist/schemas/github-status.schema.d.ts +418 -0
  751. package/dist/schemas/github-status.schema.js +122 -0
  752. package/dist/schemas/graph/edge-v2.schema.d.ts +85 -0
  753. package/dist/schemas/graph/edge-v2.schema.js +164 -0
  754. package/dist/schemas/graph/graph-query-v2.schema.d.ts +449 -0
  755. package/dist/schemas/graph/graph-query-v2.schema.js +83 -0
  756. package/dist/schemas/graph/index.d.ts +14 -0
  757. package/dist/schemas/graph/index.js +30 -0
  758. package/dist/schemas/graph/node-v2.schema.d.ts +68 -0
  759. package/dist/schemas/graph/node-v2.schema.js +120 -0
  760. package/dist/schemas/graph/sql-security-findings.schema.d.ts +71 -0
  761. package/dist/schemas/graph/sql-security-findings.schema.js +40 -0
  762. package/dist/schemas/guardian/guardian-score.schema.d.ts +13 -0
  763. package/dist/schemas/guardian/guardian-score.schema.js +24 -0
  764. package/dist/schemas/guardian/validate.schema.d.ts +51 -0
  765. package/dist/schemas/guardian/validate.schema.js +36 -0
  766. package/dist/schemas/implement/nextjs-scaffold-manifest.schema.d.ts +44 -0
  767. package/dist/schemas/implement/nextjs-scaffold-manifest.schema.js +25 -0
  768. package/dist/schemas/implement/patch-validation-diagnostic.schema.d.ts +17 -0
  769. package/dist/schemas/implement/patch-validation-diagnostic.schema.js +19 -0
  770. package/dist/schemas/implement-patch-detail.schema.d.ts +344 -0
  771. package/dist/schemas/implement-patch-detail.schema.js +78 -0
  772. package/dist/schemas/implement-patch-lifecycle.schema.d.ts +66 -0
  773. package/dist/schemas/implement-patch-lifecycle.schema.js +317 -0
  774. package/dist/schemas/implement-patch-task.schema.d.ts +29 -0
  775. package/dist/schemas/implement-patch-task.schema.js +26 -0
  776. package/dist/schemas/implement-patch.schema.d.ts +2955 -0
  777. package/dist/schemas/implement-patch.schema.js +573 -0
  778. package/dist/schemas/implement-quarantine.schema.d.ts +215 -0
  779. package/dist/schemas/implement-quarantine.schema.js +71 -0
  780. package/dist/schemas/index.d.ts +5249 -0
  781. package/dist/schemas/index.js +1649 -0
  782. package/dist/schemas/integrations/cursor-execution.schema.d.ts +530 -0
  783. package/dist/schemas/integrations/cursor-execution.schema.js +104 -0
  784. package/dist/schemas/integrations.d.ts +426 -0
  785. package/dist/schemas/integrations.js +149 -0
  786. package/dist/schemas/knowledge/api-retry-kg-persistence.schema.d.ts +130 -0
  787. package/dist/schemas/knowledge/api-retry-kg-persistence.schema.js +28 -0
  788. package/dist/schemas/knowledge/constitution-retry-kg-persistence.schema.d.ts +46 -0
  789. package/dist/schemas/knowledge/constitution-retry-kg-persistence.schema.js +12 -0
  790. package/dist/schemas/knowledge/coverage.schema.d.ts +98 -0
  791. package/dist/schemas/knowledge/coverage.schema.js +27 -0
  792. package/dist/schemas/knowledge/duplicates.schema.d.ts +62 -0
  793. package/dist/schemas/knowledge/duplicates.schema.js +23 -0
  794. package/dist/schemas/knowledge/graph-query.schema.d.ts +9 -0
  795. package/dist/schemas/knowledge/graph-query.schema.js +7 -0
  796. package/dist/schemas/knowledge/guardian-retry-kg-persistence.schema.d.ts +40 -0
  797. package/dist/schemas/knowledge/guardian-retry-kg-persistence.schema.js +12 -0
  798. package/dist/schemas/knowledge/implement-retry-kg-persistence.schema.d.ts +49 -0
  799. package/dist/schemas/knowledge/implement-retry-kg-persistence.schema.js +14 -0
  800. package/dist/schemas/knowledge/kg-generation-writers.schema.d.ts +338 -0
  801. package/dist/schemas/knowledge/kg-generation-writers.schema.js +73 -0
  802. package/dist/schemas/knowledge/kg-relations.schema.d.ts +70 -0
  803. package/dist/schemas/knowledge/kg-relations.schema.js +157 -0
  804. package/dist/schemas/knowledge/knowledge-graph-summary.schema.d.ts +170 -0
  805. package/dist/schemas/knowledge/knowledge-graph-summary.schema.js +43 -0
  806. package/dist/schemas/knowledge/knowledge-node-provenance.schema.d.ts +41 -0
  807. package/dist/schemas/knowledge/knowledge-node-provenance.schema.js +21 -0
  808. package/dist/schemas/knowledge/knowledge-retry-kg-persistence.schema.d.ts +76 -0
  809. package/dist/schemas/knowledge/knowledge-retry-kg-persistence.schema.js +14 -0
  810. package/dist/schemas/knowledge/knowledge-search.schema.d.ts +29 -0
  811. package/dist/schemas/knowledge/knowledge-search.schema.js +17 -0
  812. package/dist/schemas/knowledge/lineage.schema.d.ts +70 -0
  813. package/dist/schemas/knowledge/lineage.schema.js +28 -0
  814. package/dist/schemas/knowledge/project-brief-knowledge-node.schema.d.ts +45 -0
  815. package/dist/schemas/knowledge/project-brief-knowledge-node.schema.js +30 -0
  816. package/dist/schemas/knowledge/review-readiness.schema.d.ts +104 -0
  817. package/dist/schemas/knowledge/review-readiness.schema.js +30 -0
  818. package/dist/schemas/knowledge/sync-prs.schema.d.ts +54 -0
  819. package/dist/schemas/knowledge/sync-prs.schema.js +21 -0
  820. package/dist/schemas/knowledge/tasks-retry-kg-persistence.schema.d.ts +37 -0
  821. package/dist/schemas/knowledge/tasks-retry-kg-persistence.schema.js +14 -0
  822. package/dist/schemas/knowledge/ui-retry-kg-persistence.schema.d.ts +58 -0
  823. package/dist/schemas/knowledge/ui-retry-kg-persistence.schema.js +14 -0
  824. package/dist/schemas/knowledge-graph-response.schema.d.ts +376 -0
  825. package/dist/schemas/knowledge-graph-response.schema.js +56 -0
  826. package/dist/schemas/logging/logger-context.schema.d.ts +21 -0
  827. package/dist/schemas/logging/logger-context.schema.js +11 -0
  828. package/dist/schemas/metrics/project-kpi-summary.schema.d.ts +368 -0
  829. package/dist/schemas/metrics/project-kpi-summary.schema.js +80 -0
  830. package/dist/schemas/orchestration/durable-stage-progress.schema.d.ts +57 -0
  831. package/dist/schemas/orchestration/durable-stage-progress.schema.js +34 -0
  832. package/dist/schemas/orchestration-execution.d.ts +158 -0
  833. package/dist/schemas/orchestration-execution.js +88 -0
  834. package/dist/schemas/project-bmad-settings-patch.schema.d.ts +66 -0
  835. package/dist/schemas/project-bmad-settings-patch.schema.js +29 -0
  836. package/dist/schemas/project-kind.schema.d.ts +70 -0
  837. package/dist/schemas/project-kind.schema.js +38 -0
  838. package/dist/schemas/project-team.d.ts +48 -0
  839. package/dist/schemas/project-team.js +52 -0
  840. package/dist/schemas/projects/nl-kg-v2-enabled.schema.d.ts +10 -0
  841. package/dist/schemas/projects/nl-kg-v2-enabled.schema.js +16 -0
  842. package/dist/schemas/provider-sentinel/cleanup-manifest.schema.d.ts +78 -0
  843. package/dist/schemas/provider-sentinel/cleanup-manifest.schema.js +27 -0
  844. package/dist/schemas/provider-sentinel/execution-evidence.schema.d.ts +228 -0
  845. package/dist/schemas/provider-sentinel/execution-evidence.schema.js +78 -0
  846. package/dist/schemas/provider-sentinel/film-media-sentinel-config.schema.d.ts +55 -0
  847. package/dist/schemas/provider-sentinel/film-media-sentinel-config.schema.js +33 -0
  848. package/dist/schemas/provider-sentinel/index.d.ts +6 -0
  849. package/dist/schemas/provider-sentinel/index.js +22 -0
  850. package/dist/schemas/provider-sentinel/provider-sentinel-common.schema.d.ts +8 -0
  851. package/dist/schemas/provider-sentinel/provider-sentinel-common.schema.js +9 -0
  852. package/dist/schemas/provider-sentinel/provider-sentinel-result.schema.d.ts +743 -0
  853. package/dist/schemas/provider-sentinel/provider-sentinel-result.schema.js +126 -0
  854. package/dist/schemas/provider-sentinel/text-durable-sentinel-config.schema.d.ts +51 -0
  855. package/dist/schemas/provider-sentinel/text-durable-sentinel-config.schema.js +30 -0
  856. package/dist/schemas/publication/manuscript-export.schema.d.ts +249 -0
  857. package/dist/schemas/publication/manuscript-export.schema.js +47 -0
  858. package/dist/schemas/repo/repo-scan-run.schema.d.ts +60 -0
  859. package/dist/schemas/repo/repo-scan-run.schema.js +34 -0
  860. package/dist/schemas/repos/project-repo-link.schema.d.ts +148 -0
  861. package/dist/schemas/repos/project-repo-link.schema.js +28 -0
  862. package/dist/schemas/repos/repo-readiness.schema.d.ts +26 -0
  863. package/dist/schemas/repos/repo-readiness.schema.js +23 -0
  864. package/dist/schemas/repos/repo-scan.schema.d.ts +379 -0
  865. package/dist/schemas/repos/repo-scan.schema.js +98 -0
  866. package/dist/schemas/review/review-coverage.schema.d.ts +2238 -0
  867. package/dist/schemas/review/review-coverage.schema.js +182 -0
  868. package/dist/schemas/review/review-policy.schema.d.ts +87 -0
  869. package/dist/schemas/review/review-policy.schema.js +42 -0
  870. package/dist/schemas/runtime/index.d.ts +6 -0
  871. package/dist/schemas/runtime/index.js +22 -0
  872. package/dist/schemas/runtime/platform-health.schema.d.ts +83 -0
  873. package/dist/schemas/runtime/platform-health.schema.js +31 -0
  874. package/dist/schemas/runtime/probe-harness-gen.schema.d.ts +456 -0
  875. package/dist/schemas/runtime/probe-harness-gen.schema.js +91 -0
  876. package/dist/schemas/runtime/probe.schema.d.ts +1117 -0
  877. package/dist/schemas/runtime/probe.schema.js +278 -0
  878. package/dist/schemas/runtime/runtime-knowledge-node.schema.d.ts +862 -0
  879. package/dist/schemas/runtime/runtime-knowledge-node.schema.js +29 -0
  880. package/dist/schemas/runtime/runtime-loop.schema.d.ts +175 -0
  881. package/dist/schemas/runtime/runtime-loop.schema.js +84 -0
  882. package/dist/schemas/runtime/runtime-run.schema.d.ts +378 -0
  883. package/dist/schemas/runtime/runtime-run.schema.js +30 -0
  884. package/dist/schemas/security/index.d.ts +3 -0
  885. package/dist/schemas/security/index.js +19 -0
  886. package/dist/schemas/security/pre-pr-security-gate.schema.d.ts +486 -0
  887. package/dist/schemas/security/pre-pr-security-gate.schema.js +13 -0
  888. package/dist/schemas/security/security-finding.schema.d.ts +546 -0
  889. package/dist/schemas/security/security-finding.schema.js +138 -0
  890. package/dist/schemas/security/security-knowledge-node.schema.d.ts +285 -0
  891. package/dist/schemas/security/security-knowledge-node.schema.js +21 -0
  892. package/dist/schemas/task-complexity.schema.d.ts +3 -0
  893. package/dist/schemas/task-complexity.schema.js +6 -0
  894. package/dist/schemas/task-evidence-expectations.schema.d.ts +174 -0
  895. package/dist/schemas/task-evidence-expectations.schema.js +35 -0
  896. package/dist/schemas/traceability/index.d.ts +2 -0
  897. package/dist/schemas/traceability/index.js +18 -0
  898. package/dist/schemas/traceability/neuraloom-traceability-file.schema.d.ts +593 -0
  899. package/dist/schemas/traceability/neuraloom-traceability-file.schema.js +93 -0
  900. package/dist/schemas/traceability/traceability-graph.schema.d.ts +712 -0
  901. package/dist/schemas/traceability/traceability-graph.schema.js +112 -0
  902. package/dist/schemas/workflow/build-knowledge.schema.d.ts +672 -0
  903. package/dist/schemas/workflow/build-knowledge.schema.js +92 -0
  904. package/dist/schemas/workflow/build-truth-read-model.schema.d.ts +1218 -0
  905. package/dist/schemas/workflow/build-truth-read-model.schema.js +42 -0
  906. package/dist/schemas/workflow/canonicalization-decision.schema.d.ts +74 -0
  907. package/dist/schemas/workflow/canonicalization-decision.schema.js +22 -0
  908. package/dist/schemas/workflow/code-reality-artifacts.schema.d.ts +914 -0
  909. package/dist/schemas/workflow/code-reality-artifacts.schema.js +150 -0
  910. package/dist/schemas/workflow/code-reality-read-model.schema.d.ts +12708 -0
  911. package/dist/schemas/workflow/code-reality-read-model.schema.js +237 -0
  912. package/dist/schemas/workflow/code-reality-task-traceability.schema.d.ts +124 -0
  913. package/dist/schemas/workflow/code-reality-task-traceability.schema.js +107 -0
  914. package/dist/schemas/workflow/command-center-spine.schema.d.ts +62 -0
  915. package/dist/schemas/workflow/command-center-spine.schema.js +58 -0
  916. package/dist/schemas/workflow/context-bundle.schema.d.ts +111 -0
  917. package/dist/schemas/workflow/context-bundle.schema.js +62 -0
  918. package/dist/schemas/workflow/context-contamination.schema.d.ts +284 -0
  919. package/dist/schemas/workflow/context-contamination.schema.js +65 -0
  920. package/dist/schemas/workflow/deployment-evidence.schema.d.ts +269 -0
  921. package/dist/schemas/workflow/deployment-evidence.schema.js +55 -0
  922. package/dist/schemas/workflow/doc-draft-artifact.schema.d.ts +126 -0
  923. package/dist/schemas/workflow/doc-draft-artifact.schema.js +52 -0
  924. package/dist/schemas/workflow/domain-acceptance.schema.d.ts +206 -0
  925. package/dist/schemas/workflow/domain-acceptance.schema.js +62 -0
  926. package/dist/schemas/workflow/engineering-context.schema.d.ts +2235 -0
  927. package/dist/schemas/workflow/engineering-context.schema.js +566 -0
  928. package/dist/schemas/workflow/existing-capability-classification.schema.d.ts +79 -0
  929. package/dist/schemas/workflow/existing-capability-classification.schema.js +28 -0
  930. package/dist/schemas/workflow/existing-codebase-context.schema.d.ts +865 -0
  931. package/dist/schemas/workflow/existing-codebase-context.schema.js +56 -0
  932. package/dist/schemas/workflow/findings-register.schema.d.ts +148 -0
  933. package/dist/schemas/workflow/findings-register.schema.js +35 -0
  934. package/dist/schemas/workflow/implement-first-batch.schema.d.ts +190 -0
  935. package/dist/schemas/workflow/implement-first-batch.schema.js +49 -0
  936. package/dist/schemas/workflow/implement-gate-status.schema.d.ts +823 -0
  937. package/dist/schemas/workflow/implement-gate-status.schema.js +94 -0
  938. package/dist/schemas/workflow/implement-stale-batch-repair.schema.d.ts +71 -0
  939. package/dist/schemas/workflow/implement-stale-batch-repair.schema.js +28 -0
  940. package/dist/schemas/workflow/implement-task-guard.schema.d.ts +27 -0
  941. package/dist/schemas/workflow/implement-task-guard.schema.js +35 -0
  942. package/dist/schemas/workflow/implementation-packet.schema.d.ts +200 -0
  943. package/dist/schemas/workflow/implementation-packet.schema.js +88 -0
  944. package/dist/schemas/workflow/import-validity.schema.d.ts +177 -0
  945. package/dist/schemas/workflow/import-validity.schema.js +71 -0
  946. package/dist/schemas/workflow/index.d.ts +14 -0
  947. package/dist/schemas/workflow/index.js +30 -0
  948. package/dist/schemas/workflow/ingest-dashboard.schema.d.ts +1094 -0
  949. package/dist/schemas/workflow/ingest-dashboard.schema.js +76 -0
  950. package/dist/schemas/workflow/ingest-gate.schema.d.ts +133 -0
  951. package/dist/schemas/workflow/ingest-gate.schema.js +27 -0
  952. package/dist/schemas/workflow/ingest-inventory.schema.d.ts +203 -0
  953. package/dist/schemas/workflow/ingest-inventory.schema.js +52 -0
  954. package/dist/schemas/workflow/knowledge-graph-result.schema.d.ts +90 -0
  955. package/dist/schemas/workflow/knowledge-graph-result.schema.js +37 -0
  956. package/dist/schemas/workflow/patch-file-scope-policy.schema.d.ts +62 -0
  957. package/dist/schemas/workflow/patch-file-scope-policy.schema.js +38 -0
  958. package/dist/schemas/workflow/patch-review-result.schema.d.ts +139 -0
  959. package/dist/schemas/workflow/patch-review-result.schema.js +58 -0
  960. package/dist/schemas/workflow/plan-approval.schema.d.ts +184 -0
  961. package/dist/schemas/workflow/plan-approval.schema.js +102 -0
  962. package/dist/schemas/workflow/product-readiness-response.schema.d.ts +307 -0
  963. package/dist/schemas/workflow/product-readiness-response.schema.js +81 -0
  964. package/dist/schemas/workflow/product-realization.schema.d.ts +259 -0
  965. package/dist/schemas/workflow/product-realization.schema.js +207 -0
  966. package/dist/schemas/workflow/product-route-manifest.schema.d.ts +785 -0
  967. package/dist/schemas/workflow/product-route-manifest.schema.js +161 -0
  968. package/dist/schemas/workflow/repair-specify-gate.schema.d.ts +33 -0
  969. package/dist/schemas/workflow/repair-specify-gate.schema.js +13 -0
  970. package/dist/schemas/workflow/repo-intel-snapshot.schema.d.ts +471 -0
  971. package/dist/schemas/workflow/repo-intel-snapshot.schema.js +98 -0
  972. package/dist/schemas/workflow/repo-policy-snapshot.schema.d.ts +365 -0
  973. package/dist/schemas/workflow/repo-policy-snapshot.schema.js +83 -0
  974. package/dist/schemas/workflow/review-acceptance.schema.d.ts +182 -0
  975. package/dist/schemas/workflow/review-acceptance.schema.js +66 -0
  976. package/dist/schemas/workflow/review-release-decision-operator.schema.d.ts +220 -0
  977. package/dist/schemas/workflow/review-release-decision-operator.schema.js +65 -0
  978. package/dist/schemas/workflow/route-manifest.schema.d.ts +239 -0
  979. package/dist/schemas/workflow/route-manifest.schema.js +82 -0
  980. package/dist/schemas/workflow/runtime-contract.schema.d.ts +384 -0
  981. package/dist/schemas/workflow/runtime-contract.schema.js +71 -0
  982. package/dist/schemas/workflow/schema-page-read-model.schema.d.ts +185 -0
  983. package/dist/schemas/workflow/schema-page-read-model.schema.js +29 -0
  984. package/dist/schemas/workflow/ship-closure.schema.d.ts +516 -0
  985. package/dist/schemas/workflow/ship-closure.schema.js +96 -0
  986. package/dist/schemas/workflow/software-workflow-lineage.schema.d.ts +384 -0
  987. package/dist/schemas/workflow/software-workflow-lineage.schema.js +54 -0
  988. package/dist/schemas/workflow/specify-mutation-health.schema.d.ts +72 -0
  989. package/dist/schemas/workflow/specify-mutation-health.schema.js +24 -0
  990. package/dist/schemas/workflow/step-evidence-resolution.schema.d.ts +49 -0
  991. package/dist/schemas/workflow/step-evidence-resolution.schema.js +36 -0
  992. package/dist/schemas/workflow/step-gate.schema.d.ts +312 -0
  993. package/dist/schemas/workflow/step-gate.schema.js +90 -0
  994. package/dist/schemas/workflow/task-capsule.schema.d.ts +414 -0
  995. package/dist/schemas/workflow/task-capsule.schema.js +99 -0
  996. package/dist/schemas/workflow/tasks-github-sync.schema.d.ts +60 -0
  997. package/dist/schemas/workflow/tasks-github-sync.schema.js +24 -0
  998. package/dist/schemas/workflow/tasks-repair-stale-implementing.schema.d.ts +86 -0
  999. package/dist/schemas/workflow/tasks-repair-stale-implementing.schema.js +38 -0
  1000. package/dist/schemas/workflow/tasks-truth.schema.d.ts +616 -0
  1001. package/dist/schemas/workflow/tasks-truth.schema.js +76 -0
  1002. package/dist/schemas/workflow/tasks-unblock-implement-handoff.schema.d.ts +210 -0
  1003. package/dist/schemas/workflow/tasks-unblock-implement-handoff.schema.js +17 -0
  1004. package/dist/schemas/workflow/test-obligation-manifest.schema.d.ts +306 -0
  1005. package/dist/schemas/workflow/test-obligation-manifest.schema.js +131 -0
  1006. package/dist/schemas/workflow/workflow-doctor.schema.d.ts +942 -0
  1007. package/dist/schemas/workflow/workflow-doctor.schema.js +141 -0
  1008. package/dist/schemas/workflow/workflow-evidence.schema.d.ts +67 -0
  1009. package/dist/schemas/workflow/workflow-evidence.schema.js +23 -0
  1010. package/dist/schemas/workflow/workflow-intelligence-graph.schema.d.ts +415 -0
  1011. package/dist/schemas/workflow/workflow-intelligence-graph.schema.js +213 -0
  1012. package/dist/schemas/workflow/workflow-run-event.schema.d.ts +41 -0
  1013. package/dist/schemas/workflow/workflow-run-event.schema.js +55 -0
  1014. package/dist/schemas/workflow-ci-step-artifacts.schema.d.ts +60 -0
  1015. package/dist/schemas/workflow-ci-step-artifacts.schema.js +15 -0
  1016. package/dist/schemas/workflow-implement-read-model.schema.d.ts +86 -0
  1017. package/dist/schemas/workflow-implement-read-model.schema.js +22 -0
  1018. package/dist/schemas/workflow-knowledge-step-artifacts.schema.d.ts +60 -0
  1019. package/dist/schemas/workflow-knowledge-step-artifacts.schema.js +15 -0
  1020. package/dist/schemas/workflow-progression.d.ts +1955 -0
  1021. package/dist/schemas/workflow-progression.js +259 -0
  1022. package/dist/telemetry/index.d.ts +194 -0
  1023. package/dist/telemetry/index.js +93 -0
  1024. package/dist/transformation/canonical-semantic-model.d.ts +233 -0
  1025. package/dist/transformation/canonical-semantic-model.js +61 -0
  1026. package/dist/transformation/index.d.ts +6 -0
  1027. package/dist/transformation/index.js +22 -0
  1028. package/dist/transformation/transformation-registry.d.ts +136 -0
  1029. package/dist/transformation/transformation-registry.js +100 -0
  1030. package/dist/types/ai-responses.d.ts +98 -0
  1031. package/dist/types/ai-responses.js +42 -0
  1032. package/dist/types/ai.d.ts +4 -0
  1033. package/dist/types/ai.js +2 -0
  1034. package/dist/types/audiobook-embed.d.ts +22 -0
  1035. package/dist/types/audiobook-embed.js +2 -0
  1036. package/dist/types/audiobook.d.ts +30 -0
  1037. package/dist/types/audiobook.js +2 -0
  1038. package/dist/types/chapter-revision.types.d.ts +6 -0
  1039. package/dist/types/chapter-revision.types.js +6 -0
  1040. package/dist/types/ci.d.ts +14 -0
  1041. package/dist/types/ci.js +2 -0
  1042. package/dist/types/codebase.d.ts +309 -0
  1043. package/dist/types/codebase.js +83 -0
  1044. package/dist/types/community-credit-transaction-type.d.ts +2 -0
  1045. package/dist/types/community-credit-transaction-type.js +9 -0
  1046. package/dist/types/community-membership-tier.d.ts +2 -0
  1047. package/dist/types/community-membership-tier.js +4 -0
  1048. package/dist/types/community-operator-role.d.ts +9 -0
  1049. package/dist/types/community-operator-role.js +13 -0
  1050. package/dist/types/community-stage.d.ts +3 -0
  1051. package/dist/types/community-stage.js +19 -0
  1052. package/dist/types/graph-canvas.d.ts +109 -0
  1053. package/dist/types/graph-canvas.js +25 -0
  1054. package/dist/types/graph-question-mapping.d.ts +33 -0
  1055. package/dist/types/graph-question-mapping.js +36 -0
  1056. package/dist/types/index.d.ts +2187 -0
  1057. package/dist/types/index.js +53 -0
  1058. package/dist/types/manuscript-checks.d.ts +1 -0
  1059. package/dist/types/manuscript-checks.js +2 -0
  1060. package/dist/types/orchestration-execution.d.ts +16 -0
  1061. package/dist/types/orchestration-execution.js +5 -0
  1062. package/dist/types/product-readiness.d.ts +44 -0
  1063. package/dist/types/product-readiness.js +2 -0
  1064. package/dist/types/product-route-manifest.d.ts +5 -0
  1065. package/dist/types/product-route-manifest.js +21 -0
  1066. package/dist/types/project-capabilities.d.ts +20 -0
  1067. package/dist/types/project-capabilities.js +40 -0
  1068. package/dist/types/project-kind.d.ts +68 -0
  1069. package/dist/types/project-kind.js +216 -0
  1070. package/dist/types/pwa.d.ts +29 -0
  1071. package/dist/types/pwa.js +6 -0
  1072. package/dist/types/repo.d.ts +2 -0
  1073. package/dist/types/repo.js +2 -0
  1074. package/dist/types/resolve-model-policy-input.d.ts +37 -0
  1075. package/dist/types/resolve-model-policy-input.js +2 -0
  1076. package/dist/types/settings.d.ts +13 -0
  1077. package/dist/types/settings.js +20 -0
  1078. package/dist/types/supabase-generated.d.ts +1122 -0
  1079. package/dist/types/supabase-generated.js +13 -0
  1080. package/dist/types/workflow-action-panel.d.ts +41 -0
  1081. package/dist/types/workflow-action-panel.js +2 -0
  1082. package/dist/types/workflow-command-center.d.ts +50 -0
  1083. package/dist/types/workflow-command-center.js +6 -0
  1084. package/dist/types/workflow-completion.d.ts +154 -0
  1085. package/dist/types/workflow-completion.js +2 -0
  1086. package/dist/types/workflow-graph.d.ts +786 -0
  1087. package/dist/types/workflow-graph.js +119 -0
  1088. package/dist/ui/domain-templates.d.ts +35 -0
  1089. package/dist/ui/domain-templates.js +242 -0
  1090. package/dist/utils/github-closing-keywords.d.ts +8 -0
  1091. package/dist/utils/github-closing-keywords.js +27 -0
  1092. package/dist/utils/implement-pr-batch-policy.d.ts +17 -0
  1093. package/dist/utils/implement-pr-batch-policy.js +72 -0
  1094. package/dist/utils/implement-pr-batch.d.ts +19 -0
  1095. package/dist/utils/implement-pr-batch.js +95 -0
  1096. package/dist/utils/implement-pr-metadata.d.ts +32 -0
  1097. package/dist/utils/implement-pr-metadata.js +41 -0
  1098. package/dist/workflow/api-route-key-resolver.d.ts +11 -0
  1099. package/dist/workflow/api-route-key-resolver.js +51 -0
  1100. package/dist/workflow/assurance-selector-keys.d.ts +134 -0
  1101. package/dist/workflow/assurance-selector-keys.js +145 -0
  1102. package/dist/workflow/channel-registry.d.ts +959 -0
  1103. package/dist/workflow/channel-registry.js +1475 -0
  1104. package/dist/workflow/evaluate-existing-codebase-readiness.d.ts +28 -0
  1105. package/dist/workflow/evaluate-existing-codebase-readiness.js +329 -0
  1106. package/dist/workflow/evaluate-ingest-gate.d.ts +11 -0
  1107. package/dist/workflow/evaluate-ingest-gate.js +168 -0
  1108. package/dist/workflow/evaluate-repair-specify-gate.d.ts +10 -0
  1109. package/dist/workflow/evaluate-repair-specify-gate.js +93 -0
  1110. package/dist/workflow/existing-codebase-step-area-map.d.ts +4 -0
  1111. package/dist/workflow/existing-codebase-step-area-map.js +22 -0
  1112. package/dist/workflow/film-spine-nav-aliases.d.ts +23 -0
  1113. package/dist/workflow/film-spine-nav-aliases.js +76 -0
  1114. package/dist/workflow/index.d.ts +23 -0
  1115. package/dist/workflow/index.js +39 -0
  1116. package/dist/workflow/is-code-reality-semantically-mapped.d.ts +8 -0
  1117. package/dist/workflow/is-code-reality-semantically-mapped.js +21 -0
  1118. package/dist/workflow/is-repository-scan-complete.d.ts +11 -0
  1119. package/dist/workflow/is-repository-scan-complete.js +28 -0
  1120. package/dist/workflow/normalize-workflow-execution-mode.d.ts +4 -0
  1121. package/dist/workflow/normalize-workflow-execution-mode.js +16 -0
  1122. package/dist/workflow/project-kind-normalizer.d.ts +34 -0
  1123. package/dist/workflow/project-kind-normalizer.js +162 -0
  1124. package/dist/workflow/resolve-workflow-variant.d.ts +42 -0
  1125. package/dist/workflow/resolve-workflow-variant.js +101 -0
  1126. package/dist/workflow/step-id-canonical.d.ts +26 -0
  1127. package/dist/workflow/step-id-canonical.js +58 -0
  1128. package/dist/workflow/test-obligation-policy.d.ts +12 -0
  1129. package/dist/workflow/test-obligation-policy.js +82 -0
  1130. package/dist/workflow/test-policy-registry.d.ts +45 -0
  1131. package/dist/workflow/test-policy-registry.js +190 -0
  1132. package/dist/workflow/workflow-assurance-completion-probe-gates.d.ts +43 -0
  1133. package/dist/workflow/workflow-assurance-completion-probe-gates.js +88 -0
  1134. package/dist/workflow/workflow-assurance-manifest.d.ts +84 -0
  1135. package/dist/workflow/workflow-assurance-manifest.js +309 -0
  1136. package/dist/workflow/workflow-assurance-wiring-tiers.d.ts +13 -0
  1137. package/dist/workflow/workflow-assurance-wiring-tiers.js +32 -0
  1138. package/dist/workflow/workflow-doctor-closure.d.ts +16 -0
  1139. package/dist/workflow/workflow-doctor-closure.js +245 -0
  1140. package/package.json +82 -4
  1141. package/README.md +0 -3
@@ -0,0 +1,1665 @@
1
+ /**
2
+ * Provider-neutral generation package (PR-E) — compiler output + adapter input contract.
3
+ */
4
+ import { z } from 'zod';
5
+ /** Aligned with keyframe / still provider enum. */
6
+ export declare const GenerationProviderSchema: z.ZodEnum<["manual", "runway", "comfyui", "generic", "openai"]>;
7
+ export type GenerationProvider = z.infer<typeof GenerationProviderSchema>;
8
+ export declare const GenerationKindSchema: z.ZodEnum<["video", "still"]>;
9
+ export type GenerationKind = z.infer<typeof GenerationKindSchema>;
10
+ export declare const ProviderNeutralPromptSchema: z.ZodObject<{
11
+ positive: z.ZodString;
12
+ negative: z.ZodDefault<z.ZodString>;
13
+ referenceImageIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
14
+ keyframeImageId: z.ZodOptional<z.ZodString>;
15
+ aspectRatio: z.ZodEnum<["16:9", "9:16", "1:1", "4:3", "21:9"]>;
16
+ durationFrames: z.ZodOptional<z.ZodNumber>;
17
+ fps: z.ZodOptional<z.ZodNumber>;
18
+ motionDescription: z.ZodOptional<z.ZodString>;
19
+ cameraDescription: z.ZodOptional<z.ZodString>;
20
+ seed: z.ZodOptional<z.ZodNumber>;
21
+ cfgScale: z.ZodOptional<z.ZodNumber>;
22
+ }, "strict", z.ZodTypeAny, {
23
+ positive: string;
24
+ negative: string;
25
+ aspectRatio: "16:9" | "9:16" | "1:1" | "4:3" | "21:9";
26
+ referenceImageIds: string[];
27
+ seed?: number | undefined;
28
+ keyframeImageId?: string | undefined;
29
+ durationFrames?: number | undefined;
30
+ fps?: number | undefined;
31
+ motionDescription?: string | undefined;
32
+ cameraDescription?: string | undefined;
33
+ cfgScale?: number | undefined;
34
+ }, {
35
+ positive: string;
36
+ aspectRatio: "16:9" | "9:16" | "1:1" | "4:3" | "21:9";
37
+ negative?: string | undefined;
38
+ seed?: number | undefined;
39
+ referenceImageIds?: string[] | undefined;
40
+ keyframeImageId?: string | undefined;
41
+ durationFrames?: number | undefined;
42
+ fps?: number | undefined;
43
+ motionDescription?: string | undefined;
44
+ cameraDescription?: string | undefined;
45
+ cfgScale?: number | undefined;
46
+ }>;
47
+ export type ProviderNeutralPrompt = z.infer<typeof ProviderNeutralPromptSchema>;
48
+ export declare const ProviderHintsSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
49
+ export type ProviderHints = z.infer<typeof ProviderHintsSchema>;
50
+ export declare const GenerationConstraintsSchema: z.ZodObject<{
51
+ maxRetries: z.ZodDefault<z.ZodNumber>;
52
+ riskLevel: z.ZodEnum<["low", "medium", "high", "avoid"]>;
53
+ humanReviewRequired: z.ZodBoolean;
54
+ forbiddenElements: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
55
+ providerCompatRequired: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
56
+ }, "strict", z.ZodTypeAny, {
57
+ maxRetries: number;
58
+ humanReviewRequired: boolean;
59
+ riskLevel: "low" | "medium" | "high" | "avoid";
60
+ forbiddenElements: string[];
61
+ providerCompatRequired: string[];
62
+ }, {
63
+ humanReviewRequired: boolean;
64
+ riskLevel: "low" | "medium" | "high" | "avoid";
65
+ maxRetries?: number | undefined;
66
+ forbiddenElements?: string[] | undefined;
67
+ providerCompatRequired?: string[] | undefined;
68
+ }>;
69
+ export type GenerationConstraints = z.infer<typeof GenerationConstraintsSchema>;
70
+ export declare const GenerationTraceabilitySchema: z.ZodObject<{
71
+ projectId: z.ZodString;
72
+ sceneId: z.ZodString;
73
+ shotId: z.ZodString;
74
+ promptId: z.ZodOptional<z.ZodString>;
75
+ keyframeId: z.ZodOptional<z.ZodString>;
76
+ characterPackIds: z.ZodArray<z.ZodString, "many">;
77
+ locationPackId: z.ZodOptional<z.ZodString>;
78
+ wardrobeStateIds: z.ZodArray<z.ZodString, "many">;
79
+ styleBibleArtifactId: z.ZodString;
80
+ referencePackIds: z.ZodArray<z.ZodString, "many">;
81
+ compilerVersion: z.ZodString;
82
+ }, "strict", z.ZodTypeAny, {
83
+ projectId: string;
84
+ shotId: string;
85
+ styleBibleArtifactId: string;
86
+ sceneId: string;
87
+ characterPackIds: string[];
88
+ wardrobeStateIds: string[];
89
+ referencePackIds: string[];
90
+ compilerVersion: string;
91
+ promptId?: string | undefined;
92
+ keyframeId?: string | undefined;
93
+ locationPackId?: string | undefined;
94
+ }, {
95
+ projectId: string;
96
+ shotId: string;
97
+ styleBibleArtifactId: string;
98
+ sceneId: string;
99
+ characterPackIds: string[];
100
+ wardrobeStateIds: string[];
101
+ referencePackIds: string[];
102
+ compilerVersion: string;
103
+ promptId?: string | undefined;
104
+ keyframeId?: string | undefined;
105
+ locationPackId?: string | undefined;
106
+ }>;
107
+ export type GenerationTraceability = z.infer<typeof GenerationTraceabilitySchema>;
108
+ export declare const GenerationCostBudgetSchema: z.ZodObject<{
109
+ maxGenerationsForShot: z.ZodOptional<z.ZodNumber>;
110
+ maxCreditsPerShot: z.ZodOptional<z.ZodNumber>;
111
+ priority: z.ZodDefault<z.ZodEnum<["low", "normal", "high"]>>;
112
+ }, "strict", z.ZodTypeAny, {
113
+ priority: "low" | "high" | "normal";
114
+ maxGenerationsForShot?: number | undefined;
115
+ maxCreditsPerShot?: number | undefined;
116
+ }, {
117
+ priority?: "low" | "high" | "normal" | undefined;
118
+ maxGenerationsForShot?: number | undefined;
119
+ maxCreditsPerShot?: number | undefined;
120
+ }>;
121
+ export type GenerationCostBudget = z.infer<typeof GenerationCostBudgetSchema>;
122
+ export declare const GenerationPackageSchema: z.ZodObject<{
123
+ kind: z.ZodEnum<["video", "still"]>;
124
+ provider: z.ZodEnum<["manual", "runway", "comfyui", "generic", "openai"]>;
125
+ prompt: z.ZodObject<{
126
+ positive: z.ZodString;
127
+ negative: z.ZodDefault<z.ZodString>;
128
+ referenceImageIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
129
+ keyframeImageId: z.ZodOptional<z.ZodString>;
130
+ aspectRatio: z.ZodEnum<["16:9", "9:16", "1:1", "4:3", "21:9"]>;
131
+ durationFrames: z.ZodOptional<z.ZodNumber>;
132
+ fps: z.ZodOptional<z.ZodNumber>;
133
+ motionDescription: z.ZodOptional<z.ZodString>;
134
+ cameraDescription: z.ZodOptional<z.ZodString>;
135
+ seed: z.ZodOptional<z.ZodNumber>;
136
+ cfgScale: z.ZodOptional<z.ZodNumber>;
137
+ }, "strict", z.ZodTypeAny, {
138
+ positive: string;
139
+ negative: string;
140
+ aspectRatio: "16:9" | "9:16" | "1:1" | "4:3" | "21:9";
141
+ referenceImageIds: string[];
142
+ seed?: number | undefined;
143
+ keyframeImageId?: string | undefined;
144
+ durationFrames?: number | undefined;
145
+ fps?: number | undefined;
146
+ motionDescription?: string | undefined;
147
+ cameraDescription?: string | undefined;
148
+ cfgScale?: number | undefined;
149
+ }, {
150
+ positive: string;
151
+ aspectRatio: "16:9" | "9:16" | "1:1" | "4:3" | "21:9";
152
+ negative?: string | undefined;
153
+ seed?: number | undefined;
154
+ referenceImageIds?: string[] | undefined;
155
+ keyframeImageId?: string | undefined;
156
+ durationFrames?: number | undefined;
157
+ fps?: number | undefined;
158
+ motionDescription?: string | undefined;
159
+ cameraDescription?: string | undefined;
160
+ cfgScale?: number | undefined;
161
+ }>;
162
+ hints: z.ZodRecord<z.ZodString, z.ZodUnknown>;
163
+ traceability: z.ZodObject<{
164
+ projectId: z.ZodString;
165
+ sceneId: z.ZodString;
166
+ shotId: z.ZodString;
167
+ promptId: z.ZodOptional<z.ZodString>;
168
+ keyframeId: z.ZodOptional<z.ZodString>;
169
+ characterPackIds: z.ZodArray<z.ZodString, "many">;
170
+ locationPackId: z.ZodOptional<z.ZodString>;
171
+ wardrobeStateIds: z.ZodArray<z.ZodString, "many">;
172
+ styleBibleArtifactId: z.ZodString;
173
+ referencePackIds: z.ZodArray<z.ZodString, "many">;
174
+ compilerVersion: z.ZodString;
175
+ }, "strict", z.ZodTypeAny, {
176
+ projectId: string;
177
+ shotId: string;
178
+ styleBibleArtifactId: string;
179
+ sceneId: string;
180
+ characterPackIds: string[];
181
+ wardrobeStateIds: string[];
182
+ referencePackIds: string[];
183
+ compilerVersion: string;
184
+ promptId?: string | undefined;
185
+ keyframeId?: string | undefined;
186
+ locationPackId?: string | undefined;
187
+ }, {
188
+ projectId: string;
189
+ shotId: string;
190
+ styleBibleArtifactId: string;
191
+ sceneId: string;
192
+ characterPackIds: string[];
193
+ wardrobeStateIds: string[];
194
+ referencePackIds: string[];
195
+ compilerVersion: string;
196
+ promptId?: string | undefined;
197
+ keyframeId?: string | undefined;
198
+ locationPackId?: string | undefined;
199
+ }>;
200
+ constraints: z.ZodObject<{
201
+ maxRetries: z.ZodDefault<z.ZodNumber>;
202
+ riskLevel: z.ZodEnum<["low", "medium", "high", "avoid"]>;
203
+ humanReviewRequired: z.ZodBoolean;
204
+ forbiddenElements: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
205
+ providerCompatRequired: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
206
+ }, "strict", z.ZodTypeAny, {
207
+ maxRetries: number;
208
+ humanReviewRequired: boolean;
209
+ riskLevel: "low" | "medium" | "high" | "avoid";
210
+ forbiddenElements: string[];
211
+ providerCompatRequired: string[];
212
+ }, {
213
+ humanReviewRequired: boolean;
214
+ riskLevel: "low" | "medium" | "high" | "avoid";
215
+ maxRetries?: number | undefined;
216
+ forbiddenElements?: string[] | undefined;
217
+ providerCompatRequired?: string[] | undefined;
218
+ }>;
219
+ budget: z.ZodObject<{
220
+ maxGenerationsForShot: z.ZodOptional<z.ZodNumber>;
221
+ maxCreditsPerShot: z.ZodOptional<z.ZodNumber>;
222
+ priority: z.ZodDefault<z.ZodEnum<["low", "normal", "high"]>>;
223
+ }, "strict", z.ZodTypeAny, {
224
+ priority: "low" | "high" | "normal";
225
+ maxGenerationsForShot?: number | undefined;
226
+ maxCreditsPerShot?: number | undefined;
227
+ }, {
228
+ priority?: "low" | "high" | "normal" | undefined;
229
+ maxGenerationsForShot?: number | undefined;
230
+ maxCreditsPerShot?: number | undefined;
231
+ }>;
232
+ compiledAt: z.ZodString;
233
+ packageId: z.ZodString;
234
+ }, "strict", z.ZodTypeAny, {
235
+ kind: "video" | "still";
236
+ prompt: {
237
+ positive: string;
238
+ negative: string;
239
+ aspectRatio: "16:9" | "9:16" | "1:1" | "4:3" | "21:9";
240
+ referenceImageIds: string[];
241
+ seed?: number | undefined;
242
+ keyframeImageId?: string | undefined;
243
+ durationFrames?: number | undefined;
244
+ fps?: number | undefined;
245
+ motionDescription?: string | undefined;
246
+ cameraDescription?: string | undefined;
247
+ cfgScale?: number | undefined;
248
+ };
249
+ constraints: {
250
+ maxRetries: number;
251
+ humanReviewRequired: boolean;
252
+ riskLevel: "low" | "medium" | "high" | "avoid";
253
+ forbiddenElements: string[];
254
+ providerCompatRequired: string[];
255
+ };
256
+ provider: "manual" | "openai" | "runway" | "comfyui" | "generic";
257
+ traceability: {
258
+ projectId: string;
259
+ shotId: string;
260
+ styleBibleArtifactId: string;
261
+ sceneId: string;
262
+ characterPackIds: string[];
263
+ wardrobeStateIds: string[];
264
+ referencePackIds: string[];
265
+ compilerVersion: string;
266
+ promptId?: string | undefined;
267
+ keyframeId?: string | undefined;
268
+ locationPackId?: string | undefined;
269
+ };
270
+ hints: Record<string, unknown>;
271
+ budget: {
272
+ priority: "low" | "high" | "normal";
273
+ maxGenerationsForShot?: number | undefined;
274
+ maxCreditsPerShot?: number | undefined;
275
+ };
276
+ compiledAt: string;
277
+ packageId: string;
278
+ }, {
279
+ kind: "video" | "still";
280
+ prompt: {
281
+ positive: string;
282
+ aspectRatio: "16:9" | "9:16" | "1:1" | "4:3" | "21:9";
283
+ negative?: string | undefined;
284
+ seed?: number | undefined;
285
+ referenceImageIds?: string[] | undefined;
286
+ keyframeImageId?: string | undefined;
287
+ durationFrames?: number | undefined;
288
+ fps?: number | undefined;
289
+ motionDescription?: string | undefined;
290
+ cameraDescription?: string | undefined;
291
+ cfgScale?: number | undefined;
292
+ };
293
+ constraints: {
294
+ humanReviewRequired: boolean;
295
+ riskLevel: "low" | "medium" | "high" | "avoid";
296
+ maxRetries?: number | undefined;
297
+ forbiddenElements?: string[] | undefined;
298
+ providerCompatRequired?: string[] | undefined;
299
+ };
300
+ provider: "manual" | "openai" | "runway" | "comfyui" | "generic";
301
+ traceability: {
302
+ projectId: string;
303
+ shotId: string;
304
+ styleBibleArtifactId: string;
305
+ sceneId: string;
306
+ characterPackIds: string[];
307
+ wardrobeStateIds: string[];
308
+ referencePackIds: string[];
309
+ compilerVersion: string;
310
+ promptId?: string | undefined;
311
+ keyframeId?: string | undefined;
312
+ locationPackId?: string | undefined;
313
+ };
314
+ hints: Record<string, unknown>;
315
+ budget: {
316
+ priority?: "low" | "high" | "normal" | undefined;
317
+ maxGenerationsForShot?: number | undefined;
318
+ maxCreditsPerShot?: number | undefined;
319
+ };
320
+ compiledAt: string;
321
+ packageId: string;
322
+ }>;
323
+ export type GenerationPackage = z.infer<typeof GenerationPackageSchema>;
324
+ export declare const GenerationContextSchema: z.ZodObject<{
325
+ projectId: z.ZodString;
326
+ sceneRowId: z.ZodString;
327
+ shotRowId: z.ZodString;
328
+ kind: z.ZodEnum<["video", "still"]>;
329
+ provider: z.ZodEnum<["manual", "runway", "comfyui", "generic", "openai"]>;
330
+ scene: z.ZodObject<{
331
+ sourceArtifactId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
332
+ sceneCode: z.ZodString;
333
+ title: z.ZodString;
334
+ sequenceIndex: z.ZodNumber;
335
+ locationName: z.ZodString;
336
+ timeOfDay: z.ZodString;
337
+ purpose: z.ZodString;
338
+ emotionalTurn: z.ZodString;
339
+ conflict: z.ZodOptional<z.ZodNullable<z.ZodString>>;
340
+ visualMotif: z.ZodOptional<z.ZodNullable<z.ZodString>>;
341
+ screenplayExcerpt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
342
+ continuityConstraints: z.ZodTypeAny;
343
+ runtimeEstimateSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
344
+ aiFeasibility: z.ZodOptional<z.ZodNullable<z.ZodEnum<["high", "medium", "low", "requires_live_action"]>>>;
345
+ productionComplexity: z.ZodOptional<z.ZodNullable<z.ZodEnum<["low", "medium", "high", "very_high"]>>>;
346
+ status: z.ZodTypeAny;
347
+ } & {
348
+ characters: z.ZodArray<z.ZodString, "many">;
349
+ }, "strip", z.ZodTypeAny, {
350
+ title: string;
351
+ purpose: string;
352
+ sceneCode: string;
353
+ sequenceIndex: number;
354
+ locationName: string;
355
+ timeOfDay: string;
356
+ characters: string[];
357
+ emotionalTurn: string;
358
+ status?: any;
359
+ sourceArtifactId?: string | null | undefined;
360
+ conflict?: string | null | undefined;
361
+ visualMotif?: string | null | undefined;
362
+ screenplayExcerpt?: string | null | undefined;
363
+ continuityConstraints?: any;
364
+ runtimeEstimateSeconds?: number | null | undefined;
365
+ aiFeasibility?: "low" | "medium" | "high" | "requires_live_action" | null | undefined;
366
+ productionComplexity?: "low" | "medium" | "high" | "very_high" | null | undefined;
367
+ }, {
368
+ title: string;
369
+ purpose: string;
370
+ sceneCode: string;
371
+ sequenceIndex: number;
372
+ locationName: string;
373
+ timeOfDay: string;
374
+ characters: string[];
375
+ emotionalTurn: string;
376
+ status?: any;
377
+ sourceArtifactId?: string | null | undefined;
378
+ conflict?: string | null | undefined;
379
+ visualMotif?: string | null | undefined;
380
+ screenplayExcerpt?: string | null | undefined;
381
+ continuityConstraints?: any;
382
+ runtimeEstimateSeconds?: number | null | undefined;
383
+ aiFeasibility?: "low" | "medium" | "high" | "requires_live_action" | null | undefined;
384
+ productionComplexity?: "low" | "medium" | "high" | "very_high" | null | undefined;
385
+ }>;
386
+ shot: z.ZodObject<{
387
+ sourceArtifactId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
388
+ shotCode: z.ZodString;
389
+ sequenceIndex: z.ZodNumber;
390
+ shotType: z.ZodString;
391
+ subject: z.ZodString;
392
+ cameraMotion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
393
+ lensLanguage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
394
+ durationSeconds: z.ZodNumber;
395
+ environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
396
+ lighting: z.ZodOptional<z.ZodNullable<z.ZodString>>;
397
+ mood: z.ZodOptional<z.ZodNullable<z.ZodString>>;
398
+ continuityRefs: z.ZodTypeAny;
399
+ generationStrategy: z.ZodDefault<z.ZodEnum<["ai_video", "keyframe_to_video", "live_action", "hybrid", "stock", "three_d_render", "still_animation", "audio_only", "vfx_required"]>>;
400
+ purpose: z.ZodString;
401
+ action: z.ZodString;
402
+ locationId: z.ZodType<string | null | undefined, z.ZodTypeDef, unknown>;
403
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
404
+ status: z.ZodDefault<z.ZodEnum<["draft", "approved", "locked", "superseded"]>>;
405
+ riskLevel: z.ZodOptional<z.ZodNullable<z.ZodEnum<["low", "medium", "high", "avoid"]>>>;
406
+ riskFlags: z.ZodTypeAny;
407
+ forbiddenElements: z.ZodTypeAny;
408
+ riskAssessedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
409
+ riskAssessedVersion: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
410
+ }, "strip", z.ZodTypeAny, {
411
+ status: "approved" | "draft" | "superseded" | "locked";
412
+ subject: string;
413
+ durationSeconds: number;
414
+ purpose: string;
415
+ action: string;
416
+ sequenceIndex: number;
417
+ shotCode: string;
418
+ shotType: string;
419
+ generationStrategy: "hybrid" | "ai_video" | "keyframe_to_video" | "live_action" | "stock" | "three_d_render" | "still_animation" | "audio_only" | "vfx_required";
420
+ notes?: string | null | undefined;
421
+ sourceArtifactId?: string | null | undefined;
422
+ environment?: string | null | undefined;
423
+ cameraMotion?: string | null | undefined;
424
+ lensLanguage?: string | null | undefined;
425
+ lighting?: string | null | undefined;
426
+ mood?: string | null | undefined;
427
+ continuityRefs?: any;
428
+ locationId?: string | null | undefined;
429
+ riskLevel?: "low" | "medium" | "high" | "avoid" | null | undefined;
430
+ riskFlags?: any;
431
+ forbiddenElements?: any;
432
+ riskAssessedAt?: string | null | undefined;
433
+ riskAssessedVersion?: number | null | undefined;
434
+ }, {
435
+ subject: string;
436
+ durationSeconds: number;
437
+ purpose: string;
438
+ action: string;
439
+ sequenceIndex: number;
440
+ shotCode: string;
441
+ shotType: string;
442
+ status?: "approved" | "draft" | "superseded" | "locked" | undefined;
443
+ notes?: string | null | undefined;
444
+ sourceArtifactId?: string | null | undefined;
445
+ environment?: string | null | undefined;
446
+ cameraMotion?: string | null | undefined;
447
+ lensLanguage?: string | null | undefined;
448
+ lighting?: string | null | undefined;
449
+ mood?: string | null | undefined;
450
+ continuityRefs?: any;
451
+ generationStrategy?: "hybrid" | "ai_video" | "keyframe_to_video" | "live_action" | "stock" | "three_d_render" | "still_animation" | "audio_only" | "vfx_required" | undefined;
452
+ locationId?: unknown;
453
+ riskLevel?: "low" | "medium" | "high" | "avoid" | null | undefined;
454
+ riskFlags?: any;
455
+ forbiddenElements?: any;
456
+ riskAssessedAt?: string | null | undefined;
457
+ riskAssessedVersion?: number | null | undefined;
458
+ }>;
459
+ prompt: z.ZodOptional<z.ZodObject<{
460
+ promptCode: z.ZodString;
461
+ shotCode: z.ZodString;
462
+ sceneCode: z.ZodString;
463
+ provider: z.ZodEnum<["runway", "comfyui", "pika", "luma", "kling", "generic"]>;
464
+ positivePrompt: z.ZodString;
465
+ negativePrompt: z.ZodTypeAny;
466
+ sourceArtifactIds: z.ZodType<string[], z.ZodTypeDef, unknown>;
467
+ styleBibleArtifactId: z.ZodType<string, z.ZodTypeDef, unknown>;
468
+ characterBibleArtifactId: z.ZodType<string | null | undefined, z.ZodTypeDef, unknown>;
469
+ locationBibleArtifactId: z.ZodType<string | null | undefined, z.ZodTypeDef, unknown>;
470
+ continuityChecklist: z.ZodTypeAny;
471
+ providerSettings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
472
+ durationSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
473
+ aspectRatio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
474
+ cameraMotion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
475
+ stylePreset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
476
+ seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
477
+ modelHint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
478
+ }, "strip", z.ZodTypeAny, {
479
+ durationSeconds?: number | null | undefined;
480
+ cameraMotion?: string | null | undefined;
481
+ aspectRatio?: string | null | undefined;
482
+ stylePreset?: string | null | undefined;
483
+ seed?: number | null | undefined;
484
+ modelHint?: string | null | undefined;
485
+ }, {
486
+ durationSeconds?: number | null | undefined;
487
+ cameraMotion?: string | null | undefined;
488
+ aspectRatio?: string | null | undefined;
489
+ stylePreset?: string | null | undefined;
490
+ seed?: number | null | undefined;
491
+ modelHint?: string | null | undefined;
492
+ }>>>;
493
+ status: z.ZodDefault<z.ZodEnum<["draft", "approved", "superseded"]>>;
494
+ version: z.ZodTypeAny;
495
+ }, "strip", z.ZodTypeAny, {
496
+ status: "approved" | "draft" | "superseded";
497
+ provider: "runway" | "comfyui" | "generic" | "pika" | "luma" | "kling";
498
+ sourceArtifactIds: string[];
499
+ sceneCode: string;
500
+ shotCode: string;
501
+ promptCode: string;
502
+ positivePrompt: string;
503
+ styleBibleArtifactId: string;
504
+ version?: any;
505
+ negativePrompt?: any;
506
+ characterBibleArtifactId?: string | null | undefined;
507
+ locationBibleArtifactId?: string | null | undefined;
508
+ continuityChecklist?: any;
509
+ providerSettings?: {
510
+ durationSeconds?: number | null | undefined;
511
+ cameraMotion?: string | null | undefined;
512
+ aspectRatio?: string | null | undefined;
513
+ stylePreset?: string | null | undefined;
514
+ seed?: number | null | undefined;
515
+ modelHint?: string | null | undefined;
516
+ } | null | undefined;
517
+ }, {
518
+ provider: "runway" | "comfyui" | "generic" | "pika" | "luma" | "kling";
519
+ sceneCode: string;
520
+ shotCode: string;
521
+ promptCode: string;
522
+ positivePrompt: string;
523
+ status?: "approved" | "draft" | "superseded" | undefined;
524
+ version?: any;
525
+ negativePrompt?: any;
526
+ sourceArtifactIds?: unknown;
527
+ styleBibleArtifactId?: unknown;
528
+ characterBibleArtifactId?: unknown;
529
+ locationBibleArtifactId?: unknown;
530
+ continuityChecklist?: any;
531
+ providerSettings?: {
532
+ durationSeconds?: number | null | undefined;
533
+ cameraMotion?: string | null | undefined;
534
+ aspectRatio?: string | null | undefined;
535
+ stylePreset?: string | null | undefined;
536
+ seed?: number | null | undefined;
537
+ modelHint?: string | null | undefined;
538
+ } | null | undefined;
539
+ }>>;
540
+ keyframe: z.ZodOptional<z.ZodObject<{
541
+ id: z.ZodString;
542
+ projectId: z.ZodString;
543
+ shotId: z.ZodString;
544
+ promptId: z.ZodNullable<z.ZodString>;
545
+ version: z.ZodNumber;
546
+ storagePath: z.ZodString;
547
+ provider: z.ZodEnum<["manual", "runway", "comfyui", "generic", "openai"]>;
548
+ providerJobId: z.ZodNullable<z.ZodString>;
549
+ status: z.ZodEnum<["generated", "under_review", "approved", "rejected", "regenerate"]>;
550
+ stillReviewScores: z.ZodUnion<[z.ZodObject<{
551
+ characterMatch: z.ZodNumber;
552
+ wardrobeMatch: z.ZodNumber;
553
+ locationMatch: z.ZodNumber;
554
+ styleMatch: z.ZodNumber;
555
+ cameraMatch: z.ZodNumber;
556
+ artifactScore: z.ZodNumber;
557
+ overallUsability: z.ZodNumber;
558
+ reasoning: z.ZodString;
559
+ detectedIssues: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
560
+ scoredBy: z.ZodObject<{
561
+ provider: z.ZodString;
562
+ model: z.ZodString;
563
+ version: z.ZodString;
564
+ scoredAt: z.ZodString;
565
+ }, "strict", z.ZodTypeAny, {
566
+ provider: string;
567
+ version: string;
568
+ model: string;
569
+ scoredAt: string;
570
+ }, {
571
+ provider: string;
572
+ version: string;
573
+ model: string;
574
+ scoredAt: string;
575
+ }>;
576
+ }, "strict", z.ZodTypeAny, {
577
+ characterMatch: number;
578
+ wardrobeMatch: number;
579
+ locationMatch: number;
580
+ styleMatch: number;
581
+ cameraMatch: number;
582
+ artifactScore: number;
583
+ overallUsability: number;
584
+ reasoning: string;
585
+ detectedIssues: string[];
586
+ scoredBy: {
587
+ provider: string;
588
+ version: string;
589
+ model: string;
590
+ scoredAt: string;
591
+ };
592
+ }, {
593
+ characterMatch: number;
594
+ wardrobeMatch: number;
595
+ locationMatch: number;
596
+ styleMatch: number;
597
+ cameraMatch: number;
598
+ artifactScore: number;
599
+ overallUsability: number;
600
+ reasoning: string;
601
+ scoredBy: {
602
+ provider: string;
603
+ version: string;
604
+ model: string;
605
+ scoredAt: string;
606
+ };
607
+ detectedIssues?: string[] | undefined;
608
+ }>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
609
+ decision: z.ZodNullable<z.ZodString>;
610
+ regenerationInstructions: z.ZodNullable<z.ZodString>;
611
+ supersededBy: z.ZodNullable<z.ZodString>;
612
+ mediaAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
613
+ createdAt: z.ZodString;
614
+ updatedAt: z.ZodString;
615
+ }, "strict", z.ZodTypeAny, {
616
+ id: string;
617
+ status: "rejected" | "approved" | "regenerate" | "under_review" | "generated";
618
+ projectId: string;
619
+ createdAt: string;
620
+ decision: string | null;
621
+ provider: "manual" | "openai" | "runway" | "comfyui" | "generic";
622
+ version: number;
623
+ storagePath: string;
624
+ updatedAt: string;
625
+ supersededBy: string | null;
626
+ shotId: string;
627
+ promptId: string | null;
628
+ providerJobId: string | null;
629
+ stillReviewScores: Record<string, unknown> | {
630
+ characterMatch: number;
631
+ wardrobeMatch: number;
632
+ locationMatch: number;
633
+ styleMatch: number;
634
+ cameraMatch: number;
635
+ artifactScore: number;
636
+ overallUsability: number;
637
+ reasoning: string;
638
+ detectedIssues: string[];
639
+ scoredBy: {
640
+ provider: string;
641
+ version: string;
642
+ model: string;
643
+ scoredAt: string;
644
+ };
645
+ };
646
+ regenerationInstructions: string | null;
647
+ mediaAssetId?: string | null | undefined;
648
+ }, {
649
+ id: string;
650
+ status: "rejected" | "approved" | "regenerate" | "under_review" | "generated";
651
+ projectId: string;
652
+ createdAt: string;
653
+ decision: string | null;
654
+ provider: "manual" | "openai" | "runway" | "comfyui" | "generic";
655
+ version: number;
656
+ storagePath: string;
657
+ updatedAt: string;
658
+ supersededBy: string | null;
659
+ shotId: string;
660
+ promptId: string | null;
661
+ providerJobId: string | null;
662
+ stillReviewScores: Record<string, unknown> | {
663
+ characterMatch: number;
664
+ wardrobeMatch: number;
665
+ locationMatch: number;
666
+ styleMatch: number;
667
+ cameraMatch: number;
668
+ artifactScore: number;
669
+ overallUsability: number;
670
+ reasoning: string;
671
+ scoredBy: {
672
+ provider: string;
673
+ version: string;
674
+ model: string;
675
+ scoredAt: string;
676
+ };
677
+ detectedIssues?: string[] | undefined;
678
+ };
679
+ regenerationInstructions: string | null;
680
+ mediaAssetId?: string | null | undefined;
681
+ }>>;
682
+ characterPacks: z.ZodArray<z.ZodObject<{
683
+ id: z.ZodString;
684
+ projectId: z.ZodString;
685
+ characterId: z.ZodString;
686
+ name: z.ZodString;
687
+ canonicalDescription: z.ZodString;
688
+ identityPrompt: z.ZodString;
689
+ negativeIdentityPrompt: z.ZodOptional<z.ZodString>;
690
+ visualTraits: z.ZodRecord<z.ZodString, z.ZodUnknown>;
691
+ forbiddenChanges: z.ZodArray<z.ZodString, "many">;
692
+ approvedReferencePackId: z.ZodOptional<z.ZodString>;
693
+ version: z.ZodNumber;
694
+ status: z.ZodEnum<["draft", "approved", "locked", "retired"]>;
695
+ createdAt: z.ZodString;
696
+ updatedAt: z.ZodString;
697
+ }, "strict", z.ZodTypeAny, {
698
+ id: string;
699
+ status: "approved" | "draft" | "locked" | "retired";
700
+ projectId: string;
701
+ createdAt: string;
702
+ name: string;
703
+ version: number;
704
+ updatedAt: string;
705
+ characterId: string;
706
+ canonicalDescription: string;
707
+ identityPrompt: string;
708
+ visualTraits: Record<string, unknown>;
709
+ forbiddenChanges: string[];
710
+ negativeIdentityPrompt?: string | undefined;
711
+ approvedReferencePackId?: string | undefined;
712
+ }, {
713
+ id: string;
714
+ status: "approved" | "draft" | "locked" | "retired";
715
+ projectId: string;
716
+ createdAt: string;
717
+ name: string;
718
+ version: number;
719
+ updatedAt: string;
720
+ characterId: string;
721
+ canonicalDescription: string;
722
+ identityPrompt: string;
723
+ visualTraits: Record<string, unknown>;
724
+ forbiddenChanges: string[];
725
+ negativeIdentityPrompt?: string | undefined;
726
+ approvedReferencePackId?: string | undefined;
727
+ }>, "many">;
728
+ locationPack: z.ZodOptional<z.ZodObject<{
729
+ id: z.ZodString;
730
+ projectId: z.ZodString;
731
+ locationId: z.ZodString;
732
+ name: z.ZodString;
733
+ canonicalDescription: z.ZodString;
734
+ identityPrompt: z.ZodString;
735
+ lightingRules: z.ZodArray<z.ZodString, "many">;
736
+ forbiddenElements: z.ZodArray<z.ZodString, "many">;
737
+ visualTraits: z.ZodRecord<z.ZodString, z.ZodUnknown>;
738
+ approvedReferencePackId: z.ZodOptional<z.ZodString>;
739
+ version: z.ZodNumber;
740
+ status: z.ZodEnum<["draft", "approved", "locked", "retired"]>;
741
+ createdAt: z.ZodString;
742
+ updatedAt: z.ZodString;
743
+ }, "strict", z.ZodTypeAny, {
744
+ id: string;
745
+ status: "approved" | "draft" | "locked" | "retired";
746
+ projectId: string;
747
+ createdAt: string;
748
+ name: string;
749
+ version: number;
750
+ updatedAt: string;
751
+ locationId: string;
752
+ forbiddenElements: string[];
753
+ canonicalDescription: string;
754
+ identityPrompt: string;
755
+ visualTraits: Record<string, unknown>;
756
+ lightingRules: string[];
757
+ approvedReferencePackId?: string | undefined;
758
+ }, {
759
+ id: string;
760
+ status: "approved" | "draft" | "locked" | "retired";
761
+ projectId: string;
762
+ createdAt: string;
763
+ name: string;
764
+ version: number;
765
+ updatedAt: string;
766
+ locationId: string;
767
+ forbiddenElements: string[];
768
+ canonicalDescription: string;
769
+ identityPrompt: string;
770
+ visualTraits: Record<string, unknown>;
771
+ lightingRules: string[];
772
+ approvedReferencePackId?: string | undefined;
773
+ }>>;
774
+ wardrobeStates: z.ZodArray<z.ZodObject<{
775
+ id: z.ZodString;
776
+ projectId: z.ZodString;
777
+ wardrobeStateId: z.ZodString;
778
+ characterPackId: z.ZodString;
779
+ description: z.ZodString;
780
+ usedInSceneIds: z.ZodArray<z.ZodString, "many">;
781
+ forbiddenChanges: z.ZodArray<z.ZodString, "many">;
782
+ referenceAssetIds: z.ZodArray<z.ZodString, "many">;
783
+ version: z.ZodNumber;
784
+ status: z.ZodEnum<["draft", "approved", "retired"]>;
785
+ createdAt: z.ZodString;
786
+ updatedAt: z.ZodString;
787
+ }, "strict", z.ZodTypeAny, {
788
+ id: string;
789
+ description: string;
790
+ status: "approved" | "draft" | "retired";
791
+ projectId: string;
792
+ createdAt: string;
793
+ version: number;
794
+ updatedAt: string;
795
+ forbiddenChanges: string[];
796
+ wardrobeStateId: string;
797
+ characterPackId: string;
798
+ usedInSceneIds: string[];
799
+ referenceAssetIds: string[];
800
+ }, {
801
+ id: string;
802
+ description: string;
803
+ status: "approved" | "draft" | "retired";
804
+ projectId: string;
805
+ createdAt: string;
806
+ version: number;
807
+ updatedAt: string;
808
+ forbiddenChanges: string[];
809
+ wardrobeStateId: string;
810
+ characterPackId: string;
811
+ usedInSceneIds: string[];
812
+ referenceAssetIds: string[];
813
+ }>, "many">;
814
+ characterSceneStates: z.ZodArray<z.ZodObject<{
815
+ id: z.ZodString;
816
+ projectId: z.ZodString;
817
+ characterPackId: z.ZodString;
818
+ sceneId: z.ZodString;
819
+ emotionalState: z.ZodOptional<z.ZodString>;
820
+ physicalState: z.ZodOptional<z.ZodString>;
821
+ wardrobeStateId: z.ZodOptional<z.ZodString>;
822
+ continuityNotes: z.ZodArray<z.ZodString, "many">;
823
+ createdAt: z.ZodString;
824
+ updatedAt: z.ZodString;
825
+ }, "strict", z.ZodTypeAny, {
826
+ id: string;
827
+ projectId: string;
828
+ createdAt: string;
829
+ updatedAt: string;
830
+ characterPackId: string;
831
+ sceneId: string;
832
+ continuityNotes: string[];
833
+ wardrobeStateId?: string | undefined;
834
+ emotionalState?: string | undefined;
835
+ physicalState?: string | undefined;
836
+ }, {
837
+ id: string;
838
+ projectId: string;
839
+ createdAt: string;
840
+ updatedAt: string;
841
+ characterPackId: string;
842
+ sceneId: string;
843
+ continuityNotes: string[];
844
+ wardrobeStateId?: string | undefined;
845
+ emotionalState?: string | undefined;
846
+ physicalState?: string | undefined;
847
+ }>, "many">;
848
+ styleBibleArtifactId: z.ZodString;
849
+ styleBible: z.ZodObject<{
850
+ aspectRatio: z.ZodTypeAny;
851
+ lensLanguage: z.ZodString;
852
+ cameraMovement: z.ZodString;
853
+ colorPalette: z.ZodString;
854
+ lightingStyle: z.ZodString;
855
+ texture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
856
+ grain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
857
+ referenceFilms: z.ZodTypeAny;
858
+ compositionRules: z.ZodTypeAny;
859
+ costumeRules: z.ZodTypeAny;
860
+ locationRules: z.ZodTypeAny;
861
+ aiGenerationBans: z.ZodTypeAny;
862
+ defaultNegativePrompt: z.ZodTypeAny;
863
+ version: z.ZodTypeAny;
864
+ productionStyle: z.ZodOptional<z.ZodNullable<z.ZodEnum<["stylized_2d", "anime_inspired", "stylized_3d", "motion_comic", "semi_real", "photoreal", "hybrid_live_action"]>>>;
865
+ }, "strip", z.ZodTypeAny, {
866
+ lensLanguage: string;
867
+ cameraMovement: string;
868
+ colorPalette: string;
869
+ lightingStyle: string;
870
+ version?: any;
871
+ aspectRatio?: any;
872
+ texture?: string | null | undefined;
873
+ grain?: string | null | undefined;
874
+ referenceFilms?: any;
875
+ compositionRules?: any;
876
+ costumeRules?: any;
877
+ locationRules?: any;
878
+ aiGenerationBans?: any;
879
+ defaultNegativePrompt?: any;
880
+ productionStyle?: "stylized_2d" | "anime_inspired" | "stylized_3d" | "motion_comic" | "semi_real" | "photoreal" | "hybrid_live_action" | null | undefined;
881
+ }, {
882
+ lensLanguage: string;
883
+ cameraMovement: string;
884
+ colorPalette: string;
885
+ lightingStyle: string;
886
+ version?: any;
887
+ aspectRatio?: any;
888
+ texture?: string | null | undefined;
889
+ grain?: string | null | undefined;
890
+ referenceFilms?: any;
891
+ compositionRules?: any;
892
+ costumeRules?: any;
893
+ locationRules?: any;
894
+ aiGenerationBans?: any;
895
+ defaultNegativePrompt?: any;
896
+ productionStyle?: "stylized_2d" | "anime_inspired" | "stylized_3d" | "motion_comic" | "semi_real" | "photoreal" | "hybrid_live_action" | null | undefined;
897
+ }>;
898
+ referencePacks: z.ZodArray<z.ZodObject<{
899
+ id: z.ZodString;
900
+ projectId: z.ZodString;
901
+ packType: z.ZodEnum<["character", "location", "style", "wardrobe"]>;
902
+ name: z.ZodString;
903
+ description: z.ZodOptional<z.ZodString>;
904
+ assetIds: z.ZodArray<z.ZodString, "many">;
905
+ providerCompat: z.ZodArray<z.ZodString, "many">;
906
+ approved: z.ZodBoolean;
907
+ approvedBy: z.ZodOptional<z.ZodString>;
908
+ approvedAt: z.ZodOptional<z.ZodString>;
909
+ version: z.ZodNumber;
910
+ createdAt: z.ZodString;
911
+ updatedAt: z.ZodString;
912
+ }, "strict", z.ZodTypeAny, {
913
+ id: string;
914
+ projectId: string;
915
+ createdAt: string;
916
+ name: string;
917
+ approved: boolean;
918
+ version: number;
919
+ updatedAt: string;
920
+ packType: "style" | "location" | "character" | "wardrobe";
921
+ assetIds: string[];
922
+ providerCompat: string[];
923
+ description?: string | undefined;
924
+ approvedBy?: string | undefined;
925
+ approvedAt?: string | undefined;
926
+ }, {
927
+ id: string;
928
+ projectId: string;
929
+ createdAt: string;
930
+ name: string;
931
+ approved: boolean;
932
+ version: number;
933
+ updatedAt: string;
934
+ packType: "style" | "location" | "character" | "wardrobe";
935
+ assetIds: string[];
936
+ providerCompat: string[];
937
+ description?: string | undefined;
938
+ approvedBy?: string | undefined;
939
+ approvedAt?: string | undefined;
940
+ }>, "many">;
941
+ /** DB row id for film_prompts when persisted — optional traceability anchor. */
942
+ promptRowId: z.ZodOptional<z.ZodString>;
943
+ budget: z.ZodOptional<z.ZodObject<{
944
+ maxGenerationsForShot: z.ZodOptional<z.ZodNumber>;
945
+ maxCreditsPerShot: z.ZodOptional<z.ZodNumber>;
946
+ priority: z.ZodDefault<z.ZodEnum<["low", "normal", "high"]>>;
947
+ }, "strict", z.ZodTypeAny, {
948
+ priority: "low" | "high" | "normal";
949
+ maxGenerationsForShot?: number | undefined;
950
+ maxCreditsPerShot?: number | undefined;
951
+ }, {
952
+ priority?: "low" | "high" | "normal" | undefined;
953
+ maxGenerationsForShot?: number | undefined;
954
+ maxCreditsPerShot?: number | undefined;
955
+ }>>;
956
+ hintsOverride: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
957
+ }, "strict", z.ZodTypeAny, {
958
+ projectId: string;
959
+ kind: "video" | "still";
960
+ scene: {
961
+ title: string;
962
+ purpose: string;
963
+ sceneCode: string;
964
+ sequenceIndex: number;
965
+ locationName: string;
966
+ timeOfDay: string;
967
+ characters: string[];
968
+ emotionalTurn: string;
969
+ status?: any;
970
+ sourceArtifactId?: string | null | undefined;
971
+ conflict?: string | null | undefined;
972
+ visualMotif?: string | null | undefined;
973
+ screenplayExcerpt?: string | null | undefined;
974
+ continuityConstraints?: any;
975
+ runtimeEstimateSeconds?: number | null | undefined;
976
+ aiFeasibility?: "low" | "medium" | "high" | "requires_live_action" | null | undefined;
977
+ productionComplexity?: "low" | "medium" | "high" | "very_high" | null | undefined;
978
+ };
979
+ provider: "manual" | "openai" | "runway" | "comfyui" | "generic";
980
+ styleBibleArtifactId: string;
981
+ sceneRowId: string;
982
+ shotRowId: string;
983
+ shot: {
984
+ status: "approved" | "draft" | "superseded" | "locked";
985
+ subject: string;
986
+ durationSeconds: number;
987
+ purpose: string;
988
+ action: string;
989
+ sequenceIndex: number;
990
+ shotCode: string;
991
+ shotType: string;
992
+ generationStrategy: "hybrid" | "ai_video" | "keyframe_to_video" | "live_action" | "stock" | "three_d_render" | "still_animation" | "audio_only" | "vfx_required";
993
+ notes?: string | null | undefined;
994
+ sourceArtifactId?: string | null | undefined;
995
+ environment?: string | null | undefined;
996
+ cameraMotion?: string | null | undefined;
997
+ lensLanguage?: string | null | undefined;
998
+ lighting?: string | null | undefined;
999
+ mood?: string | null | undefined;
1000
+ continuityRefs?: any;
1001
+ locationId?: string | null | undefined;
1002
+ riskLevel?: "low" | "medium" | "high" | "avoid" | null | undefined;
1003
+ riskFlags?: any;
1004
+ forbiddenElements?: any;
1005
+ riskAssessedAt?: string | null | undefined;
1006
+ riskAssessedVersion?: number | null | undefined;
1007
+ };
1008
+ characterPacks: {
1009
+ id: string;
1010
+ status: "approved" | "draft" | "locked" | "retired";
1011
+ projectId: string;
1012
+ createdAt: string;
1013
+ name: string;
1014
+ version: number;
1015
+ updatedAt: string;
1016
+ characterId: string;
1017
+ canonicalDescription: string;
1018
+ identityPrompt: string;
1019
+ visualTraits: Record<string, unknown>;
1020
+ forbiddenChanges: string[];
1021
+ negativeIdentityPrompt?: string | undefined;
1022
+ approvedReferencePackId?: string | undefined;
1023
+ }[];
1024
+ wardrobeStates: {
1025
+ id: string;
1026
+ description: string;
1027
+ status: "approved" | "draft" | "retired";
1028
+ projectId: string;
1029
+ createdAt: string;
1030
+ version: number;
1031
+ updatedAt: string;
1032
+ forbiddenChanges: string[];
1033
+ wardrobeStateId: string;
1034
+ characterPackId: string;
1035
+ usedInSceneIds: string[];
1036
+ referenceAssetIds: string[];
1037
+ }[];
1038
+ characterSceneStates: {
1039
+ id: string;
1040
+ projectId: string;
1041
+ createdAt: string;
1042
+ updatedAt: string;
1043
+ characterPackId: string;
1044
+ sceneId: string;
1045
+ continuityNotes: string[];
1046
+ wardrobeStateId?: string | undefined;
1047
+ emotionalState?: string | undefined;
1048
+ physicalState?: string | undefined;
1049
+ }[];
1050
+ styleBible: {
1051
+ lensLanguage: string;
1052
+ cameraMovement: string;
1053
+ colorPalette: string;
1054
+ lightingStyle: string;
1055
+ version?: any;
1056
+ aspectRatio?: any;
1057
+ texture?: string | null | undefined;
1058
+ grain?: string | null | undefined;
1059
+ referenceFilms?: any;
1060
+ compositionRules?: any;
1061
+ costumeRules?: any;
1062
+ locationRules?: any;
1063
+ aiGenerationBans?: any;
1064
+ defaultNegativePrompt?: any;
1065
+ productionStyle?: "stylized_2d" | "anime_inspired" | "stylized_3d" | "motion_comic" | "semi_real" | "photoreal" | "hybrid_live_action" | null | undefined;
1066
+ };
1067
+ referencePacks: {
1068
+ id: string;
1069
+ projectId: string;
1070
+ createdAt: string;
1071
+ name: string;
1072
+ approved: boolean;
1073
+ version: number;
1074
+ updatedAt: string;
1075
+ packType: "style" | "location" | "character" | "wardrobe";
1076
+ assetIds: string[];
1077
+ providerCompat: string[];
1078
+ description?: string | undefined;
1079
+ approvedBy?: string | undefined;
1080
+ approvedAt?: string | undefined;
1081
+ }[];
1082
+ prompt?: {
1083
+ status: "approved" | "draft" | "superseded";
1084
+ provider: "runway" | "comfyui" | "generic" | "pika" | "luma" | "kling";
1085
+ sourceArtifactIds: string[];
1086
+ sceneCode: string;
1087
+ shotCode: string;
1088
+ promptCode: string;
1089
+ positivePrompt: string;
1090
+ styleBibleArtifactId: string;
1091
+ version?: any;
1092
+ negativePrompt?: any;
1093
+ characterBibleArtifactId?: string | null | undefined;
1094
+ locationBibleArtifactId?: string | null | undefined;
1095
+ continuityChecklist?: any;
1096
+ providerSettings?: {
1097
+ durationSeconds?: number | null | undefined;
1098
+ cameraMotion?: string | null | undefined;
1099
+ aspectRatio?: string | null | undefined;
1100
+ stylePreset?: string | null | undefined;
1101
+ seed?: number | null | undefined;
1102
+ modelHint?: string | null | undefined;
1103
+ } | null | undefined;
1104
+ } | undefined;
1105
+ budget?: {
1106
+ priority: "low" | "high" | "normal";
1107
+ maxGenerationsForShot?: number | undefined;
1108
+ maxCreditsPerShot?: number | undefined;
1109
+ } | undefined;
1110
+ keyframe?: {
1111
+ id: string;
1112
+ status: "rejected" | "approved" | "regenerate" | "under_review" | "generated";
1113
+ projectId: string;
1114
+ createdAt: string;
1115
+ decision: string | null;
1116
+ provider: "manual" | "openai" | "runway" | "comfyui" | "generic";
1117
+ version: number;
1118
+ storagePath: string;
1119
+ updatedAt: string;
1120
+ supersededBy: string | null;
1121
+ shotId: string;
1122
+ promptId: string | null;
1123
+ providerJobId: string | null;
1124
+ stillReviewScores: Record<string, unknown> | {
1125
+ characterMatch: number;
1126
+ wardrobeMatch: number;
1127
+ locationMatch: number;
1128
+ styleMatch: number;
1129
+ cameraMatch: number;
1130
+ artifactScore: number;
1131
+ overallUsability: number;
1132
+ reasoning: string;
1133
+ detectedIssues: string[];
1134
+ scoredBy: {
1135
+ provider: string;
1136
+ version: string;
1137
+ model: string;
1138
+ scoredAt: string;
1139
+ };
1140
+ };
1141
+ regenerationInstructions: string | null;
1142
+ mediaAssetId?: string | null | undefined;
1143
+ } | undefined;
1144
+ locationPack?: {
1145
+ id: string;
1146
+ status: "approved" | "draft" | "locked" | "retired";
1147
+ projectId: string;
1148
+ createdAt: string;
1149
+ name: string;
1150
+ version: number;
1151
+ updatedAt: string;
1152
+ locationId: string;
1153
+ forbiddenElements: string[];
1154
+ canonicalDescription: string;
1155
+ identityPrompt: string;
1156
+ visualTraits: Record<string, unknown>;
1157
+ lightingRules: string[];
1158
+ approvedReferencePackId?: string | undefined;
1159
+ } | undefined;
1160
+ promptRowId?: string | undefined;
1161
+ hintsOverride?: Record<string, unknown> | undefined;
1162
+ }, {
1163
+ projectId: string;
1164
+ kind: "video" | "still";
1165
+ scene: {
1166
+ title: string;
1167
+ purpose: string;
1168
+ sceneCode: string;
1169
+ sequenceIndex: number;
1170
+ locationName: string;
1171
+ timeOfDay: string;
1172
+ characters: string[];
1173
+ emotionalTurn: string;
1174
+ status?: any;
1175
+ sourceArtifactId?: string | null | undefined;
1176
+ conflict?: string | null | undefined;
1177
+ visualMotif?: string | null | undefined;
1178
+ screenplayExcerpt?: string | null | undefined;
1179
+ continuityConstraints?: any;
1180
+ runtimeEstimateSeconds?: number | null | undefined;
1181
+ aiFeasibility?: "low" | "medium" | "high" | "requires_live_action" | null | undefined;
1182
+ productionComplexity?: "low" | "medium" | "high" | "very_high" | null | undefined;
1183
+ };
1184
+ provider: "manual" | "openai" | "runway" | "comfyui" | "generic";
1185
+ styleBibleArtifactId: string;
1186
+ sceneRowId: string;
1187
+ shotRowId: string;
1188
+ shot: {
1189
+ subject: string;
1190
+ durationSeconds: number;
1191
+ purpose: string;
1192
+ action: string;
1193
+ sequenceIndex: number;
1194
+ shotCode: string;
1195
+ shotType: string;
1196
+ status?: "approved" | "draft" | "superseded" | "locked" | undefined;
1197
+ notes?: string | null | undefined;
1198
+ sourceArtifactId?: string | null | undefined;
1199
+ environment?: string | null | undefined;
1200
+ cameraMotion?: string | null | undefined;
1201
+ lensLanguage?: string | null | undefined;
1202
+ lighting?: string | null | undefined;
1203
+ mood?: string | null | undefined;
1204
+ continuityRefs?: any;
1205
+ generationStrategy?: "hybrid" | "ai_video" | "keyframe_to_video" | "live_action" | "stock" | "three_d_render" | "still_animation" | "audio_only" | "vfx_required" | undefined;
1206
+ locationId?: unknown;
1207
+ riskLevel?: "low" | "medium" | "high" | "avoid" | null | undefined;
1208
+ riskFlags?: any;
1209
+ forbiddenElements?: any;
1210
+ riskAssessedAt?: string | null | undefined;
1211
+ riskAssessedVersion?: number | null | undefined;
1212
+ };
1213
+ characterPacks: {
1214
+ id: string;
1215
+ status: "approved" | "draft" | "locked" | "retired";
1216
+ projectId: string;
1217
+ createdAt: string;
1218
+ name: string;
1219
+ version: number;
1220
+ updatedAt: string;
1221
+ characterId: string;
1222
+ canonicalDescription: string;
1223
+ identityPrompt: string;
1224
+ visualTraits: Record<string, unknown>;
1225
+ forbiddenChanges: string[];
1226
+ negativeIdentityPrompt?: string | undefined;
1227
+ approvedReferencePackId?: string | undefined;
1228
+ }[];
1229
+ wardrobeStates: {
1230
+ id: string;
1231
+ description: string;
1232
+ status: "approved" | "draft" | "retired";
1233
+ projectId: string;
1234
+ createdAt: string;
1235
+ version: number;
1236
+ updatedAt: string;
1237
+ forbiddenChanges: string[];
1238
+ wardrobeStateId: string;
1239
+ characterPackId: string;
1240
+ usedInSceneIds: string[];
1241
+ referenceAssetIds: string[];
1242
+ }[];
1243
+ characterSceneStates: {
1244
+ id: string;
1245
+ projectId: string;
1246
+ createdAt: string;
1247
+ updatedAt: string;
1248
+ characterPackId: string;
1249
+ sceneId: string;
1250
+ continuityNotes: string[];
1251
+ wardrobeStateId?: string | undefined;
1252
+ emotionalState?: string | undefined;
1253
+ physicalState?: string | undefined;
1254
+ }[];
1255
+ styleBible: {
1256
+ lensLanguage: string;
1257
+ cameraMovement: string;
1258
+ colorPalette: string;
1259
+ lightingStyle: string;
1260
+ version?: any;
1261
+ aspectRatio?: any;
1262
+ texture?: string | null | undefined;
1263
+ grain?: string | null | undefined;
1264
+ referenceFilms?: any;
1265
+ compositionRules?: any;
1266
+ costumeRules?: any;
1267
+ locationRules?: any;
1268
+ aiGenerationBans?: any;
1269
+ defaultNegativePrompt?: any;
1270
+ productionStyle?: "stylized_2d" | "anime_inspired" | "stylized_3d" | "motion_comic" | "semi_real" | "photoreal" | "hybrid_live_action" | null | undefined;
1271
+ };
1272
+ referencePacks: {
1273
+ id: string;
1274
+ projectId: string;
1275
+ createdAt: string;
1276
+ name: string;
1277
+ approved: boolean;
1278
+ version: number;
1279
+ updatedAt: string;
1280
+ packType: "style" | "location" | "character" | "wardrobe";
1281
+ assetIds: string[];
1282
+ providerCompat: string[];
1283
+ description?: string | undefined;
1284
+ approvedBy?: string | undefined;
1285
+ approvedAt?: string | undefined;
1286
+ }[];
1287
+ prompt?: {
1288
+ provider: "runway" | "comfyui" | "generic" | "pika" | "luma" | "kling";
1289
+ sceneCode: string;
1290
+ shotCode: string;
1291
+ promptCode: string;
1292
+ positivePrompt: string;
1293
+ status?: "approved" | "draft" | "superseded" | undefined;
1294
+ version?: any;
1295
+ negativePrompt?: any;
1296
+ sourceArtifactIds?: unknown;
1297
+ styleBibleArtifactId?: unknown;
1298
+ characterBibleArtifactId?: unknown;
1299
+ locationBibleArtifactId?: unknown;
1300
+ continuityChecklist?: any;
1301
+ providerSettings?: {
1302
+ durationSeconds?: number | null | undefined;
1303
+ cameraMotion?: string | null | undefined;
1304
+ aspectRatio?: string | null | undefined;
1305
+ stylePreset?: string | null | undefined;
1306
+ seed?: number | null | undefined;
1307
+ modelHint?: string | null | undefined;
1308
+ } | null | undefined;
1309
+ } | undefined;
1310
+ budget?: {
1311
+ priority?: "low" | "high" | "normal" | undefined;
1312
+ maxGenerationsForShot?: number | undefined;
1313
+ maxCreditsPerShot?: number | undefined;
1314
+ } | undefined;
1315
+ keyframe?: {
1316
+ id: string;
1317
+ status: "rejected" | "approved" | "regenerate" | "under_review" | "generated";
1318
+ projectId: string;
1319
+ createdAt: string;
1320
+ decision: string | null;
1321
+ provider: "manual" | "openai" | "runway" | "comfyui" | "generic";
1322
+ version: number;
1323
+ storagePath: string;
1324
+ updatedAt: string;
1325
+ supersededBy: string | null;
1326
+ shotId: string;
1327
+ promptId: string | null;
1328
+ providerJobId: string | null;
1329
+ stillReviewScores: Record<string, unknown> | {
1330
+ characterMatch: number;
1331
+ wardrobeMatch: number;
1332
+ locationMatch: number;
1333
+ styleMatch: number;
1334
+ cameraMatch: number;
1335
+ artifactScore: number;
1336
+ overallUsability: number;
1337
+ reasoning: string;
1338
+ scoredBy: {
1339
+ provider: string;
1340
+ version: string;
1341
+ model: string;
1342
+ scoredAt: string;
1343
+ };
1344
+ detectedIssues?: string[] | undefined;
1345
+ };
1346
+ regenerationInstructions: string | null;
1347
+ mediaAssetId?: string | null | undefined;
1348
+ } | undefined;
1349
+ locationPack?: {
1350
+ id: string;
1351
+ status: "approved" | "draft" | "locked" | "retired";
1352
+ projectId: string;
1353
+ createdAt: string;
1354
+ name: string;
1355
+ version: number;
1356
+ updatedAt: string;
1357
+ locationId: string;
1358
+ forbiddenElements: string[];
1359
+ canonicalDescription: string;
1360
+ identityPrompt: string;
1361
+ visualTraits: Record<string, unknown>;
1362
+ lightingRules: string[];
1363
+ approvedReferencePackId?: string | undefined;
1364
+ } | undefined;
1365
+ promptRowId?: string | undefined;
1366
+ hintsOverride?: Record<string, unknown> | undefined;
1367
+ }>;
1368
+ export type GenerationContext = z.infer<typeof GenerationContextSchema>;
1369
+ /** Workflow artifact body — single validated generation package. */
1370
+ export declare const FilmGenerationPackageArtifactSchema: z.ZodObject<{
1371
+ generationPackage: z.ZodObject<{
1372
+ kind: z.ZodEnum<["video", "still"]>;
1373
+ provider: z.ZodEnum<["manual", "runway", "comfyui", "generic", "openai"]>;
1374
+ prompt: z.ZodObject<{
1375
+ positive: z.ZodString;
1376
+ negative: z.ZodDefault<z.ZodString>;
1377
+ referenceImageIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1378
+ keyframeImageId: z.ZodOptional<z.ZodString>;
1379
+ aspectRatio: z.ZodEnum<["16:9", "9:16", "1:1", "4:3", "21:9"]>;
1380
+ durationFrames: z.ZodOptional<z.ZodNumber>;
1381
+ fps: z.ZodOptional<z.ZodNumber>;
1382
+ motionDescription: z.ZodOptional<z.ZodString>;
1383
+ cameraDescription: z.ZodOptional<z.ZodString>;
1384
+ seed: z.ZodOptional<z.ZodNumber>;
1385
+ cfgScale: z.ZodOptional<z.ZodNumber>;
1386
+ }, "strict", z.ZodTypeAny, {
1387
+ positive: string;
1388
+ negative: string;
1389
+ aspectRatio: "16:9" | "9:16" | "1:1" | "4:3" | "21:9";
1390
+ referenceImageIds: string[];
1391
+ seed?: number | undefined;
1392
+ keyframeImageId?: string | undefined;
1393
+ durationFrames?: number | undefined;
1394
+ fps?: number | undefined;
1395
+ motionDescription?: string | undefined;
1396
+ cameraDescription?: string | undefined;
1397
+ cfgScale?: number | undefined;
1398
+ }, {
1399
+ positive: string;
1400
+ aspectRatio: "16:9" | "9:16" | "1:1" | "4:3" | "21:9";
1401
+ negative?: string | undefined;
1402
+ seed?: number | undefined;
1403
+ referenceImageIds?: string[] | undefined;
1404
+ keyframeImageId?: string | undefined;
1405
+ durationFrames?: number | undefined;
1406
+ fps?: number | undefined;
1407
+ motionDescription?: string | undefined;
1408
+ cameraDescription?: string | undefined;
1409
+ cfgScale?: number | undefined;
1410
+ }>;
1411
+ hints: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1412
+ traceability: z.ZodObject<{
1413
+ projectId: z.ZodString;
1414
+ sceneId: z.ZodString;
1415
+ shotId: z.ZodString;
1416
+ promptId: z.ZodOptional<z.ZodString>;
1417
+ keyframeId: z.ZodOptional<z.ZodString>;
1418
+ characterPackIds: z.ZodArray<z.ZodString, "many">;
1419
+ locationPackId: z.ZodOptional<z.ZodString>;
1420
+ wardrobeStateIds: z.ZodArray<z.ZodString, "many">;
1421
+ styleBibleArtifactId: z.ZodString;
1422
+ referencePackIds: z.ZodArray<z.ZodString, "many">;
1423
+ compilerVersion: z.ZodString;
1424
+ }, "strict", z.ZodTypeAny, {
1425
+ projectId: string;
1426
+ shotId: string;
1427
+ styleBibleArtifactId: string;
1428
+ sceneId: string;
1429
+ characterPackIds: string[];
1430
+ wardrobeStateIds: string[];
1431
+ referencePackIds: string[];
1432
+ compilerVersion: string;
1433
+ promptId?: string | undefined;
1434
+ keyframeId?: string | undefined;
1435
+ locationPackId?: string | undefined;
1436
+ }, {
1437
+ projectId: string;
1438
+ shotId: string;
1439
+ styleBibleArtifactId: string;
1440
+ sceneId: string;
1441
+ characterPackIds: string[];
1442
+ wardrobeStateIds: string[];
1443
+ referencePackIds: string[];
1444
+ compilerVersion: string;
1445
+ promptId?: string | undefined;
1446
+ keyframeId?: string | undefined;
1447
+ locationPackId?: string | undefined;
1448
+ }>;
1449
+ constraints: z.ZodObject<{
1450
+ maxRetries: z.ZodDefault<z.ZodNumber>;
1451
+ riskLevel: z.ZodEnum<["low", "medium", "high", "avoid"]>;
1452
+ humanReviewRequired: z.ZodBoolean;
1453
+ forbiddenElements: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1454
+ providerCompatRequired: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1455
+ }, "strict", z.ZodTypeAny, {
1456
+ maxRetries: number;
1457
+ humanReviewRequired: boolean;
1458
+ riskLevel: "low" | "medium" | "high" | "avoid";
1459
+ forbiddenElements: string[];
1460
+ providerCompatRequired: string[];
1461
+ }, {
1462
+ humanReviewRequired: boolean;
1463
+ riskLevel: "low" | "medium" | "high" | "avoid";
1464
+ maxRetries?: number | undefined;
1465
+ forbiddenElements?: string[] | undefined;
1466
+ providerCompatRequired?: string[] | undefined;
1467
+ }>;
1468
+ budget: z.ZodObject<{
1469
+ maxGenerationsForShot: z.ZodOptional<z.ZodNumber>;
1470
+ maxCreditsPerShot: z.ZodOptional<z.ZodNumber>;
1471
+ priority: z.ZodDefault<z.ZodEnum<["low", "normal", "high"]>>;
1472
+ }, "strict", z.ZodTypeAny, {
1473
+ priority: "low" | "high" | "normal";
1474
+ maxGenerationsForShot?: number | undefined;
1475
+ maxCreditsPerShot?: number | undefined;
1476
+ }, {
1477
+ priority?: "low" | "high" | "normal" | undefined;
1478
+ maxGenerationsForShot?: number | undefined;
1479
+ maxCreditsPerShot?: number | undefined;
1480
+ }>;
1481
+ compiledAt: z.ZodString;
1482
+ packageId: z.ZodString;
1483
+ }, "strict", z.ZodTypeAny, {
1484
+ kind: "video" | "still";
1485
+ prompt: {
1486
+ positive: string;
1487
+ negative: string;
1488
+ aspectRatio: "16:9" | "9:16" | "1:1" | "4:3" | "21:9";
1489
+ referenceImageIds: string[];
1490
+ seed?: number | undefined;
1491
+ keyframeImageId?: string | undefined;
1492
+ durationFrames?: number | undefined;
1493
+ fps?: number | undefined;
1494
+ motionDescription?: string | undefined;
1495
+ cameraDescription?: string | undefined;
1496
+ cfgScale?: number | undefined;
1497
+ };
1498
+ constraints: {
1499
+ maxRetries: number;
1500
+ humanReviewRequired: boolean;
1501
+ riskLevel: "low" | "medium" | "high" | "avoid";
1502
+ forbiddenElements: string[];
1503
+ providerCompatRequired: string[];
1504
+ };
1505
+ provider: "manual" | "openai" | "runway" | "comfyui" | "generic";
1506
+ traceability: {
1507
+ projectId: string;
1508
+ shotId: string;
1509
+ styleBibleArtifactId: string;
1510
+ sceneId: string;
1511
+ characterPackIds: string[];
1512
+ wardrobeStateIds: string[];
1513
+ referencePackIds: string[];
1514
+ compilerVersion: string;
1515
+ promptId?: string | undefined;
1516
+ keyframeId?: string | undefined;
1517
+ locationPackId?: string | undefined;
1518
+ };
1519
+ hints: Record<string, unknown>;
1520
+ budget: {
1521
+ priority: "low" | "high" | "normal";
1522
+ maxGenerationsForShot?: number | undefined;
1523
+ maxCreditsPerShot?: number | undefined;
1524
+ };
1525
+ compiledAt: string;
1526
+ packageId: string;
1527
+ }, {
1528
+ kind: "video" | "still";
1529
+ prompt: {
1530
+ positive: string;
1531
+ aspectRatio: "16:9" | "9:16" | "1:1" | "4:3" | "21:9";
1532
+ negative?: string | undefined;
1533
+ seed?: number | undefined;
1534
+ referenceImageIds?: string[] | undefined;
1535
+ keyframeImageId?: string | undefined;
1536
+ durationFrames?: number | undefined;
1537
+ fps?: number | undefined;
1538
+ motionDescription?: string | undefined;
1539
+ cameraDescription?: string | undefined;
1540
+ cfgScale?: number | undefined;
1541
+ };
1542
+ constraints: {
1543
+ humanReviewRequired: boolean;
1544
+ riskLevel: "low" | "medium" | "high" | "avoid";
1545
+ maxRetries?: number | undefined;
1546
+ forbiddenElements?: string[] | undefined;
1547
+ providerCompatRequired?: string[] | undefined;
1548
+ };
1549
+ provider: "manual" | "openai" | "runway" | "comfyui" | "generic";
1550
+ traceability: {
1551
+ projectId: string;
1552
+ shotId: string;
1553
+ styleBibleArtifactId: string;
1554
+ sceneId: string;
1555
+ characterPackIds: string[];
1556
+ wardrobeStateIds: string[];
1557
+ referencePackIds: string[];
1558
+ compilerVersion: string;
1559
+ promptId?: string | undefined;
1560
+ keyframeId?: string | undefined;
1561
+ locationPackId?: string | undefined;
1562
+ };
1563
+ hints: Record<string, unknown>;
1564
+ budget: {
1565
+ priority?: "low" | "high" | "normal" | undefined;
1566
+ maxGenerationsForShot?: number | undefined;
1567
+ maxCreditsPerShot?: number | undefined;
1568
+ };
1569
+ compiledAt: string;
1570
+ packageId: string;
1571
+ }>;
1572
+ }, "strict", z.ZodTypeAny, {
1573
+ generationPackage: {
1574
+ kind: "video" | "still";
1575
+ prompt: {
1576
+ positive: string;
1577
+ negative: string;
1578
+ aspectRatio: "16:9" | "9:16" | "1:1" | "4:3" | "21:9";
1579
+ referenceImageIds: string[];
1580
+ seed?: number | undefined;
1581
+ keyframeImageId?: string | undefined;
1582
+ durationFrames?: number | undefined;
1583
+ fps?: number | undefined;
1584
+ motionDescription?: string | undefined;
1585
+ cameraDescription?: string | undefined;
1586
+ cfgScale?: number | undefined;
1587
+ };
1588
+ constraints: {
1589
+ maxRetries: number;
1590
+ humanReviewRequired: boolean;
1591
+ riskLevel: "low" | "medium" | "high" | "avoid";
1592
+ forbiddenElements: string[];
1593
+ providerCompatRequired: string[];
1594
+ };
1595
+ provider: "manual" | "openai" | "runway" | "comfyui" | "generic";
1596
+ traceability: {
1597
+ projectId: string;
1598
+ shotId: string;
1599
+ styleBibleArtifactId: string;
1600
+ sceneId: string;
1601
+ characterPackIds: string[];
1602
+ wardrobeStateIds: string[];
1603
+ referencePackIds: string[];
1604
+ compilerVersion: string;
1605
+ promptId?: string | undefined;
1606
+ keyframeId?: string | undefined;
1607
+ locationPackId?: string | undefined;
1608
+ };
1609
+ hints: Record<string, unknown>;
1610
+ budget: {
1611
+ priority: "low" | "high" | "normal";
1612
+ maxGenerationsForShot?: number | undefined;
1613
+ maxCreditsPerShot?: number | undefined;
1614
+ };
1615
+ compiledAt: string;
1616
+ packageId: string;
1617
+ };
1618
+ }, {
1619
+ generationPackage: {
1620
+ kind: "video" | "still";
1621
+ prompt: {
1622
+ positive: string;
1623
+ aspectRatio: "16:9" | "9:16" | "1:1" | "4:3" | "21:9";
1624
+ negative?: string | undefined;
1625
+ seed?: number | undefined;
1626
+ referenceImageIds?: string[] | undefined;
1627
+ keyframeImageId?: string | undefined;
1628
+ durationFrames?: number | undefined;
1629
+ fps?: number | undefined;
1630
+ motionDescription?: string | undefined;
1631
+ cameraDescription?: string | undefined;
1632
+ cfgScale?: number | undefined;
1633
+ };
1634
+ constraints: {
1635
+ humanReviewRequired: boolean;
1636
+ riskLevel: "low" | "medium" | "high" | "avoid";
1637
+ maxRetries?: number | undefined;
1638
+ forbiddenElements?: string[] | undefined;
1639
+ providerCompatRequired?: string[] | undefined;
1640
+ };
1641
+ provider: "manual" | "openai" | "runway" | "comfyui" | "generic";
1642
+ traceability: {
1643
+ projectId: string;
1644
+ shotId: string;
1645
+ styleBibleArtifactId: string;
1646
+ sceneId: string;
1647
+ characterPackIds: string[];
1648
+ wardrobeStateIds: string[];
1649
+ referencePackIds: string[];
1650
+ compilerVersion: string;
1651
+ promptId?: string | undefined;
1652
+ keyframeId?: string | undefined;
1653
+ locationPackId?: string | undefined;
1654
+ };
1655
+ hints: Record<string, unknown>;
1656
+ budget: {
1657
+ priority?: "low" | "high" | "normal" | undefined;
1658
+ maxGenerationsForShot?: number | undefined;
1659
+ maxCreditsPerShot?: number | undefined;
1660
+ };
1661
+ compiledAt: string;
1662
+ packageId: string;
1663
+ };
1664
+ }>;
1665
+ export type FilmGenerationPackageArtifact = z.infer<typeof FilmGenerationPackageArtifactSchema>;