last30days-skill-cn
Jesseovo
last30days-cn 是一个 AI Agent 技能(Skill),能够自动搜索中国互联网 8 大主流平台最近 30 天的内容,综合分析后生成有据可查的研究报告。
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:JerryPhoenixCKY/dsh-plugin-wallpaper
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Upload a local image, crop it to the workspace aspect ratio, and set it as the desktop background of the DeepSeek Harness Web surface — all from a dedicated section in Settings.
$DSH_HOME/settings.yaml, wallpaper section) and can be hand-edited.The Wallpaper section in Settings:
Cropping after upload (aspect locked to the workspace, eight resize handles):
The workspace with the wallpaper applied:
From npm:
dsh plugin --profile web add dsh-plugin-wallpaper
From GitHub (the prepare script builds the bundles on install):
dsh plugin --profile web add github:JerryPhoenixCKY/dsh-plugin-wallpaper
Local development:
dsh plugin --profile web add link:<absolute path to this repo>
Then restart dsh web (plugins load at startup):
dsh web # or: dsh --profile web
Remove: dsh plugin --profile web remove dsh-plugin-wallpaper, then restart.
Note: uploading and editing require opening the page from this machine (localhost). Other machines on the LAN can see the background but writes are refused — the write channel only trusts loopback.
$DSH_HOME/storages/wallpaper/
wallpaper.webp — the latest uploaded crop result.wallpaper.json — { revision, width, height, updatedAt }; the revision is server-authoritative and monotonic.wallpaper section of $DSH_HOME/settings.yaml.One dual-face bundle (host + browser):
src/index.ts → lib/index.js):ctx.settings.register("wallpaper", schema) — validation, defaults, and persistence. (The rc.6 settings wire allowlist does not cover third-party namespaces, so the browser side never rides the settings API.)/wallpaper generic-RPC channel (loopback-only): config/get, config/set, put, remove, info.GET /plugins/wallpaper/image?v=<revision> — serves the image keyed by revision (immutable caching; stale revisions 404).src/client/** → lib/client.js):settings.section slot (upload / crop / preview / controls).ctx.get("connection") (the official client-plugin pattern) and reads/writes config through WallpaperStore, a coalescing writer over the RPC channel.attachBackground projects the config onto the document: the body background image, the theme tokens (--dsw-alias-bg-*) made translucent, and the dimming gradient — kept in sync with theme/change.pnpm install
pnpm typecheck # tsc --noEmit
pnpm build # esbuild → lib/index.js + lib/client.js
The client bundle follows the web shell module protocol (window.__ModuleLoader__.load({ id, factory })); its externals match the PLATFORM_MODULES seed table of @deepseek-ai/dsh-client-web plus the packages declared in dsh.client.inject. CSS Modules are compiled inline by scripts/build.mjs and injected with the official <style data-plugin-css> convention.
After changes: pnpm build, then restart dsh web.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: wallpaper。