openclaw/extensions/minimax
Jithendra d204be80af feat(tools): add MiniMax as bundled web search provider
Add native MiniMax Search integration via their Coding Plan search API
(POST /v1/coding_plan/search). This brings MiniMax in line with Brave,
Kimi, Grok, Gemini, and other providers that already have bundled web
search support.

- Implement WebSearchProviderPlugin with caching, credential resolution,
  and trusted endpoint wrapping
- Support both global (api.minimax.io) and CN (api.minimaxi.com)
  endpoints, inferred from explicit region config, model provider base
  URL, or minimax-portal OAuth base URL
- Prefer MINIMAX_CODE_PLAN_KEY over MINIMAX_API_KEY in credential
  fallback, matching existing repo precedence
- Accept SecretRef objects for webSearch.apiKey (type: [string, object])
- Register in bundled registry, provider-id compat map, and fast-path
  plugin id list with full alignment test coverage
- Add unit tests for endpoint/region resolution and edge cases

Closes #47927
Related #11399

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-04 19:56:04 +09:00
..
src feat(tools): add MiniMax as bundled web search provider 2026-04-04 19:56:04 +09:00
README.md feat(minimax): add image generation provider and trim model catalog to M2.7 (#54487) 2026-03-25 09:29:35 -07:00
api.ts refactor(plugins): expose bundled onboard helpers 2026-03-28 21:35:13 +00:00
image-generation-provider.test.ts fix(providers): route image generation through shared transport (#59729) 2026-04-03 00:32:37 +09:00
image-generation-provider.ts fix(providers): route image generation through shared transport (#59729) 2026-04-03 00:32:37 +09:00
index.test.ts feat(tools): add MiniMax as bundled web search provider 2026-04-04 19:56:04 +09:00
index.ts feat(tools): add MiniMax as bundled web search provider 2026-04-04 19:56:04 +09:00
media-understanding-provider.ts refactor(media): move provider defaults into media metadata 2026-04-04 07:00:47 +01:00
model-definitions.test.ts fix(minimax): correct model pricing per official docs 2026-04-04 17:40:57 +09:00
model-definitions.ts fix(minimax): correct model pricing per official docs 2026-04-04 17:40:57 +09:00
oauth.runtime.ts
oauth.ts refactor: trim provider oauth runtime seams 2026-03-28 02:08:29 +00:00
onboard.test.ts refactor(plugin-sdk): untangle extension test seams 2026-03-29 23:43:53 +01:00
onboard.ts refactor: shrink plugin sdk public surface 2026-03-18 23:31:08 +00:00
openclaw.plugin.json feat(tools): add MiniMax as bundled web search provider 2026-04-04 19:56:04 +09:00
package.json build: prepare 2026.4.1-beta.1 release 2026-04-01 15:09:19 +01:00
provider-catalog.ts fix: respect MINIMAX_API_HOST in bundled minimax catalogs (#34524) (thanks @caiqinghua) 2026-04-04 19:26:12 +09:00
provider-models.ts fix: break plugin-sdk provider barrel recursion 2026-03-27 23:47:04 +00:00
speech-provider.test.ts fix(minimax): use global TTS endpoint default and add missing Talk Mode overrides 2026-04-04 09:19:45 +01:00
speech-provider.ts fix(minimax): use global TTS endpoint default and add missing Talk Mode overrides 2026-04-04 09:19:45 +01:00
test-api.ts refactor: move voice-call realtime providers into extensions 2026-04-04 12:07:23 +09:00
tts.ts fix(minimax): use global TTS endpoint default and add missing Talk Mode overrides 2026-04-04 09:19:45 +01:00

README.md

MiniMax (OpenClaw plugin)

Bundled MiniMax plugin for both:

  • API-key provider setup (minimax)
  • Token Plan OAuth setup (minimax-portal)

Enable

openclaw plugins enable minimax

Restart the Gateway after enabling.

openclaw gateway restart

Authenticate

OAuth:

openclaw models auth login --provider minimax-portal --set-default

API key:

openclaw setup --wizard --auth-choice minimax-global-api

Notes

  • MiniMax OAuth uses a user-code login flow.
  • OAuth currently targets the Token Plan path.