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

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 (206) hide show
  1. package/COMPATIBILITY.json +20 -0
  2. package/LICENSE +21 -0
  3. package/README.md +77 -2
  4. package/components/runtime.json +6 -0
  5. package/components/runtime.tgz +0 -0
  6. package/dist/BUNDLED_DEPENDENCIES.json +1 -0
  7. package/dist/_chunks/chunk-25EDDZQA.js +1 -0
  8. package/dist/_chunks/chunk-2UYKJ6YN.js +1 -0
  9. package/dist/_chunks/chunk-6NVIN2NI.js +1 -0
  10. package/dist/_chunks/chunk-E57YVMQ4.js +1 -0
  11. package/dist/_chunks/chunk-EAZKDCLD.js +1 -0
  12. package/dist/_chunks/chunk-G42IS5JF.js +1 -0
  13. package/dist/_chunks/chunk-GIEYSDCG.js +1 -0
  14. package/dist/_chunks/chunk-GJ7BZJLW.js +1 -0
  15. package/dist/_chunks/chunk-HLKERZIE.js +1 -0
  16. package/dist/_chunks/chunk-JFC6ZIGA.js +1 -0
  17. package/dist/_chunks/chunk-MSOMVWKN.js +1 -0
  18. package/dist/_chunks/chunk-PUNG4ND7.js +1 -0
  19. package/dist/_chunks/chunk-QC7RLTGU.js +1 -0
  20. package/dist/_chunks/chunk-RUMDDTON.js +1 -0
  21. package/dist/_chunks/chunk-U2UKGYGF.js +1 -0
  22. package/dist/_chunks/chunk-VDNNFVTZ.js +3 -0
  23. package/dist/_chunks/chunk-VPYAXWXY.js +1 -0
  24. package/dist/_chunks/files-TBJVDQWU.js +1 -0
  25. package/dist/_chunks/local-main-SOERK22D.js +1 -0
  26. package/dist/_chunks/local-mcp-JLPXXIDW.js +1 -0
  27. package/dist/_chunks/main-4SNF5EKE.js +2 -0
  28. package/dist/_chunks/mcp-EIMXNRH3.js +1 -0
  29. package/dist/_chunks/oauth-257CEUQH.js +1 -0
  30. package/dist/_chunks/project-connect-6MH2QG6G.js +1 -0
  31. package/dist/_chunks/src-7F6ZEU3U.js +1 -0
  32. package/dist/_chunks/stdio-main-JEADWO7U.js +1 -0
  33. package/dist/_types/cli/local/desktop-channel.d.ts +18 -0
  34. package/dist/_types/cli/local/desktop-contract.d.ts +208 -0
  35. package/dist/_types/cli/local/desktop-node.d.ts +1 -0
  36. package/dist/_types/cli/local/desktop-owner.d.ts +32 -0
  37. package/dist/_types/cli/local/ledger.d.ts +309 -0
  38. package/dist/_types/cli/local/manager.d.ts +592 -0
  39. package/dist/_types/cli/local/mcp-tools.d.ts +419 -0
  40. package/dist/_types/cli/local/releases.d.ts +100 -0
  41. package/dist/_types/cli/local-management.d.ts +11 -0
  42. package/dist/_types/cli/local-navigation.d.ts +3 -0
  43. package/dist/_types/contracts/accepted-shot.d.ts +27 -0
  44. package/dist/_types/contracts/accepted-visual-source.d.ts +120 -0
  45. package/dist/_types/contracts/agent-execution-lifecycle.d.ts +749 -0
  46. package/dist/_types/contracts/agent-execution-oauth.d.ts +71 -0
  47. package/dist/_types/contracts/agent-execution-registration.d.ts +240 -0
  48. package/dist/_types/contracts/agent-execution-selection.d.ts +107 -0
  49. package/dist/_types/contracts/agent-host-execution.d.ts +706 -0
  50. package/dist/_types/contracts/agent-host-generic-transport.d.ts +12 -0
  51. package/dist/_types/contracts/agent-host.d.ts +226 -0
  52. package/dist/_types/contracts/artifact-discovery.d.ts +170 -0
  53. package/dist/_types/contracts/artifact.d.ts +188 -0
  54. package/dist/_types/contracts/audio.d.ts +331 -0
  55. package/dist/_types/contracts/brief.d.ts +178 -0
  56. package/dist/_types/contracts/caption-render.d.ts +20 -0
  57. package/dist/_types/contracts/caption-transcript.d.ts +102 -0
  58. package/dist/_types/contracts/captions.d.ts +420 -0
  59. package/dist/_types/contracts/clip-framing.d.ts +14 -0
  60. package/dist/_types/contracts/clip-transition.d.ts +6 -0
  61. package/dist/_types/contracts/composition-authoring-guide.d.ts +160 -0
  62. package/dist/_types/contracts/composition-authoring.d.ts +744 -0
  63. package/dist/_types/contracts/composition-finding-locality.d.ts +24 -0
  64. package/dist/_types/contracts/composition-frame-render.d.ts +226 -0
  65. package/dist/_types/contracts/composition-making.d.ts +390 -0
  66. package/dist/_types/contracts/composition-observation.d.ts +239 -0
  67. package/dist/_types/contracts/composition-render-base.d.ts +292 -0
  68. package/dist/_types/contracts/composition-render-observation.d.ts +278 -0
  69. package/dist/_types/contracts/composition-render.d.ts +406 -0
  70. package/dist/_types/contracts/composition-repair.d.ts +451 -0
  71. package/dist/_types/contracts/composition-source-review.d.ts +1042 -0
  72. package/dist/_types/contracts/consistency-profile.d.ts +845 -0
  73. package/dist/_types/contracts/continuity-evaluation.d.ts +48 -0
  74. package/dist/_types/contracts/delivery-completion.d.ts +210 -0
  75. package/dist/_types/contracts/delivery-manifest.d.ts +11776 -0
  76. package/dist/_types/contracts/delivery-operations.d.ts +5009 -0
  77. package/dist/_types/contracts/delivery-output-profile.d.ts +12 -0
  78. package/dist/_types/contracts/delivery-summary.d.ts +220 -0
  79. package/dist/_types/contracts/delivery-validation.d.ts +183 -0
  80. package/dist/_types/contracts/director-proposal.d.ts +1067 -0
  81. package/dist/_types/contracts/editor-intelligence.d.ts +5751 -0
  82. package/dist/_types/contracts/exploration-recommendation.d.ts +11863 -0
  83. package/dist/_types/contracts/external-agent-access.d.ts +95 -0
  84. package/dist/_types/contracts/final-ready.d.ts +301 -0
  85. package/dist/_types/contracts/final-render-profile.d.ts +59 -0
  86. package/dist/_types/contracts/final-render.d.ts +8181 -0
  87. package/dist/_types/contracts/foundation.d.ts +1 -0
  88. package/dist/_types/contracts/generation-contract.d.ts +268 -0
  89. package/dist/_types/contracts/generation-cost.d.ts +70 -0
  90. package/dist/_types/contracts/health.d.ts +6 -0
  91. package/dist/_types/contracts/human-identity.d.ts +149 -0
  92. package/dist/_types/contracts/hyperframe-profile.d.ts +5 -0
  93. package/dist/_types/contracts/ids.d.ts +41 -0
  94. package/dist/_types/contracts/index.d.ts +122 -0
  95. package/dist/_types/contracts/interface/common.d.ts +56 -0
  96. package/dist/_types/contracts/interface/execution-output.d.ts +99 -0
  97. package/dist/_types/contracts/interface/index.d.ts +7 -0
  98. package/dist/_types/contracts/interface/media-output.d.ts +62 -0
  99. package/dist/_types/contracts/interface/operation.d.ts +61 -0
  100. package/dist/_types/contracts/interface/output.d.ts +15 -0
  101. package/dist/_types/contracts/interface/production-snapshot.d.ts +832 -0
  102. package/dist/_types/contracts/interface/query.d.ts +315 -0
  103. package/dist/_types/contracts/keyframe-generation.d.ts +349 -0
  104. package/dist/_types/contracts/keyframe-reference.d.ts +31 -0
  105. package/dist/_types/contracts/keyframe-review.d.ts +753 -0
  106. package/dist/_types/contracts/lifecycle-event-projections.d.ts +191 -0
  107. package/dist/_types/contracts/lifecycle-events.d.ts +156 -0
  108. package/dist/_types/contracts/listening-evidence.d.ts +37 -0
  109. package/dist/_types/contracts/local-execution/agent-review.d.ts +560 -0
  110. package/dist/_types/contracts/local-execution/canonical.d.ts +2 -0
  111. package/dist/_types/contracts/local-execution/common.d.ts +48 -0
  112. package/dist/_types/contracts/local-execution/completion.d.ts +128 -0
  113. package/dist/_types/contracts/local-execution/device.d.ts +134 -0
  114. package/dist/_types/contracts/local-execution/index.d.ts +11 -0
  115. package/dist/_types/contracts/local-execution/ipc.d.ts +1202 -0
  116. package/dist/_types/contracts/local-execution/lifecycle.d.ts +319 -0
  117. package/dist/_types/contracts/local-execution/local-navigation.d.ts +710 -0
  118. package/dist/_types/contracts/local-execution/preview.d.ts +3663 -0
  119. package/dist/_types/contracts/local-execution/tool-selection.d.ts +15 -0
  120. package/dist/_types/contracts/local-execution/work.d.ts +3441 -0
  121. package/dist/_types/contracts/matrix-parameter-rule.d.ts +23 -0
  122. package/dist/_types/contracts/media-export.d.ts +23 -0
  123. package/dist/_types/contracts/media-observation.d.ts +1159 -0
  124. package/dist/_types/contracts/model-capability-matrix.d.ts +118 -0
  125. package/dist/_types/contracts/native-tool-authority-failure.d.ts +38 -0
  126. package/dist/_types/contracts/native-tool-authority.d.ts +110 -0
  127. package/dist/_types/contracts/native-tool-execution.d.ts +287 -0
  128. package/dist/_types/contracts/native-tool-gateway.d.ts +41 -0
  129. package/dist/_types/contracts/native-video-audio.d.ts +62 -0
  130. package/dist/_types/contracts/navigation-context.d.ts +253 -0
  131. package/dist/_types/contracts/navigation-groups.d.ts +51 -0
  132. package/dist/_types/contracts/navigation.d.ts +238 -0
  133. package/dist/_types/contracts/observation-profile.d.ts +99 -0
  134. package/dist/_types/contracts/planning-input.d.ts +177 -0
  135. package/dist/_types/contracts/principal.d.ts +26 -0
  136. package/dist/_types/contracts/production-creation.d.ts +66 -0
  137. package/dist/_types/contracts/production-termination.d.ts +51 -0
  138. package/dist/_types/contracts/production.d.ts +111 -0
  139. package/dist/_types/contracts/programmatic-composition.d.ts +762 -0
  140. package/dist/_types/contracts/programmatic-exploration.d.ts +7459 -0
  141. package/dist/_types/contracts/programmatic-video-review.d.ts +894 -0
  142. package/dist/_types/contracts/project-library.d.ts +173 -0
  143. package/dist/_types/contracts/project.d.ts +93 -0
  144. package/dist/_types/contracts/provider-catalog.d.ts +421 -0
  145. package/dist/_types/contracts/provider-models.d.ts +3380 -0
  146. package/dist/_types/contracts/provider.d.ts +142 -0
  147. package/dist/_types/contracts/reference-preview.d.ts +36 -0
  148. package/dist/_types/contracts/repair-lifecycle.d.ts +2896 -0
  149. package/dist/_types/contracts/repair-plan.d.ts +728 -0
  150. package/dist/_types/contracts/repair-strategy.d.ts +5751 -0
  151. package/dist/_types/contracts/review-intelligence-evidence.d.ts +136 -0
  152. package/dist/_types/contracts/review-intelligence-final-output.d.ts +8705 -0
  153. package/dist/_types/contracts/review-intelligence.d.ts +11543 -0
  154. package/dist/_types/contracts/review1-repair-source.d.ts +452 -0
  155. package/dist/_types/contracts/review1-repair-strategy.d.ts +491 -0
  156. package/dist/_types/contracts/review1-repair.d.ts +36 -0
  157. package/dist/_types/contracts/rough-cut-manifest.d.ts +347 -0
  158. package/dist/_types/contracts/rough-cut-profile.d.ts +37 -0
  159. package/dist/_types/contracts/rough-cut-review.d.ts +12819 -0
  160. package/dist/_types/contracts/rough-cut.d.ts +5862 -0
  161. package/dist/_types/contracts/scene-shot-plan.d.ts +882 -0
  162. package/dist/_types/contracts/sdk-discovery.d.ts +66 -0
  163. package/dist/_types/contracts/shot-direction.d.ts +113 -0
  164. package/dist/_types/contracts/shot-preparation-basis.d.ts +356 -0
  165. package/dist/_types/contracts/shot-preparation.d.ts +2285 -0
  166. package/dist/_types/contracts/shot-sound-instruction.d.ts +58 -0
  167. package/dist/_types/contracts/sound-making-plan.d.ts +1585 -0
  168. package/dist/_types/contracts/source-sound-policy.d.ts +10 -0
  169. package/dist/_types/contracts/source-workspace.d.ts +62 -0
  170. package/dist/_types/contracts/speech.d.ts +424 -0
  171. package/dist/_types/contracts/story.d.ts +98 -0
  172. package/dist/_types/contracts/temporal-evidence-operation.d.ts +379 -0
  173. package/dist/_types/contracts/temporal-evidence-reference.d.ts +18 -0
  174. package/dist/_types/contracts/temporal-evidence.d.ts +248 -0
  175. package/dist/_types/contracts/tenant.d.ts +7 -0
  176. package/dist/_types/contracts/timeline-audio.d.ts +97 -0
  177. package/dist/_types/contracts/timeline-graphics.d.ts +80 -0
  178. package/dist/_types/contracts/timeline-manifest.d.ts +702 -0
  179. package/dist/_types/contracts/timeline-source-sound.d.ts +352 -0
  180. package/dist/_types/contracts/timeline-v2.d.ts +1263 -0
  181. package/dist/_types/contracts/timeline-version-reader.d.ts +2945 -0
  182. package/dist/_types/contracts/timeline-visual-layers.d.ts +1245 -0
  183. package/dist/_types/contracts/timeline.d.ts +4942 -0
  184. package/dist/_types/contracts/transcription.d.ts +80 -0
  185. package/dist/_types/contracts/video-generation.d.ts +643 -0
  186. package/dist/_types/contracts/video-review.d.ts +1871 -0
  187. package/dist/_types/contracts/visual-exploration.d.ts +1586 -0
  188. package/dist/_types/contracts/visual-layer-render.d.ts +2777 -0
  189. package/dist/_types/contracts/visual-layer.d.ts +112 -0
  190. package/dist/_types/contracts/visual-sequence.d.ts +121 -0
  191. package/dist/_types/contracts/writer-proposal.d.ts +268 -0
  192. package/dist/_types/sdk/errors.d.ts +9 -0
  193. package/dist/_types/sdk/local-runtime/device-client.d.ts +77 -0
  194. package/dist/_types/sdk/local-runtime-client.d.ts +932 -0
  195. package/dist/entry.js +2 -0
  196. package/dist/local-management.d.ts +1 -0
  197. package/dist/local-management.js +1 -0
  198. package/dist/local-navigation.d.ts +1 -0
  199. package/dist/local-navigation.js +1 -0
  200. package/dist/native/Bootstrap.ps1 +90 -0
  201. package/dist/native/JobNative.cs +127 -0
  202. package/dist/native/JobRunner.cs +360 -0
  203. package/dist/native/NativeMain.cs +146 -0
  204. package/dist/native/PipeBridge.cs +260 -0
  205. package/dist/native/PrivateAccess.cs +152 -0
  206. package/package.json +33 -3
