chore: 项目更名 - PIT Channel → 智队频道

This commit is contained in:
2026-03-14 21:47:20 +08:00
parent da3b03c0b5
commit 4201eb26cd
3 changed files with 35 additions and 33 deletions

View File

@@ -1,4 +1,4 @@
# PIT Channel
# 智队频道
<p align="center">
<img src="https://img.shields.io/badge/Version-1.0.0-blue.svg" alt="Version">
@@ -6,15 +6,15 @@
<img src="https://img.shields.io/badge/OpenClaw-2026.3+-orange.svg" alt="OpenClaw Version">
</p>
> 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 | 重连间隔(毫秒) |

View File

@@ -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",

View File

@@ -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/**/*",