By default Ollama only binds to 127.0.0.1, making it unreachable
from other devices. Install a launchd plist that sets OLLAMA_HOST=0.0.0.0
so the Ollama device is discoverable by the Onyx device on the network.
The agent also auto-starts Ollama at login.
Instead of sequentially probing all 254 IPs in the subnet (worst case
~4 minutes), read the ARP table for devices already visible on the
network and check all of them for port 11434 simultaneously. Completes
in roughly one nc timeout (~1s) regardless of network size.
On a fresh Mac, git is a stub that requires Xcode CLT. The Homebrew
installer handles Xcode CLT automatically, so install Homebrew inline
first, then use git to clone the repo. This fixes the source failure
when step files are not yet available.
setup.sh, setup_onyx.sh, and setup_ollama.sh can all be run via
curl | bash without a local checkout. They now clone (or pull)
~/riotsecure first with inline minimal helpers, then source step
files from the cloned repo. The setup_repo step is removed from the
main flow since the clone already happens at the top.
- Extract shared helpers into steps/common.sh (colors, print_*, wait_for_user, ask_confirmation)
- Split each install step into its own sourced script under steps/
- setup.sh now sources step files instead of duplicating logic
- Add setup_ollama.sh: Ollama-only device setup (no Docker)
- Add setup_onyx.sh: Onyx-only device setup with auto-detection of Ollama host via network scan
- setup_ollama.sh prints ready-to-run setup_onyx.sh command with detected IP at completion
- Docker memory recommendation is MAX when machine has <20 GB RAM, 20 GB otherwise
- cleanup.sh and check-status.sh source steps/common.sh with inline curl fallback
- check-status.sh detects device mode (single/ollama/onyx) and skips irrelevant checks
- cleanup.sh reinstall message lists all three setup one-liners
- README updated with split-device one-liner commands
- Add cleanup.sh for complete uninstallation
- Interactive confirmations for each component
- Safely removes Onyx, Ollama models, Docker, repository
- Option to restore power settings
- Warnings for shared components (Docker, Homebrew)
- Fix Ollama installation to start service after install
- Ensures ollama serve is running before model creation
- Prevents "Unable to find application" error on clean Mac
- Update README.md with cleanup script usage
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Change from piping to process substitution:
- Old: curl ... | bash (breaks interactive prompts)
- New: bash <(curl ...) (preserves stdin for read commands)
This fixes the "not a tty" warning and allows the script
to properly pause for user input during installation.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Update all references from ~/onyx_data to ~/riotsecure/onyx_data
- Restructure setup.sh to clone repository before Onyx installation
- Ensure Onyx installer runs from within riotsecure directory
- Update step numbers in setup.sh (now steps 1-8)
- Fix paths in check-status.sh and README.md
This ensures onyx_data is created in the correct location
where the install script is run (~/riotsecure).
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Add check-status.sh to verify system health and service status
- Checks Docker, Ollama, Onyx containers
- Validates models and web interface
- Shows resource usage and system info
- Provides troubleshooting tips
- Add comprehensive pre-flight checks to setup.sh
- Validates macOS version, disk space, memory
- Checks internet connectivity and port availability
- Shows installation time estimate and component list
- Prevents installation if critical requirements not met
- Update README.md with health check script usage
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>