davinci-resolve-mcp 2.37.1 → 2.37.2
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 +20 -0
- package/README.md +1 -1
- package/install.py +1 -1
- package/package.json +1 -1
- package/src/granular/common.py +1 -1
- package/src/server.py +5 -3
- package/src/utils/destructive_hook.py +1 -1
- package/src/utils/timeline_kernel_live_probe.py +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,26 @@
|
|
|
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.37.2
|
|
6
|
+
|
|
7
|
+
Static-audit fixes — four undefined-name references that silently fell back
|
|
8
|
+
to defaults instead of erroring (the same bug class as the v2.37.0
|
|
9
|
+
confirm-token fix), plus a regression guard.
|
|
10
|
+
|
|
11
|
+
- **Fixed** the `status://mcp_version` resource reporting update channel
|
|
12
|
+
`"stable"` unconditionally; it now calls the real `get_update_channel()`,
|
|
13
|
+
so beta/dev channel installs report correctly.
|
|
14
|
+
- **Fixed** the `versioning_auto_run_idle_timeout_seconds` preference being
|
|
15
|
+
silently ignored (auto-run idle timeout was always 90s) due to a
|
|
16
|
+
misspelled preference-reader name in the destructive hook.
|
|
17
|
+
- **Fixed** resolve-state snapshot tokens always falling back to a timestamp
|
|
18
|
+
because `short_hash` was never imported; tokens are now content-stable.
|
|
19
|
+
- **Fixed** the timeline-kernel live probe's MCP-stub fallback crashing with
|
|
20
|
+
a `NameError` (missing `types` import) exactly when the mcp library is
|
|
21
|
+
absent — the only case the fallback exists for.
|
|
22
|
+
- **Added** a static test that runs pyflakes over `src/` and fails on any
|
|
23
|
+
undefined name, so this bug class cannot reappear unnoticed.
|
|
24
|
+
|
|
5
25
|
## What's New in v2.37.1
|
|
6
26
|
|
|
7
27
|
Test-suite hygiene — no server behavior changed.
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# DaVinci Resolve MCP Server
|
|
2
2
|
|
|
3
|
-
[](https://github.com/samuelgursky/davinci-resolve-mcp/releases)
|
|
4
4
|
[](https://www.npmjs.com/package/davinci-resolve-mcp)
|
|
5
5
|
[](docs/reference/api-coverage.md)
|
|
6
6
|
[-blue.svg)](#server-modes)
|
package/install.py
CHANGED
|
@@ -35,7 +35,7 @@ from src.utils.update_check import (
|
|
|
35
35
|
|
|
36
36
|
# ─── Version ──────────────────────────────────────────────────────────────────
|
|
37
37
|
|
|
38
|
-
VERSION = "2.37.
|
|
38
|
+
VERSION = "2.37.2"
|
|
39
39
|
# Only hard floor: mcp[cli] requires Python 3.10+. There is no upper bound —
|
|
40
40
|
# Resolve's scripting bridge loads into newer interpreters on recent builds
|
|
41
41
|
# (Python 3.14 verified against Resolve Studio 20.3.2). Older Resolve builds
|
package/package.json
CHANGED
package/src/granular/common.py
CHANGED
|
@@ -80,7 +80,7 @@ if not logging.getLogger().handlers:
|
|
|
80
80
|
handlers=[logging.StreamHandler()],
|
|
81
81
|
)
|
|
82
82
|
|
|
83
|
-
VERSION = "2.37.
|
|
83
|
+
VERSION = "2.37.2"
|
|
84
84
|
logger = logging.getLogger("davinci-resolve-mcp")
|
|
85
85
|
logger.info(f"Starting DaVinci Resolve MCP Server v{VERSION}")
|
|
86
86
|
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 341-tool granular server instead
|
|
12
12
|
"""
|
|
13
13
|
|
|
14
|
-
VERSION = "2.37.
|
|
14
|
+
VERSION = "2.37.2"
|
|
15
15
|
|
|
16
16
|
import base64
|
|
17
17
|
import os
|
|
@@ -53,6 +53,7 @@ from src.utils.update_check import (
|
|
|
53
53
|
check_for_updates,
|
|
54
54
|
clear_update_prompt_preferences,
|
|
55
55
|
get_cached_update_status,
|
|
56
|
+
get_update_channel,
|
|
56
57
|
get_update_mode,
|
|
57
58
|
ignore_update_version,
|
|
58
59
|
set_update_mode,
|
|
@@ -78,6 +79,7 @@ from src.utils.media_analysis import (
|
|
|
78
79
|
load_report as load_media_analysis_report,
|
|
79
80
|
query_analysis_index,
|
|
80
81
|
resolve_output_root as resolve_media_analysis_output_root,
|
|
82
|
+
short_hash,
|
|
81
83
|
slugify,
|
|
82
84
|
summarize_reports as summarize_media_analysis_reports,
|
|
83
85
|
)
|
|
@@ -11671,7 +11673,7 @@ def _resolve_save_state() -> Dict[str, Any]:
|
|
|
11671
11673
|
state["current_folder_name"] = current_folder.GetName()
|
|
11672
11674
|
except Exception:
|
|
11673
11675
|
pass
|
|
11674
|
-
token = short_hash(json.dumps(state, sort_keys=True, default=str), length=12)
|
|
11676
|
+
token = short_hash(json.dumps(state, sort_keys=True, default=str), length=12)
|
|
11675
11677
|
_RESOLVE_STATE_SNAPSHOTS[token] = state
|
|
11676
11678
|
# Prune old snapshots (keep last 20)
|
|
11677
11679
|
if len(_RESOLVE_STATE_SNAPSHOTS) > 20:
|
|
@@ -21155,7 +21157,7 @@ def _resource_mcp_version() -> Dict[str, Any]:
|
|
|
21155
21157
|
"""Server version, build, and update channel. Pure read — no Resolve required."""
|
|
21156
21158
|
return {
|
|
21157
21159
|
"version": VERSION,
|
|
21158
|
-
"channel":
|
|
21160
|
+
"channel": get_update_channel(),
|
|
21159
21161
|
}
|
|
21160
21162
|
|
|
21161
21163
|
|
|
@@ -369,7 +369,7 @@ def _extract_analysis_run_id(params: Optional[Dict[str, Any]], project_root: Opt
|
|
|
369
369
|
return str(rid)
|
|
370
370
|
if project_root:
|
|
371
371
|
try:
|
|
372
|
-
timeout = float(
|
|
372
|
+
timeout = float(_read_preference("versioning_auto_run_idle_timeout_seconds", default=90))
|
|
373
373
|
except Exception:
|
|
374
374
|
timeout = 90.0
|
|
375
375
|
try:
|