Skip to content

Commit 09fa5f6

Browse files
fredchuclaude
andcommitted
chore: release v0.4.0
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent ba9479d commit 09fa5f6

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# Changelog
22

3+
## 0.4.0 - 2026-03-23
4+
5+
### Features
6+
- Interactive Discord buttons for AskUserQuestion permission prompts (replaces plain text)
7+
- Button click resumes Claude session with user's choice
8+
- Chained AskUserQuestion support (button → resume → another question → buttons again)
9+
- "Other..." button option for free-text answers
10+
11+
### Improvements
12+
- Extract `sendAskButtons` helper to deduplicate button rendering logic
13+
- Extract `createToolUseHandler` helper to deduplicate streaming callbacks
14+
- Add Discord customId length guard (`.slice(0, 100)`)
15+
- Simplify redundant try/catch in button handler reply flow
16+
317
## 0.3.0 - 2026-03-19
418

519
### Features

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "discord-claude-code-bot",
3-
"version": "0.3.0",
3+
"version": "0.4.0",
44
"type": "module",
55
"license": "MIT",
66
"repository": {

0 commit comments

Comments
 (0)