mirror of
https://github.com/openai/codex.git
synced 2026-04-29 00:55:38 +00:00
sandbox
This commit is contained in:
@@ -2032,6 +2032,16 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"sandbox_policy": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/SandboxPolicyMetadata"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"user_message_type": {
|
||||
"anyOf": [
|
||||
{
|
||||
@@ -2410,6 +2420,14 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"SandboxPolicyMetadata": {
|
||||
"enum": [
|
||||
"read_only",
|
||||
"sandbox",
|
||||
"full_access"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ServiceTier": {
|
||||
"enum": [
|
||||
"fast",
|
||||
|
||||
@@ -10661,6 +10661,16 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"sandbox_policy": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/v2/SandboxPolicyMetadata"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"user_message_type": {
|
||||
"anyOf": [
|
||||
{
|
||||
@@ -11059,6 +11069,14 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"SandboxPolicyMetadata": {
|
||||
"enum": [
|
||||
"read_only",
|
||||
"sandbox",
|
||||
"full_access"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"SandboxWorkspaceWrite": {
|
||||
"properties": {
|
||||
"exclude_slash_tmp": {
|
||||
|
||||
@@ -7406,6 +7406,16 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"sandbox_policy": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/SandboxPolicyMetadata"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"user_message_type": {
|
||||
"anyOf": [
|
||||
{
|
||||
@@ -7804,6 +7814,14 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"SandboxPolicyMetadata": {
|
||||
"enum": [
|
||||
"read_only",
|
||||
"sandbox",
|
||||
"full_access"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"SandboxWorkspaceWrite": {
|
||||
"properties": {
|
||||
"exclude_slash_tmp": {
|
||||
|
||||
@@ -873,6 +873,16 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"sandbox_policy": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/SandboxPolicyMetadata"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"user_message_type": {
|
||||
"anyOf": [
|
||||
{
|
||||
@@ -999,6 +1009,14 @@
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"SandboxPolicyMetadata": {
|
||||
"enum": [
|
||||
"read_only",
|
||||
"sandbox",
|
||||
"full_access"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"UserMessageType": {
|
||||
"enum": [
|
||||
"prompt",
|
||||
|
||||
@@ -939,6 +939,16 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"sandbox_policy": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/SandboxPolicyMetadata"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"user_message_type": {
|
||||
"anyOf": [
|
||||
{
|
||||
@@ -1073,6 +1083,14 @@
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"SandboxPolicyMetadata": {
|
||||
"enum": [
|
||||
"read_only",
|
||||
"sandbox",
|
||||
"full_access"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ServiceTier": {
|
||||
"enum": [
|
||||
"fast",
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
// 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, is_tool_call_escalated?: boolean, review_decision?: ReviewDecisionMetadata, };
|
||||
export type ResponseItemMetadata = { user_message_type?: UserMessageType, sandbox_policy?: SandboxPolicyMetadata, is_tool_call_escalated?: boolean, review_decision?: ReviewDecisionMetadata, };
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
// 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 SandboxPolicyMetadata = "read_only" | "sandbox" | "full_access";
|
||||
@@ -61,6 +61,7 @@ export type { ResponseItem } from "./ResponseItem";
|
||||
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";
|
||||
export type { ServiceTier } from "./ServiceTier";
|
||||
|
||||
Reference in New Issue
Block a user