dsh-plugin-inspiration-workbench 0.3.0 → 0.5.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,14 @@ 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
+
41
+ | 便签投递带标题和时间戳 |
42
+ |---|
43
+ | ![note template](docs/screenshots/pipeline-note-template.png) |
44
+
37
45
  ---
38
46
 
39
47
  ## 功能 / Features
@@ -42,7 +50,7 @@ DSH 一次只能打开一个会话:想同时看三条线的进展,只能来
42
50
  - 侧栏会话行的 `+` 把会话加成卡片;侧栏点击行为不变
43
51
  - 拖动 / 缩放 / 叠成一摞 / 双击居中 / 点空白平移 / ⌘+滚轮缩放
44
52
  - **命名画布**:保存当前这面墙、切换回之前保存的画布、覆盖 / 删除;数据存 Host,刷新不丢
45
- - **流水线**:从卡片右侧端口拖一条线到另一张卡即建立;点连线切换「自动发送 / 只填草稿」或删除
53
+ - **流水线**:从卡片右侧端口拖一条线到另一张卡即建立;**一条卡可连多个下游**(扇出),下游可以是会话卡,也可以是**便签卡**(结果按 `## 来自「卡片名」 · 时间` 的分块追加进去);点连线切换「自动发送 / 只填草稿」或删除
46
54
  - 卡片头部操作常驻显示(流水线 / 大纲 / 搜索 / ⋯ / 关闭),次要操作用「⋯」收纳,窄卡片也不挤
47
55
  - 便签卡(随手记)、钉住位置、未读圆点、复制为 Markdown、在原生会话打开
48
56
 
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,119 @@ 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
+ const block = t2("pipe.noteBlock").replace("{title}", card.title || t2("untitled")).replace("{time}", canvasStamp()).replace("{text}", text);
3971
+ area.value = area.value.trim() ? area.value.replace(/\s*$/, "\n\n") + block : block;
3972
+ area.dispatchEvent(new Event("input", { bubbles: true }));
3973
+ targetCard.pipeDepth = depth;
3974
+ card.pipedFingerprints[key] = fingerprint;
3975
+ ensureVisible(targetCard);
3976
+ toast(t2("pipe.noted").replace("{name}", targetCard.title || t2("untitled")));
3977
+ continue;
3978
+ }
3979
+ if (target.mode === "draft") {
3980
+ const field = targetCard?.el?.querySelector(".iwb-foot textarea");
3981
+ if (!field) continue;
3982
+ field.value = field.value ? field.value.replace(/\s*$/, "\n\n") + text : text;
3983
+ field.dispatchEvent(new Event("input", { bubbles: true }));
3984
+ ensureVisible(targetCard);
3985
+ targetCard.pipeDepth = depth;
3986
+ card.pipedFingerprints[key] = fingerprint;
3987
+ toast(t2("pipe.drafted").replace("{name}", pipeTargetLabel(target)));
3988
+ continue;
3989
+ }
3923
3990
  try {
3924
- await adapter.prompt(target.sessionId, text, "queue");
3925
- toast(t2("pipe.sent").replace("{name}", target.title || t2("untitled")));
3991
+ await adapter.prompt(target.id, text, "queue");
3992
+ card.pipedFingerprints[key] = fingerprint;
3993
+ if (targetCard) targetCard.pipeDepth = depth;
3994
+ toast(t2("pipe.sent").replace("{name}", pipeTargetLabel(target)));
3926
3995
  } catch (error) {
3927
3996
  toast(t2("pipe.failed").replace("{error}", error?.message || ""));
3928
- return;
3929
3997
  }
3930
3998
  }
3931
- target.pipeDepth = depth;
3932
3999
  }
