Module

Yoga.ACP.ClaudeAgent

Package
purescript-yoga-acp-om
Repository
rowtype-yoga/purescript-yoga-acp-om

#SDKMessage Source

data SDKMessage

Constructors

Instances

#ResultMsg Source

type ResultMsg = { duration_ms :: Number, is_error :: Boolean, num_turns :: Int, result :: Maybe String, session_id :: String, subtype :: String, total_cost_usd :: Number }

#SystemMsg Source

type SystemMsg = { cwd :: String, model :: String, session_id :: String, tools :: Array String }

#QueryOptions Source

type QueryOptions :: Row Typetype QueryOptions = (allowDangerouslySkipPermissions :: Boolean, allowedTools :: Array String, continue :: Boolean, cwd :: String, env :: Foreign, maxBudgetUsd :: Number, maxTurns :: Int, model :: String, permissionMode :: String, prompt :: String, resume :: String, systemPrompt :: String)

#query Source

query :: forall ctx err opts opts_. Union opts opts_ QueryOptions => Record opts -> Strom ctx err SDKMessage