From fdd0483286235c8de3d0264827f464005266c609 Mon Sep 17 00:00:00 2001 From: iRedTea Date: Fri, 16 Oct 2026 10:48:34 +0300 Subject: [PATCH] feat: no note under the command in the assistant's question --- internal/server/web/static/ai.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/server/web/static/ai.js b/internal/server/web/static/ai.js index e11d359..755151b 100644 --- a/internal/server/web/static/ai.js +++ b/internal/server/web/static/ai.js @@ -360,8 +360,7 @@ // (or the start of the text) in mono. function confirmAction(a) { const m = machineOf(a.machine), where = m ? m.name : (a.machine || 'активная машина'); - if (a.kind === 'run') return UI.confirm('Выполнить команду на {chip}?', {ok: 'Выполнить', chip: where, code: a.body, - note: 'Уйдёт в терминал этой машины с вашими правами.'}); + if (a.kind === 'run') return UI.confirm('Выполнить команду на {chip}?', {ok: 'Выполнить', chip: where, code: a.body}); const lines = a.body.split('\n'); return UI.confirm('Записать файл {chip}?', {ok: 'Записать', chip: where + ':' + a.path, code: lines.slice(0, 12).join('\n') + (lines.length > 12 ? '\n…' : ''),