@khorsheed/dsh-message-timeline 0.2.2 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # 变更记录
2
2
 
3
+ ## 0.2.4(2026-09-30)
4
+
5
+ 无功能变更。加宽 `@deepseek-ai/dsh-*` peer 区间以覆盖宿主 0.2.0(0.2.0 的兼容闸会禁用 peer 区间不覆盖宿主版本的已装插件)。
6
+
7
+ ## 0.2.3(2026-09-27)
8
+
9
+ 无功能变更。随宿主 0.1.7-rc.2 基线发布波重发:全量构建+测试在 rc.2 基线通过(rc.1→rc.2 无触及本包的宿主变更)。
10
+
3
11
  ## 0.2.2(2026-09-26)
4
12
 
5
13
  适配宿主 rc.1 线并实证 0.1.5/0.1.7 双线可用(0.1.5-rc.1 全量 boot 实证,2026-09-25)。
package/README.en.md CHANGED
@@ -6,7 +6,7 @@ Every message you sent in a long conversation — visible at a glance, one click
6
6
 
7
7
  Once a session gets long, finding that requirement you mentioned three messages ago means scrolling up forever. This plugin parks a timeline on the chat's left edge: one row per message you sent, with a one-line preview. At rest it's just a strip of dimmed ticks that stays out of the way; hover to expand it, and clicking a row scrolls the transcript straight to that message. It only reads the session and never sends anything — the model doesn't notice it at all.
8
8
 
9
- <img src="https://raw.githubusercontent.com/Khorsheed/dsh-web-basic/main/docs/screenshots/message-timeline1.png" width="640" alt="the expanded message timeline on the chat's left edge: one row per user message, click a row to jump to it">
9
+ <img src="https://raw.githubusercontent.com/Khorsheed/dsh-basic/main/docs/screenshots/message-timeline1.png" width="640" alt="the expanded message timeline on the chat's left edge: one row per user message, click a row to jump to it">
10
10
 
11
11
  ## Features
12
12
 
@@ -17,7 +17,7 @@ Once a session gets long, finding that requirement you mentioned three messages
17
17
  - **Long-history friendly** — a short list centers vertically; a long one scrolls and pages older history at its top, its bottom-most row flush with the chat input box; goal/todo dock cards never push the timeline up.
18
18
  - **Never covers the message flow** — the panel's width is capped by the scrollport's left gutter; a gutter too small for the minimum width hides it rather than overlapping the transcript.
19
19
 
20
- <img src="https://raw.githubusercontent.com/Khorsheed/dsh-web-basic/main/docs/screenshots/message-timeline2.png" width="640" alt="the timeline at rest: a strip of dimmed ticks that stays out of the way, expanding on hover">
20
+ <img src="https://raw.githubusercontent.com/Khorsheed/dsh-basic/main/docs/screenshots/message-timeline2.png" width="640" alt="the timeline at rest: a strip of dimmed ticks that stays out of the way, expanding on hover">
21
21
 
22
22
  ## Install
23
23
 
package/README.i18n.yaml CHANGED
@@ -2,5 +2,5 @@
2
2
  # last confirmed-consistent state. Both languages carry equal authority; after
3
3
  # editing either side, bring the other along and re-record with:
4
4
  # pnpm run verify-translation-pairing --write packages/message-timeline/README.en.md
5
- packages/message-timeline/README.en.md: 5c8d6f4b24c2852e1d64db8aeb0a4817e0832c64
6
- packages/message-timeline/README.md: 1718fba1afa90e0cdd1e23956cea3aa45fde0502
5
+ packages/message-timeline/README.en.md: 3481d08553b02d42a642b2673c3e093ea101c276
6
+ packages/message-timeline/README.md: 753532c9a08dd0a836c25522c91bea3d910f74ae
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  会话一长,想找回三条消息前提过的那个要求,就只能一路往上滚。这个插件在对话左缘放了一条时间轴:你说过的每句话占一行,带单行预览;平时它收成一排压淡的刻度,不占视线,鼠标一悬停才展开,点哪一行就把会话滚到哪一句。它只读会话、不发任何消息,模型完全无感。
8
8
 
