pub fn resolve_merge_target_path(
manifest: &Manifest,
artifact_type: &str,
resource_type: ResourceType,
) -> StringExpand description
Resolves the installation path for merge-target resources (Hook, McpServer).
These resources are not installed as files but are merged into configuration files. Uses configured merge targets or falls back to hardcoded defaults.
§Arguments
manifest- The project manifest containing tool configurationsartifact_type- The tool name (e.g., “claude-code”, “opencode”)resource_type- Must be Hook or McpServer
§Returns
The normalized path to the merge target configuration file.