@nativestudio/cli 0.3.0-rc.1 → 0.3.0-rc.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (185) hide show
  1. package/COMPATIBILITY.json +33 -8
  2. package/LICENSE +201 -21
  3. package/components/runtime.json +29 -4
  4. package/components/runtime.tgz +0 -0
  5. package/dist/_chunks/chunk-37PAJCKA.js +1 -0
  6. package/dist/_chunks/{chunk-G42IS5JF.js → chunk-3AVC742O.js} +1 -1
  7. package/dist/_chunks/chunk-4U4Y2K73.js +1 -0
  8. package/dist/_chunks/chunk-65FQPXKC.js +1 -0
  9. package/dist/_chunks/chunk-6DVZBKNV.js +1 -0
  10. package/dist/_chunks/{chunk-25EDDZQA.js → chunk-6LU6GJKW.js} +1 -1
  11. package/dist/_chunks/chunk-6N433ZWR.js +1 -0
  12. package/dist/_chunks/chunk-EGUJ2YRX.js +1 -0
  13. package/dist/_chunks/{chunk-MSOMVWKN.js → chunk-FU3524Z6.js} +1 -1
  14. package/dist/_chunks/chunk-GZBWA4YN.js +1 -0
  15. package/dist/_chunks/chunk-HR34UMPP.js +1 -0
  16. package/dist/_chunks/chunk-HTUTYIRU.js +1 -0
  17. package/dist/_chunks/chunk-KB2GVAN7.js +1 -0
  18. package/dist/_chunks/chunk-L543FEDK.js +1 -0
  19. package/dist/_chunks/chunk-LISB5W7B.js +1 -0
  20. package/dist/_chunks/chunk-LUAH3KAS.js +1 -0
  21. package/dist/_chunks/chunk-M2KVQQ4X.js +1 -0
  22. package/dist/_chunks/chunk-ODGPV7MM.js +1 -0
  23. package/dist/_chunks/chunk-PUBMDP4E.js +1 -0
  24. package/dist/_chunks/chunk-Q57YFNK5.js +1 -0
  25. package/dist/_chunks/chunk-QAJH4RJQ.js +1 -0
  26. package/dist/_chunks/chunk-WFRRNWO5.js +1 -0
  27. package/dist/_chunks/connect-5YMO6MAR.js +1 -0
  28. package/dist/_chunks/device-management-2OTGEBJQ.js +1 -0
  29. package/dist/_chunks/device-preflight-XPHFZGLO.js +1 -0
  30. package/dist/_chunks/devices-inventory-VWNTU5TE.js +1 -0
  31. package/dist/_chunks/devices-main-VQ4APRVS.js +1 -0
  32. package/dist/_chunks/{files-TBJVDQWU.js → files-TTIQ7LYJ.js} +1 -1
  33. package/dist/_chunks/host-main-H7DPLV7B.js +1 -0
  34. package/dist/_chunks/http-profile-MNJX6OXO.js +1 -0
  35. package/dist/_chunks/library-main-SAC3V2ML.js +1 -0
  36. package/dist/_chunks/local-main-D6B3APK6.js +1 -0
  37. package/dist/_chunks/local-mcp-ONCANLPH.js +1 -0
  38. package/dist/_chunks/main-PW6HB3NC.js +2 -0
  39. package/dist/_chunks/mcp-ZIGBYFUW.js +1 -0
  40. package/dist/_chunks/oauth-HC6TI7HB.js +1 -0
  41. package/dist/_chunks/render-main-GYWKP72O.js +1 -0
  42. package/dist/_chunks/source-import-BC5GNCUZ.js +1 -0
  43. package/dist/_chunks/src-R6DNU336.js +1 -0
  44. package/dist/_chunks/{stdio-main-JEADWO7U.js → stdio-main-RIJS5REB.js} +1 -1
  45. package/dist/_chunks/workspace-main-GNSKHKBG.js +1 -0
  46. package/dist/_types/cli/local/desktop-contract.d.ts +1969 -1
  47. package/dist/_types/cli/local/desktop-device-contract.d.ts +779 -0
  48. package/dist/_types/cli/local/desktop-device-navigation.d.ts +3 -0
  49. package/dist/_types/cli/local/desktop-device-owner.d.ts +244 -0
  50. package/dist/_types/cli/local/desktop-device-state.d.ts +397 -0
  51. package/dist/_types/cli/local/desktop-library.d.ts +853 -0
  52. package/dist/_types/cli/local/desktop-owner.d.ts +735 -1
  53. package/dist/_types/cli/local/ledger.d.ts +64 -10
  54. package/dist/_types/cli/local/manager.d.ts +1146 -43
  55. package/dist/_types/cli/local/mcp-tools.d.ts +287 -46
  56. package/dist/_types/cli/local/releases.d.ts +28 -5
  57. package/dist/_types/cli/local-management.d.ts +5 -0
  58. package/dist/_types/cli/local-navigation.d.ts +1 -0
  59. package/dist/_types/contracts/artifact-discovery.d.ts +76 -4
  60. package/dist/_types/contracts/audio.d.ts +4 -0
  61. package/dist/_types/contracts/composition-authoring.d.ts +8 -8
  62. package/dist/_types/contracts/composition-frame-render.d.ts +4 -4
  63. package/dist/_types/contracts/composition-render-base.d.ts +5 -4
  64. package/dist/_types/contracts/composition-render.d.ts +8 -8
  65. package/dist/_types/contracts/composition-repair.d.ts +10 -10
  66. package/dist/_types/contracts/composition-source-review.d.ts +12 -12
  67. package/dist/_types/contracts/delivery-manifest.d.ts +25 -11729
  68. package/dist/_types/contracts/delivery-operations.d.ts +51 -3909
  69. package/dist/_types/contracts/delivery-summary.d.ts +2 -2
  70. package/dist/_types/contracts/delivery-validation.d.ts +23 -0
  71. package/dist/_types/contracts/device-render.d.ts +77 -0
  72. package/dist/_types/contracts/editor-intelligence.d.ts +114 -2491
  73. package/dist/_types/contracts/exploration-recommendation.d.ts +263 -11607
  74. package/dist/_types/contracts/external-agent-access.d.ts +4 -6
  75. package/dist/_types/contracts/final-ready.d.ts +22 -22
  76. package/dist/_types/contracts/final-render.d.ts +1569 -6940
  77. package/dist/_types/contracts/human-identity.d.ts +13 -0
  78. package/dist/_types/contracts/index.d.ts +4 -0
  79. package/dist/_types/contracts/interface/media-output.d.ts +28 -0
  80. package/dist/_types/contracts/interface/production-snapshot.d.ts +15 -193
  81. package/dist/_types/contracts/keyframe-generation.d.ts +29 -0
  82. package/dist/_types/contracts/local-execution/agent-context.d.ts +365 -0
  83. package/dist/_types/contracts/local-execution/agent-evidence.d.ts +79 -0
  84. package/dist/_types/contracts/local-execution/agent-grant.d.ts +31 -0
  85. package/dist/_types/contracts/local-execution/agent-review.d.ts +496 -64
  86. package/dist/_types/contracts/local-execution/common.d.ts +12 -11
  87. package/dist/_types/contracts/local-execution/completion.d.ts +41 -45
  88. package/dist/_types/contracts/local-execution/components.d.ts +45 -0
  89. package/dist/_types/contracts/local-execution/descriptor.d.ts +38 -0
  90. package/dist/_types/contracts/local-execution/device-authority.d.ts +31 -0
  91. package/dist/_types/contracts/local-execution/device-inventory.d.ts +76 -0
  92. package/dist/_types/contracts/local-execution/device-workspace.d.ts +11 -0
  93. package/dist/_types/contracts/local-execution/device.d.ts +19 -51
  94. package/dist/_types/contracts/local-execution/external-generation.d.ts +199 -0
  95. package/dist/_types/contracts/local-execution/index.d.ts +26 -0
  96. package/dist/_types/contracts/local-execution/ipc.d.ts +2756 -228
  97. package/dist/_types/contracts/local-execution/library-command.d.ts +620 -0
  98. package/dist/_types/contracts/local-execution/library-result.d.ts +408 -0
  99. package/dist/_types/contracts/local-execution/library.d.ts +873 -0
  100. package/dist/_types/contracts/local-execution/lifecycle.d.ts +242 -42
  101. package/dist/_types/contracts/local-execution/local-navigation.d.ts +275 -56
  102. package/dist/_types/contracts/local-execution/management.d.ts +400 -0
  103. package/dist/_types/contracts/local-execution/media-recipe.d.ts +207 -0
  104. package/dist/_types/contracts/local-execution/media-validation-request.d.ts +232 -0
  105. package/dist/_types/contracts/local-execution/media-validation.d.ts +262 -0
  106. package/dist/_types/contracts/local-execution/object-transfer.d.ts +155 -0
  107. package/dist/_types/contracts/local-execution/offline.d.ts +59 -0
  108. package/dist/_types/contracts/local-execution/preview.d.ts +144 -3564
  109. package/dist/_types/contracts/local-execution/processor-capability.d.ts +39 -0
  110. package/dist/_types/contracts/local-execution/processor-direct.d.ts +290 -0
  111. package/dist/_types/contracts/local-execution/processor-recipes.d.ts +1122 -0
  112. package/dist/_types/contracts/local-execution/processor.d.ts +6173 -0
  113. package/dist/_types/contracts/local-execution/project-source-direct.d.ts +201 -0
  114. package/dist/_types/contracts/local-execution/qwen-tts.d.ts +31 -0
  115. package/dist/_types/contracts/local-execution/recognition.d.ts +170 -0
  116. package/dist/_types/contracts/local-execution/speech.d.ts +95 -0
  117. package/dist/_types/contracts/local-execution/tool-selection.d.ts +45 -5
  118. package/dist/_types/contracts/local-execution/whisper.d.ts +24 -0
  119. package/dist/_types/contracts/local-execution/work.d.ts +111 -3403
  120. package/dist/_types/contracts/local-execution/workspace.d.ts +141 -0
  121. package/dist/_types/contracts/media-category.d.ts +11 -0
  122. package/dist/_types/contracts/media-observation.d.ts +929 -8
  123. package/dist/_types/contracts/navigation.d.ts +25 -15
  124. package/dist/_types/contracts/observation-profile.d.ts +3 -3
  125. package/dist/_types/contracts/programmatic-composition.d.ts +24 -24
  126. package/dist/_types/contracts/programmatic-exploration.d.ts +348 -5985
  127. package/dist/_types/contracts/provider-catalog.d.ts +3 -3
  128. package/dist/_types/contracts/provider-models.d.ts +16 -8
  129. package/dist/_types/contracts/provider.d.ts +66 -1
  130. package/dist/_types/contracts/reference-preview.d.ts +19 -0
  131. package/dist/_types/contracts/repair-lifecycle.d.ts +52 -384
  132. package/dist/_types/contracts/repair-plan.d.ts +16 -98
  133. package/dist/_types/contracts/repair-strategy.d.ts +162 -4481
  134. package/dist/_types/contracts/review-intelligence-final-output.d.ts +317 -8139
  135. package/dist/_types/contracts/review-intelligence.d.ts +450 -11420
  136. package/dist/_types/contracts/rough-cut-manifest.d.ts +8 -3
  137. package/dist/_types/contracts/rough-cut-profile.d.ts +12 -3
  138. package/dist/_types/contracts/rough-cut-review.d.ts +134 -12494
  139. package/dist/_types/contracts/rough-cut.d.ts +1073 -5675
  140. package/dist/_types/contracts/sound-making-plan.d.ts +3 -2
  141. package/dist/_types/contracts/speech-cost.d.ts +81 -0
  142. package/dist/_types/contracts/speech.d.ts +149 -0
  143. package/dist/_types/contracts/temporal-evidence-operation.d.ts +1 -0
  144. package/dist/_types/contracts/timeline-audio.d.ts +1 -0
  145. package/dist/_types/contracts/timeline-manifest.d.ts +2 -0
  146. package/dist/_types/contracts/timeline-source-sound.d.ts +1 -0
  147. package/dist/_types/contracts/timeline-v2.d.ts +4 -0
  148. package/dist/_types/contracts/timeline-version-reader.d.ts +10 -0
  149. package/dist/_types/contracts/timeline-visual-layers.d.ts +4 -0
  150. package/dist/_types/contracts/timeline.d.ts +50 -4850
  151. package/dist/_types/contracts/transcription.d.ts +1 -1
  152. package/dist/_types/contracts/video-generation.d.ts +33 -0
  153. package/dist/_types/contracts/visual-layer-render.d.ts +58 -15
  154. package/dist/_types/contracts/visual-sequence.d.ts +22 -0
  155. package/dist/_types/contracts/workspace.d.ts +32 -0
  156. package/dist/_types/sdk/errors.d.ts +8 -3
  157. package/dist/_types/sdk/local-runtime/components.d.ts +2 -0
  158. package/dist/_types/sdk/local-runtime/device-client.d.ts +127 -17
  159. package/dist/_types/sdk/local-runtime/library.d.ts +268 -0
  160. package/dist/_types/sdk/local-runtime/workspace.d.ts +186 -0
  161. package/dist/_types/sdk/local-runtime-client.d.ts +1773 -89
  162. package/dist/entry.js +1 -1
  163. package/dist/local-management.js +1 -1
  164. package/dist/local-navigation.js +1 -1
  165. package/dist/native/JobNative.cs +10 -0
  166. package/dist/native/JobRunner.cs +24 -3
  167. package/dist/native/NativeMain.cs +15 -0
  168. package/package.json +2 -8
  169. package/README.md +0 -78
  170. package/dist/_chunks/chunk-6NVIN2NI.js +0 -1
  171. package/dist/_chunks/chunk-E57YVMQ4.js +0 -1
  172. package/dist/_chunks/chunk-EAZKDCLD.js +0 -1
  173. package/dist/_chunks/chunk-GIEYSDCG.js +0 -1
  174. package/dist/_chunks/chunk-GJ7BZJLW.js +0 -1
  175. package/dist/_chunks/chunk-HLKERZIE.js +0 -1
  176. package/dist/_chunks/chunk-QC7RLTGU.js +0 -1
  177. package/dist/_chunks/chunk-RUMDDTON.js +0 -1
  178. package/dist/_chunks/chunk-U2UKGYGF.js +0 -1
  179. package/dist/_chunks/local-main-SOERK22D.js +0 -1
  180. package/dist/_chunks/local-mcp-JLPXXIDW.js +0 -1
  181. package/dist/_chunks/main-4SNF5EKE.js +0 -2
  182. package/dist/_chunks/mcp-EIMXNRH3.js +0 -1
  183. package/dist/_chunks/oauth-257CEUQH.js +0 -1
  184. package/dist/_chunks/project-connect-6MH2QG6G.js +0 -1
  185. package/dist/_chunks/src-7F6ZEU3U.js +0 -1
@@ -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
+ deviceId: z.ZodUUID;
65
+ mediaCategory: z.ZodOptional<z.ZodEnum<{
66
+ IMAGE: "IMAGE";
67
+ VIDEO: "VIDEO";
68
+ AUDIO: "AUDIO";
69
+ DOCUMENT: "DOCUMENT";
70
+ }>>;
71
+ after: z.ZodDefault<z.ZodNullable<z.ZodString>>;
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,15 +321,124 @@ 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<{
325
+ intentPath: z.ZodOptional<z.ZodString>;
326
+ key: z.ZodString;
327
+ expected: z.ZodString;
328
+ enforcement: z.ZodEnum<{
329
+ LOCKED: "LOCKED";
330
+ REQUIRED: "REQUIRED";
331
+ PREFERRED: "PREFERRED";
332
+ }>;
333
+ }, z.core.$strict>, z.ZodObject<{
68
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>>;
69
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
+ continuity: z.ZodOptional<typeof import("../continuity-evaluation.js").ContinuityExpectationSchema>;
393
+ consistencyScale: z.ZodOptional<typeof import("../continuity-evaluation.js").ConsistencyReviewScaleSchema>;
394
+ consistencyFamily: z.ZodOptional<z.ZodEnum<{
395
+ PRODUCT_IDENTITY: "PRODUCT_IDENTITY";
396
+ CHARACTER_IDENTITY: "CHARACTER_IDENTITY";
397
+ WARDROBE: "WARDROBE";
398
+ LOCATION: "LOCATION";
399
+ STYLE: "STYLE";
400
+ BOUNDARY_CONTINUITY: "BOUNDARY_CONTINUITY";
401
+ }>>;
402
+ consistencySubject: z.ZodOptional<typeof import("../consistency-profile.js").ConsistencySubjectSchema>;
403
+ consistencyReference: z.ZodOptional<typeof import("../consistency-profile.js").ConsistencyMasterReferenceSchema>;
404
+ key: z.ZodString;
405
+ dimension: z.ZodEnum<{
406
+ PRODUCT_PRESENTATION: "PRODUCT_PRESENTATION";
407
+ CANONICAL_FACT: "CANONICAL_FACT";
408
+ NARRATIVE: "NARRATIVE";
409
+ PACING: "PACING";
410
+ REPETITION: "REPETITION";
411
+ STYLE: "STYLE";
412
+ TECHNICAL: "TECHNICAL";
413
+ TRANSITION: "TRANSITION";
414
+ }>;
70
415
  expected: z.ZodString;
71
416
  enforcement: z.ZodEnum<{
72
417
  LOCKED: "LOCKED";
73
418
  REQUIRED: "REQUIRED";
74
419
  PREFERRED: "PREFERRED";
75
420
  }>;
421
+ scope: z.ZodEnum<{
422
+ PRODUCTION: "PRODUCTION";
423
+ TRANSITION: "TRANSITION";
424
+ }>;
425
+ interval: typeof import("../rough-cut-review.js").ReviewIntervalSchema;
426
+ shotIds: z.ZodArray<z.ZodUUID>;
427
+ }, z.core.$strict>]>>;
428
+ evidence: z.ZodOptional<z.ZodObject<{
429
+ profile: z.ZodLiteral<"NVS_AGENT_DERIVED_EVIDENCE_V1">;
430
+ contentType: z.ZodEnum<{
431
+ "image/png": "image/png";
432
+ "image/jpeg": "image/jpeg";
433
+ "image/webp": "image/webp";
434
+ "video/mp4": "video/mp4";
435
+ }>;
436
+ byteSize: z.ZodInt;
437
+ width: z.ZodInt;
438
+ height: z.ZodInt;
439
+ durationMs: z.ZodOptional<z.ZodInt>;
440
+ frameRate: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>>;
441
+ hasAudio: z.ZodOptional<z.ZodBoolean>;
76
442
  }, z.core.$strict>>;
77
443
  image: z.ZodOptional<z.ZodObject<{
78
444
  contentType: z.ZodLiteral<"image/png">;
@@ -91,16 +457,15 @@ export declare const LocalIpcCallSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
91
457
  id: z.ZodUUID;
92
458
  }, z.core.$strict>, z.ZodObject<{
93
459
  operation: z.ZodLiteral<"runtime.status">;
460
+ includeDevice: z.ZodOptional<z.ZodLiteral<true>>;
94
461
  }, z.core.$strict>, z.ZodObject<{
95
462
  operation: z.ZodLiteral<"runtime.doctor">;
96
463
  }, z.core.$strict>, z.ZodObject<{
97
464
  operation: z.ZodLiteral<"runtime.inventory">;
98
465
  }, z.core.$strict>, z.ZodObject<{
99
466
  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>>;
467
+ tenantId: z.ZodUUID;
468
+ deviceId: z.ZodUUID;
104
469
  expiresAt: z.ZodISODateTime;
105
470
  }, z.core.$strict>, z.ZodObject<{
106
471
  operation: z.ZodLiteral<"runtime.stop">;
@@ -108,18 +473,21 @@ export declare const LocalIpcCallSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
108
473
  }, z.core.$strict>, z.ZodObject<{
109
474
  operation: z.ZodLiteral<"execution.inspect">;
110
475
  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>>;
476
+ tenantId: z.ZodUUID;
477
+ projectId: z.ZodUUID;
478
+ productionId: z.ZodUUID;
479
+ runtimeJobId: z.ZodUUID;
480
+ includeProgress: z.ZodOptional<z.ZodBoolean>;
115
481
  }, z.core.$strict>;
116
482
  }, z.core.$strict>, z.ZodObject<{
117
483
  operation: z.ZodLiteral<"execution.list">;
118
484
  input: z.ZodObject<{
119
- tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
120
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
485
+ tenantId: z.ZodUUID;
486
+ projectId: z.ZodUUID;
121
487
  after: z.ZodDefault<z.ZodNullable<z.ZodString>>;
122
488
  limit: z.ZodDefault<z.ZodInt>;
489
+ includeCompleted: z.ZodOptional<z.ZodBoolean>;
490
+ includeProgress: z.ZodOptional<z.ZodBoolean>;
123
491
  }, z.core.$strict>;
124
492
  }, z.core.$strict>, z.ZodObject<{
125
493
  operation: z.ZodLiteral<"update.check">;
@@ -129,12 +497,265 @@ export declare const LocalIpcCallSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
129
497
  expectedRuntimeRevision: z.ZodInt;
130
498
  }, z.core.$strict>, z.ZodObject<{
131
499
  operation: z.ZodLiteral<"update.apply">;
132
- planId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
500
+ planId: z.ZodUUID;
133
501
  targetVersion: z.ZodString;
134
502
  expectedRuntimeRevision: z.ZodInt;
135
503
  }, z.core.$strict>], "operation">;
