plugins/file/commands/history architecture

Implements the file history subcommand that shows recent git commits for a workspace-relative path, handling path resolution, git log execution, and CLI/web result rendering.

Architectural role

Read-only, path-scoped Git log inspection alongside diff/commit/restore/init. It validates workspace/repository containment, executes Git in handler.ts, and delegates presentation and diff actions to its renderer.

Source map

Integration details