# 实施 — 新服务器接入自动化

## 文件

| 文件 | 变更 |
|------|------|
| `server/application/server_batch_common.py` | `detect_and_save_target_path` |
| `server/application/services/server_onboarding_service.py` | 调度入口 |
| `server/application/services/server_batch_service.py` | op `onboard` |
| `server/api/servers.py` | 创建/导入后触发 |
| `server/api/schemas.py` | `onboarding_job_id` |
| `frontend/.../useServerFormDialog.ts` | 注册进度条 |
| `tests/test_server_onboarding.py` | 单测 |

## 验证

```bash
pytest tests/test_server_onboarding.py -q
```
