Word Memorization: DSH Overlay Plugin

Introduction

During the development of or daily use of DSH (DeepSeek Harness), you may sometimes want to use the idle time while waiting for an Agent to execute tasks for quick, fragmented learning. Switching to a separate study app would interrupt your current workflow; memorizing words directly in the chat interface would take up too much space.

The dsh-vocab plugin attaches to the DSH Web interface, providing a 400×400 local vocabulary flashcard overlay. Users can review words, answer multiple-choice questions, and take vocabulary assessments within the overlay. All progress is stored locally. The plugin does not automatically detect whether the Agent has finished, nor does it take over tasks — it is simply an always-available, always-dismissible tool.

Plugin Overview

This is a local vocabulary flashcard overlay plugin attached to the DSH Web interface, developed by maintainer zijian-ai-projects, categorized under Workflow. It addresses the problem of “memorizing words during fragmented time while developing or using an AI agent, without interrupting the current workflow.”

Core Features

Overlay & Interaction

The plugin appears as a 400×400 window on the DSH page. The window size is fixed and does not support edge-drag resizing; the title bar is draggable. After closing, the window collapses into a floating entry point, which retains its position within the current session. When the host page shrinks, the overlay temporarily clamps its position; after the page is restored, it returns to the preferred edge offset.

Three Practice Modes

  • Flash Review: The word is displayed on the front. Press Enter to mark as “known,” or press Space to mark as “unknown.” The definition is shown on the back. Press Space to change a “known” judgment to “unknown,” or press Enter to move to the next word.
  • Multiple Choice (4 options): Displays the word and four definition options. Press 1–4 to select a definition, or press Space to mark as “unknown.” After completing a set, press Space or Enter to proceed to the next set.
  • Vocabulary Assessment: Similar to Multiple Choice, but a fifth row provides an “unknown” option — press Space to mark as unknown.

All three modes share the same learning record.

Spaced Repetition Scheduling

The plugin uses a 10-level spaced repetition schedule. Level 0 is for new words not yet recognized; levels 1–10 are for known words that still require review. Higher levels correspond to longer review intervals.

Level Review Interval
0 New word, not yet recognized, no schedule assigned
1 5 minutes
2 30 minutes
3 12 hours
4 1 day
5 2 days
6 4 days
7 7 days
8 15 days
9 30 days
10 Mastered, no longer enters the regular queue

Recognizing a new word moves it to level 1; subsequent correct recall promotes it by one level and reschedules at the new level. Getting it wrong does not demote the level: a level 1–9 old word, once marked “unknown,” becomes due again in 5 minutes; if you get it wrong again, it waits another 5 minutes. Due old words take priority over new words; only the currently selected book is drawn from within the same queue.

Incorrect Word Handling

A new word answered incorrectly will not immediately reappear. It re-enters the queue only after 4 other new words from the same book have been answered. This prevents short-term cramming.

Data & Privacy

  • Learning records use the namespace dsh-vocab-app/vocab_app_default, stored by default under DSH_HOME (or ~/.dsh if not set) at storages/dsh-vocab-app/. The DSH_VOCAB_DATA_DIR environment variable can specify an alternate record directory.
  • The data/ directory is the wordbook directory, not the default learning record directory.
  • Upgrading the plugin will not clear learning state, book cursors, assessment history, or paused tests.
  • Saving uses atomic writes and retains the last valid backup; if a file is corrupted, recovery takes priority over overwriting with empty progress.
  • No network connection is made at any time; learning records are never uploaded.

Differences from the Desktop Version

The plugin and the desktop version share the same set of learning rules, but their data is independent and not synchronized. The desktop version source code is in the vocab-app repository.

Installation & Activation

Prerequisites: DSH ≥ 0.2.2-rc.1, Node.js ≥ 24.9.0.

  1. Download dsh-vocab-app-0.1.11.tgz from the vocab-app Releases;
  2. In the DSH Plugin Manager, select local installation and choose this tgz file;
  3. Install and activate.

Method 2: Use the Repository Directory Directly

Clone this repository locally, then install the directory as a local plugin in the Plugin Manager (equivalent to a file: directory dependency). After making code changes, reinstall once to apply.

After installation, simply refresh the logged-in DSH page. No service restart is required, and the Windows version of the application is unaffected.

Typical Usage

Upon first entering the plugin, you need to select a wordbook: navigate into a category → select the most granular level → confirm “Start with this book.” There is no default wordbook, and none will be silently selected for you.

After entering Flash Review mode, you can operate with the following keys:

Scenario Key
Flash Review · Front Enter known; Space unknown
Flash Review · Back Space change “known” to unknown; Enter next word
Multiple Choice 1–4 select definition; Space unknown; Space / Enter for next set
Vocabulary Assessment 1–4 select definition; fifth row “unknown” — press Space

Use Cases & Notes

Suitable for users who want to memorize words during fragmented time while in the DSH Web interface. The plugin runs with the permissions of the current DSH process; verify the source code and license before installing.

The project’s own code is licensed under MIT License, permitting use, modification, and commercial use in accordance with MIT terms. Wordbooks are compiled from the internet for study purposes only; commercial use is prohibited. Wordbooks, word databases, and third-party dictionary content are not covered by this project’s MIT license; all related rights belong to their original rights holders.

The difficulty and discrimination parameters of the Vocabulary Assessment are fixed values, not empirically calibrated. The resulting score ranges only reflect the current model assumptions and do not correspond to CEFR levels, VST word family counts, or exam scores.

Conclusion

The dsh-vocab plugin provides DSH users with a local vocabulary memorization tool that stays within the work interface. It supports Flash Review, Multiple Choice, and Vocabulary Assessment. Its spaced repetition schedule is consistent with the desktop version, and all data is stored entirely locally.

  • Plugin directory page: https://www.skillhub.cn/plugins/zijian-ai-projects/dsh-vocab
  • GitHub repository: https://github.com/zijian-ai-projects/dsh-vocab
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye