lycheedev 2.5.1 → 3.0.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/native/windows-amd64/lycheedev.exe +0 -0
- package/package.json +1 -1
- package/payload/addon/Bridge/ActivityView.lua +26 -12
- package/payload/addon/Bridge/InputProtection.lua +63 -0
- package/payload/addon/Bridge/InputState.lua +45 -0
- package/payload/addon/Bridge/MemoryProtocol.lua +31 -0
- package/payload/addon/Bridge/ProbeExecution.lua +147 -0
- package/payload/addon/Bridge/ReceiverBindings.lua +6 -0
- package/payload/addon/Bridge/SlotProtocol.lua +165 -0
- package/payload/addon/Bridge/SlotRuntime.lua +106 -0
- package/payload/addon/Bridge/StartupBeacon.lua +8 -11
- package/payload/addon/Core/Compat.lua +7 -0
- package/payload/addon/Core/Controls.lua +16 -0
- package/payload/addon/Core/Locale.lua +6 -4
- package/payload/addon/Core/Locale_enUS.lua +4 -2
- package/payload/addon/Core/Platform.lua +4 -2
- package/payload/addon/Core/Runtime.lua +17 -6
- package/payload/addon/Lychee Dev.toc +8 -2
- package/payload/addon/Modules/AutomationHistory.lua +119 -0
- package/payload/addon/Modules/AutomationView.lua +26 -6
- package/payload/addon/UI/Pages/About.lua +0 -3
- package/payload/addon/UI/Pages/Automation.lua +40 -27
- package/payload/addon/UI/Pages/Diagnostics.lua +2 -4
- package/payload/addon/UI/Pages/Object.lua +0 -1
- package/payload/addon/UI/Pages/Run.lua +2 -1
- package/payload/addon/UI/Pages/Trace.lua +0 -1
- package/payload/addon/UI/Theme.lua +3 -2
- package/payload/addon/UI/Widgets.lua +32 -22
- package/payload/addon/UI/Window.lua +3 -35
- package/payload/skill/SKILL.md +39 -53
- package/payload/skill/references/commands.md +17 -15
- package/payload/skill/references/error-diagnosis.md +7 -11
- package/payload/skill/references/installation.md +6 -13
- package/payload/skill/references/live-investigation.md +193 -255
- package/payload/skill/references/live-startup.md +62 -130
- package/release.json +95 -65
- package/payload/addon/UI/Pages/Settings.lua +0 -82
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
# Command reference
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
87 implemented commands. Every command accepts `--format text|json|jsonl`;
|
|
7
7
|
`--help` works on the root and on any command. Read the JSON envelope, not
|
|
8
8
|
just the exit code; preserve capture IDs and partial/truncated warnings.
|
|
9
9
|
|
|
@@ -118,8 +118,8 @@ just the exit code; preserve capture IDs and partial/truncated warnings.
|
|
|
118
118
|
|
|
119
119
|
- `live probe put` — mutates. Register immutable bounded Lua source under a mutable name without touching the game: --name <name> --file <probe.lua>; returns a content-addressed revision
|
|
120
120
|
Flags: `--home <root>`, `--format text|json|jsonl`, `--name <name>`, `--file <probe.lua>`.
|
|
121
|
-
- `live execute` — mutates. Execute
|
|
122
|
-
Flags: `--home <root>`, `--format text|json|jsonl`, `--file <lua-file>`, `--session <session-id>`, `--probe <name-or-revision>`, `--request <idempotency-key>`, `--budget-seconds <1-120>`, `--account <account
|
|
121
|
+
- `live execute` — mutates. Execute a bounded probe through durable verified result and runtime release; native CON connections use project journals and stable request keys; --policy controls recovery after runtime loss
|
|
122
|
+
Flags: `--home <root>`, `--format text|json|jsonl`, `--file <lua-file>`, `--session <session-id>`, `--probe <name-or-revision>`, `--request <idempotency-key>`, `--budget-seconds <1-120>`, `--account <account>`, `--project <directory>`, `--wait-seconds <1-600> (default 120)`, `--no-cache`, `--policy <opaque|observation> (default opaque)`.
|
|
123
123
|
- `live probe load` — mutates. Load one immutable probe revision with a declared 1..120 second execution budget: --session <session-id> --probe <name-or-revision> --request <idempotency-key> --budget-seconds <1-120> [--account <account>]
|
|
124
124
|
Flags: `--home <root>`, `--format text|json|jsonl`, `--session <session-id>`, `--probe <name-or-revision>`, `--request <idempotency-key>`, `--budget-seconds <1-120>`, `--account <account>`.
|
|
125
125
|
- `live probe list` — read-only. List active probe names without game input; --include-removed shows tombstoned names
|
|
@@ -130,36 +130,38 @@ just the exit code; preserve capture IDs and partial/truncated warnings.
|
|
|
130
130
|
Flags: `--home <root>`, `--format text|json|jsonl`.
|
|
131
131
|
- `live run <operation-id>` — mutates. Execute one loaded operation and return its verified report with cleanup pending; acknowledge separately with live ack: live run <operation-id>
|
|
132
132
|
Flags: `--home <root>`, `--format text|json|jsonl`.
|
|
133
|
-
- `live instances` —
|
|
134
|
-
Flags: `--home <root>`, `--format text|json|jsonl`, `--installation <client-or-game-root>`, `--
|
|
135
|
-
- `live connect` — mutates. Discover
|
|
136
|
-
Flags: `--home <root>`, `--format text|json|jsonl`, `--
|
|
133
|
+
- `live instances` — read-only. List supported installations and running windows without game input or actor claims; use live connect for fresh native identity binding
|
|
134
|
+
Flags: `--home <root>`, `--format text|json|jsonl`, `--installation <client-or-game-root>`, `--passive`.
|
|
135
|
+
- `live connect` — mutates. Discover and freshly bind a native memory/64-slot connection in the invoking project; optional snapshot constrains build; --session CON-id resumes retained work
|
|
136
|
+
Flags: `--home <root>`, `--format text|json|jsonl`, `--snapshot <pin>`, `--character <name>`, `--realm <realm>`, `--pid <pid>`, `--installation <client>`, `--session <session-id>`, `--project <directory>`, `--wait-seconds <1-600> (default 120)`, `--no-cache`.
|
|
137
137
|
- `live reset` — mutates. Unblock a stuck window whose in-game queue blocks identity after abandon or a lost receipt: [--snapshot <pin>] [--character <name>] [--realm <realm>] [--pid <pid>] [--installation <client>]; sends one fixed nonce-correlated reset trigger per unowned matching window, expects its receipt, then reconnects; disk-owned windows are never touched; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins
|
|
138
138
|
Flags: `--home <root>`, `--format text|json|jsonl`, `--project <directory>`, `--snapshot <pin>`, `--character <name>`, `--realm <realm>`, `--pid <pid>`, `--installation <client>`, `--wake-binding <chord>`.
|
|
139
139
|
- `live reload` — mutates. Perform one correlated UI reload on the selected client and verify the new runtime: --session <session-id> --request <idempotency-key>
|
|
140
|
-
Flags: `--home <root>`, `--format text|json|jsonl`, `--session <session-id>`, `--request <idempotency-key
|
|
141
|
-
- `live reload fallback` — mutates. Activate a clean managed addon on
|
|
142
|
-
Flags: `--home <root>`, `--format text|json|jsonl`, `--installation <client>`, `--pid <pid>`, `--request <idempotency-key>`, `--session <prior-session>`, `--wake-binding <chord
|
|
140
|
+
Flags: `--home <root>`, `--format text|json|jsonl`, `--session <session-id>`, `--request <idempotency-key>`, `--project <directory>`, `--wait-seconds <1-600> (default 120)`, `--no-cache`.
|
|
141
|
+
- `live reload fallback` — mutates. Activate a clean managed addon and its 64 slots on an explicit installation/PID with a recorded reload using memory readiness when available (fixed bootstrap otherwise), then verify a new runtime and fresh connection; --request is idempotent
|
|
142
|
+
Flags: `--home <root>`, `--format text|json|jsonl`, `--installation <client>`, `--pid <pid>`, `--request <idempotency-key>`, `--session <prior-session>`, `--wake-binding <chord>`, `--project <directory>`, `--wait-seconds <1-600> (default 120)`, `--no-cache`.
|
|
143
143
|
- `live ack <operation-id>` — mutates. Acknowledge one verified operation, retire only its exact queue entry and release its window ownership without forcing another reload: live ack <operation-id>
|
|
144
144
|
Flags: `--home <root>`, `--format text|json|jsonl`.
|
|
145
145
|
- `live finish <operation-id>` — mutates. Acknowledge one verified operation and verify its receipt display is cleared; retry the same operation to finish pending display cleanup: live finish <operation-id>
|
|
146
146
|
Flags: `--home <root>`, `--format text|json|jsonl`.
|
|
147
|
-
- `live bugs` — mutates.
|
|
148
|
-
Flags: `--home <root>`, `--format text|json|jsonl`, `--session <session-id>`, `--request <idempotency-key>`, `--count <1-100>`, `--account <account
|
|
147
|
+
- `live bugs` — mutates. Read 1-100 retained provider errors; native CON connections persist and release the bounded observation result automatically
|
|
148
|
+
Flags: `--home <root>`, `--format text|json|jsonl`, `--session <session-id>`, `--request <idempotency-key>`, `--count <1-100>`, `--account <account>`, `--project <directory>`, `--wait-seconds <1-600> (default 120)`, `--no-cache`.
|
|
149
149
|
- `live hide` — mutates. Dismiss the displayed bridge receipt on the selected client after its evidence is archived: --session <session-id>; refuses windows owned by in-flight operations and verifies the clear from valid frames
|
|
150
150
|
Flags: `--home <root>`, `--format text|json|jsonl`, `--session <session-id>`.
|
|
151
151
|
- `live bind` — mutates. Observe /dev connect in the selected game, verify effective receiver bindings with one read-only identity transaction, and save a connection: --snapshot <pin>; optional --wake-binding for a custom first-contact wake; omitted --snapshot uses --project or the nearest parent project lock; explicit snapshot wins
|
|
152
152
|
Flags: `--home <root>`, `--format text|json|jsonl`, `--project <directory>`, `--installation <client>`, `--pid <pid>`, `--snapshot <pin>`, `--character <name>`, `--realm <realm>`, `--capture-area <window|x,y,width,height>`, `--wake-binding <chord>`.
|
|
153
153
|
- `live status <operation-id>` — read-only. Read persisted work or a BTP bootstrap attempt without sending input: live status <operation-id>
|
|
154
|
-
Flags: `--home <root>`, `--format text|json|jsonl
|
|
154
|
+
Flags: `--home <root>`, `--format text|json|jsonl`, `--project <directory>`.
|
|
155
155
|
- `live resume <operation-id>` — mutates. Recover the exact operation or BTP bootstrap attempt; revalidate identity and never repeat unknown input
|
|
156
|
-
Flags: `--home <root>`, `--format text|json|jsonl`.
|
|
156
|
+
Flags: `--home <root>`, `--format text|json|jsonl`, `--project <directory>`, `--wait-seconds <1-600> (default 120)`, `--no-cache`.
|
|
157
157
|
- `live cancel <operation-id>` — mutates. Cancel only a prepared operation before queue publication or game input: live cancel <operation-id>; later stages require live resume for safe cleanup
|
|
158
158
|
Flags: `--home <root>`, `--format text|json|jsonl`.
|
|
159
159
|
- `live abandon <operation-or-bootstrap-id>` — mutates. Explicitly stop unresolved probe, bugs, fixed reload, or bootstrap recovery; preserve evidence and unknown results, release host ownership without game input or claiming business completion
|
|
160
160
|
Flags: `--home <root>`, `--format text|json|jsonl`.
|
|
161
161
|
- `live session <session-id>` — read-only. Verify a retained session and its evidence: live session <session-id>; does not reconnect or authorize input
|
|
162
|
-
Flags: `--home <root>`, `--format text|json|jsonl
|
|
162
|
+
Flags: `--home <root>`, `--format text|json|jsonl`, `--project <directory>`.
|
|
163
|
+
- `live disconnect <connection-id>` — mutates. Unbind a quiescent memory/slot connection and release its durable host ownership; repeat safely after interruption
|
|
164
|
+
Flags: `--format text|json|jsonl`, `--project <directory>`, `--wait-seconds <1-600> (default 120)`, `--no-cache`.
|
|
163
165
|
|
|
164
166
|
## project
|
|
165
167
|
|
|
@@ -7,19 +7,15 @@ another probe merely to recreate an error.
|
|
|
7
7
|
For an authorized snapshot of errors already retained by the addon provider:
|
|
8
8
|
|
|
9
9
|
```text
|
|
10
|
-
lycheedev live bugs --session <
|
|
10
|
+
lycheedev live bugs --project <project-directory> --session <CON-id> --request <stable-key> --count <1-100> --wait-seconds 120 --format json
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
This
|
|
14
|
-
capture every addon error.
|
|
15
|
-
rows and incomplete coverage
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
Perform this within the
|
|
20
|
-
authorized task without asking for a separate ACK confirmation. A QR or verified
|
|
21
|
-
report with pending cleanup is not the end of this workflow.
|
|
22
|
-
|
|
13
|
+
This reads !BugGrabber provider storage newest-first through a bounded native
|
|
14
|
+
observation. It does not claim to capture every addon error. Provider unavailable,
|
|
15
|
+
partial fields, zero rows and incomplete coverage remain distinct. Native bugs
|
|
16
|
+
completes verified result persistence and release; inspect `report.ok` and the
|
|
17
|
+
snapshot's own status, then require `complete: true` and `cleanup: complete`.
|
|
18
|
+
Do not add legacy ACK/finish/hide commands. Resume the same CON on interruption.
|
|
23
19
|
Use a question-specific probe only when the retained error snapshot cannot
|
|
24
20
|
distinguish the hypotheses. Follow [live-investigation.md](live-investigation.md)
|
|
25
21
|
and keep sampling, output and async lifetime bounded.
|
|
@@ -81,19 +81,12 @@ semantics. Verify the release inventory through the normal installer and
|
|
|
81
81
|
installation uses the lightweight TOC/XML/Lua checker and does not require Git
|
|
82
82
|
or LuaLS on the target machine.
|
|
83
83
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
the
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
evidence; ordinary live commands do not accept an old runtime merely because
|
|
91
|
-
its new files exist on disk. Recover an interrupted reload by its operation ID.
|
|
92
|
-
The original session remains constrained to the same process, window and actor
|
|
93
|
-
when reconnecting after upgrade. Dismiss a standalone reload's final receipt
|
|
94
|
-
with `live hide`; first activation without a usable session follows the startup
|
|
95
|
-
reference below.
|
|
96
|
-
|
|
84
|
+
Before updating a managed installation, finish current operations and disconnect
|
|
85
|
+
your own native CON connections. The installer refuses unresolved host ownership;
|
|
86
|
+
do not clear a foreign project's claim. Deploy through the managed installer,
|
|
87
|
+
then activate the selected process using the startup workflow. All 64 slot files
|
|
88
|
+
are part of the managed installation. An installed CLI or Skill does not update
|
|
89
|
+
an already running client, and a disk-only result is not live readiness.
|
|
97
90
|
If the authorized task includes using the running client, follow
|
|
98
91
|
[live-startup.md](live-startup.md) after deployment. Activation precedes a
|
|
99
92
|
bridge session when the addon is not running; do not require that session as
|