RepoPilot

farion1231 / cc-switch

Search farion1231/cc-switch

GitHub

Code

How farion1231/cc-switch is laid out, and where to start for common changes.

There is no import map for this report yet.

Where to start reading

  1. Repository root
  2. Repository root
  3. Likely public API
  4. Likely public API
  5. Likely start-up file
  6. Suggested starting pointAI
  7. Suggested starting pointAI
  8. Suggested starting pointAI

Find files for a task

AI

Add a New Cloud Provider Integration

  • Export new provider from src/lib/api/index.ts to expose it to the application.
  • Add locale strings for new provider in src/i18n/locales/en.json and other language files.

Add a New UI Settings Tab or Page

  • Import and mount the component in src/App.tsx or update the routing/navigation logic to surface the new tab.
  • Add UI text and labels to locale files in src/i18n/locales/ for internationalization.

Implement a New Configuration Import/Export Format

  • Extend deep-link handling in src/lib/api/deeplink.ts to recognize and parse the new format.
  • Add security validation in src/utils/deeplinkRisk.ts to check for unsafe payloads in the new format.
  • Update src/hooks/useImportExport.ts to integrate the new format into the import/export workflow.

Change the public API

Trace runtime behavior

Add or update tests

Change build or automation

RepoPilot lists up to 500 files, so a file missing here may still exist.

  • Files marked “likely” are guessed from their names.

Code quality and hotspots

Largest source files

  • Branch points177 per file on average
  • Code issues12 errors, 9 warnings
  • Largest file6,832 lines
  • Hotspot load10 high-risk files

Static checks on the 15 largest source files.

Tests, CI and tooling

  • CIGitHub Actions7 workflows
  • Tests308 test filesRust test · Jest/Vitest · 0.40 test files per source file (file count, not coverage)
  • Dependency updatesNo config detected

Test folders: src-tauri/tests · src-tauri/tests/golden/snapshots/rows · src-tauri/tests/golden

Hotspots

Files that change often and branch heavily, highest first. Branch points count if, loop, case, catch, ternary, && and || in the file.