mirror of
https://github.com/openai/codex.git
synced 2026-04-29 00:55:38 +00:00
Plumb local and remote environment selection through threads and fs APIs
Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
@@ -691,6 +691,13 @@
|
||||
],
|
||||
"description": "Absolute destination path."
|
||||
},
|
||||
"environmentId": {
|
||||
"description": "Optional environment selection. Use `\"local\"` or `\"remote\"`, or omit the field to use the default environment.",
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"recursive": {
|
||||
"description": "Required for directory copies; ignored for file copies.",
|
||||
"type": "boolean"
|
||||
@@ -713,6 +720,13 @@
|
||||
"FsCreateDirectoryParams": {
|
||||
"description": "Create a directory on the host filesystem.",
|
||||
"properties": {
|
||||
"environmentId": {
|
||||
"description": "Optional environment selection. Use `\"local\"` or `\"remote\"`, or omit the field to use the default environment.",
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"path": {
|
||||
"allOf": [
|
||||
{
|
||||
@@ -737,6 +751,13 @@
|
||||
"FsGetMetadataParams": {
|
||||
"description": "Request metadata for an absolute path.",
|
||||
"properties": {
|
||||
"environmentId": {
|
||||
"description": "Optional environment selection. Use `\"local\"` or `\"remote\"`, or omit the field to use the default environment.",
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"path": {
|
||||
"allOf": [
|
||||
{
|
||||
@@ -754,6 +775,13 @@
|
||||
"FsReadDirectoryParams": {
|
||||
"description": "List direct child names for a directory.",
|
||||
"properties": {
|
||||
"environmentId": {
|
||||
"description": "Optional environment selection. Use `\"local\"` or `\"remote\"`, or omit the field to use the default environment.",
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"path": {
|
||||
"allOf": [
|
||||
{
|
||||
@@ -771,6 +799,13 @@
|
||||
"FsReadFileParams": {
|
||||
"description": "Read a file from the host filesystem.",
|
||||
"properties": {
|
||||
"environmentId": {
|
||||
"description": "Optional environment selection. Use `\"local\"` or `\"remote\"`, or omit the field to use the default environment.",
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"path": {
|
||||
"allOf": [
|
||||
{
|
||||
@@ -788,6 +823,13 @@
|
||||
"FsRemoveParams": {
|
||||
"description": "Remove a file or directory tree from the host filesystem.",
|
||||
"properties": {
|
||||
"environmentId": {
|
||||
"description": "Optional environment selection. Use `\"local\"` or `\"remote\"`, or omit the field to use the default environment.",
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"force": {
|
||||
"description": "Whether missing paths should be ignored. Defaults to `true`.",
|
||||
"type": [
|
||||
@@ -832,6 +874,13 @@
|
||||
"FsWatchParams": {
|
||||
"description": "Start filesystem watch notifications for an absolute path.",
|
||||
"properties": {
|
||||
"environmentId": {
|
||||
"description": "Optional environment selection. Use `\"local\"` or `\"remote\"`, or omit the field to use the default environment.",
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"path": {
|
||||
"allOf": [
|
||||
{
|
||||
@@ -858,6 +907,13 @@
|
||||
"description": "File contents encoded as base64.",
|
||||
"type": "string"
|
||||
},
|
||||
"environmentId": {
|
||||
"description": "Optional environment selection. Use `\"local\"` or `\"remote\"`, or omit the field to use the default environment.",
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"path": {
|
||||
"allOf": [
|
||||
{
|
||||
@@ -3280,6 +3336,13 @@
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"environmentId": {
|
||||
"description": "Optional environment selection. Use `\"local\"` or `\"remote\"`, or omit the field to use the default environment.",
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"ephemeral": {
|
||||
"type": [
|
||||
"boolean",
|
||||
|
||||
Reference in New Issue
Block a user