Overseer 共享层:数据模型与 JSON-RPC 协议(被 server 和 client 共同依赖)
Project description
overseer-shared
Overseer 多 AI 协同平台的共享层:数据模型与 JSON-RPC 协议。
被 overseer-server 和 overseer-client 共同依赖,定义跨进程传输的数据结构与协议常量。
内容
- models.py:
AIAgent、Role(overseer/worker)、ToolDescriptor/ResourceDescriptor(对齐 MCP)、Task/TaskStatus/TaskAssignment/ProgressReport/WorkerStats/RegisterRequest/RegisterResponse - protocol.py:JSON-RPC 2.0 报文 +
MessageType方法常量 +RPCErrorCode
安装
pip install overseer-shared
用法
from overseer_shared.models import Task, TaskStatus, Role
from overseer_shared.protocol import MessageType, JSONRPCRequest
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
overseer_shared-0.1.0.tar.gz
(5.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters