@chrrxs/robloxstudio-mcp-inspector 3.4.4 → 3.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1494,7 +1494,7 @@ local function describeBridgeHealth(health)
1494
1494
  end
1495
1495
  local channel = `Bridge heartbeat {_exp} ago; client->server delay {seconds(_condition)}` .. (if health.serverToClientDelayMs ~= nil then `; server->client delay {seconds(health.serverToClientDelayMs)}.` else ".")
1496
1496
  if health.heartbeatAgeMs > BRIDGE_STALE_SECONDS * 1000 then
1497
- return `{channel} The client's MCP bridge has stopped sending heartbeats: either the client's Luau scheduler is blocked by a long-running script, or client->server messages are stalled. The game window can keep rendering in both cases.`
1497
+ return `{channel} The client's MCP bridge has stopped sending heartbeats: either the client's Studio process exited (its window was closed or killed), the client's Luau scheduler is blocked by a long-running script, or client->server messages are stalled. The game window can keep rendering in the last two cases.`
1498
1498
  end
1499
1499
  if health.requestState == "running" then
1500
1500
  local _condition_1 = health.requestRunningMs
@@ -1644,6 +1644,16 @@ local function invokeClient(call, endpoint, data, requestId)
1644
1644
  if _condition then
1645
1645
  return callFailure(call, "client_broker_disconnected", "client_broker_wait", "unknown", `Client proxy {call.target} disconnected while awaiting its response.`)
1646
1646
  end
1647
+ if call.abortOnStaleBridge then
1648
+ local health = bridgeHealth(entry, requestId, dispatchedAt)
1649
+ local _condition_1 = health.heartbeatAgeMs
1650
+ if _condition_1 == nil then
1651
+ _condition_1 = 0
1652
+ end
1653
+ if _condition_1 > BRIDGE_STALE_SECONDS * 1000 then
1654
+ return callFailure(call, "client_bridge_unresponsive", "client_broker_wait", "unknown", `{call.target} stopped sending bridge heartbeats while {endpoint} was waiting.`, health)
1655
+ end
1656
+ end
1647
1657
  if os.clock() >= call.deadlineAt then
1648
1658
  entry.lastTimeoutAt = os.clock()
1649
1659
  return callFailure(call, "client_broker_timeout", "client_broker_wait", "unknown", `{call.target} did not answer {endpoint} within {seconds(msBetween(os.clock(), call.startedAt))}.`, bridgeHealth(entry, requestId, dispatchedAt))
@@ -1783,6 +1793,132 @@ local function invokeClientCapture(entry, target, data, context)
1783
1793
  end
1784
1794
  return result
1785
1795
  end
1796
+ local LEAVE_CLIENT_ENDPOINT = "/api/multiplayer-test-leave-client"
1797
+ -- After a client confirms its leave, a heartbeat gap this long since the later of
1798
+ -- its last heartbeat and the confirmation means its Studio process has exited.
1799
+ -- Heartbeats arrive every second; the process exits within about a second.
1800
+ local LEAVE_EXIT_SILENCE_SECONDS = 3
1801
+ -- How long the server watches a confirmed leave before handing the wait back to MCP.
1802
+ local LEAVE_EXIT_MAX_WAIT_SECONDS = 15
1803
+ local LEAVE_EXIT_POLL_SECONDS = 0.1
1804
+ -- The client answers the leave request before StudioTestService.LeaveTest runs,
1805
+ -- and the engine keeps the Player of a client that left this way until its
1806
+ -- connection timeout, about 55 s later. The client's bridge heartbeat stops with
1807
+ -- its process, so once it does, the server removes the Player itself. A client
1808
+ -- that keeps sending heartbeats is still running and is left alone: kicking it
1809
+ -- would leave its window open on a disconnect dialog.
1810
+ local function completeConfirmedLeave(call, result)
1811
+ local _result = result
1812
+ if not (type(_result) == "table") then
1813
+ return result
1814
+ end
1815
+ local reply = result
1816
+ if reply.success ~= true then
1817
+ return result
1818
+ end
1819
+ local _binding = call
1820
+ local entry = _binding.entry
1821
+ local target = _binding.target
1822
+ local playerName = entry.player.Name
1823
+ local confirmedAt = Workspace:GetServerTimeNow()
1824
+ local waitUntil = math.min(call.deadlineAt, os.clock() + LEAVE_EXIT_MAX_WAIT_SECONDS)
1825
+ while true do
1826
+ if entry.player.Parent == nil then
1827
+ unregisterProxy(entry.player, entry)
1828
+ return result
1829
+ end
1830
+ if call.context.isCancelled() or not RunService:IsRunning() or entry.heartbeat == nil then
1831
+ return result
1832
+ end
1833
+ local silenceSeconds = Workspace:GetServerTimeNow() - math.max(entry.heartbeat.receivedAt, confirmedAt)
1834
+ if silenceSeconds > LEAVE_EXIT_SILENCE_SECONDS then
1835
+ break
1836
+ end
1837
+ local remaining = waitUntil - os.clock()
1838
+ if remaining <= 0 then
1839
+ return result
1840
+ end
1841
+ task.wait(math.min(LEAVE_EXIT_POLL_SECONDS, remaining))
1842
+ end
1843
+ local kicked, kickError = pcall(function()
1844
+ return entry.player:Kick("The MCP server removed this client after it left the test.")
1845
+ end)
1846
+ if not kicked then
1847
+ local _object = table.clone(reply)
1848
+ setmetatable(_object, nil)
1849
+ _object.message = `{target} confirmed the leave and its MCP bridge stopped, but removing its Player {playerName} from the server failed: {tostring(kickError)}`
1850
+ return _object
1851
+ end
1852
+ unregisterProxy(entry.player, entry)
1853
+ local _object = table.clone(reply)
1854
+ setmetatable(_object, nil)
1855
+ _object.removedByServer = true
1856
+ _object.localPlayer = playerName
1857
+ _object.message = `{target} left and its Studio process exited. The server removed its Player {playerName} instead of waiting out the engine's connection timeout.`
1858
+ return _object
1859
+ end
1860
+ -- A client whose Studio process exited keeps its Player on the server until the
1861
+ -- engine's connection timeout, a minute or more later, but its bridge heartbeat
1862
+ -- stops at once. So the leave request stops waiting when the heartbeat goes
1863
+ -- stale, and the server removes the Player itself: the caller asked for the
1864
+ -- client to leave, and the client can no longer do it.
1865
+ local function leaveClient(entry, target, data, context)
1866
+ local call = beginClientCall(entry, target, LEAVE_CLIENT_ENDPOINT, context)
1867
+ call.abortOnStaleBridge = true
1868
+ local failure = admitClientCall(call)
1869
+ if failure == nil then
1870
+ local outcome = invokeClient(call, LEAVE_CLIENT_ENDPOINT, data)
1871
+ if outcome.ok then
1872
+ return completeConfirmedLeave(call, outcome.result)
1873
+ end
1874
+ failure = outcome.failure
1875
+ end
1876
+ local playerName = entry.player.Name
1877
+ if entry.player.Parent == nil then
1878
+ unregisterProxy(entry.player, entry)
1879
+ return {
1880
+ success = true,
1881
+ alreadyLeft = true,
1882
+ localPlayer = playerName,
1883
+ message = `{target} had already left (its Player is no longer in the server).`,
1884
+ }
1885
+ end
1886
+ if failure.error ~= "client_broker_timeout" and failure.error ~= "client_bridge_unresponsive" then
1887
+ return failure
1888
+ end
1889
+ local kicked, kickError = pcall(function()
1890
+ return entry.player:Kick("The MCP server removed this client: its bridge stopped answering a leave request.")
1891
+ end)
1892
+ if not kicked then
1893
+ local _object = table.clone(failure)
1894
+ setmetatable(_object, nil)
1895
+ _object.message = `{failure.message} Removing its Player from the server also failed: {tostring(kickError)}`
1896
+ return _object
1897
+ end
1898
+ unregisterProxy(entry.player, entry)
1899
+ local health = failure.bridge
1900
+ local _result = health
1901
+ if _result ~= nil then
1902
+ _result = _result.heartbeatAgeMs
1903
+ end
1904
+ local silence = if _result ~= nil then `its MCP bridge last sent a heartbeat {seconds(health.heartbeatAgeMs)} ago` else "no heartbeat has arrived from its MCP bridge"
1905
+ local _result_1 = health
1906
+ if _result_1 ~= nil then
1907
+ _result_1 = _result_1.heartbeatAgeMs
1908
+ end
1909
+ local _condition = _result_1 == nil
1910
+ if not _condition then
1911
+ _condition = health.heartbeatAgeMs > BRIDGE_STALE_SECONDS * 1000
1912
+ end
1913
+ local cause = if _condition then "so its Studio process probably exited (window closed or killed) or is frozen" else "so the server-client channel is backlogged"
1914
+ return {
1915
+ success = true,
1916
+ removedByServer = true,
1917
+ localPlayer = playerName,
1918
+ bridge = health,
1919
+ message = `{target} did not answer the leave request and {silence}, {cause}. The server removed its Player {playerName}.`,
1920
+ }
1921
+ end
1786
1922
  local function dispatchClientRequest(peerId, target, endpoint, data, context)
