Skip to content

Releases: wuruihi/obsidian-deepseek-harness-native

v0.1.15

Choose a tag to compare

@wuruihi wuruihi released this 26 Aug 13:25

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

Choose a tag to compare

@wuruihi wuruihi released this 26 Aug 12:11

Fix message ordering race condition: always finalize previous assistant bubble before adding user message (handles turn/end in-flight + steer mode), clean up empty bubbles from stale turn/end events.

v0.1.13

Choose a tag to compare

@wuruihi wuruihi released this 26 Aug 03:12

Fix message ordering misalignment: insert user bubble before active assistant bubble, finalize stale previous turn, narrow dedup scope to active assistant only, fix curMode always-steer bug.

v0.1.12

Choose a tag to compare

@wuruihi wuruihi released this 25 Aug 13:05

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

Choose a tag to compare

@wuruihi wuruihi released this 23 Aug 13:02

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

Choose a tag to compare

@wuruihi wuruihi released this 20 Aug 13:30

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 样式(虚线边框 + 斜体)

0.1.6

Choose a tag to compare

@wuruihi wuruihi released this 20 Aug 13:09

v0.1.6

Bug fix: 强化系统上下文(stripSystemContext)隐藏逻辑,移植自 dsh-vscode 的段落级实现。

  • 新增剔除 ... 包裹的注入内容(含流式未闭合截断)
  • findSystemContextEnd 增加 与 泛化结尾匹配
  • 新增段落级注入剔除(Current runtime context / DSH file policy / Approval policy 等开头的段落)
    未匹配到清晰边界时保留原文,绝不误删。

0.1.5

Choose a tag to compare

@wuruihi wuruihi released this 20 Aug 02:41

v0.1.5

Bug fix: 下拉框当前选项已经显示「提供方 / 模型」,删除 v0.1.4 增加的常驻 chip,避免与下拉框当前选中值重复显示。

v0.1.4

Choose a tag to compare

@wuruihi wuruihi released this 20 Aug 02:21

新增:在模型选择器上显示当前「提供方 / 模型」

  • 下拉选项文本改为「提供方 / 模型」(收起下拉也能看到用的是哪家提供方)
  • 控件栏新增常驻指示:始终显示当前会话的 提供方/模型(下拉禁用时也能看到)
  • 切换模型/提供方时指示同步更新

适用场景:同一个 DSH 配置了多个提供方、不同项目用不同提供方时,可一眼确认当前用的是哪家。

v0.1.3

Choose a tag to compare

@wuruihi wuruihi released this 20 Aug 01:53

修复:

  • 会话内不再显示 DSH 注入的系统上下文(<available_skills> / Current runtime context / )
  • 裸 dsh-ui JSON 自动渲染为富卡片(不再显示原始 JSON)
  • 用户消息气泡可见性修复(await 渲染后滚动、加可见边距)
  • 助手气泡下方显示工具调用 / 子代理活动卡片(进行中蓝边+⏳,完成✅)