agents

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2026 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsAllowed

func IsAllowed(kind Kind, allowed []string) bool

Types

type Definition

type Definition struct {
	Kind     Kind     `json:"kind"`
	ReadOnly bool     `json:"readOnly"`
	Aliases  []string `json:"aliases,omitempty"`
}

func Definitions

func Definitions() []Definition

func ResolveKind

func ResolveKind(v string) (Definition, bool)

type Kind

type Kind string

Kind is the governed catalog of built-in agent roles.

const (
	KindExplore          Kind = "explore"
	KindAnalyst          Kind = "analyst"
	KindPlanner          Kind = "planner"
	KindArchitect        Kind = "architect"
	KindDebugger         Kind = "debugger"
	KindExecutor         Kind = "executor"
	KindCritic           Kind = "critic"
	KindSecurityReviewer Kind = "security-reviewer"
	KindDependencyExpert Kind = "dependency-expert"
	KindDesigner         Kind = "designer"
	KindWriter           Kind = "writer"
)

func BuiltInKinds

func BuiltInKinds() []Kind

func ParseKind

func ParseKind(v string) (Kind, bool)

Jump to

Keyboard shortcuts

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