davinci-resolve-mcp 4.8.19 → 4.8.20

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,54 @@
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.20 — every boolean param honours `"false"`
6
+
7
+ ### Fixed
8
+
9
+ - **Boolean tool params read with bare truthiness, file-wide.** The last four
10
+ releases fixed this one key at a time (`background`, `create_missing`, `dry_run`,
11
+ `include_*`). This release sweeps the rest: 126 `p.get("k", True|False)` /
12
+ `bool(p.get(...))` reads and 36 bare `if p.get("k"):` tests of flag params in
13
+ `src/server.py`, plus 9 reads in `src/utils` (multicam setup, Fuse/DCTL template
14
+ options, the batch-analysis `auto_build_index`). A caller sending `"false"` (or
15
+ `"no"`, `"0"`, `"off"`) got the opposite of what they asked for. The cases that
16
+ mattered:
17
+ - `override_governance="false"` skipped AI-governance enforcement in `enforce` mode.
18
+ - `project_manager(action="close", stop_render="false")` stopped a running render
19
+ and closed the project instead of refusing.
20
+ - `timeline_item_color(action="propose_grade", execute="false")` took the execute path.
21
+ - `timeline_markers(action="clear_annotations_by_scope", clear_flags="false" /
22
+ clear_clip_color="false")` cleared them, and `media_pool_item(action="open_in_viewer",
23
+ clear_marks="false")` cleared the clip's mark in/out.
24
+ - `timeline_item_color(action="apply_trace_plan", allow_timeline_mismatch="false")` allowed a mismatched timeline.
25
+ - The extension lifecycle probes installed on `install="false"` and removed the
26
+ install on `cleanup="false"`; `grab_and_export` deleted the grabbed still from the
27
+ Gallery album on `delete_after="false"` and discarded its staging files on
28
+ `cleanup="false"`; the export round-trip deleted the
29
+ imported timeline on `cleanup_imported="false"`.
30
+ Every read keeps its default when the key is omitted, `None`, or an unrecognized
31
+ string. One change for explicit `null`: a key whose default is `True` (e.g.
32
+ `overwrite` in the lifecycle probes, `require_temp_path`) now reads `null` as that
33
+ default instead of as false.
34
+ - **Correction to an earlier claim.** `allow_non_mcp_name="false"` and
35
+ `overwrite="false"` were *not* bypasses: `_require_disposable_project_name`,
36
+ `_extension_safe_name` and the `fuse_plugin`/`dctl` install actions already coerce at
37
+ the point of use. Their handler reads are coerced now for consistency, and tests pin
38
+ that a real `False` reaches the next layer.
39
+ - Left as-is on purpose: `from_preset` (a preset name), `reference_movie` (a path), the
40
+ server-set `_setup_defaults_applied` marker, and `generate_speech`'s
41
+ `AddToTimeline`, which is passed verbatim to Resolve.
42
+
43
+ ### Tests
44
+
45
+ - `tests/test_bool_param_coercion.py`: behavioural guards for governance override,
46
+ close-during-render, `propose_grade` execute, annotation clearing, the Fuse probe's
47
+ install/cleanup, Fuse/DCTL template flags, and the `allow_non_mcp_name` /
48
+ `overwrite` contracts. 47 subtests fail on the previous code.
49
+ - Two AST ratchets on `src/server.py`: every `x.get("k", True|False)` sits inside a
50
+ coercer (fallback chains included), and a key coerced anywhere in the file is never
51
+ tested with bare truthiness on caller input.
52
+
5
53
  ## What's New in v4.8.19 — generated OFX nodes bind their params on Resolve 21.0
6
54
 
7
55
  ### Fixed
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.8.19-blue.svg)](https://github.com/samuelgursky/davinci-resolve-mcp/releases)
5
+ [![Version](https://img.shields.io/badge/version-4.8.20-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(389%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.8.19-blue.svg)](https://github.com/samuelgursky/davinci-resolve-mcp/releases)
5
+ [![Version](https://img.shields.io/badge/version-4.8.20-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(389%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.8.19 版 README。如与英文原版有出入,以 [英文原版](README.md) 为准。
15
+ > 本翻译对应 v4.8.20 版 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.19"
40
+ VERSION = "4.8.20"
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.8.19",
3
+ "version": "4.8.20",
4
4
  "description": "NPM bootstrapper for the DaVinci Resolve MCP Server.",
5
5
  "license": "MIT",
6
6
  "author": "Samuel Gursky <samgursky@gmail.com>",
@@ -93,7 +93,7 @@ if not logging.getLogger().handlers:
93
93
  handlers=[logging.StreamHandler()],
94
94
  )
95
95
 
96
- VERSION = "4.8.19"
96
+ VERSION = "4.8.20"
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()}")