shiki-dml/dsh-workspace-intelligence0

dsh-workspace-intelligence

Standalone DeepSeek Harness plugin for deterministic LSP workspace symbol search

包名
dsh-workspace-intelligence
版本
0.1.0
许可证
MIT
最近更新
2026年8月16日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:shiki-dml/dsh-workspace-intelligence

使用

模型只传一个必填参数:

{ "query": "SessionManager" }

workspace root 固定取调用 session 的 header.cwd。空白 query 会被拒绝,不允许模型选择 provider、命令、workspace 或 timeout。

结果包含符号名、可读的 kind、canonical URI、可选 range 和 containerName。插件兼容 SymbolInformation[]WorkspaceSymbol[]、URI-only location、null 和空数组;不会伪造位置,也不会向模型暴露 raw JSON-RPC。

配置

servers 必填且至少有一项。server id 会按字典序排序,因此对象插入顺序不影响行为。

配置默认值说明
command必填executable 绝对路径或由 ctx.subprocess 解析的命令名
args[]直接传入的 argv,不经过 shell
env{}子进程环境变量增量
initializationOptionsnullLSP initialize 参数
configurationnullworkspace/configuration 返回值
maxMessageBytes16000000单条 LSP 消息上限
maxStderrBytes1000000stderr 诊断尾部上限
shutdownTimeoutMs5000graceful shutdown 等待时间
killGraceMs2000process-tree 终止等待时间
maxResults100merge 和去重后保留的符号数
maxResultChars16000完整模型输出字符预算,最小 256
timeoutMs60000交给 DSH timeout policy 的工具超时元数据