Skip to content

feat(dsl): Add RGBDocument, generator video clip DTD support, and timeline packing - #31

Open
leogdion wants to merge 4 commits into
v0.1.xfrom
feature/rgb-document-generator-dsl
Open

feat(dsl): Add RGBDocument, generator video clip DTD support, and timeline packing#31
leogdion wants to merge 4 commits into
v0.1.xfrom
feature/rgb-document-generator-dsl

Conversation

@leogdion

Copy link
Copy Markdown
Member

Summary

  • Added RGBDocument in Sources/fcpxml-dsl/RGBDocument.swift and fcpxml-dsl export rgb CLI command.
  • Updated generator clips to export as <video ref="..."> elements in Spine, matching FCPXML 1.13/1.14 DTD rules.
  • Added .video and .generator packing handlers in Layout.pack for sequential timeline offsets and centered transition overlaps.
  • Formatted solid generator color parameters with ground-truth parameter key (9999/10008/10006/2/1/1) and 3-component RGB strings (value="1 0 0").
  • Validated via fcpxml-diff validate and live AppleScript FCP import (verify-import).

@coderabbitai

coderabbitai Bot commented Jul 31, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 19ab38fa-c4d9-4a2d-9e52-76e8f9077a45

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@leogdion
leogdion changed the base branch from v0.1-demo to v0.1.x July 31, 2026 21:28
Comment thread Sources/FCPKitDSL/DSLNode.swift Outdated
}

/// A DSL clip node whose duration can be set or updated via `.duration(...)`.
public protocol DSLNodeWithDuration: DocumentContent {

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is a DSLNode without duration? In SwiftUI if it doesn't support the function then it just returns it unmodified.

CI and others added 2 commits July 31, 2026 18:06
…lors

Replace DSLNodeWithDuration with a SwiftUI-style duration modifier on
DocumentContent, and match FCP Color Solid exports that use four-component
color strings so ColorTests and generator export stay aligned.

Co-authored-by: Cursor <cursoragent@cursor.com>
Split Color platform bridges and FCPTime interval helpers, convert TitlePreset/TransitionPreset to GeneratorPreset-style structs with a text-only Title init, and document the convention in a Cursor rule.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant