Repository navigation
v0.3.1
rocq-mcp v0.3.1
The last release on the pytanque / coq-lsp (pet) backend. Use it with Rocq/Coq switches where pet is available; the next release moves to pyrocq.
New tools
rocq_health— toolchain check: which opam switch the server runs on,rocq c/petpaths and versions.rocq_switch— change the running server's opam switch in-session.
Compilation
rocq cis the default compiler (falls back tocoqc).rocq_compile_file: multi-error reporting (errorsper declaration, stopping at the first top-level error),keep_vo,mode="vos",timing, andvo_rebuild_warningwhen a compile rewrites.vofiles used by live sessions.- Dune projects:
.vokept out of the source tree; modern(rocq.theory ...)stanzas viadune rocq top. - Pattern-based
diagnostic_hinton configuration failures (missing load path,.voversion skew). _CoqProject:-native-compiler {yes,no,ondemand}allowed as-arg; absolute-Q/-R/-Ipaths under$OPAM_SWITCH_PREFIX/lib/coqallowed.
Interactive tools
- Per-call
timeout=on interactive tools (clamped byROCQ_QUERY_TIMEOUT_CAP). from_stateis now required onrocq_check/rocq_step_multi(no implicit current state).- LRU state table (default 1000 states); stale-state warning when a held state's dependency
.vowas rebuilt. focus_depthon proof-state responses; bullets and braces handled as standalone sentences.rocq_diag: load average,server_version;rocq_assumptionsparsing fixes.- Unified response envelope (
success/error/reason).
Full changelog: 0.2.0...0.3.1