Skip to content

Commit 43a35c1

Browse files
committed
refactor: rename
1 parent 128f29f commit 43a35c1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/McpResponse.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -340,8 +340,8 @@ Call ${handleDialog.name} to handle it before continuing.`);
340340
}
341341
}
342342

343-
response.push(...this.#getIncludeNetworkRequestsData(context, data.bodies));
344-
response.push(...this.#getAttachedConsoleMessageData(data.consoleData));
343+
response.push(...this.#formatNetworkRequestData(context, data.bodies));
344+
response.push(...this.#formatConsoleData(data.consoleData));
345345

346346
if (this.#networkRequestsOptions?.include) {
347347
let requests = context.getNetworkRequests();
@@ -435,7 +435,7 @@ Call ${handleDialog.name} to handle it before continuing.`);
435435
};
436436
}
437437

438-
#getAttachedConsoleMessageData(
438+
#formatConsoleData(
439439
data: ConsoleMessageData | undefined,
440440
): string[] {
441441
const response: string[] = [];
@@ -447,7 +447,7 @@ Call ${handleDialog.name} to handle it before continuing.`);
447447
return response;
448448
}
449449

450-
#getIncludeNetworkRequestsData(
450+
#formatNetworkRequestData(
451451
context: McpContext,
452452
data: {
453453
requestBody?: string;

0 commit comments

Comments
 (0)