RepoPilot

cheaper-inference / omniroute

Search cheaper-inference/omniroute

GitHub

Code

How cheaper-inference/omniroute 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. Likely start-up file
  7. Suggested starting pointAI
  8. Suggested starting pointAI

Find files for a task

AI

Add a new AI provider integration

  • Register provider metadata and free tier info in the models registry
  • Add provider credentials validation in the A2A authentication layer
  • Define provider health checks and quota rules in assessment domain
  • Add provider-specific routing rules or constraints if needed

Add a new dashboard feature or widget

  • Define UI state in the appropriate store if needed
  • Add internationalization keys for the new feature
  • Integrate the component into the home page or relevant dashboard page

Implement a new security or authorization policy

  • Define the policy logic in the authorization classification module
  • Add assertion or validation in the auth middleware
  • If prompt-based, add detection patterns to the injection guard

Optimize token compression for a new model family

  • Analyze compression effectiveness in compression hooks
  • Register compression rules in the model-to-provider registry
  • Test compression estimation in preview handler

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.
  • Some entry points named in the manifest are build output or are missing from the file list, so their source is not shown.
  • The file list is newer than the written guide, so descriptions and suggested changes may describe older code.

Code quality and hotspots

Largest source files

  • Branch points249 per file on average
  • Code issues0 errors, 67 warnings
  • Largest file3,555 lines
  • Hotspot load10 high-risk files

Static checks on the 15 largest source files.

Tests, CI and tooling

  • CIGitHub Actions33 workflows
  • Tests8,318 test filesJest/Vitest · 1.3 test files per source file (file count, not coverage)
  • Dependency updatesCodeQL

Test folders: @omniroute/opencode-plugin-v2/tests · @omniroute/opencode-plugin-v2/tests/fixtures

Hotspots

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