mirror of
https://github.com/openai/codex.git
synced 2026-04-24 06:35:50 +00:00
codex: restore generated app-server schema fixtures
This commit is contained in:
@@ -7,23 +7,23 @@ import type { SandboxPolicy } from "./SandboxPolicy";
|
||||
/**
|
||||
* Copy a file or directory tree on the host filesystem.
|
||||
*/
|
||||
export type FsCopyParams = {
|
||||
export type FsCopyParams = {
|
||||
/**
|
||||
* Absolute source path.
|
||||
*/
|
||||
sourcePath: AbsolutePathBuf,
|
||||
sourcePath: AbsolutePathBuf,
|
||||
/**
|
||||
* Absolute destination path.
|
||||
*/
|
||||
destinationPath: AbsolutePathBuf,
|
||||
destinationPath: AbsolutePathBuf,
|
||||
/**
|
||||
* Required for directory copies; ignored for file copies.
|
||||
*/
|
||||
recursive?: boolean,
|
||||
recursive?: boolean,
|
||||
/**
|
||||
* Optional sandbox policy for this filesystem copy.
|
||||
*/
|
||||
sandboxPolicy?: SandboxPolicy | null,
|
||||
sandboxPolicy?: SandboxPolicy | null,
|
||||
/**
|
||||
* Optional cwd to resolve legacy sandbox workspace roots against.
|
||||
*/
|
||||
|
||||
@@ -7,19 +7,19 @@ import type { SandboxPolicy } from "./SandboxPolicy";
|
||||
/**
|
||||
* Create a directory on the host filesystem.
|
||||
*/
|
||||
export type FsCreateDirectoryParams = {
|
||||
export type FsCreateDirectoryParams = {
|
||||
/**
|
||||
* Absolute directory path to create.
|
||||
*/
|
||||
path: AbsolutePathBuf,
|
||||
path: AbsolutePathBuf,
|
||||
/**
|
||||
* Whether parent directories should also be created. Defaults to `true`.
|
||||
*/
|
||||
recursive?: boolean | null,
|
||||
recursive?: boolean | null,
|
||||
/**
|
||||
* Optional sandbox policy for this filesystem mutation.
|
||||
*/
|
||||
sandboxPolicy?: SandboxPolicy | null,
|
||||
sandboxPolicy?: SandboxPolicy | null,
|
||||
/**
|
||||
* Optional cwd to resolve legacy sandbox workspace roots against.
|
||||
*/
|
||||
|
||||
@@ -7,15 +7,15 @@ import type { SandboxPolicy } from "./SandboxPolicy";
|
||||
/**
|
||||
* Request metadata for an absolute path.
|
||||
*/
|
||||
export type FsGetMetadataParams = {
|
||||
export type FsGetMetadataParams = {
|
||||
/**
|
||||
* Absolute path to inspect.
|
||||
*/
|
||||
path: AbsolutePathBuf,
|
||||
path: AbsolutePathBuf,
|
||||
/**
|
||||
* Optional sandbox policy for this filesystem metadata lookup.
|
||||
*/
|
||||
sandboxPolicy?: SandboxPolicy | null,
|
||||
sandboxPolicy?: SandboxPolicy | null,
|
||||
/**
|
||||
* Optional cwd to resolve legacy sandbox workspace roots against.
|
||||
*/
|
||||
|
||||
@@ -7,15 +7,15 @@ import type { SandboxPolicy } from "./SandboxPolicy";
|
||||
/**
|
||||
* List direct child names for a directory.
|
||||
*/
|
||||
export type FsReadDirectoryParams = {
|
||||
export type FsReadDirectoryParams = {
|
||||
/**
|
||||
* Absolute directory path to read.
|
||||
*/
|
||||
path: AbsolutePathBuf,
|
||||
path: AbsolutePathBuf,
|
||||
/**
|
||||
* Optional sandbox policy for this directory read.
|
||||
*/
|
||||
sandboxPolicy?: SandboxPolicy | null,
|
||||
sandboxPolicy?: SandboxPolicy | null,
|
||||
/**
|
||||
* Optional cwd to resolve legacy sandbox workspace roots against.
|
||||
*/
|
||||
|
||||
@@ -7,15 +7,15 @@ import type { SandboxPolicy } from "./SandboxPolicy";
|
||||
/**
|
||||
* Read a file from the host filesystem.
|
||||
*/
|
||||
export type FsReadFileParams = {
|
||||
export type FsReadFileParams = {
|
||||
/**
|
||||
* Absolute path to read.
|
||||
*/
|
||||
path: AbsolutePathBuf,
|
||||
path: AbsolutePathBuf,
|
||||
/**
|
||||
* Optional sandbox policy for this filesystem read.
|
||||
*/
|
||||
sandboxPolicy?: SandboxPolicy | null,
|
||||
sandboxPolicy?: SandboxPolicy | null,
|
||||
/**
|
||||
* Optional cwd to resolve legacy sandbox workspace roots against.
|
||||
*/
|
||||
|
||||
@@ -7,23 +7,23 @@ import type { SandboxPolicy } from "./SandboxPolicy";
|
||||
/**
|
||||
* Remove a file or directory tree from the host filesystem.
|
||||
*/
|
||||
export type FsRemoveParams = {
|
||||
export type FsRemoveParams = {
|
||||
/**
|
||||
* Absolute path to remove.
|
||||
*/
|
||||
path: AbsolutePathBuf,
|
||||
path: AbsolutePathBuf,
|
||||
/**
|
||||
* Whether directory removal should recurse. Defaults to `true`.
|
||||
*/
|
||||
recursive?: boolean | null,
|
||||
recursive?: boolean | null,
|
||||
/**
|
||||
* Whether missing paths should be ignored. Defaults to `true`.
|
||||
*/
|
||||
force?: boolean | null,
|
||||
force?: boolean | null,
|
||||
/**
|
||||
* Optional sandbox policy for this filesystem mutation.
|
||||
*/
|
||||
sandboxPolicy?: SandboxPolicy | null,
|
||||
sandboxPolicy?: SandboxPolicy | null,
|
||||
/**
|
||||
* Optional cwd to resolve legacy sandbox workspace roots against.
|
||||
*/
|
||||
|
||||
@@ -7,19 +7,19 @@ import type { SandboxPolicy } from "./SandboxPolicy";
|
||||
/**
|
||||
* Write a file on the host filesystem.
|
||||
*/
|
||||
export type FsWriteFileParams = {
|
||||
export type FsWriteFileParams = {
|
||||
/**
|
||||
* Absolute path to write.
|
||||
*/
|
||||
path: AbsolutePathBuf,
|
||||
path: AbsolutePathBuf,
|
||||
/**
|
||||
* File contents encoded as base64.
|
||||
*/
|
||||
dataBase64: string,
|
||||
dataBase64: string,
|
||||
/**
|
||||
* Optional sandbox policy for this filesystem write.
|
||||
*/
|
||||
sandboxPolicy?: SandboxPolicy | null,
|
||||
sandboxPolicy?: SandboxPolicy | null,
|
||||
/**
|
||||
* Optional cwd to resolve legacy sandbox workspace roots against.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user