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

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 (217) hide show
  1. package/COMPATIBILITY.json +37 -8
  2. package/LICENSE +201 -21
  3. package/components/runtime.json +33 -4
  4. package/components/runtime.tgz +0 -0
  5. package/dist/_chunks/chunk-2AI3WF2O.js +1 -0
  6. package/dist/_chunks/{chunk-G42IS5JF.js → chunk-3AVC742O.js} +1 -1
  7. package/dist/_chunks/chunk-5DY7LSZZ.js +1 -0
  8. package/dist/_chunks/{chunk-25EDDZQA.js → chunk-6LU6GJKW.js} +1 -1
  9. package/dist/_chunks/chunk-6LY4JYSG.js +1 -0
  10. package/dist/_chunks/chunk-6UYY5KHI.js +1 -0
  11. package/dist/_chunks/chunk-77IAHNM2.js +1 -0
  12. package/dist/_chunks/chunk-C62JAWRQ.js +1 -0
  13. package/dist/_chunks/{chunk-MSOMVWKN.js → chunk-FU3524Z6.js} +1 -1
  14. package/dist/_chunks/chunk-HTUTYIRU.js +1 -0
  15. package/dist/_chunks/chunk-HY7NXJYX.js +1 -0
  16. package/dist/_chunks/chunk-KB2GVAN7.js +1 -0
  17. package/dist/_chunks/chunk-PDQYFIQQ.js +1 -0
  18. package/dist/_chunks/chunk-RDIMORUT.js +1 -0
  19. package/dist/_chunks/chunk-RK2P3UVF.js +1 -0
  20. package/dist/_chunks/chunk-ROBBF33U.js +1 -0
  21. package/dist/_chunks/chunk-S74X4KIC.js +1 -0
  22. package/dist/_chunks/chunk-SV3NF7GO.js +1 -0
  23. package/dist/_chunks/chunk-TLPI6P7L.js +1 -0
  24. package/dist/_chunks/chunk-U7ECMITP.js +1 -0
  25. package/dist/_chunks/chunk-VD3OQ743.js +1 -0
  26. package/dist/_chunks/chunk-VKLS4QK5.js +1 -0
  27. package/dist/_chunks/chunk-W6C63ZN7.js +1 -0
  28. package/dist/_chunks/chunk-ZRSYOFMX.js +1 -0
  29. package/dist/_chunks/connect-6UH7ZFAC.js +1 -0
  30. package/dist/_chunks/device-management-H3NIDIPY.js +1 -0
  31. package/dist/_chunks/device-preflight-LHFLPVAB.js +1 -0
  32. package/dist/_chunks/devices-inventory-I2E3Q4DA.js +1 -0
  33. package/dist/_chunks/devices-main-VV2VYU4T.js +1 -0
  34. package/dist/_chunks/{files-TBJVDQWU.js → files-TTIQ7LYJ.js} +1 -1
  35. package/dist/_chunks/host-main-3JFGVU5P.js +1 -0
  36. package/dist/_chunks/http-profile-NIQDCFPU.js +1 -0
  37. package/dist/_chunks/library-main-CTBW7DAI.js +1 -0
  38. package/dist/_chunks/local-main-227MNGEC.js +1 -0
  39. package/dist/_chunks/local-mcp-XB6E3V2W.js +1 -0
  40. package/dist/_chunks/main-W6NNZFLK.js +2 -0
  41. package/dist/_chunks/mcp-EXQ5UAHB.js +1 -0
  42. package/dist/_chunks/oauth-HC6TI7HB.js +1 -0
  43. package/dist/_chunks/render-main-VTM6WGFP.js +1 -0
  44. package/dist/_chunks/source-import-KKV2UWJO.js +1 -0
  45. package/dist/_chunks/src-OIY5TBQT.js +1 -0
  46. package/dist/_chunks/{stdio-main-JEADWO7U.js → stdio-main-Y7N4NVKU.js} +1 -1
  47. package/dist/_chunks/workspace-main-Y7ZVBRJJ.js +1 -0
  48. package/dist/_types/cli/local/desktop-contract.d.ts +2027 -1
  49. package/dist/_types/cli/local/desktop-device-contract.d.ts +792 -0
  50. package/dist/_types/cli/local/desktop-device-navigation.d.ts +3 -0
  51. package/dist/_types/cli/local/desktop-device-owner.d.ts +270 -0
  52. package/dist/_types/cli/local/desktop-device-state.d.ts +449 -0
  53. package/dist/_types/cli/local/desktop-library.d.ts +853 -0
  54. package/dist/_types/cli/local/desktop-owner.d.ts +784 -1
  55. package/dist/_types/cli/local/ledger.d.ts +74 -20
  56. package/dist/_types/cli/local/manager.d.ts +1255 -49
  57. package/dist/_types/cli/local/mcp-tools.d.ts +296 -54
  58. package/dist/_types/cli/local/releases.d.ts +30 -7
  59. package/dist/_types/cli/local-management.d.ts +8 -0
  60. package/dist/_types/cli/local-navigation.d.ts +1 -0
  61. package/dist/_types/contracts/artifact-discovery.d.ts +136 -4
  62. package/dist/_types/contracts/audio.d.ts +166 -0
  63. package/dist/_types/contracts/composition-authoring.d.ts +8 -8
  64. package/dist/_types/contracts/composition-frame-render.d.ts +4 -4
  65. package/dist/_types/contracts/composition-render-base.d.ts +5 -4
  66. package/dist/_types/contracts/composition-render.d.ts +8 -8
  67. package/dist/_types/contracts/composition-repair.d.ts +10 -10
  68. package/dist/_types/contracts/composition-source-review.d.ts +12 -12
  69. package/dist/_types/contracts/consistency-profile.d.ts +102 -6
  70. package/dist/_types/contracts/continuity-evaluation.d.ts +1 -1
  71. package/dist/_types/contracts/delivery-manifest.d.ts +25 -11729
  72. package/dist/_types/contracts/delivery-operations.d.ts +201 -3909
  73. package/dist/_types/contracts/delivery-summary.d.ts +2 -2
  74. package/dist/_types/contracts/delivery-validation.d.ts +23 -0
  75. package/dist/_types/contracts/device-render.d.ts +79 -0
  76. package/dist/_types/contracts/editor-intelligence.d.ts +392 -2531
  77. package/dist/_types/contracts/exploration-recommendation.d.ts +263 -11607
  78. package/dist/_types/contracts/external-agent-access.d.ts +4 -6
  79. package/dist/_types/contracts/final-ready.d.ts +22 -22
  80. package/dist/_types/contracts/final-render.d.ts +1742 -6949
  81. package/dist/_types/contracts/human-identity.d.ts +13 -0
  82. package/dist/_types/contracts/human-links.d.ts +58 -0
  83. package/dist/_types/contracts/index.d.ts +10 -0
  84. package/dist/_types/contracts/interface/media-output.d.ts +118 -0
  85. package/dist/_types/contracts/interface/operation.d.ts +30 -0
  86. package/dist/_types/contracts/interface/production-snapshot.d.ts +75 -193
  87. package/dist/_types/contracts/interface/query.d.ts +60 -0
  88. package/dist/_types/contracts/keyframe-generation.d.ts +29 -0
  89. package/dist/_types/contracts/local-execution/agent-context.d.ts +385 -0
  90. package/dist/_types/contracts/local-execution/agent-evidence.d.ts +79 -0
  91. package/dist/_types/contracts/local-execution/agent-grant.d.ts +31 -0
  92. package/dist/_types/contracts/local-execution/agent-review.d.ts +522 -64
  93. package/dist/_types/contracts/local-execution/audio-profile.d.ts +6 -0
  94. package/dist/_types/contracts/local-execution/common.d.ts +12 -11
  95. package/dist/_types/contracts/local-execution/completion.d.ts +41 -45
  96. package/dist/_types/contracts/local-execution/components.d.ts +45 -0
  97. package/dist/_types/contracts/local-execution/cpu-preparation.d.ts +46 -0
  98. package/dist/_types/contracts/local-execution/cpu-resources.d.ts +55 -0
  99. package/dist/_types/contracts/local-execution/cpu-speech-job.d.ts +70 -0
  100. package/dist/_types/contracts/local-execution/cpu-speech.d.ts +161 -0
  101. package/dist/_types/contracts/local-execution/descriptor.d.ts +38 -0
  102. package/dist/_types/contracts/local-execution/device-authority.d.ts +31 -0
  103. package/dist/_types/contracts/local-execution/device-inventory.d.ts +76 -0
  104. package/dist/_types/contracts/local-execution/device-workspace.d.ts +11 -0
  105. package/dist/_types/contracts/local-execution/device.d.ts +22 -54
  106. package/dist/_types/contracts/local-execution/external-generation.d.ts +199 -0
  107. package/dist/_types/contracts/local-execution/index.d.ts +32 -0
  108. package/dist/_types/contracts/local-execution/ipc.d.ts +2774 -230
  109. package/dist/_types/contracts/local-execution/library-command.d.ts +620 -0
  110. package/dist/_types/contracts/local-execution/library-result.d.ts +424 -0
  111. package/dist/_types/contracts/local-execution/library.d.ts +873 -0
  112. package/dist/_types/contracts/local-execution/lifecycle.d.ts +289 -47
  113. package/dist/_types/contracts/local-execution/local-navigation.d.ts +285 -65
  114. package/dist/_types/contracts/local-execution/management.d.ts +404 -0
  115. package/dist/_types/contracts/local-execution/media-recipe.d.ts +207 -0
  116. package/dist/_types/contracts/local-execution/media-validation-request.d.ts +232 -0
  117. package/dist/_types/contracts/local-execution/media-validation.d.ts +262 -0
  118. package/dist/_types/contracts/local-execution/object-transfer.d.ts +155 -0
  119. package/dist/_types/contracts/local-execution/offline.d.ts +59 -0
  120. package/dist/_types/contracts/local-execution/preview.d.ts +176 -3561
  121. package/dist/_types/contracts/local-execution/processor-capability.d.ts +41 -0
  122. package/dist/_types/contracts/local-execution/processor-direct.d.ts +290 -0
  123. package/dist/_types/contracts/local-execution/processor-recipes.d.ts +1165 -0
  124. package/dist/_types/contracts/local-execution/processor-toolchain.d.ts +47 -0
  125. package/dist/_types/contracts/local-execution/processor.d.ts +6354 -0
  126. package/dist/_types/contracts/local-execution/project-source-direct.d.ts +201 -0
  127. package/dist/_types/contracts/local-execution/qwen-tts.d.ts +31 -0
  128. package/dist/_types/contracts/local-execution/recognition.d.ts +170 -0
  129. package/dist/_types/contracts/local-execution/speech.d.ts +95 -0
  130. package/dist/_types/contracts/local-execution/tool-selection.d.ts +71 -5
  131. package/dist/_types/contracts/local-execution/whisper.d.ts +24 -0
  132. package/dist/_types/contracts/local-execution/work.d.ts +124 -3402
  133. package/dist/_types/contracts/local-execution/workspace.d.ts +141 -0
  134. package/dist/_types/contracts/media-category.d.ts +11 -0
  135. package/dist/_types/contracts/media-observation.d.ts +929 -8
  136. package/dist/_types/contracts/native-speech-model.d.ts +53 -0
  137. package/dist/_types/contracts/native-speech-options.d.ts +25 -0
  138. package/dist/_types/contracts/navigation-context.d.ts +2 -2
  139. package/dist/_types/contracts/navigation-groups.d.ts +1 -1
  140. package/dist/_types/contracts/navigation.d.ts +60 -20
  141. package/dist/_types/contracts/observation-profile.d.ts +3 -3
  142. package/dist/_types/contracts/production-creation.d.ts +30 -0
  143. package/dist/_types/contracts/production.d.ts +30 -0
  144. package/dist/_types/contracts/programmatic-composition.d.ts +24 -24
  145. package/dist/_types/contracts/programmatic-exploration.d.ts +348 -5985
  146. package/dist/_types/contracts/project-library.d.ts +30 -0
  147. package/dist/_types/contracts/project.d.ts +30 -0
  148. package/dist/_types/contracts/provider-catalog.d.ts +3 -3
  149. package/dist/_types/contracts/provider-models.d.ts +209 -8
  150. package/dist/_types/contracts/provider.d.ts +66 -1
  151. package/dist/_types/contracts/reference-preview.d.ts +19 -0
  152. package/dist/_types/contracts/repair-lifecycle.d.ts +52 -384
  153. package/dist/_types/contracts/repair-plan.d.ts +16 -98
  154. package/dist/_types/contracts/repair-strategy.d.ts +164 -4479
  155. package/dist/_types/contracts/review-intelligence-final-output.d.ts +417 -8149
  156. package/dist/_types/contracts/review-intelligence.d.ts +452 -11420
  157. package/dist/_types/contracts/rough-cut-manifest.d.ts +27 -7
  158. package/dist/_types/contracts/rough-cut-profile.d.ts +12 -3
  159. package/dist/_types/contracts/rough-cut-review.d.ts +144 -12495
  160. package/dist/_types/contracts/rough-cut.d.ts +1170 -5673
  161. package/dist/_types/contracts/shot-preparation-basis.d.ts +2 -2
  162. package/dist/_types/contracts/shot-preparation.d.ts +4 -4
  163. package/dist/_types/contracts/sound-making-plan.d.ts +210 -2
  164. package/dist/_types/contracts/speech-cost.d.ts +96 -0
  165. package/dist/_types/contracts/speech-parameters.d.ts +39 -0
  166. package/dist/_types/contracts/speech.d.ts +602 -22
  167. package/dist/_types/contracts/temporal-evidence-operation.d.ts +1 -0
  168. package/dist/_types/contracts/timeline-audio.d.ts +20 -4
  169. package/dist/_types/contracts/timeline-manifest.d.ts +40 -8
  170. package/dist/_types/contracts/timeline-source-sound.d.ts +42 -4
  171. package/dist/_types/contracts/timeline-v2.d.ts +124 -16
  172. package/dist/_types/contracts/timeline-version-reader.d.ts +288 -40
  173. package/dist/_types/contracts/timeline-visual-layers.d.ts +124 -16
  174. package/dist/_types/contracts/timeline.d.ts +50 -4850
  175. package/dist/_types/contracts/transcription.d.ts +1 -1
  176. package/dist/_types/contracts/video-generation.d.ts +33 -0
  177. package/dist/_types/contracts/visual-exploration.d.ts +1 -1
  178. package/dist/_types/contracts/visual-layer-render.d.ts +298 -47
  179. package/dist/_types/contracts/visual-sequence.d.ts +22 -0
  180. package/dist/_types/contracts/voice-consistency.d.ts +183 -0
  181. package/dist/_types/contracts/voice-profile/contracts.d.ts +821 -0
  182. package/dist/_types/contracts/voice-profile/identity.d.ts +27 -0
  183. package/dist/_types/contracts/voice-profile/interface.d.ts +89 -0
  184. package/dist/_types/contracts/voice-profile/reference.d.ts +106 -0
  185. package/dist/_types/contracts/voice-review.d.ts +1194 -0
  186. package/dist/_types/contracts/workspace.d.ts +62 -0
  187. package/dist/_types/sdk/errors.d.ts +8 -3
  188. package/dist/_types/sdk/local-runtime/components.d.ts +2 -0
  189. package/dist/_types/sdk/local-runtime/device-client.d.ts +180 -18
  190. package/dist/_types/sdk/local-runtime/library.d.ts +268 -0
  191. package/dist/_types/sdk/local-runtime/workspace.d.ts +186 -0
  192. package/dist/_types/sdk/local-runtime-client.d.ts +1917 -92
  193. package/dist/entry.js +1 -1
  194. package/dist/local-management.js +1 -1
  195. package/dist/local-navigation.js +1 -1
  196. package/dist/native/JobNative.cs +10 -0
  197. package/dist/native/JobRunner.cs +24 -3
  198. package/dist/native/NativeMain.cs +15 -0
  199. package/package.json +2 -8
  200. package/README.md +0 -78
  201. package/dist/_chunks/chunk-6NVIN2NI.js +0 -1
  202. package/dist/_chunks/chunk-E57YVMQ4.js +0 -1
  203. package/dist/_chunks/chunk-EAZKDCLD.js +0 -1
  204. package/dist/_chunks/chunk-GIEYSDCG.js +0 -1
  205. package/dist/_chunks/chunk-GJ7BZJLW.js +0 -1
  206. package/dist/_chunks/chunk-HLKERZIE.js +0 -1
  207. package/dist/_chunks/chunk-QC7RLTGU.js +0 -1
  208. package/dist/_chunks/chunk-RUMDDTON.js +0 -1
  209. package/dist/_chunks/chunk-U2UKGYGF.js +0 -1
  210. package/dist/_chunks/chunk-VPYAXWXY.js +0 -1
  211. package/dist/_chunks/local-main-SOERK22D.js +0 -1
  212. package/dist/_chunks/local-mcp-JLPXXIDW.js +0 -1
  213. package/dist/_chunks/main-4SNF5EKE.js +0 -2
  214. package/dist/_chunks/mcp-EIMXNRH3.js +0 -1
  215. package/dist/_chunks/oauth-257CEUQH.js +0 -1
  216. package/dist/_chunks/project-connect-6MH2QG6G.js +0 -1
  217. package/dist/_chunks/src-7F6ZEU3U.js +0 -1
