app.getPresetSettings returned a plain object with a typename of
DocumentPreset, which addDocument refuses since it takes only an object
of the DocumentPreset class. It now makes a DocumentPreset of the run
with the preset's settings, through the same storage new DocumentPreset()
uses, so addDocument takes it back and the result counts toward the
run's limit of 10,000 DocumentPreset objects.
Docs: docs/mcp.md.