@nativestudio/sdk 0.3.0-rc.6 → 0.3.0-rc.7

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 (150) hide show
  1. package/COMPATIBILITY.json +4 -4
  2. package/LICENSE +201 -21
  3. package/dist/_chunks/{chunk-7YCEMDNZ.js → chunk-CJEQNH37.js} +1 -1
  4. package/dist/_chunks/chunk-FMJ2J6DY.js +1 -0
  5. package/dist/_chunks/chunk-OXFBQBNS.js +1 -0
  6. package/dist/_chunks/chunk-VPYAXWXY.js +1 -0
  7. package/dist/_chunks/chunk-YZITP3AM.js +1 -0
  8. package/dist/_types/contracts/artifact-discovery.d.ts +76 -4
  9. package/dist/_types/contracts/audio.d.ts +4 -0
  10. package/dist/_types/contracts/composition-authoring.d.ts +8 -8
  11. package/dist/_types/contracts/composition-frame-render.d.ts +4 -4
  12. package/dist/_types/contracts/composition-render-base.d.ts +5 -4
  13. package/dist/_types/contracts/composition-render.d.ts +8 -8
  14. package/dist/_types/contracts/composition-repair.d.ts +10 -10
  15. package/dist/_types/contracts/composition-source-review.d.ts +12 -12
  16. package/dist/_types/contracts/delivery-manifest.d.ts +25 -11765
  17. package/dist/_types/contracts/delivery-operations.d.ts +51 -3921
  18. package/dist/_types/contracts/delivery-summary.d.ts +2 -2
  19. package/dist/_types/contracts/delivery-validation.d.ts +23 -0
  20. package/dist/_types/contracts/device-render.d.ts +67 -0
  21. package/dist/_types/contracts/editor-intelligence.d.ts +114 -2491
  22. package/dist/_types/contracts/exploration-recommendation.d.ts +263 -11655
  23. package/dist/_types/contracts/external-agent-access.d.ts +9 -3
  24. package/dist/_types/contracts/final-ready.d.ts +22 -22
  25. package/dist/_types/contracts/final-render.d.ts +1569 -6949
  26. package/dist/_types/contracts/human-identity.d.ts +13 -0
  27. package/dist/_types/contracts/index.d.ts +3 -0
  28. package/dist/_types/contracts/interface/media-output.d.ts +28 -0
  29. package/dist/_types/contracts/interface/production-snapshot.d.ts +15 -193
  30. package/dist/_types/contracts/keyframe-generation.d.ts +29 -0
  31. package/dist/_types/contracts/local-execution/agent-evidence.d.ts +2 -2
  32. package/dist/_types/contracts/local-execution/agent-grant.d.ts +2 -2
  33. package/dist/_types/contracts/local-execution/agent-review.d.ts +30 -285
  34. package/dist/_types/contracts/local-execution/common.d.ts +12 -11
  35. package/dist/_types/contracts/local-execution/completion.d.ts +41 -45
  36. package/dist/_types/contracts/local-execution/device-authority.d.ts +31 -0
  37. package/dist/_types/contracts/local-execution/device-inventory.d.ts +76 -0
  38. package/dist/_types/contracts/local-execution/device-workspace.d.ts +11 -0
  39. package/dist/_types/contracts/local-execution/device.d.ts +19 -59
  40. package/dist/_types/contracts/local-execution/external-generation.d.ts +199 -0
  41. package/dist/_types/contracts/local-execution/index.d.ts +19 -0
  42. package/dist/_types/contracts/local-execution/ipc.d.ts +1517 -711
  43. package/dist/_types/contracts/local-execution/library-command.d.ts +620 -0
  44. package/dist/_types/contracts/local-execution/library-result.d.ts +408 -0
  45. package/dist/_types/contracts/local-execution/library.d.ts +873 -0
  46. package/dist/_types/contracts/local-execution/lifecycle.d.ts +21 -5
  47. package/dist/_types/contracts/local-execution/local-navigation.d.ts +161 -44
  48. package/dist/_types/contracts/local-execution/management.d.ts +214 -208
  49. package/dist/_types/contracts/local-execution/media-recipe.d.ts +5 -1
  50. package/dist/_types/contracts/local-execution/media-validation-request.d.ts +232 -0
  51. package/dist/_types/contracts/local-execution/media-validation.d.ts +262 -0
  52. package/dist/_types/contracts/local-execution/object-transfer.d.ts +155 -0
  53. package/dist/_types/contracts/local-execution/preview.d.ts +120 -10988
  54. package/dist/_types/contracts/local-execution/processor-capability.d.ts +39 -0
  55. package/dist/_types/contracts/local-execution/processor-direct.d.ts +290 -0
  56. package/dist/_types/contracts/local-execution/processor-recipes.d.ts +1122 -0
  57. package/dist/_types/contracts/local-execution/processor.d.ts +6173 -0
  58. package/dist/_types/contracts/local-execution/project-source-direct.d.ts +201 -0
  59. package/dist/_types/contracts/local-execution/qwen-tts.d.ts +31 -0
  60. package/dist/_types/contracts/local-execution/recognition.d.ts +170 -0
  61. package/dist/_types/contracts/local-execution/speech.d.ts +95 -0
  62. package/dist/_types/contracts/local-execution/tool-selection.d.ts +45 -5
  63. package/dist/_types/contracts/local-execution/whisper.d.ts +24 -0
  64. package/dist/_types/contracts/local-execution/work.d.ts +69 -10741
  65. package/dist/_types/contracts/local-execution/workspace.d.ts +5 -0
  66. package/dist/_types/contracts/media-category.d.ts +11 -0
  67. package/dist/_types/contracts/media-observation.d.ts +929 -8
  68. package/dist/_types/contracts/observation-profile.d.ts +3 -3
  69. package/dist/_types/contracts/programmatic-composition.d.ts +24 -24
  70. package/dist/_types/contracts/programmatic-exploration.d.ts +348 -6009
  71. package/dist/_types/contracts/provider-catalog.d.ts +3 -3
  72. package/dist/_types/contracts/provider-models.d.ts +16 -8
  73. package/dist/_types/contracts/provider.d.ts +66 -1
  74. package/dist/_types/contracts/reference-preview.d.ts +19 -0
  75. package/dist/_types/contracts/repair-lifecycle.d.ts +52 -384
  76. package/dist/_types/contracts/repair-plan.d.ts +16 -98
  77. package/dist/_types/contracts/repair-strategy.d.ts +162 -4505
  78. package/dist/_types/contracts/review-intelligence-final-output.d.ts +317 -8163
  79. package/dist/_types/contracts/review-intelligence.d.ts +450 -11468
  80. package/dist/_types/contracts/rough-cut-manifest.d.ts +1 -0
  81. package/dist/_types/contracts/rough-cut-review.d.ts +134 -12566
  82. package/dist/_types/contracts/rough-cut.d.ts +1076 -5731
  83. package/dist/_types/contracts/sound-making-plan.d.ts +3 -2
  84. package/dist/_types/contracts/speech-cost.d.ts +81 -0
  85. package/dist/_types/contracts/speech.d.ts +149 -0
  86. package/dist/_types/contracts/temporal-evidence-operation.d.ts +1 -0
  87. package/dist/_types/contracts/timeline-audio.d.ts +1 -0
  88. package/dist/_types/contracts/timeline-manifest.d.ts +2 -0
  89. package/dist/_types/contracts/timeline-source-sound.d.ts +1 -0
  90. package/dist/_types/contracts/timeline-v2.d.ts +4 -0
  91. package/dist/_types/contracts/timeline-version-reader.d.ts +10 -0
  92. package/dist/_types/contracts/timeline-visual-layers.d.ts +4 -0
  93. package/dist/_types/contracts/timeline.d.ts +50 -4850
  94. package/dist/_types/contracts/transcription.d.ts +1 -1
  95. package/dist/_types/contracts/video-generation.d.ts +33 -0
  96. package/dist/_types/contracts/visual-layer-render.d.ts +37 -6
  97. package/dist/_types/contracts/visual-sequence.d.ts +22 -0
  98. package/dist/_types/contracts/workspace.d.ts +22 -0
  99. package/dist/_types/sdk/catalog/assembly.d.ts +26 -37664
  100. package/dist/_types/sdk/catalog/audio-caption.d.ts +10 -2
  101. package/dist/_types/sdk/catalog/canonical-repair.d.ts +114 -114
  102. package/dist/_types/sdk/catalog/carriers.d.ts +31 -0
  103. package/dist/_types/sdk/catalog/composition-source.d.ts +12 -12
  104. package/dist/_types/sdk/catalog/composition.d.ts +17 -2813
  105. package/dist/_types/sdk/catalog/core.d.ts +112 -3
  106. package/dist/_types/sdk/catalog/delivery.d.ts +12 -14167
  107. package/dist/_types/sdk/catalog/device-library.d.ts +992 -0
  108. package/dist/_types/sdk/catalog/device-management.d.ts +462 -0
  109. package/dist/_types/sdk/catalog/discovery.d.ts +12 -4
  110. package/dist/_types/sdk/catalog/editor.d.ts +23 -6538
  111. package/dist/_types/sdk/catalog/generation.d.ts +276 -0
  112. package/dist/_types/sdk/catalog/imported-visual.d.ts +229 -30
  113. package/dist/_types/sdk/catalog/mcp.d.ts +30 -0
  114. package/dist/_types/sdk/catalog/media-descriptors.d.ts +136 -11
  115. package/dist/_types/sdk/catalog/media-observation.d.ts +1029 -12
  116. package/dist/_types/sdk/catalog/programmatic-exploration.d.ts +327 -9853
  117. package/dist/_types/sdk/catalog/provider.d.ts +58 -20
  118. package/dist/_types/sdk/catalog/reference-preview.d.ts +30 -30
  119. package/dist/_types/sdk/catalog/repair-strategy.d.ts +180 -8914
  120. package/dist/_types/sdk/catalog/reviewer.d.ts +276 -23131
  121. package/dist/_types/sdk/catalog/shot-preparation.d.ts +51 -2972
  122. package/dist/_types/sdk/catalog/sound-making-plan.d.ts +6 -1776
  123. package/dist/_types/sdk/catalog/source-sync.d.ts +2 -0
  124. package/dist/_types/sdk/catalog/spec.d.ts +10 -2
  125. package/dist/_types/sdk/catalog/speech.d.ts +398 -0
  126. package/dist/_types/sdk/catalog/temporal-evidence.d.ts +2 -0
  127. package/dist/_types/sdk/catalog/visual-exploration.d.ts +43 -43
  128. package/dist/_types/sdk/client.d.ts +22 -3
  129. package/dist/_types/sdk/device-renders.d.ts +3257 -21
  130. package/dist/_types/sdk/direct-source.d.ts +147 -0
  131. package/dist/_types/sdk/errors.d.ts +1 -1
  132. package/dist/_types/sdk/image-media.d.ts +2 -2
  133. package/dist/_types/sdk/immutable-media.d.ts +24 -0
  134. package/dist/_types/sdk/index.d.ts +7 -0
  135. package/dist/_types/sdk/local-runtime/device-client.d.ts +7 -33
  136. package/dist/_types/sdk/local-runtime/library.d.ts +268 -0
  137. package/dist/_types/sdk/local-runtime/workspace.d.ts +9 -4
  138. package/dist/_types/sdk/local-runtime-client.d.ts +477 -32
  139. package/dist/_types/sdk/mcp-image.d.ts +4 -4
  140. package/dist/_types/sdk/media.d.ts +6 -6
  141. package/dist/account.js +1 -1
  142. package/dist/index.d.ts +2 -2
  143. package/dist/index.js +1 -1
  144. package/dist/local-runtime.js +1 -1
  145. package/dist/runtime-authority.js +1 -1
  146. package/package.json +2 -8
  147. package/README.md +0 -95
  148. package/dist/_chunks/chunk-4M3AGNTZ.js +0 -1
  149. package/dist/_chunks/chunk-GLD5WP6Z.js +0 -1
  150. package/dist/_chunks/chunk-NSS2BKVM.js +0 -1
