const VIRTUAL_PREFIX = "skills/system";
const PHYSICAL_PREFIX = ".superblocks/system-skills";
export function mapVirtualSystemSkillsPathToPhysical(pathOrPattern) {
    if (pathOrPattern === VIRTUAL_PREFIX ||
        pathOrPattern === `${VIRTUAL_PREFIX}/`) {
        return PHYSICAL_PREFIX;
    }
    if (pathOrPattern.startsWith(`${VIRTUAL_PREFIX}/`)) {
        return `${PHYSICAL_PREFIX}/${pathOrPattern.slice(VIRTUAL_PREFIX.length + 1)}`;
    }
    return pathOrPattern;
}
export function remapPhysicalSystemSkillsPathInOutput(output) {
    return output.replace(/\.superblocks\/system-skills\/([^\s:]+)/g, "skills/system/$1");
}
//# sourceMappingURL=tool-paths.js.map