@nativestudio/cli 0.3.0-rc.1 → 0.3.0-rc.14
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 +37 -8
- package/LICENSE +201 -21
- package/components/runtime.json +33 -4
- package/components/runtime.tgz +0 -0
- package/dist/_chunks/chunk-2AI3WF2O.js +1 -0
- package/dist/_chunks/{chunk-G42IS5JF.js → chunk-3AVC742O.js} +1 -1
- package/dist/_chunks/chunk-5DY7LSZZ.js +1 -0
- package/dist/_chunks/{chunk-25EDDZQA.js → chunk-6LU6GJKW.js} +1 -1
- package/dist/_chunks/chunk-6LY4JYSG.js +1 -0
- package/dist/_chunks/chunk-6UYY5KHI.js +1 -0
- package/dist/_chunks/chunk-77IAHNM2.js +1 -0
- package/dist/_chunks/chunk-C62JAWRQ.js +1 -0
- package/dist/_chunks/{chunk-MSOMVWKN.js → chunk-FU3524Z6.js} +1 -1
- package/dist/_chunks/chunk-HTUTYIRU.js +1 -0
- package/dist/_chunks/chunk-HY7NXJYX.js +1 -0
- package/dist/_chunks/chunk-KB2GVAN7.js +1 -0
- package/dist/_chunks/chunk-PDQYFIQQ.js +1 -0
- package/dist/_chunks/chunk-RDIMORUT.js +1 -0
- package/dist/_chunks/chunk-RK2P3UVF.js +1 -0
- package/dist/_chunks/chunk-ROBBF33U.js +1 -0
- package/dist/_chunks/chunk-S74X4KIC.js +1 -0
- package/dist/_chunks/chunk-SV3NF7GO.js +1 -0
- package/dist/_chunks/chunk-TLPI6P7L.js +1 -0
- package/dist/_chunks/chunk-U7ECMITP.js +1 -0
- package/dist/_chunks/chunk-VD3OQ743.js +1 -0
- package/dist/_chunks/chunk-VKLS4QK5.js +1 -0
- package/dist/_chunks/chunk-W6C63ZN7.js +1 -0
- package/dist/_chunks/chunk-ZRSYOFMX.js +1 -0
- package/dist/_chunks/connect-6UH7ZFAC.js +1 -0
- package/dist/_chunks/device-management-H3NIDIPY.js +1 -0
- package/dist/_chunks/device-preflight-LHFLPVAB.js +1 -0
- package/dist/_chunks/devices-inventory-I2E3Q4DA.js +1 -0
- package/dist/_chunks/devices-main-VV2VYU4T.js +1 -0
- package/dist/_chunks/{files-TBJVDQWU.js → files-TTIQ7LYJ.js} +1 -1
- package/dist/_chunks/host-main-3JFGVU5P.js +1 -0
- package/dist/_chunks/http-profile-NIQDCFPU.js +1 -0
- package/dist/_chunks/library-main-CTBW7DAI.js +1 -0
- package/dist/_chunks/local-main-227MNGEC.js +1 -0
- package/dist/_chunks/local-mcp-XB6E3V2W.js +1 -0
- package/dist/_chunks/main-W6NNZFLK.js +2 -0
- package/dist/_chunks/mcp-EXQ5UAHB.js +1 -0
- package/dist/_chunks/oauth-HC6TI7HB.js +1 -0
- package/dist/_chunks/render-main-VTM6WGFP.js +1 -0
- package/dist/_chunks/source-import-KKV2UWJO.js +1 -0
- package/dist/_chunks/src-OIY5TBQT.js +1 -0
- package/dist/_chunks/{stdio-main-JEADWO7U.js → stdio-main-Y7N4NVKU.js} +1 -1
- package/dist/_chunks/workspace-main-Y7ZVBRJJ.js +1 -0
- package/dist/_types/cli/local/desktop-contract.d.ts +2027 -1
- package/dist/_types/cli/local/desktop-device-contract.d.ts +792 -0
- package/dist/_types/cli/local/desktop-device-navigation.d.ts +3 -0
- package/dist/_types/cli/local/desktop-device-owner.d.ts +270 -0
- package/dist/_types/cli/local/desktop-device-state.d.ts +449 -0
- package/dist/_types/cli/local/desktop-library.d.ts +853 -0
- package/dist/_types/cli/local/desktop-owner.d.ts +784 -1
- package/dist/_types/cli/local/ledger.d.ts +74 -20
- package/dist/_types/cli/local/manager.d.ts +1255 -49
- package/dist/_types/cli/local/mcp-tools.d.ts +296 -54
- package/dist/_types/cli/local/releases.d.ts +30 -7
- package/dist/_types/cli/local-management.d.ts +8 -0
- package/dist/_types/cli/local-navigation.d.ts +1 -0
- package/dist/_types/contracts/artifact-discovery.d.ts +136 -4
- package/dist/_types/contracts/audio.d.ts +166 -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/consistency-profile.d.ts +102 -6
- package/dist/_types/contracts/continuity-evaluation.d.ts +1 -1
- package/dist/_types/contracts/delivery-manifest.d.ts +25 -11729
- package/dist/_types/contracts/delivery-operations.d.ts +201 -3909
- 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 +79 -0
- package/dist/_types/contracts/editor-intelligence.d.ts +392 -2531
- package/dist/_types/contracts/exploration-recommendation.d.ts +263 -11607
- package/dist/_types/contracts/external-agent-access.d.ts +4 -6
- package/dist/_types/contracts/final-ready.d.ts +22 -22
- package/dist/_types/contracts/final-render.d.ts +1742 -6949
- package/dist/_types/contracts/human-identity.d.ts +13 -0
- package/dist/_types/contracts/human-links.d.ts +58 -0
- package/dist/_types/contracts/index.d.ts +10 -0
- package/dist/_types/contracts/interface/media-output.d.ts +118 -0
- package/dist/_types/contracts/interface/operation.d.ts +30 -0
- package/dist/_types/contracts/interface/production-snapshot.d.ts +75 -193
- package/dist/_types/contracts/interface/query.d.ts +60 -0
- package/dist/_types/contracts/keyframe-generation.d.ts +29 -0
- package/dist/_types/contracts/local-execution/agent-context.d.ts +385 -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 +522 -64
- package/dist/_types/contracts/local-execution/audio-profile.d.ts +6 -0
- 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/components.d.ts +45 -0
- package/dist/_types/contracts/local-execution/cpu-preparation.d.ts +46 -0
- package/dist/_types/contracts/local-execution/cpu-resources.d.ts +55 -0
- package/dist/_types/contracts/local-execution/cpu-speech-job.d.ts +70 -0
- package/dist/_types/contracts/local-execution/cpu-speech.d.ts +161 -0
- package/dist/_types/contracts/local-execution/descriptor.d.ts +38 -0
- 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 +22 -54
- package/dist/_types/contracts/local-execution/external-generation.d.ts +199 -0
- package/dist/_types/contracts/local-execution/index.d.ts +32 -0
- package/dist/_types/contracts/local-execution/ipc.d.ts +2774 -230
- package/dist/_types/contracts/local-execution/library-command.d.ts +620 -0
- package/dist/_types/contracts/local-execution/library-result.d.ts +424 -0
- package/dist/_types/contracts/local-execution/library.d.ts +873 -0
- package/dist/_types/contracts/local-execution/lifecycle.d.ts +289 -47
- package/dist/_types/contracts/local-execution/local-navigation.d.ts +285 -65
- package/dist/_types/contracts/local-execution/management.d.ts +404 -0
- package/dist/_types/contracts/local-execution/media-recipe.d.ts +207 -0
- 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/offline.d.ts +59 -0
- package/dist/_types/contracts/local-execution/preview.d.ts +176 -3561
- package/dist/_types/contracts/local-execution/processor-capability.d.ts +41 -0
- package/dist/_types/contracts/local-execution/processor-direct.d.ts +290 -0
- package/dist/_types/contracts/local-execution/processor-recipes.d.ts +1165 -0
- package/dist/_types/contracts/local-execution/processor-toolchain.d.ts +47 -0
- package/dist/_types/contracts/local-execution/processor.d.ts +6354 -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 +71 -5
- package/dist/_types/contracts/local-execution/whisper.d.ts +24 -0
- package/dist/_types/contracts/local-execution/work.d.ts +124 -3402
- package/dist/_types/contracts/local-execution/workspace.d.ts +141 -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/native-speech-model.d.ts +53 -0
- package/dist/_types/contracts/native-speech-options.d.ts +25 -0
- package/dist/_types/contracts/navigation-context.d.ts +2 -2
- package/dist/_types/contracts/navigation-groups.d.ts +1 -1
- package/dist/_types/contracts/navigation.d.ts +60 -20
- package/dist/_types/contracts/observation-profile.d.ts +3 -3
- package/dist/_types/contracts/production-creation.d.ts +30 -0
- package/dist/_types/contracts/production.d.ts +30 -0
- package/dist/_types/contracts/programmatic-composition.d.ts +24 -24
- package/dist/_types/contracts/programmatic-exploration.d.ts +348 -5985
- package/dist/_types/contracts/project-library.d.ts +30 -0
- package/dist/_types/contracts/project.d.ts +30 -0
- package/dist/_types/contracts/provider-catalog.d.ts +3 -3
- package/dist/_types/contracts/provider-models.d.ts +209 -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 +164 -4479
- package/dist/_types/contracts/review-intelligence-final-output.d.ts +417 -8149
- package/dist/_types/contracts/review-intelligence.d.ts +452 -11420
- package/dist/_types/contracts/rough-cut-manifest.d.ts +27 -7
- package/dist/_types/contracts/rough-cut-profile.d.ts +12 -3
- package/dist/_types/contracts/rough-cut-review.d.ts +144 -12495
- package/dist/_types/contracts/rough-cut.d.ts +1170 -5673
- package/dist/_types/contracts/shot-preparation-basis.d.ts +2 -2
- package/dist/_types/contracts/shot-preparation.d.ts +4 -4
- package/dist/_types/contracts/sound-making-plan.d.ts +210 -2
- package/dist/_types/contracts/speech-cost.d.ts +96 -0
- package/dist/_types/contracts/speech-parameters.d.ts +39 -0
- package/dist/_types/contracts/speech.d.ts +602 -22
- package/dist/_types/contracts/temporal-evidence-operation.d.ts +1 -0
- package/dist/_types/contracts/timeline-audio.d.ts +20 -4
- package/dist/_types/contracts/timeline-manifest.d.ts +40 -8
- package/dist/_types/contracts/timeline-source-sound.d.ts +42 -4
- package/dist/_types/contracts/timeline-v2.d.ts +124 -16
- package/dist/_types/contracts/timeline-version-reader.d.ts +288 -40
- package/dist/_types/contracts/timeline-visual-layers.d.ts +124 -16
- 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-exploration.d.ts +1 -1
- package/dist/_types/contracts/visual-layer-render.d.ts +298 -47
- package/dist/_types/contracts/visual-sequence.d.ts +22 -0
- package/dist/_types/contracts/voice-consistency.d.ts +183 -0
- package/dist/_types/contracts/voice-profile/contracts.d.ts +821 -0
- package/dist/_types/contracts/voice-profile/identity.d.ts +27 -0
- package/dist/_types/contracts/voice-profile/interface.d.ts +89 -0
- package/dist/_types/contracts/voice-profile/reference.d.ts +106 -0
- package/dist/_types/contracts/voice-review.d.ts +1194 -0
- package/dist/_types/contracts/workspace.d.ts +62 -0
- package/dist/_types/sdk/errors.d.ts +8 -3
- package/dist/_types/sdk/local-runtime/components.d.ts +2 -0
- package/dist/_types/sdk/local-runtime/device-client.d.ts +180 -18
- package/dist/_types/sdk/local-runtime/library.d.ts +268 -0
- package/dist/_types/sdk/local-runtime/workspace.d.ts +186 -0
- package/dist/_types/sdk/local-runtime-client.d.ts +1917 -92
- 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 +2 -8
- package/README.md +0 -78
- package/dist/_chunks/chunk-6NVIN2NI.js +0 -1
- package/dist/_chunks/chunk-E57YVMQ4.js +0 -1
- package/dist/_chunks/chunk-EAZKDCLD.js +0 -1
- package/dist/_chunks/chunk-GIEYSDCG.js +0 -1
- package/dist/_chunks/chunk-GJ7BZJLW.js +0 -1
- package/dist/_chunks/chunk-HLKERZIE.js +0 -1
- package/dist/_chunks/chunk-QC7RLTGU.js +0 -1
- package/dist/_chunks/chunk-RUMDDTON.js +0 -1
- package/dist/_chunks/chunk-U2UKGYGF.js +0 -1
- package/dist/_chunks/chunk-VPYAXWXY.js +0 -1
- package/dist/_chunks/local-main-SOERK22D.js +0 -1
- package/dist/_chunks/local-mcp-JLPXXIDW.js +0 -1
- package/dist/_chunks/main-4SNF5EKE.js +0 -2
- package/dist/_chunks/mcp-EIMXNRH3.js +0 -1
- package/dist/_chunks/oauth-257CEUQH.js +0 -1
- package/dist/_chunks/project-connect-6MH2QG6G.js +0 -1
- package/dist/_chunks/src-7F6ZEU3U.js +0 -1
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
import { type DesktopDeviceState } from "./desktop-device-contract.js";
|
|
2
|
+
/** 桌面与外部 Agent 的本机 CLI 共用设备 Owner;远端 MCP 不获得本机控制权。 */
|
|
3
|
+
export declare function runDesktopDeviceRequest(home: string, raw: unknown, policy?: {
|
|
4
|
+
allowedPendingKinds: readonly NonNullable<DesktopDeviceState["pending"]>["command"]["kind"][];
|
|
5
|
+
}): Promise<{
|
|
6
|
+
view: {
|
|
7
|
+
revision: number;
|
|
8
|
+
connection: {
|
|
9
|
+
phase: "READY" | "CONNECTED" | "CONNECTING";
|
|
10
|
+
expiresAt: string;
|
|
11
|
+
deviceRevision: number;
|
|
12
|
+
tenantMediaProcessing?: true | undefined;
|
|
13
|
+
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" | "SPEECH_SYNTHESIZE_CPU" | "TRANSCRIBE_AUDIO" | "TRANSCRIBE_EXTERNAL_QWEN")[] | undefined;
|
|
14
|
+
tenantMediaValidation?: true | undefined;
|
|
15
|
+
} | null;
|
|
16
|
+
previews: ({
|
|
17
|
+
semanticStatus: "ACCEPTED";
|
|
18
|
+
renderId: string;
|
|
19
|
+
operationId: string & import("zod").$brand<"OperationId">;
|
|
20
|
+
productionId: string;
|
|
21
|
+
timelineVersionId: string;
|
|
22
|
+
timelineFingerprint: string;
|
|
23
|
+
executionClass: "LIVE" | "TEST_ONLY";
|
|
24
|
+
manifestFingerprint: string;
|
|
25
|
+
productionRevision: number;
|
|
26
|
+
placement: {
|
|
27
|
+
target: "DEVICE" | "SERVER";
|
|
28
|
+
reason: "OFFLINE" | "UNQUALIFIED" | "BUSY" | "LOCAL_AVAILABLE" | "CLOUD_ONLY" | "LEASE_RECOVERY";
|
|
29
|
+
policy: {
|
|
30
|
+
mode: "local-only";
|
|
31
|
+
deviceId: string;
|
|
32
|
+
} | {
|
|
33
|
+
mode: "local-preferred";
|
|
34
|
+
deviceId: string;
|
|
35
|
+
} | {
|
|
36
|
+
mode: "cloud-only";
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
humanLinks?: {
|
|
40
|
+
status: "AVAILABLE";
|
|
41
|
+
items: {
|
|
42
|
+
rel: "delivery" | "workspace" | "project" | "production" | "artifact" | "voice_profile";
|
|
43
|
+
href: string;
|
|
44
|
+
}[];
|
|
45
|
+
} | {
|
|
46
|
+
status: "UNAVAILABLE" | "UNCONFIGURED";
|
|
47
|
+
items: {
|
|
48
|
+
rel: "delivery" | "workspace" | "project" | "production" | "artifact" | "voice_profile";
|
|
49
|
+
href: string;
|
|
50
|
+
}[];
|
|
51
|
+
} | undefined;
|
|
52
|
+
deviceExecution?: {
|
|
53
|
+
mode: "tenant-device-only";
|
|
54
|
+
deviceId: string;
|
|
55
|
+
runtimeJobId: string;
|
|
56
|
+
validationMode?: "TENANT_TRUSTED_VALIDATOR" | undefined;
|
|
57
|
+
} | undefined;
|
|
58
|
+
} | {
|
|
59
|
+
semanticStatus: "ACCEPTED";
|
|
60
|
+
renderId: string;
|
|
61
|
+
operationId: string & import("zod").$brand<"OperationId">;
|
|
62
|
+
productionId: string;
|
|
63
|
+
timelineVersionId: string;
|
|
64
|
+
timelineFingerprint: string;
|
|
65
|
+
executionClass: "LIVE" | "TEST_ONLY";
|
|
66
|
+
manifestFingerprint: string;
|
|
67
|
+
productionRevision: number;
|
|
68
|
+
selectionId: string;
|
|
69
|
+
selectionVersion: number;
|
|
70
|
+
profileId: "FINAL_H264_1080P_V1" | "FINAL_H264_720P_V1" | "FINAL_H264_480P_V1";
|
|
71
|
+
placement: {
|
|
72
|
+
target: "DEVICE" | "SERVER";
|
|
73
|
+
reason: "OFFLINE" | "UNQUALIFIED" | "BUSY" | "LOCAL_AVAILABLE" | "CLOUD_ONLY" | "LEASE_RECOVERY";
|
|
74
|
+
policy: {
|
|
75
|
+
mode: "local-only";
|
|
76
|
+
deviceId: string;
|
|
77
|
+
} | {
|
|
78
|
+
mode: "local-preferred";
|
|
79
|
+
deviceId: string;
|
|
80
|
+
} | {
|
|
81
|
+
mode: "cloud-only";
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
humanLinks?: {
|
|
85
|
+
status: "AVAILABLE";
|
|
86
|
+
items: {
|
|
87
|
+
rel: "delivery" | "workspace" | "project" | "production" | "artifact" | "voice_profile";
|
|
88
|
+
href: string;
|
|
89
|
+
}[];
|
|
90
|
+
} | {
|
|
91
|
+
status: "UNAVAILABLE" | "UNCONFIGURED";
|
|
92
|
+
items: {
|
|
93
|
+
rel: "delivery" | "workspace" | "project" | "production" | "artifact" | "voice_profile";
|
|
94
|
+
href: string;
|
|
95
|
+
}[];
|
|
96
|
+
} | undefined;
|
|
97
|
+
deviceExecution?: {
|
|
98
|
+
mode: "tenant-device-only";
|
|
99
|
+
deviceId: string;
|
|
100
|
+
runtimeJobId: string;
|
|
101
|
+
validationMode?: "TENANT_TRUSTED_VALIDATOR" | undefined;
|
|
102
|
+
} | undefined;
|
|
103
|
+
})[];
|
|
104
|
+
device: {
|
|
105
|
+
deviceId: string;
|
|
106
|
+
label: string;
|
|
107
|
+
revision: number;
|
|
108
|
+
revokedAt: string | null;
|
|
109
|
+
} | null;
|
|
110
|
+
pending: {
|
|
111
|
+
kind: "FINAL_RENDER" | "ENROLL" | "REVOKE_DEVICE" | "PREVIEW";
|
|
112
|
+
phase: "SENDING" | "PREPARED" | "REFUSED";
|
|
113
|
+
fingerprint: string;
|
|
114
|
+
} | null;
|
|
115
|
+
installation?: {
|
|
116
|
+
version: string;
|
|
117
|
+
fingerprint: string;
|
|
118
|
+
workProtocol?: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2" | undefined;
|
|
119
|
+
} | null | undefined;
|
|
120
|
+
automaticConnection?: boolean | undefined;
|
|
121
|
+
};
|
|
122
|
+
command?: {
|
|
123
|
+
kind: "ENROLL";
|
|
124
|
+
input: {
|
|
125
|
+
tenantId: string;
|
|
126
|
+
requestId: string;
|
|
127
|
+
label: string;
|
|
128
|
+
platform: {
|
|
129
|
+
os: "darwin" | "linux" | "win32";
|
|
130
|
+
architecture: "arm64" | "x64";
|
|
131
|
+
};
|
|
132
|
+
runtimeVersion: string;
|
|
133
|
+
publicKey: {
|
|
134
|
+
kty: "EC";
|
|
135
|
+
crv: "P-256";
|
|
136
|
+
x: string;
|
|
137
|
+
y: string;
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
} | {
|
|
141
|
+
kind: "REVOKE_DEVICE";
|
|
142
|
+
input: {
|
|
143
|
+
tenantId: string;
|
|
144
|
+
deviceId: string;
|
|
145
|
+
requestId: string;
|
|
146
|
+
expectedRevision: number;
|
|
147
|
+
};
|
|
148
|
+
} | {
|
|
149
|
+
kind: "PREVIEW";
|
|
150
|
+
input: {
|
|
151
|
+
tenantId: string & import("zod").$brand<"TenantId">;
|
|
152
|
+
productionId: string & import("zod").$brand<"ProductionId">;
|
|
153
|
+
idempotencyKey: string;
|
|
154
|
+
expectedProductionRevision: number;
|
|
155
|
+
timelineVersionId: string;
|
|
156
|
+
profileId: "PREVIEW_H264_480P_V1" | "PREVIEW_H264_720P_V1" | "PREVIEW_H264_1080P_V1";
|
|
157
|
+
timelineFingerprint: string;
|
|
158
|
+
placement: {
|
|
159
|
+
mode: "local-only";
|
|
160
|
+
deviceId: string;
|
|
161
|
+
} | {
|
|
162
|
+
mode: "local-preferred";
|
|
163
|
+
deviceId: string;
|
|
164
|
+
} | {
|
|
165
|
+
mode: "cloud-only";
|
|
166
|
+
};
|
|
167
|
+
localProfile?: "STUDIO_MEDIA_V2" | undefined;
|
|
168
|
+
};
|
|
169
|
+
} | {
|
|
170
|
+
kind: "FINAL_RENDER";
|
|
171
|
+
input: {
|
|
172
|
+
tenantId: string & import("zod").$brand<"TenantId">;
|
|
173
|
+
productionId: string & import("zod").$brand<"ProductionId">;
|
|
174
|
+
idempotencyKey: string;
|
|
175
|
+
expectedProductionRevision: number;
|
|
176
|
+
timelineVersionId: string;
|
|
177
|
+
profileId: "FINAL_H264_1080P_V1" | "FINAL_H264_720P_V1" | "FINAL_H264_480P_V1";
|
|
178
|
+
timelineFingerprint: string;
|
|
179
|
+
selectionId: string;
|
|
180
|
+
audioPolicy: "SILENT" | "MIXED";
|
|
181
|
+
captionPolicy: "NONE" | "BURN_IN";
|
|
182
|
+
expectedFinalReadyVersion: number;
|
|
183
|
+
placement: {
|
|
184
|
+
mode: "local-only";
|
|
185
|
+
deviceId: string;
|
|
186
|
+
} | {
|
|
187
|
+
mode: "local-preferred";
|
|
188
|
+
deviceId: string;
|
|
189
|
+
} | {
|
|
190
|
+
mode: "cloud-only";
|
|
191
|
+
};
|
|
192
|
+
};
|
|
193
|
+
} | undefined;
|
|
194
|
+
mediaValidationSupported?: boolean | undefined;
|
|
195
|
+
mediaProcessingSupported?: boolean | undefined;
|
|
196
|
+
localLibrarySupported?: boolean | undefined;
|
|
197
|
+
compositionProcessingSupported?: boolean | undefined;
|
|
198
|
+
}>;
|
|
199
|
+
export declare function desktopDevicePending(home: string, scope: unknown): Promise<{
|
|
200
|
+
kind: "ENROLL";
|
|
201
|
+
input: {
|
|
202
|
+
tenantId: string;
|
|
203
|
+
requestId: string;
|
|
204
|
+
label: string;
|
|
205
|
+
platform: {
|
|
206
|
+
os: "darwin" | "linux" | "win32";
|
|
207
|
+
architecture: "arm64" | "x64";
|
|
208
|
+
};
|
|
209
|
+
runtimeVersion: string;
|
|
210
|
+
publicKey: {
|
|
211
|
+
kty: "EC";
|
|
212
|
+
crv: "P-256";
|
|
213
|
+
x: string;
|
|
214
|
+
y: string;
|
|
215
|
+
};
|
|
216
|
+
};
|
|
217
|
+
} | {
|
|
218
|
+
kind: "REVOKE_DEVICE";
|
|
219
|
+
input: {
|
|
220
|
+
tenantId: string;
|
|
221
|
+
deviceId: string;
|
|
222
|
+
requestId: string;
|
|
223
|
+
expectedRevision: number;
|
|
224
|
+
};
|
|
225
|
+
} | {
|
|
226
|
+
kind: "PREVIEW";
|
|
227
|
+
input: {
|
|
228
|
+
tenantId: string & import("zod").$brand<"TenantId">;
|
|
229
|
+
productionId: string & import("zod").$brand<"ProductionId">;
|
|
230
|
+
idempotencyKey: string;
|
|
231
|
+
expectedProductionRevision: number;
|
|
232
|
+
timelineVersionId: string;
|
|
233
|
+
profileId: "PREVIEW_H264_480P_V1" | "PREVIEW_H264_720P_V1" | "PREVIEW_H264_1080P_V1";
|
|
234
|
+
timelineFingerprint: string;
|
|
235
|
+
placement: {
|
|
236
|
+
mode: "local-only";
|
|
237
|
+
deviceId: string;
|
|
238
|
+
} | {
|
|
239
|
+
mode: "local-preferred";
|
|
240
|
+
deviceId: string;
|
|
241
|
+
} | {
|
|
242
|
+
mode: "cloud-only";
|
|
243
|
+
};
|
|
244
|
+
localProfile?: "STUDIO_MEDIA_V2" | undefined;
|
|
245
|
+
};
|
|
246
|
+
} | {
|
|
247
|
+
kind: "FINAL_RENDER";
|
|
248
|
+
input: {
|
|
249
|
+
tenantId: string & import("zod").$brand<"TenantId">;
|
|
250
|
+
productionId: string & import("zod").$brand<"ProductionId">;
|
|
251
|
+
idempotencyKey: string;
|
|
252
|
+
expectedProductionRevision: number;
|
|
253
|
+
timelineVersionId: string;
|
|
254
|
+
profileId: "FINAL_H264_1080P_V1" | "FINAL_H264_720P_V1" | "FINAL_H264_480P_V1";
|
|
255
|
+
timelineFingerprint: string;
|
|
256
|
+
selectionId: string;
|
|
257
|
+
audioPolicy: "SILENT" | "MIXED";
|
|
258
|
+
captionPolicy: "NONE" | "BURN_IN";
|
|
259
|
+
expectedFinalReadyVersion: number;
|
|
260
|
+
placement: {
|
|
261
|
+
mode: "local-only";
|
|
262
|
+
deviceId: string;
|
|
263
|
+
} | {
|
|
264
|
+
mode: "local-preferred";
|
|
265
|
+
deviceId: string;
|
|
266
|
+
} | {
|
|
267
|
+
mode: "cloud-only";
|
|
268
|
+
};
|
|
269
|
+
};
|
|
270
|
+
} | null>;
|