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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (217) hide show
  1. package/COMPATIBILITY.json +37 -8
  2. package/LICENSE +201 -21
  3. package/components/runtime.json +33 -4
  4. package/components/runtime.tgz +0 -0
  5. package/dist/_chunks/chunk-2AI3WF2O.js +1 -0
  6. package/dist/_chunks/{chunk-G42IS5JF.js → chunk-3AVC742O.js} +1 -1
  7. package/dist/_chunks/chunk-5DY7LSZZ.js +1 -0
  8. package/dist/_chunks/{chunk-25EDDZQA.js → chunk-6LU6GJKW.js} +1 -1
  9. package/dist/_chunks/chunk-6LY4JYSG.js +1 -0
  10. package/dist/_chunks/chunk-6UYY5KHI.js +1 -0
  11. package/dist/_chunks/chunk-77IAHNM2.js +1 -0
  12. package/dist/_chunks/chunk-C62JAWRQ.js +1 -0
  13. package/dist/_chunks/{chunk-MSOMVWKN.js → chunk-FU3524Z6.js} +1 -1
  14. package/dist/_chunks/chunk-HTUTYIRU.js +1 -0
  15. package/dist/_chunks/chunk-HY7NXJYX.js +1 -0
  16. package/dist/_chunks/chunk-KB2GVAN7.js +1 -0
  17. package/dist/_chunks/chunk-PDQYFIQQ.js +1 -0
  18. package/dist/_chunks/chunk-RDIMORUT.js +1 -0
  19. package/dist/_chunks/chunk-RK2P3UVF.js +1 -0
  20. package/dist/_chunks/chunk-ROBBF33U.js +1 -0
  21. package/dist/_chunks/chunk-S74X4KIC.js +1 -0
  22. package/dist/_chunks/chunk-SV3NF7GO.js +1 -0
  23. package/dist/_chunks/chunk-TLPI6P7L.js +1 -0
  24. package/dist/_chunks/chunk-U7ECMITP.js +1 -0
  25. package/dist/_chunks/chunk-VD3OQ743.js +1 -0
  26. package/dist/_chunks/chunk-VKLS4QK5.js +1 -0
  27. package/dist/_chunks/chunk-W6C63ZN7.js +1 -0
  28. package/dist/_chunks/chunk-ZRSYOFMX.js +1 -0
  29. package/dist/_chunks/connect-6UH7ZFAC.js +1 -0
  30. package/dist/_chunks/device-management-H3NIDIPY.js +1 -0
  31. package/dist/_chunks/device-preflight-LHFLPVAB.js +1 -0
  32. package/dist/_chunks/devices-inventory-I2E3Q4DA.js +1 -0
  33. package/dist/_chunks/devices-main-VV2VYU4T.js +1 -0
  34. package/dist/_chunks/{files-TBJVDQWU.js → files-TTIQ7LYJ.js} +1 -1
  35. package/dist/_chunks/host-main-3JFGVU5P.js +1 -0
  36. package/dist/_chunks/http-profile-NIQDCFPU.js +1 -0
  37. package/dist/_chunks/library-main-CTBW7DAI.js +1 -0
  38. package/dist/_chunks/local-main-227MNGEC.js +1 -0
  39. package/dist/_chunks/local-mcp-XB6E3V2W.js +1 -0
  40. package/dist/_chunks/main-W6NNZFLK.js +2 -0
  41. package/dist/_chunks/mcp-EXQ5UAHB.js +1 -0
  42. package/dist/_chunks/oauth-HC6TI7HB.js +1 -0
  43. package/dist/_chunks/render-main-VTM6WGFP.js +1 -0
  44. package/dist/_chunks/source-import-KKV2UWJO.js +1 -0
  45. package/dist/_chunks/src-OIY5TBQT.js +1 -0
  46. package/dist/_chunks/{stdio-main-JEADWO7U.js → stdio-main-Y7N4NVKU.js} +1 -1
  47. package/dist/_chunks/workspace-main-Y7ZVBRJJ.js +1 -0
  48. package/dist/_types/cli/local/desktop-contract.d.ts +2027 -1
  49. package/dist/_types/cli/local/desktop-device-contract.d.ts +792 -0
  50. package/dist/_types/cli/local/desktop-device-navigation.d.ts +3 -0
  51. package/dist/_types/cli/local/desktop-device-owner.d.ts +270 -0
  52. package/dist/_types/cli/local/desktop-device-state.d.ts +449 -0
  53. package/dist/_types/cli/local/desktop-library.d.ts +853 -0
  54. package/dist/_types/cli/local/desktop-owner.d.ts +784 -1
  55. package/dist/_types/cli/local/ledger.d.ts +74 -20
  56. package/dist/_types/cli/local/manager.d.ts +1255 -49
  57. package/dist/_types/cli/local/mcp-tools.d.ts +296 -54
  58. package/dist/_types/cli/local/releases.d.ts +30 -7
  59. package/dist/_types/cli/local-management.d.ts +8 -0
  60. package/dist/_types/cli/local-navigation.d.ts +1 -0
  61. package/dist/_types/contracts/artifact-discovery.d.ts +136 -4
  62. package/dist/_types/contracts/audio.d.ts +166 -0
  63. package/dist/_types/contracts/composition-authoring.d.ts +8 -8
  64. package/dist/_types/contracts/composition-frame-render.d.ts +4 -4
  65. package/dist/_types/contracts/composition-render-base.d.ts +5 -4
  66. package/dist/_types/contracts/composition-render.d.ts +8 -8
  67. package/dist/_types/contracts/composition-repair.d.ts +10 -10
  68. package/dist/_types/contracts/composition-source-review.d.ts +12 -12
  69. package/dist/_types/contracts/consistency-profile.d.ts +102 -6
  70. package/dist/_types/contracts/continuity-evaluation.d.ts +1 -1
  71. package/dist/_types/contracts/delivery-manifest.d.ts +25 -11729
  72. package/dist/_types/contracts/delivery-operations.d.ts +201 -3909
  73. package/dist/_types/contracts/delivery-summary.d.ts +2 -2
  74. package/dist/_types/contracts/delivery-validation.d.ts +23 -0
  75. package/dist/_types/contracts/device-render.d.ts +79 -0
  76. package/dist/_types/contracts/editor-intelligence.d.ts +392 -2531
  77. package/dist/_types/contracts/exploration-recommendation.d.ts +263 -11607
  78. package/dist/_types/contracts/external-agent-access.d.ts +4 -6
  79. package/dist/_types/contracts/final-ready.d.ts +22 -22
  80. package/dist/_types/contracts/final-render.d.ts +1742 -6949
  81. package/dist/_types/contracts/human-identity.d.ts +13 -0
  82. package/dist/_types/contracts/human-links.d.ts +58 -0
  83. package/dist/_types/contracts/index.d.ts +10 -0
  84. package/dist/_types/contracts/interface/media-output.d.ts +118 -0
  85. package/dist/_types/contracts/interface/operation.d.ts +30 -0
  86. package/dist/_types/contracts/interface/production-snapshot.d.ts +75 -193
  87. package/dist/_types/contracts/interface/query.d.ts +60 -0
  88. package/dist/_types/contracts/keyframe-generation.d.ts +29 -0
  89. package/dist/_types/contracts/local-execution/agent-context.d.ts +385 -0
  90. package/dist/_types/contracts/local-execution/agent-evidence.d.ts +79 -0
  91. package/dist/_types/contracts/local-execution/agent-grant.d.ts +31 -0
  92. package/dist/_types/contracts/local-execution/agent-review.d.ts +522 -64
  93. package/dist/_types/contracts/local-execution/audio-profile.d.ts +6 -0
  94. package/dist/_types/contracts/local-execution/common.d.ts +12 -11
  95. package/dist/_types/contracts/local-execution/completion.d.ts +41 -45
  96. package/dist/_types/contracts/local-execution/components.d.ts +45 -0
  97. package/dist/_types/contracts/local-execution/cpu-preparation.d.ts +46 -0
  98. package/dist/_types/contracts/local-execution/cpu-resources.d.ts +55 -0
  99. package/dist/_types/contracts/local-execution/cpu-speech-job.d.ts +70 -0
  100. package/dist/_types/contracts/local-execution/cpu-speech.d.ts +161 -0
  101. package/dist/_types/contracts/local-execution/descriptor.d.ts +38 -0
  102. package/dist/_types/contracts/local-execution/device-authority.d.ts +31 -0
  103. package/dist/_types/contracts/local-execution/device-inventory.d.ts +76 -0
  104. package/dist/_types/contracts/local-execution/device-workspace.d.ts +11 -0
  105. package/dist/_types/contracts/local-execution/device.d.ts +22 -54
  106. package/dist/_types/contracts/local-execution/external-generation.d.ts +199 -0
  107. package/dist/_types/contracts/local-execution/index.d.ts +32 -0
  108. package/dist/_types/contracts/local-execution/ipc.d.ts +2774 -230
  109. package/dist/_types/contracts/local-execution/library-command.d.ts +620 -0
  110. package/dist/_types/contracts/local-execution/library-result.d.ts +424 -0
  111. package/dist/_types/contracts/local-execution/library.d.ts +873 -0
  112. package/dist/_types/contracts/local-execution/lifecycle.d.ts +289 -47
  113. package/dist/_types/contracts/local-execution/local-navigation.d.ts +285 -65
  114. package/dist/_types/contracts/local-execution/management.d.ts +404 -0
  115. package/dist/_types/contracts/local-execution/media-recipe.d.ts +207 -0
  116. package/dist/_types/contracts/local-execution/media-validation-request.d.ts +232 -0
  117. package/dist/_types/contracts/local-execution/media-validation.d.ts +262 -0
  118. package/dist/_types/contracts/local-execution/object-transfer.d.ts +155 -0
  119. package/dist/_types/contracts/local-execution/offline.d.ts +59 -0
  120. package/dist/_types/contracts/local-execution/preview.d.ts +176 -3561
  121. package/dist/_types/contracts/local-execution/processor-capability.d.ts +41 -0
  122. package/dist/_types/contracts/local-execution/processor-direct.d.ts +290 -0
  123. package/dist/_types/contracts/local-execution/processor-recipes.d.ts +1165 -0
  124. package/dist/_types/contracts/local-execution/processor-toolchain.d.ts +47 -0
  125. package/dist/_types/contracts/local-execution/processor.d.ts +6354 -0
  126. package/dist/_types/contracts/local-execution/project-source-direct.d.ts +201 -0
  127. package/dist/_types/contracts/local-execution/qwen-tts.d.ts +31 -0
  128. package/dist/_types/contracts/local-execution/recognition.d.ts +170 -0
  129. package/dist/_types/contracts/local-execution/speech.d.ts +95 -0
  130. package/dist/_types/contracts/local-execution/tool-selection.d.ts +71 -5
  131. package/dist/_types/contracts/local-execution/whisper.d.ts +24 -0
  132. package/dist/_types/contracts/local-execution/work.d.ts +124 -3402
  133. package/dist/_types/contracts/local-execution/workspace.d.ts +141 -0
  134. package/dist/_types/contracts/media-category.d.ts +11 -0
  135. package/dist/_types/contracts/media-observation.d.ts +929 -8
  136. package/dist/_types/contracts/native-speech-model.d.ts +53 -0
  137. package/dist/_types/contracts/native-speech-options.d.ts +25 -0
  138. package/dist/_types/contracts/navigation-context.d.ts +2 -2
  139. package/dist/_types/contracts/navigation-groups.d.ts +1 -1
  140. package/dist/_types/contracts/navigation.d.ts +60 -20
  141. package/dist/_types/contracts/observation-profile.d.ts +3 -3
  142. package/dist/_types/contracts/production-creation.d.ts +30 -0
  143. package/dist/_types/contracts/production.d.ts +30 -0
  144. package/dist/_types/contracts/programmatic-composition.d.ts +24 -24
  145. package/dist/_types/contracts/programmatic-exploration.d.ts +348 -5985
  146. package/dist/_types/contracts/project-library.d.ts +30 -0
  147. package/dist/_types/contracts/project.d.ts +30 -0
  148. package/dist/_types/contracts/provider-catalog.d.ts +3 -3
  149. package/dist/_types/contracts/provider-models.d.ts +209 -8
  150. package/dist/_types/contracts/provider.d.ts +66 -1
  151. package/dist/_types/contracts/reference-preview.d.ts +19 -0
  152. package/dist/_types/contracts/repair-lifecycle.d.ts +52 -384
  153. package/dist/_types/contracts/repair-plan.d.ts +16 -98
  154. package/dist/_types/contracts/repair-strategy.d.ts +164 -4479
  155. package/dist/_types/contracts/review-intelligence-final-output.d.ts +417 -8149
  156. package/dist/_types/contracts/review-intelligence.d.ts +452 -11420
  157. package/dist/_types/contracts/rough-cut-manifest.d.ts +27 -7
  158. package/dist/_types/contracts/rough-cut-profile.d.ts +12 -3
  159. package/dist/_types/contracts/rough-cut-review.d.ts +144 -12495
  160. package/dist/_types/contracts/rough-cut.d.ts +1170 -5673
  161. package/dist/_types/contracts/shot-preparation-basis.d.ts +2 -2
  162. package/dist/_types/contracts/shot-preparation.d.ts +4 -4
  163. package/dist/_types/contracts/sound-making-plan.d.ts +210 -2
  164. package/dist/_types/contracts/speech-cost.d.ts +96 -0
  165. package/dist/_types/contracts/speech-parameters.d.ts +39 -0
  166. package/dist/_types/contracts/speech.d.ts +602 -22
  167. package/dist/_types/contracts/temporal-evidence-operation.d.ts +1 -0
  168. package/dist/_types/contracts/timeline-audio.d.ts +20 -4
  169. package/dist/_types/contracts/timeline-manifest.d.ts +40 -8
  170. package/dist/_types/contracts/timeline-source-sound.d.ts +42 -4
  171. package/dist/_types/contracts/timeline-v2.d.ts +124 -16
  172. package/dist/_types/contracts/timeline-version-reader.d.ts +288 -40
  173. package/dist/_types/contracts/timeline-visual-layers.d.ts +124 -16
  174. package/dist/_types/contracts/timeline.d.ts +50 -4850
  175. package/dist/_types/contracts/transcription.d.ts +1 -1
  176. package/dist/_types/contracts/video-generation.d.ts +33 -0
  177. package/dist/_types/contracts/visual-exploration.d.ts +1 -1
  178. package/dist/_types/contracts/visual-layer-render.d.ts +298 -47
  179. package/dist/_types/contracts/visual-sequence.d.ts +22 -0
  180. package/dist/_types/contracts/voice-consistency.d.ts +183 -0
  181. package/dist/_types/contracts/voice-profile/contracts.d.ts +821 -0
  182. package/dist/_types/contracts/voice-profile/identity.d.ts +27 -0
  183. package/dist/_types/contracts/voice-profile/interface.d.ts +89 -0
  184. package/dist/_types/contracts/voice-profile/reference.d.ts +106 -0
  185. package/dist/_types/contracts/voice-review.d.ts +1194 -0
  186. package/dist/_types/contracts/workspace.d.ts +62 -0
  187. package/dist/_types/sdk/errors.d.ts +8 -3
  188. package/dist/_types/sdk/local-runtime/components.d.ts +2 -0
  189. package/dist/_types/sdk/local-runtime/device-client.d.ts +180 -18
  190. package/dist/_types/sdk/local-runtime/library.d.ts +268 -0
  191. package/dist/_types/sdk/local-runtime/workspace.d.ts +186 -0
  192. package/dist/_types/sdk/local-runtime-client.d.ts +1917 -92
  193. package/dist/entry.js +1 -1
  194. package/dist/local-management.js +1 -1
  195. package/dist/local-navigation.js +1 -1
  196. package/dist/native/JobNative.cs +10 -0
  197. package/dist/native/JobRunner.cs +24 -3
  198. package/dist/native/NativeMain.cs +15 -0
  199. package/package.json +2 -8
  200. package/README.md +0 -78
  201. package/dist/_chunks/chunk-6NVIN2NI.js +0 -1
  202. package/dist/_chunks/chunk-E57YVMQ4.js +0 -1
  203. package/dist/_chunks/chunk-EAZKDCLD.js +0 -1
  204. package/dist/_chunks/chunk-GIEYSDCG.js +0 -1
  205. package/dist/_chunks/chunk-GJ7BZJLW.js +0 -1
  206. package/dist/_chunks/chunk-HLKERZIE.js +0 -1
  207. package/dist/_chunks/chunk-QC7RLTGU.js +0 -1
  208. package/dist/_chunks/chunk-RUMDDTON.js +0 -1
  209. package/dist/_chunks/chunk-U2UKGYGF.js +0 -1
  210. package/dist/_chunks/chunk-VPYAXWXY.js +0 -1
  211. package/dist/_chunks/local-main-SOERK22D.js +0 -1
  212. package/dist/_chunks/local-mcp-JLPXXIDW.js +0 -1
  213. package/dist/_chunks/main-4SNF5EKE.js +0 -2
  214. package/dist/_chunks/mcp-EIMXNRH3.js +0 -1
  215. package/dist/_chunks/oauth-257CEUQH.js +0 -1
  216. package/dist/_chunks/project-connect-6MH2QG6G.js +0 -1
  217. package/dist/_chunks/src-7F6ZEU3U.js +0 -1
