File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11
22import { Client } from "@modelcontextprotocol/sdk/client/index.js" ;
33import { SSEClientTransport } from "@modelcontextprotocol/sdk/client/sse.js" ;
4- import { getMCPServerID } from "./utils" ;
4+ import { getMCPServerID } from "./utils.js " ;
55
66/**
77 * Creates and connects a ModelContextProtocol client.
Original file line number Diff line number Diff line change 11import Ajv from "ajv" ;
2- import { ActorMCPTool , ToolWrap } from "../types" ;
2+ import { ActorMCPTool , ToolWrap } from "../types.js " ;
33import { Client } from "@modelcontextprotocol/sdk/client/index.js" ;
4- import { getMCPServerID , getProxyMCPServerToolName } from "./utils" ;
4+ import { getMCPServerID , getProxyMCPServerToolName } from "./utils.js " ;
55
66export async function getMCPServerTools (
77 actorID : string ,
Original file line number Diff line number Diff line change 11
22import { createHash } from "node:crypto" ;
3- import { MAX_TOOL_NAME_LENGTH , SERVER_ID_LENGTH } from "./const" ;
3+ import { MAX_TOOL_NAME_LENGTH , SERVER_ID_LENGTH } from "./const.js " ;
44
55import { parse } from 'node:querystring' ;
66import { processInput } from '../input.js' ;
You can’t perform that action at this time.
0 commit comments