D
dsh-weather
v0.1.0 · 4 天前发布
Weather tool for DeepSeek Harness: current conditions and multi-day forecasts via Open-Meteo (free, no API key).
README
dsh-weather
English | 中文
DeepSeek Harness 天气工具:查询任意城市或地点的实时天气与多日预报,数据来自 Open-Meteo——免费、无需 API key、无需注册。
功能特性
get_weather 工具:实时温度、体感温度、湿度、风速与天气状况。安装
从 GitHub 安装
sh
dsh plugin --profile web add "github:sunshine-lang/dsh-weather"
然后重启 dsh --profile web。lib/ 已预构建并提交,安装无需构建权限。
从本地源码安装(开发)
sh
dsh plugin --profile web add ./dsh-weather
注意:pnpm 对 link: 方式的本地依赖不会自动安装其依赖,需要手动添加到 profile(通过 registry 或 GitHub 安装则会自动处理):>
sh
dsh plugin --profile web add @deepseek-ai/dsh-tools @deepseek-ai/cordis @deepseek-ai/schemastery
验证
```sh
dsh
版本兼容矩阵
| DSH 版本 | 状态 | 说明 |
|---|---|---|
dsh@0.1.0-rc.6 | ✅ 兼容 | cordis patch ✅ |
dsh@0.1.0 | ✅ 兼容 | 标准 patch ✅ |
dsh@0.2.0 | ⚠️ 待验证 | 待实测(API 可能在变) |
dsh@0.3.0+ | ❓ 未知 | 尚未发布 |
💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正
元数据
- License
- MIT
- npm
- dsh-weather
- Repo
- git+https://github.com/sunshine-lang/dsh-weather.git
- Engines
{"node":">=22.19"}- Weekly DL
- 0
- Monthly DL
- 0
- dsh.bundle
{"bundle":{"patch":"./cordis.patch.yml"}}