Commit Graph
13 Commits
Author SHA1 Message Date
KimiSwitch Dev 139af18826 feat: v0.3.0 - fix provider data loss, oauth corruption & switch UX
Bug fixes:
- Fix config.toml wiped to single provider on switch (now writes all providers)
- Fix managed:kimi-code oauth key corruption (oauth/kimi-code was rewritten
  to oauth/managed-kimi-code, breaking the official subscription)
- Fix default_model not switching due to React 18 deferred state update
  (updateConfig now sets configRef synchronously before setConfig)
- Strip KimiSwitch-private default_model from config.toml provider output

Architecture:
- config.toml is now the authoritative source for Kimi Code provider data
- SQLite stores only metadata (notes, official URLs, remembered models)
- Load reconciles config.toml with SQLite for external /provider changes
- Activate is a no-op for KimiCode (save already writes config.toml)

Features:
- Selected provider moves to top of list on switch
- Add models-dev context size lookup
- Add tauri-plugin-single-instance

Tests:
- 3 new regression tests: oauth key round-trip, all-providers write,
  private default_model strip
2026-07-27 22:36:42 +08:00
KimiSwitch Dev 948e96352e feat: v0.2.0 - add system tray, clean up unused role field
- Replace text '+' icon with centered SVG plus icon for the add-provider button
- Add system tray: minimize-to-tray and quit-from-tray menu (minimize hides window, close exits app)
- Remove unused model role field (no functional effect, only stored/displayed)
- Fix multiple providers showing as active in Kimi Code mode: only the default_model's provider is marked active
- Copy /reload to clipboard after provider switch as a convenience hint
- Bump version to 0.2.0
2026-07-25 16:39:20 +08:00
KimiSwitch Dev 211986a1e5 feat: update provider/model config handling 2026-07-15 19:15:04 +08:00
KimiSwitch Dev a394e5f730 refactor: auto-generate model role from model name[provider name] format 2026-07-09 11:00:36 +08:00
KimiSwitch Dev b01a5661b4 feat: unify provider active logic and add env field support for kimi_code_io 2026-07-09 08:44:11 +08:00
KimiSwitch Dev 675e8ba24d fix: correct effort type assertion in AgentSettingsPanel 2026-07-09 01:05:41 +08:00
KimiSwitch Dev 5fcdc333b1 feat: apply smart default max_context_size when adding models 2026-07-09 01:04:24 +08:00
KimiSwitch Dev 0cd70b9dbc feat: render AgentSettingsPanel in ProviderEdit for Kimi Code 2026-07-09 01:02:26 +08:00
KimiSwitch Dev 70c52aeaca feat: add AgentSettingsPanel component 2026-07-09 01:01:13 +08:00
KimiSwitch Dev 43b7ad18d0 feat: show /reload hint next to switch provider button in Kimi Code tab 2026-07-09 00:06:03 +08:00
KimiSwitch Dev 155efdf9f3 feat: keep provider records on switch, only mark active; filter on save 2026-07-08 14:25:05 +08:00
KimiSwitch Dev 8c515f42dc feat: switch provider cleans other custom providers and sets default model 2026-07-08 14:02:09 +08:00
KimiSwitch Dev af991a7bda feat: implement Pi Switch i18n UI and agent config switch 2026-07-08 08:53:26 +08:00