Commit d50eaca
refactor: restart 纳入 handleControlCall 统一响应处理
将 restart 从 fire-and-forget 模式改为标准 switch-case 分支,
复用已有的 call-response WebSocket 返回逻辑,前端可获得同步响应。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 4a9b33d commit d50eaca
1 file changed
+6
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
255 | | - | |
256 | | - | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
257 | 260 | | |
258 | 261 | | |
259 | 262 | | |
260 | 263 | | |
261 | 264 | | |
262 | 265 | | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
| 266 | + | |
268 | 267 | | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | 268 | | |
274 | 269 | | |
275 | 270 | | |
| |||
0 commit comments