mirror of
https://github.com/openai/codex.git
synced 2026-04-29 00:55:38 +00:00
Add guardian review client overrides
This commit is contained in:
@@ -718,7 +718,8 @@
|
||||
"AutoReviewDecisionSource": {
|
||||
"description": "[UNSTABLE] Source that produced a terminal guardian approval review decision.",
|
||||
"enum": [
|
||||
"agent"
|
||||
"agent",
|
||||
"user"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
@@ -1640,6 +1641,30 @@
|
||||
"title": "Review/startRequest",
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"id": {
|
||||
"$ref": "#/definitions/RequestId"
|
||||
},
|
||||
"method": {
|
||||
"enum": [
|
||||
"item/autoApprovalReview/override"
|
||||
],
|
||||
"title": "Item/autoApprovalReview/overrideRequestMethod",
|
||||
"type": "string"
|
||||
},
|
||||
"params": {
|
||||
"$ref": "#/definitions/ItemGuardianApprovalReviewOverrideParams"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"method",
|
||||
"params"
|
||||
],
|
||||
"title": "Item/autoApprovalReview/overrideRequest",
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"id": {
|
||||
@@ -5050,6 +5075,14 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"GuardianApprovalReviewOverrideDecision": {
|
||||
"description": "[UNSTABLE] Client decision that preempts a pending guardian approval review.",
|
||||
"enum": [
|
||||
"approve",
|
||||
"decline"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"GuardianApprovalReviewStatus": {
|
||||
"description": "[UNSTABLE] Lifecycle state for a guardian approval review.",
|
||||
"enum": [
|
||||
@@ -5422,6 +5455,38 @@
|
||||
"title": "ItemGuardianApprovalReviewCompletedNotification",
|
||||
"type": "object"
|
||||
},
|
||||
"ItemGuardianApprovalReviewOverrideParams": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"description": "[UNSTABLE] Params for preempting a pending guardian approval review.",
|
||||
"properties": {
|
||||
"decision": {
|
||||
"$ref": "#/definitions/GuardianApprovalReviewOverrideDecision"
|
||||
},
|
||||
"reviewId": {
|
||||
"type": "string"
|
||||
},
|
||||
"threadId": {
|
||||
"type": "string"
|
||||
},
|
||||
"turnId": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"decision",
|
||||
"reviewId",
|
||||
"threadId",
|
||||
"turnId"
|
||||
],
|
||||
"title": "ItemGuardianApprovalReviewOverrideParams",
|
||||
"type": "object"
|
||||
},
|
||||
"ItemGuardianApprovalReviewOverrideResponse": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"description": "[UNSTABLE] Empty response for `item/autoApprovalReview/override`.",
|
||||
"title": "ItemGuardianApprovalReviewOverrideResponse",
|
||||
"type": "object"
|
||||
},
|
||||
"ItemGuardianApprovalReviewStartedNotification": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"description": "[UNSTABLE] Temporary notification payload for guardian automatic approval review. This shape is expected to change soon.",
|
||||
|
||||
Reference in New Issue
Block a user