mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-16 13:03:31 +08:00
Render provider settings through dnd-kit sortable rows, include official providers in the same order model, and persist providerOrder across server and desktop state. Tested: - bun test src/server/__tests__/providers.test.ts src/server/__tests__/persistence-upgrade.test.ts - cd desktop && bun run test -- --run src/stores/providerStore.test.ts src/__tests__/generalSettings.test.tsx -t "providerStore reorderProviders|Settings > Providers tab" - cd desktop && bun run lint - cd desktop && bun run build - bun run check:persistence-upgrade Not-tested: - bun run check:server (broad suite hit environment failures during this run: MCP stdio zshrc timeout, adapter dependency gap at the time, and e2e cascade) Confidence: high Scope-risk: moderate