Repository navigation
v0.3.7
What's new
Safety & accountability
- Audit log — every executed command is written to
audit.jsonl(timestamp, source, risk, policy decision, exit code). View it withdmsh auditor/audit(add--jsonfor raw lines). - Allowlist — mark trusted commands (
allowlist: ["git status"]) so they are always treated as low-risk and never trigger confirmation. --preview— review the command with its options highlighted plus an explicit y/N confirmation before it runs.--yes— auto-approve confirmations, handy for scripting.- Config validation — invalid
mode, negative values, out-of-rangetemperature/top_pand broken regex are now rejected at startup instead of being silently applied. - Defensive dry-run — the execution path can no longer run commands while
dry-runis active, no matter which code path calls it.
Model integration
- Prompts now use the model's own chat template via
llama_chat_apply_template, with a ChatML fallback — broader compatibility with non-ChatML models.
Session & UX
resume_session— persists the multi-turn dialogue context across restarts.- Stderr fed back into auto-correction is truncated (4 KB) to protect the model's context window.
- Updated banner and help text (
/audit,--preview,--yes).
Packaging
Releases now ship as:
- Debian/Ubuntu
.deb - RPM
.rpm - Arch Linux
.pkg.tar.zst(pacman) - FreeBSD tarball
- Linux and macOS tarballs (amd64 + arm64)
- Windows executable
CI
- Fixed the test, lint and release pipelines.
- macOS amd64 is now cross-built on Apple Silicon runners; retired Intel
macos-13runners are no longer used.
Full Changelog: v0.3.6...v0.3.7