feat: improve codex app controls and recovery
This commit is contained in:
@@ -133,6 +133,10 @@ function createCodexAppServerClient(options = {}) {
|
||||
sendRaw({ method, params });
|
||||
}
|
||||
|
||||
function reloadMcpServers() {
|
||||
return request('config/mcpServer/reload', {}, 30000);
|
||||
}
|
||||
|
||||
function start() {
|
||||
if (initPromise) return initPromise;
|
||||
exited = false;
|
||||
@@ -212,6 +216,7 @@ function createCodexAppServerClient(options = {}) {
|
||||
stop,
|
||||
request,
|
||||
notification,
|
||||
reloadMcpServers,
|
||||
isRunning,
|
||||
pid: () => proc?.pid || null,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user