← 返回列表
D

@wishp3/dsh-friend-reactions

v0.1.1 · 3 天前发布

工作陪伴事件订阅、节流、反应指令

dsh-plugindshdeepseek-harness

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 不断言真实舞台。
  • 查看完整 README →

    版本兼容矩阵

    DSH 版本状态说明
    dsh@0.1.0-rc.6 ✅ 兼容 cordis patch ✅
    dsh@0.1.0 ✅ 兼容 标准 patch ✅
    dsh@0.2.0 ⚠️ 待验证 待实测(API 可能在变)
    dsh@0.3.0+ ❓ 未知 尚未发布

    💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正

    元数据

    License
    MIT
    npm
    @wishp3/dsh-friend-reactions
    Repo
    https://github.com/wanghehe123/dsh-Friend.git
    Engines
    {}
    Weekly DL
    0
    Monthly DL
    0
    dsh.bundle
    {"client":{"platform":"web","inject":[]}}