@@ -13,6 +13,36 @@ export declare const ProductionQueryInputSchema: z.ZodObject<{
13
13
  }, z.core.$strip>;
14
14
  export declare const ProductionQueryPageSchema: z.ZodObject<{
15
15
  items: z.ZodArray<z.ZodObject<{
16
+ humanLinks: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
17
+ status: z.ZodLiteral<"AVAILABLE">;
18
+ items: z.ZodArray<z.ZodObject<{
19
+ rel: z.ZodEnum<{
20
+ delivery: "delivery";
21
+ workspace: "workspace";
22
+ project: "project";
23
+ production: "production";
24
+ artifact: "artifact";
25
+ voice_profile: "voice_profile";
26
+ }>;
27
+ href: z.ZodURL;
28
+ }, z.core.$strict>>;
29
+ }, z.core.$strict>, z.ZodObject<{
30
+ status: z.ZodEnum<{
31
+ UNAVAILABLE: "UNAVAILABLE";
32
+ UNCONFIGURED: "UNCONFIGURED";
33
+ }>;
34
+ items: z.ZodArray<z.ZodObject<{
35
+ rel: z.ZodEnum<{
36
+ delivery: "delivery";
37
+ workspace: "workspace";
38
+ project: "project";
39
+ production: "production";
40
+ artifact: "artifact";
41
+ voice_profile: "voice_profile";
42
+ }>;
43
+ href: z.ZodURL;
44
+ }, z.core.$strict>>;
45
+ }, z.core.$strict>], "status">>;
16
46
  id: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
