import{buildChannelConfigSchema as r}from"openclaw/plugin-sdk/weixin";import{weixinPlugin as o}from"./src/channel.js";import{WeixinConfigSchema as t}from"./src/config/config-schema.js";import{registerWeixinCli as l}from"./src/log-upload.js";import{setWeixinRuntime as m}from"./src/runtime.js";const p={id:"openclaw-weixin",name:"Weixin",description:"Weixin channel (getUpdates long-poll + sendMessage)",configSchema:r(t),register(i){if(!i?.runtime)throw new Error("[weixin] api.runtime is not available in register()");m(i.runtime),i.registerChannel({plugin:o}),i.registerCli(({program:e,config:n})=>l({program:e,config:n}),{commands:["openclaw-weixin"]})}};var c=p;export{c as default};
