dsh-life-workbench: DSH Web Personal Workbench

Preface

Performing daily tasks in the DSH Web GUI typically involves spreading across multiple pages or external tools: To-Dos in one place, files in a cloud drive, and Kanban boards in yet another entry point. This results in high switching costs and a lack of reviewable details regarding “what was done today” or “what was done last Wednesday.”

The following introduces the community plugin dsh-life-workbench (repository meihaoyidian/life-workbench). It consolidates Overview, Kanban, Resource Library, and Daily Items into a single glassmorphism panel. Data is persisted on the Host side, making it suitable for completing daily interactions in a single page within a local DSH Web environment.

What is this

dsh-life-workbench is a Personal Workbench plugin for the DSH Web GUI, maintained by meihaoyidian and categorized as a Client plugin in the SkillHub directory. The npm package name is dsh-life-workbench, the current version is 1.0.0, and the license is MIT.

Plugin positioning: Complete statistics + execution + recording in a single view, eliminating the need to navigate between pages to find the correct entry point. Runtime requirements (from package.json): Node >=20, DSH >=0.1.5-rc.1, Web platform; Client dependency React ^18.2.0 (peer, optional).

Core Features

Overview

The Overview page is divided into several sections where operations are completed in place:

Section Content
Top Greeting + 5 KPIs (Today’s Completed / Today’s To-Do / Total Completed / Last 7 Days / Resources)
Statistics Completion Trends (click any bar to review the itemized details of that day), Kanban Progress
Today Today’s Execution, Recently Completed
Records Quick Notes, Resource Thumbnails & Uploads

“Today’s Execution” is a unified list: If a time is filled in, it is treated as a schedule entry; if not, it goes to the selected Kanban board. Schedules are attributed by day and will no longer appear in “Today” after the day passes.

Kanban

  • Multi-column Kanban board; users can customize the addition and deletion of boards and items.
  • Items: Double-click to rename, check to complete, delete.
  • Attachments: Click the paperclip to upload; files belong to that item. When an item is deleted, attachments return to the general library instead of disappearing with the item.

Resources

A general library for uploaded files and images, allowing for ownership tagging and enlarged previews. The single upload limit is 8 MB.

Daily Items

When crossing days, the itemized details (title + completion status) for that day are first written to history, and then checks are reset; details are retained for 90 days. Therefore, you can review “what was done last Wednesday,” rather than just seeing cumulative counts.

Installation and Activation

The official installation command is as follows (must use --profile web):

dsh plugin --profile web add dsh-life-workbench

After installation, restart the dsh host and refresh the browser; a “Workbench” icon will appear in the sidebar.

When installing from npm, the bundle patch enters the roster, so generally no extra configuration is needed. If using link: for local development, the bundle patch bundled inside the package may not be collected by dsh, requiring manual insertion at the profile user layer (see the repository README section “Two Known Implementation Constraints” for details).

Typical Usage

  1. Open the “Workbench” in the sidebar and view KPIs and the Today’s Execution list on the Overview.
  2. Add items in Today’s Execution: fill in a time if a reminder is needed (Schedule); otherwise, select a target Kanban board, and the item will go directly into the board column.
  3. Switch to the Kanban view, double-click to rename, and check to complete; click the paperclip to attach files when credentials or references are needed.
  4. Upload files or images in the Resources area; quick uploads are also available in the “Records” section of the Overview.
  5. In the Statistics area, click a bar for a specific day on the trend chart to view the completion details for that day; after daily items are archived across days, you can review historical days within the history scope.

Data interacts with the Host via same-origin HTTP. The official plugin does not use dynamic host.call. The main endpoints are:

Endpoint Function
POST /life-workbench/load Read state (including daily archiving and cross-day reset)
POST /life-workbench/save Write state (history is merged based on disk data)
POST /life-workbench/upload Write a base64 file to disk
POST /life-workbench/readFile Read back the base64 of a specific file

Data Storage

State and uploaded files are located in $DSH_HOME/life-workbench/ (or ~/.dsh/life-workbench/ if DSH_HOME is not set):

state.json        Workbench state (Kanban / Items / Notes / Schedule / Archive)
blob-<id>.b64     Uploaded files and images

Writes adopt an atomic replacement method of “temp file + rename.” Removing an entry from the Resource Library does not delete the blob file on disk.

Applicable Scenarios & Notes

Who it is for: Developers or individual users who are already using the DSH Web GUI and wish to consolidate To-Dos, Kanban, quick notes, and local resources into a single panel.

Ecosystem Note: DSH advocates “Everything is a plugin”; the SkillHub directory page is a community site and has no official affiliation with DeepSeek or High-Flyer.

Security & Permissions: The plugin reads and writes local directories and provides HTTP endpoints under the current dsh host process permissions. Before installation, it is recommended to review the GitHub Source Code and the MIT license to ensure compliance with your environment and regulatory requirements.

Development Side: Pure ESM JavaScript with zero-build; simply restart the dsh host after modifying lib/*.js. The Client’s factory must return module.exports, otherwise the browser may report invalid plugin ... received undefined.

Conclusion

dsh-life-workbench places Overview, Kanban, Resources, and archived Daily Items into a single Web panel, with the Host handling persistence and cross-day logic, making it suitable as a lightweight personal workbench under DSH.

羽毛球分组比赛记分
小程序二维码

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

Xiaoye