@nativestudio/cli 0.0.0-stage → 0.3.0-rc.11

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 (266) hide show
  1. package/COMPATIBILITY.json +45 -0
  2. package/LICENSE +201 -0
  3. package/components/runtime.json +31 -0
  4. package/components/runtime.tgz +0 -0
  5. package/dist/BUNDLED_DEPENDENCIES.json +1 -0
  6. package/dist/_chunks/chunk-2UYKJ6YN.js +1 -0
  7. package/dist/_chunks/chunk-37PAJCKA.js +1 -0
  8. package/dist/_chunks/chunk-3AVC742O.js +1 -0
  9. package/dist/_chunks/chunk-4U4Y2K73.js +1 -0
  10. package/dist/_chunks/chunk-65FQPXKC.js +1 -0
  11. package/dist/_chunks/chunk-6DVZBKNV.js +1 -0
  12. package/dist/_chunks/chunk-6LU6GJKW.js +1 -0
  13. package/dist/_chunks/chunk-6N433ZWR.js +1 -0
  14. package/dist/_chunks/chunk-EGUJ2YRX.js +1 -0
  15. package/dist/_chunks/chunk-FU3524Z6.js +1 -0
  16. package/dist/_chunks/chunk-GZBWA4YN.js +1 -0
  17. package/dist/_chunks/chunk-HR34UMPP.js +1 -0
  18. package/dist/_chunks/chunk-HTUTYIRU.js +1 -0
  19. package/dist/_chunks/chunk-JFC6ZIGA.js +1 -0
  20. package/dist/_chunks/chunk-KB2GVAN7.js +1 -0
  21. package/dist/_chunks/chunk-L543FEDK.js +1 -0
  22. package/dist/_chunks/chunk-LISB5W7B.js +1 -0
  23. package/dist/_chunks/chunk-LUAH3KAS.js +1 -0
  24. package/dist/_chunks/chunk-M2KVQQ4X.js +1 -0
  25. package/dist/_chunks/chunk-ODGPV7MM.js +1 -0
  26. package/dist/_chunks/chunk-PUBMDP4E.js +1 -0
  27. package/dist/_chunks/chunk-PUNG4ND7.js +1 -0
  28. package/dist/_chunks/chunk-Q57YFNK5.js +1 -0
  29. package/dist/_chunks/chunk-QAJH4RJQ.js +1 -0
  30. package/dist/_chunks/chunk-VDNNFVTZ.js +3 -0
  31. package/dist/_chunks/chunk-VPYAXWXY.js +1 -0
  32. package/dist/_chunks/chunk-WFRRNWO5.js +1 -0
  33. package/dist/_chunks/connect-5YMO6MAR.js +1 -0
  34. package/dist/_chunks/device-management-2OTGEBJQ.js +1 -0
  35. package/dist/_chunks/device-preflight-XPHFZGLO.js +1 -0
  36. package/dist/_chunks/devices-inventory-VWNTU5TE.js +1 -0
  37. package/dist/_chunks/devices-main-VQ4APRVS.js +1 -0
  38. package/dist/_chunks/files-TTIQ7LYJ.js +1 -0
  39. package/dist/_chunks/host-main-H7DPLV7B.js +1 -0
  40. package/dist/_chunks/http-profile-MNJX6OXO.js +1 -0
  41. package/dist/_chunks/library-main-SAC3V2ML.js +1 -0
  42. package/dist/_chunks/local-main-D6B3APK6.js +1 -0
  43. package/dist/_chunks/local-mcp-ONCANLPH.js +1 -0
  44. package/dist/_chunks/main-PW6HB3NC.js +2 -0
  45. package/dist/_chunks/mcp-ZIGBYFUW.js +1 -0
  46. package/dist/_chunks/oauth-HC6TI7HB.js +1 -0
  47. package/dist/_chunks/render-main-GYWKP72O.js +1 -0
  48. package/dist/_chunks/source-import-BC5GNCUZ.js +1 -0
  49. package/dist/_chunks/src-R6DNU336.js +1 -0
  50. package/dist/_chunks/stdio-main-RIJS5REB.js +1 -0
  51. package/dist/_chunks/workspace-main-GNSKHKBG.js +1 -0
  52. package/dist/_types/cli/local/desktop-channel.d.ts +18 -0
  53. package/dist/_types/cli/local/desktop-contract.d.ts +2176 -0
  54. package/dist/_types/cli/local/desktop-device-contract.d.ts +779 -0
  55. package/dist/_types/cli/local/desktop-device-navigation.d.ts +3 -0
  56. package/dist/_types/cli/local/desktop-device-owner.d.ts +244 -0
  57. package/dist/_types/cli/local/desktop-device-state.d.ts +397 -0
  58. package/dist/_types/cli/local/desktop-library.d.ts +853 -0
  59. package/dist/_types/cli/local/desktop-node.d.ts +1 -0
  60. package/dist/_types/cli/local/desktop-owner.d.ts +766 -0
  61. package/dist/_types/cli/local/ledger.d.ts +363 -0
  62. package/dist/_types/cli/local/manager.d.ts +1695 -0
  63. package/dist/_types/cli/local/mcp-tools.d.ts +660 -0
  64. package/dist/_types/cli/local/releases.d.ts +123 -0
  65. package/dist/_types/cli/local-management.d.ts +16 -0
  66. package/dist/_types/cli/local-navigation.d.ts +4 -0
  67. package/dist/_types/contracts/accepted-shot.d.ts +27 -0
  68. package/dist/_types/contracts/accepted-visual-source.d.ts +120 -0
  69. package/dist/_types/contracts/agent-execution-lifecycle.d.ts +749 -0
  70. package/dist/_types/contracts/agent-execution-oauth.d.ts +71 -0
  71. package/dist/_types/contracts/agent-execution-registration.d.ts +240 -0
  72. package/dist/_types/contracts/agent-execution-selection.d.ts +107 -0
  73. package/dist/_types/contracts/agent-host-execution.d.ts +706 -0
  74. package/dist/_types/contracts/agent-host-generic-transport.d.ts +12 -0
  75. package/dist/_types/contracts/agent-host.d.ts +226 -0
  76. package/dist/_types/contracts/artifact-discovery.d.ts +242 -0
  77. package/dist/_types/contracts/artifact.d.ts +188 -0
  78. package/dist/_types/contracts/audio.d.ts +335 -0
  79. package/dist/_types/contracts/brief.d.ts +178 -0
  80. package/dist/_types/contracts/caption-render.d.ts +20 -0
  81. package/dist/_types/contracts/caption-transcript.d.ts +102 -0
  82. package/dist/_types/contracts/captions.d.ts +420 -0
  83. package/dist/_types/contracts/clip-framing.d.ts +14 -0
  84. package/dist/_types/contracts/clip-transition.d.ts +6 -0
  85. package/dist/_types/contracts/composition-authoring-guide.d.ts +160 -0
  86. package/dist/_types/contracts/composition-authoring.d.ts +744 -0
  87. package/dist/_types/contracts/composition-finding-locality.d.ts +24 -0
  88. package/dist/_types/contracts/composition-frame-render.d.ts +226 -0
  89. package/dist/_types/contracts/composition-making.d.ts +390 -0
  90. package/dist/_types/contracts/composition-observation.d.ts +239 -0
  91. package/dist/_types/contracts/composition-render-base.d.ts +293 -0
  92. package/dist/_types/contracts/composition-render-observation.d.ts +278 -0
  93. package/dist/_types/contracts/composition-render.d.ts +406 -0
  94. package/dist/_types/contracts/composition-repair.d.ts +451 -0
  95. package/dist/_types/contracts/composition-source-review.d.ts +1042 -0
  96. package/dist/_types/contracts/consistency-profile.d.ts +845 -0
  97. package/dist/_types/contracts/continuity-evaluation.d.ts +48 -0
  98. package/dist/_types/contracts/delivery-completion.d.ts +210 -0
  99. package/dist/_types/contracts/delivery-manifest.d.ts +72 -0
  100. package/dist/_types/contracts/delivery-operations.d.ts +1151 -0
  101. package/dist/_types/contracts/delivery-output-profile.d.ts +12 -0
  102. package/dist/_types/contracts/delivery-summary.d.ts +220 -0
  103. package/dist/_types/contracts/delivery-validation.d.ts +206 -0
  104. package/dist/_types/contracts/device-render.d.ts +77 -0
  105. package/dist/_types/contracts/director-proposal.d.ts +1067 -0
  106. package/dist/_types/contracts/editor-intelligence.d.ts +3374 -0
  107. package/dist/_types/contracts/exploration-recommendation.d.ts +519 -0
  108. package/dist/_types/contracts/external-agent-access.d.ts +93 -0
  109. package/dist/_types/contracts/final-ready.d.ts +301 -0
  110. package/dist/_types/contracts/final-render-profile.d.ts +59 -0
  111. package/dist/_types/contracts/final-render.d.ts +2810 -0
  112. package/dist/_types/contracts/foundation.d.ts +1 -0
  113. package/dist/_types/contracts/generation-contract.d.ts +268 -0
  114. package/dist/_types/contracts/generation-cost.d.ts +70 -0
  115. package/dist/_types/contracts/health.d.ts +6 -0
  116. package/dist/_types/contracts/human-identity.d.ts +162 -0
  117. package/dist/_types/contracts/hyperframe-profile.d.ts +5 -0
  118. package/dist/_types/contracts/ids.d.ts +41 -0
  119. package/dist/_types/contracts/index.d.ts +126 -0
  120. package/dist/_types/contracts/interface/common.d.ts +56 -0
  121. package/dist/_types/contracts/interface/execution-output.d.ts +99 -0
  122. package/dist/_types/contracts/interface/index.d.ts +7 -0
  123. package/dist/_types/contracts/interface/media-output.d.ts +90 -0
  124. package/dist/_types/contracts/interface/operation.d.ts +61 -0
  125. package/dist/_types/contracts/interface/output.d.ts +15 -0
  126. package/dist/_types/contracts/interface/production-snapshot.d.ts +654 -0
  127. package/dist/_types/contracts/interface/query.d.ts +315 -0
  128. package/dist/_types/contracts/keyframe-generation.d.ts +378 -0
  129. package/dist/_types/contracts/keyframe-reference.d.ts +31 -0
  130. package/dist/_types/contracts/keyframe-review.d.ts +753 -0
  131. package/dist/_types/contracts/lifecycle-event-projections.d.ts +191 -0
  132. package/dist/_types/contracts/lifecycle-events.d.ts +156 -0
  133. package/dist/_types/contracts/listening-evidence.d.ts +37 -0
  134. package/dist/_types/contracts/local-execution/agent-context.d.ts +365 -0
  135. package/dist/_types/contracts/local-execution/agent-evidence.d.ts +79 -0
  136. package/dist/_types/contracts/local-execution/agent-grant.d.ts +31 -0
  137. package/dist/_types/contracts/local-execution/agent-review.d.ts +992 -0
  138. package/dist/_types/contracts/local-execution/canonical.d.ts +2 -0
  139. package/dist/_types/contracts/local-execution/common.d.ts +49 -0
  140. package/dist/_types/contracts/local-execution/completion.d.ts +124 -0
  141. package/dist/_types/contracts/local-execution/components.d.ts +45 -0
  142. package/dist/_types/contracts/local-execution/descriptor.d.ts +38 -0
  143. package/dist/_types/contracts/local-execution/device-authority.d.ts +31 -0
  144. package/dist/_types/contracts/local-execution/device-inventory.d.ts +76 -0
  145. package/dist/_types/contracts/local-execution/device-workspace.d.ts +11 -0
  146. package/dist/_types/contracts/local-execution/device.d.ts +102 -0
  147. package/dist/_types/contracts/local-execution/external-generation.d.ts +199 -0
  148. package/dist/_types/contracts/local-execution/index.d.ts +37 -0
  149. package/dist/_types/contracts/local-execution/ipc.d.ts +3730 -0
  150. package/dist/_types/contracts/local-execution/library-command.d.ts +620 -0
  151. package/dist/_types/contracts/local-execution/library-result.d.ts +408 -0
  152. package/dist/_types/contracts/local-execution/library.d.ts +873 -0
  153. package/dist/_types/contracts/local-execution/lifecycle.d.ts +519 -0
  154. package/dist/_types/contracts/local-execution/local-navigation.d.ts +929 -0
  155. package/dist/_types/contracts/local-execution/management.d.ts +400 -0
  156. package/dist/_types/contracts/local-execution/media-recipe.d.ts +207 -0
  157. package/dist/_types/contracts/local-execution/media-validation-request.d.ts +232 -0
  158. package/dist/_types/contracts/local-execution/media-validation.d.ts +262 -0
  159. package/dist/_types/contracts/local-execution/object-transfer.d.ts +155 -0
  160. package/dist/_types/contracts/local-execution/offline.d.ts +59 -0
  161. package/dist/_types/contracts/local-execution/preview.d.ts +243 -0
  162. package/dist/_types/contracts/local-execution/processor-capability.d.ts +39 -0
  163. package/dist/_types/contracts/local-execution/processor-direct.d.ts +290 -0
  164. package/dist/_types/contracts/local-execution/processor-recipes.d.ts +1122 -0
  165. package/dist/_types/contracts/local-execution/processor.d.ts +6173 -0
  166. package/dist/_types/contracts/local-execution/project-source-direct.d.ts +201 -0
  167. package/dist/_types/contracts/local-execution/qwen-tts.d.ts +31 -0
  168. package/dist/_types/contracts/local-execution/recognition.d.ts +170 -0
  169. package/dist/_types/contracts/local-execution/speech.d.ts +95 -0
  170. package/dist/_types/contracts/local-execution/tool-selection.d.ts +55 -0
  171. package/dist/_types/contracts/local-execution/whisper.d.ts +24 -0
  172. package/dist/_types/contracts/local-execution/work.d.ts +149 -0
  173. package/dist/_types/contracts/local-execution/workspace.d.ts +141 -0
  174. package/dist/_types/contracts/matrix-parameter-rule.d.ts +23 -0
  175. package/dist/_types/contracts/media-category.d.ts +11 -0
  176. package/dist/_types/contracts/media-export.d.ts +23 -0
  177. package/dist/_types/contracts/media-observation.d.ts +2080 -0
  178. package/dist/_types/contracts/model-capability-matrix.d.ts +118 -0
  179. package/dist/_types/contracts/native-tool-authority-failure.d.ts +38 -0
  180. package/dist/_types/contracts/native-tool-authority.d.ts +110 -0
  181. package/dist/_types/contracts/native-tool-execution.d.ts +287 -0
  182. package/dist/_types/contracts/native-tool-gateway.d.ts +41 -0
  183. package/dist/_types/contracts/native-video-audio.d.ts +62 -0
  184. package/dist/_types/contracts/navigation-context.d.ts +253 -0
  185. package/dist/_types/contracts/navigation-groups.d.ts +51 -0
  186. package/dist/_types/contracts/navigation.d.ts +248 -0
  187. package/dist/_types/contracts/observation-profile.d.ts +99 -0
  188. package/dist/_types/contracts/planning-input.d.ts +177 -0
  189. package/dist/_types/contracts/principal.d.ts +26 -0
  190. package/dist/_types/contracts/production-creation.d.ts +66 -0
  191. package/dist/_types/contracts/production-termination.d.ts +51 -0
  192. package/dist/_types/contracts/production.d.ts +111 -0
  193. package/dist/_types/contracts/programmatic-composition.d.ts +762 -0
  194. package/dist/_types/contracts/programmatic-exploration.d.ts +1822 -0
  195. package/dist/_types/contracts/programmatic-video-review.d.ts +894 -0
  196. package/dist/_types/contracts/project-library.d.ts +173 -0
  197. package/dist/_types/contracts/project.d.ts +93 -0
  198. package/dist/_types/contracts/provider-catalog.d.ts +421 -0
  199. package/dist/_types/contracts/provider-models.d.ts +3388 -0
  200. package/dist/_types/contracts/provider.d.ts +207 -0
  201. package/dist/_types/contracts/reference-preview.d.ts +55 -0
  202. package/dist/_types/contracts/repair-lifecycle.d.ts +2564 -0
  203. package/dist/_types/contracts/repair-plan.d.ts +646 -0
  204. package/dist/_types/contracts/repair-strategy.d.ts +1432 -0
  205. package/dist/_types/contracts/review-intelligence-evidence.d.ts +136 -0
  206. package/dist/_types/contracts/review-intelligence-final-output.d.ts +883 -0
  207. package/dist/_types/contracts/review-intelligence.d.ts +573 -0
  208. package/dist/_types/contracts/review1-repair-source.d.ts +452 -0
  209. package/dist/_types/contracts/review1-repair-strategy.d.ts +491 -0
  210. package/dist/_types/contracts/review1-repair.d.ts +36 -0
  211. package/dist/_types/contracts/rough-cut-manifest.d.ts +352 -0
  212. package/dist/_types/contracts/rough-cut-profile.d.ts +46 -0
  213. package/dist/_types/contracts/rough-cut-review.d.ts +459 -0
  214. package/dist/_types/contracts/rough-cut.d.ts +1260 -0
  215. package/dist/_types/contracts/scene-shot-plan.d.ts +882 -0
  216. package/dist/_types/contracts/sdk-discovery.d.ts +66 -0
  217. package/dist/_types/contracts/shot-direction.d.ts +113 -0
  218. package/dist/_types/contracts/shot-preparation-basis.d.ts +356 -0
  219. package/dist/_types/contracts/shot-preparation.d.ts +2285 -0
  220. package/dist/_types/contracts/shot-sound-instruction.d.ts +58 -0
  221. package/dist/_types/contracts/sound-making-plan.d.ts +1586 -0
  222. package/dist/_types/contracts/source-sound-policy.d.ts +10 -0
  223. package/dist/_types/contracts/source-workspace.d.ts +62 -0
  224. package/dist/_types/contracts/speech-cost.d.ts +81 -0
  225. package/dist/_types/contracts/speech.d.ts +573 -0
  226. package/dist/_types/contracts/story.d.ts +98 -0
  227. package/dist/_types/contracts/temporal-evidence-operation.d.ts +380 -0
  228. package/dist/_types/contracts/temporal-evidence-reference.d.ts +18 -0
  229. package/dist/_types/contracts/temporal-evidence.d.ts +248 -0
  230. package/dist/_types/contracts/tenant.d.ts +7 -0
  231. package/dist/_types/contracts/timeline-audio.d.ts +98 -0
  232. package/dist/_types/contracts/timeline-graphics.d.ts +80 -0
  233. package/dist/_types/contracts/timeline-manifest.d.ts +704 -0
  234. package/dist/_types/contracts/timeline-source-sound.d.ts +353 -0
  235. package/dist/_types/contracts/timeline-v2.d.ts +1267 -0
  236. package/dist/_types/contracts/timeline-version-reader.d.ts +2955 -0
  237. package/dist/_types/contracts/timeline-visual-layers.d.ts +1249 -0
  238. package/dist/_types/contracts/timeline.d.ts +142 -0
  239. package/dist/_types/contracts/transcription.d.ts +80 -0
  240. package/dist/_types/contracts/video-generation.d.ts +676 -0
  241. package/dist/_types/contracts/video-review.d.ts +1871 -0
  242. package/dist/_types/contracts/visual-exploration.d.ts +1586 -0
  243. package/dist/_types/contracts/visual-layer-render.d.ts +2820 -0
  244. package/dist/_types/contracts/visual-layer.d.ts +112 -0
  245. package/dist/_types/contracts/visual-sequence.d.ts +143 -0
  246. package/dist/_types/contracts/workspace.d.ts +32 -0
  247. package/dist/_types/contracts/writer-proposal.d.ts +268 -0
  248. package/dist/_types/sdk/errors.d.ts +14 -0
  249. package/dist/_types/sdk/local-runtime/components.d.ts +2 -0
  250. package/dist/_types/sdk/local-runtime/device-client.d.ts +187 -0
  251. package/dist/_types/sdk/local-runtime/library.d.ts +268 -0
  252. package/dist/_types/sdk/local-runtime/workspace.d.ts +186 -0
  253. package/dist/_types/sdk/local-runtime-client.d.ts +2616 -0
  254. package/dist/entry.js +2 -0
  255. package/dist/local-management.d.ts +1 -0
  256. package/dist/local-management.js +1 -0
  257. package/dist/local-navigation.d.ts +1 -0
  258. package/dist/local-navigation.js +1 -0
  259. package/dist/native/Bootstrap.ps1 +90 -0
  260. package/dist/native/JobNative.cs +137 -0
  261. package/dist/native/JobRunner.cs +381 -0
  262. package/dist/native/NativeMain.cs +161 -0
  263. package/dist/native/PipeBridge.cs +260 -0
  264. package/dist/native/PrivateAccess.cs +152 -0
  265. package/package.json +27 -3
  266. package/README.md +0 -3
