UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

1 lines • 950 B
import{n as e,r as t}from"./rolldown-runtime-CNOWq4Kh.js";import{Sn as n,bn as r}from"./control-ui-connection-Bfj9beF_.js";import{$v as i,Ck as a,QA as o,ZA as s,_j as c,hj as l,kk as u,ny as d,ry as f,ty as p,vS as m,yS as h}from"./control-ui-boot-shared-DFTSUQQ0.js";import{F as g,U as _,gt as v,j as y,u as b}from"./solid-runtime-C416s-HC.js";var x=t({AgentAvatar:()=>S}),S;function C(){return(C=e((()=>{b(),_(),a(),r(),h(),l(),o(),d(),p(),S=s(`openclaw-agent-avatar`,e=>{let t=f(),r=m();v(()=>r.connect());let a=c(r,e=>e),o=g(()=>{t();let i=e.option,o=e.identity,s=i.agent?n(i.agent,o):null;return a.read().withActiveRoutes(()=>({image:s?r.resolve(s):null,textAvatar:i.agent?u(i.agent,o):null,onError:s?r.imageErrorHandler(s):void 0}))});return y(i,{get option(){return e.option},get avatar(){return o()}})},{properties:{option:{default:{value:``,label:``},attribute:!1},identity:{default:null,attribute:!1}}})})))()}export{x as n,C as r,S as t};