Skip to content

v0.1.1

Choose a tag to compare

@2huy4n 2huy4n released this 23 Sep 11:54
· 8 commits to main since this release

首个公开版本。

功能

  • 主动唤醒:用户沉默超过设定时长后,向该会话投递一条 user 角色的唤醒消息,让角色主动开口,而不是干等输入
  • 不打断对话:只在该会话空闲时通过 agent.runMaintenance() 投递;用户正在说话时不会插话
  • 新会话默认静音(opt-in):唤醒会写进用户的历史,所以新会话默认不唤醒,想在哪个会话用就在面板里点「取消静音」
  • 可配置:唤醒间隔、每日上限、静默时段、唤醒提示词(支持 {minutes} {count} {time} {session_id})
  • 调试面板:模拟经过时间、立即唤醒、重置计时、投递日志

安装

dsh plugin --profile <profile> add github:2huy4n/roleplaytimer#v0.1.1

然后把 roleplaytimer 加进该 profile package.json 的 dsh.profile.bundles 数组,重启 DSH。