davinci-resolve-mcp 2.23.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.
Files changed (92) hide show
  1. package/AGENTS.md +85 -0
  2. package/CHANGELOG.md +802 -0
  3. package/CLAUDE.md +15 -0
  4. package/LICENSE +21 -0
  5. package/README.md +159 -0
  6. package/SECURITY.md +53 -0
  7. package/bin/davinci-resolve-mcp.mjs +376 -0
  8. package/docs/README.md +56 -0
  9. package/docs/SKILL.md +1145 -0
  10. package/docs/authoring/fuse-dctl-authoring.md +242 -0
  11. package/docs/authoring/script-plugin-authoring.md +195 -0
  12. package/docs/contributing.md +82 -0
  13. package/docs/guides/color-decision-guide.md +387 -0
  14. package/docs/guides/editorial-decision-guide.md +136 -0
  15. package/docs/guides/media-analysis-guide.md +615 -0
  16. package/docs/guides/multicam-setup-guide.md +138 -0
  17. package/docs/install.md +198 -0
  18. package/docs/integrations/workflow-integrations.md +120 -0
  19. package/docs/kernels/README.md +28 -0
  20. package/docs/kernels/audio-fairlight-kernel.md +86 -0
  21. package/docs/kernels/color-grade-kernel.md +103 -0
  22. package/docs/kernels/extension-authoring-kernel.md +101 -0
  23. package/docs/kernels/fusion-composition-kernel.md +91 -0
  24. package/docs/kernels/media-pool-ingest-kernel.md +147 -0
  25. package/docs/kernels/project-lifecycle-kernel.md +120 -0
  26. package/docs/kernels/render-deliver-kernel.md +92 -0
  27. package/docs/kernels/review-annotation-kernel.md +110 -0
  28. package/docs/kernels/timeline-conform-interchange-kernel.md +99 -0
  29. package/docs/kernels/timeline-edit-kernel.md +189 -0
  30. package/docs/notes/codec-plugin-notes.md +136 -0
  31. package/docs/notes/dctl-notes.md +234 -0
  32. package/docs/notes/fusion-template-notes.md +136 -0
  33. package/docs/notes/lut-notes.md +136 -0
  34. package/docs/notes/openfx-notes.md +120 -0
  35. package/docs/process/release-process.md +152 -0
  36. package/docs/reference/api-coverage.md +488 -0
  37. package/docs/reference/resolve_scripting_api.txt +1012 -0
  38. package/examples/README.md +53 -0
  39. package/examples/markers/README.md +81 -0
  40. package/examples/media/README.md +94 -0
  41. package/examples/timeline/README.md +98 -0
  42. package/install.py +1196 -0
  43. package/package.json +52 -0
  44. package/scripts/audit_api_parity.py +275 -0
  45. package/scripts/live_media_analysis_polish_probe.py +65 -0
  46. package/src/__init__.py +3 -0
  47. package/src/analysis_dashboard.py +4936 -0
  48. package/src/control_panel.py +13 -0
  49. package/src/granular/__init__.py +17 -0
  50. package/src/granular/common.py +727 -0
  51. package/src/granular/folder.py +287 -0
  52. package/src/granular/gallery.py +306 -0
  53. package/src/granular/graph.py +309 -0
  54. package/src/granular/media_pool.py +679 -0
  55. package/src/granular/media_pool_item.py +852 -0
  56. package/src/granular/media_storage.py +179 -0
  57. package/src/granular/project.py +1594 -0
  58. package/src/granular/resolve_control.py +521 -0
  59. package/src/granular/timeline.py +1074 -0
  60. package/src/granular/timeline_item.py +2251 -0
  61. package/src/resolve_mcp_server.py +43 -0
  62. package/src/server.py +15691 -0
  63. package/src/utils/__init__.py +3 -0
  64. package/src/utils/app_control.py +319 -0
  65. package/src/utils/audio_fairlight_live_probe.py +263 -0
  66. package/src/utils/cdl.py +20 -0
  67. package/src/utils/cloud_operations.py +192 -0
  68. package/src/utils/color_grade_live_probe.py +444 -0
  69. package/src/utils/dctl_templates.py +368 -0
  70. package/src/utils/extension_authoring_live_probe.py +292 -0
  71. package/src/utils/fuse_templates.py +1968 -0
  72. package/src/utils/fusion_composition_live_probe.py +284 -0
  73. package/src/utils/layout_presets.py +333 -0
  74. package/src/utils/mcp_stdio.py +32 -0
  75. package/src/utils/media_analysis.py +3618 -0
  76. package/src/utils/media_analysis_jobs.py +796 -0
  77. package/src/utils/media_pool_ingest_live_probe.py +592 -0
  78. package/src/utils/multicam.py +393 -0
  79. package/src/utils/object_inspection.py +287 -0
  80. package/src/utils/platform.py +157 -0
  81. package/src/utils/project_lifecycle_live_probe.py +376 -0
  82. package/src/utils/project_properties.py +601 -0
  83. package/src/utils/render_deliver_live_probe.py +384 -0
  84. package/src/utils/resolve_connection.py +77 -0
  85. package/src/utils/review_annotation_live_probe.py +352 -0
  86. package/src/utils/script_templates.py +1193 -0
  87. package/src/utils/sync_detection.py +887 -0
  88. package/src/utils/timeline_conform_live_probe.py +280 -0
  89. package/src/utils/timeline_kernel_live_probe.py +1091 -0
  90. package/src/utils/timeline_kernel_probe.py +185 -0
  91. package/src/utils/timeline_title_text.py +87 -0
  92. package/src/utils/update_check.py +610 -0
