Repository navigation
Releases
Releases · Spenf710/codem-obsidian-chat
2.0.0
1.1.1 — Search, checkpoint rollback, queue panel & full UI overhaul
What's new since 0.3.1
Reliability
- Permission watchdog: auto-decline after 5 minutes; pending approvals recycled on stop / turn end
- ACP transport timeouts (300s default) and per-tab error status lights
UI overhaul
- Visual design reworked end-to-end: composer chips, tool cards, code blocks, two-column diff, approval banner, live run timer
- Permission levels renamed to match the CodeM client: Request approval / Approve for me / Full access, with icons
- Message actions on hover: copy, edit-resend, quote, regenerate, retry
- Message timestamps moved into the hover action row
Session management
- History panel: archive / sort (4 modes) / time grouping
- Tab state persists across Obsidian restarts, history replayed from disk
- Session source labels: Feishu / terminal / client / plugin
- One-click copy of the full session id for debugging
New features
- Prompt queue: queue messages while the agent is busy — full queue panel with reorder / edit / delete / Steer (stop current and send next)
- In-session search (Ctrl+Shift+F) with match highlighting and navigation
- Checkpoint rollback: revert file changes recorded in CodeM snapshots (terminal / Feishu sessions; ACP sessions don't record snapshots)
- Smart composer: intelligence level and Plan mode wired to CodeM CLI flags
Fixes
- Multi-tab race conditions: history loading, cross-tab retry/regenerate buttons, per-tab queue ownership
- Cross-view session double-open guard; permission routing no longer falls back blindly
- History messages render with their original timestamps; tool results inline with their cards
- History panel toolbar no longer closes the list on click
0.3.1
性能修复:长消息流式渲染冻结(根治)
- 流式降级:段落超过 4000 字符后不再每 30ms 全量 markdown 解析+DOM 重建,改为纯文本增量追加,收束时一次性完整渲染(此前 30KB+ 单条消息流式会导致 Obsidian 整体冻结/被强杀)
- 滚动节流:rAF 合并滚底调用,用户上翻时不再抢滚动
- 思考区增量追加:thought chunk 改 textNode.appendData,消除每 chunk 强制布局
权限与长内容
- 只读工具白名单自动批准(read_files/grep/glob/skill 等,设置页可关)
- 权限条新增「🤖 后续全自动」一键开关
- 自动批准聚合为单条计数条;超长段落收束后自动折叠;write_file 大 diff 截断至 200 行
Bug 修复
- 修复 ask_user 提示条件误用未声明变量(window.status)导致提示永不触发的问题