davinci-resolve-mcp 2.196.0 → 2.197.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,26 @@
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.197.0 — E145: a named generator is a black leg or a named hole
6
+
7
+ ### Fixed
8
+
9
+ - **A named generator no longer refuses the whole reel.** Once E141 named
10
+ Premiere's synthetic items by their title, a Universal Counting Leader
11
+ arrived at the bridge as an event with no file and no source-map entry,
12
+ and `eventsToAssembleSpec` refused the entire 228-cut reel as an "unmapped
13
+ source reel". Now a black generator (Black Video, black, slug) authors as
14
+ the BL leg it is — a Solid Color that renders black — and any other named
15
+ generator with no Resolve equivalent is dropped with a reason in
16
+ `report.unresolvedGenerators` (name, track, record window), a hole the
17
+ ledger names, the way unresolved compounds already are. A source map that
18
+ maps the generator's name to a rendered file places it like media. An
19
+ unmapped real reel still refuses.
20
+
21
+ On the real turnover: reels 02, 03 and 04 now conform offline through the
22
+ bridge — 226 / 147 / 257 video cuts, every dissolve and retime authored,
23
+ two leaders per reel reported as holes, black authored as black.
24
+
5
25
  ## What's New in v2.196.0 — E144: Resolve's own retimes decode; a flat map is a freeze
6
26
 
7
27
  ### Fixed
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.196.0-blue.svg)](https://github.com/samuelgursky/davinci-resolve-mcp/releases)
5
+ [![Version](https://img.shields.io/badge/version-2.197.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.196.0-blue.svg)](https://github.com/samuelgursky/davinci-resolve-mcp/releases)
5
+ [![Version](https://img.shields.io/badge/version-2.197.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.196.0 版 README。如与英文原版有出入,以 [英文原版](README.md) 为准。
15
+ > 本翻译对应 v2.197.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.196.0"
40
+ VERSION = "2.197.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.196.0",
3
+ "version": "2.197.0",
4
4
  "description": "NPM bootstrapper for the DaVinci Resolve MCP Server.",
5
5
  "license": "MIT",
6
6
  "author": "Samuel Gursky <samgursky@gmail.com>",
@@ -296,6 +296,27 @@ export function eventsToAssembleSpec(events, opts = {}) {
296
296
  }
297
297
  }
298
298
  }
299
+ // NAMED GENERATORS (E145): a Premiere Universal Counting Leader / Black
300
+ // Video (E141 names them by their Media <Title>) or a DRT generator clip
301
+ // arrives as an event with generatorName and no file. Black authors as the
302
+ // BL leg it is (a Solid Color that renders black); anything else has no
303
+ // Resolve equivalent the bridge can place, so it is DROPPED with a reason
304
+ // in unresolvedGenerators — a hole the ledger names — instead of refusing
305
+ // the whole reel as an unmapped source (a real 228-cut reel refused over
306
+ // its counting leader).
307
+ const unresolvedGenerators = [];
308
+ const isBlackGenerator = (name) => /^(black|black video|black matte|slug)$/i.test(String(name || '').trim());
309
+ for (const list of [vids, auds]) {
310
+ for (let i = list.length - 1; i >= 0; i -= 1) {
311
+ const e = list[i];
312
+ if (sourceMap[e.source] || isBL(e.source)) continue;
313
+ const gen = e.generatorName || (isBlackGenerator(e.source) ? e.source : null);
314
+ if (!gen) continue;
315
+ if (isBlackGenerator(gen)) { list[i] = { ...e, source: 'BL', generatorName: gen }; continue; }
316
+ unresolvedGenerators.push({ name: gen, track: e.track, recIn: e.recIn, recOut: e.recOut, reason: 'a named generator with no media and no Resolve equivalent the bridge can author — map its name to a rendered file in sourceMap, or accept the hole' });
317
+ list.splice(i, 1);
318
+ }
319
+ }
299
320
  const unmapped = [...new Set([...vids, ...auds].map((e) => e.source).filter((srcName) => !isBL(srcName) && !sourceMap[srcName]))];
300
321
  if (unmapped.length) {
301
322
  throw new Error(
@@ -737,6 +758,7 @@ export function eventsToAssembleSpec(events, opts = {}) {
737
758
  flattenedCompounds: [...new Set(events.filter((e) => e.fromCompound).map((e) => e.fromCompound))],
738
759
  flattenedCompoundEvents: events.filter((e) => e.fromCompound).length,
739
760
  unresolvedCompounds,
761
+ unresolvedGenerators,
740
762
  authoredAudioEvents: audioPlacements.length,
741
763
  audioRetimesSkipped,
742
764
  audioLanesBeyondCeiling,
@@ -87,7 +87,7 @@ if not logging.getLogger().handlers:
87
87
  handlers=[logging.StreamHandler()],
88
88
  )
89
89
 
90
- VERSION = "2.196.0"
90
+ VERSION = "2.197.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.196.0"
14
+ VERSION = "2.197.0"
15
15
 
16
16
  import base64
17
17
  import os