refactor: 更新插件和 RPC 服务器逻辑,增强握手状态管理与配置校验

This commit is contained in:
DrSmoothl
2026-03-21 00:46:34 +08:00
parent 85f060621d
commit 780cd4f767
6 changed files with 457 additions and 62 deletions

View File

@@ -17,7 +17,7 @@ from pydantic import BaseModel, Field
PROTOCOL_VERSION = "1.0.0"
# 支持的 SDK 版本范围Host 在握手时校验)
MIN_SDK_VERSION = "1.0.0"
MAX_SDK_VERSION = "1.99.99"
MAX_SDK_VERSION = "2.99.99"
# ====== 消息类型 ======