lycheedev 1.0.0 → 1.0.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/lycheedev.js +21 -6
- package/package.json +1 -1
- package/vendor/addon/Core/Bootstrap.lua +131 -131
- package/vendor/addon/Core/Clients/Mainline.lua +9 -9
- package/vendor/addon/Core/Clients/Mists.lua +9 -9
- package/vendor/addon/Core/Clients/Titan.lua +9 -9
- package/vendor/addon/Core/Compatibility.lua +43 -43
- package/vendor/addon/Core/Database.lua +859 -859
- package/vendor/addon/Core/Inspector.lua +647 -647
- package/vendor/addon/Core/Locale.lua +307 -307
- package/vendor/addon/Core/Locale_enUS.lua +318 -318
- package/vendor/addon/Core/Safety.lua +42 -42
- package/vendor/addon/Core/Serializer.lua +324 -324
- package/vendor/addon/Libs/AutomationQR.lua +1176 -1176
- package/vendor/addon/Lychee Dev_Mainline.toc +43 -43
- package/vendor/addon/Lychee Dev_Mists.toc +43 -43
- package/vendor/addon/Lychee Dev_Wrath.toc +43 -43
- package/vendor/addon/Modules/Automation/Controller.lua +757 -757
- package/vendor/addon/Modules/Automation/Report.lua +409 -409
- package/vendor/addon/Modules/Automation/auto/auto.lua +12 -12
- package/vendor/addon/Modules/Diagnostics.lua +238 -238
- package/vendor/addon/Modules/Events/Catalog.lua +184 -184
- package/vendor/addon/Modules/Events/CatalogData_Mainline.lua +1788 -1788
- package/vendor/addon/Modules/Events/CatalogData_Mists.lua +1489 -1489
- package/vendor/addon/Modules/Events/CatalogData_Titan.lua +1492 -1492
- package/vendor/addon/Modules/Events/Monitor.lua +181 -181
- package/vendor/addon/Modules/FunctionTrace.lua +85 -85
- package/vendor/addon/Modules/ObjectInspector.lua +329 -329
- package/vendor/addon/UI/AutomationOverlay.lua +183 -183
- package/vendor/addon/UI/Export.lua +140 -140
- package/vendor/addon/UI/Features.lua +890 -890
- package/vendor/addon/UI/MainWindow.lua +1145 -1145
- package/vendor/addon/UI/Pages/About.lua +223 -223
- package/vendor/addon/UI/Pages/Automation.lua +417 -417
- package/vendor/addon/UI/Pages/Diagnostics.lua +289 -289
- package/vendor/addon/UI/Pages/ExportRecords.lua +387 -387
- package/vendor/addon/UI/Pages/Object.lua +573 -573
- package/vendor/addon/UI/Pages/Trace.lua +165 -165
- package/vendor/skill/SKILL.md +94 -94
- package/vendor/skill/agents/openai.yaml +4 -4
- package/vendor/skill/references/automation.md +327 -327
- package/vendor/skill/references/runtime-investigations.md +97 -97
- package/vendor/skill/scripts/automation/__init__.py +1 -1
- package/vendor/skill/scripts/automation/registry.py +516 -516
- package/vendor/skill/scripts/automation/saved_variables.py +438 -438
- package/vendor/skill/scripts/automation/session.py +207 -207
- package/vendor/skill/scripts/automation/windows.py +573 -573
- package/vendor/skill/scripts/automation.py +865 -865
- package/vendor/skill/scripts/requirements.txt +13 -13
- package/vendor/skill/scripts/selftest_offline.py +981 -981
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
local ADDON_NAME, ns = ...
|
|
2
|
-
|
|
3
|
-
local shutdownCallbacks = {}
|
|
4
|
-
local driver
|
|
5
|
-
|
|
6
|
-
function ns.IsCombatBlocked()
|
|
7
|
-
if not InCombatLockdown then
|
|
8
|
-
return false
|
|
9
|
-
end
|
|
10
|
-
local blocked = InCombatLockdown()
|
|
11
|
-
if issecretvalue and issecretvalue(blocked) then
|
|
12
|
-
return true
|
|
13
|
-
end
|
|
14
|
-
return blocked and true or false
|
|
15
|
-
end
|
|
16
|
-
|
|
17
|
-
function ns.RegisterCombatShutdown(callback)
|
|
18
|
-
if type(callback) == "function" then
|
|
19
|
-
shutdownCallbacks[#shutdownCallbacks + 1] = callback
|
|
20
|
-
end
|
|
21
|
-
end
|
|
22
|
-
|
|
23
|
-
local function ShutdownForCombat()
|
|
24
|
-
for index = 1, #shutdownCallbacks do
|
|
25
|
-
pcall(shutdownCallbacks[index])
|
|
26
|
-
end
|
|
27
|
-
end
|
|
28
|
-
|
|
29
|
-
function ns.EnsureSafety()
|
|
30
|
-
if driver then
|
|
31
|
-
return
|
|
32
|
-
end
|
|
33
|
-
driver = CreateFrame("Frame")
|
|
34
|
-
driver:RegisterEvent("PLAYER_REGEN_DISABLED")
|
|
35
|
-
driver:SetScript("OnEvent", ShutdownForCombat)
|
|
36
|
-
end
|
|
37
|
-
|
|
38
|
-
function ns.PrintCombatBlocked()
|
|
39
|
-
print("|cffd83b4eLychee Dev:|r " .. ns.L.COMBAT_BLOCKED)
|
|
40
|
-
end
|
|
41
|
-
|
|
42
|
-
ns.ShutdownForCombat = ShutdownForCombat
|
|
1
|
+
local ADDON_NAME, ns = ...
|
|
2
|
+
|
|
3
|
+
local shutdownCallbacks = {}
|
|
4
|
+
local driver
|
|
5
|
+
|
|
6
|
+
function ns.IsCombatBlocked()
|
|
7
|
+
if not InCombatLockdown then
|
|
8
|
+
return false
|
|
9
|
+
end
|
|
10
|
+
local blocked = InCombatLockdown()
|
|
11
|
+
if issecretvalue and issecretvalue(blocked) then
|
|
12
|
+
return true
|
|
13
|
+
end
|
|
14
|
+
return blocked and true or false
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
function ns.RegisterCombatShutdown(callback)
|
|
18
|
+
if type(callback) == "function" then
|
|
19
|
+
shutdownCallbacks[#shutdownCallbacks + 1] = callback
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
local function ShutdownForCombat()
|
|
24
|
+
for index = 1, #shutdownCallbacks do
|
|
25
|
+
pcall(shutdownCallbacks[index])
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
function ns.EnsureSafety()
|
|
30
|
+
if driver then
|
|
31
|
+
return
|
|
32
|
+
end
|
|
33
|
+
driver = CreateFrame("Frame")
|
|
34
|
+
driver:RegisterEvent("PLAYER_REGEN_DISABLED")
|
|
35
|
+
driver:SetScript("OnEvent", ShutdownForCombat)
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
function ns.PrintCombatBlocked()
|
|
39
|
+
print("|cffd83b4eLychee Dev:|r " .. ns.L.COMBAT_BLOCKED)
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
ns.ShutdownForCombat = ShutdownForCombat
|