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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (283) 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-27KI24GK.js +1 -0
  6. package/dist/_chunks/{chunk-C33A2DW4.js → chunk-3TOXIJ7K.js} +1 -1
  7. package/dist/_chunks/chunk-4M2SOMSN.js +1 -0
  8. package/dist/_chunks/chunk-4PAVWOPA.js +1 -0
  9. package/dist/_chunks/chunk-6EZX2TRX.js +1 -0
  10. package/dist/_chunks/chunk-7I7ARCY7.js +1 -0
  11. package/dist/_chunks/chunk-7P2NA6TH.js +1 -0
  12. package/dist/_chunks/chunk-AFNJRZLJ.js +1 -0
  13. package/dist/_chunks/chunk-APNZQZFB.js +1 -0
  14. package/dist/_chunks/chunk-D74NHT4I.js +45 -0
  15. package/dist/_chunks/chunk-DLW42PJ6.js +1 -0
  16. package/dist/_chunks/chunk-ELUJ44BO.js +1 -0
  17. package/dist/_chunks/chunk-FVY3PLG7.js +1 -0
  18. package/dist/_chunks/chunk-GLAF74UU.js +1 -0
  19. package/dist/_chunks/chunk-HBDPYWMI.js +1 -0
  20. package/dist/_chunks/chunk-IYDHDLTR.js +1 -0
  21. package/dist/_chunks/chunk-K35CWLDH.js +1 -0
  22. package/dist/_chunks/chunk-KOCUZ3AE.js +1 -0
  23. package/dist/_chunks/chunk-L3QA7FLZ.js +1 -0
  24. package/dist/_chunks/chunk-LBK42NHW.js +1 -0
  25. package/dist/_chunks/chunk-MLZ3ZPGU.js +1 -0
  26. package/dist/_chunks/chunk-NG4BDFEY.js +1 -0
  27. package/dist/_chunks/chunk-OSO6KRE2.js +1 -0
  28. package/dist/_chunks/{chunk-VDNNFVTZ.js → chunk-OW6R4MAQ.js} +1 -1
  29. package/dist/_chunks/chunk-QE7O57PQ.js +1 -0
  30. package/dist/_chunks/chunk-QGK6G6YS.js +1 -0
  31. package/dist/_chunks/chunk-QK4XPVKT.js +1 -0
  32. package/dist/_chunks/chunk-ROGOASYF.js +1 -0
  33. package/dist/_chunks/chunk-TT7IA5HB.js +1 -0
  34. package/dist/_chunks/chunk-UYKCN5DU.js +1 -0
  35. package/dist/_chunks/chunk-WTJVS2VS.js +1 -0
  36. package/dist/_chunks/chunk-XUSVNPR5.js +1 -0
  37. package/dist/_chunks/component-contract-KXK7WIUI.js +1 -0
  38. package/dist/_chunks/component-preflight-WECLCZLF.js +1 -0
  39. package/dist/_chunks/connect-7TJDWXV4.js +1 -0
  40. package/dist/_chunks/device-management-TLRUMZL5.js +1 -0
  41. package/dist/_chunks/device-preflight-C7FFUXI2.js +1 -0
  42. package/dist/_chunks/devices-inventory-BZF53UAU.js +1 -0
  43. package/dist/_chunks/devices-main-V3YHCB2C.js +1 -0
  44. package/dist/_chunks/files-JJ6YOULB.js +1 -0
  45. package/dist/_chunks/host-component-Q5IHRHRI.js +1 -0
  46. package/dist/_chunks/host-help-7BGYR4ET.js +1 -0
  47. package/dist/_chunks/host-main-JLIBRHC2.js +1 -0
  48. package/dist/_chunks/http-profile-3VVSWYA5.js +1 -0
  49. package/dist/_chunks/library-main-ATRFEAVN.js +1 -0
  50. package/dist/_chunks/local-main-KTYCLHDA.js +1 -0
  51. package/dist/_chunks/local-mcp-ISMU6ADI.js +1 -0
  52. package/dist/_chunks/main-MOZS2EK3.js +2 -0
  53. package/dist/_chunks/mcp-M2SO3J2H.js +1 -0
  54. package/dist/_chunks/oauth-RPME2XYB.js +1 -0
  55. package/dist/_chunks/observe-entry-E6DFHIMW.js +1 -0
  56. package/dist/_chunks/remote-client-T75C45JO.js +1 -0
  57. package/dist/_chunks/render-main-OGCO2LX4.js +1 -0
  58. package/dist/_chunks/series-main-FBERVYWG.js +1 -0
  59. package/dist/_chunks/source-import-55JJ26AA.js +1 -0
  60. package/dist/_chunks/src-V2K52JDH.js +1 -0
  61. package/dist/_chunks/stdio-main-HNLJCG45.js +1 -0
  62. package/dist/_chunks/workspace-main-3P56DSEQ.js +1 -0
  63. package/dist/_types/cli/local/desktop-contract.d.ts +1981 -22
  64. package/dist/_types/cli/local/desktop-device-contract.d.ts +807 -0
  65. package/dist/_types/cli/local/desktop-device-navigation.d.ts +3 -0
  66. package/dist/_types/cli/local/desktop-device-owner.d.ts +273 -0
  67. package/dist/_types/cli/local/desktop-device-state.d.ts +455 -0
  68. package/dist/_types/cli/local/desktop-library.d.ts +853 -0
  69. package/dist/_types/cli/local/desktop-owner.d.ts +787 -4
  70. package/dist/_types/cli/local/ledger.d.ts +76 -20
  71. package/dist/_types/cli/local/manager.d.ts +1233 -49
  72. package/dist/_types/cli/local/mcp-tools.d.ts +313 -54
  73. package/dist/_types/cli/local/releases.d.ts +30 -7
  74. package/dist/_types/cli/local-management.d.ts +9 -2
  75. package/dist/_types/cli/local-navigation.d.ts +1 -0
  76. package/dist/_types/contracts/agent-execution-lifecycle.d.ts +55 -43
  77. package/dist/_types/contracts/agent-execution-oauth.d.ts +2 -2
  78. package/dist/_types/contracts/agent-execution-registration.d.ts +59 -15
  79. package/dist/_types/contracts/agent-execution-selection.d.ts +7 -7
  80. package/dist/_types/contracts/agent-host-contract.d.ts +189 -0
  81. package/dist/_types/contracts/agent-host-execution.d.ts +92 -61
  82. package/dist/_types/contracts/agent-host-generic-transport.d.ts +4 -4
  83. package/dist/_types/contracts/agent-host-legacy-release.d.ts +31 -0
  84. package/dist/_types/contracts/agent-host-protocol.d.ts +71 -0
  85. package/dist/_types/contracts/agent-host-wire.d.ts +263 -0
  86. package/dist/_types/contracts/agent-host.d.ts +126 -65
  87. package/dist/_types/contracts/artifact-discovery.d.ts +143 -11
  88. package/dist/_types/contracts/audio.d.ts +166 -0
  89. package/dist/_types/contracts/component-status.d.ts +241 -0
  90. package/dist/_types/contracts/composition-authoring.d.ts +8 -8
  91. package/dist/_types/contracts/composition-frame-render.d.ts +4 -4
  92. package/dist/_types/contracts/composition-observation.d.ts +1 -1
  93. package/dist/_types/contracts/composition-render-base.d.ts +5 -4
  94. package/dist/_types/contracts/composition-render.d.ts +8 -8
  95. package/dist/_types/contracts/composition-repair.d.ts +10 -10
  96. package/dist/_types/contracts/composition-source-review.d.ts +13 -13
  97. package/dist/_types/contracts/consistency-profile.d.ts +102 -6
  98. package/dist/_types/contracts/continuity-evaluation.d.ts +1 -1
  99. package/dist/_types/contracts/delivery-completion.d.ts +1 -1
  100. package/dist/_types/contracts/delivery-manifest.d.ts +25 -11729
  101. package/dist/_types/contracts/delivery-operations.d.ts +207 -3915
  102. package/dist/_types/contracts/delivery-summary.d.ts +4 -4
  103. package/dist/_types/contracts/delivery-validation.d.ts +25 -2
  104. package/dist/_types/contracts/device-onboarding.d.ts +35 -0
  105. package/dist/_types/contracts/device-render.d.ts +113 -0
  106. package/dist/_types/contracts/editor-intelligence.d.ts +392 -2531
  107. package/dist/_types/contracts/enterprise-brand.d.ts +302 -0
  108. package/dist/_types/contracts/exploration-recommendation.d.ts +263 -11607
  109. package/dist/_types/contracts/external-agent-access.d.ts +4 -6
  110. package/dist/_types/contracts/federation-event-link-receiver.d.ts +200 -0
  111. package/dist/_types/contracts/federation-event-link.d.ts +485 -0
  112. package/dist/_types/contracts/federation-result.d.ts +239 -0
  113. package/dist/_types/contracts/final-ready.d.ts +24 -24
  114. package/dist/_types/contracts/final-render.d.ts +1742 -6949
  115. package/dist/_types/contracts/human-identity.d.ts +13 -0
  116. package/dist/_types/contracts/human-links.d.ts +58 -0
  117. package/dist/_types/contracts/index.d.ts +26 -0
  118. package/dist/_types/contracts/interface/common.d.ts +18 -0
  119. package/dist/_types/contracts/interface/execution-output.d.ts +9 -6
  120. package/dist/_types/contracts/interface/media-output.d.ts +118 -0
  121. package/dist/_types/contracts/interface/operation.d.ts +30 -0
  122. package/dist/_types/contracts/interface/production-snapshot.d.ts +81 -199
  123. package/dist/_types/contracts/interface/query.d.ts +60 -0
  124. package/dist/_types/contracts/keyframe-generation.d.ts +31 -2
  125. package/dist/_types/contracts/keyframe-review.d.ts +7 -7
  126. package/dist/_types/contracts/lifecycle-event-projections.d.ts +17 -2
  127. package/dist/_types/contracts/lifecycle-events.d.ts +54 -2
  128. package/dist/_types/contracts/local-execution/agent-component-status.d.ts +109 -0
  129. package/dist/_types/contracts/local-execution/agent-context.d.ts +385 -0
  130. package/dist/_types/contracts/local-execution/agent-evidence.d.ts +79 -0
  131. package/dist/_types/contracts/local-execution/agent-grant.d.ts +31 -0
  132. package/dist/_types/contracts/local-execution/agent-review.d.ts +529 -71
  133. package/dist/_types/contracts/local-execution/audio-profile.d.ts +6 -0
  134. package/dist/_types/contracts/local-execution/common.d.ts +12 -11
  135. package/dist/_types/contracts/local-execution/completion.d.ts +41 -45
  136. package/dist/_types/contracts/local-execution/components.d.ts +45 -0
  137. package/dist/_types/contracts/local-execution/cpu-preparation.d.ts +46 -0
  138. package/dist/_types/contracts/local-execution/cpu-resources.d.ts +55 -0
  139. package/dist/_types/contracts/local-execution/cpu-speech-job.d.ts +70 -0
  140. package/dist/_types/contracts/local-execution/cpu-speech.d.ts +161 -0
  141. package/dist/_types/contracts/local-execution/descriptor.d.ts +38 -0
  142. package/dist/_types/contracts/local-execution/device-authority.d.ts +31 -0
  143. package/dist/_types/contracts/local-execution/device-inventory.d.ts +108 -0
  144. package/dist/_types/contracts/local-execution/device-workspace.d.ts +11 -0
  145. package/dist/_types/contracts/local-execution/device.d.ts +24 -55
  146. package/dist/_types/contracts/local-execution/enrollment-credential.d.ts +141 -0
  147. package/dist/_types/contracts/local-execution/enrollment-handoff.d.ts +44 -0
  148. package/dist/_types/contracts/local-execution/external-generation.d.ts +199 -0
  149. package/dist/_types/contracts/local-execution/index.d.ts +36 -0
  150. package/dist/_types/contracts/local-execution/ipc.d.ts +2809 -231
  151. package/dist/_types/contracts/local-execution/library-command.d.ts +620 -0
  152. package/dist/_types/contracts/local-execution/library-result.d.ts +428 -0
  153. package/dist/_types/contracts/local-execution/library.d.ts +873 -0
  154. package/dist/_types/contracts/local-execution/lifecycle.d.ts +262 -48
  155. package/dist/_types/contracts/local-execution/local-navigation.d.ts +304 -67
  156. package/dist/_types/contracts/local-execution/management.d.ts +407 -0
  157. package/dist/_types/contracts/local-execution/media-recipe.d.ts +207 -0
  158. package/dist/_types/contracts/local-execution/media-validation-request.d.ts +232 -0
  159. package/dist/_types/contracts/local-execution/media-validation.d.ts +262 -0
  160. package/dist/_types/contracts/local-execution/object-transfer.d.ts +155 -0
  161. package/dist/_types/contracts/local-execution/offline.d.ts +59 -0
  162. package/dist/_types/contracts/local-execution/preview.d.ts +177 -3561
  163. package/dist/_types/contracts/local-execution/processor-capability.d.ts +49 -0
  164. package/dist/_types/contracts/local-execution/processor-direct.d.ts +290 -0
  165. package/dist/_types/contracts/local-execution/processor-recipes.d.ts +1194 -0
  166. package/dist/_types/contracts/local-execution/processor-toolchain.d.ts +47 -0
  167. package/dist/_types/contracts/local-execution/processor.d.ts +6424 -0
  168. package/dist/_types/contracts/local-execution/project-source-direct.d.ts +201 -0
  169. package/dist/_types/contracts/local-execution/qwen-tts.d.ts +31 -0
  170. package/dist/_types/contracts/local-execution/recognition.d.ts +170 -0
  171. package/dist/_types/contracts/local-execution/speech.d.ts +95 -0
  172. package/dist/_types/contracts/local-execution/tool-selection.d.ts +71 -5
  173. package/dist/_types/contracts/local-execution/whisper.d.ts +24 -0
  174. package/dist/_types/contracts/local-execution/work.d.ts +124 -3402
  175. package/dist/_types/contracts/local-execution/workspace.d.ts +141 -0
  176. package/dist/_types/contracts/mcp-capabilities.d.ts +16 -0
  177. package/dist/_types/contracts/media-category.d.ts +11 -0
  178. package/dist/_types/contracts/media-observation.d.ts +930 -9
  179. package/dist/_types/contracts/native-speech-model.d.ts +53 -0
  180. package/dist/_types/contracts/native-speech-options.d.ts +25 -0
  181. package/dist/_types/contracts/native-tool-authority.d.ts +25 -21
  182. package/dist/_types/contracts/native-tool-execution.d.ts +60 -39
  183. package/dist/_types/contracts/navigation-context.d.ts +28 -8
  184. package/dist/_types/contracts/navigation-groups.d.ts +2 -2
  185. package/dist/_types/contracts/navigation.d.ts +78 -25
  186. package/dist/_types/contracts/observation-profile.d.ts +3 -3
  187. package/dist/_types/contracts/production-creation.d.ts +30 -0
  188. package/dist/_types/contracts/production-feedback.d.ts +452 -0
  189. package/dist/_types/contracts/production.d.ts +30 -0
  190. package/dist/_types/contracts/programmatic-composition.d.ts +24 -24
  191. package/dist/_types/contracts/programmatic-exploration.d.ts +362 -5999
  192. package/dist/_types/contracts/programmatic-video-review.d.ts +5 -5
  193. package/dist/_types/contracts/project-library.d.ts +30 -0
  194. package/dist/_types/contracts/project.d.ts +30 -0
  195. package/dist/_types/contracts/provider-catalog.d.ts +3 -3
  196. package/dist/_types/contracts/provider-models.d.ts +209 -8
  197. package/dist/_types/contracts/provider.d.ts +66 -1
  198. package/dist/_types/contracts/reference-preview.d.ts +20 -0
  199. package/dist/_types/contracts/render-readiness.d.ts +175 -0
  200. package/dist/_types/contracts/repair-lifecycle.d.ts +64 -396
  201. package/dist/_types/contracts/repair-plan.d.ts +18 -100
  202. package/dist/_types/contracts/repair-strategy.d.ts +163 -4478
  203. package/dist/_types/contracts/review-intelligence-final-output.d.ts +418 -8150
  204. package/dist/_types/contracts/review-intelligence.d.ts +455 -11423
  205. package/dist/_types/contracts/review1-repair-source.d.ts +6 -6
  206. package/dist/_types/contracts/review1-repair-strategy.d.ts +4 -4
  207. package/dist/_types/contracts/rough-cut-manifest.d.ts +27 -7
  208. package/dist/_types/contracts/rough-cut-profile.d.ts +12 -3
  209. package/dist/_types/contracts/rough-cut-review.d.ts +144 -12495
  210. package/dist/_types/contracts/rough-cut.d.ts +1170 -5673
  211. package/dist/_types/contracts/series-canon.d.ts +97 -0
  212. package/dist/_types/contracts/series-character.d.ts +23 -0
  213. package/dist/_types/contracts/series-improvement.d.ts +1639 -0
  214. package/dist/_types/contracts/series-standard.d.ts +1641 -0
  215. package/dist/_types/contracts/shares.d.ts +135 -0
  216. package/dist/_types/contracts/shot-preparation-basis.d.ts +2 -2
  217. package/dist/_types/contracts/shot-preparation.d.ts +4 -4
  218. package/dist/_types/contracts/sound-making-plan.d.ts +210 -2
  219. package/dist/_types/contracts/speech-cost.d.ts +96 -0
  220. package/dist/_types/contracts/speech-parameters.d.ts +39 -0
  221. package/dist/_types/contracts/speech.d.ts +603 -23
  222. package/dist/_types/contracts/temporal-evidence-operation.d.ts +2 -1
  223. package/dist/_types/contracts/timeline-audio.d.ts +20 -4
  224. package/dist/_types/contracts/timeline-manifest.d.ts +40 -8
  225. package/dist/_types/contracts/timeline-source-sound.d.ts +42 -4
  226. package/dist/_types/contracts/timeline-v2.d.ts +124 -16
  227. package/dist/_types/contracts/timeline-version-reader.d.ts +288 -40
  228. package/dist/_types/contracts/timeline-visual-layers.d.ts +124 -16
  229. package/dist/_types/contracts/timeline.d.ts +50 -4850
  230. package/dist/_types/contracts/transcription.d.ts +1 -1
  231. package/dist/_types/contracts/video-generation.d.ts +35 -2
  232. package/dist/_types/contracts/video-review.d.ts +7 -7
  233. package/dist/_types/contracts/visual-exploration.d.ts +3 -3
  234. package/dist/_types/contracts/visual-layer-render.d.ts +298 -47
  235. package/dist/_types/contracts/visual-sequence.d.ts +22 -0
  236. package/dist/_types/contracts/voice-consistency.d.ts +183 -0
  237. package/dist/_types/contracts/voice-profile/contracts.d.ts +821 -0
  238. package/dist/_types/contracts/voice-profile/identity.d.ts +27 -0
  239. package/dist/_types/contracts/voice-profile/interface.d.ts +89 -0
  240. package/dist/_types/contracts/voice-profile/reference.d.ts +106 -0
  241. package/dist/_types/contracts/voice-review.d.ts +1194 -0
  242. package/dist/_types/contracts/workspace.d.ts +83 -0
  243. package/dist/_types/sdk/errors.d.ts +9 -3
  244. package/dist/_types/sdk/local-runtime/components.d.ts +2 -0
  245. package/dist/_types/sdk/local-runtime/device-client.d.ts +181 -19
  246. package/dist/_types/sdk/local-runtime/library.d.ts +268 -0
  247. package/dist/_types/sdk/local-runtime/workspace.d.ts +186 -0
  248. package/dist/_types/sdk/local-runtime-client.d.ts +1934 -96
  249. package/dist/entry.js +1 -1
  250. package/dist/local-management.js +1 -1
  251. package/dist/local-navigation.js +1 -1
  252. package/dist/native/helper.exe +0 -0
  253. package/dist/native/helper.json +1 -0
  254. package/package.json +2 -8
  255. package/README.md +0 -95
  256. package/dist/_chunks/chunk-66CUOZVI.js +0 -1
  257. package/dist/_chunks/chunk-6NVIN2NI.js +0 -1
  258. package/dist/_chunks/chunk-7S3DJ2QE.js +0 -1
  259. package/dist/_chunks/chunk-BVSTJQJI.js +0 -1
  260. package/dist/_chunks/chunk-C753RRRA.js +0 -1
  261. package/dist/_chunks/chunk-E57YVMQ4.js +0 -1
  262. package/dist/_chunks/chunk-GJ7BZJLW.js +0 -1
  263. package/dist/_chunks/chunk-HLKERZIE.js +0 -1
  264. package/dist/_chunks/chunk-K6LVS2IN.js +0 -1
  265. package/dist/_chunks/chunk-KHKUJXQX.js +0 -1
  266. package/dist/_chunks/chunk-PUNG4ND7.js +0 -1
  267. package/dist/_chunks/chunk-VC3ODN3M.js +0 -1
  268. package/dist/_chunks/chunk-VPYAXWXY.js +0 -1
  269. package/dist/_chunks/files-FZEK2ZZJ.js +0 -1
  270. package/dist/_chunks/local-main-NLFS74Q4.js +0 -1
  271. package/dist/_chunks/local-mcp-OLHBBVNN.js +0 -1
  272. package/dist/_chunks/main-VRIQTI6R.js +0 -2
  273. package/dist/_chunks/mcp-EIMXNRH3.js +0 -1
  274. package/dist/_chunks/oauth-F7EZGVME.js +0 -1
  275. package/dist/_chunks/project-connect-MXM7IY55.js +0 -1
  276. package/dist/_chunks/src-7F6ZEU3U.js +0 -1
  277. package/dist/_chunks/stdio-main-KOGQ5OWF.js +0 -1
  278. package/dist/native/Bootstrap.ps1 +0 -90
  279. package/dist/native/JobNative.cs +0 -127
  280. package/dist/native/JobRunner.cs +0 -360
  281. package/dist/native/NativeMain.cs +0 -146
  282. package/dist/native/PipeBridge.cs +0 -260
  283. package/dist/native/PrivateAccess.cs +0 -152
