Skip to content

Commit 18f95e1

Browse files
committed
style(debug-server): fix prettier formatting
1 parent 94da957 commit 18f95e1

2 files changed

Lines changed: 13 additions & 10 deletions

File tree

examples/debug-server/README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ A comprehensive testing/debugging tool for the MCP Apps SDK that exercises every
88

99
Configurable tool for testing all result variations:
1010

11-
| Parameter | Type | Default | Description |
12-
|-----------|------|---------|-------------|
13-
| `contentType` | `"text"` \| `"image"` \| `"audio"` \| `"resource"` \| `"resourceLink"` \| `"mixed"` | `"text"` | Content block type to return |
14-
| `multipleBlocks` | boolean | `false` | Return 3 content blocks |
15-
| `includeStructuredContent` | boolean | `true` | Include structuredContent in result |
16-
| `includeMeta` | boolean | `false` | Include _meta in result |
17-
| `largeInput` | string | - | Large text input (tests tool-input-partial) |
18-
| `simulateError` | boolean | `false` | Return isError: true |
19-
| `delayMs` | number | - | Delay before response (ms) |
11+
| Parameter | Type | Default | Description |
12+
| -------------------------- | ----------------------------------------------------------------------------------- | -------- | ------------------------------------------- |
13+
| `contentType` | `"text"` \| `"image"` \| `"audio"` \| `"resource"` \| `"resourceLink"` \| `"mixed"` | `"text"` | Content block type to return |
14+
| `multipleBlocks` | boolean | `false` | Return 3 content blocks |
15+
| `includeStructuredContent` | boolean | `true` | Include structuredContent in result |
16+
| `includeMeta` | boolean | `false` | Include \_meta in result |
17+
| `largeInput` | string | - | Large text input (tests tool-input-partial) |
18+
| `simulateError` | boolean | `false` | Return isError: true |
19+
| `delayMs` | number | - | Delay before response (ms) |
2020

2121
### debug-refresh
2222

examples/debug-server/src/mcp-app.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,10 @@ function logEvent(type: string, payload: unknown): void {
309309

310310
// Send to server log file (async, fire-and-forget)
311311
// Skip sending debug-log results to avoid noise
312-
if (type !== "server-tool-result" || (payload as { name?: string })?.name !== "debug-log") {
312+
if (
313+
type !== "server-tool-result" ||
314+
(payload as { name?: string })?.name !== "debug-log"
315+
) {
313316
sendToServerLog(type, payload);
314317
}
315318
}

0 commit comments

Comments
 (0)