Skip to content

feat(runtime): add editSequence and getSequence - #10

Merged
spacedevin merged 1 commit into
mainfrom
feat/sequence-methods
Nov 1, 2026
Merged

spacedevin merged 1 commit into
mainfrom
feat/sequence-methods

Conversation

@spacedevin

Copy link
Copy Markdown
Contributor

Adds two plugin methods for PopCraft's new Edit mode (multi-track sequence editing):

  • editSequence({ id, op }): cut, trim, slip, roll, slide, place, move, rate-stretch, blend, mix, duck, and add or remove tracks on a sequence (a composition).
  • getSequence({ id? }): read a sequence by track (V1 main scenes, V2+ layers, A1+ audio).

The app side registers these methods in its command registry (sequence.edit and sequence.get) on getpopcraft's feat/edit-workspace branch. That branch's SDK-contract test (exposes exactly the methods the SDK calls) passes once this is released and the app's @popcraft/plugins dependency is bumped.

Plugins can cut, blend and mix a sequence (Edit mode) and read it by track.
@spacedevin
spacedevin merged commit b57310a into main Nov 1, 2026
1 check passed
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