Skip to content
boakim-devPublic

About

An iOS rehearsal assistant with Firebase AI Logic hybrid inference, cue previews, and reversible approvals.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

CueDesk

CueDesk turns rehearsal notes into cue-sheet changes a stage manager can review, approve, and undo. It runs AI through Firebase AI Logic, using Apple Foundation Models on supported devices and Gemini as the cloud fallback.

For judging, see the project story and evaluation results and the hands-on walkthrough with expected results.

Run the app

Use Xcode 26 or later with the iOS 26 SDK. The project targets iOS 17 or later. On-device inference needs an eligible iPhone running iOS 26, Apple Intelligence enabled, and the local model downloaded. A simulator can exercise the cloud path.

  1. Create a Firebase project and register an iOS app. Its bundle ID must match PRODUCT_BUNDLE_IDENTIFIER in Xcode. The default is studio.cuedesk.rehearsal.
  2. Enable Firebase AI Logic with the Google AI backend and configure access to gemini-3.1-flash-lite. Model availability and quotas apply to your project.
  3. Download your Firebase GoogleService-Info.plist to App/GoogleService-Info.plist. The Xcode project already references this exact path as a bundled resource. Keep this local file out of Git. Config/GoogleService-Info.example.plist illustrates the configuration shape and contains placeholder values.
  4. Open CueDesk.xcodeproj, choose your signing team for a physical device, and select the CueDesk scheme.
  5. For a Debug build, register the App Check debug token printed in the Xcode console with your Firebase project's App Check settings. Treat the token as a credential. Release builds need a working production App Check provider before distributing them.
  6. Build and run. The app starts with a demo rehearsal. You can import tab-separated cue ID, section, instruction, and trigger rows through Sheets → Import from spreadsheet.

For a compile-only check without a Firebase project, copy the example to the expected local path first.

cp Config/GoogleService-Info.example.plist App/GoogleService-Info.plist
xcodebuild -project CueDesk.xcodeproj -scheme CueDesk \
  -destination 'generic/platform=iOS Simulator' CODE_SIGNING_ALLOWED=NO build

Replace the placeholder with your downloaded configuration before testing inference.

Try a correction

Start with a fresh Demo rehearsal.

  1. Enter “In the second chorus, hold the blue wash back one beat. Leave the vocal delay alone.” Choose Find cue, review LX-12, and approve the change.
  2. Choose Correct last timing change · LX-12. Enter “Undo that last delay. Move the first chorus blue light later instead.” Choose Preview correction.
  3. When asked for the missing amount, enter “두 박” (two beats) under Your reply and choose Update preview.
  4. Review the restoration of LX-12 and the new delay on LX-06. Choose Approve both changes.
  5. Open Change history. Undo last change restores the state before that combined approval.

The stage manager approves changes. Whole-beat timing corrections currently support a bounded range. Unsupported or unresolved directions require clarification. The bundled audio and stage preview provide a rehearsal reference. The current playback is an in-app rehearsal preview.

Verify the data behavior

sh Tests/run.sh

These checks compile the pure Swift cue model and exercise correction, undo after reload, stale retries, timing validation, and the crew brief. They do not call AI providers. They require a Swift 6 toolchain on macOS.

Source layout

  • App/Cue.swift contains cue data, revision storage, imports, timing, and the crew brief.
  • App/Inference.swift owns Firebase setup, model calls, and response validation.
  • App/Desk.swift contains the app entry point and rehearsal workflows.
  • App/StageTake.swift provides audio playback and the stage preview.
  • Tools/generate_rehearsal.py regenerates the synthesized rehearsal clip using Python's standard library.

License

CueDesk source code and its generated rehearsal assets are licensed under Apache License 2.0. See LICENSE and THIRD_PARTY.md for project and dependency terms.

About

An iOS rehearsal assistant with Firebase AI Logic hybrid inference, cue previews, and reversible approvals.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages