Consolidate MCP server: remove voice bridge, add schedule/terminal/worktree tools

Merge agent-management and agent MCP into a unified server with shared
utilities. Remove the voice-mcp-bridge in favor of direct MCP tool
registration. Add schedule, terminal, and worktree management tools to
the MCP server for CLI parity. Include e2e parity tests.
This commit is contained in:
Mohamed Boudra
2026-04-11 12:46:42 +07:00
parent 4de2766114
commit cff41d78ab
28 changed files with 2647 additions and 777 deletions
@@ -123,9 +123,7 @@ function createSessionForWorkspaceTests(options: { appVersion?: string | null }
}),
dispose: () => {},
} as any,
createAgentMcpTransport: async () => {
throw new Error("not used");
},
mcpBaseUrl: null,
stt: null,
tts: null,
terminalManager: null,
@@ -230,9 +228,7 @@ describe("workspace aggregation", () => {
}),
dispose: () => {},
} as any,
createAgentMcpTransport: async () => {
throw new Error("not used");
},
mcpBaseUrl: null,
stt: null,
tts: null,
terminalManager: null,
@@ -377,9 +373,7 @@ describe("workspace aggregation", () => {
}),
dispose: () => {},
} as any,
createAgentMcpTransport: async () => {
throw new Error("not used");
},
mcpBaseUrl: null,
stt: null,
tts: null,
terminalManager: {
@@ -542,9 +536,7 @@ describe("workspace aggregation", () => {
}),
dispose: () => {},
} as any,
createAgentMcpTransport: async () => {
throw new Error("not used");
},
mcpBaseUrl: null,
stt: null,
tts: null,
terminalManager: {
@@ -678,9 +670,7 @@ describe("workspace aggregation", () => {
}),
dispose: () => {},
} as any,
createAgentMcpTransport: async () => {
throw new Error("not used");
},
mcpBaseUrl: null,
stt: null,
tts: null,
terminalManager: {
@@ -949,9 +939,7 @@ describe("workspace aggregation", () => {
}),
dispose: () => {},
} as any,
createAgentMcpTransport: async () => {
throw new Error("not used");
},
mcpBaseUrl: null,
stt: null,
tts: null,
terminalManager: null,