@@ -1,37 +1,13 @@
1
1
  import { z } from "zod";
2
- export declare const LocalRuntimeDescriptorSchema: z.ZodObject<{
3
- protocol: z.ZodLiteral<"NVS_RUNTIME_DESCRIPTOR_V1">;
4
- version: z.ZodString;
5
- node: z.ZodObject<{
6
- major: z.ZodLiteral<24>;
7
- minMinor: z.ZodLiteral<12>;
8
- }, z.core.$strict>;
9
- platform: z.ZodObject<{
10
- os: z.ZodEnum<{
11
- darwin: "darwin";
12
- linux: "linux";
13
- win32: "win32";
14
- }>;
15
- architecture: z.ZodEnum<{
16
- x64: "x64";
17
- arm64: "arm64";
18
- }>;
19
- }, z.core.$strict>;
20
- ipcProtocol: z.ZodLiteral<"NVS_LOCAL_IPC_V1">;
21
- workProtocol: z.ZodLiteral<"NVS_LOCAL_WORK_V1">;
22
- journalSchema: z.ZodLiteral<1>;
23
- rendererDigest: z.ZodString;
24
- profileDigest: z.ZodString;
25
- }, z.core.$strict>;
2
+ import { LocalRuntimeDescriptorSchema } from "./descriptor.js";
3
+ export { LocalRuntimeDescriptorSchema, LocalReleaseAssetSchema } from "./descriptor.js";
26
4
  export declare const LocalSessionConnectorSchema: z.ZodObject<{
27
5
  protocol: z.ZodLiteral<"NVS_LOCAL_CONNECTOR_V1">;
28
6
  stateDirectory: z.ZodString;
29
7
  credential: z.ZodString;
30
8
  expiresAt: z.ZodISODateTime;
31
- projects: z.ZodArray<z.ZodObject<{
32
- tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
33
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
34
- }, z.core.$strict>>;
9
+ tenantId: z.ZodUUID;
10
+ deviceId: z.ZodUUID;
35
11
  }, z.core.$strict>;
