Versions in this module Expand all Collapse all v0 v0.4.3 Nov 9, 2026 v0.4.2 Nov 4, 2026 Changes in this version + func NewTool(cfg Config) tool.CoreTool + func Run(ctx context.Context, cfg Config, agentType, prompt, workDir string) (string, error) + type Config struct + Agents map[string]Definition + CanUseTool permission.CanUseTool + Hooks harness.HookRunner + MaxDepth int + ParentTools *tool.Registry + Provider llm.Provider + Transcript *transcript.Store + type Definition struct + Description string + MaxTurns int + PermissionMode permission.Mode + Prompt []string + Tools []string