LanceRingHong/dsh-mesh ↗★ 0

dsh-mesh

DSH Mesh: shared memory (AGENTS/skills/summaries) and cross-device DSH delegation over DSH Remote.

包名
dsh-mesh
兼容性
待验证
Harness 依赖范围
>=0.2.0-rc.1 <0.3.0-0
Cordis 依赖范围
^4.0.1
版本
0.9.7
许可证
MIT
最近更新
2026年10月31日

同名包的其他仓库

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:LanceRingHong/dsh-mesh

配置

在 profile 的 cordis.patch.yml:

- insert:
    - id: dsh-mesh
      name: dsh-mesh
      config:
        memoryDir: ''
        deviceName: ''
        autoSyncAgents: true
        syncSkills: true
        autoRecall: true
        dashboardPort: 8765
        # 可选:允许 mesh_send_file 上传的本机目录(留空 = 共享记忆目录 + ~/Downloads)
        allowedUploadRoots:
          - D:\dsh-mesh\artifacts
字段默认说明
memoryDirWindows ~/DSH-mesh;Android 有 /sdcard 时 /sdcard/DSH-mesh共享目录
deviceName主机名设备显示名,也用于 sessions//
autoSyncAgentsfalse启动时把 AGENTS.shared.md 写进设备级 AGENTS 托管块
syncSkillsfalse启动时复制共享 skills
autoRecalltrue每轮自动检索并注入记忆
dashboardPort8765独立只读页面端口,仅 127.0.0.1
maxFileBytes200000单个记忆文件的读取上限
maxRecallFiles1000召回候选文件上限,按修改时间倒序取
maxRecallFileBytes1000000参与召回的单个文件大小上限
recallMinScore0召回的最低 BM25 绝对分(0 = 只用相对门槛与词项特异性)
recallMaxChars6000每轮注入召回文本的字符预算
allowedUploadRoots[] → 共享记忆目录 + ~/Downloads允许 mesh_send_file 上传的本机目录
dashboardToken''独立只读页面的访问 token;留空不校验(仍只绑定 127.0.0.1)
maxSkillBytes2000000单个共享 skill 目录的大小上限;超限或含符号链接时拒绝同步
captureEnabledtrue自动把完成的会话写成收件箱草稿(本机,不同步)
captureIdleMinutes5会话空闲多久后生成草稿
captureMinTurns2至少多少轮才记录(压缩过的长会话按消息条数兜底)
backupEnabledtrue把共享记忆目录快照到本机 git
backupDebounceSeconds60写入后合并成一个快照的等待时间
backupIntervalMinutes360定时快照间隔;0 关闭

多设备时每台设备用不同 deviceName,避免摘要目录混在一起。