diff --git a/.memory/worklog.json b/.memory/worklog.json index eec4984..866f425 100644 --- a/.memory/worklog.json +++ b/.memory/worklog.json @@ -1310,6 +1310,19 @@ "type": "session-heartbeat", "message": "Claude 会话活跃 · 最近命令:claude · 1 项未提交变更 · 最近提交:auto-save 2026-05-13 11:06 (~4)", "files_changed": 1 + }, + { + "ts": "2026-05-13T11:12:17+08:00", + "type": "commit", + "message": "auto-save 2026-05-13 11:12 (~1)", + "hash": "7841e56", + "files_changed": 1 + }, + { + "ts": "2026-05-13T03:17:37Z", + "type": "session-heartbeat", + "message": "Claude 会话活跃 · 最近命令:claude · 2 项未提交变更 · 最近提交:auto-save 2026-05-13 11:12 (~1)", + "files_changed": 2 } ] } diff --git a/api/main.py b/api/main.py index 200f0de..7495626 100644 --- a/api/main.py +++ b/api/main.py @@ -997,8 +997,8 @@ def describe_frame(job_id: str, idx: int) -> Job: # ---------- 清洗水印 / 元素提取(关键帧二阶段加工) ---------- class CleanupReq(BaseModel): - # 可选 region:相对坐标 0-1,限制清洗范围 - region: dict | None = None # {"x": float, "y": float, "w": float, "h": float} + # 多个相对坐标矩形 0-1,限制清洗范围;空 / None = 全图清洗 + regions: list[dict] | None = None # [{"x","y","w","h"}, ...] def _region_to_phrase(r: dict) -> str: