{"modulePath":"github.com/MiniMax-AI/OpenAgentCore","version":"v0.0.14","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package paths\n\nPackage paths resolves on-disk locations for oac-daemon state under ~/.oac/daemon/\\\u003cprofile\u003e/ — one subdir per profile so \"test\" and \"prod\" servers can be connected in parallel without colliding.\n\nFiles are 0o600, parent dir 0o700. These functions only resolve paths — callers do the I/O.\n\n## Constants\n\n```go\nconst DefaultProfile = \"default\"\n```\n\n## Functions\n\n```go\nfunc AuthFile(profile string) (string, error)\n```\nAuthFile returns the absolute path to auth.json for a profile.\n\n```go\nfunc LogFile(profile string) (string, error)\n```\nLogFile returns the absolute path to connect.log for a profile.\n\n```go\nfunc PIDFile(profile string) (string, error)\n```\nPIDFile returns the absolute path to connect.pid for a profile.\n\n```go\nfunc ProfileDir(profile string) (string, error)\n```\nProfileDir returns ~/.oac/daemon/\\\u003cprofile\u003e. It is not created here.\n\n```go\nfunc Root() (string, error)\n```\nRoot returns ~/.oac, or the operator-selected OAC\\_RUNTIME\\_HOME when set.\n\n```go\nfunc StateDirectory() (string, error)\n```\nStateDirectory is the single process setting for private durable Runtime state. An explicit invalid value is an error, never a reason to use the default.\n\n```go\nfunc ValidateProfile(name string) error\n```\nValidateProfile rejects names that wouldn't survive being used as a directory component.\n\n","path":"github.com/MiniMax-AI/OpenAgentCore/apps/daemon/internal/paths","name":"paths","synopsis":"Package paths resolves on-disk locations for oac-daemon state under ~/.oac/daemon/\u003cprofile\u003e/ — one subdir per profile so \"test\" and \"prod\" servers can be connected in parallel without colliding.","isRedistributable":true}
