Skip to main content

Module types

Module types 

Source

Re-exports§

pub use messages::*;
pub use hooks::*;
pub use config::*;
pub use agent_options::*;

Modules§

agent_options
config
hooks
messages

Structs§

CanUseToolCallback
ContextUsageCategory
ContextUsageResponse
MCPServerInfo
MCPServerStatus
MCPStatusResponse
MCPToolAnnotations
MCPToolInfo
PermissionRuleValue
PermissionUpdate
RateLimitInfo
SDKPluginConfig
StderrCallback
SystemPromptFile
SystemPromptPreset
TaskBudget
TaskUsage
ThinkingConfig
ToolPermissionContext
ToolsPreset

Enums§

AssistantMessageErrorKind
EffortLevel
Controls how much effort Claude puts into its response.
MCPServerConfig
MCPServerConnectionStatus
MCPServerStatusConfig
PermissionMode
PermissionResult
RateLimitStatus
RateLimitType
SdkBeta
SettingSource
TaskNotificationStatus
TaskUpdatedStatus
Status values reported inside a task_updated patch.
ThinkingConfigType
UserContentKind

Constants§

TERMINAL_TASK_STATUSES
Task statuses that mean the task has finished and should be cleared from any “active task” tracking. Spans both lifecycle vocabularies: task_notification reports stopped (the CLI’s mapped form of a killed task) while task_updated reports the raw killed. Consumers should treat the status of a TaskNotificationMessage and a TaskUpdatedMessage the same way.

Functions§

is_terminal_task_status
Returns true when status is a terminal task status (see TERMINAL_TASK_STATUSES).

Type Aliases§

CanUseToolFuture