davinci-resolve-mcp 4.10.1 → 4.10.3
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 +63 -0
- package/README.md +1 -1
- package/README.zh-CN.md +2 -2
- package/docs/process/release-process.md +9 -0
- package/install.py +1 -1
- package/package.json +2 -1
- package/resolve-advanced/package.json +3 -2
- package/resolve-advanced/vendor/conform-qc/test/_client-fixture.js +34 -0
- package/resolve-advanced/vendor/conform-qc/test/compare.test.js +7 -2
- package/resolve-advanced/vendor/conform-qc/test/geometry.test.js +2 -1
- package/resolve-advanced/vendor/conform-qc/test/oracle.test.js +1 -0
- package/resolve-advanced/vendor/conform-qc/test/p0-acceptance.test.js +1 -0
- package/resolve-advanced/vendor/conform-qc/test/p1-acceptance.test.js +1 -0
- package/resolve-advanced/vendor/conform-qc/test/p45-patch-acceptance.test.js +1 -0
- package/resolve-advanced/vendor/conform-qc/test/repair-strategies.test.js +1 -0
- package/resolve-advanced/vendor/conform-qc/test/repair.test.js +1 -0
- package/resolve-advanced/vendor/conform-qc/test/resolve-readback.test.js +1 -0
- package/resolve-advanced/vendor/conform-qc/test/runbook.test.js +3 -3
- package/resolve-advanced/vendor/conform-qc/test/smoke.test.js +2 -2
- package/resolve-advanced/vendor/conform-qc/test/verify.test.js +5 -2
- package/resolve-advanced/vendor/conform-qc/test/workflow-driver.test.js +3 -2
- package/resolve-advanced/vendor/drp-format/README.md +9 -1
- package/src/granular/common.py +1 -1
- package/src/server.py +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,69 @@
|
|
|
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.3 — the conform-qc tests run, and run in `npm test`
|
|
6
|
+
|
|
7
|
+
### Tests
|
|
8
|
+
|
|
9
|
+
- **The vendored conform-qc suite was never part of `npm test`, and 20 of its
|
|
10
|
+
118 tests failed** (reported from a macOS validation run in the #273
|
|
11
|
+
thread). Three causes, all fixed:
|
|
12
|
+
- **The synthetic fixture was never committed.** `synthetic/generate.js`
|
|
13
|
+
builds a small, anonymised turnover XML, test-pattern frames and their
|
|
14
|
+
answer keys, and its own docs say the output is committed under
|
|
15
|
+
`__fixtures__/synthetic/`. It now is: 9 files, about 224 KB, every name
|
|
16
|
+
and path a `SYNTH_` placeholder, and byte-for-byte reproducible (generated
|
|
17
|
+
twice and compared). The npm packages exclude it.
|
|
18
|
+
- **Tests that need the client answer key crashed instead of skipping.**
|
|
19
|
+
`__fixtures__/sample-reel-01` is derived from client material and stays
|
|
20
|
+
out of the repository; `reelFixtureDir()` documents that its tests skip
|
|
21
|
+
when it is absent. A shared `test/_client-fixture.js` now does that.
|
|
22
|
+
Seven files whose setup is built on the key skip as a whole, with a
|
|
23
|
+
reason. In `compare`, `geometry`, `verify` and `workflow-driver` only the
|
|
24
|
+
tests that read the key skip, so their client-free tests keep running.
|
|
25
|
+
- **The runbook check had gone stale.** It expected "two surfaces" and a
|
|
26
|
+
"Cloud" surface. The runbook now says it "covers both surfaces" and that
|
|
27
|
+
the engine "ships only the local path" with other hosts composing their
|
|
28
|
+
own, and its bold markup and line wrapping broke one more pattern. The
|
|
29
|
+
patterns follow the runbook; the runbook is unchanged.
|
|
30
|
+
- `resolve-advanced`'s `npm test` and `test:libs` now include
|
|
31
|
+
`vendor/conform-qc/test/*.test.js`: the advanced suite runs 1,173 tests
|
|
32
|
+
(from 1,036), 0 failed, with every skip carrying its reason.
|
|
33
|
+
|
|
34
|
+
### Validation
|
|
35
|
+
|
|
36
|
+
- Test and packaging changes only; no server or engine code changed. Python
|
|
37
|
+
suite green; advanced suite 1,173 / 0 failed in a clean worktree.
|
|
38
|
+
|
|
39
|
+
## What's New in v4.10.2 — place_fusion_title measured on another build; the .drp harness says when it can't run
|
|
40
|
+
|
|
41
|
+
### Documentation
|
|
42
|
+
|
|
43
|
+
- **`place_fusion_title` is inert on the free edition 21.1.0 too.** The
|
|
44
|
+
harness's `RT_TITLE` project was built offline and imported into free
|
|
45
|
+
Resolve 21.1.0 through the Project Manager. A second into the title the
|
|
46
|
+
viewer was black, while a `place_generator` SMPTE Color Bar project built and
|
|
47
|
+
imported the same way rendered. `vendor/drp-format/README.md` now lists the
|
|
48
|
+
builds measured: inert on Studio 21.0.4.5 and free 21.1.0, with one
|
|
49
|
+
contributor-reported visible render on Studio 21.0.3.7 (#273 thread) that has
|
|
50
|
+
not been reproduced here. The harness keeps `place_fusion_title` as
|
|
51
|
+
known-broken.
|
|
52
|
+
- `docs/process/release-process.md`: the round-trip harness needs a Resolve
|
|
53
|
+
21.x host, and external scripting cannot drive the free edition. When no
|
|
54
|
+
21.x Studio is available, the release notes say the harness was not run.
|
|
55
|
+
|
|
56
|
+
### Changed
|
|
57
|
+
|
|
58
|
+
- `tests/live_drp_roundtrip_verification.py` stops with `CANNOT RUN` (exit 2)
|
|
59
|
+
on a Resolve older than 21, instead of reporting every case as a failure.
|
|
60
|
+
It authors the Resolve 21 project format, which 19.1.3.7 refuses at
|
|
61
|
+
`ImportProject` (all six cases failed there before any frame was checked).
|
|
62
|
+
|
|
63
|
+
### Validation
|
|
64
|
+
|
|
65
|
+
- No server code changed; offline suite green. The free 21.1.0 result is a
|
|
66
|
+
manual import and viewer check, not a harness run.
|
|
67
|
+
|
|
5
68
|
## What's New in v4.10.1 — the server's own tools stay first on PATH; portable runtime tests
|
|
6
69
|
|
|
7
70
|
### Fixed
|
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.3 版 README。如与英文原版有出入,以 [英文原版](README.md) 为准。
|
|
16
16
|
|
|
17
17
|
一个 Model Context Protocol (MCP) 服务器,让 AI 助手通过官方脚本 API 控制 DaVinci Resolve Studio(达芬奇)。它提供完整的 API 覆盖,外加带护栏的工作流助手,涵盖剪辑、媒体池整理、渲染设置、审阅标记、调色、Fusion、Fairlight、项目生命周期任务、扩展开发,以及不碰源媒体的媒体分析。
|
|
18
18
|
|
|
@@ -153,6 +153,15 @@ that only diffs `GetStart()`/`GetDuration()` will call that green. Known-broken
|
|
|
153
153
|
cases are declared in the harness rather than skipped, so a fix reports
|
|
154
154
|
`UNEXPECTED PASS` and fails until the docs describing it are updated.
|
|
155
155
|
|
|
156
|
+
The harness needs a **Resolve 21.x host**: it authors the Resolve 21 project
|
|
157
|
+
format, which 19.x refuses at `ImportProject`, so on 19.x it stops with
|
|
158
|
+
`CANNOT RUN` (exit 2) instead of reporting every case as a failure. External
|
|
159
|
+
scripting is Studio-only, so it also cannot drive the free edition. When no
|
|
160
|
+
21.x Studio is available, say in the release notes that the harness was not
|
|
161
|
+
run and why; a manual import into the free edition (as done for
|
|
162
|
+
`place_fusion_title` on 21.1.0) is evidence for that one case, not a harness
|
|
163
|
+
pass.
|
|
164
|
+
|
|
156
165
|
The same rule generalises: **"the file round-trips" and "Resolve honours it" are
|
|
157
166
|
different claims.** Only a live import establishes the second one. Do not write
|
|
158
167
|
"verified live" in a doc unless a runnable command produced that result.
|
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.3"
|
|
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.10.
|
|
3
|
+
"version": "4.10.3",
|
|
4
4
|
"description": "NPM bootstrapper for the DaVinci Resolve MCP Server.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Samuel Gursky <samgursky@gmail.com>",
|
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
"resolve-advanced/server/**/*.mjs",
|
|
39
39
|
"resolve-advanced/server/**/*.py",
|
|
40
40
|
"resolve-advanced/vendor/**",
|
|
41
|
+
"!resolve-advanced/vendor/conform-qc/__fixtures__/**",
|
|
41
42
|
"resolve-advanced/package.json",
|
|
42
43
|
"resolve-advanced/README.md",
|
|
43
44
|
"docs/**/*.md",
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"files": [
|
|
16
16
|
"server/**/*.mjs",
|
|
17
17
|
"vendor/**",
|
|
18
|
+
"!vendor/conform-qc/__fixtures__/**",
|
|
18
19
|
"README.md",
|
|
19
20
|
"LICENSE"
|
|
20
21
|
],
|
|
@@ -37,8 +38,8 @@
|
|
|
37
38
|
"_comment": "audio (split/trim/convert) + conform frame ops need system ffmpeg/ffprobe on PATH (NOT bundled \u2014 FFmpeg binaries are GPL; this package stays MIT). Install ffmpeg yourself: brew install ffmpeg."
|
|
38
39
|
},
|
|
39
40
|
"scripts": {
|
|
40
|
-
"test": "node --test vendor/drp-format/__tests__/*.test.js vendor/drt-format/__tests__/*.test.js vendor/drx-codec/__tests__/*.test.js test/*.test.mjs",
|
|
41
|
-
"test:libs": "node --test vendor/drp-format/__tests__/*.test.js vendor/drt-format/__tests__/*.test.js vendor/drx-codec/__tests__/*.test.js",
|
|
41
|
+
"test": "node --test vendor/drp-format/__tests__/*.test.js vendor/drt-format/__tests__/*.test.js vendor/drx-codec/__tests__/*.test.js vendor/conform-qc/test/*.test.js test/*.test.mjs",
|
|
42
|
+
"test:libs": "node --test vendor/drp-format/__tests__/*.test.js vendor/drt-format/__tests__/*.test.js vendor/drx-codec/__tests__/*.test.js vendor/conform-qc/test/*.test.js",
|
|
42
43
|
"test:server": "node --test test/*.test.mjs"
|
|
43
44
|
},
|
|
44
45
|
"engines": {
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* The full-reel answer key (`__fixtures__/sample-reel-01/golden_oracle.json` and
|
|
5
|
+
* `golden_compare.json`) is derived from client material, so it is not in the
|
|
6
|
+
* repository; `index.js#reelFixtureDir` documents that its dependent tests skip
|
|
7
|
+
* when it is absent. The client-free synthetic fixture (`__fixtures__/synthetic/`,
|
|
8
|
+
* built by `synthetic/generate.js`) is committed and always runs.
|
|
9
|
+
*
|
|
10
|
+
* Not a test file: `node --test` only picks up `*.test.js`.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
const fs = require('node:fs');
|
|
14
|
+
const path = require('node:path');
|
|
15
|
+
const pkg = require('../index');
|
|
16
|
+
|
|
17
|
+
const DIR = pkg.reelFixtureDir();
|
|
18
|
+
const REASON = 'client answer key __fixtures__/sample-reel-01 is not in the repository';
|
|
19
|
+
|
|
20
|
+
function present() {
|
|
21
|
+
return ['golden_oracle.json', 'golden_compare.json'].every((f) => fs.existsSync(path.join(DIR, f)));
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* For a file whose every test needs the answer key: registers one skipped test
|
|
26
|
+
* that says why, and returns true so the caller can `return` before loading it.
|
|
27
|
+
*/
|
|
28
|
+
function skipFile(test, label) {
|
|
29
|
+
if (present()) return false;
|
|
30
|
+
test(`${label}: needs the client answer key`, { skip: REASON }, () => {});
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
module.exports = { present, skipFile, REASON };
|
|
@@ -20,9 +20,14 @@ const compare = require('../compare');
|
|
|
20
20
|
const DIR = pkg.reelFixtureDir();
|
|
21
21
|
const FRAMES = path.join(DIR, 'frames');
|
|
22
22
|
const HAVE_FRAMES = fs.existsSync(FRAMES) && fs.readdirSync(FRAMES).some((f) => f.endsWith('.png'));
|
|
23
|
-
const
|
|
23
|
+
const client = require('./_client-fixture');
|
|
24
|
+
// The frame tests read golden_compare.json too, so they also need the client answer key.
|
|
25
|
+
const SKIP = !client.present() ? client.REASON
|
|
26
|
+
: HAVE_FRAMES ? false : 'frames/ absent (git-ignored raw material) — skipping';
|
|
24
27
|
|
|
25
|
-
const COMPARE =
|
|
28
|
+
const COMPARE = client.present()
|
|
29
|
+
? JSON.parse(fs.readFileSync(path.join(DIR, 'golden_compare.json'), 'utf8'))
|
|
30
|
+
: null;
|
|
26
31
|
|
|
27
32
|
test('comparator: alignment mode is a distinct entry point (stub), content-identity is default', async () => {
|
|
28
33
|
// The alignment stub throws clearly (full impl is P4.5).
|
|
@@ -23,7 +23,8 @@ const XML_PATH = path.join(DIR, 'turnover.xml');
|
|
|
23
23
|
const HAVE_XML = fs.existsSync(XML_PATH);
|
|
24
24
|
const SKIP = HAVE_XML ? false : 'turnover.xml absent (git-ignored raw material) — skipping';
|
|
25
25
|
|
|
26
|
-
const
|
|
26
|
+
const client = require('./_client-fixture');
|
|
27
|
+
const GOLDEN = (client.present() ? JSON.parse(fs.readFileSync(path.join(DIR, 'golden_oracle.json'), 'utf8')) : null);
|
|
27
28
|
|
|
28
29
|
// Parse once (only if present).
|
|
29
30
|
const PARSED = HAVE_XML ? parseGeometry(fs.readFileSync(XML_PATH, 'utf8')) : null;
|
|
@@ -18,6 +18,7 @@ const pkg = require('../index');
|
|
|
18
18
|
const oracle = require('../oracle');
|
|
19
19
|
const resolveTarget = require('../oracle/resolve');
|
|
20
20
|
|
|
21
|
+
if (require('./_client-fixture').skipFile(test, 'oracle')) return;
|
|
21
22
|
const GOLDEN = JSON.parse(
|
|
22
23
|
fs.readFileSync(path.join(pkg.reelFixtureDir(), 'golden_oracle.json'), 'utf8'),
|
|
23
24
|
);
|
|
@@ -21,6 +21,7 @@ const oracle = require('../oracle');
|
|
|
21
21
|
const compare = require('../compare');
|
|
22
22
|
|
|
23
23
|
const DIR = pkg.reelFixtureDir();
|
|
24
|
+
if (require('./_client-fixture').skipFile(test, 'p0-acceptance')) return;
|
|
24
25
|
const GOLDEN = JSON.parse(fs.readFileSync(path.join(DIR, 'golden_oracle.json'), 'utf8'));
|
|
25
26
|
const COMPARE = JSON.parse(fs.readFileSync(path.join(DIR, 'golden_compare.json'), 'utf8'));
|
|
26
27
|
const CTX = { ticksPerFrame: GOLDEN.ticksPerFrame, sequenceWidth: GOLDEN.sequence.width };
|
|
@@ -20,6 +20,7 @@ const pkg = require('../index');
|
|
|
20
20
|
const { verify } = require('../ops/verify');
|
|
21
21
|
|
|
22
22
|
const SAMPLE = pkg.reelFixtureDir();
|
|
23
|
+
if (require('./_client-fixture').skipFile(test, 'p1-acceptance')) return;
|
|
23
24
|
const GOLDEN = JSON.parse(fs.readFileSync(path.join(SAMPLE, 'golden_oracle.json'), 'utf8'));
|
|
24
25
|
const COMPARE = JSON.parse(fs.readFileSync(path.join(SAMPLE, 'golden_compare.json'), 'utf8'));
|
|
25
26
|
const FRAMES = path.join(SAMPLE, 'frames');
|
|
@@ -20,6 +20,7 @@ const pkg = require('../index');
|
|
|
20
20
|
const oracle = require('../oracle');
|
|
21
21
|
const { diffTimelines, reverifyChanged, rippleUpdate } = require('../ops/patch');
|
|
22
22
|
|
|
23
|
+
if (require('./_client-fixture').skipFile(test, 'p45-patch-acceptance')) return;
|
|
23
24
|
const GOLDEN = JSON.parse(fs.readFileSync(path.join(pkg.reelFixtureDir(), 'golden_oracle.json'), 'utf8'));
|
|
24
25
|
const CTX = { ticksPerFrame: GOLDEN.ticksPerFrame, sequenceWidth: GOLDEN.sequence.width };
|
|
25
26
|
|
|
@@ -13,6 +13,7 @@ const { MediaIndex } = require('../repair/media-index');
|
|
|
13
13
|
const { detectDupes, proposeTimeline } = require('../repair/analysis');
|
|
14
14
|
const { makeRepairLadder } = require('../repair');
|
|
15
15
|
|
|
16
|
+
if (require('./_client-fixture').skipFile(test, 'repair-strategies')) return;
|
|
16
17
|
const GOLDEN = JSON.parse(fs.readFileSync(path.join(pkg.reelFixtureDir(), 'golden_oracle.json'), 'utf8'));
|
|
17
18
|
const CTX = { ticksPerFrame: GOLDEN.ticksPerFrame, sequenceWidth: GOLDEN.sequence.width, sequenceHeight: GOLDEN.sequence.height, sequenceRate: GOLDEN.sequence.fps };
|
|
18
19
|
|
|
@@ -11,6 +11,7 @@ const pkg = require('../index');
|
|
|
11
11
|
const { makeRepairLadder, strategies } = require('../repair');
|
|
12
12
|
const { ConformKnowledge } = require('../knowledge');
|
|
13
13
|
|
|
14
|
+
if (require('./_client-fixture').skipFile(test, 'repair')) return;
|
|
14
15
|
const GOLDEN = JSON.parse(fs.readFileSync(path.join(pkg.reelFixtureDir(), 'golden_oracle.json'), 'utf8'));
|
|
15
16
|
const CTX = { ticksPerFrame: GOLDEN.ticksPerFrame, sequenceWidth: GOLDEN.sequence.width };
|
|
16
17
|
|
|
@@ -23,6 +23,7 @@ const { HeadlessResolveDriver } = require('../adapters/resolve-headless-driver')
|
|
|
23
23
|
|
|
24
24
|
const SAMPLE = pkg.reelFixtureDir();
|
|
25
25
|
const XML = path.join(SAMPLE, 'turnover.xml');
|
|
26
|
+
if (require('./_client-fixture').skipFile(test, 'resolve-readback')) return;
|
|
26
27
|
const GOLDEN = JSON.parse(fs.readFileSync(path.join(SAMPLE, 'golden_oracle.json'), 'utf8'));
|
|
27
28
|
const CTX = { ticksPerFrame: GOLDEN.ticksPerFrame, sequenceWidth: GOLDEN.sequence.width };
|
|
28
29
|
|
|
@@ -11,14 +11,14 @@ const DOC = fs.readFileSync(path.join(__dirname, '..', 'docs', 'runbook.md'), 'u
|
|
|
11
11
|
|
|
12
12
|
test('runbook: documents both surfaces, tiers, package options, and the closed decisions', () => {
|
|
13
13
|
const must = [
|
|
14
|
-
/two surfaces/i,
|
|
15
|
-
/
|
|
14
|
+
/(two|both) surfaces/i,
|
|
15
|
+
/Other surfaces/, /Local/, // the engine ships only the local path; other hosts compose their own
|
|
16
16
|
/A — burned reference/i, /B — clean ref/i, /C — no reference/i, /math-verified/,
|
|
17
17
|
/no picture, no `?content-verified/i,
|
|
18
18
|
/brightness/i,
|
|
19
19
|
/ADVISORY ONLY/i,
|
|
20
20
|
/never.*(clear a flag|flip a deterministic)/i,
|
|
21
|
-
/host-injected
|
|
21
|
+
/host-injected\**\s*`?VisionValidator|supplied by the\s+host/i, // optional vision seam, no bundled LLM
|
|
22
22
|
/SSIM ≥ 0\.90|PSNR ≥ 25/,
|
|
23
23
|
/VFX alignment \*\*never\*\* auto-applies|VFX alignment never/i,
|
|
24
24
|
/MediaRelationship.*→.*project override.*→.*editorialRole|resolution/i, // §10 order
|
|
@@ -34,7 +34,7 @@ test('package scaffold loads with planned module surface', () => {
|
|
|
34
34
|
}
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
test('golden_oracle.json — committed answer key for the Oracle (327 clips)', () => {
|
|
37
|
+
test('golden_oracle.json — committed answer key for the Oracle (327 clips)', { skip: require('./_client-fixture').present() ? false : require('./_client-fixture').REASON }, () => {
|
|
38
38
|
const g = JSON.parse(fs.readFileSync(ORACLE, 'utf8'));
|
|
39
39
|
assert.equal(g.clipCount, 327, 'clipCount must be 327');
|
|
40
40
|
assert.equal(g.clips.length, 327, 'clips array must hold 327 entries');
|
|
@@ -53,7 +53,7 @@ test('golden_oracle.json — committed answer key for the Oracle (327 clips)', (
|
|
|
53
53
|
}
|
|
54
54
|
});
|
|
55
55
|
|
|
56
|
-
test('golden_compare.json — committed answer key for the comparator (4 verdicts)', () => {
|
|
56
|
+
test('golden_compare.json — committed answer key for the comparator (4 verdicts)', { skip: require('./_client-fixture').present() ? false : require('./_client-fixture').REASON }, () => {
|
|
57
57
|
const g = JSON.parse(fs.readFileSync(COMPARE, 'utf8'));
|
|
58
58
|
assert.ok(Array.isArray(g.cases) && g.cases.length === 4);
|
|
59
59
|
const byLabel = Object.fromEntries(g.cases.map((c) => [c.label, c]));
|
|
@@ -12,13 +12,16 @@ const { verify } = require('../ops/verify');
|
|
|
12
12
|
const { FakeVisionValidator } = require('../adapters/vision-validator');
|
|
13
13
|
|
|
14
14
|
const SAMPLE = pkg.reelFixtureDir();
|
|
15
|
-
const
|
|
15
|
+
const client = require('./_client-fixture');
|
|
16
|
+
const GOLDEN = client.present()
|
|
17
|
+
? JSON.parse(fs.readFileSync(path.join(SAMPLE, 'golden_oracle.json'), 'utf8'))
|
|
18
|
+
: null;
|
|
16
19
|
|
|
17
20
|
const SYNTH_DIR = path.join(__dirname, '..', '__fixtures__', 'synthetic');
|
|
18
21
|
const SYNTH = JSON.parse(fs.readFileSync(path.join(SYNTH_DIR, 'golden_oracle.synth.json'), 'utf8'));
|
|
19
22
|
const SF = (name) => path.join(SYNTH_DIR, 'frames', name);
|
|
20
23
|
|
|
21
|
-
test('verify: Tier C (no reference) — all 327 SAMPLE clips MATH-VERIFIED, read-only', async () => {
|
|
24
|
+
test('verify: Tier C (no reference) — all 327 SAMPLE clips MATH-VERIFIED, read-only', { skip: GOLDEN ? false : client.REASON }, async () => {
|
|
22
25
|
const rep = await verify(GOLDEN, {});
|
|
23
26
|
assert.equal(rep.perCut.length, 327);
|
|
24
27
|
assert.equal(rep.summary.mathVerified, 327);
|
|
@@ -12,7 +12,8 @@ const { ResolveDriver, FakeResolveDriver, isResolveDriver } = require('../adapte
|
|
|
12
12
|
const { conformQcActivity, conformQcWorkflow } = require('../ops/workflow');
|
|
13
13
|
const { verify } = require('../ops/verify');
|
|
14
14
|
|
|
15
|
-
const
|
|
15
|
+
const client = require('./_client-fixture');
|
|
16
|
+
const GOLDEN = (client.present() ? JSON.parse(fs.readFileSync(path.join(pkg.reelFixtureDir(), 'golden_oracle.json'), 'utf8')) : null);
|
|
16
17
|
|
|
17
18
|
test('ResolveDriver: interface throws until implemented; fake conforms + reads back', async () => {
|
|
18
19
|
const base = new ResolveDriver();
|
|
@@ -25,7 +26,7 @@ test('ResolveDriver: interface throws until implemented; fake conforms + reads b
|
|
|
25
26
|
assert.equal(isResolveDriver(fake), true);
|
|
26
27
|
});
|
|
27
28
|
|
|
28
|
-
test('conformQcWorkflow: activity is unit-invokable and equals a direct verify()', async () => {
|
|
29
|
+
test('conformQcWorkflow: activity is unit-invokable and equals a direct verify()', { skip: GOLDEN ? false : client.REASON }, async () => {
|
|
29
30
|
// The activity (heavy work) over the Tier-C golden reel.
|
|
30
31
|
const direct = await verify(GOLDEN, {});
|
|
31
32
|
const viaActivity = await conformQcActivity(GOLDEN, {});
|
|
@@ -53,7 +53,7 @@ and `.../resolve-authoring-completion.md`.
|
|
|
53
53
|
**Place elements (track-targeted — the #74 bypass, offline)**
|
|
54
54
|
| Action | What it does |
|
|
55
55
|
|---|---|
|
|
56
|
-
| `place_fusion_title` | ⚠️ **INERT on 21.0.4.5 — placed but not rendered, see below
|
|
56
|
+
| `place_fusion_title` | ⚠️ **INERT on Studio 21.0.4.5 and free 21.1.0 — placed but not rendered, see below** (one contributor-reported visible render on Studio 21.0.3.7). Text+ on a chosen track. Options: `text, font, style, size, vJustify, hJustify, color:{r,g,b}`, `trackIndex`, `startFrame`, `durationFrames` |
|
|
57
57
|
| `place_generator` | built-in generator (`generatorName`, e.g. "Solid Color") on a chosen track |
|
|
58
58
|
| `place_transition` | cross-dissolve at an abutting cut (`track`, `atFrame`, `durationFrames`) — clips need handle media |
|
|
59
59
|
|
|
@@ -145,6 +145,14 @@ Selector's current target (V1 in practice), which no API can read or set.
|
|
|
145
145
|
> only by text length) and DbId rewriting (the comp blobs contain no DbId references). Root cause
|
|
146
146
|
> open. Use the live nested-timeline route until this is fixed.
|
|
147
147
|
>
|
|
148
|
+
> **Builds measured so far.** Inert on Studio 21.0.4.5 (above) and on the free edition 21.1.0
|
|
149
|
+
> (2026-10-09: the harness's `RT_TITLE` project imported through the Project Manager, viewer
|
|
150
|
+
> black a second into the title, while a `place_generator` SMPTE Color Bar project built and
|
|
151
|
+
> imported the same way rendered). A contributor's round-trip harness run on Studio 21.0.3.7 /
|
|
152
|
+
> macOS reported the title **visible** (UNEXPECTED PASS, PR #273 thread); that result is theirs
|
|
153
|
+
> and has not been reproduced here. The live harness cannot run on a 19.x host — 19.1.3 refuses
|
|
154
|
+
> the Resolve 21 project format at `ImportProject` — so only a 21.x Resolve can add data points.
|
|
155
|
+
>
|
|
148
156
|
> **The defect is specific to the Fusion-comp path, not to clone-a-template.** `place_generator`,
|
|
149
157
|
> built the same way, works: an imported Solid Color shows a populated `Generator - Solid Color`
|
|
150
158
|
> Inspector with a live Color parameter and renders on the timeline. The difference is where the
|
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.3"
|
|
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()}")
|