mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +00:00
Declare the experimental plugin search API (#36402)
## What changed - Add the experimental `plugin/search` request with search term, scope, working-directory, cursor, and limit parameters. - Define paginated results that include each plugin's marketplace name and optional local marketplace path. - Route the request through app server while returning method-not-found until the search implementation is available. ## Testing - Add an app-server test that verifies `plugin/search` returns JSON-RPC error `-32601` with the expected not-implemented message. GitOrigin-RevId: 755400468331f0887f7da7d933195c347aadf6d0
This commit is contained in:
1 parent
003ec63bba
commit
64b2a3008e
18 files changed
+213
No files matched your search
@@ -729,6 +729,12 @@ client_request_definitions! {
|
||||
serialization: None,
|
||||
response: v2::PluginListResponse,
|
||||
},
|
||||
#[experimental("plugin/search")]
|
||||
PluginSearch => "plugin/search" {
|
||||
params: v2::PluginSearchParams,
|
||||
serialization: None,
|
||||
response: v2::PluginSearchResponse,
|
||||
},
|
||||
PluginInstalled => "plugin/installed" {
|
||||
params: v2::PluginInstalledParams,
|
||||
serialization: None,
|
||||
|
||||
Reference in new issue
Block a user