skills

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 30, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package skills projects immutable extension catalogs into native ADK tools.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Catalogs   *extensions.Store
	Contexts   *contextresolver.Resolver
	ProjectDir string
	Warnings   warning.Warner
	Output     outputlimit.Policy
	Budget     *outputlimit.Budget
}

Config supplies the framework-free catalog and scope owners.

type Toolset

type Toolset struct {
	// contains filtered or unexported fields
}

Toolset owns the native list/load/resource tools.

func New

func New(config Config) (*Toolset, error)

New validates dependencies and constructs all three fixed native tools.

func (*Toolset) Format

func (*Toolset) Format(state fmt.State, _ rune)

Format prevents activation configuration retained by the catalog store from appearing in diagnostic formatting.

func (*Toolset) LogValue

func (*Toolset) LogValue() slog.Value

LogValue prevents structured logging from reflecting catalog internals.

func (*Toolset) Name

func (*Toolset) Name() string

Name implements native ADK tool.Toolset.

func (*Toolset) ProcessRequest

func (s *Toolset) ProcessRequest(ctx agent.Context, request *model.LLMRequest) error

ProcessRequest refreshes path-scoped skill tools after synchronous workspace touches within the same native ADK turn.

func (*Toolset) Tools

func (s *Toolset) Tools(ctx agent.ReadonlyContext) ([]tool.Tool, error)

Tools returns the fixed utility tools after ensuring the session snapshot exists.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL