@neuraloom/contracts 0.0.0-stage → 0.1.23

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 +14645 -0
  563. package/dist/schemas/cortex/bridge-events.schema.js +828 -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 +163 -0
  833. package/dist/schemas/orchestration-execution.js +89 -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 +83 -4
  1141. package/README.md +0 -3
@@ -0,0 +1,1779 @@
1
+ import { z } from 'zod';
2
+ export declare const FilmGenerationDashboardScopeModeSchema: z.ZodEnum<["trailer_proof", "full_film"]>;
3
+ export type FilmGenerationDashboardScopeMode = z.infer<typeof FilmGenerationDashboardScopeModeSchema>;
4
+ export declare const FilmGenerationDashboardScopeSchema: z.ZodObject<{
5
+ mode: z.ZodEnum<["trailer_proof", "full_film"]>;
6
+ /** Shot UUIDs active in the current scope. */
7
+ shotIds: z.ZodArray<z.ZodString, "many">;
8
+ totalShots: z.ZodNumber;
9
+ /** Shots required to satisfy this scope (trailer or full film). */
10
+ requiredShots: z.ZodNumber;
11
+ }, "strip", z.ZodTypeAny, {
12
+ mode: "trailer_proof" | "full_film";
13
+ totalShots: number;
14
+ shotIds: string[];
15
+ requiredShots: number;
16
+ }, {
17
+ mode: "trailer_proof" | "full_film";
18
+ totalShots: number;
19
+ shotIds: string[];
20
+ requiredShots: number;
21
+ }>;
22
+ export type FilmGenerationDashboardScope = z.infer<typeof FilmGenerationDashboardScopeSchema>;
23
+ export declare const FilmGenerationDashboardStateSchema: z.ZodEnum<["not_ready", "ready", "in_progress", "blocked", "generated", "needs_review", "complete"]>;
24
+ export type FilmGenerationDashboardState = z.infer<typeof FilmGenerationDashboardStateSchema>;
25
+ export declare const FilmGenerationDashboardPrimaryActionKindSchema: z.ZodEnum<["resolve_blockers", "generate", "process_queue", "review_takes", "send_to_postproduction", "retry_failed", "none"]>;
26
+ export type FilmGenerationDashboardPrimaryActionKind = z.infer<typeof FilmGenerationDashboardPrimaryActionKindSchema>;
27
+ export declare const FilmGenerationDashboardPrimaryActionSchema: z.ZodObject<{
28
+ id: z.ZodString;
29
+ label: z.ZodString;
30
+ kind: z.ZodEnum<["resolve_blockers", "generate", "process_queue", "review_takes", "send_to_postproduction", "retry_failed", "none"]>;
31
+ }, "strip", z.ZodTypeAny, {
32
+ id: string;
33
+ label: string;
34
+ kind: "none" | "generate" | "resolve_blockers" | "process_queue" | "review_takes" | "send_to_postproduction" | "retry_failed";
35
+ }, {
36
+ id: string;
37
+ label: string;
38
+ kind: "none" | "generate" | "resolve_blockers" | "process_queue" | "review_takes" | "send_to_postproduction" | "retry_failed";
39
+ }>;
40
+ export type FilmGenerationDashboardPrimaryAction = z.infer<typeof FilmGenerationDashboardPrimaryActionSchema>;
41
+ export declare const FilmGenerationDashboardStatusSchema: z.ZodObject<{
42
+ state: z.ZodEnum<["not_ready", "ready", "in_progress", "blocked", "generated", "needs_review", "complete"]>;
43
+ nextBestAction: z.ZodString;
44
+ primaryAction: z.ZodOptional<z.ZodObject<{
45
+ id: z.ZodString;
46
+ label: z.ZodString;
47
+ kind: z.ZodEnum<["resolve_blockers", "generate", "process_queue", "review_takes", "send_to_postproduction", "retry_failed", "none"]>;
48
+ }, "strip", z.ZodTypeAny, {
49
+ id: string;
50
+ label: string;
51
+ kind: "none" | "generate" | "resolve_blockers" | "process_queue" | "review_takes" | "send_to_postproduction" | "retry_failed";
52
+ }, {
53
+ id: string;
54
+ label: string;
55
+ kind: "none" | "generate" | "resolve_blockers" | "process_queue" | "review_takes" | "send_to_postproduction" | "retry_failed";
56
+ }>>;
57
+ hardBlockers: z.ZodArray<z.ZodString, "many">;
58
+ warnings: z.ZodArray<z.ZodString, "many">;
59
+ }, "strip", z.ZodTypeAny, {
60
+ warnings: string[];
61
+ hardBlockers: string[];
62
+ state: "complete" | "blocked" | "ready" | "in_progress" | "needs_review" | "generated" | "not_ready";
63
+ nextBestAction: string;
64
+ primaryAction?: {
65
+ id: string;
66
+ label: string;
67
+ kind: "none" | "generate" | "resolve_blockers" | "process_queue" | "review_takes" | "send_to_postproduction" | "retry_failed";
68
+ } | undefined;
69
+ }, {
70
+ warnings: string[];
71
+ hardBlockers: string[];
72
+ state: "complete" | "blocked" | "ready" | "in_progress" | "needs_review" | "generated" | "not_ready";
73
+ nextBestAction: string;
74
+ primaryAction?: {
75
+ id: string;
76
+ label: string;
77
+ kind: "none" | "generate" | "resolve_blockers" | "process_queue" | "review_takes" | "send_to_postproduction" | "retry_failed";
78
+ } | undefined;
79
+ }>;
80
+ export type FilmGenerationDashboardStatus = z.infer<typeof FilmGenerationDashboardStatusSchema>;
81
+ export declare const FilmGenerationDashboardReadinessSchema: z.ZodObject<{
82
+ scriptComplete: z.ZodBoolean;
83
+ preproductionComplete: z.ZodBoolean;
84
+ promptPackAccepted: z.ZodBoolean;
85
+ hydrated: z.ZodBoolean;
86
+ promptCoverage: z.ZodObject<{
87
+ covered: z.ZodNumber;
88
+ required: z.ZodNumber;
89
+ }, "strip", z.ZodTypeAny, {
90
+ covered: number;
91
+ required: number;
92
+ }, {
93
+ covered: number;
94
+ required: number;
95
+ }>;
96
+ keyframeCoverage: z.ZodObject<{
97
+ approved: z.ZodNumber;
98
+ required: z.ZodNumber;
99
+ }, "strip", z.ZodTypeAny, {
100
+ required: number;
101
+ approved: number;
102
+ }, {
103
+ required: number;
104
+ approved: number;
105
+ }>;
106
+ characterPackCoverage: z.ZodObject<{
107
+ approved: z.ZodNumber;
108
+ required: z.ZodNumber;
109
+ }, "strip", z.ZodTypeAny, {
110
+ required: number;
111
+ approved: number;
112
+ }, {
113
+ required: number;
114
+ approved: number;
115
+ }>;
116
+ providerReadiness: z.ZodObject<{
117
+ runway: z.ZodBoolean;
118
+ comfyui: z.ZodBoolean;
119
+ manual: z.ZodBoolean;
120
+ }, "strip", z.ZodTypeAny, {
121
+ manual: boolean;
122
+ runway: boolean;
123
+ comfyui: boolean;
124
+ }, {
125
+ manual: boolean;
126
+ runway: boolean;
127
+ comfyui: boolean;
128
+ }>;
129
+ }, "strip", z.ZodTypeAny, {
130
+ scriptComplete: boolean;
131
+ preproductionComplete: boolean;
132
+ promptPackAccepted: boolean;
133
+ hydrated: boolean;
134
+ promptCoverage: {
135
+ covered: number;
136
+ required: number;
137
+ };
138
+ keyframeCoverage: {
139
+ required: number;
140
+ approved: number;
141
+ };
142
+ characterPackCoverage: {
143
+ required: number;
144
+ approved: number;
145
+ };
146
+ providerReadiness: {
147
+ manual: boolean;
148
+ runway: boolean;
149
+ comfyui: boolean;
150
+ };
151
+ }, {
152
+ scriptComplete: boolean;
153
+ preproductionComplete: boolean;
154
+ promptPackAccepted: boolean;
155
+ hydrated: boolean;
156
+ promptCoverage: {
157
+ covered: number;
158
+ required: number;
159
+ };
160
+ keyframeCoverage: {
161
+ required: number;
162
+ approved: number;
163
+ };
164
+ characterPackCoverage: {
165
+ required: number;
166
+ approved: number;
167
+ };
168
+ providerReadiness: {
169
+ manual: boolean;
170
+ runway: boolean;
171
+ comfyui: boolean;
172
+ };
173
+ }>;
174
+ export type FilmGenerationDashboardReadiness = z.infer<typeof FilmGenerationDashboardReadinessSchema>;
175
+ export declare const FilmShotGenerationRowStatusSchema: z.ZodEnum<["draft", "approved", "superseded", "archived"]>;
176
+ export type FilmShotGenerationRowStatus = z.infer<typeof FilmShotGenerationRowStatusSchema>;
177
+ export declare const FilmShotGenerationKeyframeStateSchema: z.ZodEnum<["none", "pending", "approved"]>;
178
+ export type FilmShotGenerationKeyframeState = z.infer<typeof FilmShotGenerationKeyframeStateSchema>;
179
+ export declare const FilmShotGenerationCharacterPackStateSchema: z.ZodEnum<["ok", "missing", "unapproved"]>;
180
+ export type FilmShotGenerationCharacterPackState = z.infer<typeof FilmShotGenerationCharacterPackStateSchema>;
181
+ export declare const FilmShotGenerationComfyTemplateStateSchema: z.ZodEnum<["ok", "missing", "not_required"]>;
182
+ export type FilmShotGenerationComfyTemplateState = z.infer<typeof FilmShotGenerationComfyTemplateStateSchema>;
183
+ export declare const FilmShotGenerationBlockerKindSchema: z.ZodEnum<["character_pack", "keyframe", "prompt", "comfy_template"]>;
184
+ export type FilmShotGenerationBlockerKind = z.infer<typeof FilmShotGenerationBlockerKindSchema>;
185
+ export declare const FilmShotGenerationBlockerSchema: z.ZodObject<{
186
+ kind: z.ZodEnum<["character_pack", "keyframe", "prompt", "comfy_template"]>;
187
+ message: z.ZodString;
188
+ severity: z.ZodEnum<["hard", "warning"]>;
189
+ }, "strip", z.ZodTypeAny, {
190
+ message: string;
191
+ severity: "warning" | "hard";
192
+ kind: "prompt" | "keyframe" | "character_pack" | "comfy_template";
193
+ }, {
194
+ message: string;
195
+ severity: "warning" | "hard";
196
+ kind: "prompt" | "keyframe" | "character_pack" | "comfy_template";
197
+ }>;
198
+ export type FilmShotGenerationBlocker = z.infer<typeof FilmShotGenerationBlockerSchema>;
199
+ export declare const FilmShotGenerationWarningSchema: z.ZodObject<{
200
+ kind: z.ZodString;
201
+ message: z.ZodString;
202
+ }, "strip", z.ZodTypeAny, {
203
+ message: string;
204
+ kind: string;
205
+ }, {
206
+ message: string;
207
+ kind: string;
208
+ }>;
209
+ export type FilmShotGenerationWarning = z.infer<typeof FilmShotGenerationWarningSchema>;
210
+ export declare const FilmShotGenerationRowSchema: z.ZodObject<{
211
+ shotId: z.ZodString;
212
+ shotCode: z.ZodString;
213
+ sceneCode: z.ZodString;
214
+ sceneId: z.ZodString;
215
+ subject: z.ZodString;
216
+ status: z.ZodEnum<["draft", "approved", "superseded", "archived"]>;
217
+ inActiveScope: z.ZodBoolean;
218
+ recommendedProvider: z.ZodNullable<z.ZodEnum<["runway", "comfyui", "manual"]>>;
219
+ prompt: z.ZodObject<{
220
+ exists: z.ZodBoolean;
221
+ promptId: z.ZodOptional<z.ZodString>;
222
+ promptCode: z.ZodOptional<z.ZodString>;
223
+ }, "strip", z.ZodTypeAny, {
224
+ exists: boolean;
225
+ promptId?: string | undefined;
226
+ promptCode?: string | undefined;
227
+ }, {
228
+ exists: boolean;
229
+ promptId?: string | undefined;
230
+ promptCode?: string | undefined;
231
+ }>;
232
+ keyframe: z.ZodObject<{
233
+ state: z.ZodEnum<["none", "pending", "approved"]>;
234
+ keyframeId: z.ZodOptional<z.ZodString>;
235
+ }, "strip", z.ZodTypeAny, {
236
+ state: "pending" | "approved" | "none";
237
+ keyframeId?: string | undefined;
238
+ }, {
239
+ state: "pending" | "approved" | "none";
240
+ keyframeId?: string | undefined;
241
+ }>;
242
+ characterPack: z.ZodObject<{
243
+ state: z.ZodEnum<["ok", "missing", "unapproved"]>;
244
+ missingNames: z.ZodArray<z.ZodString, "many">;
245
+ }, "strip", z.ZodTypeAny, {
246
+ state: "missing" | "ok" | "unapproved";
247
+ missingNames: string[];
248
+ }, {
249
+ state: "missing" | "ok" | "unapproved";
250
+ missingNames: string[];
251
+ }>;
252
+ comfyTemplate: z.ZodObject<{
253
+ state: z.ZodEnum<["ok", "missing", "not_required"]>;
254
+ }, "strip", z.ZodTypeAny, {
255
+ state: "missing" | "not_required" | "ok";
256
+ }, {
257
+ state: "missing" | "not_required" | "ok";
258
+ }>;
259
+ clips: z.ZodObject<{
260
+ total: z.ZodNumber;
261
+ selectedTakeId: z.ZodOptional<z.ZodString>;
262
+ hasSelected: z.ZodBoolean;
263
+ }, "strip", z.ZodTypeAny, {
264
+ total: number;
265
+ hasSelected: boolean;
266
+ selectedTakeId?: string | undefined;
267
+ }, {
268
+ total: number;
269
+ hasSelected: boolean;
270
+ selectedTakeId?: string | undefined;
271
+ }>;
272
+ blockers: z.ZodArray<z.ZodObject<{
273
+ kind: z.ZodEnum<["character_pack", "keyframe", "prompt", "comfy_template"]>;
274
+ message: z.ZodString;
275
+ severity: z.ZodEnum<["hard", "warning"]>;
276
+ }, "strip", z.ZodTypeAny, {
277
+ message: string;
278
+ severity: "warning" | "hard";
279
+ kind: "prompt" | "keyframe" | "character_pack" | "comfy_template";
280
+ }, {
281
+ message: string;
282
+ severity: "warning" | "hard";
283
+ kind: "prompt" | "keyframe" | "character_pack" | "comfy_template";
284
+ }>, "many">;
285
+ warnings: z.ZodArray<z.ZodObject<{
286
+ kind: z.ZodString;
287
+ message: z.ZodString;
288
+ }, "strip", z.ZodTypeAny, {
289
+ message: string;
290
+ kind: string;
291
+ }, {
292
+ message: string;
293
+ kind: string;
294
+ }>, "many">;
295
+ }, "strip", z.ZodTypeAny, {
296
+ status: "approved" | "draft" | "superseded" | "archived";
297
+ warnings: {
298
+ message: string;
299
+ kind: string;
300
+ }[];
301
+ prompt: {
302
+ exists: boolean;
303
+ promptId?: string | undefined;
304
+ promptCode?: string | undefined;
305
+ };
306
+ subject: string;
307
+ blockers: {
308
+ message: string;
309
+ severity: "warning" | "hard";
310
+ kind: "prompt" | "keyframe" | "character_pack" | "comfy_template";
311
+ }[];
312
+ shotId: string;
313
+ sceneCode: string;
314
+ shotCode: string;
315
+ sceneId: string;
316
+ keyframe: {
317
+ state: "pending" | "approved" | "none";
318
+ keyframeId?: string | undefined;
319
+ };
320
+ clips: {
321
+ total: number;
322
+ hasSelected: boolean;
323
+ selectedTakeId?: string | undefined;
324
+ };
325
+ recommendedProvider: "manual" | "runway" | "comfyui" | null;
326
+ inActiveScope: boolean;
327
+ characterPack: {
328
+ state: "missing" | "ok" | "unapproved";
329
+ missingNames: string[];
330
+ };
331
+ comfyTemplate: {
332
+ state: "missing" | "not_required" | "ok";
333
+ };
334
+ }, {
335
+ status: "approved" | "draft" | "superseded" | "archived";
336
+ warnings: {
337
+ message: string;
338
+ kind: string;
339
+ }[];
340
+ prompt: {
341
+ exists: boolean;
342
+ promptId?: string | undefined;
343
+ promptCode?: string | undefined;
344
+ };
345
+ subject: string;
346
+ blockers: {
347
+ message: string;
348
+ severity: "warning" | "hard";
349
+ kind: "prompt" | "keyframe" | "character_pack" | "comfy_template";
350
+ }[];
351
+ shotId: string;
352
+ sceneCode: string;
353
+ shotCode: string;
354
+ sceneId: string;
355
+ keyframe: {
356
+ state: "pending" | "approved" | "none";
357
+ keyframeId?: string | undefined;
358
+ };
359
+ clips: {
360
+ total: number;
361
+ hasSelected: boolean;
362
+ selectedTakeId?: string | undefined;
363
+ };
364
+ recommendedProvider: "manual" | "runway" | "comfyui" | null;
365
+ inActiveScope: boolean;
366
+ characterPack: {
367
+ state: "missing" | "ok" | "unapproved";
368
+ missingNames: string[];
369
+ };
370
+ comfyTemplate: {
371
+ state: "missing" | "not_required" | "ok";
372
+ };
373
+ }>;
374
+ export type FilmShotGenerationRow = z.infer<typeof FilmShotGenerationRowSchema>;
375
+ export declare const FilmQueueSummaryByStatusSchema: z.ZodObject<{
376
+ succeeded: z.ZodNumber;
377
+ failed: z.ZodNumber;
378
+ running: z.ZodNumber;
379
+ queued: z.ZodNumber;
380
+ cancelled: z.ZodNumber;
381
+ blocked: z.ZodNumber;
382
+ }, "strip", z.ZodTypeAny, {
383
+ running: number;
384
+ failed: number;
385
+ blocked: number;
386
+ queued: number;
387
+ cancelled: number;
388
+ succeeded: number;
389
+ }, {
390
+ running: number;
391
+ failed: number;
392
+ blocked: number;
393
+ queued: number;
394
+ cancelled: number;
395
+ succeeded: number;
396
+ }>;
397
+ export type FilmQueueSummaryByStatus = z.infer<typeof FilmQueueSummaryByStatusSchema>;
398
+ export declare const FilmQueueRecentTaskSchema: z.ZodObject<{
399
+ taskId: z.ZodString;
400
+ shotId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
401
+ shotCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
402
+ sceneCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
403
+ provider: z.ZodString;
404
+ status: z.ZodEnum<["queued", "running", "blocked", "completed", "failed", "cancelled"]>;
405
+ attempts: z.ZodNumber;
406
+ externalJobId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
407
+ errorCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
408
+ errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
409
+ createdAt: z.ZodString;
410
+ updatedAt: z.ZodString;
411
+ completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
412
+ }, "strip", z.ZodTypeAny, {
413
+ status: "running" | "completed" | "failed" | "blocked" | "queued" | "cancelled";
414
+ createdAt: string;
415
+ provider: string;
416
+ updatedAt: string;
417
+ taskId: string;
418
+ attempts: number;
419
+ completedAt?: string | null | undefined;
420
+ errorCode?: string | null | undefined;
421
+ errorMessage?: string | null | undefined;
422
+ shotId?: string | null | undefined;
423
+ sceneCode?: string | null | undefined;
424
+ shotCode?: string | null | undefined;
425
+ externalJobId?: string | null | undefined;
426
+ }, {
427
+ status: "running" | "completed" | "failed" | "blocked" | "queued" | "cancelled";
428
+ createdAt: string;
429
+ provider: string;
430
+ updatedAt: string;
431
+ taskId: string;
432
+ attempts: number;
433
+ completedAt?: string | null | undefined;
434
+ errorCode?: string | null | undefined;
435
+ errorMessage?: string | null | undefined;
436
+ shotId?: string | null | undefined;
437
+ sceneCode?: string | null | undefined;
438
+ shotCode?: string | null | undefined;
439
+ externalJobId?: string | null | undefined;
440
+ }>;
441
+ export type FilmQueueRecentTask = z.infer<typeof FilmQueueRecentTaskSchema>;
442
+ export declare const FilmQueueSummarySchema: z.ZodObject<{
443
+ totalTasks: z.ZodNumber;
444
+ byStatus: z.ZodObject<{
445
+ succeeded: z.ZodNumber;
446
+ failed: z.ZodNumber;
447
+ running: z.ZodNumber;
448
+ queued: z.ZodNumber;
449
+ cancelled: z.ZodNumber;
450
+ blocked: z.ZodNumber;
451
+ }, "strip", z.ZodTypeAny, {
452
+ running: number;
453
+ failed: number;
454
+ blocked: number;
455
+ queued: number;
456
+ cancelled: number;
457
+ succeeded: number;
458
+ }, {
459
+ running: number;
460
+ failed: number;
461
+ blocked: number;
462
+ queued: number;
463
+ cancelled: number;
464
+ succeeded: number;
465
+ }>;
466
+ recent: z.ZodArray<z.ZodObject<{
467
+ taskId: z.ZodString;
468
+ shotId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
469
+ shotCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
470
+ sceneCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
471
+ provider: z.ZodString;
472
+ status: z.ZodEnum<["queued", "running", "blocked", "completed", "failed", "cancelled"]>;
473
+ attempts: z.ZodNumber;
474
+ externalJobId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
475
+ errorCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
476
+ errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
477
+ createdAt: z.ZodString;
478
+ updatedAt: z.ZodString;
479
+ completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
480
+ }, "strip", z.ZodTypeAny, {
481
+ status: "running" | "completed" | "failed" | "blocked" | "queued" | "cancelled";
482
+ createdAt: string;
483
+ provider: string;
484
+ updatedAt: string;
485
+ taskId: string;
486
+ attempts: number;
487
+ completedAt?: string | null | undefined;
488
+ errorCode?: string | null | undefined;
489
+ errorMessage?: string | null | undefined;
490
+ shotId?: string | null | undefined;
491
+ sceneCode?: string | null | undefined;
492
+ shotCode?: string | null | undefined;
493
+ externalJobId?: string | null | undefined;
494
+ }, {
495
+ status: "running" | "completed" | "failed" | "blocked" | "queued" | "cancelled";
496
+ createdAt: string;
497
+ provider: string;
498
+ updatedAt: string;
499
+ taskId: string;
500
+ attempts: number;
501
+ completedAt?: string | null | undefined;
502
+ errorCode?: string | null | undefined;
503
+ errorMessage?: string | null | undefined;
504
+ shotId?: string | null | undefined;
505
+ sceneCode?: string | null | undefined;
506
+ shotCode?: string | null | undefined;
507
+ externalJobId?: string | null | undefined;
508
+ }>, "many">;
509
+ }, "strip", z.ZodTypeAny, {
510
+ totalTasks: number;
511
+ recent: {
512
+ status: "running" | "completed" | "failed" | "blocked" | "queued" | "cancelled";
513
+ createdAt: string;
514
+ provider: string;
515
+ updatedAt: string;
516
+ taskId: string;
517
+ attempts: number;
518
+ completedAt?: string | null | undefined;
519
+ errorCode?: string | null | undefined;
520
+ errorMessage?: string | null | undefined;
521
+ shotId?: string | null | undefined;
522
+ sceneCode?: string | null | undefined;
523
+ shotCode?: string | null | undefined;
524
+ externalJobId?: string | null | undefined;
525
+ }[];
526
+ byStatus: {
527
+ running: number;
528
+ failed: number;
529
+ blocked: number;
530
+ queued: number;
531
+ cancelled: number;
532
+ succeeded: number;
533
+ };
534
+ }, {
535
+ totalTasks: number;
536
+ recent: {
537
+ status: "running" | "completed" | "failed" | "blocked" | "queued" | "cancelled";
538
+ createdAt: string;
539
+ provider: string;
540
+ updatedAt: string;
541
+ taskId: string;
542
+ attempts: number;
543
+ completedAt?: string | null | undefined;
544
+ errorCode?: string | null | undefined;
545
+ errorMessage?: string | null | undefined;
546
+ shotId?: string | null | undefined;
547
+ sceneCode?: string | null | undefined;
548
+ shotCode?: string | null | undefined;
549
+ externalJobId?: string | null | undefined;
550
+ }[];
551
+ byStatus: {
552
+ running: number;
553
+ failed: number;
554
+ blocked: number;
555
+ queued: number;
556
+ cancelled: number;
557
+ succeeded: number;
558
+ };
559
+ }>;
560
+ export type FilmQueueSummary = z.infer<typeof FilmQueueSummarySchema>;
561
+ /** Flat chip counts for queue monitor summary UI. */
562
+ export type FilmGenerationDashboardQueueSummary = {
563
+ queued: number;
564
+ running: number;
565
+ failed: number;
566
+ completed: number;
567
+ total: number;
568
+ };
569
+ export declare const FilmGeneratedClipTakeSchema: z.ZodObject<{
570
+ clipId: z.ZodString;
571
+ takeNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
572
+ provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
573
+ durationSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
574
+ playbackUrl: z.ZodString;
575
+ status: z.ZodString;
576
+ selectedTake: z.ZodBoolean;
577
+ filenameShotCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
578
+ filenameMismatch: z.ZodBoolean;
579
+ createdAt: z.ZodString;
580
+ }, "strip", z.ZodTypeAny, {
581
+ status: string;
582
+ createdAt: string;
583
+ clipId: string;
584
+ selectedTake: boolean;
585
+ playbackUrl: string;
586
+ filenameMismatch: boolean;
587
+ provider?: string | null | undefined;
588
+ durationSeconds?: number | null | undefined;
589
+ takeNumber?: number | null | undefined;
590
+ filenameShotCode?: string | null | undefined;
591
+ }, {
592
+ status: string;
593
+ createdAt: string;
594
+ clipId: string;
595
+ selectedTake: boolean;
596
+ playbackUrl: string;
597
+ filenameMismatch: boolean;
598
+ provider?: string | null | undefined;
599
+ durationSeconds?: number | null | undefined;
600
+ takeNumber?: number | null | undefined;
601
+ filenameShotCode?: string | null | undefined;
602
+ }>;
603
+ export type FilmGeneratedClipTake = z.infer<typeof FilmGeneratedClipTakeSchema>;
604
+ export declare const FilmGeneratedClipByShotSchema: z.ZodObject<{
605
+ shotId: z.ZodString;
606
+ shotCode: z.ZodString;
607
+ sceneCode: z.ZodString;
608
+ takes: z.ZodArray<z.ZodObject<{
609
+ clipId: z.ZodString;
610
+ takeNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
611
+ provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
612
+ durationSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
613
+ playbackUrl: z.ZodString;
614
+ status: z.ZodString;
615
+ selectedTake: z.ZodBoolean;
616
+ filenameShotCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
617
+ filenameMismatch: z.ZodBoolean;
618
+ createdAt: z.ZodString;
619
+ }, "strip", z.ZodTypeAny, {
620
+ status: string;
621
+ createdAt: string;
622
+ clipId: string;
623
+ selectedTake: boolean;
624
+ playbackUrl: string;
625
+ filenameMismatch: boolean;
626
+ provider?: string | null | undefined;
627
+ durationSeconds?: number | null | undefined;
628
+ takeNumber?: number | null | undefined;
629
+ filenameShotCode?: string | null | undefined;
630
+ }, {
631
+ status: string;
632
+ createdAt: string;
633
+ clipId: string;
634
+ selectedTake: boolean;
635
+ playbackUrl: string;
636
+ filenameMismatch: boolean;
637
+ provider?: string | null | undefined;
638
+ durationSeconds?: number | null | undefined;
639
+ takeNumber?: number | null | undefined;
640
+ filenameShotCode?: string | null | undefined;
641
+ }>, "many">;
642
+ hasSelected: z.ZodBoolean;
643
+ selectedTakeId: z.ZodOptional<z.ZodString>;
644
+ filenameMismatchDetected: z.ZodBoolean;
645
+ }, "strip", z.ZodTypeAny, {
646
+ shotId: string;
647
+ sceneCode: string;
648
+ shotCode: string;
649
+ hasSelected: boolean;
650
+ takes: {
651
+ status: string;
652
+ createdAt: string;
653
+ clipId: string;
654
+ selectedTake: boolean;
655
+ playbackUrl: string;
656
+ filenameMismatch: boolean;
657
+ provider?: string | null | undefined;
658
+ durationSeconds?: number | null | undefined;
659
+ takeNumber?: number | null | undefined;
660
+ filenameShotCode?: string | null | undefined;
661
+ }[];
662
+ filenameMismatchDetected: boolean;
663
+ selectedTakeId?: string | undefined;
664
+ }, {
665
+ shotId: string;
666
+ sceneCode: string;
667
+ shotCode: string;
668
+ hasSelected: boolean;
669
+ takes: {
670
+ status: string;
671
+ createdAt: string;
672
+ clipId: string;
673
+ selectedTake: boolean;
674
+ playbackUrl: string;
675
+ filenameMismatch: boolean;
676
+ provider?: string | null | undefined;
677
+ durationSeconds?: number | null | undefined;
678
+ takeNumber?: number | null | undefined;
679
+ filenameShotCode?: string | null | undefined;
680
+ }[];
681
+ filenameMismatchDetected: boolean;
682
+ selectedTakeId?: string | undefined;
683
+ }>;
684
+ export type FilmGeneratedClipByShot = z.infer<typeof FilmGeneratedClipByShotSchema>;
685
+ export declare const FilmGeneratedClipSummarySchema: z.ZodObject<{
686
+ totalClips: z.ZodNumber;
687
+ selectedTakes: z.ZodNumber;
688
+ byShot: z.ZodArray<z.ZodObject<{
689
+ shotId: z.ZodString;
690
+ shotCode: z.ZodString;
691
+ sceneCode: z.ZodString;
692
+ takes: z.ZodArray<z.ZodObject<{
693
+ clipId: z.ZodString;
694
+ takeNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
695
+ provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
696
+ durationSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
697
+ playbackUrl: z.ZodString;
698
+ status: z.ZodString;
699
+ selectedTake: z.ZodBoolean;
700
+ filenameShotCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
701
+ filenameMismatch: z.ZodBoolean;
702
+ createdAt: z.ZodString;
703
+ }, "strip", z.ZodTypeAny, {
704
+ status: string;
705
+ createdAt: string;
706
+ clipId: string;
707
+ selectedTake: boolean;
708
+ playbackUrl: string;
709
+ filenameMismatch: boolean;
710
+ provider?: string | null | undefined;
711
+ durationSeconds?: number | null | undefined;
712
+ takeNumber?: number | null | undefined;
713
+ filenameShotCode?: string | null | undefined;
714
+ }, {
715
+ status: string;
716
+ createdAt: string;
717
+ clipId: string;
718
+ selectedTake: boolean;
719
+ playbackUrl: string;
720
+ filenameMismatch: boolean;
721
+ provider?: string | null | undefined;
722
+ durationSeconds?: number | null | undefined;
723
+ takeNumber?: number | null | undefined;
724
+ filenameShotCode?: string | null | undefined;
725
+ }>, "many">;
726
+ hasSelected: z.ZodBoolean;
727
+ selectedTakeId: z.ZodOptional<z.ZodString>;
728
+ filenameMismatchDetected: z.ZodBoolean;
729
+ }, "strip", z.ZodTypeAny, {
730
+ shotId: string;
731
+ sceneCode: string;
732
+ shotCode: string;
733
+ hasSelected: boolean;
734
+ takes: {
735
+ status: string;
736
+ createdAt: string;
737
+ clipId: string;
738
+ selectedTake: boolean;
739
+ playbackUrl: string;
740
+ filenameMismatch: boolean;
741
+ provider?: string | null | undefined;
742
+ durationSeconds?: number | null | undefined;
743
+ takeNumber?: number | null | undefined;
744
+ filenameShotCode?: string | null | undefined;
745
+ }[];
746
+ filenameMismatchDetected: boolean;
747
+ selectedTakeId?: string | undefined;
748
+ }, {
749
+ shotId: string;
750
+ sceneCode: string;
751
+ shotCode: string;
752
+ hasSelected: boolean;
753
+ takes: {
754
+ status: string;
755
+ createdAt: string;
756
+ clipId: string;
757
+ selectedTake: boolean;
758
+ playbackUrl: string;
759
+ filenameMismatch: boolean;
760
+ provider?: string | null | undefined;
761
+ durationSeconds?: number | null | undefined;
762
+ takeNumber?: number | null | undefined;
763
+ filenameShotCode?: string | null | undefined;
764
+ }[];
765
+ filenameMismatchDetected: boolean;
766
+ selectedTakeId?: string | undefined;
767
+ }>, "many">;
768
+ }, "strip", z.ZodTypeAny, {
769
+ totalClips: number;
770
+ selectedTakes: number;
771
+ byShot: {
772
+ shotId: string;
773
+ sceneCode: string;
774
+ shotCode: string;
775
+ hasSelected: boolean;
776
+ takes: {
777
+ status: string;
778
+ createdAt: string;
779
+ clipId: string;
780
+ selectedTake: boolean;
781
+ playbackUrl: string;
782
+ filenameMismatch: boolean;
783
+ provider?: string | null | undefined;
784
+ durationSeconds?: number | null | undefined;
785
+ takeNumber?: number | null | undefined;
786
+ filenameShotCode?: string | null | undefined;
787
+ }[];
788
+ filenameMismatchDetected: boolean;
789
+ selectedTakeId?: string | undefined;
790
+ }[];
791
+ }, {
792
+ totalClips: number;
793
+ selectedTakes: number;
794
+ byShot: {
795
+ shotId: string;
796
+ sceneCode: string;
797
+ shotCode: string;
798
+ hasSelected: boolean;
799
+ takes: {
800
+ status: string;
801
+ createdAt: string;
802
+ clipId: string;
803
+ selectedTake: boolean;
804
+ playbackUrl: string;
805
+ filenameMismatch: boolean;
806
+ provider?: string | null | undefined;
807
+ durationSeconds?: number | null | undefined;
808
+ takeNumber?: number | null | undefined;
809
+ filenameShotCode?: string | null | undefined;
810
+ }[];
811
+ filenameMismatchDetected: boolean;
812
+ selectedTakeId?: string | undefined;
813
+ }[];
814
+ }>;
815
+ export type FilmGeneratedClipSummary = z.infer<typeof FilmGeneratedClipSummarySchema>;
816
+ /** Gallery grouping alias used by dashboard takes UI. */
817
+ export type FilmGenerationDashboardClipsSummary = FilmGeneratedClipSummary & {
818
+ scopeCoveragePercent: number;
819
+ shotsInScope: number;
820
+ shotsWithSelectedTake: number;
821
+ groups: FilmGeneratedClipByShot[];
822
+ };
823
+ export declare const FilmPromptPerformanceTopPerformerSchema: z.ZodObject<{
824
+ promptCode: z.ZodString;
825
+ avgScore: z.ZodNumber;
826
+ sampleCount: z.ZodNumber;
827
+ }, "strip", z.ZodTypeAny, {
828
+ promptCode: string;
829
+ avgScore: number;
830
+ sampleCount: number;
831
+ }, {
832
+ promptCode: string;
833
+ avgScore: number;
834
+ sampleCount: number;
835
+ }>;
836
+ export type FilmPromptPerformanceTopPerformer = z.infer<typeof FilmPromptPerformanceTopPerformerSchema>;
837
+ export declare const FilmPromptPerformanceSummarySchema: z.ZodObject<{
838
+ hasReviews: z.ZodBoolean;
839
+ totalPrompts: z.ZodNumber;
840
+ reviewedPrompts: z.ZodNumber;
841
+ topPerformers: z.ZodArray<z.ZodObject<{
842
+ promptCode: z.ZodString;
843
+ avgScore: z.ZodNumber;
844
+ sampleCount: z.ZodNumber;
845
+ }, "strip", z.ZodTypeAny, {
846
+ promptCode: string;
847
+ avgScore: number;
848
+ sampleCount: number;
849
+ }, {
850
+ promptCode: string;
851
+ avgScore: number;
852
+ sampleCount: number;
853
+ }>, "many">;
854
+ }, "strip", z.ZodTypeAny, {
855
+ totalPrompts: number;
856
+ hasReviews: boolean;
857
+ reviewedPrompts: number;
858
+ topPerformers: {
859
+ promptCode: string;
860
+ avgScore: number;
861
+ sampleCount: number;
862
+ }[];
863
+ }, {
864
+ totalPrompts: number;
865
+ hasReviews: boolean;
866
+ reviewedPrompts: number;
867
+ topPerformers: {
868
+ promptCode: string;
869
+ avgScore: number;
870
+ sampleCount: number;
871
+ }[];
872
+ }>;
873
+ export type FilmPromptPerformanceSummary = z.infer<typeof FilmPromptPerformanceSummarySchema>;
874
+ export declare const FilmGenerationDashboardViewModelSchema: z.ZodObject<{
875
+ scope: z.ZodObject<{
876
+ mode: z.ZodEnum<["trailer_proof", "full_film"]>;
877
+ /** Shot UUIDs active in the current scope. */
878
+ shotIds: z.ZodArray<z.ZodString, "many">;
879
+ totalShots: z.ZodNumber;
880
+ /** Shots required to satisfy this scope (trailer or full film). */
881
+ requiredShots: z.ZodNumber;
882
+ }, "strip", z.ZodTypeAny, {
883
+ mode: "trailer_proof" | "full_film";
884
+ totalShots: number;
885
+ shotIds: string[];
886
+ requiredShots: number;
887
+ }, {
888
+ mode: "trailer_proof" | "full_film";
889
+ totalShots: number;
890
+ shotIds: string[];
891
+ requiredShots: number;
892
+ }>;
893
+ status: z.ZodObject<{
894
+ state: z.ZodEnum<["not_ready", "ready", "in_progress", "blocked", "generated", "needs_review", "complete"]>;
895
+ nextBestAction: z.ZodString;
896
+ primaryAction: z.ZodOptional<z.ZodObject<{
897
+ id: z.ZodString;
898
+ label: z.ZodString;
899
+ kind: z.ZodEnum<["resolve_blockers", "generate", "process_queue", "review_takes", "send_to_postproduction", "retry_failed", "none"]>;
900
+ }, "strip", z.ZodTypeAny, {
901
+ id: string;
902
+ label: string;
903
+ kind: "none" | "generate" | "resolve_blockers" | "process_queue" | "review_takes" | "send_to_postproduction" | "retry_failed";
904
+ }, {
905
+ id: string;
906
+ label: string;
907
+ kind: "none" | "generate" | "resolve_blockers" | "process_queue" | "review_takes" | "send_to_postproduction" | "retry_failed";
908
+ }>>;
909
+ hardBlockers: z.ZodArray<z.ZodString, "many">;
910
+ warnings: z.ZodArray<z.ZodString, "many">;
911
+ }, "strip", z.ZodTypeAny, {
912
+ warnings: string[];
913
+ hardBlockers: string[];
914
+ state: "complete" | "blocked" | "ready" | "in_progress" | "needs_review" | "generated" | "not_ready";
915
+ nextBestAction: string;
916
+ primaryAction?: {
917
+ id: string;
918
+ label: string;
919
+ kind: "none" | "generate" | "resolve_blockers" | "process_queue" | "review_takes" | "send_to_postproduction" | "retry_failed";
920
+ } | undefined;
921
+ }, {
922
+ warnings: string[];
923
+ hardBlockers: string[];
924
+ state: "complete" | "blocked" | "ready" | "in_progress" | "needs_review" | "generated" | "not_ready";
925
+ nextBestAction: string;
926
+ primaryAction?: {
927
+ id: string;
928
+ label: string;
929
+ kind: "none" | "generate" | "resolve_blockers" | "process_queue" | "review_takes" | "send_to_postproduction" | "retry_failed";
930
+ } | undefined;
931
+ }>;
932
+ readiness: z.ZodObject<{
933
+ scriptComplete: z.ZodBoolean;
934
+ preproductionComplete: z.ZodBoolean;
935
+ promptPackAccepted: z.ZodBoolean;
936
+ hydrated: z.ZodBoolean;
937
+ promptCoverage: z.ZodObject<{
938
+ covered: z.ZodNumber;
939
+ required: z.ZodNumber;
940
+ }, "strip", z.ZodTypeAny, {
941
+ covered: number;
942
+ required: number;
943
+ }, {
944
+ covered: number;
945
+ required: number;
946
+ }>;
947
+ keyframeCoverage: z.ZodObject<{
948
+ approved: z.ZodNumber;
949
+ required: z.ZodNumber;
950
+ }, "strip", z.ZodTypeAny, {
951
+ required: number;
952
+ approved: number;
953
+ }, {
954
+ required: number;
955
+ approved: number;
956
+ }>;
957
+ characterPackCoverage: z.ZodObject<{
958
+ approved: z.ZodNumber;
959
+ required: z.ZodNumber;
960
+ }, "strip", z.ZodTypeAny, {
961
+ required: number;
962
+ approved: number;
963
+ }, {
964
+ required: number;
965
+ approved: number;
966
+ }>;
967
+ providerReadiness: z.ZodObject<{
968
+ runway: z.ZodBoolean;
969
+ comfyui: z.ZodBoolean;
970
+ manual: z.ZodBoolean;
971
+ }, "strip", z.ZodTypeAny, {
972
+ manual: boolean;
973
+ runway: boolean;
974
+ comfyui: boolean;
975
+ }, {
976
+ manual: boolean;
977
+ runway: boolean;
978
+ comfyui: boolean;
979
+ }>;
980
+ }, "strip", z.ZodTypeAny, {
981
+ scriptComplete: boolean;
982
+ preproductionComplete: boolean;
983
+ promptPackAccepted: boolean;
984
+ hydrated: boolean;
985
+ promptCoverage: {
986
+ covered: number;
987
+ required: number;
988
+ };
989
+ keyframeCoverage: {
990
+ required: number;
991
+ approved: number;
992
+ };
993
+ characterPackCoverage: {
994
+ required: number;
995
+ approved: number;
996
+ };
997
+ providerReadiness: {
998
+ manual: boolean;
999
+ runway: boolean;
1000
+ comfyui: boolean;
1001
+ };
1002
+ }, {
1003
+ scriptComplete: boolean;
1004
+ preproductionComplete: boolean;
1005
+ promptPackAccepted: boolean;
1006
+ hydrated: boolean;
1007
+ promptCoverage: {
1008
+ covered: number;
1009
+ required: number;
1010
+ };
1011
+ keyframeCoverage: {
1012
+ required: number;
1013
+ approved: number;
1014
+ };
1015
+ characterPackCoverage: {
1016
+ required: number;
1017
+ approved: number;
1018
+ };
1019
+ providerReadiness: {
1020
+ manual: boolean;
1021
+ runway: boolean;
1022
+ comfyui: boolean;
1023
+ };
1024
+ }>;
1025
+ summary: z.ZodObject<{
1026
+ clipsGenerated: z.ZodNumber;
1027
+ selectedTakes: z.ZodNumber;
1028
+ failedJobs: z.ZodNumber;
1029
+ }, "strip", z.ZodTypeAny, {
1030
+ selectedTakes: number;
1031
+ clipsGenerated: number;
1032
+ failedJobs: number;
1033
+ }, {
1034
+ selectedTakes: number;
1035
+ clipsGenerated: number;
1036
+ failedJobs: number;
1037
+ }>;
1038
+ shots: z.ZodArray<z.ZodObject<{
1039
+ shotId: z.ZodString;
1040
+ shotCode: z.ZodString;
1041
+ sceneCode: z.ZodString;
1042
+ sceneId: z.ZodString;
1043
+ subject: z.ZodString;
1044
+ status: z.ZodEnum<["draft", "approved", "superseded", "archived"]>;
1045
+ inActiveScope: z.ZodBoolean;
1046
+ recommendedProvider: z.ZodNullable<z.ZodEnum<["runway", "comfyui", "manual"]>>;
1047
+ prompt: z.ZodObject<{
1048
+ exists: z.ZodBoolean;
1049
+ promptId: z.ZodOptional<z.ZodString>;
1050
+ promptCode: z.ZodOptional<z.ZodString>;
1051
+ }, "strip", z.ZodTypeAny, {
1052
+ exists: boolean;
1053
+ promptId?: string | undefined;
1054
+ promptCode?: string | undefined;
1055
+ }, {
1056
+ exists: boolean;
1057
+ promptId?: string | undefined;
1058
+ promptCode?: string | undefined;
1059
+ }>;
1060
+ keyframe: z.ZodObject<{
1061
+ state: z.ZodEnum<["none", "pending", "approved"]>;
1062
+ keyframeId: z.ZodOptional<z.ZodString>;
1063
+ }, "strip", z.ZodTypeAny, {
1064
+ state: "pending" | "approved" | "none";
1065
+ keyframeId?: string | undefined;
1066
+ }, {
1067
+ state: "pending" | "approved" | "none";
1068
+ keyframeId?: string | undefined;
1069
+ }>;
1070
+ characterPack: z.ZodObject<{
1071
+ state: z.ZodEnum<["ok", "missing", "unapproved"]>;
1072
+ missingNames: z.ZodArray<z.ZodString, "many">;
1073
+ }, "strip", z.ZodTypeAny, {
1074
+ state: "missing" | "ok" | "unapproved";
1075
+ missingNames: string[];
1076
+ }, {
1077
+ state: "missing" | "ok" | "unapproved";
1078
+ missingNames: string[];
1079
+ }>;
1080
+ comfyTemplate: z.ZodObject<{
1081
+ state: z.ZodEnum<["ok", "missing", "not_required"]>;
1082
+ }, "strip", z.ZodTypeAny, {
1083
+ state: "missing" | "not_required" | "ok";
1084
+ }, {
1085
+ state: "missing" | "not_required" | "ok";
1086
+ }>;
1087
+ clips: z.ZodObject<{
1088
+ total: z.ZodNumber;
1089
+ selectedTakeId: z.ZodOptional<z.ZodString>;
1090
+ hasSelected: z.ZodBoolean;
1091
+ }, "strip", z.ZodTypeAny, {
1092
+ total: number;
1093
+ hasSelected: boolean;
1094
+ selectedTakeId?: string | undefined;
1095
+ }, {
1096
+ total: number;
1097
+ hasSelected: boolean;
1098
+ selectedTakeId?: string | undefined;
1099
+ }>;
1100
+ blockers: z.ZodArray<z.ZodObject<{
1101
+ kind: z.ZodEnum<["character_pack", "keyframe", "prompt", "comfy_template"]>;
1102
+ message: z.ZodString;
1103
+ severity: z.ZodEnum<["hard", "warning"]>;
1104
+ }, "strip", z.ZodTypeAny, {
1105
+ message: string;
1106
+ severity: "warning" | "hard";
1107
+ kind: "prompt" | "keyframe" | "character_pack" | "comfy_template";
1108
+ }, {
1109
+ message: string;
1110
+ severity: "warning" | "hard";
1111
+ kind: "prompt" | "keyframe" | "character_pack" | "comfy_template";
1112
+ }>, "many">;
1113
+ warnings: z.ZodArray<z.ZodObject<{
1114
+ kind: z.ZodString;
1115
+ message: z.ZodString;
1116
+ }, "strip", z.ZodTypeAny, {
1117
+ message: string;
1118
+ kind: string;
1119
+ }, {
1120
+ message: string;
1121
+ kind: string;
1122
+ }>, "many">;
1123
+ }, "strip", z.ZodTypeAny, {
1124
+ status: "approved" | "draft" | "superseded" | "archived";
1125
+ warnings: {
1126
+ message: string;
1127
+ kind: string;
1128
+ }[];
1129
+ prompt: {
1130
+ exists: boolean;
1131
+ promptId?: string | undefined;
1132
+ promptCode?: string | undefined;
1133
+ };
1134
+ subject: string;
1135
+ blockers: {
1136
+ message: string;
1137
+ severity: "warning" | "hard";
1138
+ kind: "prompt" | "keyframe" | "character_pack" | "comfy_template";
1139
+ }[];
1140
+ shotId: string;
1141
+ sceneCode: string;
1142
+ shotCode: string;
1143
+ sceneId: string;
1144
+ keyframe: {
1145
+ state: "pending" | "approved" | "none";
1146
+ keyframeId?: string | undefined;
1147
+ };
1148
+ clips: {
1149
+ total: number;
1150
+ hasSelected: boolean;
1151
+ selectedTakeId?: string | undefined;
1152
+ };
1153
+ recommendedProvider: "manual" | "runway" | "comfyui" | null;
1154
+ inActiveScope: boolean;
1155
+ characterPack: {
1156
+ state: "missing" | "ok" | "unapproved";
1157
+ missingNames: string[];
1158
+ };
1159
+ comfyTemplate: {
1160
+ state: "missing" | "not_required" | "ok";
1161
+ };
1162
+ }, {
1163
+ status: "approved" | "draft" | "superseded" | "archived";
1164
+ warnings: {
1165
+ message: string;
1166
+ kind: string;
1167
+ }[];
1168
+ prompt: {
1169
+ exists: boolean;
1170
+ promptId?: string | undefined;
1171
+ promptCode?: string | undefined;
1172
+ };
1173
+ subject: string;
1174
+ blockers: {
1175
+ message: string;
1176
+ severity: "warning" | "hard";
1177
+ kind: "prompt" | "keyframe" | "character_pack" | "comfy_template";
1178
+ }[];
1179
+ shotId: string;
1180
+ sceneCode: string;
1181
+ shotCode: string;
1182
+ sceneId: string;
1183
+ keyframe: {
1184
+ state: "pending" | "approved" | "none";
1185
+ keyframeId?: string | undefined;
1186
+ };
1187
+ clips: {
1188
+ total: number;
1189
+ hasSelected: boolean;
1190
+ selectedTakeId?: string | undefined;
1191
+ };
1192
+ recommendedProvider: "manual" | "runway" | "comfyui" | null;
1193
+ inActiveScope: boolean;
1194
+ characterPack: {
1195
+ state: "missing" | "ok" | "unapproved";
1196
+ missingNames: string[];
1197
+ };
1198
+ comfyTemplate: {
1199
+ state: "missing" | "not_required" | "ok";
1200
+ };
1201
+ }>, "many">;
1202
+ queue: z.ZodObject<{
1203
+ totalTasks: z.ZodNumber;
1204
+ byStatus: z.ZodObject<{
1205
+ succeeded: z.ZodNumber;
1206
+ failed: z.ZodNumber;
1207
+ running: z.ZodNumber;
1208
+ queued: z.ZodNumber;
1209
+ cancelled: z.ZodNumber;
1210
+ blocked: z.ZodNumber;
1211
+ }, "strip", z.ZodTypeAny, {
1212
+ running: number;
1213
+ failed: number;
1214
+ blocked: number;
1215
+ queued: number;
1216
+ cancelled: number;
1217
+ succeeded: number;
1218
+ }, {
1219
+ running: number;
1220
+ failed: number;
1221
+ blocked: number;
1222
+ queued: number;
1223
+ cancelled: number;
1224
+ succeeded: number;
1225
+ }>;
1226
+ recent: z.ZodArray<z.ZodObject<{
1227
+ taskId: z.ZodString;
1228
+ shotId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1229
+ shotCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1230
+ sceneCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1231
+ provider: z.ZodString;
1232
+ status: z.ZodEnum<["queued", "running", "blocked", "completed", "failed", "cancelled"]>;
1233
+ attempts: z.ZodNumber;
1234
+ externalJobId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1235
+ errorCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1236
+ errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1237
+ createdAt: z.ZodString;
1238
+ updatedAt: z.ZodString;
1239
+ completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1240
+ }, "strip", z.ZodTypeAny, {
1241
+ status: "running" | "completed" | "failed" | "blocked" | "queued" | "cancelled";
1242
+ createdAt: string;
1243
+ provider: string;
1244
+ updatedAt: string;
1245
+ taskId: string;
1246
+ attempts: number;
1247
+ completedAt?: string | null | undefined;
1248
+ errorCode?: string | null | undefined;
1249
+ errorMessage?: string | null | undefined;
1250
+ shotId?: string | null | undefined;
1251
+ sceneCode?: string | null | undefined;
1252
+ shotCode?: string | null | undefined;
1253
+ externalJobId?: string | null | undefined;
1254
+ }, {
1255
+ status: "running" | "completed" | "failed" | "blocked" | "queued" | "cancelled";
1256
+ createdAt: string;
1257
+ provider: string;
1258
+ updatedAt: string;
1259
+ taskId: string;
1260
+ attempts: number;
1261
+ completedAt?: string | null | undefined;
1262
+ errorCode?: string | null | undefined;
1263
+ errorMessage?: string | null | undefined;
1264
+ shotId?: string | null | undefined;
1265
+ sceneCode?: string | null | undefined;
1266
+ shotCode?: string | null | undefined;
1267
+ externalJobId?: string | null | undefined;
1268
+ }>, "many">;
1269
+ }, "strip", z.ZodTypeAny, {
1270
+ totalTasks: number;
1271
+ recent: {
1272
+ status: "running" | "completed" | "failed" | "blocked" | "queued" | "cancelled";
1273
+ createdAt: string;
1274
+ provider: string;
1275
+ updatedAt: string;
1276
+ taskId: string;
1277
+ attempts: number;
1278
+ completedAt?: string | null | undefined;
1279
+ errorCode?: string | null | undefined;
1280
+ errorMessage?: string | null | undefined;
1281
+ shotId?: string | null | undefined;
1282
+ sceneCode?: string | null | undefined;
1283
+ shotCode?: string | null | undefined;
1284
+ externalJobId?: string | null | undefined;
1285
+ }[];
1286
+ byStatus: {
1287
+ running: number;
1288
+ failed: number;
1289
+ blocked: number;
1290
+ queued: number;
1291
+ cancelled: number;
1292
+ succeeded: number;
1293
+ };
1294
+ }, {
1295
+ totalTasks: number;
1296
+ recent: {
1297
+ status: "running" | "completed" | "failed" | "blocked" | "queued" | "cancelled";
1298
+ createdAt: string;
1299
+ provider: string;
1300
+ updatedAt: string;
1301
+ taskId: string;
1302
+ attempts: number;
1303
+ completedAt?: string | null | undefined;
1304
+ errorCode?: string | null | undefined;
1305
+ errorMessage?: string | null | undefined;
1306
+ shotId?: string | null | undefined;
1307
+ sceneCode?: string | null | undefined;
1308
+ shotCode?: string | null | undefined;
1309
+ externalJobId?: string | null | undefined;
1310
+ }[];
1311
+ byStatus: {
1312
+ running: number;
1313
+ failed: number;
1314
+ blocked: number;
1315
+ queued: number;
1316
+ cancelled: number;
1317
+ succeeded: number;
1318
+ };
1319
+ }>;
1320
+ clips: z.ZodObject<{
1321
+ totalClips: z.ZodNumber;
1322
+ selectedTakes: z.ZodNumber;
1323
+ byShot: z.ZodArray<z.ZodObject<{
1324
+ shotId: z.ZodString;
1325
+ shotCode: z.ZodString;
1326
+ sceneCode: z.ZodString;
1327
+ takes: z.ZodArray<z.ZodObject<{
1328
+ clipId: z.ZodString;
1329
+ takeNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1330
+ provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1331
+ durationSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1332
+ playbackUrl: z.ZodString;
1333
+ status: z.ZodString;
1334
+ selectedTake: z.ZodBoolean;
1335
+ filenameShotCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1336
+ filenameMismatch: z.ZodBoolean;
1337
+ createdAt: z.ZodString;
1338
+ }, "strip", z.ZodTypeAny, {
1339
+ status: string;
1340
+ createdAt: string;
1341
+ clipId: string;
1342
+ selectedTake: boolean;
1343
+ playbackUrl: string;
1344
+ filenameMismatch: boolean;
1345
+ provider?: string | null | undefined;
1346
+ durationSeconds?: number | null | undefined;
1347
+ takeNumber?: number | null | undefined;
1348
+ filenameShotCode?: string | null | undefined;
1349
+ }, {
1350
+ status: string;
1351
+ createdAt: string;
1352
+ clipId: string;
1353
+ selectedTake: boolean;
1354
+ playbackUrl: string;
1355
+ filenameMismatch: boolean;
1356
+ provider?: string | null | undefined;
1357
+ durationSeconds?: number | null | undefined;
1358
+ takeNumber?: number | null | undefined;
1359
+ filenameShotCode?: string | null | undefined;
1360
+ }>, "many">;
1361
+ hasSelected: z.ZodBoolean;
1362
+ selectedTakeId: z.ZodOptional<z.ZodString>;
1363
+ filenameMismatchDetected: z.ZodBoolean;
1364
+ }, "strip", z.ZodTypeAny, {
1365
+ shotId: string;
1366
+ sceneCode: string;
1367
+ shotCode: string;
1368
+ hasSelected: boolean;
1369
+ takes: {
1370
+ status: string;
1371
+ createdAt: string;
1372
+ clipId: string;
1373
+ selectedTake: boolean;
1374
+ playbackUrl: string;
1375
+ filenameMismatch: boolean;
1376
+ provider?: string | null | undefined;
1377
+ durationSeconds?: number | null | undefined;
1378
+ takeNumber?: number | null | undefined;
1379
+ filenameShotCode?: string | null | undefined;
1380
+ }[];
1381
+ filenameMismatchDetected: boolean;
1382
+ selectedTakeId?: string | undefined;
1383
+ }, {
1384
+ shotId: string;
1385
+ sceneCode: string;
1386
+ shotCode: string;
1387
+ hasSelected: boolean;
1388
+ takes: {
1389
+ status: string;
1390
+ createdAt: string;
1391
+ clipId: string;
1392
+ selectedTake: boolean;
1393
+ playbackUrl: string;
1394
+ filenameMismatch: boolean;
1395
+ provider?: string | null | undefined;
1396
+ durationSeconds?: number | null | undefined;
1397
+ takeNumber?: number | null | undefined;
1398
+ filenameShotCode?: string | null | undefined;
1399
+ }[];
1400
+ filenameMismatchDetected: boolean;
1401
+ selectedTakeId?: string | undefined;
1402
+ }>, "many">;
1403
+ }, "strip", z.ZodTypeAny, {
1404
+ totalClips: number;
1405
+ selectedTakes: number;
1406
+ byShot: {
1407
+ shotId: string;
1408
+ sceneCode: string;
1409
+ shotCode: string;
1410
+ hasSelected: boolean;
1411
+ takes: {
1412
+ status: string;
1413
+ createdAt: string;
1414
+ clipId: string;
1415
+ selectedTake: boolean;
1416
+ playbackUrl: string;
1417
+ filenameMismatch: boolean;
1418
+ provider?: string | null | undefined;
1419
+ durationSeconds?: number | null | undefined;
1420
+ takeNumber?: number | null | undefined;
1421
+ filenameShotCode?: string | null | undefined;
1422
+ }[];
1423
+ filenameMismatchDetected: boolean;
1424
+ selectedTakeId?: string | undefined;
1425
+ }[];
1426
+ }, {
1427
+ totalClips: number;
1428
+ selectedTakes: number;
1429
+ byShot: {
1430
+ shotId: string;
1431
+ sceneCode: string;
1432
+ shotCode: string;
1433
+ hasSelected: boolean;
1434
+ takes: {
1435
+ status: string;
1436
+ createdAt: string;
1437
+ clipId: string;
1438
+ selectedTake: boolean;
1439
+ playbackUrl: string;
1440
+ filenameMismatch: boolean;
1441
+ provider?: string | null | undefined;
1442
+ durationSeconds?: number | null | undefined;
1443
+ takeNumber?: number | null | undefined;
1444
+ filenameShotCode?: string | null | undefined;
1445
+ }[];
1446
+ filenameMismatchDetected: boolean;
1447
+ selectedTakeId?: string | undefined;
1448
+ }[];
1449
+ }>;
1450
+ performance: z.ZodObject<{
1451
+ hasReviews: z.ZodBoolean;
1452
+ totalPrompts: z.ZodNumber;
1453
+ reviewedPrompts: z.ZodNumber;
1454
+ topPerformers: z.ZodArray<z.ZodObject<{
1455
+ promptCode: z.ZodString;
1456
+ avgScore: z.ZodNumber;
1457
+ sampleCount: z.ZodNumber;
1458
+ }, "strip", z.ZodTypeAny, {
1459
+ promptCode: string;
1460
+ avgScore: number;
1461
+ sampleCount: number;
1462
+ }, {
1463
+ promptCode: string;
1464
+ avgScore: number;
1465
+ sampleCount: number;
1466
+ }>, "many">;
1467
+ }, "strip", z.ZodTypeAny, {
1468
+ totalPrompts: number;
1469
+ hasReviews: boolean;
1470
+ reviewedPrompts: number;
1471
+ topPerformers: {
1472
+ promptCode: string;
1473
+ avgScore: number;
1474
+ sampleCount: number;
1475
+ }[];
1476
+ }, {
1477
+ totalPrompts: number;
1478
+ hasReviews: boolean;
1479
+ reviewedPrompts: number;
1480
+ topPerformers: {
1481
+ promptCode: string;
1482
+ avgScore: number;
1483
+ sampleCount: number;
1484
+ }[];
1485
+ }>;
1486
+ }, "strip", z.ZodTypeAny, {
1487
+ status: {
1488
+ warnings: string[];
1489
+ hardBlockers: string[];
1490
+ state: "complete" | "blocked" | "ready" | "in_progress" | "needs_review" | "generated" | "not_ready";
1491
+ nextBestAction: string;
1492
+ primaryAction?: {
1493
+ id: string;
1494
+ label: string;
1495
+ kind: "none" | "generate" | "resolve_blockers" | "process_queue" | "review_takes" | "send_to_postproduction" | "retry_failed";
1496
+ } | undefined;
1497
+ };
1498
+ summary: {
1499
+ selectedTakes: number;
1500
+ clipsGenerated: number;
1501
+ failedJobs: number;
1502
+ };
1503
+ performance: {
1504
+ totalPrompts: number;
1505
+ hasReviews: boolean;
1506
+ reviewedPrompts: number;
1507
+ topPerformers: {
1508
+ promptCode: string;
1509
+ avgScore: number;
1510
+ sampleCount: number;
1511
+ }[];
1512
+ };
1513
+ scope: {
1514
+ mode: "trailer_proof" | "full_film";
1515
+ totalShots: number;
1516
+ shotIds: string[];
1517
+ requiredShots: number;
1518
+ };
1519
+ readiness: {
1520
+ scriptComplete: boolean;
1521
+ preproductionComplete: boolean;
1522
+ promptPackAccepted: boolean;
1523
+ hydrated: boolean;
1524
+ promptCoverage: {
1525
+ covered: number;
1526
+ required: number;
1527
+ };
1528
+ keyframeCoverage: {
1529
+ required: number;
1530
+ approved: number;
1531
+ };
1532
+ characterPackCoverage: {
1533
+ required: number;
1534
+ approved: number;
1535
+ };
1536
+ providerReadiness: {
1537
+ manual: boolean;
1538
+ runway: boolean;
1539
+ comfyui: boolean;
1540
+ };
1541
+ };
1542
+ shots: {
1543
+ status: "approved" | "draft" | "superseded" | "archived";
1544
+ warnings: {
1545
+ message: string;
1546
+ kind: string;
1547
+ }[];
1548
+ prompt: {
1549
+ exists: boolean;
1550
+ promptId?: string | undefined;
1551
+ promptCode?: string | undefined;
1552
+ };
1553
+ subject: string;
1554
+ blockers: {
1555
+ message: string;
1556
+ severity: "warning" | "hard";
1557
+ kind: "prompt" | "keyframe" | "character_pack" | "comfy_template";
1558
+ }[];
1559
+ shotId: string;
1560
+ sceneCode: string;
1561
+ shotCode: string;
1562
+ sceneId: string;
1563
+ keyframe: {
1564
+ state: "pending" | "approved" | "none";
1565
+ keyframeId?: string | undefined;
1566
+ };
1567
+ clips: {
1568
+ total: number;
1569
+ hasSelected: boolean;
1570
+ selectedTakeId?: string | undefined;
1571
+ };
1572
+ recommendedProvider: "manual" | "runway" | "comfyui" | null;
1573
+ inActiveScope: boolean;
1574
+ characterPack: {
1575
+ state: "missing" | "ok" | "unapproved";
1576
+ missingNames: string[];
1577
+ };
1578
+ comfyTemplate: {
1579
+ state: "missing" | "not_required" | "ok";
1580
+ };
1581
+ }[];
1582
+ clips: {
1583
+ totalClips: number;
1584
+ selectedTakes: number;
1585
+ byShot: {
1586
+ shotId: string;
1587
+ sceneCode: string;
1588
+ shotCode: string;
1589
+ hasSelected: boolean;
1590
+ takes: {
1591
+ status: string;
1592
+ createdAt: string;
1593
+ clipId: string;
1594
+ selectedTake: boolean;
1595
+ playbackUrl: string;
1596
+ filenameMismatch: boolean;
1597
+ provider?: string | null | undefined;
1598
+ durationSeconds?: number | null | undefined;
1599
+ takeNumber?: number | null | undefined;
1600
+ filenameShotCode?: string | null | undefined;
1601
+ }[];
1602
+ filenameMismatchDetected: boolean;
1603
+ selectedTakeId?: string | undefined;
1604
+ }[];
1605
+ };
1606
+ queue: {
1607
+ totalTasks: number;
1608
+ recent: {
1609
+ status: "running" | "completed" | "failed" | "blocked" | "queued" | "cancelled";
1610
+ createdAt: string;
1611
+ provider: string;
1612
+ updatedAt: string;
1613
+ taskId: string;
1614
+ attempts: number;
1615
+ completedAt?: string | null | undefined;
1616
+ errorCode?: string | null | undefined;
1617
+ errorMessage?: string | null | undefined;
1618
+ shotId?: string | null | undefined;
1619
+ sceneCode?: string | null | undefined;
1620
+ shotCode?: string | null | undefined;
1621
+ externalJobId?: string | null | undefined;
1622
+ }[];
1623
+ byStatus: {
1624
+ running: number;
1625
+ failed: number;
1626
+ blocked: number;
1627
+ queued: number;
1628
+ cancelled: number;
1629
+ succeeded: number;
1630
+ };
1631
+ };
1632
+ }, {
1633
+ status: {
1634
+ warnings: string[];
1635
+ hardBlockers: string[];
1636
+ state: "complete" | "blocked" | "ready" | "in_progress" | "needs_review" | "generated" | "not_ready";
1637
+ nextBestAction: string;
1638
+ primaryAction?: {
1639
+ id: string;
1640
+ label: string;
1641
+ kind: "none" | "generate" | "resolve_blockers" | "process_queue" | "review_takes" | "send_to_postproduction" | "retry_failed";
1642
+ } | undefined;
1643
+ };
1644
+ summary: {
1645
+ selectedTakes: number;
1646
+ clipsGenerated: number;
1647
+ failedJobs: number;
1648
+ };
1649
+ performance: {
1650
+ totalPrompts: number;
1651
+ hasReviews: boolean;
1652
+ reviewedPrompts: number;
1653
+ topPerformers: {
1654
+ promptCode: string;
1655
+ avgScore: number;
1656
+ sampleCount: number;
1657
+ }[];
1658
+ };
1659
+ scope: {
1660
+ mode: "trailer_proof" | "full_film";
1661
+ totalShots: number;
1662
+ shotIds: string[];
1663
+ requiredShots: number;
1664
+ };
1665
+ readiness: {
1666
+ scriptComplete: boolean;
1667
+ preproductionComplete: boolean;
1668
+ promptPackAccepted: boolean;
1669
+ hydrated: boolean;
1670
+ promptCoverage: {
1671
+ covered: number;
1672
+ required: number;
1673
+ };
1674
+ keyframeCoverage: {
1675
+ required: number;
1676
+ approved: number;
1677
+ };
1678
+ characterPackCoverage: {
1679
+ required: number;
1680
+ approved: number;
1681
+ };
1682
+ providerReadiness: {
1683
+ manual: boolean;
1684
+ runway: boolean;
1685
+ comfyui: boolean;
1686
+ };
1687
+ };
1688
+ shots: {
1689
+ status: "approved" | "draft" | "superseded" | "archived";
1690
+ warnings: {
1691
+ message: string;
1692
+ kind: string;
1693
+ }[];
1694
+ prompt: {
1695
+ exists: boolean;
1696
+ promptId?: string | undefined;
1697
+ promptCode?: string | undefined;
1698
+ };
1699
+ subject: string;
1700
+ blockers: {
1701
+ message: string;
1702
+ severity: "warning" | "hard";
1703
+ kind: "prompt" | "keyframe" | "character_pack" | "comfy_template";
1704
+ }[];
1705
+ shotId: string;
1706
+ sceneCode: string;
1707
+ shotCode: string;
1708
+ sceneId: string;
1709
+ keyframe: {
1710
+ state: "pending" | "approved" | "none";
1711
+ keyframeId?: string | undefined;
1712
+ };
1713
+ clips: {
1714
+ total: number;
1715
+ hasSelected: boolean;
1716
+ selectedTakeId?: string | undefined;
1717
+ };
1718
+ recommendedProvider: "manual" | "runway" | "comfyui" | null;
1719
+ inActiveScope: boolean;
1720
+ characterPack: {
1721
+ state: "missing" | "ok" | "unapproved";
1722
+ missingNames: string[];
1723
+ };
1724
+ comfyTemplate: {
1725
+ state: "missing" | "not_required" | "ok";
1726
+ };
1727
+ }[];
1728
+ clips: {
1729
+ totalClips: number;
1730
+ selectedTakes: number;
1731
+ byShot: {
1732
+ shotId: string;
1733
+ sceneCode: string;
1734
+ shotCode: string;
1735
+ hasSelected: boolean;
1736
+ takes: {
1737
+ status: string;
1738
+ createdAt: string;
1739
+ clipId: string;
1740
+ selectedTake: boolean;
1741
+ playbackUrl: string;
1742
+ filenameMismatch: boolean;
1743
+ provider?: string | null | undefined;
1744
+ durationSeconds?: number | null | undefined;
1745
+ takeNumber?: number | null | undefined;
1746
+ filenameShotCode?: string | null | undefined;
1747
+ }[];
1748
+ filenameMismatchDetected: boolean;
1749
+ selectedTakeId?: string | undefined;
1750
+ }[];
1751
+ };
1752
+ queue: {
1753
+ totalTasks: number;
1754
+ recent: {
1755
+ status: "running" | "completed" | "failed" | "blocked" | "queued" | "cancelled";
1756
+ createdAt: string;
1757
+ provider: string;
1758
+ updatedAt: string;
1759
+ taskId: string;
1760
+ attempts: number;
1761
+ completedAt?: string | null | undefined;
1762
+ errorCode?: string | null | undefined;
1763
+ errorMessage?: string | null | undefined;
1764
+ shotId?: string | null | undefined;
1765
+ sceneCode?: string | null | undefined;
1766
+ shotCode?: string | null | undefined;
1767
+ externalJobId?: string | null | undefined;
1768
+ }[];
1769
+ byStatus: {
1770
+ running: number;
1771
+ failed: number;
1772
+ blocked: number;
1773
+ queued: number;
1774
+ cancelled: number;
1775
+ succeeded: number;
1776
+ };
1777
+ };
1778
+ }>;
1779
+ export type FilmGenerationDashboardViewModel = z.infer<typeof FilmGenerationDashboardViewModelSchema>;