dsh-talk-map 0.1.32 → 0.1.34
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/client/client.js +13 -8
- 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.
|
|
451
|
+
"global.searchPlaceholder": "搜地图上的卡片(标题/正文)· v0.1.34",
|
|
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.
|
|
602
|
+
"global.searchPlaceholder": "Search cards on the map · v0.1.34",
|
|
603
603
|
"global.searchRun": "Search",
|
|
604
604
|
"global.searchTitle": "Search the map",
|
|
605
605
|
"font.group": "Text size",
|
|
@@ -14222,13 +14222,13 @@ function CanvasInner(props) {
|
|
|
14222
14222
|
};
|
|
14223
14223
|
const renderedBoxes = () => {
|
|
14224
14224
|
const out = {};
|
|
14225
|
-
for (const
|
|
14226
|
-
|
|
14227
|
-
const sessionId =
|
|
14225
|
+
for (const [id2, card] of Object.entries(canvasState.cards)) {
|
|
14226
|
+
const slot = cardLayout[id2];
|
|
14227
|
+
const sessionId = card.sessionId;
|
|
14228
14228
|
const element = sessionId === void 0 ? null : document.querySelector(`[data-talkmap-session="${sessionId}"]`);
|
|
14229
|
-
out[
|
|
14230
|
-
x:
|
|
14231
|
-
y:
|
|
14229
|
+
out[id2] = {
|
|
14230
|
+
x: slot?.x ?? card.x,
|
|
14231
|
+
y: slot?.y ?? card.y,
|
|
14232
14232
|
w: element?.offsetWidth ?? CARD_W,
|
|
14233
14233
|
h: element?.offsetHeight ?? CARD_H
|
|
14234
14234
|
};
|
|
@@ -14307,6 +14307,10 @@ function CanvasInner(props) {
|
|
|
14307
14307
|
fromCardId: edge.fromCardId,
|
|
14308
14308
|
toCardId: edge.toCardId,
|
|
14309
14309
|
sync,
|
|
14310
|
+
// (kept for context: the renderer no longer hides on this flag)
|
|
14311
|
+
// measured ones a frame later, and drawing the early route made the line
|
|
14312
|
+
// visibly jump across the board when the map opened.
|
|
14313
|
+
ready: boardTick > 0,
|
|
14310
14314
|
obstacles: obstaclesFor(edge.fromCardId, edge.toCardId),
|
|
14311
14315
|
...boxOf(edge.fromCardId) !== void 0 ? { fromRect: boxOf(edge.fromCardId) } : {},
|
|
14312
14316
|
...boxOf(edge.toCardId) !== void 0 ? { toRect: boxOf(edge.toCardId) } : {}
|
|
@@ -14362,6 +14366,7 @@ function CanvasInner(props) {
|
|
|
14362
14366
|
fromCardId: parentCardId,
|
|
14363
14367
|
toCardId: cardId,
|
|
14364
14368
|
sync: "idle",
|
|
14369
|
+
ready: boardTick > 0,
|
|
14365
14370
|
obstacles: obstaclesFor(parentCardId, cardId),
|
|
14366
14371
|
...boxOf(parentCardId) !== void 0 ? { fromRect: boxOf(parentCardId) } : {},
|
|
14367
14372
|
...boxOf(cardId) !== void 0 ? { toRect: boxOf(cardId) } : {}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-talk-map",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.34",
|
|
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",
|