This is very similar to the Zed editor. How much did you get inspired by them? And what are the differences between yours and their implementations?
Tbh I did try out their implementation and it still feels early, one of the key difference we went for was to allow the user to move freely between chat and editing mode.
Yours for example doesn't allow one to insert diagnostics or allow for example for things like inserting all tabs open and all files open at once.
They also allow jumping from editing to chatting mode by simply doing command enter.
We implicitly take in all the diagnostics on the files https://github.com/codestoryai/sidecar/blob/e5408782a3bfa461...