fix(installer): add source fallback and make pre-commit staged-file checks

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
Harivansh Rathi 2026-03-05 16:35:34 -08:00
parent 7eb36bf2de
commit 35a74fc1f2
3 changed files with 135 additions and 10 deletions

View file

@ -67,6 +67,12 @@ Preinstalled package sources are:
If `npm` is available, it also tries to install these packages during install.
If a release has not been published yet, the installer can fallback to a source checkout automatically. Set this explicitly with:
```bash
CO_MONO_FALLBACK_TO_SOURCE=1 curl -fsSL https://raw.githubusercontent.com/getcompanion-ai/co-mono/main/public-install.sh | bash
```
### Keep it running
Start and keep `co-mono` alive with your process supervisor of choice (systemd, launchd, supervisor, Docker, etc).