lycheedev 1.0.0 → 1.0.2
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 +58 -8
- 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,165 +1,165 @@
|
|
|
1
|
-
local ADDON_NAME, ns = ...
|
|
2
|
-
local L = ns.L
|
|
3
|
-
|
|
4
|
-
local ROW_HEIGHT = 38
|
|
5
|
-
local LIST_WIDTH = 520
|
|
6
|
-
local VISIBLE_ROWS = 18
|
|
7
|
-
|
|
8
|
-
local function SetReadOnlyText(panel, text)
|
|
9
|
-
local editBox = panel.editBox
|
|
10
|
-
editBox.savedText, editBox.updatingText = text or "", true
|
|
11
|
-
editBox:SetText(text or "")
|
|
12
|
-
editBox.updatingText = nil
|
|
13
|
-
editBox:SetCursorPosition(0)
|
|
14
|
-
panel.scroll:SetVerticalScroll(0)
|
|
15
|
-
end
|
|
16
|
-
|
|
17
|
-
local function CreateLineInput(parent, ui)
|
|
18
|
-
local panel = ui.CreatePanel(parent, ui.editorR, ui.editorG, ui.editorB, 1)
|
|
19
|
-
local editBox = CreateFrame("EditBox", nil, panel)
|
|
20
|
-
editBox:SetAutoFocus(false)
|
|
21
|
-
editBox:SetFontObject(ChatFontNormal)
|
|
22
|
-
editBox:SetTextColor(0.94, 0.95, 0.96)
|
|
23
|
-
editBox:SetTextInsets(9, 9, 0, 0)
|
|
24
|
-
editBox:SetPoint("TOPLEFT", 1, -1)
|
|
25
|
-
editBox:SetPoint("BOTTOMRIGHT", -1, 1)
|
|
26
|
-
editBox:SetScript("OnEscapePressed", function(self) self:ClearFocus() end)
|
|
27
|
-
panel.editBox = editBox
|
|
28
|
-
return panel
|
|
29
|
-
end
|
|
30
|
-
|
|
31
|
-
function ns.CreateTracePage(parent, ui)
|
|
32
|
-
local page = CreateFrame("Frame", nil, parent)
|
|
33
|
-
page:SetAllPoints(parent)
|
|
34
|
-
local input = CreateLineInput(page, ui)
|
|
35
|
-
input:SetPoint("TOPLEFT", 14, -84)
|
|
36
|
-
input:SetPoint("TOPRIGHT", -250, -84)
|
|
37
|
-
input:SetHeight(30)
|
|
38
|
-
input.editBox:SetText("C_AddOns.GetAddOnInfo")
|
|
39
|
-
local traceButton = ui.CreateButton(page, 112, L.START_TRACE, true)
|
|
40
|
-
traceButton:SetPoint("TOPRIGHT", -14, -84)
|
|
41
|
-
local clear = ui.CreateButton(page, 100, L.CLEAR_LOG, false)
|
|
42
|
-
clear:SetPoint("RIGHT", traceButton, "LEFT", -8, 0)
|
|
43
|
-
page.traceButton = traceButton
|
|
44
|
-
page.clearButton = clear
|
|
45
|
-
|
|
46
|
-
local dot = page:CreateTexture(nil, "ARTWORK")
|
|
47
|
-
dot:SetSize(5, 5)
|
|
48
|
-
dot:SetPoint("TOPLEFT", input, "BOTTOMLEFT", 2, -15)
|
|
49
|
-
local status = page:CreateFontString(nil, "OVERLAY", "GameFontHighlightSmall")
|
|
50
|
-
status:SetPoint("LEFT", dot, "RIGHT", 7, 0)
|
|
51
|
-
local function SetStatus(text, r, g, b)
|
|
52
|
-
status:SetText(text) status:SetTextColor(r, g, b, 0.92) dot:SetColorTexture(r, g, b, 0.92)
|
|
53
|
-
end
|
|
54
|
-
|
|
55
|
-
local listLabel = ui.CreateSectionLabel(page, L.CALL_RECORDS)
|
|
56
|
-
listLabel:SetPoint("TOPLEFT", 17, -152)
|
|
57
|
-
local detailLabel = ui.CreateSectionLabel(page, L.CALL_ARGUMENTS)
|
|
58
|
-
detailLabel:SetPoint("TOPLEFT", LIST_WIDTH + 29, -152)
|
|
59
|
-
local listPanel = ui.CreatePanel(page, ui.editorR, ui.editorG, ui.editorB, 0.78)
|
|
60
|
-
listPanel:SetPoint("TOPLEFT", 14, -172)
|
|
61
|
-
listPanel:SetPoint("BOTTOMLEFT", 14, 54)
|
|
62
|
-
listPanel:SetWidth(LIST_WIDTH)
|
|
63
|
-
local scroll = ui.CreateScrollArea(listPanel, 8, 8, 7, 8)
|
|
64
|
-
local content = CreateFrame("Frame", nil, scroll)
|
|
65
|
-
content:SetWidth(LIST_WIDTH - 26) content:SetHeight(1) scroll:SetScrollChild(content)
|
|
66
|
-
local empty = listPanel:CreateFontString(nil, "OVERLAY", "GameFontDisableSmall")
|
|
67
|
-
empty:SetPoint("TOP", 0, -24) empty:SetText(L.NO_CALLS_CAPTURED) empty:SetTextColor(1, 1, 1, 0.32)
|
|
68
|
-
local selected
|
|
69
|
-
local Format
|
|
70
|
-
local detail = ui.CreateTextArea(page, true)
|
|
71
|
-
detail:SetPoint("TOPLEFT", LIST_WIDTH + 26, -172)
|
|
72
|
-
detail:SetPoint("BOTTOMRIGHT", -14, 54)
|
|
73
|
-
detail.editBox:SetWidth(ui.windowWidth - LIST_WIDTH - 78)
|
|
74
|
-
SetReadOnlyText(detail, L.SELECT_CALL_DETAIL)
|
|
75
|
-
|
|
76
|
-
local exportDetail = ui.CreateButton(page, 92, L.SAVE_TO_DISK, false)
|
|
77
|
-
exportDetail:SetPoint("BOTTOMRIGHT", -14, 14)
|
|
78
|
-
exportDetail:SetScript("OnClick", function()
|
|
79
|
-
local recordCount = ns.FunctionTrace.GetCount()
|
|
80
|
-
if recordCount > 0 then
|
|
81
|
-
ui.ExportText("function_trace", L.CALL_RECORDS, function()
|
|
82
|
-
local records = {}
|
|
83
|
-
for index = 1, recordCount do
|
|
84
|
-
records[index] = ns.FunctionTrace.GetRecord(index)
|
|
85
|
-
end
|
|
86
|
-
return ns.SerializeForExport(records)
|
|
87
|
-
end, { recordCount = recordCount })
|
|
88
|
-
end
|
|
89
|
-
end)
|
|
90
|
-
page.exportDetail = exportDetail
|
|
91
|
-
|
|
92
|
-
local rows, refreshQueued = {}, false
|
|
93
|
-
local function SyncTraceButton()
|
|
94
|
-
local running = ns.FunctionTrace.IsRunning()
|
|
95
|
-
ui.SetButtonText(traceButton, running and L.STOP_TRACE or L.START_TRACE)
|
|
96
|
-
ui.SetButtonVariant(traceButton, running and "danger" or "primary")
|
|
97
|
-
end
|
|
98
|
-
Format = function(record)
|
|
99
|
-
if not record then return L.SELECT_CALL_DETAIL end
|
|
100
|
-
local lines = { string.format(L.TRACE_PATH, record.path), string.format(L.ELAPSED_DETAIL, record.elapsed), "" }
|
|
101
|
-
if #record.arguments == 0 then lines[#lines + 1] = L.NO_ARGUMENTS end
|
|
102
|
-
for index = 1, #record.arguments do lines[#lines + 1] = "[" .. index .. "] = " .. record.arguments[index] end
|
|
103
|
-
return table.concat(lines, "\n")
|
|
104
|
-
end
|
|
105
|
-
local function CreateRow(index)
|
|
106
|
-
local row = ui.CreateListRow(content, ROW_HEIGHT)
|
|
107
|
-
row:SetWidth(LIST_WIDTH - 26)
|
|
108
|
-
local elapsed = row:CreateFontString(nil, "OVERLAY", "GameFontDisableSmall")
|
|
109
|
-
elapsed:SetPoint("LEFT", 8, 0) elapsed:SetWidth(62) elapsed:SetJustifyH("LEFT") elapsed:SetTextColor(1, 1, 1, 0.38) row.elapsed = elapsed
|
|
110
|
-
local name = row:CreateFontString(nil, "OVERLAY", "GameFontHighlightSmall")
|
|
111
|
-
name:SetPoint("TOPLEFT", 72, -5) name:SetPoint("TOPRIGHT", -8, -5) name:SetJustifyH("LEFT") name:SetWordWrap(false) row.name = name
|
|
112
|
-
local summary = row:CreateFontString(nil, "OVERLAY", "GameFontDisableSmall")
|
|
113
|
-
summary:SetPoint("BOTTOMLEFT", 72, 5) summary:SetPoint("BOTTOMRIGHT", -8, 5) summary:SetJustifyH("LEFT") summary:SetWordWrap(false) summary:SetTextColor(1, 1, 1, 0.38) row.summary = summary
|
|
114
|
-
row:SetScript("OnEnter", function(self) self.isHovered = true ui.SetListRowState(self, self.record == selected, true) end)
|
|
115
|
-
row:SetScript("OnLeave", function(self) self.isHovered = nil ui.SetListRowState(self, self.record == selected, false) end)
|
|
116
|
-
row:SetScript("OnClick", function(self) selected = self.record SetReadOnlyText(detail, Format(selected)) page:Refresh() end)
|
|
117
|
-
rows[index] = row return row
|
|
118
|
-
end
|
|
119
|
-
function page:Refresh()
|
|
120
|
-
for index = 1, #rows do rows[index]:Hide() end
|
|
121
|
-
local recordCount = ns.FunctionTrace.GetCount()
|
|
122
|
-
ui.SetButtonEnabled(clear, recordCount > 0)
|
|
123
|
-
ui.SetButtonEnabled(exportDetail, recordCount > 0)
|
|
124
|
-
local offset = scroll:GetVerticalScroll() if issecretvalue and issecretvalue(offset) then offset = 0 end
|
|
125
|
-
local first = math.floor((offset or 0) / ROW_HEIGHT) + 1
|
|
126
|
-
local last, pool = math.min(recordCount, first + VISIBLE_ROWS - 1), 0
|
|
127
|
-
for recordIndex = first, last do
|
|
128
|
-
pool = pool + 1
|
|
129
|
-
local record = ns.FunctionTrace.GetRecord(recordIndex)
|
|
130
|
-
local row = rows[pool] or CreateRow(pool)
|
|
131
|
-
row.record = record row:ClearAllPoints() row:SetPoint("TOPLEFT", 0, -((recordIndex - 1) * ROW_HEIGHT))
|
|
132
|
-
row.elapsed:SetText(string.format("+%.2fs", record.elapsed)) row.name:SetText(record.path) row.summary:SetText(record.summary ~= "" and record.summary or L.NO_ARGUMENTS)
|
|
133
|
-
ui.SetListRowState(row, record == selected, row.isHovered) row:Show()
|
|
134
|
-
end
|
|
135
|
-
content:SetHeight(math.max(1, recordCount * ROW_HEIGHT)) scroll:UpdateScrollChildRect() empty:SetShown(recordCount == 0)
|
|
136
|
-
end
|
|
137
|
-
scroll.onVerticalScrollChanged = function() page:Refresh() end
|
|
138
|
-
local function QueueRefresh()
|
|
139
|
-
if refreshQueued then return end
|
|
140
|
-
refreshQueued = true
|
|
141
|
-
C_Timer.After(0, function() refreshQueued = false if page:IsShown() then page:Refresh() end end)
|
|
142
|
-
end
|
|
143
|
-
traceButton:SetScript("OnClick", function()
|
|
144
|
-
if ns.FunctionTrace.IsRunning() then
|
|
145
|
-
ns.FunctionTrace.Stop()
|
|
146
|
-
SetStatus(L.STOPPED, 0.55, 0.60, 0.65)
|
|
147
|
-
SyncTraceButton()
|
|
148
|
-
return
|
|
149
|
-
end
|
|
150
|
-
|
|
151
|
-
local succeeded, errorMessage = ns.FunctionTrace.Start(input.editBox:GetText(), QueueRefresh)
|
|
152
|
-
SetStatus(succeeded and string.format(L.TRACING_FUNCTION, ns.FunctionTrace.GetActivePath()) or errorMessage, succeeded and 0.42 or ui.accentR, succeeded and 0.76 or ui.accentG, succeeded and 0.43 or ui.accentB)
|
|
153
|
-
SyncTraceButton()
|
|
154
|
-
end)
|
|
155
|
-
clear:SetScript("OnClick", function() ns.FunctionTrace.Clear() selected = nil SetReadOnlyText(detail, L.SELECT_CALL_DETAIL) page:Refresh() end)
|
|
156
|
-
input.editBox:SetScript("OnEnterPressed", function() traceButton:Click() end)
|
|
157
|
-
function page:Activate() input.editBox:SetFocus() page:Refresh() end
|
|
158
|
-
function page:Stop()
|
|
159
|
-
ns.FunctionTrace.Stop()
|
|
160
|
-
SetStatus(L.STOPPED, 0.55, 0.60, 0.65)
|
|
161
|
-
SyncTraceButton()
|
|
162
|
-
end
|
|
163
|
-
SetStatus(L.STOPPED, 0.55, 0.60, 0.65) SyncTraceButton() page:Refresh()
|
|
164
|
-
return page
|
|
165
|
-
end
|
|
1
|
+
local ADDON_NAME, ns = ...
|
|
2
|
+
local L = ns.L
|
|
3
|
+
|
|
4
|
+
local ROW_HEIGHT = 38
|
|
5
|
+
local LIST_WIDTH = 520
|
|
6
|
+
local VISIBLE_ROWS = 18
|
|
7
|
+
|
|
8
|
+
local function SetReadOnlyText(panel, text)
|
|
9
|
+
local editBox = panel.editBox
|
|
10
|
+
editBox.savedText, editBox.updatingText = text or "", true
|
|
11
|
+
editBox:SetText(text or "")
|
|
12
|
+
editBox.updatingText = nil
|
|
13
|
+
editBox:SetCursorPosition(0)
|
|
14
|
+
panel.scroll:SetVerticalScroll(0)
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
local function CreateLineInput(parent, ui)
|
|
18
|
+
local panel = ui.CreatePanel(parent, ui.editorR, ui.editorG, ui.editorB, 1)
|
|
19
|
+
local editBox = CreateFrame("EditBox", nil, panel)
|
|
20
|
+
editBox:SetAutoFocus(false)
|
|
21
|
+
editBox:SetFontObject(ChatFontNormal)
|
|
22
|
+
editBox:SetTextColor(0.94, 0.95, 0.96)
|
|
23
|
+
editBox:SetTextInsets(9, 9, 0, 0)
|
|
24
|
+
editBox:SetPoint("TOPLEFT", 1, -1)
|
|
25
|
+
editBox:SetPoint("BOTTOMRIGHT", -1, 1)
|
|
26
|
+
editBox:SetScript("OnEscapePressed", function(self) self:ClearFocus() end)
|
|
27
|
+
panel.editBox = editBox
|
|
28
|
+
return panel
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
function ns.CreateTracePage(parent, ui)
|
|
32
|
+
local page = CreateFrame("Frame", nil, parent)
|
|
33
|
+
page:SetAllPoints(parent)
|
|
34
|
+
local input = CreateLineInput(page, ui)
|
|
35
|
+
input:SetPoint("TOPLEFT", 14, -84)
|
|
36
|
+
input:SetPoint("TOPRIGHT", -250, -84)
|
|
37
|
+
input:SetHeight(30)
|
|
38
|
+
input.editBox:SetText("C_AddOns.GetAddOnInfo")
|
|
39
|
+
local traceButton = ui.CreateButton(page, 112, L.START_TRACE, true)
|
|
40
|
+
traceButton:SetPoint("TOPRIGHT", -14, -84)
|
|
41
|
+
local clear = ui.CreateButton(page, 100, L.CLEAR_LOG, false)
|
|
42
|
+
clear:SetPoint("RIGHT", traceButton, "LEFT", -8, 0)
|
|
43
|
+
page.traceButton = traceButton
|
|
44
|
+
page.clearButton = clear
|
|
45
|
+
|
|
46
|
+
local dot = page:CreateTexture(nil, "ARTWORK")
|
|
47
|
+
dot:SetSize(5, 5)
|
|
48
|
+
dot:SetPoint("TOPLEFT", input, "BOTTOMLEFT", 2, -15)
|
|
49
|
+
local status = page:CreateFontString(nil, "OVERLAY", "GameFontHighlightSmall")
|
|
50
|
+
status:SetPoint("LEFT", dot, "RIGHT", 7, 0)
|
|
51
|
+
local function SetStatus(text, r, g, b)
|
|
52
|
+
status:SetText(text) status:SetTextColor(r, g, b, 0.92) dot:SetColorTexture(r, g, b, 0.92)
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
local listLabel = ui.CreateSectionLabel(page, L.CALL_RECORDS)
|
|
56
|
+
listLabel:SetPoint("TOPLEFT", 17, -152)
|
|
57
|
+
local detailLabel = ui.CreateSectionLabel(page, L.CALL_ARGUMENTS)
|
|
58
|
+
detailLabel:SetPoint("TOPLEFT", LIST_WIDTH + 29, -152)
|
|
59
|
+
local listPanel = ui.CreatePanel(page, ui.editorR, ui.editorG, ui.editorB, 0.78)
|
|
60
|
+
listPanel:SetPoint("TOPLEFT", 14, -172)
|
|
61
|
+
listPanel:SetPoint("BOTTOMLEFT", 14, 54)
|
|
62
|
+
listPanel:SetWidth(LIST_WIDTH)
|
|
63
|
+
local scroll = ui.CreateScrollArea(listPanel, 8, 8, 7, 8)
|
|
64
|
+
local content = CreateFrame("Frame", nil, scroll)
|
|
65
|
+
content:SetWidth(LIST_WIDTH - 26) content:SetHeight(1) scroll:SetScrollChild(content)
|
|
66
|
+
local empty = listPanel:CreateFontString(nil, "OVERLAY", "GameFontDisableSmall")
|
|
67
|
+
empty:SetPoint("TOP", 0, -24) empty:SetText(L.NO_CALLS_CAPTURED) empty:SetTextColor(1, 1, 1, 0.32)
|
|
68
|
+
local selected
|
|
69
|
+
local Format
|
|
70
|
+
local detail = ui.CreateTextArea(page, true)
|
|
71
|
+
detail:SetPoint("TOPLEFT", LIST_WIDTH + 26, -172)
|
|
72
|
+
detail:SetPoint("BOTTOMRIGHT", -14, 54)
|
|
73
|
+
detail.editBox:SetWidth(ui.windowWidth - LIST_WIDTH - 78)
|
|
74
|
+
SetReadOnlyText(detail, L.SELECT_CALL_DETAIL)
|
|
75
|
+
|
|
76
|
+
local exportDetail = ui.CreateButton(page, 92, L.SAVE_TO_DISK, false)
|
|
77
|
+
exportDetail:SetPoint("BOTTOMRIGHT", -14, 14)
|
|
78
|
+
exportDetail:SetScript("OnClick", function()
|
|
79
|
+
local recordCount = ns.FunctionTrace.GetCount()
|
|
80
|
+
if recordCount > 0 then
|
|
81
|
+
ui.ExportText("function_trace", L.CALL_RECORDS, function()
|
|
82
|
+
local records = {}
|
|
83
|
+
for index = 1, recordCount do
|
|
84
|
+
records[index] = ns.FunctionTrace.GetRecord(index)
|
|
85
|
+
end
|
|
86
|
+
return ns.SerializeForExport(records)
|
|
87
|
+
end, { recordCount = recordCount })
|
|
88
|
+
end
|
|
89
|
+
end)
|
|
90
|
+
page.exportDetail = exportDetail
|
|
91
|
+
|
|
92
|
+
local rows, refreshQueued = {}, false
|
|
93
|
+
local function SyncTraceButton()
|
|
94
|
+
local running = ns.FunctionTrace.IsRunning()
|
|
95
|
+
ui.SetButtonText(traceButton, running and L.STOP_TRACE or L.START_TRACE)
|
|
96
|
+
ui.SetButtonVariant(traceButton, running and "danger" or "primary")
|
|
97
|
+
end
|
|
98
|
+
Format = function(record)
|
|
99
|
+
if not record then return L.SELECT_CALL_DETAIL end
|
|
100
|
+
local lines = { string.format(L.TRACE_PATH, record.path), string.format(L.ELAPSED_DETAIL, record.elapsed), "" }
|
|
101
|
+
if #record.arguments == 0 then lines[#lines + 1] = L.NO_ARGUMENTS end
|
|
102
|
+
for index = 1, #record.arguments do lines[#lines + 1] = "[" .. index .. "] = " .. record.arguments[index] end
|
|
103
|
+
return table.concat(lines, "\n")
|
|
104
|
+
end
|
|
105
|
+
local function CreateRow(index)
|
|
106
|
+
local row = ui.CreateListRow(content, ROW_HEIGHT)
|
|
107
|
+
row:SetWidth(LIST_WIDTH - 26)
|
|
108
|
+
local elapsed = row:CreateFontString(nil, "OVERLAY", "GameFontDisableSmall")
|
|
109
|
+
elapsed:SetPoint("LEFT", 8, 0) elapsed:SetWidth(62) elapsed:SetJustifyH("LEFT") elapsed:SetTextColor(1, 1, 1, 0.38) row.elapsed = elapsed
|
|
110
|
+
local name = row:CreateFontString(nil, "OVERLAY", "GameFontHighlightSmall")
|
|
111
|
+
name:SetPoint("TOPLEFT", 72, -5) name:SetPoint("TOPRIGHT", -8, -5) name:SetJustifyH("LEFT") name:SetWordWrap(false) row.name = name
|
|
112
|
+
local summary = row:CreateFontString(nil, "OVERLAY", "GameFontDisableSmall")
|
|
113
|
+
summary:SetPoint("BOTTOMLEFT", 72, 5) summary:SetPoint("BOTTOMRIGHT", -8, 5) summary:SetJustifyH("LEFT") summary:SetWordWrap(false) summary:SetTextColor(1, 1, 1, 0.38) row.summary = summary
|
|
114
|
+
row:SetScript("OnEnter", function(self) self.isHovered = true ui.SetListRowState(self, self.record == selected, true) end)
|
|
115
|
+
row:SetScript("OnLeave", function(self) self.isHovered = nil ui.SetListRowState(self, self.record == selected, false) end)
|
|
116
|
+
row:SetScript("OnClick", function(self) selected = self.record SetReadOnlyText(detail, Format(selected)) page:Refresh() end)
|
|
117
|
+
rows[index] = row return row
|
|
118
|
+
end
|
|
119
|
+
function page:Refresh()
|
|
120
|
+
for index = 1, #rows do rows[index]:Hide() end
|
|
121
|
+
local recordCount = ns.FunctionTrace.GetCount()
|
|
122
|
+
ui.SetButtonEnabled(clear, recordCount > 0)
|
|
123
|
+
ui.SetButtonEnabled(exportDetail, recordCount > 0)
|
|
124
|
+
local offset = scroll:GetVerticalScroll() if issecretvalue and issecretvalue(offset) then offset = 0 end
|
|
125
|
+
local first = math.floor((offset or 0) / ROW_HEIGHT) + 1
|
|
126
|
+
local last, pool = math.min(recordCount, first + VISIBLE_ROWS - 1), 0
|
|
127
|
+
for recordIndex = first, last do
|
|
128
|
+
pool = pool + 1
|
|
129
|
+
local record = ns.FunctionTrace.GetRecord(recordIndex)
|
|
130
|
+
local row = rows[pool] or CreateRow(pool)
|
|
131
|
+
row.record = record row:ClearAllPoints() row:SetPoint("TOPLEFT", 0, -((recordIndex - 1) * ROW_HEIGHT))
|
|
132
|
+
row.elapsed:SetText(string.format("+%.2fs", record.elapsed)) row.name:SetText(record.path) row.summary:SetText(record.summary ~= "" and record.summary or L.NO_ARGUMENTS)
|
|
133
|
+
ui.SetListRowState(row, record == selected, row.isHovered) row:Show()
|
|
134
|
+
end
|
|
135
|
+
content:SetHeight(math.max(1, recordCount * ROW_HEIGHT)) scroll:UpdateScrollChildRect() empty:SetShown(recordCount == 0)
|
|
136
|
+
end
|
|
137
|
+
scroll.onVerticalScrollChanged = function() page:Refresh() end
|
|
138
|
+
local function QueueRefresh()
|
|
139
|
+
if refreshQueued then return end
|
|
140
|
+
refreshQueued = true
|
|
141
|
+
C_Timer.After(0, function() refreshQueued = false if page:IsShown() then page:Refresh() end end)
|
|
142
|
+
end
|
|
143
|
+
traceButton:SetScript("OnClick", function()
|
|
144
|
+
if ns.FunctionTrace.IsRunning() then
|
|
145
|
+
ns.FunctionTrace.Stop()
|
|
146
|
+
SetStatus(L.STOPPED, 0.55, 0.60, 0.65)
|
|
147
|
+
SyncTraceButton()
|
|
148
|
+
return
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
local succeeded, errorMessage = ns.FunctionTrace.Start(input.editBox:GetText(), QueueRefresh)
|
|
152
|
+
SetStatus(succeeded and string.format(L.TRACING_FUNCTION, ns.FunctionTrace.GetActivePath()) or errorMessage, succeeded and 0.42 or ui.accentR, succeeded and 0.76 or ui.accentG, succeeded and 0.43 or ui.accentB)
|
|
153
|
+
SyncTraceButton()
|
|
154
|
+
end)
|
|
155
|
+
clear:SetScript("OnClick", function() ns.FunctionTrace.Clear() selected = nil SetReadOnlyText(detail, L.SELECT_CALL_DETAIL) page:Refresh() end)
|
|
156
|
+
input.editBox:SetScript("OnEnterPressed", function() traceButton:Click() end)
|
|
157
|
+
function page:Activate() input.editBox:SetFocus() page:Refresh() end
|
|
158
|
+
function page:Stop()
|
|
159
|
+
ns.FunctionTrace.Stop()
|
|
160
|
+
SetStatus(L.STOPPED, 0.55, 0.60, 0.65)
|
|
161
|
+
SyncTraceButton()
|
|
162
|
+
end
|
|
163
|
+
SetStatus(L.STOPPED, 0.55, 0.60, 0.65) SyncTraceButton() page:Refresh()
|
|
164
|
+
return page
|
|
165
|
+
end
|
package/vendor/skill/SKILL.md
CHANGED
|
@@ -1,94 +1,94 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: lychee-dev
|
|
3
|
-
description: Use when working with the Lychee Dev WoW addon to read persisted runtime evidence by Ticket or prepare bounded /run memory/CPU investigations, object inspection, and event monitoring. Do not use for generic WoW API research or unrelated addon implementation.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Lychee Dev skill
|
|
7
|
-
|
|
8
|
-
Use this skill as the operational guide for Lychee Dev, an in-game evidence workbench. The desired output is either (a) an evidence-backed diagnosis from SavedVariables or (b) a command/workflow the user can paste into WoW and report back.
|
|
9
|
-
|
|
10
|
-
## Choose the workflow
|
|
11
|
-
|
|
12
|
-
- **Persisted evidence:** locate the WoW `WTF` SavedVariables file, find the exact Ticket, and read the complete payload.
|
|
13
|
-
- **Run:** open `/dev`, use the Run page, and paste `/run` or `/script` Lua.
|
|
14
|
-
- **Automated task delivery:** when the user authorized scripted task delivery and reload, use the Python tooling in `scripts/` to upsert a task block, run it, decode the completion notice, reload once, and read the Ticket. Read [references/automation.md](references/automation.md) first; live-window steps still need per-host verification.
|
|
15
|
-
- **Memory/CPU investigation:** use Run with a question-specific script; read [references/runtime-investigations.md](references/runtime-investigations.md) before designing a probe.
|
|
16
|
-
- **Objects:** open `/dev` > Objects and inspect a global/object path or use the mouse picker.
|
|
17
|
-
- **Events:** open `/dev` > Events, search the current client's catalog, select events, start monitoring, reproduce the behavior, then stop and save.
|
|
18
|
-
|
|
19
|
-
The Performance page, automatic capture, health scan and function benchmark have been removed. Run, Objects, Events, Trace, Errors and Saved Records remain available. Do not route a new investigation to the removed UI. There are no separate `/object` or `/event` slash commands. Do not invent them; give the `/dev` UI steps instead.
|
|
20
|
-
|
|
21
|
-
## Read SavedVariables
|
|
22
|
-
|
|
23
|
-
1. Search the user's WoW installation for the global SavedVariables file, normally `WTF/Account/<account>/SavedVariables/Lychee Dev.lua`. The exact account/realm path is installation-specific. Use a filename search or `rg` for `LycheeDevDB`/the Ticket rather than assuming a path.
|
|
24
|
-
2. Treat the file as data, not trusted code. Do not `dofile` or execute an unknown SavedVariables file in the host environment. Use a restricted Lua parser/sandbox or inspect the relevant assignment safely.
|
|
25
|
-
3. For a Ticket `LYCHEE-...`, read:
|
|
26
|
-
|
|
27
|
-
```text
|
|
28
|
-
LycheeDevDB.exports.records[TICKET]
|
|
29
|
-
LycheeDevDB.exports.records[TICKET].payload.content
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
Validate `schema == "lychee.evidence.v1"`, and use `source.kind`, `source.title`, `source.path`, `environment`, and `createdAt` to identify the record. Validate the report schema inside the payload separately; record-level schema/source do not belong to `metadata`. Prefer the exact Ticket already supplied to the owning task, including directly delivered messages; do not ask the user to resend it to several tasks. The payload is the authoritative complete report; `metadata` is bounded context, not a replacement for it.
|
|
33
|
-
Current kinds include `run_result`, `object_snapshot`, `object_node`, `event_log`, `function_trace`, `error_log`, and `automation_result` (whose payload is one `lychee.automation.result.v1` JSON report and whose `metadata.contentChecksum` is an Adler-32 over the exact payload bytes). Legacy `performance_*` records remain valid historical evidence; read their complete payload without requiring the deleted module or discarding them.
|
|
34
|
-
4. `LycheeDevDB.exports.order` is newest-first. Recent ad-hoc runs are in `LycheeDevDB.history` and may contain `code`, `result`, and a bounded `tree`; they are not the same as a saved export. Old installations may contain `DumperDB`, which the addon migrates into `LycheeDevDB`.
|
|
35
|
-
5. A record created in-game is only in memory until `/reload`, logout, or exit. If the user has not completed one of those writes, explain that the Ticket cannot yet be found on disk. Exports and history are bounded and older entries can be pruned.
|
|
36
|
-
|
|
37
|
-
When reporting persisted evidence, quote the Ticket, source kind, client environment, and the exact payload path. Do not claim that a record is absent until the likely SavedVariables locations and the exact Ticket have been searched.
|
|
38
|
-
|
|
39
|
-
## Run commands
|
|
40
|
-
|
|
41
|
-
The runner accepts either `/run` or `/script` prefixes and evaluates Lua 5.1 code. Prefer returning a compact structured report; use `print` for short scalar messages. Check the installed runner and serializer limits before delivery. A returned value is captured immediately, so an asynchronous script needs a verified completion/export writer; do not return an unfinished table and assume later mutations will be saved.
|
|
42
|
-
|
|
43
|
-
```text
|
|
44
|
-
/run print(GetBuildInfo())
|
|
45
|
-
/run return { addon = MyAddon, profile = MyAddonDB and MyAddonDB.profile }
|
|
46
|
-
/script return UIParent and { name = UIParent:GetName(), shown = UIParent:IsShown() }
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
Give commands that are explicit and bounded. Avoid unbounded table walks, per-frame polling, network calls, protected UI mutations, and writes to SavedVariables unless the user explicitly requests them. Lychee Dev truncates large run output, and combat blocks the workbench and active inspection/monitoring tools.
|
|
50
|
-
|
|
51
|
-
One complete investigation does not mean pasting a bundle of implementation source. Use Run for a small probe; for large source-dependent studies, use a verified independent diagnostic carrier and a short entry command, with its installation/loading and cleanup explained. Never assume WoW can read arbitrary host files or hot-load Lua. When the user asks for one paste, cover the automatic matrix from one practical entry point and one final report; list external actions and missing coverage honestly. For a requested check, include the exact pasteable command, what result to expect, and what field or error the user should report back. If a value may be secret in combat, tell the user to leave combat before running it and do not suggest comparing or formatting that value.
|
|
52
|
-
|
|
53
|
-
## Object inspection
|
|
54
|
-
|
|
55
|
-
Use the Objects page for live object state. Valid paths are `_G`, dot-separated identifiers, numeric indexes, and quoted string indexes, for example:
|
|
56
|
-
|
|
57
|
-
```text
|
|
58
|
-
_G.MyAddon
|
|
59
|
-
MyAddon.db.profile
|
|
60
|
-
_G["MyAddon"]["db"]
|
|
61
|
-
UIParent
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
The page can search globals or fields, expand tables, show frame overview/children/regions, and save an object snapshot or node. The mouse picker temporarily hides the window; press `F` or `Enter` to capture the object under the cursor, `Esc` to cancel. If a path is not known, use a short run command to return the candidate global, then inspect that path in Objects.
|
|
65
|
-
|
|
66
|
-
Never promise a complete object graph: inspection is bounded, cyclic tables are marked, and secret combat values stop the read. Protected Blizzard frames must not be mutated as part of a diagnostic command.
|
|
67
|
-
|
|
68
|
-
## Event monitoring
|
|
69
|
-
|
|
70
|
-
Use the Events page, not a guessed slash command:
|
|
71
|
-
|
|
72
|
-
1. Search for the uppercase event name in the catalog shown for the running client (for example `PLAYER_TARGET_CHANGED`).
|
|
73
|
-
2. Select one or more events and click **Start Monitoring**.
|
|
74
|
-
3. Reproduce the behavior, click **Stop Monitoring**, inspect payload arguments, and use **Save** if the evidence must be handed to an Agent.
|
|
75
|
-
|
|
76
|
-
Event names and payload signatures are build-specific. The supported profiles are Retail `12.1.0`/Interface `120100`, Classic Mists `5.5.4`/`50504`, and Classic Titan `3.80.2`/`38002`; do not transfer a signature between profiles without checking the catalog. `ALL`/“monitor all events” is an explicit diagnostic mode, not a default recommendation. Monitoring is bounded (newest 500 records; at most 16 arguments per record, each shortened), and it stops on combat entry.
|
|
77
|
-
|
|
78
|
-
## Delivery and ownership
|
|
79
|
-
|
|
80
|
-
Use available computer controls only within the authorized workflow. Inspect their actual capabilities before attempting game input; a browser-only tool cannot type into WoW. After a failed input attempt, verify focus/state once and use one manual paste when reliable native input is unavailable. Do not loop speculative key presses.
|
|
81
|
-
|
|
82
|
-
If the user authorized clipboard delivery, announce the exact script/version, write it, and read back the clipboard to verify equality. Keep that version stable while awaiting execution. A revision needs an explicit replacement notice and a new verification; another task's clipboard, game session, or pending probe is not yours to replace.
|
|
83
|
-
|
|
84
|
-
Do not deploy addon changes or run destructive Provider/storage experiments merely to diagnose a problem. Preserve the current task's decision scope: a request for a proposal remains a proposal; an authorized implementation can proceed. A past project's memory target or plan-only decision is not a universal skill restriction.
|
|
85
|
-
|
|
86
|
-
## Handoff format
|
|
87
|
-
|
|
88
|
-
For a command request, answer with:
|
|
89
|
-
|
|
90
|
-
1. **Paste:** the exact `/run` or `/script` text, or the `/dev` page and fields to use.
|
|
91
|
-
2. **Reproduce:** the short action sequence and when to start/stop monitoring.
|
|
92
|
-
3. **Report back:** the expected output fields or the Ticket to copy after saving and reloading.
|
|
93
|
-
|
|
94
|
-
For a Ticket request, return the record's `source.kind`, client/build, creation time, payload path, and a concise evidence-based finding. Keep observations separate from hypotheses, and state when the evidence is truncated, pending disk write, client-specific, or blocked by combat/secret values.
|
|
1
|
+
---
|
|
2
|
+
name: lychee-dev
|
|
3
|
+
description: Use when working with the Lychee Dev WoW addon to read persisted runtime evidence by Ticket or prepare bounded /run memory/CPU investigations, object inspection, and event monitoring. Do not use for generic WoW API research or unrelated addon implementation.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Lychee Dev skill
|
|
7
|
+
|
|
8
|
+
Use this skill as the operational guide for Lychee Dev, an in-game evidence workbench. The desired output is either (a) an evidence-backed diagnosis from SavedVariables or (b) a command/workflow the user can paste into WoW and report back.
|
|
9
|
+
|
|
10
|
+
## Choose the workflow
|
|
11
|
+
|
|
12
|
+
- **Persisted evidence:** locate the WoW `WTF` SavedVariables file, find the exact Ticket, and read the complete payload.
|
|
13
|
+
- **Run:** open `/dev`, use the Run page, and paste `/run` or `/script` Lua.
|
|
14
|
+
- **Automated task delivery:** when the user authorized scripted task delivery and reload, use the Python tooling in `scripts/` to upsert a task block, run it, decode the completion notice, reload once, and read the Ticket. Read [references/automation.md](references/automation.md) first; live-window steps still need per-host verification.
|
|
15
|
+
- **Memory/CPU investigation:** use Run with a question-specific script; read [references/runtime-investigations.md](references/runtime-investigations.md) before designing a probe.
|
|
16
|
+
- **Objects:** open `/dev` > Objects and inspect a global/object path or use the mouse picker.
|
|
17
|
+
- **Events:** open `/dev` > Events, search the current client's catalog, select events, start monitoring, reproduce the behavior, then stop and save.
|
|
18
|
+
|
|
19
|
+
The Performance page, automatic capture, health scan and function benchmark have been removed. Run, Objects, Events, Trace, Errors and Saved Records remain available. Do not route a new investigation to the removed UI. There are no separate `/object` or `/event` slash commands. Do not invent them; give the `/dev` UI steps instead.
|
|
20
|
+
|
|
21
|
+
## Read SavedVariables
|
|
22
|
+
|
|
23
|
+
1. Search the user's WoW installation for the global SavedVariables file, normally `WTF/Account/<account>/SavedVariables/Lychee Dev.lua`. The exact account/realm path is installation-specific. Use a filename search or `rg` for `LycheeDevDB`/the Ticket rather than assuming a path.
|
|
24
|
+
2. Treat the file as data, not trusted code. Do not `dofile` or execute an unknown SavedVariables file in the host environment. Use a restricted Lua parser/sandbox or inspect the relevant assignment safely.
|
|
25
|
+
3. For a Ticket `LYCHEE-...`, read:
|
|
26
|
+
|
|
27
|
+
```text
|
|
28
|
+
LycheeDevDB.exports.records[TICKET]
|
|
29
|
+
LycheeDevDB.exports.records[TICKET].payload.content
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Validate `schema == "lychee.evidence.v1"`, and use `source.kind`, `source.title`, `source.path`, `environment`, and `createdAt` to identify the record. Validate the report schema inside the payload separately; record-level schema/source do not belong to `metadata`. Prefer the exact Ticket already supplied to the owning task, including directly delivered messages; do not ask the user to resend it to several tasks. The payload is the authoritative complete report; `metadata` is bounded context, not a replacement for it.
|
|
33
|
+
Current kinds include `run_result`, `object_snapshot`, `object_node`, `event_log`, `function_trace`, `error_log`, and `automation_result` (whose payload is one `lychee.automation.result.v1` JSON report and whose `metadata.contentChecksum` is an Adler-32 over the exact payload bytes). Legacy `performance_*` records remain valid historical evidence; read their complete payload without requiring the deleted module or discarding them.
|
|
34
|
+
4. `LycheeDevDB.exports.order` is newest-first. Recent ad-hoc runs are in `LycheeDevDB.history` and may contain `code`, `result`, and a bounded `tree`; they are not the same as a saved export. Old installations may contain `DumperDB`, which the addon migrates into `LycheeDevDB`.
|
|
35
|
+
5. A record created in-game is only in memory until `/reload`, logout, or exit. If the user has not completed one of those writes, explain that the Ticket cannot yet be found on disk. Exports and history are bounded and older entries can be pruned.
|
|
36
|
+
|
|
37
|
+
When reporting persisted evidence, quote the Ticket, source kind, client environment, and the exact payload path. Do not claim that a record is absent until the likely SavedVariables locations and the exact Ticket have been searched.
|
|
38
|
+
|
|
39
|
+
## Run commands
|
|
40
|
+
|
|
41
|
+
The runner accepts either `/run` or `/script` prefixes and evaluates Lua 5.1 code. Prefer returning a compact structured report; use `print` for short scalar messages. Check the installed runner and serializer limits before delivery. A returned value is captured immediately, so an asynchronous script needs a verified completion/export writer; do not return an unfinished table and assume later mutations will be saved.
|
|
42
|
+
|
|
43
|
+
```text
|
|
44
|
+
/run print(GetBuildInfo())
|
|
45
|
+
/run return { addon = MyAddon, profile = MyAddonDB and MyAddonDB.profile }
|
|
46
|
+
/script return UIParent and { name = UIParent:GetName(), shown = UIParent:IsShown() }
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Give commands that are explicit and bounded. Avoid unbounded table walks, per-frame polling, network calls, protected UI mutations, and writes to SavedVariables unless the user explicitly requests them. Lychee Dev truncates large run output, and combat blocks the workbench and active inspection/monitoring tools.
|
|
50
|
+
|
|
51
|
+
One complete investigation does not mean pasting a bundle of implementation source. Use Run for a small probe; for large source-dependent studies, use a verified independent diagnostic carrier and a short entry command, with its installation/loading and cleanup explained. Never assume WoW can read arbitrary host files or hot-load Lua. When the user asks for one paste, cover the automatic matrix from one practical entry point and one final report; list external actions and missing coverage honestly. For a requested check, include the exact pasteable command, what result to expect, and what field or error the user should report back. If a value may be secret in combat, tell the user to leave combat before running it and do not suggest comparing or formatting that value.
|
|
52
|
+
|
|
53
|
+
## Object inspection
|
|
54
|
+
|
|
55
|
+
Use the Objects page for live object state. Valid paths are `_G`, dot-separated identifiers, numeric indexes, and quoted string indexes, for example:
|
|
56
|
+
|
|
57
|
+
```text
|
|
58
|
+
_G.MyAddon
|
|
59
|
+
MyAddon.db.profile
|
|
60
|
+
_G["MyAddon"]["db"]
|
|
61
|
+
UIParent
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
The page can search globals or fields, expand tables, show frame overview/children/regions, and save an object snapshot or node. The mouse picker temporarily hides the window; press `F` or `Enter` to capture the object under the cursor, `Esc` to cancel. If a path is not known, use a short run command to return the candidate global, then inspect that path in Objects.
|
|
65
|
+
|
|
66
|
+
Never promise a complete object graph: inspection is bounded, cyclic tables are marked, and secret combat values stop the read. Protected Blizzard frames must not be mutated as part of a diagnostic command.
|
|
67
|
+
|
|
68
|
+
## Event monitoring
|
|
69
|
+
|
|
70
|
+
Use the Events page, not a guessed slash command:
|
|
71
|
+
|
|
72
|
+
1. Search for the uppercase event name in the catalog shown for the running client (for example `PLAYER_TARGET_CHANGED`).
|
|
73
|
+
2. Select one or more events and click **Start Monitoring**.
|
|
74
|
+
3. Reproduce the behavior, click **Stop Monitoring**, inspect payload arguments, and use **Save** if the evidence must be handed to an Agent.
|
|
75
|
+
|
|
76
|
+
Event names and payload signatures are build-specific. The supported profiles are Retail `12.1.0`/Interface `120100`, Classic Mists `5.5.4`/`50504`, and Classic Titan `3.80.2`/`38002`; do not transfer a signature between profiles without checking the catalog. `ALL`/“monitor all events” is an explicit diagnostic mode, not a default recommendation. Monitoring is bounded (newest 500 records; at most 16 arguments per record, each shortened), and it stops on combat entry.
|
|
77
|
+
|
|
78
|
+
## Delivery and ownership
|
|
79
|
+
|
|
80
|
+
Use available computer controls only within the authorized workflow. Inspect their actual capabilities before attempting game input; a browser-only tool cannot type into WoW. After a failed input attempt, verify focus/state once and use one manual paste when reliable native input is unavailable. Do not loop speculative key presses.
|
|
81
|
+
|
|
82
|
+
If the user authorized clipboard delivery, announce the exact script/version, write it, and read back the clipboard to verify equality. Keep that version stable while awaiting execution. A revision needs an explicit replacement notice and a new verification; another task's clipboard, game session, or pending probe is not yours to replace.
|
|
83
|
+
|
|
84
|
+
Do not deploy addon changes or run destructive Provider/storage experiments merely to diagnose a problem. Preserve the current task's decision scope: a request for a proposal remains a proposal; an authorized implementation can proceed. A past project's memory target or plan-only decision is not a universal skill restriction.
|
|
85
|
+
|
|
86
|
+
## Handoff format
|
|
87
|
+
|
|
88
|
+
For a command request, answer with:
|
|
89
|
+
|
|
90
|
+
1. **Paste:** the exact `/run` or `/script` text, or the `/dev` page and fields to use.
|
|
91
|
+
2. **Reproduce:** the short action sequence and when to start/stop monitoring.
|
|
92
|
+
3. **Report back:** the expected output fields or the Ticket to copy after saving and reloading.
|
|
93
|
+
|
|
94
|
+
For a Ticket request, return the record's `source.kind`, client/build, creation time, payload path, and a concise evidence-based finding. Keep observations separate from hypotheses, and state when the evidence is truncated, pending disk write, client-specific, or blocked by combat/secret values.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
interface:
|
|
2
|
-
display_name: "Lychee Dev skill"
|
|
3
|
-
short_description: "Read WoW evidence and prepare bounded Run investigations"
|
|
4
|
-
default_prompt: "Use $lychee-dev to investigate a specific WoW issue through Lychee Dev Run, one bounded script, and complete Ticket evidence."
|
|
1
|
+
interface:
|
|
2
|
+
display_name: "Lychee Dev skill"
|
|
3
|
+
short_description: "Read WoW evidence and prepare bounded Run investigations"
|
|
4
|
+
default_prompt: "Use $lychee-dev to investigate a specific WoW issue through Lychee Dev Run, one bounded script, and complete Ticket evidence."
|