Versions in this module Expand all Collapse all v0 v0.4.6 Oct 20, 2026 v0.4.5 Oct 16, 2026 Changes in this version + const ToolName + type Deps struct + Activity subagent.ActivitySink + Home string + LaunchDir string + NewDispatcher func(permissions.ModeContext) turn.ToolDispatcher + ProjectRoot string + Snapshot func() (Snapshot, bool) + Store func() *sessions.Store + type PreparationError struct + Reason string + func (e *PreparationError) Error() string + func (e *PreparationError) Result() tools.Result + type Snapshot struct + Client provider.Client + Mode string + Model model.Selection + ModelSource model.Source + Registered []tools.Tool + SupportedEffort func(providerID, modelID string) []string + SystemPrompt string + Tools []provider.ToolDefinition + type Tool struct + func New(deps Deps) *Tool + func (t *Tool) Advertise() tools.Metadata + func (t *Tool) Invoke(ctx context.Context, args map[string]any) (tools.Result, error) + func (t *Tool) InvokeWithPreparedDelegate(ctx context.Context, instruction string, write, remove map[string]bool, ...) (tools.Result, error) + func (t *Tool) Name() string + func (t *Tool) PrepareDelegate(args map[string]any) (string, map[string]bool, map[string]bool, map[permissions.MovePair]bool, ...) + func (t *Tool) SubjectKind() string