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

Method post

packages/server/src/routes/fs.ts:48–48  ·  view source on GitHub ↗
(
    path: string,
    options: { preHandler: unknown[]; schema?: Record<string, unknown> },
    handler: (
      req: { id: string; body: unknown; params: unknown },
      reply: { send(payload: unknown): unknown },
    ) => Promise<void> | void,
  )

Source from the content-addressed store, hash-verified

46
47interface FsRouteHost {
48 post(
49 path: string,
50 options: { preHandler: unknown[]; schema?: Record<string, unknown> },
51 handler: (

Callers 8

registerFsRoutesFunction · 0.65
sessionsRouteFunction · 0.65
importsRouteFunction · 0.65
compactSessionMethod · 0.65
undoSessionMethod · 0.65
closeTerminalMethod · 0.65
openFileMethod · 0.65
revealFileMethod · 0.65

Implementers 1

DaemonHttpClientapps/kimi-web/src/api/daemon/http.ts

Calls

no outgoing calls

Tested by

no test coverage detected