Inturrupt/Cancel "Thinking" for sessions using claude code typescript sdk
Resolved 💬 3 comments Opened Sep 5, 2025 by Eduard-Hasa Closed Sep 8, 2025
I am building a claude code session manager and had a great time building everything minus a single feature ive spent days on with no luck.
I have figure out based on docs tried using AbortController() and "Resume with session management" and have not found a way to interrupt a "thinking" session and then resume sending it messages (while keeping previous message history context). Ive got it to interrupt and resume but always never remembers the previous message history.
Does anyone have any direct information or examples on how to achieve this with the typescript sdk? Anything I can feed in my claude code agent working on this matter would be amazing help.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