Releases: RobinZorro86/newshub-skill
Release list
NewsHub Skill v0.2.2
NewsHub v0.2.2
NewsHub v0.2.2 is a compatibility, safety, and ranking correctness release.
- Aligns AI HOT requests with its current non-browser User-Agent guidance.
- Makes project YAML the definitive highest-priority custom source configuration.
- Keeps the best-ranked duplicate and caps future-dated recency scores.
- Blocks private-network custom redirects and requires environment references for sensitive headers.
- Removes non-content HTML before deep-read text enters Agent context.
- Supports repeated upgrades with reversible numbered backups.
- Adds native Codex metadata while preserving Claude Code and generic Agent Skills compatibility.
Known boundary: the bundled AI HOT adapter currently normalizes selected-item queries with since and q; daily, hot-topic, category, and fingerprint modes remain future adapter work.
Existing installations can upgrade with:
python3 scripts/install.py --target auto --upgradeNewsHub v0.2.2 是一次兼容性、安全性与排序正确性更新。
- 按 AI HOT 最新要求改用可识别的非浏览器 User-Agent。
- 确保项目 YAML 始终拥有最高自定义来源优先级。
- 相似新闻保留最高排名版本,并限制未来时间戳的时效得分。
- 阻止自定义来源重定向到私网,敏感请求头必须引用环境变量。
- 深读前过滤脚本、样式与 SVG,减少无效 Agent 上下文。
- 连续升级时保留可回滚的编号备份。
- 新增 Codex 原生元数据,同时保持 Claude Code 与通用 Agent Skills 兼容。
已知边界:当前 AI HOT 适配器负责精选条目的 since 与 q 查询;日报、热点、分类和 fingerprint 模式仍属于后续适配工作。
NewsHub Skill v0.2.1
NewsHub v0.2.1
NewsHub v0.2.1 improves AI HOT behavior for regions where aihot.virxact.com is unreachable at the network layer.
Changes
- Records failed source health in a local cache and applies a one-to-six-hour exponential cooldown.
- Skips AI HOT immediately during cooldown, so later briefings do not repeatedly pay the four-second timeout.
- Keeps all other sources available when AI HOT fails.
- Adds
--retry-degraded,--exclude-sources,sources health, andsources reset-healthcontrols. - Never enables a proxy automatically; network routing remains an explicit operator choice.
- Keeps internal health state out of Agent output to avoid unnecessary context tokens.
Python 3.10+ is required. Existing installations can upgrade with:
python3 scripts/install.py --target auto --upgradeNewsHub v0.2.1 改进了 aihot.virxact.com 在区域网络不可达时的处理方式。
更新内容
- 将失败来源状态记录到本地缓存,并应用 1–6 小时指数退避冷却。
- AI HOT 处于冷却期时立即跳过,后续简报不再重复等待约 4 秒超时。
- AI HOT 失败不会影响其他来源。
- 新增
--retry-degraded、--exclude-sources、sources health和sources reset-health。 - 不会自动启用代理;网络路由必须由使用者明确配置。
- 内部健康状态不进入 Agent 输出,避免额外上下文 token。
需要 Python 3.10+。已有安装可执行以下命令升级:
python3 scripts/install.py --target auto --upgradeNewsHub v0.2.0
NewsHub v0.2.0
NewsHub v0.2.0 is the first public release intended for direct installation across Codex, Claude Code, Cursor, Gemini, OpenCode, Windsurf, VS Code/Copilot, and generic Agent Skills clients.
Highlights
- 20 English-first sources with AI, developer, world, business, and general profiles.
- AI HOT integration with a hard timeout and graceful fallback.
- Official GitHub Search, Hugging Face Daily Papers, and OpenAI News adapters.
- YAML/OPML custom sources with no mandatory third-party dependency.
- Source-diverse ranking, metadata-first collection, and opt-in deep reading.
- Multi-Agent installer with ZIP support, overwrite protection, backup-on-upgrade, and smoke tests.
- 15/15 unit tests and 5/5 runtime contract checks.
Python 3.10+ is required. Download newshub.zip below or clone the repository and run:
python3 scripts/install.py --target auto这是 NewsHub 首个面向公开安装的版本,支持 Codex、Claude Code、Cursor、Gemini、OpenCode、Windsurf、VS Code/Copilot 和通用 Agent Skills 客户端。
主要更新
- 内置 20 个英文优先来源,提供 AI、技术、国际、商业和综合 profile。
- AI HOT 增加硬超时与自动降级,不再阻塞整份简报。
- 使用 GitHub 官方 Search API、Hugging Face Daily Papers API 和 OpenAI News RSS。
- YAML/OPML 自定义来源不再强制依赖第三方 Python 包。
- 增加来源多样性约束、metadata-first 采集和按需深读。
- 新增多 Agent 安装器、ZIP 安装、覆盖保护、升级备份和安装后自检。
- 单元测试 15/15,跨平台运行契约 5/5。
运行需要 Python 3.10+。可以下载下方的 newshub.zip,也可以克隆仓库后执行:
python3 scripts/install.py --target auto