An agreement between Gov. Gavin Newsom and state lawmakers would also cap civil assessments and give courts a bigger role in seizing guns from those barred from owning or possessing firearms.