@vornrun/mcp 0.7.0-beta.5 → 0.7.0-beta.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/index.js +35 -3
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -888,6 +888,18 @@ function migrateSchema(d) {
|
|
|
888
888
|
})();
|
|
889
889
|
logger_default.info("[database] migrated schema to version 15 (config row revisions)");
|
|
890
890
|
}
|
|
891
|
+
if (version < 16) {
|
|
892
|
+
d.transaction(() => {
|
|
893
|
+
const cols = d.prepare("PRAGMA table_info(sessions)").all();
|
|
894
|
+
if (!cols.some((c) => c.name === "shell_cwd")) {
|
|
895
|
+
d.exec("ALTER TABLE sessions ADD COLUMN shell_cwd TEXT");
|
|
896
|
+
}
|
|
897
|
+
d.prepare(
|
|
898
|
+
"INSERT OR REPLACE INTO schema_meta (key, value) VALUES ('schema_version', '16')"
|
|
899
|
+
).run();
|
|
900
|
+
})();
|
|
901
|
+
logger_default.info("[database] migrated schema to version 16 (shell working directory)");
|
|
902
|
+
}
|
|
891
903
|
}
|
|
892
904
|
var REVISIONED_TABLES = [
|
|
893
905
|
"projects",
|
|
@@ -930,7 +942,8 @@ function verifySchema(d) {
|
|
|
930
942
|
ddl: "ALTER TABLE sessions ADD COLUMN sort_order INTEGER NOT NULL DEFAULT 0"
|
|
931
943
|
},
|
|
932
944
|
{ column: "worktree_name", ddl: "ALTER TABLE sessions ADD COLUMN worktree_name TEXT" },
|
|
933
|
-
{ column: "agent_session_id", ddl: "ALTER TABLE sessions ADD COLUMN agent_session_id TEXT" }
|
|
945
|
+
{ column: "agent_session_id", ddl: "ALTER TABLE sessions ADD COLUMN agent_session_id TEXT" },
|
|
946
|
+
{ column: "shell_cwd", ddl: "ALTER TABLE sessions ADD COLUMN shell_cwd TEXT" }
|
|
934
947
|
],
|
|
935
948
|
agent_commands: [
|
|
936
949
|
{
|
|
@@ -1078,7 +1091,13 @@ function loadDefaults(d) {
|
|
|
1078
1091
|
...map.hasSeenOnboarding !== void 0 && {
|
|
1079
1092
|
hasSeenOnboarding: map.hasSeenOnboarding
|
|
1080
1093
|
},
|
|
1081
|
-
|
|
1094
|
+
// Default on, and that changed meaning rather than merely flipping. It used
|
|
1095
|
+
// to decide whether every saved session was relaunched at start-up, which
|
|
1096
|
+
// spends tokens and starts processes -- worth asking about, so it was off.
|
|
1097
|
+
// Bringing a pane back no longer does either: it shows the last screen its
|
|
1098
|
+
// terminal drew and waits. There is nothing to ask, and leaving it off made
|
|
1099
|
+
// the whole thing invisible unless somebody went looking for a toggle.
|
|
1100
|
+
reopenSessions: map.reopenSessions ?? true,
|
|
1082
1101
|
// Saving iterates over every key in defaults, but loading is this explicit
|
|
1083
1102
|
// list — so a key missing here round-trips to nothing and its feature is
|
|
1084
1103
|
// silently inert.
|
|
@@ -2895,6 +2914,18 @@ var triggerConfigSchema = z5.union([
|
|
|
2895
2914
|
projectFilter: V.name.optional(),
|
|
2896
2915
|
fromStatus: z5.enum(["todo", "in_progress", "in_review", "done", "cancelled"]).optional(),
|
|
2897
2916
|
toStatus: z5.enum(["todo", "in_progress", "in_review", "done", "cancelled"]).optional()
|
|
2917
|
+
}),
|
|
2918
|
+
z5.object({
|
|
2919
|
+
triggerType: z5.literal("connectorPoll"),
|
|
2920
|
+
connectionId: V.id,
|
|
2921
|
+
event: V.shortText,
|
|
2922
|
+
cron: V.shortText,
|
|
2923
|
+
timezone: V.shortText.optional()
|
|
2924
|
+
}),
|
|
2925
|
+
z5.object({
|
|
2926
|
+
triggerType: z5.literal("webhook"),
|
|
2927
|
+
method: z5.enum(["POST", "GET"]),
|
|
2928
|
+
token: V.shortText
|
|
2898
2929
|
})
|
|
2899
2930
|
]);
|
|
2900
2931
|
var nodeSchema = z5.object({
|
|
@@ -2909,6 +2940,7 @@ var nodeSchema = z5.object({
|
|
|
2909
2940
|
"approval",
|
|
2910
2941
|
"createTaskFromItem",
|
|
2911
2942
|
"callConnectorAction",
|
|
2943
|
+
"httpRequest",
|
|
2912
2944
|
"loop"
|
|
2913
2945
|
]),
|
|
2914
2946
|
label: V.shortText,
|
|
@@ -4374,7 +4406,7 @@ console.warn = (...args) => _origError("[mcp:warn]", ...args);
|
|
|
4374
4406
|
console.error = (...args) => _origError("[mcp:error]", ...args);
|
|
4375
4407
|
async function main() {
|
|
4376
4408
|
configManager.init();
|
|
4377
|
-
const version = true ? "0.7.0-beta.
|
|
4409
|
+
const version = true ? "0.7.0-beta.7" : createRequire(import.meta.url)("../package.json").version;
|
|
4378
4410
|
const server = createMcpServer(version);
|
|
4379
4411
|
const transport = new StdioServerTransport();
|
|
4380
4412
|
await server.connect(transport);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vornrun/mcp",
|
|
3
|
-
"version": "0.7.0-beta.
|
|
3
|
+
"version": "0.7.0-beta.7",
|
|
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.4.3"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@vornrun/server": "0.7.0-beta.
|
|
42
|
-
"@vornrun/shared": "0.7.0-beta.
|
|
41
|
+
"@vornrun/server": "0.7.0-beta.7",
|
|
42
|
+
"@vornrun/shared": "0.7.0-beta.7",
|
|
43
43
|
"tsup": "^8.5.1",
|
|
44
44
|
"tsx": "^4.23.1",
|
|
45
45
|
"typescript": "^6.0.3"
|