feat: expose codex plugin governance capabilities
This commit is contained in:
@@ -46,6 +46,15 @@ if (args[0] === "app-server" && args[1] === "generate-json-schema") {
|
||||
{ properties: { method: { const: "thread/metadata/update" } } },
|
||||
{ properties: { method: { const: "thread/shellCommand" } } },
|
||||
{ properties: { method: { const: "thread/unsubscribe" } } },
|
||||
{ properties: { method: { const: "plugin/install" } } },
|
||||
{ properties: { method: { const: "plugin/uninstall" } } },
|
||||
{ properties: { method: { const: "plugin/read" } } },
|
||||
{ properties: { method: { const: "plugin/skill/read" } } },
|
||||
{ properties: { method: { const: "plugin/share/save" } } },
|
||||
{ properties: { method: { const: "plugin/share/checkout" } } },
|
||||
{ properties: { method: { const: "plugin/share/delete" } } },
|
||||
{ properties: { method: { const: "plugin/share/updateTargets" } } },
|
||||
{ properties: { method: { const: "plugin/share/list" } } },
|
||||
{ properties: { method: { const: "skills/extraRoots/set" } } },
|
||||
{ properties: { method: { const: "hooks/list" } } },
|
||||
{ properties: { method: { const: "turn/interrupt" } } },
|
||||
@@ -100,8 +109,22 @@ process.exit(2);
|
||||
assert.equal(manifest.supports.threadShellCommand, true);
|
||||
assert.equal(manifest.supports.threadUnsubscribe, true);
|
||||
assert.equal(manifest.supports.turnInterrupt, true);
|
||||
assert.equal(manifest.supports.pluginInstall, true);
|
||||
assert.equal(manifest.supports.pluginUninstall, true);
|
||||
assert.equal(manifest.supports.pluginRead, true);
|
||||
assert.equal(manifest.supports.pluginSkillRead, true);
|
||||
assert.equal(manifest.supports.pluginShare, true);
|
||||
assert.deepEqual(manifest.methods, [
|
||||
"hooks/list",
|
||||
"plugin/install",
|
||||
"plugin/read",
|
||||
"plugin/share/checkout",
|
||||
"plugin/share/delete",
|
||||
"plugin/share/list",
|
||||
"plugin/share/save",
|
||||
"plugin/share/updateTargets",
|
||||
"plugin/skill/read",
|
||||
"plugin/uninstall",
|
||||
"skills/extraRoots/set",
|
||||
"thread/archive",
|
||||
"thread/compact/start",
|
||||
|
||||
Reference in New Issue
Block a user