* feat: add MiniMax provider support via Anthropic-compatible API
- Add MINIMAX_API_KEY env var support as fallback for ANTHROPIC_API_KEY
in both compact (haiku.go) and find-duplicates command
- Add ai.base_url config key (BD_AI_BASE_URL env) for custom API endpoints
- Add MINIMAX_BASE_URL env var for MiniMax-specific base URL override
- Default to https://api.minimax.io/anthropic when MINIMAX_API_KEY is used
- Add DefaultAIBaseURL() helper to internal/config
- Add unit tests for new MiniMax key resolution and base URL override paths
- Fix TestNew_NilConfig and TestNew_NoAPIKeyFallsToDryRun to also clear
MINIMAX_API_KEY to maintain expected dry-run fallback behavior
Supported models: MiniMax-M2.7, MiniMax-M2.7-highspeed
* fix(compact): complete MiniMax provider integration
Add shared Anthropic-compatible key and base URL resolution so compact auto mode and AI duplicate detection accept MINIMAX_API_KEY with the MiniMax base URL default. Update help/docs and tests for key precedence and base URL behavior.
Co-authored-by: octo-patch <octo-patch@github.com>
_codex-gpt-5.5-medium on behalf of CI Bot_
* docs: refresh MiniMax CLI reference pages
Regenerate website CLI reference pages after updating compact and find-duplicates help for MiniMax provider support.
_codex-gpt-5.5-medium on behalf of CI Bot_
* docs: regenerate CLI reference against pinned release tag
The upstream docs pipeline now pins CLI reference generation to a
released tag (docs/cli-docs.pin -> v1.1.0) rather than building from
the current checkout, so the published docs describe the latest
release instead of unreleased branch changes. Since the MiniMax
provider work in this branch has not shipped in a release yet,
regenerating against the pin reverts the MiniMax-specific wording in
these three files back to the v1.1.0 text. This is expected under the
new pin-based pipeline, not a regression of the MiniMax feature: the
Go source (cmd/bd/compact.go, cmd/bd/find_duplicates.go) still
reflects MiniMax support, and these docs will pick it up once
docs/cli-docs.pin is bumped past a release that includes it.
Co-authored-by: octo-patch <octo-patch@github.com>
Agent-Signature: claude-fable-5-high on behalf of maphew
* fix(minimax): provider-aware model default, single-var key hint, test env guard
Post-refresh review fixes (codex gpt-5.6-sol, high) on the MiniMax provider
branch:
- A MiniMax-selected key (MINIMAX_API_KEY) now gets a MiniMax-served default
model (MINIMAX_MODEL env > MiniMax-M2) instead of the Claude default that
MiniMax's Anthropic-compatible endpoint does not host — key-only setup
works without also configuring ai.model. Explicit ai.model still wins.
- The git-tracked-config secret hint for ai.api_key interpolates into an
'export %s=...' template; 'A or B' would shell-assign to B alone. Hint
the primary var only.
- ai_method_missing_key_error integration subtest now also skips when
MINIMAX_API_KEY is set, preserving its no-live-API boundary.
Co-authored-by: octo-patch <octo-patch@github.com>
Agent-Signature: claude-fable-5-high on behalf of matt wilkie
---------
Co-authored-by: octo-patch <octo-patch@github.com>
Co-authored-by: CI Bot <ci@beads.test>
Co-authored-by: matt wilkie <maphew@gmail.com>