dsh-talk-map 0.1.15 → 0.1.17

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/client/client.js +7 -8
  2. package/package.json +1 -1
package/client/client.js CHANGED
@@ -448,7 +448,7 @@ var zh = {
448
448
  "digest.empty": "这条对话还没有摘要,先刷新摘要再来看。",
449
449
  "digest.copy": "复制",
450
450
  "digest.close": "关闭",
451
- "global.searchPlaceholder": "搜地图上的卡片(标题/正文)· v0.1.15",
451
+ "global.searchPlaceholder": "搜地图上的卡片(标题/正文)· v0.1.17",
452
452
  "global.searchRun": "搜索",
453
453
  "global.searchTitle": "搜索地图",
454
454
  "font.group": "文字大小",
@@ -599,7 +599,7 @@ var en = {
599
599
  "menu.noGroup": "Remove from group (free card)",
600
600
  "menu.open": "Open conversation",
601
601
  "menu.markUnread": "Mark as unread",
602
- "global.searchPlaceholder": "Search cards on the map · v0.1.15",
602
+ "global.searchPlaceholder": "Search cards on the map · v0.1.17",
603
603
  "global.searchRun": "Search",
604
604
  "global.searchTitle": "Search the map",
605
605
  "font.group": "Text size",
@@ -14109,7 +14109,7 @@ function CanvasInner(props) {
14109
14109
  }
14110
14110
  });
14111
14111
  }
14112
- if (!lineageHidden) {
14112
+ if (DRAW_LINEAGE_LINKS && !lineageHidden) {
14113
14113
  for (const [cardId, card] of Object.entries(visibleCards)) {
14114
14114
  if (foldedSet.has(cardId)) continue;
14115
14115
  const parentSessionId = sessions.byId[card.sessionId]?.parentId;
@@ -14139,14 +14139,12 @@ function CanvasInner(props) {
14139
14139
  type: TALK_MAP_EDGE_TYPE,
14140
14140
  // Selectable on purpose: right-clicking it must answer "what is this",
14141
14141
  // and offer to hide it. It used to be un-clickable mystery wiring.
14142
- // Same two looks as any other line.
14143
- // structural: a fork link is part of the map, not a transfer, so it
14144
- // stays visible even when the pair is in sync.
14142
+ // 血缘线就按“一条还没同步的普通连线”渲染:同样的虚线、同样的箭头、
14143
+ // 同样的避障规则,没有单独样式,也不参与同步状态。
14145
14144
  data: {
14146
14145
  fromCardId: parentCardId,
14147
14146
  toCardId: cardId,
14148
- sync: lineageSync,
14149
- structural: true,
14147
+ sync: "idle",
14150
14148
  obstacles: obstaclesFor(parentCardId, cardId),
14151
14149
  ...boxOf(parentCardId) !== void 0 ? { fromRect: boxOf(parentCardId) } : {},
14152
14150
  ...boxOf(cardId) !== void 0 ? { toRect: boxOf(cardId) } : {}
@@ -15220,6 +15218,7 @@ function BatchBar(props) {
15220
15218
  )
15221
15219
  ] });
15222
15220
  }
15221
+ var DRAW_LINEAGE_LINKS = true;
15223
15222
  function MapCanvas(props) {
15224
15223
  const canvasState = (0, import_react12.useSyncExternalStore)(canvas.subscribe, canvas.get);
15225
15224
  (0, import_react12.useEffect)(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-talk-map",
3
- "version": "0.1.15",
3
+ "version": "0.1.17",
4
4
  "description": "Visual conversation map for DeepSeek Harness: an infinite whiteboard where every session is a card — drag to arrange, double-click to start a chat in place, draw an edge to fork a new session with injected context. Built for ADHD-friendly spatial memory. · DSH 可视化对话地图:会话即卡片,双击即聊,连线分叉带上下文的新对话。",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",