17
47
  tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
18
48
  projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
@@ -67,6 +97,36 @@ export declare const OperationQueryInputSchema: z.ZodObject<{
67
97
  }, z.core.$strip>;
68
98
  export declare const OperationQueryPageSchema: z.ZodObject<{
69
99
  items: z.ZodArray<z.ZodObject<{
100
+ humanLinks: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
101
+ status: z.ZodLiteral<"AVAILABLE">;
102
+ items: z.ZodArray<z.ZodObject<{
103
+ rel: z.ZodEnum<{
104
+ delivery: "delivery";
105
+ workspace: "workspace";
106
+ project: "project";
107
+ production: "production";
108
+ artifact: "artifact";
109
+ voice_profile: "voice_profile";
110
+ }>;
111
+ href: z.ZodURL;
112
+ }, z.core.$strict>>;
113
+ }, z.core.$strict>, z.ZodObject<{
114
+ status: z.ZodEnum<{
115
+ UNAVAILABLE: "UNAVAILABLE";
116
+ UNCONFIGURED: "UNCONFIGURED";
117
+ }>;
118
+ items: z.ZodArray<z.ZodObject<{
119
+ rel: z.ZodEnum<{
120
+ delivery: "delivery";
121
+ workspace: "workspace";
122
+ project: "project";
123
+ production: "production";
124
+ artifact: "artifact";
125
+ voice_profile: "voice_profile";
126
+ }>;
127
+ href: z.ZodURL;
128
+ }, z.core.$strict>>;
129
+ }, z.core.$strict>], "status">>;
70
130
  id: z.core.$ZodBranded<z.ZodString, "OperationId", "out">;
