davinci-resolve-mcp 4.10.2 → 4.10.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 +57 -0
- package/README.md +1 -1
- package/README.zh-CN.md +2 -2
- 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/src/granular/common.py +1 -1
- package/src/server.py +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,63 @@
|
|
|
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.4 — enrolled in Anthropic's OSS Scanner
|
|
6
|
+
|
|
7
|
+
### Security
|
|
8
|
+
|
|
9
|
+
- **The repository now carries an OSS Scanner build and threat model**
|
|
10
|
+
under `.oss-scanner/`. [OSS Scanner](https://github.com/anthropics/oss-scanner)
|
|
11
|
+
builds a project in an isolated VM, scans it offline, and emails findings
|
|
12
|
+
to the maintainer. Keeping both files here means they can change without a
|
|
13
|
+
pull request to the scanner's repository.
|
|
14
|
+
- `.oss-scanner/Dockerfile` mirrors CI: Python 3.11, Node 22, ffmpeg, both
|
|
15
|
+
lockfiles via `npm ci`, then the offline suites. Built with the
|
|
16
|
+
scanner's `tools/check`: Python 4027 passed (26 skipped), advanced
|
|
17
|
+
server 1113 passed (60 skipped), 0 failed. Resolve is not in the image;
|
|
18
|
+
the suite stubs it as in CI.
|
|
19
|
+
- `.oss-scanner/threat_model.md` treats every MCP tool argument as
|
|
20
|
+
untrusted (LLM context can carry attacker text), and names the
|
|
21
|
+
properties a finding would break: no caller-supplied code execution,
|
|
22
|
+
the destructive-op gate, immutable source media, and the token- and
|
|
23
|
+
Host/Origin-gated local listeners. It points at the subprocess call
|
|
24
|
+
sites and the archive/XML/SQLite parsers, cites the four published
|
|
25
|
+
advisories as examples of each class, and sets severity tiers.
|
|
26
|
+
- No server code changed.
|
|
27
|
+
|
|
28
|
+
## What's New in v4.10.3 — the conform-qc tests run, and run in `npm test`
|
|
29
|
+
|
|
30
|
+
### Tests
|
|
31
|
+
|
|
32
|
+
- **The vendored conform-qc suite was never part of `npm test`, and 20 of its
|
|
33
|
+
118 tests failed** (reported from a macOS validation run in the #273
|
|
34
|
+
thread). Three causes, all fixed:
|
|
35
|
+
- **The synthetic fixture was never committed.** `synthetic/generate.js`
|
|
36
|
+
builds a small, anonymised turnover XML, test-pattern frames and their
|
|
37
|
+
answer keys, and its own docs say the output is committed under
|
|
38
|
+
`__fixtures__/synthetic/`. It now is: 9 files, about 224 KB, every name
|
|
39
|
+
and path a `SYNTH_` placeholder, and byte-for-byte reproducible (generated
|
|
40
|
+
twice and compared). The npm packages exclude it.
|
|
41
|
+
- **Tests that need the client answer key crashed instead of skipping.**
|
|
42
|
+
`__fixtures__/sample-reel-01` is derived from client material and stays
|
|
43
|
+
out of the repository; `reelFixtureDir()` documents that its tests skip
|
|
44
|
+
when it is absent. A shared `test/_client-fixture.js` now does that.
|
|
45
|
+
Seven files whose setup is built on the key skip as a whole, with a
|
|
46
|
+
reason. In `compare`, `geometry`, `verify` and `workflow-driver` only the
|
|
47
|
+
tests that read the key skip, so their client-free tests keep running.
|
|
48
|
+
- **The runbook check had gone stale.** It expected "two surfaces" and a
|
|
49
|
+
"Cloud" surface. The runbook now says it "covers both surfaces" and that
|
|
50
|
+
the engine "ships only the local path" with other hosts composing their
|
|
51
|
+
own, and its bold markup and line wrapping broke one more pattern. The
|
|
52
|
+
patterns follow the runbook; the runbook is unchanged.
|
|
53
|
+
- `resolve-advanced`'s `npm test` and `test:libs` now include
|
|
54
|
+
`vendor/conform-qc/test/*.test.js`: the advanced suite runs 1,173 tests
|
|
55
|
+
(from 1,036), 0 failed, with every skip carrying its reason.
|
|
56
|
+
|
|
57
|
+
### Validation
|
|
58
|
+
|
|
59
|
+
- Test and packaging changes only; no server or engine code changed. Python
|
|
60
|
+
suite green; advanced suite 1,173 / 0 failed in a clean worktree.
|
|
61
|
+
|
|
5
62
|
## What's New in v4.10.2 — place_fusion_title measured on another build; the .drp harness says when it can't run
|
|
6
63
|
|
|
7
64
|
### Documentation
|
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.4 版 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.10.
|
|
40
|
+
VERSION = "4.10.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.10.
|
|
3
|
+
"version": "4.10.4",
|
|
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, {});
|
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.4"
|
|
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()}")
|