可否在kiro的某些事件增加hook type
Feature Description
执行完成、等待输入、等待确认、执行失败、执行异常等一切需要人来操作后才能继续执行的。这样等待kiro执行的过程,我可以去喝杯咖啡
Use Case
目前来看,貌似只支持文件新增、删除等,当我尝试让kiro建立hook时,他会失败
Additional Context
No response
Creating hook: kiro执行完成、等待输入、等待确认、执行失败、执行异常等一切需要人来操作后才能继续执行的,都执行curl -H "X-Priority: 5" -d "kiro {event_body}" ntfy.sh/*****, {event_body}用中文描述
这个是当时的命令
Hey @jiangweibo240617 , Thanks for the feedback! Kiro 0.9 added several new hook trigger types beyond file events: promptSubmit, agentStop, preToolUse, and postToolUse. agentStop fires when execution completes, and preToolUse/postToolUse let you intercept tool invocations before and after they run — with filtering by category (read, write, shell, web) or tool name. See the 0.9 changelog for details. Closing this as addressed — feel free to open a new issue if you have additional needs.
Hey @jiangweibo240617 , Thanks for the feedback! Kiro 0.9 added several new hook trigger types beyond file events: promptSubmit, agentStop, preToolUse, and postToolUse. agentStop fires when execution completes, and preToolUse/postToolUse let you intercept tool invocations before and after they run — with filtering by category (read, write, shell, web) or tool name. See the 0.9 changelog for details. Closing this as addressed — feel free to open a new issue if you have additional needs.
好的,谢谢。我已经在使用了。如果再加一个等待用户授权的事件就更好了