MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / FsWatchHandler

Interface FsWatchHandler

packages/server/src/ws/connection.ts:65–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65export interface FsWatchHandler {
66 add(
67 sessionId: string,
68 connectionId: string,
69 wirePaths: readonly string[],
70 ): Promise<FsWatchResult>;
71 remove(
72 sessionId: string,
73 connectionId: string,
74 wirePaths: readonly string[],
75 ): Promise<FsWatchResult>;
76 cleanupConnection(connectionId: string): void;
77}
78
79export type FsWatchResult =
80 | { ok: true; watched_paths: string[]; current_count: number }

Callers 11

subscribeMethod · 0.65
onFrameMethod · 0.65
closeDanglingToolCallsFunction · 0.65
migrateConfigStepFunction · 0.65
typed-tool.test.tsFile · 0.65
stress.test.tsFile · 0.65
onUnsubscribeMethod · 0.65
onWatchFsRemoveMethod · 0.65
onCloseMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected