@nativestudio/cli 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 (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-2S7FI3HF.js +1 -0
  7. package/dist/_chunks/chunk-3RNDOAQI.js +1 -0
  8. package/dist/_chunks/{chunk-C33A2DW4.js → chunk-3TOXIJ7K.js} +1 -1
  9. package/dist/_chunks/chunk-4AD4PNUX.js +1 -0
  10. package/dist/_chunks/chunk-5Y7J2OYL.js +45 -0
  11. package/dist/_chunks/chunk-76E5R3OC.js +1 -0
  12. package/dist/_chunks/chunk-7I7ARCY7.js +1 -0
  13. package/dist/_chunks/chunk-7IVAYDU3.js +1 -0
  14. package/dist/_chunks/chunk-7P2NA6TH.js +1 -0
  15. package/dist/_chunks/chunk-DLW42PJ6.js +1 -0
  16. package/dist/_chunks/chunk-DMA53YVU.js +1 -0
  17. package/dist/_chunks/chunk-ETK7GYCB.js +1 -0
  18. package/dist/_chunks/chunk-FFXSXE3G.js +1 -0
  19. package/dist/_chunks/chunk-H4FH6STZ.js +1 -0
  20. package/dist/_chunks/chunk-KOCUZ3AE.js +1 -0
  21. package/dist/_chunks/chunk-LDBXGRCQ.js +1 -0
  22. package/dist/_chunks/chunk-LTNJ45JP.js +1 -0
  23. package/dist/_chunks/chunk-MZWEFYHE.js +1 -0
  24. package/dist/_chunks/{chunk-VDNNFVTZ.js → chunk-OW6R4MAQ.js} +1 -1
  25. package/dist/_chunks/chunk-PQCA4X5H.js +1 -0
  26. package/dist/_chunks/chunk-QGK6G6YS.js +1 -0
  27. package/dist/_chunks/chunk-SM2I7TJ3.js +1 -0
  28. package/dist/_chunks/chunk-TT7IA5HB.js +1 -0
  29. package/dist/_chunks/chunk-VXYZCCCQ.js +1 -0
  30. package/dist/_chunks/chunk-VYCNG6TR.js +1 -0
  31. package/dist/_chunks/chunk-WLQMICJN.js +1 -0
  32. package/dist/_chunks/chunk-WTJVS2VS.js +1 -0
  33. package/dist/_chunks/chunk-X5MVC46N.js +1 -0
  34. package/dist/_chunks/chunk-X5PBZTKX.js +1 -0
  35. package/dist/_chunks/chunk-ZMJYBUS3.js +1 -0
  36. package/dist/_chunks/chunk-ZYXHPTT2.js +1 -0
  37. package/dist/_chunks/component-contract-2JHTRTOB.js +1 -0
  38. package/dist/_chunks/component-preflight-6OWDQAZT.js +1 -0
  39. package/dist/_chunks/connect-7TJDWXV4.js +1 -0
  40. package/dist/_chunks/device-management-JPS4HG34.js +1 -0
  41. package/dist/_chunks/device-preflight-GTQ67H7C.js +1 -0
  42. package/dist/_chunks/devices-inventory-E6ZLXCVR.js +1 -0
  43. package/dist/_chunks/devices-main-2BMCANKU.js +1 -0
  44. package/dist/_chunks/files-JJ6YOULB.js +1 -0
  45. package/dist/_chunks/host-component-ZYQ5ETVL.js +1 -0
  46. package/dist/_chunks/host-help-VNLA3YOV.js +1 -0
  47. package/dist/_chunks/host-main-KLWW7R47.js +1 -0
  48. package/dist/_chunks/http-profile-3VVSWYA5.js +1 -0
  49. package/dist/_chunks/library-main-3WWH7UYV.js +1 -0
  50. package/dist/_chunks/local-main-5BW63USP.js +1 -0
  51. package/dist/_chunks/local-mcp-AARKBDU5.js +1 -0
  52. package/dist/_chunks/main-LGYJ3ZCN.js +2 -0
  53. package/dist/_chunks/mcp-BLSK636Q.js +1 -0
  54. package/dist/_chunks/oauth-RPME2XYB.js +1 -0
  55. package/dist/_chunks/observe-entry-JVZAMB7N.js +1 -0
  56. package/dist/_chunks/remote-client-25Z65VJU.js +1 -0
  57. package/dist/_chunks/render-main-6Z3DKCWL.js +1 -0
  58. package/dist/_chunks/series-main-FBERVYWG.js +1 -0
  59. package/dist/_chunks/source-import-PNMCMTK7.js +1 -0
  60. package/dist/_chunks/src-7HSJFRVQ.js +1 -0
  61. package/dist/_chunks/stdio-main-HNLJCG45.js +1 -0
  62. package/dist/_chunks/workspace-main-QX5JGEMR.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 +89 -0
  122. package/dist/_types/contracts/interface/production-snapshot.d.ts +106 -199
  123. package/dist/_types/contracts/interface/query.d.ts +85 -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 +19 -4
  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 +76 -8
  184. package/dist/_types/contracts/navigation-groups.d.ts +2 -2
  185. package/dist/_types/contracts/navigation.d.ts +79 -26
  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
@@ -0,0 +1,189 @@
1
+ import { z } from "zod";
2
+ import { canonicalFederationCatalogJson } from "./federation-result.js";
3
+ export declare const canonicalHostContractJson: typeof canonicalFederationCatalogJson;
4
+ export declare const AgentHostContractDocumentSchema: z.ZodPipe<z.ZodUnknown, z.ZodObject<{
5
+ contract: z.ZodLiteral<"nvs-agent-host-contract/1">;
6
+ hostProtocol: z.ZodLiteral<"NVS_AGENT_HOST_V1">;
7
+ hostContractDigest: z.ZodLiteral<"c4b254f091c364e0fab8d43ad551f296a3bce2996bdb2c5349307c62295c1769">;
8
+ delegationContractDigest: z.ZodLiteral<"03e0bad50c7c6ecf7979db72c0927fa43904d8fbad67ae02447a87a9263f2730">;
9
+ nativeSelectionVersion: z.ZodLiteral<2>;
10
+ nativeProfileVersion: z.ZodLiteral<2>;
11
+ schemaDialect: z.ZodLiteral<"https://json-schema.org/draft/2020-12/schema">;
12
+ origin: z.ZodLiteral<"DEPLOYMENT_REGISTERED_ONLY">;
13
+ credential: z.ZodLiteral<"PRIVATE_BEARER_NEVER_HUMAN_TOKEN">;
14
+ scopeQuery: z.ZodTuple<[z.ZodLiteral<"scopeNamespace">, z.ZodLiteral<"scopeRef">], null>;
15
+ requestQuery: z.ZodLiteral<"requestId">;
16
+ operations: z.ZodObject<{
17
+ "installation.read": z.ZodObject<{
18
+ method: z.ZodLiteral<"GET" | "POST">;
19
+ path: z.ZodLiteral<string>;
20
+ }, z.core.$strict>;
21
+ "task.submit": z.ZodObject<{
22
+ method: z.ZodLiteral<"GET" | "POST">;
23
+ path: z.ZodLiteral<string>;
24
+ }, z.core.$strict>;
25
+ "task.by-request": z.ZodObject<{
26
+ method: z.ZodLiteral<"GET" | "POST">;
27
+ path: z.ZodLiteral<string>;
28
+ }, z.core.$strict>;
29
+ "task.get": z.ZodObject<{
30
+ method: z.ZodLiteral<"GET" | "POST">;
31
+ path: z.ZodLiteral<string>;
32
+ }, z.core.$strict>;
33
+ "task.cancel": z.ZodObject<{
34
+ method: z.ZodLiteral<"GET" | "POST">;
35
+ path: z.ZodLiteral<string>;
36
+ }, z.core.$strict>;
37
+ }, z.core.$strict>;
38
+ schemas: z.ZodObject<{
39
+ selection: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
40
+ installation: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
41
+ taskRequest: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
42
+ taskResponse: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
43
+ taskCancel: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
44
+ }, z.core.$strict>;
45
+ semanticChecks: z.ZodArray<z.ZodEnum<{
46
+ OPAQUE_SCOPE_IS_NOT_NATIVE_TENANT_MAPPING: "OPAQUE_SCOPE_IS_NOT_NATIVE_TENANT_MAPPING";
47
+ JSON_SCHEMA_PLUS_SEMANTIC_CHECKS_REQUIRED: "JSON_SCHEMA_PLUS_SEMANTIC_CHECKS_REQUIRED";
48
+ I_JSON_FINITE_PLAIN_DENSE_JSON_NO_DUPLICATE_KEYS_OR_LONE_SURROGATES: "I_JSON_FINITE_PLAIN_DENSE_JSON_NO_DUPLICATE_KEYS_OR_LONE_SURROGATES";
49
+ HOST_REFERENCES_1_TO_256_UNICODE_CODEPOINTS_WITHOUT_C0_C1_CONTROLS: "HOST_REFERENCES_1_TO_256_UNICODE_CODEPOINTS_WITHOUT_C0_C1_CONTROLS";
50
+ CURRENT_REGISTRATION_CONSENT_GRANT_PERMIT_LEASE_ACCESS_REQUIRED: "CURRENT_REGISTRATION_CONSENT_GRANT_PERMIT_LEASE_ACCESS_REQUIRED";
51
+ INSTALLATION_RECHECK_BEFORE_AND_AFTER_NATIVE_MANIFEST: "INSTALLATION_RECHECK_BEFORE_AND_AFTER_NATIVE_MANIFEST";
52
+ INPUT_SHA256_CANONICAL_COMPLETE_INPUT_INCLUDING_NATIVE_PROOF: "INPUT_SHA256_CANONICAL_COMPLETE_INPUT_INCLUDING_NATIVE_PROOF";
53
+ EXACT_REQUEST_INPUT_SCOPE_CHOICE_INSTALLATION_AUTHORITY_AND_TASK: "EXACT_REQUEST_INPUT_SCOPE_CHOICE_INSTALLATION_AUTHORITY_AND_TASK";
54
+ RESPONSE_TIME_ORDER_FRESH_AUTHORIZATION_AND_DEADLINES_WITHIN_NATIVE_PROOF: "RESPONSE_TIME_ORDER_FRESH_AUTHORIZATION_AND_DEADLINES_WITHIN_NATIVE_PROOF";
55
+ SUBMIT_DEADLINE_INCLUDES_CREDENTIAL_ACCESS_AND_NATIVE_AUTHORITY_EXPIRY: "SUBMIT_DEADLINE_INCLUDES_CREDENTIAL_ACCESS_AND_NATIVE_AUTHORITY_EXPIRY";
56
+ NO_WRITE_BEFORE_DISPATCH_UNKNOWN_AFTER_DISPATCH_NO_AUTOMATIC_RETRY: "NO_WRITE_BEFORE_DISPATCH_UNKNOWN_AFTER_DISPATCH_NO_AUTOMATIC_RETRY";
57
+ RECOVERY_OBSERVES_ORIGINAL_REQUEST_WITHOUT_RESUBMISSION: "RECOVERY_OBSERVES_ORIGINAL_REQUEST_WITHOUT_RESUBMISSION";
58
+ CANCEL_USES_DISTINCT_REQUEST_AND_EXACT_ORIGINAL_TASK: "CANCEL_USES_DISTINCT_REQUEST_AND_EXACT_ORIGINAL_TASK";
59
+ HOST_REPORT_IS_NOT_PRODUCTION_TRUTH_OR_RESULT_ADOPTION: "HOST_REPORT_IS_NOT_PRODUCTION_TRUTH_OR_RESULT_ADOPTION";
60
+ SUBSCRIPTION_EXECUTION_AND_CONTENT_AUTHORITY_ARE_INDEPENDENT: "SUBSCRIPTION_EXECUTION_AND_CONTENT_AUTHORITY_ARE_INDEPENDENT";
61
+ }>>;
62
+ maxTaskBytes: z.ZodLiteral<131072>;
63
+ currentAuthority: z.ZodLiteral<"NOT_OBSERVED">;
64
+ eventing: z.ZodObject<{
65
+ standard: z.ZodLiteral<"EventSDK">;
66
+ notificationProfile: z.ZodLiteral<"eventsdk/1.2">;
67
+ receiptProfile: z.ZodLiteral<"eventsdk/1.1">;
68
+ requiredForHostExecution: z.ZodLiteral<false>;
69
+ defaultReceive: z.ZodLiteral<false>;
70
+ subscriberKinds: z.ZodTuple<[z.ZodLiteral<"SYSTEM">, z.ZodLiteral<"AGENT_RUNTIME">, z.ZodLiteral<"HOST_BOT">], null>;
71
+ authorization: z.ZodLiteral<"INDEPENDENT_CURRENT_AUTHORITY">;
72
+ wake: z.ZodLiteral<"RECEIVER_OWNED">;
73
+ adoption: z.ZodLiteral<"RECEIVER_OWNER_GOAL_REQUIRED">;
74
+ receiptMeaning: z.ZodLiteral<"LOCAL_APPLIED_IS_NOT_AGENT_ADOPTION">;
75
+ operations: z.ZodObject<{
76
+ catalog: z.ZodLiteral<"federation.catalog">;
77
+ select: z.ZodLiteral<"federation.subscription.set">;
78
+ read: z.ZodLiteral<"federation.subscription.get">;
79
+ handoff: z.ZodLiteral<"federation.subscription.handoff">;
80
+ contract: z.ZodLiteral<"federation.subscription.contract">;
81
+ resultReference: z.ZodLiteral<"federation.result.reference">;
82
+ resultRead: z.ZodLiteral<"federation.result.read">;
83
+ receiptInspection: z.ZodLiteral<"federation.delivery.inspect">;
84
+ receiptHandoff: z.ZodLiteral<"federation.receipt-inbound.handoff">;
85
+ }, z.core.$strict>;
86
+ }, z.core.$strict>;
87
+ qualification: z.ZodLiteral<"NVS_DECLARATION_ONLY">;
88
+ }, z.core.$strict>>;
89
+ export declare const AgentHostContractInputSchema: z.ZodObject<{
90
+ tenantId: z.ZodUUID;
91
+ projectId: z.ZodUUID;
92
+ expectedDigest: z.ZodOptional<z.ZodString>;
93
+ }, z.core.$strict>;
94
+ export declare const AgentHostContractSchema: z.ZodPipe<z.ZodUnknown, z.ZodObject<{
95
+ tenantId: z.ZodUUID;
96
+ projectId: z.ZodUUID;
97
+ document: z.ZodPipe<z.ZodUnknown, z.ZodObject<{
98
+ contract: z.ZodLiteral<"nvs-agent-host-contract/1">;
99
+ hostProtocol: z.ZodLiteral<"NVS_AGENT_HOST_V1">;
100
+ hostContractDigest: z.ZodLiteral<"c4b254f091c364e0fab8d43ad551f296a3bce2996bdb2c5349307c62295c1769">;
101
+ delegationContractDigest: z.ZodLiteral<"03e0bad50c7c6ecf7979db72c0927fa43904d8fbad67ae02447a87a9263f2730">;
102
+ nativeSelectionVersion: z.ZodLiteral<2>;
103
+ nativeProfileVersion: z.ZodLiteral<2>;
104
+ schemaDialect: z.ZodLiteral<"https://json-schema.org/draft/2020-12/schema">;
105
+ origin: z.ZodLiteral<"DEPLOYMENT_REGISTERED_ONLY">;
106
+ credential: z.ZodLiteral<"PRIVATE_BEARER_NEVER_HUMAN_TOKEN">;
107
+ scopeQuery: z.ZodTuple<[z.ZodLiteral<"scopeNamespace">, z.ZodLiteral<"scopeRef">], null>;
108
+ requestQuery: z.ZodLiteral<"requestId">;
109
+ operations: z.ZodObject<{
110
+ "installation.read": z.ZodObject<{
111
+ method: z.ZodLiteral<"GET" | "POST">;
112
+ path: z.ZodLiteral<string>;
113
+ }, z.core.$strict>;
114
+ "task.submit": z.ZodObject<{
115
+ method: z.ZodLiteral<"GET" | "POST">;
116
+ path: z.ZodLiteral<string>;
117
+ }, z.core.$strict>;
118
+ "task.by-request": z.ZodObject<{
119
+ method: z.ZodLiteral<"GET" | "POST">;
120
+ path: z.ZodLiteral<string>;
121
+ }, z.core.$strict>;
122
+ "task.get": z.ZodObject<{
123
+ method: z.ZodLiteral<"GET" | "POST">;
124
+ path: z.ZodLiteral<string>;
125
+ }, z.core.$strict>;
126
+ "task.cancel": z.ZodObject<{
127
+ method: z.ZodLiteral<"GET" | "POST">;
128
+ path: z.ZodLiteral<string>;
129
+ }, z.core.$strict>;
130
+ }, z.core.$strict>;
131
+ schemas: z.ZodObject<{
132
+ selection: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
133
+ installation: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
134
+ taskRequest: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
135
+ taskResponse: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
136
+ taskCancel: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
137
+ }, z.core.$strict>;
138
+ semanticChecks: z.ZodArray<z.ZodEnum<{
139
+ OPAQUE_SCOPE_IS_NOT_NATIVE_TENANT_MAPPING: "OPAQUE_SCOPE_IS_NOT_NATIVE_TENANT_MAPPING";
140
+ JSON_SCHEMA_PLUS_SEMANTIC_CHECKS_REQUIRED: "JSON_SCHEMA_PLUS_SEMANTIC_CHECKS_REQUIRED";
141
+ I_JSON_FINITE_PLAIN_DENSE_JSON_NO_DUPLICATE_KEYS_OR_LONE_SURROGATES: "I_JSON_FINITE_PLAIN_DENSE_JSON_NO_DUPLICATE_KEYS_OR_LONE_SURROGATES";
142
+ HOST_REFERENCES_1_TO_256_UNICODE_CODEPOINTS_WITHOUT_C0_C1_CONTROLS: "HOST_REFERENCES_1_TO_256_UNICODE_CODEPOINTS_WITHOUT_C0_C1_CONTROLS";
143
+ CURRENT_REGISTRATION_CONSENT_GRANT_PERMIT_LEASE_ACCESS_REQUIRED: "CURRENT_REGISTRATION_CONSENT_GRANT_PERMIT_LEASE_ACCESS_REQUIRED";
144
+ INSTALLATION_RECHECK_BEFORE_AND_AFTER_NATIVE_MANIFEST: "INSTALLATION_RECHECK_BEFORE_AND_AFTER_NATIVE_MANIFEST";
145
+ INPUT_SHA256_CANONICAL_COMPLETE_INPUT_INCLUDING_NATIVE_PROOF: "INPUT_SHA256_CANONICAL_COMPLETE_INPUT_INCLUDING_NATIVE_PROOF";
146
+ EXACT_REQUEST_INPUT_SCOPE_CHOICE_INSTALLATION_AUTHORITY_AND_TASK: "EXACT_REQUEST_INPUT_SCOPE_CHOICE_INSTALLATION_AUTHORITY_AND_TASK";
147
+ RESPONSE_TIME_ORDER_FRESH_AUTHORIZATION_AND_DEADLINES_WITHIN_NATIVE_PROOF: "RESPONSE_TIME_ORDER_FRESH_AUTHORIZATION_AND_DEADLINES_WITHIN_NATIVE_PROOF";
148
+ SUBMIT_DEADLINE_INCLUDES_CREDENTIAL_ACCESS_AND_NATIVE_AUTHORITY_EXPIRY: "SUBMIT_DEADLINE_INCLUDES_CREDENTIAL_ACCESS_AND_NATIVE_AUTHORITY_EXPIRY";
149
+ NO_WRITE_BEFORE_DISPATCH_UNKNOWN_AFTER_DISPATCH_NO_AUTOMATIC_RETRY: "NO_WRITE_BEFORE_DISPATCH_UNKNOWN_AFTER_DISPATCH_NO_AUTOMATIC_RETRY";
150
+ RECOVERY_OBSERVES_ORIGINAL_REQUEST_WITHOUT_RESUBMISSION: "RECOVERY_OBSERVES_ORIGINAL_REQUEST_WITHOUT_RESUBMISSION";
151
+ CANCEL_USES_DISTINCT_REQUEST_AND_EXACT_ORIGINAL_TASK: "CANCEL_USES_DISTINCT_REQUEST_AND_EXACT_ORIGINAL_TASK";
152
+ HOST_REPORT_IS_NOT_PRODUCTION_TRUTH_OR_RESULT_ADOPTION: "HOST_REPORT_IS_NOT_PRODUCTION_TRUTH_OR_RESULT_ADOPTION";
153
+ SUBSCRIPTION_EXECUTION_AND_CONTENT_AUTHORITY_ARE_INDEPENDENT: "SUBSCRIPTION_EXECUTION_AND_CONTENT_AUTHORITY_ARE_INDEPENDENT";
154
+ }>>;
155
+ maxTaskBytes: z.ZodLiteral<131072>;
156
+ currentAuthority: z.ZodLiteral<"NOT_OBSERVED">;
157
+ eventing: z.ZodObject<{
158
+ standard: z.ZodLiteral<"EventSDK">;
159
+ notificationProfile: z.ZodLiteral<"eventsdk/1.2">;
160
+ receiptProfile: z.ZodLiteral<"eventsdk/1.1">;
161
+ requiredForHostExecution: z.ZodLiteral<false>;
162
+ defaultReceive: z.ZodLiteral<false>;
163
+ subscriberKinds: z.ZodTuple<[z.ZodLiteral<"SYSTEM">, z.ZodLiteral<"AGENT_RUNTIME">, z.ZodLiteral<"HOST_BOT">], null>;
164
+ authorization: z.ZodLiteral<"INDEPENDENT_CURRENT_AUTHORITY">;
165
+ wake: z.ZodLiteral<"RECEIVER_OWNED">;
166
+ adoption: z.ZodLiteral<"RECEIVER_OWNER_GOAL_REQUIRED">;
167
+ receiptMeaning: z.ZodLiteral<"LOCAL_APPLIED_IS_NOT_AGENT_ADOPTION">;
168
+ operations: z.ZodObject<{
169
+ catalog: z.ZodLiteral<"federation.catalog">;
170
+ select: z.ZodLiteral<"federation.subscription.set">;
171
+ read: z.ZodLiteral<"federation.subscription.get">;
172
+ handoff: z.ZodLiteral<"federation.subscription.handoff">;
173
+ contract: z.ZodLiteral<"federation.subscription.contract">;
174
+ resultReference: z.ZodLiteral<"federation.result.reference">;
175
+ resultRead: z.ZodLiteral<"federation.result.read">;
176
+ receiptInspection: z.ZodLiteral<"federation.delivery.inspect">;
177
+ receiptHandoff: z.ZodLiteral<"federation.receipt-inbound.handoff">;
178
+ }, z.core.$strict>;
179
+ }, z.core.$strict>;
180
+ qualification: z.ZodLiteral<"NVS_DECLARATION_ONLY">;
181
+ }, z.core.$strict>>;
182
+ digest: z.ZodString;
183
+ maxReplyBytes: z.ZodLiteral<131072>;
184
+ }, z.core.$strict>>;
185
+ /** Pure public metadata; membership and the response digest belong to the Application. */
186
+ export declare function createAgentHostContractDocument(): AgentHostContractDocument;
187
+ export type AgentHostContractDocument = z.infer<typeof AgentHostContractDocumentSchema>;
188
+ export type AgentHostContractInput = z.infer<typeof AgentHostContractInputSchema>;
189
+ export type AgentHostContract = z.infer<typeof AgentHostContractSchema>;
@@ -91,19 +91,22 @@ export declare const AgentHostExecutionInputSchema: z.ZodObject<{
91
91
  }>;
92
92
  }, z.core.$strict>>;
