ohoyour/dsh-file-mention--packages-bundle ↗★ 0
@ohoyo/dsh-file-mention
DeepSeek Harness profile bundle for @file/@directory mentions: the file-mention host plugin and its web client.
AI 분석
核心用途是一键安装完整的“@”提及文件功能。适合希望在输入框中通过“@”快速引用本地文件或目录参与对话的 DSH 用户。
설치
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ohoyour/dsh-file-mention#bfe729f07f9ac1db9192193d734f17835656961f&path:packages/bundle@ohoyo/dsh-file-mention
DeepSeek Harness profile bundle for the file/directory mention plugin. Registering
this package in a profile's dsh.profile.bundles applies cordis.patch.yml, which
inserts both composition rows:
- insert:
- id: file-mention-host
name: '@ohoyo/dsh-file-mention-host'
- id: client-file-mention
name: '@ohoyo/dsh-client-ui-file-mention'
file-mention-hostis an ordinary host row (thefileIndexRemote service +agent/pre-stepinjection).client-file-mentioncarries the client package'sdsh.clientmetadata; the modules node half scans it intowindow.__DSH_BOOT__and serves/plugins/@ohoyo/dsh-client-ui-file-mention/client.js.
The bundle declares both packages as workspace:^ dependencies (rewritten to
concrete ^ versions by pnpm publish and pnpm pack) and ships no compiled entry of its own —
lib/index.js exists only so the package exports "." for tooling.
To tune the Host limits in a profile, override the inserted row in that
profile's cordis.patch.yml and keep the package name on the row:
- id: file-mention-host
name: '@ohoyo/dsh-file-mention-host'
config:
indexTtlMs: 30000
maxContextTokens: 12000
maxRefsPerTurn: 3
All other fields retain their schema defaults.
License
MIT