dsh-context-picker
其他 活跃维护

dsh-context-picker

starstorm-ai/dsh-context-picker

输入@即可唤起内联选择器,支持快速撷取剪贴板文本、图片、最近消息与自定义上下文,插件式架构可灵活扩展更多来源,让内容插入一气呵成。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
TypeScript
主要语言
MIT
开源协议
225 KB
仓库大小
2 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:starstorm-ai/dsh-context-picker
git clone https://github.com/starstorm-ai/dsh-context-picker.git
git clone git@github.com:starstorm-ai/dsh-context-picker.git
README.md main

dsh-context-picker

An extensible inline context picker for DeepSeek Harness. Type @ in the composer to pick clipboard text, clipboard images, recent DSH messages, or contexts contributed by another plugin such as the active dsh-file-manager Monaco selection.

The result is an atomic reference chip that can be mixed with normal prose. This is an additive standalone DSH Bundle: it neither patches Harness source nor replaces the built-in file/session reference source.

Development

git submodule update --init --recursive
pnpm install --frozen-lockfile
pnpm test
pnpm dev

Clipboard data can originate in another process or application because the Web client uses the operating-system Clipboard API. Browser security still controls access. Merely opening the menu does not upload clipboard data: a candidate stays in browser memory until the user picks it.

Context-source plugins implement the public dsh-context-picker/provider contract and optionally register with ctx.contextPicker. They do not depend on composer internals, durable reference grammar, storage, or model-message assembly. See the architecture and Provider contract and the Chinese guide.

License

MIT