dsh-fun-typewriter
by omdsh-dev
为 DSH Web 增加打字机/机械键盘氛围音:助手流式输出敲击、发送回弹、完成提示、 错误低鸣、输入按键音,以及会话头部静音按钮和完整设置页。音效全部由 WebAudio 实时合成,不包含音频文件,也不访问任何外部服务。
Adds typewriter / mechanical keyboard ambience to DSH Web: keystrokes during streaming, send bounce, completion chime, error hum, input clicks, a mute button in the session header and a full settings page. All sounds synthesized live via WebAudio — no audio files, no external services.
安装
dsh plugin --profile web add github:omdsh-dev/dsh-fun-typewriterGitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试
安装与环境配置指引、插件开发教程见 DSH 中文社区文档 ↗
安装即在你的机器上以你的权限运行第三方代码——它可读写文件、使用凭据、访问网络,DSH 的工具审批不会为插件代码加沙箱。「检测到 manifest」仅代表发现 dsh.bundle / dsh.plugin 清单,不构成兼容性或安全审查;安装前请审阅源码,不熟悉的插件先在不含密钥的环境试用。
README
Author / Maintainer: @Zacklinkk
为 DSH Web 增加打字机/机械键盘氛围音:助手流式输出敲击、发送回弹、完成提示、 错误低鸣、输入按键音,以及会话头部静音按钮和完整设置页。音效全部由 WebAudio 实时合成,不包含音频文件,也不访问任何外部服务。
安装
# 已登录私有 npm registry
dsh plugin --profile web add @deepseek-ai/dsh-fun-typewriter@0.0.1-rc.3
# 本地开发 checkout
dsh plugin --profile web add link:/path/to/dsh-fun-typewriter
包内已经声明 dsh.bundle.patch;dsh plugin add 会自动维护 Profile Bundle。
不要手工修改 profile manifest,也不要重复插入 fun-typewriter loader row,否则会
得到 duplicate loader entry id。
行为与权限
- 浏览器第一次用户手势后才创建
AudioContext,遵守自动播放策略; - 设置包含总开关/音量、流式音色与节奏、发送/完成/错误/输入音开关;
- 设置通过插件自有的
/plugins/dsh-fun-typewriter/api/settings读写,不依赖 DSH rc.3 配置面的 namespace allowlist;该端点仅接受 loopback 同源请求; - 零音频资源、零第三方请求、零密钥。
兼容性
| 组件 | 支持范围 |
|---|---|
| DSH | >=0.1.0-rc.3 <0.2.0 |
| Node.js | >=22.19.0 |
| Profile | web |
宿主 API 使用 rc.3 的 webServer 服务名。客户端依赖 rc.3 的
settings.section、conversation.input.dock 和
conversation.session.header.actions slots。
开发
npm install --legacy-peer-deps
DSH_NODE_MODULES=/path/to/dsh-runtime/node_modules npm run setup:dsh-workspace
npm run typecheck
npm test
npm run build
npm pack
构建产出 lib/index.js(宿主)和 lib/client.js(浏览器 ModuleLoader 包)。
License
BSD-3-Clause
原始 README: https://github.com/omdsh-dev/dsh-fun-typewriter/blob/main/README.md ↗
同类插件
查看全部 →
petdex
面向 Codex、Claude Code、DeepSeek Harness、Hermes、OpenCode、Gemini CLI 等的动画桌宠公共图鉴

dsh-ads
2005 年中文站点风格的整活广告插件:侧栏广告/信息流/角落弹窗 + 假关闭叉,素材全虚构。

whale-girl
桌面宠物(QQ 宠物形态):右下角悬浮、可拖拽/投喂/玩耍。

dsh-kun-like-pet
Kun Like 桌宠 —— DeepSeek Harness 桌面宠物插件:右下角小坤宠随 Agent 工作状态切换 9 种动作,任务完成播放「你干嘛~哎哟」

dsh-toy
DSH 的玩具控制协议

deepseek-pet
在你的deepseek-harness上养一只吃白饭的大蓝鲸