71
131
  productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
72
132
  semanticStatus: z.ZodEnum<{
@@ -46,6 +46,35 @@ export declare const KeyframeStartInputSchema: z.ZodObject<{
46
46
  contractFingerprint: z.ZodString;
47
47
  idempotencyKey: z.ZodString;
48
48
  }, z.core.$strict>;
49
+ /** 设备生成必须显式指定项目设备及已经确认的整单报价。 */
50
+ export declare const KeyframeDeviceStartInputSchema: z.ZodObject<{
51
+ shotId: z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">;
52
+ preparationId: z.core.$ZodBranded<z.ZodUUID, "PreparationId", "out">;
53
+ contractId: z.core.$ZodBranded<z.ZodUUID, "GenerationContractId", "out">;
54
+ contractFingerprint: z.ZodString;
55
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
56
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
57
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
58
+ idempotencyKey: z.ZodString;
59
+ deviceId: z.ZodUUID;
60
+ approvedQuote: z.ZodObject<{
61
+ currency: z.ZodLiteral<"USD">;
62
+ upperBoundMicros: z.ZodInt;
63
+ selection: z.ZodObject<{
64
+ connectionId: z.core.$ZodBranded<z.ZodUUID, "ProviderConnectionId", "out">;
65
+ modelProfileId: z.ZodString;
66
+ }, z.core.$strict>;
67
+ expectedExecution: z.ZodObject<{
68
+ connectionVersion: z.ZodInt;
69
+ modelProfileVersion: z.ZodInt;
70
+ quoteValidUntil: z.ZodISODateTime;
71
+ }, z.core.$strict>;
72
+ sourceUrl: z.ZodURL;
73
+ ruleIds: z.ZodArray<z.ZodString>;
74
+ preparationId: z.ZodUUID;
75
+ contractFingerprint: z.ZodString;
76
+ }, z.core.$strict>;
77
+ }, z.core.$strict>;
49
78
  export declare const KeyframeGetInputSchema: z.ZodObject<{
50
79
  tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
51
80
  productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
@@ -0,0 +1,385 @@
1
+ export declare function localAgentMediaSnapshot(raw: unknown): {
2
+ basis: {
3
+ scope: {
4
+ tenantId: string & import("zod").$brand<"TenantId">;
5
+ projectId: string & import("zod").$brand<"ProjectId">;
6
+ productionId: string & import("zod").$brand<"ProductionId">;
7
+ };
8
+ target: {
9
+ kind: "IMAGE";
10
+ generationId: string;
11
+ } | {
12
+ kind: "VIDEO";
13
+ generationId: string;
14
+ } | {
15
+ kind: "ROUGH_CUT";
16
+ renderId: string;
17
+ } | {
18
+ kind: "PROGRAMMATIC";
19
+ renderId: string;
20
+ };
21
+ contextFingerprint: string;
22
+ };
23
+ productionRevision: number;
24
+ reviewVersion: number;
25
+ executionClass: "LIVE" | "TEST_ONLY";
26
+ media: {
27
+ artifactId: string;
28
+ representationId: string;
29
+ checksumSha256: string;
30
+ };
31
+ requirements: ({
32
+ key: string;
33
+ dimension: "TRANSITION" | "STYLE" | "PRODUCT_PRESENTATION" | "CANONICAL_FACT" | "NARRATIVE" | "PACING" | "REPETITION" | "TECHNICAL";
34
+ expected: string;
35
+ enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
36
+ scope: "PRODUCTION" | "TRANSITION";
37
+ interval: {
38
+ startMs: number;
39
+ endMs: number;
40
+ };
41
+ shotIds: string[];
42
+ voiceIdentity?: {
43
+ qualified: boolean;
44
+ evidenceFingerprint: string;
45
+ listeningIntervals: {
46
+ startMs: number;
47
+ endMs: number;
48
+ }[];
49
+ sourceAudioVersionIds: string[];
50
+ reasons: ("TEST_ONLY" | "NO_SOURCE" | "VOICE_UNAVAILABLE" | "REFERENCE_CHANGED" | "AUDIO_UNAVAILABLE" | "IDENTITY_MISMATCH" | "NO_COMPARISON" | "COMPARISON_NOT_MATCHED" | "COMPARISON_STALE")[];
51
+ } | undefined;
52
+ continuity?: {
53
+ kind: "STATE";
54
+ mode: "PRESERVE" | "PLANNED_TRANSITIONS";
55
+ entry: string;
56
+ exit: string;
57
+ changes?: {
58
+ atPermille: number;
59
+ from: string;
60
+ to: string;
61
+ reason: string;
62
+ }[] | undefined;
63
+ } | {
64
+ kind: "TIME";
65
+ mode: "MONOTONIC" | "PLANNED_JUMPS";
66
+ entryMs: number;
67
+ exitMs: number;
68
+ jumps?: {
69
+ atPermille: number;
70
+ fromMs: number;
71
+ toMs: number;
72
+ reason: string;
73
+ }[] | undefined;
74
+ } | undefined;
75
+ consistencyScale?: "PRODUCTION" | "INTRA_SHOT" | "INTER_SHOT" | undefined;
76
+ consistencyFamily?: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "BOUNDARY_CONTINUITY" | "VOICE_IDENTITY" | undefined;
77
+ consistencySubject?: {
78
+ id: string;
79
+ kind: "CHARACTER" | "VOICE";
80
+ displayName: string;
81
+ facts: {
82
+ dimension: string;
83
+ value: string;
84
+ }[];
85
+ master: {
86
+ artifactId: string & import("zod").$brand<"ArtifactId">;
87
+ representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
88
+ checksumSha256: string;
89
+ artifactChecksumSha256: string;
90
+ contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
91
+ };
92
+ voiceExpectation?: {
93
+ voiceProfile: {
94
+ ownerSystem: string;
95
+ ownerTenantRef: string;
96
+ voiceProfileRef: string;
97
+ version: number;
98
+ digest: string;
99
+ };
100
+ referenceId: string;
101
+ } | undefined;
102
+ } | undefined;
103
+ consistencyReference?: {
104
+ artifactId: string & import("zod").$brand<"ArtifactId">;
105
+ representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
106
+ checksumSha256: string;
107
+ artifactChecksumSha256: string;
108
+ contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
109
+ } | undefined;
110
+ } | {
111
+ key: string;
112
+ family: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "SHOT_INTENT" | "BOUNDARY_CONTINUITY" | "SOUND";
113
+ expected: string;
114
+ enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
115
+ evidenceWindow: "START" | "END" | "WHOLE_VIDEO" | "TEMPORAL";
116
+ intentPath?: string | undefined;
117
+ continuity?: {
118
+ kind: "STATE";
119
+ mode: "PRESERVE" | "PLANNED_TRANSITIONS";
120
+ entry: string;
121
+ exit: string;
122
+ changes?: {
123
+ atPermille: number;
124
+ from: string;
125
+ to: string;
126
+ reason: string;
127
+ }[] | undefined;
128
+ } | {
129
+ kind: "TIME";
130
+ mode: "MONOTONIC" | "PLANNED_JUMPS";
131
+ entryMs: number;
132
+ exitMs: number;
133
+ jumps?: {
134
+ atPermille: number;
135
+ fromMs: number;
136
+ toMs: number;
137
+ reason: string;
138
+ }[] | undefined;
139
+ } | undefined;
140
+ interval?: {
141
+ startMs: number;
142
+ endMs: number;
143
+ } | undefined;
144
+ } | {
145
+ key: string;
146
+ expected: string;
147
+ enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
148
+ intentPath?: string | undefined;
149
+ })[];
150
+ evidence?: {
151
+ profile: "NVS_AGENT_DERIVED_EVIDENCE_V1";
152
+ contentType: "image/png" | "image/jpeg" | "image/webp" | "video/mp4";
153
+ byteSize: number;
154
+ width: number;
155
+ height: number;
156
+ durationMs?: number | undefined;
157
+ frameRate?: 30 | 24 | undefined;
158
+ hasAudio?: boolean | undefined;
159
+ } | undefined;
160
+ image?: {
161
+ contentType: "image/png";
162
+ byteSize: number;
163
+ width: number;
164
+ height: number;
165
+ } | undefined;
166
+ };
167
+ /** Frame samples remain advisory; they cannot supply a full-temporal Review-2 declaration. */
168
+ export declare function localAgentMediaProposal(raw: unknown): {
169
+ basis: {
170
+ scope: {
171
+ tenantId: string & import("zod").$brand<"TenantId">;
172
+ projectId: string & import("zod").$brand<"ProjectId">;
173
+ productionId: string & import("zod").$brand<"ProductionId">;
174
+ };
175
+ target: {
176
+ kind: "IMAGE";
177
+ generationId: string;
178
+ } | {
179
+ kind: "VIDEO";
180
+ generationId: string;
181
+ } | {
182
+ kind: "ROUGH_CUT";
183
+ renderId: string;
184
+ } | {
185
+ kind: "PROGRAMMATIC";
186
+ renderId: string;
187
+ };
188
+ contextFingerprint: string;
189
+ };
190
+ proposal: {
191
+ origin: {
192
+ kind: "EXTERNAL_AGENT_HOST";
193
+ label: string;
194
+ };
195
+ summary: string;
196
+ evidence: ({
197
+ kind: "METADATA";
198
+ id: string;
199
+ label: string;
200
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
201
+ media: {
202
+ artifactId: string;
203
+ representationId: string;
204
+ checksumSha256: string;
205
+ };
206
+ } | {
207
+ kind: "IMAGE_PIXELS";
208
+ id: string;
209
+ label: string;
210
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
211
+ media: {
212
+ artifactId: string;
213
+ representationId: string;
214
+ checksumSha256: string;
215
+ };
216
+ } | {
217
+ kind: "REGISTERED_TEMPORAL_FRAMES";
218
+ reference: {
219
+ evidenceId: string;
220
+ frameSetArtifactId: string;
221
+ contactSheetArtifactId: string;
222
+ manifestRepresentationId: string;
223
+ sheetRepresentationId: string;
224
+ planFingerprint: string;
225
+ sourceArtifactId: string;
226
+ sourceRepresentationId: string;
227
+ sourceChecksumSha256: string;
228
+ timestampsMs: number[];
229
+ executionClass: "LIVE" | "TEST_ONLY";
230
+ };
231
+ id: string;
232
+ label: string;
233
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
234
+ media: {
235
+ artifactId: string;
236
+ representationId: string;
237
+ checksumSha256: string;
238
+ };
239
+ } | {
240
+ kind: "VIDEO_PLAYBACK";
241
+ coverage: {
242
+ startMs: number;
243
+ endMs: number;
244
+ }[];
245
+ id: string;
246
+ label: string;
247
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
248
+ media: {
249
+ artifactId: string;
250
+ representationId: string;
251
+ checksumSha256: string;
252
+ };
253
+ } | {
254
+ kind: "AUDIO_LISTENING";
255
+ coverage: {
256
+ startMs: number;
257
+ endMs: number;
258
+ }[];
259
+ id: string;
260
+ label: string;
261
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
262
+ media: {
263
+ artifactId: string;
264
+ representationId: string;
265
+ checksumSha256: string;
266
+ };
267
+ } | {
268
+ kind: "VIDEO_WITH_AUDIO_PLAYBACK";
269
+ coverage: {
270
+ startMs: number;
271
+ endMs: number;
272
+ }[];
273
+ id: string;
274
+ label: string;
275
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
276
+ media: {
277
+ artifactId: string;
278
+ representationId: string;
279
+ checksumSha256: string;
280
+ };
281
+ } | {
282
+ kind: "VIDEO_FRAMES";
283
+ timestampsMs: number[];
284
+ id: string;
285
+ label: string;
286
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
287
+ media: {
288
+ artifactId: string;
289
+ representationId: string;
290
+ checksumSha256: string;
291
+ };
292
+ })[];
293
+ review: {
294
+ kind: "IMAGE";
295
+ observations: {
296
+ key: string;
297
+ status: "SATISFIED" | "VIOLATED" | "NOT_OBSERVABLE" | "NOT_APPLICABLE";
298
+ confidence: "CLEAR" | "UNCERTAIN";
299
+ observed: string;
300
+ evidenceIds: string[];
301
+ region?: {
302
+ x: number;
303
+ y: number;
304
+ width: number;
305
+ height: number;
306
+ } | undefined;
307
+ }[];
308
+ } | {
309
+ kind: "VIDEO";
310
+ observations: {
311
+ key: string;
312
+ status: "SATISFIED" | "VIOLATED" | "NOT_OBSERVABLE" | "NOT_APPLICABLE";
313
+ confidence: "CLEAR" | "UNCERTAIN";
314
+ observed: string;
315
+ evidenceIds: string[];
316
+ listeningEvidenceIds?: string[] | undefined;
317
+ continuitySamples?: {
318
+ atMs: number;
319
+ state?: string | undefined;
320
+ storyTimeMs?: number | undefined;
321
+ }[] | undefined;
322
+ temporalEvidenceIds?: string[] | undefined;
323
+ interval?: {
324
+ startMs: number;
325
+ endMs: number;
326
+ } | undefined;
327
+ }[];
328
+ } | {
329
+ kind: "PROGRAMMATIC";
330
+ observations: {
331
+ key: string;
332
+ status: "SATISFIED" | "VIOLATED" | "NOT_OBSERVABLE" | "NOT_APPLICABLE";
333
+ confidence: "CLEAR" | "UNCERTAIN";
334
+ observed: string;
335
+ evidenceIds: string[];
336
+ listeningEvidenceIds?: string[] | undefined;
337
+ continuitySamples?: {
338
+ atMs: number;
339
+ state?: string | undefined;
340
+ storyTimeMs?: number | undefined;
341
+ }[] | undefined;
342
+ temporalEvidenceIds?: string[] | undefined;
343
+ interval?: {
344
+ startMs: number;
345
+ endMs: number;
346
+ } | undefined;
347
+ }[];
348
+ } | {
349
+ kind: "ROUGH_CUT";
350
+ observations: {
351
+ key: string;
352
+ status: "SATISFIED" | "VIOLATED" | "NOT_OBSERVABLE" | "NOT_APPLICABLE";
353
+ confidence: "CLEAR" | "UNCERTAIN";
354
+ observed: string;
355
+ interval: {
356
+ startMs: number;
357
+ endMs: number;
358
+ };
359
+ evidenceIds: string[];
360
+ listeningEvidenceIds?: string[] | undefined;
361
+ continuitySamples?: {
362
+ atMs: number;
363
+ state?: string | undefined;
364
+ storyTimeMs?: number | undefined;
365
+ }[] | undefined;
366
+ temporalEvidenceIds?: string[] | undefined;
367
+ location?: {
368
+ interval: {
369
+ startMs: number;
370
+ endMs: number;
371
+ };
372
+ shotIds: string[];
373
+ } | undefined;
374
+ }[];
375
+ inspection: {
376
+ actor: "HUMAN" | "EXTERNAL_AGENT";
377
+ method: "FULL_TEMPORAL_INSPECTION";
378
+ coverage: {
379
+ startMs: number;
380
+ endMs: number;
381
+ }[];
382
+ };
383
+ };
384
+ };
385
+ };
@@ -0,0 +1,79 @@
1
+ import { z } from "zod";
2
+ export declare const LocalAgentMediaInputSchema: z.ZodObject<{
3
+ profile: z.ZodLiteral<"NVS_AGENT_DERIVED_EVIDENCE_V1">;
4
+ contentType: z.ZodEnum<{
5
+ "image/png": "image/png";
6
+ "image/jpeg": "image/jpeg";
7
+ "image/webp": "image/webp";
8
+ "video/mp4": "video/mp4";
9
+ }>;
10
+ byteSize: z.ZodInt;
11
+ width: z.ZodInt;
12
+ height: z.ZodInt;
13
+ durationMs: z.ZodOptional<z.ZodInt>;
14
+ frameRate: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>>;
15
+ hasAudio: z.ZodOptional<z.ZodBoolean>;
16
+ }, z.core.$strict>;
17
+ export declare const LocalAgentEvidenceReceiptSchema: z.ZodObject<{
18
+ protocol: z.ZodLiteral<"NVS_AGENT_DERIVED_EVIDENCE_V1">;
19
+ draftId: z.ZodUUID;
20
+ media: z.ZodObject<{
21
+ artifactId: z.ZodUUID;
22
+ representationId: z.ZodUUID;
23
+ checksumSha256: z.ZodString;
24
+ }, z.core.$strict>;
25
+ ffmpegDigest: z.ZodString;
26
+ ffprobeDigest: z.ZodString;
27
+ attachment: z.ZodObject<{
28
+ checksumSha256: z.ZodString;
29
+ byteSize: z.ZodInt;
30
+ width: z.ZodInt;
31
+ height: z.ZodInt;
32
+ }, z.core.$strict>;
33
+ timestampsMs: z.ZodArray<z.ZodNumber>;
34
+ audio: z.ZodNullable<z.ZodObject<{
35
+ sampleRateHz: z.ZodLiteral<48000>;
36
+ channels: z.ZodLiteral<1>;
37
+ samples: z.ZodInt;
38
+ peak: z.ZodNumber;
39
+ rms: z.ZodNumber;
40
+ clippedSamples: z.ZodInt;
41
+ }, z.core.$strict>>;
42
+ limitations: z.ZodTuple<[z.ZodLiteral<"SAMPLED_FRAMES_ARE_NOT_FULL_PLAYBACK">, z.ZodLiteral<"AUDIO_STATISTICS_ARE_NOT_LISTENING_OR_TRANSCRIPTION">], null>;
43
+ }, z.core.$strict>;
44
+ export type LocalAgentMediaInput = z.infer<typeof LocalAgentMediaInputSchema>;
45
+ export type LocalAgentEvidenceReceipt = z.infer<typeof LocalAgentEvidenceReceiptSchema>;
46
+ export declare const LocalAgentDiscoverySchema: z.ZodObject<{
47
+ candidate: z.ZodNullable<z.ZodObject<{
48
+ binary: z.ZodString;
49
+ binaryDigest: z.ZodString;
50
+ version: z.ZodString;
51
+ qualified: z.ZodBoolean;
52
+ }, z.core.$strict>>;
53
+ configured: z.ZodNullable<z.ZodObject<{
54
+ protocol: z.ZodLiteral<"NVS_CODEX_REVIEW_GRANT_V1">;
55
+ binary: z.ZodString;
56
+ binaryDigest: z.ZodString;
57
+ version: z.ZodEnum<{
58
+ "0.164.0": "0.164.0";
59
+ "0.165.0": "0.165.0";
60
+ }>;
61
+ model: z.ZodString;
62
+ reasoningEffort: z.ZodOptional<z.ZodEnum<{
63
+ medium: "medium";
64
+ low: "low";
65
+ high: "high";
66
+ xhigh: "xhigh";
67
+ }>>;
68
+ reviewerLabel: z.ZodString;
69
+ inference: z.ZodLiteral<"REMOTE_OPENAI">;
70
+ remoteUseApproved: z.ZodLiteral<true>;
71
+ imageDisclosureApproved: z.ZodOptional<z.ZodLiteral<true>>;
72
+ mediaDisclosureApproved: z.ZodOptional<z.ZodLiteral<true>>;
73
+ projects: z.ZodArray<z.ZodObject<{
74
+ tenantId: z.ZodUUID;
75
+ projectId: z.ZodUUID;
76
+ }, z.core.$strict>>;
77
+ expiresAt: z.ZodISODateTime;
78
+ }, z.core.$strict>>;
79
+ }, z.core.$strict>;
@@ -0,0 +1,31 @@
1
+ import { z } from "zod";
2
+ export declare const QualifiedLocalAgentVersionSchema: z.ZodEnum<{
3
+ "0.164.0": "0.164.0";
4
+ "0.165.0": "0.165.0";
5
+ }>;
6
+ export declare const LocalAgentGrantSchema: z.ZodObject<{
7
+ protocol: z.ZodLiteral<"NVS_CODEX_REVIEW_GRANT_V1">;
8
+ binary: z.ZodString;
9
+ binaryDigest: z.ZodString;
10
+ version: z.ZodEnum<{
11
+ "0.164.0": "0.164.0";
12
+ "0.165.0": "0.165.0";
13
+ }>;
14
+ model: z.ZodString;
15
+ reasoningEffort: z.ZodOptional<z.ZodEnum<{
16
+ medium: "medium";
17
+ low: "low";
18
+ high: "high";
19
+ xhigh: "xhigh";
20
+ }>>;
21
+ reviewerLabel: z.ZodString;
22
+ inference: z.ZodLiteral<"REMOTE_OPENAI">;
23
+ remoteUseApproved: z.ZodLiteral<true>;
24
+ imageDisclosureApproved: z.ZodOptional<z.ZodLiteral<true>>;
25
+ mediaDisclosureApproved: z.ZodOptional<z.ZodLiteral<true>>;
26
+ projects: z.ZodArray<z.ZodObject<{
27
+ tenantId: z.ZodUUID;
28
+ projectId: z.ZodUUID;
29
+ }, z.core.$strict>>;
30
+ expiresAt: z.ZodISODateTime;
31
+ }, z.core.$strict>;