cllama

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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateContextDir

func GenerateContextDir(runtimeDir string, agents []AgentContextInput) error

GenerateContextDir writes per-agent context files under:

<runtimeDir>/context/<agent-id>/{AGENTS.md,CLAWDAPUS.md,metadata.json}

func GenerateToken

func GenerateToken(agentID string) string

GenerateToken returns a bearer token in "<agent-id>:<48-hex-secret>" format.

Types

type AgentContextInput

type AgentContextInput struct {
	AgentID     string
	AgentsMD    string
	ClawdapusMD string
	Metadata    map[string]interface{}
}

Jump to

Keyboard shortcuts

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