Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Elicitation hooks not fired when using AskUserQuestion tool

Đang mở
#45 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
powershell, shell
Lĩnh vực
cli, developer-experience

Hướng nghiên cứu

Start by reproducing the issue on Windows 11 with the Warp terminal and the warp@claude-code-warp plugin, using the provided Elicitation and Stop hook configuration. Trigger AskUserQuestion and compare its behavior with the working Stop hook and with standard terminals. Done means the Elicitation command executes and produces the expected log or other observable output.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Description

The Elicitation hook defined in ~/.claude/settings.json never fires
when Claude Code is running inside Warp. The hook is configured correctly
and works as expected in other terminals (confirmed by adding a log line
that is never written to disk).

The Stop hook works correctly in Warp.

Expected behavior

When Claude calls AskUserQuestion, the Elicitation hook should execute
before or alongside the question popup, the same as it does in standard terminals.

Actual behavior

The hook never runs. No log file is created, no command is executed.

Environment

  • Claude Code CLI
  • Warp terminal with warp@claude-code-warp plugin enabled
  • Windows 11

Hook configuration (settings.json)

{
"hooks": {
"Elicitation": [{ "hooks": [{ "type": "command", "command": "...", "shell": "powershell", "async": false }] }],
"Stop": [{ "hooks": [{ "type": "command", "command": "...", "shell": "powershell", "async": true }] }]
}
}

Ngôn ngữ chính
Shell
Star
234
Fork
59
Merge trung bình
2 ngày 8 giờ
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của warpdotdev/claude-code-warp

Tất cả issue của warpdotdev/claude-code-warp

Issue tương tự

Thêm issue về Shell/Bash

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.