davinci-resolve-mcp 2.213.2 → 2.213.3

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,29 @@
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.213.3 — the capture docstring says what is restored and what is only reset
6
+
7
+ ### Documentation
8
+
9
+ - **`_playhead_frame_render`'s docstring still said the mark range was not
10
+ readable.** Since v2.213.2 it is: `Timeline.GetMarkInOut` is read before the
11
+ capture and put back afterwards, offset into `SetRenderSettings`' absolute
12
+ frame space. The docstring now lists the three things that actually happen
13
+ on the way out — format and codec genuinely restored, the mark range
14
+ restored when one was set (whole timeline as the fallback), and TargetDir
15
+ and CustomName reset because nothing can read them back — and notes that
16
+ `GetRenderSettings` is still absent as of 21.1. It is the first thing a
17
+ caller reads to decide whether `quality="frame"` is safe against their
18
+ render setup. Contributed in #201 by @billcarroll.
19
+ - **#196 confirmed on Windows.** The reporter pulled v2.213.1 and confirms the
20
+ keyframe fix renders on Windows, which closes the one platform question the
21
+ v2.213.1 notes left open.
22
+
23
+ ### Validation
24
+
25
+ - Docstring only; no behavior changed and no Resolve run required. Full
26
+ offline suite, drift guards and the advanced Node suite green.
27
+
5
28
  ## What's New in v2.213.2 — the full transcript on 21.1, and a frame capture that puts the user's mark range back in the right frame space
6
29
 
7
30
  Both contributed by @billcarroll (#199, #200).
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.213.2-blue.svg)](https://github.com/samuelgursky/davinci-resolve-mcp/releases)
5
+ [![Version](https://img.shields.io/badge/version-2.213.3-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.213.2-blue.svg)](https://github.com/samuelgursky/davinci-resolve-mcp/releases)
5
+ [![Version](https://img.shields.io/badge/version-2.213.3-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.213.2 版 README。如与英文原版有出入,以 [英文原版](README.md) 为准。
15
+ > 本翻译对应 v2.213.3 版 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.213.2"
40
+ VERSION = "2.213.3"
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.213.2",
3
+ "version": "2.213.3",
4
4
  "description": "NPM bootstrapper for the DaVinci Resolve MCP Server.",
5
5
  "license": "MIT",
6
6
  "author": "Samuel Gursky <samgursky@gmail.com>",
@@ -87,7 +87,7 @@ if not logging.getLogger().handlers:
87
87
  handlers=[logging.StreamHandler()],
88
88
  )
89
89
 
90
- VERSION = "2.213.2"
90
+ VERSION = "2.213.3"
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.213.2"
14
+ VERSION = "2.213.3"
15
15
 
16
16
  import base64
17
17
  import os
@@ -14866,12 +14866,18 @@ def _playhead_frame_render(proj, tl, p: Dict[str, Any]):
14866
14866
  A single-frame render honours the grade, Fusion and titles, is frame-exact,
14867
14867
  runs in well under a second, and needs no GUI panel or foreground window.
14868
14868
 
14869
- The cost is that render settings are project-level state. Format and codec
14870
- are readable and are restored; the rest (TargetDir, CustomName, mark range)
14871
- is NOT readable on builds without GetRenderSettings, so this resets those to
14872
- sane values rather than truly restoring them. Callers who need a strictly
14873
- side-effect-free read should use quality="thumbnail" and accept per-clip
14874
- granularity.
14869
+ The cost is that render settings are project-level state, and there is still
14870
+ no GetRenderSettings to read them back from (absent as of 21.1). Three
14871
+ different things happen on the way out:
14872
+ - Format and codec are readable via GetCurrentRenderFormatAndCodec and are
14873
+ genuinely restored.
14874
+ - The mark range is readable via Timeline.GetMarkInOut, so a range the
14875
+ caller had set is put back (offset into SetRenderSettings' absolute
14876
+ frame space); with no range set it falls back to the whole timeline.
14877
+ - TargetDir and CustomName are readable from nowhere, so they are reset to
14878
+ sane values rather than restored.
14879
+ Callers who need a strictly side-effect-free read should use
14880
+ quality="thumbnail" and accept per-clip granularity.
14875
14881
  """
14876
14882
  fmt = str(p.get("format", "jpg")).lower().lstrip(".")
14877
14883
  if fmt == "jpeg":