Structs§
Enums§
Constants§
Functions§
- default_
api_ url_ for_ provider - effective_
api_ url - effective_
gemma_ native_ formatting - effective_
voice - effective_
voice_ speed - effective_
voice_ volume - gemma_
native_ mode_ label - glob_
matches - Simple glob matcher:
*is a wildcard, matching is case-insensitive.cargo *matchescargo build,cargo check --all-targets, etc. - invalidate_
config_ cache - Invalidate the in-process config cache. Called by save_config() so that the next load_config() sees the freshly written file immediately.
- load_
config - Load
.hematite/settings.jsonfrom the workspace root, with global~/.hematite/settings.jsonas a fallback for unset fields. Workspace config always wins; global fills in what workspace doesn’t set. Results are cached for 500 ms so multiple per-turn call sites share one read. - permission_
for_ shell - Returns the permission decision for a shell command given the loaded config.
- preferred_
coding_ model - provider_
label_ for_ api_ url - save_
config - set_
api_ url_ override - set_
gemma_ native_ formatting - set_
gemma_ native_ mode - set_
preferred_ coding_ model - set_
preferred_ embed_ model - set_
voice - settings_
path