Documentation
¶
Index ¶
Constants ¶
View Source
const ( DirName = ".compozy" ConfigFileName = "config.toml" AgentsDirName = "agents" ExtensionsDirName = "extensions" StateDirName = "state" WorktreesDirName = "worktrees" DaemonDirName = "daemon" DBDirName = "db" RunsDirName = "runs" LogsDirName = "logs" CacheDirName = "cache" GlobalDBFileName = "global.db" DaemonSocketName = "daemon.sock" DaemonLockName = "daemon.lock" DaemonInfoName = "daemon.json" DaemonLogName = "daemon.log" )
Variables ¶
This section is empty.
Functions ¶
func EnsureHomeLayout ¶
EnsureHomeLayout creates and validates the stable Compozy home layout.
func ResolveHomeDir ¶
ResolveHomeDir returns the canonical Compozy home root under the current user's home directory.
func ResolvePath ¶
ResolvePath expands a possible `~`-prefixed path and returns an absolute path.
Types ¶
type HomePaths ¶
type HomePaths struct {
HomeDir string
ConfigFile string
AgentsDir string
ExtensionsDir string
StateDir string
WorktreesDir string
DaemonDir string
SocketPath string
LockPath string
InfoPath string
DBDir string
GlobalDBPath string
RunsDir string
LogsDir string
LogFile string
CacheDir string
}
HomePaths captures the stable home-scoped Compozy layout.
func ResolveHomePaths ¶
ResolveHomePaths resolves the canonical Compozy home layout from the current user's home directory.
func ResolveHomePathsFrom ¶
ResolveHomePathsFrom resolves the canonical Compozy home layout from an explicit base directory.
Click to show internal directories.
Click to hide internal directories.