mirror of
https://github.com/openai/codex.git
synced 2026-04-24 14:45:27 +00:00
- Added forceRemoteSync to plugin/install and plugin/uninstall. - With forceRemoteSync=true, we update the remote plugin status first, then apply the local change only if the backend call succeeds. - Kept plugin/list(forceRemoteSync=true) as the main recon path, and for now it treats remote enabled=false as uninstall. We will eventually migrate to plugin/installed for more precise state handling.
27 lines
936 B
JSON
27 lines
936 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"definitions": {
|
|
"AbsolutePathBuf": {
|
|
"description": "A path that is guaranteed to be absolute and normalized (though it is not guaranteed to be canonicalized or exist on the filesystem).\n\nIMPORTANT: When deserializing an `AbsolutePathBuf`, a base path must be set using [AbsolutePathBufGuard::new]. If no base path is set, the deserialization will fail unless the path being deserialized is already absolute.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"properties": {
|
|
"forceRemoteSync": {
|
|
"description": "When true, apply the remote plugin change before the local install flow.",
|
|
"type": "boolean"
|
|
},
|
|
"marketplacePath": {
|
|
"$ref": "#/definitions/AbsolutePathBuf"
|
|
},
|
|
"pluginName": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"marketplacePath",
|
|
"pluginName"
|
|
],
|
|
"title": "PluginInstallParams",
|
|
"type": "object"
|
|
} |