davinci-resolve-mcp 4.10.0 → 4.10.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 +32 -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 +1 -1
- package/src/utils/media_analysis.py +10 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,38 @@
|
|
|
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.10.1 — the server's own tools stay first on PATH; portable runtime tests
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- **A tool installed alongside the server could be shadowed by an older
|
|
10
|
+
system copy.** At import, `media_analysis` adds the interpreter's script
|
|
11
|
+
directory and the standard tool directories (`/opt/homebrew/bin`,
|
|
12
|
+
`/usr/local/bin`, …) to `PATH`, meaning to put the server's own venv first.
|
|
13
|
+
When the venv was already on `PATH` (an activated environment) but the
|
|
14
|
+
Homebrew directories were not, the missing directories were prepended in
|
|
15
|
+
front of it, so a `whisper` or `ffmpeg` in `/opt/homebrew/bin` won over the
|
|
16
|
+
one installed with the server. The venv's script directory now always comes
|
|
17
|
+
first; every other entry is kept, and the call stays idempotent. Reported
|
|
18
|
+
by @sidevconcept from a macOS validation run (#273); the existing test only
|
|
19
|
+
caught it on a host whose `PATH` lacked Homebrew.
|
|
20
|
+
|
|
21
|
+
### Tests
|
|
22
|
+
|
|
23
|
+
- `tests/test_child_process_text_encoding.py`: with `PATH` pinned to the venv
|
|
24
|
+
plus system directories, the venv stays first, whether it was listed first
|
|
25
|
+
or in the middle. Fails on v4.10.0.
|
|
26
|
+
- `tests/test_headless_runtime.py` and `tests/test_dashboard_source_review.py`
|
|
27
|
+
(@sidevconcept, #282, related to #278): the macOS process-table fixtures pin
|
|
28
|
+
their platform instead of following the test host, a launch-path assertion
|
|
29
|
+
normalizes separators, and the source-review test closes its cached SQLite
|
|
30
|
+
connection before its temporary directory is removed, which Windows
|
|
31
|
+
requires. Test-only.
|
|
32
|
+
|
|
33
|
+
### Validation
|
|
34
|
+
|
|
35
|
+
- Offline suite green. No Resolve scripting call changed.
|
|
36
|
+
|
|
5
37
|
## What's New in v4.10.0 — subtitle caption and preset editing in saved projects
|
|
6
38
|
|
|
7
39
|
### Added
|
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.10.
|
|
15
|
+
> 本翻译对应 v4.10.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.10.
|
|
40
|
+
VERSION = "4.10.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
package/src/granular/common.py
CHANGED
|
@@ -91,7 +91,7 @@ if not logging.getLogger().handlers:
|
|
|
91
91
|
handlers=[logging.StreamHandler()],
|
|
92
92
|
)
|
|
93
93
|
|
|
94
|
-
VERSION = "4.10.
|
|
94
|
+
VERSION = "4.10.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
|
@@ -440,8 +440,16 @@ def _ensure_path_includes_standard_tool_dirs() -> None:
|
|
|
440
440
|
parts = current.split(os.pathsep) if current else []
|
|
441
441
|
existing = set(parts)
|
|
442
442
|
additions = [d for d in candidates if os.path.isdir(d) and d not in existing]
|
|
443
|
-
|
|
444
|
-
|
|
443
|
+
# The script dir must come first even when it is already on PATH. An
|
|
444
|
+
# activated venv puts it there, but prepending the other missing dirs in
|
|
445
|
+
# front of it would let /opt/homebrew/bin or /usr/local/bin shadow it
|
|
446
|
+
# (reported on macOS in #273's validation, where Homebrew was not yet on
|
|
447
|
+
# the inherited PATH).
|
|
448
|
+
script_dir = candidates[0]
|
|
449
|
+
front = [script_dir] if (script_dir in existing or script_dir in additions) else []
|
|
450
|
+
ordered = front + [d for d in additions if d != script_dir] + [p for p in parts if p != script_dir]
|
|
451
|
+
if ordered != parts:
|
|
452
|
+
os.environ["PATH"] = os.pathsep.join(ordered)
|
|
445
453
|
|
|
446
454
|
|
|
447
455
|
_ensure_path_includes_standard_tool_dirs()
|