mirror of
https://github.com/hanzoai/app.git
synced 2026-10-31 18:04:19 +00:00
useAgentShelf is the + menu's Agents: the org's agents with the default cast filling in, the cast first, each by its face; a pick seats it in the open conversation or lets it out. Create agent and Browse personas open the New agent sheet through make(), drawn by AgentMaker; Manage agents is Dev's Customize > Agents. The Shelf types copy @hanzo/build's plus.tsx until build publishes them. The default cast is every member @hanzo/personas publishes as the team, read from the package's team/ directory rather than a list kept here. The sheet starts from any of the package's 1,042 figures: the name, the PERSONA.md prompt word for word, and a face to draw. The build writes the roster to assets/personas, so it is fetched when the list opens. A face is drawn by zen-image, named on every call (the endpoint refuses a call with none, so Draw never worked); Create draws one when no picture was chosen, and Regenerate draws again.