fix: 逐张等待图片上传完成,避免多图上传时图片丢失

每张图片上传后等待预览元素出现(最多60秒)再传下一张,
替代原来固定 sleep(1s) 的方式,解决部分图片静默丢失的问题。
跳过 current=0 的无意义日志
跳过上传等待中已知计数的重复日志

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
tan jun
2026-02-07 11:51:54 +08:00
committed by tanjun
parent dfa94e84ef
commit 44061fdabc
2 changed files with 41 additions and 23 deletions

View File

@@ -27,8 +27,23 @@
"Bash(tar:*)",
"mcp__playwright__browser_type",
"mcp__playwright__browser_close",
"Bash(git remote:*)"
"Bash(git remote:*)",
"mcp__plugin_playwright_playwright__browser_navigate",
"mcp__xiaohongshu-mcp__check_login_status",
"mcp__xiaohongshu-mcp__publish_content",
"mcp__plugin_playwright_playwright__browser_click",
"mcp__plugin_playwright_playwright__browser_resize",
"mcp__plugin_playwright_playwright__browser_snapshot",
"mcp__plugin_playwright_playwright__browser_evaluate",
"Bash(date:*)",
"mcp__xiaohongshu-mcp__publish_with_video",
"Bash(git add:*)",
"Bash(git commit:*)",
"Bash(git push:*)",
"Bash(git checkout:*)",
"Bash(git pull:*)",
"Bash(git branch:*)"
],
"deny": []
}
}
}