Unclear It is not stated whether these options are open to SDK users generally or only to particular host programs.
What
Claude Code can be run by another program without its usual screen, for example through the SDK (a library for driving Claude Code from code). The loop that handles each turn in that mode gains several things:
- an option to re-run a prompt in place, reusing a prompt that is already stored, without processing slash commands, attachments or the hooks that run when a prompt is submitted
- a way to pass each piece of plain text to the host program as it streams in, which is dropped if the host's handler fails
- a record of which tools were used, passed on when processing input
- the client platform, now recorded on user messages
Why
This points to new behaviour for programs that embed Claude Code, around prompts that were refused and run again.
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
It is not stated whether these options are open to SDK users generally or only to particular host programs.