Commit Graph

56 Commits

Author SHA1 Message Date
William Valentin 35f4cab0dc feat: add log-level system to suppress noisy fallback debug output
Replace console.debug/log/warn calls in model router, retry, and daemon
startup with a structured logger that respects a configurable log_level.
Default level is 'info', suppressing verbose fallback debug messages in
the TUI while keeping them available via config when needed.

- Add src/logger.ts with debug/info/warn/error/silent levels
- Wire log_level into config schema (default: 'info')
- Initialize log level in both daemon and TUI startup paths
- Convert all console.debug in router.ts and retry.ts to logger.debug
- Convert console.log/warn in daemon/models.ts to logger.info/warn
2026-02-09 21:23:07 -08:00
William Valentin a0f5584220 docs: update CHANGELOG, state.json, and default config for local model tool calling 2026-02-07 17:27:27 -08:00
William Valentin 33f6f142bc docs: add file.patch and Gmail Pub/Sub watcher documentation
- README: features list, Gmail config section with field reference and
  template variables, hook examples, architecture tree, CLI description
- CHANGELOG: new Added entries for both features
- SOUL.md: file.patch in capabilities list
- config/default.yaml: file.patch in confirm hooks, commented-out
  automation section with cron, webhooks, gmail, heartbeat examples
2026-02-07 15:45:41 -08:00
William Valentin f43d6edfe0 docs: document fallback patterns in default.yaml
Add comments explaining:
- Auto same-model fallback via GitHub Models for Anthropic tiers
- Inline per-tier fallback blocks
- The full fallback order (primary → auto → inline → global chain)
- local_providers map for named providers in fallback_chain
- Usage examples for both patterns
2026-02-07 13:55:38 -08:00
William Valentin 81e9597777 chore: add Ollama local model to default config
Adds llama3.2:1b as local fallback provider for when primary
Anthropic API is unavailable.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 00:12:49 -08:00
William Valentin 4adf172c25 feat: add config schema and loader with env var expansion 2026-02-02 20:54:19 -08:00