@nativestudio/cli 0.0.0-stage → 0.3.0-rc.11

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 (266) hide show
  1. package/COMPATIBILITY.json +45 -0
  2. package/LICENSE +201 -0
  3. package/components/runtime.json +31 -0
  4. package/components/runtime.tgz +0 -0
  5. package/dist/BUNDLED_DEPENDENCIES.json +1 -0
  6. package/dist/_chunks/chunk-2UYKJ6YN.js +1 -0
  7. package/dist/_chunks/chunk-37PAJCKA.js +1 -0
  8. package/dist/_chunks/chunk-3AVC742O.js +1 -0
  9. package/dist/_chunks/chunk-4U4Y2K73.js +1 -0
  10. package/dist/_chunks/chunk-65FQPXKC.js +1 -0
  11. package/dist/_chunks/chunk-6DVZBKNV.js +1 -0
  12. package/dist/_chunks/chunk-6LU6GJKW.js +1 -0
  13. package/dist/_chunks/chunk-6N433ZWR.js +1 -0
  14. package/dist/_chunks/chunk-EGUJ2YRX.js +1 -0
  15. package/dist/_chunks/chunk-FU3524Z6.js +1 -0
  16. package/dist/_chunks/chunk-GZBWA4YN.js +1 -0
  17. package/dist/_chunks/chunk-HR34UMPP.js +1 -0
  18. package/dist/_chunks/chunk-HTUTYIRU.js +1 -0
  19. package/dist/_chunks/chunk-JFC6ZIGA.js +1 -0
  20. package/dist/_chunks/chunk-KB2GVAN7.js +1 -0
  21. package/dist/_chunks/chunk-L543FEDK.js +1 -0
  22. package/dist/_chunks/chunk-LISB5W7B.js +1 -0
  23. package/dist/_chunks/chunk-LUAH3KAS.js +1 -0
  24. package/dist/_chunks/chunk-M2KVQQ4X.js +1 -0
  25. package/dist/_chunks/chunk-ODGPV7MM.js +1 -0
  26. package/dist/_chunks/chunk-PUBMDP4E.js +1 -0
  27. package/dist/_chunks/chunk-PUNG4ND7.js +1 -0
  28. package/dist/_chunks/chunk-Q57YFNK5.js +1 -0
  29. package/dist/_chunks/chunk-QAJH4RJQ.js +1 -0
  30. package/dist/_chunks/chunk-VDNNFVTZ.js +3 -0
  31. package/dist/_chunks/chunk-VPYAXWXY.js +1 -0
  32. package/dist/_chunks/chunk-WFRRNWO5.js +1 -0
  33. package/dist/_chunks/connect-5YMO6MAR.js +1 -0
  34. package/dist/_chunks/device-management-2OTGEBJQ.js +1 -0
  35. package/dist/_chunks/device-preflight-XPHFZGLO.js +1 -0
  36. package/dist/_chunks/devices-inventory-VWNTU5TE.js +1 -0
  37. package/dist/_chunks/devices-main-VQ4APRVS.js +1 -0
  38. package/dist/_chunks/files-TTIQ7LYJ.js +1 -0
  39. package/dist/_chunks/host-main-H7DPLV7B.js +1 -0
  40. package/dist/_chunks/http-profile-MNJX6OXO.js +1 -0
  41. package/dist/_chunks/library-main-SAC3V2ML.js +1 -0
  42. package/dist/_chunks/local-main-D6B3APK6.js +1 -0
  43. package/dist/_chunks/local-mcp-ONCANLPH.js +1 -0
  44. package/dist/_chunks/main-PW6HB3NC.js +2 -0
  45. package/dist/_chunks/mcp-ZIGBYFUW.js +1 -0
  46. package/dist/_chunks/oauth-HC6TI7HB.js +1 -0
  47. package/dist/_chunks/render-main-GYWKP72O.js +1 -0
  48. package/dist/_chunks/source-import-BC5GNCUZ.js +1 -0
  49. package/dist/_chunks/src-R6DNU336.js +1 -0
  50. package/dist/_chunks/stdio-main-RIJS5REB.js +1 -0
  51. package/dist/_chunks/workspace-main-GNSKHKBG.js +1 -0
  52. package/dist/_types/cli/local/desktop-channel.d.ts +18 -0
  53. package/dist/_types/cli/local/desktop-contract.d.ts +2176 -0
  54. package/dist/_types/cli/local/desktop-device-contract.d.ts +779 -0
  55. package/dist/_types/cli/local/desktop-device-navigation.d.ts +3 -0
  56. package/dist/_types/cli/local/desktop-device-owner.d.ts +244 -0
  57. package/dist/_types/cli/local/desktop-device-state.d.ts +397 -0
  58. package/dist/_types/cli/local/desktop-library.d.ts +853 -0
  59. package/dist/_types/cli/local/desktop-node.d.ts +1 -0
  60. package/dist/_types/cli/local/desktop-owner.d.ts +766 -0
  61. package/dist/_types/cli/local/ledger.d.ts +363 -0
  62. package/dist/_types/cli/local/manager.d.ts +1695 -0
  63. package/dist/_types/cli/local/mcp-tools.d.ts +660 -0
  64. package/dist/_types/cli/local/releases.d.ts +123 -0
  65. package/dist/_types/cli/local-management.d.ts +16 -0
  66. package/dist/_types/cli/local-navigation.d.ts +4 -0
  67. package/dist/_types/contracts/accepted-shot.d.ts +27 -0
  68. package/dist/_types/contracts/accepted-visual-source.d.ts +120 -0
  69. package/dist/_types/contracts/agent-execution-lifecycle.d.ts +749 -0
  70. package/dist/_types/contracts/agent-execution-oauth.d.ts +71 -0
  71. package/dist/_types/contracts/agent-execution-registration.d.ts +240 -0
  72. package/dist/_types/contracts/agent-execution-selection.d.ts +107 -0
  73. package/dist/_types/contracts/agent-host-execution.d.ts +706 -0
  74. package/dist/_types/contracts/agent-host-generic-transport.d.ts +12 -0
  75. package/dist/_types/contracts/agent-host.d.ts +226 -0
  76. package/dist/_types/contracts/artifact-discovery.d.ts +242 -0
  77. package/dist/_types/contracts/artifact.d.ts +188 -0
  78. package/dist/_types/contracts/audio.d.ts +335 -0
  79. package/dist/_types/contracts/brief.d.ts +178 -0
  80. package/dist/_types/contracts/caption-render.d.ts +20 -0
  81. package/dist/_types/contracts/caption-transcript.d.ts +102 -0
  82. package/dist/_types/contracts/captions.d.ts +420 -0
  83. package/dist/_types/contracts/clip-framing.d.ts +14 -0
  84. package/dist/_types/contracts/clip-transition.d.ts +6 -0
  85. package/dist/_types/contracts/composition-authoring-guide.d.ts +160 -0
  86. package/dist/_types/contracts/composition-authoring.d.ts +744 -0
  87. package/dist/_types/contracts/composition-finding-locality.d.ts +24 -0
  88. package/dist/_types/contracts/composition-frame-render.d.ts +226 -0
  89. package/dist/_types/contracts/composition-making.d.ts +390 -0
  90. package/dist/_types/contracts/composition-observation.d.ts +239 -0
  91. package/dist/_types/contracts/composition-render-base.d.ts +293 -0
  92. package/dist/_types/contracts/composition-render-observation.d.ts +278 -0
  93. package/dist/_types/contracts/composition-render.d.ts +406 -0
  94. package/dist/_types/contracts/composition-repair.d.ts +451 -0
  95. package/dist/_types/contracts/composition-source-review.d.ts +1042 -0
  96. package/dist/_types/contracts/consistency-profile.d.ts +845 -0
  97. package/dist/_types/contracts/continuity-evaluation.d.ts +48 -0
  98. package/dist/_types/contracts/delivery-completion.d.ts +210 -0
  99. package/dist/_types/contracts/delivery-manifest.d.ts +72 -0
  100. package/dist/_types/contracts/delivery-operations.d.ts +1151 -0
  101. package/dist/_types/contracts/delivery-output-profile.d.ts +12 -0
  102. package/dist/_types/contracts/delivery-summary.d.ts +220 -0
  103. package/dist/_types/contracts/delivery-validation.d.ts +206 -0
  104. package/dist/_types/contracts/device-render.d.ts +77 -0
  105. package/dist/_types/contracts/director-proposal.d.ts +1067 -0
  106. package/dist/_types/contracts/editor-intelligence.d.ts +3374 -0
  107. package/dist/_types/contracts/exploration-recommendation.d.ts +519 -0
  108. package/dist/_types/contracts/external-agent-access.d.ts +93 -0
  109. package/dist/_types/contracts/final-ready.d.ts +301 -0
  110. package/dist/_types/contracts/final-render-profile.d.ts +59 -0
  111. package/dist/_types/contracts/final-render.d.ts +2810 -0
  112. package/dist/_types/contracts/foundation.d.ts +1 -0
  113. package/dist/_types/contracts/generation-contract.d.ts +268 -0
  114. package/dist/_types/contracts/generation-cost.d.ts +70 -0
  115. package/dist/_types/contracts/health.d.ts +6 -0
  116. package/dist/_types/contracts/human-identity.d.ts +162 -0
  117. package/dist/_types/contracts/hyperframe-profile.d.ts +5 -0
  118. package/dist/_types/contracts/ids.d.ts +41 -0
  119. package/dist/_types/contracts/index.d.ts +126 -0
  120. package/dist/_types/contracts/interface/common.d.ts +56 -0
  121. package/dist/_types/contracts/interface/execution-output.d.ts +99 -0
  122. package/dist/_types/contracts/interface/index.d.ts +7 -0
  123. package/dist/_types/contracts/interface/media-output.d.ts +90 -0
  124. package/dist/_types/contracts/interface/operation.d.ts +61 -0
  125. package/dist/_types/contracts/interface/output.d.ts +15 -0
  126. package/dist/_types/contracts/interface/production-snapshot.d.ts +654 -0
  127. package/dist/_types/contracts/interface/query.d.ts +315 -0
  128. package/dist/_types/contracts/keyframe-generation.d.ts +378 -0
  129. package/dist/_types/contracts/keyframe-reference.d.ts +31 -0
  130. package/dist/_types/contracts/keyframe-review.d.ts +753 -0
  131. package/dist/_types/contracts/lifecycle-event-projections.d.ts +191 -0
  132. package/dist/_types/contracts/lifecycle-events.d.ts +156 -0
  133. package/dist/_types/contracts/listening-evidence.d.ts +37 -0
  134. package/dist/_types/contracts/local-execution/agent-context.d.ts +365 -0
  135. package/dist/_types/contracts/local-execution/agent-evidence.d.ts +79 -0
  136. package/dist/_types/contracts/local-execution/agent-grant.d.ts +31 -0
  137. package/dist/_types/contracts/local-execution/agent-review.d.ts +992 -0
  138. package/dist/_types/contracts/local-execution/canonical.d.ts +2 -0
  139. package/dist/_types/contracts/local-execution/common.d.ts +49 -0
  140. package/dist/_types/contracts/local-execution/completion.d.ts +124 -0
  141. package/dist/_types/contracts/local-execution/components.d.ts +45 -0
  142. package/dist/_types/contracts/local-execution/descriptor.d.ts +38 -0
  143. package/dist/_types/contracts/local-execution/device-authority.d.ts +31 -0
  144. package/dist/_types/contracts/local-execution/device-inventory.d.ts +76 -0
  145. package/dist/_types/contracts/local-execution/device-workspace.d.ts +11 -0
  146. package/dist/_types/contracts/local-execution/device.d.ts +102 -0
  147. package/dist/_types/contracts/local-execution/external-generation.d.ts +199 -0
  148. package/dist/_types/contracts/local-execution/index.d.ts +37 -0
  149. package/dist/_types/contracts/local-execution/ipc.d.ts +3730 -0
  150. package/dist/_types/contracts/local-execution/library-command.d.ts +620 -0
  151. package/dist/_types/contracts/local-execution/library-result.d.ts +408 -0
  152. package/dist/_types/contracts/local-execution/library.d.ts +873 -0
  153. package/dist/_types/contracts/local-execution/lifecycle.d.ts +519 -0
  154. package/dist/_types/contracts/local-execution/local-navigation.d.ts +929 -0
  155. package/dist/_types/contracts/local-execution/management.d.ts +400 -0
  156. package/dist/_types/contracts/local-execution/media-recipe.d.ts +207 -0
  157. package/dist/_types/contracts/local-execution/media-validation-request.d.ts +232 -0
  158. package/dist/_types/contracts/local-execution/media-validation.d.ts +262 -0
  159. package/dist/_types/contracts/local-execution/object-transfer.d.ts +155 -0
  160. package/dist/_types/contracts/local-execution/offline.d.ts +59 -0
  161. package/dist/_types/contracts/local-execution/preview.d.ts +243 -0
  162. package/dist/_types/contracts/local-execution/processor-capability.d.ts +39 -0
  163. package/dist/_types/contracts/local-execution/processor-direct.d.ts +290 -0
  164. package/dist/_types/contracts/local-execution/processor-recipes.d.ts +1122 -0
  165. package/dist/_types/contracts/local-execution/processor.d.ts +6173 -0
  166. package/dist/_types/contracts/local-execution/project-source-direct.d.ts +201 -0
  167. package/dist/_types/contracts/local-execution/qwen-tts.d.ts +31 -0
  168. package/dist/_types/contracts/local-execution/recognition.d.ts +170 -0
  169. package/dist/_types/contracts/local-execution/speech.d.ts +95 -0
  170. package/dist/_types/contracts/local-execution/tool-selection.d.ts +55 -0
  171. package/dist/_types/contracts/local-execution/whisper.d.ts +24 -0
  172. package/dist/_types/contracts/local-execution/work.d.ts +149 -0
  173. package/dist/_types/contracts/local-execution/workspace.d.ts +141 -0
  174. package/dist/_types/contracts/matrix-parameter-rule.d.ts +23 -0
  175. package/dist/_types/contracts/media-category.d.ts +11 -0
  176. package/dist/_types/contracts/media-export.d.ts +23 -0
  177. package/dist/_types/contracts/media-observation.d.ts +2080 -0
  178. package/dist/_types/contracts/model-capability-matrix.d.ts +118 -0
  179. package/dist/_types/contracts/native-tool-authority-failure.d.ts +38 -0
  180. package/dist/_types/contracts/native-tool-authority.d.ts +110 -0
  181. package/dist/_types/contracts/native-tool-execution.d.ts +287 -0
  182. package/dist/_types/contracts/native-tool-gateway.d.ts +41 -0
  183. package/dist/_types/contracts/native-video-audio.d.ts +62 -0
  184. package/dist/_types/contracts/navigation-context.d.ts +253 -0
  185. package/dist/_types/contracts/navigation-groups.d.ts +51 -0
  186. package/dist/_types/contracts/navigation.d.ts +248 -0
  187. package/dist/_types/contracts/observation-profile.d.ts +99 -0
  188. package/dist/_types/contracts/planning-input.d.ts +177 -0
  189. package/dist/_types/contracts/principal.d.ts +26 -0
  190. package/dist/_types/contracts/production-creation.d.ts +66 -0
  191. package/dist/_types/contracts/production-termination.d.ts +51 -0
  192. package/dist/_types/contracts/production.d.ts +111 -0
  193. package/dist/_types/contracts/programmatic-composition.d.ts +762 -0
  194. package/dist/_types/contracts/programmatic-exploration.d.ts +1822 -0
  195. package/dist/_types/contracts/programmatic-video-review.d.ts +894 -0
  196. package/dist/_types/contracts/project-library.d.ts +173 -0
  197. package/dist/_types/contracts/project.d.ts +93 -0
  198. package/dist/_types/contracts/provider-catalog.d.ts +421 -0
  199. package/dist/_types/contracts/provider-models.d.ts +3388 -0
  200. package/dist/_types/contracts/provider.d.ts +207 -0
  201. package/dist/_types/contracts/reference-preview.d.ts +55 -0
  202. package/dist/_types/contracts/repair-lifecycle.d.ts +2564 -0
  203. package/dist/_types/contracts/repair-plan.d.ts +646 -0
  204. package/dist/_types/contracts/repair-strategy.d.ts +1432 -0
  205. package/dist/_types/contracts/review-intelligence-evidence.d.ts +136 -0
  206. package/dist/_types/contracts/review-intelligence-final-output.d.ts +883 -0
  207. package/dist/_types/contracts/review-intelligence.d.ts +573 -0
  208. package/dist/_types/contracts/review1-repair-source.d.ts +452 -0
  209. package/dist/_types/contracts/review1-repair-strategy.d.ts +491 -0
  210. package/dist/_types/contracts/review1-repair.d.ts +36 -0
  211. package/dist/_types/contracts/rough-cut-manifest.d.ts +352 -0
  212. package/dist/_types/contracts/rough-cut-profile.d.ts +46 -0
  213. package/dist/_types/contracts/rough-cut-review.d.ts +459 -0
  214. package/dist/_types/contracts/rough-cut.d.ts +1260 -0
  215. package/dist/_types/contracts/scene-shot-plan.d.ts +882 -0
  216. package/dist/_types/contracts/sdk-discovery.d.ts +66 -0
  217. package/dist/_types/contracts/shot-direction.d.ts +113 -0
  218. package/dist/_types/contracts/shot-preparation-basis.d.ts +356 -0
  219. package/dist/_types/contracts/shot-preparation.d.ts +2285 -0
  220. package/dist/_types/contracts/shot-sound-instruction.d.ts +58 -0
  221. package/dist/_types/contracts/sound-making-plan.d.ts +1586 -0
  222. package/dist/_types/contracts/source-sound-policy.d.ts +10 -0
  223. package/dist/_types/contracts/source-workspace.d.ts +62 -0
  224. package/dist/_types/contracts/speech-cost.d.ts +81 -0
  225. package/dist/_types/contracts/speech.d.ts +573 -0
  226. package/dist/_types/contracts/story.d.ts +98 -0
  227. package/dist/_types/contracts/temporal-evidence-operation.d.ts +380 -0
  228. package/dist/_types/contracts/temporal-evidence-reference.d.ts +18 -0
  229. package/dist/_types/contracts/temporal-evidence.d.ts +248 -0
  230. package/dist/_types/contracts/tenant.d.ts +7 -0
  231. package/dist/_types/contracts/timeline-audio.d.ts +98 -0
  232. package/dist/_types/contracts/timeline-graphics.d.ts +80 -0
  233. package/dist/_types/contracts/timeline-manifest.d.ts +704 -0
  234. package/dist/_types/contracts/timeline-source-sound.d.ts +353 -0
  235. package/dist/_types/contracts/timeline-v2.d.ts +1267 -0
  236. package/dist/_types/contracts/timeline-version-reader.d.ts +2955 -0
  237. package/dist/_types/contracts/timeline-visual-layers.d.ts +1249 -0
  238. package/dist/_types/contracts/timeline.d.ts +142 -0
  239. package/dist/_types/contracts/transcription.d.ts +80 -0
  240. package/dist/_types/contracts/video-generation.d.ts +676 -0
  241. package/dist/_types/contracts/video-review.d.ts +1871 -0
  242. package/dist/_types/contracts/visual-exploration.d.ts +1586 -0
  243. package/dist/_types/contracts/visual-layer-render.d.ts +2820 -0
  244. package/dist/_types/contracts/visual-layer.d.ts +112 -0
  245. package/dist/_types/contracts/visual-sequence.d.ts +143 -0
  246. package/dist/_types/contracts/workspace.d.ts +32 -0
  247. package/dist/_types/contracts/writer-proposal.d.ts +268 -0
  248. package/dist/_types/sdk/errors.d.ts +14 -0
  249. package/dist/_types/sdk/local-runtime/components.d.ts +2 -0
  250. package/dist/_types/sdk/local-runtime/device-client.d.ts +187 -0
  251. package/dist/_types/sdk/local-runtime/library.d.ts +268 -0
  252. package/dist/_types/sdk/local-runtime/workspace.d.ts +186 -0
  253. package/dist/_types/sdk/local-runtime-client.d.ts +2616 -0
  254. package/dist/entry.js +2 -0
  255. package/dist/local-management.d.ts +1 -0
  256. package/dist/local-management.js +1 -0
  257. package/dist/local-navigation.d.ts +1 -0
  258. package/dist/local-navigation.js +1 -0
  259. package/dist/native/Bootstrap.ps1 +90 -0
  260. package/dist/native/JobNative.cs +137 -0
  261. package/dist/native/JobRunner.cs +381 -0
  262. package/dist/native/NativeMain.cs +161 -0
  263. package/dist/native/PipeBridge.cs +260 -0
  264. package/dist/native/PrivateAccess.cs +152 -0
  265. package/package.json +27 -3
  266. package/README.md +0 -3
