feat(ai-news-radar): 调和冲突并升级本地 MIT 包至 3c663dd (2026.12.01) (#418)

## 概述 / Summary

手工三方调和并升级 `ai-news-radar` 本地 MIT 派生包:`LearnPrompt/ai-news-radar`
`689395109cc962a27c369bdd6fa50d1e090eb319`(`2026.11.24`)→
`3c663ddab7da78e62365e1ee0e58f34cc9cef09a`(`2026.12.01`,与
`9fda56e8c82aca27e2e0fecbbe383a231a89311f` 相比所有受跟踪代码/文档文件逐字节一致,仅
`data/*` 有新快照)。

### 冲突调和与同步明细
1. **`assets/styles.css`**:合入上游新增的「今天值得做」卡片样式,并与上游逐字节对齐(消除此前仅 1
处末尾空行差异,避免后续 CSS 更新再次触发冲突)。
2. **`classic/index.html`**:合入上游新区块与静态资源版本号,继续保留适配 `<base href="../">` 的
`./assets/service-status.*` 路径修正。
3. **`README.md` / `references/upstream-project-readme*.md` /
`docs/SOURCE_COVERAGE.md`**:根目录 `README.md` 保留本地安装说明;上游新
`README.md`、`README.en.md` 与 `docs/SOURCE_COVERAGE.md`
同步到对应引用位置,保留引用声明头与固定 commit 链接。
4. **同步其余受跟踪上游文件 & 补齐新引用资源**:同步
`scripts/update_news.py`、`index.html`、`assets/app.js`、`assets/service-status.js`、`assets/view-mode.js`、`classic/assets/app.js`、`classic/assets/styles.css`;补齐新版
`index.html` 引用的
`assets/i18n.js`、`assets/i18n/zh.js`、`assets/i18n/en.js`(避免断链)。继续排除
`#350` 明确不安装的 `data/`、测试与上游工作流。
5. **元数据与映射同步**:同步更新
`config/verified-updates.v1.json`、`skills/ai-news-radar/UPSTREAM.md`、`skills/ai-news-radar/catalog-metadata.v1.json`。

## 验证 / Validation
- `python3 -B skills/ai-news-radar/scripts/update_news.py --help`
- `uv run --offline --quiet --with pytest --with pyyaml --with
jsonschema python -m pytest scripts/catalog/test_tracked_updates.py -q`
- `uv run --offline --quiet scripts/catalog/validate_catalog_metadata.py
--require-complete`
- `uv run --offline --quiet scripts/i18n/validate-i18n.py`
- `uv run --offline --quiet scripts/i18n/translate.py --check`
- `git diff --check`

合并后可关闭仅记录阻断状态的旧草稿 [#399](https://github.com/desirecore/market/pull/399)。
This commit is contained in:
mashagua authored and GitHub committed 2026-12-01 20:41:51 +08:00
1 parent be8d8307af
commit 0e9ae3b4a1
20 files changed
+1918 -291

No files matched your search

+9 -9
View File
@@ -2,7 +2,7 @@
name: ai-news-radar
description: Generate AI daily-brief JSON with a complete MIT Python package. Requires Python 3.11+, dependencies and feed
access; optional mail/API sources need separate authorization.
version: 2026.11.24
version: 2026.12.01
license: MIT
type: hybrid
risk_level: medium
@@ -15,7 +15,7 @@ compatibility: Python 3.11+, requirements.txt, authorized feed access, and a pri
skill. Optional email/API integrations require separate authorization and may incur service fees.
metadata:
author: LearnPrompt; DesireCore local packaging
updated_at: '2026-11-24'
updated_at: '2026-12-01'
i18n:
default_locale: en-US
source_locale: zh-CN
@@ -26,21 +26,21 @@ metadata:
name: AI News Radar
short_desc: Generate AI daily-brief JSON with a complete MIT Python package. Requires Python 3.11+, dependencies and
feed access; optional mail/API sources need separate authorization.
description: Optional local MIT edition based on LearnPrompt/ai-news-radar@689395109cc962a27c369bdd6fa50d1e090eb319.
description: Optional local MIT edition based on LearnPrompt/ai-news-radar@3c663ddab7da78e62365e1ee0e58f34cc9cef09a.
Includes generation scripts, feed example, glossary, source-analysis helper, referenced docs and reader assets. Outputs
belong outside the installed skill; external services and optional credentials are separately configured.
body: ./SKILL.md
translated_by: ai:grok-bot
translated_at: '2026-11-24'
source_hash: sha256:870dccded1b7c11b
translated_at: '2026-12-01'
source_hash: sha256:9e0b12672b152ac0
zh-CN:
name: AI 资讯雷达
short_desc: 完整 MIT 本地包生成 AI 日报 JSON。需 Python 3.11+、依赖和信源访问;可选邮件/API 集成须独立授权。
description: 基于 LearnPrompt/ai-news-radar@689395109cc962a27c369bdd6fa50d1e090eb319 的可选 MIT 本地版,包含生成脚本、信源示例、词表、分析工具、引用文档和阅读器资源。运行结果须写入安装目录之外;外部服务与可选凭据需单独配置。
description: 基于 LearnPrompt/ai-news-radar@3c663ddab7da78e62365e1ee0e58f34cc9cef09a 的可选 MIT 本地版,包含生成脚本、信源示例、词表、分析工具、引用文档和阅读器资源。运行结果须写入安装目录之外;外部服务与可选凭据需单独配置。
body: ./SKILL.zh-CN.md
translated_by: ai:grok-bot
translated_at: '2026-11-24'
source_hash: sha256:870dccded1b7c11b
translated_at: '2026-12-01'
source_hash: sha256:9e0b12672b152ac0
market:
icon: <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><rect x="4" y="4" width="16"
height="16" rx="2" stroke="#2563EB" stroke-width="1.7"/><path d="M8 8h5m-5 4h8m-8 4h5" stroke="#2563EB" stroke-width="1.7"
@@ -57,7 +57,7 @@ market:
## Scope and provenance
Generate AI daily-brief JSON from the complete local Python package, review public source quality, and optionally inspect the bundled reader assets. Read [package notes](README.md), [provenance and license](UPSTREAM.md), and [source intake](references/source-intake.md). This is a maintained MIT local edition based only on LearnPrompt/ai-news-radar commit `689395109cc962a27c369bdd6fa50d1e090eb319`; package version `2026.11.24` is not an upstream release. It is optional marketplace content, not an automatically installed builtin.
Generate AI daily-brief JSON from the complete local Python package, review public source quality, and optionally inspect the bundled reader assets. Read [package notes](README.md), [provenance and license](UPSTREAM.md), and [source intake](references/source-intake.md). This is a maintained MIT local edition based only on LearnPrompt/ai-news-radar commit `3c663ddab7da78e62365e1ee0e58f34cc9cef09a`; package version `2026.12.01` is not an upstream release. It is optional marketplace content, not an automatically installed builtin.
## Prerequisites and boundaries