@nativestudio/sdk 0.3.0-rc.2 → 0.3.0-rc.20

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 (282) hide show
  1. package/COMPATIBILITY.json +4 -4
  2. package/LICENSE +201 -21
  3. package/dist/_chunks/chunk-3Q24IPBK.js +1 -0
  4. package/dist/_chunks/chunk-AFUVP2DC.js +1 -0
  5. package/dist/_chunks/chunk-D3KLEDOI.js +1 -0
  6. package/dist/_chunks/chunk-GJULDJSV.js +1 -0
  7. package/dist/_chunks/chunk-O6YL4JVI.js +1 -0
  8. package/dist/_chunks/chunk-OHONXDFL.js +1 -0
  9. package/dist/_chunks/chunk-QVP4AMRJ.js +1 -0
  10. package/dist/_chunks/chunk-S64F3WZK.js +1 -0
  11. package/dist/_chunks/chunk-SXZY76XB.js +1 -0
  12. package/dist/_chunks/chunk-TT7IA5HB.js +1 -0
  13. package/dist/_chunks/chunk-V636KA7B.js +1 -0
  14. package/dist/_chunks/chunk-VI7HPZJC.js +1 -0
  15. package/dist/_chunks/chunk-XNROPEWC.js +1 -0
  16. package/dist/_types/contracts/agent-execution-lifecycle.d.ts +55 -43
  17. package/dist/_types/contracts/agent-execution-oauth.d.ts +2 -2
  18. package/dist/_types/contracts/agent-execution-registration.d.ts +59 -15
  19. package/dist/_types/contracts/agent-execution-selection.d.ts +7 -7
  20. package/dist/_types/contracts/agent-host-contract.d.ts +189 -0
  21. package/dist/_types/contracts/agent-host-execution.d.ts +92 -61
  22. package/dist/_types/contracts/agent-host-generic-transport.d.ts +4 -4
  23. package/dist/_types/contracts/agent-host-legacy-release.d.ts +31 -0
  24. package/dist/_types/contracts/agent-host-protocol.d.ts +71 -0
  25. package/dist/_types/contracts/agent-host-wire.d.ts +263 -0
  26. package/dist/_types/contracts/agent-host.d.ts +126 -65
  27. package/dist/_types/contracts/artifact-discovery.d.ts +143 -11
  28. package/dist/_types/contracts/audio.d.ts +166 -0
  29. package/dist/_types/contracts/component-status.d.ts +241 -0
  30. package/dist/_types/contracts/composition-authoring.d.ts +8 -8
  31. package/dist/_types/contracts/composition-frame-render.d.ts +4 -4
  32. package/dist/_types/contracts/composition-observation.d.ts +1 -1
  33. package/dist/_types/contracts/composition-render-base.d.ts +5 -4
  34. package/dist/_types/contracts/composition-render.d.ts +8 -8
  35. package/dist/_types/contracts/composition-repair.d.ts +10 -10
  36. package/dist/_types/contracts/composition-source-review.d.ts +13 -13
  37. package/dist/_types/contracts/consistency-profile.d.ts +102 -6
  38. package/dist/_types/contracts/continuity-evaluation.d.ts +1 -1
  39. package/dist/_types/contracts/delivery-completion.d.ts +1 -1
  40. package/dist/_types/contracts/delivery-manifest.d.ts +25 -11729
  41. package/dist/_types/contracts/delivery-operations.d.ts +207 -3915
  42. package/dist/_types/contracts/delivery-summary.d.ts +4 -4
  43. package/dist/_types/contracts/delivery-validation.d.ts +25 -2
  44. package/dist/_types/contracts/device-onboarding.d.ts +35 -0
  45. package/dist/_types/contracts/device-render.d.ts +113 -0
  46. package/dist/_types/contracts/editor-intelligence.d.ts +392 -2531
  47. package/dist/_types/contracts/enterprise-brand.d.ts +302 -0
  48. package/dist/_types/contracts/exploration-recommendation.d.ts +263 -11607
  49. package/dist/_types/contracts/external-agent-access.d.ts +4 -6
  50. package/dist/_types/contracts/federation-event-link-receiver.d.ts +200 -0
  51. package/dist/_types/contracts/federation-event-link.d.ts +485 -0
  52. package/dist/_types/contracts/federation-result.d.ts +239 -0
  53. package/dist/_types/contracts/final-ready.d.ts +24 -24
  54. package/dist/_types/contracts/final-render.d.ts +1742 -6949
  55. package/dist/_types/contracts/human-identity.d.ts +13 -0
  56. package/dist/_types/contracts/human-links.d.ts +58 -0
  57. package/dist/_types/contracts/index.d.ts +26 -0
  58. package/dist/_types/contracts/interface/common.d.ts +18 -0
  59. package/dist/_types/contracts/interface/execution-output.d.ts +9 -6
  60. package/dist/_types/contracts/interface/media-output.d.ts +118 -0
  61. package/dist/_types/contracts/interface/operation.d.ts +30 -0
  62. package/dist/_types/contracts/interface/production-snapshot.d.ts +81 -199
  63. package/dist/_types/contracts/interface/query.d.ts +60 -0
  64. package/dist/_types/contracts/keyframe-generation.d.ts +31 -2
  65. package/dist/_types/contracts/keyframe-review.d.ts +7 -7
  66. package/dist/_types/contracts/lifecycle-event-projections.d.ts +17 -2
  67. package/dist/_types/contracts/lifecycle-events.d.ts +54 -2
  68. package/dist/_types/contracts/local-execution/agent-component-status.d.ts +109 -0
  69. package/dist/_types/contracts/local-execution/agent-context.d.ts +385 -0
  70. package/dist/_types/contracts/local-execution/agent-evidence.d.ts +79 -0
  71. package/dist/_types/contracts/local-execution/agent-grant.d.ts +31 -0
  72. package/dist/_types/contracts/local-execution/agent-review.d.ts +529 -71
  73. package/dist/_types/contracts/local-execution/audio-profile.d.ts +6 -0
  74. package/dist/_types/contracts/local-execution/common.d.ts +12 -11
  75. package/dist/_types/contracts/local-execution/completion.d.ts +41 -45
  76. package/dist/_types/contracts/local-execution/components.d.ts +45 -0
  77. package/dist/_types/contracts/local-execution/cpu-preparation.d.ts +46 -0
  78. package/dist/_types/contracts/local-execution/cpu-resources.d.ts +55 -0
  79. package/dist/_types/contracts/local-execution/cpu-speech-job.d.ts +70 -0
  80. package/dist/_types/contracts/local-execution/cpu-speech.d.ts +161 -0
  81. package/dist/_types/contracts/local-execution/descriptor.d.ts +38 -0
  82. package/dist/_types/contracts/local-execution/device-authority.d.ts +31 -0
  83. package/dist/_types/contracts/local-execution/device-inventory.d.ts +108 -0
  84. package/dist/_types/contracts/local-execution/device-workspace.d.ts +11 -0
  85. package/dist/_types/contracts/local-execution/device.d.ts +24 -55
  86. package/dist/_types/contracts/local-execution/enrollment-credential.d.ts +141 -0
  87. package/dist/_types/contracts/local-execution/enrollment-handoff.d.ts +44 -0
  88. package/dist/_types/contracts/local-execution/external-generation.d.ts +199 -0
  89. package/dist/_types/contracts/local-execution/index.d.ts +36 -0
  90. package/dist/_types/contracts/local-execution/ipc.d.ts +2809 -231
  91. package/dist/_types/contracts/local-execution/library-command.d.ts +620 -0
  92. package/dist/_types/contracts/local-execution/library-result.d.ts +428 -0
  93. package/dist/_types/contracts/local-execution/library.d.ts +873 -0
  94. package/dist/_types/contracts/local-execution/lifecycle.d.ts +262 -48
  95. package/dist/_types/contracts/local-execution/local-navigation.d.ts +304 -67
  96. package/dist/_types/contracts/local-execution/management.d.ts +407 -0
  97. package/dist/_types/contracts/local-execution/media-recipe.d.ts +207 -0
  98. package/dist/_types/contracts/local-execution/media-validation-request.d.ts +232 -0
  99. package/dist/_types/contracts/local-execution/media-validation.d.ts +262 -0
  100. package/dist/_types/contracts/local-execution/object-transfer.d.ts +155 -0
  101. package/dist/_types/contracts/local-execution/offline.d.ts +59 -0
  102. package/dist/_types/contracts/local-execution/preview.d.ts +177 -3561
  103. package/dist/_types/contracts/local-execution/processor-capability.d.ts +49 -0
  104. package/dist/_types/contracts/local-execution/processor-direct.d.ts +290 -0
  105. package/dist/_types/contracts/local-execution/processor-recipes.d.ts +1194 -0
  106. package/dist/_types/contracts/local-execution/processor-toolchain.d.ts +47 -0
  107. package/dist/_types/contracts/local-execution/processor.d.ts +6424 -0
  108. package/dist/_types/contracts/local-execution/project-source-direct.d.ts +201 -0
  109. package/dist/_types/contracts/local-execution/qwen-tts.d.ts +31 -0
  110. package/dist/_types/contracts/local-execution/recognition.d.ts +170 -0
  111. package/dist/_types/contracts/local-execution/speech.d.ts +95 -0
  112. package/dist/_types/contracts/local-execution/tool-selection.d.ts +71 -5
  113. package/dist/_types/contracts/local-execution/whisper.d.ts +24 -0
  114. package/dist/_types/contracts/local-execution/work.d.ts +124 -3402
  115. package/dist/_types/contracts/local-execution/workspace.d.ts +141 -0
  116. package/dist/_types/contracts/mcp-capabilities.d.ts +16 -0
  117. package/dist/_types/contracts/media-category.d.ts +11 -0
  118. package/dist/_types/contracts/media-observation.d.ts +930 -9
  119. package/dist/_types/contracts/native-speech-model.d.ts +53 -0
  120. package/dist/_types/contracts/native-speech-options.d.ts +25 -0
  121. package/dist/_types/contracts/native-tool-authority.d.ts +25 -21
  122. package/dist/_types/contracts/native-tool-execution.d.ts +60 -39
  123. package/dist/_types/contracts/navigation-context.d.ts +28 -8
  124. package/dist/_types/contracts/navigation-groups.d.ts +2 -2
  125. package/dist/_types/contracts/navigation.d.ts +78 -25
  126. package/dist/_types/contracts/observation-profile.d.ts +3 -3
  127. package/dist/_types/contracts/production-creation.d.ts +30 -0
  128. package/dist/_types/contracts/production-feedback.d.ts +452 -0
  129. package/dist/_types/contracts/production.d.ts +30 -0
  130. package/dist/_types/contracts/programmatic-composition.d.ts +24 -24
  131. package/dist/_types/contracts/programmatic-exploration.d.ts +362 -5999
  132. package/dist/_types/contracts/programmatic-video-review.d.ts +5 -5
  133. package/dist/_types/contracts/project-library.d.ts +30 -0
  134. package/dist/_types/contracts/project.d.ts +30 -0
  135. package/dist/_types/contracts/provider-catalog.d.ts +3 -3
  136. package/dist/_types/contracts/provider-models.d.ts +209 -8
  137. package/dist/_types/contracts/provider.d.ts +66 -1
  138. package/dist/_types/contracts/reference-preview.d.ts +20 -0
  139. package/dist/_types/contracts/render-readiness.d.ts +175 -0
  140. package/dist/_types/contracts/repair-lifecycle.d.ts +64 -396
  141. package/dist/_types/contracts/repair-plan.d.ts +18 -100
  142. package/dist/_types/contracts/repair-strategy.d.ts +163 -4478
  143. package/dist/_types/contracts/review-intelligence-final-output.d.ts +418 -8150
  144. package/dist/_types/contracts/review-intelligence.d.ts +455 -11423
  145. package/dist/_types/contracts/review1-repair-source.d.ts +6 -6
  146. package/dist/_types/contracts/review1-repair-strategy.d.ts +4 -4
  147. package/dist/_types/contracts/rough-cut-manifest.d.ts +27 -7
  148. package/dist/_types/contracts/rough-cut-profile.d.ts +12 -3
  149. package/dist/_types/contracts/rough-cut-review.d.ts +144 -12495
  150. package/dist/_types/contracts/rough-cut.d.ts +1170 -5673
  151. package/dist/_types/contracts/series-canon.d.ts +97 -0
  152. package/dist/_types/contracts/series-character.d.ts +23 -0
  153. package/dist/_types/contracts/series-improvement.d.ts +1639 -0
  154. package/dist/_types/contracts/series-standard.d.ts +1641 -0
  155. package/dist/_types/contracts/shares.d.ts +135 -0
  156. package/dist/_types/contracts/shot-preparation-basis.d.ts +2 -2
  157. package/dist/_types/contracts/shot-preparation.d.ts +4 -4
  158. package/dist/_types/contracts/sound-making-plan.d.ts +210 -2
  159. package/dist/_types/contracts/speech-cost.d.ts +96 -0
  160. package/dist/_types/contracts/speech-parameters.d.ts +39 -0
  161. package/dist/_types/contracts/speech.d.ts +603 -23
  162. package/dist/_types/contracts/temporal-evidence-operation.d.ts +2 -1
  163. package/dist/_types/contracts/timeline-audio.d.ts +20 -4
  164. package/dist/_types/contracts/timeline-manifest.d.ts +40 -8
  165. package/dist/_types/contracts/timeline-source-sound.d.ts +42 -4
  166. package/dist/_types/contracts/timeline-v2.d.ts +124 -16
  167. package/dist/_types/contracts/timeline-version-reader.d.ts +288 -40
  168. package/dist/_types/contracts/timeline-visual-layers.d.ts +124 -16
  169. package/dist/_types/contracts/timeline.d.ts +50 -4850
  170. package/dist/_types/contracts/transcription.d.ts +1 -1
  171. package/dist/_types/contracts/video-generation.d.ts +35 -2
  172. package/dist/_types/contracts/video-review.d.ts +7 -7
  173. package/dist/_types/contracts/visual-exploration.d.ts +3 -3
  174. package/dist/_types/contracts/visual-layer-render.d.ts +298 -47
  175. package/dist/_types/contracts/visual-sequence.d.ts +22 -0
  176. package/dist/_types/contracts/voice-consistency.d.ts +183 -0
  177. package/dist/_types/contracts/voice-profile/contracts.d.ts +821 -0
  178. package/dist/_types/contracts/voice-profile/identity.d.ts +27 -0
  179. package/dist/_types/contracts/voice-profile/interface.d.ts +89 -0
  180. package/dist/_types/contracts/voice-profile/reference.d.ts +106 -0
  181. package/dist/_types/contracts/voice-review.d.ts +1194 -0
  182. package/dist/_types/contracts/workspace.d.ts +83 -0
  183. package/dist/_types/sdk/account.d.ts +13 -0
  184. package/dist/_types/sdk/auxiliary-media.d.ts +1 -0
  185. package/dist/_types/sdk/catalog/agent-host-execution.d.ts +324 -112
  186. package/dist/_types/sdk/catalog/agent-host.d.ts +222 -70
  187. package/dist/_types/sdk/catalog/assembly.d.ts +26 -37628
  188. package/dist/_types/sdk/catalog/audio-caption.d.ts +126 -22
  189. package/dist/_types/sdk/catalog/canonical-repair.d.ts +132 -132
  190. package/dist/_types/sdk/catalog/carriers.d.ts +59 -0
  191. package/dist/_types/sdk/catalog/composition-source.d.ts +14 -14
  192. package/dist/_types/sdk/catalog/composition.d.ts +17 -2813
  193. package/dist/_types/sdk/catalog/core.d.ts +528 -18
  194. package/dist/_types/sdk/catalog/delivery.d.ts +12 -14167
  195. package/dist/_types/sdk/catalog/device-library.d.ts +1024 -0
  196. package/dist/_types/sdk/catalog/device-management.d.ts +921 -0
  197. package/dist/_types/sdk/catalog/discovery.d.ts +38 -4
  198. package/dist/_types/sdk/catalog/editor.d.ts +23 -6538
  199. package/dist/_types/sdk/catalog/enterprise-brand.d.ts +462 -0
  200. package/dist/_types/sdk/catalog/federation.d.ts +3981 -0
  201. package/dist/_types/sdk/catalog/generation.d.ts +284 -8
  202. package/dist/_types/sdk/catalog/imported-visual.d.ts +246 -816
  203. package/dist/_types/sdk/catalog/keyframe-review.d.ts +10 -10
  204. package/dist/_types/sdk/catalog/lifecycle-events.d.ts +440 -14
  205. package/dist/_types/sdk/catalog/mcp.d.ts +112 -7
  206. package/dist/_types/sdk/catalog/media-descriptors.d.ts +214 -11
  207. package/dist/_types/sdk/catalog/media-observation.d.ts +1031 -14
  208. package/dist/_types/sdk/catalog/native-tool-authority.d.ts +54 -24
  209. package/dist/_types/sdk/catalog/navigation.d.ts +293 -24
  210. package/dist/_types/sdk/catalog/planning-intelligence.d.ts +136 -8
  211. package/dist/_types/sdk/catalog/programmatic-exploration.d.ts +327 -9853
  212. package/dist/_types/sdk/catalog/programmatic-review.d.ts +8 -8
  213. package/dist/_types/sdk/catalog/provider.d.ts +394 -20
  214. package/dist/_types/sdk/catalog/reference-preview.d.ts +58 -30
  215. package/dist/_types/sdk/catalog/repair-strategy.d.ts +180 -8914
  216. package/dist/_types/sdk/catalog/reviewer.d.ts +276 -23131
  217. package/dist/_types/sdk/catalog/series-standard.d.ts +5402 -0
  218. package/dist/_types/sdk/catalog/shares.d.ts +305 -0
  219. package/dist/_types/sdk/catalog/shot-preparation.d.ts +51 -2972
  220. package/dist/_types/sdk/catalog/sound-making-plan.d.ts +6 -1776
  221. package/dist/_types/sdk/catalog/source-sync.d.ts +8 -498
  222. package/dist/_types/sdk/catalog/spec.d.ts +10 -2
  223. package/dist/_types/sdk/catalog/speech.d.ts +856 -4
  224. package/dist/_types/sdk/catalog/temporal-evidence.d.ts +4 -2
  225. package/dist/_types/sdk/catalog/video-review.d.ts +10 -10
  226. package/dist/_types/sdk/catalog/visual-exploration.d.ts +556 -440
  227. package/dist/_types/sdk/catalog/voice-profile.d.ts +1547 -0
  228. package/dist/_types/sdk/catalog/voice-review.d.ts +1125 -0
  229. package/dist/_types/sdk/client.d.ts +30 -3
  230. package/dist/_types/sdk/desktop-previews.d.ts +3 -3
  231. package/dist/_types/sdk/desktop-releases.d.ts +2 -2
  232. package/dist/_types/sdk/device-enrollment-handoff.d.ts +249 -0
  233. package/dist/_types/sdk/device-renders.d.ts +3751 -0
  234. package/dist/_types/sdk/direct-source.d.ts +147 -0
  235. package/dist/_types/sdk/errors.d.ts +9 -3
  236. package/dist/_types/sdk/federation-notice-result.d.ts +22 -0
  237. package/dist/_types/sdk/feedback-observer.d.ts +10 -0
  238. package/dist/_types/sdk/host-protocol.d.ts +8 -0
  239. package/dist/_types/sdk/image-media.d.ts +2 -2
  240. package/dist/_types/sdk/immutable-media.d.ts +24 -0
  241. package/dist/_types/sdk/index.d.ts +16 -1
  242. package/dist/_types/sdk/local-runtime/components.d.ts +2 -0
  243. package/dist/_types/sdk/local-runtime/device-client.d.ts +181 -19
  244. package/dist/_types/sdk/local-runtime/library.d.ts +268 -0
  245. package/dist/_types/sdk/local-runtime/workspace.d.ts +186 -0
  246. package/dist/_types/sdk/local-runtime-client.d.ts +1934 -96
  247. package/dist/_types/sdk/mcp-client.d.ts +13 -5
  248. package/dist/_types/sdk/mcp-discovery.d.ts +14 -0
  249. package/dist/_types/sdk/mcp-image.d.ts +4 -4
  250. package/dist/_types/sdk/mcp-port.d.ts +73 -0
  251. package/dist/_types/sdk/media.d.ts +11 -9
  252. package/dist/_types/sdk/navigation-client.d.ts +56 -122
  253. package/dist/_types/sdk/navigation-facade.d.ts +88 -14
  254. package/dist/_types/sdk/observe.d.ts +13 -0
  255. package/dist/_types/sdk/runtime-authority.d.ts +18 -8
  256. package/dist/_types/sdk/transport/http.d.ts +2 -0
  257. package/dist/_types/sdk/webhook-receiver.d.ts +38 -0
  258. package/dist/account.js +1 -1
  259. package/dist/errors.js +1 -1
  260. package/dist/host-protocol.d.ts +1 -0
  261. package/dist/host-protocol.js +1 -0
  262. package/dist/index.d.ts +2 -2
  263. package/dist/index.js +1 -1
  264. package/dist/local-runtime.js +1 -1
  265. package/dist/mcp-discovery.d.ts +1 -0
  266. package/dist/mcp-discovery.js +1 -0
  267. package/dist/native/helper.exe +0 -0
  268. package/dist/native/helper.json +1 -0
  269. package/dist/runtime-authority.js +1 -1
  270. package/package.json +10 -8
  271. package/README.md +0 -75
  272. package/dist/_chunks/chunk-34KSWLCI.js +0 -1
  273. package/dist/_chunks/chunk-4IOFVNFG.js +0 -1
  274. package/dist/_chunks/chunk-4M3AGNTZ.js +0 -1
  275. package/dist/_chunks/chunk-6NVIN2NI.js +0 -1
  276. package/dist/_chunks/chunk-7YCEMDNZ.js +0 -1
  277. package/dist/native/Bootstrap.ps1 +0 -90
  278. package/dist/native/JobNative.cs +0 -127
  279. package/dist/native/JobRunner.cs +0 -360
  280. package/dist/native/NativeMain.cs +0 -146
  281. package/dist/native/PipeBridge.cs +0 -260
  282. package/dist/native/PrivateAccess.cs +0 -152
@@ -1,11 +1,274 @@
1
1
  import { z } from "zod";
2
+ import { LocalIdSchema, LocalRevisionSchema } from "./common.js";
2
3
  export declare const LocalExecutionListInputSchema: z.ZodObject<{
3
- tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
4
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
4
+ tenantId: z.ZodUUID;
5
+ projectId: z.ZodUUID;
5
6
  after: z.ZodDefault<z.ZodNullable<z.ZodString>>;
6
7
  limit: z.ZodDefault<z.ZodInt>;
8
+ includeCompleted: z.ZodOptional<z.ZodBoolean>;
9
+ includeProgress: z.ZodOptional<z.ZodBoolean>;
10
+ }, z.core.$strict>;
11
+ export declare const LocalExecutionInspectInputSchema: z.ZodObject<{
12
+ tenantId: z.ZodUUID;
13
+ projectId: z.ZodUUID;
14
+ productionId: z.ZodUUID;
15
+ runtimeJobId: z.ZodUUID;
16
+ includeProgress: z.ZodOptional<z.ZodBoolean>;
7
17
  }, z.core.$strict>;
8
18
  export declare const LocalIpcCallSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
