davinci-resolve-mcp 4.8.14 → 4.8.16
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 +27 -0
- package/README.md +1 -1
- package/README.zh-CN.md +2 -2
- package/install.py +1 -1
- package/package.json +1 -1
- package/src/granular/common.py +1 -1
- package/src/server.py +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,33 @@
|
|
|
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.16 — `organize_clips` honours `create_missing="false"`
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- **`organize_clips` decided whether to create missing target folders with bare
|
|
10
|
+
truthiness on `create_missing`.** ([#266](https://github.com/samuelgursky/davinci-resolve-mcp/pull/266), @Dev-next-gen)
|
|
11
|
+
A caller sending `create_missing="false"` (or `"no"`, `"0"`, `"off"`) to move clips
|
|
12
|
+
into a folder that did not exist got the folder path created anyway instead of a
|
|
13
|
+
"Target folder not found" error. The flag now goes through `_coerce_bool`, like the
|
|
14
|
+
other boolean reads fixed this month. Real booleans and an omitted key are
|
|
15
|
+
unchanged. Guard test: six false spellings, all failing on the previous code, plus
|
|
16
|
+
`True`-creates and omitted-does-not-create checks.
|
|
17
|
+
|
|
18
|
+
## What's New in v4.8.15 — `background="false"` runs synchronously
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
|
|
22
|
+
- **`_run_maybe_background` decided sync-versus-background with bare truthiness on
|
|
23
|
+
`background` and `async_job`.** ([#265](https://github.com/samuelgursky/davinci-resolve-mcp/pull/265), @Dev-next-gen)
|
|
24
|
+
A caller sending `background="false"` (or `"no"`, `"0"`, `"off"`) to any action that
|
|
25
|
+
offers a background job got a background job anyway, with a `job_id` instead of the
|
|
26
|
+
result they asked for synchronously. Both parameters now go through `_coerce_bool`,
|
|
27
|
+
like every other boolean read fixed this month; the two media-analysis readers of the
|
|
28
|
+
same flag already went through their own coercer. Real booleans and the true
|
|
29
|
+
spellings are unchanged. Guard test: six false spellings on both parameter names,
|
|
30
|
+
twelve subtests failing on the previous code.
|
|
31
|
+
|
|
5
32
|
## What's New in v4.8.14 — both dependency trees read zero advisories again
|
|
6
33
|
|
|
7
34
|
### Changed
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
English | [简体中文](README.zh-CN.md)
|
|
4
4
|
|
|
5
|
-
[](https://github.com/samuelgursky/davinci-resolve-mcp/releases)
|
|
6
6
|
[](https://www.npmjs.com/package/davinci-resolve-mcp)
|
|
7
7
|
[](docs/reference/api-coverage.md)
|
|
8
8
|
[-blue.svg)](#server-modes)
|
package/README.zh-CN.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[English](README.md) | 简体中文
|
|
4
4
|
|
|
5
|
-
[](https://github.com/samuelgursky/davinci-resolve-mcp/releases)
|
|
6
6
|
[](https://www.npmjs.com/package/davinci-resolve-mcp)
|
|
7
7
|
[](docs/reference/api-coverage.md)
|
|
8
8
|
[-blue.svg)](#服务器模式)
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
[](https://www.python.org/downloads/)
|
|
13
13
|
[](https://opensource.org/licenses/MIT)
|
|
14
14
|
|
|
15
|
-
> 本翻译对应 v4.8.
|
|
15
|
+
> 本翻译对应 v4.8.16 版 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.
|
|
40
|
+
VERSION = "4.8.16"
|
|
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
package/src/granular/common.py
CHANGED
|
@@ -93,7 +93,7 @@ if not logging.getLogger().handlers:
|
|
|
93
93
|
handlers=[logging.StreamHandler()],
|
|
94
94
|
)
|
|
95
95
|
|
|
96
|
-
VERSION = "4.8.
|
|
96
|
+
VERSION = "4.8.16"
|
|
97
97
|
logger = logging.getLogger("davinci-resolve-mcp")
|
|
98
98
|
logger.info(f"Starting DaVinci Resolve MCP Server v{VERSION}")
|
|
99
99
|
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.
|
|
14
|
+
VERSION = "4.8.16"
|
|
15
15
|
|
|
16
16
|
import base64
|
|
17
17
|
import os
|
|
@@ -1790,7 +1790,7 @@ def _run_maybe_background(label: str, params: Dict[str, Any], fn):
|
|
|
1790
1790
|
job and return its id at once; otherwise run fn inside long_resolve_op and
|
|
1791
1791
|
return its result, preserving the synchronous contract.
|
|
1792
1792
|
"""
|
|
1793
|
-
if params.get("background") or params.get("async_job"):
|
|
1793
|
+
if _coerce_bool(params.get("background")) or _coerce_bool(params.get("async_job")):
|
|
1794
1794
|
job_id = background_jobs.start_job(label, fn)
|
|
1795
1795
|
return {
|
|
1796
1796
|
"success": True,
|
|
@@ -13559,7 +13559,7 @@ def _organize_clips(mp, root, p: Dict[str, Any]):
|
|
|
13559
13559
|
target_path = p.get("target_path")
|
|
13560
13560
|
if not target_path:
|
|
13561
13561
|
return _err("target_path is required")
|
|
13562
|
-
if p.get("create_missing"):
|
|
13562
|
+
if _coerce_bool(p.get("create_missing")):
|
|
13563
13563
|
target, target_err = _ensure_folder_path(mp, target_path)
|
|
13564
13564
|
else:
|
|
13565
13565
|
target = _navigate_folder(mp, target_path)
|