davinci-resolve-mcp 2.154.0 → 2.156.0

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/CHANGELOG.md CHANGED
@@ -2,6 +2,42 @@
2
2
 
3
3
  Release history for the DaVinci Resolve MCP Server. The latest release is summarized in the root README; older entries live here to keep the README focused.
4
4
 
5
+ ## What's New in v2.156.0 — the QC loop learns audio; the verify surface is complete
6
+
7
+ ### Added
8
+
9
+ - **`editorial.verify_roundtrip` is audio-aware.** Declared audio events
10
+ compare pairwise through the same machinery as video — record, source,
11
+ retime, and fade-window excusal — with audio mismatches tagged
12
+ `trackType: 'audio'`, AAF channel legs deduped, and BL/silence legs merged
13
+ out. A video-only turnover whose re-export carries audio (the A1
14
+ convenience mirror this bridge authors) reports `audio.compared: false`
15
+ informationally instead of failing. Live loop verified: an explicit A2 leg
16
+ round-trips through `EXPORT_OTIO` at exact geometry.
17
+ - With markers (v2.147), fades (v2.153), retimes (v2.154), and now audio,
18
+ the round-trip QC surface covers every structure the conform bridge
19
+ authors.
20
+
21
+ ## What's New in v2.155.0 — Premiere transitions land properly: centered spans and fades
22
+
23
+ ### Fixed
24
+
25
+ - **Every centered Premiere transition was silently dropped**: the .prproj
26
+ reader attached transitions only to clips starting exactly at the span
27
+ start — the CMX start-at-cut shape — so a transition centered on its cut
28
+ (Premiere's default) matched nothing and vanished. The incoming clip is
29
+ now found anywhere inside the span, and `recStart` carries Premiere's
30
+ explicit record span to the bridge so the editor's actual alignment is
31
+ reproduced.
32
+
33
+ ### Added
34
+
35
+ - **.prproj fades**: an edge span with a missing neighbor synthesizes BL
36
+ legs through the same black machinery as EDL/OTIO/XMEML/AAF — all five
37
+ ingest formats now author fades. Audio transition candidates honor
38
+ `recStart` too. The emitted spec shapes are the render-verified classes
39
+ from v2.150–152.
40
+
5
41
  ## What's New in v2.154.0 — the QC loop learns retimes
6
42
 
7
43
  ### Added
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  English | [简体中文](README.zh-CN.md)
4
4
 
5
- [![Version](https://img.shields.io/badge/version-2.154.0-blue.svg)](https://github.com/samuelgursky/davinci-resolve-mcp/releases)
5
+ [![Version](https://img.shields.io/badge/version-2.156.0-blue.svg)](https://github.com/samuelgursky/davinci-resolve-mcp/releases)
6
6
  [![npm](https://img.shields.io/npm/v/davinci-resolve-mcp.svg?label=npm&color=CB3837)](https://www.npmjs.com/package/davinci-resolve-mcp)
7
7
  [![API Coverage](https://img.shields.io/badge/API%20Coverage-100%25-brightgreen.svg)](docs/reference/api-coverage.md)
8
8
  [![Tools](https://img.shields.io/badge/MCP%20Tools-36%20(353%20full)-blue.svg)](#server-modes)
package/README.zh-CN.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [English](README.md) | 简体中文
4
4
 
5
- [![Version](https://img.shields.io/badge/version-2.154.0-blue.svg)](https://github.com/samuelgursky/davinci-resolve-mcp/releases)
5
+ [![Version](https://img.shields.io/badge/version-2.156.0-blue.svg)](https://github.com/samuelgursky/davinci-resolve-mcp/releases)
6
6
  [![npm](https://img.shields.io/npm/v/davinci-resolve-mcp.svg?label=npm&color=CB3837)](https://www.npmjs.com/package/davinci-resolve-mcp)
7
7
  [![API Coverage](https://img.shields.io/badge/API%20Coverage-100%25-brightgreen.svg)](docs/reference/api-coverage.md)
8
8
  [![Tools](https://img.shields.io/badge/MCP%20Tools-36%20(353%20full)-blue.svg)](#服务器模式)
@@ -12,7 +12,7 @@
12
12
  [![Python](https://img.shields.io/badge/python-3.10+-green.svg)](https://www.python.org/downloads/)
13
13
  [![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)
14
14
 
15
- > 本翻译对应 v2.154.0 版 README。如与英文原版有出入,以 [英文原版](README.md) 为准。
15
+ > 本翻译对应 v2.156.0 版 README。如与英文原版有出入,以 [英文原版](README.md) 为准。
16
16
 
17
17
  一个 Model Context Protocol (MCP) 服务器,让 AI 助手通过官方脚本 API 控制 DaVinci Resolve Studio(达芬奇)。它提供完整的 API 覆盖,外加带护栏的工作流助手,涵盖剪辑、媒体池整理、渲染设置、审阅标记、调色、Fusion、Fairlight、项目生命周期任务、扩展开发,以及不碰源媒体的媒体分析。
18
18
 
package/install.py CHANGED
@@ -37,7 +37,7 @@ from src.utils.update_check import (
37
37
 
38
38
  # ─── Version ──────────────────────────────────────────────────────────────────
39
39
 
40
- VERSION = "2.154.0"
40
+ VERSION = "2.156.0"
41
41
  # Only hard floor: mcp[cli] requires Python 3.10+. There is no upper bound —
42
42
  # Resolve's scripting bridge loads into newer interpreters on recent builds
43
43
  # (Python 3.14 verified against Resolve Studio 20.3.2). Older Resolve builds
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "davinci-resolve-mcp",
3
- "version": "2.154.0",
3
+ "version": "2.156.0",
4
4
  "description": "NPM bootstrapper for the DaVinci Resolve MCP Server.",
5
5
  "license": "MIT",
6
6
  "author": "Samuel Gursky <samgursky@gmail.com>",
@@ -432,9 +432,13 @@ export function eventsToAssembleSpec(events, opts = {}) {
432
432
  let pre = Math.floor(d / 2);
433
433
  if (e.transition.alignment === 'start') pre = 0;
434
434
  else if (e.transition.inOffset != null) pre = Math.min(d, Math.max(0, toTl(e.transition.inOffset, e.fps)));
435
+ else if (e.transition.recStart != null) {
436
+ const spanStartAbs = ORIGIN + (toTl(e.transition.recStart, e.fps) - minRec);
437
+ pre = Math.min(d, Math.max(0, recIn - spanStartAbs));
438
+ }
435
439
  audioTransCandidates.push({
436
440
  atFrame: recIn, durationFrames: d, track, pre,
437
- explicitSpan: e.transition.alignment != null || e.transition.inOffset != null,
441
+ explicitSpan: e.transition.alignment != null || e.transition.inOffset != null || e.transition.recStart != null,
438
442
  index: e.index, type: e.transition.type, rawDuration: e.transition.duration,
439
443
  source: e.source, srcIn: cut.srcIn, incomingCutRef: cut, cutPoint: e.transition.cutPoint,
440
444
  });
@@ -834,16 +838,21 @@ export function verifyRoundtrip(inputEvents, exportedEvents, opts = {}) {
834
838
  // before the D event — a pairing placeholder, never a rendered clip, and
835
839
  // no export reproduces it.
836
840
  const vids = (evts) => evts.filter((e) => /^V\d*$/.test(String(e.track)) && e.recIn != null && e.recOut != null && e.recOut > e.recIn);
837
- const norm = (evts) => {
841
+ const audsOf = (evts) => evts.filter((e) => /^A\d*$/.test(String(e.track)) && e.recIn != null && e.recOut != null && e.recOut > e.recIn);
842
+ const anchorOfSide = (evts) => {
838
843
  const v = vids(evts);
844
+ if (v.length) return Math.min(...v.map((e) => e.recIn));
845
+ const au = audsOf(evts);
846
+ return au.length ? Math.min(...au.map((e) => e.recIn)) : 0;
847
+ };
848
+ const norm = (evts, pick = vids) => {
849
+ const v = pick(evts);
839
850
  if (!v.length) return [];
840
- const off = Math.min(...v.map((e) => e.recIn));
851
+ const off = anchorOfSide(evts);
841
852
  return v
842
853
  .map((e) => ({ track: canonTrack(e.track), source: mapSource(canonSource(e.source)), recIn: e.recIn - off, recOut: e.recOut - off, srcIn: e.srcIn ?? 0, speed: e.speed ?? 100, reverse: Boolean(e.reverse) }))
843
854
  .sort((a, b) => a.track.localeCompare(b.track) || a.recIn - b.recIn);
844
855
  };
845
- const a0 = norm(inputEvents);
846
- const b0 = norm(exportedEvents);
847
856
  // FADES (E94): BL legs on the input side and the Solid Color generators a
848
857
  // fade conform authors for them are the same thing — BLACK. Black segments
849
858
  // are synthesized filler whose extents follow from the picture boundaries,
@@ -853,60 +862,91 @@ export function verifyRoundtrip(inputEvents, exportedEvents, opts = {}) {
853
862
  // start-at-cut reshaping), so an edge within an input junction's fade
854
863
  // window is excused — and reported, not silently absorbed.
855
864
  const isBlackSeg = (e) => /^(bl|black|solid color)$/.test(e.source);
856
- const a = a0.filter((e) => !isBlackSeg(e));
857
- const b = b0.filter((e) => !isBlackSeg(e));
858
- const blackSegments = { input: a0.length - a.length, exported: b0.length - b.length };
859
- const rawVids = vids(inputEvents);
860
- const inOff = rawVids.length ? Math.min(...rawVids.map((e) => e.recIn)) : 0;
861
- const junctions = inputEvents
862
- .filter((e) => /^V\d*$/.test(String(e.track)) && e.recIn != null && e.transition && e.transition.duration > 0)
863
- .map((e) => ({ frame: e.recIn - inOff, d: e.transition.duration }));
864
- const inFadeWindow = (edgeIn, edgeExp) => junctions.some(
865
- (j) => Math.abs(edgeIn - j.frame) <= j.d && Math.abs(edgeExp - edgeIn) <= j.d,
866
- );
865
+ const inAnchor = anchorOfSide(inputEvents);
866
+ const junctionsFor = (trackRe) => inputEvents
867
+ .filter((e) => trackRe.test(String(e.track)) && e.recIn != null && e.transition && e.transition.duration > 0)
868
+ .map((e) => ({ frame: e.recIn - inAnchor, d: e.transition.duration }));
867
869
  const fadeReshapedBoundaries = [];
868
870
  const mismatches = [];
869
- if (a.length !== b.length) mismatches.push({ kind: 'count', input: a.length, exported: b.length });
870
871
  const srcOffsets = {};
871
- const n = Math.min(a.length, b.length);
872
- for (let i = 0; i < n; i += 1) {
873
- const x = a[i], y = b[i];
874
- if (x.track !== y.track) { mismatches.push({ kind: 'track', at: i, input: x.track, exported: y.track }); continue; }
875
- if (x.source !== y.source) { mismatches.push({ kind: 'source', at: i, input: x.source, exported: y.source }); continue; }
876
- const inBad = Math.abs(x.recIn - y.recIn) > recTol;
877
- const outBad = Math.abs(x.recOut - y.recOut) > recTol;
878
- if (inBad || outBad) {
879
- const inExcused = !inBad || inFadeWindow(x.recIn, y.recIn);
880
- const outExcused = !outBad || inFadeWindow(x.recOut, y.recOut);
881
- if (inExcused && outExcused) {
882
- fadeReshapedBoundaries.push({ at: i, source: x.source, input: [x.recIn, x.recOut], exported: [y.recIn, y.recOut] });
883
- } else {
884
- mismatches.push({ kind: 'record', at: i, input: [x.recIn, x.recOut], exported: [y.recIn, y.recOut] });
872
+ const comparePairs = (a, b, junctions, trackType) => {
873
+ const tt = trackType === 'audio' ? { trackType: 'audio' } : {};
874
+ const inFadeWindow = (edgeIn, edgeExp) => junctions.some(
875
+ (j) => Math.abs(edgeIn - j.frame) <= j.d && Math.abs(edgeExp - edgeIn) <= j.d,
876
+ );
877
+ if (a.length !== b.length) mismatches.push({ kind: 'count', ...tt, input: a.length, exported: b.length });
878
+ const n = Math.min(a.length, b.length);
879
+ for (let i = 0; i < n; i += 1) {
880
+ const x = a[i], y = b[i];
881
+ if (x.track !== y.track) { mismatches.push({ kind: 'track', ...tt, at: i, input: x.track, exported: y.track }); continue; }
882
+ if (x.source !== y.source) { mismatches.push({ kind: 'source', ...tt, at: i, input: x.source, exported: y.source }); continue; }
883
+ const inBad = Math.abs(x.recIn - y.recIn) > recTol;
884
+ const outBad = Math.abs(x.recOut - y.recOut) > recTol;
885
+ if (inBad || outBad) {
886
+ const inExcused = !inBad || inFadeWindow(x.recIn, y.recIn);
887
+ const outExcused = !outBad || inFadeWindow(x.recOut, y.recOut);
888
+ if (inExcused && outExcused) {
889
+ fadeReshapedBoundaries.push({ at: i, ...tt, source: x.source, input: [x.recIn, x.recOut], exported: [y.recIn, y.recOut] });
890
+ } else {
891
+ mismatches.push({ kind: 'record', ...tt, at: i, input: [x.recIn, x.recOut], exported: [y.recIn, y.recOut] });
892
+ continue;
893
+ }
894
+ }
895
+ // RETIMES (E95): a conform that lost its retime is a wrong timeline
896
+ // that record/source geometry alone cannot catch (the record extent is
897
+ // unchanged; only the playback rate is). Resolve's EXPORT_OTIO carries
898
+ // an authored Sm2TimeMap back as LinearTimeWarp (measured live: 50%
899
+ // in → time_scalar 0.5 out), so a speed/reverse mismatch is real drift.
900
+ if (Math.abs((x.speed ?? 100) - (y.speed ?? 100)) > 0.5 || x.reverse !== y.reverse) {
901
+ mismatches.push({
902
+ kind: 'retime', ...tt, at: i, source: x.source,
903
+ input: { speed: x.speed, reverse: x.reverse },
904
+ exported: { speed: y.speed, reverse: y.reverse },
905
+ });
885
906
  continue;
886
907
  }
908
+ // A fade-reshaped head trims record AND source together (source stays
909
+ // record-aligned), so the per-source constant offset is fitted net of
910
+ // the record shift — otherwise a source cut both plain and faded would
911
+ // read as a source-frames drift.
912
+ const off = (y.srcIn - (y.recIn - x.recIn)) - x.srcIn;
913
+ if (srcOffsets[x.source] === undefined) srcOffsets[x.source] = off;
914
+ else if (Math.abs(off - srcOffsets[x.source]) > srcTol) {
915
+ mismatches.push({ kind: 'source-frames', ...tt, at: i, source: x.source, expectedOffset: srcOffsets[x.source], gotOffset: off });
916
+ }
887
917
  }
888
- // RETIMES (E95): a conform that lost its retime is a wrong timeline that
889
- // record/source geometry alone cannot catch (the record extent is
890
- // unchanged; only the playback rate is). Resolve's EXPORT_OTIO carries
891
- // an authored Sm2TimeMap back as LinearTimeWarp (measured live: 50%
892
- // in time_scalar 0.5 out), so a speed/reverse mismatch is real drift.
893
- if (Math.abs((x.speed ?? 100) - (y.speed ?? 100)) > 0.5 || x.reverse !== y.reverse) {
894
- mismatches.push({
895
- kind: 'retime', at: i, source: x.source,
896
- input: { speed: x.speed, reverse: x.reverse },
897
- exported: { speed: y.speed, reverse: y.reverse },
898
- });
899
- continue;
900
- }
901
- // A fade-reshaped head trims record AND source together (source stays
902
- // record-aligned), so the per-source constant offset is fitted net of
903
- // the record shift otherwise a source cut both plain and faded would
904
- // read as a source-frames drift.
905
- const off = (y.srcIn - (y.recIn - x.recIn)) - x.srcIn;
906
- if (srcOffsets[x.source] === undefined) srcOffsets[x.source] = off;
907
- else if (Math.abs(off - srcOffsets[x.source]) > srcTol) {
908
- mismatches.push({ kind: 'source-frames', at: i, source: x.source, expectedOffset: srcOffsets[x.source], gotOffset: off });
909
- }
918
+ return n;
919
+ };
920
+
921
+ const a0 = norm(inputEvents);
922
+ const b0 = norm(exportedEvents);
923
+ const a = a0.filter((e) => !isBlackSeg(e));
924
+ const b = b0.filter((e) => !isBlackSeg(e));
925
+ const blackSegments = { input: a0.length - a.length, exported: b0.length - b.length };
926
+ const n = comparePairs(a, b, junctionsFor(/^V\d*$/), 'video');
927
+
928
+ // AUDIO (E97): compared only when the INPUT declares audio events — a
929
+ // video-only turnover legitimately re-exports with audio (the A1
930
+ // convenience mirror), which is reported informationally, never failed.
931
+ // AAF channel legs dedupe (same track/source/range arrives once per
932
+ // channel); BL/silence legs merge out like video black.
933
+ const dedupeAud = (list) => {
934
+ const seen = new Set();
935
+ return list.filter((e) => {
936
+ const k = `${e.track}|${e.source}|${e.recIn}|${e.recOut}|${e.srcIn}`;
937
+ if (seen.has(k)) return false;
938
+ seen.add(k);
939
+ return true;
940
+ });
941
+ };
942
+ const aa = dedupeAud(norm(inputEvents, audsOf).filter((e) => !isBlackSeg(e)));
943
+ const ba = dedupeAud(norm(exportedEvents, audsOf).filter((e) => !isBlackSeg(e)));
944
+ let audio;
945
+ if (aa.length) {
946
+ audio = { input: aa.length, exported: ba.length, compared: true };
947
+ comparePairs(aa, ba, junctionsFor(/^A\d*$/), 'audio');
948
+ } else if (ba.length) {
949
+ audio = { input: 0, exported: ba.length, compared: false, note: 'export-only audio (A1 convenience mirror) — not compared' };
910
950
  }
911
951
  // MARKERS (E88): compare track-'MARKER' pseudo-events, min-anchored to
912
952
  // each side's own VIDEO record origin like everything else. When the
@@ -944,5 +984,6 @@ export function verifyRoundtrip(inputEvents, exportedEvents, opts = {}) {
944
984
  ...(markersNotInExport ? { markersNotInExport } : {}),
945
985
  ...(blackSegments.input || blackSegments.exported ? { blackSegments } : {}),
946
986
  ...(fadeReshapedBoundaries.length ? { fadeReshapedBoundaries } : {}),
987
+ ...(audio ? { audio } : {}),
947
988
  };
948
989
  }
@@ -8,7 +8,7 @@
8
8
  *
9
9
  * Time is in TICKS (254,016,000,000 per second — factors by every standard frame/sample rate).
10
10
  * We derive from tick geometry alone: cuts, source in/out, timeline position, SPEED/retime
11
- * (srcDur/recDur), REVERSE (in>out), transitions (VideoTransitionTrackItem span), and markers.
11
+ * (srcDur/recDur), REVERSE (in>out), transitions (VideoTransitionTrackItem span, recStart-explicit; edge spans synthesize BL fade legs), and markers.
12
12
  *
13
13
  * HONEST limits (skip-not-fake): the schema is proprietary and version-drifting (Project Version
14
14
  * 25→42+); editorial timing/structure decodes with high fidelity, but per-clip EFFECTS / Lumetri
@@ -179,10 +179,29 @@ function walkSequence(seqEntry, byId) {
179
179
  transitions.push({ recIn: ticksToFrames(childText(cEntry.node, 'Start'), fps), duration: dur || 0 });
180
180
  }
181
181
  }
182
- // Attach each transition to the clip that begins at its record position (best-effort).
182
+ // Attach each transition to the INCOMING clip whose record-in falls
183
+ // inside its span — Premiere stores the explicit record span, so
184
+ // recStart carries it and the bridge reproduces the editor's actual
185
+ // alignment (the old exact-start match silently dropped every
186
+ // centered transition). A span with no outgoing clip is a fade-IN,
187
+ // one with no incoming a fade-OUT — both synthesize BL legs for the
188
+ // bridge's black machinery (E91-E96).
183
189
  for (const tr of transitions) {
184
- const hit = clipEvents.find((e) => e.recIn === tr.recIn);
185
- if (hit) hit.transition = { type: 'dissolve', duration: tr.duration };
190
+ const end = tr.recIn + tr.duration;
191
+ const trans = { type: 'dissolve', duration: tr.duration, recStart: tr.recIn };
192
+ const incoming = clipEvents.find((e) => e.recIn > tr.recIn - 1 && e.recIn <= end);
193
+ if (incoming) {
194
+ incoming.transition = trans;
195
+ const outgoing = clipEvents.find((e) => e !== incoming && e.recOut > tr.recIn - 1 && e.recOut <= end);
196
+ if (!outgoing) {
197
+ clipEvents.push({ index: idx++, track: trackKind, source: 'BL', srcIn: 0, srcOut: 0, recIn: incoming.recIn, recOut: incoming.recIn, speed: 100, reverse: false, transition: null, fps });
198
+ }
199
+ } else {
200
+ const outgoing = clipEvents.find((e) => e.recOut > tr.recIn - 1 && e.recOut <= end);
201
+ if (outgoing) {
202
+ clipEvents.push({ index: idx++, track: trackKind, source: 'BL', srcIn: 0, srcOut: 0, recIn: outgoing.recOut, recOut: outgoing.recOut, speed: 100, reverse: false, transition: trans, fps });
203
+ }
204
+ }
186
205
  }
187
206
  events.push(...clipEvents);
188
207
  }
@@ -86,7 +86,7 @@ const markerSchema = z.object({
86
86
  export const editorialTool = {
87
87
  name: 'editorial',
88
88
  description:
89
- 'Editorial integrity (Cluster E) — turnover interchange → normalized events → changelist + conform manifest with TIMING silent-lie guards (flattened retime / dropped J/L-cut audio / framerate-pulldown slip / reverse dropped / transition-handle starvation → flag, skip-not-fake). Report-only (gate: review). Actions: parse_interchange (EDL/OTIO/XMEML natively + AAF via pyaaf2 + PRPROJ via gunzip+XML → normalized events; for AAF/PRPROJ pass the file PATH as content; AAF also returns per-sequence startTimecode/startFrame — build the timeline at THAT start, not the Resolve 01:00:00:00 default — and per-clip `geometry` for Avid transform effects), list_sequences (ONE offline picker entry point across xml/edl/otio/drt/drp/aaf/prproj → [{id,name,eventCount}], plus startTimecode/startFrame for AAF), convert_to_interchange (author OTIO/EDL/DRT Resolve CAN import from events or a parsed source — the .prproj→Resolve conform bridge, no Premiere needed; editorial timing/transitions survive and per-clip effects/color do not. SPEED/REVERSE survive on the otio (LinearTimeWarp) and edl (M2) targets ONLY — this FLAT drt target flattens every retime to 100% forward and returns `flattened`/`flattenedCount` naming each event that lost one (`flattened` is always present on `drt`, empty when there were none); for a .drt that AUTHORS retimes/dissolves/multi-track/audio, use drt.assemble_from_interchange), turnover_changelist (diff old vs new → moved/retimed/replaced/new/gone + timing flags), conform_manifest (per-event assert: source resolved/handles/retime/reverse/TC-base), marker_roundtrip (markers with provenance tags), verify_roundtrip (input events vs re-export events -> pass/mismatches + fitted per-source TC offsets + marker compare w/ markersNotInExport honesty flag; FADE-AWARE: BL/Solid-Color legs merge out as blackSegments and fade-window boundary reshapes are excused into fadeReshapedBoundaries instead of failing; RETIME-AWARE: speed/reverse compare pairwise — EXPORT_OTIO carries an authored Sm2TimeMap back as LinearTimeWarp (measured), so a flattened/lost retime fails as drift geometry alone cannot catch; the conform QC loop-closer). Offline (AAF needs pyaaf2; live AAF/DRP import is on the Python davinci-resolve MCP).',
89
+ 'Editorial integrity (Cluster E) — turnover interchange → normalized events → changelist + conform manifest with TIMING silent-lie guards (flattened retime / dropped J/L-cut audio / framerate-pulldown slip / reverse dropped / transition-handle starvation → flag, skip-not-fake). Report-only (gate: review). Actions: parse_interchange (EDL/OTIO/XMEML natively + AAF via pyaaf2 + PRPROJ via gunzip+XML → normalized events incl. span-explicit transitions and BL fade legs; for AAF/PRPROJ pass the file PATH as content; AAF also returns per-sequence startTimecode/startFrame — build the timeline at THAT start, not the Resolve 01:00:00:00 default — and per-clip `geometry` for Avid transform effects), list_sequences (ONE offline picker entry point across xml/edl/otio/drt/drp/aaf/prproj → [{id,name,eventCount}], plus startTimecode/startFrame for AAF), convert_to_interchange (author OTIO/EDL/DRT Resolve CAN import from events or a parsed source — the .prproj→Resolve conform bridge, no Premiere needed; editorial timing/transitions survive and per-clip effects/color do not. SPEED/REVERSE survive on the otio (LinearTimeWarp) and edl (M2) targets ONLY — this FLAT drt target flattens every retime to 100% forward and returns `flattened`/`flattenedCount` naming each event that lost one (`flattened` is always present on `drt`, empty when there were none); for a .drt that AUTHORS retimes/dissolves/multi-track/audio, use drt.assemble_from_interchange), turnover_changelist (diff old vs new → moved/retimed/replaced/new/gone + timing flags), conform_manifest (per-event assert: source resolved/handles/retime/reverse/TC-base), marker_roundtrip (markers with provenance tags), verify_roundtrip (input events vs re-export events -> pass/mismatches + fitted per-source TC offsets + marker compare w/ markersNotInExport honesty flag; FADE-AWARE: BL/Solid-Color legs merge out as blackSegments and fade-window boundary reshapes are excused into fadeReshapedBoundaries instead of failing; RETIME-AWARE: speed/reverse compare pairwise — EXPORT_OTIO carries an authored Sm2TimeMap back as LinearTimeWarp (measured), so a flattened/lost retime fails as drift geometry alone cannot catch; AUDIO-AWARE: declared audio events compare (channel legs deduped, mismatches tagged trackType audio) while the mirrored-A1 export of a video-only turnover stays informational; the conform QC loop-closer). Offline (AAF needs pyaaf2; live AAF/DRP import is on the Python davinci-resolve MCP).',
90
90
  async handler({ action, args }) {
91
91
  if (action === 'parse_interchange') {
92
92
  const p = parseSchema.parse(args);
@@ -87,7 +87,7 @@ if not logging.getLogger().handlers:
87
87
  handlers=[logging.StreamHandler()],
88
88
  )
89
89
 
90
- VERSION = "2.154.0"
90
+ VERSION = "2.156.0"
91
91
  logger = logging.getLogger("davinci-resolve-mcp")
92
92
  logger.info(f"Starting DaVinci Resolve MCP Server v{VERSION}")
93
93
  logger.info(f"Detected platform: {get_platform()}")
package/src/server.py CHANGED
@@ -11,7 +11,7 @@ Usage:
11
11
  python src/server.py --full # Start the 353-tool granular server instead
12
12
  """
13
13
 
14
- VERSION = "2.154.0"
14
+ VERSION = "2.156.0"
15
15
 
16
16
  import base64
17
17
  import os