{"record":{"id":"b51d4a0a0b6ec78d","repo":"cline/cline","slug":"invalid-plugin-module-at-absolutepath-manifest-b51d4a","errorCode":null,"errorMessage":"Invalid plugin module at ${absolutePath}: manifest.providerIds must be a string array when provided","messagePattern":"Invalid plugin module at (.+?): manifest\\.providerIds must be a string array when provided","errorType":"validation","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"sdk/packages/core/src/extensions/plugin/plugin-loader.ts","lineNumber":69,"sourceCode":"\t\tthrow new Error(\n\t\t\t`Invalid plugin module at ${absolutePath}: missing required \"manifest\"`,\n\t\t);\n\t}\n\tif (!hasValidStringArray(plugin.manifest.capabilities)) {\n\t\tthrow new Error(\n\t\t\t`Invalid plugin module at ${absolutePath}: manifest.capabilities must be a string array`,\n\t\t);\n\t}\n\tif (plugin.manifest.capabilities.length === 0) {\n\t\tthrow new Error(\n\t\t\t`Invalid plugin module at ${absolutePath}: manifest.capabilities cannot be empty`,\n\t\t);\n\t}\n\tif (\n\t\tObject.hasOwn(plugin.manifest, \"providerIds\") &&\n\t\t!hasValidStringArray(plugin.manifest.providerIds)\n\t) {\n\t\tthrow new Error(\n\t\t\t`Invalid plugin module at ${absolutePath}: manifest.providerIds must be a string array when provided`,\n\t\t);\n\t}\n\tif (\n\t\tObject.hasOwn(plugin.manifest, \"modelIds\") &&\n\t\t!hasValidStringArray(plugin.manifest.modelIds)\n\t) {\n\t\tthrow new Error(\n\t\t\t`Invalid plugin module at ${absolutePath}: manifest.modelIds must be a string array when provided`,\n\t\t);\n\t}\n}\n\nfunction validatePluginExport(\n\tplugin: unknown,\n\tabsolutePath: string,\n): asserts plugin is PluginLike {\n\tif (!isObject(plugin)) {","sourceCodeStart":51,"sourceCodeEnd":87,"githubUrl":"https://github.com/cline/cline/blob/491b30b806fdb8c93513f821f2b87d63a61542f5/sdk/packages/core/src/extensions/plugin/plugin-loader.ts#L51-L87","documentation":"Error \"Invalid plugin module at ${absolutePath}: manifest.providerIds must be a string array when provided\" thrown in cline/cline.","triggerScenarios":"Thrown at sdk/packages/core/src/extensions/plugin/plugin-loader.ts:69 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":"491b30b806fdb8c93513f821f2b87d63a61542f5","analyzedAt":"2026-08-25T13:45:22.367Z","schemaVersion":2},"datasetVersion":"2026-08-25T21:54:21.419Z"}