dsh-intellisense
其他 活跃维护

dsh-intellisense

aldveylor/dsh-intellisense

轻量插件,为AI工具调用添加命名空间隔离与智能感知。自动匹配模块所属空间,避免函数名冲突,调用更精准、管理更清晰,即插即用无缝融入现有流程。

1
Stars 标星
0
Forks 分支
1
Watchers 关注
0
Open Issues
TypeScript
主要语言
Apache-2.0
开源协议
8 MB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:aldveylor/dsh-intellisense
git clone https://github.com/aldveylor/dsh-intellisense.git
git clone git@github.com:aldveylor/dsh-intellisense.git
README.md master

Intellisense — Tool discovery, on demand.

dsh-intellisense

English | 简体中文

NPM Version

dsh-intellisense helps you organize and discover tools in DeepSeek Harness. Group tools, give them clear names and descriptions, and save reusable profiles for different tasks. The agent can look up the tools it needs on demand.

Usage

Read the usage guide for tool grouping, agent visibility and interface operations. You can also open it from the plugin configuration page.

Installation

Official DSH Desktop: Open Settings → Plugins in the app, search for @aldveylor/dsh-intellisense, and install it through the app's plugin manager. No command line is needed.

Regular dsh web: Run this command, then restart dsh web:

dsh plugin --profile web add @aldveylor/dsh-intellisense

Custom profile: Replace web in that command with your host's actual profile name:

dsh plugin --profile <profile> add @aldveylor/dsh-intellisense

Follow your host's restart instructions.

The bundle includes Intellisense Preset (intellisense/preset, entry @aldveylor/dsh-intellisense/preset), which registers the Intellisense and Intellisense PTC agent presets. The main component provides namespace services and execution; preset registration is handled separately.

Development

Read the development guide for agent preset config.mode / config.profile settings and builtin tool interfaces.

Requires Node.js >=24 and DeepSeek Harness >=0.2.1-rc.2.

Install from npm

Start DeepSeek Harness once to initialize the profile you want to use, then stop it. In that profile's directory (the directory containing its package.json), run:

npm install @aldveylor/dsh-intellisense

In the same package.json, append "@aldveylor/dsh-intellisense" to the existing dsh.profile.bundles list, keeping the other entries. Restart DeepSeek Harness with that profile.

Ctrlernatively, open Plugins in the DeepSeek Harness sidebar and install @aldveylor/dsh-intellisense from the npm registry, with the bundle enabled. This handles installation and activation for the current profile.

Run from source

From the project root, with pnpm installed, run:

pnpm install --frozen-lockfile
./run.sh

This starts a separate development profile for trying the plugin locally.

Tool management

Read the usage guide, also available from the configuration page. Screenshots below use light mode.

Namespace management

The namespace tree shows tool groups, call names, and descriptions. Hover a namespace for its name, full path, and notes; hover a command for its summary, full documentation, and call totals. Its original command name opens a second tooltip with tool details. Expand groups, double-click names or comments to edit them, drag sibling entries to reorder them, and set pinned hint levels. Use the controls above the tree to switch, save, or save a copy of a profile for reuse across different tool configurations.

Tool namespace table with profile selection and tree editing

Adding tools

Click the tool icon beside “Namespace tree” to open the tool picker. The unmounted count opens a filtered list. Search by name, path, or description, then click an ordinary tool card to add it to the current node. Built-in plugin commands appear as disabled gray cards.

Tool picker with search, sorting, and disabled built-in command cards

Tool details

Hover a card for its original name, description, parameters, return type, and call totals. Parameter types have nested tooltips showing the type expression directly. Table titles sit outside their tables, and columns size to content. Hold Ctrl to keep a tooltip in place, then move into it to scroll manually.

Bash tool details and type display

License

Apache License 2.0