cllama

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2026 License: MIT Imports: 7 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.

func ProxyBaseURL added in v0.2.0

func ProxyBaseURL(proxyType string) string

ProxyBaseURL returns the API base URL for a proxy inside the compose network.

func ProxyHealthcheckBinary added in v0.2.0

func ProxyHealthcheckBinary(proxyType string) string

ProxyHealthcheckBinary returns the binary path used by compose healthchecks.

func ProxyImageRef added in v0.2.0

func ProxyImageRef(proxyType string) string

ProxyImageRef returns the default image reference for a proxy type. Passthrough uses the consolidated "ghcr.io/mostlydev/cllama:latest" image.

func ProxyServiceName added in v0.2.0

func ProxyServiceName(proxyType string) string

ProxyServiceName returns the compose service name for a proxy type. Passthrough is the canonical default and maps to "cllama".

func ProxyType added in v0.2.0

func ProxyType(proxyType string) string

ProxyType normalizes a proxy type token.

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