Changelog
What changed in each release of Sonde (called QtMcp before 0.5). The design documents in notes/design/ say why.
1.1.0 (2026-12-02)
Where the main thread was stuck when the application froze, instruments that
come with Sonde, and man pages and shell completions for sonde. Nothing is
removed or renamed: code that builds with 1.0 builds with 1.1.
Upgrading from 1.0
The package finds only the minor version asked for, because the binary
interface may change between minor versions: change
find_package(Sonde 1.0 ...) to find_package(Sonde 1.1 ...) and rebuild.
Added
- Where the main thread was stuck (design
0016, phase 1). While the
server listens, a
stallsevent carries samples of the main thread’s call stack, taken during the stall: once the threshold has passed, then once a second, up to 10. Identical samples are folded, so “stuck here” and “busy there” read differently. Frames are named only where the name can’t be wrong, otherwise given as module and offset; the event’s JSON has every frame and each module’s build ID. It works in both threading modes, on Linux, macOS and x64 Windows. using.md explains it, and what it costs on Linux. app_stall_arm: before an action you expect to freeze the application, samples the next stall closely: from 100 ms, every 100 ms, up to 50 samples.app_statusshows where the main thread is during a block (in WorkerThread mode), and whether stack samples are on.sonde symbolizenames the frames the application couldn’t, withaddr2line,llvm-symbolizeroratos, with file and line, after checking each module’s build ID against its file.Server::setStackSampling()andStackSamplinglet an application turn samples off;SONDE_STACK_SAMPLES=offlets the user.SONDE_STACK_SAMPLES_SIGNALchooses the signal used on Linux.- Instruments (design 0034): four
windows that come with Sonde, opened with
ui_open {"template": ...}:strip-chart(values over time),timeline(events on lanes, starting with the recent past),inspector(every property of an object, flashing on change) andmodel-table(a model, live). They are compiled intoSonde::Quick, so every project has them, and need no trust. using.md shows them. - Settings for templates:
param:lines in a template’s header, andui_open’sparams. Each window’ssondeobject hasparams,objects,recentEvents(),describe(),read(),describeValue(),model()andvisualiser(). - Value visualisers:
components/values/<Type>.qmlin any library draws values of that type in the instruments; Sonde’s own cover colours, bools, rectangles, sizes and images. Save one withui_template_save {"component": true, "name": "values/<Type>"}. -
addTemplateLibrary()registers a library of templates compiled into the application: read-only, needing no trust, and found wherever the debug build runs. - Man pages and shell completions (design
0036). The package
installs
man sondeandman sonde-bridge, and completions for bash and zsh: commands, options, files, the running application’s tool names, templates to trust, and containers forsonde bridge --docker. Each waits at most a second for what it asks.sonde completion bash|zshprints the script, for asondethat isn’t installed.SONDE_INSTALL_SHELL_FILES=OFFleaves them out. None on Windows or when cross-compiling. using.md says how to use them from a custom prefix.
Changed
sonde --helpis written from the same catalogue of commands as the man page and the completions, so they can’t disagree. Its layout is the same; a few summaries are worded differently.ui_template_listlists the compiled-in libraries too, with each template’s settings, and says “hidden by an earlier library’s” for a template a nearer library hides.Event::toLine()summarises lists of objects in an event’s data as “(N items)”, soevent_readdoesn’t print every frame of every sample;toJson()still has them.sondesaves each image under a new name. Without--image, a screenshot is saved assonde-N.pngwith the lowest N not taken, instead ofsonde-1.pngeach time: an agent whose viewer caches files by name read an old screenshot as new. The line that says where it was saved also says when:[image saved to sonde-3.png at 15:02:11.482].sonde bridge --dockerfinds containers more ways: anydocker psfilter, such asancestor=IMAGEfor containers started from your image, andauto, the one running container where the application’s socket exists. Both help where an IDE gives containers random names and no labels.sonde’s own output leaves out Qt’s notes about its logging set-up, whichQT_LOGGING_DEBUGturned on. The application it starts still gets the variable.
Documentation
- “Source first, or the running application?” in using.md: which bugs Sonde helps with and which it doesn’t, what it costs, and how to behave on a developer’s own running copy. The agent-instructions template has a short version, so an agent set up from it knows when to use Sonde.
1.0.0 (2026-12-02)
0.9.0 without the one deprecated name it kept for old code, so that 1.0 starts with nothing deprecated (design 0031). From 1.0 on, code that builds with one 1.x release builds with every later one; what else stays the same is in Stability.
Upgrading from 0.9
Code that builds with 0.9 without deprecation warnings builds with 1.0 unchanged. Otherwise:
| What | 0.9 | 1.0 |
|---|---|---|
| The default threading | ServerThreading::GuiThread (deprecated) |
ServerThreading::ServerThread |
The package finds only the minor version asked for, so change
find_package(Sonde 0.9 ...) to find_package(Sonde 1.0 ...).
Removed
ServerThreading::GuiThread, deprecated in 0.9. UseServerThreading::ServerThread, the same value.
0.9.0 (2026-12-02)
The C++ API as 1.0 will have it (design
0031). Code that uses Sonde beyond
Server, the tool installers and ToolResult needs changes: the table says
what each was and is. 1.0 follows straight after, without the one name 0.9
keeps for old code (ServerThreading::GuiThread). From 1.0 on, the API stays
source compatible within a major version (Stability).
Upgrading from 0.8
| What | 0.8 | 0.9 |
|---|---|---|
| Finding an object | QObject *o = ObjectTree::find(spec, &error); if (!o) ... |
const auto o = ObjectTree::find(spec); if (!o) ... o.error().message; *o |
| Converting JSON | QVariant v; if (!ObjectTree::jsonToVariant(json, type, &v, &error)) ... |
const auto v = ObjectTree::jsonToVariant(json, type); if (!v) ... v.error().message; *v |
| Finding a window | QWindow *w = Gui::findWindow(spec, &error); |
const auto w = Gui::findWindow(spec); (an Expected<QWindow *>) |
| Grabbing a window | QImage i = Gui::grabWindow(w, &error); if (i.isNull()) ... |
const auto i = Gui::grabWindow(w); if (!i) ... i.error().message |
| Where an object is | QWindow *w; QRectF r; if (Gui::objectGeometry(o, &w, &r)) ... |
if (const auto where = Gui::objectGeometry(o)) { const auto [w, r] = *where; ... } |
| Where a cell is | Gui::cellGeometry(view, index, true, &w, &r) |
Gui::cellGeometry(view, index, ScrollToCell::Yes), an Expected<ScreenRect> |
| Layout and overflow facts | Gui::layoutInfo() returned std::optional; Gui::overflowFacts() an empty struct if none |
Both return Expected, with why there are none |
| The object for a window | Gui::objectForWindow(w) could be nullptr, meaning the window itself |
Never nullptr: the window itself then |
Your own GuiIntegration |
Hooks returned bool, nullptr or std::nullopt for “not handled”, with out-parameters |
Hooks return Expected<T>: notHandled() if the object isn’t yours, failure("why") if it is but you can’t answer, or the value. cellGeometry takes a ScrollToCell |
| Schema types | Schema::property("string", ...) |
Schema::property(JsonType::String, ...) |
| Event source descriptions | auto *s = new EventSource("net"); s->setDescription("..."); |
new EventSource("net", "...") (the setter is gone) |
| Choosing the threading | Server mcp; mcp.setThreading(ServerThreading::WorkerThread); |
Server mcp(ServerThreading::WorkerThread); (the setter is gone) |
| The default threading | ServerThreading::GuiThread |
ServerThreading::ServerThread (GuiThread is deprecated, and goes in 1.0) |
| Timeouts | limits.requestTimeoutMs = 10000;, sessionIdleTimeoutMs, guiResponseTimeoutMs |
limits.requestTimeout = 10s;, sessionIdleTimeout, guiResponseTimeout, as std::chrono::milliseconds |
| Stall threshold | new StallEventSource(250); threshold() an int |
new StallEventSource(250ms); threshold() a std::chrono::milliseconds |
app_status’s threading field |
"GuiThread" |
"ServerThread" |
| Asking the user to trust a template | connect(trust, &QmlTemplateTrust::trustRequested, ...); hasHandler() |
trust->setTrustApproval(...); hasApproval() (the signal is gone) |
Requests before initialize, on the local socket |
Answered | Refused with JSON-RPC error -32002, as MCP requires; sonde and sonde-bridge always send initialize first |
Added
<sonde/version.h>:SONDE_VERSION_STR,SONDE_VERSIONandSONDE_VERSION_CHECK()for#if, andSonde::version()for the version linked.- Deprecation:
SONDE_DEPRECATED(),SONDE_DEPRECATED_SINCE()andSONDE_DISABLE_DEPRECATED_BEFORE, as Qt’s macros of the same names. Sonde::Expected,UnexpectedandError(<sonde/expected.h>): results that are a value or an error, with the part of C++23’sstd::expectedinterface code is likely to use, so that code written for them also compiles withstd::expected.- Stability: what 1.x will keep the same, in using.md.
- Approving clients (design
0033):
Server::setSessionApproval()asks the application before each new client gets in, with what the client says it is and, on the local socket, which process it runs in (SessionPeer, with its parent, for a client behindsonde-bridge). Until it answers, the client gets onlypinganswered; with no answer withinServerLimits::approvalTimeout(2 minutes), it is refused. Server::sessions()andendSession(): the connected clients, and a way to disconnect one.- examples/notebook/: an automation interface done
the way release.md says a release build should,
with its tests:
Sonde::Coreonly, off by default, visible while on, asking before a client gets in, and confirming deletions.
Changed
- Misuse is reported loudly. Calling a
Serverfunction off the server’s thread, or anObjectTree::orGui::function off the GUI thread, prints aqCritical()that says what to do instead, and asserts in debug builds. So does callinginstallQuickIntegration()before the application object exists, or after a QML engine was created, which leavesqml_bindingwith C++ properties only. - Errors say more.
Gui::objectGeometry()and the integrations say why an object has no geometry (“is hidden”, “has no window yet”), andGui::findWindow()passes that on. - Headers include less.
Server, the event sources andToolResultkeep their members behind a private part, sostalleventsource.hno longer includesQTimerandQElapsedTimer, andserver.hnames no implementation classes.
Removed
tools/sonde, the Python stub that ran the builtsondein 0.8. Use<build>/sonde.
0.8.0 (2026-12-01)
Added
- The ticket-triage example: an agent that takes bug tickets from a tracker, reproduces each one in the running application through Sonde, cuts the steps down to the ones that matter, records them on the ticket with screenshots, and then spends a fixed time trying to fix it. It runs in a disposable container, with a stand-in tracker and a small application with three planted bugs. ticket-triage.md explains how it works, and why it must run in a container. CI checks everything but the agent itself, which needs an API key: the tracker, the application’s tests, and that each bug still reproduces.
Changed
sondeis now a compiled program, built with Sonde from QtCore and QtNetwork (design 0030). It shares the library’s code for instance keys, paths and the trust file, so the two can’t disagree. Its commands, options, files and output are the same.- Where it is: at the top of your build directory,
<build>/sonde(sonde.exeon Windows), when Sonde is part of your build; inbin/, withsonde-bridge, if you install Sonde. Building only your application’s target doesn’t build it: build it once withcmake --build <build> --target sonde-cli, or build everything. - Python is no longer needed to use Sonde. It is still needed to
develop Sonde: its tests and
tools/check.py. tools/sondestill works for this release. It says it is replaced, and runs the builtsondewith the same arguments. It goes away in the release after this one.- Update your IDE tasks,
.mcp.jsonand agent instructions: changepython3 third_party/sonde/tools/sondetobuild/sonde(with your own build directory, such ascmake-build-debug/in CLion). In.mcp.json,"command": "build/sonde", "args": ["bridge"]. The templates show each. - What you may notice: some error messages are worded by Qt now: for
a configuration that isn’t valid JSON, and for a file or program that
can’t be opened or started. On Windows, the application
sonde startruns getsQT_FORCE_STDERR_LOGGING=1, unless you set it, so that its Qt messages reach.sonde/state/app.log.
- Where it is: at the top of your build directory,
- The install no longer has
share/sonde/wordlist/: the word list is built into the programs. Its license is in the documentation directory, asLICENSE.wordlist.
For contributors
- The smoke test checks the
sondeprogram’s output directly, where it compared it with the Python script’s, and checks thattools/sondeforwards. The docker CI job buildssondeon the host, sincetests/docker_test.pyrunsbuild/sonde bridge --dockerthere.
0.7.0 (2026-12-01)
Added
- A documentation website, https://asgeir.github.io/sonde/: the README, the guides, the walkthroughs and this changelog, with the API reference under api/. It is published with each release, for that release.
- One list of every environment variable Sonde reads, in the application, in the tools, and for developing Sonde: Environment variables.
sondeon Windows accepts arunprogram without.exe, so one.sonde/config.jsonserves every platform.
Changed
- On Windows, the examples now build into
build/examples/<name>/, as on other platforms and as the docs and their.sonde/config.jsonsay, instead of the top of the build directory. (When Sonde itself is built as shared libraries on Windows, they stay at the top, beside its DLLs.)
Fixed
agent-loop.mdsaidrunpaths are relative to the configuration file; they are relative to the project’s root, the directory that holds.sonde/.
For contributors
- The chaos test drives HTTP sessions and their event streams too, and 1,000-step runs pass.
- CI checks that the tool tables in the README and
using.mdmatch the tools the server registers. - The Python tests share
tests/mcptest.py; the smoke test is split intotests/smoke/.server.cpp,inputtools.cppandqmlwindowtools.cppare split into smaller files. - Windows CI sets up MSVC with
vcvars64.bat, not an action.
0.6.1 (2026-12-01)
Fixed
- A use-after-free in
signal_watchandsignal_tracewhen the watched or traced object emitteddestroyed(): the recorder made a guarded pointer to the object whose destructor was running. An agent watching an object being deleted could crash the application.destroyed()’s argument is now recorded as the object’s id. - The worker thread’s hand-over (
SONDE_THREADED=1) is now visible to ThreadSanitizer, which couldn’t see the ordering through Qt’s blocking queued call.
Added
- The chaos test (0029), which found both: random changes to a running application while random tool calls, cancellations and disconnections hit its server, checked after every step. It runs only in a disposable, locked-down container, on every CI run, and nightly with AddressSanitizer.
0.6.0 (2026-12-01)
The names from before 0.5 are gone, so that Sonde starts clean for new users. Everything else is as in 0.5. Coming from 0.4 (QtMcp)? Upgrade to 0.5 first, and follow the notes it prints: 0.6 no longer recognises the old names, so it can’t tell you about them. The table in Upgrading from 0.4 has every rename.
Removed
- The
QTMCP_environment variables (useSONDE_HTTP,SONDE_LOCAL, …), andapp_info’snotesabout them. - The 19 tool names from before 0.5 (
list_windows,mouse_click, …): a call by one is an unknown tool. ~/.config/qtmcp(use~/.config/sonde, by renaming the directory).- The
qtmcpobject in agent-made QML windows (usesonde), and the// qtmcp-templateheader line (use// sonde-template). qtmcp-run,mcpcall.pyandqtmcp-docker-bridge(usesonde).- The old project files:
sonderefuses a project with.qtmcp-run.jsonand namessonde migrate, which moves it to.sonde/. The library no longer looks for.qtmcp/qml.
sonde migrate stays, for projects set up before 0.5.
0.5.0 (2026-12-01)
The project is now Sonde (“Sonde for Qt”), and almost every name a user sees has changed: the project, the CMake package, the C++ namespace and headers, the environment variables, the tools, the command-line tools and the project files. 0.5 still accepts every old name, with a note saying what to use instead. 0.6, released right after, removes them. If you are on 0.4, upgrade to 0.5 first, follow its notes, then go to 0.6.
Upgrading from 0.4
| What | 0.4 | 0.5 | Old name in 0.5 |
|---|---|---|---|
| Project and repository | QtMcp, asgeir/qt-mcp |
Sonde, asgeir/sonde |
GitHub redirects |
| CMake | QtMcp::Widgets, … (add_subdirectory, FetchContent) |
Sonde::Widgets, …; also find_package(Sonde 0.5) |
not kept |
| C++ | namespace QtMcp, <qtmcp/server.h>, QTMCP_*_EXPORT |
namespace Sonde, <sonde/server.h>, SONDE_*_EXPORT |
not kept |
| CMake options | QTMCP_BUILD_*, … |
SONDE_BUILD_*, … |
not kept |
| Environment variables | QTMCP_HTTP, QTMCP_LOCAL, QTMCP_TOKEN, … |
SONDE_HTTP, SONDE_LOCAL, SONDE_TOKEN, … |
read when the new one isn’t set, with a warning (also in app_info’s notes) |
| Configuration directory | ~/.config/qtmcp/ |
~/.config/sonde/ |
used while the new one doesn’t exist; never moved |
| In agent-made QML windows | qtmcp |
sonde |
both work; ui_open warns |
| Template header | // qtmcp-template |
// sonde-template |
read, with a note |
| Bridge program | qtmcp-bridge |
sonde-bridge |
not kept |
| Command-line tools | qtmcp-run, mcpcall.py, qtmcp-docker-bridge |
sonde (sonde start, sonde call, sonde bridge --docker, …) |
run sonde, with a note |
| Project files | .qtmcp-run.json, .qtmcp-run.local.json, .qtmcp-run/, .qtmcp/qml/ |
.sonde/config.json, .sonde/local.json, .sonde/state/, .sonde/qml/ |
read, with a note; sonde migrate moves them |
| Tools | list_windows, screenshot, object_set_property, object_layout, list_actions, mouse_click, mouse_move, mouse_drag, mouse_scroll, key_press, type_text, wait_until, signal_trace, events_read, events_wait, ui_open_qml, qml_templates, qml_template_save, qml_template_delete |
window_list, window_screenshot, object_set, layout_explain, action_list, input_click, input_move, input_drag, input_scroll, input_keys, input_text, state_wait, signal_trace_start, event_read, event_wait, ui_open, ui_template_list, ui_template_save, ui_template_delete |
accepted, not listed; the result says the new name |
To upgrade a project: change the CMake target names, includes and namespace;
run sonde migrate in the project (it moves the files with git mv, and keeps
your template trust grants); change qtmcp-run to sonde in IDE
configurations, .mcp.json and agent instructions; and rename any QTMCP_
variables you set. Then run the application once and read the notes it prints.
Added
- Installing as a CMake package (0025):
cmake --installinstalls the libraries, headers, package files,sonde-bridge,sondeand the files they read, and an application usesfind_package(Sonde 0.5 REQUIRED COMPONENTS Widgets). Static and shared, Debug and Release (side by side on Windows), relocatable. - The
sondecommand (0028): everythingqtmcp-run,mcpcall.pyandqtmcp-docker-bridgedid, as subcommands;sonde TOOLcalls a tool;sonde migrate;sonde --version;sonde-NAMEfromPATHfor commands it doesn’t know. .sonde/, one directory for a project’s files, which ignores its own machine-specific files.- Continuous integration on Linux (Qt 6.8, GCC), macOS (Qt 6.12) and Windows (Qt 6.8, MSVC), with lint, the Docker test, and an application built against each install (0024).
app_inforeportstoolCatalogue(2),sondeVersion, andnotesfor old names in use.
Changed
- Tool names are
<group>_<verb>, in twelve groups that match the install functions (0027). - The tool list costs 20% fewer tokens (about 9,700 to 7,750 per session): ideas the tools share are explained once, in the server’s instructions, and every description is shorter. A unit test keeps the list within a budget. The guide lists what each group costs.
XDG_CONFIG_HOMEnow applies on Windows too, when it is set.Schema::property()and the other schema builders leave out an empty description.
Fixed
model_locateon a Qt Quick view whose model had just changed said the row wasn’t shown: the view hadn’t laid out its model yet.- On Windows,
qtmcp-run statuskilled the application it asked about (os.kill(pid, 0)isTerminateProcessthere);stopnow ends the process tree, and a reused pid is told apart by its start time. - On Windows, the command-line tools and the application computed different
instance keys, so
{instance}endpoints and trust grants didn’t work: the separators differed, and so did paths with 8.3 short names (RUNNER~1). - The installed
sonde-bridgecouldn’t find a Qt outside the system paths: the install now keeps an RPATH to Qt’s library directory. - The GCC build with strict warnings failed on shadowed names in tests.
- Several tests assumed timings that a busy machine doesn’t keep (a fixed wait, a port shared with a parallel copy, a callback on another thread).
0.4.1 (2026-11-30)
- Clicking a QML item in an agent-made window of a Qt Widgets application works (“is not shown in a window” before).
- The widgets-to-QML walkthrough, with the parts-bin example.
0.4.0 (2026-11-30)
- A library of QML templates for
ui_open_qml, in the project and the user’s configuration directory, opened by name once the user trusts their files (0023). signal_trace: every signal a subtree emits while you act, without naming them first (0021).qml_binding: which properties are bound now, to find a binding an assignment broke (0022).
0.3.0 (2026-11-30)
- Input tools wait for scrolling views to stop before replying, and
screenshotnames the popups it can’t show (0020).
0.2.1 (2026-11-30)
- Sonde’s own targets build with strict warnings as errors, and the warnings they found are fixed.
0.2.0 (2026-11-30)
{instance}ports avoid clashes between checkouts, and two key mismatches between the application andqtmcp-runare fixed (0019).
0.1.0 (2026-11-30)
The first tagged version: the server (Streamable HTTP and a local socket, on
the main thread or a worker), the object, window, input, model, state, layout,
action, signal and QML tools, events and stall detection, qtmcp-bridge,
qtmcp-run and mcpcall.py, {instance} endpoints for several checkouts,
the container workflow, hardening and fuzzing, and the walkthroughs.