fix(agent): improve docs search and Love enum types