From 7f5d1a0d03d1258550ca54d60f83f421ced870c9 Mon Sep 17 00:00:00 2001 From: Jonathan van Rij Date: Mon, 22 Jun 2026 06:14:29 +0200 Subject: [PATCH] update --- src/renderer/src/overlays.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/src/overlays.tsx b/src/renderer/src/overlays.tsx index c46a821..12762f7 100644 --- a/src/renderer/src/overlays.tsx +++ b/src/renderer/src/overlays.tsx @@ -18,11 +18,11 @@ export interface Toast { id: number; title: string; ref?: string } /** Build the exact text inserted into the agent for a "Pass on …" action. * - Plain reference / name → `note => thing` (or just `thing` with no note). - * - Selected code → `note [ref](ref)` followed by the code in a fenced block. */ + * - Selected code → `note ref` followed by the code in a fenced block. */ export function buildPass(note: string, ref: string, code?: string): string { const n = note.trim() if (code != null) { - const head = (n ? n + ' ' : '') + `[${ref}](${ref})` + const head = (n ? n + ' ' : '') + ref return head + '\n```\n' + code + '\n```' } return n ? `${n} => ${ref}` : ref