Structs§
- CliRuntime
Overrides - Config
Store - Config
Toml - Hook
Sinks Toml - On-disk schema for the
[hook_sinks]table. - LspConfig
Toml - On-disk schema for the
[lsp]table (#136). Seeconfig.example.tomlfor documentation. All fields are optional so the TUI runtime can fall back to its own defaults when keys are absent. - Network
Policy Toml - On-disk schema for the
[network]table (#135). Seeconfig.example.tomlfor documentation. - Provider
Config Toml - Providers
Toml - Resolved
Runtime Options - Secrets
- High-level facade combining a
KeyringStorewith environment variable fallbacks. - Skills
Toml - On-disk schema for the
[skills]table (#140). Seeconfig.example.tomlfor documentation. - Snapshots
Toml - On-disk schema for the
[snapshots]table (#137). Seeconfig.example.tomlfor documentation. - Tools
Toml - On-disk schema for the
[tools]table (#2076).
Enums§
Constants§
- CODEWHALE_
APP_ DIR - Canonical CodeWhale app directory name under $HOME.
- CONFIG_
FILE_ NAME - LEGACY_
APP_ DIR - Legacy DeepSeek-branded app directory name (compatibility fallback).
Functions§
- codewhale_
home - Resolve the primary CodeWhale home directory.
- default_
config_ path - default_
secrets - Process-wide default
Secretsfaçade. The first caller wins; the lock is exposed so test or CLI code can install an explicit backend (e.g. ancodewhale_secrets::InMemoryKeyringStore) before any resolver runs. - ensure_
project_ state_ dir - Ensure a project-local state subdirectory exists under
.codewhale/, creating it if necessary. Returns the directory path. - ensure_
state_ dir - Ensure a state subdirectory exists under the primary CodeWhale root, creating it if necessary. This is the write-path resolver.
- is_
sensitive_ config_ key - legacy_
deepseek_ home - Resolve the legacy DeepSeek home directory (
$HOME/.deepseek). - load_
project_ config - Load a project-level config from the workspace.
- migrate_
config_ if_ needed - v0.8.44: one-time migration from
~/.deepseek/config.tomlto~/.codewhale/config.toml. Called on first launch after the config is loaded; copies the legacy file if the primary doesn’t exist yet. Never overwrites an existing primary config. - project_
approval_ policy_ is_ allowed - project_
sandbox_ mode_ is_ allowed - resolve_
config_ path - resolve_
project_ state_ dir - Resolve a project-local state subdirectory, preferring
.codewhale/when it exists, falling back to.deepseek/for legacy projects. - resolve_
state_ dir - Resolve a state subdirectory, preferring the CodeWhale root if it already exists, otherwise falling back to the legacy root.