* fix(macos): start ChromaDB from start-macos.sh so tool calling works start-macos.sh never started ChromaDB, so the tool index failed to initialize and tool/MCP injection silently degraded on native macOS installs (no Docker). Start a local chroma from the venv before launching, mirroring the existing Apfel background+trap pattern: idempotent (skips if 8100 is already serving), honors CHROMADB_HOST/CHROMADB_PORT (skips when remote), logs to a file, persists to data/chroma, and is killed in the exit trap. Fixes #3297 * fix(macos): bind/probe ChromaDB on IPv4 loopback to match app resolution Binding to the literal localhost can land on IPv6 ::1 while the app connects to localhost->127.0.0.1, leaving them unable to reach each other. Pin bind + probe to 127.0.0.1 (0.0.0.0 still honored). * style(macos): trim chromadb comments (present-tense, no issue refs)
12 KiB
Executable File
12 KiB
Executable File