mirror of
https://github.com/openai/codex.git
synced 2026-11-16 22:00:36 +00:00
remove approval metadata from sandbox policy branch
This commit is contained in:
@@ -2024,22 +2024,6 @@
|
||||
},
|
||||
"ResponseItemMetadata": {
|
||||
"properties": {
|
||||
"is_tool_call_escalated": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"review_decision": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ReviewDecisionMetadata"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sandbox_policy": {
|
||||
"anyOf": [
|
||||
{
|
||||
@@ -2049,16 +2033,6 @@
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"user_message_type": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/UserMessageType"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
@@ -2164,18 +2138,6 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"ReviewDecisionMetadata": {
|
||||
"enum": [
|
||||
"approved",
|
||||
"denied",
|
||||
"abort",
|
||||
"approved_for_session",
|
||||
"approved_with_amendment",
|
||||
"approved_with_network_policy_allow",
|
||||
"denied_with_network_policy_deny"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ReviewDelivery": {
|
||||
"enum": [
|
||||
"inline",
|
||||
|
||||
@@ -10747,22 +10747,6 @@
|
||||
},
|
||||
"ResponseItemMetadata": {
|
||||
"properties": {
|
||||
"is_tool_call_escalated": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"review_decision": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/v2/ReviewDecisionMetadata"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sandbox_policy": {
|
||||
"anyOf": [
|
||||
{
|
||||
@@ -10772,16 +10756,6 @@
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"user_message_type": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/v2/UserMessageType"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
@@ -10887,18 +10861,6 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"ReviewDecisionMetadata": {
|
||||
"enum": [
|
||||
"approved",
|
||||
"denied",
|
||||
"abort",
|
||||
"approved_for_session",
|
||||
"approved_with_amendment",
|
||||
"approved_with_network_policy_allow",
|
||||
"denied_with_network_policy_deny"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ReviewDelivery": {
|
||||
"enum": [
|
||||
"inline",
|
||||
|
||||
@@ -7515,22 +7515,6 @@
|
||||
},
|
||||
"ResponseItemMetadata": {
|
||||
"properties": {
|
||||
"is_tool_call_escalated": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"review_decision": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ReviewDecisionMetadata"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sandbox_policy": {
|
||||
"anyOf": [
|
||||
{
|
||||
@@ -7540,16 +7524,6 @@
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"user_message_type": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/UserMessageType"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
@@ -7655,18 +7629,6 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"ReviewDecisionMetadata": {
|
||||
"enum": [
|
||||
"approved",
|
||||
"denied",
|
||||
"abort",
|
||||
"approved_for_session",
|
||||
"approved_with_amendment",
|
||||
"approved_with_network_policy_allow",
|
||||
"denied_with_network_policy_deny"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ReviewDelivery": {
|
||||
"enum": [
|
||||
"inline",
|
||||
|
||||
@@ -872,22 +872,6 @@
|
||||
},
|
||||
"ResponseItemMetadata": {
|
||||
"properties": {
|
||||
"is_tool_call_escalated": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"review_decision": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ReviewDecisionMetadata"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sandbox_policy": {
|
||||
"anyOf": [
|
||||
{
|
||||
@@ -897,16 +881,6 @@
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"user_message_type": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/UserMessageType"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
@@ -1012,18 +986,6 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"ReviewDecisionMetadata": {
|
||||
"enum": [
|
||||
"approved",
|
||||
"denied",
|
||||
"abort",
|
||||
"approved_for_session",
|
||||
"approved_with_amendment",
|
||||
"approved_with_network_policy_allow",
|
||||
"denied_with_network_policy_deny"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"SandboxPolicyMetadata": {
|
||||
"enum": [
|
||||
"read_only",
|
||||
|
||||
@@ -938,22 +938,6 @@
|
||||
},
|
||||
"ResponseItemMetadata": {
|
||||
"properties": {
|
||||
"is_tool_call_escalated": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"review_decision": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ReviewDecisionMetadata"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sandbox_policy": {
|
||||
"anyOf": [
|
||||
{
|
||||
@@ -963,16 +947,6 @@
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"user_message_type": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/UserMessageType"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
@@ -1078,18 +1052,6 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"ReviewDecisionMetadata": {
|
||||
"enum": [
|
||||
"approved",
|
||||
"denied",
|
||||
"abort",
|
||||
"approved_for_session",
|
||||
"approved_with_amendment",
|
||||
"approved_with_network_policy_allow",
|
||||
"denied_with_network_policy_deny"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"SandboxMode": {
|
||||
"enum": [
|
||||
"read-only",
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
// GENERATED CODE! DO NOT MODIFY BY HAND!
|
||||
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { ReviewDecisionMetadata } from "./ReviewDecisionMetadata";
|
||||
import type { SandboxPolicyMetadata } from "./SandboxPolicyMetadata";
|
||||
import type { UserMessageType } from "./UserMessageType";
|
||||
|
||||
export type ResponseItemMetadata = { user_message_type?: UserMessageType, sandbox_policy?: SandboxPolicyMetadata, is_tool_call_escalated?: boolean, review_decision?: ReviewDecisionMetadata, };
|
||||
export type ResponseItemMetadata = { sandbox_policy?: SandboxPolicyMetadata, };
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
// GENERATED CODE! DO NOT MODIFY BY HAND!
|
||||
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type ReviewDecisionMetadata = "approved" | "denied" | "abort" | "approved_for_session" | "approved_with_amendment" | "approved_with_network_policy_allow" | "denied_with_network_policy_deny";
|
||||
@@ -62,7 +62,6 @@ export type { ResponseItem } from "./ResponseItem";
|
||||
export type { ResponseItemMessageMetadata } from "./ResponseItemMessageMetadata";
|
||||
export type { ResponseItemMetadata } from "./ResponseItemMetadata";
|
||||
export type { ReviewDecision } from "./ReviewDecision";
|
||||
export type { ReviewDecisionMetadata } from "./ReviewDecisionMetadata";
|
||||
export type { SandboxPolicyMetadata } from "./SandboxPolicyMetadata";
|
||||
export type { ServerNotification } from "./ServerNotification";
|
||||
export type { ServerRequest } from "./ServerRequest";
|
||||
|
||||
Reference in New Issue
Block a user