pub fn compact_form_field(raw: &Value) -> Value
Keep the form-field keys the agent needs (packages/schema/src/form.ts:53-119).
packages/schema/src/form.ts:53-119