Expand description
Session setup: task resolution, editor launching, engine setup.
Structs§
- Provider
Creds - Decoupled provider credentials.
Functions§
- build_
provider_ registry - Build a
ProviderRegistryfrom decoupledProviderCreds. - build_
provider_ registry_ from_ config - Convenience wrapper: build a
ProviderRegistrystraight from aConfig. - provider_
creds_ from_ config - Build the list of
ProviderCredsaConfigimplies.ollamais always present (it needs no key); the API-key providers are included only when their key is configured, andclaude-codeonly when explicitly enabled. This is the sole point that reads provider settings out ofConfig. - read_
region_ value - Resolve one CLI region-flag value:
@pathreads (and trims) that file’s contents; anything else is literal text. Unlike--task, the@is an explicit file marker, so a missing@fileis an error (the user meant a file), not a literal fallback. - resolve_
task - Resolve the task string from a CLI argument.