Plumb local and remote environment selection through threads and fs APIs

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
starr-openai
2026-04-15 19:06:31 -07:00
parent 279091af9c
commit a0ac728158
77 changed files with 982 additions and 43 deletions

View File

@@ -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",