obsidian-sync-mcp 0.4.6 → 0.4.7
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/main.js
CHANGED
|
@@ -945,7 +945,7 @@ if (VAULT_PATH) {
|
|
|
945
945
|
console.error("COUCHDB_PASSWORD is required in remote mode.");
|
|
946
946
|
process.exit(1);
|
|
947
947
|
}
|
|
948
|
-
const { Vault } = await import("./vault-
|
|
948
|
+
const { Vault } = await import("./vault-EB2JAR27.js");
|
|
949
949
|
vault = new Vault({
|
|
950
950
|
couchdbUrl: COUCHDB_URL,
|
|
951
951
|
couchdbUser: COUCHDB_USER,
|
|
@@ -1085,7 +1085,7 @@ if (VAULT_PATH) {
|
|
|
1085
1085
|
}
|
|
1086
1086
|
var serverOptions = {
|
|
1087
1087
|
name: "obsidian-sync-mcp",
|
|
1088
|
-
version: "0.4.
|
|
1088
|
+
version: "0.4.7",
|
|
1089
1089
|
instructions: "Access and manage an Obsidian vault. You can read, write, list, search, move, and delete markdown notes. Every tool response includes an Obsidian deep link. Always show this link to the user using the format [obsidian://open?vault=...&file=...](obsidian://open?vault=...&file=...) so it is both clickable and visible as a URL."
|
|
1090
1090
|
};
|
|
1091
1091
|
var auth = null;
|
|
@@ -1138,7 +1138,7 @@ server.start({
|
|
|
1138
1138
|
transportType: "httpStream",
|
|
1139
1139
|
httpStream: { port: PORT, endpoint: "/mcp", host: process.env.HOST ?? "0.0.0.0" }
|
|
1140
1140
|
});
|
|
1141
|
-
console.log(`obsidian-sync-mcp v${"0.4.
|
|
1141
|
+
console.log(`obsidian-sync-mcp v${"0.4.7"} listening on port ${PORT}`);
|
|
1142
1142
|
process.on("unhandledRejection", (err) => {
|
|
1143
1143
|
console.error("Unhandled rejection:", err);
|
|
1144
1144
|
});
|
|
@@ -11060,6 +11060,7 @@ var Vault = class _Vault {
|
|
|
11060
11060
|
}
|
|
11061
11061
|
totalProcessed += result.results.length;
|
|
11062
11062
|
currentSince = String(result.last_seq);
|
|
11063
|
+
this.manipulator.liveSyncLocalDB.clearCaches();
|
|
11063
11064
|
if (onBatch && result.results.length > 0) {
|
|
11064
11065
|
await onBatch(currentSince, totalProcessed);
|
|
11065
11066
|
}
|
|
@@ -11149,4 +11150,4 @@ var Vault = class _Vault {
|
|
|
11149
11150
|
export {
|
|
11150
11151
|
Vault
|
|
11151
11152
|
};
|
|
11152
|
-
//# sourceMappingURL=vault-
|
|
11153
|
+
//# sourceMappingURL=vault-EB2JAR27.js.map
|