@@ -499,6 +499,7 @@ export declare const sourceSyncOperations: {
499
499
  expectedProductionRevision: number;
500
500
  expectedVersion: number;
501
501
  idempotencyKey: string;
502
+ deviceId?: string | undefined;
502
503
  }, {
503
504
  tenantId: string;
504
505
  productionId: string;
@@ -506,6 +507,7 @@ export declare const sourceSyncOperations: {
506
507
  expectedProductionRevision: number;
507
508
  expectedVersion: number;
508
509
  idempotencyKey: string;
510
+ deviceId?: string | undefined;
509
511
  }, {
510
512
  requestId: string;
511
513
  runtimeJobId: string;
@@ -6,17 +6,25 @@ export interface OperationSpec<Input, ParsedInput, Output, RawOutput> {
6
6
  readonly request: ((value: ParsedInput) => HttpRequest) | null;
7
7
  readonly identity: readonly (readonly [string, string, "SUCCESS"?])[];
8
8
  readonly readOnly: boolean | undefined;
9
- readonly expectedPath: ((value: ParsedInput) => string) | undefined;
9
+ readonly expectedPath: ((value: ParsedInput, result: Output) => string) | undefined;
10
10
  readonly identityWhenPresent: readonly (readonly [string, string])[];
11
11
  }
12
12
  export interface HttpOperationSpec<Input, ParsedInput, Output, RawOutput> extends OperationSpec<Input, ParsedInput, Output, RawOutput> {
13
13
  readonly request: (value: ParsedInput) => HttpRequest;
14
14
  readonly expectedPath: undefined;
15
15
  }
16
+ /** 目录声明引用原 schema,避免发布时反复内联同一大型 DTO;输入输出仍由原合同推导。 */
17
+ export type SchemaHttpOperation<I extends z.ZodType, O extends z.ZodType> = HttpOperationSpec<z.input<I>, z.output<I>, z.output<O>, z.input<O>>;
16
18
  export interface McpOperationSpec<Input, ParsedInput, Output, RawOutput> extends OperationSpec<Input, ParsedInput, Output, RawOutput> {
17
19
  readonly request: null;
18
20
  readonly readOnly: boolean;
19
21
  }
22
+ /** HTTP 描述查询保留原 MCP 的固定下载路径核验,不扩大普通请求的类型边界。 */
23
+ export interface HttpDescriptorOperationSpec<I, P, O, R> extends OperationSpec<I, P, O, R> {
24
+ readonly request: (value: P) => HttpRequest;
25
+ readonly expectedPath: (input: P, result: O) => string;
26
+ }
27
+ export declare function descriptorOperation<I extends z.ZodType, O extends z.ZodType>(input: I, output: O, request: (value: z.output<I>) => HttpRequest, expectedPath: (input: z.output<I>, result: z.output<O>) => string): HttpDescriptorOperationSpec<z.input<I>, z.output<I>, z.output<O>, z.input<O>>;
20
28
  export declare function operation<I extends z.ZodType, O extends z.ZodType>(input: I, output: O, request: (value: z.output<I>) => HttpRequest, identity?: readonly (readonly [
21
29
  inputField: string,
22
30
  outputPath: string,
@@ -34,4 +42,4 @@ export declare function pageQuery(input: {
34
42
  next: string | undefined;
35
43
  };
36
44
  /** Explicit native MCP-only owner surface; HTTP clients reject before any network request. */
37
- export declare function mcpOperation<I extends z.ZodType, O extends z.ZodType>(input: I, output: O, readOnly: boolean, identity?: readonly (readonly [string, string, "SUCCESS"?])[], expectedPath?: (input: z.output<I>) => string): McpOperationSpec<z.input<I>, z.output<I>, z.output<O>, z.input<O>>;
45
+ export declare function mcpOperation<I extends z.ZodType, O extends z.ZodType>(input: I, output: O, readOnly: boolean, identity?: readonly (readonly [string, string, "SUCCESS"?])[], expectedPath?: (input: z.output<I>, result: z.output<O>) => string): McpOperationSpec<z.input<I>, z.output<I>, z.output<O>, z.input<O>>;
@@ -1,5 +1,401 @@
1
1
  import { z } from "zod";
2
2
  export declare const speechOperations: {
3
+ readonly "speech.device.quote": import("./spec.js").HttpOperationSpec<{
4
+ tenantId: string;
5
+ productionId: string;
6
+ expectedProductionRevision: number;
7
+ expectedAudioVersion: number;
8
+ expectedModelProfileVersion: number;
9
+ idempotencyKey: string;
10
+ selection: {
11
+ connectionId: string;
12
+ modelProfileId: string;
13
+ };
14
+ text: string;
15
+ voice: string;
16
+ soundCue?: {
17
+ soundPlanVersionId: string;
18
+ cueId: string;
19
+ } | undefined;
20
+ parameters?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
21
+ }, {
22
+ tenantId: string & z.core.$brand<"TenantId">;
23
+ productionId: string & z.core.$brand<"ProductionId">;
24
+ expectedProductionRevision: number;
25
+ expectedAudioVersion: number;
26
+ expectedModelProfileVersion: number;
27
+ idempotencyKey: string;
28
+ selection: {
29
+ connectionId: string & z.core.$brand<"ProviderConnectionId">;
30
+ modelProfileId: string;
31
+ };
32
+ text: string;
33
+ voice: string;
34
+ parameters: Record<string, string | number | boolean | string[] | Record<string, string>>;
35
+ soundCue?: {
36
+ soundPlanVersionId: string;
37
+ cueId: string;
38
+ } | undefined;
39
+ }, {
40
+ workload: "SPEECH_SYNTHESIS";
41
+ currency: "USD";
42
+ projectId: string & z.core.$brand<"ProjectId">;
43
+ selection: {
44
+ connectionId: string & z.core.$brand<"ProviderConnectionId">;
45
+ modelProfileId: string;
46
+ };
47
+ expectedExecution: {
48
+ connectionVersion: number;
49
+ modelProfileVersion: number;
50
+ quoteValidUntil: string;
51
+ credentialVersion: number;
52
+ };
53
+ intentFingerprint: string;
54
+ textCharacters: number;
55
+ billableCharactersUpperBound: number;
56
+ upperBoundMicros: number;
57
+ upperBoundMicrosPerMillionCharacters: number;
58
+ ruleId: string;
59
+ sourceUrl: string;
60
+ } | null, {
61
+ workload: "SPEECH_SYNTHESIS";
62
+ currency: "USD";
63
+ projectId: string;
64
+ selection: {
65
+ connectionId: string;
66
+ modelProfileId: string;
67
+ };
68
+ expectedExecution: {
69
+ connectionVersion: number;
70
+ modelProfileVersion: number;
71
+ quoteValidUntil: string;
72
+ credentialVersion: number;
73
+ };
74
+ intentFingerprint: string;
75
+ textCharacters: number;
76
+ billableCharactersUpperBound: number;
77
+ upperBoundMicros: number;
78
+ upperBoundMicrosPerMillionCharacters: number;
79
+ ruleId: string;
80
+ sourceUrl: string;
81
+ } | null>;
82
+ readonly "speech.device.start": import("./spec.js").HttpOperationSpec<{
83
+ tenantId: string;
84
+ productionId: string;
85
+ expectedProductionRevision: number;
86
+ expectedAudioVersion: number;
87
+ expectedModelProfileVersion: number;
88
+ idempotencyKey: string;
89
+ selection: {
90
+ connectionId: string;
91
+ modelProfileId: string;
92
+ };
93
+ text: string;
94
+ voice: string;
95
+ approvedQuote: {
96
+ workload: "SPEECH_SYNTHESIS";
97
+ currency: "USD";
98
+ projectId: string;
99
+ selection: {
100
+ connectionId: string;
101
+ modelProfileId: string;
102
+ };
103
+ expectedExecution: {
104
+ connectionVersion: number;
105
+ modelProfileVersion: number;
106
+ quoteValidUntil: string;
107
+ credentialVersion: number;
108
+ };
109
+ intentFingerprint: string;
110
+ textCharacters: number;
111
+ billableCharactersUpperBound: number;
112
+ upperBoundMicros: number;
113
+ upperBoundMicrosPerMillionCharacters: number;
114
+ ruleId: string;
115
+ sourceUrl: string;
116
+ };
117
+ soundCue?: {
118
+ soundPlanVersionId: string;
119
+ cueId: string;
120
+ } | undefined;
121
+ parameters?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
122
+ deviceId?: string | undefined;
123
+ }, {
124
+ tenantId: string & z.core.$brand<"TenantId">;
125
+ productionId: string & z.core.$brand<"ProductionId">;
126
+ expectedProductionRevision: number;
127
+ expectedAudioVersion: number;
128
+ expectedModelProfileVersion: number;
129
+ idempotencyKey: string;
130
+ selection: {
131
+ connectionId: string & z.core.$brand<"ProviderConnectionId">;
132
+ modelProfileId: string;
133
+ };
134
+ text: string;
135
+ voice: string;
136
+ parameters: Record<string, string | number | boolean | string[] | Record<string, string>>;
137
+ approvedQuote: {
138
+ workload: "SPEECH_SYNTHESIS";
139
+ currency: "USD";
140
+ projectId: string & z.core.$brand<"ProjectId">;
141
+ selection: {
142
+ connectionId: string & z.core.$brand<"ProviderConnectionId">;
143
+ modelProfileId: string;
144
+ };
145
+ expectedExecution: {
146
+ connectionVersion: number;
147
+ modelProfileVersion: number;
148
+ quoteValidUntil: string;
149
+ credentialVersion: number;
150
+ };
151
+ intentFingerprint: string;
152
+ textCharacters: number;
153
+ billableCharactersUpperBound: number;
154
+ upperBoundMicros: number;
155
+ upperBoundMicrosPerMillionCharacters: number;
156
+ ruleId: string;
157
+ sourceUrl: string;
158
+ };
159
+ soundCue?: {
160
+ soundPlanVersionId: string;
161
+ cueId: string;
162
+ } | undefined;
163
+ deviceId?: string | undefined;
164
+ }, {
165
+ semanticStatus: "ACCEPTED";
166
+ generationId: string;
167
+ runtimeJobId: string;
168
+ productionRevision: number;
169
+ executionClass: "LIVE" | "TEST_ONLY";
170
+ }, {
171
+ semanticStatus: "ACCEPTED";
172
+ generationId: string;
173
+ runtimeJobId: string;
174
+ productionRevision: number;
175
+ executionClass: "LIVE" | "TEST_ONLY";
176
+ }>;
177
+ readonly "speech.start-local": import("./spec.js").HttpOperationSpec<{
178
+ tenantId: string;
179
+ idempotencyKey: string;
180
+ productionId: string;
181
+ expectedProductionRevision: number;
182
+ expectedAudioVersion: number;
183
+ deviceExecution: {
184
+ deviceId?: string | undefined;
185
+ };
186
+ text: string;
187
+ rateWordsPerMinute: number;
188
+ }, {
189
+ tenantId: string & z.core.$brand<"TenantId">;
190
+ idempotencyKey: string;
191
+ productionId: string & z.core.$brand<"ProductionId">;
192
+ expectedProductionRevision: number;
193
+ expectedAudioVersion: number;
194
+ deviceExecution: {
195
+ deviceId?: string | undefined;
196
+ };
197
+ text: string;
198
+ rateWordsPerMinute: number;
199
+ }, {
200
+ semanticStatus: "ACCEPTED";
201
+ generationId: string;
202
+ runtimeJobId: string;
203
+ productionRevision: number;
204
+ executionClass: "LIVE";
205
+ deviceExecution: {
206
+ target: "TENANT_DEVICE";
207
+ identity: {
208
+ adapter: "MACOS_SAY_V1";
209
+ voiceId: "com.apple.speech.synthesis.voice.Albert";
210
+ locale: "en-US";
211
+ systemBuild: string;
212
+ saySha256: string;
213
+ sandboxSha256: string;
214
+ synthesizerSha256: string;
215
+ voiceCatalogSha256: string;
216
+ voiceProbeSha256: string;
217
+ };
218
+ deviceId: string;
219
+ };
220
+ }, {
221
+ semanticStatus: "ACCEPTED";
222
+ generationId: string;
223
+ runtimeJobId: string;
224
+ productionRevision: number;
225
+ executionClass: "LIVE";
226
+ deviceExecution: {
227
+ target: "TENANT_DEVICE";
228
+ identity: {
229
+ adapter: "MACOS_SAY_V1";
230
+ voiceId: "com.apple.speech.synthesis.voice.Albert";
231
+ locale: "en-US";
232
+ systemBuild: string;
233
+ saySha256: string;
234
+ sandboxSha256: string;
235
+ synthesizerSha256: string;
236
+ voiceCatalogSha256: string;
237
+ voiceProbeSha256: string;
238
+ };
239
+ deviceId: string;
240
+ };
241
+ }>;
242
+ readonly "speech.get-local": import("./spec.js").HttpOperationSpec<{
243
+ tenantId: string;
244
+ productionId: string;
245
+ generationId: string;
246
+ }, {
247
+ tenantId: string & z.core.$brand<"TenantId">;
248
+ productionId: string & z.core.$brand<"ProductionId">;
249
+ generationId: string;
250
+ }, {
251
+ generationId: string;
252
+ executionClass: "LIVE" | "TEST_ONLY";
253
+ tenantId: string & z.core.$brand<"TenantId">;
254
+ createdAt: string;
255
+ productionId: string & z.core.$brand<"ProductionId">;
256
+ productionRevision: number;
257
+ runtimeJobId: string;
258
+ text: string;
259
+ cancellationRequested: boolean;
260
+ result: {
261
+ semanticStatus: "SUCCESS";
262
+ version: {
263
+ tenantId: string & z.core.$brand<"TenantId">;
264
+ productionId: string & z.core.$brand<"ProductionId">;
265
+ purpose: "VOICEOVER" | "MUSIC";
266
+ id: string;
267
+ audioId: string;
268
+ projectId: string;
269
+ version: number;
270
+ artifactId: string;
271
+ original: {
272
+ id: string;
273
+ checksumSha256: string;
274
+ byteSize: number;
275
+ };
276
+ media: {
277
+ profile: "PCM_S16LE_48000_V1";
278
+ audioCodec: "pcm_s16le";
279
+ sampleRateHz: 48000;
280
+ audioChannels: 2 | 1;
281
+ sampleCount: number;
282
+ durationMs: number;
283
+ };
284
+ originalName: string | null;
285
+ previousVersionId: string | null;
286
+ createdByPrincipalId: string;
287
+ createdAt: string;
288
+ generation?: {
289
+ generationId: string;
290
+ executionClass: "LIVE" | "TEST_ONLY";
291
+ sourceArtifactId: string;
292
+ sourceRepresentationId: string;
293
+ sourceChecksumSha256: string;
294
+ sourceByteSize: number;
295
+ sourceMedia: {
296
+ sampleRateHz: number;
297
+ audioChannels: 2 | 1;
298
+ sampleCount: number;
299
+ };
300
+ normalizationVersion: "SPEECH_PCM_V1";
301
+ padSamples: number;
302
+ executionTarget?: "TENANT_DEVICE" | undefined;
303
+ } | undefined;
304
+ };
305
+ productionRevision: number;
306
+ } | null;
307
+ runtimeStatus: "FAILED" | "CANCELLED" | "RUNNING" | "SUPERSEDED" | "READY" | "PENDING" | "WAITING" | "SUCCEEDED";
308
+ deviceExecution: {
309
+ target: "TENANT_DEVICE";
310
+ identity: {
311
+ adapter: "MACOS_SAY_V1";
312
+ voiceId: "com.apple.speech.synthesis.voice.Albert";
313
+ locale: "en-US";
314
+ systemBuild: string;
315
+ saySha256: string;
316
+ sandboxSha256: string;
317
+ synthesizerSha256: string;
318
+ voiceCatalogSha256: string;
319
+ voiceProbeSha256: string;
320
+ };
321
+ deviceId: string;
322
+ };
323
+ rateWordsPerMinute: number;
324
+ }, {
325
+ generationId: string;
326
+ executionClass: "LIVE" | "TEST_ONLY";
327
+ tenantId: string;
328
+ createdAt: string;
329
+ productionId: string;
330
+ productionRevision: number;
331
+ runtimeJobId: string;
332
+ text: string;
333
+ cancellationRequested: boolean;
334
+ result: {
335
+ semanticStatus: "SUCCESS";
336
+ version: {
337
+ tenantId: string;
338
+ productionId: string;
339
+ purpose: "VOICEOVER" | "MUSIC";
340
+ id: string;
341
+ audioId: string;
342
+ projectId: string;
343
+ version: number;
344
+ artifactId: string;
345
+ original: {
346
+ id: string;
347
+ checksumSha256: string;
348
+ byteSize: number;
349
+ };
350
+ media: {
351
+ profile: "PCM_S16LE_48000_V1";
352
+ audioCodec: "pcm_s16le";
353
+ sampleRateHz: 48000;
354
+ audioChannels: 2 | 1;
355
+ sampleCount: number;
356
+ durationMs: number;
357
+ };
358
+ originalName: string | null;
359
+ previousVersionId: string | null;
360
+ createdByPrincipalId: string;
361
+ createdAt: string;
362
+ generation?: {
363
+ generationId: string;
364
+ executionClass: "LIVE" | "TEST_ONLY";
365
+ sourceArtifactId: string;
366
+ sourceRepresentationId: string;
367
+ sourceChecksumSha256: string;
368
+ sourceByteSize: number;
369
+ sourceMedia: {
370
+ sampleRateHz: number;
371
+ audioChannels: 2 | 1;
372
+ sampleCount: number;
373
+ };
374
+ normalizationVersion: "SPEECH_PCM_V1";
375
+ padSamples: number;
376
+ executionTarget?: "TENANT_DEVICE" | undefined;
377
+ } | undefined;
378
+ };
379
+ productionRevision: number;
380
+ } | null;
381
+ runtimeStatus: "FAILED" | "CANCELLED" | "RUNNING" | "SUPERSEDED" | "READY" | "PENDING" | "WAITING" | "SUCCEEDED";
382
+ deviceExecution: {
383
+ target: "TENANT_DEVICE";
384
+ identity: {
385
+ adapter: "MACOS_SAY_V1";
386
+ voiceId: "com.apple.speech.synthesis.voice.Albert";
387
+ locale: "en-US";
388
+ systemBuild: string;
389
+ saySha256: string;
390
+ sandboxSha256: string;
391
+ synthesizerSha256: string;
392
+ voiceCatalogSha256: string;
393
+ voiceProbeSha256: string;
394
+ };
395
+ deviceId: string;
396
+ };
397
+ rateWordsPerMinute: number;
398
+ }>;
3
399
  readonly "speech.options": import("./spec.js").HttpOperationSpec<{
4
400
  tenantId: string;
5
401
  productionId: string;
@@ -265,6 +661,7 @@ export declare const speechOperations: {
265
661
  };
266
662
  normalizationVersion: "SPEECH_PCM_V1";
267
663
  padSamples: number;
664
+ executionTarget?: "TENANT_DEVICE" | undefined;
268
665
  } | undefined;
269
666
  };
270
667
  productionRevision: number;
@@ -371,6 +768,7 @@ export declare const speechOperations: {
371
768
  };
372
769
  normalizationVersion: "SPEECH_PCM_V1";
373
770
  padSamples: number;
771
+ executionTarget?: "TENANT_DEVICE" | undefined;
374
772
  } | undefined;
375
773
  };
376
774
  productionRevision: number;
@@ -111,6 +111,7 @@ export declare const temporalEvidenceOperations: {
111
111
  };
112
112
  expectedProductionRevision: number;
113
113
  idempotencyKey: string;
114
+ deviceId?: string | undefined;
114
115
  }, {
115
116
  artifactId: string;
116
117
  representationId: string;
@@ -129,6 +130,7 @@ export declare const temporalEvidenceOperations: {
129
130
  };
130
131
  expectedProductionRevision: number;
131
132
  idempotencyKey: string;
133
+ deviceId?: string | undefined;
132
134
  }, {
133
135
  semanticStatus: "ACCEPTED";
134
136
  evidenceId: string;
@@ -3111,7 +3111,7 @@ export declare const visualExplorationOperations: {
3111
3111
  fit: "PAD";
3112
3112
  hasAudio: boolean;
3113
3113
  framePolicy: "CUMULATIVE_NEAREST_FRAME";
3114
- visualLayerPolicy: "STRAIGHT_ALPHA_FRAME_OVERLAY_30_V1";
3114
+ visualLayerPolicy: "STRAIGHT_ALPHA_FRAME_OVERLAY_30_V1" | "STRAIGHT_ALPHA_FRAME_OVERLAY_30_V2";
3115
3115
  captionPolicy?: "BURN_IN" | undefined;
3116
3116
  captionStyle?: {
3117
3117
  id: "PLAIN_TEXT_NOTO_SANS_SC_V1";
@@ -4387,7 +4387,7 @@ export declare const visualExplorationOperations: {
4387
4387
  fit: "PAD";
4388
4388
  hasAudio: boolean;
4389
4389
  framePolicy: "CUMULATIVE_NEAREST_FRAME";
4390
- visualLayerPolicy: "STRAIGHT_ALPHA_FRAME_OVERLAY_30_V1";
4390
+ visualLayerPolicy: "STRAIGHT_ALPHA_FRAME_OVERLAY_30_V1" | "STRAIGHT_ALPHA_FRAME_OVERLAY_30_V2";
4391
4391
  captionPolicy?: "BURN_IN" | undefined;
4392
4392
  captionStyle?: {
4393
4393
  id: "PLAIN_TEXT_NOTO_SANS_SC_V1";
@@ -6808,7 +6808,7 @@ export declare const visualExplorationOperations: {
6808
6808
  fit: "PAD";
6809
6809
  hasAudio: boolean;
6810
6810
  framePolicy: "CUMULATIVE_NEAREST_FRAME";
6811
- visualLayerPolicy: "STRAIGHT_ALPHA_FRAME_OVERLAY_30_V1";
6811
+ visualLayerPolicy: "STRAIGHT_ALPHA_FRAME_OVERLAY_30_V1" | "STRAIGHT_ALPHA_FRAME_OVERLAY_30_V2";
6812
6812
  captionPolicy?: "BURN_IN" | undefined;
6813
6813
  captionStyle?: {
6814
6814
  id: "PLAIN_TEXT_NOTO_SANS_SC_V1";
@@ -8035,7 +8035,7 @@ export declare const visualExplorationOperations: {
8035
8035
  fit: "PAD";
8036
8036
  hasAudio: boolean;
8037
8037
  framePolicy: "CUMULATIVE_NEAREST_FRAME";
8038
- visualLayerPolicy: "STRAIGHT_ALPHA_FRAME_OVERLAY_30_V1";
8038
+ visualLayerPolicy: "STRAIGHT_ALPHA_FRAME_OVERLAY_30_V1" | "STRAIGHT_ALPHA_FRAME_OVERLAY_30_V2";
8039
8039
  captionPolicy?: "BURN_IN" | undefined;
8040
8040
  captionStyle?: {
8041
8041
  id: "PLAIN_TEXT_NOTO_SANS_SC_V1";
@@ -10011,6 +10011,29 @@ export declare const visualExplorationOperations: {
10011
10011
  intentPath?: string | undefined;
10012
10012
  };
10013
10013
  observation: {
10014
+ key: string;
10015
+ status: "SATISFIED" | "VIOLATED" | "NOT_OBSERVABLE" | "NOT_APPLICABLE";
10016
+ confidence: "CLEAR" | "UNCERTAIN";
10017
+ observed: string;
10018
+ interval: {
10019
+ startMs: number;
10020
+ endMs: number;
10021
+ };
10022
+ listeningEvidenceIds?: string[] | undefined;
10023
+ continuitySamples?: {
10024
+ atMs: number;
10025
+ state?: string | undefined;
10026
+ storyTimeMs?: number | undefined;
10027
+ }[] | undefined;
10028
+ temporalEvidenceIds?: string[] | undefined;
10029
+ location?: {
10030
+ interval: {
10031
+ startMs: number;
10032
+ endMs: number;
10033
+ };
10034
+ shotIds: string[];
10035
+ } | undefined;
10036
+ } | {
10014
10037
  key: string;
10015
10038
  status: "SATISFIED" | "VIOLATED" | "NOT_OBSERVABLE" | "NOT_APPLICABLE";
10016
10039
  confidence: "CLEAR" | "UNCERTAIN";
@@ -10037,29 +10060,6 @@ export declare const visualExplorationOperations: {
10037
10060
  width: number;
10038
10061
  height: number;
10039
10062
  } | undefined;
10040
- } | {
10041
- key: string;
10042
- status: "SATISFIED" | "VIOLATED" | "NOT_OBSERVABLE" | "NOT_APPLICABLE";
10043
- confidence: "CLEAR" | "UNCERTAIN";
10044
- observed: string;
10045
- interval: {
10046
- startMs: number;
10047
- endMs: number;
10048
- };
10049
- listeningEvidenceIds?: string[] | undefined;
10050
- continuitySamples?: {
10051
- atMs: number;
10052
- state?: string | undefined;
10053
- storyTimeMs?: number | undefined;
10054
- }[] | undefined;
10055
- temporalEvidenceIds?: string[] | undefined;
10056
- location?: {
10057
- interval: {
10058
- startMs: number;
10059
- endMs: number;
10060
- };
10061
- shotIds: string[];
10062
- } | undefined;
10063
10063
  };
10064
10064
  evidenceIds: string[];
10065
10065
  blocking: boolean;
@@ -10571,11 +10571,6 @@ export declare const visualExplorationOperations: {
10571
10571
  artifactChecksumSha256: string;
10572
10572
  contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
10573
10573
  } | undefined;
10574
- } | {
10575
- key: string;
10576
- expected: string;
10577
- enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
10578
- intentPath?: string | undefined;
10579
10574
  } | {
10580
10575
  key: string;
10581
10576
  family: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "SHOT_INTENT" | "BOUNDARY_CONTINUITY" | "SOUND";
@@ -10610,6 +10605,11 @@ export declare const visualExplorationOperations: {
10610
10605
  startMs: number;
10611
10606
  endMs: number;
10612
10607
  } | undefined;
10608
+ } | {
10609
+ key: string;
10610
+ expected: string;
10611
+ enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
10612
+ intentPath?: string | undefined;
10613
10613
  };
10614
10614
  observation: {
10615
10615
  key: string;
@@ -10634,17 +10634,6 @@ export declare const visualExplorationOperations: {
10634
10634
  };
10635
10635
  shotIds: string[];
10636
10636
  } | undefined;
10637
- } | {
10638
- key: string;
10639
- status: "SATISFIED" | "VIOLATED" | "NOT_OBSERVABLE" | "NOT_APPLICABLE";
10640
- confidence: "CLEAR" | "UNCERTAIN";
10641
- observed: string;
10642
- region?: {
10643
- x: number;
10644
- y: number;
10645
- width: number;
10646
- height: number;
10647
- } | undefined;
10648
10637
  } | {
10649
10638
  key: string;
10650
10639
  status: "SATISFIED" | "VIOLATED" | "NOT_OBSERVABLE" | "NOT_APPLICABLE";
@@ -10661,6 +10650,17 @@ export declare const visualExplorationOperations: {
10661
10650
  startMs: number;
10662
10651
  endMs: number;
10663
10652
  } | undefined;
10653
+ } | {
10654
+ key: string;
10655
+ status: "SATISFIED" | "VIOLATED" | "NOT_OBSERVABLE" | "NOT_APPLICABLE";
10656
+ confidence: "CLEAR" | "UNCERTAIN";
10657
+ observed: string;
10658
+ region?: {
10659
+ x: number;
10660
+ y: number;
10661
+ width: number;
10662
+ height: number;
10663
+ } | undefined;
10664
10664
  };
10665
10665
  evidenceIds: string[];
10666
10666
  blocking: boolean;