Thank you for your submission, an automated scan of your plugin code's revealed the following issues:

### Required

[[1](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L165)][[2](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L173)][[3](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L181)][[4](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L189)][[5](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L199)][[6](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L214)][[7](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L226)]:The command name should not include the plugin name.

[[1](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L1612)][[2](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L1618)][[3](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L1619)][[4](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L1620)][[5](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L1625)][[6](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L1626)][[7](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L1627)][[8](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L1632)][[9](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L1633)][[10](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L1634)][[11](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L1639)][[12](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L1640)][[13](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L1641)][[14](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L1659)][[15](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L1722)][[16](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L1723)][[17](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L1990)][[18](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L1995)][[19](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L2008)][[20](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L2009)][[21](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L2011)][[22](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L2012)][[23](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L2013)][[24](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L2278)][[25](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L2559)][[26](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L2560)][[27](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L2566)][[28](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L2575)][[29](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L2583)][[30](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L2589)] and more :You should avoid assigning styles via JavaScript or in HTML and instead move all these styles into CSS so that they are more easily adaptable by themes and snippets.


[[1](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L1914)][[2](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L1975)][[3](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L2003)][[4](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L3253)][[5](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L3358)][[6](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L3455)][[7](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L3469)][[8](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L3771)][[9](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L3810)][[10](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L3885)][[11](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L4207)][[12](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L4250)][[13](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L4332)][[14](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L4348)][[15](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L6258)][[16](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L6418)]:Using `innerHTML`, `outerHTML` or similar API's is a security risk. Instead, use the DOM API or the Obsidian helper functions: <https://docs.obsidian.md/Plugins/User+interface/HTML+elements>

[[1](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L272)][[2](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L273)][[3](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L274)][[4](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L275)][[5](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L285)][[6](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L287)][[7](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L296)][[8](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L379)][[9](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L708)][[10](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L744)][[11](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L1178)][[12](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L1181)][[13](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L1187)][[14](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L1193)][[15](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L1197)][[16](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L1199)][[17](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L1207)][[18](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L1218)][[19](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L1231)][[20](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L1270)][[21](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L1273)][[22](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L1278)][[23](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L1282)][[24](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L1289)][[25](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L1290)][[26](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L1293)][[27](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L1298)][[28](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L1301)][[29](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L1306)][[30](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L1312)] and more :You should consider limiting the number of `console.log`s in your code, to not pollute the dev console.



---

### Optional

[[1](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L499)][[2](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L500)][[3](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L506)][[4](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L507)][[5](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L508)][[6](https://github.com/cpfiffer/letta-obsidian/blob/56c71ffae060834b1c7199d1feeba18244ca21c6/main.ts#L6015)]:Casting to `any` should be avoided as much as possible.



---



Do <b>NOT</b> open a new PR for re-validation.
Once you have pushed all of the required changes to your repo, the bot will update the labels on this PR within 6 hours.
If you think some of the required changes are incorrect, please comment with `/skip` and the reason why you think the results are incorrect.