Add guardian review client overrides

This commit is contained in:
Owen Lin
2026-04-09 21:20:54 -07:00
parent b114781495
commit e59f7fbf69
24 changed files with 817 additions and 13 deletions

View File

@@ -987,6 +987,14 @@
],
"type": "object"
},
"GuardianApprovalReviewOverrideDecision": {
"description": "[UNSTABLE] Client decision that preempts a pending guardian approval review.",
"enum": [
"approve",
"decline"
],
"type": "string"
},
"ImageDetail": {
"enum": [
"auto",
@@ -1038,6 +1046,30 @@
],
"type": "object"
},
"ItemGuardianApprovalReviewOverrideParams": {
"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"
],
"type": "object"
},
"ListMcpServerStatusParams": {
"properties": {
"cursor": {
@@ -4402,6 +4434,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": {