@songm_d/standalone-toolbar-service
Version:
独立的Stagewise工具栏服务 - 支持SRPC通信和WebSocket广播,可与MCP反馈收集器集成
41 lines (28 loc) • 985 B
Markdown
# @songm_d/standalone-toolbar-service
[](https://badge.fury.io/js/@smd%2Fstandalone-toolbar-service)
[](https://opensource.org/licenses/MIT)
[](https://nodejs.org/)
独立的Stagewise工具栏服务,支持SRPC通信和WebSocket广播。
## 快速启动
使用npx直接启动服务(无需安装):
```bash
npx @smd/standalone-toolbar-service
```
## 服务端点
- **SRPC WebSocket**: `ws://localhost:5748` - Stagewise工具栏连接
- **广播WebSocket**: `ws://localhost:5748/broadcast` - WebService客户端连接
- **健康检查**: `http://localhost:5748/health`
## 开发
```bash
# 克隆项目
git clone <repository-url>
cd toolbar
# 安装依赖
npm install
# 开发模式
npm run dev
# 构建
npm run build
# 启动
npm start
```