ohoyour/dsh-file-mention--packages-bundle0

@ohoyo/dsh-file-mention

文件与目录提及(@file/@directory)插件的 Profile 捆绑包,集成主机端索引服务与 Web 客户端。

AI 分析

核心用途是一键安装完整的“@”提及文件功能。适合希望在输入框中通过“@”快速引用本地文件或目录参与对话的 DSH 用户。

包名
@ohoyo/dsh-file-mention
版本
0.1.4
最近更新
2026年8月16日

安装

$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-host is an ordinary host row (the fileIndex Remote service + agent/pre-step injection).
  • client-file-mention carries the client package's dsh.client metadata; the modules node half scans it into window.__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