19
+ operation: z.ZodLiteral<"library.capability">;
20
+ }, z.core.$strict>, z.ZodObject<{
21
+ operation: z.ZodLiteral<"library.call">;
22
+ input: z.ZodDiscriminatedUnion<[z.ZodObject<{
23
+ tenantId: z.ZodUUID;
24
+ after: z.ZodDefault<z.ZodNullable<z.ZodString>>;
25
+ limit: z.ZodDefault<z.ZodInt>;
26
+ projectId: z.ZodOptional<z.ZodUUID>;
27
+ deviceId: z.ZodUUID;
28
+ ownerKey: z.ZodOptional<z.ZodString>;
29
+ search: z.ZodOptional<z.ZodString>;
30
+ mediaCategory: z.ZodOptional<z.ZodEnum<{
31
+ IMAGE: "IMAGE";
32
+ VIDEO: "VIDEO";
33
+ AUDIO: "AUDIO";
34
+ DOCUMENT: "DOCUMENT";
35
+ }>>;
36
+ action: z.ZodLiteral<"list">;
37
+ }, z.core.$strict>, z.ZodObject<{
38
+ reference: z.ZodObject<{
39
+ tenantId: z.ZodUUID;
40
+ projectId: z.ZodUUID;
41
+ fileId: z.ZodUUID;
42
+ versionId: z.ZodUUID;
43
+ checksumSha256: z.ZodString;
44
+ byteSize: z.ZodInt;
45
+ contentType: z.ZodEnum<{
46
+ "application/json": "application/json";
47
+ "application/pdf": "application/pdf";
48
+ "application/octet-stream": "application/octet-stream";
49
+ "text/plain": "text/plain";
50
+ "image/png": "image/png";
51
+ "image/jpeg": "image/jpeg";
52
+ "image/webp": "image/webp";
53
+ "audio/wav": "audio/wav";
54
+ "video/mp4": "video/mp4";
55
+ }>;
56
+ deviceId: z.ZodUUID;
57
+ }, z.core.$strict>;
58
+ ownerKey: z.ZodOptional<z.ZodString>;
59
+ action: z.ZodLiteral<"get">;
60
+ }, z.core.$strict>, z.ZodObject<{
61
+ search: z.ZodOptional<z.ZodString>;
62
+ tenantId: z.ZodUUID;
63
+ limit: z.ZodDefault<z.ZodInt>;
64
+ after: z.ZodDefault<z.ZodNullable<z.ZodString>>;
65
+ deviceId: z.ZodUUID;
66
+ mediaCategory: z.ZodOptional<z.ZodEnum<{
67
+ IMAGE: "IMAGE";
68
+ VIDEO: "VIDEO";
69
+ AUDIO: "AUDIO";
70
+ DOCUMENT: "DOCUMENT";
71
+ }>>;
72
+ projectId: z.ZodUUID;
73
+ action: z.ZodLiteral<"scoped-list">;
74
+ }, z.core.$strict>, z.ZodObject<{
75
+ action: z.ZodLiteral<"scoped-get">;
76
+ reference: z.ZodObject<{
77
+ tenantId: z.ZodUUID;
78
+ projectId: z.ZodUUID;
79
+ fileId: z.ZodUUID;
80
+ versionId: z.ZodUUID;
81
+ checksumSha256: z.ZodString;
82
+ byteSize: z.ZodInt;
83
+ contentType: z.ZodEnum<{
84
+ "application/json": "application/json";
85
+ "application/pdf": "application/pdf";
86
+ "application/octet-stream": "application/octet-stream";
87
+ "text/plain": "text/plain";
88
+ "image/png": "image/png";
89
+ "image/jpeg": "image/jpeg";
90
+ "image/webp": "image/webp";
91
+ "audio/wav": "audio/wav";
92
+ "video/mp4": "video/mp4";
93
+ }>;
94
+ deviceId: z.ZodUUID;
95
+ }, z.core.$strict>;
96
+ }, z.core.$strict>, z.ZodObject<{
97
+ action: z.ZodLiteral<"usage">;
98
+ ownerKey: z.ZodOptional<z.ZodString>;
99
+ }, z.core.$strict>, z.ZodObject<{
100
+ reference: z.ZodObject<{
101
+ tenantId: z.ZodUUID;
102
+ projectId: z.ZodUUID;
103
+ fileId: z.ZodUUID;
104
+ versionId: z.ZodUUID;
105
+ checksumSha256: z.ZodString;
106
+ byteSize: z.ZodInt;
107
+ contentType: z.ZodEnum<{
108
+ "application/json": "application/json";
109
+ "application/pdf": "application/pdf";
110
+ "application/octet-stream": "application/octet-stream";
111
+ "text/plain": "text/plain";
112
+ "image/png": "image/png";
113
+ "image/jpeg": "image/jpeg";
114
+ "image/webp": "image/webp";
115
+ "audio/wav": "audio/wav";
116
+ "video/mp4": "video/mp4";
117
+ }>;
118
+ deviceId: z.ZodUUID;
119
+ }, z.core.$strict>;
120
+ ownerKey: z.ZodOptional<z.ZodString>;
121
+ offset: z.ZodInt;
122
+ length: z.ZodInt;
123
+ action: z.ZodLiteral<"read">;
124
+ }, z.core.$strict>, z.ZodObject<{
125
+ command: z.ZodObject<{
126
+ reference: z.ZodObject<{
127
+ tenantId: z.ZodUUID;
128
+ projectId: z.ZodUUID;
129
+ fileId: z.ZodUUID;
130
+ versionId: z.ZodUUID;
131
+ checksumSha256: z.ZodString;
132
+ byteSize: z.ZodInt;
133
+ contentType: z.ZodEnum<{
134
+ "application/json": "application/json";
135
+ "application/pdf": "application/pdf";
136
+ "application/octet-stream": "application/octet-stream";
137
+ "text/plain": "text/plain";
138
+ "image/png": "image/png";
139
+ "image/jpeg": "image/jpeg";
140
+ "image/webp": "image/webp";
141
+ "audio/wav": "audio/wav";
142
+ "video/mp4": "video/mp4";
143
+ }>;
144
+ deviceId: z.ZodUUID;
145
+ }, z.core.$strict>;
146
+ requestId: z.ZodUUID;
147
+ expectedRevision: z.ZodInt;
148
+ metadata: z.ZodNullable<z.ZodObject<{
149
+ label: z.ZodString;
150
+ }, z.core.$strict>>;
151
+ allowInspect: z.ZodBoolean;
152
+ allowPublish: z.ZodBoolean;
153
+ expiresAt: z.ZodISODateTime;
154
+ }, z.core.$strict>;
155
+ expectedLocalRevision: z.ZodInt;
156
+ ownerKey: z.ZodOptional<z.ZodString>;
157
+ action: z.ZodLiteral<"access">;
158
+ }, z.core.$strict>, z.ZodObject<{
159
+ reference: z.ZodObject<{
160
+ tenantId: z.ZodUUID;
161
+ projectId: z.ZodUUID;
162
+ fileId: z.ZodUUID;
163
+ versionId: z.ZodUUID;
164
+ checksumSha256: z.ZodString;
165
+ byteSize: z.ZodInt;
166
+ contentType: z.ZodEnum<{
167
+ "application/json": "application/json";
168
+ "application/pdf": "application/pdf";
169
+ "application/octet-stream": "application/octet-stream";
170
+ "text/plain": "text/plain";
171
+ "image/png": "image/png";
172
+ "image/jpeg": "image/jpeg";
173
+ "image/webp": "image/webp";
174
+ "audio/wav": "audio/wav";
175
+ "video/mp4": "video/mp4";
176
+ }>;
177
+ deviceId: z.ZodUUID;
178
+ }, z.core.$strict>;
179
+ requestId: z.ZodUUID;
180
+ action: z.ZodLiteral<"sync">;
181
+ ownerKey: z.ZodOptional<z.ZodString>;
182
+ }, z.core.$strict>, z.ZodObject<{
183
+ reference: z.ZodObject<{
184
+ tenantId: z.ZodUUID;
185
+ projectId: z.ZodUUID;
186
+ fileId: z.ZodUUID;
187
+ versionId: z.ZodUUID;
188
+ checksumSha256: z.ZodString;
189
+ byteSize: z.ZodInt;
190
+ contentType: z.ZodEnum<{
191
+ "application/json": "application/json";
192
+ "application/pdf": "application/pdf";
193
+ "application/octet-stream": "application/octet-stream";
194
+ "text/plain": "text/plain";
195
+ "image/png": "image/png";
196
+ "image/jpeg": "image/jpeg";
197
+ "image/webp": "image/webp";
198
+ "audio/wav": "audio/wav";
199
+ "video/mp4": "video/mp4";
200
+ }>;
201
+ deviceId: z.ZodUUID;
202
+ }, z.core.$strict>;
203
+ requestId: z.ZodUUID;
204
+ action: z.ZodLiteral<"resume-access">;
205
+ ownerKey: z.ZodOptional<z.ZodString>;
206
+ }, z.core.$strict>, z.ZodObject<{
207
+ tenantId: z.ZodUUID;
208
+ projectId: z.ZodUUID;
209
+ deviceId: z.ZodUUID;
210
+ requestId: z.ZodUUID;
211
+ ownerKey: z.ZodOptional<z.ZodString>;
212
+ action: z.ZodLiteral<"import-receipt">;
213
+ }, z.core.$strict>], "action">;
214
+ }, z.core.$strict>, z.ZodObject<{
215
+ operation: z.ZodLiteral<"agent.discover">;
216
+ binary: z.ZodOptional<z.ZodString>;
217
+ }, z.core.$strict>, z.ZodObject<{
218
+ operation: z.ZodLiteral<"offline.workspace">;
219
+ input: z.ZodDiscriminatedUnion<[z.ZodObject<{
220
+ action: z.ZodEnum<{
221
+ list: "list";
222
+ forget: "forget";
223
+ }>;
224
+ key: z.ZodString;
225
+ }, z.core.$strict>, z.ZodObject<{
226
+ action: z.ZodLiteral<"retain">;
227
+ key: z.ZodString;
228
+ snapshot: z.ZodObject<{
229
+ projectId: z.ZodUUID;
230
+ title: z.ZodString;
231
+ savedAt: z.ZodISODateTime;
232
+ expiresAt: z.ZodISODateTime;
233
+ productions: z.ZodArray<z.ZodObject<{
234
+ id: z.ZodUUID;
235
+ title: z.ZodString;
236
+ }, z.core.$strict>>;
237
+ possiblyTruncated: z.ZodBoolean;
238
+ }, z.core.$strict>;
239
+ }, z.core.$strict>, z.ZodObject<{
240
+ action: z.ZodLiteral<"draft">;
241
+ key: z.ZodString;
242
+ projectId: z.ZodUUID;
243
+ text: z.ZodString;
244
+ expectedRevision: z.ZodInt;
245
+ }, z.core.$strict>], "action">;
246
+ }, z.core.$strict>, z.ZodObject<{
247
+ operation: z.ZodLiteral<"workspace.inspect">;
248
+ }, z.core.$strict>, z.ZodObject<{
249
+ operation: z.ZodLiteral<"workspace.configure">;
250
+ policy: z.ZodObject<{
251
+ acceptNewWork: z.ZodDefault<z.ZodBoolean>;
252
+ mode: z.ZodDefault<z.ZodEnum<{
253
+ CONTINUOUS: "CONTINUOUS";
254
+ IDLE_ONLY: "IDLE_ONLY";
255
+ }>>;
256
+ idleAfterSeconds: z.ZodDefault<z.ZodInt>;
257
+ maxConcurrentJobs: z.ZodDefault<z.ZodInt>;
258
+ cpuCores: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
259
+ memoryMiB: z.ZodDefault<z.ZodInt>;
260
+ cacheQuotaBytes: z.ZodDefault<z.ZodInt>;
261
+ }, z.core.$strict>;
262
+ expectedRevision: z.ZodInt;
263
+ }, z.core.$strict>, z.ZodObject<{
264
+ operation: z.ZodLiteral<"workspace.activity">;
265
+ idleSeconds: z.ZodInt;
266
+ observedAt: z.ZodISODateTime;
267
+ }, z.core.$strict>, z.ZodObject<{
268
+ operation: z.ZodLiteral<"storage.clean">;
269
+ }, z.core.$strict>, z.ZodObject<{
270
+ operation: z.ZodLiteral<"diagnostics.read">;
271
+ }, z.core.$strict>, z.ZodObject<{
9
272
  operation: z.ZodLiteral<"agent.grant">;
10
273
  grant: z.ZodObject<{
11
274
  protocol: z.ZodLiteral<"NVS_CODEX_REVIEW_GRANT_V1">;
@@ -26,9 +289,10 @@ export declare const LocalIpcCallSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
26
289
  inference: z.ZodLiteral<"REMOTE_OPENAI">;
27
290
  remoteUseApproved: z.ZodLiteral<true>;
28
291
  imageDisclosureApproved: z.ZodOptional<z.ZodLiteral<true>>;
292
+ mediaDisclosureApproved: z.ZodOptional<z.ZodLiteral<true>>;
29
293
  projects: z.ZodArray<z.ZodObject<{
30
- tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
31
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
294
+ tenantId: z.ZodUUID;
295
+ projectId: z.ZodUUID;
32
296
  }, z.core.$strict>>;
33
297
  expiresAt: z.ZodISODateTime;
34
298
  }, z.core.$strict>;
@@ -42,16 +306,9 @@ export declare const LocalIpcCallSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
42
306
  operation: z.ZodLiteral<"agent.prepare">;
43
307
  snapshot: z.ZodObject<{
44
308
  basis: z.ZodObject<{
45
- scope: z.ZodObject<{
46
- tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
47
- projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
48
- productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
49
- }, z.core.$strict>;
309
+ scope: typeof import("../director-proposal.js").DirectorScopeSchema;
310
+ target: typeof import("../review-intelligence.js").ReviewIntelligenceTargetSchema;
50
311
  contextFingerprint: z.ZodString;
51
- target: z.ZodObject<{
52
- kind: z.ZodLiteral<"IMAGE">;
53
- generationId: z.ZodUUID;
54
- }, z.core.$strict>;
55
312
  }, z.core.$strict>;
56
313
  productionRevision: z.ZodInt;
57
314
  reviewVersion: z.ZodInt;
@@ -64,7 +321,7 @@ export declare const LocalIpcCallSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
64
321
  representationId: z.ZodUUID;
65
322
  checksumSha256: z.ZodString;
66
323
  }, z.core.$strict>;
67
- requirements: z.ZodArray<z.ZodObject<{
324
+ requirements: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
68
325
  intentPath: z.ZodOptional<z.ZodString>;
69
326
  key: z.ZodString;
70
327
  expected: z.ZodString;
@@ -73,6 +330,117 @@ export declare const LocalIpcCallSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
73
330
  REQUIRED: "REQUIRED";
74
331
  PREFERRED: "PREFERRED";
75
332
  }>;
333
+ }, z.core.$strict>, z.ZodObject<{
334
+ intentPath: z.ZodOptional<z.ZodString>;
335
+ continuity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
336
+ kind: z.ZodLiteral<"STATE">;
337
+ mode: z.ZodEnum<{
338
+ PRESERVE: "PRESERVE";
339
+ PLANNED_TRANSITIONS: "PLANNED_TRANSITIONS";
340
+ }>;
341
+ entry: z.ZodString;
342
+ exit: z.ZodString;
343
+ changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
344
+ atPermille: z.ZodInt;
345
+ from: z.ZodString;
346
+ to: z.ZodString;
347
+ reason: z.ZodString;
348
+ }, z.core.$strict>>>;
349
+ }, z.core.$strict>, z.ZodObject<{
350
+ kind: z.ZodLiteral<"TIME">;
351
+ mode: z.ZodEnum<{
352
+ MONOTONIC: "MONOTONIC";
353
+ PLANNED_JUMPS: "PLANNED_JUMPS";
354
+ }>;
355
+ entryMs: z.ZodInt;
356
+ exitMs: z.ZodInt;
357
+ jumps: z.ZodOptional<z.ZodArray<z.ZodObject<{
358
+ atPermille: z.ZodInt;
359
+ fromMs: z.ZodInt;
360
+ toMs: z.ZodInt;
361
+ reason: z.ZodString;
362
+ }, z.core.$strict>>>;
363
+ }, z.core.$strict>], "kind">>;
364
+ interval: z.ZodOptional<z.ZodObject<{
365
+ startMs: z.ZodInt;
366
+ endMs: z.ZodInt;
367
+ }, z.core.$strict>>;
368
+ key: z.ZodString;
369
+ family: z.ZodEnum<{
370
+ PRODUCT_IDENTITY: "PRODUCT_IDENTITY";
371
+ CHARACTER_IDENTITY: "CHARACTER_IDENTITY";
372
+ WARDROBE: "WARDROBE";
373
+ LOCATION: "LOCATION";
374
+ STYLE: "STYLE";
375
+ SHOT_INTENT: "SHOT_INTENT";
376
+ BOUNDARY_CONTINUITY: "BOUNDARY_CONTINUITY";
377
+ SOUND: "SOUND";
378
+ }>;
379
+ expected: z.ZodString;
380
+ enforcement: z.ZodEnum<{
381
+ LOCKED: "LOCKED";
382
+ REQUIRED: "REQUIRED";
383
+ PREFERRED: "PREFERRED";
384
+ }>;
385
+ evidenceWindow: z.ZodEnum<{
386
+ START: "START";
387
+ END: "END";
388
+ WHOLE_VIDEO: "WHOLE_VIDEO";
389
+ TEMPORAL: "TEMPORAL";
390
+ }>;
391
+ }, z.core.$strict>, z.ZodObject<{
392
+ voiceIdentity: z.ZodOptional<typeof import("../voice-consistency.js").VoiceRequirementGateSchema>;
393
+ continuity: z.ZodOptional<typeof import("../continuity-evaluation.js").ContinuityExpectationSchema>;
394
+ consistencyScale: z.ZodOptional<typeof import("../continuity-evaluation.js").ConsistencyReviewScaleSchema>;
395
+ consistencyFamily: z.ZodOptional<z.ZodEnum<{
396
+ PRODUCT_IDENTITY: "PRODUCT_IDENTITY";
397
+ CHARACTER_IDENTITY: "CHARACTER_IDENTITY";
398
+ WARDROBE: "WARDROBE";
399
+ LOCATION: "LOCATION";
400
+ STYLE: "STYLE";
401
+ BOUNDARY_CONTINUITY: "BOUNDARY_CONTINUITY";
402
+ VOICE_IDENTITY: "VOICE_IDENTITY";
403
+ }>>;
404
+ consistencySubject: z.ZodOptional<typeof import("../consistency-profile.js").ConsistencySubjectSchema>;
405
+ consistencyReference: z.ZodOptional<typeof import("../consistency-profile.js").ConsistencyMasterReferenceSchema>;
406
+ key: z.ZodString;
407
+ dimension: z.ZodEnum<{
408
+ PRODUCT_PRESENTATION: "PRODUCT_PRESENTATION";
409
+ CANONICAL_FACT: "CANONICAL_FACT";
410
+ NARRATIVE: "NARRATIVE";
411
+ PACING: "PACING";
412
+ REPETITION: "REPETITION";
413
+ STYLE: "STYLE";
414
+ TECHNICAL: "TECHNICAL";
415
+ TRANSITION: "TRANSITION";
416
+ }>;
417
+ expected: z.ZodString;
418
+ enforcement: z.ZodEnum<{
419
+ LOCKED: "LOCKED";
420
+ REQUIRED: "REQUIRED";
421
+ PREFERRED: "PREFERRED";
422
+ }>;
423
+ scope: z.ZodEnum<{
424
+ PRODUCTION: "PRODUCTION";
425
+ TRANSITION: "TRANSITION";
426
+ }>;
427
+ interval: typeof import("../rough-cut-review.js").ReviewIntervalSchema;
428
+ shotIds: z.ZodArray<z.ZodUUID>;
429
+ }, z.core.$strict>]>>;
430
+ evidence: z.ZodOptional<z.ZodObject<{
431
+ profile: z.ZodLiteral<"NVS_AGENT_DERIVED_EVIDENCE_V1">;
432
+ contentType: z.ZodEnum<{
433
+ "image/png": "image/png";
434
+ "image/jpeg": "image/jpeg";
435
+ "image/webp": "image/webp";
436
+ "video/mp4": "video/mp4";
437
+ }>;
438
+ byteSize: z.ZodInt;
439
+ width: z.ZodInt;
440
+ height: z.ZodInt;
441
+ durationMs: z.ZodOptional<z.ZodInt>;
442
+ frameRate: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>>;
443
+ hasAudio: z.ZodOptional<z.ZodBoolean>;
76
444
  }, z.core.$strict>>;
77
445
  image: z.ZodOptional<z.ZodObject<{
78
446
  contentType: z.ZodLiteral<"image/png">;
@@ -91,16 +459,15 @@ export declare const LocalIpcCallSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
91
459
  id: z.ZodUUID;
92
460
  }, z.core.$strict>, z.ZodObject<{
93
461
  operation: z.ZodLiteral<"runtime.status">;
462
+ includeDevice: z.ZodOptional<z.ZodLiteral<true>>;
94
463
  }, z.core.$strict>, z.ZodObject<{
95
464
  operation: z.ZodLiteral<"runtime.doctor">;
96
465
  }, z.core.$strict>, z.ZodObject<{
97
466
  operation: z.ZodLiteral<"runtime.inventory">;
98
467
  }, z.core.$strict>, z.ZodObject<{
99
468
  operation: z.ZodLiteral<"session.issue">;
100
- projects: z.ZodArray<z.ZodObject<{
101
- tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
102
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
103
- }, z.core.$strict>>;
469
+ tenantId: z.ZodUUID;
470
+ deviceId: z.ZodUUID;
104
471
  expiresAt: z.ZodISODateTime;
105
472
  }, z.core.$strict>, z.ZodObject<{
106
473
  operation: z.ZodLiteral<"runtime.stop">;
@@ -108,18 +475,21 @@ export declare const LocalIpcCallSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
108
475
  }, z.core.$strict>, z.ZodObject<{
109
476
  operation: z.ZodLiteral<"execution.inspect">;
110
477
  input: z.ZodObject<{
111
- tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
112
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
113
- productionId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
114
- runtimeJobId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
478
+ tenantId: z.ZodUUID;
479
+ projectId: z.ZodUUID;
480
+ productionId: z.ZodUUID;
481
+ runtimeJobId: z.ZodUUID;
482
+ includeProgress: z.ZodOptional<z.ZodBoolean>;
115
483
  }, z.core.$strict>;
116
484
  }, z.core.$strict>, z.ZodObject<{
117
485
  operation: z.ZodLiteral<"execution.list">;
118
486
  input: z.ZodObject<{
119
- tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
120
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
487
+ tenantId: z.ZodUUID;
488
+ projectId: z.ZodUUID;
121
489
  after: z.ZodDefault<z.ZodNullable<z.ZodString>>;
122
490
  limit: z.ZodDefault<z.ZodInt>;
491
+ includeCompleted: z.ZodOptional<z.ZodBoolean>;
492
+ includeProgress: z.ZodOptional<z.ZodBoolean>;
123
493
  }, z.core.$strict>;
124
494
  }, z.core.$strict>, z.ZodObject<{
125
495
  operation: z.ZodLiteral<"update.check">;
@@ -129,12 +499,265 @@ export declare const LocalIpcCallSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
129
499
  expectedRuntimeRevision: z.ZodInt;
130
500
  }, z.core.$strict>, z.ZodObject<{
131
501
  operation: z.ZodLiteral<"update.apply">;
132
- planId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
502
+ planId: z.ZodUUID;
133
503
  targetVersion: z.ZodString;
134
504
  expectedRuntimeRevision: z.ZodInt;
135
505
  }, z.core.$strict>], "operation">;
