Commit graph

14 commits

Author SHA1 Message Date
evangit2
9793ce2c44 fix(config): v0.4.3 backward compat and install robustness
Changes:
- Add missing UsageConfig fields (last_plan, redirect_on_full, last_session_reset, last_weekly_reset, last_checked) to fix AttributeError crashes
- Add config migration layer in load_config() for v0.4.2 to v0.4.3+ configs
- Rename package guanaco to guanaco-llm-proxy to avoid PyPI collision
- Add Ollama API key validation during install.sh setup (fixes: use real key var, fix env file write, fix grep pattern)
- Add startup version sanity check detecting repo/venv mismatch
- Fix systemd service WorkingDirectory to repo checkout
- Add GUANACO_CONFIG_DIR env var to systemd service
2026-05-23 23:35:17 +00:00
evangit2
dd3cb050e3 fix: wrapper scripts use resolved paths, fix API key env write
- Heredoc now unquoted (<< SCRIPT) so INSTALL_DIR/VENV_DIR expand
  at install time, producing correct absolute paths in the wrapper
- , , etc. properly escaped with $ so they resolve
  at runtime, not install time
- Fixes 'guanaco: command not found' when running from a shell
  that hasn't sourced .bashrc yet (the wrapper had literal $HOME)
- Fix API key env file: was writing literal '***' instead of the
  actual key, and the grep pattern was broken. Now uses tmp file
  approach that preserves existing env vars.
2026-04-10 00:38:00 +00:00
evangit2
83e499123e fix: install.sh escape codes and walkthrough improvements
- Replace escaped string colors ('\033[') with $'\033[' syntax so
  ANSI codes are actual escape chars, not literal backslash sequences
  printing as raw text on some terminals
- Add helper functions: step(), info(), success(), warn(), fail()
  for consistent, cleaner output formatting
- Simplify security warning (no Unicode box-drawing chars)
- Add 'oct' backward-compat alias alongside 'guanaco' binary
- Use heredoc SCRIPT (quoted) for wrapper scripts to prevent
  variable expansion at install time
- Cleaner CLI command listing with printf column alignment
- Better systemd service status output formatting
- Bump to v0.3.1
2026-04-10 00:32:47 +00:00
evangit2
3256f080f0 clean: remove oct compat symlink from installer, fix duplicate success message 2026-04-10 00:00:24 +00:00
evangit2
7f96a6d282 install.sh: write systemd service directly during install, default to Y
The installer now writes the systemd unit file itself (no need for guanaco install
separately). Defaults to installing as a service so Ctrl+C won't kill it. Shows
dashboard URL and management commands after successful install.
2026-04-09 21:57:57 +00:00
evangit2
b5d7a97ac2 Add 'guanaco install' command for systemd service setup
- guanaco install: creates systemd unit, enables + starts service
- guanaco start: shows tip about 'guanaco install' if no systemd service exists
- Ctrl+C shutdown message suggests 'guanaco install' for background service
- install.sh: offers choice between foreground start or systemd install
- Auto-detects Tailscale IP, user, venv path, config dir
2026-04-09 21:56:46 +00:00
evangit2
b3daf437e3 Installer UX: offer to start after install, show full path for guanaco command
- Shows ~/.local/bin/guanaco start instead of bare guanaco start
- Tells user to source .bashrc to get guanaco in PATH
- Prompts 'Start Guanaco now? [Y/n]' at the end of install
- Uses full path to start so it works even before shell reload
2026-04-09 21:50:38 +00:00
evangit2
9435190fcd Fix installer: TS detection via ip/100.x range, fix Y/n default for TS bind prompt 2026-04-09 21:39:58 +00:00
evangit2
f0fa2aea58 Fix installer: Tailscale auto-default to 0.0.0.0, show TS URL post-install 2026-04-09 21:35:56 +00:00
evangit2
d18f325fc1 Fix installer: auto-detect Tailscale, default to 0.0.0.0 binding when TS present
- install.sh: detect Tailscale IP, show friendly message instead of scary warning
- cli.py setup: auto-detect Tailscale, suggest 0.0.0.0 as default when found
- Both: when Tailscale is active and binding to 0.0.0.0, Tailscale provides
  the auth/encryption layer so no scary security warning needed
2026-04-09 21:28:26 +00:00
evangit2
0c94057fe6 Fix install.sh: read prompts from /dev/tty so curl|bash works interactively 2026-04-09 21:09:03 +00:00
evangit2
c31f79fd7d Fix install.sh: handle non-TTY (curl|bash), test venv creation not just import, strip colors when piped 2026-04-09 21:07:25 +00:00
evangit2
da567c07ad 🦙 Polish install.sh: auto-install prereqs, interactive config, security warnings, branding fixes 2026-04-09 20:59:31 +00:00
evangit2
bbb2cc4903 🦙 Guanaco v0.3.0 — initial OSS release
OpenAI-compatible LLM proxy that maximizes your Ollama Cloud subscription.

Features:
- /v1/chat/completions router with token tracking
- /v1/messages Anthropic proxy
- 8 search/scrape API emulators (Tavily, Exa, SearXNG, Firecrawl, Serper, Jina, Cohere, Brave)
- Automatic fallback to secondary providers with configurable timeouts
- Streaming support with first-chunk fast failover
- Web dashboard with analytics, config, and usage monitoring
- Caching layer (beta)
- CLI for setup, status, analytics, key management
- Docker and systemd deployment support
- Backward compatible with OCT (ollama-cloud-tools) installations
2026-04-09 20:49:59 +00:00