36
12
  export declare const LocalManagementInventorySchema: z.ZodObject<{
37
13
  runtimeRevision: z.ZodInt;
@@ -49,26 +25,28 @@ export declare const LocalManagementInventorySchema: z.ZodObject<{
49
25
  win32: "win32";
50
26
  }>;
51
27
  architecture: z.ZodEnum<{
52
- x64: "x64";
53
28
  arm64: "arm64";
29
+ x64: "x64";
54
30
  }>;
55
31
  }, z.core.$strict>;
56
32
  ipcProtocol: z.ZodLiteral<"NVS_LOCAL_IPC_V1">;
57
- workProtocol: z.ZodLiteral<"NVS_LOCAL_WORK_V1">;
33
+ workProtocol: z.ZodEnum<{
34
+ NVS_LOCAL_WORK_V1: "NVS_LOCAL_WORK_V1";
35
+ NVS_LOCAL_WORK_V2: "NVS_LOCAL_WORK_V2";
36
+ }>;
58
37
  journalSchema: z.ZodLiteral<1>;
59
38
  rendererDigest: z.ZodString;
60
39
  profileDigest: z.ZodString;
40
+ compatibleRenderers: z.ZodOptional<z.ZodArray<z.ZodObject<{
41
+ rendererDigest: z.ZodString;
42
+ profileDigest: z.ZodString;
43
+ }, z.core.$strict>>>;
61
44
  }, z.core.$strict>;
