Skip to content

0.14.2

Choose a tag to compare

@zaiev zaiev released this 31 Oct 12:55
· 14 commits to main since this release

HTTP over a Unix socket: a client reaches a server on one named in its URL, so an MCP client does too, and a server opens one only its owner can connect to.

New

  • Spindle_client calls a server on a Unix socket named in the URL, http+unix:// and the path percent-encoded (ws+unix:// for a WebSocket), with the same deadlines, streams and kept connections as over TCP; one it cannot reach is Unsent, naming the path.
  • Spindle_mcp_client.create takes such a URL, so discovery, tools, reads and listens work over a socket.
  • Spindle.Server.Unix_socket.listen ~sw path opens a socket for serve_on: its directory must be the owner's alone, a path a running server answers on is refused, a file a killed server left is replaced, and the file is removed when the switch ends.