dominus-cli 2.2.0 → 2.2.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/CHANGELOG.md +18 -0
- package/README.md +19 -11
- package/dist/bridge-daemon.js +581 -0
- package/dist/bridge-daemon.js.map +1 -0
- package/dist/install-plugin.js +497 -27
- package/dist/install-plugin.js.map +1 -1
- package/dist/mcp.js +119 -464
- package/dist/mcp.js.map +1 -1
- package/package.json +1 -1
- package/plugin/Dominus.rbxmx +7 -3
- package/plugin/default.project.json +4 -1
- package/plugin/src/init.server.lua +5 -1
package/package.json
CHANGED
package/plugin/Dominus.rbxmx
CHANGED
|
@@ -2,8 +2,12 @@
|
|
|
2
2
|
<Item class="Script" referent="0">
|
|
3
3
|
<Properties>
|
|
4
4
|
<string name="Name">Dominus</string>
|
|
5
|
-
<token name="RunContext">
|
|
6
|
-
<string name="Source"><![CDATA[
|
|
5
|
+
<token name="RunContext">3</token>
|
|
6
|
+
<string name="Source"><![CDATA[if script.RunContext ~= Enum.RunContext.Plugin then
|
|
7
|
+
return
|
|
8
|
+
end
|
|
9
|
+
|
|
10
|
+
local HttpService = game:GetService("HttpService")
|
|
7
11
|
|
|
8
12
|
local EmbeddedBridgeToken = require(script.BridgeConfig)
|
|
9
13
|
local CommandRouter = require(script.CommandRouter)
|
|
@@ -121,7 +125,7 @@ local function handleMessage(rawMessage)
|
|
|
121
125
|
end
|
|
122
126
|
|
|
123
127
|
if message.type == "server:auth_rejected" then
|
|
124
|
-
warn("[Dominus 2] Authentication failed. Run dominus-install-plugin
|
|
128
|
+
warn("[Dominus 2] Authentication failed. Run dominus-install-plugin to refresh the local plugin.")
|
|
125
129
|
WsClient.disconnect()
|
|
126
130
|
return
|
|
127
131
|
end
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
if script.RunContext ~= Enum.RunContext.Plugin then
|
|
2
|
+
return
|
|
3
|
+
end
|
|
4
|
+
|
|
1
5
|
local HttpService = game:GetService("HttpService")
|
|
2
6
|
|
|
3
7
|
local EmbeddedBridgeToken = require(script.BridgeConfig)
|
|
@@ -116,7 +120,7 @@ local function handleMessage(rawMessage)
|
|
|
116
120
|
end
|
|
117
121
|
|
|
118
122
|
if message.type == "server:auth_rejected" then
|
|
119
|
-
warn("[Dominus 2] Authentication failed. Run dominus-install-plugin
|
|
123
|
+
warn("[Dominus 2] Authentication failed. Run dominus-install-plugin to refresh the local plugin.")
|
|
120
124
|
WsClient.disconnect()
|
|
121
125
|
return
|
|
122
126
|
end
|