# MiniMax + Moonshot Provider Checklist

Date: 2026-02-16
Status: completed

## Scope

- Add first-class `minimax` and `moonshot` model providers.
- Wire providers through OpenAI-compatible client path with provider-specific API key env vars.
- Update setup and doctor surfaces.
- Add tests and docs.

## Completed

- Added provider ids to config schema (`minimax`, `moonshot`).
- Added model factory wiring in `src/daemon/models.ts`:
  - `minimax` -> `MINIMAX_API_KEY`, default endpoint `https://api.minimax.io/v1`
  - `moonshot` -> `MOONSHOT_API_KEY`, default endpoint `https://api.moonshot.cn/v1`
- Updated doctor provider checks for both env vars.
- Updated setup wizard provider list/help text for both providers.
- Added tests:
  - `src/config/schema.test.ts`
  - `src/daemon/clientFactory.test.ts`
  - `src/cli/setup/providers.test.ts`
  - `src/cli/doctor.test.ts`
- Updated README provider docs and runtime `/model` provider list.

## Verification

- `pnpm test:run src/config/schema.test.ts`
- `pnpm test:run src/daemon/clientFactory.test.ts`
- `pnpm test:run src/cli/setup/providers.test.ts src/cli/doctor.test.ts`
- `pnpm typecheck`
