Skip to content

Verso compliation server (& design that supports additional similar plugins)#6

Open
robsimmons wants to merge 26 commits intoleanprover:nixosfrom
robsimmons:plugin
Open

Verso compliation server (& design that supports additional similar plugins)#6
robsimmons wants to merge 26 commits intoleanprover:nixosfrom
robsimmons:plugin

Conversation

@robsimmons
Copy link

@robsimmons robsimmons commented Feb 17, 2026

This PR renames the "server" aspect of the live app to "lsp-server" and creates a separate server, "verso-server", that utilizes the same file checkouts as lean4web. This service is accessed through a new optional tab in the React component; the design would support additional plug-in tabs for other purposes, including comparator-style double checking or trusted delaboration.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should have already been in place, but we didn't notice because all the build.sh stuff is duplicated in the nix configration — mathlib-stable is broken in local development workflows because this doesn't exist.

Comment on lines +16 to +18
"start:lsp-server": "cd lsp-server && NODE_ENV=development nodemon ./index.mjs",
"start:client": "NODE_ENV=development vite --host",
"build": "npm run build:server && npm run build:client",
"build:server": "server/build.sh",
"start:verso-server": "NODE_ENV=development nodemon ./verso-server/server.ts",
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"server" is ambiguous with multiple services running — what we called "server" is properly the server for the LSP connection

"build": "npm run build:server && npm run build:client",
"build:server": "server/build.sh",
"start:verso-server": "NODE_ENV=development nodemon ./verso-server/server.ts",
"build-without-projects": "npm run build:client && npm run build:verso-server",
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Our Nix setup does something different for build:projects, so there needed to be a new target for "build without build:projects"

@robsimmons robsimmons marked this pull request as ready for review February 18, 2026 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant