diff --git a/src/schema/index.ts b/src/schema/index.ts index cd93103..c5113ec 100644 --- a/src/schema/index.ts +++ b/src/schema/index.ts @@ -240,7 +240,7 @@ export type { WorkspaceFolder, WriteTextFileRequest, WriteTextFileResponse, -} from "./types.gen"; +} from "./types.gen.js"; export const AGENT_METHODS = { authenticate: "authenticate", diff --git a/tsconfig.json b/tsconfig.json index b15b698..106a84d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,8 +9,8 @@ "declaration": true, "allowSyntheticDefaultImports": true, "lib": ["ESNext", "DOM", "DOM.Iterable"], - "module": "ESNext", - "moduleResolution": "bundler", + "module": "nodenext", + "moduleResolution": "nodenext", "target": "es2022", "types": ["node"], "rootDir": "src",