MiniMax models (id contains "minimax") were in the variants() exclusion
list, so M3 exposed no reasoning control on any route despite supporting
the Anthropic `thinking` field (type: adaptive | disabled).
Remove minimax from the exclusion list and add instant/thinking variants,
mirroring the glm/kimi/qwen toggle added in #8484:
- @ai-sdk/anthropic (direct provider): map to native
thinking:{type:"disabled"} / thinking:{type:"adaptive"}
- @kilocode/kilo-gateway + @openrouter/ai-sdk-provider: reuse the
reasoning:{enabled} shape, translated by kiloProviderOptions.
Replace the obsolete "minimax returns empty object" test with coverage
for the direct-anthropic and kilo-gateway routes.
On Windows, PowerShell commands with non-ASCII characters (e.g., Chinese, Japanese, Cyrillic) produce garbled output (mojibake) because the console encoding defaults to the system OEM code page rather than UTF-8.
Switch from `-Command` to `-EncodedCommand` with a Base64-encoded UTF-16LE payload that explicitly sets `[Console]::InputEncoding`, `[Console]::OutputEncoding`, and `$OutputEncoding` to UTF-8 before executing the original command. This ensures both input and output are properly encoded as UTF-8 regardless of the system locale.
Fixes#4138Fixes#2422Fixes#2939
When `kilo console --port 4321` reuses an already-running daemon on a
different port (e.g. 4097), the new options were silently ignored. Now
`kilo console` checks if the running daemon matches the requested
host/port, and restarts if they differ.
The restart only occurs when explicit `--port` or `--hostname` options
are provided via CLI, not when using default values.
Print a yellow non-fatal warning when kilo console or kilo daemon
start/restart is invoked with an explicit --port outside 4097-4116.
Auto-discovery only scans that window, so an out-of-range port can
silently break later manual or auto-connect attempts.
Implementation stays entirely in Kilo-owned files to avoid touching
upstream shared code:
- Added packages/opencode/src/kilocode/cli/port-warning.ts helper
exporting warnPort(port), which skips port 0 (auto-pick) and emits
a yellow console.warn when the explicit port is outside
Daemon.PortRange.
- Hooks the helper from console.ts and daemon.ts (start/restart)
The command still succeeds; the warning is informational only.