Glass weather pill in the session header with 23 weather states, each with its own tint, SVG icon and canvas particle layer, per-field visibility switches, and a get_weather tool backed by keyless Open-Meteo data.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-glass-weather
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:w-j-y-wjy/dsh-glass-weather
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
This plugin publishes its README in Chinese only.
DeepSeek Harness(DSH)原生 Cordis 插件:在会话顶栏放一颗 30px 玻璃天气胶囊,并注册 get_weather 工具。
兼容性:DSH Desktop / dsh web 0.2.0-rc.2(原生 Cordis 插件,不是 hook 桥接)。已在 package.json 声明 engines.dsh: ^0.2.0-rc.2 与 dsh.compatibility,插件市场据此显示适用范围;其余版本未验证。
| 浅色配方 | 深色配方 |
|---|---|
胶囊有两套配方,默认跟随 DSH 主题自动切换,也可在设置里手动固定:浅色是设计稿原样(白色光泽 + 状态色), 深色收掉白色光泽、保留状态色并加一圈状态色外发光——深色界面下不会变成一块发白的玻璃。
23 种天气状态,每种自带玻璃配色、SVG 图形与 canvas 粒子(雨、雪、星、沙尘、漩涡…),灾害天气带预警角标。 图标 / 城市 / 温度 / 天气 / 今日最高最低 / 湿度 / 时间都能在设置里单独开关。
实际运行时的顶栏:

安装
已发布到 npm:https://www.npmjs.com/package/dsh-glass-weather
dsh plugin --profile desktop add dsh-glass-weather # 从 npm 装(推荐)
scripts\mount-profile.cmd desktop # 或本地源码挂载(开发用)
改 Host 半需重启 dsh;只改浏览器半会自动热更。
使用
- 顶栏胶囊单击刷新,悬停看完整信息;没有展开卡,胶囊就是全部界面。
- 设置 → 插件 → 「天气」:顶部实时预览,下面四组 —— 显示内容 / 外观与动效 / 数据与位置 / 高级(含「恢复本机默认显示」)。
- 胶囊配色(外观与动效组):自动跟随 DSH 主题,或手动固定深色 / 浅色配方。
- 本机开关(显示项、粒子、配色、手动天气状态)存在浏览器 localStorage。
- 模型可用
get_weather查询实时天气与短期预报。
数据来源
全部免密钥、免账号:Open-Meteo 天气 + 空气质量(霾/沙尘判定)、BigDataCloud 反向地理编码取县市名、ipapi 兜底。 任一接口失败都会降级到 WMO 天气码,不会崩。
开发与验收
npm run typecheck # 两套 tsconfig,0 报错
npm run build # lib/ 产出 4 个文件
npm run verify # 185 项(含真实 Open-Meteo 交叉核对)
npm run verify:release # 打包装机验证,19 步
更多
- docs/INTERNALS.md:23 状态表、客户端插件契约、粒子性能契约、UI 移植记录
- docs/RELEASE.md:发布清单
- CHANGELOG.md
许可
MIT © w-j-y-wjy
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 8835
Task board for the dsh web GUI: a sidebar multi-column kanban whose cards run in real DSH agent sessions and can also be scheduled with cron expressions, executed host-side even with the browser closed.
zhu1090093659/dsh-web#packages/dsh-web-all★ 8835
Plugin and skin collection for the DSH Web UI: task board, Git graph, right-side panel, remote mobile UI, pet, live token stats, and a skin center.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 5002
A fixed-corner whale widget for the DSH web GUI — balance, today's usage and per-turn cost with peak/off-peak pricing, editable balance-alert and daily-budget bubbles, a module-based custom bubble queue with A/B weighted choices and random lines or images, 30+ vendor templates (OpenAI, OpenRouter, Kimi, SiliconFlow, Ark, Zhipu, MiniMax and more) with per-model balance and subscription quota, plus task-end sound, imported audio, custom roles and a resource manager. Local-only, no telemetry.
ccch1mneyyy/dsh-TUI★ 4685
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
omdsh-dev/DSH-better-sidebar★ 4214
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
Devin-AXIS/deepseek-design#deepseek-idesign★ 1469
Visual design studio for websites, app prototypes, posters, cards, reports, and magazines, with templates, direct element editing, selection-aware AI draft handoff, and export.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.