diff --git a/README.md b/README.md index e741f76..d43da82 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# PIT Channel +# 智队频道

Version @@ -6,15 +6,15 @@ OpenClaw Version

-> OpenClaw Channel 插件,连接 PIT Router 实现多 Agent 协作 +> OpenClaw Channel 插件,连接智队中枢实现多 Agent 协作 ## 📖 简介 -PIT Channel 是 OpenClaw 的 Channel 插件,用于连接 **PIT Router(个人智能体团队路由服务)**,实现多 Agent 之间的消息路由和协作通信。 +**智队频道**是 OpenClaw 的 Channel 插件,用于连接 **智队中枢(Personal Intelligent Team Router)**,实现多 Agent 之间的消息路由和协作通信。 -### 什么是 PIT Router? +### 什么是智队中枢? -PIT Router 是一个消息路由服务,负责: +智队中枢是一个消息路由服务,负责: - 管理多个用户连接 - 将用户消息路由到正确的 Agent - 支持 Agent 之间的协作通信 @@ -39,7 +39,7 @@ PIT Router 是一个消息路由服务,负责: ``` ┌──────────────┐ WebSocket ┌──────────────┐ -│ PIT Router │ ←─────────────→ │ PIT Channel │ +│ 智队中枢 │ ←─────────────→ │ 智队频道 │ │ (服务端) │ │ (OpenClaw) │ └──────────────┘ └──────────────┘ ↑ ↓ @@ -55,7 +55,7 @@ PIT Router 是一个消息路由服务,负责: - Node.js >= 20.0.0 - OpenClaw >= 2026.3.0 -- PIT Router 服务端 +- 智队中枢服务端 ### 安装插件 @@ -97,7 +97,7 @@ openclaw plugins install @openclaw/pit-channel | 参数 | 类型 | 默认值 | 说明 | |------|------|--------|------| -| `routerUrl` | string | - | **必填** PIT Router WebSocket 地址 | +| `routerUrl` | string | - | **必填** 智队中枢 WebSocket 地址 | | `authToken` | string | - | 认证 Token,支持 `${ENV_VAR}` 引用环境变量 | | `enabled` | boolean | true | 是否启用 | | `reconnectInterval` | number | 5000 | 重连间隔(毫秒) | diff --git a/openclaw.plugin.json b/openclaw.plugin.json index 340c1cf..6f382c0 100644 --- a/openclaw.plugin.json +++ b/openclaw.plugin.json @@ -1,15 +1,15 @@ { "$schema": "https://raw.githubusercontent.com/openclaw/openclaw/main/schemas/plugin.json", - "id": "pit-bot", - "name": "PIT Bot", + "id": "zhidui-channel", + "name": "智队频道", "version": "1.0.0", - "description": "Connect to PIT Router for multi-agent support", + "description": "连接智队中枢实现多 Agent 协作", "entry": "dist/index.js", "minOpenClawVersion": "2026.3.0", "author": "小白 🐶", "license": "MIT", - "repository": "https://github.com/your-org/openclaw-pit-bot", - "homepage": "https://github.com/your-org/openclaw-pit-bot#readme", + "repository": "https://github.com/your-org/openclaw-zhidui-channel", + "homepage": "https://github.com/your-org/openclaw-zhidui-channel#readme", "capabilities": { "chatTypes": ["direct"], "media": true, @@ -20,55 +20,55 @@ "config": { "sections": [ { - "key": "channels.pit-bot", - "label": "PIT Bot", - "description": "PIT Router connection settings", + "key": "channels.zhidui-channel", + "label": "智队频道", + "description": "智队中枢连接配置", "schema": { "type": "object", "properties": { "enabled": { "type": "boolean", "default": true, - "description": "Enable PIT Bot channel" + "description": "启用智队频道" }, "routerUrl": { "type": "string", "format": "uri", - "description": "PIT Router WebSocket URL" + "description": "智队中枢 WebSocket 地址" }, "authToken": { "type": "string", - "description": "Authentication token or ${ENV_VAR}" + "description": "认证 Token 或 ${ENV_VAR}" }, "reconnectInterval": { "type": "integer", "minimum": 1000, "default": 5000, - "description": "Reconnection interval in milliseconds" + "description": "重连间隔(毫秒)" }, "heartbeatInterval": { "type": "integer", "minimum": 1000, "default": 30000, - "description": "Heartbeat interval in milliseconds" + "description": "心跳间隔(毫秒)" }, "heartbeatTimeout": { "type": "integer", "minimum": 1000, "default": 10000, - "description": "Heartbeat timeout in milliseconds" + "description": "心跳超时(毫秒)" }, "ackTimeout": { "type": "integer", "minimum": 1000, "default": 30000, - "description": "Message acknowledgment timeout in milliseconds" + "description": "消息确认超时(毫秒)" }, "maxQueueSize": { "type": "integer", "minimum": 1, "default": 100, - "description": "Maximum message queue size" + "description": "离线消息队列最大长度" }, "accounts": { "type": "object", diff --git a/package.json b/package.json index 3026849..262125f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { - "name": "openclaw-pit-bot", + "name": "openclaw-zhidui-channel", "version": "1.0.0", - "description": "PIT Bot Channel Plugin for OpenClaw - Connect to PIT Router for multi-agent support", + "description": "智队频道插件 for OpenClaw - 连接智队中枢实现多 Agent 协作", "main": "dist/index.js", "types": "dist/index.d.ts", "type": "module", @@ -16,8 +16,9 @@ }, "keywords": [ "openclaw", - "pit-bot", - "pit-router", + "zhidui-channel", + "zhidui", + "智队中枢", "channel-plugin", "multi-agent", "websocket" @@ -26,12 +27,12 @@ "license": "MIT", "repository": { "type": "git", - "url": "https://github.com/your-org/openclaw-pit-bot.git" + "url": "https://github.com/your-org/openclaw-zhidui-channel.git" }, "bugs": { - "url": "https://github.com/your-org/openclaw-pit-bot/issues" + "url": "https://github.com/your-org/openclaw-zhidui-channel/issues" }, - "homepage": "https://github.com/your-org/openclaw-pit-bot#readme", + "homepage": "https://github.com/your-org/openclaw-zhidui-channel#readme", "dependencies": { "openclaw": "~2026.3.0", "ws": "^8.18.0", @@ -52,8 +53,9 @@ "node": ">=20.0.0" }, "openclaw": { - "pluginId": "pit-bot", - "minOpenClawVersion": "2026.3.0" + "pluginId": "zhidui-channel", + "minOpenClawVersion": "2026.3.0", + "extensions": ["./dist/index.js"] }, "files": [ "dist/**/*",