Add live syncback functionality and optimize service encoding

- Introduced a new endpoint `/api/syncback` for one-click full sync from Roblox Studio to the filesystem, eliminating the need for an active WebSocket connection.
- Implemented `SyncbackRequest` and `ServiceChunk` structures to handle service-level properties and child instances during syncback.
- Enhanced `encodeService` to include ObjectValue carriers for accurate reference handling and prevent data loss.
- Updated the syncback process to utilize Luau-style relative paths for reference attributes, improving path management and consistency.
- Integrated session caching in the matching algorithm to optimize performance during syncback operations.

These changes significantly improve the live syncback experience, ensuring reliable data synchronization and enhanced performance during development.
This commit is contained in:
Joe 2026-02-18 22:34:52 -06:00
parent 7f4b5c4941
commit b47eef1173
165 changed files with 5205 additions and 206 deletions

View file

@ -21,7 +21,7 @@ add a `Class.Texture` or `Class.Decal` object to a part or union, you can:
</Grid>
<Grid item>
<figure>
<img src="../assets/modeling/textures-decals/Texture-On-Surface.jpg" alt="The same blue texture repeated eight times on a block part." width="450" />
<img src="../assets/modeling/textures-decals/Texture-On-Surface.jpg" alt="The same texture repeated eight times on a block part." width="450" />
<figcaption>Texture applied to a part (repeating)</figcaption>
</figure>
</Grid>
@ -31,13 +31,13 @@ add a `Class.Texture` or `Class.Decal` object to a part or union, you can:
<Grid item>
<figure>
<img src="../assets/modeling/textures-decals/Decal-Texture-Sample-1.png" alt="An example decal image of a light purple hexagon on top of a dark purple background." width="324" />
<figcaption>Texture image</figcaption>
<figcaption>Decal image</figcaption>
</figure>
</Grid>
<Grid item>
<figure>
<img src="../assets/modeling/textures-decals/Decal-On-Surface.jpg" alt="The same blue texture repeated eight times on a block part." width="450" />
<figcaption>Texture applied to a part (repeating)</figcaption>
<img src="../assets/modeling/textures-decals/Decal-On-Surface.jpg" alt="The same decal stretched on a block part." width="450" />
<figcaption>Decal applied to a part (stretched)</figcaption>
</figure>
</Grid>
</Grid>