pi-langsrv
v0.4.13
Published
Extension for Pi coding agent
Readme
pi-langsrv
Language server and intelligence extension for Pi coding agents.
Features
- LSP Client - Language Server Protocol for diagnostics, hover, definitions
- Tree-sitter Index - AST-based symbol indexing for multiple languages
- Symbol Navigation - Go to definition, find references
- Call Graph - Analyze function calls and dependencies
- Import Tracking - Track imports across files
- Performance Profiling - Measure LSP response times
Install
pi install npm:pi-langsrvQuick Start
Hover Info
/lsp hover src/index.ts:42Go to Definition
/lsp goto src/index.ts:42Find References
/lsp refs src/utils.ts:10Symbol Search
/lsp symbolsCommands
| Command | Description |
|---------|-------------|
| /lsp | LSP main command |
| /lsp hover | Show hover info |
| /lsp goto | Go to definition |
| /lsp refs | Find references |
Verify
pi listLicense
MIT
