dsh-plugin-inspiration-workbench 0.3.0 → 0.4.0

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
@@ -34,6 +34,10 @@ DSH 一次只能打开一个会话:想同时看三条线的进展,只能来
34
34
  |---|---|
35
35
  | ![canvases](docs/screenshots/canvases.png) | ![pipeline edges](docs/screenshots/pipeline-edges.png) |
36
36
 
37
+ | 扇出到多个下游 | 下游可以是便签 |
38
+ |---|---|
39
+ | ![fanout](docs/screenshots/pipeline-fanout.png) | ![note target](docs/screenshots/pipeline-note.png) |
40
+
37
41
  ---
38
42
 
39
43
  ## 功能 / Features
@@ -42,7 +46,7 @@ DSH 一次只能打开一个会话:想同时看三条线的进展,只能来
42
46
  - 侧栏会话行的 `+` 把会话加成卡片;侧栏点击行为不变
43
47
  - 拖动 / 缩放 / 叠成一摞 / 双击居中 / 点空白平移 / ⌘+滚轮缩放
44
48
  - **命名画布**:保存当前这面墙、切换回之前保存的画布、覆盖 / 删除;数据存 Host,刷新不丢
45
- - **流水线**:从卡片右侧端口拖一条线到另一张卡即建立;点连线切换「自动发送 / 只填草稿」或删除
49
+ - **流水线**:从卡片右侧端口拖一条线到另一张卡即建立;**一条卡可连多个下游**(扇出),下游可以是会话卡,也可以是**便签卡**(结果直接追加进去);点连线切换「自动发送 / 只填草稿」或删除
46
50
  - 卡片头部操作常驻显示(流水线 / 大纲 / 搜索 / ⋯ / 关闭),次要操作用「⋯」收纳,窄卡片也不挤
47
51
  - 便签卡(随手记)、钉住位置、未读圆点、复制为 Markdown、在原生会话打开
48
52
 
