{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"]}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AC7","name":"A11y enforcement","shortDescription":{"text":"A11y enforcement"},"helpUri":"https://codehealth.canine.dev/dimensions/AC7"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"index.migrateUserConfig (cyclomatic 267): index.migrateUserConfig has cyclomatic complexity 267 (threshold 15). Of this number, 214 points are the body\u0027s own statements and 53 belong to 16 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/index.mjs"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba6ec96fbf775557e339b69944b5984fa964391c0493b2ea2c8125347092d84"}},{"ruleId":"D1","level":"warning","message":{"text":"index.ConversationCard (cyclomatic 125): index.ConversationCard has cyclomatic complexity 125 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 98 belong to 30 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationCard/index.jsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"117ac832e97509df54a0500a545a4e7a0898c4bb44d19f540ea73909118e6a56"}},{"ruleId":"D1","level":"warning","message":{"text":"GeneralPart.GeneralPart (cyclomatic 102): GeneralPart.GeneralPart has cyclomatic complexity 102 (threshold 15). Of this number, 43 points are the body\u0027s own statements and 59 belong to 13 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/GeneralPart.jsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"14467c8441f89cacd6c9f320d3c7897b4973931162a555d583aaa74e1cbb3630"}},{"ruleId":"D1","level":"warning","message":{"text":"ApiModes.ApiModes (cyclomatic 77): ApiModes.ApiModes has cyclomatic complexity 77 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 55 belong to 19 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/ApiModes.jsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc0e9c5b450d5c3acd5947be4da3edfbc604d487fa1c99e6d35c992ac7d8c30"}},{"ruleId":"D1","level":"warning","message":{"text":"index.setPortProxy (cyclomatic 60): index.setPortProxy has cyclomatic complexity 60 (threshold 15). Most of this is not in the body itself: 15 of the 60 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 187, 312, 150, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/index.mjs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"072cef6f7e1d00c6cf5f75a50f7e7753acff36653300a22cc89c22ee9dcbcb44"}},{"ruleId":"D1","level":"warning","message":{"text":"chatgpt-web.generateAnswersWithChatgptWebApi (cyclomatic 55): chatgpt-web.generateAnswersWithChatgptWebApi has cyclomatic complexity 55 (threshold 15). Of this number, 46 points are the body\u0027s own statements and 9 belong to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/chatgpt-web.mjs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"465707c663f3b536f4a9fa851be2ea83ddbab68a1f6394dbecc031b267e69178"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-registry.resolveOpenAICompatibleRequest (cyclomatic 55): provider-registry.resolveOpenAICompatibleRequest has cyclomatic complexity 55 (threshold 15). Of this number, 51 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/provider-registry.mjs"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6cca2ed867bb3739921f6708b798ea31a78109fa01126a37c6b8787fc5ff88"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 48): (anonymous) has cyclomatic complexity 48 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/index.mjs"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"3763053fe0973c8dc385a9c3c0c6991bb15b952e95a7239c2a216d6cf96936f1"}},{"ruleId":"D1","level":"warning","message":{"text":"index.Browser.runtime.onMessage.addListener() (cyclomatic 46): index.Browser.runtime.onMessage.addListener() has cyclomatic complexity 46 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/index.mjs"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff60358f5296cb99a39a2337b5322904e4fc4d8bea73e28aeabde810fb5f6e12"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-secret-utils.buildSelectedModeProviderSecretOverrideUpdate (cyclomatic 42): provider-secret-utils.buildSelectedModeProviderSecretOverrideUpdate has cyclomatic complexity 42 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/provider-secret-utils.mjs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"f407d36b2ea9df882d1ebdd95b147f051796354a2ed7162df0e18b1ec0abe749"}},{"ruleId":"D1","level":"warning","message":{"text":"getUserConfig (cyclomatic 42): getUserConfig has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/index.mjs"},"region":{"startLine":2147}}}],"partialFingerprints":{"codehealthFindingId/v1":"797ca01ffdfe71550d4ebc23e8135c92af352eb44ae182d0e4563934f80aa02a"}},{"ruleId":"D1","level":"warning","message":{"text":"build.runWebpack (cyclomatic 38): build.runWebpack has cyclomatic complexity 38 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 14 belong to 5 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build.mjs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"275d3c196129b681f43e61f1ec93f2ece2a9e94bc34992d389444a80c6bbc8c4"}},{"ruleId":"D1","level":"warning","message":{"text":"model-name-convert.isApiModeSelected (cyclomatic 35): model-name-convert.isApiModeSelected has cyclomatic complexity 35 (threshold 15). Most of this is not in the body itself: 11 of the 35 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 352, 340, 324). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/model-name-convert.mjs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"a164a27ffd1db04b67f0e62983a91b4459f83470aa0d33528a49867ad4d5dce0"}},{"ruleId":"D1","level":"warning","message":{"text":"index.executeApi (cyclomatic 35): index.executeApi has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/index.mjs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64f47bf1e90b32e873ea60fc428b513ad18f88b0166553842f53b84dc8e33ee"}},{"ruleId":"D1","level":"warning","message":{"text":"index.prepareForJumpBackNotification (cyclomatic 34): index.prepareForJumpBackNotification has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 13 of the 34 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 734, 819, 727, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/content-script/index.jsx"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"67dc916048887dd65f4d00439bf6a26d51d41ccae53131d4a77345ab8101e1f5"}},{"ruleId":"D1","level":"warning","message":{"text":"index.InputBox (cyclomatic 33): index.InputBox has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 10 of the 33 points are its own statements and the rest belongs to 13 function literals inside it that branch (lines 57, 95, 135, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/InputBox/index.jsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"b130f85cb0b38c5182dfe8e5fa3abc6ba8e8b84f071dcebea9f73005365931d5"}},{"ruleId":"D1","level":"warning","message":{"text":"eventsource-parser.createParser (cyclomatic 31): eventsource-parser.createParser has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/eventsource-parser.mjs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"c513e42709c8c32c29d41c29a9c330a412b49236a32d0300a89f47b012a628db"}},{"ruleId":"D1","level":"warning","message":{"text":"index.FloatingToolbar (cyclomatic 30): index.FloatingToolbar has cyclomatic complexity 30 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 14 belong to 8 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FloatingToolbar/index.jsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0eed4da8a4d78d9445ff656bc2e252e9e60a9c00dcc5f3c55711a97a4c73a5"}},{"ruleId":"D1","level":"warning","message":{"text":"index.mountComponent (cyclomatic 30): index.mountComponent has cyclomatic complexity 30 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/content-script/index.jsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"b764e0b844684f60a255195986f405edab2cf0a66492f572ebd1c75bc163e316"}},{"ruleId":"D1","level":"warning","message":{"text":"api-modes-provider-utils.getReferencedCustomProviderIdsFromSessions (cyclomatic 29): api-modes-provider-utils.getReferencedCustomProviderIdsFromSessions has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/api-modes-provider-utils.mjs"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"370b4e15f5627c7990151fa447d272a5ae3c86df5abc33bce26354efdb670f8c"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-registry.resolveProviderIdFromLegacyModelName (cyclomatic 29): provider-registry.resolveProviderIdFromLegacyModelName has cyclomatic complexity 29 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/provider-registry.mjs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"40855ed19f6cf8b47ef95d09095aa813ada3e4740b4aecf0087fedb7ed718510"}},{"ruleId":"D1","level":"warning","message":{"text":"generateAnswersWithClaudeApi (cyclomatic 26): generateAnswersWithClaudeApi has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 9 of the 26 points are its own statements and the rest belongs to 6 function items inside it that branch (onMessage, onError, onStart, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/claude-api.mjs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ffd1445b81db4619922dc031d4d5cc19d517f3f21c6b01370d25d589ce4dc9"}},{"ruleId":"D1","level":"warning","message":{"text":"model-name-convert.getApiModesFromConfig (cyclomatic 24): model-name-convert.getApiModesFromConfig has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 3 of the 24 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 190, 168, 208, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/model-name-convert.mjs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5790ecb8860fd7b77ce3dfa4ac09c8ccee53f5c79fea8b30394646e8bc9925d"}},{"ruleId":"D1","level":"warning","message":{"text":"index.prepareForSelectionTools (cyclomatic 24): index.prepareForSelectionTools has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 2 of the 24 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 305, 289, 375, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/content-script/index.jsx"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6427847c0a03109b3d602ff29066859589d350c86a09b6a9c1933a89cb30fb8"}},{"ruleId":"D1","level":"warning","message":{"text":"build (cyclomatic 23): build has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 5 of the 23 points are its own statements and the rest belongs to 6 function items inside it that branch ((anonymous)::(anonymous), createWebpackBuildPromise::(anonymous)::(anonymous), createWebpackBuildPromise::(anonymous), \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build.mjs"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"a911062e8ffb45738f955c208f92da0b9934b5d93f289ecb72ac8748b59f52a9"}},{"ruleId":"D1","level":"warning","message":{"text":"onClickMenu (cyclomatic 23): onClickMenu has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 9 of the 23 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 39, 30, 66, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/menus.mjs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"f710585509e7bc4231cbf651ff7bc203bdef323eabd9468aa3da7e35567408fd"}},{"ruleId":"D1","level":"warning","message":{"text":"handlePortError (cyclomatic 22): handlePortError has cyclomatic complexity 22 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 1 belongs to 8 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/wrappers.mjs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ebb29d2b56c039e4c33b343fb1f620960792e555e56fd3c2c9fe853d308ef46"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-registry.getProviderSecret (cyclomatic 21): provider-registry.getProviderSecret has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/provider-registry.mjs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"3093c98b75ff2f1fc888bf74a19ec6af4d8c71fbe3685f48a319c639cbe59f2e"}},{"ruleId":"D1","level":"warning","message":{"text":"index.DecisionCard (cyclomatic 20): index.DecisionCard has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 2 of the 20 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 19, 73). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/DecisionCard/index.jsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b7e1b1b67fba1067c55bb244d46e04c5a6b0b590d50c24457a959db8263e12"}},{"ruleId":"D1","level":"warning","message":{"text":"import-data-cleanup.prepareImportData (cyclomatic 20): import-data-cleanup.prepareImportData has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/import-data-cleanup.mjs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d1c65a74d55e394bf43f44c0096eee77dd8751dfac1eedcf243852d02e3eab"}},{"ruleId":"D1","level":"warning","message":{"text":"generateAnswersWithOpenAICompatible (cyclomatic 20): generateAnswersWithOpenAICompatible has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 4 of the 20 points are its own statements and the rest belongs to 6 function items inside it that branch (onEnd, onMessage, onError, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/openai-compatible-core.mjs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ced21a5486cebbc0b406aa257cdb671fe2b27dc53f46cc26991e9176e193a1"}},{"ruleId":"D1","level":"warning","message":{"text":"fetch-sse.fetchSSE (cyclomatic 19): fetch-sse.fetchSSE has cyclomatic complexity 19 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/fetch-sse.mjs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9952b32a0e9164b40fd8e64b4e4b81ed37dc15ce8b254d297c2f72705111c5d"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App (cyclomatic 19): App.App has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 7 of the 19 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 30, 51, 67, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/IndependentPanel/App.jsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"58045177b94535f63777d216148668bac1f1974ae447be937a1f233a25e92657"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-secret-utils.rollbackProviderSecretOverrideSessionMigration (cyclomatic 19): provider-secret-utils.rollbackProviderSecretOverrideSessionMigration has cyclomatic complexity 19 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 9 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/provider-secret-utils.mjs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb2347354891ba6e497b67c2e020dae1a11bf733083e4569751788b5d46e6fe3"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-secret-utils.buildProviderSecretUpdate (cyclomatic 19): provider-secret-utils.buildProviderSecretUpdate has cyclomatic complexity 19 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/provider-secret-utils.mjs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ccc776c4e0a0230dfb3d10755711ab2d665c0649e5b976812bb6e1df0195573"}},{"ruleId":"D1","level":"warning","message":{"text":"isApiModeSelected::isLegacyCompatibleSessionMatch (cyclomatic 19): isApiModeSelected::isLegacyCompatibleSessionMatch has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/model-name-convert.mjs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c9d87e9af6c3a57415ee9c75356fcfdc986728a1636afdec4fbf9c7eb09a3f"}},{"ruleId":"D1","level":"warning","message":{"text":"setPortProxy::_proxyOnDisconnect (cyclomatic 19): setPortProxy::_proxyOnDisconnect has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/index.mjs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd4392857240a567075b52ffa7984d08ae1d021dd644dbc6833edbeed591c5cc"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-registry.resolveUrlFromProvider (cyclomatic 18): provider-registry.resolveUrlFromProvider has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/provider-registry.mjs"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c8716e30cc5a777ab539e6561c902d1379a4ef0282858b19a364181cd637de"}},{"ruleId":"D1","level":"warning","message":{"text":"createParser::parseEventStreamLine (cyclomatic 18): createParser::parseEventStreamLine has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/eventsource-parser.mjs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5168975eafb582e338912aec0db2acacae79e9403af219c7ebe10185ada35d"}},{"ruleId":"D1","level":"warning","message":{"text":"generateAnswersWithChatgptWebApi::handleMessage (cyclomatic 18): generateAnswersWithChatgptWebApi::handleMessage has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/chatgpt-web.mjs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"735ea34031e6e6b3d0a487e92f3a8ab7e50c570833a484fec6a47c9f705285b3"}},{"ruleId":"D1","level":"warning","message":{"text":"redact.redactSensitiveFields (cyclomatic 17): redact.redactSensitiveFields has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/redact.mjs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3daa5bd75c24babfd54194bc1025dd9a26dc215b4a269f96283d8f54f3a571"}},{"ruleId":"D1","level":"warning","message":{"text":"generateAnswersWithWaylaidwandererApi (cyclomatic 16): generateAnswersWithWaylaidwandererApi has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to 5 function items inside it that branch (onMessage, onError, onEnd, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/waylaidwanderer-api.mjs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb54df519b9cd13e605cdd9ee76283565ce7ddceba7a0415fd151da24a0f6c5"}},{"ruleId":"D2","level":"warning","message":{"text":"migrateUserConfig (cognitive 381): migrateUserConfig has cognitive complexity 381 (threshold 15). Drivers by points: if/else 106 (215 pts), boolean chains 86, ternaries 37 (67 pts), loops 12 (13 pts) (nesting depth added 140). Of this number, 317 points are the body\u0027s own statements and 64 belong to 46 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/config/index.mjs holds 2 of the 56 methods over the threshold \u2014 including the worst \u2014 and 432 of the 1649 points over it (26%), 2.6\u00D7 the next-largest file (src/components/ConversationCard/index.jsx at 165). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/index.mjs"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c6a7358c6c3a7d1895fa5f5ea463d2a0a4519db9f5103fc4821ca3697e96210"}},{"ruleId":"D2","level":"warning","message":{"text":"index.ConversationCard (cognitive 180): index.ConversationCard has cognitive complexity 180 (threshold 15). Drivers by points: if/else 62 (98 pts), boolean chains 26, ternaries 19 (24 pts), error handling 7 (16 pts), loops 6 (14 pts), match/switch 1 (2 pts) (nesting depth added 59). Of this number, 27 points are the body\u0027s own statements and 153 belong to 30 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationCard/index.jsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e164b96afda59b5ed6007b44344850556f6c53999685935b118d41082921d62"}},{"ruleId":"D2","level":"warning","message":{"text":"index.prepareForJumpBackNotification (cognitive 95): index.prepareForJumpBackNotification has cognitive complexity 95 (threshold 15). Drivers by points: if/else 21 (64 pts), error handling 6 (21 pts), boolean chains 5, ternaries 1 (5 pts) (nesting depth added 62). Of this number, 26 points are the body\u0027s own statements and 69 belong to 7 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/content-script/index.jsx"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"884bfac8905537bf9c74b5a9d7c0729eae3b95ed242220756058a81bd0ae7fe8"}},{"ruleId":"D2","level":"warning","message":{"text":"GeneralPart.GeneralPart (cognitive 95): GeneralPart.GeneralPart has cognitive complexity 95 (threshold 15). Drivers by points: if/else 35 (40 pts), boolean chains 36, ternaries 9 (13 pts), error handling 5 (6 pts) (nesting depth added 10). Of this number, 29 points are the body\u0027s own statements and 66 belong to 13 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/GeneralPart.jsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bff42ca37dea9c5d2dea715491874a344bb6b0cac35448d648d2c58f0e2669a"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-registry.resolveOpenAICompatibleRequest (cognitive 94): provider-registry.resolveOpenAICompatibleRequest has cognitive complexity 94 (threshold 15). Drivers by points: if/else 23 (54 pts), ternaries 7 (22 pts), boolean chains 18 (nesting depth added 46). Of this number, 90 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/provider-registry.mjs"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df209eff394cd98f459499035d9a4f4ae0c041885a3d092b3b259ef0c522d09"}},{"ruleId":"D2","level":"warning","message":{"text":"index.executeApi (cognitive 90): index.executeApi has cognitive complexity 90 (threshold 15). Drivers by points: if/else 30 (56 pts), error handling 7 (31 pts), boolean chains 3 (nesting depth added 50). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/index.mjs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"74edb008f18f43bab18f5b791083063cb0888ff9208a3aa63012081fe57aae87"}},{"ruleId":"D2","level":"warning","message":{"text":"getUserConfig (cognitive 81): getUserConfig has cognitive complexity 81 (threshold 15). Drivers by points: if/else 25 (50 pts), error handling 6 (18 pts), boolean chains 9, loops 1 (2 pts), other 2 (nesting depth added 38). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/config/index.mjs holds 2 of the 56 methods over the threshold \u2014 including the worst \u2014 and 432 of the 1649 points over it (26%), 2.6\u00D7 the next-largest file (src/components/ConversationCard/index.jsx at 165). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/index.mjs"},"region":{"startLine":2147}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e4f05d62e865d0395dc3df8b7bc518b1becf218359d1fd45eae7e5ecb219fe8"}},{"ruleId":"D2","level":"warning","message":{"text":"ApiModes.ApiModes (cognitive 72): ApiModes.ApiModes has cognitive complexity 72 (threshold 15). Drivers by points: if/else 26 (30 pts), boolean chains 26, ternaries 12 (15 pts), error handling 1 (nesting depth added 7). Most of this is not in the body itself: 14 of the 72 points are its own statements and the rest belongs to 19 function literals inside it that branch (lines 272, 387, 340, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/ApiModes.jsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78f15b4efcf47b54f1e43364fa91700a80bbf6cb7c6f4a3ca868389b75c236b"}},{"ruleId":"D2","level":"warning","message":{"text":"chatgpt-web.generateAnswersWithChatgptWebApi (cognitive 63): chatgpt-web.generateAnswersWithChatgptWebApi has cognitive complexity 63 (threshold 15). Drivers by points: if/else 28 (39 pts), boolean chains 17, error handling 2 (4 pts), ternaries 2 (3 pts) (nesting depth added 14). Of this number, 60 points are the body\u0027s own statements and 3 belong to 4 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/chatgpt-web.mjs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"470135d51d4eef0a63387205a463c4152f6a09d03d40a542b07de4d8acf78c4a"}},{"ruleId":"D2","level":"warning","message":{"text":"getReferencedCustomProviderIdsFromSessions (cognitive 61): getReferencedCustomProviderIdsFromSessions has cognitive complexity 61 (threshold 15). Drivers by points: if/else 12 (33 pts), loops 5 (11 pts), ternaries 4 (10 pts), boolean chains 7 (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/api-modes-provider-utils.mjs"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac15a3b149bf08109691380d33f480c358c42328f07cf881ce170a5892b8e70"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 60): (anonymous) has cognitive complexity 60 (threshold 15). Drivers by points: if/else 17 (34 pts), boolean chains 10, error handling 5 (9 pts), ternaries 2 (4 pts), other 2, match/switch 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/index.mjs"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be645dc4689d3daa34510f186b82c72820e97e70a6ce9f4ba7b92e12a4d33ab"}},{"ruleId":"D2","level":"warning","message":{"text":"index.Browser.runtime.onMessage.addListener() (cognitive 56): index.Browser.runtime.onMessage.addListener() has cognitive complexity 56 (threshold 15). Drivers by points: if/else 17 (34 pts), error handling 5 (9 pts), boolean chains 8, ternaries 2 (4 pts), match/switch 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/index.mjs"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"a067444beed0880578198a861edf7a49c42bd801a449c6e4bd90707d29cda7f1"}},{"ruleId":"D2","level":"warning","message":{"text":"build.runWebpack (cognitive 51): build.runWebpack has cognitive complexity 51 (threshold 15). Drivers by points: ternaries 20 (25 pts), if/else 10 (17 pts), boolean chains 7, error handling 1 (2 pts) (nesting depth added 13). Of this number, 27 points are the body\u0027s own statements and 24 belong to 5 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build.mjs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5e535f0b7ee290041bc5ed5092ca77d91096f76503250c12de6b7fb08eadad"}},{"ruleId":"D2","level":"warning","message":{"text":"onClickMenu (cognitive 43): onClickMenu has cognitive complexity 43 (threshold 15). Drivers by points: error handling 9 (25 pts), if/else 8 (13 pts), boolean chains 4, ternaries 1 (nesting depth added 21). Most of this is not in the body itself: 14 of the 43 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 39, 30, 66, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/menus.mjs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"112c61e2b19f8157309b1f0228ba0c439fe4a5533c6fb918171111494c3efb29"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-secret-utils.buildSelectedModeProviderSecretOverrideUpdate (cognitive 42): provider-secret-utils.buildSelectedModeProviderSecretOverrideUpdate has cognitive complexity 42 (threshold 15). Drivers by points: if/else 11 (15 pts), ternaries 10 (15 pts), boolean chains 12 (nesting depth added 9). Of this number, 34 points are the body\u0027s own statements and 8 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/provider-secret-utils.mjs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ab398142b62dc88402a2eafc8f909992b74fea6a3c9c611c93a9e9f31e958d"}},{"ruleId":"D2","level":"warning","message":{"text":"index.FloatingToolbar (cognitive 41): index.FloatingToolbar has cognitive complexity 41 (threshold 15). Drivers by points: if/else 17 (29 pts), boolean chains 8, loops 2 (4 pts) (nesting depth added 14). Of this number, 24 points are the body\u0027s own statements and 17 belong to 8 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FloatingToolbar/index.jsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b07260816d4b0df74f93d05f58596646dd3b7fcae4bb2ac2d2b5b6f45493f4"}},{"ruleId":"D2","level":"warning","message":{"text":"model-name-convert.isApiModeSelected (cognitive 40): model-name-convert.isApiModeSelected has cognitive complexity 40 (threshold 15). Drivers by points: if/else 23 (30 pts), boolean chains 8, ternaries 1 (2 pts) (nesting depth added 8). Of this number, 16 points are the body\u0027s own statements and 24 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/model-name-convert.mjs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc1c6eb5706552c86fc5c0e66295adcd8f36190dc9919fe5d09f96c9ee15f04"}},{"ruleId":"D2","level":"warning","message":{"text":"eventsource-parser.createParser (cognitive 39): eventsource-parser.createParser has cognitive complexity 39 (threshold 15). Drivers by points: if/else 21 (29 pts), boolean chains 7, loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/eventsource-parser.mjs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2b529e8b48fa83dac1b7d318b47d56c4f4c81596216868ef011863776aa291"}},{"ruleId":"D2","level":"warning","message":{"text":"index.InputBox (cognitive 37): index.InputBox has cognitive complexity 37 (threshold 15). Drivers by points: if/else 19 (24 pts), ternaries 7, boolean chains 6 (nesting depth added 5). Most of this is not in the body itself: 9 of the 37 points are its own statements and the rest belongs to 13 function literals inside it that branch (lines 95, 35, 135, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/InputBox/index.jsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"21fd21ecf97c8ddaacc6eb5977ae010322f4395318200b8ffaf15256887df3dc"}},{"ruleId":"D2","level":"warning","message":{"text":"setPortProxy::_proxyOnDisconnect (cognitive 37): setPortProxy::_proxyOnDisconnect has cognitive complexity 37 (threshold 15). Drivers by points: error handling 6 (18 pts), if/else 12 (18 pts), boolean chains 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/index.mjs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f779e3f100ef0280a2d42854ee27fce6194d4c748beb262c75ea0f0dd18a906"}},{"ruleId":"D2","level":"warning","message":{"text":"index.mountComponent (cognitive 36): index.mountComponent has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 9, error handling 3, loops 1 (2 pts), ternaries 1 (nesting depth added 9). Of this number, 34 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/content-script/index.jsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"5354ead692749c58bca5c6cee145655e3227379897e1171c6e2f1037f251b1ca"}},{"ruleId":"D2","level":"warning","message":{"text":"fetch-sse.fetchSSE (cognitive 35): fetch-sse.fetchSSE has cognitive complexity 35 (threshold 15). Drivers by points: error handling 9 (21 pts), if/else 8 (13 pts), loops 1 (nesting depth added 17). Of this number, 31 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/fetch-sse.mjs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"5423b91c3df0435b8ff0fb1c3747da65ba24f04d5c93321af37b3b5c42824cf6"}},{"ruleId":"D2","level":"warning","message":{"text":"redact.redactSensitiveFields (cognitive 33): redact.redactSensitiveFields has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (23 pts), loops 3 (7 pts), boolean chains 3 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/redact.mjs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"af47e432be97157292c73497fbf1ef666e19adc8588b34906970ddf1c8843233"}},{"ruleId":"D2","level":"warning","message":{"text":"openai-compatible-core.generateAnswersWithOpenAICompatible (cognitive 33): openai-compatible-core.generateAnswersWithOpenAICompatible has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (18 pts), ternaries 4 (8 pts), error handling 2 (5 pts), boolean chains 2 (nesting depth added 13). Of this number, 32 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/openai-compatible-core.mjs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7b095cde33978cbba44774056a0fd672bfa6b874b6c16265d532edb7bf7fd8"}},{"ruleId":"D2","level":"warning","message":{"text":"index.prepareForSelectionTools (cognitive 30): index.prepareForSelectionTools has cognitive complexity 30 (threshold 15). Drivers by points: if/else 14 (19 pts), error handling 5 (6 pts), boolean chains 5 (nesting depth added 6). Most of this is not in the body itself: 1 of the 30 points is its own statement and the rest belongs to 5 function literals inside it that branch (lines 305, 289, 375, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/content-script/index.jsx"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"954571ef67b7b4a84b3f7fcbebf8b2ba3c3e2092b1ac1a8b19b01379a8873948"}},{"ruleId":"D2","level":"warning","message":{"text":"registerCommands (cognitive 30): registerCommands has cognitive complexity 30 (threshold 15). Drivers by points: error handling 5 (17 pts), if/else 5 (11 pts), boolean chains 2 (nesting depth added 18). Most of this is not in the body itself: 0 of the 30 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 5, 30, 64). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/commands.mjs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1bc7dcc5c517067e4f80ad742a42fe5dfebf600e0eaed5171dc40493012ebf3"}},{"ruleId":"D2","level":"warning","message":{"text":"claude-api.generateAnswersWithClaudeApi (cognitive 29): claude-api.generateAnswersWithClaudeApi has cognitive complexity 29 (threshold 15). Drivers by points: if/else 17 (23 pts), boolean chains 4, error handling 1, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/claude-api.mjs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a313baed4f3e0b03e4af784cc3189530a713a67c8a3df39b2d5d4674af359563"}},{"ruleId":"D2","level":"warning","message":{"text":"build (cognitive 29): build has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 8, error handling 4 (6 pts) (nesting depth added 7). Most of this is not in the body itself: 8 of the 29 points are its own statements and the rest belongs to 6 function items inside it that branch ((anonymous)::(anonymous), createWebpackBuildPromise::(anonymous), createWebpackBuildPromise::(anonymous)::(anonymous), \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build.mjs"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"010b217deeea6bc99846abf53e9ac0b6152fc4ea2a29b8d1230f2e6d35d66e2f"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-registry.getProviderSecret (cognitive 28): provider-registry.getProviderSecret has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 6, ternaries 3 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/provider-registry.mjs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf93d72cc71a5d4ca827c69b1f000b4a7d38fd7213b7ab15ac16706b11a72541"}},{"ruleId":"D2","level":"warning","message":{"text":"handlePortError (cognitive 28): handlePortError has cognitive complexity 28 (threshold 15). Drivers by points: if/else 17 (21 pts), boolean chains 3, ternaries 2, error handling 1, other 1 (nesting depth added 4). Of this number, 27 points are the body\u0027s own statements and 1 belongs to 8 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/wrappers.mjs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee8f0065d5c7e29ced423a2e3fc583f71020cbf30181ed99b809c66e23f39c8"}},{"ruleId":"D2","level":"warning","message":{"text":"import-data-cleanup.prepareImportData (cognitive 26): import-data-cleanup.prepareImportData has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (17 pts), loops 3 (5 pts), boolean chains 4 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/import-data-cleanup.mjs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ffa7dd31984c0cb76e0e0ec3a5c26763c578d18cb1fca72fc6a030d52899095"}},{"ruleId":"D2","level":"warning","message":{"text":"index.overwriteAccessToken (cognitive 25): index.overwriteAccessToken has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (18 pts), error handling 3 (6 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/content-script/index.jsx"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eace4c8825bf806d046668e0edd1f08fd74493cf2f2c60b1e2b958eb08de79f"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-registry.resolveProviderIdFromLegacyModelName (cognitive 25): provider-registry.resolveProviderIdFromLegacyModelName has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14, boolean chains 11. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/provider-registry.mjs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aacbe4d998d3e5e4b40bf96d921e8e3cddc08e862d317e0af1f3329f25964ef"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 25): (anonymous) has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 2 (8 pts), error handling 2 (3 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/index.mjs"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6afe720b29fe8a5f01e484acc6892cb36dc35ffa0772f3863b3893774b2e472"}},{"ruleId":"D2","level":"warning","message":{"text":"index.DecisionCard (cognitive 24): index.DecisionCard has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (23 pts), boolean chains 1 (nesting depth added 9). Most of this is not in the body itself: 1 of the 24 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 19, 73). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/DecisionCard/index.jsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"106ea9efb2e8192c59d2ecbef89eec81d50971aad1294d36661df2485ae57365"}},{"ruleId":"D2","level":"warning","message":{"text":"createParser::feed (cognitive 22): createParser::feed has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/eventsource-parser.mjs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"618c2968965bcb9ab2031ffb9a27fa5a148de3382aa7fcb8af93b26f16d1bd9d"}},{"ruleId":"D2","level":"warning","message":{"text":"model-name-convert.getApiModesFromConfig (cognitive 21): model-name-convert.getApiModesFromConfig has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10, boolean chains 8, ternaries 3. Most of this is not in the body itself: 2 of the 21 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 168, 208, 190, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/model-name-convert.mjs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ca53532f72077b3132981897150b7762946ec813d8e39dfa3da599039c63eb"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-secret-utils.buildProviderSecretUpdate (cognitive 21): provider-secret-utils.buildProviderSecretUpdate has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 7, ternaries 1 (nesting depth added 4). Of this number, 13 points are the body\u0027s own statements and 8 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/provider-secret-utils.mjs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"6579e10a89d994ddbe121a14bc76968f6a73bf7a345d53f3283930fc753579a3"}},{"ruleId":"D2","level":"warning","message":{"text":"createParser::parseEventStreamLine (cognitive 21): createParser::parseEventStreamLine has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 4, ternaries 2 (3 pts), other 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/eventsource-parser.mjs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"8164076351181738f15c8ebc7016d45c6ab14282731b9b2cccaece6dbc710183"}},{"ruleId":"D2","level":"warning","message":{"text":"setPortProxy::_portOnDisconnect (cognitive 21): setPortProxy::_portOnDisconnect has cognitive complexity 21 (threshold 15). Drivers by points: error handling 5 (12 pts), if/else 7 (9 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/index.mjs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f267ceb0be62c5758d9219774af85c8659c3299b18fe71c4657c1c52c22de8"}},{"ruleId":"D2","level":"warning","message":{"text":"resolveUrlFromProvider (cognitive 21): resolveUrlFromProvider has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 5, ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/provider-registry.mjs"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e861203361fe34dd22ed3c389363befe28dec6b1f10944faf7cd1208210aba0"}},{"ruleId":"D2","level":"warning","message":{"text":"generateAnswersWithOpenAICompatible::onEnd (cognitive 21): generateAnswersWithOpenAICompatible::onEnd has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (11 pts), error handling 1 (4 pts), ternaries 1 (4 pts), boolean chains 2 (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/openai-compatible-core.mjs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb16a24a26dfd5811ec2306f81628cf0d072cb8cbc21e7a6b0f252924d4a05fc"}},{"ruleId":"D2","level":"warning","message":{"text":"generateAnswersWithClaudeApi::onMessage (cognitive 20): generateAnswersWithClaudeApi::onMessage has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 2, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/claude-api.mjs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"080397f2f1ae8fc9fcc8ee28cd0d9b793db8a688ac53a037b1bfbb5c58e84313"}},{"ruleId":"D2","level":"warning","message":{"text":"index.setPortProxy (cognitive 19): index.setPortProxy has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (11 pts), error handling 3 (5 pts), boolean chains 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/index.mjs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db0ed7ff2c4988ed2b55ba05e0a81f4fa9b4637cf17b1076fd1c184bed35cf6"}},{"ruleId":"D2","level":"warning","message":{"text":"markdown.ThinkComponent (cognitive 19): markdown.ThinkComponent has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 8 (15 pts), boolean chains 4 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/MarkdownRender/markdown.jsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"14808a3eeca26837851cccd327e09c69fa0840e6b69b7c91a925da6422e1178c"}},{"ruleId":"D2","level":"warning","message":{"text":"markdown-without-katex.ThinkComponent (cognitive 19): markdown-without-katex.ThinkComponent has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 8 (15 pts), boolean chains 4 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/MarkdownRender/markdown-without-katex.jsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"634114694f6e8c016531bbaa40615fc0fa9502bd8bbedbe8124b66b4af394c1d"}},{"ruleId":"D2","level":"warning","message":{"text":"generateAnswersWithChatgptWebApi::handleMessage (cognitive 19): generateAnswersWithChatgptWebApi::handleMessage has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 7 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/chatgpt-web.mjs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5e272c3df4dbf05b4564eca7461b16a018b6517e7c379f2bca4c3a33c2e393"}},{"ruleId":"D2","level":"warning","message":{"text":"isApiModeSelected::isLegacyCompatibleSessionMatch (cognitive 18): isApiModeSelected::isLegacyCompatibleSessionMatch has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 5 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/model-name-convert.mjs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed110473d444bcab430ea9c18a031f2245cbfbc211375c913b86ceaef2e052ca"}},{"ruleId":"D2","level":"warning","message":{"text":"rollbackProviderSecretOverrideSessionMigration (cognitive 18): rollbackProviderSecretOverrideSessionMigration has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 7, if/else 6, ternaries 4 (5 pts) (nesting depth added 1). Of this number, 9 points are the body\u0027s own statements and 9 belong to 3 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/provider-secret-utils.mjs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c574797415b42a87244ceef13a6857445718ad1d5b1dd9b54e170d3ea5f6874"}},{"ruleId":"D2","level":"warning","message":{"text":"index.prepareForRightClickMenu (cognitive 17): index.prepareForRightClickMenu has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), error handling 1 (2 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 7). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to one function literal inside it that branches (line 489). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/content-script/index.jsx"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d1517b8bd2b411fb18edfaeaf0250a2382e56be12206ec696f6642de23b5d1"}},{"ruleId":"D2","level":"warning","message":{"text":"index.prepareForStaticCard (cognitive 17): index.prepareForStaticCard has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 1, error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/content-script/index.jsx"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"da601cd8819271fe5946ff1e3f791c0d7367fc363dad822a160039e458d52ab0"}},{"ruleId":"D2","level":"warning","message":{"text":"index.ensureChatGptPortListenerRegistered (cognitive 17): index.ensureChatGptPortListenerRegistered has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), error handling 3 (4 pts), boolean chains 1 (nesting depth added 5). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 902). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/content-script/index.jsx"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"cada9340aa4da0214c9281cf2fdbab6c535d68d3185e1e78987efeb28b97db4e"}},{"ruleId":"D2","level":"warning","message":{"text":"model-name-convert.modelNameToDesc (cognitive 16): model-name-convert.modelNameToDesc has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/model-name-convert.mjs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ad0702ebf6a926d2f381de09056f2a5cce2936614d4a711c290c9b38925e98"}},{"ruleId":"D2","level":"warning","message":{"text":"App.App (cognitive 16): App.App has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7, boolean chains 4, ternaries 3, error handling 1 (2 pts) (nesting depth added 1). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 30, 51, 67, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/IndependentPanel/App.jsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdbb34fb5bf542373cde19b8d4e29158ea43e3450c47e9b3036bc304a4400536"}},{"ruleId":"D2","level":"warning","message":{"text":"crop-text.cropText (cognitive 16): crop-text.cropText has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), loops 2, ternaries 2 (nesting depth added 3). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/crop-text.mjs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"62baf840394139b6628c493f0728d9111d189895d8733521bf46449ccd6657df"}},{"ruleId":"D2","level":"warning","message":{"text":"generateAnswersWithWaylaidwandererApi (cognitive 16): generateAnswersWithWaylaidwandererApi has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, boolean chains 2, error handling 2, ternaries 1 (2 pts) (nesting depth added 1). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to 5 function items inside it that branch (onMessage, onError, onEnd, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/waylaidwanderer-api.mjs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"f773931957bd88eb93a2856c6022f927bca79018155666f97bf1315bd31a6b17"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: GeneralPart.GeneralPart: FunctionTooLong \u2014 GeneralPart runs 740 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 640 over it, 7.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/GeneralPart.jsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ed1230cf125f9ed5083a15e29fd60acc0690914d74438e81fa5dfa516acfa36"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.migrateUserConfig: FunctionTooLong \u2014 migrateUserConfig runs 726 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 626 over it, 7.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/index.mjs"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b18916f71e1b3c3cf16d43473bdf83ea8c972ce6cc966f98deba07b824d59c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.ConversationCard: FunctionTooLong \u2014 ConversationCard runs 585 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 485 over it, 5.85\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationCard/index.jsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"53108d31a9f61483525cd93fc0d305e5bbc16058776c7619c261079c8235318b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ApiModes.ApiModes: FunctionTooLong \u2014 ApiModes runs 513 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 413 over it, 5.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/ApiModes.jsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"857ab58814486087c427c3b1a98e6b825b0d2a81da736fff6253e10376888e19"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: config/index.mjs: FileTooLong \u2014 1728 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 1228 over it, 3.46\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/index.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8efb5e672b63b168d56f8d83fe164c5dc8408d60d0e372f62d2504fb04672ddb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.setPortProxy: FunctionTooLong \u2014 setPortProxy runs 223 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 123 over it, 2.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/index.mjs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9825e91ff321ac3eb9ade6305c2a01cd655af9f42fafc02c128eaf99b04cf6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: build.runWebpack: FunctionTooLong \u2014 runWebpack runs 218 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 118 over it, 2.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build.mjs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"9756dac96f42a9e2c83f15150333369dae3f0a6cc01aecc4e10a3e483301d6ae"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chatgpt-web.generateAnswersWithChatgptWebApi: FunctionTooLong \u2014 generateAnswersWithChatgptWebApi runs 217 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 117 over it, 2.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/chatgpt-web.mjs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"169ad91b4f4d7cbd08edbbf1e7ea31acda511b13ce061164c05620b935329557"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GeneralPart: ClassTooLong \u2014 740 significant lines (blank, comment-only and punctuation-only lines excluded), 5 methods. The bar is 400 significant lines; this is 340 over it, 1.85\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/GeneralPart.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac9da8fa81e7581ac000c71f7470c72403746a85c96058f0219cede5d99fd10"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.Browser.runtime.onMessage.addListener(): FunctionTooLong \u2014 Browser.runtime.onMessage.addListener() runs 173 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 73 over it, 1.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/index.mjs"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"482f90bc63aad6653a940f7fea06b792718977876c24237582848a3b1a6e3ce0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sections/GeneralPart.jsx: FileTooLong \u2014 818 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: GeneralPart (94-1009). The bar is 500 significant lines; this is 318 over it, 1.64\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/GeneralPart.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"138e7d333848bfb4485e6e7bf32264919596a78b78588d6f4229d5c57ee5458c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: provider-registry.resolveOpenAICompatibleRequest: FunctionTooLong \u2014 resolveOpenAICompatibleRequest runs 162 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 62 over it, 1.62\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/provider-registry.mjs"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"facb09f9f1477cee016d436b16f03647bd2533fc639efb2405a489f3017c3de1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: content-script/index.jsx: FileTooLong \u2014 802 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 302 over it, 1.60\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/content-script/index.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d3089508e18a35084f560e63f31d460b11a2b17e5d79a43ac36ab346987c12"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: background/index.mjs: FileTooLong \u2014 797 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 297 over it, 1.59\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/index.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe66695f9a936f83cd5cdadb7695a1658646dd08ed91b4388b6f7043bbaf472d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.InputBox: FunctionTooLong \u2014 InputBox runs 151 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/InputBox/index.jsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc681cda0e12c73dfbe3f3b5c633bbdd2dcb8ca47ed4f376941331d5fa1d37a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.executeApi: FunctionTooLong \u2014 executeApi runs 149 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/index.mjs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3c9f51c9e8721dda43c293f3127999a383f27aa118ce3bec5d56651e232303b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SelectionTools.SelectionTools: FunctionTooLong \u2014 SelectionTools runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/SelectionTools.jsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4be47f81e421a96fc3faf38a03e39e557e4e4ecfea6e54ee7623b7ba68c30c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: apis/provider-registry.mjs: FileTooLong \u2014 690 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 190 over it, 1.38\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/provider-registry.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"020e4e71c1811e10b113bbebea734f81fbc94a07c4e51fed62d86a1b318d06c6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.prepareForJumpBackNotification: FunctionTooLong \u2014 prepareForJumpBackNotification runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/content-script/index.jsx"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e6c7698e71a26dcf919b6749115e01aba1ffbfb0192578a342c658fbdb00de"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ConversationCard/index.jsx: FileTooLong \u2014 658 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: ConversationCard (71-821). The bar is 500 significant lines; this is 158 over it, 1.32\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationCard/index.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5528b0581b82c5d8d4259bc90f1192baf11d92fbbe6628dc736e63e1e95ebada"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: provider-secret-utils.buildSelectedModeProviderSecretOverrideUpdate: FunctionTooLong \u2014 buildSelectedModeProviderSecretOverrideUpdate runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/provider-secret-utils.mjs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"069dfb6e067d797daea6a618ad6cad76efe24e39eadf9d752c9442a4fbfc316b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.FloatingToolbar: FunctionTooLong \u2014 FloatingToolbar runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FloatingToolbar/index.jsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"49efbebe50c6d784e6bf9454b9f00bde252ebe77cad839f2424fab6266d260eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: App.App: FunctionTooLong \u2014 App runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/IndependentPanel/App.jsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e2f4342f0fbed7b06f91c5d0cc824a684f216ae433e7ba861d30d35de52e31c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ApiModes: ClassTooLong \u2014 513 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 113 over it, 1.28\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/ApiModes.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f97e0e945e117b75ad26e5ea578ff64dfceb6a774e107c26f127e24cb7d55a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Popup.Popup: FunctionTooLong \u2014 Popup runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/Popup.jsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7efbae54b4d8b8ed86c54bc159aa24b4829181db8c98879a0495f01d01986a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sections/ApiModes.jsx: FileTooLong \u2014 577 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: ApiModes (75-712). The bar is 500 significant lines; this is 77 over it, 1.15\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/ApiModes.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51cc5b5277513c83416e1adb8fd5a2d00013c478e384d144fb80bdd7aca54eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openai-compatible-core.generateAnswersWithOpenAICompatible: FunctionTooLong \u2014 generateAnswersWithOpenAICompatible runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/openai-compatible-core.mjs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6cb8fbdb91cae07f61b27cda519973c155d60335c8485f608a1f7ad863ac5c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: eventsource-parser.createParser: FunctionTooLong \u2014 createParser runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/eventsource-parser.mjs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe609fdbc114a117d4f4f26918acec88b242b21f0dd2dc33f1fd65bbb9f5b1b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.mountComponent: FunctionTooLong \u2014 mountComponent runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/content-script/index.jsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"269d737c55008dd40df6308a959e1991b5f4c844821cd81dbb116ab1063eb0a6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: tabs.sendMessage supports callback as third argument (without options): This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/unit/setup/browser-shim.test.mjs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f9ebeb07f5bfa4fd39c089f4760c4b998a405374d81da21c5a4a7514aa3630"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: tabs.sendMessage supports callback as fourth argument (with options): This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/unit/setup/browser-shim.test.mjs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"977179be572c073f152354665964d2917c4f4c93d36275cf1c9cebbdfa670833"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: runtime.sendMessage supports callback as second argument (without options): This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/unit/setup/browser-shim.test.mjs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccabe11697fc053e10279f08258de6f9c002af4b9f542c78c7ea0a4f700029a8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: runtime.sendMessage supports callback as third argument (with options): This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/unit/setup/browser-shim.test.mjs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6242e40179f0c74a28c2611fee25ffe446c5f2e2520e77bd66187077cc599fb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/config/index.mjs: src/config/index.mjs changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 267 in index.migrateUserConfig at line 1211. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-03..2026-10-01, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-03 15:15:21 \u002B00:00\u0027 --until=\u00272026-10-01 15:15:21 \u002B00:00\u0027 --full-history --no-merges -- src/config/index.mjs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/index.mjs"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"646176fea8aa863a53e54cde842814871cf6b8fa4d4aeeae48a669d1098797b6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/ConversationCard/index.jsx: src/components/ConversationCard/index.jsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 125 in index.ConversationCard at line 71. 2 of those changes were fix/bug commits, and the other 2 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-03..2026-10-01, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-03 15:15:21 \u002B00:00\u0027 --until=\u00272026-10-01 15:15:21 \u002B00:00\u0027 --full-history --no-merges -- src/components/ConversationCard/index.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationCard/index.jsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec9df68cb2c477d7d0cce35eb6c13e51b2b5b9014af1098128cd4cd1acf005c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/popup/sections/ApiModes.jsx: src/popup/sections/ApiModes.jsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 77 in ApiModes.ApiModes at line 75. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-03..2026-10-01, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-03 15:15:21 \u002B00:00\u0027 --until=\u00272026-10-01 15:15:21 \u002B00:00\u0027 --full-history --no-merges -- src/popup/sections/ApiModes.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/ApiModes.jsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ca20636fecfdecca74a925ddb3ca759daac2363b12f07e1cdbff58464809b5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/services/apis/provider-registry.mjs: src/services/apis/provider-registry.mjs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in provider-registry.resolveProviderIdFromLegacyModelName at line 122. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-03..2026-10-01, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-03 15:15:21 \u002B00:00\u0027 --until=\u00272026-10-01 15:15:21 \u002B00:00\u0027 --full-history --no-merges -- src/services/apis/provider-registry.mjs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/provider-registry.mjs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e782087eeae4a6cc52524f8d2361779517fbafeccde7d19dad0b664e3f0f9b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/utils/eventsource-parser.mjs: src/utils/eventsource-parser.mjs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in eventsource-parser.createParser at line 3. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-03..2026-10-01, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-03 15:15:21 \u002B00:00\u0027 --until=\u00272026-10-01 15:15:21 \u002B00:00\u0027 --full-history --no-merges -- src/utils/eventsource-parser.mjs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/eventsource-parser.mjs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08a8d8a61f488658b535335f77831ae7aad71ab1ac3141334dcb59533790491"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/services/apis/claude-api.mjs: src/services/apis/claude-api.mjs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in claude-api.generateAnswersWithClaudeApi at line 19. 1 of those changes was a fix/bug commit, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-03..2026-10-01, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-03 15:15:21 \u002B00:00\u0027 --until=\u00272026-10-01 15:15:21 \u002B00:00\u0027 --full-history --no-merges -- src/services/apis/claude-api.mjs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/claude-api.mjs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"7575cd30719e5d6ddae9dceccac66a7b1818454754c20d2ce383cd3bbdcdc6e8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/InputBox/index.jsx: src/components/InputBox/index.jsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in index.InputBox at line 16. 1 of those changes was a fix/bug commit, and the other 2 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-03..2026-10-01, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-03 15:15:21 \u002B00:00\u0027 --until=\u00272026-10-01 15:15:21 \u002B00:00\u0027 --full-history --no-merges -- src/components/InputBox/index.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/InputBox/index.jsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"854d3b8e7ea1ed1a794a85139a84a1e5f936ee30aaf302f48f0a4f19e8806d7e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/services/wrappers.mjs: src/services/wrappers.mjs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in wrappers.handlePortError at line 93. 1 of those changes was a fix/bug commit, and the other 2 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-03..2026-10-01, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-03 15:15:21 \u002B00:00\u0027 --until=\u00272026-10-01 15:15:21 \u002B00:00\u0027 --full-history --no-merges -- src/services/wrappers.mjs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/wrappers.mjs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ae0b14dd26934ee6e6bbca81c1ccc2b740ca458153401bacbb90ba25c2d93b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/components/FloatingToolbar/index.jsx: src/components/FloatingToolbar/index.jsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in index.FloatingToolbar at line 14. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-03..2026-10-01, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-03 15:15:21 \u002B00:00\u0027 --until=\u00272026-10-01 15:15:21 \u002B00:00\u0027 --full-history --no-merges -- src/components/FloatingToolbar/index.jsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FloatingToolbar/index.jsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"69798a1b098a07bed04d2249580207696bff138df51fbeb30509330718dd9800"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/popup/sections/import-data-cleanup.mjs: src/popup/sections/import-data-cleanup.mjs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in import-data-cleanup.prepareImportData at line 81. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-03..2026-10-01, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-03 15:15:21 \u002B00:00\u0027 --until=\u00272026-10-01 15:15:21 \u002B00:00\u0027 --full-history --no-merges -- src/popup/sections/import-data-cleanup.mjs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/import-data-cleanup.mjs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ba980945e54466381a41e9c6a121275a1b11740a049aa32a3def5c0de19058"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/services/apis/openai-compatible-core.mjs: src/services/apis/openai-compatible-core.mjs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in openai-compatible-core.generateAnswersWithOpenAICompatible at line 50. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-03..2026-10-01, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-03 15:15:21 \u002B00:00\u0027 --until=\u00272026-10-01 15:15:21 \u002B00:00\u0027 --full-history --no-merges -- src/services/apis/openai-compatible-core.mjs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/openai-compatible-core.mjs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae19df79d40be18aea1a39dfa075b81fec7552cd11d75221640b83b6a095e0bc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/utils/fetch-sse.mjs: src/utils/fetch-sse.mjs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in fetch-sse.fetchSSE at line 63. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-03..2026-10-01, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-03 15:15:21 \u002B00:00\u0027 --until=\u00272026-10-01 15:15:21 \u002B00:00\u0027 --full-history --no-merges -- src/utils/fetch-sse.mjs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/fetch-sse.mjs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"896e0b59cce273162d7128198e5669664349901017e455f50f6de172f57ed419"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 9 significant file(s) lose their only recent owner: src/services/apis/provider-registry.mjs, src/popup/sections/ApiModes.jsx, src/popup/sections/api-modes-provider-utils.mjs, build.mjs, src/popup/sections/AdvancedPart.jsx, src/components/InputBox/index.jsx, src/services/apis/openai-compatible-core.mjs, src/services/apis/claude-api.mjs (\u002B1 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"06e08028d29665dc9bc20e616d9fb63c6662f74100b4b9c0ea050f0cd41d9d6e"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 2 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (13 single-owned of 50 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo trees and test files identified by path convention, largest first; 50 of the 123 production source files in this repository met that bar). They are anonymized user #2 (2 file(s)), anonymized user #3 (2 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 1 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. The most over is \u0060(repository root)\u0060 (18477 LoC, 118 public types across 31 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f7c10c215117d9d5a02d80d6b64f700ac1ccab07ba6225cdd64de800533a2e72"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"137bef92070f214c4a96701952bb93e270cc9229476fc9e094c4bd1c4030d4e1"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-552","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b2ea699825ee2338b976f15f7d612309356d821ffd94568b38142772b5c0b5a8"},"properties":{"dependency":{"package":"brace-expansion","version":"1.1.18","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4934f263865c518dbb126a71806b4a9e15bd3b13500d7d931860bd24798d341d"},"properties":{"dependency":{"package":"brace-expansion","version":"2.1.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dadcf82d01ef53dd99e25ea95003755d0b1e7f5a0bbd54c3f94d2f51c2f8bd84"},"properties":{"dependency":{"package":"brace-expansion","version":"5.0.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ede4e5ea9cbdd1232993f6e7899b878535b603638d5f17ca56a6ea16d84db9f9"},"properties":{"dependency":{"package":"undici","version":"7.29.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"853f3d56e2781c6eb7ffb690d128d7f9d19e74df4ab98edbc0102810c11a7e20"},"properties":{"dependency":{"package":"image-size","version":"0.7.5","advisory":"[CVE redacted]","aliases":["[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-835","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6cdd583bb26390931f7244cf9dc6b776f38f91f7445fbe8b7f9226fb73f11863"},"properties":{"dependency":{"package":"fast-uri","version":"3.1.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 10 of 50 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo trees and test files identified by path convention, largest first; 50 of the 123 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: src/pages/IndependentPanel/App.jsx, src/popup/sections/SelectionTools.jsx, src/components/ConversationItem/index.jsx, src/components/DecisionCard/index.jsx, src/content-script/selection-tools/index.mjs, src/services/apis/waylaidwanderer-api.mjs, src/config/model-key-migrations.mjs, src/popup/sections/FeaturePages.jsx (and 2 more). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: index.mjs \u2194 init-session.mjs: \u0060src/config/index.mjs\u0060 (context config) and \u0060src/services/init-session.mjs\u0060 (context services) sit in DIFFERENT parts of the tree yet change together 53% of the time (9 of the 17 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u006008ab0e88\u0060 WIP, custom API Modes; \u00608706737a\u0060 WIP, custom API Modes; \u0060a398bfd9\u0060 WIP, custom API Modes \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/index.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96481180800b81308f1562f12e9e791131c1ae917b7f239d94b588f1d6ff1de"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: index.mjs \u2194 init-session.mjs: \u0060src/background/index.mjs\u0060 (context background) and \u0060src/services/init-session.mjs\u0060 (context services) sit in DIFFERENT parts of the tree yet change together 53% of the time (9 of the 17 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u006021b8468d\u0060 Add support for kimi.moonshot.cn (#656); \u0060d639d29d\u0060 upgrade bing client (merge https://github.com/waylaidwanderer/node-ch\u2026; \u00601b63f119\u0060 feat: independent Claude.ai model support (#457, #476, #477, #503) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/index.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c7ee783cc188862ca2c6cbbea4983859e1c7516304d6d2afea838d81c94415"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: azure-openai-api.mjs, custom-api.mjs, openai-api.mjs: 3 files \u2014 \u0060src/services/apis/azure-openai-api.mjs\u0060, \u0060src/services/apis/custom-api.mjs\u0060, \u0060src/services/apis/openai-api.mjs\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 3 separate couplings. They share one concern (thin parallel siblings over a common abstraction), so extract the shared part into ONE unit and the whole clique\u0027s coupling clears at once \u2014 you do not need to break each pair individually."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/azure-openai-api.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33558cd7f61b5e549a7959fed06ae1c3500f49c24732537105ea61d3c29c589"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ApiModes.jsx \u2194 GeneralPart.jsx: \u0060src/popup/sections/ApiModes.jsx\u0060 and \u0060src/popup/sections/GeneralPart.jsx\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u00605bb78360\u0060 WIP, custom API Modes; \u006008ab0e88\u0060 WIP, custom API Modes; \u00608706737a\u0060 WIP, custom API Modes \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/ApiModes.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e045a35c1bea26211920579115daa55265c934611dd7c7615ba64f8a8b94d3a0"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"759dca709f1a032fb6f624ce672e6afb5558fce53ecf01fb73618c4d33923164"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fe274ba5adebde25ca0b3db842e44cbb1aaeb7cfecfbb7215cd452596ba1f4c2"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationCard/index.jsx"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"725151f8e71b18a9d45851e97ea978c7f2c40ed1d687ebcf8e31e46271493f78"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control named only by title on \u003Cspan\u003E: This \u003Cspan\u003E carries a click handler, which makes it a control, and its only name is a title attribute. A plain element maps to role=\u0022generic\u0022, which does not support a name from the author, so the title is announced as nothing at all \u2014 it is a mouse-only tooltip, unreachable on touch. Give it role=\u0022button\u0022 (which it needs anyway to be operable) so the title becomes a real name, or add an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationCard/index.jsx"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df66b9772f252db3ac0eb38094deb507d5714ff9f5b968829b41d439bc42aa2"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control named only by title on \u003Cspan\u003E: This \u003Cspan\u003E carries a click handler, which makes it a control, and its only name is a title attribute. A plain element maps to role=\u0022generic\u0022, which does not support a name from the author, so the title is announced as nothing at all \u2014 it is a mouse-only tooltip, unreachable on touch. Give it role=\u0022button\u0022 (which it needs anyway to be operable) so the title becomes a real name, or add an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationCard/index.jsx"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ca8237dd942409c5f1871810e8f4c28d4d6231a6828a9285950cbf69c574db"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationCard/index.jsx"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e462f9de389ab2670b71b4c2476798c053fe0baabb07f51d378d13b8848912"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control named only by title on \u003Cspan\u003E: This \u003Cspan\u003E carries a click handler, which makes it a control, and its only name is a title attribute. A plain element maps to role=\u0022generic\u0022, which does not support a name from the author, so the title is announced as nothing at all \u2014 it is a mouse-only tooltip, unreachable on touch. Give it role=\u0022button\u0022 (which it needs anyway to be operable) so the title becomes a real name, or add an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationCard/index.jsx"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"9243949d74f1a3d8dad6f5684167f9fe1b185a7e6678c42aa5f4b05a98b9cf24"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control named only by title on \u003Cspan\u003E: This \u003Cspan\u003E carries a click handler, which makes it a control, and its only name is a title attribute. A plain element maps to role=\u0022generic\u0022, which does not support a name from the author, so the title is announced as nothing at all \u2014 it is a mouse-only tooltip, unreachable on touch. Give it role=\u0022button\u0022 (which it needs anyway to be operable) so the title becomes a real name, or add an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationCard/index.jsx"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"742e99f11be857d29567a617ec435592e164f0db85b89707aba4dcc58f2451cb"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control named only by title on \u003Cspan\u003E: This \u003Cspan\u003E carries a click handler, which makes it a control, and its only name is a title attribute. A plain element maps to role=\u0022generic\u0022, which does not support a name from the author, so the title is announced as nothing at all \u2014 it is a mouse-only tooltip, unreachable on touch. Give it role=\u0022button\u0022 (which it needs anyway to be operable) so the title becomes a real name, or add an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationCard/index.jsx"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e5a906e50ce185716feec83b8602199280f3f39aa07b487e08a7bfa58cdbcd"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control named only by title on \u003Cspan\u003E: This \u003Cspan\u003E carries a click handler, which makes it a control, and its only name is a title attribute. A plain element maps to role=\u0022generic\u0022, which does not support a name from the author, so the title is announced as nothing at all \u2014 it is a mouse-only tooltip, unreachable on touch. Give it role=\u0022button\u0022 (which it needs anyway to be operable) so the title becomes a real name, or add an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationCard/index.jsx"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d7c609999ee6e54f3b4f9c5a4c58bf78cee1dfa5e3bef76e84acd6a121ab58"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control named only by title on \u003Cspan\u003E: This \u003Cspan\u003E carries a click handler, which makes it a control, and its only name is a title attribute. A plain element maps to role=\u0022generic\u0022, which does not support a name from the author, so the title is announced as nothing at all \u2014 it is a mouse-only tooltip, unreachable on touch. Give it role=\u0022button\u0022 (which it needs anyway to be operable) so the title becomes a real name, or add an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationItem/index.jsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"93770d8925b6ecc6f5d8449de91d8f265699d8cbe0a9ecb11df53fdefc9c4f22"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control named only by title on \u003Cspan\u003E: This \u003Cspan\u003E carries a click handler, which makes it a control, and its only name is a title attribute. A plain element maps to role=\u0022generic\u0022, which does not support a name from the author, so the title is announced as nothing at all \u2014 it is a mouse-only tooltip, unreachable on touch. Give it role=\u0022button\u0022 (which it needs anyway to be operable) so the title becomes a real name, or add an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationItem/index.jsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5917331b85f05af276986a9ae1b551c9792e2c55cf9dc099a55630a3bc2ce4af"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control named only by title on \u003Cspan\u003E: This \u003Cspan\u003E carries a click handler, which makes it a control, and its only name is a title attribute. A plain element maps to role=\u0022generic\u0022, which does not support a name from the author, so the title is announced as nothing at all \u2014 it is a mouse-only tooltip, unreachable on touch. Give it role=\u0022button\u0022 (which it needs anyway to be operable) so the title becomes a real name, or add an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationItem/index.jsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4900af3ec8db9117ea310a974c7d5dc956c6394e799c096d1e622557e7f9aa"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control named only by title on \u003Cspan\u003E: This \u003Cspan\u003E carries a click handler, which makes it a control, and its only name is a title attribute. A plain element maps to role=\u0022generic\u0022, which does not support a name from the author, so the title is announced as nothing at all \u2014 it is a mouse-only tooltip, unreachable on touch. Give it role=\u0022button\u0022 (which it needs anyway to be operable) so the title becomes a real name, or add an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationItem/index.jsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"db80e00a99af2c376b3a311956f5fceae2517ea67d0d8e7a1f2cce65bd2b66d7"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control named only by title on \u003Cspan\u003E: This \u003Cspan\u003E carries a click handler, which makes it a control, and its only name is a title attribute. A plain element maps to role=\u0022generic\u0022, which does not support a name from the author, so the title is announced as nothing at all \u2014 it is a mouse-only tooltip, unreachable on touch. Give it role=\u0022button\u0022 (which it needs anyway to be operable) so the title becomes a real name, or add an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationItem/index.jsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf26ee5dd60b68ebfdc39ce4826b1d4a576b2a7ef15ddf04ad2b12d134c4a69"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control named only by title on \u003Cspan\u003E: This \u003Cspan\u003E carries a click handler, which makes it a control, and its only name is a title attribute. A plain element maps to role=\u0022generic\u0022, which does not support a name from the author, so the title is announced as nothing at all \u2014 it is a mouse-only tooltip, unreachable on touch. Give it role=\u0022button\u0022 (which it needs anyway to be operable) so the title becomes a real name, or add an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationItem/index.jsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe4a1b7a09282e15ae9c0a4799c1e6a1b0d799f1890e18fb9f3bae0adcfc527"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control named only by title on \u003Cspan\u003E: This \u003Cspan\u003E carries a click handler, which makes it a control, and its only name is a title attribute. A plain element maps to role=\u0022generic\u0022, which does not support a name from the author, so the title is announced as nothing at all \u2014 it is a mouse-only tooltip, unreachable on touch. Give it role=\u0022button\u0022 (which it needs anyway to be operable) so the title becomes a real name, or add an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationItem/index.jsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"6903e7669a60a1f58f1662313fa9162f17140a5083182255b0d1e6359074d9de"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control named only by title on \u003Cspan\u003E: This \u003Cspan\u003E carries a click handler, which makes it a control, and its only name is a title attribute. A plain element maps to role=\u0022generic\u0022, which does not support a name from the author, so the title is announced as nothing at all \u2014 it is a mouse-only tooltip, unreachable on touch. Give it role=\u0022button\u0022 (which it needs anyway to be operable) so the title becomes a real name, or add an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationItem/index.jsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f25571742a181ad24d8eac92184444b1ce66259b78b8fe405df3d4478b2d3e"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cspan\u003E: This \u003Cspan\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FeedbackForChatGPTWeb/index.jsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f1bc99c1fd408dca46f94435a61256fa41fd873861a77f29bf33bfa1facd48"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cspan\u003E: This \u003Cspan\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FeedbackForChatGPTWeb/index.jsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"0460922798da9712564fccf7365d10362d9d5f3cf6f289a7aeabd9f96acdf690"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/InputBox/index.jsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c13a098a2122986a772a5bfcbdb157152c2147a74c8b15793cf487094f337e"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/MarkdownRender/Pre.jsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b7df4b6a4c7e8f65d1ef03435b56dc3971e41eef4bb2d388108c9c4b798b60"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/ApiModes.jsx"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"864348c3444493588a369b861545de613608b939324e6cd99baa9b790afa659d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/ApiModes.jsx"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1360f68ac8786591d9e2ad1dc385fbb68b1cb8376c597582a80507f5f7efaf"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/ApiModes.jsx"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"745376fc2f964a3c62592c400d07fdb008f382d78daca3e0786de8859d4eb0ab"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/ApiModes.jsx"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"da95e11bc73ce21041d3771c8eac5547020111d4de7608f0e06a6dc8e9a0b0fb"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/ApiModes.jsx"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"b632afd28e2507582dee7c3d63453394f952864b73ca1a2a2f70893a0b1fcbb6"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/ApiModes.jsx"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0d6dca202db2e0ea600d3599d03526e84c71bd3bee577626bd57a27c8f5aaa"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/ApiModes.jsx"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1cfd33984b7ddc762c07febbf2a7342f58d478b8c7b846b623ab51c4cb29bc7"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/GeneralPart.jsx"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd32b84606dfd7e8702c33370e7546b6ffde8120ae5ea7bee3edaa329d4beaf4"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/SelectionTools.jsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72bfbc93d4d944bd1d00366a6bbe4e3bb79b841d2017feb27f2fcbcc66a4174"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/SelectionTools.jsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"7875798a97209d6f8d0417870235760920ed85a2028bdd6fc88cb39bd68526b5"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/SelectionTools.jsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc7c17ea0e20674e0c1c20ccb00605909ba25c51b2dab725c65b92353f01549"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/SelectionTools.jsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9cae9d73d328cfea01ba21788572844a24da92af840d078ae2d886bf9f21df3"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/SelectionTools.jsx"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"056bcaa7ed0356232be3ded0afaaf3969b26e9a20b4a26caf957cfb63e75b1b3"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/IndependentPanel/index.html"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4227910ed5144796e816979553d8bd432fec572a38ebea1eb55cdb04ec76a2c9"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. This document\u0027s body is only the mount point \u003Cdiv id=\u0022app\u0022\u003E, so there is no content here to wrap \u2014 render the \u003Cmain\u003E from the component mounted into it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/IndependentPanel/index.html"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2886f16c06ba9bb84b578127e4c34272abf3c64c898dbabce1c80d96010cc842"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/index.html"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e157b16580ec8d72265c181342c891deecd1572b4b8e60447596ccb71c420bc2"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. This document\u0027s body is only the mount point \u003Cdiv id=\u0022app\u0022\u003E, so there is no content here to wrap \u2014 render the \u003Cmain\u003E from the component mounted into it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/index.html"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"953faf7aa55ede6934d88df64f973bcebd3727439d2ab983f35c63f9d770d8f1"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationCard/index.jsx"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"052096633a4f09a20ad6ec0b19b1ee0b395e63594f922ba9bbef60c440955550"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationCard/index.jsx"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f803a1c2e5995364c9a6166b307da91c2a0b77d453ed28a5974bc48841e9a8"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationCard/index.jsx"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3a418405e9f6a2f7d61701613ac9a2714621e07e3cfc90c94aa10bd91d61b3"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationCard/index.jsx"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"f067a745bf7b204a421033483361842b3cec3cd1f86bb2d99b0ccf7b202b2042"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationCard/index.jsx"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b76499efc5cd7ae1f0ece21a4a90a0517c1c46755eb0258d8881afb4ecbd2b"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationCard/index.jsx"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a8e7f5e92630a1ddcf98a8598ed082e2829ca6807ec0ddc53834b32a543b3a4"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cp\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationCard/index.jsx"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f53dd59a6951eaeba77066eab6aa64725524bcd5d3308eaddbd7841ded55b27"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationItem/index.jsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b8dfbb78f987d8add57b2c5dedc201072721f1586f49a1f8dbcaac9853a53c2"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationItem/index.jsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1c8fc1ab935108292dae00edc6e243a517184c806f88c330257126ce3953b2"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationItem/index.jsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e247d3aed06dc0562cf1c3082651fccf58c8db632ba1c0158b1f202bc500f4f"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationItem/index.jsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"166b9daa0e5a4109bc8e41ed6e59885c84ec2d08014d29340eb4eed9ea555275"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationItem/index.jsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb22dd6f449b7eeecaf872304c7a17ee40f0847954eb2c17ee5aa6234dc62a4"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationItem/index.jsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce6bb64f8b5bfef9426d8270d2295074810d8ab97ee463cc4caae125466a68b"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationItem/index.jsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f34f552b2b13ce1e1d6ad6e7587ccb793704fdf9d0424c23ca350a96bb2e489"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationItem/index.jsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d6ab1c6f9b992b4c83d12b02d9a2b9bfb75c7a2bde705918244066b08c554a0"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/CopyButton/index.jsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ffe6f2bfb574bf0af6f4e1f3dc41c76249247bfccac60c420f29bfb6703e547"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cp\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/DecisionCard/index.jsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7fcda946691e424ad24eebdf05980c6377c6d4f3d11f67144a0dfe0a3c982d"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cp\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/DecisionCard/index.jsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f939d8b84a173a1c453dfb1b34cca7a401a9599d6bfe6aa0b04e61d3c2ee072"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/DeleteButton/index.jsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"2477aa29a626eed513f8c7ac4a534705fa0446e9de620cf9d6ed26d84e57933b"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FeedbackForChatGPTWeb/index.jsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7484af1b08bcf12cb725b6e3c206eab6a2e401c3d83fbbbc1c87daac43adf5"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FeedbackForChatGPTWeb/index.jsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ecf0e39582ba1456188574e743f934323c0a18fc74256c615de2d426385f7b4"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/MarkdownRender/markdown-without-katex.jsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61f16ba7626fa23d54a4623b3718374898cb566e69504e63049e8508457921a"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/MarkdownRender/markdown.jsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"625ebef316bb5815f799259decd747936cfb84609741266bbe489789267cff31"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ReadButton/index.jsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd83cac8cb47f8ce1197e8cb11c584c132bbc2fa078ae678f42dfb791abd569"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/ApiModes.jsx"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"a682bb8d0cc49d1ad6e9ca04f8e54c8ed8887433fd59b60d68e2fc15db0a7f28"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/ApiModes.jsx"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"f486aa60d169977e62c1f1700518024abc3befb71ae8dff7febb1046737bfc80"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/GeneralPart.jsx"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"a60cad31e2c13d6ba5a6d47614e31b3c99d8d23d4418fba5092e7ce69448b730"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/SelectionTools.jsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47ced2bc6154fe3a777bdcdd910054f561f84e5ae3a7590e1250d05ce584119"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/SelectionTools.jsx"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2bbec7a7bff4e8f39f15bd2be5549a94fac96cffb04e08ceb69b6bc4285f452"}},{"ruleId":"AC7","level":"warning","message":{"text":"Accessibility enforcement below the top rung: No accessibility enforcement found \u2014 no a11y linter (eslint-plugin-jsx-a11y) and no axe/pa11y/Lighthouse in tests or CI. Start with the linter to catch issues at author time. What was searched, so you can tell an absence from a miss: the 29 markup file(s) this pass actually assessed, the linter configuration checked in beside them, and this repository\u0027s test and CI files \u2014 matched by name against the accessibility checkers this dimension carries. An audit run outside the repository, a hosted scanner, or a check whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d46019b86eff5ddad9db289e6802ac158899e980df54c34f67722442787ead62"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P12","level":"warning","message":{"text":"Coverage collected but not gated: CI collects a coverage report but no step enforces a minimum \u2014 coverage could halve and CI stays green. Add a step that fails the build when coverage drops below a floor (your coverage tool\u0027s minimum-threshold flag, or a coverage-gate action) so the number guards something. What was searched, so you can tell an absence from a miss: this repository\u0027s CI files AND its coverage configuration \u2014 the well-known coverage and test-runner config files, read at the repository root and inside workspace package directories two levels down, so a floor declared beside the tests rather than in the pipeline is credited \u2014 matched against the threshold settings this check knows by name. A floor set in your coverage service\u0027s web UI rather than in a committed file, or under a setting whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7f63c06044cf998d9a0698692df30d8873e29bc9b0c98ee829255017c1193d33"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s javascript-typescript pack, \u0060semgrep --config=p/javascript\u0060, or eslint-plugin-security as a CI step. What was searched, so you can tell an absence from a miss: the 16950 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060runWebpack\u0060 is async and calls existsSync \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build.mjs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e314701bf2e40b0a701de87d854699b51c90d6a48fb0af81db6504bc760942"}},{"ruleId":"R1","level":"warning","message":{"text":"Type Safety: 0 typed \u00B7 209 plain JS \u2014 the untyped files are build.mjs, scripts/check-edge-api-key-expiry.mjs, scripts/create-firefox-sources-zip.mjs, scripts/submit-stores.mjs, scripts/update-firefox-metadata.mjs, src/_locales/i18n-react.mjs (\u002B203 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 7 sibling directories (5 clone groups): 5 duplicated blocks under src/ have copies in at least two of the sibling directories background, components, config, content-script, popup, services (\u002B1 more sibling(s) not listed) \u2014 4 of them are reported below, and 1 is counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 5 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 5 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 5 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationCard/index.jsx"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb7e84dd2443c3cd7412043fc51f123353cfb22815b38ab37086ad2176625e2a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (103 matched lines \u00D7 2 locations): src/popup/sections/ApiModes.jsx:423 \u00B7 src/popup/sections/SelectionTools.jsx:27 \u2014 the two spans are one implementation copied and then locally edited \u2014 569 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/ApiModes.jsx"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8977ed61bc9b135abb56826e7d58ced70b0884ea8b09d5058e8c4be0e01e717"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (96 identical lines \u00D7 2 files): src/components/MarkdownRender/markdown-without-katex.jsx:1 \u00B7 src/components/MarkdownRender/markdown.jsx:2 \u2014 these 2 files are line-for-line copies of one another \u2014 96 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/MarkdownRender/markdown-without-katex.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dec0c6d88e55a36c615c63379ac0a2ac4c143c9970315ab4e2afcac08de6e42"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (60 matched lines \u00D7 2 locations): src/popup/sections/GeneralPart.jsx:555 \u00B7 src/popup/sections/GeneralPart.jsx:653 \u2014 the two spans are one implementation copied and then locally edited \u2014 274 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/GeneralPart.jsx"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ada7828c3836796dbcb67ef3b5a277d02d5d2b4de33e0723773a9293d498b50"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 2 locations): src/services/apis/claude-web.mjs:19 \u00B7 src/services/apis/moonshot-web.mjs:596 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/claude-web.mjs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"2356430aa3dcb04a06bbab2a01a80c0acb50ab0d3bfd0e9907888384bb10a1d7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): src/config/index.mjs:1765 \u00B7 src/config/index.mjs:1916 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/index.mjs"},"region":{"startLine":1765}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03ed67eb8fbf8c889e74bed34562bc1a401461dd6dcd875659cd438b5eb9130"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): src/popup/sections/GeneralPart.jsx:622 \u00B7 src/popup/sections/GeneralPart.jsx:672 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/GeneralPart.jsx"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae03c9cd868e30cdd52f1de57ede2c7aaf8394f835a878c8fa335c697c7d9d63"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): src/popup/sections/AdvancedPart.jsx:258 \u00B7 src/popup/sections/ModulesPart.jsx:13 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/AdvancedPart.jsx"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f994e537566e3ccec79b47b5160e7fd328a42998f4ce5b5d51080ff87b073a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): src/content-script/index.jsx:349 \u00B7 src/content-script/index.jsx:446 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/content-script/index.jsx"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab42c0e77c6623c805adaedadd53295c0d44df796b54c4c5c5be2d8c559fecd0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): src/content-script/index.jsx:758 \u00B7 src/content-script/index.jsx:835 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/content-script/index.jsx"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"e534b974c0d3477f612dbd00f039fb75bea57a6fce2e94b526dd50e8eb17b8ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3 locations): src/components/ConversationItem/index.jsx:32 \u00B7 src/components/ConversationItem/index.jsx:69 \u00B7 src/components/ConversationItem/index.jsx:103 \u2014 all 3 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationItem/index.jsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0815718b9eb34e3d9d2f1f876c41840b251678d2f4032af8fa1a618fa48a83e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): src/background/index.mjs:213 \u00B7 src/background/index.mjs:334 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/index.mjs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f848f9751d180996b3da4a979c1182823de023fb331f7275f123ac95c2ff50"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/components/ConversationCard/index.jsx:585 \u00B7 src/popup/sections/GeneralPart.jsx:513 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationCard/index.jsx"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c121a83b5e4977687b92e48669ec72b01f748e55d6f3787b3aa0d3038078d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/services/apis/azure-openai-api.mjs:69 \u00B7 src/services/apis/waylaidwanderer-api.mjs:62 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/azure-openai-api.mjs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dfb79495b07d4a612595e3da4592a08aea723308e908543bedc1d52ca5b7372"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3 locations): src/services/apis/provider-registry.mjs:548 \u00B7 src/services/apis/provider-registry.mjs:600 \u00B7 src/services/apis/provider-registry.mjs:620 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/provider-registry.mjs"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf939322f8bf369035483ec8f62e6935596e74c492363b6f801373831ef57c11"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/components/ConfirmButton/index.jsx:26 \u00B7 src/components/DeleteButton/index.jsx:29 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConfirmButton/index.jsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6334e787929f1d0fb40e5005038ad357d39722fc60f7fbc5a71f62be70019d5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3 locations): src/popup/sections/AdvancedPart.jsx:107 \u00B7 src/popup/sections/AdvancedPart.jsx:129 \u00B7 src/popup/sections/AdvancedPart.jsx:217 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/AdvancedPart.jsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf7f35a1610dcff6252995f39897ff04304055cebdeee8009cb567a0195e54f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): src/popup/sections/api-modes-provider-utils.mjs:17 \u00B7 src/utils/model-name-convert.mjs:3 \u2014 the two spans are one implementation copied and then locally edited \u2014 89 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/api-modes-provider-utils.mjs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c9448bc613114128ccf698bf84df22637b971900268b622818c4a5ccc9d7f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/popup/sections/AdvancedPart.jsx:140 \u00B7 src/popup/sections/AdvancedPart.jsx:239 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/AdvancedPart.jsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"5156f6cbe482553cc2249933dd43564867bd72956752dacfcdfd1fc6d95df5f2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/content-script/index.jsx:298 \u00B7 src/content-script/index.jsx:417 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/content-script/index.jsx"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06198952faa2c7fb3746226aac114d7aa6666a67dbc520258407374630a2829"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): build.mjs:574 \u00B7 build.mjs:591 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build.mjs"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"344e488e5c77e2a3bb4064ba95258e5340a314f62f7b3a5592bf2e57dc3455f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/popup/sections/GeneralPart.jsx:452 \u00B7 src/popup/sections/GeneralPart.jsx:819 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/GeneralPart.jsx"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"785bafdd9269a7f8e8ebac580b96513b2675e825a8603140681dc4b922cccdcf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/popup/sections/SelectionTools.jsx:98 \u00B7 src/popup/sections/SiteAdapters.jsx:24 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/SelectionTools.jsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbec2ac8e15d25cb66df283ac6b2dcc5e1873f70cdfbb01bf21a3e0ba48a47d7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/services/apis/openai-compatible-core.mjs:176 \u00B7 src/services/apis/waylaidwanderer-api.mjs:70 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/openai-compatible-core.mjs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"15735bb9bd18ac8d1e311188702484ca7a16bad1fa2422639b50745cad300598"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/components/ConfirmButton/index.jsx:10 \u00B7 src/components/DeleteButton/index.jsx:12 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConfirmButton/index.jsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"56757401affe2fa2b1a5b53e583f2c0d7da12b49c1b3fd4916c02e92efdbd976"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): src/popup/sections/AdvancedPart.jsx:28 \u00B7 src/popup/sections/AdvancedPart.jsx:42 \u00B7 src/popup/sections/AdvancedPart.jsx:77 \u2014 all 3 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/AdvancedPart.jsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a8ede791dd10e18001a13d776763a045f717476451947d5068065499d71da5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): src/popup/sections/FeaturePages.jsx:74 \u00B7 src/popup/sections/GeneralPart.jsx:852 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/FeaturePages.jsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"a87438e1f2324ea13cd06cf16b0e016d7c2e0bf42de2c4f7e07f53efc943bd23"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): src/popup/sections/provider-secret-utils.mjs:136 \u00B7 src/popup/sections/provider-secret-utils.mjs:173 \u2014 the two spans are one implementation copied and then locally edited \u2014 121 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/provider-secret-utils.mjs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64fbbcebfb73fe40ed2ad2e5a6d727fe884bac168170a63d80ce0c7a515c81a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): src/popup/sections/provider-secret-utils.mjs:211 \u00B7 src/popup/sections/provider-secret-utils.mjs:306 \u2014 the two spans are one implementation copied and then locally edited \u2014 84 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/provider-secret-utils.mjs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"a483aeb34c209b8291d1d0192cd219c479ec3f90c98ed127e49d247b39758e23"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/content-script/index.jsx:723 \u00B7 src/content-script/index.jsx:807 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/content-script/index.jsx"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d9ab0608be998cd6712f4dc54c8bd9a0f01a28c5c3c93b44997919a0e2c9b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): src/popup/Popup.jsx:190 \u00B7 src/popup/sections/AdvancedPart.jsx:267 \u00B7 src/popup/sections/ModulesPart.jsx:22 \u2014 the 3 copies are spread across 3 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/Popup.jsx"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b64f44cc067a95e98bfcc6842f4fa1b53b28f6d697e50b6ebdca605dd07f8f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/popup/sections/ApiModes.jsx:540 \u00B7 src/popup/sections/ApiModes.jsx:558 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/ApiModes.jsx"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4fa13f21ab857baaca77bb4b9886bdbaf0c258fd72a12a6c339d1d9a643c36a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): src/background/index.mjs:659 \u00B7 src/content-script/menu-tools/index.mjs:40 \u2014 the two spans are one implementation copied and then locally edited \u2014 98 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/index.mjs"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2409993ce2f400c7152348be08218f669154507bb4efab9668a5131f7b7d0b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): src/popup/sections/GeneralPart.jsx:581 \u00B7 src/popup/sections/GeneralPart.jsx:593 \u00B7 src/popup/sections/GeneralPart.jsx:605 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/GeneralPart.jsx"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7efda36988ed395ab5de88773ebc3aa034a22f2a113b42c2c1f2995ee7874ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): src/popup/sections/GeneralPart.jsx:717 \u00B7 src/popup/sections/GeneralPart.jsx:729 \u00B7 src/popup/sections/GeneralPart.jsx:741 \u2014 all 3 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/GeneralPart.jsx"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"97efb7689c86214e86d886bf6eb21ac147a387d4e67666edd584fe589e0737d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/services/apis/claude-api.mjs:54 \u00B7 src/services/apis/moonshot-web.mjs:404 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/claude-api.mjs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"f44fe3486d2a5eb02ca0e2f00f7885ece6dc5d72bcc67e1c723bd2a88ce28d3b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): src/popup/sections/GeneralPart.jsx:755 \u00B7 src/popup/sections/GeneralPart.jsx:766 \u00B7 src/popup/sections/GeneralPart.jsx:777 \u2014 all 3 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/GeneralPart.jsx"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"513edc47554220494c25fe3ca6510b98bed289da5e92e528280a63d7879f3219"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): src/services/apis/openai-api.mjs:147 \u00B7 src/services/apis/openai-api.mjs:159 \u00B7 src/services/apis/openai-api.mjs:171 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/openai-api.mjs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40d80292afbda9ea72f760602bcf5f10451c291025195d3070b4fce7294bd61"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/components/DecisionCard/index.jsx:79 \u00B7 src/components/DecisionCard/index.jsx:93 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/DecisionCard/index.jsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"397e6002ede2342d9fc08f61f2428deb29098c070e17f7cdf587853c438d43d5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): src/config/index.mjs:1165 \u00B7 src/services/apis/provider-registry.mjs:340 \u2014 the two spans are one implementation copied and then locally edited \u2014 63 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/index.mjs"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"348d268b209b7bca23963ae09d1fb4e2ff7c32f03b7297bbfba7a172b72e7075"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function migrateUserConfig (cyclomatic 211, cognitive 317): migrateUserConfig has cyclomatic complexity 211 and cognitive complexity 317; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/index.mjs"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4cfb1633375027932ae2153a34141ab77bae03c863c27283488355f30a196b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveOpenAICompatibleRequest (cyclomatic 50, cognitive 87): resolveOpenAICompatibleRequest has cyclomatic complexity 50 and cognitive complexity 87; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/provider-registry.mjs"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"998f447a23debae70f6daf751db348715c154c389e44f148fbb18768cb6a7b38"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 48, cognitive 60): (anonymous) has cyclomatic complexity 48 and cognitive complexity 60; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/index.mjs"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f90344c750eed7bde1b3bb3ac26b0b3758fafc71e64301bba4b20e2adc94dcb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GeneralPart (cyclomatic 43, cognitive 30): GeneralPart has cyclomatic complexity 43 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/GeneralPart.jsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"c036b936eb0dcb4922d6a686bcf9907e4190c60e15b7de065bab202b0edb24a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getUserConfig (cyclomatic 42, cognitive 81): getUserConfig has cyclomatic complexity 42 and cognitive complexity 81; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/index.mjs"},"region":{"startLine":2147}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc27000b3194bb1973c3e38f0de3b3c52f6ea84326cb67ff6828c49cde1640c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildSelectedModeProviderSecretOverrideUpdate (cyclomatic 36, cognitive 33): buildSelectedModeProviderSecretOverrideUpdate has cyclomatic complexity 36 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/provider-secret-utils.mjs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"44d5cce0cbfa341c919f569a602f426861282d63c73fb3ee9446bd538dd64ae6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeApi (cyclomatic 35, cognitive 90): executeApi has cyclomatic complexity 35 and cognitive complexity 90; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/index.mjs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b5d08b6e1f79848b2545bf79a4293cca57e1669cc0c55478a9fade8d2f8b26"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getReferencedCustomProviderIdsFromSessions (cyclomatic 29, cognitive 61): getReferencedCustomProviderIdsFromSessions has cyclomatic complexity 29 and cognitive complexity 61; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/api-modes-provider-utils.mjs"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0de685dfaf77a9687cbb670b397ab860c512047fa1a02ebd3c8fa6338901e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveProviderIdFromLegacyModelName (cyclomatic 29, cognitive 25): resolveProviderIdFromLegacyModelName has cyclomatic complexity 29 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/provider-registry.mjs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8e30d1f20ad370f8b0fc4ebf96040c8def652f72cc31b1188b3645b7ad1461"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mountComponent (cyclomatic 28, cognitive 33): mountComponent has cyclomatic complexity 28 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/content-script/index.jsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ad3c1ef606c7e19934da8619a56dd9de6c01db20018f8c1ecb0e91b8f8dd59"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ConversationCard (cyclomatic 27, cognitive 23): ConversationCard has cyclomatic complexity 27 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationCard/index.jsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"6953fefa8191888e230b7a84140634afe15f0567810795c2a45aeda7ff66c708"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function generateAnswersWithChatgptWebApi (cyclomatic 25, cognitive 37): generateAnswersWithChatgptWebApi has cyclomatic complexity 25 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/chatgpt-web.mjs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"4227638e73c89b7f91d14e2bce528370046f18bdc49180a2e713cab5e1df163e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runWebpack (cyclomatic 24, cognitive 24): runWebpack has cyclomatic complexity 24 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build.mjs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93f47bd38eae055e44cc898811aef0afc2c4e29c0de17c0ccc969bd863fb0f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ApiModes (cyclomatic 22, cognitive 18): ApiModes has cyclomatic complexity 22 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/ApiModes.jsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e05f31237b4fc88c92e006daa881a858fc9576bcfa6f3b66e3b039b2b6054a7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getProviderSecret (cyclomatic 21, cognitive 27): getProviderSecret has cyclomatic complexity 21 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/provider-registry.mjs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75550f86c9dab2748c800256455beb39eee697d4713f10d138db1b06574c511"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handlePortError (cyclomatic 21, cognitive 27): handlePortError has cyclomatic complexity 21 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/wrappers.mjs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e137b2ed80aefca56772a46fa1c72787f11e539fce7189f71e84ad9ae59a5c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareImportData (cyclomatic 20, cognitive 26): prepareImportData has cyclomatic complexity 20 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/import-data-cleanup.mjs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"134b8aa952fbaa080305965ef31577d7fa744914498fa16fd6d5fe543cdb0b56"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _proxyOnDisconnect (cyclomatic 19, cognitive 37): _proxyOnDisconnect has cyclomatic complexity 19 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/index.mjs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a977b8f08eadca11c9a719ec5edb4deb9fb363e4eceb59a754073d6f76e41d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isLegacyCompatibleSessionMatch (cyclomatic 19, cognitive 18): isLegacyCompatibleSessionMatch has cyclomatic complexity 19 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/model-name-convert.mjs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"112426f9bcbc6fe043e608c491a4eabb1c194b677c02450b3f4d5a4fce7972bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveUrlFromProvider (cyclomatic 18, cognitive 21): resolveUrlFromProvider has cyclomatic complexity 18 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/provider-registry.mjs"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03acd83663cd8c659f0359e5187786d18d005ebdd540919986b131c6aec015f"}},{"ruleId":"R3","level":"warning","message":{"text":"Large Files: 13 file(s) over 400 lines (counted as significant lines \u2014 blank lines excluded \u2014 over production source only, tests excluded), largest first: src/config/index.mjs (2166), src/background/index.mjs (1019), src/content-script/index.jsx (999), src/popup/sections/GeneralPart.jsx (973), src/services/apis/provider-registry.mjs (860), src/components/ConversationCard/index.jsx (806) (\u002B7 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"cecee31b569df4f07e06db732f1ca037af27b5afef9023da51f9673d931a142f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/index.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d6443a531aba2310802ddf809154a8cdba9a4485725af18471a68134dab9de"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/GeneralPart.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"421667ff3c67327a01d0f6e6fe5128bed11bd37bffef5192b5085a8139e91c80"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/ApiModes.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f538f20b1462a7b1c435271221b0252df15d11c505e32d31dcb27ce4a6d1fb69"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"859803e126b2f4f905df76819111834aae9dd1fa677e13543446e45a7909e67c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/AdvancedPart.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b9f6407f81a0add4f72e491b2b1ad70256ad6e05d53e33a2aa60ab4a217f8d1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/Popup.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"919893658b59aa18b4e1443da89a4b460763e3b5899b7f5ac00a9268674cccd3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/MarkdownRender/markdown-without-katex.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b8f80a55bde71b2117cf0332c6653ddf8ddd7fa3c8a8e5164eb6a5cb61fea1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/IndependentPanel/App.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a368830d76cd5390aebf3b046d63e75b8ded73042e6f66bd56ad6d552aae811"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/SelectionTools.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"970aff4ee6d452bd79e0341a360fc9afde4e5580e3c05f8d9f242fb2acaab563"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/menus.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ecc3c56b249327c0707b970e417bc1db26c3fb2398bc672423b5b0e25f51c70"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/FeaturePages.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba33a38c501f0baac5ab300c4893c8d7b1ce86f9fc0bd013af1c3836b47ee28"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/waylaidwanderer-api.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7017b5f81b6e54b9a42fdd4f08b14c03feba5c046409a391c53651bf163ec86c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/claude-web.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1345fb517b885ac9e6586f27a9fbcd5ba210be6fb58b44d167891fdd3dc02878"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FeedbackForChatGPTWeb/index.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c12ae9c07d315053510e129140843d05f2a21efddb7cd70a987ef9ec4eb3e88b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConfirmButton/index.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a975aa0679199dc5e8b8d2ae6e1b3d0bb2a50ff850b1ea4df4db7c0574c7bc6e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/SiteAdapters.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab1f0bf8c3ddd7f4c89a806abe905889c0068932aa63ddbd45fd4a15ee9903a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/ModulesPart.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7659195ae895a346a7f2b44033b1122714f99ba72ffa2a7a46494781542cc3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/index.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cec12486647d350b314161d892035b66b70812c377f36a78209c2b04e82215f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/IndependentPanel/index.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8968f112c817b56014182392a4711f73f79b7286787f386432f9113e6bbe959a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/_locales/i18n.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e4cc54397afaeafcae68a5875938cfeacf04a52ac4d2803124399aa5bfebc3"}},{"ruleId":"R5","level":"warning","message":{"text":"Dependency Freshness: 39 outdated package(s); JS/npm CVEs scored in D30"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7de98450603a813bc7a991bc6e60f440c1deac6f9c9bfd4d0da057afed869bcf"}},{"ruleId":"R6","level":"warning","message":{"text":"No typecheck script: test \u2713 \u00B7 lint \u2713 \u00B7 typecheck \u2717 \u2014 read from this repository\u0027s package.json scripts and corroborated against its CI workflows. A script counts when its name or command matches the step: \u0060test\u0060 for the suite, \u0060lint\u0060 or \u0060prettier\u0060 for linting, \u0060typecheck\u0060/\u0060type-check\u0060/\u0060tsc\u0060 for type checking. \u2717 therefore means no script or CI step under those names was found, NOT that the step is absent from your pipeline \u2014 a task invoked by a runner this check does not read, or named something else entirely, is not seen and is worth confirming before acting on a cross. A \u2713 means the wiring is DECLARED \u2014 a script or CI step under those names exists. It is not a statement that the step passes, or that it runs at all: nothing here installs a dependency or executes a suite."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"912edc7f1fd20bf80ef68c3293e3048565115e48707dc5f9d492201598794658"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1056 LoC): no import path from any entry point (35 application, 1 tooling, 82 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/index.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e30a98d36088edc49c26fa80c98daaaf73f97411f0a5378440818c6793cd843d"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1009 LoC): no import path from any entry point (35 application, 1 tooling, 82 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/popup/Popup.jsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/GeneralPart.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdadcf4bd70c2d2c15dd7fe82510908605d33e0951b0ac09afd803855b837088"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~712 LoC): no import path from any entry point (35 application, 1 tooling, 82 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/popup/sections/ModulesPart.jsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/ApiModes.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d552ca51b6ea74cbdf385ceb9d27b532df78c9cfe83a77cfac808ce8cd105cc7"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~282 LoC): no import path from any entry point (35 application, 1 tooling, 82 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/popup/Popup.jsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/AdvancedPart.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12964a2f67f7b70a75aa0ff7a543ec0293a8463b5430254c48d0647a8277cb9c"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~212 LoC): no import path from any entry point (35 application, 1 tooling, 82 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/popup/index.jsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/Popup.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c82e02aed1c15e710548626671163b5dc44969c0017dec45585b58d76cc98f"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~207 LoC): no import path from any entry point (35 application, 1 tooling, 82 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/MarkdownRender/markdown-without-katex.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec048951b4ae039f10046309ea9c15c5ea0ce6d05a24ce876f8989c8d136b899"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~189 LoC): no import path from any entry point (35 application, 1 tooling, 82 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/pages/IndependentPanel/index.jsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/IndependentPanel/App.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"764d0af187c796466ab625baf33dd2d683c0102d098cd55151da2a189344530d"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~181 LoC): no import path from any entry point (35 application, 1 tooling, 82 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/popup/sections/ModulesPart.jsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/SelectionTools.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0f45f763f1c494cfdd83e2adf873460337d24dfe080e79939414bfbf405549"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~152 LoC): no import path from any entry point (35 application, 1 tooling, 82 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/background/index.mjs) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/background/menus.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b0ab31d467a59bc8f3bc192d0b5f3e06ee149e2163540ebcc07cfc4752b40f5"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~95 LoC): no import path from any entry point (35 application, 1 tooling, 82 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/popup/Popup.jsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/FeaturePages.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6831fd97f28a6b7cb74be893d220b4980117cc2a078fc409e57e894e22953a"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~84 LoC): no import path from any entry point (35 application, 1 tooling, 82 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/background/index.mjs) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/waylaidwanderer-api.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b937757868def5047ca046436a49d6cd110c7ed90e829f4f8c04f1dbe1db17"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~71 LoC): no import path from any entry point (35 application, 1 tooling, 82 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/background/index.mjs) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/claude-web.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8b0ff8fa37ab4dfcbb582a7681befb9a4216d1d06b733f77a102e9c6c6afd4"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~43 LoC): no import path from any entry point (35 application, 1 tooling, 82 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/popup/sections/ModulesPart.jsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/SiteAdapters.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3ff3ddbf9b7ecde95a82257160e7be0458e237dbc423794b6c0838628845cd"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~37 LoC): no import path from any entry point (35 application, 1 tooling, 82 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/popup/Popup.jsx) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/sections/ModulesPart.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"771a93139be4999bbb3fe0f757e6e6a482ff92018f3b9a5f57d2ee56fa2e696c"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~35 LoC): no import path from any entry point (35 application, 1 tooling, 82 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/popup/index.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2d25eb53aa6672ca9d2d01130c7ead376eaca33a29f21d4ef5a658dc6fcd54"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~19 LoC): no import path from any entry point (35 application, 1 tooling, 82 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pages/IndependentPanel/index.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e7a324df50a5d454d22c87770b4e7ec1d2e875cbc98e45cbc6975c37ed3d010"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~7 LoC): no import path from any entry point (35 application, 1 tooling, 82 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/background/index.mjs) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/_locales/i18n.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9cec628b5fd48f3e4b6103607058e0b79c40c2d047cf2a4f7908928b543213"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in src/components/index.mjs, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in src/components/index.mjs in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/FeedbackForChatGPTWeb/index.jsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b90719c8d4236a4451efdf8cd0c2fd47cc738f40ca52879d0b22715da71d0f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CustomUrlGroups\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/index.mjs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"219684a9f135cc24e9bdf0d172d96f47ab07e8e3c456176b58317ceec86e0cbb"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CustomApiKeyGroups\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/index.mjs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b1905808fbce99985bfb54c55a8a3847bed078276663aa475dd4cda219952b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getUserLanguage\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/language.mjs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"397aba8f64a8bb369e19e4de6b09bef2792f4ea94c6ff161c0e4347d228abc6c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getUserLanguageNative\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/language.mjs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fddda6b63fbaa4597467a5fecbf4100c94b33368dd38e3b406eab22fa8736ab"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getPreferredLanguageNative\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/language.mjs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d908e105de57035e0b482f7ce3e8a99207bba205d3c6f1b41cf80517dca1ea69"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027sendModerations\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/chatgpt-web.mjs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"8351c3ccedb7d70446d2d243a80e06b05e37dc04d0ee88cb250474a2ac6cf581"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027Message\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/moonshot-web.mjs"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"99fc345019c9cb4742b99657c5352b9378eb3c4b44fbe9b4fc8d2275a8ab21ca"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getChatSystemPromptBase\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/shared.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d850e2244efb21a4b551ceab3446c4076bf699c0993c8c59b91b2ccc78a185c3"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getCustomApiPromptBase\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/shared.mjs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f2921f369264cea9932e5e6b7701edb62551741ec0a0497b679973c9bc366a"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027remark-parse\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/unit/utils/error-text.test.mjs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"e771abae2e5d8354c8882bdb3462d4964bfc394535beb161384b244bf7299ac9"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027unified\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/unit/utils/error-text.test.mjs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"10dc18ece8d1b9159825cd31ca5c0c9677a82b5be1e838747752857be324af32"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027github-markdown-css\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"63ca5ad84bbeaa6e8675fb9cfbd910f682585d22f3be5571bd6262eef0b5f922"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027gpt-3-encoder\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd9343f7bfef24d844ce8963925fef487db9609e18dac0f050ad756542a8d63c"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027publish-browser-extension\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ab5820283945bfa3aa19022be41a42b7b9983459f5b6f2bab353100d1eee3d73"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): src/components/ConversationCard/index.jsx \u2192 src/components/FloatingToolbar/index.jsx \u2192 src/components/ConversationCard/index.jsx"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/ConversationCard/index.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21459ae22c232bec6e43cfebbf7dcf198c09a44442ef514ba3d51d7ad6cc7e0b"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): src/config/index.mjs \u2192 src/utils/model-name-convert.mjs \u2192 src/config/index.mjs"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/config/index.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77da54a919fa80b6b9f46dec27940d2c8e31fc74d5b3a0b49a2bcfea5638007e"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): src/content-script/site-adapters/baidu/index.mjs \u2192 src/content-script/site-adapters/index.mjs \u2192 src/content-script/site-adapters/baidu/index.mjs (one verified cycle inside a mutually-dependent group of 7 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/content-script/site-adapters/baidu/index.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0bf509f9c2a58b03a868f53eab99b20447e2460a075c71b64633ceececdcc61"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!children || (Array.isArray(children) \u0026\u0026 (children.length === 0 || (children.length === 1 \u0026\u0026 typeof children[0] === \u0027string\u0027 \u0026\u0026 children[0].\u2026\u0060 appears character-identically in 2 files \u2014 src/components/MarkdownRender/markdown-without-katex.jsx, src/components/MarkdownRender/markdown.jsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/components/MarkdownRender/markdown-without-katex.jsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6966fcdb0e8e26d96a64b22dd85f206d7fc2680612a0539c9312befffb86dc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0027string\u0027 || value.trim().length === 0\u0060 appears character-identically in 2 files \u2014 scripts/submit-stores.mjs, scripts/update-firefox-metadata.mjs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/submit-stores.mjs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7416dc66c10240ec6f2d069b3698726612b3e71a2991c7a1c3a1495291f9890"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readResponseText\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/submit-stores.mjs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"c90acebea44930597a451111d7c616c5e4f8af4588dcc4a7de11763c86038d56"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getOpenRouterAttributionHeaders\u0060 swallows every exception into \u0060return {}\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/apis/openai-api.mjs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"2555951480802daf4a63cc63aab402d161ecd9c88e977b3d9c25df5f2636106e"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"CWE-506","shortDescription":{"text":"CWE-506"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"CWE-522","shortDescription":{"text":"CWE-522"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-552","guid":"3492436b-eca2-9c54-9ba3-5dade427c903","name":"CWE-552","shortDescription":{"text":"CWE-552"},"helpUri":"https://cwe.mitre.org/data/definitions/552.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"CWE-829","shortDescription":{"text":"CWE-829"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-835","guid":"4d510828-22d0-5353-ad86-51ed0cae0b37","name":"CWE-835","shortDescription":{"text":"CWE-835"},"helpUri":"https://cwe.mitre.org/data/definitions/835.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":13,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}