Install and quick start
Historian requires Bun 1.2.18 or newer and Git 2.43 or newer. Python analysis requires Python 3.10 or newer; Clojure analysis uses Babashka and clj-kondo.
npm install -g @greenways-ai/historiangw-historian doctorcp greenways-historian.example.json greenways-historian.jsongw-historian initgw-historian index /path/to/repositoryQuery the indexed history:
gw-historian search "qualified symbol"gw-historian retrieve "historical context"gw-historian similar "example.core/answer"gw-historian history "example.core/answer"gw-historian trace "revision-id"The default database is .greenways-historian/index.sqlite. It uses SQLite WAL mode and content-addressed analyzer results.