136
504
  export declare const LocalNextActionSchema: z.ZodObject<{
137
505
  call: z.ZodDiscriminatedUnion<[z.ZodObject<{
506
+ operation: z.ZodLiteral<"library.capability">;
507
+ }, z.core.$strict>, z.ZodObject<{
508
+ operation: z.ZodLiteral<"library.call">;
509
+ input: z.ZodDiscriminatedUnion<[z.ZodObject<{
510
+ tenantId: z.ZodUUID;
511
+ after: z.ZodDefault<z.ZodNullable<z.ZodString>>;
512
+ limit: z.ZodDefault<z.ZodInt>;
513
+ projectId: z.ZodOptional<z.ZodUUID>;
514
+ deviceId: z.ZodUUID;
515
+ ownerKey: z.ZodOptional<z.ZodString>;
516
+ search: z.ZodOptional<z.ZodString>;
517
+ mediaCategory: z.ZodOptional<z.ZodEnum<{
518
+ IMAGE: "IMAGE";
519
+ VIDEO: "VIDEO";
520
+ AUDIO: "AUDIO";
521
+ DOCUMENT: "DOCUMENT";
522
+ }>>;
523
+ action: z.ZodLiteral<"list">;
524
+ }, z.core.$strict>, z.ZodObject<{
525
+ reference: z.ZodObject<{
526
+ tenantId: z.ZodUUID;
527
+ projectId: z.ZodUUID;
528
+ fileId: z.ZodUUID;
529
+ versionId: z.ZodUUID;
530
+ checksumSha256: z.ZodString;
531
+ byteSize: z.ZodInt;
532
+ contentType: z.ZodEnum<{
533
+ "application/json": "application/json";
534
+ "application/pdf": "application/pdf";
535
+ "application/octet-stream": "application/octet-stream";
536
+ "text/plain": "text/plain";
537
+ "image/png": "image/png";
538
+ "image/jpeg": "image/jpeg";
539
+ "image/webp": "image/webp";
540
+ "audio/wav": "audio/wav";
541
+ "video/mp4": "video/mp4";
542
+ }>;
543
+ deviceId: z.ZodUUID;
544
+ }, z.core.$strict>;
545
+ ownerKey: z.ZodOptional<z.ZodString>;
546
+ action: z.ZodLiteral<"get">;
547
+ }, z.core.$strict>, z.ZodObject<{
548
+ search: z.ZodOptional<z.ZodString>;
549
+ tenantId: z.ZodUUID;
550
+ limit: z.ZodDefault<z.ZodInt>;
551
+ deviceId: z.ZodUUID;
552
+ mediaCategory: z.ZodOptional<z.ZodEnum<{
553
+ IMAGE: "IMAGE";
554
+ VIDEO: "VIDEO";
555
+ AUDIO: "AUDIO";
556
+ DOCUMENT: "DOCUMENT";
557
+ }>>;
558
+ after: z.ZodDefault<z.ZodNullable<z.ZodString>>;
559
+ projectId: z.ZodUUID;
560
+ action: z.ZodLiteral<"scoped-list">;
561
+ }, z.core.$strict>, z.ZodObject<{
562
+ action: z.ZodLiteral<"scoped-get">;
563
+ reference: z.ZodObject<{
564
+ tenantId: z.ZodUUID;
565
+ projectId: z.ZodUUID;
566
+ fileId: z.ZodUUID;
567
+ versionId: z.ZodUUID;
568
+ checksumSha256: z.ZodString;
569
+ byteSize: z.ZodInt;
570
+ contentType: z.ZodEnum<{
571
+ "application/json": "application/json";
572
+ "application/pdf": "application/pdf";
573
+ "application/octet-stream": "application/octet-stream";
574
+ "text/plain": "text/plain";
575
+ "image/png": "image/png";
576
+ "image/jpeg": "image/jpeg";
577
+ "image/webp": "image/webp";
578
+ "audio/wav": "audio/wav";
579
+ "video/mp4": "video/mp4";
580
+ }>;
581
+ deviceId: z.ZodUUID;
582
+ }, z.core.$strict>;
583
+ }, z.core.$strict>, z.ZodObject<{
584
+ action: z.ZodLiteral<"usage">;
585
+ ownerKey: z.ZodOptional<z.ZodString>;
586
+ }, z.core.$strict>, z.ZodObject<{
587
+ reference: z.ZodObject<{
588
+ tenantId: z.ZodUUID;
589
+ projectId: z.ZodUUID;
590
+ fileId: z.ZodUUID;
591
+ versionId: z.ZodUUID;
592
+ checksumSha256: z.ZodString;
593
+ byteSize: z.ZodInt;
594
+ contentType: z.ZodEnum<{
595
+ "application/json": "application/json";
596
+ "application/pdf": "application/pdf";
597
+ "application/octet-stream": "application/octet-stream";
598
+ "text/plain": "text/plain";
599
+ "image/png": "image/png";
600
+ "image/jpeg": "image/jpeg";
601
+ "image/webp": "image/webp";
602
+ "audio/wav": "audio/wav";
603
+ "video/mp4": "video/mp4";
604
+ }>;
605
+ deviceId: z.ZodUUID;
606
+ }, z.core.$strict>;
607
+ ownerKey: z.ZodOptional<z.ZodString>;
608
+ offset: z.ZodInt;
609
+ length: z.ZodInt;
610
+ action: z.ZodLiteral<"read">;
611
+ }, z.core.$strict>, z.ZodObject<{
612
+ command: z.ZodObject<{
613
+ reference: z.ZodObject<{
614
+ tenantId: z.ZodUUID;
615
+ projectId: z.ZodUUID;
616
+ fileId: z.ZodUUID;
617
+ versionId: z.ZodUUID;
618
+ checksumSha256: z.ZodString;
619
+ byteSize: z.ZodInt;
620
+ contentType: z.ZodEnum<{
621
+ "application/json": "application/json";
622
+ "application/pdf": "application/pdf";
623
+ "application/octet-stream": "application/octet-stream";
624
+ "text/plain": "text/plain";
625
+ "image/png": "image/png";
626
+ "image/jpeg": "image/jpeg";
627
+ "image/webp": "image/webp";
628
+ "audio/wav": "audio/wav";
629
+ "video/mp4": "video/mp4";
630
+ }>;
631
+ deviceId: z.ZodUUID;
632
+ }, z.core.$strict>;
633
+ requestId: z.ZodUUID;
634
+ expectedRevision: z.ZodInt;
635
+ metadata: z.ZodNullable<z.ZodObject<{
636
+ label: z.ZodString;
637
+ }, z.core.$strict>>;
638
+ allowInspect: z.ZodBoolean;
639
+ allowPublish: z.ZodBoolean;
640
+ expiresAt: z.ZodISODateTime;
641
+ }, z.core.$strict>;
642
+ expectedLocalRevision: z.ZodInt;
643
+ ownerKey: z.ZodOptional<z.ZodString>;
644
+ action: z.ZodLiteral<"access">;
645
+ }, z.core.$strict>, z.ZodObject<{
646
+ reference: z.ZodObject<{
647
+ tenantId: z.ZodUUID;
648
+ projectId: z.ZodUUID;
649
+ fileId: z.ZodUUID;
650
+ versionId: z.ZodUUID;
651
+ checksumSha256: z.ZodString;
652
+ byteSize: z.ZodInt;
653
+ contentType: z.ZodEnum<{
654
+ "application/json": "application/json";
655
+ "application/pdf": "application/pdf";
656
+ "application/octet-stream": "application/octet-stream";
657
+ "text/plain": "text/plain";
658
+ "image/png": "image/png";
659
+ "image/jpeg": "image/jpeg";
660
+ "image/webp": "image/webp";
661
+ "audio/wav": "audio/wav";
662
+ "video/mp4": "video/mp4";
663
+ }>;
664
+ deviceId: z.ZodUUID;
665
+ }, z.core.$strict>;
666
+ requestId: z.ZodUUID;
667
+ action: z.ZodLiteral<"sync">;
668
+ ownerKey: z.ZodOptional<z.ZodString>;
669
+ }, z.core.$strict>, z.ZodObject<{
670
+ reference: z.ZodObject<{
671
+ tenantId: z.ZodUUID;
672
+ projectId: z.ZodUUID;
673
+ fileId: z.ZodUUID;
674
+ versionId: z.ZodUUID;
675
+ checksumSha256: z.ZodString;
676
+ byteSize: z.ZodInt;
677
+ contentType: z.ZodEnum<{
678
+ "application/json": "application/json";
679
+ "application/pdf": "application/pdf";
680
+ "application/octet-stream": "application/octet-stream";
681
+ "text/plain": "text/plain";
682
+ "image/png": "image/png";
683
+ "image/jpeg": "image/jpeg";
684
+ "image/webp": "image/webp";
685
+ "audio/wav": "audio/wav";
686
+ "video/mp4": "video/mp4";
687
+ }>;
688
+ deviceId: z.ZodUUID;
689
+ }, z.core.$strict>;
690
+ requestId: z.ZodUUID;
691
+ action: z.ZodLiteral<"resume-access">;
692
+ ownerKey: z.ZodOptional<z.ZodString>;
693
+ }, z.core.$strict>, z.ZodObject<{
694
+ tenantId: z.ZodUUID;
695
+ projectId: z.ZodUUID;
696
+ deviceId: z.ZodUUID;
697
+ requestId: z.ZodUUID;
698
+ ownerKey: z.ZodOptional<z.ZodString>;
699
+ action: z.ZodLiteral<"import-receipt">;
700
+ }, z.core.$strict>], "action">;
701
+ }, z.core.$strict>, z.ZodObject<{
702
+ operation: z.ZodLiteral<"agent.discover">;
703
+ binary: z.ZodOptional<z.ZodString>;
704
+ }, z.core.$strict>, z.ZodObject<{
705
+ operation: z.ZodLiteral<"offline.workspace">;
706
+ input: z.ZodDiscriminatedUnion<[z.ZodObject<{
707
+ action: z.ZodEnum<{
708
+ list: "list";
709
+ forget: "forget";
710
+ }>;
711
+ key: z.ZodString;
712
+ }, z.core.$strict>, z.ZodObject<{
713
+ action: z.ZodLiteral<"retain">;
714
+ key: z.ZodString;
715
+ snapshot: z.ZodObject<{
716
+ projectId: z.ZodUUID;
717
+ title: z.ZodString;
718
+ savedAt: z.ZodISODateTime;
719
+ expiresAt: z.ZodISODateTime;
720
+ productions: z.ZodArray<z.ZodObject<{
721
+ id: z.ZodUUID;
722
+ title: z.ZodString;
723
+ }, z.core.$strict>>;
724
+ possiblyTruncated: z.ZodBoolean;
725
+ }, z.core.$strict>;
726
+ }, z.core.$strict>, z.ZodObject<{
727
+ action: z.ZodLiteral<"draft">;
728
+ key: z.ZodString;
729
+ projectId: z.ZodUUID;
730
+ text: z.ZodString;
731
+ expectedRevision: z.ZodInt;
732
+ }, z.core.$strict>], "action">;
733
+ }, z.core.$strict>, z.ZodObject<{
734
+ operation: z.ZodLiteral<"workspace.inspect">;
735
+ }, z.core.$strict>, z.ZodObject<{
736
+ operation: z.ZodLiteral<"workspace.configure">;
737
+ policy: z.ZodObject<{
738
+ acceptNewWork: z.ZodDefault<z.ZodBoolean>;
739
+ mode: z.ZodDefault<z.ZodEnum<{
740
+ CONTINUOUS: "CONTINUOUS";
741
+ IDLE_ONLY: "IDLE_ONLY";
742
+ }>>;
743
+ idleAfterSeconds: z.ZodDefault<z.ZodInt>;
744
+ maxConcurrentJobs: z.ZodDefault<z.ZodInt>;
745
+ cpuCores: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
746
+ memoryMiB: z.ZodDefault<z.ZodInt>;
747
+ cacheQuotaBytes: z.ZodDefault<z.ZodInt>;
748
+ }, z.core.$strict>;
749
+ expectedRevision: z.ZodInt;
750
+ }, z.core.$strict>, z.ZodObject<{
751
+ operation: z.ZodLiteral<"workspace.activity">;
752
+ idleSeconds: z.ZodInt;
753
+ observedAt: z.ZodISODateTime;
754
+ }, z.core.$strict>, z.ZodObject<{
755
+ operation: z.ZodLiteral<"storage.clean">;
756
+ }, z.core.$strict>, z.ZodObject<{
757
+ operation: z.ZodLiteral<"diagnostics.read">;
758
+ }, z.core.$strict>, z.ZodObject<{
138
759
  operation: z.ZodLiteral<"agent.grant">;
139
760
  grant: z.ZodObject<{
140
761
  protocol: z.ZodLiteral<"NVS_CODEX_REVIEW_GRANT_V1">;
@@ -155,9 +776,10 @@ export declare const LocalNextActionSchema: z.ZodObject<{
155
776
  inference: z.ZodLiteral<"REMOTE_OPENAI">;
156
777
  remoteUseApproved: z.ZodLiteral<true>;
157
778
  imageDisclosureApproved: z.ZodOptional<z.ZodLiteral<true>>;
779
+ mediaDisclosureApproved: z.ZodOptional<z.ZodLiteral<true>>;
158
780
  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>>;
781
+ tenantId: z.ZodUUID;
782
+ projectId: z.ZodUUID;
161
783
  }, z.core.$strict>>;
162
784
  expiresAt: z.ZodISODateTime;
163
785
  }, z.core.$strict>;
@@ -171,16 +793,9 @@ export declare const LocalNextActionSchema: z.ZodObject<{
171
793
  operation: z.ZodLiteral<"agent.prepare">;
172
794
  snapshot: z.ZodObject<{
173
795
  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>;
796
+ scope: typeof import("../director-proposal.js").DirectorScopeSchema;
797
+ target: typeof import("../review-intelligence.js").ReviewIntelligenceTargetSchema;
179
798
  contextFingerprint: z.ZodString;
180
- target: z.ZodObject<{
181
- kind: z.ZodLiteral<"IMAGE">;
182
- generationId: z.ZodUUID;
183
- }, z.core.$strict>;
184
799
  }, z.core.$strict>;
185
800
  productionRevision: z.ZodInt;
186
801
  reviewVersion: z.ZodInt;
@@ -193,15 +808,124 @@ export declare const LocalNextActionSchema: z.ZodObject<{
193
808
  representationId: z.ZodUUID;
194
809
  checksumSha256: z.ZodString;
195
810
  }, z.core.$strict>;
196
- requirements: z.ZodArray<z.ZodObject<{
811
+ requirements: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
812
+ intentPath: z.ZodOptional<z.ZodString>;
813
+ key: z.ZodString;
814
+ expected: z.ZodString;
815
+ enforcement: z.ZodEnum<{
816
+ LOCKED: "LOCKED";
817
+ REQUIRED: "REQUIRED";
818
+ PREFERRED: "PREFERRED";
819
+ }>;
820
+ }, z.core.$strict>, z.ZodObject<{
197
821
  intentPath: z.ZodOptional<z.ZodString>;
822
+ continuity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
823
+ kind: z.ZodLiteral<"STATE">;
824
+ mode: z.ZodEnum<{
825
+ PRESERVE: "PRESERVE";
826
+ PLANNED_TRANSITIONS: "PLANNED_TRANSITIONS";
827
+ }>;
828
+ entry: z.ZodString;
829
+ exit: z.ZodString;
830
+ changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
831
+ atPermille: z.ZodInt;
832
+ from: z.ZodString;
833
+ to: z.ZodString;
834
+ reason: z.ZodString;
835
+ }, z.core.$strict>>>;
836
+ }, z.core.$strict>, z.ZodObject<{
837
+ kind: z.ZodLiteral<"TIME">;
838
+ mode: z.ZodEnum<{
839
+ MONOTONIC: "MONOTONIC";
840
+ PLANNED_JUMPS: "PLANNED_JUMPS";
841
+ }>;
842
+ entryMs: z.ZodInt;
843
+ exitMs: z.ZodInt;
844
+ jumps: z.ZodOptional<z.ZodArray<z.ZodObject<{
845
+ atPermille: z.ZodInt;
846
+ fromMs: z.ZodInt;
847
+ toMs: z.ZodInt;
848
+ reason: z.ZodString;
849
+ }, z.core.$strict>>>;
850
+ }, z.core.$strict>], "kind">>;
851
+ interval: z.ZodOptional<z.ZodObject<{
852
+ startMs: z.ZodInt;
853
+ endMs: z.ZodInt;
854
+ }, z.core.$strict>>;
855
+ key: z.ZodString;
856
+ family: z.ZodEnum<{
857
+ PRODUCT_IDENTITY: "PRODUCT_IDENTITY";
858
+ CHARACTER_IDENTITY: "CHARACTER_IDENTITY";
859
+ WARDROBE: "WARDROBE";
860
+ LOCATION: "LOCATION";
861
+ STYLE: "STYLE";
862
+ SHOT_INTENT: "SHOT_INTENT";
863
+ BOUNDARY_CONTINUITY: "BOUNDARY_CONTINUITY";
864
+ SOUND: "SOUND";
865
+ }>;
866
+ expected: z.ZodString;
867
+ enforcement: z.ZodEnum<{
868
+ LOCKED: "LOCKED";
869
+ REQUIRED: "REQUIRED";
870
+ PREFERRED: "PREFERRED";
871
+ }>;
872
+ evidenceWindow: z.ZodEnum<{
873
+ START: "START";
874
+ END: "END";
875
+ WHOLE_VIDEO: "WHOLE_VIDEO";
876
+ TEMPORAL: "TEMPORAL";
877
+ }>;
878
+ }, z.core.$strict>, z.ZodObject<{
879
+ continuity: z.ZodOptional<typeof import("../continuity-evaluation.js").ContinuityExpectationSchema>;
880
+ consistencyScale: z.ZodOptional<typeof import("../continuity-evaluation.js").ConsistencyReviewScaleSchema>;
881
+ consistencyFamily: z.ZodOptional<z.ZodEnum<{
882
+ PRODUCT_IDENTITY: "PRODUCT_IDENTITY";
883
+ CHARACTER_IDENTITY: "CHARACTER_IDENTITY";
884
+ WARDROBE: "WARDROBE";
885
+ LOCATION: "LOCATION";
886
+ STYLE: "STYLE";
887
+ BOUNDARY_CONTINUITY: "BOUNDARY_CONTINUITY";
888
+ }>>;
889
+ consistencySubject: z.ZodOptional<typeof import("../consistency-profile.js").ConsistencySubjectSchema>;
890
+ consistencyReference: z.ZodOptional<typeof import("../consistency-profile.js").ConsistencyMasterReferenceSchema>;
198
891
  key: z.ZodString;
892
+ dimension: z.ZodEnum<{
893
+ PRODUCT_PRESENTATION: "PRODUCT_PRESENTATION";
894
+ CANONICAL_FACT: "CANONICAL_FACT";
895
+ NARRATIVE: "NARRATIVE";
896
+ PACING: "PACING";
897
+ REPETITION: "REPETITION";
898
+ STYLE: "STYLE";
899
+ TECHNICAL: "TECHNICAL";
900
+ TRANSITION: "TRANSITION";
901
+ }>;
199
902
  expected: z.ZodString;
200
903
  enforcement: z.ZodEnum<{
201
904
  LOCKED: "LOCKED";
202
905
  REQUIRED: "REQUIRED";
203
906
  PREFERRED: "PREFERRED";
204
907
  }>;
908
+ scope: z.ZodEnum<{
909
+ PRODUCTION: "PRODUCTION";
910
+ TRANSITION: "TRANSITION";
911
+ }>;
912
+ interval: typeof import("../rough-cut-review.js").ReviewIntervalSchema;
913
+ shotIds: z.ZodArray<z.ZodUUID>;
914
+ }, z.core.$strict>]>>;
915
+ evidence: z.ZodOptional<z.ZodObject<{
916
+ profile: z.ZodLiteral<"NVS_AGENT_DERIVED_EVIDENCE_V1">;
917
+ contentType: z.ZodEnum<{
918
+ "image/png": "image/png";
919
+ "image/jpeg": "image/jpeg";
920
+ "image/webp": "image/webp";
921
+ "video/mp4": "video/mp4";
922
+ }>;
923
+ byteSize: z.ZodInt;
924
+ width: z.ZodInt;
925
+ height: z.ZodInt;
926
+ durationMs: z.ZodOptional<z.ZodInt>;
927
+ frameRate: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>>;
928
+ hasAudio: z.ZodOptional<z.ZodBoolean>;
205
929
  }, z.core.$strict>>;
