MCPcopy Create free account
hub / github.com/callstack/agent-device / runFindHandler

Function runFindHandler

src/daemon/request-handler-chain.ts:139–152  ·  view source on GitHub ↗
(params: RequestHandlerChainParams)

Source from the content-addressed store, hash-verified

137}
138
139async function runFindHandler(params: RequestHandlerChainParams): Promise<DaemonResponse> {
140 const { handleFindCommands } = await loadFindHandlerModule();
141 return expectHandlerResponse(
142 params.req.command,
143 'find',
144 await handleFindCommands({
145 req: params.req,
146 sessionName: params.sessionName,
147 logPath: params.logPath,
148 sessionStore: params.sessionStore,
149 invoke: params.invoke,
150 }),
151 );
152}
153
154async function runInteractionHandler(params: RequestHandlerChainParams): Promise<DaemonResponse> {
155 const { handleInteractionCommands } = await loadInteractionHandlerModule();

Callers 1

runRequestHandlerChainFunction · 0.85

Calls 2

expectHandlerResponseFunction · 0.85
handleFindCommandsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…