Skip to main content

Module config

Module config 

Source
Expand description

Config resource types and methods mirroring the JS SDK’s resources/config.ts.

Structs§

AgentConfig
Configuration for a single agent entry.
Config
Top-level configuration returned by GET /config.
ConfigResource
Handle for the /config resource.
Experimental
Experimental features configuration.
Hook
Hook configuration within Experimental.
HookCommand
A hook command entry (used by both file_edited and session_completed).
KeybindsConfig
Keybinding configuration mirroring the JS SDK’s KeybindsConfig.
McpLocalConfig
Local MCP server configuration.
McpRemoteConfig
Remote MCP server configuration.
ModeConfig
Configuration for an operational mode (shared base for agents/modes).
ModelCost
Cost information for a model (input/output tokens).
ModelLimit
Context and output limits for a model.
ProviderConfig
Configuration for a single provider.
ProviderModelConfig
Configuration for a single model within a provider.
ProviderOptions
Provider-level options (API key, base URL, and arbitrary extras).

Enums§

Layout
UI layout configuration.
McpConfig
Discriminated union of MCP server configurations, tagged by "type".
ShareMode
How session sharing is configured.

Type Aliases§

Agent
Map of agent names to their configuration.
ModeMap
Map of mode names (e.g. "build", "plan") to their configuration.