Hnqhj/dsh-asset-library ↗★ 0

dsh-asset-library

Local asset library for DeepSeek Harness: browse, search and preview a project folder's images, videos and audio, and expose them to the agent as readable assets. 适合需要在会话中管理、预览并向 Agent 暴露本地音视频和图片资产的任务。

Package
dsh-asset-library
Compatibility
Unverified
Version
0.1.0
License
MIT
Last updated
Sep 30, 2026

Other repositories with this package name

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Hnqhj/dsh-asset-library

⚙️ 配置

cordis.patch.yml 里按行 id 覆盖(全部字段都有默认值,不配也能跑):

- id: asset-library
  name: dsh-asset-library
  config:
    root: 'G:\项目\短剧A'      # 空串=跟随会话工作目录
    assetsDir: assets          # 约定子目录;不存在时直接扫项目根
    indexDir: .dsh-assets      # 索引目录
    includeHidden: false
    maxDepth: 8
    maxFiles: 20000
    cacheMs: 0                 # 扫描缓存毫秒数;默认 0 = 每次都重新扫描
    pageSize: 60
    allowAgentAnnotate: false  # true 时额外注册 asset_library_annotate(只改标注)

目录约定:插件优先扫 /assets/(images/、video/、audio/ 只是习惯分类, 任意深度的子目录都会扫到);不存在 assets/ 时直接把项目根当资产目录。