mirror of
https://github.com/nomadkaraoke/karaoke-gen.git
synced 2026-11-20 13:07:57 +09:00
- Add instrumental_token and instrumental_token_expires_at to Job model
- Generate instrumental token when entering AWAITING_INSTRUMENTAL_SELECTION
- Create require_instrumental_auth dependency for instrumental endpoints
- Update instrumental endpoints to use require_instrumental_auth:
- GET /instrumental-options
- GET /instrumental-analysis
- GET /audio-stream/{stem_type}
- POST /create-custom-instrumental
- GET /waveform-data
- POST /select-instrumental
- Update remote CLI to build correct instrumental review URL with token
- Modify instrumental review HTML to:
- Accept baseApiUrl and instrumentalToken from URL params
- Use cloud API endpoints when in cloud mode
- Include token in all API requests
- Add CI step to deploy instrumental UI to gen.nomadkaraoke.com/instrumental/
- Add mock for require_instrumental_auth in test fixtures
The instrumental review UI is now accessible at:
gen.nomadkaraoke.com/instrumental/?baseApiUrl=...&instrumentalToken=...