Modules§
- error_
codes - 标准错误码模块 / Standard error codes module
- events
- SMCP事件常量定义
Structs§
- Agent
Call Data - 代理调用数据(基类)
- Enter
Office Notification - 进入办公室通知
- Enter
Office Req - 进入办公室请求
- Error
Detail - 错误详情结构 / Error detail structure
- Error
Response - 标准错误响应格式 / Standard error response format 格式: { “error”: { “code”: i32, “message”: str, “details”: object? } }
- GetComputer
Config Req - 获取计算机配置请求
- GetComputer
Config Ret - 获取计算机配置返回
- GetDesktop
Req - 获取桌面请求
- GetDesktop
Ret - 获取桌面返回
- GetTools
Req - 获取工具请求
- GetTools
Ret - 获取工具返回
- Leave
Office Notification - 离开办公室通知
- Leave
Office Req - 离开办公室请求
- List
Room Req - 列出房间请求
- List
Room Ret - 列出房间返回
- ReqId
- 请求ID,使用UUID确保全局唯一性
- SMCP
Tool - SMCP工具定义
- Session
Info - 会话信息
- Tool
Call Req - 工具调用请求
- Tool
Call Ret - 工具调用返回(符合 MCP CallToolResult 标准)
- Update
Computer Config Req - 更新计算机配置请求
- UpdateMCP
Config Notification - 更新MCP配置通知
- Update
Tool List Notification - 更新工具列表通知
- User
Info - 用户信息
Enums§
- Notification
- 通知类型枚举
- Role
- 角色类型
Constants§
- SMCP_
NAMESPACE - SMCP协议的命名空间
Type Aliases§
- Desktop
- 桌面类型别名