WhitePlusMS/dsh-input-plus 预览 preview

WhitePlusMS/dsh-input-plus

Plugin插件 Native原生 ⭐ 3 MIT Prompts & Skills提示词与技能

DSH Web UI 插件,用于工作区文件引用、提示历史记录及轻量级编辑器增强功能。

Project Overview项目介绍

This is a native enhancement plugin built exclusively for the DeepSeek Harness (DSH) web user interface. It extends DSH’s native input composer with two quality-of-life features: workspace file and directory path insertion, and quick access to previously submitted user prompts from the current session. It integrates directly with DSH’s built-in @ and / input trigger system, so it does not replace any core native UI components like the textarea, send button, or default candidate menu behavior. To install the latest tagged release, run the command dsh plugin --profile web add https://github.com/WhitePlusMS/dsh-input-plus/archive/refs/tags/v0.0.2.tar.gz from your DSH CLI.

When you type @ in the DSH input composer and start entering a file or directory name fragment, the plugin pulls matching entries from its prebuilt index of your active workspace. After you select an entry, it inserts a plain-text path reference into your draft input. The inserted path does not automatically load the file content; it is up to DSH’s native workspace tools to read the file when requested by the model. Typing /h opens the second feature, a menu of all successfully submitted user prompts from your current session, ordered from most recent to oldest, that you can filter by entering keywords.

The plugin adds a dedicated input-plus settings namespace where you can adjust parameters like maximum workspace indexing depth, maximum number of index entries, and an optional override for the workspace root reference path. It requires DSH version 0.1.0-rc.6 or newer, and only prebuilt release archives that include the generated lib/ directory will install correctly. Source-only installation will fail because the plugin entry points point to the built files in lib/. The project is released under the permissive MIT open source license.

这是一款专为DeepSeek Harness(DSH)网页端设计的原生输入增强插件,主要功能是给DSH的输入面板增加文件路径检索插入和历史提示词快速调用能力。它对接DSH官方的@和/输入触发机制,不会替换官方的输入框、候选菜单和原生按键行为,仅在原有逻辑基础上新增额外候选内容。

当你需要在当前会话的输入框中插入工作区的文件或目录路径时,输入@后输入名称片段就能筛选出对应条目,选中后会插入纯文本路径引用。需要调用当前会话历史中的提示词时,输入/h就能按时间倒序调出所有历史用户提示,还支持输入关键词进一步过滤结果。适合需要快速引用本地路径或复用历史提问的DSH网页端用户。

该插件要求DSH版本不低于0.1.0-rc.6,需要通过DSH官方的插件配置命令行流程安装,仅支持编译后的产物安装,仅含源码的压缩包无法正常安装。用户可配置工作区索引最大深度、最大条目数、根路径等参数,项目采用MIT开源许可,二次开发需要Node.js 18+和pnpm环境。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
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 https://github.com/WhitePlusMS/dsh-input-plus/archive/refs/tags/v0.0.2.tar.gz

把 WhitePlusMS/dsh-input-plus 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-input-plus

Awesome DSH Plugin

中文说明

An input composer enhancement plugin for the DSH Web UI. On the Host side, it builds an index of the active workspace. In the browser, it connects to DSH's official @ input trigger so files and directories can be searched and inserted into the composer. Type /h to open a candidate menu of previous prompts from the current Session.

File reference candidate menu

Input history menu

Features

@ file and directory path selection

Type @ in the DSH composer, then continue with a file name, directory name, or path fragment. The candidate menu lists files and directories from the current Session workspace. After selection, the draft keeps a plain-text path reference, for example:

@src/contract.ts

The reference contains only the path. Sending the message does not read the file, expand the directory, or generate a directory manifest. When the model needs the target, it can inspect the path with the native workspace tools provided by the current Session.

After selecting a directory, you can continue with an instruction:

@src Find the code responsible for candidate ranking

The official input-trigger pipeline owns the candidate menu, caret, and write-back behavior. This plugin does not replace the official textarea, send button, or candidate menu, and it does not take over native arrow-key behavior.

/h input history

Type /h in the composer to open the history candidate menu through DSH's official / input trigger. You can continue typing a keyword to filter the results, for example:

/h

The candidates contain only user prompts that were successfully submitted in the current Session, ordered from most recent to oldest.

Installation

Requires DSH 0.1.0-rc.6 or a compatible DSH Web profile. Install through the official DSH profile plugin flow:

dsh plugin --profile web add https://github.com/WhitePlusMS/dsh-input-plus/archive/refs/tags/v0.0.2.tar.gz

GitHub tag installation consumes the committed lib/ Host and Client artifacts directly. Before creating or updating an installation tag, run pnpm run build and include the generated lib/ directory in the commit; installing a source-only archive will fail because the package entry points resolve to lib/index.js and lib/client.js.

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-basic-office 下一个 Next dsh-model-thinking →