Skip to content

Commit 0bf2e0c

Browse files
committed
fix imports
1 parent e005b65 commit 0bf2e0c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/mcp/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
33
import { 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.

src/mcp/proxy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Ajv from "ajv";
2-
import { ActorMCPTool, ToolWrap } from "../types";
2+
import { ActorMCPTool, ToolWrap } from "../types.js";
33
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
4-
import { getMCPServerID, getProxyMCPServerToolName } from "./utils";
4+
import { getMCPServerID, getProxyMCPServerToolName } from "./utils.js";
55

66
export async function getMCPServerTools(
77
actorID: string,

src/mcp/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
import { 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

55
import { parse } from 'node:querystring';
66
import { processInput } from '../input.js';

0 commit comments

Comments
 (0)