davinci-resolve-mcp 2.128.0 → 2.129.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/install.py +1 -1
- package/package.json +1 -1
- package/resolve-advanced/server/tools/drt.mjs +4 -0
- package/src/granular/common.py +1 -1
- package/src/server.py +1 -1
package/install.py
CHANGED
|
@@ -37,7 +37,7 @@ from src.utils.update_check import (
|
|
|
37
37
|
|
|
38
38
|
# ─── Version ──────────────────────────────────────────────────────────────────
|
|
39
39
|
|
|
40
|
-
VERSION = "2.
|
|
40
|
+
VERSION = "2.129.0"
|
|
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
|
@@ -41,6 +41,7 @@ const assembleFromInterchangeSchema = z.object({
|
|
|
41
41
|
outputPath: z.string().describe('Where the importable .drt is written'),
|
|
42
42
|
targetAppVersion: z.union([z.string(), z.number()]).optional()
|
|
43
43
|
.describe("Host Resolve version, e.g. '19.1' for pre-21"),
|
|
44
|
+
subtitlesSrtPath: z.string().optional().describe('Sidecar .srt for the turnover: cues are authored onto the subtitle track (anchored at the timeline origin)'),
|
|
44
45
|
sequenceName: z.string().optional().describe('Multi-sequence AAF/prproj: assemble THIS sequence (see editorial.list_sequences)'),
|
|
45
46
|
sequenceIndex: z.number().int().optional().describe('Multi-sequence AAF/prproj: assemble the sequence at this 0-based index'),
|
|
46
47
|
preserveStartTimecode: z.boolean().optional()
|
|
@@ -263,6 +264,9 @@ export const drtTool = {
|
|
|
263
264
|
if (p.targetAppVersion !== undefined) {
|
|
264
265
|
spec.templateVersion = parseFloat(p.targetAppVersion) >= 21 ? 21 : 19;
|
|
265
266
|
}
|
|
267
|
+
if (p.subtitlesSrtPath) {
|
|
268
|
+
spec.subtitlesSrt = await fs.readFile(p.subtitlesSrtPath, 'utf8');
|
|
269
|
+
}
|
|
266
270
|
const { assembleTimeline } = drp();
|
|
267
271
|
const { buffer, timelineName, mediaDescriptor } = await assembleTimeline(spec);
|
|
268
272
|
let outBuf = buffer;
|
package/src/granular/common.py
CHANGED
|
@@ -87,7 +87,7 @@ if not logging.getLogger().handlers:
|
|
|
87
87
|
handlers=[logging.StreamHandler()],
|
|
88
88
|
)
|
|
89
89
|
|
|
90
|
-
VERSION = "2.
|
|
90
|
+
VERSION = "2.129.0"
|
|
91
91
|
logger = logging.getLogger("davinci-resolve-mcp")
|
|
92
92
|
logger.info(f"Starting DaVinci Resolve MCP Server v{VERSION}")
|
|
93
93
|
logger.info(f"Detected platform: {get_platform()}")
|