chore: fix prettier formatting and update example server dependencies

- Fix formatting issues in cf-agents, hono-mcp, and test files
- Update dependencies in example servers

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Jem 2025-07-02 17:59:24 -07:00
commit e0743c35e4

View file

@ -1,6 +1,6 @@
import { join, dirname } from 'path'
import { fileURLToPath } from 'url'
import { ServerConfig } from './test-utils.js'
import { join, dirname } from 'node:path'
import { fileURLToPath } from 'node:url'
import type { ServerConfig } from './test-utils.js'
const __dirname = dirname(fileURLToPath(import.meta.url))
const rootDir = join(__dirname, '../..')
@ -19,7 +19,9 @@ export const SERVER_CONFIGS: ServerConfig[] = [
transportTypes: ['auto', 'http'],
},
],
expectedTools: 1,
expectedTools: 2,
expectedResources: 2, // 2 direct resources (templates are counted separately)
expectedPrompts: 2,
},
{
name: 'cf-agents',
@ -43,6 +45,8 @@ export const SERVER_CONFIGS: ServerConfig[] = [
transportTypes: ['auto', 'sse'],
},
],
expectedTools: 1,
expectedTools: 2,
expectedResources: 3, // 3 direct resources (no templates in cf-agents)
expectedPrompts: 2,
},
]