dsh-talk-map 0.1.25 → 0.1.27
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 +4 -4
- 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.27",
|
|
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.27",
|
|
603
603
|
"global.searchRun": "Search",
|
|
604
604
|
"global.searchTitle": "Search the map",
|
|
605
605
|
"font.group": "Text size",
|
|
@@ -12190,7 +12190,7 @@ function round(value) {
|
|
|
12190
12190
|
}
|
|
12191
12191
|
function clipToRects(points, rects) {
|
|
12192
12192
|
if (points.length < 2) return [points];
|
|
12193
|
-
const insideAny = (point) => rects.some((rect) => point.x > rect.x +
|
|
12193
|
+
const insideAny = (point) => rects.some((rect) => point.x > rect.x + 0.5 && point.x < rect.x + rect.w - 0.5 && point.y > rect.y + 0.5 && point.y < rect.y + rect.h - 0.5);
|
|
12194
12194
|
const subpaths = [];
|
|
12195
12195
|
let current = [];
|
|
12196
12196
|
const flush = () => {
|
|
@@ -14174,7 +14174,7 @@ function CanvasInner(props) {
|
|
|
14174
14174
|
const timer4 = window.setTimeout(() => setBoardTick((value) => value + 1), 150);
|
|
14175
14175
|
return () => window.clearTimeout(timer4);
|
|
14176
14176
|
}, []);
|
|
14177
|
-
const obstaclesFor = (fromCardId, toCardId) => Object.entries(renderedBoxes()).filter(([id2]) => id2 !== fromCardId && id2 !== toCardId).
|
|
14177
|
+
const obstaclesFor = (fromCardId, toCardId) => Object.entries(renderedBoxes()).filter(([id2]) => id2 !== fromCardId && id2 !== toCardId).map(([, box]) => box);
|
|
14178
14178
|
const boxOf = (cardId) => renderedBoxes()[cardId];
|
|
14179
14179
|
const routingObstacles = () => Object.entries(canvasState.cards).map(([id2, card]) => ({
|
|
14180
14180
|
id: id2,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-talk-map",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.27",
|
|
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",
|