Conversation
|
| Filename | Overview |
|---|---|
| crates/server/src/cli.rs | Implements the diagnostics CLI, including target/base scanning, stdin support, output formats, and failure thresholds. |
| crates/server/src/scan.rs | Extracts shared filesystem, BIG archive, W3D, and string-table scanning with checked variants for CLI use. |
| crates/server/src/main.rs | Routes non-LSP invocations into the CLI while preserving default and --stdio LSP startup. |
| crates/server/src/backend.rs | Refactors backend scanning to use the shared scanner while keeping workspace indexing and virtual BIG file behavior. |
| crates/server/tests/cli.rs | Adds integration coverage for stdin, JSON/human output, thresholds, deduplication, base roots, and usage failures. |
| docs/language-server.md | Documents command-line diagnostics usage, JSON fields, severity thresholds, and exit codes. |
Reviews (2): Last reviewed commit: "accept stdio transport flag" | Re-trigger Greptile
Owner
Author
ViTeXFTW
marked this pull request as ready for review
July 17, 2026 07:43
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
zerosyntax-lsp checkfor one-shot diagnostics from files, directories, or stdinWhy
A batch diagnostics interface enables LLM edit/check loops, CI and pre-commit validation, mod build gates, and reproducible checks without launching an editor or speaking LSP.
Validation
cargo test --lockedcargo fmt --all --checkcargo clippy --locked --all-targets --all-features -- -D warningspython crates/server/tests/e2e.py target/debug/zerosyntax-lsp.exeThe CLI integration suite runs the real binary and covers stdin, JSON/human output, Unicode positions, failure thresholds, directory deduplication, cross-file resolution, directory and
.bigbase roots, and invalid usage.