Repository navigation
Releases: Starxer/chatterbox4dsh
Release list
chatterbox4dsh 0.2.0
chatterbox4dsh 0.2.0
首个独立发布的版本(npm 上一个版本是 0.1.0)。要求 DSH 0.1.3-alpha.x:assistant/chunk 已被 DSH 移除,插件改从 assistant/message.stream 重建流式内容,不再向前兼容 0.1.2。
The first independent release (npm was at 0.1.0). Requires DSH 0.1.3-alpha.x — DSH removed assistant/chunk, so the plugin rebuilds streaming content from assistant/message.stream. 0.1.2 compatibility was intentionally dropped.
亮点 / Highlights
-
步骤卡片更可靠:一步一卡、首发防抖合并(快步骤只发一张卡)、CardKit 实例更新严格排在消息发出之后——不再出现「卡片只剩 reasoning」或「工具停在 ⏳ running…」。
-
每张助手卡都有 tok/s:步骤卡 footer、溢出续卡、兜底回复卡;Turn Complete 的吞吐量口径对齐 DSH Web UI(首 token 判定含 tool-call delta,token 与 decode 时间同批配对)。
-
步骤卡定位信息:标题带「第 N 轮 · 第 M 步」,reasoning 标题带思考耗时与思考 token,footer 拆成两行。
-
运行中交互:发普通消息先回一条纯文本提示(已插入 / 已排队);steer 注入的消息不再重复回卡。
-
文件收发:图片按真实字节判型(PNG/JPEG/WebP/GIF);文件与图片统一落 DSH 原生附件库;
feishu_send_file(图片内联预览)与feishu_receive_file。 -
工作区选择 / 目录浏览:改用
interactive_container可点击整行(无按钮外观、名字不省略);被替换的旧卡片自动改写为「已失效」提示。 -
命令与双语:
/thread→/session;移除/stream;/permission、/busy、/model交互式卡片;中英双语(/lang);错误回报带具体原因与错误码。 -
文档:README 改为中英文对照;架构、能力、安装文档同步到当前实现。
-
More reliable step cards: one card per step, a debounced first send (a fast step posts a single card), and CardKit instance updates strictly after the message is sent — no more "reasoning-only" cards or "⏳ running…" tools.
-
tok/s on every assistant card: step-card footer, overflow continuation cards and fallback reply cards; Turn Complete throughput matches the DSH Web UI (tool-call deltas count as the first token; tokens and decode time are paired).
-
Step card orientation: title tagged with "turn N · step M", reasoning header showing thinking time and tokens, footer split into two lines.
-
Busy-chat behavior: a plain message sent while running gets a plain-text notice (injected / queued), and a steered message no longer produces a duplicate reply card.
-
File transfer: images are typed from real bytes; files and images land in the native DSH attachment store;
feishu_send_file(inline image preview) andfeishu_receive_file. -
Workspace picking / directory browser: clickable
interactive_containerrows; superseded cards are rewritten into a "no longer active" notice. -
Commands and i18n:
/thread→/session,/streamremoved, interactive cards for/permission,/busyand/model, Chinese/English UI (/lang), and concrete error causes with error codes. -
Docs: the README is now bilingual (Chinese + English); architecture, capabilities and setup docs are synced to the implementation.
破坏性变更 / Breaking changes
-
要求 DSH
0.1.3-alpha.x,不再支持 0.1.2。 -
/thread更名为/session(不保留别名)。 -
移除
/stream命令与showIntermediateMessages配置。 -
不再注册
compact(与 DSH 内置command-compact同名冲突;请使用 DSH 自带的/compact)。 -
Requires DSH
0.1.3-alpha.x; 0.1.2 is no longer supported. -
/threadrenamed to/session(no alias kept). -
/streamand theshowIntermediateMessagessetting were removed. -
compactis not registered (same-name conflict with DSH's built-incommand-compact); use the built-in/compact.
Full changelog: CHANGELOG.md