@@ -0,0 +1,560 @@
1
+ import { z } from "zod";
2
+ export declare const LocalAgentGrantSchema: z.ZodObject<{
3
+ protocol: z.ZodLiteral<"NVS_CODEX_REVIEW_GRANT_V1">;
4
+ binary: z.ZodString;
5
+ binaryDigest: z.ZodString;
6
+ version: z.ZodEnum<{
7
+ "0.164.0": "0.164.0";
8
+ "0.165.0": "0.165.0";
9
+ }>;
10
+ model: z.ZodString;
11
+ reasoningEffort: z.ZodOptional<z.ZodEnum<{
12
+ medium: "medium";
13
+ low: "low";
14
+ high: "high";
15
+ xhigh: "xhigh";
16
+ }>>;
17
+ reviewerLabel: z.ZodString;
18
+ inference: z.ZodLiteral<"REMOTE_OPENAI">;
19
+ remoteUseApproved: z.ZodLiteral<true>;
20
+ imageDisclosureApproved: z.ZodOptional<z.ZodLiteral<true>>;
21
+ projects: z.ZodArray<z.ZodObject<{
22
+ tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
23
+ projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
24
+ }, z.core.$strict>>;
25
+ expiresAt: z.ZodISODateTime;
26
+ }, z.core.$strict>;
27
+ export declare const LocalAgentSnapshotSchema: z.ZodObject<{
28
+ basis: z.ZodObject<{
29
+ scope: z.ZodObject<{
30
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
31
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
32
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
33
+ }, z.core.$strict>;
34
+ contextFingerprint: z.ZodString;
35
+ target: z.ZodObject<{
36
+ kind: z.ZodLiteral<"IMAGE">;
37
+ generationId: z.ZodUUID;
38
+ }, z.core.$strict>;
39
+ }, z.core.$strict>;
40
+ productionRevision: z.ZodInt;
41
+ reviewVersion: z.ZodInt;
42
+ executionClass: z.ZodEnum<{
43
+ LIVE: "LIVE";
44
+ TEST_ONLY: "TEST_ONLY";
45
+ }>;
46
+ media: z.ZodObject<{
47
+ artifactId: z.ZodUUID;
48
+ representationId: z.ZodUUID;
49
+ checksumSha256: z.ZodString;
50
+ }, z.core.$strict>;
51
+ requirements: z.ZodArray<z.ZodObject<{
52
+ intentPath: z.ZodOptional<z.ZodString>;
53
+ key: z.ZodString;
54
+ expected: z.ZodString;
55
+ enforcement: z.ZodEnum<{
56
+ LOCKED: "LOCKED";
57
+ REQUIRED: "REQUIRED";
58
+ PREFERRED: "PREFERRED";
59
+ }>;
60
+ }, z.core.$strict>>;
61
+ image: z.ZodOptional<z.ZodObject<{
62
+ contentType: z.ZodLiteral<"image/png">;
63
+ byteSize: z.ZodInt;
64
+ width: z.ZodInt;
65
+ height: z.ZodInt;
66
+ }, z.core.$strict>>;
67
+ }, z.core.$strict>;
68
+ export declare const LocalAgentProbeSchema: z.ZodObject<{
69
+ configured: z.ZodBoolean;
70
+ available: z.ZodBoolean;
71
+ reason: z.ZodEnum<{
72
+ READY: "READY";
73
+ GRANT_EXPIRED: "GRANT_EXPIRED";
74
+ GRANT_REQUIRED: "GRANT_REQUIRED";
75
+ RUNTIME_UNAVAILABLE: "RUNTIME_UNAVAILABLE";
76
+ }>;
77
+ grantFingerprint: z.ZodNullable<z.ZodString>;
78
+ inference: z.ZodLiteral<"REMOTE_OPENAI">;
79
+ }, z.core.$strict>;
80
+ export declare const LocalAgentPlanSchema: z.ZodObject<{
81
+ protocol: z.ZodLiteral<"NVS_LOCAL_AGENT_REVIEW_V1">;
82
+ id: z.ZodUUID;
83
+ grantFingerprint: z.ZodString;
84
+ snapshot: z.ZodObject<{
85
+ basis: z.ZodObject<{
86
+ scope: z.ZodObject<{
87
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
88
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
89
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
90
+ }, z.core.$strict>;
91
+ contextFingerprint: z.ZodString;
92
+ target: z.ZodObject<{
93
+ kind: z.ZodLiteral<"IMAGE">;
94
+ generationId: z.ZodUUID;
95
+ }, z.core.$strict>;
96
+ }, z.core.$strict>;
97
+ productionRevision: z.ZodInt;
98
+ reviewVersion: z.ZodInt;
99
+ executionClass: z.ZodEnum<{
100
+ LIVE: "LIVE";
101
+ TEST_ONLY: "TEST_ONLY";
102
+ }>;
103
+ media: z.ZodObject<{
104
+ artifactId: z.ZodUUID;
105
+ representationId: z.ZodUUID;
106
+ checksumSha256: z.ZodString;
107
+ }, z.core.$strict>;
108
+ requirements: z.ZodArray<z.ZodObject<{
109
+ intentPath: z.ZodOptional<z.ZodString>;
110
+ key: z.ZodString;
111
+ expected: z.ZodString;
112
+ enforcement: z.ZodEnum<{
113
+ LOCKED: "LOCKED";
114
+ REQUIRED: "REQUIRED";
115
+ PREFERRED: "PREFERRED";
116
+ }>;
117
+ }, z.core.$strict>>;
118
+ image: z.ZodOptional<z.ZodObject<{
119
+ contentType: z.ZodLiteral<"image/png">;
120
+ byteSize: z.ZodInt;
121
+ width: z.ZodInt;
122
+ height: z.ZodInt;
123
+ }, z.core.$strict>>;
124
+ }, z.core.$strict>;
125
+ expiresAt: z.ZodISODateTime;
126
+ fingerprint: z.ZodString;
127
+ }, z.core.$strict>;
128
+ export declare const LocalAgentMetadataAnswerSchema: z.ZodObject<{
129
+ summary: z.ZodString;
130
+ observations: z.ZodArray<z.ZodObject<{
131
+ key: z.ZodString;
132
+ observed: z.ZodString;
133
+ }, z.core.$strict>>;
134
+ }, z.core.$strict>;
135
+ export declare const LocalAgentPixelAnswerSchema: z.ZodObject<{
136
+ summary: z.ZodString;
137
+ imageReadback: z.ZodString;
138
+ observations: z.ZodArray<z.ZodObject<{
139
+ key: z.ZodString;
140
+ status: z.ZodEnum<{
141
+ SATISFIED: "SATISFIED";
142
+ VIOLATED: "VIOLATED";
143
+ NOT_OBSERVABLE: "NOT_OBSERVABLE";
144
+ NOT_APPLICABLE: "NOT_APPLICABLE";
145
+ }>;
146
+ confidence: z.ZodEnum<{
147
+ CLEAR: "CLEAR";
148
+ UNCERTAIN: "UNCERTAIN";
149
+ }>;
150
+ observed: z.ZodString;
151
+ }, z.core.$strict>>;
152
+ }, z.core.$strict>;
153
+ export declare const LocalAgentAnswerSchema: z.ZodUnion<readonly [z.ZodObject<{
154
+ summary: z.ZodString;
155
+ observations: z.ZodArray<z.ZodObject<{
156
+ key: z.ZodString;
157
+ observed: z.ZodString;
158
+ }, z.core.$strict>>;
159
+ }, z.core.$strict>, z.ZodObject<{
160
+ summary: z.ZodString;
161
+ imageReadback: z.ZodString;
162
+ observations: z.ZodArray<z.ZodObject<{
163
+ key: z.ZodString;
164
+ status: z.ZodEnum<{
165
+ SATISFIED: "SATISFIED";
166
+ VIOLATED: "VIOLATED";
167
+ NOT_OBSERVABLE: "NOT_OBSERVABLE";
168
+ NOT_APPLICABLE: "NOT_APPLICABLE";
169
+ }>;
170
+ confidence: z.ZodEnum<{
171
+ CLEAR: "CLEAR";
172
+ UNCERTAIN: "UNCERTAIN";
173
+ }>;
174
+ observed: z.ZodString;
175
+ }, z.core.$strict>>;
176
+ }, z.core.$strict>]>;
177
+ export declare const LocalAgentImageReceiptSchema: z.ZodObject<{
178
+ protocol: z.ZodLiteral<"NVS_LOCAL_AGENT_IMAGE_V1">;
179
+ draftId: z.ZodUUID;
180
+ media: z.ZodObject<{
181
+ artifactId: z.ZodUUID;
182
+ representationId: z.ZodUUID;
183
+ checksumSha256: z.ZodString;
184
+ }, z.core.$strict>;
185
+ byteSize: z.ZodInt;
186
+ contentType: z.ZodLiteral<"image/png">;
187
+ width: z.ZodInt;
188
+ height: z.ZodInt;
189
+ }, z.core.$strict>;
190
+ export declare const LocalAgentReviewViewSchema: z.ZodObject<{
191
+ plan: z.ZodObject<{
192
+ protocol: z.ZodLiteral<"NVS_LOCAL_AGENT_REVIEW_V1">;
193
+ id: z.ZodUUID;
194
+ grantFingerprint: z.ZodString;
195
+ snapshot: z.ZodObject<{
196
+ basis: z.ZodObject<{
197
+ scope: z.ZodObject<{
198
+ tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
199
+ projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
200
+ productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
201
+ }, z.core.$strict>;
202
+ contextFingerprint: z.ZodString;
203
+ target: z.ZodObject<{
204
+ kind: z.ZodLiteral<"IMAGE">;
205
+ generationId: z.ZodUUID;
206
+ }, z.core.$strict>;
207
+ }, z.core.$strict>;
208
+ productionRevision: z.ZodInt;
209
+ reviewVersion: z.ZodInt;
210
+ executionClass: z.ZodEnum<{
211
+ LIVE: "LIVE";
212
+ TEST_ONLY: "TEST_ONLY";
213
+ }>;
214
+ media: z.ZodObject<{
215
+ artifactId: z.ZodUUID;
216
+ representationId: z.ZodUUID;
217
+ checksumSha256: z.ZodString;
218
+ }, z.core.$strict>;
219
+ requirements: z.ZodArray<z.ZodObject<{
220
+ intentPath: z.ZodOptional<z.ZodString>;
221
+ key: z.ZodString;
222
+ expected: z.ZodString;
223
+ enforcement: z.ZodEnum<{
224
+ LOCKED: "LOCKED";
225
+ REQUIRED: "REQUIRED";
226
+ PREFERRED: "PREFERRED";
227
+ }>;
228
+ }, z.core.$strict>>;
229
+ image: z.ZodOptional<z.ZodObject<{
230
+ contentType: z.ZodLiteral<"image/png">;
231
+ byteSize: z.ZodInt;
232
+ width: z.ZodInt;
233
+ height: z.ZodInt;
234
+ }, z.core.$strict>>;
235
+ }, z.core.$strict>;
236
+ expiresAt: z.ZodISODateTime;
237
+ fingerprint: z.ZodString;
238
+ }, z.core.$strict>;
239
+ revision: z.ZodInt;
240
+ phase: z.ZodEnum<{
241
+ RUNNING: "RUNNING";
242
+ UNKNOWN: "UNKNOWN";
243
+ PREPARED: "PREPARED";
244
+ RESULT_PENDING: "RESULT_PENDING";
245
+ }>;
246
+ answer: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
247
+ summary: z.ZodString;
248
+ observations: z.ZodArray<z.ZodObject<{
249
+ key: z.ZodString;
250
+ observed: z.ZodString;
251
+ }, z.core.$strict>>;
252
+ }, z.core.$strict>, z.ZodObject<{
253
+ summary: z.ZodString;
254
+ imageReadback: z.ZodString;
255
+ observations: z.ZodArray<z.ZodObject<{
256
+ key: z.ZodString;
257
+ status: z.ZodEnum<{
258
+ SATISFIED: "SATISFIED";
259
+ VIOLATED: "VIOLATED";
260
+ NOT_OBSERVABLE: "NOT_OBSERVABLE";
261
+ NOT_APPLICABLE: "NOT_APPLICABLE";
262
+ }>;
263
+ confidence: z.ZodEnum<{
264
+ CLEAR: "CLEAR";
265
+ UNCERTAIN: "UNCERTAIN";
266
+ }>;
267
+ observed: z.ZodString;
268
+ }, z.core.$strict>>;
269
+ }, z.core.$strict>]>>;
270
+ imageReceipt: z.ZodOptional<z.ZodObject<{
271
+ protocol: z.ZodLiteral<"NVS_LOCAL_AGENT_IMAGE_V1">;
272
+ draftId: z.ZodUUID;
273
+ media: z.ZodObject<{
274
+ artifactId: z.ZodUUID;
275
+ representationId: z.ZodUUID;
276
+ checksumSha256: z.ZodString;
277
+ }, z.core.$strict>;
278
+ byteSize: z.ZodInt;
279
+ contentType: z.ZodLiteral<"image/png">;
280
+ width: z.ZodInt;
281
+ height: z.ZodInt;
282
+ }, z.core.$strict>>;
283
+ provenance: z.ZodObject<{
284
+ adapter: z.ZodLiteral<"CODEX_METADATA_V1">;
285
+ binaryDigest: z.ZodString;
286
+ version: z.ZodEnum<{
287
+ "0.164.0": "0.164.0";
288
+ "0.165.0": "0.165.0";
289
+ }>;
290
+ model: z.ZodString;
291
+ reasoningEffort: z.ZodOptional<z.ZodEnum<{
292
+ medium: "medium";
293
+ low: "low";
294
+ high: "high";
295
+ xhigh: "xhigh";
296
+ }>>;
297
+ reviewerLabel: z.ZodString;
298
+ inference: z.ZodLiteral<"REMOTE_OPENAI">;
299
+ evidence: z.ZodEnum<{
300
+ IMAGE_PIXELS: "IMAGE_PIXELS";
301
+ METADATA_ONLY: "METADATA_ONLY";
302
+ }>;
303
+ }, z.core.$strict>;
304
+ }, z.core.$strict>;
305
+ export type LocalAgentGrant = z.infer<typeof LocalAgentGrantSchema>;
306
+ export type LocalAgentSnapshot = z.infer<typeof LocalAgentSnapshotSchema>;
307
+ export type LocalAgentAnswer = z.infer<typeof LocalAgentAnswerSchema>;
308
+ export type LocalAgentReviewView = z.infer<typeof LocalAgentReviewViewSchema>;
309
+ export declare function localAgentSnapshotFromContext(raw: unknown, includeImage?: boolean): {
310
+ basis: {
311
+ scope: {
312
+ tenantId: string & z.core.$brand<"TenantId">;
313
+ projectId: string & z.core.$brand<"ProjectId">;
314
+ productionId: string & z.core.$brand<"ProductionId">;
315
+ };
316
+ contextFingerprint: string;
317
+ target: {
318
+ kind: "IMAGE";
319
+ generationId: string;
320
+ };
321
+ };
322
+ productionRevision: number;
323
+ reviewVersion: number;
324
+ executionClass: "LIVE" | "TEST_ONLY";
325
+ media: {
326
+ artifactId: string;
327
+ representationId: string;
328
+ checksumSha256: string;
329
+ };
330
+ requirements: {
331
+ key: string;
332
+ expected: string;
333
+ enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
334
+ intentPath?: string | undefined;
335
+ }[];
336
+ image?: {
337
+ contentType: "image/png";
338
+ byteSize: number;
339
+ width: number;
340
+ height: number;
341
+ } | undefined;
342
+ };
343
+ export declare function localAgentNativeProposal(raw: unknown): {
344
+ basis: {
345
+ scope: {
346
+ tenantId: string & z.core.$brand<"TenantId">;
347
+ projectId: string & z.core.$brand<"ProjectId">;
348
+ productionId: string & z.core.$brand<"ProductionId">;
349
+ };
350
+ target: {
351
+ kind: "IMAGE";
352
+ generationId: string;
353
+ } | {
354
+ kind: "VIDEO";
355
+ generationId: string;
356
+ } | {
357
+ kind: "ROUGH_CUT";
358
+ renderId: string;
359
+ } | {
360
+ kind: "PROGRAMMATIC";
361
+ renderId: string;
362
+ };
363
+ contextFingerprint: string;
364
+ };
365
+ proposal: {
366
+ origin: {
367
+ kind: "EXTERNAL_AGENT_HOST";
368
+ label: string;
369
+ };
370
+ summary: string;
371
+ evidence: ({
372
+ kind: "METADATA";
373
+ id: string;
374
+ label: string;
375
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
376
+ media: {
377
+ artifactId: string;
378
+ representationId: string;
379
+ checksumSha256: string;
380
+ };
381
+ } | {
382
+ kind: "IMAGE_PIXELS";
383
+ id: string;
384
+ label: string;
385
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
386
+ media: {
387
+ artifactId: string;
388
+ representationId: string;
389
+ checksumSha256: string;
390
+ };
391
+ } | {
392
+ kind: "REGISTERED_TEMPORAL_FRAMES";
393
+ reference: {
394
+ evidenceId: string;
395
+ frameSetArtifactId: string;
396
+ contactSheetArtifactId: string;
397
+ manifestRepresentationId: string;
398
+ sheetRepresentationId: string;
399
+ planFingerprint: string;
400
+ sourceArtifactId: string;
401
+ sourceRepresentationId: string;
402
+ sourceChecksumSha256: string;
403
+ timestampsMs: number[];
404
+ executionClass: "LIVE" | "TEST_ONLY";
405
+ };
406
+ id: string;
407
+ label: string;
408
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
409
+ media: {
410
+ artifactId: string;
411
+ representationId: string;
412
+ checksumSha256: string;
413
+ };
414
+ } | {
415
+ kind: "VIDEO_PLAYBACK";
416
+ coverage: {
417
+ startMs: number;
418
+ endMs: number;
419
+ }[];
420
+ id: string;
421
+ label: string;
422
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
423
+ media: {
424
+ artifactId: string;
425
+ representationId: string;
426
+ checksumSha256: string;
427
+ };
428
+ } | {
429
+ kind: "AUDIO_LISTENING";
430
+ coverage: {
431
+ startMs: number;
432
+ endMs: number;
433
+ }[];
434
+ id: string;
435
+ label: string;
436
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
437
+ media: {
438
+ artifactId: string;
439
+ representationId: string;
440
+ checksumSha256: string;
441
+ };
442
+ } | {
443
+ kind: "VIDEO_WITH_AUDIO_PLAYBACK";
444
+ coverage: {
445
+ startMs: number;
446
+ endMs: number;
447
+ }[];
448
+ id: string;
449
+ label: string;
450
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
451
+ media: {
452
+ artifactId: string;
453
+ representationId: string;
454
+ checksumSha256: string;
455
+ };
456
+ } | {
457
+ kind: "VIDEO_FRAMES";
458
+ timestampsMs: number[];
459
+ id: string;
460
+ label: string;
461
+ producer: "HUMAN" | "EXTERNAL_AGENT_HOST" | "VLM";
462
+ media: {
463
+ artifactId: string;
464
+ representationId: string;
465
+ checksumSha256: string;
466
+ };
467
+ })[];
468
+ review: {
469
+ kind: "IMAGE";
470
+ observations: {
471
+ key: string;
472
+ status: "SATISFIED" | "VIOLATED" | "NOT_OBSERVABLE" | "NOT_APPLICABLE";
473
+ confidence: "CLEAR" | "UNCERTAIN";
474
+ observed: string;
475
+ evidenceIds: string[];
476
+ region?: {
477
+ x: number;
478
+ y: number;
479
+ width: number;
480
+ height: number;
481
+ } | undefined;
482
+ }[];
483
+ } | {
484
+ kind: "VIDEO";
485
+ observations: {
486
+ key: string;
487
+ status: "SATISFIED" | "VIOLATED" | "NOT_OBSERVABLE" | "NOT_APPLICABLE";
488
+ confidence: "CLEAR" | "UNCERTAIN";
489
+ observed: string;
490
+ evidenceIds: string[];
491
+ listeningEvidenceIds?: string[] | undefined;
492
+ continuitySamples?: {
493
+ atMs: number;
494
+ state?: string | undefined;
495
+ storyTimeMs?: number | undefined;
496
+ }[] | undefined;
497
+ temporalEvidenceIds?: string[] | undefined;
498
+ interval?: {
499
+ startMs: number;
500
+ endMs: number;
501
+ } | undefined;
502
+ }[];
503
+ } | {
504
+ kind: "PROGRAMMATIC";
505
+ observations: {
506
+ key: string;
507
+ status: "SATISFIED" | "VIOLATED" | "NOT_OBSERVABLE" | "NOT_APPLICABLE";
508
+ confidence: "CLEAR" | "UNCERTAIN";
509
+ observed: string;
510
+ evidenceIds: string[];
511
+ listeningEvidenceIds?: string[] | undefined;
512
+ continuitySamples?: {
513
+ atMs: number;
514
+ state?: string | undefined;
515
+ storyTimeMs?: number | undefined;
516
+ }[] | undefined;
517
+ temporalEvidenceIds?: string[] | undefined;
518
+ interval?: {
519
+ startMs: number;
520
+ endMs: number;
521
+ } | undefined;
522
+ }[];
523
+ } | {
524
+ kind: "ROUGH_CUT";
525
+ observations: {
526
+ key: string;
527
+ status: "SATISFIED" | "VIOLATED" | "NOT_OBSERVABLE" | "NOT_APPLICABLE";
528
+ confidence: "CLEAR" | "UNCERTAIN";
529
+ observed: string;
530
+ interval: {
531
+ startMs: number;
532
+ endMs: number;
533
+ };
534
+ evidenceIds: string[];
535
+ listeningEvidenceIds?: string[] | undefined;
536
+ continuitySamples?: {
537
+ atMs: number;
538
+ state?: string | undefined;
539
+ storyTimeMs?: number | undefined;
540
+ }[] | undefined;
541
+ temporalEvidenceIds?: string[] | undefined;
542
+ location?: {
543
+ interval: {
544
+ startMs: number;
545
+ endMs: number;
546
+ };
547
+ shotIds: string[];
548
+ } | undefined;
549
+ }[];
550
+ inspection: {
551
+ actor: "HUMAN" | "EXTERNAL_AGENT";
552
+ method: "FULL_TEMPORAL_INSPECTION";
553
+ coverage: {
554
+ startMs: number;
555
+ endMs: number;
556
+ }[];
557
+ };
558
+ };
559
+ };
560
+ };
@@ -0,0 +1,2 @@
1
+ /** Finite JSON transport identity; object keys sort lexicographically, arrays retain order. */
2
+ export declare function canonicalLocalJson(value: unknown): string;
@@ -0,0 +1,48 @@
1
+ import { z } from "zod";
2
+ export declare const LocalIdSchema: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
3
+ export declare const LocalDigestSchema: z.ZodString;
4
+ export declare const LocalRevisionSchema: z.ZodInt;
5
+ export declare const LocalTimeSchema: z.ZodISODateTime;
6
+ export declare const LocalPackageVersionSchema: z.ZodString;
7
+ export declare const LocalProjectScopeSchema: z.ZodObject<{
8
+ tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
9
+ projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
10
+ }, z.core.$strict>;
11
+ export declare const LocalWorkScopeSchema: z.ZodObject<{
12
+ tenantId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
13
+ projectId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
14
+ productionId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
15
+ runtimeJobId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
16
+ }, z.core.$strict>;
17
+ export declare const LocalPlacementPolicySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
18
+ mode: z.ZodLiteral<"local-only">;
19
+ deviceId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
20
+ }, z.core.$strict>, z.ZodObject<{
21
+ mode: z.ZodLiteral<"local-preferred">;
22
+ deviceId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
23
+ }, z.core.$strict>, z.ZodObject<{
24
+ mode: z.ZodLiteral<"cloud-only">;
25
+ }, z.core.$strict>], "mode">;
26
+ export declare const LocalPlacementAvailabilitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
27
+ status: z.ZodLiteral<"AVAILABLE">;
28
+ deviceId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
29
+ }, z.core.$strict>, z.ZodObject<{
30
+ status: z.ZodLiteral<"UNAVAILABLE">;
31
+ deviceId: z.ZodPipe<z.ZodUUID, z.ZodTransform<string, string>>;
32
+ reason: z.ZodEnum<{
33
+ OFFLINE: "OFFLINE";
34
+ UNQUALIFIED: "UNQUALIFIED";
35
+ BUSY: "BUSY";
36
+ }>;
37
+ }, z.core.$strict>, z.ZodObject<{
38
+ status: z.ZodLiteral<"DENIED">;
39
+ reason: z.ZodEnum<{
40
+ INVALID_INPUT: "INVALID_INPUT";
41
+ FORBIDDEN: "FORBIDDEN";
42
+ APPROVAL_REQUIRED: "APPROVAL_REQUIRED";
43
+ }>;
44
+ }, z.core.$strict>], "status">;
45
+ export type LocalProjectScope = z.infer<typeof LocalProjectScopeSchema>;
46
+ export type LocalWorkScope = z.infer<typeof LocalWorkScopeSchema>;
47
+ export type LocalPlacementPolicy = z.infer<typeof LocalPlacementPolicySchema>;
48
+ export type LocalPlacementAvailability = z.infer<typeof LocalPlacementAvailabilitySchema>;