93
93
  }, z.core.$strict>;
94
- export declare const AgentHostInstallationTransportSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
95
- protocol: z.ZodLiteral<"AGENT_STACK_NATIVE_INSTALLATION_V2">;
94
+ export declare const AgentHostInstallationTransportSchema: z.ZodUnion<readonly [z.ZodObject<{
95
+ protocol: z.ZodLiteral<"NVS_AGENT_HOST_V1">;
96
+ hostContractDigest: z.ZodLiteral<"c4b254f091c364e0fab8d43ad551f296a3bce2996bdb2c5349307c62295c1769">;
96
97
  installationId: z.ZodString;
97
98
  installationRevisionId: z.ZodString;
98
99
  slotKey: z.ZodString;
100
+ contractDigest: z.ZodLiteral<"03e0bad50c7c6ecf7979db72c0927fa43904d8fbad67ae02447a87a9263f2730">;
101
+ capabilityDigest: z.ZodString;
99
102
  }, z.core.$strict>, z.ZodObject<{
100
- protocol: z.ZodLiteral<"AGENT_STACK_GENERIC_INSTALLATION_V3">;
103
+ protocol: z.ZodString;
101
104
  installationId: z.ZodString;
102
105
  installationRevisionId: z.ZodString;
103
106
  slotKey: z.ZodString;
104
- contractDigest: z.ZodLiteral<"834d35515b14007b7900b09bb8e2988169fe6400c77109dba0f793a628c32c90">;
105
- capabilityDigest: z.ZodString;
106
- }, z.core.$strict>], "protocol">;
107
+ contractDigest: z.ZodOptional<z.ZodString>;
108
+ capabilityDigest: z.ZodOptional<z.ZodString>;
109
+ }, z.core.$strict>]>;
107
110
  export type AgentHostInstallationTransport = z.infer<typeof AgentHostInstallationTransportSchema>;
