refactor: restructure memory hierarchy and fix ljqCtrl coordinate logic

This commit is contained in:
Jiaqing Liang
2026-02-11 12:54:09 +08:00
parent 8f593c4eaf
commit 1276021422
7 changed files with 33 additions and 22 deletions

View File

@@ -1,11 +1,12 @@
# coding=utf-8
"""
CRITICAL: 严禁在此工具链中 import pyautogui (会污染 win32api 导致逻辑冲突)。
ljqCtrl Quick Reference:
- dpi_scale: float (Physical = Logical / dpi_scale)
- Click(x, y=None): Click logical/physical coordinates
- SetCursorPos(z): Move mouse to logical coordinate z=(x, y)
- Press(cmd, staytime=0): Keyboard shortcuts (e.g. 'ctrl+c')
- FindBlock(fn, wrect=None, threshold=0.8) -> (obj_center, is_found)
- dpi_scale: float (Logical = Physical * dpi_scale)
- Click(x, y): Use Physical Coordinates (from screenshots)
- SetCursorPos(z): Use Physical Coordinates z=(x, y)
- Press(cmd, staytime=0): Keyboard shortcuts (e.g. 'ctrl+v')
- FindBlock(fn, wrect=None, threshold=0.8) -> (obj_center_phys, is_found)
- MouseDClick(staytime=0.05), MouseClick(staytime=0.05)
"""

View File

@@ -12,7 +12,7 @@
---
## 记忆层级架构
```
L1: global_mem_insight.txt (极简索引层 - 严格控制 ≤50 行)
L1: global_mem_insight.txt (极简索引层 - 严格控制 ≤30 行)
↓ 导航指向 (Pointer)
L2: global_mem.txt (事实库层 - 现短但会膨胀)
↓ 详细引用 (Reference)