Skip to content

Add ChopZip × StemDeck integration bridge#1

Draft
Ohfiftyb252 wants to merge 1 commit into
mainfrom
claude/trusting-albattani-18vhuw
Draft

Add ChopZip × StemDeck integration bridge#1
Ohfiftyb252 wants to merge 1 commit into
mainfrom
claude/trusting-albattani-18vhuw

Conversation

@Ohfiftyb252

Copy link
Copy Markdown
Owner

Summary

  • Adds integrations/chopzip/ — drop-in bridge files for wiring ChopZip's Split First feature to a locally-running StemDeck instance
  • No changes to StemDeck's existing backend or frontend; purely additive
  • Includes React hook, UI panel component, API client, export utilities, and a step-by-step integration guide

Files Added

File Purpose
src/lib/stemdeckBridge.js Fetch-based API client (health, submit, SSE, stem download as File objects)
src/hooks/useStemDeck.js React hook — full state machine for split → poll → download flow
src/components/StemDeckPanel.jsx UI panel: toggle, status badge, progress bar, offline notice
src/lib/stemExportUtils.js Stem-aware ZIP structure, arranger_ready_chops.json, chopzip_manifest.json, RIGHTS_REMINDER.txt
INTEGRATION.md Step-by-step wiring guide + acceptance test checklist

Test plan

  • Copy files into ChopZip project at C:\CLAUDE CODE\files\src\
  • Split First OFF → existing ChopZip upload/chop flow unchanged
  • StemDeck offline → panel shows "StemDeck is not running" with retry button
  • StemDeck online → badge shows "StemDeck ready"
  • Submit audio → SSE progress updates, 6 stem Files returned with _stemMeta
  • Export with stems → 01_STEMS/, 02_CHOPS_BY_STEM/, 07_ARRANGER_HANDOFF/ present in ZIP
  • arranger_ready_chops.json contains stem_name, source_stage: "StemDeck", suggested_lane
  • chopzip_manifest.json contains used_split_first: true
  • No "Mutant Stack Lab" text visible in UI (JSON internal only)

🤖 Generated with Claude Code

https://claude.ai/code/session_016gm1qYmt2tRhVcBXLWDC3k


Generated by Claude Code

Adds integrations/chopzip/ — a drop-in set of files for wiring
ChopZip's "Split First" feature to a locally-running StemDeck instance.

- stemdeckBridge.js: fetch-based API client (health, submit, SSE, stem download)
- useStemDeck.js: React hook state machine for the full split/poll/download flow
- StemDeckPanel.jsx: UI panel (toggle, status badge, progress bar, offline notice)
- stemExportUtils.js: stem-aware export folder structure, arranger handoff JSON,
  chopzip_manifest.json, and RIGHTS_REMINDER.txt generation
- INTEGRATION.md: step-by-step wiring instructions and acceptance test checklist

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016gm1qYmt2tRhVcBXLWDC3k
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.

2 participants