DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-ai-trends-digest

d

dsh-ai-trends-digest

Manifest valid

DSH Plugin: Embodied Intelligence & AI Large Model Trend Daily (Zero-Dependency Multi-Source Aggregation, Markdown/HTML Output)

hasBundlePatch

AI Trends Digest · dsh-ai-trends-digest

license release node

A plugin for DeepSeek Harness (DSH) that turns "what happened in AI today?" into one clean daily digest: embodied AI, large models, industry, and papers, written to Markdown + HTML.

New to DSH? It is the desktop agent you are chatting with. A plugin adds one capability to it. This one adds a tool named ai_trends_digest.

中文说明:README.zh.md

What you get

Ask the model in plain language:

今天具身智能和大模型有什么值得看的?

and it calls ai_trends_digest, which:

  1. fetches 23 RSS / Atom / arXiv feeds (Chinese + English),
  2. keeps only the last 42 hours, removes duplicates,
  3. classifies each story and guarantees slots per topic so robotics is never buried by funding news,
  4. writes <date>.md, <date>.html, <date>-phone.html (tap-to-open phone edition), <date>-mobile.txt (plain text), the matching latest.* files, and a JSON snapshot.

A finished digest looks like this:

# AI 趋势日报 · 2026-11-03
> 具身智能 & 大模型 · 27/27 个订阅源 · 时间窗内 210 条 · 精选 20 条

## 🔥 今日要闻
1. **【示例】人形机器人量产线落地** — 量子位
2. **【示例】某开源模型发布 70B 版本** — 新智元
3. **【示例】机器人公司完成新一轮融资** — 雷峰网

## 🦾 具身智能
- **【示例】灵巧手触觉传感器开源** — IEEE Spectrum …

## 🧠 大模型与智能体
- **【示例】推理模型在数学基准上刷新纪录** — OpenAI …

## 🏭 产业动态
- …

## 📄 论文速递
- **【示例】arXiv:2601.01234 — 视觉-语言-动作策略** …

Why this exists

Generic AI newsletters drown robotics in funding rounds, and paper feeds drown everything in titles. This plugin fixes that with three rules:

  • Topic floors — embodied: 3, industry: 2, research: 2 slots are reserved before score-based filling.
  • Same-event dedupe — link normalisation + title bigram similarity (≥ 0.45) + rare-bigram overlap + entity match (product / org / model names, so Chinese and English coverage of one story collapse into one entry).
  • Cross-day dedupe — reads yesterday's data/<date>.json and drops stories that already ran yesterday (disable with crossDayDedupe: false).
  • Scoring — sourceWeight × 2 + title hits × 3 + body hits + recency, with a 4.5 floor.

Requirements

ThingVersionNotes
DeepSeek Harness>= 0.1.7needed only for the plugin mode
Node.js>= 18already bundled with DSH
Network—plain HTTPS, no API keys

Install

Option 1 — Plugin market (fastest)

  1. Open DSH → 插件 (Plugins) → 自定义插件市场 (Custom market) → 添加索引源 (Add index source).

  2. Paste:

    https://wa2124184.github.io/dsh-ai-trends-digest/index.json
    
  3. Refresh. AI 趋势日报 / AI Trends Digest appears under 发现 (Discover) — click install.

The market entry installs dsh-ai-trends-digest from npm. If npm reports "package not found", the release is still being published — use Option 2 meanwhile.

Option 2 — From a local folder

Clone this repo, then ask DSH:

plugin_manager action=install_bundle target="D:/path/to/dsh-ai-trends-digest"

Approve the prompt. The plugin shows up in the installed list, and the tool is available in the next session.

Option 3 — Manual patch

Add this row to your DSH profile's cordis.patch.yml:

- insert:
    - id: ai-trends-digest
      name: dsh-ai-trends-digest
      config:
        timezone: Asia/Shanghai
        windowHours: 42

Use it

Just talk:

You sayWhat happens
"今天 AI 圈有什么大事?"full digest with default settings
"总结最近三天的大模型新闻"window_hours=72
"只要 10 条,存到 D:/日报"max_items=10, output_dir="D:/日报"
"生成 11 月 1 日的日报"date="2026-11-01"

Direct tool call, if you prefer:

ai_trends_digest(output_dir="D:/AI日报", max_items=20)
ParameterTypeDefaultMeaning
datestringtodayarchive label YYYY-MM-DD
window_hoursinteger42only keep items newer than this
max_itemsinteger20digest size
output_dirstring~/.dsh/ai-trends-digestwhere archives are written
min_scorenumber4.5score threshold

The tool returns the item count, source health (sourcesOk/sourcesTotal), failed feeds, top-3 headlines and the Markdown path. The full text lives in the generated file.

Where the files go

