dsh-at-file
FSMargoo/dsh-at-fileCodex 风格的 `@file` 文件引用,输入框里直接搜索并引用工作区文件。
DeepSeek Harness Web GUI 天气看板,支持城市切换、当前天气、八小时趋势图和五日预报。
English | 中文
一个面向 DeepSeek Harness Web GUI 的天气看板插件。
本仓库包含独立插件源码。插件通过 Harness 的 shell.overlay slot 组合,并依赖 Harness client packages,因此推荐在 DeepSeek Harness monorepo 中使用。
仓库声明了 dsh.bundle manifest 并包含 cordis.patch.yml,可以使用标准 bundle 命令安装:
dsh plugin --profile web add github:mercy719/dsh-client-ui-weather
进行源码开发时,将本目录复制或 vendor 到 packages/client/ui-weather,然后加入 Web bundle roster:
# packages/bundle/web-app/cordis.patch.yml
- id: ui-weather
name: '@deepseek-ai/dsh-client-ui-weather'
在 packages/bundle/web-app/package.json 增加 workspace dependency,加入 TypeScript project reference,然后构建:
pnpm exec tsc -b packages/client/ui-weather/tsconfig.json
pnpm --filter @deepseek-ai/dsh-client-ui-weather bundle
pnpm run test:gui
包清单中的 dsh.client.inject 记录 boot graph 和 watcher 使用的包级 bundle/artifact 依赖;浏览器入口则单独声明实际使用的 Cordis service:export const inject = ['slots']。
浏览器请求 Open-Meteo 公共预报数据。不需要 API key、宿主凭据,不新增模型输入、会话事件或持久化状态。刷新页面后城市和展开/收起状态会恢复默认值。
无。本插件只为人展示天气数据,不修改 prompt、消息、工具、模型请求或会话日志。
无;天气数据不会加入模型上下文。
无;本插件不组装或发送 provider 请求。
MIT,详见 LICENSE。