{"record":{"id":"ad7c50f26a49139b","repo":"Wox-launcher/Wox","slug":"unknown-method-handler-request-method","errorCode":null,"errorMessage":"unknown method handler: ${request.Method}","messagePattern":"unknown method handler: (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"wox.plugin.host.nodejs/src/jsonrpc.ts","lineNumber":132,"sourceCode":"    case \"onPluginSettingChange\":\n      return onPluginSettingChange(ctx, request)\n    case \"onGetDynamicSetting\":\n      return onGetDynamicSetting(ctx, request)\n    case \"onDeepLink\":\n      return onDeepLink(ctx, request)\n    case \"onUnload\":\n      return onUnload(ctx, request)\n    case \"onEnterPluginQuery\":\n      return onEnterPluginQuery(ctx, request)\n    case \"onLeavePluginQuery\":\n      return onLeavePluginQuery(ctx, request)\n    case \"onLLMStream\":\n      return onLLMStream(ctx, request)\n    case \"onMRURestore\":\n      return onMRURestore(ctx, request)\n    default:\n      logger.info(ctx, `unknown method handler: ${request.Method}`)\n      throw new Error(`unknown method handler: ${request.Method}`)\n  }\n}\n\nasync function loadPlugin(ctx: Context, request: PluginJsonRpcRequest) {\n  const pluginDirectory = request.Params.PluginDirectory\n  const entry = request.Params.Entry\n  const modulePath = path.join(pluginDirectory, entry)\n\n  const module = await import(modulePath)\n  if (module[\"plugin\"] === undefined || module[\"plugin\"] === null) {\n    logger.error(ctx, `<${request.PluginName}> plugin doesn't export plugin object`)\n    return\n  }\n\n  logger.info(ctx, `<${request.PluginName}> load plugin successfully`)\n  pluginInstances.set(request.PluginId, {\n    Plugin: module[\"plugin\"] as Plugin,\n    API: {} as PluginAPI,","sourceCodeStart":114,"sourceCodeEnd":150,"githubUrl":"https://github.com/Wox-launcher/Wox/blob/1659730fcb37154f26497e07308b1f8789d659fe/wox.plugin.host.nodejs/src/jsonrpc.ts#L114-L150","documentation":"Error \"unknown method handler: ${request.Method}\" thrown in Wox-launcher/Wox.","triggerScenarios":"Thrown at wox.plugin.host.nodejs/src/jsonrpc.ts:132 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"1659730fcb37154f26497e07308b1f8789d659fe","analyzedAt":"2026-08-15T23:31:07.596Z","schemaVersion":2},"datasetVersion":"2026-08-16T03:17:38.424Z"}