108
111
  export declare const AgentHostNativeToolAuthoritySchema: z.ZodObject<{
109
112
  tenantId: z.ZodUUID;
@@ -122,19 +125,22 @@ export declare const AgentHostNativeToolAuthoritySchema: z.ZodObject<{
122
125
  LIVE: "LIVE";
123
126
  TEST_ONLY: "TEST_ONLY";
124
127
  }>;
125
- transport: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
126
- protocol: z.ZodLiteral<"AGENT_STACK_NATIVE_INSTALLATION_V2">;
128
+ transport: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
129
+ protocol: z.ZodLiteral<"NVS_AGENT_HOST_V1">;
130
+ hostContractDigest: z.ZodLiteral<"c4b254f091c364e0fab8d43ad551f296a3bce2996bdb2c5349307c62295c1769">;
127
131
  installationId: z.ZodString;
128
132
  installationRevisionId: z.ZodString;
129
133
  slotKey: z.ZodString;
134
+ contractDigest: z.ZodLiteral<"03e0bad50c7c6ecf7979db72c0927fa43904d8fbad67ae02447a87a9263f2730">;
135
+ capabilityDigest: z.ZodString;
130
136
  }, z.core.$strict>, z.ZodObject<{
131
- protocol: z.ZodLiteral<"AGENT_STACK_GENERIC_INSTALLATION_V3">;
137
+ protocol: z.ZodString;
132
138
  installationId: z.ZodString;
133
139
  installationRevisionId: z.ZodString;
134
140
  slotKey: z.ZodString;
135
- contractDigest: z.ZodLiteral<"834d35515b14007b7900b09bb8e2988169fe6400c77109dba0f793a628c32c90">;
136
- capabilityDigest: z.ZodString;
137
- }, z.core.$strict>], "protocol">>;
141
+ contractDigest: z.ZodOptional<z.ZodString>;
142
+ capabilityDigest: z.ZodOptional<z.ZodString>;
143
+ }, z.core.$strict>]>>;
138
144
  }, z.core.$strict>;
