roport 1.2.0 → 1.3.1

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.
package/bin/roport.js CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env node
2
2
 
3
3
  const { program } = require('commander');
4
4
  const { startServer } = require('../src/server');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "roport",
3
- "version": "1.2.0",
3
+ "version": "1.3.1",
4
4
  "description": "A sync server for Roblox development. Works with the Roport Roblox Plugin. Features AI integration and full project sync.",
5
5
  "main": "src/server.js",
6
6
  "bin": {
@@ -12,7 +12,7 @@ local RunService = game:GetService("RunService")
12
12
  local TweenService = game:GetService("TweenService")
13
13
  local ScriptEditorService = game:GetService("ScriptEditorService")
14
14
 
15
- print("Roport Plugin v1.3.0 Loaded (Project Config Support)")
15
+ print("Roport Plugin v1.3.1 Loaded (Project Config Support)")
16
16
 
17
17
  -- Prevent running as a normal script
18
18
  if not plugin then return end
@@ -331,7 +331,7 @@ statusText.Parent = statusFrame
331
331
 
332
332
  -- Helper Functions (Global)
333
333
  local function sanitize(name)
334
- return name:gsub("[\\/:*?\"<>|]", "_")
334
+ return (name:gsub("[\\/:*?\"<>|]", "_"))
335
335
  end
336
336
 
337
337
  local function resolveRobloxService(robloxPathArray)
@@ -361,7 +361,7 @@ local function getPath(inst)
361
361
  local relative = {}
362
362
  local current = inst
363
363
  while current ~= root do
364
- table.insert(relative, 1, sanitize(current.Name))
364
+ table.insert(relative, 1, (sanitize(current.Name)))
365
365
  current = current.Parent
366
366
  end
367
367
 
@@ -788,6 +788,8 @@ local function createSettingInput(label, default, callback)
788
788
  end)
789
789
  end
790
790
 
791
+ if not state.settings then state.settings = { port = 3456, syncInterval = 2 } end
792
+
791
793
  createSettingInput("Server Port", state.settings.port, function(val)
792
794
  local n = tonumber(val)
793
795
  if n then