206
930
  image: z.ZodOptional<z.ZodObject<{
207
931
  contentType: z.ZodLiteral<"image/png">;
@@ -220,16 +944,15 @@ export declare const LocalNextActionSchema: z.ZodObject<{
220
944
  id: z.ZodUUID;
221
945
  }, z.core.$strict>, z.ZodObject<{
222
946
  operation: z.ZodLiteral<"runtime.status">;
947
+ includeDevice: z.ZodOptional<z.ZodLiteral<true>>;
223
948
  }, z.core.$strict>, z.ZodObject<{
224
949
  operation: z.ZodLiteral<"runtime.doctor">;
225
950
  }, z.core.$strict>, z.ZodObject<{
226
951
  operation: z.ZodLiteral<"runtime.inventory">;
227
952
  }, z.core.$strict>, z.ZodObject<{
228
953
  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>>;
954
+ tenantId: z.ZodUUID;
955
+ deviceId: z.ZodUUID;
233
956
  expiresAt: z.ZodISODateTime;
234
957
  }, z.core.$strict>, z.ZodObject<{
235
958
  operation: z.ZodLiteral<"runtime.stop">;
@@ -237,18 +960,21 @@ export declare const LocalNextActionSchema: z.ZodObject<{
237
960
  }, z.core.$strict>, z.ZodObject<{
238
961
  operation: z.ZodLiteral<"execution.inspect">;
239
962
  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>>;
963
+ tenantId: z.ZodUUID;
964
+ projectId: z.ZodUUID;
965
+ productionId: z.ZodUUID;
966
+ runtimeJobId: z.ZodUUID;
967
+ includeProgress: z.ZodOptional<z.ZodBoolean>;
244
968
  }, z.core.$strict>;
245
969
  }, z.core.$strict>, z.ZodObject<{
246
970
  operation: z.ZodLiteral<"execution.list">;
247
971
  input: z.ZodObject<{
248
- tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
249
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
972
+ tenantId: z.ZodUUID;
973
+ projectId: z.ZodUUID;
250
974
  after: z.ZodDefault<z.ZodNullable<z.ZodString>>;
251
975
  limit: z.ZodDefault<z.ZodInt>;
976
+ includeCompleted: z.ZodOptional<z.ZodBoolean>;
977
+ includeProgress: z.ZodOptional<z.ZodBoolean>;
252
978
  }, z.core.$strict>;
253
979
  }, z.core.$strict>, z.ZodObject<{
254
980
  operation: z.ZodLiteral<"update.check">;
@@ -258,7 +984,7 @@ export declare const LocalNextActionSchema: z.ZodObject<{
258
984
  expectedRuntimeRevision: z.ZodInt;
259
985
  }, z.core.$strict>, z.ZodObject<{
260
986
  operation: z.ZodLiteral<"update.apply">;
261
- planId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
987
+ planId: z.ZodUUID;
262
988
  targetVersion: z.ZodString;
263
989
  expectedRuntimeRevision: z.ZodInt;
264
990
  }, z.core.$strict>], "operation">;
@@ -277,8 +1003,261 @@ export declare const LocalNextActionSchema: z.ZodObject<{
277
1003
  }, z.core.$strict>;
278
1004
  export declare const LocalIpcRequestSchema: z.ZodObject<{
279
1005
  protocol: z.ZodLiteral<"NVS_LOCAL_IPC_V1">;
280
- requestId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
1006
+ requestId: z.ZodUUID;
281
1007
  call: z.ZodDiscriminatedUnion<[z.ZodObject<{
1008
+ operation: z.ZodLiteral<"library.capability">;
1009
+ }, z.core.$strict>, z.ZodObject<{
1010
+ operation: z.ZodLiteral<"library.call">;
1011
+ input: z.ZodDiscriminatedUnion<[z.ZodObject<{
1012
+ tenantId: z.ZodUUID;
1013
+ after: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1014
+ limit: z.ZodDefault<z.ZodInt>;
1015
+ projectId: z.ZodOptional<z.ZodUUID>;
1016
+ deviceId: z.ZodUUID;
1017
+ ownerKey: z.ZodOptional<z.ZodString>;
1018
+ search: z.ZodOptional<z.ZodString>;
1019
+ mediaCategory: z.ZodOptional<z.ZodEnum<{
1020
+ IMAGE: "IMAGE";
1021
+ VIDEO: "VIDEO";
1022
+ AUDIO: "AUDIO";
1023
+ DOCUMENT: "DOCUMENT";
1024
+ }>>;
1025
+ action: z.ZodLiteral<"list">;
1026
+ }, z.core.$strict>, z.ZodObject<{
1027
+ reference: z.ZodObject<{
1028
+ tenantId: z.ZodUUID;
1029
+ projectId: z.ZodUUID;
1030
+ fileId: z.ZodUUID;
1031
+ versionId: z.ZodUUID;
1032
+ checksumSha256: z.ZodString;
1033
+ byteSize: z.ZodInt;
1034
+ contentType: z.ZodEnum<{
1035
+ "application/json": "application/json";
1036
+ "application/pdf": "application/pdf";
1037
+ "application/octet-stream": "application/octet-stream";
1038
+ "text/plain": "text/plain";
1039
+ "image/png": "image/png";
1040
+ "image/jpeg": "image/jpeg";
1041
+ "image/webp": "image/webp";
1042
+ "audio/wav": "audio/wav";
1043
+ "video/mp4": "video/mp4";
1044
+ }>;
1045
+ deviceId: z.ZodUUID;
1046
+ }, z.core.$strict>;
1047
+ ownerKey: z.ZodOptional<z.ZodString>;
1048
+ action: z.ZodLiteral<"get">;
1049
+ }, z.core.$strict>, z.ZodObject<{
1050
+ search: z.ZodOptional<z.ZodString>;
1051
+ tenantId: z.ZodUUID;
1052
+ limit: z.ZodDefault<z.ZodInt>;
1053
+ deviceId: z.ZodUUID;
1054
+ mediaCategory: z.ZodOptional<z.ZodEnum<{
1055
+ IMAGE: "IMAGE";
1056
+ VIDEO: "VIDEO";
1057
+ AUDIO: "AUDIO";
1058
+ DOCUMENT: "DOCUMENT";
1059
+ }>>;
1060
+ after: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1061
+ projectId: z.ZodUUID;
1062
+ action: z.ZodLiteral<"scoped-list">;
1063
+ }, z.core.$strict>, z.ZodObject<{
1064
+ action: z.ZodLiteral<"scoped-get">;
1065
+ reference: z.ZodObject<{
1066
+ tenantId: z.ZodUUID;
1067
+ projectId: z.ZodUUID;
1068
+ fileId: z.ZodUUID;
1069
+ versionId: z.ZodUUID;
1070
+ checksumSha256: z.ZodString;
1071
+ byteSize: z.ZodInt;
1072
+ contentType: z.ZodEnum<{
1073
+ "application/json": "application/json";
1074
+ "application/pdf": "application/pdf";
1075
+ "application/octet-stream": "application/octet-stream";
1076
+ "text/plain": "text/plain";
1077
+ "image/png": "image/png";
1078
+ "image/jpeg": "image/jpeg";
1079
+ "image/webp": "image/webp";
1080
+ "audio/wav": "audio/wav";
1081
+ "video/mp4": "video/mp4";
1082
+ }>;
1083
+ deviceId: z.ZodUUID;
1084
+ }, z.core.$strict>;
1085
+ }, z.core.$strict>, z.ZodObject<{
1086
+ action: z.ZodLiteral<"usage">;
1087
+ ownerKey: z.ZodOptional<z.ZodString>;
1088
+ }, z.core.$strict>, z.ZodObject<{
1089
+ reference: z.ZodObject<{
1090
+ tenantId: z.ZodUUID;
1091
+ projectId: z.ZodUUID;
1092
+ fileId: z.ZodUUID;
1093
+ versionId: z.ZodUUID;
1094
+ checksumSha256: z.ZodString;
1095
+ byteSize: z.ZodInt;
1096
+ contentType: z.ZodEnum<{
1097
+ "application/json": "application/json";
1098
+ "application/pdf": "application/pdf";
1099
+ "application/octet-stream": "application/octet-stream";
1100
+ "text/plain": "text/plain";
1101
+ "image/png": "image/png";
1102
+ "image/jpeg": "image/jpeg";
1103
+ "image/webp": "image/webp";
1104
+ "audio/wav": "audio/wav";
1105
+ "video/mp4": "video/mp4";
1106
+ }>;
1107
+ deviceId: z.ZodUUID;
1108
+ }, z.core.$strict>;
1109
+ ownerKey: z.ZodOptional<z.ZodString>;
1110
+ offset: z.ZodInt;
1111
+ length: z.ZodInt;
1112
+ action: z.ZodLiteral<"read">;
1113
+ }, z.core.$strict>, z.ZodObject<{
1114
+ command: z.ZodObject<{
1115
+ reference: z.ZodObject<{
1116
+ tenantId: z.ZodUUID;
1117
+ projectId: z.ZodUUID;
1118
+ fileId: z.ZodUUID;
1119
+ versionId: z.ZodUUID;
1120
+ checksumSha256: z.ZodString;
1121
+ byteSize: z.ZodInt;
1122
+ contentType: z.ZodEnum<{
1123
+ "application/json": "application/json";
1124
+ "application/pdf": "application/pdf";
1125
+ "application/octet-stream": "application/octet-stream";
1126
+ "text/plain": "text/plain";
1127
+ "image/png": "image/png";
1128
+ "image/jpeg": "image/jpeg";
1129
+ "image/webp": "image/webp";
1130
+ "audio/wav": "audio/wav";
1131
+ "video/mp4": "video/mp4";
1132
+ }>;
1133
+ deviceId: z.ZodUUID;
1134
+ }, z.core.$strict>;
1135
+ requestId: z.ZodUUID;
1136
+ expectedRevision: z.ZodInt;
1137
+ metadata: z.ZodNullable<z.ZodObject<{
1138
+ label: z.ZodString;
1139
+ }, z.core.$strict>>;
1140
+ allowInspect: z.ZodBoolean;
1141
+ allowPublish: z.ZodBoolean;
1142
+ expiresAt: z.ZodISODateTime;
1143
+ }, z.core.$strict>;
1144
+ expectedLocalRevision: z.ZodInt;
1145
+ ownerKey: z.ZodOptional<z.ZodString>;
1146
+ action: z.ZodLiteral<"access">;
1147
+ }, z.core.$strict>, z.ZodObject<{
1148
+ reference: z.ZodObject<{
1149
+ tenantId: z.ZodUUID;
1150
+ projectId: z.ZodUUID;
1151
+ fileId: z.ZodUUID;
1152
+ versionId: z.ZodUUID;
1153
+ checksumSha256: z.ZodString;
1154
+ byteSize: z.ZodInt;
1155
+ contentType: z.ZodEnum<{
1156
+ "application/json": "application/json";
1157
+ "application/pdf": "application/pdf";
1158
+ "application/octet-stream": "application/octet-stream";
1159
+ "text/plain": "text/plain";
1160
+ "image/png": "image/png";
1161
+ "image/jpeg": "image/jpeg";
1162
+ "image/webp": "image/webp";
1163
+ "audio/wav": "audio/wav";
1164
+ "video/mp4": "video/mp4";
1165
+ }>;
1166
+ deviceId: z.ZodUUID;
1167
+ }, z.core.$strict>;
1168
+ requestId: z.ZodUUID;
1169
+ action: z.ZodLiteral<"sync">;
1170
+ ownerKey: z.ZodOptional<z.ZodString>;
1171
+ }, z.core.$strict>, z.ZodObject<{
1172
+ reference: z.ZodObject<{
1173
+ tenantId: z.ZodUUID;
1174
+ projectId: z.ZodUUID;
1175
+ fileId: z.ZodUUID;
1176
+ versionId: z.ZodUUID;
1177
+ checksumSha256: z.ZodString;
1178
+ byteSize: z.ZodInt;
1179
+ contentType: z.ZodEnum<{
1180
+ "application/json": "application/json";
1181
+ "application/pdf": "application/pdf";
1182
+ "application/octet-stream": "application/octet-stream";
1183
+ "text/plain": "text/plain";
1184
+ "image/png": "image/png";
1185
+ "image/jpeg": "image/jpeg";
1186
+ "image/webp": "image/webp";
1187
+ "audio/wav": "audio/wav";
1188
+ "video/mp4": "video/mp4";
1189
+ }>;
1190
+ deviceId: z.ZodUUID;
1191
+ }, z.core.$strict>;
1192
+ requestId: z.ZodUUID;
1193
+ action: z.ZodLiteral<"resume-access">;
1194
+ ownerKey: z.ZodOptional<z.ZodString>;
1195
+ }, z.core.$strict>, z.ZodObject<{
1196
+ tenantId: z.ZodUUID;
1197
+ projectId: z.ZodUUID;
1198
+ deviceId: z.ZodUUID;
1199
+ requestId: z.ZodUUID;
1200
+ ownerKey: z.ZodOptional<z.ZodString>;
1201
+ action: z.ZodLiteral<"import-receipt">;
1202
+ }, z.core.$strict>], "action">;
1203
+ }, z.core.$strict>, z.ZodObject<{
1204
+ operation: z.ZodLiteral<"agent.discover">;
1205
+ binary: z.ZodOptional<z.ZodString>;
1206
+ }, z.core.$strict>, z.ZodObject<{
1207
+ operation: z.ZodLiteral<"offline.workspace">;
1208
+ input: z.ZodDiscriminatedUnion<[z.ZodObject<{
1209
+ action: z.ZodEnum<{
1210
+ list: "list";
1211
+ forget: "forget";
1212
+ }>;
1213
+ key: z.ZodString;
1214
+ }, z.core.$strict>, z.ZodObject<{
1215
+ action: z.ZodLiteral<"retain">;
1216
+ key: z.ZodString;
1217
+ snapshot: z.ZodObject<{
1218
+ projectId: z.ZodUUID;
1219
+ title: z.ZodString;
1220
+ savedAt: z.ZodISODateTime;
1221
+ expiresAt: z.ZodISODateTime;
1222
+ productions: z.ZodArray<z.ZodObject<{
1223
+ id: z.ZodUUID;
1224
+ title: z.ZodString;
1225
+ }, z.core.$strict>>;
1226
+ possiblyTruncated: z.ZodBoolean;
1227
+ }, z.core.$strict>;
1228
+ }, z.core.$strict>, z.ZodObject<{
1229
+ action: z.ZodLiteral<"draft">;
1230
+ key: z.ZodString;
1231
+ projectId: z.ZodUUID;
1232
+ text: z.ZodString;
1233
+ expectedRevision: z.ZodInt;
1234
+ }, z.core.$strict>], "action">;
1235
+ }, z.core.$strict>, z.ZodObject<{
1236
+ operation: z.ZodLiteral<"workspace.inspect">;
1237
+ }, z.core.$strict>, z.ZodObject<{
1238
+ operation: z.ZodLiteral<"workspace.configure">;
1239
+ policy: z.ZodObject<{
1240
+ acceptNewWork: z.ZodDefault<z.ZodBoolean>;
1241
+ mode: z.ZodDefault<z.ZodEnum<{
1242
+ CONTINUOUS: "CONTINUOUS";
1243
+ IDLE_ONLY: "IDLE_ONLY";
1244
+ }>>;
1245
+ idleAfterSeconds: z.ZodDefault<z.ZodInt>;
1246
+ maxConcurrentJobs: z.ZodDefault<z.ZodInt>;
1247
+ cpuCores: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
1248
+ memoryMiB: z.ZodDefault<z.ZodInt>;
1249
+ cacheQuotaBytes: z.ZodDefault<z.ZodInt>;
1250
+ }, z.core.$strict>;
1251
+ expectedRevision: z.ZodInt;
1252
+ }, z.core.$strict>, z.ZodObject<{
1253
+ operation: z.ZodLiteral<"workspace.activity">;
1254
+ idleSeconds: z.ZodInt;
1255
+ observedAt: z.ZodISODateTime;
1256
+ }, z.core.$strict>, z.ZodObject<{
1257
+ operation: z.ZodLiteral<"storage.clean">;
1258
+ }, z.core.$strict>, z.ZodObject<{
1259
+ operation: z.ZodLiteral<"diagnostics.read">;
1260
+ }, z.core.$strict>, z.ZodObject<{
282
1261
  operation: z.ZodLiteral<"agent.grant">;
283
1262
  grant: z.ZodObject<{
284
1263
  protocol: z.ZodLiteral<"NVS_CODEX_REVIEW_GRANT_V1">;
@@ -299,9 +1278,10 @@ export declare const LocalIpcRequestSchema: z.ZodObject<{
299
1278
  inference: z.ZodLiteral<"REMOTE_OPENAI">;
300
1279
  remoteUseApproved: z.ZodLiteral<true>;
301
1280
  imageDisclosureApproved: z.ZodOptional<z.ZodLiteral<true>>;
1281
+ mediaDisclosureApproved: z.ZodOptional<z.ZodLiteral<true>>;
302
1282
  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>>;
1283
+ tenantId: z.ZodUUID;
1284
+ projectId: z.ZodUUID;
305
1285
  }, z.core.$strict>>;
306
1286
  expiresAt: z.ZodISODateTime;
307
1287
  }, z.core.$strict>;
@@ -315,16 +1295,9 @@ export declare const LocalIpcRequestSchema: z.ZodObject<{
315
1295
  operation: z.ZodLiteral<"agent.prepare">;
316
1296
  snapshot: z.ZodObject<{
317
1297
  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>;
1298
+ scope: typeof import("../director-proposal.js").DirectorScopeSchema;
1299
+ target: typeof import("../review-intelligence.js").ReviewIntelligenceTargetSchema;
323
1300
  contextFingerprint: z.ZodString;
324
- target: z.ZodObject<{
325
- kind: z.ZodLiteral<"IMAGE">;
326
- generationId: z.ZodUUID;
327
- }, z.core.$strict>;
328
1301
  }, z.core.$strict>;
329
1302
  productionRevision: z.ZodInt;
330
1303
  reviewVersion: z.ZodInt;
@@ -337,15 +1310,124 @@ export declare const LocalIpcRequestSchema: z.ZodObject<{
337
1310
  representationId: z.ZodUUID;
338
1311
  checksumSha256: z.ZodString;
339
1312
  }, z.core.$strict>;
340
- requirements: z.ZodArray<z.ZodObject<{
1313
+ requirements: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1314
+ intentPath: z.ZodOptional<z.ZodString>;
1315
+ key: z.ZodString;
1316
+ expected: z.ZodString;
1317
+ enforcement: z.ZodEnum<{
1318
+ LOCKED: "LOCKED";
1319
+ REQUIRED: "REQUIRED";
1320
+ PREFERRED: "PREFERRED";
1321
+ }>;
1322
+ }, z.core.$strict>, z.ZodObject<{
341
1323
  intentPath: z.ZodOptional<z.ZodString>;
1324
+ continuity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1325
+ kind: z.ZodLiteral<"STATE">;
1326
+ mode: z.ZodEnum<{
1327
+ PRESERVE: "PRESERVE";
1328
+ PLANNED_TRANSITIONS: "PLANNED_TRANSITIONS";
1329
+ }>;
1330
+ entry: z.ZodString;
1331
+ exit: z.ZodString;
1332
+ changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
1333
+ atPermille: z.ZodInt;
1334
+ from: z.ZodString;
1335
+ to: z.ZodString;
1336
+ reason: z.ZodString;
1337
+ }, z.core.$strict>>>;
1338
+ }, z.core.$strict>, z.ZodObject<{
1339
+ kind: z.ZodLiteral<"TIME">;
1340
+ mode: z.ZodEnum<{
1341
+ MONOTONIC: "MONOTONIC";
1342
+ PLANNED_JUMPS: "PLANNED_JUMPS";
1343
+ }>;
1344
+ entryMs: z.ZodInt;
1345
+ exitMs: z.ZodInt;
1346
+ jumps: z.ZodOptional<z.ZodArray<z.ZodObject<{
1347
+ atPermille: z.ZodInt;
1348
+ fromMs: z.ZodInt;
1349
+ toMs: z.ZodInt;
1350
+ reason: z.ZodString;
1351
+ }, z.core.$strict>>>;
1352
+ }, z.core.$strict>], "kind">>;
1353
+ interval: z.ZodOptional<z.ZodObject<{
1354
+ startMs: z.ZodInt;
1355
+ endMs: z.ZodInt;
1356
+ }, z.core.$strict>>;
1357
+ key: z.ZodString;
1358
+ family: z.ZodEnum<{
1359
+ PRODUCT_IDENTITY: "PRODUCT_IDENTITY";
1360
+ CHARACTER_IDENTITY: "CHARACTER_IDENTITY";
1361
+ WARDROBE: "WARDROBE";
1362
+ LOCATION: "LOCATION";
1363
+ STYLE: "STYLE";
1364
+ SHOT_INTENT: "SHOT_INTENT";
1365
+ BOUNDARY_CONTINUITY: "BOUNDARY_CONTINUITY";
1366
+ SOUND: "SOUND";
1367
+ }>;
1368
+ expected: z.ZodString;
1369
+ enforcement: z.ZodEnum<{
1370
+ LOCKED: "LOCKED";
1371
+ REQUIRED: "REQUIRED";
1372
+ PREFERRED: "PREFERRED";
1373
+ }>;
1374
+ evidenceWindow: z.ZodEnum<{
1375
+ START: "START";
1376
+ END: "END";
1377
+ WHOLE_VIDEO: "WHOLE_VIDEO";
1378
+ TEMPORAL: "TEMPORAL";
1379
+ }>;
1380
+ }, z.core.$strict>, z.ZodObject<{
1381
+ continuity: z.ZodOptional<typeof import("../continuity-evaluation.js").ContinuityExpectationSchema>;
1382
+ consistencyScale: z.ZodOptional<typeof import("../continuity-evaluation.js").ConsistencyReviewScaleSchema>;
1383
+ consistencyFamily: z.ZodOptional<z.ZodEnum<{
1384
+ PRODUCT_IDENTITY: "PRODUCT_IDENTITY";
1385
+ CHARACTER_IDENTITY: "CHARACTER_IDENTITY";
1386
+ WARDROBE: "WARDROBE";
1387
+ LOCATION: "LOCATION";
1388
+ STYLE: "STYLE";
1389
+ BOUNDARY_CONTINUITY: "BOUNDARY_CONTINUITY";
1390
+ }>>;
1391
+ consistencySubject: z.ZodOptional<typeof import("../consistency-profile.js").ConsistencySubjectSchema>;
1392
+ consistencyReference: z.ZodOptional<typeof import("../consistency-profile.js").ConsistencyMasterReferenceSchema>;
342
1393
  key: z.ZodString;
1394
+ dimension: z.ZodEnum<{
1395
+ PRODUCT_PRESENTATION: "PRODUCT_PRESENTATION";
1396
+ CANONICAL_FACT: "CANONICAL_FACT";
1397
+ NARRATIVE: "NARRATIVE";
1398
+ PACING: "PACING";
1399
+ REPETITION: "REPETITION";
1400
+ STYLE: "STYLE";
1401
+ TECHNICAL: "TECHNICAL";
1402
+ TRANSITION: "TRANSITION";
1403
+ }>;
343
1404
  expected: z.ZodString;
344
1405
  enforcement: z.ZodEnum<{
345
1406
  LOCKED: "LOCKED";
346
1407
  REQUIRED: "REQUIRED";
347
1408
  PREFERRED: "PREFERRED";
348
1409
  }>;
1410
+ scope: z.ZodEnum<{
1411
+ PRODUCTION: "PRODUCTION";
1412
+ TRANSITION: "TRANSITION";
1413
+ }>;
1414
+ interval: typeof import("../rough-cut-review.js").ReviewIntervalSchema;
1415
+ shotIds: z.ZodArray<z.ZodUUID>;
1416
+ }, z.core.$strict>]>>;
1417
+ evidence: z.ZodOptional<z.ZodObject<{
1418
+ profile: z.ZodLiteral<"NVS_AGENT_DERIVED_EVIDENCE_V1">;
1419
+ contentType: z.ZodEnum<{
1420
+ "image/png": "image/png";
1421
+ "image/jpeg": "image/jpeg";
1422
+ "image/webp": "image/webp";
1423
+ "video/mp4": "video/mp4";
1424
+ }>;
1425
+ byteSize: z.ZodInt;
1426
+ width: z.ZodInt;
1427
+ height: z.ZodInt;
1428
+ durationMs: z.ZodOptional<z.ZodInt>;
1429
+ frameRate: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>>;
1430
+ hasAudio: z.ZodOptional<z.ZodBoolean>;
349
1431
  }, z.core.$strict>>;
350
1432
  image: z.ZodOptional<z.ZodObject<{
351
1433
  contentType: z.ZodLiteral<"image/png">;
@@ -364,16 +1446,15 @@ export declare const LocalIpcRequestSchema: z.ZodObject<{
364
1446
  id: z.ZodUUID;
365
1447
  }, z.core.$strict>, z.ZodObject<{
366
1448
  operation: z.ZodLiteral<"runtime.status">;
1449
+ includeDevice: z.ZodOptional<z.ZodLiteral<true>>;
367
1450
  }, z.core.$strict>, z.ZodObject<{
368
1451
  operation: z.ZodLiteral<"runtime.doctor">;
369
1452
  }, z.core.$strict>, z.ZodObject<{
370
1453
  operation: z.ZodLiteral<"runtime.inventory">;
371
1454
  }, z.core.$strict>, z.ZodObject<{
372
1455
  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>>;
1456
+ tenantId: z.ZodUUID;
1457
+ deviceId: z.ZodUUID;
377
1458
  expiresAt: z.ZodISODateTime;
378
1459
  }, z.core.$strict>, z.ZodObject<{
379
1460
  operation: z.ZodLiteral<"runtime.stop">;
@@ -381,18 +1462,21 @@ export declare const LocalIpcRequestSchema: z.ZodObject<{
381
1462
  }, z.core.$strict>, z.ZodObject<{
382
1463
  operation: z.ZodLiteral<"execution.inspect">;
383
1464
  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>>;
1465
+ tenantId: z.ZodUUID;
1466
+ projectId: z.ZodUUID;
1467
+ productionId: z.ZodUUID;
1468
+ runtimeJobId: z.ZodUUID;
1469
+ includeProgress: z.ZodOptional<z.ZodBoolean>;
388
1470
  }, z.core.$strict>;
389
1471
  }, z.core.$strict>, z.ZodObject<{
390
1472
  operation: z.ZodLiteral<"execution.list">;
391
1473
  input: z.ZodObject<{
392
- tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
393
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
1474
+ tenantId: z.ZodUUID;
1475
+ projectId: z.ZodUUID;
394
1476
  after: z.ZodDefault<z.ZodNullable<z.ZodString>>;
395
1477
  limit: z.ZodDefault<z.ZodInt>;
1478
+ includeCompleted: z.ZodOptional<z.ZodBoolean>;
1479
+ includeProgress: z.ZodOptional<z.ZodBoolean>;
396
1480
  }, z.core.$strict>;
397
1481
  }, z.core.$strict>, z.ZodObject<{
398
1482
  operation: z.ZodLiteral<"update.check">;
@@ -402,7 +1486,7 @@ export declare const LocalIpcRequestSchema: z.ZodObject<{
402
1486
  expectedRuntimeRevision: z.ZodInt;
403
1487
  }, z.core.$strict>, z.ZodObject<{
404
1488
  operation: z.ZodLiteral<"update.apply">;
405
- planId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
1489
+ planId: z.ZodUUID;
406
1490
  targetVersion: z.ZodString;
407
1491
  expectedRuntimeRevision: z.ZodInt;
408
1492
  }, z.core.$strict>], "operation">;
@@ -422,9 +1506,9 @@ export declare const LocalVersionReportSchema: z.ZodObject<{
422
1506
  installOwner: z.ZodEnum<{
423
1507
  UNKNOWN: "UNKNOWN";
424
1508
  PROJECT: "PROJECT";
1509
+ MANAGED: "MANAGED";
425
1510
  NPM_GLOBAL: "NPM_GLOBAL";
426
1511
  NPX: "NPX";
427
- MANAGED: "MANAGED";
428
1512
  TARBALL: "TARBALL";
429
1513
  }>;
430
1514
  }, z.core.$strict>;
@@ -433,12 +1517,15 @@ export declare const LocalRuntimeStatusSchema: z.ZodObject<{
433
1517
  runtimeRevision: z.ZodInt;
434
1518
  state: z.ZodEnum<{
435
1519
  RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
436
- IDLE: "IDLE";
437
1520
  EXECUTING: "EXECUTING";
438
1521
  DRAINING: "DRAINING";
1522
+ IDLE: "IDLE";
439
1523
  }>;
440
1524
  journalSchemaVersion: z.ZodLiteral<1>;
441
- workProtocols: z.ZodArray<z.ZodLiteral<"NVS_LOCAL_WORK_V1">>;
1525
+ workProtocols: z.ZodArray<z.ZodEnum<{
1526
+ NVS_LOCAL_WORK_V1: "NVS_LOCAL_WORK_V1";
1527
+ NVS_LOCAL_WORK_V2: "NVS_LOCAL_WORK_V2";
1528
+ }>>;
442
1529
  versions: z.ZodArray<z.ZodObject<{
443
1530
  component: z.ZodEnum<{
444
1531
  CLI: "CLI";
@@ -454,18 +1541,295 @@ export declare const LocalRuntimeStatusSchema: z.ZodObject<{
454
1541
  installOwner: z.ZodEnum<{
455
1542
  UNKNOWN: "UNKNOWN";
456
1543
  PROJECT: "PROJECT";
1544
+ MANAGED: "MANAGED";
457
1545
  NPM_GLOBAL: "NPM_GLOBAL";
458
1546
  NPX: "NPX";
459
- MANAGED: "MANAGED";
460
1547
  TARBALL: "TARBALL";
461
1548
  }>;
462
1549
  }, 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>>;
1550
+ deviceAuthority: z.ZodOptional<z.ZodObject<{
1551
+ tenantId: z.ZodUUID;
1552
+ deviceId: z.ZodUUID;
1553
+ origin: z.ZodURL;
1554
+ }, z.core.$strict>>;
1555
+ deviceCapabilities: z.ZodOptional<z.ZodObject<{
1556
+ deviceRevision: z.ZodInt;
1557
+ tenantMediaValidation: z.ZodBoolean;
1558
+ tenantMediaProcessing: z.ZodBoolean;
1559
+ processorCapabilities: z.ZodArray<z.ZodEnum<{
1560
+ KEYFRAME_GENERATE: "KEYFRAME_GENERATE";
1561
+ VIDEO_GENERATE: "VIDEO_GENERATE";
1562
+ SPEECH_SYNTHESIZE: "SPEECH_SYNTHESIZE";
1563
+ SPEECH_EXTERNAL_QWEN: "SPEECH_EXTERNAL_QWEN";
1564
+ TEMPORAL_SAMPLE: "TEMPORAL_SAMPLE";
1565
+ DELIVERY_VALIDATE: "DELIVERY_VALIDATE";
1566
+ COMPOSITION_RENDER: "COMPOSITION_RENDER";
1567
+ IMPORTED_VISUAL_NORMALIZE: "IMPORTED_VISUAL_NORMALIZE";
1568
+ SOURCE_SYNC_AUDIO: "SOURCE_SYNC_AUDIO";
1569
+ IMPORT_ORIGINAL: "IMPORT_ORIGINAL";
1570
+ LOCAL_MEDIA_INSPECT: "LOCAL_MEDIA_INSPECT";
1571
+ LOCAL_MEDIA_PUBLISH: "LOCAL_MEDIA_PUBLISH";
1572
+ IMPORT_PROJECT_SOURCE: "IMPORT_PROJECT_SOURCE";
1573
+ REGISTER_VISUAL_SEQUENCE: "REGISTER_VISUAL_SEQUENCE";
1574
+ TRANSCRIBE_AUDIO: "TRANSCRIBE_AUDIO";
1575
+ TRANSCRIBE_EXTERNAL_QWEN: "TRANSCRIBE_EXTERNAL_QWEN";
1576
+ }>>;
466
1577
  }, z.core.$strict>>;
467
1578
  nextActions: z.ZodArray<z.ZodObject<{
468
1579
  call: z.ZodDiscriminatedUnion<[z.ZodObject<{
1580
+ operation: z.ZodLiteral<"library.capability">;
1581
+ }, z.core.$strict>, z.ZodObject<{
1582
+ operation: z.ZodLiteral<"library.call">;
1583
+ input: z.ZodDiscriminatedUnion<[z.ZodObject<{
1584
+ tenantId: z.ZodUUID;
1585
+ after: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1586
+ limit: z.ZodDefault<z.ZodInt>;
1587
+ projectId: z.ZodOptional<z.ZodUUID>;
1588
+ deviceId: z.ZodUUID;
1589
+ ownerKey: z.ZodOptional<z.ZodString>;
1590
+ search: z.ZodOptional<z.ZodString>;
1591
+ mediaCategory: z.ZodOptional<z.ZodEnum<{
1592
+ IMAGE: "IMAGE";
1593
+ VIDEO: "VIDEO";
1594
+ AUDIO: "AUDIO";
1595
+ DOCUMENT: "DOCUMENT";
1596
+ }>>;
1597
+ action: z.ZodLiteral<"list">;
1598
+ }, z.core.$strict>, z.ZodObject<{
1599
+ reference: z.ZodObject<{
1600
+ tenantId: z.ZodUUID;
1601
+ projectId: z.ZodUUID;
1602
+ fileId: z.ZodUUID;
1603
+ versionId: z.ZodUUID;
1604
+ checksumSha256: z.ZodString;
1605
+ byteSize: z.ZodInt;
1606
+ contentType: z.ZodEnum<{
1607
+ "application/json": "application/json";
1608
+ "application/pdf": "application/pdf";
1609
+ "application/octet-stream": "application/octet-stream";
1610
+ "text/plain": "text/plain";
1611
+ "image/png": "image/png";
1612
+ "image/jpeg": "image/jpeg";
1613
+ "image/webp": "image/webp";
1614
+ "audio/wav": "audio/wav";
1615
+ "video/mp4": "video/mp4";
1616
+ }>;
1617
+ deviceId: z.ZodUUID;
1618
+ }, z.core.$strict>;
1619
+ ownerKey: z.ZodOptional<z.ZodString>;
1620
+ action: z.ZodLiteral<"get">;
1621
+ }, z.core.$strict>, z.ZodObject<{
1622
+ search: z.ZodOptional<z.ZodString>;
1623
+ tenantId: z.ZodUUID;
1624
+ limit: z.ZodDefault<z.ZodInt>;
1625
+ deviceId: z.ZodUUID;
1626
+ mediaCategory: z.ZodOptional<z.ZodEnum<{
1627
+ IMAGE: "IMAGE";
1628
+ VIDEO: "VIDEO";
1629
+ AUDIO: "AUDIO";
1630
+ DOCUMENT: "DOCUMENT";
1631
+ }>>;
1632
+ after: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1633
+ projectId: z.ZodUUID;
1634
+ action: z.ZodLiteral<"scoped-list">;
1635
+ }, z.core.$strict>, z.ZodObject<{
1636
+ action: z.ZodLiteral<"scoped-get">;
1637
+ reference: z.ZodObject<{
1638
+ tenantId: z.ZodUUID;
1639
+ projectId: z.ZodUUID;
1640
+ fileId: z.ZodUUID;
1641
+ versionId: z.ZodUUID;
1642
+ checksumSha256: z.ZodString;
1643
+ byteSize: z.ZodInt;
1644
+ contentType: z.ZodEnum<{
1645
+ "application/json": "application/json";
1646
+ "application/pdf": "application/pdf";
1647
+ "application/octet-stream": "application/octet-stream";
1648
+ "text/plain": "text/plain";
1649
+ "image/png": "image/png";
1650
+ "image/jpeg": "image/jpeg";
1651
+ "image/webp": "image/webp";
1652
+ "audio/wav": "audio/wav";
1653
+ "video/mp4": "video/mp4";
1654
+ }>;
1655
+ deviceId: z.ZodUUID;
1656
+ }, z.core.$strict>;
1657
+ }, z.core.$strict>, z.ZodObject<{
1658
+ action: z.ZodLiteral<"usage">;
1659
+ ownerKey: z.ZodOptional<z.ZodString>;
1660
+ }, z.core.$strict>, z.ZodObject<{
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
+ ownerKey: z.ZodOptional<z.ZodString>;
1682
+ offset: z.ZodInt;
1683
+ length: z.ZodInt;
1684
+ action: z.ZodLiteral<"read">;
1685
+ }, z.core.$strict>, z.ZodObject<{
1686
+ command: z.ZodObject<{
1687
+ reference: z.ZodObject<{
1688
+ tenantId: z.ZodUUID;
1689
+ projectId: z.ZodUUID;
1690
+ fileId: z.ZodUUID;
1691
+ versionId: z.ZodUUID;
1692
+ checksumSha256: z.ZodString;
1693
+ byteSize: z.ZodInt;
1694
+ contentType: z.ZodEnum<{
1695
+ "application/json": "application/json";
1696
+ "application/pdf": "application/pdf";
1697
+ "application/octet-stream": "application/octet-stream";
1698
+ "text/plain": "text/plain";
1699
+ "image/png": "image/png";
1700
+ "image/jpeg": "image/jpeg";
1701
+ "image/webp": "image/webp";
1702
+ "audio/wav": "audio/wav";
1703
+ "video/mp4": "video/mp4";
1704
+ }>;
1705
+ deviceId: z.ZodUUID;
1706
+ }, z.core.$strict>;
1707
+ requestId: z.ZodUUID;
1708
+ expectedRevision: z.ZodInt;
1709
+ metadata: z.ZodNullable<z.ZodObject<{
1710
+ label: z.ZodString;
1711
+ }, z.core.$strict>>;
1712
+ allowInspect: z.ZodBoolean;
1713
+ allowPublish: z.ZodBoolean;
1714
+ expiresAt: z.ZodISODateTime;
1715
+ }, z.core.$strict>;
1716
+ expectedLocalRevision: z.ZodInt;
1717
+ ownerKey: z.ZodOptional<z.ZodString>;
1718
+ action: z.ZodLiteral<"access">;
1719
+ }, z.core.$strict>, z.ZodObject<{
1720
+ reference: z.ZodObject<{
1721
+ tenantId: z.ZodUUID;
1722
+ projectId: z.ZodUUID;
1723
+ fileId: z.ZodUUID;
1724
+ versionId: z.ZodUUID;
1725
+ checksumSha256: z.ZodString;
1726
+ byteSize: z.ZodInt;
1727
+ contentType: z.ZodEnum<{
1728
+ "application/json": "application/json";
1729
+ "application/pdf": "application/pdf";
1730
+ "application/octet-stream": "application/octet-stream";
1731
+ "text/plain": "text/plain";
1732
+ "image/png": "image/png";
1733
+ "image/jpeg": "image/jpeg";
1734
+ "image/webp": "image/webp";
1735
+ "audio/wav": "audio/wav";
1736
+ "video/mp4": "video/mp4";
1737
+ }>;
1738
+ deviceId: z.ZodUUID;
1739
+ }, z.core.$strict>;
1740
+ requestId: z.ZodUUID;
1741
+ action: z.ZodLiteral<"sync">;
1742
+ ownerKey: z.ZodOptional<z.ZodString>;
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<"resume-access">;
1766
+ ownerKey: z.ZodOptional<z.ZodString>;
1767
+ }, z.core.$strict>, z.ZodObject<{
1768
+ tenantId: z.ZodUUID;
1769
+ projectId: z.ZodUUID;
1770
+ deviceId: z.ZodUUID;
1771
+ requestId: z.ZodUUID;
1772
+ ownerKey: z.ZodOptional<z.ZodString>;
1773
+ action: z.ZodLiteral<"import-receipt">;
1774
+ }, z.core.$strict>], "action">;
1775
+ }, z.core.$strict>, z.ZodObject<{
1776
+ operation: z.ZodLiteral<"agent.discover">;
1777
+ binary: z.ZodOptional<z.ZodString>;
1778
+ }, z.core.$strict>, z.ZodObject<{
1779
+ operation: z.ZodLiteral<"offline.workspace">;
1780
+ input: z.ZodDiscriminatedUnion<[z.ZodObject<{
1781
+ action: z.ZodEnum<{
1782
+ list: "list";
1783
+ forget: "forget";
1784
+ }>;
1785
+ key: z.ZodString;
1786
+ }, z.core.$strict>, z.ZodObject<{
1787
+ action: z.ZodLiteral<"retain">;
1788
+ key: z.ZodString;
1789
+ snapshot: z.ZodObject<{
1790
+ projectId: z.ZodUUID;
1791
+ title: z.ZodString;
1792
+ savedAt: z.ZodISODateTime;
1793
+ expiresAt: z.ZodISODateTime;
1794
+ productions: z.ZodArray<z.ZodObject<{
1795
+ id: z.ZodUUID;
1796
+ title: z.ZodString;
1797
+ }, z.core.$strict>>;
1798
+ possiblyTruncated: z.ZodBoolean;
1799
+ }, z.core.$strict>;
1800
+ }, z.core.$strict>, z.ZodObject<{
1801
+ action: z.ZodLiteral<"draft">;
1802
+ key: z.ZodString;
1803
+ projectId: z.ZodUUID;
1804
+ text: z.ZodString;
1805
+ expectedRevision: z.ZodInt;
1806
+ }, z.core.$strict>], "action">;
1807
+ }, z.core.$strict>, z.ZodObject<{
1808
+ operation: z.ZodLiteral<"workspace.inspect">;
1809
+ }, z.core.$strict>, z.ZodObject<{
1810
+ operation: z.ZodLiteral<"workspace.configure">;
1811
+ policy: z.ZodObject<{
1812
+ acceptNewWork: z.ZodDefault<z.ZodBoolean>;
1813
+ mode: z.ZodDefault<z.ZodEnum<{
1814
+ CONTINUOUS: "CONTINUOUS";
1815
+ IDLE_ONLY: "IDLE_ONLY";
1816
+ }>>;
1817
+ idleAfterSeconds: z.ZodDefault<z.ZodInt>;
1818
+ maxConcurrentJobs: z.ZodDefault<z.ZodInt>;
1819
+ cpuCores: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
1820
+ memoryMiB: z.ZodDefault<z.ZodInt>;
1821
+ cacheQuotaBytes: z.ZodDefault<z.ZodInt>;
1822
+ }, z.core.$strict>;
1823
+ expectedRevision: z.ZodInt;
1824
+ }, z.core.$strict>, z.ZodObject<{
1825
+ operation: z.ZodLiteral<"workspace.activity">;
1826
+ idleSeconds: z.ZodInt;
1827
+ observedAt: z.ZodISODateTime;
1828
+ }, z.core.$strict>, z.ZodObject<{
1829
+ operation: z.ZodLiteral<"storage.clean">;
1830
+ }, z.core.$strict>, z.ZodObject<{
1831
+ operation: z.ZodLiteral<"diagnostics.read">;
1832
+ }, z.core.$strict>, z.ZodObject<{
469
1833
  operation: z.ZodLiteral<"agent.grant">;
470
1834
  grant: z.ZodObject<{
471
1835
  protocol: z.ZodLiteral<"NVS_CODEX_REVIEW_GRANT_V1">;
@@ -486,9 +1850,10 @@ export declare const LocalRuntimeStatusSchema: z.ZodObject<{
486
1850
  inference: z.ZodLiteral<"REMOTE_OPENAI">;
487
1851
  remoteUseApproved: z.ZodLiteral<true>;
488
1852
  imageDisclosureApproved: z.ZodOptional<z.ZodLiteral<true>>;
1853
+ mediaDisclosureApproved: z.ZodOptional<z.ZodLiteral<true>>;
489
1854
  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>>;
1855
+ tenantId: z.ZodUUID;
1856
+ projectId: z.ZodUUID;
492
1857
  }, z.core.$strict>>;
493
1858
  expiresAt: z.ZodISODateTime;
494
1859
  }, z.core.$strict>;
@@ -502,16 +1867,9 @@ export declare const LocalRuntimeStatusSchema: z.ZodObject<{
502
1867
  operation: z.ZodLiteral<"agent.prepare">;
503
1868
  snapshot: z.ZodObject<{
504
1869
  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>;
1870
+ scope: typeof import("../director-proposal.js").DirectorScopeSchema;
1871
+ target: typeof import("../review-intelligence.js").ReviewIntelligenceTargetSchema;
510
1872
  contextFingerprint: z.ZodString;
511
- target: z.ZodObject<{
512
- kind: z.ZodLiteral<"IMAGE">;
513
- generationId: z.ZodUUID;
514
- }, z.core.$strict>;
515
1873
  }, z.core.$strict>;
516
1874
  productionRevision: z.ZodInt;
517
1875
  reviewVersion: z.ZodInt;
@@ -524,7 +1882,7 @@ export declare const LocalRuntimeStatusSchema: z.ZodObject<{
524
1882
  representationId: z.ZodUUID;
525
1883
  checksumSha256: z.ZodString;
526
1884
  }, z.core.$strict>;
527
- requirements: z.ZodArray<z.ZodObject<{
1885
+ requirements: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
528
1886
  intentPath: z.ZodOptional<z.ZodString>;
529
1887
  key: z.ZodString;
530
1888
  expected: z.ZodString;
@@ -533,6 +1891,115 @@ export declare const LocalRuntimeStatusSchema: z.ZodObject<{
533
1891
  REQUIRED: "REQUIRED";
534
1892
  PREFERRED: "PREFERRED";
535
1893
  }>;
1894
+ }, z.core.$strict>, z.ZodObject<{
1895
+ intentPath: z.ZodOptional<z.ZodString>;
1896
+ continuity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1897
+ kind: z.ZodLiteral<"STATE">;
1898
+ mode: z.ZodEnum<{
1899
+ PRESERVE: "PRESERVE";
1900
+ PLANNED_TRANSITIONS: "PLANNED_TRANSITIONS";
1901
+ }>;
1902
+ entry: z.ZodString;
1903
+ exit: z.ZodString;
1904
+ changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
1905
+ atPermille: z.ZodInt;
1906
+ from: z.ZodString;
1907
+ to: z.ZodString;
1908
+ reason: z.ZodString;
1909
+ }, z.core.$strict>>>;
1910
+ }, z.core.$strict>, z.ZodObject<{
1911
+ kind: z.ZodLiteral<"TIME">;
1912
+ mode: z.ZodEnum<{
1913
+ MONOTONIC: "MONOTONIC";
1914
+ PLANNED_JUMPS: "PLANNED_JUMPS";
1915
+ }>;
1916
+ entryMs: z.ZodInt;
1917
+ exitMs: z.ZodInt;
1918
+ jumps: z.ZodOptional<z.ZodArray<z.ZodObject<{
1919
+ atPermille: z.ZodInt;
1920
+ fromMs: z.ZodInt;
1921
+ toMs: z.ZodInt;
1922
+ reason: z.ZodString;
1923
+ }, z.core.$strict>>>;
1924
+ }, z.core.$strict>], "kind">>;
1925
+ interval: z.ZodOptional<z.ZodObject<{
1926
+ startMs: z.ZodInt;
1927
+ endMs: z.ZodInt;
1928
+ }, z.core.$strict>>;
1929
+ key: z.ZodString;
1930
+ family: z.ZodEnum<{
1931
+ PRODUCT_IDENTITY: "PRODUCT_IDENTITY";
1932
+ CHARACTER_IDENTITY: "CHARACTER_IDENTITY";
1933
+ WARDROBE: "WARDROBE";
1934
+ LOCATION: "LOCATION";
1935
+ STYLE: "STYLE";
1936
+ SHOT_INTENT: "SHOT_INTENT";
1937
+ BOUNDARY_CONTINUITY: "BOUNDARY_CONTINUITY";
1938
+ SOUND: "SOUND";
1939
+ }>;
1940
+ expected: z.ZodString;
1941
+ enforcement: z.ZodEnum<{
1942
+ LOCKED: "LOCKED";
1943
+ REQUIRED: "REQUIRED";
1944
+ PREFERRED: "PREFERRED";
1945
+ }>;
1946
+ evidenceWindow: z.ZodEnum<{
1947
+ START: "START";
1948
+ END: "END";
1949
+ WHOLE_VIDEO: "WHOLE_VIDEO";
1950
+ TEMPORAL: "TEMPORAL";
1951
+ }>;
1952
+ }, z.core.$strict>, z.ZodObject<{
1953
+ continuity: z.ZodOptional<typeof import("../continuity-evaluation.js").ContinuityExpectationSchema>;
1954
+ consistencyScale: z.ZodOptional<typeof import("../continuity-evaluation.js").ConsistencyReviewScaleSchema>;
1955
+ consistencyFamily: z.ZodOptional<z.ZodEnum<{
1956
+ PRODUCT_IDENTITY: "PRODUCT_IDENTITY";
1957
+ CHARACTER_IDENTITY: "CHARACTER_IDENTITY";
1958
+ WARDROBE: "WARDROBE";
1959
+ LOCATION: "LOCATION";
1960
+ STYLE: "STYLE";
1961
+ BOUNDARY_CONTINUITY: "BOUNDARY_CONTINUITY";
1962
+ }>>;
1963
+ consistencySubject: z.ZodOptional<typeof import("../consistency-profile.js").ConsistencySubjectSchema>;
1964
+ consistencyReference: z.ZodOptional<typeof import("../consistency-profile.js").ConsistencyMasterReferenceSchema>;
1965
+ key: z.ZodString;
1966
+ dimension: z.ZodEnum<{
1967
+ PRODUCT_PRESENTATION: "PRODUCT_PRESENTATION";
1968
+ CANONICAL_FACT: "CANONICAL_FACT";
1969
+ NARRATIVE: "NARRATIVE";
1970
+ PACING: "PACING";
1971
+ REPETITION: "REPETITION";
1972
+ STYLE: "STYLE";
1973
+ TECHNICAL: "TECHNICAL";
1974
+ TRANSITION: "TRANSITION";
1975
+ }>;
1976
+ expected: z.ZodString;
1977
+ enforcement: z.ZodEnum<{
1978
+ LOCKED: "LOCKED";
1979
+ REQUIRED: "REQUIRED";
1980
+ PREFERRED: "PREFERRED";
1981
+ }>;
1982
+ scope: z.ZodEnum<{
1983
+ PRODUCTION: "PRODUCTION";
1984
+ TRANSITION: "TRANSITION";
1985
+ }>;
1986
+ interval: typeof import("../rough-cut-review.js").ReviewIntervalSchema;
1987
+ shotIds: z.ZodArray<z.ZodUUID>;
1988
+ }, z.core.$strict>]>>;
1989
+ evidence: z.ZodOptional<z.ZodObject<{
1990
+ profile: z.ZodLiteral<"NVS_AGENT_DERIVED_EVIDENCE_V1">;
1991
+ contentType: z.ZodEnum<{
1992
+ "image/png": "image/png";
1993
+ "image/jpeg": "image/jpeg";
1994
+ "image/webp": "image/webp";
1995
+ "video/mp4": "video/mp4";
1996
+ }>;
1997
+ byteSize: z.ZodInt;
1998
+ width: z.ZodInt;
1999
+ height: z.ZodInt;
2000
+ durationMs: z.ZodOptional<z.ZodInt>;
2001
+ frameRate: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>>;
2002
+ hasAudio: z.ZodOptional<z.ZodBoolean>;
536
2003
  }, z.core.$strict>>;
537
2004
  image: z.ZodOptional<z.ZodObject<{
538
2005
  contentType: z.ZodLiteral<"image/png">;
@@ -551,16 +2018,15 @@ export declare const LocalRuntimeStatusSchema: z.ZodObject<{
551
2018
  id: z.ZodUUID;
552
2019
  }, z.core.$strict>, z.ZodObject<{
553
2020
  operation: z.ZodLiteral<"runtime.status">;
2021
+ includeDevice: z.ZodOptional<z.ZodLiteral<true>>;
554
2022
  }, z.core.$strict>, z.ZodObject<{
555
2023
  operation: z.ZodLiteral<"runtime.doctor">;
556
2024
  }, z.core.$strict>, z.ZodObject<{
557
2025
  operation: z.ZodLiteral<"runtime.inventory">;
558
2026
  }, z.core.$strict>, z.ZodObject<{
559
2027
  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>>;
2028
+ tenantId: z.ZodUUID;
2029
+ deviceId: z.ZodUUID;
564
2030
  expiresAt: z.ZodISODateTime;
565
2031
  }, z.core.$strict>, z.ZodObject<{
566
2032
  operation: z.ZodLiteral<"runtime.stop">;
@@ -568,18 +2034,21 @@ export declare const LocalRuntimeStatusSchema: z.ZodObject<{
568
2034
  }, z.core.$strict>, z.ZodObject<{
569
2035
  operation: z.ZodLiteral<"execution.inspect">;
570
2036
  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>>;
2037
+ tenantId: z.ZodUUID;
2038
+ projectId: z.ZodUUID;
2039
+ productionId: z.ZodUUID;
2040
+ runtimeJobId: z.ZodUUID;
2041
+ includeProgress: z.ZodOptional<z.ZodBoolean>;
575
2042
  }, z.core.$strict>;
576
2043
  }, z.core.$strict>, z.ZodObject<{
577
2044
  operation: z.ZodLiteral<"execution.list">;
578
2045
  input: z.ZodObject<{
579
- tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
580
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
2046
+ tenantId: z.ZodUUID;
2047
+ projectId: z.ZodUUID;
581
2048
  after: z.ZodDefault<z.ZodNullable<z.ZodString>>;
582
2049
  limit: z.ZodDefault<z.ZodInt>;
2050
+ includeCompleted: z.ZodOptional<z.ZodBoolean>;
2051
+ includeProgress: z.ZodOptional<z.ZodBoolean>;
583
2052
  }, z.core.$strict>;
584
2053
  }, z.core.$strict>, z.ZodObject<{
585
2054
  operation: z.ZodLiteral<"update.check">;
@@ -589,7 +2058,7 @@ export declare const LocalRuntimeStatusSchema: z.ZodObject<{
589
2058
  expectedRuntimeRevision: z.ZodInt;
590
2059
  }, z.core.$strict>, z.ZodObject<{
591
2060
  operation: z.ZodLiteral<"update.apply">;
592
- planId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
2061
+ planId: z.ZodUUID;
593
2062
  targetVersion: z.ZodString;
594
2063
  expectedRuntimeRevision: z.ZodInt;
595
2064
  }, z.core.$strict>], "operation">;
@@ -611,8 +2080,8 @@ export type LocalIpcRequest = z.infer<typeof LocalIpcRequestSchema>;
611
2080
  export type LocalRuntimeStatus = z.infer<typeof LocalRuntimeStatusSchema>;
612
2081
  export declare const LocalDoctorReportSchema: z.ZodObject<{
613
2082
  mode: z.ZodEnum<{
614
- MANAGED: "MANAGED";
615
2083
  INSTALLED: "INSTALLED";
2084
+ MANAGED: "MANAGED";
616
2085
  }>;
617
2086
  availability: z.ZodEnum<{
618
2087
  UNAVAILABLE: "UNAVAILABLE";
@@ -624,6 +2093,10 @@ export declare const LocalDoctorReportSchema: z.ZodObject<{
624
2093
  TOOL_QUALIFICATION_FAILED: "TOOL_QUALIFICATION_FAILED";
625
2094
  }>;
626
2095
  nativeExecutionReady: z.ZodBoolean;
2096
+ executionProfiles: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2097
+ ROUGH_CUT_PREVIEW_V1: "ROUGH_CUT_PREVIEW_V1";
2098
+ STUDIO_MEDIA_V2: "STUDIO_MEDIA_V2";
2099
+ }>>>;
627
2100
  tools: z.ZodArray<z.ZodObject<{
628
2101
  name: z.ZodEnum<{
629
2102
  FFMPEG: "FFMPEG";
@@ -636,24 +2109,24 @@ export declare const LocalDoctorReportSchema: z.ZodObject<{
636
2109
  }, z.core.$strict>;
637
2110
  export declare const LocalExecutionInspectionSchema: z.ZodObject<{
638
2111
  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;
2112
+ tenantId: z.ZodUUID;
2113
+ projectId: z.ZodUUID;
2114
+ productionId: z.ZodUUID;
2115
+ runtimeJobId: z.ZodUUID;
2116
+ attemptId: typeof LocalIdSchema;
2117
+ assignmentRevision: typeof LocalRevisionSchema;
645
2118
  workerId: z.ZodString;
646
- workFingerprint: z.ZodString;
647
- toolchainFingerprint: z.ZodString;
2119
+ workFingerprint: typeof import("./common.js").LocalDigestSchema;
2120
+ toolchainFingerprint: typeof import("./common.js").LocalDigestSchema;
648
2121
  }, z.core.$strict>;
649
2122
  revision: z.ZodInt;
650
2123
  phase: z.ZodEnum<{
651
2124
  RUNNING: "RUNNING";
652
2125
  RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
2126
+ FENCED: "FENCED";
653
2127
  STAGED: "STAGED";
654
2128
  OUTPUT_PENDING: "OUTPUT_PENDING";
655
2129
  RECEIPT_RECORDED: "RECEIPT_RECORDED";
656
- FENCED: "FENCED";
657
2130
  }>;
658
2131
  checkpoint: z.ZodEnum<{
659
2132
  ADOPTED: "ADOPTED";
@@ -661,70 +2134,507 @@ export declare const LocalExecutionInspectionSchema: z.ZodObject<{
661
2134
  PROCESS_STARTED: "PROCESS_STARTED";
662
2135
  OUTPUT_STAGED: "OUTPUT_STAGED";
663
2136
  }>;
2137
+ progress: z.ZodOptional<z.ZodObject<{
2138
+ stage: z.ZodEnum<{
2139
+ WAITING: "WAITING";
2140
+ COMPLETE: "COMPLETE";
2141
+ RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
2142
+ DOWNLOADING: "DOWNLOADING";
2143
+ EXECUTING: "EXECUTING";
2144
+ UPLOADING: "UPLOADING";
2145
+ AWAITING_ACCEPTANCE: "AWAITING_ACCEPTANCE";
2146
+ FENCED: "FENCED";
2147
+ }>;
2148
+ downloadedBytes: z.ZodInt;
2149
+ sourceBytes: z.ZodInt;
2150
+ uploadedBytes: z.ZodInt;
2151
+ outputBytes: z.ZodInt;
2152
+ lastError: z.ZodNullable<z.ZodObject<{
2153
+ code: z.ZodString;
2154
+ observedAt: z.ZodISODateTime;
2155
+ }, z.core.$strict>>;
2156
+ }, z.core.$strict>>;
664
2157
  }, z.core.$strict>;
665
2158
  export declare const LocalExecutionPageSchema: z.ZodObject<{
666
2159
  items: z.ZodArray<z.ZodObject<{
667
2160
  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;
2161
+ tenantId: z.ZodUUID;
2162
+ projectId: z.ZodUUID;
2163
+ productionId: z.ZodUUID;
2164
+ runtimeJobId: z.ZodUUID;
2165
+ attemptId: typeof LocalIdSchema;
2166
+ assignmentRevision: typeof LocalRevisionSchema;
674
2167
  workerId: z.ZodString;
675
- workFingerprint: z.ZodString;
676
- toolchainFingerprint: z.ZodString;
2168
+ workFingerprint: typeof import("./common.js").LocalDigestSchema;
2169
+ toolchainFingerprint: typeof import("./common.js").LocalDigestSchema;
2170
+ }, z.core.$strict>;
2171
+ revision: z.ZodInt;
2172
+ phase: z.ZodEnum<{
2173
+ RUNNING: "RUNNING";
2174
+ RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
2175
+ FENCED: "FENCED";
2176
+ STAGED: "STAGED";
2177
+ OUTPUT_PENDING: "OUTPUT_PENDING";
2178
+ RECEIPT_RECORDED: "RECEIPT_RECORDED";
2179
+ }>;
2180
+ checkpoint: z.ZodEnum<{
2181
+ ADOPTED: "ADOPTED";
2182
+ SOURCES_READY: "SOURCES_READY";
2183
+ PROCESS_STARTED: "PROCESS_STARTED";
2184
+ OUTPUT_STAGED: "OUTPUT_STAGED";
2185
+ }>;
2186
+ progress: z.ZodOptional<z.ZodObject<{
2187
+ stage: z.ZodEnum<{
2188
+ WAITING: "WAITING";
2189
+ COMPLETE: "COMPLETE";
2190
+ RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
2191
+ DOWNLOADING: "DOWNLOADING";
2192
+ EXECUTING: "EXECUTING";
2193
+ UPLOADING: "UPLOADING";
2194
+ AWAITING_ACCEPTANCE: "AWAITING_ACCEPTANCE";
2195
+ FENCED: "FENCED";
2196
+ }>;
2197
+ downloadedBytes: z.ZodInt;
2198
+ sourceBytes: z.ZodInt;
2199
+ uploadedBytes: z.ZodInt;
2200
+ outputBytes: z.ZodInt;
2201
+ lastError: z.ZodNullable<z.ZodObject<{
2202
+ code: z.ZodString;
2203
+ observedAt: z.ZodISODateTime;
2204
+ }, z.core.$strict>>;
2205
+ }, z.core.$strict>>;
2206
+ }, z.core.$strict>>;
2207
+ nextCursor: z.ZodNullable<z.ZodString>;
2208
+ }, z.core.$strict>;
2209
+ export declare const LocalIpcErrorCodeSchema: z.ZodEnum<{
2210
+ INVALID_INPUT: "INVALID_INPUT";
2211
+ REVISION_CONFLICT: "REVISION_CONFLICT";
2212
+ CAPABILITY_UNAVAILABLE: "CAPABILITY_UNAVAILABLE";
2213
+ INTERNAL_OPERATIONAL_FAILURE: "INTERNAL_OPERATIONAL_FAILURE";
2214
+ FORBIDDEN: "FORBIDDEN";
2215
+ BUSY: "BUSY";
2216
+ AUTHORIZATION_REQUIRED: "AUTHORIZATION_REQUIRED";
2217
+ FRAME_LIMIT: "FRAME_LIMIT";
2218
+ AGENT_APPROVAL_REQUIRED: "AGENT_APPROVAL_REQUIRED";
2219
+ AGENT_RUNTIME_UNAVAILABLE: "AGENT_RUNTIME_UNAVAILABLE";
2220
+ AGENT_LOGIN_REQUIRED: "AGENT_LOGIN_REQUIRED";
2221
+ AGENT_VERSION_UNQUALIFIED: "AGENT_VERSION_UNQUALIFIED";
2222
+ AGENT_GRANT_REQUIRED: "AGENT_GRANT_REQUIRED";
2223
+ AGENT_OUTCOME_UNKNOWN: "AGENT_OUTCOME_UNKNOWN";
2224
+ AGENT_IMAGE_REQUIRED: "AGENT_IMAGE_REQUIRED";
2225
+ AGENT_IMAGE_INVALID: "AGENT_IMAGE_INVALID";
2226
+ AGENT_IMAGE_BUDGET_EXCEEDED: "AGENT_IMAGE_BUDGET_EXCEEDED";
2227
+ AGENT_IMAGE_AUTHORIZATION_REQUIRED: "AGENT_IMAGE_AUTHORIZATION_REQUIRED";
2228
+ CACHE_QUOTA_EXCEEDED: "CACHE_QUOTA_EXCEEDED";
2229
+ LIBRARY_NOT_FOUND: "LIBRARY_NOT_FOUND";
2230
+ LIBRARY_CONFLICT: "LIBRARY_CONFLICT";
2231
+ LIBRARY_BYTES_INVALID: "LIBRARY_BYTES_INVALID";
2232
+ LIBRARY_ACCESS_DENIED: "LIBRARY_ACCESS_DENIED";
2233
+ LIBRARY_SYNC_REQUIRED: "LIBRARY_SYNC_REQUIRED";
2234
+ LIBRARY_SYNC_UNAVAILABLE: "LIBRARY_SYNC_UNAVAILABLE";
2235
+ LIBRARY_QUOTA_EXCEEDED: "LIBRARY_QUOTA_EXCEEDED";
2236
+ }>;
2237
+ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2238
+ protocol: z.ZodLiteral<"NVS_LOCAL_IPC_V1">;
2239
+ requestId: z.ZodUUID;
2240
+ semanticStatus: z.ZodLiteral<"SUCCESS">;
2241
+ data: z.ZodUnion<readonly [z.ZodObject<{
2242
+ protocol: z.ZodLiteral<"NVS_LOCAL_LIBRARY_V1">;
2243
+ available: z.ZodBoolean;
2244
+ profileDigest: z.ZodString;
2245
+ }, z.core.$strict>, z.ZodObject<{
2246
+ fileCount: z.ZodInt;
2247
+ totalBytes: z.ZodInt;
2248
+ quotaBytes: z.ZodInt;
2249
+ availableDiskBytes: z.ZodInt;
2250
+ }, z.core.$strict>, z.ZodObject<{
2251
+ reference: z.ZodObject<{
2252
+ tenantId: z.ZodUUID;
2253
+ projectId: z.ZodUUID;
2254
+ fileId: z.ZodUUID;
2255
+ versionId: z.ZodUUID;
2256
+ checksumSha256: z.ZodString;
2257
+ byteSize: z.ZodInt;
2258
+ contentType: z.ZodEnum<{
2259
+ "application/json": "application/json";
2260
+ "application/pdf": "application/pdf";
2261
+ "application/octet-stream": "application/octet-stream";
2262
+ "text/plain": "text/plain";
2263
+ "image/png": "image/png";
2264
+ "image/jpeg": "image/jpeg";
2265
+ "image/webp": "image/webp";
2266
+ "audio/wav": "audio/wav";
2267
+ "video/mp4": "video/mp4";
2268
+ }>;
2269
+ deviceId: z.ZodUUID;
2270
+ }, z.core.$strict>;
2271
+ ownerKey: z.ZodString;
2272
+ title: z.ZodString;
2273
+ createdAt: z.ZodISODateTime;
2274
+ revision: z.ZodInt;
2275
+ access: z.ZodObject<{
2276
+ state: z.ZodEnum<{
2277
+ REJECTED: "REJECTED";
2278
+ UNKNOWN: "UNKNOWN";
2279
+ PENDING: "PENDING";
2280
+ LOCAL_ONLY: "LOCAL_ONLY";
2281
+ SYNCED: "SYNCED";
2282
+ }>;
2283
+ desired: z.ZodNullable<z.ZodObject<{
2284
+ reference: z.ZodObject<{
2285
+ tenantId: z.ZodUUID;
2286
+ projectId: z.ZodUUID;
2287
+ fileId: z.ZodUUID;
2288
+ versionId: z.ZodUUID;
2289
+ checksumSha256: z.ZodString;
2290
+ byteSize: z.ZodInt;
2291
+ contentType: z.ZodEnum<{
2292
+ "application/json": "application/json";
2293
+ "application/pdf": "application/pdf";
2294
+ "application/octet-stream": "application/octet-stream";
2295
+ "text/plain": "text/plain";
2296
+ "image/png": "image/png";
2297
+ "image/jpeg": "image/jpeg";
2298
+ "image/webp": "image/webp";
2299
+ "audio/wav": "audio/wav";
2300
+ "video/mp4": "video/mp4";
2301
+ }>;
2302
+ deviceId: z.ZodUUID;
2303
+ }, z.core.$strict>;
2304
+ requestId: z.ZodUUID;
2305
+ expectedRevision: z.ZodInt;
2306
+ metadata: z.ZodNullable<z.ZodObject<{
2307
+ label: z.ZodString;
2308
+ }, z.core.$strict>>;
2309
+ allowInspect: z.ZodBoolean;
2310
+ allowPublish: z.ZodBoolean;
2311
+ expiresAt: z.ZodISODateTime;
2312
+ }, z.core.$strict>>;
2313
+ confirmed: z.ZodNullable<z.ZodObject<{
2314
+ reference: z.ZodObject<{
2315
+ tenantId: z.ZodUUID;
2316
+ projectId: z.ZodUUID;
2317
+ fileId: z.ZodUUID;
2318
+ versionId: z.ZodUUID;
2319
+ checksumSha256: z.ZodString;
2320
+ byteSize: z.ZodInt;
2321
+ contentType: z.ZodEnum<{
2322
+ "application/json": "application/json";
2323
+ "application/pdf": "application/pdf";
2324
+ "application/octet-stream": "application/octet-stream";
2325
+ "text/plain": "text/plain";
2326
+ "image/png": "image/png";
2327
+ "image/jpeg": "image/jpeg";
2328
+ "image/webp": "image/webp";
2329
+ "audio/wav": "audio/wav";
2330
+ "video/mp4": "video/mp4";
2331
+ }>;
2332
+ deviceId: z.ZodUUID;
2333
+ }, z.core.$strict>;
2334
+ requestId: z.ZodUUID;
2335
+ expectedRevision: z.ZodInt;
2336
+ metadata: z.ZodNullable<z.ZodObject<{
2337
+ label: z.ZodString;
2338
+ }, z.core.$strict>>;
2339
+ allowInspect: z.ZodBoolean;
2340
+ allowPublish: z.ZodBoolean;
2341
+ expiresAt: z.ZodISODateTime;
2342
+ revision: z.ZodInt;
2343
+ recordedAt: z.ZodISODateTime;
2344
+ }, z.core.$strict>>;
2345
+ }, z.core.$strict>;
2346
+ }, z.core.$strict>, z.ZodObject<{
2347
+ items: z.ZodArray<z.ZodObject<{
2348
+ reference: z.ZodObject<{
2349
+ tenantId: z.ZodUUID;
2350
+ projectId: z.ZodUUID;
2351
+ fileId: z.ZodUUID;
2352
+ versionId: z.ZodUUID;
2353
+ checksumSha256: z.ZodString;
2354
+ byteSize: z.ZodInt;
2355
+ contentType: z.ZodEnum<{
2356
+ "application/json": "application/json";
2357
+ "application/pdf": "application/pdf";
2358
+ "application/octet-stream": "application/octet-stream";
2359
+ "text/plain": "text/plain";
2360
+ "image/png": "image/png";
2361
+ "image/jpeg": "image/jpeg";
2362
+ "image/webp": "image/webp";
2363
+ "audio/wav": "audio/wav";
2364
+ "video/mp4": "video/mp4";
2365
+ }>;
2366
+ deviceId: z.ZodUUID;
2367
+ }, z.core.$strict>;
2368
+ ownerKey: z.ZodString;
2369
+ title: z.ZodString;
2370
+ createdAt: z.ZodISODateTime;
2371
+ revision: z.ZodInt;
2372
+ access: z.ZodObject<{
2373
+ state: z.ZodEnum<{
2374
+ REJECTED: "REJECTED";
2375
+ UNKNOWN: "UNKNOWN";
2376
+ PENDING: "PENDING";
2377
+ LOCAL_ONLY: "LOCAL_ONLY";
2378
+ SYNCED: "SYNCED";
2379
+ }>;
2380
+ desired: z.ZodNullable<z.ZodObject<{
2381
+ reference: z.ZodObject<{
2382
+ tenantId: z.ZodUUID;
2383
+ projectId: z.ZodUUID;
2384
+ fileId: z.ZodUUID;
2385
+ versionId: z.ZodUUID;
2386
+ checksumSha256: z.ZodString;
2387
+ byteSize: z.ZodInt;
2388
+ contentType: z.ZodEnum<{
2389
+ "application/json": "application/json";
2390
+ "application/pdf": "application/pdf";
2391
+ "application/octet-stream": "application/octet-stream";
2392
+ "text/plain": "text/plain";
2393
+ "image/png": "image/png";
2394
+ "image/jpeg": "image/jpeg";
2395
+ "image/webp": "image/webp";
2396
+ "audio/wav": "audio/wav";
2397
+ "video/mp4": "video/mp4";
2398
+ }>;
2399
+ deviceId: z.ZodUUID;
2400
+ }, z.core.$strict>;
2401
+ requestId: z.ZodUUID;
2402
+ expectedRevision: z.ZodInt;
2403
+ metadata: z.ZodNullable<z.ZodObject<{
2404
+ label: z.ZodString;
2405
+ }, z.core.$strict>>;
2406
+ allowInspect: z.ZodBoolean;
2407
+ allowPublish: z.ZodBoolean;
2408
+ expiresAt: z.ZodISODateTime;
2409
+ }, z.core.$strict>>;
2410
+ confirmed: z.ZodNullable<z.ZodObject<{
2411
+ reference: z.ZodObject<{
2412
+ tenantId: z.ZodUUID;
2413
+ projectId: z.ZodUUID;
2414
+ fileId: z.ZodUUID;
2415
+ versionId: z.ZodUUID;
2416
+ checksumSha256: z.ZodString;
2417
+ byteSize: z.ZodInt;
2418
+ contentType: z.ZodEnum<{
2419
+ "application/json": "application/json";
2420
+ "application/pdf": "application/pdf";
2421
+ "application/octet-stream": "application/octet-stream";
2422
+ "text/plain": "text/plain";
2423
+ "image/png": "image/png";
2424
+ "image/jpeg": "image/jpeg";
2425
+ "image/webp": "image/webp";
2426
+ "audio/wav": "audio/wav";
2427
+ "video/mp4": "video/mp4";
2428
+ }>;
2429
+ deviceId: z.ZodUUID;
2430
+ }, z.core.$strict>;
2431
+ requestId: z.ZodUUID;
2432
+ expectedRevision: z.ZodInt;
2433
+ metadata: z.ZodNullable<z.ZodObject<{
2434
+ label: z.ZodString;
2435
+ }, z.core.$strict>>;
2436
+ allowInspect: z.ZodBoolean;
2437
+ allowPublish: z.ZodBoolean;
2438
+ expiresAt: z.ZodISODateTime;
2439
+ revision: z.ZodInt;
2440
+ recordedAt: z.ZodISODateTime;
2441
+ }, z.core.$strict>>;
2442
+ }, z.core.$strict>;
2443
+ }, z.core.$strict>>;
2444
+ nextCursor: z.ZodNullable<z.ZodString>;
2445
+ }, z.core.$strict>, z.ZodObject<{
2446
+ reference: z.ZodObject<{
2447
+ tenantId: z.ZodUUID;
2448
+ projectId: z.ZodUUID;
2449
+ fileId: z.ZodUUID;
2450
+ versionId: z.ZodUUID;
2451
+ checksumSha256: z.ZodString;
2452
+ byteSize: z.ZodInt;
2453
+ contentType: z.ZodEnum<{
2454
+ "application/json": "application/json";
2455
+ "application/pdf": "application/pdf";
2456
+ "application/octet-stream": "application/octet-stream";
2457
+ "text/plain": "text/plain";
2458
+ "image/png": "image/png";
2459
+ "image/jpeg": "image/jpeg";
2460
+ "image/webp": "image/webp";
2461
+ "audio/wav": "audio/wav";
2462
+ "video/mp4": "video/mp4";
2463
+ }>;
2464
+ deviceId: z.ZodUUID;
677
2465
  }, 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<{
2466
+ metadata: z.ZodNullable<z.ZodObject<{
2467
+ label: z.ZodString;
2468
+ }, z.core.$strict>>;
2469
+ accessRevision: z.ZodInt;
2470
+ allowInspect: z.ZodBoolean;
2471
+ allowPublish: z.ZodBoolean;
2472
+ expiresAt: z.ZodISODateTime;
2473
+ }, z.core.$strict>, z.ZodObject<{
2474
+ items: z.ZodArray<z.ZodObject<{
2475
+ reference: z.ZodObject<{
2476
+ tenantId: z.ZodUUID;
2477
+ projectId: z.ZodUUID;
2478
+ fileId: z.ZodUUID;
2479
+ versionId: z.ZodUUID;
2480
+ checksumSha256: z.ZodString;
2481
+ byteSize: z.ZodInt;
2482
+ contentType: z.ZodEnum<{
2483
+ "application/json": "application/json";
2484
+ "application/pdf": "application/pdf";
2485
+ "application/octet-stream": "application/octet-stream";
2486
+ "text/plain": "text/plain";
2487
+ "image/png": "image/png";
2488
+ "image/jpeg": "image/jpeg";
2489
+ "image/webp": "image/webp";
2490
+ "audio/wav": "audio/wav";
2491
+ "video/mp4": "video/mp4";
2492
+ }>;
2493
+ deviceId: z.ZodUUID;
2494
+ }, z.core.$strict>;
2495
+ metadata: z.ZodNullable<z.ZodObject<{
2496
+ label: z.ZodString;
2497
+ }, z.core.$strict>>;
2498
+ accessRevision: z.ZodInt;
2499
+ allowInspect: z.ZodBoolean;
2500
+ allowPublish: z.ZodBoolean;
2501
+ expiresAt: z.ZodISODateTime;
2502
+ }, z.core.$strict>>;
2503
+ nextCursor: z.ZodNullable<z.ZodString>;
2504
+ }, z.core.$strict>, z.ZodObject<{
2505
+ reference: z.ZodObject<{
2506
+ tenantId: z.ZodUUID;
2507
+ projectId: z.ZodUUID;
2508
+ fileId: z.ZodUUID;
2509
+ versionId: z.ZodUUID;
2510
+ checksumSha256: z.ZodString;
2511
+ byteSize: z.ZodInt;
2512
+ contentType: z.ZodEnum<{
2513
+ "application/json": "application/json";
2514
+ "application/pdf": "application/pdf";
2515
+ "application/octet-stream": "application/octet-stream";
2516
+ "text/plain": "text/plain";
2517
+ "image/png": "image/png";
2518
+ "image/jpeg": "image/jpeg";
2519
+ "image/webp": "image/webp";
2520
+ "audio/wav": "audio/wav";
2521
+ "video/mp4": "video/mp4";
2522
+ }>;
2523
+ deviceId: z.ZodUUID;
2524
+ }, z.core.$strict>;
2525
+ offset: z.ZodInt;
2526
+ contentBase64: z.ZodString;
2527
+ complete: z.ZodBoolean;
2528
+ }, z.core.$strict>, z.ZodObject<{
2529
+ settings: z.ZodObject<{
2530
+ revision: z.ZodInt;
2531
+ policy: z.ZodObject<{
2532
+ acceptNewWork: z.ZodDefault<z.ZodBoolean>;
2533
+ mode: z.ZodDefault<z.ZodEnum<{
2534
+ CONTINUOUS: "CONTINUOUS";
2535
+ IDLE_ONLY: "IDLE_ONLY";
2536
+ }>>;
2537
+ idleAfterSeconds: z.ZodDefault<z.ZodInt>;
2538
+ maxConcurrentJobs: z.ZodDefault<z.ZodInt>;
2539
+ cpuCores: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
2540
+ memoryMiB: z.ZodDefault<z.ZodInt>;
2541
+ cacheQuotaBytes: z.ZodDefault<z.ZodInt>;
2542
+ }, z.core.$strict>;
2543
+ }, z.core.$strict>;
2544
+ storage: z.ZodObject<{
2545
+ cacheBytes: z.ZodInt;
2546
+ protectedBytes: z.ZodInt;
2547
+ reclaimableBytes: z.ZodInt;
2548
+ transferBytes: z.ZodInt;
2549
+ journalBytes: z.ZodInt;
2550
+ reviewBytes: z.ZodOptional<z.ZodInt>;
2551
+ ownerStagingBytes: z.ZodOptional<z.ZodInt>;
2552
+ availableDiskBytes: z.ZodInt;
2553
+ quotaBytes: z.ZodInt;
2554
+ overQuota: z.ZodBoolean;
2555
+ }, z.core.$strict>;
2556
+ scheduling: z.ZodObject<{
2557
+ state: z.ZodEnum<{
2558
+ READY: "READY";
2559
+ PAUSED: "PAUSED";
2560
+ WAITING_FOR_IDLE: "WAITING_FOR_IDLE";
2561
+ AT_CAPACITY: "AT_CAPACITY";
2562
+ DRAINING: "DRAINING";
2563
+ }>;
2564
+ activeJobs: z.ZodInt;
2565
+ idleObservationCurrent: z.ZodBoolean;
2566
+ }, z.core.$strict>;
2567
+ }, z.core.$strict>, z.ZodObject<{
2568
+ protocol: z.ZodLiteral<"NVS_LOCAL_DIAGNOSTICS_V1">;
2569
+ createdAt: z.ZodISODateTime;
2570
+ runtimeVersion: z.ZodString;
2571
+ runtimeRevision: z.ZodInt;
2572
+ settings: z.ZodObject<{
2573
+ revision: z.ZodInt;
2574
+ policy: z.ZodObject<{
2575
+ acceptNewWork: z.ZodDefault<z.ZodBoolean>;
2576
+ mode: z.ZodDefault<z.ZodEnum<{
2577
+ CONTINUOUS: "CONTINUOUS";
2578
+ IDLE_ONLY: "IDLE_ONLY";
2579
+ }>>;
2580
+ idleAfterSeconds: z.ZodDefault<z.ZodInt>;
2581
+ maxConcurrentJobs: z.ZodDefault<z.ZodInt>;
2582
+ cpuCores: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
2583
+ memoryMiB: z.ZodDefault<z.ZodInt>;
2584
+ cacheQuotaBytes: z.ZodDefault<z.ZodInt>;
2585
+ }, z.core.$strict>;
2586
+ }, z.core.$strict>;
2587
+ storage: z.ZodObject<{
2588
+ cacheBytes: z.ZodInt;
2589
+ protectedBytes: z.ZodInt;
2590
+ reclaimableBytes: z.ZodInt;
2591
+ transferBytes: z.ZodInt;
2592
+ journalBytes: z.ZodInt;
2593
+ reviewBytes: z.ZodOptional<z.ZodInt>;
2594
+ ownerStagingBytes: z.ZodOptional<z.ZodInt>;
2595
+ availableDiskBytes: z.ZodInt;
2596
+ quotaBytes: z.ZodInt;
2597
+ overQuota: z.ZodBoolean;
2598
+ }, z.core.$strict>;
2599
+ recordCounts: z.ZodRecord<z.ZodString, z.ZodInt>;
2600
+ failures: z.ZodArray<z.ZodObject<{
2601
+ taskFingerprint: z.ZodString;
2602
+ code: z.ZodString;
2603
+ observedAt: z.ZodISODateTime;
2604
+ }, z.core.$strict>>;
2605
+ }, z.core.$strict>, z.ZodObject<{
2606
+ historical: z.ZodLiteral<true>;
2607
+ items: z.ZodArray<z.ZodObject<{
2608
+ snapshot: z.ZodObject<{
2609
+ projectId: z.ZodUUID;
2610
+ title: z.ZodString;
2611
+ savedAt: z.ZodISODateTime;
2612
+ expiresAt: z.ZodISODateTime;
2613
+ productions: z.ZodArray<z.ZodObject<{
2614
+ id: z.ZodUUID;
2615
+ title: z.ZodString;
2616
+ }, z.core.$strict>>;
2617
+ possiblyTruncated: z.ZodBoolean;
2618
+ }, z.core.$strict>;
2619
+ draft: z.ZodObject<{
2620
+ text: z.ZodString;
2621
+ revision: z.ZodInt;
2622
+ }, z.core.$strict>;
2623
+ }, z.core.$strict>>;
2624
+ }, z.core.$strict>, z.ZodObject<{
718
2625
  protocol: z.ZodLiteral<"NVS_LOCAL_IPC_V1">;
719
2626
  runtimeRevision: z.ZodInt;
720
2627
  state: z.ZodEnum<{
721
2628
  RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
722
- IDLE: "IDLE";
723
2629
  EXECUTING: "EXECUTING";
724
2630
  DRAINING: "DRAINING";
2631
+ IDLE: "IDLE";
725
2632
  }>;
726
2633
  journalSchemaVersion: z.ZodLiteral<1>;
727
- workProtocols: z.ZodArray<z.ZodLiteral<"NVS_LOCAL_WORK_V1">>;
2634
+ workProtocols: z.ZodArray<z.ZodEnum<{
2635
+ NVS_LOCAL_WORK_V1: "NVS_LOCAL_WORK_V1";
2636
+ NVS_LOCAL_WORK_V2: "NVS_LOCAL_WORK_V2";
2637
+ }>>;
728
2638
  versions: z.ZodArray<z.ZodObject<{
729
2639
  component: z.ZodEnum<{
730
2640
  CLI: "CLI";
@@ -740,18 +2650,295 @@ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
740
2650
  installOwner: z.ZodEnum<{
741
2651
  UNKNOWN: "UNKNOWN";
742
2652
  PROJECT: "PROJECT";
2653
+ MANAGED: "MANAGED";
743
2654
  NPM_GLOBAL: "NPM_GLOBAL";
744
2655
  NPX: "NPX";
745
- MANAGED: "MANAGED";
746
2656
  TARBALL: "TARBALL";
747
2657
  }>;
748
2658
  }, 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>>;
2659
+ deviceAuthority: z.ZodOptional<z.ZodObject<{
2660
+ tenantId: z.ZodUUID;
2661
+ deviceId: z.ZodUUID;
2662
+ origin: z.ZodURL;
2663
+ }, z.core.$strict>>;
2664
+ deviceCapabilities: z.ZodOptional<z.ZodObject<{
2665
+ deviceRevision: z.ZodInt;
2666
+ tenantMediaValidation: z.ZodBoolean;
2667
+ tenantMediaProcessing: z.ZodBoolean;
2668
+ processorCapabilities: z.ZodArray<z.ZodEnum<{
2669
+ KEYFRAME_GENERATE: "KEYFRAME_GENERATE";
2670
+ VIDEO_GENERATE: "VIDEO_GENERATE";
2671
+ SPEECH_SYNTHESIZE: "SPEECH_SYNTHESIZE";
2672
+ SPEECH_EXTERNAL_QWEN: "SPEECH_EXTERNAL_QWEN";
2673
+ TEMPORAL_SAMPLE: "TEMPORAL_SAMPLE";
2674
+ DELIVERY_VALIDATE: "DELIVERY_VALIDATE";
2675
+ COMPOSITION_RENDER: "COMPOSITION_RENDER";
2676
+ IMPORTED_VISUAL_NORMALIZE: "IMPORTED_VISUAL_NORMALIZE";
2677
+ SOURCE_SYNC_AUDIO: "SOURCE_SYNC_AUDIO";
2678
+ IMPORT_ORIGINAL: "IMPORT_ORIGINAL";
2679
+ LOCAL_MEDIA_INSPECT: "LOCAL_MEDIA_INSPECT";
2680
+ LOCAL_MEDIA_PUBLISH: "LOCAL_MEDIA_PUBLISH";
2681
+ IMPORT_PROJECT_SOURCE: "IMPORT_PROJECT_SOURCE";
2682
+ REGISTER_VISUAL_SEQUENCE: "REGISTER_VISUAL_SEQUENCE";
2683
+ TRANSCRIBE_AUDIO: "TRANSCRIBE_AUDIO";
2684
+ TRANSCRIBE_EXTERNAL_QWEN: "TRANSCRIBE_EXTERNAL_QWEN";
2685
+ }>>;
752
2686
  }, z.core.$strict>>;
753
2687
  nextActions: z.ZodArray<z.ZodObject<{
754
2688
  call: z.ZodDiscriminatedUnion<[z.ZodObject<{
2689
+ operation: z.ZodLiteral<"library.capability">;
2690
+ }, z.core.$strict>, z.ZodObject<{
2691
+ operation: z.ZodLiteral<"library.call">;
2692
+ input: z.ZodDiscriminatedUnion<[z.ZodObject<{
2693
+ tenantId: z.ZodUUID;
2694
+ after: z.ZodDefault<z.ZodNullable<z.ZodString>>;
2695
+ limit: z.ZodDefault<z.ZodInt>;
2696
+ projectId: z.ZodOptional<z.ZodUUID>;
2697
+ deviceId: z.ZodUUID;
2698
+ ownerKey: z.ZodOptional<z.ZodString>;
2699
+ search: z.ZodOptional<z.ZodString>;
2700
+ mediaCategory: z.ZodOptional<z.ZodEnum<{
2701
+ IMAGE: "IMAGE";
2702
+ VIDEO: "VIDEO";
2703
+ AUDIO: "AUDIO";
2704
+ DOCUMENT: "DOCUMENT";
2705
+ }>>;
2706
+ action: z.ZodLiteral<"list">;
2707
+ }, z.core.$strict>, z.ZodObject<{
2708
+ reference: z.ZodObject<{
2709
+ tenantId: z.ZodUUID;
2710
+ projectId: z.ZodUUID;
2711
+ fileId: z.ZodUUID;
2712
+ versionId: z.ZodUUID;
2713
+ checksumSha256: z.ZodString;
2714
+ byteSize: z.ZodInt;
2715
+ contentType: z.ZodEnum<{
2716
+ "application/json": "application/json";
2717
+ "application/pdf": "application/pdf";
2718
+ "application/octet-stream": "application/octet-stream";
2719
+ "text/plain": "text/plain";
2720
+ "image/png": "image/png";
2721
+ "image/jpeg": "image/jpeg";
2722
+ "image/webp": "image/webp";
2723
+ "audio/wav": "audio/wav";
2724
+ "video/mp4": "video/mp4";
2725
+ }>;
2726
+ deviceId: z.ZodUUID;
2727
+ }, z.core.$strict>;
2728
+ ownerKey: z.ZodOptional<z.ZodString>;
2729
+ action: z.ZodLiteral<"get">;
2730
+ }, z.core.$strict>, z.ZodObject<{
2731
+ search: z.ZodOptional<z.ZodString>;
2732
+ tenantId: z.ZodUUID;
2733
+ limit: z.ZodDefault<z.ZodInt>;
2734
+ deviceId: z.ZodUUID;
2735
+ mediaCategory: z.ZodOptional<z.ZodEnum<{
2736
+ IMAGE: "IMAGE";
2737
+ VIDEO: "VIDEO";
2738
+ AUDIO: "AUDIO";
2739
+ DOCUMENT: "DOCUMENT";
2740
+ }>>;
2741
+ after: z.ZodDefault<z.ZodNullable<z.ZodString>>;
2742
+ projectId: z.ZodUUID;
2743
+ action: z.ZodLiteral<"scoped-list">;
2744
+ }, z.core.$strict>, z.ZodObject<{
2745
+ action: z.ZodLiteral<"scoped-get">;
2746
+ reference: z.ZodObject<{
2747
+ tenantId: z.ZodUUID;
2748
+ projectId: z.ZodUUID;
2749
+ fileId: z.ZodUUID;
2750
+ versionId: z.ZodUUID;
2751
+ checksumSha256: z.ZodString;
2752
+ byteSize: z.ZodInt;
2753
+ contentType: z.ZodEnum<{
2754
+ "application/json": "application/json";
2755
+ "application/pdf": "application/pdf";
2756
+ "application/octet-stream": "application/octet-stream";
2757
+ "text/plain": "text/plain";
2758
+ "image/png": "image/png";
2759
+ "image/jpeg": "image/jpeg";
2760
+ "image/webp": "image/webp";
2761
+ "audio/wav": "audio/wav";
2762
+ "video/mp4": "video/mp4";
2763
+ }>;
2764
+ deviceId: z.ZodUUID;
2765
+ }, z.core.$strict>;
2766
+ }, z.core.$strict>, z.ZodObject<{
2767
+ action: z.ZodLiteral<"usage">;
2768
+ ownerKey: z.ZodOptional<z.ZodString>;
2769
+ }, z.core.$strict>, z.ZodObject<{
2770
+ reference: z.ZodObject<{
2771
+ tenantId: z.ZodUUID;
2772
+ projectId: z.ZodUUID;
2773
+ fileId: z.ZodUUID;
2774
+ versionId: z.ZodUUID;
2775
+ checksumSha256: z.ZodString;
2776
+ byteSize: z.ZodInt;
2777
+ contentType: z.ZodEnum<{
2778
+ "application/json": "application/json";
2779
+ "application/pdf": "application/pdf";
2780
+ "application/octet-stream": "application/octet-stream";
2781
+ "text/plain": "text/plain";
2782
+ "image/png": "image/png";
2783
+ "image/jpeg": "image/jpeg";
2784
+ "image/webp": "image/webp";
2785
+ "audio/wav": "audio/wav";
2786
+ "video/mp4": "video/mp4";
2787
+ }>;
2788
+ deviceId: z.ZodUUID;
2789
+ }, z.core.$strict>;
2790
+ ownerKey: z.ZodOptional<z.ZodString>;
2791
+ offset: z.ZodInt;
2792
+ length: z.ZodInt;
2793
+ action: z.ZodLiteral<"read">;
2794
+ }, z.core.$strict>, z.ZodObject<{
2795
+ command: z.ZodObject<{
2796
+ reference: z.ZodObject<{
2797
+ tenantId: z.ZodUUID;
2798
+ projectId: z.ZodUUID;
2799
+ fileId: z.ZodUUID;
2800
+ versionId: z.ZodUUID;
2801
+ checksumSha256: z.ZodString;
2802
+ byteSize: z.ZodInt;
2803
+ contentType: z.ZodEnum<{
2804
+ "application/json": "application/json";
2805
+ "application/pdf": "application/pdf";
2806
+ "application/octet-stream": "application/octet-stream";
2807
+ "text/plain": "text/plain";
2808
+ "image/png": "image/png";
2809
+ "image/jpeg": "image/jpeg";
2810
+ "image/webp": "image/webp";
2811
+ "audio/wav": "audio/wav";
2812
+ "video/mp4": "video/mp4";
2813
+ }>;
2814
+ deviceId: z.ZodUUID;
2815
+ }, z.core.$strict>;
2816
+ requestId: z.ZodUUID;
2817
+ expectedRevision: z.ZodInt;
2818
+ metadata: z.ZodNullable<z.ZodObject<{
2819
+ label: z.ZodString;
2820
+ }, z.core.$strict>>;
2821
+ allowInspect: z.ZodBoolean;
2822
+ allowPublish: z.ZodBoolean;
2823
+ expiresAt: z.ZodISODateTime;
2824
+ }, z.core.$strict>;
2825
+ expectedLocalRevision: z.ZodInt;
2826
+ ownerKey: z.ZodOptional<z.ZodString>;
2827
+ action: z.ZodLiteral<"access">;
2828
+ }, z.core.$strict>, z.ZodObject<{
2829
+ reference: z.ZodObject<{
2830
+ tenantId: z.ZodUUID;
2831
+ projectId: z.ZodUUID;
2832
+ fileId: z.ZodUUID;
2833
+ versionId: z.ZodUUID;
2834
+ checksumSha256: z.ZodString;
2835
+ byteSize: z.ZodInt;
2836
+ contentType: z.ZodEnum<{
2837
+ "application/json": "application/json";
2838
+ "application/pdf": "application/pdf";
2839
+ "application/octet-stream": "application/octet-stream";
2840
+ "text/plain": "text/plain";
2841
+ "image/png": "image/png";
2842
+ "image/jpeg": "image/jpeg";
2843
+ "image/webp": "image/webp";
2844
+ "audio/wav": "audio/wav";
2845
+ "video/mp4": "video/mp4";
2846
+ }>;
2847
+ deviceId: z.ZodUUID;
2848
+ }, z.core.$strict>;
2849
+ requestId: z.ZodUUID;
2850
+ action: z.ZodLiteral<"sync">;
2851
+ ownerKey: z.ZodOptional<z.ZodString>;
2852
+ }, z.core.$strict>, z.ZodObject<{
2853
+ reference: z.ZodObject<{
2854
+ tenantId: z.ZodUUID;
2855
+ projectId: z.ZodUUID;
2856
+ fileId: z.ZodUUID;
2857
+ versionId: z.ZodUUID;
2858
+ checksumSha256: z.ZodString;
2859
+ byteSize: z.ZodInt;
2860
+ contentType: z.ZodEnum<{
2861
+ "application/json": "application/json";
2862
+ "application/pdf": "application/pdf";
2863
+ "application/octet-stream": "application/octet-stream";
2864
+ "text/plain": "text/plain";
2865
+ "image/png": "image/png";
2866
+ "image/jpeg": "image/jpeg";
2867
+ "image/webp": "image/webp";
2868
+ "audio/wav": "audio/wav";
2869
+ "video/mp4": "video/mp4";
2870
+ }>;
2871
+ deviceId: z.ZodUUID;
2872
+ }, z.core.$strict>;
2873
+ requestId: z.ZodUUID;
2874
+ action: z.ZodLiteral<"resume-access">;
2875
+ ownerKey: z.ZodOptional<z.ZodString>;
2876
+ }, z.core.$strict>, z.ZodObject<{
2877
+ tenantId: z.ZodUUID;
2878
+ projectId: z.ZodUUID;
2879
+ deviceId: z.ZodUUID;
2880
+ requestId: z.ZodUUID;
2881
+ ownerKey: z.ZodOptional<z.ZodString>;
2882
+ action: z.ZodLiteral<"import-receipt">;
2883
+ }, z.core.$strict>], "action">;
2884
+ }, z.core.$strict>, z.ZodObject<{
2885
+ operation: z.ZodLiteral<"agent.discover">;
2886
+ binary: z.ZodOptional<z.ZodString>;
2887
+ }, z.core.$strict>, z.ZodObject<{
2888
+ operation: z.ZodLiteral<"offline.workspace">;
2889
+ input: z.ZodDiscriminatedUnion<[z.ZodObject<{
2890
+ action: z.ZodEnum<{
2891
+ list: "list";
2892
+ forget: "forget";
2893
+ }>;
2894
+ key: z.ZodString;
2895
+ }, z.core.$strict>, z.ZodObject<{
2896
+ action: z.ZodLiteral<"retain">;
2897
+ key: z.ZodString;
2898
+ snapshot: z.ZodObject<{
2899
+ projectId: z.ZodUUID;
2900
+ title: z.ZodString;
2901
+ savedAt: z.ZodISODateTime;
2902
+ expiresAt: z.ZodISODateTime;
2903
+ productions: z.ZodArray<z.ZodObject<{
2904
+ id: z.ZodUUID;
2905
+ title: z.ZodString;
2906
+ }, z.core.$strict>>;
2907
+ possiblyTruncated: z.ZodBoolean;
2908
+ }, z.core.$strict>;
2909
+ }, z.core.$strict>, z.ZodObject<{
2910
+ action: z.ZodLiteral<"draft">;
2911
+ key: z.ZodString;
2912
+ projectId: z.ZodUUID;
2913
+ text: z.ZodString;
2914
+ expectedRevision: z.ZodInt;
2915
+ }, z.core.$strict>], "action">;
2916
+ }, z.core.$strict>, z.ZodObject<{
2917
+ operation: z.ZodLiteral<"workspace.inspect">;
2918
+ }, z.core.$strict>, z.ZodObject<{
2919
+ operation: z.ZodLiteral<"workspace.configure">;
2920
+ policy: z.ZodObject<{
2921
+ acceptNewWork: z.ZodDefault<z.ZodBoolean>;
2922
+ mode: z.ZodDefault<z.ZodEnum<{
2923
+ CONTINUOUS: "CONTINUOUS";
2924
+ IDLE_ONLY: "IDLE_ONLY";
2925
+ }>>;
2926
+ idleAfterSeconds: z.ZodDefault<z.ZodInt>;
2927
+ maxConcurrentJobs: z.ZodDefault<z.ZodInt>;
2928
+ cpuCores: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
2929
+ memoryMiB: z.ZodDefault<z.ZodInt>;
2930
+ cacheQuotaBytes: z.ZodDefault<z.ZodInt>;
2931
+ }, z.core.$strict>;
2932
+ expectedRevision: z.ZodInt;
2933
+ }, z.core.$strict>, z.ZodObject<{
2934
+ operation: z.ZodLiteral<"workspace.activity">;
2935
+ idleSeconds: z.ZodInt;
2936
+ observedAt: z.ZodISODateTime;
2937
+ }, z.core.$strict>, z.ZodObject<{
2938
+ operation: z.ZodLiteral<"storage.clean">;
2939
+ }, z.core.$strict>, z.ZodObject<{
2940
+ operation: z.ZodLiteral<"diagnostics.read">;
2941
+ }, z.core.$strict>, z.ZodObject<{
755
2942
  operation: z.ZodLiteral<"agent.grant">;
756
2943
  grant: z.ZodObject<{
757
2944
  protocol: z.ZodLiteral<"NVS_CODEX_REVIEW_GRANT_V1">;
@@ -772,9 +2959,10 @@ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
772
2959
  inference: z.ZodLiteral<"REMOTE_OPENAI">;
773
2960
  remoteUseApproved: z.ZodLiteral<true>;
774
2961
  imageDisclosureApproved: z.ZodOptional<z.ZodLiteral<true>>;
2962
+ mediaDisclosureApproved: z.ZodOptional<z.ZodLiteral<true>>;
775
2963
  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>>;
2964
+ tenantId: z.ZodUUID;
2965
+ projectId: z.ZodUUID;
778
2966
  }, z.core.$strict>>;
779
2967
  expiresAt: z.ZodISODateTime;
780
2968
  }, z.core.$strict>;
@@ -788,16 +2976,9 @@ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
788
2976
  operation: z.ZodLiteral<"agent.prepare">;
789
2977
  snapshot: z.ZodObject<{
790
2978
  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>;
2979
+ scope: typeof import("../director-proposal.js").DirectorScopeSchema;
2980
+ target: typeof import("../review-intelligence.js").ReviewIntelligenceTargetSchema;
796
2981
  contextFingerprint: z.ZodString;
797
- target: z.ZodObject<{
798
- kind: z.ZodLiteral<"IMAGE">;
799
- generationId: z.ZodUUID;
800
- }, z.core.$strict>;
801
2982
  }, z.core.$strict>;
802
2983
  productionRevision: z.ZodInt;
803
2984
  reviewVersion: z.ZodInt;
@@ -810,15 +2991,124 @@ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
810
2991
  representationId: z.ZodUUID;
811
2992
  checksumSha256: z.ZodString;
812
2993
  }, z.core.$strict>;
813
- requirements: z.ZodArray<z.ZodObject<{
2994
+ requirements: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2995
+ intentPath: z.ZodOptional<z.ZodString>;
2996
+ key: z.ZodString;
2997
+ expected: z.ZodString;
2998
+ enforcement: z.ZodEnum<{
2999
+ LOCKED: "LOCKED";
3000
+ REQUIRED: "REQUIRED";
3001
+ PREFERRED: "PREFERRED";
3002
+ }>;
3003
+ }, z.core.$strict>, z.ZodObject<{
814
3004
  intentPath: z.ZodOptional<z.ZodString>;
3005
+ continuity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
3006
+ kind: z.ZodLiteral<"STATE">;
3007
+ mode: z.ZodEnum<{
3008
+ PRESERVE: "PRESERVE";
3009
+ PLANNED_TRANSITIONS: "PLANNED_TRANSITIONS";
3010
+ }>;
3011
+ entry: z.ZodString;
3012
+ exit: z.ZodString;
3013
+ changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
3014
+ atPermille: z.ZodInt;
3015
+ from: z.ZodString;
3016
+ to: z.ZodString;
3017
+ reason: z.ZodString;
3018
+ }, z.core.$strict>>>;
3019
+ }, z.core.$strict>, z.ZodObject<{
3020
+ kind: z.ZodLiteral<"TIME">;
3021
+ mode: z.ZodEnum<{
3022
+ MONOTONIC: "MONOTONIC";
3023
+ PLANNED_JUMPS: "PLANNED_JUMPS";
3024
+ }>;
3025
+ entryMs: z.ZodInt;
3026
+ exitMs: z.ZodInt;
3027
+ jumps: z.ZodOptional<z.ZodArray<z.ZodObject<{
3028
+ atPermille: z.ZodInt;
3029
+ fromMs: z.ZodInt;
3030
+ toMs: z.ZodInt;
3031
+ reason: z.ZodString;
3032
+ }, z.core.$strict>>>;
3033
+ }, z.core.$strict>], "kind">>;
3034
+ interval: z.ZodOptional<z.ZodObject<{
3035
+ startMs: z.ZodInt;
3036
+ endMs: z.ZodInt;
3037
+ }, z.core.$strict>>;
3038
+ key: z.ZodString;
3039
+ family: z.ZodEnum<{
3040
+ PRODUCT_IDENTITY: "PRODUCT_IDENTITY";
3041
+ CHARACTER_IDENTITY: "CHARACTER_IDENTITY";
3042
+ WARDROBE: "WARDROBE";
3043
+ LOCATION: "LOCATION";
3044
+ STYLE: "STYLE";
3045
+ SHOT_INTENT: "SHOT_INTENT";
3046
+ BOUNDARY_CONTINUITY: "BOUNDARY_CONTINUITY";
3047
+ SOUND: "SOUND";
3048
+ }>;
3049
+ expected: z.ZodString;
3050
+ enforcement: z.ZodEnum<{
3051
+ LOCKED: "LOCKED";
3052
+ REQUIRED: "REQUIRED";
3053
+ PREFERRED: "PREFERRED";
3054
+ }>;
3055
+ evidenceWindow: z.ZodEnum<{
3056
+ START: "START";
3057
+ END: "END";
3058
+ WHOLE_VIDEO: "WHOLE_VIDEO";
3059
+ TEMPORAL: "TEMPORAL";
3060
+ }>;
3061
+ }, z.core.$strict>, z.ZodObject<{
3062
+ continuity: z.ZodOptional<typeof import("../continuity-evaluation.js").ContinuityExpectationSchema>;
3063
+ consistencyScale: z.ZodOptional<typeof import("../continuity-evaluation.js").ConsistencyReviewScaleSchema>;
3064
+ consistencyFamily: z.ZodOptional<z.ZodEnum<{
3065
+ PRODUCT_IDENTITY: "PRODUCT_IDENTITY";
3066
+ CHARACTER_IDENTITY: "CHARACTER_IDENTITY";
3067
+ WARDROBE: "WARDROBE";
3068
+ LOCATION: "LOCATION";
3069
+ STYLE: "STYLE";
3070
+ BOUNDARY_CONTINUITY: "BOUNDARY_CONTINUITY";
3071
+ }>>;
3072
+ consistencySubject: z.ZodOptional<typeof import("../consistency-profile.js").ConsistencySubjectSchema>;
3073
+ consistencyReference: z.ZodOptional<typeof import("../consistency-profile.js").ConsistencyMasterReferenceSchema>;
815
3074
  key: z.ZodString;
3075
+ dimension: z.ZodEnum<{
3076
+ PRODUCT_PRESENTATION: "PRODUCT_PRESENTATION";
3077
+ CANONICAL_FACT: "CANONICAL_FACT";
3078
+ NARRATIVE: "NARRATIVE";
3079
+ PACING: "PACING";
3080
+ REPETITION: "REPETITION";
3081
+ STYLE: "STYLE";
3082
+ TECHNICAL: "TECHNICAL";
3083
+ TRANSITION: "TRANSITION";
3084
+ }>;
816
3085
  expected: z.ZodString;
817
3086
  enforcement: z.ZodEnum<{
818
3087
  LOCKED: "LOCKED";
819
3088
  REQUIRED: "REQUIRED";
820
3089
  PREFERRED: "PREFERRED";
821
3090
  }>;
3091
+ scope: z.ZodEnum<{
3092
+ PRODUCTION: "PRODUCTION";
3093
+ TRANSITION: "TRANSITION";
3094
+ }>;
3095
+ interval: typeof import("../rough-cut-review.js").ReviewIntervalSchema;
3096
+ shotIds: z.ZodArray<z.ZodUUID>;
3097
+ }, z.core.$strict>]>>;
3098
+ evidence: z.ZodOptional<z.ZodObject<{
3099
+ profile: z.ZodLiteral<"NVS_AGENT_DERIVED_EVIDENCE_V1">;
3100
+ contentType: z.ZodEnum<{
3101
+ "image/png": "image/png";
3102
+ "image/jpeg": "image/jpeg";
3103
+ "image/webp": "image/webp";
3104
+ "video/mp4": "video/mp4";
3105
+ }>;
3106
+ byteSize: z.ZodInt;
3107
+ width: z.ZodInt;
3108
+ height: z.ZodInt;
3109
+ durationMs: z.ZodOptional<z.ZodInt>;
3110
+ frameRate: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>>;
3111
+ hasAudio: z.ZodOptional<z.ZodBoolean>;
822
3112
  }, z.core.$strict>>;
823
3113
  image: z.ZodOptional<z.ZodObject<{
824
3114
  contentType: z.ZodLiteral<"image/png">;
@@ -837,16 +3127,15 @@ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
837
3127
  id: z.ZodUUID;
838
3128
  }, z.core.$strict>, z.ZodObject<{
839
3129
  operation: z.ZodLiteral<"runtime.status">;
3130
+ includeDevice: z.ZodOptional<z.ZodLiteral<true>>;
840
3131
  }, z.core.$strict>, z.ZodObject<{
841
3132
  operation: z.ZodLiteral<"runtime.doctor">;
842
3133
  }, z.core.$strict>, z.ZodObject<{
843
3134
  operation: z.ZodLiteral<"runtime.inventory">;
844
3135
  }, z.core.$strict>, z.ZodObject<{
845
3136
  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>>;
3137
+ tenantId: z.ZodUUID;
3138
+ deviceId: z.ZodUUID;
850
3139
  expiresAt: z.ZodISODateTime;
851
3140
  }, z.core.$strict>, z.ZodObject<{
852
3141
  operation: z.ZodLiteral<"runtime.stop">;
@@ -854,18 +3143,21 @@ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
854
3143
  }, z.core.$strict>, z.ZodObject<{
855
3144
  operation: z.ZodLiteral<"execution.inspect">;
856
3145
  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>>;
3146
+ tenantId: z.ZodUUID;
3147
+ projectId: z.ZodUUID;
3148
+ productionId: z.ZodUUID;
3149
+ runtimeJobId: z.ZodUUID;
3150
+ includeProgress: z.ZodOptional<z.ZodBoolean>;
861
3151
  }, z.core.$strict>;
862
3152
  }, z.core.$strict>, z.ZodObject<{
863
3153
  operation: z.ZodLiteral<"execution.list">;
864
3154
  input: z.ZodObject<{
865
- tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
866
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
3155
+ tenantId: z.ZodUUID;
3156
+ projectId: z.ZodUUID;
867
3157
  after: z.ZodDefault<z.ZodNullable<z.ZodString>>;
868
3158
  limit: z.ZodDefault<z.ZodInt>;
3159
+ includeCompleted: z.ZodOptional<z.ZodBoolean>;
3160
+ includeProgress: z.ZodOptional<z.ZodBoolean>;
869
3161
  }, z.core.$strict>;
870
3162
  }, z.core.$strict>, z.ZodObject<{
871
3163
  operation: z.ZodLiteral<"update.check">;
@@ -875,7 +3167,7 @@ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
875
3167
  expectedRuntimeRevision: z.ZodInt;
876
3168
  }, z.core.$strict>, z.ZodObject<{
877
3169
  operation: z.ZodLiteral<"update.apply">;
878
- planId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
3170
+ planId: z.ZodUUID;
879
3171
  targetVersion: z.ZodString;
880
3172
  expectedRuntimeRevision: z.ZodInt;
881
3173
  }, z.core.$strict>], "operation">;
@@ -894,8 +3186,8 @@ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
894
3186
  }, z.core.$strict>>;
895
3187
  }, z.core.$strict>, z.ZodObject<{
896
3188
  mode: z.ZodEnum<{
897
- MANAGED: "MANAGED";
898
3189
  INSTALLED: "INSTALLED";
3190
+ MANAGED: "MANAGED";
899
3191
  }>;
900
3192
  availability: z.ZodEnum<{
901
3193
  UNAVAILABLE: "UNAVAILABLE";
@@ -907,6 +3199,10 @@ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
907
3199
  TOOL_QUALIFICATION_FAILED: "TOOL_QUALIFICATION_FAILED";
908
3200
  }>;
909
3201
  nativeExecutionReady: z.ZodBoolean;
3202
+ executionProfiles: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3203
+ ROUGH_CUT_PREVIEW_V1: "ROUGH_CUT_PREVIEW_V1";
3204
+ STUDIO_MEDIA_V2: "STUDIO_MEDIA_V2";
3205
+ }>>>;
910
3206
  tools: z.ZodArray<z.ZodObject<{
911
3207
  name: z.ZodEnum<{
912
3208
  FFMPEG: "FFMPEG";
@@ -918,24 +3214,24 @@ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
918
3214
  }, z.core.$strict>>;
919
3215
  }, z.core.$strict>, z.ZodNullable<z.ZodObject<{
920
3216
  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;
3217
+ tenantId: z.ZodUUID;
3218
+ projectId: z.ZodUUID;
3219
+ productionId: z.ZodUUID;
3220
+ runtimeJobId: z.ZodUUID;
3221
+ attemptId: typeof LocalIdSchema;
3222
+ assignmentRevision: typeof LocalRevisionSchema;
927
3223
  workerId: z.ZodString;
928
- workFingerprint: z.ZodString;
929
- toolchainFingerprint: z.ZodString;
3224
+ workFingerprint: typeof import("./common.js").LocalDigestSchema;
3225
+ toolchainFingerprint: typeof import("./common.js").LocalDigestSchema;
930
3226
  }, z.core.$strict>;
931
3227
  revision: z.ZodInt;
932
3228
  phase: z.ZodEnum<{
933
3229
  RUNNING: "RUNNING";
934
3230
  RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
3231
+ FENCED: "FENCED";
935
3232
  STAGED: "STAGED";
936
3233
  OUTPUT_PENDING: "OUTPUT_PENDING";
937
3234
  RECEIPT_RECORDED: "RECEIPT_RECORDED";
938
- FENCED: "FENCED";
939
3235
  }>;
940
3236
  checkpoint: z.ZodEnum<{
941
3237
  ADOPTED: "ADOPTED";
@@ -943,6 +3239,26 @@ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
943
3239
  PROCESS_STARTED: "PROCESS_STARTED";
944
3240
  OUTPUT_STAGED: "OUTPUT_STAGED";
945
3241
  }>;
3242
+ progress: z.ZodOptional<z.ZodObject<{
3243
+ stage: z.ZodEnum<{
3244
+ WAITING: "WAITING";
3245
+ COMPLETE: "COMPLETE";
3246
+ RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
3247
+ DOWNLOADING: "DOWNLOADING";
3248
+ EXECUTING: "EXECUTING";
3249
+ UPLOADING: "UPLOADING";
3250
+ AWAITING_ACCEPTANCE: "AWAITING_ACCEPTANCE";
3251
+ FENCED: "FENCED";
3252
+ }>;
3253
+ downloadedBytes: z.ZodInt;
3254
+ sourceBytes: z.ZodInt;
3255
+ uploadedBytes: z.ZodInt;
3256
+ outputBytes: z.ZodInt;
3257
+ lastError: z.ZodNullable<z.ZodObject<{
3258
+ code: z.ZodString;
3259
+ observedAt: z.ZodISODateTime;
3260
+ }, z.core.$strict>>;
3261
+ }, z.core.$strict>>;
946
3262
  }, z.core.$strict>>, z.ZodObject<{
947
3263
  state: z.ZodLiteral<"DRAINING">;
948
3264
  inventory: z.ZodOptional<z.ZodObject<{
@@ -966,10 +3282,17 @@ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
966
3282
  }>;
967
3283
  }, z.core.$strict>;
968
3284
  ipcProtocol: z.ZodLiteral<"NVS_LOCAL_IPC_V1">;
969
- workProtocol: z.ZodLiteral<"NVS_LOCAL_WORK_V1">;
3285
+ workProtocol: z.ZodEnum<{
3286
+ NVS_LOCAL_WORK_V1: "NVS_LOCAL_WORK_V1";
3287
+ NVS_LOCAL_WORK_V2: "NVS_LOCAL_WORK_V2";
3288
+ }>;
970
3289
  journalSchema: z.ZodLiteral<1>;
971
3290
  rendererDigest: z.ZodString;
972
3291
  profileDigest: z.ZodString;
3292
+ compatibleRenderers: z.ZodOptional<z.ZodArray<z.ZodObject<{
3293
+ rendererDigest: z.ZodString;
3294
+ profileDigest: z.ZodString;
3295
+ }, z.core.$strict>>>;
973
3296
  }, z.core.$strict>;
974
3297
  activeProcesses: z.ZodInt;
975
3298
  pendingExecutions: z.ZodInt;
@@ -982,10 +3305,8 @@ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
982
3305
  stateDirectory: z.ZodString;
983
3306
  credential: z.ZodString;
984
3307
  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>>;
3308
+ tenantId: z.ZodUUID;
3309
+ deviceId: z.ZodUUID;
989
3310
  }, z.core.$strict>, z.ZodObject<{
990
3311
  runtimeRevision: z.ZodInt;
991
3312
  descriptor: z.ZodObject<{
@@ -1007,10 +3328,17 @@ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
1007
3328
  }>;
1008
3329
  }, z.core.$strict>;
1009
3330
  ipcProtocol: z.ZodLiteral<"NVS_LOCAL_IPC_V1">;
1010
- workProtocol: z.ZodLiteral<"NVS_LOCAL_WORK_V1">;
3331
+ workProtocol: z.ZodEnum<{
3332
+ NVS_LOCAL_WORK_V1: "NVS_LOCAL_WORK_V1";
3333
+ NVS_LOCAL_WORK_V2: "NVS_LOCAL_WORK_V2";
3334
+ }>;
1011
3335
  journalSchema: z.ZodLiteral<1>;
1012
3336
  rendererDigest: z.ZodString;
1013
3337
  profileDigest: z.ZodString;
3338
+ compatibleRenderers: z.ZodOptional<z.ZodArray<z.ZodObject<{
3339
+ rendererDigest: z.ZodString;
3340
+ profileDigest: z.ZodString;
3341
+ }, z.core.$strict>>>;
1014
3342
  }, z.core.$strict>;
1015
3343
  activeProcesses: z.ZodInt;
1016
3344
  pendingExecutions: z.ZodInt;
@@ -1019,24 +3347,24 @@ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
1019
3347
  }, z.core.$strict>, z.ZodObject<{
1020
3348
  items: z.ZodArray<z.ZodObject<{
1021
3349
  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;
3350
+ tenantId: z.ZodUUID;
3351
+ projectId: z.ZodUUID;
3352
+ productionId: z.ZodUUID;
3353
+ runtimeJobId: z.ZodUUID;
3354
+ attemptId: typeof LocalIdSchema;
3355
+ assignmentRevision: typeof LocalRevisionSchema;
1028
3356
  workerId: z.ZodString;
1029
- workFingerprint: z.ZodString;
1030
- toolchainFingerprint: z.ZodString;
3357
+ workFingerprint: typeof import("./common.js").LocalDigestSchema;
3358
+ toolchainFingerprint: typeof import("./common.js").LocalDigestSchema;
1031
3359
  }, z.core.$strict>;
1032
3360
  revision: z.ZodInt;
1033
3361
  phase: z.ZodEnum<{
1034
3362
  RUNNING: "RUNNING";
1035
3363
  RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
3364
+ FENCED: "FENCED";
1036
3365
  STAGED: "STAGED";
1037
3366
  OUTPUT_PENDING: "OUTPUT_PENDING";
1038
3367
  RECEIPT_RECORDED: "RECEIPT_RECORDED";
1039
- FENCED: "FENCED";
1040
3368
  }>;
1041
3369
  checkpoint: z.ZodEnum<{
1042
3370
  ADOPTED: "ADOPTED";
@@ -1044,6 +3372,26 @@ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
1044
3372
  PROCESS_STARTED: "PROCESS_STARTED";
1045
3373
  OUTPUT_STAGED: "OUTPUT_STAGED";
1046
3374
  }>;
3375
+ progress: z.ZodOptional<z.ZodObject<{
3376
+ stage: z.ZodEnum<{
3377
+ WAITING: "WAITING";
3378
+ COMPLETE: "COMPLETE";
3379
+ RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
3380
+ DOWNLOADING: "DOWNLOADING";
3381
+ EXECUTING: "EXECUTING";
3382
+ UPLOADING: "UPLOADING";
3383
+ AWAITING_ACCEPTANCE: "AWAITING_ACCEPTANCE";
3384
+ FENCED: "FENCED";
3385
+ }>;
3386
+ downloadedBytes: z.ZodInt;
3387
+ sourceBytes: z.ZodInt;
3388
+ uploadedBytes: z.ZodInt;
3389
+ outputBytes: z.ZodInt;
3390
+ lastError: z.ZodNullable<z.ZodObject<{
3391
+ code: z.ZodString;
3392
+ observedAt: z.ZodISODateTime;
3393
+ }, z.core.$strict>>;
3394
+ }, z.core.$strict>>;
1047
3395
  }, z.core.$strict>>;
