Commit Graph

298 Commits

Author SHA1 Message Date
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
tan jun
5c76f976ea fix: 适配小红书创作者中心页面更新 (#394) (#395)
- 发布按钮选择器改为 .publish-page-publish-btn button.bg-red
- 定时发布从 radio 改为 switch 开关 (.post-time-wrapper .d-switch)
- 日期时间输入改为单个输入框 (.date-picker-container input)
- 视频发布页面等待策略从 MustWaitIdle 改为 WaitLoad

Fixes #394

Co-authored-by: tanjun <tanjun@tanjundeMac-mini.local>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04 01:38:28 +08:00
zy
c6be973b3c Update WeChat group QR code in README 2026-01-25 11:16:58 +08:00
zy
6704fd4c84 Update WeChat QR code in README 2026-01-25 11:15:32 +08:00
allcontributors[bot]
e50f5c344a docs: add tanxxjun321 as a contributor for code (#379)
* 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-01-17 12:08:47 +08:00
tan jun
e467f8447a feat: 添加定时发布功能 (#377)
- publish_content 和 publish_with_video 支持 schedule_at 参数
- 支持 ISO8601 格式时间,范围为 1 小时至 14 天
- 优化页面导航等待策略,提升发布稳定性

Co-authored-by: tanjun <tanjun@tanjundeMac-mini.local>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 12:08:03 +08:00
zy
3cdfe4658b docs: 添加2026年1月5日赞赏记录 (#363) 2026-01-05 23:02:46 +08:00
zy
302426c6e2 docs: 添加2026年1月2日赞赏记录 (#358) 2026-01-02 14:02:34 +08:00
zy
f6d6ec6c65 Update WeChat QR code in README 2026-01-02 13:52:50 +08:00
zy
e79e78cc7c docs: 更新2025年12月公益捐赠记录 (#356)
* docs: 更新2025年12月公益捐赠记录

* docs: 优化捐赠凭证图片排版,使用表格确保在一行显示

* docs: 统一所有捐赠凭证图片使用表格样式排版
2026-01-01 21:04:57 +08:00
zy
e5303ba430 Add images to DONATIONS.md
Added images to the donations section for visual enhancement.
2026-01-01 20:46:59 +08:00
zy
77eff4a9df fix: 修复 Docker 环境中的僵尸进程问题 (#355)
在 Docker 环境中,当应用作为 PID 1 运行时,无法自动回收子进程。
go-rod 启动的 Chrome 浏览器及其子进程在关闭时会变成僵尸进程。

解决方案:
- 在 docker-compose.yml 中添加 init: true 配置
- Docker 会使用 tini/dumb-init 作为 init 进程
- init 进程会自动回收僵尸进程

此修复方案已由 issue 报告者验证有效。

Fixes #351

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-27 14:38:07 +08:00
allcontributors[bot]
dd53f676cc docs: add triepod-ai as a contributor for code (#354)
* docs: update README.md [skip ci]

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

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-12-26 23:26:47 +08:00
Bryan Thompson
61eccf1cde feat: Add tool annotations for improved LLM tool understanding (#347)
Add readOnlyHint and destructiveHint annotations to all 13 tools
to help LLMs better understand tool behavior and make safer decisions.

Changes:
- Added readOnlyHint: true to read-only tools (6 tools):
  check_login_status, get_login_qrcode, list_feeds, search_feeds,
  get_feed_detail, user_profile
- Added destructiveHint: true to destructive tools (7 tools):
  delete_cookies, publish_content, publish_with_video, like_feed,
  favorite_feed, post_comment_to_feed, reply_comment_in_feed
- Added title annotations for human-readable display
- Fixed tool count from 12 to 13 in log statement

This improves tool safety metadata for MCP clients.

Co-authored-by: triepod-ai <noreply@github.com>
Co-authored-by: Claude <noreply@anthropic.com>
2025-12-26 23:26:10 +08:00
zy
ed6d9c60b3 docs: 添加2025年12月22日和25日赞赏记录 (#353) 2025-12-26 23:08:42 +08:00
zy
d8431785de docs: 添加2025年12月21日赞赏记录 (#346)
- 新增赞赏:陈懂,50.00 RMB,赞赏码,for 泡芙小姐
- 更新累计收到赞赏:749.99 → 799.99
- 更新12月收到赞赏合计:320.11 → 370.11
- 同步更新 README.md 和 README_EN.md 徽章数值
2025-12-26 22:51:37 +08:00
zy
c25c271d81 Update WeChat group QR code in README 2025-12-26 22:50:16 +08:00
zy
e87401e14f docs: 添加2025年12月19日赞赏记录 (#345)
- 新增赞赏:查狸尼克,20.26 RMB,赞赏码
- 新增赞赏:无名大侠,49.99 RMB,赞赏码
- 更新累计收到赞赏:679.74 → 749.99
- 更新12月收到赞赏合计:249.86 → 320.11
- 同步更新 README.md 和 README_EN.md 徽章数值
2025-12-20 01:00:19 +08:00
zy
a7b778620a docs: 添加2025年12月18日赞赏记录 (#341)
- 新增赞赏:来自于微信群的小爷,29.99 RMB,微信红包
- 更新累计收到赞赏:649.75 → 679.74
- 更新12月收到赞赏合计:219.87 → 249.86
- 同步更新 README.md 和 README_EN.md 徽章数值
2025-12-18 23:27:20 +08:00
zy
8916dacdab publish: check title/content max length
检查 “标题”/“正文” 是否超出小红书要求的最大长度
2025-12-17 00:19:11 +08:00
allcontributors[bot]
6d43aea139 docs: add Infinityay as a contributor for code (#336)
* docs: update README.md [skip ci]

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

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-12-16 22:53:46 +08:00
Yuhang Lu
c530f00faa docs: 更新 API 文档 (#328) 2025-12-16 22:52:48 +08:00
zy
6331b632ad Update WeChat group QR code in README 2025-12-16 04:07:33 +08:00
zy
7af855733c docs: 添加2025年12月11日赞赏记录 (#332)
* docs: 添加2025年12月11日赞赏记录

- 新增赞赏:matheasyer,10 RMB,支付宝
- 更新累计收到赞赏:639.75 → 649.75
- 更新12月收到赞赏合计:209.87 → 219.87
- 同步更新 README.md 和 README_EN.md 徽章数值

* docs: 修正最近更新时间为12月15日
2025-12-15 00:39:36 +08:00
zy
e2af06e4df docs: 添加2025年12月10日赞赏记录 (#329)
- 新增赞赏:许掌柜,100 RMB,微信红包
- 更新累计收到赞赏:539.75 → 639.75
- 更新12月收到赞赏合计:109.87 → 209.87
- 同步更新 README.md 和 README_EN.md 徽章数值
2025-12-10 23:22:00 +08:00
haikow
486cfa0e68 修复绑定滑动评论区事件及添加使用说明 (#324)
* fix: 修复滑动绑定事件评论

* fix: fix

* fix: fix

* fix: 修复没有评论的场景

* fix

* fix: fix

---------

Co-authored-by: chekayo <9827969+chekayo@user.noreply.gitee.com>
2025-12-09 23:44:07 +08:00
zy
d4b1830613 docs: 添加2025年12月8日赞赏记录 (#325)
- 新增:来自于微信群的小爷 +29.99,无名大侠 +9.99
- 修正描述:微信一群的小爷 → 来自于微信群的小爷
- 累计收到赞赏更新为 ¥539.75

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-09 02:10:16 +08:00
zy
a375a74edd Merge pull request #322 from haikow/feature/comment-feed-logic
Feature/comment feed logic
2025-12-07 18:02:39 +08:00