3933
- function openPipeMenu(card, anchor) {
4000
+ function openPipeMenu(card, target, anchor) {
3934
4001
  if (pipePop) {
3935
4002
  closePipeMenu();
3936
4003
  return;
3937
4004
  }
3938
- const target = sessionCardOf(card.pipeline?.targetSessionId);
3939
4005
  if (!target) return;
4006
+ const targetCard = cardOfPipeTarget(target);
4007
+ const label = pipeTargetLabel(target);
4008
+ const isNote = target.kind === "note";
3940
4009
  const pop = el("div", "iwb-popover iwb-link-menu");
3941
4010
  pop.setAttribute("role", "dialog");
3942
4011
  pop.setAttribute("aria-label", t2("pipe.title"));
3943
4012
  const head = el("div", "iwb-popover-head");
3944
- head.textContent = t2("pipe.title");
4013
+ head.textContent = isNote ? t2("pipe.noteTarget") : t2("pipe.title");
3945
4014
  const status = el("div", "iwb-popover-note");
3946
- status.textContent = t2("pipe.linked").replace("{name}", target.title || t2("untitled"));
4015
+ status.textContent = t2("pipe.linked").replace("{name}", label);
3947
4016
  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);
4017
+ if (!isNote) {
4018
+ const mode = target.mode === "draft" ? "draft" : "send";
4019
+ const modes = [
4020
+ { id: "send", label: t2("pipe.send"), hint: t2("pipe.sendHint") },
4021
+ { id: "draft", label: t2("pipe.draft"), hint: t2("pipe.draftHint") }
4022
+ ];
4023
+ for (const option of modes) {
4024
+ const row = el("button", "iwb-model-row" + (mode === option.id ? " current" : ""));
4025
+ row.type = "button";
4026
+ 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>' : "");
4027
+ row.querySelector(".iwb-model-name").textContent = option.label;
4028
+ row.querySelector(".iwb-model-desc").textContent = option.hint;
4029
+ row.addEventListener("click", (event) => {
4030
+ event.stopPropagation();
4031
+ const targets = pipeTargets(card).map(
4032
+ (entry) => entry.kind === target.kind && entry.id === target.id ? { ...entry, mode: option.id } : entry
4033
+ );
4034
+ setPipeTargets(card, targets);
4035
+ renderPipeBadge(card);
4036
+ schedulePipelines();
4037
+ saveSoon();
4038
+ closePipeMenu();
4039
+ toast(option.id === "draft" ? t2("pipe.modeDraft") : t2("pipe.modeSend"));
4040
+ });
4041
+ pop.appendChild(row);
4042
+ }
4043
+ } else {
4044
+ const statusRow = el("div", "iwb-popover-note");
4045
+ statusRow.textContent = t2("pipe.noteHint");
4046
+ pop.appendChild(statusRow);
3969
4047
  }
3970
4048
  const remove = el("button", "iwb-model-row iwb-link-remove");
3971
4049
  remove.type = "button";
3972
4050
  remove.innerHTML = '<span class="iwb-model-main"><span class="iwb-model-name"></span></span>';
3973
- remove.querySelector(".iwb-model-name").textContent = t2("pipe.remove");
4051
+ remove.querySelector(".iwb-model-name").textContent = isNote ? t2("pipe.removeNote") : t2("pipe.remove");
3974
4052
  remove.addEventListener("click", (event) => {
3975
4053
  event.stopPropagation();
3976
- card.pipeline = null;
4054
+ setPipeTargets(
4055
+ card,
4056
+ pipeTargets(card).filter((entry) => !(entry.kind === target.kind && entry.id === target.id))
4057
+ );
3977
4058
  renderPipeBadge(card);
3978
4059
  schedulePipelines();
3979
4060
  saveSoon();
3980
4061
  closePipeMenu();
3981
4062
  toast(t2("pipe.removed"));
4063
+ if (targetCard) ensureVisible(targetCard);
3982
4064
  });
3983
4065
  pop.appendChild(remove);
3984
4066
  const rect = anchor.getBoundingClientRect();
@@ -4008,6 +4090,16 @@ function createBoard({ host, adapter, approvals, t: t2, onOpenSession }) {
4008
4090
  } catch {
4009
4091
  }
4010
4092
  state.cards = state.cards.filter((c) => c !== card);
4093
+ const goneId = card.kind === "note" ? card.id : card.sessionId;
4094
+ const goneKind = card.kind === "note" ? "note" : "session";
4095
+ for (const other of state.cards) {
4096
+ const targets = pipeTargets(other);
4097
+ const kept = targets.filter((target) => !(target.kind === goneKind && target.id === goneId));
4098
+ if (kept.length !== targets.length) {
4099
+ setPipeTargets(other, kept);
4100
+ renderPipeBadge(other);
4101
+ }
4102
+ }
4011
4103
  schedulePipelines();
4012
4104
  if (state.selected.delete(card.id)) renderBatchBar();
4013
4105
  if (state.focusedId === card.id) {
@@ -4769,7 +4861,7 @@ function createBoard({ host, adapter, approvals, t: t2, onOpenSession }) {
4769
4861
  y: card.y,
4770
4862
  w: card.w,
4771
4863
  h: card.h,
4772
- pipeline: card.pipeline || null
4864
+ pipeline: pipeTargets(card).length ? { targets: pipeTargets(card) } : null
4773
4865
  });
4774
4866
  }