package/lib/client.js CHANGED
@@ -519,6 +519,7 @@ var styles_default = `/* Inspiration workbench \u2014 scoped to .iwb-root; colou
519
519
  font-size: 9px; line-height: 1; color: var(--dsw-alias-label-deep-diving);
520
520
  }
521
521
  .iwb-card.iwb-link-target { outline: 2px dashed var(--dsw-alias-label-deep-diving); outline-offset: 3px; }
522
+ .iwb-card-note.iwb-link-target { outline-style: solid; }
522
523
  .iwb-link-menu { min-width: 230px; }
523
524
  .iwb-link-remove .iwb-model-name { color: var(--dsw-alias-state-error-primary); }
524
525
 
@@ -3745,6 +3746,40 @@ function createBoard({ host, adapter, approvals, t: t2, onOpenSession }) {
3745
3746
  function sessionCardOf(sessionId) {
3746
3747
  return state.cards.find((card) => card.sessionId === sessionId) || null;
3747
3748
  }
3749
+ function pipeTargets(card) {
3750
+ const pipeline = card.pipeline;
3751
+ if (!pipeline) return [];
3752
+ if (Array.isArray(pipeline.targets)) {
3753
+ return pipeline.targets.filter((target) => target && (target.id || target.targetSessionId));
3754
+ }
3755
+ if (pipeline.targetSessionId) {
3756
+ return [{ kind: "session", id: pipeline.targetSessionId, mode: pipeline.mode === "draft" ? "draft" : "send" }];
3757
+ }
3758
+ return [];
3759
+ }
3760
+ function setPipeTargets(card, targets) {
3761
+ card.pipeline = targets.length ? { targets } : null;
3762
+ }
3763
+ function cardOfPipeTarget(target) {
3764
+ if (!target) return null;
3765
+ if (target.kind === "note") return state.cards.find((entry) => entry.kind === "note" && entry.id === target.id) || null;
3766
+ return sessionCardOf(target.id);
3767
+ }
3768
+ function pipeTargetLabel(target) {
3769
+ const targetCard = cardOfPipeTarget(target);
3770
+ if (targetCard) return targetCard.title || t2("untitled");
3771
+ return target?.id || "";
3772
+ }
3773
+ function addPipeTarget(card, targetCard) {
3774
+ const kind = targetCard.kind === "note" ? "note" : "session";
3775
+ const id = kind === "note" ? targetCard.id : targetCard.sessionId;
3776
+ if (!id || targetCard === card) return false;
3777
+ const targets = pipeTargets(card).filter((target) => !(target.kind === kind && target.id === id));
3778
+ const expanded = targets.length !== pipeTargets(card).length;
3779
+ targets.push({ kind, id, mode: "send" });
3780
+ setPipeTargets(card, targets);
3781
+ return !expanded;
3782
+ }
3748
3783
  function portAnchor(card) {
3749
3784
  return { x: card.x + card.w, y: card.y + 30 };
3750
3785
  }
@@ -3758,21 +3793,23 @@ function createBoard({ host, adapter, approvals, t: t2, onOpenSession }) {
3758
3793
  function renderPipelines() {
3759
3794
  while (linkLayer.firstChild) linkLayer.removeChild(linkLayer.firstChild);
3760
3795
  for (const card of state.cards) {
3761
- const target = card.pipeline?.targetSessionId ? sessionCardOf(card.pipeline.targetSessionId) : null;
3762
- if (!target || target === card) continue;
3763
- const d = linkPath(portAnchor(card), targetAnchor(target));
3764
- const hit = document.createElementNS(SVG_NS, "path");
3765
- hit.setAttribute("d", d);
3766
- hit.setAttribute("class", "iwb-link-hit");
3767
- hit.addEventListener("pointerdown", (event) => {
3768
- event.stopPropagation();
3769
- openPipeMenu(card, event.currentTarget);
3770
- });
3771
- const path = document.createElementNS(SVG_NS, "path");
3772
- path.setAttribute("d", d);
3773
- path.setAttribute("class", "iwb-link");
3774
- if (card.pipeline.mode === "draft") path.setAttribute("stroke-dasharray", "4 4");
3775
- linkLayer.append(hit, path);
3796
+ for (const target of pipeTargets(card)) {
3797
+ const targetCard = cardOfPipeTarget(target);
3798
+ if (!targetCard || targetCard === card) continue;
3799
+ const d = linkPath(portAnchor(card), targetAnchor(targetCard));
3800
+ const hit = document.createElementNS(SVG_NS, "path");
3801
+ hit.setAttribute("d", d);
3802
+ hit.setAttribute("class", "iwb-link-hit");
3803
+ hit.addEventListener("pointerdown", (event) => {
3804
+ event.stopPropagation();
3805
+ openPipeMenu(card, target, event.currentTarget);
3806
+ });
3807
+ const path = document.createElementNS(SVG_NS, "path");
3808
+ path.setAttribute("d", d);
3809
+ path.setAttribute("class", "iwb-link");
3810
+ if (target.mode === "draft") path.setAttribute("stroke-dasharray", "4 4");
3811
+ linkLayer.append(hit, path);
3812
+ }
3776
3813
  }
3777
3814
  }
3778
3815
  let pipelineFrame = 0;
@@ -3804,29 +3841,38 @@ function createBoard({ host, adapter, approvals, t: t2, onOpenSession }) {
3804
3841
  temp.setAttribute("d", linkPath(portAnchor(card), point(clientX, clientY)));
3805
3842
  };
3806
3843
  draw(event.clientX, event.clientY);
3807
- port.setPointerCapture?.(event.pointerId);
3844
+ try {
3845
+ port.setPointerCapture?.(event.pointerId);
3846
+ } catch {
3847
+ }
3808
3848
  const onMove = (moveEvent) => {
3809
3849
  draw(moveEvent.clientX, moveEvent.clientY);
3810
3850
  const under = document.elementFromPoint(moveEvent.clientX, moveEvent.clientY);
3811
3851
  const candidate = under?.closest?.(".iwb-card");
3812
3852
  const targetCard = candidate ? state.cards.find((entry) => entry.el === candidate) : null;
3853
+ const usable = targetCard && targetCard !== card && (targetCard.sessionId || targetCard.kind === "note" && targetCard.id);
3813
3854
  if (hovered && hovered !== targetCard) hovered.el.classList.remove("iwb-link-target");
3814
- hovered = targetCard && targetCard !== card && targetCard.sessionId ? targetCard : null;
3855
+ hovered = usable ? targetCard : null;
3815
3856
  if (hovered) hovered.el.classList.add("iwb-link-target");
3816
3857
  };
3817
3858
  const finish = (upEvent) => {
3818
- port.releasePointerCapture?.(event.pointerId);
3859
+ try {
3860
+ port.releasePointerCapture?.(event.pointerId);
3861
+ } catch {
3862
+ }
3819
3863
  port.removeEventListener("pointermove", onMove);
3820
3864
  port.removeEventListener("pointerup", finish);
3821
3865
  port.removeEventListener("pointercancel", cancel);
3822
3866
  temp.remove();
3823
3867
  if (hovered) {
3824
3868
  hovered.el.classList.remove("iwb-link-target");
3825
- card.pipeline = { targetSessionId: hovered.sessionId, mode: card.pipeline?.mode || "send" };
3869
+ const created = addPipeTarget(card, hovered);
3826
3870
  renderPipeBadge(card);
3827
3871
  schedulePipelines();
3828
3872
  saveSoon();
3829
- toast(t2("pipe.created").replace("{name}", hovered.title || t2("untitled")));
3873
+ toast(
3874
+ created ? t2("pipe.created").replace("{name}", hovered.title || t2("untitled")) : t2("pipe.already").replace("{name}", hovered.title || t2("untitled"))
3875
+ );
3830
3876
  } else if (upEvent) {
3831
3877
  toast(t2("pipe.needTarget"));
3832
3878
  }
@@ -3841,12 +3887,16 @@ function createBoard({ host, adapter, approvals, t: t2, onOpenSession }) {
3841
3887
  function renderPipeBadge(card) {
3842
3888
  const badge = card.el?.querySelector(".iwb-pipe-badge");
3843
3889
  if (!badge) return;
3844
- const target = card.pipeline?.targetSessionId ? sessionCardOf(card.pipeline.targetSessionId) : null;
3845
- badge.hidden = !target;
3846
- if (target) {
3847
- badge.textContent = t2("pipe.active").replace("{name}", target.title || t2("untitled"));
3848
- badge.title = card.pipeline.mode === "draft" ? t2("pipe.draft") : t2("pipe.send");
3890
+ const targets = pipeTargets(card).filter((target) => cardOfPipeTarget(target));
3891
+ badge.hidden = !targets.length;
3892
+ if (!targets.length) return;
3893
+ if (targets.length === 1) {
3894
+ badge.textContent = t2("pipe.active").replace("{name}", pipeTargetLabel(targets[0]));
3895
+ badge.title = targets[0].mode === "draft" ? t2("pipe.draft") : t2("pipe.send");
3896
+ return;
3849
3897
  }
3898
+ badge.textContent = t2("pipe.multi").replace("{n}", String(targets.length));
3899
+ badge.title = targets.map((target) => pipeTargetLabel(target)).join(" \xB7 ");
3850
3900
  }
3851
3901
  function lastAssistantText(card) {
3852
3902
  const items = card.view?.items || [];
@@ -3898,87 +3948,118 @@ function createBoard({ host, adapter, approvals, t: t2, onOpenSession }) {
3898
3948
  }
3899
3949
  }
3900
3950
  async function deliverPipeline(card) {
3901
- const pipeline = card.pipeline;
3902
- if (!pipeline?.targetSessionId) return;
3903
- const target = sessionCardOf(pipeline.targetSessionId);
3904
- if (!target) return;
3951
+ const targets = pipeTargets(card);
3952
+ if (!targets.length) return;
3905
3953
  const text = lastAssistantText(card);
3906
3954
  if (!text) return;
3907
3955
  const fingerprint = text.slice(0, 160);
3908
- if (card.pipedFingerprint === fingerprint) return;
3956
+ card.pipedFingerprints = card.pipedFingerprints || {};
3909
3957
  const depth = (card.pipeDepth || 0) + 1;
3910
3958
  if (depth > 3) {
3911
3959
  toast(t2("pipe.tooLong"));
3912
3960
  return;
3913
3961
  }
3914
- card.pipedFingerprint = fingerprint;
3915
- if (pipeline.mode === "draft") {
3916
- const field = target.el?.querySelector(".iwb-foot textarea");
3917
- if (!field) return;
3918
- field.value = field.value ? field.value.replace(/\s*$/, "\n\n") + text : text;
3919
- field.dispatchEvent(new Event("input", { bubbles: true }));
3920
- ensureVisible(target);
3921
- toast(t2("pipe.drafted").replace("{name}", target.title || t2("untitled")));
3922
- } else {
3962
+ for (const target of targets) {
3963
+ const key = target.kind + ":" + target.id;
3964
+ if (card.pipedFingerprints[key] === fingerprint) continue;
3965
+ const targetCard = cardOfPipeTarget(target);
3966
+ if (target.kind === "note") {
3967
+ if (!targetCard) continue;
3968
+ const area = targetCard.el?.querySelector(".iwb-note-input");
3969
+ if (!area) continue;
3970
+ area.value = area.value ? area.value.replace(/\s*$/, "\n\n") + text : text;
3971
+ area.dispatchEvent(new Event("input", { bubbles: true }));
3972
+ targetCard.pipeDepth = depth;
3973
+ card.pipedFingerprints[key] = fingerprint;
3974
+ ensureVisible(targetCard);
3975
+ toast(t2("pipe.noted").replace("{name}", targetCard.title || t2("untitled")));
3976
+ continue;
3977
+ }
3978
+ if (target.mode === "draft") {
3979
+ const field = targetCard?.el?.querySelector(".iwb-foot textarea");
3980
+ if (!field) continue;
3981
+ field.value = field.value ? field.value.replace(/\s*$/, "\n\n") + text : text;
3982
+ field.dispatchEvent(new Event("input", { bubbles: true }));
3983
+ ensureVisible(targetCard);
3984
+ targetCard.pipeDepth = depth;
3985
+ card.pipedFingerprints[key] = fingerprint;
3986
+ toast(t2("pipe.drafted").replace("{name}", pipeTargetLabel(target)));
3987
+ continue;
3988
+ }
3923
3989
  try {
3924
- await adapter.prompt(target.sessionId, text, "queue");
3925
- toast(t2("pipe.sent").replace("{name}", target.title || t2("untitled")));
3990
+ await adapter.prompt(target.id, text, "queue");
3991
+ card.pipedFingerprints[key] = fingerprint;
3992
+ if (targetCard) targetCard.pipeDepth = depth;
3993
+ toast(t2("pipe.sent").replace("{name}", pipeTargetLabel(target)));
3926
3994
  } catch (error) {
3927
3995
  toast(t2("pipe.failed").replace("{error}", error?.message || ""));
3928
- return;
3929
3996
  }
3930
3997
  }
3931
- target.pipeDepth = depth;
3932
3998
  }
3933
- function openPipeMenu(card, anchor) {
3999
+ function openPipeMenu(card, target, anchor) {
3934
4000
  if (pipePop) {
3935
4001
  closePipeMenu();
3936
4002
  return;
3937
4003
  }
3938
- const target = sessionCardOf(card.pipeline?.targetSessionId);
3939
4004
  if (!target) return;
4005
+ const targetCard = cardOfPipeTarget(target);
4006
+ const label = pipeTargetLabel(target);
4007
+ const isNote = target.kind === "note";
3940
4008
  const pop = el("div", "iwb-popover iwb-link-menu");
3941
4009
  pop.setAttribute("role", "dialog");
3942
4010
  pop.setAttribute("aria-label", t2("pipe.title"));
3943
4011
  const head = el("div", "iwb-popover-head");
3944
- head.textContent = t2("pipe.title");
4012
+ head.textContent = isNote ? t2("pipe.noteTarget") : t2("pipe.title");
3945
4013
  const status = el("div", "iwb-popover-note");
3946
- status.textContent = t2("pipe.linked").replace("{name}", target.title || t2("untitled"));
4014
+ status.textContent = t2("pipe.linked").replace("{name}", label);
3947
4015
  pop.append(head, status);
3948
- const mode = card.pipeline.mode === "draft" ? "draft" : "send";
3949
- const modes = [
3950
- { id: "send", label: t2("pipe.send"), hint: t2("pipe.sendHint") },
3951
- { id: "draft", label: t2("pipe.draft"), hint: t2("pipe.draftHint") }
3952
- ];
3953
- for (const option of modes) {
3954
- const row = el("button", "iwb-model-row" + (mode === option.id ? " current" : ""));
3955
- row.type = "button";
3956
- row.innerHTML = '<span class="iwb-model-main"><span class="iwb-model-name"></span><span class="iwb-model-desc"></span></span>' + (mode === option.id ? '<span class="iwb-check">\u2713</span>' : "");
3957
- row.querySelector(".iwb-model-name").textContent = option.label;
3958
- row.querySelector(".iwb-model-desc").textContent = option.hint;
3959
- row.addEventListener("click", (event) => {
3960
- event.stopPropagation();
3961
- card.pipeline = { ...card.pipeline, mode: option.id };
3962
- renderPipeBadge(card);
3963
- schedulePipelines();
3964
- saveSoon();
3965
- closePipeMenu();
3966
- toast(option.id === "draft" ? t2("pipe.modeDraft") : t2("pipe.modeSend"));
3967
- });
3968
- pop.appendChild(row);
4016
+ if (!isNote) {
4017
+ const mode = target.mode === "draft" ? "draft" : "send";
4018
+ const modes = [
4019
+ { id: "send", label: t2("pipe.send"), hint: t2("pipe.sendHint") },
4020
+ { id: "draft", label: t2("pipe.draft"), hint: t2("pipe.draftHint") }
4021
+ ];
4022
+ for (const option of modes) {
4023
+ const row = el("button", "iwb-model-row" + (mode === option.id ? " current" : ""));
4024
+ row.type = "button";
4025
+ row.innerHTML = '<span class="iwb-model-main"><span class="iwb-model-name"></span><span class="iwb-model-desc"></span></span>' + (mode === option.id ? '<span class="iwb-check">\u2713</span>' : "");
4026
+ row.querySelector(".iwb-model-name").textContent = option.label;
4027
+ row.querySelector(".iwb-model-desc").textContent = option.hint;
4028
+ row.addEventListener("click", (event) => {
4029
+ event.stopPropagation();
4030
+ const targets = pipeTargets(card).map(
4031
+ (entry) => entry.kind === target.kind && entry.id === target.id ? { ...entry, mode: option.id } : entry
4032
+ );
4033
+ setPipeTargets(card, targets);
4034
+ renderPipeBadge(card);
4035
+ schedulePipelines();
4036
+ saveSoon();
4037
+ closePipeMenu();
4038
+ toast(option.id === "draft" ? t2("pipe.modeDraft") : t2("pipe.modeSend"));
4039
+ });
4040
+ pop.appendChild(row);
4041
+ }
4042
+ } else {
4043
+ const statusRow = el("div", "iwb-popover-note");
4044
+ statusRow.textContent = t2("pipe.noteHint");
4045
+ pop.appendChild(statusRow);
3969
4046
  }
3970
4047
  const remove = el("button", "iwb-model-row iwb-link-remove");
3971
4048
  remove.type = "button";
3972
4049
  remove.innerHTML = '<span class="iwb-model-main"><span class="iwb-model-name"></span></span>';
3973
- remove.querySelector(".iwb-model-name").textContent = t2("pipe.remove");
4050
+ remove.querySelector(".iwb-model-name").textContent = isNote ? t2("pipe.removeNote") : t2("pipe.remove");
3974
4051
  remove.addEventListener("click", (event) => {
3975
4052
  event.stopPropagation();
3976
- card.pipeline = null;
4053
+ setPipeTargets(
4054
+ card,
4055
+ pipeTargets(card).filter((entry) => !(entry.kind === target.kind && entry.id === target.id))
4056
+ );
3977
4057
  renderPipeBadge(card);
3978
4058
  schedulePipelines();
3979
4059
  saveSoon();
3980
4060
  closePipeMenu();
3981
4061
  toast(t2("pipe.removed"));
4062
+ if (targetCard) ensureVisible(targetCard);
3982
4063
  });
3983
4064
  pop.appendChild(remove);
3984
4065
  const rect = anchor.getBoundingClientRect();
@@ -4008,6 +4089,16 @@ function createBoard({ host, adapter, approvals, t: t2, onOpenSession }) {
4008
4089
  } catch {
4009
4090
  }
4010
4091
  state.cards = state.cards.filter((c) => c !== card);
4092
+ const goneId = card.kind === "note" ? card.id : card.sessionId;
4093
+ const goneKind = card.kind === "note" ? "note" : "session";
4094
+ for (const other of state.cards) {
4095
+ const targets = pipeTargets(other);
4096
+ const kept = targets.filter((target) => !(target.kind === goneKind && target.id === goneId));
4097
+ if (kept.length !== targets.length) {
4098
+ setPipeTargets(other, kept);
4099
+ renderPipeBadge(other);
4100
+ }
4101
+ }
4011
4102
  schedulePipelines();
4012
4103
  if (state.selected.delete(card.id)) renderBatchBar();
4013
4104
  if (state.focusedId === card.id) {
@@ -4769,7 +4860,7 @@ function createBoard({ host, adapter, approvals, t: t2, onOpenSession }) {
4769
4860
  y: card.y,
4770
4861
  w: card.w,
4771
4862
  h: card.h,
4772
- pipeline: card.pipeline || null
4863
+ pipeline: pipeTargets(card).length ? { targets: pipeTargets(card) } : null
4773
4864
  });
4774
4865
  }
4775
4866
  for (const stack of saved.stacks || []) {
@@ -4803,13 +4894,14 @@ function createBoard({ host, adapter, approvals, t: t2, onOpenSession }) {
4803
4894
  pan: state.pan,
4804
4895
  settings: { ...state.settings },
4805
4896
  cards: state.cards.map((card) => ({
4897
+ id: card.kind === "note" ? card.id : void 0,
4806
4898
  sessionId: card.sessionId,
4807
4899
  title: card.title,
4808
4900
  workspace: card.workspace || "",
4809
4901
  kind: card.kind || "session",
4810
4902
  note: card.note || "",
4811
4903
  pinned: Boolean(card.pinned),
4812
- pipeline: card.pipeline || null,
4904
+ pipeline: pipeTargets(card).length ? { targets: pipeTargets(card) } : null,
4813
4905
  x: card.x,
4814
4906
  y: card.y,
4815
4907
  w: card.w,
@@ -6124,9 +6216,15 @@ var zh = {
6124
6216
  "pipe.linked": "\u6D41\u6C34\u7EBF\u5DF2\u6307\u5411\u300C{name}\u300D",
6125
6217
  "pipe.modeSendHint": "\u5F53\u524D\uFF1A\u5B8C\u6210\u540E\u81EA\u52A8\u53D1\u9001",
6126
6218
  "pipe.modeDraftHint": "\u5F53\u524D\uFF1A\u53EA\u586B\u5165\u8349\u7A3F",
6219
+ "pipe.already": "\u5DF2\u7ECF\u8FDE\u8FC7\u300C{name}\u300D\u4E86",
6220
+ "pipe.multi": "\u2192 {n} \u4E2A\u4E0B\u6E38",
6221
+ "pipe.noted": "\u7ED3\u679C\u5DF2\u8FFD\u52A0\u5230\u4FBF\u7B7E\u300C{name}\u300D",
6222
+ "pipe.noteTarget": "\u6D41\u6C34\u7EBF \u2192 \u4FBF\u7B7E",
6223
+ "pipe.noteHint": "\u4E0B\u6E38\u662F\u4FBF\u7B7E\uFF1A\u8DD1\u5B8C\u628A\u7ED3\u679C\u8FFD\u52A0\u8FDB\u53BB\uFF0C\u4E0D\u53D1\u9001",
6224
+ "pipe.removeNote": "\u5220\u9664\u8FD9\u6761\u4FBF\u7B7E\u6D41\u6C34\u7EBF",
6127
6225
  "pipe.port": "\u62D6\u8FD9\u6761\u7EBF\u5230\u53E6\u4E00\u5F20\u5361\uFF0C\u5EFA\u7ACB\u6D41\u6C34\u7EBF",
6128
6226
  "pipe.created": "\u6D41\u6C34\u7EBF\u5DF2\u8FDE\u5230\u300C{name}\u300D",
6129
- "pipe.needTarget": "\u62D6\u5230\u53E6\u4E00\u5F20\u4F1A\u8BDD\u5361\u4E0A\u624D\u7B97\u8FDE\u7EBF",
6227
+ "pipe.needTarget": "\u62D6\u5230\u53E6\u4E00\u5F20\u5361\uFF08\u4F1A\u8BDD\u5361\u6216\u4FBF\u7B7E\uFF09\u4E0A\u624D\u7B97\u8FDE\u7EBF",
6130
6228
  "pipe.remove": "\u5220\u9664\u8FD9\u6761\u6D41\u6C34\u7EBF",
6131
6229
  "pipe.removed": "\u6D41\u6C34\u7EBF\u5DF2\u5220\u9664",
6132
6230
  "pipe.sendHint": "\u5B8C\u6210\u540E\u81EA\u52A8\u628A\u7ED3\u679C\u53D1\u8FC7\u53BB",
@@ -6409,9 +6507,15 @@ var en = {
6409
6507
  "pipe.linked": "Pipeline points at \u201C{name}\u201D",
6410
6508
  "pipe.modeSendHint": "Currently: auto-send on completion",
6411
6509
  "pipe.modeDraftHint": "Currently: draft only",
6510
+ "pipe.already": "\u201C{name}\u201D is already connected",
6511
+ "pipe.multi": "\u2192 {n} downstream",
6512
+ "pipe.noted": "Result appended to note \u201C{name}\u201D",
6513
+ "pipe.noteTarget": "Pipeline \u2192 note",
6514
+ "pipe.noteHint": "Note downstream: the result is appended, never sent",
6515
+ "pipe.removeNote": "Remove this note pipeline",
6412
6516
  "pipe.port": "Drag this line onto another card to wire a pipeline",
6413
6517
  "pipe.created": "Pipeline wired to \u201C{name}\u201D",
6414
- "pipe.needTarget": "Drop it on another session card to connect",
6518
+ "pipe.needTarget": "Drop it on another card (session or note) to connect",
6415
6519
  "pipe.remove": "Remove this pipeline",
6416
6520
  "pipe.removed": "Pipeline removed",
6417
6521
  "pipe.sendHint": "Send the result downstream when the turn finishes",