davinci-resolve-mcp 4.18.3 → 4.18.4

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,47 @@
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.18.4 — Silent Resolve calls from #336 are on the ledger
6
+
7
+ No tool behavior changed. Six calls reported on Studio 21.1.2.10 return
8
+ success, or an empty list, without doing the work their names suggest. They
9
+ are now `submit: bug` entries, so `lookup_api_truth` finds them before an
10
+ agent calls them.
11
+
12
+ ### Documentation
13
+
14
+ - **Timeline.DeleteGaps** returns True and leaves clip starts unchanged.
15
+ - **MediaPool.AddToPhotoAlbum** returns `[]` and the album stays empty.
16
+ `CreatePhotoAlbumFromPhotos` placed photos in the same session. On Studio
17
+ 19.1.3.7 those photo-album methods are absent from `dir(MediaPool)`.
18
+ - **Timeline.ExportFrame** reports every offset out of range when
19
+ `GetStartFrame()` and `GetEndFrame()` are both 86400.
20
+ `TimelineItem.ExportFrame` exported the same frames.
21
+ - **TimelineItem.SetPosition** and **Timeline.MoveItems** return False for
22
+ every input tried in that session.
23
+ - **TimelineItem.SetLeftOffset** returns True and extends the clip from
24
+ source media (a start near frame 400 jumped to about -86000). Setting the
25
+ offset back to 0 does not restore the edit. This server only reads
26
+ `GetLeftOffset`, so the ledger records the fact without a refusal gate.
27
+ - **Timeline.AddMarker** at relative frame 0 returns False, and so does
28
+ `AddMarker(StartFrame)`. `AddMarker(200)` returned True. The server
29
+ already reports `success: false` when the API returns false.
30
+
31
+ ### Validation
32
+
33
+ - The six symbols are findable through `lookup_api_truth`, and the
34
+ limitations report was regenerated (43 missing capabilities, 68 bugs).
35
+ - Static checks: API parity, limitations and read/write drift guards, agent
36
+ rules, undefined names, duplicate definitions, action-list drift, panel
37
+ docs, tool counts, and release-surface drift.
38
+ - Live Resolve on this machine is Studio 19.1.3.7, project "Untitled
39
+ Project", no current timeline. `dir(MediaPool)` confirms the photo-album
40
+ methods are absent. Timeline and TimelineItem methods were not probed.
41
+ The 21.1.2.10 results are @CaptRauti's report and were not re-measured
42
+ here.
43
+ - The control-panel guide was reviewed. No navigation or diagnostic card
44
+ changed, so screenshots were not regenerated.
45
+
5
46
  ## What's New in v4.18.3 — A subtitle clipInfo no longer takes Resolve down
6
47
 
