mirror of
https://github.com/tiennm99/miti99bot-js.git
synced 2026-05-20 07:26:41 +00:00
919fa038d5
`npm run register` imports buildRegistry to derive the public command list but ran outside the Worker runtime, so `env.AI` was undefined — semantle (and previously doantu) tripped `createClient` type-checks. Add a no-op AI stub alongside stubKv and wire it through the buildRegistry env.