DeepSeek Harness 插件

654970/dsh-typing-studio

Star 数 ★ 0 分类 UI 增强 收录于 2026-10-22

中英双语打字练习,提供计时短文、输入法友好评分、逐字反馈和本地记录。

安装

# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)

dsh plugin --profile web add github:654970/dsh-typing-studio

装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED 或 ERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yaml 的 allowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。

README

该插件的 README 只有英文版本。

A bilingual typing practice panel for the DeepSeek Harness Web UI.

Repository: 654970/dsh-typing-studio

中文:中英文双语打字训练插件,带逐字拼音、计时短文、输入法友好的评分、逐字反馈和本地记录。

Features

  • Chinese and English practice with 12 original passages across everyday life, technology, and culture.
  • Timed sessions of 30, 60, or 120 seconds.
  • Pinyin guides above every Chinese character, with a toggle to hide them for unassisted speed practice.
  • IME-aware Chinese input — only committed text is scored, so pinyin candidate editing does not create false misses.
  • Per-character feedback with correct, incorrect, and current-character states. The passage follows your position automatically.
  • Live statistics for time left, speed, accuracy, and passage progress.
  • Results and personal bests in Chinese characters per minute or English net WPM, with the latest attempts kept locally.
  • Bilingual interface that follows the active Harness locale (zh / en).
  • No backend, no network requests, no telemetry. Practice preferences and records stay in the browser's localStorage.

Where it appears

After installation, open the keyboard icon in the left sidebar, labelled 打字训练 or Typing Studio. The trainer opens as a full central panel. A row is also available in the Plugin Manager.

Scoring

  • Chinese speed: correctly typed committed characters per minute.
  • English speed: net words per minute, using five correct characters per word.
  • Accuracy: first-commit correct characters divided by all committed attempts. Correcting a mistake does not erase the earlier attempt.
  • A session needs at least 10 seconds and enough correct characters (20 for English, 10 for Chinese) to count toward the personal best.

Install

Once this repository is listed in the DSH plugin catalog, install KeyFlow Typing Studio from the plugin marketplace. The bundle declares the required dsh.bundle manifest and has no build step or runtime dependencies.

Development

The plugin is a plain ES module bundle. client.js is the browser half; index.js is an intentionally empty Host half. All UI code is self-contained and only imports React from the Harness client module table.

Pinyin readings were generated with pypinyin (MIT) and reviewed for polyphones and structural particles in the supplied passages. pypinyin is not a runtime dependency; the published bundle contains only the annotations.

Privacy

The plugin writes two localStorage values: practice preferences and up to 16 practice records. Personal bests are derived from those records. Nothing is uploaded.

License

MIT © KeyFlow contributors

内容来自项目 README(GitHub)↗

链接

同类插件

查看整个分类 →

社区评论

评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。