MCP-таблица: ui/message с content массивом блоков (хост отклонял объект)
All checks were successful
ci / test (push) Successful in 38s
ci / deploy (push) Successful in 2m41s

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-18 20:22:27 +03:00
parent 053b5018c0
commit cba424c86a

View File

@@ -159,7 +159,7 @@ document.addEventListener("click",function(e){
if(t.id==="done")run(selIds(),"done");
if(t.id==="deleg")run(selIds(),"handoff");
if(t.id==="snz")run(selIds(),"snooze");
if(t.id==="ask")req("ui/message",{role:"user",content:{type:"text",text:selText()+" Расскажи подробнее про эти задачи и предложи, что с ними сделать."}}).catch(function(e){status("Не удалось отправить в чат: "+((e&&e.message)||e));});
if(t.id==="ask")req("ui/message",{role:"user",content:[{type:"text",text:selText()+" Расскажи подробнее про эти задачи и предложи, что с ними сделать."}]}).catch(function(e){status("Не удалось отправить в чат: "+((e&&e.message)||e));});
});
document.addEventListener("change",function(e){var t=e.target;if(t&&t.dataset&&t.dataset.sel){sel[t.dataset.sel]=t.checked;updBtns();pushCtx();}});
window.addEventListener("message",function(e){