@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
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { NativeStudioLocalWorkspaceClient } from "./local-runtime/workspace.js";
|
|
2
|
+
import { NativeStudioLocalLibraryClient } from "./local-runtime/library.js";
|
|
1
3
|
import { type LocalIpcRequest, type LocalWorkScope } from "../contracts/local-execution/index.js";
|
|
2
4
|
import { type LocalAgentSnapshot } from "../contracts/local-execution/index.js";
|
|
3
5
|
export declare class NativeStudioLocalRuntimeClient {
|
|
@@ -5,24 +7,26 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
5
7
|
stateDirectory: string;
|
|
6
8
|
authorization: () => Promise<string> | string;
|
|
7
9
|
timeoutMs?: number;
|
|
8
|
-
|
|
10
|
+
device?: {
|
|
9
11
|
tenantId: string;
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
+
deviceId: string;
|
|
13
|
+
};
|
|
12
14
|
};
|
|
15
|
+
readonly workspace: NativeStudioLocalWorkspaceClient;
|
|
16
|
+
readonly library: NativeStudioLocalLibraryClient;
|
|
13
17
|
constructor(options: {
|
|
14
18
|
stateDirectory: string;
|
|
15
19
|
authorization: () => Promise<string> | string;
|
|
16
20
|
timeoutMs?: number;
|
|
17
|
-
|
|
21
|
+
device?: {
|
|
18
22
|
tenantId: string;
|
|
19
|
-
|
|
20
|
-
}
|
|
23
|
+
deviceId: string;
|
|
24
|
+
};
|
|
21
25
|
});
|
|
22
26
|
static fromConnector(path: string): Promise<NativeStudioLocalRuntimeClient>;
|
|
23
27
|
call(call: LocalIpcRequest["call"], signal?: AbortSignal): Promise<{
|
|
24
28
|
plan: {
|
|
25
|
-
protocol: "NVS_LOCAL_AGENT_REVIEW_V1";
|
|
29
|
+
protocol: "NVS_LOCAL_AGENT_REVIEW_V1" | "NVS_LOCAL_AGENT_REVIEW_V2";
|
|
26
30
|
id: string;
|
|
27
31
|
grantFingerprint: string;
|
|
28
32
|
snapshot: {
|
|
@@ -32,11 +36,20 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
32
36
|
projectId: string & import("zod").$brand<"ProjectId">;
|
|
33
37
|
productionId: string & import("zod").$brand<"ProductionId">;
|
|
34
38
|
};
|
|
35
|
-
contextFingerprint: string;
|
|
36
39
|
target: {
|
|
37
40
|
kind: "IMAGE";
|
|
38
41
|
generationId: string;
|
|
42
|
+
} | {
|
|
43
|
+
kind: "VIDEO";
|
|
44
|
+
generationId: string;
|
|
45
|
+
} | {
|
|
46
|
+
kind: "ROUGH_CUT";
|
|
47
|
+
renderId: string;
|
|
48
|
+
} | {
|
|
49
|
+
kind: "PROGRAMMATIC";
|
|
50
|
+
renderId: string;
|
|
39
51
|
};
|
|
52
|
+
contextFingerprint: string;
|
|
40
53
|
};
|
|
41
54
|
productionRevision: number;
|
|
42
55
|
reviewVersion: number;
|
|
@@ -46,12 +59,135 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
46
59
|
representationId: string;
|
|
47
60
|
checksumSha256: string;
|
|
48
61
|
};
|
|
49
|
-
requirements: {
|
|
62
|
+
requirements: ({
|
|
63
|
+
key: string;
|
|
64
|
+
dimension: "TRANSITION" | "STYLE" | "PRODUCT_PRESENTATION" | "CANONICAL_FACT" | "NARRATIVE" | "PACING" | "REPETITION" | "TECHNICAL";
|
|
65
|
+
expected: string;
|
|
66
|
+
enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
|
|
67
|
+
scope: "PRODUCTION" | "TRANSITION";
|
|
68
|
+
interval: {
|
|
69
|
+
startMs: number;
|
|
70
|
+
endMs: number;
|
|
71
|
+
};
|
|
72
|
+
shotIds: string[];
|
|
73
|
+
voiceIdentity?: {
|
|
74
|
+
qualified: boolean;
|
|
75
|
+
evidenceFingerprint: string;
|
|
76
|
+
listeningIntervals: {
|
|
77
|
+
startMs: number;
|
|
78
|
+
endMs: number;
|
|
79
|
+
}[];
|
|
80
|
+
sourceAudioVersionIds: string[];
|
|
81
|
+
reasons: ("TEST_ONLY" | "NO_SOURCE" | "VOICE_UNAVAILABLE" | "REFERENCE_CHANGED" | "AUDIO_UNAVAILABLE" | "IDENTITY_MISMATCH" | "NO_COMPARISON" | "COMPARISON_NOT_MATCHED" | "COMPARISON_STALE")[];
|
|
82
|
+
} | undefined;
|
|
83
|
+
continuity?: {
|
|
84
|
+
kind: "STATE";
|
|
85
|
+
mode: "PRESERVE" | "PLANNED_TRANSITIONS";
|
|
86
|
+
entry: string;
|
|
87
|
+
exit: string;
|
|
88
|
+
changes?: {
|
|
89
|
+
atPermille: number;
|
|
90
|
+
from: string;
|
|
91
|
+
to: string;
|
|
92
|
+
reason: string;
|
|
93
|
+
}[] | undefined;
|
|
94
|
+
} | {
|
|
95
|
+
kind: "TIME";
|
|
96
|
+
mode: "MONOTONIC" | "PLANNED_JUMPS";
|
|
97
|
+
entryMs: number;
|
|
98
|
+
exitMs: number;
|
|
99
|
+
jumps?: {
|
|
100
|
+
atPermille: number;
|
|
101
|
+
fromMs: number;
|
|
102
|
+
toMs: number;
|
|
103
|
+
reason: string;
|
|
104
|
+
}[] | undefined;
|
|
105
|
+
} | undefined;
|
|
106
|
+
consistencyScale?: "PRODUCTION" | "INTRA_SHOT" | "INTER_SHOT" | undefined;
|
|
107
|
+
consistencyFamily?: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "BOUNDARY_CONTINUITY" | "VOICE_IDENTITY" | undefined;
|
|
108
|
+
consistencySubject?: {
|
|
109
|
+
id: string;
|
|
110
|
+
kind: "CHARACTER" | "VOICE";
|
|
111
|
+
displayName: string;
|
|
112
|
+
facts: {
|
|
113
|
+
dimension: string;
|
|
114
|
+
value: string;
|
|
115
|
+
}[];
|
|
116
|
+
master: {
|
|
117
|
+
artifactId: string & import("zod").$brand<"ArtifactId">;
|
|
118
|
+
representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
|
|
119
|
+
checksumSha256: string;
|
|
120
|
+
artifactChecksumSha256: string;
|
|
121
|
+
contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
|
|
122
|
+
};
|
|
123
|
+
voiceExpectation?: {
|
|
124
|
+
voiceProfile: {
|
|
125
|
+
ownerSystem: string;
|
|
126
|
+
ownerTenantRef: string;
|
|
127
|
+
voiceProfileRef: string;
|
|
128
|
+
version: number;
|
|
129
|
+
digest: string;
|
|
130
|
+
};
|
|
131
|
+
referenceId: string;
|
|
132
|
+
} | undefined;
|
|
133
|
+
} | undefined;
|
|
134
|
+
consistencyReference?: {
|
|
135
|
+
artifactId: string & import("zod").$brand<"ArtifactId">;
|
|
136
|
+
representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
|
|
137
|
+
checksumSha256: string;
|
|
138
|
+
artifactChecksumSha256: string;
|
|
139
|
+
contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
|
|
140
|
+
} | undefined;
|
|
141
|
+
} | {
|
|
50
142
|
key: string;
|
|
143
|
+
family: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "SHOT_INTENT" | "BOUNDARY_CONTINUITY" | "SOUND";
|
|
51
144
|
expected: string;
|
|
52
145
|
enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
|
|
146
|
+
evidenceWindow: "START" | "END" | "WHOLE_VIDEO" | "TEMPORAL";
|
|
53
147
|
intentPath?: string | undefined;
|
|
54
|
-
|
|
148
|
+
continuity?: {
|
|
149
|
+
kind: "STATE";
|
|
150
|
+
mode: "PRESERVE" | "PLANNED_TRANSITIONS";
|
|
151
|
+
entry: string;
|
|
152
|
+
exit: string;
|
|
153
|
+
changes?: {
|
|
154
|
+
atPermille: number;
|
|
155
|
+
from: string;
|
|
156
|
+
to: string;
|
|
157
|
+
reason: string;
|
|
158
|
+
}[] | undefined;
|
|
159
|
+
} | {
|
|
160
|
+
kind: "TIME";
|
|
161
|
+
mode: "MONOTONIC" | "PLANNED_JUMPS";
|
|
162
|
+
entryMs: number;
|
|
163
|
+
exitMs: number;
|
|
164
|
+
jumps?: {
|
|
165
|
+
atPermille: number;
|
|
166
|
+
fromMs: number;
|
|
167
|
+
toMs: number;
|
|
168
|
+
reason: string;
|
|
169
|
+
}[] | undefined;
|
|
170
|
+
} | undefined;
|
|
171
|
+
interval?: {
|
|
172
|
+
startMs: number;
|
|
173
|
+
endMs: number;
|
|
174
|
+
} | undefined;
|
|
175
|
+
} | {
|
|
176
|
+
key: string;
|
|
177
|
+
expected: string;
|
|
178
|
+
enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
|
|
179
|
+
intentPath?: string | undefined;
|
|
180
|
+
})[];
|
|
181
|
+
evidence?: {
|
|
182
|
+
profile: "NVS_AGENT_DERIVED_EVIDENCE_V1";
|
|
183
|
+
contentType: "image/png" | "image/jpeg" | "image/webp" | "video/mp4";
|
|
184
|
+
byteSize: number;
|
|
185
|
+
width: number;
|
|
186
|
+
height: number;
|
|
187
|
+
durationMs?: number | undefined;
|
|
188
|
+
frameRate?: 30 | 24 | undefined;
|
|
189
|
+
hasAudio?: boolean | undefined;
|
|
190
|
+
} | undefined;
|
|
55
191
|
image?: {
|
|
56
192
|
contentType: "image/png";
|
|
57
193
|
byteSize: number;
|
|
@@ -74,20 +210,20 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
74
210
|
summary: string;
|
|
75
211
|
imageReadback: string;
|
|
76
212
|
observations: {
|
|
77
|
-
key: string;
|
|
78
213
|
status: "SATISFIED" | "VIOLATED" | "NOT_OBSERVABLE" | "NOT_APPLICABLE";
|
|
79
214
|
confidence: "CLEAR" | "UNCERTAIN";
|
|
80
215
|
observed: string;
|
|
216
|
+
key: string;
|
|
81
217
|
}[];
|
|
82
218
|
} | null;
|
|
83
219
|
provenance: {
|
|
84
|
-
adapter: "CODEX_METADATA_V1";
|
|
220
|
+
adapter: "CODEX_METADATA_V1" | "CODEX_MEDIA_V2";
|
|
85
221
|
binaryDigest: string;
|
|
86
222
|
version: "0.164.0" | "0.165.0";
|
|
87
223
|
model: string;
|
|
88
224
|
reviewerLabel: string;
|
|
89
225
|
inference: "REMOTE_OPENAI";
|
|
90
|
-
evidence: "IMAGE_PIXELS" | "METADATA_ONLY";
|
|
226
|
+
evidence: "IMAGE_PIXELS" | "VIDEO_FRAMES" | "METADATA_ONLY";
|
|
91
227
|
reasoningEffort?: "medium" | "low" | "high" | "xhigh" | undefined;
|
|
92
228
|
};
|
|
93
229
|
imageReceipt?: {
|
|
@@ -103,35 +239,293 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
103
239
|
width: number;
|
|
104
240
|
height: number;
|
|
105
241
|
} | undefined;
|
|
242
|
+
evidenceReceipt?: {
|
|
243
|
+
protocol: "NVS_AGENT_DERIVED_EVIDENCE_V1";
|
|
244
|
+
draftId: string;
|
|
245
|
+
media: {
|
|
246
|
+
artifactId: string;
|
|
247
|
+
representationId: string;
|
|
248
|
+
checksumSha256: string;
|
|
249
|
+
};
|
|
250
|
+
ffmpegDigest: string;
|
|
251
|
+
ffprobeDigest: string;
|
|
252
|
+
attachment: {
|
|
253
|
+
checksumSha256: string;
|
|
254
|
+
byteSize: number;
|
|
255
|
+
width: number;
|
|
256
|
+
height: number;
|
|
257
|
+
};
|
|
258
|
+
timestampsMs: number[];
|
|
259
|
+
audio: {
|
|
260
|
+
sampleRateHz: 48000;
|
|
261
|
+
channels: 1;
|
|
262
|
+
samples: number;
|
|
263
|
+
peak: number;
|
|
264
|
+
rms: number;
|
|
265
|
+
clippedSamples: number;
|
|
266
|
+
} | null;
|
|
267
|
+
limitations: ["SAMPLED_FRAMES_ARE_NOT_FULL_PLAYBACK", "AUDIO_STATISTICS_ARE_NOT_LISTENING_OR_TRANSCRIPTION"];
|
|
268
|
+
} | undefined;
|
|
269
|
+
} | {
|
|
270
|
+
reference: {
|
|
271
|
+
tenantId: string;
|
|
272
|
+
projectId: string;
|
|
273
|
+
fileId: string;
|
|
274
|
+
versionId: string;
|
|
275
|
+
checksumSha256: string;
|
|
276
|
+
byteSize: number;
|
|
277
|
+
contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
|
|
278
|
+
deviceId: string;
|
|
279
|
+
};
|
|
280
|
+
ownerKey: string;
|
|
281
|
+
title: string;
|
|
282
|
+
createdAt: string;
|
|
283
|
+
revision: number;
|
|
284
|
+
access: {
|
|
285
|
+
state: "REJECTED" | "UNKNOWN" | "PENDING" | "LOCAL_ONLY" | "SYNCED";
|
|
286
|
+
desired: {
|
|
287
|
+
reference: {
|
|
288
|
+
tenantId: string;
|
|
289
|
+
projectId: string;
|
|
290
|
+
fileId: string;
|
|
291
|
+
versionId: string;
|
|
292
|
+
checksumSha256: string;
|
|
293
|
+
byteSize: number;
|
|
294
|
+
contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
|
|
295
|
+
deviceId: string;
|
|
296
|
+
};
|
|
297
|
+
requestId: string;
|
|
298
|
+
expectedRevision: number;
|
|
299
|
+
metadata: {
|
|
300
|
+
label: string;
|
|
301
|
+
} | null;
|
|
302
|
+
allowInspect: boolean;
|
|
303
|
+
allowPublish: boolean;
|
|
304
|
+
expiresAt: string;
|
|
305
|
+
} | null;
|
|
306
|
+
confirmed: {
|
|
307
|
+
reference: {
|
|
308
|
+
tenantId: string;
|
|
309
|
+
projectId: string;
|
|
310
|
+
fileId: string;
|
|
311
|
+
versionId: string;
|
|
312
|
+
checksumSha256: string;
|
|
313
|
+
byteSize: number;
|
|
314
|
+
contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
|
|
315
|
+
deviceId: string;
|
|
316
|
+
};
|
|
317
|
+
requestId: string;
|
|
318
|
+
expectedRevision: number;
|
|
319
|
+
metadata: {
|
|
320
|
+
label: string;
|
|
321
|
+
} | null;
|
|
322
|
+
allowInspect: boolean;
|
|
323
|
+
allowPublish: boolean;
|
|
324
|
+
expiresAt: string;
|
|
325
|
+
revision: number;
|
|
326
|
+
recordedAt: string;
|
|
327
|
+
} | null;
|
|
328
|
+
};
|
|
106
329
|
} | {
|
|
107
330
|
protocol: "NVS_LOCAL_CONNECTOR_V1";
|
|
108
331
|
stateDirectory: string;
|
|
109
332
|
credential: string;
|
|
110
333
|
expiresAt: string;
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
projectId: string;
|
|
114
|
-
}[];
|
|
334
|
+
tenantId: string;
|
|
335
|
+
deviceId: string;
|
|
115
336
|
} | {
|
|
116
337
|
protocol: "NVS_LOCAL_IPC_V1";
|
|
117
338
|
runtimeRevision: number;
|
|
118
|
-
state: "RECOVERY_REQUIRED" | "
|
|
339
|
+
state: "RECOVERY_REQUIRED" | "EXECUTING" | "DRAINING" | "IDLE";
|
|
119
340
|
journalSchemaVersion: 1;
|
|
120
|
-
workProtocols: "NVS_LOCAL_WORK_V1"[];
|
|
341
|
+
workProtocols: ("NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2")[];
|
|
121
342
|
versions: {
|
|
122
343
|
component: "CLI" | "SDK" | "MCP" | "RUNTIME" | "MEDIA_TOOLS";
|
|
123
344
|
installedVersion: string | null;
|
|
124
345
|
runningVersion: string | null;
|
|
125
346
|
availableVersion: string | null;
|
|
126
347
|
executablePath: string | null;
|
|
127
|
-
installOwner: "UNKNOWN" | "PROJECT" | "
|
|
128
|
-
}[];
|
|
129
|
-
authorizedProjects: {
|
|
130
|
-
tenantId: string;
|
|
131
|
-
projectId: string;
|
|
348
|
+
installOwner: "UNKNOWN" | "PROJECT" | "MANAGED" | "NPM_GLOBAL" | "NPX" | "TARBALL";
|
|
132
349
|
}[];
|
|
133
350
|
nextActions: {
|
|
134
351
|
call: {
|
|
352
|
+
operation: "library.capability";
|
|
353
|
+
} | {
|
|
354
|
+
operation: "library.call";
|
|
355
|
+
input: {
|
|
356
|
+
tenantId: string;
|
|
357
|
+
after: string | null;
|
|
358
|
+
limit: number;
|
|
359
|
+
deviceId: string;
|
|
360
|
+
action: "list";
|
|
361
|
+
projectId?: string | undefined;
|
|
362
|
+
ownerKey?: string | undefined;
|
|
363
|
+
search?: string | undefined;
|
|
364
|
+
mediaCategory?: "IMAGE" | "VIDEO" | "AUDIO" | "DOCUMENT" | undefined;
|
|
365
|
+
} | {
|
|
366
|
+
reference: {
|
|
367
|
+
tenantId: string;
|
|
368
|
+
projectId: string;
|
|
369
|
+
fileId: string;
|
|
370
|
+
versionId: string;
|
|
371
|
+
checksumSha256: string;
|
|
372
|
+
byteSize: number;
|
|
373
|
+
contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
|
|
374
|
+
deviceId: string;
|
|
375
|
+
};
|
|
376
|
+
action: "get";
|
|
377
|
+
ownerKey?: string | undefined;
|
|
378
|
+
} | {
|
|
379
|
+
tenantId: string;
|
|
380
|
+
limit: number;
|
|
381
|
+
deviceId: string;
|
|
382
|
+
after: string | null;
|
|
383
|
+
projectId: string;
|
|
384
|
+
action: "scoped-list";
|
|
385
|
+
search?: string | undefined;
|
|
386
|
+
mediaCategory?: "IMAGE" | "VIDEO" | "AUDIO" | "DOCUMENT" | undefined;
|
|
387
|
+
} | {
|
|
388
|
+
action: "scoped-get";
|
|
389
|
+
reference: {
|
|
390
|
+
tenantId: string;
|
|
391
|
+
projectId: string;
|
|
392
|
+
fileId: string;
|
|
393
|
+
versionId: string;
|
|
394
|
+
checksumSha256: string;
|
|
395
|
+
byteSize: number;
|
|
396
|
+
contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
|
|
397
|
+
deviceId: string;
|
|
398
|
+
};
|
|
399
|
+
} | {
|
|
400
|
+
action: "usage";
|
|
401
|
+
ownerKey?: string | undefined;
|
|
402
|
+
} | {
|
|
403
|
+
reference: {
|
|
404
|
+
tenantId: string;
|
|
405
|
+
projectId: string;
|
|
406
|
+
fileId: string;
|
|
407
|
+
versionId: string;
|
|
408
|
+
checksumSha256: string;
|
|
409
|
+
byteSize: number;
|
|
410
|
+
contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
|
|
411
|
+
deviceId: string;
|
|
412
|
+
};
|
|
413
|
+
offset: number;
|
|
414
|
+
length: number;
|
|
415
|
+
action: "read";
|
|
416
|
+
ownerKey?: string | undefined;
|
|
417
|
+
} | {
|
|
418
|
+
command: {
|
|
419
|
+
reference: {
|
|
420
|
+
tenantId: string;
|
|
421
|
+
projectId: string;
|
|
422
|
+
fileId: string;
|
|
423
|
+
versionId: string;
|
|
424
|
+
checksumSha256: string;
|
|
425
|
+
byteSize: number;
|
|
426
|
+
contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
|
|
427
|
+
deviceId: string;
|
|
428
|
+
};
|
|
429
|
+
requestId: string;
|
|
430
|
+
expectedRevision: number;
|
|
431
|
+
metadata: {
|
|
432
|
+
label: string;
|
|
433
|
+
} | null;
|
|
434
|
+
allowInspect: boolean;
|
|
435
|
+
allowPublish: boolean;
|
|
436
|
+
expiresAt: string;
|
|
437
|
+
};
|
|
438
|
+
expectedLocalRevision: number;
|
|
439
|
+
action: "access";
|
|
440
|
+
ownerKey?: string | undefined;
|
|
441
|
+
} | {
|
|
442
|
+
reference: {
|
|
443
|
+
tenantId: string;
|
|
444
|
+
projectId: string;
|
|
445
|
+
fileId: string;
|
|
446
|
+
versionId: string;
|
|
447
|
+
checksumSha256: string;
|
|
448
|
+
byteSize: number;
|
|
449
|
+
contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
|
|
450
|
+
deviceId: string;
|
|
451
|
+
};
|
|
452
|
+
requestId: string;
|
|
453
|
+
action: "sync";
|
|
454
|
+
ownerKey?: string | undefined;
|
|
455
|
+
} | {
|
|
456
|
+
reference: {
|
|
457
|
+
tenantId: string;
|
|
458
|
+
projectId: string;
|
|
459
|
+
fileId: string;
|
|
460
|
+
versionId: string;
|
|
461
|
+
checksumSha256: string;
|
|
462
|
+
byteSize: number;
|
|
463
|
+
contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
|
|
464
|
+
deviceId: string;
|
|
465
|
+
};
|
|
466
|
+
requestId: string;
|
|
467
|
+
action: "resume-access";
|
|
468
|
+
ownerKey?: string | undefined;
|
|
469
|
+
} | {
|
|
470
|
+
tenantId: string;
|
|
471
|
+
projectId: string;
|
|
472
|
+
deviceId: string;
|
|
473
|
+
requestId: string;
|
|
474
|
+
action: "import-receipt";
|
|
475
|
+
ownerKey?: string | undefined;
|
|
476
|
+
};
|
|
477
|
+
} | {
|
|
478
|
+
operation: "agent.discover";
|
|
479
|
+
binary?: string | undefined;
|
|
480
|
+
} | {
|
|
481
|
+
operation: "offline.workspace";
|
|
482
|
+
input: {
|
|
483
|
+
action: "list" | "forget";
|
|
484
|
+
key: string;
|
|
485
|
+
} | {
|
|
486
|
+
action: "retain";
|
|
487
|
+
key: string;
|
|
488
|
+
snapshot: {
|
|
489
|
+
projectId: string;
|
|
490
|
+
title: string;
|
|
491
|
+
savedAt: string;
|
|
492
|
+
expiresAt: string;
|
|
493
|
+
productions: {
|
|
494
|
+
id: string;
|
|
495
|
+
title: string;
|
|
496
|
+
}[];
|
|
497
|
+
possiblyTruncated: boolean;
|
|
498
|
+
};
|
|
499
|
+
} | {
|
|
500
|
+
action: "draft";
|
|
501
|
+
key: string;
|
|
502
|
+
projectId: string;
|
|
503
|
+
text: string;
|
|
504
|
+
expectedRevision: number;
|
|
505
|
+
};
|
|
506
|
+
} | {
|
|
507
|
+
operation: "workspace.inspect";
|
|
508
|
+
} | {
|
|
509
|
+
operation: "workspace.configure";
|
|
510
|
+
policy: {
|
|
511
|
+
acceptNewWork: boolean;
|
|
512
|
+
mode: "CONTINUOUS" | "IDLE_ONLY";
|
|
513
|
+
idleAfterSeconds: number;
|
|
514
|
+
maxConcurrentJobs: number;
|
|
515
|
+
cpuCores: 2 | 1;
|
|
516
|
+
memoryMiB: number;
|
|
517
|
+
cacheQuotaBytes: number;
|
|
518
|
+
};
|
|
519
|
+
expectedRevision: number;
|
|
520
|
+
} | {
|
|
521
|
+
operation: "workspace.activity";
|
|
522
|
+
idleSeconds: number;
|
|
523
|
+
observedAt: string;
|
|
524
|
+
} | {
|
|
525
|
+
operation: "storage.clean";
|
|
526
|
+
} | {
|
|
527
|
+
operation: "diagnostics.read";
|
|
528
|
+
} | {
|
|
135
529
|
operation: "agent.grant";
|
|
136
530
|
grant: {
|
|
137
531
|
protocol: "NVS_CODEX_REVIEW_GRANT_V1";
|
|
@@ -149,6 +543,7 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
149
543
|
expiresAt: string;
|
|
150
544
|
reasoningEffort?: "medium" | "low" | "high" | "xhigh" | undefined;
|
|
151
545
|
imageDisclosureApproved?: true | undefined;
|
|
546
|
+
mediaDisclosureApproved?: true | undefined;
|
|
152
547
|
};
|
|
153
548
|
approval: string;
|
|
154
549
|
} | {
|
|
@@ -165,11 +560,20 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
165
560
|
projectId: string & import("zod").$brand<"ProjectId">;
|
|
166
561
|
productionId: string & import("zod").$brand<"ProductionId">;
|
|
167
562
|
};
|
|
168
|
-
contextFingerprint: string;
|
|
169
563
|
target: {
|
|
170
564
|
kind: "IMAGE";
|
|
171
565
|
generationId: string;
|
|
566
|
+
} | {
|
|
567
|
+
kind: "VIDEO";
|
|
568
|
+
generationId: string;
|
|
569
|
+
} | {
|
|
570
|
+
kind: "ROUGH_CUT";
|
|
571
|
+
renderId: string;
|
|
572
|
+
} | {
|
|
573
|
+
kind: "PROGRAMMATIC";
|
|
574
|
+
renderId: string;
|
|
172
575
|
};
|
|
576
|
+
contextFingerprint: string;
|
|
173
577
|
};
|
|
174
578
|
productionRevision: number;
|
|
175
579
|
reviewVersion: number;
|
|
@@ -179,12 +583,135 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
179
583
|
representationId: string;
|
|
180
584
|
checksumSha256: string;
|
|
181
585
|
};
|
|
182
|
-
requirements: {
|
|
586
|
+
requirements: ({
|
|
183
587
|
key: string;
|
|
588
|
+
dimension: "TRANSITION" | "STYLE" | "PRODUCT_PRESENTATION" | "CANONICAL_FACT" | "NARRATIVE" | "PACING" | "REPETITION" | "TECHNICAL";
|
|
184
589
|
expected: string;
|
|
185
590
|
enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
|
|
591
|
+
scope: "PRODUCTION" | "TRANSITION";
|
|
592
|
+
interval: {
|
|
593
|
+
startMs: number;
|
|
594
|
+
endMs: number;
|
|
595
|
+
};
|
|
596
|
+
shotIds: string[];
|
|
597
|
+
voiceIdentity?: {
|
|
598
|
+
qualified: boolean;
|
|
599
|
+
evidenceFingerprint: string;
|
|
600
|
+
listeningIntervals: {
|
|
601
|
+
startMs: number;
|
|
602
|
+
endMs: number;
|
|
603
|
+
}[];
|
|
604
|
+
sourceAudioVersionIds: string[];
|
|
605
|
+
reasons: ("TEST_ONLY" | "NO_SOURCE" | "VOICE_UNAVAILABLE" | "REFERENCE_CHANGED" | "AUDIO_UNAVAILABLE" | "IDENTITY_MISMATCH" | "NO_COMPARISON" | "COMPARISON_NOT_MATCHED" | "COMPARISON_STALE")[];
|
|
606
|
+
} | undefined;
|
|
607
|
+
continuity?: {
|
|
608
|
+
kind: "STATE";
|
|
609
|
+
mode: "PRESERVE" | "PLANNED_TRANSITIONS";
|
|
610
|
+
entry: string;
|
|
611
|
+
exit: string;
|
|
612
|
+
changes?: {
|
|
613
|
+
atPermille: number;
|
|
614
|
+
from: string;
|
|
615
|
+
to: string;
|
|
616
|
+
reason: string;
|
|
617
|
+
}[] | undefined;
|
|
618
|
+
} | {
|
|
619
|
+
kind: "TIME";
|
|
620
|
+
mode: "MONOTONIC" | "PLANNED_JUMPS";
|
|
621
|
+
entryMs: number;
|
|
622
|
+
exitMs: number;
|
|
623
|
+
jumps?: {
|
|
624
|
+
atPermille: number;
|
|
625
|
+
fromMs: number;
|
|
626
|
+
toMs: number;
|
|
627
|
+
reason: string;
|
|
628
|
+
}[] | undefined;
|
|
629
|
+
} | undefined;
|
|
630
|
+
consistencyScale?: "PRODUCTION" | "INTRA_SHOT" | "INTER_SHOT" | undefined;
|
|
631
|
+
consistencyFamily?: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "BOUNDARY_CONTINUITY" | "VOICE_IDENTITY" | undefined;
|
|
632
|
+
consistencySubject?: {
|
|
633
|
+
id: string;
|
|
634
|
+
kind: "CHARACTER" | "VOICE";
|
|
635
|
+
displayName: string;
|
|
636
|
+
facts: {
|
|
637
|
+
dimension: string;
|
|
638
|
+
value: string;
|
|
639
|
+
}[];
|
|
640
|
+
master: {
|
|
641
|
+
artifactId: string & import("zod").$brand<"ArtifactId">;
|
|
642
|
+
representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
|
|
643
|
+
checksumSha256: string;
|
|
644
|
+
artifactChecksumSha256: string;
|
|
645
|
+
contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
|
|
646
|
+
};
|
|
647
|
+
voiceExpectation?: {
|
|
648
|
+
voiceProfile: {
|
|
649
|
+
ownerSystem: string;
|
|
650
|
+
ownerTenantRef: string;
|
|
651
|
+
voiceProfileRef: string;
|
|
652
|
+
version: number;
|
|
653
|
+
digest: string;
|
|
654
|
+
};
|
|
655
|
+
referenceId: string;
|
|
656
|
+
} | undefined;
|
|
657
|
+
} | undefined;
|
|
658
|
+
consistencyReference?: {
|
|
659
|
+
artifactId: string & import("zod").$brand<"ArtifactId">;
|
|
660
|
+
representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
|
|
661
|
+
checksumSha256: string;
|
|
662
|
+
artifactChecksumSha256: string;
|
|
663
|
+
contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
|
|
664
|
+
} | undefined;
|
|
665
|
+
} | {
|
|
666
|
+
key: string;
|
|
667
|
+
family: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "SHOT_INTENT" | "BOUNDARY_CONTINUITY" | "SOUND";
|
|
668
|
+
expected: string;
|
|
669
|
+
enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
|
|
670
|
+
evidenceWindow: "START" | "END" | "WHOLE_VIDEO" | "TEMPORAL";
|
|
186
671
|
intentPath?: string | undefined;
|
|
187
|
-
|
|
672
|
+
continuity?: {
|
|
673
|
+
kind: "STATE";
|
|
674
|
+
mode: "PRESERVE" | "PLANNED_TRANSITIONS";
|
|
675
|
+
entry: string;
|
|
676
|
+
exit: string;
|
|
677
|
+
changes?: {
|
|
678
|
+
atPermille: number;
|
|
679
|
+
from: string;
|
|
680
|
+
to: string;
|
|
681
|
+
reason: string;
|
|
682
|
+
}[] | undefined;
|
|
683
|
+
} | {
|
|
684
|
+
kind: "TIME";
|
|
685
|
+
mode: "MONOTONIC" | "PLANNED_JUMPS";
|
|
686
|
+
entryMs: number;
|
|
687
|
+
exitMs: number;
|
|
688
|
+
jumps?: {
|
|
689
|
+
atPermille: number;
|
|
690
|
+
fromMs: number;
|
|
691
|
+
toMs: number;
|
|
692
|
+
reason: string;
|
|
693
|
+
}[] | undefined;
|
|
694
|
+
} | undefined;
|
|
695
|
+
interval?: {
|
|
696
|
+
startMs: number;
|
|
697
|
+
endMs: number;
|
|
698
|
+
} | undefined;
|
|
699
|
+
} | {
|
|
700
|
+
key: string;
|
|
701
|
+
expected: string;
|
|
702
|
+
enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
|
|
703
|
+
intentPath?: string | undefined;
|
|
704
|
+
})[];
|
|
705
|
+
evidence?: {
|
|
706
|
+
profile: "NVS_AGENT_DERIVED_EVIDENCE_V1";
|
|
707
|
+
contentType: "image/png" | "image/jpeg" | "image/webp" | "video/mp4";
|
|
708
|
+
byteSize: number;
|
|
709
|
+
width: number;
|
|
710
|
+
height: number;
|
|
711
|
+
durationMs?: number | undefined;
|
|
712
|
+
frameRate?: 30 | 24 | undefined;
|
|
713
|
+
hasAudio?: boolean | undefined;
|
|
714
|
+
} | undefined;
|
|
188
715
|
image?: {
|
|
189
716
|
contentType: "image/png";
|
|
190
717
|
byteSize: number;
|
|
@@ -202,16 +729,15 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
202
729
|
id: string;
|
|
203
730
|
} | {
|
|
204
731
|
operation: "runtime.status";
|
|
732
|
+
includeDevice?: true | undefined;
|
|
205
733
|
} | {
|
|
206
734
|
operation: "runtime.doctor";
|
|
207
735
|
} | {
|
|
208
736
|
operation: "runtime.inventory";
|
|
209
737
|
} | {
|
|
210
738
|
operation: "session.issue";
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
projectId: string;
|
|
214
|
-
}[];
|
|
739
|
+
tenantId: string;
|
|
740
|
+
deviceId: string;
|
|
215
741
|
expiresAt: string;
|
|
216
742
|
} | {
|
|
217
743
|
operation: "runtime.stop";
|
|
@@ -223,6 +749,7 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
223
749
|
projectId: string;
|
|
224
750
|
productionId: string;
|
|
225
751
|
runtimeJobId: string;
|
|
752
|
+
includeProgress?: boolean | undefined;
|
|
226
753
|
};
|
|
227
754
|
} | {
|
|
228
755
|
operation: "execution.list";
|
|
@@ -231,6 +758,8 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
231
758
|
projectId: string;
|
|
232
759
|
after: string | null;
|
|
233
760
|
limit: number;
|
|
761
|
+
includeCompleted?: boolean | undefined;
|
|
762
|
+
includeProgress?: boolean | undefined;
|
|
234
763
|
};
|
|
235
764
|
} | {
|
|
236
765
|
operation: "update.check";
|
|
@@ -247,6 +776,17 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
247
776
|
availability: "AVAILABLE" | "BLOCKED";
|
|
248
777
|
reason: "READY" | "INSTALL_REQUIRED" | "AUTHORIZATION_REQUIRED" | "VERSION_INCOMPATIBLE" | "UPDATE_AVAILABLE" | "RECOVERY_REQUIRED";
|
|
249
778
|
}[];
|
|
779
|
+
deviceAuthority?: {
|
|
780
|
+
tenantId: string;
|
|
781
|
+
deviceId: string;
|
|
782
|
+
origin: string;
|
|
783
|
+
} | undefined;
|
|
784
|
+
deviceCapabilities?: {
|
|
785
|
+
deviceRevision: number;
|
|
786
|
+
tenantMediaValidation: boolean;
|
|
787
|
+
tenantMediaProcessing: boolean;
|
|
788
|
+
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")[];
|
|
789
|
+
} | undefined;
|
|
250
790
|
} | {
|
|
251
791
|
binding: {
|
|
252
792
|
tenantId: string;
|
|
@@ -260,14 +800,194 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
260
800
|
toolchainFingerprint: string;
|
|
261
801
|
};
|
|
262
802
|
revision: number;
|
|
263
|
-
phase: "RUNNING" | "RECOVERY_REQUIRED" | "
|
|
803
|
+
phase: "RUNNING" | "RECOVERY_REQUIRED" | "FENCED" | "STAGED" | "OUTPUT_PENDING" | "RECEIPT_RECORDED";
|
|
264
804
|
checkpoint: "ADOPTED" | "SOURCES_READY" | "PROCESS_STARTED" | "OUTPUT_STAGED";
|
|
805
|
+
progress?: {
|
|
806
|
+
stage: "WAITING" | "COMPLETE" | "RECOVERY_REQUIRED" | "DOWNLOADING" | "EXECUTING" | "UPLOADING" | "AWAITING_ACCEPTANCE" | "FENCED";
|
|
807
|
+
downloadedBytes: number;
|
|
808
|
+
sourceBytes: number;
|
|
809
|
+
uploadedBytes: number;
|
|
810
|
+
outputBytes: number;
|
|
811
|
+
lastError: {
|
|
812
|
+
code: string;
|
|
813
|
+
observedAt: string;
|
|
814
|
+
} | null;
|
|
815
|
+
} | undefined;
|
|
816
|
+
} | {
|
|
817
|
+
items: {
|
|
818
|
+
reference: {
|
|
819
|
+
tenantId: string;
|
|
820
|
+
projectId: string;
|
|
821
|
+
fileId: string;
|
|
822
|
+
versionId: string;
|
|
823
|
+
checksumSha256: string;
|
|
824
|
+
byteSize: number;
|
|
825
|
+
contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
|
|
826
|
+
deviceId: string;
|
|
827
|
+
};
|
|
828
|
+
metadata: {
|
|
829
|
+
label: string;
|
|
830
|
+
} | null;
|
|
831
|
+
accessRevision: number;
|
|
832
|
+
allowInspect: boolean;
|
|
833
|
+
allowPublish: boolean;
|
|
834
|
+
expiresAt: string;
|
|
835
|
+
}[];
|
|
836
|
+
nextCursor: string | null;
|
|
837
|
+
} | {
|
|
838
|
+
candidate: {
|
|
839
|
+
binary: string;
|
|
840
|
+
binaryDigest: string;
|
|
841
|
+
version: string;
|
|
842
|
+
qualified: boolean;
|
|
843
|
+
} | null;
|
|
844
|
+
configured: {
|
|
845
|
+
protocol: "NVS_CODEX_REVIEW_GRANT_V1";
|
|
846
|
+
binary: string;
|
|
847
|
+
binaryDigest: string;
|
|
848
|
+
version: "0.164.0" | "0.165.0";
|
|
849
|
+
model: string;
|
|
850
|
+
reviewerLabel: string;
|
|
851
|
+
inference: "REMOTE_OPENAI";
|
|
852
|
+
remoteUseApproved: true;
|
|
853
|
+
projects: {
|
|
854
|
+
tenantId: string;
|
|
855
|
+
projectId: string;
|
|
856
|
+
}[];
|
|
857
|
+
expiresAt: string;
|
|
858
|
+
reasoningEffort?: "medium" | "low" | "high" | "xhigh" | undefined;
|
|
859
|
+
imageDisclosureApproved?: true | undefined;
|
|
860
|
+
mediaDisclosureApproved?: true | undefined;
|
|
861
|
+
} | null;
|
|
265
862
|
} | {
|
|
266
863
|
configured: boolean;
|
|
267
864
|
available: boolean;
|
|
268
865
|
reason: "READY" | "GRANT_EXPIRED" | "GRANT_REQUIRED" | "RUNTIME_UNAVAILABLE";
|
|
269
866
|
grantFingerprint: string | null;
|
|
270
867
|
inference: "REMOTE_OPENAI";
|
|
868
|
+
} | {
|
|
869
|
+
historical: true;
|
|
870
|
+
items: {
|
|
871
|
+
snapshot: {
|
|
872
|
+
projectId: string;
|
|
873
|
+
title: string;
|
|
874
|
+
savedAt: string;
|
|
875
|
+
expiresAt: string;
|
|
876
|
+
productions: {
|
|
877
|
+
id: string;
|
|
878
|
+
title: string;
|
|
879
|
+
}[];
|
|
880
|
+
possiblyTruncated: boolean;
|
|
881
|
+
};
|
|
882
|
+
draft: {
|
|
883
|
+
text: string;
|
|
884
|
+
revision: number;
|
|
885
|
+
};
|
|
886
|
+
}[];
|
|
887
|
+
} | {
|
|
888
|
+
items: {
|
|
889
|
+
reference: {
|
|
890
|
+
tenantId: string;
|
|
891
|
+
projectId: string;
|
|
892
|
+
fileId: string;
|
|
893
|
+
versionId: string;
|
|
894
|
+
checksumSha256: string;
|
|
895
|
+
byteSize: number;
|
|
896
|
+
contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
|
|
897
|
+
deviceId: string;
|
|
898
|
+
};
|
|
899
|
+
ownerKey: string;
|
|
900
|
+
title: string;
|
|
901
|
+
createdAt: string;
|
|
902
|
+
revision: number;
|
|
903
|
+
access: {
|
|
904
|
+
state: "REJECTED" | "UNKNOWN" | "PENDING" | "LOCAL_ONLY" | "SYNCED";
|
|
905
|
+
desired: {
|
|
906
|
+
reference: {
|
|
907
|
+
tenantId: string;
|
|
908
|
+
projectId: string;
|
|
909
|
+
fileId: string;
|
|
910
|
+
versionId: string;
|
|
911
|
+
checksumSha256: string;
|
|
912
|
+
byteSize: number;
|
|
913
|
+
contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
|
|
914
|
+
deviceId: string;
|
|
915
|
+
};
|
|
916
|
+
requestId: string;
|
|
917
|
+
expectedRevision: number;
|
|
918
|
+
metadata: {
|
|
919
|
+
label: string;
|
|
920
|
+
} | null;
|
|
921
|
+
allowInspect: boolean;
|
|
922
|
+
allowPublish: boolean;
|
|
923
|
+
expiresAt: string;
|
|
924
|
+
} | null;
|
|
925
|
+
confirmed: {
|
|
926
|
+
reference: {
|
|
927
|
+
tenantId: string;
|
|
928
|
+
projectId: string;
|
|
929
|
+
fileId: string;
|
|
930
|
+
versionId: string;
|
|
931
|
+
checksumSha256: string;
|
|
932
|
+
byteSize: number;
|
|
933
|
+
contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
|
|
934
|
+
deviceId: string;
|
|
935
|
+
};
|
|
936
|
+
requestId: string;
|
|
937
|
+
expectedRevision: number;
|
|
938
|
+
metadata: {
|
|
939
|
+
label: string;
|
|
940
|
+
} | null;
|
|
941
|
+
allowInspect: boolean;
|
|
942
|
+
allowPublish: boolean;
|
|
943
|
+
expiresAt: string;
|
|
944
|
+
revision: number;
|
|
945
|
+
recordedAt: string;
|
|
946
|
+
} | null;
|
|
947
|
+
};
|
|
948
|
+
}[];
|
|
949
|
+
nextCursor: string | null;
|
|
950
|
+
} | {
|
|
951
|
+
reference: {
|
|
952
|
+
tenantId: string;
|
|
953
|
+
projectId: string;
|
|
954
|
+
fileId: string;
|
|
955
|
+
versionId: string;
|
|
956
|
+
checksumSha256: string;
|
|
957
|
+
byteSize: number;
|
|
958
|
+
contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
|
|
959
|
+
deviceId: string;
|
|
960
|
+
};
|
|
961
|
+
metadata: {
|
|
962
|
+
label: string;
|
|
963
|
+
} | null;
|
|
964
|
+
accessRevision: number;
|
|
965
|
+
allowInspect: boolean;
|
|
966
|
+
allowPublish: boolean;
|
|
967
|
+
expiresAt: string;
|
|
968
|
+
} | {
|
|
969
|
+
reference: {
|
|
970
|
+
tenantId: string;
|
|
971
|
+
projectId: string;
|
|
972
|
+
fileId: string;
|
|
973
|
+
versionId: string;
|
|
974
|
+
checksumSha256: string;
|
|
975
|
+
byteSize: number;
|
|
976
|
+
contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
|
|
977
|
+
deviceId: string;
|
|
978
|
+
};
|
|
979
|
+
offset: number;
|
|
980
|
+
contentBase64: string;
|
|
981
|
+
complete: boolean;
|
|
982
|
+
} | {
|
|
983
|
+
protocol: "NVS_LOCAL_LIBRARY_V1";
|
|
984
|
+
available: boolean;
|
|
985
|
+
profileDigest: string;
|
|
986
|
+
} | {
|
|
987
|
+
fileCount: number;
|
|
988
|
+
totalBytes: number;
|
|
989
|
+
quotaBytes: number;
|
|
990
|
+
availableDiskBytes: number;
|
|
271
991
|
} | {
|
|
272
992
|
runtimeRevision: number;
|
|
273
993
|
descriptor: {
|
|
@@ -279,20 +999,89 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
279
999
|
};
|
|
280
1000
|
platform: {
|
|
281
1001
|
os: "darwin" | "linux" | "win32";
|
|
282
|
-
architecture: "
|
|
1002
|
+
architecture: "arm64" | "x64";
|
|
283
1003
|
};
|
|
284
1004
|
ipcProtocol: "NVS_LOCAL_IPC_V1";
|
|
285
|
-
workProtocol: "NVS_LOCAL_WORK_V1";
|
|
1005
|
+
workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
|
|
286
1006
|
journalSchema: 1;
|
|
287
1007
|
rendererDigest: string;
|
|
288
1008
|
profileDigest: string;
|
|
1009
|
+
compatibleRenderers?: {
|
|
1010
|
+
rendererDigest: string;
|
|
1011
|
+
profileDigest: string;
|
|
1012
|
+
}[] | undefined;
|
|
289
1013
|
};
|
|
290
1014
|
activeProcesses: number;
|
|
291
1015
|
pendingExecutions: number;
|
|
292
1016
|
pendingRequests: number;
|
|
293
1017
|
pendingRenderers: string[];
|
|
294
1018
|
} | {
|
|
295
|
-
|
|
1019
|
+
settings: {
|
|
1020
|
+
revision: number;
|
|
1021
|
+
policy: {
|
|
1022
|
+
acceptNewWork: boolean;
|
|
1023
|
+
mode: "CONTINUOUS" | "IDLE_ONLY";
|
|
1024
|
+
idleAfterSeconds: number;
|
|
1025
|
+
maxConcurrentJobs: number;
|
|
1026
|
+
cpuCores: 2 | 1;
|
|
1027
|
+
memoryMiB: number;
|
|
1028
|
+
cacheQuotaBytes: number;
|
|
1029
|
+
};
|
|
1030
|
+
};
|
|
1031
|
+
storage: {
|
|
1032
|
+
cacheBytes: number;
|
|
1033
|
+
protectedBytes: number;
|
|
1034
|
+
reclaimableBytes: number;
|
|
1035
|
+
transferBytes: number;
|
|
1036
|
+
journalBytes: number;
|
|
1037
|
+
availableDiskBytes: number;
|
|
1038
|
+
quotaBytes: number;
|
|
1039
|
+
overQuota: boolean;
|
|
1040
|
+
reviewBytes?: number | undefined;
|
|
1041
|
+
ownerStagingBytes?: number | undefined;
|
|
1042
|
+
};
|
|
1043
|
+
scheduling: {
|
|
1044
|
+
state: "READY" | "PAUSED" | "WAITING_FOR_IDLE" | "AT_CAPACITY" | "DRAINING";
|
|
1045
|
+
activeJobs: number;
|
|
1046
|
+
idleObservationCurrent: boolean;
|
|
1047
|
+
};
|
|
1048
|
+
} | {
|
|
1049
|
+
protocol: "NVS_LOCAL_DIAGNOSTICS_V1";
|
|
1050
|
+
createdAt: string;
|
|
1051
|
+
runtimeVersion: string;
|
|
1052
|
+
runtimeRevision: number;
|
|
1053
|
+
settings: {
|
|
1054
|
+
revision: number;
|
|
1055
|
+
policy: {
|
|
1056
|
+
acceptNewWork: boolean;
|
|
1057
|
+
mode: "CONTINUOUS" | "IDLE_ONLY";
|
|
1058
|
+
idleAfterSeconds: number;
|
|
1059
|
+
maxConcurrentJobs: number;
|
|
1060
|
+
cpuCores: 2 | 1;
|
|
1061
|
+
memoryMiB: number;
|
|
1062
|
+
cacheQuotaBytes: number;
|
|
1063
|
+
};
|
|
1064
|
+
};
|
|
1065
|
+
storage: {
|
|
1066
|
+
cacheBytes: number;
|
|
1067
|
+
protectedBytes: number;
|
|
1068
|
+
reclaimableBytes: number;
|
|
1069
|
+
transferBytes: number;
|
|
1070
|
+
journalBytes: number;
|
|
1071
|
+
availableDiskBytes: number;
|
|
1072
|
+
quotaBytes: number;
|
|
1073
|
+
overQuota: boolean;
|
|
1074
|
+
reviewBytes?: number | undefined;
|
|
1075
|
+
ownerStagingBytes?: number | undefined;
|
|
1076
|
+
};
|
|
1077
|
+
recordCounts: Record<string, number>;
|
|
1078
|
+
failures: {
|
|
1079
|
+
taskFingerprint: string;
|
|
1080
|
+
code: string;
|
|
1081
|
+
observedAt: string;
|
|
1082
|
+
}[];
|
|
1083
|
+
} | {
|
|
1084
|
+
mode: "INSTALLED" | "MANAGED";
|
|
296
1085
|
availability: "UNAVAILABLE" | "AVAILABLE";
|
|
297
1086
|
reason: "QUALIFIED_PROCESS_TOOLS" | "MANAGED_TOOLS_MISSING" | "TOOL_QUALIFICATION_FAILED";
|
|
298
1087
|
nativeExecutionReady: boolean;
|
|
@@ -302,6 +1091,7 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
302
1091
|
version: string;
|
|
303
1092
|
digest: string;
|
|
304
1093
|
}[];
|
|
1094
|
+
executionProfiles?: ("ROUGH_CUT_PREVIEW_V1" | "STUDIO_MEDIA_V2" | "AUDIO_MEDIA_V1")[] | undefined;
|
|
305
1095
|
} | {
|
|
306
1096
|
items: {
|
|
307
1097
|
binding: {
|
|
@@ -316,8 +1106,19 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
316
1106
|
toolchainFingerprint: string;
|
|
317
1107
|
};
|
|
318
1108
|
revision: number;
|
|
319
|
-
phase: "RUNNING" | "RECOVERY_REQUIRED" | "
|
|
1109
|
+
phase: "RUNNING" | "RECOVERY_REQUIRED" | "FENCED" | "STAGED" | "OUTPUT_PENDING" | "RECEIPT_RECORDED";
|
|
320
1110
|
checkpoint: "ADOPTED" | "SOURCES_READY" | "PROCESS_STARTED" | "OUTPUT_STAGED";
|
|
1111
|
+
progress?: {
|
|
1112
|
+
stage: "WAITING" | "COMPLETE" | "RECOVERY_REQUIRED" | "DOWNLOADING" | "EXECUTING" | "UPLOADING" | "AWAITING_ACCEPTANCE" | "FENCED";
|
|
1113
|
+
downloadedBytes: number;
|
|
1114
|
+
sourceBytes: number;
|
|
1115
|
+
uploadedBytes: number;
|
|
1116
|
+
outputBytes: number;
|
|
1117
|
+
lastError: {
|
|
1118
|
+
code: string;
|
|
1119
|
+
observedAt: string;
|
|
1120
|
+
} | null;
|
|
1121
|
+
} | undefined;
|
|
321
1122
|
}[];
|
|
322
1123
|
nextCursor: string | null;
|
|
323
1124
|
} | {
|
|
@@ -333,13 +1134,17 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
333
1134
|
};
|
|
334
1135
|
platform: {
|
|
335
1136
|
os: "darwin" | "linux" | "win32";
|
|
336
|
-
architecture: "
|
|
1137
|
+
architecture: "arm64" | "x64";
|
|
337
1138
|
};
|
|
338
1139
|
ipcProtocol: "NVS_LOCAL_IPC_V1";
|
|
339
|
-
workProtocol: "NVS_LOCAL_WORK_V1";
|
|
1140
|
+
workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
|
|
340
1141
|
journalSchema: 1;
|
|
341
1142
|
rendererDigest: string;
|
|
342
1143
|
profileDigest: string;
|
|
1144
|
+
compatibleRenderers?: {
|
|
1145
|
+
rendererDigest: string;
|
|
1146
|
+
profileDigest: string;
|
|
1147
|
+
}[] | undefined;
|
|
343
1148
|
};
|
|
344
1149
|
activeProcesses: number;
|
|
345
1150
|
pendingExecutions: number;
|
|
@@ -349,26 +1154,199 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
349
1154
|
backupPath?: string | undefined;
|
|
350
1155
|
} | null>;
|
|
351
1156
|
private response;
|
|
352
|
-
status(signal?: AbortSignal): Promise<{
|
|
1157
|
+
status(signal?: AbortSignal, includeDevice?: boolean): Promise<{
|
|
353
1158
|
protocol: "NVS_LOCAL_IPC_V1";
|
|
354
1159
|
runtimeRevision: number;
|
|
355
|
-
state: "RECOVERY_REQUIRED" | "
|
|
1160
|
+
state: "RECOVERY_REQUIRED" | "EXECUTING" | "DRAINING" | "IDLE";
|
|
356
1161
|
journalSchemaVersion: 1;
|
|
357
|
-
workProtocols: "NVS_LOCAL_WORK_V1"[];
|
|
1162
|
+
workProtocols: ("NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2")[];
|
|
358
1163
|
versions: {
|
|
359
1164
|
component: "CLI" | "SDK" | "MCP" | "RUNTIME" | "MEDIA_TOOLS";
|
|
360
1165
|
installedVersion: string | null;
|
|
361
1166
|
runningVersion: string | null;
|
|
362
1167
|
availableVersion: string | null;
|
|
363
1168
|
executablePath: string | null;
|
|
364
|
-
installOwner: "UNKNOWN" | "PROJECT" | "
|
|
365
|
-
}[];
|
|
366
|
-
authorizedProjects: {
|
|
367
|
-
tenantId: string;
|
|
368
|
-
projectId: string;
|
|
1169
|
+
installOwner: "UNKNOWN" | "PROJECT" | "MANAGED" | "NPM_GLOBAL" | "NPX" | "TARBALL";
|
|
369
1170
|
}[];
|
|
370
1171
|
nextActions: {
|
|
371
1172
|
call: {
|
|
1173
|
+
operation: "library.capability";
|
|
1174
|
+
} | {
|
|
1175
|
+
operation: "library.call";
|
|
1176
|
+
input: {
|
|
1177
|
+
tenantId: string;
|
|
1178
|
+
after: string | null;
|
|
1179
|
+
limit: number;
|
|
1180
|
+
deviceId: string;
|
|
1181
|
+
action: "list";
|
|
1182
|
+
projectId?: string | undefined;
|
|
1183
|
+
ownerKey?: string | undefined;
|
|
1184
|
+
search?: string | undefined;
|
|
1185
|
+
mediaCategory?: "IMAGE" | "VIDEO" | "AUDIO" | "DOCUMENT" | undefined;
|
|
1186
|
+
} | {
|
|
1187
|
+
reference: {
|
|
1188
|
+
tenantId: string;
|
|
1189
|
+
projectId: string;
|
|
1190
|
+
fileId: string;
|
|
1191
|
+
versionId: string;
|
|
1192
|
+
checksumSha256: string;
|
|
1193
|
+
byteSize: number;
|
|
1194
|
+
contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
|
|
1195
|
+
deviceId: string;
|
|
1196
|
+
};
|
|
1197
|
+
action: "get";
|
|
1198
|
+
ownerKey?: string | undefined;
|
|
1199
|
+
} | {
|
|
1200
|
+
tenantId: string;
|
|
1201
|
+
limit: number;
|
|
1202
|
+
deviceId: string;
|
|
1203
|
+
after: string | null;
|
|
1204
|
+
projectId: string;
|
|
1205
|
+
action: "scoped-list";
|
|
1206
|
+
search?: string | undefined;
|
|
1207
|
+
mediaCategory?: "IMAGE" | "VIDEO" | "AUDIO" | "DOCUMENT" | undefined;
|
|
1208
|
+
} | {
|
|
1209
|
+
action: "scoped-get";
|
|
1210
|
+
reference: {
|
|
1211
|
+
tenantId: string;
|
|
1212
|
+
projectId: string;
|
|
1213
|
+
fileId: string;
|
|
1214
|
+
versionId: string;
|
|
1215
|
+
checksumSha256: string;
|
|
1216
|
+
byteSize: number;
|
|
1217
|
+
contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
|
|
1218
|
+
deviceId: string;
|
|
1219
|
+
};
|
|
1220
|
+
} | {
|
|
1221
|
+
action: "usage";
|
|
1222
|
+
ownerKey?: string | undefined;
|
|
1223
|
+
} | {
|
|
1224
|
+
reference: {
|
|
1225
|
+
tenantId: string;
|
|
1226
|
+
projectId: string;
|
|
1227
|
+
fileId: string;
|
|
1228
|
+
versionId: string;
|
|
1229
|
+
checksumSha256: string;
|
|
1230
|
+
byteSize: number;
|
|
1231
|
+
contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
|
|
1232
|
+
deviceId: string;
|
|
1233
|
+
};
|
|
1234
|
+
offset: number;
|
|
1235
|
+
length: number;
|
|
1236
|
+
action: "read";
|
|
1237
|
+
ownerKey?: string | undefined;
|
|
1238
|
+
} | {
|
|
1239
|
+
command: {
|
|
1240
|
+
reference: {
|
|
1241
|
+
tenantId: string;
|
|
1242
|
+
projectId: string;
|
|
1243
|
+
fileId: string;
|
|
1244
|
+
versionId: string;
|
|
1245
|
+
checksumSha256: string;
|
|
1246
|
+
byteSize: number;
|
|
1247
|
+
contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
|
|
1248
|
+
deviceId: string;
|
|
1249
|
+
};
|
|
1250
|
+
requestId: string;
|
|
1251
|
+
expectedRevision: number;
|
|
1252
|
+
metadata: {
|
|
1253
|
+
label: string;
|
|
1254
|
+
} | null;
|
|
1255
|
+
allowInspect: boolean;
|
|
1256
|
+
allowPublish: boolean;
|
|
1257
|
+
expiresAt: string;
|
|
1258
|
+
};
|
|
1259
|
+
expectedLocalRevision: number;
|
|
1260
|
+
action: "access";
|
|
1261
|
+
ownerKey?: string | undefined;
|
|
1262
|
+
} | {
|
|
1263
|
+
reference: {
|
|
1264
|
+
tenantId: string;
|
|
1265
|
+
projectId: string;
|
|
1266
|
+
fileId: string;
|
|
1267
|
+
versionId: string;
|
|
1268
|
+
checksumSha256: string;
|
|
1269
|
+
byteSize: number;
|
|
1270
|
+
contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
|
|
1271
|
+
deviceId: string;
|
|
1272
|
+
};
|
|
1273
|
+
requestId: string;
|
|
1274
|
+
action: "sync";
|
|
1275
|
+
ownerKey?: string | undefined;
|
|
1276
|
+
} | {
|
|
1277
|
+
reference: {
|
|
1278
|
+
tenantId: string;
|
|
1279
|
+
projectId: string;
|
|
1280
|
+
fileId: string;
|
|
1281
|
+
versionId: string;
|
|
1282
|
+
checksumSha256: string;
|
|
1283
|
+
byteSize: number;
|
|
1284
|
+
contentType: "application/json" | "application/pdf" | "application/octet-stream" | "text/plain" | "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "video/mp4";
|
|
1285
|
+
deviceId: string;
|
|
1286
|
+
};
|
|
1287
|
+
requestId: string;
|
|
1288
|
+
action: "resume-access";
|
|
1289
|
+
ownerKey?: string | undefined;
|
|
1290
|
+
} | {
|
|
1291
|
+
tenantId: string;
|
|
1292
|
+
projectId: string;
|
|
1293
|
+
deviceId: string;
|
|
1294
|
+
requestId: string;
|
|
1295
|
+
action: "import-receipt";
|
|
1296
|
+
ownerKey?: string | undefined;
|
|
1297
|
+
};
|
|
1298
|
+
} | {
|
|
1299
|
+
operation: "agent.discover";
|
|
1300
|
+
binary?: string | undefined;
|
|
1301
|
+
} | {
|
|
1302
|
+
operation: "offline.workspace";
|
|
1303
|
+
input: {
|
|
1304
|
+
action: "list" | "forget";
|
|
1305
|
+
key: string;
|
|
1306
|
+
} | {
|
|
1307
|
+
action: "retain";
|
|
1308
|
+
key: string;
|
|
1309
|
+
snapshot: {
|
|
1310
|
+
projectId: string;
|
|
1311
|
+
title: string;
|
|
1312
|
+
savedAt: string;
|
|
1313
|
+
expiresAt: string;
|
|
1314
|
+
productions: {
|
|
1315
|
+
id: string;
|
|
1316
|
+
title: string;
|
|
1317
|
+
}[];
|
|
1318
|
+
possiblyTruncated: boolean;
|
|
1319
|
+
};
|
|
1320
|
+
} | {
|
|
1321
|
+
action: "draft";
|
|
1322
|
+
key: string;
|
|
1323
|
+
projectId: string;
|
|
1324
|
+
text: string;
|
|
1325
|
+
expectedRevision: number;
|
|
1326
|
+
};
|
|
1327
|
+
} | {
|
|
1328
|
+
operation: "workspace.inspect";
|
|
1329
|
+
} | {
|
|
1330
|
+
operation: "workspace.configure";
|
|
1331
|
+
policy: {
|
|
1332
|
+
acceptNewWork: boolean;
|
|
1333
|
+
mode: "CONTINUOUS" | "IDLE_ONLY";
|
|
1334
|
+
idleAfterSeconds: number;
|
|
1335
|
+
maxConcurrentJobs: number;
|
|
1336
|
+
cpuCores: 2 | 1;
|
|
1337
|
+
memoryMiB: number;
|
|
1338
|
+
cacheQuotaBytes: number;
|
|
1339
|
+
};
|
|
1340
|
+
expectedRevision: number;
|
|
1341
|
+
} | {
|
|
1342
|
+
operation: "workspace.activity";
|
|
1343
|
+
idleSeconds: number;
|
|
1344
|
+
observedAt: string;
|
|
1345
|
+
} | {
|
|
1346
|
+
operation: "storage.clean";
|
|
1347
|
+
} | {
|
|
1348
|
+
operation: "diagnostics.read";
|
|
1349
|
+
} | {
|
|
372
1350
|
operation: "agent.grant";
|
|
373
1351
|
grant: {
|
|
374
1352
|
protocol: "NVS_CODEX_REVIEW_GRANT_V1";
|
|
@@ -386,6 +1364,7 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
386
1364
|
expiresAt: string;
|
|
387
1365
|
reasoningEffort?: "medium" | "low" | "high" | "xhigh" | undefined;
|
|
388
1366
|
imageDisclosureApproved?: true | undefined;
|
|
1367
|
+
mediaDisclosureApproved?: true | undefined;
|
|
389
1368
|
};
|
|
390
1369
|
approval: string;
|
|
391
1370
|
} | {
|
|
@@ -402,11 +1381,20 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
402
1381
|
projectId: string & import("zod").$brand<"ProjectId">;
|
|
403
1382
|
productionId: string & import("zod").$brand<"ProductionId">;
|
|
404
1383
|
};
|
|
405
|
-
contextFingerprint: string;
|
|
406
1384
|
target: {
|
|
407
1385
|
kind: "IMAGE";
|
|
408
1386
|
generationId: string;
|
|
1387
|
+
} | {
|
|
1388
|
+
kind: "VIDEO";
|
|
1389
|
+
generationId: string;
|
|
1390
|
+
} | {
|
|
1391
|
+
kind: "ROUGH_CUT";
|
|
1392
|
+
renderId: string;
|
|
1393
|
+
} | {
|
|
1394
|
+
kind: "PROGRAMMATIC";
|
|
1395
|
+
renderId: string;
|
|
409
1396
|
};
|
|
1397
|
+
contextFingerprint: string;
|
|
410
1398
|
};
|
|
411
1399
|
productionRevision: number;
|
|
412
1400
|
reviewVersion: number;
|
|
@@ -416,12 +1404,135 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
416
1404
|
representationId: string;
|
|
417
1405
|
checksumSha256: string;
|
|
418
1406
|
};
|
|
419
|
-
requirements: {
|
|
1407
|
+
requirements: ({
|
|
420
1408
|
key: string;
|
|
1409
|
+
dimension: "TRANSITION" | "STYLE" | "PRODUCT_PRESENTATION" | "CANONICAL_FACT" | "NARRATIVE" | "PACING" | "REPETITION" | "TECHNICAL";
|
|
421
1410
|
expected: string;
|
|
422
1411
|
enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
|
|
1412
|
+
scope: "PRODUCTION" | "TRANSITION";
|
|
1413
|
+
interval: {
|
|
1414
|
+
startMs: number;
|
|
1415
|
+
endMs: number;
|
|
1416
|
+
};
|
|
1417
|
+
shotIds: string[];
|
|
1418
|
+
voiceIdentity?: {
|
|
1419
|
+
qualified: boolean;
|
|
1420
|
+
evidenceFingerprint: string;
|
|
1421
|
+
listeningIntervals: {
|
|
1422
|
+
startMs: number;
|
|
1423
|
+
endMs: number;
|
|
1424
|
+
}[];
|
|
1425
|
+
sourceAudioVersionIds: string[];
|
|
1426
|
+
reasons: ("TEST_ONLY" | "NO_SOURCE" | "VOICE_UNAVAILABLE" | "REFERENCE_CHANGED" | "AUDIO_UNAVAILABLE" | "IDENTITY_MISMATCH" | "NO_COMPARISON" | "COMPARISON_NOT_MATCHED" | "COMPARISON_STALE")[];
|
|
1427
|
+
} | undefined;
|
|
1428
|
+
continuity?: {
|
|
1429
|
+
kind: "STATE";
|
|
1430
|
+
mode: "PRESERVE" | "PLANNED_TRANSITIONS";
|
|
1431
|
+
entry: string;
|
|
1432
|
+
exit: string;
|
|
1433
|
+
changes?: {
|
|
1434
|
+
atPermille: number;
|
|
1435
|
+
from: string;
|
|
1436
|
+
to: string;
|
|
1437
|
+
reason: string;
|
|
1438
|
+
}[] | undefined;
|
|
1439
|
+
} | {
|
|
1440
|
+
kind: "TIME";
|
|
1441
|
+
mode: "MONOTONIC" | "PLANNED_JUMPS";
|
|
1442
|
+
entryMs: number;
|
|
1443
|
+
exitMs: number;
|
|
1444
|
+
jumps?: {
|
|
1445
|
+
atPermille: number;
|
|
1446
|
+
fromMs: number;
|
|
1447
|
+
toMs: number;
|
|
1448
|
+
reason: string;
|
|
1449
|
+
}[] | undefined;
|
|
1450
|
+
} | undefined;
|
|
1451
|
+
consistencyScale?: "PRODUCTION" | "INTRA_SHOT" | "INTER_SHOT" | undefined;
|
|
1452
|
+
consistencyFamily?: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "BOUNDARY_CONTINUITY" | "VOICE_IDENTITY" | undefined;
|
|
1453
|
+
consistencySubject?: {
|
|
1454
|
+
id: string;
|
|
1455
|
+
kind: "CHARACTER" | "VOICE";
|
|
1456
|
+
displayName: string;
|
|
1457
|
+
facts: {
|
|
1458
|
+
dimension: string;
|
|
1459
|
+
value: string;
|
|
1460
|
+
}[];
|
|
1461
|
+
master: {
|
|
1462
|
+
artifactId: string & import("zod").$brand<"ArtifactId">;
|
|
1463
|
+
representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
|
|
1464
|
+
checksumSha256: string;
|
|
1465
|
+
artifactChecksumSha256: string;
|
|
1466
|
+
contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
|
|
1467
|
+
};
|
|
1468
|
+
voiceExpectation?: {
|
|
1469
|
+
voiceProfile: {
|
|
1470
|
+
ownerSystem: string;
|
|
1471
|
+
ownerTenantRef: string;
|
|
1472
|
+
voiceProfileRef: string;
|
|
1473
|
+
version: number;
|
|
1474
|
+
digest: string;
|
|
1475
|
+
};
|
|
1476
|
+
referenceId: string;
|
|
1477
|
+
} | undefined;
|
|
1478
|
+
} | undefined;
|
|
1479
|
+
consistencyReference?: {
|
|
1480
|
+
artifactId: string & import("zod").$brand<"ArtifactId">;
|
|
1481
|
+
representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
|
|
1482
|
+
checksumSha256: string;
|
|
1483
|
+
artifactChecksumSha256: string;
|
|
1484
|
+
contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
|
|
1485
|
+
} | undefined;
|
|
1486
|
+
} | {
|
|
1487
|
+
key: string;
|
|
1488
|
+
family: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "SHOT_INTENT" | "BOUNDARY_CONTINUITY" | "SOUND";
|
|
1489
|
+
expected: string;
|
|
1490
|
+
enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
|
|
1491
|
+
evidenceWindow: "START" | "END" | "WHOLE_VIDEO" | "TEMPORAL";
|
|
423
1492
|
intentPath?: string | undefined;
|
|
424
|
-
|
|
1493
|
+
continuity?: {
|
|
1494
|
+
kind: "STATE";
|
|
1495
|
+
mode: "PRESERVE" | "PLANNED_TRANSITIONS";
|
|
1496
|
+
entry: string;
|
|
1497
|
+
exit: string;
|
|
1498
|
+
changes?: {
|
|
1499
|
+
atPermille: number;
|
|
1500
|
+
from: string;
|
|
1501
|
+
to: string;
|
|
1502
|
+
reason: string;
|
|
1503
|
+
}[] | undefined;
|
|
1504
|
+
} | {
|
|
1505
|
+
kind: "TIME";
|
|
1506
|
+
mode: "MONOTONIC" | "PLANNED_JUMPS";
|
|
1507
|
+
entryMs: number;
|
|
1508
|
+
exitMs: number;
|
|
1509
|
+
jumps?: {
|
|
1510
|
+
atPermille: number;
|
|
1511
|
+
fromMs: number;
|
|
1512
|
+
toMs: number;
|
|
1513
|
+
reason: string;
|
|
1514
|
+
}[] | undefined;
|
|
1515
|
+
} | undefined;
|
|
1516
|
+
interval?: {
|
|
1517
|
+
startMs: number;
|
|
1518
|
+
endMs: number;
|
|
1519
|
+
} | undefined;
|
|
1520
|
+
} | {
|
|
1521
|
+
key: string;
|
|
1522
|
+
expected: string;
|
|
1523
|
+
enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
|
|
1524
|
+
intentPath?: string | undefined;
|
|
1525
|
+
})[];
|
|
1526
|
+
evidence?: {
|
|
1527
|
+
profile: "NVS_AGENT_DERIVED_EVIDENCE_V1";
|
|
1528
|
+
contentType: "image/png" | "image/jpeg" | "image/webp" | "video/mp4";
|
|
1529
|
+
byteSize: number;
|
|
1530
|
+
width: number;
|
|
1531
|
+
height: number;
|
|
1532
|
+
durationMs?: number | undefined;
|
|
1533
|
+
frameRate?: 30 | 24 | undefined;
|
|
1534
|
+
hasAudio?: boolean | undefined;
|
|
1535
|
+
} | undefined;
|
|
425
1536
|
image?: {
|
|
426
1537
|
contentType: "image/png";
|
|
427
1538
|
byteSize: number;
|
|
@@ -439,16 +1550,15 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
439
1550
|
id: string;
|
|
440
1551
|
} | {
|
|
441
1552
|
operation: "runtime.status";
|
|
1553
|
+
includeDevice?: true | undefined;
|
|
442
1554
|
} | {
|
|
443
1555
|
operation: "runtime.doctor";
|
|
444
1556
|
} | {
|
|
445
1557
|
operation: "runtime.inventory";
|
|
446
1558
|
} | {
|
|
447
1559
|
operation: "session.issue";
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
projectId: string;
|
|
451
|
-
}[];
|
|
1560
|
+
tenantId: string;
|
|
1561
|
+
deviceId: string;
|
|
452
1562
|
expiresAt: string;
|
|
453
1563
|
} | {
|
|
454
1564
|
operation: "runtime.stop";
|
|
@@ -460,6 +1570,7 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
460
1570
|
projectId: string;
|
|
461
1571
|
productionId: string;
|
|
462
1572
|
runtimeJobId: string;
|
|
1573
|
+
includeProgress?: boolean | undefined;
|
|
463
1574
|
};
|
|
464
1575
|
} | {
|
|
465
1576
|
operation: "execution.list";
|
|
@@ -468,6 +1579,8 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
468
1579
|
projectId: string;
|
|
469
1580
|
after: string | null;
|
|
470
1581
|
limit: number;
|
|
1582
|
+
includeCompleted?: boolean | undefined;
|
|
1583
|
+
includeProgress?: boolean | undefined;
|
|
471
1584
|
};
|
|
472
1585
|
} | {
|
|
473
1586
|
operation: "update.check";
|
|
@@ -484,9 +1597,20 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
484
1597
|
availability: "AVAILABLE" | "BLOCKED";
|
|
485
1598
|
reason: "READY" | "INSTALL_REQUIRED" | "AUTHORIZATION_REQUIRED" | "VERSION_INCOMPATIBLE" | "UPDATE_AVAILABLE" | "RECOVERY_REQUIRED";
|
|
486
1599
|
}[];
|
|
1600
|
+
deviceAuthority?: {
|
|
1601
|
+
tenantId: string;
|
|
1602
|
+
deviceId: string;
|
|
1603
|
+
origin: string;
|
|
1604
|
+
} | undefined;
|
|
1605
|
+
deviceCapabilities?: {
|
|
1606
|
+
deviceRevision: number;
|
|
1607
|
+
tenantMediaValidation: boolean;
|
|
1608
|
+
tenantMediaProcessing: boolean;
|
|
1609
|
+
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")[];
|
|
1610
|
+
} | undefined;
|
|
487
1611
|
}>;
|
|
488
1612
|
doctor(signal?: AbortSignal): Promise<{
|
|
489
|
-
mode: "
|
|
1613
|
+
mode: "INSTALLED" | "MANAGED";
|
|
490
1614
|
availability: "UNAVAILABLE" | "AVAILABLE";
|
|
491
1615
|
reason: "QUALIFIED_PROCESS_TOOLS" | "MANAGED_TOOLS_MISSING" | "TOOL_QUALIFICATION_FAILED";
|
|
492
1616
|
nativeExecutionReady: boolean;
|
|
@@ -496,6 +1620,7 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
496
1620
|
version: string;
|
|
497
1621
|
digest: string;
|
|
498
1622
|
}[];
|
|
1623
|
+
executionProfiles?: ("ROUGH_CUT_PREVIEW_V1" | "STUDIO_MEDIA_V2" | "AUDIO_MEDIA_V1")[] | undefined;
|
|
499
1624
|
}>;
|
|
500
1625
|
inventory(signal?: AbortSignal): Promise<{
|
|
501
1626
|
runtimeRevision: number;
|
|
@@ -508,13 +1633,17 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
508
1633
|
};
|
|
509
1634
|
platform: {
|
|
510
1635
|
os: "darwin" | "linux" | "win32";
|
|
511
|
-
architecture: "
|
|
1636
|
+
architecture: "arm64" | "x64";
|
|
512
1637
|
};
|
|
513
1638
|
ipcProtocol: "NVS_LOCAL_IPC_V1";
|
|
514
|
-
workProtocol: "NVS_LOCAL_WORK_V1";
|
|
1639
|
+
workProtocol: "NVS_LOCAL_WORK_V1" | "NVS_LOCAL_WORK_V2";
|
|
515
1640
|
journalSchema: 1;
|
|
516
1641
|
rendererDigest: string;
|
|
517
1642
|
profileDigest: string;
|
|
1643
|
+
compatibleRenderers?: {
|
|
1644
|
+
rendererDigest: string;
|
|
1645
|
+
profileDigest: string;
|
|
1646
|
+
}[] | undefined;
|
|
518
1647
|
};
|
|
519
1648
|
activeProcesses: number;
|
|
520
1649
|
pendingExecutions: number;
|
|
@@ -542,9 +1671,35 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
542
1671
|
grantFingerprint: string | null;
|
|
543
1672
|
inference: "REMOTE_OPENAI";
|
|
544
1673
|
}>;
|
|
1674
|
+
discoverAgent(binary?: string): Promise<{
|
|
1675
|
+
candidate: {
|
|
1676
|
+
binary: string;
|
|
1677
|
+
binaryDigest: string;
|
|
1678
|
+
version: string;
|
|
1679
|
+
qualified: boolean;
|
|
1680
|
+
} | null;
|
|
1681
|
+
configured: {
|
|
1682
|
+
protocol: "NVS_CODEX_REVIEW_GRANT_V1";
|
|
1683
|
+
binary: string;
|
|
1684
|
+
binaryDigest: string;
|
|
1685
|
+
version: "0.164.0" | "0.165.0";
|
|
1686
|
+
model: string;
|
|
1687
|
+
reviewerLabel: string;
|
|
1688
|
+
inference: "REMOTE_OPENAI";
|
|
1689
|
+
remoteUseApproved: true;
|
|
1690
|
+
projects: {
|
|
1691
|
+
tenantId: string;
|
|
1692
|
+
projectId: string;
|
|
1693
|
+
}[];
|
|
1694
|
+
expiresAt: string;
|
|
1695
|
+
reasoningEffort?: "medium" | "low" | "high" | "xhigh" | undefined;
|
|
1696
|
+
imageDisclosureApproved?: true | undefined;
|
|
1697
|
+
mediaDisclosureApproved?: true | undefined;
|
|
1698
|
+
} | null;
|
|
1699
|
+
}>;
|
|
545
1700
|
prepareAgentReview(snapshot: LocalAgentSnapshot): Promise<{
|
|
546
1701
|
plan: {
|
|
547
|
-
protocol: "NVS_LOCAL_AGENT_REVIEW_V1";
|
|
1702
|
+
protocol: "NVS_LOCAL_AGENT_REVIEW_V1" | "NVS_LOCAL_AGENT_REVIEW_V2";
|
|
548
1703
|
id: string;
|
|
549
1704
|
grantFingerprint: string;
|
|
550
1705
|
snapshot: {
|
|
@@ -554,11 +1709,20 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
554
1709
|
projectId: string & import("zod").$brand<"ProjectId">;
|
|
555
1710
|
productionId: string & import("zod").$brand<"ProductionId">;
|
|
556
1711
|
};
|
|
557
|
-
contextFingerprint: string;
|
|
558
1712
|
target: {
|
|
559
1713
|
kind: "IMAGE";
|
|
560
1714
|
generationId: string;
|
|
1715
|
+
} | {
|
|
1716
|
+
kind: "VIDEO";
|
|
1717
|
+
generationId: string;
|
|
1718
|
+
} | {
|
|
1719
|
+
kind: "ROUGH_CUT";
|
|
1720
|
+
renderId: string;
|
|
1721
|
+
} | {
|
|
1722
|
+
kind: "PROGRAMMATIC";
|
|
1723
|
+
renderId: string;
|
|
561
1724
|
};
|
|
1725
|
+
contextFingerprint: string;
|
|
562
1726
|
};
|
|
563
1727
|
productionRevision: number;
|
|
564
1728
|
reviewVersion: number;
|
|
@@ -568,12 +1732,135 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
568
1732
|
representationId: string;
|
|
569
1733
|
checksumSha256: string;
|
|
570
1734
|
};
|
|
571
|
-
requirements: {
|
|
1735
|
+
requirements: ({
|
|
572
1736
|
key: string;
|
|
1737
|
+
dimension: "TRANSITION" | "STYLE" | "PRODUCT_PRESENTATION" | "CANONICAL_FACT" | "NARRATIVE" | "PACING" | "REPETITION" | "TECHNICAL";
|
|
573
1738
|
expected: string;
|
|
574
1739
|
enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
|
|
1740
|
+
scope: "PRODUCTION" | "TRANSITION";
|
|
1741
|
+
interval: {
|
|
1742
|
+
startMs: number;
|
|
1743
|
+
endMs: number;
|
|
1744
|
+
};
|
|
1745
|
+
shotIds: string[];
|
|
1746
|
+
voiceIdentity?: {
|
|
1747
|
+
qualified: boolean;
|
|
1748
|
+
evidenceFingerprint: string;
|
|
1749
|
+
listeningIntervals: {
|
|
1750
|
+
startMs: number;
|
|
1751
|
+
endMs: number;
|
|
1752
|
+
}[];
|
|
1753
|
+
sourceAudioVersionIds: string[];
|
|
1754
|
+
reasons: ("TEST_ONLY" | "NO_SOURCE" | "VOICE_UNAVAILABLE" | "REFERENCE_CHANGED" | "AUDIO_UNAVAILABLE" | "IDENTITY_MISMATCH" | "NO_COMPARISON" | "COMPARISON_NOT_MATCHED" | "COMPARISON_STALE")[];
|
|
1755
|
+
} | undefined;
|
|
1756
|
+
continuity?: {
|
|
1757
|
+
kind: "STATE";
|
|
1758
|
+
mode: "PRESERVE" | "PLANNED_TRANSITIONS";
|
|
1759
|
+
entry: string;
|
|
1760
|
+
exit: string;
|
|
1761
|
+
changes?: {
|
|
1762
|
+
atPermille: number;
|
|
1763
|
+
from: string;
|
|
1764
|
+
to: string;
|
|
1765
|
+
reason: string;
|
|
1766
|
+
}[] | undefined;
|
|
1767
|
+
} | {
|
|
1768
|
+
kind: "TIME";
|
|
1769
|
+
mode: "MONOTONIC" | "PLANNED_JUMPS";
|
|
1770
|
+
entryMs: number;
|
|
1771
|
+
exitMs: number;
|
|
1772
|
+
jumps?: {
|
|
1773
|
+
atPermille: number;
|
|
1774
|
+
fromMs: number;
|
|
1775
|
+
toMs: number;
|
|
1776
|
+
reason: string;
|
|
1777
|
+
}[] | undefined;
|
|
1778
|
+
} | undefined;
|
|
1779
|
+
consistencyScale?: "PRODUCTION" | "INTRA_SHOT" | "INTER_SHOT" | undefined;
|
|
1780
|
+
consistencyFamily?: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "BOUNDARY_CONTINUITY" | "VOICE_IDENTITY" | undefined;
|
|
1781
|
+
consistencySubject?: {
|
|
1782
|
+
id: string;
|
|
1783
|
+
kind: "CHARACTER" | "VOICE";
|
|
1784
|
+
displayName: string;
|
|
1785
|
+
facts: {
|
|
1786
|
+
dimension: string;
|
|
1787
|
+
value: string;
|
|
1788
|
+
}[];
|
|
1789
|
+
master: {
|
|
1790
|
+
artifactId: string & import("zod").$brand<"ArtifactId">;
|
|
1791
|
+
representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
|
|
1792
|
+
checksumSha256: string;
|
|
1793
|
+
artifactChecksumSha256: string;
|
|
1794
|
+
contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
|
|
1795
|
+
};
|
|
1796
|
+
voiceExpectation?: {
|
|
1797
|
+
voiceProfile: {
|
|
1798
|
+
ownerSystem: string;
|
|
1799
|
+
ownerTenantRef: string;
|
|
1800
|
+
voiceProfileRef: string;
|
|
1801
|
+
version: number;
|
|
1802
|
+
digest: string;
|
|
1803
|
+
};
|
|
1804
|
+
referenceId: string;
|
|
1805
|
+
} | undefined;
|
|
1806
|
+
} | undefined;
|
|
1807
|
+
consistencyReference?: {
|
|
1808
|
+
artifactId: string & import("zod").$brand<"ArtifactId">;
|
|
1809
|
+
representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
|
|
1810
|
+
checksumSha256: string;
|
|
1811
|
+
artifactChecksumSha256: string;
|
|
1812
|
+
contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
|
|
1813
|
+
} | undefined;
|
|
1814
|
+
} | {
|
|
1815
|
+
key: string;
|
|
1816
|
+
family: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "SHOT_INTENT" | "BOUNDARY_CONTINUITY" | "SOUND";
|
|
1817
|
+
expected: string;
|
|
1818
|
+
enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
|
|
1819
|
+
evidenceWindow: "START" | "END" | "WHOLE_VIDEO" | "TEMPORAL";
|
|
575
1820
|
intentPath?: string | undefined;
|
|
576
|
-
|
|
1821
|
+
continuity?: {
|
|
1822
|
+
kind: "STATE";
|
|
1823
|
+
mode: "PRESERVE" | "PLANNED_TRANSITIONS";
|
|
1824
|
+
entry: string;
|
|
1825
|
+
exit: string;
|
|
1826
|
+
changes?: {
|
|
1827
|
+
atPermille: number;
|
|
1828
|
+
from: string;
|
|
1829
|
+
to: string;
|
|
1830
|
+
reason: string;
|
|
1831
|
+
}[] | undefined;
|
|
1832
|
+
} | {
|
|
1833
|
+
kind: "TIME";
|
|
1834
|
+
mode: "MONOTONIC" | "PLANNED_JUMPS";
|
|
1835
|
+
entryMs: number;
|
|
1836
|
+
exitMs: number;
|
|
1837
|
+
jumps?: {
|
|
1838
|
+
atPermille: number;
|
|
1839
|
+
fromMs: number;
|
|
1840
|
+
toMs: number;
|
|
1841
|
+
reason: string;
|
|
1842
|
+
}[] | undefined;
|
|
1843
|
+
} | undefined;
|
|
1844
|
+
interval?: {
|
|
1845
|
+
startMs: number;
|
|
1846
|
+
endMs: number;
|
|
1847
|
+
} | undefined;
|
|
1848
|
+
} | {
|
|
1849
|
+
key: string;
|
|
1850
|
+
expected: string;
|
|
1851
|
+
enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
|
|
1852
|
+
intentPath?: string | undefined;
|
|
1853
|
+
})[];
|
|
1854
|
+
evidence?: {
|
|
1855
|
+
profile: "NVS_AGENT_DERIVED_EVIDENCE_V1";
|
|
1856
|
+
contentType: "image/png" | "image/jpeg" | "image/webp" | "video/mp4";
|
|
1857
|
+
byteSize: number;
|
|
1858
|
+
width: number;
|
|
1859
|
+
height: number;
|
|
1860
|
+
durationMs?: number | undefined;
|
|
1861
|
+
frameRate?: 30 | 24 | undefined;
|
|
1862
|
+
hasAudio?: boolean | undefined;
|
|
1863
|
+
} | undefined;
|
|
577
1864
|
image?: {
|
|
578
1865
|
contentType: "image/png";
|
|
579
1866
|
byteSize: number;
|
|
@@ -596,20 +1883,20 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
596
1883
|
summary: string;
|
|
597
1884
|
imageReadback: string;
|
|
598
1885
|
observations: {
|
|
599
|
-
key: string;
|
|
600
1886
|
status: "SATISFIED" | "VIOLATED" | "NOT_OBSERVABLE" | "NOT_APPLICABLE";
|
|
601
1887
|
confidence: "CLEAR" | "UNCERTAIN";
|
|
602
1888
|
observed: string;
|
|
1889
|
+
key: string;
|
|
603
1890
|
}[];
|
|
604
1891
|
} | null;
|
|
605
1892
|
provenance: {
|
|
606
|
-
adapter: "CODEX_METADATA_V1";
|
|
1893
|
+
adapter: "CODEX_METADATA_V1" | "CODEX_MEDIA_V2";
|
|
607
1894
|
binaryDigest: string;
|
|
608
1895
|
version: "0.164.0" | "0.165.0";
|
|
609
1896
|
model: string;
|
|
610
1897
|
reviewerLabel: string;
|
|
611
1898
|
inference: "REMOTE_OPENAI";
|
|
612
|
-
evidence: "IMAGE_PIXELS" | "METADATA_ONLY";
|
|
1899
|
+
evidence: "IMAGE_PIXELS" | "VIDEO_FRAMES" | "METADATA_ONLY";
|
|
613
1900
|
reasoningEffort?: "medium" | "low" | "high" | "xhigh" | undefined;
|
|
614
1901
|
};
|
|
615
1902
|
imageReceipt?: {
|
|
@@ -625,10 +1912,37 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
625
1912
|
width: number;
|
|
626
1913
|
height: number;
|
|
627
1914
|
} | undefined;
|
|
1915
|
+
evidenceReceipt?: {
|
|
1916
|
+
protocol: "NVS_AGENT_DERIVED_EVIDENCE_V1";
|
|
1917
|
+
draftId: string;
|
|
1918
|
+
media: {
|
|
1919
|
+
artifactId: string;
|
|
1920
|
+
representationId: string;
|
|
1921
|
+
checksumSha256: string;
|
|
1922
|
+
};
|
|
1923
|
+
ffmpegDigest: string;
|
|
1924
|
+
ffprobeDigest: string;
|
|
1925
|
+
attachment: {
|
|
1926
|
+
checksumSha256: string;
|
|
1927
|
+
byteSize: number;
|
|
1928
|
+
width: number;
|
|
1929
|
+
height: number;
|
|
1930
|
+
};
|
|
1931
|
+
timestampsMs: number[];
|
|
1932
|
+
audio: {
|
|
1933
|
+
sampleRateHz: 48000;
|
|
1934
|
+
channels: 1;
|
|
1935
|
+
samples: number;
|
|
1936
|
+
peak: number;
|
|
1937
|
+
rms: number;
|
|
1938
|
+
clippedSamples: number;
|
|
1939
|
+
} | null;
|
|
1940
|
+
limitations: ["SAMPLED_FRAMES_ARE_NOT_FULL_PLAYBACK", "AUDIO_STATISTICS_ARE_NOT_LISTENING_OR_TRANSCRIPTION"];
|
|
1941
|
+
} | undefined;
|
|
628
1942
|
}>;
|
|
629
1943
|
startAgentReview(id: string, expectedRevision: number, approval: string): Promise<{
|
|
630
1944
|
plan: {
|
|
631
|
-
protocol: "NVS_LOCAL_AGENT_REVIEW_V1";
|
|
1945
|
+
protocol: "NVS_LOCAL_AGENT_REVIEW_V1" | "NVS_LOCAL_AGENT_REVIEW_V2";
|
|
632
1946
|
id: string;
|
|
633
1947
|
grantFingerprint: string;
|
|
634
1948
|
snapshot: {
|
|
@@ -638,11 +1952,20 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
638
1952
|
projectId: string & import("zod").$brand<"ProjectId">;
|
|
639
1953
|
productionId: string & import("zod").$brand<"ProductionId">;
|
|
640
1954
|
};
|
|
641
|
-
contextFingerprint: string;
|
|
642
1955
|
target: {
|
|
643
1956
|
kind: "IMAGE";
|
|
644
1957
|
generationId: string;
|
|
1958
|
+
} | {
|
|
1959
|
+
kind: "VIDEO";
|
|
1960
|
+
generationId: string;
|
|
1961
|
+
} | {
|
|
1962
|
+
kind: "ROUGH_CUT";
|
|
1963
|
+
renderId: string;
|
|
1964
|
+
} | {
|
|
1965
|
+
kind: "PROGRAMMATIC";
|
|
1966
|
+
renderId: string;
|
|
645
1967
|
};
|
|
1968
|
+
contextFingerprint: string;
|
|
646
1969
|
};
|
|
647
1970
|
productionRevision: number;
|
|
648
1971
|
reviewVersion: number;
|
|
@@ -652,12 +1975,135 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
652
1975
|
representationId: string;
|
|
653
1976
|
checksumSha256: string;
|
|
654
1977
|
};
|
|
655
|
-
requirements: {
|
|
1978
|
+
requirements: ({
|
|
656
1979
|
key: string;
|
|
1980
|
+
dimension: "TRANSITION" | "STYLE" | "PRODUCT_PRESENTATION" | "CANONICAL_FACT" | "NARRATIVE" | "PACING" | "REPETITION" | "TECHNICAL";
|
|
657
1981
|
expected: string;
|
|
658
1982
|
enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
|
|
1983
|
+
scope: "PRODUCTION" | "TRANSITION";
|
|
1984
|
+
interval: {
|
|
1985
|
+
startMs: number;
|
|
1986
|
+
endMs: number;
|
|
1987
|
+
};
|
|
1988
|
+
shotIds: string[];
|
|
1989
|
+
voiceIdentity?: {
|
|
1990
|
+
qualified: boolean;
|
|
1991
|
+
evidenceFingerprint: string;
|
|
1992
|
+
listeningIntervals: {
|
|
1993
|
+
startMs: number;
|
|
1994
|
+
endMs: number;
|
|
1995
|
+
}[];
|
|
1996
|
+
sourceAudioVersionIds: string[];
|
|
1997
|
+
reasons: ("TEST_ONLY" | "NO_SOURCE" | "VOICE_UNAVAILABLE" | "REFERENCE_CHANGED" | "AUDIO_UNAVAILABLE" | "IDENTITY_MISMATCH" | "NO_COMPARISON" | "COMPARISON_NOT_MATCHED" | "COMPARISON_STALE")[];
|
|
1998
|
+
} | undefined;
|
|
1999
|
+
continuity?: {
|
|
2000
|
+
kind: "STATE";
|
|
2001
|
+
mode: "PRESERVE" | "PLANNED_TRANSITIONS";
|
|
2002
|
+
entry: string;
|
|
2003
|
+
exit: string;
|
|
2004
|
+
changes?: {
|
|
2005
|
+
atPermille: number;
|
|
2006
|
+
from: string;
|
|
2007
|
+
to: string;
|
|
2008
|
+
reason: string;
|
|
2009
|
+
}[] | undefined;
|
|
2010
|
+
} | {
|
|
2011
|
+
kind: "TIME";
|
|
2012
|
+
mode: "MONOTONIC" | "PLANNED_JUMPS";
|
|
2013
|
+
entryMs: number;
|
|
2014
|
+
exitMs: number;
|
|
2015
|
+
jumps?: {
|
|
2016
|
+
atPermille: number;
|
|
2017
|
+
fromMs: number;
|
|
2018
|
+
toMs: number;
|
|
2019
|
+
reason: string;
|
|
2020
|
+
}[] | undefined;
|
|
2021
|
+
} | undefined;
|
|
2022
|
+
consistencyScale?: "PRODUCTION" | "INTRA_SHOT" | "INTER_SHOT" | undefined;
|
|
2023
|
+
consistencyFamily?: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "BOUNDARY_CONTINUITY" | "VOICE_IDENTITY" | undefined;
|
|
2024
|
+
consistencySubject?: {
|
|
2025
|
+
id: string;
|
|
2026
|
+
kind: "CHARACTER" | "VOICE";
|
|
2027
|
+
displayName: string;
|
|
2028
|
+
facts: {
|
|
2029
|
+
dimension: string;
|
|
2030
|
+
value: string;
|
|
2031
|
+
}[];
|
|
2032
|
+
master: {
|
|
2033
|
+
artifactId: string & import("zod").$brand<"ArtifactId">;
|
|
2034
|
+
representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
|
|
2035
|
+
checksumSha256: string;
|
|
2036
|
+
artifactChecksumSha256: string;
|
|
2037
|
+
contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
|
|
2038
|
+
};
|
|
2039
|
+
voiceExpectation?: {
|
|
2040
|
+
voiceProfile: {
|
|
2041
|
+
ownerSystem: string;
|
|
2042
|
+
ownerTenantRef: string;
|
|
2043
|
+
voiceProfileRef: string;
|
|
2044
|
+
version: number;
|
|
2045
|
+
digest: string;
|
|
2046
|
+
};
|
|
2047
|
+
referenceId: string;
|
|
2048
|
+
} | undefined;
|
|
2049
|
+
} | undefined;
|
|
2050
|
+
consistencyReference?: {
|
|
2051
|
+
artifactId: string & import("zod").$brand<"ArtifactId">;
|
|
2052
|
+
representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
|
|
2053
|
+
checksumSha256: string;
|
|
2054
|
+
artifactChecksumSha256: string;
|
|
2055
|
+
contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
|
|
2056
|
+
} | undefined;
|
|
2057
|
+
} | {
|
|
2058
|
+
key: string;
|
|
2059
|
+
family: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "SHOT_INTENT" | "BOUNDARY_CONTINUITY" | "SOUND";
|
|
2060
|
+
expected: string;
|
|
2061
|
+
enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
|
|
2062
|
+
evidenceWindow: "START" | "END" | "WHOLE_VIDEO" | "TEMPORAL";
|
|
659
2063
|
intentPath?: string | undefined;
|
|
660
|
-
|
|
2064
|
+
continuity?: {
|
|
2065
|
+
kind: "STATE";
|
|
2066
|
+
mode: "PRESERVE" | "PLANNED_TRANSITIONS";
|
|
2067
|
+
entry: string;
|
|
2068
|
+
exit: string;
|
|
2069
|
+
changes?: {
|
|
2070
|
+
atPermille: number;
|
|
2071
|
+
from: string;
|
|
2072
|
+
to: string;
|
|
2073
|
+
reason: string;
|
|
2074
|
+
}[] | undefined;
|
|
2075
|
+
} | {
|
|
2076
|
+
kind: "TIME";
|
|
2077
|
+
mode: "MONOTONIC" | "PLANNED_JUMPS";
|
|
2078
|
+
entryMs: number;
|
|
2079
|
+
exitMs: number;
|
|
2080
|
+
jumps?: {
|
|
2081
|
+
atPermille: number;
|
|
2082
|
+
fromMs: number;
|
|
2083
|
+
toMs: number;
|
|
2084
|
+
reason: string;
|
|
2085
|
+
}[] | undefined;
|
|
2086
|
+
} | undefined;
|
|
2087
|
+
interval?: {
|
|
2088
|
+
startMs: number;
|
|
2089
|
+
endMs: number;
|
|
2090
|
+
} | undefined;
|
|
2091
|
+
} | {
|
|
2092
|
+
key: string;
|
|
2093
|
+
expected: string;
|
|
2094
|
+
enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
|
|
2095
|
+
intentPath?: string | undefined;
|
|
2096
|
+
})[];
|
|
2097
|
+
evidence?: {
|
|
2098
|
+
profile: "NVS_AGENT_DERIVED_EVIDENCE_V1";
|
|
2099
|
+
contentType: "image/png" | "image/jpeg" | "image/webp" | "video/mp4";
|
|
2100
|
+
byteSize: number;
|
|
2101
|
+
width: number;
|
|
2102
|
+
height: number;
|
|
2103
|
+
durationMs?: number | undefined;
|
|
2104
|
+
frameRate?: 30 | 24 | undefined;
|
|
2105
|
+
hasAudio?: boolean | undefined;
|
|
2106
|
+
} | undefined;
|
|
661
2107
|
image?: {
|
|
662
2108
|
contentType: "image/png";
|
|
663
2109
|
byteSize: number;
|
|
@@ -680,20 +2126,20 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
680
2126
|
summary: string;
|
|
681
2127
|
imageReadback: string;
|
|
682
2128
|
observations: {
|
|
683
|
-
key: string;
|
|
684
2129
|
status: "SATISFIED" | "VIOLATED" | "NOT_OBSERVABLE" | "NOT_APPLICABLE";
|
|
685
2130
|
confidence: "CLEAR" | "UNCERTAIN";
|
|
686
2131
|
observed: string;
|
|
2132
|
+
key: string;
|
|
687
2133
|
}[];
|
|
688
2134
|
} | null;
|
|
689
2135
|
provenance: {
|
|
690
|
-
adapter: "CODEX_METADATA_V1";
|
|
2136
|
+
adapter: "CODEX_METADATA_V1" | "CODEX_MEDIA_V2";
|
|
691
2137
|
binaryDigest: string;
|
|
692
2138
|
version: "0.164.0" | "0.165.0";
|
|
693
2139
|
model: string;
|
|
694
2140
|
reviewerLabel: string;
|
|
695
2141
|
inference: "REMOTE_OPENAI";
|
|
696
|
-
evidence: "IMAGE_PIXELS" | "METADATA_ONLY";
|
|
2142
|
+
evidence: "IMAGE_PIXELS" | "VIDEO_FRAMES" | "METADATA_ONLY";
|
|
697
2143
|
reasoningEffort?: "medium" | "low" | "high" | "xhigh" | undefined;
|
|
698
2144
|
};
|
|
699
2145
|
imageReceipt?: {
|
|
@@ -709,10 +2155,37 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
709
2155
|
width: number;
|
|
710
2156
|
height: number;
|
|
711
2157
|
} | undefined;
|
|
2158
|
+
evidenceReceipt?: {
|
|
2159
|
+
protocol: "NVS_AGENT_DERIVED_EVIDENCE_V1";
|
|
2160
|
+
draftId: string;
|
|
2161
|
+
media: {
|
|
2162
|
+
artifactId: string;
|
|
2163
|
+
representationId: string;
|
|
2164
|
+
checksumSha256: string;
|
|
2165
|
+
};
|
|
2166
|
+
ffmpegDigest: string;
|
|
2167
|
+
ffprobeDigest: string;
|
|
2168
|
+
attachment: {
|
|
2169
|
+
checksumSha256: string;
|
|
2170
|
+
byteSize: number;
|
|
2171
|
+
width: number;
|
|
2172
|
+
height: number;
|
|
2173
|
+
};
|
|
2174
|
+
timestampsMs: number[];
|
|
2175
|
+
audio: {
|
|
2176
|
+
sampleRateHz: 48000;
|
|
2177
|
+
channels: 1;
|
|
2178
|
+
samples: number;
|
|
2179
|
+
peak: number;
|
|
2180
|
+
rms: number;
|
|
2181
|
+
clippedSamples: number;
|
|
2182
|
+
} | null;
|
|
2183
|
+
limitations: ["SAMPLED_FRAMES_ARE_NOT_FULL_PLAYBACK", "AUDIO_STATISTICS_ARE_NOT_LISTENING_OR_TRANSCRIPTION"];
|
|
2184
|
+
} | undefined;
|
|
712
2185
|
}>;
|
|
713
2186
|
stageAgentImage(id: string, bytes: Uint8Array, signal?: AbortSignal): Promise<{
|
|
714
2187
|
plan: {
|
|
715
|
-
protocol: "NVS_LOCAL_AGENT_REVIEW_V1";
|
|
2188
|
+
protocol: "NVS_LOCAL_AGENT_REVIEW_V1" | "NVS_LOCAL_AGENT_REVIEW_V2";
|
|
716
2189
|
id: string;
|
|
717
2190
|
grantFingerprint: string;
|
|
718
2191
|
snapshot: {
|
|
@@ -722,11 +2195,20 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
722
2195
|
projectId: string & import("zod").$brand<"ProjectId">;
|
|
723
2196
|
productionId: string & import("zod").$brand<"ProductionId">;
|
|
724
2197
|
};
|
|
725
|
-
contextFingerprint: string;
|
|
726
2198
|
target: {
|
|
727
2199
|
kind: "IMAGE";
|
|
728
2200
|
generationId: string;
|
|
2201
|
+
} | {
|
|
2202
|
+
kind: "VIDEO";
|
|
2203
|
+
generationId: string;
|
|
2204
|
+
} | {
|
|
2205
|
+
kind: "ROUGH_CUT";
|
|
2206
|
+
renderId: string;
|
|
2207
|
+
} | {
|
|
2208
|
+
kind: "PROGRAMMATIC";
|
|
2209
|
+
renderId: string;
|
|
729
2210
|
};
|
|
2211
|
+
contextFingerprint: string;
|
|
730
2212
|
};
|
|
731
2213
|
productionRevision: number;
|
|
732
2214
|
reviewVersion: number;
|
|
@@ -736,12 +2218,135 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
736
2218
|
representationId: string;
|
|
737
2219
|
checksumSha256: string;
|
|
738
2220
|
};
|
|
739
|
-
requirements: {
|
|
2221
|
+
requirements: ({
|
|
2222
|
+
key: string;
|
|
2223
|
+
dimension: "TRANSITION" | "STYLE" | "PRODUCT_PRESENTATION" | "CANONICAL_FACT" | "NARRATIVE" | "PACING" | "REPETITION" | "TECHNICAL";
|
|
2224
|
+
expected: string;
|
|
2225
|
+
enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
|
|
2226
|
+
scope: "PRODUCTION" | "TRANSITION";
|
|
2227
|
+
interval: {
|
|
2228
|
+
startMs: number;
|
|
2229
|
+
endMs: number;
|
|
2230
|
+
};
|
|
2231
|
+
shotIds: string[];
|
|
2232
|
+
voiceIdentity?: {
|
|
2233
|
+
qualified: boolean;
|
|
2234
|
+
evidenceFingerprint: string;
|
|
2235
|
+
listeningIntervals: {
|
|
2236
|
+
startMs: number;
|
|
2237
|
+
endMs: number;
|
|
2238
|
+
}[];
|
|
2239
|
+
sourceAudioVersionIds: string[];
|
|
2240
|
+
reasons: ("TEST_ONLY" | "NO_SOURCE" | "VOICE_UNAVAILABLE" | "REFERENCE_CHANGED" | "AUDIO_UNAVAILABLE" | "IDENTITY_MISMATCH" | "NO_COMPARISON" | "COMPARISON_NOT_MATCHED" | "COMPARISON_STALE")[];
|
|
2241
|
+
} | undefined;
|
|
2242
|
+
continuity?: {
|
|
2243
|
+
kind: "STATE";
|
|
2244
|
+
mode: "PRESERVE" | "PLANNED_TRANSITIONS";
|
|
2245
|
+
entry: string;
|
|
2246
|
+
exit: string;
|
|
2247
|
+
changes?: {
|
|
2248
|
+
atPermille: number;
|
|
2249
|
+
from: string;
|
|
2250
|
+
to: string;
|
|
2251
|
+
reason: string;
|
|
2252
|
+
}[] | undefined;
|
|
2253
|
+
} | {
|
|
2254
|
+
kind: "TIME";
|
|
2255
|
+
mode: "MONOTONIC" | "PLANNED_JUMPS";
|
|
2256
|
+
entryMs: number;
|
|
2257
|
+
exitMs: number;
|
|
2258
|
+
jumps?: {
|
|
2259
|
+
atPermille: number;
|
|
2260
|
+
fromMs: number;
|
|
2261
|
+
toMs: number;
|
|
2262
|
+
reason: string;
|
|
2263
|
+
}[] | undefined;
|
|
2264
|
+
} | undefined;
|
|
2265
|
+
consistencyScale?: "PRODUCTION" | "INTRA_SHOT" | "INTER_SHOT" | undefined;
|
|
2266
|
+
consistencyFamily?: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "BOUNDARY_CONTINUITY" | "VOICE_IDENTITY" | undefined;
|
|
2267
|
+
consistencySubject?: {
|
|
2268
|
+
id: string;
|
|
2269
|
+
kind: "CHARACTER" | "VOICE";
|
|
2270
|
+
displayName: string;
|
|
2271
|
+
facts: {
|
|
2272
|
+
dimension: string;
|
|
2273
|
+
value: string;
|
|
2274
|
+
}[];
|
|
2275
|
+
master: {
|
|
2276
|
+
artifactId: string & import("zod").$brand<"ArtifactId">;
|
|
2277
|
+
representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
|
|
2278
|
+
checksumSha256: string;
|
|
2279
|
+
artifactChecksumSha256: string;
|
|
2280
|
+
contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
|
|
2281
|
+
};
|
|
2282
|
+
voiceExpectation?: {
|
|
2283
|
+
voiceProfile: {
|
|
2284
|
+
ownerSystem: string;
|
|
2285
|
+
ownerTenantRef: string;
|
|
2286
|
+
voiceProfileRef: string;
|
|
2287
|
+
version: number;
|
|
2288
|
+
digest: string;
|
|
2289
|
+
};
|
|
2290
|
+
referenceId: string;
|
|
2291
|
+
} | undefined;
|
|
2292
|
+
} | undefined;
|
|
2293
|
+
consistencyReference?: {
|
|
2294
|
+
artifactId: string & import("zod").$brand<"ArtifactId">;
|
|
2295
|
+
representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
|
|
2296
|
+
checksumSha256: string;
|
|
2297
|
+
artifactChecksumSha256: string;
|
|
2298
|
+
contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
|
|
2299
|
+
} | undefined;
|
|
2300
|
+
} | {
|
|
740
2301
|
key: string;
|
|
2302
|
+
family: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "SHOT_INTENT" | "BOUNDARY_CONTINUITY" | "SOUND";
|
|
741
2303
|
expected: string;
|
|
742
2304
|
enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
|
|
2305
|
+
evidenceWindow: "START" | "END" | "WHOLE_VIDEO" | "TEMPORAL";
|
|
743
2306
|
intentPath?: string | undefined;
|
|
744
|
-
|
|
2307
|
+
continuity?: {
|
|
2308
|
+
kind: "STATE";
|
|
2309
|
+
mode: "PRESERVE" | "PLANNED_TRANSITIONS";
|
|
2310
|
+
entry: string;
|
|
2311
|
+
exit: string;
|
|
2312
|
+
changes?: {
|
|
2313
|
+
atPermille: number;
|
|
2314
|
+
from: string;
|
|
2315
|
+
to: string;
|
|
2316
|
+
reason: string;
|
|
2317
|
+
}[] | undefined;
|
|
2318
|
+
} | {
|
|
2319
|
+
kind: "TIME";
|
|
2320
|
+
mode: "MONOTONIC" | "PLANNED_JUMPS";
|
|
2321
|
+
entryMs: number;
|
|
2322
|
+
exitMs: number;
|
|
2323
|
+
jumps?: {
|
|
2324
|
+
atPermille: number;
|
|
2325
|
+
fromMs: number;
|
|
2326
|
+
toMs: number;
|
|
2327
|
+
reason: string;
|
|
2328
|
+
}[] | undefined;
|
|
2329
|
+
} | undefined;
|
|
2330
|
+
interval?: {
|
|
2331
|
+
startMs: number;
|
|
2332
|
+
endMs: number;
|
|
2333
|
+
} | undefined;
|
|
2334
|
+
} | {
|
|
2335
|
+
key: string;
|
|
2336
|
+
expected: string;
|
|
2337
|
+
enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
|
|
2338
|
+
intentPath?: string | undefined;
|
|
2339
|
+
})[];
|
|
2340
|
+
evidence?: {
|
|
2341
|
+
profile: "NVS_AGENT_DERIVED_EVIDENCE_V1";
|
|
2342
|
+
contentType: "image/png" | "image/jpeg" | "image/webp" | "video/mp4";
|
|
2343
|
+
byteSize: number;
|
|
2344
|
+
width: number;
|
|
2345
|
+
height: number;
|
|
2346
|
+
durationMs?: number | undefined;
|
|
2347
|
+
frameRate?: 30 | 24 | undefined;
|
|
2348
|
+
hasAudio?: boolean | undefined;
|
|
2349
|
+
} | undefined;
|
|
745
2350
|
image?: {
|
|
746
2351
|
contentType: "image/png";
|
|
747
2352
|
byteSize: number;
|
|
@@ -764,20 +2369,20 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
764
2369
|
summary: string;
|
|
765
2370
|
imageReadback: string;
|
|
766
2371
|
observations: {
|
|
767
|
-
key: string;
|
|
768
2372
|
status: "SATISFIED" | "VIOLATED" | "NOT_OBSERVABLE" | "NOT_APPLICABLE";
|
|
769
2373
|
confidence: "CLEAR" | "UNCERTAIN";
|
|
770
2374
|
observed: string;
|
|
2375
|
+
key: string;
|
|
771
2376
|
}[];
|
|
772
2377
|
} | null;
|
|
773
2378
|
provenance: {
|
|
774
|
-
adapter: "CODEX_METADATA_V1";
|
|
2379
|
+
adapter: "CODEX_METADATA_V1" | "CODEX_MEDIA_V2";
|
|
775
2380
|
binaryDigest: string;
|
|
776
2381
|
version: "0.164.0" | "0.165.0";
|
|
777
2382
|
model: string;
|
|
778
2383
|
reviewerLabel: string;
|
|
779
2384
|
inference: "REMOTE_OPENAI";
|
|
780
|
-
evidence: "IMAGE_PIXELS" | "METADATA_ONLY";
|
|
2385
|
+
evidence: "IMAGE_PIXELS" | "VIDEO_FRAMES" | "METADATA_ONLY";
|
|
781
2386
|
reasoningEffort?: "medium" | "low" | "high" | "xhigh" | undefined;
|
|
782
2387
|
};
|
|
783
2388
|
imageReceipt?: {
|
|
@@ -793,10 +2398,37 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
793
2398
|
width: number;
|
|
794
2399
|
height: number;
|
|
795
2400
|
} | undefined;
|
|
2401
|
+
evidenceReceipt?: {
|
|
2402
|
+
protocol: "NVS_AGENT_DERIVED_EVIDENCE_V1";
|
|
2403
|
+
draftId: string;
|
|
2404
|
+
media: {
|
|
2405
|
+
artifactId: string;
|
|
2406
|
+
representationId: string;
|
|
2407
|
+
checksumSha256: string;
|
|
2408
|
+
};
|
|
2409
|
+
ffmpegDigest: string;
|
|
2410
|
+
ffprobeDigest: string;
|
|
2411
|
+
attachment: {
|
|
2412
|
+
checksumSha256: string;
|
|
2413
|
+
byteSize: number;
|
|
2414
|
+
width: number;
|
|
2415
|
+
height: number;
|
|
2416
|
+
};
|
|
2417
|
+
timestampsMs: number[];
|
|
2418
|
+
audio: {
|
|
2419
|
+
sampleRateHz: 48000;
|
|
2420
|
+
channels: 1;
|
|
2421
|
+
samples: number;
|
|
2422
|
+
peak: number;
|
|
2423
|
+
rms: number;
|
|
2424
|
+
clippedSamples: number;
|
|
2425
|
+
} | null;
|
|
2426
|
+
limitations: ["SAMPLED_FRAMES_ARE_NOT_FULL_PLAYBACK", "AUDIO_STATISTICS_ARE_NOT_LISTENING_OR_TRANSCRIPTION"];
|
|
2427
|
+
} | undefined;
|
|
796
2428
|
}>;
|
|
797
2429
|
inspectAgentReview(id: string, signal?: AbortSignal): Promise<{
|
|
798
2430
|
plan: {
|
|
799
|
-
protocol: "NVS_LOCAL_AGENT_REVIEW_V1";
|
|
2431
|
+
protocol: "NVS_LOCAL_AGENT_REVIEW_V1" | "NVS_LOCAL_AGENT_REVIEW_V2";
|
|
800
2432
|
id: string;
|
|
801
2433
|
grantFingerprint: string;
|
|
802
2434
|
snapshot: {
|
|
@@ -806,11 +2438,20 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
806
2438
|
projectId: string & import("zod").$brand<"ProjectId">;
|
|
807
2439
|
productionId: string & import("zod").$brand<"ProductionId">;
|
|
808
2440
|
};
|
|
809
|
-
contextFingerprint: string;
|
|
810
2441
|
target: {
|
|
811
2442
|
kind: "IMAGE";
|
|
812
2443
|
generationId: string;
|
|
2444
|
+
} | {
|
|
2445
|
+
kind: "VIDEO";
|
|
2446
|
+
generationId: string;
|
|
2447
|
+
} | {
|
|
2448
|
+
kind: "ROUGH_CUT";
|
|
2449
|
+
renderId: string;
|
|
2450
|
+
} | {
|
|
2451
|
+
kind: "PROGRAMMATIC";
|
|
2452
|
+
renderId: string;
|
|
813
2453
|
};
|
|
2454
|
+
contextFingerprint: string;
|
|
814
2455
|
};
|
|
815
2456
|
productionRevision: number;
|
|
816
2457
|
reviewVersion: number;
|
|
@@ -820,12 +2461,135 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
820
2461
|
representationId: string;
|
|
821
2462
|
checksumSha256: string;
|
|
822
2463
|
};
|
|
823
|
-
requirements: {
|
|
2464
|
+
requirements: ({
|
|
824
2465
|
key: string;
|
|
2466
|
+
dimension: "TRANSITION" | "STYLE" | "PRODUCT_PRESENTATION" | "CANONICAL_FACT" | "NARRATIVE" | "PACING" | "REPETITION" | "TECHNICAL";
|
|
825
2467
|
expected: string;
|
|
826
2468
|
enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
|
|
2469
|
+
scope: "PRODUCTION" | "TRANSITION";
|
|
2470
|
+
interval: {
|
|
2471
|
+
startMs: number;
|
|
2472
|
+
endMs: number;
|
|
2473
|
+
};
|
|
2474
|
+
shotIds: string[];
|
|
2475
|
+
voiceIdentity?: {
|
|
2476
|
+
qualified: boolean;
|
|
2477
|
+
evidenceFingerprint: string;
|
|
2478
|
+
listeningIntervals: {
|
|
2479
|
+
startMs: number;
|
|
2480
|
+
endMs: number;
|
|
2481
|
+
}[];
|
|
2482
|
+
sourceAudioVersionIds: string[];
|
|
2483
|
+
reasons: ("TEST_ONLY" | "NO_SOURCE" | "VOICE_UNAVAILABLE" | "REFERENCE_CHANGED" | "AUDIO_UNAVAILABLE" | "IDENTITY_MISMATCH" | "NO_COMPARISON" | "COMPARISON_NOT_MATCHED" | "COMPARISON_STALE")[];
|
|
2484
|
+
} | undefined;
|
|
2485
|
+
continuity?: {
|
|
2486
|
+
kind: "STATE";
|
|
2487
|
+
mode: "PRESERVE" | "PLANNED_TRANSITIONS";
|
|
2488
|
+
entry: string;
|
|
2489
|
+
exit: string;
|
|
2490
|
+
changes?: {
|
|
2491
|
+
atPermille: number;
|
|
2492
|
+
from: string;
|
|
2493
|
+
to: string;
|
|
2494
|
+
reason: string;
|
|
2495
|
+
}[] | undefined;
|
|
2496
|
+
} | {
|
|
2497
|
+
kind: "TIME";
|
|
2498
|
+
mode: "MONOTONIC" | "PLANNED_JUMPS";
|
|
2499
|
+
entryMs: number;
|
|
2500
|
+
exitMs: number;
|
|
2501
|
+
jumps?: {
|
|
2502
|
+
atPermille: number;
|
|
2503
|
+
fromMs: number;
|
|
2504
|
+
toMs: number;
|
|
2505
|
+
reason: string;
|
|
2506
|
+
}[] | undefined;
|
|
2507
|
+
} | undefined;
|
|
2508
|
+
consistencyScale?: "PRODUCTION" | "INTRA_SHOT" | "INTER_SHOT" | undefined;
|
|
2509
|
+
consistencyFamily?: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "BOUNDARY_CONTINUITY" | "VOICE_IDENTITY" | undefined;
|
|
2510
|
+
consistencySubject?: {
|
|
2511
|
+
id: string;
|
|
2512
|
+
kind: "CHARACTER" | "VOICE";
|
|
2513
|
+
displayName: string;
|
|
2514
|
+
facts: {
|
|
2515
|
+
dimension: string;
|
|
2516
|
+
value: string;
|
|
2517
|
+
}[];
|
|
2518
|
+
master: {
|
|
2519
|
+
artifactId: string & import("zod").$brand<"ArtifactId">;
|
|
2520
|
+
representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
|
|
2521
|
+
checksumSha256: string;
|
|
2522
|
+
artifactChecksumSha256: string;
|
|
2523
|
+
contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
|
|
2524
|
+
};
|
|
2525
|
+
voiceExpectation?: {
|
|
2526
|
+
voiceProfile: {
|
|
2527
|
+
ownerSystem: string;
|
|
2528
|
+
ownerTenantRef: string;
|
|
2529
|
+
voiceProfileRef: string;
|
|
2530
|
+
version: number;
|
|
2531
|
+
digest: string;
|
|
2532
|
+
};
|
|
2533
|
+
referenceId: string;
|
|
2534
|
+
} | undefined;
|
|
2535
|
+
} | undefined;
|
|
2536
|
+
consistencyReference?: {
|
|
2537
|
+
artifactId: string & import("zod").$brand<"ArtifactId">;
|
|
2538
|
+
representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
|
|
2539
|
+
checksumSha256: string;
|
|
2540
|
+
artifactChecksumSha256: string;
|
|
2541
|
+
contentType: "image/png" | "image/jpeg" | "image/webp" | "audio/wav";
|
|
2542
|
+
} | undefined;
|
|
2543
|
+
} | {
|
|
2544
|
+
key: string;
|
|
2545
|
+
family: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "SHOT_INTENT" | "BOUNDARY_CONTINUITY" | "SOUND";
|
|
2546
|
+
expected: string;
|
|
2547
|
+
enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
|
|
2548
|
+
evidenceWindow: "START" | "END" | "WHOLE_VIDEO" | "TEMPORAL";
|
|
827
2549
|
intentPath?: string | undefined;
|
|
828
|
-
|
|
2550
|
+
continuity?: {
|
|
2551
|
+
kind: "STATE";
|
|
2552
|
+
mode: "PRESERVE" | "PLANNED_TRANSITIONS";
|
|
2553
|
+
entry: string;
|
|
2554
|
+
exit: string;
|
|
2555
|
+
changes?: {
|
|
2556
|
+
atPermille: number;
|
|
2557
|
+
from: string;
|
|
2558
|
+
to: string;
|
|
2559
|
+
reason: string;
|
|
2560
|
+
}[] | undefined;
|
|
2561
|
+
} | {
|
|
2562
|
+
kind: "TIME";
|
|
2563
|
+
mode: "MONOTONIC" | "PLANNED_JUMPS";
|
|
2564
|
+
entryMs: number;
|
|
2565
|
+
exitMs: number;
|
|
2566
|
+
jumps?: {
|
|
2567
|
+
atPermille: number;
|
|
2568
|
+
fromMs: number;
|
|
2569
|
+
toMs: number;
|
|
2570
|
+
reason: string;
|
|
2571
|
+
}[] | undefined;
|
|
2572
|
+
} | undefined;
|
|
2573
|
+
interval?: {
|
|
2574
|
+
startMs: number;
|
|
2575
|
+
endMs: number;
|
|
2576
|
+
} | undefined;
|
|
2577
|
+
} | {
|
|
2578
|
+
key: string;
|
|
2579
|
+
expected: string;
|
|
2580
|
+
enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
|
|
2581
|
+
intentPath?: string | undefined;
|
|
2582
|
+
})[];
|
|
2583
|
+
evidence?: {
|
|
2584
|
+
profile: "NVS_AGENT_DERIVED_EVIDENCE_V1";
|
|
2585
|
+
contentType: "image/png" | "image/jpeg" | "image/webp" | "video/mp4";
|
|
2586
|
+
byteSize: number;
|
|
2587
|
+
width: number;
|
|
2588
|
+
height: number;
|
|
2589
|
+
durationMs?: number | undefined;
|
|
2590
|
+
frameRate?: 30 | 24 | undefined;
|
|
2591
|
+
hasAudio?: boolean | undefined;
|
|
2592
|
+
} | undefined;
|
|
829
2593
|
image?: {
|
|
830
2594
|
contentType: "image/png";
|
|
831
2595
|
byteSize: number;
|
|
@@ -848,20 +2612,20 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
848
2612
|
summary: string;
|
|
849
2613
|
imageReadback: string;
|
|
850
2614
|
observations: {
|
|
851
|
-
key: string;
|
|
852
2615
|
status: "SATISFIED" | "VIOLATED" | "NOT_OBSERVABLE" | "NOT_APPLICABLE";
|
|
853
2616
|
confidence: "CLEAR" | "UNCERTAIN";
|
|
854
2617
|
observed: string;
|
|
2618
|
+
key: string;
|
|
855
2619
|
}[];
|
|
856
2620
|
} | null;
|
|
857
2621
|
provenance: {
|
|
858
|
-
adapter: "CODEX_METADATA_V1";
|
|
2622
|
+
adapter: "CODEX_METADATA_V1" | "CODEX_MEDIA_V2";
|
|
859
2623
|
binaryDigest: string;
|
|
860
2624
|
version: "0.164.0" | "0.165.0";
|
|
861
2625
|
model: string;
|
|
862
2626
|
reviewerLabel: string;
|
|
863
2627
|
inference: "REMOTE_OPENAI";
|
|
864
|
-
evidence: "IMAGE_PIXELS" | "METADATA_ONLY";
|
|
2628
|
+
evidence: "IMAGE_PIXELS" | "VIDEO_FRAMES" | "METADATA_ONLY";
|
|
865
2629
|
reasoningEffort?: "medium" | "low" | "high" | "xhigh" | undefined;
|
|
866
2630
|
};
|
|
867
2631
|
imageReceipt?: {
|
|
@@ -877,6 +2641,33 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
877
2641
|
width: number;
|
|
878
2642
|
height: number;
|
|
879
2643
|
} | undefined;
|
|
2644
|
+
evidenceReceipt?: {
|
|
2645
|
+
protocol: "NVS_AGENT_DERIVED_EVIDENCE_V1";
|
|
2646
|
+
draftId: string;
|
|
2647
|
+
media: {
|
|
2648
|
+
artifactId: string;
|
|
2649
|
+
representationId: string;
|
|
2650
|
+
checksumSha256: string;
|
|
2651
|
+
};
|
|
2652
|
+
ffmpegDigest: string;
|
|
2653
|
+
ffprobeDigest: string;
|
|
2654
|
+
attachment: {
|
|
2655
|
+
checksumSha256: string;
|
|
2656
|
+
byteSize: number;
|
|
2657
|
+
width: number;
|
|
2658
|
+
height: number;
|
|
2659
|
+
};
|
|
2660
|
+
timestampsMs: number[];
|
|
2661
|
+
audio: {
|
|
2662
|
+
sampleRateHz: 48000;
|
|
2663
|
+
channels: 1;
|
|
2664
|
+
samples: number;
|
|
2665
|
+
peak: number;
|
|
2666
|
+
rms: number;
|
|
2667
|
+
clippedSamples: number;
|
|
2668
|
+
} | null;
|
|
2669
|
+
limitations: ["SAMPLED_FRAMES_ARE_NOT_FULL_PLAYBACK", "AUDIO_STATISTICS_ARE_NOT_LISTENING_OR_TRANSCRIPTION"];
|
|
2670
|
+
} | undefined;
|
|
880
2671
|
}>;
|
|
881
2672
|
executions(input: {
|
|
882
2673
|
tenantId: string;
|
|
@@ -897,12 +2688,25 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
897
2688
|
toolchainFingerprint: string;
|
|
898
2689
|
};
|
|
899
2690
|
revision: number;
|
|
900
|
-
phase: "RUNNING" | "RECOVERY_REQUIRED" | "
|
|
2691
|
+
phase: "RUNNING" | "RECOVERY_REQUIRED" | "FENCED" | "STAGED" | "OUTPUT_PENDING" | "RECEIPT_RECORDED";
|
|
901
2692
|
checkpoint: "ADOPTED" | "SOURCES_READY" | "PROCESS_STARTED" | "OUTPUT_STAGED";
|
|
2693
|
+
progress?: {
|
|
2694
|
+
stage: "WAITING" | "COMPLETE" | "RECOVERY_REQUIRED" | "DOWNLOADING" | "EXECUTING" | "UPLOADING" | "AWAITING_ACCEPTANCE" | "FENCED";
|
|
2695
|
+
downloadedBytes: number;
|
|
2696
|
+
sourceBytes: number;
|
|
2697
|
+
uploadedBytes: number;
|
|
2698
|
+
outputBytes: number;
|
|
2699
|
+
lastError: {
|
|
2700
|
+
code: string;
|
|
2701
|
+
observedAt: string;
|
|
2702
|
+
} | null;
|
|
2703
|
+
} | undefined;
|
|
902
2704
|
}[];
|
|
903
2705
|
nextCursor: string | null;
|
|
904
2706
|
}>;
|
|
905
|
-
inspect(raw: LocalWorkScope
|
|
2707
|
+
inspect(raw: LocalWorkScope & {
|
|
2708
|
+
includeProgress?: boolean | undefined;
|
|
2709
|
+
}, signal?: AbortSignal): Promise<{
|
|
906
2710
|
binding: {
|
|
907
2711
|
tenantId: string;
|
|
908
2712
|
projectId: string;
|
|
@@ -915,18 +2719,39 @@ export declare class NativeStudioLocalRuntimeClient {
|
|
|
915
2719
|
toolchainFingerprint: string;
|
|
916
2720
|
};
|
|
917
2721
|
revision: number;
|
|
918
|
-
phase: "RUNNING" | "RECOVERY_REQUIRED" | "
|
|
2722
|
+
phase: "RUNNING" | "RECOVERY_REQUIRED" | "FENCED" | "STAGED" | "OUTPUT_PENDING" | "RECEIPT_RECORDED";
|
|
919
2723
|
checkpoint: "ADOPTED" | "SOURCES_READY" | "PROCESS_STARTED" | "OUTPUT_STAGED";
|
|
2724
|
+
progress?: {
|
|
2725
|
+
stage: "WAITING" | "COMPLETE" | "RECOVERY_REQUIRED" | "DOWNLOADING" | "EXECUTING" | "UPLOADING" | "AWAITING_ACCEPTANCE" | "FENCED";
|
|
2726
|
+
downloadedBytes: number;
|
|
2727
|
+
sourceBytes: number;
|
|
2728
|
+
uploadedBytes: number;
|
|
2729
|
+
outputBytes: number;
|
|
2730
|
+
lastError: {
|
|
2731
|
+
code: string;
|
|
2732
|
+
observedAt: string;
|
|
2733
|
+
} | null;
|
|
2734
|
+
} | undefined;
|
|
920
2735
|
} | null>;
|
|
921
2736
|
}
|
|
922
2737
|
export { LocalSessionConnectorSchema } from "../contracts/local-execution/index.js";
|
|
923
2738
|
export { NativeStudioSdkError } from "./errors.js";
|
|
924
|
-
export { LocalRuntimeDescriptorSchema, LocalManagementInventorySchema, LocalSignedCatalogueSchema, LocalReleaseSchema, LocalUpdatePlanSchema, LocalClientNextActionSchema, canonicalLocalJson, LocalSessionConnectorSchema as LocalConnectorSchema, } from "../contracts/local-execution/index.js";
|
|
925
|
-
export type { LocalRelease, LocalSignedCatalogue, LocalUpdatePlan, LocalRuntimeDescriptor, LocalSessionConnector, } from "../contracts/local-execution/index.js";
|
|
2739
|
+
export { LocalRuntimeDescriptorSchema, LocalManagementInventorySchema, LocalSignedCatalogueSchema, LocalReleaseSchema, LocalBundledReleaseSchema, LocalUpdatePlanSchema, LocalToolChoiceSchema, LocalClientNextActionSchema, canonicalLocalJson, LocalSessionConnectorSchema as LocalConnectorSchema, } from "../contracts/local-execution/index.js";
|
|
2740
|
+
export type { LocalRelease, LocalSignedCatalogue, LocalUpdatePlan, LocalToolChoice, LocalRuntimeDescriptor, LocalSessionConnector, } from "../contracts/local-execution/index.js";
|
|
926
2741
|
export { NativeStudioLocalDeviceClient } from "./local-runtime/device-client.js";
|
|
927
|
-
export { EnrollLocalDeviceSchema,
|
|
928
|
-
export { LocalToolSelectionSchema, LocalWorkScopeSchema, } from "../contracts/local-execution/index.js";
|
|
2742
|
+
export { EnrollLocalDeviceSchema, RevokeLocalDeviceSchema, StartLocalPreviewSchema, StartLocalFinalRenderSchema, LocalDeviceTransportConfigurationSchema, } from "../contracts/local-execution/index.js";
|
|
2743
|
+
export { LocalCompositionBrowserSelectionSchema, LocalToolSelectionSchema, LocalWorkScopeSchema, } from "../contracts/local-execution/index.js";
|
|
929
2744
|
export { LocalExecutionListInputSchema, LocalExecutionPageSchema, } from "../contracts/local-execution/index.js";
|
|
930
2745
|
export { LocalMcpOutputSchemas, LocalMcpFailureSchema, } from "../contracts/local-execution/index.js";
|
|
931
2746
|
export { LocalDoctorReportSchema } from "../contracts/local-execution/index.js";
|
|
932
|
-
export {
|
|
2747
|
+
export { LocalManagementCommandSchema, LocalDeviceManagementCommandSchema, LocalManagementResultSchema, LocalManagementReceiptSchema, localManagementRoutes, LocalDeviceViewSchema, LocalPreviewAdmissionSchema, LocalFinalRenderAdmissionSchema, LocalDeviceChallengeSchema, LocalDeviceSessionSchema, } from "../contracts/local-execution/index.js";
|
|
2748
|
+
export { LocalAgentGrantSchema, LocalAgentSnapshotSchema, localAgentSnapshotFromContext, localAgentNativeProposal, localAgentMediaSnapshot, localAgentMediaProposal, LocalAgentReviewViewSchema, LocalAgentProbeSchema, LocalAgentDiscoverySchema, } from "../contracts/local-execution/index.js";
|
|
2749
|
+
export { NativeStudioLocalWorkspaceClient } from "./local-runtime/workspace.js";
|
|
2750
|
+
export * from "./local-runtime/library.js";
|
|
2751
|
+
export { LocalOfflineCallSchema, LocalOfflinePageSchema, } from "../contracts/local-execution/index.js";
|
|
2752
|
+
export { LocalResourcePolicySchema, LocalResourceSettingsSchema, LocalWorkspaceInspectionSchema, LocalStorageInspectionSchema, LocalExecutionProgressSchema, LocalExecutionInspectInputSchema, LocalDiagnosticsSchema, } from "../contracts/local-execution/index.js";
|
|
2753
|
+
export { importedNormalizationValidationProfile, tenantRenderValidationProfile, whisperCppRecognitionProfile, } from "../contracts/local-execution/index.js";
|
|
2754
|
+
export { processorFamilies } from "../contracts/local-execution/index.js";
|
|
2755
|
+
export type { TenantProcessorKind } from "../contracts/local-execution/index.js";
|
|
2756
|
+
export * from "./local-runtime/components.js";
|
|
2757
|
+
export { CpuSpeechPrepareInputSchema, CpuSpeechPreparedSchema, } from "../contracts/local-execution/index.js";
|