62
45
  activeProcesses: z.ZodInt;
63
46
  pendingExecutions: z.ZodInt;
64
47
  pendingRequests: z.ZodInt;
65
48
  pendingRenderers: z.ZodArray<z.ZodString>;
66
49
  }, z.core.$strict>;
67
- export declare const LocalReleaseAssetSchema: z.ZodObject<{
68
- url: z.ZodString;
69
- byteSize: z.ZodInt;
70
- sha512: z.ZodString;
71
- }, z.core.$strict>;
72
50
  export declare const LocalReleaseSchema: z.ZodObject<{
73
51
  descriptor: z.ZodObject<{
74
52
  protocol: z.ZodLiteral<"NVS_RUNTIME_DESCRIPTOR_V1">;
@@ -84,15 +62,22 @@ export declare const LocalReleaseSchema: z.ZodObject<{
84
62
  win32: "win32";
85
63
  }>;
86
64
  architecture: z.ZodEnum<{
87
- x64: "x64";
88
65
  arm64: "arm64";
66
+ x64: "x64";
89
67
  }>;
90
68
  }, z.core.$strict>;
91
69
  ipcProtocol: z.ZodLiteral<"NVS_LOCAL_IPC_V1">;
92
- workProtocol: z.ZodLiteral<"NVS_LOCAL_WORK_V1">;
70
+ workProtocol: z.ZodEnum<{
71
+ NVS_LOCAL_WORK_V1: "NVS_LOCAL_WORK_V1";
72
+ NVS_LOCAL_WORK_V2: "NVS_LOCAL_WORK_V2";
73
+ }>;
93
74
  journalSchema: z.ZodLiteral<1>;
94
75
  rendererDigest: z.ZodString;
95
76
  profileDigest: z.ZodString;
77
+ compatibleRenderers: z.ZodOptional<z.ZodArray<z.ZodObject<{
78
+ rendererDigest: z.ZodString;
79
+ profileDigest: z.ZodString;
80
+ }, z.core.$strict>>>;
96
81
  }, z.core.$strict>;
