每张图片上传后等待预览元素出现(最多60秒)再传下一张, 替代原来固定 sleep(1s) 的方式,解决部分图片静默丢失的问题。 跳过 current=0 的无意义日志 跳过上传等待中已知计数的重复日志 Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
50 lines
1.5 KiB
JSON
50 lines
1.5 KiB
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"mcp__context7__resolve-library-id",
|
|
"mcp__context7__get-library-docs",
|
|
"Bash(go mod:*)",
|
|
"Bash(go build:*)",
|
|
"Bash(go get:*)",
|
|
"Bash(go list:*)",
|
|
"Bash(go test:*)",
|
|
"Bash(rmdir:*)",
|
|
"Bash(rm:*)",
|
|
"Bash(gofmt:*)",
|
|
"Bash(goimports:*)",
|
|
"Bash(chmod:*)",
|
|
"Bash(true)",
|
|
"Bash(go vet:*)",
|
|
"Bash(golangci-lint run:*)",
|
|
"WebSearch",
|
|
"mcp__playwright__browser_navigate",
|
|
"mcp__playwright__browser_click",
|
|
"mcp__playwright__browser_tab_select",
|
|
"Bash(gh pr merge:*)",
|
|
"Bash(gh release list:*)",
|
|
"Bash(awk:*)",
|
|
"Bash(CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o test-xiaohongshu-mcp-linux-amd64 .)",
|
|
"Bash(tar:*)",
|
|
"mcp__playwright__browser_type",
|
|
"mcp__playwright__browser_close",
|
|
"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": []
|
|
}
|
|
}
|