Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

938 B
Raw Blame
/**
 * First-use installer for the MuScriptor (audio → MIDI) runtime. A thin preset
 * over RuntimeInstallModal pointed at /api/midi-runtime/install — opened by
 * useMidiTranscription when the transcribe kickoff returns 503
 * MIDI_RUNTIME_MISSING, so clicking Transcribe on a fresh install bootstraps the
 * venv in-app (like the image/video model runtimes) and then auto-continues the
 * transcription on completion.
 */

import RuntimeInstallModal from './RuntimeInstallModal';

export default function MidiInstallModal({ open, onClose, onComplete }) {
  return (
    <RuntimeInstallModal
      open={open}
      runtime="muscriptor"
      label="MuScriptor (MIDI transcription)"
      installUrlBase="/api/midi-runtime/install"
      streamMethod="POST"
      description="Installing the MuScriptor runtime and Python packages (large download on first run)…"
      onClose={onClose}
      onComplete={onComplete}
    />
  );
}