RepoPilot

opencode-ai/opencode · Architecture

A static read of how opencode-ai/opencode is wired together — module coupling, layering, and circular dependencies — derived from its import graph.

A
Architecture grade
score 99/100
0
Import cycles
lower is better
140
Modules parsed
312 edges
99%
Layeredness
clean-layer ratio

Most-depended-on modules

These are the highest-fan-in files — change them and the blast radius is largest. Read them first.

  • internal/config/config.go40 importers · radius 53
  • internal/logging/logger.go33 importers · radius 62
  • internal/tui/theme/catppuccin.go28 importers · radius 36
  • internal/tui/styles/background.go22 importers · radius 27
  • internal/tui/util/util.go18 importers · radius 21
  • internal/llm/models/anthropic.go17 importers · radius 58
  • internal/message/attachment.go16 importers · radius 20
  • internal/tui/layout/container.go14 importers · radius 16

Modules (16)

Source directories grouped from the import graph. Each links to a per-module page with its files and how it couples to the rest.

Ask AI about opencode-ai/opencode

Grounded in the actual source code. Pick a starter question or write your own.

Or write your own question

Informational only. RepoPilot summarises public signals at the time of analysis; they can be incomplete or stale. Not professional, security, or legal advice.