Alejandro Vidal
banner
en.doble.io
Alejandro Vidal
@en.doble.io
doble.io
Professor of both human and artificial intelligence.
Wearing many hats with just one head: Generative AI, Cognitive Psychology, product, strategy (whatever that means), ...
🇪🇸ESP on @doble.io
Reposted by Alejandro Vidal
The inspiration from @ncoop57.bsky.social
to get tmux to do the heavy lifting to make ShellSage work is genius! Thanks to this, ShellSage is <100 lines of code (plus comments and prompts).

But the result is amazing. Try it out and tell us how you go.

Details here: www.answer.ai/posts/2024-1...
ShellSage - Your AI Bash Buddy – Answer.AI
ShellSage saves sysadmins’ sanity by solving shell script snafus super swiftly
www.answer.ai
December 5, 2024 at 8:30 PM
OK. So your vision for MCP in editors is to work alongside the LSP server, and both could/should be enhanced by AI?

If so, I am missing an LSP++ (or MCP++) to support more UX than just autocompletion, e.g., next cursor position prediction, add typing info to the prompt, ...
December 5, 2024 at 12:16 PM
🤞This would be a *huge* step forward to automate personal workflows in a safe way: calendar, mail access, ...
December 5, 2024 at 11:58 AM
I did not hack enough with MCP :) Probably I am missing a lot of things.
December 5, 2024 at 11:27 AM
With MCP I can see we can use a prompt spec.modelcontextprotocol.io/specificatio... with prefix/suffix arguments and so on. But AFAIK it is not described in the specification so I cannot "plug and play" supporting editors like in LSP.
Prompts
ℹ️ Protocol Revision: 2024-11-05 The Model Context Protocol (MCP) provides a standardized way for servers to expose prompt templates to clients. Prompts allow servers t...
spec.modelcontextprotocol.io
December 5, 2024 at 11:27 AM
The latter (LSP) let you to insert or replace in specific parts and access to the relevant context (workspace, typing info, ...).
December 5, 2024 at 11:27 AM
Very interested to listen your take in how to implement a fill-the-gap experience like Copilot or "next cursor position" (aka Cursor magic tab) or access the workspace context, typing information, etc.

For example: spec.modelcontextprotocol.io/specificatio... vs microsoft.github.io/language-ser...
Completion
ℹ️ Protocol Revision: 2024-11-05 The Model Context Protocol (MCP) provides a standardized way for servers to offer argument autocompletion suggestions for prompts and r...
spec.modelcontextprotocol.io
December 5, 2024 at 11:27 AM
Maybe @juanlu.space knows a better way to do this with uv
December 5, 2024 at 11:00 AM
Exactly :)
December 5, 2024 at 10:59 AM
I hope it will get there. IMO At this moment it is not. It is a RPC for Agents, useful for chat-like experiences but not for coding.
December 5, 2024 at 10:59 AM
Although venvs are path-specific you can install them in a generic folder (~/envs/) and activate them whenever you need them. Quick test:
December 4, 2024 at 10:02 AM