### Required

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L67-L67)
Creating and attaching "style" elements is not allowed. For loading CSS, use a "styles.css" file instead, which Obsidian loads for you.

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L191-L191)[\[2\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L628-L628)[\[3\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L685-L685)[\[4\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L774-L774)[\[5\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L812-L812)[\[6\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L1106-L1106)[\[7\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L1172-L1172)[\[8\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L1173-L1173)[\[9\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L1282-L1282)[\[10\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L1285-L1285)[\[11\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L1441-L1441)[\[12\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L1492-L1492)[\[13\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L1520-L1520)[\[14\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L1538-L1538)[\[15\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L1548-L1548)[\[16\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L1564-L1564)[\[17\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L1588-L1588)[\[18\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L1608-L1608)[\[19\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L1613-L1613)[\[20\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L1631-L1631)[\[21\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L1647-L1647)[\[22\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L1651-L1651)[\[23\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L1656-L1656)[\[24\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L1689-L1689)[\[25\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L1705-L1705)[\[26\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L1796-L1796)[\[27\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/LoginComponent.tsx#L59-L59)[\[28\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/LoginComponent.tsx#L103-L103)[\[29\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/LoginComponent.tsx#L134-L134)[\[30\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/LoginComponent.tsx#L156-L156)[\[31\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/MarkdownRenderer.tsx#L112-L112)[\[32\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/MarkdownRenderer.tsx#L181-L181)[\[33\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/MarkdownRenderer.tsx#L383-L383)[\[34\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/MarkdownRenderer.tsx#L383-L383)[\[35\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/MarkdownRenderer.tsx#L384-L384)[\[36\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/MarkdownRenderer.tsx#L443-L443)[\[37\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/MarkdownRenderer.tsx#L452-L452)[\[38\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/MarkdownRenderer.tsx#L457-L457)[\[39\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/MarkdownRenderer.tsx#L462-L462)[\[40\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/MarkdownRenderer.tsx#L467-L467)[\[41\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/MarkdownRenderer.tsx#L472-L472)[\[42\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/MarkdownRenderer.tsx#L477-L477)[\[43\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/MarkdownRenderer.tsx#L482-L482)[\[44\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/MarkdownRenderer.tsx#L487-L487)[\[45\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/MarkdownRenderer.tsx#L492-L492)[\[46\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/MarkdownRenderer.tsx#L497-L497)[\[47\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/MarkdownRenderer.tsx#L507-L507)[\[48\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/MarkdownRenderer.tsx#L512-L512)[\[49\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/MarkdownRenderer.tsx#L517-L517)[\[50\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/MarkdownRenderer.tsx#L522-L522)[\[51\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/MarkdownRenderer.tsx#L551-L551)[\[52\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/MarkdownRenderer.tsx#L564-L564)[\[53\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/MarkdownRenderer.tsx#L576-L576)[\[54\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/ObsidianAgentChatView.tsx#L10-L10)[\[55\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/ObsidianAgentChatView.tsx#L12-L12)[\[56\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L74-L74)[\[57\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L86-L86)[\[58\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L92-L92)[\[59\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L102-L102)[\[60\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L246-L246)[\[61\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L326-L326)[\[62\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L428-L428)[\[63\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L451-L451)[\[64\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L758-L758)[\[65\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L845-L845)[\[66\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L852-L852)[\[67\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L861-L861)[\[68\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L871-L871)[\[69\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L884-L884)[\[70\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L1011-L1011)[\[71\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L1089-L1089)[\[72\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L1370-L1370)[\[73\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L1382-L1382)[\[74\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L1472-L1472)[\[75\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L1498-L1498)[\[76\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L1524-L1524)[\[77\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L1524-L1524)[\[78\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L1524-L1524)[\[79\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L1525-L1525)[\[80\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L1525-L1525)[\[81\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L1525-L1525)[\[82\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L1934-L1934)[\[83\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L1992-L1992)[\[84\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L2100-L2100)[\[85\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L2166-L2166)[\[86\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L2183-L2183)[\[87\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L2425-L2425)[\[88\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L2433-L2433)[\[89\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L2450-L2450)[\[90\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L2500-L2500)[\[91\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L2502-L2502)[\[92\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L2504-L2504)[\[93\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L2558-L2558)[\[94\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L2566-L2566)[\[95\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L2573-L2573)[\[96\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L2603-L2603)[\[97\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L2671-L2671)[\[98\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L2731-L2731)[\[99\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L2745-L2745)[\[100\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L2756-L2756)[\[101\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L2774-L2774)[\[102\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L2868-L2868)[\[103\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L3080-L3080)[\[104\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L3281-L3281)[\[105\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L3302-L3302)[\[106\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L3593-L3593)[\[107\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L3611-L3611)[\[108\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L3626-L3626)[\[109\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L3651-L3651)[\[110\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L3685-L3685)[\[111\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L3700-L3700)[\[112\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L3714-L3714)[\[113\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L3715-L3715)[\[114\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L4075-L4075)[\[115\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L4173-L4173)
Unexpected any. Specify a different type.

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L335-L335)[\[2\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L2145-L2145)[\[3\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L2399-L2399)
`substr` is deprecated. A legacy feature for browser compatibility

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L449-L449)[\[2\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L1042-L1042)[\[3\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/LoginComponent.tsx#L29-L29)[\[4\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/LoginComponent.tsx#L57-L57)[\[5\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/LoginComponent.tsx#L180-L180)[\[6\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/MarkdownRenderer.tsx#L126-L128)[\[7\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/MarkdownRenderer.tsx#L130-L132)[\[8\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/MarkdownRenderer.tsx#L387-L389)[\[9\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L340-L340)[\[10\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L733-L733)[\[11\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L742-L742)[\[12\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L753-L753)[\[13\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L1508-L1508)[\[14\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L2078-L2078)[\[15\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L3092-L3092)[\[16\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L3153-L3153)[\[17\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L3191-L3191)[\[18\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L3332-L3332)[\[19\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L3832-L3832)[\[20\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L4176-L4176)
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator.

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L628-L658)[\[2\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L659-L672)[\[3\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L673-L684)[\[4\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L685-L697)[\[5\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L812-L850)[\[6\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L851-L870)[\[7\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L871-L886)[\[8\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L887-L903)[\[9\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L904-L916)[\[10\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L1730-L1730)[\[11\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L1735-L1735)[\[12\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L315-L315)[\[13\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L338-L338)[\[14\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L424-L434)[\[15\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L3215-L3215)[\[16\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L4046-L4050)[\[17\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L4065-L4083)[\[18\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L4103-L4196)
Promise returned in function argument where a void return was expected.

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L969-L969)
This assertion is unnecessary since it does not change the type of the expression.

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L1017-L1017)[\[2\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L1029-L1029)
Unexpected confirm.

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L1181-L1181)[\[2\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L507-L507)[\[3\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L514-L514)[\[4\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L528-L528)[\[5\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L529-L529)[\[6\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L579-L579)[\[7\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L821-L821)[\[8\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L830-L830)[\[9\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L832-L832)[\[10\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L3763-L3763)[\[11\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L3864-L3864)[\[12\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L3870-L3870)[\[13\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L3872-L3872)[\[14\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L3893-L3893)[\[15\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L3896-L3896)[\[16\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L3907-L3907)[\[17\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L3955-L3955)[\[18\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L3997-L3997)[\[19\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L4025-L4025)[\[20\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L4068-L4068)
Use sentence case for UI text.

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L1339-L1339)[\[2\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L248-L248)
Expected the Promise rejection reason to be an Error.

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L2000-L2000)[\[2\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L2003-L2003)
Avoid setting styles directly via `element.style.border`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L2029-L2029)[\[2\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L2192-L2192)[\[3\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L2260-L2260)[\[4\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L2285-L2285)[\[5\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L2553-L2553)[\[6\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L2693-L2693)[\[7\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L2703-L2703)[\[8\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/LoginComponent.tsx#L250-L250)[\[9\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/LoginComponent.tsx#L263-L263)[\[10\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/MarkdownRenderer.tsx#L78-L78)
Promise-returning function provided to attribute where a void return was expected.

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L2064-L2064)[\[2\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L2067-L2067)[\[3\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L2144-L2144)[\[4\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L2147-L2147)
Avoid setting styles directly via `element.style.backgroundColor`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/MarkdownRenderer.tsx#L208-L208)[\[2\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/MarkdownRenderer.tsx#L208-L208)[\[3\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/MarkdownRenderer.tsx#L341-L341)[\[4\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/MarkdownRenderer.tsx#L431-L431)[\[5\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/MarkdownRenderer.tsx#L431-L431)
Unnecessary escape character: \-.

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/MarkdownRenderer.tsx#L208-L208)[\[2\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/MarkdownRenderer.tsx#L261-L261)[\[3\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/MarkdownRenderer.tsx#L291-L291)
Unnecessary escape character: \|.

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/ObsidianAgentChatView.tsx#L29-L29)
Async method 'onOpen' has no 'await' expression.

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/ObsidianAgentChatView.tsx#L38-L38)
Async method 'onClose' has no 'await' expression.

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L707-L707)
Async arrow function has no 'await' expression.

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L893-L893)
`event` is deprecated. [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/event)

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L1265-L1265)[\[2\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L1265-L1265)
Unnecessary escape character: \".

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L1546-L1546)[\[2\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L1546-L1546)
Invalid type "any[]" of template literal expression.

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L2160-L2160)[\[2\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L2411-L2411)
Promise-returning function provided to property where a void return was expected.

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L2455-L2455)
Async method 'toolListVault' has no 'await' expression.

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L2612-L2612)
Do not access Object.prototype method 'hasOwnProperty' from target object.

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L3465-L3465)
Async method 'initializeBatchEmbeddingQueue' has no 'await' expression.

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L3644-L3647)
Expected an error object to be thrown.

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L3752-L3752)[\[2\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L3884-L3884)[\[3\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L3947-L3947)
Use `new Setting(containerEl).setName(...).setHeading()` instead of creating HTML heading elements directly.

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L4029-L4029)
Avoid setting styles directly via `element.style.display`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L4030-L4030)
Avoid setting styles directly via `element.style.justifyContent`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L4031-L4031)
Avoid setting styles directly via `element.style.gap`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L4032-L4032)
Avoid setting styles directly via `element.style.marginTop`. Use CSS classes for better theming and maintainability.



---

### Optional

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L1-L1)
'useCallback' is defined but never used.

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L7-L7)
'ChatMessage' is defined but never used.

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L8-L8)
'Model' is defined but never used.

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L9-L9)
'AgentMode' is defined but never used.

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L10-L10)
'EditConfirmationArgs' is defined but never used.

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L11-L11)
'CreateNoteConfirmationArgs' is defined but never used.

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L354-L354)
'expandedToolSessions' is assigned a value but never used.

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L363-L363)
'pendingWikiLinkPosition' is assigned a value but never used.

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L375-L375)
'viewRef' is assigned a value but never used.

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L539-L539)
'toggleToolSession' is assigned a value but never used.

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L606-L606)[\[2\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/AgentChatView.tsx#L760-L760)
'lastToolCallContent' is assigned a value but never used.

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/TiptapEditor.tsx#L145-L145)
'html' is assigned a value but never used.

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L913-L913)[\[2\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L974-L974)[\[3\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L1049-L1049)[\[4\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L2648-L2648)[\[5\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L3268-L3268)
'error' is defined but never used.

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L2425-L2425)
'dirError' is defined but never used.

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L2566-L2566)
'fallbackError' is defined but never used.

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L2789-L2789)
'urlError' is defined but never used.

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L3782-L3782)[\[2\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L3821-L3821)[\[3\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L3837-L3837)
'headerContainer' is assigned a value but never used.

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L4091-L4091)
'titleEl' is assigned a value but never used.

[\[1\]](https://github.com/Namecard-ai/obsidian-agentmode-plugin/blob/cc11461ce4169771480e26040cdec830dfd57a35/main.ts#L4121-L4121)
'newHeaderContainer' is assigned a value but never used.

