plugins/file/commands/diff/renderers architecture

Renders file diff web UI: stylesheet defines diff block and line styles, renderer builds diff card and timeline output with breadcrumb, line-numbered patch, and git-state notices.

Architectural role

Stateless web-presentation leaf beneath plugins/file/commands/diff, invoked only on the web path to materialize already-resolved diff results. Completes the parent read-only inspection leaf's validate-containment/repository-resolution → execute → adapt pattern by owning all web-channel rendering while CLI formatting stays in the parent adapter, and follows the plugin-wide stylesheet + renderer split as a terminal, logic-free view layer with no children or git/filesystem dependencies.

Source map

Integration details