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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (282) hide show
  1. package/COMPATIBILITY.json +4 -4
  2. package/LICENSE +201 -21
  3. package/dist/_chunks/chunk-2QDPFLIO.js +1 -0
  4. package/dist/_chunks/chunk-7DXSLHXW.js +1 -0
  5. package/dist/_chunks/chunk-AFUVP2DC.js +1 -0
  6. package/dist/_chunks/chunk-ASUZJSEP.js +1 -0
  7. package/dist/_chunks/chunk-K3TIFCD3.js +1 -0
  8. package/dist/_chunks/chunk-NNDKZ5H5.js +1 -0
  9. package/dist/_chunks/chunk-Q53Q74OP.js +1 -0
  10. package/dist/_chunks/chunk-QVP4AMRJ.js +1 -0
  11. package/dist/_chunks/chunk-TT7IA5HB.js +1 -0
  12. package/dist/_chunks/chunk-UKPD77FB.js +1 -0
  13. package/dist/_chunks/chunk-V636KA7B.js +1 -0
  14. package/dist/_chunks/chunk-VXBIT7XN.js +1 -0
  15. package/dist/_chunks/chunk-WNXKJRZ6.js +1 -0
  16. package/dist/_types/contracts/agent-execution-lifecycle.d.ts +55 -43
  17. package/dist/_types/contracts/agent-execution-oauth.d.ts +2 -2
  18. package/dist/_types/contracts/agent-execution-registration.d.ts +59 -15
  19. package/dist/_types/contracts/agent-execution-selection.d.ts +7 -7
  20. package/dist/_types/contracts/agent-host-contract.d.ts +189 -0
  21. package/dist/_types/contracts/agent-host-execution.d.ts +92 -61
  22. package/dist/_types/contracts/agent-host-generic-transport.d.ts +4 -4
  23. package/dist/_types/contracts/agent-host-legacy-release.d.ts +31 -0
  24. package/dist/_types/contracts/agent-host-protocol.d.ts +71 -0
  25. package/dist/_types/contracts/agent-host-wire.d.ts +263 -0
  26. package/dist/_types/contracts/agent-host.d.ts +126 -65
  27. package/dist/_types/contracts/artifact-discovery.d.ts +143 -11
  28. package/dist/_types/contracts/audio.d.ts +166 -0
  29. package/dist/_types/contracts/component-status.d.ts +241 -0
  30. package/dist/_types/contracts/composition-authoring.d.ts +8 -8
  31. package/dist/_types/contracts/composition-frame-render.d.ts +4 -4
  32. package/dist/_types/contracts/composition-observation.d.ts +1 -1
  33. package/dist/_types/contracts/composition-render-base.d.ts +5 -4
  34. package/dist/_types/contracts/composition-render.d.ts +8 -8
  35. package/dist/_types/contracts/composition-repair.d.ts +10 -10
  36. package/dist/_types/contracts/composition-source-review.d.ts +13 -13
  37. package/dist/_types/contracts/consistency-profile.d.ts +102 -6
  38. package/dist/_types/contracts/continuity-evaluation.d.ts +1 -1
  39. package/dist/_types/contracts/delivery-completion.d.ts +1 -1
  40. package/dist/_types/contracts/delivery-manifest.d.ts +25 -11729
  41. package/dist/_types/contracts/delivery-operations.d.ts +207 -3915
  42. package/dist/_types/contracts/delivery-summary.d.ts +4 -4
  43. package/dist/_types/contracts/delivery-validation.d.ts +25 -2
  44. package/dist/_types/contracts/device-onboarding.d.ts +35 -0
  45. package/dist/_types/contracts/device-render.d.ts +113 -0
  46. package/dist/_types/contracts/editor-intelligence.d.ts +392 -2531
  47. package/dist/_types/contracts/enterprise-brand.d.ts +302 -0
  48. package/dist/_types/contracts/exploration-recommendation.d.ts +263 -11607
  49. package/dist/_types/contracts/external-agent-access.d.ts +4 -6
  50. package/dist/_types/contracts/federation-event-link-receiver.d.ts +200 -0
  51. package/dist/_types/contracts/federation-event-link.d.ts +485 -0
  52. package/dist/_types/contracts/federation-result.d.ts +239 -0
  53. package/dist/_types/contracts/final-ready.d.ts +24 -24
  54. package/dist/_types/contracts/final-render.d.ts +1742 -6949
  55. package/dist/_types/contracts/human-identity.d.ts +13 -0
  56. package/dist/_types/contracts/human-links.d.ts +58 -0
  57. package/dist/_types/contracts/index.d.ts +26 -0
  58. package/dist/_types/contracts/interface/common.d.ts +18 -0
  59. package/dist/_types/contracts/interface/execution-output.d.ts +9 -6
  60. package/dist/_types/contracts/interface/media-output.d.ts +118 -0
  61. package/dist/_types/contracts/interface/operation.d.ts +89 -0
  62. package/dist/_types/contracts/interface/production-snapshot.d.ts +106 -199
  63. package/dist/_types/contracts/interface/query.d.ts +85 -0
  64. package/dist/_types/contracts/keyframe-generation.d.ts +31 -2
  65. package/dist/_types/contracts/keyframe-review.d.ts +7 -7
  66. package/dist/_types/contracts/lifecycle-event-projections.d.ts +19 -4
  67. package/dist/_types/contracts/lifecycle-events.d.ts +54 -2
  68. package/dist/_types/contracts/local-execution/agent-component-status.d.ts +109 -0
  69. package/dist/_types/contracts/local-execution/agent-context.d.ts +385 -0
  70. package/dist/_types/contracts/local-execution/agent-evidence.d.ts +79 -0
  71. package/dist/_types/contracts/local-execution/agent-grant.d.ts +31 -0
  72. package/dist/_types/contracts/local-execution/agent-review.d.ts +529 -71
  73. package/dist/_types/contracts/local-execution/audio-profile.d.ts +6 -0
  74. package/dist/_types/contracts/local-execution/common.d.ts +12 -11
  75. package/dist/_types/contracts/local-execution/completion.d.ts +41 -45
  76. package/dist/_types/contracts/local-execution/components.d.ts +45 -0
  77. package/dist/_types/contracts/local-execution/cpu-preparation.d.ts +46 -0
  78. package/dist/_types/contracts/local-execution/cpu-resources.d.ts +55 -0
  79. package/dist/_types/contracts/local-execution/cpu-speech-job.d.ts +70 -0
  80. package/dist/_types/contracts/local-execution/cpu-speech.d.ts +161 -0
  81. package/dist/_types/contracts/local-execution/descriptor.d.ts +38 -0
  82. package/dist/_types/contracts/local-execution/device-authority.d.ts +31 -0
  83. package/dist/_types/contracts/local-execution/device-inventory.d.ts +108 -0
  84. package/dist/_types/contracts/local-execution/device-workspace.d.ts +11 -0
  85. package/dist/_types/contracts/local-execution/device.d.ts +24 -55
  86. package/dist/_types/contracts/local-execution/enrollment-credential.d.ts +141 -0
  87. package/dist/_types/contracts/local-execution/enrollment-handoff.d.ts +44 -0
  88. package/dist/_types/contracts/local-execution/external-generation.d.ts +199 -0
  89. package/dist/_types/contracts/local-execution/index.d.ts +36 -0
  90. package/dist/_types/contracts/local-execution/ipc.d.ts +2809 -231
  91. package/dist/_types/contracts/local-execution/library-command.d.ts +620 -0
  92. package/dist/_types/contracts/local-execution/library-result.d.ts +428 -0
  93. package/dist/_types/contracts/local-execution/library.d.ts +873 -0
  94. package/dist/_types/contracts/local-execution/lifecycle.d.ts +262 -48
  95. package/dist/_types/contracts/local-execution/local-navigation.d.ts +304 -67
  96. package/dist/_types/contracts/local-execution/management.d.ts +407 -0
  97. package/dist/_types/contracts/local-execution/media-recipe.d.ts +207 -0
  98. package/dist/_types/contracts/local-execution/media-validation-request.d.ts +232 -0
  99. package/dist/_types/contracts/local-execution/media-validation.d.ts +262 -0
  100. package/dist/_types/contracts/local-execution/object-transfer.d.ts +155 -0
  101. package/dist/_types/contracts/local-execution/offline.d.ts +59 -0
  102. package/dist/_types/contracts/local-execution/preview.d.ts +177 -3561
  103. package/dist/_types/contracts/local-execution/processor-capability.d.ts +49 -0
  104. package/dist/_types/contracts/local-execution/processor-direct.d.ts +290 -0
  105. package/dist/_types/contracts/local-execution/processor-recipes.d.ts +1194 -0
  106. package/dist/_types/contracts/local-execution/processor-toolchain.d.ts +47 -0
  107. package/dist/_types/contracts/local-execution/processor.d.ts +6424 -0
  108. package/dist/_types/contracts/local-execution/project-source-direct.d.ts +201 -0
  109. package/dist/_types/contracts/local-execution/qwen-tts.d.ts +31 -0
  110. package/dist/_types/contracts/local-execution/recognition.d.ts +170 -0
  111. package/dist/_types/contracts/local-execution/speech.d.ts +95 -0
  112. package/dist/_types/contracts/local-execution/tool-selection.d.ts +71 -5
  113. package/dist/_types/contracts/local-execution/whisper.d.ts +24 -0
  114. package/dist/_types/contracts/local-execution/work.d.ts +124 -3402
  115. package/dist/_types/contracts/local-execution/workspace.d.ts +141 -0
  116. package/dist/_types/contracts/mcp-capabilities.d.ts +16 -0
  117. package/dist/_types/contracts/media-category.d.ts +11 -0
  118. package/dist/_types/contracts/media-observation.d.ts +930 -9
  119. package/dist/_types/contracts/native-speech-model.d.ts +53 -0
  120. package/dist/_types/contracts/native-speech-options.d.ts +25 -0
  121. package/dist/_types/contracts/native-tool-authority.d.ts +25 -21
  122. package/dist/_types/contracts/native-tool-execution.d.ts +60 -39
  123. package/dist/_types/contracts/navigation-context.d.ts +76 -8
  124. package/dist/_types/contracts/navigation-groups.d.ts +2 -2
  125. package/dist/_types/contracts/navigation.d.ts +79 -26
  126. package/dist/_types/contracts/observation-profile.d.ts +3 -3
  127. package/dist/_types/contracts/production-creation.d.ts +30 -0
  128. package/dist/_types/contracts/production-feedback.d.ts +452 -0
  129. package/dist/_types/contracts/production.d.ts +30 -0
  130. package/dist/_types/contracts/programmatic-composition.d.ts +24 -24
  131. package/dist/_types/contracts/programmatic-exploration.d.ts +362 -5999
  132. package/dist/_types/contracts/programmatic-video-review.d.ts +5 -5
  133. package/dist/_types/contracts/project-library.d.ts +30 -0
  134. package/dist/_types/contracts/project.d.ts +30 -0
  135. package/dist/_types/contracts/provider-catalog.d.ts +3 -3
  136. package/dist/_types/contracts/provider-models.d.ts +209 -8
  137. package/dist/_types/contracts/provider.d.ts +66 -1
  138. package/dist/_types/contracts/reference-preview.d.ts +20 -0
  139. package/dist/_types/contracts/render-readiness.d.ts +175 -0
  140. package/dist/_types/contracts/repair-lifecycle.d.ts +64 -396
  141. package/dist/_types/contracts/repair-plan.d.ts +18 -100
  142. package/dist/_types/contracts/repair-strategy.d.ts +163 -4478
  143. package/dist/_types/contracts/review-intelligence-final-output.d.ts +418 -8150
  144. package/dist/_types/contracts/review-intelligence.d.ts +455 -11423
  145. package/dist/_types/contracts/review1-repair-source.d.ts +6 -6
  146. package/dist/_types/contracts/review1-repair-strategy.d.ts +4 -4
  147. package/dist/_types/contracts/rough-cut-manifest.d.ts +27 -7
  148. package/dist/_types/contracts/rough-cut-profile.d.ts +12 -3
  149. package/dist/_types/contracts/rough-cut-review.d.ts +144 -12495
  150. package/dist/_types/contracts/rough-cut.d.ts +1170 -5673
  151. package/dist/_types/contracts/series-canon.d.ts +97 -0
  152. package/dist/_types/contracts/series-character.d.ts +23 -0
  153. package/dist/_types/contracts/series-improvement.d.ts +1639 -0
  154. package/dist/_types/contracts/series-standard.d.ts +1641 -0
  155. package/dist/_types/contracts/shares.d.ts +135 -0
  156. package/dist/_types/contracts/shot-preparation-basis.d.ts +2 -2
  157. package/dist/_types/contracts/shot-preparation.d.ts +4 -4
  158. package/dist/_types/contracts/sound-making-plan.d.ts +210 -2
  159. package/dist/_types/contracts/speech-cost.d.ts +96 -0
  160. package/dist/_types/contracts/speech-parameters.d.ts +39 -0
  161. package/dist/_types/contracts/speech.d.ts +603 -23
  162. package/dist/_types/contracts/temporal-evidence-operation.d.ts +2 -1
  163. package/dist/_types/contracts/timeline-audio.d.ts +20 -4
  164. package/dist/_types/contracts/timeline-manifest.d.ts +40 -8
  165. package/dist/_types/contracts/timeline-source-sound.d.ts +42 -4
  166. package/dist/_types/contracts/timeline-v2.d.ts +124 -16
  167. package/dist/_types/contracts/timeline-version-reader.d.ts +288 -40
  168. package/dist/_types/contracts/timeline-visual-layers.d.ts +124 -16
  169. package/dist/_types/contracts/timeline.d.ts +50 -4850
  170. package/dist/_types/contracts/transcription.d.ts +1 -1
  171. package/dist/_types/contracts/video-generation.d.ts +35 -2
  172. package/dist/_types/contracts/video-review.d.ts +7 -7
  173. package/dist/_types/contracts/visual-exploration.d.ts +3 -3
  174. package/dist/_types/contracts/visual-layer-render.d.ts +298 -47
  175. package/dist/_types/contracts/visual-sequence.d.ts +22 -0
  176. package/dist/_types/contracts/voice-consistency.d.ts +183 -0
  177. package/dist/_types/contracts/voice-profile/contracts.d.ts +821 -0
  178. package/dist/_types/contracts/voice-profile/identity.d.ts +27 -0
  179. package/dist/_types/contracts/voice-profile/interface.d.ts +89 -0
  180. package/dist/_types/contracts/voice-profile/reference.d.ts +106 -0
  181. package/dist/_types/contracts/voice-review.d.ts +1194 -0
  182. package/dist/_types/contracts/workspace.d.ts +83 -0
  183. package/dist/_types/sdk/account.d.ts +13 -0
  184. package/dist/_types/sdk/auxiliary-media.d.ts +1 -0
  185. package/dist/_types/sdk/catalog/agent-host-execution.d.ts +324 -112
  186. package/dist/_types/sdk/catalog/agent-host.d.ts +222 -70
  187. package/dist/_types/sdk/catalog/assembly.d.ts +26 -37628
  188. package/dist/_types/sdk/catalog/audio-caption.d.ts +126 -22
  189. package/dist/_types/sdk/catalog/canonical-repair.d.ts +132 -132
  190. package/dist/_types/sdk/catalog/carriers.d.ts +59 -0
  191. package/dist/_types/sdk/catalog/composition-source.d.ts +14 -14
  192. package/dist/_types/sdk/catalog/composition.d.ts +17 -2813
  193. package/dist/_types/sdk/catalog/core.d.ts +636 -18
  194. package/dist/_types/sdk/catalog/delivery.d.ts +12 -14167
  195. package/dist/_types/sdk/catalog/device-library.d.ts +1024 -0
  196. package/dist/_types/sdk/catalog/device-management.d.ts +921 -0
  197. package/dist/_types/sdk/catalog/discovery.d.ts +38 -4
  198. package/dist/_types/sdk/catalog/editor.d.ts +23 -6538
  199. package/dist/_types/sdk/catalog/enterprise-brand.d.ts +462 -0
  200. package/dist/_types/sdk/catalog/federation.d.ts +4164 -0
  201. package/dist/_types/sdk/catalog/generation.d.ts +284 -8
  202. package/dist/_types/sdk/catalog/imported-visual.d.ts +246 -816
  203. package/dist/_types/sdk/catalog/keyframe-review.d.ts +10 -10
  204. package/dist/_types/sdk/catalog/lifecycle-events.d.ts +442 -16
  205. package/dist/_types/sdk/catalog/mcp.d.ts +115 -7
  206. package/dist/_types/sdk/catalog/media-descriptors.d.ts +214 -11
  207. package/dist/_types/sdk/catalog/media-observation.d.ts +1031 -14
  208. package/dist/_types/sdk/catalog/native-tool-authority.d.ts +54 -24
  209. package/dist/_types/sdk/catalog/navigation.d.ts +379 -28
  210. package/dist/_types/sdk/catalog/planning-intelligence.d.ts +136 -8
  211. package/dist/_types/sdk/catalog/programmatic-exploration.d.ts +327 -9853
  212. package/dist/_types/sdk/catalog/programmatic-review.d.ts +8 -8
  213. package/dist/_types/sdk/catalog/provider.d.ts +394 -20
  214. package/dist/_types/sdk/catalog/reference-preview.d.ts +94 -30
  215. package/dist/_types/sdk/catalog/repair-strategy.d.ts +180 -8914
  216. package/dist/_types/sdk/catalog/reviewer.d.ts +276 -23131
  217. package/dist/_types/sdk/catalog/series-standard.d.ts +5402 -0
  218. package/dist/_types/sdk/catalog/shares.d.ts +305 -0
  219. package/dist/_types/sdk/catalog/shot-preparation.d.ts +51 -2972
  220. package/dist/_types/sdk/catalog/sound-making-plan.d.ts +6 -1776
  221. package/dist/_types/sdk/catalog/source-sync.d.ts +8 -498
  222. package/dist/_types/sdk/catalog/spec.d.ts +10 -2
  223. package/dist/_types/sdk/catalog/speech.d.ts +856 -4
  224. package/dist/_types/sdk/catalog/temporal-evidence.d.ts +4 -2
  225. package/dist/_types/sdk/catalog/video-review.d.ts +10 -10
  226. package/dist/_types/sdk/catalog/visual-exploration.d.ts +556 -440
  227. package/dist/_types/sdk/catalog/voice-profile.d.ts +1547 -0
  228. package/dist/_types/sdk/catalog/voice-review.d.ts +1125 -0
  229. package/dist/_types/sdk/client.d.ts +30 -3
  230. package/dist/_types/sdk/desktop-previews.d.ts +3 -3
  231. package/dist/_types/sdk/desktop-releases.d.ts +2 -2
  232. package/dist/_types/sdk/device-enrollment-handoff.d.ts +249 -0
  233. package/dist/_types/sdk/device-renders.d.ts +3751 -0
  234. package/dist/_types/sdk/direct-source.d.ts +147 -0
  235. package/dist/_types/sdk/errors.d.ts +9 -3
  236. package/dist/_types/sdk/federation-notice-result.d.ts +22 -0
  237. package/dist/_types/sdk/feedback-observer.d.ts +10 -0
  238. package/dist/_types/sdk/host-protocol.d.ts +8 -0
  239. package/dist/_types/sdk/image-media.d.ts +2 -2
  240. package/dist/_types/sdk/immutable-media.d.ts +24 -0
  241. package/dist/_types/sdk/index.d.ts +16 -1
  242. package/dist/_types/sdk/local-runtime/components.d.ts +2 -0
  243. package/dist/_types/sdk/local-runtime/device-client.d.ts +181 -19
  244. package/dist/_types/sdk/local-runtime/library.d.ts +268 -0
  245. package/dist/_types/sdk/local-runtime/workspace.d.ts +186 -0
  246. package/dist/_types/sdk/local-runtime-client.d.ts +1934 -96
  247. package/dist/_types/sdk/mcp-client.d.ts +13 -5
  248. package/dist/_types/sdk/mcp-discovery.d.ts +14 -0
  249. package/dist/_types/sdk/mcp-image.d.ts +4 -4
  250. package/dist/_types/sdk/mcp-port.d.ts +73 -0
  251. package/dist/_types/sdk/media.d.ts +11 -9
  252. package/dist/_types/sdk/navigation-client.d.ts +56 -122
  253. package/dist/_types/sdk/navigation-facade.d.ts +191 -17
  254. package/dist/_types/sdk/observe.d.ts +31 -0
  255. package/dist/_types/sdk/runtime-authority.d.ts +18 -8
  256. package/dist/_types/sdk/transport/http.d.ts +2 -0
  257. package/dist/_types/sdk/webhook-receiver.d.ts +38 -0
  258. package/dist/account.js +1 -1
  259. package/dist/errors.js +1 -1
  260. package/dist/host-protocol.d.ts +1 -0
  261. package/dist/host-protocol.js +1 -0
  262. package/dist/index.d.ts +2 -2
  263. package/dist/index.js +1 -1
  264. package/dist/local-runtime.js +1 -1
  265. package/dist/mcp-discovery.d.ts +1 -0
  266. package/dist/mcp-discovery.js +1 -0
  267. package/dist/native/helper.exe +0 -0
  268. package/dist/native/helper.json +1 -0
  269. package/dist/runtime-authority.js +1 -1
  270. package/package.json +10 -8
  271. package/README.md +0 -75
  272. package/dist/_chunks/chunk-34KSWLCI.js +0 -1
  273. package/dist/_chunks/chunk-4IOFVNFG.js +0 -1
  274. package/dist/_chunks/chunk-4M3AGNTZ.js +0 -1
  275. package/dist/_chunks/chunk-6NVIN2NI.js +0 -1
  276. package/dist/_chunks/chunk-7YCEMDNZ.js +0 -1
  277. package/dist/native/Bootstrap.ps1 +0 -90
  278. package/dist/native/JobNative.cs +0 -127
  279. package/dist/native/JobRunner.cs +0 -360
  280. package/dist/native/NativeMain.cs +0 -146
  281. package/dist/native/PipeBridge.cs +0 -260
  282. package/dist/native/PrivateAccess.cs +0 -152
