Show HN:lscode – 適用於 AI 編碼代理的 TypeScript LanguageService

Show HN:lscode – 適用於 AI 編碼代理的 TypeScript LanguageService

Hacker News·

lscode 是一款新的命令行工具,它將 TypeScript 強大的 LanguageService 功能帶給 AI 編碼代理,實現確定性且精確的程式碼分析和操作。

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

To see all available qualifiers, see our documentation.

TypeScript's LanguageService for AI Coding Agents

License

Uh oh!

There was an error while loading. Please reload this page.

kazushisan/lscode

Folders and files

Latest commit

History

Repository files navigation

lscode

Image

Image

TypeScript's LanguageService for AI Coding Agents

lscode brings the power of TypeScript language tools to AI-driven development workflows. lscode is a command-line tool tailored for AI coding agents that leverages TypeScript semantics to provide precise code analysis and manipulation features.

Why lscode?

🎯 Deterministic and Precise

lscode operates on TypeScript’s semantic model rather than raw text, enabling accurate analysis and edits with predictable results—making it a reliable foundation for AI coding agents.

🤖 Designed for AI-Driven Workflows

lscode provides an agent-friendly CLI with symbol-based addressing (path/to/file.ts#symbol), so AIs don't have to manage line numbers or character offsets.

🏗️ Built for TypeScript

lscode is built on lower-level TypeScript LanguageService APIs. Definition lookups return complete, semantically scoped code blocks—not just cursor positions—reducing unnecessary AI calls while enabling richer, context-aware operations.

Quick Start

Usage

Author

Kazushi Konosu (https://github.com/kazushisan)

License

MIT License

About

TypeScript's LanguageService for AI Coding Agents

Resources

License

Uh oh!

There was an error while loading. Please reload this page.

Stars

Watchers

Forks

Releases

  8

Packages

  0

Languages

Footer

Footer navigation

Hacker News

相關文章

  1. Show HN:AI Code Guard – AI 生成程式碼的安全掃描器

    3 個月前

  2. Show HN:CodeSyncer – 將 AI 編碼上下文儲存在程式碼註解中

    3 個月前

  3. Show HN:AgentCmds – AI 代理的斜線指令目錄

    4 個月前

  4. Show HN:LaReview,先規劃後審核的AI程式碼審查工具,可本地運行,自帶代理

    3 個月前

  5. Show HN:開源 AI 編碼助手挑戰 Cursor

    7 個月前