lycheedev 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/lycheedev.js +4 -2
- package/package.json +1 -1
- package/vendor/addon/Lychee Dev_Forever.toc +1 -1
- package/vendor/addon/Lychee Dev_Mainline.toc +1 -1
- package/vendor/addon/Lychee Dev_Mists.toc +1 -1
- package/vendor/addon/Lychee Dev_Wrath.toc +1 -1
- package/vendor/addon/Modules/Automation/Controller.lua +36 -6
- package/vendor/skill/SKILL.md +23 -110
- package/vendor/skill/agents/openai.yaml +3 -3
- package/vendor/skill/references/automation.md +79 -364
- package/vendor/skill/references/clients.md +28 -193
- package/vendor/skill/references/runtime-investigations.md +7 -0
- package/vendor/skill/scripts/automation/windows.py +119 -50
- package/vendor/skill/scripts/automation.py +76 -17
- package/vendor/skill/scripts/selftest_offline.py +63 -72
- package/vendor/skill/scripts/test_input_safety.py +132 -0
package/bin/lycheedev.js
CHANGED
|
@@ -121,6 +121,8 @@ function targetArgs(client) {
|
|
|
121
121
|
const args = [];
|
|
122
122
|
if (client && client.hwnd) args.push('--hwnd', String(client.hwnd));
|
|
123
123
|
if (client && client.pid) args.push('--pid', String(client.pid));
|
|
124
|
+
const exePath = client?.exePath || client?.instance?.exePath;
|
|
125
|
+
if (exePath) args.push('--exe-path', exePath);
|
|
124
126
|
return args;
|
|
125
127
|
}
|
|
126
128
|
|
|
@@ -600,7 +602,7 @@ function main(argv) {
|
|
|
600
602
|
: null;
|
|
601
603
|
if (runtime && runtime.error) return 1;
|
|
602
604
|
const live = runtime && runtime.hwnd
|
|
603
|
-
?
|
|
605
|
+
? runtime
|
|
604
606
|
: null;
|
|
605
607
|
|
|
606
608
|
switch (command) {
|
|
@@ -626,7 +628,7 @@ function main(argv) {
|
|
|
626
628
|
console.error('error: no SavedVariables path recorded for this client; re-run `lycheedev install`');
|
|
627
629
|
return 1;
|
|
628
630
|
}
|
|
629
|
-
return forward(['run', ...targetArgs(live), '--task', flags.task, '--sv', client.svPath,
|
|
631
|
+
return forward(['run', ...forwarded, ...targetArgs(live), '--task', flags.task, '--sv', client.svPath,
|
|
630
632
|
...passthrough(flags)]);
|
|
631
633
|
case 'bugs':
|
|
632
634
|
if (!flags.count) {
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
## Notes-zhCN: 运行 Lua,检查对象与事件,追踪函数并查看错误。
|
|
7
7
|
## Notes-zhTW: 執行 Lua,檢查物件與事件,追蹤函式並檢視錯誤。
|
|
8
8
|
## Author: Follen
|
|
9
|
-
## Version: 1.1.
|
|
9
|
+
## Version: 1.1.1
|
|
10
10
|
## Dependencies: !BugGrabber
|
|
11
11
|
## SavedVariables: LycheeDevDB, DumperDB
|
|
12
12
|
## IconTexture: Interface\AddOns\Lychee Dev\Media\Logo.png
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
## Notes-zhCN: 运行 Lua,检查对象与事件,追踪函数并查看错误。
|
|
7
7
|
## Notes-zhTW: 執行 Lua,檢查物件與事件,追蹤函式並檢視錯誤。
|
|
8
8
|
## Author: Follen
|
|
9
|
-
## Version: 1.1.
|
|
9
|
+
## Version: 1.1.1
|
|
10
10
|
## Dependencies: !BugGrabber
|
|
11
11
|
## SavedVariables: LycheeDevDB, DumperDB
|
|
12
12
|
## IconTexture: Interface\AddOns\Lychee Dev\Media\Logo.png
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
## Notes-zhCN: 运行 Lua,检查对象与事件,追踪函数并查看错误。
|
|
7
7
|
## Notes-zhTW: 執行 Lua,檢查物件與事件,追蹤函式並檢視錯誤。
|
|
8
8
|
## Author: Follen
|
|
9
|
-
## Version: 1.1.
|
|
9
|
+
## Version: 1.1.1
|
|
10
10
|
## Dependencies: !BugGrabber
|
|
11
11
|
## SavedVariables: LycheeDevDB, DumperDB
|
|
12
12
|
## IconTexture: Interface\AddOns\Lychee Dev\Media\Logo.png
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
## Notes-zhCN: 运行 Lua,检查对象与事件,追踪函数并查看错误。
|
|
7
7
|
## Notes-zhTW: 執行 Lua,檢查物件與事件,追蹤函式並檢視錯誤。
|
|
8
8
|
## Author: Follen
|
|
9
|
-
## Version: 1.1.
|
|
9
|
+
## Version: 1.1.1
|
|
10
10
|
## Dependencies: !BugGrabber
|
|
11
11
|
## SavedVariables: LycheeDevDB, DumperDB
|
|
12
12
|
## IconTexture: Interface\AddOns\Lychee Dev\Media\Logo.png
|
|
@@ -28,6 +28,7 @@ local MAX_UNACKNOWLEDGED_RESULTS = 3
|
|
|
28
28
|
|
|
29
29
|
local activeContext
|
|
30
30
|
local awaitingNotice
|
|
31
|
+
local identityReceiptNonce
|
|
31
32
|
local unacknowledgedResults = 0
|
|
32
33
|
local executedRequests = {}
|
|
33
34
|
|
|
@@ -641,7 +642,11 @@ function Controller.Stop()
|
|
|
641
642
|
Print(L.AUTO_STOPPED)
|
|
642
643
|
end
|
|
643
644
|
|
|
644
|
-
function Controller.StopIdentify()
|
|
645
|
+
function Controller.StopIdentify(nonce)
|
|
646
|
+
if nonce and nonce ~= identityReceiptNonce then
|
|
647
|
+
return
|
|
648
|
+
end
|
|
649
|
+
identityReceiptNonce = nil
|
|
645
650
|
ns.AutomationOverlay.HideIdentity()
|
|
646
651
|
Print(L.AUTO_IDENTITY_HIDDEN)
|
|
647
652
|
end
|
|
@@ -708,6 +713,7 @@ function Controller.Identify()
|
|
|
708
713
|
return
|
|
709
714
|
end
|
|
710
715
|
|
|
716
|
+
identityReceiptNonce = nil
|
|
711
717
|
if ns.AutomationOverlay.ShowIdentity(json) then
|
|
712
718
|
Print(L.AUTO_IDENTITY_SHOWN:format(character, realm or "-"))
|
|
713
719
|
else
|
|
@@ -719,7 +725,7 @@ end
|
|
|
719
725
|
-- it back as a chat command: `/dev auto ack <ticket> <received|failed>`. That
|
|
720
726
|
-- clears the pending-flush block immediately (no reload needed) and records the
|
|
721
727
|
-- outcome so the page can show it and a later session keeps it.
|
|
722
|
-
function Controller.Ack(ticket, outcome)
|
|
728
|
+
function Controller.Ack(ticket, outcome, nonce)
|
|
723
729
|
if not EnsureReady() then
|
|
724
730
|
return
|
|
725
731
|
end
|
|
@@ -736,6 +742,16 @@ function Controller.Ack(ticket, outcome)
|
|
|
736
742
|
Print(L.AUTO_ACK_TICKET_UNKNOWN:format(ticket))
|
|
737
743
|
return
|
|
738
744
|
end
|
|
745
|
+
if nonce then
|
|
746
|
+
if not IsValidRequestId(nonce) or #ticket > 64 then
|
|
747
|
+
Print(L.AUTO_USAGE)
|
|
748
|
+
return
|
|
749
|
+
end
|
|
750
|
+
if awaitingNotice and awaitingNotice.ticket ~= ticket then
|
|
751
|
+
Print(L.AUTO_IDENTITY_NOTICE_SHOWN)
|
|
752
|
+
return
|
|
753
|
+
end
|
|
754
|
+
end
|
|
739
755
|
record.receivedAt = time()
|
|
740
756
|
record.receivedStatus = outcome
|
|
741
757
|
-- Only the first acknowledgement of a result frees a backlog slot; a repeat
|
|
@@ -750,6 +766,16 @@ function Controller.Ack(ticket, outcome)
|
|
|
750
766
|
awaitingNotice = nil
|
|
751
767
|
ns.AutomationOverlay.HideNotice()
|
|
752
768
|
end
|
|
769
|
+
if nonce then
|
|
770
|
+
-- Echo only validated identifiers. A fresh nonce separates this receipt
|
|
771
|
+
-- from an older acknowledgement still visible on screen.
|
|
772
|
+
local receipt = string.format(
|
|
773
|
+
'{"v":1,"ticket":"%s","task":"ack","run":"%s","ts":%d,"status":"%s"}',
|
|
774
|
+
ticket, nonce, record.receivedAt, outcome)
|
|
775
|
+
if ns.AutomationOverlay.ShowIdentity(receipt) then
|
|
776
|
+
identityReceiptNonce = nonce
|
|
777
|
+
end
|
|
778
|
+
end
|
|
753
779
|
Print(L.AUTO_ACK_DONE:format(ticket, outcome))
|
|
754
780
|
end
|
|
755
781
|
|
|
@@ -807,18 +833,22 @@ function Controller.HandleCommand(text)
|
|
|
807
833
|
end
|
|
808
834
|
Controller.Identify()
|
|
809
835
|
elseif action == "unidentify" then
|
|
810
|
-
|
|
836
|
+
local nonce = rest ~= "" and rest:match("^(%S+)$") or nil
|
|
837
|
+
if rest ~= "" and not IsValidRequestId(nonce) then
|
|
811
838
|
Print(L.AUTO_USAGE)
|
|
812
839
|
return
|
|
813
840
|
end
|
|
814
|
-
Controller.StopIdentify()
|
|
841
|
+
Controller.StopIdentify(nonce)
|
|
815
842
|
elseif action == "ack" then
|
|
816
|
-
local ticket, outcome = rest:match("^(%S+)%s+(%S+)$")
|
|
843
|
+
local ticket, outcome, nonce = rest:match("^(%S+)%s+(%S+)%s+(%S+)$")
|
|
844
|
+
if not ticket then
|
|
845
|
+
ticket, outcome = rest:match("^(%S+)%s+(%S+)$")
|
|
846
|
+
end
|
|
817
847
|
if not ticket or not outcome then
|
|
818
848
|
Print(L.AUTO_USAGE)
|
|
819
849
|
return
|
|
820
850
|
end
|
|
821
|
-
Controller.Ack(ticket, outcome:lower())
|
|
851
|
+
Controller.Ack(ticket, outcome:lower(), nonce)
|
|
822
852
|
else
|
|
823
853
|
Print(L.AUTO_USAGE)
|
|
824
854
|
end
|
package/vendor/skill/SKILL.md
CHANGED
|
@@ -1,129 +1,42 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: lychee-dev
|
|
3
|
-
description:
|
|
3
|
+
description: 编排 Lychee Dev 的 WoW 后台自动化任务、错误快照、二维码回执和 SavedVariables Ticket 读取;也用于有界 Run 性能调查、对象检查与事件监控。不用于无关插件实现或通用 WoW API 查询。
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Lychee Dev
|
|
6
|
+
# Lychee Dev
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
把用户的调查问题变成完整、可追溯的游戏运行证据。已获授权的自动化应连续完成发送、读取、确认和收尾,不能停在“已发送”、二维码出现或脚本生成。
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
## 按任务读取资料
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
| [references/automation.md](references/automation.md) | Authorized scripted task delivery: task blocks, run, notice, reload, receipt |
|
|
16
|
-
| [references/runtime-investigations.md](references/runtime-investigations.md) | Designing a memory/CPU probe |
|
|
12
|
+
- 要操作正在运行的游戏:先读 [clients.md](references/clients.md),确定版本、实例和安装位置。
|
|
13
|
+
- 要执行自动任务、获取最近 n 条错误、ACK 或恢复中断:读 [automation.md](references/automation.md),按其闭环继续到完成。
|
|
14
|
+
- 设计内存/CPU 调查:另读 [runtime-investigations.md](references/runtime-investigations.md)。只读已有 Ticket 不需要准备新探针。
|
|
17
15
|
|
|
18
|
-
##
|
|
16
|
+
## 默认后台通路
|
|
19
17
|
|
|
20
|
-
|
|
21
|
-
- **Run:** open `/dev`, use the Run page, and paste `/run` or `/script` Lua.
|
|
22
|
-
- **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.
|
|
23
|
-
- **Memory/CPU investigation:** use Run with a question-specific script; read [references/runtime-investigations.md](references/runtime-investigations.md) before designing a probe.
|
|
24
|
-
- **Objects:** open `/dev` > Objects and inspect a global/object path or use the mouse picker.
|
|
25
|
-
- **Events:** open `/dev` > Events, search the current client's catalog, select events, start monitoring, reproduce the behavior, then stop and save.
|
|
18
|
+
使用随 Skill 附带的 `scripts/automation.py`。发送显式传 `--mode messages`,通过 PostMessage 投递到绑定的 HWND;WGC 直接捕获窗口,zxing-cpp 解码。两者都不要求窗口获得前台焦点,不使用 GDI 截屏,也不需要剪贴板。不要自行换成 SetForegroundWindow、SendInput、点击聊天框或要求用户粘贴。
|
|
26
19
|
|
|
27
|
-
|
|
20
|
+
工具仍保留显式 `foreground` 模式;它不是后台通路的自动降级方案。后台异常时检查状态和证据,不把失败直接转成人工提交。用户明确选择人工 Run 时,才按该方式组织。
|
|
28
21
|
|
|
29
|
-
|
|
22
|
+
无焦点要求不等于所有窗口状态都可用:最小化、客户端切换、战斗、尚未载入世界、其他游戏编辑框和自定义聊天键位可能影响操作。只报告本次实际验证的客户端/版本/状态。消息成功入队不证明游戏执行;二维码出现不证明 SV 已落盘。
|
|
30
23
|
|
|
31
|
-
|
|
24
|
+
## 完成标准
|
|
32
25
|
|
|
33
|
-
|
|
26
|
+
一次自动调查需要取得匹配 task/requestId/Ticket 的完整报告,核对身份与校验信息、保存证据、确认 ACK,并完成该回执的界面清理。未完成的阶段必须明确说明。不要为了清理画面重跑任务。
|
|
34
27
|
|
|
35
|
-
|
|
28
|
+
- 接收已有 Ticket:先找精确记录,禁止重新执行原任务来“获取同样结果”。
|
|
29
|
+
- 新任务:只在目标安装目录 `Modules/Automation/auto/auto.lua` 更新自己拥有的 task-id 区块;同一次逻辑执行保持 requestId 不变。
|
|
30
|
+
- 错误调查:`bugs --count n` 获取最多 n 条已有错误,不制造新错误填满数量。
|
|
31
|
+
- 完整内容始终走 SV;超过 10 KB 不切换传输方式,不把正文塞进二维码。
|
|
32
|
+
- 测试也是完整工作:每个用例结束或中断时处理自己留下的草稿、回执与任务块,再报告状态;不要在没有解释的情况下留在下一用例的中间步骤。
|
|
36
33
|
|
|
37
|
-
|
|
38
|
-
lycheedev clients # every build on disk, its version, and install state
|
|
39
|
-
lycheedev instances # what is running now, with pid and window handle
|
|
40
|
-
lycheedev instances --identify # also read each window's character and build
|
|
41
|
-
lycheedev use [index] # pin one as the default target
|
|
42
|
-
lycheedev use --character <name> # pin the window reporting that character
|
|
43
|
-
```
|
|
34
|
+
保留当前会话已给出的授权,不重复请求常规步骤确认。调查授权不意味着可覆盖其他任务、重置数据库或发布插件;共享游戏实例存在实际占用时先协调。
|
|
44
35
|
|
|
45
|
-
|
|
36
|
+
## 已有证据与人工工具
|
|
46
37
|
|
|
47
|
-
|
|
48
|
-
[0] Retail pid=62460 hwnd=0x12410c7a v12.1.0.69587
|
|
49
|
-
character: 荔枝-白银之手 client: retail build: 12.1.0
|
|
50
|
-
```
|
|
38
|
+
SV 是数据:用受限解析器读取,不能在宿主执行 Lua。主记录位于 `LycheeDevDB.exports.records[TICKET]`,完整内容是 `payload.content`;`history` 与 metadata 都不能代替完整报告。未知/较新字段应保留,已有旧性能记录仍可作为历史证据。
|
|
51
39
|
|
|
52
|
-
|
|
40
|
+
用户选择手动操作时:Run 支持 `/run` 或 `/script` 和 Lua 5.1;异步调查使用验证过的完成写入机制。对象检查走 `/dev > Objects`,事件监控走 `/dev > Events`。没有独立 `/object`、`/event` 命令;Performance、自动性能采集、health scan 和 benchmark 页面已移除。脚本必须有界,异步资源用清理回调释放,不对可能为 secret 的值直接比较或格式化。
|
|
53
41
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
## Read SavedVariables
|
|
57
|
-
|
|
58
|
-
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.
|
|
59
|
-
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.
|
|
60
|
-
3. For a Ticket `LYCHEE-...`, read:
|
|
61
|
-
|
|
62
|
-
```text
|
|
63
|
-
LycheeDevDB.exports.records[TICKET]
|
|
64
|
-
LycheeDevDB.exports.records[TICKET].payload.content
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
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.
|
|
68
|
-
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.
|
|
69
|
-
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`.
|
|
70
|
-
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.
|
|
71
|
-
|
|
72
|
-
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.
|
|
73
|
-
|
|
74
|
-
## Run commands
|
|
75
|
-
|
|
76
|
-
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.
|
|
77
|
-
|
|
78
|
-
```text
|
|
79
|
-
/run print(GetBuildInfo())
|
|
80
|
-
/run return { addon = MyAddon, profile = MyAddonDB and MyAddonDB.profile }
|
|
81
|
-
/script return UIParent and { name = UIParent:GetName(), shown = UIParent:IsShown() }
|
|
82
|
-
```
|
|
83
|
-
|
|
84
|
-
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.
|
|
85
|
-
|
|
86
|
-
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.
|
|
87
|
-
|
|
88
|
-
## Object inspection
|
|
89
|
-
|
|
90
|
-
Use the Objects page for live object state. Valid paths are `_G`, dot-separated identifiers, numeric indexes, and quoted string indexes, for example:
|
|
91
|
-
|
|
92
|
-
```text
|
|
93
|
-
_G.MyAddon
|
|
94
|
-
MyAddon.db.profile
|
|
95
|
-
_G["MyAddon"]["db"]
|
|
96
|
-
UIParent
|
|
97
|
-
```
|
|
98
|
-
|
|
99
|
-
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.
|
|
100
|
-
|
|
101
|
-
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.
|
|
102
|
-
|
|
103
|
-
## Event monitoring
|
|
104
|
-
|
|
105
|
-
Use the Events page, not a guessed slash command:
|
|
106
|
-
|
|
107
|
-
1. Search for the uppercase event name in the catalog shown for the running client (for example `PLAYER_TARGET_CHANGED`).
|
|
108
|
-
2. Select one or more events and click **Start Monitoring**.
|
|
109
|
-
3. Reproduce the behavior, click **Stop Monitoring**, inspect payload arguments, and use **Save** if the evidence must be handed to an Agent.
|
|
110
|
-
|
|
111
|
-
Event names and payload signatures are build-specific. The supported profiles are Retail `12.1.0`/Interface `120100`, Classic Mists `5.5.4`/`50504`, Classic Titan `3.80.2`/`38002`, and WoW: Forever `1.60.1`/`16001`; 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.
|
|
112
|
-
|
|
113
|
-
## Delivery and ownership
|
|
114
|
-
|
|
115
|
-
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.
|
|
116
|
-
|
|
117
|
-
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.
|
|
118
|
-
|
|
119
|
-
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.
|
|
120
|
-
|
|
121
|
-
## Handoff format
|
|
122
|
-
|
|
123
|
-
For a command request, answer with:
|
|
124
|
-
|
|
125
|
-
1. **Paste:** the exact `/run` or `/script` text, or the `/dev` page and fields to use.
|
|
126
|
-
2. **Reproduce:** the short action sequence and when to start/stop monitoring.
|
|
127
|
-
3. **Report back:** the expected output fields or the Ticket to copy after saving and reloading.
|
|
128
|
-
|
|
129
|
-
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.
|
|
42
|
+
结果说明以用户问题的结论开头,附 Ticket、客户端实际版本、完整 payload 路径和验证边界。区分“提交”“游戏完成”“报告读取”“收尾完成”,不要用一个“成功”掩盖中间阶段。
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
interface:
|
|
2
|
-
display_name: "Lychee Dev
|
|
3
|
-
short_description: "
|
|
4
|
-
default_prompt: "Use $lychee-dev to
|
|
2
|
+
display_name: "Lychee Dev"
|
|
3
|
+
short_description: "Orchestrate background WoW tasks and verified Ticket evidence"
|
|
4
|
+
default_prompt: "Use $lychee-dev to complete a background WoW investigation through verified Ticket evidence, acknowledgement, cleanup, and recovery if interrupted."
|