Commit Graph

6 Commits

Author SHA1 Message Date
ywkj e9e1f01728 docs: remove frame-extraction workflow from SKILL.md, keep video-direct approach only
register-skill-release / register (push) Successful in 20s Details
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-25 16:53:50 +08:00
ywkj db4735e54e feat: add detect-video command using direct video upload + API analysis
register-skill-release / register (push) Successful in 16s Details
- New detect-video / detect-video-and-search commands: upload video to get
  public URL, analyze via LiteLLM (video_url), generate keyword, search 1688
- New src/video-analyzer.ts: upload via direct HTTP (bypasses auth-rt CLI
  arg length limit), analyze via Chat Completions with video_url content
- Frame-based pipeline robustness: quality pre-filtering (skip black/blurry
  frames), bounding box normalization/validation, crop failure tolerance,
  Vision ranking fallback to sharpness-based selection
- Improve ranking prompt: force pick one frame, Chinese description
- Update docs to recommend detect-video-and-search as primary command

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-25 16:30:01 +08:00
ywkj 91a623751d skill: translate user-facing docs to Chinese, add detect-best commands
register-skill-release / register (push) Successful in 22s Details
- SKILL.md / README.md: full Chinese translation for Chinese users
- scripts/run.ts: help text in Chinese
- src/: add detectBest and detectBestAndSearch commands

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-25 15:13:07 +08:00
ywkj 33e3d378cc feat: update skill
register-skill-release / register (push) Successful in 17s Details
2026-04-22 08:23:35 +08:00
ywkj 778a51ad45 feat: use OpenClaw sub-agent for slow detect commands, fix keyword generation
register-skill-release / register (push) Failing after 1m36s Details
- SKILL.md: detect/detect-and-search now spawned via sessions_spawn (non-blocking); search/session run inline
- product-detector.ts: replace sequential chunk loop with worker-pool concurrency (withConcurrency) so all frames dispatch immediately up to the limit
- index.ts: fix generateChineseKeyword prompt to name the container/organizer object, not the items it holds (e.g. 鞋架 not 鞋)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-21 08:20:37 +08:00
ywkj cabd1b332a feat: 初始化 video-product-snapshot skill
视频商品检测 + 1688 以图搜图 + 关键词二次过滤完整流程。

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-20 07:24:28 +08:00