Modules§
- provider
- Built-in provider metadata.
Structs§
- CliRuntime
Overrides - Config
Migration - Config
Store - Config
Toml - Fleet
Config Toml - On-disk schema for the
[fleet]table (#3165). Seeconfig.example.tomlanddocs/FLEET.mdfor documentation. - Fleet
Exec Config - Headless worker execution constraints (#3027).
- Fleet
Role Preset - A named role preset that bundles common worker settings.
- Harness
Posture - A concrete harness posture with policy knobs.
- Harness
Profile - A harness profile binds a posture to a provider route and model pattern.
- Hook
Sinks Toml - On-disk schema for the
[hook_sinks]table. - Hotbar
Binding - Validated hotbar binding used by future render/dispatch layers.
- Hotbar
Binding Toml - On-disk schema for one
[[hotbar]]table. - Hotbar
Config Resolution - 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. - Permissions
Toml - Sibling
permissions.tomlschema. - Provider
Chain - Ordered primary-plus-fallback provider list for future provider routing.
- 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. - Tool
AskRule - Typed rule that marks a tool invocation as requiring approval.
- Tools
Toml - On-disk schema for the
[tools]table (#2076).
Enums§
- Harness
Compaction Strategy - How this posture should approach compaction and prompt-cache stability.
- Harness
Posture Kind - Kinds of built-in harness postures.
- Harness
Safety Posture - Safety posture applied when the runtime consumes a harness profile.
- Harness
Tool Surface - Which tool catalog shape this posture prefers.
- Hotbar
Config Warning - Non-fatal hotbar config issue. Invalid slots are skipped; duplicate slots use the last binding; unknown actions are kept for UI feedback.
- Provider
Kind - Provider
Source - Runtime
ApiKey Source
Constants§
- CODEWHALE_
APP_ DIR - Canonical CodeWhale app directory name under $HOME.
- CONFIG_
FILE_ NAME - DEFAULT_
HOTBAR_ ACTIONS - DEFAULT_
SPAWN_ DEPTH - Canonical recursion-depth policy for the headless worker runtime.
- HOTBAR_
SLOT_ COUNT - LEGACY_
APP_ DIR - Legacy DeepSeek-branded app directory name (compatibility fallback).
- MAX_
SPAWN_ DEPTH_ CEILING - Hard ceiling on recursion depth for any worker/sub-agent. See
DEFAULT_SPAWN_DEPTH. Raising this single constant lifts the limit everywhere (the fleet clamp andagentvalidation both read it). - PERMISSIONS_
FILE_ NAME
Functions§
- built_
in_ harness_ profiles - Built-in profile seeds for common provider/model families.
- built_
in_ role_ presets - Built-in role presets that are always available without config.
- codewhale_
home - Resolve the primary CodeWhale home directory.
- default_
config_ path - default_
hotbar_ bindings - 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. - permissions_
path_ for_ config_ path - project_
approval_ policy_ is_ allowed - project_
sandbox_ mode_ is_ allowed - resolve_
config_ path - resolve_
hotbar_ bindings - resolve_
permissions_ 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.