Agent-Reach/agent_reach
Pnant 4b7d55111f
feat: add 'agent-reach configure xhs-cookies' command (#108) (#113)
Adds a proper way for AI agents to import XiaoHongShu cookies into
the xiaohongshu-mcp Docker container. Previously agents had no clear
command to use, leading to confusion loops (issue #108).

Supports two input formats:
- Cookie-Editor JSON export (array of cookie objects)
- Header String format (key1=val1; key2=val2; ...)

The command:
1. Parses and validates the cookie input
2. Finds the running xiaohongshu-mcp container
3. Reads COOKIES_PATH from container env
4. Writes cookies via docker cp
5. Verifies login status via mcporter

Also updates install.md with the new command.

Closes #108

Co-authored-by: Panniantong <panniantong@users.noreply.github.com>
2026-03-08 21:19:33 +08:00
..
channels feat: add WeChat search via miku_ai (sogou) (#68) 2026-03-04 18:02:05 +08:00
guides Merge pull request #46 from Panniantong/migrate-bird-to-xreach 2026-02-27 15:21:25 +08:00
integrations feat: migrate Twitter backend from bird CLI to xreach CLI 2026-02-27 08:17:51 +01:00
skill feat: auto-install WeChat article tools during install (#80) 2026-03-05 18:29:33 +08:00
__init__.py release: v1.3.0 (#70) 2026-03-04 18:18:18 +08:00
cli.py feat: add 'agent-reach configure xhs-cookies' command (#108) (#113) 2026-03-08 21:19:33 +08:00
config.py feat: migrate Twitter backend from bird CLI to xreach CLI 2026-02-27 08:17:51 +01:00
cookie_extract.py fix: sync xfetch session.json when using --from-browser (closes #109) (#112) 2026-03-08 14:32:24 +08:00
core.py feat: migrate Twitter backend from bird CLI to xreach CLI 2026-02-27 08:17:51 +01:00
doctor.py fix: remove emoji from CLI output for Windows GBK compatibility 2026-03-07 05:46:38 +01:00