feat: expose codex fs command governance
This commit is contained in:
@@ -65,6 +65,19 @@ if (args[0] === "app-server" && args[1] === "generate-json-schema") {
|
||||
{ properties: { method: { const: "config/batchWrite" } } },
|
||||
{ properties: { method: { const: "config/mcpServer/reload" } } },
|
||||
{ properties: { method: { const: "skills/config/write" } } },
|
||||
{ properties: { method: { const: "command/exec" } } },
|
||||
{ properties: { method: { const: "command/exec/write" } } },
|
||||
{ properties: { method: { const: "command/exec/resize" } } },
|
||||
{ properties: { method: { const: "command/exec/terminate" } } },
|
||||
{ properties: { method: { const: "fs/readFile" } } },
|
||||
{ properties: { method: { const: "fs/readDirectory" } } },
|
||||
{ properties: { method: { const: "fs/getMetadata" } } },
|
||||
{ properties: { method: { const: "fs/writeFile" } } },
|
||||
{ properties: { method: { const: "fs/createDirectory" } } },
|
||||
{ properties: { method: { const: "fs/remove" } } },
|
||||
{ properties: { method: { const: "fs/copy" } } },
|
||||
{ properties: { method: { const: "fs/watch" } } },
|
||||
{ properties: { method: { const: "fs/unwatch" } } },
|
||||
{ properties: { method: { const: "skills/extraRoots/set" } } },
|
||||
{ properties: { method: { const: "hooks/list" } } },
|
||||
{ properties: { method: { const: "turn/interrupt" } } },
|
||||
@@ -132,6 +145,13 @@ process.exit(2);
|
||||
assert.equal(manifest.supports.configBatchWrite, true);
|
||||
assert.equal(manifest.supports.configMcpServerReload, true);
|
||||
assert.equal(manifest.supports.skillsConfigWrite, true);
|
||||
assert.equal(manifest.supports.commandExec, true);
|
||||
assert.equal(manifest.supports.commandExecWrite, true);
|
||||
assert.equal(manifest.supports.commandExecResize, true);
|
||||
assert.equal(manifest.supports.commandExecTerminate, true);
|
||||
assert.equal(manifest.supports.fsRead, true);
|
||||
assert.equal(manifest.supports.fsWrite, true);
|
||||
assert.equal(manifest.supports.fsWatch, true);
|
||||
assert.deepEqual(manifest.methods, [
|
||||
"account/chatgptAuthTokens/refresh",
|
||||
"account/login/cancel",
|
||||
@@ -139,9 +159,22 @@ process.exit(2);
|
||||
"account/login/start",
|
||||
"account/logout",
|
||||
"account/sendAddCreditsNudgeEmail",
|
||||
"command/exec",
|
||||
"command/exec/resize",
|
||||
"command/exec/terminate",
|
||||
"command/exec/write",
|
||||
"config/batchWrite",
|
||||
"config/mcpServer/reload",
|
||||
"config/value/write",
|
||||
"fs/copy",
|
||||
"fs/createDirectory",
|
||||
"fs/getMetadata",
|
||||
"fs/readDirectory",
|
||||
"fs/readFile",
|
||||
"fs/remove",
|
||||
"fs/unwatch",
|
||||
"fs/watch",
|
||||
"fs/writeFile",
|
||||
"hooks/list",
|
||||
"plugin/install",
|
||||
"plugin/read",
|
||||
|
||||
Reference in New Issue
Block a user