4775
4867
  for (const stack of saved.stacks || []) {
@@ -4803,13 +4895,14 @@ function createBoard({ host, adapter, approvals, t: t2, onOpenSession }) {
4803
4895
  pan: state.pan,
4804
4896
  settings: { ...state.settings },
4805
4897
  cards: state.cards.map((card) => ({
4898
+ id: card.kind === "note" ? card.id : void 0,
4806
4899
  sessionId: card.sessionId,
4807
4900
  title: card.title,
4808
4901
  workspace: card.workspace || "",
4809
4902
  kind: card.kind || "session",
4810
4903
  note: card.note || "",
4811
4904
  pinned: Boolean(card.pinned),
4812
- pipeline: card.pipeline || null,
4905
+ pipeline: pipeTargets(card).length ? { targets: pipeTargets(card) } : null,
4813
4906
  x: card.x,
4814
4907
  y: card.y,
4815
4908
  w: card.w,
@@ -6124,9 +6217,16 @@ var zh = {
6124
6217
  "pipe.linked": "\u6D41\u6C34\u7EBF\u5DF2\u6307\u5411\u300C{name}\u300D",
6125
6218
  "pipe.modeSendHint": "\u5F53\u524D\uFF1A\u5B8C\u6210\u540E\u81EA\u52A8\u53D1\u9001",
6126
6219
  "pipe.modeDraftHint": "\u5F53\u524D\uFF1A\u53EA\u586B\u5165\u8349\u7A3F",
6220
+ "pipe.already": "\u5DF2\u7ECF\u8FDE\u8FC7\u300C{name}\u300D\u4E86",
6221
+ "pipe.multi": "\u2192 {n} \u4E2A\u4E0B\u6E38",
6222
+ "pipe.noted": "\u7ED3\u679C\u5DF2\u8FFD\u52A0\u5230\u4FBF\u7B7E\u300C{name}\u300D",
6223
+ "pipe.noteBlock": "## \u6765\u81EA\u300C{title}\u300D \xB7 {time}\n\n{text}",
6224
+ "pipe.noteTarget": "\u6D41\u6C34\u7EBF \u2192 \u4FBF\u7B7E",
6225
+ "pipe.noteHint": "\u4E0B\u6E38\u662F\u4FBF\u7B7E\uFF1A\u8DD1\u5B8C\u628A\u7ED3\u679C\u8FFD\u52A0\u8FDB\u53BB\uFF0C\u4E0D\u53D1\u9001",
6226
+ "pipe.removeNote": "\u5220\u9664\u8FD9\u6761\u4FBF\u7B7E\u6D41\u6C34\u7EBF",
6127
6227
  "pipe.port": "\u62D6\u8FD9\u6761\u7EBF\u5230\u53E6\u4E00\u5F20\u5361\uFF0C\u5EFA\u7ACB\u6D41\u6C34\u7EBF",
6128
6228
  "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",
6229
+ "pipe.needTarget": "\u62D6\u5230\u53E6\u4E00\u5F20\u5361\uFF08\u4F1A\u8BDD\u5361\u6216\u4FBF\u7B7E\uFF09\u4E0A\u624D\u7B97\u8FDE\u7EBF",
6130
6230
  "pipe.remove": "\u5220\u9664\u8FD9\u6761\u6D41\u6C34\u7EBF",
6131
6231
  "pipe.removed": "\u6D41\u6C34\u7EBF\u5DF2\u5220\u9664",
6132
6232
  "pipe.sendHint": "\u5B8C\u6210\u540E\u81EA\u52A8\u628A\u7ED3\u679C\u53D1\u8FC7\u53BB",
@@ -6409,9 +6509,16 @@ var en = {
6409
6509
  "pipe.linked": "Pipeline points at \u201C{name}\u201D",
6410
6510
  "pipe.modeSendHint": "Currently: auto-send on completion",
6411
6511
  "pipe.modeDraftHint": "Currently: draft only",
6512
+ "pipe.already": "\u201C{name}\u201D is already connected",
6513
+ "pipe.multi": "\u2192 {n} downstream",
6514
+ "pipe.noted": "Result appended to note \u201C{name}\u201D",
6515
+ "pipe.noteBlock": "## From \u201C{title}\u201D \xB7 {time}\n\n{text}",
6516
+ "pipe.noteTarget": "Pipeline \u2192 note",
6517
+ "pipe.noteHint": "Note downstream: the result is appended, never sent",
6518
+ "pipe.removeNote": "Remove this note pipeline",
6412
6519
  "pipe.port": "Drag this line onto another card to wire a pipeline",
6413
6520
  "pipe.created": "Pipeline wired to \u201C{name}\u201D",
6414
- "pipe.needTarget": "Drop it on another session card to connect",
6521
+ "pipe.needTarget": "Drop it on another card (session or note) to connect",
6415
6522
  "pipe.remove": "Remove this pipeline",
6416
6523
  "pipe.removed": "Pipeline removed",
6417
6524
  "pipe.sendHint": "Send the result downstream when the turn finishes",