97
82
  package: z.ZodObject<{
98
83
  url: z.ZodString;
@@ -113,6 +98,73 @@ export declare const LocalReleaseSchema: z.ZodObject<{
113
98
  sha256: z.ZodString;
114
99
  }, z.core.$strict>;
115
100
  }, z.core.$strict>>;
101
+ resources: z.ZodOptional<z.ZodObject<{
102
+ captions: z.ZodObject<{
103
+ url: z.ZodString;
104
+ sha512: z.ZodString;
105
+ byteSize: z.ZodInt;
106
+ }, z.core.$strict>;
107
+ }, z.core.$strict>>;
108
+ }, z.core.$strict>;
109
+ /** CLI 来源没有伪造下载 URL;安装计划仍绑定同一描述与精确代码字节。 */
110
+ export declare const LocalBundledReleaseSchema: z.ZodObject<{
111
+ descriptor: z.ZodObject<{
112
+ protocol: z.ZodLiteral<"NVS_RUNTIME_DESCRIPTOR_V1">;
113
+ version: z.ZodString;
114
+ node: z.ZodObject<{
115
+ major: z.ZodLiteral<24>;
116
+ minMinor: z.ZodLiteral<12>;
117
+ }, z.core.$strict>;
118
+ platform: z.ZodObject<{
119
+ os: z.ZodEnum<{
120
+ darwin: "darwin";
121
+ linux: "linux";
122
+ win32: "win32";
123
+ }>;
124
+ architecture: z.ZodEnum<{
125
+ arm64: "arm64";
126
+ x64: "x64";
127
+ }>;
128
+ }, z.core.$strict>;
129
+ ipcProtocol: z.ZodLiteral<"NVS_LOCAL_IPC_V1">;
130
+ workProtocol: z.ZodEnum<{
131
+ NVS_LOCAL_WORK_V1: "NVS_LOCAL_WORK_V1";
132
+ NVS_LOCAL_WORK_V2: "NVS_LOCAL_WORK_V2";
133
+ }>;
134
+ journalSchema: z.ZodLiteral<1>;
135
+ rendererDigest: z.ZodString;
136
+ profileDigest: z.ZodString;
137
+ compatibleRenderers: z.ZodOptional<z.ZodArray<z.ZodObject<{
138
+ rendererDigest: z.ZodString;
139
+ profileDigest: z.ZodString;
140
+ }, z.core.$strict>>>;
141
+ }, z.core.$strict>;
142
+ tools: z.ZodNullable<z.ZodObject<{
143
+ ffmpeg: z.ZodObject<{
144
+ url: z.ZodString;
145
+ byteSize: z.ZodInt;
146
+ sha512: z.ZodString;
147
+ sha256: z.ZodString;
148
+ }, z.core.$strict>;
149
+ ffprobe: z.ZodObject<{
150
+ url: z.ZodString;
151
+ byteSize: z.ZodInt;
152
+ sha512: z.ZodString;
153
+ sha256: z.ZodString;
154
+ }, z.core.$strict>;
155
+ }, z.core.$strict>>;
156
+ resources: z.ZodOptional<z.ZodObject<{
157
+ captions: z.ZodObject<{
158
+ url: z.ZodString;
159
+ sha512: z.ZodString;
160
+ byteSize: z.ZodInt;
161
+ }, z.core.$strict>;
162
+ }, z.core.$strict>>;
163
+ package: z.ZodObject<{
164
+ byteSize: z.ZodInt;
165
+ sha512: z.ZodString;
166
+ source: z.ZodLiteral<"CLI">;
167
+ }, z.core.$strict>;
116
168
  }, z.core.$strict>;
