Use it now Notable
No documentation found
Headless SDK sessions get a new appendMessages method to inject messages
What
The session object returned when running Claude Code headlessly (without the interactive terminal UI, as used by the Agent SDK) now has an appendMessages method. Calling it either queues the messages for later or sends them through directly, depending on the session's state.
Why
This gives code driving a headless session a direct way to add messages into it, useful for SDK integrations that need to feed messages into an ongoing session programmatically.
Names in the bundleappendMessages