1048
3396
  nextCursor: z.ZodNullable<z.ZodString>;
1049
3397
  }, z.core.$strict>, z.ZodObject<{
@@ -1057,23 +3405,52 @@ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
1057
3405
  }>;
1058
3406
  grantFingerprint: z.ZodNullable<z.ZodString>;
1059
3407
  inference: z.ZodLiteral<"REMOTE_OPENAI">;
3408
+ }, z.core.$strict>, z.ZodObject<{
3409
+ candidate: z.ZodNullable<z.ZodObject<{
3410
+ binary: z.ZodString;
3411
+ binaryDigest: z.ZodString;
3412
+ version: z.ZodString;
3413
+ qualified: z.ZodBoolean;
3414
+ }, z.core.$strict>>;
3415
+ configured: z.ZodNullable<z.ZodObject<{
3416
+ protocol: z.ZodLiteral<"NVS_CODEX_REVIEW_GRANT_V1">;
3417
+ binary: z.ZodString;
3418
+ binaryDigest: z.ZodString;
3419
+ version: z.ZodEnum<{
3420
+ "0.164.0": "0.164.0";
3421
+ "0.165.0": "0.165.0";
3422
+ }>;
3423
+ model: z.ZodString;
3424
+ reasoningEffort: z.ZodOptional<z.ZodEnum<{
3425
+ medium: "medium";
3426
+ low: "low";
3427
+ high: "high";
3428
+ xhigh: "xhigh";
3429
+ }>>;
3430
+ reviewerLabel: z.ZodString;
3431
+ inference: z.ZodLiteral<"REMOTE_OPENAI">;
3432
+ remoteUseApproved: z.ZodLiteral<true>;
3433
+ imageDisclosureApproved: z.ZodOptional<z.ZodLiteral<true>>;
3434
+ mediaDisclosureApproved: z.ZodOptional<z.ZodLiteral<true>>;
3435
+ projects: z.ZodArray<z.ZodObject<{
3436
+ tenantId: z.ZodUUID;
3437
+ projectId: z.ZodUUID;
3438
+ }, z.core.$strict>>;
3439
+ expiresAt: z.ZodISODateTime;
3440
+ }, z.core.$strict>>;
1060
3441
  }, z.core.$strict>, z.ZodObject<{
1061
3442
  plan: z.ZodObject<{
1062
- protocol: z.ZodLiteral<"NVS_LOCAL_AGENT_REVIEW_V1">;
3443
+ protocol: z.ZodEnum<{
3444
+ NVS_LOCAL_AGENT_REVIEW_V1: "NVS_LOCAL_AGENT_REVIEW_V1";
3445
+ NVS_LOCAL_AGENT_REVIEW_V2: "NVS_LOCAL_AGENT_REVIEW_V2";
3446
+ }>;
1063
3447
  id: z.ZodUUID;
1064
3448
  grantFingerprint: z.ZodString;
1065
3449
  snapshot: z.ZodObject<{
1066
3450
  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>;
3451
+ scope: typeof import("../director-proposal.js").DirectorScopeSchema;
3452
+ target: typeof import("../review-intelligence.js").ReviewIntelligenceTargetSchema;
1072
3453
  contextFingerprint: z.ZodString;
1073
- target: z.ZodObject<{
1074
- kind: z.ZodLiteral<"IMAGE">;
1075
- generationId: z.ZodUUID;
1076
- }, z.core.$strict>;
1077
3454
  }, z.core.$strict>;
1078
3455
  productionRevision: z.ZodInt;
1079
3456
  reviewVersion: z.ZodInt;
@@ -1086,15 +3463,124 @@ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
1086
3463
  representationId: z.ZodUUID;
1087
3464
  checksumSha256: z.ZodString;
1088
3465
  }, z.core.$strict>;
1089
- requirements: z.ZodArray<z.ZodObject<{
3466
+ requirements: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
3467
+ intentPath: z.ZodOptional<z.ZodString>;
3468
+ key: z.ZodString;
3469
+ expected: z.ZodString;
3470
+ enforcement: z.ZodEnum<{
3471
+ LOCKED: "LOCKED";
3472
+ REQUIRED: "REQUIRED";
3473
+ PREFERRED: "PREFERRED";
3474
+ }>;
3475
+ }, z.core.$strict>, z.ZodObject<{
1090
3476
  intentPath: z.ZodOptional<z.ZodString>;
3477
+ continuity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
3478
+ kind: z.ZodLiteral<"STATE">;
3479
+ mode: z.ZodEnum<{
3480
+ PRESERVE: "PRESERVE";
3481
+ PLANNED_TRANSITIONS: "PLANNED_TRANSITIONS";
3482
+ }>;
3483
+ entry: z.ZodString;
3484
+ exit: z.ZodString;
3485
+ changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
3486
+ atPermille: z.ZodInt;
3487
+ from: z.ZodString;
3488
+ to: z.ZodString;
3489
+ reason: z.ZodString;
3490
+ }, z.core.$strict>>>;
3491
+ }, z.core.$strict>, z.ZodObject<{
3492
+ kind: z.ZodLiteral<"TIME">;
3493
+ mode: z.ZodEnum<{
3494
+ MONOTONIC: "MONOTONIC";
3495
+ PLANNED_JUMPS: "PLANNED_JUMPS";
3496
+ }>;
3497
+ entryMs: z.ZodInt;
3498
+ exitMs: z.ZodInt;
3499
+ jumps: z.ZodOptional<z.ZodArray<z.ZodObject<{
3500
+ atPermille: z.ZodInt;
3501
+ fromMs: z.ZodInt;
3502
+ toMs: z.ZodInt;
3503
+ reason: z.ZodString;
3504
+ }, z.core.$strict>>>;
3505
+ }, z.core.$strict>], "kind">>;
3506
+ interval: z.ZodOptional<z.ZodObject<{
3507
+ startMs: z.ZodInt;
3508
+ endMs: z.ZodInt;
3509
+ }, z.core.$strict>>;
1091
3510
  key: z.ZodString;
