tomlin7 / biscuit

A lightweight, fast code editor with extensions
https://tomlin7.github.io/biscuit
MIT License
154 stars 17 forks source link

Use assistant to generate corrected/new commands for terminal #345

Closed tomlin7 closed 3 months ago

tomlin7 commented 3 months ago

Feature

When user have no idea what command to run, he can simply type it in English to the terminal, this will cause an error and the corrected commands will be opened in palette (using assistant for generating this), user can decide to whether accept it or not.

This implies that failed commands will trigger this behavior as well, the failed command will be fed to assistant and corrected output will be collected.