feat: ship usable local v1 with demo, workers, approvals, and docker support
This commit is contained in:
46
README.md
46
README.md
@@ -23,6 +23,8 @@ Boss 是一个面向多设备开发协作的 agent control plane。
|
||||
- SSE 实时事件流
|
||||
- Web 控制台
|
||||
- `boss-worker` 模拟执行器
|
||||
- `npm run smoke` 自动跑端到端验证
|
||||
- `Dockerfile` + `compose.yaml` 支持容器启动
|
||||
|
||||
## 当前推荐方向
|
||||
|
||||
@@ -45,7 +47,7 @@ Boss 是一个面向多设备开发协作的 agent control plane。
|
||||
|
||||
```bash
|
||||
npm install
|
||||
npm run dev
|
||||
npm run demo
|
||||
```
|
||||
|
||||
浏览器打开:
|
||||
@@ -54,10 +56,50 @@ npm run dev
|
||||
http://127.0.0.1:43210
|
||||
```
|
||||
|
||||
另开终端启动 worker:
|
||||
如果你只想单独启动服务端:
|
||||
|
||||
```bash
|
||||
npm run dev
|
||||
```
|
||||
|
||||
如果你要手工启动 worker:
|
||||
|
||||
```bash
|
||||
npm run worker -- --name win-a --os windows --capability terminal --capability browser
|
||||
npm run worker -- --name win-b --os windows --capability terminal --capability test
|
||||
npm run worker -- --name mac-a --os macos --capability terminal --capability test --capability browser
|
||||
```
|
||||
|
||||
一键本地 demo:
|
||||
|
||||
```bash
|
||||
npm install
|
||||
npm run demo
|
||||
```
|
||||
|
||||
这会拉起:
|
||||
|
||||
- Web/API 服务
|
||||
- 2 台 Windows 模拟 worker
|
||||
- 1 台 Mac 模拟 worker
|
||||
|
||||
自动 smoke test:
|
||||
|
||||
```bash
|
||||
npm run smoke
|
||||
```
|
||||
|
||||
容器启动:
|
||||
|
||||
```bash
|
||||
docker compose up --build
|
||||
```
|
||||
|
||||
## 当前 v1 能力
|
||||
|
||||
- 创建项目会话并持续对话
|
||||
- 自动生成任务树并调度到不同 worker
|
||||
- worker 心跳、掉线回收、任务重排
|
||||
- 审批、暂停、恢复、取消、重排
|
||||
- SSE 实时事件流和 Web 控制台
|
||||
- 一键 demo 启动
|
||||
|
||||
Reference in New Issue
Block a user