Core library for travelagent — the data model, VCS backends, forge abstraction, and session persistence that the TUI and MCP crates build on.
What lives here
- [
model] — review data types ([model::review::ReviewSession], [model::review::Comment], [model::diff::DiffFile], [model::tour] structures). - [
vcs] — VCS-backend trait and git / hg / jj implementations (see [vcs::VcsBackend]). - [
forge] — trait and types for remote forges used by the GitHub/GitLab crates (see [forge::ForgeBackend]). - [
config] — userconfig.tomlloader with warnings-on-error. - [
persistence] — on-diskReviewSessionsave/load (see [persistence::storage::save_session] / [persistence::storage::load_session]). - [
diff] — diff parsing and word-level intra-line diffs. - [
risk] — risk scoring for tour stops. - [
syntax] — syntect-backed syntax highlighting. - [
trvignore] — gitignore-style filtering. - [
review_config] — per-repo.travelagent/review.tomlloader for reviewer-side sparring settings (e.g.hidden_from_reviewer). - [
error] — the [error::TrvError] enum and [error::Result] alias used across the workspace.
The crate never performs terminal I/O, HTTP, or clap parsing — those concerns live in the TUI, forge, and MCP crates respectively.