Pular para o conteúdo principal
A

dsh-ai-daily

agelei19/dsh-ai-daily

AI 日报 in the DSH sidebar, generated fresh every day: the plugin searches the web on its own, dedupes and ranks what it finds, writes a dated briefing into your local profile, and refreshes it a few times a day. An 8-topic focus radar boosts or mutes subjects, and the "For you" ranking follows the session titles, prompts and web search terms of your last 14 days, read locally and never uploaded. Search, an unread-only filter and saved reading progress are included; bundled sample data fills the panel before the first generation finishes.

Instalar

dsh plugin --profile web add github:agelei19/dsh-ai-daily

README

AI 日报 · dsh-ai-daily

A self-updating daily AI briefing for DeepSeek Harness: AI 日报 in the left sidebar opens a native main-panel reader whose stories are searched and generated fresh every day, ranked against what you have actually been working on.

AI 日报 panel

What it does

  • Generates the briefing itself — the host runs a handful of web searches through the same Host web service the web_search tool uses, turns the returned sources into one dated briefing, and caches it locally. There is no folder to import and nothing to prepare.
  • Refreshes automatically — the panel regenerates today's briefing when it is older than refreshHours (6h by default), checks every 30 minutes, and the reader polls quietly so a finished generation appears without a reload. Press refresh to generate immediately.
  • Tracks what you are working on — the host reads the last 14 days of DSH main sessions (titles, your own prompts and your web_search / web_fetch queries), maps them to eight standing topics (multi-agent, agent platforms, self-evolution, docs, models & cost, adoption/FDE, case writing, embodied AI), and uses that ranking for both the story order and the searches it picks.
  • Read it like a feed — search titles, summaries and sources; filter by story type; unread-only; per-date reading progress and read state kept in local storage; j / k to move, Enter to open the source, m to mark read, / to search, Esc to close overlays.
  • 为你优先 (For you) — the four most relevant stories, matched against the topics and search terms detected in your recent work.
  • 关注雷达 (Focus radar) — shows the detected topics, recent projects and searches; boost or mute any topic by hand; preferences persist locally.
  • History — generated briefings are kept for 30 days, so the date rail keeps working while the panel fills itself in day by day.
  • Theme-aware — colors and borders come from DSH theme variables, so light and dark both fit.

Focus radar

Install

From the dsh-market plugin, or from a terminal:

dsh plugin --profile desktop add https://github.com/Agelei19/dsh-ai-daily

No git? Add the tarball instead:

dsh plugin --profile desktop add https://github.com/Agelei19/dsh-ai-daily/releases/download/v2.0.0/dsh-ai-daily-2.0.0.tgz

Then refresh the page: AI 日报 appears in the sidebar.

Configuration

All settings are optional. Add them to the inserted layer of the profile's cordis.patch.yml:

- insert:
    - id: dsh-ai-daily
      name: dsh-ai-daily
      config:
        refreshHours: 6      # regenerate today's briefing after this many hours (1-48)
        maxItems: 24         # stories per briefing (4-40)
        queries:             # extra searches appended to the topic-derived ones
          - 'DeepSeek Harness 插件'

The generated briefings live in <profile>/ai-daily/state.json (profile directory as configured by DSH). Deleting that file simply starts a clean history.

Sample data

seed.json ships six demo briefings (2026-11-25 → 2026-11-30) written only for this plugin: generic industry-style entries with no real URLs, no personal notes and no third-party contacts. It keeps the panel usable during the first seconds of a fresh install. As soon as a real briefing is generated it replaces the sample entirely, and while the sample is showing the reader says so above the lead.

Privacy

  • The host performs web searches through the Host web service and reads, once per refresh, the last 14 days of session titles, your own prompts and your web search terms from the local DSH database. It never reads other users' message bodies, never uploads anything, and has no telemetry of its own.
  • The data channel is /ai-daily on the Host web server (bootstrap / report / refresh / signals). Every request goes through ctx.connection.admit(), so only the browser peer that holds the DSH session cookie can reach it; unauthenticated requests get 401.
  • Read state, ordering and topic preferences live in localStorage. Generated briefings are cached only on this machine.

Structure

