mirror of
https://github.com/tiennm99/miti99bot-js.git
synced 2026-07-15 16:32:36 +00:00
`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.