Agent persona methods
Adds client coverage for Yeti's /api/v2/agentpersonas endpoints (#24):
search_agent_personas(name=None, enabled=None, count=50, page=0)get_agent_persona(yeti_id)new_agent_persona(persona)patch_agent_persona(yeti_id, persona)
These let callers stop building persona URLs from _url_root, which is private and not part of the API this package promises. yeti-agents is the first consumer.
Two behaviours worth knowing:
- Search requires no arguments, unlike
search_entities— listing every persona is the common case. enabledis three-valued:Nonemeans either, andFalseis sent rather than dropped, so searching for disabled personas works.
No delete_agent_persona: do_request dispatches GET, POST and PATCH only.
Requires a Yeti server with the personas API (yeti-platform/yeti#1365).