@nativestudio/cli 0.3.0-rc.5 → 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.
- package/COMPATIBILITY.json +7 -7
- package/LICENSE +201 -21
- package/components/runtime.json +3 -3
- package/components/runtime.tgz +0 -0
- package/dist/_chunks/{chunk-CA54SKBO.js → chunk-6SYHA2B4.js} +1 -1
- package/dist/_chunks/{chunk-GJ7BZJLW.js → chunk-A7EUJNCL.js} +1 -1
- package/dist/_chunks/chunk-AJ7S73M4.js +1 -0
- package/dist/_chunks/chunk-DRHPICBU.js +1 -0
- package/dist/_chunks/chunk-FCHO4AVP.js +1 -0
- package/dist/_chunks/chunk-JH5QP6PC.js +1 -0
- package/dist/_chunks/chunk-LF442QV6.js +1 -0
- package/dist/_chunks/chunk-LUBHPAPW.js +1 -0
- package/dist/_chunks/chunk-OZ5KZSTM.js +1 -0
- package/dist/_chunks/chunk-RJ4QQF7E.js +1 -0
- package/dist/_chunks/chunk-RT5PFKYS.js +1 -0
- package/dist/_chunks/chunk-SIJPJIBO.js +1 -0
- package/dist/_chunks/{chunk-KNFUMWDY.js → chunk-TCZJLYSR.js} +1 -1
- package/dist/_chunks/chunk-TTFDNLQE.js +1 -0
- package/dist/_chunks/chunk-URKX77KR.js +1 -0
- package/dist/_chunks/chunk-XRYARPEL.js +1 -0
- package/dist/_chunks/device-management-4XIITODX.js +1 -0
- package/dist/_chunks/device-preflight-SDA7Q3LH.js +1 -0
- package/dist/_chunks/devices-inventory-RVHGI2YW.js +1 -0
- package/dist/_chunks/devices-main-WOILNAGY.js +1 -0
- package/dist/_chunks/http-profile-XCHTSJV4.js +1 -0
- package/dist/_chunks/library-main-ZQKJQNHE.js +1 -0
- package/dist/_chunks/local-main-DX47PKHX.js +1 -0
- package/dist/_chunks/local-mcp-HMS5ODZN.js +1 -0
- package/dist/_chunks/main-HQGVZ2O2.js +2 -0
- package/dist/_chunks/mcp-6Q4ALHN6.js +1 -0
- package/dist/_chunks/project-connect-U2IHGC5W.js +1 -0
- package/dist/_chunks/render-main-A2AABFAG.js +1 -0
- package/dist/_chunks/source-import-5N4KZMTC.js +1 -0
- package/dist/_chunks/src-NIMTPR5W.js +1 -0
- package/dist/_chunks/{stdio-main-4Z2JVCMO.js → stdio-main-JJCNIY4H.js} +1 -1
- package/dist/_chunks/workspace-main-ZIZO4WRI.js +1 -0
- package/dist/_types/cli/local/desktop-contract.d.ts +1077 -564
- package/dist/_types/cli/local/desktop-device-contract.d.ts +170 -556
- package/dist/_types/cli/local/desktop-device-owner.d.ts +16 -50
- package/dist/_types/cli/local/desktop-device-state.d.ts +198 -31
- package/dist/_types/cli/local/desktop-library.d.ts +853 -0
- package/dist/_types/cli/local/desktop-owner.d.ts +220 -39
- package/dist/_types/cli/local/ledger.d.ts +2 -0
- package/dist/_types/cli/local/manager.d.ts +352 -22
- package/dist/_types/cli/local/mcp-tools.d.ts +218 -39
- package/dist/_types/cli/local/project-render-tools.d.ts +8742 -77
- package/dist/_types/cli/local-management.d.ts +2 -1
- package/dist/_types/contracts/artifact-discovery.d.ts +76 -4
- package/dist/_types/contracts/audio.d.ts +4 -0
- package/dist/_types/contracts/composition-authoring.d.ts +8 -8
- package/dist/_types/contracts/composition-frame-render.d.ts +4 -4
- package/dist/_types/contracts/composition-render-base.d.ts +5 -4
- package/dist/_types/contracts/composition-render.d.ts +8 -8
- package/dist/_types/contracts/composition-repair.d.ts +10 -10
- package/dist/_types/contracts/composition-source-review.d.ts +12 -12
- package/dist/_types/contracts/delivery-manifest.d.ts +25 -11765
- package/dist/_types/contracts/delivery-operations.d.ts +51 -3921
- package/dist/_types/contracts/delivery-summary.d.ts +2 -2
- package/dist/_types/contracts/delivery-validation.d.ts +23 -0
- package/dist/_types/contracts/device-render.d.ts +67 -0
- package/dist/_types/contracts/editor-intelligence.d.ts +114 -2491
- package/dist/_types/contracts/exploration-recommendation.d.ts +263 -11655
- package/dist/_types/contracts/external-agent-access.d.ts +9 -3
- package/dist/_types/contracts/final-ready.d.ts +22 -22
- package/dist/_types/contracts/final-render.d.ts +1569 -6949
- package/dist/_types/contracts/human-identity.d.ts +13 -0
- package/dist/_types/contracts/index.d.ts +3 -0
- package/dist/_types/contracts/interface/media-output.d.ts +28 -0
- package/dist/_types/contracts/interface/production-snapshot.d.ts +15 -193
- package/dist/_types/contracts/keyframe-generation.d.ts +29 -0
- package/dist/_types/contracts/local-execution/agent-evidence.d.ts +2 -2
- package/dist/_types/contracts/local-execution/agent-grant.d.ts +2 -2
- package/dist/_types/contracts/local-execution/agent-review.d.ts +30 -285
- package/dist/_types/contracts/local-execution/common.d.ts +12 -11
- package/dist/_types/contracts/local-execution/completion.d.ts +41 -45
- package/dist/_types/contracts/local-execution/device-authority.d.ts +31 -0
- package/dist/_types/contracts/local-execution/device-inventory.d.ts +76 -0
- package/dist/_types/contracts/local-execution/device-workspace.d.ts +11 -0
- package/dist/_types/contracts/local-execution/device.d.ts +19 -59
- package/dist/_types/contracts/local-execution/external-generation.d.ts +199 -0
- package/dist/_types/contracts/local-execution/index.d.ts +19 -0
- package/dist/_types/contracts/local-execution/ipc.d.ts +1517 -711
- package/dist/_types/contracts/local-execution/library-command.d.ts +620 -0
- package/dist/_types/contracts/local-execution/library-result.d.ts +408 -0
- package/dist/_types/contracts/local-execution/library.d.ts +873 -0
- package/dist/_types/contracts/local-execution/lifecycle.d.ts +21 -5
- package/dist/_types/contracts/local-execution/local-navigation.d.ts +161 -44
- package/dist/_types/contracts/local-execution/management.d.ts +214 -208
- package/dist/_types/contracts/local-execution/media-recipe.d.ts +5 -1
- package/dist/_types/contracts/local-execution/media-validation-request.d.ts +232 -0
- package/dist/_types/contracts/local-execution/media-validation.d.ts +262 -0
- package/dist/_types/contracts/local-execution/object-transfer.d.ts +155 -0
- package/dist/_types/contracts/local-execution/preview.d.ts +120 -10988
- package/dist/_types/contracts/local-execution/processor-capability.d.ts +39 -0
- package/dist/_types/contracts/local-execution/processor-direct.d.ts +290 -0
- package/dist/_types/contracts/local-execution/processor-recipes.d.ts +1122 -0
- package/dist/_types/contracts/local-execution/processor.d.ts +6173 -0
- package/dist/_types/contracts/local-execution/project-source-direct.d.ts +201 -0
- package/dist/_types/contracts/local-execution/qwen-tts.d.ts +31 -0
- package/dist/_types/contracts/local-execution/recognition.d.ts +170 -0
- package/dist/_types/contracts/local-execution/speech.d.ts +95 -0
- package/dist/_types/contracts/local-execution/tool-selection.d.ts +45 -5
- package/dist/_types/contracts/local-execution/whisper.d.ts +24 -0
- package/dist/_types/contracts/local-execution/work.d.ts +69 -10741
- package/dist/_types/contracts/local-execution/workspace.d.ts +5 -0
- package/dist/_types/contracts/media-category.d.ts +11 -0
- package/dist/_types/contracts/media-observation.d.ts +929 -8
- package/dist/_types/contracts/observation-profile.d.ts +3 -3
- package/dist/_types/contracts/programmatic-composition.d.ts +24 -24
- package/dist/_types/contracts/programmatic-exploration.d.ts +348 -6009
- package/dist/_types/contracts/provider-catalog.d.ts +3 -3
- package/dist/_types/contracts/provider-models.d.ts +16 -8
- package/dist/_types/contracts/provider.d.ts +66 -1
- package/dist/_types/contracts/reference-preview.d.ts +19 -0
- package/dist/_types/contracts/repair-lifecycle.d.ts +52 -384
- package/dist/_types/contracts/repair-plan.d.ts +16 -98
- package/dist/_types/contracts/repair-strategy.d.ts +162 -4505
- package/dist/_types/contracts/review-intelligence-final-output.d.ts +317 -8163
- package/dist/_types/contracts/review-intelligence.d.ts +450 -11468
- package/dist/_types/contracts/rough-cut-manifest.d.ts +1 -0
- package/dist/_types/contracts/rough-cut-review.d.ts +134 -12566
- package/dist/_types/contracts/rough-cut.d.ts +1076 -5731
- package/dist/_types/contracts/sound-making-plan.d.ts +3 -2
- package/dist/_types/contracts/speech-cost.d.ts +81 -0
- package/dist/_types/contracts/speech.d.ts +149 -0
- package/dist/_types/contracts/temporal-evidence-operation.d.ts +1 -0
- package/dist/_types/contracts/timeline-audio.d.ts +1 -0
- package/dist/_types/contracts/timeline-manifest.d.ts +2 -0
- package/dist/_types/contracts/timeline-source-sound.d.ts +1 -0
- package/dist/_types/contracts/timeline-v2.d.ts +4 -0
- package/dist/_types/contracts/timeline-version-reader.d.ts +10 -0
- package/dist/_types/contracts/timeline-visual-layers.d.ts +4 -0
- package/dist/_types/contracts/timeline.d.ts +50 -4850
- package/dist/_types/contracts/transcription.d.ts +1 -1
- package/dist/_types/contracts/video-generation.d.ts +33 -0
- package/dist/_types/contracts/visual-layer-render.d.ts +37 -6
- package/dist/_types/contracts/visual-sequence.d.ts +22 -0
- package/dist/_types/contracts/workspace.d.ts +22 -0
- package/dist/_types/sdk/errors.d.ts +1 -1
- package/dist/_types/sdk/local-runtime/device-client.d.ts +7 -33
- package/dist/_types/sdk/local-runtime/library.d.ts +268 -0
- package/dist/_types/sdk/local-runtime/workspace.d.ts +9 -4
- package/dist/_types/sdk/local-runtime-client.d.ts +477 -32
- package/dist/entry.js +1 -1
- package/dist/local-management.js +1 -1
- package/dist/local-navigation.js +1 -1
- package/package.json +2 -8
- package/README.md +0 -119
- package/dist/_chunks/chunk-D533YC7J.js +0 -1
- package/dist/_chunks/chunk-INLSOHAK.js +0 -1
- package/dist/_chunks/chunk-JPH576UL.js +0 -1
- package/dist/_chunks/chunk-N6S6HCWE.js +0 -1
- package/dist/_chunks/chunk-PBEHCYR7.js +0 -1
- package/dist/_chunks/chunk-RVGDXRPK.js +0 -1
- package/dist/_chunks/chunk-YKOJPJZR.js +0 -1
- package/dist/_chunks/local-main-S2K34Y2F.js +0 -1
- package/dist/_chunks/local-mcp-LCHXL2IE.js +0 -1
- package/dist/_chunks/main-KLXOK7QK.js +0 -2
- package/dist/_chunks/mcp-P7W623FE.js +0 -1
- package/dist/_chunks/project-connect-W7V3OALV.js +0 -1
- package/dist/_chunks/render-main-ZW6UJHGN.js +0 -1
- package/dist/_chunks/src-BXLFLNRG.js +0 -1
|
@@ -3,12 +3,12 @@ export declare function runDesktopDeviceRequest(home: string, raw: unknown): Pro
|
|
|
3
3
|
view: {
|
|
4
4
|
revision: number;
|
|
5
5
|
connection: {
|
|
6
|
-
phase: "READY" | "
|
|
6
|
+
phase: "READY" | "CONNECTED" | "CONNECTING";
|
|
7
7
|
expiresAt: string;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
deviceRevision: number;
|
|
9
|
+
tenantMediaProcessing?: true | undefined;
|
|
10
|
+
processorCapabilities?: ("KEYFRAME_GENERATE" | "VIDEO_GENERATE" | "SPEECH_SYNTHESIZE" | "SPEECH_EXTERNAL_QWEN" | "TEMPORAL_SAMPLE" | "DELIVERY_VALIDATE" | "COMPOSITION_RENDER" | "IMPORTED_VISUAL_NORMALIZE" | "SOURCE_SYNC_AUDIO" | "IMPORT_ORIGINAL" | "LOCAL_MEDIA_INSPECT" | "LOCAL_MEDIA_PUBLISH" | "IMPORT_PROJECT_SOURCE" | "REGISTER_VISUAL_SEQUENCE" | "TRANSCRIBE_AUDIO" | "TRANSCRIBE_EXTERNAL_QWEN")[] | undefined;
|
|
11
|
+
tenantMediaValidation?: true | undefined;
|
|
12
12
|
} | null;
|
|
13
13
|
previews: ({
|
|
14
14
|
semanticStatus: "ACCEPTED";
|
|
@@ -37,6 +37,7 @@ export declare function runDesktopDeviceRequest(home: string, raw: unknown): Pro
|
|
|
37
37
|
mode: "tenant-device-only";
|
|
38
38
|
deviceId: string;
|
|
39
39
|
runtimeJobId: string;
|
|
40
|
+
validationMode?: "TENANT_TRUSTED_VALIDATOR" | undefined;
|
|
40
41
|
} | undefined;
|
|
41
42
|
} | {
|
|
42
43
|
semanticStatus: "ACCEPTED";
|
|
@@ -68,28 +69,17 @@ export declare function runDesktopDeviceRequest(home: string, raw: unknown): Pro
|
|
|
68
69
|
mode: "tenant-device-only";
|
|
69
70
|
deviceId: string;
|
|
70
71
|
runtimeJobId: string;
|
|
72
|
+
validationMode?: "TENANT_TRUSTED_VALIDATOR" | undefined;
|
|
71
73
|
} | undefined;
|
|
72
74
|
})[];
|
|
73
|
-
grants: {
|
|
74
|
-
tenantId: string;
|
|
75
|
-
projectId: string;
|
|
76
|
-
capability: "ROUGH_CUT_PREVIEW_V1" | "STUDIO_MEDIA_V2";
|
|
77
|
-
expiresAt: string;
|
|
78
|
-
deviceId: string;
|
|
79
|
-
deviceRevision: number;
|
|
80
|
-
grantId: string;
|
|
81
|
-
revision: number;
|
|
82
|
-
approvedByPrincipalId: string;
|
|
83
|
-
createdAt: string;
|
|
84
|
-
revokedAt: string | null;
|
|
85
|
-
executionPolicy?: "DEVICE_ONLY" | undefined;
|
|
86
|
-
}[];
|
|
87
75
|
device: {
|
|
88
76
|
deviceId: string;
|
|
89
77
|
label: string;
|
|
78
|
+
revision: number;
|
|
79
|
+
revokedAt: string | null;
|
|
90
80
|
} | null;
|
|
91
81
|
pending: {
|
|
92
|
-
kind: "FINAL_RENDER" | "ENROLL" | "
|
|
82
|
+
kind: "FINAL_RENDER" | "ENROLL" | "REVOKE_DEVICE" | "PREVIEW";
|
|
93
83
|
phase: "SENDING" | "PREPARED" | "REFUSED";
|
|
94
84
|
fingerprint: string;
|
|
95
85
|
} | null;
|
|
@@ -119,24 +109,10 @@ export declare function runDesktopDeviceRequest(home: string, raw: unknown): Pro
|
|
|
119
109
|
};
|
|
120
110
|
};
|
|
121
111
|
} | {
|
|
122
|
-
kind: "
|
|
112
|
+
kind: "REVOKE_DEVICE";
|
|
123
113
|
input: {
|
|
124
114
|
tenantId: string;
|
|
125
|
-
projectId: string;
|
|
126
|
-
requestId: string;
|
|
127
115
|
deviceId: string;
|
|
128
|
-
deviceRevision: number;
|
|
129
|
-
expectedRevision: number;
|
|
130
|
-
expiresAt: string;
|
|
131
|
-
capability: "ROUGH_CUT_PREVIEW_V1" | "STUDIO_MEDIA_V2";
|
|
132
|
-
executionPolicy?: "DEVICE_ONLY" | undefined;
|
|
133
|
-
};
|
|
134
|
-
} | {
|
|
135
|
-
kind: "REVOKE_GRANT";
|
|
136
|
-
input: {
|
|
137
|
-
tenantId: string;
|
|
138
|
-
projectId: string;
|
|
139
|
-
grantId: string;
|
|
140
116
|
requestId: string;
|
|
141
117
|
expectedRevision: number;
|
|
142
118
|
};
|
|
@@ -186,6 +162,10 @@ export declare function runDesktopDeviceRequest(home: string, raw: unknown): Pro
|
|
|
186
162
|
};
|
|
187
163
|
};
|
|
188
164
|
} | undefined;
|
|
165
|
+
mediaValidationSupported?: boolean | undefined;
|
|
166
|
+
mediaProcessingSupported?: boolean | undefined;
|
|
167
|
+
localLibrarySupported?: boolean | undefined;
|
|
168
|
+
compositionProcessingSupported?: boolean | undefined;
|
|
189
169
|
}>;
|
|
190
170
|
export declare function desktopDevicePending(home: string, scope: unknown): Promise<{
|
|
191
171
|
kind: "ENROLL";
|
|
@@ -206,24 +186,10 @@ export declare function desktopDevicePending(home: string, scope: unknown): Prom
|
|
|
206
186
|
};
|
|
207
187
|
};
|
|
208
188
|
} | {
|
|
209
|
-
kind: "
|
|
189
|
+
kind: "REVOKE_DEVICE";
|
|
210
190
|
input: {
|
|
211
191
|
tenantId: string;
|
|
212
|
-
projectId: string;
|
|
213
|
-
requestId: string;
|
|
214
192
|
deviceId: string;
|
|
215
|
-
deviceRevision: number;
|
|
216
|
-
expectedRevision: number;
|
|
217
|
-
expiresAt: string;
|
|
218
|
-
capability: "ROUGH_CUT_PREVIEW_V1" | "STUDIO_MEDIA_V2";
|
|
219
|
-
executionPolicy?: "DEVICE_ONLY" | undefined;
|
|
220
|
-
};
|
|
221
|
-
} | {
|
|
222
|
-
kind: "REVOKE_GRANT";
|
|
223
|
-
input: {
|
|
224
|
-
tenantId: string;
|
|
225
|
-
projectId: string;
|
|
226
|
-
grantId: string;
|
|
227
193
|
requestId: string;
|
|
228
194
|
expectedRevision: number;
|
|
229
195
|
};
|
|
@@ -5,8 +5,8 @@ export declare class DesktopDeviceRecords {
|
|
|
5
5
|
readonly scope: DesktopDeviceScope;
|
|
6
6
|
private constructor();
|
|
7
7
|
static open(home: string, raw: unknown): Promise<DesktopDeviceRecords>;
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
/** 无设备记录时保留空状态,不创建登记目录或密钥。 */
|
|
9
|
+
static inspect(home: string, raw: unknown): Promise<{
|
|
10
10
|
revision: number;
|
|
11
11
|
scope: {
|
|
12
12
|
origin: string;
|
|
@@ -50,20 +50,6 @@ export declare class DesktopDeviceRecords {
|
|
|
50
50
|
verifiedAt: string | null;
|
|
51
51
|
revokedAt: string | null;
|
|
52
52
|
} | null;
|
|
53
|
-
grants: {
|
|
54
|
-
tenantId: string;
|
|
55
|
-
projectId: string;
|
|
56
|
-
capability: "ROUGH_CUT_PREVIEW_V1" | "STUDIO_MEDIA_V2";
|
|
57
|
-
expiresAt: string;
|
|
58
|
-
deviceId: string;
|
|
59
|
-
deviceRevision: number;
|
|
60
|
-
grantId: string;
|
|
61
|
-
revision: number;
|
|
62
|
-
approvedByPrincipalId: string;
|
|
63
|
-
createdAt: string;
|
|
64
|
-
revokedAt: string | null;
|
|
65
|
-
executionPolicy?: "DEVICE_ONLY" | undefined;
|
|
66
|
-
}[];
|
|
67
53
|
previews: ({
|
|
68
54
|
semanticStatus: "ACCEPTED";
|
|
69
55
|
renderId: string;
|
|
@@ -91,6 +77,7 @@ export declare class DesktopDeviceRecords {
|
|
|
91
77
|
mode: "tenant-device-only";
|
|
92
78
|
deviceId: string;
|
|
93
79
|
runtimeJobId: string;
|
|
80
|
+
validationMode?: "TENANT_TRUSTED_VALIDATOR" | undefined;
|
|
94
81
|
} | undefined;
|
|
95
82
|
} | {
|
|
96
83
|
semanticStatus: "ACCEPTED";
|
|
@@ -122,16 +109,17 @@ export declare class DesktopDeviceRecords {
|
|
|
122
109
|
mode: "tenant-device-only";
|
|
123
110
|
deviceId: string;
|
|
124
111
|
runtimeJobId: string;
|
|
112
|
+
validationMode?: "TENANT_TRUSTED_VALIDATOR" | undefined;
|
|
125
113
|
} | undefined;
|
|
126
114
|
})[];
|
|
127
115
|
connectorId: string | null;
|
|
128
116
|
connection: {
|
|
129
|
-
phase: "READY" | "
|
|
117
|
+
phase: "READY" | "CONNECTED" | "CONNECTING";
|
|
130
118
|
expiresAt: string;
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
119
|
+
deviceRevision: number;
|
|
120
|
+
tenantMediaProcessing?: true | undefined;
|
|
121
|
+
processorCapabilities?: ("KEYFRAME_GENERATE" | "VIDEO_GENERATE" | "SPEECH_SYNTHESIZE" | "SPEECH_EXTERNAL_QWEN" | "TEMPORAL_SAMPLE" | "DELIVERY_VALIDATE" | "COMPOSITION_RENDER" | "IMPORTED_VISUAL_NORMALIZE" | "SOURCE_SYNC_AUDIO" | "IMPORT_ORIGINAL" | "LOCAL_MEDIA_INSPECT" | "LOCAL_MEDIA_PUBLISH" | "IMPORT_PROJECT_SOURCE" | "REGISTER_VISUAL_SEQUENCE" | "TRANSCRIBE_AUDIO" | "TRANSCRIBE_EXTERNAL_QWEN")[] | undefined;
|
|
122
|
+
tenantMediaValidation?: true | undefined;
|
|
135
123
|
} | null;
|
|
136
124
|
pending: {
|
|
137
125
|
command: {
|
|
@@ -153,24 +141,203 @@ export declare class DesktopDeviceRecords {
|
|
|
153
141
|
};
|
|
154
142
|
};
|
|
155
143
|
} | {
|
|
156
|
-
kind: "
|
|
144
|
+
kind: "REVOKE_DEVICE";
|
|
157
145
|
input: {
|
|
158
146
|
tenantId: string;
|
|
159
|
-
projectId: string;
|
|
160
|
-
requestId: string;
|
|
161
147
|
deviceId: string;
|
|
162
|
-
|
|
148
|
+
requestId: string;
|
|
163
149
|
expectedRevision: number;
|
|
164
|
-
expiresAt: string;
|
|
165
|
-
capability: "ROUGH_CUT_PREVIEW_V1" | "STUDIO_MEDIA_V2";
|
|
166
|
-
executionPolicy?: "DEVICE_ONLY" | undefined;
|
|
167
150
|
};
|
|
168
151
|
} | {
|
|
169
|
-
kind: "
|
|
152
|
+
kind: "PREVIEW";
|
|
153
|
+
input: {
|
|
154
|
+
tenantId: string & import("zod").$brand<"TenantId">;
|
|
155
|
+
idempotencyKey: string;
|
|
156
|
+
productionId: string & import("zod").$brand<"ProductionId">;
|
|
157
|
+
expectedProductionRevision: number;
|
|
158
|
+
timelineVersionId: string;
|
|
159
|
+
profileId: "PREVIEW_H264_480P_V1" | "PREVIEW_H264_720P_V1" | "PREVIEW_H264_1080P_V1";
|
|
160
|
+
timelineFingerprint: string;
|
|
161
|
+
placement: {
|
|
162
|
+
mode: "local-only";
|
|
163
|
+
deviceId: string;
|
|
164
|
+
} | {
|
|
165
|
+
mode: "local-preferred";
|
|
166
|
+
deviceId: string;
|
|
167
|
+
} | {
|
|
168
|
+
mode: "cloud-only";
|
|
169
|
+
};
|
|
170
|
+
localProfile?: "STUDIO_MEDIA_V2" | undefined;
|
|
171
|
+
};
|
|
172
|
+
} | {
|
|
173
|
+
kind: "FINAL_RENDER";
|
|
174
|
+
input: {
|
|
175
|
+
tenantId: string & import("zod").$brand<"TenantId">;
|
|
176
|
+
idempotencyKey: string;
|
|
177
|
+
productionId: string & import("zod").$brand<"ProductionId">;
|
|
178
|
+
expectedProductionRevision: number;
|
|
179
|
+
timelineVersionId: string;
|
|
180
|
+
profileId: "FINAL_H264_1080P_V1" | "FINAL_H264_720P_V1" | "FINAL_H264_480P_V1";
|
|
181
|
+
timelineFingerprint: string;
|
|
182
|
+
selectionId: string;
|
|
183
|
+
audioPolicy: "SILENT" | "MIXED";
|
|
184
|
+
captionPolicy: "NONE" | "BURN_IN";
|
|
185
|
+
expectedFinalReadyVersion: number;
|
|
186
|
+
placement: {
|
|
187
|
+
mode: "local-only";
|
|
188
|
+
deviceId: string;
|
|
189
|
+
} | {
|
|
190
|
+
mode: "local-preferred";
|
|
191
|
+
deviceId: string;
|
|
192
|
+
} | {
|
|
193
|
+
mode: "cloud-only";
|
|
194
|
+
};
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
fingerprint: string;
|
|
198
|
+
phase: "SENDING" | "PREPARED" | "REFUSED";
|
|
199
|
+
} | null;
|
|
200
|
+
} | null>;
|
|
201
|
+
current(): Promise<DesktopDeviceState>;
|
|
202
|
+
save(before: DesktopDeviceState, fields: Partial<DesktopDeviceState>): Promise<{
|
|
203
|
+
revision: number;
|
|
204
|
+
scope: {
|
|
205
|
+
origin: string;
|
|
206
|
+
tenantId: string;
|
|
207
|
+
principalId: string;
|
|
208
|
+
};
|
|
209
|
+
enrollment: {
|
|
210
|
+
tenantId: string;
|
|
211
|
+
requestId: string;
|
|
212
|
+
label: string;
|
|
213
|
+
platform: {
|
|
214
|
+
os: "darwin" | "linux" | "win32";
|
|
215
|
+
architecture: "x64" | "arm64";
|
|
216
|
+
};
|
|
217
|
+
runtimeVersion: string;
|
|
218
|
+
publicKey: {
|
|
219
|
+
kty: "EC";
|
|
220
|
+
crv: "P-256";
|
|
221
|
+
x: string;
|
|
222
|
+
y: string;
|
|
223
|
+
};
|
|
224
|
+
} | null;
|
|
225
|
+
device: {
|
|
226
|
+
tenantId: string;
|
|
227
|
+
publicKey: {
|
|
228
|
+
kty: "EC";
|
|
229
|
+
crv: "P-256";
|
|
230
|
+
x: string;
|
|
231
|
+
y: string;
|
|
232
|
+
};
|
|
233
|
+
label: string;
|
|
234
|
+
platform: {
|
|
235
|
+
os: "darwin" | "linux" | "win32";
|
|
236
|
+
architecture: "x64" | "arm64";
|
|
237
|
+
};
|
|
238
|
+
runtimeVersion: string;
|
|
239
|
+
deviceId: string;
|
|
240
|
+
revision: number;
|
|
241
|
+
enrolledByPrincipalId: string;
|
|
242
|
+
createdAt: string;
|
|
243
|
+
verifiedAt: string | null;
|
|
244
|
+
revokedAt: string | null;
|
|
245
|
+
} | null;
|
|
246
|
+
previews: ({
|
|
247
|
+
semanticStatus: "ACCEPTED";
|
|
248
|
+
renderId: string;
|
|
249
|
+
operationId: string & import("zod").$brand<"OperationId">;
|
|
250
|
+
productionId: string;
|
|
251
|
+
timelineVersionId: string;
|
|
252
|
+
timelineFingerprint: string;
|
|
253
|
+
executionClass: "LIVE" | "TEST_ONLY";
|
|
254
|
+
manifestFingerprint: string;
|
|
255
|
+
productionRevision: number;
|
|
256
|
+
placement: {
|
|
257
|
+
target: "DEVICE" | "SERVER";
|
|
258
|
+
reason: "OFFLINE" | "UNQUALIFIED" | "BUSY" | "LOCAL_AVAILABLE" | "CLOUD_ONLY" | "LEASE_RECOVERY";
|
|
259
|
+
policy: {
|
|
260
|
+
mode: "local-only";
|
|
261
|
+
deviceId: string;
|
|
262
|
+
} | {
|
|
263
|
+
mode: "local-preferred";
|
|
264
|
+
deviceId: string;
|
|
265
|
+
} | {
|
|
266
|
+
mode: "cloud-only";
|
|
267
|
+
};
|
|
268
|
+
};
|
|
269
|
+
deviceExecution?: {
|
|
270
|
+
mode: "tenant-device-only";
|
|
271
|
+
deviceId: string;
|
|
272
|
+
runtimeJobId: string;
|
|
273
|
+
validationMode?: "TENANT_TRUSTED_VALIDATOR" | undefined;
|
|
274
|
+
} | undefined;
|
|
275
|
+
} | {
|
|
276
|
+
semanticStatus: "ACCEPTED";
|
|
277
|
+
renderId: string;
|
|
278
|
+
operationId: string & import("zod").$brand<"OperationId">;
|
|
279
|
+
productionId: string;
|
|
280
|
+
timelineVersionId: string;
|
|
281
|
+
timelineFingerprint: string;
|
|
282
|
+
executionClass: "LIVE" | "TEST_ONLY";
|
|
283
|
+
manifestFingerprint: string;
|
|
284
|
+
productionRevision: number;
|
|
285
|
+
selectionId: string;
|
|
286
|
+
selectionVersion: number;
|
|
287
|
+
profileId: "FINAL_H264_1080P_V1" | "FINAL_H264_720P_V1" | "FINAL_H264_480P_V1";
|
|
288
|
+
placement: {
|
|
289
|
+
target: "DEVICE" | "SERVER";
|
|
290
|
+
reason: "OFFLINE" | "UNQUALIFIED" | "BUSY" | "LOCAL_AVAILABLE" | "CLOUD_ONLY" | "LEASE_RECOVERY";
|
|
291
|
+
policy: {
|
|
292
|
+
mode: "local-only";
|
|
293
|
+
deviceId: string;
|
|
294
|
+
} | {
|
|
295
|
+
mode: "local-preferred";
|
|
296
|
+
deviceId: string;
|
|
297
|
+
} | {
|
|
298
|
+
mode: "cloud-only";
|
|
299
|
+
};
|
|
300
|
+
};
|
|
301
|
+
deviceExecution?: {
|
|
302
|
+
mode: "tenant-device-only";
|
|
303
|
+
deviceId: string;
|
|
304
|
+
runtimeJobId: string;
|
|
305
|
+
validationMode?: "TENANT_TRUSTED_VALIDATOR" | undefined;
|
|
306
|
+
} | undefined;
|
|
307
|
+
})[];
|
|
308
|
+
connectorId: string | null;
|
|
309
|
+
connection: {
|
|
310
|
+
phase: "READY" | "CONNECTED" | "CONNECTING";
|
|
311
|
+
expiresAt: string;
|
|
312
|
+
deviceRevision: number;
|
|
313
|
+
tenantMediaProcessing?: true | undefined;
|
|
314
|
+
processorCapabilities?: ("KEYFRAME_GENERATE" | "VIDEO_GENERATE" | "SPEECH_SYNTHESIZE" | "SPEECH_EXTERNAL_QWEN" | "TEMPORAL_SAMPLE" | "DELIVERY_VALIDATE" | "COMPOSITION_RENDER" | "IMPORTED_VISUAL_NORMALIZE" | "SOURCE_SYNC_AUDIO" | "IMPORT_ORIGINAL" | "LOCAL_MEDIA_INSPECT" | "LOCAL_MEDIA_PUBLISH" | "IMPORT_PROJECT_SOURCE" | "REGISTER_VISUAL_SEQUENCE" | "TRANSCRIBE_AUDIO" | "TRANSCRIBE_EXTERNAL_QWEN")[] | undefined;
|
|
315
|
+
tenantMediaValidation?: true | undefined;
|
|
316
|
+
} | null;
|
|
317
|
+
pending: {
|
|
318
|
+
command: {
|
|
319
|
+
kind: "ENROLL";
|
|
170
320
|
input: {
|
|
171
321
|
tenantId: string;
|
|
172
|
-
|
|
173
|
-
|
|
322
|
+
requestId: string;
|
|
323
|
+
label: string;
|
|
324
|
+
platform: {
|
|
325
|
+
os: "darwin" | "linux" | "win32";
|
|
326
|
+
architecture: "x64" | "arm64";
|
|
327
|
+
};
|
|
328
|
+
runtimeVersion: string;
|
|
329
|
+
publicKey: {
|
|
330
|
+
kty: "EC";
|
|
331
|
+
crv: "P-256";
|
|
332
|
+
x: string;
|
|
333
|
+
y: string;
|
|
334
|
+
};
|
|
335
|
+
};
|
|
336
|
+
} | {
|
|
337
|
+
kind: "REVOKE_DEVICE";
|
|
338
|
+
input: {
|
|
339
|
+
tenantId: string;
|
|
340
|
+
deviceId: string;
|
|
174
341
|
requestId: string;
|
|
175
342
|
expectedRevision: number;
|
|
176
343
|
};
|