Repository navigation
The MCP endpoint is gone: the stateful CLI (minidebug_view <db> tui --db-mode with tui-render, tui-cmd and tui-status) replaces it, and CLI.md has a new section on reading traces from an AI agent. ppx_minidebug now depends on the released notty-community, so it no longer needs a pinned fork on Linux and macOS.
From the changelog:
Added
- Expandable Long Values: Truncated leaf entries now render as expandable multiline content, improving readability for large data structures
- Highlight Navigation in TUI: New
m/Mkeys to jump to next/previous search highlight with automatic expansion - Numeric Sexp Inlining: Numeric-only sexp entries are now inlined for better searchability
- Profiling Summary:
minidebug_view <db> profileprints an aggregated per-function summary (calls, total, average, min, max), inspired by Landmarks - Dune Instrumentation Backend: ppx_minidebug can be used as a dune instrumentation backend, with automatic instrumentation of functions (#50)
- Mouse Support in TUI: clicking and wheel scrolling
Removed
- Breaking: the MCP server (
minidebug_mcp) and the vendoredocaml-mcpare removed. The stateful CLI replaces it:minidebug_view <db> tui --db-modewith thetui-render,tui-cmdandtui-statuscommands. This drops theeio_main,cohttp-eio,jsonrpcandyojsondependencies
Fixed
- Fixed duplicate data in wrapped long values when
show_timesenabled - Fixed
decode_ellipsis_setskipping outer bracket when parsing inner arrays - Fixed backward goto-highlight (
M) to skip current highlight first - Fixed Windows symlink issue with database file resolution
- Removed unnecessary
ALTERstatements in DB migration code - Fixed
minidebug_view <db> tui --db-modeexiting at once withno such table: tui_stateon a trace no client command had touched yet tui-cmdnow exits with status 1 when a command fails or no TUI processes the batch, and withdraws its commands on such a timeout instead of leaving them for the next TUI to execute- Errors while setting up the TUI state tables, such as a read-only trace, are reported instead of ignored
- Fixed TUI highlights being skipped for scopes reachable through more than one parent (#84)
- Fixed ToC files: not created at log level 0, truncated on
snapshot_every_secsnapshots, and correct when the debug channel is stdout (PrintBox backend) - Fixed a type error when building with OCaml 5.5
Changed
- Depend on the released
notty-community(>= 0.2.4) from the opam repository instead of pinning a fork. That release is not available on Windows: until upstream ships Windows console support (ocaml-community/notty-community#12), Windows builds needopam pin add notty-community.dev git+https://github.com/lukstafi/notty-community.git - Updated README to remove outdated platform independence note
- Database-backed TUI state improvements