Skip to content

feat: introducing scenes workflow#143

Draft
monsieurBoutte wants to merge 1 commit intomainfrom
vb/introducing-shots-workflow
Draft

feat: introducing scenes workflow#143
monsieurBoutte wants to merge 1 commit intomainfrom
vb/introducing-shots-workflow

Conversation

@monsieurBoutte
Copy link
Collaborator

Overview

This branch adds a new generateScenes() workflow that uses Mux shot detection plus transcript cues to generate higher-level scene boundaries with titles.

What was changed

  • Added src/workflows/scenes.ts, which implements scene generation, prompt customization, shot-window building/merging, AI output normalization, and error handling.
  • Exported the new workflow from src/workflows/index.ts.
  • Added scene examples in examples/scenes/basic-example.ts and examples/scenes/provider-comparison.ts, plus package.json scripts to run them.
  • Added unit and integration coverage in tests/unit/scenes.test.ts and tests/integration/scenes.test.ts.
  • Documented the new workflow and its prompt overrides in docs/API.md, docs/WORKFLOWS.md, docs/PROMPT-CUSTOMIZATION.md, and docs/EXAMPLES.md.

Suggested review order

  1. src/workflows/scenes.ts
  2. tests/unit/scenes.test.ts
  3. tests/integration/scenes.test.ts
  4. examples/scenes/basic-example.ts and examples/scenes/provider-comparison.ts
  5. src/workflows/index.ts and package.json
  6. docs/API.md, docs/WORKFLOWS.md, docs/PROMPT-CUSTOMIZATION.md, and docs/EXAMPLES.md

@snyk-io
Copy link

snyk-io bot commented Mar 10, 2026

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

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