Skip to main content

META_KEY

Constant META_KEY 

Source
pub const META_KEY: &str = "meta";
Expand description

Optional per-avatar metadata, stored under the reserved meta key.

{ "main": "andrew", "andrew": "🦊", "claude": "✨",
  "meta": { "andrew": {"role": "Investigador Principal"},
            "claude": {"kind": "ai"} } }

viceroy: deliberately additive rather than a schema bump. load_avatars, resolve_avatar and all six call sites keep working untouched, and a project that never sets a role writes the same bytes it always did. role is absent when unset — never null, never “”, never “?”.