lycheedev 3.1.1 → 3.2.0
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 +16 -38
- package/THIRD_PARTY_NOTICES +4 -314
- package/bin/lycheedev.mjs +1 -1
- package/bin/update.mjs +26 -32
- package/native/windows-amd64/lycheedev.exe +0 -0
- package/package.json +1 -1
- package/payload/addon/Bindings.xml +12 -0
- package/payload/addon/Bridge/ActivityView.lua +2 -5
- package/payload/addon/Bridge/CaptureWriter.lua +9 -115
- package/payload/addon/Bridge/FocusBindings.lua +71 -0
- package/payload/addon/Bridge/InputProtection.lua +2 -9
- package/payload/addon/Bridge/InputState.lua +15 -19
- package/payload/addon/Bridge/MemoryProtocol.lua +1 -1
- package/payload/addon/Bridge/ProbeExecution.lua +1 -0
- package/payload/addon/Bridge/ReceiverBindings.lua +73 -279
- package/payload/addon/Bridge/SlotProtocol.lua +30 -12
- package/payload/addon/Bridge/SlotRuntime.lua +9 -12
- package/payload/addon/Core/ClientGate.lua +2 -0
- package/payload/addon/Core/Compat.lua +25 -24
- package/payload/addon/Core/Controls.lua +27 -248
- package/payload/addon/Core/Execute.lua +22 -19
- package/payload/addon/Core/Locale.lua +4 -116
- package/payload/addon/Core/Locale_enUS.lua +4 -116
- package/payload/addon/Core/Persistence.lua +2 -2
- package/payload/addon/Core/Runtime.lua +46 -64
- package/payload/addon/Core/Serializer.lua +9 -1
- package/payload/addon/Core/Startup.lua +20 -0
- package/payload/addon/Core/Stores.lua +63 -95
- package/payload/addon/LICENSE +21 -0
- package/payload/addon/Lychee Dev.toc +10 -21
- package/payload/addon/Modules/AutomationView.lua +47 -383
- package/payload/addon/Modules/Diagnostics.lua +0 -4
- package/payload/addon/Modules/Events/Catalog.lua +1 -1
- package/payload/addon/Modules/Events/CatalogData_Anniversary.lua +1489 -0
- package/payload/addon/Modules/Events/CatalogData_Era.lua +1489 -0
- package/payload/addon/Modules/FunctionTrace.lua +17 -6
- package/payload/addon/Modules/ObjectInspector.lua +27 -25
- package/payload/addon/THIRD_PARTY_NOTICES +483 -0
- package/payload/addon/UI/Pages/Automation.lua +7 -64
- package/payload/addon/UI/Pages/Events.lua +0 -4
- package/payload/addon/UI/Pages/ExportRecords.lua +1 -1
- package/payload/addon/UI/Pages/Object.lua +5 -4
- package/payload/addon/UI/Pages/Run.lua +7 -1
- package/payload/addon/UI/TreeView.lua +0 -11
- package/payload/addon/UI/Widgets.lua +0 -102
- package/payload/addon/UI/Window.lua +0 -6
- package/payload/skill/SKILL.md +11 -2
- package/payload/skill/references/commands.md +17 -27
- package/payload/skill/references/data-hotfix.md +6 -3
- package/payload/skill/references/data-investigation.md +5 -2
- package/payload/skill/references/data-tables.md +4 -0
- package/payload/skill/references/data-targets.md +4 -2
- package/payload/skill/references/installation.md +9 -3
- package/payload/skill/references/live-investigation.md +14 -6
- package/payload/skill/references/live-probes.md +9 -8
- package/payload/skill/references/live-recovery.md +75 -42
- package/payload/skill/references/live-startup.md +97 -76
- package/payload/skill/references/runtime-investigations.md +10 -8
- package/payload/skill/references/source-preparation.md +23 -2
- package/payload/skill/references/source-research.md +58 -5
- package/payload/skill/scripts/lycheedev.mjs +16 -12
- package/release.json +136 -176
- package/payload/addon/Bridge/Definitions.lua +0 -3
- package/payload/addon/Bridge/FaultRunner.lua +0 -44
- package/payload/addon/Bridge/Identity.lua +0 -127
- package/payload/addon/Bridge/InputProtocol.lua +0 -76
- package/payload/addon/Bridge/InputSignal.lua +0 -36
- package/payload/addon/Bridge/Investigation.lua +0 -159
- package/payload/addon/Bridge/MatrixSymbol.lua +0 -1169
- package/payload/addon/Bridge/ProbeQueue.lua +0 -205
- package/payload/addon/Bridge/ProbeRunner.lua +0 -349
- package/payload/addon/Bridge/ReceiptView.lua +0 -316
- package/payload/addon/Bridge/Receiver.lua +0 -326
- package/payload/addon/Bridge/Reentry.lua +0 -261
- package/payload/addon/Bridge/ReportStore.lua +0 -224
- package/payload/addon/Bridge/Session.lua +0 -173
- package/payload/addon/Bridge/StartupBeacon.lua +0 -63
|
@@ -6,16 +6,24 @@ observation establishes what happened on its selected client and conditions.
|
|
|
6
6
|
|
|
7
7
|
Start with retained state: status/results for an existing CON, [recovery](live-recovery.md)
|
|
8
8
|
for unfinished work, or select/connect below for a new task. Reuse a matching
|
|
9
|
-
idle CON.
|
|
9
|
+
idle CON. For activation, missing readiness or installation problems, use the
|
|
10
|
+
[doctor/startup workflow](live-startup.md); diagnosis itself sends no input.
|
|
10
11
|
Use [retained errors](error-diagnosis.md) or [performance measurement](runtime-investigations.md)
|
|
11
12
|
when they answer the question; write a [probe](live-probes.md) only for missing evidence.
|
|
12
13
|
|
|
13
|
-
|
|
14
|
-
|
|
14
|
+
Lycheedev mailbox protocol v1 uses runtime instruction matching and RIP-relative
|
|
15
|
+
displacement decoding to locate the Lua root and named public Mailbox, with a
|
|
16
|
+
matching clean 500-slot installation. The CLI validates the current process,
|
|
15
17
|
typed path, publication, owner/fence, challenge and exact result. Old native
|
|
16
|
-
wire/identity is rejected.
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
wire/identity is rejected. Forever scans readable module code, retains short-read
|
|
19
|
+
bytes, decodes RIP targets and deduplicates roots before Lua/Mailbox validation.
|
|
20
|
+
Root evidence records coverage gaps: a successful lookup with `scanComplete=false`
|
|
21
|
+
does not establish uniqueness across unreadable code. Unsupported code/layout
|
|
22
|
+
or unresolved root ambiguity stops discovery; it never invokes a heap scanner
|
|
23
|
+
or reuses another build's RVA.
|
|
24
|
+
`--no-cache` remains accepted for compatibility; both forms use this same
|
|
25
|
+
current guarded lookup. Historical CLI versions require their own contract and
|
|
26
|
+
implementation evidence. Raw address research is a separate task.
|
|
19
27
|
|
|
20
28
|
## Select and connect
|
|
21
29
|
|
|
@@ -10,8 +10,7 @@ lycheedev live probe put --name <name> --file <probe.lua> --format json
|
|
|
10
10
|
```
|
|
11
11
|
|
|
12
12
|
Names are mutable selectors; retain the returned immutable PRB revision. Use it
|
|
13
|
-
with native execute.
|
|
14
|
-
and are not the transport for CON connections.
|
|
13
|
+
with native execute. The CLI owns slot publication, confirmation and cleanup.
|
|
15
14
|
|
|
16
15
|
```text
|
|
17
16
|
lycheedev live execute --project <project-directory> --session <CON-id> --probe <PRB-revision> --request <stable-key> --budget-seconds 35 --policy observation --wait-seconds 120 --format json
|
|
@@ -124,8 +123,9 @@ with an Agent-chosen duration no longer than the remaining probe budget; there
|
|
|
124
123
|
is no separate five-second cap. Use
|
|
125
124
|
`probe:ReleaseInput()` immediately after the exclusive actions; the remainder
|
|
126
125
|
of an async probe runs normally. Completion and errors release before user
|
|
127
|
-
cleanup. The hard deadline, combat, leaving the world or
|
|
128
|
-
shield and fail the active probe rather than silently continuing unprotected.
|
|
126
|
+
cleanup. The hard deadline, combat, leaving the world or runtime cancellation release
|
|
127
|
+
the shield and fail the active probe rather than silently continuing unprotected.
|
|
128
|
+
There is no separate input-protection cancel binding.
|
|
129
129
|
Use `probe:IsInputProtected()` to observe this probe's lease. Late callbacks and
|
|
130
130
|
old lease timers cannot resume a finished probe or release a newer lease.
|
|
131
131
|
|
|
@@ -133,10 +133,11 @@ This is an in-game input shield, not an OS-wide lock, protection from disconnect
|
|
|
133
133
|
or a source of secure hardware-action authority. Keep checking scene prerequisites
|
|
134
134
|
even while protected. Use bounded Lua: a blocked synchronous Lua callback cannot
|
|
135
135
|
be preempted by a Lua timer. Slot loading protects only its short dispatch burst
|
|
136
|
-
(two-second safety deadline) and releases before business entry.
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
136
|
+
(two-second safety deadline) and releases before business entry. Reload retains the host's serialized, bounded input transaction and requires
|
|
137
|
+
compatible fresh INPUT with the actual reload binding. If no compatible runtime
|
|
138
|
+
is loaded, follow [live startup](live-startup.md) and ask for one manual reload;
|
|
139
|
+
do not send an unverified key. Never hold a game shield while scanning memory
|
|
140
|
+
or awaiting reload.
|
|
140
141
|
|
|
141
142
|
Combat lockdown and secret values are trust boundaries. Check them before
|
|
142
143
|
comparison, formatting or branching. Record unavailable and truncated values
|
|
@@ -11,7 +11,9 @@ lycheedev live status <CON-id> --project <project-directory> --format json
|
|
|
11
11
|
lycheedev live resume <CON-id> --project <project-directory> --wait-seconds 120 --format json
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
-
Status reads persisted evidence
|
|
14
|
+
Status reads persisted evidence; retained identity/input is not a fresh sample
|
|
15
|
+
and cannot establish that a user reload or character change did not happen.
|
|
16
|
+
Resume acquires the same connection's driver
|
|
15
17
|
lease, reconciles original nonces and continues within both the caller's wait
|
|
16
18
|
limit and the original durable deadline. Exit 6 retains usable results and
|
|
17
19
|
unfinished cleanup. Choose from the returned `continuation`, including its
|
|
@@ -19,13 +21,27 @@ goal, blocker condition and remaining budget:
|
|
|
19
21
|
|
|
20
22
|
| Kind | Next action |
|
|
21
23
|
| --- | --- |
|
|
22
|
-
| `continue` | Continue the original CON serially within its budget; reconcile the receipt or focus condition |
|
|
24
|
+
| `continue` | Continue the original CON serially within its budget when no unresolved hard error prevents progress; reconcile the receipt or focus condition |
|
|
23
25
|
| `wait_active_driver` | Wait for the existing host call; do not start a competing resume |
|
|
24
26
|
| `wait_external` | Resolve or wait for the named dependency to change, then resume |
|
|
25
27
|
| `needs_decision` | Inspect the concrete outcome/blocker and choose an action covered by the task's scope |
|
|
26
28
|
| `budget_exhausted` | Retain results and consider permitted cleanup/recovery; do not renew business time |
|
|
27
29
|
| `completed` | Read this command's terminal outcome; check whether the overall investigation is done |
|
|
28
30
|
|
|
31
|
+
Continuation describes the retained goal, not permission to ignore a returned
|
|
32
|
+
error. `continue` together with `retryable=false` calls for diagnosing that
|
|
33
|
+
concrete read/compatibility failure, then retrying only after relevant evidence
|
|
34
|
+
or a prerequisite changes. Keep the original CON; do not busy-loop resume or
|
|
35
|
+
request repeated reloads. A read failure alone proves neither runtime retirement
|
|
36
|
+
nor that a submitted input was unexecuted.
|
|
37
|
+
|
|
38
|
+
For a verified report whose attempted release has no exact receipt, the CLI
|
|
39
|
+
observes the original receipt for five seconds, then journals one automatic
|
|
40
|
+
cleanup reload within the original operation deadline. Resume the same CON;
|
|
41
|
+
do not issue a new probe or resend release. Reload still requires fresh INPUT,
|
|
42
|
+
and cleanup completes only after verified runtime retirement. The report and
|
|
43
|
+
original attempt remain unchanged.
|
|
44
|
+
|
|
29
45
|
`needs_decision` is not an automatic permission prompt. Necessary recovery can
|
|
30
46
|
already be authorized; an unresolved opaque effect may instead require an
|
|
31
47
|
independent observation or a truthful handoff. Do not infer recovery from an
|
|
@@ -77,6 +93,11 @@ replacement runtime; it does not prove this CLI sent or caused a reload.
|
|
|
77
93
|
Saved `runtimeEnd` evidence needs only input-free retirement.
|
|
78
94
|
The original input record remains the authority for what was sent.
|
|
79
95
|
|
|
96
|
+
This closing recovery also covers an initial bind whose input was attempted but
|
|
97
|
+
never acknowledged: disconnect first preserves closing intent, then the same
|
|
98
|
+
explicit reload can retire it. It does not bind the replacement or resend the
|
|
99
|
+
old bind. An ordinary unbound connection does not gain reload permission.
|
|
100
|
+
|
|
80
101
|
Use this explicit recovery only when needed within the authorized task, after
|
|
81
102
|
inspecting the concrete blocker; pending, contention or budget exhaustion alone
|
|
82
103
|
does not call for reload. Without replacement proof, retain pending cleanup and
|
|
@@ -96,6 +117,15 @@ prepared exchange needs explicit reload, preserve its blocker and use the
|
|
|
96
117
|
existing reload command only within the authorized scope. Closing is not proof
|
|
97
118
|
that an already submitted opaque operation was cancelled or never ran.
|
|
98
119
|
|
|
120
|
+
An activation may be prepared or waiting for manual reload before a connection journal
|
|
121
|
+
exists. `live disconnect` can cancel it without game input only when its saved
|
|
122
|
+
state proves no input intent or a `not_sent` outcome with zero queued messages
|
|
123
|
+
and no input progress. It preserves the activation record as
|
|
124
|
+
`activation_cancelled` and releases only its exact window owner. Status, resume
|
|
125
|
+
and repeated disconnect retain this terminal state; `closed=true` does not
|
|
126
|
+
claim a successful activation or business result (`complete=false`). Submitted,
|
|
127
|
+
uncertain or runtime-selected activations do not use this cancellation path.
|
|
128
|
+
|
|
99
129
|
## Ownership and runtime retirement
|
|
100
130
|
|
|
101
131
|
A PID has one durable owner across projects and one active host driver. CLI exit
|
|
@@ -122,24 +152,31 @@ never automatically transfer the old request or probe.
|
|
|
122
152
|
|
|
123
153
|
## Input and recovery
|
|
124
154
|
|
|
125
|
-
The CLI journals input
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
155
|
+
The CLI journals input under Lycheedev mailbox protocol v1. Current Mailbox
|
|
156
|
+
records carry input readiness, identity, routing and results. Native input does
|
|
157
|
+
not use colors, capture, QR or a startup beacon. Missing or stale input records
|
|
158
|
+
never authorize keys or a blind reload fallback.
|
|
159
|
+
|
|
160
|
+
Ordinary EditBoxes forward only the two formal Lychee Dev actions while the
|
|
161
|
+
bridge is enabled. Focus and draft text stay intact. Current INPUT publishes
|
|
162
|
+
`escapeLimit=0`; no Esc is needed. Password, secure text, protected or forbidden
|
|
163
|
+
editors return `input_focus_unavailable`; retain the CON and wait for the user to
|
|
164
|
+
leave that field. Combat, loading and stale evidence never authorize keys.
|
|
165
|
+
Held Ctrl, Alt, Shift, either Win key or a key in the selected chord delays input
|
|
166
|
+
until release. The CLI never forces the user's physical keys up. A user can
|
|
167
|
+
still interrupt a chord after that check; only the addon receipt confirms execution.
|
|
168
|
+
|
|
169
|
+
The enabled INPUT sampler remains active when an AFK interface hides UIParent.
|
|
170
|
+
Loading, world state and focus checks still apply. Fresh telemetry does not
|
|
171
|
+
prove that a third-party keyboard frame forwards the binding.
|
|
172
|
+
|
|
173
|
+
In-game edit focus differs from Windows foreground focus. Input targets the
|
|
174
|
+
verified HWND through PostMessage without activating or stealing the foreground.
|
|
175
|
+
The CLI verifies process/window identity and rejects minimized targets. Agents
|
|
176
|
+
do not send keys, clear focus, decode colors or locate memory addresses manually.
|
|
177
|
+
|
|
178
|
+
For `input_binding_unavailable`, run `live doctor` on the same CON and resolve
|
|
179
|
+
the selected target’s effective binding before further input. Do not change user bindings or protocol keys, or repeat wake to
|
|
143
180
|
test the conflict. A ready input observation does not prove the shortcut reaches
|
|
144
181
|
the receiver. If input was already submitted or uncertain, retain the original
|
|
145
182
|
CON and slot reservation and follow official CLI recovery; fixing the binding
|
|
@@ -147,21 +184,17 @@ does not authorize replay of unknown input. Never delete the slot to unblock
|
|
|
147
184
|
another instance; use [verified retirement](#ownership-and-runtime-retirement)
|
|
148
185
|
when the original process or runtime has ended.
|
|
149
186
|
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
agents must not choose a chord from the warning, mix profiles or substitute a
|
|
162
|
-
key themselves. If both profiles conflict, resolve that specific conflict with
|
|
163
|
-
the owner; ready colors alone do not authorize input. A fixed-F12 older runtime
|
|
164
|
-
is not compatible with this profile contract.
|
|
187
|
+
The in-game keybinding settings contain execute and reload under Lychee Dev.
|
|
188
|
+
Defaults are Ctrl+Alt+F12 and Ctrl+Alt+F11, with F10/F9 as conflict fallbacks.
|
|
189
|
+
Existing assignments are preserved. `/dev receiver reset` fills missing actions
|
|
190
|
+
using free defaults; it does not overwrite player keys or repair a pending CON.
|
|
191
|
+
The CLI reads actual effective bindings from Mailbox; never substitute a chord.
|
|
192
|
+
Reload uses its own game binding and calls the UI reload API directly. Legacy
|
|
193
|
+
input-v3/hybrid-v2 grants no new keys; install the current addon, reload manually
|
|
194
|
+
and resume the retained activation.
|
|
195
|
+
The previous name of the two-key protocol is different: its fresh INPUT with
|
|
196
|
+
zero Esc may authorize only the upgrade reload. Let the CLI complete that step;
|
|
197
|
+
the new runtime publishes the full current name before business resumes.
|
|
165
198
|
|
|
166
199
|
Input evidence is distinct from execution: `not_sent` proves zero messages were
|
|
167
200
|
queued; `submitted` proves only queue submission; `uncertain` (or an intent with
|
|
@@ -177,10 +210,9 @@ replay. Diagnose unsupported roots/layouts or read gaps from retained evidence;
|
|
|
177
210
|
do not fix them by copying an RVA, scanning memory or looping reloads.
|
|
178
211
|
|
|
179
212
|
`waiting: shared_publication` is shared-file contention inside one installation,
|
|
180
|
-
not proof of a lost connection. Native 3.
|
|
181
|
-
identity and
|
|
182
|
-
Retain incompatible evidence for
|
|
183
|
-
the new driver to it. The current 200-slot allocator can skip another
|
|
213
|
+
not proof of a lost connection. Native 3.2 development requires the Mailbox wire,
|
|
214
|
+
identity and 500-slot pool; it rejects older native connection identities.
|
|
215
|
+
Retain incompatible evidence for diagnosis; current drivers cannot execute old-wire journals. The current 500-slot allocator can skip another
|
|
184
216
|
owner's reservations for a new exchange only before publication or input. The
|
|
185
217
|
runtime skips empty/foreign slots and stops at the first envelope for itself;
|
|
186
218
|
it does not skip its own pending work. Once published, submitted or uncertain,
|
|
@@ -197,7 +229,7 @@ A combat or focus wait retains its reservation, not the short publication lock.
|
|
|
197
229
|
|
|
198
230
|
`complete` applies to the current command: a connected runtime does not complete
|
|
199
231
|
a pending disconnect, and a previous report does not complete reload. UI activity
|
|
200
|
-
|
|
232
|
+
is not execution or result proof.
|
|
201
233
|
|
|
202
234
|
The whole `.lycheedev/live` directory is the recovery unit. Keep connection logs,
|
|
203
235
|
linked history segments, content-addressed `connections/artifacts`, target metadata
|
|
@@ -209,14 +241,15 @@ a recovery error, never a reason to generate another request key.
|
|
|
209
241
|
|
|
210
242
|
Durable deadlines are 600 seconds per business request or explicit reload,
|
|
211
243
|
120 seconds for initial bind or first close, and 600 seconds for activation
|
|
212
|
-
carried into its bind.
|
|
244
|
+
carried into its bind. Waiting for the first manual reload starts no connection
|
|
245
|
+
budget until the new runtime is observed. Other time between calls counts. Resume, repeated close and
|
|
213
246
|
changing request keys do not extend a goal. Close retains its own allowance
|
|
214
247
|
after business exhaustion; existing evidence remains readable. Detected clock
|
|
215
248
|
rollback stops automatic work; an unseen offline clock change cannot be detected.
|
|
216
249
|
|
|
217
250
|
Current native writes use channel-v2 and activation-v3 with the current Mailbox
|
|
218
251
|
identity. Older native wire/identity journals are rejected before driving or
|
|
219
|
-
budget migration; preserve them for diagnosis
|
|
252
|
+
budget migration; preserve them for read-only diagnosis.
|
|
220
253
|
An older artifact serialization within a compatible connection is a different
|
|
221
254
|
case and does not establish old-wire compatibility. A CLI wait timeout or
|
|
222
255
|
interruption ends the host call, not the game-side probe or its cleanup.
|
|
@@ -1,80 +1,101 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
Use this
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
After an intentional installation/update with no usable connection, explicit
|
|
40
|
-
activation is also available:
|
|
1
|
+
# Live doctor and startup
|
|
2
|
+
|
|
3
|
+
Use this for first contact, a newly installed or upgraded addon, or a startup
|
|
4
|
+
failure. Disk installation and a loaded runtime are separate facts. Native live
|
|
5
|
+
uses Lycheedev mailbox protocol v1: a named Mailbox, 500 slots and two formal game bindings.
|
|
6
|
+
|
|
7
|
+
## Diagnose the selected target
|
|
8
|
+
|
|
9
|
+
Use the installed CLI's known `describe`/help capabilities before selecting a
|
|
10
|
+
doctor command; reuse that information when already available. If `live doctor`
|
|
11
|
+
is absent, do not substitute top-level `doctor` unless its actual help includes
|
|
12
|
+
the required live target checks. A newer Skill or the same displayed version
|
|
13
|
+
number does not establish the same commit, wire protocol or slot inventory.
|
|
14
|
+
Keep an older CON with its matching CLI for supported diagnosis/recovery;
|
|
15
|
+
[current drivers cannot execute old-wire journals](live-recovery.md#durable-evidence-and-older-journals).
|
|
16
|
+
Do not replace its journal or install a new driver merely to make these examples fit.
|
|
17
|
+
|
|
18
|
+
Retain the authorized installation and PID, or the original project and CON.
|
|
19
|
+
Use `live instances --passive` only when a target is missing. Folder names,
|
|
20
|
+
shared builds and the Windows foreground window do not identify a connection.
|
|
21
|
+
|
|
22
|
+
```text
|
|
23
|
+
lycheedev live doctor --project <project-directory> --installation <client> --pid <pid> --format json
|
|
24
|
+
lycheedev live doctor --project <project-directory> --session <CON-id> --format json
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Doctor checks the managed files, 500-slot inventory, PID ownership, runtime
|
|
28
|
+
locator, independent bootstrap diagnostic, current runtime and fresh INPUT.
|
|
29
|
+
It sends no keys and creates no connection. Read each check’s state, detail and
|
|
30
|
+
nextStep. A bootstrap snapshot explains startup; only fresh INPUT authorizes
|
|
31
|
+
machine input. Top-level `doctor` with the same target selectors includes these
|
|
32
|
+
same checks alongside workspace/data/source checks.
|
|
33
|
+
|
|
34
|
+
## Complete the authorized repair
|
|
35
|
+
|
|
36
|
+
Within an authorized live task, activation and recovery need no repeated approval.
|
|
37
|
+
Use `--fix` when diagnosis requires installation, activation or connection recovery:
|
|
41
38
|
|
|
42
39
|
```text
|
|
43
|
-
lycheedev live
|
|
40
|
+
lycheedev live doctor --fix --project <project-directory> --installation <client> --pid <pid> --format json
|
|
44
41
|
```
|
|
45
42
|
|
|
46
|
-
The CLI
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
43
|
+
The packaged CLI uses its own distribution. Development or separately staged
|
|
44
|
+
releases can supply `--release <release-root>`; `--output <archive-directory>`
|
|
45
|
+
selects the upgrade archive. The CLI installs absent files or upgrades a clean
|
|
46
|
+
managed installation through the existing installer. Modified/unmanaged files
|
|
47
|
+
need [installation](installation.md) diagnosis, not an overlay copy.
|
|
48
|
+
|
|
49
|
+
| Result | Continue |
|
|
50
|
+
| --- | --- |
|
|
51
|
+
| Ready runtime, clean installation | Connect and keep the returned CON |
|
|
52
|
+
| Two formal bindings loaded under the previous protocol name | Let fix/resume send the verified reload key once, then bind the current protocol; do not ask for manual reload merely because the name changed |
|
|
53
|
+
| Existing connection in this project | Resume its original request; pending input is not replaced |
|
|
54
|
+
| Foreign project owns the PID | Continue from the owning project; do not delete its claim |
|
|
55
|
+
| manual_reload_required | Ask the user to reload once in the selected game window, then resume the returned CON |
|
|
56
|
+
| Bootstrap failed | Read its startup reason and addon errors; the manual reload binding remains available |
|
|
57
|
+
| restart_required / incomplete loaded inventory | Restart that selected client within scope; repeated reloads do not discover missing folders |
|
|
58
|
+
| Combat, restricted editor, stale INPUT | Preserve the CON and wait for the reported condition to change |
|
|
59
|
+
|
|
60
|
+
When updating a selected PID that already has a connection, fix closes the original CON through the repair path before replacing files.
|
|
61
|
+
This path accepts clean prior managed files for cleanup and never starts pending business. Unresolved input or another
|
|
62
|
+
instance’s claim can block the shared-directory update; retain the original IDs.
|
|
63
|
+
Each process sharing the installation must load and verify the new runtime
|
|
64
|
+
independently. One PID’s successful reload never activates another PID.
|
|
65
|
+
|
|
66
|
+
## First installation and reload
|
|
67
|
+
|
|
68
|
+
A loaded runtime with fresh two-key INPUT can reload automatically during a
|
|
69
|
+
protocol-name upgrade. The CLI reads its effective reload binding, journals
|
|
70
|
+
one key delivery and observes the new runtime. Its old business wire is not
|
|
71
|
+
reused. A pending activation is reassessed by resume when this capability is available.
|
|
72
|
+
|
|
73
|
+
If the addon is not running, it cannot register a key or report where text would
|
|
74
|
+
land. The CLI records `activation_waiting_manual_reload` and sends nothing.
|
|
75
|
+
The user enters `/reload` once in that exact game window; then:
|
|
76
|
+
|
|
77
|
+
```text
|
|
78
|
+
lycheedev live resume <CON-id> --project <project-directory> --wait-seconds 120 --format json
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
Manual waiting does not spend the later connection budget. Once the CLI observes
|
|
82
|
+
the new runtime, normal bounded binding begins. If the client must restart to
|
|
83
|
+
find new slot folders, retire the old process's connection and bind the new PID;
|
|
84
|
+
do not transfer unknown input to it. Preserve the selected actor when specified.
|
|
85
|
+
|
|
86
|
+
The compatibility command `live reload fallback` follows the same activation
|
|
87
|
+
rules. It no longer sends Esc, Enter or chat text. Older input-v3/hybrid-v2
|
|
88
|
+
runtimes require manual activation; their records do not authorize new keys.
|
|
89
|
+
|
|
90
|
+
## Keyboard behavior
|
|
91
|
+
|
|
92
|
+
The keybinding page shows Execute and Reload under Lychee Dev. Defaults are
|
|
93
|
+
Ctrl+Alt+F12 and Ctrl+Alt+F11; free conflict fallbacks are F10 and F9. Existing
|
|
94
|
+
player assignments are preserved, and the CLI reads actual effective keys from
|
|
95
|
+
Mailbox. `/dev receiver reset` fills missing actions using free defaults.
|
|
96
|
+
|
|
97
|
+
Ordinary EditBoxes selectively forward these two actions while keeping draft,
|
|
98
|
+
cursor and focus. Password/secure/protected editors stay blocked. Native input
|
|
99
|
+
uses zero Esc; reload directly invokes the UI API. A submitted or unknown key
|
|
100
|
+
is observed through the original CON rather than retried. See
|
|
101
|
+
[live recovery](live-recovery.md) for retained input and runtime retirement.
|
|
@@ -45,7 +45,7 @@ game startup latency. If the hang occurs during input before execution, examine
|
|
|
45
45
|
the input path rather than attributing it to the probe's business logic.
|
|
46
46
|
|
|
47
47
|
For current native Mailbox transport measurements, separate process/module
|
|
48
|
-
initialization, guarded Lua-root resolution, named-field reads,
|
|
48
|
+
initialization, guarded Lua-root resolution, named-field reads, Mailbox readiness
|
|
49
49
|
and waiting, input dispatch, probe execution, result retrieval and diagnostic
|
|
50
50
|
flush. The host follows the selected module's root to current Lua globals and
|
|
51
51
|
`LycheeDevInternal.Mailbox`; it does not search private heap regions for records.
|
|
@@ -56,18 +56,20 @@ coverage as heap coverage, or a successful named-field lookup as whole-client
|
|
|
56
56
|
memory coverage. A missing field, changed layout or unreadable guard fails closed
|
|
57
57
|
without a scanner fallback. Do not bypass that failure with guessed RVAs.
|
|
58
58
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
59
|
+
Native transport reads the Mailbox directly and does not capture screenshots.
|
|
60
|
+
Keep window state, foreground/background FPS, loaded capability and candidate
|
|
61
|
+
binary fixed when
|
|
62
62
|
comparing runs. Preserve module coverage, read counts/bytes and named-lookup
|
|
63
|
-
completion where recorded. `--no-cache`
|
|
64
|
-
|
|
63
|
+
completion where recorded. `--no-cache` is an accepted compatibility flag: with
|
|
64
|
+
or without it, the current reader uses the same guarded Lua table lookup. No
|
|
65
|
+
retained heap address or hint participates, so the flag is not a current
|
|
66
|
+
measurement variable. Diagnose historical versions against their own command
|
|
67
|
+
contract and implementation rather than assuming this behavior. Keep initial
|
|
65
68
|
root resolution separate from subsequent receipt/body lookups, and keep a
|
|
66
69
|
completed historical request's input-free read-back separate from fresh execution;
|
|
67
70
|
report transport completion, `report.ok` and cleanup separately. A failed probe
|
|
68
71
|
assertion is not successful performance validation merely because transport
|
|
69
|
-
retrieved it. Results from the old
|
|
70
|
-
path or a different candidate. Same-build instances are separate measurements,
|
|
72
|
+
retrieved it. Results from the old hybrid path do not validate Lycheedev mailbox protocol v1 or a different candidate. Same-build instances are separate measurements,
|
|
71
73
|
not interchangeable targets.
|
|
72
74
|
|
|
73
75
|
Compare only evidence sealed for the matching candidate and target. Fast named
|
|
@@ -9,6 +9,23 @@ not list tags; missing version text there does not mean the release is absent.
|
|
|
9
9
|
Read the repository's own track map: do not apply a game product to every addon
|
|
10
10
|
repository. A source track is not proof of installation compatibility.
|
|
11
11
|
|
|
12
|
+
For `wow-ui-source`, the seven delivery products map to these Git branches:
|
|
13
|
+
|
|
14
|
+
| Product | Branch |
|
|
15
|
+
| --- | --- |
|
|
16
|
+
| `retail` | `live` |
|
|
17
|
+
| `classic` | `classic` |
|
|
18
|
+
| `classic-era` | `classic_era` |
|
|
19
|
+
| `titan` | `classic_titan` |
|
|
20
|
+
| `forever-asia-beta`, `forever-cn-beta` | `forever` |
|
|
21
|
+
| `anniversary` | `classic_anniversary` |
|
|
22
|
+
|
|
23
|
+
The beta folder `_classic_beta_` does not imply the old Git branch `classic_beta`.
|
|
24
|
+
The legacy family-wide `forever` source pin can accompany either beta's Data
|
|
25
|
+
pin; regional source pins retain their exact delivery identity. Data build
|
|
26
|
+
configurations and client runtime verification remain separate even when the
|
|
27
|
+
UI source commit is shared.
|
|
28
|
+
|
|
12
29
|
Initialize a new Toolkit home with `lycheedev init` before syncing; an empty
|
|
13
30
|
directory alone is not a workspace. Reuse an initialized `--home` when available.
|
|
14
31
|
Use that same home for preparation and subsequent pin reads; a pin ID does not
|
|
@@ -24,8 +41,12 @@ lycheedev source sync --source <catalog-key> --product <repository-track> --ref
|
|
|
24
41
|
commit or full `refs/heads/...` / `refs/tags/...` ref. Omission observes the selected
|
|
25
42
|
track's current branch; use that only when the request allows current source.
|
|
26
43
|
For a named release without an exact ref, establish its tag/commit from repository
|
|
27
|
-
evidence
|
|
28
|
-
|
|
44
|
+
evidence already retained or available through the Toolkit. If the installed CLI
|
|
45
|
+
lacks the needed tag/ref discovery capability, use verified external repository
|
|
46
|
+
metadata under the [source routing rules](source-research.md#route-source-evidence),
|
|
47
|
+
then return the resolved ref to `source sync`. Ask only if the mapping remains
|
|
48
|
+
unavailable or ambiguous. Never guess a tag, silently use latest, or replace an
|
|
49
|
+
unavailable exact revision with a branch.
|
|
29
50
|
|
|
30
51
|
Carry the returned fixed pin and exact commit between calls. Preserve requested
|
|
31
52
|
version/tag, repository identity and parser revision; a tag is a traceable label,
|