Nice — CLI-first for document tooling is underrated. How are you handling embedded images in the XML? That was a pain point when I was parsing OOXML in a different context.
If the reader needs the images, there's an explicit extract command that gets them into a folder.
If the writer needs to update them, there's and explicit replace command and insert commands for that purpose.
It all has to go into the relationship files of course.