[Bug] SessionStart hook systemMessage no longer displayed in TUI (v2.1.119)
Status Fixed / completed
Maintainer reply None cached
Activity 5 comments · opened Apr 24, 2026 · closed Apr 24, 2026
Bug Description
SessionStart hook's systemMessage output is no longer displayed in the Claude Code TUI after v2.1.119 update.
Steps to Reproduce
Configure a SessionStart hook in ~/.claude/settings.json:
{
"hooks": {
"SessionStart": [{
"hooks": [{
"type": "command",
"command": "echo '{\"systemMessage\": \"test\"}'"
}]
}]
}
}
Then start a new Claude Code session.
Expected Behavior
TUI automatically shows SessionStart:startup says: ... banner at session start — without any user input required.
This is the intended use: the TUI notification allows users to see hook output (e.g., git pull results, config sync status) immediately when a session opens, without needing to type anything first.
Actual Behavior
systemMessage is injected into Claude's context (Claude can read it), but nothing is displayed in the TUI. No visible notification appears at session start.
Version Info
- Claude Code: v2.1.119
- OS: Windows 10 Pro 10.0.19045
- Previously working correctly: v2.1.117
5 Comments
Additional test results:
Tested with plain text stdout (not JSON):
Result: Also not displayed in TUI (v2.1.119)
So the issue is not specific to
systemMessageJSON format — any stdout output from SessionStart hook is no longer shown in TUI in v2.1.119.The hook itself runs correctly (output is injected into Claude's context), but the TUI visual notification is completely gone.
Found 1 possible duplicate issue:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
<img width="651" height="283" alt="Image" src="https://github.com/user-attachments/assets/d85c24f5-7edb-4820-8754-2dc4e2e9db7f" />
Closing as duplicate of #41285. Additional test results added there.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.