Widgets are great! The problem is, they're a long tail sort of phenomenon. Each one might be very useful to a small number of users, but cost the same for Kagi to implement in-house. This seems like precisely the situation where you might get contributors, and where open source could lead to a better solution than closed. Additionally, since Kagi's resources are limited, this might allow for better implementation of the widgets that exist. An example of the former might be implementing support for queries like 2 crore inr to usd (for reference, wikipedia:crore); an example of the latter, support for queries like 2 million inr to usd, or adding commas to large numbers (e.g. showing 2,000,000 instead of 2000000 in output, or adding options for European or Indian digit separation, i.e. 2.000.000 or 20,00,000). Both of these right now only show 2.0 Indian Rupee (INR) <-> 0.02 US Dollar (USD).
Depends on how you implement it. Could be that there's a public repo for contributions, maintained by Kagi, and then incorporated into prod. This would then just be normal usage of widgets, but with more and better widgets than currently. Alternatively, it could be an opt-in tool, where the repo is maintained by volunteers potentially outside of Kagi, and Kagi only provides some standard way to add your desired plugins to your own Kagi. (Though that might be more work up front, since I assume right now everything runs on Kagi servers, while for security reasons you would probably want unreviewed code running locally, idk).