)]}'
{
  "commit": "ff1a8fa808c9b43a6722b9659b21ec745baebd3e",
  "tree": "b5816227fa11a256bc64d30e0171dfdeaf1e0c47",
  "parents": [
    "20070f60305703f127a294dc6414790844c9532e"
  ],
  "author": {
    "name": "luigi-rosso",
    "email": "hello@rive.app",
    "time": "Tue Jul 14 19:38:15 2026 +0000"
  },
  "committer": {
    "name": "luigi-rosso",
    "email": "hello@rive.app",
    "time": "Tue Jul 14 19:38:15 2026 +0000"
  },
  "message": "scripting: library scope for imported scripts (#13054) d24376c1d6\n* scripting: scope-aware module resolution so versioned library scripts coexist\n\n* scripting: 64-bit library scope on FileAsset (new uint64 core type) read by ScriptAsset::scope\n\n* scripting: unresolved library: require errors instead of rebinding to caller scope\n\n* scripting: use lib: qualifier prefix instead of library:\n\n* scripting: scoped setScriptSource overload, scope resolution maps, and scope tests\n\n* scripting: plumb library scope from editor assets to the workspace via a cancellation-proof setScriptScope work\n\n* scripting: recycle setScriptScope work directly, it has no consumer to ring\n\n* scripting: infer resolves requires with the caller\u0027s scope, divergence from parse-time edges races module rechecks\n\n* scripting: library scope flows into the editor VM and host proxies so lib: requires resolve\n\n* scripting: scope-aware require autocomplete and derive proxy scope from the library link for older imports\n\n* scripting: LibraryFolder core type roots a library\u0027s scope, scripts derive it by parentage and the panel synthesizes the internal tree\n\n* editor: show the library version suffix on the library folder instead of every script row\n\n* editor: deleting any part of an imported library removes the whole library, confirmed and journaled\n\n* scripting: colon-free scoped chunknames, tooling parses trace locations as chunkname:line\n\n* editor: library folder is the per-library container in custom and source views, holds artboards, uses the library icon\n\n* editor: unify the library tree item onto LibraryAsset itself, scope and panel and inspector all hang off the one core object\n\n* editor: source view data pass includes libraries, it previously kept only group items\n\n* editor: regenerate the preview runtime file when blob bytes arrive after it was generated\n\n* core: reseed nextObjectId when chunked sync completes, the connected reseed walks an empty object set\n\n* core: corrupt-scrubbed objects keep their ids consumed and log, regenerated content collided with their server copies\n\n* core: abandon rejected changesets, a persisted reject replays on every connect and loops forever\n\n* code: derived char ids fall back to a fresh reserved range when occupied, files written without per-rune reservation collide on split\n\n* editor: definition jump opens the file\u0027s library proxy tab, the internalCore instance has no workspace wiring so it rendered unhighlighted\n\n* core,editor: strip temporary id allocation diagnostics\n\n* docs: cut comments down to why-only one liners\n\n* core: drop the sync complete reseed, ready always follows sync so the connected reseed sees every consumed id\n\n* runtime: clear the registered module\u0027s key from each dependent\u0027s missing set, the wrong receiver left dependents pending\n\n* tests: drop the draco checkout dependency, a synthetic scoped storm covers the race and scope tests use a generic library\n\n* defs: scope keys declare uint64 in both def sets, the editor generator folds uint64 to a Dart int like uint8\n\n* runtime: scope the require cache key so it destructs before luaL_error longjmps, five strings leaked per failed require\n\n* code: char id fallback checks only the derived id, range checking tripped on legitimate overlap splits and detached runs\n\n* editor tests: stub library 999 details, library assets now surface in the panel so the update tracker checks them\n\n* core: abandon on reject moves to its own PR\n\n* scripting: lib: requires resolve through per caller import edges, a serialized LibraryAsset is the edge so files carry their own pins\n\n* scripting: source storms defer the check flush and the checker pool widens to eight\n\n* editor: busy state stacks across compiles and checks so the spinner holds until reports land\n\n* fix(libraries): nested edges derive their caller scope from the owning core\n\n* editor: warn when a script name shadows a reserved module pattern\n\n* editor: scripts covered by the library confirmation skip their own delete prompt\n\n* editor: badge reserved script names in the asset tree like invalid view model names\n\n* editor: reserved script name badge tips immediately like the data tree\n\n* editor: reserved name badge moves to the icon overlay, the icon slot ignores pointers so its tip never hovered\n\n* core_generator: derived properties serialize through their overridden getters\n\n* fix(editor): script-less files skip the problem report round trip, the busy spinner froze settle-based tests\n\n* fix(editor): empty problem clear skips the notify, and the badge halo joins the color baseline\n\n* test(editor): first connect report assertion polls, the fixed delay flaked under CI load\n\n* test(editor): drop shadowed mock_rive_api import, the analyze gate failed shard 0 on every run\n\nCo-authored-by: Luigi Rosso \u003cluigi-rosso@users.noreply.github.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "bdd52fd0f8a919bbc65f280c42b9535961a96146",
      "old_mode": 33188,
      "old_path": ".rive_head",
      "new_id": "2b4e3f6dd24908569dfcf25183d52cc4ace9d116",
      "new_mode": 33188,
      "new_path": ".rive_head"
    },
    {
      "type": "modify",
      "old_id": "d8d4ae4565f8a8eb4af77f3d655878752c28daec",
      "old_mode": 33188,
      "old_path": "dev/core_generator/lib/src/field_type.dart",
      "new_id": "114e3c304eb5b9c63fe2d4b839e143ba7fd48267",
      "new_mode": 33188,
      "new_path": "dev/core_generator/lib/src/field_type.dart"
    },
    {
      "type": "modify",
      "old_id": "976fc5faab8df66d7c0ec7309286d9f1f16a50ad",
      "old_mode": 33188,
      "old_path": "dev/core_generator/lib/src/field_types/initialize.dart",
      "new_id": "b3e247dc12f32d5691d1e8c7ba934226a61b4533",
      "new_mode": 33188,
      "new_path": "dev/core_generator/lib/src/field_types/initialize.dart"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "3d2fdb0b19083b3d576bd0ec637a977465221a8b",
      "new_mode": 33188,
      "new_path": "dev/core_generator/lib/src/field_types/uint64_field_type.dart"
    },
    {
      "type": "modify",
      "old_id": "74a3f1871d0d0873fa4190c5891b474380a9fb82",
      "old_mode": 33188,
      "old_path": "dev/defs/assets/file_asset.json",
      "new_id": "f82d9d8f9481474ab706973d31882ce7a3828da9",
      "new_mode": 33188,
      "new_path": "dev/defs/assets/file_asset.json"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "ea7a0c2cd5030b41a4f5c9c119bd62bc9fe4f426",
      "new_mode": 33188,
      "new_path": "dev/defs/assets/library_asset.json"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "726fda0c69fe074b016961789fbd2dfdaec33b88",
      "new_mode": 33188,
      "new_path": "include/rive/assets/library_asset.hpp"
    },
    {
      "type": "modify",
      "old_id": "cb0a9637c510d1d5591b6650a7f163228ee6d14a",
      "old_mode": 33188,
      "old_path": "include/rive/assets/script_asset.hpp",
      "new_id": "b5ce4d8510418050b2ece8af9a20bc4ae714cbeb",
      "new_mode": 33188,
      "new_path": "include/rive/assets/script_asset.hpp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "4ab5726082ab0fed52981f83fc34a40c51dc4d9d",
      "new_mode": 33188,
      "new_path": "include/rive/core/field_types/core_uint64_type.hpp"
    },
    {
      "type": "modify",
      "old_id": "15e3cd6d6bcbcb1574b0bf33133a00946e04c818",
      "old_mode": 33188,
      "old_path": "include/rive/generated/assets/file_asset_base.hpp",
      "new_id": "2bfa4d1a24414ae5c87126b99dc5ca72947fcbd8",
      "new_mode": 33188,
      "new_path": "include/rive/generated/assets/file_asset_base.hpp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "eab4f2bfa4464255bc1c74b38dc21a3c7a4496bc",
      "new_mode": 33188,
      "new_path": "include/rive/generated/assets/library_asset_base.hpp"
    },
    {
      "type": "modify",
      "old_id": "bd577f734761aefc4e4290c43bb5519d7f3e536b",
      "old_mode": 33188,
      "old_path": "include/rive/generated/core_registry.hpp",
      "new_id": "74534c395afbc3981fa3650ebbee6575da61fd52",
      "new_mode": 33188,
      "new_path": "include/rive/generated/core_registry.hpp"
    },
    {
      "type": "modify",
      "old_id": "90943f6d7703b91a8b0f2e3a2b253d4878d95d65",
      "old_mode": 33188,
      "old_path": "include/rive/lua/rive_lua_libs.hpp",
      "new_id": "477323087edbc5b620cbc3f2360c07d0d3ef3549",
      "new_mode": 33188,
      "new_path": "include/rive/lua/rive_lua_libs.hpp"
    },
    {
      "type": "modify",
      "old_id": "1a4310b74844f78c2f448beed4e9a641c8dccef1",
      "old_mode": 33188,
      "old_path": "include/rive/lua/scripting_vm.hpp",
      "new_id": "495d352d6a8463aaae1a2dcdbf92da5a2a5c9185",
      "new_mode": 33188,
      "new_path": "include/rive/lua/scripting_vm.hpp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "32f60d68c19ea1ce8d8550cd95a7588d49a97b4f",
      "new_mode": 33188,
      "new_path": "src/core/field_types/core_uint64_type.cpp"
    },
    {
      "type": "modify",
      "old_id": "df824406fa0b4bf5b5efa3ef1775cdd054886f26",
      "old_mode": 33188,
      "old_path": "src/file.cpp",
      "new_id": "cc203af6785a91e2864318cbca33e93b0a97e149",
      "new_mode": 33188,
      "new_path": "src/file.cpp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "1b333a5e3bbb31b1209094de34b2e16ddb9d1c16",
      "new_mode": 33188,
      "new_path": "src/generated/assets/library_asset_base.cpp"
    },
    {
      "type": "modify",
      "old_id": "457bc0737168b8ae38442828a577ef8127f75aa7",
      "old_mode": 33188,
      "old_path": "src/lua/rive_lua_libs.cpp",
      "new_id": "3bbf8f8d8a3b38a145cd26c803bcd39287de6b3b",
      "new_mode": 33188,
      "new_path": "src/lua/rive_lua_libs.cpp"
    },
    {
      "type": "modify",
      "old_id": "cfe9b4c6df044e02643e7370c3b3a34667b18d60",
      "old_mode": 33188,
      "old_path": "tests/unit_tests/assets/double_library_with_image.riv",
      "new_id": "327613efef02cc3d5b3b9f9b307a5ae4e200a7b2",
      "new_mode": 33188,
      "new_path": "tests/unit_tests/assets/double_library_with_image.riv"
    },
    {
      "type": "modify",
      "old_id": "970dbd6d29aef5596026ff9ae4b84cb38bba2893",
      "old_mode": 33188,
      "old_path": "tests/unit_tests/assets/library_data_enum_test.riv",
      "new_id": "b7f93af2786ad5dccb8ee6d951343b527b8b51e1",
      "new_mode": 33188,
      "new_path": "tests/unit_tests/assets/library_data_enum_test.riv"
    },
    {
      "type": "modify",
      "old_id": "d66dc7584983435a39bbae21e5edeb3b21a7f44a",
      "old_mode": 33188,
      "old_path": "tests/unit_tests/assets/library_export_animation_test.riv",
      "new_id": "02ab6de41ca3e76ea71160845fcefa2e99225d45",
      "new_mode": 33188,
      "new_path": "tests/unit_tests/assets/library_export_animation_test.riv"
    },
    {
      "type": "modify",
      "old_id": "ecc50fff092e785b72854825b177df6bdb4bea4a",
      "old_mode": 33188,
      "old_path": "tests/unit_tests/assets/library_export_state_machine_test.riv",
      "new_id": "9c11096a8d4429620a58b3217d88225a398809cc",
      "new_mode": 33188,
      "new_path": "tests/unit_tests/assets/library_export_state_machine_test.riv"
    },
    {
      "type": "modify",
      "old_id": "b7afbf9759cdb95fe4e628782ad51a718ac8f874",
      "old_mode": 33188,
      "old_path": "tests/unit_tests/assets/library_export_test.riv",
      "new_id": "6810557e369a56d017ed17b167e6522391672592",
      "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": "5d501f5c8509b1328c75cbba5aa8eea24c765f13",
      "new_mode": 33188,
      "new_path": "tests/unit_tests/assets/library_scope_edge_test.riv"
    },
    {
      "type": "modify",
      "old_id": "5a3446bdb54e6176acc7ddf1178a7e9a4068e4c9",
      "old_mode": 33188,
      "old_path": "tests/unit_tests/assets/library_view_model_test.riv",
      "new_id": "f2db66bf1a8721d0f16afa3c3a1128b37afbc4fe",
      "new_mode": 33188,
      "new_path": "tests/unit_tests/assets/library_view_model_test.riv"
    },
    {
      "type": "modify",
      "old_id": "ffaf355f41f0432bdbc489872030cdb48f7ee06d",
      "old_mode": 33188,
      "old_path": "tests/unit_tests/assets/library_vmtest_1_host.riv",
      "new_id": "639e2eae9cbcb8124cca8393fd75fdc4d2e3211f",
      "new_mode": 33188,
      "new_path": "tests/unit_tests/assets/library_vmtest_1_host.riv"
    },
    {
      "type": "modify",
      "old_id": "0000ab5ec9c00b88aeab367fb2daf6435e73bfa4",
      "old_mode": 33188,
      "old_path": "tests/unit_tests/assets/library_with_image.riv",
      "new_id": "920d41adfe0ae8f7398d5fa48a7a39c2db984c51",
      "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": "04359a78bec7cea9b7aeb9912477bd337ce3fc04",
      "new_mode": 33188,
      "new_path": "tests/unit_tests/assets/nested_library_scope_test.riv"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "5ca9541f33fa32876273eb95907e9d40bbfdee76",
      "new_mode": 33188,
      "new_path": "tests/unit_tests/assets/scope_probe.riv"
    },
    {
      "type": "modify",
      "old_id": "2cc35661f0eebb02f7ccaff8a66a9fa1bef4129c",
      "old_mode": 33188,
      "old_path": "tests/unit_tests/runtime/library_asset_test.cpp",
      "new_id": "d46d6e9ee3639cbf94f29a8530edd5b9ef2f8bbe",
      "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": "09f65d3fcbfdb8a6a0f49fedd5074de5f446f0fe",
      "new_mode": 33188,
      "new_path": "tests/unit_tests/runtime/scripting/scripting_scope_test.cpp"
    }
  ]
}
