Loading...
Loading...
Compare original and translation side by side
undefinedundefined
**Checking if server is ready:** After starting, poll the session status to check `ready: true`. The daemon marks sessions ready either via configured health check endpoint or by detecting "Ready" patterns in logs.
**检查服务器是否就绪:**启动后,轮询会话状态以查看`ready: true`。守护进程会通过配置的健康检查端点或检测日志中的“Ready”标识来标记会话为就绪状态。| Command | Description |
|---|---|
| Check daemon status and list all sessions |
| List all dev sessions |
| Start dev server (default: current directory) |
| Get logs for a session |
| Tail logs continuously |
| Stop a session |
| Restart a session |
| Shutdown the daemon |
| 命令 | 说明 |
|---|---|
| 查看守护进程状态并列出所有会话 |
| 列出所有开发会话 |
| 启动开发服务器(默认:当前目录) |
| 获取指定会话的日志 |
| 持续跟踪日志 |
| 停止指定会话 |
| 重启指定会话 |
| 关闭守护进程 |
{
"id": "a1b2c3d4",
"worktree": "/path/to/worktree",
"branch": "feature/my-feature",
"port": 3000,
"status": "running",
"ready": true,
"readyAt": "2024-01-15T10:30:02.000Z",
"startedAt": "2024-01-15T10:30:00.000Z",
"url": "http://localhost:3000"
}startingrunningstoppedcrashederror{
"id": "a1b2c3d4",
"worktree": "/path/to/worktree",
"branch": "feature/my-feature",
"port": 3000,
"status": "running",
"ready": true,
"readyAt": "2024-01-15T10:30:02.000Z",
"startedAt": "2024-01-15T10:30:00.000Z",
"url": "http://localhost:3000"
}startingrunningstoppedcrashederror{
"index": 42,
"timestamp": "2024-01-15T10:30:05.123Z",
"level": "stdout",
"message": "Ready on http://localhost:3000"
}stdoutstderrerrorwarninfo{
"index": 42,
"timestamp": "2024-01-15T10:30:05.123Z",
"level": "stdout",
"message": "Ready on http://localhost:3000"
}stdoutstderrerrorwarninfo