139
145
  export declare const AgentHostExecutionSnapshotSchema: z.ZodObject<{
140
146
  binding: z.ZodObject<{
@@ -144,15 +150,19 @@ export declare const AgentHostExecutionSnapshotSchema: z.ZodObject<{
144
150
  revision: z.ZodInt;
145
151
  configurationVersion: z.ZodInt;
146
152
  enabled: z.ZodBoolean;
147
- selection: z.ZodObject<{
148
- hostKey: z.ZodString;
149
- tenantKey: z.ZodString;
150
- workspaceKey: z.ZodString;
151
- projectKey: z.ZodString;
153
+ selection: z.ZodUnion<readonly [z.ZodObject<{
152
154
  agentKey: z.ZodString;
153
- agentVersion: z.ZodInt;
155
+ agentVersion: z.ZodString;
154
156
  modelOptionKey: z.ZodString;
155
- }, z.core.$strict>;
157
+ contractVersion: z.ZodLiteral<2>;
158
+ hostKey: z.ZodString;
159
+ hostScope: z.ZodObject<{
160
+ namespace: z.ZodString;
161
+ ref: z.ZodString;
162
+ }, z.core.$strict>;
163
+ }, z.core.$strict>, z.ZodObject<{
164
+ hostKey: z.ZodString;
165
+ }, z.core.$catchall<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>]>;
156
166
  updatedAt: z.ZodISODateTime;
157
167
  }, z.core.$strict>;
158
168
  input: z.ZodObject<{
@@ -223,19 +233,22 @@ export declare const AgentHostExecutionSnapshotSchema: z.ZodObject<{
223
233
  LIVE: "LIVE";
224
234
  TEST_ONLY: "TEST_ONLY";
225
235
  }>;
226
- transport: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
227
- protocol: z.ZodLiteral<"AGENT_STACK_NATIVE_INSTALLATION_V2">;
236
+ transport: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
237
+ protocol: z.ZodLiteral<"NVS_AGENT_HOST_V1">;
238
+ hostContractDigest: z.ZodLiteral<"c4b254f091c364e0fab8d43ad551f296a3bce2996bdb2c5349307c62295c1769">;
228
239
  installationId: z.ZodString;
229
240
  installationRevisionId: z.ZodString;
230
241
  slotKey: z.ZodString;
242
+ contractDigest: z.ZodLiteral<"03e0bad50c7c6ecf7979db72c0927fa43904d8fbad67ae02447a87a9263f2730">;
243
+ capabilityDigest: z.ZodString;
231
244
  }, z.core.$strict>, z.ZodObject<{
232
- protocol: z.ZodLiteral<"AGENT_STACK_GENERIC_INSTALLATION_V3">;
245
+ protocol: z.ZodString;
233
246
  installationId: z.ZodString;
234
247
  installationRevisionId: z.ZodString;
235
248
  slotKey: z.ZodString;
236
- contractDigest: z.ZodLiteral<"834d35515b14007b7900b09bb8e2988169fe6400c77109dba0f793a628c32c90">;
237
- capabilityDigest: z.ZodString;
238
- }, z.core.$strict>], "protocol">>;
249
+ contractDigest: z.ZodOptional<z.ZodString>;
250
+ capabilityDigest: z.ZodOptional<z.ZodString>;
251
+ }, z.core.$strict>]>>;
239
252
  }, z.core.$strict>;
