Commit Graph

275 Commits

Author SHA1 Message Date
zy
2f8af39aa1 chore: 更新 headless_browser 至 v0.3.0 并补充代理配置文档
升级 headless_browser 依赖以支持 WithProxy,同时在 README 和
docker/README.md 中补充 XHS_PROXY 环境变量的使用说明。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 01:30:19 +08:00
zy
3175d2e15a Merge pull request #461 from Daily-AC/feat/add-proxy-support
feat: Read XHS_PROXY environment variable and apply to browser
2026-02-28 01:27:57 +08:00
allcontributors[bot]
0406da9a1c docs: add YRYangang as a contributor for code (#465)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2026-02-28 00:40:37 +08:00
zy
fcbf554016 refactor: Private bool → Visibility string 支持多种可见范围 (#464)
* docs: 更新 API 文档以包含 private 参数的用途和可选性。

* refactor: visibility 功能从 Private bool 重构为 Visibility string

将发布时可见范围参数从 `Private bool` 改为 `Visibility string`,
支持三种选项:公开可见(默认)、仅自己可见、仅互关好友可见。

- 使用精确 CSS selector 替代遍历 span/label/div 的宽泛选择器
- 新增参数校验,不支持的选项直接返回错误
- 更新 API 文档和 MCP jsonschema 描述
- 与 upstream IsOriginal(原创声明) 功能共存

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: yryangang <dd101bb@qq.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 00:37:47 +08:00
allcontributors[bot]
7d87b9e5ee docs: add yqdaddy as a contributor for code (#463)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2026-02-27 15:15:37 +00:00
zy
5d22c52c2c Merge pull request #458 from yqdaddy/main
feat: 添加小红书发布原创声明功能
2026-02-27 23:13:55 +08:00
Daily-AC
88018a8663 feat: Read XHS_PROXY environment variable and apply to browser
- Read XHS_PROXY from environment in NewBrowser()
- Pass proxy to headless_browser via WithProxy option
- Add secure logging (mask credentials with ***)
- Fully backward compatible (no proxy set = no change)

Fixes XHS_PROXY not being applied to Chrome browser, which
caused all requests to bypass the proxy and get blocked.
2026-02-27 19:55:17 +08:00
liangzx
c22e8758ed feat: 添加小红书发布原创声明功能 2026-02-27 17:03:38 +08:00
zy
c596ab1be3 Merge pull request #453 from xpzouying/update-wechat-qr
docs: update wechat qr
2026-02-25 23:27:04 +08:00
zy
5536014ff4 docs: update wechat qr 2026-02-25 23:25:28 +08:00
zy
7f94dad497 Merge pull request #452 from xpzouying/fix/remove-changelog
chore: 删除自动生成的 CHANGELOG.md
2026-02-25 23:20:25 +08:00
zy
53a0f16d0e chore: 删除自动生成的 CHANGELOG.md
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 23:20:05 +08:00
kimi-agent-bot[bot]
a5f6cafa56 chore: 添加 CHANGELOG.md (v2026.02.25.1452-8cafba9) 2026-02-25 14:58:24 +00:00
zy
8cafba9c00 Merge pull request #450 from xpzouying/ci/add-kimi-agent-config
ci: 添加 kimi-agent 自动化配置
2026-02-25 22:52:26 +08:00
zy
98c319b1c2 ci: 添加 kimi-agent 自动化配置
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 22:51:57 +08:00
zy
e78078ca8d Add WeChat group 15 section to README 2026-02-25 20:49:30 +08:00
zy
3b56da7e84 Update README with real-name authentication note
Clarify the requirement for real-name authentication after triggering a notification.
2026-02-24 21:35:14 +08:00
zy
16b6157b53 Merge pull request #447 from xpzouying/xhs-warning
Update README with account login and risk information
2026-02-24 21:32:53 +08:00
zy
af545ff52f Update README with account login and risk information
Added important notes regarding account login restrictions and risks associated with the project.
2026-02-24 21:32:20 +08:00
zy
2ecba43170 Merge pull request #446 from xpzouying/update-feishu-qr
docs: 优化社区群二维码排版
2026-02-24 21:21:07 +08:00
zy
c05c59c1e7 docs: 优化社区群二维码排版
将微信群和飞书群分为独立表格,飞书群一行四列展示,
并添加二维码更新和群满的注意事项。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 21:18:32 +08:00
zy
b91c9ffc92 Update README.md 2026-02-24 21:08:07 +08:00
zy
45b5bd9598 Update WeChat QR code in README 2026-02-23 20:08:22 +08:00
zy
abe2afa958 Merge pull request #428 from xpzouying/claude/update-english-readme-qbknn
docs: 添加 akia 2026-02-17 赞赏记录 +9.99
2026-02-18 13:10:47 +08:00
Claude
cbbbc70925 docs: 添加 akia 2026-02-17 赞赏记录 +9.99
更新 DONATIONS.md 捐赠列表、README 和 README_EN 徽章数字。

https://claude.ai/code/session_01LhdCA5vgHg9CtqrAc9odWR
2026-02-18 05:07:16 +00:00
zy
fe7ea21a3f Update English README to match Chinese version (#427)
- Update contributors badge count from 17 to 22
- Update inspector config image to use GitHub assets URL
- Add note about checking sidebar options in MCP inspector
- Add `claude mcp list` command in Claude Code CLI sections
- Add complete FAQ section (Section 2.5)
- Update WeChat group number from 10 to 14 with new QR code
- Add 5 missing contributors: flippancy, Infinityay, Bryan Thompson, tan jun, coldmountain
- Update Special Thanks section to include tanxxjun321 and Angiin

Co-authored-by: Claude <noreply@anthropic.com>
2026-02-17 23:00:16 +08:00
zy
3734daf95f Merge pull request #426 from xpzouying/docs/update-donations-2026-02-17
docs: 添加 2026-02-17 捐赠记录
2026-02-17 22:25:41 +08:00
zy
8910e24604 docs: 添加 2026-02-17 捐赠记录 2026-02-17 22:25:26 +08:00
zy
12fcfe109b Update WeChat group QR code in README 2026-02-16 13:12:51 +08:00
zy
e7792e83a6 docs: 添加 2026 年 2 月捐赠记录 (#423)
- 新增两条赞赏记录:小爷 ¥29.99、Arthur.Morgan ¥9.99
- 更新累计收到赞赏:¥969.95 → ¥1009.93
- 更新 README 徽章数字

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-16 13:07:21 +08:00
zy
0476ba3e85 feat: 添加 Linux ARM64 Release 支持 (#418)
- 在 release.yml 和 tag-release.yml 中添加 Linux ARM64 构建
- 更新发布文件列表和下载说明文档

Closes #415

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-14 01:17:18 +08:00
zy
90a6b5cccd test: 添加防盗链图片下载测试 (#417)
验证 PR #412 的修改,使用真实 URL 测试 User-Agent 和 Referer 是否有效。

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-14 01:05:50 +08:00
allcontributors[bot]
c8485758bd docs: add coldmountein as a contributor for code (#416)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2026-02-14 00:53:44 +08:00
coldmountain
52d0205aff fix: 添加请求头解决图片下载 403 错误 (#412)
- 添加 User-Agent 请求头,模拟浏览器请求
- 添加 Referer 请求头,使用图片 URL 的域名
- 改进错误信息,包含 URL 和状态码便于排查问题

Co-authored-by: user <user@example.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-14 00:53:07 +08:00
zy
a790a97c93 fix: 修复标题长度计算不准确的问题 (#410)
使用基于 UTF-16 编码的加权算法替换 go-runewidth,与小红书实际计算规则一致:
非ASCII字符算2字节,ASCII字符算1字节,向上取整除以2。

Closes #401

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 23:04:12 +08:00
zy
db3dd37cb8 Merge pull request #407 from xpzouying/feat/add-special-thanks
docs: 在特别感谢章节新增两位贡献者
2026-02-09 00:28:24 +08:00
zy
2694fa1cbe docs: 优化特别感谢章节布局,横向排列并放大头像
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 00:25:12 +08:00
zy
9bcf356997 docs: 在特别感谢章节新增 tanxxjun321 和 Angiin 两位贡献者
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 00:20:53 +08:00
zy
9c2b2e08b7 Update WeChat group QR code in README 2026-02-09 00:01:10 +08:00
zy
1ad91ae011 Merge pull request #406 from xpzouying/chore/ignore-claude-dir
chore: 从 git 跟踪中移除 .claude/ 目录
2026-02-08 23:51:21 +08:00
zy
26db5c51f2 chore: 从 git 跟踪中移除 .claude/ 目录
.claude/ 是个人的 Claude Code 定制化配置,不需要提交到仓库。
已在 .gitignore 中忽略,此次移除 git 跟踪。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 23:50:32 +08:00
zy
041a841906 Update README.md 2026-02-08 22:00:54 +08:00
tan jun
44061fdabc fix: 逐张等待图片上传完成,避免多图上传时图片丢失
每张图片上传后等待预览元素出现(最多60秒)再传下一张,
替代原来固定 sleep(1s) 的方式,解决部分图片静默丢失的问题。
跳过 current=0 的无意义日志
跳过上传等待中已知计数的重复日志

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 12:03:45 +08:00
tan jun
dfa94e84ef Merge pull request #403 from xpzouying/fix/upload-images-one-by-one
fix: 多图上传改为逐张上传,适配页面 DOM 变化
2026-02-06 21:08:01 +08:00
tanjun
70f07e8327 fix: 多图上传改为逐张上传,适配页面 DOM 变化
原实现一次性上传所有图片,但小红书页面在第一张上传后会移除
.upload-input class,导致后续图片可能上传失败。
改为逐张上传,第一张用 .upload-input,后续用 input[type="file"],
每张独立 30s 超时,同时将 Must* 替换为错误返回。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 21:03:32 +08:00
tan jun
0220aaa5af Merge pull request #402 from xpzouying/fix/publish-must-panic
fix: 修复发布流程 context 取消时 panic 问题
2026-02-06 20:39:31 +08:00
tanjun
10898374e2 fix: 将发布流程中的 Must* 调用替换为错误返回,避免 context 取消时 panic
publish_content 和 publish_with_video 工具在 MCP 客户端断开或超时时,
rod 的 Must* 方法会因 context canceled 直接 panic。
将 inputTag、inputTags、submitPublish、submitPublishVideo 中的 Must* 调用
替换为带 error 返回的安全版本,使错误能正常传播而非 panic。

Closes #352

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 20:12:53 +08:00
zy
b4c579fb9e Merge pull request #397 from xpzouying/update-donation-2026-01
docs: 更新2026年1月捐赠记录
2026-02-05 01:07:05 +08:00
zy
ef11da00ae docs: 更新2026年1月捐赠记录
- 更新累计捐赠金额至 ¥1300
- 记录1月捐出 ¥200
- 优化捐赠截图显示格式
- 添加 .claude/ 到 gitignore

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 01:05:37 +08:00
zy
12d9cb4334 Add donation screenshot to DONATIONS.md
Added a donation screenshot to the donations record.
2026-02-05 00:38:50 +08:00