feat(plugin-runtime): add plugin isolation IPC infrastructure
- Protocol layer: Envelope model with Pydantic schema, MsgPack/JSON codecs, unified error codes - Transport layer: cross-platform IPC abstraction with 4-byte length-prefixed framing (UDS + TCP fallback) - Host: RPC server, policy engine, circuit breaker, capability service, supervisor with hot-reload - Runner: RPC client, plugin loader, process entry point - Tests: 16 passing tests covering protocol, transport, host, and E2E handshake
This commit is contained in:
2
src/plugin_runtime/__init__.py
Normal file
2
src/plugin_runtime/__init__.py
Normal file
@@ -0,0 +1,2 @@
|
||||
# MaiBot Plugin Runtime - 插件隔离运行时基础设施
|
||||
# 本模块实现 Host-Runner 进程分离架构,提供 IPC 通信、策略引擎与生命周期管理
|
||||
Reference in New Issue
Block a user