3511
+ family: z.ZodEnum<{
3512
+ PRODUCT_IDENTITY: "PRODUCT_IDENTITY";
3513
+ CHARACTER_IDENTITY: "CHARACTER_IDENTITY";
3514
+ WARDROBE: "WARDROBE";
3515
+ LOCATION: "LOCATION";
3516
+ STYLE: "STYLE";
3517
+ SHOT_INTENT: "SHOT_INTENT";
3518
+ BOUNDARY_CONTINUITY: "BOUNDARY_CONTINUITY";
3519
+ SOUND: "SOUND";
3520
+ }>;
3521
+ expected: z.ZodString;
3522
+ enforcement: z.ZodEnum<{
3523
+ LOCKED: "LOCKED";
3524
+ REQUIRED: "REQUIRED";
3525
+ PREFERRED: "PREFERRED";
3526
+ }>;
3527
+ evidenceWindow: z.ZodEnum<{
3528
+ START: "START";
3529
+ END: "END";
3530
+ WHOLE_VIDEO: "WHOLE_VIDEO";
3531
+ TEMPORAL: "TEMPORAL";
3532
+ }>;
3533
+ }, z.core.$strict>, z.ZodObject<{
3534
+ continuity: z.ZodOptional<typeof import("../continuity-evaluation.js").ContinuityExpectationSchema>;
3535
+ consistencyScale: z.ZodOptional<typeof import("../continuity-evaluation.js").ConsistencyReviewScaleSchema>;
3536
+ consistencyFamily: z.ZodOptional<z.ZodEnum<{
3537
+ PRODUCT_IDENTITY: "PRODUCT_IDENTITY";
3538
+ CHARACTER_IDENTITY: "CHARACTER_IDENTITY";
3539
+ WARDROBE: "WARDROBE";
3540
+ LOCATION: "LOCATION";
3541
+ STYLE: "STYLE";
3542
+ BOUNDARY_CONTINUITY: "BOUNDARY_CONTINUITY";
3543
+ }>>;
3544
+ consistencySubject: z.ZodOptional<typeof import("../consistency-profile.js").ConsistencySubjectSchema>;
3545
+ consistencyReference: z.ZodOptional<typeof import("../consistency-profile.js").ConsistencyMasterReferenceSchema>;
3546
+ key: z.ZodString;
3547
+ dimension: z.ZodEnum<{
3548
+ PRODUCT_PRESENTATION: "PRODUCT_PRESENTATION";
3549
+ CANONICAL_FACT: "CANONICAL_FACT";
3550
+ NARRATIVE: "NARRATIVE";
3551
+ PACING: "PACING";
3552
+ REPETITION: "REPETITION";
3553
+ STYLE: "STYLE";
3554
+ TECHNICAL: "TECHNICAL";
3555
+ TRANSITION: "TRANSITION";
3556
+ }>;
1092
3557
  expected: z.ZodString;
1093
3558
  enforcement: z.ZodEnum<{
1094
3559
  LOCKED: "LOCKED";
1095
3560
  REQUIRED: "REQUIRED";
1096
3561
  PREFERRED: "PREFERRED";
1097
3562
  }>;
3563
+ scope: z.ZodEnum<{
3564
+ PRODUCTION: "PRODUCTION";
3565
+ TRANSITION: "TRANSITION";
3566
+ }>;
3567
+ interval: typeof import("../rough-cut-review.js").ReviewIntervalSchema;
3568
+ shotIds: z.ZodArray<z.ZodUUID>;
3569
+ }, z.core.$strict>]>>;
3570
+ evidence: z.ZodOptional<z.ZodObject<{
3571
+ profile: z.ZodLiteral<"NVS_AGENT_DERIVED_EVIDENCE_V1">;
3572
+ contentType: z.ZodEnum<{
3573
+ "image/png": "image/png";
3574
+ "image/jpeg": "image/jpeg";
3575
+ "image/webp": "image/webp";
3576
+ "video/mp4": "video/mp4";
3577
+ }>;
3578
+ byteSize: z.ZodInt;
3579
+ width: z.ZodInt;
3580
+ height: z.ZodInt;
3581
+ durationMs: z.ZodOptional<z.ZodInt>;
3582
+ frameRate: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>>;
3583
+ hasAudio: z.ZodOptional<z.ZodBoolean>;
1098
3584
  }, z.core.$strict>>;
