Files
AstrBot/test_plugin/new
whatevertogo 84184c4c0a feat(errors): Enhance AstrBotError with detailed documentation and examples
feat(events): Expand MessageEvent with reply capabilities and detailed docstrings

fix(loader): Ensure plugin path is correctly managed in sys.path

feat(star): Improve Star class documentation and lifecycle method descriptions

feat(testing): Add plugin metadata handling in MockContext and enhance PluginHarness

feat(hello): Refactor HelloPlugin to utilize new reply methods and structured capabilities

test(decorators): Add tests for input/output model support in provide_capability

test(events): Implement tests for reply_image and reply_chain methods in MessageEvent

test(http): Validate API registration with capability handler references and error handling

test(tests): Enhance tests for plugin harness and directory handling in dev commands
2026-03-14 23:37:09 +08:00
..

test_plugin/new

这个目录是运行时与集成测试夹具,不是给插件作者直接照抄的入门模板。

它的目标是覆盖更多 SDK surface例如

  • 生命周期
  • LLM / DB / Memory / Platform / HTTP / Metadata client
  • 自定义 capability
  • schedule / event / message / command handler

如果你是在找最小可学习示例,请改看:

  • examples/hello_plugin/