Commands: server

Histos keeps a JVM process warm so the next command does not pay to start one. Metals and an MCP client talk to that process. These commands start it, stop it, and ask it to load the build again.

histos.bsp.Bsp.ServerName
val ServerName: String = "histos"

server

histos server runs the warm process in the foreground. You use it when you want to watch that process. Ordinary commands start it for you.

bsp

histos bsp speaks the build server protocol on standard input. Metals starts it from .bsp/histos.json. You rarely type it yourself. The Metals page says what an import gets you.

mcp

histos mcp speaks MCP on standard input and output. An agent runs it. The MCP page says how to point a client at it.

reload

histos reload asks the running server to read histos.scala again. Use it after you change the build file and the server is still on the old graph.

reboot

histos reboot stops the server and starts one on this command's toolchain. If no server is running, it starts one.

stop

histos stop asks the running server to exit. It does not start another.

cancel

histos cancel <id> cancels a run. The id is the one the command printed when it started.