Versions in this module Expand all Collapse all v2 v2.7.0 Jul 20, 2026 Changes in this version + var ErrSchedulerDefer = errors.New("scheduler: defer to next process") + func BuiltinToolNames() []string + func ContextWithWake(ctx context.Context, wake <-chan struct{}) context.Context + func GateToolset(ts adktool.Toolset, gate *permissions.Gate, namespace string) adktool.Toolset + func LatestActivePlan(agentsDir string) string + func NewAskUserTool(opts AskUserOptions) (tool.Tool, error) + func NewFetchURLTool(gate *permissions.Gate, cfg *config.Config) tool.Tool + func NewJSONQueryTool(gate *permissions.Gate, cfg *config.Config) tool.Tool + func NewLifecycleTool(opts LifecycleOptions) (tool.Tool, error) + func NewRetrieveRawTool(opts RetrieveRawOptions) (tool.Tool, error) + func NewScheduleTool(opts ScheduleOptions) (tool.Tool, <-chan ScheduleEvent, error) + func NewSciontoolStatusTool() (tool.Tool, error) + func PackTool(req *model.LLMRequest, t Packable) error + func RecordPlan(gate *permissions.Gate, agentsDir string) (tool.Tool, error) + func RevokeLatestPlan(gate *permissions.Gate, agentsDir string) (string, error) + func Truncate(s string, maxBytes, maxLines int) string + type AskUserOptions struct + Description string + Name string + Prompter Prompter + type BuiltinTools struct + Bash bool + DeleteFile bool + EditFile bool + FetchURL bool + Glob bool + Grep bool + JSONQuery bool + ListDir bool + ReadFile bool + ReadManyFiles bool + RecordPlan bool + SciontoolStatus bool + Stat bool + Todo bool + WriteFile bool + func Default() BuiltinTools + func (b *BuiltinTools) Disable(name string) error + type LifecycleEvent struct + Detail string + State string + Time time.Time + type LifecycleHandler func(ctx context.Context, ev LifecycleEvent) error + type LifecycleOptions struct + AllowedStates []string + Description string + Handler LifecycleHandler + Name string + type Packable interface + Declaration func() *genai.FunctionDeclaration + Name func() string + type Prompter interface + Prompt func(ctx context.Context, question string) (string, error) + func RefusePrompter(reason string) Prompter + func StaticPrompter(answer string) Prompter + func StdinPrompter(in io.Reader, out io.Writer) Prompter + type PrompterFunc func(ctx context.Context, question string) (string, error) + func (f PrompterFunc) Prompt(ctx context.Context, q string) (string, error) + type Registry struct + Todo *TodoStore + Tools []tool.Tool + func Build(cfg *config.Config, gate *permissions.Gate, agentsDir string, b BuiltinTools) (*Registry, error) + type RetrieveRawOptions struct + Description string + Name string + Store digest.Store + type ScheduleEvent struct + Detail string + NextPrompt string + Time time.Time + WakeAt time.Time + type ScheduleOptions struct + BufferSize int + Description string + MaxDefer time.Duration + Name string + type Scheduler interface + BeforeNextTurn func(ctx context.Context, ev ScheduleEvent) error + func ExitOnDeferScheduler() Scheduler + func SleepScheduler() Scheduler + type SchedulerFunc func(ctx context.Context, ev ScheduleEvent) error + func (f SchedulerFunc) BeforeNextTurn(ctx context.Context, ev ScheduleEvent) error + type TodoItem struct + ID int + Status string + Text string + type TodoStore struct + func NewTodoStore() *TodoStore + func (s *TodoStore) Items() []TodoItem v2.7.0-dev.5 Jul 20, 2026