goofish-cli 0.6.2__tar.gz → 0.6.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/.claude-plugin/marketplace.json +1 -1
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/CHANGELOG.md +14 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/PKG-INFO +2 -2
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/README.md +1 -1
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/pyproject.toml +1 -1
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/core/qr_login.py +9 -3
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/.gitignore +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/LICENSE +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/NOTICE +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/examples/README.md +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/skills/goofish-overview/SKILL.md +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/skills/goofish-overview/references/accounts.md +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/skills/goofish-overview/references/mcp-tools-index.md +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/skills/goofish-overview/references/xianyu-concepts.md +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/skills/goofish-publish-item/SKILL.md +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/skills/goofish-publish-item/references/category-selection.md +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/skills/goofish-publish-item/references/common-pitfalls.md +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/skills/goofish-publish-item/references/image-checklist.md +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/skills/goofish-publish-item/references/title-formula.md +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/skills/goofish-reply-buyer/SKILL.md +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/skills/goofish-reply-buyer/references/bargain-ladder.md +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/skills/goofish-reply-buyer/references/intent-classification.md +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/skills/goofish-reply-buyer/references/tone-guide.md +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/skills/goofish-risk-guard/SKILL.md +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/skills/goofish-risk-guard/references/external-contact-keywords.md +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/skills/goofish-risk-guard/references/forbidden-words.md +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/skills/goofish-risk-guard/references/publish-red-lines.md +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/skills/goofish-risk-guard/references/x5sec-recovery.md +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/skills/goofish-shop-diagnosis/SKILL.md +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/skills/goofish-shop-diagnosis/references/diagnosis-workflow.md +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/skills/goofish-shop-diagnosis/references/rank-factors.md +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/skills/goofish-shop-diagnosis/references/traffic-drop-causes.md +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/__init__.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/cli.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/commands/__init__.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/commands/auth/__init__.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/commands/auth/login.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/commands/auth/reset_guard.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/commands/auth/status.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/commands/category/__init__.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/commands/category/recommend.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/commands/item/__init__.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/commands/item/delete.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/commands/item/get.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/commands/item/list.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/commands/item/publish.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/commands/item/view.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/commands/location/__init__.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/commands/location/default.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/commands/media/__init__.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/commands/media/upload.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/commands/message/__init__.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/commands/message/history.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/commands/message/list_chats.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/commands/message/send.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/commands/message/watch.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/commands/search/__init__.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/commands/search/search.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/commands/skills/__init__.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/commands/skills/install.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/core/__init__.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/core/browser.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/core/browser_cookie.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/core/cookie_types.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/core/crypto.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/core/errors.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/core/guard.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/core/item_data.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/core/item_page.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/core/limiter.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/core/local_state.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/core/message_history.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/core/mtop.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/core/output.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/core/refresh.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/core/registry.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/core/sandbox_browser.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/core/search_data.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/core/session.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/core/sign.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/core/strategy.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/core/token.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/core/write_operation.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/core/ws.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/mcp_server.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/sandbox/__init__.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/sandbox/assets/Dockerfile +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/sandbox/assets/entrypoint.sh +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/sandbox/cli.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/sandbox/interactive.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/sandbox/runtime.py +0 -0
- {goofish_cli-0.6.2 → goofish_cli-0.6.4}/src/goofish_cli/static/goofish_js_version_2.js +0 -0
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"name": "goofish-cli-skills",
|
|
4
4
|
"displayName": "goofish-cli Skills",
|
|
5
5
|
"description": "闲鱼(goofish.com)自动化运营的 Claude Skills 套件。配合 goofish-cli MCP server 使用,让 Agent 在发布商品 / 回复买家 / 风控预检 / 店铺诊断这些场景里上手即会。",
|
|
6
|
-
"version": "0.6.
|
|
6
|
+
"version": "0.6.4",
|
|
7
7
|
"author": {
|
|
8
8
|
"name": "fancy",
|
|
9
9
|
"url": "https://github.com/fancyboi999"
|
|
@@ -4,6 +4,20 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/).
|
|
6
6
|
|
|
7
|
+
## [0.6.4](https://github.com/fancyboi999/goofish-cli/compare/v0.6.3...v0.6.4) (2026-11-14)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* allow slower QR login page loading ([#57](https://github.com/fancyboi999/goofish-cli/issues/57)) ([f653453](https://github.com/fancyboi999/goofish-cli/commit/f6534538e4826d58295e2ec94a4a75f9f21227b0))
|
|
13
|
+
|
|
14
|
+
## [0.6.3](https://github.com/fancyboi999/goofish-cli/compare/v0.6.2...v0.6.3) (2026-10-26)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **ci:** modernize action runtimes and avoid redundant release PR runs ([#53](https://github.com/fancyboi999/goofish-cli/issues/53)) ([c9017d2](https://github.com/fancyboi999/goofish-cli/commit/c9017d28d554ae8142178961bd36de8816dbceab))
|
|
20
|
+
|
|
7
21
|
## [0.6.2](https://github.com/fancyboi999/goofish-cli/compare/v0.6.1...v0.6.2) (2026-10-26)
|
|
8
22
|
|
|
9
23
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: goofish-cli
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.4
|
|
4
4
|
Summary: 闲鱼 CLI — 支持 MCP,未来支持 Claude Skills。为 AI Agent 提供闲鱼自动化基础能力。
|
|
5
5
|
Project-URL: Homepage, https://github.com/fancyboi999/goofish-cli
|
|
6
6
|
Project-URL: Repository, https://github.com/fancyboi999/goofish-cli
|
|
@@ -203,7 +203,7 @@ OpenClaw `2026.6.1` 及以上可把本仓库作为 compatible bundle 加载。
|
|
|
203
203
|
openclaw plugins install clawhub:openclaw-goofish
|
|
204
204
|
|
|
205
205
|
# 登录态由用户在终端初始化,不交给 Agent 覆盖
|
|
206
|
-
uvx --from goofish-cli==0.6.
|
|
206
|
+
uvx --from goofish-cli==0.6.4 goofish auth login --qr
|
|
207
207
|
|
|
208
208
|
openclaw plugins inspect goofish --json
|
|
209
209
|
openclaw gateway restart
|
|
@@ -162,7 +162,7 @@ OpenClaw `2026.6.1` 及以上可把本仓库作为 compatible bundle 加载。
|
|
|
162
162
|
openclaw plugins install clawhub:openclaw-goofish
|
|
163
163
|
|
|
164
164
|
# 登录态由用户在终端初始化,不交给 Agent 覆盖
|
|
165
|
-
uvx --from goofish-cli==0.6.
|
|
165
|
+
uvx --from goofish-cli==0.6.4 goofish auth login --qr
|
|
166
166
|
|
|
167
167
|
openclaw plugins inspect goofish --json
|
|
168
168
|
openclaw gateway restart
|
|
@@ -42,12 +42,16 @@ _REQUIRED_LOGIN_COOKIES = ("_m_h5_tk", "unb", "cookie2")
|
|
|
42
42
|
_DEFAULT_QR_TIMEOUT = 120
|
|
43
43
|
|
|
44
44
|
|
|
45
|
-
async def _find_passport_frame(page: Any, timeout_ms: int =
|
|
45
|
+
async def _find_passport_frame(page: Any, timeout_ms: int = 60000) -> Any:
|
|
46
46
|
"""按 URL 轮询 page.frames 找 passport iframe。
|
|
47
47
|
|
|
48
48
|
不用 element_handle.content_frame():iframe 加载中会先 about:blank 再跳到
|
|
49
49
|
passport 域,期间句柄跨文档失效,报 "Unable to adopt element handle from a
|
|
50
50
|
different document"。直接轮询 page.frames 按 URL 匹配没有这个问题。
|
|
51
|
+
|
|
52
|
+
timeout 给 60s:登录页改版后 passport iframe 挂载明显变慢——实测
|
|
53
|
+
domcontentloaded ~16s、iframe 元素 ~24s 出现、src 跳到 passport 域 ~39s。
|
|
54
|
+
旧的 20s 默认会赶在 iframe 就绪前误判"登录页结构又变了"。
|
|
51
55
|
"""
|
|
52
56
|
deadline = time.monotonic() + timeout_ms / 1000
|
|
53
57
|
while time.monotonic() < deadline:
|
|
@@ -113,8 +117,6 @@ async def _login_via_qr_async(timeout: int) -> list[CookieRecord]:
|
|
|
113
117
|
|
|
114
118
|
if sandbox:
|
|
115
119
|
page.on("response", schedule)
|
|
116
|
-
# 轮询 cookies:扫码 → 手机确认 → passport 下发完整 session 一般 < 5s
|
|
117
|
-
deadline = time.monotonic() + timeout
|
|
118
120
|
try:
|
|
119
121
|
await page.goto(HOME_URL, wait_until="domcontentloaded")
|
|
120
122
|
if not sandbox:
|
|
@@ -124,6 +126,10 @@ async def _login_via_qr_async(timeout: int) -> list[CookieRecord]:
|
|
|
124
126
|
|
|
125
127
|
logger.info(f"[qr] 请用手机闲鱼 App 扫码登录({timeout}s 超时)")
|
|
126
128
|
|
|
129
|
+
# timeout 只约束"用户扫码"阶段:登录页改版后 passport iframe 要 ~40s
|
|
130
|
+
# 才挂载,把页面加载算进 deadline 会吃掉大半扫码时间。
|
|
131
|
+
deadline = time.monotonic() + timeout
|
|
132
|
+
# 轮询 cookies:扫码 → 手机确认 → passport 下发完整 session 一般 < 5s
|
|
127
133
|
while time.monotonic() < deadline:
|
|
128
134
|
cookies_list = await page.context.cookies()
|
|
129
135
|
flat = {c["name"]: c["value"] for c in cookies_list}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{goofish_cli-0.6.2 → goofish_cli-0.6.4}/skills/goofish-overview/references/mcp-tools-index.md
RENAMED
|
File without changes
|
{goofish_cli-0.6.2 → goofish_cli-0.6.4}/skills/goofish-overview/references/xianyu-concepts.md
RENAMED
|
File without changes
|
|
File without changes
|
{goofish_cli-0.6.2 → goofish_cli-0.6.4}/skills/goofish-publish-item/references/category-selection.md
RENAMED
|
File without changes
|
{goofish_cli-0.6.2 → goofish_cli-0.6.4}/skills/goofish-publish-item/references/common-pitfalls.md
RENAMED
|
File without changes
|
{goofish_cli-0.6.2 → goofish_cli-0.6.4}/skills/goofish-publish-item/references/image-checklist.md
RENAMED
|
File without changes
|
{goofish_cli-0.6.2 → goofish_cli-0.6.4}/skills/goofish-publish-item/references/title-formula.md
RENAMED
|
File without changes
|
|
File without changes
|
{goofish_cli-0.6.2 → goofish_cli-0.6.4}/skills/goofish-reply-buyer/references/bargain-ladder.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{goofish_cli-0.6.2 → goofish_cli-0.6.4}/skills/goofish-risk-guard/references/forbidden-words.md
RENAMED
|
File without changes
|
{goofish_cli-0.6.2 → goofish_cli-0.6.4}/skills/goofish-risk-guard/references/publish-red-lines.md
RENAMED
|
File without changes
|
{goofish_cli-0.6.2 → goofish_cli-0.6.4}/skills/goofish-risk-guard/references/x5sec-recovery.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{goofish_cli-0.6.2 → goofish_cli-0.6.4}/skills/goofish-shop-diagnosis/references/rank-factors.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|