Config File
The project configuration lives at .duumbi/config.toml.
Full example
Section titled “Full example”[workspace]name = "myapp"namespace = "myapp"default-registry = "duumbi"
[llm]provider = "anthropic"api_key_env = "ANTHROPIC_API_KEY"model = "claude-sonnet-4-20250514"
# Multi-provider with fallback chain[[providers]]name = "anthropic"api_key_env = "ANTHROPIC_API_KEY"model = "claude-sonnet-4-20250514"
[[providers]]name = "openai"api_key_env = "OPENAI_API_KEY"model = "gpt-4o"
[[providers]]name = "grok"api_key_env = "XAI_API_KEY"model = "grok-3"
[registries]duumbi = "https://registry.duumbi.dev"company = "https://registry.acme.com"
[dependencies]"@duumbi/stdlib-math" = "^1.0""@company/auth" = { version = "^3.0", registry = "company" }"local-utils" = { path = "../shared/utils" }
[vendor]strategy = "selective"include = ["@company/*"]Sections
Section titled “Sections”[workspace]
Section titled “[workspace]”| Key | Type | Description |
|---|---|---|
name | string | Project name |
namespace | string | Default namespace for modules |
default-registry | string | Registry name for unscoped dependencies |
Basic single-provider configuration (backward compatible).
| Key | Type | Description |
|---|---|---|
provider | string | Provider name: anthropic, openai, grok, openrouter |
api_key_env | string | Environment variable containing the API key |
model | string | Model identifier |
[[providers]]
Section titled “[[providers]]”Multi-provider configuration with fallback chain. Providers are tried in order.
| Key | Type | Description |
|---|---|---|
name | string | Provider name |
api_key_env | string | Environment variable for API key |
model | string | Model identifier |
[registries]
Section titled “[registries]”Map of registry names to URLs. @scope/name routes to the registry named scope.
[dependencies]
Section titled “[dependencies]”Dependencies can be specified as:
- Version string:
"^1.0"(SemVer range) - Table with registry:
{ version = "^3.0", registry = "company" } - Local path:
{ path = "../shared/utils" }
[vendor]
Section titled “[vendor]”| Key | Type | Description |
|---|---|---|
strategy | string | "all" or "selective" |
include | array | Glob patterns for selective vendoring |