Skip to content

Commit 9e570b2

Browse files
fix npm
1 parent 2112eff commit 9e570b2

2 files changed

Lines changed: 6 additions & 37 deletions

File tree

memory-bank/activeContext.md

Lines changed: 6 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,7 @@
1-
# Active Context
1+
# Recent Changes
2+
- Removed unused better-sqlite3 import from src/index.ts that was causing build errors
3+
- Successfully built the project after removing the dependency
24

3-
## Current Task
4-
Streamlining the Perplexity Server MCP to provide three specialized tools with automatic model selection based on query complexity.
5-
6-
## Recent Changes
7-
- Refactored codebase to focus on three core tools:
8-
- search: Quick lookups using Sonar Pro
9-
- reason: Complex analysis using Sonar Reasoning Pro
10-
- deep_research: Comprehensive research using Sonar Deep Research
11-
- Implemented intelligent query complexity detection
12-
- Removed chat history and SQLite functionality
13-
- Updated documentation and examples
14-
- Bumped version to 0.2.0
15-
16-
## Key Features
17-
1. Automatic Model Selection:
18-
- Analyzes query patterns to determine complexity
19-
- Routes to appropriate model based on analysis
20-
- Allows manual override with force_model flag
21-
22-
2. Specialized Tools:
23-
- Each tool optimized for specific use cases
24-
- Clear separation of concerns
25-
- Improved response quality through targeted model use
26-
27-
3. Query Analysis:
28-
- Pattern matching for complexity indicators
29-
- Research vs reasoning vs simple query detection
30-
- Intelligent routing to appropriate model
31-
32-
## Implementation Details
33-
- Removed SQLite dependency and chat history
34-
- Simplified server architecture
35-
- Added query complexity detection
36-
- Updated tool schemas and handlers
37-
- Improved error handling and responses
5+
# Current Status
6+
- Build is now working correctly
7+
- Project is ready for further development

src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import {
99
ErrorCode,
1010
} from "@modelcontextprotocol/sdk/types.js";
1111
import axios from "axios";
12-
import Database from "better-sqlite3";
1312
import { existsSync, mkdirSync } from "fs";
1413
import { dirname, join } from "path";
1514
import { homedir } from "os";

0 commit comments

Comments
 (0)