Comment by jauntywundrkind
6 hours ago
Nice stuff. I keep wanting to be more speech oriented but it's been hard to get myself to move to that. I like how you use the accessibility APIs to get data out; that feels like such crucial leverage point for expanding agency!
> When you press the hotkey, macOS Accessibility APIs read the selected text and line numbers from the active editor window. If the Accessibility API doesn't return selected text (some apps don't support it), Voxcode falls back to simulating Cmd+C.
Regarding working with code, I've quite enjoyed using the mcp-neovim-server. Asking it to show & select pertinent lines can be helpful, especially when there's multiple file references at once. Turning this around & asking the LLM to get data out would be possible, but as you say, this would be IDE specific. Ideally there would be some good cross-IDE MCP tools. https://github.com/bigcodegen/mcp-neovim-server
No comments yet
Contribute on Hacker News ↗