PathRole
index.jsHost half: web-search generation, focus signals, /ai-daily JSON channel, daily refresh timer
client.jsClient half: sidebar panellist entry and main panel, native React UI
seed.jsonSample briefings shown before the first generation
locale/, icon.svg, docs/DETAIL.mdDisplay metadata

Development checks

$env:ELECTRON_RUN_AS_NODE = '1'
& "$env:DSH_NODE_EXECUTABLE" --check index.js
& "$env:DSH_NODE_EXECUTABLE" --check client.js

License

MIT © 2026 Agelei19


中文

在 DeepSeek Harness 左侧栏加入 AI 日报 入口,点开后直接在主面板阅读每天自动生成的 AI 简报, 并按你最近在做什么自动调整排序。

AI 日报 面板

功能

  • 自己生成日报:Host 端通过 DSH 的 Host web 服务(和 web_search 工具同一套)跑几组 搜索,把返回的来源整理成当天的一份简报并缓存到本机。不需要准备文件夹,也不需要导入。
  • 自动更新:当天的日报超过 refreshHours(默认 6 小时)就重新生成,每 30 分钟检查一次; 阅读面板会静默轮询,生成完成后自动换上最新内容。点右上角刷新可以立刻生成。
  • 追踪你当前在做什么:Host 端读取最近 14 天的 DSH 主会话(标题、你自己的提问、 web_search / web_fetch 查询),映射到八类长期关注主题(多智能体、Agent 平台、自我进化、 文档、模型与成本、落地 / FDE、案例表达、具身智能),并据此决定条目排序和搜索方向。
  • 像信息流一样读:搜索标题、摘要和来源;按类型筛选;只看未读;阅读进度和已读状态按日期 保存在浏览器本地;j / k 移动,Enter 打开原文,m 标为已读,/ 搜索,Esc 关闭浮层。
  • 为你优先:最近工作中最相关的四条,展示命中的主题和搜索词。
  • 关注雷达:查看识别出的主题、近期项目和搜索;可以手动置顶或忽略某个主题,偏好保存在本机。
  • 历史:生成的日报保留 30 天,日期栏会随使用时间自然积累。
  • 主题一致:颜色、边框全部使用 DSH 主题变量,浅色 / 深色自动适配。

安装

从市场安装,或在终端里:

dsh plugin --profile desktop add https://github.com/Agelei19/dsh-ai-daily

没有 git 就用 Release 里的预构建包:

dsh plugin --profile desktop add https://github.com/Agelei19/dsh-ai-daily/releases/download/v2.0.0/dsh-ai-daily-2.0.0.tgz

装好后刷新页面,左侧栏会出现 AI 日报。

配置

全部可选,写在 profile 的 cordis.patch.yml 里这一层的 config 下:

- insert:
    - id: dsh-ai-daily
      name: dsh-ai-daily
      config:
        refreshHours: 6      # 当天日报超过多少小时重新生成(1-48)
        maxItems: 24         # 每天条目数(4-40)
        queries:             # 追加的搜索词
          - 'DeepSeek Harness 插件'

生成的日报保存在 <profile>/ai-daily/state.json;删掉这个文件就会从空白历史重新开始。

示例数据

seed.json 内置六天的演示简报(2026-11-25 → 2026-11-30),内容是专为本插件编写的通用条目: 没有真实链接、没有个人备注、没有第三方联系人。它只用于新安装刚开始的几秒;一旦生成出真实 日报就会整体替换,显示示例数据时正文顶部也会明确提示。

隐私

  • Host 端通过 Host web 服务执行搜索,并每次刷新读一次本机 DSH 数据库里最近 14 天的会话标题、 你自己的提问和网页搜索词;不读其他人的消息内容,不上传任何数据,没有自己的遥测。
  • 数据通道是 Host web server 上的 /ai-daily(bootstrap / report / refresh / signals), 每个请求都经过 ctx.connection.admit() 校验,只有持有 DSH 会话 cookie 的浏览器能访问, 未登录返回 401。
  • 已读状态、排序方式和主题偏好只存在 localStorage;生成的日报只缓存在本机。

开发检查

$env:ELECTRON_RUN_AS_NODE = '1'
& "$env:DSH_NODE_EXECUTABLE" --check index.js
& "$env:DSH_NODE_EXECUTABLE" --check client.js

MIT License © 2026 Agelei19

Plugins relacionados