@nativestudio/sdk 0.0.0-stage → 0.3.0-rc.2

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 (235) hide show
  1. package/COMPATIBILITY.json +14 -0
  2. package/LICENSE +21 -0
  3. package/README.md +74 -2
  4. package/dist/BUNDLED_DEPENDENCIES.json +1 -0
  5. package/dist/_chunks/chunk-34KSWLCI.js +1 -0
  6. package/dist/_chunks/chunk-4IOFVNFG.js +1 -0
  7. package/dist/_chunks/chunk-4M3AGNTZ.js +1 -0
  8. package/dist/_chunks/chunk-6NVIN2NI.js +1 -0
  9. package/dist/_chunks/chunk-7YCEMDNZ.js +1 -0
  10. package/dist/_chunks/chunk-RK3YLCZP.js +1 -0
  11. package/dist/_types/contracts/accepted-shot.d.ts +27 -0
  12. package/dist/_types/contracts/accepted-visual-source.d.ts +120 -0
  13. package/dist/_types/contracts/agent-execution-lifecycle.d.ts +749 -0
  14. package/dist/_types/contracts/agent-execution-oauth.d.ts +71 -0
  15. package/dist/_types/contracts/agent-execution-registration.d.ts +240 -0
  16. package/dist/_types/contracts/agent-execution-selection.d.ts +107 -0
  17. package/dist/_types/contracts/agent-host-execution.d.ts +706 -0
  18. package/dist/_types/contracts/agent-host-generic-transport.d.ts +12 -0
  19. package/dist/_types/contracts/agent-host.d.ts +226 -0
  20. package/dist/_types/contracts/artifact-discovery.d.ts +170 -0
  21. package/dist/_types/contracts/artifact.d.ts +188 -0
  22. package/dist/_types/contracts/audio.d.ts +331 -0
  23. package/dist/_types/contracts/brief.d.ts +178 -0
  24. package/dist/_types/contracts/caption-render.d.ts +20 -0
  25. package/dist/_types/contracts/caption-transcript.d.ts +102 -0
  26. package/dist/_types/contracts/captions.d.ts +420 -0
  27. package/dist/_types/contracts/clip-framing.d.ts +14 -0
  28. package/dist/_types/contracts/clip-transition.d.ts +6 -0
  29. package/dist/_types/contracts/composition-authoring-guide.d.ts +160 -0
  30. package/dist/_types/contracts/composition-authoring.d.ts +744 -0
  31. package/dist/_types/contracts/composition-finding-locality.d.ts +24 -0
  32. package/dist/_types/contracts/composition-frame-render.d.ts +226 -0
  33. package/dist/_types/contracts/composition-making.d.ts +390 -0
  34. package/dist/_types/contracts/composition-observation.d.ts +239 -0
  35. package/dist/_types/contracts/composition-render-base.d.ts +292 -0
  36. package/dist/_types/contracts/composition-render-observation.d.ts +278 -0
  37. package/dist/_types/contracts/composition-render.d.ts +406 -0
  38. package/dist/_types/contracts/composition-repair.d.ts +451 -0
  39. package/dist/_types/contracts/composition-source-review.d.ts +1042 -0
  40. package/dist/_types/contracts/consistency-profile.d.ts +845 -0
  41. package/dist/_types/contracts/continuity-evaluation.d.ts +48 -0
  42. package/dist/_types/contracts/delivery-completion.d.ts +210 -0
  43. package/dist/_types/contracts/delivery-manifest.d.ts +11776 -0
  44. package/dist/_types/contracts/delivery-operations.d.ts +5009 -0
  45. package/dist/_types/contracts/delivery-output-profile.d.ts +12 -0
  46. package/dist/_types/contracts/delivery-summary.d.ts +220 -0
  47. package/dist/_types/contracts/delivery-validation.d.ts +183 -0
  48. package/dist/_types/contracts/director-proposal.d.ts +1067 -0
  49. package/dist/_types/contracts/editor-intelligence.d.ts +5751 -0
  50. package/dist/_types/contracts/exploration-recommendation.d.ts +11863 -0
  51. package/dist/_types/contracts/external-agent-access.d.ts +95 -0
  52. package/dist/_types/contracts/final-ready.d.ts +301 -0
  53. package/dist/_types/contracts/final-render-profile.d.ts +59 -0
  54. package/dist/_types/contracts/final-render.d.ts +8181 -0
  55. package/dist/_types/contracts/foundation.d.ts +1 -0
  56. package/dist/_types/contracts/generation-contract.d.ts +268 -0
  57. package/dist/_types/contracts/generation-cost.d.ts +70 -0
  58. package/dist/_types/contracts/health.d.ts +6 -0
  59. package/dist/_types/contracts/human-identity.d.ts +149 -0
  60. package/dist/_types/contracts/hyperframe-profile.d.ts +5 -0
  61. package/dist/_types/contracts/ids.d.ts +41 -0
  62. package/dist/_types/contracts/index.d.ts +122 -0
  63. package/dist/_types/contracts/interface/common.d.ts +56 -0
  64. package/dist/_types/contracts/interface/execution-output.d.ts +99 -0
  65. package/dist/_types/contracts/interface/index.d.ts +7 -0
  66. package/dist/_types/contracts/interface/media-output.d.ts +62 -0
  67. package/dist/_types/contracts/interface/operation.d.ts +61 -0
  68. package/dist/_types/contracts/interface/output.d.ts +15 -0
  69. package/dist/_types/contracts/interface/production-snapshot.d.ts +832 -0
  70. package/dist/_types/contracts/interface/query.d.ts +315 -0
  71. package/dist/_types/contracts/keyframe-generation.d.ts +349 -0
  72. package/dist/_types/contracts/keyframe-reference.d.ts +31 -0
  73. package/dist/_types/contracts/keyframe-review.d.ts +753 -0
  74. package/dist/_types/contracts/lifecycle-event-projections.d.ts +191 -0
  75. package/dist/_types/contracts/lifecycle-events.d.ts +156 -0
  76. package/dist/_types/contracts/listening-evidence.d.ts +37 -0
  77. package/dist/_types/contracts/local-execution/agent-review.d.ts +560 -0
  78. package/dist/_types/contracts/local-execution/canonical.d.ts +2 -0
  79. package/dist/_types/contracts/local-execution/common.d.ts +48 -0
  80. package/dist/_types/contracts/local-execution/completion.d.ts +128 -0
  81. package/dist/_types/contracts/local-execution/device.d.ts +134 -0
  82. package/dist/_types/contracts/local-execution/index.d.ts +11 -0
  83. package/dist/_types/contracts/local-execution/ipc.d.ts +1202 -0
  84. package/dist/_types/contracts/local-execution/lifecycle.d.ts +347 -0
  85. package/dist/_types/contracts/local-execution/local-navigation.d.ts +710 -0
  86. package/dist/_types/contracts/local-execution/preview.d.ts +3663 -0
  87. package/dist/_types/contracts/local-execution/tool-selection.d.ts +15 -0
  88. package/dist/_types/contracts/local-execution/work.d.ts +3441 -0
  89. package/dist/_types/contracts/matrix-parameter-rule.d.ts +23 -0
  90. package/dist/_types/contracts/media-export.d.ts +23 -0
  91. package/dist/_types/contracts/media-observation.d.ts +1159 -0
  92. package/dist/_types/contracts/model-capability-matrix.d.ts +118 -0
  93. package/dist/_types/contracts/native-tool-authority-failure.d.ts +38 -0
  94. package/dist/_types/contracts/native-tool-authority.d.ts +110 -0
  95. package/dist/_types/contracts/native-tool-execution.d.ts +287 -0
  96. package/dist/_types/contracts/native-tool-gateway.d.ts +41 -0
  97. package/dist/_types/contracts/native-video-audio.d.ts +62 -0
  98. package/dist/_types/contracts/navigation-context.d.ts +253 -0
  99. package/dist/_types/contracts/navigation-groups.d.ts +51 -0
  100. package/dist/_types/contracts/navigation.d.ts +238 -0
  101. package/dist/_types/contracts/observation-profile.d.ts +99 -0
  102. package/dist/_types/contracts/planning-input.d.ts +177 -0
  103. package/dist/_types/contracts/principal.d.ts +26 -0
  104. package/dist/_types/contracts/production-creation.d.ts +66 -0
  105. package/dist/_types/contracts/production-termination.d.ts +51 -0
  106. package/dist/_types/contracts/production.d.ts +111 -0
  107. package/dist/_types/contracts/programmatic-composition.d.ts +762 -0
  108. package/dist/_types/contracts/programmatic-exploration.d.ts +7459 -0
  109. package/dist/_types/contracts/programmatic-video-review.d.ts +894 -0
  110. package/dist/_types/contracts/project-library.d.ts +173 -0
  111. package/dist/_types/contracts/project.d.ts +93 -0
  112. package/dist/_types/contracts/provider-catalog.d.ts +421 -0
  113. package/dist/_types/contracts/provider-models.d.ts +3380 -0
  114. package/dist/_types/contracts/provider.d.ts +142 -0
  115. package/dist/_types/contracts/reference-preview.d.ts +36 -0
  116. package/dist/_types/contracts/repair-lifecycle.d.ts +2896 -0
  117. package/dist/_types/contracts/repair-plan.d.ts +728 -0
  118. package/dist/_types/contracts/repair-strategy.d.ts +5751 -0
  119. package/dist/_types/contracts/review-intelligence-evidence.d.ts +136 -0
  120. package/dist/_types/contracts/review-intelligence-final-output.d.ts +8705 -0
  121. package/dist/_types/contracts/review-intelligence.d.ts +11543 -0
  122. package/dist/_types/contracts/review1-repair-source.d.ts +452 -0
  123. package/dist/_types/contracts/review1-repair-strategy.d.ts +491 -0
  124. package/dist/_types/contracts/review1-repair.d.ts +36 -0
  125. package/dist/_types/contracts/rough-cut-manifest.d.ts +347 -0
  126. package/dist/_types/contracts/rough-cut-profile.d.ts +37 -0
  127. package/dist/_types/contracts/rough-cut-review.d.ts +12819 -0
  128. package/dist/_types/contracts/rough-cut.d.ts +5862 -0
  129. package/dist/_types/contracts/scene-shot-plan.d.ts +882 -0
  130. package/dist/_types/contracts/sdk-discovery.d.ts +66 -0
  131. package/dist/_types/contracts/shot-direction.d.ts +113 -0
  132. package/dist/_types/contracts/shot-preparation-basis.d.ts +356 -0
  133. package/dist/_types/contracts/shot-preparation.d.ts +2285 -0
  134. package/dist/_types/contracts/shot-sound-instruction.d.ts +58 -0
  135. package/dist/_types/contracts/sound-making-plan.d.ts +1585 -0
  136. package/dist/_types/contracts/source-sound-policy.d.ts +10 -0
  137. package/dist/_types/contracts/source-workspace.d.ts +62 -0
  138. package/dist/_types/contracts/speech.d.ts +424 -0
  139. package/dist/_types/contracts/story.d.ts +98 -0
  140. package/dist/_types/contracts/temporal-evidence-operation.d.ts +379 -0
  141. package/dist/_types/contracts/temporal-evidence-reference.d.ts +18 -0
  142. package/dist/_types/contracts/temporal-evidence.d.ts +248 -0
  143. package/dist/_types/contracts/tenant.d.ts +7 -0
  144. package/dist/_types/contracts/timeline-audio.d.ts +97 -0
  145. package/dist/_types/contracts/timeline-graphics.d.ts +80 -0
  146. package/dist/_types/contracts/timeline-manifest.d.ts +702 -0
  147. package/dist/_types/contracts/timeline-source-sound.d.ts +352 -0
  148. package/dist/_types/contracts/timeline-v2.d.ts +1263 -0
  149. package/dist/_types/contracts/timeline-version-reader.d.ts +2945 -0
  150. package/dist/_types/contracts/timeline-visual-layers.d.ts +1245 -0
  151. package/dist/_types/contracts/timeline.d.ts +4942 -0
  152. package/dist/_types/contracts/transcription.d.ts +80 -0
  153. package/dist/_types/contracts/video-generation.d.ts +643 -0
  154. package/dist/_types/contracts/video-review.d.ts +1871 -0
  155. package/dist/_types/contracts/visual-exploration.d.ts +1586 -0
  156. package/dist/_types/contracts/visual-layer-render.d.ts +2777 -0
  157. package/dist/_types/contracts/visual-layer.d.ts +112 -0
  158. package/dist/_types/contracts/visual-sequence.d.ts +121 -0
  159. package/dist/_types/contracts/writer-proposal.d.ts +268 -0
  160. package/dist/_types/sdk/account.d.ts +109 -0
  161. package/dist/_types/sdk/auxiliary-media.d.ts +43 -0
  162. package/dist/_types/sdk/catalog/agent-host-execution.d.ts +1551 -0
  163. package/dist/_types/sdk/catalog/agent-host.d.ts +344 -0
  164. package/dist/_types/sdk/catalog/assembly.d.ts +37634 -0
  165. package/dist/_types/sdk/catalog/audio-caption.d.ts +1374 -0
  166. package/dist/_types/sdk/catalog/canonical-repair.d.ts +4584 -0
  167. package/dist/_types/sdk/catalog/composition-source.d.ts +1556 -0
  168. package/dist/_types/sdk/catalog/composition.d.ts +2815 -0
  169. package/dist/_types/sdk/catalog/core.d.ts +3049 -0
  170. package/dist/_types/sdk/catalog/delivery.d.ts +14169 -0
  171. package/dist/_types/sdk/catalog/discovery.d.ts +75 -0
  172. package/dist/_types/sdk/catalog/editor.d.ts +6540 -0
  173. package/dist/_types/sdk/catalog/generation.d.ts +942 -0
  174. package/dist/_types/sdk/catalog/imported-visual.d.ts +3111 -0
  175. package/dist/_types/sdk/catalog/keyframe-review.d.ts +859 -0
  176. package/dist/_types/sdk/catalog/lifecycle-events.d.ts +329 -0
  177. package/dist/_types/sdk/catalog/mcp.d.ts +245 -0
  178. package/dist/_types/sdk/catalog/media-descriptors.d.ts +139 -0
  179. package/dist/_types/sdk/catalog/media-observation.d.ts +958 -0
  180. package/dist/_types/sdk/catalog/native-tool-authority.d.ts +281 -0
  181. package/dist/_types/sdk/catalog/navigation.d.ts +559 -0
  182. package/dist/_types/sdk/catalog/planning-intelligence.d.ts +2031 -0
  183. package/dist/_types/sdk/catalog/programmatic-exploration.d.ts +9855 -0
  184. package/dist/_types/sdk/catalog/programmatic-review.d.ts +1106 -0
  185. package/dist/_types/sdk/catalog/provider.d.ts +4439 -0
  186. package/dist/_types/sdk/catalog/reference-preview.d.ts +180 -0
  187. package/dist/_types/sdk/catalog/repair-strategy.d.ts +8916 -0
  188. package/dist/_types/sdk/catalog/reviewer.d.ts +23133 -0
  189. package/dist/_types/sdk/catalog/shot-preparation.d.ts +2974 -0
  190. package/dist/_types/sdk/catalog/sound-making-plan.d.ts +1778 -0
  191. package/dist/_types/sdk/catalog/source-sync.d.ts +1313 -0
  192. package/dist/_types/sdk/catalog/spec.d.ts +37 -0
  193. package/dist/_types/sdk/catalog/speech.d.ts +397 -0
  194. package/dist/_types/sdk/catalog/temporal-evidence.d.ts +391 -0
  195. package/dist/_types/sdk/catalog/video-review.d.ts +2149 -0
  196. package/dist/_types/sdk/catalog/visual-exploration.d.ts +10838 -0
  197. package/dist/_types/sdk/client.d.ts +75 -0
  198. package/dist/_types/sdk/desktop-catalogue.d.ts +25 -0
  199. package/dist/_types/sdk/desktop-previews.d.ts +118 -0
  200. package/dist/_types/sdk/desktop-releases.d.ts +75 -0
  201. package/dist/_types/sdk/errors.d.ts +9 -0
  202. package/dist/_types/sdk/evidence-image.d.ts +22 -0
  203. package/dist/_types/sdk/image-media.d.ts +43 -0
  204. package/dist/_types/sdk/index.d.ts +16 -0
  205. package/dist/_types/sdk/local-runtime/device-client.d.ts +77 -0
  206. package/dist/_types/sdk/local-runtime-client.d.ts +932 -0
  207. package/dist/_types/sdk/mcp-client.d.ts +55 -0
  208. package/dist/_types/sdk/mcp-image.d.ts +52 -0
  209. package/dist/_types/sdk/media.d.ts +104 -0
  210. package/dist/_types/sdk/navigation-client.d.ts +141 -0
  211. package/dist/_types/sdk/navigation-facade.d.ts +458 -0
  212. package/dist/_types/sdk/observe.d.ts +51 -0
  213. package/dist/_types/sdk/runtime-authority.d.ts +103 -0
  214. package/dist/_types/sdk/transport/http.d.ts +39 -0
  215. package/dist/account.d.ts +1 -0
  216. package/dist/account.js +1 -0
  217. package/dist/desktop-previews.d.ts +1 -0
  218. package/dist/desktop-previews.js +1 -0
  219. package/dist/desktop-releases.d.ts +1 -0
  220. package/dist/desktop-releases.js +1 -0
  221. package/dist/errors.d.ts +1 -0
  222. package/dist/errors.js +1 -0
  223. package/dist/index.d.ts +2 -0
  224. package/dist/index.js +1 -0
  225. package/dist/local-runtime.d.ts +1 -0
  226. package/dist/local-runtime.js +1 -0
  227. package/dist/native/Bootstrap.ps1 +90 -0
  228. package/dist/native/JobNative.cs +127 -0
  229. package/dist/native/JobRunner.cs +360 -0
  230. package/dist/native/NativeMain.cs +146 -0
  231. package/dist/native/PipeBridge.cs +260 -0
  232. package/dist/native/PrivateAccess.cs +152 -0
  233. package/dist/runtime-authority.d.ts +1 -0
  234. package/dist/runtime-authority.js +1 -0
  235. package/package.json +50 -3
