davinci-resolve-mcp 4.15.0 → 4.15.1

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,27 @@
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.15.1 — Frame captures arrive as images on Python 3.10
6
+
7
+ ### Fixed
8
+
9
+ - **`timeline_frame` and `timeline_markers get_thumbnail_image` return their
10
+ image again on Python 3.10** (#314). Both tools are declared `-> Any`. On
11
+ Python 3.10, FastMCP inferred a `{"result": ...}` output schema from that
12
+ annotation and then failed to serialize the image, so every capture
13
+ succeeded in Resolve and reached the client as "Unable to serialize unknown
14
+ type". Python 3.11 and later infer no schema, which hid the bug from CI and
15
+ the direct-call unit tests. Both tools now opt out of structured output;
16
+ their dict results still arrive as JSON text. Reported by @jo-nike.
17
+
18
+ ### Validation
19
+
20
+ - New `tests/test_image_tool_structured_output.py` calls both tools through
21
+ `mcp.call_tool`. One case imports the server with Python 3.10's schema
22
+ inference forced, so it fails without the fix on any Python.
23
+ - Full offline suite and release static checks. No Resolve scripting
24
+ behaviour changed; live Resolve test not required.
25
+
5
26
  ## What's New in v4.15.0 — Conform-session fixes, Python doctor, restart hint
6
27
 
7
28
  Six gaps a real conform session hit on Resolve Studio 19.1.3.7, each measured
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.15.0-blue.svg)](https://github.com/samuelgursky/davinci-resolve-mcp/releases)
5
+ [![Version](https://img.shields.io/badge/version-4.15.1-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(390%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.15.0-blue.svg)](https://github.com/samuelgursky/davinci-resolve-mcp/releases)
5
+ [![Version](https://img.shields.io/badge/version-4.15.1-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(390%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.15.0 版 README。如与英文原版有出入,以 [英文原版](README.md) 为准。
15
+ > 本翻译对应 v4.15.1 版 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.15.0"
40
+ VERSION = "4.15.1"
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.15.0",
3
+ "version": "4.15.1",
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.15.0"
94
+ VERSION = "4.15.1"
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.15.0"
14
+ VERSION = "4.15.1"
15
15
 
16
16
  import base64
17
17
  import os
@@ -28116,7 +28116,10 @@ def timeline(action: str, params: Optional[Dict[str, Any]] = None) -> Dict[str,
28116
28116
  # TOOL 16: timeline_markers
28117
28117
  # ═══════════════════════════════════════════════════════════════════════════════
28118
28118
 
28119
- @mcp.tool()
28119
+ # structured_output=False: these tools return an MCP Image. On Python 3.10 FastMCP
28120
+ # infers a {"result": ...} schema from `-> Any` and fails to serialize the Image
28121
+ # (issue #314); 3.11+ infers none, which hides the bug.
28122
+ @mcp.tool(structured_output=False)
28120
28123
  @_guard_missing_params
28121
28124
  @_destructive_op("timeline_markers")
28122
28125
  def timeline_markers(action: str, params: Optional[Dict[str, Any]] = None) -> Any:
@@ -28265,7 +28268,10 @@ def timeline_markers(action: str, params: Optional[Dict[str, Any]] = None) -> An
28265
28268
  # TOOL 17: timeline_frame
28266
28269
  # ═══════════════════════════════════════════════════════════════════════════════
28267
28270
 
28268
- @mcp.tool()
28271
+ # structured_output=False: these tools return an MCP Image. On Python 3.10 FastMCP
28272
+ # infers a {"result": ...} schema from `-> Any` and fails to serialize the Image
28273
+ # (issue #314); 3.11+ infers none, which hides the bug.
28274
+ @mcp.tool(structured_output=False)
28269
28275
  @_guard_missing_params
28270
28276
  def timeline_frame(action: str, params: Optional[Dict[str, Any]] = None) -> Any:
28271
28277
  """See what Resolve is rendering — capture a timeline frame as a viewable image.