mirror of
https://github.com/openai/codex.git
synced 2026-04-25 15:15:15 +00:00
Support marketplace.json that points to a local file, with
```
"source":
{
"source": "local",
"path": "./plugin-1"
},
```
Add a new plugin/install endpoint which add the plugin to the cache folder and enable it in config.toml.
23 lines
377 B
JSON
23 lines
377 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"properties": {
|
|
"cwd": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"marketplaceName": {
|
|
"type": "string"
|
|
},
|
|
"pluginName": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"marketplaceName",
|
|
"pluginName"
|
|
],
|
|
"title": "PluginInstallParams",
|
|
"type": "object"
|
|
} |