Koierrr/Thalamus0

dsh-wechat-companion

AI陪伴微信机器人 DSH 插件:iLink 官方通道消息收发、人设灵魂、主动生活、朋友圈工坊、Web后台面板

包名
dsh-wechat-companion
版本
0.1.0
许可证
MIT
最近更新
2026年9月12日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Koierrr/Thalamus

配置

配置文件:~/.dsh/settings.yamlwechat-companion: 段(改了立刻生效,不用重启)。

wechat-companion:
  enabled: false          # 总开关
  ownerPeerId: ''         # 主人(她特殊对待的那个人),绑号后在面板点选
  replyToAll: true        # 白名单之外是否也回复
  quietHours: '01:00-07:30'   # 安静时段,她也要睡觉
  behavior:
    replySpeed: human     # human 拟人 | instant 秒回 | slow 慢热
    chunkMax: 3           # 一次最多拆几条
  memory:
    extraction: cloud     # cloud 云端提炼 | manual 纯手动
    topK: 6               # 每次注入她脑中的记忆条数
  channel:
    mode: clawbot         # 通道模式
    wxautoEnabled: false  # PC 接管通道(默认关)
  system:
    backupKeepDays: 7     # 备份保留天数

状态与数据目录:~/.dsh/wechat-companion/(登录态、记忆、世界状态、每日状态、备份)

新增配置项必须同时登记进 src/index.js_sanitizeConfig 白名单, 否则会被静默丢弃(这是踩过的坑)。