mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-12 12:54:07 -07:00
feat(hooks): add support for friendly names and descriptions (#15174)
This commit is contained in:
@@ -1867,6 +1867,10 @@
|
||||
"type": "object",
|
||||
"description": "Individual hook configuration.",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "Unique identifier for the hook."
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"description": "Type of hook (currently only \"command\" supported)."
|
||||
@@ -1875,6 +1879,10 @@
|
||||
"type": "string",
|
||||
"description": "Shell command to execute. Receives JSON input via stdin and returns JSON output via stdout."
|
||||
},
|
||||
"description": {
|
||||
"type": "string",
|
||||
"description": "A description of the hook."
|
||||
},
|
||||
"timeout": {
|
||||
"type": "number",
|
||||
"description": "Timeout in milliseconds for hook execution."
|
||||
|
||||
Reference in New Issue
Block a user