You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
Prompt InputArea: what it touches
ImprovementsKind: in v2.1.333,
ImprovementsSection of the release
What
You can start Claude Code with a prompt piped in from another program, for example echo "..." | claude. Two things changed for that case:
A piped slash command, meaning text that starts with /, is now sent to Claude as an ordinary message instead of being run as a command. A notice appears: "Piped text sent as a message, not run as a command".
The piped prompt is now kept as its own value, pipedLaunchPrompt, and passed through when the session is prepared. The agent's initialPrompt template and the settings-fix prompt are now applied to it as well as to the main prompt. Before, only the single inputPrompt was rewritten.
Why
Scripts that pipe text beginning with / into claude no longer trigger a command, so check any script that relied on that. Agent start-up prompts and settings fixes now also apply to the piped text.