top | item 46500811

Show HN: lscode – TypeScript's LanguageService for AI Coding Agents

2 points| kazushisan | 1 month ago |github.com

I've been adopting to developing with AI coding agents, but I've been feeling the limitation of these agents because they mostly work with plain-text editing and don't have much access to all the tools humans use that are available in editors like "find references" or "rename symbol".

So I ended up building `lscode`, a command-line that exposes TypeScript language-tools for coding agents to use.

While I know there are some attempts that provide a language-agnostic wrapper around LSP, `lscode` is specifically for TypeScript, built with the internal `ts.LanguageService` to provide an AI-friendly interface such as symbol search. (meaning no line-number and character-offset management necessary for agents)

Let me know what you think!

discuss

order

No comments yet.