From 4d5b584e39cf90a4afaab8af46be2f69dcd914b6 Mon Sep 17 00:00:00 2001 From: salmonik Date: Thu, 19 Nov 2026 11:30:47 +0100 Subject: 0.12.0: provider is a type + URL, plus a config file - --provider opencode|openai-compatible; opencode keeps the session header, openai-compatible needs a base URL and sends none - config file at ~/.config/agent686/config.toml (provider, url, model, flags) - fix the doubled-dash --provider help message --- CHANGELOG.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index 6d1a673..d3e68e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,24 @@ break the interface, **PATCH** for bug fixes. file, and the tool schemas the model sees. Anything a script or a resumed session could depend on counts as API. +## 0.12.0 + +### Changed (breaking) +- `--provider` now takes a *type* instead of a preset name: `opencode` (the + default, sends the required `x-opencode-session` header) or + `openai-compatible` (any OpenAI-style endpoint, no session header). The base + URL comes from `--base-url`, `AGENT686_BASE_URL`, or the config file; an + openai-compatible provider with no URL is rejected. + +### Added +- Config file at `~/.config/agent686/config.toml` (or `AGENT686_CONFIG`): + `provider`, `url`, `model`, `lenient`, `system_ca`, `yolo`, `allow_home`, + `allow_nogit`. Precedence is CLI flag > environment variable > config file > + default. + +### Fixed +- `--provider --help` printed a doubled-dash suggestion (`----provider=`). + ## 0.11.0 ### Added -- cgit v1.2.3