Skip to content

Releases: Zn-Dk/dsh-session-explorer

v0.4.2

Choose a tag to compare

@Zn-Dk Zn-Dk released this 27 Aug 18:12

0.4.2 (2026-08-27)

新增

  • 会话总览(原「时间线」)搜索升级为消息正文全文检索:跨会话搜消息正文,会话卡片显示命中数 badge。
  • 会话详情消息列表增加滚动时间锚点:跟随滚动实时显示当前可视区顶部消息的时间(精确到分钟)。

变更

  • 视图 tab 由「时间线」更名为「会话总览」(内部实现与数据模型不变)。

已知问题

  • ⚠️ 会话总览的搜索结果点击命中 badge 后,不会自动滚动定位到该消息并高亮;当前仅选中对应会话,需要手动在详情中查找。

中文摘要:会话总览搜索升级为全文检索 + 滚动时间锚点 + tab 更名;已知问题:命中 badge 点击后不自动滚动定位高亮。

v0.4.1

Choose a tag to compare

@Zn-Dk Zn-Dk released this 27 Aug 12:23

0.4.1 (2026-08-27)

Added

  • Session switcher (‹ prev / next ›) in timeline detail header, following the current filtered/sorted list with position indicator.
  • Card stagger entrance animation on first load (subtle 0.22s fade+rise, 14ms increments, respects prefers-reduced-motion).
  • Skeleton loading placeholder for message summaries.

Changed

  • Message summary expand/collapse is now instant (removed height animation) to avoid collapsed blank space and jank.
  • Sticky detail panel polish.

Fixed

  • "Subagent" badge no longer stretched by flex layout in the detail header.
  • Timeline blank-screen crash on init (TDZ ReferenceError from variable declaration order).

中文摘要:时间线详情新增上一条/下一条切换器;卡片 stagger 进场;消息展开改即时切换;骨架屏;修复子代理 badge 拉伸与时间线白屏崩溃。

dsh-session-explorer v0.4.0

Choose a tag to compare

@Zn-Dk Zn-Dk released this 27 Aug 10:20

dsh-session-explorer v0.4.0 — Timeline Redesign (CSS Grid)

Highlights

  • Searchable session grid replaces the old @xyflow canvas. Filter by text, main/subagent kind, workspace (multi-select), with ascending/descending sort on updated/created/message-count.
  • In-place message summary detail — click a session card to open a sticky right panel with first/latest summaries, parent lineage, and an expandable message list. No anchor API dependency, no jump to the original session.
  • Main agent / subagent distinction — blue/purple badges, subagent lineage preserved.
  • Dark mode — fixed the low-contrast issue (text and node background no longer share a color). All surfaces use explicit high-contrast tokens.
  • Stamped v4 schema reconciliation — repaired a previously-stamped database that was missing parent_session_id so timeline queries no longer fail with no such column: parent_session_id.
  • xyflow removed — dependency and inline-CSS injection dropped; bundle is 80 KB self-contained.

Breaking

  • Timeline tab now shows a grid of session cards with a detail panel, not the old canvas. If you bookmarked a view or relied on a specific node layout, your view is gone — functionality is preserved.

Schema

  • user_version 3 → 4 on the index database. New columns: parent_session_id, subagent_kind. Migration is column-based (not version-only), so previously-stamped v4 databases also get missing columns back-filled on next open.

Install

dsh plugin --profile web add dsh-session-explorer

Or upgrade:

dsh plugin --profile web update dsh-session-explorer

npm

Files

See assets/ for screenshots; the marketplace uses screenshots.json to render the dsh-market card previews.

Verification

  • 43/43 unit tests pass
  • Host + Client TypeScript clean
  • Bundle builds self-contained (no canvas dependency)

dsh-session-explorer v0.3.0

Choose a tag to compare

@Zn-Dk Zn-Dk released this 26 Aug 04:43

0.3.0 - 2026-08-24

新增

  • 国际化(i18n):中英双语(zh/en)全覆盖——面板 header、索引状态、重建索引对话框、搜索结果、只读预览。语言跟随 DSH Host locale 服务(设置页 General 切换即时生效),不可用时回退浏览器语言。
  • 侧栏入口标签跟随语言(会话浏览器 / Session Explorer)。

变更

  • 「返回会话」按钮从右上角移至左上角。

npm: https://www.npmjs.com/package/dsh-session-explorer

dsh-session-explorer v0.2.1

Choose a tag to compare

@Zn-Dk Zn-Dk released this 25 Aug 12:34

[0.2.1] - 2026-08-24

修复

  • user/message 消息字段位置修正:内容改从 data 顶层读取(data.source / data.content),不再从 data.message 读取;分类语义对齐引擎:source.kind === 'user' → 用户消息,其余来源(plugin / skill-catalog / skill-invocation 等)统一归为系统注入(steering)。
  • 搜索结果自动去重:按 (seq, kind, text_main) GROUP BY 去重,修复 fork/续接会话共享父历史导致同一条消息在多个会话重复出现。
  • 只读预览:焦点消息渲染后自动滚动定位(scrollIntoView 居中),修复预览打开时焦点消息不在可视区内。
  • 面板互斥:本面板打开时主动关闭兄弟面板(ssh / taskboard / mnemon 等,对齐兼容事件 + suppress 旗标防回关);面板右上角 × 关闭按钮改为「返回会话」按钮。