Repository navigation
v0.21.0
Release v0.21.0
Release Notes
Overview
This release introduces automatic slash command syncing from MCP prompts, a new interactive prompt designer, and renames the LSP binary for clarity.
⚠️ Breaking Changes
hexai-lsprenamed tohexai-lsp-server— Update your editor configuration (e.g., Helixlanguage-server.hexai.command) and any scripts referencing the old binary name. The log file also moves tohexai-lsp-server.log.
Features
-
Slash command sync — MCP prompts now automatically export as Markdown files (
hexai-{name}.md) to a configurable directory, keeping your slash commands in sync with prompt changes. Enable withslashcommand_sync = truein[mcp]config or--slashcommand-syncflag. -
Backfill existing prompts — Run
hexai-mcp-server --sync-allto export all existing prompts to slash command files in one shot. -
design_promptmeta-prompt — A new built-in interactive prompt that guides you through creating a brand new prompt template from scratch with minimal questions: purpose, arguments, metadata, preview, and save.
Improvements
- Atomic file writes — Slash command files are written via temp file + rename to prevent partial writes if interrupted.
- MCP config in TOML —
slashcommand_sync,slashcommand_dir, andprompts_dirare now configurable under[mcp]with correspondingHEXAI_*environment variable overrides. - Config merging — MCP settings properly propagate through per-project
.hexaiconfig.tomloverrides.
Install / Upgrade
go install codeberg.org/snonux/hexai/cmd/hexai-lsp-server@latest
go install codeberg.org/snonux/hexai/cmd/hexai-mcp-server@latest