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:
Kyle Fang
2025-07-18 09:11:08 +08:00
parent e78b7cdf90
commit 4a473fbf8f

View File

@@ -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