7
48
  On Studio 21.1.2.10, `AppendToTimeline` with a clipInfo for an imported SRT
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.18.3-blue.svg)](https://github.com/samuelgursky/davinci-resolve-mcp/releases)
5
+ [![Version](https://img.shields.io/badge/version-4.18.4-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.18.3-blue.svg)](https://github.com/samuelgursky/davinci-resolve-mcp/releases)
5
+ [![Version](https://img.shields.io/badge/version-4.18.4-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.18.3 版 README。如与英文原版有出入,以 [英文原版](README.md) 为准。
15
+ > 本翻译对应 v4.18.4 版 README。如与英文原版有出入,以 [英文原版](README.md) 为准。
16
16
 
17
17
  一个 Model Context Protocol (MCP) 服务器,让 AI 助手通过官方脚本 API 控制 DaVinci Resolve Studio(达芬奇)。它提供完整的 API 覆盖,外加带护栏的工作流助手,涵盖剪辑、媒体池整理、渲染设置、审阅标记、调色、Fusion、Fairlight、项目生命周期任务、扩展开发,以及不碰源媒体的媒体分析。
18
18
 
@@ -12,7 +12,7 @@ that none exists).
12
12
 
13
13
  **Verified on:** DaVinci Resolve Studio 21.0.2
14
14
 
15
- **Totals:** 43 missing capabilities, 62 bugs / unreliable behaviors.
15
+ **Totals:** 43 missing capabilities, 68 bugs / unreliable behaviors.
16
16
 
17
17
  The authoritative source is the runtime-queryable `api_truth` ledger
18
18
  (`resolve_control api_truth "<query>"`); this document is generated from
@@ -582,6 +582,60 @@ values, or automation-hostile modal prompts.
582
582
  - **Reference:** [issue #335](https://github.com/samuelgursky/davinci-resolve-mcp/issues/335)
583
583
  - **Tags:** crash, subtitle, timeline, silent-failure
584
584
 
585
+ ### Timeline.DeleteGaps
586
+
587
+ - **Object:** `Timeline`
588
+ - **Signature:** `() -> bool`
589
+ - **Behavior:** On Studio 21.1.2.10 (Windows), DeleteGaps() returned True and left every clip start unchanged, with gaps at 0/200 and again at 0/200/400. This server does not call DeleteGaps. Not re-measured here.
590
+ - **Workaround / current handling:** Read the clip starts before and after. Treat equal readings as failure even when the call returned True. Close the gaps in the Edit page until a build shows the starts actually move.
591
+ - **Reference:** [issue #336](https://github.com/samuelgursky/davinci-resolve-mcp/issues/336)
592
+ - **Tags:** silent-failure, timeline, edit
593
+
594
+ ### MediaPool.AddToPhotoAlbum
595
+
596
+ - **Object:** `MediaPool`
597
+ - **Signature:** `(clips) -> [MediaPoolItem]`
598
+ - **Behavior:** On Studio 21.1.2.10 (Windows), AddToPhotoAlbum returned [] and the album's GetPhotoList() stayed empty, including after SetCurrentPhotoAlbum. CreatePhotoAlbumFromPhotos placed photos in the same session. On Studio 19.1.3.7 (2026-11-01, dir() of the open project's MediaPool), AddToPhotoAlbum, CreateEmptyPhotoAlbum, CreatePhotoAlbumFromPhotos, and GetCurrentPhotoAlbum are absent.
599
+ - **Workaround / current handling:** On 21.1.2, count the album's photos before and after and treat an unchanged count as failure. On 19.1.3.7 the methods are not there; do not call them.
600
+ - **Reference:** [issue #336](https://github.com/samuelgursky/davinci-resolve-mcp/issues/336)
601
+ - **Tags:** silent-failure, media-pool, missing-method
602
+
603
+ ### Timeline.ExportFrame
604
+
605
+ - **Object:** `Timeline`
606
+ - **Signature:** `(frameOffset, settings) -> dict`
607
+ - **Behavior:** On Studio 21.1.2.10 (Windows), Timeline.ExportFrame returned {'success': False, 'error': 'frameOffset is out of range for the timeline'} for offsets 0, 5, 100, 200, 216000, and 216010. The same frames exported through TimelineItem.ExportFrame. The timeline reported StartTimecode 01:00:00:00, StartFrame 86400, and EndFrame 86400. Not re-measured here; this machine had no current timeline to dir().
608
+ - **Workaround / current handling:** Export through TimelineItem.ExportFrame. If GetStartFrame() and GetEndFrame() are equal, the timeline export has no frame range to address.
609
+ - **Reference:** [issue #336](https://github.com/samuelgursky/davinci-resolve-mcp/issues/336)
610
+ - **Tags:** silent-failure, timeline, export
611
+
612
+ ### TimelineItem.SetPosition / Timeline.MoveItems
613
+
614
+ - **Object:** `TimelineItem / Timeline`
615
+ - **Signature:** `SetPosition(...) -> bool; MoveItems(...) -> bool`
616
+ - **Behavior:** On Studio 21.1.2.10 (Windows), TimelineItem.SetPosition and Timeline.MoveItems returned False for video clips and stills, for int and float start frames, for a no-op startFrame equal to the clip's current frame, for both moveLinkedItems values, and with or without subframePrecision. Timeline.SetCurrentTimecode succeeded in the same session. This server does not call either method. Not re-measured here.
617
+ - **Workaround / current handling:** Do not treat False from these two as a bad argument. On 21.1.2.10 they returned False for every input tried. Move the clip in the Edit page.
618
+ - **Reference:** [issue #336](https://github.com/samuelgursky/davinci-resolve-mcp/issues/336)
619
+ - **Tags:** unreliable-return, timeline, edit
620
+
621
+ ### TimelineItem.SetLeftOffset
622
+
623
+ - **Object:** `TimelineItem`
624
+ - **Signature:** `(offset, ...) -> bool`
625
+ - **Behavior:** On Studio 21.1.2.10 (Windows), SetLeftOffset(5.0, False, True) on a clip at frame 400 with duration 120 returned True, moved the start to about -86000, and grew the duration to about 86515. Setting the offset back to 0 left the clip at about -86000. The call extends the clip from source media. It does not nudge the edit point, and the edit does not come back. A live gap probe on an older build recorded SetLeftOffset as absent. This server only reads GetLeftOffset. Not re-measured here.
626
+ - **Workaround / current handling:** Do not call SetLeftOffset to trim a handle. There is no API undo. Any future wrapper has to say that the call extends from source media and require an explicit confirm before it runs.
627
+ - **Reference:** [issue #336](https://github.com/samuelgursky/davinci-resolve-mcp/issues/336)
628
+ - **Tags:** silent-failure, timeline, edit, destructive
629
+
630
+ ### Timeline.AddMarker at relative frame 0
631
+
632
+ - **Object:** `Timeline`
633
+ - **Signature:** `(frameId, color, name, note, duration, customData) -> bool`
634
+ - **Behavior:** On Studio 21.1.2.10 (Windows), with StartFrame 86400, AddMarker(0) returned False and AddMarker(86400) returned False. AddMarker(200) returned True. Other clips accepted their relative GetStart(). Related to issue #34. This server already reports success false when AddMarker returns false. Not re-measured here.
635
+ - **Workaround / current handling:** Place the marker at a relative frame other than 0 when frame 0 is refused. Do not retry the same call with StartFrame added: that also returned False on 21.1.2.10.
636
+ - **Reference:** [issue #336](https://github.com/samuelgursky/davinci-resolve-mcp/issues/336)
637
+ - **Tags:** unreliable-return, timeline, marker
638
+
585
639
  ### hasattr() / getattr() on Resolve API objects (attribute fabrication)
586
640
 
587
641
  - **Object:** `(all Resolve scripting objects)`
package/install.py CHANGED
@@ -37,7 +37,7 @@ from src.utils.update_check import (
37
37
 
38
38
  # ─── Version ──────────────────────────────────────────────────────────────────
39
39
 
40
- VERSION = "4.18.3"
40
+ VERSION = "4.18.4"
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.18.3",
3
+ "version": "4.18.4",
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.18.3"
96
+ VERSION = "4.18.4"
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.18.3"
14
+ VERSION = "4.18.4"
15
15
 
16
16
  import base64
17
17
  import os
@@ -1800,6 +1800,124 @@ API_TRUTH: List[Dict[str, Any]] = [
1800
1800
  "mitigation": ["subtitle_append_guard"],
1801
1801
  "verified_on": "Reported on DaVinci Resolve Studio 21.1.2.10 (Windows); not re-measured here",
1802
1802
  },
1803
+ {
1804
+ "symbol": "Timeline.DeleteGaps",
1805
+ "object": "Timeline",
1806
+ "signature": "() -> bool",
1807
+ "reality": "On Studio 21.1.2.10 (Windows), DeleteGaps() returned True "
1808
+ "and left every clip start unchanged, with gaps at 0/200 and "
1809
+ "again at 0/200/400. This server does not call DeleteGaps. "
1810
+ "Not re-measured here.",
1811
+ "recommended": "Read the clip starts before and after. Treat equal "
1812
+ "readings as failure even when the call returned True. "
1813
+ "Close the gaps in the Edit page until a build shows "
1814
+ "the starts actually move.",
1815
+ "tags": ["silent-failure", "timeline", "edit"],
1816
+ "submit": "bug",
1817
+ "issue": 336,
1818
+ "verified_on": "Reported on DaVinci Resolve Studio 21.1.2.10 (Windows); not re-measured here",
1819
+ },
1820
+ {
1821
+ "symbol": "MediaPool.AddToPhotoAlbum",
1822
+ "object": "MediaPool",
1823
+ "signature": "(clips) -> [MediaPoolItem]",
1824
+ "reality": "On Studio 21.1.2.10 (Windows), AddToPhotoAlbum returned [] "
1825
+ "and the album's GetPhotoList() stayed empty, including "
1826
+ "after SetCurrentPhotoAlbum. CreatePhotoAlbumFromPhotos "
1827
+ "placed photos in the same session. On Studio 19.1.3.7 "
1828
+ "(2026-11-01, dir() of the open project's MediaPool), "
1829
+ "AddToPhotoAlbum, CreateEmptyPhotoAlbum, "
1830
+ "CreatePhotoAlbumFromPhotos, and GetCurrentPhotoAlbum are "
1831
+ "absent.",
1832
+ "recommended": "On 21.1.2, count the album's photos before and after "
1833
+ "and treat an unchanged count as failure. On 19.1.3.7 "
1834
+ "the methods are not there; do not call them.",
1835
+ "tags": ["silent-failure", "media-pool", "missing-method"],
1836
+ "submit": "bug",
1837
+ "issue": 336,
1838
+ "verified_on": "dir() on Studio 19.1.3.7; the empty-list result is reported on 21.1.2.10 and was not re-measured here",
1839
+ },
1840
+ {
1841
+ "symbol": "Timeline.ExportFrame",
1842
+ "object": "Timeline",
1843
+ "signature": "(frameOffset, settings) -> dict",
1844
+ "reality": "On Studio 21.1.2.10 (Windows), Timeline.ExportFrame returned "
1845
+ "{'success': False, 'error': 'frameOffset is out of range "
1846
+ "for the timeline'} for offsets 0, 5, 100, 200, 216000, and "
1847
+ "216010. The same frames exported through "
1848
+ "TimelineItem.ExportFrame. The timeline reported "
1849
+ "StartTimecode 01:00:00:00, StartFrame 86400, and EndFrame "
1850
+ "86400. Not re-measured here; this machine had no current "
1851
+ "timeline to dir().",
1852
+ "recommended": "Export through TimelineItem.ExportFrame. If "
1853
+ "GetStartFrame() and GetEndFrame() are equal, the "
1854
+ "timeline export has no frame range to address.",
1855
+ "tags": ["silent-failure", "timeline", "export"],
1856
+ "submit": "bug",
1857
+ "issue": 336,
1858
+ "verified_on": "Reported on DaVinci Resolve Studio 21.1.2.10 (Windows); not re-measured here",
1859
+ },
1860
+ {
1861
+ "symbol": "TimelineItem.SetPosition / Timeline.MoveItems",
1862
+ "object": "TimelineItem / Timeline",
1863
+ "signature": "SetPosition(...) -> bool; MoveItems(...) -> bool",
1864
+ "reality": "On Studio 21.1.2.10 (Windows), TimelineItem.SetPosition "
1865
+ "and Timeline.MoveItems returned False for video clips and "
1866
+ "stills, for int and float start frames, for a no-op "
1867
+ "startFrame equal to the clip's current frame, for both "
1868
+ "moveLinkedItems values, and with or without "
1869
+ "subframePrecision. Timeline.SetCurrentTimecode succeeded "
1870
+ "in the same session. This server does not call either "
1871
+ "method. Not re-measured here.",
1872
+ "recommended": "Do not treat False from these two as a bad argument. "
1873
+ "On 21.1.2.10 they returned False for every input tried. "
1874
+ "Move the clip in the Edit page.",
1875
+ "tags": ["unreliable-return", "timeline", "edit"],
1876
+ "submit": "bug",
1877
+ "issue": 336,
1878
+ "verified_on": "Reported on DaVinci Resolve Studio 21.1.2.10 (Windows); not re-measured here",
1879
+ },
1880
+ {
1881
+ "symbol": "TimelineItem.SetLeftOffset",
1882
+ "object": "TimelineItem",
1883
+ "signature": "(offset, ...) -> bool",
1884
+ "reality": "On Studio 21.1.2.10 (Windows), SetLeftOffset(5.0, False, "
1885
+ "True) on a clip at frame 400 with duration 120 returned "
1886
+ "True, moved the start to about -86000, and grew the "
1887
+ "duration to about 86515. Setting the offset back to 0 "
1888
+ "left the clip at about -86000. The call extends the clip "
1889
+ "from source media. It does not nudge the edit point, and "
1890
+ "the edit does not come back. A live gap probe on an older "
1891
+ "build recorded SetLeftOffset as absent. This server only "
1892
+ "reads GetLeftOffset. Not re-measured here.",
1893
+ "recommended": "Do not call SetLeftOffset to trim a handle. There is "
1894
+ "no API undo. Any future wrapper has to say that the "
1895
+ "call extends from source media and require an explicit "
1896
+ "confirm before it runs.",
1897
+ "tags": ["silent-failure", "timeline", "edit", "destructive"],
1898
+ "submit": "bug",
1899
+ "issue": 336,
1900
+ "verified_on": "Reported on DaVinci Resolve Studio 21.1.2.10 (Windows); not re-measured here",
1901
+ },
1902
+ {
1903
+ "symbol": "Timeline.AddMarker at relative frame 0",
1904
+ "object": "Timeline",
1905
+ "signature": "(frameId, color, name, note, duration, customData) -> bool",
1906
+ "reality": "On Studio 21.1.2.10 (Windows), with StartFrame 86400, "
1907
+ "AddMarker(0) returned False and AddMarker(86400) returned "
1908
+ "False. AddMarker(200) returned True. Other clips accepted "
1909
+ "their relative GetStart(). Related to issue #34. This "
1910
+ "server already reports success false when AddMarker "
1911
+ "returns false. Not re-measured here.",
1912
+ "recommended": "Place the marker at a relative frame other than 0 "
1913
+ "when frame 0 is refused. Do not retry the same call "
1914
+ "with StartFrame added: that also returned False on "
1915
+ "21.1.2.10.",
1916
+ "tags": ["unreliable-return", "timeline", "marker"],
1917
+ "submit": "bug",
1918
+ "issue": 336,
1919
+ "verified_on": "Reported on DaVinci Resolve Studio 21.1.2.10 (Windows); not re-measured here",
1920
+ },
1803
1921
  {
1804
1922
  "symbol": "Media Pool folder rename",
1805
1923
  "object": "MediaPool",