Documentation
¶
Overview ¶
Package paths is the single source of truth for kapm's on-disk layout. It exposes constants for every repeated directory and file name, plus joiner helpers for the most common composite paths.
TODO: migrate call sites per T5, T21, T22.
Package paths provides kapm-managed path constants for .kiro/, .kapm/, and .apm/ directories. Callers use these with filepath.Join to build concrete filesystem paths.
Index ¶
Constants ¶
const ( // .kiro hierarchy KiroDir = ".kiro" AgentsSubdir = "agents" AgentPromptsDir = "agent-prompts" HooksSubdir = "hooks" SkillsSubdir = "skills" PromptsSubdir = "prompts" SteeringSubdir = "steering" SettingsSubdir = "settings" SessionsSubdir = "sessions" CLISubdir = "cli" // .kapm hierarchy KapmDir = ".kapm" LogsSubdir = "logs" IDESubdir = "ide" // .apm hierarchy APMSubdir = ".apm" APMModulesDir = "apm_modules" // file names APMManifest = "apm.yml" MCPFile = "mcp.json" )
Variables ¶
This section is empty.
Functions ¶
func CLIDataPath ¶ added in v0.9.0
func CLIDataPath() string
CLIDataPath returns the path to the v1 SQLite database file for the current OS. Returns empty string if the home directory cannot be determined or on Windows (TODO).
func IDEBaseDir ¶ added in v0.8.0
func IDEBaseDir() string
IDEBaseDir returns the default Kiro IDE globalStorage directory for the current OS. Returns empty string if the home directory cannot be determined.
Types ¶
This section is empty.