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.
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.
- Create a Firebase project and register an iOS app. Its bundle ID must match
PRODUCT_BUNDLE_IDENTIFIERin Xcode. The default isstudio.cuedesk.rehearsal. - 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. - Download your Firebase
GoogleService-Info.plisttoApp/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.plistillustrates the configuration shape and contains placeholder values. - Open
CueDesk.xcodeproj, choose your signing team for a physical device, and select the CueDesk scheme. - 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.
- 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 buildReplace the placeholder with your downloaded configuration before testing inference.
Start with a fresh Demo rehearsal.
- 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. - Choose Correct last timing change · LX-12. Enter “Undo that last delay. Move the first chorus blue light later instead.” Choose Preview correction.
- When asked for the missing amount, enter “두 박” (two beats) under Your reply and choose Update preview.
- Review the restoration of
LX-12and the new delay onLX-06. Choose Approve both changes. - 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.
sh Tests/run.shThese 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.
App/Cue.swiftcontains cue data, revision storage, imports, timing, and the crew brief.App/Inference.swiftowns Firebase setup, model calls, and response validation.App/Desk.swiftcontains the app entry point and rehearsal workflows.App/StageTake.swiftprovides audio playback and the stage preview.Tools/generate_rehearsal.pyregenerates the synthesized rehearsal clip using Python's standard library.
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.