Lanser-CLI is a CLI-first orchestration layer that lets coding agents and developers access
language server capabilities with deterministic, replayable workflows.
lanser def,lanser references,lanser hover,lanser symbols, andlanser diagnosticsexecute against Pyright to emit deterministic analysis bundles with caching metadata and selector resolution details.lanser renamepreviews rename results with guardrails for dirty worktrees and workspace jail enforcement.lanser batchexecutes multiple orchestrator commands from a JSONL description, writing JSONL responses so agent planners can pipeline definition, reference, diagnostics, or rename stubs.lanser schema validatevalidates JSON payloads against published schema definitions so agents can verify bundles and environment metadata.lanser schema validate-batchvalidates directories of JSON payloads so golden fixtures remain aligned with published schemas during automation.lanser schema exportwrites JSON schema definitions to disk so CI pipelines can vendor deterministic contracts alongside bundle fixtures.- Pass
--trace-file <path>to any command to capture orchestrator metadata and JSON-RPC traffic as JSONL events for replay and auditing. lanser trace replayreconstructs recorded operation outputs from a trace log, regenerating the exact JSON envelope produced during the original run.lanser trace listenumerates recorded operations with filtering (operation, selector text, exit code, or status) and JSON output so agents can discover replay indexes before reproducing results.lanser trace showdisplays recorded operation metadata so agents can audit payloads before replaying or exporting results, with the same selector and status filtering available for precise targeting.
- Pyright
1.1.407is the primary language server version for development and CI, with compatibility retained for1.1.406. Supported versions are centralised inlanser.pyright_versionand surfaced via thelanser doctorcommand.
@article{zhang2025language,
title = {Language Server CLI Empowers Language Agents with Process Rewards},
author = {Zhang, Yifan and Contributors, Lanser},
journal = {arXiv preprint arXiv:TBD},
year = {2025}
}