- Universal Binary:
terraphim-ai-v1.0.2-macos-universal.tar.gz(43MB) - ARM64 (Apple Silicon):
terraphim-ai-v1.0.2-macos-aarch64.tar.gz(21MB) - x86_64 (Intel):
terraphim-ai-v1.0.2-macos-x86_64.tar.gz(22MB) - Desktop App:
terraphim-desktop-v1.0.2-macos-aarch64.dmg(11MB)
Requires Docker or cross-compilation environment:
# Using Docker
docker build -f Dockerfile.build -t terraphim-linux .
docker run --rm -v $(pwd)/releases:/output terraphim-linux
# Using Earthly (requires Docker daemon)
earthly +build-all
# Using cross (requires Docker daemon)
cross build --release --target x86_64-unknown-linux-gnuRequires MinGW toolchain:
# Install on macOS
brew install mingw-w64
# Build
cargo build --release --target x86_64-pc-windows-gnucargo build --release \
--package terraphim_server \
--package terraphim_mcp_server \
--package terraphim_tui# macOS targets
cargo build --release --target x86_64-apple-darwin
cargo build --release --target aarch64-apple-darwin
# Linux targets (requires cross/Docker)
cross build --release --target x86_64-unknown-linux-gnu
cross build --release --target aarch64-unknown-linux-gnu
# Windows targets (requires MinGW)
cargo build --release --target x86_64-pc-windows-gnucd desktop
# Fix svelte-jsoneditor issue first
# Edit node_modules/svelte-jsoneditor/components/modals/TransformWizard.svelte
# Wrap <tr> elements in <tbody>
# Build
yarn tauri build
# Output location
# macOS: target/release/bundle/dmg/
# Linux: target/release/bundle/appimage/ (requires Linux host)
# Windows: target/release/bundle/msi/ (requires Windows host)-
svelte-jsoneditor Table Structure
- Error: "
<tr>cannot be a child of<table>" - Fix: Edit
node_modules/svelte-jsoneditor/components/modals/TransformWizard.svelte - Wrap
<tr>elements with<tbody>tags
- Error: "
-
Atomic Feature Missing
- Error: "could not find
__cmd__save_article_to_atomic" - Fix: Comment out the command in
desktop/src-tauri/src/main.rs:378 - Or enable with:
--features atomic
- Error: "could not find
-
Docker/Earthly Issues
- Earthly requires Docker daemon running
- OrbStack can be used as Docker alternative on macOS
- Start with:
open -a OrbStack
-
Cross-Compilation Dependencies
- Linux: Requires Docker or proper toolchain
- Windows: Requires
mingw-w64toolchain - Install:
brew install mingw-w64(macOS)
-
Build all binaries
-
Create archives:
cd releases/v1.0.2/platform/arch tar -czf ../terraphim-ai-v1.0.2-platform-arch.tar.gz *
-
Create GitHub release:
gh release create v1.0.2 \ --title "Terraphim AI v1.0.2" \ --notes-file RELEASE_NOTES.md \ releases/v1.0.2/**/*.{tar.gz,dmg,zip}
-
Upload additional artifacts:
gh release upload v1.0.2 new-artifact.tar.gz
For future releases, consider:
- GitHub Actions for automated multi-platform builds
- Docker buildx for cross-platform container builds
- cargo-dist for Rust binary distribution
- Tauri GitHub Action for desktop app builds
Before release, verify:
- TUI REPL commands work
- Server starts and responds
- MCP server functions
- Desktop app launches
- Role switching works
- Search returns results
- Configuration persists