Skip to content

Commit 2555ed6

Browse files
committedDec 27, 2024
Fix import of input_schema.json
1 parent 5dfd1e0 commit 2555ed6

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed
 

‎.dockerignore

+1
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ node_modules
1515
# data
1616
data
1717
src/storage
18+
dist

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
},
3535
"scripts": {
3636
"start": "npm run start:dev",
37-
"start:prod": "node dist/main.js",
37+
"start:prod": "node dist/src/main.js",
3838
"start:dev": "tsx src/main.ts",
3939
"build": "tsc",
4040
"lint": "eslint ./src --ext .ts",

‎src/main.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import express, { Request, Response } from 'express';
66
import { Routes } from './const.js';
77
import { createAndStartCrawlers } from './crawlers.js';
88
import { processInput } from './input.js';
9-
import { RagWebBrowserServer } from './mcp/server';
9+
import { RagWebBrowserServer } from './mcp/server.js';
1010
import { addTimeoutToAllResponses } from './responses.js';
1111
import { handleSearchRequest, handleSearchNormalMode } from './search.js';
1212
import { Input } from './types.js';

‎src/mcp/server.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { Server } from '@modelcontextprotocol/sdk/server/index.js';
88
import type { Transport } from '@modelcontextprotocol/sdk/shared/transport.js';
99
import { CallToolRequestSchema, ListToolsRequestSchema } from '@modelcontextprotocol/sdk/types.js';
1010

11-
import inputSchema from '../../.actor/input_schema.json' assert { type: 'json' };
11+
import inputSchema from '../../.actor/input_schema.json' with { type: 'json' };
1212
import { handleModelContextProtocol } from '../search.js';
1313
import { Input } from '../types.js';
1414

0 commit comments

Comments
 (0)