last30days-skill-cn
Jesseovo
last30days-cn 是一个 AI Agent 技能(Skill),能够自动搜索中国互联网 8 大主流平台最近 30 天的内容,综合分析后生成有据可查的研究报告。
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:laoye666-6/dsh-plugin-media-wallpaper
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
DeepSeek Harness(DSH)壁纸插件 —— 在 Web UI / 桌面版中更换图片或视频背景。
纯客户端插件:零服务端逻辑,所有设置保存在浏览器本地(localStorage),壁纸文件保存在浏览器 IndexedDB(支持大体积视频)。官方 Web 版与各类桌面版(Electron 壳)行为完全一致。
命名说明:npm 包名与 GitHub 仓库均为
dsh-plugin-media-wallpaper(npm 原名dsh-plugin-wallpaper已被他人占用,故改名)。
@deepseek-ai/dsh latest 0.2.0-rc.2 / master,机制已于 2026-10-03 对照 dsh-v0.2.1-alpha.1 源码逐项核对)dsh.client 清单、懒 CJS 工厂包装(window.__ModuleLoader__.load)、平台冻结模块表(react / react/jsx-runtime)、settings.section 与 plugins.detail.section 插槽、语义 token(--dsw-alias-* / --dsw-specific-sidebar-fill)、样式归属标记(data-plugin)cd dsh-plugin-wallpaper
npm install
npm run build # 产出 lib/index.js + lib/client.js
npm run typecheck # 可选:tsc --noEmit
npm run smoke # 可选:Node 最小 DOM 桩自检
安装使用无需构建:仓库内已提交预构建产物
lib/,git 安装直接可用。
方式一(推荐,国内网络):npm 源安装 —— 自动走你配置的镜像(如 npmmirror.com),不触碰 GitHub:
dsh plugin --profile dshwallpaper add dsh-plugin-media-wallpaper
dsh --profile dshwallpaper # 启动该组合
方式二:GitHub 一条指令安装(任何机器):
dsh plugin --profile dshwallpaper add github:laoye666-6/dsh-plugin-media-wallpaper
@deepseek-ai/dsh-base 为第一个组合包)github:laoye666-6/dsh-plugin-media-wallpaper#<commit-sha>方式三(本机开发路径):
dsh plugin --profile dshwallpaper add "E:\Deepseek Harness\dsh-plugin-wallpaper"
方式四(开发调试,免安装):
dsh web --patch "E:\Deepseek Harness\dsh-plugin-wallpaper\cordis.patch.yml"
关于 profile 名(示例用 dshwallpaper;profile = DSH 的命名配置组合,位于 $DSH_HOME/profiles/<名字>/,决定启动时加载哪些 bundle):
@deepseek-ai/dsh-base 初始化);之后启动也用同名--profile xxx,就用那个名字安装,保证插件装进壳实际使用的组合dsh --profile dshwallpaper --dump-config,输出出现 # == dsh-plugin-media-wallpaper 一层即成功安装后重启 dsh web 或桌面版客户端。
<video> 无法平铺)design-platform.css 当前语义(bg-layer 静态值含亮 / 暗分支);若官方大版本重构 token,需同步更新 src/client/styles.tsnpm run build && npm run typecheck && npm run smokelib/,git 安装用户拿到的是预构建产物)npm login 后执行 npm publish;npmmirror 会自动同步(也可 curl -X PUT https://registry.npmmirror.com/-/package/dsh-plugin-media-wallpaper/syncs 催一下)git push origin main --tags(首次远端为 API 引导的历史,需 --force 对齐);git push 不通时 npm run publish:api -- "commit message" 经 REST API 整树发布dsh-plugin-media-wallpaper@<version>;GitHub 固定 #<commit-sha>├── package.json / cordis.patch.yml # dsh.bundle + dsh.client 声明
├── scripts/build.mjs # esbuild 构建 + 官方懒 CJS 工厂包装
├── scripts/smoke.mjs # Node 桩自检(包装格式/装配/插槽/投影/清理)
├── scripts/publish-api.mjs # 经 GitHub REST API 发布(git push 被阻断时的替代通道)
└── src/
├── index.ts # Host 半侧(空实现,纯客户端插件)
└── client/
├── index.ts # 浏览器入口(装配/清理)
├── state.ts # 设置 store + localStorage
├── storage.ts # IndexedDB 媒体存储 + objectURL
├── format.ts # 魔数格式识别
├── layer.ts # 壁纸层(img背景/video + 滤镜 + 压暗)
├── surface.ts # AppFrame 打标 + 设置投影 + 兜底
├── palette.ts # 主色取样(canvas 均值)
├── settings.tsx # 设置面板(双插槽复用)
├── styles.ts # 全局 CSS(data-plugin 归属标记)
└── types.ts # 官方 API 的最小结构类型 CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: wallpaper。