@nativestudio/cli 0.3.0-rc.2 → 0.3.0-rc.5
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/README.md +27 -3
- package/components/runtime.json +3 -3
- package/components/runtime.tgz +0 -0
- package/dist/_chunks/{chunk-BVSTJQJI.js → chunk-6LU6GJKW.js} +1 -1
- package/dist/_chunks/chunk-CA54SKBO.js +1 -0
- package/dist/_chunks/chunk-D533YC7J.js +1 -0
- package/dist/_chunks/{chunk-C33A2DW4.js → chunk-DXJQWTLG.js} +1 -1
- package/dist/_chunks/{chunk-7S3DJ2QE.js → chunk-FU3524Z6.js} +1 -1
- package/dist/_chunks/chunk-INLSOHAK.js +1 -0
- package/dist/_chunks/chunk-JPH576UL.js +1 -0
- package/dist/_chunks/chunk-KB2GVAN7.js +1 -0
- package/dist/_chunks/{chunk-C753RRRA.js → chunk-KNFUMWDY.js} +1 -1
- package/dist/_chunks/chunk-N6S6HCWE.js +1 -0
- package/dist/_chunks/chunk-PBEHCYR7.js +1 -0
- package/dist/_chunks/chunk-RVGDXRPK.js +1 -0
- package/dist/_chunks/chunk-YKOJPJZR.js +1 -0
- package/dist/_chunks/{files-FZEK2ZZJ.js → files-TTIQ7LYJ.js} +1 -1
- package/dist/_chunks/local-main-S2K34Y2F.js +1 -0
- package/dist/_chunks/local-mcp-LCHXL2IE.js +1 -0
- package/dist/_chunks/{main-VRIQTI6R.js → main-KLXOK7QK.js} +2 -2
- package/dist/_chunks/mcp-P7W623FE.js +1 -0
- package/dist/_chunks/oauth-WJ36KWAC.js +1 -0
- package/dist/_chunks/project-connect-W7V3OALV.js +1 -0
- package/dist/_chunks/render-main-ZW6UJHGN.js +1 -0
- package/dist/_chunks/src-BXLFLNRG.js +1 -0
- package/dist/_chunks/{stdio-main-KOGQ5OWF.js → stdio-main-4Z2JVCMO.js} +1 -1
- package/dist/_types/cli/local/desktop-contract.d.ts +1382 -0
- package/dist/_types/cli/local/desktop-device-contract.d.ts +1165 -0
- package/dist/_types/cli/local/desktop-device-navigation.d.ts +3 -0
- package/dist/_types/cli/local/desktop-device-owner.d.ts +275 -0
- package/dist/_types/cli/local/desktop-device-state.d.ts +230 -0
- package/dist/_types/cli/local/desktop-owner.d.ts +552 -1
- package/dist/_types/cli/local/ledger.d.ts +62 -10
- package/dist/_types/cli/local/manager.d.ts +485 -20
- package/dist/_types/cli/local/mcp-tools.d.ts +75 -12
- package/dist/_types/cli/local/project-render-tools.d.ts +522 -0
- package/dist/_types/cli/local/releases.d.ts +10 -2
- package/dist/_types/cli/local-management.d.ts +3 -0
- package/dist/_types/cli/local-navigation.d.ts +1 -0
- package/dist/_types/contracts/delivery-manifest.d.ts +63 -27
- package/dist/_types/contracts/delivery-operations.d.ts +21 -9
- package/dist/_types/contracts/device-render.d.ts +10 -0
- package/dist/_types/contracts/exploration-recommendation.d.ts +84 -36
- package/dist/_types/contracts/final-render.d.ts +9 -0
- package/dist/_types/contracts/index.d.ts +1 -0
- package/dist/_types/contracts/local-execution/agent-context.d.ts +365 -0
- package/dist/_types/contracts/local-execution/agent-evidence.d.ts +79 -0
- package/dist/_types/contracts/local-execution/agent-grant.d.ts +31 -0
- package/dist/_types/contracts/local-execution/agent-review.d.ts +733 -46
- package/dist/_types/contracts/local-execution/device.d.ts +10 -2
- package/dist/_types/contracts/local-execution/index.d.ts +6 -0
- package/dist/_types/contracts/local-execution/ipc.d.ts +1759 -37
- package/dist/_types/contracts/local-execution/lifecycle.d.ts +48 -6
- package/dist/_types/contracts/local-execution/local-navigation.d.ts +112 -10
- package/dist/_types/contracts/local-execution/management.d.ts +394 -0
- package/dist/_types/contracts/local-execution/media-recipe.d.ts +203 -0
- package/dist/_types/contracts/local-execution/offline.d.ts +59 -0
- package/dist/_types/contracts/local-execution/preview.d.ts +7607 -159
- package/dist/_types/contracts/local-execution/work.d.ts +7674 -294
- package/dist/_types/contracts/local-execution/workspace.d.ts +136 -0
- package/dist/_types/contracts/programmatic-exploration.d.ts +42 -18
- package/dist/_types/contracts/repair-strategy.d.ts +42 -18
- package/dist/_types/contracts/review-intelligence-final-output.d.ts +42 -18
- package/dist/_types/contracts/review-intelligence.d.ts +84 -36
- package/dist/_types/contracts/rough-cut-manifest.d.ts +7 -3
- package/dist/_types/contracts/rough-cut-profile.d.ts +12 -3
- package/dist/_types/contracts/rough-cut-review.d.ts +126 -54
- package/dist/_types/contracts/rough-cut.d.ts +85 -32
- package/dist/_types/contracts/visual-layer-render.d.ts +21 -9
- package/dist/_types/sdk/local-runtime/device-client.d.ts +138 -2
- package/dist/_types/sdk/local-runtime/workspace.d.ts +181 -0
- package/dist/_types/sdk/local-runtime-client.d.ts +1294 -56
- package/dist/entry.js +1 -1
- package/dist/local-management.js +1 -1
- package/dist/local-navigation.js +1 -1
- package/dist/native/JobNative.cs +10 -0
- package/dist/native/JobRunner.cs +24 -3
- package/dist/native/NativeMain.cs +15 -0
- package/package.json +1 -1
- package/dist/_chunks/chunk-66CUOZVI.js +0 -1
- package/dist/_chunks/chunk-E57YVMQ4.js +0 -1
- package/dist/_chunks/chunk-HLKERZIE.js +0 -1
- package/dist/_chunks/chunk-K6LVS2IN.js +0 -1
- package/dist/_chunks/chunk-KHKUJXQX.js +0 -1
- package/dist/_chunks/chunk-VC3ODN3M.js +0 -1
- package/dist/_chunks/local-main-NLFS74Q4.js +0 -1
- package/dist/_chunks/local-mcp-OLHBBVNN.js +0 -1
- package/dist/_chunks/mcp-EIMXNRH3.js +0 -1
- package/dist/_chunks/oauth-F7EZGVME.js +0 -1
- package/dist/_chunks/project-connect-MXM7IY55.js +0 -1
- package/dist/_chunks/src-7F6ZEU3U.js +0 -1
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
/** Fixed human owner operations. Never available through a scoped MCP connector. */
|
|
2
|
+
export declare function runDesktopDeviceRequest(home: string, raw: unknown): Promise<{
|
|
3
|
+
view: {
|
|
4
|
+
revision: number;
|
|
5
|
+
connection: {
|
|
6
|
+
phase: "READY" | "CONNECTING" | "CONNECTED";
|
|
7
|
+
expiresAt: string;
|
|
8
|
+
projects: {
|
|
9
|
+
tenantId: string;
|
|
10
|
+
projectId: string;
|
|
11
|
+
}[];
|
|
12
|
+
} | null;
|
|
13
|
+
previews: ({
|
|
14
|
+
semanticStatus: "ACCEPTED";
|
|
15
|
+
renderId: string;
|
|
16
|
+
operationId: string & import("zod").$brand<"OperationId">;
|
|
17
|
+
productionId: string;
|
|
18
|
+
timelineVersionId: string;
|
|
19
|
+
timelineFingerprint: string;
|
|
20
|
+
executionClass: "LIVE" | "TEST_ONLY";
|
|
21
|
+
manifestFingerprint: string;
|
|
22
|
+
productionRevision: number;
|
|
23
|
+
placement: {
|
|
24
|
+
target: "DEVICE" | "SERVER";
|
|
25
|
+
reason: "OFFLINE" | "UNQUALIFIED" | "BUSY" | "LOCAL_AVAILABLE" | "CLOUD_ONLY" | "LEASE_RECOVERY";
|
|
26
|
+
policy: {
|
|
27
|
+
mode: "local-only";
|
|
28
|
+
deviceId: string;
|
|
29
|
+
} | {
|
|
30
|
+
mode: "local-preferred";
|
|
31
|
+
deviceId: string;
|
|
32
|
+
} | {
|
|
33
|
+
mode: "cloud-only";
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
deviceExecution?: {
|
|
37
|
+
mode: "tenant-device-only";
|
|
38
|
+
deviceId: string;
|
|
39
|
+
runtimeJobId: string;
|
|
40
|
+
} | undefined;
|
|
41
|
+
} | {
|
|
42
|
+
semanticStatus: "ACCEPTED";
|
|
43
|
+
renderId: string;
|
|
44
|
+
operationId: string & import("zod").$brand<"OperationId">;
|
|
45
|
+
productionId: string;
|
|
46
|
+
timelineVersionId: string;
|
|
47
|
+
timelineFingerprint: string;
|
|
48
|
+
executionClass: "LIVE" | "TEST_ONLY";
|
|
49
|
+
manifestFingerprint: string;
|
|
50
|
+
productionRevision: number;
|
|
51
|
+
selectionId: string;
|
|
52
|
+
selectionVersion: number;
|
|
53
|
+
profileId: "FINAL_H264_1080P_V1" | "FINAL_H264_720P_V1" | "FINAL_H264_480P_V1";
|
|
54
|
+
placement: {
|
|
55
|
+
target: "DEVICE" | "SERVER";
|
|
56
|
+
reason: "OFFLINE" | "UNQUALIFIED" | "BUSY" | "LOCAL_AVAILABLE" | "CLOUD_ONLY" | "LEASE_RECOVERY";
|
|
57
|
+
policy: {
|
|
58
|
+
mode: "local-only";
|
|
59
|
+
deviceId: string;
|
|
60
|
+
} | {
|
|
61
|
+
mode: "local-preferred";
|
|
62
|
+
deviceId: string;
|
|
63
|
+
} | {
|
|
64
|
+
mode: "cloud-only";
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
deviceExecution?: {
|
|
68
|
+
mode: "tenant-device-only";
|
|
69
|
+
deviceId: string;
|
|
70
|
+
runtimeJobId: string;
|
|
71
|
+
} | undefined;
|
|
72
|
+
})[];
|
|
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
|
+
device: {
|
|
88
|
+
deviceId: string;
|
|
89
|
+
label: string;
|
|
90
|
+
} | null;
|
|
91
|
+
pending: {
|
|
92
|
+
kind: "FINAL_RENDER" | "ENROLL" | "GRANT" | "REVOKE_GRANT" | "PREVIEW";
|
|
93
|
+
phase: "SENDING" | "PREPARED" | "REFUSED";
|
|
94
|
+
fingerprint: string;
|
|
95
|
+
} | null;
|
|
96
|
+
installation?: {
|
|
97
|
+
version: string;
|
|
98
|
+
fingerprint: string;
|
|
99
|
+
workProtocol?: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2" | undefined;
|
|
100
|
+
} | null | undefined;
|
|
101
|
+
automaticConnection?: boolean | undefined;
|
|
102
|
+
};
|
|
103
|
+
command?: {
|
|
104
|
+
kind: "ENROLL";
|
|
105
|
+
input: {
|
|
106
|
+
tenantId: string;
|
|
107
|
+
requestId: string;
|
|
108
|
+
label: string;
|
|
109
|
+
platform: {
|
|
110
|
+
os: "darwin" | "linux" | "win32";
|
|
111
|
+
architecture: "x64" | "arm64";
|
|
112
|
+
};
|
|
113
|
+
runtimeVersion: string;
|
|
114
|
+
publicKey: {
|
|
115
|
+
kty: "EC";
|
|
116
|
+
crv: "P-256";
|
|
117
|
+
x: string;
|
|
118
|
+
y: string;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
} | {
|
|
122
|
+
kind: "GRANT";
|
|
123
|
+
input: {
|
|
124
|
+
tenantId: string;
|
|
125
|
+
projectId: string;
|
|
126
|
+
requestId: string;
|
|
127
|
+
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
|
+
requestId: string;
|
|
141
|
+
expectedRevision: number;
|
|
142
|
+
};
|
|
143
|
+
} | {
|
|
144
|
+
kind: "PREVIEW";
|
|
145
|
+
input: {
|
|
146
|
+
tenantId: string & import("zod").$brand<"TenantId">;
|
|
147
|
+
idempotencyKey: string;
|
|
148
|
+
productionId: string & import("zod").$brand<"ProductionId">;
|
|
149
|
+
expectedProductionRevision: number;
|
|
150
|
+
timelineVersionId: string;
|
|
151
|
+
profileId: "PREVIEW_H264_480P_V1" | "PREVIEW_H264_720P_V1" | "PREVIEW_H264_1080P_V1";
|
|
152
|
+
timelineFingerprint: string;
|
|
153
|
+
placement: {
|
|
154
|
+
mode: "local-only";
|
|
155
|
+
deviceId: string;
|
|
156
|
+
} | {
|
|
157
|
+
mode: "local-preferred";
|
|
158
|
+
deviceId: string;
|
|
159
|
+
} | {
|
|
160
|
+
mode: "cloud-only";
|
|
161
|
+
};
|
|
162
|
+
localProfile?: "STUDIO_MEDIA_V2" | undefined;
|
|
163
|
+
};
|
|
164
|
+
} | {
|
|
165
|
+
kind: "FINAL_RENDER";
|
|
166
|
+
input: {
|
|
167
|
+
tenantId: string & import("zod").$brand<"TenantId">;
|
|
168
|
+
idempotencyKey: string;
|
|
169
|
+
productionId: string & import("zod").$brand<"ProductionId">;
|
|
170
|
+
expectedProductionRevision: number;
|
|
171
|
+
timelineVersionId: string;
|
|
172
|
+
profileId: "FINAL_H264_1080P_V1" | "FINAL_H264_720P_V1" | "FINAL_H264_480P_V1";
|
|
173
|
+
timelineFingerprint: string;
|
|
174
|
+
selectionId: string;
|
|
175
|
+
audioPolicy: "SILENT" | "MIXED";
|
|
176
|
+
captionPolicy: "NONE" | "BURN_IN";
|
|
177
|
+
expectedFinalReadyVersion: number;
|
|
178
|
+
placement: {
|
|
179
|
+
mode: "local-only";
|
|
180
|
+
deviceId: string;
|
|
181
|
+
} | {
|
|
182
|
+
mode: "local-preferred";
|
|
183
|
+
deviceId: string;
|
|
184
|
+
} | {
|
|
185
|
+
mode: "cloud-only";
|
|
186
|
+
};
|
|
187
|
+
};
|
|
188
|
+
} | undefined;
|
|
189
|
+
}>;
|
|
190
|
+
export declare function desktopDevicePending(home: string, scope: unknown): Promise<{
|
|
191
|
+
kind: "ENROLL";
|
|
192
|
+
input: {
|
|
193
|
+
tenantId: string;
|
|
194
|
+
requestId: string;
|
|
195
|
+
label: string;
|
|
196
|
+
platform: {
|
|
197
|
+
os: "darwin" | "linux" | "win32";
|
|
198
|
+
architecture: "x64" | "arm64";
|
|
199
|
+
};
|
|
200
|
+
runtimeVersion: string;
|
|
201
|
+
publicKey: {
|
|
202
|
+
kty: "EC";
|
|
203
|
+
crv: "P-256";
|
|
204
|
+
x: string;
|
|
205
|
+
y: string;
|
|
206
|
+
};
|
|
207
|
+
};
|
|
208
|
+
} | {
|
|
209
|
+
kind: "GRANT";
|
|
210
|
+
input: {
|
|
211
|
+
tenantId: string;
|
|
212
|
+
projectId: string;
|
|
213
|
+
requestId: string;
|
|
214
|
+
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
|
+
requestId: string;
|
|
228
|
+
expectedRevision: number;
|
|
229
|
+
};
|
|
230
|
+
} | {
|
|
231
|
+
kind: "PREVIEW";
|
|
232
|
+
input: {
|
|
233
|
+
tenantId: string & import("zod").$brand<"TenantId">;
|
|
234
|
+
idempotencyKey: string;
|
|
235
|
+
productionId: string & import("zod").$brand<"ProductionId">;
|
|
236
|
+
expectedProductionRevision: number;
|
|
237
|
+
timelineVersionId: string;
|
|
238
|
+
profileId: "PREVIEW_H264_480P_V1" | "PREVIEW_H264_720P_V1" | "PREVIEW_H264_1080P_V1";
|
|
239
|
+
timelineFingerprint: string;
|
|
240
|
+
placement: {
|
|
241
|
+
mode: "local-only";
|
|
242
|
+
deviceId: string;
|
|
243
|
+
} | {
|
|
244
|
+
mode: "local-preferred";
|
|
245
|
+
deviceId: string;
|
|
246
|
+
} | {
|
|
247
|
+
mode: "cloud-only";
|
|
248
|
+
};
|
|
249
|
+
localProfile?: "STUDIO_MEDIA_V2" | undefined;
|
|
250
|
+
};
|
|
251
|
+
} | {
|
|
252
|
+
kind: "FINAL_RENDER";
|
|
253
|
+
input: {
|
|
254
|
+
tenantId: string & import("zod").$brand<"TenantId">;
|
|
255
|
+
idempotencyKey: string;
|
|
256
|
+
productionId: string & import("zod").$brand<"ProductionId">;
|
|
257
|
+
expectedProductionRevision: number;
|
|
258
|
+
timelineVersionId: string;
|
|
259
|
+
profileId: "FINAL_H264_1080P_V1" | "FINAL_H264_720P_V1" | "FINAL_H264_480P_V1";
|
|
260
|
+
timelineFingerprint: string;
|
|
261
|
+
selectionId: string;
|
|
262
|
+
audioPolicy: "SILENT" | "MIXED";
|
|
263
|
+
captionPolicy: "NONE" | "BURN_IN";
|
|
264
|
+
expectedFinalReadyVersion: number;
|
|
265
|
+
placement: {
|
|
266
|
+
mode: "local-only";
|
|
267
|
+
deviceId: string;
|
|
268
|
+
} | {
|
|
269
|
+
mode: "local-preferred";
|
|
270
|
+
deviceId: string;
|
|
271
|
+
} | {
|
|
272
|
+
mode: "cloud-only";
|
|
273
|
+
};
|
|
274
|
+
};
|
|
275
|
+
} | null>;
|
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
import { type DesktopDeviceScope, type DesktopDeviceState } from "./desktop-device-contract.js";
|
|
2
|
+
/** Mechanical receipts only; current cloud authority is checked by every native call. */
|
|
3
|
+
export declare class DesktopDeviceRecords {
|
|
4
|
+
readonly root: string;
|
|
5
|
+
readonly scope: DesktopDeviceScope;
|
|
6
|
+
private constructor();
|
|
7
|
+
static open(home: string, raw: unknown): Promise<DesktopDeviceRecords>;
|
|
8
|
+
current(): Promise<DesktopDeviceState>;
|
|
9
|
+
save(before: DesktopDeviceState, fields: Partial<DesktopDeviceState>): Promise<{
|
|
10
|
+
revision: number;
|
|
11
|
+
scope: {
|
|
12
|
+
origin: string;
|
|
13
|
+
tenantId: string;
|
|
14
|
+
principalId: string;
|
|
15
|
+
};
|
|
16
|
+
enrollment: {
|
|
17
|
+
tenantId: string;
|
|
18
|
+
requestId: string;
|
|
19
|
+
label: string;
|
|
20
|
+
platform: {
|
|
21
|
+
os: "darwin" | "linux" | "win32";
|
|
22
|
+
architecture: "x64" | "arm64";
|
|
23
|
+
};
|
|
24
|
+
runtimeVersion: string;
|
|
25
|
+
publicKey: {
|
|
26
|
+
kty: "EC";
|
|
27
|
+
crv: "P-256";
|
|
28
|
+
x: string;
|
|
29
|
+
y: string;
|
|
30
|
+
};
|
|
31
|
+
} | null;
|
|
32
|
+
device: {
|
|
33
|
+
tenantId: string;
|
|
34
|
+
publicKey: {
|
|
35
|
+
kty: "EC";
|
|
36
|
+
crv: "P-256";
|
|
37
|
+
x: string;
|
|
38
|
+
y: string;
|
|
39
|
+
};
|
|
40
|
+
label: string;
|
|
41
|
+
platform: {
|
|
42
|
+
os: "darwin" | "linux" | "win32";
|
|
43
|
+
architecture: "x64" | "arm64";
|
|
44
|
+
};
|
|
45
|
+
runtimeVersion: string;
|
|
46
|
+
deviceId: string;
|
|
47
|
+
revision: number;
|
|
48
|
+
enrolledByPrincipalId: string;
|
|
49
|
+
createdAt: string;
|
|
50
|
+
verifiedAt: string | null;
|
|
51
|
+
revokedAt: string | null;
|
|
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
|
+
previews: ({
|
|
68
|
+
semanticStatus: "ACCEPTED";
|
|
69
|
+
renderId: string;
|
|
70
|
+
operationId: string & import("zod").$brand<"OperationId">;
|
|
71
|
+
productionId: string;
|
|
72
|
+
timelineVersionId: string;
|
|
73
|
+
timelineFingerprint: string;
|
|
74
|
+
executionClass: "LIVE" | "TEST_ONLY";
|
|
75
|
+
manifestFingerprint: string;
|
|
76
|
+
productionRevision: number;
|
|
77
|
+
placement: {
|
|
78
|
+
target: "DEVICE" | "SERVER";
|
|
79
|
+
reason: "OFFLINE" | "UNQUALIFIED" | "BUSY" | "LOCAL_AVAILABLE" | "CLOUD_ONLY" | "LEASE_RECOVERY";
|
|
80
|
+
policy: {
|
|
81
|
+
mode: "local-only";
|
|
82
|
+
deviceId: string;
|
|
83
|
+
} | {
|
|
84
|
+
mode: "local-preferred";
|
|
85
|
+
deviceId: string;
|
|
86
|
+
} | {
|
|
87
|
+
mode: "cloud-only";
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
deviceExecution?: {
|
|
91
|
+
mode: "tenant-device-only";
|
|
92
|
+
deviceId: string;
|
|
93
|
+
runtimeJobId: string;
|
|
94
|
+
} | undefined;
|
|
95
|
+
} | {
|
|
96
|
+
semanticStatus: "ACCEPTED";
|
|
97
|
+
renderId: string;
|
|
98
|
+
operationId: string & import("zod").$brand<"OperationId">;
|
|
99
|
+
productionId: string;
|
|
100
|
+
timelineVersionId: string;
|
|
101
|
+
timelineFingerprint: string;
|
|
102
|
+
executionClass: "LIVE" | "TEST_ONLY";
|
|
103
|
+
manifestFingerprint: string;
|
|
104
|
+
productionRevision: number;
|
|
105
|
+
selectionId: string;
|
|
106
|
+
selectionVersion: number;
|
|
107
|
+
profileId: "FINAL_H264_1080P_V1" | "FINAL_H264_720P_V1" | "FINAL_H264_480P_V1";
|
|
108
|
+
placement: {
|
|
109
|
+
target: "DEVICE" | "SERVER";
|
|
110
|
+
reason: "OFFLINE" | "UNQUALIFIED" | "BUSY" | "LOCAL_AVAILABLE" | "CLOUD_ONLY" | "LEASE_RECOVERY";
|
|
111
|
+
policy: {
|
|
112
|
+
mode: "local-only";
|
|
113
|
+
deviceId: string;
|
|
114
|
+
} | {
|
|
115
|
+
mode: "local-preferred";
|
|
116
|
+
deviceId: string;
|
|
117
|
+
} | {
|
|
118
|
+
mode: "cloud-only";
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
deviceExecution?: {
|
|
122
|
+
mode: "tenant-device-only";
|
|
123
|
+
deviceId: string;
|
|
124
|
+
runtimeJobId: string;
|
|
125
|
+
} | undefined;
|
|
126
|
+
})[];
|
|
127
|
+
connectorId: string | null;
|
|
128
|
+
connection: {
|
|
129
|
+
phase: "READY" | "CONNECTING" | "CONNECTED";
|
|
130
|
+
expiresAt: string;
|
|
131
|
+
projects: {
|
|
132
|
+
tenantId: string;
|
|
133
|
+
projectId: string;
|
|
134
|
+
}[];
|
|
135
|
+
} | null;
|
|
136
|
+
pending: {
|
|
137
|
+
command: {
|
|
138
|
+
kind: "ENROLL";
|
|
139
|
+
input: {
|
|
140
|
+
tenantId: string;
|
|
141
|
+
requestId: string;
|
|
142
|
+
label: string;
|
|
143
|
+
platform: {
|
|
144
|
+
os: "darwin" | "linux" | "win32";
|
|
145
|
+
architecture: "x64" | "arm64";
|
|
146
|
+
};
|
|
147
|
+
runtimeVersion: string;
|
|
148
|
+
publicKey: {
|
|
149
|
+
kty: "EC";
|
|
150
|
+
crv: "P-256";
|
|
151
|
+
x: string;
|
|
152
|
+
y: string;
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
} | {
|
|
156
|
+
kind: "GRANT";
|
|
157
|
+
input: {
|
|
158
|
+
tenantId: string;
|
|
159
|
+
projectId: string;
|
|
160
|
+
requestId: string;
|
|
161
|
+
deviceId: string;
|
|
162
|
+
deviceRevision: number;
|
|
163
|
+
expectedRevision: number;
|
|
164
|
+
expiresAt: string;
|
|
165
|
+
capability: "ROUGH_CUT_PREVIEW_V1" | "STUDIO_MEDIA_V2";
|
|
166
|
+
executionPolicy?: "DEVICE_ONLY" | undefined;
|
|
167
|
+
};
|
|
168
|
+
} | {
|
|
169
|
+
kind: "REVOKE_GRANT";
|
|
170
|
+
input: {
|
|
171
|
+
tenantId: string;
|
|
172
|
+
projectId: string;
|
|
173
|
+
grantId: string;
|
|
174
|
+
requestId: string;
|
|
175
|
+
expectedRevision: number;
|
|
176
|
+
};
|
|
177
|
+
} | {
|
|
178
|
+
kind: "PREVIEW";
|
|
179
|
+
input: {
|
|
180
|
+
tenantId: string & import("zod").$brand<"TenantId">;
|
|
181
|
+
idempotencyKey: string;
|
|
182
|
+
productionId: string & import("zod").$brand<"ProductionId">;
|
|
183
|
+
expectedProductionRevision: number;
|
|
184
|
+
timelineVersionId: string;
|
|
185
|
+
profileId: "PREVIEW_H264_480P_V1" | "PREVIEW_H264_720P_V1" | "PREVIEW_H264_1080P_V1";
|
|
186
|
+
timelineFingerprint: string;
|
|
187
|
+
placement: {
|
|
188
|
+
mode: "local-only";
|
|
189
|
+
deviceId: string;
|
|
190
|
+
} | {
|
|
191
|
+
mode: "local-preferred";
|
|
192
|
+
deviceId: string;
|
|
193
|
+
} | {
|
|
194
|
+
mode: "cloud-only";
|
|
195
|
+
};
|
|
196
|
+
localProfile?: "STUDIO_MEDIA_V2" | undefined;
|
|
197
|
+
};
|
|
198
|
+
} | {
|
|
199
|
+
kind: "FINAL_RENDER";
|
|
200
|
+
input: {
|
|
201
|
+
tenantId: string & import("zod").$brand<"TenantId">;
|
|
202
|
+
idempotencyKey: string;
|
|
203
|
+
productionId: string & import("zod").$brand<"ProductionId">;
|
|
204
|
+
expectedProductionRevision: number;
|
|
205
|
+
timelineVersionId: string;
|
|
206
|
+
profileId: "FINAL_H264_1080P_V1" | "FINAL_H264_720P_V1" | "FINAL_H264_480P_V1";
|
|
207
|
+
timelineFingerprint: string;
|
|
208
|
+
selectionId: string;
|
|
209
|
+
audioPolicy: "SILENT" | "MIXED";
|
|
210
|
+
captionPolicy: "NONE" | "BURN_IN";
|
|
211
|
+
expectedFinalReadyVersion: number;
|
|
212
|
+
placement: {
|
|
213
|
+
mode: "local-only";
|
|
214
|
+
deviceId: string;
|
|
215
|
+
} | {
|
|
216
|
+
mode: "local-preferred";
|
|
217
|
+
deviceId: string;
|
|
218
|
+
} | {
|
|
219
|
+
mode: "cloud-only";
|
|
220
|
+
};
|
|
221
|
+
};
|
|
222
|
+
};
|
|
223
|
+
fingerprint: string;
|
|
224
|
+
phase: "SENDING" | "PREPARED" | "REFUSED";
|
|
225
|
+
} | null;
|
|
226
|
+
}>;
|
|
227
|
+
keyPath(): string;
|
|
228
|
+
connectorPath(id: string): string;
|
|
229
|
+
}
|
|
230
|
+
export declare function desktopDeviceConnector(home: string, scope: DesktopDeviceScope): Promise<string>;
|