wanghehe123/dsh-Friend--packages-dsh-friend-reactions ↗★ 1

@wishp3/dsh-friend-reactions

工作陪伴事件订阅、节流、反应指令 核心用途是订阅非伴侣会话的事件,让悬浮伴侣根据用户的工作状态做出动作、气泡或语音反馈。适合需要虚拟伴侣进行工作陪伴的用户。

Package
@wishp3/dsh-friend-reactions
Compatibility
Unverified
Version
0.1.0
License
MIT
Last updated
Aug 14, 2026

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗

@wishp3/dsh-friend-reactions

工作陪伴:订阅非伴侣会话的 session/event 元数据,节流后映射为舞台指令。三档台词(仅动作 / 气泡 / 语音)。

Host 半区挂 GET /friend/reactions。不注册伴侣会话工具,也不读取用户文本或文件内容。

验证

  • 单测:export CI=true && pnpm exec vitest run packages/dsh-friend-reactions/test
  • 手册:编码会话连续完成 3 个 turn,只庆祝 1 次;免打扰时段内零反应;伴侣会话不自反。
  • 舞台 Live2D 真正动起来需要把 stage 的 push 注入 apply({ push }),或在已加载 pet 的页面里跑本包 client 半区。CI 不断言真实舞台。