refactor: restructure memory hierarchy and fix ljqCtrl coordinate logic
This commit is contained in:
@@ -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)
|
||||
"""
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
---
|
||||
## 记忆层级架构
|
||||
```
|
||||
L1: global_mem_insight.txt (极简索引层 - 严格控制 ≤50 行)
|
||||
L1: global_mem_insight.txt (极简索引层 - 严格控制 ≤30 行)
|
||||
↓ 导航指向 (Pointer)
|
||||
L2: global_mem.txt (事实库层 - 现短但会膨胀)
|
||||
↓ 详细引用 (Reference)
|
||||
|
||||
Reference in New Issue
Block a user