clawfile

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Emit

func Emit(result *ParseResult) (string, error)

Types

type ClawConfig

type ClawConfig struct {
	ClawType    string
	Agent       string
	Models      map[string]string
	Cllama      []string
	Persona     string
	Handles     []string
	Surfaces    []Surface
	Skills      []string
	Invocations []Invocation
	Privileges  map[string]string
	Configures  []string
	Tracks      []string
}

ClawConfig stores Claw-specific directives parsed from a Clawfile.

func NewClawConfig

func NewClawConfig() *ClawConfig

type Invocation

type Invocation struct {
	Schedule string
	Command  string
}

type ParseResult

type ParseResult struct {
	Config      *ClawConfig
	DockerNodes []*parser.Node
}

func Parse

func Parse(r io.Reader) (*ParseResult, error)

type Surface

type Surface struct {
	Raw        string
	Scheme     string
	Target     string
	AccessMode string
}

Jump to

Keyboard shortcuts

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