1787
1923
  if endpoint == "/api/capture-script-profiler" then
1788
1924
  context.executionOutcome = "not_executed"
@@ -1829,6 +1965,9 @@ local function dispatchClientRequest(peerId, target, endpoint, data, context)
1829
1965
  if endpoint == "/api/capture-script-profiler" then
1830
1966
  return invokeClientOnce(entry, target, endpoint, data, context, CLIENT_PROFILER_MAX_WAIT_SECONDS, CLIENT_RESPONSE_RESERVE_SECONDS)
1831
1967
  end
1968
+ if endpoint == LEAVE_CLIENT_ENDPOINT then
1969
+ return leaveClient(entry, target, data, context)
1970
+ end
1832
1971
  if endpoint == "/api/capture-studio" then
1833
1972
  return invokeClientCapture(entry, target, data, context)
1834
1973
  end
@@ -1999,12 +2138,29 @@ local function setupServerBroker()
1999
2138
  disconnectAllProxies()
2000
2139
  end)
2001
2140
  end
2141
+ -- Client Peers this server still brokers. MCP drops a client role whose Player
2142
+ -- left even when the proxy's disconnect notice has not reached it yet.
2143
+ local function describeClientProxies()
2144
+ local clients = {}
2145
+ for peerId, entry in proxyByPeerId do
2146
+ local _arg0 = {
2147
+ peerId = peerId,
2148
+ role = entry.role,
2149
+ player = entry.player.Name,
2150
+ playerPresent = entry.player.Parent ~= nil,
2151
+ heartbeatAgeMs = bridgeHealth(entry).heartbeatAgeMs,
2152
+ }
2153
+ table.insert(clients, _arg0)
2154
+ end
2155
+ return clients
2156
+ end
2002
2157
  return {
2003
2158
  DEFAULT_MCP_URL = DEFAULT_MCP_URL,
2004
2159
  setServerUrl = setServerUrl,
2005
2160
  disconnectAllProxies = disconnectAllProxies,
2006
2161
  refreshAllProxyRegistrations = refreshAllProxyRegistrations,
2007
2162
  dispatchClientRequest = dispatchClientRequest,
2163
+ describeClientProxies = describeClientProxies,
2008
2164
  forkRole = forkRole,
2009
2165
  setupClientBroker = setupClientBroker,
2010
2166
  setupServerBroker = setupServerBroker,
@@ -2047,6 +2203,7 @@ local ServerUrlSettings = TS.import(script, script.Parent, "ServerUrlSettings")
2047
2203
  local PluginSession = TS.import(script, script.Parent, "PluginSession")
2048
2204
  local StudioWebSocket = TS.import(script, script.Parent, "StudioWebSocket")
2049
2205
  local PathGuard = TS.import(script, script.Parent, "PathGuard")
2206
+ TestHandlers.setClientProxyDescriber(ClientBroker.describeClientProxies)
2050
2207
  local assignedRole
2051
2208
  local lastReadyPlaceKey
2052
2209
  local initialRole = PluginSession.getRole()
@@ -2440,6 +2597,130 @@ return {
2440
2597
  </Properties>
2441
2598
  </Item>
2442
2599
  <Item class="ModuleScript" referent="7">
2600
+ <Properties>
2601
+ <string name="Name">DeviceScreen</string>
2602
+ <string name="Source"><![CDATA[-- Compiled with roblox-ts v3.0.0
2603
+ -- Under Studio's Device Simulator, Camera.ViewportSize is only the device safe
2604
+ -- area, while VirtualInput reads positions in full device-screen pixels (safe
2605
+ -- area insets included). Screenshots must be returned in that full-screen
2606
+ -- grid, and how each capture path renders the screen differs (StudioCapture
2607
+ -- squeezes it into the viewport size, CaptureService returns it unsqueezed at
2608
+ -- a smaller scale), so captures report the full screen size and the server
2609
+ -- resamples to it. Without the simulator both sizes match.
2610
+ local IDENTITY_SCALE = {
2611
+ x = 1,
2612
+ y = 1,
2613
+ }
2614
+ local PROBE_GUI_NAME = "__MCPScreenProbe"
2615
+ -- A freshly parented frame normally has its layout on first read; if not, a
2616
+ -- few frames settle it. Bounded so a stalled window cannot hang input.
2617
+ local PROBE_LAYOUT_TIMEOUT = 0.5
2618
+ -- Sub-pixel differences are rounding between the camera and the GUI layout.
2619
+ local function axisScale(fullSize, viewportSize)
2620
+ if not (fullSize > 0) or not (viewportSize > 0) then
2621
+ return 1
2622
+ end
2623
+ if math.abs(fullSize - viewportSize) < 1 then
2624
+ return 1
2625
+ end
2626
+ return fullSize / viewportSize
2627
+ end
2628
+ local function screenScale(full, viewport)
2629
+ if full == nil or viewport == nil then
2630
+ return IDENTITY_SCALE
2631
+ end
2632
+ return {
2633
+ x = axisScale(full.width, viewport.width),
2634
+ y = axisScale(full.height, viewport.height),
2635
+ }
2636
+ end
2637
+ local function isScaled(scale)
2638
+ return scale.x ~= 1 or scale.y ~= 1
2639
+ end
2640
+ local function viewportSize()
2641
+ local camera = game:GetService("Workspace").CurrentCamera
2642
+ if camera == nil then
2643
+ return nil
2644
+ end
2645
+ local size = camera.ViewportSize
2646
+ return {
2647
+ width = size.X,
2648
+ height = size.Y,
2649
+ }
2650
+ end
2651
+ -- Size of a full-screen frame that ignores both the top bar inset and the
2652
+ -- device safe area insets: the space VirtualInput positions are read in.
2653
+ local function fullScreenSize()
2654
+ local probe = Instance.new("ScreenGui")
2655
+ local ok, measured = pcall(function()
2656
+ probe.Name = PROBE_GUI_NAME
2657
+ probe.IgnoreGuiInset = true
2658
+ probe.ScreenInsets = Enum.ScreenInsets.None
2659
+ probe.SafeAreaCompatibility = Enum.SafeAreaCompatibility.None
2660
+ probe.ResetOnSpawn = false
2661
+ local frame = Instance.new("Frame")
2662
+ frame.Size = UDim2.fromScale(1, 1)
2663
+ frame.BackgroundTransparency = 1
2664
+ frame.Parent = probe
2665
+ probe.Parent = game:GetService("CoreGui")
2666
+ local size = frame.AbsoluteSize
2667
+ local start = os.clock()
2668
+ while (size.X <= 0 or size.Y <= 0) and os.clock() - start < PROBE_LAYOUT_TIMEOUT do
2669
+ game:GetService("RunService").Heartbeat:Wait()
2670
+ size = frame.AbsoluteSize
2671
+ end
2672
+ return size
2673
+ end)
2674
+ probe:Destroy()
2675
+ if not ok or measured.X <= 0 or measured.Y <= 0 then
2676
+ return nil
2677
+ end
2678
+ return {
2679
+ width = measured.X,
2680
+ height = measured.Y,
2681
+ }
2682
+ end
2683
+ local function measureScreenScale()
2684
+ local viewport = viewportSize()
2685
+ if viewport == nil then
2686
+ return IDENTITY_SCALE
2687
+ end
2688
+ return screenScale(fullScreenSize(), viewport)
2689
+ end
2690
+ local function isDeviceSimulating()
2691
+ local ok, device = pcall(function()
2692
+ return game:GetService("StudioDeviceSimulatorService"):GetDeviceAsync()
2693
+ end)
2694
+ return ok and type(device) == "string" and device ~= "default"
2695
+ end
2696
+ -- The full device screen, only when it differs from the viewport; captures
2697
+ -- report it so the server can resample the image into input space.
2698
+ local function squeezedScreenSize()
2699
+ local viewport = viewportSize()
2700
+ local full = fullScreenSize()
2701
+ if viewport == nil or full == nil or not isScaled(screenScale(full, viewport)) then
2702
+ return nil
2703
+ end
2704
+ return {
2705
+ width = math.round(full.width),
2706
+ height = math.round(full.height),
2707
+ }
2708
+ end
2709
+ return {
2710
+ axisScale = axisScale,
2711
+ screenScale = screenScale,
2712
+ isScaled = isScaled,
2713
+ viewportSize = viewportSize,
2714
+ fullScreenSize = fullScreenSize,
2715
+ measureScreenScale = measureScreenScale,
2716
+ isDeviceSimulating = isDeviceSimulating,
2717
+ squeezedScreenSize = squeezedScreenSize,
2718
+ IDENTITY_SCALE = IDENTITY_SCALE,
2719
+ }
2720
+ ]]></string>
2721
+ </Properties>
2722
+ </Item>
2723
+ <Item class="ModuleScript" referent="8">
2443
2724
  <Properties>
2444
2725
  <string name="Name">EvalBridges</string>
2445
2726
  <string name="Source"><![CDATA[-- Compiled with roblox-ts v3.0.0
@@ -2560,9 +2841,9 @@ local function computeBridgeStamp()
2560
2841
  for i = 1, #combined do
2561
2842
  h = (h * 33 + (string.byte(combined, i))) % 2147483647
2562
2843
  end
2563
- -- "3.4.4" is replaced with the package version at package time
2844
+ -- "3.6.0" is replaced with the package version at package time
2564
2845
  -- (scripts/build-plugin.mjs injectVersion), so a release bump also restamps.
2565
- return `{tostring(h)}-3.4.4`
2846
+ return `{tostring(h)}-3.6.0`
2566
2847
  end
2567
2848
  local BRIDGE_STAMP = computeBridgeStamp()
2568
2849
  local function setSource(scriptInst, source)
@@ -2715,11 +2996,11 @@ return {
2715
2996
  ]]></string>
2716
2997
  </Properties>
2717
2998
  </Item>
2718
- <Item class="Folder" referent="8">
2999
+ <Item class="Folder" referent="9">
2719
3000
  <Properties>
2720
3001
  <string name="Name">handlers</string>
2721
3002
  </Properties>
2722
- <Item class="ModuleScript" referent="9">
3003
+ <Item class="ModuleScript" referent="10">
2723
3004
  <Properties>
2724
3005
  <string name="Name">AssetHandlers</string>
2725
3006
  <string name="Source"><![CDATA[-- Compiled with roblox-ts v3.0.0
@@ -3160,7 +3441,7 @@ return {
3160
3441
  ]]></string>
3161
3442
  </Properties>
3162
3443
  </Item>
3163
- <Item class="ModuleScript" referent="10">
3444
+ <Item class="ModuleScript" referent="11">
3164
3445
  <Properties>
3165
3446
  <string name="Name">BreakpointHandlers</string>
3166
3447
  <string name="Source"><![CDATA[-- Compiled with roblox-ts v3.0.0
@@ -3657,11 +3938,12 @@ return {
3657
3938
  ]]></string>
3658
3939
  </Properties>
3659
3940
  </Item>
3660
- <Item class="ModuleScript" referent="11">
3941
+ <Item class="ModuleScript" referent="12">
3661
3942
  <Properties>
3662
3943
  <string name="Name">CaptureHandlers</string>
3663
3944
  <string name="Source"><![CDATA[-- Compiled with roblox-ts v3.0.0
3664
3945
  local TS = require(script.Parent.Parent.Parent.include.RuntimeLib)
3946
+ local DeviceScreen = TS.import(script, script.Parent.Parent, "DeviceScreen")
3665
3947
  local RenderMonitor = TS.import(script, script.Parent.Parent, "RenderMonitor")
3666
3948
  local CaptureService = game:GetService("CaptureService")
3667
3949
  local AssetService = game:GetService("AssetService")
@@ -3926,6 +4208,7 @@ local function doStudioCapture(wantPng)
3926
4208
  return captureStudioFrame(wantPng)
3927
4209
  end)
3928
4210
  end
4211
+ local withScreenSize
3929
4212
  function captureStudioFrame(wantPng)
3930
4213
  if STUDIO_CAPTURE_FORMATS == nil then
3931
4214
  return nil
@@ -4000,7 +4283,7 @@ function captureStudioFrame(wantPng)
4000
4283
  }
4001
4284
  end
4002
4285
  local resolution = capture.Resolution
4003
- return {
4286
+ local result = {
4004
4287
  success = true,
4005
4288
  encoding = if wantPng then "png" else "rgba8",
4006
4289
  source = "StudioCaptureService",
@@ -4010,6 +4293,20 @@ function captureStudioFrame(wantPng)
4010
4293
  nativeHeight = nativeH,
4011
4294
  data = encodeBase64(captureBuffer),
4012
4295
  }
4296
+ return withScreenSize(result)
4297
+ end
4298
+ -- Under the Device Simulator the full device screen (input space) differs from
4299
+ -- the viewport and each capture path renders it differently; the server
4300
+ -- resamples the image to this size. Must run in the DataModel being rendered.
4301
+ function withScreenSize(result)
4302
+ local screen = DeviceScreen.squeezedScreenSize()
4303
+ if screen == nil then
4304
+ return result
4305
+ end
4306
+ local record = result
4307
+ record.screenWidth = screen.width
4308
+ record.screenHeight = screen.height
4309
+ return result
4013
4310
  end
4014
4311
  -- Studio-only capture endpoint. Reports `unavailable` (instead of an error) so
4015
4312
  -- the server can fall back to the legacy CaptureService path.
@@ -4029,14 +4326,17 @@ local function captureScreenshotData()
4029
4326
  if cap.error ~= nil then
4030
4327
  return cap
4031
4328
  end
4032
- return readContentToBase64(cap.contentId)
4329
+ local result = readContentToBase64(cap.contentId)
4330
+ return if type(result) == "table" and not (result.error ~= nil) then withScreenSize(result) else result
4033
4331
  end
4034
4332
  local function captureScreenshot()
4035
4333
  return captureScreenshotData()
4036
4334
  end
4037
4335
  -- Play-mode step 1 (run on the CLIENT): capture only, return the temp id.
4336
+ -- The edit DM that reads the pixels cannot measure the client's screen.
4038
4337
  local function captureBegin()
4039
- return doCaptureScreenshot()
4338
+ local cap = doCaptureScreenshot()
4339
+ return if cap.error ~= nil then cap else withScreenSize(cap)
4040
4340
  end
4041
4341
  -- Play-mode step 2 (run on EDIT): read pixels from a temp id captured elsewhere.
4042
4342
  local function captureRead(requestData)
@@ -4048,7 +4348,7 @@ local function captureRead(requestData)
4048
4348
  end
4049
4349
  return readContentToBase64(contentId)
4050
4350
  end
4051
- -- Viewport corner markers for the host-side window capture fallback.
4351
+ -- Viewport edge markers for the host-side window capture fallback.
4052
4352
  --
4053
4353
  -- Roblox's own capture APIs can be unavailable for the play viewport:
4054
4354
  -- StudioCaptureService reports CanCaptureScreenshot() == false in the play
@@ -4057,10 +4357,13 @@ end
4057
4357
  -- there on some Studio builds (observed with the Vulkan renderer). When that
4058
4358
  -- happens the MCP server grabs the whole Studio window through the host OS
4059
4359
  -- instead and needs to know where the 3D viewport sits inside that window.
4060
- -- Four small magenta squares pinned to the viewport corners give it an exact,
4061
- -- DPI-independent answer; the server hides them again before the real capture.
4360
+ -- Four small magenta squares pinned to the middle of the viewport's edges give
4361
+ -- it an exact, DPI-independent answer; the server hides them again before the
4362
+ -- real capture. Edge midpoints, not corners: simulated devices with rounded
4363
+ -- screens (iPad presets) mask the viewport corners.
4062
4364
  local MARKER_GUI_NAME = "__MCPCaptureMarkers"
4063
4365
  local MARKER_SIZE = 12
4366
+ local MARKER_LAYOUT = "edges"
4064
4367
  local MARKER_COLOR = Color3.fromRGB(255, 0, 255)
4065
4368
  -- Safety net: the server always hides the markers itself, but if it dies
4066
4369
  -- mid-capture the viewport must not stay decorated.
@@ -4314,12 +4617,12 @@ local function showMarkers(captureId)
4314
4617
  gui.DisplayOrder = 2147483647
4315
4618
  gui.ResetOnSpawn = false
4316
4619
  gui.ZIndexBehavior = Enum.ZIndexBehavior.Global
4317
- local corners = { { 0, 0 }, { 1, 0 }, { 0, 1 }, { 1, 1 } }
4318
- for _, _binding in corners do
4620
+ local edges = { { 0, 0.5 }, { 1, 0.5 }, { 0.5, 0 }, { 0.5, 1 } }
4621
+ for _, _binding in edges do
4319
4622
  local x = _binding[1]
4320
4623
  local y = _binding[2]
4321
4624
  local frame = Instance.new("Frame")
4322
- frame.Name = `Corner{x}{y}`
4625
+ frame.Name = `Edge{x}{y}`
4323
4626
  frame.AnchorPoint = Vector2.new(x, y)
4324
4627
  frame.Position = UDim2.fromScale(x, y)
4325
4628
  frame.Size = UDim2.fromOffset(MARKER_SIZE, MARKER_SIZE)
@@ -4357,6 +4660,7 @@ local function showMarkers(captureId)
4357
4660
  _object[_k] = _v
4358
4661
  end
4359
4662
  _object.markerSize = MARKER_SIZE
4663
+ _object.markerLayout = MARKER_LAYOUT
4360
4664
  _object.framesRendered = framesRendered
4361
4665
  return _object
4362
4666
  end
@@ -4408,6 +4712,7 @@ local function captureMarkers(requestData)
4408
4712
  _object[_k] = _v
4409
4713
  end
4410
4714
  _object.markerSize = MARKER_SIZE
4715
+ _object.markerLayout = MARKER_LAYOUT
4411
4716
  return _object
4412
4717
  end
4413
4718
  return {
@@ -4425,7 +4730,7 @@ return {
4425
4730
  ]]></string>
4426
4731
  </Properties>
4427
4732
  </Item>
4428
- <Item class="ModuleScript" referent="12">
4733
+ <Item class="ModuleScript" referent="13">
4429
4734
  <Properties>
4430
4735
  <string name="Name">EvalRuntimeHandlers</string>
4431
4736
  <string name="Source"><![CDATA[-- Compiled with roblox-ts v3.0.0
@@ -4579,7 +4884,7 @@ return {
4579
4884
  ]]></string>
4580
4885
  </Properties>
4581
4886
  </Item>
4582
- <Item class="ModuleScript" referent="13">
4887
+ <Item class="ModuleScript" referent="14">
4583
4888
  <Properties>
4584
4889
  <string name="Name">GenerateModelHandlers</string>
4585
4890
  <string name="Source"><![CDATA[-- Compiled with roblox-ts v3.0.0
@@ -4784,7 +5089,7 @@ return {
4784
5089
  ]]></string>
4785
5090
  </Properties>
4786
5091
  </Item>
4787
- <Item class="ModuleScript" referent="14">
5092
+ <Item class="ModuleScript" referent="15">
4788
5093
  <Properties>
4789
5094
  <string name="Name">InputHandlers</string>
4790
5095
  <string name="Source"><![CDATA[-- Compiled with roblox-ts v3.0.0
@@ -4804,22 +5109,26 @@ local TS = require(script.Parent.Parent.Parent.include.RuntimeLib)
4804
5109
  -- input would hit interactive CoreGui.
4805
5110
  --
4806
5111
  -- Verified live on a play client: move and scroll reach game scripts with
4807
- -- the device simulator stopped. Under touch device emulation the client has
4808
- -- no mouse: clicks arrive as Touch, scroll still works, but moves never reach
4809
- -- the game, so we reject move there instead of returning a false success.
5112
+ -- the device simulator stopped. Under touch device emulation clicks arrive as
5113
+ -- Touch and scroll still works, but moves never reach the game, so we reject
5114
+ -- move there instead of returning a false success. Emulation does not always
5115
+ -- clear MouseEnabled (it stays true when the simulator was on before the
5116
+ -- playtest), so a simulated device with TouchEnabled counts too. TouchEnabled
5117
+ -- alone does not: real touchscreen laptops have a working mouse.
4810
5118
  --
4811
5119
  -- SendMouseDelta is deliberately NOT exposed. It only works while the cursor
4812
5120
  -- is locked (MouseBehavior.LockCenter), and on desktop Studio holds that lock
4813
5121
  -- by pinning and hiding the user's real OS cursor — an unacceptable takeover
4814
5122
  -- of the host's input.
4815
5123
  --
4816
- -- Coordinate space: SendMouseButton coordinates are viewport pixels matching
4817
- -- what capture_screenshot returns (window space, origin at the top-left of the
4818
- -- rendered viewport). Pass screenshot pixel coordinates straight through. Note
4819
- -- that UserInputService reports input positions in GUI space, which is offset
4820
- -- from this by GuiService:GetGuiInset() (~58px on the Y axis) — irrelevant for
4821
- -- callers who pick coordinates off a screenshot, which is why we do not
4822
- -- translate here.
5124
+ -- Coordinate space: SendMouseButton coordinates are full-screen pixels with
5125
+ -- the origin at the top-left of the rendered screen. capture_screenshot
5126
+ -- returns that grid (under the Device Simulator it is resampled to the full
5127
+ -- device screen, safe-area insets included), so screenshot pixel coordinates
5128
+ -- pass straight through. UserInputService reports input positions in GUI
5129
+ -- space, offset by GuiService:GetGuiInset() (~58px on the Y axis) and any safe
5130
+ -- area inset: irrelevant for callers who pick coordinates off a screenshot.
5131
+ local DeviceScreen = TS.import(script, script.Parent.Parent, "DeviceScreen")
4823
5132
  local RenderMonitor = TS.import(script, script.Parent.Parent, "RenderMonitor")
4824
5133
  local UserInputService = game:GetService("UserInputService")
4825
5134
  -- One VirtualInput per plugin VM, reused across calls so that a key held down
@@ -4844,7 +5153,7 @@ local MOUSE_TYPE_MAP = {
4844
5153
  Right = Enum.UserInputType.MouseButton2,
4845
5154
  Middle = Enum.UserInputType.MouseButton3,
4846
5155
  }
4847
- local NO_MOUSE_ERROR = "This client has no mouse (touch device emulation is active), so cursor movement never reaches the game. " .. "Stop it with set_device_simulator stopSimulation=true, then retry."
5156
+ local NO_MOUSE_ERROR = "This client has no mouse (touch device emulation is active), so cursor movement never reaches the game. " .. 'Use action="click" (delivered as Touch), or stop emulation with set_device_simulator stopSimulation=true and retry.'
4848
5157
  local RELEASE_RETRY_NOTE = " The release will be re-sent when the window renders again."
4849
5158
  -- Releases that may not have reached the engine (sent while the window wasn't
4850
5159
  -- rendering, or the up event threw). Re-sent on the next stale→fresh frame.
@@ -4920,7 +5229,7 @@ local function simulateMouseInput(requestData)
4920
5229
  error = notRendering,
4921
5230
  }
4922
5231
  end
4923
- if action == "move" and not UserInputService.MouseEnabled then
5232
+ if action == "move" and (not UserInputService.MouseEnabled or (UserInputService.TouchEnabled and (DeviceScreen.isDeviceSimulating() or DeviceScreen.isScaled(DeviceScreen.measureScreenScale())))) then
4924
5233
  return {
4925
5234
  error = NO_MOUSE_ERROR,
4926
5235
  }
@@ -5143,7 +5452,7 @@ return {
5143
5452
  ]]></string>
5144
5453
  </Properties>
5145
5454
  </Item>
5146
- <Item class="ModuleScript" referent="15">
5455
+ <Item class="ModuleScript" referent="16">
5147
5456
  <Properties>
5148
5457
  <string name="Name">LogHandlers</string>
5149
5458
  <string name="Source"><![CDATA[-- Compiled with roblox-ts v3.0.0
@@ -5165,7 +5474,7 @@ return {
5165
5474
  ]]></string>
5166
5475
  </Properties>
5167
5476
  </Item>
5168
- <Item class="ModuleScript" referent="16">
5477
+ <Item class="ModuleScript" referent="17">
5169
5478
  <Properties>
5170
5479
  <string name="Name">MemoryHandlers</string>
5171
5480
  <string name="Source"><![CDATA[-- Compiled with roblox-ts v3.0.0
@@ -5233,7 +5542,7 @@ return {
5233
5542
  ]]></string>
5234
5543
  </Properties>
5235
5544
  </Item>
5236
- <Item class="ModuleScript" referent="17">
5545
+ <Item class="ModuleScript" referent="18">
5237
5546
  <Properties>
5238
5547
  <string name="Name">MetadataHandlers</string>
5239
5548
  <string name="Source"><![CDATA[-- Compiled with roblox-ts v3.0.0
@@ -5601,7 +5910,7 @@ return {
5601
5910
  ]]></string>
5602
5911
  </Properties>
5603
5912
  </Item>
5604
- <Item class="ModuleScript" referent="18">
5913
+ <Item class="ModuleScript" referent="19">
5605
5914
  <Properties>
5606
5915
  <string name="Name">MicroProfilerHandlers</string>
5607
5916
  <string name="Source"><![CDATA[-- Compiled with roblox-ts v3.0.0
@@ -6392,7 +6701,7 @@ return {
6392
6701
  ]]></string>
6393
6702
  </Properties>
6394
6703
  </Item>
6395
- <Item class="ModuleScript" referent="19">
6704
+ <Item class="ModuleScript" referent="20">
6396
6705
  <Properties>
6397
6706
  <string name="Name">PropertyHandlers</string>
6398
6707
  <string name="Source"><![CDATA[-- Compiled with roblox-ts v3.0.0
@@ -6909,7 +7218,7 @@ return {
6909
7218
  ]]></string>
6910
7219
  </Properties>
6911
7220
  </Item>
6912
- <Item class="ModuleScript" referent="20">
7221
+ <Item class="ModuleScript" referent="21">
6913
7222
  <Properties>
6914
7223
  <string name="Name">QueryHandlers</string>
6915
7224
  <string name="Source"><![CDATA[-- Compiled with roblox-ts v3.0.0
@@ -7557,7 +7866,7 @@ return {
7557
7866
  ]]></string>
7558
7867
  </Properties>
7559
7868
  </Item>
7560
- <Item class="ModuleScript" referent="21">
7869
+ <Item class="ModuleScript" referent="22">
7561
7870
  <Properties>
7562
7871
  <string name="Name">SceneAnalysisHandlers</string>
7563
7872
  <string name="Source"><![CDATA[-- Compiled with roblox-ts v3.0.0
@@ -7806,7 +8115,7 @@ return {
7806
8115
  ]]></string>
7807
8116
  </Properties>
7808
8117
  </Item>
7809
- <Item class="ModuleScript" referent="22">
8118
+ <Item class="ModuleScript" referent="23">
7810
8119
  <Properties>
7811
8120
  <string name="Name">ScriptHandlers</string>
7812
8121
  <string name="Source"><![CDATA[-- Compiled with roblox-ts v3.0.0
@@ -8450,7 +8759,7 @@ return {
8450
8759
  ]]></string>
8451
8760
  </Properties>
8452
8761
  </Item>
8453
- <Item class="ModuleScript" referent="23">
8762
+ <Item class="ModuleScript" referent="24">
8454
8763
  <Properties>
8455
8764
  <string name="Name">ScriptProfilerHandlers</string>
8456
8765
  <string name="Source"><![CDATA[-- Compiled with roblox-ts v3.0.0
@@ -8913,7 +9222,7 @@ return {
8913
9222
  ]]></string>
8914
9223
  </Properties>
8915
9224
  </Item>
8916
- <Item class="ModuleScript" referent="24">
9225
+ <Item class="ModuleScript" referent="25">
8917
9226
  <Properties>
8918
9227
  <string name="Name">SerializationHandlers</string>
8919
9228
  <string name="Source"><![CDATA[-- Compiled with roblox-ts v3.0.0
@@ -9099,7 +9408,7 @@ return {
9099
9408
  ]]></string>
9100
9409
  </Properties>
9101
9410
  </Item>
9102
- <Item class="ModuleScript" referent="25">
9411
+ <Item class="ModuleScript" referent="26">
9103
9412
  <Properties>
9104
9413
  <string name="Name">SimulationHandlers</string>
9105
9414
  <string name="Source"><![CDATA[-- Compiled with roblox-ts v3.0.0
@@ -9352,7 +9661,7 @@ return {
9352
9661
  ]]></string>
9353
9662
  </Properties>
9354
9663
  </Item>
9355
- <Item class="ModuleScript" referent="26">
9664
+ <Item class="ModuleScript" referent="27">
9356
9665
  <Properties>
9357
9666
  <string name="Name">TestHandlers</string>
9358
9667
  <string name="Source"><![CDATA[-- Compiled with roblox-ts v3.0.0
@@ -9364,6 +9673,12 @@ local RunService = _services.RunService
9364
9673
  local StopPlayMonitor = TS.import(script, script.Parent.Parent, "StopPlayMonitor")
9365
9674
  local PluginSession = TS.import(script, script.Parent.Parent, "PluginSession")
9366
9675
  local PeerRole = TS.import(script, script.Parent.Parent, "PeerRole")
9676
+ -- Communication injects the server broker's client list; importing ClientBroker
9677
+ -- here would pull its whole handler graph into this module.
9678
+ local describeClientProxies
9679
+ local function setClientProxyDescriber(describer)
9680
+ describeClientProxies = describer
9681
+ end
9367
9682
  local StudioTestService = game:GetService("StudioTestService")
9368
9683
  local TestService = game:GetService("TestService")
9369
9684
  local testRunning = false
@@ -9689,6 +10004,9 @@ local function multiplayerTestState(_requestData)
9689
10004
  local players = getPlayersSnapshot()
9690
10005
  response.players = players
9691
10006
  response.playerCount = #players
10007
+ if peer == "server" and describeClientProxies ~= nil then
10008
+ response.clients = describeClientProxies()
10009
+ end
9692
10010
  if peer == "client" then
9693
10011
  response.localPlayer = if Players.LocalPlayer then Players.LocalPlayer.Name else nil
9694
10012
  local canLeaveOk, canLeave = pcall(function()
@@ -9803,12 +10121,13 @@ return {
9803
10121
  multiplayerTestAddPlayers = multiplayerTestAddPlayers,
9804
10122
  multiplayerTestLeaveClient = multiplayerTestLeaveClient,
9805
10123
  multiplayerTestEnd = multiplayerTestEnd,
10124
+ setClientProxyDescriber = setClientProxyDescriber,
9806
10125
  }
9807
10126
  ]]></string>
9808
10127
  </Properties>
9809
10128
  </Item>
9810
10129
  </Item>
9811
- <Item class="ModuleScript" referent="27">
10130
+ <Item class="ModuleScript" referent="28">
9812
10131
  <Properties>
9813
10132
  <string name="Name">HttpDiagnostics</string>
9814
10133
  <string name="Source"><![CDATA[-- Compiled with roblox-ts v3.0.0
@@ -9889,7 +10208,7 @@ return {
9889
10208
  ]]></string>
9890
10209
  </Properties>
9891
10210
  </Item>
9892
- <Item class="ModuleScript" referent="28">
10211
+ <Item class="ModuleScript" referent="29">
9893
10212
  <Properties>
9894
10213
  <string name="Name">InstanceSearch</string>
9895
10214
  <string name="Source"><![CDATA[-- Compiled with roblox-ts v3.0.0
@@ -10049,7 +10368,7 @@ return {
10049
10368
  ]]></string>
10050
10369
  </Properties>
10051
10370
  </Item>
10052
- <Item class="ModuleScript" referent="29">
10371
+ <Item class="ModuleScript" referent="30">
10053
10372
  <Properties>
10054
10373
  <string name="Name">LuauExec</string>
10055
10374
  <string name="Source"><![CDATA[-- Compiled with roblox-ts v3.0.0
@@ -10483,7 +10802,7 @@ return {
10483
10802
  ]]></string>
10484
10803
  </Properties>
10485
10804
  </Item>
10486
- <Item class="ModuleScript" referent="30">
10805
+ <Item class="ModuleScript" referent="31">
10487
10806
  <Properties>
10488
10807
  <string name="Name">PathAmbiguity</string>
10489
10808
  <string name="Source"><![CDATA[-- Compiled with roblox-ts v3.0.0
@@ -10632,7 +10951,7 @@ return {
10632
10951
  ]]></string>
10633
10952
  </Properties>
10634
10953
  </Item>
10635
- <Item class="ModuleScript" referent="31">
10954
+ <Item class="ModuleScript" referent="32">
10636
10955
  <Properties>
10637
10956
  <string name="Name">PathGuard</string>
10638
10957
  <string name="Source"><![CDATA[-- Compiled with roblox-ts v3.0.0
@@ -10807,7 +11126,7 @@ return {
10807
11126
  ]]></string>
10808
11127
  </Properties>
10809
11128
  </Item>
10810
- <Item class="ModuleScript" referent="32">
11129
+ <Item class="ModuleScript" referent="33">
10811
11130
  <Properties>
10812
11131
  <string name="Name">PeerRole</string>
10813
11132
  <string name="Source"><![CDATA[-- Compiled with roblox-ts v3.0.0
@@ -10828,7 +11147,7 @@ return {
10828
11147
  ]]></string>
10829
11148
  </Properties>
10830
11149
  </Item>
10831
- <Item class="ModuleScript" referent="33">
11150
+ <Item class="ModuleScript" referent="34">
10832
11151
  <Properties>
10833
11152
  <string name="Name">PlaytestTickets</string>
10834
11153
  <string name="Source"><![CDATA[-- Compiled with roblox-ts v3.0.0
@@ -11009,7 +11328,7 @@ return {
11009
11328
  ]]></string>
11010
11329
  </Properties>
11011
11330
  </Item>
11012
- <Item class="ModuleScript" referent="34">
11331
+ <Item class="ModuleScript" referent="35">
11013
11332
  <Properties>
11014
11333
  <string name="Name">PluginSession</string>
11015
11334
  <string name="Source"><![CDATA[-- Compiled with roblox-ts v3.0.0
@@ -11676,7 +11995,7 @@ return {
11676
11995
  ]]></string>
11677
11996
  </Properties>
11678
11997
  </Item>
11679
- <Item class="ModuleScript" referent="35">
11998
+ <Item class="ModuleScript" referent="36">
11680
11999
  <Properties>
11681
12000
  <string name="Name">Recording</string>
11682
12001
  <string name="Source"><![CDATA[-- Compiled with roblox-ts v3.0.0
@@ -11706,7 +12025,7 @@ return {
11706
12025
  ]]></string>
11707
12026
  </Properties>
11708
12027
  </Item>
11709
- <Item class="ModuleScript" referent="36">
12028
+ <Item class="ModuleScript" referent="37">
11710
12029
  <Properties>
11711
12030
  <string name="Name">RenderMonitor</string>
11712
12031
  <string name="Source"><![CDATA[-- Compiled with roblox-ts v3.0.0
@@ -11791,7 +12110,7 @@ return {
11791
12110
  ]]></string>
11792
12111
  </Properties>
11793
12112
  </Item>
11794
- <Item class="ModuleScript" referent="37">
12113
+ <Item class="ModuleScript" referent="38">
11795
12114
  <Properties>
11796
12115
  <string name="Name">RuntimeLogBuffer</string>
11797
12116
  <string name="Source"><![CDATA[-- Compiled with roblox-ts v3.0.0
@@ -12027,7 +12346,7 @@ return {
12027
12346
  ]]></string>
12028
12347
  </Properties>
12029
12348
  </Item>
12030
- <Item class="ModuleScript" referent="38">
12349
+ <Item class="ModuleScript" referent="39">
12031
12350
  <Properties>
12032
12351
  <string name="Name">ScriptClasses</string>
12033
12352
  <string name="Source"><![CDATA[-- Compiled with roblox-ts v3.0.0
@@ -12062,7 +12381,7 @@ return {
12062
12381
  ]]></string>
12063
12382
  </Properties>
12064
12383
  </Item>
12065
- <Item class="ModuleScript" referent="39">
12384
+ <Item class="ModuleScript" referent="40">
12066
12385
  <Properties>
12067
12386
  <string name="Name">ScriptEdits</string>
12068
12387
  <string name="Source"><![CDATA[-- Compiled with roblox-ts v3.0.0
@@ -12505,7 +12824,7 @@ return {
12505
12824
  ]]></string>
12506
12825
  </Properties>
12507
12826
  </Item>
12508
- <Item class="ModuleScript" referent="40">
12827
+ <Item class="ModuleScript" referent="41">
12509
12828
  <Properties>
12510
12829
  <string name="Name">ScriptReplace</string>
12511
12830
  <string name="Source"><![CDATA[-- Compiled with roblox-ts v3.0.0
@@ -13058,7 +13377,7 @@ return {
13058
13377
  ]]></string>
13059
13378
  </Properties>
13060
13379
  </Item>
13061
- <Item class="ModuleScript" referent="41">
13380
+ <Item class="ModuleScript" referent="42">
13062
13381
  <Properties>
13063
13382
  <string name="Name">ScriptSearch</string>
13064
13383
  <string name="Source"><![CDATA[-- Compiled with roblox-ts v3.0.0
@@ -13409,7 +13728,7 @@ return {
13409
13728
  ]]></string>
13410
13729
  </Properties>
13411
13730
  </Item>
13412
- <Item class="ModuleScript" referent="42">
13731
+ <Item class="ModuleScript" referent="43">
13413
13732
  <Properties>
13414
13733
  <string name="Name">ServerUrlSettings</string>
13415
13734
  <string name="Source"><![CDATA[-- Compiled with roblox-ts v3.0.0
@@ -13523,11 +13842,11 @@ return {
13523
13842
  ]]></string>
13524
13843
  </Properties>
13525
13844
  </Item>
13526
- <Item class="ModuleScript" referent="43">
13845
+ <Item class="ModuleScript" referent="44">
13527
13846
  <Properties>
13528
13847
  <string name="Name">State</string>
13529
13848
  <string name="Source"><![CDATA[-- Compiled with roblox-ts v3.0.0
13530
- local CURRENT_VERSION = "3.4.4"
13849
+ local CURRENT_VERSION = "3.6.0"
13531
13850
  local PLUGIN_VARIANT = "inspector"
13532
13851
  local BASE_PORT = 58741
13533
13852
  local SENSITIVE_DIAGNOSTIC_TERMS = { "token", "authorization", "bearer", "password", "cookie", "secret" }
@@ -13665,7 +13984,7 @@ return {
13665
13984
  ]]></string>
13666
13985
  </Properties>
13667
13986
  </Item>
13668
- <Item class="ModuleScript" referent="44">
13987
+ <Item class="ModuleScript" referent="45">
13669
13988
  <Properties>
13670
13989
  <string name="Name">StopPlayMonitor</string>
13671
13990
  <string name="Source"><![CDATA[-- Compiled with roblox-ts v3.0.0
@@ -13951,7 +14270,7 @@ return {
13951
14270
  ]]></string>
13952
14271
  </Properties>
13953
14272
  </Item>
13954
- <Item class="ModuleScript" referent="45">
14273
+ <Item class="ModuleScript" referent="46">
13955
14274
  <Properties>
13956
14275
  <string name="Name">StudioWebSocket</string>
13957
14276
  <string name="Source"><![CDATA[-- Compiled with roblox-ts v3.0.0
@@ -15109,7 +15428,7 @@ return {
15109
15428
  ]]></string>
15110
15429
  </Properties>
15111
15430
  </Item>
15112
- <Item class="ModuleScript" referent="46">
15431
+ <Item class="ModuleScript" referent="47">
15113
15432
  <Properties>
15114
15433
  <string name="Name">TopologyId</string>
15115
15434
  <string name="Source"><![CDATA[-- Compiled with roblox-ts v3.0.0
@@ -15154,7 +15473,7 @@ return {
15154
15473
  ]]></string>
15155
15474
  </Properties>
15156
15475
  </Item>
15157
- <Item class="ModuleScript" referent="47">
15476
+ <Item class="ModuleScript" referent="48">
15158
15477
  <Properties>
15159
15478
  <string name="Name">UI</string>
15160
15479
  <string name="Source"><![CDATA[-- Compiled with roblox-ts v3.0.0
@@ -15679,7 +15998,7 @@ return {
15679
15998
  ]]></string>
15680
15999
  </Properties>
15681
16000
  </Item>
15682
- <Item class="ModuleScript" referent="48">
16001
+ <Item class="ModuleScript" referent="49">
15683
16002
  <Properties>
15684
16003
  <string name="Name">Utils</string>
15685
16004
  <string name="Source"><![CDATA[-- Compiled with roblox-ts v3.0.0
@@ -16551,11 +16870,11 @@ return {
16551
16870
  </Properties>
16552
16871
  </Item>
16553
16872
  </Item>
16554
- <Item class="Folder" referent="53">
16873
+ <Item class="Folder" referent="54">
16555
16874
  <Properties>
16556
16875
  <string name="Name">include</string>
16557
16876
  </Properties>
16558
- <Item class="ModuleScript" referent="49">
16877
+ <Item class="ModuleScript" referent="50">
16559
16878
  <Properties>
16560
16879
  <string name="Name">LibMP</string>
16561
16880
  <string name="Source"><![CDATA[-- LibMP for Luau
@@ -121560,7 +121879,7 @@ return LibMP
121560
121879
  ]]></string>
121561
121880
  </Properties>
121562
121881
  </Item>
121563
- <Item class="ModuleScript" referent="50">
121882
+ <Item class="ModuleScript" referent="51">
121564
121883
  <Properties>
121565
121884
  <string name="Name">Promise</string>
121566
121885
  <string name="Source"><![CDATA[--[[
@@ -123634,7 +123953,7 @@ return Promise
123634
123953
  ]]></string>
123635
123954
  </Properties>
123636
123955
  </Item>
123637
- <Item class="ModuleScript" referent="51">
123956
+ <Item class="ModuleScript" referent="52">
123638
123957
  <Properties>
123639
123958
  <string name="Name">RuntimeLib</string>
123640
123959
  <string name="Source"><![CDATA[local Promise = require(script.Parent.Promise)
@@ -123901,15 +124220,15 @@ return TS
123901
124220
  </Properties>
123902
124221
  </Item>
123903
124222
  </Item>
123904
- <Item class="Folder" referent="54">
124223
+ <Item class="Folder" referent="55">
123905
124224
  <Properties>
123906
124225
  <string name="Name">node_modules</string>
123907
124226
  </Properties>
123908
- <Item class="Folder" referent="55">
124227
+ <Item class="Folder" referent="56">
123909
124228
  <Properties>
123910
124229
  <string name="Name">@rbxts</string>
123911
124230
  </Properties>
123912
- <Item class="ModuleScript" referent="52">
124231
+ <Item class="ModuleScript" referent="53">
123913
124232
  <Properties>
123914
124233
  <string name="Name">services</string>
123915
124234
  <string name="Source"><![CDATA[return setmetatable({}, {