Show HN: ShellAI – Local Terminal Assistance with SLM
github.com
github.com
And why is `ptrace` needed?
As for ptrace, I use it to inject code into the users shell to present the command in a way that doesn’t require further interaction to run. I wanted it to be more like the “AI terminal” experience without requiring the user to copy-paste the recommended command back into their shell prompt.