Stream ID identifying the request
Protected
ensureProtected
ensureHandle approval response from the frontend.
approval response
Protected
importDynamically imports the Claude Code SDK from the local installation.
Optional
customClaudeCodePath: stringOptional custom path to Claude Code executable (cli.js)
An object containing the SDK's query function, user message type, and options type.
Protected
requestProtected
resolveSend a request to Claude Code.
request parameters
Pre-generated stream ID for tracking streaming responses
Protected
send
Cancel a running request to Claude Code.