Files
flutter__agent-plugins/.agents/hooks.json

42 lines
858 B
JSON

{
"dart-format": {
"Stop": [
{
"type": "command",
"command": "../tool/dart_hooks/bin/agent_dart_format.dart --source hook --log",
"timeout": 30
}
]
},
"dart-analyze": {
"Stop": [
{
"type": "command",
"command": "../tool/dart_hooks/bin/agent_dart_analyze.dart --source hook --log",
"timeout": 90
}
]
},
"flutter-app-runtime": {
"PostToolUse": [
{
"matcher": "write_to_file|replace_file_content|multi_replace_file_content",
"hooks": [
{
"type": "command",
"command": "hooks/flag-dart-edit",
"timeout": 10
}
]
}
],
"PreInvocation": [
{
"type": "command",
"command": "hooks/flutter-app-runtime",
"timeout": 10
}
]
}
}