story-vault-mcp 2.0.1 → 2.0.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/dist/index.cjs +12 -10
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -49551,16 +49551,18 @@ var chatSessions = sqliteTable(
|
|
|
49551
49551
|
// server/mcp.ts
|
|
49552
49552
|
var import_meta = {};
|
|
49553
49553
|
function debugLog(message) {
|
|
49554
|
-
|
|
49555
|
-
|
|
49556
|
-
|
|
49557
|
-
|
|
49558
|
-
|
|
49559
|
-
|
|
49560
|
-
|
|
49561
|
-
|
|
49562
|
-
|
|
49563
|
-
|
|
49554
|
+
const line = `[${(/* @__PURE__ */ new Date()).toISOString()}] ${message}
|
|
49555
|
+
`;
|
|
49556
|
+
const targets = /* @__PURE__ */ new Set();
|
|
49557
|
+
if (process.env.STORY_VAULT_DATA_DIR) {
|
|
49558
|
+
targets.add(import_node_path.default.join(process.env.STORY_VAULT_DATA_DIR, "mcp-debug.log"));
|
|
49559
|
+
}
|
|
49560
|
+
targets.add(import_node_path.default.resolve(process.cwd(), "mcp-debug.log"));
|
|
49561
|
+
for (const target of targets) {
|
|
49562
|
+
try {
|
|
49563
|
+
import_node_fs.default.appendFileSync(target, line, "utf-8");
|
|
49564
|
+
} catch {
|
|
49565
|
+
}
|
|
49564
49566
|
}
|
|
49565
49567
|
}
|
|
49566
49568
|
debugLog(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "story-vault-mcp",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "MCP server for Story Vault — lets external AI clients (Claude Desktop, Cursor, Cline, Qwen Chat…) read and write your local encrypted writing vault.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|