wangzhanchao883/dsh-lost-and-found ↗★ 0
dsh-lost-and-found
Local file recall for DeepSeek Harness: it watches the folders you choose and keeps a SQLite index of what appeared — name, type, size, appeared-at, location and origin — so "where did I put that file?" becomes a single question. Every folder carries its own incremental anchor, and a folder added later is backfilled in full on its first scan. Search is SQL hard filtering plus multi-keyword hit weighting, with a live fallback scan when the index has no hit. Read-only: it never modifies, moves or deletes your files. 文件快速寻回:定期扫描你指定的文件夹,把新出现的文件(名字/类型/大小/出现时间/位置/来源)记进本地 SQLite 索引,忘了东西放哪问一句就能找回。每个文件夹各有自己的增量锚点,新加入的文件夹第一次会回填全部历史;检索用 SQL 硬过滤加多关键词加权,索引没命中时当场兜底实时扫描一遍。只读,绝不修改、移动或删除你的文件。 适合需要快速检索和定位本地历史文件、管理多目录扫描的用户。
설치
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:wangzhanchao883/dsh-lost-and-found配置
设置页里有:扫描概况与「立即扫描」按钮、扫描目录(可增删,每个目录可单独设内容深度)、记忆库存放位置、扫描间隔、内容读取说明与高级选项。
| 配置项 | 默认 | 说明 |
|---|---|---|
enabled | true | 关闭后不再自动扫描,也不再提供找文件工具 |
roots | [] | 要监视的目录,每个目录带自己的 policy |
dbPath | 空 | 索引库位置;留空用 %LOCALAPPDATA%\dsh-lost-and-found\index.db |
intervalDays | 1 | 自动扫描间隔;0 = 只手动 |
firstScanMode | full | 一个目录第一次被扫时收多久:full 全部历史 / window 最近 firstRunWindowDays 天 / none 只收今后新增 |
firstRunWindowDays | 7 | 仅当 firstScanMode = window 时生效 |
maxFileMB | 50 | 超过此体积只记基本信息,不读内容 |
imageQuotaPerRun | 20 | 每次看图配额 |
patrolEnabled | true | 是否提示白名单外有新文件的目录 |
backupKeep | 7 | 每日备份保留份数,0 = 不备份 |
extraExcludeDirs / extraExcludePatterns | [] | 追加的排除目录名 / 路径片段(re: 前缀表示正则) |