Skip to content

Your lightweight open-source personal agent.

fix(docs): update channel plugin build backend to hatchling

Jiajun Xie19c1facf7f76
diff --git a/docs/CHANNEL_PLUGIN_GUIDE.md b/docs/CHANNEL_PLUGIN_GUIDE.md
index 65ff9eec9..70087f335 100644
--- a/docs/CHANNEL_PLUGIN_GUIDE.md
+++ b/docs/CHANNEL_PLUGIN_GUIDE.md
@@ -141,8 +141,11 @@ dependencies = ["nanobot", "aiohttp"]
webhook = "nanobot_channel_webhook:WebhookChannel"
[build-system]
-requires = ["setuptools"]
-build-backend = "setuptools.backends._legacy:_Backend"
+requires = ["hatchling"]
+build-backend = "hatchling.build"
+
+[tool.hatch.build.targets.wheel]
+packages = ["nanobot_channel_webhook"]
```
The key (`webhook`) becomes the config section name. The value points to your `BaseChannel` subclass.