davinci-resolve-mcp 2.95.3 → 2.97.0
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 +140 -0
- package/README.md +5 -5
- package/README.zh-CN.md +6 -6
- package/docs/SKILL.md +85 -17
- package/docs/contributing.md +1 -1
- package/docs/install.md +17 -1
- package/docs/reference/api-coverage.md +2 -2
- package/docs/reference/api-limitations.md +17 -1
- package/install.py +383 -4
- package/package.json +1 -1
- package/resolve-advanced/server/aaf_probe.py +117 -14
- package/resolve-advanced/server/tools/project_read.mjs +35 -2
- package/src/granular/common.py +1 -1
- package/src/server.py +668 -15
- package/src/utils/api_truth.py +49 -0
package/src/utils/api_truth.py
CHANGED
|
@@ -496,6 +496,55 @@ API_TRUTH: List[Dict[str, Any]] = [
|
|
|
496
496
|
"submit": "missing",
|
|
497
497
|
"mitigation": ["color_page_for_thumbnails", "_timeline_thumbnail_contact_sheet"],
|
|
498
498
|
},
|
|
499
|
+
{
|
|
500
|
+
"symbol": "Timeline.GetCurrentClipThumbnailImage (foreground only)",
|
|
501
|
+
"object": "Timeline",
|
|
502
|
+
"signature": "() -> {width, height, format, data} | None",
|
|
503
|
+
"reality": "Being on the Color page is necessary but NOT sufficient: the "
|
|
504
|
+
"call also returns None whenever Resolve is not the frontmost "
|
|
505
|
+
"application. Measured on Studio 19.1.3.7 — with the Color page "
|
|
506
|
+
"open, a clip under the playhead, and GetCurrentVideoItem "
|
|
507
|
+
"returning that clip, every read came back None while Resolve "
|
|
508
|
+
"sat behind a terminal window, at delays from 0 to 2 seconds; "
|
|
509
|
+
"bringing Resolve to the front made the very next read return a "
|
|
510
|
+
"288x162 'RGB 8 bit' thumbnail. Separately, the first read after "
|
|
511
|
+
"a page switch or a playhead move can be None while the viewer "
|
|
512
|
+
"catches up, so a single failed read proves nothing. The two "
|
|
513
|
+
"failure modes are indistinguishable from 'no thumbnail exists' "
|
|
514
|
+
"and from each other.",
|
|
515
|
+
"recommended": "Poll the read a few times before concluding it failed "
|
|
516
|
+
"(src/server.py:_playhead_thumbnail_settled), and when it "
|
|
517
|
+
"stays empty, name the foreground requirement in the error "
|
|
518
|
+
"rather than reporting a missing frame. Headless callers "
|
|
519
|
+
"cannot use this API at all; there is no scripting call to "
|
|
520
|
+
"raise Resolve, so a background agent must fall back to a "
|
|
521
|
+
"Gallery still or a render.",
|
|
522
|
+
"tags": ["timeline", "thumbnail", "silent-failure", "focus-dependent"],
|
|
523
|
+
"submit": "bug",
|
|
524
|
+
"mitigation": ["_playhead_thumbnail_settled", "timeline_frame"],
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
"symbol": "GalleryStillAlbum.ExportStills (Gallery panel must be visible)",
|
|
528
|
+
"object": "GalleryStillAlbum",
|
|
529
|
+
"signature": "(stills, folder, prefix, format) -> bool",
|
|
530
|
+
"reality": "Returns a bare False, writing nothing, unless the Gallery "
|
|
531
|
+
"panel is actually open on the Color page. Measured on Studio "
|
|
532
|
+
"19.1.3.7: Timeline.GrabStill() succeeded and the still landed "
|
|
533
|
+
"in the album (count 0 -> 1), yet ExportStills returned False "
|
|
534
|
+
"for png, jpg, tif and dpx alike, into three different "
|
|
535
|
+
"destination folders, at settle delays of 0.5s, 1.5s and 3.0s, "
|
|
536
|
+
"and with Resolve frontmost. Panel visibility is not readable "
|
|
537
|
+
"or settable from the scripting API, so a script cannot "
|
|
538
|
+
"establish the precondition it depends on, nor distinguish this "
|
|
539
|
+
"from a permissions or format failure.",
|
|
540
|
+
"recommended": "Treat False as 'the Gallery panel is probably closed' and "
|
|
541
|
+
"say so in the error; ask the user to open Workspace > "
|
|
542
|
+
"Gallery on the Color page. Do not retry formats hoping one "
|
|
543
|
+
"sticks — when the panel is closed they all fail.",
|
|
544
|
+
"tags": ["gallery", "stills", "silent-failure", "ui-dependent"],
|
|
545
|
+
"submit": "bug",
|
|
546
|
+
"mitigation": ["_playhead_frame_full", "gallery_stills.grab_and_export"],
|
|
547
|
+
},
|
|
499
548
|
{
|
|
500
549
|
"symbol": "Timeline.GetTimelineByName",
|
|
501
550
|
"object": "Project",
|