@@ -0,0 +1,992 @@
1
+ import { z } from "zod";
2
+ import { LocalAgentGrantSchema } from "./agent-grant.js";
3
+ export { LocalAgentGrantSchema } from "./agent-grant.js";
4
+ export declare const LocalAgentSnapshotSchema: z.ZodObject<{
5
+ basis: z.ZodObject<{
6
+ scope: typeof import("../director-proposal.js").DirectorScopeSchema;
7
+ target: typeof import("../review-intelligence.js").ReviewIntelligenceTargetSchema;
8
+ contextFingerprint: z.ZodString;
9
+ }, z.core.$strict>;
10
+ productionRevision: z.ZodInt;
11
+ reviewVersion: z.ZodInt;
12
+ executionClass: z.ZodEnum<{
13
+ LIVE: "LIVE";
14
+ TEST_ONLY: "TEST_ONLY";
15
+ }>;
16
+ media: z.ZodObject<{
17
+ artifactId: z.ZodUUID;
18
+ representationId: z.ZodUUID;
19
+ checksumSha256: z.ZodString;
20
+ }, z.core.$strict>;
21
+ requirements: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
22
+ intentPath: z.ZodOptional<z.ZodString>;
23
+ key: z.ZodString;
24
+ expected: z.ZodString;
25
+ enforcement: z.ZodEnum<{
26
+ LOCKED: "LOCKED";
27
+ REQUIRED: "REQUIRED";
28
+ PREFERRED: "PREFERRED";
29
+ }>;
30
+ }, z.core.$strict>, z.ZodObject<{
31
+ intentPath: z.ZodOptional<z.ZodString>;
32
+ continuity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
33
+ kind: z.ZodLiteral<"STATE">;
34
+ mode: z.ZodEnum<{
35
+ PRESERVE: "PRESERVE";
36
+ PLANNED_TRANSITIONS: "PLANNED_TRANSITIONS";
37
+ }>;
38
+ entry: z.ZodString;
39
+ exit: z.ZodString;
40
+ changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
41
+ atPermille: z.ZodInt;
42
+ from: z.ZodString;
43
+ to: z.ZodString;
44
+ reason: z.ZodString;
45
+ }, z.core.$strict>>>;
46
+ }, z.core.$strict>, z.ZodObject<{
47
+ kind: z.ZodLiteral<"TIME">;
48
+ mode: z.ZodEnum<{
49
+ MONOTONIC: "MONOTONIC";
50
+ PLANNED_JUMPS: "PLANNED_JUMPS";
51
+ }>;
52
+ entryMs: z.ZodInt;
53
+ exitMs: z.ZodInt;
54
+ jumps: z.ZodOptional<z.ZodArray<z.ZodObject<{
55
+ atPermille: z.ZodInt;
56
+ fromMs: z.ZodInt;
57
+ toMs: z.ZodInt;
58
+ reason: z.ZodString;
59
+ }, z.core.$strict>>>;
60
+ }, z.core.$strict>], "kind">>;
61
+ interval: z.ZodOptional<z.ZodObject<{
62
+ startMs: z.ZodInt;
63
+ endMs: z.ZodInt;
64
+ }, z.core.$strict>>;
65
+ key: z.ZodString;
66
+ family: z.ZodEnum<{
67
+ PRODUCT_IDENTITY: "PRODUCT_IDENTITY";
68
+ CHARACTER_IDENTITY: "CHARACTER_IDENTITY";
69
+ WARDROBE: "WARDROBE";
70
+ LOCATION: "LOCATION";
71
+ STYLE: "STYLE";
72
+ SHOT_INTENT: "SHOT_INTENT";
73
+ BOUNDARY_CONTINUITY: "BOUNDARY_CONTINUITY";
74
+ SOUND: "SOUND";
75
+ }>;
76
+ expected: z.ZodString;
77
+ enforcement: z.ZodEnum<{
78
+ LOCKED: "LOCKED";
79
+ REQUIRED: "REQUIRED";
80
+ PREFERRED: "PREFERRED";
81
+ }>;
82
+ evidenceWindow: z.ZodEnum<{
83
+ START: "START";
84
+ END: "END";
85
+ WHOLE_VIDEO: "WHOLE_VIDEO";
86
+ TEMPORAL: "TEMPORAL";
87
+ }>;
88
+ }, z.core.$strict>, z.ZodObject<{
89
+ continuity: z.ZodOptional<typeof import("../continuity-evaluation.js").ContinuityExpectationSchema>;
90
+ consistencyScale: z.ZodOptional<typeof import("../continuity-evaluation.js").ConsistencyReviewScaleSchema>;
91
+ consistencyFamily: z.ZodOptional<z.ZodEnum<{
92
+ PRODUCT_IDENTITY: "PRODUCT_IDENTITY";
93
+ CHARACTER_IDENTITY: "CHARACTER_IDENTITY";
94
+ WARDROBE: "WARDROBE";
95
+ LOCATION: "LOCATION";
96
+ STYLE: "STYLE";
97
+ BOUNDARY_CONTINUITY: "BOUNDARY_CONTINUITY";
98
+ }>>;
99
+ consistencySubject: z.ZodOptional<typeof import("../consistency-profile.js").ConsistencySubjectSchema>;
100
+ consistencyReference: z.ZodOptional<typeof import("../consistency-profile.js").ConsistencyMasterReferenceSchema>;
101
+ key: z.ZodString;
102
+ dimension: z.ZodEnum<{
103
+ PRODUCT_PRESENTATION: "PRODUCT_PRESENTATION";
104
+ CANONICAL_FACT: "CANONICAL_FACT";
105
+ NARRATIVE: "NARRATIVE";
106
+ PACING: "PACING";
107
+ REPETITION: "REPETITION";
108
+ STYLE: "STYLE";
109
+ TECHNICAL: "TECHNICAL";
110
+ TRANSITION: "TRANSITION";
111
+ }>;
112
+ expected: z.ZodString;
113
+ enforcement: z.ZodEnum<{
114
+ LOCKED: "LOCKED";
115
+ REQUIRED: "REQUIRED";
116
+ PREFERRED: "PREFERRED";
117
+ }>;
118
+ scope: z.ZodEnum<{
119
+ PRODUCTION: "PRODUCTION";
120
+ TRANSITION: "TRANSITION";
121
+ }>;
122
+ interval: typeof import("../rough-cut-review.js").ReviewIntervalSchema;
123
+ shotIds: z.ZodArray<z.ZodUUID>;
124
+ }, z.core.$strict>]>>;
125
+ evidence: z.ZodOptional<z.ZodObject<{
126
+ profile: z.ZodLiteral<"NVS_AGENT_DERIVED_EVIDENCE_V1">;
127
+ contentType: z.ZodEnum<{
128
+ "image/png": "image/png";
129
+ "image/jpeg": "image/jpeg";
130
+ "image/webp": "image/webp";
131
+ "video/mp4": "video/mp4";
132
+ }>;
133
+ byteSize: z.ZodInt;
134
+ width: z.ZodInt;
135
+ height: z.ZodInt;
136
+ durationMs: z.ZodOptional<z.ZodInt>;
137
+ frameRate: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>>;
138
+ hasAudio: z.ZodOptional<z.ZodBoolean>;
139
+ }, z.core.$strict>>;
140
+ image: z.ZodOptional<z.ZodObject<{
141
+ contentType: z.ZodLiteral<"image/png">;
142
+ byteSize: z.ZodInt;
143
+ width: z.ZodInt;
144
+ height: z.ZodInt;
145
+ }, z.core.$strict>>;
146
+ }, z.core.$strict>;
147
+ export declare const LocalAgentProbeSchema: z.ZodObject<{
148
+ configured: z.ZodBoolean;
149
+ available: z.ZodBoolean;
150
+ reason: z.ZodEnum<{
151
+ READY: "READY";
152
+ GRANT_EXPIRED: "GRANT_EXPIRED";
153
+ GRANT_REQUIRED: "GRANT_REQUIRED";
154
+ RUNTIME_UNAVAILABLE: "RUNTIME_UNAVAILABLE";
155
+ }>;
156
+ grantFingerprint: z.ZodNullable<z.ZodString>;
157
+ inference: z.ZodLiteral<"REMOTE_OPENAI">;
158
+ }, z.core.$strict>;
159
+ export declare const LocalAgentPlanSchema: z.ZodObject<{
160
+ protocol: z.ZodEnum<{
161
+ NVS_LOCAL_AGENT_REVIEW_V1: "NVS_LOCAL_AGENT_REVIEW_V1";
162
+ NVS_LOCAL_AGENT_REVIEW_V2: "NVS_LOCAL_AGENT_REVIEW_V2";
163
+ }>;
164
+ id: z.ZodUUID;
165
+ grantFingerprint: z.ZodString;
166
+ snapshot: z.ZodObject<{
167
+ basis: z.ZodObject<{
168
+ scope: typeof import("../director-proposal.js").DirectorScopeSchema;
169
+ target: typeof import("../review-intelligence.js").ReviewIntelligenceTargetSchema;
170
+ contextFingerprint: z.ZodString;
171
+ }, z.core.$strict>;
172
+ productionRevision: z.ZodInt;
173
+ reviewVersion: z.ZodInt;
174
+ executionClass: z.ZodEnum<{
175
+ LIVE: "LIVE";
176
+ TEST_ONLY: "TEST_ONLY";
177
+ }>;
178
+ media: z.ZodObject<{
179
+ artifactId: z.ZodUUID;
180
+ representationId: z.ZodUUID;
181
+ checksumSha256: z.ZodString;
182
+ }, z.core.$strict>;
183
+ requirements: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
184
+ intentPath: z.ZodOptional<z.ZodString>;
185
+ key: z.ZodString;
186
+ expected: z.ZodString;
187
+ enforcement: z.ZodEnum<{
188
+ LOCKED: "LOCKED";
189
+ REQUIRED: "REQUIRED";
190
+ PREFERRED: "PREFERRED";
191
+ }>;
192
+ }, z.core.$strict>, z.ZodObject<{
193
+ intentPath: z.ZodOptional<z.ZodString>;
194
+ continuity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
195
+ kind: z.ZodLiteral<"STATE">;
196
+ mode: z.ZodEnum<{
197
+ PRESERVE: "PRESERVE";
198
+ PLANNED_TRANSITIONS: "PLANNED_TRANSITIONS";
199
+ }>;
200
+ entry: z.ZodString;
201
+ exit: z.ZodString;
202
+ changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
203
+ atPermille: z.ZodInt;
204
+ from: z.ZodString;
205
+ to: z.ZodString;
206
+ reason: z.ZodString;
207
+ }, z.core.$strict>>>;
208
+ }, z.core.$strict>, z.ZodObject<{
209
+ kind: z.ZodLiteral<"TIME">;
210
+ mode: z.ZodEnum<{
211
+ MONOTONIC: "MONOTONIC";
212
+ PLANNED_JUMPS: "PLANNED_JUMPS";
213
+ }>;
214
+ entryMs: z.ZodInt;
215
+ exitMs: z.ZodInt;
216
+ jumps: z.ZodOptional<z.ZodArray<z.ZodObject<{
217
+ atPermille: z.ZodInt;
218
+ fromMs: z.ZodInt;
219
+ toMs: z.ZodInt;
220
+ reason: z.ZodString;
221
+ }, z.core.$strict>>>;
222
+ }, z.core.$strict>], "kind">>;
223
+ interval: z.ZodOptional<z.ZodObject<{
224
+ startMs: z.ZodInt;
225
+ endMs: z.ZodInt;
226
+ }, z.core.$strict>>;
227
+ key: z.ZodString;
228
+ family: z.ZodEnum<{
229
+ PRODUCT_IDENTITY: "PRODUCT_IDENTITY";
230
+ CHARACTER_IDENTITY: "CHARACTER_IDENTITY";
231
+ WARDROBE: "WARDROBE";
232
+ LOCATION: "LOCATION";
233
+ STYLE: "STYLE";
234
+ SHOT_INTENT: "SHOT_INTENT";
235
+ BOUNDARY_CONTINUITY: "BOUNDARY_CONTINUITY";
236
+ SOUND: "SOUND";
237
+ }>;
238
+ expected: z.ZodString;
239
+ enforcement: z.ZodEnum<{
240
+ LOCKED: "LOCKED";
241
+ REQUIRED: "REQUIRED";
242
+ PREFERRED: "PREFERRED";
243
+ }>;
244
+ evidenceWindow: z.ZodEnum<{
245
+ START: "START";
246
+ END: "END";
247
+ WHOLE_VIDEO: "WHOLE_VIDEO";
248
+ TEMPORAL: "TEMPORAL";
249
+ }>;
250
+ }, z.core.$strict>, z.ZodObject<{
251
+ continuity: z.ZodOptional<typeof import("../continuity-evaluation.js").ContinuityExpectationSchema>;
252
+ consistencyScale: z.ZodOptional<typeof import("../continuity-evaluation.js").ConsistencyReviewScaleSchema>;
253
+ consistencyFamily: z.ZodOptional<z.ZodEnum<{
254
+ PRODUCT_IDENTITY: "PRODUCT_IDENTITY";
255
+ CHARACTER_IDENTITY: "CHARACTER_IDENTITY";
256
+ WARDROBE: "WARDROBE";
257
+ LOCATION: "LOCATION";
258
+ STYLE: "STYLE";
259
+ BOUNDARY_CONTINUITY: "BOUNDARY_CONTINUITY";
260
+ }>>;
261
+ consistencySubject: z.ZodOptional<typeof import("../consistency-profile.js").ConsistencySubjectSchema>;
262
+ consistencyReference: z.ZodOptional<typeof import("../consistency-profile.js").ConsistencyMasterReferenceSchema>;
263
+ key: z.ZodString;
264
+ dimension: z.ZodEnum<{
265
+ PRODUCT_PRESENTATION: "PRODUCT_PRESENTATION";
266
+ CANONICAL_FACT: "CANONICAL_FACT";
267
+ NARRATIVE: "NARRATIVE";
268
+ PACING: "PACING";
269
+ REPETITION: "REPETITION";
270
+ STYLE: "STYLE";
271
+ TECHNICAL: "TECHNICAL";
272
+ TRANSITION: "TRANSITION";
273
+ }>;
274
+ expected: z.ZodString;
275
+ enforcement: z.ZodEnum<{
276
+ LOCKED: "LOCKED";
277
+ REQUIRED: "REQUIRED";
278
+ PREFERRED: "PREFERRED";
279
+ }>;
280
+ scope: z.ZodEnum<{
281
+ PRODUCTION: "PRODUCTION";
282
+ TRANSITION: "TRANSITION";
283
+ }>;
284
+ interval: typeof import("../rough-cut-review.js").ReviewIntervalSchema;
285
+ shotIds: z.ZodArray<z.ZodUUID>;
286
+ }, z.core.$strict>]>>;
287
+ evidence: z.ZodOptional<z.ZodObject<{
288
+ profile: z.ZodLiteral<"NVS_AGENT_DERIVED_EVIDENCE_V1">;
289
+ contentType: z.ZodEnum<{
290
+ "image/png": "image/png";
291
+ "image/jpeg": "image/jpeg";
292
+ "image/webp": "image/webp";
293
+ "video/mp4": "video/mp4";
294
+ }>;
295
+ byteSize: z.ZodInt;
296
+ width: z.ZodInt;
297
+ height: z.ZodInt;
298
+ durationMs: z.ZodOptional<z.ZodInt>;
299
+ frameRate: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>>;
300
+ hasAudio: z.ZodOptional<z.ZodBoolean>;
301
+ }, z.core.$strict>>;
302
+ image: z.ZodOptional<z.ZodObject<{
303
+ contentType: z.ZodLiteral<"image/png">;
304
+ byteSize: z.ZodInt;
305
+ width: z.ZodInt;
306
+ height: z.ZodInt;
307
+ }, z.core.$strict>>;
308
+ }, z.core.$strict>;
309
+ expiresAt: z.ZodISODateTime;
310
+ fingerprint: z.ZodString;
311
+ }, z.core.$strict>;
312
+ export declare const LocalAgentMetadataAnswerSchema: z.ZodObject<{
313
+ summary: z.ZodString;
314
+ observations: z.ZodArray<z.ZodObject<{
315
+ key: z.ZodString;
316
+ observed: z.ZodString;
317
+ }, z.core.$strict>>;
318
+ }, z.core.$strict>;
319
+ export declare const LocalAgentPixelAnswerSchema: z.ZodObject<{
320
+ summary: z.ZodString;
321
+ imageReadback: z.ZodString;
322
+ observations: z.ZodArray<z.ZodObject<{
323
+ status: z.ZodEnum<{
324
+ SATISFIED: "SATISFIED";
325
+ VIOLATED: "VIOLATED";
326
+ NOT_OBSERVABLE: "NOT_OBSERVABLE";
327
+ NOT_APPLICABLE: "NOT_APPLICABLE";
328
+ }>;
329
+ confidence: z.ZodEnum<{
330
+ CLEAR: "CLEAR";
331
+ UNCERTAIN: "UNCERTAIN";
332
+ }>;
333
+ observed: z.ZodString;
334
+ key: z.ZodString;
335
+ }, z.core.$strict>>;
336
+ }, z.core.$strict>;
337
+ export declare const LocalAgentAnswerSchema: z.ZodUnion<readonly [z.ZodObject<{
338
+ summary: z.ZodString;
339
+ observations: z.ZodArray<z.ZodObject<{
340
+ key: z.ZodString;
341
+ observed: z.ZodString;
342
+ }, z.core.$strict>>;
343
+ }, z.core.$strict>, z.ZodObject<{
344
+ summary: z.ZodString;
345
+ imageReadback: z.ZodString;
346
+ observations: z.ZodArray<z.ZodObject<{
347
+ status: z.ZodEnum<{
348
+ SATISFIED: "SATISFIED";
349
+ VIOLATED: "VIOLATED";
350
+ NOT_OBSERVABLE: "NOT_OBSERVABLE";
351
+ NOT_APPLICABLE: "NOT_APPLICABLE";
352
+ }>;
353
+ confidence: z.ZodEnum<{
354
+ CLEAR: "CLEAR";
355
+ UNCERTAIN: "UNCERTAIN";
356
+ }>;
357
+ observed: z.ZodString;
358
+ key: z.ZodString;
359
+ }, z.core.$strict>>;
360
+ }, z.core.$strict>]>;
361
+ export declare const LocalAgentImageReceiptSchema: z.ZodObject<{
362
+ protocol: z.ZodLiteral<"NVS_LOCAL_AGENT_IMAGE_V1">;
363
+ draftId: z.ZodUUID;
364
+ media: z.ZodObject<{
365
+ artifactId: z.ZodUUID;
366
+ representationId: z.ZodUUID;
367
+ checksumSha256: z.ZodString;
368
+ }, z.core.$strict>;
369
+ byteSize: z.ZodInt;
370
+ contentType: z.ZodLiteral<"image/png">;
371
+ width: z.ZodInt;
372
+ height: z.ZodInt;
373
+ }, z.core.$strict>;
374
+ export declare const LocalAgentReviewViewSchema: z.ZodObject<{
375
+ plan: z.ZodObject<{
376
+ protocol: z.ZodEnum<{
377
+ NVS_LOCAL_AGENT_REVIEW_V1: "NVS_LOCAL_AGENT_REVIEW_V1";
378
+ NVS_LOCAL_AGENT_REVIEW_V2: "NVS_LOCAL_AGENT_REVIEW_V2";
379
+ }>;
380
+ id: z.ZodUUID;
381
+ grantFingerprint: z.ZodString;
382
+ snapshot: z.ZodObject<{
383
+ basis: z.ZodObject<{
384
+ scope: typeof import("../director-proposal.js").DirectorScopeSchema;
385
+ target: typeof import("../review-intelligence.js").ReviewIntelligenceTargetSchema;
386
+ contextFingerprint: z.ZodString;
387
+ }, z.core.$strict>;
388
+ productionRevision: z.ZodInt;
389
+ reviewVersion: z.ZodInt;
390
+ executionClass: z.ZodEnum<{
391
+ LIVE: "LIVE";
392
+ TEST_ONLY: "TEST_ONLY";
393
+ }>;
394
+ media: z.ZodObject<{
395
+ artifactId: z.ZodUUID;
396
+ representationId: z.ZodUUID;
397
+ checksumSha256: z.ZodString;
398
+ }, z.core.$strict>;
399
+ requirements: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
400
+ intentPath: z.ZodOptional<z.ZodString>;
401
+ key: z.ZodString;
402
+ expected: z.ZodString;
403
+ enforcement: z.ZodEnum<{
404
+ LOCKED: "LOCKED";
405
+ REQUIRED: "REQUIRED";
406
+ PREFERRED: "PREFERRED";
407
+ }>;
408
+ }, z.core.$strict>, z.ZodObject<{
409
+ intentPath: z.ZodOptional<z.ZodString>;
410
+ continuity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
411
+ kind: z.ZodLiteral<"STATE">;
412
+ mode: z.ZodEnum<{
413
+ PRESERVE: "PRESERVE";
414
+ PLANNED_TRANSITIONS: "PLANNED_TRANSITIONS";
415
+ }>;
416
+ entry: z.ZodString;
417
+ exit: z.ZodString;
418
+ changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
419
+ atPermille: z.ZodInt;
420
+ from: z.ZodString;
421
+ to: z.ZodString;
422
+ reason: z.ZodString;
423
+ }, z.core.$strict>>>;
424
+ }, z.core.$strict>, z.ZodObject<{
425
+ kind: z.ZodLiteral<"TIME">;
426
+ mode: z.ZodEnum<{
427
+ MONOTONIC: "MONOTONIC";
428
+ PLANNED_JUMPS: "PLANNED_JUMPS";
429
+ }>;
430
+ entryMs: z.ZodInt;
431
+ exitMs: z.ZodInt;
432
+ jumps: z.ZodOptional<z.ZodArray<z.ZodObject<{
433
+ atPermille: z.ZodInt;
434
+ fromMs: z.ZodInt;
435
+ toMs: z.ZodInt;
436
+ reason: z.ZodString;
437
+ }, z.core.$strict>>>;
438
+ }, z.core.$strict>], "kind">>;
439
+ interval: z.ZodOptional<z.ZodObject<{
440
+ startMs: z.ZodInt;
441
+ endMs: z.ZodInt;
442
+ }, z.core.$strict>>;
443
+ key: z.ZodString;
444
+ family: z.ZodEnum<{
445
+ PRODUCT_IDENTITY: "PRODUCT_IDENTITY";
446
+ CHARACTER_IDENTITY: "CHARACTER_IDENTITY";
447
+ WARDROBE: "WARDROBE";
448
+ LOCATION: "LOCATION";
449
+ STYLE: "STYLE";
450
+ SHOT_INTENT: "SHOT_INTENT";
451
+ BOUNDARY_CONTINUITY: "BOUNDARY_CONTINUITY";
452
+ SOUND: "SOUND";
453
+ }>;
454
+ expected: z.ZodString;
455
+ enforcement: z.ZodEnum<{
456
+ LOCKED: "LOCKED";
457
+ REQUIRED: "REQUIRED";
458
+ PREFERRED: "PREFERRED";
459
+ }>;
460
+ evidenceWindow: z.ZodEnum<{
461
+ START: "START";
462
+ END: "END";
463
+ WHOLE_VIDEO: "WHOLE_VIDEO";
464
+ TEMPORAL: "TEMPORAL";
465
+ }>;
466
+ }, z.core.$strict>, z.ZodObject<{
467
+ continuity: z.ZodOptional<typeof import("../continuity-evaluation.js").ContinuityExpectationSchema>;
468
+ consistencyScale: z.ZodOptional<typeof import("../continuity-evaluation.js").ConsistencyReviewScaleSchema>;
469
+ consistencyFamily: z.ZodOptional<z.ZodEnum<{
470
+ PRODUCT_IDENTITY: "PRODUCT_IDENTITY";
471
+ CHARACTER_IDENTITY: "CHARACTER_IDENTITY";
472
+ WARDROBE: "WARDROBE";
473
+ LOCATION: "LOCATION";
474
+ STYLE: "STYLE";
475
+ BOUNDARY_CONTINUITY: "BOUNDARY_CONTINUITY";
476
+ }>>;
477
+ consistencySubject: z.ZodOptional<typeof import("../consistency-profile.js").ConsistencySubjectSchema>;
478
+ consistencyReference: z.ZodOptional<typeof import("../consistency-profile.js").ConsistencyMasterReferenceSchema>;
479
+ key: z.ZodString;
480
+ dimension: z.ZodEnum<{
481
+ PRODUCT_PRESENTATION: "PRODUCT_PRESENTATION";
482
+ CANONICAL_FACT: "CANONICAL_FACT";
483
+ NARRATIVE: "NARRATIVE";
484
+ PACING: "PACING";
485
+ REPETITION: "REPETITION";
486
+ STYLE: "STYLE";
487
+ TECHNICAL: "TECHNICAL";
488
+ TRANSITION: "TRANSITION";
489
+ }>;
490
+ expected: z.ZodString;
491
+ enforcement: z.ZodEnum<{
492
+ LOCKED: "LOCKED";
493
+ REQUIRED: "REQUIRED";
494
+ PREFERRED: "PREFERRED";
495
+ }>;
496
+ scope: z.ZodEnum<{
497
+ PRODUCTION: "PRODUCTION";
498
+ TRANSITION: "TRANSITION";
499
+ }>;
500
+ interval: typeof import("../rough-cut-review.js").ReviewIntervalSchema;
501
+ shotIds: z.ZodArray<z.ZodUUID>;
502
+ }, z.core.$strict>]>>;
503
+ evidence: z.ZodOptional<z.ZodObject<{
504
+ profile: z.ZodLiteral<"NVS_AGENT_DERIVED_EVIDENCE_V1">;
505
+ contentType: z.ZodEnum<{
506
+ "image/png": "image/png";
507
+ "image/jpeg": "image/jpeg";
508
+ "image/webp": "image/webp";
509
+ "video/mp4": "video/mp4";
510
+ }>;
511
+ byteSize: z.ZodInt;
512
+ width: z.ZodInt;
513
+ height: z.ZodInt;
514
+ durationMs: z.ZodOptional<z.ZodInt>;
515
+ frameRate: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>>;
516
+ hasAudio: z.ZodOptional<z.ZodBoolean>;
517
+ }, z.core.$strict>>;
518
+ image: z.ZodOptional<z.ZodObject<{
519
+ contentType: z.ZodLiteral<"image/png">;
520
+ byteSize: z.ZodInt;
521
+ width: z.ZodInt;
522
+ height: z.ZodInt;
523
+ }, z.core.$strict>>;
524
+ }, z.core.$strict>;
525
+ expiresAt: z.ZodISODateTime;
526
+ fingerprint: z.ZodString;
527
+ }, z.core.$strict>;
528
+ revision: z.ZodInt;
529
+ phase: z.ZodEnum<{
530
+ RUNNING: "RUNNING";
531
+ UNKNOWN: "UNKNOWN";
532
+ PREPARED: "PREPARED";
533
+ RESULT_PENDING: "RESULT_PENDING";
534
+ }>;
535
+ answer: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
536
+ summary: z.ZodString;
537
+ observations: z.ZodArray<z.ZodObject<{
538
+ key: z.ZodString;
539
+ observed: z.ZodString;
540
+ }, z.core.$strict>>;
541
+ }, z.core.$strict>, z.ZodObject<{
542
+ summary: z.ZodString;
543
+ imageReadback: z.ZodString;
544
+ observations: z.ZodArray<z.ZodObject<{
545
+ status: z.ZodEnum<{
546
+ SATISFIED: "SATISFIED";
547
+ VIOLATED: "VIOLATED";
548
+ NOT_OBSERVABLE: "NOT_OBSERVABLE";
549
+ NOT_APPLICABLE: "NOT_APPLICABLE";
550
+ }>;
551
+ confidence: z.ZodEnum<{
552
+ CLEAR: "CLEAR";
553
+ UNCERTAIN: "UNCERTAIN";
554
+ }>;
555
+ observed: z.ZodString;
556
+ key: z.ZodString;
557
+ }, z.core.$strict>>;
558
+ }, z.core.$strict>]>>;
559
+ imageReceipt: z.ZodOptional<z.ZodObject<{
560
+ protocol: z.ZodLiteral<"NVS_LOCAL_AGENT_IMAGE_V1">;
561
+ draftId: z.ZodUUID;
562
+ media: z.ZodObject<{
563
+ artifactId: z.ZodUUID;
564
+ representationId: z.ZodUUID;
565
+ checksumSha256: z.ZodString;
566
+ }, z.core.$strict>;
567
+ byteSize: z.ZodInt;
568
+ contentType: z.ZodLiteral<"image/png">;
569
+ width: z.ZodInt;
570
+ height: z.ZodInt;
571
+ }, z.core.$strict>>;
572
+ evidenceReceipt: z.ZodOptional<z.ZodObject<{
573
+ protocol: z.ZodLiteral<"NVS_AGENT_DERIVED_EVIDENCE_V1">;
574
+ draftId: z.ZodUUID;
575
+ media: z.ZodObject<{
576
+ artifactId: z.ZodUUID;
577
+ representationId: z.ZodUUID;
578
+ checksumSha256: z.ZodString;
579
+ }, z.core.$strict>;
580
+ ffmpegDigest: z.ZodString;
581
+ ffprobeDigest: z.ZodString;
582
+ attachment: z.ZodObject<{
583
+ checksumSha256: z.ZodString;
584
+ byteSize: z.ZodInt;
585
+ width: z.ZodInt;
586
+ height: z.ZodInt;
587
+ }, z.core.$strict>;
588
+ timestampsMs: z.ZodArray<z.ZodNumber>;
589
+ audio: z.ZodNullable<z.ZodObject<{
590
+ sampleRateHz: z.ZodLiteral<48000>;
591
+ channels: z.ZodLiteral<1>;
592
+ samples: z.ZodInt;
593
+ peak: z.ZodNumber;
594
+ rms: z.ZodNumber;
595
+ clippedSamples: z.ZodInt;
596
+ }, z.core.$strict>>;
597
+ limitations: z.ZodTuple<[z.ZodLiteral<"SAMPLED_FRAMES_ARE_NOT_FULL_PLAYBACK">, z.ZodLiteral<"AUDIO_STATISTICS_ARE_NOT_LISTENING_OR_TRANSCRIPTION">], null>;
598
+ }, z.core.$strict>>;
599
+ provenance: z.ZodObject<{
600
+ adapter: z.ZodEnum<{
601
+ CODEX_METADATA_V1: "CODEX_METADATA_V1";
602
+ CODEX_MEDIA_V2: "CODEX_MEDIA_V2";
603
+ }>;
604
+ binaryDigest: z.ZodString;
605
+ version: z.ZodEnum<{
606
+ "0.164.0": "0.164.0";
607
+ "0.165.0": "0.165.0";
608
+ }>;
609
+ model: z.ZodString;
610
+ reasoningEffort: z.ZodOptional<z.ZodEnum<{
611
+ medium: "medium";
612
+ low: "low";
613
+ high: "high";
614
+ xhigh: "xhigh";
615
+ }>>;
616
+ reviewerLabel: z.ZodString;
617
+ inference: z.ZodLiteral<"REMOTE_OPENAI">;
618
+ evidence: z.ZodEnum<{
619
+ IMAGE_PIXELS: "IMAGE_PIXELS";
620
+ VIDEO_FRAMES: "VIDEO_FRAMES";
621
+ METADATA_ONLY: "METADATA_ONLY";
622
+ }>;
623
+ }, z.core.$strict>;
624
+ }, z.core.$strict>;
625
+ export type LocalAgentGrant = z.infer<typeof LocalAgentGrantSchema>;
626
+ export type LocalAgentSnapshot = z.infer<typeof LocalAgentSnapshotSchema>;
627
+ export type LocalAgentAnswer = z.infer<typeof LocalAgentAnswerSchema>;
628
+ export type LocalAgentReviewView = z.infer<typeof LocalAgentReviewViewSchema>;
629
+ export declare function localAgentSnapshotFromContext(raw: unknown, includeImage?: boolean): {
630
+ basis: {
631
+ scope: {
632
+ tenantId: string & z.core.$brand<"TenantId">;
633
+ projectId: string & z.core.$brand<"ProjectId">;
634
+ productionId: string & z.core.$brand<"ProductionId">;
635
+ };
636
+ target: {
637
+ kind: "IMAGE";
638
+ generationId: string;
639
+ } | {
640
+ kind: "VIDEO";
641
+ generationId: string;
642
+ } | {
643
+ kind: "ROUGH_CUT";
644
+ renderId: string;
645
+ } | {
646
+ kind: "PROGRAMMATIC";
647
+ renderId: string;
648
+ };
649
+ contextFingerprint: string;
650
+ };
651
+ productionRevision: number;
652
+ reviewVersion: number;
653
+ executionClass: "LIVE" | "TEST_ONLY";
654
+ media: {
655
+ artifactId: string;
656
+ representationId: string;
657
+ checksumSha256: string;
658
+ };
659
+ requirements: ({
660
+ key: string;
661
+ dimension: "TRANSITION" | "STYLE" | "PRODUCT_PRESENTATION" | "CANONICAL_FACT" | "NARRATIVE" | "PACING" | "REPETITION" | "TECHNICAL";
662
+ expected: string;
663
+ enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
664
+ scope: "TRANSITION" | "PRODUCTION";
665
+ interval: {
666
+ startMs: number;
667
+ endMs: number;
668
+ };
669
+ shotIds: string[];
670
+ continuity?: {
671
+ kind: "STATE";
672
+ mode: "PRESERVE" | "PLANNED_TRANSITIONS";
673
+ entry: string;
674
+ exit: string;
675
+ changes?: {
676
+ atPermille: number;
677
+ from: string;
678
+ to: string;
679
+ reason: string;
680
+ }[] | undefined;
681
+ } | {
682
+ kind: "TIME";
683
+ mode: "MONOTONIC" | "PLANNED_JUMPS";
684
+ entryMs: number;
685
+ exitMs: number;
686
+ jumps?: {
687
+ atPermille: number;
688
+ fromMs: number;
689
+ toMs: number;
690
+ reason: string;
691
+ }[] | undefined;
692
+ } | undefined;
693
+ consistencyScale?: "INTRA_SHOT" | "INTER_SHOT" | "PRODUCTION" | undefined;
694
+ consistencyFamily?: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "BOUNDARY_CONTINUITY" | undefined;
695
+ consistencySubject?: {
696
+ id: string;
697
+ kind: "CHARACTER" | "VOICE";
698
+ displayName: string;
699
+ facts: {
700
+ dimension: string;
701
+ value: string;
702
+ }[];
703
+ master: {
704
+ artifactId: string & z.core.$brand<"ArtifactId">;
705
+ representationId: string & z.core.$brand<"ArtifactRepresentationId">;
706
+ checksumSha256: string;
707
+ artifactChecksumSha256: string;
708
+ contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
709
+ };
710
+ } | undefined;
711
+ consistencyReference?: {
712
+ artifactId: string & z.core.$brand<"ArtifactId">;
713
+ representationId: string & z.core.$brand<"ArtifactRepresentationId">;
714
+ checksumSha256: string;
715
+ artifactChecksumSha256: string;
716
+ contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
717
+ } | undefined;
718
+ } | {
719
+ key: string;
720
+ family: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "SHOT_INTENT" | "BOUNDARY_CONTINUITY" | "SOUND";
721
+ expected: string;
722
+ enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
723
+ evidenceWindow: "START" | "END" | "WHOLE_VIDEO" | "TEMPORAL";
724
+ intentPath?: string | undefined;
725
+ continuity?: {
726
+ kind: "STATE";
727
+ mode: "PRESERVE" | "PLANNED_TRANSITIONS";
728
+ entry: string;
729
+ exit: string;
730
+ changes?: {
731
+ atPermille: number;
732
+ from: string;
733
+ to: string;
734
+ reason: string;
735
+ }[] | undefined;
736
+ } | {
737
+ kind: "TIME";
738
+ mode: "MONOTONIC" | "PLANNED_JUMPS";
739
+ entryMs: number;
740
+ exitMs: number;
741
+ jumps?: {
742
+ atPermille: number;
743
+ fromMs: number;
744
+ toMs: number;
745
+ reason: string;
746
+ }[] | undefined;
747
+ } | undefined;
748
+ interval?: {
749
+ startMs: number;
750
+ endMs: number;
751
+ } | undefined;
752
+ } | {
753
+ key: string;
754
+ expected: string;
755
+ enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
756
+ intentPath?: string | undefined;
757
+ })[];
758
+ evidence?: {
759
+ profile: "NVS_AGENT_DERIVED_EVIDENCE_V1";
760
+ contentType: "image/png" | "image/jpeg" | "image/webp" | "video/mp4";
761
+ byteSize: number;
762
+ width: number;
763
+ height: number;
764
+ durationMs?: number | undefined;
765
+ frameRate?: 30 | 24 | undefined;
766
+ hasAudio?: boolean | undefined;
767
+ } | undefined;
768
+ image?: {
769
+ contentType: "image/png";
770
+ byteSize: number;
771
+ width: number;
772
+ height: number;
773
+ } | undefined;
774
+ };
775
+ export declare function localAgentNativeProposal(raw: unknown): {
776
+ basis: {
777
+ scope: {
778
+ tenantId: string & z.core.$brand<"TenantId">;
779
+ projectId: string & z.core.$brand<"ProjectId">;
780
+ productionId: string & z.core.$brand<"ProductionId">;
781
+ };
782
+ target: {
783
+ kind: "IMAGE";
784
+ generationId: string;
785
+ } | {
786
+ kind: "VIDEO";
787
+ generationId: string;
788
+ } | {
789
+ kind: "ROUGH_CUT";
790
+ renderId: string;
791
+ } | {
792
+ kind: "PROGRAMMATIC";
793
+ renderId: string;
794
+ };
795
+ contextFingerprint: string;
796
+ };
797
+ proposal: {
798
+ origin: {
799
+ kind: "EXTERNAL_AGENT_HOST";
800
+ label: string;
801
+ };
802
+ summary: string;
803
+ evidence: ({
804
+ kind: "METADATA";
805
+ id: string;
806
+ label: string;
807
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
808
+ media: {
809
+ artifactId: string;
810
+ representationId: string;
811
+ checksumSha256: string;
812
+ };
813
+ } | {
814
+ kind: "IMAGE_PIXELS";
815
+ id: string;
816
+ label: string;
817
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
818
+ media: {
819
+ artifactId: string;
820
+ representationId: string;
821
+ checksumSha256: string;
822
+ };
823
+ } | {
824
+ kind: "REGISTERED_TEMPORAL_FRAMES";
825
+ reference: {
826
+ evidenceId: string;
827
+ frameSetArtifactId: string;
828
+ contactSheetArtifactId: string;
829
+ manifestRepresentationId: string;
830
+ sheetRepresentationId: string;
831
+ planFingerprint: string;
832
+ sourceArtifactId: string;
833
+ sourceRepresentationId: string;
834
+ sourceChecksumSha256: string;
835
+ timestampsMs: number[];
836
+ executionClass: "LIVE" | "TEST_ONLY";
837
+ };
838
+ id: string;
839
+ label: string;
840
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
841
+ media: {
842
+ artifactId: string;
843
+ representationId: string;
844
+ checksumSha256: string;
845
+ };
846
+ } | {
847
+ kind: "VIDEO_PLAYBACK";
848
+ coverage: {
849
+ startMs: number;
850
+ endMs: number;
851
+ }[];
852
+ id: string;
853
+ label: string;
854
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
855
+ media: {
856
+ artifactId: string;
857
+ representationId: string;
858
+ checksumSha256: string;
859
+ };
860
+ } | {
861
+ kind: "AUDIO_LISTENING";
862
+ coverage: {
863
+ startMs: number;
864
+ endMs: number;
865
+ }[];
866
+ id: string;
867
+ label: string;
868
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
869
+ media: {
870
+ artifactId: string;
871
+ representationId: string;
872
+ checksumSha256: string;
873
+ };
874
+ } | {
875
+ kind: "VIDEO_WITH_AUDIO_PLAYBACK";
876
+ coverage: {
877
+ startMs: number;
878
+ endMs: number;
879
+ }[];
880
+ id: string;
881
+ label: string;
882
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
883
+ media: {
884
+ artifactId: string;
885
+ representationId: string;
886
+ checksumSha256: string;
887
+ };
888
+ } | {
889
+ kind: "VIDEO_FRAMES";
890
+ timestampsMs: number[];
891
+ id: string;
892
+ label: string;
893
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
894
+ media: {
895
+ artifactId: string;
896
+ representationId: string;
897
+ checksumSha256: string;
898
+ };
899
+ })[];
900
+ review: {
901
+ kind: "IMAGE";
902
+ observations: {
903
+ key: string;
904
+ status: "SATISFIED" | "VIOLATED" | "NOT_OBSERVABLE" | "NOT_APPLICABLE";
905
+ confidence: "CLEAR" | "UNCERTAIN";
906
+ observed: string;
907
+ evidenceIds: string[];
908
+ region?: {
909
+ x: number;
910
+ y: number;
911
+ width: number;
912
+ height: number;
913
+ } | undefined;
914
+ }[];
915
+ } | {
916
+ kind: "VIDEO";
917
+ observations: {
918
+ key: string;
919
+ status: "SATISFIED" | "VIOLATED" | "NOT_OBSERVABLE" | "NOT_APPLICABLE";
920
+ confidence: "CLEAR" | "UNCERTAIN";
921
+ observed: string;
922
+ evidenceIds: string[];
923
+ listeningEvidenceIds?: string[] | undefined;
924
+ continuitySamples?: {
925
+ atMs: number;
926
+ state?: string | undefined;
927
+ storyTimeMs?: number | undefined;
928
+ }[] | undefined;
929
+ temporalEvidenceIds?: string[] | undefined;
930
+ interval?: {
931
+ startMs: number;
932
+ endMs: number;
933
+ } | undefined;
934
+ }[];
935
+ } | {
936
+ kind: "PROGRAMMATIC";
937
+ observations: {
938
+ key: string;
939
+ status: "SATISFIED" | "VIOLATED" | "NOT_OBSERVABLE" | "NOT_APPLICABLE";
940
+ confidence: "CLEAR" | "UNCERTAIN";
941
+ observed: string;
942
+ evidenceIds: string[];
943
+ listeningEvidenceIds?: string[] | undefined;
944
+ continuitySamples?: {
945
+ atMs: number;
946
+ state?: string | undefined;
947
+ storyTimeMs?: number | undefined;
948
+ }[] | undefined;
949
+ temporalEvidenceIds?: string[] | undefined;
950
+ interval?: {
951
+ startMs: number;
952
+ endMs: number;
953
+ } | undefined;
954
+ }[];
955
+ } | {
956
+ kind: "ROUGH_CUT";
957
+ observations: {
958
+ key: string;
959
+ status: "SATISFIED" | "VIOLATED" | "NOT_OBSERVABLE" | "NOT_APPLICABLE";
960
+ confidence: "CLEAR" | "UNCERTAIN";
961
+ observed: string;
962
+ interval: {
963
+ startMs: number;
964
+ endMs: number;
965
+ };
966
+ evidenceIds: string[];
967
+ listeningEvidenceIds?: string[] | undefined;
968
+ continuitySamples?: {
969
+ atMs: number;
970
+ state?: string | undefined;
971
+ storyTimeMs?: number | undefined;
972
+ }[] | undefined;
973
+ temporalEvidenceIds?: string[] | undefined;
974
+ location?: {
975
+ interval: {
976
+ startMs: number;
977
+ endMs: number;
978
+ };
979
+ shotIds: string[];
980
+ } | undefined;
981
+ }[];
982
+ inspection: {
983
+ actor: "HUMAN" | "EXTERNAL_AGENT";
984
+ method: "FULL_TEMPORAL_INSPECTION";
985
+ coverage: {
986
+ startMs: number;
987
+ endMs: number;
988
+ }[];
989
+ };
990
+ };
991
+ };
992
+ };