Versions in this module Expand all Collapse all v0 v0.6.0 Sep 12, 2026 v0.5.2 Sep 4, 2026 v0.5.1 Sep 3, 2026 v0.5.0 Aug 18, 2026 Changes in this version + func Catalog(option ...Options) map[string]extensions.Factory + func Control(cwd, agentDir string, settings *config.SettingsManager) extensions.Factory + func Description(name string) string + func MemoryWithStore(store memorysdk.Store) extensions.Factory + func Names() []string + func SandboxMode(settings *config.SettingsManager) (sandbox.Mode, error) + type Action string + const Allow + const Ask + const Deny + type Decision struct + Action Action + Input string + Matcher string + Mode string + Resolution string + Resolved Action + Rule int + Time int64 + Tool string + type Options struct + AgentDir string + HTTPClient *http.Client + Policy *Policy + Settings *config.SettingsManager + StreamFn engine.StreamFn + type Policy struct + AskFallback Action + Authorizer func(context.Context, ToolCallInfo) (Action, error) + Guards []func(context.Context, ToolCallInfo) string + Mode string + Rules []Rule + Sandbox sandbox.Mode + func (policy *Policy) Evaluate(ctx context.Context, info ToolCallInfo) Decision + func (policy *Policy) SetMode(mode string) + type Rule struct + Action Action + Command string + Path string + Tool string + type ToolCallInfo struct + Args any + CWD string + SessionID string + Tool string