MoonshotAI / MoonshotAI/kimi-cli
hook "Notification" never work
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 11.4k
- Forks
- 1.3k
- Avg merge
- 9h 47m
- Merged PRs (30d)
- 2
Description
What version of Kimi Code CLI is running?
1.44
Which open platform/subscription were you using?
windows cli
Which model were you using?
No response
What platform is your computer?
No response
What issue are you seeing?
文档中的 "Notification" hook并未生效
需要审批时发送桌面通知
[[hooks]]
event = "Notification"
What steps can reproduce the bug?
add a hook:
所有通知事件(权限审批、后台任务完成等)
[[hooks]]
event = "Notification"
command = "powershell -ExecutionPolicy Bypass -File "C:\Users\feng yi\.kimi\hooks\win-notify.ps1""
timeout = 10
需要审批时发送桌面通知
[[hooks]]
event = "Notification"
matcher = "permission_prompt"
command = "osascript -e 'display notification "Kimi needs attention" with title "Kimi CLI"'"
What is the expected behavior?
trigger notification when need permission
Additional information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in the Windows CLI using the documented Notification hook configuration and the PowerShell command. Start by tracing how the CLI reads the hooks configuration and handles the permission_prompt event; done means a permission request triggers the configured desktop notification.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell, python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100