Files
probo/pkg
Sacha Al Himdani de26b889ff Coalesce nil additional emails to empty array
The MCP Profile schema declares additional_email_addresses as a
required, non-nullable array, but NewProfile passed the mail.Addrs
value through unchanged. A profile with no extra emails has a nil
slice, which marshals to JSON null and fails tool output validation
with "type: null, want array".

Default the nil slice to an empty mail.Addrs so the marshalled output
always honors the strict array schema.

Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2026-06-16 12:47:28 +02:00
..
2026-06-15 19:18:42 +02:00
2026-06-15 19:18:42 +02:00
2026-06-15 19:18:42 +02:00
2026-06-12 14:39:51 +02:00