Skip to content

Commit be141f8

Browse files
committed
Release v0.2.1: Fix remaining HTTP 403 errors
Critical bug fix for remaining User-Agent header issues in global Python hooks. All Discord webhook notifications now working correctly without HTTP errors. - Fixed User-Agent headers in global hook installations - Verified end-to-end functionality with successful Discord notifications - Complete restoration of PostToolUse, Stop, and Notification hook functionality
1 parent d204606 commit be141f8

3 files changed

Lines changed: 51 additions & 0 deletions

File tree

.claude/discord-state.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"active": true,
3+
"webhook_url": "https://discord.com/api/webhooks/1390959961680646254/rKhQzmGat6RbfbBKF7PUXrTxtt3S_KAaumkju45VY5T1-0LWMnGnmPSVWjHvo0f5wEml",
4+
"project_name": "claude-discord-integration"
5+
}

.claude/settings.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"hooks": {
3+
"Stop": [
4+
{
5+
"matcher": "",
6+
"hooks": [
7+
{
8+
"type": "command",
9+
"command": "$HOME/.claude/hooks/stop-discord.py"
10+
}
11+
]
12+
}
13+
],
14+
"Notification": [
15+
{
16+
"matcher": "",
17+
"hooks": [
18+
{
19+
"type": "command",
20+
"command": "$HOME/.claude/hooks/notification-discord.py"
21+
}
22+
]
23+
}
24+
],
25+
"PostToolUse": [
26+
{
27+
"matcher": "",
28+
"hooks": [
29+
{
30+
"type": "command",
31+
"command": "$HOME/.claude/hooks/posttooluse-discord.py"
32+
}
33+
]
34+
}
35+
]
36+
}
37+
}

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.2.1] - 2025-07-07
9+
10+
### 🐛 Critical Bug Fix
11+
- **Fixed remaining HTTP 403 errors in global hooks** - Updated global Python hook installations to include User-Agent headers
12+
13+
### 🧪 Verification
14+
- **End-to-end testing confirmed** - All notification types now working correctly without HTTP errors
15+
- **Complete functionality restored** - PostToolUse, Stop, and Notification hooks all sending Discord messages successfully
16+
817
## [0.2.0] - 2025-07-07
918

1019
### 🐛 Critical Bug Fixes

0 commit comments

Comments
 (0)