@echoes-io/mcp-server 1.4.0 → 1.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -36,7 +36,7 @@ Then configure:
36
36
  "command": "echoes-mcp-server",
37
37
  "env": {
38
38
  "ECHOES_RAG_PROVIDER": "e5-small",
39
- "ECHOES_RAG_DB_PATH": "./rag_data.db"
39
+ "ECHOES_RAG_DB_PATH": "./rag.db"
40
40
  }
41
41
  }
42
42
  }
@@ -46,7 +46,7 @@ Then configure:
46
46
  **Optional RAG Configuration:**
47
47
  - `ECHOES_RAG_PROVIDER`: Embedding provider (`e5-small`, `e5-large`, or `gemini`). Default: `e5-small`
48
48
  - `ECHOES_GEMINI_API_KEY`: Required if using `gemini` provider
49
- - `ECHOES_RAG_DB_PATH`: SQLite database path. Default: `./rag_data.db`
49
+ - `ECHOES_RAG_DB_PATH`: SQLite database path. Default: `./rag.db`
50
50
 
51
51
  ## Available Tools
52
52
 
package/lib/server.js CHANGED
@@ -132,8 +132,7 @@ export async function runServer() {
132
132
  await tracker.init();
133
133
  console.error(`Tracker database initialized: ${dbPath}`);
134
134
  // Initialize RAG system
135
- const ragDbPath = process.env.ECHOES_RAG_DB_PATH ||
136
- (process.env.NODE_ENV === 'test' ? ':memory:' : './rag_data.db');
135
+ const ragDbPath = process.env.ECHOES_RAG_DB_PATH || (process.env.NODE_ENV === 'test' ? ':memory:' : './rag.db');
137
136
  const provider = (process.env.ECHOES_RAG_PROVIDER || 'e5-small');
138
137
  const rag = new RAGSystem({
139
138
  provider,
@@ -74,6 +74,7 @@ export async function timelineSync(args, tracker) {
74
74
  };
75
75
  }
76
76
  catch (_error) {
77
+ console.error(`Error parsing chapter file ${file}:`, _error instanceof Error ? _error.message : _error);
77
78
  errors++;
78
79
  return null;
79
80
  }
@@ -122,7 +123,7 @@ export async function timelineSync(args, tracker) {
122
123
  chapter: chNumber,
123
124
  pov: chapterData.metadata.pov || 'Unknown',
124
125
  title: chapterData.metadata.title || 'Untitled',
125
- date: new Date(chapterData.metadata.date || Date.now()).toISOString(),
126
+ date: chapterData.metadata.date || '',
126
127
  summary: chapterData.metadata.summary || '',
127
128
  location: chapterData.metadata.location || '',
128
129
  outfit: chapterData.metadata.outfit || '',
@@ -144,6 +145,7 @@ export async function timelineSync(args, tracker) {
144
145
  }
145
146
  }
146
147
  catch (_error) {
148
+ console.error(`Error creating/updating chapter ${arcName}/ep${ep.number}/ch${chNumber}:`, _error instanceof Error ? _error.message : _error);
147
149
  errors++;
148
150
  }
149
151
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@echoes-io/mcp-server",
3
3
  "type": "module",
4
- "version": "1.4.0",
4
+ "version": "1.4.2",
5
5
  "description": "Model Context Protocol server for AI integration with Echoes storytelling platform",
6
6
  "scripts": {
7
7
  "dev": "tsx cli/index.ts",
@@ -84,7 +84,7 @@
84
84
  "dependencies": {
85
85
  "@echoes-io/books-generator": "^1.0.1",
86
86
  "@echoes-io/models": "^1.0.2",
87
- "@echoes-io/rag": "^1.1.2",
87
+ "@echoes-io/rag": "^1.1.3",
88
88
  "@echoes-io/tracker": "^1.0.1",
89
89
  "@echoes-io/utils": "^1.2.0",
90
90
  "@modelcontextprotocol/sdk": "^1.0.0"