9
- <img src="https://raw.githubusercontent.com/Khorsheed/dsh-web-basic/main/docs/screenshots/message-timeline1.png" width="640" alt="对话左缘展开的消息时间轴:每行一条用户消息,点行即跳转到对应消息">
9
+ <img src="https://raw.githubusercontent.com/Khorsheed/dsh-basic/main/docs/screenshots/message-timeline1.png" width="640" alt="对话左缘展开的消息时间轴:每行一条用户消息,点行即跳转到对应消息">
10
10
 
11
11
  ## 特性
12
12
 
@@ -17,7 +17,7 @@
17
17
  - **长历史友好**——列表短时垂直居中;长时隐形滚动并在顶部翻页加载更早历史,最底部贴着聊天输入框;目标/任务等 dock 卡片不会把时间轴顶上去。
18
18
  - **绝不遮住消息流**——面板宽度受滚动区左缘沟槽约束;沟槽放不下最小宽度时隐藏而不是盖住会话。
19
19
 
20
- <img src="https://raw.githubusercontent.com/Khorsheed/dsh-web-basic/main/docs/screenshots/message-timeline2.png" width="640" alt="时间轴的静止态:收成一排压淡的刻度条,不挡视线,悬停才展开">
20
+ <img src="https://raw.githubusercontent.com/Khorsheed/dsh-basic/main/docs/screenshots/message-timeline2.png" width="640" alt="时间轴的静止态:收成一排压淡的刻度条,不挡视线,悬停才展开">
21
21
 
22
22
  ## 安装
23
23
 