@@ -0,0 +1,519 @@
1
+ import { z } from "zod";
2
+ import { ExplorationCompareInputSchema } from "./visual-exploration.js";
3
+ import { ReviewEvidenceKeySchema } from "./review-intelligence-evidence.js";
4
+ import { ReviewIntelligenceContextResultSchema, ValidateReviewIntelligenceSchema } from "./review-intelligence.js";
5
+ declare const Text: z.ZodString;
6
+ export declare const ExplorationComparisonCriterionSchema: z.ZodObject<{
7
+ key: typeof ReviewEvidenceKeySchema;
8
+ description: typeof Text;
9
+ modality: z.ZodEnum<{
10
+ VISUAL: "VISUAL";
11
+ TEMPORAL: "TEMPORAL";
12
+ }>;
13
+ }, z.core.$strict>;
14
+ export declare const ExplorationRecommendationContextInputSchema: z.ZodObject<z.core.util.Extend<typeof ExplorationCompareInputSchema.shape, {
15
+ criteria: z.ZodArray<typeof ExplorationComparisonCriterionSchema>;
16
+ }>, typeof ExplorationCompareInputSchema._zod.config>;
17
+ export declare const ExplorationRecommendationBasisSchema: z.ZodObject<{
18
+ input: typeof ExplorationRecommendationContextInputSchema;
19
+ contextFingerprint: z.ZodString;
20
+ }, z.core.$strict>;
21
+ export declare const ExplorationRecommendationCandidateSchema: z.ZodObject<{
22
+ label: typeof ReviewEvidenceKeySchema;
23
+ readiness: z.ZodEnum<{
24
+ REVIEWABLE: "REVIEWABLE";
25
+ UNAVAILABLE: "UNAVAILABLE";
26
+ }>;
27
+ reasons: z.ZodArray<z.ZodEnum<{
28
+ NO_CANDIDATE: "NO_CANDIDATE";
29
+ STALE_BASIS: "STALE_BASIS";
30
+ PRODUCTION_NOT_RUNNABLE: "PRODUCTION_NOT_RUNNABLE";
31
+ OUTPUT_NOT_INSPECTABLE: "OUTPUT_NOT_INSPECTABLE";
32
+ }>>;
33
+ reviewContext: z.ZodNullable<typeof ReviewIntelligenceContextResultSchema>;
34
+ }, z.core.$strict>;
35
+ export declare const ExplorationRecommendationContextResultSchema: z.ZodObject<{
36
+ semanticStatus: z.ZodLiteral<"SUCCESS">;
37
+ advisory: z.ZodLiteral<true>;
38
+ basis: z.ZodObject<{
39
+ input: typeof ExplorationRecommendationContextInputSchema;
40
+ contextFingerprint: z.ZodString;
41
+ }, z.core.$strict>;
42
+ comparison: z.ZodObject<{
43
+ semanticStatus: z.ZodLiteral<"SUCCESS">;
44
+ advisory: z.ZodLiteral<true>;
45
+ scope: z.ZodObject<{
46
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
47
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
48
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
49
+ shotId: z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">;
50
+ }, z.core.$strict>;
51
+ items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
52
+ label: z.ZodString;
53
+ mediaType: z.ZodLiteral<"IMAGE">;
54
+ generation: z.ZodObject<{
55
+ connection: z.ZodOptional<z.ZodObject<{
56
+ connectionId: z.ZodUUID;
57
+ connectionVersion: z.ZodInt;
58
+ modelProfileId: z.ZodString;
59
+ modelProfileVersion: z.ZodInt;
60
+ }, z.core.$strict>>;
61
+ generationId: z.core.$ZodBranded<z.ZodUUID, "KeyframeGenerationId", "out">;
62
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
63
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
64
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
65
+ shotId: z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">;
66
+ preparationId: z.core.$ZodBranded<z.ZodUUID, "PreparationId", "out">;
67
+ contractId: z.core.$ZodBranded<z.ZodUUID, "GenerationContractId", "out">;
68
+ contractFingerprint: z.ZodString;
69
+ operationId: z.core.$ZodBranded<z.ZodString, "OperationId", "out">;
70
+ provider: z.ZodObject<{
71
+ id: z.ZodString;
72
+ adapterVersion: z.ZodString;
73
+ model: z.ZodString;
74
+ executionClass: z.ZodEnum<{
75
+ LIVE: "LIVE";
76
+ TEST_ONLY: "TEST_ONLY";
77
+ }>;
78
+ mediaType: z.ZodLiteral<"IMAGE">;
79
+ mode: z.ZodLiteral<"REFERENCE_TO_IMAGE">;
80
+ referenceRoles: z.ZodArray<z.ZodEnum<{
81
+ PRODUCT_IDENTITY: "PRODUCT_IDENTITY";
82
+ PRODUCT_PACKSHOT: "PRODUCT_PACKSHOT";
83
+ CHARACTER_IDENTITY: "CHARACTER_IDENTITY";
84
+ WARDROBE: "WARDROBE";
85
+ LOCATION: "LOCATION";
86
+ STYLE: "STYLE";
87
+ START_FRAME_ANCHOR: "START_FRAME_ANCHOR";
88
+ END_FRAME_ANCHOR: "END_FRAME_ANCHOR";
89
+ }>>;
90
+ aspectRatios: z.ZodArray<z.ZodEnum<{
91
+ "16:9": "16:9";
92
+ "9:16": "9:16";
93
+ }>>;
94
+ maxReferences: z.ZodInt;
95
+ correlationLookup: z.ZodBoolean;
96
+ }, z.core.$strict>;
97
+ runtimeStatus: z.ZodEnum<{
98
+ FAILED: "FAILED";
99
+ CANCELLED: "CANCELLED";
100
+ RUNNING: "RUNNING";
101
+ SUPERSEDED: "SUPERSEDED";
102
+ READY: "READY";
103
+ PENDING: "PENDING";
104
+ WAITING: "WAITING";
105
+ SUCCEEDED: "SUCCEEDED";
106
+ }>;
107
+ providerStatus: z.ZodEnum<{
108
+ FAILED: "FAILED";
109
+ UNKNOWN: "UNKNOWN";
110
+ PENDING: "PENDING";
111
+ SUCCEEDED: "SUCCEEDED";
112
+ NOT_SUBMITTED: "NOT_SUBMITTED";
113
+ SUBMITTING: "SUBMITTING";
114
+ }>;
115
+ freshness: z.ZodEnum<{
116
+ STALE_BASIS: "STALE_BASIS";
117
+ CURRENT_BASIS: "CURRENT_BASIS";
118
+ }>;
119
+ cancellationRequested: z.ZodBoolean;
120
+ candidate: z.ZodNullable<z.ZodObject<{
121
+ id: z.ZodUUID;
122
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
123
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
124
+ availability: z.ZodEnum<{
125
+ AVAILABLE: "AVAILABLE";
126
+ INVALID: "INVALID";
127
+ }>;
128
+ observation: z.ZodEnum<{
129
+ NOT_OBSERVED: "NOT_OBSERVED";
130
+ OBSERVED: "OBSERVED";
131
+ }>;
132
+ evaluation: z.ZodEnum<{
133
+ PASS: "PASS";
134
+ WARNING: "WARNING";
135
+ UNREVIEWED: "UNREVIEWED";
136
+ FAIL: "FAIL";
137
+ }>;
138
+ accepted: z.ZodBoolean;
139
+ reviewId: z.ZodOptional<z.ZodUUID>;
140
+ reviewVersion: z.ZodOptional<z.ZodInt>;
141
+ acceptanceDecisionId: z.ZodOptional<z.ZodUUID>;
142
+ freshness: z.ZodEnum<{
143
+ STALE_BASIS: "STALE_BASIS";
144
+ CURRENT_BASIS: "CURRENT_BASIS";
145
+ }>;
146
+ checksumSha256: z.ZodString;
147
+ contentType: z.ZodEnum<{
148
+ "image/png": "image/png";
149
+ "image/jpeg": "image/jpeg";
150
+ "image/webp": "image/webp";
151
+ }>;
152
+ byteSize: z.ZodInt;
153
+ width: z.ZodInt;
154
+ height: z.ZodInt;
155
+ }, z.core.$strict>>;
156
+ createdByPrincipalId: z.core.$ZodBranded<z.ZodUUID, "PrincipalId", "out">;
157
+ createdAt: z.ZodISODateTime;
158
+ }, z.core.$strict>;
159
+ handoff: z.ZodNullable<z.ZodObject<{
160
+ mediaRead: z.ZodObject<{
161
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
162
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
163
+ generationId: z.ZodUUID;
164
+ }, z.core.$strict>;
165
+ reviewTarget: z.ZodObject<{
166
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
167
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
168
+ generationId: z.ZodUUID;
169
+ }, z.core.$strict>;
170
+ }, z.core.$strict>>;
171
+ }, z.core.$strict>, z.ZodObject<{
172
+ label: z.ZodString;
173
+ mediaType: z.ZodLiteral<"VIDEO">;
174
+ generation: z.ZodObject<{
175
+ generationId: z.core.$ZodBranded<z.ZodUUID, "VideoGenerationId", "out">;
176
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
177
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
178
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
179
+ shotId: z.core.$ZodBranded<z.ZodUUID, "ShotId", "out">;
180
+ preparationId: z.core.$ZodBranded<z.ZodUUID, "PreparationId", "out">;
181
+ contractId: z.core.$ZodBranded<z.ZodUUID, "GenerationContractId", "out">;
182
+ contractFingerprint: z.ZodString;
183
+ connection: z.ZodObject<{
184
+ connectionId: z.ZodUUID;
185
+ connectionVersion: z.ZodInt;
186
+ modelProfileId: z.ZodString;
187
+ modelProfileVersion: z.ZodInt;
188
+ }, z.core.$strict>;
189
+ operationId: z.core.$ZodBranded<z.ZodString, "OperationId", "out">;
190
+ provider: z.ZodObject<{
191
+ id: z.ZodString;
192
+ adapterVersion: z.ZodString;
193
+ model: z.ZodString;
194
+ executionClass: z.ZodEnum<{
195
+ LIVE: "LIVE";
196
+ TEST_ONLY: "TEST_ONLY";
197
+ }>;
198
+ mediaType: z.ZodLiteral<"VIDEO">;
199
+ modes: z.ZodArray<z.ZodEnum<{
200
+ REFERENCE_TO_VIDEO: "REFERENCE_TO_VIDEO";
201
+ FIRST_FRAME_TO_VIDEO: "FIRST_FRAME_TO_VIDEO";
202
+ FIRST_LAST_FRAME_TO_VIDEO: "FIRST_LAST_FRAME_TO_VIDEO";
203
+ }>>;
204
+ referenceRoles: z.ZodArray<z.ZodEnum<{
205
+ PRODUCT_IDENTITY: "PRODUCT_IDENTITY";
206
+ PRODUCT_PACKSHOT: "PRODUCT_PACKSHOT";
207
+ CHARACTER_IDENTITY: "CHARACTER_IDENTITY";
208
+ WARDROBE: "WARDROBE";
209
+ LOCATION: "LOCATION";
210
+ STYLE: "STYLE";
211
+ START_FRAME_ANCHOR: "START_FRAME_ANCHOR";
212
+ END_FRAME_ANCHOR: "END_FRAME_ANCHOR";
213
+ }>>;
214
+ aspectRatios: z.ZodArray<z.ZodEnum<{
215
+ "16:9": "16:9";
216
+ "9:16": "9:16";
217
+ }>>;
218
+ minDurationSeconds: z.ZodInt;
219
+ maxDurationSeconds: z.ZodInt;
220
+ maxReferences: z.ZodInt;
221
+ combineAnchorsAndReferences: z.ZodBoolean;
222
+ workingWidth: z.ZodInt;
223
+ workingHeight: z.ZodInt;
224
+ frameRate: z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>;
225
+ sourceFormat: z.ZodOptional<z.ZodObject<{
226
+ videoCodec: z.ZodLiteral<"hevc">;
227
+ pixelFormat: z.ZodLiteral<"yuv420p10le">;
228
+ }, z.core.$strict>>;
229
+ hasAudio: z.ZodBoolean;
230
+ nativeAudioChannels: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
231
+ correlationStrategy: z.ZodLiteral<"PROVIDER_TASK_ID">;
232
+ }, z.core.$strict>;
233
+ runtimeStatus: z.ZodEnum<{
234
+ FAILED: "FAILED";
235
+ CANCELLED: "CANCELLED";
236
+ RUNNING: "RUNNING";
237
+ SUPERSEDED: "SUPERSEDED";
238
+ READY: "READY";
239
+ PENDING: "PENDING";
240
+ WAITING: "WAITING";
241
+ SUCCEEDED: "SUCCEEDED";
242
+ }>;
243
+ providerStatus: z.ZodEnum<{
244
+ FAILED: "FAILED";
245
+ UNKNOWN: "UNKNOWN";
246
+ PENDING: "PENDING";
247
+ SUCCEEDED: "SUCCEEDED";
248
+ NOT_SUBMITTED: "NOT_SUBMITTED";
249
+ SUBMITTING: "SUBMITTING";
250
+ }>;
251
+ freshness: z.ZodEnum<{
252
+ STALE_BASIS: "STALE_BASIS";
253
+ CURRENT_BASIS: "CURRENT_BASIS";
254
+ }>;
255
+ cancellationRequested: z.ZodBoolean;
256
+ candidate: z.ZodNullable<z.ZodObject<{
257
+ contentType: z.ZodLiteral<"video/mp4">;
258
+ checksumSha256: z.ZodString;
259
+ byteSize: z.ZodInt;
260
+ width: z.ZodInt;
261
+ height: z.ZodInt;
262
+ durationMs: z.ZodInt;
263
+ frameRate: z.ZodNumber;
264
+ videoCodec: z.ZodEnum<{
265
+ h264: "h264";
266
+ hevc: "hevc";
267
+ }>;
268
+ pixelFormat: z.ZodOptional<z.ZodLiteral<"yuv420p10le">>;
269
+ hasAudio: z.ZodBoolean;
270
+ nativeAudio: z.ZodOptional<z.ZodObject<{
271
+ normalizationVersion: z.ZodLiteral<"VIDEO_AUDIO_PCM_V1">;
272
+ sourceCodec: z.ZodLiteral<"aac">;
273
+ sourceSampleRateHz: z.ZodInt;
274
+ sourceChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
275
+ sourceFrameRateHz: z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>;
276
+ sourceFrameCount: z.ZodInt;
277
+ sourceStartOffsetMs: z.ZodNumber;
278
+ sourceDeclaredDurationMs: z.ZodNumber;
279
+ alignment: z.ZodLiteral<"TRIM_PAD_PCM_TO_VIDEO_ZERO_V1">;
280
+ media: z.ZodObject<{
281
+ profile: z.ZodLiteral<"PCM_S16LE_48000_NATIVE_VIDEO_V1">;
282
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
283
+ sampleRateHz: z.ZodLiteral<48000>;
284
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
285
+ sampleCount: z.ZodInt;
286
+ durationMs: z.ZodNumber;
287
+ }, z.core.$strict>;
288
+ checksumSha256: z.ZodString;
289
+ }, z.core.$strict>>;
290
+ nativeSound: z.ZodOptional<z.ZodObject<{
291
+ id: z.ZodUUID;
292
+ tenantId: z.ZodUUID;
293
+ projectId: z.ZodUUID;
294
+ productionId: z.ZodUUID;
295
+ shotId: z.ZodUUID;
296
+ generationId: z.ZodUUID;
297
+ videoArtifactId: z.ZodUUID;
298
+ videoRepresentationId: z.ZodUUID;
299
+ videoChecksumSha256: z.ZodString;
300
+ artifactId: z.ZodUUID;
301
+ representationId: z.ZodUUID;
302
+ checksumSha256: z.ZodString;
303
+ byteSize: z.ZodInt;
304
+ metadata: z.ZodObject<{
305
+ normalizationVersion: z.ZodLiteral<"VIDEO_AUDIO_PCM_V1">;
306
+ sourceCodec: z.ZodLiteral<"aac">;
307
+ sourceSampleRateHz: z.ZodInt;
308
+ sourceChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
309
+ sourceFrameRateHz: z.ZodUnion<readonly [z.ZodLiteral<24>, z.ZodLiteral<30>]>;
310
+ sourceFrameCount: z.ZodInt;
311
+ sourceStartOffsetMs: z.ZodNumber;
312
+ sourceDeclaredDurationMs: z.ZodNumber;
313
+ alignment: z.ZodLiteral<"TRIM_PAD_PCM_TO_VIDEO_ZERO_V1">;
314
+ media: z.ZodObject<{
315
+ profile: z.ZodLiteral<"PCM_S16LE_48000_NATIVE_VIDEO_V1">;
316
+ audioCodec: z.ZodLiteral<"pcm_s16le">;
317
+ sampleRateHz: z.ZodLiteral<48000>;
318
+ audioChannels: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
319
+ sampleCount: z.ZodInt;
320
+ durationMs: z.ZodNumber;
321
+ }, z.core.$strict>;
322
+ checksumSha256: z.ZodString;
323
+ }, z.core.$strict>;
324
+ executionClass: z.ZodEnum<{
325
+ LIVE: "LIVE";
326
+ TEST_ONLY: "TEST_ONLY";
327
+ }>;
328
+ }, z.core.$strict>>;
329
+ id: z.ZodUUID;
330
+ artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
331
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
332
+ poster: z.ZodObject<{
333
+ representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
334
+ contentType: z.ZodLiteral<"image/png">;
335
+ checksumSha256: z.ZodString;
336
+ byteSize: z.ZodInt;
337
+ width: z.ZodInt;
338
+ height: z.ZodInt;
339
+ }, z.core.$strict>;
340
+ availability: z.ZodEnum<{
341
+ AVAILABLE: "AVAILABLE";
342
+ INVALID: "INVALID";
343
+ }>;
344
+ observation: z.ZodEnum<{
345
+ NOT_OBSERVED: "NOT_OBSERVED";
346
+ OBSERVED: "OBSERVED";
347
+ }>;
348
+ evaluation: z.ZodEnum<{
349
+ PASS: "PASS";
350
+ WARNING: "WARNING";
351
+ UNREVIEWED: "UNREVIEWED";
352
+ FAIL: "FAIL";
353
+ }>;
354
+ accepted: z.ZodBoolean;
355
+ reviewId: z.ZodOptional<z.ZodUUID>;
356
+ reviewVersion: z.ZodOptional<z.ZodInt>;
357
+ acceptanceDecisionId: z.ZodOptional<z.ZodUUID>;
358
+ freshness: z.ZodEnum<{
359
+ STALE_BASIS: "STALE_BASIS";
360
+ CURRENT_BASIS: "CURRENT_BASIS";
361
+ }>;
362
+ }, z.core.$strict>>;
363
+ createdByPrincipalId: z.core.$ZodBranded<z.ZodUUID, "PrincipalId", "out">;
364
+ createdAt: z.ZodISODateTime;
365
+ }, z.core.$strict>;
366
+ handoff: z.ZodNullable<z.ZodObject<{
367
+ mediaRead: z.ZodObject<{
368
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
369
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
370
+ generationId: z.ZodUUID;
371
+ }, z.core.$strict>;
372
+ reviewTarget: z.ZodObject<{
373
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
374
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
375
+ generationId: z.ZodUUID;
376
+ }, z.core.$strict>;
377
+ }, z.core.$strict>>;
378
+ }, z.core.$strict>], "mediaType">>;
379
+ limitations: z.ZodTuple<[z.ZodLiteral<"OWNER_STATES_ARE_NOT_VISUAL_SCORES">, z.ZodLiteral<"REVIEW_AND_ACCEPTANCE_REMAIN_EXPLICIT">], null>;
380
+ }, z.core.$strict>;
381
+ candidates: z.ZodArray<z.ZodObject<{
382
+ label: typeof ReviewEvidenceKeySchema;
383
+ readiness: z.ZodEnum<{
384
+ REVIEWABLE: "REVIEWABLE";
385
+ UNAVAILABLE: "UNAVAILABLE";
386
+ }>;
387
+ reasons: z.ZodArray<z.ZodEnum<{
388
+ NO_CANDIDATE: "NO_CANDIDATE";
389
+ STALE_BASIS: "STALE_BASIS";
390
+ PRODUCTION_NOT_RUNNABLE: "PRODUCTION_NOT_RUNNABLE";
391
+ OUTPUT_NOT_INSPECTABLE: "OUTPUT_NOT_INSPECTABLE";
392
+ }>>;
393
+ reviewContext: z.ZodNullable<typeof ReviewIntelligenceContextResultSchema>;
394
+ }, z.core.$strict>>;
395
+ limitations: z.ZodTuple<[z.ZodLiteral<"READS_ARE_NOT_ATOMIC_OR_RESERVED">, z.ZodLiteral<"NO_IMPLICIT_MEDIA_OR_MODEL_CALL">], null>;
396
+ }, z.core.$strict>;
397
+ export declare const ExplorationComparisonJudgmentSchema: z.ZodObject<{
398
+ label: typeof ReviewEvidenceKeySchema;
399
+ criterionKey: typeof ReviewEvidenceKeySchema;
400
+ judgment: z.ZodEnum<{
401
+ FAVORABLE: "FAVORABLE";
402
+ UNFAVORABLE: "UNFAVORABLE";
403
+ UNCERTAIN: "UNCERTAIN";
404
+ NOT_OBSERVABLE: "NOT_OBSERVABLE";
405
+ }>;
406
+ rationale: typeof Text;
407
+ evidenceIds: z.ZodArray<typeof ReviewEvidenceKeySchema>;
408
+ }, z.core.$strict>;
409
+ export declare const ExplorationRecommendationDecisionSchema: z.ZodDiscriminatedUnion<[
410
+ z.ZodObject<{
411
+ kind: z.ZodLiteral<"RECOMMEND">;
412
+ label: typeof ReviewEvidenceKeySchema;
413
+ rationale: typeof Text;
414
+ notSelected: z.ZodArray<z.ZodObject<{
415
+ label: typeof ReviewEvidenceKeySchema;
416
+ reason: typeof Text;
417
+ }, z.core.$strict>>;
418
+ }, z.core.$strict>,
419
+ z.ZodObject<{
420
+ kind: z.ZodLiteral<"NO_RECOMMENDATION">;
421
+ reason: typeof Text;
422
+ }, z.core.$strict>
423
+ ], "kind">;
424
+ export declare const ValidateExplorationRecommendationSchema: z.ZodObject<{
425
+ basis: typeof ExplorationRecommendationBasisSchema;
426
+ proposal: z.ZodObject<{
427
+ origin: z.ZodObject<{
428
+ kind: z.ZodLiteral<"EXTERNAL_AGENT_HOST">;
429
+ label: z.ZodString;
430
+ }, z.core.$strict>;
431
+ summary: z.ZodString;
432
+ assessments: z.ZodArray<z.ZodObject<{
433
+ label: typeof ReviewEvidenceKeySchema;
434
+ reviewProposal: typeof ValidateReviewIntelligenceSchema.shape.proposal;
435
+ }, z.core.$strict>>;
436
+ judgments: z.ZodArray<typeof ExplorationComparisonJudgmentSchema>;
437
+ decision: typeof ExplorationRecommendationDecisionSchema;
438
+ unknowns: z.ZodArray<z.ZodString>;
439
+ }, z.core.$strict>;
440
+ }, z.core.$strict>;
441
+ export declare const ExplorationRecommendationValidationResultSchema: z.ZodObject<{
442
+ semanticStatus: z.ZodLiteral<"SUCCESS">;
443
+ advisory: z.ZodLiteral<true>;
444
+ basis: z.ZodObject<{
445
+ input: typeof ExplorationRecommendationContextInputSchema;
446
+ contextFingerprint: z.ZodString;
447
+ }, z.core.$strict>;
448
+ origin: z.ZodObject<{
449
+ kind: z.ZodLiteral<"EXTERNAL_AGENT_HOST">;
450
+ label: z.ZodString;
451
+ }, z.core.$strict>;
452
+ summary: z.ZodString;
453
+ judgments: z.ZodArray<z.ZodObject<{
454
+ label: typeof ReviewEvidenceKeySchema;
455
+ criterionKey: typeof ReviewEvidenceKeySchema;
456
+ judgment: z.ZodEnum<{
457
+ FAVORABLE: "FAVORABLE";
458
+ UNFAVORABLE: "UNFAVORABLE";
459
+ UNCERTAIN: "UNCERTAIN";
460
+ NOT_OBSERVABLE: "NOT_OBSERVABLE";
461
+ }>;
462
+ rationale: typeof Text;
463
+ evidenceIds: z.ZodArray<typeof ReviewEvidenceKeySchema>;
464
+ }, z.core.$strict>>;
465
+ decision: z.ZodDiscriminatedUnion<[z.ZodObject<{
466
+ kind: z.ZodLiteral<"RECOMMEND">;
467
+ label: typeof ReviewEvidenceKeySchema;
468
+ rationale: typeof Text;
469
+ notSelected: z.ZodArray<z.ZodObject<{
470
+ label: typeof ReviewEvidenceKeySchema;
471
+ reason: typeof Text;
472
+ }, z.core.$strict>>;
473
+ }, z.core.$strict>, z.ZodObject<{
474
+ kind: z.ZodLiteral<"NO_RECOMMENDATION">;
475
+ reason: typeof Text;
476
+ }, z.core.$strict>], "kind">;
477
+ unknowns: z.ZodArray<z.ZodString>;
478
+ reviews: z.ZodArray<z.ZodObject<{
479
+ label: z.ZodString;
480
+ validation: z.ZodObject<{
481
+ semanticStatus: z.ZodLiteral<"SUCCESS">;
482
+ advisory: z.ZodLiteral<true>;
483
+ basis: typeof import("./review-intelligence.js").ReviewIntelligenceBasisSchema;
484
+ proposal: typeof ValidateReviewIntelligenceSchema.shape.proposal;
485
+ canonicalRulePreview: z.ZodObject<{
486
+ source: z.ZodLiteral<"EXISTING_CANONICAL_DOMAIN_RULES">;
487
+ authoritative: z.ZodLiteral<false>;
488
+ evaluatorVersion: z.ZodEnum<{
489
+ "keyframe-reference-v1": "keyframe-reference-v1";
490
+ "shot-review-v1": "shot-review-v1";
491
+ "production-review-v1": "production-review-v1";
492
+ }>;
493
+ result: z.ZodEnum<{
494
+ PASS: "PASS";
495
+ WARNING: "WARNING";
496
+ FAIL: "FAIL";
497
+ }>;
498
+ blockingKeys: z.ZodArray<z.ZodString>;
499
+ warningKeys: z.ZodArray<z.ZodString>;
500
+ }, z.core.$strict>;
501
+ issueProposals: z.ZodArray<typeof import("./review-intelligence.js").ReviewIntelligenceIssueSchema>;
502
+ recordDraft: typeof import("./review-intelligence.js").ReviewIntelligenceRecordDraftSchema;
503
+ limitations: z.ZodArray<z.ZodEnum<{
504
+ EVIDENCE_DECLARATIONS_ARE_NOT_ATTESTED_PIXEL_READS: "EVIDENCE_DECLARATIONS_ARE_NOT_ATTESTED_PIXEL_READS";
505
+ RULE_PREVIEW_IS_NOT_A_CANONICAL_REVIEW: "RULE_PREVIEW_IS_NOT_A_CANONICAL_REVIEW";
506
+ RECORD_RECHECKS_CURRENTNESS_CAS_AND_EXECUTION_CLASS: "RECORD_RECHECKS_CURRENTNESS_CAS_AND_EXECUTION_CLASS";
507
+ ACCEPTANCE_REMAINS_A_SEPARATE_OWNER_DECISION: "ACCEPTANCE_REMAINS_A_SEPARATE_OWNER_DECISION";
508
+ }>>;
509
+ }, z.core.$strict>;
510
+ }, z.core.$strict>>;
511
+ limitations: z.ZodTuple<[z.ZodLiteral<"HOST_PREFERENCE_IS_NOT_CANONICAL_SELECTION">, z.ZodLiteral<"EVIDENCE_DECLARATIONS_ARE_NOT_ATTESTED_INSPECTION">, z.ZodLiteral<"RULE_PREVIEWS_ARE_NOT_CANONICAL_REVIEWS">, z.ZodLiteral<"EXPLICIT_RECORD_AND_SEPARATE_ACCEPTANCE_REQUIRED">, z.ZodLiteral<"OWNER_RECHECKS_CURRENTNESS_CAS_AND_EXECUTION_CLASS">], null>;
512
+ }, z.core.$strict>;
513
+ export type ExplorationRecommendationContextInput = z.input<typeof ExplorationRecommendationContextInputSchema>;
514
+ export type ExplorationRecommendationContextResult = z.infer<typeof ExplorationRecommendationContextResultSchema>;
515
+ export type ExplorationRecommendationCandidate = z.infer<typeof ExplorationRecommendationCandidateSchema>;
516
+ export type ValidateExplorationRecommendation = z.input<typeof ValidateExplorationRecommendationSchema>;
517
+ export type ExplorationComparisonJudgment = z.infer<typeof ExplorationComparisonJudgmentSchema>;
518
+ export type ExplorationRecommendationValidationResult = z.infer<typeof ExplorationRecommendationValidationResultSchema>;
519
+ export {};
@@ -0,0 +1,93 @@
1
+ import { z } from "zod";
2
+ export declare const ExternalGrantQuerySchema: z.ZodObject<{
3
+ tenantId: z.ZodUUID;
4
+ }, z.core.$strict>;
5
+ export declare const ExternalGrantPageSchema: z.ZodObject<{
6
+ items: z.ZodArray<z.ZodObject<{
7
+ grantId: z.ZodUUID;
8
+ displayName: z.ZodString;
9
+ scopes: z.ZodArray<z.ZodEnum<{
10
+ "nvs:read": "nvs:read";
11
+ "nvs:write": "nvs:write";
12
+ }>>;
13
+ expiresAt: z.ZodISODateTime;
14
+ }, z.core.$strict>>;
15
+ possiblyTruncated: z.ZodBoolean;
16
+ }, z.core.$strict>;
17
+ export type ExternalGrantPage = z.infer<typeof ExternalGrantPageSchema>;
18
+ export declare const ExternalAccessScopeSchema: z.ZodEnum<{
19
+ "nvs:read": "nvs:read";
20
+ "nvs:write": "nvs:write";
21
+ }>;
22
+ /** OAuth 只固定 tenant;项目由每次业务调用明确选择。 */
23
+ export declare const ExternalAgentScopeSchema: z.ZodObject<{
24
+ tenantId: z.ZodUUID;
25
+ }, z.core.$strict>;
26
+ export type ExternalAgentScope = z.infer<typeof ExternalAgentScopeSchema>;
27
+ export declare const RegisterExternalClientSchema: z.ZodObject<{
28
+ tenantId: z.ZodUUID;
29
+ displayName: z.ZodString;
30
+ redirectUris: z.ZodArray<z.ZodString>;
31
+ }, z.core.$strict>;
32
+ export declare const DynamicExternalClientSchema: z.ZodObject<{
33
+ client_name: z.ZodDefault<z.ZodString>;
34
+ redirect_uris: z.ZodArray<z.ZodString>;
35
+ token_endpoint_auth_method: z.ZodDefault<z.ZodLiteral<"none">>;
36
+ grant_types: z.ZodOptional<z.ZodArray<z.ZodEnum<{
37
+ authorization_code: "authorization_code";
38
+ refresh_token: "refresh_token";
39
+ }>>>;
40
+ response_types: z.ZodOptional<z.ZodArray<z.ZodLiteral<"code">>>;
41
+ application_type: z.ZodOptional<z.ZodEnum<{
42
+ native: "native";
43
+ web: "web";
44
+ }>>;
45
+ }, z.core.$strip>;
46
+ export declare const ExternalAuthorizationSchema: z.ZodObject<{
47
+ response_type: z.ZodLiteral<"code">;
48
+ client_id: z.ZodUUID;
49
+ redirect_uri: z.ZodString;
50
+ resource: z.ZodURL;
51
+ scope: z.ZodString;
52
+ state: z.ZodString;
53
+ code_challenge: z.ZodString;
54
+ code_challenge_method: z.ZodLiteral<"S256">;
55
+ }, z.core.$strict>;
56
+ export declare const ExternalTokenRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
57
+ grant_type: z.ZodLiteral<"authorization_code">;
58
+ code: z.ZodString;
59
+ redirect_uri: z.ZodString;
60
+ code_verifier: z.ZodString;
61
+ client_id: z.ZodUUID;
62
+ resource: z.ZodURL;
63
+ }, z.core.$strict>, z.ZodObject<{
64
+ grant_type: z.ZodLiteral<"refresh_token">;
65
+ refresh_token: z.ZodString;
66
+ client_id: z.ZodUUID;
67
+ resource: z.ZodURL;
68
+ }, z.core.$strict>], "grant_type">;
69
+ export declare const ExternalRevocationSchema: z.ZodObject<{
70
+ client_id: z.ZodUUID;
71
+ token: z.ZodString;
72
+ token_type_hint: z.ZodOptional<z.ZodEnum<{
73
+ refresh_token: "refresh_token";
74
+ access_token: "access_token";
75
+ }>>;
76
+ }, z.core.$strict>;
77
+ export type ExternalAuthorization = z.infer<typeof ExternalAuthorizationSchema>;
78
+ export type RegisterExternalClient = z.infer<typeof RegisterExternalClientSchema>;
79
+ export interface ExternalClient extends RegisterExternalClient {
80
+ clientId: string;
81
+ enabled: boolean;
82
+ registrationMode: "MAINTAINED" | "DYNAMIC";
83
+ }
84
+ export interface ExternalAccessSession extends ExternalAgentScope {
85
+ grantId: string;
86
+ tokenHash: string;
87
+ principalId: string;
88
+ issuer: string;
89
+ subject: string;
90
+ scopes: Array<z.infer<typeof ExternalAccessScopeSchema>>;
91
+ resource: string;
92
+ expiresAt: Date;
93
+ }