Releases: wuruihi/obsidian-deepseek-harness-native
Release list
v0.1.15
Fix message ordering root cause: WS event replay was creating duplicate assistant bubbles after history load. Added catchup mode - after history REST load completes with last turn ended, skip WS-replayed turn/start, assistant/chunk, turn/end, assistant/message events until a new user/message arrives or user sends via send(). Also: always finalize previous assistant bubble before adding user message, clean up empty bubbles from stale turn/end.
v0.1.14
v0.1.13
v0.1.12
Fix: dsh-ui component render failure (JSON parse error)
Root cause
scanJsonValue tracked both {/[ and }/] in a single depth counter, while VSCode scanValue only tracks the matching bracket pair. For malformed JSON (rows array missing closing ], table closed early by }), the mixed counter found the balanced end at a stray ] at EOF, slicing the entire string including orphan callout + trailing ]}. balanceClose then hit empty-stack ] and returned null, causing repairSpec to fail entirely.
Fix
scanJsonValue now tracks only the matching bracket pair ({->} or [->]), ignoring the other type. This correctly stops at the root object }, letting balanceClose repair the malformed rows array, and repairSpec merges the orphan callout back into items.
Additional hardening
- lenientJsonParse: handle unescaped quotes in string values
- wrapBareMembers: ported from VSCode, fixes bare key/value pairs inside arrays
- splitDshUiSegments: rewritten to line-by-line fence scanning
- wrapDshUiJson: use lenientJsonParse for candidate validation
- opener regex allows whitespace between backticks and dsh-ui
- closing fence detection is more lenient
0.1.9
v0.1.9(同时包含 v0.1.8 的内容——该版本未单独发 Release)
v0.1.9 — 按 dsh-vscode CHANGELOG 同步(v0.4.7 → v0.5.2)
- 结构化围栏切分器(对齐 VSCode v0.5.0):开栏符粘句尾、漏闭合栏吞正文、普通代码块内字面 ```dsh-ui 三种崩法统一修复
- JSON 容错链升级(v0.4.11/12):括号平衡修复、截断自动闭合、正文尾巴容忍、root 三形态自动包壳
- 长文本不再撑破 dsh-ui 卡片;代码块/表格保留横向滚动
- 输入框可拉高(上限视口 45%,替代写死 180px)
- 按工作区记忆默认模型:新会话只继承本项目最近用的模型,并行项目不再互相污染
- 新增回归测试 scripts/fence-regress.mjs(15 用例全过)
v0.1.8 — 面板 chrome 1:1 对齐 VSCode
- 顶部标题下拉 + 会话列表(✎ 改名 / ⑂ 分叉 / 🗄 归档)、单按钮「排队/引导」切换、模型/思考强度/权限无前缀下拉
- 权限切换改为会话级 /permission 命令立即生效;会话名后台自动探测 + 持久缓存
- 修复点击标题误弹改名框(改名只走 ✎)
0.1.7
v0.1.7
- 活动卡 fallback id 去掉 Math.random,同 type+name 合并(修"调用工具"刷屏)
- 丢弃 block-start/block-end 噪音事件(对齐 vscode fold.ts)
- 活动卡超过 5 张后自动折叠为"📦 更多活动 — 已折叠 N 个"摘要
- handleSessionEvent 增加 user/message 处理,DSH 回推的运行时快照/策略变更走 stripSystemContext(修"显示注入上下文")
- addUserBubbleFromEvent 用 \n\n join content 数组(保持注入段落与用户文本分隔)
- _userTextsSent Set 去重,避免 send() 本地渲染与 DSH 回推重复
- thinking 折叠块也走 stripSystemContext
- 新增 .dsh-activity-overflow 样式(虚线边框 + 斜体)