240
253
  }, z.core.$strict>;
241
254
  export declare const AgentHostTaskObservationSchema: z.ZodObject<{
@@ -243,14 +256,14 @@ export declare const AgentHostTaskObservationSchema: z.ZodObject<{
243
256
  runKey: z.ZodString;
244
257
  status: z.ZodEnum<{
245
258
  unknown: "unknown";
259
+ accepted: "accepted";
246
260
  running: "running";
247
261
  succeeded: "succeeded";
248
262
  failed: "failed";
249
263
  cancelled: "cancelled";
250
- accepted: "accepted";
251
264
  }>;
252
265
  agentKey: z.ZodString;
253
- agentVersion: z.ZodInt;
266
+ agentVersion: z.ZodUnion<readonly [z.ZodString, z.ZodInt]>;
254
267
  modelOptionKey: z.ZodString;
255
268
  cancelRequested: z.ZodBoolean;
256
269
  createdAt: z.ZodISODateTime;
@@ -278,6 +291,8 @@ export declare const AgentHostExecutionViewSchema: z.ZodObject<{
278
291
  requestedByPrincipalId: z.ZodUUID;
279
292
  hostRequestId: z.ZodUUID;
280
293
  revision: z.ZodInt;
294
+ contractVersion: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
295
+ legacyDispatchFenceReleased: z.ZodOptional<z.ZodBoolean>;
281
296
  snapshotFingerprint: z.ZodString;
282
297
  snapshot: z.ZodObject<{
283
298
  binding: z.ZodObject<{
@@ -287,15 +302,19 @@ export declare const AgentHostExecutionViewSchema: z.ZodObject<{
287
302
  revision: z.ZodInt;
288
303
  configurationVersion: z.ZodInt;
289
304
  enabled: z.ZodBoolean;
290
- selection: z.ZodObject<{
291
- hostKey: z.ZodString;
292
- tenantKey: z.ZodString;
293
- workspaceKey: z.ZodString;
294
- projectKey: z.ZodString;
305
+ selection: z.ZodUnion<readonly [z.ZodObject<{
295
306
  agentKey: z.ZodString;
296
- agentVersion: z.ZodInt;
307
+ agentVersion: z.ZodString;
297
308
  modelOptionKey: z.ZodString;
298
- }, z.core.$strict>;
309
+ contractVersion: z.ZodLiteral<2>;
310
+ hostKey: z.ZodString;
311
+ hostScope: z.ZodObject<{
312
+ namespace: z.ZodString;
313
+ ref: z.ZodString;
314
+ }, z.core.$strict>;
315
+ }, z.core.$strict>, z.ZodObject<{
316
+ hostKey: z.ZodString;
317
+ }, z.core.$catchall<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>]>;
299
318
  updatedAt: z.ZodISODateTime;
300
319
  }, z.core.$strict>;
301
320
  input: z.ZodObject<{
@@ -366,19 +385,22 @@ export declare const AgentHostExecutionViewSchema: z.ZodObject<{
366
385
  LIVE: "LIVE";
367
386
  TEST_ONLY: "TEST_ONLY";
368
387
  }>;
369
- transport: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
370
- protocol: z.ZodLiteral<"AGENT_STACK_NATIVE_INSTALLATION_V2">;
388
+ transport: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
389
+ protocol: z.ZodLiteral<"NVS_AGENT_HOST_V1">;
390
+ hostContractDigest: z.ZodLiteral<"c4b254f091c364e0fab8d43ad551f296a3bce2996bdb2c5349307c62295c1769">;
371
391
  installationId: z.ZodString;
372
392
  installationRevisionId: z.ZodString;
373
393
  slotKey: z.ZodString;
394
+ contractDigest: z.ZodLiteral<"03e0bad50c7c6ecf7979db72c0927fa43904d8fbad67ae02447a87a9263f2730">;
395
+ capabilityDigest: z.ZodString;
374
396
  }, z.core.$strict>, z.ZodObject<{
375
- protocol: z.ZodLiteral<"AGENT_STACK_GENERIC_INSTALLATION_V3">;
397
+ protocol: z.ZodString;
376
398
  installationId: z.ZodString;
377
399
  installationRevisionId: z.ZodString;
378
400
  slotKey: z.ZodString;
379
- contractDigest: z.ZodLiteral<"834d35515b14007b7900b09bb8e2988169fe6400c77109dba0f793a628c32c90">;
380
- capabilityDigest: z.ZodString;
381
- }, z.core.$strict>], "protocol">>;
401
+ contractDigest: z.ZodOptional<z.ZodString>;
402
+ capabilityDigest: z.ZodOptional<z.ZodString>;
403
+ }, z.core.$strict>]>>;
382
404
  }, z.core.$strict>;
383
405
  }, z.core.$strict>;
