Skip to content

Releases: tangwenhao616-netizen/dsh-clawbot

v0.3.0 — Multi-session, Slash Commands & Concurrency Fixes

Choose a tag to compare

@tangwenhao616-netizen tangwenhao616-netizen released this 18 Aug 03:16

What's New

🎯 Multi-Session Support

  • One WeChat user can own multiple independent sessions
  • session-map.json auto-migrates from 1:1 to multi-session format
  • Switch sessions with /2 or #work 帮我写周报

⌨️ Slash Commands

  • /new /list /use /model /rename /del /tag /help
  • Chinese keywords: 列表 帮助 模型 换模型
  • No web UI needed for session management

🧠 Per-Session Model

  • Each session remembers its own provider/model
  • /model 3 switches live on next turn
  • No pollution of global default model

⚡ Concurrency Fixes

  • Per-user inbound queues (same user serial, different users parallel)
  • Per-message collectors (no cross-talk between sessions)
  • Long polling no longer blocks on single message

🔒 Security & UX

  • Credentials stored with 0600 permissions, atomic writes
  • Typing indicator while agent thinks
  • Vision-aware image injection (skips if model doesn't support images)
  • Rate-limit backoff for iLink ret=-2
  • Active push: ctx.weixin.push() + /weixin/send + push_weixin tool

🧪 Tests

  • 51 test cases covering multi-session, commands, concurrency, and edge cases

Install

dsh plugin --profile web add github:tangwenhao616-netizen/dsh-clawbot

Upgrade from dsh-weixin

dsh-clawbot is a drop-in replacement. Your existing ~/.dsh/dsh-weixin/ credentials and session data are preserved.

Full Changelog

See README.md for complete documentation.