@vornrun/mcp 0.7.5 → 0.8.0-beta.1
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.js +11 -2
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1488,9 +1488,18 @@ function loadDefaults(d) {
|
|
|
1488
1488
|
},
|
|
1489
1489
|
...map.worktreeRetention !== void 0 && {
|
|
1490
1490
|
worktreeRetention: map.worktreeRetention
|
|
1491
|
-
}
|
|
1491
|
+
},
|
|
1492
|
+
...isPlainObject(map.experimental) && { experimental: experimentalFlags(map.experimental) }
|
|
1492
1493
|
};
|
|
1493
1494
|
}
|
|
1495
|
+
function isPlainObject(value) {
|
|
1496
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
1497
|
+
}
|
|
1498
|
+
function experimentalFlags(raw) {
|
|
1499
|
+
const flags = {};
|
|
1500
|
+
for (const [key, value] of Object.entries(raw)) if (typeof value === "boolean") flags[key] = value;
|
|
1501
|
+
return flags;
|
|
1502
|
+
}
|
|
1494
1503
|
function loadProjects(d) {
|
|
1495
1504
|
const rows = d.prepare("SELECT * FROM projects").all();
|
|
1496
1505
|
return rows.map(rowToProject);
|
|
@@ -5952,7 +5961,7 @@ console.warn = (...args) => _origError("[mcp:warn]", ...args);
|
|
|
5952
5961
|
console.error = (...args) => _origError("[mcp:error]", ...args);
|
|
5953
5962
|
async function main() {
|
|
5954
5963
|
configManager.init();
|
|
5955
|
-
const version = true ? "0.
|
|
5964
|
+
const version = true ? "0.8.0-beta.1" : createRequire(import.meta.url)("../package.json").version;
|
|
5956
5965
|
const server = createMcpServer(version);
|
|
5957
5966
|
const transport = new StdioServerTransport();
|
|
5958
5967
|
await server.connect(transport);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vornrun/mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0-beta.1",
|
|
4
4
|
"description": "Vorn MCP server — task management, git, and workflow tools for AI coding agents",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"zod": "^4.5.4"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@vornrun/server": "0.
|
|
42
|
-
"@vornrun/shared": "0.
|
|
41
|
+
"@vornrun/server": "0.8.0-beta.1",
|
|
42
|
+
"@vornrun/shared": "0.8.0-beta.1",
|
|
43
43
|
"tsup": "^8.5.1",
|
|
44
44
|
"tsx": "^4.23.1",
|
|
45
45
|
"typescript": "^6.0.3"
|