117
169
  export declare const LocalReleaseCatalogueSchema: z.ZodObject<{
118
170
  protocol: z.ZodLiteral<"NVS_LOCAL_RELEASE_CATALOGUE_V1">;
@@ -133,15 +185,22 @@ export declare const LocalReleaseCatalogueSchema: z.ZodObject<{
133
185
  win32: "win32";
134
186
  }>;
135
187
  architecture: z.ZodEnum<{
136
- x64: "x64";
137
188
  arm64: "arm64";
189
+ x64: "x64";
138
190
  }>;
139
191
  }, z.core.$strict>;
140
192
  ipcProtocol: z.ZodLiteral<"NVS_LOCAL_IPC_V1">;
141
- workProtocol: z.ZodLiteral<"NVS_LOCAL_WORK_V1">;
193
+ workProtocol: z.ZodEnum<{
194
+ NVS_LOCAL_WORK_V1: "NVS_LOCAL_WORK_V1";
195
+ NVS_LOCAL_WORK_V2: "NVS_LOCAL_WORK_V2";
196
+ }>;
142
197
  journalSchema: z.ZodLiteral<1>;
143
198
  rendererDigest: z.ZodString;
144
199
  profileDigest: z.ZodString;
200
+ compatibleRenderers: z.ZodOptional<z.ZodArray<z.ZodObject<{
201
+ rendererDigest: z.ZodString;
202
+ profileDigest: z.ZodString;
203
+ }, z.core.$strict>>>;
145
204
  }, z.core.$strict>;
146
205
  package: z.ZodObject<{
147
206
  url: z.ZodString;
@@ -162,6 +221,13 @@ export declare const LocalReleaseCatalogueSchema: z.ZodObject<{
162
221
  sha256: z.ZodString;
163
222
  }, z.core.$strict>;
164
223
  }, z.core.$strict>>;
224
+ resources: z.ZodOptional<z.ZodObject<{
225
+ captions: z.ZodObject<{
226
+ url: z.ZodString;
227
+ sha512: z.ZodString;
228
+ byteSize: z.ZodInt;
229
+ }, z.core.$strict>;
230
+ }, z.core.$strict>>;
165
231
  }, z.core.$strict>>;
166
232
  }, z.core.$strict>;
167
233
  export declare const LocalSignedCatalogueSchema: z.ZodObject<{
@@ -184,15 +250,22 @@ export declare const LocalSignedCatalogueSchema: z.ZodObject<{
184
250
  win32: "win32";
185
251
  }>;
186
252
  architecture: z.ZodEnum<{
187
- x64: "x64";
188
253
  arm64: "arm64";
254
+ x64: "x64";
189
255
  }>;
190
256
  }, z.core.$strict>;
191
257
  ipcProtocol: z.ZodLiteral<"NVS_LOCAL_IPC_V1">;
192
- workProtocol: z.ZodLiteral<"NVS_LOCAL_WORK_V1">;
258
+ workProtocol: z.ZodEnum<{
259
+ NVS_LOCAL_WORK_V1: "NVS_LOCAL_WORK_V1";
260
+ NVS_LOCAL_WORK_V2: "NVS_LOCAL_WORK_V2";
261
+ }>;
193
262
  journalSchema: z.ZodLiteral<1>;
194
263
  rendererDigest: z.ZodString;
195
264
  profileDigest: z.ZodString;
265
+ compatibleRenderers: z.ZodOptional<z.ZodArray<z.ZodObject<{
266
+ rendererDigest: z.ZodString;
267
+ profileDigest: z.ZodString;
268
+ }, z.core.$strict>>>;
196
269
  }, z.core.$strict>;
197
270
  package: z.ZodObject<{
198
271
  url: z.ZodString;
@@ -213,17 +286,69 @@ export declare const LocalSignedCatalogueSchema: z.ZodObject<{
213
286
  sha256: z.ZodString;
214
287
  }, z.core.$strict>;
215
288
  }, z.core.$strict>>;
289
+ resources: z.ZodOptional<z.ZodObject<{
290
+ captions: z.ZodObject<{
291
+ url: z.ZodString;
292
+ sha512: z.ZodString;
293
+ byteSize: z.ZodInt;
294
+ }, z.core.$strict>;
295
+ }, z.core.$strict>>;
216
296
  }, z.core.$strict>>;
217
297
  }, z.core.$strict>;
218
298
  signature: z.ZodString;
219
299
  }, z.core.$strict>;
