Add Kimi (Moonshot AI) as a new provider#213
Add Kimi (Moonshot AI) as a new provider#213dusty-du wants to merge 1 commit intoautomazeio:mainfrom
Conversation
Add support for Kimi/Moonshot AI service including: - ServiceType.kimi enum case and display name - kimi service mapping and .kimiLogin auth command - Kimi ServiceRow in settings UI with OAuth device flow - icon-kimi.png resource Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
📝 WalkthroughWalkthroughThis PR adds support for a new authentication provider called "Kimi" by introducing a new enum case in Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
ServiceType.kimienum case, display name, service mapping, and.kimiLoginauth commandServiceRowin settings UI with OAuth device flow authenticationicon-kimi.pngresource (128x128 white-on-transparent, matching existing icon format)Files Changed
src/Sources/AuthStatus.swift— Add.kimicase toServiceTypeenum + display namesrc/Sources/ServerManager.swift— Add kimi to service mapping, add.kimiLoginauth commandsrc/Sources/SettingsView.swift— Add Kimi ServiceRow in settings UI, auth flow, success message, adjust frame heightsrc/Sources/Resources/icon-kimi.png— New icon fileSummary by CodeRabbit