package/AGENTS.md ADDED
@@ -0,0 +1,85 @@
1
+ # DaVinci Resolve MCP Server — Agent Instructions
2
+
3
+ This is the canonical short operating brief for AI coding agents working in this
4
+ repository. Keep it durable: do not duplicate version numbers, tool counts,
5
+ kernel-action counts, release notes, or long reference tables here.
6
+
7
+ ## Non-Negotiable Source Media Safety
8
+
9
+ Never modify, transcode, convert, proxy, relink, replace, or create derivatives
10
+ of source media unless the user explicitly asks for that exact operation.
11
+
12
+ Analysis workflows may read source media, but outputs must go to sidecar files,
13
+ session scratch space, or the configured `davinci-resolve-mcp-analysis` project
14
+ root. Preserve the chain from camera original to final delivery.
15
+
16
+ See `docs/guides/media-analysis-guide.md` for the full source-safe workflow.
17
+
18
+ ## Frame-Referenced Color Work
19
+
20
+ Before applying a grade, look, shot match, LUT, CDL, DRX, or copied grade to an
21
+ existing Resolve timeline, inspect representative Resolve-rendered frames for
22
+ the target shot or shots. Use thumbnails, contact sheets, Gallery stills, marker
23
+ frames, or visual analysis reports written only to scratch/analysis locations.
24
+ When the API can safely provide them, compare matched untreated/bypass, current,
25
+ and after frames at the same timecodes; restore the previous active version or
26
+ node-enabled state after any temporary bypass capture.
27
+
28
+ Do not grade only from clip metadata, graph availability, or a requested style
29
+ label unless the user explicitly asks for a blind/global pass. Preserve or create
30
+ a recoverable grade version, and report which frame references informed the
31
+ change. Do not describe Resolve's default one-node graph as an existing creative
32
+ grade unless active grade tools, LUTs, or other grade state are present.
33
+
34
+ When the user asks to build on or adjust an existing grade, treat the current
35
+ grade as creative work to preserve. Inspect the active grade version and node
36
+ graph first, create or switch to a recoverable adjustment version, and make
37
+ incremental changes only through supported controls. Do not reset grades, replace
38
+ graphs, or apply whole-grade artifacts unless the user explicitly asks for that
39
+ semantics.
40
+
41
+ ## Source Of Truth
42
+
43
+ - Public overview, current stats, and docs map: `README.md`
44
+ - Historical release notes: `CHANGELOG.md`
45
+ - AI assistant operating reference: `docs/SKILL.md`
46
+ - Release checklist and validation rules: `docs/process/release-process.md`
47
+ - Kernel workflow support maps: `docs/kernels/`
48
+ - API coverage and live-test status: `docs/reference/api-coverage.md`
49
+ - Bundled Resolve API text: `docs/reference/resolve_scripting_api.txt`
50
+
51
+ ## Key Paths
52
+
53
+ - Compound server: `src/server.py`
54
+ - Granular server entrypoint: `src/resolve_mcp_server.py`
55
+ - Local control panel launcher: `src/control_panel.py`
56
+ - Granular implementation: `src/granular/`
57
+ - Utilities: `src/utils/`
58
+ - Installer: `install.py`
59
+ - Tests: `tests/`
60
+ - Examples: `examples/`
61
+
62
+ ## Common Commands
63
+
64
+ ```bash
65
+ python src/server.py
66
+ python src/server.py --full
67
+ venv/bin/python -m src.control_panel
68
+ python install.py
69
+ venv/bin/python tests/test_import.py
70
+ venv/bin/python scripts/audit_api_parity.py
71
+ ```
72
+
73
+ Python 3.10-3.12 is recommended for Resolve scripting compatibility.
74
+
75
+ ## Development Notes
76
+
77
+ - Prefer the compound server unless a task specifically needs granular tools.
78
+ - Use existing action-dispatch patterns and helper functions before adding new
79
+ abstractions.
80
+ - All Resolve-facing temp or export paths should use the repo's safe path
81
+ helpers; do not invent ad hoc temp paths for files Resolve writes.
82
+ - For changes touching Resolve behavior, update focused tests and follow the
83
+ live-validation guidance in `docs/process/release-process.md`.
84
+ - For docs changes, keep the README concise and move durable detail into
85
+ dedicated files under `docs/`.