300
+ export declare const LocalToolChoiceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
301
+ mode: z.ZodLiteral<"MANAGED">;
302
+ cpuSpeech: z.ZodOptional<z.ZodObject<{
303
+ engineDirectory: z.ZodString;
304
+ modelDirectory: z.ZodString;
305
+ voiceIds: z.ZodArray<z.ZodInt>;
306
+ }, z.core.$strict>>;
307
+ reuseMedia: z.ZodOptional<z.ZodObject<{
308
+ schemaVersion: z.ZodLiteral<1>;
309
+ ffmpeg: z.ZodObject<{
310
+ path: z.ZodString;
311
+ digest: z.ZodString;
312
+ }, z.core.$strict>;
313
+ ffprobe: z.ZodObject<{
314
+ path: z.ZodString;
315
+ digest: z.ZodString;
316
+ }, z.core.$strict>;
317
+ }, z.core.$strict>>;
318
+ }, z.core.$strict>, z.ZodObject<{
319
+ compositionBrowser: z.ZodOptional<z.ZodObject<{
320
+ path: z.ZodString;
321
+ digest: z.ZodLiteral<string>;
322
+ }, z.core.$strict>>;
323
+ whisper: z.ZodOptional<z.ZodObject<{
324
+ binaryPath: z.ZodString;
325
+ binarySha256: z.ZodString;
326
+ modelPath: z.ZodString;
327
+ }, z.core.$strict>>;
328
+ cpuSpeech: z.ZodOptional<z.ZodObject<{
329
+ engineDirectory: z.ZodString;
330
+ modelDirectory: z.ZodString;
331
+ voiceIds: z.ZodArray<z.ZodInt>;
332
+ }, z.core.$strict>>;
333
+ ffmpeg: z.ZodObject<{
334
+ path: z.ZodString;
335
+ digest: z.ZodString;
336
+ }, z.core.$strict>;
337
+ ffprobe: z.ZodObject<{
338
+ path: z.ZodString;
339
+ digest: z.ZodString;
340
+ }, z.core.$strict>;
341
+ mode: z.ZodLiteral<"INSTALLED">;
342
+ captionAssetsDirectory: z.ZodOptional<z.ZodString>;
343
+ }, z.core.$strict>], "mode">;
220
344
  export declare const LocalUpdatePlanSchema: z.ZodObject<{
221
345
  protocol: z.ZodLiteral<"NVS_LOCAL_UPDATE_PLAN_V1">;
222
- planId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
346
+ planId: z.ZodUUID;
223
347
  installationRevision: z.ZodInt;
224
348
  runtimeRevision: z.ZodNullable<z.ZodInt>;
225
- catalogueFingerprint: z.ZodString;
226
- release: z.ZodObject<{
349
+ catalogueFingerprint: z.ZodNullable<z.ZodString>;
350
+ trustFingerprint: z.ZodOptional<z.ZodString>;
351
+ release: z.ZodUnion<readonly [z.ZodObject<{
227
352
  descriptor: z.ZodObject<{
228
353
  protocol: z.ZodLiteral<"NVS_RUNTIME_DESCRIPTOR_V1">;
229
354
  version: z.ZodString;
@@ -238,15 +363,22 @@ export declare const LocalUpdatePlanSchema: z.ZodObject<{
238
363
  win32: "win32";
239
364
  }>;
240
365
  architecture: z.ZodEnum<{
241
- x64: "x64";
242
366
  arm64: "arm64";
367
+ x64: "x64";
243
368
  }>;
244
369
  }, z.core.$strict>;
245
370
  ipcProtocol: z.ZodLiteral<"NVS_LOCAL_IPC_V1">;
246
- workProtocol: z.ZodLiteral<"NVS_LOCAL_WORK_V1">;
371
+ workProtocol: z.ZodEnum<{
372
+ NVS_LOCAL_WORK_V1: "NVS_LOCAL_WORK_V1";
373
+ NVS_LOCAL_WORK_V2: "NVS_LOCAL_WORK_V2";
374
+ }>;
247
375
  journalSchema: z.ZodLiteral<1>;
248
376
  rendererDigest: z.ZodString;
249
377
  profileDigest: z.ZodString;
378
+ compatibleRenderers: z.ZodOptional<z.ZodArray<z.ZodObject<{
379
+ rendererDigest: z.ZodString;
380
+ profileDigest: z.ZodString;
381
+ }, z.core.$strict>>>;
250
382
  }, z.core.$strict>;
251
383
  package: z.ZodObject<{
252
384
  url: z.ZodString;
@@ -267,7 +399,116 @@ export declare const LocalUpdatePlanSchema: z.ZodObject<{
267
399
  sha256: z.ZodString;
268
400
  }, z.core.$strict>;
269
401
  }, z.core.$strict>>;
270
- }, z.core.$strict>;
402
+ resources: z.ZodOptional<z.ZodObject<{
403
+ captions: z.ZodObject<{
404
+ url: z.ZodString;
405
+ sha512: z.ZodString;
406
+ byteSize: z.ZodInt;
407
+ }, z.core.$strict>;
408
+ }, z.core.$strict>>;
409
+ }, z.core.$strict>, z.ZodObject<{
410
+ descriptor: z.ZodObject<{
411
+ protocol: z.ZodLiteral<"NVS_RUNTIME_DESCRIPTOR_V1">;
412
+ version: z.ZodString;
413
+ node: z.ZodObject<{
414
+ major: z.ZodLiteral<24>;
415
+ minMinor: z.ZodLiteral<12>;
416
+ }, z.core.$strict>;
417
+ platform: z.ZodObject<{
418
+ os: z.ZodEnum<{
419
+ darwin: "darwin";
420
+ linux: "linux";
421
+ win32: "win32";
422
+ }>;
423
+ architecture: z.ZodEnum<{
424
+ arm64: "arm64";
425
+ x64: "x64";
426
+ }>;
427
+ }, z.core.$strict>;
428
+ ipcProtocol: z.ZodLiteral<"NVS_LOCAL_IPC_V1">;
429
+ workProtocol: z.ZodEnum<{
430
+ NVS_LOCAL_WORK_V1: "NVS_LOCAL_WORK_V1";
431
+ NVS_LOCAL_WORK_V2: "NVS_LOCAL_WORK_V2";
432
+ }>;
433
+ journalSchema: z.ZodLiteral<1>;
434
+ rendererDigest: z.ZodString;
435
+ profileDigest: z.ZodString;
436
+ compatibleRenderers: z.ZodOptional<z.ZodArray<z.ZodObject<{
437
+ rendererDigest: z.ZodString;
438
+ profileDigest: z.ZodString;
439
+ }, z.core.$strict>>>;
440
+ }, z.core.$strict>;
441
+ tools: z.ZodNullable<z.ZodObject<{
442
+ ffmpeg: z.ZodObject<{
443
+ url: z.ZodString;
444
+ byteSize: z.ZodInt;
445
+ sha512: z.ZodString;
446
+ sha256: z.ZodString;
447
+ }, z.core.$strict>;
448
+ ffprobe: z.ZodObject<{
449
+ url: z.ZodString;
450
+ byteSize: z.ZodInt;
451
+ sha512: z.ZodString;
452
+ sha256: z.ZodString;
453
+ }, z.core.$strict>;
454
+ }, z.core.$strict>>;
455
+ resources: z.ZodOptional<z.ZodObject<{
456
+ captions: z.ZodObject<{
457
+ url: z.ZodString;
458
+ sha512: z.ZodString;
459
+ byteSize: z.ZodInt;
460
+ }, z.core.$strict>;
461
+ }, z.core.$strict>>;
462
+ package: z.ZodObject<{
463
+ byteSize: z.ZodInt;
464
+ sha512: z.ZodString;
465
+ source: z.ZodLiteral<"CLI">;
466
+ }, z.core.$strict>;
467
+ }, z.core.$strict>]>;
468
+ toolSelection: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
469
+ mode: z.ZodLiteral<"MANAGED">;
470
+ cpuSpeech: z.ZodOptional<z.ZodObject<{
471
+ engineDirectory: z.ZodString;
472
+ modelDirectory: z.ZodString;
473
+ voiceIds: z.ZodArray<z.ZodInt>;
474
+ }, z.core.$strict>>;
475
+ reuseMedia: z.ZodOptional<z.ZodObject<{
476
+ schemaVersion: z.ZodLiteral<1>;
477
+ ffmpeg: z.ZodObject<{
478
+ path: z.ZodString;
479
+ digest: z.ZodString;
480
+ }, z.core.$strict>;
481
+ ffprobe: z.ZodObject<{
482
+ path: z.ZodString;
483
+ digest: z.ZodString;
484
+ }, z.core.$strict>;
485
+ }, z.core.$strict>>;
486
+ }, z.core.$strict>, z.ZodObject<{
487
+ compositionBrowser: z.ZodOptional<z.ZodObject<{
488
+ path: z.ZodString;
489
+ digest: z.ZodLiteral<string>;
490
+ }, z.core.$strict>>;
491
+ whisper: z.ZodOptional<z.ZodObject<{
492
+ binaryPath: z.ZodString;
493
+ binarySha256: z.ZodString;
494
+ modelPath: z.ZodString;
495
+ }, z.core.$strict>>;
496
+ cpuSpeech: z.ZodOptional<z.ZodObject<{
497
+ engineDirectory: z.ZodString;
498
+ modelDirectory: z.ZodString;
499
+ voiceIds: z.ZodArray<z.ZodInt>;
500
+ }, z.core.$strict>>;
501
+ ffmpeg: z.ZodObject<{
502
+ path: z.ZodString;
503
+ digest: z.ZodString;
504
+ }, z.core.$strict>;
505
+ ffprobe: z.ZodObject<{
506
+ path: z.ZodString;
507
+ digest: z.ZodString;
508
+ }, z.core.$strict>;
509
+ mode: z.ZodLiteral<"INSTALLED">;
510
+ captionAssetsDirectory: z.ZodOptional<z.ZodString>;
511
+ }, z.core.$strict>], "mode">>;
271
512
  fingerprint: z.ZodString;
272
513
  createdAt: z.ZodISODateTime;
273
514
  expiresAt: z.ZodISODateTime;
@@ -317,3 +558,4 @@ export type LocalSessionConnector = z.infer<typeof LocalSessionConnectorSchema>;
317
558
  export type LocalRelease = z.infer<typeof LocalReleaseSchema>;
318
559
  export type LocalSignedCatalogue = z.infer<typeof LocalSignedCatalogueSchema>;
319
560
  export type LocalUpdatePlan = z.infer<typeof LocalUpdatePlanSchema>;
561
+ export type LocalToolChoice = z.infer<typeof LocalToolChoiceSchema>;