lycheedev 2.0.1 → 2.0.3
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/README.md +2 -0
- package/THIRD_PARTY_NOTICES +3 -2
- package/native/windows-amd64/lycheedev.exe +0 -0
- package/package.json +1 -1
- package/payload/addon/Bridge/CaptureWriter.lua +97 -0
- package/payload/addon/Bridge/FaultRunner.lua +41 -0
- package/payload/addon/Bridge/Identity.lua +1 -1
- package/payload/addon/Bridge/ProbeQueue.lua +51 -4
- package/payload/addon/Bridge/ProbeRunner.lua +100 -21
- package/payload/addon/Bridge/ReceiptView.lua +103 -31
- package/payload/addon/Bridge/Reentry.lua +77 -9
- package/payload/addon/Bridge/ReportStore.lua +28 -11
- package/payload/addon/Bridge/Session.lua +1 -1
- package/payload/addon/Core/ClientGate.lua +31 -0
- package/payload/addon/Core/Compat.lua +19 -21
- package/payload/addon/Core/Controls.lua +58 -9
- package/payload/addon/Core/Platform.lua +5 -1
- package/payload/addon/Core/Runtime.lua +47 -10
- package/payload/addon/{Lychee Dev_Mainline.toc → Lychee Dev.toc } +14 -7
- package/payload/addon/Modules/Events/Catalog.lua +5 -1
- package/payload/addon/Modules/Events/CatalogData_Forever.lua +1 -1
- package/payload/addon/Modules/Events/CatalogData_Mainline.lua +1 -1
- package/payload/addon/Modules/Events/CatalogData_Mists.lua +1 -1
- package/payload/addon/Modules/Events/CatalogData_Titan.lua +1 -1
- package/payload/skill/SKILL.md +22 -4
- package/payload/skill/references/addon-validation.md +37 -8
- package/payload/skill/references/asset-export.md +27 -2
- package/payload/skill/references/commands.md +163 -121
- package/payload/skill/references/data-investigation.md +52 -14
- package/payload/skill/references/error-diagnosis.md +22 -32
- package/payload/skill/references/installation.md +6 -0
- package/payload/skill/references/live-investigation.md +173 -107
- package/payload/skill/references/live-startup.md +86 -0
- package/payload/skill/references/source-research.md +29 -11
- package/release.json +76 -96
- package/payload/addon/Clients/Evergreen.lua +0 -2
- package/payload/addon/Clients/Live.lua +0 -2
- package/payload/addon/Clients/Pandaria.lua +0 -2
- package/payload/addon/Clients/Titan.lua +0 -2
- package/payload/addon/Lychee Dev_Forever.toc +0 -52
- package/payload/addon/Lychee Dev_Mists.toc +0 -52
- package/payload/addon/Lychee Dev_Wrath.toc +0 -52
|
@@ -33,10 +33,26 @@ ns.Controls = {
|
|
|
33
33
|
and #verifyRequest <= 128 and #cleanupNonce <= 16 and string.match(cleanupNonce, "^[1-9]%d*$") then
|
|
34
34
|
action, requestId, reportSequence = "ack", verifyRequest, tonumber(cleanupNonce)
|
|
35
35
|
end
|
|
36
|
+
if verifyPrefix and string.lower(verifyPrefix) == "bridge" and string.lower(verifyVerb) == "bugs"
|
|
37
|
+
and #verifyRequest <= 128 and #cleanupNonce <= 3 and string.match(cleanupNonce,"^%d+$") then
|
|
38
|
+
action,requestId,reportSequence="bugs",verifyRequest,tonumber(cleanupNonce)
|
|
39
|
+
end
|
|
40
|
+
if verifyPrefix and string.lower(verifyPrefix) == "bridge" and string.lower(verifyVerb) == "bugs-ack"
|
|
41
|
+
and #verifyRequest <= 128 and #cleanupNonce <= 16 and string.match(cleanupNonce,"^[1-9]%d*$") then
|
|
42
|
+
action,requestId,reportSequence="bugs-ack",verifyRequest,tonumber(cleanupNonce)
|
|
43
|
+
end
|
|
44
|
+
if verifyPrefix and string.lower(verifyPrefix) == "bridge" and string.lower(verifyVerb) == "flush"
|
|
45
|
+
and #verifyRequest <= 128 and #cleanupNonce == 32 then
|
|
46
|
+
action,requestId="flush",verifyRequest
|
|
47
|
+
end
|
|
36
48
|
if command == "bridge ready" then action = "ready" end
|
|
49
|
+
if command == "bridge hide" then action = "hide" end
|
|
50
|
+
local resetNonce = string.match(command, "^bridge reset ([0-9a-f]+)$")
|
|
51
|
+
if resetNonce and #resetNonce == 32 then action = "reset" end
|
|
37
52
|
if prefix and string.lower(prefix) == "bridge" and #requestId <= 128 then
|
|
38
53
|
verb = string.lower(verb)
|
|
39
54
|
if verb == "load" or verb == "run" or verb == "reload" then action = verb end
|
|
55
|
+
if verb == "refresh" and #requestId == 32 and string.match(requestId,"^[0-9a-f]+$") then action = verb end
|
|
40
56
|
end
|
|
41
57
|
if command ~= "" and command ~= "status" and command ~= "connect" and command ~= "disconnect" and command ~= "bridge on" and command ~= "bridge off"
|
|
42
58
|
and command ~= "bridge unbind" and not nonce and not identify and not action then
|
|
@@ -67,21 +83,41 @@ ns.Controls = {
|
|
|
67
83
|
-- operation's displayed receipt: Trigger fails closed when busy.
|
|
68
84
|
local receipt, reason = ns.Identity.Trigger(identify)
|
|
69
85
|
if not receipt then return nil, reason end
|
|
70
|
-
local
|
|
86
|
+
local function refreshIdentity() return ns.Identity.Refresh(identify) end
|
|
87
|
+
local shown, displayFailure = ns.ReceiptView.ShowIdentity(receipt, refreshIdentity)
|
|
71
88
|
if not shown then return nil, displayFailure end
|
|
72
89
|
ns.Identity.WhenInputReady(function(ready)
|
|
73
90
|
if not ready then return end
|
|
74
91
|
local refreshed, refreshFailure = ns.Identity.Refresh(identify)
|
|
75
92
|
if not refreshed then print("Lychee Dev: " .. refreshFailure); return end
|
|
76
|
-
local visible, showFailure = ns.ReceiptView.ShowIdentity(refreshed)
|
|
93
|
+
local visible, showFailure = ns.ReceiptView.ShowIdentity(refreshed, refreshIdentity)
|
|
77
94
|
if not visible then ns.ReceiptView.Hide(); print("Lychee Dev: " .. showFailure) end
|
|
78
95
|
end)
|
|
79
96
|
return receipt
|
|
80
97
|
end
|
|
98
|
+
if action == "hide" then
|
|
99
|
+
-- Dismissal answers no new receipt: success must not re-display a
|
|
100
|
+
-- card or print, otherwise the command would defeat itself.
|
|
101
|
+
local dismissed, reason = ns.ReceiptView.Dismiss()
|
|
102
|
+
if not dismissed then return nil, reason end
|
|
103
|
+
return true
|
|
104
|
+
end
|
|
105
|
+
if action == "reset" then
|
|
106
|
+
-- Recovery trigger, not an operation: the nonce-correlated receipt
|
|
107
|
+
-- proves this exact trigger reached a live runtime and unblocked
|
|
108
|
+
-- its queue. The card displays session-free, like an identity.
|
|
109
|
+
local receipt, reason = ns.ProbeQueue.Reset(resetNonce)
|
|
110
|
+
if not receipt then return nil, reason end
|
|
111
|
+
local shown, displayFailure = ns.ReceiptView.ShowIdentity(receipt, nil)
|
|
112
|
+
if not shown then return nil, displayFailure end
|
|
113
|
+
return receipt
|
|
114
|
+
end
|
|
81
115
|
if action then
|
|
116
|
+
if action == "refresh" then return ns.Reentry.Refresh(requestId) end
|
|
82
117
|
if action == "prepare" then return ns.Reentry.LoadQueue(requestId, cleanupNonce) end
|
|
83
118
|
if action == "clean" then return ns.Reentry.Reload(requestId, cleanupNonce) end
|
|
84
119
|
if action == "reload" then return ns.Reentry.Reload(requestId) end
|
|
120
|
+
if action == "flush" then return ns.Reentry.Flush(requestId,cleanupNonce) end
|
|
85
121
|
-- Remove the old optical signal before loading or executing work.
|
|
86
122
|
-- Preserve request ID case; only command words are case-insensitive.
|
|
87
123
|
ns.Session.CancelInputWait()
|
|
@@ -90,23 +126,36 @@ ns.Controls = {
|
|
|
90
126
|
if action == "load" then receipt, reason = ns.ProbeQueue.Load(requestId)
|
|
91
127
|
elseif action == "ready" then receipt, reason = ns.Session.ReadyReceipt()
|
|
92
128
|
elseif action == "ack" then receipt, reason = ns.ProbeQueue.Acknowledge(requestId, reportSequence)
|
|
129
|
+
elseif action == "bugs" then receipt, reason = ns.FaultRunner.Run(requestId,reportSequence)
|
|
130
|
+
elseif action == "bugs-ack" then receipt, reason = ns.FaultRunner.Acknowledge(requestId,reportSequence)
|
|
93
131
|
elseif action == "verify" then receipt, reason = ns.ProbeQueue.VerifyRetired(requestId, cleanupNonce)
|
|
94
132
|
else receipt, reason = ns.ProbeRunner.Dispatch(requestId) end
|
|
95
133
|
if not receipt then return nil, reason end
|
|
96
|
-
local
|
|
134
|
+
local paired = action == "run" or action == "ack" or action == "bugs" or action == "bugs-ack"
|
|
135
|
+
local refresh
|
|
136
|
+
if paired or action == "ready" or action == "load" then
|
|
137
|
+
refresh = function()
|
|
138
|
+
if action == "load" then return ns.ProbeRunner.RefreshLoaded(requestId) end
|
|
139
|
+
local current, failure, signal = ns.Session.ReadyReceipt()
|
|
140
|
+
if not current then return nil, failure end
|
|
141
|
+
if paired then return receipt, current, signal end
|
|
142
|
+
return current
|
|
143
|
+
end
|
|
144
|
+
end
|
|
145
|
+
local shown, displayFailure = ns.ReceiptView.Show(receipt, nil, refresh)
|
|
97
146
|
if not shown then return nil, displayFailure end
|
|
98
|
-
if action == "load" or action == "ready" or action == "run" or action == "ack" then
|
|
147
|
+
if action == "load" or action == "ready" or action == "run" or action == "ack" or action == "bugs" or action == "bugs-ack" then
|
|
99
148
|
ns.Session.WhenInputReady(function(ready)
|
|
100
149
|
if not ready then return end
|
|
101
|
-
local refreshed, refreshFailure
|
|
102
|
-
if action == "ready" or action == "run" or action == "ack" then refreshed, refreshFailure = ns.Session.ReadyReceipt()
|
|
150
|
+
local refreshed, refreshFailure, signal
|
|
151
|
+
if action == "ready" or action == "run" or action == "ack" or action == "bugs" or action == "bugs-ack" then refreshed, refreshFailure, signal = ns.Session.ReadyReceipt()
|
|
103
152
|
else refreshed, refreshFailure = ns.ProbeRunner.RefreshLoaded(requestId) end
|
|
104
153
|
if not refreshed then print("Lychee Dev: " .. refreshFailure); return end
|
|
105
154
|
local visible, reason
|
|
106
|
-
if
|
|
107
|
-
else visible, reason = ns.ReceiptView.Show(refreshed) end
|
|
155
|
+
if paired then visible, reason = ns.ReceiptView.Show(receipt, refreshed, refresh, signal)
|
|
156
|
+
else visible, reason = ns.ReceiptView.Show(refreshed, nil, refresh) end
|
|
108
157
|
if not visible then ns.ReceiptView.Hide(); print("Lychee Dev: " .. reason); return end
|
|
109
|
-
if action ~= "run" and action ~= "ack" then receipt = refreshed end
|
|
158
|
+
if action ~= "run" and action ~= "ack" and action ~= "bugs" and action ~= "bugs-ack" then receipt = refreshed end
|
|
110
159
|
end)
|
|
111
160
|
end
|
|
112
161
|
if command == "connect" then
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
local ADDON_NAME, ns = ...
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
-- The profile comes from Core\ClientGate.lua's runtime build observation.
|
|
4
|
+
-- An unsupported build has no profile; ObserveBuild reports that failure and
|
|
5
|
+
-- Runtime surfaces it to the user instead of loading with a guessed identity.
|
|
6
|
+
local profile = ns.PlatformProfile
|
|
4
7
|
local function restricted(value)
|
|
5
8
|
return issecretvalue and issecretvalue(value)
|
|
6
9
|
end
|
|
@@ -41,6 +44,7 @@ ns.Platform = {
|
|
|
41
44
|
return { character = character, realm = realm, guid = guid }
|
|
42
45
|
end,
|
|
43
46
|
ObserveBuild = function()
|
|
47
|
+
if not profile then return nil, "platform_unsupported_build" end
|
|
44
48
|
local version, build, _, interface = GetBuildInfo()
|
|
45
49
|
if restricted(version) or restricted(build) or restricted(interface) then
|
|
46
50
|
return nil, "platform_restricted_identity"
|
|
@@ -1,25 +1,62 @@
|
|
|
1
1
|
local ADDON_NAME, ns = ...
|
|
2
2
|
|
|
3
|
-
ns.Release = "2.0.
|
|
3
|
+
ns.Release = "2.0.3"
|
|
4
4
|
ns.Startup = { ready = false, reason = "addon_not_loaded" }
|
|
5
|
+
-- Observability handle: mirrors the addon namespace for host-side /run
|
|
6
|
+
-- introspection (startup state, identity, commandFailure) on every client.
|
|
7
|
+
_G.LycheeDevInternal = ns
|
|
5
8
|
|
|
6
9
|
-- This one-shot loader is core infrastructure, not an enabled bridge feature.
|
|
7
10
|
-- No optional feature creates frames, hooks, timers, or event subscriptions here.
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
--
|
|
12
|
+
-- The name-matched ADDON_LOADED owns startup, success or not; PLAYER_LOGIN is
|
|
13
|
+
-- the fallback trigger when that event never matches (some engines signal
|
|
14
|
+
-- ADDON_LOADED under a modified internal name). Every distinct startup
|
|
15
|
+
-- failure is reported to chat exactly once, so a stalled runtime is never
|
|
16
|
+
-- invisible again.
|
|
17
|
+
local started = false
|
|
18
|
+
local printed = {}
|
|
19
|
+
local loader
|
|
20
|
+
|
|
21
|
+
local function report(trigger, failure)
|
|
22
|
+
if printed[failure] then return end
|
|
23
|
+
printed[failure] = true
|
|
24
|
+
print("|cffd83b4eLychee Dev:|r startup via " .. trigger .. " failed: " .. tostring(failure))
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
local function start(trigger)
|
|
28
|
+
if started then return true end
|
|
14
29
|
local identity, reason = ns.Platform.ObserveBuild()
|
|
15
|
-
if not identity then
|
|
30
|
+
if not identity then
|
|
31
|
+
ns.Startup = { ready = false, reason = reason }
|
|
32
|
+
report(trigger, reason)
|
|
33
|
+
return false
|
|
34
|
+
end
|
|
16
35
|
local loaded, failure = ns.Persistence.Load()
|
|
17
|
-
if not loaded then
|
|
36
|
+
if not loaded then
|
|
37
|
+
ns.Startup = { ready = false, reason = failure }
|
|
38
|
+
report(trigger, failure)
|
|
39
|
+
return false
|
|
40
|
+
end
|
|
18
41
|
ns.Startup = { ready = true, identity = identity }
|
|
42
|
+
started = true
|
|
19
43
|
local registered, registrationFailure = ns.Controls.Register()
|
|
20
44
|
if not registered then ns.Startup.commandFailure = registrationFailure end
|
|
21
45
|
if registered then
|
|
22
|
-
local resumed, resumeFailure = ns.Reentry.Start(
|
|
46
|
+
local resumed, resumeFailure = ns.Reentry.Start(loader)
|
|
23
47
|
if not resumed then ns.Startup.resumeFailure = resumeFailure end
|
|
24
48
|
end
|
|
49
|
+
return true
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
loader = CreateFrame("Frame")
|
|
53
|
+
loader:RegisterEvent("ADDON_LOADED")
|
|
54
|
+
loader:RegisterEvent("PLAYER_LOGIN")
|
|
55
|
+
loader:SetScript("OnEvent", function(self, event, name)
|
|
56
|
+
if event == "ADDON_LOADED" and name ~= ADDON_NAME then return end
|
|
57
|
+
-- One-shot: the name-matched ADDON_LOADED owns startup, success or not;
|
|
58
|
+
-- PLAYER_LOGIN is the fallback trigger when that event never matched.
|
|
59
|
+
self:UnregisterAllEvents()
|
|
60
|
+
self:SetScript("OnEvent", nil)
|
|
61
|
+
start(event)
|
|
25
62
|
end)
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
## Interface: 120100
|
|
1
|
+
## Interface: 120100, 50504, 38002, 16001
|
|
2
2
|
## Title: Lychee Dev
|
|
3
|
-
## Version: 2.0.
|
|
3
|
+
## Version: 2.0.3
|
|
4
4
|
## SavedVariables: LycheeToolkitDB
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
# One manifest for every supported client. The engine loads this file when its
|
|
7
|
+
# own build matches any declared interface; the running build's profile is
|
|
8
|
+
# selected at load time by Core\ClientGate.lua, never by TOC file choice.
|
|
9
|
+
Core\ClientGate.lua
|
|
7
10
|
# --- Toolkit 2.0 core engines (Locale, Compat, Serializer, Inspector, Safety, Execute, Stores) ---
|
|
8
11
|
Core\Locale.lua
|
|
9
12
|
Core\Locale_enUS.lua
|
|
@@ -27,14 +30,18 @@ Modules\AutomationView.lua
|
|
|
27
30
|
Bridge\ProbeQueue.lua
|
|
28
31
|
Bridge\Reentry.lua
|
|
29
32
|
Bridge\Identity.lua
|
|
33
|
+
# --- Event catalogs: all four load; Catalog.lua selects ns.Client's table ---
|
|
34
|
+
Modules\Events\CatalogData_Mainline.lua
|
|
35
|
+
Modules\Events\CatalogData_Mists.lua
|
|
36
|
+
Modules\Events\CatalogData_Titan.lua
|
|
37
|
+
Modules\Events\CatalogData_Forever.lua
|
|
38
|
+
Modules\Events\Catalog.lua
|
|
39
|
+
Modules\Events\Monitor.lua
|
|
30
40
|
# --- Workbench feature modules (object inspection, function trace, diagnostics) ---
|
|
31
41
|
Modules\ObjectInspector.lua
|
|
32
42
|
Modules\FunctionTrace.lua
|
|
33
43
|
Modules\Diagnostics.lua
|
|
34
|
-
|
|
35
|
-
Modules\Events\CatalogData_Mainline.lua
|
|
36
|
-
Modules\Events\Catalog.lua
|
|
37
|
-
Modules\Events\Monitor.lua
|
|
44
|
+
Bridge\FaultRunner.lua
|
|
38
45
|
# --- Workbench UI foundation (Widgets, TreeView, Export popup, Window shell) ---
|
|
39
46
|
UI\Widgets.lua
|
|
40
47
|
UI\TreeView.lua
|
|
@@ -4,7 +4,11 @@ local ADDON_NAME, ns = ...
|
|
|
4
4
|
-- (ns.EventCatalogData: alternating name, payloadSignature strings). Data is
|
|
5
5
|
-- sorted by literal event name, so Find is a binary search. No frames, events
|
|
6
6
|
-- or hooks are created here; selection editing stays pure Lua state.
|
|
7
|
-
|
|
7
|
+
-- All four client catalogs load in one TOC under per-product fields
|
|
8
|
+
-- (EventCatalogData_<product>); the runtime client gate's product selects the
|
|
9
|
+
-- table here at load time. An unknown client has no catalog, which surfaces as
|
|
10
|
+
-- an empty catalog rather than wrong data.
|
|
11
|
+
local data = type(ns.Client) == "string" and ns["EventCatalogData_" .. ns.Client] or nil
|
|
8
12
|
local L = ns.L
|
|
9
13
|
local ALL_INDEX = 0
|
|
10
14
|
local catalog = {}
|
|
@@ -2,7 +2,7 @@ local ADDON_NAME, ns = ...
|
|
|
2
2
|
|
|
3
3
|
-- Generated from official Forever 1.60.1 Blizzard_APIDocumentationGenerated.
|
|
4
4
|
-- wow-ui-source/forever commit: 4d5d706b8e01c5ebe01c8dd9b7a07151d8d37069.
|
|
5
|
-
ns.
|
|
5
|
+
ns.EventCatalogData_forever = {
|
|
6
6
|
"ACCOUNT_CHARACTER_CURRENCY_DATA_RECEIVED", "",
|
|
7
7
|
"ACCOUNT_CVARS_LOADED", "",
|
|
8
8
|
"ACCOUNT_MONEY", "",
|
|
@@ -2,7 +2,7 @@ local ADDON_NAME, ns = ...
|
|
|
2
2
|
|
|
3
3
|
-- Generated from official Retail 12.1.0 Blizzard_APIDocumentationGenerated.
|
|
4
4
|
-- wow-ui-source/retail commit: 31c7f7b9cc79e56c986b365c06a6afbcf3c9177b.
|
|
5
|
-
ns.
|
|
5
|
+
ns.EventCatalogData_retail = {
|
|
6
6
|
"ACCOUNT_CHARACTER_CURRENCY_DATA_RECEIVED", "",
|
|
7
7
|
"ACCOUNT_CVARS_LOADED", "",
|
|
8
8
|
"ACCOUNT_MONEY", "",
|
|
@@ -2,7 +2,7 @@ local ADDON_NAME, ns = ...
|
|
|
2
2
|
|
|
3
3
|
-- Generated from official Classic 5.5.4 Blizzard_APIDocumentationGenerated.
|
|
4
4
|
-- wow-ui-source/classic commit: 1028c1e687f721ba9d3af14d1b12a5745e4227c7.
|
|
5
|
-
ns.
|
|
5
|
+
ns.EventCatalogData_classic = {
|
|
6
6
|
"ACCOUNT_CHARACTER_CURRENCY_DATA_RECEIVED", "",
|
|
7
7
|
"ACCOUNT_CVARS_LOADED", "",
|
|
8
8
|
"ACCOUNT_STORE_CURRENCY_AVAILABLE_UPDATED", "currencyID",
|
|
@@ -2,7 +2,7 @@ local ADDON_NAME, ns = ...
|
|
|
2
2
|
|
|
3
3
|
-- Generated from official Classic Titan 3.80.2 Blizzard_APIDocumentationGenerated.
|
|
4
4
|
-- wow-ui-source/titan commit: 825d29d3662b372f0bead725ee6abd339e4a77b5.
|
|
5
|
-
ns.
|
|
5
|
+
ns.EventCatalogData_titan = {
|
|
6
6
|
"ACCOUNT_CHARACTER_CURRENCY_DATA_RECEIVED", "",
|
|
7
7
|
"ACCOUNT_CVARS_LOADED", "",
|
|
8
8
|
"ACCOUNT_STORE_CURRENCY_AVAILABLE_UPDATED", "currencyID",
|
package/payload/skill/SKILL.md
CHANGED
|
@@ -23,6 +23,7 @@ Read only the relevant reference:
|
|
|
23
23
|
- Files, icons, textures or media: [asset-export.md](references/asset-export.md).
|
|
24
24
|
- Addon load closure and compatibility: [addon-validation.md](references/addon-validation.md).
|
|
25
25
|
- Running-game investigation or recovery: [live-investigation.md](references/live-investigation.md).
|
|
26
|
+
First installation or failed contact without a session: [live-startup.md](references/live-startup.md).
|
|
26
27
|
- Existing errors: [error-diagnosis.md](references/error-diagnosis.md).
|
|
27
28
|
- Requested installation or removal: [installation.md](references/installation.md).
|
|
28
29
|
|
|
@@ -32,11 +33,22 @@ and arguments; the skill must not advertise unimplemented commands. Do not
|
|
|
32
33
|
substitute legacy wowdoc, wowdata or Python entrypoints for a missing
|
|
33
34
|
capability.
|
|
34
35
|
|
|
36
|
+
When reviewing wowdoc/wowdata migration coverage, use the repository parity
|
|
37
|
+
ledger (`tests/parity/coverage.json` and `docs/toolkit/regression.md`). It is
|
|
38
|
+
case-level offline evidence, not a replay of retired executables. Read the case
|
|
39
|
+
status and note: `passed` is current automated assertion coverage,
|
|
40
|
+
`fixture-backed`/`fixture-backed-partial` retain fixture limits, and
|
|
41
|
+
`intentional-change` is a deliberate 2.0 contract. Never describe the 55-case
|
|
42
|
+
ledger as proof of complete real CDN, Hotfix, DB2, or multi-client coverage.
|
|
43
|
+
|
|
35
44
|
## Respect the authorization boundary
|
|
36
45
|
|
|
37
46
|
Only run live commands inside the user's granted authorization.
|
|
38
47
|
`live instances` is a game operation, not read-only discovery: it sends one
|
|
39
|
-
identity trigger to
|
|
48
|
+
identity trigger to each matching, unoccupied running window. Scope discovery
|
|
49
|
+
to the authorized installation/PID when supplied. A named character also limits
|
|
50
|
+
mutation: retain its verified window binding and never fall back to a different
|
|
51
|
+
online character. Under read-only or local-only
|
|
40
52
|
authorization, state what a live check would need and ask; do not send it.
|
|
41
53
|
|
|
42
54
|
## Keep the investigation reproducible
|
|
@@ -59,9 +71,9 @@ the project lock must not retarget an investigation already in progress.
|
|
|
59
71
|
|
|
60
72
|
For live work, use a saved session to identify the target. The CLI must reconnect
|
|
61
73
|
and verify current readiness before input; historical evidence alone cannot do
|
|
62
|
-
that. When no session exists yet, `live
|
|
63
|
-
|
|
64
|
-
connection mechanically: present the candidates (product/build, character,
|
|
74
|
+
that. When no session exists yet, `live connect` handles a known target directly;
|
|
75
|
+
use `live instances` when candidate discovery is needed. The CLI completes
|
|
76
|
+
identification, selection and connection mechanically: present the candidates (product/build, character,
|
|
65
77
|
realm) and resolve only the ambiguity the CLI reports. A unique match needs no
|
|
66
78
|
question; several identical candidates stay separate until the user chooses.
|
|
67
79
|
An interrupted operation is recovered by its operation ID, not by starting the
|
|
@@ -75,6 +87,12 @@ Read the structured result, including warnings and completeness, rather than jus
|
|
|
75
87
|
the exit code. Empty query results are valid. Static validation does not prove
|
|
76
88
|
runtime safety. A short game receipt identifies a result; it is not its full body.
|
|
77
89
|
|
|
90
|
+
Evidence retention is explicit: use `evidence keep <capture-id>` when an agent
|
|
91
|
+
needs a durable retention decision, and `evidence remove <capture-id>` only when
|
|
92
|
+
the capture is no longer referenced. Keep is idempotent; remove is a destructive
|
|
93
|
+
CAS operation that refuses external references and never deletes a blob shared by
|
|
94
|
+
another capture. Do not use `cache prune` as a substitute for either decision.
|
|
95
|
+
|
|
78
96
|
For a live result, distinguish `report.state`, report content and `cleanup`.
|
|
79
97
|
A verified report remains useful when cleanup is pending; `complete: false` must
|
|
80
98
|
not be described as full completion. A probe error and a transport failure are
|
|
@@ -13,12 +13,41 @@ lycheedev source index --snapshot <pin> --format json
|
|
|
13
13
|
lycheedev source validate --path <addon-root> --toc <relative-toc-file> --snapshot <pin> --format json
|
|
14
14
|
```
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
16
|
+
For a fixed multi-client check, provide a matrix config:
|
|
17
|
+
|
|
18
|
+
```text
|
|
19
|
+
lycheedev source validate --matrix <config.json> --format json
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
The minimum config has one target; add a target for each selected client:
|
|
23
|
+
|
|
24
|
+
```json
|
|
25
|
+
{
|
|
26
|
+
"path": "./addon",
|
|
27
|
+
"targets": [
|
|
28
|
+
{
|
|
29
|
+
"id": "classic",
|
|
30
|
+
"toc": "Example.toc",
|
|
31
|
+
"product": "classic",
|
|
32
|
+
"ref": "<40-character-source-commit>"
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Replace the example path, TOC and commit with the actual inputs. `path` resolves
|
|
39
|
+
relative to the config file; `toc` is relative to that addon root. Each target
|
|
40
|
+
requires a unique `id`, `toc`, `product` and `ref`; the optional source field defaults to
|
|
41
|
+
`wow-ui-source`. Use the exact 40-character commit for a fixed comparison, or an
|
|
42
|
+
explicit full `refs/tags/...` / `refs/heads/...` ref whose resolved commit is
|
|
43
|
+
retained. A branch ref selects its current commit at preparation time, not a
|
|
44
|
+
historical version. Unknown fields are rejected.
|
|
45
|
+
|
|
46
|
+
Otherwise validate one pinned closure as above. Check `describe` for command
|
|
47
|
+
options; it does not provide the matrix JSON schema. Keep each client result separate, including
|
|
48
|
+
interface/build identity, missing files, parser issues, unresolved dynamic
|
|
49
|
+
edges, and representative locations. Do not validate a recursive directory
|
|
50
|
+
scan when the question is about the release TOC.
|
|
22
51
|
|
|
23
52
|
`load.loadValid` covers paths, ordered references and syntax. `staticValid` adds
|
|
24
53
|
the checks listed in `checks`; source-name presence is not binding-identity or
|
|
@@ -36,7 +65,7 @@ proof of in-game loading, taint safety, combat behavior, performance, or
|
|
|
36
65
|
visual correctness. Those require the appropriate live or visual evidence and
|
|
37
66
|
must be reported as untested when absent.
|
|
38
67
|
|
|
39
|
-
|
|
40
|
-
from its
|
|
68
|
+
Identify a client from its `.flavor.info` and `version.txt` metadata and build,
|
|
69
|
+
never from its directory name. Missing or conflicting identity stays unresolved.
|
|
41
70
|
Do not add unsupported client branches or hand-maintain a second product/build
|
|
42
71
|
catalog in this workflow.
|
|
@@ -95,8 +95,33 @@ The lossless WebP encoder buffers internally and cannot interrupt its CPU phase;
|
|
|
95
95
|
cancellation is checked before/after encoding and before publication, not a hard
|
|
96
96
|
encoding deadline. Choose a smaller existing mip or pixel limit for large images.
|
|
97
97
|
|
|
98
|
-
Name search and media demux
|
|
99
|
-
|
|
98
|
+
### Name search and media demux
|
|
99
|
+
|
|
100
|
+
Find named files in a pinned target with a supported listfile:
|
|
101
|
+
|
|
102
|
+
```text
|
|
103
|
+
lycheedev asset search --snapshot <pin> --listfile <community-csv|wowexport-text|wowexport-binary> --query <text> --limit 50 --format json
|
|
104
|
+
lycheedev asset search --snapshot <pin> --listfile <community-csv|wowexport-text|wowexport-binary> --extension blp --limit 50 --format json
|
|
105
|
+
lycheedev asset search --snapshot <pin> --listfile <community-csv|wowexport-text|wowexport-binary> --name 'Interface/Icons/*' --format json
|
|
106
|
+
lycheedev asset search --snapshot <pin> --listfile <community-csv|wowexport-text|wowexport-binary> --file-id <id> --format json
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
Choose exactly one lookup mode: `--query <text>`, `--extension <ext>`,
|
|
110
|
+
`--name <path>`, or `--file-id <id>`. `--limit` bounds text search and extension
|
|
111
|
+
pages. The command reuses a verified cached listfile when available. Search
|
|
112
|
+
results identify candidates; inspect or export a selected file ID before
|
|
113
|
+
interpreting its contents.
|
|
114
|
+
|
|
115
|
+
Demux a supported VP9 AVI from a local file or pinned CASC source:
|
|
116
|
+
|
|
117
|
+
```text
|
|
118
|
+
lycheedev asset demux --path <local-file> --output <existing-directory> --max-frames 500 --format json
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
For CASC input, supply `--snapshot <pin> --file-id <id>` and exactly one of
|
|
122
|
+
`--installation <client-or-game-root>` or `--cdn`. Frame, byte and partial
|
|
123
|
+
output bounds are explicit; retain the returned completion and truncation
|
|
124
|
+
state. Do not treat partial output as a complete media export.
|
|
100
125
|
|
|
101
126
|
Confirm the resolved file data ID or path, size, encoding, content hash, build,
|
|
102
127
|
and locale where applicable before interpreting the artifact. Metadata is not
|