)]}'
{
  "commit": "9122e58a5445515d3e3b50d01228d061e94185b7",
  "tree": "4bbfdf31c82285b22e2af97734d1e2684e70acab",
  "parents": [
    "b4952c69fcbcd1a8b14a540568324e36d62825c8"
  ],
  "author": {
    "name": "mjtalbot",
    "email": "hello@rive.app",
    "time": "Thu Apr 03 17:27:06 2025 +0000"
  },
  "committer": {
    "name": "mjtalbot",
    "email": "hello@rive.app",
    "time": "Thu Apr 03 17:27:06 2025 +0000"
  },
  "message": "Libraries\n\nBunch of changes, i think its at the point where it will be helpful to get a review, there is a *lot* of outstanding work to do here, but i\u0027m hoping that much of it can be done while this is in master but not enabled for uat yet. so @susan101566 and I can work through that set together, with smaller more targeted fixes and changes.\n\nThere are a couple of things i want to figure out to make sure we can merge this:\n- is the Resolver approach going to work (library components resolve to real components)\n- writing library assets into the parent needs a bit more love, it should not cause problems unless you\u0027re using libraries\n- I want to do a small refactor on the exporter before merge to keep asset writing and asset index updates together as suggested by @susan101566. there\u0027s a larger refactor here but i think that can be done in due course.\n- re-check editor-only deliniation\n\nAfter refactoring those i also need to re-check that all these things still work, because chances are i\u0027ve broken something in the meantime.\n\nfor\n    using a library in as a nested artboard \u0026\n    using a library as part of using a nested artboard that contains a library\ncheck\n    using a library animation\n    using a library stateMachine\n    using a library stateMachineInputs\n        we can key state machine input changes\n        we can trigger nested state machine input changes from teh state machine editor\n    using a library with assets\n\nexporting all the above and view in cpp viewer\nexporting all the above and view in dart viewer\n\nThere is a large list of items that need to be worked on beyond this. but hopefully we can do that more incrementally. this includes but is not limited to:\n- object validations make sense\n- the asset panel is interacting as we want\n- right click menus make sense\n- out of band loading works\n- library api failures are handled\n- refactor how we add library assets\n- refactor asset exporting\n- tracking\n- smi paths\u0027\n\nDiffs\u003d\n9d8a7e81fa Libraries (#9255)\n\nCo-authored-by: Arthur Vivian \u003carthur@rive.app\u003e\nCo-authored-by: Maxwell Talbot \u003ctalbot.maxwell@gmail.com\u003e\nCo-authored-by: Susan Wang \u003csusan@rive.app\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "94017b1b57691c74044432d72323f126292ece5c",
      "old_mode": 33188,
      "old_path": ".gitignore",
      "new_id": "45d41876bf165647ed661b1662fa155165255059",
      "new_mode": 33188,
      "new_path": ".gitignore"
    },
    {
      "type": "modify",
      "old_id": "dd1b41ebc4ced8d8c8c4ebba54fa692a2840222d",
      "old_mode": 33188,
      "old_path": ".rive_head",
      "new_id": "c3d30c24ebf50367c93ac87dd00d83e7071f9bff",
      "new_mode": 33188,
      "new_path": ".rive_head"
    },
    {
      "type": "modify",
      "old_id": "068f5b55052b995dda6ae70b5691786f3e3dabd0",
      "old_mode": 33188,
      "old_path": "dev/defs/animation/linear_animation.json",
      "new_id": "2205cc08916bb0ee07269b05fab1b3a9c5003d8b",
      "new_mode": 33188,
      "new_path": "dev/defs/animation/linear_animation.json"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "9681b6815585b90cde77f584896b25072166f274",
      "new_mode": 33188,
      "new_path": "dev/defs/animation/linear_animation_resolver.json"
    },
    {
      "type": "modify",
      "old_id": "23846e45114b883808f7f1cabe80654a77d36514",
      "old_mode": 33188,
      "old_path": "dev/defs/animation/nested_linear_animation.json",
      "new_id": "da4684050f04cf3ba85fba2b22fec497042c2611",
      "new_mode": 33188,
      "new_path": "dev/defs/animation/nested_linear_animation.json"
    },
    {
      "type": "modify",
      "old_id": "19825150f01f42a2cb1465a2dee904acfddc1245",
      "old_mode": 33188,
      "old_path": "dev/defs/animation/nested_state_machine.json",
      "new_id": "6597f7aba75baea1625bf01d2afac9097c6417da",
      "new_mode": 33188,
      "new_path": "dev/defs/animation/nested_state_machine.json"
    },
    {
      "type": "modify",
      "old_id": "fa97a25f07b95fe277b70479f5938301055d173c",
      "old_mode": 33188,
      "old_path": "dev/defs/animation/state_machine.json",
      "new_id": "6a804772af5b2bede7ceb6d49e4c8dc5f41c0648",
      "new_mode": 33188,
      "new_path": "dev/defs/animation/state_machine.json"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "51bb72ef06ddbc79cb0bc8656851f75b08f365fe",
      "new_mode": 33188,
      "new_path": "dev/defs/animation/state_machine_resolver.json"
    },
    {
      "type": "modify",
      "old_id": "fe75467cbdbdf6c7aea86a70876d5b9458436e0d",
      "old_mode": 33188,
      "old_path": "include/rive/animation/nested_input.hpp",
      "new_id": "a5d5c105a9da2d603c9cb47b06954c17347613f4",
      "new_mode": 33188,
      "new_path": "include/rive/animation/nested_input.hpp"
    },
    {
      "type": "modify",
      "old_id": "aaf4db767180941534daee7634b234e3bcb03241",
      "old_mode": 33188,
      "old_path": "src/animation/state_machine_instance.cpp",
      "new_id": "9bc63836f657bd63d20bf8b2f71fcf81c0891888",
      "new_mode": 33188,
      "new_path": "src/animation/state_machine_instance.cpp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "3fdf961ac65cac90279c9dde73da8b6c2897ec84",
      "new_mode": 33188,
      "new_path": "tests/unit_tests/assets/custom_image_name.riv"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "a084c4507088254291c508995d0b4efbec611cfb",
      "new_mode": 33188,
      "new_path": "tests/unit_tests/assets/double_library_with_image.riv"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "a2b38d98a3de95235393d7357a00f0e7e2391716",
      "new_mode": 33188,
      "new_path": "tests/unit_tests/assets/library.riv"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "2ff71147cb42983d7108ea4da721a2cacb7c0fbb",
      "new_mode": 33188,
      "new_path": "tests/unit_tests/assets/library_export_animation_test.riv"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "bc7bcaff813053b42c69b285441560897a4a85a6",
      "new_mode": 33188,
      "new_path": "tests/unit_tests/assets/library_export_state_machine_test.riv"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "fbb3effcdbd943b56bb6c5b4a93d673261244db3",
      "new_mode": 33188,
      "new_path": "tests/unit_tests/assets/library_export_test.riv"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "1f09afe88341b9c0c48a06df9974fe8332d56a28",
      "new_mode": 33188,
      "new_path": "tests/unit_tests/assets/library_export_with_smi.riv"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "dbf32c734d2729c3cbb08d672f4d9c13203f3601",
      "new_mode": 33188,
      "new_path": "tests/unit_tests/assets/library_with_image.riv"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "ea4bfd3d5f22a1d75d2a97094acfa0fc38a69e9b",
      "new_mode": 33188,
      "new_path": "tests/unit_tests/assets/library_with_text_and_image.riv"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "d2708ea66e0009c5014d0e276bd193582601e5a4",
      "new_mode": 33188,
      "new_path": "tests/unit_tests/assets/smi_test.riv"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "8649f9c0f476378524e8779f8b2d837ad872be22",
      "new_mode": 33188,
      "new_path": "tests/unit_tests/runtime/library_asset_test.cpp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "33eb7123b9291686ad4334fa0f91d56052df062c",
      "new_mode": 33188,
      "new_path": "tests/unit_tests/runtime/library_state_machine_input_test.cpp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "8f971fdfb393488b40b3112856de25d4cd3b61bb",
      "new_mode": 33188,
      "new_path": "tests/unit_tests/runtime/state_machine_input_test.cpp"
    },
    {
      "type": "modify",
      "old_id": "87d7b59d2f202b1b944f8fd8fe2f60fe7005b897",
      "old_mode": 33261,
      "old_path": "tests/unit_tests/test.sh",
      "new_id": "75627d57e426e08c58bb3476a708cbb00a009b5d",
      "new_mode": 33261,
      "new_path": "tests/unit_tests/test.sh"
    },
    {
      "type": "modify",
      "old_id": "b477fbe396e61c96f936c2b3daf4cd0775a4a70e",
      "old_mode": 33188,
      "old_path": "viewer/build/premake5_viewer.lua",
      "new_id": "be3b9a214a55655ebf60ccb254692b99776ce3d2",
      "new_mode": 33188,
      "new_path": "viewer/build/premake5_viewer.lua"
    }
  ]
}