136
506
  export declare const LocalNextActionSchema: z.ZodObject<{
137
507
  call: z.ZodDiscriminatedUnion<[z.ZodObject<{
508
+ operation: z.ZodLiteral<"library.capability">;
509
+ }, z.core.$strict>, z.ZodObject<{
510
+ operation: z.ZodLiteral<"library.call">;
511
+ input: z.ZodDiscriminatedUnion<[z.ZodObject<{
512
+ tenantId: z.ZodUUID;
513
+ after: z.ZodDefault<z.ZodNullable<z.ZodString>>;
514
+ limit: z.ZodDefault<z.ZodInt>;
515
+ projectId: z.ZodOptional<z.ZodUUID>;
516
+ deviceId: z.ZodUUID;
517
+ ownerKey: z.ZodOptional<z.ZodString>;
518
+ search: z.ZodOptional<z.ZodString>;
519
+ mediaCategory: z.ZodOptional<z.ZodEnum<{
520
+ IMAGE: "IMAGE";
521
+ VIDEO: "VIDEO";
522
+ AUDIO: "AUDIO";
523
+ DOCUMENT: "DOCUMENT";
524
+ }>>;
525
+ action: z.ZodLiteral<"list">;
526
+ }, z.core.$strict>, z.ZodObject<{
527
+ reference: z.ZodObject<{
528
+ tenantId: z.ZodUUID;
529
+ projectId: z.ZodUUID;
530
+ fileId: z.ZodUUID;
531
+ versionId: z.ZodUUID;
532
+ checksumSha256: z.ZodString;
533
+ byteSize: z.ZodInt;
534
+ contentType: z.ZodEnum<{
535
+ "application/json": "application/json";
536
+ "application/pdf": "application/pdf";
537
+ "application/octet-stream": "application/octet-stream";
538
+ "text/plain": "text/plain";
539
+ "image/png": "image/png";
540
+ "image/jpeg": "image/jpeg";
541
+ "image/webp": "image/webp";
542
+ "audio/wav": "audio/wav";
543
+ "video/mp4": "video/mp4";
544
+ }>;
545
+ deviceId: z.ZodUUID;
546
+ }, z.core.$strict>;
547
+ ownerKey: z.ZodOptional<z.ZodString>;
548
+ action: z.ZodLiteral<"get">;
549
+ }, z.core.$strict>, z.ZodObject<{
550
+ search: z.ZodOptional<z.ZodString>;
551
+ tenantId: z.ZodUUID;
552
+ limit: z.ZodDefault<z.ZodInt>;
553
+ after: z.ZodDefault<z.ZodNullable<z.ZodString>>;
554
+ deviceId: z.ZodUUID;
555
+ mediaCategory: z.ZodOptional<z.ZodEnum<{
556
+ IMAGE: "IMAGE";
557
+ VIDEO: "VIDEO";
558
+ AUDIO: "AUDIO";
559
+ DOCUMENT: "DOCUMENT";
560
+ }>>;
561
+ projectId: z.ZodUUID;
562
+ action: z.ZodLiteral<"scoped-list">;
563
+ }, z.core.$strict>, z.ZodObject<{
564
+ action: z.ZodLiteral<"scoped-get">;
565
+ reference: z.ZodObject<{
566
+ tenantId: z.ZodUUID;
567
+ projectId: z.ZodUUID;
568
+ fileId: z.ZodUUID;
569
+ versionId: z.ZodUUID;
570
+ checksumSha256: z.ZodString;
571
+ byteSize: z.ZodInt;
572
+ contentType: z.ZodEnum<{
573
+ "application/json": "application/json";
574
+ "application/pdf": "application/pdf";
575
+ "application/octet-stream": "application/octet-stream";
576
+ "text/plain": "text/plain";
577
+ "image/png": "image/png";
578
+ "image/jpeg": "image/jpeg";
579
+ "image/webp": "image/webp";
580
+ "audio/wav": "audio/wav";
581
+ "video/mp4": "video/mp4";
582
+ }>;
583
+ deviceId: z.ZodUUID;
584
+ }, z.core.$strict>;
585
+ }, z.core.$strict>, z.ZodObject<{
586
+ action: z.ZodLiteral<"usage">;
587
+ ownerKey: z.ZodOptional<z.ZodString>;
588
+ }, z.core.$strict>, z.ZodObject<{
589
+ reference: z.ZodObject<{
590
+ tenantId: z.ZodUUID;
591
+ projectId: z.ZodUUID;
592
+ fileId: z.ZodUUID;
593
+ versionId: z.ZodUUID;
594
+ checksumSha256: z.ZodString;
595
+ byteSize: z.ZodInt;
596
+ contentType: z.ZodEnum<{
597
+ "application/json": "application/json";
598
+ "application/pdf": "application/pdf";
599
+ "application/octet-stream": "application/octet-stream";
600
+ "text/plain": "text/plain";
601
+ "image/png": "image/png";
602
+ "image/jpeg": "image/jpeg";
603
+ "image/webp": "image/webp";
604
+ "audio/wav": "audio/wav";
605
+ "video/mp4": "video/mp4";
606
+ }>;
607
+ deviceId: z.ZodUUID;
608
+ }, z.core.$strict>;
609
+ ownerKey: z.ZodOptional<z.ZodString>;
610
+ offset: z.ZodInt;
611
+ length: z.ZodInt;
612
+ action: z.ZodLiteral<"read">;
613
+ }, z.core.$strict>, z.ZodObject<{
614
+ command: z.ZodObject<{
615
+ reference: z.ZodObject<{
616
+ tenantId: z.ZodUUID;
617
+ projectId: z.ZodUUID;
618
+ fileId: z.ZodUUID;
619
+ versionId: z.ZodUUID;
620
+ checksumSha256: z.ZodString;
621
+ byteSize: z.ZodInt;
622
+ contentType: z.ZodEnum<{
623
+ "application/json": "application/json";
624
+ "application/pdf": "application/pdf";
625
+ "application/octet-stream": "application/octet-stream";
626
+ "text/plain": "text/plain";
627
+ "image/png": "image/png";
628
+ "image/jpeg": "image/jpeg";
629
+ "image/webp": "image/webp";
630
+ "audio/wav": "audio/wav";
631
+ "video/mp4": "video/mp4";
632
+ }>;
633
+ deviceId: z.ZodUUID;
634
+ }, z.core.$strict>;
635
+ requestId: z.ZodUUID;
636
+ expectedRevision: z.ZodInt;
637
+ metadata: z.ZodNullable<z.ZodObject<{
638
+ label: z.ZodString;
639
+ }, z.core.$strict>>;
640
+ allowInspect: z.ZodBoolean;
641
+ allowPublish: z.ZodBoolean;
642
+ expiresAt: z.ZodISODateTime;
643
+ }, z.core.$strict>;
644
+ expectedLocalRevision: z.ZodInt;
645
+ ownerKey: z.ZodOptional<z.ZodString>;
646
+ action: z.ZodLiteral<"access">;
647
+ }, z.core.$strict>, z.ZodObject<{
648
+ reference: z.ZodObject<{
649
+ tenantId: z.ZodUUID;
650
+ projectId: z.ZodUUID;
651
+ fileId: z.ZodUUID;
652
+ versionId: z.ZodUUID;
653
+ checksumSha256: z.ZodString;
654
+ byteSize: z.ZodInt;
655
+ contentType: z.ZodEnum<{
656
+ "application/json": "application/json";
657
+ "application/pdf": "application/pdf";
658
+ "application/octet-stream": "application/octet-stream";
659
+ "text/plain": "text/plain";
660
+ "image/png": "image/png";
661
+ "image/jpeg": "image/jpeg";
662
+ "image/webp": "image/webp";
663
+ "audio/wav": "audio/wav";
664
+ "video/mp4": "video/mp4";
665
+ }>;
666
+ deviceId: z.ZodUUID;
667
+ }, z.core.$strict>;
668
+ requestId: z.ZodUUID;
669
+ action: z.ZodLiteral<"sync">;
670
+ ownerKey: z.ZodOptional<z.ZodString>;
671
+ }, z.core.$strict>, z.ZodObject<{
672
+ reference: z.ZodObject<{
673
+ tenantId: z.ZodUUID;
674
+ projectId: z.ZodUUID;
675
+ fileId: z.ZodUUID;
676
+ versionId: z.ZodUUID;
677
+ checksumSha256: z.ZodString;
678
+ byteSize: z.ZodInt;
679
+ contentType: z.ZodEnum<{
680
+ "application/json": "application/json";
681
+ "application/pdf": "application/pdf";
682
+ "application/octet-stream": "application/octet-stream";
683
+ "text/plain": "text/plain";
684
+ "image/png": "image/png";
685
+ "image/jpeg": "image/jpeg";
686
+ "image/webp": "image/webp";
687
+ "audio/wav": "audio/wav";
688
+ "video/mp4": "video/mp4";
689
+ }>;
690
+ deviceId: z.ZodUUID;
691
+ }, z.core.$strict>;
692
+ requestId: z.ZodUUID;
693
+ action: z.ZodLiteral<"resume-access">;
694
+ ownerKey: z.ZodOptional<z.ZodString>;
695
+ }, z.core.$strict>, z.ZodObject<{
696
+ tenantId: z.ZodUUID;
697
+ projectId: z.ZodUUID;
698
+ deviceId: z.ZodUUID;
699
+ requestId: z.ZodUUID;
700
+ ownerKey: z.ZodOptional<z.ZodString>;
701
+ action: z.ZodLiteral<"import-receipt">;
702
+ }, z.core.$strict>], "action">;
703
+ }, z.core.$strict>, z.ZodObject<{
704
+ operation: z.ZodLiteral<"agent.discover">;
705
+ binary: z.ZodOptional<z.ZodString>;
706
+ }, z.core.$strict>, z.ZodObject<{
707
+ operation: z.ZodLiteral<"offline.workspace">;
708
+ input: z.ZodDiscriminatedUnion<[z.ZodObject<{
709
+ action: z.ZodEnum<{
710
+ list: "list";
711
+ forget: "forget";
712
+ }>;
713
+ key: z.ZodString;
714
+ }, z.core.$strict>, z.ZodObject<{
715
+ action: z.ZodLiteral<"retain">;
716
+ key: z.ZodString;
717
+ snapshot: z.ZodObject<{
718
+ projectId: z.ZodUUID;
719
+ title: z.ZodString;
720
+ savedAt: z.ZodISODateTime;
721
+ expiresAt: z.ZodISODateTime;
722
+ productions: z.ZodArray<z.ZodObject<{
723
+ id: z.ZodUUID;
724
+ title: z.ZodString;
725
+ }, z.core.$strict>>;
726
+ possiblyTruncated: z.ZodBoolean;
727
+ }, z.core.$strict>;
728
+ }, z.core.$strict>, z.ZodObject<{
729
+ action: z.ZodLiteral<"draft">;
730
+ key: z.ZodString;
731
+ projectId: z.ZodUUID;
732
+ text: z.ZodString;
733
+ expectedRevision: z.ZodInt;
734
+ }, z.core.$strict>], "action">;
735
+ }, z.core.$strict>, z.ZodObject<{
736
+ operation: z.ZodLiteral<"workspace.inspect">;
737
+ }, z.core.$strict>, z.ZodObject<{
738
+ operation: z.ZodLiteral<"workspace.configure">;
739
+ policy: z.ZodObject<{
740
+ acceptNewWork: z.ZodDefault<z.ZodBoolean>;
741
+ mode: z.ZodDefault<z.ZodEnum<{
742
+ CONTINUOUS: "CONTINUOUS";
743
+ IDLE_ONLY: "IDLE_ONLY";
744
+ }>>;
745
+ idleAfterSeconds: z.ZodDefault<z.ZodInt>;
746
+ maxConcurrentJobs: z.ZodDefault<z.ZodInt>;
747
+ cpuCores: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
748
+ memoryMiB: z.ZodDefault<z.ZodInt>;
749
+ cacheQuotaBytes: z.ZodDefault<z.ZodInt>;
750
+ }, z.core.$strict>;
751
+ expectedRevision: z.ZodInt;
752
+ }, z.core.$strict>, z.ZodObject<{
753
+ operation: z.ZodLiteral<"workspace.activity">;
754
+ idleSeconds: z.ZodInt;
755
+ observedAt: z.ZodISODateTime;
756
+ }, z.core.$strict>, z.ZodObject<{
757
+ operation: z.ZodLiteral<"storage.clean">;
758
+ }, z.core.$strict>, z.ZodObject<{
759
+ operation: z.ZodLiteral<"diagnostics.read">;
760
+ }, z.core.$strict>, z.ZodObject<{
138
761
  operation: z.ZodLiteral<"agent.grant">;
139
762
  grant: z.ZodObject<{
140
763
  protocol: z.ZodLiteral<"NVS_CODEX_REVIEW_GRANT_V1">;
@@ -155,9 +778,10 @@ export declare const LocalNextActionSchema: z.ZodObject<{
155
778
  inference: z.ZodLiteral<"REMOTE_OPENAI">;
156
779
  remoteUseApproved: z.ZodLiteral<true>;
157
780
  imageDisclosureApproved: z.ZodOptional<z.ZodLiteral<true>>;
781
+ mediaDisclosureApproved: z.ZodOptional<z.ZodLiteral<true>>;
158
782
  projects: z.ZodArray<z.ZodObject<{
159
- tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
160
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
783
+ tenantId: z.ZodUUID;
784
+ projectId: z.ZodUUID;
161
785
  }, z.core.$strict>>;
162
786
  expiresAt: z.ZodISODateTime;
163
787
  }, z.core.$strict>;
@@ -171,16 +795,9 @@ export declare const LocalNextActionSchema: z.ZodObject<{
171
795
  operation: z.ZodLiteral<"agent.prepare">;
172
796
  snapshot: z.ZodObject<{
173
797
  basis: z.ZodObject<{
174
- scope: z.ZodObject<{
175
- tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
176
- projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
177
- productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
178
- }, z.core.$strict>;
798
+ scope: typeof import("../director-proposal.js").DirectorScopeSchema;
799
+ target: typeof import("../review-intelligence.js").ReviewIntelligenceTargetSchema;
179
800
  contextFingerprint: z.ZodString;
180
- target: z.ZodObject<{
181
- kind: z.ZodLiteral<"IMAGE">;
182
- generationId: z.ZodUUID;
183
- }, z.core.$strict>;
184
801
  }, z.core.$strict>;
185
802
  productionRevision: z.ZodInt;
186
803
  reviewVersion: z.ZodInt;
@@ -193,7 +810,7 @@ export declare const LocalNextActionSchema: z.ZodObject<{
193
810
  representationId: z.ZodUUID;
194
811
  checksumSha256: z.ZodString;
195
812
  }, z.core.$strict>;
196
- requirements: z.ZodArray<z.ZodObject<{
813
+ requirements: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
197
814
  intentPath: z.ZodOptional<z.ZodString>;
198
815
  key: z.ZodString;
199
816
  expected: z.ZodString;
@@ -202,6 +819,117 @@ export declare const LocalNextActionSchema: z.ZodObject<{
202
819
  REQUIRED: "REQUIRED";
203
820
  PREFERRED: "PREFERRED";
204
821
  }>;
822
+ }, z.core.$strict>, z.ZodObject<{
823
+ intentPath: z.ZodOptional<z.ZodString>;
824
+ continuity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
825
+ kind: z.ZodLiteral<"STATE">;
826
+ mode: z.ZodEnum<{
827
+ PRESERVE: "PRESERVE";
828
+ PLANNED_TRANSITIONS: "PLANNED_TRANSITIONS";
829
+ }>;
830
+ entry: z.ZodString;
831
+ exit: z.ZodString;
832
+ changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
833
+ atPermille: z.ZodInt;
834
+ from: z.ZodString;
835
+ to: z.ZodString;
836
+ reason: z.ZodString;
837
+ }, z.core.$strict>>>;
838
+ }, z.core.$strict>, z.ZodObject<{
839
+ kind: z.ZodLiteral<"TIME">;
840
+ mode: z.ZodEnum<{
841
+ MONOTONIC: "MONOTONIC";
842
+ PLANNED_JUMPS: "PLANNED_JUMPS";
843
+ }>;
844
+ entryMs: z.ZodInt;
845
+ exitMs: z.ZodInt;
846
+ jumps: z.ZodOptional<z.ZodArray<z.ZodObject<{
847
+ atPermille: z.ZodInt;
848
+ fromMs: z.ZodInt;
849
+ toMs: z.ZodInt;
850
+ reason: z.ZodString;
851
+ }, z.core.$strict>>>;
852
+ }, z.core.$strict>], "kind">>;
853
+ interval: z.ZodOptional<z.ZodObject<{
854
+ startMs: z.ZodInt;
855
+ endMs: z.ZodInt;
856
+ }, z.core.$strict>>;
857
+ key: z.ZodString;
858
+ family: z.ZodEnum<{
859
+ PRODUCT_IDENTITY: "PRODUCT_IDENTITY";
860
+ CHARACTER_IDENTITY: "CHARACTER_IDENTITY";
861
+ WARDROBE: "WARDROBE";
862
+ LOCATION: "LOCATION";
863
+ STYLE: "STYLE";
864
+ SHOT_INTENT: "SHOT_INTENT";
865
+ BOUNDARY_CONTINUITY: "BOUNDARY_CONTINUITY";
866
+ SOUND: "SOUND";
867
+ }>;
868
+ expected: z.ZodString;
869
+ enforcement: z.ZodEnum<{
870
+ LOCKED: "LOCKED";
871
+ REQUIRED: "REQUIRED";
872
+ PREFERRED: "PREFERRED";
873
+ }>;
874
+ evidenceWindow: z.ZodEnum<{
875
+ START: "START";
876
+ END: "END";
877
+ WHOLE_VIDEO: "WHOLE_VIDEO";
878
+ TEMPORAL: "TEMPORAL";
879
+ }>;
880
+ }, z.core.$strict>, z.ZodObject<{
881
+ voiceIdentity: z.ZodOptional<typeof import("../voice-consistency.js").VoiceRequirementGateSchema>;
882
+ continuity: z.ZodOptional<typeof import("../continuity-evaluation.js").ContinuityExpectationSchema>;
883
+ consistencyScale: z.ZodOptional<typeof import("../continuity-evaluation.js").ConsistencyReviewScaleSchema>;
884
+ consistencyFamily: z.ZodOptional<z.ZodEnum<{
885
+ PRODUCT_IDENTITY: "PRODUCT_IDENTITY";
886
+ CHARACTER_IDENTITY: "CHARACTER_IDENTITY";
887
+ WARDROBE: "WARDROBE";
888
+ LOCATION: "LOCATION";
889
+ STYLE: "STYLE";
890
+ BOUNDARY_CONTINUITY: "BOUNDARY_CONTINUITY";
891
+ VOICE_IDENTITY: "VOICE_IDENTITY";
892
+ }>>;
893
+ consistencySubject: z.ZodOptional<typeof import("../consistency-profile.js").ConsistencySubjectSchema>;
894
+ consistencyReference: z.ZodOptional<typeof import("../consistency-profile.js").ConsistencyMasterReferenceSchema>;
895
+ key: z.ZodString;
896
+ dimension: z.ZodEnum<{
897
+ PRODUCT_PRESENTATION: "PRODUCT_PRESENTATION";
898
+ CANONICAL_FACT: "CANONICAL_FACT";
899
+ NARRATIVE: "NARRATIVE";
900
+ PACING: "PACING";
901
+ REPETITION: "REPETITION";
902
+ STYLE: "STYLE";
903
+ TECHNICAL: "TECHNICAL";
904
+ TRANSITION: "TRANSITION";
905
+ }>;
906
+ expected: z.ZodString;
907
+ enforcement: z.ZodEnum<{
908
+ LOCKED: "LOCKED";
909
+ REQUIRED: "REQUIRED";
910
+ PREFERRED: "PREFERRED";
911
+ }>;
912
+ scope: z.ZodEnum<{
913
+ PRODUCTION: "PRODUCTION";
914
+ TRANSITION: "TRANSITION";
915
+ }>;
916
+ interval: typeof import("../rough-cut-review.js").ReviewIntervalSchema;
917
+ shotIds: z.ZodArray<z.ZodUUID>;
918
+ }, z.core.$strict>]>>;
919
+ evidence: z.ZodOptional<z.ZodObject<{
920
+ profile: z.ZodLiteral<"NVS_AGENT_DERIVED_EVIDENCE_V1">;
921
+ contentType: z.ZodEnum<{
922
+ "image/png": "image/png";
923
+ "image/jpeg": "image/jpeg";
924
+ "image/webp": "image/webp";
925
+ "video/mp4": "video/mp4";
926
+ }>;
927
+ byteSize: z.ZodInt;
928
+ width: z.ZodInt;
929
+ height: z.ZodInt;
930
+ durationMs: z.ZodOptional<z.ZodInt>;
931
+ frameRate: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>>;
932
+ hasAudio: z.ZodOptional<z.ZodBoolean>;
205
933
  }, z.core.$strict>>;
206
934
  image: z.ZodOptional<z.ZodObject<{
207
935
  contentType: z.ZodLiteral<"image/png">;
@@ -220,16 +948,15 @@ export declare const LocalNextActionSchema: z.ZodObject<{
220
948
  id: z.ZodUUID;
221
949
  }, z.core.$strict>, z.ZodObject<{
222
950
  operation: z.ZodLiteral<"runtime.status">;
951
+ includeDevice: z.ZodOptional<z.ZodLiteral<true>>;
223
952
  }, z.core.$strict>, z.ZodObject<{
224
953
  operation: z.ZodLiteral<"runtime.doctor">;
225
954
  }, z.core.$strict>, z.ZodObject<{
226
955
  operation: z.ZodLiteral<"runtime.inventory">;
227
956
  }, z.core.$strict>, z.ZodObject<{
228
957
  operation: z.ZodLiteral<"session.issue">;
229
- projects: z.ZodArray<z.ZodObject<{
230
- tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
231
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
232
- }, z.core.$strict>>;
958
+ tenantId: z.ZodUUID;
959
+ deviceId: z.ZodUUID;
233
960
  expiresAt: z.ZodISODateTime;
234
961
  }, z.core.$strict>, z.ZodObject<{
235
962
  operation: z.ZodLiteral<"runtime.stop">;
@@ -237,18 +964,21 @@ export declare const LocalNextActionSchema: z.ZodObject<{
237
964
  }, z.core.$strict>, z.ZodObject<{
238
965
  operation: z.ZodLiteral<"execution.inspect">;
239
966
  input: z.ZodObject<{
240
- tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
241
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
242
- productionId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
243
- runtimeJobId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
967
+ tenantId: z.ZodUUID;
968
+ projectId: z.ZodUUID;
969
+ productionId: z.ZodUUID;
970
+ runtimeJobId: z.ZodUUID;
971
+ includeProgress: z.ZodOptional<z.ZodBoolean>;
244
972
  }, z.core.$strict>;
245
973
  }, z.core.$strict>, z.ZodObject<{
246
974
  operation: z.ZodLiteral<"execution.list">;
247
975
  input: z.ZodObject<{
248
- tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
249
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
976
+ tenantId: z.ZodUUID;
977
+ projectId: z.ZodUUID;
250
978
  after: z.ZodDefault<z.ZodNullable<z.ZodString>>;
251
979
  limit: z.ZodDefault<z.ZodInt>;
980
+ includeCompleted: z.ZodOptional<z.ZodBoolean>;
981
+ includeProgress: z.ZodOptional<z.ZodBoolean>;
252
982
  }, z.core.$strict>;
253
983
  }, z.core.$strict>, z.ZodObject<{
254
984
  operation: z.ZodLiteral<"update.check">;
@@ -258,7 +988,7 @@ export declare const LocalNextActionSchema: z.ZodObject<{
258
988
  expectedRuntimeRevision: z.ZodInt;
259
989
  }, z.core.$strict>, z.ZodObject<{
260
990
  operation: z.ZodLiteral<"update.apply">;
261
- planId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
991
+ planId: z.ZodUUID;
262
992
  targetVersion: z.ZodString;
263
993
  expectedRuntimeRevision: z.ZodInt;
264
994
  }, z.core.$strict>], "operation">;
@@ -268,8 +998,8 @@ export declare const LocalNextActionSchema: z.ZodObject<{
268
998
  }>;
269
999
  reason: z.ZodEnum<{
270
1000
  READY: "READY";
271
- INSTALL_REQUIRED: "INSTALL_REQUIRED";
272
1001
  AUTHORIZATION_REQUIRED: "AUTHORIZATION_REQUIRED";
1002
+ INSTALL_REQUIRED: "INSTALL_REQUIRED";
273
1003
  VERSION_INCOMPATIBLE: "VERSION_INCOMPATIBLE";
274
1004
  UPDATE_AVAILABLE: "UPDATE_AVAILABLE";
275
1005
  RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
@@ -277,8 +1007,261 @@ export declare const LocalNextActionSchema: z.ZodObject<{
277
1007
  }, z.core.$strict>;
278
1008
  export declare const LocalIpcRequestSchema: z.ZodObject<{
279
1009
  protocol: z.ZodLiteral<"NVS_LOCAL_IPC_V1">;
280
- requestId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
1010
+ requestId: z.ZodUUID;
281
1011
  call: z.ZodDiscriminatedUnion<[z.ZodObject<{
1012
+ operation: z.ZodLiteral<"library.capability">;
1013
+ }, z.core.$strict>, z.ZodObject<{
1014
+ operation: z.ZodLiteral<"library.call">;
1015
+ input: z.ZodDiscriminatedUnion<[z.ZodObject<{
1016
+ tenantId: z.ZodUUID;
1017
+ after: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1018
+ limit: z.ZodDefault<z.ZodInt>;
1019
+ projectId: z.ZodOptional<z.ZodUUID>;
1020
+ deviceId: z.ZodUUID;
1021
+ ownerKey: z.ZodOptional<z.ZodString>;
1022
+ search: z.ZodOptional<z.ZodString>;
1023
+ mediaCategory: z.ZodOptional<z.ZodEnum<{
1024
+ IMAGE: "IMAGE";
1025
+ VIDEO: "VIDEO";
1026
+ AUDIO: "AUDIO";
1027
+ DOCUMENT: "DOCUMENT";
1028
+ }>>;
1029
+ action: z.ZodLiteral<"list">;
1030
+ }, z.core.$strict>, z.ZodObject<{
1031
+ reference: z.ZodObject<{
1032
+ tenantId: z.ZodUUID;
1033
+ projectId: z.ZodUUID;
1034
+ fileId: z.ZodUUID;
1035
+ versionId: z.ZodUUID;
1036
+ checksumSha256: z.ZodString;
1037
+ byteSize: z.ZodInt;
1038
+ contentType: z.ZodEnum<{
1039
+ "application/json": "application/json";
1040
+ "application/pdf": "application/pdf";
1041
+ "application/octet-stream": "application/octet-stream";
1042
+ "text/plain": "text/plain";
1043
+ "image/png": "image/png";
1044
+ "image/jpeg": "image/jpeg";
1045
+ "image/webp": "image/webp";
1046
+ "audio/wav": "audio/wav";
1047
+ "video/mp4": "video/mp4";
1048
+ }>;
1049
+ deviceId: z.ZodUUID;
1050
+ }, z.core.$strict>;
1051
+ ownerKey: z.ZodOptional<z.ZodString>;
1052
+ action: z.ZodLiteral<"get">;
1053
+ }, z.core.$strict>, z.ZodObject<{
1054
+ search: z.ZodOptional<z.ZodString>;
1055
+ tenantId: z.ZodUUID;
1056
+ limit: z.ZodDefault<z.ZodInt>;
1057
+ after: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1058
+ deviceId: z.ZodUUID;
1059
+ mediaCategory: z.ZodOptional<z.ZodEnum<{
1060
+ IMAGE: "IMAGE";
1061
+ VIDEO: "VIDEO";
1062
+ AUDIO: "AUDIO";
1063
+ DOCUMENT: "DOCUMENT";
1064
+ }>>;
1065
+ projectId: z.ZodUUID;
1066
+ action: z.ZodLiteral<"scoped-list">;
1067
+ }, z.core.$strict>, z.ZodObject<{
1068
+ action: z.ZodLiteral<"scoped-get">;
1069
+ reference: z.ZodObject<{
1070
+ tenantId: z.ZodUUID;
1071
+ projectId: z.ZodUUID;
1072
+ fileId: z.ZodUUID;
1073
+ versionId: z.ZodUUID;
1074
+ checksumSha256: z.ZodString;
1075
+ byteSize: z.ZodInt;
1076
+ contentType: z.ZodEnum<{
1077
+ "application/json": "application/json";
1078
+ "application/pdf": "application/pdf";
1079
+ "application/octet-stream": "application/octet-stream";
1080
+ "text/plain": "text/plain";
1081
+ "image/png": "image/png";
1082
+ "image/jpeg": "image/jpeg";
1083
+ "image/webp": "image/webp";
1084
+ "audio/wav": "audio/wav";
1085
+ "video/mp4": "video/mp4";
1086
+ }>;
1087
+ deviceId: z.ZodUUID;
1088
+ }, z.core.$strict>;
1089
+ }, z.core.$strict>, z.ZodObject<{
1090
+ action: z.ZodLiteral<"usage">;
1091
+ ownerKey: z.ZodOptional<z.ZodString>;
1092
+ }, z.core.$strict>, z.ZodObject<{
1093
+ reference: z.ZodObject<{
1094
+ tenantId: z.ZodUUID;
1095
+ projectId: z.ZodUUID;
1096
+ fileId: z.ZodUUID;
1097
+ versionId: z.ZodUUID;
1098
+ checksumSha256: z.ZodString;
1099
+ byteSize: z.ZodInt;
1100
+ contentType: z.ZodEnum<{
1101
+ "application/json": "application/json";
1102
+ "application/pdf": "application/pdf";
1103
+ "application/octet-stream": "application/octet-stream";
1104
+ "text/plain": "text/plain";
1105
+ "image/png": "image/png";
1106
+ "image/jpeg": "image/jpeg";
1107
+ "image/webp": "image/webp";
1108
+ "audio/wav": "audio/wav";
1109
+ "video/mp4": "video/mp4";
1110
+ }>;
1111
+ deviceId: z.ZodUUID;
1112
+ }, z.core.$strict>;
1113
+ ownerKey: z.ZodOptional<z.ZodString>;
1114
+ offset: z.ZodInt;
1115
+ length: z.ZodInt;
1116
+ action: z.ZodLiteral<"read">;
1117
+ }, z.core.$strict>, z.ZodObject<{
1118
+ command: z.ZodObject<{
1119
+ reference: z.ZodObject<{
1120
+ tenantId: z.ZodUUID;
1121
+ projectId: z.ZodUUID;
1122
+ fileId: z.ZodUUID;
1123
+ versionId: z.ZodUUID;
1124
+ checksumSha256: z.ZodString;
1125
+ byteSize: z.ZodInt;
1126
+ contentType: z.ZodEnum<{
1127
+ "application/json": "application/json";
1128
+ "application/pdf": "application/pdf";
1129
+ "application/octet-stream": "application/octet-stream";
1130
+ "text/plain": "text/plain";
1131
+ "image/png": "image/png";
1132
+ "image/jpeg": "image/jpeg";
1133
+ "image/webp": "image/webp";
1134
+ "audio/wav": "audio/wav";
1135
+ "video/mp4": "video/mp4";
1136
+ }>;
1137
+ deviceId: z.ZodUUID;
1138
+ }, z.core.$strict>;
1139
+ requestId: z.ZodUUID;
1140
+ expectedRevision: z.ZodInt;
1141
+ metadata: z.ZodNullable<z.ZodObject<{
1142
+ label: z.ZodString;
1143
+ }, z.core.$strict>>;
1144
+ allowInspect: z.ZodBoolean;
1145
+ allowPublish: z.ZodBoolean;
1146
+ expiresAt: z.ZodISODateTime;
1147
+ }, z.core.$strict>;
1148
+ expectedLocalRevision: z.ZodInt;
1149
+ ownerKey: z.ZodOptional<z.ZodString>;
1150
+ action: z.ZodLiteral<"access">;
1151
+ }, z.core.$strict>, z.ZodObject<{
1152
+ reference: z.ZodObject<{
1153
+ tenantId: z.ZodUUID;
1154
+ projectId: z.ZodUUID;
1155
+ fileId: z.ZodUUID;
1156
+ versionId: z.ZodUUID;
1157
+ checksumSha256: z.ZodString;
1158
+ byteSize: z.ZodInt;
1159
+ contentType: z.ZodEnum<{
1160
+ "application/json": "application/json";
1161
+ "application/pdf": "application/pdf";
1162
+ "application/octet-stream": "application/octet-stream";
1163
+ "text/plain": "text/plain";
1164
+ "image/png": "image/png";
1165
+ "image/jpeg": "image/jpeg";
1166
+ "image/webp": "image/webp";
1167
+ "audio/wav": "audio/wav";
1168
+ "video/mp4": "video/mp4";
1169
+ }>;
1170
+ deviceId: z.ZodUUID;
1171
+ }, z.core.$strict>;
1172
+ requestId: z.ZodUUID;
1173
+ action: z.ZodLiteral<"sync">;
1174
+ ownerKey: z.ZodOptional<z.ZodString>;
1175
+ }, z.core.$strict>, z.ZodObject<{
1176
+ reference: z.ZodObject<{
1177
+ tenantId: z.ZodUUID;
1178
+ projectId: z.ZodUUID;
1179
+ fileId: z.ZodUUID;
1180
+ versionId: z.ZodUUID;
1181
+ checksumSha256: z.ZodString;
1182
+ byteSize: z.ZodInt;
1183
+ contentType: z.ZodEnum<{
1184
+ "application/json": "application/json";
1185
+ "application/pdf": "application/pdf";
1186
+ "application/octet-stream": "application/octet-stream";
1187
+ "text/plain": "text/plain";
1188
+ "image/png": "image/png";
1189
+ "image/jpeg": "image/jpeg";
1190
+ "image/webp": "image/webp";
1191
+ "audio/wav": "audio/wav";
1192
+ "video/mp4": "video/mp4";
1193
+ }>;
1194
+ deviceId: z.ZodUUID;
1195
+ }, z.core.$strict>;
1196
+ requestId: z.ZodUUID;
1197
+ action: z.ZodLiteral<"resume-access">;
1198
+ ownerKey: z.ZodOptional<z.ZodString>;
1199
+ }, z.core.$strict>, z.ZodObject<{
1200
+ tenantId: z.ZodUUID;
1201
+ projectId: z.ZodUUID;
1202
+ deviceId: z.ZodUUID;
1203
+ requestId: z.ZodUUID;
1204
+ ownerKey: z.ZodOptional<z.ZodString>;
1205
+ action: z.ZodLiteral<"import-receipt">;
1206
+ }, z.core.$strict>], "action">;
1207
+ }, z.core.$strict>, z.ZodObject<{
1208
+ operation: z.ZodLiteral<"agent.discover">;
1209
+ binary: z.ZodOptional<z.ZodString>;
1210
+ }, z.core.$strict>, z.ZodObject<{
1211
+ operation: z.ZodLiteral<"offline.workspace">;
1212
+ input: z.ZodDiscriminatedUnion<[z.ZodObject<{
1213
+ action: z.ZodEnum<{
1214
+ list: "list";
1215
+ forget: "forget";
1216
+ }>;
1217
+ key: z.ZodString;
1218
+ }, z.core.$strict>, z.ZodObject<{
1219
+ action: z.ZodLiteral<"retain">;
1220
+ key: z.ZodString;
1221
+ snapshot: z.ZodObject<{
1222
+ projectId: z.ZodUUID;
1223
+ title: z.ZodString;
1224
+ savedAt: z.ZodISODateTime;
1225
+ expiresAt: z.ZodISODateTime;
1226
+ productions: z.ZodArray<z.ZodObject<{
1227
+ id: z.ZodUUID;
1228
+ title: z.ZodString;
1229
+ }, z.core.$strict>>;
1230
+ possiblyTruncated: z.ZodBoolean;
1231
+ }, z.core.$strict>;
1232
+ }, z.core.$strict>, z.ZodObject<{
1233
+ action: z.ZodLiteral<"draft">;
1234
+ key: z.ZodString;
1235
+ projectId: z.ZodUUID;
1236
+ text: z.ZodString;
1237
+ expectedRevision: z.ZodInt;
1238
+ }, z.core.$strict>], "action">;
1239
+ }, z.core.$strict>, z.ZodObject<{
1240
+ operation: z.ZodLiteral<"workspace.inspect">;
1241
+ }, z.core.$strict>, z.ZodObject<{
1242
+ operation: z.ZodLiteral<"workspace.configure">;
1243
+ policy: z.ZodObject<{
1244
+ acceptNewWork: z.ZodDefault<z.ZodBoolean>;
1245
+ mode: z.ZodDefault<z.ZodEnum<{
1246
+ CONTINUOUS: "CONTINUOUS";
1247
+ IDLE_ONLY: "IDLE_ONLY";
1248
+ }>>;
1249
+ idleAfterSeconds: z.ZodDefault<z.ZodInt>;
1250
+ maxConcurrentJobs: z.ZodDefault<z.ZodInt>;
1251
+ cpuCores: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
1252
+ memoryMiB: z.ZodDefault<z.ZodInt>;
1253
+ cacheQuotaBytes: z.ZodDefault<z.ZodInt>;
1254
+ }, z.core.$strict>;
1255
+ expectedRevision: z.ZodInt;
1256
+ }, z.core.$strict>, z.ZodObject<{
1257
+ operation: z.ZodLiteral<"workspace.activity">;
1258
+ idleSeconds: z.ZodInt;
1259
+ observedAt: z.ZodISODateTime;
1260
+ }, z.core.$strict>, z.ZodObject<{
1261
+ operation: z.ZodLiteral<"storage.clean">;
1262
+ }, z.core.$strict>, z.ZodObject<{
1263
+ operation: z.ZodLiteral<"diagnostics.read">;
1264
+ }, z.core.$strict>, z.ZodObject<{
282
1265
  operation: z.ZodLiteral<"agent.grant">;
283
1266
  grant: z.ZodObject<{
284
1267
  protocol: z.ZodLiteral<"NVS_CODEX_REVIEW_GRANT_V1">;
@@ -299,9 +1282,10 @@ export declare const LocalIpcRequestSchema: z.ZodObject<{
299
1282
  inference: z.ZodLiteral<"REMOTE_OPENAI">;
300
1283
  remoteUseApproved: z.ZodLiteral<true>;
301
1284
  imageDisclosureApproved: z.ZodOptional<z.ZodLiteral<true>>;
1285
+ mediaDisclosureApproved: z.ZodOptional<z.ZodLiteral<true>>;
302
1286
  projects: z.ZodArray<z.ZodObject<{
303
- tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
304
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
1287
+ tenantId: z.ZodUUID;
1288
+ projectId: z.ZodUUID;
305
1289
  }, z.core.$strict>>;
306
1290
  expiresAt: z.ZodISODateTime;
307
1291
  }, z.core.$strict>;
@@ -315,16 +1299,9 @@ export declare const LocalIpcRequestSchema: z.ZodObject<{
315
1299
  operation: z.ZodLiteral<"agent.prepare">;
316
1300
  snapshot: z.ZodObject<{
317
1301
  basis: z.ZodObject<{
318
- scope: z.ZodObject<{
319
- tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
320
- projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
321
- productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
322
- }, z.core.$strict>;
1302
+ scope: typeof import("../director-proposal.js").DirectorScopeSchema;
1303
+ target: typeof import("../review-intelligence.js").ReviewIntelligenceTargetSchema;
323
1304
  contextFingerprint: z.ZodString;
324
- target: z.ZodObject<{
325
- kind: z.ZodLiteral<"IMAGE">;
326
- generationId: z.ZodUUID;
327
- }, z.core.$strict>;
328
1305
  }, z.core.$strict>;
329
1306
  productionRevision: z.ZodInt;
330
1307
  reviewVersion: z.ZodInt;
@@ -337,15 +1314,126 @@ export declare const LocalIpcRequestSchema: z.ZodObject<{
337
1314
  representationId: z.ZodUUID;
338
1315
  checksumSha256: z.ZodString;
339
1316
  }, z.core.$strict>;
340
- requirements: z.ZodArray<z.ZodObject<{
1317
+ requirements: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1318
+ intentPath: z.ZodOptional<z.ZodString>;
1319
+ key: z.ZodString;
1320
+ expected: z.ZodString;
1321
+ enforcement: z.ZodEnum<{
1322
+ LOCKED: "LOCKED";
1323
+ REQUIRED: "REQUIRED";
1324
+ PREFERRED: "PREFERRED";
1325
+ }>;
1326
+ }, z.core.$strict>, z.ZodObject<{
341
1327
  intentPath: z.ZodOptional<z.ZodString>;
1328
+ continuity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1329
+ kind: z.ZodLiteral<"STATE">;
1330
+ mode: z.ZodEnum<{
1331
+ PRESERVE: "PRESERVE";
1332
+ PLANNED_TRANSITIONS: "PLANNED_TRANSITIONS";
1333
+ }>;
1334
+ entry: z.ZodString;
1335
+ exit: z.ZodString;
1336
+ changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
1337
+ atPermille: z.ZodInt;
1338
+ from: z.ZodString;
1339
+ to: z.ZodString;
1340
+ reason: z.ZodString;
1341
+ }, z.core.$strict>>>;
1342
+ }, z.core.$strict>, z.ZodObject<{
1343
+ kind: z.ZodLiteral<"TIME">;
1344
+ mode: z.ZodEnum<{
1345
+ MONOTONIC: "MONOTONIC";
1346
+ PLANNED_JUMPS: "PLANNED_JUMPS";
1347
+ }>;
1348
+ entryMs: z.ZodInt;
1349
+ exitMs: z.ZodInt;
1350
+ jumps: z.ZodOptional<z.ZodArray<z.ZodObject<{
1351
+ atPermille: z.ZodInt;
1352
+ fromMs: z.ZodInt;
1353
+ toMs: z.ZodInt;
1354
+ reason: z.ZodString;
1355
+ }, z.core.$strict>>>;
1356
+ }, z.core.$strict>], "kind">>;
1357
+ interval: z.ZodOptional<z.ZodObject<{
1358
+ startMs: z.ZodInt;
1359
+ endMs: z.ZodInt;
1360
+ }, z.core.$strict>>;
1361
+ key: z.ZodString;
1362
+ family: z.ZodEnum<{
1363
+ PRODUCT_IDENTITY: "PRODUCT_IDENTITY";
1364
+ CHARACTER_IDENTITY: "CHARACTER_IDENTITY";
1365
+ WARDROBE: "WARDROBE";
1366
+ LOCATION: "LOCATION";
1367
+ STYLE: "STYLE";
1368
+ SHOT_INTENT: "SHOT_INTENT";
1369
+ BOUNDARY_CONTINUITY: "BOUNDARY_CONTINUITY";
1370
+ SOUND: "SOUND";
1371
+ }>;
1372
+ expected: z.ZodString;
1373
+ enforcement: z.ZodEnum<{
1374
+ LOCKED: "LOCKED";
1375
+ REQUIRED: "REQUIRED";
1376
+ PREFERRED: "PREFERRED";
1377
+ }>;
1378
+ evidenceWindow: z.ZodEnum<{
1379
+ START: "START";
1380
+ END: "END";
1381
+ WHOLE_VIDEO: "WHOLE_VIDEO";
1382
+ TEMPORAL: "TEMPORAL";
1383
+ }>;
1384
+ }, z.core.$strict>, z.ZodObject<{
1385
+ voiceIdentity: z.ZodOptional<typeof import("../voice-consistency.js").VoiceRequirementGateSchema>;
1386
+ continuity: z.ZodOptional<typeof import("../continuity-evaluation.js").ContinuityExpectationSchema>;
1387
+ consistencyScale: z.ZodOptional<typeof import("../continuity-evaluation.js").ConsistencyReviewScaleSchema>;
1388
+ consistencyFamily: z.ZodOptional<z.ZodEnum<{
1389
+ PRODUCT_IDENTITY: "PRODUCT_IDENTITY";
1390
+ CHARACTER_IDENTITY: "CHARACTER_IDENTITY";
1391
+ WARDROBE: "WARDROBE";
1392
+ LOCATION: "LOCATION";
1393
+ STYLE: "STYLE";
1394
+ BOUNDARY_CONTINUITY: "BOUNDARY_CONTINUITY";
1395
+ VOICE_IDENTITY: "VOICE_IDENTITY";
1396
+ }>>;
1397
+ consistencySubject: z.ZodOptional<typeof import("../consistency-profile.js").ConsistencySubjectSchema>;
1398
+ consistencyReference: z.ZodOptional<typeof import("../consistency-profile.js").ConsistencyMasterReferenceSchema>;
342
1399
  key: z.ZodString;
1400
+ dimension: z.ZodEnum<{
1401
+ PRODUCT_PRESENTATION: "PRODUCT_PRESENTATION";
1402
+ CANONICAL_FACT: "CANONICAL_FACT";
1403
+ NARRATIVE: "NARRATIVE";
1404
+ PACING: "PACING";
1405
+ REPETITION: "REPETITION";
1406
+ STYLE: "STYLE";
1407
+ TECHNICAL: "TECHNICAL";
1408
+ TRANSITION: "TRANSITION";
1409
+ }>;
343
1410
  expected: z.ZodString;
344
1411
  enforcement: z.ZodEnum<{
345
1412
  LOCKED: "LOCKED";
346
1413
  REQUIRED: "REQUIRED";
347
1414
  PREFERRED: "PREFERRED";
348
1415
  }>;
1416
+ scope: z.ZodEnum<{
1417
+ PRODUCTION: "PRODUCTION";
1418
+ TRANSITION: "TRANSITION";
1419
+ }>;
1420
+ interval: typeof import("../rough-cut-review.js").ReviewIntervalSchema;
1421
+ shotIds: z.ZodArray<z.ZodUUID>;
1422
+ }, z.core.$strict>]>>;
1423
+ evidence: z.ZodOptional<z.ZodObject<{
1424
+ profile: z.ZodLiteral<"NVS_AGENT_DERIVED_EVIDENCE_V1">;
1425
+ contentType: z.ZodEnum<{
1426
+ "image/png": "image/png";
1427
+ "image/jpeg": "image/jpeg";
1428
+ "image/webp": "image/webp";
1429
+ "video/mp4": "video/mp4";
1430
+ }>;
1431
+ byteSize: z.ZodInt;
1432
+ width: z.ZodInt;
1433
+ height: z.ZodInt;
1434
+ durationMs: z.ZodOptional<z.ZodInt>;
1435
+ frameRate: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>>;
1436
+ hasAudio: z.ZodOptional<z.ZodBoolean>;
349
1437
  }, z.core.$strict>>;
350
1438
  image: z.ZodOptional<z.ZodObject<{
351
1439
  contentType: z.ZodLiteral<"image/png">;
@@ -364,16 +1452,15 @@ export declare const LocalIpcRequestSchema: z.ZodObject<{
364
1452
  id: z.ZodUUID;
365
1453
  }, z.core.$strict>, z.ZodObject<{
366
1454
  operation: z.ZodLiteral<"runtime.status">;
1455
+ includeDevice: z.ZodOptional<z.ZodLiteral<true>>;
367
1456
  }, z.core.$strict>, z.ZodObject<{
368
1457
  operation: z.ZodLiteral<"runtime.doctor">;
369
1458
  }, z.core.$strict>, z.ZodObject<{
370
1459
  operation: z.ZodLiteral<"runtime.inventory">;
371
1460
  }, z.core.$strict>, z.ZodObject<{
372
1461
  operation: z.ZodLiteral<"session.issue">;
373
- projects: z.ZodArray<z.ZodObject<{
374
- tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
375
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
376
- }, z.core.$strict>>;
1462
+ tenantId: z.ZodUUID;
1463
+ deviceId: z.ZodUUID;
377
1464
  expiresAt: z.ZodISODateTime;
378
1465
  }, z.core.$strict>, z.ZodObject<{
379
1466
  operation: z.ZodLiteral<"runtime.stop">;
@@ -381,18 +1468,21 @@ export declare const LocalIpcRequestSchema: z.ZodObject<{
381
1468
  }, z.core.$strict>, z.ZodObject<{
382
1469
  operation: z.ZodLiteral<"execution.inspect">;
383
1470
  input: z.ZodObject<{
384
- tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
385
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
386
- productionId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
387
- runtimeJobId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
1471
+ tenantId: z.ZodUUID;
1472
+ projectId: z.ZodUUID;
1473
+ productionId: z.ZodUUID;
1474
+ runtimeJobId: z.ZodUUID;
1475
+ includeProgress: z.ZodOptional<z.ZodBoolean>;
388
1476
  }, z.core.$strict>;
389
1477
  }, z.core.$strict>, z.ZodObject<{
390
1478
  operation: z.ZodLiteral<"execution.list">;
391
1479
  input: z.ZodObject<{
392
- tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
393
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
1480
+ tenantId: z.ZodUUID;
1481
+ projectId: z.ZodUUID;
394
1482
  after: z.ZodDefault<z.ZodNullable<z.ZodString>>;
395
1483
  limit: z.ZodDefault<z.ZodInt>;
1484
+ includeCompleted: z.ZodOptional<z.ZodBoolean>;
1485
+ includeProgress: z.ZodOptional<z.ZodBoolean>;
396
1486
  }, z.core.$strict>;
397
1487
  }, z.core.$strict>, z.ZodObject<{
398
1488
  operation: z.ZodLiteral<"update.check">;
@@ -402,7 +1492,7 @@ export declare const LocalIpcRequestSchema: z.ZodObject<{
402
1492
  expectedRuntimeRevision: z.ZodInt;
403
1493
  }, z.core.$strict>, z.ZodObject<{
404
1494
  operation: z.ZodLiteral<"update.apply">;
405
- planId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
1495
+ planId: z.ZodUUID;
406
1496
  targetVersion: z.ZodString;
407
1497
  expectedRuntimeRevision: z.ZodInt;
408
1498
  }, z.core.$strict>], "operation">;
@@ -433,12 +1523,15 @@ export declare const LocalRuntimeStatusSchema: z.ZodObject<{
433
1523
  runtimeRevision: z.ZodInt;
434
1524
  state: z.ZodEnum<{
435
1525
  RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
436
- IDLE: "IDLE";
437
1526
  EXECUTING: "EXECUTING";
438
1527
  DRAINING: "DRAINING";
1528
+ IDLE: "IDLE";
439
1529
  }>;
440
1530
  journalSchemaVersion: z.ZodLiteral<1>;
441
- workProtocols: z.ZodArray<z.ZodLiteral<"NVS_LOCAL_WORK_V1">>;
1531
+ workProtocols: z.ZodArray<z.ZodEnum<{
1532
+ NVS_LOCAL_WORK_V1: "NVS_LOCAL_WORK_V1";
1533
+ NVS_LOCAL_WORK_V2: "NVS_LOCAL_WORK_V2";
1534
+ }>>;
442
1535
  versions: z.ZodArray<z.ZodObject<{
443
1536
  component: z.ZodEnum<{
444
1537
  CLI: "CLI";
@@ -460,12 +1553,307 @@ export declare const LocalRuntimeStatusSchema: z.ZodObject<{
460
1553
  TARBALL: "TARBALL";
461
1554
  }>;
462
1555
  }, z.core.$strict>>;
463
- authorizedProjects: z.ZodArray<z.ZodObject<{
464
- tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
465
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
1556
+ deviceAuthority: z.ZodOptional<z.ZodObject<{
1557
+ tenantId: z.ZodUUID;
1558
+ deviceId: z.ZodUUID;
1559
+ origin: z.ZodURL;
1560
+ }, z.core.$strict>>;
1561
+ capabilityMismatch: z.ZodOptional<z.ZodObject<{
1562
+ kind: z.ZodEnum<{
1563
+ CAPABILITY_DEFINITION: "CAPABILITY_DEFINITION";
1564
+ MEDIA_PROFILE: "MEDIA_PROFILE";
1565
+ RENDERER: "RENDERER";
1566
+ VALIDATION_PROFILE: "VALIDATION_PROFILE";
1567
+ PROCESSOR_PROFILE: "PROCESSOR_PROFILE";
1568
+ LOCAL_LIBRARY_PROFILE: "LOCAL_LIBRARY_PROFILE";
1569
+ }>;
1570
+ expectedVersion: z.ZodString;
1571
+ actualVersion: z.ZodString;
1572
+ recovery: z.ZodEnum<{
1573
+ REDISCOVER_CAPABILITY: "REDISCOVER_CAPABILITY";
1574
+ CHECK_DEVICE_RELEASE: "CHECK_DEVICE_RELEASE";
1575
+ }>;
1576
+ }, z.core.$strict>>;
1577
+ deviceCapabilities: z.ZodOptional<z.ZodObject<{
1578
+ deviceRevision: z.ZodInt;
1579
+ tenantMediaValidation: z.ZodBoolean;
1580
+ tenantMediaProcessing: z.ZodBoolean;
1581
+ processorCapabilities: z.ZodArray<z.ZodEnum<{
1582
+ KEYFRAME_GENERATE: "KEYFRAME_GENERATE";
1583
+ VIDEO_GENERATE: "VIDEO_GENERATE";
1584
+ SPEECH_SYNTHESIZE: "SPEECH_SYNTHESIZE";
1585
+ SPEECH_EXTERNAL_QWEN: "SPEECH_EXTERNAL_QWEN";
1586
+ TEMPORAL_SAMPLE: "TEMPORAL_SAMPLE";
1587
+ DELIVERY_VALIDATE: "DELIVERY_VALIDATE";
1588
+ COMPOSITION_RENDER: "COMPOSITION_RENDER";
1589
+ IMPORTED_VISUAL_NORMALIZE: "IMPORTED_VISUAL_NORMALIZE";
1590
+ SOURCE_SYNC_AUDIO: "SOURCE_SYNC_AUDIO";
1591
+ IMPORT_ORIGINAL: "IMPORT_ORIGINAL";
1592
+ LOCAL_MEDIA_INSPECT: "LOCAL_MEDIA_INSPECT";
1593
+ LOCAL_MEDIA_PUBLISH: "LOCAL_MEDIA_PUBLISH";
1594
+ IMPORT_PROJECT_SOURCE: "IMPORT_PROJECT_SOURCE";
1595
+ REGISTER_VISUAL_SEQUENCE: "REGISTER_VISUAL_SEQUENCE";
1596
+ REFERENCE_PREVIEW: "REFERENCE_PREVIEW";
1597
+ SPEECH_SYNTHESIZE_CPU: "SPEECH_SYNTHESIZE_CPU";
1598
+ TRANSCRIBE_AUDIO: "TRANSCRIBE_AUDIO";
1599
+ TRANSCRIBE_EXTERNAL_QWEN: "TRANSCRIBE_EXTERNAL_QWEN";
1600
+ }>>;
466
1601
  }, z.core.$strict>>;
467
1602
  nextActions: z.ZodArray<z.ZodObject<{
468
1603
  call: z.ZodDiscriminatedUnion<[z.ZodObject<{
1604
+ operation: z.ZodLiteral<"library.capability">;
1605
+ }, z.core.$strict>, z.ZodObject<{
1606
+ operation: z.ZodLiteral<"library.call">;
1607
+ input: z.ZodDiscriminatedUnion<[z.ZodObject<{
1608
+ tenantId: z.ZodUUID;
1609
+ after: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1610
+ limit: z.ZodDefault<z.ZodInt>;
1611
+ projectId: z.ZodOptional<z.ZodUUID>;
1612
+ deviceId: z.ZodUUID;
1613
+ ownerKey: z.ZodOptional<z.ZodString>;
1614
+ search: z.ZodOptional<z.ZodString>;
1615
+ mediaCategory: z.ZodOptional<z.ZodEnum<{
1616
+ IMAGE: "IMAGE";
1617
+ VIDEO: "VIDEO";
1618
+ AUDIO: "AUDIO";
1619
+ DOCUMENT: "DOCUMENT";
1620
+ }>>;
1621
+ action: z.ZodLiteral<"list">;
1622
+ }, z.core.$strict>, z.ZodObject<{
1623
+ reference: z.ZodObject<{
1624
+ tenantId: z.ZodUUID;
1625
+ projectId: z.ZodUUID;
1626
+ fileId: z.ZodUUID;
1627
+ versionId: z.ZodUUID;
1628
+ checksumSha256: z.ZodString;
1629
+ byteSize: z.ZodInt;
1630
+ contentType: z.ZodEnum<{
1631
+ "application/json": "application/json";
1632
+ "application/pdf": "application/pdf";
1633
+ "application/octet-stream": "application/octet-stream";
1634
+ "text/plain": "text/plain";
1635
+ "image/png": "image/png";
1636
+ "image/jpeg": "image/jpeg";
1637
+ "image/webp": "image/webp";
1638
+ "audio/wav": "audio/wav";
1639
+ "video/mp4": "video/mp4";
1640
+ }>;
1641
+ deviceId: z.ZodUUID;
1642
+ }, z.core.$strict>;
1643
+ ownerKey: z.ZodOptional<z.ZodString>;
1644
+ action: z.ZodLiteral<"get">;
1645
+ }, z.core.$strict>, z.ZodObject<{
1646
+ search: z.ZodOptional<z.ZodString>;
1647
+ tenantId: z.ZodUUID;
1648
+ limit: z.ZodDefault<z.ZodInt>;
1649
+ after: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1650
+ deviceId: z.ZodUUID;
1651
+ mediaCategory: z.ZodOptional<z.ZodEnum<{
1652
+ IMAGE: "IMAGE";
1653
+ VIDEO: "VIDEO";
1654
+ AUDIO: "AUDIO";
1655
+ DOCUMENT: "DOCUMENT";
1656
+ }>>;
1657
+ projectId: z.ZodUUID;
1658
+ action: z.ZodLiteral<"scoped-list">;
1659
+ }, z.core.$strict>, z.ZodObject<{
1660
+ action: z.ZodLiteral<"scoped-get">;
1661
+ reference: z.ZodObject<{
1662
+ tenantId: z.ZodUUID;
1663
+ projectId: z.ZodUUID;
1664
+ fileId: z.ZodUUID;
1665
+ versionId: z.ZodUUID;
1666
+ checksumSha256: z.ZodString;
1667
+ byteSize: z.ZodInt;
1668
+ contentType: z.ZodEnum<{
1669
+ "application/json": "application/json";
1670
+ "application/pdf": "application/pdf";
1671
+ "application/octet-stream": "application/octet-stream";
1672
+ "text/plain": "text/plain";
1673
+ "image/png": "image/png";
1674
+ "image/jpeg": "image/jpeg";
1675
+ "image/webp": "image/webp";
1676
+ "audio/wav": "audio/wav";
1677
+ "video/mp4": "video/mp4";
1678
+ }>;
1679
+ deviceId: z.ZodUUID;
1680
+ }, z.core.$strict>;
1681
+ }, z.core.$strict>, z.ZodObject<{
1682
+ action: z.ZodLiteral<"usage">;
1683
+ ownerKey: z.ZodOptional<z.ZodString>;
1684
+ }, z.core.$strict>, z.ZodObject<{
1685
+ reference: z.ZodObject<{
1686
+ tenantId: z.ZodUUID;
1687
+ projectId: z.ZodUUID;
1688
+ fileId: z.ZodUUID;
1689
+ versionId: z.ZodUUID;
1690
+ checksumSha256: z.ZodString;
1691
+ byteSize: z.ZodInt;
1692
+ contentType: z.ZodEnum<{
1693
+ "application/json": "application/json";
1694
+ "application/pdf": "application/pdf";
1695
+ "application/octet-stream": "application/octet-stream";
1696
+ "text/plain": "text/plain";
1697
+ "image/png": "image/png";
1698
+ "image/jpeg": "image/jpeg";
1699
+ "image/webp": "image/webp";
1700
+ "audio/wav": "audio/wav";
1701
+ "video/mp4": "video/mp4";
1702
+ }>;
1703
+ deviceId: z.ZodUUID;
1704
+ }, z.core.$strict>;
1705
+ ownerKey: z.ZodOptional<z.ZodString>;
1706
+ offset: z.ZodInt;
1707
+ length: z.ZodInt;
1708
+ action: z.ZodLiteral<"read">;
1709
+ }, z.core.$strict>, z.ZodObject<{
1710
+ command: z.ZodObject<{
1711
+ reference: z.ZodObject<{
1712
+ tenantId: z.ZodUUID;
1713
+ projectId: z.ZodUUID;
1714
+ fileId: z.ZodUUID;
1715
+ versionId: z.ZodUUID;
1716
+ checksumSha256: z.ZodString;
1717
+ byteSize: z.ZodInt;
1718
+ contentType: z.ZodEnum<{
1719
+ "application/json": "application/json";
1720
+ "application/pdf": "application/pdf";
1721
+ "application/octet-stream": "application/octet-stream";
1722
+ "text/plain": "text/plain";
1723
+ "image/png": "image/png";
1724
+ "image/jpeg": "image/jpeg";
1725
+ "image/webp": "image/webp";
1726
+ "audio/wav": "audio/wav";
1727
+ "video/mp4": "video/mp4";
1728
+ }>;
1729
+ deviceId: z.ZodUUID;
1730
+ }, z.core.$strict>;
1731
+ requestId: z.ZodUUID;
1732
+ expectedRevision: z.ZodInt;
1733
+ metadata: z.ZodNullable<z.ZodObject<{
1734
+ label: z.ZodString;
1735
+ }, z.core.$strict>>;
1736
+ allowInspect: z.ZodBoolean;
1737
+ allowPublish: z.ZodBoolean;
1738
+ expiresAt: z.ZodISODateTime;
1739
+ }, z.core.$strict>;
1740
+ expectedLocalRevision: z.ZodInt;
1741
+ ownerKey: z.ZodOptional<z.ZodString>;
1742
+ action: z.ZodLiteral<"access">;
1743
+ }, z.core.$strict>, z.ZodObject<{
1744
+ reference: z.ZodObject<{
1745
+ tenantId: z.ZodUUID;
1746
+ projectId: z.ZodUUID;
1747
+ fileId: z.ZodUUID;
1748
+ versionId: z.ZodUUID;
1749
+ checksumSha256: z.ZodString;
1750
+ byteSize: z.ZodInt;
1751
+ contentType: z.ZodEnum<{
1752
+ "application/json": "application/json";
1753
+ "application/pdf": "application/pdf";
1754
+ "application/octet-stream": "application/octet-stream";
1755
+ "text/plain": "text/plain";
1756
+ "image/png": "image/png";
1757
+ "image/jpeg": "image/jpeg";
1758
+ "image/webp": "image/webp";
1759
+ "audio/wav": "audio/wav";
1760
+ "video/mp4": "video/mp4";
1761
+ }>;
1762
+ deviceId: z.ZodUUID;
1763
+ }, z.core.$strict>;
1764
+ requestId: z.ZodUUID;
1765
+ action: z.ZodLiteral<"sync">;
1766
+ ownerKey: z.ZodOptional<z.ZodString>;
1767
+ }, z.core.$strict>, z.ZodObject<{
1768
+ reference: z.ZodObject<{
1769
+ tenantId: z.ZodUUID;
1770
+ projectId: z.ZodUUID;
1771
+ fileId: z.ZodUUID;
1772
+ versionId: z.ZodUUID;
1773
+ checksumSha256: z.ZodString;
1774
+ byteSize: z.ZodInt;
1775
+ contentType: z.ZodEnum<{
1776
+ "application/json": "application/json";
1777
+ "application/pdf": "application/pdf";
1778
+ "application/octet-stream": "application/octet-stream";
1779
+ "text/plain": "text/plain";
1780
+ "image/png": "image/png";
1781
+ "image/jpeg": "image/jpeg";
1782
+ "image/webp": "image/webp";
1783
+ "audio/wav": "audio/wav";
1784
+ "video/mp4": "video/mp4";
1785
+ }>;
1786
+ deviceId: z.ZodUUID;
1787
+ }, z.core.$strict>;
1788
+ requestId: z.ZodUUID;
1789
+ action: z.ZodLiteral<"resume-access">;
1790
+ ownerKey: z.ZodOptional<z.ZodString>;
1791
+ }, z.core.$strict>, z.ZodObject<{
1792
+ tenantId: z.ZodUUID;
1793
+ projectId: z.ZodUUID;
1794
+ deviceId: z.ZodUUID;
1795
+ requestId: z.ZodUUID;
1796
+ ownerKey: z.ZodOptional<z.ZodString>;
1797
+ action: z.ZodLiteral<"import-receipt">;
1798
+ }, z.core.$strict>], "action">;
1799
+ }, z.core.$strict>, z.ZodObject<{
1800
+ operation: z.ZodLiteral<"agent.discover">;
1801
+ binary: z.ZodOptional<z.ZodString>;
1802
+ }, z.core.$strict>, z.ZodObject<{
1803
+ operation: z.ZodLiteral<"offline.workspace">;
1804
+ input: z.ZodDiscriminatedUnion<[z.ZodObject<{
1805
+ action: z.ZodEnum<{
1806
+ list: "list";
1807
+ forget: "forget";
1808
+ }>;
1809
+ key: z.ZodString;
1810
+ }, z.core.$strict>, z.ZodObject<{
1811
+ action: z.ZodLiteral<"retain">;
1812
+ key: z.ZodString;
1813
+ snapshot: z.ZodObject<{
1814
+ projectId: z.ZodUUID;
1815
+ title: z.ZodString;
1816
+ savedAt: z.ZodISODateTime;
1817
+ expiresAt: z.ZodISODateTime;
1818
+ productions: z.ZodArray<z.ZodObject<{
1819
+ id: z.ZodUUID;
1820
+ title: z.ZodString;
1821
+ }, z.core.$strict>>;
1822
+ possiblyTruncated: z.ZodBoolean;
1823
+ }, z.core.$strict>;
1824
+ }, z.core.$strict>, z.ZodObject<{
1825
+ action: z.ZodLiteral<"draft">;
1826
+ key: z.ZodString;
1827
+ projectId: z.ZodUUID;
1828
+ text: z.ZodString;
1829
+ expectedRevision: z.ZodInt;
1830
+ }, z.core.$strict>], "action">;
1831
+ }, z.core.$strict>, z.ZodObject<{
1832
+ operation: z.ZodLiteral<"workspace.inspect">;
1833
+ }, z.core.$strict>, z.ZodObject<{
1834
+ operation: z.ZodLiteral<"workspace.configure">;
1835
+ policy: z.ZodObject<{
1836
+ acceptNewWork: z.ZodDefault<z.ZodBoolean>;
1837
+ mode: z.ZodDefault<z.ZodEnum<{
1838
+ CONTINUOUS: "CONTINUOUS";
1839
+ IDLE_ONLY: "IDLE_ONLY";
1840
+ }>>;
1841
+ idleAfterSeconds: z.ZodDefault<z.ZodInt>;
1842
+ maxConcurrentJobs: z.ZodDefault<z.ZodInt>;
1843
+ cpuCores: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
1844
+ memoryMiB: z.ZodDefault<z.ZodInt>;
1845
+ cacheQuotaBytes: z.ZodDefault<z.ZodInt>;
1846
+ }, z.core.$strict>;
1847
+ expectedRevision: z.ZodInt;
1848
+ }, z.core.$strict>, z.ZodObject<{
1849
+ operation: z.ZodLiteral<"workspace.activity">;
1850
+ idleSeconds: z.ZodInt;
1851
+ observedAt: z.ZodISODateTime;
1852
+ }, z.core.$strict>, z.ZodObject<{
1853
+ operation: z.ZodLiteral<"storage.clean">;
1854
+ }, z.core.$strict>, z.ZodObject<{
1855
+ operation: z.ZodLiteral<"diagnostics.read">;
1856
+ }, z.core.$strict>, z.ZodObject<{
469
1857
  operation: z.ZodLiteral<"agent.grant">;
470
1858
  grant: z.ZodObject<{
471
1859
  protocol: z.ZodLiteral<"NVS_CODEX_REVIEW_GRANT_V1">;
@@ -486,9 +1874,10 @@ export declare const LocalRuntimeStatusSchema: z.ZodObject<{
486
1874
  inference: z.ZodLiteral<"REMOTE_OPENAI">;
487
1875
  remoteUseApproved: z.ZodLiteral<true>;
488
1876
  imageDisclosureApproved: z.ZodOptional<z.ZodLiteral<true>>;
1877
+ mediaDisclosureApproved: z.ZodOptional<z.ZodLiteral<true>>;
489
1878
  projects: z.ZodArray<z.ZodObject<{
490
- tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
491
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
1879
+ tenantId: z.ZodUUID;
1880
+ projectId: z.ZodUUID;
492
1881
  }, z.core.$strict>>;
493
1882
  expiresAt: z.ZodISODateTime;
494
1883
  }, z.core.$strict>;
@@ -502,16 +1891,9 @@ export declare const LocalRuntimeStatusSchema: z.ZodObject<{
502
1891
  operation: z.ZodLiteral<"agent.prepare">;
503
1892
  snapshot: z.ZodObject<{
504
1893
  basis: z.ZodObject<{
505
- scope: z.ZodObject<{
506
- tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
507
- projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
508
- productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
509
- }, z.core.$strict>;
1894
+ scope: typeof import("../director-proposal.js").DirectorScopeSchema;
1895
+ target: typeof import("../review-intelligence.js").ReviewIntelligenceTargetSchema;
510
1896
  contextFingerprint: z.ZodString;
511
- target: z.ZodObject<{
512
- kind: z.ZodLiteral<"IMAGE">;
513
- generationId: z.ZodUUID;
514
- }, z.core.$strict>;
515
1897
  }, z.core.$strict>;
516
1898
  productionRevision: z.ZodInt;
517
1899
  reviewVersion: z.ZodInt;
@@ -524,15 +1906,126 @@ export declare const LocalRuntimeStatusSchema: z.ZodObject<{
524
1906
  representationId: z.ZodUUID;
525
1907
  checksumSha256: z.ZodString;
526
1908
  }, z.core.$strict>;
527
- requirements: z.ZodArray<z.ZodObject<{
1909
+ requirements: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1910
+ intentPath: z.ZodOptional<z.ZodString>;
1911
+ key: z.ZodString;
1912
+ expected: z.ZodString;
1913
+ enforcement: z.ZodEnum<{
1914
+ LOCKED: "LOCKED";
1915
+ REQUIRED: "REQUIRED";
1916
+ PREFERRED: "PREFERRED";
1917
+ }>;
1918
+ }, z.core.$strict>, z.ZodObject<{
528
1919
  intentPath: z.ZodOptional<z.ZodString>;
1920
+ continuity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1921
+ kind: z.ZodLiteral<"STATE">;
1922
+ mode: z.ZodEnum<{
1923
+ PRESERVE: "PRESERVE";
1924
+ PLANNED_TRANSITIONS: "PLANNED_TRANSITIONS";
1925
+ }>;
1926
+ entry: z.ZodString;
1927
+ exit: z.ZodString;
1928
+ changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
1929
+ atPermille: z.ZodInt;
1930
+ from: z.ZodString;
1931
+ to: z.ZodString;
1932
+ reason: z.ZodString;
1933
+ }, z.core.$strict>>>;
1934
+ }, z.core.$strict>, z.ZodObject<{
1935
+ kind: z.ZodLiteral<"TIME">;
1936
+ mode: z.ZodEnum<{
1937
+ MONOTONIC: "MONOTONIC";
1938
+ PLANNED_JUMPS: "PLANNED_JUMPS";
1939
+ }>;
1940
+ entryMs: z.ZodInt;
1941
+ exitMs: z.ZodInt;
1942
+ jumps: z.ZodOptional<z.ZodArray<z.ZodObject<{
1943
+ atPermille: z.ZodInt;
1944
+ fromMs: z.ZodInt;
1945
+ toMs: z.ZodInt;
1946
+ reason: z.ZodString;
1947
+ }, z.core.$strict>>>;
1948
+ }, z.core.$strict>], "kind">>;
1949
+ interval: z.ZodOptional<z.ZodObject<{
1950
+ startMs: z.ZodInt;
1951
+ endMs: z.ZodInt;
1952
+ }, z.core.$strict>>;
1953
+ key: z.ZodString;
1954
+ family: z.ZodEnum<{
1955
+ PRODUCT_IDENTITY: "PRODUCT_IDENTITY";
1956
+ CHARACTER_IDENTITY: "CHARACTER_IDENTITY";
1957
+ WARDROBE: "WARDROBE";
1958
+ LOCATION: "LOCATION";
1959
+ STYLE: "STYLE";
1960
+ SHOT_INTENT: "SHOT_INTENT";
1961
+ BOUNDARY_CONTINUITY: "BOUNDARY_CONTINUITY";
1962
+ SOUND: "SOUND";
1963
+ }>;
1964
+ expected: z.ZodString;
1965
+ enforcement: z.ZodEnum<{
1966
+ LOCKED: "LOCKED";
1967
+ REQUIRED: "REQUIRED";
1968
+ PREFERRED: "PREFERRED";
1969
+ }>;
1970
+ evidenceWindow: z.ZodEnum<{
1971
+ START: "START";
1972
+ END: "END";
1973
+ WHOLE_VIDEO: "WHOLE_VIDEO";
1974
+ TEMPORAL: "TEMPORAL";
1975
+ }>;
1976
+ }, z.core.$strict>, z.ZodObject<{
1977
+ voiceIdentity: z.ZodOptional<typeof import("../voice-consistency.js").VoiceRequirementGateSchema>;
1978
+ continuity: z.ZodOptional<typeof import("../continuity-evaluation.js").ContinuityExpectationSchema>;
1979
+ consistencyScale: z.ZodOptional<typeof import("../continuity-evaluation.js").ConsistencyReviewScaleSchema>;
1980
+ consistencyFamily: z.ZodOptional<z.ZodEnum<{
1981
+ PRODUCT_IDENTITY: "PRODUCT_IDENTITY";
1982
+ CHARACTER_IDENTITY: "CHARACTER_IDENTITY";
1983
+ WARDROBE: "WARDROBE";
1984
+ LOCATION: "LOCATION";
1985
+ STYLE: "STYLE";
1986
+ BOUNDARY_CONTINUITY: "BOUNDARY_CONTINUITY";
1987
+ VOICE_IDENTITY: "VOICE_IDENTITY";
1988
+ }>>;
1989
+ consistencySubject: z.ZodOptional<typeof import("../consistency-profile.js").ConsistencySubjectSchema>;
1990
+ consistencyReference: z.ZodOptional<typeof import("../consistency-profile.js").ConsistencyMasterReferenceSchema>;
529
1991
  key: z.ZodString;
1992
+ dimension: z.ZodEnum<{
1993
+ PRODUCT_PRESENTATION: "PRODUCT_PRESENTATION";
1994
+ CANONICAL_FACT: "CANONICAL_FACT";
1995
+ NARRATIVE: "NARRATIVE";
1996
+ PACING: "PACING";
1997
+ REPETITION: "REPETITION";
1998
+ STYLE: "STYLE";
1999
+ TECHNICAL: "TECHNICAL";
2000
+ TRANSITION: "TRANSITION";
2001
+ }>;
530
2002
  expected: z.ZodString;
531
2003
  enforcement: z.ZodEnum<{
532
2004
  LOCKED: "LOCKED";
533
2005
  REQUIRED: "REQUIRED";
534
2006
  PREFERRED: "PREFERRED";
535
2007
  }>;
2008
+ scope: z.ZodEnum<{
2009
+ PRODUCTION: "PRODUCTION";
2010
+ TRANSITION: "TRANSITION";
2011
+ }>;
2012
+ interval: typeof import("../rough-cut-review.js").ReviewIntervalSchema;
2013
+ shotIds: z.ZodArray<z.ZodUUID>;
2014
+ }, z.core.$strict>]>>;
2015
+ evidence: z.ZodOptional<z.ZodObject<{
2016
+ profile: z.ZodLiteral<"NVS_AGENT_DERIVED_EVIDENCE_V1">;
2017
+ contentType: z.ZodEnum<{
2018
+ "image/png": "image/png";
2019
+ "image/jpeg": "image/jpeg";
2020
+ "image/webp": "image/webp";
2021
+ "video/mp4": "video/mp4";
2022
+ }>;
2023
+ byteSize: z.ZodInt;
2024
+ width: z.ZodInt;
2025
+ height: z.ZodInt;
2026
+ durationMs: z.ZodOptional<z.ZodInt>;
2027
+ frameRate: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>>;
2028
+ hasAudio: z.ZodOptional<z.ZodBoolean>;
536
2029
  }, z.core.$strict>>;
537
2030
  image: z.ZodOptional<z.ZodObject<{
538
2031
  contentType: z.ZodLiteral<"image/png">;
@@ -551,16 +2044,15 @@ export declare const LocalRuntimeStatusSchema: z.ZodObject<{
551
2044
  id: z.ZodUUID;
552
2045
  }, z.core.$strict>, z.ZodObject<{
553
2046
  operation: z.ZodLiteral<"runtime.status">;
2047
+ includeDevice: z.ZodOptional<z.ZodLiteral<true>>;
554
2048
  }, z.core.$strict>, z.ZodObject<{
555
2049
  operation: z.ZodLiteral<"runtime.doctor">;
556
2050
  }, z.core.$strict>, z.ZodObject<{
557
2051
  operation: z.ZodLiteral<"runtime.inventory">;
558
2052
  }, z.core.$strict>, z.ZodObject<{
559
2053
  operation: z.ZodLiteral<"session.issue">;
560
- projects: z.ZodArray<z.ZodObject<{
561
- tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
562
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
563
- }, z.core.$strict>>;
2054
+ tenantId: z.ZodUUID;
2055
+ deviceId: z.ZodUUID;
564
2056
  expiresAt: z.ZodISODateTime;
565
2057
  }, z.core.$strict>, z.ZodObject<{
566
2058
  operation: z.ZodLiteral<"runtime.stop">;
@@ -568,18 +2060,21 @@ export declare const LocalRuntimeStatusSchema: z.ZodObject<{
568
2060
  }, z.core.$strict>, z.ZodObject<{
569
2061
  operation: z.ZodLiteral<"execution.inspect">;
570
2062
  input: z.ZodObject<{
571
- tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
572
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
573
- productionId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
574
- runtimeJobId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
2063
+ tenantId: z.ZodUUID;
2064
+ projectId: z.ZodUUID;
2065
+ productionId: z.ZodUUID;
2066
+ runtimeJobId: z.ZodUUID;
2067
+ includeProgress: z.ZodOptional<z.ZodBoolean>;
575
2068
  }, z.core.$strict>;
576
2069
  }, z.core.$strict>, z.ZodObject<{
577
2070
  operation: z.ZodLiteral<"execution.list">;
578
2071
  input: z.ZodObject<{
579
- tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
580
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
2072
+ tenantId: z.ZodUUID;
2073
+ projectId: z.ZodUUID;
581
2074
  after: z.ZodDefault<z.ZodNullable<z.ZodString>>;
582
2075
  limit: z.ZodDefault<z.ZodInt>;
2076
+ includeCompleted: z.ZodOptional<z.ZodBoolean>;
2077
+ includeProgress: z.ZodOptional<z.ZodBoolean>;
583
2078
  }, z.core.$strict>;
584
2079
  }, z.core.$strict>, z.ZodObject<{
585
2080
  operation: z.ZodLiteral<"update.check">;
@@ -589,7 +2084,7 @@ export declare const LocalRuntimeStatusSchema: z.ZodObject<{
589
2084
  expectedRuntimeRevision: z.ZodInt;
590
2085
  }, z.core.$strict>, z.ZodObject<{
591
2086
  operation: z.ZodLiteral<"update.apply">;
592
- planId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
2087
+ planId: z.ZodUUID;
593
2088
  targetVersion: z.ZodString;
594
2089
  expectedRuntimeRevision: z.ZodInt;
595
2090
  }, z.core.$strict>], "operation">;
@@ -599,8 +2094,8 @@ export declare const LocalRuntimeStatusSchema: z.ZodObject<{
599
2094
  }>;
600
2095
  reason: z.ZodEnum<{
601
2096
  READY: "READY";
602
- INSTALL_REQUIRED: "INSTALL_REQUIRED";
603
2097
  AUTHORIZATION_REQUIRED: "AUTHORIZATION_REQUIRED";
2098
+ INSTALL_REQUIRED: "INSTALL_REQUIRED";
604
2099
  VERSION_INCOMPATIBLE: "VERSION_INCOMPATIBLE";
605
2100
  UPDATE_AVAILABLE: "UPDATE_AVAILABLE";
606
2101
  RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
@@ -611,8 +2106,8 @@ export type LocalIpcRequest = z.infer<typeof LocalIpcRequestSchema>;
611
2106
  export type LocalRuntimeStatus = z.infer<typeof LocalRuntimeStatusSchema>;
612
2107
  export declare const LocalDoctorReportSchema: z.ZodObject<{
613
2108
  mode: z.ZodEnum<{
614
- MANAGED: "MANAGED";
615
2109
  INSTALLED: "INSTALLED";
2110
+ MANAGED: "MANAGED";
616
2111
  }>;
617
2112
  availability: z.ZodEnum<{
618
2113
  UNAVAILABLE: "UNAVAILABLE";
@@ -624,6 +2119,11 @@ export declare const LocalDoctorReportSchema: z.ZodObject<{
624
2119
  TOOL_QUALIFICATION_FAILED: "TOOL_QUALIFICATION_FAILED";
625
2120
  }>;
626
2121
  nativeExecutionReady: z.ZodBoolean;
2122
+ executionProfiles: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2123
+ ROUGH_CUT_PREVIEW_V1: "ROUGH_CUT_PREVIEW_V1";
2124
+ STUDIO_MEDIA_V2: "STUDIO_MEDIA_V2";
2125
+ AUDIO_MEDIA_V1: "AUDIO_MEDIA_V1";
2126
+ }>>>;
627
2127
  tools: z.ZodArray<z.ZodObject<{
628
2128
  name: z.ZodEnum<{
629
2129
  FFMPEG: "FFMPEG";
@@ -636,24 +2136,24 @@ export declare const LocalDoctorReportSchema: z.ZodObject<{
636
2136
  }, z.core.$strict>;
637
2137
  export declare const LocalExecutionInspectionSchema: z.ZodObject<{
638
2138
  binding: z.ZodObject<{
639
- tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
640
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
641
- productionId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
642
- runtimeJobId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
643
- attemptId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
644
- assignmentRevision: z.ZodInt;
2139
+ tenantId: z.ZodUUID;
2140
+ projectId: z.ZodUUID;
2141
+ productionId: z.ZodUUID;
2142
+ runtimeJobId: z.ZodUUID;
2143
+ attemptId: typeof LocalIdSchema;
2144
+ assignmentRevision: typeof LocalRevisionSchema;
645
2145
  workerId: z.ZodString;
646
- workFingerprint: z.ZodString;
647
- toolchainFingerprint: z.ZodString;
2146
+ workFingerprint: typeof import("./common.js").LocalDigestSchema;
2147
+ toolchainFingerprint: typeof import("./common.js").LocalDigestSchema;
648
2148
  }, z.core.$strict>;
649
2149
  revision: z.ZodInt;
650
2150
  phase: z.ZodEnum<{
651
2151
  RUNNING: "RUNNING";
2152
+ FENCED: "FENCED";
652
2153
  RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
653
2154
  STAGED: "STAGED";
654
2155
  OUTPUT_PENDING: "OUTPUT_PENDING";
655
2156
  RECEIPT_RECORDED: "RECEIPT_RECORDED";
656
- FENCED: "FENCED";
657
2157
  }>;
658
2158
  checkpoint: z.ZodEnum<{
659
2159
  ADOPTED: "ADOPTED";
@@ -661,70 +2161,507 @@ export declare const LocalExecutionInspectionSchema: z.ZodObject<{
661
2161
  PROCESS_STARTED: "PROCESS_STARTED";
662
2162
  OUTPUT_STAGED: "OUTPUT_STAGED";
663
2163
  }>;
2164
+ progress: z.ZodOptional<z.ZodObject<{
2165
+ stage: z.ZodEnum<{
2166
+ WAITING: "WAITING";
2167
+ COMPLETE: "COMPLETE";
2168
+ FENCED: "FENCED";
2169
+ RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
2170
+ DOWNLOADING: "DOWNLOADING";
2171
+ EXECUTING: "EXECUTING";
2172
+ UPLOADING: "UPLOADING";
2173
+ AWAITING_ACCEPTANCE: "AWAITING_ACCEPTANCE";
2174
+ }>;
2175
+ downloadedBytes: z.ZodInt;
2176
+ sourceBytes: z.ZodInt;
2177
+ uploadedBytes: z.ZodInt;
2178
+ outputBytes: z.ZodInt;
2179
+ lastError: z.ZodNullable<z.ZodObject<{
2180
+ code: z.ZodString;
2181
+ observedAt: z.ZodISODateTime;
2182
+ }, z.core.$strict>>;
2183
+ }, z.core.$strict>>;
664
2184
  }, z.core.$strict>;
665
2185
  export declare const LocalExecutionPageSchema: z.ZodObject<{
666
2186
  items: z.ZodArray<z.ZodObject<{
667
2187
  binding: z.ZodObject<{
668
- tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
669
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
670
- productionId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
671
- runtimeJobId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
672
- attemptId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
673
- assignmentRevision: z.ZodInt;
2188
+ tenantId: z.ZodUUID;
2189
+ projectId: z.ZodUUID;
2190
+ productionId: z.ZodUUID;
2191
+ runtimeJobId: z.ZodUUID;
2192
+ attemptId: typeof LocalIdSchema;
2193
+ assignmentRevision: typeof LocalRevisionSchema;
674
2194
  workerId: z.ZodString;
675
- workFingerprint: z.ZodString;
676
- toolchainFingerprint: z.ZodString;
2195
+ workFingerprint: typeof import("./common.js").LocalDigestSchema;
2196
+ toolchainFingerprint: typeof import("./common.js").LocalDigestSchema;
2197
+ }, z.core.$strict>;
2198
+ revision: z.ZodInt;
2199
+ phase: z.ZodEnum<{
2200
+ RUNNING: "RUNNING";
2201
+ FENCED: "FENCED";
2202
+ RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
2203
+ STAGED: "STAGED";
2204
+ OUTPUT_PENDING: "OUTPUT_PENDING";
2205
+ RECEIPT_RECORDED: "RECEIPT_RECORDED";
2206
+ }>;
2207
+ checkpoint: z.ZodEnum<{
2208
+ ADOPTED: "ADOPTED";
2209
+ SOURCES_READY: "SOURCES_READY";
2210
+ PROCESS_STARTED: "PROCESS_STARTED";
2211
+ OUTPUT_STAGED: "OUTPUT_STAGED";
2212
+ }>;
2213
+ progress: z.ZodOptional<z.ZodObject<{
2214
+ stage: z.ZodEnum<{
2215
+ WAITING: "WAITING";
2216
+ COMPLETE: "COMPLETE";
2217
+ FENCED: "FENCED";
2218
+ RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
2219
+ DOWNLOADING: "DOWNLOADING";
2220
+ EXECUTING: "EXECUTING";
2221
+ UPLOADING: "UPLOADING";
2222
+ AWAITING_ACCEPTANCE: "AWAITING_ACCEPTANCE";
2223
+ }>;
2224
+ downloadedBytes: z.ZodInt;
2225
+ sourceBytes: z.ZodInt;
2226
+ uploadedBytes: z.ZodInt;
2227
+ outputBytes: z.ZodInt;
2228
+ lastError: z.ZodNullable<z.ZodObject<{
2229
+ code: z.ZodString;
2230
+ observedAt: z.ZodISODateTime;
2231
+ }, z.core.$strict>>;
2232
+ }, z.core.$strict>>;
2233
+ }, z.core.$strict>>;
2234
+ nextCursor: z.ZodNullable<z.ZodString>;
2235
+ }, z.core.$strict>;
2236
+ export declare const LocalIpcErrorCodeSchema: z.ZodEnum<{
2237
+ INVALID_INPUT: "INVALID_INPUT";
2238
+ REVISION_CONFLICT: "REVISION_CONFLICT";
2239
+ CAPABILITY_UNAVAILABLE: "CAPABILITY_UNAVAILABLE";
2240
+ INTERNAL_OPERATIONAL_FAILURE: "INTERNAL_OPERATIONAL_FAILURE";
2241
+ FORBIDDEN: "FORBIDDEN";
2242
+ BUSY: "BUSY";
2243
+ AUTHORIZATION_REQUIRED: "AUTHORIZATION_REQUIRED";
2244
+ FRAME_LIMIT: "FRAME_LIMIT";
2245
+ AGENT_APPROVAL_REQUIRED: "AGENT_APPROVAL_REQUIRED";
2246
+ AGENT_RUNTIME_UNAVAILABLE: "AGENT_RUNTIME_UNAVAILABLE";
2247
+ AGENT_LOGIN_REQUIRED: "AGENT_LOGIN_REQUIRED";
2248
+ AGENT_VERSION_UNQUALIFIED: "AGENT_VERSION_UNQUALIFIED";
2249
+ AGENT_GRANT_REQUIRED: "AGENT_GRANT_REQUIRED";
2250
+ AGENT_OUTCOME_UNKNOWN: "AGENT_OUTCOME_UNKNOWN";
2251
+ AGENT_IMAGE_REQUIRED: "AGENT_IMAGE_REQUIRED";
2252
+ AGENT_IMAGE_INVALID: "AGENT_IMAGE_INVALID";
2253
+ AGENT_IMAGE_BUDGET_EXCEEDED: "AGENT_IMAGE_BUDGET_EXCEEDED";
2254
+ AGENT_IMAGE_AUTHORIZATION_REQUIRED: "AGENT_IMAGE_AUTHORIZATION_REQUIRED";
2255
+ CACHE_QUOTA_EXCEEDED: "CACHE_QUOTA_EXCEEDED";
2256
+ LIBRARY_NOT_FOUND: "LIBRARY_NOT_FOUND";
2257
+ LIBRARY_CONFLICT: "LIBRARY_CONFLICT";
2258
+ LIBRARY_BYTES_INVALID: "LIBRARY_BYTES_INVALID";
2259
+ LIBRARY_ACCESS_DENIED: "LIBRARY_ACCESS_DENIED";
2260
+ LIBRARY_SYNC_REQUIRED: "LIBRARY_SYNC_REQUIRED";
2261
+ LIBRARY_SYNC_UNAVAILABLE: "LIBRARY_SYNC_UNAVAILABLE";
2262
+ LIBRARY_QUOTA_EXCEEDED: "LIBRARY_QUOTA_EXCEEDED";
2263
+ }>;
2264
+ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2265
+ protocol: z.ZodLiteral<"NVS_LOCAL_IPC_V1">;
2266
+ requestId: z.ZodUUID;
2267
+ semanticStatus: z.ZodLiteral<"SUCCESS">;
2268
+ data: z.ZodUnion<readonly [z.ZodObject<{
2269
+ protocol: z.ZodLiteral<"NVS_LOCAL_LIBRARY_V1">;
2270
+ available: z.ZodBoolean;
2271
+ profileDigest: z.ZodString;
2272
+ }, z.core.$strict>, z.ZodObject<{
2273
+ fileCount: z.ZodInt;
2274
+ totalBytes: z.ZodInt;
2275
+ quotaBytes: z.ZodInt;
2276
+ availableDiskBytes: z.ZodInt;
2277
+ }, z.core.$strict>, z.ZodObject<{
2278
+ reference: z.ZodObject<{
2279
+ tenantId: z.ZodUUID;
2280
+ projectId: z.ZodUUID;
2281
+ fileId: z.ZodUUID;
2282
+ versionId: z.ZodUUID;
2283
+ checksumSha256: z.ZodString;
2284
+ byteSize: z.ZodInt;
2285
+ contentType: z.ZodEnum<{
2286
+ "application/json": "application/json";
2287
+ "application/pdf": "application/pdf";
2288
+ "application/octet-stream": "application/octet-stream";
2289
+ "text/plain": "text/plain";
2290
+ "image/png": "image/png";
2291
+ "image/jpeg": "image/jpeg";
2292
+ "image/webp": "image/webp";
2293
+ "audio/wav": "audio/wav";
2294
+ "video/mp4": "video/mp4";
2295
+ }>;
2296
+ deviceId: z.ZodUUID;
2297
+ }, z.core.$strict>;
2298
+ ownerKey: z.ZodString;
2299
+ title: z.ZodString;
2300
+ createdAt: z.ZodISODateTime;
2301
+ revision: z.ZodInt;
2302
+ access: z.ZodObject<{
2303
+ state: z.ZodEnum<{
2304
+ REJECTED: "REJECTED";
2305
+ UNKNOWN: "UNKNOWN";
2306
+ PENDING: "PENDING";
2307
+ LOCAL_ONLY: "LOCAL_ONLY";
2308
+ SYNCED: "SYNCED";
2309
+ }>;
2310
+ desired: z.ZodNullable<z.ZodObject<{
2311
+ reference: z.ZodObject<{
2312
+ tenantId: z.ZodUUID;
2313
+ projectId: z.ZodUUID;
2314
+ fileId: z.ZodUUID;
2315
+ versionId: z.ZodUUID;
2316
+ checksumSha256: z.ZodString;
2317
+ byteSize: z.ZodInt;
2318
+ contentType: z.ZodEnum<{
2319
+ "application/json": "application/json";
2320
+ "application/pdf": "application/pdf";
2321
+ "application/octet-stream": "application/octet-stream";
2322
+ "text/plain": "text/plain";
2323
+ "image/png": "image/png";
2324
+ "image/jpeg": "image/jpeg";
2325
+ "image/webp": "image/webp";
2326
+ "audio/wav": "audio/wav";
2327
+ "video/mp4": "video/mp4";
2328
+ }>;
2329
+ deviceId: z.ZodUUID;
2330
+ }, z.core.$strict>;
2331
+ requestId: z.ZodUUID;
2332
+ expectedRevision: z.ZodInt;
2333
+ metadata: z.ZodNullable<z.ZodObject<{
2334
+ label: z.ZodString;
2335
+ }, z.core.$strict>>;
2336
+ allowInspect: z.ZodBoolean;
2337
+ allowPublish: z.ZodBoolean;
2338
+ expiresAt: z.ZodISODateTime;
2339
+ }, z.core.$strict>>;
2340
+ confirmed: z.ZodNullable<z.ZodObject<{
2341
+ reference: z.ZodObject<{
2342
+ tenantId: z.ZodUUID;
2343
+ projectId: z.ZodUUID;
2344
+ fileId: z.ZodUUID;
2345
+ versionId: z.ZodUUID;
2346
+ checksumSha256: z.ZodString;
2347
+ byteSize: z.ZodInt;
2348
+ contentType: z.ZodEnum<{
2349
+ "application/json": "application/json";
2350
+ "application/pdf": "application/pdf";
2351
+ "application/octet-stream": "application/octet-stream";
2352
+ "text/plain": "text/plain";
2353
+ "image/png": "image/png";
2354
+ "image/jpeg": "image/jpeg";
2355
+ "image/webp": "image/webp";
2356
+ "audio/wav": "audio/wav";
2357
+ "video/mp4": "video/mp4";
2358
+ }>;
2359
+ deviceId: z.ZodUUID;
2360
+ }, z.core.$strict>;
2361
+ requestId: z.ZodUUID;
2362
+ expectedRevision: z.ZodInt;
2363
+ metadata: z.ZodNullable<z.ZodObject<{
2364
+ label: z.ZodString;
2365
+ }, z.core.$strict>>;
2366
+ allowInspect: z.ZodBoolean;
2367
+ allowPublish: z.ZodBoolean;
2368
+ expiresAt: z.ZodISODateTime;
2369
+ revision: z.ZodInt;
2370
+ recordedAt: z.ZodISODateTime;
2371
+ }, z.core.$strict>>;
2372
+ }, z.core.$strict>;
2373
+ }, z.core.$strict>, z.ZodObject<{
2374
+ items: z.ZodArray<z.ZodObject<{
2375
+ reference: z.ZodObject<{
2376
+ tenantId: z.ZodUUID;
2377
+ projectId: z.ZodUUID;
2378
+ fileId: z.ZodUUID;
2379
+ versionId: z.ZodUUID;
2380
+ checksumSha256: z.ZodString;
2381
+ byteSize: z.ZodInt;
2382
+ contentType: z.ZodEnum<{
2383
+ "application/json": "application/json";
2384
+ "application/pdf": "application/pdf";
2385
+ "application/octet-stream": "application/octet-stream";
2386
+ "text/plain": "text/plain";
2387
+ "image/png": "image/png";
2388
+ "image/jpeg": "image/jpeg";
2389
+ "image/webp": "image/webp";
2390
+ "audio/wav": "audio/wav";
2391
+ "video/mp4": "video/mp4";
2392
+ }>;
2393
+ deviceId: z.ZodUUID;
2394
+ }, z.core.$strict>;
2395
+ ownerKey: z.ZodString;
2396
+ title: z.ZodString;
2397
+ createdAt: z.ZodISODateTime;
2398
+ revision: z.ZodInt;
2399
+ access: z.ZodObject<{
2400
+ state: z.ZodEnum<{
2401
+ REJECTED: "REJECTED";
2402
+ UNKNOWN: "UNKNOWN";
2403
+ PENDING: "PENDING";
2404
+ LOCAL_ONLY: "LOCAL_ONLY";
2405
+ SYNCED: "SYNCED";
2406
+ }>;
2407
+ desired: z.ZodNullable<z.ZodObject<{
2408
+ reference: z.ZodObject<{
2409
+ tenantId: z.ZodUUID;
2410
+ projectId: z.ZodUUID;
2411
+ fileId: z.ZodUUID;
2412
+ versionId: z.ZodUUID;
2413
+ checksumSha256: z.ZodString;
2414
+ byteSize: z.ZodInt;
2415
+ contentType: z.ZodEnum<{
2416
+ "application/json": "application/json";
2417
+ "application/pdf": "application/pdf";
2418
+ "application/octet-stream": "application/octet-stream";
2419
+ "text/plain": "text/plain";
2420
+ "image/png": "image/png";
2421
+ "image/jpeg": "image/jpeg";
2422
+ "image/webp": "image/webp";
2423
+ "audio/wav": "audio/wav";
2424
+ "video/mp4": "video/mp4";
2425
+ }>;
2426
+ deviceId: z.ZodUUID;
2427
+ }, z.core.$strict>;
2428
+ requestId: z.ZodUUID;
2429
+ expectedRevision: z.ZodInt;
2430
+ metadata: z.ZodNullable<z.ZodObject<{
2431
+ label: z.ZodString;
2432
+ }, z.core.$strict>>;
2433
+ allowInspect: z.ZodBoolean;
2434
+ allowPublish: z.ZodBoolean;
2435
+ expiresAt: z.ZodISODateTime;
2436
+ }, z.core.$strict>>;
2437
+ confirmed: z.ZodNullable<z.ZodObject<{
2438
+ reference: z.ZodObject<{
2439
+ tenantId: z.ZodUUID;
2440
+ projectId: z.ZodUUID;
2441
+ fileId: z.ZodUUID;
2442
+ versionId: z.ZodUUID;
2443
+ checksumSha256: z.ZodString;
2444
+ byteSize: z.ZodInt;
2445
+ contentType: z.ZodEnum<{
2446
+ "application/json": "application/json";
2447
+ "application/pdf": "application/pdf";
2448
+ "application/octet-stream": "application/octet-stream";
2449
+ "text/plain": "text/plain";
2450
+ "image/png": "image/png";
2451
+ "image/jpeg": "image/jpeg";
2452
+ "image/webp": "image/webp";
2453
+ "audio/wav": "audio/wav";
2454
+ "video/mp4": "video/mp4";
2455
+ }>;
2456
+ deviceId: z.ZodUUID;
2457
+ }, z.core.$strict>;
2458
+ requestId: z.ZodUUID;
2459
+ expectedRevision: z.ZodInt;
2460
+ metadata: z.ZodNullable<z.ZodObject<{
2461
+ label: z.ZodString;
2462
+ }, z.core.$strict>>;
2463
+ allowInspect: z.ZodBoolean;
2464
+ allowPublish: z.ZodBoolean;
2465
+ expiresAt: z.ZodISODateTime;
2466
+ revision: z.ZodInt;
2467
+ recordedAt: z.ZodISODateTime;
2468
+ }, z.core.$strict>>;
2469
+ }, z.core.$strict>;
2470
+ }, z.core.$strict>>;
2471
+ nextCursor: z.ZodNullable<z.ZodString>;
2472
+ }, z.core.$strict>, z.ZodObject<{
2473
+ reference: z.ZodObject<{
2474
+ tenantId: z.ZodUUID;
2475
+ projectId: z.ZodUUID;
2476
+ fileId: z.ZodUUID;
2477
+ versionId: z.ZodUUID;
2478
+ checksumSha256: z.ZodString;
2479
+ byteSize: z.ZodInt;
2480
+ contentType: z.ZodEnum<{
2481
+ "application/json": "application/json";
2482
+ "application/pdf": "application/pdf";
2483
+ "application/octet-stream": "application/octet-stream";
2484
+ "text/plain": "text/plain";
2485
+ "image/png": "image/png";
2486
+ "image/jpeg": "image/jpeg";
2487
+ "image/webp": "image/webp";
2488
+ "audio/wav": "audio/wav";
2489
+ "video/mp4": "video/mp4";
2490
+ }>;
2491
+ deviceId: z.ZodUUID;
2492
+ }, z.core.$strict>;
2493
+ metadata: z.ZodNullable<z.ZodObject<{
2494
+ label: z.ZodString;
2495
+ }, z.core.$strict>>;
2496
+ accessRevision: z.ZodInt;
2497
+ allowInspect: z.ZodBoolean;
2498
+ allowPublish: z.ZodBoolean;
2499
+ expiresAt: z.ZodISODateTime;
2500
+ }, z.core.$strict>, z.ZodObject<{
2501
+ items: z.ZodArray<z.ZodObject<{
2502
+ reference: z.ZodObject<{
2503
+ tenantId: z.ZodUUID;
2504
+ projectId: z.ZodUUID;
2505
+ fileId: z.ZodUUID;
2506
+ versionId: z.ZodUUID;
2507
+ checksumSha256: z.ZodString;
2508
+ byteSize: z.ZodInt;
2509
+ contentType: z.ZodEnum<{
2510
+ "application/json": "application/json";
2511
+ "application/pdf": "application/pdf";
2512
+ "application/octet-stream": "application/octet-stream";
2513
+ "text/plain": "text/plain";
2514
+ "image/png": "image/png";
2515
+ "image/jpeg": "image/jpeg";
2516
+ "image/webp": "image/webp";
2517
+ "audio/wav": "audio/wav";
2518
+ "video/mp4": "video/mp4";
2519
+ }>;
2520
+ deviceId: z.ZodUUID;
2521
+ }, z.core.$strict>;
2522
+ metadata: z.ZodNullable<z.ZodObject<{
2523
+ label: z.ZodString;
2524
+ }, z.core.$strict>>;
2525
+ accessRevision: z.ZodInt;
2526
+ allowInspect: z.ZodBoolean;
2527
+ allowPublish: z.ZodBoolean;
2528
+ expiresAt: z.ZodISODateTime;
2529
+ }, z.core.$strict>>;
2530
+ nextCursor: z.ZodNullable<z.ZodString>;
2531
+ }, z.core.$strict>, z.ZodObject<{
2532
+ reference: z.ZodObject<{
2533
+ tenantId: z.ZodUUID;
2534
+ projectId: z.ZodUUID;
2535
+ fileId: z.ZodUUID;
2536
+ versionId: z.ZodUUID;
2537
+ checksumSha256: z.ZodString;
2538
+ byteSize: z.ZodInt;
2539
+ contentType: z.ZodEnum<{
2540
+ "application/json": "application/json";
2541
+ "application/pdf": "application/pdf";
2542
+ "application/octet-stream": "application/octet-stream";
2543
+ "text/plain": "text/plain";
2544
+ "image/png": "image/png";
2545
+ "image/jpeg": "image/jpeg";
2546
+ "image/webp": "image/webp";
2547
+ "audio/wav": "audio/wav";
2548
+ "video/mp4": "video/mp4";
2549
+ }>;
2550
+ deviceId: z.ZodUUID;
677
2551
  }, z.core.$strict>;
678
- revision: z.ZodInt;
679
- phase: z.ZodEnum<{
680
- RUNNING: "RUNNING";
681
- RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
682
- STAGED: "STAGED";
683
- OUTPUT_PENDING: "OUTPUT_PENDING";
684
- RECEIPT_RECORDED: "RECEIPT_RECORDED";
685
- FENCED: "FENCED";
686
- }>;
687
- checkpoint: z.ZodEnum<{
688
- ADOPTED: "ADOPTED";
689
- SOURCES_READY: "SOURCES_READY";
690
- PROCESS_STARTED: "PROCESS_STARTED";
691
- OUTPUT_STAGED: "OUTPUT_STAGED";
692
- }>;
693
- }, z.core.$strict>>;
694
- nextCursor: z.ZodNullable<z.ZodString>;
695
- }, z.core.$strict>;
696
- export declare const LocalIpcErrorCodeSchema: z.ZodEnum<{
697
- INVALID_INPUT: "INVALID_INPUT";
698
- REVISION_CONFLICT: "REVISION_CONFLICT";
699
- CAPABILITY_UNAVAILABLE: "CAPABILITY_UNAVAILABLE";
700
- INTERNAL_OPERATIONAL_FAILURE: "INTERNAL_OPERATIONAL_FAILURE";
701
- FORBIDDEN: "FORBIDDEN";
702
- BUSY: "BUSY";
703
- AUTHORIZATION_REQUIRED: "AUTHORIZATION_REQUIRED";
704
- FRAME_LIMIT: "FRAME_LIMIT";
705
- AGENT_APPROVAL_REQUIRED: "AGENT_APPROVAL_REQUIRED";
706
- AGENT_GRANT_REQUIRED: "AGENT_GRANT_REQUIRED";
707
- AGENT_OUTCOME_UNKNOWN: "AGENT_OUTCOME_UNKNOWN";
708
- AGENT_IMAGE_REQUIRED: "AGENT_IMAGE_REQUIRED";
709
- AGENT_IMAGE_INVALID: "AGENT_IMAGE_INVALID";
710
- AGENT_IMAGE_BUDGET_EXCEEDED: "AGENT_IMAGE_BUDGET_EXCEEDED";
711
- AGENT_IMAGE_AUTHORIZATION_REQUIRED: "AGENT_IMAGE_AUTHORIZATION_REQUIRED";
712
- }>;
713
- export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
714
- protocol: z.ZodLiteral<"NVS_LOCAL_IPC_V1">;
715
- requestId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
716
- semanticStatus: z.ZodLiteral<"SUCCESS">;
717
- data: z.ZodUnion<readonly [z.ZodObject<{
2552
+ offset: z.ZodInt;
2553
+ contentBase64: z.ZodString;
2554
+ complete: z.ZodBoolean;
2555
+ }, z.core.$strict>, z.ZodObject<{
2556
+ settings: z.ZodObject<{
2557
+ revision: z.ZodInt;
2558
+ policy: z.ZodObject<{
2559
+ acceptNewWork: z.ZodDefault<z.ZodBoolean>;
2560
+ mode: z.ZodDefault<z.ZodEnum<{
2561
+ CONTINUOUS: "CONTINUOUS";
2562
+ IDLE_ONLY: "IDLE_ONLY";
2563
+ }>>;
2564
+ idleAfterSeconds: z.ZodDefault<z.ZodInt>;
2565
+ maxConcurrentJobs: z.ZodDefault<z.ZodInt>;
2566
+ cpuCores: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
2567
+ memoryMiB: z.ZodDefault<z.ZodInt>;
2568
+ cacheQuotaBytes: z.ZodDefault<z.ZodInt>;
2569
+ }, z.core.$strict>;
2570
+ }, z.core.$strict>;
2571
+ storage: z.ZodObject<{
2572
+ cacheBytes: z.ZodInt;
2573
+ protectedBytes: z.ZodInt;
2574
+ reclaimableBytes: z.ZodInt;
2575
+ transferBytes: z.ZodInt;
2576
+ journalBytes: z.ZodInt;
2577
+ reviewBytes: z.ZodOptional<z.ZodInt>;
2578
+ ownerStagingBytes: z.ZodOptional<z.ZodInt>;
2579
+ availableDiskBytes: z.ZodInt;
2580
+ quotaBytes: z.ZodInt;
2581
+ overQuota: z.ZodBoolean;
2582
+ }, z.core.$strict>;
2583
+ scheduling: z.ZodObject<{
2584
+ state: z.ZodEnum<{
2585
+ PAUSED: "PAUSED";
2586
+ READY: "READY";
2587
+ WAITING_FOR_IDLE: "WAITING_FOR_IDLE";
2588
+ AT_CAPACITY: "AT_CAPACITY";
2589
+ DRAINING: "DRAINING";
2590
+ }>;
2591
+ activeJobs: z.ZodInt;
2592
+ idleObservationCurrent: z.ZodBoolean;
2593
+ }, z.core.$strict>;
2594
+ }, z.core.$strict>, z.ZodObject<{
2595
+ protocol: z.ZodLiteral<"NVS_LOCAL_DIAGNOSTICS_V1">;
2596
+ createdAt: z.ZodISODateTime;
2597
+ runtimeVersion: z.ZodString;
2598
+ runtimeRevision: z.ZodInt;
2599
+ settings: z.ZodObject<{
2600
+ revision: z.ZodInt;
2601
+ policy: z.ZodObject<{
2602
+ acceptNewWork: z.ZodDefault<z.ZodBoolean>;
2603
+ mode: z.ZodDefault<z.ZodEnum<{
2604
+ CONTINUOUS: "CONTINUOUS";
2605
+ IDLE_ONLY: "IDLE_ONLY";
2606
+ }>>;
2607
+ idleAfterSeconds: z.ZodDefault<z.ZodInt>;
2608
+ maxConcurrentJobs: z.ZodDefault<z.ZodInt>;
2609
+ cpuCores: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
2610
+ memoryMiB: z.ZodDefault<z.ZodInt>;
2611
+ cacheQuotaBytes: z.ZodDefault<z.ZodInt>;
2612
+ }, z.core.$strict>;
2613
+ }, z.core.$strict>;
2614
+ storage: z.ZodObject<{
2615
+ cacheBytes: z.ZodInt;
2616
+ protectedBytes: z.ZodInt;
2617
+ reclaimableBytes: z.ZodInt;
2618
+ transferBytes: z.ZodInt;
2619
+ journalBytes: z.ZodInt;
2620
+ reviewBytes: z.ZodOptional<z.ZodInt>;
2621
+ ownerStagingBytes: z.ZodOptional<z.ZodInt>;
2622
+ availableDiskBytes: z.ZodInt;
2623
+ quotaBytes: z.ZodInt;
2624
+ overQuota: z.ZodBoolean;
2625
+ }, z.core.$strict>;
2626
+ recordCounts: z.ZodRecord<z.ZodString, z.ZodInt>;
2627
+ failures: z.ZodArray<z.ZodObject<{
2628
+ taskFingerprint: z.ZodString;
2629
+ code: z.ZodString;
2630
+ observedAt: z.ZodISODateTime;
2631
+ }, z.core.$strict>>;
2632
+ }, z.core.$strict>, z.ZodObject<{
2633
+ historical: z.ZodLiteral<true>;
2634
+ items: z.ZodArray<z.ZodObject<{
2635
+ snapshot: z.ZodObject<{
2636
+ projectId: z.ZodUUID;
2637
+ title: z.ZodString;
2638
+ savedAt: z.ZodISODateTime;
2639
+ expiresAt: z.ZodISODateTime;
2640
+ productions: z.ZodArray<z.ZodObject<{
2641
+ id: z.ZodUUID;
2642
+ title: z.ZodString;
2643
+ }, z.core.$strict>>;
2644
+ possiblyTruncated: z.ZodBoolean;
2645
+ }, z.core.$strict>;
2646
+ draft: z.ZodObject<{
2647
+ text: z.ZodString;
2648
+ revision: z.ZodInt;
2649
+ }, z.core.$strict>;
2650
+ }, z.core.$strict>>;
2651
+ }, z.core.$strict>, z.ZodObject<{
718
2652
  protocol: z.ZodLiteral<"NVS_LOCAL_IPC_V1">;
719
2653
  runtimeRevision: z.ZodInt;
720
2654
  state: z.ZodEnum<{
721
2655
  RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
722
- IDLE: "IDLE";
723
2656
  EXECUTING: "EXECUTING";
724
2657
  DRAINING: "DRAINING";
2658
+ IDLE: "IDLE";
725
2659
  }>;
726
2660
  journalSchemaVersion: z.ZodLiteral<1>;
727
- workProtocols: z.ZodArray<z.ZodLiteral<"NVS_LOCAL_WORK_V1">>;
2661
+ workProtocols: z.ZodArray<z.ZodEnum<{
2662
+ NVS_LOCAL_WORK_V1: "NVS_LOCAL_WORK_V1";
2663
+ NVS_LOCAL_WORK_V2: "NVS_LOCAL_WORK_V2";
2664
+ }>>;
728
2665
  versions: z.ZodArray<z.ZodObject<{
729
2666
  component: z.ZodEnum<{
730
2667
  CLI: "CLI";
@@ -746,12 +2683,307 @@ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
746
2683
  TARBALL: "TARBALL";
747
2684
  }>;
748
2685
  }, z.core.$strict>>;
749
- authorizedProjects: z.ZodArray<z.ZodObject<{
750
- tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
751
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
2686
+ deviceAuthority: z.ZodOptional<z.ZodObject<{
2687
+ tenantId: z.ZodUUID;
2688
+ deviceId: z.ZodUUID;
2689
+ origin: z.ZodURL;
2690
+ }, z.core.$strict>>;
2691
+ capabilityMismatch: z.ZodOptional<z.ZodObject<{
2692
+ kind: z.ZodEnum<{
2693
+ CAPABILITY_DEFINITION: "CAPABILITY_DEFINITION";
2694
+ MEDIA_PROFILE: "MEDIA_PROFILE";
2695
+ RENDERER: "RENDERER";
2696
+ VALIDATION_PROFILE: "VALIDATION_PROFILE";
2697
+ PROCESSOR_PROFILE: "PROCESSOR_PROFILE";
2698
+ LOCAL_LIBRARY_PROFILE: "LOCAL_LIBRARY_PROFILE";
2699
+ }>;
2700
+ expectedVersion: z.ZodString;
2701
+ actualVersion: z.ZodString;
2702
+ recovery: z.ZodEnum<{
2703
+ REDISCOVER_CAPABILITY: "REDISCOVER_CAPABILITY";
2704
+ CHECK_DEVICE_RELEASE: "CHECK_DEVICE_RELEASE";
2705
+ }>;
2706
+ }, z.core.$strict>>;
2707
+ deviceCapabilities: z.ZodOptional<z.ZodObject<{
2708
+ deviceRevision: z.ZodInt;
2709
+ tenantMediaValidation: z.ZodBoolean;
2710
+ tenantMediaProcessing: z.ZodBoolean;
2711
+ processorCapabilities: z.ZodArray<z.ZodEnum<{
2712
+ KEYFRAME_GENERATE: "KEYFRAME_GENERATE";
2713
+ VIDEO_GENERATE: "VIDEO_GENERATE";
2714
+ SPEECH_SYNTHESIZE: "SPEECH_SYNTHESIZE";
2715
+ SPEECH_EXTERNAL_QWEN: "SPEECH_EXTERNAL_QWEN";
2716
+ TEMPORAL_SAMPLE: "TEMPORAL_SAMPLE";
2717
+ DELIVERY_VALIDATE: "DELIVERY_VALIDATE";
2718
+ COMPOSITION_RENDER: "COMPOSITION_RENDER";
2719
+ IMPORTED_VISUAL_NORMALIZE: "IMPORTED_VISUAL_NORMALIZE";
2720
+ SOURCE_SYNC_AUDIO: "SOURCE_SYNC_AUDIO";
2721
+ IMPORT_ORIGINAL: "IMPORT_ORIGINAL";
2722
+ LOCAL_MEDIA_INSPECT: "LOCAL_MEDIA_INSPECT";
2723
+ LOCAL_MEDIA_PUBLISH: "LOCAL_MEDIA_PUBLISH";
2724
+ IMPORT_PROJECT_SOURCE: "IMPORT_PROJECT_SOURCE";
2725
+ REGISTER_VISUAL_SEQUENCE: "REGISTER_VISUAL_SEQUENCE";
2726
+ REFERENCE_PREVIEW: "REFERENCE_PREVIEW";
2727
+ SPEECH_SYNTHESIZE_CPU: "SPEECH_SYNTHESIZE_CPU";
2728
+ TRANSCRIBE_AUDIO: "TRANSCRIBE_AUDIO";
2729
+ TRANSCRIBE_EXTERNAL_QWEN: "TRANSCRIBE_EXTERNAL_QWEN";
2730
+ }>>;
752
2731
  }, z.core.$strict>>;
753
2732
  nextActions: z.ZodArray<z.ZodObject<{
754
2733
  call: z.ZodDiscriminatedUnion<[z.ZodObject<{
2734
+ operation: z.ZodLiteral<"library.capability">;
2735
+ }, z.core.$strict>, z.ZodObject<{
2736
+ operation: z.ZodLiteral<"library.call">;
2737
+ input: z.ZodDiscriminatedUnion<[z.ZodObject<{
2738
+ tenantId: z.ZodUUID;
2739
+ after: z.ZodDefault<z.ZodNullable<z.ZodString>>;
2740
+ limit: z.ZodDefault<z.ZodInt>;
2741
+ projectId: z.ZodOptional<z.ZodUUID>;
2742
+ deviceId: z.ZodUUID;
2743
+ ownerKey: z.ZodOptional<z.ZodString>;
2744
+ search: z.ZodOptional<z.ZodString>;
2745
+ mediaCategory: z.ZodOptional<z.ZodEnum<{
2746
+ IMAGE: "IMAGE";
2747
+ VIDEO: "VIDEO";
2748
+ AUDIO: "AUDIO";
2749
+ DOCUMENT: "DOCUMENT";
2750
+ }>>;
2751
+ action: z.ZodLiteral<"list">;
2752
+ }, z.core.$strict>, z.ZodObject<{
2753
+ reference: z.ZodObject<{
2754
+ tenantId: z.ZodUUID;
2755
+ projectId: z.ZodUUID;
2756
+ fileId: z.ZodUUID;
2757
+ versionId: z.ZodUUID;
2758
+ checksumSha256: z.ZodString;
2759
+ byteSize: z.ZodInt;
2760
+ contentType: z.ZodEnum<{
2761
+ "application/json": "application/json";
2762
+ "application/pdf": "application/pdf";
2763
+ "application/octet-stream": "application/octet-stream";
2764
+ "text/plain": "text/plain";
2765
+ "image/png": "image/png";
2766
+ "image/jpeg": "image/jpeg";
2767
+ "image/webp": "image/webp";
2768
+ "audio/wav": "audio/wav";
2769
+ "video/mp4": "video/mp4";
2770
+ }>;
2771
+ deviceId: z.ZodUUID;
2772
+ }, z.core.$strict>;
2773
+ ownerKey: z.ZodOptional<z.ZodString>;
2774
+ action: z.ZodLiteral<"get">;
2775
+ }, z.core.$strict>, z.ZodObject<{
2776
+ search: z.ZodOptional<z.ZodString>;
2777
+ tenantId: z.ZodUUID;
2778
+ limit: z.ZodDefault<z.ZodInt>;
2779
+ after: z.ZodDefault<z.ZodNullable<z.ZodString>>;
2780
+ deviceId: z.ZodUUID;
2781
+ mediaCategory: z.ZodOptional<z.ZodEnum<{
2782
+ IMAGE: "IMAGE";
2783
+ VIDEO: "VIDEO";
2784
+ AUDIO: "AUDIO";
2785
+ DOCUMENT: "DOCUMENT";
2786
+ }>>;
2787
+ projectId: z.ZodUUID;
2788
+ action: z.ZodLiteral<"scoped-list">;
2789
+ }, z.core.$strict>, z.ZodObject<{
2790
+ action: z.ZodLiteral<"scoped-get">;
2791
+ reference: z.ZodObject<{
2792
+ tenantId: z.ZodUUID;
2793
+ projectId: z.ZodUUID;
2794
+ fileId: z.ZodUUID;
2795
+ versionId: z.ZodUUID;
2796
+ checksumSha256: z.ZodString;
2797
+ byteSize: z.ZodInt;
2798
+ contentType: z.ZodEnum<{
2799
+ "application/json": "application/json";
2800
+ "application/pdf": "application/pdf";
2801
+ "application/octet-stream": "application/octet-stream";
2802
+ "text/plain": "text/plain";
2803
+ "image/png": "image/png";
2804
+ "image/jpeg": "image/jpeg";
2805
+ "image/webp": "image/webp";
2806
+ "audio/wav": "audio/wav";
2807
+ "video/mp4": "video/mp4";
2808
+ }>;
2809
+ deviceId: z.ZodUUID;
2810
+ }, z.core.$strict>;
2811
+ }, z.core.$strict>, z.ZodObject<{
2812
+ action: z.ZodLiteral<"usage">;
2813
+ ownerKey: z.ZodOptional<z.ZodString>;
2814
+ }, z.core.$strict>, z.ZodObject<{
2815
+ reference: z.ZodObject<{
2816
+ tenantId: z.ZodUUID;
2817
+ projectId: z.ZodUUID;
2818
+ fileId: z.ZodUUID;
2819
+ versionId: z.ZodUUID;
2820
+ checksumSha256: z.ZodString;
2821
+ byteSize: z.ZodInt;
2822
+ contentType: z.ZodEnum<{
2823
+ "application/json": "application/json";
2824
+ "application/pdf": "application/pdf";
2825
+ "application/octet-stream": "application/octet-stream";
2826
+ "text/plain": "text/plain";
2827
+ "image/png": "image/png";
2828
+ "image/jpeg": "image/jpeg";
2829
+ "image/webp": "image/webp";
2830
+ "audio/wav": "audio/wav";
2831
+ "video/mp4": "video/mp4";
2832
+ }>;
2833
+ deviceId: z.ZodUUID;
2834
+ }, z.core.$strict>;
2835
+ ownerKey: z.ZodOptional<z.ZodString>;
2836
+ offset: z.ZodInt;
2837
+ length: z.ZodInt;
2838
+ action: z.ZodLiteral<"read">;
2839
+ }, z.core.$strict>, z.ZodObject<{
2840
+ command: z.ZodObject<{
2841
+ reference: z.ZodObject<{
2842
+ tenantId: z.ZodUUID;
2843
+ projectId: z.ZodUUID;
2844
+ fileId: z.ZodUUID;
2845
+ versionId: z.ZodUUID;
2846
+ checksumSha256: z.ZodString;
2847
+ byteSize: z.ZodInt;
2848
+ contentType: z.ZodEnum<{
2849
+ "application/json": "application/json";
2850
+ "application/pdf": "application/pdf";
2851
+ "application/octet-stream": "application/octet-stream";
2852
+ "text/plain": "text/plain";
2853
+ "image/png": "image/png";
2854
+ "image/jpeg": "image/jpeg";
2855
+ "image/webp": "image/webp";
2856
+ "audio/wav": "audio/wav";
2857
+ "video/mp4": "video/mp4";
2858
+ }>;
2859
+ deviceId: z.ZodUUID;
2860
+ }, z.core.$strict>;
2861
+ requestId: z.ZodUUID;
2862
+ expectedRevision: z.ZodInt;
2863
+ metadata: z.ZodNullable<z.ZodObject<{
2864
+ label: z.ZodString;
2865
+ }, z.core.$strict>>;
2866
+ allowInspect: z.ZodBoolean;
2867
+ allowPublish: z.ZodBoolean;
2868
+ expiresAt: z.ZodISODateTime;
2869
+ }, z.core.$strict>;
2870
+ expectedLocalRevision: z.ZodInt;
2871
+ ownerKey: z.ZodOptional<z.ZodString>;
2872
+ action: z.ZodLiteral<"access">;
2873
+ }, z.core.$strict>, z.ZodObject<{
2874
+ reference: z.ZodObject<{
2875
+ tenantId: z.ZodUUID;
2876
+ projectId: z.ZodUUID;
2877
+ fileId: z.ZodUUID;
2878
+ versionId: z.ZodUUID;
2879
+ checksumSha256: z.ZodString;
2880
+ byteSize: z.ZodInt;
2881
+ contentType: z.ZodEnum<{
2882
+ "application/json": "application/json";
2883
+ "application/pdf": "application/pdf";
2884
+ "application/octet-stream": "application/octet-stream";
2885
+ "text/plain": "text/plain";
2886
+ "image/png": "image/png";
2887
+ "image/jpeg": "image/jpeg";
2888
+ "image/webp": "image/webp";
2889
+ "audio/wav": "audio/wav";
2890
+ "video/mp4": "video/mp4";
2891
+ }>;
2892
+ deviceId: z.ZodUUID;
2893
+ }, z.core.$strict>;
2894
+ requestId: z.ZodUUID;
2895
+ action: z.ZodLiteral<"sync">;
2896
+ ownerKey: z.ZodOptional<z.ZodString>;
2897
+ }, z.core.$strict>, z.ZodObject<{
2898
+ reference: z.ZodObject<{
2899
+ tenantId: z.ZodUUID;
2900
+ projectId: z.ZodUUID;
2901
+ fileId: z.ZodUUID;
2902
+ versionId: z.ZodUUID;
2903
+ checksumSha256: z.ZodString;
2904
+ byteSize: z.ZodInt;
2905
+ contentType: z.ZodEnum<{
2906
+ "application/json": "application/json";
2907
+ "application/pdf": "application/pdf";
2908
+ "application/octet-stream": "application/octet-stream";
2909
+ "text/plain": "text/plain";
2910
+ "image/png": "image/png";
2911
+ "image/jpeg": "image/jpeg";
2912
+ "image/webp": "image/webp";
2913
+ "audio/wav": "audio/wav";
2914
+ "video/mp4": "video/mp4";
2915
+ }>;
2916
+ deviceId: z.ZodUUID;
2917
+ }, z.core.$strict>;
2918
+ requestId: z.ZodUUID;
2919
+ action: z.ZodLiteral<"resume-access">;
2920
+ ownerKey: z.ZodOptional<z.ZodString>;
2921
+ }, z.core.$strict>, z.ZodObject<{
2922
+ tenantId: z.ZodUUID;
2923
+ projectId: z.ZodUUID;
2924
+ deviceId: z.ZodUUID;
2925
+ requestId: z.ZodUUID;
2926
+ ownerKey: z.ZodOptional<z.ZodString>;
2927
+ action: z.ZodLiteral<"import-receipt">;
2928
+ }, z.core.$strict>], "action">;
2929
+ }, z.core.$strict>, z.ZodObject<{
2930
+ operation: z.ZodLiteral<"agent.discover">;
2931
+ binary: z.ZodOptional<z.ZodString>;
2932
+ }, z.core.$strict>, z.ZodObject<{
2933
+ operation: z.ZodLiteral<"offline.workspace">;
2934
+ input: z.ZodDiscriminatedUnion<[z.ZodObject<{
2935
+ action: z.ZodEnum<{
2936
+ list: "list";
2937
+ forget: "forget";
2938
+ }>;
2939
+ key: z.ZodString;
2940
+ }, z.core.$strict>, z.ZodObject<{
2941
+ action: z.ZodLiteral<"retain">;
2942
+ key: z.ZodString;
2943
+ snapshot: z.ZodObject<{
2944
+ projectId: z.ZodUUID;
2945
+ title: z.ZodString;
2946
+ savedAt: z.ZodISODateTime;
2947
+ expiresAt: z.ZodISODateTime;
2948
+ productions: z.ZodArray<z.ZodObject<{
2949
+ id: z.ZodUUID;
2950
+ title: z.ZodString;
2951
+ }, z.core.$strict>>;
2952
+ possiblyTruncated: z.ZodBoolean;
2953
+ }, z.core.$strict>;
2954
+ }, z.core.$strict>, z.ZodObject<{
2955
+ action: z.ZodLiteral<"draft">;
2956
+ key: z.ZodString;
2957
+ projectId: z.ZodUUID;
2958
+ text: z.ZodString;
2959
+ expectedRevision: z.ZodInt;
2960
+ }, z.core.$strict>], "action">;
2961
+ }, z.core.$strict>, z.ZodObject<{
2962
+ operation: z.ZodLiteral<"workspace.inspect">;
2963
+ }, z.core.$strict>, z.ZodObject<{
2964
+ operation: z.ZodLiteral<"workspace.configure">;
2965
+ policy: z.ZodObject<{
2966
+ acceptNewWork: z.ZodDefault<z.ZodBoolean>;
2967
+ mode: z.ZodDefault<z.ZodEnum<{
2968
+ CONTINUOUS: "CONTINUOUS";
2969
+ IDLE_ONLY: "IDLE_ONLY";
2970
+ }>>;
2971
+ idleAfterSeconds: z.ZodDefault<z.ZodInt>;
2972
+ maxConcurrentJobs: z.ZodDefault<z.ZodInt>;
2973
+ cpuCores: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
2974
+ memoryMiB: z.ZodDefault<z.ZodInt>;
2975
+ cacheQuotaBytes: z.ZodDefault<z.ZodInt>;
2976
+ }, z.core.$strict>;
2977
+ expectedRevision: z.ZodInt;
2978
+ }, z.core.$strict>, z.ZodObject<{
2979
+ operation: z.ZodLiteral<"workspace.activity">;
2980
+ idleSeconds: z.ZodInt;
2981
+ observedAt: z.ZodISODateTime;
2982
+ }, z.core.$strict>, z.ZodObject<{
2983
+ operation: z.ZodLiteral<"storage.clean">;
2984
+ }, z.core.$strict>, z.ZodObject<{
2985
+ operation: z.ZodLiteral<"diagnostics.read">;
2986
+ }, z.core.$strict>, z.ZodObject<{
755
2987
  operation: z.ZodLiteral<"agent.grant">;
756
2988
  grant: z.ZodObject<{
757
2989
  protocol: z.ZodLiteral<"NVS_CODEX_REVIEW_GRANT_V1">;
@@ -772,9 +3004,10 @@ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
772
3004
  inference: z.ZodLiteral<"REMOTE_OPENAI">;
773
3005
  remoteUseApproved: z.ZodLiteral<true>;
774
3006
  imageDisclosureApproved: z.ZodOptional<z.ZodLiteral<true>>;
3007
+ mediaDisclosureApproved: z.ZodOptional<z.ZodLiteral<true>>;
775
3008
  projects: z.ZodArray<z.ZodObject<{
776
- tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
777
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
3009
+ tenantId: z.ZodUUID;
3010
+ projectId: z.ZodUUID;
778
3011
  }, z.core.$strict>>;
779
3012
  expiresAt: z.ZodISODateTime;
780
3013
  }, z.core.$strict>;
@@ -788,16 +3021,9 @@ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
788
3021
  operation: z.ZodLiteral<"agent.prepare">;
789
3022
  snapshot: z.ZodObject<{
790
3023
  basis: z.ZodObject<{
791
- scope: z.ZodObject<{
792
- tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
793
- projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
794
- productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
795
- }, z.core.$strict>;
3024
+ scope: typeof import("../director-proposal.js").DirectorScopeSchema;
3025
+ target: typeof import("../review-intelligence.js").ReviewIntelligenceTargetSchema;
796
3026
  contextFingerprint: z.ZodString;
797
- target: z.ZodObject<{
798
- kind: z.ZodLiteral<"IMAGE">;
799
- generationId: z.ZodUUID;
800
- }, z.core.$strict>;
801
3027
  }, z.core.$strict>;
802
3028
  productionRevision: z.ZodInt;
803
3029
  reviewVersion: z.ZodInt;
@@ -810,15 +3036,126 @@ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
810
3036
  representationId: z.ZodUUID;
811
3037
  checksumSha256: z.ZodString;
812
3038
  }, z.core.$strict>;
813
- requirements: z.ZodArray<z.ZodObject<{
3039
+ requirements: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
3040
+ intentPath: z.ZodOptional<z.ZodString>;
3041
+ key: z.ZodString;
3042
+ expected: z.ZodString;
3043
+ enforcement: z.ZodEnum<{
3044
+ LOCKED: "LOCKED";
3045
+ REQUIRED: "REQUIRED";
3046
+ PREFERRED: "PREFERRED";
3047
+ }>;
3048
+ }, z.core.$strict>, z.ZodObject<{
814
3049
  intentPath: z.ZodOptional<z.ZodString>;
3050
+ continuity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
3051
+ kind: z.ZodLiteral<"STATE">;
3052
+ mode: z.ZodEnum<{
3053
+ PRESERVE: "PRESERVE";
3054
+ PLANNED_TRANSITIONS: "PLANNED_TRANSITIONS";
3055
+ }>;
3056
+ entry: z.ZodString;
3057
+ exit: z.ZodString;
3058
+ changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
3059
+ atPermille: z.ZodInt;
3060
+ from: z.ZodString;
3061
+ to: z.ZodString;
3062
+ reason: z.ZodString;
3063
+ }, z.core.$strict>>>;
3064
+ }, z.core.$strict>, z.ZodObject<{
3065
+ kind: z.ZodLiteral<"TIME">;
3066
+ mode: z.ZodEnum<{
3067
+ MONOTONIC: "MONOTONIC";
3068
+ PLANNED_JUMPS: "PLANNED_JUMPS";
3069
+ }>;
3070
+ entryMs: z.ZodInt;
3071
+ exitMs: z.ZodInt;
3072
+ jumps: z.ZodOptional<z.ZodArray<z.ZodObject<{
3073
+ atPermille: z.ZodInt;
3074
+ fromMs: z.ZodInt;
3075
+ toMs: z.ZodInt;
3076
+ reason: z.ZodString;
3077
+ }, z.core.$strict>>>;
3078
+ }, z.core.$strict>], "kind">>;
3079
+ interval: z.ZodOptional<z.ZodObject<{
3080
+ startMs: z.ZodInt;
3081
+ endMs: z.ZodInt;
3082
+ }, z.core.$strict>>;
3083
+ key: z.ZodString;
3084
+ family: z.ZodEnum<{
3085
+ PRODUCT_IDENTITY: "PRODUCT_IDENTITY";
3086
+ CHARACTER_IDENTITY: "CHARACTER_IDENTITY";
3087
+ WARDROBE: "WARDROBE";
3088
+ LOCATION: "LOCATION";
3089
+ STYLE: "STYLE";
3090
+ SHOT_INTENT: "SHOT_INTENT";
3091
+ BOUNDARY_CONTINUITY: "BOUNDARY_CONTINUITY";
3092
+ SOUND: "SOUND";
3093
+ }>;
3094
+ expected: z.ZodString;
3095
+ enforcement: z.ZodEnum<{
3096
+ LOCKED: "LOCKED";
3097
+ REQUIRED: "REQUIRED";
3098
+ PREFERRED: "PREFERRED";
3099
+ }>;
3100
+ evidenceWindow: z.ZodEnum<{
3101
+ START: "START";
3102
+ END: "END";
3103
+ WHOLE_VIDEO: "WHOLE_VIDEO";
3104
+ TEMPORAL: "TEMPORAL";
3105
+ }>;
3106
+ }, z.core.$strict>, z.ZodObject<{
3107
+ voiceIdentity: z.ZodOptional<typeof import("../voice-consistency.js").VoiceRequirementGateSchema>;
3108
+ continuity: z.ZodOptional<typeof import("../continuity-evaluation.js").ContinuityExpectationSchema>;
3109
+ consistencyScale: z.ZodOptional<typeof import("../continuity-evaluation.js").ConsistencyReviewScaleSchema>;
3110
+ consistencyFamily: z.ZodOptional<z.ZodEnum<{
3111
+ PRODUCT_IDENTITY: "PRODUCT_IDENTITY";
3112
+ CHARACTER_IDENTITY: "CHARACTER_IDENTITY";
3113
+ WARDROBE: "WARDROBE";
3114
+ LOCATION: "LOCATION";
3115
+ STYLE: "STYLE";
3116
+ BOUNDARY_CONTINUITY: "BOUNDARY_CONTINUITY";
3117
+ VOICE_IDENTITY: "VOICE_IDENTITY";
3118
+ }>>;
3119
+ consistencySubject: z.ZodOptional<typeof import("../consistency-profile.js").ConsistencySubjectSchema>;
3120
+ consistencyReference: z.ZodOptional<typeof import("../consistency-profile.js").ConsistencyMasterReferenceSchema>;
815
3121
  key: z.ZodString;
3122
+ dimension: z.ZodEnum<{
3123
+ PRODUCT_PRESENTATION: "PRODUCT_PRESENTATION";
3124
+ CANONICAL_FACT: "CANONICAL_FACT";
3125
+ NARRATIVE: "NARRATIVE";
3126
+ PACING: "PACING";
3127
+ REPETITION: "REPETITION";
3128
+ STYLE: "STYLE";
3129
+ TECHNICAL: "TECHNICAL";
3130
+ TRANSITION: "TRANSITION";
3131
+ }>;
816
3132
  expected: z.ZodString;
817
3133
  enforcement: z.ZodEnum<{
818
3134
  LOCKED: "LOCKED";
819
3135
  REQUIRED: "REQUIRED";
820
3136
  PREFERRED: "PREFERRED";
821
3137
  }>;
3138
+ scope: z.ZodEnum<{
3139
+ PRODUCTION: "PRODUCTION";
3140
+ TRANSITION: "TRANSITION";
3141
+ }>;
3142
+ interval: typeof import("../rough-cut-review.js").ReviewIntervalSchema;
3143
+ shotIds: z.ZodArray<z.ZodUUID>;
3144
+ }, z.core.$strict>]>>;
3145
+ evidence: z.ZodOptional<z.ZodObject<{
3146
+ profile: z.ZodLiteral<"NVS_AGENT_DERIVED_EVIDENCE_V1">;
3147
+ contentType: z.ZodEnum<{
3148
+ "image/png": "image/png";
3149
+ "image/jpeg": "image/jpeg";
3150
+ "image/webp": "image/webp";
3151
+ "video/mp4": "video/mp4";
3152
+ }>;
3153
+ byteSize: z.ZodInt;
3154
+ width: z.ZodInt;
3155
+ height: z.ZodInt;
3156
+ durationMs: z.ZodOptional<z.ZodInt>;
3157
+ frameRate: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>>;
3158
+ hasAudio: z.ZodOptional<z.ZodBoolean>;
822
3159
  }, z.core.$strict>>;
823
3160
  image: z.ZodOptional<z.ZodObject<{
824
3161
  contentType: z.ZodLiteral<"image/png">;
@@ -837,16 +3174,15 @@ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
837
3174
  id: z.ZodUUID;
838
3175
  }, z.core.$strict>, z.ZodObject<{
839
3176
  operation: z.ZodLiteral<"runtime.status">;
3177
+ includeDevice: z.ZodOptional<z.ZodLiteral<true>>;
840
3178
  }, z.core.$strict>, z.ZodObject<{
841
3179
  operation: z.ZodLiteral<"runtime.doctor">;
842
3180
  }, z.core.$strict>, z.ZodObject<{
843
3181
  operation: z.ZodLiteral<"runtime.inventory">;
844
3182
  }, z.core.$strict>, z.ZodObject<{
845
3183
  operation: z.ZodLiteral<"session.issue">;
846
- projects: z.ZodArray<z.ZodObject<{
847
- tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
848
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
849
- }, z.core.$strict>>;
3184
+ tenantId: z.ZodUUID;
3185
+ deviceId: z.ZodUUID;
850
3186
  expiresAt: z.ZodISODateTime;
851
3187
  }, z.core.$strict>, z.ZodObject<{
852
3188
  operation: z.ZodLiteral<"runtime.stop">;
@@ -854,18 +3190,21 @@ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
854
3190
  }, z.core.$strict>, z.ZodObject<{
855
3191
  operation: z.ZodLiteral<"execution.inspect">;
856
3192
  input: z.ZodObject<{
857
- tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
858
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
859
- productionId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
860
- runtimeJobId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
3193
+ tenantId: z.ZodUUID;
3194
+ projectId: z.ZodUUID;
3195
+ productionId: z.ZodUUID;
3196
+ runtimeJobId: z.ZodUUID;
3197
+ includeProgress: z.ZodOptional<z.ZodBoolean>;
861
3198
  }, z.core.$strict>;
862
3199
  }, z.core.$strict>, z.ZodObject<{
863
3200
  operation: z.ZodLiteral<"execution.list">;
864
3201
  input: z.ZodObject<{
865
- tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
866
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
3202
+ tenantId: z.ZodUUID;
3203
+ projectId: z.ZodUUID;
867
3204
  after: z.ZodDefault<z.ZodNullable<z.ZodString>>;
868
3205
  limit: z.ZodDefault<z.ZodInt>;
3206
+ includeCompleted: z.ZodOptional<z.ZodBoolean>;
3207
+ includeProgress: z.ZodOptional<z.ZodBoolean>;
869
3208
  }, z.core.$strict>;
870
3209
  }, z.core.$strict>, z.ZodObject<{
871
3210
  operation: z.ZodLiteral<"update.check">;
@@ -875,7 +3214,7 @@ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
875
3214
  expectedRuntimeRevision: z.ZodInt;
876
3215
  }, z.core.$strict>, z.ZodObject<{
877
3216
  operation: z.ZodLiteral<"update.apply">;
878
- planId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
3217
+ planId: z.ZodUUID;
879
3218
  targetVersion: z.ZodString;
880
3219
  expectedRuntimeRevision: z.ZodInt;
881
3220
  }, z.core.$strict>], "operation">;
@@ -885,8 +3224,8 @@ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
885
3224
  }>;
886
3225
  reason: z.ZodEnum<{
887
3226
  READY: "READY";
888
- INSTALL_REQUIRED: "INSTALL_REQUIRED";
889
3227
  AUTHORIZATION_REQUIRED: "AUTHORIZATION_REQUIRED";
3228
+ INSTALL_REQUIRED: "INSTALL_REQUIRED";
890
3229
  VERSION_INCOMPATIBLE: "VERSION_INCOMPATIBLE";
891
3230
  UPDATE_AVAILABLE: "UPDATE_AVAILABLE";
892
3231
  RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
@@ -894,8 +3233,8 @@ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
894
3233
  }, z.core.$strict>>;
895
3234
  }, z.core.$strict>, z.ZodObject<{
896
3235
  mode: z.ZodEnum<{
897
- MANAGED: "MANAGED";
898
3236
  INSTALLED: "INSTALLED";
3237
+ MANAGED: "MANAGED";
899
3238
  }>;
900
3239
  availability: z.ZodEnum<{
901
3240
  UNAVAILABLE: "UNAVAILABLE";
@@ -907,6 +3246,11 @@ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
907
3246
  TOOL_QUALIFICATION_FAILED: "TOOL_QUALIFICATION_FAILED";
908
3247
  }>;
909
3248
  nativeExecutionReady: z.ZodBoolean;
3249
+ executionProfiles: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3250
+ ROUGH_CUT_PREVIEW_V1: "ROUGH_CUT_PREVIEW_V1";
3251
+ STUDIO_MEDIA_V2: "STUDIO_MEDIA_V2";
3252
+ AUDIO_MEDIA_V1: "AUDIO_MEDIA_V1";
3253
+ }>>>;
910
3254
  tools: z.ZodArray<z.ZodObject<{
911
3255
  name: z.ZodEnum<{
912
3256
  FFMPEG: "FFMPEG";
@@ -918,24 +3262,24 @@ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
918
3262
  }, z.core.$strict>>;
919
3263
  }, z.core.$strict>, z.ZodNullable<z.ZodObject<{
920
3264
  binding: z.ZodObject<{
921
- tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
922
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
923
- productionId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
924
- runtimeJobId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
925
- attemptId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
926
- assignmentRevision: z.ZodInt;
3265
+ tenantId: z.ZodUUID;
3266
+ projectId: z.ZodUUID;
3267
+ productionId: z.ZodUUID;
3268
+ runtimeJobId: z.ZodUUID;
3269
+ attemptId: typeof LocalIdSchema;
3270
+ assignmentRevision: typeof LocalRevisionSchema;
927
3271
  workerId: z.ZodString;
928
- workFingerprint: z.ZodString;
929
- toolchainFingerprint: z.ZodString;
3272
+ workFingerprint: typeof import("./common.js").LocalDigestSchema;
3273
+ toolchainFingerprint: typeof import("./common.js").LocalDigestSchema;
930
3274
  }, z.core.$strict>;
931
3275
  revision: z.ZodInt;
932
3276
  phase: z.ZodEnum<{
933
3277
  RUNNING: "RUNNING";
3278
+ FENCED: "FENCED";
934
3279
  RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
935
3280
  STAGED: "STAGED";
936
3281
  OUTPUT_PENDING: "OUTPUT_PENDING";
937
3282
  RECEIPT_RECORDED: "RECEIPT_RECORDED";
938
- FENCED: "FENCED";
939
3283
  }>;
940
3284
  checkpoint: z.ZodEnum<{
941
3285
  ADOPTED: "ADOPTED";
@@ -943,6 +3287,26 @@ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
943
3287
  PROCESS_STARTED: "PROCESS_STARTED";
944
3288
  OUTPUT_STAGED: "OUTPUT_STAGED";
945
3289
  }>;
3290
+ progress: z.ZodOptional<z.ZodObject<{
3291
+ stage: z.ZodEnum<{
3292
+ WAITING: "WAITING";
3293
+ COMPLETE: "COMPLETE";
3294
+ FENCED: "FENCED";
3295
+ RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
3296
+ DOWNLOADING: "DOWNLOADING";
3297
+ EXECUTING: "EXECUTING";
3298
+ UPLOADING: "UPLOADING";
3299
+ AWAITING_ACCEPTANCE: "AWAITING_ACCEPTANCE";
3300
+ }>;
3301
+ downloadedBytes: z.ZodInt;
3302
+ sourceBytes: z.ZodInt;
3303
+ uploadedBytes: z.ZodInt;
3304
+ outputBytes: z.ZodInt;
3305
+ lastError: z.ZodNullable<z.ZodObject<{
3306
+ code: z.ZodString;
3307
+ observedAt: z.ZodISODateTime;
3308
+ }, z.core.$strict>>;
3309
+ }, z.core.$strict>>;
946
3310
  }, z.core.$strict>>, z.ZodObject<{
947
3311
  state: z.ZodLiteral<"DRAINING">;
948
3312
  inventory: z.ZodOptional<z.ZodObject<{
@@ -961,15 +3325,22 @@ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
961
3325
  win32: "win32";
962
3326
  }>;
963
3327
  architecture: z.ZodEnum<{
964
- x64: "x64";
965
3328
  arm64: "arm64";
3329
+ x64: "x64";
966
3330
  }>;
967
3331
  }, z.core.$strict>;
968
3332
  ipcProtocol: z.ZodLiteral<"NVS_LOCAL_IPC_V1">;
969
- workProtocol: z.ZodLiteral<"NVS_LOCAL_WORK_V1">;
3333
+ workProtocol: z.ZodEnum<{
3334
+ NVS_LOCAL_WORK_V1: "NVS_LOCAL_WORK_V1";
3335
+ NVS_LOCAL_WORK_V2: "NVS_LOCAL_WORK_V2";
3336
+ }>;
970
3337
  journalSchema: z.ZodLiteral<1>;
971
3338
  rendererDigest: z.ZodString;
972
3339
  profileDigest: z.ZodString;
3340
+ compatibleRenderers: z.ZodOptional<z.ZodArray<z.ZodObject<{
3341
+ rendererDigest: z.ZodString;
3342
+ profileDigest: z.ZodString;
3343
+ }, z.core.$strict>>>;
973
3344
  }, z.core.$strict>;
974
3345
  activeProcesses: z.ZodInt;
975
3346
  pendingExecutions: z.ZodInt;
@@ -982,10 +3353,8 @@ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
982
3353
  stateDirectory: z.ZodString;
983
3354
  credential: z.ZodString;
984
3355
  expiresAt: z.ZodISODateTime;
985
- projects: z.ZodArray<z.ZodObject<{
986
- tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
987
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
988
- }, z.core.$strict>>;
3356
+ tenantId: z.ZodUUID;
3357
+ deviceId: z.ZodUUID;
989
3358
  }, z.core.$strict>, z.ZodObject<{
990
3359
  runtimeRevision: z.ZodInt;
991
3360
  descriptor: z.ZodObject<{
@@ -1002,15 +3371,22 @@ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
1002
3371
  win32: "win32";
1003
3372
  }>;
1004
3373
  architecture: z.ZodEnum<{
1005
- x64: "x64";
1006
3374
  arm64: "arm64";
3375
+ x64: "x64";
1007
3376
  }>;
1008
3377
  }, z.core.$strict>;
1009
3378
  ipcProtocol: z.ZodLiteral<"NVS_LOCAL_IPC_V1">;
1010
- workProtocol: z.ZodLiteral<"NVS_LOCAL_WORK_V1">;
3379
+ workProtocol: z.ZodEnum<{
3380
+ NVS_LOCAL_WORK_V1: "NVS_LOCAL_WORK_V1";
3381
+ NVS_LOCAL_WORK_V2: "NVS_LOCAL_WORK_V2";
3382
+ }>;
1011
3383
  journalSchema: z.ZodLiteral<1>;
1012
3384
  rendererDigest: z.ZodString;
1013
3385
  profileDigest: z.ZodString;
3386
+ compatibleRenderers: z.ZodOptional<z.ZodArray<z.ZodObject<{
3387
+ rendererDigest: z.ZodString;
3388
+ profileDigest: z.ZodString;
3389
+ }, z.core.$strict>>>;
1014
3390
  }, z.core.$strict>;
1015
3391
  activeProcesses: z.ZodInt;
1016
3392
  pendingExecutions: z.ZodInt;
@@ -1019,24 +3395,24 @@ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
1019
3395
  }, z.core.$strict>, z.ZodObject<{
1020
3396
  items: z.ZodArray<z.ZodObject<{
1021
3397
  binding: z.ZodObject<{
1022
- tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
1023
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
1024
- productionId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
1025
- runtimeJobId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
1026
- attemptId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
1027
- assignmentRevision: z.ZodInt;
3398
+ tenantId: z.ZodUUID;
3399
+ projectId: z.ZodUUID;
3400
+ productionId: z.ZodUUID;
3401
+ runtimeJobId: z.ZodUUID;
3402
+ attemptId: typeof LocalIdSchema;
3403
+ assignmentRevision: typeof LocalRevisionSchema;
1028
3404
  workerId: z.ZodString;
1029
- workFingerprint: z.ZodString;
1030
- toolchainFingerprint: z.ZodString;
3405
+ workFingerprint: typeof import("./common.js").LocalDigestSchema;
3406
+ toolchainFingerprint: typeof import("./common.js").LocalDigestSchema;
1031
3407
  }, z.core.$strict>;
1032
3408
  revision: z.ZodInt;
1033
3409
  phase: z.ZodEnum<{
1034
3410
  RUNNING: "RUNNING";
3411
+ FENCED: "FENCED";
1035
3412
  RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
1036
3413
  STAGED: "STAGED";
1037
3414
  OUTPUT_PENDING: "OUTPUT_PENDING";
1038
3415
  RECEIPT_RECORDED: "RECEIPT_RECORDED";
1039
- FENCED: "FENCED";
1040
3416
  }>;
1041
3417
  checkpoint: z.ZodEnum<{
1042
3418
  ADOPTED: "ADOPTED";
@@ -1044,6 +3420,26 @@ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
1044
3420
  PROCESS_STARTED: "PROCESS_STARTED";
1045
3421
  OUTPUT_STAGED: "OUTPUT_STAGED";
1046
3422
  }>;
3423
+ progress: z.ZodOptional<z.ZodObject<{
3424
+ stage: z.ZodEnum<{
3425
+ WAITING: "WAITING";
3426
+ COMPLETE: "COMPLETE";
3427
+ FENCED: "FENCED";
3428
+ RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
3429
+ DOWNLOADING: "DOWNLOADING";
3430
+ EXECUTING: "EXECUTING";
3431
+ UPLOADING: "UPLOADING";
3432
+ AWAITING_ACCEPTANCE: "AWAITING_ACCEPTANCE";
3433
+ }>;
3434
+ downloadedBytes: z.ZodInt;
3435
+ sourceBytes: z.ZodInt;
3436
+ uploadedBytes: z.ZodInt;
3437
+ outputBytes: z.ZodInt;
3438
+ lastError: z.ZodNullable<z.ZodObject<{
3439
+ code: z.ZodString;
3440
+ observedAt: z.ZodISODateTime;
3441
+ }, z.core.$strict>>;
3442
+ }, z.core.$strict>>;
1047
3443
  }, z.core.$strict>>;
1048
3444
  nextCursor: z.ZodNullable<z.ZodString>;
1049
3445
  }, z.core.$strict>, z.ZodObject<{
@@ -1057,23 +3453,52 @@ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
1057
3453
  }>;
1058
3454
  grantFingerprint: z.ZodNullable<z.ZodString>;
1059
3455
  inference: z.ZodLiteral<"REMOTE_OPENAI">;
3456
+ }, z.core.$strict>, z.ZodObject<{
3457
+ candidate: z.ZodNullable<z.ZodObject<{
3458
+ binary: z.ZodString;
3459
+ binaryDigest: z.ZodString;
3460
+ version: z.ZodString;
3461
+ qualified: z.ZodBoolean;
3462
+ }, z.core.$strict>>;
3463
+ configured: z.ZodNullable<z.ZodObject<{
3464
+ protocol: z.ZodLiteral<"NVS_CODEX_REVIEW_GRANT_V1">;
3465
+ binary: z.ZodString;
3466
+ binaryDigest: z.ZodString;
3467
+ version: z.ZodEnum<{
3468
+ "0.164.0": "0.164.0";
3469
+ "0.165.0": "0.165.0";
3470
+ }>;
3471
+ model: z.ZodString;
3472
+ reasoningEffort: z.ZodOptional<z.ZodEnum<{
3473
+ medium: "medium";
3474
+ low: "low";
3475
+ high: "high";
3476
+ xhigh: "xhigh";
3477
+ }>>;
3478
+ reviewerLabel: z.ZodString;
3479
+ inference: z.ZodLiteral<"REMOTE_OPENAI">;
3480
+ remoteUseApproved: z.ZodLiteral<true>;
3481
+ imageDisclosureApproved: z.ZodOptional<z.ZodLiteral<true>>;
3482
+ mediaDisclosureApproved: z.ZodOptional<z.ZodLiteral<true>>;
3483
+ projects: z.ZodArray<z.ZodObject<{
3484
+ tenantId: z.ZodUUID;
3485
+ projectId: z.ZodUUID;
3486
+ }, z.core.$strict>>;
3487
+ expiresAt: z.ZodISODateTime;
3488
+ }, z.core.$strict>>;
1060
3489
  }, z.core.$strict>, z.ZodObject<{
1061
3490
  plan: z.ZodObject<{
1062
- protocol: z.ZodLiteral<"NVS_LOCAL_AGENT_REVIEW_V1">;
3491
+ protocol: z.ZodEnum<{
3492
+ NVS_LOCAL_AGENT_REVIEW_V1: "NVS_LOCAL_AGENT_REVIEW_V1";
3493
+ NVS_LOCAL_AGENT_REVIEW_V2: "NVS_LOCAL_AGENT_REVIEW_V2";
3494
+ }>;
1063
3495
  id: z.ZodUUID;
1064
3496
  grantFingerprint: z.ZodString;
1065
3497
  snapshot: z.ZodObject<{
1066
3498
  basis: z.ZodObject<{
1067
- scope: z.ZodObject<{
1068
- tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
1069
- projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
1070
- productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
1071
- }, z.core.$strict>;
3499
+ scope: typeof import("../director-proposal.js").DirectorScopeSchema;
3500
+ target: typeof import("../review-intelligence.js").ReviewIntelligenceTargetSchema;
1072
3501
  contextFingerprint: z.ZodString;
1073
- target: z.ZodObject<{
1074
- kind: z.ZodLiteral<"IMAGE">;
1075
- generationId: z.ZodUUID;
1076
- }, z.core.$strict>;
1077
3502
  }, z.core.$strict>;
1078
3503
  productionRevision: z.ZodInt;
1079
3504
  reviewVersion: z.ZodInt;
@@ -1086,15 +3511,126 @@ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
1086
3511
  representationId: z.ZodUUID;
1087
3512
  checksumSha256: z.ZodString;
1088
3513
  }, z.core.$strict>;
1089
- requirements: z.ZodArray<z.ZodObject<{
3514
+ requirements: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
3515
+ intentPath: z.ZodOptional<z.ZodString>;
3516
+ key: z.ZodString;
3517
+ expected: z.ZodString;
3518
+ enforcement: z.ZodEnum<{
3519
+ LOCKED: "LOCKED";
3520
+ REQUIRED: "REQUIRED";
3521
+ PREFERRED: "PREFERRED";
3522
+ }>;
3523
+ }, z.core.$strict>, z.ZodObject<{
1090
3524
  intentPath: z.ZodOptional<z.ZodString>;
3525
+ continuity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
3526
+ kind: z.ZodLiteral<"STATE">;
3527
+ mode: z.ZodEnum<{
3528
+ PRESERVE: "PRESERVE";
3529
+ PLANNED_TRANSITIONS: "PLANNED_TRANSITIONS";
3530
+ }>;
3531
+ entry: z.ZodString;
3532
+ exit: z.ZodString;
3533
+ changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
3534
+ atPermille: z.ZodInt;
3535
+ from: z.ZodString;
3536
+ to: z.ZodString;
3537
+ reason: z.ZodString;
3538
+ }, z.core.$strict>>>;
3539
+ }, z.core.$strict>, z.ZodObject<{
3540
+ kind: z.ZodLiteral<"TIME">;
3541
+ mode: z.ZodEnum<{
3542
+ MONOTONIC: "MONOTONIC";
3543
+ PLANNED_JUMPS: "PLANNED_JUMPS";
3544
+ }>;
3545
+ entryMs: z.ZodInt;
3546
+ exitMs: z.ZodInt;
3547
+ jumps: z.ZodOptional<z.ZodArray<z.ZodObject<{
3548
+ atPermille: z.ZodInt;
3549
+ fromMs: z.ZodInt;
3550
+ toMs: z.ZodInt;
3551
+ reason: z.ZodString;
3552
+ }, z.core.$strict>>>;
3553
+ }, z.core.$strict>], "kind">>;
3554
+ interval: z.ZodOptional<z.ZodObject<{
3555
+ startMs: z.ZodInt;
3556
+ endMs: z.ZodInt;
3557
+ }, z.core.$strict>>;
3558
+ key: z.ZodString;
3559
+ family: z.ZodEnum<{
3560
+ PRODUCT_IDENTITY: "PRODUCT_IDENTITY";
3561
+ CHARACTER_IDENTITY: "CHARACTER_IDENTITY";
3562
+ WARDROBE: "WARDROBE";
3563
+ LOCATION: "LOCATION";
3564
+ STYLE: "STYLE";
3565
+ SHOT_INTENT: "SHOT_INTENT";
3566
+ BOUNDARY_CONTINUITY: "BOUNDARY_CONTINUITY";
3567
+ SOUND: "SOUND";
3568
+ }>;
3569
+ expected: z.ZodString;
3570
+ enforcement: z.ZodEnum<{
3571
+ LOCKED: "LOCKED";
3572
+ REQUIRED: "REQUIRED";
3573
+ PREFERRED: "PREFERRED";
3574
+ }>;
3575
+ evidenceWindow: z.ZodEnum<{
3576
+ START: "START";
3577
+ END: "END";
3578
+ WHOLE_VIDEO: "WHOLE_VIDEO";
3579
+ TEMPORAL: "TEMPORAL";
3580
+ }>;
3581
+ }, z.core.$strict>, z.ZodObject<{
3582
+ voiceIdentity: z.ZodOptional<typeof import("../voice-consistency.js").VoiceRequirementGateSchema>;
3583
+ continuity: z.ZodOptional<typeof import("../continuity-evaluation.js").ContinuityExpectationSchema>;
3584
+ consistencyScale: z.ZodOptional<typeof import("../continuity-evaluation.js").ConsistencyReviewScaleSchema>;
3585
+ consistencyFamily: z.ZodOptional<z.ZodEnum<{
3586
+ PRODUCT_IDENTITY: "PRODUCT_IDENTITY";
3587
+ CHARACTER_IDENTITY: "CHARACTER_IDENTITY";
3588
+ WARDROBE: "WARDROBE";
3589
+ LOCATION: "LOCATION";
3590
+ STYLE: "STYLE";
3591
+ BOUNDARY_CONTINUITY: "BOUNDARY_CONTINUITY";
3592
+ VOICE_IDENTITY: "VOICE_IDENTITY";
3593
+ }>>;
3594
+ consistencySubject: z.ZodOptional<typeof import("../consistency-profile.js").ConsistencySubjectSchema>;
3595
+ consistencyReference: z.ZodOptional<typeof import("../consistency-profile.js").ConsistencyMasterReferenceSchema>;
1091
3596
  key: z.ZodString;
3597
+ dimension: z.ZodEnum<{
3598
+ PRODUCT_PRESENTATION: "PRODUCT_PRESENTATION";
3599
+ CANONICAL_FACT: "CANONICAL_FACT";
3600
+ NARRATIVE: "NARRATIVE";
3601
+ PACING: "PACING";
3602
+ REPETITION: "REPETITION";
3603
+ STYLE: "STYLE";
3604
+ TECHNICAL: "TECHNICAL";
3605
+ TRANSITION: "TRANSITION";
3606
+ }>;
1092
3607
  expected: z.ZodString;
1093
3608
  enforcement: z.ZodEnum<{
1094
3609
  LOCKED: "LOCKED";
1095
3610
  REQUIRED: "REQUIRED";
1096
3611
  PREFERRED: "PREFERRED";
1097
3612
  }>;
3613
+ scope: z.ZodEnum<{
3614
+ PRODUCTION: "PRODUCTION";
3615
+ TRANSITION: "TRANSITION";
3616
+ }>;
3617
+ interval: typeof import("../rough-cut-review.js").ReviewIntervalSchema;
3618
+ shotIds: z.ZodArray<z.ZodUUID>;
3619
+ }, z.core.$strict>]>>;
3620
+ evidence: z.ZodOptional<z.ZodObject<{
3621
+ profile: z.ZodLiteral<"NVS_AGENT_DERIVED_EVIDENCE_V1">;
3622
+ contentType: z.ZodEnum<{
3623
+ "image/png": "image/png";
3624
+ "image/jpeg": "image/jpeg";
3625
+ "image/webp": "image/webp";
3626
+ "video/mp4": "video/mp4";
3627
+ }>;
3628
+ byteSize: z.ZodInt;
3629
+ width: z.ZodInt;
3630
+ height: z.ZodInt;
3631
+ durationMs: z.ZodOptional<z.ZodInt>;
3632
+ frameRate: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>>;
3633
+ hasAudio: z.ZodOptional<z.ZodBoolean>;
1098
3634
  }, z.core.$strict>>;
1099
3635
  image: z.ZodOptional<z.ZodObject<{
1100
3636
  contentType: z.ZodLiteral<"image/png">;
@@ -1123,18 +3659,18 @@ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
1123
3659
  summary: z.ZodString;
1124
3660
  imageReadback: z.ZodString;
1125
3661
  observations: z.ZodArray<z.ZodObject<{
1126
- key: z.ZodString;
1127
3662
  status: z.ZodEnum<{
3663
+ NOT_APPLICABLE: "NOT_APPLICABLE";
1128
3664
  SATISFIED: "SATISFIED";
1129
3665
  VIOLATED: "VIOLATED";
1130
3666
  NOT_OBSERVABLE: "NOT_OBSERVABLE";
1131
- NOT_APPLICABLE: "NOT_APPLICABLE";
1132
3667
  }>;
1133
3668
  confidence: z.ZodEnum<{
1134
3669
  CLEAR: "CLEAR";
1135
3670
  UNCERTAIN: "UNCERTAIN";
1136
3671
  }>;
1137
3672
  observed: z.ZodString;
3673
+ key: z.ZodString;
1138
3674
  }, z.core.$strict>>;
1139
3675
  }, z.core.$strict>]>>;
1140
3676
  imageReceipt: z.ZodOptional<z.ZodObject<{
@@ -1150,8 +3686,38 @@ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
1150
3686
  width: z.ZodInt;
1151
3687
  height: z.ZodInt;
1152
3688
  }, z.core.$strict>>;
3689
+ evidenceReceipt: z.ZodOptional<z.ZodObject<{
3690
+ protocol: z.ZodLiteral<"NVS_AGENT_DERIVED_EVIDENCE_V1">;
3691
+ draftId: z.ZodUUID;
3692
+ media: z.ZodObject<{
3693
+ artifactId: z.ZodUUID;
3694
+ representationId: z.ZodUUID;
3695
+ checksumSha256: z.ZodString;
3696
+ }, z.core.$strict>;
3697
+ ffmpegDigest: z.ZodString;
3698
+ ffprobeDigest: z.ZodString;
3699
+ attachment: z.ZodObject<{
3700
+ checksumSha256: z.ZodString;
3701
+ byteSize: z.ZodInt;
3702
+ width: z.ZodInt;
3703
+ height: z.ZodInt;
3704
+ }, z.core.$strict>;
3705
+ timestampsMs: z.ZodArray<z.ZodNumber>;
3706
+ audio: z.ZodNullable<z.ZodObject<{
3707
+ sampleRateHz: z.ZodLiteral<48000>;
3708
+ channels: z.ZodLiteral<1>;
3709
+ samples: z.ZodInt;
3710
+ peak: z.ZodNumber;
3711
+ rms: z.ZodNumber;
3712
+ clippedSamples: z.ZodInt;
3713
+ }, z.core.$strict>>;
3714
+ limitations: z.ZodTuple<[z.ZodLiteral<"SAMPLED_FRAMES_ARE_NOT_FULL_PLAYBACK">, z.ZodLiteral<"AUDIO_STATISTICS_ARE_NOT_LISTENING_OR_TRANSCRIPTION">], null>;
3715
+ }, z.core.$strict>>;
1153
3716
  provenance: z.ZodObject<{
1154
- adapter: z.ZodLiteral<"CODEX_METADATA_V1">;
3717
+ adapter: z.ZodEnum<{
3718
+ CODEX_METADATA_V1: "CODEX_METADATA_V1";
3719
+ CODEX_MEDIA_V2: "CODEX_MEDIA_V2";
3720
+ }>;
1155
3721
  binaryDigest: z.ZodString;
1156
3722
  version: z.ZodEnum<{
1157
3723
  "0.164.0": "0.164.0";
@@ -1168,13 +3734,14 @@ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
1168
3734
  inference: z.ZodLiteral<"REMOTE_OPENAI">;
1169
3735
  evidence: z.ZodEnum<{
1170
3736
  IMAGE_PIXELS: "IMAGE_PIXELS";
3737
+ VIDEO_FRAMES: "VIDEO_FRAMES";
1171
3738
  METADATA_ONLY: "METADATA_ONLY";
1172
3739
  }>;
1173
3740
  }, z.core.$strict>;
1174
3741
  }, z.core.$strict>]>;
1175
3742
  }, z.core.$strict>, z.ZodObject<{
1176
3743
  protocol: z.ZodLiteral<"NVS_LOCAL_IPC_V1">;
1177
- requestId: z.ZodNullable<z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>>;
3744
+ requestId: z.ZodNullable<z.ZodUUID>;
1178
3745
  semanticStatus: z.ZodEnum<{
1179
3746
  INVALID_INPUT: "INVALID_INPUT";
1180
3747
  BLOCKED: "BLOCKED";
@@ -1190,12 +3757,23 @@ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
1190
3757
  AUTHORIZATION_REQUIRED: "AUTHORIZATION_REQUIRED";
1191
3758
  FRAME_LIMIT: "FRAME_LIMIT";
1192
3759
  AGENT_APPROVAL_REQUIRED: "AGENT_APPROVAL_REQUIRED";
3760
+ AGENT_RUNTIME_UNAVAILABLE: "AGENT_RUNTIME_UNAVAILABLE";
3761
+ AGENT_LOGIN_REQUIRED: "AGENT_LOGIN_REQUIRED";
3762
+ AGENT_VERSION_UNQUALIFIED: "AGENT_VERSION_UNQUALIFIED";
1193
3763
  AGENT_GRANT_REQUIRED: "AGENT_GRANT_REQUIRED";
1194
3764
  AGENT_OUTCOME_UNKNOWN: "AGENT_OUTCOME_UNKNOWN";
1195
3765
  AGENT_IMAGE_REQUIRED: "AGENT_IMAGE_REQUIRED";
1196
3766
  AGENT_IMAGE_INVALID: "AGENT_IMAGE_INVALID";
1197
3767
  AGENT_IMAGE_BUDGET_EXCEEDED: "AGENT_IMAGE_BUDGET_EXCEEDED";
1198
3768
  AGENT_IMAGE_AUTHORIZATION_REQUIRED: "AGENT_IMAGE_AUTHORIZATION_REQUIRED";
3769
+ CACHE_QUOTA_EXCEEDED: "CACHE_QUOTA_EXCEEDED";
3770
+ LIBRARY_NOT_FOUND: "LIBRARY_NOT_FOUND";
3771
+ LIBRARY_CONFLICT: "LIBRARY_CONFLICT";
3772
+ LIBRARY_BYTES_INVALID: "LIBRARY_BYTES_INVALID";
3773
+ LIBRARY_ACCESS_DENIED: "LIBRARY_ACCESS_DENIED";
3774
+ LIBRARY_SYNC_REQUIRED: "LIBRARY_SYNC_REQUIRED";
3775
+ LIBRARY_SYNC_UNAVAILABLE: "LIBRARY_SYNC_UNAVAILABLE";
3776
+ LIBRARY_QUOTA_EXCEEDED: "LIBRARY_QUOTA_EXCEEDED";
1199
3777
  }>;
1200
3778
  }, z.core.$strict>;
1201
3779
  }, z.core.$strict>], "semanticStatus">;