davinci-resolve-mcp 4.8.29 → 4.8.30

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,35 @@
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 v4.8.30 — conform_lint reports every reuse of one source
6
+
7
+ ### Fixed
8
+
9
+ - **`editorial(action="conform_lint")` reported only the first reuse when
10
+ several pulls came from inside one long pull.** `check_duplicate_usage`
11
+ sorted each source's pulls by in-point and compared each one only with the
12
+ pull just before it. A long take followed by short callbacks lifted from
13
+ inside it therefore compared the second callback against the first, which
14
+ it does not overlap, and the reuse of the long take went unreported from
15
+ then on. An interview used at 0–5000 with callbacks at 100–200 and 300–400
16
+ reported one reuse instead of two. Each pull is now compared with the
17
+ earlier pull that reaches furthest, so every pull that overlaps any earlier
18
+ pull is flagged. Where out-points already increase that is the previous
19
+ pull, so ordinary material is reported exactly as before; adjacent pulls
20
+ are still two shots, not a duplicate. Contributed by @Dev-next-gen (#276).
21
+
22
+ ### Tests
23
+
24
+ - `tests/test_conform_lint.py` gains `DuplicateUsageTests`, the check's first
25
+ tests: adjacent pulls stay unreported, and every callback inside one long
26
+ pull is reported. The second fails on v4.8.29 with the
27
+ `INTERVIEW`/`CALLBACK 2` pair missing.
28
+
29
+ ### Validation
30
+
31
+ - `lint_timeline` is a pure function over a timeline snapshot; no Resolve
32
+ scripting call changed, so no live run was required.
33
+
5
34
  ## What's New in v4.8.29 — optional granular arguments accept an explicit null
6
35
 
7
36
  ### 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-4.8.29-blue.svg)](https://github.com/samuelgursky/davinci-resolve-mcp/releases)
5
+ [![Version](https://img.shields.io/badge/version-4.8.30-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-37%20(389%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-4.8.29-blue.svg)](https://github.com/samuelgursky/davinci-resolve-mcp/releases)
5
+ [![Version](https://img.shields.io/badge/version-4.8.30-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-37%20(389%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
- > 本翻译对应 v4.8.29 版 README。如与英文原版有出入,以 [英文原版](README.md) 为准。
15
+ > 本翻译对应 v4.8.30 版 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 = "4.8.29"
40
+ VERSION = "4.8.30"
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": "4.8.29",
3
+ "version": "4.8.30",
4
4
  "description": "NPM bootstrapper for the DaVinci Resolve MCP Server.",
5
5
  "license": "MIT",
6
6
  "author": "Samuel Gursky <samgursky@gmail.com>",
@@ -91,7 +91,7 @@ if not logging.getLogger().handlers:
91
91
  handlers=[logging.StreamHandler()],
92
92
  )
93
93
 
94
- VERSION = "4.8.29"
94
+ VERSION = "4.8.30"
95
95
  logger = logging.getLogger("davinci-resolve-mcp")
96
96
  logger.info(f"Starting DaVinci Resolve MCP Server v{VERSION}")
97
97
  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 377-tool granular server instead
12
12
  """
13
13
 
14
- VERSION = "4.8.29"
14
+ VERSION = "4.8.30"
15
15
 
16
16
  import base64
17
17
  import os
@@ -337,7 +337,17 @@ def check_duplicate_usage(items: Sequence[Mapping[str, Any]]) -> List[Dict[str,
337
337
  length = int(entry["timeline_end_frame"]) - int(entry["timeline_start_frame"])
338
338
  spans.append((start, start + max(0, length), _name(entry)))
339
339
  spans.sort()
340
- for (a_start, a_end, a_name), (b_start, b_end, b_name) in zip(spans, spans[1:]):
340
+ # Each pull is compared against the furthest-reaching EARLIER pull, not
341
+ # against its immediate predecessor. Sorted by source in-point, one long
342
+ # pull is followed by every short callback lifted from inside it, so
343
+ # `spans[i - 1]` is the previous CALLBACK — which the next callback need
344
+ # not overlap — and the reuse of the long pull went unreported from the
345
+ # second callback onward. Where the out-points already increase the
346
+ # furthest pull *is* the predecessor, so ordinary material is unchanged.
347
+ furthest = spans[0]
348
+ for current in spans[1:]:
349
+ b_start, b_end, b_name = current
350
+ a_start, a_end, a_name = furthest
341
351
  if b_start < a_end:
342
352
  dupes.append({
343
353
  "source": str(ref),
@@ -345,6 +355,8 @@ def check_duplicate_usage(items: Sequence[Mapping[str, Any]]) -> List[Dict[str,
345
355
  "second": b_name,
346
356
  "overlap_frames": min(a_end, b_end) - b_start,
347
357
  })
358
+ if b_end > a_end:
359
+ furthest = current
348
360
  if not dupes:
349
361
  return []
350
362
  return [_finding(