Commit 2f998b7
fix: resolve rebase conflicts with upstream session_state_changed and stopReason
The SDK now includes session_state_changed in its type union, so add it
as a proper case arm instead of handling it in default. Replace the
imported StopReason type with an inline union since it's only used for
the local stopReason variable. Remove dead stopReason assignments in
error_during_execution and error_max_* cases.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 3f4d42e commit 2f998b7
1 file changed
+7
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
| |||
511 | 510 | | |
512 | 511 | | |
513 | 512 | | |
514 | | - | |
| 513 | + | |
515 | 514 | | |
516 | 515 | | |
517 | 516 | | |
| |||
647 | 646 | | |
648 | 647 | | |
649 | 648 | | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
650 | 655 | | |
651 | 656 | | |
652 | 657 | | |
| |||
869 | 874 | | |
870 | 875 | | |
871 | 876 | | |
872 | | - | |
873 | 877 | | |
874 | 878 | | |
875 | 879 | | |
| |||
881 | 885 | | |
882 | 886 | | |
883 | 887 | | |
884 | | - | |
885 | 888 | | |
886 | 889 | | |
887 | 890 | | |
| |||
0 commit comments