dsh-client-ui-period-hint
界面增强 活跃维护

dsh-client-ui-period-hint

aqiane/dsh-client-ui-period-hint

轻量级前端提示组件,可在各类dsAPI调用输入栏旁实时展示当前计费时段标识,无需切换页面查询费率规则,适配主流开发工具界面,安装即用无额外配置成本,交互流畅无卡顿。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
TypeScript
主要语言
MIT
开源协议
71 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:aqiane/dsh-client-ui-period-hint
git clone https://github.com/aqiane/dsh-client-ui-period-hint.git
git clone git@github.com:aqiane/dsh-client-ui-period-hint.git
README.md main

dsh-client-ui-period-hint

Peak/idle period hint chip in the composer tool row (conversation.input.left) for the DeepSeek Harness Web UI.

面向 DeepSeek Harness Web 界面的峰值/空闲时段提示插件:在输入框工具栏(conversation.input.left)显示当前请求时段(高峰/空闲)的小标签。

Schedule (Beijing time): Monday–Friday 09:00–12:00 and 14:00–18:00 are peak; Saturday and Sunday are idle all day.

时段规则(北京时间): 周一至周五 09:00–12:00 和 14:00–18:00 为高峰时段;周六、周日全天均为空闲。

A client UI plugin (profile bundle) for DeepSeek Harness. It adds a small chip next to the composer input that hints the current request period (peak / idle).

这是 DeepSeek Harness 的一个客户端 UI 插件(profile bundle),在输入框旁显示当前请求时段(高峰 / 空闲)提示。

Source / 源码

The plugin source lives at packages/client/ui-period-hint; installation uses the packed tarball in this repo (see Install below).

插件源码在 packages/client/ui-period-hint;安装使用本仓库内的打包 tarball(见下方安装说明)。

Screenshots / 截图

Peak / 高峰 Idle / 空闲
Peak period hint Idle period hint

Install / 安装

Requires a dsh CLI (DeepSeek Harness). Install into the profile you boot — the Web UI uses the web profile:

需要 dsh CLI(DeepSeek Harness)。装到你要启动的 profile 里——Web 界面使用 web profile:

pnpm dsh plugin --profile web add https://github.com/aqiane/dsh-client-ui-period-hint/releases/download/v0.1.0-rc.8/deepseek-ai-dsh-client-ui-period-hint-0.1.0-rc.8.tgz

Then restart pnpm dsh web.

然后重启 pnpm dsh web。

Peer packages (@deepseek-ai/cordis, @deepseek-ai/dsh-client-runtime, @deepseek-ai/dsh-client-ui-conversation, @deepseek-ai/dsh-invariants) are provided by the standard dsh-base / dsh-web-app bundles at boot; a normal Harness install already carries them.

这些 peer 依赖(@deepseek-ai/cordis、@deepseek-ai/dsh-client-runtime、@deepseek-ai/dsh-client-ui-conversation、@deepseek-ai/dsh-invariants)在启动时由标准的 dsh-base / dsh-web-app bundle 提供,正常安装的 Harness 已自带。

Publishing a new version / 发布新版本

  1. Build and pack the updated plugin (the tarball contains the built lib/).

  2. Bump the version in package.json and name the tarball <name>-<version>.tgz.

  3. Replace the tarball in this repo, commit, and push.

  4. Create a GitHub Release tagged v<version> and attach the tarball as an asset.

  5. Update the install URL above to the new version.

  6. 构建并打包更新后的插件(tarball 内包含编译好的 lib/)。

  7. 更新 package.json 中的版本号,并把 tarball 命名为 <name>-<version>.tgz。

  8. 替换本仓库中的 tarball,提交并推送。

  9. 创建 GitHub Release,tag 为 v<version>,把 tarball 作为附件上传。

  10. 更新上方安装 URL 中的版本号。

License / 许可证

MIT — see LICENSE.

MIT — 见 LICENSE。