@@ -1,28 +1,33 @@
1
+ import { NativeStudioLocalWorkspaceClient } from "./local-runtime/workspace.js";
2
+ import { NativeStudioLocalLibraryClient } from "./local-runtime/library.js";
1
3
  import { type LocalIpcRequest, type LocalWorkScope } from "../contracts/local-execution/index.js";
2
4
  import { type LocalAgentSnapshot } from "../contracts/local-execution/index.js";
5
+ export { DeviceEnrollmentReceiptSchema, deviceEnrollmentSigningInput, AgentComponentScopeSchema, AgentComponentStatusSchema, LocalRuntimeStatusSchema, type AgentComponentScope, type AgentComponentStatus, } from "../contracts/local-execution/index.js";
3
6
  export declare class NativeStudioLocalRuntimeClient {
4
7
  readonly options: {
5
8
  stateDirectory: string;
6
9
  authorization: () => Promise<string> | string;
7
10
  timeoutMs?: number;
8
- projects?: {
11
+ device?: {
9
12
  tenantId: string;
10
- projectId: string;
11
- }[];
13
+ deviceId: string;
14
+ };
12
15
  };
16
+ readonly workspace: NativeStudioLocalWorkspaceClient;
17
+ readonly library: NativeStudioLocalLibraryClient;
13
18
  constructor(options: {
14
19
  stateDirectory: string;
15
20
  authorization: () => Promise<string> | string;
16
21
  timeoutMs?: number;
17
- projects?: {
22
+ device?: {
18
23
  tenantId: string;
19
- projectId: string;
20
- }[];
24
+ deviceId: string;
25
+ };
21
26
  });
22
27
  static fromConnector(path: string): Promise<NativeStudioLocalRuntimeClient>;
23
28
  call(call: LocalIpcRequest["call"], signal?: AbortSignal): Promise<{
24
29
  plan: {
25
- protocol: "NVS_LOCAL_AGENT_REVIEW_V1";
30
+ protocol: "NVS_LOCAL_AGENT_REVIEW_V1" | "NVS_LOCAL_AGENT_REVIEW_V2";
26
31
  id: string;
27
32
  grantFingerprint: string;
28
33
  snapshot: {
@@ -32,11 +37,20 @@ export declare class NativeStudioLocalRuntimeClient {
32
37
  projectId: string & import("zod").$brand<"ProjectId">;
33
38
  productionId: string & import("zod").$brand<"ProductionId">;
34
39
  };
35
- contextFingerprint: string;
36
40
  target: {
37
41
  kind: "IMAGE";
38
42
  generationId: string;
43
+ } | {
44
+ kind: "VIDEO";
45
+ generationId: string;
46
+ } | {
47
+ kind: "ROUGH_CUT";
48
+ renderId: string;
49
+ } | {
50
+ kind: "PROGRAMMATIC";
51
+ renderId: string;
39
52
  };
53
+ contextFingerprint: string;
40
54
  };
41
55
  productionRevision: number;
42
56
  reviewVersion: number;
@@ -46,12 +60,135 @@ export declare class NativeStudioLocalRuntimeClient {
46
60
  representationId: string;
47
61
  checksumSha256: string;
48
62
  };
49
- requirements: {
63
+ requirements: ({
64
+ key: string;
65
+ dimension: "TRANSITION" | "STYLE" | "PRODUCT_PRESENTATION" | "CANONICAL_FACT" | "NARRATIVE" | "PACING" | "REPETITION" | "TECHNICAL";
66
+ expected: string;
67
+ enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
68
+ scope: "PRODUCTION" | "TRANSITION";
69
+ interval: {
70
+ startMs: number;
71
+ endMs: number;
72
+ };
73
+ shotIds: string[];
74
+ voiceIdentity?: {
75
+ qualified: boolean;
76
+ evidenceFingerprint: string;
77
+ listeningIntervals: {
78
+ startMs: number;
79
+ endMs: number;
80
+ }[];
81
+ sourceAudioVersionIds: string[];
82
+ reasons: ("TEST_ONLY" | "NO_SOURCE" | "VOICE_UNAVAILABLE" | "REFERENCE_CHANGED" | "AUDIO_UNAVAILABLE" | "IDENTITY_MISMATCH" | "NO_COMPARISON" | "COMPARISON_NOT_MATCHED" | "COMPARISON_STALE")[];
83
+ } | undefined;
84
+ continuity?: {
85
+ kind: "STATE";
86
+ mode: "PRESERVE" | "PLANNED_TRANSITIONS";
87
+ entry: string;
88
+ exit: string;
89
+ changes?: {
90
+ atPermille: number;
91
+ from: string;
92
+ to: string;
93
+ reason: string;
94
+ }[] | undefined;
95
+ } | {
96
+ kind: "TIME";
97
+ mode: "MONOTONIC" | "PLANNED_JUMPS";
98
+ entryMs: number;
99
+ exitMs: number;
100
+ jumps?: {
101
+ atPermille: number;
102
+ fromMs: number;
103
+ toMs: number;
104
+ reason: string;
105
+ }[] | undefined;
106
+ } | undefined;
107
+ consistencyScale?: "PRODUCTION" | "INTRA_SHOT" | "INTER_SHOT" | undefined;
108
+ consistencyFamily?: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "BOUNDARY_CONTINUITY" | "VOICE_IDENTITY" | undefined;
109
+ consistencySubject?: {
110
+ id: string;
111
+ kind: "CHARACTER" | "VOICE";
112
+ displayName: string;
113
+ facts: {
114
+ dimension: string;
115
+ value: string;
116
+ }[];
117
+ master: {
118
+ artifactId: string & import("zod").$brand<"ArtifactId">;
119
+ representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
120
+ checksumSha256: string;
121
+ artifactChecksumSha256: string;
122
+ contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
123
+ };
124
+ voiceExpectation?: {
125
+ voiceProfile: {
126
+ ownerSystem: string;
127
+ ownerTenantRef: string;
128
+ voiceProfileRef: string;
129
+ version: number;
130
+ digest: string;
131
+ };
132
+ referenceId: string;
133
+ } | undefined;
134
+ } | undefined;
135
+ consistencyReference?: {
136
+ artifactId: string & import("zod").$brand<"ArtifactId">;
137
+ representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
138
+ checksumSha256: string;
139
+ artifactChecksumSha256: string;
140
+ contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
141
+ } | undefined;
142
+ } | {
50
143
  key: string;
144
+ family: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "SHOT_INTENT" | "BOUNDARY_CONTINUITY" | "SOUND";
51
145
  expected: string;
52
146
  enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
147
+ evidenceWindow: "START" | "END" | "WHOLE_VIDEO" | "TEMPORAL";
53
148
  intentPath?: string | undefined;
54
- }[];
149
+ continuity?: {
150
+ kind: "STATE";
151
+ mode: "PRESERVE" | "PLANNED_TRANSITIONS";
152
+ entry: string;
153
+ exit: string;
154
+ changes?: {
155
+ atPermille: number;
156
+ from: string;
157
+ to: string;
158
+ reason: string;
159
+ }[] | undefined;
160
+ } | {
161
+ kind: "TIME";
162
+ mode: "MONOTONIC" | "PLANNED_JUMPS";
163
+ entryMs: number;
164
+ exitMs: number;
165
+ jumps?: {
166
+ atPermille: number;
167
+ fromMs: number;
168
+ toMs: number;
169
+ reason: string;
170
+ }[] | undefined;
171
+ } | undefined;
172
+ interval?: {
173
+ startMs: number;
174
+ endMs: number;
175
+ } | undefined;
176
+ } | {
177
+ key: string;
178
+ expected: string;
179
+ enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
180
+ intentPath?: string | undefined;
181
+ })[];
182
+ evidence?: {
183
+ profile: "NVS_AGENT_DERIVED_EVIDENCE_V1";
184
+ contentType: "image/png" | "image/jpeg" | "image/webp" | "video/mp4";
185
+ byteSize: number;
186
+ width: number;
187
+ height: number;
188
+ durationMs?: number | undefined;
189
+ frameRate?: 30 | 24 | undefined;
190
+ hasAudio?: boolean | undefined;
191
+ } | undefined;
55
192
  image?: {
56
193
  contentType: "image/png";
57
194
  byteSize: number;
@@ -74,20 +211,20 @@ export declare class NativeStudioLocalRuntimeClient {
74
211
  summary: string;
75
212
  imageReadback: string;
76
213
  observations: {
77
- key: string;
78
- status: "SATISFIED" | "VIOLATED" | "NOT_OBSERVABLE" | "NOT_APPLICABLE";
214
+ status: "NOT_APPLICABLE" | "SATISFIED" | "VIOLATED" | "NOT_OBSERVABLE";
79
215
  confidence: "CLEAR" | "UNCERTAIN";
80
216
  observed: string;
217
+ key: string;
81
218
  }[];
82
219
  } | null;
83
220
  provenance: {
84
- adapter: "CODEX_METADATA_V1";
221
+ adapter: "CODEX_METADATA_V1" | "CODEX_MEDIA_V2";
85
222
  binaryDigest: string;
86
223
  version: "0.164.0" | "0.165.0";
87
224
  model: string;
88
225
  reviewerLabel: string;
89
226
  inference: "REMOTE_OPENAI";
90
- evidence: "IMAGE_PIXELS" | "METADATA_ONLY";
227
+ evidence: "IMAGE_PIXELS" | "VIDEO_FRAMES" | "METADATA_ONLY";
91
228
  reasoningEffort?: "medium" | "low" | "high" | "xhigh" | undefined;
92
229
  };
93
230
  imageReceipt?: {
@@ -103,21 +240,106 @@ export declare class NativeStudioLocalRuntimeClient {
103
240
  width: number;
104
241
  height: number;
105
242
  } | undefined;
243
+ evidenceReceipt?: {
244
+ protocol: "NVS_AGENT_DERIVED_EVIDENCE_V1";
245
+ draftId: string;
246
+ media: {
247
+ artifactId: string;
248
+ representationId: string;
249
+ checksumSha256: string;
250
+ };
251
+ ffmpegDigest: string;
252
+ ffprobeDigest: string;
253
+ attachment: {
254
+ checksumSha256: string;
255
+ byteSize: number;
256
+ width: number;
257
+ height: number;
258
+ };
259
+ timestampsMs: number[];
260
+ audio: {
261
+ sampleRateHz: 48000;
262
+ channels: 1;
263
+ samples: number;
264
+ peak: number;
265
+ rms: number;
266
+ clippedSamples: number;
267
+ } | null;
268
+ limitations: ["SAMPLED_FRAMES_ARE_NOT_FULL_PLAYBACK", "AUDIO_STATISTICS_ARE_NOT_LISTENING_OR_TRANSCRIPTION"];
269
+ } | undefined;
270
+ } | {
271
+ reference: {
272
+ tenantId: string;
273
+ projectId: string;
274
+ fileId: string;
275
+ versionId: string;
276
+ checksumSha256: string;
277
+ byteSize: number;
278
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
279
+ deviceId: string;
280
+ };
281
+ ownerKey: string;
282
+ title: string;
283
+ createdAt: string;
284
+ revision: number;
285
+ access: {
286
+ state: "REJECTED" | "UNKNOWN" | "PENDING" | "LOCAL_ONLY" | "SYNCED";
287
+ desired: {
288
+ reference: {
289
+ tenantId: string;
290
+ projectId: string;
291
+ fileId: string;
292
+ versionId: string;
293
+ checksumSha256: string;
294
+ byteSize: number;
295
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
296
+ deviceId: string;
297
+ };
298
+ requestId: string;
299
+ expectedRevision: number;
300
+ metadata: {
301
+ label: string;
302
+ } | null;
303
+ allowInspect: boolean;
304
+ allowPublish: boolean;
305
+ expiresAt: string;
306
+ } | null;
307
+ confirmed: {
308
+ reference: {
309
+ tenantId: string;
310
+ projectId: string;
311
+ fileId: string;
312
+ versionId: string;
313
+ checksumSha256: string;
314
+ byteSize: number;
315
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
316
+ deviceId: string;
317
+ };
318
+ requestId: string;
319
+ expectedRevision: number;
320
+ metadata: {
321
+ label: string;
322
+ } | null;
323
+ allowInspect: boolean;
324
+ allowPublish: boolean;
325
+ expiresAt: string;
326
+ revision: number;
327
+ recordedAt: string;
328
+ } | null;
329
+ };
106
330
  } | {
107
331
  protocol: "NVS_LOCAL_CONNECTOR_V1";
108
332
  stateDirectory: string;
109
333
  credential: string;
110
334
  expiresAt: string;
111
- projects: {
112
- tenantId: string;
113
- projectId: string;
114
- }[];
335
+ tenantId: string;
336
+ deviceId: string;
115
337
  } | {
116
338
  protocol: "NVS_LOCAL_IPC_V1";
117
339
  runtimeRevision: number;
118
- state: "RECOVERY_REQUIRED" | "IDLE" | "EXECUTING" | "DRAINING";
340
+ state: "RECOVERY_REQUIRED" | "EXECUTING" | "DRAINING" | "IDLE";
119
341
  journalSchemaVersion: 1;
120
- workProtocols: "NVS_LOCAL_WORK_V1"[];
342
+ workProtocols: ("NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2")[];
121
343
  versions: {
122
344
  component: "CLI" | "SDK" | "MCP" | "RUNTIME" | "MEDIA_TOOLS";
123
345
  installedVersion: string | null;
@@ -126,12 +348,185 @@ export declare class NativeStudioLocalRuntimeClient {
126
348
  executablePath: string | null;
127
349
  installOwner: "UNKNOWN" | "PROJECT" | "MANAGED" | "NPM_GLOBAL" | "NPX" | "TARBALL";
128
350
  }[];
129
- authorizedProjects: {
130
- tenantId: string;
131
- projectId: string;
132
- }[];
133
351
  nextActions: {
134
352
  call: {
353
+ operation: "library.capability";
354
+ } | {
355
+ operation: "library.call";
356
+ input: {
357
+ tenantId: string;
358
+ after: string | null;
359
+ limit: number;
360
+ deviceId: string;
361
+ action: "list";
362
+ projectId?: string | undefined;
363
+ ownerKey?: string | undefined;
364
+ search?: string | undefined;
365
+ mediaCategory?: "IMAGE" | "VIDEO" | "AUDIO" | "DOCUMENT" | undefined;
366
+ } | {
367
+ reference: {
368
+ tenantId: string;
369
+ projectId: string;
370
+ fileId: string;
371
+ versionId: string;
372
+ checksumSha256: string;
373
+ byteSize: number;
374
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
375
+ deviceId: string;
376
+ };
377
+ action: "get";
378
+ ownerKey?: string | undefined;
379
+ } | {
380
+ tenantId: string;
381
+ limit: number;
382
+ after: string | null;
383
+ deviceId: string;
384
+ projectId: string;
385
+ action: "scoped-list";
386
+ search?: string | undefined;
387
+ mediaCategory?: "IMAGE" | "VIDEO" | "AUDIO" | "DOCUMENT" | undefined;
388
+ } | {
389
+ action: "scoped-get";
390
+ reference: {
391
+ tenantId: string;
392
+ projectId: string;
393
+ fileId: string;
394
+ versionId: string;
395
+ checksumSha256: string;
396
+ byteSize: number;
397
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
398
+ deviceId: string;
399
+ };
400
+ } | {
401
+ action: "usage";
402
+ ownerKey?: string | undefined;
403
+ } | {
404
+ reference: {
405
+ tenantId: string;
406
+ projectId: string;
407
+ fileId: string;
408
+ versionId: string;
409
+ checksumSha256: string;
410
+ byteSize: number;
411
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
412
+ deviceId: string;
413
+ };
414
+ offset: number;
415
+ length: number;
416
+ action: "read";
417
+ ownerKey?: string | undefined;
418
+ } | {
419
+ command: {
420
+ reference: {
421
+ tenantId: string;
422
+ projectId: string;
423
+ fileId: string;
424
+ versionId: string;
425
+ checksumSha256: string;
426
+ byteSize: number;
427
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
428
+ deviceId: string;
429
+ };
430
+ requestId: string;
431
+ expectedRevision: number;
432
+ metadata: {
433
+ label: string;
434
+ } | null;
435
+ allowInspect: boolean;
436
+ allowPublish: boolean;
437
+ expiresAt: string;
438
+ };
439
+ expectedLocalRevision: number;
440
+ action: "access";
441
+ ownerKey?: string | undefined;
442
+ } | {
443
+ reference: {
444
+ tenantId: string;
445
+ projectId: string;
446
+ fileId: string;
447
+ versionId: string;
448
+ checksumSha256: string;
449
+ byteSize: number;
450
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
451
+ deviceId: string;
452
+ };
453
+ requestId: string;
454
+ action: "sync";
455
+ ownerKey?: string | undefined;
456
+ } | {
457
+ reference: {
458
+ tenantId: string;
459
+ projectId: string;
460
+ fileId: string;
461
+ versionId: string;
462
+ checksumSha256: string;
463
+ byteSize: number;
464
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
465
+ deviceId: string;
466
+ };
467
+ requestId: string;
468
+ action: "resume-access";
469
+ ownerKey?: string | undefined;
470
+ } | {
471
+ tenantId: string;
472
+ projectId: string;
473
+ deviceId: string;
474
+ requestId: string;
475
+ action: "import-receipt";
476
+ ownerKey?: string | undefined;
477
+ };
478
+ } | {
479
+ operation: "agent.discover";
480
+ binary?: string | undefined;
481
+ } | {
482
+ operation: "offline.workspace";
483
+ input: {
484
+ action: "list" | "forget";
485
+ key: string;
486
+ } | {
487
+ action: "retain";
488
+ key: string;
489
+ snapshot: {
490
+ projectId: string;
491
+ title: string;
492
+ savedAt: string;
493
+ expiresAt: string;
494
+ productions: {
495
+ id: string;
496
+ title: string;
497
+ }[];
498
+ possiblyTruncated: boolean;
499
+ };
500
+ } | {
501
+ action: "draft";
502
+ key: string;
503
+ projectId: string;
504
+ text: string;
505
+ expectedRevision: number;
506
+ };
507
+ } | {
508
+ operation: "workspace.inspect";
509
+ } | {
510
+ operation: "workspace.configure";
511
+ policy: {
512
+ acceptNewWork: boolean;
513
+ mode: "CONTINUOUS" | "IDLE_ONLY";
514
+ idleAfterSeconds: number;
515
+ maxConcurrentJobs: number;
516
+ cpuCores: 2 | 1;
517
+ memoryMiB: number;
518
+ cacheQuotaBytes: number;
519
+ };
520
+ expectedRevision: number;
521
+ } | {
522
+ operation: "workspace.activity";
523
+ idleSeconds: number;
524
+ observedAt: string;
525
+ } | {
526
+ operation: "storage.clean";
527
+ } | {
528
+ operation: "diagnostics.read";
529
+ } | {
135
530
  operation: "agent.grant";
136
531
  grant: {
137
532
  protocol: "NVS_CODEX_REVIEW_GRANT_V1";
@@ -149,6 +544,7 @@ export declare class NativeStudioLocalRuntimeClient {
149
544
  expiresAt: string;
150
545
  reasoningEffort?: "medium" | "low" | "high" | "xhigh" | undefined;
151
546
  imageDisclosureApproved?: true | undefined;
547
+ mediaDisclosureApproved?: true | undefined;
152
548
  };
153
549
  approval: string;
154
550
  } | {
@@ -165,11 +561,20 @@ export declare class NativeStudioLocalRuntimeClient {
165
561
  projectId: string & import("zod").$brand<"ProjectId">;
166
562
  productionId: string & import("zod").$brand<"ProductionId">;
167
563
  };
168
- contextFingerprint: string;
169
564
  target: {
170
565
  kind: "IMAGE";
171
566
  generationId: string;
567
+ } | {
568
+ kind: "VIDEO";
569
+ generationId: string;
570
+ } | {
571
+ kind: "ROUGH_CUT";
572
+ renderId: string;
573
+ } | {
574
+ kind: "PROGRAMMATIC";
575
+ renderId: string;
172
576
  };
577
+ contextFingerprint: string;
173
578
  };
174
579
  productionRevision: number;
175
580
  reviewVersion: number;
@@ -179,12 +584,135 @@ export declare class NativeStudioLocalRuntimeClient {
179
584
  representationId: string;
180
585
  checksumSha256: string;
181
586
  };
182
- requirements: {
587
+ requirements: ({
183
588
  key: string;
589
+ dimension: "TRANSITION" | "STYLE" | "PRODUCT_PRESENTATION" | "CANONICAL_FACT" | "NARRATIVE" | "PACING" | "REPETITION" | "TECHNICAL";
184
590
  expected: string;
185
591
  enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
592
+ scope: "PRODUCTION" | "TRANSITION";
593
+ interval: {
594
+ startMs: number;
595
+ endMs: number;
596
+ };
597
+ shotIds: string[];
598
+ voiceIdentity?: {
599
+ qualified: boolean;
600
+ evidenceFingerprint: string;
601
+ listeningIntervals: {
602
+ startMs: number;
603
+ endMs: number;
604
+ }[];
605
+ sourceAudioVersionIds: string[];
606
+ reasons: ("TEST_ONLY" | "NO_SOURCE" | "VOICE_UNAVAILABLE" | "REFERENCE_CHANGED" | "AUDIO_UNAVAILABLE" | "IDENTITY_MISMATCH" | "NO_COMPARISON" | "COMPARISON_NOT_MATCHED" | "COMPARISON_STALE")[];
607
+ } | undefined;
608
+ continuity?: {
609
+ kind: "STATE";
610
+ mode: "PRESERVE" | "PLANNED_TRANSITIONS";
611
+ entry: string;
612
+ exit: string;
613
+ changes?: {
614
+ atPermille: number;
615
+ from: string;
616
+ to: string;
617
+ reason: string;
618
+ }[] | undefined;
619
+ } | {
620
+ kind: "TIME";
621
+ mode: "MONOTONIC" | "PLANNED_JUMPS";
622
+ entryMs: number;
623
+ exitMs: number;
624
+ jumps?: {
625
+ atPermille: number;
626
+ fromMs: number;
627
+ toMs: number;
628
+ reason: string;
629
+ }[] | undefined;
630
+ } | undefined;
631
+ consistencyScale?: "PRODUCTION" | "INTRA_SHOT" | "INTER_SHOT" | undefined;
632
+ consistencyFamily?: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "BOUNDARY_CONTINUITY" | "VOICE_IDENTITY" | undefined;
633
+ consistencySubject?: {
634
+ id: string;
635
+ kind: "CHARACTER" | "VOICE";
636
+ displayName: string;
637
+ facts: {
638
+ dimension: string;
639
+ value: string;
640
+ }[];
641
+ master: {
642
+ artifactId: string & import("zod").$brand<"ArtifactId">;
643
+ representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
644
+ checksumSha256: string;
645
+ artifactChecksumSha256: string;
646
+ contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
647
+ };
648
+ voiceExpectation?: {
649
+ voiceProfile: {
650
+ ownerSystem: string;
651
+ ownerTenantRef: string;
652
+ voiceProfileRef: string;
653
+ version: number;
654
+ digest: string;
655
+ };
656
+ referenceId: string;
657
+ } | undefined;
658
+ } | undefined;
659
+ consistencyReference?: {
660
+ artifactId: string & import("zod").$brand<"ArtifactId">;
661
+ representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
662
+ checksumSha256: string;
663
+ artifactChecksumSha256: string;
664
+ contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
665
+ } | undefined;
666
+ } | {
667
+ key: string;
668
+ family: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "SHOT_INTENT" | "BOUNDARY_CONTINUITY" | "SOUND";
669
+ expected: string;
670
+ enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
671
+ evidenceWindow: "START" | "END" | "WHOLE_VIDEO" | "TEMPORAL";
186
672
  intentPath?: string | undefined;
187
- }[];
673
+ continuity?: {
674
+ kind: "STATE";
675
+ mode: "PRESERVE" | "PLANNED_TRANSITIONS";
676
+ entry: string;
677
+ exit: string;
678
+ changes?: {
679
+ atPermille: number;
680
+ from: string;
681
+ to: string;
682
+ reason: string;
683
+ }[] | undefined;
684
+ } | {
685
+ kind: "TIME";
686
+ mode: "MONOTONIC" | "PLANNED_JUMPS";
687
+ entryMs: number;
688
+ exitMs: number;
689
+ jumps?: {
690
+ atPermille: number;
691
+ fromMs: number;
692
+ toMs: number;
693
+ reason: string;
694
+ }[] | undefined;
695
+ } | undefined;
696
+ interval?: {
697
+ startMs: number;
698
+ endMs: number;
699
+ } | undefined;
700
+ } | {
701
+ key: string;
702
+ expected: string;
703
+ enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
704
+ intentPath?: string | undefined;
705
+ })[];
706
+ evidence?: {
707
+ profile: "NVS_AGENT_DERIVED_EVIDENCE_V1";
708
+ contentType: "image/png" | "image/jpeg" | "image/webp" | "video/mp4";
709
+ byteSize: number;
710
+ width: number;
711
+ height: number;
712
+ durationMs?: number | undefined;
713
+ frameRate?: 30 | 24 | undefined;
714
+ hasAudio?: boolean | undefined;
715
+ } | undefined;
188
716
  image?: {
189
717
  contentType: "image/png";
190
718
  byteSize: number;
@@ -202,16 +730,15 @@ export declare class NativeStudioLocalRuntimeClient {
202
730
  id: string;
203
731
  } | {
204
732
  operation: "runtime.status";
733
+ includeDevice?: true | undefined;
205
734
  } | {
206
735
  operation: "runtime.doctor";
207
736
  } | {
208
737
  operation: "runtime.inventory";
209
738
  } | {
210
739
  operation: "session.issue";
211
- projects: {
212
- tenantId: string;
213
- projectId: string;
214
- }[];
740
+ tenantId: string;
741
+ deviceId: string;
215
742
  expiresAt: string;
216
743
  } | {
217
744
  operation: "runtime.stop";
@@ -223,6 +750,7 @@ export declare class NativeStudioLocalRuntimeClient {
223
750
  projectId: string;
224
751
  productionId: string;
225
752
  runtimeJobId: string;
753
+ includeProgress?: boolean | undefined;
226
754
  };
227
755
  } | {
228
756
  operation: "execution.list";
@@ -231,6 +759,8 @@ export declare class NativeStudioLocalRuntimeClient {
231
759
  projectId: string;
232
760
  after: string | null;
233
761
  limit: number;
762
+ includeCompleted?: boolean | undefined;
763
+ includeProgress?: boolean | undefined;
234
764
  };
235
765
  } | {
236
766
  operation: "update.check";
@@ -245,8 +775,25 @@ export declare class NativeStudioLocalRuntimeClient {
245
775
  expectedRuntimeRevision: number;
246
776
  };
247
777
  availability: "AVAILABLE" | "BLOCKED";
248
- reason: "READY" | "INSTALL_REQUIRED" | "AUTHORIZATION_REQUIRED" | "VERSION_INCOMPATIBLE" | "UPDATE_AVAILABLE" | "RECOVERY_REQUIRED";
778
+ reason: "READY" | "AUTHORIZATION_REQUIRED" | "INSTALL_REQUIRED" | "VERSION_INCOMPATIBLE" | "UPDATE_AVAILABLE" | "RECOVERY_REQUIRED";
249
779
  }[];
780
+ deviceAuthority?: {
781
+ tenantId: string;
782
+ deviceId: string;
783
+ origin: string;
784
+ } | undefined;
785
+ capabilityMismatch?: {
786
+ kind: "CAPABILITY_DEFINITION" | "MEDIA_PROFILE" | "RENDERER" | "VALIDATION_PROFILE" | "PROCESSOR_PROFILE" | "LOCAL_LIBRARY_PROFILE";
787
+ expectedVersion: string;
788
+ actualVersion: string;
789
+ recovery: "REDISCOVER_CAPABILITY" | "CHECK_DEVICE_RELEASE";
790
+ } | undefined;
791
+ deviceCapabilities?: {
792
+ deviceRevision: number;
793
+ tenantMediaValidation: boolean;
794
+ tenantMediaProcessing: boolean;
795
+ processorCapabilities: ("KEYFRAME_GENERATE" | "VIDEO_GENERATE" | "SPEECH_SYNTHESIZE" | "SPEECH_EXTERNAL_QWEN" | "TEMPORAL_SAMPLE" | "DELIVERY_VALIDATE" | "COMPOSITION_RENDER" | "IMPORTED_VISUAL_NORMALIZE" | "SOURCE_SYNC_AUDIO" | "IMPORT_ORIGINAL" | "LOCAL_MEDIA_INSPECT" | "LOCAL_MEDIA_PUBLISH" | "IMPORT_PROJECT_SOURCE" | "REGISTER_VISUAL_SEQUENCE" | "REFERENCE_PREVIEW" | "SPEECH_SYNTHESIZE_CPU" | "TRANSCRIBE_AUDIO" | "TRANSCRIBE_EXTERNAL_QWEN")[];
796
+ } | undefined;
250
797
  } | {
251
798
  binding: {
252
799
  tenantId: string;
@@ -260,14 +807,194 @@ export declare class NativeStudioLocalRuntimeClient {
260
807
  toolchainFingerprint: string;
261
808
  };
262
809
  revision: number;
263
- phase: "RUNNING" | "RECOVERY_REQUIRED" | "STAGED" | "OUTPUT_PENDING" | "RECEIPT_RECORDED" | "FENCED";
810
+ phase: "RUNNING" | "FENCED" | "RECOVERY_REQUIRED" | "STAGED" | "OUTPUT_PENDING" | "RECEIPT_RECORDED";
264
811
  checkpoint: "ADOPTED" | "SOURCES_READY" | "PROCESS_STARTED" | "OUTPUT_STAGED";
812
+ progress?: {
813
+ stage: "WAITING" | "COMPLETE" | "FENCED" | "RECOVERY_REQUIRED" | "DOWNLOADING" | "EXECUTING" | "UPLOADING" | "AWAITING_ACCEPTANCE";
814
+ downloadedBytes: number;
815
+ sourceBytes: number;
816
+ uploadedBytes: number;
817
+ outputBytes: number;
818
+ lastError: {
819
+ code: string;
820
+ observedAt: string;
821
+ } | null;
822
+ } | undefined;
823
+ } | {
824
+ items: {
825
+ reference: {
826
+ tenantId: string;
827
+ projectId: string;
828
+ fileId: string;
829
+ versionId: string;
830
+ checksumSha256: string;
831
+ byteSize: number;
832
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
833
+ deviceId: string;
834
+ };
835
+ metadata: {
836
+ label: string;
837
+ } | null;
838
+ accessRevision: number;
839
+ allowInspect: boolean;
840
+ allowPublish: boolean;
841
+ expiresAt: string;
842
+ }[];
843
+ nextCursor: string | null;
844
+ } | {
845
+ candidate: {
846
+ binary: string;
847
+ binaryDigest: string;
848
+ version: string;
849
+ qualified: boolean;
850
+ } | null;
851
+ configured: {
852
+ protocol: "NVS_CODEX_REVIEW_GRANT_V1";
853
+ binary: string;
854
+ binaryDigest: string;
855
+ version: "0.164.0" | "0.165.0";
856
+ model: string;
857
+ reviewerLabel: string;
858
+ inference: "REMOTE_OPENAI";
859
+ remoteUseApproved: true;
860
+ projects: {
861
+ tenantId: string;
862
+ projectId: string;
863
+ }[];
864
+ expiresAt: string;
865
+ reasoningEffort?: "medium" | "low" | "high" | "xhigh" | undefined;
866
+ imageDisclosureApproved?: true | undefined;
867
+ mediaDisclosureApproved?: true | undefined;
868
+ } | null;
265
869
  } | {
266
870
  configured: boolean;
267
871
  available: boolean;
268
872
  reason: "READY" | "GRANT_EXPIRED" | "GRANT_REQUIRED" | "RUNTIME_UNAVAILABLE";
269
873
  grantFingerprint: string | null;
270
874
  inference: "REMOTE_OPENAI";
875
+ } | {
876
+ historical: true;
877
+ items: {
878
+ snapshot: {
879
+ projectId: string;
880
+ title: string;
881
+ savedAt: string;
882
+ expiresAt: string;
883
+ productions: {
884
+ id: string;
885
+ title: string;
886
+ }[];
887
+ possiblyTruncated: boolean;
888
+ };
889
+ draft: {
890
+ text: string;
891
+ revision: number;
892
+ };
893
+ }[];
894
+ } | {
895
+ items: {
896
+ reference: {
897
+ tenantId: string;
898
+ projectId: string;
899
+ fileId: string;
900
+ versionId: string;
901
+ checksumSha256: string;
902
+ byteSize: number;
903
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
904
+ deviceId: string;
905
+ };
906
+ ownerKey: string;
907
+ title: string;
908
+ createdAt: string;
909
+ revision: number;
910
+ access: {
911
+ state: "REJECTED" | "UNKNOWN" | "PENDING" | "LOCAL_ONLY" | "SYNCED";
912
+ desired: {
913
+ reference: {
914
+ tenantId: string;
915
+ projectId: string;
916
+ fileId: string;
917
+ versionId: string;
918
+ checksumSha256: string;
919
+ byteSize: number;
920
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
921
+ deviceId: string;
922
+ };
923
+ requestId: string;
924
+ expectedRevision: number;
925
+ metadata: {
926
+ label: string;
927
+ } | null;
928
+ allowInspect: boolean;
929
+ allowPublish: boolean;
930
+ expiresAt: string;
931
+ } | null;
932
+ confirmed: {
933
+ reference: {
934
+ tenantId: string;
935
+ projectId: string;
936
+ fileId: string;
937
+ versionId: string;
938
+ checksumSha256: string;
939
+ byteSize: number;
940
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
941
+ deviceId: string;
942
+ };
943
+ requestId: string;
944
+ expectedRevision: number;
945
+ metadata: {
946
+ label: string;
947
+ } | null;
948
+ allowInspect: boolean;
949
+ allowPublish: boolean;
950
+ expiresAt: string;
951
+ revision: number;
952
+ recordedAt: string;
953
+ } | null;
954
+ };
955
+ }[];
956
+ nextCursor: string | null;
957
+ } | {
958
+ reference: {
959
+ tenantId: string;
960
+ projectId: string;
961
+ fileId: string;
962
+ versionId: string;
963
+ checksumSha256: string;
964
+ byteSize: number;
965
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
966
+ deviceId: string;
967
+ };
968
+ metadata: {
969
+ label: string;
970
+ } | null;
971
+ accessRevision: number;
972
+ allowInspect: boolean;
973
+ allowPublish: boolean;
974
+ expiresAt: string;
975
+ } | {
976
+ reference: {
977
+ tenantId: string;
978
+ projectId: string;
979
+ fileId: string;
980
+ versionId: string;
981
+ checksumSha256: string;
982
+ byteSize: number;
983
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
984
+ deviceId: string;
985
+ };
986
+ offset: number;
987
+ contentBase64: string;
988
+ complete: boolean;
989
+ } | {
990
+ protocol: "NVS_LOCAL_LIBRARY_V1";
991
+ available: boolean;
992
+ profileDigest: string;
993
+ } | {
994
+ fileCount: number;
995
+ totalBytes: number;
996
+ quotaBytes: number;
997
+ availableDiskBytes: number;
271
998
  } | {
272
999
  runtimeRevision: number;
273
1000
  descriptor: {
@@ -279,20 +1006,89 @@ export declare class NativeStudioLocalRuntimeClient {
279
1006
  };
280
1007
  platform: {
281
1008
  os: "darwin" | "linux" | "win32";
282
- architecture: "x64" | "arm64";
1009
+ architecture: "arm64" | "x64";
283
1010
  };
284
1011
  ipcProtocol: "NVS_LOCAL_IPC_V1";
285
- workProtocol: "NVS_LOCAL_WORK_V1";
1012
+ workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
286
1013
  journalSchema: 1;
287
1014
  rendererDigest: string;
288
1015
  profileDigest: string;
1016
+ compatibleRenderers?: {
1017
+ rendererDigest: string;
1018
+ profileDigest: string;
1019
+ }[] | undefined;
289
1020
  };
290
1021
  activeProcesses: number;
291
1022
  pendingExecutions: number;
292
1023
  pendingRequests: number;
293
1024
  pendingRenderers: string[];
294
1025
  } | {
295
- mode: "MANAGED" | "INSTALLED";
1026
+ settings: {
1027
+ revision: number;
1028
+ policy: {
1029
+ acceptNewWork: boolean;
1030
+ mode: "CONTINUOUS" | "IDLE_ONLY";
1031
+ idleAfterSeconds: number;
1032
+ maxConcurrentJobs: number;
1033
+ cpuCores: 2 | 1;
1034
+ memoryMiB: number;
1035
+ cacheQuotaBytes: number;
1036
+ };
1037
+ };
1038
+ storage: {
1039
+ cacheBytes: number;
1040
+ protectedBytes: number;
1041
+ reclaimableBytes: number;
1042
+ transferBytes: number;
1043
+ journalBytes: number;
1044
+ availableDiskBytes: number;
1045
+ quotaBytes: number;
1046
+ overQuota: boolean;
1047
+ reviewBytes?: number | undefined;
1048
+ ownerStagingBytes?: number | undefined;
1049
+ };
1050
+ scheduling: {
1051
+ state: "PAUSED" | "READY" | "WAITING_FOR_IDLE" | "AT_CAPACITY" | "DRAINING";
1052
+ activeJobs: number;
1053
+ idleObservationCurrent: boolean;
1054
+ };
1055
+ } | {
1056
+ protocol: "NVS_LOCAL_DIAGNOSTICS_V1";
1057
+ createdAt: string;
1058
+ runtimeVersion: string;
1059
+ runtimeRevision: number;
1060
+ settings: {
1061
+ revision: number;
1062
+ policy: {
1063
+ acceptNewWork: boolean;
1064
+ mode: "CONTINUOUS" | "IDLE_ONLY";
1065
+ idleAfterSeconds: number;
1066
+ maxConcurrentJobs: number;
1067
+ cpuCores: 2 | 1;
1068
+ memoryMiB: number;
1069
+ cacheQuotaBytes: number;
1070
+ };
1071
+ };
1072
+ storage: {
1073
+ cacheBytes: number;
1074
+ protectedBytes: number;
1075
+ reclaimableBytes: number;
1076
+ transferBytes: number;
1077
+ journalBytes: number;
1078
+ availableDiskBytes: number;
1079
+ quotaBytes: number;
1080
+ overQuota: boolean;
1081
+ reviewBytes?: number | undefined;
1082
+ ownerStagingBytes?: number | undefined;
1083
+ };
1084
+ recordCounts: Record<string, number>;
1085
+ failures: {
1086
+ taskFingerprint: string;
1087
+ code: string;
1088
+ observedAt: string;
1089
+ }[];
1090
+ } | {
1091
+ mode: "INSTALLED" | "MANAGED";
296
1092
  availability: "UNAVAILABLE" | "AVAILABLE";
297
1093
  reason: "QUALIFIED_PROCESS_TOOLS" | "MANAGED_TOOLS_MISSING" | "TOOL_QUALIFICATION_FAILED";
298
1094
  nativeExecutionReady: boolean;
@@ -302,6 +1098,7 @@ export declare class NativeStudioLocalRuntimeClient {
302
1098
  version: string;
303
1099
  digest: string;
304
1100
  }[];
1101
+ executionProfiles?: ("ROUGH_CUT_PREVIEW_V1" | "STUDIO_MEDIA_V2" | "AUDIO_MEDIA_V1")[] | undefined;
305
1102
  } | {
306
1103
  items: {
307
1104
  binding: {
@@ -316,8 +1113,19 @@ export declare class NativeStudioLocalRuntimeClient {
316
1113
  toolchainFingerprint: string;
317
1114
  };
318
1115
  revision: number;
319
- phase: "RUNNING" | "RECOVERY_REQUIRED" | "STAGED" | "OUTPUT_PENDING" | "RECEIPT_RECORDED" | "FENCED";
1116
+ phase: "RUNNING" | "FENCED" | "RECOVERY_REQUIRED" | "STAGED" | "OUTPUT_PENDING" | "RECEIPT_RECORDED";
320
1117
  checkpoint: "ADOPTED" | "SOURCES_READY" | "PROCESS_STARTED" | "OUTPUT_STAGED";
1118
+ progress?: {
1119
+ stage: "WAITING" | "COMPLETE" | "FENCED" | "RECOVERY_REQUIRED" | "DOWNLOADING" | "EXECUTING" | "UPLOADING" | "AWAITING_ACCEPTANCE";
1120
+ downloadedBytes: number;
1121
+ sourceBytes: number;
1122
+ uploadedBytes: number;
1123
+ outputBytes: number;
1124
+ lastError: {
1125
+ code: string;
1126
+ observedAt: string;
1127
+ } | null;
1128
+ } | undefined;
321
1129
  }[];
322
1130
  nextCursor: string | null;
323
1131
  } | {
@@ -333,13 +1141,17 @@ export declare class NativeStudioLocalRuntimeClient {
333
1141
  };
334
1142
  platform: {
335
1143
  os: "darwin" | "linux" | "win32";
336
- architecture: "x64" | "arm64";
1144
+ architecture: "arm64" | "x64";
337
1145
  };
338
1146
  ipcProtocol: "NVS_LOCAL_IPC_V1";
339
- workProtocol: "NVS_LOCAL_WORK_V1";
1147
+ workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
340
1148
  journalSchema: 1;
341
1149
  rendererDigest: string;
342
1150
  profileDigest: string;
1151
+ compatibleRenderers?: {
1152
+ rendererDigest: string;
1153
+ profileDigest: string;
1154
+ }[] | undefined;
343
1155
  };
344
1156
  activeProcesses: number;
345
1157
  pendingExecutions: number;
@@ -349,12 +1161,12 @@ export declare class NativeStudioLocalRuntimeClient {
349
1161
  backupPath?: string | undefined;
350
1162
  } | null>;
351
1163
  private response;
352
- status(signal?: AbortSignal): Promise<{
1164
+ status(signal?: AbortSignal, includeDevice?: boolean): Promise<{
353
1165
  protocol: "NVS_LOCAL_IPC_V1";
354
1166
  runtimeRevision: number;
355
- state: "RECOVERY_REQUIRED" | "IDLE" | "EXECUTING" | "DRAINING";
1167
+ state: "RECOVERY_REQUIRED" | "EXECUTING" | "DRAINING" | "IDLE";
356
1168
  journalSchemaVersion: 1;
357
- workProtocols: "NVS_LOCAL_WORK_V1"[];
1169
+ workProtocols: ("NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2")[];
358
1170
  versions: {
359
1171
  component: "CLI" | "SDK" | "MCP" | "RUNTIME" | "MEDIA_TOOLS";
360
1172
  installedVersion: string | null;
@@ -363,12 +1175,185 @@ export declare class NativeStudioLocalRuntimeClient {
363
1175
  executablePath: string | null;
364
1176
  installOwner: "UNKNOWN" | "PROJECT" | "MANAGED" | "NPM_GLOBAL" | "NPX" | "TARBALL";
365
1177
  }[];
366
- authorizedProjects: {
367
- tenantId: string;
368
- projectId: string;
369
- }[];
370
1178
  nextActions: {
371
1179
  call: {
1180
+ operation: "library.capability";
1181
+ } | {
1182
+ operation: "library.call";
1183
+ input: {
1184
+ tenantId: string;
1185
+ after: string | null;
1186
+ limit: number;
1187
+ deviceId: string;
1188
+ action: "list";
1189
+ projectId?: string | undefined;
1190
+ ownerKey?: string | undefined;
1191
+ search?: string | undefined;
1192
+ mediaCategory?: "IMAGE" | "VIDEO" | "AUDIO" | "DOCUMENT" | undefined;
1193
+ } | {
1194
+ reference: {
1195
+ tenantId: string;
1196
+ projectId: string;
1197
+ fileId: string;
1198
+ versionId: string;
1199
+ checksumSha256: string;
1200
+ byteSize: number;
1201
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
1202
+ deviceId: string;
1203
+ };
1204
+ action: "get";
1205
+ ownerKey?: string | undefined;
1206
+ } | {
1207
+ tenantId: string;
1208
+ limit: number;
1209
+ after: string | null;
1210
+ deviceId: string;
1211
+ projectId: string;
1212
+ action: "scoped-list";
1213
+ search?: string | undefined;
1214
+ mediaCategory?: "IMAGE" | "VIDEO" | "AUDIO" | "DOCUMENT" | undefined;
1215
+ } | {
1216
+ action: "scoped-get";
1217
+ reference: {
1218
+ tenantId: string;
1219
+ projectId: string;
1220
+ fileId: string;
1221
+ versionId: string;
1222
+ checksumSha256: string;
1223
+ byteSize: number;
1224
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
1225
+ deviceId: string;
1226
+ };
1227
+ } | {
1228
+ action: "usage";
1229
+ ownerKey?: string | undefined;
1230
+ } | {
1231
+ reference: {
1232
+ tenantId: string;
1233
+ projectId: string;
1234
+ fileId: string;
1235
+ versionId: string;
1236
+ checksumSha256: string;
1237
+ byteSize: number;
1238
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
1239
+ deviceId: string;
1240
+ };
1241
+ offset: number;
1242
+ length: number;
1243
+ action: "read";
1244
+ ownerKey?: string | undefined;
1245
+ } | {
1246
+ command: {
1247
+ reference: {
1248
+ tenantId: string;
1249
+ projectId: string;
1250
+ fileId: string;
1251
+ versionId: string;
1252
+ checksumSha256: string;
1253
+ byteSize: number;
1254
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
1255
+ deviceId: string;
1256
+ };
1257
+ requestId: string;
1258
+ expectedRevision: number;
1259
+ metadata: {
1260
+ label: string;
1261
+ } | null;
1262
+ allowInspect: boolean;
1263
+ allowPublish: boolean;
1264
+ expiresAt: string;
1265
+ };
1266
+ expectedLocalRevision: number;
1267
+ action: "access";
1268
+ ownerKey?: string | undefined;
1269
+ } | {
1270
+ reference: {
1271
+ tenantId: string;
1272
+ projectId: string;
1273
+ fileId: string;
1274
+ versionId: string;
1275
+ checksumSha256: string;
1276
+ byteSize: number;
1277
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
1278
+ deviceId: string;
1279
+ };
1280
+ requestId: string;
1281
+ action: "sync";
1282
+ ownerKey?: string | undefined;
1283
+ } | {
1284
+ reference: {
1285
+ tenantId: string;
1286
+ projectId: string;
1287
+ fileId: string;
1288
+ versionId: string;
1289
+ checksumSha256: string;
1290
+ byteSize: number;
1291
+ contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
1292
+ deviceId: string;
1293
+ };
1294
+ requestId: string;
1295
+ action: "resume-access";
1296
+ ownerKey?: string | undefined;
1297
+ } | {
1298
+ tenantId: string;
1299
+ projectId: string;
1300
+ deviceId: string;
1301
+ requestId: string;
1302
+ action: "import-receipt";
1303
+ ownerKey?: string | undefined;
1304
+ };
1305
+ } | {
1306
+ operation: "agent.discover";
1307
+ binary?: string | undefined;
1308
+ } | {
1309
+ operation: "offline.workspace";
1310
+ input: {
1311
+ action: "list" | "forget";
1312
+ key: string;
1313
+ } | {
1314
+ action: "retain";
1315
+ key: string;
1316
+ snapshot: {
1317
+ projectId: string;
1318
+ title: string;
1319
+ savedAt: string;
1320
+ expiresAt: string;
1321
+ productions: {
1322
+ id: string;
1323
+ title: string;
1324
+ }[];
1325
+ possiblyTruncated: boolean;
1326
+ };
1327
+ } | {
1328
+ action: "draft";
1329
+ key: string;
1330
+ projectId: string;
1331
+ text: string;
1332
+ expectedRevision: number;
1333
+ };
1334
+ } | {
1335
+ operation: "workspace.inspect";
1336
+ } | {
1337
+ operation: "workspace.configure";
1338
+ policy: {
1339
+ acceptNewWork: boolean;
1340
+ mode: "CONTINUOUS" | "IDLE_ONLY";
1341
+ idleAfterSeconds: number;
1342
+ maxConcurrentJobs: number;
1343
+ cpuCores: 2 | 1;
1344
+ memoryMiB: number;
1345
+ cacheQuotaBytes: number;
1346
+ };
1347
+ expectedRevision: number;
1348
+ } | {
1349
+ operation: "workspace.activity";
1350
+ idleSeconds: number;
1351
+ observedAt: string;
1352
+ } | {
1353
+ operation: "storage.clean";
1354
+ } | {
1355
+ operation: "diagnostics.read";
1356
+ } | {
372
1357
  operation: "agent.grant";
373
1358
  grant: {
374
1359
  protocol: "NVS_CODEX_REVIEW_GRANT_V1";
@@ -386,6 +1371,7 @@ export declare class NativeStudioLocalRuntimeClient {
386
1371
  expiresAt: string;
387
1372
  reasoningEffort?: "medium" | "low" | "high" | "xhigh" | undefined;
388
1373
  imageDisclosureApproved?: true | undefined;
1374
+ mediaDisclosureApproved?: true | undefined;
389
1375
  };
390
1376
  approval: string;
391
1377
  } | {
@@ -402,11 +1388,20 @@ export declare class NativeStudioLocalRuntimeClient {
402
1388
  projectId: string & import("zod").$brand<"ProjectId">;
403
1389
  productionId: string & import("zod").$brand<"ProductionId">;
404
1390
  };
405
- contextFingerprint: string;
406
1391
  target: {
407
1392
  kind: "IMAGE";
408
1393
  generationId: string;
1394
+ } | {
1395
+ kind: "VIDEO";
1396
+ generationId: string;
1397
+ } | {
1398
+ kind: "ROUGH_CUT";
1399
+ renderId: string;
1400
+ } | {
1401
+ kind: "PROGRAMMATIC";
1402
+ renderId: string;
409
1403
  };
1404
+ contextFingerprint: string;
410
1405
  };
411
1406
  productionRevision: number;
412
1407
  reviewVersion: number;
@@ -416,12 +1411,135 @@ export declare class NativeStudioLocalRuntimeClient {
416
1411
  representationId: string;
417
1412
  checksumSha256: string;
418
1413
  };
419
- requirements: {
1414
+ requirements: ({
1415
+ key: string;
1416
+ dimension: "TRANSITION" | "STYLE" | "PRODUCT_PRESENTATION" | "CANONICAL_FACT" | "NARRATIVE" | "PACING" | "REPETITION" | "TECHNICAL";
1417
+ expected: string;
1418
+ enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
1419
+ scope: "PRODUCTION" | "TRANSITION";
1420
+ interval: {
1421
+ startMs: number;
1422
+ endMs: number;
1423
+ };
1424
+ shotIds: string[];
1425
+ voiceIdentity?: {
1426
+ qualified: boolean;
1427
+ evidenceFingerprint: string;
1428
+ listeningIntervals: {
1429
+ startMs: number;
1430
+ endMs: number;
1431
+ }[];
1432
+ sourceAudioVersionIds: string[];
1433
+ reasons: ("TEST_ONLY" | "NO_SOURCE" | "VOICE_UNAVAILABLE" | "REFERENCE_CHANGED" | "AUDIO_UNAVAILABLE" | "IDENTITY_MISMATCH" | "NO_COMPARISON" | "COMPARISON_NOT_MATCHED" | "COMPARISON_STALE")[];
1434
+ } | undefined;
1435
+ continuity?: {
1436
+ kind: "STATE";
1437
+ mode: "PRESERVE" | "PLANNED_TRANSITIONS";
1438
+ entry: string;
1439
+ exit: string;
1440
+ changes?: {
1441
+ atPermille: number;
1442
+ from: string;
1443
+ to: string;
1444
+ reason: string;
1445
+ }[] | undefined;
1446
+ } | {
1447
+ kind: "TIME";
1448
+ mode: "MONOTONIC" | "PLANNED_JUMPS";
1449
+ entryMs: number;
1450
+ exitMs: number;
1451
+ jumps?: {
1452
+ atPermille: number;
1453
+ fromMs: number;
1454
+ toMs: number;
1455
+ reason: string;
1456
+ }[] | undefined;
1457
+ } | undefined;
1458
+ consistencyScale?: "PRODUCTION" | "INTRA_SHOT" | "INTER_SHOT" | undefined;
1459
+ consistencyFamily?: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "BOUNDARY_CONTINUITY" | "VOICE_IDENTITY" | undefined;
1460
+ consistencySubject?: {
1461
+ id: string;
1462
+ kind: "CHARACTER" | "VOICE";
1463
+ displayName: string;
1464
+ facts: {
1465
+ dimension: string;
1466
+ value: string;
1467
+ }[];
1468
+ master: {
1469
+ artifactId: string & import("zod").$brand<"ArtifactId">;
1470
+ representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
1471
+ checksumSha256: string;
1472
+ artifactChecksumSha256: string;
1473
+ contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
1474
+ };
1475
+ voiceExpectation?: {
1476
+ voiceProfile: {
1477
+ ownerSystem: string;
1478
+ ownerTenantRef: string;
1479
+ voiceProfileRef: string;
1480
+ version: number;
1481
+ digest: string;
1482
+ };
1483
+ referenceId: string;
1484
+ } | undefined;
1485
+ } | undefined;
1486
+ consistencyReference?: {
1487
+ artifactId: string & import("zod").$brand<"ArtifactId">;
1488
+ representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
1489
+ checksumSha256: string;
1490
+ artifactChecksumSha256: string;
1491
+ contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
1492
+ } | undefined;
1493
+ } | {
420
1494
  key: string;
1495
+ family: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "SHOT_INTENT" | "BOUNDARY_CONTINUITY" | "SOUND";
421
1496
  expected: string;
422
1497
  enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
1498
+ evidenceWindow: "START" | "END" | "WHOLE_VIDEO" | "TEMPORAL";
423
1499
  intentPath?: string | undefined;
424
- }[];
1500
+ continuity?: {
1501
+ kind: "STATE";
1502
+ mode: "PRESERVE" | "PLANNED_TRANSITIONS";
1503
+ entry: string;
1504
+ exit: string;
1505
+ changes?: {
1506
+ atPermille: number;
1507
+ from: string;
1508
+ to: string;
1509
+ reason: string;
1510
+ }[] | undefined;
1511
+ } | {
1512
+ kind: "TIME";
1513
+ mode: "MONOTONIC" | "PLANNED_JUMPS";
1514
+ entryMs: number;
1515
+ exitMs: number;
1516
+ jumps?: {
1517
+ atPermille: number;
1518
+ fromMs: number;
1519
+ toMs: number;
1520
+ reason: string;
1521
+ }[] | undefined;
1522
+ } | undefined;
1523
+ interval?: {
1524
+ startMs: number;
1525
+ endMs: number;
1526
+ } | undefined;
1527
+ } | {
1528
+ key: string;
1529
+ expected: string;
1530
+ enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
1531
+ intentPath?: string | undefined;
1532
+ })[];
1533
+ evidence?: {
1534
+ profile: "NVS_AGENT_DERIVED_EVIDENCE_V1";
1535
+ contentType: "image/png" | "image/jpeg" | "image/webp" | "video/mp4";
1536
+ byteSize: number;
1537
+ width: number;
1538
+ height: number;
1539
+ durationMs?: number | undefined;
1540
+ frameRate?: 30 | 24 | undefined;
1541
+ hasAudio?: boolean | undefined;
1542
+ } | undefined;
425
1543
  image?: {
426
1544
  contentType: "image/png";
427
1545
  byteSize: number;
@@ -439,16 +1557,15 @@ export declare class NativeStudioLocalRuntimeClient {
439
1557
  id: string;
440
1558
  } | {
441
1559
  operation: "runtime.status";
1560
+ includeDevice?: true | undefined;
442
1561
  } | {
443
1562
  operation: "runtime.doctor";
444
1563
  } | {
445
1564
  operation: "runtime.inventory";
446
1565
  } | {
447
1566
  operation: "session.issue";
448
- projects: {
449
- tenantId: string;
450
- projectId: string;
451
- }[];
1567
+ tenantId: string;
1568
+ deviceId: string;
452
1569
  expiresAt: string;
453
1570
  } | {
454
1571
  operation: "runtime.stop";
@@ -460,6 +1577,7 @@ export declare class NativeStudioLocalRuntimeClient {
460
1577
  projectId: string;
461
1578
  productionId: string;
462
1579
  runtimeJobId: string;
1580
+ includeProgress?: boolean | undefined;
463
1581
  };
464
1582
  } | {
465
1583
  operation: "execution.list";
@@ -468,6 +1586,8 @@ export declare class NativeStudioLocalRuntimeClient {
468
1586
  projectId: string;
469
1587
  after: string | null;
470
1588
  limit: number;
1589
+ includeCompleted?: boolean | undefined;
1590
+ includeProgress?: boolean | undefined;
471
1591
  };
472
1592
  } | {
473
1593
  operation: "update.check";
@@ -482,11 +1602,28 @@ export declare class NativeStudioLocalRuntimeClient {
482
1602
  expectedRuntimeRevision: number;
483
1603
  };
484
1604
  availability: "AVAILABLE" | "BLOCKED";
485
- reason: "READY" | "INSTALL_REQUIRED" | "AUTHORIZATION_REQUIRED" | "VERSION_INCOMPATIBLE" | "UPDATE_AVAILABLE" | "RECOVERY_REQUIRED";
1605
+ reason: "READY" | "AUTHORIZATION_REQUIRED" | "INSTALL_REQUIRED" | "VERSION_INCOMPATIBLE" | "UPDATE_AVAILABLE" | "RECOVERY_REQUIRED";
486
1606
  }[];
1607
+ deviceAuthority?: {
1608
+ tenantId: string;
1609
+ deviceId: string;
1610
+ origin: string;
1611
+ } | undefined;
1612
+ capabilityMismatch?: {
1613
+ kind: "CAPABILITY_DEFINITION" | "MEDIA_PROFILE" | "RENDERER" | "VALIDATION_PROFILE" | "PROCESSOR_PROFILE" | "LOCAL_LIBRARY_PROFILE";
1614
+ expectedVersion: string;
1615
+ actualVersion: string;
1616
+ recovery: "REDISCOVER_CAPABILITY" | "CHECK_DEVICE_RELEASE";
1617
+ } | undefined;
1618
+ deviceCapabilities?: {
1619
+ deviceRevision: number;
1620
+ tenantMediaValidation: boolean;
1621
+ tenantMediaProcessing: boolean;
1622
+ processorCapabilities: ("KEYFRAME_GENERATE" | "VIDEO_GENERATE" | "SPEECH_SYNTHESIZE" | "SPEECH_EXTERNAL_QWEN" | "TEMPORAL_SAMPLE" | "DELIVERY_VALIDATE" | "COMPOSITION_RENDER" | "IMPORTED_VISUAL_NORMALIZE" | "SOURCE_SYNC_AUDIO" | "IMPORT_ORIGINAL" | "LOCAL_MEDIA_INSPECT" | "LOCAL_MEDIA_PUBLISH" | "IMPORT_PROJECT_SOURCE" | "REGISTER_VISUAL_SEQUENCE" | "REFERENCE_PREVIEW" | "SPEECH_SYNTHESIZE_CPU" | "TRANSCRIBE_AUDIO" | "TRANSCRIBE_EXTERNAL_QWEN")[];
1623
+ } | undefined;
487
1624
  }>;
488
1625
  doctor(signal?: AbortSignal): Promise<{
489
- mode: "MANAGED" | "INSTALLED";
1626
+ mode: "INSTALLED" | "MANAGED";
490
1627
  availability: "UNAVAILABLE" | "AVAILABLE";
491
1628
  reason: "QUALIFIED_PROCESS_TOOLS" | "MANAGED_TOOLS_MISSING" | "TOOL_QUALIFICATION_FAILED";
492
1629
  nativeExecutionReady: boolean;
@@ -496,6 +1633,7 @@ export declare class NativeStudioLocalRuntimeClient {
496
1633
  version: string;
497
1634
  digest: string;
498
1635
  }[];
1636
+ executionProfiles?: ("ROUGH_CUT_PREVIEW_V1" | "STUDIO_MEDIA_V2" | "AUDIO_MEDIA_V1")[] | undefined;
499
1637
  }>;
500
1638
  inventory(signal?: AbortSignal): Promise<{
501
1639
  runtimeRevision: number;
@@ -508,13 +1646,17 @@ export declare class NativeStudioLocalRuntimeClient {
508
1646
  };
509
1647
  platform: {
510
1648
  os: "darwin" | "linux" | "win32";
511
- architecture: "x64" | "arm64";
1649
+ architecture: "arm64" | "x64";
512
1650
  };
513
1651
  ipcProtocol: "NVS_LOCAL_IPC_V1";
514
- workProtocol: "NVS_LOCAL_WORK_V1";
1652
+ workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
515
1653
  journalSchema: 1;
516
1654
  rendererDigest: string;
517
1655
  profileDigest: string;
1656
+ compatibleRenderers?: {
1657
+ rendererDigest: string;
1658
+ profileDigest: string;
1659
+ }[] | undefined;
518
1660
  };
519
1661
  activeProcesses: number;
520
1662
  pendingExecutions: number;
@@ -542,9 +1684,35 @@ export declare class NativeStudioLocalRuntimeClient {
542
1684
  grantFingerprint: string | null;
543
1685
  inference: "REMOTE_OPENAI";
544
1686
  }>;
1687
+ discoverAgent(binary?: string): Promise<{
1688
+ candidate: {
1689
+ binary: string;
1690
+ binaryDigest: string;
1691
+ version: string;
1692
+ qualified: boolean;
1693
+ } | null;
1694
+ configured: {
1695
+ protocol: "NVS_CODEX_REVIEW_GRANT_V1";
1696
+ binary: string;
1697
+ binaryDigest: string;
1698
+ version: "0.164.0" | "0.165.0";
1699
+ model: string;
1700
+ reviewerLabel: string;
1701
+ inference: "REMOTE_OPENAI";
1702
+ remoteUseApproved: true;
1703
+ projects: {
1704
+ tenantId: string;
1705
+ projectId: string;
1706
+ }[];
1707
+ expiresAt: string;
1708
+ reasoningEffort?: "medium" | "low" | "high" | "xhigh" | undefined;
1709
+ imageDisclosureApproved?: true | undefined;
1710
+ mediaDisclosureApproved?: true | undefined;
1711
+ } | null;
1712
+ }>;
545
1713
  prepareAgentReview(snapshot: LocalAgentSnapshot): Promise<{
546
1714
  plan: {
547
- protocol: "NVS_LOCAL_AGENT_REVIEW_V1";
1715
+ protocol: "NVS_LOCAL_AGENT_REVIEW_V1" | "NVS_LOCAL_AGENT_REVIEW_V2";
548
1716
  id: string;
549
1717
  grantFingerprint: string;
550
1718
  snapshot: {
@@ -554,11 +1722,20 @@ export declare class NativeStudioLocalRuntimeClient {
554
1722
  projectId: string & import("zod").$brand<"ProjectId">;
555
1723
  productionId: string & import("zod").$brand<"ProductionId">;
556
1724
  };
557
- contextFingerprint: string;
558
1725
  target: {
559
1726
  kind: "IMAGE";
560
1727
  generationId: string;
1728
+ } | {
1729
+ kind: "VIDEO";
1730
+ generationId: string;
1731
+ } | {
1732
+ kind: "ROUGH_CUT";
1733
+ renderId: string;
1734
+ } | {
1735
+ kind: "PROGRAMMATIC";
1736
+ renderId: string;
561
1737
  };
1738
+ contextFingerprint: string;
562
1739
  };
563
1740
  productionRevision: number;
564
1741
  reviewVersion: number;
@@ -568,12 +1745,135 @@ export declare class NativeStudioLocalRuntimeClient {
568
1745
  representationId: string;
569
1746
  checksumSha256: string;
570
1747
  };
571
- requirements: {
1748
+ requirements: ({
1749
+ key: string;
1750
+ dimension: "TRANSITION" | "STYLE" | "PRODUCT_PRESENTATION" | "CANONICAL_FACT" | "NARRATIVE" | "PACING" | "REPETITION" | "TECHNICAL";
1751
+ expected: string;
1752
+ enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
1753
+ scope: "PRODUCTION" | "TRANSITION";
1754
+ interval: {
1755
+ startMs: number;
1756
+ endMs: number;
1757
+ };
1758
+ shotIds: string[];
1759
+ voiceIdentity?: {
1760
+ qualified: boolean;
1761
+ evidenceFingerprint: string;
1762
+ listeningIntervals: {
1763
+ startMs: number;
1764
+ endMs: number;
1765
+ }[];
1766
+ sourceAudioVersionIds: string[];
1767
+ reasons: ("TEST_ONLY" | "NO_SOURCE" | "VOICE_UNAVAILABLE" | "REFERENCE_CHANGED" | "AUDIO_UNAVAILABLE" | "IDENTITY_MISMATCH" | "NO_COMPARISON" | "COMPARISON_NOT_MATCHED" | "COMPARISON_STALE")[];
1768
+ } | undefined;
1769
+ continuity?: {
1770
+ kind: "STATE";
1771
+ mode: "PRESERVE" | "PLANNED_TRANSITIONS";
1772
+ entry: string;
1773
+ exit: string;
1774
+ changes?: {
1775
+ atPermille: number;
1776
+ from: string;
1777
+ to: string;
1778
+ reason: string;
1779
+ }[] | undefined;
1780
+ } | {
1781
+ kind: "TIME";
1782
+ mode: "MONOTONIC" | "PLANNED_JUMPS";
1783
+ entryMs: number;
1784
+ exitMs: number;
1785
+ jumps?: {
1786
+ atPermille: number;
1787
+ fromMs: number;
1788
+ toMs: number;
1789
+ reason: string;
1790
+ }[] | undefined;
1791
+ } | undefined;
1792
+ consistencyScale?: "PRODUCTION" | "INTRA_SHOT" | "INTER_SHOT" | undefined;
1793
+ consistencyFamily?: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "BOUNDARY_CONTINUITY" | "VOICE_IDENTITY" | undefined;
1794
+ consistencySubject?: {
1795
+ id: string;
1796
+ kind: "CHARACTER" | "VOICE";
1797
+ displayName: string;
1798
+ facts: {
1799
+ dimension: string;
1800
+ value: string;
1801
+ }[];
1802
+ master: {
1803
+ artifactId: string & import("zod").$brand<"ArtifactId">;
1804
+ representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
1805
+ checksumSha256: string;
1806
+ artifactChecksumSha256: string;
1807
+ contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
1808
+ };
1809
+ voiceExpectation?: {
1810
+ voiceProfile: {
1811
+ ownerSystem: string;
1812
+ ownerTenantRef: string;
1813
+ voiceProfileRef: string;
1814
+ version: number;
1815
+ digest: string;
1816
+ };
1817
+ referenceId: string;
1818
+ } | undefined;
1819
+ } | undefined;
1820
+ consistencyReference?: {
1821
+ artifactId: string & import("zod").$brand<"ArtifactId">;
1822
+ representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
1823
+ checksumSha256: string;
1824
+ artifactChecksumSha256: string;
1825
+ contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
1826
+ } | undefined;
1827
+ } | {
572
1828
  key: string;
1829
+ family: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "SHOT_INTENT" | "BOUNDARY_CONTINUITY" | "SOUND";
573
1830
  expected: string;
574
1831
  enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
1832
+ evidenceWindow: "START" | "END" | "WHOLE_VIDEO" | "TEMPORAL";
575
1833
  intentPath?: string | undefined;
576
- }[];
1834
+ continuity?: {
1835
+ kind: "STATE";
1836
+ mode: "PRESERVE" | "PLANNED_TRANSITIONS";
1837
+ entry: string;
1838
+ exit: string;
1839
+ changes?: {
1840
+ atPermille: number;
1841
+ from: string;
1842
+ to: string;
1843
+ reason: string;
1844
+ }[] | undefined;
1845
+ } | {
1846
+ kind: "TIME";
1847
+ mode: "MONOTONIC" | "PLANNED_JUMPS";
1848
+ entryMs: number;
1849
+ exitMs: number;
1850
+ jumps?: {
1851
+ atPermille: number;
1852
+ fromMs: number;
1853
+ toMs: number;
1854
+ reason: string;
1855
+ }[] | undefined;
1856
+ } | undefined;
1857
+ interval?: {
1858
+ startMs: number;
1859
+ endMs: number;
1860
+ } | undefined;
1861
+ } | {
1862
+ key: string;
1863
+ expected: string;
1864
+ enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
1865
+ intentPath?: string | undefined;
1866
+ })[];
1867
+ evidence?: {
1868
+ profile: "NVS_AGENT_DERIVED_EVIDENCE_V1";
1869
+ contentType: "image/png" | "image/jpeg" | "image/webp" | "video/mp4";
1870
+ byteSize: number;
1871
+ width: number;
1872
+ height: number;
1873
+ durationMs?: number | undefined;
1874
+ frameRate?: 30 | 24 | undefined;
1875
+ hasAudio?: boolean | undefined;
1876
+ } | undefined;
577
1877
  image?: {
578
1878
  contentType: "image/png";
579
1879
  byteSize: number;
@@ -596,20 +1896,20 @@ export declare class NativeStudioLocalRuntimeClient {
596
1896
  summary: string;
597
1897
  imageReadback: string;
598
1898
  observations: {
599
- key: string;
600
- status: "SATISFIED" | "VIOLATED" | "NOT_OBSERVABLE" | "NOT_APPLICABLE";
1899
+ status: "NOT_APPLICABLE" | "SATISFIED" | "VIOLATED" | "NOT_OBSERVABLE";
601
1900
  confidence: "CLEAR" | "UNCERTAIN";
602
1901
  observed: string;
1902
+ key: string;
603
1903
  }[];
604
1904
  } | null;
605
1905
  provenance: {
606
- adapter: "CODEX_METADATA_V1";
1906
+ adapter: "CODEX_METADATA_V1" | "CODEX_MEDIA_V2";
607
1907
  binaryDigest: string;
608
1908
  version: "0.164.0" | "0.165.0";
609
1909
  model: string;
610
1910
  reviewerLabel: string;
611
1911
  inference: "REMOTE_OPENAI";
612
- evidence: "IMAGE_PIXELS" | "METADATA_ONLY";
1912
+ evidence: "IMAGE_PIXELS" | "VIDEO_FRAMES" | "METADATA_ONLY";
613
1913
  reasoningEffort?: "medium" | "low" | "high" | "xhigh" | undefined;
614
1914
  };
615
1915
  imageReceipt?: {
@@ -625,10 +1925,37 @@ export declare class NativeStudioLocalRuntimeClient {
625
1925
  width: number;
626
1926
  height: number;
627
1927
  } | undefined;
1928
+ evidenceReceipt?: {
1929
+ protocol: "NVS_AGENT_DERIVED_EVIDENCE_V1";
1930
+ draftId: string;
1931
+ media: {
1932
+ artifactId: string;
1933
+ representationId: string;
1934
+ checksumSha256: string;
1935
+ };
1936
+ ffmpegDigest: string;
1937
+ ffprobeDigest: string;
1938
+ attachment: {
1939
+ checksumSha256: string;
1940
+ byteSize: number;
1941
+ width: number;
1942
+ height: number;
1943
+ };
1944
+ timestampsMs: number[];
1945
+ audio: {
1946
+ sampleRateHz: 48000;
1947
+ channels: 1;
1948
+ samples: number;
1949
+ peak: number;
1950
+ rms: number;
1951
+ clippedSamples: number;
1952
+ } | null;
1953
+ limitations: ["SAMPLED_FRAMES_ARE_NOT_FULL_PLAYBACK", "AUDIO_STATISTICS_ARE_NOT_LISTENING_OR_TRANSCRIPTION"];
1954
+ } | undefined;
628
1955
  }>;
629
1956
  startAgentReview(id: string, expectedRevision: number, approval: string): Promise<{
630
1957
  plan: {
631
- protocol: "NVS_LOCAL_AGENT_REVIEW_V1";
1958
+ protocol: "NVS_LOCAL_AGENT_REVIEW_V1" | "NVS_LOCAL_AGENT_REVIEW_V2";
632
1959
  id: string;
633
1960
  grantFingerprint: string;
634
1961
  snapshot: {
@@ -638,11 +1965,20 @@ export declare class NativeStudioLocalRuntimeClient {
638
1965
  projectId: string & import("zod").$brand<"ProjectId">;
639
1966
  productionId: string & import("zod").$brand<"ProductionId">;
640
1967
  };
641
- contextFingerprint: string;
642
1968
  target: {
643
1969
  kind: "IMAGE";
644
1970
  generationId: string;
1971
+ } | {
1972
+ kind: "VIDEO";
1973
+ generationId: string;
1974
+ } | {
1975
+ kind: "ROUGH_CUT";
1976
+ renderId: string;
1977
+ } | {
1978
+ kind: "PROGRAMMATIC";
1979
+ renderId: string;
645
1980
  };
1981
+ contextFingerprint: string;
646
1982
  };
647
1983
  productionRevision: number;
648
1984
  reviewVersion: number;
@@ -652,12 +1988,135 @@ export declare class NativeStudioLocalRuntimeClient {
652
1988
  representationId: string;
653
1989
  checksumSha256: string;
654
1990
  };
655
- requirements: {
1991
+ requirements: ({
656
1992
  key: string;
1993
+ dimension: "TRANSITION" | "STYLE" | "PRODUCT_PRESENTATION" | "CANONICAL_FACT" | "NARRATIVE" | "PACING" | "REPETITION" | "TECHNICAL";
657
1994
  expected: string;
658
1995
  enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
1996
+ scope: "PRODUCTION" | "TRANSITION";
1997
+ interval: {
1998
+ startMs: number;
1999
+ endMs: number;
2000
+ };
2001
+ shotIds: string[];
2002
+ voiceIdentity?: {
2003
+ qualified: boolean;
2004
+ evidenceFingerprint: string;
2005
+ listeningIntervals: {
2006
+ startMs: number;
2007
+ endMs: number;
2008
+ }[];
2009
+ sourceAudioVersionIds: string[];
2010
+ reasons: ("TEST_ONLY" | "NO_SOURCE" | "VOICE_UNAVAILABLE" | "REFERENCE_CHANGED" | "AUDIO_UNAVAILABLE" | "IDENTITY_MISMATCH" | "NO_COMPARISON" | "COMPARISON_NOT_MATCHED" | "COMPARISON_STALE")[];
2011
+ } | undefined;
2012
+ continuity?: {
2013
+ kind: "STATE";
2014
+ mode: "PRESERVE" | "PLANNED_TRANSITIONS";
2015
+ entry: string;
2016
+ exit: string;
2017
+ changes?: {
2018
+ atPermille: number;
2019
+ from: string;
2020
+ to: string;
2021
+ reason: string;
2022
+ }[] | undefined;
2023
+ } | {
2024
+ kind: "TIME";
2025
+ mode: "MONOTONIC" | "PLANNED_JUMPS";
2026
+ entryMs: number;
2027
+ exitMs: number;
2028
+ jumps?: {
2029
+ atPermille: number;
2030
+ fromMs: number;
2031
+ toMs: number;
2032
+ reason: string;
2033
+ }[] | undefined;
2034
+ } | undefined;
2035
+ consistencyScale?: "PRODUCTION" | "INTRA_SHOT" | "INTER_SHOT" | undefined;
2036
+ consistencyFamily?: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "BOUNDARY_CONTINUITY" | "VOICE_IDENTITY" | undefined;
2037
+ consistencySubject?: {
2038
+ id: string;
2039
+ kind: "CHARACTER" | "VOICE";
2040
+ displayName: string;
2041
+ facts: {
2042
+ dimension: string;
2043
+ value: string;
2044
+ }[];
2045
+ master: {
2046
+ artifactId: string & import("zod").$brand<"ArtifactId">;
2047
+ representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
2048
+ checksumSha256: string;
2049
+ artifactChecksumSha256: string;
2050
+ contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
2051
+ };
2052
+ voiceExpectation?: {
2053
+ voiceProfile: {
2054
+ ownerSystem: string;
2055
+ ownerTenantRef: string;
2056
+ voiceProfileRef: string;
2057
+ version: number;
2058
+ digest: string;
2059
+ };
2060
+ referenceId: string;
2061
+ } | undefined;
2062
+ } | undefined;
2063
+ consistencyReference?: {
2064
+ artifactId: string & import("zod").$brand<"ArtifactId">;
2065
+ representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
2066
+ checksumSha256: string;
2067
+ artifactChecksumSha256: string;
2068
+ contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
2069
+ } | undefined;
2070
+ } | {
2071
+ key: string;
2072
+ family: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "SHOT_INTENT" | "BOUNDARY_CONTINUITY" | "SOUND";
2073
+ expected: string;
2074
+ enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
2075
+ evidenceWindow: "START" | "END" | "WHOLE_VIDEO" | "TEMPORAL";
659
2076
  intentPath?: string | undefined;
660
- }[];
2077
+ continuity?: {
2078
+ kind: "STATE";
2079
+ mode: "PRESERVE" | "PLANNED_TRANSITIONS";
2080
+ entry: string;
2081
+ exit: string;
2082
+ changes?: {
2083
+ atPermille: number;
2084
+ from: string;
2085
+ to: string;
2086
+ reason: string;
2087
+ }[] | undefined;
2088
+ } | {
2089
+ kind: "TIME";
2090
+ mode: "MONOTONIC" | "PLANNED_JUMPS";
2091
+ entryMs: number;
2092
+ exitMs: number;
2093
+ jumps?: {
2094
+ atPermille: number;
2095
+ fromMs: number;
2096
+ toMs: number;
2097
+ reason: string;
2098
+ }[] | undefined;
2099
+ } | undefined;
2100
+ interval?: {
2101
+ startMs: number;
2102
+ endMs: number;
2103
+ } | undefined;
2104
+ } | {
2105
+ key: string;
2106
+ expected: string;
2107
+ enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
2108
+ intentPath?: string | undefined;
2109
+ })[];
2110
+ evidence?: {
2111
+ profile: "NVS_AGENT_DERIVED_EVIDENCE_V1";
2112
+ contentType: "image/png" | "image/jpeg" | "image/webp" | "video/mp4";
2113
+ byteSize: number;
2114
+ width: number;
2115
+ height: number;
2116
+ durationMs?: number | undefined;
2117
+ frameRate?: 30 | 24 | undefined;
2118
+ hasAudio?: boolean | undefined;
2119
+ } | undefined;
661
2120
  image?: {
662
2121
  contentType: "image/png";
663
2122
  byteSize: number;
@@ -680,20 +2139,20 @@ export declare class NativeStudioLocalRuntimeClient {
680
2139
  summary: string;
681
2140
  imageReadback: string;
682
2141
  observations: {
683
- key: string;
684
- status: "SATISFIED" | "VIOLATED" | "NOT_OBSERVABLE" | "NOT_APPLICABLE";
2142
+ status: "NOT_APPLICABLE" | "SATISFIED" | "VIOLATED" | "NOT_OBSERVABLE";
685
2143
  confidence: "CLEAR" | "UNCERTAIN";
686
2144
  observed: string;
2145
+ key: string;
687
2146
  }[];
688
2147
  } | null;
689
2148
  provenance: {
690
- adapter: "CODEX_METADATA_V1";
2149
+ adapter: "CODEX_METADATA_V1" | "CODEX_MEDIA_V2";
691
2150
  binaryDigest: string;
692
2151
  version: "0.164.0" | "0.165.0";
693
2152
  model: string;
694
2153
  reviewerLabel: string;
695
2154
  inference: "REMOTE_OPENAI";
696
- evidence: "IMAGE_PIXELS" | "METADATA_ONLY";
2155
+ evidence: "IMAGE_PIXELS" | "VIDEO_FRAMES" | "METADATA_ONLY";
697
2156
  reasoningEffort?: "medium" | "low" | "high" | "xhigh" | undefined;
698
2157
  };
699
2158
  imageReceipt?: {
@@ -709,10 +2168,37 @@ export declare class NativeStudioLocalRuntimeClient {
709
2168
  width: number;
710
2169
  height: number;
711
2170
  } | undefined;
2171
+ evidenceReceipt?: {
2172
+ protocol: "NVS_AGENT_DERIVED_EVIDENCE_V1";
2173
+ draftId: string;
2174
+ media: {
2175
+ artifactId: string;
2176
+ representationId: string;
2177
+ checksumSha256: string;
2178
+ };
2179
+ ffmpegDigest: string;
2180
+ ffprobeDigest: string;
2181
+ attachment: {
2182
+ checksumSha256: string;
2183
+ byteSize: number;
2184
+ width: number;
2185
+ height: number;
2186
+ };
2187
+ timestampsMs: number[];
2188
+ audio: {
2189
+ sampleRateHz: 48000;
2190
+ channels: 1;
2191
+ samples: number;
2192
+ peak: number;
2193
+ rms: number;
2194
+ clippedSamples: number;
2195
+ } | null;
2196
+ limitations: ["SAMPLED_FRAMES_ARE_NOT_FULL_PLAYBACK", "AUDIO_STATISTICS_ARE_NOT_LISTENING_OR_TRANSCRIPTION"];
2197
+ } | undefined;
712
2198
  }>;
713
2199
  stageAgentImage(id: string, bytes: Uint8Array, signal?: AbortSignal): Promise<{
714
2200
  plan: {
715
- protocol: "NVS_LOCAL_AGENT_REVIEW_V1";
2201
+ protocol: "NVS_LOCAL_AGENT_REVIEW_V1" | "NVS_LOCAL_AGENT_REVIEW_V2";
716
2202
  id: string;
717
2203
  grantFingerprint: string;
718
2204
  snapshot: {
@@ -722,11 +2208,20 @@ export declare class NativeStudioLocalRuntimeClient {
722
2208
  projectId: string & import("zod").$brand<"ProjectId">;
723
2209
  productionId: string & import("zod").$brand<"ProductionId">;
724
2210
  };
725
- contextFingerprint: string;
726
2211
  target: {
727
2212
  kind: "IMAGE";
728
2213
  generationId: string;
2214
+ } | {
2215
+ kind: "VIDEO";
2216
+ generationId: string;
2217
+ } | {
2218
+ kind: "ROUGH_CUT";
2219
+ renderId: string;
2220
+ } | {
2221
+ kind: "PROGRAMMATIC";
2222
+ renderId: string;
729
2223
  };
2224
+ contextFingerprint: string;
730
2225
  };
731
2226
  productionRevision: number;
732
2227
  reviewVersion: number;
@@ -736,12 +2231,135 @@ export declare class NativeStudioLocalRuntimeClient {
736
2231
  representationId: string;
737
2232
  checksumSha256: string;
738
2233
  };
739
- requirements: {
2234
+ requirements: ({
2235
+ key: string;
2236
+ dimension: "TRANSITION" | "STYLE" | "PRODUCT_PRESENTATION" | "CANONICAL_FACT" | "NARRATIVE" | "PACING" | "REPETITION" | "TECHNICAL";
2237
+ expected: string;
2238
+ enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
2239
+ scope: "PRODUCTION" | "TRANSITION";
2240
+ interval: {
2241
+ startMs: number;
2242
+ endMs: number;
2243
+ };
2244
+ shotIds: string[];
2245
+ voiceIdentity?: {
2246
+ qualified: boolean;
2247
+ evidenceFingerprint: string;
2248
+ listeningIntervals: {
2249
+ startMs: number;
2250
+ endMs: number;
2251
+ }[];
2252
+ sourceAudioVersionIds: string[];
2253
+ reasons: ("TEST_ONLY" | "NO_SOURCE" | "VOICE_UNAVAILABLE" | "REFERENCE_CHANGED" | "AUDIO_UNAVAILABLE" | "IDENTITY_MISMATCH" | "NO_COMPARISON" | "COMPARISON_NOT_MATCHED" | "COMPARISON_STALE")[];
2254
+ } | undefined;
2255
+ continuity?: {
2256
+ kind: "STATE";
2257
+ mode: "PRESERVE" | "PLANNED_TRANSITIONS";
2258
+ entry: string;
2259
+ exit: string;
2260
+ changes?: {
2261
+ atPermille: number;
2262
+ from: string;
2263
+ to: string;
2264
+ reason: string;
2265
+ }[] | undefined;
2266
+ } | {
2267
+ kind: "TIME";
2268
+ mode: "MONOTONIC" | "PLANNED_JUMPS";
2269
+ entryMs: number;
2270
+ exitMs: number;
2271
+ jumps?: {
2272
+ atPermille: number;
2273
+ fromMs: number;
2274
+ toMs: number;
2275
+ reason: string;
2276
+ }[] | undefined;
2277
+ } | undefined;
2278
+ consistencyScale?: "PRODUCTION" | "INTRA_SHOT" | "INTER_SHOT" | undefined;
2279
+ consistencyFamily?: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "BOUNDARY_CONTINUITY" | "VOICE_IDENTITY" | undefined;
2280
+ consistencySubject?: {
2281
+ id: string;
2282
+ kind: "CHARACTER" | "VOICE";
2283
+ displayName: string;
2284
+ facts: {
2285
+ dimension: string;
2286
+ value: string;
2287
+ }[];
2288
+ master: {
2289
+ artifactId: string & import("zod").$brand<"ArtifactId">;
2290
+ representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
2291
+ checksumSha256: string;
2292
+ artifactChecksumSha256: string;
2293
+ contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
2294
+ };
2295
+ voiceExpectation?: {
2296
+ voiceProfile: {
2297
+ ownerSystem: string;
2298
+ ownerTenantRef: string;
2299
+ voiceProfileRef: string;
2300
+ version: number;
2301
+ digest: string;
2302
+ };
2303
+ referenceId: string;
2304
+ } | undefined;
2305
+ } | undefined;
2306
+ consistencyReference?: {
2307
+ artifactId: string & import("zod").$brand<"ArtifactId">;
2308
+ representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
2309
+ checksumSha256: string;
2310
+ artifactChecksumSha256: string;
2311
+ contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
2312
+ } | undefined;
2313
+ } | {
740
2314
  key: string;
2315
+ family: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "SHOT_INTENT" | "BOUNDARY_CONTINUITY" | "SOUND";
741
2316
  expected: string;
742
2317
  enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
2318
+ evidenceWindow: "START" | "END" | "WHOLE_VIDEO" | "TEMPORAL";
743
2319
  intentPath?: string | undefined;
744
- }[];
2320
+ continuity?: {
2321
+ kind: "STATE";
2322
+ mode: "PRESERVE" | "PLANNED_TRANSITIONS";
2323
+ entry: string;
2324
+ exit: string;
2325
+ changes?: {
2326
+ atPermille: number;
2327
+ from: string;
2328
+ to: string;
2329
+ reason: string;
2330
+ }[] | undefined;
2331
+ } | {
2332
+ kind: "TIME";
2333
+ mode: "MONOTONIC" | "PLANNED_JUMPS";
2334
+ entryMs: number;
2335
+ exitMs: number;
2336
+ jumps?: {
2337
+ atPermille: number;
2338
+ fromMs: number;
2339
+ toMs: number;
2340
+ reason: string;
2341
+ }[] | undefined;
2342
+ } | undefined;
2343
+ interval?: {
2344
+ startMs: number;
2345
+ endMs: number;
2346
+ } | undefined;
2347
+ } | {
2348
+ key: string;
2349
+ expected: string;
2350
+ enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
2351
+ intentPath?: string | undefined;
2352
+ })[];
2353
+ evidence?: {
2354
+ profile: "NVS_AGENT_DERIVED_EVIDENCE_V1";
2355
+ contentType: "image/png" | "image/jpeg" | "image/webp" | "video/mp4";
2356
+ byteSize: number;
2357
+ width: number;
2358
+ height: number;
2359
+ durationMs?: number | undefined;
2360
+ frameRate?: 30 | 24 | undefined;
2361
+ hasAudio?: boolean | undefined;
2362
+ } | undefined;
745
2363
  image?: {
746
2364
  contentType: "image/png";
747
2365
  byteSize: number;
@@ -764,20 +2382,20 @@ export declare class NativeStudioLocalRuntimeClient {
764
2382
  summary: string;
765
2383
  imageReadback: string;
766
2384
  observations: {
767
- key: string;
768
- status: "SATISFIED" | "VIOLATED" | "NOT_OBSERVABLE" | "NOT_APPLICABLE";
2385
+ status: "NOT_APPLICABLE" | "SATISFIED" | "VIOLATED" | "NOT_OBSERVABLE";
769
2386
  confidence: "CLEAR" | "UNCERTAIN";
770
2387
  observed: string;
2388
+ key: string;
771
2389
  }[];
772
2390
  } | null;
773
2391
  provenance: {
774
- adapter: "CODEX_METADATA_V1";
2392
+ adapter: "CODEX_METADATA_V1" | "CODEX_MEDIA_V2";
775
2393
  binaryDigest: string;
776
2394
  version: "0.164.0" | "0.165.0";
777
2395
  model: string;
778
2396
  reviewerLabel: string;
779
2397
  inference: "REMOTE_OPENAI";
780
- evidence: "IMAGE_PIXELS" | "METADATA_ONLY";
2398
+ evidence: "IMAGE_PIXELS" | "VIDEO_FRAMES" | "METADATA_ONLY";
781
2399
  reasoningEffort?: "medium" | "low" | "high" | "xhigh" | undefined;
782
2400
  };
783
2401
  imageReceipt?: {
@@ -793,10 +2411,37 @@ export declare class NativeStudioLocalRuntimeClient {
793
2411
  width: number;
794
2412
  height: number;
795
2413
  } | undefined;
2414
+ evidenceReceipt?: {
2415
+ protocol: "NVS_AGENT_DERIVED_EVIDENCE_V1";
2416
+ draftId: string;
2417
+ media: {
2418
+ artifactId: string;
2419
+ representationId: string;
2420
+ checksumSha256: string;
2421
+ };
2422
+ ffmpegDigest: string;
2423
+ ffprobeDigest: string;
2424
+ attachment: {
2425
+ checksumSha256: string;
2426
+ byteSize: number;
2427
+ width: number;
2428
+ height: number;
2429
+ };
2430
+ timestampsMs: number[];
2431
+ audio: {
2432
+ sampleRateHz: 48000;
2433
+ channels: 1;
2434
+ samples: number;
2435
+ peak: number;
2436
+ rms: number;
2437
+ clippedSamples: number;
2438
+ } | null;
2439
+ limitations: ["SAMPLED_FRAMES_ARE_NOT_FULL_PLAYBACK", "AUDIO_STATISTICS_ARE_NOT_LISTENING_OR_TRANSCRIPTION"];
2440
+ } | undefined;
796
2441
  }>;
797
2442
  inspectAgentReview(id: string, signal?: AbortSignal): Promise<{
798
2443
  plan: {
799
- protocol: "NVS_LOCAL_AGENT_REVIEW_V1";
2444
+ protocol: "NVS_LOCAL_AGENT_REVIEW_V1" | "NVS_LOCAL_AGENT_REVIEW_V2";
800
2445
  id: string;
801
2446
  grantFingerprint: string;
802
2447
  snapshot: {
@@ -806,11 +2451,20 @@ export declare class NativeStudioLocalRuntimeClient {
806
2451
  projectId: string & import("zod").$brand<"ProjectId">;
807
2452
  productionId: string & import("zod").$brand<"ProductionId">;
808
2453
  };
809
- contextFingerprint: string;
810
2454
  target: {
811
2455
  kind: "IMAGE";
812
2456
  generationId: string;
2457
+ } | {
2458
+ kind: "VIDEO";
2459
+ generationId: string;
2460
+ } | {
2461
+ kind: "ROUGH_CUT";
2462
+ renderId: string;
2463
+ } | {
2464
+ kind: "PROGRAMMATIC";
2465
+ renderId: string;
813
2466
  };
2467
+ contextFingerprint: string;
814
2468
  };
815
2469
  productionRevision: number;
816
2470
  reviewVersion: number;
@@ -820,12 +2474,135 @@ export declare class NativeStudioLocalRuntimeClient {
820
2474
  representationId: string;
821
2475
  checksumSha256: string;
822
2476
  };
823
- requirements: {
2477
+ requirements: ({
824
2478
  key: string;
2479
+ dimension: "TRANSITION" | "STYLE" | "PRODUCT_PRESENTATION" | "CANONICAL_FACT" | "NARRATIVE" | "PACING" | "REPETITION" | "TECHNICAL";
825
2480
  expected: string;
826
2481
  enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
2482
+ scope: "PRODUCTION" | "TRANSITION";
2483
+ interval: {
2484
+ startMs: number;
2485
+ endMs: number;
2486
+ };
2487
+ shotIds: string[];
2488
+ voiceIdentity?: {
2489
+ qualified: boolean;
2490
+ evidenceFingerprint: string;
2491
+ listeningIntervals: {
2492
+ startMs: number;
2493
+ endMs: number;
2494
+ }[];
2495
+ sourceAudioVersionIds: string[];
2496
+ reasons: ("TEST_ONLY" | "NO_SOURCE" | "VOICE_UNAVAILABLE" | "REFERENCE_CHANGED" | "AUDIO_UNAVAILABLE" | "IDENTITY_MISMATCH" | "NO_COMPARISON" | "COMPARISON_NOT_MATCHED" | "COMPARISON_STALE")[];
2497
+ } | undefined;
2498
+ continuity?: {
2499
+ kind: "STATE";
2500
+ mode: "PRESERVE" | "PLANNED_TRANSITIONS";
2501
+ entry: string;
2502
+ exit: string;
2503
+ changes?: {
2504
+ atPermille: number;
2505
+ from: string;
2506
+ to: string;
2507
+ reason: string;
2508
+ }[] | undefined;
2509
+ } | {
2510
+ kind: "TIME";
2511
+ mode: "MONOTONIC" | "PLANNED_JUMPS";
2512
+ entryMs: number;
2513
+ exitMs: number;
2514
+ jumps?: {
2515
+ atPermille: number;
2516
+ fromMs: number;
2517
+ toMs: number;
2518
+ reason: string;
2519
+ }[] | undefined;
2520
+ } | undefined;
2521
+ consistencyScale?: "PRODUCTION" | "INTRA_SHOT" | "INTER_SHOT" | undefined;
2522
+ consistencyFamily?: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "BOUNDARY_CONTINUITY" | "VOICE_IDENTITY" | undefined;
2523
+ consistencySubject?: {
2524
+ id: string;
2525
+ kind: "CHARACTER" | "VOICE";
2526
+ displayName: string;
2527
+ facts: {
2528
+ dimension: string;
2529
+ value: string;
2530
+ }[];
2531
+ master: {
2532
+ artifactId: string & import("zod").$brand<"ArtifactId">;
2533
+ representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
2534
+ checksumSha256: string;
2535
+ artifactChecksumSha256: string;
2536
+ contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
2537
+ };
2538
+ voiceExpectation?: {
2539
+ voiceProfile: {
2540
+ ownerSystem: string;
2541
+ ownerTenantRef: string;
2542
+ voiceProfileRef: string;
2543
+ version: number;
2544
+ digest: string;
2545
+ };
2546
+ referenceId: string;
2547
+ } | undefined;
2548
+ } | undefined;
2549
+ consistencyReference?: {
2550
+ artifactId: string & import("zod").$brand<"ArtifactId">;
2551
+ representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
2552
+ checksumSha256: string;
2553
+ artifactChecksumSha256: string;
2554
+ contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
2555
+ } | undefined;
2556
+ } | {
2557
+ key: string;
2558
+ family: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "SHOT_INTENT" | "BOUNDARY_CONTINUITY" | "SOUND";
2559
+ expected: string;
2560
+ enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
2561
+ evidenceWindow: "START" | "END" | "WHOLE_VIDEO" | "TEMPORAL";
827
2562
  intentPath?: string | undefined;
828
- }[];
2563
+ continuity?: {
2564
+ kind: "STATE";
2565
+ mode: "PRESERVE" | "PLANNED_TRANSITIONS";
2566
+ entry: string;
2567
+ exit: string;
2568
+ changes?: {
2569
+ atPermille: number;
2570
+ from: string;
2571
+ to: string;
2572
+ reason: string;
2573
+ }[] | undefined;
2574
+ } | {
2575
+ kind: "TIME";
2576
+ mode: "MONOTONIC" | "PLANNED_JUMPS";
2577
+ entryMs: number;
2578
+ exitMs: number;
2579
+ jumps?: {
2580
+ atPermille: number;
2581
+ fromMs: number;
2582
+ toMs: number;
2583
+ reason: string;
2584
+ }[] | undefined;
2585
+ } | undefined;
2586
+ interval?: {
2587
+ startMs: number;
2588
+ endMs: number;
2589
+ } | undefined;
2590
+ } | {
2591
+ key: string;
2592
+ expected: string;
2593
+ enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
2594
+ intentPath?: string | undefined;
2595
+ })[];
2596
+ evidence?: {
2597
+ profile: "NVS_AGENT_DERIVED_EVIDENCE_V1";
2598
+ contentType: "image/png" | "image/jpeg" | "image/webp" | "video/mp4";
2599
+ byteSize: number;
2600
+ width: number;
2601
+ height: number;
2602
+ durationMs?: number | undefined;
2603
+ frameRate?: 30 | 24 | undefined;
2604
+ hasAudio?: boolean | undefined;
2605
+ } | undefined;
829
2606
  image?: {
830
2607
  contentType: "image/png";
831
2608
  byteSize: number;
@@ -848,20 +2625,20 @@ export declare class NativeStudioLocalRuntimeClient {
848
2625
  summary: string;
849
2626
  imageReadback: string;
850
2627
  observations: {
851
- key: string;
852
- status: "SATISFIED" | "VIOLATED" | "NOT_OBSERVABLE" | "NOT_APPLICABLE";
2628
+ status: "NOT_APPLICABLE" | "SATISFIED" | "VIOLATED" | "NOT_OBSERVABLE";
853
2629
  confidence: "CLEAR" | "UNCERTAIN";
854
2630
  observed: string;
2631
+ key: string;
855
2632
  }[];
856
2633
  } | null;
857
2634
  provenance: {
858
- adapter: "CODEX_METADATA_V1";
2635
+ adapter: "CODEX_METADATA_V1" | "CODEX_MEDIA_V2";
859
2636
  binaryDigest: string;
860
2637
  version: "0.164.0" | "0.165.0";
861
2638
  model: string;
862
2639
  reviewerLabel: string;
863
2640
  inference: "REMOTE_OPENAI";
864
- evidence: "IMAGE_PIXELS" | "METADATA_ONLY";
2641
+ evidence: "IMAGE_PIXELS" | "VIDEO_FRAMES" | "METADATA_ONLY";
865
2642
  reasoningEffort?: "medium" | "low" | "high" | "xhigh" | undefined;
866
2643
  };
867
2644
  imageReceipt?: {
@@ -877,6 +2654,33 @@ export declare class NativeStudioLocalRuntimeClient {
877
2654
  width: number;
878
2655
  height: number;
879
2656
  } | undefined;
2657
+ evidenceReceipt?: {
2658
+ protocol: "NVS_AGENT_DERIVED_EVIDENCE_V1";
2659
+ draftId: string;
2660
+ media: {
2661
+ artifactId: string;
2662
+ representationId: string;
2663
+ checksumSha256: string;
2664
+ };
2665
+ ffmpegDigest: string;
2666
+ ffprobeDigest: string;
2667
+ attachment: {
2668
+ checksumSha256: string;
2669
+ byteSize: number;
2670
+ width: number;
2671
+ height: number;
2672
+ };
2673
+ timestampsMs: number[];
2674
+ audio: {
2675
+ sampleRateHz: 48000;
2676
+ channels: 1;
2677
+ samples: number;
2678
+ peak: number;
2679
+ rms: number;
2680
+ clippedSamples: number;
2681
+ } | null;
2682
+ limitations: ["SAMPLED_FRAMES_ARE_NOT_FULL_PLAYBACK", "AUDIO_STATISTICS_ARE_NOT_LISTENING_OR_TRANSCRIPTION"];
2683
+ } | undefined;
880
2684
  }>;
881
2685
  executions(input: {
882
2686
  tenantId: string;
@@ -897,12 +2701,25 @@ export declare class NativeStudioLocalRuntimeClient {
897
2701
  toolchainFingerprint: string;
898
2702
  };
899
2703
  revision: number;
900
- phase: "RUNNING" | "RECOVERY_REQUIRED" | "STAGED" | "OUTPUT_PENDING" | "RECEIPT_RECORDED" | "FENCED";
2704
+ phase: "RUNNING" | "FENCED" | "RECOVERY_REQUIRED" | "STAGED" | "OUTPUT_PENDING" | "RECEIPT_RECORDED";
901
2705
  checkpoint: "ADOPTED" | "SOURCES_READY" | "PROCESS_STARTED" | "OUTPUT_STAGED";
2706
+ progress?: {
2707
+ stage: "WAITING" | "COMPLETE" | "FENCED" | "RECOVERY_REQUIRED" | "DOWNLOADING" | "EXECUTING" | "UPLOADING" | "AWAITING_ACCEPTANCE";
2708
+ downloadedBytes: number;
2709
+ sourceBytes: number;
2710
+ uploadedBytes: number;
2711
+ outputBytes: number;
2712
+ lastError: {
2713
+ code: string;
2714
+ observedAt: string;
2715
+ } | null;
2716
+ } | undefined;
902
2717
  }[];
903
2718
  nextCursor: string | null;
904
2719
  }>;
905
- inspect(raw: LocalWorkScope, signal?: AbortSignal): Promise<{
2720
+ inspect(raw: LocalWorkScope & {
2721
+ includeProgress?: boolean | undefined;
2722
+ }, signal?: AbortSignal): Promise<{
906
2723
  binding: {
907
2724
  tenantId: string;
908
2725
  projectId: string;
@@ -915,18 +2732,39 @@ export declare class NativeStudioLocalRuntimeClient {
915
2732
  toolchainFingerprint: string;
916
2733
  };
917
2734
  revision: number;
918
- phase: "RUNNING" | "RECOVERY_REQUIRED" | "STAGED" | "OUTPUT_PENDING" | "RECEIPT_RECORDED" | "FENCED";
2735
+ phase: "RUNNING" | "FENCED" | "RECOVERY_REQUIRED" | "STAGED" | "OUTPUT_PENDING" | "RECEIPT_RECORDED";
919
2736
  checkpoint: "ADOPTED" | "SOURCES_READY" | "PROCESS_STARTED" | "OUTPUT_STAGED";
2737
+ progress?: {
2738
+ stage: "WAITING" | "COMPLETE" | "FENCED" | "RECOVERY_REQUIRED" | "DOWNLOADING" | "EXECUTING" | "UPLOADING" | "AWAITING_ACCEPTANCE";
2739
+ downloadedBytes: number;
2740
+ sourceBytes: number;
2741
+ uploadedBytes: number;
2742
+ outputBytes: number;
2743
+ lastError: {
2744
+ code: string;
2745
+ observedAt: string;
2746
+ } | null;
2747
+ } | undefined;
920
2748
  } | null>;
921
2749
  }
922
2750
  export { LocalSessionConnectorSchema } from "../contracts/local-execution/index.js";
923
2751
  export { NativeStudioSdkError } from "./errors.js";
924
- export { LocalRuntimeDescriptorSchema, LocalManagementInventorySchema, LocalSignedCatalogueSchema, LocalReleaseSchema, LocalUpdatePlanSchema, LocalToolChoiceSchema, LocalClientNextActionSchema, canonicalLocalJson, LocalSessionConnectorSchema as LocalConnectorSchema, } from "../contracts/local-execution/index.js";
2752
+ export { LocalRuntimeDescriptorSchema, LocalManagementInventorySchema, LocalSignedCatalogueSchema, LocalReleaseSchema, LocalBundledReleaseSchema, LocalUpdatePlanSchema, LocalToolChoiceSchema, LocalClientNextActionSchema, canonicalLocalJson, LocalSessionConnectorSchema as LocalConnectorSchema, } from "../contracts/local-execution/index.js";
925
2753
  export type { LocalRelease, LocalSignedCatalogue, LocalUpdatePlan, LocalToolChoice, LocalRuntimeDescriptor, LocalSessionConnector, } from "../contracts/local-execution/index.js";
926
2754
  export { NativeStudioLocalDeviceClient } from "./local-runtime/device-client.js";
927
- export { EnrollLocalDeviceSchema, GrantLocalDeviceSchema, RevokeLocalDeviceSchema, RevokeLocalDeviceGrantSchema, StartLocalPreviewSchema, LocalDeviceTransportConfigurationSchema, } from "../contracts/local-execution/index.js";
928
- export { LocalToolSelectionSchema, LocalWorkScopeSchema, } from "../contracts/local-execution/index.js";
2755
+ export { EnrollLocalDeviceSchema, RevokeLocalDeviceSchema, StartLocalPreviewSchema, StartLocalFinalRenderSchema, LocalDeviceTransportConfigurationSchema, } from "../contracts/local-execution/index.js";
2756
+ export { LocalCompositionBrowserSelectionSchema, LocalToolSelectionSchema, LocalWorkScopeSchema, } from "../contracts/local-execution/index.js";
929
2757
  export { LocalExecutionListInputSchema, LocalExecutionPageSchema, } from "../contracts/local-execution/index.js";
930
2758
  export { LocalMcpOutputSchemas, LocalMcpFailureSchema, } from "../contracts/local-execution/index.js";
931
2759
  export { LocalDoctorReportSchema } from "../contracts/local-execution/index.js";
932
- export { LocalAgentGrantSchema, LocalAgentSnapshotSchema, localAgentSnapshotFromContext, localAgentNativeProposal, } from "../contracts/local-execution/index.js";
2760
+ export { LocalManagementCommandSchema, LocalDeviceManagementCommandSchema, LocalManagementResultSchema, LocalManagementReceiptSchema, localManagementRoutes, LocalDeviceViewSchema, LocalPreviewAdmissionSchema, LocalFinalRenderAdmissionSchema, LocalDeviceChallengeSchema, LocalDeviceSessionSchema, } from "../contracts/local-execution/index.js";
2761
+ export { LocalAgentGrantSchema, LocalAgentSnapshotSchema, localAgentSnapshotFromContext, localAgentNativeProposal, localAgentMediaSnapshot, localAgentMediaProposal, LocalAgentReviewViewSchema, LocalAgentProbeSchema, LocalAgentDiscoverySchema, } from "../contracts/local-execution/index.js";
2762
+ export { NativeStudioLocalWorkspaceClient } from "./local-runtime/workspace.js";
2763
+ export * from "./local-runtime/library.js";
2764
+ export { LocalOfflineCallSchema, LocalOfflinePageSchema, } from "../contracts/local-execution/index.js";
2765
+ export { LocalResourcePolicySchema, LocalResourceSettingsSchema, LocalWorkspaceInspectionSchema, LocalStorageInspectionSchema, LocalExecutionProgressSchema, LocalExecutionInspectInputSchema, LocalDiagnosticsSchema, } from "../contracts/local-execution/index.js";
2766
+ export { importedNormalizationValidationProfile, referenceThumbnailProfile, tenantRenderValidationProfile, whisperCppRecognitionProfile, } from "../contracts/local-execution/index.js";
2767
+ export { processorFamilies } from "../contracts/local-execution/index.js";
2768
+ export type { TenantProcessorKind } from "../contracts/local-execution/index.js";
2769
+ export * from "./local-runtime/components.js";
2770
+ export { CpuSpeechPrepareInputSchema, CpuSpeechPreparedSchema, } from "../contracts/local-execution/index.js";