1099
3585
  image: z.ZodOptional<z.ZodObject<{
1100
3586
  contentType: z.ZodLiteral<"image/png">;
@@ -1123,7 +3609,6 @@ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
1123
3609
  summary: z.ZodString;
1124
3610
  imageReadback: z.ZodString;
1125
3611
  observations: z.ZodArray<z.ZodObject<{
1126
- key: z.ZodString;
1127
3612
  status: z.ZodEnum<{
1128
3613
  SATISFIED: "SATISFIED";
1129
3614
  VIOLATED: "VIOLATED";
@@ -1135,6 +3620,7 @@ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
1135
3620
  UNCERTAIN: "UNCERTAIN";
1136
3621
  }>;
1137
3622
  observed: z.ZodString;
3623
+ key: z.ZodString;
1138
3624
  }, z.core.$strict>>;
1139
3625
  }, z.core.$strict>]>>;
1140
3626
  imageReceipt: z.ZodOptional<z.ZodObject<{
@@ -1150,8 +3636,38 @@ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
1150
3636
  width: z.ZodInt;
1151
3637
  height: z.ZodInt;
1152
3638
  }, z.core.$strict>>;
3639
+ evidenceReceipt: z.ZodOptional<z.ZodObject<{
3640
+ protocol: z.ZodLiteral<"NVS_AGENT_DERIVED_EVIDENCE_V1">;
3641
+ draftId: z.ZodUUID;
3642
+ media: z.ZodObject<{
3643
+ artifactId: z.ZodUUID;
3644
+ representationId: z.ZodUUID;
3645
+ checksumSha256: z.ZodString;
3646
+ }, z.core.$strict>;
3647
+ ffmpegDigest: z.ZodString;
3648
+ ffprobeDigest: z.ZodString;
3649
+ attachment: z.ZodObject<{
3650
+ checksumSha256: z.ZodString;
3651
+ byteSize: z.ZodInt;
3652
+ width: z.ZodInt;
3653
+ height: z.ZodInt;
3654
+ }, z.core.$strict>;
3655
+ timestampsMs: z.ZodArray<z.ZodNumber>;
3656
+ audio: z.ZodNullable<z.ZodObject<{
3657
+ sampleRateHz: z.ZodLiteral<48000>;
3658
+ channels: z.ZodLiteral<1>;
3659
+ samples: z.ZodInt;
3660
+ peak: z.ZodNumber;
3661
+ rms: z.ZodNumber;
3662
+ clippedSamples: z.ZodInt;
3663
+ }, z.core.$strict>>;
3664
+ limitations: z.ZodTuple<[z.ZodLiteral<"SAMPLED_FRAMES_ARE_NOT_FULL_PLAYBACK">, z.ZodLiteral<"AUDIO_STATISTICS_ARE_NOT_LISTENING_OR_TRANSCRIPTION">], null>;
3665
+ }, z.core.$strict>>;
1153
3666
  provenance: z.ZodObject<{
1154
- adapter: z.ZodLiteral<"CODEX_METADATA_V1">;
3667
+ adapter: z.ZodEnum<{
3668
+ CODEX_METADATA_V1: "CODEX_METADATA_V1";
3669
+ CODEX_MEDIA_V2: "CODEX_MEDIA_V2";
3670
+ }>;
1155
3671
  binaryDigest: z.ZodString;
1156
3672
  version: z.ZodEnum<{
1157
3673
  "0.164.0": "0.164.0";
@@ -1168,13 +3684,14 @@ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
1168
3684
  inference: z.ZodLiteral<"REMOTE_OPENAI">;
1169
3685
  evidence: z.ZodEnum<{
1170
3686
  IMAGE_PIXELS: "IMAGE_PIXELS";
3687
+ VIDEO_FRAMES: "VIDEO_FRAMES";
1171
3688
  METADATA_ONLY: "METADATA_ONLY";
1172
3689
  }>;
1173
3690
  }, z.core.$strict>;
1174
3691
  }, z.core.$strict>]>;
