dsh-conversation-navigator 0.1.0 → 0.1.2

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/README.md CHANGED
@@ -23,7 +23,7 @@ Codex 风格的 **DeepSeek Harness(DSH)Web 端会话导航面板**:在对话页
23
23
  dsh plugin --profile web add dsh-conversation-navigator
24
24
 
25
25
  # 方式二:GitHub(纯 JS 包无需 prepare/allowBuilds,直接可用)
26
- dsh plugin --profile web add github:you/dsh-conversation-navigator
26
+ dsh plugin --profile web add github:gjj-star/dsh-conversation-navigato
27
27
 
28
28
  # 方式三:本地 tarball
29
29
  pnpm pack
package/lib/client.js CHANGED
@@ -412,11 +412,9 @@ window.__ModuleLoader__.load({
412
412
  const vw = document.documentElement.clientWidth || 1000;
413
413
  const vh = document.documentElement.clientHeight || 800;
414
414
  const sp = document.querySelector("[data-conversation-scroll]");
415
- const rect = sp !== null ? sp.getBoundingClientRect() : { left: 300, top: 60, height: vh - 90 };
415
+ const rect = sp !== null ? sp.getBoundingClientRect() : { top: 60, height: vh - 90 };
416
416
  const width = 288;
417
- let left = rect.left - width - 12;
418
- if (left < 12) left = rect.left + 12;
419
- if (left + width > vw - 8) left = Math.max(8, vw - width - 8);
417
+ const left = Math.max(8, vw - width - 12);
420
418
  panel.style.left = Math.round(left) + "px";
421
419
  panel.style.top = Math.max(8, Math.round(rect.top + 8)) + "px";
422
420
  panel.style.maxHeight = Math.round(Math.min(rect.height - 24, vh - 40)) + "px";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-conversation-navigator",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Codex 风格的 DSH(DeepSeek Harness)会话导航插件:按轮折叠的对话大纲面板,支持节点点击跳转、滚动位置高亮与轨迹视图同款配色。",
5
5
  "keywords": [
6
6
  "dsh",