package/lib/client.js CHANGED
@@ -402,7 +402,7 @@ window.__ModuleLoader__.load({
402
402
  }
403
403
  //#endregion
404
404
  //#region \0dsh-css:src/client/TimelineRail.module.css.mjs
405
- const css = ".xnuhBq_panel{scrollbar-width:none;z-index:100;pointer-events:none;flex-direction:column;padding:4px 8px;display:flex;position:fixed;overflow-y:auto}.xnuhBq_panel:before,.xnuhBq_panel:after{content:\"\";margin:auto}.xnuhBq_panel::-webkit-scrollbar{display:none}.xnuhBq_item{width:100%;max-width:20px;color:var(--dsw-alias-label-tertiary);text-align:left;cursor:pointer;-webkit-user-select:none;user-select:none;pointer-events:auto;opacity:.55;background:0 0;border:none;flex:none;align-items:center;gap:8px;padding:5px 0;font-size:13px;line-height:1.5;transition:opacity .12s;display:flex}.xnuhBq_panel:hover .xnuhBq_item,.xnuhBq_panel:focus-within .xnuhBq_item{opacity:1;max-width:100%}.xnuhBq_tick{background:var(--dsw-static-deepseek-400);border-radius:2px;flex:none;width:3px;height:14px}.xnuhBq_itemCurrent{color:var(--dsw-static-deepseek-500);opacity:.75}.xnuhBq_tickCurrent{background:var(--dsw-static-deepseek-500)}.xnuhBq_itemText{white-space:nowrap;text-overflow:ellipsis;opacity:0;transition:opacity .12s;overflow:hidden}.xnuhBq_panel:hover .xnuhBq_itemText,.xnuhBq_panel:focus-within .xnuhBq_itemText{opacity:1;transition-delay:90ms}.xnuhBq_itemFocused{color:var(--dsw-alias-label-primary);font-weight:600}.xnuhBq_item:focus:not(:focus-visible){outline:none}.xnuhBq_item:focus-visible{outline:1px solid var(--dsw-alias-state-business-primary);outline-offset:1px}";
405
+ const css = "._8u17xW_panel{scrollbar-width:none;z-index:100;pointer-events:none;flex-direction:column;padding:4px 8px;display:flex;position:fixed;overflow-y:auto}._8u17xW_panel:before,._8u17xW_panel:after{content:\"\";margin:auto}._8u17xW_panel::-webkit-scrollbar{display:none}._8u17xW_item{width:100%;max-width:20px;color:var(--dsw-alias-label-tertiary);text-align:left;cursor:pointer;-webkit-user-select:none;user-select:none;pointer-events:auto;opacity:.55;background:0 0;border:none;flex:none;align-items:center;gap:8px;padding:5px 0;font-size:13px;line-height:1.5;transition:opacity .12s;display:flex}._8u17xW_panel:hover ._8u17xW_item,._8u17xW_panel:focus-within ._8u17xW_item{opacity:1;max-width:100%}._8u17xW_tick{background:var(--dsw-static-deepseek-400);border-radius:2px;flex:none;width:3px;height:14px}._8u17xW_itemCurrent{color:var(--dsw-static-deepseek-500);opacity:.75}._8u17xW_tickCurrent{background:var(--dsw-static-deepseek-500)}._8u17xW_itemText{white-space:nowrap;text-overflow:ellipsis;opacity:0;transition:opacity .12s;overflow:hidden}._8u17xW_panel:hover ._8u17xW_itemText,._8u17xW_panel:focus-within ._8u17xW_itemText{opacity:1;transition-delay:90ms}._8u17xW_itemFocused{color:var(--dsw-alias-label-primary);font-weight:600}._8u17xW_item:focus:not(:focus-visible){outline:none}._8u17xW_item:focus-visible{outline:1px solid var(--dsw-alias-state-business-primary);outline-offset:1px}";
406
406
  const tagId = "@khorsheed/dsh-message-timeline/TimelineRail.module.css";
407
407
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
408
408
  const tag = document.createElement("style");
@@ -412,13 +412,13 @@ window.__ModuleLoader__.load({
412
412
  document.head.appendChild(tag);
413
413
  }
414
414
  var TimelineRail_module_css_default = {
415
- "itemFocused": "xnuhBq_itemFocused",
416
- "itemCurrent": "xnuhBq_itemCurrent",
417
- "item": "xnuhBq_item",
418
- "tickCurrent": "xnuhBq_tickCurrent",
419
- "panel": "xnuhBq_panel",
420
- "itemText": "xnuhBq_itemText",
421
- "tick": "xnuhBq_tick"
415
+ "itemCurrent": "_8u17xW_itemCurrent",
416
+ "panel": "_8u17xW_panel",
417
+ "tick": "_8u17xW_tick",
418
+ "item": "_8u17xW_item",
419
+ "tickCurrent": "_8u17xW_tickCurrent",
420
+ "itemFocused": "_8u17xW_itemFocused",
421
+ "itemText": "_8u17xW_itemText"
422
422
  };
423
423
  //#endregion
424
424
  //#region src/client/TimelineRail.tsx
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@khorsheed/dsh-message-timeline",
3
3
  "description": "Message timeline: a flat floating list over the conversation scrollport that jumps to any user message, with a tick-only rest state",
4
- "version": "0.2.2",
4
+ "version": "0.2.4",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/types/index.d.ts",
@@ -42,11 +42,11 @@
42
42
  "license": "MIT",
43
43
  "peerDependencies": {
44
44
  "@deepseek-ai/cordis": "^4.0.1",
45
- "@deepseek-ai/dsh-client-locale": "^0.1.0-rc.6",
46
- "@deepseek-ai/dsh-client-ui-conversation": "^0.1.0-rc.6",
47
- "@deepseek-ai/dsh-client-ui-slots": "^0.1.0-rc.6",
48
- "@deepseek-ai/dsh-invariants": "^0.1.0-rc.6",
49
- "@deepseek-ai/dsh-llm": "^0.1.0-rc.6",
45
+ "@deepseek-ai/dsh-client-locale": "^0.1.0-rc.6 || ^0.2.0-rc.1",
46
+ "@deepseek-ai/dsh-client-ui-conversation": "^0.1.0-rc.6 || ^0.2.0-rc.1",
47
+ "@deepseek-ai/dsh-client-ui-slots": "^0.1.0-rc.6 || ^0.2.0-rc.1",
48
+ "@deepseek-ai/dsh-invariants": "^0.1.0-rc.6 || ^0.2.0-rc.1",
49
+ "@deepseek-ai/dsh-llm": "^0.1.0-rc.6 || ^0.2.0-rc.1",
50
50
  "react": "^18.2.0"
51
51
  },
52
52
  "files": [