<output_dir>/
├─ 2026-11-03.md        # today's digest
├─ 2026-11-03.html      # same, styled for mail/browser
├─ 2026-11-03-phone.html  # tap-to-open phone edition: whole card links to the source
├─ 2026-11-03-mobile.txt  # plain-text phone edition: no markdown/html symbols, links on their own line
├─ latest.md            # newest digest, stable name
├─ latest.html
├─ latest-phone.html    # newest tap-to-open phone edition
├─ latest-mobile.txt    # newest plain-text phone edition
├─ data/2026-11-03.json # machine-readable snapshot
└─ index.html           # archive browser

Archives older than keepDays (90 by default) are pruned automatically; set keepDays: 0 to keep everything.

Configuration

Edit the config block of the patch row (Option 3) or the plugin's settings:

KeyDefaultMeaning
timezonesystemtimezone used to decide "today"
windowHours42recency window
maxItems20digest size
maxPerSource6max items per feed
minScore4.5global score floor
topNewsCount3pinned headlines
topicFloors{policy:1, embodied:3, industry:2, research:2}guaranteed slots
keepDays90archive retention (0 = never prune)
outputDir~/.dsh/ai-trends-digestdefault archive directory
feedsbuilt-in 23replace the source list

Example — a bigger morning report, robotics first:

config:
  timezone: Asia/Shanghai
  windowHours: 72
  maxItems: 30
  topicFloors:
    embodied: 5
    industry: 3
    research: 3

Customize sources

feeds.js exports DEFAULT_FEEDS. A feed is one line:

{ name: '量子位', url: 'https://www.qbitai.com/feed', weight: 2.0, lang: 'zh', note: '机器人 + 大模型' }
  • weight (0.8–2.0) is the ranking multiplier — raise it for sources you trust.
  • Set enabled: false to mute a feed without deleting it.
  • To replace the list entirely, pass feeds: [...] in the plugin config.
  • Sites without RSS (Bilibili, Zhihu) use built-in adapters via type: { name: 'Bilibili', type: 'bilibili', queries: ['人形机器人'], weight: 0.6 } and { name: 'Zhihu', type: 'zhihu', url: 'https://api.zhihu.com/topstory/hot-list?limit=50', weight: 0.7 }.
  • sourceCaps limits how many items one feed can contribute (defaults: Bilibili 3, Zhihu 2).
Built-in sources (25)

中文:量子位、新智元、雷峰网、爱范儿、极客公园、IT之家、钛媒体、InfoQ 中文、Solidot

English:OpenAI News、Google AI Blog、Google DeepMind、IEEE Spectrum (AI / Robotics)、TechCrunch AI、MIT Technology Review (AI)、MarkTechPost、NVIDIA Blog、BAIR、Microsoft Research、The Verge (AI)、The Decoder、arXiv cs.RO

Run it without DSH

core.js is plain Node.js with zero dependencies. A ready-made CLI lives in examples/run.mjs:

git clone https://github.com/WA2124184/dsh-ai-trends-digest.git
cd dsh-ai-trends-digest
node examples/run.mjs --output ./out --window 48 --max 20

It prints progress per feed, then the number of items and the paths written. Use it with cron / Windows Task Scheduler if you want a file every morning:

node "D:\tools\dsh-ai-trends-digest\examples\run.mjs" --output "D:\AI日报"

Smoke test

node test/smoke.mjs --output ./.tmp-out --window 48

This really hits the network for all 23 feeds and prints item count, source health, per-topic distribution and paths. Exit code 1 means nothing was selected (usually a quiet weekend or no network).

How it works

23 feeds ──► fetch (30s timeout, 2 retries)
          ──► parse RSS / Atom / JSON Feed
          ──► window (policy 30d) ──► score & sort ──► same-day / cross-day dedupe
          ──► classify (embodied / llm / industry / research)
          ──► score ──► topic floors ──► fill by score
          ──► Markdown + HTML + JSON archives

Troubleshooting

SymptomWhyFix
First run takes 20–40 s23 feeds are fetched in parallelnormal
A few feeds show as failedCDN 502s / timeouts on the source sideretry later; it never aborts the digest
论文 section is emptyarXiv has no fresh cs.RO submissions (weekends)expected
Same story appears twicetitles differ more than the 0.62 thresholdlower the threshold in core.js if it bothers you
Titles contain typosthey come from the sourceplugin never rewrites titles
Market install says package not foundnpm release still rolling outinstall from the local folder (Option 2)

Project layout

dsh-ai-trends-digest/
├─ index.js            # plugin entry: registers ai_trends_digest
├─ core.js             # fetch / parse / dedupe / score / render / archive
├─ feeds.js            # 25 default sources
├─ cordis.patch.yml    # config row inserted on install
├─ locale/{en,zh}.json # market metadata
├─ icon.svg            # plugin icon
├─ market/index.json   # format-1 market index (single entry)
├─ examples/run.mjs    # standalone CLI
└─ test/smoke.mjs      # networked smoke test

Contributing

Issues and PRs are welcome — especially new feed URLs (must be RSS/Atom JSON, not HTML pages) and keyword improvements for classification. Please run node test/smoke.mjs before opening a PR.

License

MIT

Comments

Loading…