Skip to content

Migrate miro-sync to the render plugin hook system #65

@mindsocket

Description

@mindsocket

miro-sync is a rendering operation (input: SpaceNode[], output: Miro board) that predates the render plugin hook introduced in #63.

Migrate it by:

  • Creating an sctx-miro plugin (either built-in or external) with a render hook
  • Providing a miro.board render format that encapsulates the current sync logic
  • The miro-sync command can remain as a convenience alias (like show and diagram)

Considerations:

  • The miro render format needs access to extra config (miroBoardId, miroFrameId) — these live in the space config and are accessible via context
  • Extra CLI options (--new-frame, --dry-run, --verbose) could be passed as render options, or the miro-sync alias can continue to own those directly
  • The MIRO_TOKEN env var requirement stays

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions