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:
1
src/plugin_runtime/protocol/__init__.py
Normal file
1
src/plugin_runtime/protocol/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
# Protocol 层 - RPC 消息模型、编解码、错误码
|
||||
Reference in New Issue
Block a user