1175
3692
  }, z.core.$strict>, z.ZodObject<{
1176
3693
  protocol: z.ZodLiteral<"NVS_LOCAL_IPC_V1">;
1177
- requestId: z.ZodNullable<z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>>;
3694
+ requestId: z.ZodNullable<z.ZodUUID>;
1178
3695
  semanticStatus: z.ZodEnum<{
1179
3696
  INVALID_INPUT: "INVALID_INPUT";
1180
3697
  BLOCKED: "BLOCKED";
@@ -1190,12 +3707,23 @@ export declare const LocalIpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
1190
3707
  AUTHORIZATION_REQUIRED: "AUTHORIZATION_REQUIRED";
1191
3708
  FRAME_LIMIT: "FRAME_LIMIT";
1192
3709
  AGENT_APPROVAL_REQUIRED: "AGENT_APPROVAL_REQUIRED";
3710
+ AGENT_RUNTIME_UNAVAILABLE: "AGENT_RUNTIME_UNAVAILABLE";
3711
+ AGENT_LOGIN_REQUIRED: "AGENT_LOGIN_REQUIRED";
3712
+ AGENT_VERSION_UNQUALIFIED: "AGENT_VERSION_UNQUALIFIED";
1193
3713
  AGENT_GRANT_REQUIRED: "AGENT_GRANT_REQUIRED";
1194
3714
  AGENT_OUTCOME_UNKNOWN: "AGENT_OUTCOME_UNKNOWN";
1195
3715
  AGENT_IMAGE_REQUIRED: "AGENT_IMAGE_REQUIRED";
1196
3716
  AGENT_IMAGE_INVALID: "AGENT_IMAGE_INVALID";
1197
3717
  AGENT_IMAGE_BUDGET_EXCEEDED: "AGENT_IMAGE_BUDGET_EXCEEDED";
1198
3718
  AGENT_IMAGE_AUTHORIZATION_REQUIRED: "AGENT_IMAGE_AUTHORIZATION_REQUIRED";
3719
+ CACHE_QUOTA_EXCEEDED: "CACHE_QUOTA_EXCEEDED";
3720
+ LIBRARY_NOT_FOUND: "LIBRARY_NOT_FOUND";
3721
+ LIBRARY_CONFLICT: "LIBRARY_CONFLICT";
3722
+ LIBRARY_BYTES_INVALID: "LIBRARY_BYTES_INVALID";
3723
+ LIBRARY_ACCESS_DENIED: "LIBRARY_ACCESS_DENIED";
3724
+ LIBRARY_SYNC_REQUIRED: "LIBRARY_SYNC_REQUIRED";
3725
+ LIBRARY_SYNC_UNAVAILABLE: "LIBRARY_SYNC_UNAVAILABLE";
3726
+ LIBRARY_QUOTA_EXCEEDED: "LIBRARY_QUOTA_EXCEEDED";
1199
3727
  }>;
1200
3728
  }, z.core.$strict>;
1201
3729
  }, z.core.$strict>], "semanticStatus">;