gleamunison/mcp_definition
Agent-facing definition identity: ref is stored/elaborated content;
name_ref is the distinct dependency/module handle. Origin is explicit.
Values
pub fn content_hex(
cache: types.TypeCache,
defs: List(#(String, elab_types.SurfaceDef)),
entry: agent_read_model.Entry,
) -> option.Option(String)
pub fn defs_json(
cache: types.TypeCache,
entries: List(agent_read_model.Entry),
) -> String
pub fn json(
cache: types.TypeCache,
defs: List(#(String, elab_types.SurfaceDef)),
entry: agent_read_model.Entry,
) -> String
pub fn nullable_json_string(
value: option.Option(String),
) -> String