Commit Graph
18 Commits
Author SHA1 Message Date
openbot 66557e906a Merge pull request #9 from openbot-coder/fix/cleanup
refactor: cleanup dead code, fix model confusion, streamline CLI
2026-05-30 16:27:21 +08:00
openbot-coder c077a7ae40 refactor: cleanup dead code, fix model confusion, streamline CLI
- Remove 3 dead modules: academic/, wechat/, social/ (merged into engines/)
- Remove 4 stale news scripts (tech_news.py, wallstreetcn.py, cls.py, rss.py)
- scripts/core/base.py: canonical SearchResult + BaseEngine (was in engines/base.py)
- scripts/engines/base.py: re-exports from core.base for compatibility
- scripts/engines/news_engine.py: Bing News + RSS unified (was in scripts/news/rss.py)
- scripts/engines/academic_engine.py: ArXiv + CrossRef unified (was in scripts/academic/arxiv.py)
- scripts/cli.py: complete rewrite — 10 commands (search/web/news/academic/wechat/social/rss/baidu/health/sources)
- scripts/unified_search.py: clean async Python API (was a stub)
- ws.py: lightweight launcher
- README.md + SKILL.md: updated to reflect actual 15+ engines
- All EngineResult → SearchResult
- All engines return list[SearchResult]
2026-05-30 16:25:41 +08:00
openbot e20478fcbd Update README with final architecture 2026-05-22 13:18:17 +08:00
openbot a60ba71663 feat: 添加执行日志系统,跟踪各引擎/接口调用耗时和错误信息
新增功能:
- execution_log 模块:自动记录引擎调用耗时、成功/失败、错误详情
- 所有搜索引擎自动跟踪每次调用的性能指标
- CLI 搜索后自动显示执行摘要
- health 命令使用 ParallelSearch 检测所有引擎连通性
- 新增 log 命令查看历史执行日志
2026-05-21 14:50:34 +08:00
openbot f2d8919860 fix: 财联社改用公开 API,替代 JS 渲染搜索页
fix: 财联社改用公开 API,替代 JS 渲染搜索页
2026-05-20 12:38:44 +08:00
vex1023 4a42a00156 fix: 财联社改用公开 API,替代 JS 渲染搜索页
- Rewrite cls.py to use nodeapi/telegraphList public API
  (SHA1+MD5 signed, no API key required)
- Returns real-time financial news with parsed titles and timestamps
- Unique per-item URLs to avoid dedup collision
- Update engine name from 'cls' to '财联社' for CLI usability
- Update SKILL.md known limitations
2026-05-20 12:38:10 +08:00
openbot 9578080ec4 feat: stream search, anti-crawl, aggregator, config, models
feat: stream search, anti-crawl, aggregator, config, models
2026-05-20 12:23:59 +08:00
vex1023 30158d8deb feat: stream search, anti-crawl, aggregator, config, models
Implements the improvements from bot-search-mcp comparison (closes #5):

- perf: asyncio.as_completed streaming + early termination (8s timeout)
- feat: ResultAggregator (dedup + quality filter)
- feat: anti-crawl enhancements for sogou_weixin.py
- feat: config.py (pydantic-settings + .env support)
- feat: models.py (data models with dataclasses)
- docs: SKILL.md, README.md updates
2026-05-20 12:23:21 +08:00
openbot b8641de683 chore: rename skill.md to SKILL.md, update README, add -o path validation
chore: rename skill.md to SKILL.md, update README, add -o path validation
2026-05-18 11:30:31 +08:00
vex1023 06e3c6bdb9 chore: rename skill.md to SKILL.md; update README; add -o path validation 2026-05-18 11:28:50 +08:00
vex1023 a81661d828 docs: 重构 SKILL.md 为 Agent 决策驱动,更新文档版本号及 CLI docstring 2026-05-14 18:30:42 +08:00
vex1023 39c01ebf69 fix: 添加 _sanitize_for_console 函数,处理 Windows GBK 终端下特殊字符编码问题 2026-05-14 17:46:05 +08:00
vex1023 6f378b9bb0 fix: 替换 emoji 为 ASCII 标记,避免 Windows GBK 终端 UnicodeEncodeError 2026-05-14 17:31:16 +08:00
vex1023 7eb1467e07 feat: 优化搜索广度、深度、效率及可靠性
- 新增百度千帆 AI 搜索 API 引擎 (scripts/engines/baidu_qianfan.py)
- CLI 新增 baidu 子命令,支持 --site 站点限定和 --recency 时间过滤
- UnifiedSearch: 引擎并发控制 (Semaphore) + 超时熔断 (wait_for)
- UnifiedSearch: 搜索结果按 URL 去重
- CLI 新增 health 健康检查命令
- sources 命令新增 API 引擎类别展示
- 支持 .env 文件读取 BAIDU_API_KEY
2026-05-14 17:20:44 +08:00
vex1023 87935b59ce refactor: restructure project with CLI tool, multi-engine support, and skill-builder compliant SKILL.md
- Replace setup.py with pyproject.toml (uv-compatible)
- Add CLI entry point (web-search) with 9 subcommands
- Add multi-engine architecture (14 web + 7 special sources)
- Add WeChat/CLS/WallStreetCN/ArXiv/Twitter search engines
- Remove old src/ and examples/ directories
- Remove redundant requirements.txt and setup.py
- Update README.md and SKILL.md with full documentation
- SKILL.md now compliant with skill-builder standards (frontmatter, triggers, structure)
2026-05-14 16:31:54 +08:00
openbot 80ac14491e Update README.md with complete documentation 2026-05-14 14:28:19 +08:00
openbot 24535ff3f2 Add project structure: LICENSE, .gitignore, skill definition, and core search module 2026-05-14 14:28:07 +08:00
openbot 8678b256db Initial commit: Add README.md 2026-05-14 14:27:43 +08:00