{"record":{"id":"347e115efbf6e528","repo":"deepseek-ai/deepseek-harness","slug":"plugininventory-list-failed-result-error-code","errorCode":null,"errorMessage":"pluginInventory.list failed: ${result.error.code}: ${result.error.message}","messagePattern":"pluginInventory\\.list failed: (.+?): (.+?)","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/client/ui-settings-plugin-inventory/src/client/index.ts","lineNumber":33,"sourceCode":"    'settings.pluginInventory': PluginInventoryLocaleKey\n  }\n}\n\n/** Dictionary namespace owned by this plugin. */\nexport const NS = 'settings.pluginInventory'\n\n/** Services required by the Settings registration and generated Remote face. */\nexport const inject = ['slots', 'locale', 'remote', 'remote.pluginInventory']\n\n/** Contribute the lazy inventory tab to the Plugins settings section. */\nexport function apply(ctx: ClientContext): void {\n  ctx.effect(() => ctx.locale.register(NS, { zh, en }), 'ui-settings-plugin-inventory: dictionaries')\n\n  const t = ctx.locale.bind(NS)\n  const list: PluginInventorySettingsTabInjected['list'] = async () => {\n    const result = await ctx.remote.pluginInventory.list()\n    if (!result.ok) {\n      throw new Error(`pluginInventory.list failed: ${result.error.code}: ${result.error.message}`)\n    }\n    return result.value\n  }\n  const injected = (): PluginInventorySettingsTabInjected => ({ list })\n\n  ctx.slots.inject('settings.plugins.tab', () => ctx.slots.register({\n    name: 'settings.plugins.tab',\n    id: 'all',\n    order: 10,\n    label: () => t('tab'),\n    locale: NS,\n    inject: injected,\n  }, PluginInventorySettingsTab))\n}\n","sourceCodeStart":15,"sourceCodeEnd":48,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/packages/client/ui-settings-plugin-inventory/src/client/index.ts#L15-L48","documentation":"Error \"pluginInventory.list failed: ${result.error.code}: ${result.error.message}\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at packages/client/ui-settings-plugin-inventory/src/client/index.ts:33 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Ensure the pluginInventory service is running and read the reported code and message."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b150a551b8d465e31e418e1b2eaf5e79bbb7d28e","analyzedAt":"2026-08-24T18:12:29.105Z","schemaVersion":2},"datasetVersion":"2026-08-24T22:17:12.610Z"}