384
406
  dispatchPhase: z.ZodEnum<{
@@ -395,14 +417,14 @@ export declare const AgentHostExecutionViewSchema: z.ZodObject<{
395
417
  runKey: z.ZodString;
396
418
  status: z.ZodEnum<{
397
419
  unknown: "unknown";
420
+ accepted: "accepted";
398
421
  running: "running";
399
422
  succeeded: "succeeded";
400
423
  failed: "failed";
401
424
  cancelled: "cancelled";
402
- accepted: "accepted";
403
425
  }>;
404
426
  agentKey: z.ZodString;
405
- agentVersion: z.ZodInt;
427
+ agentVersion: z.ZodUnion<readonly [z.ZodString, z.ZodInt]>;
406
428
  modelOptionKey: z.ZodString;
407
429
  cancelRequested: z.ZodBoolean;
408
430
  createdAt: z.ZodISODateTime;
@@ -428,6 +450,8 @@ export declare const AgentHostExecutionPageSchema: z.ZodObject<{
428
450
  requestedByPrincipalId: z.ZodUUID;
429
451
  hostRequestId: z.ZodUUID;
430
452
  revision: z.ZodInt;
453
+ contractVersion: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
454
+ legacyDispatchFenceReleased: z.ZodOptional<z.ZodBoolean>;
431
455
  snapshotFingerprint: z.ZodString;
432
456
  snapshot: z.ZodObject<{
433
457
  binding: z.ZodObject<{
@@ -437,15 +461,19 @@ export declare const AgentHostExecutionPageSchema: z.ZodObject<{
437
461
  revision: z.ZodInt;
438
462
  configurationVersion: z.ZodInt;
439
463
  enabled: z.ZodBoolean;
440
- selection: z.ZodObject<{
441
- hostKey: z.ZodString;
442
- tenantKey: z.ZodString;
443
- workspaceKey: z.ZodString;
444
- projectKey: z.ZodString;
464
+ selection: z.ZodUnion<readonly [z.ZodObject<{
445
465
  agentKey: z.ZodString;
446
- agentVersion: z.ZodInt;
466
+ agentVersion: z.ZodString;
447
467
  modelOptionKey: z.ZodString;
448
- }, z.core.$strict>;
468
+ contractVersion: z.ZodLiteral<2>;
469
+ hostKey: z.ZodString;
470
+ hostScope: z.ZodObject<{
471
+ namespace: z.ZodString;
472
+ ref: z.ZodString;
473
+ }, z.core.$strict>;
474
+ }, z.core.$strict>, z.ZodObject<{
475
+ hostKey: z.ZodString;
476
+ }, z.core.$catchall<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>]>;
449
477
  updatedAt: z.ZodISODateTime;
450
478
  }, z.core.$strict>;
451
479
  input: z.ZodObject<{
@@ -516,19 +544,22 @@ export declare const AgentHostExecutionPageSchema: z.ZodObject<{
516
544
  LIVE: "LIVE";
517
545
  TEST_ONLY: "TEST_ONLY";
518
546
  }>;
519
- transport: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
520
- protocol: z.ZodLiteral<"AGENT_STACK_NATIVE_INSTALLATION_V2">;
547
+ transport: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
548
+ protocol: z.ZodLiteral<"NVS_AGENT_HOST_V1">;
549
+ hostContractDigest: z.ZodLiteral<"c4b254f091c364e0fab8d43ad551f296a3bce2996bdb2c5349307c62295c1769">;
521
550
  installationId: z.ZodString;
522
551
  installationRevisionId: z.ZodString;
523
552
  slotKey: z.ZodString;
553
+ contractDigest: z.ZodLiteral<"03e0bad50c7c6ecf7979db72c0927fa43904d8fbad67ae02447a87a9263f2730">;
554
+ capabilityDigest: z.ZodString;
524
555
  }, z.core.$strict>, z.ZodObject<{
525
- protocol: z.ZodLiteral<"AGENT_STACK_GENERIC_INSTALLATION_V3">;
556
+ protocol: z.ZodString;
526
557
  installationId: z.ZodString;
527
558
  installationRevisionId: z.ZodString;
528
559
  slotKey: z.ZodString;
529
- contractDigest: z.ZodLiteral<"834d35515b14007b7900b09bb8e2988169fe6400c77109dba0f793a628c32c90">;
530
- capabilityDigest: z.ZodString;
531
- }, z.core.$strict>], "protocol">>;
560
+ contractDigest: z.ZodOptional<z.ZodString>;
561
+ capabilityDigest: z.ZodOptional<z.ZodString>;
562
+ }, z.core.$strict>]>>;
532
563
  }, z.core.$strict>;
533
564
  }, z.core.$strict>;
