Commit c600ac6
committed
fix: make /continue command work correctly
- Regenerate v2 SDK to include session.continue() method
- Update TUI to call session.continue() instead of session.prompt()
- Simplify server continue endpoint logic to avoid race conditions
- Cancel existing session state before starting new loop to prevent
double abort errors
Closes sst#51501 parent b31cb9d commit c600ac6
File tree
5 files changed
+72
-255
lines changed- packages
- opencode/src
- cli/cmd/tui/routes/session
- server
- sdk/js
- src/v2/gen
5 files changed
+72
-255
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
397 | | - | |
398 | | - | |
399 | | - | |
400 | | - | |
| 397 | + | |
401 | 398 | | |
402 | 399 | | |
403 | 400 | | |
404 | 401 | | |
405 | 402 | | |
406 | 403 | | |
407 | | - | |
408 | 404 | | |
409 | 405 | | |
410 | 406 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1358 | 1358 | | |
1359 | 1359 | | |
1360 | 1360 | | |
1361 | | - | |
| 1361 | + | |
1362 | 1362 | | |
1363 | | - | |
1364 | | - | |
1365 | | - | |
1366 | | - | |
1367 | | - | |
1368 | | - | |
1369 | | - | |
1370 | | - | |
1371 | | - | |
1372 | | - | |
1373 | | - | |
1374 | | - | |
| 1363 | + | |
| 1364 | + | |
1375 | 1365 | | |
1376 | 1366 | | |
1377 | 1367 | | |
1378 | | - | |
1379 | | - | |
1380 | | - | |
1381 | | - | |
1382 | | - | |
1383 | | - | |
1384 | | - | |
1385 | | - | |
1386 | | - | |
1387 | | - | |
1388 | | - | |
1389 | | - | |
1390 | | - | |
| 1368 | + | |
| 1369 | + | |
1391 | 1370 | | |
1392 | | - | |
1393 | | - | |
1394 | | - | |
1395 | | - | |
1396 | | - | |
1397 | | - | |
1398 | | - | |
1399 | | - | |
| 1371 | + | |
| 1372 | + | |
| 1373 | + | |
1400 | 1374 | | |
1401 | 1375 | | |
1402 | 1376 | | |
| |||
0 commit comments