"use strict";exports.id=4611,exports.ids=[4611],exports.modules={84611:(a,b,c)=>{c.d(b,{relayToDispatcher:()=>f,spaceNameFromPath:()=>g});var d=c(76760),e=c.n(d);async function f(a){let b="done"===a.status?"✅":"question"===a.status||"blocked"===a.status?"❓":"\uD83D\uDCE8",d=`${b} ${a.spaceName}`;try{let{notify:b}=await c.e(1638).then(c.bind(c,71638));await b({title:d,body:a.body,...a.link?{link:a.link}:{}})}catch{}try{let{getDispatcherTopic:b}=await c.e(1307).then(c.bind(c,51307)),{appendEvent:d,nextSeq:e}=await Promise.resolve().then(c.bind(c,20243)),f=await b(),g=await e(f.rootPath,f.topicId);await d(f.rootPath,f.topicId,{type:"system",text:`[${a.spaceName}] ${a.body}`,agentId:"dispatcher-relay",ts:new Date().toISOString(),seq:g})}catch{}}function g(a){return e().basename(a)||a}}};