File tree Expand file tree Collapse file tree 15 files changed +21
-28
lines changed
Expand file tree Collapse file tree 15 files changed +21
-28
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,6 @@ const bundleDependency = (
111111
112112export default [
113113 bundleDependency ( './build/src/third_party/index.js' ) ,
114- bundleDependency ( './build/src/third_party/modelcontextprotocol-sdk/index.js' ) ,
115114 bundleDependency (
116115 './build/src/third_party/puppeteer-core/index.js' ,
117116 {
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import type {McpContext} from './McpContext.js';
2020import type {
2121 ImageContent ,
2222 TextContent ,
23- } from './third_party/modelcontextprotocol-sdk/ index.js' ;
23+ } from './third_party/index.js' ;
2424import type {
2525 ConsoleMessage ,
2626 ResourceType ,
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import {
1818 StdioServerTransport ,
1919 type CallToolResult ,
2020 SetLevelRequestSchema ,
21- } from './third_party/modelcontextprotocol-sdk/ index.js' ;
21+ } from './third_party/index.js' ;
2222import * as consoleTools from './tools/console.js' ;
2323import * as emulationTools from './tools/emulation.js' ;
2424import * as inputTools from './tools/input.js' ;
Original file line number Diff line number Diff line change @@ -11,3 +11,12 @@ export {default as yargs} from 'yargs';
1111export { hideBin } from 'yargs/helpers' ;
1212export { debug } from 'debug' ;
1313export type { Debugger } from 'debug' ;
14+ export { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js' ;
15+ export { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js' ;
16+ export {
17+ type CallToolResult ,
18+ SetLevelRequestSchema ,
19+ type ImageContent ,
20+ type TextContent ,
21+ } from '@modelcontextprotocol/sdk/types.js' ;
22+ export { z as zod } from 'zod' ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 55 */
66
77import type { TextSnapshotNode } from '../McpContext.js' ;
8- import { zod } from '../third_party/modelcontextprotocol-sdk/ index.js' ;
8+ import { zod } from '../third_party/index.js' ;
99import type {
1010 Dialog ,
1111 ElementHandle ,
Original file line number Diff line number Diff line change 44 * SPDX-License-Identifier: Apache-2.0
55 */
66
7- import { zod } from '../third_party/modelcontextprotocol-sdk/ index.js' ;
7+ import { zod } from '../third_party/index.js' ;
88import type { ConsoleMessageType } from '../third_party/puppeteer-core/index.js' ;
99
1010import { ToolCategories } from './categories.js' ;
Original file line number Diff line number Diff line change 44 * SPDX-License-Identifier: Apache-2.0
55 */
66
7- import { zod } from '../third_party/modelcontextprotocol-sdk/ index.js' ;
7+ import { zod } from '../third_party/index.js' ;
88import { PredefinedNetworkConditions } from '../third_party/puppeteer-core/index.js' ;
99
1010import { ToolCategories } from './categories.js' ;
Original file line number Diff line number Diff line change 55 */
66
77import type { McpContext , TextSnapshotNode } from '../McpContext.js' ;
8- import { zod } from '../third_party/modelcontextprotocol-sdk/ index.js' ;
8+ import { zod } from '../third_party/index.js' ;
99import type { ElementHandle } from '../third_party/puppeteer-core/index.js' ;
1010
1111import { ToolCategories } from './categories.js' ;
Original file line number Diff line number Diff line change 44 * SPDX-License-Identifier: Apache-2.0
55 */
66
7- import { zod } from '../third_party/modelcontextprotocol-sdk/ index.js' ;
7+ import { zod } from '../third_party/index.js' ;
88import type { ResourceType } from '../third_party/puppeteer-core/index.js' ;
99
1010import { ToolCategories } from './categories.js' ;
You can’t perform that action at this time.
0 commit comments