Skip to content

Commit 52eee0c

Browse files
chore: remove unused code
1 parent 0461285 commit 52eee0c

2 files changed

Lines changed: 2 additions & 7 deletions

File tree

src/CodexAppServerClient.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -222,10 +222,6 @@ export class CodexAppServerClient {
222222
return await this.sendRequest({ method: "config/read", params: params });
223223
}
224224

225-
async configBatchWrite(params: ConfigBatchWriteParams): Promise<ConfigWriteResponse> {
226-
return await this.sendRequest({ method: "config/batchWrite", params });
227-
}
228-
229225
getMcpServerStartupVersion(): number {
230226
return this.mcpServerStartupVersion;
231227
}

src/CodexElicitationHandler.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ export class CodexElicitationHandler implements ElicitationHandler {
163163
});
164164
}
165165
}
166-
return await this.convertResponse(response, params);
166+
return await this.convertResponse(response);
167167
} catch (error) {
168168
logger.error("Error handling MCP elicitation request", error);
169169
return { action: "cancel", content: null, _meta: null };
@@ -246,8 +246,7 @@ export class CodexElicitationHandler implements ElicitationHandler {
246246
}
247247

248248
private async convertResponse(
249-
response: acp.RequestPermissionResponse,
250-
params: McpServerElicitationRequestParams
249+
response: acp.RequestPermissionResponse
251250
): Promise<McpServerElicitationRequestResponse> {
252251
if (response.outcome.outcome === "cancelled") {
253252
return { action: "cancel", content: null, _meta: null };

0 commit comments

Comments
 (0)