Editor and package tools
VS Code and Cursor
The Entails extension in editors/ recognizes .entails files and launches
entails lsp over stdio. It provides syntax highlighting, diagnostics, and
completions and language summaries on hover. Use Extensions: Install from VSIX in either editor and set
entails.command to the CLI path if it is outside the editor process’s
PATH.
MCP
{
"mcpServers": {
"entails": {
"command": "entails",
"args": ["mcp"]
}
}
}
The server exposes parse and check, taking source text directly.
Certificate checking defaults to the same pinned Lean toolchain as the
CLI. Pass "engine": "entails" to use the independent guard checker.
describe provides semantic summaries and distinguishes implemented
behavior from the runtime and complexity designs. paper exports the
manuscript and can check certificates before rendering.
Packages
entails init counter
entails add ../tape
entails sync
entails.toml identifies a package and its local path dependencies. Package
names are one lowercase word and versions follow SemVer. Package modules are
top-level .entails files. entails add resolves transitive dependencies
and records exact versions, relative paths, and module SHA-256 digests in
entails.lock. entails sync verifies the lock and caches those source files
under .entails/packages. Use entails lock to intentionally refresh it.
Commit the manifest and lock together.
The first version handles local packages. Registry access, version ranges, and imports from the package cache are future additions.