Skip to main content

Crate gobby_core

Crate gobby_core 

Source
Expand description

Shared primitives for Gobby CLI tools.

The baseline crate stays dependency-light for consumers that only need project discovery, bootstrap config, daemon URLs, and shared foundation vocabulary. Datastore and indexing adapters sit behind Cargo feature gates so small binaries do not inherit services they never call.

Modules§

ai_context
Shared AI context, layered AI config source, and config-only routing.
ai_types
bootstrap
Bootstrap config resolution.
cli_contract
codewiki_contract
Frontmatter contract for codewiki-generated wiki vault pages.
config
Shared configuration-resolution boundary.
daemon_url
Daemon URL resolution: one env-override contract plus unroutable-host normalization, shared by every Gobby binary.
degradation
Shared degradation vocabulary boundary.
project
Project-root discovery and project-id reading.
provisioning
Standalone bootstrap and Docker service provisioning.
setup
Shared setup-mode boundary.
token_budget
Generic token-budget estimation and result trimming.

Functions§

gobby_home
Return Gobby home, respecting GOBBY_HOME when set.