Appearance
Source layout reference
Use this reference to find the public target, test suite, or operational file that owns your change.
Public package targets
MereRunCore
Shared inference and model-management code.
Main areas:
ACEStep/: music generationCodeGen/: code-generation supportEmbeddings/: embedding supportFlux2Klein/: Klein image familyLTX/: video generationLightOnOCR/: OCRLoRA/: LoRA supportMLX/: MLX utilitiesGemma4/,LFM2/,MeBot/,Psi/,Q35/: text model familiesQwenImageEdit/: image editingSupport/: model paths, manifests, resolver, config helpersTraining/: training-specific support retained in the packageVLM/: vision-language model supportZImageI2L/,ZImageTurbo/: image-family support
Implement Linux CLI compatibility through reusable core surfaces, not app bundle code. Keep media-tool discovery behind typed APIs, and resolve MERERUN_FFMPEG, then MERERUN_FFPROBE, and then PATH.
AudioCore
Shared audio types and utilities.
AudioCodecs
Audio codecs and conversion helpers.
Keep Linux audio/video probing fixture-sized: use ffmpeg and ffprobe stubs or tiny generated files in tests, not real model checkpoints.
AudioSTT
Speech-to-text and speaker-diarization backends.
Parakeet/Qwen3ASR/Sortformer/
AudioTTS
Text-to-speech backends.
Qwen3TTS/TTS/
MereRunCLI
The public executable target.
Commands/Support/
Exercise product Linux compatibility through this target.
StudioKit, StudioUI, MereRunApp
The optional Studio, in three targets under apps/macos/: StudioKit is the SwiftUI-free model layer, StudioUI holds every view, and MereRunApp is the mere.run.app executable that composes them. All three stay macOS-only and must not become Linux compatibility dependencies.
Tests
Tests/MereRunCoreTests
Use this for:
- runtime behavior
- model resolution
- subsystem-level integration
Tests/MereRunCLITests
Use this for:
- command parsing
- public CLI UX contracts
- help and command-tree expectations
Operational files
Package.swift: public package definitionscripts/check.sh: main validation gatescripts/e2e_smoke.sh: installed-model smoke runnervendor/llama.xcframework: vendored native dependency for code and API pathsvendor/mlx-swift_Cmlx.bundle: macOS MLX shader resources. Hosted Linux CI uses CPU MLX-sized fixtures, while Linux arm64 package validation requires the CUDA path on real arm64 CUDA hardware