Repository navigation
Add complete MiniMax TTS support - #1233
Conversation
Co-authored-by: Copilot App <[email protected]> Copilot-Session: 85d40d7c-24af-45e6-9205-c1f185d0476c
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: found issues before merge. Reviewed August 26, 2026, 2:32 PM ET / 18:32 UTC. ClawSweeper reviewWhat this changesThis PR adds MiniMax as a selectable cloud provider for the existing Windows-node text-to-speech commands, including DPAPI-protected settings, fixed regional endpoints, localization, CLI documentation, and tests. Merge readinessKeep open. This collaborator-authored feature follows the existing TTS-provider shape and has no blocking code defect, but it needs maintainer product acceptance, a small documentation correction, and ideally a redacted real MiniMax synthesis/playback smoke before merge. Priority: P2 Review scores
Verification
Live VerificationCommand: Result: FAIL (failed) — execution before step 1 Assertions:
How this fits togetherThe tray stores text-to-speech provider settings and exposes existing speech commands through local MCP and gateway node capabilities. A request selects a ready provider, synthesizes audio, then plays it locally while reporting readiness and fallback state. flowchart LR
A[User or MCP speech request] --> B[Provider selection]
B --> C[MiniMax settings and readiness]
C --> D[Fixed MiniMax HTTPS endpoint]
D --> E[Audio decoding]
E --> F[Local Windows playback]
Decision needed
Why: This is a new provider and configuration surface with intentional cloud egress, so implementation correctness alone cannot decide whether it belongs in the core provider set. Before merge
Findings
Agent review detailsSecurityNone. Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep MiniMax behind the established provider and fallback boundary, correct the Windows-node capability documentation, and land only after a maintainer accepts the provider direction with a redacted end-to-end provider smoke. Do we have a high-confidence way to reproduce the issue? Not applicable as a bug report. The unverified merge-relevant path is reproducible with an isolated tray profile, a disposable MiniMax credential, and a short text-to-speech invocation. Is this the best way to solve the issue? Unclear. The code uses the existing TTS-provider architecture, but maintainers must decide whether MiniMax belongs in core and should request real-service proof before accepting that direction. Full review comments:
Overall correctness: patch is correct AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 1e18866d9b42. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
Supersedes #1081. That cross-repository PR could not be updated because its author disabled maintainer edits, so this origin-owned branch carries the reviewed, rebased stack.
Summary
tts.speakandtts.statuscommandsNo new Windows node or MCP command is introduced.
Validation
Validated at
8a7b6db338db219543f2f78318d435fcd8dfa5a2on Windows ARM64 withOPENCLAW_REPO_ROOTset to the worktree../build.ps1: passed all Shared, CLI, WinNode CLI, Setup Engine, and WinUI builds. The offline host lacked the x64 10.0.10 host pack, so the script was run with the detected ARM64 restore graph and pinned installed SDK 10.0.302.dotnet test ./tests/OpenClaw.Shared.Tests/OpenClaw.Shared.Tests.csproj --no-restore: 3,817 passed, 32 environment-gated skippeddotnet test ./tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj --no-restore: 2,741 passeddotnet test ./tests/OpenClaw.WinNode.Cli.Tests/OpenClaw.WinNode.Cli.Tests.csproj --no-restore: 127 passedMiniMaxTextToSpeechClientTests: 10 passedgit diff --check origin/main..HEAD: passedorigin/main..HEAD: no high-confidence actionable findingsgit range-diffconfirmed exact patch equivalence with the previously reviewed two-commit stackReal behavior proof
Current-head isolated proof used no MiniMax credentials and did not mutate normal user settings.
winnode --list-toolsexposedtts.speak,tts.status, andapp.navigatewinnode --command app.navigate --params '{"page":"voice"}'returned{ "navigated": true, "page": "voice" }winnode --command tts.status --params '{}'reported configured providerminimax, readinessneeds-api-key, effective providerwindows, and fallback enabledCurrent-head UI
Gateway-mediated proof is not applicable because this changes provider handling behind existing TTS commands rather than adding a gateway or node-command contract.