Modules§
Structs§
- ApiRequest
- Bash
Command Input - Bash
Command Output - Compaction
Config - Compaction
Result - Config
Entry - Config
Loader - Context
File - Conversation
Message - Conversation
Runtime - Edit
File Output - File
Diagnostics - Glob
Search Output - Grep
Search Input - Grep
Search Output - Hook
RunResult - Hook
Runner - LspContext
Enrichment - LspManager
- LspServer
Config - Managed
McpTool - McpClient
Bootstrap - McpConfig
Collection - McpManaged
Proxy Server Config - McpO
Auth Config - McpRemote
Server Config - McpSdk
Server Config - McpServer
Manager - McpStdio
Process - McpStdio
Server Config - McpTool
- McpTool
Call Content - McpTool
Call Result - McpWeb
Socket Server Config - OAuth
Authorization Request - OAuth
Callback Params - OAuth
Config - OAuth
Refresh Request - OAuth
Token Exchange Request - OAuth
Token Set - Permission
Policy - Permission
Request - Pkce
Code Pair - Project
Context - Read
File Output - Remote
Session Context - Runtime
Config - Runtime
Error - Runtime
Feature Config - Runtime
Hook Config - Runtime
Plugin Config - Scoped
McpServer Config - Session
- Static
Tool Executor - Structured
Patch Hunk - Symbol
Location - System
Prompt Builder - Text
File Payload - Token
Usage - Tool
Error - Turn
Summary - Unsupported
McpServer - Upstream
Proxy Bootstrap - Upstream
Proxy State - Usage
Cost Estimate - Usage
Tracker - Workspace
Diagnostics - Write
File Output
Enums§
- Assistant
Event - Config
Error - Config
Source - Content
Block - Grep
Output Mode - Hook
Event - LspError
- McpServer
Config - McpServer
Manager Error - McpTransport
- Message
Role - Permission
Mode - Permission
Outcome - Permission
Prompt Decision - Resolved
Permission Mode - Session
Error
Constants§
Traits§
Functions§
- clear_
oauth_ credentials - compact_
session - edit_
file - estimate_
session_ tokens - execute_
bash - format_
compact_ summary - format_
usd - generate_
pkce_ pair - generate_
state - get_
compact_ continuation_ message - glob_
search - grep_
search - home_
dir - Cross-platform home directory: tries
HOMEfirst (Unix + WSL), falls back toUSERPROFILE(Windows). - inherited_
upstream_ proxy_ env - load_
oauth_ credentials - load_
system_ prompt - load_
system_ prompt_ with_ lsp - loopback_
redirect_ uri - mcp_
server_ signature - mcp_
tool_ name - mcp_
tool_ prefix - normalize_
name_ for_ mcp - parse_
oauth_ callback_ query - parse_
oauth_ callback_ request_ target - pricing_
for_ model - Approximate pricing as of 2025-Q2. Update periodically from provider pricing pages.
- read_
file - save_
oauth_ credentials - scoped_
mcp_ config_ hash - should_
compact - unwrap_
mcp_ proxy_ url - write_
file