omdsh-dev/dsh-fun-typewriter

Plugin插件 Native原生 ⭐ 2 BSD-3-Clause Vision & Media视觉与多媒体

DSH 打字机:通过插件自有的设置 API 实现 WebAudio 打字氛围,且零音频资源。

Project Overview项目介绍

DSH Web typewriter SFX plugin: synthesizes assistant stream keystrokes, send rebound, completion chime, error low-tone, and input key sounds via WebAudio in real time, with a session header mute button and a full settings page. No audio files or external requests. Use it to add tactile feedback ambience to local DSH deployments. Caveat: AudioContext is created only after the first user gesture, and dsh plugin add auto-injects the loader—do not insert duplicate entries manually.

DSH Web 打字机音效插件:通过 WebAudio 实时合成助手流式输出敲击、发送回弹、完成提示、错误低鸣与输入按键声,并在会话头部提供静音按钮和完整设置页。无需音频文件、不访问外部服务。适用于希望增强输入反馈氛围的本地 DSH 部署。Caveat:AudioContext 仅在首次用户手势后创建,且 dsh plugin add 会自动注入 loader,不要手工重复插入以免报错。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add @deepseek-ai/dsh-fun-typewriter@0.0.1-rc.3

把 omdsh-dev/dsh-fun-typewriter 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

@deepseek-ai/dsh-fun-typewriter

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

← 上一个 Prev dsh-shutdown-after-task 下一个 Next dsh-insurance-experts →