dsh-conversation-navigator 0.2.4 → 0.2.5

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.
Files changed (2) hide show
  1. package/lib/client.js +10 -2
  2. package/package.json +1 -1
package/lib/client.js CHANGED
@@ -889,7 +889,11 @@ window.__ModuleLoader__.load({
889
889
  misses += 1;
890
890
  if (misses >= 15) {
891
891
  if (mini) {
892
- /* 极简: 水平锚定, 右对齐由 CSS right 负责, 左对齐钉在视口左侧 */
892
+ /* 极简: 与普通面板共用同一 DOM 根, 必须先清除非极简 resize 残留的宽高,
893
+ 极简的宽度完全由 CSS 决定(收起 18px / 悬停 288px) */
894
+ panel.style.width = "";
895
+ panel.style.height = "";
896
+ /* 水平锚定, 右对齐由 CSS right 负责, 左对齐钉在视口左侧 */
893
897
  if (alignLeft) {
894
898
  panel.style.left = "12px";
895
899
  panel.style.right = "auto";
@@ -920,7 +924,11 @@ window.__ModuleLoader__.load({
920
924
  if (key !== lastKey) {
921
925
  lastKey = key;
922
926
  if (mini) {
923
- /* 极简: 右对齐由 CSS(right)锚定视口右缘, 左对齐钉在对话区左缘 */
927
+ /* 极简: 与普通面板共用同一 DOM 根, 必须先清除非极简 resize 残留的宽高,
928
+ 极简的宽度完全由 CSS 决定(收起 18px / 悬停 288px) */
929
+ panel.style.width = "";
930
+ panel.style.height = "";
931
+ /* 右对齐由 CSS(right)锚定视口右缘, 左对齐钉在对话区左缘 */
924
932
  if (alignLeft) {
925
933
  panel.style.left = Math.max(8, Math.round(r.left + 12)) + "px";
926
934
  panel.style.right = "auto";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-conversation-navigator",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "DSH(DeepSeek Harness)会话导航插件:按轮折叠的对话大纲面板,支持节点点击跳转、滚动位置高亮与轨迹视图同款配色。",
5
5
  "keywords": [
6
6
  "dsh",