tools

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsDestructive added in v0.0.7

func IsDestructive(name string) bool

IsDestructive reports whether the named tool performs an approval-gated destructive action.

Types

type Factory

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

Factory owns application dependencies and creates actor-scoped Fantasy tools for a single run. FantasyRunner only receives the resulting factory function and remains independent from PocketBase.

func NewFactory

func NewFactory(app core.App) *Factory

func (*Factory) ForActor

func (f *Factory) ForActor(actorID string) []fantasy.AgentTool

Jump to

Keyboard shortcuts

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