feat: 添加 hello_plugin 示例,包含插件结构、命令处理和测试用例

This commit is contained in:
whatevertogo
2026-03-14 22:38:25 +08:00
parent 0ea532bd91
commit 956d12cb5c
9 changed files with 396 additions and 0 deletions

14
test_plugin/new/README.md Normal file
View File

@@ -0,0 +1,14 @@
# test_plugin/new
这个目录是运行时与集成测试夹具,不是给插件作者直接照抄的入门模板。
它的目标是覆盖更多 SDK surface例如
- 生命周期
- LLM / DB / Memory / Platform / HTTP / Metadata client
- 自定义 capability
- schedule / event / message / command handler
如果你是在找最小可学习示例,请改看:
- `examples/hello_plugin/`