Commit graph

8 commits

Author SHA1 Message Date
Jacob Magar
1c112459bc fix: error on explicit missing config path; update env.example; add README config docs
- config.rs: NoxaConfig::load() now exits with an error when an explicit path
  (via --config arg or NOXA_CONFIG env var) does not exist; implicit ./config.json
  missing still silently returns default
- Updated test: test_load_missing_file_returns_default replaced with
  test_load_implicit_missing_file_returns_default (tests None path, not explicit)
- env.example: replaced fat legacy content with slim secrets-only template
  matching .env.example; deleted redundant .env.example
- README.md: replaced bare env-var table with full Configuration section
  covering config.json workflow, precedence, NOXA_CONFIG override, and bool
  flag limitation
2026-04-11 12:35:21 -04:00
Jacob Magar
f22051491f fix: use resolved config in raw_html selector guard; remove dead path_prefix fallback 2026-04-11 12:28:29 -04:00
Jacob Magar
bac13fc1b5 feat: wire ResolvedConfig into main.rs via clap ValueSource 2026-04-11 12:24:44 -04:00
Jacob Magar
e7583a5c51 docs: clarify doc comments on ResolvedConfig selector and raw_html fields 2026-04-11 12:18:53 -04:00
Jacob Magar
3bc6a9920b feat: add NoxaConfig and ResolvedConfig with load()
Introduces config.rs with NoxaConfig (serde Deserialize, all-optional fields,
unknown-field-tolerant), ResolvedConfig (concrete post-merge struct), and
NoxaConfig::load() (explicit path > NOXA_CONFIG env > ./config.json, missing
file returns default). Also adds Debug derives to OutputFormat, Browser, and
PdfModeArg required by NoxaConfig. 4 tests pass.
2026-04-11 12:16:56 -04:00
Jacob Magar
cfe455b752 feat: derive Deserialize on OutputFormat, Browser, PdfModeArg 2026-04-11 12:13:25 -04:00
Jacob Magar
420a1d7522 feat(noxa-9fw.2): make gemini cli the primary llm backend
- ProviderChain::default() order: Gemini CLI -> OpenAI -> Ollama -> Anthropic
- Add --llm-provider gemini arm to build_llm_provider() in noxa-cli
- Update unknown-provider error to mention gemini
- Update empty-chain error messages in CLI and MCP to mention gemini CLI
- Update MCP startup warn! to list gemini CLI as first option
2026-04-11 07:32:24 -04:00
Jacob Magar
8674b60b4e chore: rebrand webclaw to noxa 2026-04-11 00:10:38 -04:00