534
565
  dispatchPhase: z.ZodEnum<{
@@ -545,14 +576,14 @@ export declare const AgentHostExecutionPageSchema: z.ZodObject<{
545
576
  runKey: z.ZodString;
546
577
  status: z.ZodEnum<{
547
578
  unknown: "unknown";
579
+ accepted: "accepted";
548
580
  running: "running";
549
581
  succeeded: "succeeded";
550
582
  failed: "failed";
551
583
  cancelled: "cancelled";
552
- accepted: "accepted";
553
584
  }>;
554
585
  agentKey: z.ZodString;
555
- agentVersion: z.ZodInt;
586
+ agentVersion: z.ZodUnion<readonly [z.ZodString, z.ZodInt]>;
556
587
  modelOptionKey: z.ZodString;
557
588
  cancelRequested: z.ZodBoolean;
558
589
  createdAt: z.ZodISODateTime;
@@ -590,14 +621,14 @@ export declare const AgentHostExecutionEventSchema: z.ZodObject<{
590
621
  runKey: z.ZodString;
591
622
  status: z.ZodEnum<{
592
623
  unknown: "unknown";
624
+ accepted: "accepted";
593
625
  running: "running";
594
626
  succeeded: "succeeded";
595
627
  failed: "failed";
596
628
  cancelled: "cancelled";
597
- accepted: "accepted";
598
629
  }>;
599
630
  agentKey: z.ZodString;
600
- agentVersion: z.ZodInt;
631
+ agentVersion: z.ZodUnion<readonly [z.ZodString, z.ZodInt]>;
601
632
  modelOptionKey: z.ZodString;
602
633
  cancelRequested: z.ZodBoolean;
603
634
  createdAt: z.ZodISODateTime;
@@ -639,14 +670,14 @@ export declare const AgentHostExecutionEventPageSchema: z.ZodObject<{
639
670
  runKey: z.ZodString;
640
671
  status: z.ZodEnum<{
641
672
  unknown: "unknown";
673
+ accepted: "accepted";
642
674
  running: "running";
643
675
  succeeded: "succeeded";
644
676
  failed: "failed";
645
677
  cancelled: "cancelled";
646
- accepted: "accepted";
647
678
  }>;
648
679
  agentKey: z.ZodString;
649
- agentVersion: z.ZodInt;
680
+ agentVersion: z.ZodUnion<readonly [z.ZodString, z.ZodInt]>;
650
681
  modelOptionKey: z.ZodString;
651
682
  cancelRequested: z.ZodBoolean;
652
683
  createdAt: z.ZodISODateTime;
@@ -1,12 +1,12 @@
1
1
  import { z } from "zod";
2
- /** Frozen AS M1 bundle identity; protocol/profile changes require a new explicit migration. */
3
- export declare const AgentExecutionContractDigest = "834d35515b14007b7900b09bb8e2988169fe6400c77109dba0f793a628c32c90";
2
+ export declare const AgentExecutionContractDigest = "03e0bad50c7c6ecf7979db72c0927fa43904d8fbad67ae02447a87a9263f2730";
4
3
  export declare const AgentHostGenericInstallationTransportSchema: z.ZodObject<{
5
- protocol: z.ZodLiteral<"AGENT_STACK_GENERIC_INSTALLATION_V3">;
4
+ protocol: z.ZodLiteral<"NVS_AGENT_HOST_V1">;
5
+ hostContractDigest: z.ZodLiteral<"c4b254f091c364e0fab8d43ad551f296a3bce2996bdb2c5349307c62295c1769">;
6
6
  installationId: z.ZodString;
7
7
  installationRevisionId: z.ZodString;
8
8
  slotKey: z.ZodString;
9
- contractDigest: z.ZodLiteral<"834d35515b14007b7900b09bb8e2988169fe6400c77109dba0f793a628c32c90">;
9
+ contractDigest: z.ZodLiteral<"03e0bad50c7c6ecf7979db72c0927fa43904d8fbad67ae02447a87a9263f2730">;
10
10
  capabilityDigest: z.ZodString;
11
11
  }, z.core.$strict>;
12
12
  export type AgentHostGenericInstallationTransport = z.infer<typeof AgentHostGenericInstallationTransportSchema>;
@@ -0,0 +1,31 @@
1
+ import { z } from "zod";
2
+ export declare const ReleaseLegacyHostExecutionSchema: z.ZodObject<{
3
+ tenantId: z.ZodUUID;
4
+ projectId: z.ZodUUID;
5
+ productionId: z.ZodUUID;
6
+ executionId: z.ZodUUID;
7
+ requestId: z.ZodUUID;
8
+ expectedRevision: z.ZodInt;
9
+ hostRequestId: z.ZodUUID;
10
+ snapshotFingerprint: z.ZodString;
11
+ evidenceRef: z.ZodString;
12
+ evidenceSha256: z.ZodString;
13
+ decision: z.ZodLiteral<"RELEASE_NATIVE_DISPATCH_FENCE">;
14
+ }, z.core.$strict>;
15
+ export declare const LegacyHostExecutionReleaseSchema: z.ZodObject<{
16
+ tenantId: z.ZodUUID;
17
+ projectId: z.ZodUUID;
18
+ productionId: z.ZodUUID;
19
+ executionId: z.ZodUUID;
20
+ requestId: z.ZodUUID;
21
+ expectedRevision: z.ZodInt;
22
+ hostRequestId: z.ZodUUID;
23
+ snapshotFingerprint: z.ZodString;
24
+ evidenceRef: z.ZodString;
25
+ evidenceSha256: z.ZodString;
26
+ decision: z.ZodLiteral<"RELEASE_NATIVE_DISPATCH_FENCE">;
27
+ releasedByPrincipalId: z.ZodUUID;
28
+ releasedAt: z.ZodISODateTime;
29
+ }, z.core.$strict>;
30
+ export type ReleaseLegacyHostExecution = z.infer<typeof ReleaseLegacyHostExecutionSchema>;
31
+ export type LegacyHostExecutionRelease = z.infer<typeof LegacyHostExecutionReleaseSchema>;
@@ -0,0 +1,71 @@
1
+ import { z } from "zod";
2
+ export declare const HOST_PROTOCOL = "NVS_AGENT_HOST_V1";
3
+ export declare const HostProtocolDocument: {
4
+ readonly protocol: "NVS_AGENT_HOST_V1";
5
+ readonly schemaVersion: 1;
6
+ readonly authorityOwner: "native-video-studio";
7
+ readonly root: "/nvs-agent-host/v1";
8
+ readonly scope: readonly ["namespace", "ref"];
9
+ readonly selection: readonly ["agentKey", "agentVersion", "modelOptionKey"];
10
+ readonly operations: readonly ["installation.read", "task.submit", "task.by-request", "task.get", "task.cancel"];
11
+ readonly correlation: readonly ["requestId", "inputDigest", "installationId", "installationRevisionId", "authorityRef"];
12
+ readonly outcomes: readonly ["accepted", "running", "succeeded", "failed", "cancelled", "unknown"];
13
+ readonly semantics: "HOST_REPORTED_ONLY";
14
+ };
15
+ export declare const HostDelegationDocument: {
16
+ readonly protocol: "delegated-mcp-execution";
17
+ readonly protocolVersion: 1;
18
+ readonly profileVersion: 2;
19
+ readonly authorityOwner: "native-video-studio";
20
+ readonly hostProtocol: "NVS_AGENT_HOST_V1";
21
+ readonly transportProfile: "stateless-json-v1";
22
+ readonly authorization: readonly ["registration", "consent", "grant", "permit", "lease", "access"];
23
+ readonly assertionSeconds: 60;
24
+ readonly clockSkewSeconds: 5;
25
+ readonly executionMaxSeconds: 21600;
26
+ };
27
+ export declare const HostProtocolDigest = "c4b254f091c364e0fab8d43ad551f296a3bce2996bdb2c5349307c62295c1769";
28
+ export declare const HostDelegationDigest = "03e0bad50c7c6ecf7979db72c0927fa43904d8fbad67ae02447a87a9263f2730";
29
+ export declare const HostReferenceSchema: z.ZodString;
30
+ export declare const HostScopeSchema: z.ZodObject<{
31
+ namespace: z.ZodString;
32
+ ref: z.ZodString;
33
+ }, z.core.$strict>;
34
+ export declare const HostChoiceSchema: z.ZodObject<{
35
+ agentKey: z.ZodString;
36
+ agentVersion: z.ZodString;
37
+ modelOptionKey: z.ZodString;
38
+ }, z.core.$strict>;
39
+ export declare const CurrentHostSelectionSchema: z.ZodObject<{
40
+ agentKey: z.ZodString;
41
+ agentVersion: z.ZodString;
42
+ modelOptionKey: z.ZodString;
43
+ contractVersion: z.ZodLiteral<2>;
44
+ hostKey: z.ZodString;
45
+ hostScope: z.ZodObject<{
46
+ namespace: z.ZodString;
47
+ ref: z.ZodString;
48
+ }, z.core.$strict>;
49
+ }, z.core.$strict>;
50
+ /** Opaque historic metadata. Never used by the current transport or approval path. */
51
+ export declare const HistoricalHostSelectionSchema: z.ZodObject<{
52
+ hostKey: z.ZodString;
53
+ }, z.core.$catchall<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
54
+ export declare const HostBearerSchema: z.ZodString;
55
+ export declare const CurrentHostInstallationTransportSchema: z.ZodObject<{
56
+ protocol: z.ZodLiteral<"NVS_AGENT_HOST_V1">;
57
+ hostContractDigest: z.ZodLiteral<"c4b254f091c364e0fab8d43ad551f296a3bce2996bdb2c5349307c62295c1769">;
58
+ installationId: z.ZodString;
59
+ installationRevisionId: z.ZodString;
60
+ slotKey: z.ZodString;
61
+ contractDigest: z.ZodLiteral<"03e0bad50c7c6ecf7979db72c0927fa43904d8fbad67ae02447a87a9263f2730">;
62
+ capabilityDigest: z.ZodString;
63
+ }, z.core.$strict>;
64
+ export declare const HistoricalHostTransportSchema: z.ZodObject<{
65
+ protocol: z.ZodString;
66
+ installationId: z.ZodString;
67
+ installationRevisionId: z.ZodString;
68
+ slotKey: z.ZodString;
69
+ contractDigest: z.ZodOptional<z.ZodString>;
70
+ capabilityDigest: z.ZodOptional<z.ZodString>;
71
+ }, z.core.$strict>;