{"record":{"id":"cf56b4ebed13e07e","repo":"cline/cline","slug":"unknown-extension-s-invalid-join","errorCode":null,"errorMessage":"unknown extension(s): ${invalid.join(\", \")}","messagePattern":"unknown extension\\(s\\): (.+?)","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"sdk/packages/core/src/cron/specs/cron-spec-parser.ts","lineNumber":150,"sourceCode":"}\n\nconst CRON_EXTENSION_KINDS = new Set<CronSpecExtensionKind>([\n\t\"rules\",\n\t\"skills\",\n\t\"plugins\",\n]);\n\nfunction normalizeExtensions(\n\tvalue: unknown,\n): CronSpecExtensionKind[] | undefined {\n\tconst extensions = normalizeStringList(value, { preserveEmptyArray: true });\n\tif (!extensions) return undefined;\n\tconst invalid = extensions.filter(\n\t\t(extension) =>\n\t\t\t!CRON_EXTENSION_KINDS.has(extension as CronSpecExtensionKind),\n\t);\n\tif (invalid.length > 0) {\n\t\tthrow new Error(`unknown extension(s): ${invalid.join(\", \")}`);\n\t}\n\treturn extensions as CronSpecExtensionKind[];\n}\n\nfunction asPositiveInt(value: unknown): number | undefined {\n\tif (typeof value !== \"number\" || !Number.isFinite(value) || value <= 0) {\n\t\treturn undefined;\n\t}\n\treturn Math.floor(value);\n}\n\nfunction asNonNegativeInt(value: unknown): number | undefined {\n\tif (typeof value !== \"number\" || !Number.isFinite(value) || value < 0) {\n\t\treturn undefined;\n\t}\n\treturn Math.floor(value);\n}\n","sourceCodeStart":132,"sourceCodeEnd":168,"githubUrl":"https://github.com/cline/cline/blob/491b30b806fdb8c93513f821f2b87d63a61542f5/sdk/packages/core/src/cron/specs/cron-spec-parser.ts#L132-L168","documentation":"Error \"unknown extension(s): ${invalid.join(\", \")}\" thrown in cline/cline.","triggerScenarios":"Thrown at sdk/packages/core/src/cron/specs/cron-spec-parser.ts:150 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"}