config

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProtocolVersion    = "2026-07-28"
	ServerName         = "agentdock"
	Version            = "0.6.0"
	PathModel          = "host"
	BrowserRunnerDir   = "browser-runner"
	BrowserArtifactDir = "browser-artifacts"
	RecallTimeoutMS    = 30000
)

Variables

This section is empty.

Functions

func SkillStateDir

func SkillStateDir(cfg Config) (string, error)

SkillStateDir returns AgentDock's local document Skill store.

Types

type Config

type Config struct {
	AgentDockHome       string
	AgentDockDefaultDir string
	Host                string
	Port                int
	AuthToken           string
	OAuthEnabled        bool
	OAuthServerURL      string
	LogLevel            string
	NexusEndpoint       string
	NexusToken          string
	BrowserEnabled      bool
	BrowserRunnerDir    string
	BrowserNodePath     string
	Stdio               bool
	TrustedProxyCIDRs   []string
}

func FromEnv

func FromEnv() (Config, error)

func (Config) AuthRequired

func (c Config) AuthRequired() bool

func (*Config) Normalize

func (c *Config) Normalize() error

func (Config) ValidateAuth

func (c Config) ValidateAuth() error

Jump to

Keyboard shortcuts

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