File size: 693 Bytes
f59fbe2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import { configHandlers } from "./config.handler";
import { mcpHandlers } from "./mcp.handler";
import { sessionHandlers } from "./session.handler";
import { chatHandlers } from "./chat.handler";
import { fileHandlers } from "./file.handler";
import { workspaceHandlers } from "./workspace.handler";
import { authHandlers } from "./auth.handler";
import type { Handler } from "./types";

export type { Handler, HandlerContext, BroadcastFn, ReloadWebviewFn, ShowLogsFn } from "./types";

export const handlers: Record<string, Handler<any, any>> = {
  ...workspaceHandlers,
  ...configHandlers,
  ...mcpHandlers,
  ...sessionHandlers,
  ...chatHandlers,
  ...fileHandlers,
  ...authHandlers,
};