Documentation
¶
Index ¶
- func GenerateContextDir(runtimeDir string, agents []AgentContextInput) error
- func GenerateToken(agentID string) string
- func ProxyBaseURL(proxyType string) string
- func ProxyHealthcheckBinary(proxyType string) string
- func ProxyImageRef(proxyType string) string
- func ProxyServiceName(proxyType string) string
- func ProxyType(proxyType string) string
- type AgentContextInput
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 ¶
GenerateToken returns a bearer token in "<agent-id>:<48-hex-secret>" format.
func ProxyBaseURL ¶ added in v0.2.0
ProxyBaseURL returns the API base URL for a proxy inside the compose network.
func ProxyHealthcheckBinary ¶ added in v0.2.0
ProxyHealthcheckBinary returns the binary path used by compose healthchecks.
func ProxyImageRef ¶ added in v0.2.0
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
ProxyServiceName returns the compose service name for a proxy type. Passthrough is the canonical default and maps to "cllama".
Types ¶
Click to show internal directories.
Click to hide internal directories.