@vheins/local-memory-mcp 0.18.4 → 0.18.5
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.
|
@@ -81,8 +81,8 @@ function loadServerInstructions() {
|
|
|
81
81
|
// src/mcp/capabilities.ts
|
|
82
82
|
var __dirname2 = path2.dirname(fileURLToPath2(import.meta.url));
|
|
83
83
|
var pkgVersion = "0.1.0";
|
|
84
|
-
if ("0.18.
|
|
85
|
-
pkgVersion = "0.18.
|
|
84
|
+
if ("0.18.5") {
|
|
85
|
+
pkgVersion = "0.18.5";
|
|
86
86
|
} else {
|
|
87
87
|
let searchDir = __dirname2;
|
|
88
88
|
for (let i = 0; i < 5; i++) {
|
|
@@ -1896,20 +1896,22 @@ var TaskEntity = class extends BaseEntity {
|
|
|
1896
1896
|
});
|
|
1897
1897
|
}
|
|
1898
1898
|
getTaskByCode(owner, repo, taskCode) {
|
|
1899
|
-
const
|
|
1900
|
-
|
|
1899
|
+
const baseQuery = `SELECT t.*, d.task_code as depends_on_code, p.task_code as parent_code,
|
|
1900
|
+
${this.coordinationSelect("t")}
|
|
1901
|
+
FROM tasks t
|
|
1902
|
+
LEFT JOIN tasks d ON t.depends_on = d.id
|
|
1903
|
+
LEFT JOIN tasks p ON t.parent_id = p.id `;
|
|
1904
|
+
let row;
|
|
1901
1905
|
if (owner) {
|
|
1902
|
-
|
|
1906
|
+
row = this.get(baseQuery + `WHERE t.owner = ? AND t.repo = ? AND t.task_code = ?`, [
|
|
1907
|
+
owner,
|
|
1908
|
+
repo,
|
|
1909
|
+
taskCode
|
|
1910
|
+
]);
|
|
1911
|
+
}
|
|
1912
|
+
if (!row) {
|
|
1913
|
+
row = this.get(baseQuery + `WHERE t.repo = ? AND t.task_code = ?`, [repo, taskCode]);
|
|
1903
1914
|
}
|
|
1904
|
-
const row = this.get(
|
|
1905
|
-
`SELECT t.*, d.task_code as depends_on_code, p.task_code as parent_code,
|
|
1906
|
-
${this.coordinationSelect("t")}
|
|
1907
|
-
FROM tasks t
|
|
1908
|
-
LEFT JOIN tasks d ON t.depends_on = d.id
|
|
1909
|
-
LEFT JOIN tasks p ON t.parent_id = p.id
|
|
1910
|
-
WHERE ${ownerClause}t.repo = ? AND t.task_code = ?`,
|
|
1911
|
-
params
|
|
1912
|
-
);
|
|
1913
1915
|
return row ? {
|
|
1914
1916
|
...this.rowToTask(row),
|
|
1915
1917
|
comments: this.all(
|
package/dist/dashboard/server.js
CHANGED
package/dist/mcp/server.js
CHANGED