mirror of
https://github.com/zhigang1992/claude-code-notification.git
synced 2026-01-12 22:38:41 +08:00
Update notification format
- Include project name with "Claude Code" in event name - Remove brackets from project path in text - Format: "Claude Code - [project_name]" with text "[path]: [message]" 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -27,10 +27,10 @@ project_name=$(basename "$project_path")
|
||||
# Build JSON payload
|
||||
payload=$(cat <<EOF
|
||||
{
|
||||
"event": "$title - $project_name",
|
||||
"event": "Claude Code - $project_name",
|
||||
"channel": "Terminal",
|
||||
"emoji": "👋",
|
||||
"text": "[$project_path] $message",
|
||||
"text": "$project_path: $message",
|
||||
"notify": true
|
||||
}
|
||||
EOF
|
||||
|
||||
Reference in New Issue
Block a user