https://twitter.com/davidcapello/status/1554863950537318404 @davidcapello @beast_pixels @aseprite It's just a custom PNG chunk containing msgpack data (compressed with zlib). Which gives a lot of structural freedom but is still in a standard format.
Then all the usual undo stuff within that.
Actually its msgpack within msgpack with each undo state compressed separately.