@@ -1,6 +1,48 @@
1
1
  import { z } from "zod";
2
2
  import { LocalMcpOutputSchemas } from "../../sdk/local-runtime-client.js";
3
3
  export declare const localTools: {
4
+ readonly local_library_list: {
5
+ readonly description: "Read bounded metadata projections of this device library in an explicitly authorized Project. No paths, bytes, import or native admission.";
6
+ readonly input: z.ZodObject<{
7
+ search: z.ZodOptional<z.ZodString>;
8
+ tenantId: z.ZodUUID;
9
+ limit: z.ZodDefault<z.ZodInt>;
10
+ after: z.ZodDefault<z.ZodNullable<z.ZodString>>;
11
+ deviceId: z.ZodUUID;
12
+ mediaCategory: z.ZodOptional<z.ZodEnum<{
13
+ IMAGE: "IMAGE";
14
+ VIDEO: "VIDEO";
15
+ AUDIO: "AUDIO";
16
+ DOCUMENT: "DOCUMENT";
17
+ }>>;
18
+ projectId: z.ZodUUID;
19
+ }, z.core.$strict>;
20
+ };
21
+ readonly local_library_get: {
22
+ readonly description: "Read metadata for one exact authorized local-file version. This does not inspect/decode bytes or create a Job.";
23
+ readonly input: z.ZodObject<{
24
+ reference: z.ZodObject<{
25
+ tenantId: z.ZodUUID;
26
+ projectId: z.ZodUUID;
27
+ fileId: z.ZodUUID;
28
+ versionId: z.ZodUUID;
29
+ checksumSha256: z.ZodString;
30
+ byteSize: z.ZodInt;
31
+ contentType: z.ZodEnum<{
32
+ "application/json": "application/json";
33
+ "application/pdf": "application/pdf";
34
+ "application/octet-stream": "application/octet-stream";
35
+ "text/plain": "text/plain";
36
+ "image/png": "image/png";
37
+ "image/jpeg": "image/jpeg";
38
+ "image/webp": "image/webp";
39
+ "audio/wav": "audio/wav";
40
+ "video/mp4": "video/mp4";
41
+ }>;
42
+ deviceId: z.ZodUUID;
43
+ }, z.core.$strict>;
44
+ }, z.core.$strict>;
45
+ };
4
46
  readonly local_navigate: {
5
47
  readonly description: "Local execution entry. Discover Project-scoped Runtime progress, recovery and updates. Native writes remain with the cloud owner.";
6
48
  readonly input: z.ZodObject<{
@@ -15,6 +57,8 @@ export declare const localTools: {
15
57
  local_execution_list: "local_execution_list";
16
58
  local_execution_inspect: "local_execution_inspect";
17
59
  local_update_check: "local_update_check";
60
+ local_library_list: "local_library_list";
61
+ local_library_get: "local_library_get";
18
62
  }>;
19
63
  }, z.core.$strict>;
20
64
  };
@@ -25,19 +69,22 @@ export declare const localTools: {
25
69
  readonly local_execution_list: {
26
70
  readonly description: "List a bounded page of pending local execution identities in one authorized Project, then inspect an exact native Job.";
27
71
  readonly input: z.ZodObject<{
28
- tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
29
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
72
+ tenantId: z.ZodUUID;
73
+ projectId: z.ZodUUID;
30
74
  after: z.ZodDefault<z.ZodNullable<z.ZodString>>;
31
75
  limit: z.ZodDefault<z.ZodInt>;
76
+ includeCompleted: z.ZodOptional<z.ZodBoolean>;
77
+ includeProgress: z.ZodOptional<z.ZodBoolean>;
32
78
  }, z.core.$strict>;
33
79
  };
34
80
  readonly local_execution_inspect: {
35
81
  readonly description: "Inspect one exact native Job in the authorized Project. Native Job/Attempt identity remains authoritative.";
36
82
  readonly input: z.ZodObject<{
37
- tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
38
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
39
- productionId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
40
- runtimeJobId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
83
+ tenantId: z.ZodUUID;
84
+ projectId: z.ZodUUID;
85
+ productionId: z.ZodUUID;
86
+ runtimeJobId: z.ZodUUID;
87
+ includeProgress: z.ZodOptional<z.ZodBoolean>;
41
88
  }, z.core.$strict>;
42
89
  };
43
90
  readonly local_update_check: {
@@ -49,21 +96,61 @@ export type LocalToolName = keyof typeof localTools;
49
96
  export declare class LocalMcpTools {
50
97
  private readonly client;
51
98
  private readonly home;
99
+ readonly library: boolean;
52
100
  private constructor();
53
- static open(connector: string, home: string): Promise<LocalMcpTools>;
101
+ static open(connector: string, home: string, library?: boolean): Promise<LocalMcpTools>;
102
+ get names(): ("local_navigate" | "local_capability_describe" | "local_runtime_status" | "local_execution_list" | "local_execution_inspect" | "local_update_check" | "local_library_list" | "local_library_get")[];
103
+ /** 输入允许缺省,输出反映实际回执;两种投影不可混用。 */
54
104
  schema(name: LocalToolName): {
55
- name: "local_navigate" | "local_capability_describe" | "local_runtime_status" | "local_execution_list" | "local_execution_inspect" | "local_update_check";
56
- description: "Local execution entry. Discover Project-scoped Runtime progress, recovery and updates. Native writes remain with the cloud owner." | "Inspect the exact public schema for a local capability. Standard discovery stays stable; each call validates current Runtime authority." | "Read current authorized local Runtime status. Does not start, stop or mutate native work." | "List a bounded page of pending local execution identities in one authorized Project, then inspect an exact native Job." | "Inspect one exact native Job in the authorized Project. Native Job/Attempt identity remains authoritative." | "Read signed compatible release metadata only. No executable download, approval, installation or restart.";
105
+ name: "local_navigate" | "local_capability_describe" | "local_runtime_status" | "local_execution_list" | "local_execution_inspect" | "local_update_check" | "local_library_list" | "local_library_get";
106
+ description: "Read bounded metadata projections of this device library in an explicitly authorized Project. No paths, bytes, import or native admission." | "Read metadata for one exact authorized local-file version. This does not inspect/decode bytes or create a Job." | "Local execution entry. Discover Project-scoped Runtime progress, recovery and updates. Native writes remain with the cloud owner." | "Inspect the exact public schema for a local capability. Standard discovery stays stable; each call validates current Runtime authority." | "Read current authorized local Runtime status. Does not start, stop or mutate native work." | "List a bounded page of pending local execution identities in one authorized Project, then inspect an exact native Job." | "Inspect one exact native Job in the authorized Project. Native Job/Attempt identity remains authoritative." | "Read signed compatible release metadata only. No executable download, approval, installation or restart.";
57
107
  inputSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
58
- tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
59
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
60
- productionId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
61
- runtimeJobId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
108
+ search: z.ZodOptional<z.ZodString>;
109
+ tenantId: z.ZodUUID;
110
+ limit: z.ZodDefault<z.ZodInt>;
111
+ after: z.ZodDefault<z.ZodNullable<z.ZodString>>;
112
+ deviceId: z.ZodUUID;
113
+ mediaCategory: z.ZodOptional<z.ZodEnum<{
114
+ IMAGE: "IMAGE";
115
+ VIDEO: "VIDEO";
116
+ AUDIO: "AUDIO";
117
+ DOCUMENT: "DOCUMENT";
118
+ }>>;
119
+ projectId: z.ZodUUID;
62
120
  }, z.core.$strict> | z.ZodObject<{
63
- tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
64
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
121
+ tenantId: z.ZodUUID;
122
+ projectId: z.ZodUUID;
65
123
  after: z.ZodDefault<z.ZodNullable<z.ZodString>>;
66
124
  limit: z.ZodDefault<z.ZodInt>;
125
+ includeCompleted: z.ZodOptional<z.ZodBoolean>;
126
+ includeProgress: z.ZodOptional<z.ZodBoolean>;
127
+ }, z.core.$strict> | z.ZodObject<{
128
+ tenantId: z.ZodUUID;
129
+ projectId: z.ZodUUID;
130
+ productionId: z.ZodUUID;
131
+ runtimeJobId: z.ZodUUID;
132
+ includeProgress: z.ZodOptional<z.ZodBoolean>;
133
+ }, z.core.$strict> | z.ZodObject<{
134
+ reference: z.ZodObject<{
135
+ tenantId: z.ZodUUID;
136
+ projectId: z.ZodUUID;
137
+ fileId: z.ZodUUID;
138
+ versionId: z.ZodUUID;
139
+ checksumSha256: z.ZodString;
140
+ byteSize: z.ZodInt;
141
+ contentType: z.ZodEnum<{
142
+ "application/json": "application/json";
143
+ "application/pdf": "application/pdf";
144
+ "application/octet-stream": "application/octet-stream";
145
+ "text/plain": "text/plain";
146
+ "image/png": "image/png";
147
+ "image/jpeg": "image/jpeg";
148
+ "image/webp": "image/webp";
149
+ "audio/wav": "audio/wav";
150
+ "video/mp4": "video/mp4";
151
+ }>;
152
+ deviceId: z.ZodUUID;
153
+ }, z.core.$strict>;
67
154
  }, z.core.$strict> | z.ZodObject<{
68
155
  intent: z.ZodOptional<z.ZodString>;
69
156
  }, z.core.$strict> | z.ZodObject<{
@@ -72,6 +159,8 @@ export declare class LocalMcpTools {
72
159
  local_execution_list: "local_execution_list";
73
160
  local_execution_inspect: "local_execution_inspect";
74
161
  local_update_check: "local_update_check";
162
+ local_library_list: "local_library_list";
163
+ local_library_get: "local_library_get";
75
164
  }>;
76
165
  }, z.core.$strict> | z.ZodObject<{}, z.core.$strict> | z.ZodObject<{}, z.core.$strict>>;
77
166
  outputSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
@@ -79,14 +168,15 @@ export declare class LocalMcpTools {
79
168
  state: z.ZodEnum<{
80
169
  UNAVAILABLE: "UNAVAILABLE";
81
170
  RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
82
- IDLE: "IDLE";
83
171
  EXECUTING: "EXECUTING";
84
172
  DRAINING: "DRAINING";
173
+ IDLE: "IDLE";
85
174
  }>;
86
- authorizedProjects: z.ZodOptional<z.ZodArray<z.ZodObject<{
87
- tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
88
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
89
- }, z.core.$strict>>>;
175
+ deviceAuthority: z.ZodOptional<z.ZodObject<{
176
+ tenantId: z.ZodUUID;
177
+ deviceId: z.ZodUUID;
178
+ origin: z.ZodURL;
179
+ }, z.core.$strict>>;
90
180
  groups: z.ZodArray<z.ZodObject<{
91
181
  id: z.ZodString;
92
182
  label: z.ZodString;
@@ -97,6 +187,8 @@ export declare class LocalMcpTools {
97
187
  local_execution_list: "local_execution_list";
98
188
  local_execution_inspect: "local_execution_inspect";
99
189
  local_update_check: "local_update_check";
190
+ local_library_list: "local_library_list";
191
+ local_library_get: "local_library_get";
100
192
  }>>;
101
193
  }, z.core.$strict>>;
102
194
  nextActions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
@@ -107,6 +199,8 @@ export declare class LocalMcpTools {
107
199
  local_execution_list: "local_execution_list";
108
200
  local_execution_inspect: "local_execution_inspect";
109
201
  local_update_check: "local_update_check";
202
+ local_library_list: "local_library_list";
203
+ local_library_get: "local_library_get";
110
204
  }>;
111
205
  arguments: z.ZodRecord<z.ZodString, z.ZodUnknown>;
112
206
  availability: z.ZodOptional<z.ZodEnum<{
@@ -145,8 +239,8 @@ export declare class LocalMcpTools {
145
239
  reason: z.ZodEnum<{
146
240
  UNAVAILABLE: "UNAVAILABLE";
147
241
  READY: "READY";
148
- INSTALL_REQUIRED: "INSTALL_REQUIRED";
149
242
  AUTHORIZATION_REQUIRED: "AUTHORIZATION_REQUIRED";
243
+ INSTALL_REQUIRED: "INSTALL_REQUIRED";
150
244
  VERSION_INCOMPATIBLE: "VERSION_INCOMPATIBLE";
151
245
  UPDATE_AVAILABLE: "UPDATE_AVAILABLE";
152
246
  RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
@@ -157,24 +251,24 @@ export declare class LocalMcpTools {
157
251
  }, z.core.$strict> | z.ZodObject<{
158
252
  items: z.ZodArray<z.ZodObject<{
159
253
  binding: z.ZodObject<{
160
- tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
161
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
162
- productionId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
163
- runtimeJobId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
164
- attemptId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
165
- assignmentRevision: z.ZodInt;
254
+ tenantId: z.ZodUUID;
255
+ projectId: z.ZodUUID;
256
+ productionId: z.ZodUUID;
257
+ runtimeJobId: z.ZodUUID;
258
+ attemptId: typeof import("../../contracts/local-execution/index.js").LocalIdSchema;
259
+ assignmentRevision: typeof import("../../contracts/local-execution/index.js").LocalRevisionSchema;
166
260
  workerId: z.ZodString;
167
- workFingerprint: z.ZodString;
168
- toolchainFingerprint: z.ZodString;
261
+ workFingerprint: typeof import("../../contracts/local-execution/index.js").LocalDigestSchema;
262
+ toolchainFingerprint: typeof import("../../contracts/local-execution/index.js").LocalDigestSchema;
169
263
  }, z.core.$strict>;
170
264
  revision: z.ZodInt;
171
265
  phase: z.ZodEnum<{
172
266
  RUNNING: "RUNNING";
267
+ FENCED: "FENCED";
173
268
  RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
174
269
  STAGED: "STAGED";
175
270
  OUTPUT_PENDING: "OUTPUT_PENDING";
176
271
  RECEIPT_RECORDED: "RECEIPT_RECORDED";
177
- FENCED: "FENCED";
178
272
  }>;
179
273
  checkpoint: z.ZodEnum<{
180
274
  ADOPTED: "ADOPTED";
@@ -182,6 +276,26 @@ export declare class LocalMcpTools {
182
276
  PROCESS_STARTED: "PROCESS_STARTED";
183
277
  OUTPUT_STAGED: "OUTPUT_STAGED";
184
278
  }>;
279
+ progress: z.ZodOptional<z.ZodObject<{
280
+ stage: z.ZodEnum<{
281
+ WAITING: "WAITING";
282
+ COMPLETE: "COMPLETE";
283
+ FENCED: "FENCED";
284
+ RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
285
+ DOWNLOADING: "DOWNLOADING";
286
+ EXECUTING: "EXECUTING";
287
+ UPLOADING: "UPLOADING";
288
+ AWAITING_ACCEPTANCE: "AWAITING_ACCEPTANCE";
289
+ }>;
290
+ downloadedBytes: z.ZodInt;
291
+ sourceBytes: z.ZodInt;
292
+ uploadedBytes: z.ZodInt;
293
+ outputBytes: z.ZodInt;
294
+ lastError: z.ZodNullable<z.ZodObject<{
295
+ code: z.ZodString;
296
+ observedAt: z.ZodISODateTime;
297
+ }, z.core.$strict>>;
298
+ }, z.core.$strict>>;
185
299
  }, z.core.$strict>>;
186
300
  nextCursor: z.ZodNullable<z.ZodString>;
187
301
  nextActions: z.ZodArray<z.ZodObject<{
@@ -192,6 +306,8 @@ export declare class LocalMcpTools {
192
306
  local_execution_list: "local_execution_list";
193
307
  local_execution_inspect: "local_execution_inspect";
194
308
  local_update_check: "local_update_check";
309
+ local_library_list: "local_library_list";
310
+ local_library_get: "local_library_get";
195
311
  }>;
196
312
  arguments: z.ZodRecord<z.ZodString, z.ZodUnknown>;
197
313
  availability: z.ZodOptional<z.ZodEnum<{
@@ -204,24 +320,24 @@ export declare class LocalMcpTools {
204
320
  location: z.ZodLiteral<"LOCAL">;
205
321
  execution: z.ZodNullable<z.ZodObject<{
206
322
  binding: z.ZodObject<{
207
- tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
208
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
209
- productionId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
210
- runtimeJobId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
211
- attemptId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
212
- assignmentRevision: z.ZodInt;
323
+ tenantId: z.ZodUUID;
324
+ projectId: z.ZodUUID;
325
+ productionId: z.ZodUUID;
326
+ runtimeJobId: z.ZodUUID;
327
+ attemptId: typeof import("../../contracts/local-execution/index.js").LocalIdSchema;
328
+ assignmentRevision: typeof import("../../contracts/local-execution/index.js").LocalRevisionSchema;
213
329
  workerId: z.ZodString;
214
- workFingerprint: z.ZodString;
215
- toolchainFingerprint: z.ZodString;
330
+ workFingerprint: typeof import("../../contracts/local-execution/index.js").LocalDigestSchema;
331
+ toolchainFingerprint: typeof import("../../contracts/local-execution/index.js").LocalDigestSchema;
216
332
  }, z.core.$strict>;
217
333
  revision: z.ZodInt;
218
334
  phase: z.ZodEnum<{
219
335
  RUNNING: "RUNNING";
336
+ FENCED: "FENCED";
220
337
  RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
221
338
  STAGED: "STAGED";
222
339
  OUTPUT_PENDING: "OUTPUT_PENDING";
223
340
  RECEIPT_RECORDED: "RECEIPT_RECORDED";
224
- FENCED: "FENCED";
225
341
  }>;
226
342
  checkpoint: z.ZodEnum<{
227
343
  ADOPTED: "ADOPTED";
@@ -229,6 +345,26 @@ export declare class LocalMcpTools {
229
345
  PROCESS_STARTED: "PROCESS_STARTED";
230
346
  OUTPUT_STAGED: "OUTPUT_STAGED";
231
347
  }>;
348
+ progress: z.ZodOptional<z.ZodObject<{
349
+ stage: z.ZodEnum<{
350
+ WAITING: "WAITING";
351
+ COMPLETE: "COMPLETE";
352
+ FENCED: "FENCED";
353
+ RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
354
+ DOWNLOADING: "DOWNLOADING";
355
+ EXECUTING: "EXECUTING";
356
+ UPLOADING: "UPLOADING";
357
+ AWAITING_ACCEPTANCE: "AWAITING_ACCEPTANCE";
358
+ }>;
359
+ downloadedBytes: z.ZodInt;
360
+ sourceBytes: z.ZodInt;
361
+ uploadedBytes: z.ZodInt;
362
+ outputBytes: z.ZodInt;
363
+ lastError: z.ZodNullable<z.ZodObject<{
364
+ code: z.ZodString;
365
+ observedAt: z.ZodISODateTime;
366
+ }, z.core.$strict>>;
367
+ }, z.core.$strict>>;
232
368
  }, z.core.$strict>>;
233
369
  nextActions: z.ZodArray<z.ZodObject<{
234
370
  tool: z.ZodEnum<{
@@ -238,6 +374,8 @@ export declare class LocalMcpTools {
238
374
  local_execution_list: "local_execution_list";
239
375
  local_execution_inspect: "local_execution_inspect";
240
376
  local_update_check: "local_update_check";
377
+ local_library_list: "local_library_list";
378
+ local_library_get: "local_library_get";
241
379
  }>;
242
380
  arguments: z.ZodRecord<z.ZodString, z.ZodUnknown>;
243
381
  availability: z.ZodOptional<z.ZodEnum<{
@@ -283,15 +421,22 @@ export declare class LocalMcpTools {
283
421
  win32: "win32";
284
422
  }>;
285
423
  architecture: z.ZodEnum<{
286
- x64: "x64";
287
424
  arm64: "arm64";
425
+ x64: "x64";
288
426
  }>;
289
427
  }, z.core.$strict>;
290
428
  ipcProtocol: z.ZodLiteral<"NVS_LOCAL_IPC_V1">;
291
- workProtocol: z.ZodLiteral<"NVS_LOCAL_WORK_V1">;
429
+ workProtocol: z.ZodEnum<{
430
+ NVS_LOCAL_WORK_V1: "NVS_LOCAL_WORK_V1";
431
+ NVS_LOCAL_WORK_V2: "NVS_LOCAL_WORK_V2";
432
+ }>;
292
433
  journalSchema: z.ZodLiteral<1>;
293
434
  rendererDigest: z.ZodString;
294
435
  profileDigest: z.ZodString;
436
+ compatibleRenderers: z.ZodOptional<z.ZodArray<z.ZodObject<{
437
+ rendererDigest: z.ZodString;
438
+ profileDigest: z.ZodString;
439
+ }, z.core.$strict>>>;
295
440
  }, z.core.$strict>>;
296
441
  nextActions: z.ZodArray<z.ZodObject<{
297
442
  surface: z.ZodEnum<{
@@ -324,8 +469,8 @@ export declare class LocalMcpTools {
324
469
  reason: z.ZodEnum<{
325
470
  UNAVAILABLE: "UNAVAILABLE";
326
471
  READY: "READY";
327
- INSTALL_REQUIRED: "INSTALL_REQUIRED";
328
472
  AUTHORIZATION_REQUIRED: "AUTHORIZATION_REQUIRED";
473
+ INSTALL_REQUIRED: "INSTALL_REQUIRED";
329
474
  VERSION_INCOMPATIBLE: "VERSION_INCOMPATIBLE";
330
475
  UPDATE_AVAILABLE: "UPDATE_AVAILABLE";
331
476
  RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
@@ -342,6 +487,8 @@ export declare class LocalMcpTools {
342
487
  local_execution_list: "local_execution_list";
343
488
  local_execution_inspect: "local_execution_inspect";
344
489
  local_update_check: "local_update_check";
490
+ local_library_list: "local_library_list";
491
+ local_library_get: "local_library_get";
345
492
  }>;
346
493
  schema: z.ZodObject<{
347
494
  name: z.ZodEnum<{
@@ -351,21 +498,77 @@ export declare class LocalMcpTools {
351
498
  local_execution_list: "local_execution_list";
352
499
  local_execution_inspect: "local_execution_inspect";
353
500
  local_update_check: "local_update_check";
501
+ local_library_list: "local_library_list";
502
+ local_library_get: "local_library_get";
354
503
  }>;
355
504
  description: z.ZodString;
356
505
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
357
506
  }, z.core.$loose>;
507
+ }, z.core.$strict> | z.ZodObject<{
508
+ items: z.ZodArray<z.ZodObject<{
509
+ reference: z.ZodObject<{
510
+ tenantId: z.ZodUUID;
511
+ projectId: z.ZodUUID;
512
+ fileId: z.ZodUUID;
513
+ versionId: z.ZodUUID;
514
+ checksumSha256: z.ZodString;
515
+ byteSize: z.ZodInt;
516
+ contentType: z.ZodEnum<{
517
+ "application/json": "application/json";
518
+ "application/pdf": "application/pdf";
519
+ "application/octet-stream": "application/octet-stream";
520
+ "text/plain": "text/plain";
521
+ "image/png": "image/png";
522
+ "image/jpeg": "image/jpeg";
523
+ "image/webp": "image/webp";
524
+ "audio/wav": "audio/wav";
525
+ "video/mp4": "video/mp4";
526
+ }>;
527
+ deviceId: z.ZodUUID;
528
+ }, z.core.$strict>;
529
+ metadata: z.ZodNullable<z.ZodObject<{
530
+ label: z.ZodString;
531
+ }, z.core.$strict>>;
532
+ accessRevision: z.ZodInt;
533
+ allowInspect: z.ZodBoolean;
534
+ allowPublish: z.ZodBoolean;
535
+ expiresAt: z.ZodISODateTime;
536
+ }, z.core.$strict>>;
537
+ nextCursor: z.ZodNullable<z.ZodString>;
538
+ location: z.ZodLiteral<"LOCAL">;
539
+ }, z.core.$strict> | z.ZodObject<{
540
+ location: z.ZodLiteral<"LOCAL">;
541
+ item: z.ZodNullable<z.ZodObject<{
542
+ reference: z.ZodObject<{
543
+ tenantId: z.ZodUUID;
544
+ projectId: z.ZodUUID;
545
+ fileId: z.ZodUUID;
546
+ versionId: z.ZodUUID;
547
+ checksumSha256: z.ZodString;
548
+ byteSize: z.ZodInt;
549
+ contentType: z.ZodEnum<{
550
+ "application/json": "application/json";
551
+ "application/pdf": "application/pdf";
552
+ "application/octet-stream": "application/octet-stream";
553
+ "text/plain": "text/plain";
554
+ "image/png": "image/png";
555
+ "image/jpeg": "image/jpeg";
556
+ "image/webp": "image/webp";
557
+ "audio/wav": "audio/wav";
558
+ "video/mp4": "video/mp4";
559
+ }>;
560
+ deviceId: z.ZodUUID;
561
+ }, z.core.$strict>;
562
+ metadata: z.ZodNullable<z.ZodObject<{
563
+ label: z.ZodString;
564
+ }, z.core.$strict>>;
565
+ accessRevision: z.ZodInt;
566
+ allowInspect: z.ZodBoolean;
567
+ allowPublish: z.ZodBoolean;
568
+ expiresAt: z.ZodISODateTime;
569
+ }, z.core.$strict>>;
358
570
  }, z.core.$strict> | z.ZodObject<{
359
571
  protocol: z.ZodLiteral<"NVS_LOCAL_IPC_V1">;
360
- state: z.ZodEnum<{
361
- RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
362
- IDLE: "IDLE";
363
- EXECUTING: "EXECUTING";
364
- DRAINING: "DRAINING";
365
- }>;
366
- runtimeRevision: z.ZodInt;
367
- journalSchemaVersion: z.ZodLiteral<1>;
368
- workProtocols: z.ZodArray<z.ZodLiteral<"NVS_LOCAL_WORK_V1">>;
369
572
  versions: z.ZodArray<z.ZodObject<{
370
573
  component: z.ZodEnum<{
371
574
  CLI: "CLI";
@@ -387,9 +590,63 @@ export declare class LocalMcpTools {
387
590
  TARBALL: "TARBALL";
388
591
  }>;
389
592
  }, z.core.$strict>>;
390
- authorizedProjects: z.ZodArray<z.ZodObject<{
391
- tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
392
- projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
593
+ state: z.ZodEnum<{
594
+ RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
595
+ EXECUTING: "EXECUTING";
596
+ DRAINING: "DRAINING";
597
+ IDLE: "IDLE";
598
+ }>;
599
+ capabilityMismatch: z.ZodOptional<z.ZodObject<{
600
+ kind: z.ZodEnum<{
601
+ CAPABILITY_DEFINITION: "CAPABILITY_DEFINITION";
602
+ MEDIA_PROFILE: "MEDIA_PROFILE";
603
+ RENDERER: "RENDERER";
604
+ VALIDATION_PROFILE: "VALIDATION_PROFILE";
605
+ PROCESSOR_PROFILE: "PROCESSOR_PROFILE";
606
+ LOCAL_LIBRARY_PROFILE: "LOCAL_LIBRARY_PROFILE";
607
+ }>;
608
+ expectedVersion: z.ZodString;
609
+ actualVersion: z.ZodString;
610
+ recovery: z.ZodEnum<{
611
+ REDISCOVER_CAPABILITY: "REDISCOVER_CAPABILITY";
612
+ CHECK_DEVICE_RELEASE: "CHECK_DEVICE_RELEASE";
613
+ }>;
614
+ }, z.core.$strict>>;
615
+ runtimeRevision: z.ZodInt;
616
+ journalSchemaVersion: z.ZodLiteral<1>;
617
+ workProtocols: z.ZodArray<z.ZodEnum<{
618
+ NVS_LOCAL_WORK_V1: "NVS_LOCAL_WORK_V1";
619
+ NVS_LOCAL_WORK_V2: "NVS_LOCAL_WORK_V2";
620
+ }>>;
621
+ deviceAuthority: z.ZodOptional<z.ZodObject<{
622
+ tenantId: z.ZodUUID;
623
+ deviceId: z.ZodUUID;
624
+ origin: z.ZodURL;
625
+ }, z.core.$strict>>;
626
+ deviceCapabilities: z.ZodOptional<z.ZodObject<{
627
+ deviceRevision: z.ZodInt;
628
+ tenantMediaValidation: z.ZodBoolean;
629
+ tenantMediaProcessing: z.ZodBoolean;
630
+ processorCapabilities: z.ZodArray<z.ZodEnum<{
631
+ KEYFRAME_GENERATE: "KEYFRAME_GENERATE";
632
+ VIDEO_GENERATE: "VIDEO_GENERATE";
633
+ SPEECH_SYNTHESIZE: "SPEECH_SYNTHESIZE";
634
+ SPEECH_EXTERNAL_QWEN: "SPEECH_EXTERNAL_QWEN";
635
+ TEMPORAL_SAMPLE: "TEMPORAL_SAMPLE";
636
+ DELIVERY_VALIDATE: "DELIVERY_VALIDATE";
637
+ COMPOSITION_RENDER: "COMPOSITION_RENDER";
638
+ IMPORTED_VISUAL_NORMALIZE: "IMPORTED_VISUAL_NORMALIZE";
639
+ SOURCE_SYNC_AUDIO: "SOURCE_SYNC_AUDIO";
640
+ IMPORT_ORIGINAL: "IMPORT_ORIGINAL";
641
+ LOCAL_MEDIA_INSPECT: "LOCAL_MEDIA_INSPECT";
642
+ LOCAL_MEDIA_PUBLISH: "LOCAL_MEDIA_PUBLISH";
643
+ IMPORT_PROJECT_SOURCE: "IMPORT_PROJECT_SOURCE";
644
+ REGISTER_VISUAL_SEQUENCE: "REGISTER_VISUAL_SEQUENCE";
645
+ REFERENCE_PREVIEW: "REFERENCE_PREVIEW";
646
+ SPEECH_SYNTHESIZE_CPU: "SPEECH_SYNTHESIZE_CPU";
647
+ TRANSCRIBE_AUDIO: "TRANSCRIBE_AUDIO";
648
+ TRANSCRIBE_EXTERNAL_QWEN: "TRANSCRIBE_EXTERNAL_QWEN";
649
+ }>>;
393
650
  }, z.core.$strict>>;
394
651
  nextActions: z.ZodArray<z.ZodObject<{
395
652
  tool: z.ZodEnum<{
@@ -399,6 +656,8 @@ export declare class LocalMcpTools {
399
656
  local_execution_list: "local_execution_list";
400
657
  local_execution_inspect: "local_execution_inspect";
401
658
  local_update_check: "local_update_check";
659
+ local_library_list: "local_library_list";
660
+ local_library_get: "local_library_get";
402
661
  }>;
403
662
  arguments: z.ZodRecord<z.ZodString, z.ZodUnknown>;
404
663
  availability: z.ZodOptional<z.ZodEnum<{
@@ -2,8 +2,9 @@ import { type LocalSignedCatalogue } from "../../sdk/local-runtime-client.js";
2
2
  export declare function endpoint(raw: string): import("url").URL;
3
3
  export declare function fetchBytes(raw: string, maximum: number, origin: string, signal?: AbortSignal): Promise<Buffer<ArrayBuffer>>;
4
4
  export interface ReleaseTrust {
5
- catalogueUrl: string;
6
- publicKeyFile: string;
5
+ catalogueUrl?: string | null;
6
+ publicKeyFile?: string | null;
7
+ publicKey?: string;
7
8
  }
8
9
  export declare function catalogue(trust: ReleaseTrust, signal?: AbortSignal): Promise<{
9
10
  signed: {
@@ -21,13 +22,17 @@ export declare function catalogue(trust: ReleaseTrust, signal?: AbortSignal): Pr
21
22
  };
22
23
  platform: {
23
24
  os: "darwin" | "linux" | "win32";
24
- architecture: "x64" | "arm64";
25
+ architecture: "arm64" | "x64";
25
26
  };
26
27
  ipcProtocol: "NVS_LOCAL_IPC_V1";
27
- workProtocol: "NVS_LOCAL_WORK_V1";
28
+ workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
28
29
  journalSchema: 1;
29
30
  rendererDigest: string;
30
31
  profileDigest: string;
32
+ compatibleRenderers?: {
33
+ rendererDigest: string;
34
+ profileDigest: string;
35
+ }[] | undefined;
31
36
  };
32
37
  package: {
33
38
  url: string;
@@ -48,6 +53,13 @@ export declare function catalogue(trust: ReleaseTrust, signal?: AbortSignal): Pr
48
53
  sha256: string;
49
54
  };
50
55
  } | null;
56
+ resources?: {
57
+ captions: {
58
+ url: string;
59
+ sha512: string;
60
+ byteSize: number;
61
+ };
62
+ } | undefined;
51
63
  }[];
52
64
  };
53
65
  signature: string;
@@ -56,7 +68,7 @@ export declare function catalogue(trust: ReleaseTrust, signal?: AbortSignal): Pr
56
68
  origin: string;
57
69
  trustFingerprint: string;
58
70
  }>;
59
- export declare function select(signed: LocalSignedCatalogue, version: string): {
71
+ export declare function select(signed: LocalSignedCatalogue, version: string, rejected?: readonly string[]): {
60
72
  descriptor: {
61
73
  protocol: "NVS_RUNTIME_DESCRIPTOR_V1";
62
74
  version: string;
@@ -66,13 +78,17 @@ export declare function select(signed: LocalSignedCatalogue, version: string): {
66
78
  };
67
79
  platform: {
68
80
  os: "darwin" | "linux" | "win32";
69
- architecture: "x64" | "arm64";
81
+ architecture: "arm64" | "x64";
70
82
  };
71
83
  ipcProtocol: "NVS_LOCAL_IPC_V1";
72
- workProtocol: "NVS_LOCAL_WORK_V1";
84
+ workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
73
85
  journalSchema: 1;
74
86
  rendererDigest: string;
75
87
  profileDigest: string;
88
+ compatibleRenderers?: {
89
+ rendererDigest: string;
90
+ profileDigest: string;
91
+ }[] | undefined;
76
92
  };
77
93
  package: {
78
94
  url: string;
@@ -93,6 +109,13 @@ export declare function select(signed: LocalSignedCatalogue, version: string): {
93
109
  sha256: string;
94
110
  };
95
111
  } | null;
112
+ resources?: {
113
+ captions: {
114
+ url: string;
115
+ sha512: string;
116
+ byteSize: number;
117
+ };
118
+ } | undefined;
96
119
  };
97
120
  export declare function asset(a: {
98
121
  url: string;