dsh-workflow-canvas 1.4.0 → 1.4.1

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
@@ -1,6 +1,7 @@
1
1
  # DSH Workflow Canvas
2
2
 
3
3
  [![npm version](https://img.shields.io/npm/v/dsh-workflow-canvas)](https://www.npmjs.com/package/dsh-workflow-canvas)
4
+ [![CI](https://github.com/Wasabi2575/dsh-workflow-canvas/actions/workflows/test.yml/badge.svg)](https://github.com/Wasabi2575/dsh-workflow-canvas/actions/workflows/test.yml)
4
5
  [![DSH](https://img.shields.io/badge/DSH-%3E%3D0.2.2-2f81f7)](https://github.com/Wasabi2575/dsh-workflow-canvas)
5
6
  [![License: MIT](https://img.shields.io/badge/License-MIT-3fb950.svg)](LICENSE)
6
7
 
@@ -125,10 +126,10 @@ Active nodes glow blue with animated flow wires and turn green when done. **Clic
125
126
  | Middle-drag / `Space` + left-drag | Pan the canvas |
126
127
  | Wheel / bottom-right `⊡` & `100%` pill | Zoom around cursor / fit all nodes / click to reset 100%, drag left-right to scrub zoom |
127
128
  | `⇄ Horiz` / `⇅ Vert` | Switch canvas direction and auto-layout (vertical mode uses top-in / bottom-out vertical curves for narrow sidebars; Condition nodes support `Out R / Out L` side toggle) |
128
- | Marquee drag + `Shift+D` / `Delete` | Multi-select move, duplicate (with settings & internal links), or batch delete |
129
- | Right-click node / edge / canvas | Context menu (edit role, manage refs, insert node on wire, add nodes, layout, undo) |
129
+ | Marquee / `Shift`/`Ctrl` click + `Shift+D` / `Delete` | Multi-select move, duplicate (with settings & internal links), or batch delete |
130
+ | Right-click node / edge / canvas | Context menu (edit role, manage refs, insert node on wire, add nodes, layout, undo/redo) |
130
131
  | Right-drag across wires | Cut links (activates at ≥ 6px drag without conflicting with context menu; toggle under `⋯`) |
131
- | `Ctrl+Z` / `Esc` | Undo structural edit / close popups |
132
+ | `Ctrl+Z` / `Ctrl+Shift+Z` (`Ctrl+Y`) / `Esc` | Undo / redo structural edit / close popups |
132
133
  | `⋯` menu | Undo, Fit, Import / Copy JSON, Auto layout, Clear canvas, Visual effects, Max parallel, Language, Shortcuts |
133
134
 
134
135
  ## Presets, sharing & limits
package/README.zh.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # DSH Workflow Canvas(可视化工作流画布)
2
2
 
3
3
  [![npm version](https://img.shields.io/npm/v/dsh-workflow-canvas)](https://www.npmjs.com/package/dsh-workflow-canvas)
4
+ [![CI](https://github.com/Wasabi2575/dsh-workflow-canvas/actions/workflows/test.yml/badge.svg)](https://github.com/Wasabi2575/dsh-workflow-canvas/actions/workflows/test.yml)
4
5
  [![DSH](https://img.shields.io/badge/DSH-%3E%3D0.2.2-2f81f7)](https://github.com/Wasabi2575/dsh-workflow-canvas)
5
6
  [![License: MIT](https://img.shields.io/badge/License-MIT-3fb950.svg)](LICENSE)
6
7
 
@@ -126,10 +127,10 @@
126
127
  | 鼠标中键拖拽 / `Space` + 左键拖拽 | 平移画布 |
127
128
  | 滚轮 / 右下角 `⊡` & `100%` 浮条 | 光标处缩放 / 一键居中看全图 / 点击回 100%,左右拖可连续缩放 |
128
129
  | `⇄ 横排` / `⇅ 竖排` | 一键切换画布流向并自动重排(竖排为顶入底出 + 垂直曲线,更适合窄侧边栏;条件节点支持 `右出 / 左出` 切换) |
129
- | 左键框选 + `Shift+D` / `Delete` | 批量移动、批量复制(连同参数配置与内部连线)或批量删除 |
130
- | 右键单击节点 / 连线 / 空白处 | 打开右键上下文菜单(编辑分工、管理参考、在连线中间插入节点、新建/排版/撤销等) |
130
+ | 左键框选 / `Shift`/`Ctrl` 点选 + `Shift+D` / `Delete` | 批量移动、批量复制(连同参数配置与内部连线)或批量删除 |
131
+ | 右键单击节点 / 连线 / 空白处 | 打开右键上下文菜单(编辑分工、管理参考、在连线中间插入节点、新建/排版/撤销重做等) |
131
132
  | 右键按住划过连线 | 切断连线(移动 ≥ 6px 触发,与右键菜单不冲突;可在 `⋯` 菜单开关) |
132
- | `Ctrl+Z` / `Esc` | 撤销上一步改动 / 关闭菜单弹窗 |
133
+ | `Ctrl+Z` / `Ctrl+Shift+Z`(`Ctrl+Y`) / `Esc` | 撤销 / 重做上一步改动 / 关闭菜单弹窗 |
133
134
  | `⋯` 更多菜单 | 撤销、全览、导入 / 复制 JSON、自动排版、清空画布、动效档位、最大并发、语言切换、快捷键设置 |
134
135
 
135
136
  ## 预设、分享与限制
package/client.js CHANGED
@@ -37,11 +37,12 @@ window.__ModuleLoader__.load({
37
37
  duplicate: 'Shift+D',
38
38
  delete: 'Delete',
39
39
  undo: 'Ctrl+Z',
40
+ redo: 'Ctrl+Shift+Z',
40
41
  fitView: '',
41
42
  autoLayout: '',
42
43
  toggleDir: '',
43
44
  };
44
- const SHORTCUT_ORDER = ['addNode', 'duplicate', 'delete', 'undo', 'fitView', 'autoLayout', 'toggleDir'];
45
+ const SHORTCUT_ORDER = ['addNode', 'duplicate', 'delete', 'undo', 'redo', 'fitView', 'autoLayout', 'toggleDir'];
45
46
 
46
47
  const NODE_W = 216;
47
48
  const NODE_H = 234;
@@ -114,7 +115,7 @@ window.__ModuleLoader__.load({
114
115
  const LANG_KEY = STORAGE_PREFIX + 'lang';
115
116
  const I18N = {
116
117
  zh: {
117
- addAgent: '+ 子代理', addLead: '+ Lead', addCond: '+ 条件', undo: '↶ 撤销', sync: '↥ 同步',
118
+ addAgent: '+ 子代理', addLead: '+ Lead', addCond: '+ 条件', undo: '↶ 撤销', redo: '↷ 重做', sync: '↥ 同步',
118
119
  enabled: '● 已启用', disabled: '○ 已禁用', presetName: '预设名', save: '☆ 保存',
119
120
  presets: '☰ 预设', unsaved: '有未同步改动', synced: '已同步',
120
121
  pickModel: '选择模型', loadingModels: '加载中…', defaultEffort: '默认',
@@ -165,7 +166,7 @@ window.__ModuleLoader__.load({
165
166
  loadedPreset: '已载入预设', invalidPreset: '预设内容无效', deletedPreset: '已删除预设',
166
167
  syncFailed: '同步失败', upToDate: '已是最新', syncedToHost: '已同步到 Host',
167
168
  syncedWithStdWarn: '已同步(含可写/命令节点,请确认主对话权限已放开)',
168
- cannotOpen: '无法打开会话', undoDone: '已撤销', undoNone: '没有可撤销的操作',
169
+ cannotOpen: '无法打开会话', undoDone: '已撤销', undoNone: '没有可撤销的操作', redoDone: '已重做', redoNone: '没有可重做的操作',
169
170
  leadLocked: '入口 Lead 不能删除', modelsMissing: '模型列表未加载',
170
171
  tipLead: 'Lead 步骤在对话里执行,画布不追踪其状态',
171
172
  tipOrphan: '未连线:运行时会被跳过', tipStatus: '子代理节点的运行状态',
@@ -267,6 +268,7 @@ window.__ModuleLoader__.load({
267
268
  scDuplicate: '复制选中节点与连线',
268
269
  scDelete: '删除选中节点',
269
270
  scUndo: '撤销',
271
+ scRedo: '重做',
270
272
  scFitView: '全览居中',
271
273
  scAutoLayout: '自动排版',
272
274
  scToggleDir: '切换横排 / 竖排',
@@ -285,7 +287,7 @@ window.__ModuleLoader__.load({
285
287
  importNone: '剪贴板里没有可识别的画布数据',
286
288
  importBad: '画布数据格式不对',
287
289
  tipSync: '把当前画布同步给 Host(会在对话里留一条同步记录)',
288
- tipUndo: '撤销上一步结构改动', tipSave: '把当前画布保存为预设(可在新会话载入)',
290
+ tipUndo: '撤销上一步结构改动', tipRedo: '重做上一步撤销的改动(Ctrl+Shift+Z / Ctrl+Y)', tipSave: '把当前画布保存为预设(可在新会话载入)',
289
291
  tipPresets: '保存当前画布、跨会话复用,或载入内置模板', tipModel: '推理等级(默认 = 该模型声明的 defaultEffort)',
290
292
  tipMemory: '记忆:复用这个节点上一次的会话(跨运行及重启后可恢复)',
291
293
  memLatest: '最新',
@@ -299,7 +301,7 @@ window.__ModuleLoader__.load({
299
301
  lang: 'ZH',
300
302
  },
301
303
  en: {
302
- addAgent: '+ Subagent', addLead: '+ Lead', addCond: '+ Condition', undo: '↶ Undo', sync: '↥ Sync',
304
+ addAgent: '+ Subagent', addLead: '+ Lead', addCond: '+ Condition', undo: '↶ Undo', redo: '↷ Redo', sync: '↥ Sync',
303
305
  enabled: '● ON', disabled: '○ OFF', presetName: 'Preset name', save: '☆ Save',
304
306
  presets: '☰ Presets', unsaved: 'Unsaved changes', synced: 'Synced',
305
307
  pickModel: 'Pick a model', loadingModels: 'Loading…', defaultEffort: 'default',
@@ -350,7 +352,7 @@ window.__ModuleLoader__.load({
350
352
  loadedPreset: 'Loaded preset', invalidPreset: 'Preset content is invalid', deletedPreset: 'Deleted preset',
351
353
  syncFailed: 'Sync failed', upToDate: 'Already up to date', syncedToHost: 'Synced to host',
352
354
  syncedWithStdWarn: 'Synced (has write/tool nodes — check main chat permission mode)',
353
- cannotOpen: 'Cannot open the session', undoDone: 'Undone', undoNone: 'Nothing to undo',
355
+ cannotOpen: 'Cannot open the session', undoDone: 'Undone', undoNone: 'Nothing to undo', redoDone: 'Redone', redoNone: 'Nothing to redo',
354
356
  leadLocked: 'The entry Lead cannot be deleted', modelsMissing: 'Model list is not loaded',
355
357
  tipLead: 'Lead steps run in the chat; the canvas does not track them',
356
358
  tipOrphan: 'Unlinked: skipped when the canvas runs', tipStatus: 'Subagent run status',
@@ -452,6 +454,7 @@ window.__ModuleLoader__.load({
452
454
  scDuplicate: 'Duplicate nodes & links',
453
455
  scDelete: 'Delete selected nodes',
454
456
  scUndo: 'Undo',
457
+ scRedo: 'Redo',
455
458
  scFitView: 'Fit all in view',
456
459
  scAutoLayout: 'Auto layout',
457
460
  scToggleDir: 'Toggle Horiz / Vert layout',
@@ -470,7 +473,7 @@ window.__ModuleLoader__.load({
470
473
  importNone: 'No canvas data found in the clipboard',
471
474
  importBad: 'Canvas data is malformed',
472
475
  tipSync: 'Publish this canvas to the host (leaves one sync record in the chat)',
473
- tipUndo: 'Undo the last structural change', tipSave: 'Save this canvas as a preset (reusable in new chats)',
476
+ tipUndo: 'Undo the last structural change', tipRedo: 'Redo the last undone change (Ctrl+Shift+Z / Ctrl+Y)', tipSave: 'Save this canvas as a preset (reusable in new chats)',
474
477
  tipPresets: 'Save this canvas for new chats, or load a preset / starter template', tipModel: 'Reasoning effort (default = the model\'s defaultEffort)',
475
478
  tipMemory: 'Memory: reuse this node\'s previous session (persisted across runs and restarts)',
476
479
  memLatest: 'Latest',
@@ -989,6 +992,16 @@ window.__ModuleLoader__.load({
989
992
  return { clones, clonedEdges };
990
993
  }
991
994
 
995
+ /** Compute the next node selection when clicking `id` (Shift/Ctrl toggles membership). */
996
+ function nextSelectionOnNodeClick(selectedIds, id, additive) {
997
+ const cur = Array.isArray(selectedIds) ? selectedIds : [];
998
+ if (additive) {
999
+ if (cur.includes(id)) return { next: cur.filter((x) => x !== id), toggledOff: true };
1000
+ return { next: cur.concat([id]), toggledOff: false };
1001
+ }
1002
+ return { next: cur.includes(id) ? cur : [id], toggledOff: false };
1003
+ }
1004
+
992
1005
  function socketCenterY(i) {
993
1006
  return SOCKET_BAND_TOP + i * ROW_H + ROW_H / 2;
994
1007
  }
@@ -2098,6 +2111,7 @@ window.__ModuleLoader__.load({
2098
2111
  const syncTimer = useRef(null);
2099
2112
  const lastSync = useRef('');
2100
2113
  const historyRef = useRef([]);
2114
+ const redoRef = useRef([]);
2101
2115
  const [dirty, setDirty] = useState(() => Boolean(initial && initial.enabled));
2102
2116
  const [view, setView] = useState({ k: 1, x: 0, y: 0 });
2103
2117
  const viewRef = useRef(view);
@@ -2630,21 +2644,35 @@ window.__ModuleLoader__.load({
2630
2644
  };
2631
2645
  }, []);
2632
2646
 
2633
- // Snapshot before every structural change so a mis-click can be undone.
2647
+ // Snapshot before every structural change so a mis-click can be undone/redone.
2634
2648
  const pushSnapshot = () => {
2635
- historyRef.current.push({ nodes, edges });
2649
+ historyRef.current.push({ nodes: nodesRef.current, edges: edgesRef.current });
2636
2650
  if (historyRef.current.length > 50) historyRef.current.shift();
2651
+ redoRef.current = [];
2637
2652
  };
2638
2653
 
2639
2654
  const undo = () => {
2640
2655
  const prev = historyRef.current.pop();
2641
2656
  if (!prev) { flash(t('undoNone')); return; }
2657
+ redoRef.current.push({ nodes: nodesRef.current, edges: edgesRef.current });
2658
+ if (redoRef.current.length > 50) redoRef.current.shift();
2642
2659
  setNodes(prev.nodes);
2643
2660
  setEdges(prev.edges);
2644
2661
  setSelectedIds([]);
2645
2662
  flash(t('undoDone'));
2646
2663
  };
2647
2664
 
2665
+ const redo = () => {
2666
+ const next = redoRef.current.pop();
2667
+ if (!next) { flash(t('redoNone')); return; }
2668
+ historyRef.current.push({ nodes: nodesRef.current, edges: edgesRef.current });
2669
+ if (historyRef.current.length > 50) historyRef.current.shift();
2670
+ setNodes(next.nodes);
2671
+ setEdges(next.edges);
2672
+ setSelectedIds([]);
2673
+ flash(t('redoDone'));
2674
+ };
2675
+
2648
2676
  const openRun = (node, run) => {
2649
2677
  try {
2650
2678
  const sr = hostCtx && hostCtx.sidebarRight;
@@ -2952,19 +2980,21 @@ window.__ModuleLoader__.load({
2952
2980
  const node = nodes.find((n) => n.id === id);
2953
2981
  if (!node) return;
2954
2982
  const p = pointTo(e);
2955
- const group = selectedIds.includes(id) ? selectedIds : [id];
2956
- if (!selectedIds.includes(id)) setSelectedIds([id]);
2983
+ const additive = Boolean(e.shiftKey || e.ctrlKey || e.metaKey);
2984
+ const { next: group, toggledOff } = nextSelectionOnNodeClick(selectedIds, id, additive);
2985
+ setSelectedIds(group);
2986
+ setOpenModelFor(null);
2987
+ setAddMenu(null);
2988
+ setCtxMenu(null);
2989
+ e.preventDefault();
2990
+ e.stopPropagation();
2991
+ if (toggledOff) return;
2957
2992
  const origins = group
2958
2993
  .map((nid) => nodes.find((n) => n.id === nid))
2959
2994
  .filter(Boolean)
2960
2995
  .map((n) => ({ id: n.id, x: n.x, y: n.y }));
2961
2996
  nodeDrag.current = { origins, startX: p.x, startY: p.y, moved: false };
2962
2997
  setDragging(true);
2963
- setOpenModelFor(null);
2964
- setAddMenu(null);
2965
- setCtxMenu(null);
2966
- e.preventDefault();
2967
- e.stopPropagation();
2968
2998
  };
2969
2999
 
2970
3000
  const onNodeContextMenu = (e, node) => {
@@ -3203,7 +3233,7 @@ window.__ModuleLoader__.load({
3203
3233
  // Configurable canvas keyboard shortcuts (defaults: Shift+A, Shift+D, Delete, Ctrl+Z, Esc).
3204
3234
  const keyActionsRef = useRef(null);
3205
3235
  keyActionsRef.current = {
3206
- undo, deleteSelected, duplicateSelected, openAddMenuAtCursor, addNode, fitView, autoLayout, toggleDirection, flash, t,
3236
+ undo, redo, deleteSelected, duplicateSelected, openAddMenuAtCursor, addNode, fitView, autoLayout, toggleDirection, flash, t,
3207
3237
  addMenu, ctxMenu, roleEditFor, openModelFor, menuOpen, presetOpen, helpOpen, shortcutsOpen, recordingAction, decisionViewFor, refsEditFor,
3208
3238
  setAddMenu, setCtxMenu, setRoleEditFor, setOpenModelFor, setMenuOpen, setPresetOpen, setHelpOpen, setShortcutsOpen, setRecordingAction, setShortcuts, setDecisionViewFor, setRefsEditFor,
3209
3239
  };
@@ -3279,11 +3309,18 @@ window.__ModuleLoader__.load({
3279
3309
  act.openAddMenuAtCursor();
3280
3310
  return;
3281
3311
  }
3312
+ const allBound = Object.values(sc).map(normalizeShortcut);
3282
3313
  if (matchesShortcut(ev, sc.undo)) {
3283
3314
  ev.preventDefault();
3284
3315
  act.undo();
3285
3316
  return;
3286
3317
  }
3318
+ if (matchesShortcut(ev, sc.redo)
3319
+ || (normalizeShortcut(sc.redo) === 'Ctrl+Shift+Z' && !allBound.includes('Ctrl+Y') && matchesShortcut(ev, 'Ctrl+Y'))) {
3320
+ ev.preventDefault();
3321
+ act.redo();
3322
+ return;
3323
+ }
3287
3324
  if (matchesShortcut(ev, sc.duplicate)) {
3288
3325
  ev.preventDefault();
3289
3326
  act.duplicateSelected();
@@ -3304,7 +3341,6 @@ window.__ModuleLoader__.load({
3304
3341
  act.toggleDirection();
3305
3342
  return;
3306
3343
  }
3307
- const allBound = Object.values(sc).map(normalizeShortcut);
3308
3344
  const delHit = matchesShortcut(ev, sc.delete)
3309
3345
  || (normalizeShortcut(sc.delete) === 'Delete' && !allBound.includes('Backspace') && matchesShortcut(ev, 'Backspace'));
3310
3346
  if (delHit) {
@@ -3459,7 +3495,7 @@ window.__ModuleLoader__.load({
3459
3495
  const pos = clampMenuPos(cx, cy, wrapRect.width, wrapRect.height, 180, 120);
3460
3496
  setCtxMenu({ kind: 'edge', edgeId: hitEdge.id, sx: pos.sx, sy: pos.sy, wx: rc.start.x, wy: rc.start.y });
3461
3497
  } else {
3462
- const pos = clampMenuPos(cx, cy, wrapRect.width, wrapRect.height, 186, 296);
3498
+ const pos = clampMenuPos(cx, cy, wrapRect.width, wrapRect.height, 186, 322);
3463
3499
  setCtxMenu({ kind: 'canvas', sx: pos.sx, sy: pos.sy, wx: rc.start.x, wy: rc.start.y });
3464
3500
  }
3465
3501
  }
@@ -4641,6 +4677,13 @@ window.__ModuleLoader__.load({
4641
4677
  onMouseLeave: (e) => { e.currentTarget.style.background = 'transparent'; },
4642
4678
  onClick: () => { setMenuOpen(false); undo(); },
4643
4679
  }, t('undo')),
4680
+ h('div', {
4681
+ style: S.moreRow,
4682
+ title: t('tipRedo'),
4683
+ onMouseEnter: (e) => { e.currentTarget.style.background = C.hover; },
4684
+ onMouseLeave: (e) => { e.currentTarget.style.background = 'transparent'; },
4685
+ onClick: () => { setMenuOpen(false); redo(); },
4686
+ }, t('redo')),
4644
4687
  h('div', {
4645
4688
  style: S.moreRow,
4646
4689
  title: t('tipLocate'),
@@ -4761,6 +4804,7 @@ window.__ModuleLoader__.load({
4761
4804
  duplicate: t('scDuplicate'),
4762
4805
  delete: t('scDelete'),
4763
4806
  undo: t('scUndo'),
4807
+ redo: t('scRedo'),
4764
4808
  fitView: t('scFitView'),
4765
4809
  autoLayout: t('scAutoLayout'),
4766
4810
  toggleDir: t('scToggleDir'),
@@ -4961,6 +5005,7 @@ window.__ModuleLoader__.load({
4961
5005
  menuRow('add-cond', t('addCond'), () => addNode('condition', { x: ctxMenu.wx, y: ctxMenu.wy })),
4962
5006
  h('div', { style: S.ctxDivider }),
4963
5007
  menuRow('undo', t('undo'), () => { setCtxMenu(null); undo(); }, { hint: shortcuts.undo || '' }),
5008
+ menuRow('redo', t('redo'), () => { setCtxMenu(null); redo(); }, { hint: shortcuts.redo || '' }),
4964
5009
  menuRow('layout', t('autoLayoutBtn'), () => { setCtxMenu(null); autoLayout(); }, { hint: shortcuts.autoLayout || '' }),
4965
5010
  menuRow('dir', direction === 'tb' ? t('dirLR') : t('dirTB'), () => { setCtxMenu(null); toggleDirection(); }, { hint: shortcuts.toggleDir || '' }),
4966
5011
  menuRow('fit', t('locate'), () => { setCtxMenu(null); fitView(); }, { hint: shortcuts.fitView || '' }),
@@ -5517,7 +5562,7 @@ window.__ModuleLoader__.load({
5517
5562
  try { console.error('[workflow-canvas] apply failed', error); } catch (_e) { /* ignore */ }
5518
5563
  }
5519
5564
  },
5520
- __test: { topoOrder, wouldCycle, soloLeadNodeIds, layoutGraph, builtinTemplates, deadEndNodeIds, nextEffectLevel, nextMaxParallel, dropdownAlign, zoomAroundPoint, scrubZoom, buildPlan, loadDoc, saveDoc, storageKey, socketCenterY, nodeHeight, conditionBranchesForUI, distanceToEdge, edgeCurve, compatibleTargetsForWire, conditionVerdictSummary, entryRunButtonState, outputSocketX, inputSocketPos, outputSocketPos, normalizeRefsUI, clampMenuPos, cloneSelection, DEFAULT_SHORTCUTS, normalizeShortcut, formatShortcutFromEvent, matchesShortcut, applyShortcutBinding },
5565
+ __test: { topoOrder, wouldCycle, soloLeadNodeIds, layoutGraph, builtinTemplates, deadEndNodeIds, nextEffectLevel, nextMaxParallel, dropdownAlign, zoomAroundPoint, scrubZoom, buildPlan, loadDoc, saveDoc, storageKey, socketCenterY, nodeHeight, conditionBranchesForUI, distanceToEdge, edgeCurve, compatibleTargetsForWire, conditionVerdictSummary, entryRunButtonState, outputSocketX, inputSocketPos, outputSocketPos, normalizeRefsUI, clampMenuPos, cloneSelection, nextSelectionOnNodeClick, DEFAULT_SHORTCUTS, normalizeShortcut, formatShortcutFromEvent, matchesShortcut, applyShortcutBinding },
5521
5566
  };
5522
5567
  },
5523
5568
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dsh-workflow-canvas",
3
- "version": "1.4.0",
4
- "description": "A visual subagent-workflow canvas for DeepSeek Harness, docked in the sidebar.",
3
+ "version": "1.4.1",
4
+ "description": "A visual multi-agent workflow canvas for DeepSeek Harness — parallel subagents, conditional branching & Lead decision gates in the sidebar.",
5
5
  "type": "module",
6
6
  "main": "index.js",
7
7
  "exports": {
@@ -24,6 +24,24 @@
24
24
  "README.zh.md"
25
25
  ],
26
26
  "license": "MIT",
27
+ "author": "Wasabi2575",
28
+ "homepage": "https://github.com/Wasabi2575/dsh-workflow-canvas#readme",
29
+ "bugs": {
30
+ "url": "https://github.com/Wasabi2575/dsh-workflow-canvas/issues"
31
+ },
32
+ "keywords": [
33
+ "dsh",
34
+ "deepseek-harness",
35
+ "dsh-plugin",
36
+ "deepseek",
37
+ "workflow",
38
+ "multi-agent",
39
+ "subagent",
40
+ "canvas",
41
+ "node-graph",
42
+ "ai-agents",
43
+ "agent-orchestration"
44
+ ],
27
45
  "repository": {
28
46
  "type": "git",
29
47
  "url": "git+https://github.com/Wasabi2575/dsh-workflow-canvas.git"