mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-30 12:40:44 +00:00
remove hooks experimental and refactor hook Config
This commit is contained in:
parent
1b1a029fd7
commit
5221002831
33 changed files with 722 additions and 322 deletions
|
|
@ -640,23 +640,10 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"hooksConfig": {
|
||||
"description": "Hook configurations for intercepting and customizing agent behavior.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"enabled": {
|
||||
"description": "Canonical toggle for the hooks system. When disabled, no hooks will be executed.",
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"disabled": {
|
||||
"description": "List of hook names (commands) that should be disabled. Hooks in this list will not execute even if configured.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
"disableAllHooks": {
|
||||
"description": "Temporarily disable all hooks without deleting configurations. Default is false (hooks enabled).",
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"hooks": {
|
||||
"description": "Hook event configurations for extending CLI behavior at various lifecycle points.",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue