mirror of
https://github.com/openai/codex.git
synced 2026-05-03 02:46:39 +00:00
Add plugin hook enablement config APIs
This commit is contained in:
35
codex-rs/app-server-protocol/schema/json/v2/HooksConfigWriteParams.json
generated
Normal file
35
codex-rs/app-server-protocol/schema/json/v2/HooksConfigWriteParams.json
generated
Normal file
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"definitions": {
|
||||
"HookConfigSource": {
|
||||
"enum": [
|
||||
"plugin"
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"key": {
|
||||
"type": "string"
|
||||
},
|
||||
"pluginId": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"source": {
|
||||
"$ref": "#/definitions/HookConfigSource"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"enabled",
|
||||
"key",
|
||||
"source"
|
||||
],
|
||||
"title": "HooksConfigWriteParams",
|
||||
"type": "object"
|
||||
}
|
||||
Reference in New Issue
Block a user