Releases: moyu-good/dsh-lark-bridge
Releases · moyu-good/dsh-lark-bridge
Release list
v0.3.1
What's new
First-contact onboarding guide
Brand-new sessions (created, not resumed) now receive a one-time guide: what the bot is, its current permission posture (derived from DSH_PERMISSION_MODE), and the slash commands. Config gate onboarding (default true).
- Teaches the
/permission <preset>argument form — a bare/permissionshows a status line, not a menu (real first-use failure) - Distinguishes approval cards (click the button) from text listings (type the full command)
Workflow fan-out progress
tool-workflow/run-start | agent-start | agent-end | run-end now stream short lines into the chat, so a subagent fan-out is visible instead of a silent gap before the final answer.
Compaction notices
compaction/start announces context summarization (so a later "it forgot" is understood); a failing compaction is reported.
Details
- Tests: 185 passed (was 169)
- tsc: 0 errors
- Contract: 32/32
v0.3.0 — Feishu as full dsh UI (P0–P2)
飞书作为完整 dsh UI(P0–P2 全部落地)
新增功能
- 🎴 ask_user_question 交互卡片(P0-1):模型提问渲染为可点击卡片,点击即回答案;chat profile 下注册启用
- 📊 todo 进度卡片(P0-2):
todo_write快照 → 实时进度卡片,原地刷新 - ✅ plan-mode 审批(P1-1):
/plan自动可用,exit_plan_mode 计划审批卡片 - 🧑💻 subagent 委派标签(P1-2):思考流中区分委派活动
- 🎯 goal 状态卡片(P2):goal/change 快照 → 四态卡片(active/paused/blocked/complete)
架构
- chat profile 部署模式:
run-dsh-web.sh chat,bundles=[dsh-base,dsh-lark-bridge] 去 web-app,userQuestions 单 provider 槽位归桥 - 修复 userQuestions 单 provider 冲突(DUPLICATE_PROVIDER 异步中断 fiber → WS 不连)的根因
测试
- 169/169 通过,tsc=0,契约 32/32
v0.2.0 — 云鹊桥 (dsh-lark-bridge)
🕊️ 把 DeepSeek Harness 的编码智能搬进飞书
在飞书/Lark 里跑完整的编码代理——原生思考过程、审批卡片、实时 reaction、Slash 命令,走 WebSocket 长连接,无需公网回调地址。
✨ 新能力 (v0.2.0)
- ✅ Live Reaction 反馈系统 — 收到 OK → 思考 THINKING → 完成 DONE/失败 ERROR,状态互替不堆叠,可配置
- 🧠 原生思考过程 (CoT) — 支持流式 reasoning-delta 与整块 block-end 两种模型输出形态(DeepSeek 官方 API 完整思考链可见)
🔧 修复
- addReaction 递归爆栈(Object.assign 覆盖同名方法导致 Maximum call stack size exceeded)
- 思考链只显示 RUN 状态、内容为空(pi-ai deepseek 路由整块 block-end 输出未被渲染)
- channel identity 人设注入(不再仅在 denyTools 非空时注入)
📦 能力清单
| 🧠 原生思考过程 | cot / stream 双模式 |
| ✅ Live Reaction | OK → THINKING → DONE/ERROR |
| 📋 审批卡片 | 允许一次 / 拒绝按钮 |
| 🔑 扫码注册 | 首次启动二维码建应用 |
| ⚡ Slash 面板 | /stop /help + 同步 |
| 🖼️ 图片输入 | 可选 attachImages |
| 🏷️ Workspace 分组 | 会话归位 |
| 🗂️ 一会话一 Agent | chat / thread / sender |
✅ 质量
- 154/154 测试通过 · 契约 32/32 · tsc 零错误
- BSD-3-Clause