@@ -0,0 +1,118 @@
1
+ import { z } from "zod";
2
+ export declare const ModelAudioCapabilitySchema: z.ZodEnum<{
3
+ SYNCHRONIZED_AUDIO: "SYNCHRONIZED_AUDIO";
4
+ SPEECH_GENERATION: "SPEECH_GENERATION";
5
+ SPEECH_RECOGNITION: "SPEECH_RECOGNITION";
6
+ TRANSCRIPT_TIMESTAMPS: "TRANSCRIPT_TIMESTAMPS";
7
+ VOICE_REFERENCE: "VOICE_REFERENCE";
8
+ AUDIO_REFERENCE: "AUDIO_REFERENCE";
9
+ AUDIO_DRIVEN_VIDEO: "AUDIO_DRIVEN_VIDEO";
10
+ LIP_SYNCHRONIZATION: "LIP_SYNCHRONIZATION";
11
+ AUDIO_EDITING: "AUDIO_EDITING";
12
+ SEPARATE_STEMS: "SEPARATE_STEMS";
13
+ }>;
14
+ export declare const ModelCapabilityMatrixSchema: z.ZodObject<{
15
+ schemaVersion: z.ZodLiteral<1>;
16
+ service: z.ZodString;
17
+ lifecycle: z.ZodEnum<{
18
+ ACTIVE: "ACTIVE";
19
+ DEPRECATED: "DEPRECATED";
20
+ RETIRED: "RETIRED";
21
+ }>;
22
+ sources: z.ZodArray<z.ZodObject<{
23
+ url: z.ZodURL;
24
+ checkedAt: z.ZodISODate;
25
+ }, z.core.$strict>>;
26
+ modes: z.ZodArray<z.ZodString>;
27
+ claims: z.ZodArray<z.ZodObject<{
28
+ capability: z.ZodEnum<{
29
+ SYNCHRONIZED_AUDIO: "SYNCHRONIZED_AUDIO";
30
+ SPEECH_GENERATION: "SPEECH_GENERATION";
31
+ SPEECH_RECOGNITION: "SPEECH_RECOGNITION";
32
+ TRANSCRIPT_TIMESTAMPS: "TRANSCRIPT_TIMESTAMPS";
33
+ VOICE_REFERENCE: "VOICE_REFERENCE";
34
+ AUDIO_REFERENCE: "AUDIO_REFERENCE";
35
+ AUDIO_DRIVEN_VIDEO: "AUDIO_DRIVEN_VIDEO";
36
+ LIP_SYNCHRONIZATION: "LIP_SYNCHRONIZATION";
37
+ AUDIO_EDITING: "AUDIO_EDITING";
38
+ SEPARATE_STEMS: "SEPARATE_STEMS";
39
+ }>;
40
+ modes: z.ZodArray<z.ZodString>;
41
+ support: z.ZodEnum<{
42
+ UNKNOWN: "UNKNOWN";
43
+ SUPPORTED: "SUPPORTED";
44
+ UNSUPPORTED: "UNSUPPORTED";
45
+ }>;
46
+ control: z.ZodEnum<{
47
+ NONE: "NONE";
48
+ PARAMETER: "PARAMETER";
49
+ PROMPT: "PROMPT";
50
+ ALWAYS_ON: "ALWAYS_ON";
51
+ MEDIA_INPUT: "MEDIA_INPUT";
52
+ }>;
53
+ parameterPath: z.ZodOptional<z.ZodString>;
54
+ access: z.ZodDefault<z.ZodEnum<{
55
+ PUBLIC: "PUBLIC";
56
+ QUALIFIED_ACCOUNT: "QUALIFIED_ACCOUNT";
57
+ }>>;
58
+ description: z.ZodOptional<z.ZodString>;
59
+ }, z.core.$strict>>;
60
+ parameters: z.ZodRecord<z.ZodString, z.ZodObject<{
61
+ label: z.ZodString;
62
+ type: z.ZodEnum<{
63
+ STRING: "STRING";
64
+ NUMBER: "NUMBER";
65
+ BOOLEAN: "BOOLEAN";
66
+ INTEGER: "INTEGER";
67
+ STRING_ARRAY: "STRING_ARRAY";
68
+ STRING_MAP: "STRING_MAP";
69
+ }>;
70
+ required: z.ZodDefault<z.ZodBoolean>;
71
+ min: z.ZodOptional<z.ZodNumber>;
72
+ max: z.ZodOptional<z.ZodNumber>;
73
+ maxLength: z.ZodOptional<z.ZodInt>;
74
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
75
+ default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodRecord<z.ZodString, z.ZodString>]>>;
76
+ unit: z.ZodOptional<z.ZodString>;
77
+ description: z.ZodOptional<z.ZodString>;
78
+ maxItems: z.ZodOptional<z.ZodInt>;
79
+ maxKeyLength: z.ZodOptional<z.ZodInt>;
80
+ numberOptions: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
81
+ }, z.core.$strict>>;
82
+ constraints: z.ZodArray<z.ZodObject<{
83
+ modes: z.ZodArray<z.ZodString>;
84
+ when: z.ZodOptional<z.ZodObject<{
85
+ parameter: z.ZodString;
86
+ equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
87
+ }, z.core.$strict>>;
88
+ require: z.ZodDefault<z.ZodArray<z.ZodString>>;
89
+ forbid: z.ZodDefault<z.ZodArray<z.ZodString>>;
90
+ requireValues: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
91
+ reason: z.ZodString;
92
+ }, z.core.$strict>>;
93
+ references: z.ZodArray<z.ZodObject<{
94
+ kind: z.ZodEnum<{
95
+ AUDIO_REFERENCE: "AUDIO_REFERENCE";
96
+ VOICE_ID: "VOICE_ID";
97
+ DRIVING_AUDIO: "DRIVING_AUDIO";
98
+ }>;
99
+ modes: z.ZodArray<z.ZodString>;
100
+ parameterPath: z.ZodString;
101
+ maxItems: z.ZodInt;
102
+ minDurationMs: z.ZodOptional<z.ZodInt>;
103
+ maxDurationMs: z.ZodOptional<z.ZodInt>;
104
+ maxTotalDurationMs: z.ZodOptional<z.ZodInt>;
105
+ maxBytes: z.ZodOptional<z.ZodInt>;
106
+ formats: z.ZodArray<z.ZodEnum<{
107
+ WAV: "WAV";
108
+ MP3: "MP3";
109
+ }>>;
110
+ requiresVisual: z.ZodBoolean;
111
+ access: z.ZodEnum<{
112
+ PUBLIC: "PUBLIC";
113
+ QUALIFIED_ACCOUNT: "QUALIFIED_ACCOUNT";
114
+ }>;
115
+ }, z.core.$strict>>;
116
+ outputAudioChannels: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
117
+ }, z.core.$strict>;
118
+ export type ModelCapabilityMatrix = z.infer<typeof ModelCapabilityMatrixSchema>;
@@ -0,0 +1,38 @@
1
+ import { z } from "zod";
2
+ export declare const NativeToolAuthorityFailureSchema: z.ZodObject<{
3
+ semanticStatus: z.ZodEnum<{
4
+ INVALID_INPUT: "INVALID_INPUT";
5
+ NOT_FOUND: "NOT_FOUND";
6
+ BLOCKED: "BLOCKED";
7
+ REVISION_CONFLICT: "REVISION_CONFLICT";
8
+ CAPABILITY_UNAVAILABLE: "CAPABILITY_UNAVAILABLE";
9
+ INTERNAL_OPERATIONAL_FAILURE: "INTERNAL_OPERATIONAL_FAILURE";
10
+ }>;
11
+ error: z.ZodObject<{
12
+ code: z.ZodEnum<{
13
+ CREDENTIAL_UNAVAILABLE: "CREDENTIAL_UNAVAILABLE";
14
+ INVALID_INPUT: "INVALID_INPUT";
15
+ NOT_FOUND: "NOT_FOUND";
16
+ REVISION_CONFLICT: "REVISION_CONFLICT";
17
+ INTERNAL_OPERATIONAL_FAILURE: "INTERNAL_OPERATIONAL_FAILURE";
18
+ UNAUTHENTICATED: "UNAUTHENTICATED";
19
+ FORBIDDEN: "FORBIDDEN";
20
+ REQUEST_CONFLICT: "REQUEST_CONFLICT";
21
+ BINDING_UNAVAILABLE: "BINDING_UNAVAILABLE";
22
+ GRANT_CONFLICT: "GRANT_CONFLICT";
23
+ GRANT_EXPIRED: "GRANT_EXPIRED";
24
+ GRANT_REVOKED: "GRANT_REVOKED";
25
+ PROOF_INVALID: "PROOF_INVALID";
26
+ PROOF_REPLAY: "PROOF_REPLAY";
27
+ CHALLENGE_EXPIRED: "CHALLENGE_EXPIRED";
28
+ PERMIT_UNAVAILABLE: "PERMIT_UNAVAILABLE";
29
+ QUALIFICATION_UNAVAILABLE: "QUALIFICATION_UNAVAILABLE";
30
+ CREDENTIAL_INVALID: "CREDENTIAL_INVALID";
31
+ CREDENTIAL_EXPIRED: "CREDENTIAL_EXPIRED";
32
+ CREDENTIAL_LIMIT: "CREDENTIAL_LIMIT";
33
+ HOST_RUN_UNAVAILABLE: "HOST_RUN_UNAVAILABLE";
34
+ }>;
35
+ message: z.ZodLiteral<"Native tool authority operation did not complete">;
36
+ }, z.core.$strict>;
37
+ }, z.core.$strict>;
38
+ export type NativeToolAuthorityFailure = z.infer<typeof NativeToolAuthorityFailureSchema>;
@@ -0,0 +1,110 @@
1
+ import { z } from "zod";
2
+ export declare const NativeRuntimePublicKeySchema: z.ZodObject<{
3
+ kty: z.ZodLiteral<"EC">;
4
+ crv: z.ZodLiteral<"P-256">;
5
+ x: z.ZodString;
6
+ y: z.ZodString;
7
+ }, z.core.$strict>;
8
+ export declare const ConfigureNativeToolGrantSchema: z.ZodObject<{
9
+ tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
10
+ projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
11
+ requestId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
12
+ bindingId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
13
+ expectedBindingRevision: z.ZodInt;
14
+ expectedConfigurationVersion: z.ZodInt;
15
+ runtimeKey: z.ZodString;
16
+ installationId: z.ZodString;
17
+ installationRevisionId: z.ZodString;
18
+ publicKey: z.ZodObject<{
19
+ kty: z.ZodLiteral<"EC">;
20
+ crv: z.ZodLiteral<"P-256">;
21
+ x: z.ZodString;
22
+ y: z.ZodString;
23
+ }, z.core.$strict>;
24
+ expiresAt: z.ZodISODateTime;
25
+ }, z.core.$strict>;
26
+ export declare const NativeToolGrantGetSchema: z.ZodObject<{
27
+ tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
28
+ projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
29
+ grantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
30
+ }, z.core.$strict>;
31
+ export declare const RevokeNativeToolGrantSchema: z.ZodObject<{
32
+ tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
33
+ projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
34
+ grantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
35
+ requestId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
36
+ expectedRevision: z.ZodInt;
37
+ }, z.core.$strict>;
38
+ export declare const NativeRuntimeProofRequestSchema: z.ZodObject<{
39
+ tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
40
+ projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
41
+ grantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
42
+ assertion: z.ZodString;
43
+ }, z.core.$strict>;
44
+ export declare const NativeRuntimeStatusClaimsSchema: z.ZodObject<{
45
+ iss: z.ZodString;
46
+ sub: z.ZodString;
47
+ aud: z.ZodURL;
48
+ grantId: z.ZodUUID;
49
+ installationRevisionId: z.ZodString;
50
+ jti: z.ZodUUID;
51
+ iat: z.ZodInt;
52
+ exp: z.ZodInt;
53
+ }, z.core.$strict>;
54
+ export declare const NativeRuntimeProofClaimsSchema: z.ZodObject<{
55
+ iss: z.ZodString;
56
+ sub: z.ZodString;
57
+ aud: z.ZodURL;
58
+ grantId: z.ZodUUID;
59
+ grantRevision: z.ZodInt;
60
+ installationRevisionId: z.ZodString;
61
+ challengeId: z.ZodUUID;
62
+ jti: z.ZodUUID;
63
+ iat: z.ZodInt;
64
+ exp: z.ZodInt;
65
+ }, z.core.$strict>;
66
+ export declare const NativeToolGrantViewSchema: z.ZodObject<{
67
+ tenantId: z.ZodUUID;
68
+ projectId: z.ZodUUID;
69
+ protocol: z.ZodLiteral<"NATIVESTUDIO_RUNTIME_REGISTRATION_V1">;
70
+ grantId: z.ZodUUID;
71
+ bindingId: z.ZodUUID;
72
+ bindingRevision: z.ZodInt;
73
+ configurationVersion: z.ZodInt;
74
+ selection: z.ZodObject<{
75
+ hostKey: z.ZodString;
76
+ tenantKey: z.ZodString;
77
+ workspaceKey: z.ZodString;
78
+ projectKey: z.ZodString;
79
+ agentKey: z.ZodString;
80
+ agentVersion: z.ZodInt;
81
+ modelOptionKey: z.ZodString;
82
+ }, z.core.$strict>;
83
+ runtimeKey: z.ZodString;
84
+ installationId: z.ZodString;
85
+ installationRevisionId: z.ZodString;
86
+ publicKey: z.ZodObject<{
87
+ kty: z.ZodLiteral<"EC">;
88
+ crv: z.ZodLiteral<"P-256">;
89
+ x: z.ZodString;
90
+ y: z.ZodString;
91
+ }, z.core.$strict>;
92
+ resource: z.ZodURL;
93
+ revision: z.ZodInt;
94
+ enabled: z.ZodBoolean;
95
+ createdByPrincipalId: z.ZodUUID;
96
+ runtimePrincipalId: z.ZodUUID;
97
+ createdAt: z.ZodISODateTime;
98
+ expiresAt: z.ZodISODateTime;
99
+ challengeId: z.ZodUUID;
100
+ challengeExpiresAt: z.ZodISODateTime;
101
+ verifiedAt: z.ZodNullable<z.ZodISODateTime>;
102
+ revokedAt: z.ZodNullable<z.ZodISODateTime>;
103
+ }, z.core.$strict>;
104
+ export type NativeRuntimePublicKey = z.infer<typeof NativeRuntimePublicKeySchema>;
105
+ export type ConfigureNativeToolGrant = z.infer<typeof ConfigureNativeToolGrantSchema>;
106
+ export type NativeToolGrantGet = z.infer<typeof NativeToolGrantGetSchema>;
107
+ export type RevokeNativeToolGrant = z.infer<typeof RevokeNativeToolGrantSchema>;
108
+ export type NativeRuntimeProofClaims = z.infer<typeof NativeRuntimeProofClaimsSchema>;
109
+ export type NativeRuntimeStatusClaims = z.infer<typeof NativeRuntimeStatusClaimsSchema>;
110
+ export type NativeToolGrantView = z.infer<typeof NativeToolGrantViewSchema>;
@@ -0,0 +1,287 @@
1
+ import { z } from "zod";
2
+ export declare const NativeRuntimeQualificationSchema: z.ZodObject<{
3
+ protocol: z.ZodLiteral<"NATIVESTUDIO_RUNTIME_TOOLS_V1">;
4
+ runtimeKey: z.ZodString;
5
+ installationId: z.ZodString;
6
+ installationRevisionId: z.ZodString;
7
+ resource: z.ZodURL;
8
+ publicKeyFingerprint: z.ZodString;
9
+ bindingId: z.ZodUUID;
10
+ configurationVersion: z.ZodInt;
11
+ selection: z.ZodObject<{
12
+ hostKey: z.ZodString;
13
+ tenantKey: z.ZodString;
14
+ workspaceKey: z.ZodString;
15
+ projectKey: z.ZodString;
16
+ agentKey: z.ZodString;
17
+ agentVersion: z.ZodInt;
18
+ modelOptionKey: z.ZodString;
19
+ }, z.core.$strict>;
20
+ capabilityDigest: z.ZodString;
21
+ executionClass: z.ZodEnum<{
22
+ LIVE: "LIVE";
23
+ TEST_ONLY: "TEST_ONLY";
24
+ }>;
25
+ transport: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
26
+ protocol: z.ZodLiteral<"AGENT_STACK_NATIVE_INSTALLATION_V2">;
27
+ installationId: z.ZodString;
28
+ installationRevisionId: z.ZodString;
29
+ slotKey: z.ZodString;
30
+ }, z.core.$strict>, z.ZodObject<{
31
+ protocol: z.ZodLiteral<"AGENT_STACK_GENERIC_INSTALLATION_V3">;
32
+ installationId: z.ZodString;
33
+ installationRevisionId: z.ZodString;
34
+ slotKey: z.ZodString;
35
+ contractDigest: z.ZodLiteral<"834d35515b14007b7900b09bb8e2988169fe6400c77109dba0f793a628c32c90">;
36
+ capabilityDigest: z.ZodString;
37
+ }, z.core.$strict>], "protocol">>;
38
+ }, z.core.$strict>;
39
+ export declare const NativeToolPermitSchema: z.ZodObject<{
40
+ proof: z.ZodObject<{
41
+ tenantId: z.ZodUUID;
42
+ projectId: z.ZodUUID;
43
+ productionId: z.ZodUUID;
44
+ protocol: z.ZodLiteral<"NATIVESTUDIO_AGENT_TOOLS_V1">;
45
+ authorityRef: z.ZodUUID;
46
+ executionId: z.ZodUUID;
47
+ hostRequestId: z.ZodUUID;
48
+ bindingId: z.ZodUUID;
49
+ configurationVersion: z.ZodInt;
50
+ inputFingerprint: z.ZodString;
51
+ capabilityDigest: z.ZodString;
52
+ expiresAt: z.ZodISODateTime;
53
+ executionClass: z.ZodEnum<{
54
+ LIVE: "LIVE";
55
+ TEST_ONLY: "TEST_ONLY";
56
+ }>;
57
+ transport: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
58
+ protocol: z.ZodLiteral<"AGENT_STACK_NATIVE_INSTALLATION_V2">;
59
+ installationId: z.ZodString;
60
+ installationRevisionId: z.ZodString;
61
+ slotKey: z.ZodString;
62
+ }, z.core.$strict>, z.ZodObject<{
63
+ protocol: z.ZodLiteral<"AGENT_STACK_GENERIC_INSTALLATION_V3">;
64
+ installationId: z.ZodString;
65
+ installationRevisionId: z.ZodString;
66
+ slotKey: z.ZodString;
67
+ contractDigest: z.ZodLiteral<"834d35515b14007b7900b09bb8e2988169fe6400c77109dba0f793a628c32c90">;
68
+ capabilityDigest: z.ZodString;
69
+ }, z.core.$strict>], "protocol">>;
70
+ }, z.core.$strict>;
71
+ input: z.ZodObject<{
72
+ tenantId: z.ZodUUID;
73
+ projectId: z.ZodUUID;
74
+ productionId: z.ZodUUID;
75
+ protocol: z.ZodLiteral<"NATIVESTUDIO_PRODUCTION_V1">;
76
+ executionId: z.ZodUUID;
77
+ hostRequestId: z.ZodUUID;
78
+ productionRevision: z.ZodInt;
79
+ studioInput: z.ZodObject<{
80
+ schemaVersion: z.ZodLiteral<1>;
81
+ productionId: z.ZodUUID;
82
+ projectTitle: z.ZodString;
83
+ name: z.ZodString;
84
+ intent: z.ZodString;
85
+ aspectRatio: z.ZodEnum<{
86
+ "16:9": "16:9";
87
+ "9:16": "9:16";
88
+ }>;
89
+ targetDurationSeconds: z.ZodInt;
90
+ outputProfile: z.ZodEnum<{
91
+ MP4_H264_1080P: "MP4_H264_1080P";
92
+ MP4_H264_720P: "MP4_H264_720P";
93
+ MP4_H264_480P: "MP4_H264_480P";
94
+ }>;
95
+ sourceArtifactIds: z.ZodArray<z.ZodUUID>;
96
+ }, z.core.$strict>;
97
+ intake: z.ZodObject<{
98
+ artifactId: z.ZodUUID;
99
+ representationId: z.ZodUUID;
100
+ checksumSha256: z.ZodString;
101
+ byteSize: z.ZodInt;
102
+ contentType: z.ZodString;
103
+ kind: z.ZodEnum<{
104
+ REFERENCE_IMAGE: "REFERENCE_IMAGE";
105
+ REFERENCE_VIDEO: "REFERENCE_VIDEO";
106
+ PRODUCT_INFORMATION: "PRODUCT_INFORMATION";
107
+ }>;
108
+ }, z.core.$strict>;
109
+ sources: z.ZodArray<z.ZodObject<{
110
+ artifactId: z.ZodUUID;
111
+ representationId: z.ZodUUID;
112
+ checksumSha256: z.ZodString;
113
+ byteSize: z.ZodInt;
114
+ contentType: z.ZodString;
115
+ kind: z.ZodEnum<{
116
+ REFERENCE_IMAGE: "REFERENCE_IMAGE";
117
+ REFERENCE_VIDEO: "REFERENCE_VIDEO";
118
+ PRODUCT_INFORMATION: "PRODUCT_INFORMATION";
119
+ }>;
120
+ }, z.core.$strict>>;
121
+ }, z.core.$strict>;
122
+ grant: z.ZodObject<{
123
+ tenantId: z.ZodUUID;
124
+ projectId: z.ZodUUID;
125
+ protocol: z.ZodLiteral<"NATIVESTUDIO_RUNTIME_REGISTRATION_V1">;
126
+ grantId: z.ZodUUID;
127
+ bindingId: z.ZodUUID;
128
+ bindingRevision: z.ZodInt;
129
+ configurationVersion: z.ZodInt;
130
+ selection: z.ZodObject<{
131
+ hostKey: z.ZodString;
132
+ tenantKey: z.ZodString;
133
+ workspaceKey: z.ZodString;
134
+ projectKey: z.ZodString;
135
+ agentKey: z.ZodString;
136
+ agentVersion: z.ZodInt;
137
+ modelOptionKey: z.ZodString;
138
+ }, z.core.$strict>;
139
+ runtimeKey: z.ZodString;
140
+ installationId: z.ZodString;
141
+ installationRevisionId: z.ZodString;
142
+ publicKey: z.ZodObject<{
143
+ kty: z.ZodLiteral<"EC">;
144
+ crv: z.ZodLiteral<"P-256">;
145
+ x: z.ZodString;
146
+ y: z.ZodString;
147
+ }, z.core.$strict>;
148
+ resource: z.ZodURL;
149
+ revision: z.ZodInt;
150
+ enabled: z.ZodBoolean;
151
+ createdByPrincipalId: z.ZodUUID;
152
+ runtimePrincipalId: z.ZodUUID;
153
+ createdAt: z.ZodISODateTime;
154
+ expiresAt: z.ZodISODateTime;
155
+ challengeId: z.ZodUUID;
156
+ challengeExpiresAt: z.ZodISODateTime;
157
+ verifiedAt: z.ZodNullable<z.ZodISODateTime>;
158
+ revokedAt: z.ZodNullable<z.ZodISODateTime>;
159
+ }, z.core.$strict>;
160
+ qualification: z.ZodObject<{
161
+ protocol: z.ZodLiteral<"NATIVESTUDIO_RUNTIME_TOOLS_V1">;
162
+ runtimeKey: z.ZodString;
163
+ installationId: z.ZodString;
164
+ installationRevisionId: z.ZodString;
165
+ resource: z.ZodURL;
166
+ publicKeyFingerprint: z.ZodString;
167
+ bindingId: z.ZodUUID;
168
+ configurationVersion: z.ZodInt;
169
+ selection: z.ZodObject<{
170
+ hostKey: z.ZodString;
171
+ tenantKey: z.ZodString;
172
+ workspaceKey: z.ZodString;
173
+ projectKey: z.ZodString;
174
+ agentKey: z.ZodString;
175
+ agentVersion: z.ZodInt;
176
+ modelOptionKey: z.ZodString;
177
+ }, z.core.$strict>;
178
+ capabilityDigest: z.ZodString;
179
+ executionClass: z.ZodEnum<{
180
+ LIVE: "LIVE";
181
+ TEST_ONLY: "TEST_ONLY";
182
+ }>;
183
+ transport: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
184
+ protocol: z.ZodLiteral<"AGENT_STACK_NATIVE_INSTALLATION_V2">;
185
+ installationId: z.ZodString;
186
+ installationRevisionId: z.ZodString;
187
+ slotKey: z.ZodString;
188
+ }, z.core.$strict>, z.ZodObject<{
189
+ protocol: z.ZodLiteral<"AGENT_STACK_GENERIC_INSTALLATION_V3">;
190
+ installationId: z.ZodString;
191
+ installationRevisionId: z.ZodString;
192
+ slotKey: z.ZodString;
193
+ contractDigest: z.ZodLiteral<"834d35515b14007b7900b09bb8e2988169fe6400c77109dba0f793a628c32c90">;
194
+ capabilityDigest: z.ZodString;
195
+ }, z.core.$strict>], "protocol">>;
196
+ }, z.core.$strict>;
197
+ requestedByPrincipalId: z.ZodUUID;
198
+ createdAt: z.ZodISODateTime;
199
+ }, z.core.$strict>;
200
+ export declare const NativeToolPermitGetSchema: z.ZodObject<{
201
+ tenantId: z.ZodUUID;
202
+ projectId: z.ZodUUID;
203
+ productionId: z.ZodUUID;
204
+ authorityRef: z.ZodUUID;
205
+ }, z.core.$strict>;
206
+ export declare const NativeExecutionProofClaimsSchema: z.ZodObject<{
207
+ tenantId: z.ZodUUID;
208
+ projectId: z.ZodUUID;
209
+ productionId: z.ZodUUID;
210
+ iss: z.ZodString;
211
+ sub: z.ZodString;
212
+ aud: z.ZodURL;
213
+ grantId: z.ZodUUID;
214
+ grantRevision: z.ZodInt;
215
+ installationRevisionId: z.ZodString;
216
+ authorityRef: z.ZodUUID;
217
+ executionId: z.ZodUUID;
218
+ hostRequestId: z.ZodUUID;
219
+ inputFingerprint: z.ZodString;
220
+ runKey: z.ZodString;
221
+ jti: z.ZodUUID;
222
+ iat: z.ZodInt;
223
+ exp: z.ZodInt;
224
+ }, z.core.$strict>;
225
+ export declare const NativeToolCredentialExchangeSchema: z.ZodObject<{
226
+ tenantId: z.ZodUUID;
227
+ projectId: z.ZodUUID;
228
+ productionId: z.ZodUUID;
229
+ authorityRef: z.ZodUUID;
230
+ assertion: z.ZodString;
231
+ }, z.core.$strict>;
232
+ export declare const NativeToolCredentialMetadataSchema: z.ZodObject<{
233
+ tenantId: z.ZodUUID;
234
+ projectId: z.ZodUUID;
235
+ productionId: z.ZodUUID;
236
+ authorityRef: z.ZodUUID;
237
+ protocol: z.ZodLiteral<"NATIVESTUDIO_NATIVE_CREDENTIAL_V1">;
238
+ tokenId: z.ZodUUID;
239
+ grantId: z.ZodUUID;
240
+ grantRevision: z.ZodInt;
241
+ executionId: z.ZodUUID;
242
+ hostRequestId: z.ZodUUID;
243
+ runKey: z.ZodString;
244
+ jti: z.ZodUUID;
245
+ assertionFingerprint: z.ZodString;
246
+ tokenFingerprint: z.ZodString;
247
+ issuedAt: z.ZodISODateTime;
248
+ expiresAt: z.ZodISODateTime;
249
+ }, z.core.$strict>;
250
+ export declare const NativeToolCredentialReplySchema: z.ZodObject<{
251
+ tokenType: z.ZodLiteral<"Bearer">;
252
+ accessToken: z.ZodString;
253
+ tokenId: z.ZodUUID;
254
+ resource: z.ZodURL;
255
+ expiresAt: z.ZodISODateTime;
256
+ }, z.core.$strict>;
257
+ export declare const NativeToolSessionSchema: z.ZodObject<{
258
+ tenantId: z.ZodUUID;
259
+ projectId: z.ZodUUID;
260
+ productionId: z.ZodUUID;
261
+ authorityRef: z.ZodUUID;
262
+ authorityProtocol: z.ZodOptional<z.ZodLiteral<"NVS_GENERIC_EXECUTION_V1">>;
263
+ tokenId: z.ZodUUID;
264
+ executionId: z.ZodUUID;
265
+ hostRequestId: z.ZodUUID;
266
+ grantId: z.ZodUUID;
267
+ grantRevision: z.ZodInt;
268
+ runKey: z.ZodString;
269
+ runtimePrincipalId: z.ZodUUID;
270
+ approvedByPrincipalId: z.ZodUUID;
271
+ requestedByPrincipalId: z.ZodUUID;
272
+ capabilityDigest: z.ZodString;
273
+ resource: z.ZodURL;
274
+ issuer: z.ZodURL;
275
+ subject: z.ZodString;
276
+ executionClass: z.ZodEnum<{
277
+ LIVE: "LIVE";
278
+ TEST_ONLY: "TEST_ONLY";
279
+ }>;
280
+ expiresAt: z.ZodISODateTime;
281
+ }, z.core.$strict>;
282
+ export type NativeRuntimeQualification = z.infer<typeof NativeRuntimeQualificationSchema>;
283
+ export type NativeToolPermit = z.infer<typeof NativeToolPermitSchema>;
284
+ export type NativeToolPermitGet = z.infer<typeof NativeToolPermitGetSchema>;
285
+ export type NativeExecutionProofClaims = z.infer<typeof NativeExecutionProofClaimsSchema>;
286
+ export type NativeToolCredentialMetadata = z.infer<typeof NativeToolCredentialMetadataSchema>;
287
+ export type NativeToolSession = z.infer<typeof NativeToolSessionSchema>;
@@ -0,0 +1,41 @@
1
+ import { z } from "zod";
2
+ export declare const NativeToolGatewayDescriptorSchema: z.ZodObject<{
3
+ name: z.ZodString;
4
+ inputSchemaFingerprint: z.ZodString;
5
+ scope: z.ZodEnum<{
6
+ PRODUCTION: "PRODUCTION";
7
+ PROJECT_READ: "PROJECT_READ";
8
+ }>;
9
+ readOnly: z.ZodBoolean;
10
+ }, z.core.$strict>;
11
+ export declare const NativeToolGatewayManifestSchema: z.ZodObject<{
12
+ protocol: z.ZodLiteral<"NATIVESTUDIO_NATIVE_MCP_V1">;
13
+ policy: z.ZodLiteral<"NVS_PROJECT_READ_PRODUCTION_WRITE_V1">;
14
+ tools: z.ZodArray<z.ZodObject<{
15
+ name: z.ZodString;
16
+ inputSchemaFingerprint: z.ZodString;
17
+ scope: z.ZodEnum<{
18
+ PRODUCTION: "PRODUCTION";
19
+ PROJECT_READ: "PROJECT_READ";
20
+ }>;
21
+ readOnly: z.ZodBoolean;
22
+ }, z.core.$strict>>;
23
+ }, z.core.$strict>;
24
+ export declare const NativeToolGatewayContractSchema: z.ZodObject<{
25
+ manifest: z.ZodObject<{
26
+ protocol: z.ZodLiteral<"NATIVESTUDIO_NATIVE_MCP_V1">;
27
+ policy: z.ZodLiteral<"NVS_PROJECT_READ_PRODUCTION_WRITE_V1">;
28
+ tools: z.ZodArray<z.ZodObject<{
29
+ name: z.ZodString;
30
+ inputSchemaFingerprint: z.ZodString;
31
+ scope: z.ZodEnum<{
32
+ PRODUCTION: "PRODUCTION";
33
+ PROJECT_READ: "PROJECT_READ";
34
+ }>;
35
+ readOnly: z.ZodBoolean;
36
+ }, z.core.$strict>>;
37
+ }, z.core.$strict>;
38
+ capabilityDigest: z.ZodString;
39
+ }, z.core.$strict>;
40
+ export type NativeToolGatewayDescriptor = z.infer<typeof NativeToolGatewayDescriptorSchema>;
41
+ export type NativeToolGatewayContract = z.infer<typeof NativeToolGatewayContractSchema>;
@@ -0,0 +1,62 @@
1
+ import { z } from "zod";
2
+ export declare const NativeVideoAudioMetadataSchema: z.ZodObject<{
3
+ normalizationVersion: z.ZodLiteral<"VIDEO_AUDIO_PCM_V1">;
4
+ sourceCodec: z.ZodLiteral<"aac">;
5
+ sourceSampleRateHz: z.ZodInt;
6
+ sourceChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
7
+ sourceFrameRateHz: z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>;
8
+ sourceFrameCount: z.ZodInt;
9
+ sourceStartOffsetMs: z.ZodNumber;
10
+ sourceDeclaredDurationMs: z.ZodNumber;
11
+ alignment: z.ZodLiteral<"TRIM_PAD_PCM_TO_VIDEO_ZERO_V1">;
12
+ media: z.ZodObject<{
13
+ profile: z.ZodLiteral<"PCM_S16LE_48000_NATIVE_VIDEO_V1">;
14
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
15
+ sampleRateHz: z.ZodLiteral<48000>;
16
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
17
+ sampleCount: z.ZodInt;
18
+ durationMs: z.ZodNumber;
19
+ }, z.core.$strict>;
20
+ checksumSha256: z.ZodString;
21
+ }, z.core.$strict>;
22
+ export declare const NativeVideoSoundReferenceSchema: z.ZodObject<{
23
+ id: z.ZodUUID;
24
+ tenantId: z.ZodUUID;
25
+ projectId: z.ZodUUID;
26
+ productionId: z.ZodUUID;
27
+ shotId: z.ZodUUID;
28
+ generationId: z.ZodUUID;
29
+ videoArtifactId: z.ZodUUID;
30
+ videoRepresentationId: z.ZodUUID;
31
+ videoChecksumSha256: z.ZodString;
32
+ artifactId: z.ZodUUID;
33
+ representationId: z.ZodUUID;
34
+ checksumSha256: z.ZodString;
35
+ byteSize: z.ZodInt;
36
+ metadata: z.ZodObject<{
37
+ normalizationVersion: z.ZodLiteral<"VIDEO_AUDIO_PCM_V1">;
38
+ sourceCodec: z.ZodLiteral<"aac">;
39
+ sourceSampleRateHz: z.ZodInt;
40
+ sourceChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
41
+ sourceFrameRateHz: z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>;
42
+ sourceFrameCount: z.ZodInt;
43
+ sourceStartOffsetMs: z.ZodNumber;
44
+ sourceDeclaredDurationMs: z.ZodNumber;
45
+ alignment: z.ZodLiteral<"TRIM_PAD_PCM_TO_VIDEO_ZERO_V1">;
46
+ media: z.ZodObject<{
47
+ profile: z.ZodLiteral<"PCM_S16LE_48000_NATIVE_VIDEO_V1">;
48
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
49
+ sampleRateHz: z.ZodLiteral<48000>;
50
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
51
+ sampleCount: z.ZodInt;
52
+ durationMs: z.ZodNumber;
53
+ }, z.core.$strict>;
54
+ checksumSha256: z.ZodString;
55
+ }, z.core.$strict>;
56
+ executionClass: z.ZodEnum<{
57
+ LIVE: "LIVE";
58
+ TEST_ONLY: "TEST_ONLY";
59
+ }>;
60
+ }, z.core.$strict>;
61
+ export type NativeVideoAudioMetadata = z.infer<typeof NativeVideoAudioMetadataSchema>;
62
+ export type NativeVideoSoundReference = z.infer<typeof NativeVideoSoundReferenceSchema>;