facebook / facebook/pyrefly

Command-line entry-point for LSP features

Open
#3,148 3 comments 0 reactions 1 assignee Claimed by @asukaminato0721 View on GitHub
language-server
Dominant language
Rust
Stars
7k
Forks
516
PR merge metrics
No merged PRs in 30d

Description

### Describe the Bug

We'd like to experiment with a new command-line entry point for LSP. the primary intention of this would be for use in agentic skills, where a LLM can query pyrefly for semantic informatino about the program.

We would like to start with:
- find-references
- call hierarchy
- hover

The output of this should likely be json. Before merging, we'd like to experiment with real-world tools and test the effectiveness.

### Sandbox Link

_No response_

### (Only applicable for extension issues) IDE Information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.